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 = 'GW 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("path", {
    d: "M0 0h220v480H0z",
    fill: "#ce1126"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M220 0h420v240H220z",
    fill: "#fcd116"
  }), /*#__PURE__*/React.createElement("path", {
    d: "M220 240h420v240H220z",
    fill: "#009e49"
  }), /*#__PURE__*/React.createElement("g", {
    id: "GWFlagIcon__b",
    transform: "matrix(80 0 0 80 110 240)"
  }, /*#__PURE__*/React.createElement("path", {
    d: "M0-1v1h.5",
    id: "GWFlagIcon__a",
    transform: "rotate(18 0 -1)"
  }), /*#__PURE__*/React.createElement("use", {
    height: "100%",
    transform: "scale(-1 1)",
    width: "100%",
    xlinkHref: "#GWFlagIcon__a"
  })), /*#__PURE__*/React.createElement("use", {
    height: "100%",
    transform: "rotate(72 110 240)",
    width: "100%",
    xlinkHref: "#GWFlagIcon__b"
  }), /*#__PURE__*/React.createElement("use", {
    height: "100%",
    transform: "rotate(144 110 240)",
    width: "100%",
    xlinkHref: "#GWFlagIcon__b"
  }), /*#__PURE__*/React.createElement("use", {
    height: "100%",
    transform: "rotate(-144 110 240)",
    width: "100%",
    xlinkHref: "#GWFlagIcon__b"
  }), /*#__PURE__*/React.createElement("use", {
    height: "100%",
    transform: "rotate(-72 110 240)",
    width: "100%",
    xlinkHref: "#GWFlagIcon__b"
  }));
};
const FlagIconWithForwardedRef = /*#__PURE__*/forwardRef((iconProps, ref) => /*#__PURE__*/React.createElement(FlagIcon, _extends({}, iconProps, {
  svgRef: ref
})));
export const GWFlagIcon = /*#__PURE__*/memo(createStyledFlagIcon(FlagIconWithForwardedRef));
GWFlagIcon.displayName = 'GWFlagIcon';