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 IconModelManagementComponent(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-model-management").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 20 20" }, rest, { ref: ref }),
            react_1.default.createElement("path", { d: "M2.5 3.35116C2.5 2.87503 2.88598 2.48904 3.36212 2.48904H8.34533C8.82146 2.48904 9.20744 2.87503 9.20744 3.35116V8.33745C9.20744 8.81359 8.82146 9.19957 8.34533 9.19957H3.36212C2.88598 9.19957 2.5 8.81359 2.5 8.33745V3.35116zM2.5 11.6516C2.5 11.1755 2.88598 10.7895 3.36212 10.7895H8.34533C8.82146 10.7895 9.20744 11.1755 9.20744 11.6516V16.6379C9.20744 17.114 8.82146 17.5 8.34533 17.5H3.36212C2.88598 17.5 2.5 17.114 2.5 16.6379V11.6516zM10.7963 11.6516C10.7963 11.1755 11.1823 10.7895 11.6584 10.7895H16.638C17.1141 10.7895 17.5001 11.1755 17.5001 11.6516V16.6379C17.5001 17.114 17.1141 17.5 16.638 17.5H11.6584C11.1823 17.5 10.7963 17.114 10.7963 16.6379V11.6516z" }),
            react_1.default.createElement("path", { d: "M10.7962 3.35113C10.7962 2.875 11.1822 2.48901 11.6583 2.48901H16.6379C17.114 2.48901 17.5 2.875 17.5 3.35113V8.33742C17.5 8.81356 17.114 9.19954 16.6379 9.19954H11.6583C11.1822 9.19954 10.7962 8.81356 10.7962 8.33742V3.35113Z", opacity: ".5" }));
    }
    var IconModelManagement = react_1.default.forwardRef(IconModelManagementComponent);
    exports.default = IconModelManagement;
});
