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 IconAgentInputKeyboardComponent(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_input_keyboard").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 24 24", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.59998 7.4001C1.59998 5.57756 3.07744 4.1001 4.89998 4.1001H19.1C20.9225 4.1001 22.4 5.57756 22.4 7.4001V16.6001C22.4 18.4226 20.9225 19.9001 19.1 19.9001H4.89998C3.07744 19.9001 1.59998 18.4226 1.59998 16.6001V7.4001ZM4.89998 5.9001C4.07155 5.9001 3.39998 6.57167 3.39998 7.4001V16.6001C3.39998 17.4285 4.07155 18.1001 4.89998 18.1001H19.1C19.9284 18.1001 20.6 17.4285 20.6 16.6001V7.4001C20.6 6.57167 19.9284 5.9001 19.1 5.9001H4.89998ZM14 8.0001H13.5C12.9477 8.0001 12.5 8.44781 12.5 9.0001V9.5001C12.5 10.0524 12.9477 10.5001 13.5 10.5001H14C14.5523 10.5001 15 10.0524 15 9.5001V9.0001C15 8.44781 14.5523 8.0001 14 8.0001ZM17 8.0001H17.5C18.0523 8.0001 18.5 8.44781 18.5 9.0001V9.5001C18.5 10.0524 18.0523 10.5001 17.5 10.5001H17C16.4477 10.5001 16 10.0524 16 9.5001V9.0001C16 8.44781 16.4477 8.0001 17 8.0001ZM10.5 8.0001H9.99998C9.44769 8.0001 8.99998 8.44781 8.99998 9.0001V9.5001C8.99998 10.0524 9.44769 10.5001 9.99998 10.5001H10.5C11.0523 10.5001 11.5 10.0524 11.5 9.5001V9.0001C11.5 8.44781 11.0523 8.0001 10.5 8.0001ZM6.49998 8.0001H6.99998C7.55226 8.0001 7.99998 8.44781 7.99998 9.0001V9.5001C7.99998 10.0524 7.55226 10.5001 6.99998 10.5001H6.49998C5.94769 10.5001 5.49998 10.0524 5.49998 9.5001V9.0001C5.49998 8.44781 5.94769 8.0001 6.49998 8.0001ZM13 13.5001H6.49998C5.94769 13.5001 5.49998 13.9478 5.49998 14.5001C5.49998 15.0524 5.94769 15.5001 6.49998 15.5001H13C13.5523 15.5001 14 15.0524 14 14.5001C14 13.9478 13.5523 13.5001 13 13.5001ZM16 13.5001H17.5C18.0523 13.5001 18.5 13.9478 18.5 14.5001C18.5 15.0524 18.0523 15.5001 17.5 15.5001H16C15.4477 15.5001 15 15.0524 15 14.5001C15 13.9478 15.4477 13.5001 16 13.5001Z" }));
    }
    var IconAgentInputKeyboard = react_1.default.forwardRef(IconAgentInputKeyboardComponent);
    exports.default = IconAgentInputKeyboard;
});
