import type { SVGProps } from "react";

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

/**
 * Cocos (Keeling) Islands — CCK icon from flag category
 *
 * @example
 * <CCK size={16} />
 * <CCK size={32} className="text-primary" />
 */
export const CCK = ({ size = 16, ...props }: CCKProps) => (
  <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_1254)">
<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="#6DA544"/>
<path d="M18.4211 17.2173L18.7504 17.9059L19.494 17.734L19.161 18.4208L19.759 18.895L19.0145 19.0628L19.0166 19.8261L18.4211 19.3486L17.8257 19.8261L17.8278 19.0628L17.0833 18.895L17.6812 18.4208L17.3482 17.734L18.0918 17.9059L18.4211 17.2173Z" fill="#FFDA44"/>
<path d="M15.3578 9.91302L15.6871 10.6016L16.4307 10.4297L16.0977 11.1165L16.6957 11.5907L15.9511 11.7585L15.9532 12.5217L15.3578 12.0442L14.7624 12.5217L14.7644 11.7585L14.0199 11.5907L14.6179 11.1165L14.2848 10.4297L15.0285 10.6016L15.3578 9.91302Z" fill="#FFDA44"/>
<path d="M18.4211 5.73914L18.7504 6.42768L19.494 6.25574L19.1611 6.94256L19.759 7.41679L19.0145 7.58456L19.0165 8.34782L18.4211 7.87031L17.8257 8.34782L17.8278 7.58456L17.0833 7.41679L17.6813 6.94256L17.3483 6.25574L18.0918 6.42768L18.4211 5.73914Z" fill="#FFDA44"/>
<path d="M21.0969 8.86951L21.4262 9.55805L22.1699 9.38616L21.8368 10.073L22.4348 10.5472L21.6903 10.715L21.6923 11.4782L21.0969 11.0007L20.5015 11.4782L20.5035 10.715L19.759 10.5472L20.357 10.073L20.024 9.38616L20.7676 9.55805L21.0969 8.86951Z" fill="#FFDA44"/>
<path d="M19.1835 12.5217L19.4426 13.3189H20.2808L19.6026 13.8116L19.8617 14.6087L19.1835 14.1161L18.5055 14.6087L18.7645 13.8116L18.0864 13.3189H18.9245L19.1835 12.5217Z" fill="#FFDA44"/>
<path d="M13.3043 15.3913C11.4313 15.3913 9.91297 13.8729 9.91297 12C9.91297 10.127 11.4313 8.60867 13.3043 8.60867C13.8883 8.60867 14.4378 8.75638 14.9175 9.0163C14.165 8.28027 13.1358 7.82605 11.9999 7.82605C9.69477 7.82605 7.82605 9.69477 7.82605 11.9999C7.82605 14.3051 9.69477 16.1738 11.9999 16.1738C13.1358 16.1738 14.165 15.7196 14.9175 14.9836C14.4378 15.2436 13.8883 15.3913 13.3043 15.3913Z" fill="#FFDA44"/>
<path d="M7.54622 4.69565C7.18529 4.07202 6.51146 3.65216 5.73915 3.65216C4.96683 3.65216 4.29301 4.07202 3.93207 4.69565H7.54622Z" fill="#FFDA44"/>
<path d="M7.55316 4.7077L5.73914 6.52172L3.92513 4.7077C3.75174 5.01197 3.65222 5.36386 3.65222 5.73914C3.65222 6.89175 4.58658 7.82611 5.73919 7.82611C6.8918 7.82611 7.82616 6.8918 7.82616 5.73914C7.82611 5.36386 7.72655 5.01197 7.55316 4.7077Z" fill="#FFDA44"/>
<path d="M5.21735 6V7.76034C5.38408 7.80323 5.55892 7.82606 5.73906 7.82606C5.91921 7.82606 6.09405 7.80319 6.26078 7.76034V6H5.21735Z" fill="#A2001D"/>
</g>
<defs>
<clipPath id="clip0_43_1254">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
