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 IconMemoryEmbeddingComponent(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-memory_embedding").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 14 14", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("g", { clipPath: "url(#svg_0ab4b9f50d__clip0_3937_3044)" },
                react_1.default.createElement("path", { d: "M6.75 0.144868C6.9047 0.0555517 7.0953 0.0555517 7.25 0.144868L12.8125 3.35581C12.9671 3.44515 13.0625 3.61085 13.0625 3.7894V10.2113L13.0576 10.2777C13.0372 10.43 12.9477 10.5667 12.8125 10.6449L7.25 13.8558C7.11467 13.9338 6.95173 13.9437 6.80957 13.8851L6.75 13.8558L1.1875 10.6449C1.03299 10.5556 0.937621 10.3897 0.9375 10.2113V3.7894C0.9375 3.61092 1.03303 3.44518 1.1875 3.35581L6.75 0.144868ZM2.66895 3.8851L4.0791 4.69956C4.36568 4.86528 4.46319 5.23209 4.29785 5.5189C4.13222 5.80573 3.76543 5.905 3.47852 5.7396L2.1377 4.96518V9.80698L6.39941 12.2669V11.1C6.39962 10.7689 6.66893 10.5005 7 10.5003C7.33106 10.5006 7.5994 10.7689 7.59961 11.1V12.2679L11.8623 9.80698V5.02182L10.6191 5.7396C10.3323 5.9048 9.96538 5.80567 9.7998 5.5189C9.63458 5.2321 9.73298 4.86524 10.0195 4.69956L11.3799 3.91343L7 1.3851L2.66895 3.8851ZM6.47559 3.95444C6.69046 3.51468 7.30955 3.51468 7.52441 3.95444C8.31064 5.56743 8.26915 5.53251 9.89355 6.29331C10.3449 6.50501 10.3445 7.1375 9.8916 7.34604L9.3584 7.59214C8.27336 8.1042 8.21368 8.26362 7.53809 9.85581L7.49414 9.9398C7.2685 10.3063 6.7315 10.3063 6.50586 9.9398L6.46191 9.85581C5.78632 8.26362 5.72664 8.1042 4.6416 7.59214L4.1084 7.34604C3.65553 7.13751 3.65514 6.50501 4.10645 6.29331C5.73083 5.53251 5.68936 5.56742 6.47559 3.95444ZM7 5.42222C6.8252 5.73377 6.63746 6.0118 6.40039 6.24643C6.17297 6.47143 5.90654 6.6502 5.60938 6.81479C5.91247 6.98298 6.18845 7.17339 6.42188 7.42026C6.65137 7.66306 6.83322 7.95334 7 8.28257C7.16678 7.95334 7.34863 7.66306 7.57812 7.42026C7.81136 7.1736 8.08685 6.98288 8.38965 6.81479C8.09278 6.65031 7.82685 6.47125 7.59961 6.24643C7.36253 6.01179 7.1748 5.73378 7 5.42222Z" })),
            react_1.default.createElement("defs", null,
                react_1.default.createElement("clipPath", { id: "svg_0ab4b9f50d__clip0_3937_3044" },
                    react_1.default.createElement("path", { d: "M0 0H14V14H0z" }))));
    }
    var IconMemoryEmbedding = react_1.default.forwardRef(IconMemoryEmbeddingComponent);
    exports.default = IconMemoryEmbedding;
});
