gearboxdownloadmodal 5.0.50 → 5.0.52
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 +280 -273
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +16 -16
- package/dist/index.umd.js.map +1 -1
- package/dist/src/utils/color.d.ts +10 -5
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -41,14 +41,14 @@ function Oo() {
|
|
|
41
41
|
wn = 1;
|
|
42
42
|
var e = oe, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
43
43
|
function a(A, c, d) {
|
|
44
|
-
var s, m = {},
|
|
45
|
-
d !== void 0 && (
|
|
44
|
+
var s, m = {}, q = null, h = null;
|
|
45
|
+
d !== void 0 && (q = "" + d), c.key !== void 0 && (q = "" + c.key), c.ref !== void 0 && (h = c.ref);
|
|
46
46
|
for (s in c)
|
|
47
47
|
n.call(c, s) && !o.hasOwnProperty(s) && (m[s] = c[s]);
|
|
48
48
|
if (A && A.defaultProps)
|
|
49
49
|
for (s in c = A.defaultProps, c)
|
|
50
50
|
m[s] === void 0 && (m[s] = c[s]);
|
|
51
|
-
return { $$typeof: t, type: A, key:
|
|
51
|
+
return { $$typeof: t, type: A, key: q, ref: h, props: m, _owner: i.current };
|
|
52
52
|
}
|
|
53
53
|
return Et.Fragment = r, Et.jsx = a, Et.jsxs = a, Et;
|
|
54
54
|
}
|
|
@@ -65,11 +65,11 @@ var St = {};
|
|
|
65
65
|
var Kn;
|
|
66
66
|
function Wo() {
|
|
67
67
|
return Kn || (Kn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
68
|
-
var e = oe, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"),
|
|
68
|
+
var e = oe, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, g = "@@iterator";
|
|
69
69
|
function C(l) {
|
|
70
70
|
if (l === null || typeof l != "object")
|
|
71
71
|
return null;
|
|
72
|
-
var I = p && l[p] || l[
|
|
72
|
+
var I = p && l[p] || l[g];
|
|
73
73
|
return typeof I == "function" ? I : null;
|
|
74
74
|
}
|
|
75
75
|
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -93,7 +93,7 @@ function Wo() {
|
|
|
93
93
|
var K = !1, b = !1, X = !1, U = !1, F = !1, se;
|
|
94
94
|
se = Symbol.for("react.module.reference");
|
|
95
95
|
function le(l) {
|
|
96
|
-
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || F || l === i || l === d || l === s || U || l === h || K || b || X || typeof l == "object" && l !== null && (l.$$typeof ===
|
|
96
|
+
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || F || l === i || l === d || l === s || U || l === h || K || b || X || typeof l == "object" && l !== null && (l.$$typeof === q || l.$$typeof === m || l.$$typeof === a || l.$$typeof === A || l.$$typeof === c || // This needs to include all possible module reference object
|
|
97
97
|
// types supported by any Flight configuration anywhere since
|
|
98
98
|
// we don't know which Flight build this will end up being used
|
|
99
99
|
// with.
|
|
@@ -143,7 +143,7 @@ function Wo() {
|
|
|
143
143
|
case m:
|
|
144
144
|
var R = l.displayName || null;
|
|
145
145
|
return R !== null ? R : S(l.type) || "Memo";
|
|
146
|
-
case
|
|
146
|
+
case q: {
|
|
147
147
|
var ie = l, me = ie._payload, re = ie._init;
|
|
148
148
|
try {
|
|
149
149
|
return S(re(me));
|
|
@@ -285,25 +285,25 @@ function Wo() {
|
|
|
285
285
|
if (Xe && R && typeof Xe.stack == "string") {
|
|
286
286
|
for (var te = Xe.stack.split(`
|
|
287
287
|
`), Ie = R.stack.split(`
|
|
288
|
-
`), he = te.length - 1,
|
|
289
|
-
|
|
290
|
-
for (; he >= 1 &&
|
|
291
|
-
if (te[he] !== Ie[
|
|
292
|
-
if (he !== 1 ||
|
|
288
|
+
`), he = te.length - 1, ge = Ie.length - 1; he >= 1 && ge >= 0 && te[he] !== Ie[ge]; )
|
|
289
|
+
ge--;
|
|
290
|
+
for (; he >= 1 && ge >= 0; he--, ge--)
|
|
291
|
+
if (te[he] !== Ie[ge]) {
|
|
292
|
+
if (he !== 1 || ge !== 1)
|
|
293
293
|
do
|
|
294
|
-
if (he--,
|
|
294
|
+
if (he--, ge--, ge < 0 || te[he] !== Ie[ge]) {
|
|
295
295
|
var Me = `
|
|
296
296
|
` + te[he].replace(" at new ", " at ");
|
|
297
297
|
return l.displayName && Me.includes("<anonymous>") && (Me = Me.replace("<anonymous>", l.displayName)), typeof l == "function" && V.set(l, Me), Me;
|
|
298
298
|
}
|
|
299
|
-
while (he >= 1 &&
|
|
299
|
+
while (he >= 1 && ge >= 0);
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
304
|
_ = !1, T.current = me, P(), Error.prepareStackTrace = ie;
|
|
305
305
|
}
|
|
306
|
-
var
|
|
306
|
+
var gt = l ? l.displayName || l.name : "", xn = gt ? Q(gt) : "";
|
|
307
307
|
return typeof l == "function" && V.set(l, xn), xn;
|
|
308
308
|
}
|
|
309
309
|
function xe(l, I, E) {
|
|
@@ -332,7 +332,7 @@ function Wo() {
|
|
|
332
332
|
return xe(l.render);
|
|
333
333
|
case m:
|
|
334
334
|
return B(l.type, I, E);
|
|
335
|
-
case
|
|
335
|
+
case q: {
|
|
336
336
|
var R = l, ie = R._payload, me = R._init;
|
|
337
337
|
try {
|
|
338
338
|
return B(me(ie), I, E);
|
|
@@ -398,8 +398,8 @@ function Wo() {
|
|
|
398
398
|
ref: !0,
|
|
399
399
|
__self: !0,
|
|
400
400
|
__source: !0
|
|
401
|
-
},
|
|
402
|
-
|
|
401
|
+
}, gn, qn, qr;
|
|
402
|
+
qr = {};
|
|
403
403
|
function uo(l) {
|
|
404
404
|
if (ce.call(l, "ref")) {
|
|
405
405
|
var I = Object.getOwnPropertyDescriptor(l, "ref").get;
|
|
@@ -419,13 +419,13 @@ function Wo() {
|
|
|
419
419
|
function mo(l, I) {
|
|
420
420
|
if (typeof l.ref == "string" && Lt.current && I && Lt.current.stateNode !== I) {
|
|
421
421
|
var E = S(Lt.current.type);
|
|
422
|
-
|
|
422
|
+
qr[E] || (M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', S(Lt.current.type), l.ref), qr[E] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
function po(l, I) {
|
|
426
426
|
{
|
|
427
427
|
var E = function() {
|
|
428
|
-
|
|
428
|
+
gn || (gn = !0, M("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
429
429
|
};
|
|
430
430
|
E.isReactWarning = !0, Object.defineProperty(l, "key", {
|
|
431
431
|
get: E,
|
|
@@ -436,7 +436,7 @@ function Wo() {
|
|
|
436
436
|
function fo(l, I) {
|
|
437
437
|
{
|
|
438
438
|
var E = function() {
|
|
439
|
-
|
|
439
|
+
qn || (qn = !0, M("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
440
440
|
};
|
|
441
441
|
E.isReactWarning = !0, Object.defineProperty(l, "ref", {
|
|
442
442
|
get: E,
|
|
@@ -473,7 +473,7 @@ function Wo() {
|
|
|
473
473
|
value: ie
|
|
474
474
|
}), Object.freeze && (Object.freeze(te.props), Object.freeze(te)), te;
|
|
475
475
|
};
|
|
476
|
-
function
|
|
476
|
+
function go(l, I, E, R, ie) {
|
|
477
477
|
{
|
|
478
478
|
var me, re = {}, te = null, Ie = null;
|
|
479
479
|
E !== void 0 && (hn(E), te = "" + E), co(I) && (hn(I.key), te = "" + I.key), uo(I) && (Ie = I.ref, mo(I, ie));
|
|
@@ -485,8 +485,8 @@ function Wo() {
|
|
|
485
485
|
re[me] === void 0 && (re[me] = he[me]);
|
|
486
486
|
}
|
|
487
487
|
if (te || Ie) {
|
|
488
|
-
var
|
|
489
|
-
te && po(re,
|
|
488
|
+
var ge = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
489
|
+
te && po(re, ge), Ie && fo(re, ge);
|
|
490
490
|
}
|
|
491
491
|
return ho(l, te, Ie, ie, R, Lt.current, re);
|
|
492
492
|
}
|
|
@@ -516,7 +516,7 @@ Check the render method of \`` + l + "`.";
|
|
|
516
516
|
return "";
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function qo(l) {
|
|
520
520
|
{
|
|
521
521
|
if (l !== void 0) {
|
|
522
522
|
var I = l.fileName.replace(/^.*[\\\/]/, ""), E = l.lineNumber;
|
|
@@ -615,28 +615,28 @@ Check the top-level render call using <` + E + ">.");
|
|
|
615
615
|
if (!re) {
|
|
616
616
|
var te = "";
|
|
617
617
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (te += " 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 Ie =
|
|
618
|
+
var Ie = qo(ie);
|
|
619
619
|
Ie ? te += Ie : te += yn();
|
|
620
620
|
var he;
|
|
621
621
|
l === null ? he = "null" : fe(l) ? he = "array" : l !== void 0 && l.$$typeof === t ? (he = "<" + (S(l.type) || "Unknown") + " />", te = " Did you accidentally export a JSX literal instead of a component?") : he = typeof l, M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", he, te);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
if (
|
|
625
|
-
return
|
|
623
|
+
var ge = go(l, I, E, ie, me);
|
|
624
|
+
if (ge == null)
|
|
625
|
+
return ge;
|
|
626
626
|
if (re) {
|
|
627
627
|
var Me = I.children;
|
|
628
628
|
if (Me !== void 0)
|
|
629
629
|
if (R)
|
|
630
630
|
if (fe(Me)) {
|
|
631
|
-
for (var
|
|
632
|
-
Zn(Me[
|
|
631
|
+
for (var gt = 0; gt < Me.length; gt++)
|
|
632
|
+
Zn(Me[gt], l);
|
|
633
633
|
Object.freeze && Object.freeze(Me);
|
|
634
634
|
} else
|
|
635
635
|
M("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
636
636
|
else
|
|
637
637
|
Zn(Me, l);
|
|
638
638
|
}
|
|
639
|
-
return l === n ? bo(
|
|
639
|
+
return l === n ? bo(ge) : yo(ge), ge;
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
642
|
function Co(l, I, E) {
|
|
@@ -1214,7 +1214,7 @@ var fi = Xt, ze = ui, Ln = fi, To = pi, $e = {
|
|
|
1214
1214
|
var m = Math.abs(100 * s / t / t - 50) / 5;
|
|
1215
1215
|
return r += m * 10, r;
|
|
1216
1216
|
}
|
|
1217
|
-
}, Go = ye, Ro = Jo, hi = Do,
|
|
1217
|
+
}, Go = ye, Ro = Jo, hi = Do, gi = No, nt = Go, Qo = fi;
|
|
1218
1218
|
function Pe(e, t) {
|
|
1219
1219
|
this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
|
|
1220
1220
|
}
|
|
@@ -1235,7 +1235,7 @@ We.make = function() {
|
|
|
1235
1235
|
if (this.typeNumber < 1) {
|
|
1236
1236
|
var e = 1;
|
|
1237
1237
|
for (e = 1; e < 40; e++) {
|
|
1238
|
-
for (var t = hi.getRSBlocks(e, this.errorCorrectLevel), r = new
|
|
1238
|
+
for (var t = hi.getRSBlocks(e, this.errorCorrectLevel), r = new gi(), n = 0, i = 0; i < t.length; i++)
|
|
1239
1239
|
n += t[i].dataCount;
|
|
1240
1240
|
for (var i = 0; i < this.dataList.length; i++) {
|
|
1241
1241
|
var o = this.dataList[i];
|
|
@@ -1337,7 +1337,7 @@ We.mapData = function(e, t) {
|
|
|
1337
1337
|
Pe.PAD0 = 236;
|
|
1338
1338
|
Pe.PAD1 = 17;
|
|
1339
1339
|
Pe.createData = function(e, t, r) {
|
|
1340
|
-
for (var n = hi.getRSBlocks(e, t), i = new
|
|
1340
|
+
for (var n = hi.getRSBlocks(e, t), i = new gi(), o = 0; o < r.length; o++) {
|
|
1341
1341
|
var a = r[o];
|
|
1342
1342
|
i.put(a.mode, 4), i.put(a.getLength(), nt.getLengthInBits(a.mode, e)), a.write(i);
|
|
1343
1343
|
}
|
|
@@ -1358,16 +1358,16 @@ Pe.createBytes = function(e, t) {
|
|
|
1358
1358
|
for (var s = 0; s < o[A].length; s++)
|
|
1359
1359
|
o[A][s] = 255 & e.buffer[s + r];
|
|
1360
1360
|
r += c;
|
|
1361
|
-
var m = nt.getErrorCorrectPolynomial(d),
|
|
1361
|
+
var m = nt.getErrorCorrectPolynomial(d), q = new Qo(o[A], m.getLength() - 1), h = q.mod(m);
|
|
1362
1362
|
a[A] = new Array(m.getLength() - 1);
|
|
1363
1363
|
for (var s = 0; s < a[A].length; s++) {
|
|
1364
1364
|
var p = s + h.getLength() - a[A].length;
|
|
1365
1365
|
a[A][s] = p >= 0 ? h.get(p) : 0;
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
|
-
for (var
|
|
1369
|
-
|
|
1370
|
-
for (var C = new Array(
|
|
1368
|
+
for (var g = 0, s = 0; s < t.length; s++)
|
|
1369
|
+
g += t[s].totalCount;
|
|
1370
|
+
for (var C = new Array(g), x = 0, s = 0; s < n; s++)
|
|
1371
1371
|
for (var A = 0; A < t.length; A++)
|
|
1372
1372
|
s < o[A].length && (C[x++] = o[A][s]);
|
|
1373
1373
|
for (var s = 0; s < i; s++)
|
|
@@ -1389,7 +1389,7 @@ function Po() {
|
|
|
1389
1389
|
if (En)
|
|
1390
1390
|
return ae;
|
|
1391
1391
|
En = 1;
|
|
1392
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
1392
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
1393
1393
|
function J(b) {
|
|
1394
1394
|
if (typeof b == "object" && b !== null) {
|
|
1395
1395
|
var X = b.$$typeof;
|
|
@@ -1448,7 +1448,7 @@ function Po() {
|
|
|
1448
1448
|
}, ae.isSuspense = function(b) {
|
|
1449
1449
|
return J(b) === m;
|
|
1450
1450
|
}, ae.isValidElementType = function(b) {
|
|
1451
|
-
return typeof b == "string" || typeof b == "function" || b === n || b === d || b === o || b === i || b === m || b ===
|
|
1451
|
+
return typeof b == "string" || typeof b == "function" || b === n || b === d || b === o || b === i || b === m || b === q || typeof b == "object" && b !== null && (b.$$typeof === p || b.$$typeof === h || b.$$typeof === a || b.$$typeof === A || b.$$typeof === s || b.$$typeof === C || b.$$typeof === x || b.$$typeof === M || b.$$typeof === g);
|
|
1452
1452
|
}, ae.typeOf = J, ae;
|
|
1453
1453
|
}
|
|
1454
1454
|
var Ae = {};
|
|
@@ -1463,10 +1463,10 @@ var Ae = {};
|
|
|
1463
1463
|
var Sn;
|
|
1464
1464
|
function Vo() {
|
|
1465
1465
|
return Sn || (Sn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
1466
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
1467
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
|
-
L === n || L === d || L === o || L === i || L === m || L ===
|
|
1469
|
+
L === n || L === d || L === o || L === i || L === m || L === q || typeof L == "object" && L !== null && (L.$$typeof === p || L.$$typeof === h || L.$$typeof === a || L.$$typeof === A || L.$$typeof === s || L.$$typeof === C || L.$$typeof === x || L.$$typeof === M || L.$$typeof === g);
|
|
1470
1470
|
}
|
|
1471
1471
|
function K(L) {
|
|
1472
1472
|
if (typeof L == "object" && L !== null) {
|
|
@@ -1544,7 +1544,7 @@ function Vo() {
|
|
|
1544
1544
|
}()), Ae;
|
|
1545
1545
|
}
|
|
1546
1546
|
var kn;
|
|
1547
|
-
function
|
|
1547
|
+
function qi() {
|
|
1548
1548
|
return kn || (kn = 1, process.env.NODE_ENV === "production" ? Qt.exports = Po() : Qt.exports = Vo()), Qt.exports;
|
|
1549
1549
|
}
|
|
1550
1550
|
/*
|
|
@@ -1592,8 +1592,8 @@ function Bo() {
|
|
|
1592
1592
|
t.call(A, m) && (c[m] = A[m]);
|
|
1593
1593
|
if (e) {
|
|
1594
1594
|
d = e(A);
|
|
1595
|
-
for (var
|
|
1596
|
-
r.call(A, d[
|
|
1595
|
+
for (var q = 0; q < d.length; q++)
|
|
1596
|
+
r.call(A, d[q]) && (c[d[q]] = A[d[q]]);
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
1599
1599
|
return c;
|
|
@@ -1636,10 +1636,10 @@ function Xo() {
|
|
|
1636
1636
|
var m;
|
|
1637
1637
|
try {
|
|
1638
1638
|
if (typeof o[s] != "function") {
|
|
1639
|
-
var
|
|
1639
|
+
var q = Error(
|
|
1640
1640
|
(c || "React class") + ": " + A + " type `" + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[s] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1641
1641
|
);
|
|
1642
|
-
throw
|
|
1642
|
+
throw q.name = "Invariant Violation", q;
|
|
1643
1643
|
}
|
|
1644
1644
|
m = o[s](a, s, c, A, null, t);
|
|
1645
1645
|
} catch (p) {
|
|
@@ -1666,7 +1666,7 @@ function Uo() {
|
|
|
1666
1666
|
if (Yn)
|
|
1667
1667
|
return wr;
|
|
1668
1668
|
Yn = 1;
|
|
1669
|
-
var e =
|
|
1669
|
+
var e = qi(), t = Bo(), r = en(), n = vi(), i = Xo(), o = function() {
|
|
1670
1670
|
};
|
|
1671
1671
|
process.env.NODE_ENV !== "production" && (o = function(A) {
|
|
1672
1672
|
var c = "Warning: " + A;
|
|
@@ -1686,7 +1686,7 @@ function Uo() {
|
|
|
1686
1686
|
if (typeof w == "function")
|
|
1687
1687
|
return w;
|
|
1688
1688
|
}
|
|
1689
|
-
var
|
|
1689
|
+
var q = "<<anonymous>>", h = {
|
|
1690
1690
|
array: x("array"),
|
|
1691
1691
|
bigint: x("bigint"),
|
|
1692
1692
|
bool: x("boolean"),
|
|
@@ -1710,15 +1710,15 @@ function Uo() {
|
|
|
1710
1710
|
function p(v, w) {
|
|
1711
1711
|
return v === w ? v !== 0 || 1 / v === 1 / w : v !== v && w !== w;
|
|
1712
1712
|
}
|
|
1713
|
-
function
|
|
1713
|
+
function g(v, w) {
|
|
1714
1714
|
this.message = v, this.data = w && typeof w == "object" ? w : {}, this.stack = "";
|
|
1715
1715
|
}
|
|
1716
|
-
|
|
1716
|
+
g.prototype = Error.prototype;
|
|
1717
1717
|
function C(v) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var w = {}, D = 0;
|
|
1720
1720
|
function N(P, T, G, Q, _, V, ve) {
|
|
1721
|
-
if (Q = Q ||
|
|
1721
|
+
if (Q = Q || q, V = V || G, ve !== r) {
|
|
1722
1722
|
if (c) {
|
|
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,7 +1732,7 @@ function Uo() {
|
|
|
1732
1732
|
), w[xe] = !0, D++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return T[G] == null ? P ? T[G] === null ? new
|
|
1735
|
+
return T[G] == null ? P ? T[G] === null ? new g("The " + _ + " `" + V + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new g("The " + _ + " `" + V + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : v(T, G, Q, _, V);
|
|
1736
1736
|
}
|
|
1737
1737
|
var Y = N.bind(null, !1);
|
|
1738
1738
|
return Y.isRequired = N.bind(null, !0), Y;
|
|
@@ -1742,7 +1742,7 @@ function Uo() {
|
|
|
1742
1742
|
var Q = D[N], _ = O(Q);
|
|
1743
1743
|
if (_ !== v) {
|
|
1744
1744
|
var V = f(Q);
|
|
1745
|
-
return new
|
|
1745
|
+
return new g(
|
|
1746
1746
|
"Invalid " + P + " `" + T + "` of type " + ("`" + V + "` supplied to `" + Y + "`, expected ") + ("`" + v + "`."),
|
|
1747
1747
|
{ expectedType: v }
|
|
1748
1748
|
);
|
|
@@ -1757,11 +1757,11 @@ function Uo() {
|
|
|
1757
1757
|
function J(v) {
|
|
1758
1758
|
function w(D, N, Y, P, T) {
|
|
1759
1759
|
if (typeof v != "function")
|
|
1760
|
-
return new
|
|
1760
|
+
return new g("Property `" + T + "` of component `" + Y + "` has invalid PropType notation inside arrayOf.");
|
|
1761
1761
|
var G = D[N];
|
|
1762
1762
|
if (!Array.isArray(G)) {
|
|
1763
1763
|
var Q = O(G);
|
|
1764
|
-
return new
|
|
1764
|
+
return new g("Invalid " + P + " `" + T + "` of type " + ("`" + Q + "` supplied to `" + Y + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
1766
|
for (var _ = 0; _ < G.length; _++) {
|
|
1767
1767
|
var V = v(G, _, Y, P, T + "[" + _ + "]", r);
|
|
@@ -1777,7 +1777,7 @@ function Uo() {
|
|
|
1777
1777
|
var T = w[D];
|
|
1778
1778
|
if (!A(T)) {
|
|
1779
1779
|
var G = O(T);
|
|
1780
|
-
return new
|
|
1780
|
+
return new g("Invalid " + Y + " `" + P + "` of type " + ("`" + G + "` supplied to `" + N + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
1783
1783
|
}
|
|
@@ -1788,7 +1788,7 @@ function Uo() {
|
|
|
1788
1788
|
var T = w[D];
|
|
1789
1789
|
if (!e.isValidElementType(T)) {
|
|
1790
1790
|
var G = O(T);
|
|
1791
|
-
return new
|
|
1791
|
+
return new g("Invalid " + Y + " `" + P + "` of type " + ("`" + G + "` supplied to `" + N + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
@@ -1797,8 +1797,8 @@ function Uo() {
|
|
|
1797
1797
|
function X(v) {
|
|
1798
1798
|
function w(D, N, Y, P, T) {
|
|
1799
1799
|
if (!(D[N] instanceof v)) {
|
|
1800
|
-
var G = v.name ||
|
|
1801
|
-
return new
|
|
1800
|
+
var G = v.name || q, Q = z(D[N]);
|
|
1801
|
+
return new g("Invalid " + P + " `" + T + "` of type " + ("`" + Q + "` supplied to `" + Y + "`, expected ") + ("instance of `" + G + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
@@ -1817,17 +1817,17 @@ function Uo() {
|
|
|
1817
1817
|
var xe = f(L);
|
|
1818
1818
|
return xe === "symbol" ? String(L) : L;
|
|
1819
1819
|
});
|
|
1820
|
-
return new
|
|
1820
|
+
return new g("Invalid " + P + " `" + T + "` of value `" + String(G) + "` " + ("supplied to `" + Y + "`, expected one of " + _ + "."));
|
|
1821
1821
|
}
|
|
1822
1822
|
return C(w);
|
|
1823
1823
|
}
|
|
1824
1824
|
function F(v) {
|
|
1825
1825
|
function w(D, N, Y, P, T) {
|
|
1826
1826
|
if (typeof v != "function")
|
|
1827
|
-
return new
|
|
1827
|
+
return new g("Property `" + T + "` of component `" + Y + "` has invalid PropType notation inside objectOf.");
|
|
1828
1828
|
var G = D[N], Q = O(G);
|
|
1829
1829
|
if (Q !== "object")
|
|
1830
|
-
return new
|
|
1830
|
+
return new g("Invalid " + P + " `" + T + "` of type " + ("`" + Q + "` supplied to `" + Y + "`, expected an object."));
|
|
1831
1831
|
for (var _ in G)
|
|
1832
1832
|
if (n(G, _)) {
|
|
1833
1833
|
var V = v(G, _, Y, P, T + "." + _, r);
|
|
@@ -1856,18 +1856,18 @@ function Uo() {
|
|
|
1856
1856
|
L.data && n(L.data, "expectedType") && _.push(L.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
1858
|
var xe = _.length > 0 ? ", expected one of type [" + _.join(", ") + "]" : "";
|
|
1859
|
-
return new
|
|
1859
|
+
return new g("Invalid " + G + " `" + Q + "` supplied to " + ("`" + T + "`" + xe + "."));
|
|
1860
1860
|
}
|
|
1861
1861
|
return C(N);
|
|
1862
1862
|
}
|
|
1863
1863
|
function le() {
|
|
1864
1864
|
function v(w, D, N, Y, P) {
|
|
1865
|
-
return Z(w[D]) ? null : new
|
|
1865
|
+
return Z(w[D]) ? null : new g("Invalid " + Y + " `" + P + "` supplied to " + ("`" + N + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
1867
|
return C(v);
|
|
1868
1868
|
}
|
|
1869
1869
|
function ue(v, w, D, N, Y) {
|
|
1870
|
-
return new
|
|
1870
|
+
return new g(
|
|
1871
1871
|
(v || "React class") + ": " + w + " type `" + D + "." + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Y + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
@@ -1875,7 +1875,7 @@ function Uo() {
|
|
|
1875
1875
|
function w(D, N, Y, P, T) {
|
|
1876
1876
|
var G = D[N], Q = O(G);
|
|
1877
1877
|
if (Q !== "object")
|
|
1878
|
-
return new
|
|
1878
|
+
return new g("Invalid " + P + " `" + T + "` of type `" + Q + "` " + ("supplied to `" + Y + "`, expected `object`."));
|
|
1879
1879
|
for (var _ in v) {
|
|
1880
1880
|
var V = v[_];
|
|
1881
1881
|
if (typeof V != "function")
|
|
@@ -1892,14 +1892,14 @@ function Uo() {
|
|
|
1892
1892
|
function w(D, N, Y, P, T) {
|
|
1893
1893
|
var G = D[N], Q = O(G);
|
|
1894
1894
|
if (Q !== "object")
|
|
1895
|
-
return new
|
|
1895
|
+
return new g("Invalid " + P + " `" + T + "` of type `" + Q + "` " + ("supplied to `" + Y + "`, expected `object`."));
|
|
1896
1896
|
var _ = t({}, D[N], v);
|
|
1897
1897
|
for (var V in _) {
|
|
1898
1898
|
var ve = v[V];
|
|
1899
1899
|
if (n(v, V) && typeof ve != "function")
|
|
1900
1900
|
return ue(Y, P, T, V, f(ve));
|
|
1901
1901
|
if (!ve)
|
|
1902
|
-
return new
|
|
1902
|
+
return new g(
|
|
1903
1903
|
"Invalid " + P + " `" + T + "` key `" + V + "` supplied to `" + Y + "`.\nBad object: " + JSON.stringify(D[N], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
1905
1905
|
);
|
|
@@ -1978,7 +1978,7 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
1978
1978
|
}
|
|
1979
1979
|
}
|
|
1980
1980
|
function z(v) {
|
|
1981
|
-
return !v.constructor || !v.constructor.name ?
|
|
1981
|
+
return !v.constructor || !v.constructor.name ? q : v.constructor.name;
|
|
1982
1982
|
}
|
|
1983
1983
|
return h.checkPropTypes = i, h.resetWarningCache = i.resetWarningCache, h.PropTypes = h, h;
|
|
1984
1984
|
}, wr;
|
|
@@ -1996,10 +1996,10 @@ function Fo() {
|
|
|
1996
1996
|
return r.resetWarningCache = t, Kr = function() {
|
|
1997
1997
|
function n(a, A, c, d, s, m) {
|
|
1998
1998
|
if (m !== e) {
|
|
1999
|
-
var
|
|
1999
|
+
var q = new Error(
|
|
2000
2000
|
"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"
|
|
2001
2001
|
);
|
|
2002
|
-
throw
|
|
2002
|
+
throw q.name = "Invariant Violation", q;
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
2005
|
n.isRequired = n;
|
|
@@ -2033,7 +2033,7 @@ function Fo() {
|
|
|
2033
2033
|
}, Kr;
|
|
2034
2034
|
}
|
|
2035
2035
|
if (process.env.NODE_ENV !== "production") {
|
|
2036
|
-
var _o =
|
|
2036
|
+
var _o = qi(), $o = !0;
|
|
2037
2037
|
Dr.exports = Uo()(_o.isElement, $o);
|
|
2038
2038
|
} else
|
|
2039
2039
|
Dr.exports = Fo()();
|
|
@@ -2127,14 +2127,14 @@ var fa = {
|
|
|
2127
2127
|
return ca.default.createElement(ma.default, oa({}, A, {
|
|
2128
2128
|
bgColor: r,
|
|
2129
2129
|
bgD: d.map(function(s, m) {
|
|
2130
|
-
return s.map(function(
|
|
2131
|
-
return
|
|
2130
|
+
return s.map(function(q, h) {
|
|
2131
|
+
return q ? "" : "M " + h + " " + m + " l 1 0 0 1 -1 0 Z";
|
|
2132
2132
|
}).join(" ");
|
|
2133
2133
|
}).join(" "),
|
|
2134
2134
|
fgColor: n,
|
|
2135
2135
|
fgD: d.map(function(s, m) {
|
|
2136
|
-
return s.map(function(
|
|
2137
|
-
return
|
|
2136
|
+
return s.map(function(q, h) {
|
|
2137
|
+
return q ? "M " + h + " " + m + " l 1 0 0 1 -1 0 Z" : "";
|
|
2138
2138
|
}).join(" ");
|
|
2139
2139
|
}).join(" "),
|
|
2140
2140
|
ref: t,
|
|
@@ -2146,7 +2146,7 @@ Ar.QRCode = Dt;
|
|
|
2146
2146
|
Dt.displayName = "QRCode";
|
|
2147
2147
|
Dt.propTypes = fa;
|
|
2148
2148
|
Dt.defaultProps = ha;
|
|
2149
|
-
var
|
|
2149
|
+
var ga = Ar.default = Dt;
|
|
2150
2150
|
const Zi = ({
|
|
2151
2151
|
title: e,
|
|
2152
2152
|
titleId: t,
|
|
@@ -2191,8 +2191,8 @@ function Ii(e, t) {
|
|
|
2191
2191
|
return e.apply(t, arguments);
|
|
2192
2192
|
};
|
|
2193
2193
|
}
|
|
2194
|
-
const { toString:
|
|
2195
|
-
const r =
|
|
2194
|
+
const { toString: qa } = Object.prototype, { getPrototypeOf: rn } = Object, ur = ((e) => (t) => {
|
|
2195
|
+
const r = qa.call(t);
|
|
2196
2196
|
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
2197
2197
|
})(/* @__PURE__ */ Object.create(null)), Be = (e) => (e = e.toLowerCase(), (t) => ur(t) === e), cr = (e) => (t) => typeof t === e, { isArray: Ct } = Array, zt = cr("undefined");
|
|
2198
2198
|
function va(e) {
|
|
@@ -2486,8 +2486,8 @@ function mr(e, t, r) {
|
|
|
2486
2486
|
metaTokens: !0,
|
|
2487
2487
|
dots: !1,
|
|
2488
2488
|
indexes: !1
|
|
2489
|
-
}, !1, function(
|
|
2490
|
-
return !y.isUndefined(C[
|
|
2489
|
+
}, !1, function(g, C) {
|
|
2490
|
+
return !y.isUndefined(C[g]);
|
|
2491
2491
|
});
|
|
2492
2492
|
const n = r.metaTokens, i = r.visitor || s, o = r.dots, a = r.indexes, c = (r.Blob || typeof Blob < "u" && Blob) && y.isSpecCompliantForm(t);
|
|
2493
2493
|
if (!y.isFunction(i))
|
|
@@ -2501,39 +2501,39 @@ function mr(e, t, r) {
|
|
|
2501
2501
|
throw new ne("Blob is not supported. Use a Buffer instead.");
|
|
2502
2502
|
return y.isArrayBuffer(p) || y.isTypedArray(p) ? c && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
2503
2503
|
}
|
|
2504
|
-
function s(p,
|
|
2504
|
+
function s(p, g, C) {
|
|
2505
2505
|
let x = p;
|
|
2506
2506
|
if (p && !C && typeof p == "object") {
|
|
2507
|
-
if (y.endsWith(
|
|
2508
|
-
|
|
2509
|
-
else if (y.isArray(p) && $a(p) || (y.isFileList(p) || y.endsWith(
|
|
2510
|
-
return
|
|
2507
|
+
if (y.endsWith(g, "{}"))
|
|
2508
|
+
g = n ? g : g.slice(0, -2), p = JSON.stringify(p);
|
|
2509
|
+
else if (y.isArray(p) && $a(p) || (y.isFileList(p) || y.endsWith(g, "[]")) && (x = y.toArray(p)))
|
|
2510
|
+
return g = Mi(g), x.forEach(function(J, K) {
|
|
2511
2511
|
!(y.isUndefined(J) || J === null) && t.append(
|
|
2512
2512
|
// eslint-disable-next-line no-nested-ternary
|
|
2513
|
-
a === !0 ? Nn([
|
|
2513
|
+
a === !0 ? Nn([g], K, o) : a === null ? g : g + "[]",
|
|
2514
2514
|
d(J)
|
|
2515
2515
|
);
|
|
2516
2516
|
}), !1;
|
|
2517
2517
|
}
|
|
2518
|
-
return Tr(p) ? !0 : (t.append(Nn(C,
|
|
2518
|
+
return Tr(p) ? !0 : (t.append(Nn(C, g, o), d(p)), !1);
|
|
2519
2519
|
}
|
|
2520
|
-
const m = [],
|
|
2520
|
+
const m = [], q = Object.assign(eA, {
|
|
2521
2521
|
defaultVisitor: s,
|
|
2522
2522
|
convertValue: d,
|
|
2523
2523
|
isVisitable: Tr
|
|
2524
2524
|
});
|
|
2525
|
-
function h(p,
|
|
2525
|
+
function h(p, g) {
|
|
2526
2526
|
if (!y.isUndefined(p)) {
|
|
2527
2527
|
if (m.indexOf(p) !== -1)
|
|
2528
|
-
throw Error("Circular reference detected in " +
|
|
2528
|
+
throw Error("Circular reference detected in " + g.join("."));
|
|
2529
2529
|
m.push(p), y.forEach(p, function(x, M) {
|
|
2530
2530
|
(!(y.isUndefined(x) || x === null) && i.call(
|
|
2531
2531
|
t,
|
|
2532
2532
|
x,
|
|
2533
2533
|
y.isString(M) ? M.trim() : M,
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
)) === !0 && h(x,
|
|
2534
|
+
g,
|
|
2535
|
+
q
|
|
2536
|
+
)) === !0 && h(x, g ? g.concat(M) : [M]);
|
|
2537
2537
|
}), m.pop();
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
@@ -2820,7 +2820,7 @@ function Er(e, t, r, n, i) {
|
|
|
2820
2820
|
function hA(e) {
|
|
2821
2821
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
|
|
2822
2822
|
}
|
|
2823
|
-
function
|
|
2823
|
+
function gA(e, t) {
|
|
2824
2824
|
const r = y.toCamelCase(" " + t);
|
|
2825
2825
|
["get", "set", "has"].forEach((n) => {
|
|
2826
2826
|
Object.defineProperty(e, n + r, {
|
|
@@ -2935,7 +2935,7 @@ class pr {
|
|
|
2935
2935
|
}).accessors, i = this.prototype;
|
|
2936
2936
|
function o(a) {
|
|
2937
2937
|
const A = kt(a);
|
|
2938
|
-
n[A] || (
|
|
2938
|
+
n[A] || (gA(i, a), n[A] = !0);
|
|
2939
2939
|
}
|
|
2940
2940
|
return y.isArray(t) ? t.forEach(o) : o(t), this;
|
|
2941
2941
|
}
|
|
@@ -2968,7 +2968,7 @@ function Tt(e, t, r) {
|
|
|
2968
2968
|
y.inherits(Tt, ne, {
|
|
2969
2969
|
__CANCEL__: !0
|
|
2970
2970
|
});
|
|
2971
|
-
function
|
|
2971
|
+
function qA(e, t, r) {
|
|
2972
2972
|
const n = r.config.validateStatus;
|
|
2973
2973
|
!r.status || !n || n(r.status) ? e(r) : t(new ne(
|
|
2974
2974
|
"Request failed with status code " + r.status,
|
|
@@ -3061,13 +3061,13 @@ function IA(e, t) {
|
|
|
3061
3061
|
return t = t !== void 0 ? t : 1e3, function(c) {
|
|
3062
3062
|
const d = Date.now(), s = n[o];
|
|
3063
3063
|
a || (a = d), r[i] = c, n[i] = d;
|
|
3064
|
-
let m = o,
|
|
3064
|
+
let m = o, q = 0;
|
|
3065
3065
|
for (; m !== i; )
|
|
3066
|
-
|
|
3066
|
+
q += r[m++], m = m % e;
|
|
3067
3067
|
if (i = (i + 1) % e, i === o && (o = (o + 1) % e), d - a < t)
|
|
3068
3068
|
return;
|
|
3069
3069
|
const h = s && d - s;
|
|
3070
|
-
return h ? Math.round(
|
|
3070
|
+
return h ? Math.round(q * 1e3 / h) : void 0;
|
|
3071
3071
|
};
|
|
3072
3072
|
}
|
|
3073
3073
|
function Qn(e, t) {
|
|
@@ -3100,12 +3100,12 @@ const xA = typeof XMLHttpRequest < "u", wA = xA && function(e) {
|
|
|
3100
3100
|
y.isFormData(i) && (Ve.isStandardBrowserEnv || Ve.isStandardBrowserWebWorkerEnv ? o.setContentType(!1) : o.getContentType(/^\s*multipart\/form-data/) ? y.isString(d = o.getContentType()) && o.setContentType(d.replace(/^\s*(multipart\/form-data);+/, "$1")) : o.setContentType("multipart/form-data"));
|
|
3101
3101
|
let s = new XMLHttpRequest();
|
|
3102
3102
|
if (e.auth) {
|
|
3103
|
-
const p = e.auth.username || "",
|
|
3104
|
-
o.set("Authorization", "Basic " + btoa(p + ":" +
|
|
3103
|
+
const p = e.auth.username || "", g = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
3104
|
+
o.set("Authorization", "Basic " + btoa(p + ":" + g));
|
|
3105
3105
|
}
|
|
3106
3106
|
const m = Ni(e.baseURL, e.url);
|
|
3107
3107
|
s.open(e.method.toUpperCase(), Yi(m, e.params, e.paramsSerializer), !0), s.timeout = e.timeout;
|
|
3108
|
-
function
|
|
3108
|
+
function q() {
|
|
3109
3109
|
if (!s)
|
|
3110
3110
|
return;
|
|
3111
3111
|
const p = Fe.from(
|
|
@@ -3118,23 +3118,23 @@ const xA = typeof XMLHttpRequest < "u", wA = xA && function(e) {
|
|
|
3118
3118
|
config: e,
|
|
3119
3119
|
request: s
|
|
3120
3120
|
};
|
|
3121
|
-
|
|
3121
|
+
qA(function(M) {
|
|
3122
3122
|
r(M), c();
|
|
3123
3123
|
}, function(M) {
|
|
3124
3124
|
n(M), c();
|
|
3125
3125
|
}, C), s = null;
|
|
3126
3126
|
}
|
|
3127
|
-
if ("onloadend" in s ? s.onloadend =
|
|
3128
|
-
!s || s.readyState !== 4 || s.status === 0 && !(s.responseURL && s.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
3127
|
+
if ("onloadend" in s ? s.onloadend = q : s.onreadystatechange = function() {
|
|
3128
|
+
!s || s.readyState !== 4 || s.status === 0 && !(s.responseURL && s.responseURL.indexOf("file:") === 0) || setTimeout(q);
|
|
3129
3129
|
}, s.onabort = function() {
|
|
3130
3130
|
s && (n(new ne("Request aborted", ne.ECONNABORTED, e, s)), s = null);
|
|
3131
3131
|
}, s.onerror = function() {
|
|
3132
3132
|
n(new ne("Network Error", ne.ERR_NETWORK, e, s)), s = null;
|
|
3133
3133
|
}, s.ontimeout = function() {
|
|
3134
|
-
let
|
|
3134
|
+
let g = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
3135
3135
|
const C = e.transitional || ji;
|
|
3136
|
-
e.timeoutErrorMessage && (
|
|
3137
|
-
|
|
3136
|
+
e.timeoutErrorMessage && (g = e.timeoutErrorMessage), n(new ne(
|
|
3137
|
+
g,
|
|
3138
3138
|
C.clarifyTimeoutError ? ne.ETIMEDOUT : ne.ECONNABORTED,
|
|
3139
3139
|
e,
|
|
3140
3140
|
s
|
|
@@ -3143,8 +3143,8 @@ const xA = typeof XMLHttpRequest < "u", wA = xA && function(e) {
|
|
|
3143
3143
|
const p = CA(m) && e.xsrfCookieName && vA.read(e.xsrfCookieName);
|
|
3144
3144
|
p && o.set(e.xsrfHeaderName, p);
|
|
3145
3145
|
}
|
|
3146
|
-
i === void 0 && o.setContentType(null), "setRequestHeader" in s && y.forEach(o.toJSON(), function(
|
|
3147
|
-
s.setRequestHeader(C,
|
|
3146
|
+
i === void 0 && o.setContentType(null), "setRequestHeader" in s && y.forEach(o.toJSON(), function(g, C) {
|
|
3147
|
+
s.setRequestHeader(C, g);
|
|
3148
3148
|
}), y.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", Qn(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", Qn(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (p) => {
|
|
3149
3149
|
s && (n(!p || p.type ? new Tt(null, e, s) : p), s.abort(), s = null);
|
|
3150
3150
|
}, e.cancelToken && e.cancelToken.subscribe(A), e.signal && (e.signal.aborted ? A() : e.signal.addEventListener("abort", A)));
|
|
@@ -3283,8 +3283,8 @@ function bt(e, t) {
|
|
|
3283
3283
|
headers: (d, s) => i(Vn(d), Vn(s), !0)
|
|
3284
3284
|
};
|
|
3285
3285
|
return y.forEach(Object.keys(Object.assign({}, e, t)), function(s) {
|
|
3286
|
-
const m = c[s] || i,
|
|
3287
|
-
y.isUndefined(
|
|
3286
|
+
const m = c[s] || i, q = m(e[s], t[s], s);
|
|
3287
|
+
y.isUndefined(q) && m !== A || (r[s] = q);
|
|
3288
3288
|
}), r;
|
|
3289
3289
|
}
|
|
3290
3290
|
const Gi = "1.6.0", An = {};
|
|
@@ -3373,28 +3373,28 @@ class er {
|
|
|
3373
3373
|
), r.headers = Fe.concat(a, o);
|
|
3374
3374
|
const A = [];
|
|
3375
3375
|
let c = !0;
|
|
3376
|
-
this.interceptors.request.forEach(function(
|
|
3377
|
-
typeof
|
|
3376
|
+
this.interceptors.request.forEach(function(g) {
|
|
3377
|
+
typeof g.runWhen == "function" && g.runWhen(r) === !1 || (c = c && g.synchronous, A.unshift(g.fulfilled, g.rejected));
|
|
3378
3378
|
});
|
|
3379
3379
|
const d = [];
|
|
3380
|
-
this.interceptors.response.forEach(function(
|
|
3381
|
-
d.push(
|
|
3380
|
+
this.interceptors.response.forEach(function(g) {
|
|
3381
|
+
d.push(g.fulfilled, g.rejected);
|
|
3382
3382
|
});
|
|
3383
|
-
let s, m = 0,
|
|
3383
|
+
let s, m = 0, q;
|
|
3384
3384
|
if (!c) {
|
|
3385
3385
|
const p = [Pn.bind(this), void 0];
|
|
3386
|
-
for (p.unshift.apply(p, A), p.push.apply(p, d),
|
|
3386
|
+
for (p.unshift.apply(p, A), p.push.apply(p, d), q = p.length, s = Promise.resolve(r); m < q; )
|
|
3387
3387
|
s = s.then(p[m++], p[m++]);
|
|
3388
3388
|
return s;
|
|
3389
3389
|
}
|
|
3390
|
-
|
|
3390
|
+
q = A.length;
|
|
3391
3391
|
let h = r;
|
|
3392
|
-
for (m = 0; m <
|
|
3393
|
-
const p = A[m++],
|
|
3392
|
+
for (m = 0; m < q; ) {
|
|
3393
|
+
const p = A[m++], g = A[m++];
|
|
3394
3394
|
try {
|
|
3395
3395
|
h = p(h);
|
|
3396
3396
|
} catch (C) {
|
|
3397
|
-
|
|
3397
|
+
g.call(this, C);
|
|
3398
3398
|
break;
|
|
3399
3399
|
}
|
|
3400
3400
|
}
|
|
@@ -3403,7 +3403,7 @@ class er {
|
|
|
3403
3403
|
} catch (p) {
|
|
3404
3404
|
return Promise.reject(p);
|
|
3405
3405
|
}
|
|
3406
|
-
for (m = 0,
|
|
3406
|
+
for (m = 0, q = d.length; m < q; )
|
|
3407
3407
|
s = s.then(d[m++], d[m++]);
|
|
3408
3408
|
return s;
|
|
3409
3409
|
}
|
|
@@ -3590,27 +3590,27 @@ function Ri(e) {
|
|
|
3590
3590
|
return Ri(bt(e, i));
|
|
3591
3591
|
}, r;
|
|
3592
3592
|
}
|
|
3593
|
-
const
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3593
|
+
const qe = Ri(an);
|
|
3594
|
+
qe.Axios = _t;
|
|
3595
|
+
qe.CanceledError = Tt;
|
|
3596
|
+
qe.CancelToken = EA;
|
|
3597
|
+
qe.isCancel = Di;
|
|
3598
|
+
qe.VERSION = Gi;
|
|
3599
|
+
qe.toFormData = mr;
|
|
3600
|
+
qe.AxiosError = ne;
|
|
3601
|
+
qe.Cancel = qe.CanceledError;
|
|
3602
|
+
qe.all = function(t) {
|
|
3603
3603
|
return Promise.all(t);
|
|
3604
3604
|
};
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
const WA =
|
|
3605
|
+
qe.spread = SA;
|
|
3606
|
+
qe.isAxiosError = kA;
|
|
3607
|
+
qe.mergeConfig = bt;
|
|
3608
|
+
qe.AxiosHeaders = Fe;
|
|
3609
|
+
qe.formToJSON = (e) => Ji(y.isHTMLForm(e) ? new FormData(e) : e);
|
|
3610
|
+
qe.getAdapter = Ti.getAdapter;
|
|
3611
|
+
qe.HttpStatusCode = OA;
|
|
3612
|
+
qe.default = qe;
|
|
3613
|
+
const WA = qe;
|
|
3614
3614
|
/*! typescript-cookie v1.0.6 | MIT */
|
|
3615
3615
|
const Qi = (e) => encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape), Hi = (e) => encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent), ln = decodeURIComponent, un = (e) => (e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent));
|
|
3616
3616
|
function MA(e) {
|
|
@@ -3728,19 +3728,19 @@ function jA(e, t, r) {
|
|
|
3728
3728
|
function fr(e) {
|
|
3729
3729
|
let { enter: t, exit: r, appendPosition: n = !1, collapse: i = !0, collapseDuration: o = 300 } = e;
|
|
3730
3730
|
return function(a) {
|
|
3731
|
-
let { children: A, position: c, preventExitTransition: d, done: s, nodeRef: m, isIn:
|
|
3732
|
-
const h = n ? `${t}--${c}` : t, p = n ? `${r}--${c}` : r,
|
|
3731
|
+
let { children: A, position: c, preventExitTransition: d, done: s, nodeRef: m, isIn: q } = a;
|
|
3732
|
+
const h = n ? `${t}--${c}` : t, p = n ? `${r}--${c}` : r, g = st(0);
|
|
3733
3733
|
return Lo(() => {
|
|
3734
3734
|
const C = m.current, x = h.split(" "), M = (J) => {
|
|
3735
|
-
J.target === m.current && (C.dispatchEvent(new Event("d")), C.removeEventListener("animationend", M), C.removeEventListener("animationcancel", M),
|
|
3735
|
+
J.target === m.current && (C.dispatchEvent(new Event("d")), C.removeEventListener("animationend", M), C.removeEventListener("animationcancel", M), g.current === 0 && J.type !== "animationcancel" && C.classList.remove(...x));
|
|
3736
3736
|
};
|
|
3737
3737
|
C.classList.add(...x), C.addEventListener("animationend", M), C.addEventListener("animationcancel", M);
|
|
3738
3738
|
}, []), Ee(() => {
|
|
3739
3739
|
const C = m.current, x = () => {
|
|
3740
3740
|
C.removeEventListener("animationend", x), i ? jA(C, s, o) : s();
|
|
3741
3741
|
};
|
|
3742
|
-
|
|
3743
|
-
}, [
|
|
3742
|
+
q || (d ? x() : (g.current = 1, C.className += ` ${p}`, C.addEventListener("animationend", x)));
|
|
3743
|
+
}, [q]), oe.createElement(oe.Fragment, null, A);
|
|
3744
3744
|
};
|
|
3745
3745
|
}
|
|
3746
3746
|
function Un(e, t) {
|
|
@@ -3782,18 +3782,18 @@ function JA(e) {
|
|
|
3782
3782
|
const [, t] = Ko((h) => h + 1, 0), [r, n] = $([]), i = st(null), o = st(/* @__PURE__ */ new Map()).current, a = (h) => r.indexOf(h) !== -1, A = st({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (h) => o.get(h) }).current;
|
|
3783
3783
|
function c(h) {
|
|
3784
3784
|
let { containerId: p } = h;
|
|
3785
|
-
const { limit:
|
|
3786
|
-
!
|
|
3785
|
+
const { limit: g } = A.props;
|
|
3786
|
+
!g || p && A.containerId !== p || (A.count -= A.queue.length, A.queue = []);
|
|
3787
3787
|
}
|
|
3788
3788
|
function d(h) {
|
|
3789
|
-
n((p) => h == null ? [] : p.filter((
|
|
3789
|
+
n((p) => h == null ? [] : p.filter((g) => g !== h));
|
|
3790
3790
|
}
|
|
3791
3791
|
function s() {
|
|
3792
|
-
const { toastContent: h, toastProps: p, staleId:
|
|
3793
|
-
|
|
3792
|
+
const { toastContent: h, toastProps: p, staleId: g } = A.queue.shift();
|
|
3793
|
+
q(h, p, g);
|
|
3794
3794
|
}
|
|
3795
3795
|
function m(h, p) {
|
|
3796
|
-
let { delay:
|
|
3796
|
+
let { delay: g, staleId: C, ...x } = p;
|
|
3797
3797
|
if (!Or(h) || function(ee) {
|
|
3798
3798
|
return !i.current || A.props.enableMultiContainer && ee.containerId !== A.props.containerId || o.has(ee.toastId) && ee.updateId == null;
|
|
3799
3799
|
}(x))
|
|
@@ -3827,23 +3827,23 @@ function JA(e) {
|
|
|
3827
3827
|
return O === !1 || (Le(O) ? f = O(k) : yt(O) ? f = jr(O, k) : mt(O) || Wt(O) ? f = O : W ? f = Wr.spinner() : ((z) => z in Wr)(Z) && (f = Wr[Z](k))), f;
|
|
3828
3828
|
}(F), Le(x.onOpen) && (F.onOpen = x.onOpen), Le(x.onClose) && (F.onClose = x.onClose), F.closeButton = b.closeButton, x.closeButton === !1 || Or(x.closeButton) ? F.closeButton = x.closeButton : x.closeButton === !0 && (F.closeButton = !Or(b.closeButton) || b.closeButton);
|
|
3829
3829
|
let ue = h;
|
|
3830
|
-
yt(h) && !mt(h.type) ? ue = jr(h, { closeToast: X, toastProps: F, data: K }) : Le(h) && (ue = h({ closeToast: X, toastProps: F, data: K })), b.limit && b.limit > 0 && A.count > b.limit && U ? A.queue.push({ toastContent: ue, toastProps: F, staleId: C }) : Wt(
|
|
3831
|
-
|
|
3832
|
-
},
|
|
3830
|
+
yt(h) && !mt(h.type) ? ue = jr(h, { closeToast: X, toastProps: F, data: K }) : Le(h) && (ue = h({ closeToast: X, toastProps: F, data: K })), b.limit && b.limit > 0 && A.count > b.limit && U ? A.queue.push({ toastContent: ue, toastProps: F, staleId: C }) : Wt(g) ? setTimeout(() => {
|
|
3831
|
+
q(ue, F, C);
|
|
3832
|
+
}, g) : q(ue, F, C);
|
|
3833
3833
|
}
|
|
3834
|
-
function
|
|
3834
|
+
function q(h, p, g) {
|
|
3835
3835
|
const { toastId: C } = p;
|
|
3836
|
-
|
|
3836
|
+
g && o.delete(g);
|
|
3837
3837
|
const x = { content: h, props: p };
|
|
3838
|
-
o.set(C, x), n((M) => [...M, C].filter((J) => J !==
|
|
3838
|
+
o.set(C, x), n((M) => [...M, C].filter((J) => J !== g)), je.emit(4, Un(x, x.props.updateId == null ? "added" : "updated"));
|
|
3839
3839
|
}
|
|
3840
3840
|
return Ee(() => (A.containerId = e.containerId, je.cancelEmit(3).on(0, m).on(1, (h) => i.current && d(h)).on(5, c).emit(2, A), () => {
|
|
3841
3841
|
o.clear(), je.emit(3, A);
|
|
3842
3842
|
}), []), Ee(() => {
|
|
3843
3843
|
A.props = e, A.isToastActive = a, A.displayedToast = r.length;
|
|
3844
3844
|
}), { getToastToRender: function(h) {
|
|
3845
|
-
const p = /* @__PURE__ */ new Map(),
|
|
3846
|
-
return e.newestOnTop &&
|
|
3845
|
+
const p = /* @__PURE__ */ new Map(), g = Array.from(o.values());
|
|
3846
|
+
return e.newestOnTop && g.reverse(), g.forEach((C) => {
|
|
3847
3847
|
const { position: x } = C.props;
|
|
3848
3848
|
p.has(x) || p.set(x, []), p.get(x).push(C);
|
|
3849
3849
|
}), Array.from(p, (C) => h(C[0], C[1]));
|
|
@@ -3856,7 +3856,7 @@ function _n(e) {
|
|
|
3856
3856
|
return e.targetTouches && e.targetTouches.length >= 1 ? e.targetTouches[0].clientY : e.clientY;
|
|
3857
3857
|
}
|
|
3858
3858
|
function DA(e) {
|
|
3859
|
-
const [t, r] = $(!1), [n, i] = $(!1), o = st(null), a = st({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = st(e), { autoClose: c, pauseOnHover: d, closeToast: s, onClick: m, closeOnClick:
|
|
3859
|
+
const [t, r] = $(!1), [n, i] = $(!1), o = st(null), a = st({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = st(e), { autoClose: c, pauseOnHover: d, closeToast: s, onClick: m, closeOnClick: q } = e;
|
|
3860
3860
|
function h(K) {
|
|
3861
3861
|
if (e.draggable) {
|
|
3862
3862
|
K.nativeEvent.type === "touchstart" && K.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", x), document.addEventListener("mouseup", M), document.addEventListener("touchmove", x), document.addEventListener("touchend", M);
|
|
@@ -3867,10 +3867,10 @@ function DA(e) {
|
|
|
3867
3867
|
function p(K) {
|
|
3868
3868
|
if (a.boundingRect) {
|
|
3869
3869
|
const { top: b, bottom: X, left: U, right: F } = a.boundingRect;
|
|
3870
|
-
K.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= U && a.x <= F && a.y >= b && a.y <= X ? C() :
|
|
3870
|
+
K.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= U && a.x <= F && a.y >= b && a.y <= X ? C() : g();
|
|
3871
3871
|
}
|
|
3872
3872
|
}
|
|
3873
|
-
function
|
|
3873
|
+
function g() {
|
|
3874
3874
|
r(!0);
|
|
3875
3875
|
}
|
|
3876
3876
|
function C() {
|
|
@@ -3891,16 +3891,16 @@ function DA(e) {
|
|
|
3891
3891
|
}
|
|
3892
3892
|
Ee(() => {
|
|
3893
3893
|
A.current = e;
|
|
3894
|
-
}), Ee(() => (o.current && o.current.addEventListener("d",
|
|
3894
|
+
}), Ee(() => (o.current && o.current.addEventListener("d", g, { once: !0 }), Le(e.onOpen) && e.onOpen(yt(e.children) && e.children.props), () => {
|
|
3895
3895
|
const K = A.current;
|
|
3896
3896
|
Le(K.onClose) && K.onClose(yt(K.children) && K.children.props);
|
|
3897
|
-
}), []), Ee(() => (e.pauseOnFocusLoss && (document.hasFocus() || C(), window.addEventListener("focus",
|
|
3898
|
-
e.pauseOnFocusLoss && (window.removeEventListener("focus",
|
|
3897
|
+
}), []), Ee(() => (e.pauseOnFocusLoss && (document.hasFocus() || C(), window.addEventListener("focus", g), window.addEventListener("blur", C)), () => {
|
|
3898
|
+
e.pauseOnFocusLoss && (window.removeEventListener("focus", g), window.removeEventListener("blur", C));
|
|
3899
3899
|
}), [e.pauseOnFocusLoss]);
|
|
3900
3900
|
const J = { onMouseDown: h, onTouchStart: h, onMouseUp: p, onTouchEnd: p };
|
|
3901
|
-
return c && d && (J.onMouseEnter = C, J.onMouseLeave =
|
|
3901
|
+
return c && d && (J.onMouseEnter = C, J.onMouseLeave = g), q && (J.onClick = (K) => {
|
|
3902
3902
|
m && m(K), a.canCloseOnClick && s();
|
|
3903
|
-
}), { playToast:
|
|
3903
|
+
}), { playToast: g, pauseToast: C, isRunning: t, preventExitTransition: n, toastRef: o, eventHandlers: J };
|
|
3904
3904
|
}
|
|
3905
3905
|
function Fi(e) {
|
|
3906
3906
|
let { closeToast: t, theme: r, ariaLabel: n = "close" } = e;
|
|
@@ -3909,18 +3909,18 @@ function Fi(e) {
|
|
|
3909
3909
|
}, "aria-label": n }, oe.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, oe.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" })));
|
|
3910
3910
|
}
|
|
3911
3911
|
function NA(e) {
|
|
3912
|
-
let { delay: t, isRunning: r, closeToast: n, type: i = "default", hide: o, className: a, style: A, controlledProgress: c, progress: d, rtl: s, isIn: m, theme:
|
|
3912
|
+
let { delay: t, isRunning: r, closeToast: n, type: i = "default", hide: o, className: a, style: A, controlledProgress: c, progress: d, rtl: s, isIn: m, theme: q } = e;
|
|
3913
3913
|
const h = o || c && d === 0, p = { ...A, animationDuration: `${t}ms`, animationPlayState: r ? "running" : "paused", opacity: h ? 0 : 1 };
|
|
3914
3914
|
c && (p.transform = `scaleX(${d})`);
|
|
3915
|
-
const
|
|
3915
|
+
const g = tt("Toastify__progress-bar", c ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${q}`, `Toastify__progress-bar--${i}`, { "Toastify__progress-bar--rtl": s }), C = Le(a) ? a({ rtl: s, type: i, defaultClassName: g }) : tt(g, a);
|
|
3916
3916
|
return oe.createElement("div", { role: "progressbar", "aria-hidden": h ? "true" : "false", "aria-label": "notification timer", className: C, style: p, [c && d >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: c && d < 1 ? null : () => {
|
|
3917
3917
|
m && n();
|
|
3918
3918
|
} });
|
|
3919
3919
|
}
|
|
3920
3920
|
const TA = (e) => {
|
|
3921
|
-
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = DA(e), { closeButton: o, children: a, autoClose: A, onClick: c, type: d, hideProgressBar: s, closeToast: m, transition:
|
|
3921
|
+
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = DA(e), { closeButton: o, children: a, autoClose: A, onClick: c, type: d, hideProgressBar: s, closeToast: m, transition: q, position: h, className: p, style: g, bodyClassName: C, bodyStyle: x, progressClassName: M, progressStyle: J, updateId: K, role: b, progress: X, rtl: U, toastId: F, deleteToast: se, isIn: le, isLoading: ue, iconOut: ee, closeOnClick: S, theme: Z } = e, W = tt("Toastify__toast", `Toastify__toast-theme--${Z}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": U }, { "Toastify__toast--close-on-click": S }), O = Le(p) ? p({ rtl: U, position: h, type: d, defaultClassName: W }) : tt(W, p), f = !!X || !A, k = { closeToast: m, type: d, theme: Z };
|
|
3922
3922
|
let z = null;
|
|
3923
|
-
return o === !1 || (z = Le(o) ? o(k) : yt(o) ? jr(o, k) : Fi(k)), oe.createElement(
|
|
3923
|
+
return o === !1 || (z = Le(o) ? o(k) : yt(o) ? jr(o, k) : Fi(k)), oe.createElement(q, { isIn: le, done: se, position: h, preventExitTransition: r, nodeRef: n }, oe.createElement("div", { id: F, onClick: c, className: O, ...i, style: g, ref: n }, oe.createElement("div", { ...le && { role: b }, className: Le(C) ? C({ type: d }) : tt("Toastify__toast-body", C), style: x }, ee != null && oe.createElement("div", { className: tt("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ue }) }, ee), oe.createElement("div", null, a)), z, oe.createElement(NA, { ...K && !f ? { key: `pb-${K}` } : {}, rtl: U, theme: Z, delay: A, isRunning: t, isIn: le, closeToast: m, hide: s, type: d, style: J, className: M, controlledProgress: f, progress: X || 0 })));
|
|
3924
3924
|
}, hr = function(e, t) {
|
|
3925
3925
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3926
3926
|
}, GA = fr(hr("bounce", !0));
|
|
@@ -3936,10 +3936,10 @@ const Pr = wo((e, t) => {
|
|
|
3936
3936
|
return Ee(() => {
|
|
3937
3937
|
t && (t.current = n.current);
|
|
3938
3938
|
}, []), oe.createElement("div", { ref: n, className: "Toastify", id: c }, r((s, m) => {
|
|
3939
|
-
const
|
|
3940
|
-
return oe.createElement("div", { className: d(s), style:
|
|
3941
|
-
let { content:
|
|
3942
|
-
return oe.createElement(TA, { ...C, isIn: i(C.toastId), style: { ...C.style, "--nth": p + 1, "--len": m.length }, key: `toast-${C.key}` },
|
|
3939
|
+
const q = m.length ? { ...a } : { ...a, pointerEvents: "none" };
|
|
3940
|
+
return oe.createElement("div", { className: d(s), style: q, key: `container-${s}` }, m.map((h, p) => {
|
|
3941
|
+
let { content: g, props: C } = h;
|
|
3942
|
+
return oe.createElement(TA, { ...C, isIn: i(C.toastId), style: { ...C.style, "--nth": p + 1, "--len": m.length }, key: `toast-${C.key}` }, g);
|
|
3943
3943
|
}));
|
|
3944
3944
|
}));
|
|
3945
3945
|
});
|
|
@@ -3966,11 +3966,11 @@ function pe(e, t) {
|
|
|
3966
3966
|
pe.loading = (e, t) => Mt(e, tr("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), pe.promise = function(e, t, r) {
|
|
3967
3967
|
let n, { pending: i, error: o, success: a } = t;
|
|
3968
3968
|
i && (n = mt(i) ? pe.loading(i, r) : pe.loading(i.render, { ...r, ...i }));
|
|
3969
|
-
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, c = (s, m,
|
|
3969
|
+
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, c = (s, m, q) => {
|
|
3970
3970
|
if (m == null)
|
|
3971
3971
|
return void pe.dismiss(n);
|
|
3972
|
-
const h = { type: s, ...A, ...r, data:
|
|
3973
|
-
return n ? pe.update(n, { ...h, ...p }) : pe(p.render, { ...h, ...p }),
|
|
3972
|
+
const h = { type: s, ...A, ...r, data: q }, p = mt(m) ? { render: m } : m;
|
|
3973
|
+
return n ? pe.update(n, { ...h, ...p }) : pe(p.render, { ...h, ...p }), q;
|
|
3974
3974
|
}, d = Le(e) ? e() : e;
|
|
3975
3975
|
return d.then((s) => c("success", a, s)).catch((s) => c("error", o, s)), d;
|
|
3976
3976
|
}, pe.success = Vt("success"), pe.info = Vt("info"), pe.error = Vt("error"), pe.warning = Vt("warning"), pe.warn = pe.warning, pe.dark = (e, t) => Mt(e, tr("default", { theme: "dark", ...t })), pe.dismiss = (e) => {
|
|
@@ -4054,8 +4054,8 @@ const HA = ({
|
|
|
4054
4054
|
lt(A) ? ke("Link copied") : o(A);
|
|
4055
4055
|
} else if (t === "Import") {
|
|
4056
4056
|
const A = await nr(r, e, "test");
|
|
4057
|
-
let c = `${i}/preview?versionId=${e}_
|
|
4058
|
-
return
|
|
4057
|
+
let c = `${i}/preview?versionId=${e}_`, d = lt(c);
|
|
4058
|
+
return console.log("first"), d || (console.log("second"), o(c)), ke("Link copied"), console.log("third"), A == null ? void 0 : A.url;
|
|
4059
4059
|
} else {
|
|
4060
4060
|
const A = await At(
|
|
4061
4061
|
r,
|
|
@@ -4093,7 +4093,7 @@ const HA = ({
|
|
|
4093
4093
|
width: "50%"
|
|
4094
4094
|
},
|
|
4095
4095
|
children: /* @__PURE__ */ u.jsx(
|
|
4096
|
-
|
|
4096
|
+
ga,
|
|
4097
4097
|
{
|
|
4098
4098
|
bgColor: "#0F0F1E",
|
|
4099
4099
|
fgColor: "#ffffff",
|
|
@@ -4220,7 +4220,7 @@ const HA = ({
|
|
|
4220
4220
|
}
|
|
4221
4221
|
);
|
|
4222
4222
|
};
|
|
4223
|
-
var Ze = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e.Import = "#00a3ff", e))(Ze || {});
|
|
4223
|
+
var Ze = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e.Import = "#00a3ff", e.Ready = "text-[#0060A5]", e))(Ze || {});
|
|
4224
4224
|
const VA = ({ typeOfProduct: e }) => /* @__PURE__ */ u.jsxs(
|
|
4225
4225
|
"div",
|
|
4226
4226
|
{
|
|
@@ -5230,10 +5230,10 @@ const zr = [
|
|
|
5230
5230
|
versionId: d,
|
|
5231
5231
|
api: s,
|
|
5232
5232
|
handleDownloadError: m,
|
|
5233
|
-
fetchFileUrl:
|
|
5233
|
+
fetchFileUrl: q,
|
|
5234
5234
|
urls: h,
|
|
5235
5235
|
game: p,
|
|
5236
|
-
setIsConfirmActive:
|
|
5236
|
+
setIsConfirmActive: g,
|
|
5237
5237
|
downloadFlex: C,
|
|
5238
5238
|
flexDownloadCount: x,
|
|
5239
5239
|
disabled: M,
|
|
@@ -5316,10 +5316,10 @@ const zr = [
|
|
|
5316
5316
|
"snapchat",
|
|
5317
5317
|
"inmobi"
|
|
5318
5318
|
].includes(B) || (B === "fb" || B === "luna") && De) {
|
|
5319
|
-
let fe =
|
|
5319
|
+
let fe = q + "/" + Ke;
|
|
5320
5320
|
Q(fe, Ke);
|
|
5321
5321
|
} else if (we) {
|
|
5322
|
-
let fe =
|
|
5322
|
+
let fe = q + "/" + Ke;
|
|
5323
5323
|
Q(fe, Ke);
|
|
5324
5324
|
}
|
|
5325
5325
|
X(!1), ke("Download successfully");
|
|
@@ -5364,10 +5364,10 @@ const zr = [
|
|
|
5364
5364
|
"snapchat",
|
|
5365
5365
|
"inmobi"
|
|
5366
5366
|
].includes(B) || (B === "fb" || B === "luna") && De) {
|
|
5367
|
-
let Kt =
|
|
5367
|
+
let Kt = q + "/" + fe;
|
|
5368
5368
|
Q(Kt, fe);
|
|
5369
5369
|
} else if (we) {
|
|
5370
|
-
let Kt =
|
|
5370
|
+
let Kt = q + "/" + fe;
|
|
5371
5371
|
Q(Kt, fe);
|
|
5372
5372
|
}
|
|
5373
5373
|
return X(!1), fe;
|
|
@@ -5394,7 +5394,7 @@ const zr = [
|
|
|
5394
5394
|
X(!1), m(_e.response.data.error.msg);
|
|
5395
5395
|
}
|
|
5396
5396
|
}, V = async () => {
|
|
5397
|
-
if (c === "Playable") {
|
|
5397
|
+
if (c === "Playable" || c === "Ready") {
|
|
5398
5398
|
await ei(
|
|
5399
5399
|
d,
|
|
5400
5400
|
{ iosLink: h.iosUrl, androidLink: h.googleUrl },
|
|
@@ -5409,11 +5409,11 @@ const zr = [
|
|
|
5409
5409
|
1,
|
|
5410
5410
|
`var type = ${i}`
|
|
5411
5411
|
);
|
|
5412
|
-
let B = `${
|
|
5412
|
+
let B = `${q}/${j == null ? void 0 : j.url}`;
|
|
5413
5413
|
return lt(B) ? ke("Link Copied") : K(B), j == null ? void 0 : j.url;
|
|
5414
5414
|
} else if (c === "Import") {
|
|
5415
5415
|
const j = await nr(s, d, i);
|
|
5416
|
-
let B = `${
|
|
5416
|
+
let B = `${q}/${j == null ? void 0 : j.url}`;
|
|
5417
5417
|
return lt(B) ? ke("Link Copied") : K(B), j == null ? void 0 : j.url;
|
|
5418
5418
|
} else {
|
|
5419
5419
|
await ti(
|
|
@@ -5425,7 +5425,7 @@ const zr = [
|
|
|
5425
5425
|
s
|
|
5426
5426
|
);
|
|
5427
5427
|
const j = await rr({ _id: d, network: i }, s);
|
|
5428
|
-
let B = `${
|
|
5428
|
+
let B = `${q}/${j == null ? void 0 : j.url}`;
|
|
5429
5429
|
return lt(B) ? ke("Link Copied") : K(B), j == null ? void 0 : j.url;
|
|
5430
5430
|
}
|
|
5431
5431
|
}, ve = async () => {
|
|
@@ -5438,7 +5438,7 @@ const zr = [
|
|
|
5438
5438
|
v(!1), m(j.message, j);
|
|
5439
5439
|
return;
|
|
5440
5440
|
}
|
|
5441
|
-
let we = await fetch(
|
|
5441
|
+
let we = await fetch(q + "/" + B).then((de) => de.text());
|
|
5442
5442
|
ce = document.createElement("a"), ce.setAttribute("href", "data:html/plain;charset=utf-8," + encodeURIComponent(we)), ce.setAttribute(
|
|
5443
5443
|
"download",
|
|
5444
5444
|
B.split("/").reduce((de, De) => De, "")
|
|
@@ -5448,7 +5448,7 @@ const zr = [
|
|
|
5448
5448
|
const j = await At(s, d, U, "moloco", !1, T, {
|
|
5449
5449
|
molocoS3: !0
|
|
5450
5450
|
});
|
|
5451
|
-
await fetch(
|
|
5451
|
+
await fetch(q + "/" + j.url).then((B) => {
|
|
5452
5452
|
B.text().then((ce) => {
|
|
5453
5453
|
const we = {
|
|
5454
5454
|
Applovin: '{"cur":"USD","id":"2be72885d7954bd8a731108d86d41b4abb2a2197","seatbid":[{"bid":[{"adid":"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS","adm":"<VAST version=\\"3.0\\"><Ad id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><InLine><AdSystem version=\\"2.0\\"></AdSystem><AdTitle><![CDATA[oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS]]></AdTitle><Impression id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_fwd?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}]]></Impression><Creatives><Creative><Linear><Duration>00:00:30</Duration><TrackingEvents><Tracking event=\\"firstQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_1q]]></Tracking><Tracking event=\\"midpoint\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_2q]]></Tracking><Tracking event=\\"thirdQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_3q]]></Tracking><Tracking event=\\"complete\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_4q]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[https://tr-us.adsmoloco.com/rtb/click?exchange=APPLOVIN&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&dcr=]]></ClickThrough></VideoClicks><MediaFiles><MediaFile id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" delivery=\\"progressive\\" type=\\"video/mp4\\" width=\\"360\\" height=\\"640\\"><![CDATA[https://cdn-f.adsmoloco.com/king/creative/la2szjv7_m16ly8y_qdpyqh49wthqhksm.mp4]]></MediaFile></MediaFiles></Linear><CreativeExtensions></CreativeExtensions></Creative><Creative><CompanionAds><Companion id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" width=\\"320\\" height=\\"480\\" assetWidth=\\"0\\" assetHeight=\\"0\\" expandedWidth=\\"0\\" expandedHeight=\\"0\\"><TrackingEvents><Tracking event=\\"creativeView\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=endcard]]></Tracking></TrackingEvents><HTMLResource><![CDATA[#PLAYABLE_FACTORY_SOURCE]]></HTMLResource></Companion></CompanionAds><CreativeExtensions></CreativeExtensions></Creative></Creatives><Description></Description><Survey></Survey><Extensions></Extensions></InLine></Ad></VAST>","adomain":["king.com"],"attr":[6],"bundle":"com.king.candycrushsaga","burl":"https://tr-us.adsmoloco.com/rtb/imp?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&price=${AUCTION_PRICE}","cat":["IAB9"],"cid":"d6CJa3T9aYcc1yEx","crid":"king:a:qd4LesSpgup13ArS","ext":{"crtype":"VAST 3.0","duration":30},"id":"1","impid":"1","lurl":"https://noti-us.adsmoloco.com/rtb/loss?code=${AUCTION_LOSS}&ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","nurl":"https://noti-us.adsmoloco.com/rtb/win?ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mbtw=${AUCTION_MINIMUM_BID_TO_WIN}&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","price":0.012}],"seat":"s"}]}'.replace(
|
|
@@ -5474,7 +5474,7 @@ const zr = [
|
|
|
5474
5474
|
const j = await At(s, d, U, "moloco", !1, T, {
|
|
5475
5475
|
molocoS3: !0
|
|
5476
5476
|
});
|
|
5477
|
-
await fetch(
|
|
5477
|
+
await fetch(q + "/" + j.url).then((B) => {
|
|
5478
5478
|
B.text().then((ce) => {
|
|
5479
5479
|
const we = {
|
|
5480
5480
|
Applovin: '{"cur":"USD","id":"2be72885d7954bd8a731108d86d41b4abb2a2197","seatbid":[{"bid":[{"adid":"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS","adm":"<VAST version=\\"3.0\\"><Ad id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><InLine><AdSystem version=\\"2.0\\"></AdSystem><AdTitle><![CDATA[oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS]]></AdTitle><Impression id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_fwd?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}]]></Impression><Creatives><Creative><Linear><Duration>00:00:30</Duration><TrackingEvents><Tracking event=\\"firstQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_1q]]></Tracking><Tracking event=\\"midpoint\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_2q]]></Tracking><Tracking event=\\"thirdQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_3q]]></Tracking><Tracking event=\\"complete\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_4q]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[https://tr-us.adsmoloco.com/rtb/click?exchange=APPLOVIN&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&dcr=]]></ClickThrough></VideoClicks><MediaFiles><MediaFile id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" delivery=\\"progressive\\" type=\\"video/mp4\\" width=\\"360\\" height=\\"640\\"><![CDATA[https://cdn-f.adsmoloco.com/king/creative/la2szjv7_m16ly8y_qdpyqh49wthqhksm.mp4]]></MediaFile></MediaFiles></Linear><CreativeExtensions></CreativeExtensions></Creative><Creative><CompanionAds><Companion id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" width=\\"320\\" height=\\"480\\" assetWidth=\\"0\\" assetHeight=\\"0\\" expandedWidth=\\"0\\" expandedHeight=\\"0\\"><TrackingEvents><Tracking event=\\"creativeView\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=endcard]]></Tracking></TrackingEvents><HTMLResource><![CDATA[#PLAYABLE_FACTORY_SOURCE]]></HTMLResource></Companion></CompanionAds><CreativeExtensions></CreativeExtensions></Creative></Creatives><Description></Description><Survey></Survey><Extensions></Extensions></InLine></Ad></VAST>","adomain":["king.com"],"attr":[6],"bundle":"com.king.candycrushsaga","burl":"https://tr-us.adsmoloco.com/rtb/imp?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&price=${AUCTION_PRICE}","cat":["IAB9"],"cid":"d6CJa3T9aYcc1yEx","crid":"king:a:qd4LesSpgup13ArS","ext":{"crtype":"VAST 3.0","duration":30},"id":"1","impid":"1","lurl":"https://noti-us.adsmoloco.com/rtb/loss?code=${AUCTION_LOSS}&ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","nurl":"https://noti-us.adsmoloco.com/rtb/win?ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mbtw=${AUCTION_MINIMUM_BID_TO_WIN}&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","price":0.012}],"seat":"s"}]}'.replace(
|
|
@@ -5595,7 +5595,14 @@ const zr = [
|
|
|
5595
5595
|
left: "0",
|
|
5596
5596
|
padding: "0.5rem"
|
|
5597
5597
|
},
|
|
5598
|
-
children: c === "Playable" && i !== "instantGame" && A && /* @__PURE__ */ u.jsx(
|
|
5598
|
+
children: (c === "Playable" || c === "Ready") && i !== "instantGame" && A && /* @__PURE__ */ u.jsx(
|
|
5599
|
+
ts,
|
|
5600
|
+
{
|
|
5601
|
+
checked: n,
|
|
5602
|
+
typeOfProduct: c,
|
|
5603
|
+
id: e
|
|
5604
|
+
}
|
|
5605
|
+
)
|
|
5599
5606
|
}
|
|
5600
5607
|
),
|
|
5601
5608
|
/* @__PURE__ */ u.jsx(
|
|
@@ -5636,7 +5643,7 @@ const zr = [
|
|
|
5636
5643
|
} else {
|
|
5637
5644
|
le("download");
|
|
5638
5645
|
const j = h.iosUrl, B = h.googleUrl;
|
|
5639
|
-
C && C.willSpendCredit ? (
|
|
5646
|
+
C && C.willSpendCredit ? (g(!0), k("download"), ee(!0)) : c !== "Import" && (!j || !B) ? (g(!0), Z(!0)) : (Z(!1), ee(!1), await _(d, i, void 0, !0, null, !0));
|
|
5640
5647
|
}
|
|
5641
5648
|
},
|
|
5642
5649
|
children: [
|
|
@@ -5669,7 +5676,7 @@ const zr = [
|
|
|
5669
5676
|
onClickDonwload: async () => {
|
|
5670
5677
|
le("copyLink");
|
|
5671
5678
|
const j = h.iosUrl, B = h.googleUrl;
|
|
5672
|
-
C && (C != null && C.willSpendCredit) ? (k("copy"),
|
|
5679
|
+
C && (C != null && C.willSpendCredit) ? (k("copy"), g(!0), ee(!0)) : c !== "Import" && (!j || !B) ? (g(!0), Z(!0)) : (ee(!1), Z(!1), await V());
|
|
5673
5680
|
},
|
|
5674
5681
|
disabled: M,
|
|
5675
5682
|
children: /* @__PURE__ */ u.jsx(Zi, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -5686,13 +5693,13 @@ const zr = [
|
|
|
5686
5693
|
{
|
|
5687
5694
|
creditConfirmType: f,
|
|
5688
5695
|
handleCopyLink: async () => {
|
|
5689
|
-
Z(!1),
|
|
5696
|
+
Z(!1), g(!1), await V();
|
|
5690
5697
|
},
|
|
5691
5698
|
download: async () => {
|
|
5692
|
-
Z(!1),
|
|
5699
|
+
Z(!1), g(!1), await _(d, i, void 0, !0, null, !0);
|
|
5693
5700
|
},
|
|
5694
5701
|
onClose: () => {
|
|
5695
|
-
ee(!1),
|
|
5702
|
+
ee(!1), g(!1);
|
|
5696
5703
|
},
|
|
5697
5704
|
flexDownloadCount: x
|
|
5698
5705
|
}
|
|
@@ -5701,16 +5708,16 @@ const zr = [
|
|
|
5701
5708
|
is,
|
|
5702
5709
|
{
|
|
5703
5710
|
onClose: () => {
|
|
5704
|
-
Z(!1),
|
|
5711
|
+
Z(!1), g(!1);
|
|
5705
5712
|
},
|
|
5706
5713
|
iosLink: h.iosUrl,
|
|
5707
5714
|
googleLink: h.googleUrl,
|
|
5708
5715
|
buttonType: se,
|
|
5709
5716
|
handleCopyLink: async () => {
|
|
5710
|
-
Z(!1),
|
|
5717
|
+
Z(!1), g(!1), await V();
|
|
5711
5718
|
},
|
|
5712
5719
|
download: async () => {
|
|
5713
|
-
Z(!1),
|
|
5720
|
+
Z(!1), g(!1), await _(d, i, void 0, !0, null, !0);
|
|
5714
5721
|
}
|
|
5715
5722
|
}
|
|
5716
5723
|
),
|
|
@@ -6051,10 +6058,10 @@ const ms = ({
|
|
|
6051
6058
|
urls: d,
|
|
6052
6059
|
game: s,
|
|
6053
6060
|
flexDownloadCount: m,
|
|
6054
|
-
disabled:
|
|
6061
|
+
disabled: q,
|
|
6055
6062
|
setSafariCopyLink: h
|
|
6056
6063
|
}) => {
|
|
6057
|
-
const [p,
|
|
6064
|
+
const [p, g] = $([]), [C, x] = $([]), [M, J] = $(!1), [K, b] = $(""), [X, U] = $(!1), [F, se] = $(!1), le = async (S) => {
|
|
6058
6065
|
J(!0);
|
|
6059
6066
|
const Z = await cs(n, S, o);
|
|
6060
6067
|
x(Z.details), b(Z.size), J(!1);
|
|
@@ -6062,9 +6069,9 @@ const ms = ({
|
|
|
6062
6069
|
const Z = [...p];
|
|
6063
6070
|
if (p.includes(S)) {
|
|
6064
6071
|
const O = Z.findIndex((f) => f === S);
|
|
6065
|
-
Z.splice(O, 1),
|
|
6072
|
+
Z.splice(O, 1), g(Z);
|
|
6066
6073
|
} else
|
|
6067
|
-
i === "Playable" ? (Z.push(S),
|
|
6074
|
+
i === "Playable" || i === "Ready" ? (Z.push(S), g([...p, S])) : (Z.splice(0), Z.push(S), g([S]));
|
|
6068
6075
|
let W = Yr.filter((O) => [...Z].includes(O.id)).map((O) => O.name);
|
|
6069
6076
|
await le(W);
|
|
6070
6077
|
}, ee = async () => {
|
|
@@ -6127,7 +6134,7 @@ const ms = ({
|
|
|
6127
6134
|
downloadFlex: t,
|
|
6128
6135
|
setIsConfirmActive: se,
|
|
6129
6136
|
flexDownloadCount: m,
|
|
6130
|
-
disabled:
|
|
6137
|
+
disabled: q,
|
|
6131
6138
|
user: a,
|
|
6132
6139
|
setSafariCopyLink: h
|
|
6133
6140
|
},
|
|
@@ -6139,7 +6146,7 @@ const ms = ({
|
|
|
6139
6146
|
]
|
|
6140
6147
|
}
|
|
6141
6148
|
),
|
|
6142
|
-
p.length > 1 && i === "Playable" && /* @__PURE__ */ u.jsx(
|
|
6149
|
+
p.length > 1 && (i === "Playable" || i === "Ready") && /* @__PURE__ */ u.jsx(
|
|
6143
6150
|
"div",
|
|
6144
6151
|
{
|
|
6145
6152
|
style: {
|
|
@@ -6177,12 +6184,12 @@ async function hs(e, t) {
|
|
|
6177
6184
|
} catch {
|
|
6178
6185
|
}
|
|
6179
6186
|
}
|
|
6180
|
-
async function
|
|
6187
|
+
async function gs(e, t) {
|
|
6181
6188
|
return (await Se.post(t + "/getPlayableVersionMarketLink", {
|
|
6182
6189
|
_id: e
|
|
6183
6190
|
})).data;
|
|
6184
6191
|
}
|
|
6185
|
-
async function
|
|
6192
|
+
async function qs(e, t) {
|
|
6186
6193
|
return (await Se.post(t + "/getFlexData", { _id: e })).data;
|
|
6187
6194
|
}
|
|
6188
6195
|
async function vs(e, t) {
|
|
@@ -6228,9 +6235,9 @@ const ys = [
|
|
|
6228
6235
|
fetchFileUrl: d,
|
|
6229
6236
|
fileSize: s,
|
|
6230
6237
|
setFileSize: m,
|
|
6231
|
-
setSafariCopyLink:
|
|
6238
|
+
setSafariCopyLink: q
|
|
6232
6239
|
}) => {
|
|
6233
|
-
const [h, p] = $(null), [
|
|
6240
|
+
const [h, p] = $(null), [g, C] = $(null), [x, M] = $(null), [J, K] = $(!1), [b, X] = $("Loading..."), [U, F] = $("Loading..."), [se, le] = $(!0), [ue, ee] = $(window.innerWidth);
|
|
6234
6241
|
Ee(() => {
|
|
6235
6242
|
const z = () => {
|
|
6236
6243
|
ee(window.innerWidth);
|
|
@@ -6251,8 +6258,8 @@ const ys = [
|
|
|
6251
6258
|
var w, D;
|
|
6252
6259
|
try {
|
|
6253
6260
|
let N;
|
|
6254
|
-
if (n === "Playable") {
|
|
6255
|
-
const Y = await
|
|
6261
|
+
if (n === "Playable" || n === "Ready") {
|
|
6262
|
+
const Y = await gs(t, o);
|
|
6256
6263
|
if (Y) {
|
|
6257
6264
|
X(Y.iosLink), F(Y.androidLink), K(!1);
|
|
6258
6265
|
return;
|
|
@@ -6272,7 +6279,7 @@ const ys = [
|
|
|
6272
6279
|
} else
|
|
6273
6280
|
F(""), X(""), K(!1);
|
|
6274
6281
|
} else if (n === "Flex") {
|
|
6275
|
-
const Y = await
|
|
6282
|
+
const Y = await qs(t, o);
|
|
6276
6283
|
if (Y.googleUrl || Y.iosUrl) {
|
|
6277
6284
|
F(Y.googleUrl), X(Y.iosUrl), K(!1);
|
|
6278
6285
|
return;
|
|
@@ -6291,7 +6298,7 @@ const ys = [
|
|
|
6291
6298
|
}) : M(z), K(!1);
|
|
6292
6299
|
}, k = async () => await hs(r, o);
|
|
6293
6300
|
return Ee(() => {
|
|
6294
|
-
i || (p(null), C(null), M(null), m(null)), i && (n === "Playable" ? (S().then((z) => {
|
|
6301
|
+
i || (p(null), C(null), M(null), m(null)), i && (n === "Playable" || n === "Ready" ? (S().then((z) => {
|
|
6295
6302
|
O(null, z);
|
|
6296
6303
|
}), le(!1)) : n === "Flex" ? f().then((z) => {
|
|
6297
6304
|
le(!1), k().then((v) => {
|
|
@@ -6340,7 +6347,7 @@ const ys = [
|
|
|
6340
6347
|
},
|
|
6341
6348
|
children: /* @__PURE__ */ u.jsx(dn, { isNetworksLoading: !0 })
|
|
6342
6349
|
}
|
|
6343
|
-
) : (h || x) && (n === "Flex" ?
|
|
6350
|
+
) : (h || x) && (n === "Flex" ? g : !0) && !J && b !== "Loading..." && U !== "Loading..." && /* @__PURE__ */ u.jsx(
|
|
6344
6351
|
ms,
|
|
6345
6352
|
{
|
|
6346
6353
|
playable: h,
|
|
@@ -6353,10 +6360,10 @@ const ys = [
|
|
|
6353
6360
|
handleDownloadError: c,
|
|
6354
6361
|
fetchFileUrl: d,
|
|
6355
6362
|
urls: { iosUrl: b, googleUrl: U },
|
|
6356
|
-
game:
|
|
6363
|
+
game: g,
|
|
6357
6364
|
flexDownloadCount: f,
|
|
6358
6365
|
disabled: se,
|
|
6359
|
-
setSafariCopyLink:
|
|
6366
|
+
setSafariCopyLink: q
|
|
6360
6367
|
}
|
|
6361
6368
|
)
|
|
6362
6369
|
]
|
|
@@ -6380,44 +6387,44 @@ var Vr = { exports: {} }, pt = {}, Br = { exports: {} }, Re = {}, Xr = { exports
|
|
|
6380
6387
|
* http://api.jqueryui.com/category/ui-core/
|
|
6381
6388
|
*/
|
|
6382
6389
|
var r = "none", n = "contents", i = /input|select|textarea|button|object|iframe/;
|
|
6383
|
-
function o(m,
|
|
6384
|
-
return
|
|
6390
|
+
function o(m, q) {
|
|
6391
|
+
return q.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow
|
|
6385
6392
|
m.scrollWidth <= 0 && m.scrollHeight <= 0;
|
|
6386
6393
|
}
|
|
6387
6394
|
function a(m) {
|
|
6388
|
-
var
|
|
6389
|
-
if (
|
|
6395
|
+
var q = m.offsetWidth <= 0 && m.offsetHeight <= 0;
|
|
6396
|
+
if (q && !m.innerHTML)
|
|
6390
6397
|
return !0;
|
|
6391
6398
|
try {
|
|
6392
6399
|
var h = window.getComputedStyle(m), p = h.getPropertyValue("display");
|
|
6393
|
-
return
|
|
6400
|
+
return q ? p !== n && o(m, h) : p === r;
|
|
6394
6401
|
} catch {
|
|
6395
6402
|
return console.warn("Failed to inspect element style"), !1;
|
|
6396
6403
|
}
|
|
6397
6404
|
}
|
|
6398
6405
|
function A(m) {
|
|
6399
|
-
for (var
|
|
6400
|
-
if (h &&
|
|
6406
|
+
for (var q = m, h = m.getRootNode && m.getRootNode(); q && q !== document.body; ) {
|
|
6407
|
+
if (h && q === h && (q = h.host.parentNode), a(q))
|
|
6401
6408
|
return !1;
|
|
6402
|
-
|
|
6409
|
+
q = q.parentNode;
|
|
6403
6410
|
}
|
|
6404
6411
|
return !0;
|
|
6405
6412
|
}
|
|
6406
|
-
function c(m,
|
|
6407
|
-
var h = m.nodeName.toLowerCase(), p = i.test(h) && !m.disabled || h === "a" && m.href ||
|
|
6413
|
+
function c(m, q) {
|
|
6414
|
+
var h = m.nodeName.toLowerCase(), p = i.test(h) && !m.disabled || h === "a" && m.href || q;
|
|
6408
6415
|
return p && A(m);
|
|
6409
6416
|
}
|
|
6410
6417
|
function d(m) {
|
|
6411
|
-
var
|
|
6412
|
-
|
|
6413
|
-
var h = isNaN(
|
|
6414
|
-
return (h ||
|
|
6418
|
+
var q = m.getAttribute("tabindex");
|
|
6419
|
+
q === null && (q = void 0);
|
|
6420
|
+
var h = isNaN(q);
|
|
6421
|
+
return (h || q >= 0) && c(m, !h);
|
|
6415
6422
|
}
|
|
6416
6423
|
function s(m) {
|
|
6417
|
-
var
|
|
6424
|
+
var q = [].slice.call(m.querySelectorAll("*"), 0).reduce(function(h, p) {
|
|
6418
6425
|
return h.concat(p.shadowRoot ? s(p.shadowRoot) : [p]);
|
|
6419
6426
|
}, []);
|
|
6420
|
-
return
|
|
6427
|
+
return q.filter(d);
|
|
6421
6428
|
}
|
|
6422
6429
|
e.exports = t.default;
|
|
6423
6430
|
})(Xr, Xr.exports);
|
|
@@ -6438,7 +6445,7 @@ var Zs = eo, Is = xs(Zs);
|
|
|
6438
6445
|
function xs(e) {
|
|
6439
6446
|
return e && e.__esModule ? e : { default: e };
|
|
6440
6447
|
}
|
|
6441
|
-
var ft = [],
|
|
6448
|
+
var ft = [], qt = null, Ur = !1;
|
|
6442
6449
|
function ws() {
|
|
6443
6450
|
ft = [];
|
|
6444
6451
|
}
|
|
@@ -6453,11 +6460,11 @@ function Yt() {
|
|
|
6453
6460
|
}
|
|
6454
6461
|
function jt() {
|
|
6455
6462
|
if (Ur) {
|
|
6456
|
-
if (Ur = !1, !
|
|
6463
|
+
if (Ur = !1, !qt)
|
|
6457
6464
|
return;
|
|
6458
6465
|
setTimeout(function() {
|
|
6459
|
-
if (!
|
|
6460
|
-
var e = (0, Is.default)(
|
|
6466
|
+
if (!qt.contains(document.activeElement)) {
|
|
6467
|
+
var e = (0, Is.default)(qt)[0] || qt;
|
|
6461
6468
|
e.focus();
|
|
6462
6469
|
}
|
|
6463
6470
|
}, 0);
|
|
@@ -6479,10 +6486,10 @@ function Ss() {
|
|
|
6479
6486
|
ft.length > 0 && ft.pop();
|
|
6480
6487
|
}
|
|
6481
6488
|
function ks(e) {
|
|
6482
|
-
|
|
6489
|
+
qt = e, window.addEventListener ? (window.addEventListener("blur", Yt, !1), document.addEventListener("focus", jt, !0)) : (window.attachEvent("onBlur", Yt), document.attachEvent("onFocus", jt));
|
|
6483
6490
|
}
|
|
6484
6491
|
function Os() {
|
|
6485
|
-
|
|
6492
|
+
qt = null, window.addEventListener ? (window.removeEventListener("blur", Yt), document.removeEventListener("focus", jt)) : (window.detachEvent("onBlur", Yt), document.detachEvent("onFocus", jt));
|
|
6486
6493
|
}
|
|
6487
6494
|
var Fr = { exports: {} };
|
|
6488
6495
|
(function(e, t) {
|
|
@@ -6503,21 +6510,21 @@ var Fr = { exports: {} };
|
|
|
6503
6510
|
c.preventDefault();
|
|
6504
6511
|
return;
|
|
6505
6512
|
}
|
|
6506
|
-
var s = void 0, m = c.shiftKey,
|
|
6513
|
+
var s = void 0, m = c.shiftKey, q = d[0], h = d[d.length - 1], p = o();
|
|
6507
6514
|
if (A === p) {
|
|
6508
6515
|
if (!m)
|
|
6509
6516
|
return;
|
|
6510
6517
|
s = h;
|
|
6511
6518
|
}
|
|
6512
|
-
if (h === p && !m && (s =
|
|
6519
|
+
if (h === p && !m && (s = q), q === p && m && (s = h), s) {
|
|
6513
6520
|
c.preventDefault(), s.focus();
|
|
6514
6521
|
return;
|
|
6515
6522
|
}
|
|
6516
|
-
var
|
|
6523
|
+
var g = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), C = g != null && g[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
6517
6524
|
if (C) {
|
|
6518
6525
|
var x = d.indexOf(p);
|
|
6519
6526
|
if (x > -1 && (x += m ? -1 : 1), s = d[x], typeof s > "u") {
|
|
6520
|
-
c.preventDefault(), s = m ? h :
|
|
6527
|
+
c.preventDefault(), s = m ? h : q, s.focus();
|
|
6521
6528
|
return;
|
|
6522
6529
|
}
|
|
6523
6530
|
c.preventDefault(), s.focus();
|
|
@@ -6580,10 +6587,10 @@ var Js = js, Ds = Ns(Js);
|
|
|
6580
6587
|
function Ns(e) {
|
|
6581
6588
|
return e && e.__esModule ? e : { default: e };
|
|
6582
6589
|
}
|
|
6583
|
-
var
|
|
6584
|
-
Ge.SafeHTMLCollection =
|
|
6585
|
-
Ge.SafeNodeList =
|
|
6586
|
-
Ge.canUseDOM =
|
|
6590
|
+
var gr = Ds.default, Ts = gr.canUseDOM ? window.HTMLElement : {};
|
|
6591
|
+
Ge.SafeHTMLCollection = gr.canUseDOM ? window.HTMLCollection : {};
|
|
6592
|
+
Ge.SafeNodeList = gr.canUseDOM ? window.NodeList : {};
|
|
6593
|
+
Ge.canUseDOM = gr.canUseDOM;
|
|
6587
6594
|
Ge.default = Ts;
|
|
6588
6595
|
Object.defineProperty(Qe, "__esModule", {
|
|
6589
6596
|
value: !0
|
|
@@ -6836,7 +6843,7 @@ sl.default.subscribe(dl);
|
|
|
6836
6843
|
return function(W, O, f) {
|
|
6837
6844
|
return O && Z(W.prototype, O), f && Z(W, f), W;
|
|
6838
6845
|
};
|
|
6839
|
-
}(), o = oe, a = sr, A = b(a), c = Re, d = K(c), s = Ws, m = b(s),
|
|
6846
|
+
}(), o = oe, a = sr, A = b(a), c = Re, d = K(c), s = Ws, m = b(s), q = Qe, h = K(q), p = Zt, g = K(p), C = Ge, x = b(C), M = It, J = b(M);
|
|
6840
6847
|
function K(Z) {
|
|
6841
6848
|
if (Z && Z.__esModule)
|
|
6842
6849
|
return Z;
|
|
@@ -6881,7 +6888,7 @@ sl.default.subscribe(dl);
|
|
|
6881
6888
|
f.content = k, f.props.contentRef && f.props.contentRef(k);
|
|
6882
6889
|
}, f.afterClose = function() {
|
|
6883
6890
|
var k = f.props, z = k.appElement, v = k.ariaHideApp, w = k.htmlOpenClassName, D = k.bodyOpenClassName, N = k.parentSelector, Y = N && N().ownerDocument || document;
|
|
6884
|
-
D &&
|
|
6891
|
+
D && g.remove(Y.body, D), w && g.remove(Y.getElementsByTagName("html")[0], w), v && ee > 0 && (ee -= 1, ee === 0 && h.show(z)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (d.returnFocus(f.props.preventScroll), d.teardownScopedFocus()) : d.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), J.default.deregister(f);
|
|
6885
6892
|
}, f.open = function() {
|
|
6886
6893
|
f.beforeOpen(), f.state.afterOpen && f.state.beforeClose ? (clearTimeout(f.closeTimer), f.setState({ beforeClose: !1 })) : (f.props.shouldFocusAfterRender && (d.setupScopedFocus(f.node), d.markForFocusLater()), f.setState({ isOpen: !0 }, function() {
|
|
6887
6894
|
f.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6962,7 +6969,7 @@ sl.default.subscribe(dl);
|
|
|
6962
6969
|
key: "beforeOpen",
|
|
6963
6970
|
value: function() {
|
|
6964
6971
|
var f = this.props, k = f.appElement, z = f.ariaHideApp, v = f.htmlOpenClassName, w = f.bodyOpenClassName, D = f.parentSelector, N = D && D().ownerDocument || document;
|
|
6965
|
-
w &&
|
|
6972
|
+
w && g.add(N.body, w), v && g.add(N.getElementsByTagName("html")[0], v), z && (ee += 1, h.hide(k)), J.default.register(this);
|
|
6966
6973
|
}
|
|
6967
6974
|
// Don't steal focus from inner elements
|
|
6968
6975
|
}, {
|
|
@@ -7096,8 +7103,8 @@ https://fb.me/react-async-component-lifecycle-hooks`
|
|
|
7096
7103
|
t.componentWillUpdate = Ao;
|
|
7097
7104
|
var A = t.componentDidUpdate;
|
|
7098
7105
|
t.componentDidUpdate = function(d, s, m) {
|
|
7099
|
-
var
|
|
7100
|
-
A.call(this, d, s,
|
|
7106
|
+
var q = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : m;
|
|
7107
|
+
A.call(this, d, s, q);
|
|
7101
7108
|
};
|
|
7102
7109
|
}
|
|
7103
7110
|
return e;
|
|
@@ -7117,7 +7124,7 @@ var ii = Object.assign || function(e) {
|
|
|
7117
7124
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
7118
7125
|
}
|
|
7119
7126
|
return e;
|
|
7120
|
-
},
|
|
7127
|
+
}, gl = function() {
|
|
7121
7128
|
function e(t, r) {
|
|
7122
7129
|
for (var n = 0; n < r.length; n++) {
|
|
7123
7130
|
var i = r[n];
|
|
@@ -7127,7 +7134,7 @@ var ii = Object.assign || function(e) {
|
|
|
7127
7134
|
return function(t, r, n) {
|
|
7128
7135
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
7129
7136
|
};
|
|
7130
|
-
}(), so = oe, or = Gt(so),
|
|
7137
|
+
}(), so = oe, or = Gt(so), ql = Eo, ar = Gt(ql), vl = sr, H = Gt(vl), yl = ml, oi = Gt(yl), bl = Qe, Cl = Il(bl), rt = Ge, ai = Gt(rt), Zl = hl;
|
|
7131
7138
|
function Il(e) {
|
|
7132
7139
|
if (e && e.__esModule)
|
|
7133
7140
|
return e;
|
|
@@ -7180,7 +7187,7 @@ var xt = function(e) {
|
|
|
7180
7187
|
i.portalRef(m);
|
|
7181
7188
|
}, n), Ai(i, o);
|
|
7182
7189
|
}
|
|
7183
|
-
return
|
|
7190
|
+
return gl(t, [{
|
|
7184
7191
|
key: "componentDidMount",
|
|
7185
7192
|
value: function() {
|
|
7186
7193
|
if (rt.canUseDOM) {
|
|
@@ -7547,25 +7554,25 @@ const $r = /* @__PURE__ */ So(El), Sl = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7547
7554
|
title: d,
|
|
7548
7555
|
iframeUrl: s,
|
|
7549
7556
|
handleDownloadError: m,
|
|
7550
|
-
fetchFileUrl:
|
|
7557
|
+
fetchFileUrl: q,
|
|
7551
7558
|
copyLinkUrl: h
|
|
7552
7559
|
}) => {
|
|
7553
|
-
const [p,
|
|
7560
|
+
const [p, g] = $(window.innerWidth), [C, x] = $(!1), [M, J] = $(s), [K, b] = $(!1), [X, U] = $(!0), [F, se] = $(null), [le, ue] = $(""), ee = async () => {
|
|
7554
7561
|
a === "Flex" ? rr({ _id: r, network: "default" }, A).then((S) => {
|
|
7555
|
-
x(!0), J(
|
|
7562
|
+
x(!0), J(q + "/" + S.url), S.size > 5 ? b(!0) : b(!1), se(S.size), U(!1);
|
|
7556
7563
|
}).catch(() => {
|
|
7557
7564
|
U(!1);
|
|
7558
7565
|
}) : a === "Import" ? nr(A, r, "default").then((S) => {
|
|
7559
|
-
x(!0), J(
|
|
7566
|
+
x(!0), J(q + "/" + S.url), U(!1);
|
|
7560
7567
|
}) : At(A, r, "", "default", !1, 0, {}).then((S) => {
|
|
7561
|
-
x(!0), J(
|
|
7568
|
+
x(!0), J(q + "/" + S.url), U(!1);
|
|
7562
7569
|
});
|
|
7563
7570
|
};
|
|
7564
7571
|
return Ee(() => {
|
|
7565
7572
|
e ? C || (ee(), x(!0)) : (x(!1), J(""));
|
|
7566
7573
|
}, [e]), Ee(() => {
|
|
7567
7574
|
const S = () => {
|
|
7568
|
-
|
|
7575
|
+
g(window.innerWidth);
|
|
7569
7576
|
};
|
|
7570
7577
|
return window.addEventListener("resize", S), () => {
|
|
7571
7578
|
window.removeEventListener("resize", S);
|
|
@@ -7643,7 +7650,7 @@ const $r = /* @__PURE__ */ So(El), Sl = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7643
7650
|
setLoading: U
|
|
7644
7651
|
}
|
|
7645
7652
|
),
|
|
7646
|
-
(a === "Flex" && !K || a === "Playable" || a === "Import") && /* @__PURE__ */ u.jsxs(
|
|
7653
|
+
(a === "Flex" && !K || a === "Playable" || a === "Ready" || a === "Import") && /* @__PURE__ */ u.jsxs(
|
|
7647
7654
|
$r,
|
|
7648
7655
|
{
|
|
7649
7656
|
isOpen: e,
|
|
@@ -7716,7 +7723,7 @@ const $r = /* @__PURE__ */ So(El), Sl = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7716
7723
|
typeOfProduct: a,
|
|
7717
7724
|
iframeUrl: M,
|
|
7718
7725
|
api: A,
|
|
7719
|
-
fetchFileUrl:
|
|
7726
|
+
fetchFileUrl: q,
|
|
7720
7727
|
copyLinkUrl: h,
|
|
7721
7728
|
setSafariCopyLink: ue
|
|
7722
7729
|
}
|
|
@@ -7758,7 +7765,7 @@ const $r = /* @__PURE__ */ So(El), Sl = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7758
7765
|
user: c,
|
|
7759
7766
|
title: d,
|
|
7760
7767
|
handleDownloadError: m,
|
|
7761
|
-
fetchFileUrl:
|
|
7768
|
+
fetchFileUrl: q,
|
|
7762
7769
|
fileSize: F,
|
|
7763
7770
|
setFileSize: se,
|
|
7764
7771
|
setSafariCopyLink: ue
|