# frozen_string_literal: true

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

      def svg
        <<~SVG
          <!-- Generated by IcoMoon.io -->
          <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="58" height="32" viewBox="0 0 58 32">
          <title>#{title}</title>
          	<path fill="#6c757d" d="M13.66 0c-1.9 4.4-3.76 8.83-5.65 13.24h5.98l-2.35 5.52h-5.98c-1.9 4.39-3.76 8.84-5.66 13.24h31.96c1.27-2.93 2.5-5.87 3.76-8.8 5.2-0.070 10.8 0.52 15.4-2.39 3.97-2.5 6.1-7.060 7.17-11.47 0.116-0.484 0.182-1.040 0.182-1.611 0-3.111-1.971-5.762-4.732-6.773l-0.050-0.016c-3.99-1.43-8.26-0.8-12.39-0.94h-27.64zM49.95 0.43c1.080-0.15 5.48 1.42 2.65 0.49-0.87-0.25-1.76-0.4-2.65-0.5zM14.080 0.63c11.63 0.040 23.25-0.030 34.88 0.050 3.39 0.070 7.44 1.35 8.55 4.94 1.040 3.72-1 7.4-2.71 10.57-2.47 4.31-7.51 6.27-12.28 6.35-2.4 0.060-4.81 0.010-7.22 0.030-1.27 2.93-2.5 5.87-3.76 8.8h-30.56l5.1-11.97h5.99c0.96-2.26 1.92-4.53 2.9-6.78h-6l5.1-11.98z"></path>
          <path fill="#6c757d" d="M38.8 14.3h-10.7l2.2-5.18c3.79 0.030 7.58-0.060 11.36 0.040 2.9 0.47 1.070 4.22-0.88 4.74-0.578 0.253-1.252 0.4-1.96 0.4-0.007 0-0.014 0-0.021-0h0.001zM46.66 4.34h-31l-2.030 4.78h5.98l-5.95 13.98h-6l-2.030 4.77h22.75l2.040-4.77h-6.080l1.72-4.040c5.5-0.050 11 0.1 16.48-0.090 3.53-0.19 7.17-1.84 8.77-5.15 0.99-2.18 2.48-4.52 1.98-7-0.98-2.5-4.4-2.38-6.63-2.48z"></path>
          </svg>
        SVG
      end

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