"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 IconModelOptimizationComponent(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-model_optimization").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 20 20", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { opacity: ".5", fillRule: "evenodd", clipRule: "evenodd", d: "M13.228 6.04885V4.08301H6.7883V6.04831L3.95552 11.7368L3.95249 11.743L2.14455 15.3735C1.6342 16.3984 2.07516 17.6313 3.12949 18.1274C3.41758 18.263 3.73351 18.3334 4.0536 18.3334H15.947C17.1184 18.3334 18.0679 17.4104 18.0679 16.2718C18.0679 15.9616 17.9959 15.6554 17.8573 15.376L16.0515 11.7376L16.0441 11.723L13.228 6.04885ZM9.63458 10.9915C11.0053 9.88114 12.3071 10.0691 13.4306 10.3208L15.9317 15.5454C16.1436 15.9879 15.821 16.4999 15.3304 16.4999H4.66666C4.17682 16.4999 3.85424 15.9894 4.0646 15.547L6.08856 11.2906C6.32304 11.3943 6.58302 11.4627 6.90647 11.5396C7.74009 11.7377 8.73079 11.7236 9.63458 10.9915Z" }),
        react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.63458 10.9913C11.0053 9.88097 12.3071 10.0689 13.4306 10.3207L15.9317 15.5452C16.1436 15.9877 15.821 16.4998 15.3304 16.4998H4.66666C4.17682 16.4998 3.85424 15.9892 4.06459 15.5468L6.08856 11.2904C6.32304 11.3941 6.58302 11.4625 6.90647 11.5394C7.74009 11.7376 8.73079 11.7234 9.63458 10.9913ZM12.0833 14.9999C12.7737 14.9999 13.3333 14.4403 13.3333 13.7499C13.3333 13.0595 12.7737 12.4999 12.0833 12.4999C11.393 12.4999 10.8333 13.0595 10.8333 13.7499C10.8333 14.4403 11.393 14.9999 12.0833 14.9999Z" }),
        react_1.default.createElement("path", { d: "M6.05615 2.23548C5.94903 1.96218 6.15054 1.66675 6.44408 1.66675H13.5676C13.8612 1.66675 14.0627 1.96218 13.9556 2.23548L13.2293 4.0882H6.78239L6.05615 2.23548Z" }));
}
var IconModelOptimization = react_1.default.forwardRef(IconModelOptimizationComponent);
exports.default = IconModelOptimization;
