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 IconTreeModelImageGenerationComponent(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_model_Image-generation").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 24 24" }, rest, { ref: ref }),
            react_1.default.createElement("rect", { width: "24", height: "24", fill: useCurrentColor ? 'currentColor' : '#E3AF46', rx: "6" }),
            react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M16.442 10.297a1.251 1.251 0 0 1 1.533.04l.09.084 1.297 1.297a1.25 1.25 0 0 1-.029 1.796l-6.27 5.877a1.051 1.051 0 0 1-.719.285h-1.378c-.69 0-1.25-.56-1.25-1.25V16.79c0-.298.127-.582.349-.781l6.282-5.636.095-.077ZM11.016 16.9v1.475h1.23l4.174-3.915-1.269-1.269-4.135 3.71Zm4.697-12.2c.911 0 1.65.74 1.65 1.65v1.413a.65.65 0 0 1-1.3 0V6.35a.35.35 0 0 0-.35-.35H6.45a.35.35 0 0 0-.35.35v4.67l.999-.998a1.651 1.651 0 0 1 2.334 0l2.109 2.109a.651.651 0 0 1-.92.92l-2.108-2.109a.35.35 0 0 0-.495 0L6.101 12.86v2.752c0 .193.156.35.35.35h1.01a.65.65 0 1 1 0 1.3h-1.01a1.65 1.65 0 0 1-1.651-1.65V6.35c0-.91.74-1.65 1.65-1.65h9.263Zm.408 7.622 1.248 1.248 1.037-.97-1.226-1.227-1.059.95ZM12.29 6.711a1.858 1.858 0 1 1-.003 3.715 1.858 1.858 0 0 1 .003-3.715Zm0 1.3a.557.557 0 1 0 0 1.115.557.557 0 0 0 0-1.114Z" }));
    }
    var IconTreeModelImageGeneration = react_1.default.forwardRef(IconTreeModelImageGenerationComponent);
    exports.default = IconTreeModelImageGeneration;
});
