"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 IconMenuPluginCenterComponent(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-menu-plugin-center").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", { fillRule: "evenodd", d: "M7.56699 1.66699H3.26699C2.38334 1.66699 1.66699 2.38334 1.66699 3.26699V7.56699C1.66699 8.45065 2.38334 9.16699 3.26699 9.16699H7.56699C8.45065 9.16699 9.16699 8.45065 9.16699 7.56699V3.26699C9.16699 2.38334 8.45065 1.66699 7.56699 1.66699ZM16.733 10.833H12.433C11.5493 10.833 10.833 11.5494 10.833 12.433V16.733C10.833 17.6167 11.5493 18.333 12.433 18.333H16.733C17.6166 18.333 18.333 17.6167 18.333 16.733V12.433C18.333 11.5494 17.6166 10.833 16.733 10.833ZM2.36407 13.2693L4.32275 11.3106C4.94759 10.6858 5.96066 10.6858 6.58549 11.3106L8.54418 13.2693C9.16902 13.8942 9.16902 14.9072 8.54418 15.5321L6.58549 17.4908C5.96066 18.1156 4.94759 18.1156 4.32275 17.4908L2.36407 15.5321C1.73923 14.9072 1.73923 13.8942 2.36407 13.2693Z", clipRule: "evenodd" }),
        react_1.default.createElement("path", { d: "M14.583 9.16699C16.6541 9.16699 18.333 7.48806 18.333 5.41699C18.333 3.34592 16.6541 1.66699 14.583 1.66699C12.5119 1.66699 10.833 3.34592 10.833 5.41699C10.833 7.48806 12.5119 9.16699 14.583 9.16699Z", opacity: ".5" }));
}
var IconMenuPluginCenter = react_1.default.forwardRef(IconMenuPluginCenterComponent);
exports.default = IconMenuPluginCenter;
