import type { SVGProps } from "react";

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

/**
 * Uganda — UGA icon from flag category
 *
 * @example
 * <UGA size={16} />
 * <UGA size={32} className="text-primary" />
 */
export const UGA = ({ size = 16, ...props }: UGAProps) => (
  <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_2738)">
<path d="M20.9434 20C22.8439 17.8769 24 15.0737 24 12C24 8.92632 22.8438 6.12306 20.9434 3.99999L12 3.13046L3.05662 3.99999C1.15617 6.12306 0 8.92632 0 12C0 15.0737 1.15613 17.8769 3.05658 20L12 20.8696L20.9434 20Z" fill="#FFDA44"/>
<path d="M3.05664 3.99998H20.9434C18.7462 1.54528 15.5538 0 12 0C8.44628 0 5.25386 1.54528 3.05664 3.99998Z" fill="black"/>
<path d="M0 12L12 13.0435L24 12C24 10.5973 23.7585 9.25116 23.3162 7.99997H0.683812C0.241453 9.25116 0 10.5973 0 12H0Z" fill="#D80027"/>
<path d="M0.683812 16H23.3163C23.7585 14.7488 24 13.4027 24 12H0C0 13.4027 0.241453 14.7488 0.683812 16Z" fill="black"/>
<path d="M20.9434 20H3.05658C5.2538 22.4547 8.44622 24 12 24C15.5538 24 18.7462 22.4547 20.9434 20Z" fill="#D80027"/>
<path d="M16.0044 12C16.0044 14.2117 14.2117 16.0044 12 16.0044C9.78831 16.0044 7.99567 14.2117 7.99567 12C7.99567 9.78831 9.78831 7.99567 12 7.99567C14.2117 7.99567 16.0044 9.78831 16.0044 12Z" fill="#F0F0F0"/>
<path d="M13.467 12.2042L12 11.5685C12 11.5685 12.3432 10.4293 12.3615 10.3514C12.3749 10.2944 12.382 10.235 12.382 10.174C12.382 9.95785 12.2944 9.76219 12.1527 9.62063L12.5217 9.25172C12.2856 9.01571 11.9595 8.86969 11.5993 8.86969C11.2392 8.86969 10.913 9.01566 10.677 9.25172L11.0459 9.62063C10.9043 9.76224 10.8167 9.95789 10.8167 10.174C10.8167 10.253 10.8287 10.3292 10.8505 10.4011L10.295 10.9565H11.3045C11.3045 10.9565 10.8872 11.5834 10.6593 12.0983C10.4315 12.613 10.6625 13.2415 11.189 13.4756L11.4935 13.6109L12 14.087V14.6087L11.4783 15.1304H12.5218V14.0869L12.9979 13.6108H13.9827C13.9874 13.601 13.9924 13.5915 13.9969 13.5814C14.2308 13.0549 13.9936 12.4382 13.467 12.2042Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_43_2738">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
