import * as React from "react";
import type { IconProps, IconMetadata, IconComponent } from "../../types";

export const CHas: IconComponent = React.forwardRef<SVGSVGElement, IconProps>(
  function CHas(
    {
      color = "currentColor",
      fill,
      size = 24,
      strokeWidth,
      strokeLinecap,
      strokeLinejoin,
      strokeDasharray,
      opacity,
      className,
      ...props
    },
    forwardedRef,
  ) {
    return (
      <svg
        width={size}
        height={size}
        viewBox="0 0 24 24"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        className={className}
        strokeWidth={strokeWidth}
        strokeLinecap={strokeLinecap}
        strokeLinejoin={strokeLinejoin}
        strokeDasharray={strokeDasharray}
        opacity={opacity}
        {...props}
        ref={forwardedRef}
      >
        <g clipPath="url(#undefined-clip0_2066_1158)">
          <path
            d="M21.9992 7.10467C21.9992 6.7051 21.9137 6.35185 21.742 6.04907C21.5598 5.73681 21.2976 5.47965 20.9828 5.30452C18.1867 3.67976 15.3873 2.06244 12.5936 0.437681C11.8402 -0.000773907 11.1097 0.0157716 10.362 0.460017C9.24947 1.12018 3.67779 4.33413 2.01804 5.30204C1.33359 5.70244 1.00164 6.31214 1 7.10384V16.8963C1 17.2867 1.08217 17.6325 1.24568 17.9312C1.41412 18.2389 1.67048 18.4954 2.01639 18.6972C3.67697 19.6651 9.24865 22.8791 10.3612 23.5393C11.1097 23.9843 11.8402 24.0001 12.5936 23.5616C15.3889 21.9368 18.1875 20.3187 20.9828 18.6964C21.3053 18.5178 21.5726 18.253 21.7551 17.9312C21.9187 17.6325 22 17.2859 22 16.8954L21.9992 7.10467Z"
            fill="#a179dc"
          />
          <path
            d="M11.532 11.9681L1.24486 17.9319C1.41412 18.238 1.67048 18.4945 2.01722 18.6972C3.67697 19.6651 9.24865 22.879 10.3612 23.5392C11.1097 23.9843 11.8402 24 12.5936 23.5615C15.3889 21.9368 18.1875 20.3186 20.9828 18.6963C21.3053 18.5177 21.5726 18.2529 21.7551 17.9311L11.532 11.9681Z"
            fill="#280068"
          />
          <path
            d="M21.9992 7.10467C21.9992 6.7051 21.9137 6.35185 21.742 6.04907L11.532 11.9682L21.7543 17.9304C21.9187 17.6325 22 17.2859 22.0008 16.8954C22.0008 16.8954 22.0008 10.3683 21.9992 7.10467Z"
            fill="#390091"
          />
          <path
            d="M17.5893 9.73957V10.8539H18.6961V9.73874H19.2491V10.8539H20.3567V11.4107H19.2491V12.5258H20.3567V13.0834H19.2491V14.1977H18.6961V13.0818H17.5885V14.1969H17.0355V13.0818H15.9279V12.525H17.0347V11.4107H15.9279V10.8531H17.0347V9.73792L17.5893 9.73957ZM18.6961 11.4107H17.5885V12.5258H18.6961V11.4107Z"
            fill="#fff"
          />
          <path
            d="M11.5551 4.14136C12.9248 4.14078 14.2705 4.50324 15.4569 5.1923C16.6434 5.88136 17.6288 6.87273 18.314 8.06677L18.3009 8.04443L14.9033 10.0133C14.5639 9.43313 14.0814 8.95099 13.5026 8.61359C12.9237 8.27619 12.2682 8.09496 11.5994 8.08745H11.5551C10.5243 8.08745 9.53577 8.49971 8.80692 9.23354C8.07807 9.96737 7.6686 10.9627 7.6686 12.0004C7.66767 12.6816 7.84418 13.3511 8.1805 13.9421C8.52115 14.5433 9.01419 15.0428 9.60927 15.3895C10.2044 15.7362 10.8802 15.9177 11.5677 15.9154C12.2552 15.9132 12.9298 15.7272 13.5226 15.3766C14.1154 15.026 14.6052 14.5232 14.9419 13.9197L14.9255 13.9487L18.3181 15.9267C17.6408 17.1099 16.6689 18.0949 15.4982 18.7845C14.3275 19.4742 12.9984 19.8447 11.6422 19.8595H11.5551C10.5299 19.86 9.51464 19.657 8.56741 19.2622C7.62017 18.8674 6.7595 18.2885 6.03458 17.5586C5.30966 16.8288 4.73471 15.9622 4.34258 15.0085C3.95046 14.0548 3.74885 13.0326 3.74928 12.0004C3.74928 9.91609 4.57168 7.9171 6.03554 6.44323C7.49941 4.96937 9.48484 4.14136 11.5551 4.14136Z"
            fill="#fff"
          />
        </g>
        <defs>
          <clipPath id="undefined-clip0_2066_1158">
            <path fill="#fff" transform="translate(1)" d="M0 0H21V24H0z" />
          </clipPath>
        </defs>
      </svg>
    );
  },
);

CHas.displayName = "CHas";

CHas.metadata = {
  name: "CHas",
  category: "icon/language",
  tags: ["chas", "icon"],
  description: "CHas icon from icon/language category",
  type: ["stroke", "icon"],
} as IconMetadata;

export default CHas;
