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 = 'BI 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: "BIFlagIcon__a"
  }, /*#__PURE__*/React.createElement("path", {
    d: "M-90.5 0H592v512H-90.5z",
    fillOpacity: 0.7
  }))), /*#__PURE__*/React.createElement("g", {
    clipPath: "url(#BIFlagIcon__a)",
    fillRule: "evenodd",
    transform: "translate(84.9) scale(.9375)"
  }, /*#__PURE__*/React.createElement("path", {
    d: "M-178 0l428.8 256L-178 512zm857.6 0L250.8 256l428.8 256z",
    fill: "#18b637"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M-178 0l428.8 256L679.6 0zm0 512l428.8-256 428.8 256z",
    fill: "#cf0921"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M679.6 0h-79.9L-178 464.3V512h79.9L679.6 47.7z",
    fill: "#fff"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M398.9 256a148 148 0 11-296.1 0 148 148 0 01296 0z",
    fill: "#fff"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M-178 0v47.7L599.7 512h79.9v-47.7L-98.1 0z",
    fill: "#fff"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M280 200.2l-19.3.3-10 16.4-9.9-16.4-19.2-.4 9.3-16.9-9.2-16.8 19.2-.4 10-16.4 9.9 16.5 19.2.4-9.3 16.8zm-64.6 111.6l-19.2.3-10 16.4-9.9-16.4-19.2-.4 9.3-16.9-9.2-16.8 19.2-.4 10-16.4 9.9 16.5 19.2.4-9.3 16.8zm130.6 0l-19.2.3-10 16.4-10-16.4-19.1-.4 9.3-16.9-9.3-16.8 19.2-.4 10-16.4 10 16.5 19.2.4-9.4 16.8z",
    fill: "#cf0921",
    stroke: "#18b637",
    strokeWidth: 3.9
  })));
};
const FlagIconWithForwardedRef = /*#__PURE__*/forwardRef((iconProps, ref) => /*#__PURE__*/React.createElement(FlagIcon, _extends({}, iconProps, {
  svgRef: ref
})));
export const BIFlagIcon = /*#__PURE__*/memo(createStyledFlagIcon(FlagIconWithForwardedRef));
BIFlagIcon.displayName = 'BIFlagIcon';