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 IconAgentSendComponent(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_send").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 20 20", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
            react_1.default.createElement("path", { d: "M10.0374 1.83496C10.0618 1.83558 10.0863 1.83608 10.1106 1.83789C10.1342 1.83962 10.1577 1.84192 10.181 1.84473C10.2091 1.84815 10.237 1.85339 10.2649 1.8584C10.2819 1.86143 10.299 1.86359 10.3157 1.86719C10.3446 1.87338 10.3732 1.88076 10.4017 1.88867C10.42 1.89376 10.4383 1.89854 10.4563 1.9043C10.492 1.91566 10.5269 1.92927 10.5618 1.94336C10.5696 1.94649 10.5776 1.94889 10.5853 1.95215C10.7159 2.0075 10.8406 2.08174 10.9544 2.17578C10.9914 2.20632 11.027 2.23857 11.0608 2.27246L17.7269 8.93945L17.8304 9.05273C18.3109 9.64177 18.2757 10.5113 17.7269 11.0605C17.1777 11.6094 16.3091 11.6435 15.72 11.1631L15.6058 11.0605L11.4993 6.9541V16.666C11.4993 17.4944 10.8277 18.166 9.99932 18.166C9.17103 18.1659 8.49932 17.4943 8.49932 16.666V6.9541L4.39385 11.0605C3.80811 11.6461 2.8585 11.6461 2.27275 11.0605C1.68702 10.4748 1.68713 9.52525 2.27275 8.93945L8.929 2.28223C8.96627 2.24427 9.00509 2.20767 9.04619 2.17383L9.05303 2.16895C9.2035 2.04632 9.37211 1.95682 9.54912 1.90137C9.56062 1.89775 9.57266 1.89592 9.58428 1.89258C9.61859 1.88273 9.65298 1.87356 9.68779 1.86621C9.69914 1.86381 9.71053 1.86152 9.72197 1.85938C9.757 1.85282 9.79211 1.84682 9.82744 1.84277C9.8494 1.84026 9.87161 1.83944 9.89385 1.83789C9.9163 1.83632 9.93874 1.83552 9.96123 1.83496C9.9739 1.83464 9.98657 1.83301 9.99932 1.83301C10.012 1.83301 10.0248 1.83465 10.0374 1.83496Z" }));
    }
    var IconAgentSend = react_1.default.forwardRef(IconAgentSendComponent);
    exports.default = IconAgentSend;
});
