gearboxdownloadmodal 4.0.38 → 4.0.40
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 +589 -595
- 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 -2
- package/dist/src/components/Preview.d.ts +1 -2
- package/dist/src/components/Qrcode.d.ts +1 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import te, { useState as V, useEffect as be, forwardRef as Io, useReducer as wo, useRef as _e, isValidElement as ut, cloneElement as xr, useLayoutEffect as Ko } from "react";
|
|
2
2
|
import Wo from "react-dom";
|
|
3
3
|
function xo(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -39,7 +39,7 @@ function Mo() {
|
|
|
39
39
|
if (qn)
|
|
40
40
|
return qt;
|
|
41
41
|
qn = 1;
|
|
42
|
-
var e =
|
|
42
|
+
var e = te, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
43
43
|
function A(a, c, s) {
|
|
44
44
|
var u, d = {}, h = null, q = null;
|
|
45
45
|
s !== void 0 && (h = "" + s), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (q = c.ref);
|
|
@@ -65,48 +65,48 @@ var gt = {};
|
|
|
65
65
|
var gn;
|
|
66
66
|
function So() {
|
|
67
67
|
return gn || (gn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
68
|
-
var e =
|
|
68
|
+
var e = te, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), a = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), q = Symbol.for("react.offscreen"), p = Symbol.iterator, y = "@@iterator";
|
|
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
|
-
|
|
87
|
-
var le = S.map(function(
|
|
88
|
-
return String(
|
|
85
|
+
var H = Z.ReactDebugCurrentFrame, ee = H.getStackAddendum();
|
|
86
|
+
ee !== "" && (I += "%s", S = S.concat([ee]));
|
|
87
|
+
var le = S.map(function(U) {
|
|
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
|
|
94
|
-
|
|
95
|
-
function
|
|
96
|
-
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o ||
|
|
93
|
+
var Y = !1, v = !1, oe = !1, se = !1, F = !1, re;
|
|
94
|
+
re = Symbol.for("react.module.reference");
|
|
95
|
+
function me(l) {
|
|
96
|
+
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || F || l === i || l === s || l === u || se || l === q || Y || v || oe || 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
|
-
l.$$typeof ===
|
|
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
|
|
107
|
-
return
|
|
106
|
+
var ee = I.displayName || I.name || "";
|
|
107
|
+
return ee !== "" ? S + "(" + ee + ")" : S;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function $(l) {
|
|
110
110
|
return l.displayName || "Context";
|
|
111
111
|
}
|
|
112
112
|
function P(l) {
|
|
@@ -133,20 +133,20 @@ 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
|
-
return
|
|
140
|
+
return $(S._context) + ".Provider";
|
|
141
141
|
case c:
|
|
142
142
|
return ae(l, l.render, "ForwardRef");
|
|
143
143
|
case d:
|
|
144
144
|
var H = l.displayName || null;
|
|
145
145
|
return H !== null ? H : P(l.type) || "Memo";
|
|
146
146
|
case h: {
|
|
147
|
-
var
|
|
147
|
+
var ee = l, le = ee._payload, U = ee._init;
|
|
148
148
|
try {
|
|
149
|
-
return P(
|
|
149
|
+
return P(U(le));
|
|
150
150
|
} catch {
|
|
151
151
|
return null;
|
|
152
152
|
}
|
|
@@ -154,14 +154,14 @@ function So() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var x = Object.assign, w = 0, L, f, W,
|
|
157
|
+
var x = Object.assign, w = 0, L, f, W, N, g, K, O;
|
|
158
158
|
function D() {
|
|
159
159
|
}
|
|
160
160
|
D.__reactDisabledLog = !0;
|
|
161
161
|
function G() {
|
|
162
162
|
{
|
|
163
163
|
if (w === 0) {
|
|
164
|
-
L = console.log, f = console.info, W = console.warn,
|
|
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,
|
|
@@ -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,26 +216,26 @@ 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
|
-
} catch (
|
|
226
|
-
var H =
|
|
227
|
-
|
|
225
|
+
} catch (ee) {
|
|
226
|
+
var H = ee.stack.trim().match(/\n( *(at )?)/);
|
|
227
|
+
E = H && H[1] || "";
|
|
228
228
|
}
|
|
229
229
|
return `
|
|
230
|
-
` +
|
|
230
|
+
` + E + l;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
var Q = !1, T;
|
|
234
234
|
{
|
|
235
|
-
var
|
|
236
|
-
T = new
|
|
235
|
+
var ce = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
|
+
T = new ce();
|
|
237
237
|
}
|
|
238
|
-
function M(l,
|
|
238
|
+
function M(l, I) {
|
|
239
239
|
if (!l || Q)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
@@ -245,33 +245,33 @@ function So() {
|
|
|
245
245
|
}
|
|
246
246
|
var H;
|
|
247
247
|
Q = !0;
|
|
248
|
-
var
|
|
248
|
+
var ee = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var le;
|
|
251
251
|
le = j.current, j.current = null, G();
|
|
252
252
|
try {
|
|
253
|
-
if (
|
|
254
|
-
var
|
|
253
|
+
if (I) {
|
|
254
|
+
var U = function() {
|
|
255
255
|
throw Error();
|
|
256
256
|
};
|
|
257
|
-
if (Object.defineProperty(
|
|
257
|
+
if (Object.defineProperty(U.prototype, "props", {
|
|
258
258
|
set: function() {
|
|
259
259
|
throw Error();
|
|
260
260
|
}
|
|
261
261
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
262
262
|
try {
|
|
263
|
-
Reflect.construct(
|
|
263
|
+
Reflect.construct(U, []);
|
|
264
264
|
} catch (De) {
|
|
265
265
|
H = De;
|
|
266
266
|
}
|
|
267
|
-
Reflect.construct(l, [],
|
|
267
|
+
Reflect.construct(l, [], U);
|
|
268
268
|
} else {
|
|
269
269
|
try {
|
|
270
|
-
|
|
270
|
+
U.call();
|
|
271
271
|
} catch (De) {
|
|
272
272
|
H = De;
|
|
273
273
|
}
|
|
274
|
-
l.call(
|
|
274
|
+
l.call(U.prototype);
|
|
275
275
|
}
|
|
276
276
|
} else {
|
|
277
277
|
try {
|
|
@@ -301,19 +301,19 @@ function So() {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
|
-
Q = !1, j.current = le, R(), Error.prepareStackTrace =
|
|
304
|
+
Q = !1, j.current = le, R(), Error.prepareStackTrace = ee;
|
|
305
305
|
}
|
|
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,41 +331,41 @@ 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
|
-
var H = l,
|
|
336
|
+
var H = l, ee = H._payload, le = H._init;
|
|
337
337
|
try {
|
|
338
|
-
return Ve(le(
|
|
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
|
-
for (var
|
|
357
|
-
if (le(l,
|
|
356
|
+
for (var U in l)
|
|
357
|
+
if (le(l, U)) {
|
|
358
358
|
var B = void 0;
|
|
359
359
|
try {
|
|
360
|
-
if (typeof l[
|
|
361
|
-
var ye = Error((H || "React class") + ": " + S + " type `" +
|
|
360
|
+
if (typeof l[U] != "function") {
|
|
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[
|
|
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
|
}
|
|
368
|
-
B && !(B instanceof Error) && (Et(
|
|
368
|
+
B && !(B instanceof Error) && (Et(ee), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", H || "React class", S, U, typeof B), Et(null)), B instanceof Error && !(B.message in nn) && (nn[B.message] = !0, Et(ee), k("Failed %s type: %s", S, B.message), Et(null));
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
@@ -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,15 +444,15 @@ 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
|
-
props:
|
|
455
|
+
props: U,
|
|
456
456
|
// Record the component responsible for creating this element.
|
|
457
457
|
_owner: le
|
|
458
458
|
};
|
|
@@ -470,31 +470,31 @@ function So() {
|
|
|
470
470
|
configurable: !1,
|
|
471
471
|
enumerable: !1,
|
|
472
472
|
writable: !1,
|
|
473
|
-
value:
|
|
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
|
-
var le,
|
|
479
|
-
S !== void 0 && (an(S), B = "" + S), lo(
|
|
480
|
-
for (le in
|
|
481
|
-
Lt.call(
|
|
478
|
+
var le, U = {}, B = null, ye = null;
|
|
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)
|
|
485
|
-
|
|
485
|
+
U[le] === void 0 && (U[le] = de[le]);
|
|
486
486
|
}
|
|
487
487
|
if (B || ye) {
|
|
488
488
|
var pe = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
489
|
-
B && co(
|
|
489
|
+
B && co(U, pe), ye && mo(U, pe);
|
|
490
490
|
}
|
|
491
|
-
return po(l, B, ye,
|
|
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,54 +553,54 @@ 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);
|
|
567
567
|
else if (l) {
|
|
568
|
-
var
|
|
569
|
-
if (typeof
|
|
570
|
-
for (var le =
|
|
571
|
-
dr(
|
|
568
|
+
var ee = C(l);
|
|
569
|
+
if (typeof ee == "function" && ee !== l.entries)
|
|
570
|
+
for (var le = ee.call(l), U; !(U = le.next()).done; )
|
|
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
|
|
595
|
-
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
594
|
+
var ee = P(I);
|
|
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,22 +609,22 @@ 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
|
-
var
|
|
615
|
-
if (!
|
|
614
|
+
var U = me(l);
|
|
615
|
+
if (!U) {
|
|
616
616
|
var B = "";
|
|
617
617
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (B += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
618
|
-
var ye = ho(
|
|
618
|
+
var ye = ho(ee);
|
|
619
619
|
ye ? B += ye : B += cn();
|
|
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
|
-
if (
|
|
627
|
-
var Ke =
|
|
626
|
+
if (U) {
|
|
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,15 +1367,15 @@ 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
|
-
var Ho = Je, Mr = { exports: {} }, kt = { exports: {} },
|
|
1378
|
+
var Ho = Je, Mr = { exports: {} }, kt = { exports: {} }, ne = {};
|
|
1379
1379
|
/** @license React v16.13.1
|
|
1380
1380
|
* react-is.production.min.js
|
|
1381
1381
|
*
|
|
@@ -1387,71 +1387,71 @@ var Ho = Je, Mr = { exports: {} }, kt = { exports: {} }, ie = {};
|
|
|
1387
1387
|
var vn;
|
|
1388
1388
|
function Xo() {
|
|
1389
1389
|
if (vn)
|
|
1390
|
-
return
|
|
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
|
|
1396
|
-
switch (
|
|
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 oe = v.$$typeof;
|
|
1396
|
+
switch (oe) {
|
|
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
|
-
return
|
|
1415
|
+
return oe;
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
case r:
|
|
1419
|
-
return
|
|
1419
|
+
return oe;
|
|
1420
1420
|
}
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1424
|
-
return
|
|
1425
|
-
}
|
|
1426
|
-
return
|
|
1427
|
-
return
|
|
1428
|
-
},
|
|
1429
|
-
return
|
|
1430
|
-
},
|
|
1431
|
-
return
|
|
1432
|
-
},
|
|
1433
|
-
return typeof
|
|
1434
|
-
},
|
|
1435
|
-
return
|
|
1436
|
-
},
|
|
1437
|
-
return
|
|
1438
|
-
},
|
|
1439
|
-
return
|
|
1440
|
-
},
|
|
1441
|
-
return
|
|
1442
|
-
},
|
|
1443
|
-
return
|
|
1444
|
-
},
|
|
1445
|
-
return
|
|
1446
|
-
},
|
|
1447
|
-
return
|
|
1448
|
-
},
|
|
1449
|
-
return
|
|
1450
|
-
},
|
|
1451
|
-
return typeof
|
|
1452
|
-
},
|
|
1453
|
-
}
|
|
1454
|
-
var
|
|
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
|
+
}
|
|
1454
|
+
var ie = {};
|
|
1455
1455
|
/** @license React v16.13.1
|
|
1456
1456
|
* react-is.development.js
|
|
1457
1457
|
*
|
|
@@ -1463,12 +1463,12 @@ var oe = {};
|
|
|
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,48 +1500,48 @@ 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, oe = s, se = a, F = A, re = t, me = 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
1516
|
function D(M) {
|
|
1517
1517
|
return typeof M == "object" && M !== null && M.$$typeof === t;
|
|
1518
1518
|
}
|
|
1519
1519
|
function G(M) {
|
|
1520
|
-
return
|
|
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
|
-
function
|
|
1541
|
-
return
|
|
1540
|
+
function ce(M) {
|
|
1541
|
+
return Y(M) === d;
|
|
1542
1542
|
}
|
|
1543
|
-
|
|
1544
|
-
}()),
|
|
1543
|
+
ie.AsyncMode = v, ie.ConcurrentMode = oe, ie.ContextConsumer = se, ie.ContextProvider = F, ie.Element = re, ie.ForwardRef = me, 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 = ce, ie.isValidElementType = J, ie.typeOf = Y;
|
|
1544
|
+
}()), ie;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Cn;
|
|
1547
1547
|
function li() {
|
|
@@ -1687,24 +1687,24 @@ 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:
|
|
1702
|
-
instanceOf:
|
|
1703
|
-
node:
|
|
1704
|
-
objectOf:
|
|
1699
|
+
arrayOf: J,
|
|
1700
|
+
element: Y(),
|
|
1701
|
+
elementType: v(),
|
|
1702
|
+
instanceOf: oe,
|
|
1703
|
+
node: me(),
|
|
1704
|
+
objectOf: F,
|
|
1705
1705
|
oneOf: se,
|
|
1706
|
-
oneOfType:
|
|
1707
|
-
shape:
|
|
1706
|
+
oneOfType: re,
|
|
1707
|
+
shape: $,
|
|
1708
1708
|
exact: P
|
|
1709
1709
|
};
|
|
1710
1710
|
function p(g, K) {
|
|
@@ -1717,28 +1717,28 @@ function Bo() {
|
|
|
1717
1717
|
function C(g) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var K = {}, O = 0;
|
|
1720
|
-
function D(R, j,
|
|
1721
|
-
if (z = z || h, T = T ||
|
|
1720
|
+
function D(R, j, E, z, Q, T, ce) {
|
|
1721
|
+
if (z = z || h, T = T || E, ce !== 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
1737
|
var G = D.bind(null, !1);
|
|
1738
1738
|
return G.isRequired = D.bind(null, !0), G;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1741
|
-
function K(O, D, G, R, j,
|
|
1740
|
+
function Z(g) {
|
|
1741
|
+
function K(O, D, G, R, j, E) {
|
|
1742
1742
|
var z = O[D], Q = L(z);
|
|
1743
1743
|
if (Q !== g) {
|
|
1744
1744
|
var T = f(z);
|
|
@@ -1754,17 +1754,17 @@ function Bo() {
|
|
|
1754
1754
|
function k() {
|
|
1755
1755
|
return C(A);
|
|
1756
1756
|
}
|
|
1757
|
-
function
|
|
1757
|
+
function J(g) {
|
|
1758
1758
|
function K(O, D, G, R, j) {
|
|
1759
1759
|
if (typeof g != "function")
|
|
1760
1760
|
return new y("Property `" + j + "` of component `" + G + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
-
var
|
|
1762
|
-
if (!Array.isArray(
|
|
1763
|
-
var z = L(
|
|
1761
|
+
var E = O[D];
|
|
1762
|
+
if (!Array.isArray(E)) {
|
|
1763
|
+
var z = L(E);
|
|
1764
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
|
|
1775
|
+
function Y() {
|
|
1776
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 " + G + " `" + R + "` of type " + ("`" +
|
|
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
|
|
1786
|
+
function v() {
|
|
1787
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 " + G + " `" + R + "` of type " + ("`" +
|
|
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
|
-
function
|
|
1797
|
+
function oe(g) {
|
|
1798
1798
|
function K(O, D, G, R, j) {
|
|
1799
1799
|
if (!(O[D] instanceof g)) {
|
|
1800
|
-
var
|
|
1801
|
-
return new y("Invalid " + R + " `" + j + "` of type " + ("`" + z + "` supplied to `" + G + "`, expected ") + ("instance of `" +
|
|
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
|
}
|
|
@@ -1810,27 +1810,27 @@ function Bo() {
|
|
|
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
1812
|
function K(O, D, G, R, j) {
|
|
1813
|
-
for (var
|
|
1814
|
-
if (p(
|
|
1813
|
+
for (var E = O[D], z = 0; z < g.length; z++)
|
|
1814
|
+
if (p(E, g[z]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var Q = JSON.stringify(g, function(
|
|
1816
|
+
var Q = JSON.stringify(g, function(ce, 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
|
-
function
|
|
1824
|
+
function F(g) {
|
|
1825
1825
|
function K(O, D, G, R, j) {
|
|
1826
1826
|
if (typeof g != "function")
|
|
1827
1827
|
return new y("Property `" + j + "` of component `" + G + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
-
var
|
|
1828
|
+
var E = O[D], z = L(E);
|
|
1829
1829
|
if (z !== "object")
|
|
1830
1830
|
return new y("Invalid " + R + " `" + j + "` of type " + ("`" + z + "` supplied to `" + G + "`, expected an object."));
|
|
1831
|
-
for (var Q in
|
|
1832
|
-
if (n(
|
|
1833
|
-
var T = g(
|
|
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
|
}
|
|
@@ -1838,7 +1838,7 @@ function Bo() {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
return C(K);
|
|
1840
1840
|
}
|
|
1841
|
-
function
|
|
1841
|
+
function re(g) {
|
|
1842
1842
|
if (!Array.isArray(g))
|
|
1843
1843
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), A;
|
|
1844
1844
|
for (var K = 0; K < g.length; K++) {
|
|
@@ -1848,19 +1848,19 @@ 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 D(G, R, j,
|
|
1851
|
+
function D(G, R, j, E, z) {
|
|
1852
1852
|
for (var Q = [], T = 0; T < g.length; T++) {
|
|
1853
|
-
var
|
|
1853
|
+
var ce = g[T], M = ce(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
1861
|
return C(D);
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1863
|
+
function me() {
|
|
1864
1864
|
function g(K, O, D, G, R) {
|
|
1865
1865
|
return x(K[O]) ? null : new y("Invalid " + G + " `" + R + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
@@ -1871,18 +1871,18 @@ function Bo() {
|
|
|
1871
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
|
-
function
|
|
1874
|
+
function $(g) {
|
|
1875
1875
|
function K(O, D, G, R, j) {
|
|
1876
|
-
var
|
|
1876
|
+
var E = O[D], z = L(E);
|
|
1877
1877
|
if (z !== "object")
|
|
1878
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
1882
|
return ae(G, R, j, Q, f(T));
|
|
1883
|
-
var
|
|
1884
|
-
if (
|
|
1885
|
-
return
|
|
1883
|
+
var ce = T(E, Q, G, R, j + "." + Q, r);
|
|
1884
|
+
if (ce)
|
|
1885
|
+
return ce;
|
|
1886
1886
|
}
|
|
1887
1887
|
return null;
|
|
1888
1888
|
}
|
|
@@ -1890,20 +1890,20 @@ function Bo() {
|
|
|
1890
1890
|
}
|
|
1891
1891
|
function P(g) {
|
|
1892
1892
|
function K(O, D, G, R, j) {
|
|
1893
|
-
var
|
|
1893
|
+
var E = O[D], z = L(E);
|
|
1894
1894
|
if (z !== "object")
|
|
1895
1895
|
return new y("Invalid " + R + " `" + j + "` of type `" + z + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
1896
1896
|
var Q = t({}, O[D], g);
|
|
1897
1897
|
for (var T in Q) {
|
|
1898
|
-
var
|
|
1899
|
-
if (n(g, T) && typeof
|
|
1900
|
-
return ae(G, R, j, T, f(
|
|
1901
|
-
if (!
|
|
1898
|
+
var ce = g[T];
|
|
1899
|
+
if (n(g, T) && typeof ce != "function")
|
|
1900
|
+
return ae(G, R, j, T, f(ce));
|
|
1901
|
+
if (!ce)
|
|
1902
1902
|
return new y(
|
|
1903
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 =
|
|
1906
|
+
var M = ce(E, T, G, R, j + "." + T, r);
|
|
1907
1907
|
if (M)
|
|
1908
1908
|
return M;
|
|
1909
1909
|
}
|
|
@@ -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;
|
|
@@ -2048,7 +2048,7 @@ var $o = Object.assign || function(e) {
|
|
|
2048
2048
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
2049
2049
|
}
|
|
2050
2050
|
return e;
|
|
2051
|
-
}, eA = $t, xe = mi(eA), ci =
|
|
2051
|
+
}, eA = $t, xe = mi(eA), ci = te, zt = mi(ci);
|
|
2052
2052
|
function mi(e) {
|
|
2053
2053
|
return e && e.__esModule ? e : { default: e };
|
|
2054
2054
|
}
|
|
@@ -2099,7 +2099,7 @@ var iA = Object.assign || function(e) {
|
|
|
2099
2099
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
2100
2100
|
}
|
|
2101
2101
|
return e;
|
|
2102
|
-
}, oA = Ho, AA = Wt(oA), aA = ni, sA = Wt(aA), lA = $t, Ge = Wt(lA), di =
|
|
2102
|
+
}, oA = Ho, AA = Wt(oA), aA = ni, sA = Wt(aA), lA = $t, Ge = Wt(lA), di = te, uA = Wt(di), cA = Hr, mA = Wt(cA);
|
|
2103
2103
|
function Wt(e) {
|
|
2104
2104
|
return e && e.__esModule ? e : { default: e };
|
|
2105
2105
|
}
|
|
@@ -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 _(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(_, Error, {
|
|
2418
2418
|
toJSON: function() {
|
|
2419
2419
|
return {
|
|
2420
2420
|
// Standard
|
|
@@ -2429,7 +2429,7 @@ v.inherits(_, 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(_, Ii);
|
|
|
2457
2457
|
Object.defineProperty(Zi, "isAxiosError", { value: !0 });
|
|
2458
2458
|
_.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"), _.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 _("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
|
_.call(this, e ?? "canceled", _.ERR_CANCELED, t, r), this.name = "CanceledError";
|
|
2967
2967
|
}
|
|
2968
|
-
|
|
2968
|
+
b.inherits(Mt, _, {
|
|
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 _(
|
|
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,16 +3719,16 @@ 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 ?
|
|
3731
|
-
}, [h]),
|
|
3730
|
+
h || (s ? Z() : (y.current = 1, C.className += ` ${p}`, C.addEventListener("animationend", Z)));
|
|
3731
|
+
}, [h]), te.createElement(te.Fragment, null, a);
|
|
3732
3732
|
};
|
|
3733
3733
|
}
|
|
3734
3734
|
function Dn(e, t) {
|
|
@@ -3754,17 +3754,17 @@ const Oe = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
3754
3754
|
});
|
|
3755
3755
|
} }, jt = (e) => {
|
|
3756
3756
|
let { theme: t, type: r, ...n } = e;
|
|
3757
|
-
return
|
|
3757
|
+
return te.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${r})`, ...n });
|
|
3758
3758
|
}, wr = { info: function(e) {
|
|
3759
|
-
return
|
|
3759
|
+
return te.createElement(jt, { ...e }, te.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
|
|
3760
3760
|
}, warning: function(e) {
|
|
3761
|
-
return
|
|
3761
|
+
return te.createElement(jt, { ...e }, te.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
|
|
3762
3762
|
}, success: function(e) {
|
|
3763
|
-
return
|
|
3763
|
+
return te.createElement(jt, { ...e }, te.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
|
|
3764
3764
|
}, error: function(e) {
|
|
3765
|
-
return
|
|
3765
|
+
return te.createElement(jt, { ...e }, te.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
|
|
3766
3766
|
}, spinner: function() {
|
|
3767
|
-
return
|
|
3767
|
+
return te.createElement("div", { className: "Toastify__spinner" });
|
|
3768
3768
|
} };
|
|
3769
3769
|
function za(e) {
|
|
3770
3770
|
const [, t] = wo((q) => q + 1, 0), [r, n] = V([]), i = _e(null), o = _e(/* @__PURE__ */ new Map()).current, A = (q) => r.indexOf(q) !== -1, a = _e({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: A, getToast: (q) => o.get(q) }).current;
|
|
@@ -3781,19 +3781,19 @@ function za(e) {
|
|
|
3781
3781
|
h(q, p, y);
|
|
3782
3782
|
}
|
|
3783
3783
|
function d(q, p) {
|
|
3784
|
-
let { delay: y, staleId: C, ...
|
|
3785
|
-
if (!Ir(q) || function(
|
|
3786
|
-
return !i.current || a.props.enableMultiContainer &&
|
|
3787
|
-
}(
|
|
3784
|
+
let { delay: y, staleId: C, ...Z } = p;
|
|
3785
|
+
if (!Ir(q) || function($) {
|
|
3786
|
+
return !i.current || a.props.enableMultiContainer && $.containerId !== a.props.containerId || o.has($.toastId) && $.updateId == null;
|
|
3787
|
+
}(Z))
|
|
3788
3788
|
return;
|
|
3789
|
-
const { toastId: k, updateId:
|
|
3789
|
+
const { toastId: k, updateId: J, data: Y } = Z, { props: v } = a, oe = () => s(k), se = J == null;
|
|
3790
3790
|
se && a.count++;
|
|
3791
|
-
const
|
|
3792
|
-
let [P, x] =
|
|
3791
|
+
const F = { ...v, style: v.toastStyle, key: a.toastKey++, ...Object.fromEntries(Object.entries(Z).filter(($) => {
|
|
3792
|
+
let [P, x] = $;
|
|
3793
3793
|
return x != null;
|
|
3794
|
-
})), toastId: k, updateId:
|
|
3795
|
-
const
|
|
3796
|
-
o.delete(k), Oe.emit(4,
|
|
3794
|
+
})), toastId: k, updateId: J, data: Y, closeToast: oe, 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, me = v.autoClose, re === !1 || bt(re) && re > 0 ? re : me), deleteToast() {
|
|
3795
|
+
const $ = Dn(o.get(k), "removed");
|
|
3796
|
+
o.delete(k), Oe.emit(4, $);
|
|
3797
3797
|
const P = a.queue.length;
|
|
3798
3798
|
if (a.count = k == null ? a.count - a.displayedToast : a.count - 1, a.count < 0 && (a.count = 0), P > 0) {
|
|
3799
3799
|
const x = k == null ? a.props.limit : 1;
|
|
@@ -3808,22 +3808,22 @@ function za(e) {
|
|
|
3808
3808
|
} else
|
|
3809
3809
|
t();
|
|
3810
3810
|
} };
|
|
3811
|
-
var
|
|
3812
|
-
|
|
3813
|
-
let { theme: P, type: x, isLoading: w, icon: L } =
|
|
3811
|
+
var re, me;
|
|
3812
|
+
F.iconOut = function($) {
|
|
3813
|
+
let { theme: P, type: x, isLoading: w, icon: L } = $, f = null;
|
|
3814
3814
|
const W = { theme: P, type: x };
|
|
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() : ((
|
|
3816
|
-
}(
|
|
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
|
+
}(F), ve(Z.onOpen) && (F.onOpen = Z.onOpen), ve(Z.onClose) && (F.onClose = Z.onClose), F.closeButton = v.closeButton, Z.closeButton === !1 || Ir(Z.closeButton) ? F.closeButton = Z.closeButton : Z.closeButton === !0 && (F.closeButton = !Ir(v.closeButton) || v.closeButton);
|
|
3817
3817
|
let ae = q;
|
|
3818
|
-
ut(q) && !nt(q.type) ? ae = xr(q, { closeToast:
|
|
3819
|
-
h(ae,
|
|
3820
|
-
}, y) : h(ae,
|
|
3818
|
+
ut(q) && !nt(q.type) ? ae = xr(q, { closeToast: oe, toastProps: F, data: Y }) : ve(q) && (ae = q({ closeToast: oe, toastProps: F, data: Y })), v.limit && v.limit > 0 && a.count > v.limit && se ? a.queue.push({ toastContent: ae, toastProps: F, staleId: C }) : bt(y) ? setTimeout(() => {
|
|
3819
|
+
h(ae, F, C);
|
|
3820
|
+
}, y) : h(ae, F, 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: oe, left: se, right: F } = A.boundingRect;
|
|
3858
|
+
Y.nativeEvent.type !== "touchend" && e.pauseOnHover && A.x >= se && A.x <= F && A.y >= v && A.y <= oe ? C() : y();
|
|
3859
3859
|
}
|
|
3860
3860
|
}
|
|
3861
3861
|
function y() {
|
|
@@ -3864,51 +3864,51 @@ 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;
|
|
3895
|
-
return
|
|
3895
|
+
return te.createElement("button", { className: `Toastify__close-button Toastify__close-button--${r}`, type: "button", onClick: (i) => {
|
|
3896
3896
|
i.stopPropagation(), t(i);
|
|
3897
|
-
}, "aria-label": n },
|
|
3897
|
+
}, "aria-label": n }, te.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, te.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
3898
3898
|
}
|
|
3899
3899
|
function Ja(e) {
|
|
3900
3900
|
let { delay: t, isRunning: r, closeToast: n, type: i = "default", hide: o, className: A, style: a, controlledProgress: c, progress: s, rtl: u, isIn: d, theme: h } = e;
|
|
3901
3901
|
const q = o || c && s === 0, p = { ...a, animationDuration: `${t}ms`, animationPlayState: r ? "running" : "paused", opacity: q ? 0 : 1 };
|
|
3902
3902
|
c && (p.transform = `scaleX(${s})`);
|
|
3903
3903
|
const y = Xe("Toastify__progress-bar", c ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${h}`, `Toastify__progress-bar--${i}`, { "Toastify__progress-bar--rtl": u }), C = ve(A) ? A({ rtl: u, type: i, defaultClassName: y }) : Xe(y, A);
|
|
3904
|
-
return
|
|
3904
|
+
return te.createElement("div", { role: "progressbar", "aria-hidden": q ? "true" : "false", "aria-label": "notification timer", className: C, style: p, [c && s >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: c && s < 1 ? null : () => {
|
|
3905
3905
|
d && n();
|
|
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: oe, rtl: se, toastId: F, deleteToast: re, isIn: me, 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 = !!oe || !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: me, done: re, position: q, preventExitTransition: r, nodeRef: n }, te.createElement("div", { id: F, onClick: c, className: L, ...i, style: y, ref: n }, te.createElement("div", { ...me && { 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: me, closeToast: d, hide: u, type: s, style: J, className: k, controlledProgress: f, progress: oe || 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));
|
|
@@ -3923,11 +3923,11 @@ const zr = Io((e, t) => {
|
|
|
3923
3923
|
}
|
|
3924
3924
|
return be(() => {
|
|
3925
3925
|
t && (t.current = n.current);
|
|
3926
|
-
}, []),
|
|
3926
|
+
}, []), te.createElement("div", { ref: n, className: "Toastify", id: c }, r((u, d) => {
|
|
3927
3927
|
const h = d.length ? { ...A } : { ...A, pointerEvents: "none" };
|
|
3928
|
-
return
|
|
3928
|
+
return te.createElement("div", { className: s(u), style: h, key: `container-${u}` }, d.map((q, p) => {
|
|
3929
3929
|
let { content: y, props: C } = q;
|
|
3930
|
-
return
|
|
3930
|
+
return te.createElement(Na, { ...C, isIn: i(C.toastId), style: { ...C.style, "--nth": p + 1, "--len": d.length }, key: `toast-${C.key}` }, y);
|
|
3931
3931
|
}));
|
|
3932
3932
|
}));
|
|
3933
3933
|
});
|
|
@@ -4024,16 +4024,15 @@ const Ta = ({
|
|
|
4024
4024
|
typeOfProduct: t,
|
|
4025
4025
|
api: r,
|
|
4026
4026
|
fetchFileUrl: n,
|
|
4027
|
-
|
|
4028
|
-
copyLinkPlayableUrl: o
|
|
4027
|
+
copyLinkUrl: i
|
|
4029
4028
|
}) => {
|
|
4030
|
-
const
|
|
4029
|
+
const o = async () => {
|
|
4031
4030
|
if (t === "Flex")
|
|
4032
4031
|
navigator.clipboard.writeText(
|
|
4033
4032
|
`${i}/preview?versionId=${e}`
|
|
4034
4033
|
), $e("Link copied");
|
|
4035
4034
|
else {
|
|
4036
|
-
const
|
|
4035
|
+
const A = await It(
|
|
4037
4036
|
r,
|
|
4038
4037
|
e,
|
|
4039
4038
|
"test",
|
|
@@ -4042,9 +4041,7 @@ const Ta = ({
|
|
|
4042
4041
|
0,
|
|
4043
4042
|
"var type = e"
|
|
4044
4043
|
);
|
|
4045
|
-
return navigator.clipboard.writeText(
|
|
4046
|
-
`${o}/test?version=${e}`
|
|
4047
|
-
), $e("Link coppied"), a == null ? void 0 : a.url;
|
|
4044
|
+
return navigator.clipboard.writeText(`${i}/test?version=${e}`), $e("Link coppied"), A == null ? void 0 : A.url;
|
|
4048
4045
|
}
|
|
4049
4046
|
};
|
|
4050
4047
|
return /* @__PURE__ */ m.jsxs(
|
|
@@ -4075,7 +4072,7 @@ const Ta = ({
|
|
|
4075
4072
|
bgColor: "#0F0F1E",
|
|
4076
4073
|
fgColor: "#ffffff",
|
|
4077
4074
|
style: { height: "auto", maxWidth: "100%", width: "100%" },
|
|
4078
|
-
value: t === "Flex" ?
|
|
4075
|
+
value: t === "Flex" ? `${i}/preview?versionId=${e}` : `${n}/${e}_test/default.html`
|
|
4079
4076
|
}
|
|
4080
4077
|
)
|
|
4081
4078
|
}
|
|
@@ -4135,7 +4132,7 @@ const Ta = ({
|
|
|
4135
4132
|
color: "white",
|
|
4136
4133
|
background: "rgba(0, 163, 255, 0)"
|
|
4137
4134
|
},
|
|
4138
|
-
onClick:
|
|
4135
|
+
onClick: o,
|
|
4139
4136
|
children: "Copy Link"
|
|
4140
4137
|
}
|
|
4141
4138
|
)
|
|
@@ -4153,19 +4150,18 @@ const Ta = ({
|
|
|
4153
4150
|
api: n,
|
|
4154
4151
|
iframeUrl: i,
|
|
4155
4152
|
fetchFileUrl: o,
|
|
4156
|
-
|
|
4157
|
-
copyLinkPlayableUrl: a
|
|
4153
|
+
copyLinkUrl: A
|
|
4158
4154
|
}) => {
|
|
4159
|
-
const [
|
|
4155
|
+
const [a, c] = V(window.innerWidth);
|
|
4160
4156
|
be(() => {
|
|
4161
|
-
const
|
|
4162
|
-
|
|
4157
|
+
const u = () => {
|
|
4158
|
+
c(window.innerWidth);
|
|
4163
4159
|
};
|
|
4164
|
-
return window.addEventListener("resize",
|
|
4165
|
-
window.removeEventListener("resize",
|
|
4160
|
+
return window.addEventListener("resize", u), () => {
|
|
4161
|
+
window.removeEventListener("resize", u);
|
|
4166
4162
|
};
|
|
4167
4163
|
}, []);
|
|
4168
|
-
const
|
|
4164
|
+
const s = (e == null ? void 0 : e.length) > 25 ? e.slice(0, 25) + "..." : e;
|
|
4169
4165
|
return /* @__PURE__ */ m.jsxs(
|
|
4170
4166
|
"div",
|
|
4171
4167
|
{
|
|
@@ -4175,13 +4171,13 @@ const Ta = ({
|
|
|
4175
4171
|
flexDirection: "column",
|
|
4176
4172
|
justifyContent: "space-between",
|
|
4177
4173
|
padding: "5px",
|
|
4178
|
-
height:
|
|
4174
|
+
height: a > 1440 ? "680px" : "620px",
|
|
4179
4175
|
borderRadius: "0px 0px 0px 16px",
|
|
4180
4176
|
marginTop: "20px"
|
|
4181
4177
|
},
|
|
4182
4178
|
children: [
|
|
4183
4179
|
/* @__PURE__ */ m.jsx(Yo, { iframeUrl: i }),
|
|
4184
|
-
/* @__PURE__ */ m.jsx(ko, { name:
|
|
4180
|
+
/* @__PURE__ */ m.jsx(ko, { name: s }),
|
|
4185
4181
|
/* @__PURE__ */ m.jsx(
|
|
4186
4182
|
Ta,
|
|
4187
4183
|
{
|
|
@@ -4189,8 +4185,7 @@ const Ta = ({
|
|
|
4189
4185
|
typeOfProduct: r,
|
|
4190
4186
|
api: n,
|
|
4191
4187
|
fetchFileUrl: o,
|
|
4192
|
-
|
|
4193
|
-
copyLinkPlayableUrl: a
|
|
4188
|
+
copyLinkUrl: A
|
|
4194
4189
|
}
|
|
4195
4190
|
)
|
|
4196
4191
|
]
|
|
@@ -5023,29 +5018,29 @@ const Pn = [
|
|
|
5023
5018
|
urls: p,
|
|
5024
5019
|
game: y,
|
|
5025
5020
|
setIsConfirmActive: C,
|
|
5026
|
-
downloadFlex:
|
|
5021
|
+
downloadFlex: Z,
|
|
5027
5022
|
flexDownloadCount: k,
|
|
5028
|
-
disabled:
|
|
5023
|
+
disabled: J
|
|
5029
5024
|
}) => {
|
|
5030
|
-
const [
|
|
5025
|
+
const [Y, v] = V(!1), [oe, se] = V(en(5)), [F, re] = V(""), [me, ae] = V(!1), [$, P] = V(!1), [x, w] = V("download"), L = () => {
|
|
5031
5026
|
r(e);
|
|
5032
|
-
}, f = async (
|
|
5027
|
+
}, f = async (N, g, K, O, D, G) => {
|
|
5033
5028
|
try {
|
|
5034
|
-
if (
|
|
5029
|
+
if (v(!0), c === "Flex") {
|
|
5035
5030
|
y.iosUrl = p.iosUrl, y.googleUrl = p.googleUrl, await Xn(y, u);
|
|
5036
5031
|
const R = await Vt(
|
|
5037
5032
|
{
|
|
5038
|
-
_id:
|
|
5033
|
+
_id: N,
|
|
5039
5034
|
network: g
|
|
5040
5035
|
},
|
|
5041
5036
|
u
|
|
5042
5037
|
);
|
|
5043
5038
|
let j = R.url;
|
|
5044
5039
|
if (!j) {
|
|
5045
|
-
|
|
5040
|
+
v(!1), d(R.message, R);
|
|
5046
5041
|
return;
|
|
5047
5042
|
}
|
|
5048
|
-
let
|
|
5043
|
+
let E;
|
|
5049
5044
|
if ([
|
|
5050
5045
|
"google",
|
|
5051
5046
|
"toutiao",
|
|
@@ -5064,33 +5059,33 @@ const Pn = [
|
|
|
5064
5059
|
"snapchat",
|
|
5065
5060
|
"inmobi"
|
|
5066
5061
|
].includes(g) || (g === "fb" || g === "luna") && G)
|
|
5067
|
-
|
|
5062
|
+
E = document.createElement("iframe"), E.setAttribute("src", "/files/" + j), E.style.display = "none", document.body.appendChild(E), E.click();
|
|
5068
5063
|
else if (O) {
|
|
5069
5064
|
let z = await fetch(h + "/" + j).then(
|
|
5070
5065
|
(Q) => Q.text()
|
|
5071
5066
|
);
|
|
5072
|
-
|
|
5067
|
+
E = document.createElement("a"), E.setAttribute(
|
|
5073
5068
|
"href",
|
|
5074
5069
|
"data:html/plain;charset=utf-8," + encodeURIComponent(z)
|
|
5075
|
-
),
|
|
5070
|
+
), E.setAttribute(
|
|
5076
5071
|
"download",
|
|
5077
5072
|
j.split("/").reduce((Q, T) => T, "")
|
|
5078
|
-
),
|
|
5073
|
+
), E.style.display = "none", document.body.appendChild(E), E.click();
|
|
5079
5074
|
}
|
|
5080
|
-
return
|
|
5075
|
+
return v(!1), j;
|
|
5081
5076
|
} else {
|
|
5082
|
-
await Qn(
|
|
5077
|
+
await Qn(N, { iosLink: p.iosUrl, androidLink: p.googleUrl }, u);
|
|
5083
5078
|
const R = Pn.includes(g) ? 1 : 0;
|
|
5084
5079
|
It(
|
|
5085
5080
|
u,
|
|
5086
|
-
|
|
5087
|
-
|
|
5081
|
+
N,
|
|
5082
|
+
oe,
|
|
5088
5083
|
g,
|
|
5089
5084
|
G,
|
|
5090
5085
|
R,
|
|
5091
5086
|
{}
|
|
5092
5087
|
).then(async (j) => {
|
|
5093
|
-
let { url:
|
|
5088
|
+
let { url: E } = j, z;
|
|
5094
5089
|
if ([
|
|
5095
5090
|
"google",
|
|
5096
5091
|
"toutiao",
|
|
@@ -5109,9 +5104,9 @@ const Pn = [
|
|
|
5109
5104
|
"snapchat",
|
|
5110
5105
|
"inmobi"
|
|
5111
5106
|
].includes(g) || (g === "fb" || g === "luna") && G)
|
|
5112
|
-
z = document.createElement("iframe"), z.setAttribute("src", "/files/" +
|
|
5107
|
+
z = document.createElement("iframe"), z.setAttribute("src", "/files/" + E), z.style.display = "none", document.body.appendChild(z), z.click();
|
|
5113
5108
|
else if (O) {
|
|
5114
|
-
let Q = await fetch(h + "/" +
|
|
5109
|
+
let Q = await fetch(h + "/" + E).then(
|
|
5115
5110
|
(T) => T.text()
|
|
5116
5111
|
);
|
|
5117
5112
|
z = document.createElement("a"), z.setAttribute(
|
|
@@ -5119,16 +5114,16 @@ const Pn = [
|
|
|
5119
5114
|
"data:html/plain;charset=utf-8," + encodeURIComponent(Q)
|
|
5120
5115
|
), z.setAttribute(
|
|
5121
5116
|
"download",
|
|
5122
|
-
|
|
5117
|
+
E.split("/").reduce((T, ce) => ce, "")
|
|
5123
5118
|
), z.style.display = "none", document.body.appendChild(z), z.click();
|
|
5124
5119
|
}
|
|
5125
|
-
return
|
|
5120
|
+
return v(!1), $e("Download successfully"), E;
|
|
5126
5121
|
}).catch((j) => {
|
|
5127
5122
|
d(j.response.data.error.msg);
|
|
5128
5123
|
});
|
|
5129
5124
|
}
|
|
5130
5125
|
} catch (R) {
|
|
5131
|
-
|
|
5126
|
+
v(!1), d(R.response.data.error.msg);
|
|
5132
5127
|
}
|
|
5133
5128
|
}, W = async () => {
|
|
5134
5129
|
if (c === "Playable") {
|
|
@@ -5145,11 +5140,11 @@ const Pn = [
|
|
|
5145
5140
|
return navigator.clipboard.writeText(`${h}/${g == null ? void 0 : g.url}`), $e("Link Coppied"), g == null ? void 0 : g.url;
|
|
5146
5141
|
}
|
|
5147
5142
|
y.iosUrl = p.iosUrl, y.googleUrl = p.googleUrl, await Xn(y, u);
|
|
5148
|
-
const
|
|
5143
|
+
const N = await Vt(
|
|
5149
5144
|
{ _id: s, network: i },
|
|
5150
5145
|
u
|
|
5151
5146
|
);
|
|
5152
|
-
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;
|
|
5153
5148
|
};
|
|
5154
5149
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5155
5150
|
/* @__PURE__ */ m.jsxs(
|
|
@@ -5202,7 +5197,7 @@ const Pn = [
|
|
|
5202
5197
|
}
|
|
5203
5198
|
}
|
|
5204
5199
|
),
|
|
5205
|
-
/* @__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(
|
|
5206
5201
|
"div",
|
|
5207
5202
|
{
|
|
5208
5203
|
style: {
|
|
@@ -5218,7 +5213,7 @@ const Pn = [
|
|
|
5218
5213
|
},
|
|
5219
5214
|
children: /* @__PURE__ */ m.jsx(Xi, { typeOfProduct: c })
|
|
5220
5215
|
}
|
|
5221
|
-
) : o.map((
|
|
5216
|
+
) : o.map((N) => /* @__PURE__ */ m.jsx(
|
|
5222
5217
|
"div",
|
|
5223
5218
|
{
|
|
5224
5219
|
style: {
|
|
@@ -5233,9 +5228,9 @@ const Pn = [
|
|
|
5233
5228
|
justifyContent: "center",
|
|
5234
5229
|
alignItems: "center"
|
|
5235
5230
|
},
|
|
5236
|
-
children:
|
|
5231
|
+
children: N.network === i ? N.size.toString().slice(0, 5) + "Mb" : ""
|
|
5237
5232
|
},
|
|
5238
|
-
|
|
5233
|
+
N.network
|
|
5239
5234
|
)) : null })
|
|
5240
5235
|
]
|
|
5241
5236
|
}
|
|
@@ -5290,19 +5285,19 @@ const Pn = [
|
|
|
5290
5285
|
Hn,
|
|
5291
5286
|
{
|
|
5292
5287
|
className: "w-2/3",
|
|
5293
|
-
downloading:
|
|
5288
|
+
downloading: Y,
|
|
5294
5289
|
onClickDonwload: async () => {
|
|
5295
5290
|
if (i === "instantGame") {
|
|
5296
5291
|
q(!0);
|
|
5297
5292
|
return;
|
|
5298
5293
|
} else {
|
|
5299
|
-
|
|
5300
|
-
const
|
|
5301
|
-
|
|
5294
|
+
re("download");
|
|
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));
|
|
5302
5297
|
}
|
|
5303
5298
|
},
|
|
5304
5299
|
children: [
|
|
5305
|
-
!
|
|
5300
|
+
!Y && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
5306
5301
|
/* @__PURE__ */ m.jsx(
|
|
5307
5302
|
$a,
|
|
5308
5303
|
{
|
|
@@ -5320,7 +5315,7 @@ const Pn = [
|
|
|
5320
5315
|
),
|
|
5321
5316
|
"Download"
|
|
5322
5317
|
] }),
|
|
5323
|
-
|
|
5318
|
+
Y && /* @__PURE__ */ m.jsx(Pi, {})
|
|
5324
5319
|
]
|
|
5325
5320
|
}
|
|
5326
5321
|
),
|
|
@@ -5329,11 +5324,11 @@ const Pn = [
|
|
|
5329
5324
|
{
|
|
5330
5325
|
className: "w-1/3",
|
|
5331
5326
|
onClickDonwload: async () => {
|
|
5332
|
-
|
|
5333
|
-
const
|
|
5334
|
-
|
|
5327
|
+
re("copyLink");
|
|
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());
|
|
5335
5330
|
},
|
|
5336
|
-
disabled:
|
|
5331
|
+
disabled: J,
|
|
5337
5332
|
children: /* @__PURE__ */ m.jsx(pi, { className: "h-6 w-6 stroke-dark-full" })
|
|
5338
5333
|
}
|
|
5339
5334
|
)
|
|
@@ -5343,7 +5338,7 @@ const Pn = [
|
|
|
5343
5338
|
]
|
|
5344
5339
|
}
|
|
5345
5340
|
),
|
|
5346
|
-
|
|
5341
|
+
me && /* @__PURE__ */ m.jsx(
|
|
5347
5342
|
ts,
|
|
5348
5343
|
{
|
|
5349
5344
|
creditConfirmType: x,
|
|
@@ -5359,7 +5354,7 @@ const Pn = [
|
|
|
5359
5354
|
flexDownloadCount: k
|
|
5360
5355
|
}
|
|
5361
5356
|
),
|
|
5362
|
-
|
|
5357
|
+
$ && /* @__PURE__ */ m.jsx(
|
|
5363
5358
|
es,
|
|
5364
5359
|
{
|
|
5365
5360
|
onClose: () => {
|
|
@@ -5367,7 +5362,7 @@ const Pn = [
|
|
|
5367
5362
|
},
|
|
5368
5363
|
iosLink: p.iosUrl,
|
|
5369
5364
|
googleLink: p.googleUrl,
|
|
5370
|
-
buttonType:
|
|
5365
|
+
buttonType: F,
|
|
5371
5366
|
handleCopyLink: async () => {
|
|
5372
5367
|
P(!1), C(!1), await W();
|
|
5373
5368
|
},
|
|
@@ -6028,31 +6023,31 @@ const ss = ({
|
|
|
6028
6023
|
flexDownloadCount: h,
|
|
6029
6024
|
disabled: q
|
|
6030
6025
|
}) => {
|
|
6031
|
-
const [p, y] = V([]), [C,
|
|
6032
|
-
|
|
6026
|
+
const [p, y] = V([]), [C, Z] = V([]), [k, J] = V(!1), [Y, v] = V(""), [oe, se] = V(!1), [F, re] = V(!1), [me, ae] = V(!1), $ = async (w) => {
|
|
6027
|
+
J(!0);
|
|
6033
6028
|
const L = await As(
|
|
6034
6029
|
n,
|
|
6035
6030
|
w,
|
|
6036
6031
|
o
|
|
6037
6032
|
);
|
|
6038
|
-
|
|
6033
|
+
Z(L.details), v(L.size), J(!1);
|
|
6039
6034
|
}, P = async (w) => {
|
|
6040
6035
|
const L = [...p];
|
|
6041
6036
|
if (p.includes(w)) {
|
|
6042
|
-
const W = L.findIndex((
|
|
6037
|
+
const W = L.findIndex((N) => N === w);
|
|
6043
6038
|
L.splice(W, 1), y(L);
|
|
6044
6039
|
} else
|
|
6045
6040
|
i === "Playable" ? (L.push(w), y([...p, w])) : (L.splice(0), L.push(w), y([w]));
|
|
6046
6041
|
let f = Wr.filter((W) => [...L].includes(W.id)).map((W) => W.name);
|
|
6047
|
-
await
|
|
6042
|
+
await $(f);
|
|
6048
6043
|
}, x = async () => {
|
|
6049
6044
|
try {
|
|
6050
6045
|
const w = Wr.filter((g) => [...p].includes(g.id)).map((g) => g.name);
|
|
6051
6046
|
se(!0);
|
|
6052
6047
|
const L = await as(n, w, o), { url: f } = L;
|
|
6053
6048
|
let W;
|
|
6054
|
-
const
|
|
6055
|
-
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");
|
|
6056
6051
|
} catch (w) {
|
|
6057
6052
|
se(!1), c(w.response.data.error.msg), console.error(w);
|
|
6058
6053
|
}
|
|
@@ -6064,7 +6059,7 @@ const ss = ({
|
|
|
6064
6059
|
style: {
|
|
6065
6060
|
position: "relative",
|
|
6066
6061
|
flex: 1,
|
|
6067
|
-
overflowY:
|
|
6062
|
+
overflowY: me ? "hidden" : "auto",
|
|
6068
6063
|
padding: "1.5rem",
|
|
6069
6064
|
paddingTop: "0"
|
|
6070
6065
|
},
|
|
@@ -6100,7 +6095,7 @@ const ss = ({
|
|
|
6100
6095
|
api: o,
|
|
6101
6096
|
handleDownloadError: c,
|
|
6102
6097
|
fetchFileUrl: s,
|
|
6103
|
-
setInstantGameModal:
|
|
6098
|
+
setInstantGameModal: re,
|
|
6104
6099
|
urls: u,
|
|
6105
6100
|
game: d,
|
|
6106
6101
|
downloadFlex: t,
|
|
@@ -6116,10 +6111,10 @@ const ss = ({
|
|
|
6116
6111
|
]
|
|
6117
6112
|
}
|
|
6118
6113
|
),
|
|
6119
|
-
|
|
6114
|
+
F && /* @__PURE__ */ m.jsx(
|
|
6120
6115
|
ss,
|
|
6121
6116
|
{
|
|
6122
|
-
onClose: () =>
|
|
6117
|
+
onClose: () => re(!1),
|
|
6123
6118
|
instantGames: a,
|
|
6124
6119
|
onSuccess: () => console.log("success")
|
|
6125
6120
|
}
|
|
@@ -6141,9 +6136,9 @@ const ss = ({
|
|
|
6141
6136
|
os,
|
|
6142
6137
|
{
|
|
6143
6138
|
onClickMultiDownload: x,
|
|
6144
|
-
networksVersionTotalSize:
|
|
6139
|
+
networksVersionTotalSize: Y,
|
|
6145
6140
|
typeOfProduct: i,
|
|
6146
|
-
multiDownloading:
|
|
6141
|
+
multiDownloading: oe
|
|
6147
6142
|
}
|
|
6148
6143
|
)
|
|
6149
6144
|
}
|
|
@@ -6214,9 +6209,9 @@ const hs = [
|
|
|
6214
6209
|
handleDownloadError: c,
|
|
6215
6210
|
fetchFileUrl: s
|
|
6216
6211
|
}) => {
|
|
6217
|
-
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);
|
|
6218
6213
|
V({});
|
|
6219
|
-
const [
|
|
6214
|
+
const [Y, v] = V(null), [oe, se] = V("Loading..."), [F, re] = V("Loading..."), [me, ae] = V(!0), [$, P] = V(window.innerWidth);
|
|
6220
6215
|
be(() => {
|
|
6221
6216
|
const O = () => {
|
|
6222
6217
|
P(window.innerWidth);
|
|
@@ -6226,24 +6221,27 @@ const hs = [
|
|
|
6226
6221
|
};
|
|
6227
6222
|
}, []);
|
|
6228
6223
|
const x = async () => {
|
|
6229
|
-
|
|
6224
|
+
J(!0);
|
|
6230
6225
|
const O = await us(e, o);
|
|
6231
|
-
O != null && O.networks || (O.networks = hs), d(O),
|
|
6226
|
+
O != null && O.networks || (O.networks = hs), d(O), J(!1);
|
|
6232
6227
|
}, w = (O) => {
|
|
6233
6228
|
se(O);
|
|
6234
6229
|
}, L = (O) => {
|
|
6235
|
-
|
|
6230
|
+
re(O);
|
|
6236
6231
|
}, f = async (O) => {
|
|
6237
6232
|
var D, G, R, j;
|
|
6238
6233
|
try {
|
|
6239
|
-
let
|
|
6234
|
+
let E;
|
|
6240
6235
|
if (n === "Playable") {
|
|
6241
|
-
const z = await fs(
|
|
6236
|
+
const z = await fs(
|
|
6237
|
+
t,
|
|
6238
|
+
o
|
|
6239
|
+
);
|
|
6242
6240
|
if (z) {
|
|
6243
|
-
se(z.iosLink),
|
|
6241
|
+
se(z.iosLink), re(z.androidLink);
|
|
6244
6242
|
return;
|
|
6245
6243
|
}
|
|
6246
|
-
|
|
6244
|
+
E = await It(
|
|
6247
6245
|
o,
|
|
6248
6246
|
t,
|
|
6249
6247
|
en(5),
|
|
@@ -6252,29 +6250,29 @@ const hs = [
|
|
|
6252
6250
|
0,
|
|
6253
6251
|
{}
|
|
6254
6252
|
);
|
|
6255
|
-
let Q = await fetch(s + "/" +
|
|
6253
|
+
let Q = await fetch(s + "/" + E.url).then(
|
|
6256
6254
|
(M) => M.text()
|
|
6257
6255
|
);
|
|
6258
6256
|
const T = ((D = Q.match(
|
|
6259
6257
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6260
6258
|
)) == null ? void 0 : D.at(1)) || "";
|
|
6261
6259
|
se(T);
|
|
6262
|
-
const
|
|
6260
|
+
const ce = ((G = Q.match(
|
|
6263
6261
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6264
6262
|
)) == null ? void 0 : G.at(1)) || "";
|
|
6265
|
-
|
|
6263
|
+
re(ce);
|
|
6266
6264
|
} else if (n === "Flex")
|
|
6267
6265
|
if (O)
|
|
6268
|
-
se(O.iosUrl),
|
|
6266
|
+
se(O.iosUrl), re(O.googleUrl);
|
|
6269
6267
|
else {
|
|
6270
|
-
|
|
6268
|
+
E = await Vt(
|
|
6271
6269
|
{
|
|
6272
6270
|
_id: t
|
|
6273
6271
|
},
|
|
6274
6272
|
o
|
|
6275
6273
|
);
|
|
6276
|
-
let z = await fetch(s + "/" +
|
|
6277
|
-
(
|
|
6274
|
+
let z = await fetch(s + "/" + E.url).then(
|
|
6275
|
+
(ce) => ce.text()
|
|
6278
6276
|
);
|
|
6279
6277
|
const Q = ((R = z.match(
|
|
6280
6278
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
@@ -6283,13 +6281,13 @@ const hs = [
|
|
|
6283
6281
|
const T = ((j = z.match(
|
|
6284
6282
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6285
6283
|
)) == null ? void 0 : j.at(1)) || "";
|
|
6286
|
-
|
|
6284
|
+
re(T);
|
|
6287
6285
|
}
|
|
6288
|
-
} catch (
|
|
6289
|
-
c(
|
|
6286
|
+
} catch (E) {
|
|
6287
|
+
c(E.response.data.error.msg);
|
|
6290
6288
|
}
|
|
6291
6289
|
}, W = async () => {
|
|
6292
|
-
|
|
6290
|
+
J(!0);
|
|
6293
6291
|
const O = await cs(
|
|
6294
6292
|
{ _id: t },
|
|
6295
6293
|
o
|
|
@@ -6297,29 +6295,27 @@ const hs = [
|
|
|
6297
6295
|
["admin", "pm", "tester"].includes(A.role) ? y({
|
|
6298
6296
|
...O,
|
|
6299
6297
|
networks: qs
|
|
6300
|
-
}) : y(O),
|
|
6301
|
-
}
|
|
6302
|
-
console.log(ce);
|
|
6303
|
-
const J = async () => {
|
|
6298
|
+
}) : y(O), J(!1);
|
|
6299
|
+
}, N = async () => {
|
|
6304
6300
|
const O = await ms({ _id: t }, o);
|
|
6305
|
-
|
|
6301
|
+
Z(O.size);
|
|
6306
6302
|
}, g = async () => await ds(r, o), K = async () => {
|
|
6307
6303
|
const O = await ps(t, o);
|
|
6308
|
-
|
|
6304
|
+
v(O);
|
|
6309
6305
|
};
|
|
6310
6306
|
return be(() => {
|
|
6311
|
-
i || (d(null), q(null), y(null),
|
|
6307
|
+
i || (d(null), q(null), y(null), Z(null)), i && n === "Playable" ? (x(), f(null), ae(!1), K()) : i && n === "Flex" && (W().then((O) => {
|
|
6312
6308
|
ae(!1), g().then((D) => {
|
|
6313
6309
|
i && (f(D), ae(!1), q(D));
|
|
6314
6310
|
});
|
|
6315
|
-
}),
|
|
6316
|
-
}, [r, e, t, i]), /* @__PURE__ */ m.jsxs(
|
|
6311
|
+
}), N()), i && K();
|
|
6312
|
+
}, [r, e, t, i]), console.log("androidLink", F), console.log("iosLink", oe), console.log("loading", k), console.log("game", h), console.log("downloadFlex", p), console.log("playable", u), /* @__PURE__ */ m.jsxs(
|
|
6317
6313
|
"div",
|
|
6318
6314
|
{
|
|
6319
6315
|
style: {
|
|
6320
6316
|
display: "flex",
|
|
6321
|
-
height:
|
|
6322
|
-
width:
|
|
6317
|
+
height: $ > 1440 ? "700px" : "650px",
|
|
6318
|
+
width: $ > 1440 ? "675px" : "680px",
|
|
6323
6319
|
flexDirection: "column",
|
|
6324
6320
|
borderRadius: "rounded",
|
|
6325
6321
|
backgroundColor: "#F7F7F8",
|
|
@@ -6333,10 +6329,10 @@ const hs = [
|
|
|
6333
6329
|
title: a,
|
|
6334
6330
|
typeOfProduct: n,
|
|
6335
6331
|
fileSize: C,
|
|
6336
|
-
urls: { iosUrl:
|
|
6332
|
+
urls: { iosUrl: oe, googleUrl: F },
|
|
6337
6333
|
handleIosChange: w,
|
|
6338
6334
|
handleGoogleChange: L,
|
|
6339
|
-
disabled:
|
|
6335
|
+
disabled: me,
|
|
6340
6336
|
api: o,
|
|
6341
6337
|
downloadFlex: p
|
|
6342
6338
|
}
|
|
@@ -6355,7 +6351,7 @@ const hs = [
|
|
|
6355
6351
|
children: /* @__PURE__ */ m.jsx(Xi, { typeOfProduct: n })
|
|
6356
6352
|
}
|
|
6357
6353
|
),
|
|
6358
|
-
(u || p) && h && !k &&
|
|
6354
|
+
(u || p) && (n === "Flex" ? h : !0) && !k && oe !== "Loading..." && F !== "Loading..." && /* @__PURE__ */ m.jsx(
|
|
6359
6355
|
ls,
|
|
6360
6356
|
{
|
|
6361
6357
|
playable: u,
|
|
@@ -6365,13 +6361,13 @@ const hs = [
|
|
|
6365
6361
|
typeOfProduct: n,
|
|
6366
6362
|
api: o,
|
|
6367
6363
|
user: A,
|
|
6368
|
-
instantGames:
|
|
6364
|
+
instantGames: Y,
|
|
6369
6365
|
handleDownloadError: c,
|
|
6370
6366
|
fetchFileUrl: s,
|
|
6371
|
-
urls: { iosUrl:
|
|
6367
|
+
urls: { iosUrl: oe, googleUrl: F },
|
|
6372
6368
|
game: h,
|
|
6373
6369
|
flexDownloadCount: W,
|
|
6374
|
-
disabled:
|
|
6370
|
+
disabled: me
|
|
6375
6371
|
}
|
|
6376
6372
|
)
|
|
6377
6373
|
]
|
|
@@ -6530,8 +6526,8 @@ var Gr = { exports: {} };
|
|
|
6530
6526
|
}
|
|
6531
6527
|
var y = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), C = y != null && y[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
6532
6528
|
if (C) {
|
|
6533
|
-
var
|
|
6534
|
-
if (
|
|
6529
|
+
var Z = s.indexOf(p);
|
|
6530
|
+
if (Z > -1 && (Z += d ? -1 : 1), u = s[Z], typeof u > "u") {
|
|
6535
6531
|
c.preventDefault(), u = d ? q : h, u.focus();
|
|
6536
6532
|
return;
|
|
6537
6533
|
}
|
|
@@ -6851,8 +6847,8 @@ il.default.subscribe(sl);
|
|
|
6851
6847
|
return function(w, L, f) {
|
|
6852
6848
|
return L && x(w.prototype, L), f && x(w, f), w;
|
|
6853
6849
|
};
|
|
6854
|
-
}(), o =
|
|
6855
|
-
function
|
|
6850
|
+
}(), 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);
|
|
6851
|
+
function Y(x) {
|
|
6856
6852
|
if (x && x.__esModule)
|
|
6857
6853
|
return x;
|
|
6858
6854
|
var w = {};
|
|
@@ -6861,10 +6857,10 @@ il.default.subscribe(sl);
|
|
|
6861
6857
|
Object.prototype.hasOwnProperty.call(x, L) && (w[L] = x[L]);
|
|
6862
6858
|
return w.default = x, w;
|
|
6863
6859
|
}
|
|
6864
|
-
function
|
|
6860
|
+
function v(x) {
|
|
6865
6861
|
return x && x.__esModule ? x : { default: x };
|
|
6866
6862
|
}
|
|
6867
|
-
function
|
|
6863
|
+
function oe(x, w) {
|
|
6868
6864
|
if (!(x instanceof w))
|
|
6869
6865
|
throw new TypeError("Cannot call a class as a function");
|
|
6870
6866
|
}
|
|
@@ -6873,30 +6869,30 @@ il.default.subscribe(sl);
|
|
|
6873
6869
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6874
6870
|
return w && (typeof w == "object" || typeof w == "function") ? w : x;
|
|
6875
6871
|
}
|
|
6876
|
-
function
|
|
6872
|
+
function F(x, w) {
|
|
6877
6873
|
if (typeof w != "function" && w !== null)
|
|
6878
6874
|
throw new TypeError("Super expression must either be null or a function, not " + typeof w);
|
|
6879
6875
|
x.prototype = Object.create(w && w.prototype, { constructor: { value: x, enumerable: !1, writable: !0, configurable: !0 } }), w && (Object.setPrototypeOf ? Object.setPrototypeOf(x, w) : x.__proto__ = w);
|
|
6880
6876
|
}
|
|
6881
|
-
var
|
|
6877
|
+
var re = {
|
|
6882
6878
|
overlay: "ReactModal__Overlay",
|
|
6883
6879
|
content: "ReactModal__Content"
|
|
6884
|
-
},
|
|
6880
|
+
}, me = function(w) {
|
|
6885
6881
|
return w.code === "Tab" || w.keyCode === 9;
|
|
6886
6882
|
}, ae = function(w) {
|
|
6887
6883
|
return w.code === "Escape" || w.keyCode === 27;
|
|
6888
|
-
},
|
|
6889
|
-
|
|
6884
|
+
}, $ = 0, P = function(x) {
|
|
6885
|
+
F(w, x);
|
|
6890
6886
|
function w(L) {
|
|
6891
|
-
|
|
6887
|
+
oe(this, w);
|
|
6892
6888
|
var f = se(this, (w.__proto__ || Object.getPrototypeOf(w)).call(this, L));
|
|
6893
6889
|
return f.setOverlayRef = function(W) {
|
|
6894
6890
|
f.overlay = W, f.props.overlayRef && f.props.overlayRef(W);
|
|
6895
6891
|
}, f.setContentRef = function(W) {
|
|
6896
6892
|
f.content = W, f.props.contentRef && f.props.contentRef(W);
|
|
6897
6893
|
}, f.afterClose = function() {
|
|
6898
|
-
var W = f.props,
|
|
6899
|
-
O && y.remove(G.body, O), K && y.remove(G.getElementsByTagName("html")[0], K), g &&
|
|
6894
|
+
var W = f.props, N = W.appElement, g = W.ariaHideApp, K = W.htmlOpenClassName, O = W.bodyOpenClassName, D = W.parentSelector, G = D && D().ownerDocument || document;
|
|
6895
|
+
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);
|
|
6900
6896
|
}, f.open = function() {
|
|
6901
6897
|
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() {
|
|
6902
6898
|
f.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6923,7 +6919,7 @@ il.default.subscribe(sl);
|
|
|
6923
6919
|
closesAt: null
|
|
6924
6920
|
}, f.afterClose);
|
|
6925
6921
|
}, f.handleKeyDown = function(W) {
|
|
6926
|
-
|
|
6922
|
+
me(W) && (0, d.default)(f.content, W), f.props.shouldCloseOnEsc && ae(W) && (W.stopPropagation(), f.requestClose(W));
|
|
6927
6923
|
}, f.handleOverlayOnClick = function(W) {
|
|
6928
6924
|
f.shouldClose === null && (f.shouldClose = !0), f.shouldClose && f.props.shouldCloseOnOverlayClick && (f.ownerHandlesClose() ? f.requestClose(W) : f.focusContent()), f.shouldClose = null;
|
|
6929
6925
|
}, f.handleContentOnMouseUp = function() {
|
|
@@ -6942,16 +6938,16 @@ il.default.subscribe(sl);
|
|
|
6942
6938
|
return !f.state.isOpen && !f.state.beforeClose;
|
|
6943
6939
|
}, f.contentHasFocus = function() {
|
|
6944
6940
|
return document.activeElement === f.content || f.content.contains(document.activeElement);
|
|
6945
|
-
}, f.buildClassName = function(W,
|
|
6946
|
-
var g = (typeof
|
|
6947
|
-
base:
|
|
6948
|
-
afterOpen:
|
|
6949
|
-
beforeClose:
|
|
6941
|
+
}, f.buildClassName = function(W, N) {
|
|
6942
|
+
var g = (typeof N > "u" ? "undefined" : n(N)) === "object" ? N : {
|
|
6943
|
+
base: re[W],
|
|
6944
|
+
afterOpen: re[W] + "--after-open",
|
|
6945
|
+
beforeClose: re[W] + "--before-close"
|
|
6950
6946
|
}, K = g.base;
|
|
6951
|
-
return f.state.afterOpen && (K = K + " " + g.afterOpen), f.state.beforeClose && (K = K + " " + g.beforeClose), typeof
|
|
6952
|
-
}, f.attributesFromObject = function(W,
|
|
6953
|
-
return Object.keys(
|
|
6954
|
-
return g[W + "-" + K] =
|
|
6947
|
+
return f.state.afterOpen && (K = K + " " + g.afterOpen), f.state.beforeClose && (K = K + " " + g.beforeClose), typeof N == "string" && N ? K + " " + N : K;
|
|
6948
|
+
}, f.attributesFromObject = function(W, N) {
|
|
6949
|
+
return Object.keys(N).reduce(function(g, K) {
|
|
6950
|
+
return g[W + "-" + K] = N[K], g;
|
|
6955
6951
|
}, {});
|
|
6956
6952
|
}, f.state = {
|
|
6957
6953
|
afterOpen: !1,
|
|
@@ -6976,14 +6972,14 @@ il.default.subscribe(sl);
|
|
|
6976
6972
|
}, {
|
|
6977
6973
|
key: "beforeOpen",
|
|
6978
6974
|
value: function() {
|
|
6979
|
-
var f = this.props, W = f.appElement,
|
|
6980
|
-
K && y.add(D.body, K), g && y.add(D.getElementsByTagName("html")[0], g),
|
|
6975
|
+
var f = this.props, W = f.appElement, N = f.ariaHideApp, g = f.htmlOpenClassName, K = f.bodyOpenClassName, O = f.parentSelector, D = O && O().ownerDocument || document;
|
|
6976
|
+
K && y.add(D.body, K), g && y.add(D.getElementsByTagName("html")[0], g), N && ($ += 1, q.hide(W)), J.default.register(this);
|
|
6981
6977
|
}
|
|
6982
6978
|
// Don't steal focus from inner elements
|
|
6983
6979
|
}, {
|
|
6984
6980
|
key: "render",
|
|
6985
6981
|
value: function() {
|
|
6986
|
-
var f = this.props, W = f.id,
|
|
6982
|
+
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;
|
|
6987
6983
|
if (this.shouldBeClosed())
|
|
6988
6984
|
return null;
|
|
6989
6985
|
var R = {
|
|
@@ -6996,7 +6992,7 @@ il.default.subscribe(sl);
|
|
|
6996
6992
|
id: W,
|
|
6997
6993
|
ref: this.setContentRef,
|
|
6998
6994
|
style: r({}, D, this.props.style.content),
|
|
6999
|
-
className: this.buildClassName("content",
|
|
6995
|
+
className: this.buildClassName("content", N),
|
|
7000
6996
|
tabIndex: "-1",
|
|
7001
6997
|
onKeyDown: this.handleKeyDown,
|
|
7002
6998
|
onMouseDown: this.handleContentOnMouseDown,
|
|
@@ -7006,8 +7002,8 @@ il.default.subscribe(sl);
|
|
|
7006
7002
|
"aria-label": this.props.contentLabel
|
|
7007
7003
|
}, this.attributesFromObject("aria", r({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7008
7004
|
"data-testid": this.props.testId
|
|
7009
|
-
}),
|
|
7010
|
-
return this.props.overlayElement(R,
|
|
7005
|
+
}), E = this.props.contentElement(j, O);
|
|
7006
|
+
return this.props.overlayElement(R, E);
|
|
7011
7007
|
}
|
|
7012
7008
|
}]), w;
|
|
7013
7009
|
}(o.Component);
|
|
@@ -7033,7 +7029,7 @@ il.default.subscribe(sl);
|
|
|
7033
7029
|
bodyOpenClassName: a.default.string,
|
|
7034
7030
|
htmlOpenClassName: a.default.string,
|
|
7035
7031
|
ariaHideApp: a.default.bool,
|
|
7036
|
-
appElement: a.default.oneOfType([a.default.instanceOf(
|
|
7032
|
+
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))]),
|
|
7037
7033
|
onAfterOpen: a.default.func,
|
|
7038
7034
|
onAfterClose: a.default.func,
|
|
7039
7035
|
onRequestClose: a.default.func,
|
|
@@ -7142,7 +7138,7 @@ var Un = Object.assign || function(e) {
|
|
|
7142
7138
|
return function(t, r, n) {
|
|
7143
7139
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
7144
7140
|
};
|
|
7145
|
-
}(), ro =
|
|
7141
|
+
}(), ro = te, Ut = St(ro), pl = Wo, Ft = St(pl), fl = $t, X = St(fl), hl = ll, Fn = St(hl), ql = ze, gl = vl(ql), Qe = Ye, _n = St(Qe), yl = ml;
|
|
7146
7142
|
function vl(e) {
|
|
7147
7143
|
if (e && e.__esModule)
|
|
7148
7144
|
return e;
|
|
@@ -7373,15 +7369,14 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7373
7369
|
iframeUrl: u,
|
|
7374
7370
|
handleDownloadError: d,
|
|
7375
7371
|
fetchFileUrl: h,
|
|
7376
|
-
|
|
7377
|
-
copyLinkPlayableUrl: p
|
|
7372
|
+
copyLinkUrl: q
|
|
7378
7373
|
}) => {
|
|
7379
|
-
const [
|
|
7374
|
+
const [p, y] = V(window.innerWidth), [C, Z] = V(!1), [k, J] = V(u), Y = async () => {
|
|
7380
7375
|
A === "Flex" ? await Vt(
|
|
7381
7376
|
{ _id: r, network: "default" },
|
|
7382
7377
|
a
|
|
7383
|
-
).then((
|
|
7384
|
-
|
|
7378
|
+
).then((v) => {
|
|
7379
|
+
Z(!0), J(h + "/" + v.url);
|
|
7385
7380
|
}) : await It(
|
|
7386
7381
|
a,
|
|
7387
7382
|
r,
|
|
@@ -7390,18 +7385,18 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7390
7385
|
!1,
|
|
7391
7386
|
0,
|
|
7392
7387
|
{}
|
|
7393
|
-
).then((
|
|
7394
|
-
|
|
7388
|
+
).then((v) => {
|
|
7389
|
+
Z(!0), J(h + "/" + v.url);
|
|
7395
7390
|
});
|
|
7396
7391
|
};
|
|
7397
7392
|
return be(() => {
|
|
7398
|
-
e ?
|
|
7393
|
+
e ? C || (Y(), Z(!0)) : Z(!1);
|
|
7399
7394
|
}, [e]), be(() => {
|
|
7400
|
-
const
|
|
7401
|
-
|
|
7395
|
+
const v = () => {
|
|
7396
|
+
y(window.innerWidth);
|
|
7402
7397
|
};
|
|
7403
|
-
return window.addEventListener("resize",
|
|
7404
|
-
window.removeEventListener("resize",
|
|
7398
|
+
return window.addEventListener("resize", v), () => {
|
|
7399
|
+
window.removeEventListener("resize", v);
|
|
7405
7400
|
};
|
|
7406
7401
|
}, []), /* @__PURE__ */ m.jsxs(
|
|
7407
7402
|
Kl,
|
|
@@ -7418,8 +7413,8 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7418
7413
|
borderRadius: "0.75rem",
|
|
7419
7414
|
backgroundColor: "white",
|
|
7420
7415
|
zIndex: 50,
|
|
7421
|
-
height:
|
|
7422
|
-
width:
|
|
7416
|
+
height: p > 1440 ? "700px" : "650px",
|
|
7417
|
+
width: p > 1440 ? "965px" : "975px",
|
|
7423
7418
|
overflow: "hidden",
|
|
7424
7419
|
paddingTop: "0px"
|
|
7425
7420
|
},
|
|
@@ -7464,17 +7459,16 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7464
7459
|
}
|
|
7465
7460
|
),
|
|
7466
7461
|
/* @__PURE__ */ m.jsxs(Eo, { children: [
|
|
7467
|
-
|
|
7462
|
+
C ? /* @__PURE__ */ m.jsx(
|
|
7468
7463
|
Ha,
|
|
7469
7464
|
{
|
|
7470
7465
|
versionName: i,
|
|
7471
7466
|
versionId: r,
|
|
7472
7467
|
typeOfProduct: A,
|
|
7473
|
-
iframeUrl:
|
|
7468
|
+
iframeUrl: k,
|
|
7474
7469
|
api: a,
|
|
7475
7470
|
fetchFileUrl: h,
|
|
7476
|
-
|
|
7477
|
-
copyLinkPlayableUrl: p
|
|
7471
|
+
copyLinkUrl: q
|
|
7478
7472
|
}
|
|
7479
7473
|
) : /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsx(
|
|
7480
7474
|
"div",
|
|
@@ -7486,7 +7480,7 @@ const Kl = /* @__PURE__ */ xo(wl), Ol = ({
|
|
|
7486
7480
|
justifyContent: "center",
|
|
7487
7481
|
alignItems: "center",
|
|
7488
7482
|
padding: "5px",
|
|
7489
|
-
height:
|
|
7483
|
+
height: p > 1440 ? "650px" : "625px",
|
|
7490
7484
|
borderRadius: "0px 0px 0px 16px",
|
|
7491
7485
|
marginTop: "20px"
|
|
7492
7486
|
// 'rounded-l-xl' typically means large rounded corners on the left side
|