"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importStar(require("react"));
var context_1 = require("../context");
function IconDeleteFillComponent(props, ref) {
    var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
    var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
    var prefix = prefixFromProps || prefixFromContext || 'hiagent';
    var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
    return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-delete-fill").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 12 12", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.4625 1.125C7.73174 1.125 7.95 1.34326 7.95 1.6125L7.94976 2.09976L10.5625 2.1C10.6712 2.1 10.7106 2.11131 10.7503 2.13256C10.79 2.1538 10.8212 2.18497 10.8424 2.2247C10.8637 2.26442 10.875 2.30382 10.875 2.41247V2.76253C10.875 2.87118 10.8637 2.91058 10.8424 2.9503C10.8212 2.99003 10.79 3.0212 10.7503 3.04244C10.7106 3.06369 10.6712 3.075 10.5625 3.075L9.89976 3.07476L9.9 10.3875C9.9 10.6567 9.68174 10.875 9.4125 10.875H2.5875C2.31826 10.875 2.1 10.6567 2.1 10.3875L2.09976 3.07476L1.43747 3.075C1.32882 3.075 1.28942 3.06369 1.2497 3.04244C1.20997 3.0212 1.1788 2.99003 1.15756 2.9503C1.13631 2.91058 1.125 2.87118 1.125 2.76253V2.41247C1.125 2.30382 1.13631 2.26442 1.15756 2.2247C1.1788 2.18497 1.20997 2.1538 1.2497 2.13256C1.28942 2.11131 1.32882 2.1 1.43747 2.1L4.04976 2.09976L4.05 1.6125C4.05 1.34326 4.26826 1.125 4.5375 1.125H7.4625ZM5.26875 4.5375C5.40337 4.5375 5.5125 4.64663 5.5125 4.78125V8.19375C5.5125 8.32837 5.40337 8.4375 5.26875 8.4375H4.78125C4.64663 8.4375 4.5375 8.32837 4.5375 8.19375V4.78125C4.5375 4.64663 4.64663 4.5375 4.78125 4.5375H5.26875ZM7.21875 4.5375C7.35337 4.5375 7.4625 4.64663 7.4625 4.78125V8.19375C7.4625 8.32837 7.35337 8.4375 7.21875 8.4375H6.73125C6.59663 8.4375 6.4875 8.32837 6.4875 8.19375V4.78125C6.4875 4.64663 6.59663 4.5375 6.73125 4.5375H7.21875Z" }));
}
var IconDeleteFill = react_1.default.forwardRef(IconDeleteFillComponent);
exports.default = IconDeleteFill;
