import type { SVGProps } from "react";

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

/**
 * New Zealand — NZL icon from flag category
 *
 * @example
 * <NZL size={16} />
 * <NZL size={32} className="text-primary" />
 */
export const NZL = ({ size = 16, ...props }: NZLProps) => (
  <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_2077)">
<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.3715 0.001125 0 5.37323 0 12H6.26086V8.47448L9.78642 12H11.9679C11.9786 11.9893 11.9894 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.63389 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.73654 6.26086C7.73654 6.26086 6.26086 6.26096 6.26086 6.26086V6.26096L11.9999 12H12C12 12 12 10.9824 12 10.5243Z" fill="#D80027"/>
<path d="M20.7811 8.9043L21.0401 9.70145H21.8782L21.2002 10.1941L21.4592 10.9912L20.7811 10.4986L20.1029 10.9912L20.362 10.1941L19.6838 9.70145H20.522L20.7811 8.9043Z" fill="#D80027"/>
<path d="M17.7849 14.6434L18.1734 15.8392H19.4307L18.4135 16.5782L18.8021 17.7739L17.7849 17.0349L16.7677 17.7739L17.1563 16.5782L16.1391 15.8392H17.3963L17.7849 14.6434Z" fill="#D80027"/>
<path d="M17.898 5.25214L18.2218 6.24865H19.2695L18.4219 6.86436L18.7457 7.86082L17.898 7.24493L17.0504 7.86082L17.3742 6.86436L16.5266 6.24865H17.5743L17.898 5.25214Z" fill="#D80027"/>
<path d="M15.0151 8.86951L15.4036 10.0653H16.6609L15.6437 10.8042L16.0323 12L15.0151 11.261L13.9979 12L14.3865 10.8042L13.3693 10.0653H14.6266L15.0151 8.86951Z" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_2077">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
