"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "SpinnerSvg", {
    enumerable: true,
    get: function() {
        return SpinnerSvg;
    }
});
var _react = /*#__PURE__*/ _interop_require_default(require("react"));
function _define_property(obj, key, value) {
    if (key in obj) {
        Object.defineProperty(obj, key, {
            value: value,
            enumerable: true,
            configurable: true,
            writable: true
        });
    } else {
        obj[key] = value;
    }
    return obj;
}
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
function _object_spread(target) {
    for(var i = 1; i < arguments.length; i++){
        var source = arguments[i] != null ? arguments[i] : {};
        var ownKeys = Object.keys(source);
        if (typeof Object.getOwnPropertySymbols === "function") {
            ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
                return Object.getOwnPropertyDescriptor(source, sym).enumerable;
            }));
        }
        ownKeys.forEach(function(key) {
            _define_property(target, key, source[key]);
        });
    }
    return target;
}
function _object_without_properties(source, excluded) {
    if (source == null) return {};
    var target = {}, sourceKeys, key, i;
    if (typeof Reflect !== "undefined" && Reflect.ownKeys) {
        sourceKeys = Reflect.ownKeys(source);
        for(i = 0; i < sourceKeys.length; i++){
            key = sourceKeys[i];
            if (excluded.indexOf(key) >= 0) continue;
            if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
            target[key] = source[key];
        }
        return target;
    }
    target = _object_without_properties_loose(source, excluded);
    if (Object.getOwnPropertySymbols) {
        sourceKeys = Object.getOwnPropertySymbols(source);
        for(i = 0; i < sourceKeys.length; i++){
            key = sourceKeys[i];
            if (excluded.indexOf(key) >= 0) continue;
            if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
            target[key] = source[key];
        }
    }
    return target;
}
function _object_without_properties_loose(source, excluded) {
    if (source == null) return {};
    var target = {}, sourceKeys = Object.getOwnPropertyNames(source), key, i;
    for(i = 0; i < sourceKeys.length; i++){
        key = sourceKeys[i];
        if (excluded.indexOf(key) >= 0) continue;
        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
        target[key] = source[key];
    }
    return target;
}
var SpinnerSvg = function SpinnerSvg(_0) {
    var id = _0.id, color = _0.color, props = _object_without_properties(_0, [
        "id",
        "color"
    ]);
    return /*#__PURE__*/ _react.default.createElement("svg", _object_spread({
        viewBox: "0 0 56 56",
        fill: "none"
    }, props), /*#__PURE__*/ _react.default.createElement("path", {
        fillRule: "evenodd",
        clipRule: "evenodd",
        d: "M28 0C12.536 0 0 12.536 0 28s12.536 28 28 28h.055H28v-4C14.745 52 4 41.255 4 28S14.745 4 28 4V0z",
        fill: "url(#prefix__paint0_linear".concat(id, ")")
    }), /*#__PURE__*/ _react.default.createElement("path", {
        d: "M56 28c0 14.791-11.47 26.904-26 27.93-1.102.077-2-.825-2-1.93s.899-1.991 2-2.082C42.318 50.902 52 40.58 52 28 52 14.745 41.255 4 28 4V0c15.464 0 28 12.536 28 28z",
        fill: "url(#prefix__paint1_linear".concat(id, ")")
    }), /*#__PURE__*/ _react.default.createElement("defs", null, /*#__PURE__*/ _react.default.createElement("linearGradient", {
        id: "prefix__paint0_linear".concat(id),
        x1: 0,
        y1: 56,
        x2: 0,
        y2: 0,
        gradientUnits: "userSpaceOnUse"
    }, /*#__PURE__*/ _react.default.createElement("stop", {
        stopColor: color,
        stopOpacity: 0
    }), /*#__PURE__*/ _react.default.createElement("stop", {
        offset: 0.048,
        stopColor: color,
        stopOpacity: 0
    }), /*#__PURE__*/ _react.default.createElement("stop", {
        offset: 0.952,
        stopColor: color,
        stopOpacity: 0.5
    }), /*#__PURE__*/ _react.default.createElement("stop", {
        offset: 1,
        stopColor: color,
        stopOpacity: 0.5
    })), /*#__PURE__*/ _react.default.createElement("linearGradient", {
        id: "prefix__paint1_linear".concat(id),
        x1: 28,
        y1: 56,
        x2: 28,
        y2: 0,
        gradientUnits: "userSpaceOnUse"
    }, /*#__PURE__*/ _react.default.createElement("stop", {
        stopColor: color
    }), /*#__PURE__*/ _react.default.createElement("stop", {
        offset: 0.048,
        stopColor: color
    }), /*#__PURE__*/ _react.default.createElement("stop", {
        offset: 0.952,
        stopColor: color,
        stopOpacity: 0.5
    }), /*#__PURE__*/ _react.default.createElement("stop", {
        offset: 1,
        stopColor: color,
        stopOpacity: 0.5
    }))));
};
