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 IconStopUpdateComponent(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-stop_update").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", { opacity: ".5", fillRule: "evenodd", clipRule: "evenodd", d: "M15.9342 16.252C15.7402 16.1886 15.5331 16.1543 15.3179 16.1543H6.77008C5.67532 16.1543 4.78784 17.0418 4.78784 18.1365V26.6842C4.78784 27.779 5.67532 28.6665 6.77008 28.6665H15.3179C16.4127 28.6665 17.3001 27.779 17.3001 26.6842V18.1365C17.3001 17.883 17.2526 17.6407 17.1658 17.4178L12.7347 21.849V25.6569H9.17831C8.44193 25.6569 7.84497 25.0599 7.84497 24.3236V20.7672H11.4189L15.9342 16.252Z" }),
            react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M27.0652 10.6945V23.6569C27.0652 24.7615 26.1698 25.6569 25.0652 25.6569H9.84497C9.84336 25.6569 9.84175 25.6569 9.84014 25.6569H12.7347V21.849L18.4742 16.1095C19.8058 16.9061 21.5568 16.7309 22.704 15.5837C23.8511 14.4366 24.0263 12.6856 23.2297 11.3539L20.8517 13.7319L19.6078 12.4881L21.9741 10.1217C20.6498 9.36319 18.9317 9.54944 17.8007 10.6805C16.6534 11.8278 16.4783 13.5791 17.2753 14.9108L11.4189 20.7672H7.84497V5.33332C7.84497 4.22875 8.7404 3.33331 9.84497 3.33331H19.8175C20.3553 3.33331 20.8705 3.54994 21.2467 3.93431L26.4945 9.29553C26.8603 9.6693 27.0652 10.1715 27.0652 10.6945Z" }));
    }
    var IconStopUpdate = react_1.default.forwardRef(IconStopUpdateComponent);
    exports.default = IconStopUpdate;
});
