# frozen_string_literal: true

module Blacklight
  module Icons
    class UvaComponent < Blacklight::Icons::IconComponent
      self.svg = svg

      def svg
        <<~SVG
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
          	<title>#{title}</title>
          	<path fill="#6c757d" d="M22.16 26.45V14.4h2.58v12.06h-2.58zm-13.92 0V14.4h2.5v12.06h-2.5zm3.36 0V14.4h2.66v12.06H11.6zm3.52 0V14.4h2.66v12.06h-2.66zM21.3 14.4v12.06h-2.66V14.4h2.66zm2.33-.85H9.3l7.36-4.45 6.98 4.45zm-16 0H1.5v-4.5h13.58l-7.44 4.5zm10.54-4.5H31.4v4.5h-6.18l-7.05-4.5zm11.34-.85H3.39A14.97 14.97 0 0 1 16.45.6c5.6 0 10.5 3.07 13.06 7.6zM5.76 25.74l-.15.45.39-.28.39.28-.15-.45.39-.28h-.48L6 25.01l-.15.45h-.48l.39.28zm-2.13-2.79l-.15.45.39-.27.39.27-.15-.45.39-.28h-.48l-.15-.45-.15.45h-.48l.39.28zm-1.47-3.4l-.15.45.4-.28.38.28-.14-.45.39-.28h-.48l-.15-.44-.15.44h-.48l.39.28zm5.22 6.9H1.49V15.68l.2.14-.15.45.4-.28.38.28-.15-.45.4-.28h-.49l-.15-.45-.15.45H1.5V14.4h5.88v12.06zm0 .85v3.2H1.49v-3.2h5.89zm18.22 0h5.8v3.2h-5.8v-3.2zm-5.16 2.28l.4-.28h-.5l-.14-.45-.15.45h-.48l.4.28-.16.45.4-.27.38.27-.15-.45zm3.45-1.36l.39-.28h-.48l-.15-.45-.15.45h-.48l.39.28-.15.45.4-.28.38.28-.15-.45zm-11.43 1.36l-.15.45.39-.27.39.27-.15-.45.39-.28h-.48l-.15-.45-.15.45h-.48l.39.28zM9 28.22l-.15.45.39-.28.39.28-.15-.45.4-.28H9.4l-.15-.45-.15.45h-.48l.39.28zm15.73-.92v3.2h-7.9l-.13-.4.39-.29h-.48l-.15-.45-.15.46h-.48l.39.27-.14.42H8.24v-3.2h16.5zm-7.93 3.2h-.68l.34-.24.34.24zm10.33-4.76l.4-.28h-.49l-.15-.45-.15.45h-.48l.4.28-.16.45.4-.28.38.28-.15-.45zm2.13-2.79l.4-.28h-.49l-.15-.45-.15.45h-.48l.4.28-.16.45.4-.27.38.27-.15-.45zm1.46-3.4l.4-.28h-.49l-.14-.44-.15.44h-.49l.4.28-.15.45.39-.28.39.28-.16-.45zm.67 6.9h-5.8V14.4h5.8v1.15h-.29l-.14-.45-.15.45h-.49l.4.28-.16.45.4-.28.39.28-.15-.45.2-.14v10.77z"/>
          </svg>
        SVG
      end

      def title
        key = "blacklight.icon.#{name}"
        t(key)
      end
    end
  end
end
