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;
};
(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "react", "../context"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var react_1 = __importStar(require("react"));
    var context_1 = require("../context");
    function IconContinuePretrainComponent(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-continue-pretrain").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 32 32", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M24.6523 10.5325C23.1956 10.5325 22.0117 9.36448 21.9861 7.91385C20.783 7.00654 19.3861 6.37772 17.8964 6.08142C15.9473 5.69372 13.9271 5.8927 12.0911 6.6532C10.255 7.4137 8.68579 8.70156 7.58171 10.3539C6.47764 12.0063 5.88835 13.9489 5.88835 15.9362C5.88835 17.9235 6.47764 19.8661 7.58172 21.5185C8.68579 23.1709 10.255 24.4587 12.0911 25.2192C13.9271 25.9797 15.9473 26.1787 17.8964 25.791C19.386 25.4947 20.7829 24.8659 21.986 23.9586C22.0079 22.5048 23.1933 21.333 24.6523 21.333C26.1251 21.333 27.319 22.5269 27.319 23.9997C27.319 25.4724 26.1251 26.6663 24.6523 26.6663C24.4448 26.6663 24.2428 26.6426 24.0488 26.5978C22.4343 27.8263 20.5551 28.6771 18.5499 29.0759C15.9511 29.5928 13.2573 29.3275 10.8093 28.3135C8.36133 27.2995 6.26898 25.5824 4.79689 23.3793C3.32479 21.1761 2.53906 18.5859 2.53906 15.9362C2.53906 13.2865 3.32479 10.6963 4.79689 8.49316C6.26898 6.29001 8.36133 4.57286 10.8093 3.55887C13.2573 2.54487 15.9511 2.27956 18.5498 2.79649C20.5522 3.19479 22.4289 4.04369 24.0419 5.2694C24.238 5.2235 24.4423 5.19922 24.6523 5.19922C26.1251 5.19922 27.319 6.39312 27.319 7.86588C27.319 9.33864 26.1251 10.5325 24.6523 10.5325Z" }),
            react_1.default.createElement("ellipse", { cx: "15.977", cy: "15.978", rx: "4.004", ry: "8.675", transform: "rotate(45 15.977 15.978)", opacity: ".5" }),
            react_1.default.createElement("ellipse", { cx: "16.023", cy: "16.023", rx: "4.004", ry: "8.675", transform: "rotate(-45 16.023 16.023)" }));
    }
    var IconContinuePretrain = react_1.default.forwardRef(IconContinuePretrainComponent);
    exports.default = IconContinuePretrain;
});
