"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 IconDrawerExpandComponent(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-drawer-expand").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", 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.00098 8.97656C6.00098 8.42428 6.44869 7.97656 7.00098 7.97656H41.001C41.5533 7.97656 42.001 8.42428 42.001 8.97656V10.9766C42.001 11.5288 41.5533 11.9766 41.001 11.9766H7.00098C6.44869 11.9766 6.00098 11.5288 6.00098 10.9766V8.97656zM6.00098 36.9688C6.00098 36.4165 6.44869 35.9688 7.00098 35.9688H41.001C41.5533 35.9688 42.001 36.4165 42.001 36.9688V38.9688C42.001 39.521 41.5533 39.9688 41.001 39.9688H7.00098C6.44869 39.9688 6.00098 39.521 6.00098 38.9688V36.9688zM37.2982 17.4296C36.9077 17.0391 36.2746 17.0391 35.884 17.4296L34.4698 18.8438C34.0793 19.2343 34.0793 19.8675 34.4698 20.258L36.1842 21.9725H7.00098C6.44869 21.9725 6.00098 22.4202 6.00098 22.9725V24.9725C6.00098 25.5248 6.44869 25.9725 7.00098 25.9725H36.1783L34.4698 27.6811C34.0793 28.0716 34.0793 28.7048 34.4698 29.0953L35.884 30.5095C36.2746 30.9 36.9077 30.9 37.2982 30.5095L43.131 24.6767C43.5215 24.2861 43.5215 23.653 43.131 23.2625L37.2982 17.4296z" }));
}
var IconDrawerExpand = react_1.default.forwardRef(IconDrawerExpandComponent);
exports.default = IconDrawerExpand;
