import type { SVGProps } from "react";

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

/**
 * Angola — AGO icon from flag category
 *
 * @example
 * <AGO size={16} />
 * <AGO size={32} className="text-primary" />
 */
export const AGO = ({ size = 16, ...props }: AGOProps) => (
  <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_819)">
<path d="M0 12C0 5.37262 5.37262 0 12 0C18.6274 0 24 5.37262 24 12C23.4783 12 12 13.5652 12 13.5652L0 12Z" fill="#D80027"/>
<path d="M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12" fill="black"/>
<path d="M10.3546 9.54432L11.3719 10.2826L10.9842 11.4783L12.0008 10.7388L13.0181 11.4771L12.629 10.2818L13.6454 9.54236L12.3885 9.5431L11.9993 8.34784L11.6116 9.54353L10.3546 9.54432Z" fill="#FFDA44"/>
<path d="M15 6.80387C14.0544 6.25791 13.0205 6.00024 12 6.00202V7.5669C12.7543 7.56554 13.5184 7.75585 14.2174 8.15945C16.3351 9.38213 17.0633 12.0998 15.8406 14.2175C14.6179 16.3352 11.9004 17.0634 9.7826 15.8407C9.16563 15.4845 8.66759 15.0009 8.30046 14.4427L6.99377 15.3054C7.49051 16.0605 8.16532 16.7143 9.00002 17.1961C11.8652 18.8504 15.5419 17.8652 17.1961 15C18.8503 12.1348 17.8652 8.45809 15 6.80387Z" fill="#FFDA44"/>
<path d="M8.5402 10.9565C8.12536 11.7149 8.40389 12.6661 9.16223 13.0809L14.2458 15.8587C13.9001 16.4907 14.0837 17.2598 14.7156 17.6055L16.0888 18.3567C16.7207 18.7024 17.5134 18.4703 17.8591 17.8384L18.6103 16.4652L8.5402 10.9565Z" fill="#FFDA44"/>
</g>
<defs>
<clipPath id="clip0_43_819">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
