"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 IconAgentHistoryComponent(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-agent_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_1.default.createElement("path", { d: "M8 0.666992C12.0501 0.667014 15.333 3.94993 15.333 8C15.333 12.0501 12.0501 15.333 8 15.333C3.94991 15.333 0.666992 12.0501 0.666992 8C0.667003 7.63191 0.964956 7.33316 1.33301 7.33301C1.70119 7.33301 1.99999 7.63182 2 8C2 11.3137 4.68629 14 8 14C11.3137 14 14 11.3137 14 8C14 4.68631 11.3137 2.00002 8 2C6.2242 2 4.6294 2.77254 3.53027 4H4.36426L4.43164 4.00391C4.76791 4.03795 5.03027 4.32174 5.03027 4.66699C5.0301 5.01208 4.76779 5.29604 4.43164 5.33008L4.36426 5.33398H1.93945C1.5714 5.33396 1.27265 5.03501 1.27246 4.66699V2.24219C1.27258 1.87411 1.57136 1.57619 1.93945 1.57617C2.30757 1.57617 2.60632 1.8741 2.60645 2.24219V3.03125C3.94598 1.57807 5.86637 0.666992 8 0.666992ZM8.00195 3.33301C8.37002 3.33317 8.66895 3.63192 8.66895 4L8.66797 7.72656L11.2998 10.3584C11.5595 10.6187 11.5596 11.0406 11.2998 11.3008C11.0395 11.5611 10.6168 11.5609 10.3564 11.3008L7.53027 8.47461C7.40531 8.34965 7.33503 8.17964 7.33496 8.00293V4C7.335 3.63181 7.63376 3.33297 8.00195 3.33301Z" }));
}
var IconAgentHistory = react_1.default.forwardRef(IconAgentHistoryComponent);
exports.default = IconAgentHistory;
