import type { SVGProps } from "react";

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

/**
 * Timor-Leste — TLS icon from flag category
 *
 * @example
 * <TLS size={16} />
 * <TLS size={32} className="text-primary" />
 */
export const TLS = ({ size = 16, ...props }: TLSProps) => (
  <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_1418)">
<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="#FFDA44"/>
<path d="M12 0C9.062 0 6.3711 1.05642 4.28506 2.80941L17.2174 12L4.28506 21.1906C6.3711 22.9436 9.062 24 12 24C18.6274 24 24 18.6274 24 12C24 5.37262 18.6274 0 12 0Z" fill="#D80027"/>
<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="black"/>
<path d="M3.32714 9.25104L5.15339 10.9794L7.36158 9.77641L6.28228 12.0475L8.10858 13.7759L5.61511 13.4512L4.53567 15.7222L4.0741 13.2504L1.58063 12.9256L3.78872 11.7227L3.32714 9.25104Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_1418">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
