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;
};
(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "react", "../context"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var react_1 = __importStar(require("react"));
    var context_1 = require("../context");
    function IconDeleteLineComponent(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-line").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 16 16", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.737 1.59113C6.03744 1.59113 5.47034 2.15823 5.47034 2.85779V3.52212H3.00002C2.66865 3.52212 2.40002 3.79074 2.40002 4.12212C2.40002 4.45349 2.66865 4.72212 3.00002 4.72212H3.47017V12.2077C3.47017 13.4227 4.45515 14.4077 5.67017 14.4077H10.4702C11.6852 14.4077 12.6702 13.4227 12.6702 12.2077V4.72212H13C13.3314 4.72212 13.6 4.45349 13.6 4.12212C13.6 3.79074 13.3314 3.52212 13 3.52212H10.6703V2.85779C10.6703 2.15823 10.1032 1.59113 9.40367 1.59113H6.737ZM9.47034 3.52212V2.85779C9.47034 2.82097 9.44049 2.79113 9.40367 2.79113H6.737C6.70018 2.79113 6.67034 2.82097 6.67034 2.85779V3.52212H9.47034ZM4.67017 4.72212H11.4702V12.2077C11.4702 12.7599 11.0225 13.2077 10.4702 13.2077H5.67017C5.11789 13.2077 4.67017 12.7599 4.67017 12.2077V4.72212ZM6.737 7.06639C7.06837 7.06639 7.337 7.33501 7.337 7.66639V10.3331C7.337 10.6644 7.06837 10.9331 6.737 10.9331C6.40563 10.9331 6.137 10.6644 6.137 10.3331V7.66639C6.137 7.33501 6.40563 7.06639 6.737 7.06639ZM10.0037 7.66639C10.0037 7.33501 9.73504 7.06639 9.40367 7.06639C9.0723 7.06639 8.80367 7.33501 8.80367 7.66639V10.3331C8.80367 10.6644 9.0723 10.9331 9.40367 10.9331C9.73504 10.9331 10.0037 10.6644 10.0037 10.3331V7.66639Z" }));
    }
    var IconDeleteLine = react_1.default.forwardRef(IconDeleteLineComponent);
    exports.default = IconDeleteLine;
});
