import type { SVGProps } from "react";

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

/**
 * Uruguay — URY icon from flag category
 *
 * @example
 * <URY size={16} />
 * <URY size={32} className="text-primary" />
 */
export const URY = ({ size = 16, ...props }: URYProps) => (
  <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_2784)">
<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="M12 8.86956H23.5866C23.2857 7.75328 22.8284 6.70136 22.2387 5.73911H12V8.86956Z" fill="#338AF3"/>
<path d="M4.53015 21.3913H19.4698C20.565 20.5191 21.5042 19.4596 22.2387 18.2609H1.76129C2.49587 19.4596 3.43506 20.5191 4.53015 21.3913Z" fill="#338AF3"/>
<path d="M12 0V2.60869H19.4699C17.42 0.976125 14.8242 0 12 0Z" fill="#338AF3"/>
<path d="M12 8.86956H23.5866C23.2857 7.75328 22.8284 6.70136 22.2387 5.73911H12V8.86956Z" fill="#338AF3"/>
<path d="M0 12C0 13.0831 0.144375 14.1323 0.413391 15.1305H23.5867C23.8556 14.1323 24 13.0831 24 12H0Z" fill="#338AF3"/>
<path d="M10.4348 7.02287L8.96922 7.71226L9.74964 9.13163L8.15824 8.82723L7.95658 10.4348L6.84818 9.25243L5.73968 10.4348L5.53807 8.82723L3.94666 9.13154L4.72704 7.71221L3.26154 7.02287L4.72708 6.33357L3.94666 4.91419L5.53802 5.2186L5.73972 3.61102L6.84818 4.7934L7.95663 3.61102L8.15824 5.2186L9.74969 4.91419L8.96927 6.33362L10.4348 7.02287Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_2784">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
