"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 IconPackagingComponent(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-packaging").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.60002 11.8C8.21343 11.8 7.90002 12.1134 7.90002 12.5C7.90002 12.8866 8.21343 13.2 8.60002 13.2H12.7154L11.9103 14.005C11.637 14.2784 11.637 14.7216 11.9103 14.995C12.1837 15.2683 12.6269 15.2683 12.9003 14.995L14.9003 12.995C15.1737 12.7216 15.1737 12.2784 14.9003 12.005L12.9003 10.005C12.6269 9.73165 12.1837 9.73165 11.9103 10.005C11.637 10.2784 11.637 10.7216 11.9103 10.995L12.7154 11.8H8.60002Z" }),
        react_1.default.createElement("path", { fillRule: "evenodd", d: "M0.900024 3.19667C0.900024 1.74273 2.07867 0.564087 3.53261 0.564087H12.4674C13.9214 0.564087 15.1 1.74273 15.1 3.19667V8.28205C15.1 8.67856 14.7786 9 14.3821 9V9C13.9855 9 13.6641 8.67856 13.6641 8.28205V3.19667C13.6641 2.53579 13.1283 2.00004 12.4674 2.00004H3.53261C2.87173 2.00004 2.33598 2.53579 2.33598 3.19667V12.4674C2.33598 13.1283 2.87173 13.6641 3.53261 13.6641H6.28205C6.67856 13.6641 7 13.9855 7 14.3821V14.3821C7 14.7786 6.67856 15.1 6.28205 15.1H3.53261C2.07867 15.1 0.900024 13.9214 0.900024 12.4674V3.19667ZM4.80904 4.32004C4.41251 4.32004 4.09106 4.64149 4.09106 5.03802C4.09106 5.43455 4.41251 5.756 4.80904 5.756H11.191C11.5875 5.756 11.9089 5.43455 11.9089 5.03802C11.9089 4.64149 11.5875 4.32004 11.191 4.32004H4.80904ZM4.80904 7.56404C4.41251 7.56404 4.09106 7.88549 4.09106 8.28202C4.09106 8.67855 4.41251 9 4.80904 9H11.191C11.5875 9 11.9089 8.67855 11.9089 8.28202C11.9089 7.88549 11.5875 7.56404 11.191 7.56404H4.80904Z", clipRule: "evenodd" }));
}
var IconPackaging = react_1.default.forwardRef(IconPackagingComponent);
exports.default = IconPackaging;
