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 __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;
};
import React, { useContext } from 'react';
import { Context } from '../context';
function IconOperatingHistoryComponent(props, ref) {
    var prefixFromContext = useContext(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.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-operating-history").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
        React.createElement("path", { d: "M9.954 2.2C8.582.826 6.364-.045 4.538.733c-.58.249-.647.965-.266 1.359.566.584 2.13 2.22 2.938 3.066l.054.057-2.15 2.15-.057-.054a964.485 964.485 0 0 1-3.066-2.938C1.597 3.994.88 4.059.63 4.64c-.778 1.825.094 4.043 1.466 5.415a5.557 5.557 0 0 0 5.842 1.29l.048-.018.036.036 3.985 4.007.087.08c.45.365 1.113.339 1.532-.08l1.617-1.617a1.146 1.146 0 0 0 0-1.62L11.26 8.129l-.035-.036.018-.048a5.558 5.558 0 0 0-1.289-5.846Zm-4.003-.445c1.016-.022 2.19.485 3.077 1.37l.231.25a4.25 4.25 0 0 1 .62 4.542.659.659 0 0 0-.045.134l-.002.006a.654.654 0 0 0 .16.656l4.153 4.175.056.056-1.383 1.384-.057-.057-4.152-4.174-.069-.06a.655.655 0 0 0-.576-.104l-.007.001a.656.656 0 0 0-.142.046 4.25 4.25 0 0 1-4.792-.85l-.161-.17c-.786-.862-1.23-1.954-1.21-2.905l.005-.183.13.126c.82.786 1.972 1.886 2.54 2.428a1.145 1.145 0 0 0 1.6-.019l2.378-2.379c.438-.438.45-1.147.019-1.6-.542-.567-1.643-1.718-2.43-2.537L5.77 1.76l.181-.005Z" }));
}
var IconOperatingHistory = React.forwardRef(IconOperatingHistoryComponent);
export default IconOperatingHistory;
