671 lines
23 KiB
JavaScript
671 lines
23 KiB
JavaScript
function Ee(o) {
|
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
}
|
|
var ae = { exports: {} }, V = { exports: {} }, h = {};
|
|
/** @license React v16.13.1
|
|
* react-is.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
var se;
|
|
function ge() {
|
|
if (se)
|
|
return h;
|
|
se = 1;
|
|
var o = typeof Symbol == "function" && Symbol.for, j = o ? Symbol.for("react.element") : 60103, O = o ? Symbol.for("react.portal") : 60106, y = o ? Symbol.for("react.fragment") : 60107, S = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, _ = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, C = o ? Symbol.for("react.suspense_list") : 60120, w = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, I = o ? Symbol.for("react.fundamental") : 60117, Y = o ? Symbol.for("react.responder") : 60118, F = o ? Symbol.for("react.scope") : 60119;
|
|
function A(t) {
|
|
if (typeof t == "object" && t !== null) {
|
|
var k = t.$$typeof;
|
|
switch (k) {
|
|
case j:
|
|
switch (t = t.type, t) {
|
|
case _:
|
|
case g:
|
|
case y:
|
|
case a:
|
|
case S:
|
|
case E:
|
|
return t;
|
|
default:
|
|
switch (t = t && t.$$typeof, t) {
|
|
case l:
|
|
case b:
|
|
case M:
|
|
case w:
|
|
case P:
|
|
return t;
|
|
default:
|
|
return k;
|
|
}
|
|
}
|
|
case O:
|
|
return k;
|
|
}
|
|
}
|
|
}
|
|
function x(t) {
|
|
return A(t) === g;
|
|
}
|
|
return h.AsyncMode = _, h.ConcurrentMode = g, h.ContextConsumer = l, h.ContextProvider = P, h.Element = j, h.ForwardRef = b, h.Fragment = y, h.Lazy = M, h.Memo = w, h.Portal = O, h.Profiler = a, h.StrictMode = S, h.Suspense = E, h.isAsyncMode = function(t) {
|
|
return x(t) || A(t) === _;
|
|
}, h.isConcurrentMode = x, h.isContextConsumer = function(t) {
|
|
return A(t) === l;
|
|
}, h.isContextProvider = function(t) {
|
|
return A(t) === P;
|
|
}, h.isElement = function(t) {
|
|
return typeof t == "object" && t !== null && t.$$typeof === j;
|
|
}, h.isForwardRef = function(t) {
|
|
return A(t) === b;
|
|
}, h.isFragment = function(t) {
|
|
return A(t) === y;
|
|
}, h.isLazy = function(t) {
|
|
return A(t) === M;
|
|
}, h.isMemo = function(t) {
|
|
return A(t) === w;
|
|
}, h.isPortal = function(t) {
|
|
return A(t) === O;
|
|
}, h.isProfiler = function(t) {
|
|
return A(t) === a;
|
|
}, h.isStrictMode = function(t) {
|
|
return A(t) === S;
|
|
}, h.isSuspense = function(t) {
|
|
return A(t) === E;
|
|
}, h.isValidElementType = function(t) {
|
|
return typeof t == "string" || typeof t == "function" || t === y || t === g || t === a || t === S || t === E || t === C || typeof t == "object" && t !== null && (t.$$typeof === M || t.$$typeof === w || t.$$typeof === P || t.$$typeof === l || t.$$typeof === b || t.$$typeof === I || t.$$typeof === Y || t.$$typeof === F || t.$$typeof === R);
|
|
}, h.typeOf = A, h;
|
|
}
|
|
var T = {};
|
|
/** @license React v16.13.1
|
|
* react-is.development.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
var fe;
|
|
function Se() {
|
|
return fe || (fe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
var o = typeof Symbol == "function" && Symbol.for, j = o ? Symbol.for("react.element") : 60103, O = o ? Symbol.for("react.portal") : 60106, y = o ? Symbol.for("react.fragment") : 60107, S = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, _ = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, C = o ? Symbol.for("react.suspense_list") : 60120, w = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, I = o ? Symbol.for("react.fundamental") : 60117, Y = o ? Symbol.for("react.responder") : 60118, F = o ? Symbol.for("react.scope") : 60119;
|
|
function A(r) {
|
|
return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
r === y || r === g || r === a || r === S || r === E || r === C || typeof r == "object" && r !== null && (r.$$typeof === M || r.$$typeof === w || r.$$typeof === P || r.$$typeof === l || r.$$typeof === b || r.$$typeof === I || r.$$typeof === Y || r.$$typeof === F || r.$$typeof === R);
|
|
}
|
|
function x(r) {
|
|
if (typeof r == "object" && r !== null) {
|
|
var D = r.$$typeof;
|
|
switch (D) {
|
|
case j:
|
|
var B = r.type;
|
|
switch (B) {
|
|
case _:
|
|
case g:
|
|
case y:
|
|
case a:
|
|
case S:
|
|
case E:
|
|
return B;
|
|
default:
|
|
var ue = B && B.$$typeof;
|
|
switch (ue) {
|
|
case l:
|
|
case b:
|
|
case M:
|
|
case w:
|
|
case P:
|
|
return ue;
|
|
default:
|
|
return D;
|
|
}
|
|
}
|
|
case O:
|
|
return D;
|
|
}
|
|
}
|
|
}
|
|
var t = _, k = g, N = l, H = P, J = j, X = b, U = y, G = M, K = w, L = O, Z = a, q = S, W = E, z = !1;
|
|
function Q(r) {
|
|
return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), e(r) || x(r) === _;
|
|
}
|
|
function e(r) {
|
|
return x(r) === g;
|
|
}
|
|
function n(r) {
|
|
return x(r) === l;
|
|
}
|
|
function f(r) {
|
|
return x(r) === P;
|
|
}
|
|
function u(r) {
|
|
return typeof r == "object" && r !== null && r.$$typeof === j;
|
|
}
|
|
function i(r) {
|
|
return x(r) === b;
|
|
}
|
|
function p(r) {
|
|
return x(r) === y;
|
|
}
|
|
function c(r) {
|
|
return x(r) === M;
|
|
}
|
|
function s(r) {
|
|
return x(r) === w;
|
|
}
|
|
function d(r) {
|
|
return x(r) === O;
|
|
}
|
|
function m(r) {
|
|
return x(r) === a;
|
|
}
|
|
function v(r) {
|
|
return x(r) === S;
|
|
}
|
|
function $(r) {
|
|
return x(r) === E;
|
|
}
|
|
T.AsyncMode = t, T.ConcurrentMode = k, T.ContextConsumer = N, T.ContextProvider = H, T.Element = J, T.ForwardRef = X, T.Fragment = U, T.Lazy = G, T.Memo = K, T.Portal = L, T.Profiler = Z, T.StrictMode = q, T.Suspense = W, T.isAsyncMode = Q, T.isConcurrentMode = e, T.isContextConsumer = n, T.isContextProvider = f, T.isElement = u, T.isForwardRef = i, T.isFragment = p, T.isLazy = c, T.isMemo = s, T.isPortal = d, T.isProfiler = m, T.isStrictMode = v, T.isSuspense = $, T.isValidElementType = A, T.typeOf = x;
|
|
}()), T;
|
|
}
|
|
var le;
|
|
function Te() {
|
|
return le || (le = 1, process.env.NODE_ENV === "production" ? V.exports = ge() : V.exports = Se()), V.exports;
|
|
}
|
|
/*
|
|
object-assign
|
|
(c) Sindre Sorhus
|
|
@license MIT
|
|
*/
|
|
var ee, ye;
|
|
function Pe() {
|
|
if (ye)
|
|
return ee;
|
|
ye = 1;
|
|
var o = Object.getOwnPropertySymbols, j = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
function y(a) {
|
|
if (a == null)
|
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
return Object(a);
|
|
}
|
|
function S() {
|
|
try {
|
|
if (!Object.assign)
|
|
return !1;
|
|
var a = new String("abc");
|
|
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
return !1;
|
|
for (var P = {}, l = 0; l < 10; l++)
|
|
P["_" + String.fromCharCode(l)] = l;
|
|
var _ = Object.getOwnPropertyNames(P).map(function(b) {
|
|
return P[b];
|
|
});
|
|
if (_.join("") !== "0123456789")
|
|
return !1;
|
|
var g = {};
|
|
return "abcdefghijklmnopqrst".split("").forEach(function(b) {
|
|
g[b] = b;
|
|
}), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
|
|
} catch {
|
|
return !1;
|
|
}
|
|
}
|
|
return ee = S() ? Object.assign : function(a, P) {
|
|
for (var l, _ = y(a), g, b = 1; b < arguments.length; b++) {
|
|
l = Object(arguments[b]);
|
|
for (var E in l)
|
|
j.call(l, E) && (_[E] = l[E]);
|
|
if (o) {
|
|
g = o(l);
|
|
for (var C = 0; C < g.length; C++)
|
|
O.call(l, g[C]) && (_[g[C]] = l[g[C]]);
|
|
}
|
|
}
|
|
return _;
|
|
}, ee;
|
|
}
|
|
var re, pe;
|
|
function ce() {
|
|
if (pe)
|
|
return re;
|
|
pe = 1;
|
|
var o = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
return re = o, re;
|
|
}
|
|
var te, de;
|
|
function me() {
|
|
return de || (de = 1, te = Function.call.bind(Object.prototype.hasOwnProperty)), te;
|
|
}
|
|
var ne, ve;
|
|
function Oe() {
|
|
if (ve)
|
|
return ne;
|
|
ve = 1;
|
|
var o = function() {
|
|
};
|
|
if (process.env.NODE_ENV !== "production") {
|
|
var j = ce(), O = {}, y = me();
|
|
o = function(a) {
|
|
var P = "Warning: " + a;
|
|
typeof console < "u" && console.error(P);
|
|
try {
|
|
throw new Error(P);
|
|
} catch {
|
|
}
|
|
};
|
|
}
|
|
function S(a, P, l, _, g) {
|
|
if (process.env.NODE_ENV !== "production") {
|
|
for (var b in a)
|
|
if (y(a, b)) {
|
|
var E;
|
|
try {
|
|
if (typeof a[b] != "function") {
|
|
var C = Error(
|
|
(_ || "React class") + ": " + l + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
);
|
|
throw C.name = "Invariant Violation", C;
|
|
}
|
|
E = a[b](P, b, _, l, null, j);
|
|
} catch (M) {
|
|
E = M;
|
|
}
|
|
if (E && !(E instanceof Error) && o(
|
|
(_ || "React class") + ": type specification of " + l + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
), E instanceof Error && !(E.message in O)) {
|
|
O[E.message] = !0;
|
|
var w = g ? g() : "";
|
|
o(
|
|
"Failed " + l + " type: " + E.message + (w ?? "")
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return S.resetWarningCache = function() {
|
|
process.env.NODE_ENV !== "production" && (O = {});
|
|
}, ne = S, ne;
|
|
}
|
|
var oe, be;
|
|
function _e() {
|
|
if (be)
|
|
return oe;
|
|
be = 1;
|
|
var o = Te(), j = Pe(), O = ce(), y = me(), S = Oe(), a = function() {
|
|
};
|
|
process.env.NODE_ENV !== "production" && (a = function(l) {
|
|
var _ = "Warning: " + l;
|
|
typeof console < "u" && console.error(_);
|
|
try {
|
|
throw new Error(_);
|
|
} catch {
|
|
}
|
|
});
|
|
function P() {
|
|
return null;
|
|
}
|
|
return oe = function(l, _) {
|
|
var g = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
|
|
function E(e) {
|
|
var n = e && (g && e[g] || e[b]);
|
|
if (typeof n == "function")
|
|
return n;
|
|
}
|
|
var C = "<<anonymous>>", w = {
|
|
array: Y("array"),
|
|
bigint: Y("bigint"),
|
|
bool: Y("boolean"),
|
|
func: Y("function"),
|
|
number: Y("number"),
|
|
object: Y("object"),
|
|
string: Y("string"),
|
|
symbol: Y("symbol"),
|
|
any: F(),
|
|
arrayOf: A,
|
|
element: x(),
|
|
elementType: t(),
|
|
instanceOf: k,
|
|
node: X(),
|
|
objectOf: H,
|
|
oneOf: N,
|
|
oneOfType: J,
|
|
shape: G,
|
|
exact: K
|
|
};
|
|
function M(e, n) {
|
|
return e === n ? e !== 0 || 1 / e === 1 / n : e !== e && n !== n;
|
|
}
|
|
function R(e, n) {
|
|
this.message = e, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
|
|
}
|
|
R.prototype = Error.prototype;
|
|
function I(e) {
|
|
if (process.env.NODE_ENV !== "production")
|
|
var n = {}, f = 0;
|
|
function u(p, c, s, d, m, v, $) {
|
|
if (d = d || C, v = v || s, $ !== O) {
|
|
if (_) {
|
|
var r = new Error(
|
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
);
|
|
throw r.name = "Invariant Violation", r;
|
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
var D = d + ":" + s;
|
|
!n[D] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
f < 3 && (a(
|
|
"You are manually calling a React.PropTypes validation function for the `" + v + "` prop on `" + d + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
), n[D] = !0, f++);
|
|
}
|
|
}
|
|
return c[s] == null ? p ? c[s] === null ? new R("The " + m + " `" + v + "` is marked as required " + ("in `" + d + "`, but its value is `null`.")) : new R("The " + m + " `" + v + "` is marked as required in " + ("`" + d + "`, but its value is `undefined`.")) : null : e(c, s, d, m, v);
|
|
}
|
|
var i = u.bind(null, !1);
|
|
return i.isRequired = u.bind(null, !0), i;
|
|
}
|
|
function Y(e) {
|
|
function n(f, u, i, p, c, s) {
|
|
var d = f[u], m = q(d);
|
|
if (m !== e) {
|
|
var v = W(d);
|
|
return new R(
|
|
"Invalid " + p + " `" + c + "` of type " + ("`" + v + "` supplied to `" + i + "`, expected ") + ("`" + e + "`."),
|
|
{ expectedType: e }
|
|
);
|
|
}
|
|
return null;
|
|
}
|
|
return I(n);
|
|
}
|
|
function F() {
|
|
return I(P);
|
|
}
|
|
function A(e) {
|
|
function n(f, u, i, p, c) {
|
|
if (typeof e != "function")
|
|
return new R("Property `" + c + "` of component `" + i + "` has invalid PropType notation inside arrayOf.");
|
|
var s = f[u];
|
|
if (!Array.isArray(s)) {
|
|
var d = q(s);
|
|
return new R("Invalid " + p + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected an array."));
|
|
}
|
|
for (var m = 0; m < s.length; m++) {
|
|
var v = e(s, m, i, p, c + "[" + m + "]", O);
|
|
if (v instanceof Error)
|
|
return v;
|
|
}
|
|
return null;
|
|
}
|
|
return I(n);
|
|
}
|
|
function x() {
|
|
function e(n, f, u, i, p) {
|
|
var c = n[f];
|
|
if (!l(c)) {
|
|
var s = q(c);
|
|
return new R("Invalid " + i + " `" + p + "` of type " + ("`" + s + "` supplied to `" + u + "`, expected a single ReactElement."));
|
|
}
|
|
return null;
|
|
}
|
|
return I(e);
|
|
}
|
|
function t() {
|
|
function e(n, f, u, i, p) {
|
|
var c = n[f];
|
|
if (!o.isValidElementType(c)) {
|
|
var s = q(c);
|
|
return new R("Invalid " + i + " `" + p + "` of type " + ("`" + s + "` supplied to `" + u + "`, expected a single ReactElement type."));
|
|
}
|
|
return null;
|
|
}
|
|
return I(e);
|
|
}
|
|
function k(e) {
|
|
function n(f, u, i, p, c) {
|
|
if (!(f[u] instanceof e)) {
|
|
var s = e.name || C, d = Q(f[u]);
|
|
return new R("Invalid " + p + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected ") + ("instance of `" + s + "`."));
|
|
}
|
|
return null;
|
|
}
|
|
return I(n);
|
|
}
|
|
function N(e) {
|
|
if (!Array.isArray(e))
|
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
) : a("Invalid argument supplied to oneOf, expected an array.")), P;
|
|
function n(f, u, i, p, c) {
|
|
for (var s = f[u], d = 0; d < e.length; d++)
|
|
if (M(s, e[d]))
|
|
return null;
|
|
var m = JSON.stringify(e, function($, r) {
|
|
var D = W(r);
|
|
return D === "symbol" ? String(r) : r;
|
|
});
|
|
return new R("Invalid " + p + " `" + c + "` of value `" + String(s) + "` " + ("supplied to `" + i + "`, expected one of " + m + "."));
|
|
}
|
|
return I(n);
|
|
}
|
|
function H(e) {
|
|
function n(f, u, i, p, c) {
|
|
if (typeof e != "function")
|
|
return new R("Property `" + c + "` of component `" + i + "` has invalid PropType notation inside objectOf.");
|
|
var s = f[u], d = q(s);
|
|
if (d !== "object")
|
|
return new R("Invalid " + p + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected an object."));
|
|
for (var m in s)
|
|
if (y(s, m)) {
|
|
var v = e(s, m, i, p, c + "." + m, O);
|
|
if (v instanceof Error)
|
|
return v;
|
|
}
|
|
return null;
|
|
}
|
|
return I(n);
|
|
}
|
|
function J(e) {
|
|
if (!Array.isArray(e))
|
|
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), P;
|
|
for (var n = 0; n < e.length; n++) {
|
|
var f = e[n];
|
|
if (typeof f != "function")
|
|
return a(
|
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(f) + " at index " + n + "."
|
|
), P;
|
|
}
|
|
function u(i, p, c, s, d) {
|
|
for (var m = [], v = 0; v < e.length; v++) {
|
|
var $ = e[v], r = $(i, p, c, s, d, O);
|
|
if (r == null)
|
|
return null;
|
|
r.data && y(r.data, "expectedType") && m.push(r.data.expectedType);
|
|
}
|
|
var D = m.length > 0 ? ", expected one of type [" + m.join(", ") + "]" : "";
|
|
return new R("Invalid " + s + " `" + d + "` supplied to " + ("`" + c + "`" + D + "."));
|
|
}
|
|
return I(u);
|
|
}
|
|
function X() {
|
|
function e(n, f, u, i, p) {
|
|
return L(n[f]) ? null : new R("Invalid " + i + " `" + p + "` supplied to " + ("`" + u + "`, expected a ReactNode."));
|
|
}
|
|
return I(e);
|
|
}
|
|
function U(e, n, f, u, i) {
|
|
return new R(
|
|
(e || "React class") + ": " + n + " type `" + f + "." + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + i + "`."
|
|
);
|
|
}
|
|
function G(e) {
|
|
function n(f, u, i, p, c) {
|
|
var s = f[u], d = q(s);
|
|
if (d !== "object")
|
|
return new R("Invalid " + p + " `" + c + "` of type `" + d + "` " + ("supplied to `" + i + "`, expected `object`."));
|
|
for (var m in e) {
|
|
var v = e[m];
|
|
if (typeof v != "function")
|
|
return U(i, p, c, m, W(v));
|
|
var $ = v(s, m, i, p, c + "." + m, O);
|
|
if ($)
|
|
return $;
|
|
}
|
|
return null;
|
|
}
|
|
return I(n);
|
|
}
|
|
function K(e) {
|
|
function n(f, u, i, p, c) {
|
|
var s = f[u], d = q(s);
|
|
if (d !== "object")
|
|
return new R("Invalid " + p + " `" + c + "` of type `" + d + "` " + ("supplied to `" + i + "`, expected `object`."));
|
|
var m = j({}, f[u], e);
|
|
for (var v in m) {
|
|
var $ = e[v];
|
|
if (y(e, v) && typeof $ != "function")
|
|
return U(i, p, c, v, W($));
|
|
if (!$)
|
|
return new R(
|
|
"Invalid " + p + " `" + c + "` key `" + v + "` supplied to `" + i + "`.\nBad object: " + JSON.stringify(f[u], null, " ") + `
|
|
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
);
|
|
var r = $(s, v, i, p, c + "." + v, O);
|
|
if (r)
|
|
return r;
|
|
}
|
|
return null;
|
|
}
|
|
return I(n);
|
|
}
|
|
function L(e) {
|
|
switch (typeof e) {
|
|
case "number":
|
|
case "string":
|
|
case "undefined":
|
|
return !0;
|
|
case "boolean":
|
|
return !e;
|
|
case "object":
|
|
if (Array.isArray(e))
|
|
return e.every(L);
|
|
if (e === null || l(e))
|
|
return !0;
|
|
var n = E(e);
|
|
if (n) {
|
|
var f = n.call(e), u;
|
|
if (n !== e.entries) {
|
|
for (; !(u = f.next()).done; )
|
|
if (!L(u.value))
|
|
return !1;
|
|
} else
|
|
for (; !(u = f.next()).done; ) {
|
|
var i = u.value;
|
|
if (i && !L(i[1]))
|
|
return !1;
|
|
}
|
|
} else
|
|
return !1;
|
|
return !0;
|
|
default:
|
|
return !1;
|
|
}
|
|
}
|
|
function Z(e, n) {
|
|
return e === "symbol" ? !0 : n ? n["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && n instanceof Symbol : !1;
|
|
}
|
|
function q(e) {
|
|
var n = typeof e;
|
|
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(n, e) ? "symbol" : n;
|
|
}
|
|
function W(e) {
|
|
if (typeof e > "u" || e === null)
|
|
return "" + e;
|
|
var n = q(e);
|
|
if (n === "object") {
|
|
if (e instanceof Date)
|
|
return "date";
|
|
if (e instanceof RegExp)
|
|
return "regexp";
|
|
}
|
|
return n;
|
|
}
|
|
function z(e) {
|
|
var n = W(e);
|
|
switch (n) {
|
|
case "array":
|
|
case "object":
|
|
return "an " + n;
|
|
case "boolean":
|
|
case "date":
|
|
case "regexp":
|
|
return "a " + n;
|
|
default:
|
|
return n;
|
|
}
|
|
}
|
|
function Q(e) {
|
|
return !e.constructor || !e.constructor.name ? C : e.constructor.name;
|
|
}
|
|
return w.checkPropTypes = S, w.resetWarningCache = S.resetWarningCache, w.PropTypes = w, w;
|
|
}, oe;
|
|
}
|
|
var ie, he;
|
|
function Re() {
|
|
if (he)
|
|
return ie;
|
|
he = 1;
|
|
var o = ce();
|
|
function j() {
|
|
}
|
|
function O() {
|
|
}
|
|
return O.resetWarningCache = j, ie = function() {
|
|
function y(P, l, _, g, b, E) {
|
|
if (E !== o) {
|
|
var C = new Error(
|
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
);
|
|
throw C.name = "Invariant Violation", C;
|
|
}
|
|
}
|
|
y.isRequired = y;
|
|
function S() {
|
|
return y;
|
|
}
|
|
var a = {
|
|
array: y,
|
|
bigint: y,
|
|
bool: y,
|
|
func: y,
|
|
number: y,
|
|
object: y,
|
|
string: y,
|
|
symbol: y,
|
|
any: y,
|
|
arrayOf: S,
|
|
element: y,
|
|
elementType: y,
|
|
instanceOf: S,
|
|
node: y,
|
|
objectOf: S,
|
|
oneOf: S,
|
|
oneOfType: S,
|
|
shape: S,
|
|
exact: S,
|
|
checkPropTypes: O,
|
|
resetWarningCache: j
|
|
};
|
|
return a.PropTypes = a, a;
|
|
}, ie;
|
|
}
|
|
if (process.env.NODE_ENV !== "production") {
|
|
var Ce = Te(), we = !0;
|
|
ae.exports = _e()(Ce.isElement, we);
|
|
} else
|
|
ae.exports = Re()();
|
|
var xe = ae.exports;
|
|
const Ae = /* @__PURE__ */ Ee(xe);
|
|
export {
|
|
Ae as P
|
|
};
|