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 IconPDSeparationComponent(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-PD_separation").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 32 32", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("path", { opacity: ".5", d: "M9.48799 3.33334C8.6662 3.33334 8 3.99954 8 4.82133V6.64796H24C24.7364 6.64796 25.3333 7.24491 25.3333 7.98129V24.1652H27.1788C28.0006 24.1652 28.6668 23.499 28.6668 22.6772V4.82133C28.6668 3.99954 28.0006 3.33334 27.1788 3.33334H9.48799Z" }),
            react_1.default.createElement("path", { d: "M24.0551 6.66635C24.7913 6.66653 25.3881 7.26406 25.3881 8.00034V27.3333C25.3881 28.0696 24.7913 28.6662 24.0551 28.6664H4.66638C3.93015 28.6662 3.33337 28.0696 3.33337 27.3333V8.00034C3.33337 7.26406 3.93015 6.66653 4.66638 6.66635H24.0551ZM18.7103 17.4935C18.7101 20.009 16.5191 22.2044 13.6185 22.2044V25.3451C18.0765 25.3451 21.8508 21.9152 21.851 17.4935H18.7103ZM18.6039 10.3636C18.6036 12.9093 16.6061 14.8997 14.2318 14.8997V17.6664C10.0976 17.7306 6.83435 21.18 6.83435 25.3402H9.974C9.974 22.7955 11.9724 20.8043 14.349 20.804V18.0365C18.4826 17.9725 21.7442 14.5233 21.7445 10.3636H18.6039ZM14.9623 10.3734C10.4837 10.3736 6.66642 13.7887 6.66638 18.224H9.80701C9.80704 15.7221 12.0122 13.5133 14.9623 13.513V10.3734Z" }));
    }
    var IconPDSeparation = react_1.default.forwardRef(IconPDSeparationComponent);
    exports.default = IconPDSeparation;
});
