xmirror-components 1.0.20 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/index.cjs +51 -34
- package/build/dist/index.mjs +275 -245
- package/build/es/components/GlobalLoading/index.js +26 -15
- package/build/lib/components/GlobalLoading/index.js +26 -15
- package/build/package.json +1 -1
- package/package.json +1 -1
package/build/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as fe from "react";
|
|
2
|
-
import Ae, { forwardRef as hn, useContext as Xn, useRef as J, useState as ot, useEffect as
|
|
2
|
+
import Ae, { forwardRef as hn, useContext as Xn, useRef as J, useState as ot, useEffect as Ne, useMemo as Tr, useCallback as Jn, Fragment as Kn } from "react";
|
|
3
3
|
import { message as Zn, notification as Qn, Modal as ea, App as yn, Checkbox as ra, Switch as ta, Button as na, Tooltip as aa } from "antd";
|
|
4
4
|
import ur from "react-dom";
|
|
5
5
|
var cr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -116,7 +116,7 @@ function oa() {
|
|
|
116
116
|
}
|
|
117
117
|
function a() {
|
|
118
118
|
if (O === 0) {
|
|
119
|
-
L = console.log,
|
|
119
|
+
L = console.log, $ = console.info, k = console.warn, F = console.error, q = console.group, D = console.groupCollapsed, re = console.groupEnd;
|
|
120
120
|
var f = {
|
|
121
121
|
configurable: !0,
|
|
122
122
|
enumerable: !0,
|
|
@@ -140,8 +140,8 @@ function oa() {
|
|
|
140
140
|
var f = { configurable: !0, enumerable: !0, writable: !0 };
|
|
141
141
|
Object.defineProperties(console, {
|
|
142
142
|
log: E({}, f, { value: L }),
|
|
143
|
-
info: E({}, f, { value:
|
|
144
|
-
warn: E({}, f, { value:
|
|
143
|
+
info: E({}, f, { value: $ }),
|
|
144
|
+
warn: E({}, f, { value: k }),
|
|
145
145
|
error: E({}, f, { value: F }),
|
|
146
146
|
group: E({}, f, { value: q }),
|
|
147
147
|
groupCollapsed: E({}, f, { value: D }),
|
|
@@ -227,24 +227,24 @@ function oa() {
|
|
|
227
227
|
var M = se.DetermineComponentFrameRoot(), Re = M[0], Le = M[1];
|
|
228
228
|
if (Re && Le) {
|
|
229
229
|
var ve = Re.split(`
|
|
230
|
-
`),
|
|
230
|
+
`), $e = Le.split(`
|
|
231
231
|
`);
|
|
232
232
|
for (M = Z = 0; Z < ve.length && !ve[Z].includes(
|
|
233
233
|
"DetermineComponentFrameRoot"
|
|
234
234
|
); )
|
|
235
235
|
Z++;
|
|
236
|
-
for (; M <
|
|
236
|
+
for (; M < $e.length && !$e[M].includes(
|
|
237
237
|
"DetermineComponentFrameRoot"
|
|
238
238
|
); )
|
|
239
239
|
M++;
|
|
240
|
-
if (Z === ve.length || M ===
|
|
241
|
-
for (Z = ve.length - 1, M =
|
|
240
|
+
if (Z === ve.length || M === $e.length)
|
|
241
|
+
for (Z = ve.length - 1, M = $e.length - 1; 1 <= Z && 0 <= M && ve[Z] !== $e[M]; )
|
|
242
242
|
M--;
|
|
243
243
|
for (; 1 <= Z && 0 <= M; Z--, M--)
|
|
244
|
-
if (ve[Z] !==
|
|
244
|
+
if (ve[Z] !== $e[M]) {
|
|
245
245
|
if (Z !== 1 || M !== 1)
|
|
246
246
|
do
|
|
247
|
-
if (Z--, M--, 0 > M || ve[Z] !==
|
|
247
|
+
if (Z--, M--, 0 > M || ve[Z] !== $e[M]) {
|
|
248
248
|
var Ge = `
|
|
249
249
|
` + ve[Z].replace(
|
|
250
250
|
" at new ",
|
|
@@ -348,7 +348,7 @@ function oa() {
|
|
|
348
348
|
var M = C.children;
|
|
349
349
|
if (M !== void 0)
|
|
350
350
|
if (W)
|
|
351
|
-
if (
|
|
351
|
+
if (N(M)) {
|
|
352
352
|
for (W = 0; W < M.length; W++)
|
|
353
353
|
h(M[W], f);
|
|
354
354
|
Object.freeze && Object.freeze(M);
|
|
@@ -358,7 +358,7 @@ function oa() {
|
|
|
358
358
|
);
|
|
359
359
|
else h(M, f);
|
|
360
360
|
} else
|
|
361
|
-
M = "", (f === void 0 || typeof f == "object" && f !== null && Object.keys(f).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), f === null ? W = "null" :
|
|
361
|
+
M = "", (f === void 0 || typeof f == "object" && f !== null && Object.keys(f).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), f === null ? W = "null" : N(f) ? W = "array" : f !== void 0 && f.$$typeof === S ? (W = "<" + (e(f.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : W = typeof f, console.error(
|
|
362
362
|
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
363
363
|
W,
|
|
364
364
|
M
|
|
@@ -393,7 +393,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
393
393
|
}
|
|
394
394
|
function h(f, C) {
|
|
395
395
|
if (typeof f == "object" && f && f.$$typeof !== Vn) {
|
|
396
|
-
if (
|
|
396
|
+
if (N(f))
|
|
397
397
|
for (var _ = 0; _ < f.length; _++) {
|
|
398
398
|
var W = f[_];
|
|
399
399
|
x(W) && w(W, C);
|
|
@@ -432,7 +432,7 @@ Check the render method of \`` + _ + "`."), C || (f = e(f)) && (C = `
|
|
|
432
432
|
|
|
433
433
|
Check the top-level render call using <` + f + ">."), C;
|
|
434
434
|
}
|
|
435
|
-
var T = Ae, S = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), A = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), me = Symbol.for("react.consumer"), le = Symbol.for("react.context"), ne = Symbol.for("react.forward_ref"), he = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), de = Symbol.for("react.lazy"), ae = Symbol.for("react.offscreen"), Ee = Symbol.iterator, _e = Symbol.for("react.client.reference"), ye = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, y = Object.prototype.hasOwnProperty, E = Object.assign, I = Symbol.for("react.client.reference"),
|
|
435
|
+
var T = Ae, S = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), A = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), me = Symbol.for("react.consumer"), le = Symbol.for("react.context"), ne = Symbol.for("react.forward_ref"), he = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), de = Symbol.for("react.lazy"), ae = Symbol.for("react.offscreen"), Ee = Symbol.iterator, _e = Symbol.for("react.client.reference"), ye = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, y = Object.prototype.hasOwnProperty, E = Object.assign, I = Symbol.for("react.client.reference"), N = Array.isArray, O = 0, L, $, k, F, q, D, re;
|
|
436
436
|
n.__reactDisabledLog = !0;
|
|
437
437
|
var p, ie, ge = !1, Oe = new (typeof WeakMap == "function" ? WeakMap : Map)(), Vn = Symbol.for("react.client.reference"), bt, Et = {}, xt = {}, Tt = {};
|
|
438
438
|
Be.Fragment = A, Be.jsx = function(f, C, _, W, se) {
|
|
@@ -473,7 +473,7 @@ function Qr(e, r) {
|
|
|
473
473
|
function bn(e, r) {
|
|
474
474
|
e.prototype = Object.create(r.prototype), e.prototype.constructor = e, Qr(e, r);
|
|
475
475
|
}
|
|
476
|
-
var lr = { exports: {} }, dr = { exports: {} },
|
|
476
|
+
var lr = { exports: {} }, dr = { exports: {} }, U = {};
|
|
477
477
|
/** @license React v16.13.1
|
|
478
478
|
* react-is.production.min.js
|
|
479
479
|
*
|
|
@@ -484,7 +484,7 @@ var lr = { exports: {} }, dr = { exports: {} }, z = {};
|
|
|
484
484
|
*/
|
|
485
485
|
var _t;
|
|
486
486
|
function ua() {
|
|
487
|
-
if (_t) return
|
|
487
|
+
if (_t) return U;
|
|
488
488
|
_t = 1;
|
|
489
489
|
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119;
|
|
490
490
|
function T(v) {
|
|
@@ -520,33 +520,33 @@ function ua() {
|
|
|
520
520
|
function S(v) {
|
|
521
521
|
return T(v) === s;
|
|
522
522
|
}
|
|
523
|
-
return
|
|
523
|
+
return U.AsyncMode = c, U.ConcurrentMode = s, U.ContextConsumer = u, U.ContextProvider = o, U.Element = r, U.ForwardRef = l, U.Fragment = n, U.Lazy = m, U.Memo = g, U.Portal = t, U.Profiler = i, U.StrictMode = a, U.Suspense = d, U.isAsyncMode = function(v) {
|
|
524
524
|
return S(v) || T(v) === c;
|
|
525
|
-
},
|
|
525
|
+
}, U.isConcurrentMode = S, U.isContextConsumer = function(v) {
|
|
526
526
|
return T(v) === u;
|
|
527
|
-
},
|
|
527
|
+
}, U.isContextProvider = function(v) {
|
|
528
528
|
return T(v) === o;
|
|
529
|
-
},
|
|
529
|
+
}, U.isElement = function(v) {
|
|
530
530
|
return typeof v == "object" && v !== null && v.$$typeof === r;
|
|
531
|
-
},
|
|
531
|
+
}, U.isForwardRef = function(v) {
|
|
532
532
|
return T(v) === l;
|
|
533
|
-
},
|
|
533
|
+
}, U.isFragment = function(v) {
|
|
534
534
|
return T(v) === n;
|
|
535
|
-
},
|
|
535
|
+
}, U.isLazy = function(v) {
|
|
536
536
|
return T(v) === m;
|
|
537
|
-
},
|
|
537
|
+
}, U.isMemo = function(v) {
|
|
538
538
|
return T(v) === g;
|
|
539
|
-
},
|
|
539
|
+
}, U.isPortal = function(v) {
|
|
540
540
|
return T(v) === t;
|
|
541
|
-
},
|
|
541
|
+
}, U.isProfiler = function(v) {
|
|
542
542
|
return T(v) === i;
|
|
543
|
-
},
|
|
543
|
+
}, U.isStrictMode = function(v) {
|
|
544
544
|
return T(v) === a;
|
|
545
|
-
},
|
|
545
|
+
}, U.isSuspense = function(v) {
|
|
546
546
|
return T(v) === d;
|
|
547
|
-
},
|
|
547
|
+
}, U.isValidElementType = function(v) {
|
|
548
548
|
return typeof v == "string" || typeof v == "function" || v === n || v === s || v === i || v === a || v === d || v === b || typeof v == "object" && v !== null && (v.$$typeof === m || v.$$typeof === g || v.$$typeof === o || v.$$typeof === u || v.$$typeof === l || v.$$typeof === x || v.$$typeof === w || v.$$typeof === R || v.$$typeof === h);
|
|
549
|
-
},
|
|
549
|
+
}, U.typeOf = T, U;
|
|
550
550
|
}
|
|
551
551
|
var G = {};
|
|
552
552
|
/** @license React v16.13.1
|
|
@@ -610,7 +610,7 @@ function ca() {
|
|
|
610
610
|
function I(p) {
|
|
611
611
|
return S(p) === o;
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function N(p) {
|
|
614
614
|
return typeof p == "object" && p !== null && p.$$typeof === r;
|
|
615
615
|
}
|
|
616
616
|
function O(p) {
|
|
@@ -619,10 +619,10 @@ function ca() {
|
|
|
619
619
|
function L(p) {
|
|
620
620
|
return S(p) === n;
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function $(p) {
|
|
623
623
|
return S(p) === m;
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function k(p) {
|
|
626
626
|
return S(p) === g;
|
|
627
627
|
}
|
|
628
628
|
function F(p) {
|
|
@@ -637,7 +637,7 @@ function ca() {
|
|
|
637
637
|
function re(p) {
|
|
638
638
|
return S(p) === d;
|
|
639
639
|
}
|
|
640
|
-
G.AsyncMode = v, G.ConcurrentMode = A, G.ContextConsumer = P, G.ContextProvider = K, G.Element = me, G.ForwardRef = le, G.Fragment = ne, G.Lazy = he, G.Memo = V, G.Portal = Q, G.Profiler = de, G.StrictMode = ae, G.Suspense = Ee, G.isAsyncMode = ye, G.isConcurrentMode = y, G.isContextConsumer = E, G.isContextProvider = I, G.isElement =
|
|
640
|
+
G.AsyncMode = v, G.ConcurrentMode = A, G.ContextConsumer = P, G.ContextProvider = K, G.Element = me, G.ForwardRef = le, G.Fragment = ne, G.Lazy = he, G.Memo = V, G.Portal = Q, G.Profiler = de, G.StrictMode = ae, G.Suspense = Ee, G.isAsyncMode = ye, G.isConcurrentMode = y, G.isContextConsumer = E, G.isContextProvider = I, G.isElement = N, G.isForwardRef = O, G.isFragment = L, G.isLazy = $, G.isMemo = k, G.isPortal = F, G.isProfiler = q, G.isStrictMode = D, G.isSuspense = re, G.isValidElementType = T, G.typeOf = S;
|
|
641
641
|
}()), G;
|
|
642
642
|
}
|
|
643
643
|
var Rt;
|
|
@@ -706,10 +706,10 @@ var Ar, jt;
|
|
|
706
706
|
function xn() {
|
|
707
707
|
return jt || (jt = 1, Ar = Function.call.bind(Object.prototype.hasOwnProperty)), Ar;
|
|
708
708
|
}
|
|
709
|
-
var jr,
|
|
709
|
+
var jr, Nt;
|
|
710
710
|
function la() {
|
|
711
|
-
if (
|
|
712
|
-
|
|
711
|
+
if (Nt) return jr;
|
|
712
|
+
Nt = 1;
|
|
713
713
|
var e = function() {
|
|
714
714
|
};
|
|
715
715
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -755,10 +755,10 @@ function la() {
|
|
|
755
755
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
756
756
|
}, jr = a, jr;
|
|
757
757
|
}
|
|
758
|
-
var
|
|
758
|
+
var Nr, $t;
|
|
759
759
|
function da() {
|
|
760
|
-
if (
|
|
761
|
-
|
|
760
|
+
if ($t) return Nr;
|
|
761
|
+
$t = 1;
|
|
762
762
|
var e = En(), r = fa(), t = /* @__PURE__ */ ut(), n = /* @__PURE__ */ xn(), a = /* @__PURE__ */ la(), i = function() {
|
|
763
763
|
};
|
|
764
764
|
process.env.NODE_ENV !== "production" && (i = function(u) {
|
|
@@ -772,7 +772,7 @@ function da() {
|
|
|
772
772
|
function o() {
|
|
773
773
|
return null;
|
|
774
774
|
}
|
|
775
|
-
return
|
|
775
|
+
return Nr = function(u, c) {
|
|
776
776
|
var s = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
|
|
777
777
|
function d(y) {
|
|
778
778
|
var E = y && (s && y[s] || y[l]);
|
|
@@ -810,33 +810,33 @@ function da() {
|
|
|
810
810
|
function x(y) {
|
|
811
811
|
if (process.env.NODE_ENV !== "production")
|
|
812
812
|
var E = {}, I = 0;
|
|
813
|
-
function
|
|
814
|
-
if (F = F || b, D = D ||
|
|
813
|
+
function N(L, $, k, F, q, D, re) {
|
|
814
|
+
if (F = F || b, D = D || k, re !== t) {
|
|
815
815
|
if (c) {
|
|
816
816
|
var p = new Error(
|
|
817
817
|
"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"
|
|
818
818
|
);
|
|
819
819
|
throw p.name = "Invariant Violation", p;
|
|
820
820
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
821
|
-
var ie = F + ":" +
|
|
821
|
+
var ie = F + ":" + k;
|
|
822
822
|
!E[ie] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
823
823
|
I < 3 && (i(
|
|
824
824
|
"You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + F + "`. 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."
|
|
825
825
|
), E[ie] = !0, I++);
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
|
-
return k
|
|
828
|
+
return $[k] == null ? L ? $[k] === null ? new h("The " + q + " `" + D + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new h("The " + q + " `" + D + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : y($, k, F, q, D);
|
|
829
829
|
}
|
|
830
|
-
var O =
|
|
831
|
-
return O.isRequired =
|
|
830
|
+
var O = N.bind(null, !1);
|
|
831
|
+
return O.isRequired = N.bind(null, !0), O;
|
|
832
832
|
}
|
|
833
833
|
function w(y) {
|
|
834
|
-
function E(I,
|
|
835
|
-
var F = I[
|
|
834
|
+
function E(I, N, O, L, $, k) {
|
|
835
|
+
var F = I[N], q = ae(F);
|
|
836
836
|
if (q !== y) {
|
|
837
837
|
var D = Ee(F);
|
|
838
838
|
return new h(
|
|
839
|
-
"Invalid " + L + " `" +
|
|
839
|
+
"Invalid " + L + " `" + $ + "` of type " + ("`" + D + "` supplied to `" + O + "`, expected ") + ("`" + y + "`."),
|
|
840
840
|
{ expectedType: y }
|
|
841
841
|
);
|
|
842
842
|
}
|
|
@@ -848,16 +848,16 @@ function da() {
|
|
|
848
848
|
return x(o);
|
|
849
849
|
}
|
|
850
850
|
function T(y) {
|
|
851
|
-
function E(I,
|
|
851
|
+
function E(I, N, O, L, $) {
|
|
852
852
|
if (typeof y != "function")
|
|
853
|
-
return new h("Property `" +
|
|
854
|
-
var
|
|
855
|
-
if (!Array.isArray(
|
|
856
|
-
var F = ae(
|
|
857
|
-
return new h("Invalid " + L + " `" +
|
|
853
|
+
return new h("Property `" + $ + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
854
|
+
var k = I[N];
|
|
855
|
+
if (!Array.isArray(k)) {
|
|
856
|
+
var F = ae(k);
|
|
857
|
+
return new h("Invalid " + L + " `" + $ + "` of type " + ("`" + F + "` supplied to `" + O + "`, expected an array."));
|
|
858
858
|
}
|
|
859
|
-
for (var q = 0; q <
|
|
860
|
-
var D = y(
|
|
859
|
+
for (var q = 0; q < k.length; q++) {
|
|
860
|
+
var D = y(k, q, O, L, $ + "[" + q + "]", t);
|
|
861
861
|
if (D instanceof Error)
|
|
862
862
|
return D;
|
|
863
863
|
}
|
|
@@ -866,32 +866,32 @@ function da() {
|
|
|
866
866
|
return x(E);
|
|
867
867
|
}
|
|
868
868
|
function S() {
|
|
869
|
-
function y(E, I,
|
|
870
|
-
var
|
|
871
|
-
if (!u(
|
|
872
|
-
var
|
|
873
|
-
return new h("Invalid " + O + " `" + L + "` of type " + ("`" +
|
|
869
|
+
function y(E, I, N, O, L) {
|
|
870
|
+
var $ = E[I];
|
|
871
|
+
if (!u($)) {
|
|
872
|
+
var k = ae($);
|
|
873
|
+
return new h("Invalid " + O + " `" + L + "` of type " + ("`" + k + "` supplied to `" + N + "`, expected a single ReactElement."));
|
|
874
874
|
}
|
|
875
875
|
return null;
|
|
876
876
|
}
|
|
877
877
|
return x(y);
|
|
878
878
|
}
|
|
879
879
|
function v() {
|
|
880
|
-
function y(E, I,
|
|
881
|
-
var
|
|
882
|
-
if (!e.isValidElementType(
|
|
883
|
-
var
|
|
884
|
-
return new h("Invalid " + O + " `" + L + "` of type " + ("`" +
|
|
880
|
+
function y(E, I, N, O, L) {
|
|
881
|
+
var $ = E[I];
|
|
882
|
+
if (!e.isValidElementType($)) {
|
|
883
|
+
var k = ae($);
|
|
884
|
+
return new h("Invalid " + O + " `" + L + "` of type " + ("`" + k + "` supplied to `" + N + "`, expected a single ReactElement type."));
|
|
885
885
|
}
|
|
886
886
|
return null;
|
|
887
887
|
}
|
|
888
888
|
return x(y);
|
|
889
889
|
}
|
|
890
890
|
function A(y) {
|
|
891
|
-
function E(I,
|
|
892
|
-
if (!(I[
|
|
893
|
-
var
|
|
894
|
-
return new h("Invalid " + L + " `" +
|
|
891
|
+
function E(I, N, O, L, $) {
|
|
892
|
+
if (!(I[N] instanceof y)) {
|
|
893
|
+
var k = y.name || b, F = ye(I[N]);
|
|
894
|
+
return new h("Invalid " + L + " `" + $ + "` of type " + ("`" + F + "` supplied to `" + O + "`, expected ") + ("instance of `" + k + "`."));
|
|
895
895
|
}
|
|
896
896
|
return null;
|
|
897
897
|
}
|
|
@@ -902,28 +902,28 @@ function da() {
|
|
|
902
902
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
903
903
|
"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])."
|
|
904
904
|
) : i("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
905
|
-
function E(I,
|
|
906
|
-
for (var
|
|
907
|
-
if (m(
|
|
905
|
+
function E(I, N, O, L, $) {
|
|
906
|
+
for (var k = I[N], F = 0; F < y.length; F++)
|
|
907
|
+
if (m(k, y[F]))
|
|
908
908
|
return null;
|
|
909
909
|
var q = JSON.stringify(y, function(re, p) {
|
|
910
910
|
var ie = Ee(p);
|
|
911
911
|
return ie === "symbol" ? String(p) : p;
|
|
912
912
|
});
|
|
913
|
-
return new h("Invalid " + L + " `" +
|
|
913
|
+
return new h("Invalid " + L + " `" + $ + "` of value `" + String(k) + "` " + ("supplied to `" + O + "`, expected one of " + q + "."));
|
|
914
914
|
}
|
|
915
915
|
return x(E);
|
|
916
916
|
}
|
|
917
917
|
function K(y) {
|
|
918
|
-
function E(I,
|
|
918
|
+
function E(I, N, O, L, $) {
|
|
919
919
|
if (typeof y != "function")
|
|
920
|
-
return new h("Property `" +
|
|
921
|
-
var
|
|
920
|
+
return new h("Property `" + $ + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
|
|
921
|
+
var k = I[N], F = ae(k);
|
|
922
922
|
if (F !== "object")
|
|
923
|
-
return new h("Invalid " + L + " `" +
|
|
924
|
-
for (var q in
|
|
925
|
-
if (n(
|
|
926
|
-
var D = y(
|
|
923
|
+
return new h("Invalid " + L + " `" + $ + "` of type " + ("`" + F + "` supplied to `" + O + "`, expected an object."));
|
|
924
|
+
for (var q in k)
|
|
925
|
+
if (n(k, q)) {
|
|
926
|
+
var D = y(k, q, O, L, $ + "." + q, t);
|
|
927
927
|
if (D instanceof Error)
|
|
928
928
|
return D;
|
|
929
929
|
}
|
|
@@ -941,39 +941,39 @@ function da() {
|
|
|
941
941
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + _e(I) + " at index " + E + "."
|
|
942
942
|
), o;
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function N(O, L, $, k, F) {
|
|
945
945
|
for (var q = [], D = 0; D < y.length; D++) {
|
|
946
|
-
var re = y[D], p = re(O, L, k,
|
|
946
|
+
var re = y[D], p = re(O, L, $, k, F, t);
|
|
947
947
|
if (p == null)
|
|
948
948
|
return null;
|
|
949
949
|
p.data && n(p.data, "expectedType") && q.push(p.data.expectedType);
|
|
950
950
|
}
|
|
951
951
|
var ie = q.length > 0 ? ", expected one of type [" + q.join(", ") + "]" : "";
|
|
952
|
-
return new h("Invalid " +
|
|
952
|
+
return new h("Invalid " + k + " `" + F + "` supplied to " + ("`" + $ + "`" + ie + "."));
|
|
953
953
|
}
|
|
954
|
-
return x(
|
|
954
|
+
return x(N);
|
|
955
955
|
}
|
|
956
956
|
function le() {
|
|
957
|
-
function y(E, I,
|
|
958
|
-
return Q(E[I]) ? null : new h("Invalid " + O + " `" + L + "` supplied to " + ("`" +
|
|
957
|
+
function y(E, I, N, O, L) {
|
|
958
|
+
return Q(E[I]) ? null : new h("Invalid " + O + " `" + L + "` supplied to " + ("`" + N + "`, expected a ReactNode."));
|
|
959
959
|
}
|
|
960
960
|
return x(y);
|
|
961
961
|
}
|
|
962
|
-
function ne(y, E, I,
|
|
962
|
+
function ne(y, E, I, N, O) {
|
|
963
963
|
return new h(
|
|
964
|
-
(y || "React class") + ": " + E + " type `" + I + "." +
|
|
964
|
+
(y || "React class") + ": " + E + " type `" + I + "." + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
965
965
|
);
|
|
966
966
|
}
|
|
967
967
|
function he(y) {
|
|
968
|
-
function E(I,
|
|
969
|
-
var
|
|
968
|
+
function E(I, N, O, L, $) {
|
|
969
|
+
var k = I[N], F = ae(k);
|
|
970
970
|
if (F !== "object")
|
|
971
|
-
return new h("Invalid " + L + " `" +
|
|
971
|
+
return new h("Invalid " + L + " `" + $ + "` of type `" + F + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
972
972
|
for (var q in y) {
|
|
973
973
|
var D = y[q];
|
|
974
974
|
if (typeof D != "function")
|
|
975
|
-
return ne(O, L,
|
|
976
|
-
var re = D(
|
|
975
|
+
return ne(O, L, $, q, Ee(D));
|
|
976
|
+
var re = D(k, q, O, L, $ + "." + q, t);
|
|
977
977
|
if (re)
|
|
978
978
|
return re;
|
|
979
979
|
}
|
|
@@ -982,21 +982,21 @@ function da() {
|
|
|
982
982
|
return x(E);
|
|
983
983
|
}
|
|
984
984
|
function V(y) {
|
|
985
|
-
function E(I,
|
|
986
|
-
var
|
|
985
|
+
function E(I, N, O, L, $) {
|
|
986
|
+
var k = I[N], F = ae(k);
|
|
987
987
|
if (F !== "object")
|
|
988
|
-
return new h("Invalid " + L + " `" +
|
|
989
|
-
var q = r({}, I[
|
|
988
|
+
return new h("Invalid " + L + " `" + $ + "` of type `" + F + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
989
|
+
var q = r({}, I[N], y);
|
|
990
990
|
for (var D in q) {
|
|
991
991
|
var re = y[D];
|
|
992
992
|
if (n(y, D) && typeof re != "function")
|
|
993
|
-
return ne(O, L,
|
|
993
|
+
return ne(O, L, $, D, Ee(re));
|
|
994
994
|
if (!re)
|
|
995
995
|
return new h(
|
|
996
|
-
"Invalid " + L + " `" +
|
|
996
|
+
"Invalid " + L + " `" + $ + "` key `" + D + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(I[N], null, " ") + `
|
|
997
997
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
998
998
|
);
|
|
999
|
-
var p = re(
|
|
999
|
+
var p = re(k, D, O, L, $ + "." + D, t);
|
|
1000
1000
|
if (p)
|
|
1001
1001
|
return p;
|
|
1002
1002
|
}
|
|
@@ -1019,14 +1019,14 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1019
1019
|
return !0;
|
|
1020
1020
|
var E = d(y);
|
|
1021
1021
|
if (E) {
|
|
1022
|
-
var I = E.call(y),
|
|
1022
|
+
var I = E.call(y), N;
|
|
1023
1023
|
if (E !== y.entries) {
|
|
1024
|
-
for (; !(
|
|
1025
|
-
if (!Q(
|
|
1024
|
+
for (; !(N = I.next()).done; )
|
|
1025
|
+
if (!Q(N.value))
|
|
1026
1026
|
return !1;
|
|
1027
1027
|
} else
|
|
1028
|
-
for (; !(
|
|
1029
|
-
var O =
|
|
1028
|
+
for (; !(N = I.next()).done; ) {
|
|
1029
|
+
var O = N.value;
|
|
1030
1030
|
if (O && !Q(O[1]))
|
|
1031
1031
|
return !1;
|
|
1032
1032
|
}
|
|
@@ -1074,18 +1074,18 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1074
1074
|
return !y.constructor || !y.constructor.name ? b : y.constructor.name;
|
|
1075
1075
|
}
|
|
1076
1076
|
return g.checkPropTypes = a, g.resetWarningCache = a.resetWarningCache, g.PropTypes = g, g;
|
|
1077
|
-
},
|
|
1077
|
+
}, Nr;
|
|
1078
1078
|
}
|
|
1079
|
-
var
|
|
1079
|
+
var $r, kt;
|
|
1080
1080
|
function va() {
|
|
1081
|
-
if (
|
|
1082
|
-
|
|
1081
|
+
if (kt) return $r;
|
|
1082
|
+
kt = 1;
|
|
1083
1083
|
var e = /* @__PURE__ */ ut();
|
|
1084
1084
|
function r() {
|
|
1085
1085
|
}
|
|
1086
1086
|
function t() {
|
|
1087
1087
|
}
|
|
1088
|
-
return t.resetWarningCache = r,
|
|
1088
|
+
return t.resetWarningCache = r, $r = function() {
|
|
1089
1089
|
function n(o, u, c, s, l, d) {
|
|
1090
1090
|
if (d !== e) {
|
|
1091
1091
|
var b = new Error(
|
|
@@ -1122,7 +1122,7 @@ function va() {
|
|
|
1122
1122
|
resetWarningCache: r
|
|
1123
1123
|
};
|
|
1124
1124
|
return i.PropTypes = i, i;
|
|
1125
|
-
},
|
|
1125
|
+
}, $r;
|
|
1126
1126
|
}
|
|
1127
1127
|
var Mt;
|
|
1128
1128
|
function pa() {
|
|
@@ -1170,20 +1170,20 @@ var ba = process.env.NODE_ENV !== "production" ? j.oneOfType([j.number, j.shape(
|
|
|
1170
1170
|
const Tn = Ae.createContext(null);
|
|
1171
1171
|
var Sn = function(r) {
|
|
1172
1172
|
return r.scrollTop;
|
|
1173
|
-
}, Ke = "unmounted",
|
|
1173
|
+
}, Ke = "unmounted", ke = "exited", Me = "entering", qe = "entered", et = "exiting", Ce = /* @__PURE__ */ function(e) {
|
|
1174
1174
|
bn(r, e);
|
|
1175
1175
|
function r(n, a) {
|
|
1176
1176
|
var i;
|
|
1177
1177
|
i = e.call(this, n, a) || this;
|
|
1178
1178
|
var o = a, u = o && !o.isMounting ? n.enter : n.appear, c;
|
|
1179
|
-
return i.appearStatus = null, n.in ? u ? (c =
|
|
1179
|
+
return i.appearStatus = null, n.in ? u ? (c = ke, i.appearStatus = Me) : c = qe : n.unmountOnExit || n.mountOnEnter ? c = Ke : c = ke, i.state = {
|
|
1180
1180
|
status: c
|
|
1181
1181
|
}, i.nextCallback = null, i;
|
|
1182
1182
|
}
|
|
1183
1183
|
r.getDerivedStateFromProps = function(a, i) {
|
|
1184
1184
|
var o = a.in;
|
|
1185
1185
|
return o && i.status === Ke ? {
|
|
1186
|
-
status:
|
|
1186
|
+
status: ke
|
|
1187
1187
|
} : null;
|
|
1188
1188
|
};
|
|
1189
1189
|
var t = r.prototype;
|
|
@@ -1215,7 +1215,7 @@ var Sn = function(r) {
|
|
|
1215
1215
|
this.performEnter(a);
|
|
1216
1216
|
} else
|
|
1217
1217
|
this.performExit();
|
|
1218
|
-
else this.props.unmountOnExit && this.state.status ===
|
|
1218
|
+
else this.props.unmountOnExit && this.state.status === ke && this.setState({
|
|
1219
1219
|
status: Ke
|
|
1220
1220
|
});
|
|
1221
1221
|
}, t.performEnter = function(a) {
|
|
@@ -1243,7 +1243,7 @@ var Sn = function(r) {
|
|
|
1243
1243
|
var a = this, i = this.props.exit, o = this.getTimeouts(), u = this.props.nodeRef ? void 0 : ur.findDOMNode(this);
|
|
1244
1244
|
if (!i || Lt.disabled) {
|
|
1245
1245
|
this.safeSetState({
|
|
1246
|
-
status:
|
|
1246
|
+
status: ke
|
|
1247
1247
|
}, function() {
|
|
1248
1248
|
a.props.onExited(u);
|
|
1249
1249
|
});
|
|
@@ -1254,7 +1254,7 @@ var Sn = function(r) {
|
|
|
1254
1254
|
}, function() {
|
|
1255
1255
|
a.props.onExiting(u), a.onTransitionEnd(o.exit, function() {
|
|
1256
1256
|
a.safeSetState({
|
|
1257
|
-
status:
|
|
1257
|
+
status: ke
|
|
1258
1258
|
}, function() {
|
|
1259
1259
|
a.props.onExited(u);
|
|
1260
1260
|
});
|
|
@@ -1485,7 +1485,7 @@ Ce.defaultProps = {
|
|
|
1485
1485
|
onExited: Fe
|
|
1486
1486
|
};
|
|
1487
1487
|
Ce.UNMOUNTED = Ke;
|
|
1488
|
-
Ce.EXITED =
|
|
1488
|
+
Ce.EXITED = ke;
|
|
1489
1489
|
Ce.ENTERING = Me;
|
|
1490
1490
|
Ce.ENTERED = qe;
|
|
1491
1491
|
Ce.EXITING = et;
|
|
@@ -1493,7 +1493,7 @@ var xa = function(r, t) {
|
|
|
1493
1493
|
return r && t && t.split(" ").forEach(function(n) {
|
|
1494
1494
|
return ya(r, n);
|
|
1495
1495
|
});
|
|
1496
|
-
},
|
|
1496
|
+
}, kr = function(r, t) {
|
|
1497
1497
|
return r && t && t.split(" ").forEach(function(n) {
|
|
1498
1498
|
return ga(r, n);
|
|
1499
1499
|
});
|
|
@@ -1541,7 +1541,7 @@ var xa = function(r, t) {
|
|
|
1541
1541
|
i === "appear" && o === "done" && s && (u += " " + s), o === "active" && a && Sn(a), u && (this.appliedClasses[i][o] = u, xa(a, u));
|
|
1542
1542
|
}, t.removeClasses = function(a, i) {
|
|
1543
1543
|
var o = this.appliedClasses[i], u = o.base, c = o.active, s = o.done;
|
|
1544
|
-
this.appliedClasses[i] = {}, u &&
|
|
1544
|
+
this.appliedClasses[i] = {}, u && kr(a, u), c && kr(a, c), s && kr(a, s);
|
|
1545
1545
|
}, t.render = function() {
|
|
1546
1546
|
var a = this.props;
|
|
1547
1547
|
a.classNames;
|
|
@@ -1733,7 +1733,7 @@ function _n(e) {
|
|
|
1733
1733
|
function Aa(e, r) {
|
|
1734
1734
|
return (e = r.exec(e)) ? e[0] : e;
|
|
1735
1735
|
}
|
|
1736
|
-
function
|
|
1736
|
+
function z(e, r, t) {
|
|
1737
1737
|
return e.replace(r, t);
|
|
1738
1738
|
}
|
|
1739
1739
|
function rt(e, r) {
|
|
@@ -1757,30 +1757,30 @@ function vr(e, r) {
|
|
|
1757
1757
|
function ja(e, r) {
|
|
1758
1758
|
return e.map(r).join("");
|
|
1759
1759
|
}
|
|
1760
|
-
var wr = 1, Ye = 1, On = 0, pe = 0, ee = 0,
|
|
1760
|
+
var wr = 1, Ye = 1, On = 0, pe = 0, ee = 0, Ue = "";
|
|
1761
1761
|
function Cr(e, r, t, n, a, i, o) {
|
|
1762
1762
|
return { value: e, root: r, parent: t, type: n, props: a, children: i, line: wr, column: Ye, length: o, return: "" };
|
|
1763
1763
|
}
|
|
1764
1764
|
function Ve(e, r) {
|
|
1765
1765
|
return Ra(Cr("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function Na() {
|
|
1768
1768
|
return ee;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1771
|
-
return ee = pe > 0 ? oe(
|
|
1770
|
+
function $a() {
|
|
1771
|
+
return ee = pe > 0 ? oe(Ue, --pe) : 0, Ye--, ee === 10 && (Ye = 1, wr--), ee;
|
|
1772
1772
|
}
|
|
1773
1773
|
function be() {
|
|
1774
|
-
return ee = pe < On ? oe(
|
|
1774
|
+
return ee = pe < On ? oe(Ue, pe++) : 0, Ye++, ee === 10 && (Ye = 1, wr++), ee;
|
|
1775
1775
|
}
|
|
1776
1776
|
function we() {
|
|
1777
|
-
return oe(
|
|
1777
|
+
return oe(Ue, pe);
|
|
1778
1778
|
}
|
|
1779
1779
|
function mr() {
|
|
1780
1780
|
return pe;
|
|
1781
1781
|
}
|
|
1782
1782
|
function ar(e, r) {
|
|
1783
|
-
return rr(
|
|
1783
|
+
return rr(Ue, e, r);
|
|
1784
1784
|
}
|
|
1785
1785
|
function tr(e) {
|
|
1786
1786
|
switch (e) {
|
|
@@ -1821,15 +1821,15 @@ function tr(e) {
|
|
|
1821
1821
|
return 0;
|
|
1822
1822
|
}
|
|
1823
1823
|
function Rn(e) {
|
|
1824
|
-
return wr = Ye = 1, On = Te(
|
|
1824
|
+
return wr = Ye = 1, On = Te(Ue = e), pe = 0, [];
|
|
1825
1825
|
}
|
|
1826
1826
|
function Pn(e) {
|
|
1827
|
-
return
|
|
1827
|
+
return Ue = "", e;
|
|
1828
1828
|
}
|
|
1829
1829
|
function hr(e) {
|
|
1830
1830
|
return _n(ar(pe - 1, tt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
1831
1831
|
}
|
|
1832
|
-
function
|
|
1832
|
+
function ka(e) {
|
|
1833
1833
|
for (; (ee = we()) && ee < 33; )
|
|
1834
1834
|
be();
|
|
1835
1835
|
return tr(e) > 2 || tr(ee) > 3 ? "" : " ";
|
|
@@ -1881,7 +1881,7 @@ function yr(e, r, t, n, a, i, o, u, c) {
|
|
|
1881
1881
|
// (
|
|
1882
1882
|
case 40:
|
|
1883
1883
|
if (m != 108 && oe(P, d - 1) == 58) {
|
|
1884
|
-
rt(P +=
|
|
1884
|
+
rt(P += z(hr(R), "&", "&\f"), "&\f") != -1 && (w = -1);
|
|
1885
1885
|
break;
|
|
1886
1886
|
}
|
|
1887
1887
|
// " ' [
|
|
@@ -1895,7 +1895,7 @@ function yr(e, r, t, n, a, i, o, u, c) {
|
|
|
1895
1895
|
case 10:
|
|
1896
1896
|
case 13:
|
|
1897
1897
|
case 32:
|
|
1898
|
-
P +=
|
|
1898
|
+
P += ka(m);
|
|
1899
1899
|
break;
|
|
1900
1900
|
// \
|
|
1901
1901
|
case 92:
|
|
@@ -1926,7 +1926,7 @@ function yr(e, r, t, n, a, i, o, u, c) {
|
|
|
1926
1926
|
x = 0;
|
|
1927
1927
|
// ;
|
|
1928
1928
|
case 59 + l:
|
|
1929
|
-
w == -1 && (P =
|
|
1929
|
+
w == -1 && (P = z(P, /\f/g, "")), g > 0 && Te(P) - d && vr(g > 32 ? Dt(P + ";", n, t, d - 1) : Dt(z(P, " ", "") + ";", n, t, d - 2), c);
|
|
1930
1930
|
break;
|
|
1931
1931
|
// @ ;
|
|
1932
1932
|
case 59:
|
|
@@ -1958,7 +1958,7 @@ function yr(e, r, t, n, a, i, o, u, c) {
|
|
|
1958
1958
|
if (h < 1) {
|
|
1959
1959
|
if (R == 123)
|
|
1960
1960
|
--h;
|
|
1961
|
-
else if (R == 125 && h++ == 0 &&
|
|
1961
|
+
else if (R == 125 && h++ == 0 && $a() == 125)
|
|
1962
1962
|
continue;
|
|
1963
1963
|
}
|
|
1964
1964
|
switch (P += Sr(R), R * h) {
|
|
@@ -1984,11 +1984,11 @@ function yr(e, r, t, n, a, i, o, u, c) {
|
|
|
1984
1984
|
function Ft(e, r, t, n, a, i, o, u, c, s, l) {
|
|
1985
1985
|
for (var d = a - 1, b = a === 0 ? i : [""], g = dt(b), m = 0, h = 0, x = 0; m < n; ++m)
|
|
1986
1986
|
for (var w = 0, R = rr(e, d + 1, d = Oa(h = o[m])), T = e; w < g; ++w)
|
|
1987
|
-
(T = _n(h > 0 ? b[w] + " " + R :
|
|
1987
|
+
(T = _n(h > 0 ? b[w] + " " + R : z(R, /&\f/g, b[w]))) && (c[x++] = T);
|
|
1988
1988
|
return Cr(e, r, t, a === 0 ? ft : u, c, s, l);
|
|
1989
1989
|
}
|
|
1990
1990
|
function Da(e, r, t) {
|
|
1991
|
-
return Cr(e, r, t, wn, Sr(
|
|
1991
|
+
return Cr(e, r, t, wn, Sr(Na()), rr(e, 2, -2), 0);
|
|
1992
1992
|
}
|
|
1993
1993
|
function Dt(e, r, t, n) {
|
|
1994
1994
|
return Cr(e, r, t, lt, rr(e, 0, n), rr(e, n + 1, -1), n);
|
|
@@ -2033,16 +2033,16 @@ function An(e) {
|
|
|
2033
2033
|
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
2034
2034
|
};
|
|
2035
2035
|
}
|
|
2036
|
-
var
|
|
2036
|
+
var za = function(r, t, n) {
|
|
2037
2037
|
for (var a = 0, i = 0; a = i, i = we(), a === 38 && i === 12 && (t[n] = 1), !tr(i); )
|
|
2038
2038
|
be();
|
|
2039
2039
|
return ar(r, pe);
|
|
2040
|
-
},
|
|
2040
|
+
}, Ua = function(r, t) {
|
|
2041
2041
|
var n = -1, a = 44;
|
|
2042
2042
|
do
|
|
2043
2043
|
switch (tr(a)) {
|
|
2044
2044
|
case 0:
|
|
2045
|
-
a === 38 && we() === 12 && (t[n] = 1), r[n] +=
|
|
2045
|
+
a === 38 && we() === 12 && (t[n] = 1), r[n] += za(pe - 1, t, n);
|
|
2046
2046
|
break;
|
|
2047
2047
|
case 2:
|
|
2048
2048
|
r[n] += hr(a);
|
|
@@ -2059,7 +2059,7 @@ var Ua = function(r, t, n) {
|
|
|
2059
2059
|
while (a = be());
|
|
2060
2060
|
return r;
|
|
2061
2061
|
}, Ga = function(r, t) {
|
|
2062
|
-
return Pn(
|
|
2062
|
+
return Pn(Ua(Rn(r), t));
|
|
2063
2063
|
}, qt = /* @__PURE__ */ new WeakMap(), Ha = function(r) {
|
|
2064
2064
|
if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
|
|
2065
2065
|
// negative .length indicates that this rule has been already prefixed
|
|
@@ -2132,41 +2132,41 @@ function jn(e, r) {
|
|
|
2132
2132
|
return Y + e + ue + "flex-" + e + e;
|
|
2133
2133
|
// align-items
|
|
2134
2134
|
case 5187:
|
|
2135
|
-
return Y + e +
|
|
2135
|
+
return Y + e + z(e, /(\w+).+(:[^]+)/, Y + "box-$1$2" + ue + "flex-$1$2") + e;
|
|
2136
2136
|
// align-self
|
|
2137
2137
|
case 5443:
|
|
2138
|
-
return Y + e + ue + "flex-item-" +
|
|
2138
|
+
return Y + e + ue + "flex-item-" + z(e, /flex-|-self/, "") + e;
|
|
2139
2139
|
// align-content
|
|
2140
2140
|
case 4675:
|
|
2141
|
-
return Y + e + ue + "flex-line-pack" +
|
|
2141
|
+
return Y + e + ue + "flex-line-pack" + z(e, /align-content|flex-|-self/, "") + e;
|
|
2142
2142
|
// flex-shrink
|
|
2143
2143
|
case 5548:
|
|
2144
|
-
return Y + e + ue +
|
|
2144
|
+
return Y + e + ue + z(e, "shrink", "negative") + e;
|
|
2145
2145
|
// flex-basis
|
|
2146
2146
|
case 5292:
|
|
2147
|
-
return Y + e + ue +
|
|
2147
|
+
return Y + e + ue + z(e, "basis", "preferred-size") + e;
|
|
2148
2148
|
// flex-grow
|
|
2149
2149
|
case 6060:
|
|
2150
|
-
return Y + "box-" +
|
|
2150
|
+
return Y + "box-" + z(e, "-grow", "") + Y + e + ue + z(e, "grow", "positive") + e;
|
|
2151
2151
|
// transition
|
|
2152
2152
|
case 4554:
|
|
2153
|
-
return Y +
|
|
2153
|
+
return Y + z(e, /([^-])(transform)/g, "$1" + Y + "$2") + e;
|
|
2154
2154
|
// cursor
|
|
2155
2155
|
case 6187:
|
|
2156
|
-
return
|
|
2156
|
+
return z(z(z(e, /(zoom-|grab)/, Y + "$1"), /(image-set)/, Y + "$1"), e, "") + e;
|
|
2157
2157
|
// background, background-image
|
|
2158
2158
|
case 5495:
|
|
2159
2159
|
case 3959:
|
|
2160
|
-
return
|
|
2160
|
+
return z(e, /(image-set\([^]*)/, Y + "$1$`$1");
|
|
2161
2161
|
// justify-content
|
|
2162
2162
|
case 4968:
|
|
2163
|
-
return
|
|
2163
|
+
return z(z(e, /(.+:)(flex-)?(.*)/, Y + "box-pack:$3" + ue + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Y + e + e;
|
|
2164
2164
|
// (margin|padding)-inline-(start|end)
|
|
2165
2165
|
case 4095:
|
|
2166
2166
|
case 3583:
|
|
2167
2167
|
case 4068:
|
|
2168
2168
|
case 2532:
|
|
2169
|
-
return
|
|
2169
|
+
return z(e, /(.+)-inline(.+)/, Y + "$1$2") + e;
|
|
2170
2170
|
// (min|max)?(width|height|inline-size|block-size)
|
|
2171
2171
|
case 8116:
|
|
2172
2172
|
case 7059:
|
|
@@ -2186,10 +2186,10 @@ function jn(e, r) {
|
|
|
2186
2186
|
if (oe(e, r + 4) !== 45) break;
|
|
2187
2187
|
// (f)ill-available, (f)it-content
|
|
2188
2188
|
case 102:
|
|
2189
|
-
return
|
|
2189
|
+
return z(e, /(.+:)(.+)-([^]+)/, "$1" + Y + "$2-$3$1" + Er + (oe(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
2190
2190
|
// (s)tretch
|
|
2191
2191
|
case 115:
|
|
2192
|
-
return ~rt(e, "stretch") ? jn(
|
|
2192
|
+
return ~rt(e, "stretch") ? jn(z(e, "stretch", "fill-available"), r) + e : e;
|
|
2193
2193
|
}
|
|
2194
2194
|
break;
|
|
2195
2195
|
// position: sticky
|
|
@@ -2200,10 +2200,10 @@ function jn(e, r) {
|
|
|
2200
2200
|
switch (oe(e, Te(e) - 3 - (~rt(e, "!important") && 10))) {
|
|
2201
2201
|
// stic(k)y
|
|
2202
2202
|
case 107:
|
|
2203
|
-
return
|
|
2203
|
+
return z(e, ":", ":" + Y) + e;
|
|
2204
2204
|
// (inline-)?fl(e)x
|
|
2205
2205
|
case 101:
|
|
2206
|
-
return
|
|
2206
|
+
return z(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Y + (oe(e, 14) === 45 ? "inline-" : "") + "box$3$1" + Y + "$2$3$1" + ue + "$2box$3") + e;
|
|
2207
2207
|
}
|
|
2208
2208
|
break;
|
|
2209
2209
|
// writing-mode
|
|
@@ -2211,13 +2211,13 @@ function jn(e, r) {
|
|
|
2211
2211
|
switch (oe(e, r + 11)) {
|
|
2212
2212
|
// vertical-l(r)
|
|
2213
2213
|
case 114:
|
|
2214
|
-
return Y + e + ue +
|
|
2214
|
+
return Y + e + ue + z(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
2215
2215
|
// vertical-r(l)
|
|
2216
2216
|
case 108:
|
|
2217
|
-
return Y + e + ue +
|
|
2217
|
+
return Y + e + ue + z(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
2218
2218
|
// horizontal(-)tb
|
|
2219
2219
|
case 45:
|
|
2220
|
-
return Y + e + ue +
|
|
2220
|
+
return Y + e + ue + z(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
2221
2221
|
}
|
|
2222
2222
|
return Y + e + ue + e + e;
|
|
2223
2223
|
}
|
|
@@ -2230,7 +2230,7 @@ var Va = function(r, t, n, a) {
|
|
|
2230
2230
|
break;
|
|
2231
2231
|
case Cn:
|
|
2232
2232
|
return We([Ve(r, {
|
|
2233
|
-
value:
|
|
2233
|
+
value: z(r.value, "@", "@" + Y)
|
|
2234
2234
|
})], a);
|
|
2235
2235
|
case ft:
|
|
2236
2236
|
if (r.length) return ja(r.props, function(i) {
|
|
@@ -2239,16 +2239,16 @@ var Va = function(r, t, n, a) {
|
|
|
2239
2239
|
case ":read-only":
|
|
2240
2240
|
case ":read-write":
|
|
2241
2241
|
return We([Ve(r, {
|
|
2242
|
-
props: [
|
|
2242
|
+
props: [z(i, /:(read-\w+)/, ":" + Er + "$1")]
|
|
2243
2243
|
})], a);
|
|
2244
2244
|
// :placeholder
|
|
2245
2245
|
case "::placeholder":
|
|
2246
2246
|
return We([Ve(r, {
|
|
2247
|
-
props: [
|
|
2247
|
+
props: [z(i, /:(plac\w+)/, ":" + Y + "input-$1")]
|
|
2248
2248
|
}), Ve(r, {
|
|
2249
|
-
props: [
|
|
2249
|
+
props: [z(i, /:(plac\w+)/, ":" + Er + "$1")]
|
|
2250
2250
|
}), Ve(r, {
|
|
2251
|
-
props: [
|
|
2251
|
+
props: [z(i, /:(plac\w+)/, ue + "input-$1")]
|
|
2252
2252
|
})], a);
|
|
2253
2253
|
}
|
|
2254
2254
|
return "";
|
|
@@ -2438,7 +2438,7 @@ function Za() {
|
|
|
2438
2438
|
function I(p) {
|
|
2439
2439
|
return S(p) === o;
|
|
2440
2440
|
}
|
|
2441
|
-
function
|
|
2441
|
+
function N(p) {
|
|
2442
2442
|
return typeof p == "object" && p !== null && p.$$typeof === r;
|
|
2443
2443
|
}
|
|
2444
2444
|
function O(p) {
|
|
@@ -2447,10 +2447,10 @@ function Za() {
|
|
|
2447
2447
|
function L(p) {
|
|
2448
2448
|
return S(p) === n;
|
|
2449
2449
|
}
|
|
2450
|
-
function
|
|
2450
|
+
function $(p) {
|
|
2451
2451
|
return S(p) === m;
|
|
2452
2452
|
}
|
|
2453
|
-
function
|
|
2453
|
+
function k(p) {
|
|
2454
2454
|
return S(p) === g;
|
|
2455
2455
|
}
|
|
2456
2456
|
function F(p) {
|
|
@@ -2465,17 +2465,17 @@ function Za() {
|
|
|
2465
2465
|
function re(p) {
|
|
2466
2466
|
return S(p) === d;
|
|
2467
2467
|
}
|
|
2468
|
-
B.AsyncMode = v, B.ConcurrentMode = A, B.ContextConsumer = P, B.ContextProvider = K, B.Element = me, B.ForwardRef = le, B.Fragment = ne, B.Lazy = he, B.Memo = V, B.Portal = Q, B.Profiler = de, B.StrictMode = ae, B.Suspense = Ee, B.isAsyncMode = ye, B.isConcurrentMode = y, B.isContextConsumer = E, B.isContextProvider = I, B.isElement =
|
|
2468
|
+
B.AsyncMode = v, B.ConcurrentMode = A, B.ContextConsumer = P, B.ContextProvider = K, B.Element = me, B.ForwardRef = le, B.Fragment = ne, B.Lazy = he, B.Memo = V, B.Portal = Q, B.Profiler = de, B.StrictMode = ae, B.Suspense = Ee, B.isAsyncMode = ye, B.isConcurrentMode = y, B.isContextConsumer = E, B.isContextProvider = I, B.isElement = N, B.isForwardRef = O, B.isFragment = L, B.isLazy = $, B.isMemo = k, B.isPortal = F, B.isProfiler = q, B.isStrictMode = D, B.isSuspense = re, B.isValidElementType = T, B.typeOf = S;
|
|
2469
2469
|
}()), B;
|
|
2470
2470
|
}
|
|
2471
|
-
var
|
|
2471
|
+
var zt;
|
|
2472
2472
|
function Qa() {
|
|
2473
|
-
return
|
|
2473
|
+
return zt || (zt = 1, process.env.NODE_ENV === "production" ? pr.exports = Ka() : pr.exports = Za()), pr.exports;
|
|
2474
2474
|
}
|
|
2475
|
-
var Mr,
|
|
2475
|
+
var Mr, Ut;
|
|
2476
2476
|
function ei() {
|
|
2477
|
-
if (
|
|
2478
|
-
|
|
2477
|
+
if (Ut) return Mr;
|
|
2478
|
+
Ut = 1;
|
|
2479
2479
|
var e = Qa(), r = {
|
|
2480
2480
|
childContextTypes: !0,
|
|
2481
2481
|
contextType: !0,
|
|
@@ -2540,7 +2540,7 @@ function ei() {
|
|
|
2540
2540
|
}
|
|
2541
2541
|
ei();
|
|
2542
2542
|
var ri = !0;
|
|
2543
|
-
function
|
|
2543
|
+
function Nn(e, r, t) {
|
|
2544
2544
|
var n = "";
|
|
2545
2545
|
return t.split(" ").forEach(function(a) {
|
|
2546
2546
|
e[a] !== void 0 ? r.push(e[a] + ";") : a && (n += a + " ");
|
|
@@ -2558,7 +2558,7 @@ var vt = function(r, t, n) {
|
|
|
2558
2558
|
// the registered cache to know whether a style is global or not
|
|
2559
2559
|
// also, note that this check will be dead code eliminated in the browser
|
|
2560
2560
|
ri === !1) && r.registered[a] === void 0 && (r.registered[a] = t.styles);
|
|
2561
|
-
},
|
|
2561
|
+
}, $n = function(r, t, n) {
|
|
2562
2562
|
vt(r, t, n);
|
|
2563
2563
|
var a = r.key + "-" + t.name;
|
|
2564
2564
|
if (r.inserted[t.name] === void 0) {
|
|
@@ -2636,12 +2636,12 @@ var ni = {
|
|
|
2636
2636
|
strokeMiterlimit: 1,
|
|
2637
2637
|
strokeOpacity: 1,
|
|
2638
2638
|
strokeWidth: 1
|
|
2639
|
-
}, ai = /[A-Z]|^ms/g, ii = /_EMO_([^_]+?)_([^]*?)_EMO_/g,
|
|
2639
|
+
}, ai = /[A-Z]|^ms/g, ii = /_EMO_([^_]+?)_([^]*?)_EMO_/g, kn = function(r) {
|
|
2640
2640
|
return r.charCodeAt(1) === 45;
|
|
2641
2641
|
}, Gt = function(r) {
|
|
2642
2642
|
return r != null && typeof r != "boolean";
|
|
2643
2643
|
}, Ir = /* @__PURE__ */ An(function(e) {
|
|
2644
|
-
return
|
|
2644
|
+
return kn(e) ? e : e.replace(ai, "-$&").toLowerCase();
|
|
2645
2645
|
}), Ht = function(r, t) {
|
|
2646
2646
|
switch (r) {
|
|
2647
2647
|
case "animation":
|
|
@@ -2655,7 +2655,7 @@ var ni = {
|
|
|
2655
2655
|
}, a;
|
|
2656
2656
|
});
|
|
2657
2657
|
}
|
|
2658
|
-
return ni[r] !== 1 && !
|
|
2658
|
+
return ni[r] !== 1 && !kn(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
2659
2659
|
};
|
|
2660
2660
|
function nr(e, r, t) {
|
|
2661
2661
|
if (t == null)
|
|
@@ -2787,13 +2787,13 @@ var Ln = function(r) {
|
|
|
2787
2787
|
}, fi = function(r) {
|
|
2788
2788
|
var t = r.cache, n = r.serialized, a = r.isStringTag;
|
|
2789
2789
|
return vt(t, n, a), Mn(function() {
|
|
2790
|
-
return
|
|
2790
|
+
return $n(t, n, a);
|
|
2791
2791
|
}), null;
|
|
2792
2792
|
}, li = /* @__PURE__ */ Ln(function(e, r, t) {
|
|
2793
2793
|
var n = e.css;
|
|
2794
2794
|
typeof n == "string" && r.registered[n] !== void 0 && (n = r.registered[n]);
|
|
2795
2795
|
var a = e[nt], i = [n], o = "";
|
|
2796
|
-
typeof e.className == "string" ? o =
|
|
2796
|
+
typeof e.className == "string" ? o = Nn(r.registered, i, e.className) : e.className != null && (o = e.className + " ");
|
|
2797
2797
|
var u = pt(i, void 0, fe.useContext(Fn));
|
|
2798
2798
|
o += r.key + "-" + u.name;
|
|
2799
2799
|
var c = {};
|
|
@@ -2858,7 +2858,7 @@ var mi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
2858
2858
|
}, bi = function(r) {
|
|
2859
2859
|
var t = r.cache, n = r.serialized, a = r.isStringTag;
|
|
2860
2860
|
return vt(t, n, a), Mn(function() {
|
|
2861
|
-
return
|
|
2861
|
+
return $n(t, n, a);
|
|
2862
2862
|
}), null;
|
|
2863
2863
|
}, Ei = function e(r, t) {
|
|
2864
2864
|
var n = r.__emotion_real === r, a = n && r.__emotion_base || r, i, o;
|
|
@@ -2882,7 +2882,7 @@ var mi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
2882
2882
|
A[P] = x[P];
|
|
2883
2883
|
A.theme = fe.useContext(Fn);
|
|
2884
2884
|
}
|
|
2885
|
-
typeof x.className == "string" ? S =
|
|
2885
|
+
typeof x.className == "string" ? S = Nn(w.registered, v, x.className) : x.className != null && (S = x.className + " ");
|
|
2886
2886
|
var K = pt(d.concat(v), w.registered, A);
|
|
2887
2887
|
S += w.key + "-" + K.name, o !== void 0 && (S += " " + o);
|
|
2888
2888
|
var me = s && u === void 0 ? Xt(T) : c, le = {};
|
|
@@ -3041,39 +3041,69 @@ var mi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
3041
3041
|
"svg",
|
|
3042
3042
|
"text",
|
|
3043
3043
|
"tspan"
|
|
3044
|
-
],
|
|
3044
|
+
], ze = Ei.bind(null);
|
|
3045
3045
|
xi.forEach(function(e) {
|
|
3046
|
-
|
|
3046
|
+
ze[e] = ze(e);
|
|
3047
3047
|
});
|
|
3048
3048
|
let Ti = (e) => {
|
|
3049
3049
|
console.warn("GlobalLoading 未被引入,你可以直接使用 App 组件,或直接引用 GlobalLoading 组件到项目中!");
|
|
3050
3050
|
};
|
|
3051
|
-
const Si =
|
|
3051
|
+
const Si = pi`
|
|
3052
|
+
0% { transform: rotate(0deg) translateX(35px) rotate(0deg); }
|
|
3053
|
+
50% { transform: rotate(360deg) translateX(35px) rotate(-360deg); }
|
|
3054
|
+
100% { transform: rotate(360deg) translateX(35px) rotate(-360deg); }
|
|
3055
|
+
`, wi = ze.div`
|
|
3052
3056
|
position: fixed;
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3057
|
+
top: 0;
|
|
3058
|
+
left: 0;
|
|
3059
|
+
z-index: 999999;
|
|
3056
3060
|
display: flex;
|
|
3057
3061
|
align-items: center;
|
|
3058
3062
|
justify-content: center;
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3063
|
+
width: 100%;
|
|
3064
|
+
height: 100%;
|
|
3065
|
+
background: rgba(0, 0, 0, 0.3);
|
|
3066
|
+
opacity: 1;
|
|
3067
|
+
transition: opacity 500ms;
|
|
3068
|
+
&.global-loading-transition-enter {
|
|
3069
|
+
opacity: 0;
|
|
3070
|
+
}
|
|
3071
|
+
&.global-loading-transition-enter-active {
|
|
3072
|
+
opacity: 1;
|
|
3073
|
+
}
|
|
3074
|
+
&.global-loading-transition-exit {
|
|
3075
|
+
opacity: 1;
|
|
3076
|
+
}
|
|
3077
|
+
&.global-loading-transition-exit-active {
|
|
3078
|
+
opacity: 0;
|
|
3079
|
+
}
|
|
3080
|
+
`, Ci = ze.div`
|
|
3081
|
+
width: 120px;
|
|
3082
|
+
height: 120px;
|
|
3083
|
+
position: relative;
|
|
3062
3084
|
filter: url('#goo');
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3085
|
+
margin: auto;
|
|
3086
|
+
transform: rotateZ(-90deg);
|
|
3087
|
+
display: flex;
|
|
3088
|
+
justify-content: center;
|
|
3089
|
+
align-items: center;
|
|
3090
|
+
`, Xe = ze.div(
|
|
3091
|
+
({ size: e, delay: r }) => ({
|
|
3092
|
+
position: "absolute",
|
|
3093
|
+
margin: "auto",
|
|
3094
|
+
borderRadius: "50%",
|
|
3095
|
+
// backgroundImage: ' linear-gradient(#0060a7 10%, #1d77b3 100%)',
|
|
3096
|
+
backgroundImage: " linear-gradient(var(--color-primary) 10%, var(--color-primary-hover) 100%)",
|
|
3097
|
+
transform: "rotate(0deg) translateX(35px) rotate(0deg)",
|
|
3098
|
+
width: e,
|
|
3099
|
+
height: e,
|
|
3100
|
+
animation: `${Si} 4s ease-in-out infinite`,
|
|
3101
|
+
animationDelay: r || "0s"
|
|
3102
|
+
})
|
|
3103
|
+
);
|
|
3074
3104
|
function _i() {
|
|
3075
3105
|
const e = J(null), [r, t] = ot(!1);
|
|
3076
|
-
return
|
|
3106
|
+
return Ne(() => {
|
|
3077
3107
|
Ti = (n) => {
|
|
3078
3108
|
t(n);
|
|
3079
3109
|
};
|
|
@@ -3085,13 +3115,13 @@ function _i() {
|
|
|
3085
3115
|
timeout: 500,
|
|
3086
3116
|
classNames: "global-loading-transition",
|
|
3087
3117
|
unmountOnExit: !0,
|
|
3088
|
-
children: () => /* @__PURE__ */ X.jsxs(
|
|
3089
|
-
/* @__PURE__ */ X.jsxs(
|
|
3090
|
-
/* @__PURE__ */ X.jsx(Xe, { delay: 0 }),
|
|
3091
|
-
/* @__PURE__ */ X.jsx(Xe, { delay: 0.
|
|
3092
|
-
/* @__PURE__ */ X.jsx(Xe, { delay: 0.
|
|
3093
|
-
/* @__PURE__ */ X.jsx(Xe, { delay: 0.
|
|
3094
|
-
/* @__PURE__ */ X.jsx(Xe, { delay: 0.
|
|
3118
|
+
children: () => /* @__PURE__ */ X.jsxs(wi, { ref: e, className: "global-loading", children: [
|
|
3119
|
+
/* @__PURE__ */ X.jsxs(Ci, { className: "global-loading-container", children: [
|
|
3120
|
+
/* @__PURE__ */ X.jsx(Xe, { className: "dot dot-1", size: 15, delay: "0.0s" }),
|
|
3121
|
+
/* @__PURE__ */ X.jsx(Xe, { className: "dot dot-2", size: 13, delay: "0.2s" }),
|
|
3122
|
+
/* @__PURE__ */ X.jsx(Xe, { className: "dot dot-3", size: 11, delay: "0.4s" }),
|
|
3123
|
+
/* @__PURE__ */ X.jsx(Xe, { className: "dot dot-4", size: 9, delay: "0.6s" }),
|
|
3124
|
+
/* @__PURE__ */ X.jsx(Xe, { className: "dot dot-5", size: 7, delay: "0.8s" })
|
|
3095
3125
|
] }),
|
|
3096
3126
|
/* @__PURE__ */ X.jsx(
|
|
3097
3127
|
"svg",
|
|
@@ -3118,7 +3148,7 @@ function _i() {
|
|
|
3118
3148
|
1 0 0 0 0
|
|
3119
3149
|
0 1 0 0 0
|
|
3120
3150
|
0 0 1 0 0
|
|
3121
|
-
0 0 0 18 -
|
|
3151
|
+
0 0 0 18 -6`
|
|
3122
3152
|
}
|
|
3123
3153
|
),
|
|
3124
3154
|
/* @__PURE__ */ X.jsx("feComposite", { in: "SourceGraphic", in2: "goo", operator: "atop" })
|
|
@@ -3205,9 +3235,9 @@ const Ai = hn(
|
|
|
3205
3235
|
}
|
|
3206
3236
|
);
|
|
3207
3237
|
};
|
|
3208
|
-
var ji = typeof global == "object" && global && global.Object === Object && global,
|
|
3238
|
+
var ji = typeof global == "object" && global && global.Object === Object && global, Ni = typeof self == "object" && self && self.Object === Object && self, $i = ji || Ni || Function("return this")(), xr = $i.Symbol, qn = Object.prototype, ki = qn.hasOwnProperty, Mi = qn.toString, Je = xr ? xr.toStringTag : void 0;
|
|
3209
3239
|
function Ii(e) {
|
|
3210
|
-
var r =
|
|
3240
|
+
var r = ki.call(e, Je), t = e[Je];
|
|
3211
3241
|
try {
|
|
3212
3242
|
e[Je] = void 0;
|
|
3213
3243
|
var n = !0;
|
|
@@ -3224,15 +3254,15 @@ var qi = "[object Null]", Wi = "[object Undefined]", Kt = xr ? xr.toStringTag :
|
|
|
3224
3254
|
function Yi(e) {
|
|
3225
3255
|
return e == null ? e === void 0 ? Wi : qi : Kt && Kt in Object(e) ? Ii(e) : Di(e);
|
|
3226
3256
|
}
|
|
3227
|
-
function
|
|
3257
|
+
function zi(e) {
|
|
3228
3258
|
return e != null && typeof e == "object";
|
|
3229
3259
|
}
|
|
3230
|
-
var
|
|
3260
|
+
var Ui = Array.isArray;
|
|
3231
3261
|
function Gi() {
|
|
3232
3262
|
}
|
|
3233
3263
|
var Hi = "[object String]";
|
|
3234
3264
|
function Bi(e) {
|
|
3235
|
-
return typeof e == "string" || !
|
|
3265
|
+
return typeof e == "string" || !Ui(e) && zi(e) && Yi(e) == Hi;
|
|
3236
3266
|
}
|
|
3237
3267
|
var Vi = function(e) {
|
|
3238
3268
|
return function(r, t) {
|
|
@@ -3390,7 +3420,7 @@ function De(e) {
|
|
|
3390
3420
|
return r.current.apply(this, n);
|
|
3391
3421
|
}), t.current;
|
|
3392
3422
|
}
|
|
3393
|
-
const at = Vi(
|
|
3423
|
+
const at = Vi(Ne);
|
|
3394
3424
|
var Yn = function(e, r) {
|
|
3395
3425
|
var t = r.manual, n = r.ready, a = n === void 0 ? !0 : n, i = r.defaultParams, o = i === void 0 ? [] : i, u = r.refreshDeps, c = u === void 0 ? [] : u, s = r.refreshDepsAction, l = J(!1);
|
|
3396
3426
|
return l.current = !1, at(function() {
|
|
@@ -3418,7 +3448,7 @@ function it(e, r) {
|
|
|
3418
3448
|
if (!Object.is(e[t], r[t])) return !1;
|
|
3419
3449
|
return !0;
|
|
3420
3450
|
}
|
|
3421
|
-
function
|
|
3451
|
+
function zn(e, r) {
|
|
3422
3452
|
var t = J({
|
|
3423
3453
|
deps: r,
|
|
3424
3454
|
obj: void 0,
|
|
@@ -3433,7 +3463,7 @@ function ht(e) {
|
|
|
3433
3463
|
var Or = function(e) {
|
|
3434
3464
|
_r && (ir(e) || console.error("useUnmount expected parameter is a function, got ".concat(typeof e)));
|
|
3435
3465
|
var r = ht(e);
|
|
3436
|
-
|
|
3466
|
+
Ne(function() {
|
|
3437
3467
|
return function() {
|
|
3438
3468
|
r.current();
|
|
3439
3469
|
};
|
|
@@ -3472,7 +3502,7 @@ var Or = function(e) {
|
|
|
3472
3502
|
}, b = function(g, m) {
|
|
3473
3503
|
return m === void 0 && (m = []), c ? c(m) : Zi(g);
|
|
3474
3504
|
};
|
|
3475
|
-
return
|
|
3505
|
+
return zn(function() {
|
|
3476
3506
|
if (t) {
|
|
3477
3507
|
var g = b(t);
|
|
3478
3508
|
g && Object.hasOwnProperty.call(g, "data") && (e.state.data = g.data, e.state.params = g.params, (o === -1 || (/* @__PURE__ */ new Date()).getTime() - g.time <= o) && (e.state.loading = !1)), s.current = Lr(t, function(m) {
|
|
@@ -3548,7 +3578,7 @@ function no() {
|
|
|
3548
3578
|
return Dr = e, Dr;
|
|
3549
3579
|
}
|
|
3550
3580
|
var qr, en;
|
|
3551
|
-
function
|
|
3581
|
+
function Un() {
|
|
3552
3582
|
if (en) return qr;
|
|
3553
3583
|
en = 1;
|
|
3554
3584
|
var e = no(), r = typeof self == "object" && self && self.Object === Object && self, t = e || r || Function("return this")();
|
|
@@ -3558,7 +3588,7 @@ var Wr, rn;
|
|
|
3558
3588
|
function ao() {
|
|
3559
3589
|
if (rn) return Wr;
|
|
3560
3590
|
rn = 1;
|
|
3561
|
-
var e =
|
|
3591
|
+
var e = Un(), r = function() {
|
|
3562
3592
|
return e.Date.now();
|
|
3563
3593
|
};
|
|
3564
3594
|
return Wr = r, Wr;
|
|
@@ -3575,22 +3605,22 @@ function io() {
|
|
|
3575
3605
|
}
|
|
3576
3606
|
return Yr = r, Yr;
|
|
3577
3607
|
}
|
|
3578
|
-
var
|
|
3608
|
+
var zr, nn;
|
|
3579
3609
|
function oo() {
|
|
3580
|
-
if (nn) return
|
|
3610
|
+
if (nn) return zr;
|
|
3581
3611
|
nn = 1;
|
|
3582
3612
|
var e = io(), r = /^\s+/;
|
|
3583
3613
|
function t(n) {
|
|
3584
3614
|
return n && n.slice(0, e(n) + 1).replace(r, "");
|
|
3585
3615
|
}
|
|
3586
|
-
return
|
|
3616
|
+
return zr = t, zr;
|
|
3587
3617
|
}
|
|
3588
|
-
var
|
|
3618
|
+
var Ur, an;
|
|
3589
3619
|
function Gn() {
|
|
3590
|
-
if (an) return
|
|
3620
|
+
if (an) return Ur;
|
|
3591
3621
|
an = 1;
|
|
3592
|
-
var e =
|
|
3593
|
-
return
|
|
3622
|
+
var e = Un(), r = e.Symbol;
|
|
3623
|
+
return Ur = r, Ur;
|
|
3594
3624
|
}
|
|
3595
3625
|
var Gr, on;
|
|
3596
3626
|
function so() {
|
|
@@ -3731,7 +3761,7 @@ var ho = function(e, r) {
|
|
|
3731
3761
|
var c = {};
|
|
3732
3762
|
return n !== void 0 && (c.leading = n), a !== void 0 && (c.trailing = a), i !== void 0 && (c.maxWait = i), c;
|
|
3733
3763
|
}, [n, a, i]);
|
|
3734
|
-
return
|
|
3764
|
+
return Ne(function() {
|
|
3735
3765
|
if (t) {
|
|
3736
3766
|
var c = e.runAsync.bind(e);
|
|
3737
3767
|
return o.current = mo(function(s) {
|
|
@@ -3866,7 +3896,7 @@ var wo = function(e, r) {
|
|
|
3866
3896
|
var u;
|
|
3867
3897
|
(u = i.current) === null || u === void 0 || u.call(i);
|
|
3868
3898
|
};
|
|
3869
|
-
return
|
|
3899
|
+
return Ne(function() {
|
|
3870
3900
|
if (t) {
|
|
3871
3901
|
var u = xo(e.refresh.bind(e), a);
|
|
3872
3902
|
i.current = So(function() {
|
|
@@ -3922,7 +3952,7 @@ var Oo = _o();
|
|
|
3922
3952
|
const Ro = /* @__PURE__ */ st(Oo);
|
|
3923
3953
|
var Po = function(e, r) {
|
|
3924
3954
|
var t = r.throttleWait, n = r.throttleLeading, a = r.throttleTrailing, i = J(), o = {};
|
|
3925
|
-
return n !== void 0 && (o.leading = n), a !== void 0 && (o.trailing = a),
|
|
3955
|
+
return n !== void 0 && (o.leading = n), a !== void 0 && (o.trailing = a), Ne(function() {
|
|
3926
3956
|
if (t) {
|
|
3927
3957
|
var u = e.runAsync.bind(e);
|
|
3928
3958
|
return i.current = Ro(function(c) {
|
|
@@ -3948,7 +3978,7 @@ var Po = function(e, r) {
|
|
|
3948
3978
|
}
|
|
3949
3979
|
} : {};
|
|
3950
3980
|
}, Ao = function(e) {
|
|
3951
|
-
_r && (ir(e) || console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof e, '".'))),
|
|
3981
|
+
_r && (ir(e) || console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof e, '".'))), Ne(function() {
|
|
3952
3982
|
e == null || e();
|
|
3953
3983
|
}, []);
|
|
3954
3984
|
}, jo = function() {
|
|
@@ -3956,7 +3986,7 @@ var Po = function(e, r) {
|
|
|
3956
3986
|
return Jn(function() {
|
|
3957
3987
|
return r({});
|
|
3958
3988
|
}, []);
|
|
3959
|
-
},
|
|
3989
|
+
}, No = (
|
|
3960
3990
|
/** @class */
|
|
3961
3991
|
function() {
|
|
3962
3992
|
function e(r, t, n, a) {
|
|
@@ -4043,19 +4073,19 @@ var Po = function(e, r) {
|
|
|
4043
4073
|
}, e;
|
|
4044
4074
|
}()
|
|
4045
4075
|
);
|
|
4046
|
-
function
|
|
4076
|
+
function $o(e, r, t) {
|
|
4047
4077
|
r === void 0 && (r = {}), t === void 0 && (t = []);
|
|
4048
4078
|
var n = r.manual, a = n === void 0 ? !1 : n, i = r.ready, o = i === void 0 ? !0 : i, u = Wn(r, ["manual", "ready"]);
|
|
4049
4079
|
_r && r.defaultParams && !Array.isArray(r.defaultParams) && console.warn("expected defaultParams is array, got ".concat(typeof r.defaultParams));
|
|
4050
4080
|
var c = xe({
|
|
4051
4081
|
manual: a,
|
|
4052
4082
|
ready: o
|
|
4053
|
-
}, u), s = ht(e), l = jo(), d =
|
|
4083
|
+
}, u), s = ht(e), l = jo(), d = zn(function() {
|
|
4054
4084
|
var b = t.map(function(g) {
|
|
4055
4085
|
var m;
|
|
4056
4086
|
return (m = g == null ? void 0 : g.onInit) === null || m === void 0 ? void 0 : m.call(g, c);
|
|
4057
4087
|
}).filter(Boolean);
|
|
4058
|
-
return new
|
|
4088
|
+
return new No(s, c, l, Object.assign.apply(Object, ce([{}], te(b), !1)));
|
|
4059
4089
|
}, []);
|
|
4060
4090
|
return d.options = c, d.pluginImpls = t.map(function(b) {
|
|
4061
4091
|
return b(d, c);
|
|
@@ -4079,8 +4109,8 @@ function ko(e, r, t) {
|
|
|
4079
4109
|
mutate: De(d.mutate.bind(d))
|
|
4080
4110
|
};
|
|
4081
4111
|
}
|
|
4082
|
-
function
|
|
4083
|
-
return
|
|
4112
|
+
function ko(e, r, t) {
|
|
4113
|
+
return $o(e, r, ce(ce([], te(t || []), !1), [ho, yo, Eo, wo, Po, Yn, to, Co], !1));
|
|
4084
4114
|
}
|
|
4085
4115
|
function Mo(e, r) {
|
|
4086
4116
|
var t = te(ot(e), 2), n = t[0], a = t[1], i = Tr(function() {
|
|
@@ -4148,7 +4178,7 @@ var Lo = function(e) {
|
|
|
4148
4178
|
});
|
|
4149
4179
|
};
|
|
4150
4180
|
return r;
|
|
4151
|
-
}, Fo = Lo(
|
|
4181
|
+
}, Fo = Lo(Ne);
|
|
4152
4182
|
function mn(e, r, t) {
|
|
4153
4183
|
t === void 0 && (t = {});
|
|
4154
4184
|
var n = t.enable, a = n === void 0 ? !0 : n, i = ht(r);
|
|
@@ -4187,7 +4217,7 @@ const Do = function(e, r) {
|
|
|
4187
4217
|
}, {
|
|
4188
4218
|
target: e
|
|
4189
4219
|
}), u;
|
|
4190
|
-
}, qo =
|
|
4220
|
+
}, qo = ze(na)`
|
|
4191
4221
|
margin-right: 5px;
|
|
4192
4222
|
font-size: 16px;
|
|
4193
4223
|
color: var(--color-primary);
|
|
@@ -4258,7 +4288,7 @@ const Do = function(e, r) {
|
|
|
4258
4288
|
] });
|
|
4259
4289
|
}, Vo = Ae.forwardRef(Wo);
|
|
4260
4290
|
function Xo(e, r, t) {
|
|
4261
|
-
const n =
|
|
4291
|
+
const n = ko(e, {
|
|
4262
4292
|
...r,
|
|
4263
4293
|
onError(i, o) {
|
|
4264
4294
|
var u;
|