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 IconLesseeComponent(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-lessee").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 20 20" }, rest, { ref: ref }),
        React.createElement("path", { d: "M7.681 2.083 2.084 7.681V2.963a.88.88 0 0 1 .88-.88H7.68Zm2.369 7.549a2.436 2.436 0 0 0 0-1.982 2.35 2.35 0 0 1 2.14-1.403c1.298 0 2.35 1.072 2.35 2.394 0 1.323-1.052 2.395-2.35 2.395a2.35 2.35 0 0 1-2.14-1.404Zm.709 5.698h4.28v-1.196A2.899 2.899 0 0 0 10 12.18a2.89 2.89 0 0 1 .759 1.955v1.197Z", opacity: ".5" }),
        React.createElement("path", { fillRule: "evenodd", d: "M2.083 17.037V7.681l5.598-5.598h9.356a.88.88 0 0 1 .88.88v14.074a.88.88 0 0 1-.88.88H2.963a.88.88 0 0 1-.88-.88Zm8.176-8.396c0 1.323-1.052 2.395-2.35 2.395-1.299 0-2.35-1.072-2.35-2.395 0-1.322 1.051-2.394 2.35-2.394 1.298 0 2.35 1.072 2.35 2.394Zm-5.298 5.493a2.899 2.899 0 1 1 5.798 0v1.197H4.96v-1.197Zm5.298-5.493c0 .354-.075.69-.21.991a2.35 2.35 0 0 0 2.14 1.404c1.299 0 2.35-1.072 2.35-2.395 0-1.322-1.051-2.394-2.35-2.394a2.35 2.35 0 0 0-2.14 1.403c.135.302.21.638.21.991Zm4.78 6.69h-4.28v-1.197c0-.753-.288-1.44-.759-1.955a2.899 2.899 0 0 1 5.04 1.955v1.197Z", clipRule: "evenodd" }));
}
var IconLessee = React.forwardRef(IconLesseeComponent);
export default IconLessee;
