gearboxdownloadmodal 6.0.6 → 6.0.8
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 +363 -355
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/src/data/network-data-tracking.json.d.ts +5 -5
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -65,11 +65,11 @@ var vt = {};
|
|
|
65
65
|
var xr;
|
|
66
66
|
function Ji() {
|
|
67
67
|
return xr || (xr = 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"), d = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator,
|
|
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"), d = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, g = "@@iterator";
|
|
69
69
|
function b(u) {
|
|
70
70
|
if (u === null || typeof u != "object")
|
|
71
71
|
return null;
|
|
72
|
-
var I = p && u[p] || u[
|
|
72
|
+
var I = p && u[p] || u[g];
|
|
73
73
|
return typeof I == "function" ? I : null;
|
|
74
74
|
}
|
|
75
75
|
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -154,14 +154,14 @@ function Ji() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var W = Object.assign, S = 0, z, f, O,
|
|
157
|
+
var W = Object.assign, S = 0, z, f, O, J, q, Z, k;
|
|
158
158
|
function w() {
|
|
159
159
|
}
|
|
160
160
|
w.__reactDisabledLog = !0;
|
|
161
161
|
function Y() {
|
|
162
162
|
{
|
|
163
163
|
if (S === 0) {
|
|
164
|
-
z = console.log, f = console.info, O = console.warn,
|
|
164
|
+
z = console.log, f = console.info, O = console.warn, J = console.error, q = console.group, Z = console.groupCollapsed, k = console.groupEnd;
|
|
165
165
|
var u = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -200,10 +200,10 @@ function Ji() {
|
|
|
200
200
|
value: O
|
|
201
201
|
}),
|
|
202
202
|
error: W({}, u, {
|
|
203
|
-
value:
|
|
203
|
+
value: J
|
|
204
204
|
}),
|
|
205
205
|
group: W({}, u, {
|
|
206
|
-
value:
|
|
206
|
+
value: q
|
|
207
207
|
}),
|
|
208
208
|
groupCollapsed: W({}, u, {
|
|
209
209
|
value: Z
|
|
@@ -216,18 +216,18 @@ function Ji() {
|
|
|
216
216
|
S < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
var D = x.ReactCurrentDispatcher,
|
|
219
|
+
var D = x.ReactCurrentDispatcher, N;
|
|
220
220
|
function R(u, I, L) {
|
|
221
221
|
{
|
|
222
|
-
if (
|
|
222
|
+
if (N === void 0)
|
|
223
223
|
try {
|
|
224
224
|
throw Error();
|
|
225
225
|
} catch (oe) {
|
|
226
226
|
var G = oe.stack.trim().match(/\n( *(at )?)/);
|
|
227
|
-
|
|
227
|
+
N = G && G[1] || "";
|
|
228
228
|
}
|
|
229
229
|
return `
|
|
230
|
-
` +
|
|
230
|
+
` + N + u;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
var _ = !1, H;
|
|
@@ -393,12 +393,12 @@ function Ji() {
|
|
|
393
393
|
if (pi(u))
|
|
394
394
|
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mi(u)), pr(u);
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var qt = x.ReactCurrentOwner, fi = {
|
|
397
397
|
key: !0,
|
|
398
398
|
ref: !0,
|
|
399
399
|
__self: !0,
|
|
400
400
|
__source: !0
|
|
401
|
-
}, hr,
|
|
401
|
+
}, hr, gr, fn;
|
|
402
402
|
fn = {};
|
|
403
403
|
function hi(u) {
|
|
404
404
|
if (kt.call(u, "ref")) {
|
|
@@ -408,7 +408,7 @@ function Ji() {
|
|
|
408
408
|
}
|
|
409
409
|
return u.ref !== void 0;
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function gi(u) {
|
|
412
412
|
if (kt.call(u, "key")) {
|
|
413
413
|
var I = Object.getOwnPropertyDescriptor(u, "key").get;
|
|
414
414
|
if (I && I.isReactWarning)
|
|
@@ -416,10 +416,10 @@ function Ji() {
|
|
|
416
416
|
}
|
|
417
417
|
return u.key !== void 0;
|
|
418
418
|
}
|
|
419
|
-
function
|
|
420
|
-
if (typeof u.ref == "string" &&
|
|
421
|
-
var L = T(
|
|
422
|
-
fn[L] || (E('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', T(
|
|
419
|
+
function qi(u, I) {
|
|
420
|
+
if (typeof u.ref == "string" && qt.current && I && qt.current.stateNode !== I) {
|
|
421
|
+
var L = T(qt.current.type);
|
|
422
|
+
fn[L] || (E('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', T(qt.current.type), u.ref), fn[L] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
function yi(u, I) {
|
|
@@ -436,7 +436,7 @@ function Ji() {
|
|
|
436
436
|
function vi(u, I) {
|
|
437
437
|
{
|
|
438
438
|
var L = function() {
|
|
439
|
-
|
|
439
|
+
gr || (gr = !0, E("%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,
|
|
@@ -476,7 +476,7 @@ function Ji() {
|
|
|
476
476
|
function Ci(u, I, L, G, oe) {
|
|
477
477
|
{
|
|
478
478
|
var ue, ee = {}, $ = null, be = null;
|
|
479
|
-
L !== void 0 && (fr(L), $ = "" + L),
|
|
479
|
+
L !== void 0 && (fr(L), $ = "" + L), gi(I) && (fr(I.key), $ = "" + I.key), hi(I) && (be = I.ref, qi(I, oe));
|
|
480
480
|
for (ue in I)
|
|
481
481
|
kt.call(I, ue) && !fi.hasOwnProperty(ue) && (ee[ue] = I[ue]);
|
|
482
482
|
if (u && u.defaultProps) {
|
|
@@ -488,20 +488,20 @@ function Ji() {
|
|
|
488
488
|
var pe = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
|
|
489
489
|
$ && yi(ee, pe), be && vi(ee, pe);
|
|
490
490
|
}
|
|
491
|
-
return bi(u, $, be, oe, G,
|
|
491
|
+
return bi(u, $, be, oe, G, qt.current, ee);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
var hn = x.ReactCurrentOwner,
|
|
494
|
+
var hn = x.ReactCurrentOwner, qr = x.ReactDebugCurrentFrame;
|
|
495
495
|
function lt(u) {
|
|
496
496
|
if (u) {
|
|
497
497
|
var I = u._owner, L = we(u.type, u._source, I ? I.type : null);
|
|
498
|
-
|
|
498
|
+
qr.setExtraStackFrame(L);
|
|
499
499
|
} else
|
|
500
|
-
|
|
500
|
+
qr.setExtraStackFrame(null);
|
|
501
501
|
}
|
|
502
|
-
var
|
|
503
|
-
|
|
504
|
-
function
|
|
502
|
+
var gn;
|
|
503
|
+
gn = !1;
|
|
504
|
+
function qn(u) {
|
|
505
505
|
return typeof u == "object" && u !== null && u.$$typeof === t;
|
|
506
506
|
}
|
|
507
507
|
function yr() {
|
|
@@ -560,15 +560,15 @@ Check the top-level render call using <` + L + ">.");
|
|
|
560
560
|
if (pn(u))
|
|
561
561
|
for (var L = 0; L < u.length; L++) {
|
|
562
562
|
var G = u[L];
|
|
563
|
-
|
|
563
|
+
qn(G) && br(G, I);
|
|
564
564
|
}
|
|
565
|
-
else if (
|
|
565
|
+
else if (qn(u))
|
|
566
566
|
u._store && (u._store.validated = !0);
|
|
567
567
|
else if (u) {
|
|
568
568
|
var oe = b(u);
|
|
569
569
|
if (typeof oe == "function" && oe !== u.entries)
|
|
570
570
|
for (var ue = oe.call(u), ee; !(ee = ue.next()).done; )
|
|
571
|
-
|
|
571
|
+
qn(ee.value) && br(ee.value, I);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
}
|
|
@@ -589,8 +589,8 @@ Check the top-level render call using <` + L + ">.");
|
|
|
589
589
|
if (L) {
|
|
590
590
|
var G = T(I);
|
|
591
591
|
ci(L, u.props, "prop", G, u);
|
|
592
|
-
} else if (I.PropTypes !== void 0 && !
|
|
593
|
-
|
|
592
|
+
} else if (I.PropTypes !== void 0 && !gn) {
|
|
593
|
+
gn = !0;
|
|
594
594
|
var oe = T(I);
|
|
595
595
|
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", oe || "Unknown");
|
|
596
596
|
}
|
|
@@ -1054,7 +1054,7 @@ var fo = Gt, Me = lo, Kr = fo, Qi = po, Qe = {
|
|
|
1054
1054
|
PATTERN101: 5,
|
|
1055
1055
|
PATTERN110: 6,
|
|
1056
1056
|
PATTERN111: 7
|
|
1057
|
-
},
|
|
1057
|
+
}, qe = {
|
|
1058
1058
|
PATTERN_POSITION_TABLE: [
|
|
1059
1059
|
[],
|
|
1060
1060
|
[6, 18],
|
|
@@ -1101,13 +1101,13 @@ var fo = Gt, Me = lo, Kr = fo, Qi = po, Qe = {
|
|
|
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; qe.getBCHDigit(t) - qe.getBCHDigit(qe.G15) >= 0; )
|
|
1105
|
+
t ^= qe.G15 << qe.getBCHDigit(t) - qe.getBCHDigit(qe.G15);
|
|
1106
|
+
return (e << 10 | t) ^ qe.G15_MASK;
|
|
1107
1107
|
},
|
|
1108
1108
|
getBCHTypeNumber: function(e) {
|
|
1109
|
-
for (var t = e << 12;
|
|
1110
|
-
t ^=
|
|
1109
|
+
for (var t = e << 12; qe.getBCHDigit(t) - qe.getBCHDigit(qe.G18) >= 0; )
|
|
1110
|
+
t ^= qe.G18 << qe.getBCHDigit(t) - qe.getBCHDigit(qe.G18);
|
|
1111
1111
|
return e << 12 | t;
|
|
1112
1112
|
},
|
|
1113
1113
|
getBCHDigit: function(e) {
|
|
@@ -1116,7 +1116,7 @@ var fo = Gt, Me = lo, Kr = fo, Qi = po, Qe = {
|
|
|
1116
1116
|
return t;
|
|
1117
1117
|
},
|
|
1118
1118
|
getPatternPosition: function(e) {
|
|
1119
|
-
return
|
|
1119
|
+
return qe.PATTERN_POSITION_TABLE[e - 1];
|
|
1120
1120
|
},
|
|
1121
1121
|
getMask: function(e, t, n) {
|
|
1122
1122
|
switch (e) {
|
|
@@ -1214,7 +1214,7 @@ var fo = Gt, Me = lo, Kr = fo, Qi = po, Qe = {
|
|
|
1214
1214
|
var m = Math.abs(100 * s / t / t - 50) / 5;
|
|
1215
1215
|
return n += m * 10, n;
|
|
1216
1216
|
}
|
|
1217
|
-
}, Pi =
|
|
1217
|
+
}, Pi = qe, Vi = Ti, ho = Hi, go = Xi, Fe = Pi, Bi = fo;
|
|
1218
1218
|
function Ne(e, t) {
|
|
1219
1219
|
this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
|
|
1220
1220
|
}
|
|
@@ -1235,7 +1235,7 @@ Ke.make = function() {
|
|
|
1235
1235
|
if (this.typeNumber < 1) {
|
|
1236
1236
|
var e = 1;
|
|
1237
1237
|
for (e = 1; e < 40; e++) {
|
|
1238
|
-
for (var t = ho.getRSBlocks(e, this.errorCorrectLevel), n = new
|
|
1238
|
+
for (var t = ho.getRSBlocks(e, this.errorCorrectLevel), n = new go(), r = 0, o = 0; o < t.length; o++)
|
|
1239
1239
|
r += t[o].dataCount;
|
|
1240
1240
|
for (var o = 0; o < this.dataList.length; o++) {
|
|
1241
1241
|
var i = this.dataList[o];
|
|
@@ -1337,7 +1337,7 @@ Ke.mapData = function(e, t) {
|
|
|
1337
1337
|
Ne.PAD0 = 236;
|
|
1338
1338
|
Ne.PAD1 = 17;
|
|
1339
1339
|
Ne.createData = function(e, t, n) {
|
|
1340
|
-
for (var r = ho.getRSBlocks(e, t), o = new
|
|
1340
|
+
for (var r = ho.getRSBlocks(e, t), o = new go(), i = 0; i < n.length; i++) {
|
|
1341
1341
|
var a = n[i];
|
|
1342
1342
|
o.put(a.mode, 4), o.put(a.getLength(), Fe.getLengthInBits(a.mode, e)), a.write(o);
|
|
1343
1343
|
}
|
|
@@ -1365,9 +1365,9 @@ Ne.createBytes = function(e, t) {
|
|
|
1365
1365
|
a[A][s] = p >= 0 ? h.get(p) : 0;
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
|
-
for (var
|
|
1369
|
-
|
|
1370
|
-
for (var b = new Array(
|
|
1368
|
+
for (var g = 0, s = 0; s < t.length; s++)
|
|
1369
|
+
g += t[s].totalCount;
|
|
1370
|
+
for (var b = new Array(g), x = 0, s = 0; s < r; s++)
|
|
1371
1371
|
for (var A = 0; A < t.length; A++)
|
|
1372
1372
|
s < i[A].length && (b[x++] = i[A][s]);
|
|
1373
1373
|
for (var s = 0; s < o; s++)
|
|
@@ -1389,7 +1389,7 @@ function Fi() {
|
|
|
1389
1389
|
if (Wr)
|
|
1390
1390
|
return se;
|
|
1391
1391
|
Wr = 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, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116,
|
|
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, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
1393
1393
|
function j(C) {
|
|
1394
1394
|
if (typeof C == "object" && C !== null) {
|
|
1395
1395
|
var U = C.$$typeof;
|
|
@@ -1448,7 +1448,7 @@ function Fi() {
|
|
|
1448
1448
|
}, se.isSuspense = function(C) {
|
|
1449
1449
|
return j(C) === m;
|
|
1450
1450
|
}, se.isValidElementType = function(C) {
|
|
1451
|
-
return typeof C == "string" || typeof C == "function" || C === r || C === c || C === i || C === o || C === m || C === y || typeof C == "object" && C !== null && (C.$$typeof === p || C.$$typeof === h || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === b || C.$$typeof === x || C.$$typeof === E || C.$$typeof ===
|
|
1451
|
+
return typeof C == "string" || typeof C == "function" || C === r || C === c || C === i || C === o || C === m || C === y || typeof C == "object" && C !== null && (C.$$typeof === p || C.$$typeof === h || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === b || C.$$typeof === x || C.$$typeof === E || C.$$typeof === g);
|
|
1452
1452
|
}, se.typeOf = j, se;
|
|
1453
1453
|
}
|
|
1454
1454
|
var le = {};
|
|
@@ -1463,10 +1463,10 @@ var le = {};
|
|
|
1463
1463
|
var Mr;
|
|
1464
1464
|
function _i() {
|
|
1465
1465
|
return Mr || (Mr = 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, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116,
|
|
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, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
1467
1467
|
function j(K) {
|
|
1468
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 === m || K === y || typeof K == "object" && K !== null && (K.$$typeof === p || K.$$typeof === h || K.$$typeof === a || K.$$typeof === A || K.$$typeof === s || K.$$typeof === b || K.$$typeof === x || K.$$typeof === E || K.$$typeof ===
|
|
1469
|
+
K === r || K === c || K === i || K === o || K === m || K === y || typeof K == "object" && K !== null && (K.$$typeof === p || K.$$typeof === h || K.$$typeof === a || K.$$typeof === A || K.$$typeof === s || K.$$typeof === b || K.$$typeof === x || K.$$typeof === E || K.$$typeof === g);
|
|
1470
1470
|
}
|
|
1471
1471
|
function M(K) {
|
|
1472
1472
|
if (typeof K == "object" && K !== null) {
|
|
@@ -1501,10 +1501,10 @@ function _i() {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
1503
|
var C = d, U = c, ne = A, Q = a, ae = t, Ae = s, re = r, F = p, T = h, W = n, S = i, z = o, f = m, O = !1;
|
|
1504
|
-
function
|
|
1505
|
-
return O || (O = !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.")),
|
|
1504
|
+
function J(K) {
|
|
1505
|
+
return O || (O = !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.")), q(K) || M(K) === d;
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function q(K) {
|
|
1508
1508
|
return M(K) === c;
|
|
1509
1509
|
}
|
|
1510
1510
|
function Z(K) {
|
|
@@ -1525,7 +1525,7 @@ function _i() {
|
|
|
1525
1525
|
function D(K) {
|
|
1526
1526
|
return M(K) === p;
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function N(K) {
|
|
1529
1529
|
return M(K) === h;
|
|
1530
1530
|
}
|
|
1531
1531
|
function R(K) {
|
|
@@ -1540,11 +1540,11 @@ function _i() {
|
|
|
1540
1540
|
function B(K) {
|
|
1541
1541
|
return M(K) === m;
|
|
1542
1542
|
}
|
|
1543
|
-
le.AsyncMode = C, le.ConcurrentMode = U, le.ContextConsumer = ne, le.ContextProvider = Q, le.Element = ae, le.ForwardRef = Ae, le.Fragment = re, le.Lazy = F, le.Memo = T, le.Portal = W, le.Profiler = S, le.StrictMode = z, le.Suspense = f, le.isAsyncMode =
|
|
1543
|
+
le.AsyncMode = C, le.ConcurrentMode = U, le.ContextConsumer = ne, le.ContextProvider = Q, le.Element = ae, le.ForwardRef = Ae, le.Fragment = re, le.Lazy = F, le.Memo = T, le.Portal = W, le.Profiler = S, le.StrictMode = z, le.Suspense = f, le.isAsyncMode = J, le.isConcurrentMode = q, le.isContextConsumer = Z, le.isContextProvider = k, le.isElement = w, le.isForwardRef = Y, le.isFragment = P, le.isLazy = D, le.isMemo = N, le.isPortal = R, le.isProfiler = _, le.isStrictMode = H, le.isSuspense = B, le.isValidElementType = j, le.typeOf = M;
|
|
1544
1544
|
}()), le;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Lr;
|
|
1547
|
-
function
|
|
1547
|
+
function qo() {
|
|
1548
1548
|
return Lr || (Lr = 1, process.env.NODE_ENV === "production" ? jt.exports = Fi() : jt.exports = _i()), jt.exports;
|
|
1549
1549
|
}
|
|
1550
1550
|
/*
|
|
@@ -1666,7 +1666,7 @@ function ta() {
|
|
|
1666
1666
|
if (Yr)
|
|
1667
1667
|
return Zn;
|
|
1668
1668
|
Yr = 1;
|
|
1669
|
-
var e =
|
|
1669
|
+
var e = qo(), t = $i(), n = Fn(), r = yo(), o = ea(), i = function() {
|
|
1670
1670
|
};
|
|
1671
1671
|
process.env.NODE_ENV !== "production" && (i = function(A) {
|
|
1672
1672
|
var d = "Warning: " + A;
|
|
@@ -1681,8 +1681,8 @@ function ta() {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
return Zn = function(A, d) {
|
|
1683
1683
|
var c = typeof Symbol == "function" && Symbol.iterator, s = "@@iterator";
|
|
1684
|
-
function m(
|
|
1685
|
-
var Z =
|
|
1684
|
+
function m(q) {
|
|
1685
|
+
var Z = q && (c && q[c] || q[s]);
|
|
1686
1686
|
if (typeof Z == "function")
|
|
1687
1687
|
return Z;
|
|
1688
1688
|
}
|
|
@@ -1707,44 +1707,44 @@ function ta() {
|
|
|
1707
1707
|
shape: F,
|
|
1708
1708
|
exact: T
|
|
1709
1709
|
};
|
|
1710
|
-
function p(
|
|
1711
|
-
return
|
|
1710
|
+
function p(q, Z) {
|
|
1711
|
+
return q === Z ? q !== 0 || 1 / q === 1 / Z : q !== q && Z !== Z;
|
|
1712
1712
|
}
|
|
1713
|
-
function q
|
|
1714
|
-
this.message =
|
|
1713
|
+
function g(q, Z) {
|
|
1714
|
+
this.message = q, this.data = Z && typeof Z == "object" ? Z : {}, this.stack = "";
|
|
1715
1715
|
}
|
|
1716
|
-
|
|
1717
|
-
function b(
|
|
1716
|
+
g.prototype = Error.prototype;
|
|
1717
|
+
function b(q) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var Z = {}, k = 0;
|
|
1720
|
-
function w(P, D,
|
|
1721
|
-
if (R = R || y, H = H ||
|
|
1720
|
+
function w(P, D, N, R, _, H, B) {
|
|
1721
|
+
if (R = R || y, H = H || N, B !== n) {
|
|
1722
1722
|
if (d) {
|
|
1723
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
1726
|
throw K.name = "Invariant Violation", K;
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
|
-
var ce = R + ":" +
|
|
1728
|
+
var ce = R + ":" + N;
|
|
1729
1729
|
!Z[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1730
1730
|
k < 3 && (i(
|
|
1731
1731
|
"You are manually calling a React.PropTypes validation function for the `" + H + "` prop on `" + R + "`. 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[ce] = !0, k++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return D[
|
|
1735
|
+
return D[N] == null ? P ? D[N] === null ? new g("The " + _ + " `" + H + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new g("The " + _ + " `" + H + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : q(D, N, R, _, H);
|
|
1736
1736
|
}
|
|
1737
1737
|
var Y = w.bind(null, !1);
|
|
1738
1738
|
return Y.isRequired = w.bind(null, !0), Y;
|
|
1739
1739
|
}
|
|
1740
|
-
function x(
|
|
1741
|
-
function Z(k, w, Y, P, D,
|
|
1740
|
+
function x(q) {
|
|
1741
|
+
function Z(k, w, Y, P, D, N) {
|
|
1742
1742
|
var R = k[w], _ = z(R);
|
|
1743
|
-
if (_ !==
|
|
1743
|
+
if (_ !== q) {
|
|
1744
1744
|
var H = f(R);
|
|
1745
|
-
return new
|
|
1746
|
-
"Invalid " + P + " `" + D + "` of type " + ("`" + H + "` supplied to `" + Y + "`, expected ") + ("`" +
|
|
1747
|
-
{ expectedType:
|
|
1745
|
+
return new g(
|
|
1746
|
+
"Invalid " + P + " `" + D + "` of type " + ("`" + H + "` supplied to `" + Y + "`, expected ") + ("`" + q + "`."),
|
|
1747
|
+
{ expectedType: q }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
1750
1750
|
return null;
|
|
@@ -1754,17 +1754,17 @@ function ta() {
|
|
|
1754
1754
|
function E() {
|
|
1755
1755
|
return b(a);
|
|
1756
1756
|
}
|
|
1757
|
-
function j(
|
|
1757
|
+
function j(q) {
|
|
1758
1758
|
function Z(k, w, Y, P, D) {
|
|
1759
|
-
if (typeof
|
|
1760
|
-
return new
|
|
1761
|
-
var
|
|
1762
|
-
if (!Array.isArray(
|
|
1763
|
-
var R = z(
|
|
1764
|
-
return new
|
|
1759
|
+
if (typeof q != "function")
|
|
1760
|
+
return new g("Property `" + D + "` of component `" + Y + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
+
var N = k[w];
|
|
1762
|
+
if (!Array.isArray(N)) {
|
|
1763
|
+
var R = z(N);
|
|
1764
|
+
return new g("Invalid " + P + " `" + D + "` of type " + ("`" + R + "` supplied to `" + Y + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
|
-
for (var _ = 0; _ <
|
|
1767
|
-
var H =
|
|
1766
|
+
for (var _ = 0; _ < N.length; _++) {
|
|
1767
|
+
var H = q(N, _, Y, P, D + "[" + _ + "]", n);
|
|
1768
1768
|
if (H instanceof Error)
|
|
1769
1769
|
return H;
|
|
1770
1770
|
}
|
|
@@ -1773,64 +1773,64 @@ function ta() {
|
|
|
1773
1773
|
return b(Z);
|
|
1774
1774
|
}
|
|
1775
1775
|
function M() {
|
|
1776
|
-
function
|
|
1776
|
+
function q(Z, k, w, Y, P) {
|
|
1777
1777
|
var D = Z[k];
|
|
1778
1778
|
if (!A(D)) {
|
|
1779
|
-
var
|
|
1780
|
-
return new
|
|
1779
|
+
var N = z(D);
|
|
1780
|
+
return new g("Invalid " + Y + " `" + P + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
1783
1783
|
}
|
|
1784
|
-
return b(
|
|
1784
|
+
return b(q);
|
|
1785
1785
|
}
|
|
1786
1786
|
function C() {
|
|
1787
|
-
function
|
|
1787
|
+
function q(Z, k, w, Y, P) {
|
|
1788
1788
|
var D = Z[k];
|
|
1789
1789
|
if (!e.isValidElementType(D)) {
|
|
1790
|
-
var
|
|
1791
|
-
return new
|
|
1790
|
+
var N = z(D);
|
|
1791
|
+
return new g("Invalid " + Y + " `" + P + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
1795
|
-
return b(
|
|
1795
|
+
return b(q);
|
|
1796
1796
|
}
|
|
1797
|
-
function U(
|
|
1797
|
+
function U(q) {
|
|
1798
1798
|
function Z(k, w, Y, P, D) {
|
|
1799
|
-
if (!(k[w] instanceof
|
|
1800
|
-
var
|
|
1801
|
-
return new
|
|
1799
|
+
if (!(k[w] instanceof q)) {
|
|
1800
|
+
var N = q.name || y, R = J(k[w]);
|
|
1801
|
+
return new g("Invalid " + P + " `" + D + "` of type " + ("`" + R + "` supplied to `" + Y + "`, expected ") + ("instance of `" + N + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
1805
1805
|
return b(Z);
|
|
1806
1806
|
}
|
|
1807
|
-
function ne(
|
|
1808
|
-
if (!Array.isArray(
|
|
1807
|
+
function ne(q) {
|
|
1808
|
+
if (!Array.isArray(q))
|
|
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
1812
|
function Z(k, w, Y, P, D) {
|
|
1813
|
-
for (var
|
|
1814
|
-
if (p(
|
|
1813
|
+
for (var N = k[w], R = 0; R < q.length; R++)
|
|
1814
|
+
if (p(N, q[R]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var _ = JSON.stringify(
|
|
1816
|
+
var _ = JSON.stringify(q, function(B, K) {
|
|
1817
1817
|
var ce = f(K);
|
|
1818
1818
|
return ce === "symbol" ? String(K) : K;
|
|
1819
1819
|
});
|
|
1820
|
-
return new
|
|
1820
|
+
return new g("Invalid " + P + " `" + D + "` of value `" + String(N) + "` " + ("supplied to `" + Y + "`, expected one of " + _ + "."));
|
|
1821
1821
|
}
|
|
1822
1822
|
return b(Z);
|
|
1823
1823
|
}
|
|
1824
|
-
function Q(
|
|
1824
|
+
function Q(q) {
|
|
1825
1825
|
function Z(k, w, Y, P, D) {
|
|
1826
|
-
if (typeof
|
|
1827
|
-
return new
|
|
1828
|
-
var
|
|
1826
|
+
if (typeof q != "function")
|
|
1827
|
+
return new g("Property `" + D + "` of component `" + Y + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
+
var N = k[w], R = z(N);
|
|
1829
1829
|
if (R !== "object")
|
|
1830
|
-
return new
|
|
1831
|
-
for (var _ in
|
|
1832
|
-
if (r(
|
|
1833
|
-
var H =
|
|
1830
|
+
return new g("Invalid " + P + " `" + D + "` of type " + ("`" + R + "` supplied to `" + Y + "`, expected an object."));
|
|
1831
|
+
for (var _ in N)
|
|
1832
|
+
if (r(N, _)) {
|
|
1833
|
+
var H = q(N, _, Y, P, D + "." + _, n);
|
|
1834
1834
|
if (H instanceof Error)
|
|
1835
1835
|
return H;
|
|
1836
1836
|
}
|
|
@@ -1838,49 +1838,49 @@ function ta() {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
return b(Z);
|
|
1840
1840
|
}
|
|
1841
|
-
function ae(
|
|
1842
|
-
if (!Array.isArray(
|
|
1841
|
+
function ae(q) {
|
|
1842
|
+
if (!Array.isArray(q))
|
|
1843
1843
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
1844
|
-
for (var Z = 0; Z <
|
|
1845
|
-
var k =
|
|
1844
|
+
for (var Z = 0; Z < q.length; Z++) {
|
|
1845
|
+
var k = q[Z];
|
|
1846
1846
|
if (typeof k != "function")
|
|
1847
1847
|
return i(
|
|
1848
1848
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + O(k) + " at index " + Z + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
|
-
function w(Y, P, D,
|
|
1852
|
-
for (var _ = [], H = 0; H <
|
|
1853
|
-
var B =
|
|
1851
|
+
function w(Y, P, D, N, R) {
|
|
1852
|
+
for (var _ = [], H = 0; H < q.length; H++) {
|
|
1853
|
+
var B = q[H], K = B(Y, P, D, N, R, n);
|
|
1854
1854
|
if (K == null)
|
|
1855
1855
|
return null;
|
|
1856
1856
|
K.data && r(K.data, "expectedType") && _.push(K.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
1858
|
var ce = _.length > 0 ? ", expected one of type [" + _.join(", ") + "]" : "";
|
|
1859
|
-
return new
|
|
1859
|
+
return new g("Invalid " + N + " `" + R + "` supplied to " + ("`" + D + "`" + ce + "."));
|
|
1860
1860
|
}
|
|
1861
1861
|
return b(w);
|
|
1862
1862
|
}
|
|
1863
1863
|
function Ae() {
|
|
1864
|
-
function
|
|
1865
|
-
return W(Z[k]) ? null : new
|
|
1864
|
+
function q(Z, k, w, Y, P) {
|
|
1865
|
+
return W(Z[k]) ? null : new g("Invalid " + Y + " `" + P + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
|
-
return b(
|
|
1867
|
+
return b(q);
|
|
1868
1868
|
}
|
|
1869
|
-
function re(
|
|
1870
|
-
return new
|
|
1871
|
-
(
|
|
1869
|
+
function re(q, Z, k, w, Y) {
|
|
1870
|
+
return new g(
|
|
1871
|
+
(q || "React class") + ": " + Z + " type `" + k + "." + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Y + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
|
-
function F(
|
|
1874
|
+
function F(q) {
|
|
1875
1875
|
function Z(k, w, Y, P, D) {
|
|
1876
|
-
var
|
|
1876
|
+
var N = k[w], R = z(N);
|
|
1877
1877
|
if (R !== "object")
|
|
1878
|
-
return new
|
|
1879
|
-
for (var _ in
|
|
1880
|
-
var H =
|
|
1878
|
+
return new g("Invalid " + P + " `" + D + "` of type `" + R + "` " + ("supplied to `" + Y + "`, expected `object`."));
|
|
1879
|
+
for (var _ in q) {
|
|
1880
|
+
var H = q[_];
|
|
1881
1881
|
if (typeof H != "function")
|
|
1882
1882
|
return re(Y, P, D, _, f(H));
|
|
1883
|
-
var B = H(
|
|
1883
|
+
var B = H(N, _, Y, P, D + "." + _, n);
|
|
1884
1884
|
if (B)
|
|
1885
1885
|
return B;
|
|
1886
1886
|
}
|
|
@@ -1888,22 +1888,22 @@ function ta() {
|
|
|
1888
1888
|
}
|
|
1889
1889
|
return b(Z);
|
|
1890
1890
|
}
|
|
1891
|
-
function T(
|
|
1891
|
+
function T(q) {
|
|
1892
1892
|
function Z(k, w, Y, P, D) {
|
|
1893
|
-
var
|
|
1893
|
+
var N = k[w], R = z(N);
|
|
1894
1894
|
if (R !== "object")
|
|
1895
|
-
return new
|
|
1896
|
-
var _ = t({}, k[w],
|
|
1895
|
+
return new g("Invalid " + P + " `" + D + "` of type `" + R + "` " + ("supplied to `" + Y + "`, expected `object`."));
|
|
1896
|
+
var _ = t({}, k[w], q);
|
|
1897
1897
|
for (var H in _) {
|
|
1898
|
-
var B =
|
|
1899
|
-
if (r(
|
|
1898
|
+
var B = q[H];
|
|
1899
|
+
if (r(q, H) && typeof B != "function")
|
|
1900
1900
|
return re(Y, P, D, H, f(B));
|
|
1901
1901
|
if (!B)
|
|
1902
|
-
return new
|
|
1902
|
+
return new g(
|
|
1903
1903
|
"Invalid " + P + " `" + D + "` key `" + H + "` supplied to `" + Y + "`.\nBad object: " + JSON.stringify(k[w], null, " ") + `
|
|
1904
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
1904
|
+
Valid keys: ` + JSON.stringify(Object.keys(q), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var K = B(
|
|
1906
|
+
var K = B(N, H, Y, P, D + "." + H, n);
|
|
1907
1907
|
if (K)
|
|
1908
1908
|
return K;
|
|
1909
1909
|
}
|
|
@@ -1911,23 +1911,23 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1911
1911
|
}
|
|
1912
1912
|
return b(Z);
|
|
1913
1913
|
}
|
|
1914
|
-
function W(
|
|
1915
|
-
switch (typeof
|
|
1914
|
+
function W(q) {
|
|
1915
|
+
switch (typeof q) {
|
|
1916
1916
|
case "number":
|
|
1917
1917
|
case "string":
|
|
1918
1918
|
case "undefined":
|
|
1919
1919
|
return !0;
|
|
1920
1920
|
case "boolean":
|
|
1921
|
-
return !
|
|
1921
|
+
return !q;
|
|
1922
1922
|
case "object":
|
|
1923
|
-
if (Array.isArray(
|
|
1924
|
-
return
|
|
1925
|
-
if (
|
|
1923
|
+
if (Array.isArray(q))
|
|
1924
|
+
return q.every(W);
|
|
1925
|
+
if (q === null || A(q))
|
|
1926
1926
|
return !0;
|
|
1927
|
-
var Z = m(
|
|
1927
|
+
var Z = m(q);
|
|
1928
1928
|
if (Z) {
|
|
1929
|
-
var k = Z.call(
|
|
1930
|
-
if (Z !==
|
|
1929
|
+
var k = Z.call(q), w;
|
|
1930
|
+
if (Z !== q.entries) {
|
|
1931
1931
|
for (; !(w = k.next()).done; )
|
|
1932
1932
|
if (!W(w.value))
|
|
1933
1933
|
return !1;
|
|
@@ -1944,27 +1944,27 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1944
1944
|
return !1;
|
|
1945
1945
|
}
|
|
1946
1946
|
}
|
|
1947
|
-
function S(
|
|
1948
|
-
return
|
|
1947
|
+
function S(q, Z) {
|
|
1948
|
+
return q === "symbol" ? !0 : Z ? Z["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && Z instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function z(
|
|
1951
|
-
var Z = typeof
|
|
1952
|
-
return Array.isArray(
|
|
1950
|
+
function z(q) {
|
|
1951
|
+
var Z = typeof q;
|
|
1952
|
+
return Array.isArray(q) ? "array" : q instanceof RegExp ? "object" : S(Z, q) ? "symbol" : Z;
|
|
1953
1953
|
}
|
|
1954
|
-
function f(
|
|
1955
|
-
if (typeof
|
|
1956
|
-
return "" +
|
|
1957
|
-
var Z = z(
|
|
1954
|
+
function f(q) {
|
|
1955
|
+
if (typeof q > "u" || q === null)
|
|
1956
|
+
return "" + q;
|
|
1957
|
+
var Z = z(q);
|
|
1958
1958
|
if (Z === "object") {
|
|
1959
|
-
if (
|
|
1959
|
+
if (q instanceof Date)
|
|
1960
1960
|
return "date";
|
|
1961
|
-
if (
|
|
1961
|
+
if (q instanceof RegExp)
|
|
1962
1962
|
return "regexp";
|
|
1963
1963
|
}
|
|
1964
1964
|
return Z;
|
|
1965
1965
|
}
|
|
1966
|
-
function O(
|
|
1967
|
-
var Z = f(
|
|
1966
|
+
function O(q) {
|
|
1967
|
+
var Z = f(q);
|
|
1968
1968
|
switch (Z) {
|
|
1969
1969
|
case "array":
|
|
1970
1970
|
case "object":
|
|
@@ -1977,8 +1977,8 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1977
1977
|
return Z;
|
|
1978
1978
|
}
|
|
1979
1979
|
}
|
|
1980
|
-
function
|
|
1981
|
-
return !
|
|
1980
|
+
function J(q) {
|
|
1981
|
+
return !q.constructor || !q.constructor.name ? y : q.constructor.name;
|
|
1982
1982
|
}
|
|
1983
1983
|
return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
|
|
1984
1984
|
}, Zn;
|
|
@@ -2033,7 +2033,7 @@ function na() {
|
|
|
2033
2033
|
}, In;
|
|
2034
2034
|
}
|
|
2035
2035
|
if (process.env.NODE_ENV !== "production") {
|
|
2036
|
-
var ra =
|
|
2036
|
+
var ra = qo(), oa = !0;
|
|
2037
2037
|
zn.exports = ta()(ra.isElement, oa);
|
|
2038
2038
|
} else
|
|
2039
2039
|
zn.exports = na()();
|
|
@@ -2099,7 +2099,7 @@ var ua = Object.assign || function(e) {
|
|
|
2099
2099
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2100
2100
|
}
|
|
2101
2101
|
return e;
|
|
2102
|
-
}, ca = Ui, da = Wt(ca), ma = co, pa = Wt(ma), fa = nn, Te = Wt(fa), Co = ie, ha = Wt(Co),
|
|
2102
|
+
}, ca = Ui, da = Wt(ca), ma = co, pa = Wt(ma), fa = nn, Te = Wt(fa), Co = ie, ha = Wt(Co), ga = _n, qa = Wt(ga);
|
|
2103
2103
|
function Wt(e) {
|
|
2104
2104
|
return e && e.__esModule ? e : { default: e };
|
|
2105
2105
|
}
|
|
@@ -2124,7 +2124,7 @@ var va = {
|
|
|
2124
2124
|
var n = e.bgColor, r = e.fgColor, o = e.level, i = e.size, a = e.value, A = ya(e, ["bgColor", "fgColor", "level", "size", "value"]), d = new da.default(-1, pa.default[o]);
|
|
2125
2125
|
d.addData(a), d.make();
|
|
2126
2126
|
var c = d.modules;
|
|
2127
|
-
return ha.default.createElement(
|
|
2127
|
+
return ha.default.createElement(qa.default, ua({}, A, {
|
|
2128
2128
|
bgColor: n,
|
|
2129
2129
|
bgD: c.map(function(s, m) {
|
|
2130
2130
|
return s.map(function(y, h) {
|
|
@@ -2486,8 +2486,8 @@ function sn(e, t, n) {
|
|
|
2486
2486
|
metaTokens: !0,
|
|
2487
2487
|
dots: !1,
|
|
2488
2488
|
indexes: !1
|
|
2489
|
-
}, !1, function(
|
|
2490
|
-
return !v.isUndefined(b[
|
|
2489
|
+
}, !1, function(g, b) {
|
|
2490
|
+
return !v.isUndefined(b[g]);
|
|
2491
2491
|
});
|
|
2492
2492
|
const r = n.metaTokens, o = n.visitor || s, i = n.dots, a = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && v.isSpecCompliantForm(t);
|
|
2493
2493
|
if (!v.isFunction(o))
|
|
@@ -2501,39 +2501,39 @@ function sn(e, t, n) {
|
|
|
2501
2501
|
throw new te("Blob is not supported. Use a Buffer instead.");
|
|
2502
2502
|
return v.isArrayBuffer(p) || v.isTypedArray(p) ? d && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
2503
2503
|
}
|
|
2504
|
-
function s(p,
|
|
2504
|
+
function s(p, g, b) {
|
|
2505
2505
|
let x = p;
|
|
2506
2506
|
if (p && !b && typeof p == "object") {
|
|
2507
|
-
if (v.endsWith(
|
|
2508
|
-
|
|
2509
|
-
else if (v.isArray(p) && oA(p) || (v.isFileList(p) || v.endsWith(
|
|
2510
|
-
return
|
|
2507
|
+
if (v.endsWith(g, "{}"))
|
|
2508
|
+
g = r ? g : g.slice(0, -2), p = JSON.stringify(p);
|
|
2509
|
+
else if (v.isArray(p) && oA(p) || (v.isFileList(p) || v.endsWith(g, "[]")) && (x = v.toArray(p)))
|
|
2510
|
+
return g = ko(g), x.forEach(function(j, M) {
|
|
2511
2511
|
!(v.isUndefined(j) || j === null) && t.append(
|
|
2512
2512
|
// eslint-disable-next-line no-nested-ternary
|
|
2513
|
-
a === !0 ? Nr([
|
|
2513
|
+
a === !0 ? Nr([g], M, i) : a === null ? g : g + "[]",
|
|
2514
2514
|
c(j)
|
|
2515
2515
|
);
|
|
2516
2516
|
}), !1;
|
|
2517
2517
|
}
|
|
2518
|
-
return Jn(p) ? !0 : (t.append(Nr(b,
|
|
2518
|
+
return Jn(p) ? !0 : (t.append(Nr(b, g, i), c(p)), !1);
|
|
2519
2519
|
}
|
|
2520
2520
|
const m = [], y = Object.assign(iA, {
|
|
2521
2521
|
defaultVisitor: s,
|
|
2522
2522
|
convertValue: c,
|
|
2523
2523
|
isVisitable: Jn
|
|
2524
2524
|
});
|
|
2525
|
-
function h(p,
|
|
2525
|
+
function h(p, g) {
|
|
2526
2526
|
if (!v.isUndefined(p)) {
|
|
2527
2527
|
if (m.indexOf(p) !== -1)
|
|
2528
|
-
throw Error("Circular reference detected in " +
|
|
2528
|
+
throw Error("Circular reference detected in " + g.join("."));
|
|
2529
2529
|
m.push(p), v.forEach(p, function(x, E) {
|
|
2530
2530
|
(!(v.isUndefined(x) || x === null) && o.call(
|
|
2531
2531
|
t,
|
|
2532
2532
|
x,
|
|
2533
2533
|
v.isString(E) ? E.trim() : E,
|
|
2534
|
-
|
|
2534
|
+
g,
|
|
2535
2535
|
y
|
|
2536
|
-
)) === !0 && h(x,
|
|
2536
|
+
)) === !0 && h(x, g ? g.concat(E) : [E]);
|
|
2537
2537
|
}), m.pop();
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
@@ -2767,7 +2767,7 @@ const tr = {
|
|
|
2767
2767
|
v.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
2768
2768
|
tr.headers[e] = {};
|
|
2769
2769
|
});
|
|
2770
|
-
const nr = tr,
|
|
2770
|
+
const nr = tr, gA = v.toObjectSet([
|
|
2771
2771
|
"age",
|
|
2772
2772
|
"authorization",
|
|
2773
2773
|
"content-length",
|
|
@@ -2785,12 +2785,12 @@ const nr = tr, qA = v.toObjectSet([
|
|
|
2785
2785
|
"referer",
|
|
2786
2786
|
"retry-after",
|
|
2787
2787
|
"user-agent"
|
|
2788
|
-
]),
|
|
2788
|
+
]), qA = (e) => {
|
|
2789
2789
|
const t = {};
|
|
2790
2790
|
let n, r, o;
|
|
2791
2791
|
return e && e.split(`
|
|
2792
2792
|
`).forEach(function(a) {
|
|
2793
|
-
o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || t[n] &&
|
|
2793
|
+
o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || t[n] && gA[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
2794
2794
|
}), t;
|
|
2795
2795
|
}, Gr = Symbol("internals");
|
|
2796
2796
|
function bt(e) {
|
|
@@ -2845,7 +2845,7 @@ class ln {
|
|
|
2845
2845
|
(!m || o[m] === void 0 || c === !0 || c === void 0 && o[m] !== !1) && (o[m || d] = Ht(A));
|
|
2846
2846
|
}
|
|
2847
2847
|
const a = (A, d) => v.forEach(A, (c, s) => i(c, s, d));
|
|
2848
|
-
return v.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : v.isString(t) && (t = t.trim()) && !vA(t) ? a(
|
|
2848
|
+
return v.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : v.isString(t) && (t = t.trim()) && !vA(t) ? a(qA(t), n) : t != null && i(n, t, r), this;
|
|
2849
2849
|
}
|
|
2850
2850
|
get(t, n) {
|
|
2851
2851
|
if (t = bt(t), t) {
|
|
@@ -3100,8 +3100,8 @@ const LA = typeof XMLHttpRequest < "u", SA = LA && function(e) {
|
|
|
3100
3100
|
v.isFormData(o) && (De.isStandardBrowserEnv || De.isStandardBrowserWebWorkerEnv ? i.setContentType(!1) : i.getContentType(/^\s*multipart\/form-data/) ? v.isString(c = i.getContentType()) && i.setContentType(c.replace(/^\s*(multipart\/form-data);+/, "$1")) : i.setContentType("multipart/form-data"));
|
|
3101
3101
|
let s = new XMLHttpRequest();
|
|
3102
3102
|
if (e.auth) {
|
|
3103
|
-
const p = e.auth.username || "",
|
|
3104
|
-
i.set("Authorization", "Basic " + btoa(p + ":" +
|
|
3103
|
+
const p = e.auth.username || "", g = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
3104
|
+
i.set("Authorization", "Basic " + btoa(p + ":" + g));
|
|
3105
3105
|
}
|
|
3106
3106
|
const m = Do(e.baseURL, e.url);
|
|
3107
3107
|
s.open(e.method.toUpperCase(), zo(m, e.params, e.paramsSerializer), !0), s.timeout = e.timeout;
|
|
@@ -3131,10 +3131,10 @@ const LA = typeof XMLHttpRequest < "u", SA = LA && function(e) {
|
|
|
3131
3131
|
}, s.onerror = function() {
|
|
3132
3132
|
r(new te("Network Error", te.ERR_NETWORK, e, s)), s = null;
|
|
3133
3133
|
}, s.ontimeout = function() {
|
|
3134
|
-
let
|
|
3134
|
+
let g = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
3135
3135
|
const b = e.transitional || jo;
|
|
3136
|
-
e.timeoutErrorMessage && (
|
|
3137
|
-
|
|
3136
|
+
e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new te(
|
|
3137
|
+
g,
|
|
3138
3138
|
b.clarifyTimeoutError ? te.ETIMEDOUT : te.ECONNABORTED,
|
|
3139
3139
|
e,
|
|
3140
3140
|
s
|
|
@@ -3143,8 +3143,8 @@ const LA = typeof XMLHttpRequest < "u", SA = LA && function(e) {
|
|
|
3143
3143
|
const p = (e.withCredentials || KA(m)) && e.xsrfCookieName && IA.read(e.xsrfCookieName);
|
|
3144
3144
|
p && i.set(e.xsrfHeaderName, p);
|
|
3145
3145
|
}
|
|
3146
|
-
o === void 0 && i.setContentType(null), "setRequestHeader" in s && v.forEach(i.toJSON(), function(
|
|
3147
|
-
s.setRequestHeader(b,
|
|
3146
|
+
o === void 0 && i.setContentType(null), "setRequestHeader" in s && v.forEach(i.toJSON(), function(g, b) {
|
|
3147
|
+
s.setRequestHeader(b, g);
|
|
3148
3148
|
}), v.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", Tr(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", Tr(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (p) => {
|
|
3149
3149
|
s && (r(!p || p.type ? new St(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)));
|
|
@@ -3373,12 +3373,12 @@ class Vt {
|
|
|
3373
3373
|
), n.headers = He.concat(a, i);
|
|
3374
3374
|
const A = [];
|
|
3375
3375
|
let d = !0;
|
|
3376
|
-
this.interceptors.request.forEach(function(
|
|
3377
|
-
typeof
|
|
3376
|
+
this.interceptors.request.forEach(function(g) {
|
|
3377
|
+
typeof g.runWhen == "function" && g.runWhen(n) === !1 || (d = d && g.synchronous, A.unshift(g.fulfilled, g.rejected));
|
|
3378
3378
|
});
|
|
3379
3379
|
const c = [];
|
|
3380
|
-
this.interceptors.response.forEach(function(
|
|
3381
|
-
c.push(
|
|
3380
|
+
this.interceptors.response.forEach(function(g) {
|
|
3381
|
+
c.push(g.fulfilled, g.rejected);
|
|
3382
3382
|
});
|
|
3383
3383
|
let s, m = 0, y;
|
|
3384
3384
|
if (!d) {
|
|
@@ -3390,11 +3390,11 @@ class Vt {
|
|
|
3390
3390
|
y = A.length;
|
|
3391
3391
|
let h = n;
|
|
3392
3392
|
for (m = 0; m < y; ) {
|
|
3393
|
-
const p = A[m++],
|
|
3393
|
+
const p = A[m++], g = A[m++];
|
|
3394
3394
|
try {
|
|
3395
3395
|
h = p(h);
|
|
3396
3396
|
} catch (b) {
|
|
3397
|
-
|
|
3397
|
+
g.call(this, b);
|
|
3398
3398
|
break;
|
|
3399
3399
|
}
|
|
3400
3400
|
}
|
|
@@ -3681,22 +3681,22 @@ function Gn(e, t) {
|
|
|
3681
3681
|
Gn({ read: Vr.decodeValue, write: Vr.encodeValue }, Ar);
|
|
3682
3682
|
let Bo;
|
|
3683
3683
|
typeof window < "u" && (Bo = Vo("token"));
|
|
3684
|
-
const
|
|
3684
|
+
const ge = JA.create({
|
|
3685
3685
|
headers: {
|
|
3686
3686
|
Authorization: Bo
|
|
3687
3687
|
}
|
|
3688
3688
|
});
|
|
3689
3689
|
async function GA(e, t, n) {
|
|
3690
|
-
return (await
|
|
3690
|
+
return (await ge.post(n + "/createFlexVersionLinkMulti", {
|
|
3691
3691
|
_id: e,
|
|
3692
3692
|
networks: t
|
|
3693
3693
|
})).data;
|
|
3694
3694
|
}
|
|
3695
3695
|
async function TA(e, t) {
|
|
3696
|
-
return e.network == "fb" && (e.zip = 1), (await
|
|
3696
|
+
return e.network == "fb" && (e.zip = 1), (await ge.post(t + "/createFlexVersionLink", e || {})).data;
|
|
3697
3697
|
}
|
|
3698
3698
|
async function HA(e, t, n) {
|
|
3699
|
-
return (await
|
|
3699
|
+
return (await ge.post(e + "/createImportedVersionLink", {
|
|
3700
3700
|
_id: t,
|
|
3701
3701
|
network: n
|
|
3702
3702
|
// zip,
|
|
@@ -3704,7 +3704,7 @@ async function HA(e, t, n) {
|
|
|
3704
3704
|
})).data;
|
|
3705
3705
|
}
|
|
3706
3706
|
async function XA(e, t, n, r, o) {
|
|
3707
|
-
return console.log(r), (await
|
|
3707
|
+
return console.log(r), (await ge.post(e + "/createPlayableVersionLink", {
|
|
3708
3708
|
_id: t,
|
|
3709
3709
|
network: n,
|
|
3710
3710
|
isPfTest: r,
|
|
@@ -3712,28 +3712,28 @@ async function XA(e, t, n, r, o) {
|
|
|
3712
3712
|
})).data;
|
|
3713
3713
|
}
|
|
3714
3714
|
async function QA(e, t, n) {
|
|
3715
|
-
return (await
|
|
3715
|
+
return (await ge.post(n + "/createPlayableVersionLinkMulti", {
|
|
3716
3716
|
_id: e,
|
|
3717
3717
|
networks: t
|
|
3718
3718
|
})).data;
|
|
3719
3719
|
}
|
|
3720
3720
|
async function PA(e, t, n) {
|
|
3721
|
-
return (await
|
|
3721
|
+
return (await ge.post(e + "/createReadyVersionLink", {
|
|
3722
3722
|
_id: t,
|
|
3723
3723
|
network: n
|
|
3724
3724
|
})).data;
|
|
3725
3725
|
}
|
|
3726
3726
|
async function VA(e, t, n) {
|
|
3727
|
-
return (await
|
|
3727
|
+
return (await ge.post(n + "/createReadyVersionLinkMulti", {
|
|
3728
3728
|
_id: e,
|
|
3729
3729
|
networks: t
|
|
3730
3730
|
})).data;
|
|
3731
3731
|
}
|
|
3732
3732
|
async function Uo(e, t) {
|
|
3733
|
-
return (await
|
|
3733
|
+
return (await ge.post(t + "/updateFlexUrl", e || {})).data;
|
|
3734
3734
|
}
|
|
3735
3735
|
async function Bt(e, t, n) {
|
|
3736
|
-
return (await
|
|
3736
|
+
return (await ge.post(n + "/updatePlayableVersion", {
|
|
3737
3737
|
...t,
|
|
3738
3738
|
_id: e
|
|
3739
3739
|
})).data;
|
|
@@ -3779,17 +3779,17 @@ function cn(e) {
|
|
|
3779
3779
|
let { enter: t, exit: n, appendPosition: r = !1, collapse: o = !0, collapseDuration: i = 300 } = e;
|
|
3780
3780
|
return function(a) {
|
|
3781
3781
|
let { children: A, position: d, preventExitTransition: c, done: s, nodeRef: m, isIn: y } = a;
|
|
3782
|
-
const h = r ? `${t}--${d}` : t, p = r ? `${n}--${d}` : n,
|
|
3782
|
+
const h = r ? `${t}--${d}` : t, p = r ? `${n}--${d}` : n, g = nt(0);
|
|
3783
3783
|
return Ei(() => {
|
|
3784
3784
|
const b = m.current, x = h.split(" "), E = (j) => {
|
|
3785
|
-
j.target === m.current && (b.dispatchEvent(new Event("d")), b.removeEventListener("animationend", E), b.removeEventListener("animationcancel", E),
|
|
3785
|
+
j.target === m.current && (b.dispatchEvent(new Event("d")), b.removeEventListener("animationend", E), b.removeEventListener("animationcancel", E), g.current === 0 && j.type !== "animationcancel" && b.classList.remove(...x));
|
|
3786
3786
|
};
|
|
3787
3787
|
b.classList.add(...x), b.addEventListener("animationend", E), b.addEventListener("animationcancel", E);
|
|
3788
3788
|
}, []), Ie(() => {
|
|
3789
3789
|
const b = m.current, x = () => {
|
|
3790
3790
|
b.removeEventListener("animationend", x), o ? BA(b, s, i) : s();
|
|
3791
3791
|
};
|
|
3792
|
-
y || (c ? x() : (
|
|
3792
|
+
y || (c ? x() : (g.current = 1, b.className += ` ${p}`, b.addEventListener("animationend", x)));
|
|
3793
3793
|
}, [y]), ie.createElement(ie.Fragment, null, A);
|
|
3794
3794
|
};
|
|
3795
3795
|
}
|
|
@@ -3832,18 +3832,18 @@ function UA(e) {
|
|
|
3832
3832
|
const [, t] = Oi((h) => h + 1, 0), [n, r] = V([]), o = nt(null), i = nt(/* @__PURE__ */ new Map()).current, a = (h) => n.indexOf(h) !== -1, A = nt({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (h) => i.get(h) }).current;
|
|
3833
3833
|
function d(h) {
|
|
3834
3834
|
let { containerId: p } = h;
|
|
3835
|
-
const { limit:
|
|
3836
|
-
!
|
|
3835
|
+
const { limit: g } = A.props;
|
|
3836
|
+
!g || p && A.containerId !== p || (A.count -= A.queue.length, A.queue = []);
|
|
3837
3837
|
}
|
|
3838
3838
|
function c(h) {
|
|
3839
|
-
r((p) => h == null ? [] : p.filter((
|
|
3839
|
+
r((p) => h == null ? [] : p.filter((g) => g !== h));
|
|
3840
3840
|
}
|
|
3841
3841
|
function s() {
|
|
3842
|
-
const { toastContent: h, toastProps: p, staleId:
|
|
3843
|
-
y(h, p,
|
|
3842
|
+
const { toastContent: h, toastProps: p, staleId: g } = A.queue.shift();
|
|
3843
|
+
y(h, p, g);
|
|
3844
3844
|
}
|
|
3845
3845
|
function m(h, p) {
|
|
3846
|
-
let { delay:
|
|
3846
|
+
let { delay: g, staleId: b, ...x } = p;
|
|
3847
3847
|
if (!Mn(h) || function(F) {
|
|
3848
3848
|
return !o.current || A.props.enableMultiContainer && F.containerId !== A.props.containerId || i.has(F.toastId) && F.updateId == null;
|
|
3849
3849
|
}(x))
|
|
@@ -3874,26 +3874,26 @@ function UA(e) {
|
|
|
3874
3874
|
Q.iconOut = function(F) {
|
|
3875
3875
|
let { theme: T, type: W, isLoading: S, icon: z } = F, f = null;
|
|
3876
3876
|
const O = { theme: T, type: W };
|
|
3877
|
-
return z === !1 || (Ze(z) ? f = z(O) : dt(z) ? f = kn(z, O) : at(z) || Zt(z) ? f = z : S ? f = Ln.spinner() : ((
|
|
3877
|
+
return z === !1 || (Ze(z) ? f = z(O) : dt(z) ? f = kn(z, O) : at(z) || Zt(z) ? f = z : S ? f = Ln.spinner() : ((J) => J in Ln)(W) && (f = Ln[W](O))), f;
|
|
3878
3878
|
}(Q), Ze(x.onOpen) && (Q.onOpen = x.onOpen), Ze(x.onClose) && (Q.onClose = x.onClose), Q.closeButton = C.closeButton, x.closeButton === !1 || Mn(x.closeButton) ? Q.closeButton = x.closeButton : x.closeButton === !0 && (Q.closeButton = !Mn(C.closeButton) || C.closeButton);
|
|
3879
3879
|
let re = h;
|
|
3880
|
-
dt(h) && !at(h.type) ? re = kn(h, { closeToast: U, toastProps: Q, data: M }) : Ze(h) && (re = h({ closeToast: U, toastProps: Q, data: M })), C.limit && C.limit > 0 && A.count > C.limit && ne ? A.queue.push({ toastContent: re, toastProps: Q, staleId: b }) : Zt(
|
|
3880
|
+
dt(h) && !at(h.type) ? re = kn(h, { closeToast: U, toastProps: Q, data: M }) : Ze(h) && (re = h({ closeToast: U, toastProps: Q, data: M })), C.limit && C.limit > 0 && A.count > C.limit && ne ? A.queue.push({ toastContent: re, toastProps: Q, staleId: b }) : Zt(g) ? setTimeout(() => {
|
|
3881
3881
|
y(re, Q, b);
|
|
3882
|
-
},
|
|
3882
|
+
}, g) : y(re, Q, b);
|
|
3883
3883
|
}
|
|
3884
|
-
function y(h, p,
|
|
3884
|
+
function y(h, p, g) {
|
|
3885
3885
|
const { toastId: b } = p;
|
|
3886
|
-
|
|
3886
|
+
g && i.delete(g);
|
|
3887
3887
|
const x = { content: h, props: p };
|
|
3888
|
-
i.set(b, x), r((E) => [...E, b].filter((j) => j !==
|
|
3888
|
+
i.set(b, x), r((E) => [...E, b].filter((j) => j !== g)), Se.emit(4, Br(x, x.props.updateId == null ? "added" : "updated"));
|
|
3889
3889
|
}
|
|
3890
3890
|
return Ie(() => (A.containerId = e.containerId, Se.cancelEmit(3).on(0, m).on(1, (h) => o.current && c(h)).on(5, d).emit(2, A), () => {
|
|
3891
3891
|
i.clear(), Se.emit(3, A);
|
|
3892
3892
|
}), []), Ie(() => {
|
|
3893
3893
|
A.props = e, A.isToastActive = a, A.displayedToast = n.length;
|
|
3894
3894
|
}), { getToastToRender: function(h) {
|
|
3895
|
-
const p = /* @__PURE__ */ new Map(),
|
|
3896
|
-
return e.newestOnTop &&
|
|
3895
|
+
const p = /* @__PURE__ */ new Map(), g = Array.from(i.values());
|
|
3896
|
+
return e.newestOnTop && g.reverse(), g.forEach((b) => {
|
|
3897
3897
|
const { position: x } = b.props;
|
|
3898
3898
|
p.has(x) || p.set(x, []), p.get(x).push(b);
|
|
3899
3899
|
}), Array.from(p, (b) => h(b[0], b[1]));
|
|
@@ -3917,10 +3917,10 @@ function FA(e) {
|
|
|
3917
3917
|
function p(M) {
|
|
3918
3918
|
if (a.boundingRect) {
|
|
3919
3919
|
const { top: C, bottom: U, left: ne, right: Q } = a.boundingRect;
|
|
3920
|
-
M.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= ne && a.x <= Q && a.y >= C && a.y <= U ? b() :
|
|
3920
|
+
M.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= ne && a.x <= Q && a.y >= C && a.y <= U ? b() : g();
|
|
3921
3921
|
}
|
|
3922
3922
|
}
|
|
3923
|
-
function
|
|
3923
|
+
function g() {
|
|
3924
3924
|
n(!0);
|
|
3925
3925
|
}
|
|
3926
3926
|
function b() {
|
|
@@ -3941,16 +3941,16 @@ function FA(e) {
|
|
|
3941
3941
|
}
|
|
3942
3942
|
Ie(() => {
|
|
3943
3943
|
A.current = e;
|
|
3944
|
-
}), Ie(() => (i.current && i.current.addEventListener("d",
|
|
3944
|
+
}), Ie(() => (i.current && i.current.addEventListener("d", g, { once: !0 }), Ze(e.onOpen) && e.onOpen(dt(e.children) && e.children.props), () => {
|
|
3945
3945
|
const M = A.current;
|
|
3946
3946
|
Ze(M.onClose) && M.onClose(dt(M.children) && M.children.props);
|
|
3947
|
-
}), []), Ie(() => (e.pauseOnFocusLoss && (document.hasFocus() || b(), window.addEventListener("focus",
|
|
3948
|
-
e.pauseOnFocusLoss && (window.removeEventListener("focus",
|
|
3947
|
+
}), []), Ie(() => (e.pauseOnFocusLoss && (document.hasFocus() || b(), window.addEventListener("focus", g), window.addEventListener("blur", b)), () => {
|
|
3948
|
+
e.pauseOnFocusLoss && (window.removeEventListener("focus", g), window.removeEventListener("blur", b));
|
|
3949
3949
|
}), [e.pauseOnFocusLoss]);
|
|
3950
3950
|
const j = { onMouseDown: h, onTouchStart: h, onMouseUp: p, onTouchEnd: p };
|
|
3951
|
-
return d && c && (j.onMouseEnter = b, j.onMouseLeave =
|
|
3951
|
+
return d && c && (j.onMouseEnter = b, j.onMouseLeave = g), y && (j.onClick = (M) => {
|
|
3952
3952
|
m && m(M), a.canCloseOnClick && s();
|
|
3953
|
-
}), { playToast:
|
|
3953
|
+
}), { playToast: g, pauseToast: b, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: j };
|
|
3954
3954
|
}
|
|
3955
3955
|
function _o(e) {
|
|
3956
3956
|
let { closeToast: t, theme: n, ariaLabel: r = "close" } = e;
|
|
@@ -3962,15 +3962,15 @@ function _A(e) {
|
|
|
3962
3962
|
let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: d, progress: c, rtl: s, isIn: m, theme: y } = e;
|
|
3963
3963
|
const h = i || d && c === 0, p = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: h ? 0 : 1 };
|
|
3964
3964
|
d && (p.transform = `scaleX(${c})`);
|
|
3965
|
-
const
|
|
3965
|
+
const g = Ve("Toastify__progress-bar", d ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${y}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), b = Ze(a) ? a({ rtl: s, type: o, defaultClassName: g }) : Ve(g, a);
|
|
3966
3966
|
return ie.createElement("div", { role: "progressbar", "aria-hidden": h ? "true" : "false", "aria-label": "notification timer", className: b, style: p, [d && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: d && c < 1 ? null : () => {
|
|
3967
3967
|
m && r();
|
|
3968
3968
|
} });
|
|
3969
3969
|
}
|
|
3970
3970
|
const $A = (e) => {
|
|
3971
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = FA(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: c, hideProgressBar: s, closeToast: m, transition: y, position: h, className: p, style:
|
|
3972
|
-
let
|
|
3973
|
-
return i === !1 || (
|
|
3971
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = FA(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: c, hideProgressBar: s, closeToast: m, transition: y, position: h, className: p, style: g, bodyClassName: b, bodyStyle: x, progressClassName: E, progressStyle: j, updateId: M, role: C, progress: U, rtl: ne, toastId: Q, deleteToast: ae, isIn: Ae, isLoading: re, iconOut: F, closeOnClick: T, theme: W } = e, S = Ve("Toastify__toast", `Toastify__toast-theme--${W}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": ne }, { "Toastify__toast--close-on-click": T }), z = Ze(p) ? p({ rtl: ne, position: h, type: c, defaultClassName: S }) : Ve(S, p), f = !!U || !A, O = { closeToast: m, type: c, theme: W };
|
|
3972
|
+
let J = null;
|
|
3973
|
+
return i === !1 || (J = Ze(i) ? i(O) : dt(i) ? kn(i, O) : _o(O)), ie.createElement(y, { isIn: Ae, done: ae, position: h, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: Q, onClick: d, className: z, ...o, style: g, ref: r }, ie.createElement("div", { ...Ae && { role: C }, className: Ze(b) ? b({ type: c }) : Ve("Toastify__toast-body", b), style: x }, F != null && ie.createElement("div", { className: Ve("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !re }) }, F), ie.createElement("div", null, a)), J, ie.createElement(_A, { ...M && !f ? { key: `pb-${M}` } : {}, rtl: ne, theme: W, delay: A, isRunning: t, isIn: Ae, closeToast: m, hide: s, type: c, style: j, className: E, controlledProgress: f, progress: U || 0 })));
|
|
3974
3974
|
}, dn = function(e, t) {
|
|
3975
3975
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3976
3976
|
}, es = cn(dn("bounce", !0));
|
|
@@ -3988,8 +3988,8 @@ const Tn = Si((e, t) => {
|
|
|
3988
3988
|
}, []), ie.createElement("div", { ref: r, className: "Toastify", id: d }, n((s, m) => {
|
|
3989
3989
|
const y = m.length ? { ...a } : { ...a, pointerEvents: "none" };
|
|
3990
3990
|
return ie.createElement("div", { className: c(s), style: y, key: `container-${s}` }, m.map((h, p) => {
|
|
3991
|
-
let { content:
|
|
3992
|
-
return ie.createElement($A, { ...b, isIn: o(b.toastId), style: { ...b.style, "--nth": p + 1, "--len": m.length }, key: `toast-${b.key}` },
|
|
3991
|
+
let { content: g, props: b } = h;
|
|
3992
|
+
return ie.createElement($A, { ...b, isIn: o(b.toastId), style: { ...b.style, "--nth": p + 1, "--len": m.length }, key: `toast-${b.key}` }, g);
|
|
3993
3993
|
}));
|
|
3994
3994
|
}));
|
|
3995
3995
|
});
|
|
@@ -4414,7 +4414,7 @@ const ss = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsxs(
|
|
|
4414
4414
|
}
|
|
4415
4415
|
);
|
|
4416
4416
|
async function ls(e, t) {
|
|
4417
|
-
return (await
|
|
4417
|
+
return (await ge.post(t + "/buyRequest", {
|
|
4418
4418
|
requestType: e
|
|
4419
4419
|
})).data;
|
|
4420
4420
|
}
|
|
@@ -5108,7 +5108,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
5108
5108
|
}
|
|
5109
5109
|
);
|
|
5110
5110
|
};
|
|
5111
|
-
const
|
|
5111
|
+
const gs = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
5112
5112
|
"div",
|
|
5113
5113
|
{
|
|
5114
5114
|
style: {
|
|
@@ -5235,7 +5235,7 @@ const qs = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
|
5235
5235
|
)
|
|
5236
5236
|
]
|
|
5237
5237
|
}
|
|
5238
|
-
),
|
|
5238
|
+
), qs = ({
|
|
5239
5239
|
onClose: e,
|
|
5240
5240
|
iosLink: t,
|
|
5241
5241
|
googleLink: n,
|
|
@@ -5686,7 +5686,7 @@ const qs = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
|
5686
5686
|
}
|
|
5687
5687
|
);
|
|
5688
5688
|
async function vs(e, t, n, r) {
|
|
5689
|
-
return (await
|
|
5689
|
+
return (await ge.post(e + "/createMolocoTestPage", {
|
|
5690
5690
|
_id: t,
|
|
5691
5691
|
network: n,
|
|
5692
5692
|
typeOfProduct: r
|
|
@@ -5708,7 +5708,7 @@ const bs = ({
|
|
|
5708
5708
|
fetchFileUrl: y,
|
|
5709
5709
|
urls: h,
|
|
5710
5710
|
game: p,
|
|
5711
|
-
setIsConfirmActive:
|
|
5711
|
+
setIsConfirmActive: g,
|
|
5712
5712
|
creditDownload: b,
|
|
5713
5713
|
getDownloadCount: x,
|
|
5714
5714
|
disabled: E,
|
|
@@ -5717,7 +5717,7 @@ const bs = ({
|
|
|
5717
5717
|
isTest: C,
|
|
5718
5718
|
urlType: U
|
|
5719
5719
|
}) => {
|
|
5720
|
-
const [ne, Q] = V(!1), [ae, Ae] = V(""), [re, F] = V(!1), [T, W] = V(!1), [S, z] = V(!1), [f, O] = V("download"), [
|
|
5720
|
+
const [ne, Q] = V(!1), [ae, Ae] = V(""), [re, F] = V(!1), [T, W] = V(!1), [S, z] = V(!1), [f, O] = V("download"), [J, q] = V(!1), [Z, k] = V(!1), [w, Y] = V(!1);
|
|
5721
5721
|
let P = {
|
|
5722
5722
|
aarki: "html,copy",
|
|
5723
5723
|
adcolony: "copy,html",
|
|
@@ -5763,19 +5763,19 @@ const bs = ({
|
|
|
5763
5763
|
};
|
|
5764
5764
|
const D = () => {
|
|
5765
5765
|
n(e);
|
|
5766
|
-
},
|
|
5766
|
+
}, N = async (B, K) => (Q(!0), new Promise((ce, Xe) => {
|
|
5767
5767
|
Ft(c, B, h, K, C).then((we) => {
|
|
5768
5768
|
Q(!1), ce(we);
|
|
5769
5769
|
}).catch((we) => {
|
|
5770
5770
|
Q(!1), m(we.message, we), Xe(we);
|
|
5771
5771
|
});
|
|
5772
5772
|
})), R = async (B = !1) => {
|
|
5773
|
-
B ? k(!0) :
|
|
5773
|
+
B ? k(!0) : q(!0);
|
|
5774
5774
|
const K = {
|
|
5775
5775
|
molocoGenerateHtml: !1
|
|
5776
5776
|
};
|
|
5777
5777
|
B && (K.molocoGenerateHtml = !0), Ft(c, o, h, "download", C, K).then((ce) => {
|
|
5778
|
-
B ? k(!1) :
|
|
5778
|
+
B ? k(!1) : q(!1), z(!1);
|
|
5779
5779
|
}).catch((ce) => {
|
|
5780
5780
|
m(ce.message, ce);
|
|
5781
5781
|
});
|
|
@@ -5811,7 +5811,7 @@ const bs = ({
|
|
|
5811
5811
|
"div",
|
|
5812
5812
|
{
|
|
5813
5813
|
style: {
|
|
5814
|
-
marginTop: "40px",
|
|
5814
|
+
marginTop: o == "web" ? "10px" : "40px",
|
|
5815
5815
|
display: "flex",
|
|
5816
5816
|
justifyContent: "center"
|
|
5817
5817
|
},
|
|
@@ -5839,7 +5839,7 @@ const bs = ({
|
|
|
5839
5839
|
alignItems: "center",
|
|
5840
5840
|
marginRight: "2rem"
|
|
5841
5841
|
},
|
|
5842
|
-
children: /* @__PURE__ */ l.jsx(
|
|
5842
|
+
children: /* @__PURE__ */ l.jsx(gs, { typeOfProduct: d })
|
|
5843
5843
|
}
|
|
5844
5844
|
) : i.map((B) => /* @__PURE__ */ l.jsx(
|
|
5845
5845
|
"div",
|
|
@@ -5888,7 +5888,7 @@ const bs = ({
|
|
|
5888
5888
|
style: {
|
|
5889
5889
|
width: "30rem",
|
|
5890
5890
|
// Equivalent to 120/4 = 30rem
|
|
5891
|
-
height: "50px",
|
|
5891
|
+
height: o == "web" ? "80px" : "50px",
|
|
5892
5892
|
objectFit: "contain"
|
|
5893
5893
|
},
|
|
5894
5894
|
src: t
|
|
@@ -5919,7 +5919,7 @@ const bs = ({
|
|
|
5919
5919
|
} else {
|
|
5920
5920
|
Ae("download");
|
|
5921
5921
|
const K = h.iosUrl, ce = h.googleUrl;
|
|
5922
|
-
b && b.willSpendCredit ? (
|
|
5922
|
+
b && b.willSpendCredit ? (g(!0), O("download"), F(!0)) : ["Playable", "Flex"].includes(d) && (!K || !ce) || d === "Ready" && U === "single" && !K || d === "Ready" && U === "multi" && (!K || !ce) ? (g(!0), W(!0)) : (W(!1), F(!1), await N(o, "download"));
|
|
5923
5923
|
}
|
|
5924
5924
|
},
|
|
5925
5925
|
children: [
|
|
@@ -5952,7 +5952,7 @@ const bs = ({
|
|
|
5952
5952
|
onClickDonwload: async (B) => {
|
|
5953
5953
|
B.stopPropagation(), Ae("copyLink");
|
|
5954
5954
|
const K = h.iosUrl, ce = h.googleUrl;
|
|
5955
|
-
b && (b != null && b.willSpendCredit) ? (O("copy"),
|
|
5955
|
+
b && (b != null && b.willSpendCredit) ? (O("copy"), g(!0), F(!0)) : d !== "Import" && (!K || !ce) ? (g(!0), W(!0)) : (F(!1), W(!1), await N(o, "copy"));
|
|
5956
5956
|
},
|
|
5957
5957
|
disabled: E,
|
|
5958
5958
|
children: /* @__PURE__ */ l.jsx(Zo, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -5965,7 +5965,7 @@ const bs = ({
|
|
|
5965
5965
|
onClickDonwload: async (B) => {
|
|
5966
5966
|
B.stopPropagation(), Ae("download");
|
|
5967
5967
|
const K = h.iosUrl, ce = h.googleUrl;
|
|
5968
|
-
b && (b != null && b.willSpendCredit) ? (O("download"),
|
|
5968
|
+
b && (b != null && b.willSpendCredit) ? (O("download"), g(!0), F(!0)) : d !== "Import" && (!K || !ce) ? (g(!0), W(!0)) : (F(!1), W(!1), await R(!0));
|
|
5969
5969
|
},
|
|
5970
5970
|
disabled: E,
|
|
5971
5971
|
children: /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
@@ -5999,31 +5999,31 @@ const bs = ({
|
|
|
5999
5999
|
{
|
|
6000
6000
|
creditConfirmType: f,
|
|
6001
6001
|
handleCopyLink: async () => {
|
|
6002
|
-
W(!1),
|
|
6002
|
+
W(!1), g(!1), await N(o, "copy");
|
|
6003
6003
|
},
|
|
6004
6004
|
download: async () => {
|
|
6005
|
-
W(!1),
|
|
6005
|
+
W(!1), g(!1), await N(o, "download");
|
|
6006
6006
|
},
|
|
6007
6007
|
onClose: () => {
|
|
6008
|
-
F(!1),
|
|
6008
|
+
F(!1), g(!1);
|
|
6009
6009
|
},
|
|
6010
6010
|
getDownloadCount: x
|
|
6011
6011
|
}
|
|
6012
6012
|
),
|
|
6013
6013
|
T && /* @__PURE__ */ l.jsx(
|
|
6014
|
-
|
|
6014
|
+
qs,
|
|
6015
6015
|
{
|
|
6016
6016
|
onClose: () => {
|
|
6017
|
-
W(!1),
|
|
6017
|
+
W(!1), g(!1);
|
|
6018
6018
|
},
|
|
6019
6019
|
iosLink: h.iosUrl,
|
|
6020
6020
|
googleLink: h.googleUrl,
|
|
6021
6021
|
buttonType: ae,
|
|
6022
6022
|
handleCopyLink: async () => {
|
|
6023
|
-
W(!1),
|
|
6023
|
+
W(!1), g(!1), await N(o, "copy");
|
|
6024
6024
|
},
|
|
6025
6025
|
download: async () => {
|
|
6026
|
-
W(!1),
|
|
6026
|
+
W(!1), g(!1), await N(o, "download");
|
|
6027
6027
|
},
|
|
6028
6028
|
typeOfProduct: d,
|
|
6029
6029
|
urlType: U
|
|
@@ -6037,13 +6037,18 @@ const bs = ({
|
|
|
6037
6037
|
},
|
|
6038
6038
|
handleDownload: R,
|
|
6039
6039
|
handleDownloadMolocoTest: _,
|
|
6040
|
-
downloadingMoloco:
|
|
6040
|
+
downloadingMoloco: J,
|
|
6041
6041
|
donwloadintMolocoTest: w,
|
|
6042
6042
|
downloadingMolocoHtml: Z
|
|
6043
6043
|
}
|
|
6044
6044
|
)
|
|
6045
6045
|
] });
|
|
6046
6046
|
}, En = [
|
|
6047
|
+
{
|
|
6048
|
+
id: "33",
|
|
6049
|
+
name: "web",
|
|
6050
|
+
imageSrc: "https://gearbox.playablefactory.com/files/network_icons/web.png"
|
|
6051
|
+
},
|
|
6047
6052
|
{
|
|
6048
6053
|
id: "1",
|
|
6049
6054
|
name: "unity",
|
|
@@ -6194,11 +6199,6 @@ const bs = ({
|
|
|
6194
6199
|
name: "yandex",
|
|
6195
6200
|
imageSrc: "https://gearbox.playablefactory.com/yandex.png"
|
|
6196
6201
|
},
|
|
6197
|
-
{
|
|
6198
|
-
id: "33",
|
|
6199
|
-
name: "web",
|
|
6200
|
-
imageSrc: "https://gearbox.playablefactory.com/web.png"
|
|
6201
|
-
},
|
|
6202
6202
|
{
|
|
6203
6203
|
id: "34",
|
|
6204
6204
|
name: "zucks",
|
|
@@ -6346,22 +6346,22 @@ const bs = ({
|
|
|
6346
6346
|
disabled: y,
|
|
6347
6347
|
setSafariCopyLink: h,
|
|
6348
6348
|
isTest: p,
|
|
6349
|
-
urlType:
|
|
6349
|
+
urlType: g
|
|
6350
6350
|
}) => {
|
|
6351
|
-
const [b, x] = V([]), [E, j] = V([]), [M, C] = V(!1), [U, ne] = V(""), [Q, ae] = V(!1), [Ae, re] = V(!1), [F, T] = V("download"), [W, S] = V(!1), z = async (
|
|
6352
|
-
const
|
|
6353
|
-
if (b.includes(
|
|
6354
|
-
const Z =
|
|
6355
|
-
|
|
6351
|
+
const [b, x] = V([]), [E, j] = V([]), [M, C] = V(!1), [U, ne] = V(""), [Q, ae] = V(!1), [Ae, re] = V(!1), [F, T] = V("download"), [W, S] = V(!1), z = async (J) => {
|
|
6352
|
+
const q = [...b];
|
|
6353
|
+
if (b.includes(J)) {
|
|
6354
|
+
const Z = q.findIndex((k) => k === J);
|
|
6355
|
+
q.splice(Z, 1), x(q);
|
|
6356
6356
|
} else
|
|
6357
|
-
|
|
6358
|
-
En.filter((Z) => [...
|
|
6359
|
-
}, f = async () => (console.log("multi download"), new Promise(async (
|
|
6357
|
+
q.push(J), x([...b, J]);
|
|
6358
|
+
En.filter((Z) => [...q].includes(Z.id)).map((Z) => Z.name);
|
|
6359
|
+
}, f = async () => (console.log("multi download"), new Promise(async (J, q) => {
|
|
6360
6360
|
const Z = En.filter((k) => [...b].includes(k.id)).map((k) => k.name);
|
|
6361
6361
|
ae(!0), console.log("get multi download"), os(r, c, Z).then((k) => {
|
|
6362
|
-
console.log("get multi download res"), ae(!1),
|
|
6362
|
+
console.log("get multi download res"), ae(!1), J(k);
|
|
6363
6363
|
}).catch((k) => {
|
|
6364
|
-
console.log("get multi download err"), ae(!1), A(k.message, k),
|
|
6364
|
+
console.log("get multi download err"), ae(!1), A(k.message, k), q(k);
|
|
6365
6365
|
});
|
|
6366
6366
|
})), O = async () => {
|
|
6367
6367
|
c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (re(!0), T("download"), S(!0)) : (S(!1), await f());
|
|
@@ -6387,40 +6387,47 @@ const bs = ({
|
|
|
6387
6387
|
overflowY: "auto",
|
|
6388
6388
|
padding: "0.75rem"
|
|
6389
6389
|
},
|
|
6390
|
-
children: n && En.filter((
|
|
6391
|
-
var
|
|
6392
|
-
return t && ((
|
|
6390
|
+
children: n && En.filter((J) => {
|
|
6391
|
+
var q;
|
|
6392
|
+
return t && ((q = t == null ? void 0 : t.networks) == null ? void 0 : q.length) > 0 ? t == null ? void 0 : t.networks.includes(J.name) : o === "Import" ? e == null ? void 0 : e.networks.filter((Z) => Z.status === "paid").some((Z) => Z.name === J.name) : e == null ? void 0 : e.networks.includes(J.name);
|
|
6393
6393
|
}).filter(
|
|
6394
|
-
(
|
|
6395
|
-
).map((
|
|
6396
|
-
|
|
6397
|
-
{
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6394
|
+
(J) => J.name === "voodoo" ? a.customer === "customer:20" : !0
|
|
6395
|
+
).map((J) => {
|
|
6396
|
+
let q = J.imageSrc;
|
|
6397
|
+
if (J.name === "web") {
|
|
6398
|
+
let Z = "web_" + o.toLowerCase() + ".png";
|
|
6399
|
+
q = q.replace("web.png", Z);
|
|
6400
|
+
}
|
|
6401
|
+
return /* @__PURE__ */ l.jsx(
|
|
6402
|
+
bs,
|
|
6403
|
+
{
|
|
6404
|
+
id: J.id,
|
|
6405
|
+
name: J.name,
|
|
6406
|
+
imageUrl: q,
|
|
6407
|
+
selected: b.includes(J.id),
|
|
6408
|
+
handleCardClick: z,
|
|
6409
|
+
networkVersionSize: E,
|
|
6410
|
+
fileSizeLoading: M,
|
|
6411
|
+
showCheckBox: !0,
|
|
6412
|
+
typeOfProduct: o,
|
|
6413
|
+
versionId: r,
|
|
6414
|
+
api: i,
|
|
6415
|
+
handleDownloadError: A,
|
|
6416
|
+
fetchFileUrl: d,
|
|
6417
|
+
urls: c,
|
|
6418
|
+
game: s,
|
|
6419
|
+
creditDownload: t,
|
|
6420
|
+
setIsConfirmActive: re,
|
|
6421
|
+
getDownloadCount: m,
|
|
6422
|
+
disabled: y,
|
|
6423
|
+
user: a,
|
|
6424
|
+
setSafariCopyLink: h,
|
|
6425
|
+
isTest: p,
|
|
6426
|
+
urlType: g
|
|
6427
|
+
},
|
|
6428
|
+
J.id
|
|
6429
|
+
);
|
|
6430
|
+
})
|
|
6424
6431
|
}
|
|
6425
6432
|
)
|
|
6426
6433
|
}
|
|
@@ -6467,30 +6474,30 @@ const bs = ({
|
|
|
6467
6474
|
] });
|
|
6468
6475
|
};
|
|
6469
6476
|
async function ws(e, t) {
|
|
6470
|
-
return (await
|
|
6477
|
+
return (await ge.post(t + "/findPlayable", { _id: e })).data;
|
|
6471
6478
|
}
|
|
6472
6479
|
async function xs(e, t) {
|
|
6473
|
-
return (await
|
|
6480
|
+
return (await ge.post(t + "/getFlexDownloadCount", e)).data;
|
|
6474
6481
|
}
|
|
6475
6482
|
async function Ks(e, t) {
|
|
6476
6483
|
try {
|
|
6477
|
-
return (await
|
|
6484
|
+
return (await ge.post(t + "/findGame", { _id: e })).data;
|
|
6478
6485
|
} catch {
|
|
6479
6486
|
}
|
|
6480
6487
|
}
|
|
6481
6488
|
async function Ws(e, t) {
|
|
6482
|
-
return (await
|
|
6489
|
+
return (await ge.post(t + "/getPlayableVersionMarketLink", {
|
|
6483
6490
|
_id: e
|
|
6484
6491
|
})).data;
|
|
6485
6492
|
}
|
|
6486
6493
|
async function Ms(e, t) {
|
|
6487
|
-
return (await
|
|
6494
|
+
return (await ge.post(t + "/getFlexData", { _id: e })).data;
|
|
6488
6495
|
}
|
|
6489
6496
|
async function Ls(e, t) {
|
|
6490
|
-
return (await
|
|
6497
|
+
return (await ge.post(t + "/getImportedPlayable", { id: e })).data;
|
|
6491
6498
|
}
|
|
6492
6499
|
async function Ss(e, t) {
|
|
6493
|
-
return (await
|
|
6500
|
+
return (await ge.post(t + "/getReadyDownloadCount", e)).data;
|
|
6494
6501
|
}
|
|
6495
6502
|
const Os = [
|
|
6496
6503
|
"adcolony",
|
|
@@ -6504,6 +6511,7 @@ const Os = [
|
|
|
6504
6511
|
"moloco",
|
|
6505
6512
|
"inmobi"
|
|
6506
6513
|
], eo = [
|
|
6514
|
+
"web",
|
|
6507
6515
|
"adcolony",
|
|
6508
6516
|
"applovin",
|
|
6509
6517
|
"chartboost",
|
|
@@ -6535,7 +6543,7 @@ const Os = [
|
|
|
6535
6543
|
setFileSize: m,
|
|
6536
6544
|
setSafariCopyLink: y
|
|
6537
6545
|
}) => {
|
|
6538
|
-
const [h, p] = V(null), [
|
|
6546
|
+
const [h, p] = V(null), [g, b] = V(null), [x, E] = V(null), [j, M] = V(!1), [C, U] = V("Loading..."), [ne, Q] = V("Loading..."), [ae, Ae] = V(!0), [re, F] = V(window.innerWidth), [T, W] = V(!1), [S, z] = V("game");
|
|
6539
6547
|
Ie(() => {
|
|
6540
6548
|
const w = () => {
|
|
6541
6549
|
F(window.innerWidth);
|
|
@@ -6550,12 +6558,12 @@ const Os = [
|
|
|
6550
6558
|
return w != null && w.networks || (w.networks = Os), p(w), w;
|
|
6551
6559
|
}, O = (w) => {
|
|
6552
6560
|
U(w);
|
|
6553
|
-
},
|
|
6561
|
+
}, J = (w) => {
|
|
6554
6562
|
Q(w);
|
|
6555
|
-
},
|
|
6563
|
+
}, q = async (w, Y) => {
|
|
6556
6564
|
var P, D;
|
|
6557
6565
|
try {
|
|
6558
|
-
let
|
|
6566
|
+
let N;
|
|
6559
6567
|
if (r === "Playable" || r === "Ready") {
|
|
6560
6568
|
const R = await Ws(t, i);
|
|
6561
6569
|
if (R) {
|
|
@@ -6588,8 +6596,8 @@ const Os = [
|
|
|
6588
6596
|
}
|
|
6589
6597
|
w && (w.iosUrl || w.googleUrl) ? (U(w.iosUrl), Q(w.googleUrl), M(!1)) : (Q(""), U(""), M(!1));
|
|
6590
6598
|
}
|
|
6591
|
-
} catch (
|
|
6592
|
-
d(
|
|
6599
|
+
} catch (N) {
|
|
6600
|
+
d(N.response.data.error.msg);
|
|
6593
6601
|
}
|
|
6594
6602
|
}, Z = async () => {
|
|
6595
6603
|
M(!0);
|
|
@@ -6604,14 +6612,14 @@ const Os = [
|
|
|
6604
6612
|
}, k = async () => await Ks(n, i);
|
|
6605
6613
|
return Ie(() => {
|
|
6606
6614
|
o || (p(null), b(null), E(null), m(null)), o && (r === "Playable" ? (f().then((w) => {
|
|
6607
|
-
|
|
6615
|
+
q(null, w);
|
|
6608
6616
|
}), Ae(!1)) : r === "Ready" ? Z().then((w) => {
|
|
6609
6617
|
f().then((Y) => {
|
|
6610
|
-
|
|
6618
|
+
q(null, Y), Ae(!1);
|
|
6611
6619
|
});
|
|
6612
6620
|
}) : r === "Flex" ? Z().then((w) => {
|
|
6613
6621
|
Ae(!1), k().then((Y) => {
|
|
6614
|
-
o && (
|
|
6622
|
+
o && (q(Y, null), Ae(!1), b(Y));
|
|
6615
6623
|
});
|
|
6616
6624
|
}) : r === "Import" && Ls(t, i).then((w) => {
|
|
6617
6625
|
console.log(w), p(w), U(w.iosUrl || ""), Q(w.googleUrl || ""), M(!1), Ae(!1);
|
|
@@ -6638,7 +6646,7 @@ const Os = [
|
|
|
6638
6646
|
fileSize: s,
|
|
6639
6647
|
urls: { iosUrl: C, googleUrl: ne },
|
|
6640
6648
|
handleIosChange: O,
|
|
6641
|
-
handleGoogleChange:
|
|
6649
|
+
handleGoogleChange: J,
|
|
6642
6650
|
disabled: ae,
|
|
6643
6651
|
api: i,
|
|
6644
6652
|
creditDownload: x,
|
|
@@ -6661,7 +6669,7 @@ const Os = [
|
|
|
6661
6669
|
},
|
|
6662
6670
|
children: /* @__PURE__ */ l.jsx(lr, { isNetworksLoading: !0 })
|
|
6663
6671
|
}
|
|
6664
|
-
) : (h || x) && (r === "Flex" ?
|
|
6672
|
+
) : (h || x) && (r === "Flex" ? g : !0) && !j && C !== "Loading..." && ne !== "Loading..." && /* @__PURE__ */ l.jsx(
|
|
6665
6673
|
Is,
|
|
6666
6674
|
{
|
|
6667
6675
|
playable: h,
|
|
@@ -6674,7 +6682,7 @@ const Os = [
|
|
|
6674
6682
|
handleDownloadError: d,
|
|
6675
6683
|
fetchFileUrl: c,
|
|
6676
6684
|
urls: { iosUrl: C, googleUrl: ne },
|
|
6677
|
-
game:
|
|
6685
|
+
game: g,
|
|
6678
6686
|
getDownloadCount: Z,
|
|
6679
6687
|
disabled: ae,
|
|
6680
6688
|
setSafariCopyLink: y,
|
|
@@ -6836,7 +6844,7 @@ var Vn = { exports: {} };
|
|
|
6836
6844
|
d.preventDefault(), s.focus();
|
|
6837
6845
|
return;
|
|
6838
6846
|
}
|
|
6839
|
-
var
|
|
6847
|
+
var g = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), b = g != null && g[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
6840
6848
|
if (b) {
|
|
6841
6849
|
var x = c.indexOf(p);
|
|
6842
6850
|
if (x > -1 && (x += m ? -1 : 1), s = c[x], typeof s > "u") {
|
|
@@ -7056,7 +7064,7 @@ Object.defineProperty(ht, "__esModule", {
|
|
|
7056
7064
|
value: !0
|
|
7057
7065
|
});
|
|
7058
7066
|
ht.log = hl;
|
|
7059
|
-
ht.resetState =
|
|
7067
|
+
ht.resetState = gl;
|
|
7060
7068
|
function fl(e, t) {
|
|
7061
7069
|
if (!(e instanceof t))
|
|
7062
7070
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -7093,7 +7101,7 @@ function hl() {
|
|
|
7093
7101
|
return console.log(e);
|
|
7094
7102
|
}), console.log("end portalOpenInstances ----------");
|
|
7095
7103
|
}
|
|
7096
|
-
function
|
|
7104
|
+
function gl() {
|
|
7097
7105
|
_t = new ai();
|
|
7098
7106
|
}
|
|
7099
7107
|
ht.default = _t;
|
|
@@ -7103,7 +7111,7 @@ Object.defineProperty(cr, "__esModule", {
|
|
|
7103
7111
|
});
|
|
7104
7112
|
cr.resetState = bl;
|
|
7105
7113
|
cr.log = Cl;
|
|
7106
|
-
var
|
|
7114
|
+
var ql = ht, yl = vl(ql);
|
|
7107
7115
|
function vl(e) {
|
|
7108
7116
|
return e && e.__esModule ? e : { default: e };
|
|
7109
7117
|
}
|
|
@@ -7159,7 +7167,7 @@ yl.default.subscribe(Zl);
|
|
|
7159
7167
|
return function(S, z, f) {
|
|
7160
7168
|
return z && W(S.prototype, z), f && W(S, f), S;
|
|
7161
7169
|
};
|
|
7162
|
-
}(), i = ie, a = nn, A = C(a), d = ze, c = M(d), s = Hs, m = C(s), y = je, h = M(y), p = ft,
|
|
7170
|
+
}(), i = ie, a = nn, A = C(a), d = ze, c = M(d), s = Hs, m = C(s), y = je, h = M(y), p = ft, g = M(p), b = Ye, x = C(b), E = ht, j = C(E);
|
|
7163
7171
|
function M(W) {
|
|
7164
7172
|
if (W && W.__esModule)
|
|
7165
7173
|
return W;
|
|
@@ -7203,8 +7211,8 @@ yl.default.subscribe(Zl);
|
|
|
7203
7211
|
}, f.setContentRef = function(O) {
|
|
7204
7212
|
f.content = O, f.props.contentRef && f.props.contentRef(O);
|
|
7205
7213
|
}, f.afterClose = function() {
|
|
7206
|
-
var O = f.props,
|
|
7207
|
-
k &&
|
|
7214
|
+
var O = f.props, J = O.appElement, q = O.ariaHideApp, Z = O.htmlOpenClassName, k = O.bodyOpenClassName, w = O.parentSelector, Y = w && w().ownerDocument || document;
|
|
7215
|
+
k && g.remove(Y.body, k), Z && g.remove(Y.getElementsByTagName("html")[0], Z), q && F > 0 && (F -= 1, F === 0 && h.show(J)), 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);
|
|
7208
7216
|
}, f.open = function() {
|
|
7209
7217
|
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() {
|
|
7210
7218
|
f.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -7250,16 +7258,16 @@ yl.default.subscribe(Zl);
|
|
|
7250
7258
|
return !f.state.isOpen && !f.state.beforeClose;
|
|
7251
7259
|
}, f.contentHasFocus = function() {
|
|
7252
7260
|
return document.activeElement === f.content || f.content.contains(document.activeElement);
|
|
7253
|
-
}, f.buildClassName = function(O,
|
|
7254
|
-
var
|
|
7261
|
+
}, f.buildClassName = function(O, J) {
|
|
7262
|
+
var q = (typeof J > "u" ? "undefined" : r(J)) === "object" ? J : {
|
|
7255
7263
|
base: ae[O],
|
|
7256
7264
|
afterOpen: ae[O] + "--after-open",
|
|
7257
7265
|
beforeClose: ae[O] + "--before-close"
|
|
7258
|
-
}, Z =
|
|
7259
|
-
return f.state.afterOpen && (Z = Z + " " +
|
|
7260
|
-
}, f.attributesFromObject = function(O,
|
|
7261
|
-
return Object.keys(
|
|
7262
|
-
return
|
|
7266
|
+
}, Z = q.base;
|
|
7267
|
+
return f.state.afterOpen && (Z = Z + " " + q.afterOpen), f.state.beforeClose && (Z = Z + " " + q.beforeClose), typeof J == "string" && J ? Z + " " + J : Z;
|
|
7268
|
+
}, f.attributesFromObject = function(O, J) {
|
|
7269
|
+
return Object.keys(J).reduce(function(q, Z) {
|
|
7270
|
+
return q[O + "-" + Z] = J[Z], q;
|
|
7263
7271
|
}, {});
|
|
7264
7272
|
}, f.state = {
|
|
7265
7273
|
afterOpen: !1,
|
|
@@ -7284,19 +7292,19 @@ yl.default.subscribe(Zl);
|
|
|
7284
7292
|
}, {
|
|
7285
7293
|
key: "beforeOpen",
|
|
7286
7294
|
value: function() {
|
|
7287
|
-
var f = this.props, O = f.appElement,
|
|
7288
|
-
Z &&
|
|
7295
|
+
var f = this.props, O = f.appElement, J = f.ariaHideApp, q = f.htmlOpenClassName, Z = f.bodyOpenClassName, k = f.parentSelector, w = k && k().ownerDocument || document;
|
|
7296
|
+
Z && g.add(w.body, Z), q && g.add(w.getElementsByTagName("html")[0], q), J && (F += 1, h.hide(O)), j.default.register(this);
|
|
7289
7297
|
}
|
|
7290
7298
|
// Don't steal focus from inner elements
|
|
7291
7299
|
}, {
|
|
7292
7300
|
key: "render",
|
|
7293
7301
|
value: function() {
|
|
7294
|
-
var f = this.props, O = f.id,
|
|
7302
|
+
var f = this.props, O = f.id, J = f.className, q = f.overlayClassName, Z = f.defaultStyles, k = f.children, w = J ? {} : Z.content, Y = q ? {} : Z.overlay;
|
|
7295
7303
|
if (this.shouldBeClosed())
|
|
7296
7304
|
return null;
|
|
7297
7305
|
var P = {
|
|
7298
7306
|
ref: this.setOverlayRef,
|
|
7299
|
-
className: this.buildClassName("overlay",
|
|
7307
|
+
className: this.buildClassName("overlay", q),
|
|
7300
7308
|
style: n({}, Y, this.props.style.overlay),
|
|
7301
7309
|
onClick: this.handleOverlayOnClick,
|
|
7302
7310
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
@@ -7304,7 +7312,7 @@ yl.default.subscribe(Zl);
|
|
|
7304
7312
|
id: O,
|
|
7305
7313
|
ref: this.setContentRef,
|
|
7306
7314
|
style: n({}, w, this.props.style.content),
|
|
7307
|
-
className: this.buildClassName("content",
|
|
7315
|
+
className: this.buildClassName("content", J),
|
|
7308
7316
|
tabIndex: "-1",
|
|
7309
7317
|
onKeyDown: this.handleKeyDown,
|
|
7310
7318
|
onMouseDown: this.handleContentOnMouseDown,
|
|
@@ -7314,8 +7322,8 @@ yl.default.subscribe(Zl);
|
|
|
7314
7322
|
"aria-label": this.props.contentLabel
|
|
7315
7323
|
}, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7316
7324
|
"data-testid": this.props.testId
|
|
7317
|
-
}),
|
|
7318
|
-
return this.props.overlayElement(P,
|
|
7325
|
+
}), N = this.props.contentElement(D, k);
|
|
7326
|
+
return this.props.overlayElement(P, N);
|
|
7319
7327
|
}
|
|
7320
7328
|
}]), S;
|
|
7321
7329
|
}(i.Component);
|
|
@@ -7485,7 +7493,7 @@ var Jl = At.portalClassName = "ReactModalPortal", Nl = At.bodyOpenClassName = "R
|
|
|
7485
7493
|
function Rt(e) {
|
|
7486
7494
|
return e();
|
|
7487
7495
|
}
|
|
7488
|
-
var
|
|
7496
|
+
var gt = function(e) {
|
|
7489
7497
|
jl(t, e);
|
|
7490
7498
|
function t() {
|
|
7491
7499
|
var n, r, o, i;
|
|
@@ -7557,7 +7565,7 @@ var qt = function(e) {
|
|
|
7557
7565
|
/* eslint-enable react/no-unused-prop-types */
|
|
7558
7566
|
}]), t;
|
|
7559
7567
|
}(ui.Component);
|
|
7560
|
-
|
|
7568
|
+
gt.propTypes = {
|
|
7561
7569
|
isOpen: X.default.bool.isRequired,
|
|
7562
7570
|
style: X.default.shape({
|
|
7563
7571
|
content: X.default.object,
|
|
@@ -7597,7 +7605,7 @@ qt.propTypes = {
|
|
|
7597
7605
|
overlayElement: X.default.func,
|
|
7598
7606
|
contentElement: X.default.func
|
|
7599
7607
|
};
|
|
7600
|
-
|
|
7608
|
+
gt.defaultProps = {
|
|
7601
7609
|
isOpen: !1,
|
|
7602
7610
|
portalClassName: Jl,
|
|
7603
7611
|
bodyOpenClassName: Nl,
|
|
@@ -7627,7 +7635,7 @@ qt.defaultProps = {
|
|
|
7627
7635
|
);
|
|
7628
7636
|
}
|
|
7629
7637
|
};
|
|
7630
|
-
|
|
7638
|
+
gt.defaultStyles = {
|
|
7631
7639
|
overlay: {
|
|
7632
7640
|
position: "fixed",
|
|
7633
7641
|
top: 0,
|
|
@@ -7651,11 +7659,11 @@ qt.defaultStyles = {
|
|
|
7651
7659
|
padding: "20px"
|
|
7652
7660
|
}
|
|
7653
7661
|
};
|
|
7654
|
-
(0, kl.polyfill)(
|
|
7655
|
-
process.env.NODE_ENV !== "production" && (
|
|
7662
|
+
(0, kl.polyfill)(gt);
|
|
7663
|
+
process.env.NODE_ENV !== "production" && (gt.setCreateHTMLElement = function(e) {
|
|
7656
7664
|
return Bn = e;
|
|
7657
7665
|
});
|
|
7658
|
-
At.default =
|
|
7666
|
+
At.default = gt;
|
|
7659
7667
|
(function(e, t) {
|
|
7660
7668
|
Object.defineProperty(t, "__esModule", {
|
|
7661
7669
|
value: !0
|
|
@@ -7921,7 +7929,7 @@ const Un = /* @__PURE__ */ Yi(Dl), Rl = ({ width: e, height: t, fill: n }) => /*
|
|
|
7921
7929
|
fetchFileUrl: y,
|
|
7922
7930
|
copyLinkUrl: h
|
|
7923
7931
|
}) => {
|
|
7924
|
-
const [p,
|
|
7932
|
+
const [p, g] = V(window.innerWidth), [b, x] = V(!1), [E, j] = V(s), [M, C] = V(!1), [U, ne] = V(!0), [Q, ae] = V(null), [Ae, re] = V("");
|
|
7925
7933
|
is(a, A, re, y);
|
|
7926
7934
|
const F = async () => {
|
|
7927
7935
|
Ft(n, "preview", null, null, !1).then((T) => {
|
|
@@ -7932,7 +7940,7 @@ const Un = /* @__PURE__ */ Yi(Dl), Rl = ({ width: e, height: t, fill: n }) => /*
|
|
|
7932
7940
|
e ? b || (F(), x(!0)) : (x(!1), j(""));
|
|
7933
7941
|
}, [e]), Ie(() => {
|
|
7934
7942
|
const T = () => {
|
|
7935
|
-
|
|
7943
|
+
g(window.innerWidth);
|
|
7936
7944
|
};
|
|
7937
7945
|
return window.addEventListener("resize", T), () => {
|
|
7938
7946
|
window.removeEventListener("resize", T);
|