"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 IconAgentSubtitlesOnComponent(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-agent_subtitles_on").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 16 16", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { d: "M12.6663 1.41675C14.1851 1.41675 15.4163 2.64797 15.4163 4.16675V11.8337C15.4162 13.3524 14.185 14.5837 12.6663 14.5837H3.33334C1.81466 14.5837 0.583512 13.3524 0.583336 11.8337V4.16675C0.583336 2.64796 1.81455 1.41675 3.33334 1.41675H12.6663ZM3.33334 2.91675C2.64298 2.91675 2.08334 3.47639 2.08334 4.16675V11.8337C2.08351 12.5239 2.64309 13.0837 3.33334 13.0837H12.6663C13.3566 13.0837 13.9162 12.5239 13.9163 11.8337V4.16675C13.9163 3.47639 13.3567 2.91675 12.6663 2.91675H3.33334ZM11.3333 8.24976C11.7475 8.24976 12.0832 8.58565 12.0833 8.99976C12.0833 9.41397 11.7475 9.74976 11.3333 9.74976H4.66634C4.25228 9.74957 3.91634 9.41386 3.91634 8.99976C3.91648 8.58577 4.25237 8.24994 4.66634 8.24976H11.3333ZM5.50033 5.74976C5.91432 5.74993 6.2502 6.08576 6.25033 6.49976C6.25033 6.91386 5.9144 7.24959 5.50033 7.24976H4.66634C4.25228 7.24957 3.91634 6.91386 3.91634 6.49976C3.91648 6.08577 4.25237 5.74994 4.66634 5.74976H5.50033ZM11.3333 5.74976C11.7475 5.74976 12.0832 6.08566 12.0833 6.49976C12.0833 6.91397 11.7475 7.24975 11.3333 7.24976H8.00033C7.58611 7.24976 7.25033 6.91397 7.25033 6.49976C7.25046 6.08565 7.5862 5.74976 8.00033 5.74976H11.3333Z" }));
}
var IconAgentSubtitlesOn = react_1.default.forwardRef(IconAgentSubtitlesOnComponent);
exports.default = IconAgentSubtitlesOn;
