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 __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;
};
import React, { useContext } from 'react';
import { Context } from '../context';
function IconCardCollectionSurfaceComponent(props, ref) {
    var prefixFromContext = useContext(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.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-card_collection_surface").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 14 14" }, rest, { ref: ref }),
        React.createElement("path", { fillRule: "evenodd", d: "M5.92657 2.22773C6.34876 1.25041 7.73076 1.23972 8.16803 2.21038L9.18399 4.46568C9.19212 4.48372 9.20884 4.49642 9.2284 4.49939L11.4614 4.83917C12.4914 4.9959 12.868 6.28528 12.0842 6.97175L10.3367 8.50235C10.3199 8.51706 10.3129 8.54006 10.3188 8.5616L10.9576 10.9001C11.2436 11.9473 10.1271 12.8215 9.17908 12.2927L7.06889 11.1156C7.05108 11.1056 7.02937 11.1057 7.01164 11.1158L4.84548 12.3478C3.93459 12.8658 2.83598 12.0753 3.0378 11.047L3.52582 8.5606C3.52966 8.54105 3.52325 8.5209 3.50883 8.50715L1.87783 6.95215C1.14009 6.24879 1.53397 5.00463 2.54209 4.85399L4.91524 4.49936C4.93519 4.49638 4.95218 4.48331 4.96017 4.4648L5.92657 2.22773Z", clipRule: "evenodd" }));
}
var IconCardCollectionSurface = React.forwardRef(IconCardCollectionSurfaceComponent);
export default IconCardCollectionSurface;
