import _extends from "@babel/runtime/helpers/esm/extends";
// **********************************
// Auto-generated file, do NOT modify
// **********************************
import React, { forwardRef, memo, useId } from 'react';
import { createStyledFlagIcon } from '../base';
const FlagIcon = _ref => {
  let {
    svgRef,
    title = 'KP flag',
    theme,
    ...props
  } = _ref;
  const uniqueTitleId = useId();
  const titleId = title ? props.titleId || uniqueTitleId : undefined;
  const ariaHidden = titleId ? undefined : true;
  return /*#__PURE__*/React.createElement("svg", _extends({
    "aria-hidden": ariaHidden,
    "aria-labelledby": titleId,
    ref: svgRef,
    viewBox: "0 0 640 480"
  }, props), title ? /*#__PURE__*/React.createElement("title", {
    id: titleId
  }, title) : null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
    id: "KPFlagIcon__a"
  }, /*#__PURE__*/React.createElement("path", {
    d: "M5 .1h682.6V512H5.1z",
    fillOpacity: 0.7
  }))), /*#__PURE__*/React.createElement("g", {
    clipPath: "url(#KPFlagIcon__a)",
    fillRule: "evenodd",
    transform: "translate(-4.8 -.1) scale(.93768)"
  }, /*#__PURE__*/React.createElement("path", {
    d: "M776 511.5H-76V.5h852z",
    fill: "#fff",
    stroke: "#000"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M776 419H-76v92.5h852z",
    fill: "#3e5698"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M776 397.6H-76V114.4h852z",
    fill: "#c60000"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M776 .6H-76V93h852z",
    fill: "#3e5698"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M328.5 256c0 63.5-53 115-118.6 115S91.3 319.5 91.3 256s53-114.8 118.6-114.8c65.5 0 118.6 51.4 118.6 114.9z",
    fill: "#fff"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M175.8 270.6l-57-40.7 71-.2 22.7-66.4 21.1 66.1 71-.4-57.9 41.2 21.3 66.1-57-40.7-58 41.3z",
    fill: "#c40000"
  })));
};
const FlagIconWithForwardedRef = /*#__PURE__*/forwardRef((iconProps, ref) => /*#__PURE__*/React.createElement(FlagIcon, _extends({}, iconProps, {
  svgRef: ref
})));
export const KPFlagIcon = /*#__PURE__*/memo(createStyledFlagIcon(FlagIconWithForwardedRef));
KPFlagIcon.displayName = 'KPFlagIcon';