"use strict";
const defineProperty = require("../../../../../../../@babel_runtime@7.19.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
const React = require("react");
const context = require("../context.js");
const emotionReactJsxRuntime_browser_esm = require("../../../../../../../@emotion_react@11.10.4_3toe27fv7etiytxb5kxc7fxaw4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js");
const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
const React__default = /* @__PURE__ */ _interopDefaultLegacy(React);
function ownKeys(object, enumerableOnly) {
  var keys = Object.keys(object);
  if (Object.getOwnPropertySymbols) {
    var symbols = Object.getOwnPropertySymbols(object);
    if (enumerableOnly) {
      symbols = symbols.filter(function(sym) {
        return Object.getOwnPropertyDescriptor(object, sym).enumerable;
      });
    }
    keys.push.apply(keys, symbols);
  }
  return keys;
}
function _objectSpread(target) {
  for (var i = 1; i < arguments.length; i++) {
    var source = arguments[i] != null ? arguments[i] : {};
    if (i % 2) {
      ownKeys(Object(source), true).forEach(function(key) {
        defineProperty(target, key, source[key]);
      });
    } else if (Object.getOwnPropertyDescriptors) {
      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
    } else {
      ownKeys(Object(source)).forEach(function(key) {
        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
      });
    }
  }
  return target;
}
function IconImageCloseComponent(iconProps, ref) {
  var _useContext = React.useContext(context.IconContext), _useContext$prefixCls = _useContext.prefixCls, prefixCls = _useContext$prefixCls === void 0 ? "arco" : _useContext$prefixCls;
  var spin = iconProps.spin, className = iconProps.className;
  var props = _objectSpread(_objectSpread({
    "aria-hidden": true,
    focusable: false,
    ref
  }, iconProps), {}, {
    className: "".concat(className ? className + " " : "").concat(prefixCls, "-icon ").concat(prefixCls, "-icon-image-close")
  });
  if (spin) {
    props.className = "".concat(props.className, " ").concat(prefixCls, "-icon-loading");
  }
  delete props.spin;
  delete props.isIcon;
  return /* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsxs("svg", {
    fill: "none",
    stroke: "currentColor",
    strokeWidth: "4",
    viewBox: "0 0 48 48",
    ...props,
    children: [/* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx("path", {
      d: "M41 26V9a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v30a2 2 0 0 0 2 2h17"
    }), /* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx("path", {
      d: "m24 33 9-8.5V27s-2 1-3.5 2.5C27.841 31.159 27 33 27 33h-3Zm0 0-3.5-4.5L17 33h7Z"
    }), /* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx("path", {
      fill: "currentColor",
      stroke: "none",
      d: "M20.5 28.5 17 33h7l-3.5-4.5ZM33 24.5 24 33h3s.841-1.841 2.5-3.5C31 28 33 27 33 27v-2.5Z"
    }), /* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx("path", {
      fill: "currentColor",
      fillRule: "evenodd",
      stroke: "none",
      d: "M46 38a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-4.95-4.782 1.74 1.74-3.045 3.046 3.046 3.046-1.74 1.74-3.047-3.045-3.046 3.046-1.74-1.74 3.046-3.047-3.046-3.046 1.74-1.74 3.046 3.046 3.046-3.046Z",
      clipRule: "evenodd"
    }), /* @__PURE__ */ emotionReactJsxRuntime_browser_esm.jsx("path", {
      d: "M17 15h-2v2h2v-2Z"
    })]
  });
}
var IconImageClose = /* @__PURE__ */ React__default.default.forwardRef(IconImageCloseComponent);
IconImageClose.defaultProps = {
  isIcon: true
};
IconImageClose.displayName = "IconImageClose";
const IconImageClose$1 = IconImageClose;
module.exports = IconImageClose$1;
//# sourceMappingURL=index.js.map
