"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 IconPromptJinjaComponent(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-prompt_jinja").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
        react_1.default.createElement("path", { d: "M5.333.733a.6.6 0 1 1 0 1.2c-.25 0-.525.065-.723.213-.168.127-.343.359-.343.854v3c0 .423-.178.778-.385 1.048a3.15 3.15 0 0 1-.66.618c.224.161.466.367.66.62.207.27.385.624.385 1.047V13c0 .495.175.726.343.852.198.149.473.214.723.214a.6.6 0 0 1 0 1.2c-.417 0-.975-.101-1.443-.453-.498-.373-.824-.975-.824-1.813V9.333c0-.077-.03-.18-.135-.316a2.033 2.033 0 0 0-.442-.4 4.01 4.01 0 0 0-.66-.372l-.043-.017-.009-.004v-.001a.6.6 0 0 1 0-1.114l.01-.004.042-.018a4.01 4.01 0 0 0 .66-.37c.18-.126.336-.263.442-.4.104-.137.135-.24.135-.317V3c0-.838.326-1.44.824-1.813C4.358.835 4.916.733 5.333.733Zm5.334 0c.417 0 .975.102 1.443.454.498.373.824.975.824 1.813v3c0 .077.03.18.135.316.106.138.261.275.442.4a4.014 4.014 0 0 0 .66.37l.043.02.009.003a.601.601 0 0 1 .082 1.075l-.081.04-.001-.001-.01.005-.041.017a4.121 4.121 0 0 0-.661.371c-.18.126-.336.263-.442.4-.104.137-.135.24-.135.317V13c0 .838-.326 1.44-.824 1.813-.468.352-1.026.454-1.443.454a.6.6 0 0 1 0-1.2c.25 0 .526-.066.724-.215.168-.126.342-.358.342-.852V9.333c0-.423.178-.778.385-1.048.194-.252.436-.458.66-.619a3.15 3.15 0 0 1-.66-.618c-.207-.27-.385-.625-.385-1.048V3c0-.495-.174-.727-.342-.854-.198-.148-.475-.213-.724-.213a.6.6 0 1 1 0-1.2Z" }));
}
var IconPromptJinja = react_1.default.forwardRef(IconPromptJinjaComponent);
exports.default = IconPromptJinja;
