gearboxdownloadmodal 5.0.89 → 5.0.91
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 +218 -202
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +11 -11
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -77,17 +77,17 @@ function ji() {
|
|
|
77
77
|
{
|
|
78
78
|
for (var I = arguments.length, S = new Array(I > 1 ? I - 1 : 0), T = 1; T < I; T++)
|
|
79
79
|
S[T - 1] = arguments[T];
|
|
80
|
-
|
|
80
|
+
j("error", l, S);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function j(l, I, S) {
|
|
84
84
|
{
|
|
85
85
|
var T = w.ReactDebugCurrentFrame, oe = T.getStackAddendum();
|
|
86
86
|
oe !== "" && (I += "%s", S = S.concat([oe]));
|
|
87
|
-
var
|
|
87
|
+
var ue = S.map(function(_) {
|
|
88
88
|
return String(_);
|
|
89
89
|
});
|
|
90
|
-
|
|
90
|
+
ue.unshift("Warning: " + I), Function.prototype.apply.call(console[l], console, ue);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
var M = !1, C = !1, U = !1, ee = !1, Q = !1, ae;
|
|
@@ -144,9 +144,9 @@ function ji() {
|
|
|
144
144
|
var T = l.displayName || null;
|
|
145
145
|
return T !== null ? T : H(l.type) || "Memo";
|
|
146
146
|
case b: {
|
|
147
|
-
var oe = l,
|
|
147
|
+
var oe = l, ue = oe._payload, _ = oe._init;
|
|
148
148
|
try {
|
|
149
|
-
return H(_(
|
|
149
|
+
return H(_(ue));
|
|
150
150
|
} catch {
|
|
151
151
|
return null;
|
|
152
152
|
}
|
|
@@ -155,17 +155,17 @@ function ji() {
|
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
157
|
var x = Object.assign, W = 0, z, p, K, G, y, h, k;
|
|
158
|
-
function j() {
|
|
159
|
-
}
|
|
160
|
-
j.__reactDisabledLog = !0;
|
|
161
158
|
function J() {
|
|
159
|
+
}
|
|
160
|
+
J.__reactDisabledLog = !0;
|
|
161
|
+
function N() {
|
|
162
162
|
{
|
|
163
163
|
if (W === 0) {
|
|
164
164
|
z = console.log, p = console.info, K = console.warn, G = console.error, y = console.group, h = console.groupCollapsed, k = console.groupEnd;
|
|
165
165
|
var l = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
168
|
-
value:
|
|
168
|
+
value: J,
|
|
169
169
|
writable: !0
|
|
170
170
|
};
|
|
171
171
|
Object.defineProperties(console, {
|
|
@@ -230,13 +230,13 @@ function ji() {
|
|
|
230
230
|
` + R + l;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
var
|
|
233
|
+
var Y = !1, D;
|
|
234
234
|
{
|
|
235
|
-
var
|
|
236
|
-
D = new
|
|
235
|
+
var le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
|
+
D = new le();
|
|
237
237
|
}
|
|
238
238
|
function L(l, I) {
|
|
239
|
-
if (!l ||
|
|
239
|
+
if (!l || Y)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
242
242
|
var S = D.get(l);
|
|
@@ -244,11 +244,11 @@ function ji() {
|
|
|
244
244
|
return S;
|
|
245
245
|
}
|
|
246
246
|
var T;
|
|
247
|
-
|
|
247
|
+
Y = !0;
|
|
248
248
|
var oe = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
|
-
var
|
|
251
|
-
|
|
250
|
+
var ue;
|
|
251
|
+
ue = E.current, E.current = null, N();
|
|
252
252
|
try {
|
|
253
253
|
if (I) {
|
|
254
254
|
var _ = function() {
|
|
@@ -301,7 +301,7 @@ function ji() {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
|
-
|
|
304
|
+
Y = !1, E.current = ue, P(), Error.prepareStackTrace = oe;
|
|
305
305
|
}
|
|
306
306
|
var ut = l ? l.displayName || l.name : "", Zr = ut ? V(ut) : "";
|
|
307
307
|
return typeof l == "function" && D.set(l, Zr), Zr;
|
|
@@ -333,9 +333,9 @@ function ji() {
|
|
|
333
333
|
case m:
|
|
334
334
|
return Be(l.type, I, S);
|
|
335
335
|
case b: {
|
|
336
|
-
var T = l, oe = T._payload,
|
|
336
|
+
var T = l, oe = T._payload, ue = T._init;
|
|
337
337
|
try {
|
|
338
|
-
return Be(
|
|
338
|
+
return Be(ue(oe), I, S);
|
|
339
339
|
} catch {
|
|
340
340
|
}
|
|
341
341
|
}
|
|
@@ -352,9 +352,9 @@ function ji() {
|
|
|
352
352
|
}
|
|
353
353
|
function ui(l, I, S, T, oe) {
|
|
354
354
|
{
|
|
355
|
-
var
|
|
355
|
+
var ue = Function.call.bind(kt);
|
|
356
356
|
for (var _ in l)
|
|
357
|
-
if (
|
|
357
|
+
if (ue(l, _)) {
|
|
358
358
|
var F = void 0;
|
|
359
359
|
try {
|
|
360
360
|
if (typeof l[_] != "function") {
|
|
@@ -444,7 +444,7 @@ function ji() {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
var vi = function(l, I, S, T, oe,
|
|
447
|
+
var vi = function(l, I, S, T, oe, ue, _) {
|
|
448
448
|
var F = {
|
|
449
449
|
// This tag allows us to uniquely identify this as a React Element
|
|
450
450
|
$$typeof: t,
|
|
@@ -454,7 +454,7 @@ function ji() {
|
|
|
454
454
|
ref: S,
|
|
455
455
|
props: _,
|
|
456
456
|
// Record the component responsible for creating this element.
|
|
457
|
-
_owner:
|
|
457
|
+
_owner: ue
|
|
458
458
|
};
|
|
459
459
|
return F._store = {}, Object.defineProperty(F._store, "validated", {
|
|
460
460
|
configurable: !1,
|
|
@@ -475,14 +475,14 @@ function ji() {
|
|
|
475
475
|
};
|
|
476
476
|
function bi(l, I, S, T, oe) {
|
|
477
477
|
{
|
|
478
|
-
var
|
|
478
|
+
var ue, _ = {}, F = null, be = null;
|
|
479
479
|
S !== void 0 && (pr(S), F = "" + S), hi(I) && (pr(I.key), F = "" + I.key), fi(I) && (be = I.ref, qi(I, oe));
|
|
480
|
-
for (
|
|
481
|
-
kt.call(I,
|
|
480
|
+
for (ue in I)
|
|
481
|
+
kt.call(I, ue) && !pi.hasOwnProperty(ue) && (_[ue] = I[ue]);
|
|
482
482
|
if (l && l.defaultProps) {
|
|
483
483
|
var de = l.defaultProps;
|
|
484
|
-
for (
|
|
485
|
-
_[
|
|
484
|
+
for (ue in de)
|
|
485
|
+
_[ue] === void 0 && (_[ue] = de[ue]);
|
|
486
486
|
}
|
|
487
487
|
if (F || be) {
|
|
488
488
|
var me = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
@@ -567,7 +567,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
567
567
|
else if (l) {
|
|
568
568
|
var oe = Z(l);
|
|
569
569
|
if (typeof oe == "function" && oe !== l.entries)
|
|
570
|
-
for (var
|
|
570
|
+
for (var ue = oe.call(l), _; !(_ = ue.next()).done; )
|
|
571
571
|
gn(_.value) && vr(_.value, I);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
@@ -609,7 +609,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
609
609
|
l.ref !== null && (lt(l), O("Invalid attribute `ref` supplied to `React.Fragment`."), lt(null));
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function Cr(l, I, S, T, oe,
|
|
612
|
+
function Cr(l, I, S, T, oe, ue) {
|
|
613
613
|
{
|
|
614
614
|
var _ = re(l);
|
|
615
615
|
if (!_) {
|
|
@@ -620,7 +620,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
620
620
|
var de;
|
|
621
621
|
l === null ? de = "null" : pn(l) ? de = "array" : l !== void 0 && l.$$typeof === t ? (de = "<" + (H(l.type) || "Unknown") + " />", F = " Did you accidentally export a JSX literal instead of a component?") : de = typeof l, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", de, F);
|
|
622
622
|
}
|
|
623
|
-
var me = bi(l, I, S, oe,
|
|
623
|
+
var me = bi(l, I, S, oe, ue);
|
|
624
624
|
if (me == null)
|
|
625
625
|
return me;
|
|
626
626
|
if (_) {
|
|
@@ -1390,7 +1390,7 @@ function Ui() {
|
|
|
1390
1390
|
return Ae;
|
|
1391
1391
|
Kr = 1;
|
|
1392
1392
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, Z = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
|
|
1393
|
-
function
|
|
1393
|
+
function j(C) {
|
|
1394
1394
|
if (typeof C == "object" && C !== null) {
|
|
1395
1395
|
var U = C.$$typeof;
|
|
1396
1396
|
switch (U) {
|
|
@@ -1421,35 +1421,35 @@ function Ui() {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
1423
|
function M(C) {
|
|
1424
|
-
return
|
|
1424
|
+
return j(C) === c;
|
|
1425
1425
|
}
|
|
1426
1426
|
return Ae.AsyncMode = d, Ae.ConcurrentMode = c, Ae.ContextConsumer = A, Ae.ContextProvider = a, Ae.Element = t, Ae.ForwardRef = s, Ae.Fragment = r, Ae.Lazy = f, Ae.Memo = q, Ae.Portal = n, Ae.Profiler = i, Ae.StrictMode = o, Ae.Suspense = m, Ae.isAsyncMode = function(C) {
|
|
1427
|
-
return M(C) ||
|
|
1427
|
+
return M(C) || j(C) === d;
|
|
1428
1428
|
}, Ae.isConcurrentMode = M, Ae.isContextConsumer = function(C) {
|
|
1429
|
-
return
|
|
1429
|
+
return j(C) === A;
|
|
1430
1430
|
}, Ae.isContextProvider = function(C) {
|
|
1431
|
-
return
|
|
1431
|
+
return j(C) === a;
|
|
1432
1432
|
}, Ae.isElement = function(C) {
|
|
1433
1433
|
return typeof C == "object" && C !== null && C.$$typeof === t;
|
|
1434
1434
|
}, Ae.isForwardRef = function(C) {
|
|
1435
|
-
return
|
|
1435
|
+
return j(C) === s;
|
|
1436
1436
|
}, Ae.isFragment = function(C) {
|
|
1437
|
-
return
|
|
1437
|
+
return j(C) === r;
|
|
1438
1438
|
}, Ae.isLazy = function(C) {
|
|
1439
|
-
return
|
|
1439
|
+
return j(C) === f;
|
|
1440
1440
|
}, Ae.isMemo = function(C) {
|
|
1441
|
-
return
|
|
1441
|
+
return j(C) === q;
|
|
1442
1442
|
}, Ae.isPortal = function(C) {
|
|
1443
|
-
return
|
|
1443
|
+
return j(C) === n;
|
|
1444
1444
|
}, Ae.isProfiler = function(C) {
|
|
1445
|
-
return
|
|
1445
|
+
return j(C) === i;
|
|
1446
1446
|
}, Ae.isStrictMode = function(C) {
|
|
1447
|
-
return
|
|
1447
|
+
return j(C) === o;
|
|
1448
1448
|
}, Ae.isSuspense = function(C) {
|
|
1449
|
-
return
|
|
1449
|
+
return j(C) === m;
|
|
1450
1450
|
}, Ae.isValidElementType = function(C) {
|
|
1451
1451
|
return typeof C == "string" || typeof C == "function" || C === r || C === c || C === i || C === o || C === m || C === b || typeof C == "object" && C !== null && (C.$$typeof === f || C.$$typeof === q || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === Z || C.$$typeof === w || C.$$typeof === O || C.$$typeof === g);
|
|
1452
|
-
}, Ae.typeOf =
|
|
1452
|
+
}, Ae.typeOf = j, Ae;
|
|
1453
1453
|
}
|
|
1454
1454
|
var se = {};
|
|
1455
1455
|
/** @license React v16.13.1
|
|
@@ -1464,7 +1464,7 @@ var Wr;
|
|
|
1464
1464
|
function Fi() {
|
|
1465
1465
|
return Wr || (Wr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
1466
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, Z = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
|
|
1467
|
-
function
|
|
1467
|
+
function j(L) {
|
|
1468
1468
|
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1469
1469
|
L === r || L === c || L === i || L === o || L === m || L === b || typeof L == "object" && L !== null && (L.$$typeof === f || L.$$typeof === q || L.$$typeof === a || L.$$typeof === A || L.$$typeof === s || L.$$typeof === Z || L.$$typeof === w || L.$$typeof === O || L.$$typeof === g);
|
|
1470
1470
|
}
|
|
@@ -1513,10 +1513,10 @@ function Fi() {
|
|
|
1513
1513
|
function k(L) {
|
|
1514
1514
|
return M(L) === a;
|
|
1515
1515
|
}
|
|
1516
|
-
function
|
|
1516
|
+
function J(L) {
|
|
1517
1517
|
return typeof L == "object" && L !== null && L.$$typeof === t;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1519
|
+
function N(L) {
|
|
1520
1520
|
return M(L) === s;
|
|
1521
1521
|
}
|
|
1522
1522
|
function P(L) {
|
|
@@ -1531,16 +1531,16 @@ function Fi() {
|
|
|
1531
1531
|
function V(L) {
|
|
1532
1532
|
return M(L) === n;
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1534
|
+
function Y(L) {
|
|
1535
1535
|
return M(L) === i;
|
|
1536
1536
|
}
|
|
1537
1537
|
function D(L) {
|
|
1538
1538
|
return M(L) === o;
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function le(L) {
|
|
1541
1541
|
return M(L) === m;
|
|
1542
1542
|
}
|
|
1543
|
-
se.AsyncMode = C, se.ConcurrentMode = U, se.ContextConsumer = ee, se.ContextProvider = Q, se.Element = ae, se.ForwardRef = re, se.Fragment = te, se.Lazy = ne, se.Memo = H, se.Portal = x, se.Profiler = W, se.StrictMode = z, se.Suspense = p, se.isAsyncMode = G, se.isConcurrentMode = y, se.isContextConsumer = h, se.isContextProvider = k, se.isElement =
|
|
1543
|
+
se.AsyncMode = C, se.ConcurrentMode = U, se.ContextConsumer = ee, se.ContextProvider = Q, se.Element = ae, se.ForwardRef = re, se.Fragment = te, se.Lazy = ne, se.Memo = H, se.Portal = x, se.Profiler = W, se.StrictMode = z, se.Suspense = p, se.isAsyncMode = G, se.isConcurrentMode = y, se.isContextConsumer = h, se.isContextProvider = k, se.isElement = J, se.isForwardRef = N, se.isFragment = P, se.isLazy = E, se.isMemo = R, se.isPortal = V, se.isProfiler = Y, se.isStrictMode = D, se.isSuspense = le, se.isValidElementType = j, se.typeOf = M;
|
|
1544
1544
|
}()), se;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Mr;
|
|
@@ -1696,7 +1696,7 @@ function ea() {
|
|
|
1696
1696
|
string: w("string"),
|
|
1697
1697
|
symbol: w("symbol"),
|
|
1698
1698
|
any: O(),
|
|
1699
|
-
arrayOf:
|
|
1699
|
+
arrayOf: j,
|
|
1700
1700
|
element: M(),
|
|
1701
1701
|
elementType: C(),
|
|
1702
1702
|
instanceOf: U,
|
|
@@ -1717,8 +1717,8 @@ function ea() {
|
|
|
1717
1717
|
function Z(y) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var h = {}, k = 0;
|
|
1720
|
-
function
|
|
1721
|
-
if (V = V || b, D = D || R,
|
|
1720
|
+
function J(P, E, R, V, Y, D, le) {
|
|
1721
|
+
if (V = V || b, D = D || R, le !== n) {
|
|
1722
1722
|
if (d) {
|
|
1723
1723
|
var L = 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"
|
|
@@ -1732,18 +1732,18 @@ function ea() {
|
|
|
1732
1732
|
), h[qe] = !0, k++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return E[R] == null ? P ? E[R] === null ? new g("The " +
|
|
1735
|
+
return E[R] == null ? P ? E[R] === null ? new g("The " + Y + " `" + D + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new g("The " + Y + " `" + D + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : y(E, R, V, Y, D);
|
|
1736
1736
|
}
|
|
1737
|
-
var
|
|
1738
|
-
return
|
|
1737
|
+
var N = J.bind(null, !1);
|
|
1738
|
+
return N.isRequired = J.bind(null, !0), N;
|
|
1739
1739
|
}
|
|
1740
1740
|
function w(y) {
|
|
1741
|
-
function h(k,
|
|
1742
|
-
var V = k[
|
|
1743
|
-
if (
|
|
1741
|
+
function h(k, J, N, P, E, R) {
|
|
1742
|
+
var V = k[J], Y = z(V);
|
|
1743
|
+
if (Y !== y) {
|
|
1744
1744
|
var D = p(V);
|
|
1745
1745
|
return new g(
|
|
1746
|
-
"Invalid " + P + " `" + E + "` of type " + ("`" + D + "` supplied to `" +
|
|
1746
|
+
"Invalid " + P + " `" + E + "` of type " + ("`" + D + "` supplied to `" + N + "`, expected ") + ("`" + y + "`."),
|
|
1747
1747
|
{ expectedType: y }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
@@ -1754,17 +1754,17 @@ function ea() {
|
|
|
1754
1754
|
function O() {
|
|
1755
1755
|
return Z(a);
|
|
1756
1756
|
}
|
|
1757
|
-
function
|
|
1758
|
-
function h(k,
|
|
1757
|
+
function j(y) {
|
|
1758
|
+
function h(k, J, N, P, E) {
|
|
1759
1759
|
if (typeof y != "function")
|
|
1760
|
-
return new g("Property `" + E + "` of component `" +
|
|
1761
|
-
var R = k[
|
|
1760
|
+
return new g("Property `" + E + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
+
var R = k[J];
|
|
1762
1762
|
if (!Array.isArray(R)) {
|
|
1763
1763
|
var V = z(R);
|
|
1764
|
-
return new g("Invalid " + P + " `" + E + "` of type " + ("`" + V + "` supplied to `" +
|
|
1764
|
+
return new g("Invalid " + P + " `" + E + "` of type " + ("`" + V + "` supplied to `" + N + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
|
-
for (var
|
|
1767
|
-
var D = y(R,
|
|
1766
|
+
for (var Y = 0; Y < R.length; Y++) {
|
|
1767
|
+
var D = y(R, Y, N, P, E + "[" + Y + "]", n);
|
|
1768
1768
|
if (D instanceof Error)
|
|
1769
1769
|
return D;
|
|
1770
1770
|
}
|
|
@@ -1773,32 +1773,32 @@ function ea() {
|
|
|
1773
1773
|
return Z(h);
|
|
1774
1774
|
}
|
|
1775
1775
|
function M() {
|
|
1776
|
-
function y(h, k,
|
|
1776
|
+
function y(h, k, J, N, P) {
|
|
1777
1777
|
var E = h[k];
|
|
1778
1778
|
if (!A(E)) {
|
|
1779
1779
|
var R = z(E);
|
|
1780
|
-
return new g("Invalid " +
|
|
1780
|
+
return new g("Invalid " + N + " `" + P + "` of type " + ("`" + R + "` supplied to `" + J + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
1783
1783
|
}
|
|
1784
1784
|
return Z(y);
|
|
1785
1785
|
}
|
|
1786
1786
|
function C() {
|
|
1787
|
-
function y(h, k,
|
|
1787
|
+
function y(h, k, J, N, P) {
|
|
1788
1788
|
var E = h[k];
|
|
1789
1789
|
if (!e.isValidElementType(E)) {
|
|
1790
1790
|
var R = z(E);
|
|
1791
|
-
return new g("Invalid " +
|
|
1791
|
+
return new g("Invalid " + N + " `" + P + "` of type " + ("`" + R + "` supplied to `" + J + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
1795
1795
|
return Z(y);
|
|
1796
1796
|
}
|
|
1797
1797
|
function U(y) {
|
|
1798
|
-
function h(k,
|
|
1799
|
-
if (!(k[
|
|
1800
|
-
var R = y.name || b, V = G(k[
|
|
1801
|
-
return new g("Invalid " + P + " `" + E + "` of type " + ("`" + V + "` supplied to `" +
|
|
1798
|
+
function h(k, J, N, P, E) {
|
|
1799
|
+
if (!(k[J] instanceof y)) {
|
|
1800
|
+
var R = y.name || b, V = G(k[J]);
|
|
1801
|
+
return new g("Invalid " + P + " `" + E + "` of type " + ("`" + V + "` supplied to `" + N + "`, expected ") + ("instance of `" + R + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
@@ -1809,28 +1809,28 @@ function ea() {
|
|
|
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 h(k,
|
|
1813
|
-
for (var R = k[
|
|
1812
|
+
function h(k, J, N, P, E) {
|
|
1813
|
+
for (var R = k[J], V = 0; V < y.length; V++)
|
|
1814
1814
|
if (f(R, y[V]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var
|
|
1816
|
+
var Y = JSON.stringify(y, function(le, L) {
|
|
1817
1817
|
var qe = p(L);
|
|
1818
1818
|
return qe === "symbol" ? String(L) : L;
|
|
1819
1819
|
});
|
|
1820
|
-
return new g("Invalid " + P + " `" + E + "` of value `" + String(R) + "` " + ("supplied to `" +
|
|
1820
|
+
return new g("Invalid " + P + " `" + E + "` of value `" + String(R) + "` " + ("supplied to `" + N + "`, expected one of " + Y + "."));
|
|
1821
1821
|
}
|
|
1822
1822
|
return Z(h);
|
|
1823
1823
|
}
|
|
1824
1824
|
function Q(y) {
|
|
1825
|
-
function h(k,
|
|
1825
|
+
function h(k, J, N, P, E) {
|
|
1826
1826
|
if (typeof y != "function")
|
|
1827
|
-
return new g("Property `" + E + "` of component `" +
|
|
1828
|
-
var R = k[
|
|
1827
|
+
return new g("Property `" + E + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
+
var R = k[J], V = z(R);
|
|
1829
1829
|
if (V !== "object")
|
|
1830
|
-
return new g("Invalid " + P + " `" + E + "` of type " + ("`" + V + "` supplied to `" +
|
|
1831
|
-
for (var
|
|
1832
|
-
if (r(R,
|
|
1833
|
-
var D = y(R,
|
|
1830
|
+
return new g("Invalid " + P + " `" + E + "` of type " + ("`" + V + "` supplied to `" + N + "`, expected an object."));
|
|
1831
|
+
for (var Y in R)
|
|
1832
|
+
if (r(R, Y)) {
|
|
1833
|
+
var D = y(R, Y, N, P, E + "." + Y, n);
|
|
1834
1834
|
if (D instanceof Error)
|
|
1835
1835
|
return D;
|
|
1836
1836
|
}
|
|
@@ -1848,62 +1848,62 @@ function ea() {
|
|
|
1848
1848
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(k) + " at index " + h + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
|
-
function
|
|
1852
|
-
for (var
|
|
1853
|
-
var
|
|
1851
|
+
function J(N, P, E, R, V) {
|
|
1852
|
+
for (var Y = [], D = 0; D < y.length; D++) {
|
|
1853
|
+
var le = y[D], L = le(N, P, E, R, V, n);
|
|
1854
1854
|
if (L == null)
|
|
1855
1855
|
return null;
|
|
1856
|
-
L.data && r(L.data, "expectedType") &&
|
|
1856
|
+
L.data && r(L.data, "expectedType") && Y.push(L.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
|
-
var qe =
|
|
1858
|
+
var qe = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1859
1859
|
return new g("Invalid " + R + " `" + V + "` supplied to " + ("`" + E + "`" + qe + "."));
|
|
1860
1860
|
}
|
|
1861
|
-
return Z(
|
|
1861
|
+
return Z(J);
|
|
1862
1862
|
}
|
|
1863
1863
|
function re() {
|
|
1864
|
-
function y(h, k,
|
|
1865
|
-
return x(h[k]) ? null : new g("Invalid " +
|
|
1864
|
+
function y(h, k, J, N, P) {
|
|
1865
|
+
return x(h[k]) ? null : new g("Invalid " + N + " `" + P + "` supplied to " + ("`" + J + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
1867
|
return Z(y);
|
|
1868
1868
|
}
|
|
1869
|
-
function te(y, h, k,
|
|
1869
|
+
function te(y, h, k, J, N) {
|
|
1870
1870
|
return new g(
|
|
1871
|
-
(y || "React class") + ": " + h + " type `" + k + "." +
|
|
1871
|
+
(y || "React class") + ": " + h + " type `" + k + "." + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + N + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
1874
|
function ne(y) {
|
|
1875
|
-
function h(k,
|
|
1876
|
-
var R = k[
|
|
1875
|
+
function h(k, J, N, P, E) {
|
|
1876
|
+
var R = k[J], V = z(R);
|
|
1877
1877
|
if (V !== "object")
|
|
1878
|
-
return new g("Invalid " + P + " `" + E + "` of type `" + V + "` " + ("supplied to `" +
|
|
1879
|
-
for (var
|
|
1880
|
-
var D = y[
|
|
1878
|
+
return new g("Invalid " + P + " `" + E + "` of type `" + V + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1879
|
+
for (var Y in y) {
|
|
1880
|
+
var D = y[Y];
|
|
1881
1881
|
if (typeof D != "function")
|
|
1882
|
-
return te(
|
|
1883
|
-
var
|
|
1884
|
-
if (
|
|
1885
|
-
return
|
|
1882
|
+
return te(N, P, E, Y, p(D));
|
|
1883
|
+
var le = D(R, Y, N, P, E + "." + Y, n);
|
|
1884
|
+
if (le)
|
|
1885
|
+
return le;
|
|
1886
1886
|
}
|
|
1887
1887
|
return null;
|
|
1888
1888
|
}
|
|
1889
1889
|
return Z(h);
|
|
1890
1890
|
}
|
|
1891
1891
|
function H(y) {
|
|
1892
|
-
function h(k,
|
|
1893
|
-
var R = k[
|
|
1892
|
+
function h(k, J, N, P, E) {
|
|
1893
|
+
var R = k[J], V = z(R);
|
|
1894
1894
|
if (V !== "object")
|
|
1895
|
-
return new g("Invalid " + P + " `" + E + "` of type `" + V + "` " + ("supplied to `" +
|
|
1896
|
-
var
|
|
1897
|
-
for (var D in
|
|
1898
|
-
var
|
|
1899
|
-
if (r(y, D) && typeof
|
|
1900
|
-
return te(
|
|
1901
|
-
if (!
|
|
1895
|
+
return new g("Invalid " + P + " `" + E + "` of type `" + V + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1896
|
+
var Y = t({}, k[J], y);
|
|
1897
|
+
for (var D in Y) {
|
|
1898
|
+
var le = y[D];
|
|
1899
|
+
if (r(y, D) && typeof le != "function")
|
|
1900
|
+
return te(N, P, E, D, p(le));
|
|
1901
|
+
if (!le)
|
|
1902
1902
|
return new g(
|
|
1903
|
-
"Invalid " + P + " `" + E + "` key `" + D + "` supplied to `" +
|
|
1903
|
+
"Invalid " + P + " `" + E + "` key `" + D + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(k[J], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var L =
|
|
1906
|
+
var L = le(R, D, N, P, E + "." + D, n);
|
|
1907
1907
|
if (L)
|
|
1908
1908
|
return L;
|
|
1909
1909
|
}
|
|
@@ -1926,15 +1926,15 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1926
1926
|
return !0;
|
|
1927
1927
|
var h = m(y);
|
|
1928
1928
|
if (h) {
|
|
1929
|
-
var k = h.call(y),
|
|
1929
|
+
var k = h.call(y), J;
|
|
1930
1930
|
if (h !== y.entries) {
|
|
1931
|
-
for (; !(
|
|
1932
|
-
if (!x(
|
|
1931
|
+
for (; !(J = k.next()).done; )
|
|
1932
|
+
if (!x(J.value))
|
|
1933
1933
|
return !1;
|
|
1934
1934
|
} else
|
|
1935
|
-
for (; !(
|
|
1936
|
-
var
|
|
1937
|
-
if (
|
|
1935
|
+
for (; !(J = k.next()).done; ) {
|
|
1936
|
+
var N = J.value;
|
|
1937
|
+
if (N && !x(N[1]))
|
|
1938
1938
|
return !1;
|
|
1939
1939
|
}
|
|
1940
1940
|
} else
|
|
@@ -2507,11 +2507,11 @@ function sn(e, t, n) {
|
|
|
2507
2507
|
if (v.endsWith(g, "{}"))
|
|
2508
2508
|
g = r ? g : g.slice(0, -2), f = JSON.stringify(f);
|
|
2509
2509
|
else if (v.isArray(f) && rA(f) || (v.isFileList(f) || v.endsWith(g, "[]")) && (w = v.toArray(f)))
|
|
2510
|
-
return g = Oo(g), w.forEach(function(
|
|
2511
|
-
!(v.isUndefined(
|
|
2510
|
+
return g = Oo(g), w.forEach(function(j, M) {
|
|
2511
|
+
!(v.isUndefined(j) || j === null) && t.append(
|
|
2512
2512
|
// eslint-disable-next-line no-nested-ternary
|
|
2513
2513
|
a === !0 ? Jr([g], M, i) : a === null ? g : g + "[]",
|
|
2514
|
-
c(
|
|
2514
|
+
c(j)
|
|
2515
2515
|
);
|
|
2516
2516
|
}), !1;
|
|
2517
2517
|
}
|
|
@@ -3781,8 +3781,8 @@ function cn(e) {
|
|
|
3781
3781
|
let { children: A, position: d, preventExitTransition: c, done: s, nodeRef: m, isIn: b } = a;
|
|
3782
3782
|
const q = r ? `${t}--${d}` : t, f = r ? `${n}--${d}` : n, g = et(0);
|
|
3783
3783
|
return Oi(() => {
|
|
3784
|
-
const Z = m.current, w = q.split(" "), O = (
|
|
3785
|
-
|
|
3784
|
+
const Z = m.current, w = q.split(" "), O = (j) => {
|
|
3785
|
+
j.target === m.current && (Z.dispatchEvent(new Event("d")), Z.removeEventListener("animationend", O), Z.removeEventListener("animationcancel", O), g.current === 0 && j.type !== "animationcancel" && Z.classList.remove(...w));
|
|
3786
3786
|
};
|
|
3787
3787
|
Z.classList.add(...w), Z.addEventListener("animationend", O), Z.addEventListener("animationcancel", O);
|
|
3788
3788
|
}, []), Ie(() => {
|
|
@@ -3848,12 +3848,12 @@ function BA(e) {
|
|
|
3848
3848
|
return !o.current || A.props.enableMultiContainer && ne.containerId !== A.props.containerId || i.has(ne.toastId) && ne.updateId == null;
|
|
3849
3849
|
}(w))
|
|
3850
3850
|
return;
|
|
3851
|
-
const { toastId: O, updateId:
|
|
3851
|
+
const { toastId: O, updateId: j, data: M } = w, { props: C } = A, U = () => c(O), ee = j == null;
|
|
3852
3852
|
ee && A.count++;
|
|
3853
3853
|
const Q = { ...C, style: C.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(w).filter((ne) => {
|
|
3854
3854
|
let [H, x] = ne;
|
|
3855
3855
|
return x != null;
|
|
3856
|
-
})), toastId: O, updateId:
|
|
3856
|
+
})), toastId: O, updateId: j, data: M, closeToast: U, isIn: !1, className: Qt(w.className || C.toastClassName), bodyClassName: Qt(w.bodyClassName || C.bodyClassName), progressClassName: Qt(w.progressClassName || C.progressClassName), autoClose: !w.isLoading && (ae = w.autoClose, re = C.autoClose, ae === !1 || Zt(ae) && ae > 0 ? ae : re), deleteToast() {
|
|
3857
3857
|
const ne = Vr(i.get(O), "removed");
|
|
3858
3858
|
i.delete(O), Le.emit(4, ne);
|
|
3859
3859
|
const H = A.queue.length;
|
|
@@ -3885,7 +3885,7 @@ function BA(e) {
|
|
|
3885
3885
|
const { toastId: Z } = f;
|
|
3886
3886
|
g && i.delete(g);
|
|
3887
3887
|
const w = { content: q, props: f };
|
|
3888
|
-
i.set(Z, w), r((O) => [...O, Z].filter((
|
|
3888
|
+
i.set(Z, w), r((O) => [...O, Z].filter((j) => j !== g)), Le.emit(4, Vr(w, w.props.updateId == null ? "added" : "updated"));
|
|
3889
3889
|
}
|
|
3890
3890
|
return Ie(() => (A.containerId = e.containerId, Le.cancelEmit(3).on(0, m).on(1, (q) => o.current && c(q)).on(5, d).emit(2, A), () => {
|
|
3891
3891
|
i.clear(), Le.emit(3, A);
|
|
@@ -3947,10 +3947,10 @@ function UA(e) {
|
|
|
3947
3947
|
}), []), Ie(() => (e.pauseOnFocusLoss && (document.hasFocus() || Z(), window.addEventListener("focus", g), window.addEventListener("blur", Z)), () => {
|
|
3948
3948
|
e.pauseOnFocusLoss && (window.removeEventListener("focus", g), window.removeEventListener("blur", Z));
|
|
3949
3949
|
}), [e.pauseOnFocusLoss]);
|
|
3950
|
-
const
|
|
3951
|
-
return d && c && (
|
|
3950
|
+
const j = { onMouseDown: q, onTouchStart: q, onMouseUp: f, onTouchEnd: f };
|
|
3951
|
+
return d && c && (j.onMouseEnter = Z, j.onMouseLeave = g), b && (j.onClick = (M) => {
|
|
3952
3952
|
m && m(M), a.canCloseOnClick && s();
|
|
3953
|
-
}), { playToast: g, pauseToast: Z, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers:
|
|
3953
|
+
}), { playToast: g, pauseToast: Z, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: j };
|
|
3954
3954
|
}
|
|
3955
3955
|
function Uo(e) {
|
|
3956
3956
|
let { closeToast: t, theme: n, ariaLabel: r = "close" } = e;
|
|
@@ -3968,9 +3968,9 @@ function FA(e) {
|
|
|
3968
3968
|
} });
|
|
3969
3969
|
}
|
|
3970
3970
|
const _A = (e) => {
|
|
3971
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = UA(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: c, hideProgressBar: s, closeToast: m, transition: b, position: q, className: f, style: g, bodyClassName: Z, bodyStyle: w, progressClassName: O, progressStyle:
|
|
3971
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = UA(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: c, hideProgressBar: s, closeToast: m, transition: b, position: q, className: f, style: g, bodyClassName: Z, bodyStyle: w, progressClassName: O, progressStyle: j, updateId: M, role: C, progress: U, rtl: ee, toastId: Q, deleteToast: ae, isIn: re, isLoading: te, iconOut: ne, closeOnClick: H, theme: x } = e, W = Qe("Toastify__toast", `Toastify__toast-theme--${x}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": ee }, { "Toastify__toast--close-on-click": H }), z = Ze(f) ? f({ rtl: ee, position: q, type: c, defaultClassName: W }) : Qe(W, f), p = !!U || !A, K = { closeToast: m, type: c, theme: x };
|
|
3972
3972
|
let G = null;
|
|
3973
|
-
return i === !1 || (G = Ze(i) ? i(K) : dt(i) ? En(i, K) : Uo(K)), ie.createElement(b, { isIn: re, done: ae, position: q, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: Q, onClick: d, className: z, ...o, style: g, ref: r }, ie.createElement("div", { ...re && { role: C }, className: Ze(Z) ? Z({ type: c }) : Qe("Toastify__toast-body", Z), style: w }, ne != null && ie.createElement("div", { className: Qe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !te }) }, ne), ie.createElement("div", null, a)), G, ie.createElement(FA, { ...M && !p ? { key: `pb-${M}` } : {}, rtl: ee, theme: x, delay: A, isRunning: t, isIn: re, closeToast: m, hide: s, type: c, style:
|
|
3973
|
+
return i === !1 || (G = Ze(i) ? i(K) : dt(i) ? En(i, K) : Uo(K)), ie.createElement(b, { isIn: re, done: ae, position: q, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: Q, onClick: d, className: z, ...o, style: g, ref: r }, ie.createElement("div", { ...re && { role: C }, className: Ze(Z) ? Z({ type: c }) : Qe("Toastify__toast-body", Z), style: w }, ne != null && ie.createElement("div", { className: Qe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !te }) }, ne), ie.createElement("div", null, a)), G, ie.createElement(FA, { ...M && !p ? { key: `pb-${M}` } : {}, rtl: ee, theme: x, delay: A, isRunning: t, isIn: re, closeToast: m, hide: s, type: c, style: j, className: O, controlledProgress: p, progress: U || 0 })));
|
|
3974
3974
|
}, dn = function(e, t) {
|
|
3975
3975
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3976
3976
|
}, $A = cn(dn("bounce", !0));
|
|
@@ -4010,29 +4010,29 @@ function Ut(e, t) {
|
|
|
4010
4010
|
function Dt(e) {
|
|
4011
4011
|
return (t, n) => It(t, Ut(e, n));
|
|
4012
4012
|
}
|
|
4013
|
-
function
|
|
4013
|
+
function ce(e, t) {
|
|
4014
4014
|
return It(e, Ut("default", t));
|
|
4015
4015
|
}
|
|
4016
|
-
|
|
4016
|
+
ce.loading = (e, t) => It(e, Ut("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), ce.promise = function(e, t, n) {
|
|
4017
4017
|
let r, { pending: o, error: i, success: a } = t;
|
|
4018
|
-
o && (r = it(o) ?
|
|
4018
|
+
o && (r = it(o) ? ce.loading(o, n) : ce.loading(o.render, { ...n, ...o }));
|
|
4019
4019
|
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, d = (s, m, b) => {
|
|
4020
4020
|
if (m == null)
|
|
4021
|
-
return void
|
|
4021
|
+
return void ce.dismiss(r);
|
|
4022
4022
|
const q = { type: s, ...A, ...n, data: b }, f = it(m) ? { render: m } : m;
|
|
4023
|
-
return r ?
|
|
4023
|
+
return r ? ce.update(r, { ...q, ...f }) : ce(f.render, { ...q, ...f }), b;
|
|
4024
4024
|
}, c = Ze(e) ? e() : e;
|
|
4025
4025
|
return c.then((s) => d("success", a, s)).catch((s) => d("error", i, s)), c;
|
|
4026
|
-
},
|
|
4026
|
+
}, ce.success = Dt("success"), ce.info = Dt("info"), ce.error = Dt("error"), ce.warning = Dt("warning"), ce.warn = ce.warning, ce.dark = (e, t) => It(e, Ut("default", { theme: "dark", ...t })), ce.dismiss = (e) => {
|
|
4027
4027
|
Fe.size > 0 ? Le.emit(1, e) : Ct = Ct.filter((t) => e != null && t.options.toastId !== e);
|
|
4028
|
-
},
|
|
4028
|
+
}, ce.clearWaitingQueue = function(e) {
|
|
4029
4029
|
return e === void 0 && (e = {}), Le.emit(5, e);
|
|
4030
|
-
},
|
|
4030
|
+
}, ce.isActive = (e) => {
|
|
4031
4031
|
let t = !1;
|
|
4032
4032
|
return Fe.forEach((n) => {
|
|
4033
4033
|
n.isToastActive && n.isToastActive(e) && (t = !0);
|
|
4034
4034
|
}), t;
|
|
4035
|
-
},
|
|
4035
|
+
}, ce.update = function(e, t) {
|
|
4036
4036
|
t === void 0 && (t = {}), setTimeout(() => {
|
|
4037
4037
|
const n = function(r, o) {
|
|
4038
4038
|
let { containerId: i } = o;
|
|
@@ -4046,11 +4046,11 @@ ue.loading = (e, t) => It(e, Ut("default", { isLoading: !0, autoClose: !1, close
|
|
|
4046
4046
|
delete i.render, It(a, i);
|
|
4047
4047
|
}
|
|
4048
4048
|
}, 0);
|
|
4049
|
-
},
|
|
4050
|
-
|
|
4051
|
-
},
|
|
4049
|
+
}, ce.done = (e) => {
|
|
4050
|
+
ce.update(e, { progress: 1 });
|
|
4051
|
+
}, ce.onChange = (e) => (Le.on(4, e), () => {
|
|
4052
4052
|
Le.off(4, e);
|
|
4053
|
-
}),
|
|
4053
|
+
}), ce.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" }, ce.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, Le.on(2, (e) => {
|
|
4054
4054
|
Sn = e.containerId || e, Fe.set(Sn, e), Ct.forEach((t) => {
|
|
4055
4055
|
Le.emit(0, t.content, t.options);
|
|
4056
4056
|
}), Ct = [];
|
|
@@ -4058,7 +4058,7 @@ ue.loading = (e, t) => It(e, Ut("default", { isLoading: !0, autoClose: !1, close
|
|
|
4058
4058
|
Fe.delete(e.containerId || e), Fe.size === 0 && Le.off(0).off(1).off(5);
|
|
4059
4059
|
});
|
|
4060
4060
|
function Ot(e) {
|
|
4061
|
-
|
|
4061
|
+
ce.success(e, {
|
|
4062
4062
|
position: "top-center",
|
|
4063
4063
|
autoClose: 650,
|
|
4064
4064
|
hideProgressBar: !0,
|
|
@@ -5505,12 +5505,12 @@ const vs = [
|
|
|
5505
5505
|
creditDownload: Z,
|
|
5506
5506
|
getDownloadCount: w,
|
|
5507
5507
|
disabled: O,
|
|
5508
|
-
user:
|
|
5508
|
+
user: j,
|
|
5509
5509
|
setSafariCopyLink: M,
|
|
5510
5510
|
isTest: C
|
|
5511
5511
|
}) => {
|
|
5512
|
-
const [U, ee] = B(!1), [Q, ae] = B(""), [re, te] = B(!1), [ne, H] = B(!1), [x, W] = B(!1), [z, p] = B("download"), [K, G] = B(!1), [y, h] = B(!1), [k,
|
|
5513
|
-
let
|
|
5512
|
+
const [U, ee] = B(!1), [Q, ae] = B(""), [re, te] = B(!1), [ne, H] = B(!1), [x, W] = B(!1), [z, p] = B("download"), [K, G] = B(!1), [y, h] = B(!1), [k, J] = B(!1);
|
|
5513
|
+
let N = {
|
|
5514
5514
|
aarki: "html,copy",
|
|
5515
5515
|
adcolony: "copy,html",
|
|
5516
5516
|
adjoe: "copy,html",
|
|
@@ -5555,23 +5555,25 @@ const vs = [
|
|
|
5555
5555
|
};
|
|
5556
5556
|
const P = () => {
|
|
5557
5557
|
n(e);
|
|
5558
|
-
}, E = async (
|
|
5559
|
-
Ft(c,
|
|
5560
|
-
ee(!1),
|
|
5558
|
+
}, E = async (Y, D) => (ee(!0), new Promise((le, L) => {
|
|
5559
|
+
Ft(c, Y, q, D, C).then((qe) => {
|
|
5560
|
+
ee(!1), le(qe);
|
|
5561
5561
|
}).catch((qe) => {
|
|
5562
5562
|
ee(!1), m(qe.message, qe), L(qe);
|
|
5563
5563
|
});
|
|
5564
|
-
})), R = async (
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5564
|
+
})), R = async (Y = !1) => {
|
|
5565
|
+
Y ? h(!0) : G(!0);
|
|
5566
|
+
const D = {};
|
|
5567
|
+
Y && (D.molocoGenerateHtml = !0), Ft(c, o, q, "download", C, D).then((le) => {
|
|
5568
|
+
Y ? h(!1) : G(!1), W(!1);
|
|
5569
|
+
}).catch((le) => {
|
|
5570
|
+
m(le.message, le);
|
|
5569
5571
|
});
|
|
5570
5572
|
}, V = async () => {
|
|
5571
|
-
|
|
5572
|
-
const
|
|
5573
|
-
let D = `${b}/${
|
|
5574
|
-
un(D) ? (Ot("Link Copied"),
|
|
5573
|
+
J(!0);
|
|
5574
|
+
const Y = await ys(s, c, o, d);
|
|
5575
|
+
let D = `${b}/${Y == null ? void 0 : Y.url}`;
|
|
5576
|
+
un(D) ? (Ot("Link Copied"), J(!1)) : M(D);
|
|
5575
5577
|
};
|
|
5576
5578
|
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
5577
5579
|
/* @__PURE__ */ u.jsxs(
|
|
@@ -5627,7 +5629,7 @@ const vs = [
|
|
|
5627
5629
|
}
|
|
5628
5630
|
}
|
|
5629
5631
|
),
|
|
5630
|
-
/* @__PURE__ */ u.jsx("div", { children: i && i.map((
|
|
5632
|
+
/* @__PURE__ */ u.jsx("div", { children: i && i.map((Y) => Y.network).includes(o) ? a ? /* @__PURE__ */ u.jsx(
|
|
5631
5633
|
"div",
|
|
5632
5634
|
{
|
|
5633
5635
|
style: {
|
|
@@ -5643,7 +5645,7 @@ const vs = [
|
|
|
5643
5645
|
},
|
|
5644
5646
|
children: /* @__PURE__ */ u.jsx(fs, { typeOfProduct: d })
|
|
5645
5647
|
}
|
|
5646
|
-
) : i.map((
|
|
5648
|
+
) : i.map((Y) => /* @__PURE__ */ u.jsx(
|
|
5647
5649
|
"div",
|
|
5648
5650
|
{
|
|
5649
5651
|
style: {
|
|
@@ -5658,9 +5660,9 @@ const vs = [
|
|
|
5658
5660
|
justifyContent: "center",
|
|
5659
5661
|
alignItems: "center"
|
|
5660
5662
|
},
|
|
5661
|
-
children:
|
|
5663
|
+
children: Y.network === o ? Y.size.toString().slice(0, 5) + "Mb" : ""
|
|
5662
5664
|
},
|
|
5663
|
-
|
|
5665
|
+
Y.network
|
|
5664
5666
|
)) : null })
|
|
5665
5667
|
]
|
|
5666
5668
|
}
|
|
@@ -5715,14 +5717,14 @@ const vs = [
|
|
|
5715
5717
|
{
|
|
5716
5718
|
className: "w-2/3 border-hover-" + d,
|
|
5717
5719
|
downloading: U,
|
|
5718
|
-
onClickDonwload: async (
|
|
5719
|
-
if (
|
|
5720
|
+
onClickDonwload: async (Y) => {
|
|
5721
|
+
if (Y.stopPropagation(), (o === "moloco" || o === "molocoV2") && j.customer === "playableFactoryInternal") {
|
|
5720
5722
|
W(!0);
|
|
5721
5723
|
return;
|
|
5722
5724
|
} else {
|
|
5723
5725
|
ae("download");
|
|
5724
|
-
const D = q.iosUrl,
|
|
5725
|
-
Z && Z.willSpendCredit ? (g(!0), p("download"), te(!0)) : d !== "Import" && (!D || !
|
|
5726
|
+
const D = q.iosUrl, le = q.googleUrl;
|
|
5727
|
+
Z && Z.willSpendCredit ? (g(!0), p("download"), te(!0)) : d !== "Import" && (!D || !le) ? (g(!0), H(!0)) : (H(!1), te(!1), await E(o, "download"));
|
|
5726
5728
|
}
|
|
5727
5729
|
},
|
|
5728
5730
|
children: [
|
|
@@ -5748,14 +5750,14 @@ const vs = [
|
|
|
5748
5750
|
]
|
|
5749
5751
|
}
|
|
5750
5752
|
),
|
|
5751
|
-
|
|
5753
|
+
N[o] && N[o].includes("copy") && /* @__PURE__ */ u.jsx(
|
|
5752
5754
|
Fr,
|
|
5753
5755
|
{
|
|
5754
5756
|
className: "w-1/3 border-hover-" + d,
|
|
5755
|
-
onClickDonwload: async (
|
|
5756
|
-
|
|
5757
|
-
const D = q.iosUrl,
|
|
5758
|
-
Z && (Z != null && Z.willSpendCredit) ? (p("copy"), g(!0), te(!0)) : d !== "Import" && (!D || !
|
|
5757
|
+
onClickDonwload: async (Y) => {
|
|
5758
|
+
Y.stopPropagation(), ae("copyLink");
|
|
5759
|
+
const D = q.iosUrl, le = q.googleUrl;
|
|
5760
|
+
Z && (Z != null && Z.willSpendCredit) ? (p("copy"), g(!0), te(!0)) : d !== "Import" && (!D || !le) ? (g(!0), H(!0)) : (te(!1), H(!1), await E(o, "copy"));
|
|
5759
5761
|
},
|
|
5760
5762
|
disabled: O,
|
|
5761
5763
|
children: /* @__PURE__ */ u.jsx(bo, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -5800,7 +5802,7 @@ const vs = [
|
|
|
5800
5802
|
}
|
|
5801
5803
|
}
|
|
5802
5804
|
),
|
|
5803
|
-
x &&
|
|
5805
|
+
x && j.customer === "playableFactoryInternal" && /* @__PURE__ */ u.jsx(
|
|
5804
5806
|
gs,
|
|
5805
5807
|
{
|
|
5806
5808
|
onClose: () => {
|
|
@@ -6146,7 +6148,7 @@ const vs = [
|
|
|
6146
6148
|
setSafariCopyLink: q,
|
|
6147
6149
|
isTest: f
|
|
6148
6150
|
}) => {
|
|
6149
|
-
const [g, Z] = B([]), [w, O] = B([]), [
|
|
6151
|
+
const [g, Z] = B([]), [w, O] = B([]), [j, M] = B(!1), [C, U] = B(""), [ee, Q] = B(!1), [ae, re] = B(!1), [te, ne] = B("download"), [H, x] = B(!1), W = async (K) => {
|
|
6150
6152
|
const G = [...g];
|
|
6151
6153
|
if (g.includes(K)) {
|
|
6152
6154
|
const y = G.findIndex((h) => h === K);
|
|
@@ -6200,7 +6202,7 @@ const vs = [
|
|
|
6200
6202
|
selected: g.includes(K.id),
|
|
6201
6203
|
handleCardClick: W,
|
|
6202
6204
|
networkVersionSize: w,
|
|
6203
|
-
fileSizeLoading:
|
|
6205
|
+
fileSizeLoading: j,
|
|
6204
6206
|
showCheckBox: !0,
|
|
6205
6207
|
typeOfProduct: o,
|
|
6206
6208
|
versionId: r,
|
|
@@ -6335,7 +6337,7 @@ const Es = [
|
|
|
6335
6337
|
setFileSize: m,
|
|
6336
6338
|
setSafariCopyLink: b
|
|
6337
6339
|
}) => {
|
|
6338
|
-
const [q, f] = B(null), [g, Z] = B(null), [w, O] = B(null), [
|
|
6340
|
+
const [q, f] = B(null), [g, Z] = B(null), [w, O] = B(null), [j, M] = B(!1), [C, U] = B("Loading..."), [ee, Q] = B("Loading..."), [ae, re] = B(!0), [te, ne] = B(window.innerWidth), [H, x] = B(!1);
|
|
6339
6341
|
Ie(() => {
|
|
6340
6342
|
const h = () => {
|
|
6341
6343
|
ne(window.innerWidth);
|
|
@@ -6353,7 +6355,7 @@ const Es = [
|
|
|
6353
6355
|
}, p = (h) => {
|
|
6354
6356
|
Q(h);
|
|
6355
6357
|
}, K = async (h, k) => {
|
|
6356
|
-
var
|
|
6358
|
+
var J, N;
|
|
6357
6359
|
try {
|
|
6358
6360
|
let P;
|
|
6359
6361
|
if (r === "Playable" || r === "Ready") {
|
|
@@ -6370,14 +6372,14 @@ const Es = [
|
|
|
6370
6372
|
let R = await fetch(c + "/" + k.html).then(
|
|
6371
6373
|
(D) => D.text()
|
|
6372
6374
|
);
|
|
6373
|
-
const V = ((
|
|
6375
|
+
const V = ((J = R.match(
|
|
6374
6376
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6375
|
-
)) == null ? void 0 :
|
|
6377
|
+
)) == null ? void 0 : J.at(1)) || "";
|
|
6376
6378
|
U(V);
|
|
6377
|
-
const
|
|
6379
|
+
const Y = ((N = R.match(
|
|
6378
6380
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6379
|
-
)) == null ? void 0 :
|
|
6380
|
-
Q(
|
|
6381
|
+
)) == null ? void 0 : N.at(1)) || "";
|
|
6382
|
+
Q(Y), M(!1);
|
|
6381
6383
|
} else
|
|
6382
6384
|
Q(""), U(""), M(!1);
|
|
6383
6385
|
} else if (r === "Flex") {
|
|
@@ -6444,7 +6446,7 @@ const Es = [
|
|
|
6444
6446
|
setIsTest: x
|
|
6445
6447
|
}
|
|
6446
6448
|
),
|
|
6447
|
-
|
|
6449
|
+
j ? /* @__PURE__ */ u.jsx(
|
|
6448
6450
|
"div",
|
|
6449
6451
|
{
|
|
6450
6452
|
style: {
|
|
@@ -6456,7 +6458,7 @@ const Es = [
|
|
|
6456
6458
|
},
|
|
6457
6459
|
children: /* @__PURE__ */ u.jsx(sr, { isNetworksLoading: !0 })
|
|
6458
6460
|
}
|
|
6459
|
-
) : (q || w) && (r === "Flex" ? g : !0) && !
|
|
6461
|
+
) : (q || w) && (r === "Flex" ? g : !0) && !j && C !== "Loading..." && ee !== "Loading..." && /* @__PURE__ */ u.jsx(
|
|
6460
6462
|
ws,
|
|
6461
6463
|
{
|
|
6462
6464
|
playable: q,
|
|
@@ -6953,7 +6955,7 @@ bl.default.subscribe(wl);
|
|
|
6953
6955
|
return function(W, z, p) {
|
|
6954
6956
|
return z && x(W.prototype, z), p && x(W, p), W;
|
|
6955
6957
|
};
|
|
6956
|
-
}(), i = ie, a = nn, A = C(a), d = ze, c = M(d), s = Qs, m = C(s), b = Ye, q = M(b), f = ft, g = M(f), Z = ke, w = C(Z), O = ht,
|
|
6958
|
+
}(), i = ie, a = nn, A = C(a), d = ze, c = M(d), s = Qs, m = C(s), b = Ye, q = M(b), f = ft, g = M(f), Z = ke, w = C(Z), O = ht, j = C(O);
|
|
6957
6959
|
function M(x) {
|
|
6958
6960
|
if (x && x.__esModule)
|
|
6959
6961
|
return x;
|
|
@@ -6997,8 +6999,8 @@ bl.default.subscribe(wl);
|
|
|
6997
6999
|
}, p.setContentRef = function(K) {
|
|
6998
7000
|
p.content = K, p.props.contentRef && p.props.contentRef(K);
|
|
6999
7001
|
}, p.afterClose = function() {
|
|
7000
|
-
var K = p.props, G = K.appElement, y = K.ariaHideApp, h = K.htmlOpenClassName, k = K.bodyOpenClassName,
|
|
7001
|
-
k && g.remove(
|
|
7002
|
+
var K = p.props, G = K.appElement, y = K.ariaHideApp, h = K.htmlOpenClassName, k = K.bodyOpenClassName, J = K.parentSelector, N = J && J().ownerDocument || document;
|
|
7003
|
+
k && g.remove(N.body, k), h && g.remove(N.getElementsByTagName("html")[0], h), y && ne > 0 && (ne -= 1, ne === 0 && q.show(G)), p.props.shouldFocusAfterRender && (p.props.shouldReturnFocusAfterClose ? (c.returnFocus(p.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), p.props.onAfterClose && p.props.onAfterClose(), j.default.deregister(p);
|
|
7002
7004
|
}, p.open = function() {
|
|
7003
7005
|
p.beforeOpen(), p.state.afterOpen && p.state.beforeClose ? (clearTimeout(p.closeTimer), p.setState({ beforeClose: !1 })) : (p.props.shouldFocusAfterRender && (c.setupScopedFocus(p.node), c.markForFocusLater()), p.setState({ isOpen: !0 }, function() {
|
|
7004
7006
|
p.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -7078,26 +7080,26 @@ bl.default.subscribe(wl);
|
|
|
7078
7080
|
}, {
|
|
7079
7081
|
key: "beforeOpen",
|
|
7080
7082
|
value: function() {
|
|
7081
|
-
var p = this.props, K = p.appElement, G = p.ariaHideApp, y = p.htmlOpenClassName, h = p.bodyOpenClassName, k = p.parentSelector,
|
|
7082
|
-
h && g.add(
|
|
7083
|
+
var p = this.props, K = p.appElement, G = p.ariaHideApp, y = p.htmlOpenClassName, h = p.bodyOpenClassName, k = p.parentSelector, J = k && k().ownerDocument || document;
|
|
7084
|
+
h && g.add(J.body, h), y && g.add(J.getElementsByTagName("html")[0], y), G && (ne += 1, q.hide(K)), j.default.register(this);
|
|
7083
7085
|
}
|
|
7084
7086
|
// Don't steal focus from inner elements
|
|
7085
7087
|
}, {
|
|
7086
7088
|
key: "render",
|
|
7087
7089
|
value: function() {
|
|
7088
|
-
var p = this.props, K = p.id, G = p.className, y = p.overlayClassName, h = p.defaultStyles, k = p.children,
|
|
7090
|
+
var p = this.props, K = p.id, G = p.className, y = p.overlayClassName, h = p.defaultStyles, k = p.children, J = G ? {} : h.content, N = y ? {} : h.overlay;
|
|
7089
7091
|
if (this.shouldBeClosed())
|
|
7090
7092
|
return null;
|
|
7091
7093
|
var P = {
|
|
7092
7094
|
ref: this.setOverlayRef,
|
|
7093
7095
|
className: this.buildClassName("overlay", y),
|
|
7094
|
-
style: n({},
|
|
7096
|
+
style: n({}, N, this.props.style.overlay),
|
|
7095
7097
|
onClick: this.handleOverlayOnClick,
|
|
7096
7098
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
7097
7099
|
}, E = n({
|
|
7098
7100
|
id: K,
|
|
7099
7101
|
ref: this.setContentRef,
|
|
7100
|
-
style: n({},
|
|
7102
|
+
style: n({}, J, this.props.style.content),
|
|
7101
7103
|
className: this.buildClassName("content", G),
|
|
7102
7104
|
tabIndex: "-1",
|
|
7103
7105
|
onKeyDown: this.handleKeyDown,
|
|
@@ -7671,7 +7673,7 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
|
|
|
7671
7673
|
fetchFileUrl: b,
|
|
7672
7674
|
copyLinkUrl: q
|
|
7673
7675
|
}) => {
|
|
7674
|
-
const [f, g] = B(window.innerWidth), [Z, w] = B(!1), [O,
|
|
7676
|
+
const [f, g] = B(window.innerWidth), [Z, w] = B(!1), [O, j] = B(s), [M, C] = B(!1), [U, ee] = B(!0), [Q, ae] = B(null), [re, te] = B("");
|
|
7675
7677
|
os(a, A, te, b);
|
|
7676
7678
|
const ne = (x) => {
|
|
7677
7679
|
io({ _id: x, network: "applovin", typeOfProduct: a }, A).then((W) => {
|
|
@@ -7681,7 +7683,7 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
|
|
|
7681
7683
|
});
|
|
7682
7684
|
}, H = async () => {
|
|
7683
7685
|
Ft(n, "default", null, null, !1).then((x) => {
|
|
7684
|
-
w(!0),
|
|
7686
|
+
w(!0), j(b + "/" + x), a === "Flex" || a === "Ready" ? ne(n) : (ee(!1), a === "Playable" && io({ _id: n, network: "applovin", typeOfProduct: a }, A).then(
|
|
7685
7687
|
(W) => {
|
|
7686
7688
|
console.log(W), ae(W.size);
|
|
7687
7689
|
}
|
|
@@ -7689,7 +7691,7 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
|
|
|
7689
7691
|
});
|
|
7690
7692
|
};
|
|
7691
7693
|
return Ie(() => {
|
|
7692
|
-
e ? Z || (H(), w(!0)) : (w(!1),
|
|
7694
|
+
e ? Z || (H(), w(!0)) : (w(!1), j(""));
|
|
7693
7695
|
}, [e]), Ie(() => {
|
|
7694
7696
|
const x = () => {
|
|
7695
7697
|
g(window.innerWidth);
|
|
@@ -7901,6 +7903,20 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
|
|
|
7901
7903
|
},
|
|
7902
7904
|
url: re
|
|
7903
7905
|
}
|
|
7906
|
+
),
|
|
7907
|
+
/* @__PURE__ */ u.jsx(
|
|
7908
|
+
"div",
|
|
7909
|
+
{
|
|
7910
|
+
style: {
|
|
7911
|
+
position: "absolute",
|
|
7912
|
+
bottom: "0",
|
|
7913
|
+
left: "30px",
|
|
7914
|
+
fontSize: "12px",
|
|
7915
|
+
lineHeight: "12px",
|
|
7916
|
+
zIndex: 50
|
|
7917
|
+
},
|
|
7918
|
+
children: "Version: 5.0.90"
|
|
7919
|
+
}
|
|
7904
7920
|
)
|
|
7905
7921
|
]
|
|
7906
7922
|
}
|