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 = 'MY 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("path", {
    d: "M0 0h640v480H0z",
    fill: "#c00"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M.5 39.9h639v38.4H.5zm0 78.7h639V157H.5zm0 78.8h639v38.4H.5z",
    fill: "#fff"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M0 .5h320v280H0z",
    fill: "#006"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M207.5 73.8l6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 100 130 80 80 0 110-130z",
    fill: "#fc0"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M.5 276.2h639v38.4H.5zm0 78.2h639v38.4H.5zM0 441.6h639V480H0z",
    fill: "#fff"
  }));
};
const FlagIconWithForwardedRef = /*#__PURE__*/forwardRef((iconProps, ref) => /*#__PURE__*/React.createElement(FlagIcon, _extends({}, iconProps, {
  svgRef: ref
})));
export const MYFlagIcon = /*#__PURE__*/memo(createStyledFlagIcon(FlagIconWithForwardedRef));
MYFlagIcon.displayName = 'MYFlagIcon';