"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 IconSilenceComponent(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 ? false : _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-silence").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 20 20" }, rest, { ref: ref }),
        react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M10.417 2.7a.634.634 0 0 1 .611.469l.02.117.002.056v13.325a.634.634 0 0 1-.586.63l-.056.003h-.54a.634.634 0 0 1-.26-.056l-.078-.042-.052-.036-4.865-3.741a.632.632 0 0 1-.244-.445l-.003-.067V7.078a.635.635 0 0 1 .206-.469l.05-.04L9.48 2.83a.633.633 0 0 1 .322-.129l.073-.002h.542Zm.706 14.41-.096.123a.83.83 0 0 0 .149-.23.749.749 0 0 1-.053.106ZM9.461 4.443 5.71 7.33l-.077.06v5.222l.077.06 4.072 3.133V4.197l-.322.247ZM2.5 6.866a.217.217 0 0 1 .217.217v5.834a.218.218 0 0 1-.217.217h-.833a.218.218 0 0 1-.217-.217V7.083a.218.218 0 0 1 .217-.217H2.5Zm1.938-.403a.843.843 0 0 0-.06.061l-.055.068a.846.846 0 0 1 .055-.068l.06-.061Zm6.421-3.836.124.096a.831.831 0 0 0-.215-.142c.03.015.062.028.091.046Zm7.28 5.762L16.527 10l1.612 1.611-.778.778-1.611-1.612-1.611 1.612-.778-.778L14.973 10 13.36 8.389l.778-.778 1.611 1.612 1.611-1.612.778.778Z" }));
}
var IconSilence = react_1.default.forwardRef(IconSilenceComponent);
exports.default = IconSilence;
