import type { SVGProps } from "react";

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

/**
 * Nepal — NPL icon from flag category
 *
 * @example
 * <NPL size={16} />
 * <NPL size={32} className="text-primary" />
 */
export const NPL = ({ size = 16, ...props }: NPLProps) => (
  <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_2063)">
<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z" fill="#F0F0F0"/>
<path d="M23.9295 13.3043L23.9292 13.304L23.9292 13.3043H23.9295Z" fill="#0052B4"/>
<path d="M23.9292 13.3043C23.9292 13.3042 23.9293 13.3041 23.9293 13.304L10.7693 0.0623779C10.1757 0.122894 9.59475 0.226675 9.02986 0.370534C3.83897 1.69217 0 12 0 12C0 12 16.7999 23.2423 18.7165 21.9452C19.1 21.6857 19.4677 21.4046 19.8177 21.1036L12.0185 13.3043H23.9292Z" fill="#0052B4"/>
<path d="M20.8695 12L9.19898 0.329468C3.92287 1.5912 0 6.33711 0 12C0 18.6274 5.37262 24 12 24C14.5139 24 16.8467 23.2265 18.7748 21.9052L8.86955 12H20.8695Z" fill="#D80027"/>
<path d="M11.4128 17.7184L9.94722 17.0291L10.7276 15.6097L9.13624 15.9142L8.93458 14.3065L7.82613 15.4889L6.71768 14.3065L6.51597 15.9142L4.92461 15.6097L5.70503 17.0291L4.23944 17.7184L5.70503 18.4077L4.92461 19.8271L6.51607 19.5227L6.71763 21.1303L7.82613 19.9479L8.93458 21.1303L9.13624 19.5227L10.7276 19.8271L9.94718 18.4078L11.4128 17.7184Z" fill="#F0F0F0"/>
<path d="M10.4348 6.65545L9.36889 6.15412L9.9365 5.1218L8.77902 5.34323L8.63234 4.17389L7.82614 5.0339L7.01994 4.17389L6.87322 5.34323L5.71574 5.1218L6.28339 6.15412L5.21741 6.65545L7.82614 7.17726L10.4348 6.65545Z" fill="#F0F0F0"/>
<path d="M10.9565 6.65546C10.9565 8.38435 9.55496 9.78591 7.82607 9.78591C6.09718 9.78591 4.69562 8.38435 4.69562 6.65546" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_2063">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
