gearboxdownloadmodal 4.0.18 → 4.0.19
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 +139 -135
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +18 -18
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -84,22 +84,22 @@ function Mo() {
|
|
|
84
84
|
{
|
|
85
85
|
var H = I.ReactDebugCurrentFrame, ee = H.getStackAddendum();
|
|
86
86
|
ee !== "" && (Z += "%s", M = M.concat([ee]));
|
|
87
|
-
var
|
|
87
|
+
var se = M.map(function(U) {
|
|
88
88
|
return String(U);
|
|
89
89
|
});
|
|
90
|
-
|
|
90
|
+
se.unshift("Warning: " + Z), Function.prototype.apply.call(console[l], console, se);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
var L = !1, b = !1,
|
|
93
|
+
var L = !1, b = !1, ae = !1, le = !1, _ = !1, ie;
|
|
94
94
|
ie = Symbol.for("react.module.reference");
|
|
95
|
-
function
|
|
96
|
-
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || _ || l === i || l === s || l === u ||
|
|
95
|
+
function ce(l) {
|
|
96
|
+
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || _ || l === i || l === s || l === u || le || l === q || L || b || ae || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === d || l.$$typeof === A || l.$$typeof === a || l.$$typeof === c || // This needs to include all possible module reference object
|
|
97
97
|
// types supported by any Flight configuration anywhere since
|
|
98
98
|
// we don't know which Flight build this will end up being used
|
|
99
99
|
// with.
|
|
100
100
|
l.$$typeof === ie || l.getModuleId !== void 0));
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Ae(l, Z, M) {
|
|
103
103
|
var H = l.displayName;
|
|
104
104
|
if (H)
|
|
105
105
|
return H;
|
|
@@ -139,14 +139,14 @@ function Mo() {
|
|
|
139
139
|
var M = l;
|
|
140
140
|
return $(M._context) + ".Provider";
|
|
141
141
|
case c:
|
|
142
|
-
return
|
|
142
|
+
return Ae(l, l.render, "ForwardRef");
|
|
143
143
|
case d:
|
|
144
144
|
var H = l.displayName || null;
|
|
145
145
|
return H !== null ? H : P(l.type) || "Memo";
|
|
146
146
|
case h: {
|
|
147
|
-
var ee = l,
|
|
147
|
+
var ee = l, se = ee._payload, U = ee._init;
|
|
148
148
|
try {
|
|
149
|
-
return P(U(
|
|
149
|
+
return P(U(se));
|
|
150
150
|
} catch {
|
|
151
151
|
return null;
|
|
152
152
|
}
|
|
@@ -232,8 +232,8 @@ function Mo() {
|
|
|
232
232
|
}
|
|
233
233
|
var Q = !1, T;
|
|
234
234
|
{
|
|
235
|
-
var
|
|
236
|
-
T = new
|
|
235
|
+
var me = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
|
+
T = new me();
|
|
237
237
|
}
|
|
238
238
|
function S(l, Z) {
|
|
239
239
|
if (!l || Q)
|
|
@@ -247,8 +247,8 @@ function Mo() {
|
|
|
247
247
|
Q = !0;
|
|
248
248
|
var ee = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
|
-
var
|
|
251
|
-
|
|
250
|
+
var se;
|
|
251
|
+
se = j.current, j.current = null, D();
|
|
252
252
|
try {
|
|
253
253
|
if (Z) {
|
|
254
254
|
var U = function() {
|
|
@@ -301,7 +301,7 @@ function Mo() {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
|
-
Q = !1, j.current =
|
|
304
|
+
Q = !1, j.current = se, R(), Error.prepareStackTrace = ee;
|
|
305
305
|
}
|
|
306
306
|
var st = l ? l.displayName || l.name : "", hn = st ? z(st) : "";
|
|
307
307
|
return typeof l == "function" && T.set(l, hn), hn;
|
|
@@ -333,9 +333,9 @@ function Mo() {
|
|
|
333
333
|
case d:
|
|
334
334
|
return Be(l.type, Z, M);
|
|
335
335
|
case h: {
|
|
336
|
-
var H = l, ee = H._payload,
|
|
336
|
+
var H = l, ee = H._payload, se = H._init;
|
|
337
337
|
try {
|
|
338
|
-
return Be(
|
|
338
|
+
return Be(se(ee), Z, M);
|
|
339
339
|
} catch {
|
|
340
340
|
}
|
|
341
341
|
}
|
|
@@ -352,9 +352,9 @@ function Mo() {
|
|
|
352
352
|
}
|
|
353
353
|
function ro(l, Z, M, H, ee) {
|
|
354
354
|
{
|
|
355
|
-
var
|
|
355
|
+
var se = Function.call.bind(Et);
|
|
356
356
|
for (var U in l)
|
|
357
|
-
if (
|
|
357
|
+
if (se(l, U)) {
|
|
358
358
|
var V = void 0;
|
|
359
359
|
try {
|
|
360
360
|
if (typeof l[U] != "function") {
|
|
@@ -444,7 +444,7 @@ function Mo() {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
var mo = function(l, Z, M, H, ee,
|
|
447
|
+
var mo = function(l, Z, M, H, ee, se, U) {
|
|
448
448
|
var V = {
|
|
449
449
|
// This tag allows us to uniquely identify this as a React Element
|
|
450
450
|
$$typeof: t,
|
|
@@ -454,7 +454,7 @@ function Mo() {
|
|
|
454
454
|
ref: M,
|
|
455
455
|
props: U,
|
|
456
456
|
// Record the component responsible for creating this element.
|
|
457
|
-
_owner:
|
|
457
|
+
_owner: se
|
|
458
458
|
};
|
|
459
459
|
return V._store = {}, Object.defineProperty(V._store, "validated", {
|
|
460
460
|
configurable: !1,
|
|
@@ -475,14 +475,14 @@ function Mo() {
|
|
|
475
475
|
};
|
|
476
476
|
function po(l, Z, M, H, ee) {
|
|
477
477
|
{
|
|
478
|
-
var
|
|
478
|
+
var se, U = {}, V = null, ye = null;
|
|
479
479
|
M !== void 0 && (an(M), V = "" + M), so(Z) && (an(Z.key), V = "" + Z.key), ao(Z) && (ye = Z.ref, lo(Z, ee));
|
|
480
|
-
for (
|
|
481
|
-
Et.call(Z,
|
|
480
|
+
for (se in Z)
|
|
481
|
+
Et.call(Z, se) && !Ao.hasOwnProperty(se) && (U[se] = Z[se]);
|
|
482
482
|
if (l && l.defaultProps) {
|
|
483
483
|
var de = l.defaultProps;
|
|
484
|
-
for (
|
|
485
|
-
U[
|
|
484
|
+
for (se in de)
|
|
485
|
+
U[se] === void 0 && (U[se] = de[se]);
|
|
486
486
|
}
|
|
487
487
|
if (V || ye) {
|
|
488
488
|
var pe = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
@@ -567,7 +567,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
567
567
|
else if (l) {
|
|
568
568
|
var ee = C(l);
|
|
569
569
|
if (typeof ee == "function" && ee !== l.entries)
|
|
570
|
-
for (var
|
|
570
|
+
for (var se = ee.call(l), U; !(U = se.next()).done; )
|
|
571
571
|
pr(U.value) && dn(U.value, Z);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
@@ -609,9 +609,9 @@ Check the top-level render call using <` + M + ">.");
|
|
|
609
609
|
l.ref !== null && (at(l), k("Invalid attribute `ref` supplied to `React.Fragment`."), at(null));
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function fn(l, Z, M, H, ee,
|
|
612
|
+
function fn(l, Z, M, H, ee, se) {
|
|
613
613
|
{
|
|
614
|
-
var U =
|
|
614
|
+
var U = ce(l);
|
|
615
615
|
if (!U) {
|
|
616
616
|
var V = "";
|
|
617
617
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
@@ -620,7 +620,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
620
620
|
var de;
|
|
621
621
|
l === null ? de = "null" : ur(l) ? de = "array" : l !== void 0 && l.$$typeof === t ? (de = "<" + (P(l.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : de = typeof l, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", de, V);
|
|
622
622
|
}
|
|
623
|
-
var pe = po(l, Z, M, ee,
|
|
623
|
+
var pe = po(l, Z, M, ee, se);
|
|
624
624
|
if (pe == null)
|
|
625
625
|
return pe;
|
|
626
626
|
if (U) {
|
|
@@ -1392,8 +1392,8 @@ function Ho() {
|
|
|
1392
1392
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, A = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, I = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1393
1393
|
function J(b) {
|
|
1394
1394
|
if (typeof b == "object" && b !== null) {
|
|
1395
|
-
var
|
|
1396
|
-
switch (
|
|
1395
|
+
var ae = b.$$typeof;
|
|
1396
|
+
switch (ae) {
|
|
1397
1397
|
case t:
|
|
1398
1398
|
switch (b = b.type, b) {
|
|
1399
1399
|
case c:
|
|
@@ -1412,11 +1412,11 @@ function Ho() {
|
|
|
1412
1412
|
case A:
|
|
1413
1413
|
return b;
|
|
1414
1414
|
default:
|
|
1415
|
-
return
|
|
1415
|
+
return ae;
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
case r:
|
|
1419
|
-
return
|
|
1419
|
+
return ae;
|
|
1420
1420
|
}
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
@@ -1500,7 +1500,7 @@ function Xo() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var b = c,
|
|
1503
|
+
var b = c, ae = s, le = a, _ = A, ie = t, ce = u, Ae = n, $ = f, P = q, O = r, K = o, E = i, p = d, W = !1;
|
|
1504
1504
|
function N(S) {
|
|
1505
1505
|
return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(S) || L(S) === c;
|
|
1506
1506
|
}
|
|
@@ -1537,10 +1537,10 @@ function Xo() {
|
|
|
1537
1537
|
function T(S) {
|
|
1538
1538
|
return L(S) === i;
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function me(S) {
|
|
1541
1541
|
return L(S) === d;
|
|
1542
1542
|
}
|
|
1543
|
-
ne.AsyncMode = b, ne.ConcurrentMode =
|
|
1543
|
+
ne.AsyncMode = b, ne.ConcurrentMode = ae, ne.ContextConsumer = le, ne.ContextProvider = _, ne.Element = ie, ne.ForwardRef = ce, ne.Fragment = Ae, ne.Lazy = $, ne.Memo = P, ne.Portal = O, ne.Profiler = K, ne.StrictMode = E, ne.Suspense = p, ne.isAsyncMode = N, ne.isConcurrentMode = g, ne.isContextConsumer = w, ne.isContextProvider = x, ne.isElement = G, ne.isForwardRef = D, ne.isFragment = R, ne.isLazy = j, ne.isMemo = Y, ne.isPortal = z, ne.isProfiler = Q, ne.isStrictMode = T, ne.isSuspense = me, ne.isValidElementType = J, ne.typeOf = L;
|
|
1544
1544
|
}()), ne;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Cn;
|
|
@@ -1699,10 +1699,10 @@ function Bo() {
|
|
|
1699
1699
|
arrayOf: J,
|
|
1700
1700
|
element: L(),
|
|
1701
1701
|
elementType: b(),
|
|
1702
|
-
instanceOf:
|
|
1703
|
-
node:
|
|
1702
|
+
instanceOf: ae,
|
|
1703
|
+
node: ce(),
|
|
1704
1704
|
objectOf: _,
|
|
1705
|
-
oneOf:
|
|
1705
|
+
oneOf: le,
|
|
1706
1706
|
oneOfType: ie,
|
|
1707
1707
|
shape: $,
|
|
1708
1708
|
exact: P
|
|
@@ -1717,8 +1717,8 @@ function Bo() {
|
|
|
1717
1717
|
function C(g) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var w = {}, x = 0;
|
|
1720
|
-
function G(R, j, Y, z, Q, T,
|
|
1721
|
-
if (z = z || h, T = T || Y,
|
|
1720
|
+
function G(R, j, Y, z, Q, T, me) {
|
|
1721
|
+
if (z = z || h, T = T || Y, me !== r) {
|
|
1722
1722
|
if (c) {
|
|
1723
1723
|
var S = 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"
|
|
@@ -1794,7 +1794,7 @@ function Bo() {
|
|
|
1794
1794
|
}
|
|
1795
1795
|
return C(g);
|
|
1796
1796
|
}
|
|
1797
|
-
function
|
|
1797
|
+
function ae(g) {
|
|
1798
1798
|
function w(x, G, D, R, j) {
|
|
1799
1799
|
if (!(x[G] instanceof g)) {
|
|
1800
1800
|
var Y = g.name || h, z = N(x[G]);
|
|
@@ -1804,7 +1804,7 @@ function Bo() {
|
|
|
1804
1804
|
}
|
|
1805
1805
|
return C(w);
|
|
1806
1806
|
}
|
|
1807
|
-
function
|
|
1807
|
+
function le(g) {
|
|
1808
1808
|
if (!Array.isArray(g))
|
|
1809
1809
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
1810
1810
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
@@ -1813,7 +1813,7 @@ function Bo() {
|
|
|
1813
1813
|
for (var Y = x[G], z = 0; z < g.length; z++)
|
|
1814
1814
|
if (f(Y, g[z]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var Q = JSON.stringify(g, function(
|
|
1816
|
+
var Q = JSON.stringify(g, function(me, S) {
|
|
1817
1817
|
var Ie = p(S);
|
|
1818
1818
|
return Ie === "symbol" ? String(S) : S;
|
|
1819
1819
|
});
|
|
@@ -1850,7 +1850,7 @@ function Bo() {
|
|
|
1850
1850
|
}
|
|
1851
1851
|
function G(D, R, j, Y, z) {
|
|
1852
1852
|
for (var Q = [], T = 0; T < g.length; T++) {
|
|
1853
|
-
var
|
|
1853
|
+
var me = g[T], S = me(D, R, j, Y, z, r);
|
|
1854
1854
|
if (S == null)
|
|
1855
1855
|
return null;
|
|
1856
1856
|
S.data && n(S.data, "expectedType") && Q.push(S.data.expectedType);
|
|
@@ -1860,13 +1860,13 @@ function Bo() {
|
|
|
1860
1860
|
}
|
|
1861
1861
|
return C(G);
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1863
|
+
function ce() {
|
|
1864
1864
|
function g(w, x, G, D, R) {
|
|
1865
1865
|
return O(w[x]) ? null : new y("Invalid " + D + " `" + R + "` supplied to " + ("`" + G + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
1867
|
return C(g);
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1869
|
+
function Ae(g, w, x, G, D) {
|
|
1870
1870
|
return new y(
|
|
1871
1871
|
(g || "React class") + ": " + w + " type `" + x + "." + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
|
|
1872
1872
|
);
|
|
@@ -1879,10 +1879,10 @@ function Bo() {
|
|
|
1879
1879
|
for (var Q in g) {
|
|
1880
1880
|
var T = g[Q];
|
|
1881
1881
|
if (typeof T != "function")
|
|
1882
|
-
return
|
|
1883
|
-
var
|
|
1884
|
-
if (
|
|
1885
|
-
return
|
|
1882
|
+
return Ae(D, R, j, Q, p(T));
|
|
1883
|
+
var me = T(Y, Q, D, R, j + "." + Q, r);
|
|
1884
|
+
if (me)
|
|
1885
|
+
return me;
|
|
1886
1886
|
}
|
|
1887
1887
|
return null;
|
|
1888
1888
|
}
|
|
@@ -1895,15 +1895,15 @@ function Bo() {
|
|
|
1895
1895
|
return new y("Invalid " + R + " `" + j + "` of type `" + z + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
1896
1896
|
var Q = t({}, x[G], g);
|
|
1897
1897
|
for (var T in Q) {
|
|
1898
|
-
var
|
|
1899
|
-
if (n(g, T) && typeof
|
|
1900
|
-
return
|
|
1901
|
-
if (!
|
|
1898
|
+
var me = g[T];
|
|
1899
|
+
if (n(g, T) && typeof me != "function")
|
|
1900
|
+
return Ae(D, R, j, T, p(me));
|
|
1901
|
+
if (!me)
|
|
1902
1902
|
return new y(
|
|
1903
1903
|
"Invalid " + R + " `" + j + "` key `" + T + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(x[G], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var S =
|
|
1906
|
+
var S = me(Y, T, D, R, j + "." + T, r);
|
|
1907
1907
|
if (S)
|
|
1908
1908
|
return S;
|
|
1909
1909
|
}
|
|
@@ -3786,12 +3786,12 @@ function ka(e) {
|
|
|
3786
3786
|
return !i.current || a.props.enableMultiContainer && $.containerId !== a.props.containerId || o.has($.toastId) && $.updateId == null;
|
|
3787
3787
|
}(I))
|
|
3788
3788
|
return;
|
|
3789
|
-
const { toastId: k, updateId: J, data: L } = I, { props: b } = a,
|
|
3790
|
-
|
|
3789
|
+
const { toastId: k, updateId: J, data: L } = I, { props: b } = a, ae = () => s(k), le = J == null;
|
|
3790
|
+
le && a.count++;
|
|
3791
3791
|
const _ = { ...b, style: b.toastStyle, key: a.toastKey++, ...Object.fromEntries(Object.entries(I).filter(($) => {
|
|
3792
3792
|
let [P, O] = $;
|
|
3793
3793
|
return O != null;
|
|
3794
|
-
})), toastId: k, updateId: J, data: L, closeToast:
|
|
3794
|
+
})), toastId: k, updateId: J, data: L, closeToast: ae, isIn: !1, className: Qt(I.className || b.toastClassName), bodyClassName: Qt(I.bodyClassName || b.bodyClassName), progressClassName: Qt(I.progressClassName || b.progressClassName), autoClose: !I.isLoading && (ie = I.autoClose, ce = b.autoClose, ie === !1 || bt(ie) && ie > 0 ? ie : ce), deleteToast() {
|
|
3795
3795
|
const $ = Dn(o.get(k), "removed");
|
|
3796
3796
|
o.delete(k), xe.emit(4, $);
|
|
3797
3797
|
const P = a.queue.length;
|
|
@@ -3808,16 +3808,16 @@ function ka(e) {
|
|
|
3808
3808
|
} else
|
|
3809
3809
|
t();
|
|
3810
3810
|
} };
|
|
3811
|
-
var ie,
|
|
3811
|
+
var ie, ce;
|
|
3812
3812
|
_.iconOut = function($) {
|
|
3813
3813
|
let { theme: P, type: O, isLoading: K, icon: E } = $, p = null;
|
|
3814
3814
|
const W = { theme: P, type: O };
|
|
3815
3815
|
return E === !1 || (be(E) ? p = E(W) : ut(E) ? p = Or(E, W) : nt(E) || bt(E) ? p = E : K ? p = wr.spinner() : ((N) => N in wr)(O) && (p = wr[O](W))), p;
|
|
3816
3816
|
}(_), be(I.onOpen) && (_.onOpen = I.onOpen), be(I.onClose) && (_.onClose = I.onClose), _.closeButton = b.closeButton, I.closeButton === !1 || Kr(I.closeButton) ? _.closeButton = I.closeButton : I.closeButton === !0 && (_.closeButton = !Kr(b.closeButton) || b.closeButton);
|
|
3817
|
-
let
|
|
3818
|
-
ut(q) && !nt(q.type) ?
|
|
3819
|
-
h(
|
|
3820
|
-
}, y) : h(
|
|
3817
|
+
let Ae = q;
|
|
3818
|
+
ut(q) && !nt(q.type) ? Ae = Or(q, { closeToast: ae, toastProps: _, data: L }) : be(q) && (Ae = q({ closeToast: ae, toastProps: _, data: L })), b.limit && b.limit > 0 && a.count > b.limit && le ? a.queue.push({ toastContent: Ae, toastProps: _, staleId: C }) : bt(y) ? setTimeout(() => {
|
|
3819
|
+
h(Ae, _, C);
|
|
3820
|
+
}, y) : h(Ae, _, C);
|
|
3821
3821
|
}
|
|
3822
3822
|
function h(q, f, y) {
|
|
3823
3823
|
const { toastId: C } = f;
|
|
@@ -3854,8 +3854,8 @@ function za(e) {
|
|
|
3854
3854
|
}
|
|
3855
3855
|
function f(L) {
|
|
3856
3856
|
if (A.boundingRect) {
|
|
3857
|
-
const { top: b, bottom:
|
|
3858
|
-
L.nativeEvent.type !== "touchend" && e.pauseOnHover && A.x >=
|
|
3857
|
+
const { top: b, bottom: ae, left: le, right: _ } = A.boundingRect;
|
|
3858
|
+
L.nativeEvent.type !== "touchend" && e.pauseOnHover && A.x >= le && A.x <= _ && A.y >= b && A.y <= ae ? C() : y();
|
|
3859
3859
|
}
|
|
3860
3860
|
}
|
|
3861
3861
|
function y() {
|
|
@@ -3906,9 +3906,9 @@ function ja(e) {
|
|
|
3906
3906
|
} });
|
|
3907
3907
|
}
|
|
3908
3908
|
const Ja = (e) => {
|
|
3909
|
-
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = za(e), { closeButton: o, children: A, autoClose: a, onClick: c, type: s, hideProgressBar: u, closeToast: d, transition: h, position: q, className: f, style: y, bodyClassName: C, bodyStyle: I, progressClassName: k, progressStyle: J, updateId: L, role: b, progress:
|
|
3909
|
+
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = za(e), { closeButton: o, children: A, autoClose: a, onClick: c, type: s, hideProgressBar: u, closeToast: d, transition: h, position: q, className: f, style: y, bodyClassName: C, bodyStyle: I, progressClassName: k, progressStyle: J, updateId: L, role: b, progress: ae, rtl: le, toastId: _, deleteToast: ie, isIn: ce, isLoading: Ae, iconOut: $, closeOnClick: P, theme: O } = e, K = Xe("Toastify__toast", `Toastify__toast-theme--${O}`, `Toastify__toast--${s}`, { "Toastify__toast--rtl": le }, { "Toastify__toast--close-on-click": P }), E = be(f) ? f({ rtl: le, position: q, type: s, defaultClassName: K }) : Xe(K, f), p = !!ae || !a, W = { closeToast: d, type: s, theme: O };
|
|
3910
3910
|
let N = null;
|
|
3911
|
-
return o === !1 || (N = be(o) ? o(W) : ut(o) ? Or(o, W) : Gi(W)), te.createElement(h, { isIn:
|
|
3911
|
+
return o === !1 || (N = be(o) ? o(W) : ut(o) ? Or(o, W) : Gi(W)), te.createElement(h, { isIn: ce, done: ie, position: q, preventExitTransition: r, nodeRef: n }, te.createElement("div", { id: _, onClick: c, className: E, ...i, style: y, ref: n }, te.createElement("div", { ...ce && { role: b }, className: be(C) ? C({ type: s }) : Xe("Toastify__toast-body", C), style: I }, $ != null && te.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !Ae }) }, $), te.createElement("div", null, A)), N, te.createElement(ja, { ...L && !p ? { key: `pb-${L}` } : {}, rtl: le, theme: O, delay: a, isRunning: t, isIn: ce, closeToast: d, hide: u, type: s, style: J, className: k, controlledProgress: p, progress: ae || 0 })));
|
|
3912
3912
|
}, sr = function(e, t) {
|
|
3913
3913
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3914
3914
|
}, Na = ar(sr("bounce", !0));
|
|
@@ -3948,29 +3948,29 @@ function Bt(e, t) {
|
|
|
3948
3948
|
function Nt(e) {
|
|
3949
3949
|
return (t, r) => Ct(t, Bt(e, r));
|
|
3950
3950
|
}
|
|
3951
|
-
function
|
|
3951
|
+
function ue(e, t) {
|
|
3952
3952
|
return Ct(e, Bt("default", t));
|
|
3953
3953
|
}
|
|
3954
|
-
|
|
3954
|
+
ue.loading = (e, t) => Ct(e, Bt("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), ue.promise = function(e, t, r) {
|
|
3955
3955
|
let n, { pending: i, error: o, success: A } = t;
|
|
3956
|
-
i && (n = nt(i) ?
|
|
3956
|
+
i && (n = nt(i) ? ue.loading(i, r) : ue.loading(i.render, { ...r, ...i }));
|
|
3957
3957
|
const a = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, c = (u, d, h) => {
|
|
3958
3958
|
if (d == null)
|
|
3959
|
-
return void
|
|
3959
|
+
return void ue.dismiss(n);
|
|
3960
3960
|
const q = { type: u, ...a, ...r, data: h }, f = nt(d) ? { render: d } : d;
|
|
3961
|
-
return n ?
|
|
3961
|
+
return n ? ue.update(n, { ...q, ...f }) : ue(f.render, { ...q, ...f }), h;
|
|
3962
3962
|
}, s = be(e) ? e() : e;
|
|
3963
3963
|
return s.then((u) => c("success", A, u)).catch((u) => c("error", o, u)), s;
|
|
3964
|
-
},
|
|
3964
|
+
}, ue.success = Nt("success"), ue.info = Nt("info"), ue.error = Nt("error"), ue.warning = Nt("warning"), ue.warn = ue.warning, ue.dark = (e, t) => Ct(e, Bt("default", { theme: "dark", ...t })), ue.dismiss = (e) => {
|
|
3965
3965
|
Ue.size > 0 ? xe.emit(1, e) : vt = vt.filter((t) => e != null && t.options.toastId !== e);
|
|
3966
|
-
},
|
|
3966
|
+
}, ue.clearWaitingQueue = function(e) {
|
|
3967
3967
|
return e === void 0 && (e = {}), xe.emit(5, e);
|
|
3968
|
-
},
|
|
3968
|
+
}, ue.isActive = (e) => {
|
|
3969
3969
|
let t = !1;
|
|
3970
3970
|
return Ue.forEach((r) => {
|
|
3971
3971
|
r.isToastActive && r.isToastActive(e) && (t = !0);
|
|
3972
3972
|
}), t;
|
|
3973
|
-
},
|
|
3973
|
+
}, ue.update = function(e, t) {
|
|
3974
3974
|
t === void 0 && (t = {}), setTimeout(() => {
|
|
3975
3975
|
const r = function(n, i) {
|
|
3976
3976
|
let { containerId: o } = i;
|
|
@@ -3984,11 +3984,11 @@ le.loading = (e, t) => Ct(e, Bt("default", { isLoading: !0, autoClose: !1, close
|
|
|
3984
3984
|
delete o.render, Ct(A, o);
|
|
3985
3985
|
}
|
|
3986
3986
|
}, 0);
|
|
3987
|
-
},
|
|
3988
|
-
|
|
3989
|
-
},
|
|
3987
|
+
}, ue.done = (e) => {
|
|
3988
|
+
ue.update(e, { progress: 1 });
|
|
3989
|
+
}, ue.onChange = (e) => (xe.on(4, e), () => {
|
|
3990
3990
|
xe.off(4, e);
|
|
3991
|
-
}),
|
|
3991
|
+
}), ue.POSITION = { TOP_LEFT: "top-left", TOP_RIGHT: "top-right", TOP_CENTER: "top-center", BOTTOM_LEFT: "bottom-left", BOTTOM_RIGHT: "bottom-right", BOTTOM_CENTER: "bottom-center" }, ue.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, xe.on(2, (e) => {
|
|
3992
3992
|
Wr = e.containerId || e, Ue.set(Wr, e), vt.forEach((t) => {
|
|
3993
3993
|
xe.emit(0, t.content, t.options);
|
|
3994
3994
|
}), vt = [];
|
|
@@ -3996,7 +3996,7 @@ le.loading = (e, t) => Ct(e, Bt("default", { isLoading: !0, autoClose: !1, close
|
|
|
3996
3996
|
Ue.delete(e.containerId || e), Ue.size === 0 && xe.off(0).off(1).off(5);
|
|
3997
3997
|
});
|
|
3998
3998
|
function Tn(e) {
|
|
3999
|
-
|
|
3999
|
+
ue.error(e, {
|
|
4000
4000
|
position: "top-center",
|
|
4001
4001
|
autoClose: 650,
|
|
4002
4002
|
hideProgressBar: !0,
|
|
@@ -4008,7 +4008,7 @@ function Tn(e) {
|
|
|
4008
4008
|
});
|
|
4009
4009
|
}
|
|
4010
4010
|
function $e(e) {
|
|
4011
|
-
|
|
4011
|
+
ue.success(e, {
|
|
4012
4012
|
position: "top-center",
|
|
4013
4013
|
autoClose: 650,
|
|
4014
4014
|
hideProgressBar: !0,
|
|
@@ -4199,7 +4199,7 @@ const Ra = ({
|
|
|
4199
4199
|
}
|
|
4200
4200
|
);
|
|
4201
4201
|
};
|
|
4202
|
-
var
|
|
4202
|
+
var oe = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e))(oe || {});
|
|
4203
4203
|
const Ha = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsxs(
|
|
4204
4204
|
"div",
|
|
4205
4205
|
{
|
|
@@ -4212,7 +4212,7 @@ const Ha = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsxs(
|
|
|
4212
4212
|
"span",
|
|
4213
4213
|
{
|
|
4214
4214
|
style: {
|
|
4215
|
-
color: e === "Flex" ?
|
|
4215
|
+
color: e === "Flex" ? oe.Flex : oe.Playable
|
|
4216
4216
|
},
|
|
4217
4217
|
children: "Select a Network"
|
|
4218
4218
|
}
|
|
@@ -4344,8 +4344,9 @@ const Qa = () => /* @__PURE__ */ m.jsxs("svg", { width: "24", height: "24", view
|
|
|
4344
4344
|
// border border-dark-20
|
|
4345
4345
|
paddingLeft: "0.5rem",
|
|
4346
4346
|
// pl-2
|
|
4347
|
-
color: "#000000"
|
|
4347
|
+
color: "#000000",
|
|
4348
4348
|
// placeholder:text-black
|
|
4349
|
+
borderColor: e === "Playable" ? oe.Playable : oe.Flex
|
|
4349
4350
|
},
|
|
4350
4351
|
type: "text",
|
|
4351
4352
|
value: r.iosUrl,
|
|
@@ -4412,8 +4413,9 @@ const Qa = () => /* @__PURE__ */ m.jsxs("svg", { width: "24", height: "24", view
|
|
|
4412
4413
|
// border border-dark-20
|
|
4413
4414
|
paddingLeft: "0.5rem",
|
|
4414
4415
|
// pl-2
|
|
4415
|
-
color: "#000000"
|
|
4416
|
+
color: "#000000",
|
|
4416
4417
|
// placeholder:text-black
|
|
4418
|
+
borderColor: e === "Playable" ? oe.Playable : oe.Flex
|
|
4417
4419
|
},
|
|
4418
4420
|
type: "text",
|
|
4419
4421
|
value: r.googleUrl,
|
|
@@ -4434,7 +4436,7 @@ const Qa = () => /* @__PURE__ */ m.jsxs("svg", { width: "24", height: "24", view
|
|
|
4434
4436
|
"span",
|
|
4435
4437
|
{
|
|
4436
4438
|
style: {
|
|
4437
|
-
color: e === "Flex" ?
|
|
4439
|
+
color: e === "Flex" ? oe.Flex : oe.Playable
|
|
4438
4440
|
},
|
|
4439
4441
|
children: t
|
|
4440
4442
|
}
|
|
@@ -4656,7 +4658,7 @@ const Hi = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsx(
|
|
|
4656
4658
|
width: "8px",
|
|
4657
4659
|
height: "8px",
|
|
4658
4660
|
borderRadius: "50%",
|
|
4659
|
-
backgroundColor: e === "Flex" ?
|
|
4661
|
+
backgroundColor: e === "Flex" ? oe.Flex : oe.Playable
|
|
4660
4662
|
}
|
|
4661
4663
|
}
|
|
4662
4664
|
),
|
|
@@ -4669,7 +4671,7 @@ const Hi = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsx(
|
|
|
4669
4671
|
width: "8px",
|
|
4670
4672
|
height: "8px",
|
|
4671
4673
|
borderRadius: "50%",
|
|
4672
|
-
backgroundColor: e === "Flex" ?
|
|
4674
|
+
backgroundColor: e === "Flex" ? oe.Flex : oe.Playable
|
|
4673
4675
|
}
|
|
4674
4676
|
}
|
|
4675
4677
|
),
|
|
@@ -4682,7 +4684,7 @@ const Hi = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsx(
|
|
|
4682
4684
|
width: "8px",
|
|
4683
4685
|
height: "8px",
|
|
4684
4686
|
borderRadius: "50%",
|
|
4685
|
-
backgroundColor: e === "Flex" ?
|
|
4687
|
+
backgroundColor: e === "Flex" ? oe.Flex : oe.Playable
|
|
4686
4688
|
}
|
|
4687
4689
|
}
|
|
4688
4690
|
),
|
|
@@ -4695,7 +4697,7 @@ const Hi = ({ typeOfProduct: e }) => /* @__PURE__ */ m.jsx(
|
|
|
4695
4697
|
width: "8px",
|
|
4696
4698
|
height: "8px",
|
|
4697
4699
|
borderRadius: "50%",
|
|
4698
|
-
backgroundColor: e === "Flex" ?
|
|
4700
|
+
backgroundColor: e === "Flex" ? oe.Flex : oe.Playable
|
|
4699
4701
|
}
|
|
4700
4702
|
}
|
|
4701
4703
|
)
|
|
@@ -5011,7 +5013,7 @@ const es = ({
|
|
|
5011
5013
|
flexDownloadCount: k,
|
|
5012
5014
|
disabled: J
|
|
5013
5015
|
}) => {
|
|
5014
|
-
const [L, b] = B(!1), [
|
|
5016
|
+
const [L, b] = B(!1), [ae, le] = B(Kt(5)), [_, ie] = B(""), [ce, Ae] = B(!1), [$, P] = B(!1), [O, K] = B("download"), E = () => {
|
|
5015
5017
|
r(e);
|
|
5016
5018
|
}, p = async (N, g, w, x, G, D) => {
|
|
5017
5019
|
try {
|
|
@@ -5066,7 +5068,7 @@ const es = ({
|
|
|
5066
5068
|
It(
|
|
5067
5069
|
u,
|
|
5068
5070
|
N,
|
|
5069
|
-
|
|
5071
|
+
ae,
|
|
5070
5072
|
g,
|
|
5071
5073
|
D,
|
|
5072
5074
|
R,
|
|
@@ -5101,7 +5103,7 @@ const es = ({
|
|
|
5101
5103
|
"data:html/plain;charset=utf-8," + encodeURIComponent(Q)
|
|
5102
5104
|
), z.setAttribute(
|
|
5103
5105
|
"download",
|
|
5104
|
-
Y.split("/").reduce((T,
|
|
5106
|
+
Y.split("/").reduce((T, me) => me, "")
|
|
5105
5107
|
), z.style.display = "none", document.body.appendChild(z), z.click();
|
|
5106
5108
|
}
|
|
5107
5109
|
return b(!1), $e("Download successfully"), Y;
|
|
@@ -5141,7 +5143,7 @@ const es = ({
|
|
|
5141
5143
|
flexDirection: "column",
|
|
5142
5144
|
gap: "20px",
|
|
5143
5145
|
padding: "16px",
|
|
5144
|
-
borderColor: n ? c === "Flex" ?
|
|
5146
|
+
borderColor: n ? c === "Flex" ? oe.Flex : oe.Playable : "lightgray",
|
|
5145
5147
|
borderWidth: "1px",
|
|
5146
5148
|
borderStyle: "solid",
|
|
5147
5149
|
backgroundColor: "white",
|
|
@@ -5172,8 +5174,8 @@ const es = ({
|
|
|
5172
5174
|
Qn.includes(i) && /* @__PURE__ */ m.jsx(
|
|
5173
5175
|
Ti,
|
|
5174
5176
|
{
|
|
5175
|
-
fill: c === "Flex" ?
|
|
5176
|
-
stroke: c === "Flex" ?
|
|
5177
|
+
fill: c === "Flex" ? oe.Flex : oe.Playable,
|
|
5178
|
+
stroke: c === "Flex" ? oe.Flex : oe.Playable,
|
|
5177
5179
|
className: "mb-1 inline-block w-6",
|
|
5178
5180
|
style: {
|
|
5179
5181
|
marginBottom: "0.25rem",
|
|
@@ -5278,7 +5280,7 @@ const es = ({
|
|
|
5278
5280
|
} else {
|
|
5279
5281
|
ie("download");
|
|
5280
5282
|
const N = f.iosUrl, g = f.googleUrl;
|
|
5281
|
-
I && I.willSpendCredit ? (C(!0), K("download"),
|
|
5283
|
+
I && I.willSpendCredit ? (C(!0), K("download"), Ae(!0)) : !N || !g ? (C(!0), P(!0)) : (P(!1), Ae(!1), await p(s, i, void 0, !0, null, !0));
|
|
5282
5284
|
}
|
|
5283
5285
|
},
|
|
5284
5286
|
children: [
|
|
@@ -5311,7 +5313,7 @@ const es = ({
|
|
|
5311
5313
|
onClickDonwload: async () => {
|
|
5312
5314
|
ie("copyLink");
|
|
5313
5315
|
const N = f.iosUrl, g = f.googleUrl;
|
|
5314
|
-
I && (I != null && I.willSpendCredit) ? (K("copy"), C(!0),
|
|
5316
|
+
I && (I != null && I.willSpendCredit) ? (K("copy"), C(!0), Ae(!0)) : !N || !g ? (C(!0), P(!0)) : (Ae(!1), P(!1), await W());
|
|
5315
5317
|
},
|
|
5316
5318
|
disabled: J,
|
|
5317
5319
|
children: /* @__PURE__ */ m.jsx(di, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -5323,7 +5325,7 @@ const es = ({
|
|
|
5323
5325
|
]
|
|
5324
5326
|
}
|
|
5325
5327
|
),
|
|
5326
|
-
|
|
5328
|
+
ce && /* @__PURE__ */ m.jsx(
|
|
5327
5329
|
es,
|
|
5328
5330
|
{
|
|
5329
5331
|
creditConfirmType: O,
|
|
@@ -5333,7 +5335,9 @@ const es = ({
|
|
|
5333
5335
|
download: async () => {
|
|
5334
5336
|
P(!1), C(!1), await p(s, i, void 0, !0, null, !0);
|
|
5335
5337
|
},
|
|
5336
|
-
onClose: () =>
|
|
5338
|
+
onClose: () => {
|
|
5339
|
+
Ae(!1), C(!1);
|
|
5340
|
+
},
|
|
5337
5341
|
flexDownloadCount: k
|
|
5338
5342
|
}
|
|
5339
5343
|
),
|
|
@@ -5574,8 +5578,8 @@ const es = ({
|
|
|
5574
5578
|
/* @__PURE__ */ m.jsx(
|
|
5575
5579
|
Ti,
|
|
5576
5580
|
{
|
|
5577
|
-
fill: e === "Flex" ?
|
|
5578
|
-
stroke: e === "Flex" ?
|
|
5581
|
+
fill: e === "Flex" ? oe.Flex : oe.Playable,
|
|
5582
|
+
stroke: e === "Flex" ? oe.Flex : oe.Playable,
|
|
5579
5583
|
style: { display: "inline-block", width: "1.5rem" },
|
|
5580
5584
|
className: ""
|
|
5581
5585
|
}
|
|
@@ -5608,7 +5612,7 @@ const es = ({
|
|
|
5608
5612
|
padding: "0.5rem",
|
|
5609
5613
|
width: "12rem",
|
|
5610
5614
|
height: "2.5rem",
|
|
5611
|
-
backgroundColor: t === "Flex" ?
|
|
5615
|
+
backgroundColor: t === "Flex" ? oe.Flex : oe.Playable,
|
|
5612
5616
|
color: "white",
|
|
5613
5617
|
fontSize: "0.875rem",
|
|
5614
5618
|
borderRadius: "0.875rem"
|
|
@@ -6006,7 +6010,7 @@ const as = ({
|
|
|
6006
6010
|
flexDownloadCount: h,
|
|
6007
6011
|
disabled: q
|
|
6008
6012
|
}) => {
|
|
6009
|
-
const [f, y] = B([]), [C, I] = B([]), [k, J] = B(!1), [L, b] = B(""), [
|
|
6013
|
+
const [f, y] = B([]), [C, I] = B([]), [k, J] = B(!1), [L, b] = B(""), [ae, le] = B(!1), [_, ie] = B(!1), [ce, Ae] = B(!1), $ = async (K) => {
|
|
6010
6014
|
J(!0);
|
|
6011
6015
|
const E = await os(
|
|
6012
6016
|
n,
|
|
@@ -6026,13 +6030,13 @@ const as = ({
|
|
|
6026
6030
|
}, O = async () => {
|
|
6027
6031
|
try {
|
|
6028
6032
|
const K = xr.filter((g) => [...f].includes(g.id)).map((g) => g.name);
|
|
6029
|
-
|
|
6033
|
+
le(!0);
|
|
6030
6034
|
const E = await As(n, K, o), { url: p } = E;
|
|
6031
6035
|
let W;
|
|
6032
6036
|
const N = s + "/" + p;
|
|
6033
|
-
W = document.createElement("iframe"), W.setAttribute("src", N), W.style.display = "none", document.body.appendChild(W), W.click(),
|
|
6037
|
+
W = document.createElement("iframe"), W.setAttribute("src", N), W.style.display = "none", document.body.appendChild(W), W.click(), le(!1), $e("Multi downloaded completed successfully");
|
|
6034
6038
|
} catch (K) {
|
|
6035
|
-
|
|
6039
|
+
le(!1), c(K.response.data.error.msg), console.error(K);
|
|
6036
6040
|
}
|
|
6037
6041
|
};
|
|
6038
6042
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
@@ -6042,7 +6046,7 @@ const as = ({
|
|
|
6042
6046
|
style: {
|
|
6043
6047
|
position: "relative",
|
|
6044
6048
|
flex: 1,
|
|
6045
|
-
overflowY:
|
|
6049
|
+
overflowY: ce ? "hidden" : "auto",
|
|
6046
6050
|
padding: "1.5rem",
|
|
6047
6051
|
paddingTop: "0"
|
|
6048
6052
|
},
|
|
@@ -6082,7 +6086,7 @@ const as = ({
|
|
|
6082
6086
|
urls: u,
|
|
6083
6087
|
game: d,
|
|
6084
6088
|
downloadFlex: t,
|
|
6085
|
-
setIsConfirmActive:
|
|
6089
|
+
setIsConfirmActive: Ae,
|
|
6086
6090
|
flexDownloadCount: h,
|
|
6087
6091
|
disabled: q
|
|
6088
6092
|
},
|
|
@@ -6121,7 +6125,7 @@ const as = ({
|
|
|
6121
6125
|
onClickMultiDownload: O,
|
|
6122
6126
|
networksVersionTotalSize: L,
|
|
6123
6127
|
typeOfProduct: i,
|
|
6124
|
-
multiDownloading:
|
|
6128
|
+
multiDownloading: ae
|
|
6125
6129
|
}
|
|
6126
6130
|
)
|
|
6127
6131
|
}
|
|
@@ -6189,8 +6193,8 @@ const ps = [
|
|
|
6189
6193
|
}) => {
|
|
6190
6194
|
const [u, d] = B(null), [h, q] = B(null), [f, y] = B(null), [C, I] = B(null), [k, J] = B(!1);
|
|
6191
6195
|
B({});
|
|
6192
|
-
const [L, b] = B(null), [
|
|
6193
|
-
ve(() => {
|
|
6196
|
+
const [L, b] = B(null), [ae, le] = B(null), [_, ie] = B(null), [ce, Ae] = B(!0), [$, P] = B(window.innerWidth);
|
|
6197
|
+
console.log("disabled", ce), ve(() => {
|
|
6194
6198
|
const x = () => {
|
|
6195
6199
|
P(window.innerWidth);
|
|
6196
6200
|
};
|
|
@@ -6203,7 +6207,7 @@ const ps = [
|
|
|
6203
6207
|
const x = await ls(e, o);
|
|
6204
6208
|
x != null && x.networks || (x.networks = ps), d(x), J(!1);
|
|
6205
6209
|
}, K = (x) => {
|
|
6206
|
-
|
|
6210
|
+
le(x);
|
|
6207
6211
|
}, E = (x) => {
|
|
6208
6212
|
ie(x);
|
|
6209
6213
|
}, p = async (x) => {
|
|
@@ -6221,19 +6225,19 @@ const ps = [
|
|
|
6221
6225
|
{}
|
|
6222
6226
|
);
|
|
6223
6227
|
let z = await fetch(s + "/" + Y.url).then(
|
|
6224
|
-
(
|
|
6228
|
+
(me) => me.text()
|
|
6225
6229
|
);
|
|
6226
6230
|
const Q = ((G = z.match(
|
|
6227
6231
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6228
6232
|
)) == null ? void 0 : G.at(1)) || "";
|
|
6229
|
-
|
|
6233
|
+
le(Q);
|
|
6230
6234
|
const T = ((D = z.match(
|
|
6231
6235
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6232
6236
|
)) == null ? void 0 : D.at(1)) || "";
|
|
6233
|
-
ie(T),
|
|
6237
|
+
ie(T), Ae(!1);
|
|
6234
6238
|
} else if (n === "Flex") {
|
|
6235
6239
|
if (x)
|
|
6236
|
-
|
|
6240
|
+
le(x.iosUrl), ie(x.googleUrl);
|
|
6237
6241
|
else {
|
|
6238
6242
|
Y = await Vt(
|
|
6239
6243
|
{
|
|
@@ -6242,16 +6246,16 @@ const ps = [
|
|
|
6242
6246
|
o
|
|
6243
6247
|
);
|
|
6244
6248
|
let z = await fetch(s + "/" + Y.url).then(
|
|
6245
|
-
(
|
|
6249
|
+
(me) => me.text()
|
|
6246
6250
|
);
|
|
6247
6251
|
const Q = ((R = z.match(
|
|
6248
6252
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6249
6253
|
)) == null ? void 0 : R.at(1)) || "";
|
|
6250
|
-
|
|
6254
|
+
le(Q);
|
|
6251
6255
|
const T = ((j = z.match(
|
|
6252
6256
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6253
6257
|
)) == null ? void 0 : j.at(1)) || "";
|
|
6254
|
-
ie(T)
|
|
6258
|
+
ie(T);
|
|
6255
6259
|
}
|
|
6256
6260
|
return;
|
|
6257
6261
|
}
|
|
@@ -6276,8 +6280,8 @@ const ps = [
|
|
|
6276
6280
|
b(x);
|
|
6277
6281
|
};
|
|
6278
6282
|
return ve(() => {
|
|
6279
|
-
i || (d(null), q(null), y(null), I(null)), i && n === "Playable" ? (O(), p(null), w()) : i && n === "Flex" && (W(), N(), g().then((x) => {
|
|
6280
|
-
i && p(x);
|
|
6283
|
+
i || (d(null), q(null), y(null), I(null)), i && n === "Playable" ? (O(), p(null), Ae(!1), w()) : i && n === "Flex" && (W(), N(), g().then((x) => {
|
|
6284
|
+
i && (p(x), Ae(!1));
|
|
6281
6285
|
})), i && w();
|
|
6282
6286
|
}, [r, e, t, i]), ve(() => {
|
|
6283
6287
|
g().then((x) => {
|
|
@@ -6303,10 +6307,10 @@ const ps = [
|
|
|
6303
6307
|
title: a,
|
|
6304
6308
|
typeOfProduct: n,
|
|
6305
6309
|
fileSize: C,
|
|
6306
|
-
urls: { iosUrl:
|
|
6310
|
+
urls: { iosUrl: ae, googleUrl: _ },
|
|
6307
6311
|
handleIosChange: K,
|
|
6308
6312
|
handleGoogleChange: E,
|
|
6309
|
-
disabled:
|
|
6313
|
+
disabled: ce,
|
|
6310
6314
|
api: o,
|
|
6311
6315
|
downloadFlex: f
|
|
6312
6316
|
}
|
|
@@ -6338,10 +6342,10 @@ const ps = [
|
|
|
6338
6342
|
instantGames: L,
|
|
6339
6343
|
handleDownloadError: c,
|
|
6340
6344
|
fetchFileUrl: s,
|
|
6341
|
-
urls: { iosUrl:
|
|
6345
|
+
urls: { iosUrl: ae, googleUrl: _ },
|
|
6342
6346
|
game: h,
|
|
6343
6347
|
flexDownloadCount: W,
|
|
6344
|
-
disabled:
|
|
6348
|
+
disabled: ce
|
|
6345
6349
|
}
|
|
6346
6350
|
)
|
|
6347
6351
|
]
|
|
@@ -6834,11 +6838,11 @@ rl.default.subscribe(Al);
|
|
|
6834
6838
|
function b(O) {
|
|
6835
6839
|
return O && O.__esModule ? O : { default: O };
|
|
6836
6840
|
}
|
|
6837
|
-
function
|
|
6841
|
+
function ae(O, K) {
|
|
6838
6842
|
if (!(O instanceof K))
|
|
6839
6843
|
throw new TypeError("Cannot call a class as a function");
|
|
6840
6844
|
}
|
|
6841
|
-
function
|
|
6845
|
+
function le(O, K) {
|
|
6842
6846
|
if (!O)
|
|
6843
6847
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6844
6848
|
return K && (typeof K == "object" || typeof K == "function") ? K : O;
|
|
@@ -6851,15 +6855,15 @@ rl.default.subscribe(Al);
|
|
|
6851
6855
|
var ie = {
|
|
6852
6856
|
overlay: "ReactModal__Overlay",
|
|
6853
6857
|
content: "ReactModal__Content"
|
|
6854
|
-
},
|
|
6858
|
+
}, ce = function(K) {
|
|
6855
6859
|
return K.code === "Tab" || K.keyCode === 9;
|
|
6856
|
-
},
|
|
6860
|
+
}, Ae = function(K) {
|
|
6857
6861
|
return K.code === "Escape" || K.keyCode === 27;
|
|
6858
6862
|
}, $ = 0, P = function(O) {
|
|
6859
6863
|
_(K, O);
|
|
6860
6864
|
function K(E) {
|
|
6861
|
-
|
|
6862
|
-
var p =
|
|
6865
|
+
ae(this, K);
|
|
6866
|
+
var p = le(this, (K.__proto__ || Object.getPrototypeOf(K)).call(this, E));
|
|
6863
6867
|
return p.setOverlayRef = function(W) {
|
|
6864
6868
|
p.overlay = W, p.props.overlayRef && p.props.overlayRef(W);
|
|
6865
6869
|
}, p.setContentRef = function(W) {
|
|
@@ -6893,7 +6897,7 @@ rl.default.subscribe(Al);
|
|
|
6893
6897
|
closesAt: null
|
|
6894
6898
|
}, p.afterClose);
|
|
6895
6899
|
}, p.handleKeyDown = function(W) {
|
|
6896
|
-
|
|
6900
|
+
ce(W) && (0, d.default)(p.content, W), p.props.shouldCloseOnEsc && Ae(W) && (W.stopPropagation(), p.requestClose(W));
|
|
6897
6901
|
}, p.handleOverlayOnClick = function(W) {
|
|
6898
6902
|
p.shouldClose === null && (p.shouldClose = !0), p.shouldClose && p.props.shouldCloseOnOverlayClick && (p.ownerHandlesClose() ? p.requestClose(W) : p.focusContent()), p.shouldClose = null;
|
|
6899
6903
|
}, p.handleContentOnMouseUp = function() {
|