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 = 'KR 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",
    xmlnsXlink: "http://www.w3.org/1999/xlink"
  }, props), title ? /*#__PURE__*/React.createElement("title", {
    id: titleId
  }, title) : null, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
    id: "KRFlagIcon__a"
  }, /*#__PURE__*/React.createElement("path", {
    d: "M-95.8-.4h682.7v512H-95.8z",
    fillOpacity: 0.7
  }))), /*#__PURE__*/React.createElement("g", {
    clipPath: "url(#KRFlagIcon__a)",
    fillRule: "evenodd",
    transform: "translate(89.8 .4) scale(.9375)"
  }, /*#__PURE__*/React.createElement("path", {
    d: "M-95.8-.4H587v512H-95.8z",
    fill: "#fff"
  }), /*#__PURE__*/React.createElement("g", {
    transform: "rotate(-56.3 361.6 -101.3) scale(10.66667)"
  }, /*#__PURE__*/React.createElement("g", {
    id: "KRFlagIcon__c"
  }, /*#__PURE__*/React.createElement("path", {
    d: "M-6-26H6v2H-6zm0 3H6v2H-6zm0 3H6v2H-6z",
    id: "KRFlagIcon__b"
  }), /*#__PURE__*/React.createElement("use", {
    height: "100%",
    width: "100%",
    xlinkHref: "#KRFlagIcon__b",
    y: 44
  })), /*#__PURE__*/React.createElement("path", {
    d: "M0 17v10",
    stroke: "#fff"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M0-12a12 12 0 010 24z",
    fill: "#cd2e3a"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M0-12a12 12 0 000 24A6 6 0 000 0z",
    fill: "#0047a0"
  }), /*#__PURE__*/React.createElement("circle", {
    cy: -6,
    fill: "#cd2e3a",
    r: 6
  })), /*#__PURE__*/React.createElement("g", {
    transform: "rotate(-123.7 191.2 62.2) scale(10.66667)"
  }, /*#__PURE__*/React.createElement("use", {
    height: "100%",
    width: "100%",
    xlinkHref: "#KRFlagIcon__c"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M0-23.5v3M0 17v3.5m0 3v3",
    stroke: "#fff"
  }))));
};
const FlagIconWithForwardedRef = /*#__PURE__*/forwardRef((iconProps, ref) => /*#__PURE__*/React.createElement(FlagIcon, _extends({}, iconProps, {
  svgRef: ref
})));
export const KRFlagIcon = /*#__PURE__*/memo(createStyledFlagIcon(FlagIconWithForwardedRef));
KRFlagIcon.displayName = 'KRFlagIcon';