gearboxdownloadmodal 6.0.19 → 6.0.20
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 +255 -255
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -72,7 +72,7 @@ function Ri() {
|
|
|
72
72
|
var I = p && u[p] || u[h];
|
|
73
73
|
return typeof I == "function" ? I : null;
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
76
76
|
function O(u) {
|
|
77
77
|
{
|
|
78
78
|
for (var I = arguments.length, L = new Array(I > 1 ? I - 1 : 0), G = 1; G < I; G++)
|
|
@@ -82,7 +82,7 @@ function Ri() {
|
|
|
82
82
|
}
|
|
83
83
|
function j(u, I, L) {
|
|
84
84
|
{
|
|
85
|
-
var G =
|
|
85
|
+
var G = x.ReactDebugCurrentFrame, oe = G.getStackAddendum();
|
|
86
86
|
oe !== "" && (I += "%s", L = L.concat([oe]));
|
|
87
87
|
var ce = L.map(function(ne) {
|
|
88
88
|
return String(ne);
|
|
@@ -154,14 +154,14 @@ function Ri() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var W = Object.assign, Y = 0,
|
|
157
|
+
var W = Object.assign, Y = 0, N, f, S, R, C, Z, M;
|
|
158
158
|
function E() {
|
|
159
159
|
}
|
|
160
160
|
E.__reactDisabledLog = !0;
|
|
161
161
|
function k() {
|
|
162
162
|
{
|
|
163
163
|
if (Y === 0) {
|
|
164
|
-
|
|
164
|
+
N = console.log, f = console.info, S = console.warn, R = console.error, C = console.group, Z = console.groupCollapsed, M = console.groupEnd;
|
|
165
165
|
var u = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -191,7 +191,7 @@ function Ri() {
|
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
193
|
log: W({}, u, {
|
|
194
|
-
value:
|
|
194
|
+
value: N
|
|
195
195
|
}),
|
|
196
196
|
info: W({}, u, {
|
|
197
197
|
value: f
|
|
@@ -216,18 +216,18 @@ function Ri() {
|
|
|
216
216
|
Y < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
var
|
|
219
|
+
var w = x.ReactCurrentDispatcher, J;
|
|
220
220
|
function Q(u, I, L) {
|
|
221
221
|
{
|
|
222
|
-
if (
|
|
222
|
+
if (J === void 0)
|
|
223
223
|
try {
|
|
224
224
|
throw Error();
|
|
225
225
|
} catch (oe) {
|
|
226
226
|
var G = oe.stack.trim().match(/\n( *(at )?)/);
|
|
227
|
-
|
|
227
|
+
J = G && G[1] || "";
|
|
228
228
|
}
|
|
229
229
|
return `
|
|
230
|
-
` +
|
|
230
|
+
` + J + u;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
var U = !1, T;
|
|
@@ -235,7 +235,7 @@ function Ri() {
|
|
|
235
235
|
var D = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
236
|
T = new D();
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function K(u, I) {
|
|
239
239
|
if (!u || U)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
@@ -248,7 +248,7 @@ function Ri() {
|
|
|
248
248
|
var oe = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var ce;
|
|
251
|
-
ce =
|
|
251
|
+
ce = w.current, w.current = null, k();
|
|
252
252
|
try {
|
|
253
253
|
if (I) {
|
|
254
254
|
var ne = function() {
|
|
@@ -301,13 +301,13 @@ function Ri() {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
|
-
U = !1,
|
|
304
|
+
U = !1, w.current = ce, V(), Error.prepareStackTrace = oe;
|
|
305
305
|
}
|
|
306
306
|
var ut = u ? u.displayName || u.name : "", wr = ut ? Q(ut) : "";
|
|
307
307
|
return typeof u == "function" && T.set(u, wr), wr;
|
|
308
308
|
}
|
|
309
309
|
function le(u, I, L) {
|
|
310
|
-
return
|
|
310
|
+
return K(u, !1);
|
|
311
311
|
}
|
|
312
312
|
function Je(u) {
|
|
313
313
|
var I = u.prototype;
|
|
@@ -317,7 +317,7 @@ function Ri() {
|
|
|
317
317
|
if (u == null)
|
|
318
318
|
return "";
|
|
319
319
|
if (typeof u == "function")
|
|
320
|
-
return
|
|
320
|
+
return K(u, Je(u));
|
|
321
321
|
if (typeof u == "string")
|
|
322
322
|
return Q(u);
|
|
323
323
|
switch (u) {
|
|
@@ -342,7 +342,7 @@ function Ri() {
|
|
|
342
342
|
}
|
|
343
343
|
return "";
|
|
344
344
|
}
|
|
345
|
-
var kt = Object.prototype.hasOwnProperty, dr = {}, pr =
|
|
345
|
+
var kt = Object.prototype.hasOwnProperty, dr = {}, pr = x.ReactDebugCurrentFrame;
|
|
346
346
|
function zt(u) {
|
|
347
347
|
if (u) {
|
|
348
348
|
var I = u._owner, L = Ce(u.type, u._source, I ? I.type : null);
|
|
@@ -393,7 +393,7 @@ function Ri() {
|
|
|
393
393
|
if (gi(u))
|
|
394
394
|
return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", hi(u)), fr(u);
|
|
395
395
|
}
|
|
396
|
-
var qt =
|
|
396
|
+
var qt = x.ReactCurrentOwner, qi = {
|
|
397
397
|
key: !0,
|
|
398
398
|
ref: !0,
|
|
399
399
|
__self: !0,
|
|
@@ -491,7 +491,7 @@ function Ri() {
|
|
|
491
491
|
return Ii(u, te, Ze, oe, G, qt.current, ne);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
var hn =
|
|
494
|
+
var hn = x.ReactCurrentOwner, yr = x.ReactDebugCurrentFrame;
|
|
495
495
|
function lt(u) {
|
|
496
496
|
if (u) {
|
|
497
497
|
var I = u._owner, L = Ce(u.type, u._source, I ? I.type : null);
|
|
@@ -1367,12 +1367,12 @@ De.createBytes = function(e, t) {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
for (var h = 0, s = 0; s < t.length; s++)
|
|
1369
1369
|
h += t[s].totalCount;
|
|
1370
|
-
for (var y = new Array(h),
|
|
1370
|
+
for (var y = new Array(h), x = 0, s = 0; s < r; s++)
|
|
1371
1371
|
for (var A = 0; A < t.length; A++)
|
|
1372
|
-
s < i[A].length && (y[
|
|
1372
|
+
s < i[A].length && (y[x++] = i[A][s]);
|
|
1373
1373
|
for (var s = 0; s < o; s++)
|
|
1374
1374
|
for (var A = 0; A < t.length; A++)
|
|
1375
|
-
s < a[A].length && (y[
|
|
1375
|
+
s < a[A].length && (y[x++] = a[A][s]);
|
|
1376
1376
|
return y;
|
|
1377
1377
|
};
|
|
1378
1378
|
var $i = De, zn = { exports: {} }, jt = { exports: {} }, Ae = {};
|
|
@@ -1389,7 +1389,7 @@ function ea() {
|
|
|
1389
1389
|
if (Mr)
|
|
1390
1390
|
return Ae;
|
|
1391
1391
|
Mr = 1;
|
|
1392
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117,
|
|
1392
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
|
|
1393
1393
|
function j(v) {
|
|
1394
1394
|
if (typeof v == "object" && v !== null) {
|
|
1395
1395
|
var _ = v.$$typeof;
|
|
@@ -1448,7 +1448,7 @@ function ea() {
|
|
|
1448
1448
|
}, Ae.isSuspense = function(v) {
|
|
1449
1449
|
return j(v) === d;
|
|
1450
1450
|
}, Ae.isValidElementType = function(v) {
|
|
1451
|
-
return typeof v == "string" || typeof v == "function" || v === r || v === c || v === i || v === o || v === d || v === q || typeof v == "object" && v !== null && (v.$$typeof === p || v.$$typeof === g || v.$$typeof === a || v.$$typeof === A || v.$$typeof === s || v.$$typeof === y || v.$$typeof ===
|
|
1451
|
+
return typeof v == "string" || typeof v == "function" || v === r || v === c || v === i || v === o || v === d || v === q || typeof v == "object" && v !== null && (v.$$typeof === p || v.$$typeof === g || v.$$typeof === a || v.$$typeof === A || v.$$typeof === s || v.$$typeof === y || v.$$typeof === x || v.$$typeof === O || v.$$typeof === h);
|
|
1452
1452
|
}, Ae.typeOf = j, Ae;
|
|
1453
1453
|
}
|
|
1454
1454
|
var se = {};
|
|
@@ -1463,17 +1463,17 @@ var se = {};
|
|
|
1463
1463
|
var Sr;
|
|
1464
1464
|
function ta() {
|
|
1465
1465
|
return Sr || (Sr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117,
|
|
1467
|
-
function j(
|
|
1468
|
-
return typeof
|
|
1469
|
-
|
|
1470
|
-
}
|
|
1471
|
-
function z(
|
|
1472
|
-
if (typeof
|
|
1473
|
-
var le =
|
|
1466
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
|
|
1467
|
+
function j(K) {
|
|
1468
|
+
return typeof K == "string" || typeof K == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1469
|
+
K === r || K === c || K === i || K === o || K === d || K === q || typeof K == "object" && K !== null && (K.$$typeof === p || K.$$typeof === g || K.$$typeof === a || K.$$typeof === A || K.$$typeof === s || K.$$typeof === y || K.$$typeof === x || K.$$typeof === O || K.$$typeof === h);
|
|
1470
|
+
}
|
|
1471
|
+
function z(K) {
|
|
1472
|
+
if (typeof K == "object" && K !== null) {
|
|
1473
|
+
var le = K.$$typeof;
|
|
1474
1474
|
switch (le) {
|
|
1475
1475
|
case t:
|
|
1476
|
-
var Je =
|
|
1476
|
+
var Je = K.type;
|
|
1477
1477
|
switch (Je) {
|
|
1478
1478
|
case m:
|
|
1479
1479
|
case c:
|
|
@@ -1500,47 +1500,47 @@ function ta() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var v = m, _ = c, $ = A, F = a, ue = t, ee = s, ae = r, X = p, B = g, W = n, Y = i,
|
|
1504
|
-
function R(
|
|
1505
|
-
return S || (S = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(
|
|
1503
|
+
var v = m, _ = c, $ = A, F = a, ue = t, ee = s, ae = r, X = p, B = g, W = n, Y = i, N = o, f = d, S = !1;
|
|
1504
|
+
function R(K) {
|
|
1505
|
+
return S || (S = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(K) || z(K) === m;
|
|
1506
1506
|
}
|
|
1507
|
-
function C(
|
|
1508
|
-
return z(
|
|
1507
|
+
function C(K) {
|
|
1508
|
+
return z(K) === c;
|
|
1509
1509
|
}
|
|
1510
|
-
function Z(
|
|
1511
|
-
return z(
|
|
1510
|
+
function Z(K) {
|
|
1511
|
+
return z(K) === A;
|
|
1512
1512
|
}
|
|
1513
|
-
function M(
|
|
1514
|
-
return z(
|
|
1513
|
+
function M(K) {
|
|
1514
|
+
return z(K) === a;
|
|
1515
1515
|
}
|
|
1516
|
-
function E(
|
|
1517
|
-
return typeof
|
|
1516
|
+
function E(K) {
|
|
1517
|
+
return typeof K == "object" && K !== null && K.$$typeof === t;
|
|
1518
1518
|
}
|
|
1519
|
-
function k(
|
|
1520
|
-
return z(
|
|
1519
|
+
function k(K) {
|
|
1520
|
+
return z(K) === s;
|
|
1521
1521
|
}
|
|
1522
|
-
function V(
|
|
1523
|
-
return z(
|
|
1522
|
+
function V(K) {
|
|
1523
|
+
return z(K) === r;
|
|
1524
1524
|
}
|
|
1525
|
-
function K
|
|
1526
|
-
return z(
|
|
1525
|
+
function w(K) {
|
|
1526
|
+
return z(K) === p;
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1529
|
-
return z(
|
|
1528
|
+
function J(K) {
|
|
1529
|
+
return z(K) === g;
|
|
1530
1530
|
}
|
|
1531
|
-
function Q(
|
|
1532
|
-
return z(
|
|
1531
|
+
function Q(K) {
|
|
1532
|
+
return z(K) === n;
|
|
1533
1533
|
}
|
|
1534
|
-
function U(
|
|
1535
|
-
return z(
|
|
1534
|
+
function U(K) {
|
|
1535
|
+
return z(K) === i;
|
|
1536
1536
|
}
|
|
1537
|
-
function T(
|
|
1538
|
-
return z(
|
|
1537
|
+
function T(K) {
|
|
1538
|
+
return z(K) === o;
|
|
1539
1539
|
}
|
|
1540
|
-
function D(
|
|
1541
|
-
return z(
|
|
1540
|
+
function D(K) {
|
|
1541
|
+
return z(K) === d;
|
|
1542
1542
|
}
|
|
1543
|
-
se.AsyncMode = v, se.ConcurrentMode = _, se.ContextConsumer = $, se.ContextProvider = F, se.Element = ue, se.ForwardRef = ee, se.Fragment = ae, se.Lazy = X, se.Memo = B, se.Portal = W, se.Profiler = Y, se.StrictMode =
|
|
1543
|
+
se.AsyncMode = v, se.ConcurrentMode = _, se.ContextConsumer = $, se.ContextProvider = F, se.Element = ue, se.ForwardRef = ee, se.Fragment = ae, se.Lazy = X, se.Memo = B, se.Portal = W, se.Profiler = Y, se.StrictMode = N, se.Suspense = f, se.isAsyncMode = R, se.isConcurrentMode = C, se.isContextConsumer = Z, se.isContextProvider = M, se.isElement = E, se.isForwardRef = k, se.isFragment = V, se.isLazy = w, se.isMemo = J, se.isPortal = Q, se.isProfiler = U, se.isStrictMode = T, se.isSuspense = D, se.isValidElementType = j, se.typeOf = z;
|
|
1544
1544
|
}()), se;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Lr;
|
|
@@ -1687,14 +1687,14 @@ function oa() {
|
|
|
1687
1687
|
return Z;
|
|
1688
1688
|
}
|
|
1689
1689
|
var q = "<<anonymous>>", g = {
|
|
1690
|
-
array:
|
|
1691
|
-
bigint:
|
|
1692
|
-
bool:
|
|
1693
|
-
func:
|
|
1694
|
-
number:
|
|
1695
|
-
object:
|
|
1696
|
-
string:
|
|
1697
|
-
symbol:
|
|
1690
|
+
array: x("array"),
|
|
1691
|
+
bigint: x("bigint"),
|
|
1692
|
+
bool: x("boolean"),
|
|
1693
|
+
func: x("function"),
|
|
1694
|
+
number: x("number"),
|
|
1695
|
+
object: x("object"),
|
|
1696
|
+
string: x("string"),
|
|
1697
|
+
symbol: x("symbol"),
|
|
1698
1698
|
any: O(),
|
|
1699
1699
|
arrayOf: j,
|
|
1700
1700
|
element: z(),
|
|
@@ -1717,33 +1717,33 @@ function oa() {
|
|
|
1717
1717
|
function y(C) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var Z = {}, M = 0;
|
|
1720
|
-
function E(V,
|
|
1721
|
-
if (Q = Q || q, T = T ||
|
|
1720
|
+
function E(V, w, J, Q, U, T, D) {
|
|
1721
|
+
if (Q = Q || q, T = T || J, D !== n) {
|
|
1722
1722
|
if (m) {
|
|
1723
|
-
var
|
|
1723
|
+
var K = new Error(
|
|
1724
1724
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1725
1725
|
);
|
|
1726
|
-
throw
|
|
1726
|
+
throw K.name = "Invariant Violation", K;
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
|
-
var le = Q + ":" +
|
|
1728
|
+
var le = Q + ":" + J;
|
|
1729
1729
|
!Z[le] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1730
1730
|
M < 3 && (i(
|
|
1731
1731
|
"You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + Q + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1732
1732
|
), Z[le] = !0, M++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return
|
|
1735
|
+
return w[J] == null ? V ? w[J] === null ? new h("The " + U + " `" + T + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new h("The " + U + " `" + T + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : C(w, J, Q, U, T);
|
|
1736
1736
|
}
|
|
1737
1737
|
var k = E.bind(null, !1);
|
|
1738
1738
|
return k.isRequired = E.bind(null, !0), k;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1741
|
-
function Z(M, E, k, V,
|
|
1742
|
-
var Q = M[E], U =
|
|
1740
|
+
function x(C) {
|
|
1741
|
+
function Z(M, E, k, V, w, J) {
|
|
1742
|
+
var Q = M[E], U = N(Q);
|
|
1743
1743
|
if (U !== C) {
|
|
1744
1744
|
var T = f(Q);
|
|
1745
1745
|
return new h(
|
|
1746
|
-
"Invalid " + V + " `" +
|
|
1746
|
+
"Invalid " + V + " `" + w + "` of type " + ("`" + T + "` supplied to `" + k + "`, expected ") + ("`" + C + "`."),
|
|
1747
1747
|
{ expectedType: C }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
@@ -1755,16 +1755,16 @@ function oa() {
|
|
|
1755
1755
|
return y(a);
|
|
1756
1756
|
}
|
|
1757
1757
|
function j(C) {
|
|
1758
|
-
function Z(M, E, k, V,
|
|
1758
|
+
function Z(M, E, k, V, w) {
|
|
1759
1759
|
if (typeof C != "function")
|
|
1760
|
-
return new h("Property `" +
|
|
1761
|
-
var
|
|
1762
|
-
if (!Array.isArray(
|
|
1763
|
-
var Q = J
|
|
1764
|
-
return new h("Invalid " + V + " `" +
|
|
1760
|
+
return new h("Property `" + w + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
+
var J = M[E];
|
|
1762
|
+
if (!Array.isArray(J)) {
|
|
1763
|
+
var Q = N(J);
|
|
1764
|
+
return new h("Invalid " + V + " `" + w + "` of type " + ("`" + Q + "` supplied to `" + k + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
|
-
for (var U = 0; U <
|
|
1767
|
-
var T = C(
|
|
1766
|
+
for (var U = 0; U < J.length; U++) {
|
|
1767
|
+
var T = C(J, U, k, V, w + "[" + U + "]", n);
|
|
1768
1768
|
if (T instanceof Error)
|
|
1769
1769
|
return T;
|
|
1770
1770
|
}
|
|
@@ -1774,10 +1774,10 @@ function oa() {
|
|
|
1774
1774
|
}
|
|
1775
1775
|
function z() {
|
|
1776
1776
|
function C(Z, M, E, k, V) {
|
|
1777
|
-
var
|
|
1778
|
-
if (!A(
|
|
1779
|
-
var
|
|
1780
|
-
return new h("Invalid " + k + " `" + V + "` of type " + ("`" +
|
|
1777
|
+
var w = Z[M];
|
|
1778
|
+
if (!A(w)) {
|
|
1779
|
+
var J = N(w);
|
|
1780
|
+
return new h("Invalid " + k + " `" + V + "` of type " + ("`" + J + "` supplied to `" + E + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
1783
1783
|
}
|
|
@@ -1785,20 +1785,20 @@ function oa() {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
function v() {
|
|
1787
1787
|
function C(Z, M, E, k, V) {
|
|
1788
|
-
var
|
|
1789
|
-
if (!e.isValidElementType(
|
|
1790
|
-
var
|
|
1791
|
-
return new h("Invalid " + k + " `" + V + "` of type " + ("`" +
|
|
1788
|
+
var w = Z[M];
|
|
1789
|
+
if (!e.isValidElementType(w)) {
|
|
1790
|
+
var J = N(w);
|
|
1791
|
+
return new h("Invalid " + k + " `" + V + "` of type " + ("`" + J + "` supplied to `" + E + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
1795
1795
|
return y(C);
|
|
1796
1796
|
}
|
|
1797
1797
|
function _(C) {
|
|
1798
|
-
function Z(M, E, k, V,
|
|
1798
|
+
function Z(M, E, k, V, w) {
|
|
1799
1799
|
if (!(M[E] instanceof C)) {
|
|
1800
|
-
var
|
|
1801
|
-
return new h("Invalid " + V + " `" +
|
|
1800
|
+
var J = C.name || q, Q = R(M[E]);
|
|
1801
|
+
return new h("Invalid " + V + " `" + w + "` of type " + ("`" + Q + "` supplied to `" + k + "`, expected ") + ("instance of `" + J + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
@@ -1809,28 +1809,28 @@ function oa() {
|
|
|
1809
1809
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1810
1810
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1811
1811
|
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
1812
|
-
function Z(M, E, k, V,
|
|
1813
|
-
for (var
|
|
1814
|
-
if (p(
|
|
1812
|
+
function Z(M, E, k, V, w) {
|
|
1813
|
+
for (var J = M[E], Q = 0; Q < C.length; Q++)
|
|
1814
|
+
if (p(J, C[Q]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var U = JSON.stringify(C, function(D,
|
|
1817
|
-
var le = f(
|
|
1818
|
-
return le === "symbol" ? String(
|
|
1816
|
+
var U = JSON.stringify(C, function(D, K) {
|
|
1817
|
+
var le = f(K);
|
|
1818
|
+
return le === "symbol" ? String(K) : K;
|
|
1819
1819
|
});
|
|
1820
|
-
return new h("Invalid " + V + " `" +
|
|
1820
|
+
return new h("Invalid " + V + " `" + w + "` of value `" + String(J) + "` " + ("supplied to `" + k + "`, expected one of " + U + "."));
|
|
1821
1821
|
}
|
|
1822
1822
|
return y(Z);
|
|
1823
1823
|
}
|
|
1824
1824
|
function F(C) {
|
|
1825
|
-
function Z(M, E, k, V,
|
|
1825
|
+
function Z(M, E, k, V, w) {
|
|
1826
1826
|
if (typeof C != "function")
|
|
1827
|
-
return new h("Property `" +
|
|
1828
|
-
var
|
|
1827
|
+
return new h("Property `" + w + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
+
var J = M[E], Q = N(J);
|
|
1829
1829
|
if (Q !== "object")
|
|
1830
|
-
return new h("Invalid " + V + " `" +
|
|
1831
|
-
for (var U in
|
|
1832
|
-
if (r(
|
|
1833
|
-
var T = C(
|
|
1830
|
+
return new h("Invalid " + V + " `" + w + "` of type " + ("`" + Q + "` supplied to `" + k + "`, expected an object."));
|
|
1831
|
+
for (var U in J)
|
|
1832
|
+
if (r(J, U)) {
|
|
1833
|
+
var T = C(J, U, k, V, w + "." + U, n);
|
|
1834
1834
|
if (T instanceof Error)
|
|
1835
1835
|
return T;
|
|
1836
1836
|
}
|
|
@@ -1848,15 +1848,15 @@ function oa() {
|
|
|
1848
1848
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + S(M) + " at index " + Z + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
|
-
function E(k, V,
|
|
1851
|
+
function E(k, V, w, J, Q) {
|
|
1852
1852
|
for (var U = [], T = 0; T < C.length; T++) {
|
|
1853
|
-
var D = C[T],
|
|
1854
|
-
if (
|
|
1853
|
+
var D = C[T], K = D(k, V, w, J, Q, n);
|
|
1854
|
+
if (K == null)
|
|
1855
1855
|
return null;
|
|
1856
|
-
|
|
1856
|
+
K.data && r(K.data, "expectedType") && U.push(K.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
1858
|
var le = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
|
1859
|
-
return new h("Invalid " +
|
|
1859
|
+
return new h("Invalid " + J + " `" + Q + "` supplied to " + ("`" + w + "`" + le + "."));
|
|
1860
1860
|
}
|
|
1861
1861
|
return y(E);
|
|
1862
1862
|
}
|
|
@@ -1872,15 +1872,15 @@ function oa() {
|
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
1874
|
function X(C) {
|
|
1875
|
-
function Z(M, E, k, V,
|
|
1876
|
-
var
|
|
1875
|
+
function Z(M, E, k, V, w) {
|
|
1876
|
+
var J = M[E], Q = N(J);
|
|
1877
1877
|
if (Q !== "object")
|
|
1878
|
-
return new h("Invalid " + V + " `" +
|
|
1878
|
+
return new h("Invalid " + V + " `" + w + "` of type `" + Q + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
1879
1879
|
for (var U in C) {
|
|
1880
1880
|
var T = C[U];
|
|
1881
1881
|
if (typeof T != "function")
|
|
1882
|
-
return ae(k, V,
|
|
1883
|
-
var D = T(
|
|
1882
|
+
return ae(k, V, w, U, f(T));
|
|
1883
|
+
var D = T(J, U, k, V, w + "." + U, n);
|
|
1884
1884
|
if (D)
|
|
1885
1885
|
return D;
|
|
1886
1886
|
}
|
|
@@ -1889,23 +1889,23 @@ function oa() {
|
|
|
1889
1889
|
return y(Z);
|
|
1890
1890
|
}
|
|
1891
1891
|
function B(C) {
|
|
1892
|
-
function Z(M, E, k, V,
|
|
1893
|
-
var
|
|
1892
|
+
function Z(M, E, k, V, w) {
|
|
1893
|
+
var J = M[E], Q = N(J);
|
|
1894
1894
|
if (Q !== "object")
|
|
1895
|
-
return new h("Invalid " + V + " `" +
|
|
1895
|
+
return new h("Invalid " + V + " `" + w + "` of type `" + Q + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
1896
1896
|
var U = t({}, M[E], C);
|
|
1897
1897
|
for (var T in U) {
|
|
1898
1898
|
var D = C[T];
|
|
1899
1899
|
if (r(C, T) && typeof D != "function")
|
|
1900
|
-
return ae(k, V,
|
|
1900
|
+
return ae(k, V, w, T, f(D));
|
|
1901
1901
|
if (!D)
|
|
1902
1902
|
return new h(
|
|
1903
|
-
"Invalid " + V + " `" +
|
|
1903
|
+
"Invalid " + V + " `" + w + "` key `" + T + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(M[E], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var
|
|
1907
|
-
if (
|
|
1908
|
-
return
|
|
1906
|
+
var K = D(J, T, k, V, w + "." + T, n);
|
|
1907
|
+
if (K)
|
|
1908
|
+
return K;
|
|
1909
1909
|
}
|
|
1910
1910
|
return null;
|
|
1911
1911
|
}
|
|
@@ -1947,14 +1947,14 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
1947
1947
|
function Y(C, Z) {
|
|
1948
1948
|
return C === "symbol" ? !0 : Z ? Z["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && Z instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function N(C) {
|
|
1951
1951
|
var Z = typeof C;
|
|
1952
1952
|
return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : Y(Z, C) ? "symbol" : Z;
|
|
1953
1953
|
}
|
|
1954
1954
|
function f(C) {
|
|
1955
1955
|
if (typeof C > "u" || C === null)
|
|
1956
1956
|
return "" + C;
|
|
1957
|
-
var Z =
|
|
1957
|
+
var Z = N(C);
|
|
1958
1958
|
if (Z === "object") {
|
|
1959
1959
|
if (C instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -2502,12 +2502,12 @@ function sn(e, t, n) {
|
|
|
2502
2502
|
return b.isArrayBuffer(p) || b.isTypedArray(p) ? m && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
2503
2503
|
}
|
|
2504
2504
|
function s(p, h, y) {
|
|
2505
|
-
let
|
|
2505
|
+
let x = p;
|
|
2506
2506
|
if (p && !y && typeof p == "object") {
|
|
2507
2507
|
if (b.endsWith(h, "{}"))
|
|
2508
2508
|
h = r ? h : h.slice(0, -2), p = JSON.stringify(p);
|
|
2509
|
-
else if (b.isArray(p) && AA(p) || (b.isFileList(p) || b.endsWith(h, "[]")) && (
|
|
2510
|
-
return h = jo(h),
|
|
2509
|
+
else if (b.isArray(p) && AA(p) || (b.isFileList(p) || b.endsWith(h, "[]")) && (x = b.toArray(p)))
|
|
2510
|
+
return h = jo(h), x.forEach(function(j, z) {
|
|
2511
2511
|
!(b.isUndefined(j) || j === null) && t.append(
|
|
2512
2512
|
// eslint-disable-next-line no-nested-ternary
|
|
2513
2513
|
a === !0 ? Dr([h], z, i) : a === null ? h : h + "[]",
|
|
@@ -2526,14 +2526,14 @@ function sn(e, t, n) {
|
|
|
2526
2526
|
if (!b.isUndefined(p)) {
|
|
2527
2527
|
if (d.indexOf(p) !== -1)
|
|
2528
2528
|
throw Error("Circular reference detected in " + h.join("."));
|
|
2529
|
-
d.push(p), b.forEach(p, function(
|
|
2530
|
-
(!(b.isUndefined(
|
|
2529
|
+
d.push(p), b.forEach(p, function(x, O) {
|
|
2530
|
+
(!(b.isUndefined(x) || x === null) && o.call(
|
|
2531
2531
|
t,
|
|
2532
|
-
|
|
2532
|
+
x,
|
|
2533
2533
|
b.isString(O) ? O.trim() : O,
|
|
2534
2534
|
h,
|
|
2535
2535
|
q
|
|
2536
|
-
)) === !0 && g(
|
|
2536
|
+
)) === !0 && g(x, h ? h.concat(O) : [O]);
|
|
2537
2537
|
}), d.pop();
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
@@ -3783,15 +3783,15 @@ function cn(e) {
|
|
|
3783
3783
|
let { children: A, position: m, preventExitTransition: c, done: s, nodeRef: d, isIn: q } = a;
|
|
3784
3784
|
const g = r ? `${t}--${m}` : t, p = r ? `${n}--${m}` : n, h = nt(0);
|
|
3785
3785
|
return Yi(() => {
|
|
3786
|
-
const y = d.current,
|
|
3787
|
-
j.target === d.current && (y.dispatchEvent(new Event("d")), y.removeEventListener("animationend", O), y.removeEventListener("animationcancel", O), h.current === 0 && j.type !== "animationcancel" && y.classList.remove(...
|
|
3786
|
+
const y = d.current, x = g.split(" "), O = (j) => {
|
|
3787
|
+
j.target === d.current && (y.dispatchEvent(new Event("d")), y.removeEventListener("animationend", O), y.removeEventListener("animationcancel", O), h.current === 0 && j.type !== "animationcancel" && y.classList.remove(...x));
|
|
3788
3788
|
};
|
|
3789
|
-
y.classList.add(...
|
|
3789
|
+
y.classList.add(...x), y.addEventListener("animationend", O), y.addEventListener("animationcancel", O);
|
|
3790
3790
|
}, []), ve(() => {
|
|
3791
|
-
const y = d.current,
|
|
3792
|
-
y.removeEventListener("animationend",
|
|
3791
|
+
const y = d.current, x = () => {
|
|
3792
|
+
y.removeEventListener("animationend", x), o ? $A(y, s, i) : s();
|
|
3793
3793
|
};
|
|
3794
|
-
q || (c ?
|
|
3794
|
+
q || (c ? x() : (h.current = 1, y.className += ` ${p}`, y.addEventListener("animationend", x)));
|
|
3795
3795
|
}, [q]), ie.createElement(ie.Fragment, null, A);
|
|
3796
3796
|
};
|
|
3797
3797
|
}
|
|
@@ -3845,17 +3845,17 @@ function es(e) {
|
|
|
3845
3845
|
q(g, p, h);
|
|
3846
3846
|
}
|
|
3847
3847
|
function d(g, p) {
|
|
3848
|
-
let { delay: h, staleId: y, ...
|
|
3848
|
+
let { delay: h, staleId: y, ...x } = p;
|
|
3849
3849
|
if (!Mn(g) || function(X) {
|
|
3850
3850
|
return !o.current || A.props.enableMultiContainer && X.containerId !== A.props.containerId || i.has(X.toastId) && X.updateId == null;
|
|
3851
|
-
}(
|
|
3851
|
+
}(x))
|
|
3852
3852
|
return;
|
|
3853
|
-
const { toastId: O, updateId: j, data: z } =
|
|
3853
|
+
const { toastId: O, updateId: j, data: z } = x, { props: v } = A, _ = () => c(O), $ = j == null;
|
|
3854
3854
|
$ && A.count++;
|
|
3855
|
-
const F = { ...v, style: v.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(
|
|
3855
|
+
const F = { ...v, style: v.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(x).filter((X) => {
|
|
3856
3856
|
let [B, W] = X;
|
|
3857
3857
|
return W != null;
|
|
3858
|
-
})), toastId: O, updateId: j, data: z, closeToast: _, isIn: !1, className: Pt(
|
|
3858
|
+
})), toastId: O, updateId: j, data: z, closeToast: _, isIn: !1, className: Pt(x.className || v.toastClassName), bodyClassName: Pt(x.bodyClassName || v.bodyClassName), progressClassName: Pt(x.progressClassName || v.progressClassName), autoClose: !x.isLoading && (ue = x.autoClose, ee = v.autoClose, ue === !1 || Zt(ue) && ue > 0 ? ue : ee), deleteToast() {
|
|
3859
3859
|
const X = Fr(i.get(O), "removed");
|
|
3860
3860
|
i.delete(O), Se.emit(4, X);
|
|
3861
3861
|
const B = A.queue.length;
|
|
@@ -3866,7 +3866,7 @@ function es(e) {
|
|
|
3866
3866
|
else {
|
|
3867
3867
|
const Y = W > B ? B : W;
|
|
3868
3868
|
A.displayedToast = Y;
|
|
3869
|
-
for (let
|
|
3869
|
+
for (let N = 0; N < Y; N++)
|
|
3870
3870
|
s();
|
|
3871
3871
|
}
|
|
3872
3872
|
} else
|
|
@@ -3874,10 +3874,10 @@ function es(e) {
|
|
|
3874
3874
|
} };
|
|
3875
3875
|
var ue, ee;
|
|
3876
3876
|
F.iconOut = function(X) {
|
|
3877
|
-
let { theme: B, type: W, isLoading: Y, icon:
|
|
3877
|
+
let { theme: B, type: W, isLoading: Y, icon: N } = X, f = null;
|
|
3878
3878
|
const S = { theme: B, type: W };
|
|
3879
|
-
return
|
|
3880
|
-
}(F), Ie(
|
|
3879
|
+
return N === !1 || (Ie(N) ? f = N(S) : mt(N) ? f = En(N, S) : at(N) || Zt(N) ? f = N : Y ? f = Sn.spinner() : ((R) => R in Sn)(W) && (f = Sn[W](S))), f;
|
|
3880
|
+
}(F), Ie(x.onOpen) && (F.onOpen = x.onOpen), Ie(x.onClose) && (F.onClose = x.onClose), F.closeButton = v.closeButton, x.closeButton === !1 || Mn(x.closeButton) ? F.closeButton = x.closeButton : x.closeButton === !0 && (F.closeButton = !Mn(v.closeButton) || v.closeButton);
|
|
3881
3881
|
let ae = g;
|
|
3882
3882
|
mt(g) && !at(g.type) ? ae = En(g, { closeToast: _, toastProps: F, data: z }) : Ie(g) && (ae = g({ closeToast: _, toastProps: F, data: z })), v.limit && v.limit > 0 && A.count > v.limit && $ ? A.queue.push({ toastContent: ae, toastProps: F, staleId: y }) : Zt(h) ? setTimeout(() => {
|
|
3883
3883
|
q(ae, F, y);
|
|
@@ -3886,8 +3886,8 @@ function es(e) {
|
|
|
3886
3886
|
function q(g, p, h) {
|
|
3887
3887
|
const { toastId: y } = p;
|
|
3888
3888
|
h && i.delete(h);
|
|
3889
|
-
const
|
|
3890
|
-
i.set(y,
|
|
3889
|
+
const x = { content: g, props: p };
|
|
3890
|
+
i.set(y, x), r((O) => [...O, y].filter((j) => j !== h)), Se.emit(4, Fr(x, x.props.updateId == null ? "added" : "updated"));
|
|
3891
3891
|
}
|
|
3892
3892
|
return ve(() => (A.containerId = e.containerId, Se.cancelEmit(3).on(0, d).on(1, (g) => o.current && c(g)).on(5, m).emit(2, A), () => {
|
|
3893
3893
|
i.clear(), Se.emit(3, A);
|
|
@@ -3896,8 +3896,8 @@ function es(e) {
|
|
|
3896
3896
|
}), { getToastToRender: function(g) {
|
|
3897
3897
|
const p = /* @__PURE__ */ new Map(), h = Array.from(i.values());
|
|
3898
3898
|
return e.newestOnTop && h.reverse(), h.forEach((y) => {
|
|
3899
|
-
const { position:
|
|
3900
|
-
p.has(
|
|
3899
|
+
const { position: x } = y.props;
|
|
3900
|
+
p.has(x) || p.set(x, []), p.get(x).push(y);
|
|
3901
3901
|
}), Array.from(p, (y) => g(y[0], y[1]));
|
|
3902
3902
|
}, containerRef: o, isToastActive: a };
|
|
3903
3903
|
}
|
|
@@ -3911,7 +3911,7 @@ function ts(e) {
|
|
|
3911
3911
|
const [t, n] = P(!1), [r, o] = P(!1), i = nt(null), a = nt({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = nt(e), { autoClose: m, pauseOnHover: c, closeToast: s, onClick: d, closeOnClick: q } = e;
|
|
3912
3912
|
function g(z) {
|
|
3913
3913
|
if (e.draggable) {
|
|
3914
|
-
z.nativeEvent.type === "touchstart" && z.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove",
|
|
3914
|
+
z.nativeEvent.type === "touchstart" && z.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", x), document.addEventListener("mouseup", O), document.addEventListener("touchmove", x), document.addEventListener("touchend", O);
|
|
3915
3915
|
const v = i.current;
|
|
3916
3916
|
a.canCloseOnClick = !0, a.canDrag = !0, a.boundingRect = v.getBoundingClientRect(), v.style.transition = "", a.x = _r(z.nativeEvent), a.y = $r(z.nativeEvent), e.draggableDirection === "x" ? (a.start = a.x, a.removalDistance = v.offsetWidth * (e.draggablePercent / 100)) : (a.start = a.y, a.removalDistance = v.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent / 100));
|
|
3917
3917
|
}
|
|
@@ -3928,12 +3928,12 @@ function ts(e) {
|
|
|
3928
3928
|
function y() {
|
|
3929
3929
|
n(!1);
|
|
3930
3930
|
}
|
|
3931
|
-
function
|
|
3931
|
+
function x(z) {
|
|
3932
3932
|
const v = i.current;
|
|
3933
3933
|
a.canDrag && v && (a.didMove = !0, t && y(), a.x = _r(z), a.y = $r(z), a.delta = e.draggableDirection === "x" ? a.x - a.start : a.y - a.start, a.start !== a.x && (a.canCloseOnClick = !1), v.style.transform = `translate${e.draggableDirection}(${a.delta}px)`, v.style.opacity = "" + (1 - Math.abs(a.delta / a.removalDistance)));
|
|
3934
3934
|
}
|
|
3935
3935
|
function O() {
|
|
3936
|
-
document.removeEventListener("mousemove",
|
|
3936
|
+
document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", O), document.removeEventListener("touchmove", x), document.removeEventListener("touchend", O);
|
|
3937
3937
|
const z = i.current;
|
|
3938
3938
|
if (a.canDrag && a.didMove && z) {
|
|
3939
3939
|
if (a.canDrag = !1, Math.abs(a.delta) > a.removalDistance)
|
|
@@ -3970,9 +3970,9 @@ function ns(e) {
|
|
|
3970
3970
|
} });
|
|
3971
3971
|
}
|
|
3972
3972
|
const rs = (e) => {
|
|
3973
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = ts(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: s, closeToast: d, transition: q, position: g, className: p, style: h, bodyClassName: y, bodyStyle:
|
|
3973
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = ts(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: s, closeToast: d, transition: q, position: g, className: p, style: h, bodyClassName: y, bodyStyle: x, progressClassName: O, progressStyle: j, updateId: z, role: v, progress: _, rtl: $, toastId: F, deleteToast: ue, isIn: ee, isLoading: ae, iconOut: X, closeOnClick: B, theme: W } = e, Y = Be("Toastify__toast", `Toastify__toast-theme--${W}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": $ }, { "Toastify__toast--close-on-click": B }), N = Ie(p) ? p({ rtl: $, position: g, type: c, defaultClassName: Y }) : Be(Y, p), f = !!_ || !A, S = { closeToast: d, type: c, theme: W };
|
|
3974
3974
|
let R = null;
|
|
3975
|
-
return i === !1 || (R = Ie(i) ? i(S) : mt(i) ? En(i, S) : ei(S)), ie.createElement(q, { isIn: ee, done: ue, position: g, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: F, onClick: m, className:
|
|
3975
|
+
return i === !1 || (R = Ie(i) ? i(S) : mt(i) ? En(i, S) : ei(S)), ie.createElement(q, { isIn: ee, done: ue, position: g, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: F, onClick: m, className: N, ...o, style: h, ref: r }, ie.createElement("div", { ...ee && { role: v }, className: Ie(y) ? y({ type: c }) : Be("Toastify__toast-body", y), style: x }, X != null && ie.createElement("div", { className: Be("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, X), ie.createElement("div", null, a)), R, ie.createElement(ns, { ...z && !f ? { key: `pb-${z}` } : {}, rtl: $, theme: W, delay: A, isRunning: t, isIn: ee, closeToast: d, hide: s, type: c, style: j, className: O, controlledProgress: f, progress: _ || 0 })));
|
|
3976
3976
|
}, mn = function(e, t) {
|
|
3977
3977
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3978
3978
|
}, os = cn(mn("bounce", !0));
|
|
@@ -4212,12 +4212,12 @@ const us = ({
|
|
|
4212
4212
|
!1,
|
|
4213
4213
|
{ urlType: c }
|
|
4214
4214
|
).then(async (g) => {
|
|
4215
|
-
var
|
|
4215
|
+
var x, O, j, z;
|
|
4216
4216
|
let p = "";
|
|
4217
4217
|
if (t && (n === "Playable" || n === "Ready")) {
|
|
4218
4218
|
const v = await Tn(t, r);
|
|
4219
4219
|
console.log(v);
|
|
4220
|
-
const _ = (O = (
|
|
4220
|
+
const _ = (O = (x = v == null ? void 0 : v.data) == null ? void 0 : x.globalProps) == null ? void 0 : O.defaultLandscape, $ = (z = (j = v == null ? void 0 : v.data) == null ? void 0 : j.globalProps) == null ? void 0 : z.defaultPhoneIndex;
|
|
4221
4221
|
console.log(_, $), _ && (p += "&landscape=true"), $ !== void 0 && (p += `&phoneIndex=${$}`);
|
|
4222
4222
|
}
|
|
4223
4223
|
Tn(t, r), d(!1);
|
|
@@ -5817,14 +5817,14 @@ const Is = ({
|
|
|
5817
5817
|
game: p,
|
|
5818
5818
|
setIsConfirmActive: h,
|
|
5819
5819
|
creditDownload: y,
|
|
5820
|
-
getDownloadCount:
|
|
5820
|
+
getDownloadCount: x,
|
|
5821
5821
|
disabled: O,
|
|
5822
5822
|
user: j,
|
|
5823
5823
|
setSafariCopyLink: z,
|
|
5824
5824
|
isTest: v,
|
|
5825
5825
|
urlType: _
|
|
5826
5826
|
}) => {
|
|
5827
|
-
const [$, F] = P(!1), [ue, ee] = P(""), [ae, X] = P(!1), [B, W] = P(!1), [Y,
|
|
5827
|
+
const [$, F] = P(!1), [ue, ee] = P(""), [ae, X] = P(!1), [B, W] = P(!1), [Y, N] = P(!1), [f, S] = P("download"), [R, C] = P(!1), [Z, M] = P(!1), [E, k] = P(!1);
|
|
5828
5828
|
let V = {
|
|
5829
5829
|
aarki: "html,copy",
|
|
5830
5830
|
adcolony: "copy,html",
|
|
@@ -5869,29 +5869,29 @@ const Is = ({
|
|
|
5869
5869
|
jammp: "copy,html",
|
|
5870
5870
|
mraid: "copy,html"
|
|
5871
5871
|
};
|
|
5872
|
-
const
|
|
5872
|
+
const w = () => {
|
|
5873
5873
|
n(e);
|
|
5874
|
-
},
|
|
5875
|
-
Ft(c, D, g,
|
|
5874
|
+
}, J = async (D, K) => (F(!0), new Promise((le, Je) => {
|
|
5875
|
+
Ft(c, D, g, K, v, { urlType: _ }).then((Ce) => {
|
|
5876
5876
|
F(!1), le(Ce);
|
|
5877
5877
|
}).catch((Ce) => {
|
|
5878
5878
|
F(!1), d(Ce.message, Ce), Je(Ce);
|
|
5879
5879
|
});
|
|
5880
5880
|
})), Q = async (D = !1) => {
|
|
5881
5881
|
D ? M(!0) : C(!0);
|
|
5882
|
-
const
|
|
5882
|
+
const K = {
|
|
5883
5883
|
molocoGenerateHtml: !1
|
|
5884
5884
|
};
|
|
5885
|
-
D && (
|
|
5886
|
-
D ? M(!1) : C(!1),
|
|
5885
|
+
D && (K.molocoGenerateHtml = !0), Ft(c, o, g, "download", v, K).then((le) => {
|
|
5886
|
+
D ? M(!1) : C(!1), N(!1);
|
|
5887
5887
|
}).catch((le) => {
|
|
5888
5888
|
d(le.message, le);
|
|
5889
5889
|
});
|
|
5890
5890
|
}, U = async () => {
|
|
5891
5891
|
k(!0);
|
|
5892
5892
|
const D = await Zs(s, c, o, m);
|
|
5893
|
-
let
|
|
5894
|
-
un(
|
|
5893
|
+
let K = `${q}/${D == null ? void 0 : D.url}`;
|
|
5894
|
+
un(K) ? (Ot("Link Copied"), k(!1)) : z(K);
|
|
5895
5895
|
}, T = o === "moloco" || o === "molocoV2";
|
|
5896
5896
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
5897
5897
|
/* @__PURE__ */ l.jsxs(
|
|
@@ -5913,7 +5913,7 @@ const Is = ({
|
|
|
5913
5913
|
cursor: "pointer"
|
|
5914
5914
|
},
|
|
5915
5915
|
className: "border-hover-" + m,
|
|
5916
|
-
onClick:
|
|
5916
|
+
onClick: w,
|
|
5917
5917
|
children: [
|
|
5918
5918
|
/* @__PURE__ */ l.jsxs(
|
|
5919
5919
|
"div",
|
|
@@ -5992,7 +5992,7 @@ const Is = ({
|
|
|
5992
5992
|
/* @__PURE__ */ l.jsx(
|
|
5993
5993
|
"img",
|
|
5994
5994
|
{
|
|
5995
|
-
onClick:
|
|
5995
|
+
onClick: w,
|
|
5996
5996
|
style: {
|
|
5997
5997
|
width: "30rem",
|
|
5998
5998
|
// Equivalent to 120/4 = 30rem
|
|
@@ -6022,12 +6022,12 @@ const Is = ({
|
|
|
6022
6022
|
downloading: $,
|
|
6023
6023
|
onClickDonwload: async (D) => {
|
|
6024
6024
|
if (D.stopPropagation(), T && j.customer === "playableFactoryInternal") {
|
|
6025
|
-
|
|
6025
|
+
N(!0);
|
|
6026
6026
|
return;
|
|
6027
6027
|
} else {
|
|
6028
6028
|
ee("download");
|
|
6029
|
-
const
|
|
6030
|
-
y && y.willSpendCredit ? (h(!0), S("download"), X(!0)) : ["Playable", "Flex"].includes(m) && (!
|
|
6029
|
+
const K = g.iosUrl, le = g.googleUrl;
|
|
6030
|
+
y && y.willSpendCredit ? (h(!0), S("download"), X(!0)) : ["Playable", "Flex"].includes(m) && (!K || !le) || m === "Ready" && _ === "single" && !K || m === "Ready" && _ === "multi" && (!K || !le) ? (h(!0), W(!0)) : (W(!1), X(!1), await J(o, "download"));
|
|
6031
6031
|
}
|
|
6032
6032
|
},
|
|
6033
6033
|
children: [
|
|
@@ -6059,8 +6059,8 @@ const Is = ({
|
|
|
6059
6059
|
className: "w-1/3 border-hover-" + m,
|
|
6060
6060
|
onClickDonwload: async (D) => {
|
|
6061
6061
|
D.stopPropagation(), ee("copyLink");
|
|
6062
|
-
const
|
|
6063
|
-
y && (y != null && y.willSpendCredit) ? (S("copy"), h(!0), X(!0)) : m !== "Import" && (!
|
|
6062
|
+
const K = g.iosUrl, le = g.googleUrl;
|
|
6063
|
+
y && (y != null && y.willSpendCredit) ? (S("copy"), h(!0), X(!0)) : m !== "Import" && (!K || !le) ? (h(!0), W(!0)) : (X(!1), W(!1), await J(o, "copy"));
|
|
6064
6064
|
},
|
|
6065
6065
|
disabled: O,
|
|
6066
6066
|
children: /* @__PURE__ */ l.jsx(xo, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -6072,8 +6072,8 @@ const Is = ({
|
|
|
6072
6072
|
className: "w-1/2 border-hover-" + m,
|
|
6073
6073
|
onClickDonwload: async (D) => {
|
|
6074
6074
|
D.stopPropagation(), ee("download");
|
|
6075
|
-
const
|
|
6076
|
-
y && (y != null && y.willSpendCredit) ? (S("download"), h(!0), X(!0)) : m !== "Import" && (!
|
|
6075
|
+
const K = g.iosUrl, le = g.googleUrl;
|
|
6076
|
+
y && (y != null && y.willSpendCredit) ? (S("download"), h(!0), X(!0)) : m !== "Import" && (!K || !le) ? (h(!0), W(!0)) : (X(!1), W(!1), await Q(!0));
|
|
6077
6077
|
},
|
|
6078
6078
|
disabled: O,
|
|
6079
6079
|
children: /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
@@ -6107,15 +6107,15 @@ const Is = ({
|
|
|
6107
6107
|
{
|
|
6108
6108
|
creditConfirmType: f,
|
|
6109
6109
|
handleCopyLink: async () => {
|
|
6110
|
-
W(!1), h(!1), await
|
|
6110
|
+
W(!1), h(!1), await J(o, "copy");
|
|
6111
6111
|
},
|
|
6112
6112
|
download: async () => {
|
|
6113
|
-
W(!1), h(!1), await
|
|
6113
|
+
W(!1), h(!1), await J(o, "download");
|
|
6114
6114
|
},
|
|
6115
6115
|
onClose: () => {
|
|
6116
6116
|
X(!1), h(!1);
|
|
6117
6117
|
},
|
|
6118
|
-
getDownloadCount:
|
|
6118
|
+
getDownloadCount: x
|
|
6119
6119
|
}
|
|
6120
6120
|
),
|
|
6121
6121
|
B && /* @__PURE__ */ l.jsx(
|
|
@@ -6128,10 +6128,10 @@ const Is = ({
|
|
|
6128
6128
|
googleLink: g.googleUrl,
|
|
6129
6129
|
buttonType: ue,
|
|
6130
6130
|
handleCopyLink: async () => {
|
|
6131
|
-
W(!1), h(!1), await
|
|
6131
|
+
W(!1), h(!1), await J(o, "copy");
|
|
6132
6132
|
},
|
|
6133
6133
|
download: async () => {
|
|
6134
|
-
W(!1), h(!1), await
|
|
6134
|
+
W(!1), h(!1), await J(o, "download");
|
|
6135
6135
|
},
|
|
6136
6136
|
typeOfProduct: m,
|
|
6137
6137
|
urlType: _
|
|
@@ -6141,7 +6141,7 @@ const Is = ({
|
|
|
6141
6141
|
Cs,
|
|
6142
6142
|
{
|
|
6143
6143
|
onClose: () => {
|
|
6144
|
-
|
|
6144
|
+
N(!1);
|
|
6145
6145
|
},
|
|
6146
6146
|
handleDownload: Q,
|
|
6147
6147
|
handleDownloadMolocoTest: U,
|
|
@@ -6466,9 +6466,9 @@ const Is = ({
|
|
|
6466
6466
|
isTest: p,
|
|
6467
6467
|
urlType: h,
|
|
6468
6468
|
allNetworksSelected: y,
|
|
6469
|
-
setAllNetworksSelected:
|
|
6469
|
+
setAllNetworksSelected: x
|
|
6470
6470
|
}) => {
|
|
6471
|
-
const [O, j] = P([]), [z, v] = P([]), [_, $] = P(!1), [F, ue] = P(""), [ee, ae] = P(!1), [X, B] = P(!1), [W, Y] = P("download"), [
|
|
6471
|
+
const [O, j] = P([]), [z, v] = P([]), [_, $] = P(!1), [F, ue] = P(""), [ee, ae] = P(!1), [X, B] = P(!1), [W, Y] = P("download"), [N, f] = P(!1), S = async (Z) => {
|
|
6472
6472
|
const M = [...O];
|
|
6473
6473
|
if (O.includes(Z)) {
|
|
6474
6474
|
const E = M.findIndex((k) => k === Z);
|
|
@@ -6582,7 +6582,7 @@ const Is = ({
|
|
|
6582
6582
|
)
|
|
6583
6583
|
}
|
|
6584
6584
|
),
|
|
6585
|
-
|
|
6585
|
+
N && /* @__PURE__ */ l.jsx(
|
|
6586
6586
|
oi,
|
|
6587
6587
|
{
|
|
6588
6588
|
creditConfirmType: W,
|
|
@@ -6671,32 +6671,32 @@ const zs = ({
|
|
|
6671
6671
|
androidLink: p,
|
|
6672
6672
|
setIosLink: h,
|
|
6673
6673
|
setAndroidLink: y,
|
|
6674
|
-
urlType:
|
|
6674
|
+
urlType: x,
|
|
6675
6675
|
setUrlType: O
|
|
6676
6676
|
}) => {
|
|
6677
|
-
const [j, z] = P(null), [v, _] = P(null), [$, F] = P(null), [ue, ee] = P(!1), [ae, X] = P(!0), [B, W] = P(window.innerWidth), [Y,
|
|
6677
|
+
const [j, z] = P(null), [v, _] = P(null), [$, F] = P(null), [ue, ee] = P(!1), [ae, X] = P(!0), [B, W] = P(window.innerWidth), [Y, N] = P(!1), [f, S] = P(!1);
|
|
6678
6678
|
ve(() => {
|
|
6679
6679
|
}, [f]), ve(() => {
|
|
6680
|
-
const
|
|
6680
|
+
const w = () => {
|
|
6681
6681
|
W(window.innerWidth);
|
|
6682
6682
|
};
|
|
6683
|
-
return window.addEventListener("resize",
|
|
6684
|
-
window.removeEventListener("resize",
|
|
6683
|
+
return window.addEventListener("resize", w), () => {
|
|
6684
|
+
window.removeEventListener("resize", w);
|
|
6685
6685
|
};
|
|
6686
6686
|
}, []);
|
|
6687
6687
|
const R = async () => {
|
|
6688
6688
|
ee(!0);
|
|
6689
|
-
const
|
|
6690
|
-
return
|
|
6691
|
-
}, C = () => {
|
|
6689
|
+
const w = await Tn(e, i);
|
|
6690
|
+
return w != null && w.networks || (w.networks = ks), z(w), w;
|
|
6691
|
+
}, C = (w, J) => {
|
|
6692
6692
|
clearTimeout(ro), ro = setTimeout(() => {
|
|
6693
|
-
console.log("Update URLS:"), lr(t, { iosUrl:
|
|
6693
|
+
console.log("Update URLS:"), lr(t, { iosUrl: w, googleUrl: J }, { urlType: x });
|
|
6694
6694
|
}, 1e3);
|
|
6695
|
-
}, Z = (
|
|
6696
|
-
h(
|
|
6697
|
-
}, M = (
|
|
6698
|
-
y(
|
|
6699
|
-
}, E = async (
|
|
6695
|
+
}, Z = (w) => {
|
|
6696
|
+
h(w), C(w, p);
|
|
6697
|
+
}, M = (w) => {
|
|
6698
|
+
y(w), C(g, w);
|
|
6699
|
+
}, E = async (w, J) => {
|
|
6700
6700
|
var Q, U;
|
|
6701
6701
|
console.log("getIosAndAndroidLink");
|
|
6702
6702
|
try {
|
|
@@ -6707,19 +6707,19 @@ const zs = ({
|
|
|
6707
6707
|
console.log("version", D), h(D.iosLink), y(D.androidLink), ee(!1);
|
|
6708
6708
|
return;
|
|
6709
6709
|
}
|
|
6710
|
-
if (
|
|
6711
|
-
h(
|
|
6710
|
+
if (w && (w.iosUrl || w.googleUrl)) {
|
|
6711
|
+
h(w.iosUrl), y(w.googleUrl), ee(!1);
|
|
6712
6712
|
return;
|
|
6713
6713
|
}
|
|
6714
|
-
if (
|
|
6715
|
-
let
|
|
6714
|
+
if (J && J.html) {
|
|
6715
|
+
let K = await fetch(c + "/" + J.html).then(
|
|
6716
6716
|
(Ce) => Ce.text()
|
|
6717
6717
|
);
|
|
6718
|
-
const le = ((Q =
|
|
6718
|
+
const le = ((Q = K.match(
|
|
6719
6719
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6720
6720
|
)) == null ? void 0 : Q.at(1)) || "";
|
|
6721
6721
|
h(le);
|
|
6722
|
-
const Je = ((U =
|
|
6722
|
+
const Je = ((U = K.match(
|
|
6723
6723
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6724
6724
|
)) == null ? void 0 : U.at(1)) || "";
|
|
6725
6725
|
y(Je), ee(!1);
|
|
@@ -6731,35 +6731,35 @@ const zs = ({
|
|
|
6731
6731
|
y(D.googleUrl), h(D.iosUrl), ee(!1);
|
|
6732
6732
|
return;
|
|
6733
6733
|
}
|
|
6734
|
-
|
|
6734
|
+
w && (w.iosUrl || w.googleUrl) ? (h(w.iosUrl), y(w.googleUrl), ee(!1)) : (y(""), h(""), ee(!1));
|
|
6735
6735
|
}
|
|
6736
6736
|
} catch (T) {
|
|
6737
6737
|
m(T.response.data.error.msg);
|
|
6738
6738
|
}
|
|
6739
6739
|
}, k = async () => {
|
|
6740
6740
|
ee(!0);
|
|
6741
|
-
let
|
|
6742
|
-
r === "Flex" ?
|
|
6743
|
-
...
|
|
6741
|
+
let w;
|
|
6742
|
+
r === "Flex" ? w = await Ws({ _id: t }, i) : r === "Ready" && (w = await Es({ _id: t }, i)), w && (["admin", "pm", "tester", "sales"].includes(a.role) ? F({
|
|
6743
|
+
...w,
|
|
6744
6744
|
networks: no
|
|
6745
|
-
}) : r === "Ready" && !
|
|
6746
|
-
...
|
|
6745
|
+
}) : r === "Ready" && !w.canDownload ? F({
|
|
6746
|
+
...w,
|
|
6747
6747
|
networks: no
|
|
6748
|
-
}) : F(
|
|
6748
|
+
}) : F(w)), ee(!1);
|
|
6749
6749
|
}, V = async () => await Ms(n, i);
|
|
6750
6750
|
return ve(() => {
|
|
6751
|
-
o || (z(null), _(null), F(null), d(null)), o && (r === "Playable" ? (R().then((
|
|
6752
|
-
E(null,
|
|
6753
|
-
}), X(!1)) : r === "Ready" ? k().then((
|
|
6754
|
-
R().then((
|
|
6755
|
-
E(null,
|
|
6751
|
+
o || (z(null), _(null), F(null), d(null)), o && (r === "Playable" ? (R().then((w) => {
|
|
6752
|
+
E(null, w);
|
|
6753
|
+
}), X(!1)) : r === "Ready" ? k().then((w) => {
|
|
6754
|
+
R().then((J) => {
|
|
6755
|
+
E(null, J), X(!1);
|
|
6756
6756
|
});
|
|
6757
|
-
}) : r === "Flex" ? k().then((
|
|
6758
|
-
X(!1), V().then((
|
|
6759
|
-
o && (E(
|
|
6757
|
+
}) : r === "Flex" ? k().then((w) => {
|
|
6758
|
+
X(!1), V().then((J) => {
|
|
6759
|
+
o && (E(J, null), X(!1), _(J));
|
|
6760
6760
|
});
|
|
6761
|
-
}) : r === "Import" && Os(t, i).then((
|
|
6762
|
-
console.log(
|
|
6761
|
+
}) : r === "Import" && Os(t, i).then((w) => {
|
|
6762
|
+
console.log(w), z(w), h(w.iosUrl || ""), y(w.googleUrl || ""), ee(!1), X(!1);
|
|
6763
6763
|
}));
|
|
6764
6764
|
}, [n, e, t, o]), /* @__PURE__ */ l.jsxs(
|
|
6765
6765
|
"div",
|
|
@@ -6789,8 +6789,8 @@ const zs = ({
|
|
|
6789
6789
|
creditDownload: $,
|
|
6790
6790
|
user: a,
|
|
6791
6791
|
isTest: Y,
|
|
6792
|
-
setIsTest:
|
|
6793
|
-
urlType:
|
|
6792
|
+
setIsTest: N,
|
|
6793
|
+
urlType: x,
|
|
6794
6794
|
setUrlType: O,
|
|
6795
6795
|
allNetworksSelected: f,
|
|
6796
6796
|
setAllNetworksSelected: S
|
|
@@ -6826,7 +6826,7 @@ const zs = ({
|
|
|
6826
6826
|
disabled: ae,
|
|
6827
6827
|
setSafariCopyLink: q,
|
|
6828
6828
|
isTest: Y,
|
|
6829
|
-
urlType:
|
|
6829
|
+
urlType: x,
|
|
6830
6830
|
allNetworksSelected: f,
|
|
6831
6831
|
setAllNetworksSelected: S
|
|
6832
6832
|
}
|
|
@@ -6987,8 +6987,8 @@ var Vn = { exports: {} };
|
|
|
6987
6987
|
}
|
|
6988
6988
|
var h = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), y = h != null && h[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
6989
6989
|
if (y) {
|
|
6990
|
-
var
|
|
6991
|
-
if (
|
|
6990
|
+
var x = c.indexOf(p);
|
|
6991
|
+
if (x > -1 && (x += d ? -1 : 1), s = c[x], typeof s > "u") {
|
|
6992
6992
|
m.preventDefault(), s = d ? g : q, s.focus();
|
|
6993
6993
|
return;
|
|
6994
6994
|
}
|
|
@@ -7289,9 +7289,9 @@ bl.default.subscribe(wl);
|
|
|
7289
7289
|
});
|
|
7290
7290
|
var n = Object.assign || function(W) {
|
|
7291
7291
|
for (var Y = 1; Y < arguments.length; Y++) {
|
|
7292
|
-
var
|
|
7293
|
-
for (var f in
|
|
7294
|
-
Object.prototype.hasOwnProperty.call(
|
|
7292
|
+
var N = arguments[Y];
|
|
7293
|
+
for (var f in N)
|
|
7294
|
+
Object.prototype.hasOwnProperty.call(N, f) && (W[f] = N[f]);
|
|
7295
7295
|
}
|
|
7296
7296
|
return W;
|
|
7297
7297
|
}, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(W) {
|
|
@@ -7299,23 +7299,23 @@ bl.default.subscribe(wl);
|
|
|
7299
7299
|
} : function(W) {
|
|
7300
7300
|
return W && typeof Symbol == "function" && W.constructor === Symbol && W !== Symbol.prototype ? "symbol" : typeof W;
|
|
7301
7301
|
}, o = function() {
|
|
7302
|
-
function W(Y,
|
|
7303
|
-
for (var f = 0; f <
|
|
7304
|
-
var S =
|
|
7302
|
+
function W(Y, N) {
|
|
7303
|
+
for (var f = 0; f < N.length; f++) {
|
|
7304
|
+
var S = N[f];
|
|
7305
7305
|
S.enumerable = S.enumerable || !1, S.configurable = !0, "value" in S && (S.writable = !0), Object.defineProperty(Y, S.key, S);
|
|
7306
7306
|
}
|
|
7307
7307
|
}
|
|
7308
|
-
return function(Y,
|
|
7309
|
-
return
|
|
7308
|
+
return function(Y, N, f) {
|
|
7309
|
+
return N && W(Y.prototype, N), f && W(Y, f), Y;
|
|
7310
7310
|
};
|
|
7311
|
-
}(), i = ie, a = nn, A = v(a), m = Ye, c = z(m), s = Qs, d = v(s), q = je, g = z(q), p = ft, h = z(p), y = ze,
|
|
7311
|
+
}(), i = ie, a = nn, A = v(a), m = Ye, c = z(m), s = Qs, d = v(s), q = je, g = z(q), p = ft, h = z(p), y = ze, x = v(y), O = ht, j = v(O);
|
|
7312
7312
|
function z(W) {
|
|
7313
7313
|
if (W && W.__esModule)
|
|
7314
7314
|
return W;
|
|
7315
7315
|
var Y = {};
|
|
7316
7316
|
if (W != null)
|
|
7317
|
-
for (var
|
|
7318
|
-
Object.prototype.hasOwnProperty.call(W,
|
|
7317
|
+
for (var N in W)
|
|
7318
|
+
Object.prototype.hasOwnProperty.call(W, N) && (Y[N] = W[N]);
|
|
7319
7319
|
return Y.default = W, Y;
|
|
7320
7320
|
}
|
|
7321
7321
|
function v(W) {
|
|
@@ -7344,9 +7344,9 @@ bl.default.subscribe(wl);
|
|
|
7344
7344
|
return Y.code === "Escape" || Y.keyCode === 27;
|
|
7345
7345
|
}, X = 0, B = function(W) {
|
|
7346
7346
|
F(Y, W);
|
|
7347
|
-
function Y(
|
|
7347
|
+
function Y(N) {
|
|
7348
7348
|
_(this, Y);
|
|
7349
|
-
var f = $(this, (Y.__proto__ || Object.getPrototypeOf(Y)).call(this,
|
|
7349
|
+
var f = $(this, (Y.__proto__ || Object.getPrototypeOf(Y)).call(this, N));
|
|
7350
7350
|
return f.setOverlayRef = function(S) {
|
|
7351
7351
|
f.overlay = S, f.props.overlayRef && f.props.overlayRef(S);
|
|
7352
7352
|
}, f.setContentRef = function(S) {
|
|
@@ -7449,7 +7449,7 @@ bl.default.subscribe(wl);
|
|
|
7449
7449
|
style: n({}, k, this.props.style.overlay),
|
|
7450
7450
|
onClick: this.handleOverlayOnClick,
|
|
7451
7451
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
7452
|
-
},
|
|
7452
|
+
}, w = n({
|
|
7453
7453
|
id: S,
|
|
7454
7454
|
ref: this.setContentRef,
|
|
7455
7455
|
style: n({}, E, this.props.style.content),
|
|
@@ -7463,8 +7463,8 @@ bl.default.subscribe(wl);
|
|
|
7463
7463
|
"aria-label": this.props.contentLabel
|
|
7464
7464
|
}, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7465
7465
|
"data-testid": this.props.testId
|
|
7466
|
-
}),
|
|
7467
|
-
return this.props.overlayElement(V,
|
|
7466
|
+
}), J = this.props.contentElement(w, M);
|
|
7467
|
+
return this.props.overlayElement(V, J);
|
|
7468
7468
|
}
|
|
7469
7469
|
}]), Y;
|
|
7470
7470
|
}(i.Component);
|
|
@@ -7490,7 +7490,7 @@ bl.default.subscribe(wl);
|
|
|
7490
7490
|
bodyOpenClassName: A.default.string,
|
|
7491
7491
|
htmlOpenClassName: A.default.string,
|
|
7492
7492
|
ariaHideApp: A.default.bool,
|
|
7493
|
-
appElement: A.default.oneOfType([A.default.instanceOf(
|
|
7493
|
+
appElement: A.default.oneOfType([A.default.instanceOf(x.default), A.default.instanceOf(y.SafeHTMLCollection), A.default.instanceOf(y.SafeNodeList), A.default.arrayOf(A.default.instanceOf(x.default))]),
|
|
7494
7494
|
onAfterOpen: A.default.func,
|
|
7495
7495
|
onAfterClose: A.default.func,
|
|
7496
7496
|
onRequestClose: A.default.func,
|
|
@@ -8070,15 +8070,15 @@ const Un = /* @__PURE__ */ Ji(Gl), Tl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8070
8070
|
fetchFileUrl: q,
|
|
8071
8071
|
copyLinkUrl: g
|
|
8072
8072
|
}) => {
|
|
8073
|
-
const [p, h] = P(window.innerWidth), [y,
|
|
8073
|
+
const [p, h] = P(window.innerWidth), [y, x] = P(!1), [O, j] = P(s), [z, v] = P(!1), [_, $] = P(!0), [F, ue] = P(null), [ee, ae] = P(""), [X, B] = P("Loading..."), [W, Y] = P("Loading..."), [N, f] = P("game");
|
|
8074
8074
|
ls(a, A, ae, q);
|
|
8075
8075
|
const S = async () => {
|
|
8076
8076
|
Ft(n, "preview", null, null, !1).then((R) => {
|
|
8077
|
-
|
|
8077
|
+
x(!0), j(q + "/" + R.url), (a === "Flex" || a === "Ready" || a === "Playable") && (R.size >= 5 ? v(!0) : v(!1), ue(R.size)), $(!1);
|
|
8078
8078
|
});
|
|
8079
8079
|
};
|
|
8080
8080
|
return ve(() => {
|
|
8081
|
-
e ? y || (S(),
|
|
8081
|
+
e ? y || (S(), x(!0)) : (x(!1), j(""));
|
|
8082
8082
|
}, [e]), ve(() => {
|
|
8083
8083
|
const R = () => {
|
|
8084
8084
|
h(window.innerWidth);
|
|
@@ -8239,7 +8239,7 @@ const Un = /* @__PURE__ */ Ji(Gl), Tl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8239
8239
|
setSafariCopyLink: ae,
|
|
8240
8240
|
iosLink: X,
|
|
8241
8241
|
androidLink: W,
|
|
8242
|
-
urlType:
|
|
8242
|
+
urlType: N
|
|
8243
8243
|
}
|
|
8244
8244
|
) : /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
8245
8245
|
"div",
|
|
@@ -8287,7 +8287,7 @@ const Un = /* @__PURE__ */ Ji(Gl), Tl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8287
8287
|
androidLink: W,
|
|
8288
8288
|
setIosLink: B,
|
|
8289
8289
|
setAndroidLink: Y,
|
|
8290
|
-
urlType:
|
|
8290
|
+
urlType: N,
|
|
8291
8291
|
setUrlType: f
|
|
8292
8292
|
}
|
|
8293
8293
|
)
|