"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 IconTreeQAComponent(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 ? false : _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-tree_QA").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 24 24", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("rect", { width: "24", height: "24", rx: "6", fill: useCurrentColor ? 'currentColor' : '#6E9FFF' }),
        react_1.default.createElement("g", { fillRule: "evenodd", clipRule: "evenodd", fill: useCurrentColor ? 'currentColor' : '#fff' },
            react_1.default.createElement("path", { opacity: ".5", d: "M18.4079 4.5H7.61693C6.87506 4.5 6.26807 5.10699 6.26807 5.84886V13.099C6.26807 13.8409 6.87506 14.4479 7.61693 14.4479H8.96854C8.42451 14.2696 8.03157 13.7578 8.03157 13.1542C8.03157 12.6431 8.31334 12.1977 8.73003 11.9651C8.78797 11.9327 8.8305 11.8776 8.84446 11.8127C9.06085 10.807 9.95519 10.0532 11.0256 10.0532C12.0959 10.0532 12.9902 10.8069 13.2067 11.8125C13.2207 11.8774 13.2632 11.9325 13.3212 11.9649C13.7381 12.1975 14.0201 12.6429 14.0201 13.1542C14.0201 13.7578 13.6271 14.2696 13.0831 14.4479H17.059L18.9025 16.2913C19.2175 16.6064 19.7563 16.3831 19.756 15.9375L19.75 5.84886C19.75 5.10699 19.1497 4.5 18.4079 4.5Z" }),
            react_1.default.createElement("path", { d: "M11.0265 7.4353H16.5312C17.231 7.4353 17.8036 8.00789 17.8036 8.70772V16.3423C17.8036 17.0421 17.231 17.6147 16.5312 17.6147H6.79416L5.10355 19.3053C4.78848 19.6204 4.24975 19.3971 4.25 18.9515L4.25569 8.70772C4.25569 8.00789 4.82192 7.4353 5.52175 7.4353H11.0265ZM13.3214 11.9649C13.2634 11.9325 13.2208 11.8774 13.2069 11.8125C12.9904 10.807 12.0961 10.0533 11.0258 10.0533C9.95539 10.0533 9.06104 10.8071 8.84468 11.8129C8.83072 11.8778 8.7882 11.9329 8.73026 11.9652C8.31364 12.1979 8.03192 12.6432 8.03192 13.1543C8.03192 13.906 8.64126 14.5153 9.39293 14.5153H11.005L11.0258 14.5154L11.0466 14.5153H12.6594C13.411 14.5153 14.0204 13.906 14.0204 13.1543C14.0204 12.6429 13.7384 12.1975 13.3214 11.9649Z" })));
}
var IconTreeQA = react_1.default.forwardRef(IconTreeQAComponent);
exports.default = IconTreeQA;
