import type { SVGProps } from "react";

export interface AIAProps extends SVGProps<SVGSVGElement> {
  /**
   * Icon size (width and height)
   * @default 16
   */
  size?: number | string;
}

/**
 * Anguilla — AIA icon from flag category
 *
 * @example
 * <AIA size={16} />
 * <AIA size={32} className="text-primary" />
 */
export const AIA = ({ size = 16, ...props }: AIAProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <g clipPath="url(#clip0_43_826)">
<path d="M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12C0 12.0029 12 0.0013125 12 0C18.6274 0 24 5.37262 24 12Z" fill="#0052B4"/>
<path d="M11.9679 12H12C12 11.9892 12 11.9787 12 11.9679C11.9893 11.9786 11.9786 11.9893 11.9679 12Z" fill="#F0F0F0"/>
<path d="M12 6.26086C12 4.14937 12 2.76586 12 0H11.998C5.37145 0.001125 0 5.37323 0 12H6.26086V8.47448L9.78638 12H11.9679C11.9786 11.9893 11.9893 11.9786 12 11.9679C12 11.1594 12 10.4381 12 9.78647L8.47444 6.26086H12Z" fill="#F0F0F0"/>
<path d="M6.071 1.56519C4.19417 2.63389 2.63384 4.19417 1.56519 6.071V12H4.69564V4.69573V4.69564H12C12 3.70831 12 2.76772 12 1.56519H6.071Z" fill="#D80027"/>
<path d="M12 10.5243L7.73649 6.26086H6.26086V6.26096L11.9999 12H12C12 12 12 10.9824 12 10.5243Z" fill="#D80027"/>
<path d="M20.294 13.7566C20.639 13.2818 20.8695 12.7021 20.8695 12V6.7826C20.4335 7.11016 19.8916 7.30432 19.3043 7.30432C18.4509 7.30432 17.6933 6.89449 17.2174 6.26093C16.7414 6.89449 15.9837 7.30432 15.1304 7.30432C14.543 7.30432 14.0012 7.11011 13.5652 6.78269V12C13.5652 12.7021 13.7957 13.2818 14.1407 13.7566H20.294Z" fill="#F3F3F3"/>
<path d="M19.2087 11.0321C19.3748 10.6268 19.504 10.0344 19.504 9.73964C19.504 9.26597 18.8865 8.88202 18.8865 8.88202C18.8865 8.88202 18.2689 9.26597 18.2689 9.73964C18.2689 10.0345 18.3982 10.6268 18.5642 11.0321L18.2077 11.837C18.4172 11.9222 18.6463 11.9695 18.8865 11.9695C19.1267 11.9695 19.3557 11.9221 19.5653 11.837L19.2087 11.0321Z" fill="#FF9811"/>
<path d="M16.7951 8.42586C16.3612 8.48464 15.7835 8.6691 15.5283 8.81647C15.1181 9.05333 15.0942 9.78003 15.0942 9.78003C15.0942 9.78003 15.7356 10.1228 16.1457 9.88602C16.4011 9.7386 16.8494 9.3306 17.1172 8.9841L17.9927 8.89035C17.9617 8.66638 17.888 8.44433 17.768 8.23635C17.6478 8.02836 17.4925 7.85361 17.3139 7.71472L16.7951 8.42586Z" fill="#FF9811"/>
<path d="M15.745 11.8193C16.0128 12.1657 16.4612 12.5736 16.7166 12.7211C17.1268 12.9579 17.7681 12.6152 17.7681 12.6152C17.7681 12.6152 17.7442 11.8884 17.3341 11.6515C17.0786 11.5041 16.5011 11.3198 16.0671 11.2612L15.5484 10.5499C15.3698 10.6888 15.2144 10.8636 15.0942 11.0714C14.9742 11.2795 14.9007 11.5014 14.8696 11.7256L15.745 11.8193Z" fill="#FF9811"/>
<path d="M14.0117 13.5654C14.9861 15.1289 17.2174 15.6522 17.2174 15.6522C17.2174 15.6522 19.4486 15.1289 20.4231 13.5654H14.0117Z" fill="#338AF3"/>
</g>
<defs>
<clipPath id="clip0_43_826">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
