defmodule ToolboxWeb.Components.Icons.ProfileIcon do
  use Phoenix.Component

  attr :class, :string, default: nil

  def profile_icon(assigns) do
    ~H"""
    <svg
      viewBox="0 0 16 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      class={"fill-accent #{@class}"}
    >
      <g mask="url(#mask0_2575_16814)">
        <path d="M4.06559 11.8784C4.66559 11.4691 5.29126 11.1648 5.94259 10.9656C6.59382 10.7665 7.2797 10.6669 8.00026 10.6669C8.72082 10.6669 9.4067 10.7665 10.0579 10.9656C10.7093 11.1648 11.3349 11.4691 11.9349 11.8784C12.3494 11.4229 12.6639 10.9066 12.8784 10.3298C13.093 9.75287 13.2003 9.14304 13.2003 8.50026C13.2003 7.05948 12.6934 5.83259 11.6798 4.81959C10.6661 3.8067 9.43832 3.30026 7.99643 3.30026C6.55454 3.30026 5.32804 3.8067 4.31693 4.81959C3.30582 5.83259 2.80026 7.05948 2.80026 8.50026C2.80026 9.14304 2.90754 9.75287 3.12209 10.3298C3.33665 10.9066 3.65115 11.4229 4.06559 11.8784ZM8.00043 9.53359C7.38065 9.53359 6.85348 9.31637 6.41893 8.88193C5.98426 8.44737 5.76693 7.9202 5.76693 7.30043C5.76693 6.68065 5.98415 6.15348 6.41859 5.71893C6.85315 5.28426 7.38032 5.06693 8.00009 5.06693C8.61987 5.06693 9.14704 5.28415 9.58159 5.71859C10.0163 6.15315 10.2336 6.68032 10.2336 7.30009C10.2336 7.91987 10.0164 8.44704 9.58193 8.88159C9.14737 9.31626 8.6202 9.53359 8.00043 9.53359ZM8.00493 14.5669C7.16682 14.5669 6.37915 14.4099 5.64193 14.0958C4.9047 13.7816 4.25943 13.3479 3.70609 12.7944C3.15265 12.2411 2.71887 11.596 2.40476 10.8593C2.09065 10.1226 1.93359 9.3337 1.93359 8.49259C1.93359 7.65159 2.09065 6.86526 2.40476 6.13359C2.71887 5.40193 3.15265 4.75943 3.70609 4.20609C4.25943 3.65265 4.90448 3.21887 5.64126 2.90476C6.37793 2.59065 7.16682 2.43359 8.00793 2.43359C8.84893 2.43359 9.63526 2.59065 10.3669 2.90476C11.0986 3.21887 11.7411 3.65265 12.2944 4.20609C12.8479 4.75943 13.2816 5.40315 13.5958 6.13726C13.9099 6.87148 14.0669 7.65759 14.0669 8.49559C14.0669 9.3337 13.9099 10.1214 13.5958 10.8586C13.2816 11.5958 12.8479 12.2411 12.2944 12.7944C11.7411 13.3479 11.0974 13.7816 10.3633 14.0958C9.62904 14.4099 8.84293 14.5669 8.00493 14.5669ZM8.00026 13.7003C8.59082 13.7003 9.17093 13.5979 9.74059 13.3933C10.3103 13.1885 10.8284 12.8955 11.2951 12.5144C10.8173 12.2015 10.3 11.9599 9.74326 11.7894C9.18637 11.6189 8.60537 11.5336 8.00026 11.5336C7.39515 11.5336 6.81032 11.615 6.24576 11.7778C5.68121 11.9406 5.16776 12.1862 4.70543 12.5144C5.17209 12.8955 5.69026 13.1885 6.25993 13.3933C6.82959 13.5979 7.4097 13.7003 8.00026 13.7003ZM8.00026 8.66693C8.37637 8.66693 8.69815 8.53315 8.96559 8.26559C9.23315 7.99815 9.36693 7.67637 9.36693 7.30026C9.36693 6.92415 9.23315 6.60237 8.96559 6.33493C8.69815 6.06737 8.37637 5.93359 8.00026 5.93359C7.62415 5.93359 7.30237 6.06737 7.03493 6.33493C6.76737 6.60237 6.63359 6.92415 6.63359 7.30026C6.63359 7.67637 6.76737 7.99815 7.03493 8.26559C7.30237 8.53315 7.62415 8.66693 8.00026 8.66693Z" />
      </g>
    </svg>
    """
  end
end
