gearboxdownloadmodal 5.0.85 → 5.0.86
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 +264 -255
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +14 -14
- package/dist/index.umd.js.map +1 -1
- package/dist/src/data/network-data-tracking.json.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ie, { useState as B, useEffect as Ze, forwardRef as Li, useReducer as Si, useRef as $e, isValidElement as dt, cloneElement as Sn, useLayoutEffect as Oi } from "react";
|
|
2
2
|
import Ei from "react-dom";
|
|
3
3
|
function ki(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -39,7 +39,7 @@ function Yi() {
|
|
|
39
39
|
if (Zr)
|
|
40
40
|
return yt;
|
|
41
41
|
Zr = 1;
|
|
42
|
-
var e =
|
|
42
|
+
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
43
43
|
function a(A, d, c) {
|
|
44
44
|
var s, m = {}, b = null, h = null;
|
|
45
45
|
c !== void 0 && (b = "" + c), d.key !== void 0 && (b = "" + d.key), d.ref !== void 0 && (h = d.ref);
|
|
@@ -65,7 +65,7 @@ var vt = {};
|
|
|
65
65
|
var Ir;
|
|
66
66
|
function ji() {
|
|
67
67
|
return Ir || (Ir = 1, process.env.NODE_ENV !== "production" && function() {
|
|
68
|
-
var e =
|
|
68
|
+
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), f = Symbol.iterator, q = "@@iterator";
|
|
69
69
|
function Z(l) {
|
|
70
70
|
if (l === null || typeof l != "object")
|
|
71
71
|
return null;
|
|
@@ -82,29 +82,29 @@ function ji() {
|
|
|
82
82
|
}
|
|
83
83
|
function Y(l, I, S) {
|
|
84
84
|
{
|
|
85
|
-
var T = w.ReactDebugCurrentFrame,
|
|
86
|
-
|
|
85
|
+
var T = w.ReactDebugCurrentFrame, oe = T.getStackAddendum();
|
|
86
|
+
oe !== "" && (I += "%s", S = S.concat([oe]));
|
|
87
87
|
var le = S.map(function(_) {
|
|
88
88
|
return String(_);
|
|
89
89
|
});
|
|
90
90
|
le.unshift("Warning: " + I), Function.prototype.apply.call(console[l], console, le);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
var M = !1, C = !1, U = !1, ee = !1, Q = !1,
|
|
94
|
-
|
|
95
|
-
function
|
|
93
|
+
var M = !1, C = !1, U = !1, ee = !1, Q = !1, ae;
|
|
94
|
+
ae = Symbol.for("react.module.reference");
|
|
95
|
+
function re(l) {
|
|
96
96
|
return !!(typeof l == "string" || typeof l == "function" || l === r || l === i || Q || l === o || l === c || l === s || ee || l === h || M || C || U || typeof l == "object" && l !== null && (l.$$typeof === b || l.$$typeof === m || l.$$typeof === a || l.$$typeof === A || l.$$typeof === d || // This needs to include all possible module reference object
|
|
97
97
|
// types supported by any Flight configuration anywhere since
|
|
98
98
|
// we don't know which Flight build this will end up being used
|
|
99
99
|
// with.
|
|
100
|
-
l.$$typeof ===
|
|
100
|
+
l.$$typeof === ae || l.getModuleId !== void 0));
|
|
101
101
|
}
|
|
102
102
|
function te(l, I, S) {
|
|
103
103
|
var T = l.displayName;
|
|
104
104
|
if (T)
|
|
105
105
|
return T;
|
|
106
|
-
var
|
|
107
|
-
return
|
|
106
|
+
var oe = I.displayName || I.name || "";
|
|
107
|
+
return oe !== "" ? S + "(" + oe + ")" : S;
|
|
108
108
|
}
|
|
109
109
|
function ne(l) {
|
|
110
110
|
return l.displayName || "Context";
|
|
@@ -144,7 +144,7 @@ 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
|
|
147
|
+
var oe = l, le = oe._payload, _ = oe._init;
|
|
148
148
|
try {
|
|
149
149
|
return H(_(le));
|
|
150
150
|
} catch {
|
|
@@ -154,14 +154,14 @@ function ji() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var x = Object.assign, W = 0,
|
|
157
|
+
var x = Object.assign, W = 0, z, p, K, N, y, g, k;
|
|
158
158
|
function j() {
|
|
159
159
|
}
|
|
160
160
|
j.__reactDisabledLog = !0;
|
|
161
161
|
function J() {
|
|
162
162
|
{
|
|
163
163
|
if (W === 0) {
|
|
164
|
-
|
|
164
|
+
z = console.log, p = console.info, K = console.warn, N = console.error, y = console.group, g = console.groupCollapsed, k = console.groupEnd;
|
|
165
165
|
var l = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -191,7 +191,7 @@ function ji() {
|
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
193
|
log: x({}, l, {
|
|
194
|
-
value:
|
|
194
|
+
value: z
|
|
195
195
|
}),
|
|
196
196
|
info: x({}, l, {
|
|
197
197
|
value: p
|
|
@@ -200,7 +200,7 @@ function ji() {
|
|
|
200
200
|
value: K
|
|
201
201
|
}),
|
|
202
202
|
error: x({}, l, {
|
|
203
|
-
value:
|
|
203
|
+
value: N
|
|
204
204
|
}),
|
|
205
205
|
group: x({}, l, {
|
|
206
206
|
value: y
|
|
@@ -209,7 +209,7 @@ function ji() {
|
|
|
209
209
|
value: g
|
|
210
210
|
}),
|
|
211
211
|
groupEnd: x({}, l, {
|
|
212
|
-
value:
|
|
212
|
+
value: k
|
|
213
213
|
})
|
|
214
214
|
});
|
|
215
215
|
}
|
|
@@ -222,30 +222,30 @@ function ji() {
|
|
|
222
222
|
if (G === void 0)
|
|
223
223
|
try {
|
|
224
224
|
throw Error();
|
|
225
|
-
} catch (
|
|
226
|
-
var T =
|
|
225
|
+
} catch (oe) {
|
|
226
|
+
var T = oe.stack.trim().match(/\n( *(at )?)/);
|
|
227
227
|
G = T && T[1] || "";
|
|
228
228
|
}
|
|
229
229
|
return `
|
|
230
230
|
` + G + l;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
var
|
|
233
|
+
var D = !1, R;
|
|
234
234
|
{
|
|
235
235
|
var ce = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
|
-
|
|
236
|
+
R = new ce();
|
|
237
237
|
}
|
|
238
238
|
function L(l, I) {
|
|
239
|
-
if (!l ||
|
|
239
|
+
if (!l || D)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
242
|
-
var S =
|
|
242
|
+
var S = R.get(l);
|
|
243
243
|
if (S !== void 0)
|
|
244
244
|
return S;
|
|
245
245
|
}
|
|
246
246
|
var T;
|
|
247
|
-
|
|
248
|
-
var
|
|
247
|
+
D = !0;
|
|
248
|
+
var oe = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var le;
|
|
251
251
|
le = E.current, E.current = null, J();
|
|
@@ -294,17 +294,17 @@ function ji() {
|
|
|
294
294
|
if (de--, me--, me < 0 || F[de] !== be[me]) {
|
|
295
295
|
var xe = `
|
|
296
296
|
` + F[de].replace(" at new ", " at ");
|
|
297
|
-
return l.displayName && xe.includes("<anonymous>") && (xe = xe.replace("<anonymous>", l.displayName)), typeof l == "function" &&
|
|
297
|
+
return l.displayName && xe.includes("<anonymous>") && (xe = xe.replace("<anonymous>", l.displayName)), typeof l == "function" && R.set(l, xe), xe;
|
|
298
298
|
}
|
|
299
299
|
while (de >= 1 && me >= 0);
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
|
-
|
|
304
|
+
D = !1, E.current = le, P(), Error.prepareStackTrace = oe;
|
|
305
305
|
}
|
|
306
306
|
var lt = l ? l.displayName || l.name : "", Cr = lt ? V(lt) : "";
|
|
307
|
-
return typeof l == "function" &&
|
|
307
|
+
return typeof l == "function" && R.set(l, Cr), Cr;
|
|
308
308
|
}
|
|
309
309
|
function he(l, I, S) {
|
|
310
310
|
return L(l, !1);
|
|
@@ -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,
|
|
336
|
+
var T = l, oe = T._payload, le = T._init;
|
|
337
337
|
try {
|
|
338
|
-
return Be(le(
|
|
338
|
+
return Be(le(oe), I, S);
|
|
339
339
|
} catch {
|
|
340
340
|
}
|
|
341
341
|
}
|
|
@@ -350,7 +350,7 @@ function ji() {
|
|
|
350
350
|
} else
|
|
351
351
|
cr.setExtraStackFrame(null);
|
|
352
352
|
}
|
|
353
|
-
function ui(l, I, S, T,
|
|
353
|
+
function ui(l, I, S, T, oe) {
|
|
354
354
|
{
|
|
355
355
|
var le = Function.call.bind(kt);
|
|
356
356
|
for (var _ in l)
|
|
@@ -365,7 +365,7 @@ function ji() {
|
|
|
365
365
|
} catch (de) {
|
|
366
366
|
F = de;
|
|
367
367
|
}
|
|
368
|
-
F && !(F instanceof Error) && (zt(
|
|
368
|
+
F && !(F instanceof Error) && (zt(oe), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", S, _, typeof F), zt(null)), F instanceof Error && !(F.message in ur) && (ur[F.message] = !0, zt(oe), O("Failed %s type: %s", S, F.message), zt(null));
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
@@ -444,7 +444,7 @@ function ji() {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
var vi = function(l, I, S, T,
|
|
447
|
+
var vi = function(l, I, S, T, oe, le, _) {
|
|
448
448
|
var F = {
|
|
449
449
|
// This tag allows us to uniquely identify this as a React Element
|
|
450
450
|
$$typeof: t,
|
|
@@ -470,13 +470,13 @@ function ji() {
|
|
|
470
470
|
configurable: !1,
|
|
471
471
|
enumerable: !1,
|
|
472
472
|
writable: !1,
|
|
473
|
-
value:
|
|
473
|
+
value: oe
|
|
474
474
|
}), Object.freeze && (Object.freeze(F.props), Object.freeze(F)), F;
|
|
475
475
|
};
|
|
476
|
-
function bi(l, I, S, T,
|
|
476
|
+
function bi(l, I, S, T, oe) {
|
|
477
477
|
{
|
|
478
478
|
var le, _ = {}, F = null, be = null;
|
|
479
|
-
S !== void 0 && (mr(S), F = "" + S), hi(I) && (mr(I.key), F = "" + I.key), fi(I) && (be = I.ref, qi(I,
|
|
479
|
+
S !== void 0 && (mr(S), F = "" + S), hi(I) && (mr(I.key), F = "" + I.key), fi(I) && (be = I.ref, qi(I, oe));
|
|
480
480
|
for (le in I)
|
|
481
481
|
kt.call(I, le) && !pi.hasOwnProperty(le) && (_[le] = I[le]);
|
|
482
482
|
if (l && l.defaultProps) {
|
|
@@ -488,7 +488,7 @@ function ji() {
|
|
|
488
488
|
var me = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
489
489
|
F && gi(_, me), be && yi(_, me);
|
|
490
490
|
}
|
|
491
|
-
return vi(l, F, be,
|
|
491
|
+
return vi(l, F, be, oe, T, gt.current, _);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
var pn = w.ReactCurrentOwner, hr = w.ReactDebugCurrentFrame;
|
|
@@ -565,9 +565,9 @@ Check the top-level render call using <` + S + ">.");
|
|
|
565
565
|
else if (hn(l))
|
|
566
566
|
l._store && (l._store.validated = !0);
|
|
567
567
|
else if (l) {
|
|
568
|
-
var
|
|
569
|
-
if (typeof
|
|
570
|
-
for (var le =
|
|
568
|
+
var oe = Z(l);
|
|
569
|
+
if (typeof oe == "function" && oe !== l.entries)
|
|
570
|
+
for (var le = oe.call(l), _; !(_ = le.next()).done; )
|
|
571
571
|
hn(_.value) && yr(_.value, I);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
@@ -591,8 +591,8 @@ Check the top-level render call using <` + S + ">.");
|
|
|
591
591
|
ui(S, l.props, "prop", T, l);
|
|
592
592
|
} else if (I.PropTypes !== void 0 && !fn) {
|
|
593
593
|
fn = !0;
|
|
594
|
-
var
|
|
595
|
-
O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
594
|
+
var oe = H(I);
|
|
595
|
+
O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", oe || "Unknown");
|
|
596
596
|
}
|
|
597
597
|
typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
598
598
|
}
|
|
@@ -609,18 +609,18 @@ Check the top-level render call using <` + S + ">.");
|
|
|
609
609
|
l.ref !== null && (st(l), O("Invalid attribute `ref` supplied to `React.Fragment`."), st(null));
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function br(l, I, S, T,
|
|
612
|
+
function br(l, I, S, T, oe, le) {
|
|
613
613
|
{
|
|
614
|
-
var _ =
|
|
614
|
+
var _ = re(l);
|
|
615
615
|
if (!_) {
|
|
616
616
|
var F = "";
|
|
617
617
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
618
|
-
var be = Ci(
|
|
618
|
+
var be = Ci(oe);
|
|
619
619
|
be ? F += be : F += qr();
|
|
620
620
|
var de;
|
|
621
621
|
l === null ? de = "null" : dn(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,
|
|
623
|
+
var me = bi(l, I, S, oe, le);
|
|
624
624
|
if (me == null)
|
|
625
625
|
return me;
|
|
626
626
|
if (_) {
|
|
@@ -1500,8 +1500,8 @@ function Fi() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var C = d, U = c, ee = A, Q = a,
|
|
1504
|
-
function
|
|
1503
|
+
var C = d, U = c, ee = A, Q = a, ae = t, re = s, te = r, ne = f, H = h, x = n, W = i, z = o, p = m, K = !1;
|
|
1504
|
+
function N(L) {
|
|
1505
1505
|
return K || (K = !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.")), y(L) || M(L) === d;
|
|
1506
1506
|
}
|
|
1507
1507
|
function y(L) {
|
|
@@ -1510,7 +1510,7 @@ function Fi() {
|
|
|
1510
1510
|
function g(L) {
|
|
1511
1511
|
return M(L) === A;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function k(L) {
|
|
1514
1514
|
return M(L) === a;
|
|
1515
1515
|
}
|
|
1516
1516
|
function j(L) {
|
|
@@ -1531,16 +1531,16 @@ function Fi() {
|
|
|
1531
1531
|
function V(L) {
|
|
1532
1532
|
return M(L) === n;
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1534
|
+
function D(L) {
|
|
1535
1535
|
return M(L) === i;
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function R(L) {
|
|
1538
1538
|
return M(L) === o;
|
|
1539
1539
|
}
|
|
1540
1540
|
function ce(L) {
|
|
1541
1541
|
return M(L) === m;
|
|
1542
1542
|
}
|
|
1543
|
-
se.AsyncMode = C, se.ConcurrentMode = U, se.ContextConsumer = ee, se.ContextProvider = Q, se.Element =
|
|
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 = N, se.isConcurrentMode = y, se.isContextConsumer = g, se.isContextProvider = k, se.isElement = j, se.isForwardRef = J, se.isFragment = P, se.isLazy = E, se.isMemo = G, se.isPortal = V, se.isProfiler = D, se.isStrictMode = R, se.isSuspense = ce, se.isValidElementType = Y, se.typeOf = M;
|
|
1544
1544
|
}()), se;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Wr;
|
|
@@ -1700,10 +1700,10 @@ function ea() {
|
|
|
1700
1700
|
element: M(),
|
|
1701
1701
|
elementType: C(),
|
|
1702
1702
|
instanceOf: U,
|
|
1703
|
-
node:
|
|
1703
|
+
node: re(),
|
|
1704
1704
|
objectOf: Q,
|
|
1705
1705
|
oneOf: ee,
|
|
1706
|
-
oneOfType:
|
|
1706
|
+
oneOfType: ae,
|
|
1707
1707
|
shape: ne,
|
|
1708
1708
|
exact: H
|
|
1709
1709
|
};
|
|
@@ -1716,9 +1716,9 @@ function ea() {
|
|
|
1716
1716
|
q.prototype = Error.prototype;
|
|
1717
1717
|
function Z(y) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
|
-
var g = {},
|
|
1720
|
-
function j(P, E, G, V,
|
|
1721
|
-
if (V = V || b,
|
|
1719
|
+
var g = {}, k = 0;
|
|
1720
|
+
function j(P, E, G, V, D, R, ce) {
|
|
1721
|
+
if (V = V || b, R = R || G, ce !== 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"
|
|
@@ -1727,23 +1727,23 @@ function ea() {
|
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
1728
|
var he = V + ":" + G;
|
|
1729
1729
|
!g[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1730
|
-
|
|
1731
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
1732
|
-
), g[he] = !0,
|
|
1730
|
+
k < 3 && (i(
|
|
1731
|
+
"You are manually calling a React.PropTypes validation function for the `" + R + "` prop on `" + V + "`. 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
|
+
), g[he] = !0, k++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return E[G] == null ? P ? E[G] === null ? new q("The " +
|
|
1735
|
+
return E[G] == null ? P ? E[G] === null ? new q("The " + D + " `" + R + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new q("The " + D + " `" + R + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : y(E, G, V, D, R);
|
|
1736
1736
|
}
|
|
1737
1737
|
var J = j.bind(null, !1);
|
|
1738
1738
|
return J.isRequired = j.bind(null, !0), J;
|
|
1739
1739
|
}
|
|
1740
1740
|
function w(y) {
|
|
1741
|
-
function g(
|
|
1742
|
-
var V =
|
|
1743
|
-
if (
|
|
1744
|
-
var
|
|
1741
|
+
function g(k, j, J, P, E, G) {
|
|
1742
|
+
var V = k[j], D = z(V);
|
|
1743
|
+
if (D !== y) {
|
|
1744
|
+
var R = p(V);
|
|
1745
1745
|
return new q(
|
|
1746
|
-
"Invalid " + P + " `" + E + "` of type " + ("`" +
|
|
1746
|
+
"Invalid " + P + " `" + E + "` of type " + ("`" + R + "` supplied to `" + J + "`, expected ") + ("`" + y + "`."),
|
|
1747
1747
|
{ expectedType: y }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
@@ -1755,28 +1755,28 @@ function ea() {
|
|
|
1755
1755
|
return Z(a);
|
|
1756
1756
|
}
|
|
1757
1757
|
function Y(y) {
|
|
1758
|
-
function g(
|
|
1758
|
+
function g(k, j, J, P, E) {
|
|
1759
1759
|
if (typeof y != "function")
|
|
1760
1760
|
return new q("Property `" + E + "` of component `" + J + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
-
var G =
|
|
1761
|
+
var G = k[j];
|
|
1762
1762
|
if (!Array.isArray(G)) {
|
|
1763
|
-
var V =
|
|
1763
|
+
var V = z(G);
|
|
1764
1764
|
return new q("Invalid " + P + " `" + E + "` of type " + ("`" + V + "` supplied to `" + J + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
|
-
for (var
|
|
1767
|
-
var
|
|
1768
|
-
if (
|
|
1769
|
-
return
|
|
1766
|
+
for (var D = 0; D < G.length; D++) {
|
|
1767
|
+
var R = y(G, D, J, P, E + "[" + D + "]", n);
|
|
1768
|
+
if (R instanceof Error)
|
|
1769
|
+
return R;
|
|
1770
1770
|
}
|
|
1771
1771
|
return null;
|
|
1772
1772
|
}
|
|
1773
1773
|
return Z(g);
|
|
1774
1774
|
}
|
|
1775
1775
|
function M() {
|
|
1776
|
-
function y(g,
|
|
1777
|
-
var E = g[
|
|
1776
|
+
function y(g, k, j, J, P) {
|
|
1777
|
+
var E = g[k];
|
|
1778
1778
|
if (!A(E)) {
|
|
1779
|
-
var G =
|
|
1779
|
+
var G = z(E);
|
|
1780
1780
|
return new q("Invalid " + J + " `" + P + "` of type " + ("`" + G + "` supplied to `" + j + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
@@ -1784,10 +1784,10 @@ function ea() {
|
|
|
1784
1784
|
return Z(y);
|
|
1785
1785
|
}
|
|
1786
1786
|
function C() {
|
|
1787
|
-
function y(g,
|
|
1788
|
-
var E = g[
|
|
1787
|
+
function y(g, k, j, J, P) {
|
|
1788
|
+
var E = g[k];
|
|
1789
1789
|
if (!e.isValidElementType(E)) {
|
|
1790
|
-
var G =
|
|
1790
|
+
var G = z(E);
|
|
1791
1791
|
return new q("Invalid " + J + " `" + P + "` of type " + ("`" + G + "` supplied to `" + j + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
@@ -1795,9 +1795,9 @@ function ea() {
|
|
|
1795
1795
|
return Z(y);
|
|
1796
1796
|
}
|
|
1797
1797
|
function U(y) {
|
|
1798
|
-
function g(
|
|
1799
|
-
if (!(
|
|
1800
|
-
var G = y.name || b, V =
|
|
1798
|
+
function g(k, j, J, P, E) {
|
|
1799
|
+
if (!(k[j] instanceof y)) {
|
|
1800
|
+
var G = y.name || b, V = N(k[j]);
|
|
1801
1801
|
return new q("Invalid " + P + " `" + E + "` of type " + ("`" + V + "` supplied to `" + J + "`, expected ") + ("instance of `" + G + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
@@ -1809,78 +1809,78 @@ 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 g(
|
|
1813
|
-
for (var G =
|
|
1812
|
+
function g(k, j, J, P, E) {
|
|
1813
|
+
for (var G = k[j], V = 0; V < y.length; V++)
|
|
1814
1814
|
if (f(G, y[V]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var
|
|
1816
|
+
var D = JSON.stringify(y, function(ce, L) {
|
|
1817
1817
|
var he = p(L);
|
|
1818
1818
|
return he === "symbol" ? String(L) : L;
|
|
1819
1819
|
});
|
|
1820
|
-
return new q("Invalid " + P + " `" + E + "` of value `" + String(G) + "` " + ("supplied to `" + J + "`, expected one of " +
|
|
1820
|
+
return new q("Invalid " + P + " `" + E + "` of value `" + String(G) + "` " + ("supplied to `" + J + "`, expected one of " + D + "."));
|
|
1821
1821
|
}
|
|
1822
1822
|
return Z(g);
|
|
1823
1823
|
}
|
|
1824
1824
|
function Q(y) {
|
|
1825
|
-
function g(
|
|
1825
|
+
function g(k, j, J, P, E) {
|
|
1826
1826
|
if (typeof y != "function")
|
|
1827
1827
|
return new q("Property `" + E + "` of component `" + J + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
-
var G =
|
|
1828
|
+
var G = k[j], V = z(G);
|
|
1829
1829
|
if (V !== "object")
|
|
1830
1830
|
return new q("Invalid " + P + " `" + E + "` of type " + ("`" + V + "` supplied to `" + J + "`, expected an object."));
|
|
1831
|
-
for (var
|
|
1832
|
-
if (r(G,
|
|
1833
|
-
var
|
|
1834
|
-
if (
|
|
1835
|
-
return
|
|
1831
|
+
for (var D in G)
|
|
1832
|
+
if (r(G, D)) {
|
|
1833
|
+
var R = y(G, D, J, P, E + "." + D, n);
|
|
1834
|
+
if (R instanceof Error)
|
|
1835
|
+
return R;
|
|
1836
1836
|
}
|
|
1837
1837
|
return null;
|
|
1838
1838
|
}
|
|
1839
1839
|
return Z(g);
|
|
1840
1840
|
}
|
|
1841
|
-
function
|
|
1841
|
+
function ae(y) {
|
|
1842
1842
|
if (!Array.isArray(y))
|
|
1843
1843
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
1844
1844
|
for (var g = 0; g < y.length; g++) {
|
|
1845
|
-
var
|
|
1846
|
-
if (typeof
|
|
1845
|
+
var k = y[g];
|
|
1846
|
+
if (typeof k != "function")
|
|
1847
1847
|
return i(
|
|
1848
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(
|
|
1848
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(k) + " at index " + g + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
1851
|
function j(J, P, E, G, V) {
|
|
1852
|
-
for (var
|
|
1853
|
-
var ce = y[
|
|
1852
|
+
for (var D = [], R = 0; R < y.length; R++) {
|
|
1853
|
+
var ce = y[R], L = ce(J, P, E, G, 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") && D.push(L.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
|
-
var he =
|
|
1858
|
+
var he = D.length > 0 ? ", expected one of type [" + D.join(", ") + "]" : "";
|
|
1859
1859
|
return new q("Invalid " + G + " `" + V + "` supplied to " + ("`" + E + "`" + he + "."));
|
|
1860
1860
|
}
|
|
1861
1861
|
return Z(j);
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1864
|
-
function y(g,
|
|
1865
|
-
return x(g[
|
|
1863
|
+
function re() {
|
|
1864
|
+
function y(g, k, j, J, P) {
|
|
1865
|
+
return x(g[k]) ? null : new q("Invalid " + J + " `" + P + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
1867
|
return Z(y);
|
|
1868
1868
|
}
|
|
1869
|
-
function te(y, g,
|
|
1869
|
+
function te(y, g, k, j, J) {
|
|
1870
1870
|
return new q(
|
|
1871
|
-
(y || "React class") + ": " + g + " type `" +
|
|
1871
|
+
(y || "React class") + ": " + g + " type `" + k + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + J + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
1874
|
function ne(y) {
|
|
1875
|
-
function g(
|
|
1876
|
-
var G =
|
|
1875
|
+
function g(k, j, J, P, E) {
|
|
1876
|
+
var G = k[j], V = z(G);
|
|
1877
1877
|
if (V !== "object")
|
|
1878
1878
|
return new q("Invalid " + P + " `" + E + "` of type `" + V + "` " + ("supplied to `" + J + "`, expected `object`."));
|
|
1879
|
-
for (var
|
|
1880
|
-
var
|
|
1881
|
-
if (typeof
|
|
1882
|
-
return te(J, P, E,
|
|
1883
|
-
var ce =
|
|
1879
|
+
for (var D in y) {
|
|
1880
|
+
var R = y[D];
|
|
1881
|
+
if (typeof R != "function")
|
|
1882
|
+
return te(J, P, E, D, p(R));
|
|
1883
|
+
var ce = R(G, D, J, P, E + "." + D, n);
|
|
1884
1884
|
if (ce)
|
|
1885
1885
|
return ce;
|
|
1886
1886
|
}
|
|
@@ -1889,21 +1889,21 @@ function ea() {
|
|
|
1889
1889
|
return Z(g);
|
|
1890
1890
|
}
|
|
1891
1891
|
function H(y) {
|
|
1892
|
-
function g(
|
|
1893
|
-
var G =
|
|
1892
|
+
function g(k, j, J, P, E) {
|
|
1893
|
+
var G = k[j], V = z(G);
|
|
1894
1894
|
if (V !== "object")
|
|
1895
1895
|
return new q("Invalid " + P + " `" + E + "` of type `" + V + "` " + ("supplied to `" + J + "`, expected `object`."));
|
|
1896
|
-
var
|
|
1897
|
-
for (var
|
|
1898
|
-
var ce = y[
|
|
1899
|
-
if (r(y,
|
|
1900
|
-
return te(J, P, E,
|
|
1896
|
+
var D = t({}, k[j], y);
|
|
1897
|
+
for (var R in D) {
|
|
1898
|
+
var ce = y[R];
|
|
1899
|
+
if (r(y, R) && typeof ce != "function")
|
|
1900
|
+
return te(J, P, E, R, p(ce));
|
|
1901
1901
|
if (!ce)
|
|
1902
1902
|
return new q(
|
|
1903
|
-
"Invalid " + P + " `" + E + "` key `" +
|
|
1903
|
+
"Invalid " + P + " `" + E + "` key `" + R + "` supplied to `" + J + "`.\nBad object: " + JSON.stringify(k[j], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var L = ce(G,
|
|
1906
|
+
var L = ce(G, R, J, P, E + "." + R, n);
|
|
1907
1907
|
if (L)
|
|
1908
1908
|
return L;
|
|
1909
1909
|
}
|
|
@@ -1926,13 +1926,13 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1926
1926
|
return !0;
|
|
1927
1927
|
var g = m(y);
|
|
1928
1928
|
if (g) {
|
|
1929
|
-
var
|
|
1929
|
+
var k = g.call(y), j;
|
|
1930
1930
|
if (g !== y.entries) {
|
|
1931
|
-
for (; !(j =
|
|
1931
|
+
for (; !(j = k.next()).done; )
|
|
1932
1932
|
if (!x(j.value))
|
|
1933
1933
|
return !1;
|
|
1934
1934
|
} else
|
|
1935
|
-
for (; !(j =
|
|
1935
|
+
for (; !(j = k.next()).done; ) {
|
|
1936
1936
|
var J = j.value;
|
|
1937
1937
|
if (J && !x(J[1]))
|
|
1938
1938
|
return !1;
|
|
@@ -1947,14 +1947,14 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1947
1947
|
function W(y, g) {
|
|
1948
1948
|
return y === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function z(y) {
|
|
1951
1951
|
var g = typeof y;
|
|
1952
1952
|
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : W(g, y) ? "symbol" : g;
|
|
1953
1953
|
}
|
|
1954
1954
|
function p(y) {
|
|
1955
1955
|
if (typeof y > "u" || y === null)
|
|
1956
1956
|
return "" + y;
|
|
1957
|
-
var g =
|
|
1957
|
+
var g = z(y);
|
|
1958
1958
|
if (g === "object") {
|
|
1959
1959
|
if (y instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -1977,7 +1977,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1977
1977
|
return g;
|
|
1978
1978
|
}
|
|
1979
1979
|
}
|
|
1980
|
-
function
|
|
1980
|
+
function N(y) {
|
|
1981
1981
|
return !y.constructor || !y.constructor.name ? b : y.constructor.name;
|
|
1982
1982
|
}
|
|
1983
1983
|
return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
|
|
@@ -2048,7 +2048,7 @@ var oa = Object.assign || function(e) {
|
|
|
2048
2048
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2049
2049
|
}
|
|
2050
2050
|
return e;
|
|
2051
|
-
}, ia = en, We = go(ia), qo =
|
|
2051
|
+
}, ia = en, We = go(ia), qo = ie, Jt = go(qo);
|
|
2052
2052
|
function go(e) {
|
|
2053
2053
|
return e && e.__esModule ? e : { default: e };
|
|
2054
2054
|
}
|
|
@@ -2099,7 +2099,7 @@ var la = Object.assign || function(e) {
|
|
|
2099
2099
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2100
2100
|
}
|
|
2101
2101
|
return e;
|
|
2102
|
-
}, ua = Bi, ca = Wt(ua), da = so, ma = Wt(da), pa = en, Ge = Wt(pa), yo =
|
|
2102
|
+
}, ua = Bi, ca = Wt(ua), da = so, ma = Wt(da), pa = en, Ge = Wt(pa), yo = ie, fa = Wt(yo), ha = Un, qa = Wt(ha);
|
|
2103
2103
|
function Wt(e) {
|
|
2104
2104
|
return e && e.__esModule ? e : { default: e };
|
|
2105
2105
|
}
|
|
@@ -3784,7 +3784,7 @@ function ln(e) {
|
|
|
3784
3784
|
Z.removeEventListener("animationend", w), o ? PA(Z, s, i) : s();
|
|
3785
3785
|
};
|
|
3786
3786
|
b || (c ? w() : (q.current = 1, Z.className += ` ${f}`, Z.addEventListener("animationend", w)));
|
|
3787
|
-
}, [b]),
|
|
3787
|
+
}, [b]), ie.createElement(ie.Fragment, null, A);
|
|
3788
3788
|
};
|
|
3789
3789
|
}
|
|
3790
3790
|
function Pr(e, t) {
|
|
@@ -3810,17 +3810,17 @@ const Me = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
3810
3810
|
});
|
|
3811
3811
|
} }, Nt = (e) => {
|
|
3812
3812
|
let { theme: t, type: n, ...r } = e;
|
|
3813
|
-
return
|
|
3813
|
+
return ie.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...r });
|
|
3814
3814
|
}, Wn = { info: function(e) {
|
|
3815
|
-
return
|
|
3815
|
+
return ie.createElement(Nt, { ...e }, ie.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
|
|
3816
3816
|
}, warning: function(e) {
|
|
3817
|
-
return
|
|
3817
|
+
return ie.createElement(Nt, { ...e }, ie.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
|
|
3818
3818
|
}, success: function(e) {
|
|
3819
|
-
return
|
|
3819
|
+
return ie.createElement(Nt, { ...e }, ie.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
|
|
3820
3820
|
}, error: function(e) {
|
|
3821
|
-
return
|
|
3821
|
+
return ie.createElement(Nt, { ...e }, ie.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
|
|
3822
3822
|
}, spinner: function() {
|
|
3823
|
-
return
|
|
3823
|
+
return ie.createElement("div", { className: "Toastify__spinner" });
|
|
3824
3824
|
} };
|
|
3825
3825
|
function VA(e) {
|
|
3826
3826
|
const [, t] = Si((h) => h + 1, 0), [n, r] = B([]), o = $e(null), i = $e(/* @__PURE__ */ new Map()).current, a = (h) => n.indexOf(h) !== -1, A = $e({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (h) => i.get(h) }).current;
|
|
@@ -3847,7 +3847,7 @@ function VA(e) {
|
|
|
3847
3847
|
const Q = { ...C, style: C.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(w).filter((ne) => {
|
|
3848
3848
|
let [H, x] = ne;
|
|
3849
3849
|
return x != null;
|
|
3850
|
-
})), toastId: O, updateId: Y, 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 && (
|
|
3850
|
+
})), toastId: O, updateId: Y, 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() {
|
|
3851
3851
|
const ne = Pr(i.get(O), "removed");
|
|
3852
3852
|
i.delete(O), Me.emit(4, ne);
|
|
3853
3853
|
const H = A.queue.length;
|
|
@@ -3858,17 +3858,17 @@ function VA(e) {
|
|
|
3858
3858
|
else {
|
|
3859
3859
|
const W = x > H ? H : x;
|
|
3860
3860
|
A.displayedToast = W;
|
|
3861
|
-
for (let
|
|
3861
|
+
for (let z = 0; z < W; z++)
|
|
3862
3862
|
s();
|
|
3863
3863
|
}
|
|
3864
3864
|
} else
|
|
3865
3865
|
t();
|
|
3866
3866
|
} };
|
|
3867
|
-
var
|
|
3867
|
+
var ae, re;
|
|
3868
3868
|
Q.iconOut = function(ne) {
|
|
3869
|
-
let { theme: H, type: x, isLoading: W, icon:
|
|
3869
|
+
let { theme: H, type: x, isLoading: W, icon: z } = ne, p = null;
|
|
3870
3870
|
const K = { theme: H, type: x };
|
|
3871
|
-
return
|
|
3871
|
+
return z === !1 || (Ce(z) ? p = z(K) : dt(z) ? p = Sn(z, K) : ot(z) || Zt(z) ? p = z : W ? p = Wn.spinner() : ((N) => N in Wn)(x) && (p = Wn[x](K))), p;
|
|
3872
3872
|
}(Q), Ce(w.onOpen) && (Q.onOpen = w.onOpen), Ce(w.onClose) && (Q.onClose = w.onClose), Q.closeButton = C.closeButton, w.closeButton === !1 || Kn(w.closeButton) ? Q.closeButton = w.closeButton : w.closeButton === !0 && (Q.closeButton = !Kn(C.closeButton) || C.closeButton);
|
|
3873
3873
|
let te = h;
|
|
3874
3874
|
dt(h) && !ot(h.type) ? te = Sn(h, { closeToast: U, toastProps: Q, data: M }) : Ce(h) && (te = h({ closeToast: U, toastProps: Q, data: M })), C.limit && C.limit > 0 && A.count > C.limit && ee ? A.queue.push({ toastContent: te, toastProps: Q, staleId: Z }) : Zt(q) ? setTimeout(() => {
|
|
@@ -3948,23 +3948,23 @@ function BA(e) {
|
|
|
3948
3948
|
}
|
|
3949
3949
|
function Uo(e) {
|
|
3950
3950
|
let { closeToast: t, theme: n, ariaLabel: r = "close" } = e;
|
|
3951
|
-
return
|
|
3951
|
+
return ie.createElement("button", { className: `Toastify__close-button Toastify__close-button--${n}`, type: "button", onClick: (o) => {
|
|
3952
3952
|
o.stopPropagation(), t(o);
|
|
3953
|
-
}, "aria-label": r },
|
|
3953
|
+
}, "aria-label": r }, ie.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, ie.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
3954
3954
|
}
|
|
3955
3955
|
function UA(e) {
|
|
3956
3956
|
let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: d, progress: c, rtl: s, isIn: m, theme: b } = e;
|
|
3957
3957
|
const h = i || d && c === 0, f = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: h ? 0 : 1 };
|
|
3958
3958
|
d && (f.transform = `scaleX(${c})`);
|
|
3959
3959
|
const q = Qe("Toastify__progress-bar", d ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${b}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), Z = Ce(a) ? a({ rtl: s, type: o, defaultClassName: q }) : Qe(q, a);
|
|
3960
|
-
return
|
|
3960
|
+
return ie.createElement("div", { role: "progressbar", "aria-hidden": h ? "true" : "false", "aria-label": "notification timer", className: Z, style: f, [d && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: d && c < 1 ? null : () => {
|
|
3961
3961
|
m && r();
|
|
3962
3962
|
} });
|
|
3963
3963
|
}
|
|
3964
3964
|
const FA = (e) => {
|
|
3965
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = BA(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: c, hideProgressBar: s, closeToast: m, transition: b, position: h, className: f, style: q, bodyClassName: Z, bodyStyle: w, progressClassName: O, progressStyle: Y, updateId: M, role: C, progress: U, rtl: ee, toastId: Q, deleteToast:
|
|
3966
|
-
let
|
|
3967
|
-
return i === !1 || (
|
|
3965
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = BA(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: c, hideProgressBar: s, closeToast: m, transition: b, position: h, className: f, style: q, bodyClassName: Z, bodyStyle: w, progressClassName: O, progressStyle: Y, 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 = Ce(f) ? f({ rtl: ee, position: h, type: c, defaultClassName: W }) : Qe(W, f), p = !!U || !A, K = { closeToast: m, type: c, theme: x };
|
|
3966
|
+
let N = null;
|
|
3967
|
+
return i === !1 || (N = Ce(i) ? i(K) : dt(i) ? Sn(i, K) : Uo(K)), ie.createElement(b, { isIn: re, done: ae, position: h, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: Q, onClick: d, className: z, ...o, style: q, ref: r }, ie.createElement("div", { ...re && { role: C }, className: Ce(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)), N, ie.createElement(UA, { ...M && !p ? { key: `pb-${M}` } : {}, rtl: ee, theme: x, delay: A, isRunning: t, isIn: re, closeToast: m, hide: s, type: c, style: Y, className: O, controlledProgress: p, progress: U || 0 })));
|
|
3968
3968
|
}, un = function(e, t) {
|
|
3969
3969
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3970
3970
|
}, _A = ln(un("bounce", !0));
|
|
@@ -3979,11 +3979,11 @@ const Dn = Li((e, t) => {
|
|
|
3979
3979
|
}
|
|
3980
3980
|
return Ze(() => {
|
|
3981
3981
|
t && (t.current = r.current);
|
|
3982
|
-
}, []),
|
|
3982
|
+
}, []), ie.createElement("div", { ref: r, className: "Toastify", id: d }, n((s, m) => {
|
|
3983
3983
|
const b = m.length ? { ...a } : { ...a, pointerEvents: "none" };
|
|
3984
|
-
return
|
|
3984
|
+
return ie.createElement("div", { className: c(s), style: b, key: `container-${s}` }, m.map((h, f) => {
|
|
3985
3985
|
let { content: q, props: Z } = h;
|
|
3986
|
-
return
|
|
3986
|
+
return ie.createElement(FA, { ...Z, isIn: o(Z.toastId), style: { ...Z.style, "--nth": f + 1, "--len": m.length }, key: `toast-${Z.key}` }, q);
|
|
3987
3987
|
}));
|
|
3988
3988
|
}));
|
|
3989
3989
|
});
|
|
@@ -5481,7 +5481,7 @@ const ys = [
|
|
|
5481
5481
|
setSafariCopyLink: M,
|
|
5482
5482
|
isTest: C
|
|
5483
5483
|
}) => {
|
|
5484
|
-
const [U, ee] = B(!1), [Q,
|
|
5484
|
+
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, N] = B(!1), [y, g] = B(!1), [k, j] = B(!1);
|
|
5485
5485
|
let J = {
|
|
5486
5486
|
aarki: "html,copy",
|
|
5487
5487
|
adcolony: "copy,html",
|
|
@@ -5527,23 +5527,23 @@ const ys = [
|
|
|
5527
5527
|
};
|
|
5528
5528
|
const P = () => {
|
|
5529
5529
|
n(e);
|
|
5530
|
-
}, E = async (
|
|
5531
|
-
Bt(c,
|
|
5530
|
+
}, E = async (D, R) => (ee(!0), new Promise((ce, L) => {
|
|
5531
|
+
Bt(c, D, h, R, C).then((he) => {
|
|
5532
5532
|
ee(!1), ce(he);
|
|
5533
5533
|
}).catch((he) => {
|
|
5534
5534
|
ee(!1), m(he.message, he), L(he);
|
|
5535
5535
|
});
|
|
5536
|
-
})), G = async (
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
}).catch((
|
|
5540
|
-
m(
|
|
5536
|
+
})), G = async (D = !1) => {
|
|
5537
|
+
N(!0), Bt(c, o, h, "download", C).then((R) => {
|
|
5538
|
+
N(!1), W(!1);
|
|
5539
|
+
}).catch((R) => {
|
|
5540
|
+
m(R.message, R);
|
|
5541
5541
|
});
|
|
5542
5542
|
}, V = async () => {
|
|
5543
5543
|
j(!0);
|
|
5544
|
-
const
|
|
5545
|
-
let
|
|
5546
|
-
sn(
|
|
5544
|
+
const D = await gs(s, c, o, d);
|
|
5545
|
+
let R = `${b}/${D == null ? void 0 : D.url}`;
|
|
5546
|
+
sn(R) ? (Ot("Link Copied"), j(!1)) : M(R);
|
|
5547
5547
|
};
|
|
5548
5548
|
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
5549
5549
|
/* @__PURE__ */ u.jsxs(
|
|
@@ -5599,7 +5599,7 @@ const ys = [
|
|
|
5599
5599
|
}
|
|
5600
5600
|
}
|
|
5601
5601
|
),
|
|
5602
|
-
/* @__PURE__ */ u.jsx("div", { children: i && i.map((
|
|
5602
|
+
/* @__PURE__ */ u.jsx("div", { children: i && i.map((D) => D.network).includes(o) ? a ? /* @__PURE__ */ u.jsx(
|
|
5603
5603
|
"div",
|
|
5604
5604
|
{
|
|
5605
5605
|
style: {
|
|
@@ -5615,7 +5615,7 @@ const ys = [
|
|
|
5615
5615
|
},
|
|
5616
5616
|
children: /* @__PURE__ */ u.jsx(ps, { typeOfProduct: d })
|
|
5617
5617
|
}
|
|
5618
|
-
) : i.map((
|
|
5618
|
+
) : i.map((D) => /* @__PURE__ */ u.jsx(
|
|
5619
5619
|
"div",
|
|
5620
5620
|
{
|
|
5621
5621
|
style: {
|
|
@@ -5630,9 +5630,9 @@ const ys = [
|
|
|
5630
5630
|
justifyContent: "center",
|
|
5631
5631
|
alignItems: "center"
|
|
5632
5632
|
},
|
|
5633
|
-
children:
|
|
5633
|
+
children: D.network === o ? D.size.toString().slice(0, 5) + "Mb" : ""
|
|
5634
5634
|
},
|
|
5635
|
-
|
|
5635
|
+
D.network
|
|
5636
5636
|
)) : null })
|
|
5637
5637
|
]
|
|
5638
5638
|
}
|
|
@@ -5687,14 +5687,14 @@ const ys = [
|
|
|
5687
5687
|
{
|
|
5688
5688
|
className: "w-2/3 border-hover-" + d,
|
|
5689
5689
|
downloading: U,
|
|
5690
|
-
onClickDonwload: async (
|
|
5691
|
-
if (
|
|
5690
|
+
onClickDonwload: async (D) => {
|
|
5691
|
+
if (D.stopPropagation(), (o === "moloco" || o === "molocoV2") && Y.customer === "playableFactoryInternal") {
|
|
5692
5692
|
W(!0);
|
|
5693
5693
|
return;
|
|
5694
5694
|
} else {
|
|
5695
|
-
|
|
5696
|
-
const
|
|
5697
|
-
Z && Z.willSpendCredit ? (q(!0), p("download"), te(!0)) : d !== "Import" && (!
|
|
5695
|
+
ae("download");
|
|
5696
|
+
const R = h.iosUrl, ce = h.googleUrl;
|
|
5697
|
+
Z && Z.willSpendCredit ? (q(!0), p("download"), te(!0)) : d !== "Import" && (!R || !ce) ? (q(!0), H(!0)) : (H(!1), te(!1), await E(o, "download"));
|
|
5698
5698
|
}
|
|
5699
5699
|
},
|
|
5700
5700
|
children: [
|
|
@@ -5724,10 +5724,10 @@ const ys = [
|
|
|
5724
5724
|
Ur,
|
|
5725
5725
|
{
|
|
5726
5726
|
className: "w-1/3 border-hover-" + d,
|
|
5727
|
-
onClickDonwload: async (
|
|
5728
|
-
|
|
5729
|
-
const
|
|
5730
|
-
Z && (Z != null && Z.willSpendCredit) ? (p("copy"), q(!0), te(!0)) : d !== "Import" && (!
|
|
5727
|
+
onClickDonwload: async (D) => {
|
|
5728
|
+
D.stopPropagation(), ae("copyLink");
|
|
5729
|
+
const R = h.iosUrl, ce = h.googleUrl;
|
|
5730
|
+
Z && (Z != null && Z.willSpendCredit) ? (p("copy"), q(!0), te(!0)) : d !== "Import" && (!R || !ce) ? (q(!0), H(!0)) : (te(!1), H(!1), await E(o, "copy"));
|
|
5731
5731
|
},
|
|
5732
5732
|
disabled: O,
|
|
5733
5733
|
children: /* @__PURE__ */ u.jsx(vo, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -5739,10 +5739,10 @@ const ys = [
|
|
|
5739
5739
|
]
|
|
5740
5740
|
}
|
|
5741
5741
|
),
|
|
5742
|
-
|
|
5742
|
+
re && /* @__PURE__ */ u.jsx(
|
|
5743
5743
|
ei,
|
|
5744
5744
|
{
|
|
5745
|
-
creditConfirmType:
|
|
5745
|
+
creditConfirmType: z,
|
|
5746
5746
|
handleCopyLink: async () => {
|
|
5747
5747
|
H(!1), q(!1), await E(o, "copy");
|
|
5748
5748
|
},
|
|
@@ -5781,7 +5781,7 @@ const ys = [
|
|
|
5781
5781
|
handleDownload: G,
|
|
5782
5782
|
handleDownloadMolocoTest: V,
|
|
5783
5783
|
downloadingMoloco: K,
|
|
5784
|
-
donwloadintMolocoTest:
|
|
5784
|
+
donwloadintMolocoTest: k,
|
|
5785
5785
|
downloadingMolocoHtml: y
|
|
5786
5786
|
}
|
|
5787
5787
|
)
|
|
@@ -5996,6 +5996,11 @@ const ys = [
|
|
|
5996
5996
|
id: "45",
|
|
5997
5997
|
name: "adikteev",
|
|
5998
5998
|
imageSrc: "https://gearbox.playablefactory.com/adikteev.png"
|
|
5999
|
+
},
|
|
6000
|
+
{
|
|
6001
|
+
id: "46",
|
|
6002
|
+
name: "appier",
|
|
6003
|
+
imageSrc: "https://gearbox.playablefactory.com/appier.png"
|
|
5999
6004
|
}
|
|
6000
6005
|
], bs = ({ typeOfProduct: e }) => /* @__PURE__ */ u.jsx(
|
|
6001
6006
|
"div",
|
|
@@ -6113,23 +6118,23 @@ const ys = [
|
|
|
6113
6118
|
setSafariCopyLink: h,
|
|
6114
6119
|
isTest: f
|
|
6115
6120
|
}) => {
|
|
6116
|
-
const [q, Z] = B([]), [w, O] = B([]), [Y, M] = B(!1), [C, U] = B(""), [ee, Q] = B(!1), [
|
|
6117
|
-
const
|
|
6121
|
+
const [q, Z] = B([]), [w, O] = B([]), [Y, 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) => {
|
|
6122
|
+
const N = [...q];
|
|
6118
6123
|
if (q.includes(K)) {
|
|
6119
|
-
const y =
|
|
6120
|
-
|
|
6124
|
+
const y = N.findIndex((g) => g === K);
|
|
6125
|
+
N.splice(y, 1), Z(N);
|
|
6121
6126
|
} else
|
|
6122
|
-
|
|
6123
|
-
Ln.filter((y) => [...
|
|
6124
|
-
},
|
|
6125
|
-
const K = Ln.filter((
|
|
6126
|
-
Q(!0), ns(r, c, K).then((
|
|
6127
|
+
N.push(K), Z([...q, K]);
|
|
6128
|
+
Ln.filter((y) => [...N].includes(y.id)).map((y) => y.name);
|
|
6129
|
+
}, z = async () => {
|
|
6130
|
+
const K = Ln.filter((N) => [...q].includes(N.id)).map((N) => N.name);
|
|
6131
|
+
Q(!0), ns(r, c, K).then((N) => {
|
|
6127
6132
|
Q(!1);
|
|
6128
|
-
}).catch((
|
|
6129
|
-
Q(!1), A(
|
|
6133
|
+
}).catch((N) => {
|
|
6134
|
+
Q(!1), A(N.message, N);
|
|
6130
6135
|
});
|
|
6131
6136
|
}, p = async () => {
|
|
6132
|
-
c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (
|
|
6137
|
+
c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (re(!0), ne("download"), x(!0)) : (x(!1), await z());
|
|
6133
6138
|
};
|
|
6134
6139
|
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
6135
6140
|
/* @__PURE__ */ u.jsxs(
|
|
@@ -6138,7 +6143,7 @@ const ys = [
|
|
|
6138
6143
|
style: {
|
|
6139
6144
|
position: "relative",
|
|
6140
6145
|
flex: 1,
|
|
6141
|
-
overflowY:
|
|
6146
|
+
overflowY: ae ? "hidden" : "auto",
|
|
6142
6147
|
padding: "1.5rem",
|
|
6143
6148
|
paddingTop: "0"
|
|
6144
6149
|
},
|
|
@@ -6154,8 +6159,8 @@ const ys = [
|
|
|
6154
6159
|
padding: "0.75rem"
|
|
6155
6160
|
},
|
|
6156
6161
|
children: n && Ln.filter((K) => {
|
|
6157
|
-
var
|
|
6158
|
-
return t && ((
|
|
6162
|
+
var N;
|
|
6163
|
+
return t && ((N = t == null ? void 0 : t.networks) == null ? void 0 : N.length) > 0 ? t == null ? void 0 : t.networks.includes(K.name) : o === "Import" ? e == null ? void 0 : e.networks.filter((y) => y.status === "paid").some((y) => y.name === K.name) : e == null ? void 0 : e.networks.includes(K.name);
|
|
6159
6164
|
}).filter(
|
|
6160
6165
|
(K) => K.name === "voodoo" ? a.customer === "customer:20" : !0
|
|
6161
6166
|
).map((K) => /* @__PURE__ */ u.jsx(
|
|
@@ -6177,7 +6182,7 @@ const ys = [
|
|
|
6177
6182
|
urls: c,
|
|
6178
6183
|
game: s,
|
|
6179
6184
|
creditDownload: t,
|
|
6180
|
-
setIsConfirmActive:
|
|
6185
|
+
setIsConfirmActive: re,
|
|
6181
6186
|
getDownloadCount: m,
|
|
6182
6187
|
disabled: b,
|
|
6183
6188
|
user: a,
|
|
@@ -6223,10 +6228,10 @@ const ys = [
|
|
|
6223
6228
|
handleCopyLink: async () => {
|
|
6224
6229
|
},
|
|
6225
6230
|
download: async () => {
|
|
6226
|
-
x(!1),
|
|
6231
|
+
x(!1), re(!1), await z();
|
|
6227
6232
|
},
|
|
6228
6233
|
onClose: () => {
|
|
6229
|
-
x(!1),
|
|
6234
|
+
x(!1), re(!1);
|
|
6230
6235
|
},
|
|
6231
6236
|
getDownloadCount: m
|
|
6232
6237
|
}
|
|
@@ -6302,7 +6307,7 @@ const Os = [
|
|
|
6302
6307
|
setFileSize: m,
|
|
6303
6308
|
setSafariCopyLink: b
|
|
6304
6309
|
}) => {
|
|
6305
|
-
const [h, f] = B(null), [q, Z] = B(null), [w, O] = B(null), [Y, M] = B(!1), [C, U] = B("Loading..."), [ee, Q] = B("Loading..."), [
|
|
6310
|
+
const [h, f] = B(null), [q, Z] = B(null), [w, O] = B(null), [Y, M] = B(!1), [C, U] = B("Loading..."), [ee, Q] = B("Loading..."), [ae, re] = B(!0), [te, ne] = B(window.innerWidth), [H, x] = B(!1);
|
|
6306
6311
|
Ze(() => {
|
|
6307
6312
|
const g = () => {
|
|
6308
6313
|
ne(window.innerWidth);
|
|
@@ -6315,11 +6320,11 @@ const Os = [
|
|
|
6315
6320
|
M(!0);
|
|
6316
6321
|
const g = await ws(e, i);
|
|
6317
6322
|
return g != null && g.networks || (g.networks = Os), f(g), g;
|
|
6318
|
-
},
|
|
6323
|
+
}, z = (g) => {
|
|
6319
6324
|
U(g);
|
|
6320
6325
|
}, p = (g) => {
|
|
6321
6326
|
Q(g);
|
|
6322
|
-
}, K = async (g,
|
|
6327
|
+
}, K = async (g, k) => {
|
|
6323
6328
|
var j, J;
|
|
6324
6329
|
try {
|
|
6325
6330
|
let P;
|
|
@@ -6333,18 +6338,18 @@ const Os = [
|
|
|
6333
6338
|
U(g.iosUrl), Q(g.googleUrl), M(!1);
|
|
6334
6339
|
return;
|
|
6335
6340
|
}
|
|
6336
|
-
if (
|
|
6337
|
-
let G = await fetch(c + "/" +
|
|
6338
|
-
(
|
|
6341
|
+
if (k && k.html) {
|
|
6342
|
+
let G = await fetch(c + "/" + k.html).then(
|
|
6343
|
+
(R) => R.text()
|
|
6339
6344
|
);
|
|
6340
6345
|
const V = ((j = G.match(
|
|
6341
6346
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6342
6347
|
)) == null ? void 0 : j.at(1)) || "";
|
|
6343
6348
|
U(V);
|
|
6344
|
-
const
|
|
6349
|
+
const D = ((J = G.match(
|
|
6345
6350
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6346
6351
|
)) == null ? void 0 : J.at(1)) || "";
|
|
6347
|
-
Q(
|
|
6352
|
+
Q(D), M(!1);
|
|
6348
6353
|
} else
|
|
6349
6354
|
Q(""), U(""), M(!1);
|
|
6350
6355
|
} else if (r === "Flex") {
|
|
@@ -6358,7 +6363,7 @@ const Os = [
|
|
|
6358
6363
|
} catch (P) {
|
|
6359
6364
|
d(P.response.data.error.msg);
|
|
6360
6365
|
}
|
|
6361
|
-
},
|
|
6366
|
+
}, N = async () => {
|
|
6362
6367
|
M(!0);
|
|
6363
6368
|
let g;
|
|
6364
6369
|
r === "Flex" ? g = await xs({ _id: t }, i) : r === "Ready" && (g = await Ss({ _id: t }, i)), g && (["admin", "pm", "tester"].includes(a.role) ? O({
|
|
@@ -6367,14 +6372,18 @@ const Os = [
|
|
|
6367
6372
|
}) : O(g)), M(!1);
|
|
6368
6373
|
}, y = async () => await Ks(n, i);
|
|
6369
6374
|
return Ze(() => {
|
|
6370
|
-
o || (f(null), Z(null), O(null), m(null)), o && (r === "Playable"
|
|
6375
|
+
o || (f(null), Z(null), O(null), m(null)), o && (r === "Playable" ? (W().then((g) => {
|
|
6371
6376
|
K(null, g);
|
|
6372
|
-
}),
|
|
6373
|
-
|
|
6374
|
-
|
|
6377
|
+
}), re(!1)) : r === "Ready" ? N().then((g) => {
|
|
6378
|
+
W().then((k) => {
|
|
6379
|
+
K(null, k), re(!1);
|
|
6380
|
+
});
|
|
6381
|
+
}) : r === "Flex" ? N().then((g) => {
|
|
6382
|
+
re(!1), y().then((k) => {
|
|
6383
|
+
o && (K(k, null), re(!1), Z(k));
|
|
6375
6384
|
});
|
|
6376
6385
|
}) : r === "Import" && Ls(t, i).then((g) => {
|
|
6377
|
-
console.log(g), f(g), U(g.iosUrl || ""), Q(g.googleUrl || ""), M(!1),
|
|
6386
|
+
console.log(g), f(g), U(g.iosUrl || ""), Q(g.googleUrl || ""), M(!1), re(!1);
|
|
6378
6387
|
}));
|
|
6379
6388
|
}, [n, e, t, o]), /* @__PURE__ */ u.jsxs(
|
|
6380
6389
|
"div",
|
|
@@ -6397,9 +6406,9 @@ const Os = [
|
|
|
6397
6406
|
typeOfProduct: r,
|
|
6398
6407
|
fileSize: s,
|
|
6399
6408
|
urls: { iosUrl: C, googleUrl: ee },
|
|
6400
|
-
handleIosChange:
|
|
6409
|
+
handleIosChange: z,
|
|
6401
6410
|
handleGoogleChange: p,
|
|
6402
|
-
disabled:
|
|
6411
|
+
disabled: ae,
|
|
6403
6412
|
api: i,
|
|
6404
6413
|
creditDownload: w,
|
|
6405
6414
|
user: a,
|
|
@@ -6433,8 +6442,8 @@ const Os = [
|
|
|
6433
6442
|
fetchFileUrl: c,
|
|
6434
6443
|
urls: { iosUrl: C, googleUrl: ee },
|
|
6435
6444
|
game: q,
|
|
6436
|
-
getDownloadCount:
|
|
6437
|
-
disabled:
|
|
6445
|
+
getDownloadCount: N,
|
|
6446
|
+
disabled: ae,
|
|
6438
6447
|
setSafariCopyLink: b,
|
|
6439
6448
|
isTest: H
|
|
6440
6449
|
}
|
|
@@ -6897,9 +6906,9 @@ vl.default.subscribe(Il);
|
|
|
6897
6906
|
});
|
|
6898
6907
|
var n = Object.assign || function(x) {
|
|
6899
6908
|
for (var W = 1; W < arguments.length; W++) {
|
|
6900
|
-
var
|
|
6901
|
-
for (var p in
|
|
6902
|
-
Object.prototype.hasOwnProperty.call(
|
|
6909
|
+
var z = arguments[W];
|
|
6910
|
+
for (var p in z)
|
|
6911
|
+
Object.prototype.hasOwnProperty.call(z, p) && (x[p] = z[p]);
|
|
6903
6912
|
}
|
|
6904
6913
|
return x;
|
|
6905
6914
|
}, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(x) {
|
|
@@ -6907,23 +6916,23 @@ vl.default.subscribe(Il);
|
|
|
6907
6916
|
} : function(x) {
|
|
6908
6917
|
return x && typeof Symbol == "function" && x.constructor === Symbol && x !== Symbol.prototype ? "symbol" : typeof x;
|
|
6909
6918
|
}, o = function() {
|
|
6910
|
-
function x(W,
|
|
6911
|
-
for (var p = 0; p <
|
|
6912
|
-
var K =
|
|
6919
|
+
function x(W, z) {
|
|
6920
|
+
for (var p = 0; p < z.length; p++) {
|
|
6921
|
+
var K = z[p];
|
|
6913
6922
|
K.enumerable = K.enumerable || !1, K.configurable = !0, "value" in K && (K.writable = !0), Object.defineProperty(W, K.key, K);
|
|
6914
6923
|
}
|
|
6915
6924
|
}
|
|
6916
|
-
return function(W,
|
|
6917
|
-
return
|
|
6925
|
+
return function(W, z, p) {
|
|
6926
|
+
return z && x(W.prototype, z), p && x(W, p), W;
|
|
6918
6927
|
};
|
|
6919
|
-
}(), i =
|
|
6928
|
+
}(), i = ie, a = en, A = C(a), d = ze, c = M(d), s = Xs, m = C(s), b = Ye, h = M(b), f = ft, q = M(f), Z = ke, w = C(Z), O = ht, Y = C(O);
|
|
6920
6929
|
function M(x) {
|
|
6921
6930
|
if (x && x.__esModule)
|
|
6922
6931
|
return x;
|
|
6923
6932
|
var W = {};
|
|
6924
6933
|
if (x != null)
|
|
6925
|
-
for (var
|
|
6926
|
-
Object.prototype.hasOwnProperty.call(x,
|
|
6934
|
+
for (var z in x)
|
|
6935
|
+
Object.prototype.hasOwnProperty.call(x, z) && (W[z] = x[z]);
|
|
6927
6936
|
return W.default = x, W;
|
|
6928
6937
|
}
|
|
6929
6938
|
function C(x) {
|
|
@@ -6943,25 +6952,25 @@ vl.default.subscribe(Il);
|
|
|
6943
6952
|
throw new TypeError("Super expression must either be null or a function, not " + typeof W);
|
|
6944
6953
|
x.prototype = Object.create(W && W.prototype, { constructor: { value: x, enumerable: !1, writable: !0, configurable: !0 } }), W && (Object.setPrototypeOf ? Object.setPrototypeOf(x, W) : x.__proto__ = W);
|
|
6945
6954
|
}
|
|
6946
|
-
var
|
|
6955
|
+
var ae = {
|
|
6947
6956
|
overlay: "ReactModal__Overlay",
|
|
6948
6957
|
content: "ReactModal__Content"
|
|
6949
|
-
},
|
|
6958
|
+
}, re = function(W) {
|
|
6950
6959
|
return W.code === "Tab" || W.keyCode === 9;
|
|
6951
6960
|
}, te = function(W) {
|
|
6952
6961
|
return W.code === "Escape" || W.keyCode === 27;
|
|
6953
6962
|
}, ne = 0, H = function(x) {
|
|
6954
6963
|
Q(W, x);
|
|
6955
|
-
function W(
|
|
6964
|
+
function W(z) {
|
|
6956
6965
|
U(this, W);
|
|
6957
|
-
var p = ee(this, (W.__proto__ || Object.getPrototypeOf(W)).call(this,
|
|
6966
|
+
var p = ee(this, (W.__proto__ || Object.getPrototypeOf(W)).call(this, z));
|
|
6958
6967
|
return p.setOverlayRef = function(K) {
|
|
6959
6968
|
p.overlay = K, p.props.overlayRef && p.props.overlayRef(K);
|
|
6960
6969
|
}, p.setContentRef = function(K) {
|
|
6961
6970
|
p.content = K, p.props.contentRef && p.props.contentRef(K);
|
|
6962
6971
|
}, p.afterClose = function() {
|
|
6963
|
-
var K = p.props,
|
|
6964
|
-
|
|
6972
|
+
var K = p.props, N = K.appElement, y = K.ariaHideApp, g = K.htmlOpenClassName, k = K.bodyOpenClassName, j = K.parentSelector, J = j && j().ownerDocument || document;
|
|
6973
|
+
k && q.remove(J.body, k), g && q.remove(J.getElementsByTagName("html")[0], g), y && ne > 0 && (ne -= 1, ne === 0 && h.show(N)), p.props.shouldFocusAfterRender && (p.props.shouldReturnFocusAfterClose ? (c.returnFocus(p.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), p.props.onAfterClose && p.props.onAfterClose(), Y.default.deregister(p);
|
|
6965
6974
|
}, p.open = function() {
|
|
6966
6975
|
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() {
|
|
6967
6976
|
p.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6988,7 +6997,7 @@ vl.default.subscribe(Il);
|
|
|
6988
6997
|
closesAt: null
|
|
6989
6998
|
}, p.afterClose);
|
|
6990
6999
|
}, p.handleKeyDown = function(K) {
|
|
6991
|
-
|
|
7000
|
+
re(K) && (0, m.default)(p.content, K), p.props.shouldCloseOnEsc && te(K) && (K.stopPropagation(), p.requestClose(K));
|
|
6992
7001
|
}, p.handleOverlayOnClick = function(K) {
|
|
6993
7002
|
p.shouldClose === null && (p.shouldClose = !0), p.shouldClose && p.props.shouldCloseOnOverlayClick && (p.ownerHandlesClose() ? p.requestClose(K) : p.focusContent()), p.shouldClose = null;
|
|
6994
7003
|
}, p.handleContentOnMouseUp = function() {
|
|
@@ -7007,16 +7016,16 @@ vl.default.subscribe(Il);
|
|
|
7007
7016
|
return !p.state.isOpen && !p.state.beforeClose;
|
|
7008
7017
|
}, p.contentHasFocus = function() {
|
|
7009
7018
|
return document.activeElement === p.content || p.content.contains(document.activeElement);
|
|
7010
|
-
}, p.buildClassName = function(K,
|
|
7011
|
-
var y = (typeof
|
|
7012
|
-
base:
|
|
7013
|
-
afterOpen:
|
|
7014
|
-
beforeClose:
|
|
7019
|
+
}, p.buildClassName = function(K, N) {
|
|
7020
|
+
var y = (typeof N > "u" ? "undefined" : r(N)) === "object" ? N : {
|
|
7021
|
+
base: ae[K],
|
|
7022
|
+
afterOpen: ae[K] + "--after-open",
|
|
7023
|
+
beforeClose: ae[K] + "--before-close"
|
|
7015
7024
|
}, g = y.base;
|
|
7016
|
-
return p.state.afterOpen && (g = g + " " + y.afterOpen), p.state.beforeClose && (g = g + " " + y.beforeClose), typeof
|
|
7017
|
-
}, p.attributesFromObject = function(K,
|
|
7018
|
-
return Object.keys(
|
|
7019
|
-
return y[K + "-" + g] =
|
|
7025
|
+
return p.state.afterOpen && (g = g + " " + y.afterOpen), p.state.beforeClose && (g = g + " " + y.beforeClose), typeof N == "string" && N ? g + " " + N : g;
|
|
7026
|
+
}, p.attributesFromObject = function(K, N) {
|
|
7027
|
+
return Object.keys(N).reduce(function(y, g) {
|
|
7028
|
+
return y[K + "-" + g] = N[g], y;
|
|
7020
7029
|
}, {});
|
|
7021
7030
|
}, p.state = {
|
|
7022
7031
|
afterOpen: !1,
|
|
@@ -7041,14 +7050,14 @@ vl.default.subscribe(Il);
|
|
|
7041
7050
|
}, {
|
|
7042
7051
|
key: "beforeOpen",
|
|
7043
7052
|
value: function() {
|
|
7044
|
-
var p = this.props, K = p.appElement,
|
|
7045
|
-
g && q.add(j.body, g), y && q.add(j.getElementsByTagName("html")[0], y),
|
|
7053
|
+
var p = this.props, K = p.appElement, N = p.ariaHideApp, y = p.htmlOpenClassName, g = p.bodyOpenClassName, k = p.parentSelector, j = k && k().ownerDocument || document;
|
|
7054
|
+
g && q.add(j.body, g), y && q.add(j.getElementsByTagName("html")[0], y), N && (ne += 1, h.hide(K)), Y.default.register(this);
|
|
7046
7055
|
}
|
|
7047
7056
|
// Don't steal focus from inner elements
|
|
7048
7057
|
}, {
|
|
7049
7058
|
key: "render",
|
|
7050
7059
|
value: function() {
|
|
7051
|
-
var p = this.props, K = p.id,
|
|
7060
|
+
var p = this.props, K = p.id, N = p.className, y = p.overlayClassName, g = p.defaultStyles, k = p.children, j = N ? {} : g.content, J = y ? {} : g.overlay;
|
|
7052
7061
|
if (this.shouldBeClosed())
|
|
7053
7062
|
return null;
|
|
7054
7063
|
var P = {
|
|
@@ -7061,7 +7070,7 @@ vl.default.subscribe(Il);
|
|
|
7061
7070
|
id: K,
|
|
7062
7071
|
ref: this.setContentRef,
|
|
7063
7072
|
style: n({}, j, this.props.style.content),
|
|
7064
|
-
className: this.buildClassName("content",
|
|
7073
|
+
className: this.buildClassName("content", N),
|
|
7065
7074
|
tabIndex: "-1",
|
|
7066
7075
|
onKeyDown: this.handleKeyDown,
|
|
7067
7076
|
onMouseDown: this.handleContentOnMouseDown,
|
|
@@ -7071,7 +7080,7 @@ vl.default.subscribe(Il);
|
|
|
7071
7080
|
"aria-label": this.props.contentLabel
|
|
7072
7081
|
}, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7073
7082
|
"data-testid": this.props.testId
|
|
7074
|
-
}), G = this.props.contentElement(E,
|
|
7083
|
+
}), G = this.props.contentElement(E, k);
|
|
7075
7084
|
return this.props.overlayElement(P, G);
|
|
7076
7085
|
}
|
|
7077
7086
|
}]), W;
|
|
@@ -7207,7 +7216,7 @@ var $r = Object.assign || function(e) {
|
|
|
7207
7216
|
return function(t, n, r) {
|
|
7208
7217
|
return n && e(t.prototype, n), r && e(t, r), t;
|
|
7209
7218
|
};
|
|
7210
|
-
}(), li =
|
|
7219
|
+
}(), li = ie, Ft = Et(li), Ll = Ei, _t = Et(Ll), Sl = en, X = Et(Sl), Ol = wl, eo = Et(Ol), El = Ye, kl = Yl(El), Pe = ke, to = Et(Pe), zl = Wl;
|
|
7211
7220
|
function Yl(e) {
|
|
7212
7221
|
if (e && e.__esModule)
|
|
7213
7222
|
return e;
|
|
@@ -7634,19 +7643,19 @@ const Gl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
|
|
|
7634
7643
|
fetchFileUrl: b,
|
|
7635
7644
|
copyLinkUrl: h
|
|
7636
7645
|
}) => {
|
|
7637
|
-
const [f, q] = B(window.innerWidth), [Z, w] = B(!1), [O, Y] = B(s), [M, C] = B(!1), [U, ee] = B(!0), [Q,
|
|
7646
|
+
const [f, q] = B(window.innerWidth), [Z, w] = B(!1), [O, Y] = B(s), [M, C] = B(!1), [U, ee] = B(!0), [Q, ae] = B(null), [re, te] = B("");
|
|
7638
7647
|
rs(a, A, te, b);
|
|
7639
7648
|
const ne = (x) => {
|
|
7640
7649
|
oo({ _id: x, network: "applovin", typeOfProduct: a }, A).then((W) => {
|
|
7641
|
-
W.size >= 5 ? C(!0) : C(!1),
|
|
7650
|
+
W.size >= 5 ? C(!0) : C(!1), ae(W.size);
|
|
7642
7651
|
}).finally(() => {
|
|
7643
7652
|
ee(!1);
|
|
7644
7653
|
});
|
|
7645
7654
|
}, H = async () => {
|
|
7646
7655
|
Bt(n, "default", null, null, !1).then((x) => {
|
|
7647
|
-
w(!0), Y(b + "/" + x), a === "Flex" ? ne(n) : (ee(!1), a === "Playable" && oo({ _id: n, network: "applovin", typeOfProduct: a }, A).then(
|
|
7656
|
+
w(!0), Y(b + "/" + x), a === "Flex" || a === "Ready" ? ne(n) : (ee(!1), a === "Playable" && oo({ _id: n, network: "applovin", typeOfProduct: a }, A).then(
|
|
7648
7657
|
(W) => {
|
|
7649
|
-
console.log(W),
|
|
7658
|
+
console.log(W), ae(W.size);
|
|
7650
7659
|
}
|
|
7651
7660
|
));
|
|
7652
7661
|
});
|
|
@@ -7850,19 +7859,19 @@ const Gl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
|
|
|
7850
7859
|
handleDownloadError: m,
|
|
7851
7860
|
fetchFileUrl: b,
|
|
7852
7861
|
fileSize: Q,
|
|
7853
|
-
setFileSize:
|
|
7862
|
+
setFileSize: ae,
|
|
7854
7863
|
setSafariCopyLink: te
|
|
7855
7864
|
}
|
|
7856
7865
|
)
|
|
7857
7866
|
] }),
|
|
7858
7867
|
/* @__PURE__ */ u.jsx(Dn, {}),
|
|
7859
|
-
|
|
7868
|
+
re && /* @__PURE__ */ u.jsx(
|
|
7860
7869
|
Hl,
|
|
7861
7870
|
{
|
|
7862
7871
|
onClose: () => {
|
|
7863
|
-
sn(
|
|
7872
|
+
sn(re), te("");
|
|
7864
7873
|
},
|
|
7865
|
-
url:
|
|
7874
|
+
url: re
|
|
7866
7875
|
}
|
|
7867
7876
|
)
|
|
7868
7877
|
]
|