import type { SVGProps } from "react";

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

/**
 * Lesotho — LSO icon from flag category
 *
 * @example
 * <LSO size={16} />
 * <LSO size={32} className="text-primary" />
 */
export const LSO = ({ size = 16, ...props }: LSOProps) => (
  <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_1825)">
<path d="M0 12C0 13.8698 0.427828 15.6398 1.19072 17.2174L12 17.7391L22.8093 17.2174C23.5722 15.6398 24 13.8698 24 12C24 10.1302 23.5722 8.36025 22.8093 6.78263L12 6.26086L1.19072 6.78258C0.427828 8.36026 0 10.1302 0 12H0Z" fill="#F0F0F0"/>
<path d="M12 24C16.7575 24 20.8683 21.2313 22.8093 17.2174H1.19073C3.13173 21.2313 7.24248 24 12 24Z" fill="#6DA544"/>
<path d="M12 0C7.24248 0 3.13173 2.76867 1.19073 6.78263H22.8092C20.8683 2.76867 16.7575 0 12 0Z" fill="#0052B4"/>
<path d="M12.7826 11.7391V8.8696H11.2174V11.7391L9.32697 13.6297C9.87676 14.5297 10.8682 15.1305 12.0001 15.1305C13.1319 15.1305 14.1233 14.5297 14.6732 13.6297L12.7826 11.7391Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_43_1825">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
