import _defineProperty from "../../../../../../../@babel_runtime@7.19.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js";
import React__default, { useContext } from "react";
import { IconContext } from "../context.js";
import { jsx } from "../../../../../../../@emotion_react@11.10.4_3toe27fv7etiytxb5kxc7fxaw4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
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 IconCloseCircleFillComponent(iconProps, ref) {
  var _useContext = useContext(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-close-circle-fill")
  });
  if (spin) {
    props.className = "".concat(props.className, " ").concat(prefixCls, "-icon-loading");
  }
  delete props.spin;
  delete props.isIcon;
  return /* @__PURE__ */ jsx("svg", {
    fill: "none",
    stroke: "currentColor",
    strokeWidth: "4",
    viewBox: "0 0 48 48",
    ...props,
    children: /* @__PURE__ */ jsx("path", {
      fill: "currentColor",
      fillRule: "evenodd",
      stroke: "none",
      d: "M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm4.955-27.771-4.95 4.95-4.95-4.95a1 1 0 0 0-1.414 0l-1.414 1.414a1 1 0 0 0 0 1.414l4.95 4.95-4.95 4.95a1 1 0 0 0 0 1.414l1.414 1.414a1 1 0 0 0 1.414 0l4.95-4.95 4.95 4.95a1 1 0 0 0 1.414 0l1.414-1.414a1 1 0 0 0 0-1.414l-4.95-4.95 4.95-4.95a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0Z",
      clipRule: "evenodd"
    })
  });
}
var IconCloseCircleFill = /* @__PURE__ */ React__default.forwardRef(IconCloseCircleFillComponent);
IconCloseCircleFill.defaultProps = {
  isIcon: true
};
IconCloseCircleFill.displayName = "IconCloseCircleFill";
const IconCloseCircleFill$1 = IconCloseCircleFill;
export {
  IconCloseCircleFill$1 as default
};
//# sourceMappingURL=index.js.map
