# frozen_string_literal: true

module Blacklight
  module Icons
    class UniversityOfMinnesotaComponent < 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="32" height="32" viewBox="0 0 32 32">
          <title>#{title}</title>
          	<path fill="#6c757d" d="M29.96 20.66h2v4.85h-9.51v-4.85h1.7l-2.91-4.86-1.13 1.89h1.080v4.85h-10.42v-4.85h1.080l-1.13-1.89-2.92 4.86h1.71v4.85h-9.51v-4.85h2l5.6-9.31h-1.54v-4.86h9.32v4.86h-1.54l2.14 3.55 2.14-3.56h-1.54v-4.84h9.32v4.85h-1.54zM25.28 7.1h-8.080v3.61h2.020l-3.24 5.39-3.24-5.39h2.020v-3.6h-8.080v3.6h2.020l-6.35 10.57h-1.73v3.6h8.28v-3.6h-2.2l4.020-6.68 2.23 3.7h-1.55v3.62h9.18v-3.62h-1.56l2.23-3.71 4.020 6.68h-2.19v3.6h8.27v-3.6h-1.75l-6.35-10.56h2.020v-3.6zM24.66 7.73v2.36h-2.5l7.1 11.8h1.46v2.37h-7.030v-2.36h2.67l-5.12-8.5-3.33 5.53h2.040v2.36h-7.95v-2.36h2.040l-3.33-5.54-5.11 8.51h2.67v2.37h-7.030v-2.37h1.46l7.1-11.8h-2.5v-2.36h6.84v2.36h-2.5l4.34 7.22 4.34-7.22h-2.5v-2.36h6.84z"></path>
          </svg>
        SVG
      end

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