"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 IconQAExtractComponent(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-QA-extract").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 14 14" }, rest, { ref: ref }),
        react_1.default.createElement("path", { d: "M7 .59c1.767 0 3.369.718 4.526 1.876a6.386 6.386 0 0 1 1.875 4.527 6.384 6.384 0 0 1-1.875 4.527A6.384 6.384 0 0 1 7 13.396c-.009 0-.018-.003-.026-.003H1.5a.57.57 0 0 1 0-1.138H7l.027.002a5.245 5.245 0 0 0 3.695-1.541 5.248 5.248 0 0 0 1.543-3.723c0-1.454-.59-2.77-1.543-3.722A5.247 5.247 0 0 0 7 1.729c-1.454 0-2.77.588-3.723 1.542a5.248 5.248 0 0 0-1.542 3.722 5.24 5.24 0 0 0 1.052 3.158.57.57 0 1 1-.91.683 6.378 6.378 0 0 1-1.28-3.84c0-1.768.718-3.37 1.876-4.528A6.386 6.386 0 0 1 7 .59ZM4.65 4.376c.297 0 .569.053.815.16.248.103.463.255.643.454.183.198.323.438.423.72.1.282.15.6.15.955v.189c0 .354-.05.672-.15.955-.097.28-.237.52-.42.72a1.808 1.808 0 0 1-.235.212l.75.596-.692.586-.995-.803a2.106 2.106 0 0 1-1.104-.137 1.882 1.882 0 0 1-.644-.455c-.18-.2-.32-.44-.42-.72a2.913 2.913 0 0 1-.146-.954v-.189c0-.354.049-.673.146-.955.1-.282.24-.522.417-.72.18-.2.394-.35.64-.455.248-.106.523-.159.822-.159Zm6.725 4.7h-1.203l-.269-.867h-1.53l-.268.866h-1.2l1.703-4.636h1.054l1.713 4.636ZM4.65 5.25a.742.742 0 0 0-.666.36c-.074.118-.13.266-.169.442a3.012 3.012 0 0 0-.053.605v.195c0 .226.017.428.053.604.039.174.095.321.17.442a.79.79 0 0 0 .28.275.803.803 0 0 0 .391.092c.142 0 .269-.03.38-.092a.762.762 0 0 0 .277-.275c.076-.12.133-.268.171-.442.04-.176.06-.378.06-.604v-.195c0-.229-.02-.431-.06-.605a1.339 1.339 0 0 0-.171-.443.758.758 0 0 0-.663-.359Zm3.99 2.096h.998l-.5-1.615-.498 1.615Z" }));
}
var IconQAExtract = react_1.default.forwardRef(IconQAExtractComponent);
exports.default = IconQAExtract;
