import type { SVGProps } from "react";

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

/**
 * Palestinian Territories — PSE icon from flag category
 *
 * @example
 * <PSE size={16} />
 * <PSE size={32} className="text-primary" />
 */
export const PSE = ({ size = 16, ...props }: PSEProps) => (
  <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_2193)">
<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="M7.30434 7.82611H23.2536C21.5581 3.2565 17.1595 0 12 0C8.68622 0 5.68654 1.34339 3.51511 3.51511L7.30434 7.82611Z" fill="black"/>
<path d="M7.30434 16.1739H23.2536C21.5581 20.7435 17.1595 24 12 24C8.68622 24 5.68654 22.6566 3.51511 20.4849L7.30434 16.1739Z" fill="#6DA544"/>
<path d="M3.51468 3.51471C-1.1716 8.20099 -1.1716 15.799 3.51468 20.4853C5.45123 18.5488 7.31371 16.6863 12 12L3.51468 3.51471Z" fill="#D80027"/>
</g>
<defs>
<clipPath id="clip0_43_2193">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
