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 __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;
};
import React, { useContext } from 'react';
import { Context } from '../context';
function IconMonitorFillComponent(props, ref) {
    var prefixFromContext = useContext(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.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-monitor-fill").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M39.604 36.36c1.087 0 1.969.88 1.969 1.968v1.896a1.969 1.969 0 01-1.969 1.969H8.396a1.969 1.969 0 01-1.969-1.97v-1.895c0-1.087.882-1.969 1.969-1.969h31.208zm-.656-30.553a2.625 2.625 0 012.625 2.625v22.619a2.625 2.625 0 01-2.625 2.625H9.052a2.625 2.625 0 01-2.625-2.625V8.432a2.625 2.625 0 012.625-2.625h29.896zM16.329 16.526c-.754 0-1.38.55-1.497 1.27l-.02.247v6.3a1.517 1.517 0 003.014.246l.02-.246v-6.3c0-.838-.68-1.517-1.517-1.517zm15.633 0c-.753 0-1.379.55-1.496 1.27l-.02.247v6.3a1.517 1.517 0 003.013.246l.02-.246v-6.3c0-.838-.679-1.517-1.517-1.517zm-7.816-4.667c-.754 0-1.38.55-1.497 1.271l-.02.246v10.967a1.517 1.517 0 003.014.246l.02-.246V13.376c0-.838-.68-1.517-1.517-1.517z" }));
}
var IconMonitorFill = React.forwardRef(IconMonitorFillComponent);
export default IconMonitorFill;
