import type { SVGProps } from "react";

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

/**
 * Abkhazia icon from flag category
 *
 * @example
 * <Abkhazia size={16} />
 * <Abkhazia size={32} className="text-primary" />
 */
export const Abkhazia = ({ size = 16, ...props }: AbkhaziaProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <g clipPath="url(#clip0_abkhazia)">
<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="#F0F0F0"/>
<path d="M20.3971 3.42862C18.2327 1.308 15.2694 0 12 0C10.9565 0 7.9034 1.308 5.73914 3.42862H20.3971Z" fill="#6DA544"/>
<path d="M12 10.2858H23.8776C23.7044 9.07521 23.3508 7.92302 22.8445 6.85718H11.4783L12 10.2858Z" fill="#6DA544"/>
<path d="M1.15551 17.1429H22.8445C23.3508 16.0771 23.7044 14.9248 23.8776 13.7143H0.122437C0.29564 14.9249 0.649124 16.0772 1.15551 17.1429Z" fill="#6DA544"/>
<path d="M3.60291 20.5714C5.76726 22.692 8.73061 24 12 24C15.2694 24 18.2327 22.692 20.3971 20.5714H3.60291Z" fill="#6DA544"/>
<path d="M12 0C5.95472 0 0.954374 4.47052 0.122437 10.2857H12V0Z" fill="#D80027"/>
<path d="M5.99999 9.20001L5.47827 8.15658V6.06961L6.78262 5.02612L8.08696 6.06961V7.63481L8.60868 7.11309V8.15658L7.56519 9.20001H5.99999Z" fill="#F0F0F0"/>
<path d="M3.19381 6L3.33195 6.42516H3.77895L3.41731 6.68798L3.5555 7.11309L3.19381 6.85031L2.83213 7.11309L2.97031 6.68798L2.60867 6.42516H3.05567L3.19381 6Z" fill="#F0F0F0"/>
<path d="M4.2373 4.95648L4.37544 5.38164H4.82249L4.4608 5.64447L4.59894 6.06958L4.2373 5.80684L3.87566 6.06958L4.01385 5.64447L3.65216 5.38164H4.09911L4.2373 4.95648Z" fill="#F0F0F0"/>
<path d="M5.28079 3.91302L5.41893 4.33818H5.86588L5.50429 4.60101L5.64238 5.02612L5.28079 4.76338L4.9191 5.02612L5.05724 4.60101L4.69565 4.33818H5.1426L5.28079 3.91302Z" fill="#F0F0F0"/>
<path d="M10.3713 6L10.2332 6.42516H9.78625L10.1478 6.68798L10.0097 7.11309L10.3713 6.85031L10.733 7.11309L10.5949 6.68798L10.9565 6.42516H10.5095L10.3713 6Z" fill="#F0F0F0"/>
<path d="M9.32786 4.95648L9.18972 5.38164H8.74277L9.10436 5.64447L8.96622 6.06958L9.32786 5.80684L9.68955 6.06958L9.55136 5.64447L9.913 5.38164H9.46605L9.32786 4.95648Z" fill="#F0F0F0"/>
<path d="M8.28445 3.91302L8.14626 4.33818H7.69931L8.0609 4.60101L7.92276 5.02612L8.28445 4.76338L8.64609 5.02612L8.50795 4.60101L8.86954 4.33818H8.42259L8.28445 3.91302Z" fill="#F0F0F0"/>
<path d="M6.78262 3.3913L6.64443 3.81645H6.19748L6.55907 4.07923L6.42093 4.50434L6.78262 4.24161L7.14426 4.50434L7.00612 4.07923L7.36771 3.81645H6.92076L6.78262 3.3913Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_abkhazia">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
