"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 IconWorkspaceManagementComponent(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-workspace-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: "M17.4004 9.97976L14.6057 8.36623C14.3479 8.21737 14.189 7.94226 14.189 7.64454V3.87314L16.9838 5.48668C17.2416 5.63554 17.4004 5.91064 17.4004 6.20837V9.97976Z", opacity: ".5" }),
        react_1.default.createElement("path", { fillRule: "evenodd", d: "M9.58304 1.695C9.84087 1.54614 10.1585 1.54614 10.4164 1.695L14.189 3.87311V7.64446C14.189 7.94218 14.3478 8.21729 14.6056 8.36615L17.4004 9.97969V13.7916C17.4004 14.0893 17.2415 14.3644 16.9837 14.5133L10.4164 18.3049C10.1585 18.4538 9.84088 18.4538 9.58304 18.3049L3.01573 14.5133C2.75789 14.3644 2.59906 14.0893 2.59906 13.7916V6.20833C2.59906 5.91061 2.75789 5.63551 3.01573 5.48665L9.58304 1.695ZM6.57993 13.0525C6.40463 13.1537 6.1803 13.1153 6.06188 12.9512C5.87271 12.6889 5.70909 12.407 5.57467 12.1091C5.49136 11.9245 5.57031 11.7109 5.74572 11.6096L9.16696 9.63434L9.16696 5.68496C9.16696 5.48225 9.31273 5.30699 9.51445 5.28695C9.67414 5.27109 9.83612 5.26296 9.99998 5.26296C10.1641 5.26296 10.3263 5.27111 10.4862 5.28702C10.6879 5.30708 10.8336 5.48233 10.8336 5.68502L10.8336 9.63429L14.2544 11.6093C14.4298 11.7105 14.5087 11.9242 14.4255 12.1088C14.2911 12.4067 14.1275 12.6886 13.9383 12.9509C13.8199 13.115 13.5956 13.1534 13.4202 13.0522L10.0003 11.0777L6.57993 13.0525Z", clipRule: "evenodd" }));
}
var IconWorkspaceManagement = react_1.default.forwardRef(IconWorkspaceManagementComponent);
exports.default = IconWorkspaceManagement;
