import type { SVGProps } from "react";

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

/**
 * Sri Lanka — LKA icon from flag category
 *
 * @example
 * <LKA size={16} />
 * <LKA size={32} className="text-primary" />
 */
export const LKA = ({ size = 16, ...props }: LKAProps) => (
  <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_2512)">
<path d="M12 24C18.6274 24 24 18.6274 24 12C24 5.37257 18.6274 0 12 0C5.37257 0 0 5.37257 0 12C0 18.6274 5.37257 24 12 24Z" fill="#FFDA44"/>
<path d="M9.39137 2.08698H5.2366C5.05247 2.21283 4.87229 2.34385 4.69571 2.47946L3.65222 12L4.69571 21.5205C4.87229 21.6562 5.05247 21.7872 5.2366 21.913H9.39137V2.08698Z" fill="#FF9811"/>
<path d="M0 12.0001C0 15.8787 1.84069 19.327 4.69567 21.5206V2.47949C1.84069 4.67315 0 8.12138 0 12.0001Z" fill="#6DA544"/>
<path d="M19.3043 7.31552V7.61576L19.3155 7.61744L19.3043 7.31552Z" fill="#FFDA44"/>
<path d="M23.0435 15.1304H20.7826L19.8261 16.1739V18.2609H17.7391V17.2174H18.7826V15.1304H14.087V16.4348H13.0435V13.949C12.7233 13.6624 12.5217 13.2461 12.5217 12.7826V6.00001C12.5217 5.13559 13.2225 4.43481 14.087 4.43481V14.087H16.1739L16.89 13.4902C16.7649 13.1923 16.6956 12.8652 16.6956 12.5218V10.9566H15.1304V7.82617H18.2609C18.2609 7.30445 19.0435 6.78269 19.0435 6.78269C19.0435 6.78269 19.8261 7.30441 19.8261 7.82617V8.6088V10.9566C20.4066 10.9635 21.3288 10.9485 22.3251 10.9566C22.0634 10.4991 21.913 9.95627 21.913 9.39143C21.913 8.47075 22.3105 7.64303 22.9433 7.07022C22.0313 5.0492 20.576 3.32598 18.7634 2.08698H10.9565V21.9131H18.7635C20.9675 20.4065 22.6433 18.1841 23.4563 15.5807L23.0435 15.1304Z" fill="#A2001D"/>
</g>
<defs>
<clipPath id="clip0_43_2512">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
