gearboxdownloadmodal 3.0.24 → 3.0.25
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/dist/index.es.js +234 -211
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -75,14 +75,14 @@ function Oo() {
|
|
|
75
75
|
var I = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
76
76
|
function Y(s) {
|
|
77
77
|
{
|
|
78
|
-
for (var C = arguments.length, O = new Array(C > 1 ? C - 1 : 0),
|
|
79
|
-
O[
|
|
78
|
+
for (var C = arguments.length, O = new Array(C > 1 ? C - 1 : 0), T = 1; T < C; T++)
|
|
79
|
+
O[T - 1] = arguments[T];
|
|
80
80
|
J("error", s, O);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
function J(s, C, O) {
|
|
84
84
|
{
|
|
85
|
-
var
|
|
85
|
+
var T = I.ReactDebugCurrentFrame, ee = T.getStackAddendum();
|
|
86
86
|
ee !== "" && (C += "%s", O = O.concat([ee]));
|
|
87
87
|
var se = O.map(function(F) {
|
|
88
88
|
return String(F);
|
|
@@ -100,9 +100,9 @@ function Oo() {
|
|
|
100
100
|
s.$$typeof === ie || s.getModuleId !== void 0));
|
|
101
101
|
}
|
|
102
102
|
function S(s, C, O) {
|
|
103
|
-
var
|
|
104
|
-
if (
|
|
105
|
-
return
|
|
103
|
+
var T = s.displayName;
|
|
104
|
+
if (T)
|
|
105
|
+
return T;
|
|
106
106
|
var ee = C.displayName || C.name || "";
|
|
107
107
|
return ee !== "" ? O + "(" + ee + ")" : O;
|
|
108
108
|
}
|
|
@@ -141,8 +141,8 @@ function Oo() {
|
|
|
141
141
|
case c:
|
|
142
142
|
return S(s, s.render, "ForwardRef");
|
|
143
143
|
case m:
|
|
144
|
-
var
|
|
145
|
-
return
|
|
144
|
+
var T = s.displayName || null;
|
|
145
|
+
return T !== null ? T : U(s.type) || "Memo";
|
|
146
146
|
case p: {
|
|
147
147
|
var ee = s, se = ee._payload, F = ee._init;
|
|
148
148
|
try {
|
|
@@ -154,14 +154,14 @@ function Oo() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var w = Object.assign, M = 0, z, d, W,
|
|
157
|
+
var w = Object.assign, M = 0, z, d, W, G, h, K, k;
|
|
158
158
|
function j() {
|
|
159
159
|
}
|
|
160
160
|
j.__reactDisabledLog = !0;
|
|
161
161
|
function N() {
|
|
162
162
|
{
|
|
163
163
|
if (M === 0) {
|
|
164
|
-
z = console.log, d = console.info, W = console.warn,
|
|
164
|
+
z = console.log, d = console.info, W = console.warn, G = console.error, h = console.group, K = console.groupCollapsed, k = console.groupEnd;
|
|
165
165
|
var s = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -200,7 +200,7 @@ function Oo() {
|
|
|
200
200
|
value: W
|
|
201
201
|
}),
|
|
202
202
|
error: w({}, s, {
|
|
203
|
-
value:
|
|
203
|
+
value: G
|
|
204
204
|
}),
|
|
205
205
|
group: w({}, s, {
|
|
206
206
|
value: h
|
|
@@ -216,18 +216,18 @@ function Oo() {
|
|
|
216
216
|
M < 0 && Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
var D = I.ReactCurrentDispatcher,
|
|
219
|
+
var D = I.ReactCurrentDispatcher, R;
|
|
220
220
|
function Q(s, C, O) {
|
|
221
221
|
{
|
|
222
|
-
if (
|
|
222
|
+
if (R === void 0)
|
|
223
223
|
try {
|
|
224
224
|
throw Error();
|
|
225
225
|
} catch (ee) {
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var T = ee.stack.trim().match(/\n( *(at )?)/);
|
|
227
|
+
R = T && T[1] || "";
|
|
228
228
|
}
|
|
229
229
|
return `
|
|
230
|
-
` +
|
|
230
|
+
` + R + s;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
var P = !1, B;
|
|
@@ -243,7 +243,7 @@ function Oo() {
|
|
|
243
243
|
if (O !== void 0)
|
|
244
244
|
return O;
|
|
245
245
|
}
|
|
246
|
-
var
|
|
246
|
+
var T;
|
|
247
247
|
P = !0;
|
|
248
248
|
var ee = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
@@ -262,14 +262,14 @@ function Oo() {
|
|
|
262
262
|
try {
|
|
263
263
|
Reflect.construct(F, []);
|
|
264
264
|
} catch (De) {
|
|
265
|
-
|
|
265
|
+
T = De;
|
|
266
266
|
}
|
|
267
267
|
Reflect.construct(s, [], F);
|
|
268
268
|
} else {
|
|
269
269
|
try {
|
|
270
270
|
F.call();
|
|
271
271
|
} catch (De) {
|
|
272
|
-
|
|
272
|
+
T = De;
|
|
273
273
|
}
|
|
274
274
|
s.call(F.prototype);
|
|
275
275
|
}
|
|
@@ -277,14 +277,14 @@ function Oo() {
|
|
|
277
277
|
try {
|
|
278
278
|
throw Error();
|
|
279
279
|
} catch (De) {
|
|
280
|
-
|
|
280
|
+
T = De;
|
|
281
281
|
}
|
|
282
282
|
s();
|
|
283
283
|
}
|
|
284
284
|
} catch (De) {
|
|
285
|
-
if (De &&
|
|
285
|
+
if (De && T && typeof De.stack == "string") {
|
|
286
286
|
for (var V = De.stack.split(`
|
|
287
|
-
`), ye =
|
|
287
|
+
`), ye = T.stack.split(`
|
|
288
288
|
`), me = V.length - 1, de = ye.length - 1; me >= 1 && de >= 0 && V[me] !== ye[de]; )
|
|
289
289
|
de--;
|
|
290
290
|
for (; me >= 1 && de >= 0; me--, de--)
|
|
@@ -333,7 +333,7 @@ function Oo() {
|
|
|
333
333
|
case m:
|
|
334
334
|
return Be(s.type, C, O);
|
|
335
335
|
case p: {
|
|
336
|
-
var
|
|
336
|
+
var T = s, ee = T._payload, se = T._init;
|
|
337
337
|
try {
|
|
338
338
|
return Be(se(ee), C, O);
|
|
339
339
|
} catch {
|
|
@@ -343,14 +343,14 @@ function Oo() {
|
|
|
343
343
|
return "";
|
|
344
344
|
}
|
|
345
345
|
var St = Object.prototype.hasOwnProperty, nn = {}, An = I.ReactDebugCurrentFrame;
|
|
346
|
-
function
|
|
346
|
+
function Et(s) {
|
|
347
347
|
if (s) {
|
|
348
348
|
var C = s._owner, O = Be(s.type, s._source, C ? C.type : null);
|
|
349
349
|
An.setExtraStackFrame(O);
|
|
350
350
|
} else
|
|
351
351
|
An.setExtraStackFrame(null);
|
|
352
352
|
}
|
|
353
|
-
function eo(s, C, O,
|
|
353
|
+
function eo(s, C, O, T, ee) {
|
|
354
354
|
{
|
|
355
355
|
var se = Function.call.bind(St);
|
|
356
356
|
for (var F in s)
|
|
@@ -358,14 +358,14 @@ function Oo() {
|
|
|
358
358
|
var V = void 0;
|
|
359
359
|
try {
|
|
360
360
|
if (typeof s[F] != "function") {
|
|
361
|
-
var ye = Error((
|
|
361
|
+
var ye = Error((T || "React class") + ": " + O + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
362
362
|
throw ye.name = "Invariant Violation", ye;
|
|
363
363
|
}
|
|
364
|
-
V = s[F](C, F,
|
|
364
|
+
V = s[F](C, F, T, O, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
365
365
|
} catch (me) {
|
|
366
366
|
V = me;
|
|
367
367
|
}
|
|
368
|
-
V && !(V instanceof Error) && (
|
|
368
|
+
V && !(V instanceof Error) && (Et(ee), Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", O, F, typeof V), Et(null)), V instanceof Error && !(V.message in nn) && (nn[V.message] = !0, Et(ee), Y("Failed %s type: %s", O, V.message), Et(null));
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
@@ -444,7 +444,7 @@ function Oo() {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
var uo = function(s, C, O,
|
|
447
|
+
var uo = function(s, C, O, T, ee, se, F) {
|
|
448
448
|
var V = {
|
|
449
449
|
// This tag allows us to uniquely identify this as a React Element
|
|
450
450
|
$$typeof: t,
|
|
@@ -465,7 +465,7 @@ function Oo() {
|
|
|
465
465
|
configurable: !1,
|
|
466
466
|
enumerable: !1,
|
|
467
467
|
writable: !1,
|
|
468
|
-
value:
|
|
468
|
+
value: T
|
|
469
469
|
}), Object.defineProperty(V, "_source", {
|
|
470
470
|
configurable: !1,
|
|
471
471
|
enumerable: !1,
|
|
@@ -473,7 +473,7 @@ function Oo() {
|
|
|
473
473
|
value: ee
|
|
474
474
|
}), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
|
|
475
475
|
};
|
|
476
|
-
function co(s, C, O,
|
|
476
|
+
function co(s, C, O, T, ee) {
|
|
477
477
|
{
|
|
478
478
|
var se, F = {}, V = null, ye = null;
|
|
479
479
|
O !== void 0 && (an(O), V = "" + O), io(C) && (an(C.key), V = "" + C.key), oo(C) && (ye = C.ref, ao(C, ee));
|
|
@@ -488,7 +488,7 @@ function Oo() {
|
|
|
488
488
|
var de = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
489
489
|
V && so(F, de), ye && lo(F, de);
|
|
490
490
|
}
|
|
491
|
-
return uo(s, V, ye, ee,
|
|
491
|
+
return uo(s, V, ye, ee, T, ht.current, F);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
var cr = I.ReactCurrentOwner, un = I.ReactDebugCurrentFrame;
|
|
@@ -549,8 +549,8 @@ Check the top-level render call using <` + O + ">.");
|
|
|
549
549
|
if (mn[O])
|
|
550
550
|
return;
|
|
551
551
|
mn[O] = !0;
|
|
552
|
-
var
|
|
553
|
-
s && s._owner && s._owner !== cr.current && (
|
|
552
|
+
var T = "";
|
|
553
|
+
s && s._owner && s._owner !== cr.current && (T = " It was passed a child from " + U(s._owner.type) + "."), it(s), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', O, T), it(null);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
function pn(s, C) {
|
|
@@ -559,8 +559,8 @@ Check the top-level render call using <` + O + ">.");
|
|
|
559
559
|
return;
|
|
560
560
|
if (lr(s))
|
|
561
561
|
for (var O = 0; O < s.length; O++) {
|
|
562
|
-
var
|
|
563
|
-
dr(
|
|
562
|
+
var T = s[O];
|
|
563
|
+
dr(T) && dn(T, C);
|
|
564
564
|
}
|
|
565
565
|
else if (dr(s))
|
|
566
566
|
s._store && (s._store.validated = !0);
|
|
@@ -587,8 +587,8 @@ Check the top-level render call using <` + O + ">.");
|
|
|
587
587
|
else
|
|
588
588
|
return;
|
|
589
589
|
if (O) {
|
|
590
|
-
var
|
|
591
|
-
eo(O, s.props, "prop",
|
|
590
|
+
var T = U(C);
|
|
591
|
+
eo(O, s.props, "prop", T, s);
|
|
592
592
|
} else if (C.PropTypes !== void 0 && !mr) {
|
|
593
593
|
mr = !0;
|
|
594
594
|
var ee = U(C);
|
|
@@ -600,16 +600,16 @@ Check the top-level render call using <` + O + ">.");
|
|
|
600
600
|
function ho(s) {
|
|
601
601
|
{
|
|
602
602
|
for (var C = Object.keys(s.props), O = 0; O < C.length; O++) {
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
605
|
-
it(s), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
603
|
+
var T = C[O];
|
|
604
|
+
if (T !== "children" && T !== "key") {
|
|
605
|
+
it(s), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", T), it(null);
|
|
606
606
|
break;
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
s.ref !== null && (it(s), Y("Invalid attribute `ref` supplied to `React.Fragment`."), it(null));
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function fn(s, C, O,
|
|
612
|
+
function fn(s, C, O, T, ee, se) {
|
|
613
613
|
{
|
|
614
614
|
var F = ce(s);
|
|
615
615
|
if (!F) {
|
|
@@ -626,7 +626,7 @@ Check the top-level render call using <` + O + ">.");
|
|
|
626
626
|
if (F) {
|
|
627
627
|
var Ke = C.children;
|
|
628
628
|
if (Ke !== void 0)
|
|
629
|
-
if (
|
|
629
|
+
if (T)
|
|
630
630
|
if (lr(Ke)) {
|
|
631
631
|
for (var at = 0; at < Ke.length; at++)
|
|
632
632
|
pn(Ke[at], s);
|
|
@@ -695,7 +695,7 @@ const xo = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZX
|
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
697
|
) });
|
|
698
|
-
},
|
|
698
|
+
}, Eo = ({ name: e }) => /* @__PURE__ */ f.jsx(
|
|
699
699
|
"div",
|
|
700
700
|
{
|
|
701
701
|
style: {
|
|
@@ -717,9 +717,9 @@ var _t = {}, eA = {
|
|
|
717
717
|
MODE_ALPHA_NUM: 2,
|
|
718
718
|
MODE_8BIT_BYTE: 4,
|
|
719
719
|
MODE_KANJI: 8
|
|
720
|
-
},
|
|
720
|
+
}, Lo = eA;
|
|
721
721
|
function tA(e) {
|
|
722
|
-
this.mode =
|
|
722
|
+
this.mode = Lo.MODE_8BIT_BYTE, this.data = e;
|
|
723
723
|
}
|
|
724
724
|
tA.prototype = {
|
|
725
725
|
getLength: function(e) {
|
|
@@ -735,7 +735,7 @@ var Yo = tA, rA = {
|
|
|
735
735
|
M: 0,
|
|
736
736
|
Q: 3,
|
|
737
737
|
H: 2
|
|
738
|
-
},
|
|
738
|
+
}, Lt = rA;
|
|
739
739
|
function ke(e, t) {
|
|
740
740
|
this.totalCount = e, this.dataCount = t;
|
|
741
741
|
}
|
|
@@ -956,13 +956,13 @@ ke.getRSBlocks = function(e, t) {
|
|
|
956
956
|
};
|
|
957
957
|
ke.getRsBlockTable = function(e, t) {
|
|
958
958
|
switch (t) {
|
|
959
|
-
case
|
|
959
|
+
case Lt.L:
|
|
960
960
|
return ke.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
|
|
961
|
-
case
|
|
961
|
+
case Lt.M:
|
|
962
962
|
return ke.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
|
|
963
|
-
case
|
|
963
|
+
case Lt.Q:
|
|
964
964
|
return ke.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
|
|
965
|
-
case
|
|
965
|
+
case Lt.H:
|
|
966
966
|
return ke.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
|
|
967
967
|
default:
|
|
968
968
|
return;
|
|
@@ -1500,7 +1500,7 @@ function To() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
var b = c, ae = l, ne = a, $ = i, ie = t, ce = u, S = n, E = q, U = g, w = r, M = o, z = A, d = m, W = !1;
|
|
1503
|
-
function
|
|
1503
|
+
function G(x) {
|
|
1504
1504
|
return W || (W = !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.")), h(x) || L(x) === c;
|
|
1505
1505
|
}
|
|
1506
1506
|
function h(x) {
|
|
@@ -1524,7 +1524,7 @@ function To() {
|
|
|
1524
1524
|
function D(x) {
|
|
1525
1525
|
return L(x) === q;
|
|
1526
1526
|
}
|
|
1527
|
-
function
|
|
1527
|
+
function R(x) {
|
|
1528
1528
|
return L(x) === g;
|
|
1529
1529
|
}
|
|
1530
1530
|
function Q(x) {
|
|
@@ -1539,7 +1539,7 @@ function To() {
|
|
|
1539
1539
|
function qe(x) {
|
|
1540
1540
|
return L(x) === m;
|
|
1541
1541
|
}
|
|
1542
|
-
oe.AsyncMode = b, oe.ConcurrentMode = ae, oe.ContextConsumer = ne, oe.ContextProvider = $, oe.Element = ie, oe.ForwardRef = ce, oe.Fragment = S, oe.Lazy = E, oe.Memo = U, oe.Portal = w, oe.Profiler = M, oe.StrictMode = z, oe.Suspense = d, oe.isAsyncMode =
|
|
1542
|
+
oe.AsyncMode = b, oe.ConcurrentMode = ae, oe.ContextConsumer = ne, oe.ContextProvider = $, oe.Element = ie, oe.ForwardRef = ce, oe.Fragment = S, oe.Lazy = E, oe.Memo = U, oe.Portal = w, oe.Profiler = M, oe.StrictMode = z, oe.Suspense = d, oe.isAsyncMode = G, oe.isConcurrentMode = h, oe.isContextConsumer = K, oe.isContextProvider = k, oe.isElement = j, oe.isForwardRef = N, oe.isFragment = X, oe.isLazy = D, oe.isMemo = R, oe.isPortal = Q, oe.isProfiler = P, oe.isStrictMode = B, oe.isSuspense = qe, oe.isValidElementType = J, oe.typeOf = L;
|
|
1543
1543
|
}()), oe;
|
|
1544
1544
|
}
|
|
1545
1545
|
var Cn;
|
|
@@ -1716,28 +1716,28 @@ function Qo() {
|
|
|
1716
1716
|
function Z(h) {
|
|
1717
1717
|
if (process.env.NODE_ENV !== "production")
|
|
1718
1718
|
var K = {}, k = 0;
|
|
1719
|
-
function j(X, D,
|
|
1720
|
-
if (Q = Q || p, B = B ||
|
|
1719
|
+
function j(X, D, R, Q, P, B, qe) {
|
|
1720
|
+
if (Q = Q || p, B = B || R, qe !== r) {
|
|
1721
1721
|
if (c) {
|
|
1722
1722
|
var x = new Error(
|
|
1723
1723
|
"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"
|
|
1724
1724
|
);
|
|
1725
1725
|
throw x.name = "Invariant Violation", x;
|
|
1726
1726
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1727
|
-
var Ie = Q + ":" +
|
|
1727
|
+
var Ie = Q + ":" + R;
|
|
1728
1728
|
!K[Ie] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1729
1729
|
k < 3 && (o(
|
|
1730
1730
|
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + Q + "`. 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."
|
|
1731
1731
|
), K[Ie] = !0, k++);
|
|
1732
1732
|
}
|
|
1733
1733
|
}
|
|
1734
|
-
return D[
|
|
1734
|
+
return D[R] == null ? X ? D[R] === null ? new y("The " + P + " `" + B + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new y("The " + P + " `" + B + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : h(D, R, Q, P, B);
|
|
1735
1735
|
}
|
|
1736
1736
|
var N = j.bind(null, !1);
|
|
1737
1737
|
return N.isRequired = j.bind(null, !0), N;
|
|
1738
1738
|
}
|
|
1739
1739
|
function I(h) {
|
|
1740
|
-
function K(k, j, N, X, D,
|
|
1740
|
+
function K(k, j, N, X, D, R) {
|
|
1741
1741
|
var Q = k[j], P = z(Q);
|
|
1742
1742
|
if (P !== h) {
|
|
1743
1743
|
var B = d(Q);
|
|
@@ -1757,13 +1757,13 @@ function Qo() {
|
|
|
1757
1757
|
function K(k, j, N, X, D) {
|
|
1758
1758
|
if (typeof h != "function")
|
|
1759
1759
|
return new y("Property `" + D + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
|
|
1760
|
-
var
|
|
1761
|
-
if (!Array.isArray(
|
|
1762
|
-
var Q = z(
|
|
1760
|
+
var R = k[j];
|
|
1761
|
+
if (!Array.isArray(R)) {
|
|
1762
|
+
var Q = z(R);
|
|
1763
1763
|
return new y("Invalid " + X + " `" + D + "` of type " + ("`" + Q + "` supplied to `" + N + "`, expected an array."));
|
|
1764
1764
|
}
|
|
1765
|
-
for (var P = 0; P <
|
|
1766
|
-
var B = h(
|
|
1765
|
+
for (var P = 0; P < R.length; P++) {
|
|
1766
|
+
var B = h(R, P, N, X, D + "[" + P + "]", r);
|
|
1767
1767
|
if (B instanceof Error)
|
|
1768
1768
|
return B;
|
|
1769
1769
|
}
|
|
@@ -1775,8 +1775,8 @@ function Qo() {
|
|
|
1775
1775
|
function h(K, k, j, N, X) {
|
|
1776
1776
|
var D = K[k];
|
|
1777
1777
|
if (!a(D)) {
|
|
1778
|
-
var
|
|
1779
|
-
return new y("Invalid " + N + " `" + X + "` of type " + ("`" +
|
|
1778
|
+
var R = z(D);
|
|
1779
|
+
return new y("Invalid " + N + " `" + X + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected a single ReactElement."));
|
|
1780
1780
|
}
|
|
1781
1781
|
return null;
|
|
1782
1782
|
}
|
|
@@ -1786,8 +1786,8 @@ function Qo() {
|
|
|
1786
1786
|
function h(K, k, j, N, X) {
|
|
1787
1787
|
var D = K[k];
|
|
1788
1788
|
if (!e.isValidElementType(D)) {
|
|
1789
|
-
var
|
|
1790
|
-
return new y("Invalid " + N + " `" + X + "` of type " + ("`" +
|
|
1789
|
+
var R = z(D);
|
|
1790
|
+
return new y("Invalid " + N + " `" + X + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected a single ReactElement type."));
|
|
1791
1791
|
}
|
|
1792
1792
|
return null;
|
|
1793
1793
|
}
|
|
@@ -1796,8 +1796,8 @@ function Qo() {
|
|
|
1796
1796
|
function ae(h) {
|
|
1797
1797
|
function K(k, j, N, X, D) {
|
|
1798
1798
|
if (!(k[j] instanceof h)) {
|
|
1799
|
-
var
|
|
1800
|
-
return new y("Invalid " + X + " `" + D + "` of type " + ("`" + Q + "` supplied to `" + N + "`, expected ") + ("instance of `" +
|
|
1799
|
+
var R = h.name || p, Q = G(k[j]);
|
|
1800
|
+
return new y("Invalid " + X + " `" + D + "` of type " + ("`" + Q + "` supplied to `" + N + "`, expected ") + ("instance of `" + R + "`."));
|
|
1801
1801
|
}
|
|
1802
1802
|
return null;
|
|
1803
1803
|
}
|
|
@@ -1809,14 +1809,14 @@ function Qo() {
|
|
|
1809
1809
|
"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])."
|
|
1810
1810
|
) : o("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
1811
1811
|
function K(k, j, N, X, D) {
|
|
1812
|
-
for (var
|
|
1813
|
-
if (q(
|
|
1812
|
+
for (var R = k[j], Q = 0; Q < h.length; Q++)
|
|
1813
|
+
if (q(R, h[Q]))
|
|
1814
1814
|
return null;
|
|
1815
1815
|
var P = JSON.stringify(h, function(qe, x) {
|
|
1816
1816
|
var Ie = d(x);
|
|
1817
1817
|
return Ie === "symbol" ? String(x) : x;
|
|
1818
1818
|
});
|
|
1819
|
-
return new y("Invalid " + X + " `" + D + "` of value `" + String(
|
|
1819
|
+
return new y("Invalid " + X + " `" + D + "` of value `" + String(R) + "` " + ("supplied to `" + N + "`, expected one of " + P + "."));
|
|
1820
1820
|
}
|
|
1821
1821
|
return Z(K);
|
|
1822
1822
|
}
|
|
@@ -1824,12 +1824,12 @@ function Qo() {
|
|
|
1824
1824
|
function K(k, j, N, X, D) {
|
|
1825
1825
|
if (typeof h != "function")
|
|
1826
1826
|
return new y("Property `" + D + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
|
|
1827
|
-
var
|
|
1827
|
+
var R = k[j], Q = z(R);
|
|
1828
1828
|
if (Q !== "object")
|
|
1829
1829
|
return new y("Invalid " + X + " `" + D + "` of type " + ("`" + Q + "` supplied to `" + N + "`, expected an object."));
|
|
1830
|
-
for (var P in
|
|
1831
|
-
if (n(
|
|
1832
|
-
var B = h(
|
|
1830
|
+
for (var P in R)
|
|
1831
|
+
if (n(R, P)) {
|
|
1832
|
+
var B = h(R, P, N, X, D + "." + P, r);
|
|
1833
1833
|
if (B instanceof Error)
|
|
1834
1834
|
return B;
|
|
1835
1835
|
}
|
|
@@ -1847,15 +1847,15 @@ function Qo() {
|
|
|
1847
1847
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(k) + " at index " + K + "."
|
|
1848
1848
|
), i;
|
|
1849
1849
|
}
|
|
1850
|
-
function j(N, X, D,
|
|
1850
|
+
function j(N, X, D, R, Q) {
|
|
1851
1851
|
for (var P = [], B = 0; B < h.length; B++) {
|
|
1852
|
-
var qe = h[B], x = qe(N, X, D,
|
|
1852
|
+
var qe = h[B], x = qe(N, X, D, R, Q, r);
|
|
1853
1853
|
if (x == null)
|
|
1854
1854
|
return null;
|
|
1855
1855
|
x.data && n(x.data, "expectedType") && P.push(x.data.expectedType);
|
|
1856
1856
|
}
|
|
1857
1857
|
var Ie = P.length > 0 ? ", expected one of type [" + P.join(", ") + "]" : "";
|
|
1858
|
-
return new y("Invalid " +
|
|
1858
|
+
return new y("Invalid " + R + " `" + Q + "` supplied to " + ("`" + D + "`" + Ie + "."));
|
|
1859
1859
|
}
|
|
1860
1860
|
return Z(j);
|
|
1861
1861
|
}
|
|
@@ -1872,14 +1872,14 @@ function Qo() {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
function E(h) {
|
|
1874
1874
|
function K(k, j, N, X, D) {
|
|
1875
|
-
var
|
|
1875
|
+
var R = k[j], Q = z(R);
|
|
1876
1876
|
if (Q !== "object")
|
|
1877
1877
|
return new y("Invalid " + X + " `" + D + "` of type `" + Q + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1878
1878
|
for (var P in h) {
|
|
1879
1879
|
var B = h[P];
|
|
1880
1880
|
if (typeof B != "function")
|
|
1881
1881
|
return S(N, X, D, P, d(B));
|
|
1882
|
-
var qe = B(
|
|
1882
|
+
var qe = B(R, P, N, X, D + "." + P, r);
|
|
1883
1883
|
if (qe)
|
|
1884
1884
|
return qe;
|
|
1885
1885
|
}
|
|
@@ -1889,7 +1889,7 @@ function Qo() {
|
|
|
1889
1889
|
}
|
|
1890
1890
|
function U(h) {
|
|
1891
1891
|
function K(k, j, N, X, D) {
|
|
1892
|
-
var
|
|
1892
|
+
var R = k[j], Q = z(R);
|
|
1893
1893
|
if (Q !== "object")
|
|
1894
1894
|
return new y("Invalid " + X + " `" + D + "` of type `" + Q + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1895
1895
|
var P = t({}, k[j], h);
|
|
@@ -1902,7 +1902,7 @@ function Qo() {
|
|
|
1902
1902
|
"Invalid " + X + " `" + D + "` key `" + B + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(k[j], null, " ") + `
|
|
1903
1903
|
Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
|
|
1904
1904
|
);
|
|
1905
|
-
var x = qe(
|
|
1905
|
+
var x = qe(R, B, N, X, D + "." + B, r);
|
|
1906
1906
|
if (x)
|
|
1907
1907
|
return x;
|
|
1908
1908
|
}
|
|
@@ -1976,7 +1976,7 @@ Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
|
|
|
1976
1976
|
return K;
|
|
1977
1977
|
}
|
|
1978
1978
|
}
|
|
1979
|
-
function
|
|
1979
|
+
function G(h) {
|
|
1980
1980
|
return !h.constructor || !h.constructor.name ? p : h.constructor.name;
|
|
1981
1981
|
}
|
|
1982
1982
|
return g.checkPropTypes = A, g.resetWarningCache = A.resetWarningCache, g.PropTypes = g, g;
|
|
@@ -2266,7 +2266,7 @@ const Wi = (e, t, r, { allOwnKeys: n } = {}) => (Ot(t, (A, o) => {
|
|
|
2266
2266
|
e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
|
|
2267
2267
|
const n = e.indexOf(t, r);
|
|
2268
2268
|
return n !== -1 && n === r;
|
|
2269
|
-
},
|
|
2269
|
+
}, Ei = (e) => {
|
|
2270
2270
|
if (!e)
|
|
2271
2271
|
return null;
|
|
2272
2272
|
if (mt(e))
|
|
@@ -2278,7 +2278,7 @@ const Wi = (e, t, r, { allOwnKeys: n } = {}) => (Ot(t, (A, o) => {
|
|
|
2278
2278
|
for (; t-- > 0; )
|
|
2279
2279
|
r[t] = e[t];
|
|
2280
2280
|
return r;
|
|
2281
|
-
},
|
|
2281
|
+
}, Li = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Qr(Uint8Array)), Yi = (e, t) => {
|
|
2282
2282
|
const n = (e && e[Symbol.iterator]).call(e);
|
|
2283
2283
|
let A;
|
|
2284
2284
|
for (; (A = n.next()) && !A.done; ) {
|
|
@@ -2375,7 +2375,7 @@ const Xi = (e) => {
|
|
|
2375
2375
|
isFunction: xe,
|
|
2376
2376
|
isStream: Zi,
|
|
2377
2377
|
isURLSearchParams: Ki,
|
|
2378
|
-
isTypedArray:
|
|
2378
|
+
isTypedArray: Li,
|
|
2379
2379
|
isFileList: Ci,
|
|
2380
2380
|
forEach: Ot,
|
|
2381
2381
|
merge: Sr,
|
|
@@ -2387,7 +2387,7 @@ const Xi = (e) => {
|
|
|
2387
2387
|
kindOf: tr,
|
|
2388
2388
|
kindOfTest: Je,
|
|
2389
2389
|
endsWith: Si,
|
|
2390
|
-
toArray:
|
|
2390
|
+
toArray: Ei,
|
|
2391
2391
|
forEachEntry: Yi,
|
|
2392
2392
|
matchAll: zi,
|
|
2393
2393
|
isHTMLForm: ki,
|
|
@@ -2461,7 +2461,7 @@ _.from = (e, t, r, n, A, o) => {
|
|
|
2461
2461
|
}, (a) => a !== "isAxiosError"), _.call(i, e.message, t, r, n, A), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
|
|
2462
2462
|
};
|
|
2463
2463
|
const Bi = null;
|
|
2464
|
-
function
|
|
2464
|
+
function Er(e) {
|
|
2465
2465
|
return v.isPlainObject(e) || v.isArray(e);
|
|
2466
2466
|
}
|
|
2467
2467
|
function IA(e) {
|
|
@@ -2473,7 +2473,7 @@ function Sn(e, t, r) {
|
|
|
2473
2473
|
}).join(r ? "." : "") : t;
|
|
2474
2474
|
}
|
|
2475
2475
|
function Vi(e) {
|
|
2476
|
-
return v.isArray(e) && !e.some(
|
|
2476
|
+
return v.isArray(e) && !e.some(Er);
|
|
2477
2477
|
}
|
|
2478
2478
|
const Ui = v.toFlatObject(v, {}, null, function(t) {
|
|
2479
2479
|
return /^is[A-Z]/.test(t);
|
|
@@ -2514,12 +2514,12 @@ function Ar(e, t, r) {
|
|
|
2514
2514
|
);
|
|
2515
2515
|
}), !1;
|
|
2516
2516
|
}
|
|
2517
|
-
return
|
|
2517
|
+
return Er(q) ? !0 : (t.append(Sn(Z, y, o), l(q)), !1);
|
|
2518
2518
|
}
|
|
2519
2519
|
const m = [], p = Object.assign(Ui, {
|
|
2520
2520
|
defaultVisitor: u,
|
|
2521
2521
|
convertValue: l,
|
|
2522
|
-
isVisitable:
|
|
2522
|
+
isVisitable: Er
|
|
2523
2523
|
});
|
|
2524
2524
|
function g(q, y) {
|
|
2525
2525
|
if (!v.isUndefined(q)) {
|
|
@@ -2540,7 +2540,7 @@ function Ar(e, t, r) {
|
|
|
2540
2540
|
throw new TypeError("data must be an object");
|
|
2541
2541
|
return g(e), t;
|
|
2542
2542
|
}
|
|
2543
|
-
function
|
|
2543
|
+
function En(e) {
|
|
2544
2544
|
const t = {
|
|
2545
2545
|
"!": "%21",
|
|
2546
2546
|
"'": "%27",
|
|
@@ -2563,8 +2563,8 @@ KA.append = function(t, r) {
|
|
|
2563
2563
|
};
|
|
2564
2564
|
KA.toString = function(t) {
|
|
2565
2565
|
const r = t ? function(n) {
|
|
2566
|
-
return t.call(this, n,
|
|
2567
|
-
} :
|
|
2566
|
+
return t.call(this, n, En);
|
|
2567
|
+
} : En;
|
|
2568
2568
|
return this._pairs.map(function(A) {
|
|
2569
2569
|
return r(A[0]) + "=" + r(A[1]);
|
|
2570
2570
|
}, "").join("&");
|
|
@@ -2637,7 +2637,7 @@ class _i {
|
|
|
2637
2637
|
});
|
|
2638
2638
|
}
|
|
2639
2639
|
}
|
|
2640
|
-
const
|
|
2640
|
+
const Ln = _i, WA = {
|
|
2641
2641
|
silentJSONParsing: !0,
|
|
2642
2642
|
forcedJSONParsing: !0,
|
|
2643
2643
|
clarifyTimeoutError: !1
|
|
@@ -2645,7 +2645,7 @@ const En = _i, WA = {
|
|
|
2645
2645
|
let e;
|
|
2646
2646
|
return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
|
2647
2647
|
})(), na = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
2648
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
2648
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Ee = {
|
|
2649
2649
|
isBrowser: !0,
|
|
2650
2650
|
classes: {
|
|
2651
2651
|
URLSearchParams: $i,
|
|
@@ -2657,9 +2657,9 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
2657
2657
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
2658
2658
|
};
|
|
2659
2659
|
function Aa(e, t) {
|
|
2660
|
-
return Ar(e, new
|
|
2660
|
+
return Ar(e, new Ee.classes.URLSearchParams(), Object.assign({
|
|
2661
2661
|
visitor: function(r, n, A, o) {
|
|
2662
|
-
return
|
|
2662
|
+
return Ee.isNode && v.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
2663
2663
|
}
|
|
2664
2664
|
}, t));
|
|
2665
2665
|
}
|
|
@@ -2701,7 +2701,7 @@ function aa(e, t, r) {
|
|
|
2701
2701
|
}
|
|
2702
2702
|
const Br = {
|
|
2703
2703
|
transitional: WA,
|
|
2704
|
-
adapter:
|
|
2704
|
+
adapter: Ee.isNode ? "http" : "xhr",
|
|
2705
2705
|
transformRequest: [function(t, r) {
|
|
2706
2706
|
const n = r.getContentType() || "", A = n.indexOf("application/json") > -1, o = v.isObject(t);
|
|
2707
2707
|
if (o && v.isHTMLForm(t) && (t = new FormData(t)), v.isFormData(t))
|
|
@@ -2750,8 +2750,8 @@ const Br = {
|
|
|
2750
2750
|
maxContentLength: -1,
|
|
2751
2751
|
maxBodyLength: -1,
|
|
2752
2752
|
env: {
|
|
2753
|
-
FormData:
|
|
2754
|
-
Blob:
|
|
2753
|
+
FormData: Ee.classes.FormData,
|
|
2754
|
+
Blob: Ee.classes.Blob
|
|
2755
2755
|
},
|
|
2756
2756
|
validateStatus: function(t) {
|
|
2757
2757
|
return t >= 200 && t < 300;
|
|
@@ -2977,7 +2977,7 @@ function pa(e, t, r) {
|
|
|
2977
2977
|
r
|
|
2978
2978
|
));
|
|
2979
2979
|
}
|
|
2980
|
-
const fa =
|
|
2980
|
+
const fa = Ee.isStandardBrowserEnv ? (
|
|
2981
2981
|
// Standard browser envs support document.cookie
|
|
2982
2982
|
function() {
|
|
2983
2983
|
return {
|
|
@@ -3017,7 +3017,7 @@ function qa(e, t) {
|
|
|
3017
3017
|
function MA(e, t) {
|
|
3018
3018
|
return e && !ha(t) ? qa(e, t) : t;
|
|
3019
3019
|
}
|
|
3020
|
-
const ga =
|
|
3020
|
+
const ga = Ee.isStandardBrowserEnv ? (
|
|
3021
3021
|
// Standard browser envs have full support of the APIs needed to test
|
|
3022
3022
|
// whether the request URL is of the same origin as current location.
|
|
3023
3023
|
function() {
|
|
@@ -3095,7 +3095,7 @@ const ba = typeof XMLHttpRequest < "u", Ca = ba && function(e) {
|
|
|
3095
3095
|
function c() {
|
|
3096
3096
|
e.cancelToken && e.cancelToken.unsubscribe(a), e.signal && e.signal.removeEventListener("abort", a);
|
|
3097
3097
|
}
|
|
3098
|
-
v.isFormData(A) && (
|
|
3098
|
+
v.isFormData(A) && (Ee.isStandardBrowserEnv || Ee.isStandardBrowserWebWorkerEnv ? o.setContentType(!1) : o.setContentType("multipart/form-data;", !1));
|
|
3099
3099
|
let l = new XMLHttpRequest();
|
|
3100
3100
|
if (e.auth) {
|
|
3101
3101
|
const g = e.auth.username || "", q = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
@@ -3137,7 +3137,7 @@ const ba = typeof XMLHttpRequest < "u", Ca = ba && function(e) {
|
|
|
3137
3137
|
e,
|
|
3138
3138
|
l
|
|
3139
3139
|
)), l = null;
|
|
3140
|
-
},
|
|
3140
|
+
}, Ee.isStandardBrowserEnv) {
|
|
3141
3141
|
const g = (e.withCredentials || ga(u)) && e.xsrfCookieName && fa.read(e.xsrfCookieName);
|
|
3142
3142
|
g && o.set(e.xsrfHeaderName, g);
|
|
3143
3143
|
}
|
|
@@ -3147,7 +3147,7 @@ const ba = typeof XMLHttpRequest < "u", Ca = ba && function(e) {
|
|
|
3147
3147
|
l && (n(!g || g.type ? new xt(null, e, l) : g), l.abort(), l = null);
|
|
3148
3148
|
}, e.cancelToken && e.cancelToken.subscribe(a), e.signal && (e.signal.aborted ? a() : e.signal.addEventListener("abort", a)));
|
|
3149
3149
|
const p = ya(u);
|
|
3150
|
-
if (p &&
|
|
3150
|
+
if (p && Ee.protocols.indexOf(p) === -1) {
|
|
3151
3151
|
n(new _("Unsupported protocol " + p + ":", _.ERR_BAD_REQUEST, e));
|
|
3152
3152
|
return;
|
|
3153
3153
|
}
|
|
@@ -3274,7 +3274,7 @@ function ct(e, t) {
|
|
|
3274
3274
|
v.isUndefined(p) && m !== a || (r[u] = p);
|
|
3275
3275
|
}), r;
|
|
3276
3276
|
}
|
|
3277
|
-
const
|
|
3277
|
+
const EA = "1.5.0", Ur = {};
|
|
3278
3278
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
3279
3279
|
Ur[e] = function(n) {
|
|
3280
3280
|
return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -3283,7 +3283,7 @@ const LA = "1.5.0", Ur = {};
|
|
|
3283
3283
|
const Jn = {};
|
|
3284
3284
|
Ur.transitional = function(t, r, n) {
|
|
3285
3285
|
function A(o, i) {
|
|
3286
|
-
return "[Axios v" +
|
|
3286
|
+
return "[Axios v" + EA + "] Transitional option '" + o + "'" + i + (n ? ". " + n : "");
|
|
3287
3287
|
}
|
|
3288
3288
|
return (o, i, a) => {
|
|
3289
3289
|
if (t === !1)
|
|
@@ -3316,15 +3316,15 @@ function Za(e, t, r) {
|
|
|
3316
3316
|
throw new _("Unknown option " + o, _.ERR_BAD_OPTION);
|
|
3317
3317
|
}
|
|
3318
3318
|
}
|
|
3319
|
-
const
|
|
3319
|
+
const Lr = {
|
|
3320
3320
|
assertOptions: Za,
|
|
3321
3321
|
validators: Ur
|
|
3322
|
-
}, He =
|
|
3322
|
+
}, He = Lr.validators;
|
|
3323
3323
|
class Xt {
|
|
3324
3324
|
constructor(t) {
|
|
3325
3325
|
this.defaults = t, this.interceptors = {
|
|
3326
|
-
request: new
|
|
3327
|
-
response: new
|
|
3326
|
+
request: new Ln(),
|
|
3327
|
+
response: new Ln()
|
|
3328
3328
|
};
|
|
3329
3329
|
}
|
|
3330
3330
|
/**
|
|
@@ -3338,13 +3338,13 @@ class Xt {
|
|
|
3338
3338
|
request(t, r) {
|
|
3339
3339
|
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = ct(this.defaults, r);
|
|
3340
3340
|
const { transitional: n, paramsSerializer: A, headers: o } = r;
|
|
3341
|
-
n !== void 0 &&
|
|
3341
|
+
n !== void 0 && Lr.assertOptions(n, {
|
|
3342
3342
|
silentJSONParsing: He.transitional(He.boolean),
|
|
3343
3343
|
forcedJSONParsing: He.transitional(He.boolean),
|
|
3344
3344
|
clarifyTimeoutError: He.transitional(He.boolean)
|
|
3345
3345
|
}, !1), A != null && (v.isFunction(A) ? r.paramsSerializer = {
|
|
3346
3346
|
serialize: A
|
|
3347
|
-
} :
|
|
3347
|
+
} : Lr.assertOptions(A, {
|
|
3348
3348
|
encode: He.function,
|
|
3349
3349
|
serialize: He.function
|
|
3350
3350
|
}, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -3571,18 +3571,18 @@ Object.entries(Yr).forEach(([e, t]) => {
|
|
|
3571
3571
|
Yr[t] = e;
|
|
3572
3572
|
});
|
|
3573
3573
|
const Wa = Yr;
|
|
3574
|
-
function
|
|
3574
|
+
function LA(e) {
|
|
3575
3575
|
const t = new Tt(e), r = pA(Tt.prototype.request, t);
|
|
3576
3576
|
return v.extend(r, Tt.prototype, t, { allOwnKeys: !0 }), v.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(A) {
|
|
3577
|
-
return
|
|
3577
|
+
return LA(ct(e, A));
|
|
3578
3578
|
}, r;
|
|
3579
3579
|
}
|
|
3580
|
-
const pe =
|
|
3580
|
+
const pe = LA(Vr);
|
|
3581
3581
|
pe.Axios = Tt;
|
|
3582
3582
|
pe.CanceledError = xt;
|
|
3583
3583
|
pe.CancelToken = Ia;
|
|
3584
3584
|
pe.isCancel = xA;
|
|
3585
|
-
pe.VERSION =
|
|
3585
|
+
pe.VERSION = EA;
|
|
3586
3586
|
pe.toFormData = Ar;
|
|
3587
3587
|
pe.AxiosError = _;
|
|
3588
3588
|
pe.Cancel = pe.CanceledError;
|
|
@@ -3702,7 +3702,7 @@ function Xe() {
|
|
|
3702
3702
|
return n;
|
|
3703
3703
|
}
|
|
3704
3704
|
const bt = (e) => typeof e == "number" && !isNaN(e), rt = (e) => typeof e == "string", ve = (e) => typeof e == "function", Ht = (e) => rt(e) || ve(e) ? e : null, Ir = (e) => ut(e) || rt(e) || ve(e) || bt(e);
|
|
3705
|
-
function
|
|
3705
|
+
function Ea(e, t, r) {
|
|
3706
3706
|
r === void 0 && (r = 300);
|
|
3707
3707
|
const { scrollHeight: n, style: A } = e;
|
|
3708
3708
|
requestAnimationFrame(() => {
|
|
@@ -3723,7 +3723,7 @@ function ir(e) {
|
|
|
3723
3723
|
Z.classList.add(...I), Z.addEventListener("animationend", Y), Z.addEventListener("animationcancel", Y);
|
|
3724
3724
|
}, []), Ce(() => {
|
|
3725
3725
|
const Z = m.current, I = () => {
|
|
3726
|
-
Z.removeEventListener("animationend", I), A ?
|
|
3726
|
+
Z.removeEventListener("animationend", I), A ? Ea(Z, u, o) : u();
|
|
3727
3727
|
};
|
|
3728
3728
|
p || (l ? I() : (y.current = 1, Z.className += ` ${q}`, Z.addEventListener("animationend", I)));
|
|
3729
3729
|
}, [p]), re.createElement(re.Fragment, null, a);
|
|
@@ -3764,7 +3764,7 @@ const Oe = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
3764
3764
|
}, spinner: function() {
|
|
3765
3765
|
return re.createElement("div", { className: "Toastify__spinner" });
|
|
3766
3766
|
} };
|
|
3767
|
-
function
|
|
3767
|
+
function La(e) {
|
|
3768
3768
|
const [, t] = Co((g) => g + 1, 0), [r, n] = te([]), A = _e(null), o = _e(/* @__PURE__ */ new Map()).current, i = (g) => r.indexOf(g) !== -1, a = _e({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: i, getToast: (g) => o.get(g) }).current;
|
|
3769
3769
|
function c(g) {
|
|
3770
3770
|
let { containerId: q } = g;
|
|
@@ -3810,7 +3810,7 @@ function Ea(e) {
|
|
|
3810
3810
|
$.iconOut = function(E) {
|
|
3811
3811
|
let { theme: U, type: w, isLoading: M, icon: z } = E, d = null;
|
|
3812
3812
|
const W = { theme: U, type: w };
|
|
3813
|
-
return z === !1 || (ve(z) ? d = z(W) : ut(z) ? d = Or(z, W) : rt(z) || bt(z) ? d = z : M ? d = Kr.spinner() : ((
|
|
3813
|
+
return z === !1 || (ve(z) ? d = z(W) : ut(z) ? d = Or(z, W) : rt(z) || bt(z) ? d = z : M ? d = Kr.spinner() : ((G) => G in Kr)(w) && (d = Kr[w](W))), d;
|
|
3814
3814
|
}($), ve(I.onOpen) && ($.onOpen = I.onOpen), ve(I.onClose) && ($.onClose = I.onClose), $.closeButton = b.closeButton, I.closeButton === !1 || Ir(I.closeButton) ? $.closeButton = I.closeButton : I.closeButton === !0 && ($.closeButton = !Ir(b.closeButton) || b.closeButton);
|
|
3815
3815
|
let S = g;
|
|
3816
3816
|
ut(g) && !rt(g.type) ? S = Or(g, { closeToast: ae, toastProps: $, data: L }) : ve(g) && (S = g({ closeToast: ae, toastProps: $, data: L })), b.limit && b.limit > 0 && a.count > b.limit && ne ? a.queue.push({ toastContent: S, toastProps: $, staleId: Z }) : bt(y) ? setTimeout(() => {
|
|
@@ -3905,8 +3905,8 @@ function za(e) {
|
|
|
3905
3905
|
}
|
|
3906
3906
|
const ka = (e) => {
|
|
3907
3907
|
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: A } = Ya(e), { closeButton: o, children: i, autoClose: a, onClick: c, type: l, hideProgressBar: u, closeToast: m, transition: p, position: g, className: q, style: y, bodyClassName: Z, bodyStyle: I, progressClassName: Y, progressStyle: J, updateId: L, role: b, progress: ae, rtl: ne, toastId: $, deleteToast: ie, isIn: ce, isLoading: S, iconOut: E, closeOnClick: U, theme: w } = e, M = Xe("Toastify__toast", `Toastify__toast-theme--${w}`, `Toastify__toast--${l}`, { "Toastify__toast--rtl": ne }, { "Toastify__toast--close-on-click": U }), z = ve(q) ? q({ rtl: ne, position: g, type: l, defaultClassName: M }) : Xe(M, q), d = !!ae || !a, W = { closeToast: m, type: l, theme: w };
|
|
3908
|
-
let
|
|
3909
|
-
return o === !1 || (
|
|
3908
|
+
let G = null;
|
|
3909
|
+
return o === !1 || (G = ve(o) ? o(W) : ut(o) ? Or(o, W) : DA(W)), re.createElement(p, { isIn: ce, done: ie, position: g, preventExitTransition: r, nodeRef: n }, re.createElement("div", { id: $, onClick: c, className: z, ...A, style: y, ref: n }, re.createElement("div", { ...ce && { role: b }, className: ve(Z) ? Z({ type: l }) : Xe("Toastify__toast-body", Z), style: I }, E != null && re.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !S }) }, E), re.createElement("div", null, i)), G, re.createElement(za, { ...L && !d ? { key: `pb-${L}` } : {}, rtl: ne, theme: w, delay: a, isRunning: t, isIn: ce, closeToast: m, hide: u, type: l, style: J, className: Y, controlledProgress: d, progress: ae || 0 })));
|
|
3910
3910
|
}, ar = function(e, t) {
|
|
3911
3911
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3912
3912
|
}, ja = ir(ar("bounce", !0));
|
|
@@ -3914,7 +3914,7 @@ ir(ar("slide", !0));
|
|
|
3914
3914
|
ir(ar("zoom"));
|
|
3915
3915
|
ir(ar("flip"));
|
|
3916
3916
|
const kr = bo((e, t) => {
|
|
3917
|
-
const { getToastToRender: r, containerRef: n, isToastActive: A } =
|
|
3917
|
+
const { getToastToRender: r, containerRef: n, isToastActive: A } = La(e), { className: o, style: i, rtl: a, containerId: c } = e;
|
|
3918
3918
|
function l(u) {
|
|
3919
3919
|
const m = Xe("Toastify__toast-container", `Toastify__toast-container--${u}`, { "Toastify__toast-container--rtl": a });
|
|
3920
3920
|
return ve(o) ? o({ position: u, rtl: a, defaultClassName: m }) : Xe(m, Ht(o));
|
|
@@ -4183,7 +4183,7 @@ const Da = ({
|
|
|
4183
4183
|
},
|
|
4184
4184
|
children: [
|
|
4185
4185
|
/* @__PURE__ */ f.jsx(So, { iframeUrl: A }),
|
|
4186
|
-
/* @__PURE__ */ f.jsx(
|
|
4186
|
+
/* @__PURE__ */ f.jsx(Eo, { name: c }),
|
|
4187
4187
|
/* @__PURE__ */ f.jsx(
|
|
4188
4188
|
Da,
|
|
4189
4189
|
{
|
|
@@ -4880,16 +4880,39 @@ const Qn = [
|
|
|
4880
4880
|
I(!1), m(d.message, d);
|
|
4881
4881
|
return;
|
|
4882
4882
|
}
|
|
4883
|
-
let
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
"
|
|
4888
|
-
"
|
|
4889
|
-
|
|
4890
|
-
"
|
|
4891
|
-
|
|
4892
|
-
|
|
4883
|
+
let G;
|
|
4884
|
+
if ([
|
|
4885
|
+
"google",
|
|
4886
|
+
"toutiao",
|
|
4887
|
+
"toutiao_cn",
|
|
4888
|
+
"vungle",
|
|
4889
|
+
"yandex",
|
|
4890
|
+
"mobvista",
|
|
4891
|
+
"google360",
|
|
4892
|
+
"oceanengine",
|
|
4893
|
+
"liftoff",
|
|
4894
|
+
"appreciate",
|
|
4895
|
+
"kayzen",
|
|
4896
|
+
"tencent",
|
|
4897
|
+
"criteo",
|
|
4898
|
+
"voodoo_notion",
|
|
4899
|
+
"snapchat",
|
|
4900
|
+
"inmobi"
|
|
4901
|
+
].includes(E) || (E === "fb" || E === "luna") && z)
|
|
4902
|
+
G = document.createElement("iframe"), G.setAttribute("src", "/files/" + W), G.style.display = "none", document.body.appendChild(G), G.click();
|
|
4903
|
+
else if (w) {
|
|
4904
|
+
let h = await fetch(p + "/" + W).then(
|
|
4905
|
+
(K) => K.text()
|
|
4906
|
+
);
|
|
4907
|
+
G = document.createElement("a"), G.setAttribute(
|
|
4908
|
+
"href",
|
|
4909
|
+
"data:html/plain;charset=utf-8," + encodeURIComponent(h)
|
|
4910
|
+
), G.setAttribute(
|
|
4911
|
+
"download",
|
|
4912
|
+
W.split("/").reduce((K, k) => k, "")
|
|
4913
|
+
), G.style.display = "none", document.body.appendChild(G), G.click();
|
|
4914
|
+
}
|
|
4915
|
+
return I(!1), W;
|
|
4893
4916
|
} else {
|
|
4894
4917
|
const d = Qn.includes(E) ? 1 : 0;
|
|
4895
4918
|
Qt(
|
|
@@ -4901,7 +4924,7 @@ const Qn = [
|
|
|
4901
4924
|
d,
|
|
4902
4925
|
{}
|
|
4903
4926
|
).then(async (W) => {
|
|
4904
|
-
let { url:
|
|
4927
|
+
let { url: G } = W, h;
|
|
4905
4928
|
if ([
|
|
4906
4929
|
"google",
|
|
4907
4930
|
"toutiao",
|
|
@@ -4920,9 +4943,9 @@ const Qn = [
|
|
|
4920
4943
|
"snapchat",
|
|
4921
4944
|
"inmobi"
|
|
4922
4945
|
].includes(E) || (E === "fb" || E === "luna") && z)
|
|
4923
|
-
h = document.createElement("iframe"), h.setAttribute("src", "/files/" +
|
|
4946
|
+
h = document.createElement("iframe"), h.setAttribute("src", "/files/" + G), h.style.display = "none", document.body.appendChild(h), h.click();
|
|
4924
4947
|
else if (w) {
|
|
4925
|
-
let K = await fetch(p + "/" +
|
|
4948
|
+
let K = await fetch(p + "/" + G).then(
|
|
4926
4949
|
(k) => k.text()
|
|
4927
4950
|
);
|
|
4928
4951
|
h = document.createElement("a"), h.setAttribute(
|
|
@@ -4930,10 +4953,10 @@ const Qn = [
|
|
|
4930
4953
|
"data:html/plain;charset=utf-8," + encodeURIComponent(K)
|
|
4931
4954
|
), h.setAttribute(
|
|
4932
4955
|
"download",
|
|
4933
|
-
|
|
4956
|
+
G.split("/").reduce((k, j) => j, "")
|
|
4934
4957
|
), h.style.display = "none", document.body.appendChild(h), h.click();
|
|
4935
4958
|
}
|
|
4936
|
-
return I(!1), lt("Download successfully"),
|
|
4959
|
+
return I(!1), lt("Download successfully"), G;
|
|
4937
4960
|
}).catch((W) => {
|
|
4938
4961
|
m(W.response.data.error.msg);
|
|
4939
4962
|
});
|
|
@@ -6018,10 +6041,10 @@ const ls = [
|
|
|
6018
6041
|
let D = await fetch(l + "/" + X.url).then(
|
|
6019
6042
|
(P) => P.text()
|
|
6020
6043
|
);
|
|
6021
|
-
const
|
|
6044
|
+
const R = ((K = D.match(
|
|
6022
6045
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6023
6046
|
)) == null ? void 0 : K.at(1)) || "";
|
|
6024
|
-
ne(
|
|
6047
|
+
ne(R);
|
|
6025
6048
|
const Q = ((k = D.match(
|
|
6026
6049
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6027
6050
|
)) == null ? void 0 : k.at(1)) || "";
|
|
@@ -6039,10 +6062,10 @@ const ls = [
|
|
|
6039
6062
|
let D = await fetch(l + "/" + X.url).then(
|
|
6040
6063
|
(P) => P.text()
|
|
6041
6064
|
);
|
|
6042
|
-
const
|
|
6065
|
+
const R = ((j = D.match(
|
|
6043
6066
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6044
6067
|
)) == null ? void 0 : j.at(1)) || "";
|
|
6045
|
-
ne(
|
|
6068
|
+
ne(R);
|
|
6046
6069
|
const Q = ((N = D.match(
|
|
6047
6070
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6048
6071
|
)) == null ? void 0 : N.at(1)) || "";
|
|
@@ -6066,14 +6089,14 @@ const ls = [
|
|
|
6066
6089
|
}, d = async () => {
|
|
6067
6090
|
const h = await is({ _id: t }, o);
|
|
6068
6091
|
I(h.size);
|
|
6069
|
-
}, W = async () => await as(r, o),
|
|
6092
|
+
}, W = async () => await as(r, o), G = async () => {
|
|
6070
6093
|
const h = await ss(t, o);
|
|
6071
6094
|
b(h);
|
|
6072
6095
|
};
|
|
6073
6096
|
return Ce(() => {
|
|
6074
|
-
A || (m(null), g(null), y(null), I(null)), A && n === "Playable" ? (E(), M(null),
|
|
6097
|
+
A || (m(null), g(null), y(null), I(null)), A && n === "Playable" ? (E(), M(null), G()) : A && n === "Flex" && (z(), d(), W().then((h) => {
|
|
6075
6098
|
A && M(h);
|
|
6076
|
-
})), A &&
|
|
6099
|
+
})), A && G();
|
|
6077
6100
|
}, [r, e, t, A]), Ce(() => {
|
|
6078
6101
|
W().then((h) => {
|
|
6079
6102
|
g(h);
|
|
@@ -6331,7 +6354,7 @@ if (Zs) {
|
|
|
6331
6354
|
e || Is.apply(null, [t].concat(r));
|
|
6332
6355
|
};
|
|
6333
6356
|
}
|
|
6334
|
-
var Ks = QA,
|
|
6357
|
+
var Ks = QA, Le = {}, PA = { exports: {} };
|
|
6335
6358
|
/*!
|
|
6336
6359
|
Copyright (c) 2015 Jed Watson.
|
|
6337
6360
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
@@ -6349,19 +6372,19 @@ var Ks = QA, Ee = {}, PA = { exports: {} };
|
|
|
6349
6372
|
})();
|
|
6350
6373
|
})(PA);
|
|
6351
6374
|
var ws = PA.exports;
|
|
6352
|
-
Object.defineProperty(
|
|
6375
|
+
Object.defineProperty(Le, "__esModule", {
|
|
6353
6376
|
value: !0
|
|
6354
6377
|
});
|
|
6355
|
-
|
|
6378
|
+
Le.canUseDOM = Le.SafeNodeList = Le.SafeHTMLCollection = void 0;
|
|
6356
6379
|
var Ws = ws, Os = xs(Ws);
|
|
6357
6380
|
function xs(e) {
|
|
6358
6381
|
return e && e.__esModule ? e : { default: e };
|
|
6359
6382
|
}
|
|
6360
6383
|
var sr = Os.default, Ms = sr.canUseDOM ? window.HTMLElement : {};
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6384
|
+
Le.SafeHTMLCollection = sr.canUseDOM ? window.HTMLCollection : {};
|
|
6385
|
+
Le.SafeNodeList = sr.canUseDOM ? window.NodeList : {};
|
|
6386
|
+
Le.canUseDOM = sr.canUseDOM;
|
|
6387
|
+
Le.default = Ms;
|
|
6365
6388
|
Object.defineProperty(ze, "__esModule", {
|
|
6366
6389
|
value: !0
|
|
6367
6390
|
});
|
|
@@ -6373,7 +6396,7 @@ ze.validateElement = tn;
|
|
|
6373
6396
|
ze.hide = Js;
|
|
6374
6397
|
ze.show = Ns;
|
|
6375
6398
|
ze.documentNotReadyOrSSRTesting = Ds;
|
|
6376
|
-
var Ss = Ks,
|
|
6399
|
+
var Ss = Ks, Es = Ys(Ss), Ls = Le;
|
|
6377
6400
|
function Ys(e) {
|
|
6378
6401
|
return e && e.__esModule ? e : { default: e };
|
|
6379
6402
|
}
|
|
@@ -6397,7 +6420,7 @@ function BA(e, t) {
|
|
|
6397
6420
|
}
|
|
6398
6421
|
function js(e) {
|
|
6399
6422
|
var t = e;
|
|
6400
|
-
if (typeof t == "string" &&
|
|
6423
|
+
if (typeof t == "string" && Ls.canUseDOM) {
|
|
6401
6424
|
var r = document.querySelectorAll(t);
|
|
6402
6425
|
BA(r, t), t = r;
|
|
6403
6426
|
}
|
|
@@ -6405,7 +6428,7 @@ function js(e) {
|
|
|
6405
6428
|
}
|
|
6406
6429
|
function tn(e) {
|
|
6407
6430
|
var t = e || be;
|
|
6408
|
-
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0,
|
|
6431
|
+
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, Es.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
|
|
6409
6432
|
}
|
|
6410
6433
|
function Js(e) {
|
|
6411
6434
|
var t = !0, r = !1, n = void 0;
|
|
@@ -6613,7 +6636,7 @@ Fs.default.subscribe(tl);
|
|
|
6613
6636
|
return function(M, z, d) {
|
|
6614
6637
|
return z && w(M.prototype, z), d && w(M, d), M;
|
|
6615
6638
|
};
|
|
6616
|
-
}(), o = re, i = $t, a = b(i), c = Ye, l = L(c), u = Cs, m = b(u), p = ze, g = L(p), q = dt, y = L(q), Z =
|
|
6639
|
+
}(), o = re, i = $t, a = b(i), c = Ye, l = L(c), u = Cs, m = b(u), p = ze, g = L(p), q = dt, y = L(q), Z = Le, I = b(Z), Y = pt, J = b(Y);
|
|
6617
6640
|
function L(w) {
|
|
6618
6641
|
if (w && w.__esModule)
|
|
6619
6642
|
return w;
|
|
@@ -6657,8 +6680,8 @@ Fs.default.subscribe(tl);
|
|
|
6657
6680
|
}, d.setContentRef = function(W) {
|
|
6658
6681
|
d.content = W, d.props.contentRef && d.props.contentRef(W);
|
|
6659
6682
|
}, d.afterClose = function() {
|
|
6660
|
-
var W = d.props,
|
|
6661
|
-
k && y.remove(N.body, k), K && y.remove(N.getElementsByTagName("html")[0], K), h && E > 0 && (E -= 1, E === 0 && g.show(
|
|
6683
|
+
var W = d.props, G = W.appElement, h = W.ariaHideApp, K = W.htmlOpenClassName, k = W.bodyOpenClassName, j = W.parentSelector, N = j && j().ownerDocument || document;
|
|
6684
|
+
k && y.remove(N.body, k), K && y.remove(N.getElementsByTagName("html")[0], K), h && E > 0 && (E -= 1, E === 0 && g.show(G)), d.props.shouldFocusAfterRender && (d.props.shouldReturnFocusAfterClose ? (l.returnFocus(d.props.preventScroll), l.teardownScopedFocus()) : l.popWithoutFocus()), d.props.onAfterClose && d.props.onAfterClose(), J.default.deregister(d);
|
|
6662
6685
|
}, d.open = function() {
|
|
6663
6686
|
d.beforeOpen(), d.state.afterOpen && d.state.beforeClose ? (clearTimeout(d.closeTimer), d.setState({ beforeClose: !1 })) : (d.props.shouldFocusAfterRender && (l.setupScopedFocus(d.node), l.markForFocusLater()), d.setState({ isOpen: !0 }, function() {
|
|
6664
6687
|
d.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6704,16 +6727,16 @@ Fs.default.subscribe(tl);
|
|
|
6704
6727
|
return !d.state.isOpen && !d.state.beforeClose;
|
|
6705
6728
|
}, d.contentHasFocus = function() {
|
|
6706
6729
|
return document.activeElement === d.content || d.content.contains(document.activeElement);
|
|
6707
|
-
}, d.buildClassName = function(W,
|
|
6708
|
-
var h = (typeof
|
|
6730
|
+
}, d.buildClassName = function(W, G) {
|
|
6731
|
+
var h = (typeof G > "u" ? "undefined" : n(G)) === "object" ? G : {
|
|
6709
6732
|
base: ie[W],
|
|
6710
6733
|
afterOpen: ie[W] + "--after-open",
|
|
6711
6734
|
beforeClose: ie[W] + "--before-close"
|
|
6712
6735
|
}, K = h.base;
|
|
6713
|
-
return d.state.afterOpen && (K = K + " " + h.afterOpen), d.state.beforeClose && (K = K + " " + h.beforeClose), typeof
|
|
6714
|
-
}, d.attributesFromObject = function(W,
|
|
6715
|
-
return Object.keys(
|
|
6716
|
-
return h[W + "-" + K] =
|
|
6736
|
+
return d.state.afterOpen && (K = K + " " + h.afterOpen), d.state.beforeClose && (K = K + " " + h.beforeClose), typeof G == "string" && G ? K + " " + G : K;
|
|
6737
|
+
}, d.attributesFromObject = function(W, G) {
|
|
6738
|
+
return Object.keys(G).reduce(function(h, K) {
|
|
6739
|
+
return h[W + "-" + K] = G[K], h;
|
|
6717
6740
|
}, {});
|
|
6718
6741
|
}, d.state = {
|
|
6719
6742
|
afterOpen: !1,
|
|
@@ -6738,14 +6761,14 @@ Fs.default.subscribe(tl);
|
|
|
6738
6761
|
}, {
|
|
6739
6762
|
key: "beforeOpen",
|
|
6740
6763
|
value: function() {
|
|
6741
|
-
var d = this.props, W = d.appElement,
|
|
6742
|
-
K && y.add(j.body, K), h && y.add(j.getElementsByTagName("html")[0], h),
|
|
6764
|
+
var d = this.props, W = d.appElement, G = d.ariaHideApp, h = d.htmlOpenClassName, K = d.bodyOpenClassName, k = d.parentSelector, j = k && k().ownerDocument || document;
|
|
6765
|
+
K && y.add(j.body, K), h && y.add(j.getElementsByTagName("html")[0], h), G && (E += 1, g.hide(W)), J.default.register(this);
|
|
6743
6766
|
}
|
|
6744
6767
|
// Don't steal focus from inner elements
|
|
6745
6768
|
}, {
|
|
6746
6769
|
key: "render",
|
|
6747
6770
|
value: function() {
|
|
6748
|
-
var d = this.props, W = d.id,
|
|
6771
|
+
var d = this.props, W = d.id, G = d.className, h = d.overlayClassName, K = d.defaultStyles, k = d.children, j = G ? {} : K.content, N = h ? {} : K.overlay;
|
|
6749
6772
|
if (this.shouldBeClosed())
|
|
6750
6773
|
return null;
|
|
6751
6774
|
var X = {
|
|
@@ -6758,7 +6781,7 @@ Fs.default.subscribe(tl);
|
|
|
6758
6781
|
id: W,
|
|
6759
6782
|
ref: this.setContentRef,
|
|
6760
6783
|
style: r({}, j, this.props.style.content),
|
|
6761
|
-
className: this.buildClassName("content",
|
|
6784
|
+
className: this.buildClassName("content", G),
|
|
6762
6785
|
tabIndex: "-1",
|
|
6763
6786
|
onKeyDown: this.handleKeyDown,
|
|
6764
6787
|
onMouseDown: this.handleContentOnMouseDown,
|
|
@@ -6768,8 +6791,8 @@ Fs.default.subscribe(tl);
|
|
|
6768
6791
|
"aria-label": this.props.contentLabel
|
|
6769
6792
|
}, this.attributesFromObject("aria", r({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
6770
6793
|
"data-testid": this.props.testId
|
|
6771
|
-
}),
|
|
6772
|
-
return this.props.overlayElement(X,
|
|
6794
|
+
}), R = this.props.contentElement(D, k);
|
|
6795
|
+
return this.props.overlayElement(X, R);
|
|
6773
6796
|
}
|
|
6774
6797
|
}]), M;
|
|
6775
6798
|
}(o.Component);
|
|
@@ -6904,7 +6927,7 @@ var Vn = Object.assign || function(e) {
|
|
|
6904
6927
|
return function(t, r, n) {
|
|
6905
6928
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
6906
6929
|
};
|
|
6907
|
-
}(), $A = re, Ut = Mt($A), al = Io, Ft = Mt(al), sl = $t,
|
|
6930
|
+
}(), $A = re, Ut = Mt($A), al = Io, Ft = Mt(al), sl = $t, H = Mt(sl), ll = rl, Un = Mt(ll), ul = ze, cl = dl(ul), Qe = Le, Fn = Mt(Qe), ml = ol;
|
|
6908
6931
|
function dl(e) {
|
|
6909
6932
|
if (e && e.__esModule)
|
|
6910
6933
|
return e;
|
|
@@ -7012,44 +7035,44 @@ var ft = function(e) {
|
|
|
7012
7035
|
}]), t;
|
|
7013
7036
|
}($A.Component);
|
|
7014
7037
|
ft.propTypes = {
|
|
7015
|
-
isOpen:
|
|
7016
|
-
style:
|
|
7017
|
-
content:
|
|
7018
|
-
overlay:
|
|
7038
|
+
isOpen: H.default.bool.isRequired,
|
|
7039
|
+
style: H.default.shape({
|
|
7040
|
+
content: H.default.object,
|
|
7041
|
+
overlay: H.default.object
|
|
7019
7042
|
}),
|
|
7020
|
-
portalClassName:
|
|
7021
|
-
bodyOpenClassName:
|
|
7022
|
-
htmlOpenClassName:
|
|
7023
|
-
className:
|
|
7024
|
-
base:
|
|
7025
|
-
afterOpen:
|
|
7026
|
-
beforeClose:
|
|
7043
|
+
portalClassName: H.default.string,
|
|
7044
|
+
bodyOpenClassName: H.default.string,
|
|
7045
|
+
htmlOpenClassName: H.default.string,
|
|
7046
|
+
className: H.default.oneOfType([H.default.string, H.default.shape({
|
|
7047
|
+
base: H.default.string.isRequired,
|
|
7048
|
+
afterOpen: H.default.string.isRequired,
|
|
7049
|
+
beforeClose: H.default.string.isRequired
|
|
7027
7050
|
})]),
|
|
7028
|
-
overlayClassName:
|
|
7029
|
-
base:
|
|
7030
|
-
afterOpen:
|
|
7031
|
-
beforeClose:
|
|
7051
|
+
overlayClassName: H.default.oneOfType([H.default.string, H.default.shape({
|
|
7052
|
+
base: H.default.string.isRequired,
|
|
7053
|
+
afterOpen: H.default.string.isRequired,
|
|
7054
|
+
beforeClose: H.default.string.isRequired
|
|
7032
7055
|
})]),
|
|
7033
|
-
appElement:
|
|
7034
|
-
onAfterOpen:
|
|
7035
|
-
onRequestClose:
|
|
7036
|
-
closeTimeoutMS:
|
|
7037
|
-
ariaHideApp:
|
|
7038
|
-
shouldFocusAfterRender:
|
|
7039
|
-
shouldCloseOnOverlayClick:
|
|
7040
|
-
shouldReturnFocusAfterClose:
|
|
7041
|
-
preventScroll:
|
|
7042
|
-
parentSelector:
|
|
7043
|
-
aria:
|
|
7044
|
-
data:
|
|
7045
|
-
role:
|
|
7046
|
-
contentLabel:
|
|
7047
|
-
shouldCloseOnEsc:
|
|
7048
|
-
overlayRef:
|
|
7049
|
-
contentRef:
|
|
7050
|
-
id:
|
|
7051
|
-
overlayElement:
|
|
7052
|
-
contentElement:
|
|
7056
|
+
appElement: H.default.oneOfType([H.default.instanceOf(Fn.default), H.default.instanceOf(Qe.SafeHTMLCollection), H.default.instanceOf(Qe.SafeNodeList), H.default.arrayOf(H.default.instanceOf(Fn.default))]),
|
|
7057
|
+
onAfterOpen: H.default.func,
|
|
7058
|
+
onRequestClose: H.default.func,
|
|
7059
|
+
closeTimeoutMS: H.default.number,
|
|
7060
|
+
ariaHideApp: H.default.bool,
|
|
7061
|
+
shouldFocusAfterRender: H.default.bool,
|
|
7062
|
+
shouldCloseOnOverlayClick: H.default.bool,
|
|
7063
|
+
shouldReturnFocusAfterClose: H.default.bool,
|
|
7064
|
+
preventScroll: H.default.bool,
|
|
7065
|
+
parentSelector: H.default.func,
|
|
7066
|
+
aria: H.default.object,
|
|
7067
|
+
data: H.default.object,
|
|
7068
|
+
role: H.default.string,
|
|
7069
|
+
contentLabel: H.default.string,
|
|
7070
|
+
shouldCloseOnEsc: H.default.bool,
|
|
7071
|
+
overlayRef: H.default.func,
|
|
7072
|
+
contentRef: H.default.func,
|
|
7073
|
+
id: H.default.string,
|
|
7074
|
+
overlayElement: H.default.func,
|
|
7075
|
+
contentElement: H.default.func
|
|
7053
7076
|
};
|
|
7054
7077
|
ft.defaultProps = {
|
|
7055
7078
|
isOpen: !1,
|