"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 IconTransform1Component(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-transform_1").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 22 22", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { d: "M21.1543 11.9751C21.1883 11.8446 21.3604 11.8576 21.3604 11.9927C21.357 14.33 20.3374 18.2582 16.7676 19.7886C13.0171 21.3957 9.53208 20.048 8.01367 19.0269C7.88041 18.938 7.69569 18.9924 7.64062 19.1431L7.05078 20.7661C6.94945 21.0437 6.57248 21.0839 6.41504 20.8335L1.97168 13.7642C1.78897 13.4734 1.96663 13.0909 2.30664 13.0425L9.5166 12.0122C9.6887 11.9878 9.82758 12.1509 9.77637 12.3169L9.00391 14.8286C8.96226 14.9647 8.98217 15.1136 9.07227 15.2241C9.87238 16.2068 12.2587 17.8127 15.6289 17.4165C19.2531 16.9899 20.5783 14.2005 21.1543 11.9751ZM14.9443 1.22998C15.0454 0.951922 15.4225 0.911586 15.5801 1.1626L20.0234 8.23096C20.2061 8.52182 20.0287 8.90522 19.6885 8.95361L12.4785 9.98389C12.3064 10.0085 12.1677 9.84516 12.2188 9.6792L12.9912 7.16748C13.0334 7.03135 13.0129 6.88252 12.9229 6.77197C12.1228 5.78928 9.7366 4.18291 6.36621 4.57959C2.74213 5.00578 1.41638 7.79513 0.84082 10.02C0.807103 10.1509 0.634766 10.1377 0.634766 10.0024C0.638223 7.66546 1.6586 3.73721 5.22852 2.20752C8.97888 0.600076 12.4631 1.94716 13.9814 2.96826C14.1142 3.05785 14.2993 3.00324 14.3545 2.85303L14.9443 1.22998Z" }));
}
var IconTransform1 = react_1.default.forwardRef(IconTransform1Component);
exports.default = IconTransform1;
