gearboxdownloadmodal 4.0.37 → 4.0.39
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 +539 -536
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +14 -14
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/Modal.d.ts +1 -0
- package/dist/src/components/Preview.d.ts +1 -0
- package/dist/src/components/Qrcode.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -69,41 +69,41 @@ function So() {
|
|
|
69
69
|
function C(l) {
|
|
70
70
|
if (l === null || typeof l != "object")
|
|
71
71
|
return null;
|
|
72
|
-
var
|
|
73
|
-
return typeof
|
|
72
|
+
var I = p && l[p] || l[y];
|
|
73
|
+
return typeof I == "function" ? I : null;
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Z = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
76
76
|
function k(l) {
|
|
77
77
|
{
|
|
78
|
-
for (var
|
|
78
|
+
for (var I = arguments.length, S = new Array(I > 1 ? I - 1 : 0), H = 1; H < I; H++)
|
|
79
79
|
S[H - 1] = arguments[H];
|
|
80
|
-
|
|
80
|
+
J("error", l, S);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function J(l, I, S) {
|
|
84
84
|
{
|
|
85
|
-
var H =
|
|
86
|
-
ee !== "" && (
|
|
85
|
+
var H = Z.ReactDebugCurrentFrame, ee = H.getStackAddendum();
|
|
86
|
+
ee !== "" && (I += "%s", S = S.concat([ee]));
|
|
87
87
|
var le = S.map(function(U) {
|
|
88
88
|
return String(U);
|
|
89
89
|
});
|
|
90
|
-
le.unshift("Warning: " +
|
|
90
|
+
le.unshift("Warning: " + I), Function.prototype.apply.call(console[l], console, le);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Y = !1, v = !1, Ae = !1, se = !1, _ = !1, re;
|
|
94
94
|
re = Symbol.for("react.module.reference");
|
|
95
95
|
function ce(l) {
|
|
96
|
-
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || _ || l === i || l === s || l === u || se || l === q ||
|
|
96
|
+
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || _ || l === i || l === s || l === u || se || l === q || Y || v || Ae || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === d || l.$$typeof === A || l.$$typeof === a || l.$$typeof === c || // This needs to include all possible module reference object
|
|
97
97
|
// types supported by any Flight configuration anywhere since
|
|
98
98
|
// we don't know which Flight build this will end up being used
|
|
99
99
|
// with.
|
|
100
100
|
l.$$typeof === re || l.getModuleId !== void 0));
|
|
101
101
|
}
|
|
102
|
-
function ae(l,
|
|
102
|
+
function ae(l, I, S) {
|
|
103
103
|
var H = l.displayName;
|
|
104
104
|
if (H)
|
|
105
105
|
return H;
|
|
106
|
-
var ee =
|
|
106
|
+
var ee = I.displayName || I.name || "";
|
|
107
107
|
return ee !== "" ? S + "(" + ee + ")" : S;
|
|
108
108
|
}
|
|
109
109
|
function $(l) {
|
|
@@ -133,8 +133,8 @@ function So() {
|
|
|
133
133
|
if (typeof l == "object")
|
|
134
134
|
switch (l.$$typeof) {
|
|
135
135
|
case a:
|
|
136
|
-
var
|
|
137
|
-
return $(
|
|
136
|
+
var I = l;
|
|
137
|
+
return $(I) + ".Consumer";
|
|
138
138
|
case A:
|
|
139
139
|
var S = l;
|
|
140
140
|
return $(S._context) + ".Provider";
|
|
@@ -154,18 +154,18 @@ function So() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var x = Object.assign, w = 0,
|
|
158
|
-
function G() {
|
|
159
|
-
}
|
|
160
|
-
G.__reactDisabledLog = !0;
|
|
157
|
+
var x = Object.assign, w = 0, L, f, W, N, g, K, O;
|
|
161
158
|
function D() {
|
|
159
|
+
}
|
|
160
|
+
D.__reactDisabledLog = !0;
|
|
161
|
+
function G() {
|
|
162
162
|
{
|
|
163
163
|
if (w === 0) {
|
|
164
|
-
|
|
164
|
+
L = console.log, f = console.info, W = console.warn, N = console.error, g = console.group, K = console.groupCollapsed, O = console.groupEnd;
|
|
165
165
|
var l = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
168
|
-
value:
|
|
168
|
+
value: D,
|
|
169
169
|
writable: !0
|
|
170
170
|
};
|
|
171
171
|
Object.defineProperties(console, {
|
|
@@ -191,7 +191,7 @@ function So() {
|
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
193
|
log: x({}, l, {
|
|
194
|
-
value:
|
|
194
|
+
value: L
|
|
195
195
|
}),
|
|
196
196
|
info: x({}, l, {
|
|
197
197
|
value: f
|
|
@@ -200,7 +200,7 @@ function So() {
|
|
|
200
200
|
value: W
|
|
201
201
|
}),
|
|
202
202
|
error: x({}, l, {
|
|
203
|
-
value:
|
|
203
|
+
value: N
|
|
204
204
|
}),
|
|
205
205
|
group: x({}, l, {
|
|
206
206
|
value: g
|
|
@@ -216,18 +216,18 @@ function So() {
|
|
|
216
216
|
w < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
var j =
|
|
220
|
-
function z(l,
|
|
219
|
+
var j = Z.ReactCurrentDispatcher, E;
|
|
220
|
+
function z(l, I, S) {
|
|
221
221
|
{
|
|
222
|
-
if (
|
|
222
|
+
if (E === void 0)
|
|
223
223
|
try {
|
|
224
224
|
throw Error();
|
|
225
225
|
} catch (ee) {
|
|
226
226
|
var H = ee.stack.trim().match(/\n( *(at )?)/);
|
|
227
|
-
|
|
227
|
+
E = H && H[1] || "";
|
|
228
228
|
}
|
|
229
229
|
return `
|
|
230
|
-
` +
|
|
230
|
+
` + E + l;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
var Q = !1, T;
|
|
@@ -235,7 +235,7 @@ function So() {
|
|
|
235
235
|
var me = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
236
|
T = new me();
|
|
237
237
|
}
|
|
238
|
-
function M(l,
|
|
238
|
+
function M(l, I) {
|
|
239
239
|
if (!l || Q)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
@@ -248,9 +248,9 @@ function So() {
|
|
|
248
248
|
var ee = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var le;
|
|
251
|
-
le = j.current, j.current = null,
|
|
251
|
+
le = j.current, j.current = null, G();
|
|
252
252
|
try {
|
|
253
|
-
if (
|
|
253
|
+
if (I) {
|
|
254
254
|
var U = function() {
|
|
255
255
|
throw Error();
|
|
256
256
|
};
|
|
@@ -306,14 +306,14 @@ function So() {
|
|
|
306
306
|
var st = l ? l.displayName || l.name : "", hn = st ? z(st) : "";
|
|
307
307
|
return typeof l == "function" && T.set(l, hn), hn;
|
|
308
308
|
}
|
|
309
|
-
function we(l,
|
|
309
|
+
function we(l, I, S) {
|
|
310
310
|
return M(l, !1);
|
|
311
311
|
}
|
|
312
312
|
function At(l) {
|
|
313
|
-
var
|
|
314
|
-
return !!(
|
|
313
|
+
var I = l.prototype;
|
|
314
|
+
return !!(I && I.isReactComponent);
|
|
315
315
|
}
|
|
316
|
-
function Ve(l,
|
|
316
|
+
function Ve(l, I, S) {
|
|
317
317
|
if (l == null)
|
|
318
318
|
return "";
|
|
319
319
|
if (typeof l == "function")
|
|
@@ -331,26 +331,26 @@ function So() {
|
|
|
331
331
|
case c:
|
|
332
332
|
return we(l.render);
|
|
333
333
|
case d:
|
|
334
|
-
return Ve(l.type,
|
|
334
|
+
return Ve(l.type, I, S);
|
|
335
335
|
case h: {
|
|
336
336
|
var H = l, ee = H._payload, le = H._init;
|
|
337
337
|
try {
|
|
338
|
-
return Ve(le(ee),
|
|
338
|
+
return Ve(le(ee), I, S);
|
|
339
339
|
} catch {
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
return "";
|
|
344
344
|
}
|
|
345
|
-
var Lt = Object.prototype.hasOwnProperty, nn = {}, on =
|
|
345
|
+
var Lt = Object.prototype.hasOwnProperty, nn = {}, on = Z.ReactDebugCurrentFrame;
|
|
346
346
|
function Et(l) {
|
|
347
347
|
if (l) {
|
|
348
|
-
var
|
|
348
|
+
var I = l._owner, S = Ve(l.type, l._source, I ? I.type : null);
|
|
349
349
|
on.setExtraStackFrame(S);
|
|
350
350
|
} else
|
|
351
351
|
on.setExtraStackFrame(null);
|
|
352
352
|
}
|
|
353
|
-
function no(l,
|
|
353
|
+
function no(l, I, S, H, ee) {
|
|
354
354
|
{
|
|
355
355
|
var le = Function.call.bind(Lt);
|
|
356
356
|
for (var U in l)
|
|
@@ -361,7 +361,7 @@ function So() {
|
|
|
361
361
|
var ye = Error((H || "React class") + ": " + S + " type `" + U + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[U] + "`.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
|
-
B = l[U](
|
|
364
|
+
B = l[U](I, U, H, S, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
365
365
|
} catch (de) {
|
|
366
366
|
B = de;
|
|
367
367
|
}
|
|
@@ -375,7 +375,7 @@ function So() {
|
|
|
375
375
|
}
|
|
376
376
|
function oo(l) {
|
|
377
377
|
{
|
|
378
|
-
var
|
|
378
|
+
var I = typeof Symbol == "function" && Symbol.toStringTag, S = I && l[Symbol.toStringTag] || l.constructor.name || "Object";
|
|
379
379
|
return S;
|
|
380
380
|
}
|
|
381
381
|
}
|
|
@@ -393,7 +393,7 @@ function So() {
|
|
|
393
393
|
if (Ao(l))
|
|
394
394
|
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", oo(l)), An(l);
|
|
395
395
|
}
|
|
396
|
-
var ht =
|
|
396
|
+
var ht = Z.ReactCurrentOwner, ao = {
|
|
397
397
|
key: !0,
|
|
398
398
|
ref: !0,
|
|
399
399
|
__self: !0,
|
|
@@ -402,30 +402,30 @@ function So() {
|
|
|
402
402
|
ur = {};
|
|
403
403
|
function so(l) {
|
|
404
404
|
if (Lt.call(l, "ref")) {
|
|
405
|
-
var
|
|
406
|
-
if (
|
|
405
|
+
var I = Object.getOwnPropertyDescriptor(l, "ref").get;
|
|
406
|
+
if (I && I.isReactWarning)
|
|
407
407
|
return !1;
|
|
408
408
|
}
|
|
409
409
|
return l.ref !== void 0;
|
|
410
410
|
}
|
|
411
411
|
function lo(l) {
|
|
412
412
|
if (Lt.call(l, "key")) {
|
|
413
|
-
var
|
|
414
|
-
if (
|
|
413
|
+
var I = Object.getOwnPropertyDescriptor(l, "key").get;
|
|
414
|
+
if (I && I.isReactWarning)
|
|
415
415
|
return !1;
|
|
416
416
|
}
|
|
417
417
|
return l.key !== void 0;
|
|
418
418
|
}
|
|
419
|
-
function uo(l,
|
|
420
|
-
if (typeof l.ref == "string" && ht.current &&
|
|
419
|
+
function uo(l, I) {
|
|
420
|
+
if (typeof l.ref == "string" && ht.current && I && ht.current.stateNode !== I) {
|
|
421
421
|
var S = P(ht.current.type);
|
|
422
422
|
ur[S] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(ht.current.type), l.ref), ur[S] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
function co(l,
|
|
425
|
+
function co(l, I) {
|
|
426
426
|
{
|
|
427
427
|
var S = function() {
|
|
428
|
-
sn || (sn = !0, k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
428
|
+
sn || (sn = !0, k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
429
429
|
};
|
|
430
430
|
S.isReactWarning = !0, Object.defineProperty(l, "key", {
|
|
431
431
|
get: S,
|
|
@@ -433,10 +433,10 @@ function So() {
|
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
function mo(l,
|
|
436
|
+
function mo(l, I) {
|
|
437
437
|
{
|
|
438
438
|
var S = function() {
|
|
439
|
-
ln || (ln = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
439
|
+
ln || (ln = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
440
440
|
};
|
|
441
441
|
S.isReactWarning = !0, Object.defineProperty(l, "ref", {
|
|
442
442
|
get: S,
|
|
@@ -444,13 +444,13 @@ function So() {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
var po = function(l,
|
|
447
|
+
var po = function(l, I, S, H, ee, le, U) {
|
|
448
448
|
var B = {
|
|
449
449
|
// This tag allows us to uniquely identify this as a React Element
|
|
450
450
|
$$typeof: t,
|
|
451
451
|
// Built-in properties that belong on the element
|
|
452
452
|
type: l,
|
|
453
|
-
key:
|
|
453
|
+
key: I,
|
|
454
454
|
ref: S,
|
|
455
455
|
props: U,
|
|
456
456
|
// Record the component responsible for creating this element.
|
|
@@ -473,12 +473,12 @@ function So() {
|
|
|
473
473
|
value: ee
|
|
474
474
|
}), Object.freeze && (Object.freeze(B.props), Object.freeze(B)), B;
|
|
475
475
|
};
|
|
476
|
-
function fo(l,
|
|
476
|
+
function fo(l, I, S, H, ee) {
|
|
477
477
|
{
|
|
478
478
|
var le, U = {}, B = null, ye = null;
|
|
479
|
-
S !== void 0 && (an(S), B = "" + S), lo(
|
|
480
|
-
for (le in
|
|
481
|
-
Lt.call(
|
|
479
|
+
S !== void 0 && (an(S), B = "" + S), lo(I) && (an(I.key), B = "" + I.key), so(I) && (ye = I.ref, uo(I, ee));
|
|
480
|
+
for (le in I)
|
|
481
|
+
Lt.call(I, le) && !ao.hasOwnProperty(le) && (U[le] = I[le]);
|
|
482
482
|
if (l && l.defaultProps) {
|
|
483
483
|
var de = l.defaultProps;
|
|
484
484
|
for (le in de)
|
|
@@ -491,10 +491,10 @@ function So() {
|
|
|
491
491
|
return po(l, B, ye, ee, H, ht.current, U);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
var cr =
|
|
494
|
+
var cr = Z.ReactCurrentOwner, un = Z.ReactDebugCurrentFrame;
|
|
495
495
|
function at(l) {
|
|
496
496
|
if (l) {
|
|
497
|
-
var
|
|
497
|
+
var I = l._owner, S = Ve(l.type, l._source, I ? I.type : null);
|
|
498
498
|
un.setExtraStackFrame(S);
|
|
499
499
|
} else
|
|
500
500
|
un.setExtraStackFrame(null);
|
|
@@ -519,10 +519,10 @@ Check the render method of \`` + l + "`.";
|
|
|
519
519
|
function ho(l) {
|
|
520
520
|
{
|
|
521
521
|
if (l !== void 0) {
|
|
522
|
-
var
|
|
522
|
+
var I = l.fileName.replace(/^.*[\\\/]/, ""), S = l.lineNumber;
|
|
523
523
|
return `
|
|
524
524
|
|
|
525
|
-
Check your code at ` +
|
|
525
|
+
Check your code at ` + I + ":" + S + ".";
|
|
526
526
|
}
|
|
527
527
|
return "";
|
|
528
528
|
}
|
|
@@ -530,22 +530,22 @@ Check your code at ` + Z + ":" + S + ".";
|
|
|
530
530
|
var mn = {};
|
|
531
531
|
function qo(l) {
|
|
532
532
|
{
|
|
533
|
-
var
|
|
534
|
-
if (!
|
|
533
|
+
var I = cn();
|
|
534
|
+
if (!I) {
|
|
535
535
|
var S = typeof l == "string" ? l : l.displayName || l.name;
|
|
536
|
-
S && (
|
|
536
|
+
S && (I = `
|
|
537
537
|
|
|
538
538
|
Check the top-level render call using <` + S + ">.");
|
|
539
539
|
}
|
|
540
|
-
return
|
|
540
|
+
return I;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
function dn(l,
|
|
543
|
+
function dn(l, I) {
|
|
544
544
|
{
|
|
545
545
|
if (!l._store || l._store.validated || l.key != null)
|
|
546
546
|
return;
|
|
547
547
|
l._store.validated = !0;
|
|
548
|
-
var S = qo(
|
|
548
|
+
var S = qo(I);
|
|
549
549
|
if (mn[S])
|
|
550
550
|
return;
|
|
551
551
|
mn[S] = !0;
|
|
@@ -553,14 +553,14 @@ Check the top-level render call using <` + S + ">.");
|
|
|
553
553
|
l && l._owner && l._owner !== cr.current && (H = " It was passed a child from " + P(l._owner.type) + "."), at(l), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, H), at(null);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
function pn(l,
|
|
556
|
+
function pn(l, I) {
|
|
557
557
|
{
|
|
558
558
|
if (typeof l != "object")
|
|
559
559
|
return;
|
|
560
560
|
if (lr(l))
|
|
561
561
|
for (var S = 0; S < l.length; S++) {
|
|
562
562
|
var H = l[S];
|
|
563
|
-
dr(H) && dn(H,
|
|
563
|
+
dr(H) && dn(H, I);
|
|
564
564
|
}
|
|
565
565
|
else if (dr(l))
|
|
566
566
|
l._store && (l._store.validated = !0);
|
|
@@ -568,39 +568,39 @@ Check the top-level render call using <` + S + ">.");
|
|
|
568
568
|
var ee = C(l);
|
|
569
569
|
if (typeof ee == "function" && ee !== l.entries)
|
|
570
570
|
for (var le = ee.call(l), U; !(U = le.next()).done; )
|
|
571
|
-
dr(U.value) && dn(U.value,
|
|
571
|
+
dr(U.value) && dn(U.value, I);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
function go(l) {
|
|
576
576
|
{
|
|
577
|
-
var
|
|
578
|
-
if (
|
|
577
|
+
var I = l.type;
|
|
578
|
+
if (I == null || typeof I == "string")
|
|
579
579
|
return;
|
|
580
580
|
var S;
|
|
581
|
-
if (typeof
|
|
582
|
-
S =
|
|
583
|
-
else if (typeof
|
|
581
|
+
if (typeof I == "function")
|
|
582
|
+
S = I.propTypes;
|
|
583
|
+
else if (typeof I == "object" && (I.$$typeof === c || // Note: Memo only checks outer props here.
|
|
584
584
|
// Inner props are checked in the reconciler.
|
|
585
|
-
|
|
586
|
-
S =
|
|
585
|
+
I.$$typeof === d))
|
|
586
|
+
S = I.propTypes;
|
|
587
587
|
else
|
|
588
588
|
return;
|
|
589
589
|
if (S) {
|
|
590
|
-
var H = P(
|
|
590
|
+
var H = P(I);
|
|
591
591
|
no(S, l.props, "prop", H, l);
|
|
592
|
-
} else if (
|
|
592
|
+
} else if (I.PropTypes !== void 0 && !mr) {
|
|
593
593
|
mr = !0;
|
|
594
|
-
var ee = P(
|
|
594
|
+
var ee = P(I);
|
|
595
595
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ee || "Unknown");
|
|
596
596
|
}
|
|
597
|
-
typeof
|
|
597
|
+
typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
function yo(l) {
|
|
601
601
|
{
|
|
602
|
-
for (var
|
|
603
|
-
var H =
|
|
602
|
+
for (var I = Object.keys(l.props), S = 0; S < I.length; S++) {
|
|
603
|
+
var H = I[S];
|
|
604
604
|
if (H !== "children" && H !== "key") {
|
|
605
605
|
at(l), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", H), at(null);
|
|
606
606
|
break;
|
|
@@ -609,7 +609,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
609
609
|
l.ref !== null && (at(l), k("Invalid attribute `ref` supplied to `React.Fragment`."), at(null));
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function fn(l,
|
|
612
|
+
function fn(l, I, S, H, ee, le) {
|
|
613
613
|
{
|
|
614
614
|
var U = ce(l);
|
|
615
615
|
if (!U) {
|
|
@@ -620,11 +620,11 @@ Check the top-level render call using <` + S + ">.");
|
|
|
620
620
|
var de;
|
|
621
621
|
l === null ? de = "null" : lr(l) ? de = "array" : l !== void 0 && l.$$typeof === t ? (de = "<" + (P(l.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : de = typeof l, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", de, B);
|
|
622
622
|
}
|
|
623
|
-
var pe = fo(l,
|
|
623
|
+
var pe = fo(l, I, S, ee, le);
|
|
624
624
|
if (pe == null)
|
|
625
625
|
return pe;
|
|
626
626
|
if (U) {
|
|
627
|
-
var Ke =
|
|
627
|
+
var Ke = I.children;
|
|
628
628
|
if (Ke !== void 0)
|
|
629
629
|
if (H)
|
|
630
630
|
if (lr(Ke)) {
|
|
@@ -639,11 +639,11 @@ Check the top-level render call using <` + S + ">.");
|
|
|
639
639
|
return l === n ? yo(pe) : go(pe), pe;
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
|
-
function vo(l,
|
|
643
|
-
return fn(l,
|
|
642
|
+
function vo(l, I, S) {
|
|
643
|
+
return fn(l, I, S, !0);
|
|
644
644
|
}
|
|
645
|
-
function bo(l,
|
|
646
|
-
return fn(l,
|
|
645
|
+
function bo(l, I, S) {
|
|
646
|
+
return fn(l, I, S, !1);
|
|
647
647
|
}
|
|
648
648
|
var Co = bo, Zo = vo;
|
|
649
649
|
gt.Fragment = n, gt.jsx = Co, gt.jsxs = Zo;
|
|
@@ -1367,12 +1367,12 @@ Je.createBytes = function(e, t) {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
for (var y = 0, u = 0; u < t.length; u++)
|
|
1369
1369
|
y += t[u].totalCount;
|
|
1370
|
-
for (var C = new Array(y),
|
|
1370
|
+
for (var C = new Array(y), Z = 0, u = 0; u < n; u++)
|
|
1371
1371
|
for (var a = 0; a < t.length; a++)
|
|
1372
|
-
u < o[a].length && (C[
|
|
1372
|
+
u < o[a].length && (C[Z++] = o[a][u]);
|
|
1373
1373
|
for (var u = 0; u < i; u++)
|
|
1374
1374
|
for (var a = 0; a < t.length; a++)
|
|
1375
|
-
u < A[a].length && (C[
|
|
1375
|
+
u < A[a].length && (C[Z++] = A[a][u]);
|
|
1376
1376
|
return C;
|
|
1377
1377
|
};
|
|
1378
1378
|
var Ho = Je, Mr = { exports: {} }, kt = { exports: {} }, ne = {};
|
|
@@ -1389,28 +1389,28 @@ function Xo() {
|
|
|
1389
1389
|
if (vn)
|
|
1390
1390
|
return ne;
|
|
1391
1391
|
vn = 1;
|
|
1392
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, A = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117,
|
|
1393
|
-
function
|
|
1394
|
-
if (typeof
|
|
1395
|
-
var Ae =
|
|
1392
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, A = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, Z = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1393
|
+
function J(v) {
|
|
1394
|
+
if (typeof v == "object" && v !== null) {
|
|
1395
|
+
var Ae = v.$$typeof;
|
|
1396
1396
|
switch (Ae) {
|
|
1397
1397
|
case t:
|
|
1398
|
-
switch (
|
|
1398
|
+
switch (v = v.type, v) {
|
|
1399
1399
|
case c:
|
|
1400
1400
|
case s:
|
|
1401
1401
|
case n:
|
|
1402
1402
|
case o:
|
|
1403
1403
|
case i:
|
|
1404
1404
|
case d:
|
|
1405
|
-
return
|
|
1405
|
+
return v;
|
|
1406
1406
|
default:
|
|
1407
|
-
switch (
|
|
1407
|
+
switch (v = v && v.$$typeof, v) {
|
|
1408
1408
|
case a:
|
|
1409
1409
|
case u:
|
|
1410
1410
|
case p:
|
|
1411
1411
|
case q:
|
|
1412
1412
|
case A:
|
|
1413
|
-
return
|
|
1413
|
+
return v;
|
|
1414
1414
|
default:
|
|
1415
1415
|
return Ae;
|
|
1416
1416
|
}
|
|
@@ -1420,36 +1420,36 @@ function Xo() {
|
|
|
1420
1420
|
}
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1424
|
-
return
|
|
1425
|
-
}
|
|
1426
|
-
return ne.AsyncMode = c, ne.ConcurrentMode = s, ne.ContextConsumer = a, ne.ContextProvider = A, ne.Element = t, ne.ForwardRef = u, ne.Fragment = n, ne.Lazy = p, ne.Memo = q, ne.Portal = r, ne.Profiler = o, ne.StrictMode = i, ne.Suspense = d, ne.isAsyncMode = function(
|
|
1427
|
-
return
|
|
1428
|
-
}, ne.isConcurrentMode =
|
|
1429
|
-
return
|
|
1430
|
-
}, ne.isContextProvider = function(
|
|
1431
|
-
return
|
|
1432
|
-
}, ne.isElement = function(
|
|
1433
|
-
return typeof
|
|
1434
|
-
}, ne.isForwardRef = function(
|
|
1435
|
-
return
|
|
1436
|
-
}, ne.isFragment = function(
|
|
1437
|
-
return
|
|
1438
|
-
}, ne.isLazy = function(
|
|
1439
|
-
return
|
|
1440
|
-
}, ne.isMemo = function(
|
|
1441
|
-
return
|
|
1442
|
-
}, ne.isPortal = function(
|
|
1443
|
-
return
|
|
1444
|
-
}, ne.isProfiler = function(
|
|
1445
|
-
return
|
|
1446
|
-
}, ne.isStrictMode = function(
|
|
1447
|
-
return
|
|
1448
|
-
}, ne.isSuspense = function(
|
|
1449
|
-
return
|
|
1450
|
-
}, ne.isValidElementType = function(
|
|
1451
|
-
return typeof
|
|
1452
|
-
}, ne.typeOf =
|
|
1423
|
+
function Y(v) {
|
|
1424
|
+
return J(v) === s;
|
|
1425
|
+
}
|
|
1426
|
+
return ne.AsyncMode = c, ne.ConcurrentMode = s, ne.ContextConsumer = a, ne.ContextProvider = A, ne.Element = t, ne.ForwardRef = u, ne.Fragment = n, ne.Lazy = p, ne.Memo = q, ne.Portal = r, ne.Profiler = o, ne.StrictMode = i, ne.Suspense = d, ne.isAsyncMode = function(v) {
|
|
1427
|
+
return Y(v) || J(v) === c;
|
|
1428
|
+
}, ne.isConcurrentMode = Y, ne.isContextConsumer = function(v) {
|
|
1429
|
+
return J(v) === a;
|
|
1430
|
+
}, ne.isContextProvider = function(v) {
|
|
1431
|
+
return J(v) === A;
|
|
1432
|
+
}, ne.isElement = function(v) {
|
|
1433
|
+
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
1434
|
+
}, ne.isForwardRef = function(v) {
|
|
1435
|
+
return J(v) === u;
|
|
1436
|
+
}, ne.isFragment = function(v) {
|
|
1437
|
+
return J(v) === n;
|
|
1438
|
+
}, ne.isLazy = function(v) {
|
|
1439
|
+
return J(v) === p;
|
|
1440
|
+
}, ne.isMemo = function(v) {
|
|
1441
|
+
return J(v) === q;
|
|
1442
|
+
}, ne.isPortal = function(v) {
|
|
1443
|
+
return J(v) === r;
|
|
1444
|
+
}, ne.isProfiler = function(v) {
|
|
1445
|
+
return J(v) === o;
|
|
1446
|
+
}, ne.isStrictMode = function(v) {
|
|
1447
|
+
return J(v) === i;
|
|
1448
|
+
}, ne.isSuspense = function(v) {
|
|
1449
|
+
return J(v) === d;
|
|
1450
|
+
}, ne.isValidElementType = function(v) {
|
|
1451
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === s || v === o || v === i || v === d || v === h || typeof v == "object" && v !== null && (v.$$typeof === p || v.$$typeof === q || v.$$typeof === A || v.$$typeof === a || v.$$typeof === u || v.$$typeof === C || v.$$typeof === Z || v.$$typeof === k || v.$$typeof === y);
|
|
1452
|
+
}, ne.typeOf = J, ne;
|
|
1453
1453
|
}
|
|
1454
1454
|
var ie = {};
|
|
1455
1455
|
/** @license React v16.13.1
|
|
@@ -1463,12 +1463,12 @@ var ie = {};
|
|
|
1463
1463
|
var bn;
|
|
1464
1464
|
function Qo() {
|
|
1465
1465
|
return bn || (bn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, A = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117,
|
|
1467
|
-
function
|
|
1466
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, A = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, Z = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1467
|
+
function J(M) {
|
|
1468
1468
|
return typeof M == "string" || typeof M == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1469
|
-
M === n || M === s || M === o || M === i || M === d || M === h || typeof M == "object" && M !== null && (M.$$typeof === p || M.$$typeof === q || M.$$typeof === A || M.$$typeof === a || M.$$typeof === u || M.$$typeof === C || M.$$typeof ===
|
|
1469
|
+
M === n || M === s || M === o || M === i || M === d || M === h || typeof M == "object" && M !== null && (M.$$typeof === p || M.$$typeof === q || M.$$typeof === A || M.$$typeof === a || M.$$typeof === u || M.$$typeof === C || M.$$typeof === Z || M.$$typeof === k || M.$$typeof === y);
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function Y(M) {
|
|
1472
1472
|
if (typeof M == "object" && M !== null) {
|
|
1473
1473
|
var we = M.$$typeof;
|
|
1474
1474
|
switch (we) {
|
|
@@ -1500,47 +1500,47 @@ function Qo() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var
|
|
1504
|
-
function
|
|
1505
|
-
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.")), g(M) ||
|
|
1503
|
+
var v = c, Ae = s, se = a, _ = A, re = t, ce = u, ae = n, $ = p, P = q, x = r, w = o, L = i, f = d, W = !1;
|
|
1504
|
+
function N(M) {
|
|
1505
|
+
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.")), g(M) || Y(M) === c;
|
|
1506
1506
|
}
|
|
1507
1507
|
function g(M) {
|
|
1508
|
-
return
|
|
1508
|
+
return Y(M) === s;
|
|
1509
1509
|
}
|
|
1510
1510
|
function K(M) {
|
|
1511
|
-
return
|
|
1511
|
+
return Y(M) === a;
|
|
1512
1512
|
}
|
|
1513
1513
|
function O(M) {
|
|
1514
|
-
return
|
|
1514
|
+
return Y(M) === A;
|
|
1515
1515
|
}
|
|
1516
|
-
function
|
|
1516
|
+
function D(M) {
|
|
1517
1517
|
return typeof M == "object" && M !== null && M.$$typeof === t;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
return
|
|
1519
|
+
function G(M) {
|
|
1520
|
+
return Y(M) === u;
|
|
1521
1521
|
}
|
|
1522
1522
|
function R(M) {
|
|
1523
|
-
return
|
|
1523
|
+
return Y(M) === n;
|
|
1524
1524
|
}
|
|
1525
1525
|
function j(M) {
|
|
1526
|
-
return
|
|
1526
|
+
return Y(M) === p;
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1529
|
-
return
|
|
1528
|
+
function E(M) {
|
|
1529
|
+
return Y(M) === q;
|
|
1530
1530
|
}
|
|
1531
1531
|
function z(M) {
|
|
1532
|
-
return
|
|
1532
|
+
return Y(M) === r;
|
|
1533
1533
|
}
|
|
1534
1534
|
function Q(M) {
|
|
1535
|
-
return
|
|
1535
|
+
return Y(M) === o;
|
|
1536
1536
|
}
|
|
1537
1537
|
function T(M) {
|
|
1538
|
-
return
|
|
1538
|
+
return Y(M) === i;
|
|
1539
1539
|
}
|
|
1540
1540
|
function me(M) {
|
|
1541
|
-
return
|
|
1541
|
+
return Y(M) === d;
|
|
1542
1542
|
}
|
|
1543
|
-
ie.AsyncMode =
|
|
1543
|
+
ie.AsyncMode = v, ie.ConcurrentMode = Ae, ie.ContextConsumer = se, ie.ContextProvider = _, ie.Element = re, ie.ForwardRef = ce, ie.Fragment = ae, ie.Lazy = $, ie.Memo = P, ie.Portal = x, ie.Profiler = w, ie.StrictMode = L, ie.Suspense = f, ie.isAsyncMode = N, ie.isConcurrentMode = g, ie.isContextConsumer = K, ie.isContextProvider = O, ie.isElement = D, ie.isForwardRef = G, ie.isFragment = R, ie.isLazy = j, ie.isMemo = E, ie.isPortal = z, ie.isProfiler = Q, ie.isStrictMode = T, ie.isSuspense = me, ie.isValidElementType = J, ie.typeOf = Y;
|
|
1544
1544
|
}()), ie;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Cn;
|
|
@@ -1687,18 +1687,18 @@ function Bo() {
|
|
|
1687
1687
|
return K;
|
|
1688
1688
|
}
|
|
1689
1689
|
var h = "<<anonymous>>", q = {
|
|
1690
|
-
array:
|
|
1691
|
-
bigint:
|
|
1692
|
-
bool:
|
|
1693
|
-
func:
|
|
1694
|
-
number:
|
|
1695
|
-
object:
|
|
1696
|
-
string:
|
|
1697
|
-
symbol:
|
|
1690
|
+
array: Z("array"),
|
|
1691
|
+
bigint: Z("bigint"),
|
|
1692
|
+
bool: Z("boolean"),
|
|
1693
|
+
func: Z("function"),
|
|
1694
|
+
number: Z("number"),
|
|
1695
|
+
object: Z("object"),
|
|
1696
|
+
string: Z("string"),
|
|
1697
|
+
symbol: Z("symbol"),
|
|
1698
1698
|
any: k(),
|
|
1699
|
-
arrayOf:
|
|
1700
|
-
element:
|
|
1701
|
-
elementType:
|
|
1699
|
+
arrayOf: J,
|
|
1700
|
+
element: Y(),
|
|
1701
|
+
elementType: v(),
|
|
1702
1702
|
instanceOf: Ae,
|
|
1703
1703
|
node: ce(),
|
|
1704
1704
|
objectOf: _,
|
|
@@ -1717,33 +1717,33 @@ function Bo() {
|
|
|
1717
1717
|
function C(g) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var K = {}, O = 0;
|
|
1720
|
-
function
|
|
1721
|
-
if (z = z || h, T = T ||
|
|
1720
|
+
function D(R, j, E, z, Q, T, me) {
|
|
1721
|
+
if (z = z || h, T = T || E, me !== r) {
|
|
1722
1722
|
if (c) {
|
|
1723
1723
|
var M = new Error(
|
|
1724
1724
|
"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"
|
|
1725
1725
|
);
|
|
1726
1726
|
throw M.name = "Invariant Violation", M;
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
|
-
var we = z + ":" +
|
|
1728
|
+
var we = z + ":" + E;
|
|
1729
1729
|
!K[we] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1730
1730
|
O < 3 && (o(
|
|
1731
1731
|
"You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + z + "`. 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."
|
|
1732
1732
|
), K[we] = !0, O++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return j[
|
|
1735
|
+
return j[E] == null ? R ? j[E] === null ? new y("The " + Q + " `" + T + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new y("The " + Q + " `" + T + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : g(j, E, z, Q, T);
|
|
1736
1736
|
}
|
|
1737
|
-
var
|
|
1738
|
-
return
|
|
1737
|
+
var G = D.bind(null, !1);
|
|
1738
|
+
return G.isRequired = D.bind(null, !0), G;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1741
|
-
function K(O,
|
|
1742
|
-
var z = O[
|
|
1740
|
+
function Z(g) {
|
|
1741
|
+
function K(O, D, G, R, j, E) {
|
|
1742
|
+
var z = O[D], Q = L(z);
|
|
1743
1743
|
if (Q !== g) {
|
|
1744
1744
|
var T = f(z);
|
|
1745
1745
|
return new y(
|
|
1746
|
-
"Invalid " + R + " `" + j + "` of type " + ("`" + T + "` supplied to `" +
|
|
1746
|
+
"Invalid " + R + " `" + j + "` of type " + ("`" + T + "` supplied to `" + G + "`, expected ") + ("`" + g + "`."),
|
|
1747
1747
|
{ expectedType: g }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
@@ -1754,17 +1754,17 @@ function Bo() {
|
|
|
1754
1754
|
function k() {
|
|
1755
1755
|
return C(A);
|
|
1756
1756
|
}
|
|
1757
|
-
function
|
|
1758
|
-
function K(O,
|
|
1757
|
+
function J(g) {
|
|
1758
|
+
function K(O, D, G, R, j) {
|
|
1759
1759
|
if (typeof g != "function")
|
|
1760
|
-
return new y("Property `" + j + "` of component `" +
|
|
1761
|
-
var
|
|
1762
|
-
if (!Array.isArray(
|
|
1763
|
-
var z = E
|
|
1764
|
-
return new y("Invalid " + R + " `" + j + "` of type " + ("`" + z + "` supplied to `" +
|
|
1760
|
+
return new y("Property `" + j + "` of component `" + G + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
+
var E = O[D];
|
|
1762
|
+
if (!Array.isArray(E)) {
|
|
1763
|
+
var z = L(E);
|
|
1764
|
+
return new y("Invalid " + R + " `" + j + "` of type " + ("`" + z + "` supplied to `" + G + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
|
-
for (var Q = 0; Q <
|
|
1767
|
-
var T = g(
|
|
1766
|
+
for (var Q = 0; Q < E.length; Q++) {
|
|
1767
|
+
var T = g(E, Q, G, R, j + "[" + Q + "]", r);
|
|
1768
1768
|
if (T instanceof Error)
|
|
1769
1769
|
return T;
|
|
1770
1770
|
}
|
|
@@ -1772,33 +1772,33 @@ function Bo() {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
return C(K);
|
|
1774
1774
|
}
|
|
1775
|
-
function
|
|
1776
|
-
function g(K, O,
|
|
1775
|
+
function Y() {
|
|
1776
|
+
function g(K, O, D, G, R) {
|
|
1777
1777
|
var j = K[O];
|
|
1778
1778
|
if (!a(j)) {
|
|
1779
|
-
var
|
|
1780
|
-
return new y("Invalid " +
|
|
1779
|
+
var E = L(j);
|
|
1780
|
+
return new y("Invalid " + G + " `" + R + "` of type " + ("`" + E + "` supplied to `" + D + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
1783
1783
|
}
|
|
1784
1784
|
return C(g);
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1787
|
-
function g(K, O,
|
|
1786
|
+
function v() {
|
|
1787
|
+
function g(K, O, D, G, R) {
|
|
1788
1788
|
var j = K[O];
|
|
1789
1789
|
if (!e.isValidElementType(j)) {
|
|
1790
|
-
var
|
|
1791
|
-
return new y("Invalid " +
|
|
1790
|
+
var E = L(j);
|
|
1791
|
+
return new y("Invalid " + G + " `" + R + "` of type " + ("`" + E + "` supplied to `" + D + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
1795
1795
|
return C(g);
|
|
1796
1796
|
}
|
|
1797
1797
|
function Ae(g) {
|
|
1798
|
-
function K(O,
|
|
1799
|
-
if (!(O[
|
|
1800
|
-
var
|
|
1801
|
-
return new y("Invalid " + R + " `" + j + "` of type " + ("`" + z + "` supplied to `" +
|
|
1798
|
+
function K(O, D, G, R, j) {
|
|
1799
|
+
if (!(O[D] instanceof g)) {
|
|
1800
|
+
var E = g.name || h, z = N(O[D]);
|
|
1801
|
+
return new y("Invalid " + R + " `" + j + "` of type " + ("`" + z + "` supplied to `" + G + "`, expected ") + ("instance of `" + E + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
@@ -1809,28 +1809,28 @@ function Bo() {
|
|
|
1809
1809
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
1810
1810
|
"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])."
|
|
1811
1811
|
) : o("Invalid argument supplied to oneOf, expected an array.")), A;
|
|
1812
|
-
function K(O,
|
|
1813
|
-
for (var
|
|
1814
|
-
if (p(
|
|
1812
|
+
function K(O, D, G, R, j) {
|
|
1813
|
+
for (var E = O[D], z = 0; z < g.length; z++)
|
|
1814
|
+
if (p(E, g[z]))
|
|
1815
1815
|
return null;
|
|
1816
1816
|
var Q = JSON.stringify(g, function(me, M) {
|
|
1817
1817
|
var we = f(M);
|
|
1818
1818
|
return we === "symbol" ? String(M) : M;
|
|
1819
1819
|
});
|
|
1820
|
-
return new y("Invalid " + R + " `" + j + "` of value `" + String(
|
|
1820
|
+
return new y("Invalid " + R + " `" + j + "` of value `" + String(E) + "` " + ("supplied to `" + G + "`, expected one of " + Q + "."));
|
|
1821
1821
|
}
|
|
1822
1822
|
return C(K);
|
|
1823
1823
|
}
|
|
1824
1824
|
function _(g) {
|
|
1825
|
-
function K(O,
|
|
1825
|
+
function K(O, D, G, R, j) {
|
|
1826
1826
|
if (typeof g != "function")
|
|
1827
|
-
return new y("Property `" + j + "` of component `" +
|
|
1828
|
-
var
|
|
1827
|
+
return new y("Property `" + j + "` of component `" + G + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
+
var E = O[D], z = L(E);
|
|
1829
1829
|
if (z !== "object")
|
|
1830
|
-
return new y("Invalid " + R + " `" + j + "` of type " + ("`" + z + "` supplied to `" +
|
|
1831
|
-
for (var Q in
|
|
1832
|
-
if (n(
|
|
1833
|
-
var T = g(
|
|
1830
|
+
return new y("Invalid " + R + " `" + j + "` of type " + ("`" + z + "` supplied to `" + G + "`, expected an object."));
|
|
1831
|
+
for (var Q in E)
|
|
1832
|
+
if (n(E, Q)) {
|
|
1833
|
+
var T = g(E, Q, G, R, j + "." + Q, r);
|
|
1834
1834
|
if (T instanceof Error)
|
|
1835
1835
|
return T;
|
|
1836
1836
|
}
|
|
@@ -1848,39 +1848,39 @@ function Bo() {
|
|
|
1848
1848
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(O) + " at index " + K + "."
|
|
1849
1849
|
), A;
|
|
1850
1850
|
}
|
|
1851
|
-
function G
|
|
1851
|
+
function D(G, R, j, E, z) {
|
|
1852
1852
|
for (var Q = [], T = 0; T < g.length; T++) {
|
|
1853
|
-
var me = g[T], M = me(
|
|
1853
|
+
var me = g[T], M = me(G, R, j, E, z, r);
|
|
1854
1854
|
if (M == null)
|
|
1855
1855
|
return null;
|
|
1856
1856
|
M.data && n(M.data, "expectedType") && Q.push(M.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
1858
|
var we = Q.length > 0 ? ", expected one of type [" + Q.join(", ") + "]" : "";
|
|
1859
|
-
return new y("Invalid " +
|
|
1859
|
+
return new y("Invalid " + E + " `" + z + "` supplied to " + ("`" + j + "`" + we + "."));
|
|
1860
1860
|
}
|
|
1861
|
-
return C(
|
|
1861
|
+
return C(D);
|
|
1862
1862
|
}
|
|
1863
1863
|
function ce() {
|
|
1864
|
-
function g(K, O,
|
|
1865
|
-
return x(K[O]) ? null : new y("Invalid " +
|
|
1864
|
+
function g(K, O, D, G, R) {
|
|
1865
|
+
return x(K[O]) ? null : new y("Invalid " + G + " `" + R + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
1867
|
return C(g);
|
|
1868
1868
|
}
|
|
1869
|
-
function ae(g, K, O,
|
|
1869
|
+
function ae(g, K, O, D, G) {
|
|
1870
1870
|
return new y(
|
|
1871
|
-
(g || "React class") + ": " + K + " type `" + O + "." +
|
|
1871
|
+
(g || "React class") + ": " + K + " type `" + O + "." + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + G + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
1874
|
function $(g) {
|
|
1875
|
-
function K(O,
|
|
1876
|
-
var
|
|
1875
|
+
function K(O, D, G, R, j) {
|
|
1876
|
+
var E = O[D], z = L(E);
|
|
1877
1877
|
if (z !== "object")
|
|
1878
|
-
return new y("Invalid " + R + " `" + j + "` of type `" + z + "` " + ("supplied to `" +
|
|
1878
|
+
return new y("Invalid " + R + " `" + j + "` of type `" + z + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
1879
1879
|
for (var Q in g) {
|
|
1880
1880
|
var T = g[Q];
|
|
1881
1881
|
if (typeof T != "function")
|
|
1882
|
-
return ae(
|
|
1883
|
-
var me = T(
|
|
1882
|
+
return ae(G, R, j, Q, f(T));
|
|
1883
|
+
var me = T(E, Q, G, R, j + "." + Q, r);
|
|
1884
1884
|
if (me)
|
|
1885
1885
|
return me;
|
|
1886
1886
|
}
|
|
@@ -1889,21 +1889,21 @@ function Bo() {
|
|
|
1889
1889
|
return C(K);
|
|
1890
1890
|
}
|
|
1891
1891
|
function P(g) {
|
|
1892
|
-
function K(O,
|
|
1893
|
-
var
|
|
1892
|
+
function K(O, D, G, R, j) {
|
|
1893
|
+
var E = O[D], z = L(E);
|
|
1894
1894
|
if (z !== "object")
|
|
1895
|
-
return new y("Invalid " + R + " `" + j + "` of type `" + z + "` " + ("supplied to `" +
|
|
1896
|
-
var Q = t({}, O[
|
|
1895
|
+
return new y("Invalid " + R + " `" + j + "` of type `" + z + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
1896
|
+
var Q = t({}, O[D], g);
|
|
1897
1897
|
for (var T in Q) {
|
|
1898
1898
|
var me = g[T];
|
|
1899
1899
|
if (n(g, T) && typeof me != "function")
|
|
1900
|
-
return ae(
|
|
1900
|
+
return ae(G, R, j, T, f(me));
|
|
1901
1901
|
if (!me)
|
|
1902
1902
|
return new y(
|
|
1903
|
-
"Invalid " + R + " `" + j + "` key `" + T + "` supplied to `" +
|
|
1903
|
+
"Invalid " + R + " `" + j + "` key `" + T + "` supplied to `" + G + "`.\nBad object: " + JSON.stringify(O[D], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var M = me(
|
|
1906
|
+
var M = me(E, T, G, R, j + "." + T, r);
|
|
1907
1907
|
if (M)
|
|
1908
1908
|
return M;
|
|
1909
1909
|
}
|
|
@@ -1926,15 +1926,15 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1926
1926
|
return !0;
|
|
1927
1927
|
var K = d(g);
|
|
1928
1928
|
if (K) {
|
|
1929
|
-
var O = K.call(g),
|
|
1929
|
+
var O = K.call(g), D;
|
|
1930
1930
|
if (K !== g.entries) {
|
|
1931
|
-
for (; !(
|
|
1932
|
-
if (!x(
|
|
1931
|
+
for (; !(D = O.next()).done; )
|
|
1932
|
+
if (!x(D.value))
|
|
1933
1933
|
return !1;
|
|
1934
1934
|
} else
|
|
1935
|
-
for (; !(
|
|
1936
|
-
var
|
|
1937
|
-
if (
|
|
1935
|
+
for (; !(D = O.next()).done; ) {
|
|
1936
|
+
var G = D.value;
|
|
1937
|
+
if (G && !x(G[1]))
|
|
1938
1938
|
return !1;
|
|
1939
1939
|
}
|
|
1940
1940
|
} else
|
|
@@ -1947,14 +1947,14 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1947
1947
|
function w(g, K) {
|
|
1948
1948
|
return g === "symbol" ? !0 : K ? K["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && K instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function L(g) {
|
|
1951
1951
|
var K = typeof g;
|
|
1952
1952
|
return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : w(K, g) ? "symbol" : K;
|
|
1953
1953
|
}
|
|
1954
1954
|
function f(g) {
|
|
1955
1955
|
if (typeof g > "u" || g === null)
|
|
1956
1956
|
return "" + g;
|
|
1957
|
-
var K =
|
|
1957
|
+
var K = L(g);
|
|
1958
1958
|
if (K === "object") {
|
|
1959
1959
|
if (g instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -1977,7 +1977,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1977
1977
|
return K;
|
|
1978
1978
|
}
|
|
1979
1979
|
}
|
|
1980
|
-
function
|
|
1980
|
+
function N(g) {
|
|
1981
1981
|
return !g.constructor || !g.constructor.name ? h : g.constructor.name;
|
|
1982
1982
|
}
|
|
1983
1983
|
return q.checkPropTypes = i, q.resetWarningCache = i.resetWarningCache, q.PropTypes = q, q;
|
|
@@ -2357,7 +2357,7 @@ const VA = (e) => {
|
|
|
2357
2357
|
return n;
|
|
2358
2358
|
};
|
|
2359
2359
|
return r(e, 0);
|
|
2360
|
-
}, BA = Ne("AsyncFunction"), UA = (e) => e && (nr(e) || Me(e)) && Me(e.then) && Me(e.catch),
|
|
2360
|
+
}, BA = Ne("AsyncFunction"), UA = (e) => e && (nr(e) || Me(e)) && Me(e.then) && Me(e.catch), b = {
|
|
2361
2361
|
isArray: mt,
|
|
2362
2362
|
isArrayBuffer: hi,
|
|
2363
2363
|
isBuffer: gA,
|
|
@@ -2414,7 +2414,7 @@ const VA = (e) => {
|
|
|
2414
2414
|
function F(e, t, r, n, i) {
|
|
2415
2415
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), n && (this.request = n), i && (this.response = i);
|
|
2416
2416
|
}
|
|
2417
|
-
|
|
2417
|
+
b.inherits(F, Error, {
|
|
2418
2418
|
toJSON: function() {
|
|
2419
2419
|
return {
|
|
2420
2420
|
// Standard
|
|
@@ -2429,7 +2429,7 @@ v.inherits(F, Error, {
|
|
|
2429
2429
|
columnNumber: this.columnNumber,
|
|
2430
2430
|
stack: this.stack,
|
|
2431
2431
|
// Axios
|
|
2432
|
-
config:
|
|
2432
|
+
config: b.toJSONObject(this.config),
|
|
2433
2433
|
code: this.code,
|
|
2434
2434
|
status: this.response && this.response.status ? this.response.status : null
|
|
2435
2435
|
};
|
|
@@ -2457,16 +2457,16 @@ Object.defineProperties(F, Ii);
|
|
|
2457
2457
|
Object.defineProperty(Zi, "isAxiosError", { value: !0 });
|
|
2458
2458
|
F.from = (e, t, r, n, i, o) => {
|
|
2459
2459
|
const A = Object.create(Zi);
|
|
2460
|
-
return
|
|
2460
|
+
return b.toFlatObject(e, A, function(c) {
|
|
2461
2461
|
return c !== Error.prototype;
|
|
2462
2462
|
}, (a) => a !== "isAxiosError"), F.call(A, e.message, t, r, n, i), A.cause = e, A.name = e.name, o && Object.assign(A, o), A;
|
|
2463
2463
|
};
|
|
2464
2464
|
const FA = null;
|
|
2465
2465
|
function Lr(e) {
|
|
2466
|
-
return
|
|
2466
|
+
return b.isPlainObject(e) || b.isArray(e);
|
|
2467
2467
|
}
|
|
2468
2468
|
function wi(e) {
|
|
2469
|
-
return
|
|
2469
|
+
return b.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
2470
2470
|
}
|
|
2471
2471
|
function Sn(e, t, r) {
|
|
2472
2472
|
return e ? e.concat(t).map(function(i, o) {
|
|
@@ -2474,44 +2474,44 @@ function Sn(e, t, r) {
|
|
|
2474
2474
|
}).join(r ? "." : "") : t;
|
|
2475
2475
|
}
|
|
2476
2476
|
function _A(e) {
|
|
2477
|
-
return
|
|
2477
|
+
return b.isArray(e) && !e.some(Lr);
|
|
2478
2478
|
}
|
|
2479
|
-
const $A =
|
|
2479
|
+
const $A = b.toFlatObject(b, {}, null, function(t) {
|
|
2480
2480
|
return /^is[A-Z]/.test(t);
|
|
2481
2481
|
});
|
|
2482
2482
|
function ir(e, t, r) {
|
|
2483
|
-
if (!
|
|
2483
|
+
if (!b.isObject(e))
|
|
2484
2484
|
throw new TypeError("target must be an object");
|
|
2485
|
-
t = t || new FormData(), r =
|
|
2485
|
+
t = t || new FormData(), r = b.toFlatObject(r, {
|
|
2486
2486
|
metaTokens: !0,
|
|
2487
2487
|
dots: !1,
|
|
2488
2488
|
indexes: !1
|
|
2489
2489
|
}, !1, function(y, C) {
|
|
2490
|
-
return !
|
|
2490
|
+
return !b.isUndefined(C[y]);
|
|
2491
2491
|
});
|
|
2492
|
-
const n = r.metaTokens, i = r.visitor || u, o = r.dots, A = r.indexes, c = (r.Blob || typeof Blob < "u" && Blob) &&
|
|
2493
|
-
if (!
|
|
2492
|
+
const n = r.metaTokens, i = r.visitor || u, o = r.dots, A = r.indexes, c = (r.Blob || typeof Blob < "u" && Blob) && b.isSpecCompliantForm(t);
|
|
2493
|
+
if (!b.isFunction(i))
|
|
2494
2494
|
throw new TypeError("visitor must be a function");
|
|
2495
2495
|
function s(p) {
|
|
2496
2496
|
if (p === null)
|
|
2497
2497
|
return "";
|
|
2498
|
-
if (
|
|
2498
|
+
if (b.isDate(p))
|
|
2499
2499
|
return p.toISOString();
|
|
2500
|
-
if (!c &&
|
|
2500
|
+
if (!c && b.isBlob(p))
|
|
2501
2501
|
throw new F("Blob is not supported. Use a Buffer instead.");
|
|
2502
|
-
return
|
|
2502
|
+
return b.isArrayBuffer(p) || b.isTypedArray(p) ? c && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
2503
2503
|
}
|
|
2504
2504
|
function u(p, y, C) {
|
|
2505
|
-
let
|
|
2505
|
+
let Z = p;
|
|
2506
2506
|
if (p && !C && typeof p == "object") {
|
|
2507
|
-
if (
|
|
2507
|
+
if (b.endsWith(y, "{}"))
|
|
2508
2508
|
y = n ? y : y.slice(0, -2), p = JSON.stringify(p);
|
|
2509
|
-
else if (
|
|
2510
|
-
return y = wi(y),
|
|
2511
|
-
!(
|
|
2509
|
+
else if (b.isArray(p) && _A(p) || (b.isFileList(p) || b.endsWith(y, "[]")) && (Z = b.toArray(p)))
|
|
2510
|
+
return y = wi(y), Z.forEach(function(J, Y) {
|
|
2511
|
+
!(b.isUndefined(J) || J === null) && t.append(
|
|
2512
2512
|
// eslint-disable-next-line no-nested-ternary
|
|
2513
|
-
A === !0 ? Sn([y],
|
|
2514
|
-
s(
|
|
2513
|
+
A === !0 ? Sn([y], Y, o) : A === null ? y : y + "[]",
|
|
2514
|
+
s(J)
|
|
2515
2515
|
);
|
|
2516
2516
|
}), !1;
|
|
2517
2517
|
}
|
|
@@ -2523,21 +2523,21 @@ function ir(e, t, r) {
|
|
|
2523
2523
|
isVisitable: Lr
|
|
2524
2524
|
});
|
|
2525
2525
|
function q(p, y) {
|
|
2526
|
-
if (!
|
|
2526
|
+
if (!b.isUndefined(p)) {
|
|
2527
2527
|
if (d.indexOf(p) !== -1)
|
|
2528
2528
|
throw Error("Circular reference detected in " + y.join("."));
|
|
2529
|
-
d.push(p),
|
|
2530
|
-
(!(
|
|
2529
|
+
d.push(p), b.forEach(p, function(Z, k) {
|
|
2530
|
+
(!(b.isUndefined(Z) || Z === null) && i.call(
|
|
2531
2531
|
t,
|
|
2532
|
-
|
|
2533
|
-
|
|
2532
|
+
Z,
|
|
2533
|
+
b.isString(k) ? k.trim() : k,
|
|
2534
2534
|
y,
|
|
2535
2535
|
h
|
|
2536
|
-
)) === !0 && q(
|
|
2536
|
+
)) === !0 && q(Z, y ? y.concat(k) : [k]);
|
|
2537
2537
|
}), d.pop();
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
|
-
if (!
|
|
2540
|
+
if (!b.isObject(e))
|
|
2541
2541
|
throw new TypeError("data must be an object");
|
|
2542
2542
|
return q(e), t;
|
|
2543
2543
|
}
|
|
@@ -2578,7 +2578,7 @@ function Wi(e, t, r) {
|
|
|
2578
2578
|
return e;
|
|
2579
2579
|
const n = r && r.encode || ea, i = r && r.serialize;
|
|
2580
2580
|
let o;
|
|
2581
|
-
if (i ? o = i(t, r) : o =
|
|
2581
|
+
if (i ? o = i(t, r) : o = b.isURLSearchParams(t) ? t.toString() : new Qr(t, r).toString(n), o) {
|
|
2582
2582
|
const A = e.indexOf("#");
|
|
2583
2583
|
A !== -1 && (e = e.slice(0, A)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
|
|
2584
2584
|
}
|
|
@@ -2633,7 +2633,7 @@ class ta {
|
|
|
2633
2633
|
* @returns {void}
|
|
2634
2634
|
*/
|
|
2635
2635
|
forEach(t) {
|
|
2636
|
-
|
|
2636
|
+
b.forEach(this.handlers, function(n) {
|
|
2637
2637
|
n !== null && t(n);
|
|
2638
2638
|
});
|
|
2639
2639
|
}
|
|
@@ -2660,12 +2660,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
2660
2660
|
function aa(e, t) {
|
|
2661
2661
|
return ir(e, new Ee.classes.URLSearchParams(), Object.assign({
|
|
2662
2662
|
visitor: function(r, n, i, o) {
|
|
2663
|
-
return Ee.isNode &&
|
|
2663
|
+
return Ee.isNode && b.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
2664
2664
|
}
|
|
2665
2665
|
}, t));
|
|
2666
2666
|
}
|
|
2667
2667
|
function sa(e) {
|
|
2668
|
-
return
|
|
2668
|
+
return b.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
2669
2669
|
}
|
|
2670
2670
|
function la(e) {
|
|
2671
2671
|
const t = {}, r = Object.keys(e);
|
|
@@ -2680,20 +2680,20 @@ function Oi(e) {
|
|
|
2680
2680
|
function t(r, n, i, o) {
|
|
2681
2681
|
let A = r[o++];
|
|
2682
2682
|
const a = Number.isFinite(+A), c = o >= r.length;
|
|
2683
|
-
return A = !A &&
|
|
2683
|
+
return A = !A && b.isArray(i) ? i.length : A, c ? (b.hasOwnProp(i, A) ? i[A] = [i[A], n] : i[A] = n, !a) : ((!i[A] || !b.isObject(i[A])) && (i[A] = []), t(r, n, i[A], o) && b.isArray(i[A]) && (i[A] = la(i[A])), !a);
|
|
2684
2684
|
}
|
|
2685
|
-
if (
|
|
2685
|
+
if (b.isFormData(e) && b.isFunction(e.entries)) {
|
|
2686
2686
|
const r = {};
|
|
2687
|
-
return
|
|
2687
|
+
return b.forEachEntry(e, (n, i) => {
|
|
2688
2688
|
t(sa(n), i, r, 0);
|
|
2689
2689
|
}), r;
|
|
2690
2690
|
}
|
|
2691
2691
|
return null;
|
|
2692
2692
|
}
|
|
2693
2693
|
function ua(e, t, r) {
|
|
2694
|
-
if (
|
|
2694
|
+
if (b.isString(e))
|
|
2695
2695
|
try {
|
|
2696
|
-
return (t || JSON.parse)(e),
|
|
2696
|
+
return (t || JSON.parse)(e), b.trim(e);
|
|
2697
2697
|
} catch (n) {
|
|
2698
2698
|
if (n.name !== "SyntaxError")
|
|
2699
2699
|
throw n;
|
|
@@ -2704,20 +2704,20 @@ const Pr = {
|
|
|
2704
2704
|
transitional: xi,
|
|
2705
2705
|
adapter: Ee.isNode ? "http" : "xhr",
|
|
2706
2706
|
transformRequest: [function(t, r) {
|
|
2707
|
-
const n = r.getContentType() || "", i = n.indexOf("application/json") > -1, o =
|
|
2708
|
-
if (o &&
|
|
2707
|
+
const n = r.getContentType() || "", i = n.indexOf("application/json") > -1, o = b.isObject(t);
|
|
2708
|
+
if (o && b.isHTMLForm(t) && (t = new FormData(t)), b.isFormData(t))
|
|
2709
2709
|
return i && i ? JSON.stringify(Oi(t)) : t;
|
|
2710
|
-
if (
|
|
2710
|
+
if (b.isArrayBuffer(t) || b.isBuffer(t) || b.isStream(t) || b.isFile(t) || b.isBlob(t))
|
|
2711
2711
|
return t;
|
|
2712
|
-
if (
|
|
2712
|
+
if (b.isArrayBufferView(t))
|
|
2713
2713
|
return t.buffer;
|
|
2714
|
-
if (
|
|
2714
|
+
if (b.isURLSearchParams(t))
|
|
2715
2715
|
return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
|
2716
2716
|
let a;
|
|
2717
2717
|
if (o) {
|
|
2718
2718
|
if (n.indexOf("application/x-www-form-urlencoded") > -1)
|
|
2719
2719
|
return aa(t, this.formSerializer).toString();
|
|
2720
|
-
if ((a =
|
|
2720
|
+
if ((a = b.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
|
|
2721
2721
|
const c = this.env && this.env.FormData;
|
|
2722
2722
|
return ir(
|
|
2723
2723
|
a ? { "files[]": t } : t,
|
|
@@ -2730,7 +2730,7 @@ const Pr = {
|
|
|
2730
2730
|
}],
|
|
2731
2731
|
transformResponse: [function(t) {
|
|
2732
2732
|
const r = this.transitional || Pr.transitional, n = r && r.forcedJSONParsing, i = this.responseType === "json";
|
|
2733
|
-
if (t &&
|
|
2733
|
+
if (t && b.isString(t) && (n && !this.responseType || i)) {
|
|
2734
2734
|
const A = !(r && r.silentJSONParsing) && i;
|
|
2735
2735
|
try {
|
|
2736
2736
|
return JSON.parse(t);
|
|
@@ -2764,10 +2764,10 @@ const Pr = {
|
|
|
2764
2764
|
}
|
|
2765
2765
|
}
|
|
2766
2766
|
};
|
|
2767
|
-
|
|
2767
|
+
b.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
2768
2768
|
Pr.headers[e] = {};
|
|
2769
2769
|
});
|
|
2770
|
-
const Vr = Pr, ca =
|
|
2770
|
+
const Vr = Pr, ca = b.toObjectSet([
|
|
2771
2771
|
"age",
|
|
2772
2772
|
"authorization",
|
|
2773
2773
|
"content-length",
|
|
@@ -2797,7 +2797,7 @@ function yt(e) {
|
|
|
2797
2797
|
return e && String(e).trim().toLowerCase();
|
|
2798
2798
|
}
|
|
2799
2799
|
function Rt(e) {
|
|
2800
|
-
return e === !1 || e == null ? e :
|
|
2800
|
+
return e === !1 || e == null ? e : b.isArray(e) ? e.map(Rt) : String(e);
|
|
2801
2801
|
}
|
|
2802
2802
|
function da(e) {
|
|
2803
2803
|
const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -2808,12 +2808,12 @@ function da(e) {
|
|
|
2808
2808
|
}
|
|
2809
2809
|
const pa = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
2810
2810
|
function br(e, t, r, n, i) {
|
|
2811
|
-
if (
|
|
2811
|
+
if (b.isFunction(n))
|
|
2812
2812
|
return n.call(this, t, r);
|
|
2813
|
-
if (i && (t = r), !!
|
|
2814
|
-
if (
|
|
2813
|
+
if (i && (t = r), !!b.isString(t)) {
|
|
2814
|
+
if (b.isString(n))
|
|
2815
2815
|
return t.indexOf(n) !== -1;
|
|
2816
|
-
if (
|
|
2816
|
+
if (b.isRegExp(n))
|
|
2817
2817
|
return n.test(t);
|
|
2818
2818
|
}
|
|
2819
2819
|
}
|
|
@@ -2821,7 +2821,7 @@ function fa(e) {
|
|
|
2821
2821
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
|
|
2822
2822
|
}
|
|
2823
2823
|
function ha(e, t) {
|
|
2824
|
-
const r =
|
|
2824
|
+
const r = b.toCamelCase(" " + t);
|
|
2825
2825
|
["get", "set", "has"].forEach((n) => {
|
|
2826
2826
|
Object.defineProperty(e, n + r, {
|
|
2827
2827
|
value: function(i, o, A) {
|
|
@@ -2841,24 +2841,24 @@ class or {
|
|
|
2841
2841
|
const u = yt(c);
|
|
2842
2842
|
if (!u)
|
|
2843
2843
|
throw new Error("header name must be a non-empty string");
|
|
2844
|
-
const d =
|
|
2844
|
+
const d = b.findKey(i, u);
|
|
2845
2845
|
(!d || i[d] === void 0 || s === !0 || s === void 0 && i[d] !== !1) && (i[d || c] = Rt(a));
|
|
2846
2846
|
}
|
|
2847
|
-
const A = (a, c) =>
|
|
2848
|
-
return
|
|
2847
|
+
const A = (a, c) => b.forEach(a, (s, u) => o(s, u, c));
|
|
2848
|
+
return b.isPlainObject(t) || t instanceof this.constructor ? A(t, r) : b.isString(t) && (t = t.trim()) && !pa(t) ? A(ma(t), r) : t != null && o(r, t, n), this;
|
|
2849
2849
|
}
|
|
2850
2850
|
get(t, r) {
|
|
2851
2851
|
if (t = yt(t), t) {
|
|
2852
|
-
const n =
|
|
2852
|
+
const n = b.findKey(this, t);
|
|
2853
2853
|
if (n) {
|
|
2854
2854
|
const i = this[n];
|
|
2855
2855
|
if (!r)
|
|
2856
2856
|
return i;
|
|
2857
2857
|
if (r === !0)
|
|
2858
2858
|
return da(i);
|
|
2859
|
-
if (
|
|
2859
|
+
if (b.isFunction(r))
|
|
2860
2860
|
return r.call(this, i, n);
|
|
2861
|
-
if (
|
|
2861
|
+
if (b.isRegExp(r))
|
|
2862
2862
|
return r.exec(i);
|
|
2863
2863
|
throw new TypeError("parser must be boolean|regexp|function");
|
|
2864
2864
|
}
|
|
@@ -2866,7 +2866,7 @@ class or {
|
|
|
2866
2866
|
}
|
|
2867
2867
|
has(t, r) {
|
|
2868
2868
|
if (t = yt(t), t) {
|
|
2869
|
-
const n =
|
|
2869
|
+
const n = b.findKey(this, t);
|
|
2870
2870
|
return !!(n && this[n] !== void 0 && (!r || br(this, this[n], n, r)));
|
|
2871
2871
|
}
|
|
2872
2872
|
return !1;
|
|
@@ -2876,11 +2876,11 @@ class or {
|
|
|
2876
2876
|
let i = !1;
|
|
2877
2877
|
function o(A) {
|
|
2878
2878
|
if (A = yt(A), A) {
|
|
2879
|
-
const a =
|
|
2879
|
+
const a = b.findKey(n, A);
|
|
2880
2880
|
a && (!r || br(n, n[a], a, r)) && (delete n[a], i = !0);
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
|
-
return
|
|
2883
|
+
return b.isArray(t) ? t.forEach(o) : o(t), i;
|
|
2884
2884
|
}
|
|
2885
2885
|
clear(t) {
|
|
2886
2886
|
const r = Object.keys(this);
|
|
@@ -2893,8 +2893,8 @@ class or {
|
|
|
2893
2893
|
}
|
|
2894
2894
|
normalize(t) {
|
|
2895
2895
|
const r = this, n = {};
|
|
2896
|
-
return
|
|
2897
|
-
const A =
|
|
2896
|
+
return b.forEach(this, (i, o) => {
|
|
2897
|
+
const A = b.findKey(n, o);
|
|
2898
2898
|
if (A) {
|
|
2899
2899
|
r[A] = Rt(i), delete r[o];
|
|
2900
2900
|
return;
|
|
@@ -2908,8 +2908,8 @@ class or {
|
|
|
2908
2908
|
}
|
|
2909
2909
|
toJSON(t) {
|
|
2910
2910
|
const r = /* @__PURE__ */ Object.create(null);
|
|
2911
|
-
return
|
|
2912
|
-
n != null && n !== !1 && (r[i] = t &&
|
|
2911
|
+
return b.forEach(this, (n, i) => {
|
|
2912
|
+
n != null && n !== !1 && (r[i] = t && b.isArray(n) ? n.join(", ") : n);
|
|
2913
2913
|
}), r;
|
|
2914
2914
|
}
|
|
2915
2915
|
[Symbol.iterator]() {
|
|
@@ -2937,11 +2937,11 @@ class or {
|
|
|
2937
2937
|
const a = yt(A);
|
|
2938
2938
|
n[a] || (ha(i, A), n[a] = !0);
|
|
2939
2939
|
}
|
|
2940
|
-
return
|
|
2940
|
+
return b.isArray(t) ? t.forEach(o) : o(t), this;
|
|
2941
2941
|
}
|
|
2942
2942
|
}
|
|
2943
2943
|
or.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
2944
|
-
|
|
2944
|
+
b.reduceDescriptors(or.prototype, ({ value: e }, t) => {
|
|
2945
2945
|
let r = t[0].toUpperCase() + t.slice(1);
|
|
2946
2946
|
return {
|
|
2947
2947
|
get: () => e,
|
|
@@ -2950,12 +2950,12 @@ v.reduceDescriptors(or.prototype, ({ value: e }, t) => {
|
|
|
2950
2950
|
}
|
|
2951
2951
|
};
|
|
2952
2952
|
});
|
|
2953
|
-
|
|
2953
|
+
b.freezeMethods(or);
|
|
2954
2954
|
const Re = or;
|
|
2955
2955
|
function Cr(e, t) {
|
|
2956
2956
|
const r = this || Vr, n = t || r, i = Re.from(n.headers);
|
|
2957
2957
|
let o = n.data;
|
|
2958
|
-
return
|
|
2958
|
+
return b.forEach(e, function(a) {
|
|
2959
2959
|
o = a.call(r, o, i.normalize(), t ? t.status : void 0);
|
|
2960
2960
|
}), i.normalize(), o;
|
|
2961
2961
|
}
|
|
@@ -2965,7 +2965,7 @@ function Mi(e) {
|
|
|
2965
2965
|
function Mt(e, t, r) {
|
|
2966
2966
|
F.call(this, e ?? "canceled", F.ERR_CANCELED, t, r), this.name = "CanceledError";
|
|
2967
2967
|
}
|
|
2968
|
-
|
|
2968
|
+
b.inherits(Mt, F, {
|
|
2969
2969
|
__CANCEL__: !0
|
|
2970
2970
|
});
|
|
2971
2971
|
function qa(e, t, r) {
|
|
@@ -2984,7 +2984,7 @@ const ga = Ee.isStandardBrowserEnv ? (
|
|
|
2984
2984
|
return {
|
|
2985
2985
|
write: function(r, n, i, o, A, a) {
|
|
2986
2986
|
const c = [];
|
|
2987
|
-
c.push(r + "=" + encodeURIComponent(n)),
|
|
2987
|
+
c.push(r + "=" + encodeURIComponent(n)), b.isNumber(i) && c.push("expires=" + new Date(i).toGMTString()), b.isString(o) && c.push("path=" + o), b.isString(A) && c.push("domain=" + A), a === !0 && c.push("secure"), document.cookie = c.join("; ");
|
|
2988
2988
|
},
|
|
2989
2989
|
read: function(r) {
|
|
2990
2990
|
const n = document.cookie.match(new RegExp("(^|;\\s*)(" + r + ")=([^;]*)"));
|
|
@@ -3038,7 +3038,7 @@ const ba = Ee.isStandardBrowserEnv ? (
|
|
|
3038
3038
|
};
|
|
3039
3039
|
}
|
|
3040
3040
|
return n = i(window.location.href), function(A) {
|
|
3041
|
-
const a =
|
|
3041
|
+
const a = b.isString(A) ? i(A) : A;
|
|
3042
3042
|
return a.protocol === n.protocol && a.host === n.host;
|
|
3043
3043
|
};
|
|
3044
3044
|
}()
|
|
@@ -3096,7 +3096,7 @@ const Ia = typeof XMLHttpRequest < "u", wa = Ia && function(e) {
|
|
|
3096
3096
|
function c() {
|
|
3097
3097
|
e.cancelToken && e.cancelToken.unsubscribe(a), e.signal && e.signal.removeEventListener("abort", a);
|
|
3098
3098
|
}
|
|
3099
|
-
|
|
3099
|
+
b.isFormData(i) && (Ee.isStandardBrowserEnv || Ee.isStandardBrowserWebWorkerEnv ? o.setContentType(!1) : o.setContentType("multipart/form-data;", !1));
|
|
3100
3100
|
let s = new XMLHttpRequest();
|
|
3101
3101
|
if (e.auth) {
|
|
3102
3102
|
const q = e.auth.username || "", p = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
@@ -3117,10 +3117,10 @@ const Ia = typeof XMLHttpRequest < "u", wa = Ia && function(e) {
|
|
|
3117
3117
|
config: e,
|
|
3118
3118
|
request: s
|
|
3119
3119
|
};
|
|
3120
|
-
qa(function(
|
|
3121
|
-
r(
|
|
3122
|
-
}, function(
|
|
3123
|
-
n(
|
|
3120
|
+
qa(function(Z) {
|
|
3121
|
+
r(Z), c();
|
|
3122
|
+
}, function(Z) {
|
|
3123
|
+
n(Z), c();
|
|
3124
3124
|
}, y), s = null;
|
|
3125
3125
|
}
|
|
3126
3126
|
if ("onloadend" in s ? s.onloadend = d : s.onreadystatechange = function() {
|
|
@@ -3142,9 +3142,9 @@ const Ia = typeof XMLHttpRequest < "u", wa = Ia && function(e) {
|
|
|
3142
3142
|
const q = (e.withCredentials || ba(u)) && e.xsrfCookieName && ga.read(e.xsrfCookieName);
|
|
3143
3143
|
q && o.set(e.xsrfHeaderName, q);
|
|
3144
3144
|
}
|
|
3145
|
-
i === void 0 && o.setContentType(null), "setRequestHeader" in s &&
|
|
3145
|
+
i === void 0 && o.setContentType(null), "setRequestHeader" in s && b.forEach(o.toJSON(), function(p, y) {
|
|
3146
3146
|
s.setRequestHeader(y, p);
|
|
3147
|
-
}),
|
|
3147
|
+
}), b.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), A && A !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", kn(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", kn(e.onUploadProgress)), (e.cancelToken || e.signal) && (a = (q) => {
|
|
3148
3148
|
s && (n(!q || q.type ? new Mt(null, e, s) : q), s.abort(), s = null);
|
|
3149
3149
|
}, e.cancelToken && e.cancelToken.subscribe(a), e.signal && (e.signal.aborted ? a() : e.signal.addEventListener("abort", a)));
|
|
3150
3150
|
const h = Ca(u);
|
|
@@ -3158,7 +3158,7 @@ const Ia = typeof XMLHttpRequest < "u", wa = Ia && function(e) {
|
|
|
3158
3158
|
http: FA,
|
|
3159
3159
|
xhr: wa
|
|
3160
3160
|
};
|
|
3161
|
-
|
|
3161
|
+
b.forEach(Tt, (e, t) => {
|
|
3162
3162
|
if (e) {
|
|
3163
3163
|
try {
|
|
3164
3164
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -3169,19 +3169,19 @@ v.forEach(Tt, (e, t) => {
|
|
|
3169
3169
|
});
|
|
3170
3170
|
const Li = {
|
|
3171
3171
|
getAdapter: (e) => {
|
|
3172
|
-
e =
|
|
3172
|
+
e = b.isArray(e) ? e : [e];
|
|
3173
3173
|
const { length: t } = e;
|
|
3174
3174
|
let r, n;
|
|
3175
|
-
for (let i = 0; i < t && (r = e[i], !(n =
|
|
3175
|
+
for (let i = 0; i < t && (r = e[i], !(n = b.isString(r) ? Tt[r.toLowerCase()] : r)); i++)
|
|
3176
3176
|
;
|
|
3177
3177
|
if (!n)
|
|
3178
3178
|
throw n === !1 ? new F(
|
|
3179
3179
|
`Adapter ${r} is not supported by the environment`,
|
|
3180
3180
|
"ERR_NOT_SUPPORT"
|
|
3181
3181
|
) : new Error(
|
|
3182
|
-
|
|
3182
|
+
b.hasOwnProp(Tt, r) ? `Adapter '${r}' is not available in the build` : `Unknown adapter '${r}'`
|
|
3183
3183
|
);
|
|
3184
|
-
if (!
|
|
3184
|
+
if (!b.isFunction(n))
|
|
3185
3185
|
throw new TypeError("adapter is not a function");
|
|
3186
3186
|
return n;
|
|
3187
3187
|
},
|
|
@@ -3214,22 +3214,22 @@ function ct(e, t) {
|
|
|
3214
3214
|
t = t || {};
|
|
3215
3215
|
const r = {};
|
|
3216
3216
|
function n(s, u, d) {
|
|
3217
|
-
return
|
|
3217
|
+
return b.isPlainObject(s) && b.isPlainObject(u) ? b.merge.call({ caseless: d }, s, u) : b.isPlainObject(u) ? b.merge({}, u) : b.isArray(u) ? u.slice() : u;
|
|
3218
3218
|
}
|
|
3219
3219
|
function i(s, u, d) {
|
|
3220
|
-
if (
|
|
3221
|
-
if (!
|
|
3220
|
+
if (b.isUndefined(u)) {
|
|
3221
|
+
if (!b.isUndefined(s))
|
|
3222
3222
|
return n(void 0, s, d);
|
|
3223
3223
|
} else
|
|
3224
3224
|
return n(s, u, d);
|
|
3225
3225
|
}
|
|
3226
3226
|
function o(s, u) {
|
|
3227
|
-
if (!
|
|
3227
|
+
if (!b.isUndefined(u))
|
|
3228
3228
|
return n(void 0, u);
|
|
3229
3229
|
}
|
|
3230
3230
|
function A(s, u) {
|
|
3231
|
-
if (
|
|
3232
|
-
if (!
|
|
3231
|
+
if (b.isUndefined(u)) {
|
|
3232
|
+
if (!b.isUndefined(s))
|
|
3233
3233
|
return n(void 0, s);
|
|
3234
3234
|
} else
|
|
3235
3235
|
return n(void 0, u);
|
|
@@ -3270,9 +3270,9 @@ function ct(e, t) {
|
|
|
3270
3270
|
validateStatus: a,
|
|
3271
3271
|
headers: (s, u) => i(jn(s), jn(u), !0)
|
|
3272
3272
|
};
|
|
3273
|
-
return
|
|
3273
|
+
return b.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
|
|
3274
3274
|
const d = c[u] || i, h = d(e[u], t[u], u);
|
|
3275
|
-
|
|
3275
|
+
b.isUndefined(h) && d !== a || (r[u] = h);
|
|
3276
3276
|
}), r;
|
|
3277
3277
|
}
|
|
3278
3278
|
const Ei = "1.5.0", Br = {};
|
|
@@ -3343,17 +3343,17 @@ class Qt {
|
|
|
3343
3343
|
silentJSONParsing: He.transitional(He.boolean),
|
|
3344
3344
|
forcedJSONParsing: He.transitional(He.boolean),
|
|
3345
3345
|
clarifyTimeoutError: He.transitional(He.boolean)
|
|
3346
|
-
}, !1), i != null && (
|
|
3346
|
+
}, !1), i != null && (b.isFunction(i) ? r.paramsSerializer = {
|
|
3347
3347
|
serialize: i
|
|
3348
3348
|
} : Er.assertOptions(i, {
|
|
3349
3349
|
encode: He.function,
|
|
3350
3350
|
serialize: He.function
|
|
3351
3351
|
}, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
3352
|
-
let A = o &&
|
|
3352
|
+
let A = o && b.merge(
|
|
3353
3353
|
o.common,
|
|
3354
3354
|
o[r.method]
|
|
3355
3355
|
);
|
|
3356
|
-
o &&
|
|
3356
|
+
o && b.forEach(
|
|
3357
3357
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
3358
3358
|
(p) => {
|
|
3359
3359
|
delete o[p];
|
|
@@ -3401,7 +3401,7 @@ class Qt {
|
|
|
3401
3401
|
return Wi(r, t.params, t.paramsSerializer);
|
|
3402
3402
|
}
|
|
3403
3403
|
}
|
|
3404
|
-
|
|
3404
|
+
b.forEach(["delete", "get", "head", "options"], function(t) {
|
|
3405
3405
|
Qt.prototype[t] = function(r, n) {
|
|
3406
3406
|
return this.request(ct(n || {}, {
|
|
3407
3407
|
method: t,
|
|
@@ -3410,7 +3410,7 @@ v.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
3410
3410
|
}));
|
|
3411
3411
|
};
|
|
3412
3412
|
});
|
|
3413
|
-
|
|
3413
|
+
b.forEach(["post", "put", "patch"], function(t) {
|
|
3414
3414
|
function r(n) {
|
|
3415
3415
|
return function(o, A, a) {
|
|
3416
3416
|
return this.request(ct(a || {}, {
|
|
@@ -3501,7 +3501,7 @@ function xa(e) {
|
|
|
3501
3501
|
};
|
|
3502
3502
|
}
|
|
3503
3503
|
function Oa(e) {
|
|
3504
|
-
return
|
|
3504
|
+
return b.isObject(e) && e.isAxiosError === !0;
|
|
3505
3505
|
}
|
|
3506
3506
|
const Yr = {
|
|
3507
3507
|
Continue: 100,
|
|
@@ -3574,7 +3574,7 @@ Object.entries(Yr).forEach(([e, t]) => {
|
|
|
3574
3574
|
const Ma = Yr;
|
|
3575
3575
|
function Yi(e) {
|
|
3576
3576
|
const t = new Ht(e), r = fi(Ht.prototype.request, t);
|
|
3577
|
-
return
|
|
3577
|
+
return b.extend(r, Ht.prototype, t, { allOwnKeys: !0 }), b.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(i) {
|
|
3578
3578
|
return Yi(ct(e, i));
|
|
3579
3579
|
}, r;
|
|
3580
3580
|
}
|
|
@@ -3594,7 +3594,7 @@ fe.spread = xa;
|
|
|
3594
3594
|
fe.isAxiosError = Oa;
|
|
3595
3595
|
fe.mergeConfig = ct;
|
|
3596
3596
|
fe.AxiosHeaders = Re;
|
|
3597
|
-
fe.formToJSON = (e) => Oi(
|
|
3597
|
+
fe.formToJSON = (e) => Oi(b.isHTMLForm(e) ? new FormData(e) : e);
|
|
3598
3598
|
fe.getAdapter = Li.getAdapter;
|
|
3599
3599
|
fe.HttpStatusCode = Ma;
|
|
3600
3600
|
fe.default = fe;
|
|
@@ -3719,15 +3719,15 @@ function Ar(e) {
|
|
|
3719
3719
|
let { children: a, position: c, preventExitTransition: s, done: u, nodeRef: d, isIn: h } = A;
|
|
3720
3720
|
const q = n ? `${t}--${c}` : t, p = n ? `${r}--${c}` : r, y = _e(0);
|
|
3721
3721
|
return Ko(() => {
|
|
3722
|
-
const C = d.current,
|
|
3723
|
-
|
|
3722
|
+
const C = d.current, Z = q.split(" "), k = (J) => {
|
|
3723
|
+
J.target === d.current && (C.dispatchEvent(new Event("d")), C.removeEventListener("animationend", k), C.removeEventListener("animationcancel", k), y.current === 0 && J.type !== "animationcancel" && C.classList.remove(...Z));
|
|
3724
3724
|
};
|
|
3725
|
-
C.classList.add(...
|
|
3725
|
+
C.classList.add(...Z), C.addEventListener("animationend", k), C.addEventListener("animationcancel", k);
|
|
3726
3726
|
}, []), be(() => {
|
|
3727
|
-
const C = d.current,
|
|
3728
|
-
C.removeEventListener("animationend",
|
|
3727
|
+
const C = d.current, Z = () => {
|
|
3728
|
+
C.removeEventListener("animationend", Z), i ? ka(C, u, o) : u();
|
|
3729
3729
|
};
|
|
3730
|
-
h || (s ?
|
|
3730
|
+
h || (s ? Z() : (y.current = 1, C.className += ` ${p}`, C.addEventListener("animationend", Z)));
|
|
3731
3731
|
}, [h]), te.createElement(te.Fragment, null, a);
|
|
3732
3732
|
};
|
|
3733
3733
|
}
|
|
@@ -3781,17 +3781,17 @@ function za(e) {
|
|
|
3781
3781
|
h(q, p, y);
|
|
3782
3782
|
}
|
|
3783
3783
|
function d(q, p) {
|
|
3784
|
-
let { delay: y, staleId: C, ...
|
|
3784
|
+
let { delay: y, staleId: C, ...Z } = p;
|
|
3785
3785
|
if (!Ir(q) || function($) {
|
|
3786
3786
|
return !i.current || a.props.enableMultiContainer && $.containerId !== a.props.containerId || o.has($.toastId) && $.updateId == null;
|
|
3787
|
-
}(
|
|
3787
|
+
}(Z))
|
|
3788
3788
|
return;
|
|
3789
|
-
const { toastId: k, updateId:
|
|
3789
|
+
const { toastId: k, updateId: J, data: Y } = Z, { props: v } = a, Ae = () => s(k), se = J == null;
|
|
3790
3790
|
se && a.count++;
|
|
3791
|
-
const _ = { ...
|
|
3791
|
+
const _ = { ...v, style: v.toastStyle, key: a.toastKey++, ...Object.fromEntries(Object.entries(Z).filter(($) => {
|
|
3792
3792
|
let [P, x] = $;
|
|
3793
3793
|
return x != null;
|
|
3794
|
-
})), toastId: k, updateId:
|
|
3794
|
+
})), toastId: k, updateId: J, data: Y, closeToast: Ae, isIn: !1, className: Xt(Z.className || v.toastClassName), bodyClassName: Xt(Z.bodyClassName || v.bodyClassName), progressClassName: Xt(Z.progressClassName || v.progressClassName), autoClose: !Z.isLoading && (re = Z.autoClose, ce = v.autoClose, re === !1 || bt(re) && re > 0 ? re : ce), deleteToast() {
|
|
3795
3795
|
const $ = Dn(o.get(k), "removed");
|
|
3796
3796
|
o.delete(k), Oe.emit(4, $);
|
|
3797
3797
|
const P = a.queue.length;
|
|
@@ -3802,7 +3802,7 @@ function za(e) {
|
|
|
3802
3802
|
else {
|
|
3803
3803
|
const w = x > P ? P : x;
|
|
3804
3804
|
a.displayedToast = w;
|
|
3805
|
-
for (let
|
|
3805
|
+
for (let L = 0; L < w; L++)
|
|
3806
3806
|
u();
|
|
3807
3807
|
}
|
|
3808
3808
|
} else
|
|
@@ -3810,20 +3810,20 @@ function za(e) {
|
|
|
3810
3810
|
} };
|
|
3811
3811
|
var re, ce;
|
|
3812
3812
|
_.iconOut = function($) {
|
|
3813
|
-
let { theme: P, type: x, isLoading: w, icon:
|
|
3813
|
+
let { theme: P, type: x, isLoading: w, icon: L } = $, f = null;
|
|
3814
3814
|
const W = { theme: P, type: x };
|
|
3815
|
-
return
|
|
3816
|
-
}(_), ve(
|
|
3815
|
+
return L === !1 || (ve(L) ? f = L(W) : ut(L) ? f = xr(L, W) : nt(L) || bt(L) ? f = L : w ? f = wr.spinner() : ((N) => N in wr)(x) && (f = wr[x](W))), f;
|
|
3816
|
+
}(_), ve(Z.onOpen) && (_.onOpen = Z.onOpen), ve(Z.onClose) && (_.onClose = Z.onClose), _.closeButton = v.closeButton, Z.closeButton === !1 || Ir(Z.closeButton) ? _.closeButton = Z.closeButton : Z.closeButton === !0 && (_.closeButton = !Ir(v.closeButton) || v.closeButton);
|
|
3817
3817
|
let ae = q;
|
|
3818
|
-
ut(q) && !nt(q.type) ? ae = xr(q, { closeToast: Ae, toastProps: _, data:
|
|
3818
|
+
ut(q) && !nt(q.type) ? ae = xr(q, { closeToast: Ae, toastProps: _, data: Y }) : ve(q) && (ae = q({ closeToast: Ae, toastProps: _, data: Y })), v.limit && v.limit > 0 && a.count > v.limit && se ? a.queue.push({ toastContent: ae, toastProps: _, staleId: C }) : bt(y) ? setTimeout(() => {
|
|
3819
3819
|
h(ae, _, C);
|
|
3820
3820
|
}, y) : h(ae, _, C);
|
|
3821
3821
|
}
|
|
3822
3822
|
function h(q, p, y) {
|
|
3823
3823
|
const { toastId: C } = p;
|
|
3824
3824
|
y && o.delete(y);
|
|
3825
|
-
const
|
|
3826
|
-
o.set(C,
|
|
3825
|
+
const Z = { content: q, props: p };
|
|
3826
|
+
o.set(C, Z), n((k) => [...k, C].filter((J) => J !== y)), Oe.emit(4, Dn(Z, Z.props.updateId == null ? "added" : "updated"));
|
|
3827
3827
|
}
|
|
3828
3828
|
return be(() => (a.containerId = e.containerId, Oe.cancelEmit(3).on(0, d).on(1, (q) => i.current && s(q)).on(5, c).emit(2, a), () => {
|
|
3829
3829
|
o.clear(), Oe.emit(3, a);
|
|
@@ -3832,8 +3832,8 @@ function za(e) {
|
|
|
3832
3832
|
}), { getToastToRender: function(q) {
|
|
3833
3833
|
const p = /* @__PURE__ */ new Map(), y = Array.from(o.values());
|
|
3834
3834
|
return e.newestOnTop && y.reverse(), y.forEach((C) => {
|
|
3835
|
-
const { position:
|
|
3836
|
-
p.has(
|
|
3835
|
+
const { position: Z } = C.props;
|
|
3836
|
+
p.has(Z) || p.set(Z, []), p.get(Z).push(C);
|
|
3837
3837
|
}), Array.from(p, (C) => q(C[0], C[1]));
|
|
3838
3838
|
}, containerRef: i, isToastActive: A };
|
|
3839
3839
|
}
|
|
@@ -3845,17 +3845,17 @@ function Rn(e) {
|
|
|
3845
3845
|
}
|
|
3846
3846
|
function ja(e) {
|
|
3847
3847
|
const [t, r] = V(!1), [n, i] = V(!1), o = _e(null), A = _e({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, a = _e(e), { autoClose: c, pauseOnHover: s, closeToast: u, onClick: d, closeOnClick: h } = e;
|
|
3848
|
-
function q(
|
|
3848
|
+
function q(Y) {
|
|
3849
3849
|
if (e.draggable) {
|
|
3850
|
-
|
|
3851
|
-
const
|
|
3852
|
-
A.canCloseOnClick = !0, A.canDrag = !0, A.boundingRect =
|
|
3850
|
+
Y.nativeEvent.type === "touchstart" && Y.nativeEvent.preventDefault(), A.didMove = !1, document.addEventListener("mousemove", Z), document.addEventListener("mouseup", k), document.addEventListener("touchmove", Z), document.addEventListener("touchend", k);
|
|
3851
|
+
const v = o.current;
|
|
3852
|
+
A.canCloseOnClick = !0, A.canDrag = !0, A.boundingRect = v.getBoundingClientRect(), v.style.transition = "", A.x = Gn(Y.nativeEvent), A.y = Rn(Y.nativeEvent), e.draggableDirection === "x" ? (A.start = A.x, A.removalDistance = v.offsetWidth * (e.draggablePercent / 100)) : (A.start = A.y, A.removalDistance = v.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent / 100));
|
|
3853
3853
|
}
|
|
3854
3854
|
}
|
|
3855
|
-
function p(
|
|
3855
|
+
function p(Y) {
|
|
3856
3856
|
if (A.boundingRect) {
|
|
3857
|
-
const { top:
|
|
3858
|
-
|
|
3857
|
+
const { top: v, bottom: Ae, left: se, right: _ } = A.boundingRect;
|
|
3858
|
+
Y.nativeEvent.type !== "touchend" && e.pauseOnHover && A.x >= se && A.x <= _ && A.y >= v && A.y <= Ae ? C() : y();
|
|
3859
3859
|
}
|
|
3860
3860
|
}
|
|
3861
3861
|
function y() {
|
|
@@ -3864,31 +3864,31 @@ function ja(e) {
|
|
|
3864
3864
|
function C() {
|
|
3865
3865
|
r(!1);
|
|
3866
3866
|
}
|
|
3867
|
-
function
|
|
3868
|
-
const
|
|
3869
|
-
A.canDrag &&
|
|
3867
|
+
function Z(Y) {
|
|
3868
|
+
const v = o.current;
|
|
3869
|
+
A.canDrag && v && (A.didMove = !0, t && C(), A.x = Gn(Y), A.y = Rn(Y), A.delta = e.draggableDirection === "x" ? A.x - A.start : A.y - A.start, A.start !== A.x && (A.canCloseOnClick = !1), v.style.transform = `translate${e.draggableDirection}(${A.delta}px)`, v.style.opacity = "" + (1 - Math.abs(A.delta / A.removalDistance)));
|
|
3870
3870
|
}
|
|
3871
3871
|
function k() {
|
|
3872
|
-
document.removeEventListener("mousemove",
|
|
3873
|
-
const
|
|
3874
|
-
if (A.canDrag && A.didMove &&
|
|
3872
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("mouseup", k), document.removeEventListener("touchmove", Z), document.removeEventListener("touchend", k);
|
|
3873
|
+
const Y = o.current;
|
|
3874
|
+
if (A.canDrag && A.didMove && Y) {
|
|
3875
3875
|
if (A.canDrag = !1, Math.abs(A.delta) > A.removalDistance)
|
|
3876
3876
|
return i(!0), void e.closeToast();
|
|
3877
|
-
|
|
3877
|
+
Y.style.transition = "transform 0.2s, opacity 0.2s", Y.style.transform = `translate${e.draggableDirection}(0)`, Y.style.opacity = "1";
|
|
3878
3878
|
}
|
|
3879
3879
|
}
|
|
3880
3880
|
be(() => {
|
|
3881
3881
|
a.current = e;
|
|
3882
3882
|
}), be(() => (o.current && o.current.addEventListener("d", y, { once: !0 }), ve(e.onOpen) && e.onOpen(ut(e.children) && e.children.props), () => {
|
|
3883
|
-
const
|
|
3884
|
-
ve(
|
|
3883
|
+
const Y = a.current;
|
|
3884
|
+
ve(Y.onClose) && Y.onClose(ut(Y.children) && Y.children.props);
|
|
3885
3885
|
}), []), be(() => (e.pauseOnFocusLoss && (document.hasFocus() || C(), window.addEventListener("focus", y), window.addEventListener("blur", C)), () => {
|
|
3886
3886
|
e.pauseOnFocusLoss && (window.removeEventListener("focus", y), window.removeEventListener("blur", C));
|
|
3887
3887
|
}), [e.pauseOnFocusLoss]);
|
|
3888
|
-
const
|
|
3889
|
-
return c && s && (
|
|
3890
|
-
d && d(
|
|
3891
|
-
}), { playToast: y, pauseToast: C, isRunning: t, preventExitTransition: n, toastRef: o, eventHandlers:
|
|
3888
|
+
const J = { onMouseDown: q, onTouchStart: q, onMouseUp: p, onTouchEnd: p };
|
|
3889
|
+
return c && s && (J.onMouseEnter = C, J.onMouseLeave = y), h && (J.onClick = (Y) => {
|
|
3890
|
+
d && d(Y), A.canCloseOnClick && u();
|
|
3891
|
+
}), { playToast: y, pauseToast: C, isRunning: t, preventExitTransition: n, toastRef: o, eventHandlers: J };
|
|
3892
3892
|
}
|
|
3893
3893
|
function Ri(e) {
|
|
3894
3894
|
let { closeToast: t, theme: r, ariaLabel: n = "close" } = e;
|
|
@@ -3906,9 +3906,9 @@ function Ja(e) {
|
|
|
3906
3906
|
} });
|
|
3907
3907
|
}
|
|
3908
3908
|
const Na = (e) => {
|
|
3909
|
-
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = ja(e), { closeButton: o, children: A, autoClose: a, onClick: c, type: s, hideProgressBar: u, closeToast: d, transition: h, position: q, className: p, style: y, bodyClassName: C, bodyStyle:
|
|
3910
|
-
let
|
|
3911
|
-
return o === !1 || (
|
|
3909
|
+
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = ja(e), { closeButton: o, children: A, autoClose: a, onClick: c, type: s, hideProgressBar: u, closeToast: d, transition: h, position: q, className: p, style: y, bodyClassName: C, bodyStyle: Z, progressClassName: k, progressStyle: J, updateId: Y, role: v, progress: Ae, rtl: se, toastId: _, deleteToast: re, isIn: ce, isLoading: ae, iconOut: $, closeOnClick: P, theme: x } = e, w = Xe("Toastify__toast", `Toastify__toast-theme--${x}`, `Toastify__toast--${s}`, { "Toastify__toast--rtl": se }, { "Toastify__toast--close-on-click": P }), L = ve(p) ? p({ rtl: se, position: q, type: s, defaultClassName: w }) : Xe(w, p), f = !!Ae || !a, W = { closeToast: d, type: s, theme: x };
|
|
3910
|
+
let N = null;
|
|
3911
|
+
return o === !1 || (N = ve(o) ? o(W) : ut(o) ? xr(o, W) : Ri(W)), te.createElement(h, { isIn: ce, done: re, position: q, preventExitTransition: r, nodeRef: n }, te.createElement("div", { id: _, onClick: c, className: L, ...i, style: y, ref: n }, te.createElement("div", { ...ce && { role: v }, className: ve(C) ? C({ type: s }) : Xe("Toastify__toast-body", C), style: Z }, $ != null && te.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, $), te.createElement("div", null, A)), N, te.createElement(Ja, { ...Y && !f ? { key: `pb-${Y}` } : {}, rtl: se, theme: x, delay: a, isRunning: t, isIn: ce, closeToast: d, hide: u, type: s, style: J, className: k, controlledProgress: f, progress: Ae || 0 })));
|
|
3912
3912
|
}, ar = function(e, t) {
|
|
3913
3913
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3914
3914
|
}, Da = Ar(ar("bounce", !0));
|
|
@@ -4023,15 +4023,16 @@ const Ta = ({
|
|
|
4023
4023
|
versionId: e,
|
|
4024
4024
|
typeOfProduct: t,
|
|
4025
4025
|
api: r,
|
|
4026
|
-
fetchFileUrl: n
|
|
4026
|
+
fetchFileUrl: n,
|
|
4027
|
+
copyLinkUrl: i
|
|
4027
4028
|
}) => {
|
|
4028
|
-
const
|
|
4029
|
+
const o = async () => {
|
|
4029
4030
|
if (t === "Flex")
|
|
4030
4031
|
navigator.clipboard.writeText(
|
|
4031
|
-
|
|
4032
|
+
`${i}/preview?versionId=${e}`
|
|
4032
4033
|
), $e("Link copied");
|
|
4033
4034
|
else {
|
|
4034
|
-
const
|
|
4035
|
+
const A = await It(
|
|
4035
4036
|
r,
|
|
4036
4037
|
e,
|
|
4037
4038
|
"test",
|
|
@@ -4040,9 +4041,7 @@ const Ta = ({
|
|
|
4040
4041
|
0,
|
|
4041
4042
|
"var type = e"
|
|
4042
4043
|
);
|
|
4043
|
-
return navigator.clipboard.writeText(
|
|
4044
|
-
`https://gearbox.playablefactory.com/test?version=${e}`
|
|
4045
|
-
), $e("Link coppied"), o == null ? void 0 : o.url;
|
|
4044
|
+
return navigator.clipboard.writeText(`${i}/test?version=${e}`), $e("Link coppied"), A == null ? void 0 : A.url;
|
|
4046
4045
|
}
|
|
4047
4046
|
};
|
|
4048
4047
|
return /* @__PURE__ */ m.jsxs(
|
|
@@ -4073,7 +4072,7 @@ const Ta = ({
|
|
|
4073
4072
|
bgColor: "#0F0F1E",
|
|
4074
4073
|
fgColor: "#ffffff",
|
|
4075
4074
|
style: { height: "auto", maxWidth: "100%", width: "100%" },
|
|
4076
|
-
value: t === "Flex" ?
|
|
4075
|
+
value: t === "Flex" ? `${i}/preview?versionId=${e}` : `${n}/${e}_test/default.html`
|
|
4077
4076
|
}
|
|
4078
4077
|
)
|
|
4079
4078
|
}
|
|
@@ -4133,7 +4132,7 @@ const Ta = ({
|
|
|
4133
4132
|
color: "white",
|
|
4134
4133
|
background: "rgba(0, 163, 255, 0)"
|
|
4135
4134
|
},
|
|
4136
|
-
onClick:
|
|
4135
|
+
onClick: o,
|
|
4137
4136
|
children: "Copy Link"
|
|
4138
4137
|
}
|
|
4139
4138
|
)
|
|
@@ -4150,18 +4149,19 @@ const Ta = ({
|
|
|
4150
4149
|
typeOfProduct: r,
|
|
4151
4150
|
api: n,
|
|
4152
4151
|
iframeUrl: i,
|
|
4153
|
-
fetchFileUrl: o
|
|
4152
|
+
fetchFileUrl: o,
|
|
4153
|
+
copyLinkUrl: A
|
|
4154
4154
|
}) => {
|
|
4155
|
-
const [
|
|
4155
|
+
const [a, c] = V(window.innerWidth);
|
|
4156
4156
|
be(() => {
|
|
4157
|
-
const
|
|
4158
|
-
|
|
4157
|
+
const u = () => {
|
|
4158
|
+
c(window.innerWidth);
|
|
4159
4159
|
};
|
|
4160
|
-
return window.addEventListener("resize",
|
|
4161
|
-
window.removeEventListener("resize",
|
|
4160
|
+
return window.addEventListener("resize", u), () => {
|
|
4161
|
+
window.removeEventListener("resize", u);
|
|
4162
4162
|
};
|
|
4163
4163
|
}, []);
|
|
4164
|
-
const
|
|
4164
|
+
const s = (e == null ? void 0 : e.length) > 25 ? e.slice(0, 25) + "..." : e;
|
|
4165
4165
|
return /* @__PURE__ */ m.jsxs(
|
|
4166
4166
|
"div",
|
|
4167
4167
|
{
|
|
@@ -4171,20 +4171,21 @@ const Ta = ({
|
|
|
4171
4171
|
flexDirection: "column",
|
|
4172
4172
|
justifyContent: "space-between",
|
|
4173
4173
|
padding: "5px",
|
|
4174
|
-
height:
|
|
4174
|
+
height: a > 1440 ? "680px" : "620px",
|
|
4175
4175
|
borderRadius: "0px 0px 0px 16px",
|
|
4176
4176
|
marginTop: "20px"
|
|
4177
4177
|
},
|
|
4178
4178
|
children: [
|
|
4179
4179
|
/* @__PURE__ */ m.jsx(Yo, { iframeUrl: i }),
|
|
4180
|
-
/* @__PURE__ */ m.jsx(ko, { name:
|
|
4180
|
+
/* @__PURE__ */ m.jsx(ko, { name: s }),
|
|
4181
4181
|
/* @__PURE__ */ m.jsx(
|
|
4182
4182
|
Ta,
|
|
4183
4183
|
{
|
|
4184
4184
|
versionId: t,
|
|
4185
4185
|
typeOfProduct: r,
|
|
4186
4186
|
api: n,
|
|
4187
|
-
fetchFileUrl: o
|
|
4187
|
+
fetchFileUrl: o,
|
|
4188
|
+
copyLinkUrl: A
|
|
4188
4189
|
}
|
|
4189
4190
|
)
|
|
4190
4191
|
]
|
|
@@ -5017,29 +5018,29 @@ const Pn = [
|
|
|
5017
5018
|
urls: p,
|
|
5018
5019
|
game: y,
|
|
5019
5020
|
setIsConfirmActive: C,
|
|
5020
|
-
downloadFlex:
|
|
5021
|
+
downloadFlex: Z,
|
|
5021
5022
|
flexDownloadCount: k,
|
|
5022
|
-
disabled:
|
|
5023
|
+
disabled: J
|
|
5023
5024
|
}) => {
|
|
5024
|
-
const [
|
|
5025
|
+
const [Y, v] = V(!1), [Ae, se] = V(en(5)), [_, re] = V(""), [ce, ae] = V(!1), [$, P] = V(!1), [x, w] = V("download"), L = () => {
|
|
5025
5026
|
r(e);
|
|
5026
|
-
}, f = async (
|
|
5027
|
+
}, f = async (N, g, K, O, D, G) => {
|
|
5027
5028
|
try {
|
|
5028
|
-
if (
|
|
5029
|
+
if (v(!0), c === "Flex") {
|
|
5029
5030
|
y.iosUrl = p.iosUrl, y.googleUrl = p.googleUrl, await Xn(y, u);
|
|
5030
5031
|
const R = await Vt(
|
|
5031
5032
|
{
|
|
5032
|
-
_id:
|
|
5033
|
+
_id: N,
|
|
5033
5034
|
network: g
|
|
5034
5035
|
},
|
|
5035
5036
|
u
|
|
5036
5037
|
);
|
|
5037
5038
|
let j = R.url;
|
|
5038
5039
|
if (!j) {
|
|
5039
|
-
|
|
5040
|
+
v(!1), d(R.message, R);
|
|
5040
5041
|
return;
|
|
5041
5042
|
}
|
|
5042
|
-
let
|
|
5043
|
+
let E;
|
|
5043
5044
|
if ([
|
|
5044
5045
|
"google",
|
|
5045
5046
|
"toutiao",
|
|
@@ -5057,34 +5058,34 @@ const Pn = [
|
|
|
5057
5058
|
"voodoo_notion",
|
|
5058
5059
|
"snapchat",
|
|
5059
5060
|
"inmobi"
|
|
5060
|
-
].includes(g) || (g === "fb" || g === "luna") &&
|
|
5061
|
-
|
|
5061
|
+
].includes(g) || (g === "fb" || g === "luna") && G)
|
|
5062
|
+
E = document.createElement("iframe"), E.setAttribute("src", "/files/" + j), E.style.display = "none", document.body.appendChild(E), E.click();
|
|
5062
5063
|
else if (O) {
|
|
5063
5064
|
let z = await fetch(h + "/" + j).then(
|
|
5064
5065
|
(Q) => Q.text()
|
|
5065
5066
|
);
|
|
5066
|
-
|
|
5067
|
+
E = document.createElement("a"), E.setAttribute(
|
|
5067
5068
|
"href",
|
|
5068
5069
|
"data:html/plain;charset=utf-8," + encodeURIComponent(z)
|
|
5069
|
-
),
|
|
5070
|
+
), E.setAttribute(
|
|
5070
5071
|
"download",
|
|
5071
5072
|
j.split("/").reduce((Q, T) => T, "")
|
|
5072
|
-
),
|
|
5073
|
+
), E.style.display = "none", document.body.appendChild(E), E.click();
|
|
5073
5074
|
}
|
|
5074
|
-
return
|
|
5075
|
+
return v(!1), j;
|
|
5075
5076
|
} else {
|
|
5076
|
-
await Qn(
|
|
5077
|
+
await Qn(N, { iosLink: p.iosUrl, androidLink: p.googleUrl }, u);
|
|
5077
5078
|
const R = Pn.includes(g) ? 1 : 0;
|
|
5078
5079
|
It(
|
|
5079
5080
|
u,
|
|
5080
|
-
|
|
5081
|
+
N,
|
|
5081
5082
|
Ae,
|
|
5082
5083
|
g,
|
|
5083
|
-
|
|
5084
|
+
G,
|
|
5084
5085
|
R,
|
|
5085
5086
|
{}
|
|
5086
5087
|
).then(async (j) => {
|
|
5087
|
-
let { url:
|
|
5088
|
+
let { url: E } = j, z;
|
|
5088
5089
|
if ([
|
|
5089
5090
|
"google",
|
|
5090
5091
|
"toutiao",
|
|
@@ -5102,10 +5103,10 @@ const Pn = [
|
|
|
5102
5103
|
"voodoo_notion",
|
|
5103
5104
|
"snapchat",
|
|
5104
5105
|
"inmobi"
|
|
5105
|
-
].includes(g) || (g === "fb" || g === "luna") &&
|
|
5106
|
-
z = document.createElement("iframe"), z.setAttribute("src", "/files/" +
|
|
5106
|
+
].includes(g) || (g === "fb" || g === "luna") && G)
|
|
5107
|
+
z = document.createElement("iframe"), z.setAttribute("src", "/files/" + E), z.style.display = "none", document.body.appendChild(z), z.click();
|
|
5107
5108
|
else if (O) {
|
|
5108
|
-
let Q = await fetch(h + "/" +
|
|
5109
|
+
let Q = await fetch(h + "/" + E).then(
|
|
5109
5110
|
(T) => T.text()
|
|
5110
5111
|
);
|
|
5111
5112
|
z = document.createElement("a"), z.setAttribute(
|
|
@@ -5113,16 +5114,16 @@ const Pn = [
|
|
|
5113
5114
|
"data:html/plain;charset=utf-8," + encodeURIComponent(Q)
|
|
5114
5115
|
), z.setAttribute(
|
|
5115
5116
|
"download",
|
|
5116
|
-
|
|
5117
|
+
E.split("/").reduce((T, me) => me, "")
|
|
5117
5118
|
), z.style.display = "none", document.body.appendChild(z), z.click();
|
|
5118
5119
|
}
|
|
5119
|
-
return
|
|
5120
|
+
return v(!1), $e("Download successfully"), E;
|
|
5120
5121
|
}).catch((j) => {
|
|
5121
5122
|
d(j.response.data.error.msg);
|
|
5122
5123
|
});
|
|
5123
5124
|
}
|
|
5124
5125
|
} catch (R) {
|
|
5125
|
-
|
|
5126
|
+
v(!1), d(R.response.data.error.msg);
|
|
5126
5127
|
}
|
|
5127
5128
|
}, W = async () => {
|
|
5128
5129
|
if (c === "Playable") {
|
|
@@ -5139,11 +5140,11 @@ const Pn = [
|
|
|
5139
5140
|
return navigator.clipboard.writeText(`${h}/${g == null ? void 0 : g.url}`), $e("Link Coppied"), g == null ? void 0 : g.url;
|
|
5140
5141
|
}
|
|
5141
5142
|
y.iosUrl = p.iosUrl, y.googleUrl = p.googleUrl, await Xn(y, u);
|
|
5142
|
-
const
|
|
5143
|
+
const N = await Vt(
|
|
5143
5144
|
{ _id: s, network: i },
|
|
5144
5145
|
u
|
|
5145
5146
|
);
|
|
5146
|
-
return navigator.clipboard.writeText(`${h}/${
|
|
5147
|
+
return navigator.clipboard.writeText(`${h}/${N == null ? void 0 : N.url}`), $e("Link Coppied"), N == null ? void 0 : N.url;
|
|
5147
5148
|
};
|
|
5148
5149
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5149
5150
|
/* @__PURE__ */ m.jsxs(
|
|
@@ -5196,7 +5197,7 @@ const Pn = [
|
|
|
5196
5197
|
}
|
|
5197
5198
|
}
|
|
5198
5199
|
),
|
|
5199
|
-
/* @__PURE__ */ m.jsx("div", { children: o && o.map((
|
|
5200
|
+
/* @__PURE__ */ m.jsx("div", { children: o && o.map((N) => N.network).includes(i) ? A ? /* @__PURE__ */ m.jsx(
|
|
5200
5201
|
"div",
|
|
5201
5202
|
{
|
|
5202
5203
|
style: {
|
|
@@ -5212,7 +5213,7 @@ const Pn = [
|
|
|
5212
5213
|
},
|
|
5213
5214
|
children: /* @__PURE__ */ m.jsx(Xi, { typeOfProduct: c })
|
|
5214
5215
|
}
|
|
5215
|
-
) : o.map((
|
|
5216
|
+
) : o.map((N) => /* @__PURE__ */ m.jsx(
|
|
5216
5217
|
"div",
|
|
5217
5218
|
{
|
|
5218
5219
|
style: {
|
|
@@ -5227,9 +5228,9 @@ const Pn = [
|
|
|
5227
5228
|
justifyContent: "center",
|
|
5228
5229
|
alignItems: "center"
|
|
5229
5230
|
},
|
|
5230
|
-
children:
|
|
5231
|
+
children: N.network === i ? N.size.toString().slice(0, 5) + "Mb" : ""
|
|
5231
5232
|
},
|
|
5232
|
-
|
|
5233
|
+
N.network
|
|
5233
5234
|
)) : null })
|
|
5234
5235
|
]
|
|
5235
5236
|
}
|
|
@@ -5237,7 +5238,7 @@ const Pn = [
|
|
|
5237
5238
|
/* @__PURE__ */ m.jsx(
|
|
5238
5239
|
"div",
|
|
5239
5240
|
{
|
|
5240
|
-
onClick:
|
|
5241
|
+
onClick: L,
|
|
5241
5242
|
style: {
|
|
5242
5243
|
position: "absolute",
|
|
5243
5244
|
top: "0",
|
|
@@ -5257,7 +5258,7 @@ const Pn = [
|
|
|
5257
5258
|
/* @__PURE__ */ m.jsx(
|
|
5258
5259
|
"img",
|
|
5259
5260
|
{
|
|
5260
|
-
onClick:
|
|
5261
|
+
onClick: L,
|
|
5261
5262
|
style: {
|
|
5262
5263
|
width: "30rem",
|
|
5263
5264
|
// Equivalent to 120/4 = 30rem
|
|
@@ -5284,19 +5285,19 @@ const Pn = [
|
|
|
5284
5285
|
Hn,
|
|
5285
5286
|
{
|
|
5286
5287
|
className: "w-2/3",
|
|
5287
|
-
downloading:
|
|
5288
|
+
downloading: Y,
|
|
5288
5289
|
onClickDonwload: async () => {
|
|
5289
5290
|
if (i === "instantGame") {
|
|
5290
5291
|
q(!0);
|
|
5291
5292
|
return;
|
|
5292
5293
|
} else {
|
|
5293
5294
|
re("download");
|
|
5294
|
-
const
|
|
5295
|
-
|
|
5295
|
+
const N = p.iosUrl, g = p.googleUrl;
|
|
5296
|
+
Z && Z.willSpendCredit ? (C(!0), w("download"), ae(!0)) : !N || !g ? (C(!0), P(!0)) : (P(!1), ae(!1), await f(s, i, void 0, !0, null, !0));
|
|
5296
5297
|
}
|
|
5297
5298
|
},
|
|
5298
5299
|
children: [
|
|
5299
|
-
!
|
|
5300
|
+
!Y && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5300
5301
|
/* @__PURE__ */ m.jsx(
|
|
5301
5302
|
$a,
|
|
5302
5303
|
{
|
|
@@ -5314,7 +5315,7 @@ const Pn = [
|
|
|
5314
5315
|
),
|
|
5315
5316
|
"Download"
|
|
5316
5317
|
] }),
|
|
5317
|
-
|
|
5318
|
+
Y && /* @__PURE__ */ m.jsx(Pi, {})
|
|
5318
5319
|
]
|
|
5319
5320
|
}
|
|
5320
5321
|
),
|
|
@@ -5324,10 +5325,10 @@ const Pn = [
|
|
|
5324
5325
|
className: "w-1/3",
|
|
5325
5326
|
onClickDonwload: async () => {
|
|
5326
5327
|
re("copyLink");
|
|
5327
|
-
const
|
|
5328
|
-
|
|
5328
|
+
const N = p.iosUrl, g = p.googleUrl;
|
|
5329
|
+
Z && (Z != null && Z.willSpendCredit) ? (w("copy"), C(!0), ae(!0)) : !N || !g ? (C(!0), P(!0)) : (ae(!1), P(!1), await W());
|
|
5329
5330
|
},
|
|
5330
|
-
disabled:
|
|
5331
|
+
disabled: J,
|
|
5331
5332
|
children: /* @__PURE__ */ m.jsx(pi, { className: "h-6 w-6 stroke-dark-full" })
|
|
5332
5333
|
}
|
|
5333
5334
|
)
|
|
@@ -6022,31 +6023,31 @@ const ss = ({
|
|
|
6022
6023
|
flexDownloadCount: h,
|
|
6023
6024
|
disabled: q
|
|
6024
6025
|
}) => {
|
|
6025
|
-
const [p, y] = V([]), [C,
|
|
6026
|
-
|
|
6027
|
-
const
|
|
6026
|
+
const [p, y] = V([]), [C, Z] = V([]), [k, J] = V(!1), [Y, v] = V(""), [Ae, se] = V(!1), [_, re] = V(!1), [ce, ae] = V(!1), $ = async (w) => {
|
|
6027
|
+
J(!0);
|
|
6028
|
+
const L = await As(
|
|
6028
6029
|
n,
|
|
6029
6030
|
w,
|
|
6030
6031
|
o
|
|
6031
6032
|
);
|
|
6032
|
-
|
|
6033
|
+
Z(L.details), v(L.size), J(!1);
|
|
6033
6034
|
}, P = async (w) => {
|
|
6034
|
-
const
|
|
6035
|
+
const L = [...p];
|
|
6035
6036
|
if (p.includes(w)) {
|
|
6036
|
-
const W =
|
|
6037
|
-
|
|
6037
|
+
const W = L.findIndex((N) => N === w);
|
|
6038
|
+
L.splice(W, 1), y(L);
|
|
6038
6039
|
} else
|
|
6039
|
-
i === "Playable" ? (
|
|
6040
|
-
let f = Wr.filter((W) => [...
|
|
6040
|
+
i === "Playable" ? (L.push(w), y([...p, w])) : (L.splice(0), L.push(w), y([w]));
|
|
6041
|
+
let f = Wr.filter((W) => [...L].includes(W.id)).map((W) => W.name);
|
|
6041
6042
|
await $(f);
|
|
6042
6043
|
}, x = async () => {
|
|
6043
6044
|
try {
|
|
6044
6045
|
const w = Wr.filter((g) => [...p].includes(g.id)).map((g) => g.name);
|
|
6045
6046
|
se(!0);
|
|
6046
|
-
const
|
|
6047
|
+
const L = await as(n, w, o), { url: f } = L;
|
|
6047
6048
|
let W;
|
|
6048
|
-
const
|
|
6049
|
-
W = document.createElement("iframe"), W.setAttribute("src",
|
|
6049
|
+
const N = s + "/" + f;
|
|
6050
|
+
W = document.createElement("iframe"), W.setAttribute("src", N), W.style.display = "none", document.body.appendChild(W), W.click(), se(!1), $e("Multi downloaded completed successfully");
|
|
6050
6051
|
} catch (w) {
|
|
6051
6052
|
se(!1), c(w.response.data.error.msg), console.error(w);
|
|
6052
6053
|
}
|
|
@@ -6074,8 +6075,8 @@ const ss = ({
|
|
|
6074
6075
|
padding: "0.75rem"
|
|
6075
6076
|
},
|
|
6076
6077
|
children: r && Wr.filter((w) => {
|
|
6077
|
-
var
|
|
6078
|
-
return t && ((
|
|
6078
|
+
var L;
|
|
6079
|
+
return t && ((L = t == null ? void 0 : t.networks) == null ? void 0 : L.length) > 0 ? t == null ? void 0 : t.networks.includes(w.name) : e == null ? void 0 : e.networks.includes(w.name);
|
|
6079
6080
|
}).filter(
|
|
6080
6081
|
(w) => w.name === "voodoo" ? A.customer === "customer:20" : !0
|
|
6081
6082
|
).map((w) => /* @__PURE__ */ m.jsx(
|
|
@@ -6135,7 +6136,7 @@ const ss = ({
|
|
|
6135
6136
|
os,
|
|
6136
6137
|
{
|
|
6137
6138
|
onClickMultiDownload: x,
|
|
6138
|
-
networksVersionTotalSize:
|
|
6139
|
+
networksVersionTotalSize: Y,
|
|
6139
6140
|
typeOfProduct: i,
|
|
6140
6141
|
multiDownloading: Ae
|
|
6141
6142
|
}
|
|
@@ -6208,9 +6209,9 @@ const hs = [
|
|
|
6208
6209
|
handleDownloadError: c,
|
|
6209
6210
|
fetchFileUrl: s
|
|
6210
6211
|
}) => {
|
|
6211
|
-
const [u, d] = V(null), [h, q] = V(null), [p, y] = V(null), [C,
|
|
6212
|
+
const [u, d] = V(null), [h, q] = V(null), [p, y] = V(null), [C, Z] = V(null), [k, J] = V(!1);
|
|
6212
6213
|
V({});
|
|
6213
|
-
const [
|
|
6214
|
+
const [Y, v] = V(null), [Ae, se] = V("Loading..."), [_, re] = V("Loading..."), [ce, ae] = V(!0), [$, P] = V(window.innerWidth);
|
|
6214
6215
|
be(() => {
|
|
6215
6216
|
const O = () => {
|
|
6216
6217
|
P(window.innerWidth);
|
|
@@ -6220,24 +6221,24 @@ const hs = [
|
|
|
6220
6221
|
};
|
|
6221
6222
|
}, []);
|
|
6222
6223
|
const x = async () => {
|
|
6223
|
-
|
|
6224
|
+
J(!0);
|
|
6224
6225
|
const O = await us(e, o);
|
|
6225
|
-
O != null && O.networks || (O.networks = hs), d(O),
|
|
6226
|
+
O != null && O.networks || (O.networks = hs), d(O), J(!1);
|
|
6226
6227
|
}, w = (O) => {
|
|
6227
6228
|
se(O);
|
|
6228
|
-
},
|
|
6229
|
+
}, L = (O) => {
|
|
6229
6230
|
re(O);
|
|
6230
6231
|
}, f = async (O) => {
|
|
6231
|
-
var
|
|
6232
|
+
var D, G, R, j;
|
|
6232
6233
|
try {
|
|
6233
|
-
let
|
|
6234
|
+
let E;
|
|
6234
6235
|
if (n === "Playable") {
|
|
6235
6236
|
const z = await fs(t, o);
|
|
6236
6237
|
if (z) {
|
|
6237
6238
|
se(z.iosLink), re(z.androidLink);
|
|
6238
6239
|
return;
|
|
6239
6240
|
}
|
|
6240
|
-
|
|
6241
|
+
E = await It(
|
|
6241
6242
|
o,
|
|
6242
6243
|
t,
|
|
6243
6244
|
en(5),
|
|
@@ -6246,28 +6247,28 @@ const hs = [
|
|
|
6246
6247
|
0,
|
|
6247
6248
|
{}
|
|
6248
6249
|
);
|
|
6249
|
-
let Q = await fetch(s + "/" +
|
|
6250
|
+
let Q = await fetch(s + "/" + E.url).then(
|
|
6250
6251
|
(M) => M.text()
|
|
6251
6252
|
);
|
|
6252
|
-
const T = ((
|
|
6253
|
+
const T = ((D = Q.match(
|
|
6253
6254
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6254
|
-
)) == null ? void 0 :
|
|
6255
|
+
)) == null ? void 0 : D.at(1)) || "";
|
|
6255
6256
|
se(T);
|
|
6256
|
-
const me = ((
|
|
6257
|
+
const me = ((G = Q.match(
|
|
6257
6258
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6258
|
-
)) == null ? void 0 :
|
|
6259
|
+
)) == null ? void 0 : G.at(1)) || "";
|
|
6259
6260
|
re(me);
|
|
6260
6261
|
} else if (n === "Flex")
|
|
6261
6262
|
if (O)
|
|
6262
6263
|
se(O.iosUrl), re(O.googleUrl);
|
|
6263
6264
|
else {
|
|
6264
|
-
|
|
6265
|
+
E = await Vt(
|
|
6265
6266
|
{
|
|
6266
6267
|
_id: t
|
|
6267
6268
|
},
|
|
6268
6269
|
o
|
|
6269
6270
|
);
|
|
6270
|
-
let z = await fetch(s + "/" +
|
|
6271
|
+
let z = await fetch(s + "/" + E.url).then(
|
|
6271
6272
|
(me) => me.text()
|
|
6272
6273
|
);
|
|
6273
6274
|
const Q = ((R = z.match(
|
|
@@ -6279,11 +6280,11 @@ const hs = [
|
|
|
6279
6280
|
)) == null ? void 0 : j.at(1)) || "";
|
|
6280
6281
|
re(T);
|
|
6281
6282
|
}
|
|
6282
|
-
} catch (
|
|
6283
|
-
c(
|
|
6283
|
+
} catch (E) {
|
|
6284
|
+
c(E.response.data.error.msg);
|
|
6284
6285
|
}
|
|
6285
6286
|
}, W = async () => {
|
|
6286
|
-
|
|
6287
|
+
J(!0);
|
|
6287
6288
|
const O = await cs(
|
|
6288
6289
|
{ _id: t },
|
|
6289
6290
|
o
|
|
@@ -6291,22 +6292,22 @@ const hs = [
|
|
|
6291
6292
|
["admin", "pm", "tester"].includes(A.role) ? y({
|
|
6292
6293
|
...O,
|
|
6293
6294
|
networks: qs
|
|
6294
|
-
}) : y(O),
|
|
6295
|
+
}) : y(O), J(!1);
|
|
6295
6296
|
};
|
|
6296
6297
|
console.log(ce);
|
|
6297
|
-
const
|
|
6298
|
+
const N = async () => {
|
|
6298
6299
|
const O = await ms({ _id: t }, o);
|
|
6299
|
-
|
|
6300
|
+
Z(O.size);
|
|
6300
6301
|
}, g = async () => await ds(r, o), K = async () => {
|
|
6301
6302
|
const O = await ps(t, o);
|
|
6302
|
-
|
|
6303
|
+
v(O);
|
|
6303
6304
|
};
|
|
6304
6305
|
return be(() => {
|
|
6305
|
-
i || (d(null), q(null), y(null),
|
|
6306
|
-
ae(!1), g().then((
|
|
6307
|
-
i && (f(
|
|
6306
|
+
i || (d(null), q(null), y(null), Z(null)), i && n === "Playable" ? (x(), f(null), ae(!1), K()) : i && n === "Flex" && (W().then((O) => {
|
|
6307
|
+
ae(!1), g().then((D) => {
|
|
6308
|
+
i && (f(D), ae(!1), q(D));
|
|
6308
6309
|
});
|
|
6309
|
-
}),
|
|
6310
|
+
}), N()), i && K();
|
|
6310
6311
|
}, [r, e, t, i]), /* @__PURE__ */ m.jsxs(
|
|
6311
6312
|
"div",
|
|
6312
6313
|
{
|
|
@@ -6329,7 +6330,7 @@ const hs = [
|
|
|
6329
6330
|
fileSize: C,
|
|
6330
6331
|
urls: { iosUrl: Ae, googleUrl: _ },
|
|
6331
6332
|
handleIosChange: w,
|
|
6332
|
-
handleGoogleChange:
|
|
6333
|
+
handleGoogleChange: L,
|
|
6333
6334
|
disabled: ce,
|
|
6334
6335
|
api: o,
|
|
6335
6336
|
downloadFlex: p
|
|
@@ -6349,7 +6350,7 @@ const hs = [
|
|
|
6349
6350
|
children: /* @__PURE__ */ m.jsx(Xi, { typeOfProduct: n })
|
|
6350
6351
|
}
|
|
6351
6352
|
),
|
|
6352
|
-
(u || p) && !k && Ae !== "Loading..." && _ !== "Loading..." && /* @__PURE__ */ m.jsx(
|
|
6353
|
+
(u || p) && h && !k && Ae !== "Loading..." && _ !== "Loading..." && /* @__PURE__ */ m.jsx(
|
|
6353
6354
|
ls,
|
|
6354
6355
|
{
|
|
6355
6356
|
playable: u,
|
|
@@ -6359,7 +6360,7 @@ const hs = [
|
|
|
6359
6360
|
typeOfProduct: n,
|
|
6360
6361
|
api: o,
|
|
6361
6362
|
user: A,
|
|
6362
|
-
instantGames:
|
|
6363
|
+
instantGames: Y,
|
|
6363
6364
|
handleDownloadError: c,
|
|
6364
6365
|
fetchFileUrl: s,
|
|
6365
6366
|
urls: { iosUrl: Ae, googleUrl: _ },
|
|
@@ -6524,8 +6525,8 @@ var Gr = { exports: {} };
|
|
|
6524
6525
|
}
|
|
6525
6526
|
var y = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), C = y != null && y[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
6526
6527
|
if (C) {
|
|
6527
|
-
var
|
|
6528
|
-
if (
|
|
6528
|
+
var Z = s.indexOf(p);
|
|
6529
|
+
if (Z > -1 && (Z += d ? -1 : 1), u = s[Z], typeof u > "u") {
|
|
6529
6530
|
c.preventDefault(), u = d ? q : h, u.focus();
|
|
6530
6531
|
return;
|
|
6531
6532
|
}
|
|
@@ -6826,9 +6827,9 @@ il.default.subscribe(sl);
|
|
|
6826
6827
|
});
|
|
6827
6828
|
var r = Object.assign || function(x) {
|
|
6828
6829
|
for (var w = 1; w < arguments.length; w++) {
|
|
6829
|
-
var
|
|
6830
|
-
for (var f in
|
|
6831
|
-
Object.prototype.hasOwnProperty.call(
|
|
6830
|
+
var L = arguments[w];
|
|
6831
|
+
for (var f in L)
|
|
6832
|
+
Object.prototype.hasOwnProperty.call(L, f) && (x[f] = L[f]);
|
|
6832
6833
|
}
|
|
6833
6834
|
return x;
|
|
6834
6835
|
}, n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(x) {
|
|
@@ -6836,26 +6837,26 @@ il.default.subscribe(sl);
|
|
|
6836
6837
|
} : function(x) {
|
|
6837
6838
|
return x && typeof Symbol == "function" && x.constructor === Symbol && x !== Symbol.prototype ? "symbol" : typeof x;
|
|
6838
6839
|
}, i = function() {
|
|
6839
|
-
function x(w,
|
|
6840
|
-
for (var f = 0; f <
|
|
6841
|
-
var W =
|
|
6840
|
+
function x(w, L) {
|
|
6841
|
+
for (var f = 0; f < L.length; f++) {
|
|
6842
|
+
var W = L[f];
|
|
6842
6843
|
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(w, W.key, W);
|
|
6843
6844
|
}
|
|
6844
6845
|
}
|
|
6845
|
-
return function(w,
|
|
6846
|
-
return
|
|
6846
|
+
return function(w, L, f) {
|
|
6847
|
+
return L && x(w.prototype, L), f && x(w, f), w;
|
|
6847
6848
|
};
|
|
6848
|
-
}(), o = te, A = $t, a =
|
|
6849
|
-
function
|
|
6849
|
+
}(), o = te, A = $t, a = v(A), c = ke, s = Y(c), u = Os, d = v(u), h = ze, q = Y(h), p = dt, y = Y(p), C = Ye, Z = v(C), k = pt, J = v(k);
|
|
6850
|
+
function Y(x) {
|
|
6850
6851
|
if (x && x.__esModule)
|
|
6851
6852
|
return x;
|
|
6852
6853
|
var w = {};
|
|
6853
6854
|
if (x != null)
|
|
6854
|
-
for (var
|
|
6855
|
-
Object.prototype.hasOwnProperty.call(x,
|
|
6855
|
+
for (var L in x)
|
|
6856
|
+
Object.prototype.hasOwnProperty.call(x, L) && (w[L] = x[L]);
|
|
6856
6857
|
return w.default = x, w;
|
|
6857
6858
|
}
|
|
6858
|
-
function
|
|
6859
|
+
function v(x) {
|
|
6859
6860
|
return x && x.__esModule ? x : { default: x };
|
|
6860
6861
|
}
|
|
6861
6862
|
function Ae(x, w) {
|
|
@@ -6881,16 +6882,16 @@ il.default.subscribe(sl);
|
|
|
6881
6882
|
return w.code === "Escape" || w.keyCode === 27;
|
|
6882
6883
|
}, $ = 0, P = function(x) {
|
|
6883
6884
|
_(w, x);
|
|
6884
|
-
function w(
|
|
6885
|
+
function w(L) {
|
|
6885
6886
|
Ae(this, w);
|
|
6886
|
-
var f = se(this, (w.__proto__ || Object.getPrototypeOf(w)).call(this,
|
|
6887
|
+
var f = se(this, (w.__proto__ || Object.getPrototypeOf(w)).call(this, L));
|
|
6887
6888
|
return f.setOverlayRef = function(W) {
|
|
6888
6889
|
f.overlay = W, f.props.overlayRef && f.props.overlayRef(W);
|
|
6889
6890
|
}, f.setContentRef = function(W) {
|
|
6890
6891
|
f.content = W, f.props.contentRef && f.props.contentRef(W);
|
|
6891
6892
|
}, f.afterClose = function() {
|
|
6892
|
-
var W = f.props,
|
|
6893
|
-
O && y.remove(
|
|
6893
|
+
var W = f.props, N = W.appElement, g = W.ariaHideApp, K = W.htmlOpenClassName, O = W.bodyOpenClassName, D = W.parentSelector, G = D && D().ownerDocument || document;
|
|
6894
|
+
O && y.remove(G.body, O), K && y.remove(G.getElementsByTagName("html")[0], K), g && $ > 0 && ($ -= 1, $ === 0 && q.show(N)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (s.returnFocus(f.props.preventScroll), s.teardownScopedFocus()) : s.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), J.default.deregister(f);
|
|
6894
6895
|
}, f.open = function() {
|
|
6895
6896
|
f.beforeOpen(), f.state.afterOpen && f.state.beforeClose ? (clearTimeout(f.closeTimer), f.setState({ beforeClose: !1 })) : (f.props.shouldFocusAfterRender && (s.setupScopedFocus(f.node), s.markForFocusLater()), f.setState({ isOpen: !0 }, function() {
|
|
6896
6897
|
f.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6936,16 +6937,16 @@ il.default.subscribe(sl);
|
|
|
6936
6937
|
return !f.state.isOpen && !f.state.beforeClose;
|
|
6937
6938
|
}, f.contentHasFocus = function() {
|
|
6938
6939
|
return document.activeElement === f.content || f.content.contains(document.activeElement);
|
|
6939
|
-
}, f.buildClassName = function(W,
|
|
6940
|
-
var g = (typeof
|
|
6940
|
+
}, f.buildClassName = function(W, N) {
|
|
6941
|
+
var g = (typeof N > "u" ? "undefined" : n(N)) === "object" ? N : {
|
|
6941
6942
|
base: re[W],
|
|
6942
6943
|
afterOpen: re[W] + "--after-open",
|
|
6943
6944
|
beforeClose: re[W] + "--before-close"
|
|
6944
6945
|
}, K = g.base;
|
|
6945
|
-
return f.state.afterOpen && (K = K + " " + g.afterOpen), f.state.beforeClose && (K = K + " " + g.beforeClose), typeof
|
|
6946
|
-
}, f.attributesFromObject = function(W,
|
|
6947
|
-
return Object.keys(
|
|
6948
|
-
return g[W + "-" + K] =
|
|
6946
|
+
return f.state.afterOpen && (K = K + " " + g.afterOpen), f.state.beforeClose && (K = K + " " + g.beforeClose), typeof N == "string" && N ? K + " " + N : K;
|
|
6947
|
+
}, f.attributesFromObject = function(W, N) {
|
|
6948
|
+
return Object.keys(N).reduce(function(g, K) {
|
|
6949
|
+
return g[W + "-" + K] = N[K], g;
|
|
6949
6950
|
}, {});
|
|
6950
6951
|
}, f.state = {
|
|
6951
6952
|
afterOpen: !1,
|
|
@@ -6970,27 +6971,27 @@ il.default.subscribe(sl);
|
|
|
6970
6971
|
}, {
|
|
6971
6972
|
key: "beforeOpen",
|
|
6972
6973
|
value: function() {
|
|
6973
|
-
var f = this.props, W = f.appElement,
|
|
6974
|
-
K && y.add(
|
|
6974
|
+
var f = this.props, W = f.appElement, N = f.ariaHideApp, g = f.htmlOpenClassName, K = f.bodyOpenClassName, O = f.parentSelector, D = O && O().ownerDocument || document;
|
|
6975
|
+
K && y.add(D.body, K), g && y.add(D.getElementsByTagName("html")[0], g), N && ($ += 1, q.hide(W)), J.default.register(this);
|
|
6975
6976
|
}
|
|
6976
6977
|
// Don't steal focus from inner elements
|
|
6977
6978
|
}, {
|
|
6978
6979
|
key: "render",
|
|
6979
6980
|
value: function() {
|
|
6980
|
-
var f = this.props, W = f.id,
|
|
6981
|
+
var f = this.props, W = f.id, N = f.className, g = f.overlayClassName, K = f.defaultStyles, O = f.children, D = N ? {} : K.content, G = g ? {} : K.overlay;
|
|
6981
6982
|
if (this.shouldBeClosed())
|
|
6982
6983
|
return null;
|
|
6983
6984
|
var R = {
|
|
6984
6985
|
ref: this.setOverlayRef,
|
|
6985
6986
|
className: this.buildClassName("overlay", g),
|
|
6986
|
-
style: r({},
|
|
6987
|
+
style: r({}, G, this.props.style.overlay),
|
|
6987
6988
|
onClick: this.handleOverlayOnClick,
|
|
6988
6989
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
6989
6990
|
}, j = r({
|
|
6990
6991
|
id: W,
|
|
6991
6992
|
ref: this.setContentRef,
|
|
6992
|
-
style: r({},
|
|
6993
|
-
className: this.buildClassName("content",
|
|
6993
|
+
style: r({}, D, this.props.style.content),
|
|
6994
|
+
className: this.buildClassName("content", N),
|
|
6994
6995
|
tabIndex: "-1",
|
|
6995
6996
|
onKeyDown: this.handleKeyDown,
|
|
6996
6997
|
onMouseDown: this.handleContentOnMouseDown,
|
|
@@ -7000,8 +7001,8 @@ il.default.subscribe(sl);
|
|
|
7000
7001
|
"aria-label": this.props.contentLabel
|
|
7001
7002
|
}, this.attributesFromObject("aria", r({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7002
7003
|
"data-testid": this.props.testId
|
|
7003
|
-
}),
|
|
7004
|
-
return this.props.overlayElement(R,
|
|
7004
|
+
}), E = this.props.contentElement(j, O);
|
|
7005
|
+
return this.props.overlayElement(R, E);
|
|
7005
7006
|
}
|
|
7006
7007
|
}]), w;
|
|
7007
7008
|
}(o.Component);
|
|
@@ -7027,7 +7028,7 @@ il.default.subscribe(sl);
|
|
|
7027
7028
|
bodyOpenClassName: a.default.string,
|
|
7028
7029
|
htmlOpenClassName: a.default.string,
|
|
7029
7030
|
ariaHideApp: a.default.bool,
|
|
7030
|
-
appElement: a.default.oneOfType([a.default.instanceOf(
|
|
7031
|
+
appElement: a.default.oneOfType([a.default.instanceOf(Z.default), a.default.instanceOf(C.SafeHTMLCollection), a.default.instanceOf(C.SafeNodeList), a.default.arrayOf(a.default.instanceOf(Z.default))]),
|
|
7031
7032
|
onAfterOpen: a.default.func,
|
|
7032
7033
|
onAfterClose: a.default.func,
|
|
7033
7034
|
onRequestClose: a.default.func,
|
|
@@ -7366,14 +7367,15 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7366
7367
|
title: s,
|
|
7367
7368
|
iframeUrl: u,
|
|
7368
7369
|
handleDownloadError: d,
|
|
7369
|
-
fetchFileUrl: h
|
|
7370
|
+
fetchFileUrl: h,
|
|
7371
|
+
copyLinkUrl: q
|
|
7370
7372
|
}) => {
|
|
7371
|
-
const [
|
|
7373
|
+
const [p, y] = V(window.innerWidth), [C, Z] = V(!1), [k, J] = V(u), Y = async () => {
|
|
7372
7374
|
A === "Flex" ? await Vt(
|
|
7373
7375
|
{ _id: r, network: "default" },
|
|
7374
7376
|
a
|
|
7375
|
-
).then((
|
|
7376
|
-
|
|
7377
|
+
).then((v) => {
|
|
7378
|
+
Z(!0), J(h + "/" + v.url);
|
|
7377
7379
|
}) : await It(
|
|
7378
7380
|
a,
|
|
7379
7381
|
r,
|
|
@@ -7382,18 +7384,18 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7382
7384
|
!1,
|
|
7383
7385
|
0,
|
|
7384
7386
|
{}
|
|
7385
|
-
).then((
|
|
7386
|
-
|
|
7387
|
+
).then((v) => {
|
|
7388
|
+
Z(!0), J(h + "/" + v.url);
|
|
7387
7389
|
});
|
|
7388
7390
|
};
|
|
7389
7391
|
return be(() => {
|
|
7390
|
-
e ?
|
|
7392
|
+
e ? C || (Y(), Z(!0)) : Z(!1);
|
|
7391
7393
|
}, [e]), be(() => {
|
|
7392
|
-
const
|
|
7393
|
-
|
|
7394
|
+
const v = () => {
|
|
7395
|
+
y(window.innerWidth);
|
|
7394
7396
|
};
|
|
7395
|
-
return window.addEventListener("resize",
|
|
7396
|
-
window.removeEventListener("resize",
|
|
7397
|
+
return window.addEventListener("resize", v), () => {
|
|
7398
|
+
window.removeEventListener("resize", v);
|
|
7397
7399
|
};
|
|
7398
7400
|
}, []), /* @__PURE__ */ m.jsxs(
|
|
7399
7401
|
Kl,
|
|
@@ -7410,8 +7412,8 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7410
7412
|
borderRadius: "0.75rem",
|
|
7411
7413
|
backgroundColor: "white",
|
|
7412
7414
|
zIndex: 50,
|
|
7413
|
-
height:
|
|
7414
|
-
width:
|
|
7415
|
+
height: p > 1440 ? "700px" : "650px",
|
|
7416
|
+
width: p > 1440 ? "965px" : "975px",
|
|
7415
7417
|
overflow: "hidden",
|
|
7416
7418
|
paddingTop: "0px"
|
|
7417
7419
|
},
|
|
@@ -7456,15 +7458,16 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7456
7458
|
}
|
|
7457
7459
|
),
|
|
7458
7460
|
/* @__PURE__ */ m.jsxs(Eo, { children: [
|
|
7459
|
-
|
|
7461
|
+
C ? /* @__PURE__ */ m.jsx(
|
|
7460
7462
|
Ha,
|
|
7461
7463
|
{
|
|
7462
7464
|
versionName: i,
|
|
7463
7465
|
versionId: r,
|
|
7464
7466
|
typeOfProduct: A,
|
|
7465
|
-
iframeUrl:
|
|
7467
|
+
iframeUrl: k,
|
|
7466
7468
|
api: a,
|
|
7467
|
-
fetchFileUrl: h
|
|
7469
|
+
fetchFileUrl: h,
|
|
7470
|
+
copyLinkUrl: q
|
|
7468
7471
|
}
|
|
7469
7472
|
) : /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsx(
|
|
7470
7473
|
"div",
|
|
@@ -7476,7 +7479,7 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7476
7479
|
justifyContent: "center",
|
|
7477
7480
|
alignItems: "center",
|
|
7478
7481
|
padding: "5px",
|
|
7479
|
-
height:
|
|
7482
|
+
height: p > 1440 ? "650px" : "625px",
|
|
7480
7483
|
borderRadius: "0px 0px 0px 16px",
|
|
7481
7484
|
marginTop: "20px"
|
|
7482
7485
|
// 'rounded-l-xl' typically means large rounded corners on the left side
|