gearboxdownloadmodal 6.0.19 → 6.0.21
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 +590 -578
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +18 -18
- package/dist/index.umd.js.map +1 -1
- package/dist/insights.svg +14 -14
- package/dist/src/data/network-data-tracking.json.d.ts +48 -48
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -41,14 +41,14 @@ function Di() {
|
|
|
41
41
|
xr = 1;
|
|
42
42
|
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
43
43
|
function a(A, m, c) {
|
|
44
|
-
var s, d = {},
|
|
45
|
-
c !== void 0 && (
|
|
44
|
+
var s, d = {}, g = null, q = null;
|
|
45
|
+
c !== void 0 && (g = "" + c), m.key !== void 0 && (g = "" + m.key), m.ref !== void 0 && (q = m.ref);
|
|
46
46
|
for (s in m)
|
|
47
47
|
r.call(m, s) && !i.hasOwnProperty(s) && (d[s] = m[s]);
|
|
48
48
|
if (A && A.defaultProps)
|
|
49
49
|
for (s in m = A.defaultProps, m)
|
|
50
50
|
d[s] === void 0 && (d[s] = m[s]);
|
|
51
|
-
return { $$typeof: t, type: A, key:
|
|
51
|
+
return { $$typeof: t, type: A, key: g, ref: q, props: d, _owner: o.current };
|
|
52
52
|
}
|
|
53
53
|
return yt.Fragment = n, yt.jsx = a, yt.jsxs = a, yt;
|
|
54
54
|
}
|
|
@@ -65,24 +65,24 @@ var vt = {};
|
|
|
65
65
|
var Kr;
|
|
66
66
|
function Ri() {
|
|
67
67
|
return Kr || (Kr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
68
|
-
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"),
|
|
68
|
+
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), q = Symbol.for("react.offscreen"), p = Symbol.iterator, h = "@@iterator";
|
|
69
69
|
function y(u) {
|
|
70
70
|
if (u === null || typeof u != "object")
|
|
71
71
|
return null;
|
|
72
72
|
var I = p && u[p] || u[h];
|
|
73
73
|
return typeof I == "function" ? I : null;
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
76
76
|
function O(u) {
|
|
77
77
|
{
|
|
78
|
-
for (var I = arguments.length, L = new Array(I > 1 ? I - 1 : 0),
|
|
79
|
-
L[
|
|
78
|
+
for (var I = arguments.length, L = new Array(I > 1 ? I - 1 : 0), T = 1; T < I; T++)
|
|
79
|
+
L[T - 1] = arguments[T];
|
|
80
80
|
j("error", u, L);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
function j(u, I, L) {
|
|
84
84
|
{
|
|
85
|
-
var
|
|
85
|
+
var T = x.ReactDebugCurrentFrame, oe = T.getStackAddendum();
|
|
86
86
|
oe !== "" && (I += "%s", L = L.concat([oe]));
|
|
87
87
|
var ce = L.map(function(ne) {
|
|
88
88
|
return String(ne);
|
|
@@ -93,16 +93,16 @@ function Ri() {
|
|
|
93
93
|
var z = !1, v = !1, _ = !1, $ = !1, F = !1, ue;
|
|
94
94
|
ue = Symbol.for("react.module.reference");
|
|
95
95
|
function ee(u) {
|
|
96
|
-
return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || F || u === o || u === c || u === s || $ || u ===
|
|
96
|
+
return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || F || u === o || u === c || u === s || $ || u === q || z || v || _ || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === d || u.$$typeof === a || u.$$typeof === A || u.$$typeof === m || // This needs to include all possible module reference object
|
|
97
97
|
// types supported by any Flight configuration anywhere since
|
|
98
98
|
// we don't know which Flight build this will end up being used
|
|
99
99
|
// with.
|
|
100
100
|
u.$$typeof === ue || u.getModuleId !== void 0));
|
|
101
101
|
}
|
|
102
102
|
function ae(u, I, L) {
|
|
103
|
-
var
|
|
104
|
-
if (
|
|
105
|
-
return
|
|
103
|
+
var T = u.displayName;
|
|
104
|
+
if (T)
|
|
105
|
+
return T;
|
|
106
106
|
var oe = I.displayName || I.name || "";
|
|
107
107
|
return oe !== "" ? L + "(" + oe + ")" : L;
|
|
108
108
|
}
|
|
@@ -141,9 +141,9 @@ function Ri() {
|
|
|
141
141
|
case m:
|
|
142
142
|
return ae(u, u.render, "ForwardRef");
|
|
143
143
|
case d:
|
|
144
|
-
var
|
|
145
|
-
return
|
|
146
|
-
case
|
|
144
|
+
var T = u.displayName || null;
|
|
145
|
+
return T !== null ? T : B(u.type) || "Memo";
|
|
146
|
+
case g: {
|
|
147
147
|
var oe = u, ce = oe._payload, ne = oe._init;
|
|
148
148
|
try {
|
|
149
149
|
return B(ne(ce));
|
|
@@ -154,14 +154,14 @@ function Ri() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var W = Object.assign, Y = 0,
|
|
157
|
+
var W = Object.assign, Y = 0, N, f, S, R, C, Z, M;
|
|
158
158
|
function E() {
|
|
159
159
|
}
|
|
160
160
|
E.__reactDisabledLog = !0;
|
|
161
161
|
function k() {
|
|
162
162
|
{
|
|
163
163
|
if (Y === 0) {
|
|
164
|
-
|
|
164
|
+
N = console.log, f = console.info, S = console.warn, R = console.error, C = console.group, Z = console.groupCollapsed, M = console.groupEnd;
|
|
165
165
|
var u = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -191,7 +191,7 @@ function Ri() {
|
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
193
|
log: W({}, u, {
|
|
194
|
-
value:
|
|
194
|
+
value: N
|
|
195
195
|
}),
|
|
196
196
|
info: W({}, u, {
|
|
197
197
|
value: f
|
|
@@ -216,39 +216,39 @@ function Ri() {
|
|
|
216
216
|
Y < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
var
|
|
219
|
+
var w = x.ReactCurrentDispatcher, J;
|
|
220
220
|
function Q(u, I, L) {
|
|
221
221
|
{
|
|
222
|
-
if (
|
|
222
|
+
if (J === void 0)
|
|
223
223
|
try {
|
|
224
224
|
throw Error();
|
|
225
225
|
} catch (oe) {
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var T = oe.stack.trim().match(/\n( *(at )?)/);
|
|
227
|
+
J = T && T[1] || "";
|
|
228
228
|
}
|
|
229
229
|
return `
|
|
230
|
-
` +
|
|
230
|
+
` + J + u;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
var U = !1,
|
|
233
|
+
var U = !1, G;
|
|
234
234
|
{
|
|
235
235
|
var D = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
|
-
|
|
236
|
+
G = new D();
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function K(u, I) {
|
|
239
239
|
if (!u || U)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
242
|
-
var L =
|
|
242
|
+
var L = G.get(u);
|
|
243
243
|
if (L !== void 0)
|
|
244
244
|
return L;
|
|
245
245
|
}
|
|
246
|
-
var
|
|
246
|
+
var T;
|
|
247
247
|
U = !0;
|
|
248
248
|
var oe = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var ce;
|
|
251
|
-
ce =
|
|
251
|
+
ce = w.current, w.current = null, k();
|
|
252
252
|
try {
|
|
253
253
|
if (I) {
|
|
254
254
|
var ne = function() {
|
|
@@ -262,14 +262,14 @@ function Ri() {
|
|
|
262
262
|
try {
|
|
263
263
|
Reflect.construct(ne, []);
|
|
264
264
|
} catch (He) {
|
|
265
|
-
|
|
265
|
+
T = He;
|
|
266
266
|
}
|
|
267
267
|
Reflect.construct(u, [], ne);
|
|
268
268
|
} else {
|
|
269
269
|
try {
|
|
270
270
|
ne.call();
|
|
271
271
|
} catch (He) {
|
|
272
|
-
|
|
272
|
+
T = He;
|
|
273
273
|
}
|
|
274
274
|
u.call(ne.prototype);
|
|
275
275
|
}
|
|
@@ -277,14 +277,14 @@ function Ri() {
|
|
|
277
277
|
try {
|
|
278
278
|
throw Error();
|
|
279
279
|
} catch (He) {
|
|
280
|
-
|
|
280
|
+
T = He;
|
|
281
281
|
}
|
|
282
282
|
u();
|
|
283
283
|
}
|
|
284
284
|
} catch (He) {
|
|
285
|
-
if (He &&
|
|
285
|
+
if (He && T && typeof He.stack == "string") {
|
|
286
286
|
for (var te = He.stack.split(`
|
|
287
|
-
`), Ze =
|
|
287
|
+
`), Ze = T.stack.split(`
|
|
288
288
|
`), de = te.length - 1, pe = Ze.length - 1; de >= 1 && pe >= 0 && te[de] !== Ze[pe]; )
|
|
289
289
|
pe--;
|
|
290
290
|
for (; de >= 1 && pe >= 0; de--, pe--)
|
|
@@ -294,20 +294,20 @@ function Ri() {
|
|
|
294
294
|
if (de--, pe--, pe < 0 || te[de] !== Ze[pe]) {
|
|
295
295
|
var Ke = `
|
|
296
296
|
` + te[de].replace(" at new ", " at ");
|
|
297
|
-
return u.displayName && Ke.includes("<anonymous>") && (Ke = Ke.replace("<anonymous>", u.displayName)), typeof u == "function" &&
|
|
297
|
+
return u.displayName && Ke.includes("<anonymous>") && (Ke = Ke.replace("<anonymous>", u.displayName)), typeof u == "function" && G.set(u, Ke), Ke;
|
|
298
298
|
}
|
|
299
299
|
while (de >= 1 && pe >= 0);
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
|
-
U = !1,
|
|
304
|
+
U = !1, w.current = ce, V(), Error.prepareStackTrace = oe;
|
|
305
305
|
}
|
|
306
306
|
var ut = u ? u.displayName || u.name : "", wr = ut ? Q(ut) : "";
|
|
307
|
-
return typeof u == "function" &&
|
|
307
|
+
return typeof u == "function" && G.set(u, wr), wr;
|
|
308
308
|
}
|
|
309
309
|
function le(u, I, L) {
|
|
310
|
-
return
|
|
310
|
+
return K(u, !1);
|
|
311
311
|
}
|
|
312
312
|
function Je(u) {
|
|
313
313
|
var I = u.prototype;
|
|
@@ -317,7 +317,7 @@ function Ri() {
|
|
|
317
317
|
if (u == null)
|
|
318
318
|
return "";
|
|
319
319
|
if (typeof u == "function")
|
|
320
|
-
return
|
|
320
|
+
return K(u, Je(u));
|
|
321
321
|
if (typeof u == "string")
|
|
322
322
|
return Q(u);
|
|
323
323
|
switch (u) {
|
|
@@ -332,8 +332,8 @@ function Ri() {
|
|
|
332
332
|
return le(u.render);
|
|
333
333
|
case d:
|
|
334
334
|
return Ce(u.type, I, L);
|
|
335
|
-
case
|
|
336
|
-
var
|
|
335
|
+
case g: {
|
|
336
|
+
var T = u, oe = T._payload, ce = T._init;
|
|
337
337
|
try {
|
|
338
338
|
return Ce(ce(oe), I, L);
|
|
339
339
|
} catch {
|
|
@@ -342,7 +342,7 @@ function Ri() {
|
|
|
342
342
|
}
|
|
343
343
|
return "";
|
|
344
344
|
}
|
|
345
|
-
var kt = Object.prototype.hasOwnProperty, dr = {}, pr =
|
|
345
|
+
var kt = Object.prototype.hasOwnProperty, dr = {}, pr = x.ReactDebugCurrentFrame;
|
|
346
346
|
function zt(u) {
|
|
347
347
|
if (u) {
|
|
348
348
|
var I = u._owner, L = Ce(u.type, u._source, I ? I.type : null);
|
|
@@ -350,7 +350,7 @@ function Ri() {
|
|
|
350
350
|
} else
|
|
351
351
|
pr.setExtraStackFrame(null);
|
|
352
352
|
}
|
|
353
|
-
function pi(u, I, L,
|
|
353
|
+
function pi(u, I, L, T, oe) {
|
|
354
354
|
{
|
|
355
355
|
var ce = Function.call.bind(kt);
|
|
356
356
|
for (var ne in u)
|
|
@@ -358,14 +358,14 @@ function Ri() {
|
|
|
358
358
|
var te = void 0;
|
|
359
359
|
try {
|
|
360
360
|
if (typeof u[ne] != "function") {
|
|
361
|
-
var Ze = Error((
|
|
361
|
+
var Ze = Error((T || "React class") + ": " + L + " type `" + ne + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[ne] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
362
362
|
throw Ze.name = "Invariant Violation", Ze;
|
|
363
363
|
}
|
|
364
|
-
te = u[ne](I, ne,
|
|
364
|
+
te = u[ne](I, ne, T, L, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
365
365
|
} catch (de) {
|
|
366
366
|
te = de;
|
|
367
367
|
}
|
|
368
|
-
te && !(te instanceof Error) && (zt(oe), O("%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).",
|
|
368
|
+
te && !(te instanceof Error) && (zt(oe), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", L, ne, typeof te), zt(null)), te instanceof Error && !(te.message in dr) && (dr[te.message] = !0, zt(oe), O("Failed %s type: %s", L, te.message), zt(null));
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
@@ -379,7 +379,7 @@ function Ri() {
|
|
|
379
379
|
return L;
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function qi(u) {
|
|
383
383
|
try {
|
|
384
384
|
return fr(u), !1;
|
|
385
385
|
} catch {
|
|
@@ -390,15 +390,15 @@ function Ri() {
|
|
|
390
390
|
return "" + u;
|
|
391
391
|
}
|
|
392
392
|
function hr(u) {
|
|
393
|
-
if (
|
|
393
|
+
if (qi(u))
|
|
394
394
|
return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", hi(u)), fr(u);
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var gt = x.ReactCurrentOwner, gi = {
|
|
397
397
|
key: !0,
|
|
398
398
|
ref: !0,
|
|
399
399
|
__self: !0,
|
|
400
400
|
__source: !0
|
|
401
|
-
},
|
|
401
|
+
}, qr, gr, fn;
|
|
402
402
|
fn = {};
|
|
403
403
|
function yi(u) {
|
|
404
404
|
if (kt.call(u, "ref")) {
|
|
@@ -417,15 +417,15 @@ function Ri() {
|
|
|
417
417
|
return u.key !== void 0;
|
|
418
418
|
}
|
|
419
419
|
function bi(u, I) {
|
|
420
|
-
if (typeof u.ref == "string" &&
|
|
421
|
-
var L = B(
|
|
422
|
-
fn[L] || (O('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', B(
|
|
420
|
+
if (typeof u.ref == "string" && gt.current && I && gt.current.stateNode !== I) {
|
|
421
|
+
var L = B(gt.current.type);
|
|
422
|
+
fn[L] || (O('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', B(gt.current.type), u.ref), fn[L] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
function Ci(u, I) {
|
|
426
426
|
{
|
|
427
427
|
var L = function() {
|
|
428
|
-
|
|
428
|
+
qr || (qr = !0, O("%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
|
L.isReactWarning = !0, Object.defineProperty(u, "key", {
|
|
431
431
|
get: L,
|
|
@@ -436,7 +436,7 @@ function Ri() {
|
|
|
436
436
|
function Zi(u, I) {
|
|
437
437
|
{
|
|
438
438
|
var L = function() {
|
|
439
|
-
|
|
439
|
+
gr || (gr = !0, O("%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
|
L.isReactWarning = !0, Object.defineProperty(u, "ref", {
|
|
442
442
|
get: L,
|
|
@@ -444,7 +444,7 @@ function Ri() {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
var Ii = function(u, I, L,
|
|
447
|
+
var Ii = function(u, I, L, T, oe, ce, ne) {
|
|
448
448
|
var te = {
|
|
449
449
|
// This tag allows us to uniquely identify this as a React Element
|
|
450
450
|
$$typeof: t,
|
|
@@ -465,7 +465,7 @@ function Ri() {
|
|
|
465
465
|
configurable: !1,
|
|
466
466
|
enumerable: !1,
|
|
467
467
|
writable: !1,
|
|
468
|
-
value:
|
|
468
|
+
value: T
|
|
469
469
|
}), Object.defineProperty(te, "_source", {
|
|
470
470
|
configurable: !1,
|
|
471
471
|
enumerable: !1,
|
|
@@ -473,12 +473,12 @@ function Ri() {
|
|
|
473
473
|
value: oe
|
|
474
474
|
}), Object.freeze && (Object.freeze(te.props), Object.freeze(te)), te;
|
|
475
475
|
};
|
|
476
|
-
function wi(u, I, L,
|
|
476
|
+
function wi(u, I, L, T, oe) {
|
|
477
477
|
{
|
|
478
478
|
var ce, ne = {}, te = null, Ze = null;
|
|
479
479
|
L !== void 0 && (hr(L), te = "" + L), vi(I) && (hr(I.key), te = "" + I.key), yi(I) && (Ze = I.ref, bi(I, oe));
|
|
480
480
|
for (ce in I)
|
|
481
|
-
kt.call(I, ce) && !
|
|
481
|
+
kt.call(I, ce) && !gi.hasOwnProperty(ce) && (ne[ce] = I[ce]);
|
|
482
482
|
if (u && u.defaultProps) {
|
|
483
483
|
var de = u.defaultProps;
|
|
484
484
|
for (ce in de)
|
|
@@ -488,10 +488,10 @@ function Ri() {
|
|
|
488
488
|
var pe = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
|
|
489
489
|
te && Ci(ne, pe), Ze && Zi(ne, pe);
|
|
490
490
|
}
|
|
491
|
-
return Ii(u, te, Ze, oe,
|
|
491
|
+
return Ii(u, te, Ze, oe, T, gt.current, ne);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
var hn =
|
|
494
|
+
var hn = x.ReactCurrentOwner, yr = x.ReactDebugCurrentFrame;
|
|
495
495
|
function lt(u) {
|
|
496
496
|
if (u) {
|
|
497
497
|
var I = u._owner, L = Ce(u.type, u._source, I ? I.type : null);
|
|
@@ -499,9 +499,9 @@ function Ri() {
|
|
|
499
499
|
} else
|
|
500
500
|
yr.setExtraStackFrame(null);
|
|
501
501
|
}
|
|
502
|
-
var
|
|
503
|
-
|
|
504
|
-
function
|
|
502
|
+
var qn;
|
|
503
|
+
qn = !1;
|
|
504
|
+
function gn(u) {
|
|
505
505
|
return typeof u == "object" && u !== null && u.$$typeof === t;
|
|
506
506
|
}
|
|
507
507
|
function vr() {
|
|
@@ -549,8 +549,8 @@ Check the top-level render call using <` + L + ">.");
|
|
|
549
549
|
if (br[L])
|
|
550
550
|
return;
|
|
551
551
|
br[L] = !0;
|
|
552
|
-
var
|
|
553
|
-
u && u._owner && u._owner !== hn.current && (
|
|
552
|
+
var T = "";
|
|
553
|
+
u && u._owner && u._owner !== hn.current && (T = " It was passed a child from " + B(u._owner.type) + "."), lt(u), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', L, T), lt(null);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
function Zr(u, I) {
|
|
@@ -559,16 +559,16 @@ Check the top-level render call using <` + L + ">.");
|
|
|
559
559
|
return;
|
|
560
560
|
if (pn(u))
|
|
561
561
|
for (var L = 0; L < u.length; L++) {
|
|
562
|
-
var
|
|
563
|
-
|
|
562
|
+
var T = u[L];
|
|
563
|
+
gn(T) && Cr(T, I);
|
|
564
564
|
}
|
|
565
|
-
else if (
|
|
565
|
+
else if (gn(u))
|
|
566
566
|
u._store && (u._store.validated = !0);
|
|
567
567
|
else if (u) {
|
|
568
568
|
var oe = y(u);
|
|
569
569
|
if (typeof oe == "function" && oe !== u.entries)
|
|
570
570
|
for (var ce = oe.call(u), ne; !(ne = ce.next()).done; )
|
|
571
|
-
|
|
571
|
+
gn(ne.value) && Cr(ne.value, I);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
}
|
|
@@ -587,10 +587,10 @@ Check the top-level render call using <` + L + ">.");
|
|
|
587
587
|
else
|
|
588
588
|
return;
|
|
589
589
|
if (L) {
|
|
590
|
-
var
|
|
591
|
-
pi(L, u.props, "prop",
|
|
592
|
-
} else if (I.PropTypes !== void 0 && !
|
|
593
|
-
|
|
590
|
+
var T = B(I);
|
|
591
|
+
pi(L, u.props, "prop", T, u);
|
|
592
|
+
} else if (I.PropTypes !== void 0 && !qn) {
|
|
593
|
+
qn = !0;
|
|
594
594
|
var oe = B(I);
|
|
595
595
|
O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", oe || "Unknown");
|
|
596
596
|
}
|
|
@@ -600,16 +600,16 @@ Check the top-level render call using <` + L + ">.");
|
|
|
600
600
|
function Mi(u) {
|
|
601
601
|
{
|
|
602
602
|
for (var I = Object.keys(u.props), L = 0; L < I.length; L++) {
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
605
|
-
lt(u), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
603
|
+
var T = I[L];
|
|
604
|
+
if (T !== "children" && T !== "key") {
|
|
605
|
+
lt(u), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", T), lt(null);
|
|
606
606
|
break;
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
u.ref !== null && (lt(u), O("Invalid attribute `ref` supplied to `React.Fragment`."), lt(null));
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function Ir(u, I, L,
|
|
612
|
+
function Ir(u, I, L, T, oe, ce) {
|
|
613
613
|
{
|
|
614
614
|
var ne = ee(u);
|
|
615
615
|
if (!ne) {
|
|
@@ -626,7 +626,7 @@ Check the top-level render call using <` + L + ">.");
|
|
|
626
626
|
if (ne) {
|
|
627
627
|
var Ke = I.children;
|
|
628
628
|
if (Ke !== void 0)
|
|
629
|
-
if (
|
|
629
|
+
if (T)
|
|
630
630
|
if (pn(Ke)) {
|
|
631
631
|
for (var ut = 0; ut < Ke.length; ut++)
|
|
632
632
|
Zr(Ke[ut], u);
|
|
@@ -1012,7 +1012,7 @@ for (var ye = 8; ye < 256; ye++)
|
|
|
1012
1012
|
Ee.EXP_TABLE[ye] = Ee.EXP_TABLE[ye - 4] ^ Ee.EXP_TABLE[ye - 5] ^ Ee.EXP_TABLE[ye - 6] ^ Ee.EXP_TABLE[ye - 8];
|
|
1013
1013
|
for (var ye = 0; ye < 255; ye++)
|
|
1014
1014
|
Ee.LOG_TABLE[Ee.EXP_TABLE[ye]] = ye;
|
|
1015
|
-
var
|
|
1015
|
+
var qo = Ee, $e = qo;
|
|
1016
1016
|
function Tt(e, t) {
|
|
1017
1017
|
if (e.length == null)
|
|
1018
1018
|
throw new Error(e.length + "/" + t);
|
|
@@ -1045,7 +1045,7 @@ Tt.prototype = {
|
|
|
1045
1045
|
return new Tt(n, 0).mod(e);
|
|
1046
1046
|
}
|
|
1047
1047
|
};
|
|
1048
|
-
var
|
|
1048
|
+
var go = Tt, We = mo, Wr = go, Bi = qo, Pe = {
|
|
1049
1049
|
PATTERN000: 0,
|
|
1050
1050
|
PATTERN001: 1,
|
|
1051
1051
|
PATTERN010: 2,
|
|
@@ -1054,7 +1054,7 @@ var qo = Tt, We = mo, Wr = qo, Bi = go, Pe = {
|
|
|
1054
1054
|
PATTERN101: 5,
|
|
1055
1055
|
PATTERN110: 6,
|
|
1056
1056
|
PATTERN111: 7
|
|
1057
|
-
},
|
|
1057
|
+
}, ge = {
|
|
1058
1058
|
PATTERN_POSITION_TABLE: [
|
|
1059
1059
|
[],
|
|
1060
1060
|
[6, 18],
|
|
@@ -1101,13 +1101,13 @@ var qo = Tt, We = mo, Wr = qo, Bi = go, Pe = {
|
|
|
1101
1101
|
G18: 7973,
|
|
1102
1102
|
G15_MASK: 21522,
|
|
1103
1103
|
getBCHTypeInfo: function(e) {
|
|
1104
|
-
for (var t = e << 10;
|
|
1105
|
-
t ^=
|
|
1106
|
-
return (e << 10 | t) ^
|
|
1104
|
+
for (var t = e << 10; ge.getBCHDigit(t) - ge.getBCHDigit(ge.G15) >= 0; )
|
|
1105
|
+
t ^= ge.G15 << ge.getBCHDigit(t) - ge.getBCHDigit(ge.G15);
|
|
1106
|
+
return (e << 10 | t) ^ ge.G15_MASK;
|
|
1107
1107
|
},
|
|
1108
1108
|
getBCHTypeNumber: function(e) {
|
|
1109
|
-
for (var t = e << 12;
|
|
1110
|
-
t ^=
|
|
1109
|
+
for (var t = e << 12; ge.getBCHDigit(t) - ge.getBCHDigit(ge.G18) >= 0; )
|
|
1110
|
+
t ^= ge.G18 << ge.getBCHDigit(t) - ge.getBCHDigit(ge.G18);
|
|
1111
1111
|
return e << 12 | t;
|
|
1112
1112
|
},
|
|
1113
1113
|
getBCHDigit: function(e) {
|
|
@@ -1116,7 +1116,7 @@ var qo = Tt, We = mo, Wr = qo, Bi = go, Pe = {
|
|
|
1116
1116
|
return t;
|
|
1117
1117
|
},
|
|
1118
1118
|
getPatternPosition: function(e) {
|
|
1119
|
-
return
|
|
1119
|
+
return ge.PATTERN_POSITION_TABLE[e - 1];
|
|
1120
1120
|
},
|
|
1121
1121
|
getMask: function(e, t, n) {
|
|
1122
1122
|
switch (e) {
|
|
@@ -1214,7 +1214,7 @@ var qo = Tt, We = mo, Wr = qo, Bi = go, Pe = {
|
|
|
1214
1214
|
var d = Math.abs(100 * s / t / t - 50) / 5;
|
|
1215
1215
|
return n += d * 10, n;
|
|
1216
1216
|
}
|
|
1217
|
-
}, Ui =
|
|
1217
|
+
}, Ui = ge, Fi = Qi, yo = Pi, vo = Vi, _e = Ui, _i = go;
|
|
1218
1218
|
function De(e, t) {
|
|
1219
1219
|
this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
|
|
1220
1220
|
}
|
|
@@ -1358,21 +1358,21 @@ De.createBytes = function(e, t) {
|
|
|
1358
1358
|
for (var s = 0; s < i[A].length; s++)
|
|
1359
1359
|
i[A][s] = 255 & e.buffer[s + n];
|
|
1360
1360
|
n += m;
|
|
1361
|
-
var d = _e.getErrorCorrectPolynomial(c),
|
|
1361
|
+
var d = _e.getErrorCorrectPolynomial(c), g = new _i(i[A], d.getLength() - 1), q = g.mod(d);
|
|
1362
1362
|
a[A] = new Array(d.getLength() - 1);
|
|
1363
1363
|
for (var s = 0; s < a[A].length; s++) {
|
|
1364
|
-
var p = s +
|
|
1365
|
-
a[A][s] = p >= 0 ?
|
|
1364
|
+
var p = s + q.getLength() - a[A].length;
|
|
1365
|
+
a[A][s] = p >= 0 ? q.get(p) : 0;
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
for (var h = 0, s = 0; s < t.length; s++)
|
|
1369
1369
|
h += t[s].totalCount;
|
|
1370
|
-
for (var y = new Array(h),
|
|
1370
|
+
for (var y = new Array(h), x = 0, s = 0; s < r; s++)
|
|
1371
1371
|
for (var A = 0; A < t.length; A++)
|
|
1372
|
-
s < i[A].length && (y[
|
|
1372
|
+
s < i[A].length && (y[x++] = i[A][s]);
|
|
1373
1373
|
for (var s = 0; s < o; s++)
|
|
1374
1374
|
for (var A = 0; A < t.length; A++)
|
|
1375
|
-
s < a[A].length && (y[
|
|
1375
|
+
s < a[A].length && (y[x++] = a[A][s]);
|
|
1376
1376
|
return y;
|
|
1377
1377
|
};
|
|
1378
1378
|
var $i = De, zn = { exports: {} }, jt = { exports: {} }, Ae = {};
|
|
@@ -1389,7 +1389,7 @@ function ea() {
|
|
|
1389
1389
|
if (Mr)
|
|
1390
1390
|
return Ae;
|
|
1391
1391
|
Mr = 1;
|
|
1392
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113,
|
|
1392
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
|
|
1393
1393
|
function j(v) {
|
|
1394
1394
|
if (typeof v == "object" && v !== null) {
|
|
1395
1395
|
var _ = v.$$typeof;
|
|
@@ -1408,7 +1408,7 @@ function ea() {
|
|
|
1408
1408
|
case A:
|
|
1409
1409
|
case s:
|
|
1410
1410
|
case p:
|
|
1411
|
-
case
|
|
1411
|
+
case q:
|
|
1412
1412
|
case a:
|
|
1413
1413
|
return v;
|
|
1414
1414
|
default:
|
|
@@ -1423,7 +1423,7 @@ function ea() {
|
|
|
1423
1423
|
function z(v) {
|
|
1424
1424
|
return j(v) === c;
|
|
1425
1425
|
}
|
|
1426
|
-
return Ae.AsyncMode = m, Ae.ConcurrentMode = c, Ae.ContextConsumer = A, Ae.ContextProvider = a, Ae.Element = t, Ae.ForwardRef = s, Ae.Fragment = r, Ae.Lazy = p, Ae.Memo =
|
|
1426
|
+
return Ae.AsyncMode = m, Ae.ConcurrentMode = c, Ae.ContextConsumer = A, Ae.ContextProvider = a, Ae.Element = t, Ae.ForwardRef = s, Ae.Fragment = r, Ae.Lazy = p, Ae.Memo = q, Ae.Portal = n, Ae.Profiler = i, Ae.StrictMode = o, Ae.Suspense = d, Ae.isAsyncMode = function(v) {
|
|
1427
1427
|
return z(v) || j(v) === m;
|
|
1428
1428
|
}, Ae.isConcurrentMode = z, Ae.isContextConsumer = function(v) {
|
|
1429
1429
|
return j(v) === A;
|
|
@@ -1438,7 +1438,7 @@ function ea() {
|
|
|
1438
1438
|
}, Ae.isLazy = function(v) {
|
|
1439
1439
|
return j(v) === p;
|
|
1440
1440
|
}, Ae.isMemo = function(v) {
|
|
1441
|
-
return j(v) ===
|
|
1441
|
+
return j(v) === q;
|
|
1442
1442
|
}, Ae.isPortal = function(v) {
|
|
1443
1443
|
return j(v) === n;
|
|
1444
1444
|
}, Ae.isProfiler = function(v) {
|
|
@@ -1448,7 +1448,7 @@ function ea() {
|
|
|
1448
1448
|
}, Ae.isSuspense = function(v) {
|
|
1449
1449
|
return j(v) === d;
|
|
1450
1450
|
}, Ae.isValidElementType = function(v) {
|
|
1451
|
-
return typeof v == "string" || typeof v == "function" || v === r || v === c || v === i || v === o || v === d || v ===
|
|
1451
|
+
return typeof v == "string" || typeof v == "function" || v === r || v === c || v === i || v === o || v === d || v === g || typeof v == "object" && v !== null && (v.$$typeof === p || v.$$typeof === q || v.$$typeof === a || v.$$typeof === A || v.$$typeof === s || v.$$typeof === y || v.$$typeof === x || v.$$typeof === O || v.$$typeof === h);
|
|
1452
1452
|
}, Ae.typeOf = j, Ae;
|
|
1453
1453
|
}
|
|
1454
1454
|
var se = {};
|
|
@@ -1463,17 +1463,17 @@ var se = {};
|
|
|
1463
1463
|
var Sr;
|
|
1464
1464
|
function ta() {
|
|
1465
1465
|
return Sr || (Sr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113,
|
|
1467
|
-
function j(
|
|
1468
|
-
return typeof
|
|
1469
|
-
|
|
1470
|
-
}
|
|
1471
|
-
function z(
|
|
1472
|
-
if (typeof
|
|
1473
|
-
var le =
|
|
1466
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
|
|
1467
|
+
function j(K) {
|
|
1468
|
+
return typeof K == "string" || typeof K == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1469
|
+
K === r || K === c || K === i || K === o || K === d || K === g || typeof K == "object" && K !== null && (K.$$typeof === p || K.$$typeof === q || K.$$typeof === a || K.$$typeof === A || K.$$typeof === s || K.$$typeof === y || K.$$typeof === x || K.$$typeof === O || K.$$typeof === h);
|
|
1470
|
+
}
|
|
1471
|
+
function z(K) {
|
|
1472
|
+
if (typeof K == "object" && K !== null) {
|
|
1473
|
+
var le = K.$$typeof;
|
|
1474
1474
|
switch (le) {
|
|
1475
1475
|
case t:
|
|
1476
|
-
var Je =
|
|
1476
|
+
var Je = K.type;
|
|
1477
1477
|
switch (Je) {
|
|
1478
1478
|
case m:
|
|
1479
1479
|
case c:
|
|
@@ -1488,7 +1488,7 @@ function ta() {
|
|
|
1488
1488
|
case A:
|
|
1489
1489
|
case s:
|
|
1490
1490
|
case p:
|
|
1491
|
-
case
|
|
1491
|
+
case q:
|
|
1492
1492
|
case a:
|
|
1493
1493
|
return Ce;
|
|
1494
1494
|
default:
|
|
@@ -1500,47 +1500,47 @@ function ta() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var v = m, _ = c, $ = A, F = a, ue = t, ee = s, ae = r, X = p, B =
|
|
1504
|
-
function R(
|
|
1505
|
-
return S || (S = !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.")), C(
|
|
1503
|
+
var v = m, _ = c, $ = A, F = a, ue = t, ee = s, ae = r, X = p, B = q, W = n, Y = i, N = o, f = d, S = !1;
|
|
1504
|
+
function R(K) {
|
|
1505
|
+
return S || (S = !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.")), C(K) || z(K) === m;
|
|
1506
1506
|
}
|
|
1507
|
-
function C(
|
|
1508
|
-
return z(
|
|
1507
|
+
function C(K) {
|
|
1508
|
+
return z(K) === c;
|
|
1509
1509
|
}
|
|
1510
|
-
function Z(
|
|
1511
|
-
return z(
|
|
1510
|
+
function Z(K) {
|
|
1511
|
+
return z(K) === A;
|
|
1512
1512
|
}
|
|
1513
|
-
function M(
|
|
1514
|
-
return z(
|
|
1513
|
+
function M(K) {
|
|
1514
|
+
return z(K) === a;
|
|
1515
1515
|
}
|
|
1516
|
-
function E(
|
|
1517
|
-
return typeof
|
|
1516
|
+
function E(K) {
|
|
1517
|
+
return typeof K == "object" && K !== null && K.$$typeof === t;
|
|
1518
1518
|
}
|
|
1519
|
-
function k(
|
|
1520
|
-
return z(
|
|
1519
|
+
function k(K) {
|
|
1520
|
+
return z(K) === s;
|
|
1521
1521
|
}
|
|
1522
|
-
function V(
|
|
1523
|
-
return z(
|
|
1522
|
+
function V(K) {
|
|
1523
|
+
return z(K) === r;
|
|
1524
1524
|
}
|
|
1525
|
-
function K
|
|
1526
|
-
return z(
|
|
1525
|
+
function w(K) {
|
|
1526
|
+
return z(K) === p;
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1529
|
-
return z(
|
|
1528
|
+
function J(K) {
|
|
1529
|
+
return z(K) === q;
|
|
1530
1530
|
}
|
|
1531
|
-
function Q(
|
|
1532
|
-
return z(
|
|
1531
|
+
function Q(K) {
|
|
1532
|
+
return z(K) === n;
|
|
1533
1533
|
}
|
|
1534
|
-
function U(
|
|
1535
|
-
return z(
|
|
1534
|
+
function U(K) {
|
|
1535
|
+
return z(K) === i;
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1538
|
-
return z(
|
|
1537
|
+
function G(K) {
|
|
1538
|
+
return z(K) === o;
|
|
1539
1539
|
}
|
|
1540
|
-
function D(
|
|
1541
|
-
return z(
|
|
1540
|
+
function D(K) {
|
|
1541
|
+
return z(K) === d;
|
|
1542
1542
|
}
|
|
1543
|
-
se.AsyncMode = v, se.ConcurrentMode = _, se.ContextConsumer = $, se.ContextProvider = F, se.Element = ue, se.ForwardRef = ee, se.Fragment = ae, se.Lazy = X, se.Memo = B, se.Portal = W, se.Profiler = Y, se.StrictMode =
|
|
1543
|
+
se.AsyncMode = v, se.ConcurrentMode = _, se.ContextConsumer = $, se.ContextProvider = F, se.Element = ue, se.ForwardRef = ee, se.Fragment = ae, se.Lazy = X, se.Memo = B, se.Portal = W, se.Profiler = Y, se.StrictMode = N, se.Suspense = f, se.isAsyncMode = R, se.isConcurrentMode = C, se.isContextConsumer = Z, se.isContextProvider = M, se.isElement = E, se.isForwardRef = k, se.isFragment = V, se.isLazy = w, se.isMemo = J, se.isPortal = Q, se.isProfiler = U, se.isStrictMode = G, se.isSuspense = D, se.isValidElementType = j, se.typeOf = z;
|
|
1544
1544
|
}()), se;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Lr;
|
|
@@ -1592,8 +1592,8 @@ function na() {
|
|
|
1592
1592
|
t.call(A, d) && (m[d] = A[d]);
|
|
1593
1593
|
if (e) {
|
|
1594
1594
|
c = e(A);
|
|
1595
|
-
for (var
|
|
1596
|
-
n.call(A, c[
|
|
1595
|
+
for (var g = 0; g < c.length; g++)
|
|
1596
|
+
n.call(A, c[g]) && (m[c[g]] = A[c[g]]);
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
1599
1599
|
return m;
|
|
@@ -1636,10 +1636,10 @@ function ra() {
|
|
|
1636
1636
|
var d;
|
|
1637
1637
|
try {
|
|
1638
1638
|
if (typeof i[s] != "function") {
|
|
1639
|
-
var
|
|
1639
|
+
var g = Error(
|
|
1640
1640
|
(m || "React class") + ": " + A + " type `" + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[s] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1641
1641
|
);
|
|
1642
|
-
throw
|
|
1642
|
+
throw g.name = "Invariant Violation", g;
|
|
1643
1643
|
}
|
|
1644
1644
|
d = i[s](a, s, m, A, null, t);
|
|
1645
1645
|
} catch (p) {
|
|
@@ -1649,9 +1649,9 @@ function ra() {
|
|
|
1649
1649
|
(m || "React class") + ": type specification of " + A + " `" + s + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1650
1650
|
), d instanceof Error && !(d.message in n)) {
|
|
1651
1651
|
n[d.message] = !0;
|
|
1652
|
-
var
|
|
1652
|
+
var q = c ? c() : "";
|
|
1653
1653
|
e(
|
|
1654
|
-
"Failed " + A + " type: " + d.message + (
|
|
1654
|
+
"Failed " + A + " type: " + d.message + (q ?? "")
|
|
1655
1655
|
);
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
@@ -1686,15 +1686,15 @@ function oa() {
|
|
|
1686
1686
|
if (typeof Z == "function")
|
|
1687
1687
|
return Z;
|
|
1688
1688
|
}
|
|
1689
|
-
var
|
|
1690
|
-
array:
|
|
1691
|
-
bigint:
|
|
1692
|
-
bool:
|
|
1693
|
-
func:
|
|
1694
|
-
number:
|
|
1695
|
-
object:
|
|
1696
|
-
string:
|
|
1697
|
-
symbol:
|
|
1689
|
+
var g = "<<anonymous>>", q = {
|
|
1690
|
+
array: x("array"),
|
|
1691
|
+
bigint: x("bigint"),
|
|
1692
|
+
bool: x("boolean"),
|
|
1693
|
+
func: x("function"),
|
|
1694
|
+
number: x("number"),
|
|
1695
|
+
object: x("object"),
|
|
1696
|
+
string: x("string"),
|
|
1697
|
+
symbol: x("symbol"),
|
|
1698
1698
|
any: O(),
|
|
1699
1699
|
arrayOf: j,
|
|
1700
1700
|
element: z(),
|
|
@@ -1717,33 +1717,33 @@ function oa() {
|
|
|
1717
1717
|
function y(C) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var Z = {}, M = 0;
|
|
1720
|
-
function E(V,
|
|
1721
|
-
if (Q = Q ||
|
|
1720
|
+
function E(V, w, J, Q, U, G, D) {
|
|
1721
|
+
if (Q = Q || g, G = G || J, D !== n) {
|
|
1722
1722
|
if (m) {
|
|
1723
|
-
var
|
|
1723
|
+
var K = 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
|
-
throw
|
|
1726
|
+
throw K.name = "Invariant Violation", K;
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
|
-
var le = Q + ":" +
|
|
1728
|
+
var le = Q + ":" + J;
|
|
1729
1729
|
!Z[le] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1730
1730
|
M < 3 && (i(
|
|
1731
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
1731
|
+
"You are manually calling a React.PropTypes validation function for the `" + G + "` prop on `" + Q + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1732
1732
|
), Z[le] = !0, M++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return
|
|
1735
|
+
return w[J] == null ? V ? w[J] === null ? new h("The " + U + " `" + G + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new h("The " + U + " `" + G + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : C(w, J, Q, U, G);
|
|
1736
1736
|
}
|
|
1737
1737
|
var k = E.bind(null, !1);
|
|
1738
1738
|
return k.isRequired = E.bind(null, !0), k;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1741
|
-
function Z(M, E, k, V,
|
|
1742
|
-
var Q = M[E], U =
|
|
1740
|
+
function x(C) {
|
|
1741
|
+
function Z(M, E, k, V, w, J) {
|
|
1742
|
+
var Q = M[E], U = N(Q);
|
|
1743
1743
|
if (U !== C) {
|
|
1744
|
-
var
|
|
1744
|
+
var G = f(Q);
|
|
1745
1745
|
return new h(
|
|
1746
|
-
"Invalid " + V + " `" +
|
|
1746
|
+
"Invalid " + V + " `" + w + "` of type " + ("`" + G + "` supplied to `" + k + "`, expected ") + ("`" + C + "`."),
|
|
1747
1747
|
{ expectedType: C }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
@@ -1755,18 +1755,18 @@ function oa() {
|
|
|
1755
1755
|
return y(a);
|
|
1756
1756
|
}
|
|
1757
1757
|
function j(C) {
|
|
1758
|
-
function Z(M, E, k, V,
|
|
1758
|
+
function Z(M, E, k, V, w) {
|
|
1759
1759
|
if (typeof C != "function")
|
|
1760
|
-
return new h("Property `" +
|
|
1761
|
-
var
|
|
1762
|
-
if (!Array.isArray(
|
|
1763
|
-
var Q = J
|
|
1764
|
-
return new h("Invalid " + V + " `" +
|
|
1760
|
+
return new h("Property `" + w + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
+
var J = M[E];
|
|
1762
|
+
if (!Array.isArray(J)) {
|
|
1763
|
+
var Q = N(J);
|
|
1764
|
+
return new h("Invalid " + V + " `" + w + "` of type " + ("`" + Q + "` supplied to `" + k + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
|
-
for (var U = 0; U <
|
|
1767
|
-
var
|
|
1768
|
-
if (
|
|
1769
|
-
return
|
|
1766
|
+
for (var U = 0; U < J.length; U++) {
|
|
1767
|
+
var G = C(J, U, k, V, w + "[" + U + "]", n);
|
|
1768
|
+
if (G instanceof Error)
|
|
1769
|
+
return G;
|
|
1770
1770
|
}
|
|
1771
1771
|
return null;
|
|
1772
1772
|
}
|
|
@@ -1774,10 +1774,10 @@ function oa() {
|
|
|
1774
1774
|
}
|
|
1775
1775
|
function z() {
|
|
1776
1776
|
function C(Z, M, E, k, V) {
|
|
1777
|
-
var
|
|
1778
|
-
if (!A(
|
|
1779
|
-
var
|
|
1780
|
-
return new h("Invalid " + k + " `" + V + "` of type " + ("`" +
|
|
1777
|
+
var w = Z[M];
|
|
1778
|
+
if (!A(w)) {
|
|
1779
|
+
var J = N(w);
|
|
1780
|
+
return new h("Invalid " + k + " `" + V + "` of type " + ("`" + J + "` supplied to `" + E + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
1783
1783
|
}
|
|
@@ -1785,20 +1785,20 @@ function oa() {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
function v() {
|
|
1787
1787
|
function C(Z, M, E, k, V) {
|
|
1788
|
-
var
|
|
1789
|
-
if (!e.isValidElementType(
|
|
1790
|
-
var
|
|
1791
|
-
return new h("Invalid " + k + " `" + V + "` of type " + ("`" +
|
|
1788
|
+
var w = Z[M];
|
|
1789
|
+
if (!e.isValidElementType(w)) {
|
|
1790
|
+
var J = N(w);
|
|
1791
|
+
return new h("Invalid " + k + " `" + V + "` of type " + ("`" + J + "` supplied to `" + E + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
1795
1795
|
return y(C);
|
|
1796
1796
|
}
|
|
1797
1797
|
function _(C) {
|
|
1798
|
-
function Z(M, E, k, V,
|
|
1798
|
+
function Z(M, E, k, V, w) {
|
|
1799
1799
|
if (!(M[E] instanceof C)) {
|
|
1800
|
-
var
|
|
1801
|
-
return new h("Invalid " + V + " `" +
|
|
1800
|
+
var J = C.name || g, Q = R(M[E]);
|
|
1801
|
+
return new h("Invalid " + V + " `" + w + "` of type " + ("`" + Q + "` supplied to `" + k + "`, expected ") + ("instance of `" + J + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
@@ -1809,30 +1809,30 @@ function oa() {
|
|
|
1809
1809
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
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
|
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
1812
|
-
function Z(M, E, k, V,
|
|
1813
|
-
for (var
|
|
1814
|
-
if (p(
|
|
1812
|
+
function Z(M, E, k, V, w) {
|
|
1813
|
+
for (var J = M[E], Q = 0; Q < C.length; Q++)
|
|
1814
|
+
if (p(J, C[Q]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var U = JSON.stringify(C, function(D,
|
|
1817
|
-
var le = f(
|
|
1818
|
-
return le === "symbol" ? String(
|
|
1816
|
+
var U = JSON.stringify(C, function(D, K) {
|
|
1817
|
+
var le = f(K);
|
|
1818
|
+
return le === "symbol" ? String(K) : K;
|
|
1819
1819
|
});
|
|
1820
|
-
return new h("Invalid " + V + " `" +
|
|
1820
|
+
return new h("Invalid " + V + " `" + w + "` of value `" + String(J) + "` " + ("supplied to `" + k + "`, expected one of " + U + "."));
|
|
1821
1821
|
}
|
|
1822
1822
|
return y(Z);
|
|
1823
1823
|
}
|
|
1824
1824
|
function F(C) {
|
|
1825
|
-
function Z(M, E, k, V,
|
|
1825
|
+
function Z(M, E, k, V, w) {
|
|
1826
1826
|
if (typeof C != "function")
|
|
1827
|
-
return new h("Property `" +
|
|
1828
|
-
var
|
|
1827
|
+
return new h("Property `" + w + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
+
var J = M[E], Q = N(J);
|
|
1829
1829
|
if (Q !== "object")
|
|
1830
|
-
return new h("Invalid " + V + " `" +
|
|
1831
|
-
for (var U in
|
|
1832
|
-
if (r(
|
|
1833
|
-
var
|
|
1834
|
-
if (
|
|
1835
|
-
return
|
|
1830
|
+
return new h("Invalid " + V + " `" + w + "` of type " + ("`" + Q + "` supplied to `" + k + "`, expected an object."));
|
|
1831
|
+
for (var U in J)
|
|
1832
|
+
if (r(J, U)) {
|
|
1833
|
+
var G = C(J, U, k, V, w + "." + U, n);
|
|
1834
|
+
if (G instanceof Error)
|
|
1835
|
+
return G;
|
|
1836
1836
|
}
|
|
1837
1837
|
return null;
|
|
1838
1838
|
}
|
|
@@ -1848,15 +1848,15 @@ function oa() {
|
|
|
1848
1848
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + S(M) + " at index " + Z + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
|
-
function E(k, V,
|
|
1852
|
-
for (var U = [],
|
|
1853
|
-
var D = C[
|
|
1854
|
-
if (
|
|
1851
|
+
function E(k, V, w, J, Q) {
|
|
1852
|
+
for (var U = [], G = 0; G < C.length; G++) {
|
|
1853
|
+
var D = C[G], K = D(k, V, w, J, Q, n);
|
|
1854
|
+
if (K == null)
|
|
1855
1855
|
return null;
|
|
1856
|
-
|
|
1856
|
+
K.data && r(K.data, "expectedType") && U.push(K.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
1858
|
var le = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
|
1859
|
-
return new h("Invalid " +
|
|
1859
|
+
return new h("Invalid " + J + " `" + Q + "` supplied to " + ("`" + w + "`" + le + "."));
|
|
1860
1860
|
}
|
|
1861
1861
|
return y(E);
|
|
1862
1862
|
}
|
|
@@ -1872,15 +1872,15 @@ function oa() {
|
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
1874
|
function X(C) {
|
|
1875
|
-
function Z(M, E, k, V,
|
|
1876
|
-
var
|
|
1875
|
+
function Z(M, E, k, V, w) {
|
|
1876
|
+
var J = M[E], Q = N(J);
|
|
1877
1877
|
if (Q !== "object")
|
|
1878
|
-
return new h("Invalid " + V + " `" +
|
|
1878
|
+
return new h("Invalid " + V + " `" + w + "` of type `" + Q + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
1879
1879
|
for (var U in C) {
|
|
1880
|
-
var
|
|
1881
|
-
if (typeof
|
|
1882
|
-
return ae(k, V,
|
|
1883
|
-
var D =
|
|
1880
|
+
var G = C[U];
|
|
1881
|
+
if (typeof G != "function")
|
|
1882
|
+
return ae(k, V, w, U, f(G));
|
|
1883
|
+
var D = G(J, U, k, V, w + "." + U, n);
|
|
1884
1884
|
if (D)
|
|
1885
1885
|
return D;
|
|
1886
1886
|
}
|
|
@@ -1889,23 +1889,23 @@ function oa() {
|
|
|
1889
1889
|
return y(Z);
|
|
1890
1890
|
}
|
|
1891
1891
|
function B(C) {
|
|
1892
|
-
function Z(M, E, k, V,
|
|
1893
|
-
var
|
|
1892
|
+
function Z(M, E, k, V, w) {
|
|
1893
|
+
var J = M[E], Q = N(J);
|
|
1894
1894
|
if (Q !== "object")
|
|
1895
|
-
return new h("Invalid " + V + " `" +
|
|
1895
|
+
return new h("Invalid " + V + " `" + w + "` of type `" + Q + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
1896
1896
|
var U = t({}, M[E], C);
|
|
1897
|
-
for (var
|
|
1898
|
-
var D = C[
|
|
1899
|
-
if (r(C,
|
|
1900
|
-
return ae(k, V,
|
|
1897
|
+
for (var G in U) {
|
|
1898
|
+
var D = C[G];
|
|
1899
|
+
if (r(C, G) && typeof D != "function")
|
|
1900
|
+
return ae(k, V, w, G, f(D));
|
|
1901
1901
|
if (!D)
|
|
1902
1902
|
return new h(
|
|
1903
|
-
"Invalid " + V + " `" +
|
|
1903
|
+
"Invalid " + V + " `" + w + "` key `" + G + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(M[E], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var
|
|
1907
|
-
if (
|
|
1908
|
-
return
|
|
1906
|
+
var K = D(J, G, k, V, w + "." + G, n);
|
|
1907
|
+
if (K)
|
|
1908
|
+
return K;
|
|
1909
1909
|
}
|
|
1910
1910
|
return null;
|
|
1911
1911
|
}
|
|
@@ -1947,14 +1947,14 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
1947
1947
|
function Y(C, Z) {
|
|
1948
1948
|
return C === "symbol" ? !0 : Z ? Z["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && Z instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function N(C) {
|
|
1951
1951
|
var Z = typeof C;
|
|
1952
1952
|
return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : Y(Z, C) ? "symbol" : Z;
|
|
1953
1953
|
}
|
|
1954
1954
|
function f(C) {
|
|
1955
1955
|
if (typeof C > "u" || C === null)
|
|
1956
1956
|
return "" + C;
|
|
1957
|
-
var Z =
|
|
1957
|
+
var Z = N(C);
|
|
1958
1958
|
if (Z === "object") {
|
|
1959
1959
|
if (C instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -1978,9 +1978,9 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
1978
1978
|
}
|
|
1979
1979
|
}
|
|
1980
1980
|
function R(C) {
|
|
1981
|
-
return !C.constructor || !C.constructor.name ?
|
|
1981
|
+
return !C.constructor || !C.constructor.name ? g : C.constructor.name;
|
|
1982
1982
|
}
|
|
1983
|
-
return
|
|
1983
|
+
return q.checkPropTypes = o, q.resetWarningCache = o.resetWarningCache, q.PropTypes = q, q;
|
|
1984
1984
|
}, Zn;
|
|
1985
1985
|
}
|
|
1986
1986
|
var In, jr;
|
|
@@ -1996,10 +1996,10 @@ function ia() {
|
|
|
1996
1996
|
return n.resetWarningCache = t, In = function() {
|
|
1997
1997
|
function r(a, A, m, c, s, d) {
|
|
1998
1998
|
if (d !== e) {
|
|
1999
|
-
var
|
|
1999
|
+
var g = new Error(
|
|
2000
2000
|
"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"
|
|
2001
2001
|
);
|
|
2002
|
-
throw
|
|
2002
|
+
throw g.name = "Invariant Violation", g;
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
2005
|
r.isRequired = r;
|
|
@@ -2099,7 +2099,7 @@ var da = Object.assign || function(e) {
|
|
|
2099
2099
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2100
2100
|
}
|
|
2101
2101
|
return e;
|
|
2102
|
-
}, pa = $i, fa = Wt(pa), ha = fo,
|
|
2102
|
+
}, pa = $i, fa = Wt(pa), ha = fo, qa = Wt(ha), ga = nn, Xe = Wt(ga), wo = ie, ya = Wt(wo), va = _n, ba = Wt(va);
|
|
2103
2103
|
function Wt(e) {
|
|
2104
2104
|
return e && e.__esModule ? e : { default: e };
|
|
2105
2105
|
}
|
|
@@ -2121,20 +2121,20 @@ var Za = {
|
|
|
2121
2121
|
level: "L",
|
|
2122
2122
|
size: 256
|
|
2123
2123
|
}, Mt = (0, wo.forwardRef)(function(e, t) {
|
|
2124
|
-
var n = e.bgColor, r = e.fgColor, o = e.level, i = e.size, a = e.value, A = Ca(e, ["bgColor", "fgColor", "level", "size", "value"]), m = new fa.default(-1,
|
|
2124
|
+
var n = e.bgColor, r = e.fgColor, o = e.level, i = e.size, a = e.value, A = Ca(e, ["bgColor", "fgColor", "level", "size", "value"]), m = new fa.default(-1, qa.default[o]);
|
|
2125
2125
|
m.addData(a), m.make();
|
|
2126
2126
|
var c = m.modules;
|
|
2127
2127
|
return ya.default.createElement(ba.default, da({}, A, {
|
|
2128
2128
|
bgColor: n,
|
|
2129
2129
|
bgD: c.map(function(s, d) {
|
|
2130
|
-
return s.map(function(
|
|
2131
|
-
return
|
|
2130
|
+
return s.map(function(g, q) {
|
|
2131
|
+
return g ? "" : "M " + q + " " + d + " l 1 0 0 1 -1 0 Z";
|
|
2132
2132
|
}).join(" ");
|
|
2133
2133
|
}).join(" "),
|
|
2134
2134
|
fgColor: r,
|
|
2135
2135
|
fgD: c.map(function(s, d) {
|
|
2136
|
-
return s.map(function(
|
|
2137
|
-
return
|
|
2136
|
+
return s.map(function(g, q) {
|
|
2137
|
+
return g ? "M " + q + " " + d + " l 1 0 0 1 -1 0 Z" : "";
|
|
2138
2138
|
}).join(" ");
|
|
2139
2139
|
}).join(" "),
|
|
2140
2140
|
ref: t,
|
|
@@ -2502,12 +2502,12 @@ function sn(e, t, n) {
|
|
|
2502
2502
|
return b.isArrayBuffer(p) || b.isTypedArray(p) ? m && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
2503
2503
|
}
|
|
2504
2504
|
function s(p, h, y) {
|
|
2505
|
-
let
|
|
2505
|
+
let x = p;
|
|
2506
2506
|
if (p && !y && typeof p == "object") {
|
|
2507
2507
|
if (b.endsWith(h, "{}"))
|
|
2508
2508
|
h = r ? h : h.slice(0, -2), p = JSON.stringify(p);
|
|
2509
|
-
else if (b.isArray(p) && AA(p) || (b.isFileList(p) || b.endsWith(h, "[]")) && (
|
|
2510
|
-
return h = jo(h),
|
|
2509
|
+
else if (b.isArray(p) && AA(p) || (b.isFileList(p) || b.endsWith(h, "[]")) && (x = b.toArray(p)))
|
|
2510
|
+
return h = jo(h), x.forEach(function(j, z) {
|
|
2511
2511
|
!(b.isUndefined(j) || j === null) && t.append(
|
|
2512
2512
|
// eslint-disable-next-line no-nested-ternary
|
|
2513
2513
|
a === !0 ? Dr([h], z, i) : a === null ? h : h + "[]",
|
|
@@ -2517,29 +2517,29 @@ function sn(e, t, n) {
|
|
|
2517
2517
|
}
|
|
2518
2518
|
return jn(p) ? !0 : (t.append(Dr(y, h, i), c(p)), !1);
|
|
2519
2519
|
}
|
|
2520
|
-
const d = [],
|
|
2520
|
+
const d = [], g = Object.assign(sA, {
|
|
2521
2521
|
defaultVisitor: s,
|
|
2522
2522
|
convertValue: c,
|
|
2523
2523
|
isVisitable: jn
|
|
2524
2524
|
});
|
|
2525
|
-
function
|
|
2525
|
+
function q(p, h) {
|
|
2526
2526
|
if (!b.isUndefined(p)) {
|
|
2527
2527
|
if (d.indexOf(p) !== -1)
|
|
2528
2528
|
throw Error("Circular reference detected in " + h.join("."));
|
|
2529
|
-
d.push(p), b.forEach(p, function(
|
|
2530
|
-
(!(b.isUndefined(
|
|
2529
|
+
d.push(p), b.forEach(p, function(x, O) {
|
|
2530
|
+
(!(b.isUndefined(x) || x === null) && o.call(
|
|
2531
2531
|
t,
|
|
2532
|
-
|
|
2532
|
+
x,
|
|
2533
2533
|
b.isString(O) ? O.trim() : O,
|
|
2534
2534
|
h,
|
|
2535
|
-
|
|
2536
|
-
)) === !0 &&
|
|
2535
|
+
g
|
|
2536
|
+
)) === !0 && q(x, h ? h.concat(O) : [O]);
|
|
2537
2537
|
}), d.pop();
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
2540
|
if (!b.isObject(e))
|
|
2541
2541
|
throw new TypeError("data must be an object");
|
|
2542
|
-
return
|
|
2542
|
+
return q(e), t;
|
|
2543
2543
|
}
|
|
2544
2544
|
function Rr(e) {
|
|
2545
2545
|
const t = {
|
|
@@ -2664,10 +2664,10 @@ function hA(e, t) {
|
|
|
2664
2664
|
}
|
|
2665
2665
|
}, t));
|
|
2666
2666
|
}
|
|
2667
|
-
function
|
|
2667
|
+
function qA(e) {
|
|
2668
2668
|
return b.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
2669
2669
|
}
|
|
2670
|
-
function
|
|
2670
|
+
function gA(e) {
|
|
2671
2671
|
const t = {}, n = Object.keys(e);
|
|
2672
2672
|
let r;
|
|
2673
2673
|
const o = n.length;
|
|
@@ -2680,12 +2680,12 @@ function Ro(e) {
|
|
|
2680
2680
|
function t(n, r, o, i) {
|
|
2681
2681
|
let a = n[i++];
|
|
2682
2682
|
const A = Number.isFinite(+a), m = i >= n.length;
|
|
2683
|
-
return a = !a && b.isArray(o) ? o.length : a, m ? (b.hasOwnProp(o, a) ? o[a] = [o[a], r] : o[a] = r, !A) : ((!o[a] || !b.isObject(o[a])) && (o[a] = []), t(n, r, o[a], i) && b.isArray(o[a]) && (o[a] =
|
|
2683
|
+
return a = !a && b.isArray(o) ? o.length : a, m ? (b.hasOwnProp(o, a) ? o[a] = [o[a], r] : o[a] = r, !A) : ((!o[a] || !b.isObject(o[a])) && (o[a] = []), t(n, r, o[a], i) && b.isArray(o[a]) && (o[a] = gA(o[a])), !A);
|
|
2684
2684
|
}
|
|
2685
2685
|
if (b.isFormData(e) && b.isFunction(e.entries)) {
|
|
2686
2686
|
const n = {};
|
|
2687
2687
|
return b.forEachEntry(e, (r, o) => {
|
|
2688
|
-
t(
|
|
2688
|
+
t(qA(r), o, n, 0);
|
|
2689
2689
|
}), n;
|
|
2690
2690
|
}
|
|
2691
2691
|
return null;
|
|
@@ -3061,13 +3061,13 @@ function OA(e, t) {
|
|
|
3061
3061
|
return t = t !== void 0 ? t : 1e3, function(m) {
|
|
3062
3062
|
const c = Date.now(), s = r[i];
|
|
3063
3063
|
a || (a = c), n[o] = m, r[o] = c;
|
|
3064
|
-
let d = i,
|
|
3064
|
+
let d = i, g = 0;
|
|
3065
3065
|
for (; d !== o; )
|
|
3066
|
-
|
|
3066
|
+
g += n[d++], d = d % e;
|
|
3067
3067
|
if (o = (o + 1) % e, o === i && (i = (i + 1) % e), c - a < t)
|
|
3068
3068
|
return;
|
|
3069
|
-
const
|
|
3070
|
-
return
|
|
3069
|
+
const q = s && c - s;
|
|
3070
|
+
return q ? Math.round(g * 1e3 / q) : void 0;
|
|
3071
3071
|
};
|
|
3072
3072
|
}
|
|
3073
3073
|
function Hr(e, t) {
|
|
@@ -3105,7 +3105,7 @@ const EA = typeof XMLHttpRequest < "u", kA = EA && function(e) {
|
|
|
3105
3105
|
}
|
|
3106
3106
|
const d = To(e.baseURL, e.url);
|
|
3107
3107
|
s.open(e.method.toUpperCase(), No(d, e.params, e.paramsSerializer), !0), s.timeout = e.timeout;
|
|
3108
|
-
function
|
|
3108
|
+
function g() {
|
|
3109
3109
|
if (!s)
|
|
3110
3110
|
return;
|
|
3111
3111
|
const p = Qe.from(
|
|
@@ -3124,8 +3124,8 @@ const EA = typeof XMLHttpRequest < "u", kA = EA && function(e) {
|
|
|
3124
3124
|
r(O), m();
|
|
3125
3125
|
}, y), s = null;
|
|
3126
3126
|
}
|
|
3127
|
-
if ("onloadend" in s ? s.onloadend =
|
|
3128
|
-
!s || s.readyState !== 4 || s.status === 0 && !(s.responseURL && s.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
3127
|
+
if ("onloadend" in s ? s.onloadend = g : s.onreadystatechange = function() {
|
|
3128
|
+
!s || s.readyState !== 4 || s.status === 0 && !(s.responseURL && s.responseURL.indexOf("file:") === 0) || setTimeout(g);
|
|
3129
3129
|
}, s.onabort = function() {
|
|
3130
3130
|
s && (r(new re("Request aborted", re.ECONNABORTED, e, s)), s = null);
|
|
3131
3131
|
}, s.onerror = function() {
|
|
@@ -3148,9 +3148,9 @@ const EA = typeof XMLHttpRequest < "u", kA = EA && function(e) {
|
|
|
3148
3148
|
}), b.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", Hr(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", Hr(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (p) => {
|
|
3149
3149
|
s && (r(!p || p.type ? new Lt(null, e, s) : p), s.abort(), s = null);
|
|
3150
3150
|
}, e.cancelToken && e.cancelToken.subscribe(A), e.signal && (e.signal.aborted ? A() : e.signal.addEventListener("abort", A)));
|
|
3151
|
-
const
|
|
3152
|
-
if (
|
|
3153
|
-
r(new re("Unsupported protocol " +
|
|
3151
|
+
const q = LA(d);
|
|
3152
|
+
if (q && Re.protocols.indexOf(q) === -1) {
|
|
3153
|
+
r(new re("Unsupported protocol " + q + ":", re.ERR_BAD_REQUEST, e));
|
|
3154
3154
|
return;
|
|
3155
3155
|
}
|
|
3156
3156
|
s.send(o || null);
|
|
@@ -3283,8 +3283,8 @@ function dt(e, t) {
|
|
|
3283
3283
|
headers: (c, s) => o(Pr(c), Pr(s), !0)
|
|
3284
3284
|
};
|
|
3285
3285
|
return b.forEach(Object.keys(Object.assign({}, e, t)), function(s) {
|
|
3286
|
-
const d = m[s] || o,
|
|
3287
|
-
b.isUndefined(
|
|
3286
|
+
const d = m[s] || o, g = d(e[s], t[s], s);
|
|
3287
|
+
b.isUndefined(g) && d !== A || (n[s] = g);
|
|
3288
3288
|
}), n;
|
|
3289
3289
|
}
|
|
3290
3290
|
const Xo = "1.5.1", rr = {};
|
|
@@ -3380,30 +3380,30 @@ class Bt {
|
|
|
3380
3380
|
this.interceptors.response.forEach(function(h) {
|
|
3381
3381
|
c.push(h.fulfilled, h.rejected);
|
|
3382
3382
|
});
|
|
3383
|
-
let s, d = 0,
|
|
3383
|
+
let s, d = 0, g;
|
|
3384
3384
|
if (!m) {
|
|
3385
3385
|
const p = [Qr.bind(this), void 0];
|
|
3386
|
-
for (p.unshift.apply(p, A), p.push.apply(p, c),
|
|
3386
|
+
for (p.unshift.apply(p, A), p.push.apply(p, c), g = p.length, s = Promise.resolve(n); d < g; )
|
|
3387
3387
|
s = s.then(p[d++], p[d++]);
|
|
3388
3388
|
return s;
|
|
3389
3389
|
}
|
|
3390
|
-
|
|
3391
|
-
let
|
|
3392
|
-
for (d = 0; d <
|
|
3390
|
+
g = A.length;
|
|
3391
|
+
let q = n;
|
|
3392
|
+
for (d = 0; d < g; ) {
|
|
3393
3393
|
const p = A[d++], h = A[d++];
|
|
3394
3394
|
try {
|
|
3395
|
-
|
|
3395
|
+
q = p(q);
|
|
3396
3396
|
} catch (y) {
|
|
3397
3397
|
h.call(this, y);
|
|
3398
3398
|
break;
|
|
3399
3399
|
}
|
|
3400
3400
|
}
|
|
3401
3401
|
try {
|
|
3402
|
-
s = Qr.call(this,
|
|
3402
|
+
s = Qr.call(this, q);
|
|
3403
3403
|
} catch (p) {
|
|
3404
3404
|
return Promise.reject(p);
|
|
3405
3405
|
}
|
|
3406
|
-
for (d = 0,
|
|
3406
|
+
for (d = 0, g = c.length; d < g; )
|
|
3407
3407
|
s = s.then(c[d++], c[d++]);
|
|
3408
3408
|
return s;
|
|
3409
3409
|
}
|
|
@@ -3681,22 +3681,22 @@ function Rn(e, t) {
|
|
|
3681
3681
|
Rn({ read: Br.decodeValue, write: Br.encodeValue }, Ar);
|
|
3682
3682
|
let _o;
|
|
3683
3683
|
typeof window < "u" && (_o = Fo("token"));
|
|
3684
|
-
const
|
|
3684
|
+
const qe = RA.create({
|
|
3685
3685
|
headers: {
|
|
3686
3686
|
Authorization: _o
|
|
3687
3687
|
}
|
|
3688
3688
|
});
|
|
3689
3689
|
async function XA(e, t, n) {
|
|
3690
|
-
return (await
|
|
3690
|
+
return (await qe.post(n + "/createFlexVersionLinkMulti", {
|
|
3691
3691
|
_id: e,
|
|
3692
3692
|
networks: t
|
|
3693
3693
|
})).data;
|
|
3694
3694
|
}
|
|
3695
3695
|
async function QA(e, t) {
|
|
3696
|
-
return e.network == "fb" && (e.zip = 1), (await
|
|
3696
|
+
return e.network == "fb" && (e.zip = 1), (await qe.post(t + "/createFlexVersionLink", e || {})).data;
|
|
3697
3697
|
}
|
|
3698
3698
|
async function PA(e, t, n) {
|
|
3699
|
-
return (await
|
|
3699
|
+
return (await qe.post(e + "/createImportedVersionLink", {
|
|
3700
3700
|
_id: t,
|
|
3701
3701
|
network: n
|
|
3702
3702
|
// zip,
|
|
@@ -3704,7 +3704,7 @@ async function PA(e, t, n) {
|
|
|
3704
3704
|
})).data;
|
|
3705
3705
|
}
|
|
3706
3706
|
async function VA(e, t, n, r, o) {
|
|
3707
|
-
return (await
|
|
3707
|
+
return (await qe.post(e + "/createPlayableVersionLink", {
|
|
3708
3708
|
_id: t,
|
|
3709
3709
|
network: n,
|
|
3710
3710
|
isPfTest: r,
|
|
@@ -3712,13 +3712,13 @@ async function VA(e, t, n, r, o) {
|
|
|
3712
3712
|
})).data;
|
|
3713
3713
|
}
|
|
3714
3714
|
async function BA(e, t, n) {
|
|
3715
|
-
return (await
|
|
3715
|
+
return (await qe.post(n + "/createPlayableVersionLinkMulti", {
|
|
3716
3716
|
_id: e,
|
|
3717
3717
|
networks: t
|
|
3718
3718
|
})).data;
|
|
3719
3719
|
}
|
|
3720
3720
|
async function UA(e, t, n, r, o) {
|
|
3721
|
-
return (await
|
|
3721
|
+
return (await qe.post(e + "/createReadyVersionLink", {
|
|
3722
3722
|
_id: t,
|
|
3723
3723
|
network: n,
|
|
3724
3724
|
isPfTest: r,
|
|
@@ -3726,16 +3726,16 @@ async function UA(e, t, n, r, o) {
|
|
|
3726
3726
|
})).data;
|
|
3727
3727
|
}
|
|
3728
3728
|
async function FA(e, t, n) {
|
|
3729
|
-
return (await
|
|
3729
|
+
return (await qe.post(n + "/createReadyVersionLinkMulti", {
|
|
3730
3730
|
_id: e,
|
|
3731
3731
|
networks: t
|
|
3732
3732
|
})).data;
|
|
3733
3733
|
}
|
|
3734
3734
|
async function _A(e, t) {
|
|
3735
|
-
return (await
|
|
3735
|
+
return (await qe.post(t + "/updateFlexUrl", e || {})).data;
|
|
3736
3736
|
}
|
|
3737
3737
|
async function Ur(e, t, n) {
|
|
3738
|
-
return (await
|
|
3738
|
+
return (await qe.post(n + "/updatePlayableVersion", {
|
|
3739
3739
|
...t,
|
|
3740
3740
|
_id: e
|
|
3741
3741
|
})).data;
|
|
@@ -3780,19 +3780,19 @@ function $A(e, t, n) {
|
|
|
3780
3780
|
function cn(e) {
|
|
3781
3781
|
let { enter: t, exit: n, appendPosition: r = !1, collapse: o = !0, collapseDuration: i = 300 } = e;
|
|
3782
3782
|
return function(a) {
|
|
3783
|
-
let { children: A, position: m, preventExitTransition: c, done: s, nodeRef: d, isIn:
|
|
3784
|
-
const
|
|
3783
|
+
let { children: A, position: m, preventExitTransition: c, done: s, nodeRef: d, isIn: g } = a;
|
|
3784
|
+
const q = r ? `${t}--${m}` : t, p = r ? `${n}--${m}` : n, h = nt(0);
|
|
3785
3785
|
return Yi(() => {
|
|
3786
|
-
const y = d.current,
|
|
3787
|
-
j.target === d.current && (y.dispatchEvent(new Event("d")), y.removeEventListener("animationend", O), y.removeEventListener("animationcancel", O), h.current === 0 && j.type !== "animationcancel" && y.classList.remove(...
|
|
3786
|
+
const y = d.current, x = q.split(" "), O = (j) => {
|
|
3787
|
+
j.target === d.current && (y.dispatchEvent(new Event("d")), y.removeEventListener("animationend", O), y.removeEventListener("animationcancel", O), h.current === 0 && j.type !== "animationcancel" && y.classList.remove(...x));
|
|
3788
3788
|
};
|
|
3789
|
-
y.classList.add(...
|
|
3789
|
+
y.classList.add(...x), y.addEventListener("animationend", O), y.addEventListener("animationcancel", O);
|
|
3790
3790
|
}, []), ve(() => {
|
|
3791
|
-
const y = d.current,
|
|
3792
|
-
y.removeEventListener("animationend",
|
|
3791
|
+
const y = d.current, x = () => {
|
|
3792
|
+
y.removeEventListener("animationend", x), o ? $A(y, s, i) : s();
|
|
3793
3793
|
};
|
|
3794
|
-
|
|
3795
|
-
}, [
|
|
3794
|
+
g || (c ? x() : (h.current = 1, y.className += ` ${p}`, y.addEventListener("animationend", x)));
|
|
3795
|
+
}, [g]), ie.createElement(ie.Fragment, null, A);
|
|
3796
3796
|
};
|
|
3797
3797
|
}
|
|
3798
3798
|
function Fr(e, t) {
|
|
@@ -3831,31 +3831,31 @@ const Se = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
3831
3831
|
return ie.createElement("div", { className: "Toastify__spinner" });
|
|
3832
3832
|
} };
|
|
3833
3833
|
function es(e) {
|
|
3834
|
-
const [, t] = zi((
|
|
3835
|
-
function m(
|
|
3836
|
-
let { containerId: p } =
|
|
3834
|
+
const [, t] = zi((q) => q + 1, 0), [n, r] = P([]), o = nt(null), i = nt(/* @__PURE__ */ new Map()).current, a = (q) => n.indexOf(q) !== -1, A = nt({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (q) => i.get(q) }).current;
|
|
3835
|
+
function m(q) {
|
|
3836
|
+
let { containerId: p } = q;
|
|
3837
3837
|
const { limit: h } = A.props;
|
|
3838
3838
|
!h || p && A.containerId !== p || (A.count -= A.queue.length, A.queue = []);
|
|
3839
3839
|
}
|
|
3840
|
-
function c(
|
|
3841
|
-
r((p) =>
|
|
3840
|
+
function c(q) {
|
|
3841
|
+
r((p) => q == null ? [] : p.filter((h) => h !== q));
|
|
3842
3842
|
}
|
|
3843
3843
|
function s() {
|
|
3844
|
-
const { toastContent:
|
|
3845
|
-
q
|
|
3844
|
+
const { toastContent: q, toastProps: p, staleId: h } = A.queue.shift();
|
|
3845
|
+
g(q, p, h);
|
|
3846
3846
|
}
|
|
3847
|
-
function d(
|
|
3848
|
-
let { delay: h, staleId: y, ...
|
|
3849
|
-
if (!Mn(
|
|
3847
|
+
function d(q, p) {
|
|
3848
|
+
let { delay: h, staleId: y, ...x } = p;
|
|
3849
|
+
if (!Mn(q) || function(X) {
|
|
3850
3850
|
return !o.current || A.props.enableMultiContainer && X.containerId !== A.props.containerId || i.has(X.toastId) && X.updateId == null;
|
|
3851
|
-
}(
|
|
3851
|
+
}(x))
|
|
3852
3852
|
return;
|
|
3853
|
-
const { toastId: O, updateId: j, data: z } =
|
|
3853
|
+
const { toastId: O, updateId: j, data: z } = x, { props: v } = A, _ = () => c(O), $ = j == null;
|
|
3854
3854
|
$ && A.count++;
|
|
3855
|
-
const F = { ...v, style: v.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(
|
|
3855
|
+
const F = { ...v, style: v.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(x).filter((X) => {
|
|
3856
3856
|
let [B, W] = X;
|
|
3857
3857
|
return W != null;
|
|
3858
|
-
})), toastId: O, updateId: j, data: z, closeToast: _, isIn: !1, className: Pt(
|
|
3858
|
+
})), toastId: O, updateId: j, data: z, closeToast: _, isIn: !1, className: Pt(x.className || v.toastClassName), bodyClassName: Pt(x.bodyClassName || v.bodyClassName), progressClassName: Pt(x.progressClassName || v.progressClassName), autoClose: !x.isLoading && (ue = x.autoClose, ee = v.autoClose, ue === !1 || Zt(ue) && ue > 0 ? ue : ee), deleteToast() {
|
|
3859
3859
|
const X = Fr(i.get(O), "removed");
|
|
3860
3860
|
i.delete(O), Se.emit(4, X);
|
|
3861
3861
|
const B = A.queue.length;
|
|
@@ -3866,7 +3866,7 @@ function es(e) {
|
|
|
3866
3866
|
else {
|
|
3867
3867
|
const Y = W > B ? B : W;
|
|
3868
3868
|
A.displayedToast = Y;
|
|
3869
|
-
for (let
|
|
3869
|
+
for (let N = 0; N < Y; N++)
|
|
3870
3870
|
s();
|
|
3871
3871
|
}
|
|
3872
3872
|
} else
|
|
@@ -3874,31 +3874,31 @@ function es(e) {
|
|
|
3874
3874
|
} };
|
|
3875
3875
|
var ue, ee;
|
|
3876
3876
|
F.iconOut = function(X) {
|
|
3877
|
-
let { theme: B, type: W, isLoading: Y, icon:
|
|
3877
|
+
let { theme: B, type: W, isLoading: Y, icon: N } = X, f = null;
|
|
3878
3878
|
const S = { theme: B, type: W };
|
|
3879
|
-
return
|
|
3880
|
-
}(F), Ie(
|
|
3881
|
-
let ae =
|
|
3882
|
-
mt(
|
|
3883
|
-
|
|
3884
|
-
}, h) :
|
|
3885
|
-
}
|
|
3886
|
-
function q
|
|
3879
|
+
return N === !1 || (Ie(N) ? f = N(S) : mt(N) ? f = En(N, S) : at(N) || Zt(N) ? f = N : Y ? f = Sn.spinner() : ((R) => R in Sn)(W) && (f = Sn[W](S))), f;
|
|
3880
|
+
}(F), Ie(x.onOpen) && (F.onOpen = x.onOpen), Ie(x.onClose) && (F.onClose = x.onClose), F.closeButton = v.closeButton, x.closeButton === !1 || Mn(x.closeButton) ? F.closeButton = x.closeButton : x.closeButton === !0 && (F.closeButton = !Mn(v.closeButton) || v.closeButton);
|
|
3881
|
+
let ae = q;
|
|
3882
|
+
mt(q) && !at(q.type) ? ae = En(q, { closeToast: _, toastProps: F, data: z }) : Ie(q) && (ae = q({ closeToast: _, toastProps: F, data: z })), v.limit && v.limit > 0 && A.count > v.limit && $ ? A.queue.push({ toastContent: ae, toastProps: F, staleId: y }) : Zt(h) ? setTimeout(() => {
|
|
3883
|
+
g(ae, F, y);
|
|
3884
|
+
}, h) : g(ae, F, y);
|
|
3885
|
+
}
|
|
3886
|
+
function g(q, p, h) {
|
|
3887
3887
|
const { toastId: y } = p;
|
|
3888
3888
|
h && i.delete(h);
|
|
3889
|
-
const
|
|
3890
|
-
i.set(y,
|
|
3889
|
+
const x = { content: q, props: p };
|
|
3890
|
+
i.set(y, x), r((O) => [...O, y].filter((j) => j !== h)), Se.emit(4, Fr(x, x.props.updateId == null ? "added" : "updated"));
|
|
3891
3891
|
}
|
|
3892
|
-
return ve(() => (A.containerId = e.containerId, Se.cancelEmit(3).on(0, d).on(1, (
|
|
3892
|
+
return ve(() => (A.containerId = e.containerId, Se.cancelEmit(3).on(0, d).on(1, (q) => o.current && c(q)).on(5, m).emit(2, A), () => {
|
|
3893
3893
|
i.clear(), Se.emit(3, A);
|
|
3894
3894
|
}), []), ve(() => {
|
|
3895
3895
|
A.props = e, A.isToastActive = a, A.displayedToast = n.length;
|
|
3896
|
-
}), { getToastToRender: function(
|
|
3896
|
+
}), { getToastToRender: function(q) {
|
|
3897
3897
|
const p = /* @__PURE__ */ new Map(), h = Array.from(i.values());
|
|
3898
3898
|
return e.newestOnTop && h.reverse(), h.forEach((y) => {
|
|
3899
|
-
const { position:
|
|
3900
|
-
p.has(
|
|
3901
|
-
}), Array.from(p, (y) =>
|
|
3899
|
+
const { position: x } = y.props;
|
|
3900
|
+
p.has(x) || p.set(x, []), p.get(x).push(y);
|
|
3901
|
+
}), Array.from(p, (y) => q(y[0], y[1]));
|
|
3902
3902
|
}, containerRef: o, isToastActive: a };
|
|
3903
3903
|
}
|
|
3904
3904
|
function _r(e) {
|
|
@@ -3908,10 +3908,10 @@ function $r(e) {
|
|
|
3908
3908
|
return e.targetTouches && e.targetTouches.length >= 1 ? e.targetTouches[0].clientY : e.clientY;
|
|
3909
3909
|
}
|
|
3910
3910
|
function ts(e) {
|
|
3911
|
-
const [t, n] = P(!1), [r, o] = P(!1), i = nt(null), a = nt({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = nt(e), { autoClose: m, pauseOnHover: c, closeToast: s, onClick: d, closeOnClick:
|
|
3912
|
-
function
|
|
3911
|
+
const [t, n] = P(!1), [r, o] = P(!1), i = nt(null), a = nt({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = nt(e), { autoClose: m, pauseOnHover: c, closeToast: s, onClick: d, closeOnClick: g } = e;
|
|
3912
|
+
function q(z) {
|
|
3913
3913
|
if (e.draggable) {
|
|
3914
|
-
z.nativeEvent.type === "touchstart" && z.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove",
|
|
3914
|
+
z.nativeEvent.type === "touchstart" && z.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", x), document.addEventListener("mouseup", O), document.addEventListener("touchmove", x), document.addEventListener("touchend", O);
|
|
3915
3915
|
const v = i.current;
|
|
3916
3916
|
a.canCloseOnClick = !0, a.canDrag = !0, a.boundingRect = v.getBoundingClientRect(), v.style.transition = "", a.x = _r(z.nativeEvent), a.y = $r(z.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));
|
|
3917
3917
|
}
|
|
@@ -3928,12 +3928,12 @@ function ts(e) {
|
|
|
3928
3928
|
function y() {
|
|
3929
3929
|
n(!1);
|
|
3930
3930
|
}
|
|
3931
|
-
function
|
|
3931
|
+
function x(z) {
|
|
3932
3932
|
const v = i.current;
|
|
3933
3933
|
a.canDrag && v && (a.didMove = !0, t && y(), a.x = _r(z), a.y = $r(z), 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)));
|
|
3934
3934
|
}
|
|
3935
3935
|
function O() {
|
|
3936
|
-
document.removeEventListener("mousemove",
|
|
3936
|
+
document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", O), document.removeEventListener("touchmove", x), document.removeEventListener("touchend", O);
|
|
3937
3937
|
const z = i.current;
|
|
3938
3938
|
if (a.canDrag && a.didMove && z) {
|
|
3939
3939
|
if (a.canDrag = !1, Math.abs(a.delta) > a.removalDistance)
|
|
@@ -3949,8 +3949,8 @@ function ts(e) {
|
|
|
3949
3949
|
}), []), ve(() => (e.pauseOnFocusLoss && (document.hasFocus() || y(), window.addEventListener("focus", h), window.addEventListener("blur", y)), () => {
|
|
3950
3950
|
e.pauseOnFocusLoss && (window.removeEventListener("focus", h), window.removeEventListener("blur", y));
|
|
3951
3951
|
}), [e.pauseOnFocusLoss]);
|
|
3952
|
-
const j = { onMouseDown:
|
|
3953
|
-
return m && c && (j.onMouseEnter = y, j.onMouseLeave = h),
|
|
3952
|
+
const j = { onMouseDown: q, onTouchStart: q, onMouseUp: p, onTouchEnd: p };
|
|
3953
|
+
return m && c && (j.onMouseEnter = y, j.onMouseLeave = h), g && (j.onClick = (z) => {
|
|
3954
3954
|
d && d(z), a.canCloseOnClick && s();
|
|
3955
3955
|
}), { playToast: h, pauseToast: y, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: j };
|
|
3956
3956
|
}
|
|
@@ -3961,18 +3961,18 @@ function ei(e) {
|
|
|
3961
3961
|
}, "aria-label": r }, ie.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, ie.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" })));
|
|
3962
3962
|
}
|
|
3963
3963
|
function ns(e) {
|
|
3964
|
-
let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: m, progress: c, rtl: s, isIn: d, theme:
|
|
3965
|
-
const
|
|
3964
|
+
let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: m, progress: c, rtl: s, isIn: d, theme: g } = e;
|
|
3965
|
+
const q = i || m && c === 0, p = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: q ? 0 : 1 };
|
|
3966
3966
|
m && (p.transform = `scaleX(${c})`);
|
|
3967
|
-
const h = Be("Toastify__progress-bar", m ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${
|
|
3968
|
-
return ie.createElement("div", { role: "progressbar", "aria-hidden":
|
|
3967
|
+
const h = Be("Toastify__progress-bar", m ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${g}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), y = Ie(a) ? a({ rtl: s, type: o, defaultClassName: h }) : Be(h, a);
|
|
3968
|
+
return ie.createElement("div", { role: "progressbar", "aria-hidden": q ? "true" : "false", "aria-label": "notification timer", className: y, style: p, [m && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: m && c < 1 ? null : () => {
|
|
3969
3969
|
d && r();
|
|
3970
3970
|
} });
|
|
3971
3971
|
}
|
|
3972
3972
|
const rs = (e) => {
|
|
3973
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = ts(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: s, closeToast: d, transition:
|
|
3973
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = ts(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: s, closeToast: d, transition: g, position: q, className: p, style: h, bodyClassName: y, bodyStyle: x, progressClassName: O, progressStyle: j, updateId: z, role: v, progress: _, rtl: $, toastId: F, deleteToast: ue, isIn: ee, isLoading: ae, iconOut: X, closeOnClick: B, theme: W } = e, Y = Be("Toastify__toast", `Toastify__toast-theme--${W}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": $ }, { "Toastify__toast--close-on-click": B }), N = Ie(p) ? p({ rtl: $, position: q, type: c, defaultClassName: Y }) : Be(Y, p), f = !!_ || !A, S = { closeToast: d, type: c, theme: W };
|
|
3974
3974
|
let R = null;
|
|
3975
|
-
return i === !1 || (R = Ie(i) ? i(S) : mt(i) ? En(i, S) : ei(S)), ie.createElement(
|
|
3975
|
+
return i === !1 || (R = Ie(i) ? i(S) : mt(i) ? En(i, S) : ei(S)), ie.createElement(g, { isIn: ee, done: ue, position: q, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: F, onClick: m, className: N, ...o, style: h, ref: r }, ie.createElement("div", { ...ee && { role: v }, className: Ie(y) ? y({ type: c }) : Be("Toastify__toast-body", y), style: x }, X != null && ie.createElement("div", { className: Be("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, X), ie.createElement("div", null, a)), R, ie.createElement(ns, { ...z && !f ? { key: `pb-${z}` } : {}, rtl: $, theme: W, delay: A, isRunning: t, isIn: ee, closeToast: d, hide: s, type: c, style: j, className: O, controlledProgress: f, progress: _ || 0 })));
|
|
3976
3976
|
}, mn = function(e, t) {
|
|
3977
3977
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3978
3978
|
}, os = cn(mn("bounce", !0));
|
|
@@ -3988,9 +3988,9 @@ const Gn = ki((e, t) => {
|
|
|
3988
3988
|
return ve(() => {
|
|
3989
3989
|
t && (t.current = r.current);
|
|
3990
3990
|
}, []), ie.createElement("div", { ref: r, className: "Toastify", id: m }, n((s, d) => {
|
|
3991
|
-
const
|
|
3992
|
-
return ie.createElement("div", { className: c(s), style:
|
|
3993
|
-
let { content: h, props: y } =
|
|
3991
|
+
const g = d.length ? { ...a } : { ...a, pointerEvents: "none" };
|
|
3992
|
+
return ie.createElement("div", { className: c(s), style: g, key: `container-${s}` }, d.map((q, p) => {
|
|
3993
|
+
let { content: h, props: y } = q;
|
|
3994
3994
|
return ie.createElement(rs, { ...y, isIn: o(y.toastId), style: { ...y.style, "--nth": p + 1, "--len": d.length }, key: `toast-${y.key}` }, h);
|
|
3995
3995
|
}));
|
|
3996
3996
|
}));
|
|
@@ -4018,11 +4018,11 @@ function me(e, t) {
|
|
|
4018
4018
|
me.loading = (e, t) => It(e, Ut("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), me.promise = function(e, t, n) {
|
|
4019
4019
|
let r, { pending: o, error: i, success: a } = t;
|
|
4020
4020
|
o && (r = at(o) ? me.loading(o, n) : me.loading(o.render, { ...n, ...o }));
|
|
4021
|
-
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, m = (s, d,
|
|
4021
|
+
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, m = (s, d, g) => {
|
|
4022
4022
|
if (d == null)
|
|
4023
4023
|
return void me.dismiss(r);
|
|
4024
|
-
const
|
|
4025
|
-
return r ? me.update(r, { ...
|
|
4024
|
+
const q = { type: s, ...A, ...n, data: g }, p = at(d) ? { render: d } : d;
|
|
4025
|
+
return r ? me.update(r, { ...q, ...p }) : me(p.render, { ...q, ...p }), g;
|
|
4026
4026
|
}, c = Ie(e) ? e() : e;
|
|
4027
4027
|
return c.then((s) => m("success", a, s)).catch((s) => m("error", i, s)), c;
|
|
4028
4028
|
}, me.success = Dt("success"), me.info = Dt("info"), me.error = Dt("error"), me.warning = Dt("warning"), me.warn = me.warning, me.dark = (e, t) => It(e, Ut("default", { theme: "dark", ...t })), me.dismiss = (e) => {
|
|
@@ -4186,7 +4186,7 @@ function ls(e, t, n, r) {
|
|
|
4186
4186
|
Ge = e, ke = t, ni = n, sr = r;
|
|
4187
4187
|
}
|
|
4188
4188
|
async function Tn(e, t) {
|
|
4189
|
-
return (await
|
|
4189
|
+
return (await qe.post(t + "/findPlayable", { _id: e })).data;
|
|
4190
4190
|
}
|
|
4191
4191
|
const us = ({
|
|
4192
4192
|
versionId: e,
|
|
@@ -4200,7 +4200,7 @@ const us = ({
|
|
|
4200
4200
|
androidLink: m,
|
|
4201
4201
|
urlType: c
|
|
4202
4202
|
}) => {
|
|
4203
|
-
const [s, d] = P(!1),
|
|
4203
|
+
const [s, d] = P(!1), g = async () => {
|
|
4204
4204
|
d(!0), Ft(
|
|
4205
4205
|
e,
|
|
4206
4206
|
"default",
|
|
@@ -4211,19 +4211,19 @@ const us = ({
|
|
|
4211
4211
|
null,
|
|
4212
4212
|
!1,
|
|
4213
4213
|
{ urlType: c }
|
|
4214
|
-
).then(async (
|
|
4215
|
-
var
|
|
4214
|
+
).then(async (q) => {
|
|
4215
|
+
var x, O, j, z;
|
|
4216
4216
|
let p = "";
|
|
4217
4217
|
if (t && (n === "Playable" || n === "Ready")) {
|
|
4218
4218
|
const v = await Tn(t, r);
|
|
4219
4219
|
console.log(v);
|
|
4220
|
-
const _ = (O = (
|
|
4220
|
+
const _ = (O = (x = v == null ? void 0 : v.data) == null ? void 0 : x.globalProps) == null ? void 0 : O.defaultLandscape, $ = (z = (j = v == null ? void 0 : v.data) == null ? void 0 : j.globalProps) == null ? void 0 : z.defaultPhoneIndex;
|
|
4221
4221
|
console.log(_, $), _ && (p += "&landscape=true"), $ !== void 0 && (p += `&phoneIndex=${$}`);
|
|
4222
4222
|
}
|
|
4223
4223
|
Tn(t, r), d(!1);
|
|
4224
4224
|
let h;
|
|
4225
4225
|
n === "Flex" ? h = `${o}/preview?versionId=${e}` : n === "Import" ? h = `${o}/preview?versionId=${e}_` : n === "Ready" ? h = `${o}/preview?versionId=${e}_&ready=true` : h = `${o}/preview?versionId=${e}_`, h += p, un(h) ? Ot("Link copied") : i(h), d(!1);
|
|
4226
|
-
}).catch((
|
|
4226
|
+
}).catch((q) => {
|
|
4227
4227
|
d(!1);
|
|
4228
4228
|
});
|
|
4229
4229
|
};
|
|
@@ -4308,7 +4308,7 @@ const us = ({
|
|
|
4308
4308
|
cursor: "pointer"
|
|
4309
4309
|
},
|
|
4310
4310
|
onClick: () => {
|
|
4311
|
-
s ||
|
|
4311
|
+
s || g();
|
|
4312
4312
|
},
|
|
4313
4313
|
children: [
|
|
4314
4314
|
/* @__PURE__ */ l.jsx(
|
|
@@ -4376,7 +4376,7 @@ const us = ({
|
|
|
4376
4376
|
androidLink: s,
|
|
4377
4377
|
urlType: d
|
|
4378
4378
|
}) => {
|
|
4379
|
-
const [
|
|
4379
|
+
const [g, q] = P(window.innerWidth);
|
|
4380
4380
|
console.log("iosLink", c), ve(() => {
|
|
4381
4381
|
console.log("re add event listener");
|
|
4382
4382
|
function h(y) {
|
|
@@ -4387,7 +4387,7 @@ const us = ({
|
|
|
4387
4387
|
};
|
|
4388
4388
|
}, [c, s]), ve(() => {
|
|
4389
4389
|
const h = () => {
|
|
4390
|
-
|
|
4390
|
+
q(window.innerWidth);
|
|
4391
4391
|
};
|
|
4392
4392
|
return window.addEventListener("resize", h), () => {
|
|
4393
4393
|
window.removeEventListener("resize", h);
|
|
@@ -4403,7 +4403,7 @@ const us = ({
|
|
|
4403
4403
|
flexDirection: "column",
|
|
4404
4404
|
justifyContent: "space-between",
|
|
4405
4405
|
padding: "5px",
|
|
4406
|
-
height:
|
|
4406
|
+
height: g > 1440 ? "680px" : "620px",
|
|
4407
4407
|
borderRadius: "0px 0px 0px 16px",
|
|
4408
4408
|
marginTop: "20px"
|
|
4409
4409
|
},
|
|
@@ -4596,7 +4596,7 @@ const ri = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4596
4596
|
}
|
|
4597
4597
|
);
|
|
4598
4598
|
async function ds(e, t) {
|
|
4599
|
-
return (await
|
|
4599
|
+
return (await qe.post(t + "/buyRequest", {
|
|
4600
4600
|
requestType: e
|
|
4601
4601
|
})).data;
|
|
4602
4602
|
}
|
|
@@ -4854,7 +4854,7 @@ const ps = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4854
4854
|
]
|
|
4855
4855
|
}
|
|
4856
4856
|
) });
|
|
4857
|
-
},
|
|
4857
|
+
}, qs = ({
|
|
4858
4858
|
typeOfProduct: e,
|
|
4859
4859
|
fileSize: t,
|
|
4860
4860
|
urls: n,
|
|
@@ -4867,9 +4867,9 @@ const ps = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4867
4867
|
isTest: c,
|
|
4868
4868
|
setIsTest: s,
|
|
4869
4869
|
urlType: d,
|
|
4870
|
-
setUrlType:
|
|
4870
|
+
setUrlType: g
|
|
4871
4871
|
}) => {
|
|
4872
|
-
const
|
|
4872
|
+
const q = () => /* @__PURE__ */ l.jsxs(
|
|
4873
4873
|
"div",
|
|
4874
4874
|
{
|
|
4875
4875
|
style: {
|
|
@@ -4986,7 +4986,7 @@ const ps = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4986
4986
|
},
|
|
4987
4987
|
onClick: () => {
|
|
4988
4988
|
document.getElementById("tab-switch-background").style.left = "0%", document.getElementById("single-tab").style.color = "#a3a3a3", document.getElementById("game-tab").style.color = "#000", document.getElementById("single-tab").style.fontWeight = "normal", document.getElementById("game-tab").style.fontWeight = "bold", setTimeout(() => {
|
|
4989
|
-
|
|
4989
|
+
g("game");
|
|
4990
4990
|
}, 200);
|
|
4991
4991
|
},
|
|
4992
4992
|
children: /* @__PURE__ */ l.jsx(
|
|
@@ -5019,7 +5019,7 @@ const ps = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
5019
5019
|
},
|
|
5020
5020
|
onClick: () => {
|
|
5021
5021
|
document.getElementById("tab-switch-background").style.left = "50%", document.getElementById("single-tab").style.color = "#000", document.getElementById("game-tab").style.color = "#a3a3a3", document.getElementById("single-tab").style.fontWeight = "bold", document.getElementById("game-tab").style.fontWeight = "normal", setTimeout(() => {
|
|
5022
|
-
|
|
5022
|
+
g("single");
|
|
5023
5023
|
}, 200);
|
|
5024
5024
|
},
|
|
5025
5025
|
children: /* @__PURE__ */ l.jsx(
|
|
@@ -5050,7 +5050,7 @@ const ps = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
5050
5050
|
flexDirection: "column"
|
|
5051
5051
|
},
|
|
5052
5052
|
children: [
|
|
5053
|
-
m.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ l.jsx(
|
|
5053
|
+
m.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ l.jsx(q, {}),
|
|
5054
5054
|
e === "Ready" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
5055
5055
|
/* @__PURE__ */ l.jsx(p, {}),
|
|
5056
5056
|
d === "game" && /* @__PURE__ */ l.jsx(
|
|
@@ -5087,7 +5087,7 @@ const ps = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
5087
5087
|
]
|
|
5088
5088
|
}
|
|
5089
5089
|
) });
|
|
5090
|
-
},
|
|
5090
|
+
}, gs = ({ typeOfProduct: e, title: t, fileSize: n }) => /* @__PURE__ */ l.jsxs("div", { style: { fontSize: "1.5rem", fontWeight: "bold", paddingTop: "20px" }, children: [
|
|
5091
5091
|
/* @__PURE__ */ l.jsx(
|
|
5092
5092
|
"span",
|
|
5093
5093
|
{
|
|
@@ -5128,8 +5128,8 @@ const ps = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
5128
5128
|
user: c,
|
|
5129
5129
|
isTest: s,
|
|
5130
5130
|
setIsTest: d,
|
|
5131
|
-
urlType:
|
|
5132
|
-
setUrlType:
|
|
5131
|
+
urlType: g,
|
|
5132
|
+
setUrlType: q,
|
|
5133
5133
|
allNetworksSelected: p,
|
|
5134
5134
|
setAllNetworksSelected: h
|
|
5135
5135
|
}) => /* @__PURE__ */ l.jsxs(
|
|
@@ -5151,9 +5151,9 @@ const ps = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
5151
5151
|
// gap-1
|
|
5152
5152
|
},
|
|
5153
5153
|
children: [
|
|
5154
|
-
/* @__PURE__ */ l.jsx(
|
|
5154
|
+
/* @__PURE__ */ l.jsx(gs, { typeOfProduct: e, title: r, fileSize: t }),
|
|
5155
5155
|
/* @__PURE__ */ l.jsx(
|
|
5156
|
-
|
|
5156
|
+
qs,
|
|
5157
5157
|
{
|
|
5158
5158
|
typeOfProduct: e,
|
|
5159
5159
|
fileSize: t,
|
|
@@ -5166,8 +5166,8 @@ const ps = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
5166
5166
|
user: c,
|
|
5167
5167
|
isTest: s,
|
|
5168
5168
|
setIsTest: d,
|
|
5169
|
-
urlType:
|
|
5170
|
-
setUrlType:
|
|
5169
|
+
urlType: g,
|
|
5170
|
+
setUrlType: q
|
|
5171
5171
|
}
|
|
5172
5172
|
),
|
|
5173
5173
|
/* @__PURE__ */ l.jsx(
|
|
@@ -5793,7 +5793,7 @@ const vs = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
|
5793
5793
|
}
|
|
5794
5794
|
);
|
|
5795
5795
|
async function Zs(e, t, n, r) {
|
|
5796
|
-
return (await
|
|
5796
|
+
return (await qe.post(e + "/createMolocoTestPage", {
|
|
5797
5797
|
_id: t,
|
|
5798
5798
|
network: n,
|
|
5799
5799
|
typeOfProduct: r
|
|
@@ -5812,19 +5812,19 @@ const Is = ({
|
|
|
5812
5812
|
versionId: c,
|
|
5813
5813
|
api: s,
|
|
5814
5814
|
handleDownloadError: d,
|
|
5815
|
-
fetchFileUrl:
|
|
5816
|
-
urls:
|
|
5815
|
+
fetchFileUrl: g,
|
|
5816
|
+
urls: q,
|
|
5817
5817
|
game: p,
|
|
5818
5818
|
setIsConfirmActive: h,
|
|
5819
5819
|
creditDownload: y,
|
|
5820
|
-
getDownloadCount:
|
|
5820
|
+
getDownloadCount: x,
|
|
5821
5821
|
disabled: O,
|
|
5822
5822
|
user: j,
|
|
5823
5823
|
setSafariCopyLink: z,
|
|
5824
5824
|
isTest: v,
|
|
5825
5825
|
urlType: _
|
|
5826
5826
|
}) => {
|
|
5827
|
-
const [$, F] = P(!1), [ue, ee] = P(""), [ae, X] = P(!1), [B, W] = P(!1), [Y,
|
|
5827
|
+
const [$, F] = P(!1), [ue, ee] = P(""), [ae, X] = P(!1), [B, W] = P(!1), [Y, N] = P(!1), [f, S] = P("download"), [R, C] = P(!1), [Z, M] = P(!1), [E, k] = P(!1);
|
|
5828
5828
|
let V = {
|
|
5829
5829
|
aarki: "html,copy",
|
|
5830
5830
|
adcolony: "copy,html",
|
|
@@ -5869,30 +5869,30 @@ const Is = ({
|
|
|
5869
5869
|
jammp: "copy,html",
|
|
5870
5870
|
mraid: "copy,html"
|
|
5871
5871
|
};
|
|
5872
|
-
const
|
|
5872
|
+
const w = () => {
|
|
5873
5873
|
n(e);
|
|
5874
|
-
},
|
|
5875
|
-
Ft(c, D,
|
|
5874
|
+
}, J = async (D, K) => (F(!0), new Promise((le, Je) => {
|
|
5875
|
+
Ft(c, D, q, K, v, { urlType: _ }).then((Ce) => {
|
|
5876
5876
|
F(!1), le(Ce);
|
|
5877
5877
|
}).catch((Ce) => {
|
|
5878
5878
|
F(!1), d(Ce.message, Ce), Je(Ce);
|
|
5879
5879
|
});
|
|
5880
5880
|
})), Q = async (D = !1) => {
|
|
5881
5881
|
D ? M(!0) : C(!0);
|
|
5882
|
-
const
|
|
5882
|
+
const K = {
|
|
5883
5883
|
molocoGenerateHtml: !1
|
|
5884
5884
|
};
|
|
5885
|
-
D && (
|
|
5886
|
-
D ? M(!1) : C(!1),
|
|
5885
|
+
D && (K.molocoGenerateHtml = !0), Ft(c, o, q, "download", v, K).then((le) => {
|
|
5886
|
+
D ? M(!1) : C(!1), N(!1);
|
|
5887
5887
|
}).catch((le) => {
|
|
5888
5888
|
d(le.message, le);
|
|
5889
5889
|
});
|
|
5890
5890
|
}, U = async () => {
|
|
5891
5891
|
k(!0);
|
|
5892
5892
|
const D = await Zs(s, c, o, m);
|
|
5893
|
-
let
|
|
5894
|
-
un(
|
|
5895
|
-
},
|
|
5893
|
+
let K = `${g}/${D == null ? void 0 : D.url}`;
|
|
5894
|
+
un(K) ? (Ot("Link Copied"), k(!1)) : z(K);
|
|
5895
|
+
}, G = o === "moloco" || o === "molocoV2";
|
|
5896
5896
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
5897
5897
|
/* @__PURE__ */ l.jsxs(
|
|
5898
5898
|
"div",
|
|
@@ -5913,7 +5913,7 @@ const Is = ({
|
|
|
5913
5913
|
cursor: "pointer"
|
|
5914
5914
|
},
|
|
5915
5915
|
className: "border-hover-" + m,
|
|
5916
|
-
onClick:
|
|
5916
|
+
onClick: w,
|
|
5917
5917
|
children: [
|
|
5918
5918
|
/* @__PURE__ */ l.jsxs(
|
|
5919
5919
|
"div",
|
|
@@ -5992,7 +5992,7 @@ const Is = ({
|
|
|
5992
5992
|
/* @__PURE__ */ l.jsx(
|
|
5993
5993
|
"img",
|
|
5994
5994
|
{
|
|
5995
|
-
onClick:
|
|
5995
|
+
onClick: w,
|
|
5996
5996
|
style: {
|
|
5997
5997
|
width: "30rem",
|
|
5998
5998
|
// Equivalent to 120/4 = 30rem
|
|
@@ -6018,16 +6018,16 @@ const Is = ({
|
|
|
6018
6018
|
/* @__PURE__ */ l.jsxs(
|
|
6019
6019
|
On,
|
|
6020
6020
|
{
|
|
6021
|
-
className: `${
|
|
6021
|
+
className: `${G ? "w-1/2" : "w-2/3"} border-hover-` + m,
|
|
6022
6022
|
downloading: $,
|
|
6023
6023
|
onClickDonwload: async (D) => {
|
|
6024
|
-
if (D.stopPropagation(),
|
|
6025
|
-
|
|
6024
|
+
if (D.stopPropagation(), G && j.customer === "playableFactoryInternal") {
|
|
6025
|
+
N(!0);
|
|
6026
6026
|
return;
|
|
6027
6027
|
} else {
|
|
6028
6028
|
ee("download");
|
|
6029
|
-
const
|
|
6030
|
-
y && y.willSpendCredit ? (h(!0), S("download"), X(!0)) : ["Playable", "Flex"].includes(m) && (!
|
|
6029
|
+
const K = q.iosUrl, le = q.googleUrl;
|
|
6030
|
+
y && y.willSpendCredit ? (h(!0), S("download"), X(!0)) : ["Playable", "Flex"].includes(m) && (!K || !le) || m === "Ready" && _ === "single" && !K || m === "Ready" && _ === "multi" && (!K || !le) ? (h(!0), W(!0)) : (W(!1), X(!1), await J(o, "download"));
|
|
6031
6031
|
}
|
|
6032
6032
|
},
|
|
6033
6033
|
children: [
|
|
@@ -6047,7 +6047,7 @@ const Is = ({
|
|
|
6047
6047
|
}
|
|
6048
6048
|
}
|
|
6049
6049
|
),
|
|
6050
|
-
|
|
6050
|
+
G && j.customer !== "playableFactoryInternal" ? "TXT" : "Download"
|
|
6051
6051
|
] }),
|
|
6052
6052
|
$ && /* @__PURE__ */ l.jsx(ur, {})
|
|
6053
6053
|
]
|
|
@@ -6059,21 +6059,21 @@ const Is = ({
|
|
|
6059
6059
|
className: "w-1/3 border-hover-" + m,
|
|
6060
6060
|
onClickDonwload: async (D) => {
|
|
6061
6061
|
D.stopPropagation(), ee("copyLink");
|
|
6062
|
-
const
|
|
6063
|
-
y && (y != null && y.willSpendCredit) ? (S("copy"), h(!0), X(!0)) : m !== "Import" && (!
|
|
6062
|
+
const K = q.iosUrl, le = q.googleUrl;
|
|
6063
|
+
y && (y != null && y.willSpendCredit) ? (S("copy"), h(!0), X(!0)) : m !== "Import" && (!K || !le) ? (h(!0), W(!0)) : (X(!1), W(!1), await J(o, "copy"));
|
|
6064
6064
|
},
|
|
6065
6065
|
disabled: O,
|
|
6066
6066
|
children: /* @__PURE__ */ l.jsx(xo, { className: "h-6 w-6 stroke-dark-full" })
|
|
6067
6067
|
}
|
|
6068
6068
|
),
|
|
6069
|
-
|
|
6069
|
+
G && j.customer !== "playableFactoryInternal" && /* @__PURE__ */ l.jsx(
|
|
6070
6070
|
On,
|
|
6071
6071
|
{
|
|
6072
6072
|
className: "w-1/2 border-hover-" + m,
|
|
6073
6073
|
onClickDonwload: async (D) => {
|
|
6074
6074
|
D.stopPropagation(), ee("download");
|
|
6075
|
-
const
|
|
6076
|
-
y && (y != null && y.willSpendCredit) ? (S("download"), h(!0), X(!0)) : m !== "Import" && (!
|
|
6075
|
+
const K = q.iosUrl, le = q.googleUrl;
|
|
6076
|
+
y && (y != null && y.willSpendCredit) ? (S("download"), h(!0), X(!0)) : m !== "Import" && (!K || !le) ? (h(!0), W(!0)) : (X(!1), W(!1), await Q(!0));
|
|
6077
6077
|
},
|
|
6078
6078
|
disabled: O,
|
|
6079
6079
|
children: /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
@@ -6098,6 +6098,18 @@ const Is = ({
|
|
|
6098
6098
|
)
|
|
6099
6099
|
]
|
|
6100
6100
|
}
|
|
6101
|
+
),
|
|
6102
|
+
G && /* @__PURE__ */ l.jsx(
|
|
6103
|
+
"img",
|
|
6104
|
+
{
|
|
6105
|
+
style: {
|
|
6106
|
+
position: "absolute",
|
|
6107
|
+
width: "135px",
|
|
6108
|
+
right: "0",
|
|
6109
|
+
top: "18px"
|
|
6110
|
+
},
|
|
6111
|
+
src: "https://home.playablefactory.app/recommended_badge.png"
|
|
6112
|
+
}
|
|
6101
6113
|
)
|
|
6102
6114
|
]
|
|
6103
6115
|
}
|
|
@@ -6107,15 +6119,15 @@ const Is = ({
|
|
|
6107
6119
|
{
|
|
6108
6120
|
creditConfirmType: f,
|
|
6109
6121
|
handleCopyLink: async () => {
|
|
6110
|
-
W(!1), h(!1), await
|
|
6122
|
+
W(!1), h(!1), await J(o, "copy");
|
|
6111
6123
|
},
|
|
6112
6124
|
download: async () => {
|
|
6113
|
-
W(!1), h(!1), await
|
|
6125
|
+
W(!1), h(!1), await J(o, "download");
|
|
6114
6126
|
},
|
|
6115
6127
|
onClose: () => {
|
|
6116
6128
|
X(!1), h(!1);
|
|
6117
6129
|
},
|
|
6118
|
-
getDownloadCount:
|
|
6130
|
+
getDownloadCount: x
|
|
6119
6131
|
}
|
|
6120
6132
|
),
|
|
6121
6133
|
B && /* @__PURE__ */ l.jsx(
|
|
@@ -6124,14 +6136,14 @@ const Is = ({
|
|
|
6124
6136
|
onClose: () => {
|
|
6125
6137
|
W(!1), h(!1);
|
|
6126
6138
|
},
|
|
6127
|
-
iosLink:
|
|
6128
|
-
googleLink:
|
|
6139
|
+
iosLink: q.iosUrl,
|
|
6140
|
+
googleLink: q.googleUrl,
|
|
6129
6141
|
buttonType: ue,
|
|
6130
6142
|
handleCopyLink: async () => {
|
|
6131
|
-
W(!1), h(!1), await
|
|
6143
|
+
W(!1), h(!1), await J(o, "copy");
|
|
6132
6144
|
},
|
|
6133
6145
|
download: async () => {
|
|
6134
|
-
W(!1), h(!1), await
|
|
6146
|
+
W(!1), h(!1), await J(o, "download");
|
|
6135
6147
|
},
|
|
6136
6148
|
typeOfProduct: m,
|
|
6137
6149
|
urlType: _
|
|
@@ -6141,7 +6153,7 @@ const Is = ({
|
|
|
6141
6153
|
Cs,
|
|
6142
6154
|
{
|
|
6143
6155
|
onClose: () => {
|
|
6144
|
-
|
|
6156
|
+
N(!1);
|
|
6145
6157
|
},
|
|
6146
6158
|
handleDownload: Q,
|
|
6147
6159
|
handleDownloadMolocoTest: U,
|
|
@@ -6155,242 +6167,242 @@ const Is = ({
|
|
|
6155
6167
|
{
|
|
6156
6168
|
id: "33",
|
|
6157
6169
|
name: "web",
|
|
6158
|
-
imageSrc: "https://
|
|
6170
|
+
imageSrc: "https://home.playablefactory.com/files/network_icons/web.png"
|
|
6159
6171
|
},
|
|
6160
6172
|
{
|
|
6161
6173
|
id: "1",
|
|
6162
6174
|
name: "unity",
|
|
6163
|
-
imageSrc: "https://
|
|
6175
|
+
imageSrc: "https://home.playablefactory.com/unity.png"
|
|
6164
6176
|
},
|
|
6165
6177
|
{
|
|
6166
6178
|
id: "2",
|
|
6167
6179
|
name: "applovin",
|
|
6168
|
-
imageSrc: "https://
|
|
6180
|
+
imageSrc: "https://home.playablefactory.com/applovin.png"
|
|
6169
6181
|
},
|
|
6170
6182
|
{
|
|
6171
6183
|
id: "3",
|
|
6172
6184
|
name: "ironsource",
|
|
6173
|
-
imageSrc: "https://
|
|
6185
|
+
imageSrc: "https://home.playablefactory.com/ironsource.png"
|
|
6174
6186
|
},
|
|
6175
6187
|
{
|
|
6176
6188
|
id: "4",
|
|
6177
6189
|
name: "vungle",
|
|
6178
|
-
imageSrc: "https://
|
|
6190
|
+
imageSrc: "https://home.playablefactory.com/vungle.png"
|
|
6179
6191
|
},
|
|
6180
6192
|
{
|
|
6181
6193
|
id: "5",
|
|
6182
6194
|
name: "mobvista",
|
|
6183
|
-
imageSrc: "https://
|
|
6195
|
+
imageSrc: "https://home.playablefactory.com/mobvista.png"
|
|
6184
6196
|
},
|
|
6185
6197
|
{
|
|
6186
6198
|
id: "6",
|
|
6187
6199
|
name: "fb",
|
|
6188
|
-
imageSrc: "https://
|
|
6200
|
+
imageSrc: "https://home.playablefactory.com/fb.png"
|
|
6189
6201
|
},
|
|
6190
6202
|
{
|
|
6191
6203
|
id: "7",
|
|
6192
6204
|
name: "toutiao",
|
|
6193
|
-
imageSrc: "https://
|
|
6205
|
+
imageSrc: "https://home.playablefactory.com/toutiao.png"
|
|
6194
6206
|
},
|
|
6195
6207
|
{
|
|
6196
6208
|
id: "8",
|
|
6197
6209
|
name: "toutiao_cn",
|
|
6198
|
-
imageSrc: "https://
|
|
6210
|
+
imageSrc: "https://home.playablefactory.com/toutiao_cn.png"
|
|
6199
6211
|
},
|
|
6200
6212
|
{
|
|
6201
6213
|
id: "9",
|
|
6202
6214
|
name: "adcolony",
|
|
6203
|
-
imageSrc: "https://
|
|
6215
|
+
imageSrc: "https://home.playablefactory.com/adcolony.png"
|
|
6204
6216
|
},
|
|
6205
6217
|
{
|
|
6206
6218
|
id: "10",
|
|
6207
6219
|
name: "criteo",
|
|
6208
|
-
imageSrc: "https://
|
|
6220
|
+
imageSrc: "https://home.playablefactory.com/criteo.png"
|
|
6209
6221
|
},
|
|
6210
6222
|
{
|
|
6211
6223
|
id: "11",
|
|
6212
6224
|
name: "chartboost",
|
|
6213
|
-
imageSrc: "https://
|
|
6225
|
+
imageSrc: "https://home.playablefactory.com/chartboost.png"
|
|
6214
6226
|
},
|
|
6215
6227
|
{
|
|
6216
6228
|
id: "12",
|
|
6217
6229
|
name: "kayzen",
|
|
6218
|
-
imageSrc: "https://
|
|
6230
|
+
imageSrc: "https://home.playablefactory.com/kayzen.png"
|
|
6219
6231
|
},
|
|
6220
6232
|
{
|
|
6221
6233
|
id: "13",
|
|
6222
6234
|
name: "crossinstall",
|
|
6223
|
-
imageSrc: "https://
|
|
6235
|
+
imageSrc: "https://home.playablefactory.com/crossinstall.png"
|
|
6224
6236
|
},
|
|
6225
6237
|
{
|
|
6226
6238
|
id: "14",
|
|
6227
6239
|
name: "default",
|
|
6228
|
-
imageSrc: "https://
|
|
6240
|
+
imageSrc: "https://home.playablefactory.com/default.png"
|
|
6229
6241
|
},
|
|
6230
6242
|
{
|
|
6231
6243
|
id: "15",
|
|
6232
6244
|
name: "fyber",
|
|
6233
|
-
imageSrc: "https://
|
|
6245
|
+
imageSrc: "https://home.playablefactory.com/fyber.png"
|
|
6234
6246
|
},
|
|
6235
6247
|
{
|
|
6236
6248
|
id: "16",
|
|
6237
6249
|
name: "appreciate",
|
|
6238
|
-
imageSrc: "https://
|
|
6250
|
+
imageSrc: "https://home.playablefactory.com/appreciate.png"
|
|
6239
6251
|
},
|
|
6240
6252
|
{
|
|
6241
6253
|
id: "17",
|
|
6242
6254
|
name: "google360",
|
|
6243
|
-
imageSrc: "https://
|
|
6255
|
+
imageSrc: "https://home.playablefactory.com/google360.png"
|
|
6244
6256
|
},
|
|
6245
6257
|
{
|
|
6246
6258
|
id: "18",
|
|
6247
6259
|
name: "kaden",
|
|
6248
|
-
imageSrc: "https://
|
|
6260
|
+
imageSrc: "https://home.playablefactory.com/kaden.png"
|
|
6249
6261
|
},
|
|
6250
6262
|
{
|
|
6251
6263
|
id: "19",
|
|
6252
6264
|
name: "kidoz",
|
|
6253
|
-
imageSrc: "https://
|
|
6265
|
+
imageSrc: "https://home.playablefactory.com/kidoz.png"
|
|
6254
6266
|
},
|
|
6255
6267
|
{
|
|
6256
6268
|
id: "20",
|
|
6257
6269
|
name: "lifestreet",
|
|
6258
|
-
imageSrc: "https://
|
|
6270
|
+
imageSrc: "https://home.playablefactory.com/lifestreet.png"
|
|
6259
6271
|
},
|
|
6260
6272
|
{
|
|
6261
6273
|
id: "21",
|
|
6262
6274
|
name: "liftoff",
|
|
6263
|
-
imageSrc: "https://
|
|
6275
|
+
imageSrc: "https://home.playablefactory.com/liftoff.png"
|
|
6264
6276
|
},
|
|
6265
6277
|
{
|
|
6266
6278
|
id: "22",
|
|
6267
6279
|
name: "moloco",
|
|
6268
|
-
imageSrc: "https://
|
|
6280
|
+
imageSrc: "https://home.playablefactory.com/moloco.png"
|
|
6269
6281
|
},
|
|
6270
6282
|
{
|
|
6271
6283
|
id: "23",
|
|
6272
6284
|
name: "nucleo",
|
|
6273
|
-
imageSrc: "https://
|
|
6285
|
+
imageSrc: "https://home.playablefactory.com/nucleo.png"
|
|
6274
6286
|
},
|
|
6275
6287
|
{
|
|
6276
6288
|
id: "24",
|
|
6277
6289
|
name: "oceanengine",
|
|
6278
|
-
imageSrc: "https://
|
|
6290
|
+
imageSrc: "https://home.playablefactory.com/oceanengine.png"
|
|
6279
6291
|
},
|
|
6280
6292
|
{
|
|
6281
6293
|
id: "25",
|
|
6282
6294
|
name: "pointblank",
|
|
6283
|
-
imageSrc: "https://
|
|
6295
|
+
imageSrc: "https://home.playablefactory.com/pointblank.png"
|
|
6284
6296
|
},
|
|
6285
6297
|
{
|
|
6286
6298
|
id: "26",
|
|
6287
6299
|
name: "snapchat",
|
|
6288
|
-
imageSrc: "https://
|
|
6300
|
+
imageSrc: "https://home.playablefactory.com/snapchat.png"
|
|
6289
6301
|
},
|
|
6290
6302
|
{
|
|
6291
6303
|
id: "27",
|
|
6292
6304
|
name: "tapjoy",
|
|
6293
|
-
imageSrc: "https://
|
|
6305
|
+
imageSrc: "https://home.playablefactory.com/tapjoy.png"
|
|
6294
6306
|
},
|
|
6295
6307
|
{
|
|
6296
6308
|
id: "28",
|
|
6297
6309
|
name: "tencent",
|
|
6298
|
-
imageSrc: "https://
|
|
6310
|
+
imageSrc: "https://home.playablefactory.com/tencent.png"
|
|
6299
6311
|
},
|
|
6300
6312
|
{
|
|
6301
6313
|
id: "31",
|
|
6302
6314
|
name: "aarki",
|
|
6303
|
-
imageSrc: "https://
|
|
6315
|
+
imageSrc: "https://home.playablefactory.com/aarki.png"
|
|
6304
6316
|
},
|
|
6305
6317
|
{
|
|
6306
6318
|
id: "32",
|
|
6307
6319
|
name: "yandex",
|
|
6308
|
-
imageSrc: "https://
|
|
6320
|
+
imageSrc: "https://home.playablefactory.com/yandex.png"
|
|
6309
6321
|
},
|
|
6310
6322
|
{
|
|
6311
6323
|
id: "34",
|
|
6312
6324
|
name: "zucks",
|
|
6313
|
-
imageSrc: "https://
|
|
6325
|
+
imageSrc: "https://home.playablefactory.com/zucks.png"
|
|
6314
6326
|
},
|
|
6315
6327
|
{
|
|
6316
6328
|
id: "35",
|
|
6317
6329
|
name: "google",
|
|
6318
|
-
imageSrc: "https://
|
|
6330
|
+
imageSrc: "https://home.playablefactory.com/google.png"
|
|
6319
6331
|
},
|
|
6320
6332
|
{
|
|
6321
6333
|
id: "36",
|
|
6322
6334
|
name: "inmobi",
|
|
6323
|
-
imageSrc: "https://
|
|
6335
|
+
imageSrc: "https://home.playablefactory.com/inmobi.png"
|
|
6324
6336
|
},
|
|
6325
6337
|
{
|
|
6326
6338
|
id: "38",
|
|
6327
6339
|
name: "smadex",
|
|
6328
|
-
imageSrc: "https://
|
|
6340
|
+
imageSrc: "https://home.playablefactory.com/smadex.png"
|
|
6329
6341
|
},
|
|
6330
6342
|
{
|
|
6331
6343
|
id: "39",
|
|
6332
6344
|
name: "instantGame",
|
|
6333
|
-
imageSrc: "https://
|
|
6345
|
+
imageSrc: "https://home.playablefactory.com/instantGame.png"
|
|
6334
6346
|
},
|
|
6335
6347
|
{
|
|
6336
6348
|
id: "40",
|
|
6337
6349
|
name: "luna",
|
|
6338
|
-
imageSrc: "https://
|
|
6350
|
+
imageSrc: "https://home.playablefactory.com/luna.png"
|
|
6339
6351
|
},
|
|
6340
6352
|
{
|
|
6341
6353
|
id: "41",
|
|
6342
6354
|
name: "nend",
|
|
6343
|
-
imageSrc: "https://
|
|
6355
|
+
imageSrc: "https://home.playablefactory.com/nend.png"
|
|
6344
6356
|
},
|
|
6345
6357
|
{
|
|
6346
6358
|
id: "42",
|
|
6347
6359
|
name: "jammp",
|
|
6348
|
-
imageSrc: "https://
|
|
6360
|
+
imageSrc: "https://home.playablefactory.com/nend.png"
|
|
6349
6361
|
},
|
|
6350
6362
|
{
|
|
6351
6363
|
id: "43",
|
|
6352
6364
|
name: "adjoe",
|
|
6353
|
-
imageSrc: "https://
|
|
6365
|
+
imageSrc: "https://home.playablefactory.com/adjoe.png"
|
|
6354
6366
|
},
|
|
6355
6367
|
{
|
|
6356
6368
|
id: "44",
|
|
6357
6369
|
name: "molocoV2",
|
|
6358
|
-
imageSrc: "https://
|
|
6370
|
+
imageSrc: "https://home.playablefactory.com/molocoV2.png"
|
|
6359
6371
|
},
|
|
6360
6372
|
{
|
|
6361
6373
|
id: "45",
|
|
6362
6374
|
name: "adikteev",
|
|
6363
|
-
imageSrc: "https://
|
|
6375
|
+
imageSrc: "https://home.playablefactory.com/adikteev.png"
|
|
6364
6376
|
},
|
|
6365
6377
|
{
|
|
6366
6378
|
id: "46",
|
|
6367
6379
|
name: "appier",
|
|
6368
|
-
imageSrc: "https://
|
|
6380
|
+
imageSrc: "https://home.playablefactory.com/appier.png"
|
|
6369
6381
|
},
|
|
6370
6382
|
{
|
|
6371
6383
|
id: "47",
|
|
6372
6384
|
name: "remerge",
|
|
6373
|
-
imageSrc: "https://
|
|
6385
|
+
imageSrc: "https://home.playablefactory.com/remerge.png"
|
|
6374
6386
|
},
|
|
6375
6387
|
{
|
|
6376
6388
|
id: "48",
|
|
6377
6389
|
name: "persona",
|
|
6378
|
-
imageSrc: "https://
|
|
6390
|
+
imageSrc: "https://home.playablefactory.com/persona.png"
|
|
6379
6391
|
},
|
|
6380
6392
|
{
|
|
6381
6393
|
id: "49",
|
|
6382
6394
|
name: "bidease",
|
|
6383
|
-
imageSrc: "https://
|
|
6395
|
+
imageSrc: "https://home.playablefactory.com/bidease.png"
|
|
6384
6396
|
},
|
|
6385
6397
|
{
|
|
6386
6398
|
id: "50",
|
|
6387
6399
|
name: "mraid",
|
|
6388
|
-
imageSrc: "https://
|
|
6400
|
+
imageSrc: "https://home.playablefactory.com/mraid.png"
|
|
6389
6401
|
},
|
|
6390
6402
|
{
|
|
6391
6403
|
id: "51",
|
|
6392
6404
|
name: "zynga",
|
|
6393
|
-
imageSrc: "https://
|
|
6405
|
+
imageSrc: "https://home.playablefactory.com/zynga.png"
|
|
6394
6406
|
}
|
|
6395
6407
|
], ws = ({ children: e, typeOfProduct: t, className: n, onClick: r }) => {
|
|
6396
6408
|
const o = {
|
|
@@ -6461,14 +6473,14 @@ const Is = ({
|
|
|
6461
6473
|
urls: c,
|
|
6462
6474
|
game: s,
|
|
6463
6475
|
getDownloadCount: d,
|
|
6464
|
-
disabled:
|
|
6465
|
-
setSafariCopyLink:
|
|
6476
|
+
disabled: g,
|
|
6477
|
+
setSafariCopyLink: q,
|
|
6466
6478
|
isTest: p,
|
|
6467
6479
|
urlType: h,
|
|
6468
6480
|
allNetworksSelected: y,
|
|
6469
|
-
setAllNetworksSelected:
|
|
6481
|
+
setAllNetworksSelected: x
|
|
6470
6482
|
}) => {
|
|
6471
|
-
const [O, j] = P([]), [z, v] = P([]), [_, $] = P(!1), [F, ue] = P(""), [ee, ae] = P(!1), [X, B] = P(!1), [W, Y] = P("download"), [
|
|
6483
|
+
const [O, j] = P([]), [z, v] = P([]), [_, $] = P(!1), [F, ue] = P(""), [ee, ae] = P(!1), [X, B] = P(!1), [W, Y] = P("download"), [N, f] = P(!1), S = async (Z) => {
|
|
6472
6484
|
const M = [...O];
|
|
6473
6485
|
if (O.includes(Z)) {
|
|
6474
6486
|
const E = M.findIndex((k) => k === Z);
|
|
@@ -6545,9 +6557,9 @@ const Is = ({
|
|
|
6545
6557
|
creditDownload: t,
|
|
6546
6558
|
setIsConfirmActive: B,
|
|
6547
6559
|
getDownloadCount: d,
|
|
6548
|
-
disabled:
|
|
6560
|
+
disabled: g,
|
|
6549
6561
|
user: a,
|
|
6550
|
-
setSafariCopyLink:
|
|
6562
|
+
setSafariCopyLink: q,
|
|
6551
6563
|
isTest: p,
|
|
6552
6564
|
urlType: h
|
|
6553
6565
|
},
|
|
@@ -6582,7 +6594,7 @@ const Is = ({
|
|
|
6582
6594
|
)
|
|
6583
6595
|
}
|
|
6584
6596
|
),
|
|
6585
|
-
|
|
6597
|
+
N && /* @__PURE__ */ l.jsx(
|
|
6586
6598
|
oi,
|
|
6587
6599
|
{
|
|
6588
6600
|
creditConfirmType: W,
|
|
@@ -6600,27 +6612,27 @@ const Is = ({
|
|
|
6600
6612
|
] });
|
|
6601
6613
|
};
|
|
6602
6614
|
async function Ws(e, t) {
|
|
6603
|
-
return (await
|
|
6615
|
+
return (await qe.post(t + "/getFlexDownloadCount", e)).data;
|
|
6604
6616
|
}
|
|
6605
6617
|
async function Ms(e, t) {
|
|
6606
6618
|
try {
|
|
6607
|
-
return (await
|
|
6619
|
+
return (await qe.post(t + "/findGame", { _id: e })).data;
|
|
6608
6620
|
} catch {
|
|
6609
6621
|
}
|
|
6610
6622
|
}
|
|
6611
6623
|
async function Ss(e, t) {
|
|
6612
|
-
return (await
|
|
6624
|
+
return (await qe.post(t + "/getPlayableVersionMarketLink", {
|
|
6613
6625
|
_id: e
|
|
6614
6626
|
})).data;
|
|
6615
6627
|
}
|
|
6616
6628
|
async function Ls(e, t) {
|
|
6617
|
-
return (await
|
|
6629
|
+
return (await qe.post(t + "/getFlexData", { _id: e })).data;
|
|
6618
6630
|
}
|
|
6619
6631
|
async function Os(e, t) {
|
|
6620
|
-
return (await
|
|
6632
|
+
return (await qe.post(t + "/getImportedPlayable", { id: e })).data;
|
|
6621
6633
|
}
|
|
6622
6634
|
async function Es(e, t) {
|
|
6623
|
-
return (await
|
|
6635
|
+
return (await qe.post(t + "/getReadyDownloadCount", e)).data;
|
|
6624
6636
|
}
|
|
6625
6637
|
const ks = [
|
|
6626
6638
|
"adcolony",
|
|
@@ -6666,60 +6678,60 @@ const zs = ({
|
|
|
6666
6678
|
fetchFileUrl: c,
|
|
6667
6679
|
fileSize: s,
|
|
6668
6680
|
setFileSize: d,
|
|
6669
|
-
setSafariCopyLink:
|
|
6670
|
-
iosLink:
|
|
6681
|
+
setSafariCopyLink: g,
|
|
6682
|
+
iosLink: q,
|
|
6671
6683
|
androidLink: p,
|
|
6672
6684
|
setIosLink: h,
|
|
6673
6685
|
setAndroidLink: y,
|
|
6674
|
-
urlType:
|
|
6686
|
+
urlType: x,
|
|
6675
6687
|
setUrlType: O
|
|
6676
6688
|
}) => {
|
|
6677
|
-
const [j, z] = P(null), [v, _] = P(null), [$, F] = P(null), [ue, ee] = P(!1), [ae, X] = P(!0), [B, W] = P(window.innerWidth), [Y,
|
|
6689
|
+
const [j, z] = P(null), [v, _] = P(null), [$, F] = P(null), [ue, ee] = P(!1), [ae, X] = P(!0), [B, W] = P(window.innerWidth), [Y, N] = P(!1), [f, S] = P(!1);
|
|
6678
6690
|
ve(() => {
|
|
6679
6691
|
}, [f]), ve(() => {
|
|
6680
|
-
const
|
|
6692
|
+
const w = () => {
|
|
6681
6693
|
W(window.innerWidth);
|
|
6682
6694
|
};
|
|
6683
|
-
return window.addEventListener("resize",
|
|
6684
|
-
window.removeEventListener("resize",
|
|
6695
|
+
return window.addEventListener("resize", w), () => {
|
|
6696
|
+
window.removeEventListener("resize", w);
|
|
6685
6697
|
};
|
|
6686
6698
|
}, []);
|
|
6687
6699
|
const R = async () => {
|
|
6688
6700
|
ee(!0);
|
|
6689
|
-
const
|
|
6690
|
-
return
|
|
6691
|
-
}, C = () => {
|
|
6701
|
+
const w = await Tn(e, i);
|
|
6702
|
+
return w != null && w.networks || (w.networks = ks), z(w), w;
|
|
6703
|
+
}, C = (w, J) => {
|
|
6692
6704
|
clearTimeout(ro), ro = setTimeout(() => {
|
|
6693
|
-
console.log("Update URLS:"), lr(t, { iosUrl:
|
|
6705
|
+
console.log("Update URLS:"), lr(t, { iosUrl: w, googleUrl: J }, { urlType: x });
|
|
6694
6706
|
}, 1e3);
|
|
6695
|
-
}, Z = (
|
|
6696
|
-
h(
|
|
6697
|
-
}, M = (
|
|
6698
|
-
y(
|
|
6699
|
-
}, E = async (
|
|
6707
|
+
}, Z = (w) => {
|
|
6708
|
+
h(w), C(w, p);
|
|
6709
|
+
}, M = (w) => {
|
|
6710
|
+
y(w), C(q, w);
|
|
6711
|
+
}, E = async (w, J) => {
|
|
6700
6712
|
var Q, U;
|
|
6701
6713
|
console.log("getIosAndAndroidLink");
|
|
6702
6714
|
try {
|
|
6703
|
-
let
|
|
6715
|
+
let G;
|
|
6704
6716
|
if (r === "Playable" || r === "Ready") {
|
|
6705
6717
|
const D = await Ss(t, i);
|
|
6706
6718
|
if (D) {
|
|
6707
6719
|
console.log("version", D), h(D.iosLink), y(D.androidLink), ee(!1);
|
|
6708
6720
|
return;
|
|
6709
6721
|
}
|
|
6710
|
-
if (
|
|
6711
|
-
h(
|
|
6722
|
+
if (w && (w.iosUrl || w.googleUrl)) {
|
|
6723
|
+
h(w.iosUrl), y(w.googleUrl), ee(!1);
|
|
6712
6724
|
return;
|
|
6713
6725
|
}
|
|
6714
|
-
if (
|
|
6715
|
-
let
|
|
6726
|
+
if (J && J.html) {
|
|
6727
|
+
let K = await fetch(c + "/" + J.html).then(
|
|
6716
6728
|
(Ce) => Ce.text()
|
|
6717
6729
|
);
|
|
6718
|
-
const le = ((Q =
|
|
6730
|
+
const le = ((Q = K.match(
|
|
6719
6731
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6720
6732
|
)) == null ? void 0 : Q.at(1)) || "";
|
|
6721
6733
|
h(le);
|
|
6722
|
-
const Je = ((U =
|
|
6734
|
+
const Je = ((U = K.match(
|
|
6723
6735
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6724
6736
|
)) == null ? void 0 : U.at(1)) || "";
|
|
6725
6737
|
y(Je), ee(!1);
|
|
@@ -6731,35 +6743,35 @@ const zs = ({
|
|
|
6731
6743
|
y(D.googleUrl), h(D.iosUrl), ee(!1);
|
|
6732
6744
|
return;
|
|
6733
6745
|
}
|
|
6734
|
-
|
|
6746
|
+
w && (w.iosUrl || w.googleUrl) ? (h(w.iosUrl), y(w.googleUrl), ee(!1)) : (y(""), h(""), ee(!1));
|
|
6735
6747
|
}
|
|
6736
|
-
} catch (
|
|
6737
|
-
m(
|
|
6748
|
+
} catch (G) {
|
|
6749
|
+
m(G.response.data.error.msg);
|
|
6738
6750
|
}
|
|
6739
6751
|
}, k = async () => {
|
|
6740
6752
|
ee(!0);
|
|
6741
|
-
let
|
|
6742
|
-
r === "Flex" ?
|
|
6743
|
-
...
|
|
6753
|
+
let w;
|
|
6754
|
+
r === "Flex" ? w = await Ws({ _id: t }, i) : r === "Ready" && (w = await Es({ _id: t }, i)), w && (["admin", "pm", "tester", "sales"].includes(a.role) ? F({
|
|
6755
|
+
...w,
|
|
6744
6756
|
networks: no
|
|
6745
|
-
}) : r === "Ready" && !
|
|
6746
|
-
...
|
|
6757
|
+
}) : r === "Ready" && !w.canDownload ? F({
|
|
6758
|
+
...w,
|
|
6747
6759
|
networks: no
|
|
6748
|
-
}) : F(
|
|
6760
|
+
}) : F(w)), ee(!1);
|
|
6749
6761
|
}, V = async () => await Ms(n, i);
|
|
6750
6762
|
return ve(() => {
|
|
6751
|
-
o || (z(null), _(null), F(null), d(null)), o && (r === "Playable" ? (R().then((
|
|
6752
|
-
E(null,
|
|
6753
|
-
}), X(!1)) : r === "Ready" ? k().then((
|
|
6754
|
-
R().then((
|
|
6755
|
-
E(null,
|
|
6763
|
+
o || (z(null), _(null), F(null), d(null)), o && (r === "Playable" ? (R().then((w) => {
|
|
6764
|
+
E(null, w);
|
|
6765
|
+
}), X(!1)) : r === "Ready" ? k().then((w) => {
|
|
6766
|
+
R().then((J) => {
|
|
6767
|
+
E(null, J), X(!1);
|
|
6756
6768
|
});
|
|
6757
|
-
}) : r === "Flex" ? k().then((
|
|
6758
|
-
X(!1), V().then((
|
|
6759
|
-
o && (E(
|
|
6769
|
+
}) : r === "Flex" ? k().then((w) => {
|
|
6770
|
+
X(!1), V().then((J) => {
|
|
6771
|
+
o && (E(J, null), X(!1), _(J));
|
|
6760
6772
|
});
|
|
6761
|
-
}) : r === "Import" && Os(t, i).then((
|
|
6762
|
-
console.log(
|
|
6773
|
+
}) : r === "Import" && Os(t, i).then((w) => {
|
|
6774
|
+
console.log(w), z(w), h(w.iosUrl || ""), y(w.googleUrl || ""), ee(!1), X(!1);
|
|
6763
6775
|
}));
|
|
6764
6776
|
}, [n, e, t, o]), /* @__PURE__ */ l.jsxs(
|
|
6765
6777
|
"div",
|
|
@@ -6781,7 +6793,7 @@ const zs = ({
|
|
|
6781
6793
|
title: A,
|
|
6782
6794
|
typeOfProduct: r,
|
|
6783
6795
|
fileSize: s,
|
|
6784
|
-
urls: { iosUrl:
|
|
6796
|
+
urls: { iosUrl: q, googleUrl: p },
|
|
6785
6797
|
handleIosChange: Z,
|
|
6786
6798
|
handleGoogleChange: M,
|
|
6787
6799
|
disabled: ae,
|
|
@@ -6789,8 +6801,8 @@ const zs = ({
|
|
|
6789
6801
|
creditDownload: $,
|
|
6790
6802
|
user: a,
|
|
6791
6803
|
isTest: Y,
|
|
6792
|
-
setIsTest:
|
|
6793
|
-
urlType:
|
|
6804
|
+
setIsTest: N,
|
|
6805
|
+
urlType: x,
|
|
6794
6806
|
setUrlType: O,
|
|
6795
6807
|
allNetworksSelected: f,
|
|
6796
6808
|
setAllNetworksSelected: S
|
|
@@ -6808,7 +6820,7 @@ const zs = ({
|
|
|
6808
6820
|
},
|
|
6809
6821
|
children: /* @__PURE__ */ l.jsx(ur, { isNetworksLoading: !0 })
|
|
6810
6822
|
}
|
|
6811
|
-
) : (j || $) && (r === "Flex" ? v : !0) && !ue &&
|
|
6823
|
+
) : (j || $) && (r === "Flex" ? v : !0) && !ue && q !== "Loading..." && p !== "Loading..." && /* @__PURE__ */ l.jsx(
|
|
6812
6824
|
Ks,
|
|
6813
6825
|
{
|
|
6814
6826
|
playable: j,
|
|
@@ -6820,13 +6832,13 @@ const zs = ({
|
|
|
6820
6832
|
user: a,
|
|
6821
6833
|
handleDownloadError: m,
|
|
6822
6834
|
fetchFileUrl: c,
|
|
6823
|
-
urls: { iosUrl:
|
|
6835
|
+
urls: { iosUrl: q, googleUrl: p },
|
|
6824
6836
|
game: v,
|
|
6825
6837
|
getDownloadCount: k,
|
|
6826
6838
|
disabled: ae,
|
|
6827
|
-
setSafariCopyLink:
|
|
6839
|
+
setSafariCopyLink: g,
|
|
6828
6840
|
isTest: Y,
|
|
6829
|
-
urlType:
|
|
6841
|
+
urlType: x,
|
|
6830
6842
|
allNetworksSelected: f,
|
|
6831
6843
|
setAllNetworksSelected: S
|
|
6832
6844
|
}
|
|
@@ -6852,44 +6864,44 @@ var Hn = { exports: {} }, At = {}, Xn = { exports: {} }, Ye = {}, Qn = { exports
|
|
|
6852
6864
|
* http://api.jqueryui.com/category/ui-core/
|
|
6853
6865
|
*/
|
|
6854
6866
|
var n = "none", r = "contents", o = /input|select|textarea|button|object|iframe/;
|
|
6855
|
-
function i(d,
|
|
6856
|
-
return
|
|
6867
|
+
function i(d, g) {
|
|
6868
|
+
return g.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow
|
|
6857
6869
|
d.scrollWidth <= 0 && d.scrollHeight <= 0;
|
|
6858
6870
|
}
|
|
6859
6871
|
function a(d) {
|
|
6860
|
-
var
|
|
6861
|
-
if (
|
|
6872
|
+
var g = d.offsetWidth <= 0 && d.offsetHeight <= 0;
|
|
6873
|
+
if (g && !d.innerHTML)
|
|
6862
6874
|
return !0;
|
|
6863
6875
|
try {
|
|
6864
|
-
var
|
|
6865
|
-
return
|
|
6876
|
+
var q = window.getComputedStyle(d), p = q.getPropertyValue("display");
|
|
6877
|
+
return g ? p !== r && i(d, q) : p === n;
|
|
6866
6878
|
} catch {
|
|
6867
6879
|
return console.warn("Failed to inspect element style"), !1;
|
|
6868
6880
|
}
|
|
6869
6881
|
}
|
|
6870
6882
|
function A(d) {
|
|
6871
|
-
for (var
|
|
6872
|
-
if (
|
|
6883
|
+
for (var g = d, q = d.getRootNode && d.getRootNode(); g && g !== document.body; ) {
|
|
6884
|
+
if (q && g === q && (g = q.host.parentNode), a(g))
|
|
6873
6885
|
return !1;
|
|
6874
|
-
|
|
6886
|
+
g = g.parentNode;
|
|
6875
6887
|
}
|
|
6876
6888
|
return !0;
|
|
6877
6889
|
}
|
|
6878
|
-
function m(d,
|
|
6879
|
-
var
|
|
6890
|
+
function m(d, g) {
|
|
6891
|
+
var q = d.nodeName.toLowerCase(), p = o.test(q) && !d.disabled || q === "a" && d.href || g;
|
|
6880
6892
|
return p && A(d);
|
|
6881
6893
|
}
|
|
6882
6894
|
function c(d) {
|
|
6883
|
-
var
|
|
6884
|
-
|
|
6885
|
-
var
|
|
6886
|
-
return (
|
|
6895
|
+
var g = d.getAttribute("tabindex");
|
|
6896
|
+
g === null && (g = void 0);
|
|
6897
|
+
var q = isNaN(g);
|
|
6898
|
+
return (q || g >= 0) && m(d, !q);
|
|
6887
6899
|
}
|
|
6888
6900
|
function s(d) {
|
|
6889
|
-
var
|
|
6890
|
-
return
|
|
6901
|
+
var g = [].slice.call(d.querySelectorAll("*"), 0).reduce(function(q, p) {
|
|
6902
|
+
return q.concat(p.shadowRoot ? s(p.shadowRoot) : [p]);
|
|
6891
6903
|
}, []);
|
|
6892
|
-
return
|
|
6904
|
+
return g.filter(c);
|
|
6893
6905
|
}
|
|
6894
6906
|
e.exports = t.default;
|
|
6895
6907
|
})(Qn, Qn.exports);
|
|
@@ -6975,21 +6987,21 @@ var Vn = { exports: {} };
|
|
|
6975
6987
|
m.preventDefault();
|
|
6976
6988
|
return;
|
|
6977
6989
|
}
|
|
6978
|
-
var s = void 0, d = m.shiftKey,
|
|
6990
|
+
var s = void 0, d = m.shiftKey, g = c[0], q = c[c.length - 1], p = i();
|
|
6979
6991
|
if (A === p) {
|
|
6980
6992
|
if (!d)
|
|
6981
6993
|
return;
|
|
6982
|
-
s =
|
|
6994
|
+
s = q;
|
|
6983
6995
|
}
|
|
6984
|
-
if (
|
|
6996
|
+
if (q === p && !d && (s = g), g === p && d && (s = q), s) {
|
|
6985
6997
|
m.preventDefault(), s.focus();
|
|
6986
6998
|
return;
|
|
6987
6999
|
}
|
|
6988
7000
|
var h = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), y = h != null && h[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
6989
7001
|
if (y) {
|
|
6990
|
-
var
|
|
6991
|
-
if (
|
|
6992
|
-
m.preventDefault(), s = d ?
|
|
7002
|
+
var x = c.indexOf(p);
|
|
7003
|
+
if (x > -1 && (x += d ? -1 : 1), s = c[x], typeof s > "u") {
|
|
7004
|
+
m.preventDefault(), s = d ? q : g, s.focus();
|
|
6993
7005
|
return;
|
|
6994
7006
|
}
|
|
6995
7007
|
m.preventDefault(), s.focus();
|
|
@@ -7204,15 +7216,15 @@ var ht = {};
|
|
|
7204
7216
|
Object.defineProperty(ht, "__esModule", {
|
|
7205
7217
|
value: !0
|
|
7206
7218
|
});
|
|
7207
|
-
ht.log =
|
|
7219
|
+
ht.log = gl;
|
|
7208
7220
|
ht.resetState = yl;
|
|
7209
|
-
function
|
|
7221
|
+
function ql(e, t) {
|
|
7210
7222
|
if (!(e instanceof t))
|
|
7211
7223
|
throw new TypeError("Cannot call a class as a function");
|
|
7212
7224
|
}
|
|
7213
7225
|
var li = function e() {
|
|
7214
7226
|
var t = this;
|
|
7215
|
-
|
|
7227
|
+
ql(this, e), this.register = function(n) {
|
|
7216
7228
|
if (t.openInstances.indexOf(n) !== -1) {
|
|
7217
7229
|
process.env.NODE_ENV !== "production" && console.warn("React-Modal: Cannot register modal instance that's already open");
|
|
7218
7230
|
return;
|
|
@@ -7237,7 +7249,7 @@ var li = function e() {
|
|
|
7237
7249
|
});
|
|
7238
7250
|
}, this.openInstances = [], this.subscribers = [];
|
|
7239
7251
|
}, _t = new li();
|
|
7240
|
-
function
|
|
7252
|
+
function gl() {
|
|
7241
7253
|
console.log("portalOpenInstances ----------"), console.log(_t.openInstances.length), _t.openInstances.forEach(function(e) {
|
|
7242
7254
|
return console.log(e);
|
|
7243
7255
|
}), console.log("end portalOpenInstances ----------");
|
|
@@ -7289,9 +7301,9 @@ bl.default.subscribe(wl);
|
|
|
7289
7301
|
});
|
|
7290
7302
|
var n = Object.assign || function(W) {
|
|
7291
7303
|
for (var Y = 1; Y < arguments.length; Y++) {
|
|
7292
|
-
var
|
|
7293
|
-
for (var f in
|
|
7294
|
-
Object.prototype.hasOwnProperty.call(
|
|
7304
|
+
var N = arguments[Y];
|
|
7305
|
+
for (var f in N)
|
|
7306
|
+
Object.prototype.hasOwnProperty.call(N, f) && (W[f] = N[f]);
|
|
7295
7307
|
}
|
|
7296
7308
|
return W;
|
|
7297
7309
|
}, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(W) {
|
|
@@ -7299,23 +7311,23 @@ bl.default.subscribe(wl);
|
|
|
7299
7311
|
} : function(W) {
|
|
7300
7312
|
return W && typeof Symbol == "function" && W.constructor === Symbol && W !== Symbol.prototype ? "symbol" : typeof W;
|
|
7301
7313
|
}, o = function() {
|
|
7302
|
-
function W(Y,
|
|
7303
|
-
for (var f = 0; f <
|
|
7304
|
-
var S =
|
|
7314
|
+
function W(Y, N) {
|
|
7315
|
+
for (var f = 0; f < N.length; f++) {
|
|
7316
|
+
var S = N[f];
|
|
7305
7317
|
S.enumerable = S.enumerable || !1, S.configurable = !0, "value" in S && (S.writable = !0), Object.defineProperty(Y, S.key, S);
|
|
7306
7318
|
}
|
|
7307
7319
|
}
|
|
7308
|
-
return function(Y,
|
|
7309
|
-
return
|
|
7320
|
+
return function(Y, N, f) {
|
|
7321
|
+
return N && W(Y.prototype, N), f && W(Y, f), Y;
|
|
7310
7322
|
};
|
|
7311
|
-
}(), i = ie, a = nn, A = v(a), m = Ye, c = z(m), s = Qs, d = v(s),
|
|
7323
|
+
}(), i = ie, a = nn, A = v(a), m = Ye, c = z(m), s = Qs, d = v(s), g = je, q = z(g), p = ft, h = z(p), y = ze, x = v(y), O = ht, j = v(O);
|
|
7312
7324
|
function z(W) {
|
|
7313
7325
|
if (W && W.__esModule)
|
|
7314
7326
|
return W;
|
|
7315
7327
|
var Y = {};
|
|
7316
7328
|
if (W != null)
|
|
7317
|
-
for (var
|
|
7318
|
-
Object.prototype.hasOwnProperty.call(W,
|
|
7329
|
+
for (var N in W)
|
|
7330
|
+
Object.prototype.hasOwnProperty.call(W, N) && (Y[N] = W[N]);
|
|
7319
7331
|
return Y.default = W, Y;
|
|
7320
7332
|
}
|
|
7321
7333
|
function v(W) {
|
|
@@ -7344,16 +7356,16 @@ bl.default.subscribe(wl);
|
|
|
7344
7356
|
return Y.code === "Escape" || Y.keyCode === 27;
|
|
7345
7357
|
}, X = 0, B = function(W) {
|
|
7346
7358
|
F(Y, W);
|
|
7347
|
-
function Y(
|
|
7359
|
+
function Y(N) {
|
|
7348
7360
|
_(this, Y);
|
|
7349
|
-
var f = $(this, (Y.__proto__ || Object.getPrototypeOf(Y)).call(this,
|
|
7361
|
+
var f = $(this, (Y.__proto__ || Object.getPrototypeOf(Y)).call(this, N));
|
|
7350
7362
|
return f.setOverlayRef = function(S) {
|
|
7351
7363
|
f.overlay = S, f.props.overlayRef && f.props.overlayRef(S);
|
|
7352
7364
|
}, f.setContentRef = function(S) {
|
|
7353
7365
|
f.content = S, f.props.contentRef && f.props.contentRef(S);
|
|
7354
7366
|
}, f.afterClose = function() {
|
|
7355
7367
|
var S = f.props, R = S.appElement, C = S.ariaHideApp, Z = S.htmlOpenClassName, M = S.bodyOpenClassName, E = S.parentSelector, k = E && E().ownerDocument || document;
|
|
7356
|
-
M && h.remove(k.body, M), Z && h.remove(k.getElementsByTagName("html")[0], Z), C && X > 0 && (X -= 1, X === 0 &&
|
|
7368
|
+
M && h.remove(k.body, M), Z && h.remove(k.getElementsByTagName("html")[0], Z), C && X > 0 && (X -= 1, X === 0 && q.show(R)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (c.returnFocus(f.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), j.default.deregister(f);
|
|
7357
7369
|
}, f.open = function() {
|
|
7358
7370
|
f.beforeOpen(), f.state.afterOpen && f.state.beforeClose ? (clearTimeout(f.closeTimer), f.setState({ beforeClose: !1 })) : (f.props.shouldFocusAfterRender && (c.setupScopedFocus(f.node), c.markForFocusLater()), f.setState({ isOpen: !0 }, function() {
|
|
7359
7371
|
f.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -7434,7 +7446,7 @@ bl.default.subscribe(wl);
|
|
|
7434
7446
|
key: "beforeOpen",
|
|
7435
7447
|
value: function() {
|
|
7436
7448
|
var f = this.props, S = f.appElement, R = f.ariaHideApp, C = f.htmlOpenClassName, Z = f.bodyOpenClassName, M = f.parentSelector, E = M && M().ownerDocument || document;
|
|
7437
|
-
Z && h.add(E.body, Z), C && h.add(E.getElementsByTagName("html")[0], C), R && (X += 1,
|
|
7449
|
+
Z && h.add(E.body, Z), C && h.add(E.getElementsByTagName("html")[0], C), R && (X += 1, q.hide(S)), j.default.register(this);
|
|
7438
7450
|
}
|
|
7439
7451
|
// Don't steal focus from inner elements
|
|
7440
7452
|
}, {
|
|
@@ -7449,7 +7461,7 @@ bl.default.subscribe(wl);
|
|
|
7449
7461
|
style: n({}, k, this.props.style.overlay),
|
|
7450
7462
|
onClick: this.handleOverlayOnClick,
|
|
7451
7463
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
7452
|
-
},
|
|
7464
|
+
}, w = n({
|
|
7453
7465
|
id: S,
|
|
7454
7466
|
ref: this.setContentRef,
|
|
7455
7467
|
style: n({}, E, this.props.style.content),
|
|
@@ -7463,8 +7475,8 @@ bl.default.subscribe(wl);
|
|
|
7463
7475
|
"aria-label": this.props.contentLabel
|
|
7464
7476
|
}, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7465
7477
|
"data-testid": this.props.testId
|
|
7466
|
-
}),
|
|
7467
|
-
return this.props.overlayElement(V,
|
|
7478
|
+
}), J = this.props.contentElement(w, M);
|
|
7479
|
+
return this.props.overlayElement(V, J);
|
|
7468
7480
|
}
|
|
7469
7481
|
}]), Y;
|
|
7470
7482
|
}(i.Component);
|
|
@@ -7490,7 +7502,7 @@ bl.default.subscribe(wl);
|
|
|
7490
7502
|
bodyOpenClassName: A.default.string,
|
|
7491
7503
|
htmlOpenClassName: A.default.string,
|
|
7492
7504
|
ariaHideApp: A.default.bool,
|
|
7493
|
-
appElement: A.default.oneOfType([A.default.instanceOf(
|
|
7505
|
+
appElement: A.default.oneOfType([A.default.instanceOf(x.default), A.default.instanceOf(y.SafeHTMLCollection), A.default.instanceOf(y.SafeNodeList), A.default.arrayOf(A.default.instanceOf(x.default))]),
|
|
7494
7506
|
onAfterOpen: A.default.func,
|
|
7495
7507
|
onAfterClose: A.default.func,
|
|
7496
7508
|
onRequestClose: A.default.func,
|
|
@@ -7568,8 +7580,8 @@ https://fb.me/react-async-component-lifecycle-hooks`
|
|
|
7568
7580
|
t.componentWillUpdate = mi;
|
|
7569
7581
|
var A = t.componentDidUpdate;
|
|
7570
7582
|
t.componentDidUpdate = function(c, s, d) {
|
|
7571
|
-
var
|
|
7572
|
-
A.call(this, c, s,
|
|
7583
|
+
var g = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : d;
|
|
7584
|
+
A.call(this, c, s, g);
|
|
7573
7585
|
};
|
|
7574
7586
|
}
|
|
7575
7587
|
return e;
|
|
@@ -7634,7 +7646,7 @@ var Dl = At.portalClassName = "ReactModalPortal", Rl = At.bodyOpenClassName = "R
|
|
|
7634
7646
|
function Gt(e) {
|
|
7635
7647
|
return e();
|
|
7636
7648
|
}
|
|
7637
|
-
var
|
|
7649
|
+
var qt = function(e) {
|
|
7638
7650
|
Nl(t, e);
|
|
7639
7651
|
function t() {
|
|
7640
7652
|
var n, r, o, i;
|
|
@@ -7706,7 +7718,7 @@ var gt = function(e) {
|
|
|
7706
7718
|
/* eslint-enable react/no-unused-prop-types */
|
|
7707
7719
|
}]), t;
|
|
7708
7720
|
}(di.Component);
|
|
7709
|
-
|
|
7721
|
+
qt.propTypes = {
|
|
7710
7722
|
isOpen: H.default.bool.isRequired,
|
|
7711
7723
|
style: H.default.shape({
|
|
7712
7724
|
content: H.default.object,
|
|
@@ -7746,7 +7758,7 @@ gt.propTypes = {
|
|
|
7746
7758
|
overlayElement: H.default.func,
|
|
7747
7759
|
contentElement: H.default.func
|
|
7748
7760
|
};
|
|
7749
|
-
|
|
7761
|
+
qt.defaultProps = {
|
|
7750
7762
|
isOpen: !1,
|
|
7751
7763
|
portalClassName: Dl,
|
|
7752
7764
|
bodyOpenClassName: Rl,
|
|
@@ -7776,7 +7788,7 @@ gt.defaultProps = {
|
|
|
7776
7788
|
);
|
|
7777
7789
|
}
|
|
7778
7790
|
};
|
|
7779
|
-
|
|
7791
|
+
qt.defaultStyles = {
|
|
7780
7792
|
overlay: {
|
|
7781
7793
|
position: "fixed",
|
|
7782
7794
|
top: 0,
|
|
@@ -7800,11 +7812,11 @@ gt.defaultStyles = {
|
|
|
7800
7812
|
padding: "20px"
|
|
7801
7813
|
}
|
|
7802
7814
|
};
|
|
7803
|
-
(0, Yl.polyfill)(
|
|
7804
|
-
process.env.NODE_ENV !== "production" && (
|
|
7815
|
+
(0, Yl.polyfill)(qt);
|
|
7816
|
+
process.env.NODE_ENV !== "production" && (qt.setCreateHTMLElement = function(e) {
|
|
7805
7817
|
return Bn = e;
|
|
7806
7818
|
});
|
|
7807
|
-
At.default =
|
|
7819
|
+
At.default = qt;
|
|
7808
7820
|
(function(e, t) {
|
|
7809
7821
|
Object.defineProperty(t, "__esModule", {
|
|
7810
7822
|
value: !0
|
|
@@ -8067,18 +8079,18 @@ const Un = /* @__PURE__ */ Ji(Gl), Tl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8067
8079
|
title: c,
|
|
8068
8080
|
iframeUrl: s,
|
|
8069
8081
|
handleDownloadError: d,
|
|
8070
|
-
fetchFileUrl:
|
|
8071
|
-
copyLinkUrl:
|
|
8082
|
+
fetchFileUrl: g,
|
|
8083
|
+
copyLinkUrl: q
|
|
8072
8084
|
}) => {
|
|
8073
|
-
const [p, h] = P(window.innerWidth), [y,
|
|
8074
|
-
ls(a, A, ae,
|
|
8085
|
+
const [p, h] = P(window.innerWidth), [y, x] = P(!1), [O, j] = P(s), [z, v] = P(!1), [_, $] = P(!0), [F, ue] = P(null), [ee, ae] = P(""), [X, B] = P("Loading..."), [W, Y] = P("Loading..."), [N, f] = P("game");
|
|
8086
|
+
ls(a, A, ae, g);
|
|
8075
8087
|
const S = async () => {
|
|
8076
8088
|
Ft(n, "preview", null, null, !1).then((R) => {
|
|
8077
|
-
|
|
8089
|
+
x(!0), j(g + "/" + R.url), (a === "Flex" || a === "Ready" || a === "Playable") && (R.size >= 5 ? v(!0) : v(!1), ue(R.size)), $(!1);
|
|
8078
8090
|
});
|
|
8079
8091
|
};
|
|
8080
8092
|
return ve(() => {
|
|
8081
|
-
e ? y || (S(),
|
|
8093
|
+
e ? y || (S(), x(!0)) : (x(!1), j(""));
|
|
8082
8094
|
}, [e]), ve(() => {
|
|
8083
8095
|
const R = () => {
|
|
8084
8096
|
h(window.innerWidth);
|
|
@@ -8234,12 +8246,12 @@ const Un = /* @__PURE__ */ Ji(Gl), Tl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8234
8246
|
typeOfProduct: a,
|
|
8235
8247
|
iframeUrl: O,
|
|
8236
8248
|
api: A,
|
|
8237
|
-
fetchFileUrl:
|
|
8238
|
-
copyLinkUrl:
|
|
8249
|
+
fetchFileUrl: g,
|
|
8250
|
+
copyLinkUrl: q,
|
|
8239
8251
|
setSafariCopyLink: ae,
|
|
8240
8252
|
iosLink: X,
|
|
8241
8253
|
androidLink: W,
|
|
8242
|
-
urlType:
|
|
8254
|
+
urlType: N
|
|
8243
8255
|
}
|
|
8244
8256
|
) : /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
8245
8257
|
"div",
|
|
@@ -8279,7 +8291,7 @@ const Un = /* @__PURE__ */ Ji(Gl), Tl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8279
8291
|
user: m,
|
|
8280
8292
|
title: c,
|
|
8281
8293
|
handleDownloadError: d,
|
|
8282
|
-
fetchFileUrl:
|
|
8294
|
+
fetchFileUrl: g,
|
|
8283
8295
|
fileSize: F,
|
|
8284
8296
|
setFileSize: ue,
|
|
8285
8297
|
setSafariCopyLink: ae,
|
|
@@ -8287,7 +8299,7 @@ const Un = /* @__PURE__ */ Ji(Gl), Tl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8287
8299
|
androidLink: W,
|
|
8288
8300
|
setIosLink: B,
|
|
8289
8301
|
setAndroidLink: Y,
|
|
8290
|
-
urlType:
|
|
8302
|
+
urlType: N,
|
|
8291
8303
|
setUrlType: f
|
|
8292
8304
|
}
|
|
8293
8305
|
)
|