import type { SVGProps } from "react";

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

/**
 * Australia — AUS icon from flag category
 *
 * @example
 * <AUS size={16} />
 * <AUS size={32} className="text-primary" />
 */
export const AUS = ({ size = 16, ...props }: AUSProps) => (
  <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_867)">
<path d="M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12C0 12.0028 12 0.00135937 12 0C18.6274 0 24 5.37262 24 12Z" fill="#0052B4"/>
<path d="M12 0C11.9993 0 11.9986 4.6875e-05 11.998 4.6875e-05L12 0Z" fill="#F0F0F0"/>
<path d="M11.9679 12H12C12 11.9891 12 11.9787 12 11.9679C11.9893 11.9786 11.9786 11.9893 11.9679 12Z" fill="#F0F0F0"/>
<path d="M12 6.26092C12 4.14944 12 2.76583 12 6.10352e-05H11.998C5.3715 0.00113916 0 5.37325 0 12H6.26086V8.47445L9.78642 12H11.9679C11.9787 11.9893 11.9894 11.9786 12 11.9679C12 11.1595 12 10.4381 12 9.78653L8.47444 6.26092H12Z" fill="#F0F0F0"/>
<path d="M6.071 1.56519C4.19417 2.63389 2.63389 4.19417 1.56519 6.071V12H4.69564V4.69569V4.69564H12C12 3.70831 12 2.76772 12 1.56519H6.071Z" fill="#D80027"/>
<path d="M12 10.5243L7.73654 6.26095H6.26086C6.26086 6.2609 6.26086 6.26095 6.26086 6.26095L11.9999 12H12C12 12 12 10.9826 12 10.5243Z" fill="#D80027"/>
<path d="M7.23729 14.0869L7.89588 15.464L9.38309 15.1203L8.71709 16.4938L9.91305 17.4422L8.42398 17.7779L8.42815 19.3043L7.23729 18.3493L6.04648 19.3043L6.05065 17.7779L4.56152 17.4422L5.75754 16.4938L5.09145 15.1203L6.57874 15.464L7.23729 14.0869Z" fill="#F0F0F0"/>
<path d="M17.9665 16.6956L18.2958 17.3842L19.0394 17.2123L18.7063 17.899L19.3044 18.3733L18.5598 18.5411L18.5619 19.3043L17.9665 18.8268L17.3711 19.3043L17.3731 18.5411L16.6286 18.3733L17.2266 17.899L16.8936 17.2123L17.6372 17.3842L17.9665 16.6956Z" fill="#F0F0F0"/>
<path d="M14.9032 9.3913L15.2324 10.0799L15.976 9.90795L15.643 10.5947L16.241 11.069L15.4965 11.2368L15.4985 12L14.9032 11.5225L14.3077 12L14.3098 11.2368L13.5652 11.069L14.1632 10.5947L13.8302 9.90795L14.5739 10.0799L14.9032 9.3913Z" fill="#F0F0F0"/>
<path d="M17.9665 5.21735L18.2958 5.90594L19.0394 5.73405L18.7064 6.42081L19.3043 6.895L18.5598 7.06286L18.5619 7.82608L17.9665 7.34857L17.3711 7.82608L17.3731 7.06286L16.6286 6.895L17.2265 6.42081L16.8936 5.73405L17.6372 5.90594L17.9665 5.21735Z" fill="#F0F0F0"/>
<path d="M20.6423 8.34778L20.9715 9.03637L21.7152 8.86443L21.3822 9.5512L21.9801 10.0254L21.2356 10.1933L21.2376 10.9565L20.6423 10.479L20.0469 10.9565L20.0489 10.1933L19.3044 10.0254L19.9024 9.5512L19.5694 8.86443L20.3129 9.03637L20.6423 8.34778Z" fill="#F0F0F0"/>
<path d="M18.7289 12L18.9879 12.7972H19.8261L19.148 13.2899L19.4071 14.087L18.7289 13.5943L18.0508 14.087L18.3098 13.2899L17.6317 12.7972H18.4699L18.7289 12Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_867">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
