import type { SVGProps } from "react";

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

/**
 * Liberia — LBR icon from flag category
 *
 * @example
 * <LBR size={16} />
 * <LBR size={32} className="text-primary" />
 */
export const LBR = ({ size = 16, ...props }: LBRProps) => (
  <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_1830)">
<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="M2.74292 4.36368H21.257C20.5732 3.53563 19.7801 2.80134 18.9003 2.18188H5.09965C4.21986 2.80124 3.42678 3.53559 2.74292 4.36368Z" fill="#F0F0F0"/>
<path d="M0 12C0 12.3678 0.0174844 12.7315 0.049875 13.0909H23.9501C23.9825 12.7315 24 12.3678 24 12C24 11.6322 23.9825 11.2685 23.9501 10.9091H0.049875C0.0174844 11.2685 0 11.6322 0 12H0Z" fill="#F0F0F0"/>
<path d="M1.30859 17.4545H22.6915C23.0448 16.7633 23.333 16.0334 23.5482 15.2728H0.451904C0.667014 16.0334 0.955295 16.7633 1.30859 17.4545Z" fill="#F0F0F0"/>
<path d="M5.09965 21.8182H18.9003C19.7801 21.1988 20.5732 20.4645 21.257 19.6364H2.74292C3.42678 20.4644 4.21986 21.1988 5.09965 21.8182Z" fill="#F0F0F0"/>
<path d="M0.451843 8.72727H23.5482C23.333 7.96658 23.0448 7.23664 22.6915 6.54547H1.30858C0.955281 7.23664 0.667 7.96658 0.451843 8.72727Z" fill="#F0F0F0"/>
<path d="M5.73914 2.1818H18.9003C16.9484 0.807516 14.5686 0 12 0C10.4348 0 7.69101 0.807516 5.73914 2.1818Z" fill="#D80027"/>
<path d="M11.4783 6.54551H22.6914C22.2924 5.7649 21.8104 5.03369 21.2571 4.36371H11.4783V6.54551Z" fill="#D80027"/>
<path d="M11.4783 10.9092H23.9501C23.8826 10.16 23.747 9.43043 23.5482 8.72736H11.4783V10.9092Z" fill="#D80027"/>
<path d="M0.451866 15.2727H23.5481C23.747 14.5697 23.8826 13.8401 23.9501 13.0909H0.0498657C0.117366 13.8401 0.253022 14.5697 0.451866 15.2727Z" fill="#D80027"/>
<path d="M2.74291 19.6363H21.257C21.8104 18.9662 22.2924 18.2351 22.6914 17.4545H1.30853C1.70758 18.2351 2.18955 18.9663 2.74291 19.6363Z" fill="#D80027"/>
<path d="M12 24C14.5686 24 16.9485 23.1925 18.9003 21.8182H5.09967C7.05155 23.1925 9.43139 24 12 24Z" fill="#D80027"/>
<path d="M0.451819 8.72728C0.252975 9.43041 0.117366 10.1599 0.0498657 10.9091H12V0C6.50718 0 1.87644 3.69056 0.451819 8.72728Z" fill="#0052B4"/>
<path d="M7.1432 3.13043L7.92015 5.52176H10.4348L8.40053 6.99982L9.17743 9.39129L7.1432 7.91332L5.10887 9.39129L5.88597 6.99982L3.85168 5.52176H6.3662L7.1432 3.13043Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_1830">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
