"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 IconCheckTriangleFillComponent(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-check-triangle-fill").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 49 48", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { d: "M27.7288 25.9377L3.84736 1.5H36.2842C42.0832 1.5 46.7842 6.20101 46.7842 12V44.4513L27.7288 25.9377Z", fill: useCurrentColor ? 'currentColor' : '#309256', stroke: "#2A814B", strokeWidth: "2" }),
        react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M41.6618 11.4573L42.6862 12.4817C42.9691 12.7646 42.9691 13.2233 42.6862 13.5062L34.4904 21.7018C34.3816 21.8106 34.2468 21.8775 34.106 21.9027L34.0209 21.9127H33.9354C33.7645 21.9027 33.5965 21.8323 33.4659 21.7018L28.8557 17.0918C28.5728 16.8089 28.5728 16.3502 28.8557 16.0673L29.8802 15.0429C30.1631 14.76 30.6218 14.76 30.9047 15.0429L33.9782 18.116L40.6373 11.4573C40.9202 11.1744 41.3788 11.1744 41.6618 11.4573Z", fill: useCurrentColor ? 'currentColor' : '#141414', fillOpacity: ".2" }),
        react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M40.9166 10.7122L41.9411 11.7366C42.224 12.0195 42.224 12.4782 41.9411 12.7611L33.7453 20.9567C33.6365 21.0655 33.5016 21.1324 33.3608 21.1575L33.2758 21.1676H33.1903C33.0194 21.1575 32.8514 21.0872 32.7208 20.9567L28.1106 16.3466C27.8277 16.0637 27.8277 15.6051 28.1106 15.3222L29.1351 14.2977C29.418 14.0148 29.8767 14.0148 30.1596 14.2977L33.2331 17.3709L39.8922 10.7122C40.1751 10.4293 40.6337 10.4293 40.9166 10.7122Z", fill: useCurrentColor ? 'currentColor' : '#fff' }));
}
var IconCheckTriangleFill = react_1.default.forwardRef(IconCheckTriangleFillComponent);
exports.default = IconCheckTriangleFill;
