"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 IconPdfFileComponent(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-pdf-file").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M34.171 2a2 2 0 011.415.586l5.828 5.831A2 2 0 0142 9.831V44a2 2 0 01-2 2H8a2 2 0 01-2-2V4a2 2 0 012-2h26.171zM32 6H10v36h28V12.038l-5 .001a1 1 0 01-1-1L31.999 6zm-8.276 7.224c2.17.426 2.893 3.463 2.105 6.66a44.93 44.93 0 01-.878 3.027l-.216-.42.276.54a50.053 50.053 0 002.96 4.95c3.353.08 6.433.928 7.477 2.745 1.468 2.555-.998 5.274-4.18 4.468-1.318-.334-2.909-1.907-4.731-4.392-1.623.087-3.376.41-5.042.926l.258-.566a60.806 60.806 0 01-2.386 4.769c-1.296 2.306-3.595 3.095-5.33 1.917-1.768-1.201-1.762-3.651.106-5.35 1.32-1.201 3.166-2.24 5.296-3.028l-.072.16.195-.435a82.094 82.094 0 002.365-6.07c-1.114-2.296-1.85-4.336-2.078-5.893-.131-.896-.043-1.839.385-2.62.649-1.181 1.915-1.697 3.49-1.388zm-6.206 20.247a9.842 9.842 0 00-1.49 1.097c-.598.544-.599.84-.417.964.26.177.767.004 1.316-.973.197-.35.394-.714.591-1.088zm12.795-2.437c.755.85 1.353 1.372 1.643 1.446.924.234 1.218-.091 1.065-.359-.244-.423-1.321-.833-2.708-1.087zm-6.568-4.508l-.048.146-.046-.09-.296.768c-.117.3-.237.6-.359.9l.081-.027-.107.236.524-.103c.392-.073.784-.136 1.173-.188l-.114-.16.089-.002-.255-.41c-.217-.353-.432-.71-.642-1.07zm-1.056-10.567c-.087.159-.12.52-.07.868.085.58.276 1.288.56 2.092.198-.953.207-1.816.054-2.455a1.763 1.763 0 00-.197-.52c-.29-.053-.319-.036-.347.015z" }));
}
var IconPdfFile = react_1.default.forwardRef(IconPdfFileComponent);
exports.default = IconPdfFile;
