gearboxdownloadmodal 4.0.9 → 4.0.11
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 +230 -168
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +16 -16
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -73,7 +73,7 @@ function Mo() {
|
|
|
73
73
|
return typeof I == "function" ? I : null;
|
|
74
74
|
}
|
|
75
75
|
var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
76
|
-
function
|
|
76
|
+
function k(l) {
|
|
77
77
|
{
|
|
78
78
|
for (var I = arguments.length, M = new Array(I > 1 ? I - 1 : 0), T = 1; T < I; T++)
|
|
79
79
|
M[T - 1] = arguments[T];
|
|
@@ -112,7 +112,7 @@ function Mo() {
|
|
|
112
112
|
function _(l) {
|
|
113
113
|
if (l == null)
|
|
114
114
|
return null;
|
|
115
|
-
if (typeof l.tag == "number" &&
|
|
115
|
+
if (typeof l.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof l == "function")
|
|
116
116
|
return l.displayName || l.name || null;
|
|
117
117
|
if (typeof l == "string")
|
|
118
118
|
return l;
|
|
@@ -154,14 +154,14 @@ function Mo() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var Z = Object.assign, x = 0,
|
|
157
|
+
var Z = Object.assign, x = 0, z, p, W, N, v, K, O;
|
|
158
158
|
function D() {
|
|
159
159
|
}
|
|
160
160
|
D.__reactDisabledLog = !0;
|
|
161
161
|
function j() {
|
|
162
162
|
{
|
|
163
163
|
if (x === 0) {
|
|
164
|
-
|
|
164
|
+
z = console.log, p = console.info, W = console.warn, N = console.error, v = console.group, K = console.groupCollapsed, O = console.groupEnd;
|
|
165
165
|
var l = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -191,7 +191,7 @@ function Mo() {
|
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
193
|
log: Z({}, l, {
|
|
194
|
-
value:
|
|
194
|
+
value: z
|
|
195
195
|
}),
|
|
196
196
|
info: Z({}, l, {
|
|
197
197
|
value: p
|
|
@@ -213,7 +213,7 @@ function Mo() {
|
|
|
213
213
|
})
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
x < 0 &&
|
|
216
|
+
x < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
var E = w.ReactCurrentDispatcher, Y;
|
|
@@ -365,7 +365,7 @@ function Mo() {
|
|
|
365
365
|
} catch (me) {
|
|
366
366
|
B = me;
|
|
367
367
|
}
|
|
368
|
-
B && !(B instanceof Error) && (Yt(ee),
|
|
368
|
+
B && !(B instanceof Error) && (Yt(ee), k("%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", M, U, typeof B), Yt(null)), B instanceof Error && !(B.message in nn) && (nn[B.message] = !0, Yt(ee), k("Failed %s type: %s", M, B.message), Yt(null));
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
@@ -391,7 +391,7 @@ function Mo() {
|
|
|
391
391
|
}
|
|
392
392
|
function an(l) {
|
|
393
393
|
if (oo(l))
|
|
394
|
-
return
|
|
394
|
+
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", io(l)), An(l);
|
|
395
395
|
}
|
|
396
396
|
var ht = w.ReactCurrentOwner, Ao = {
|
|
397
397
|
key: !0,
|
|
@@ -419,13 +419,13 @@ function Mo() {
|
|
|
419
419
|
function lo(l, I) {
|
|
420
420
|
if (typeof l.ref == "string" && ht.current && I && ht.current.stateNode !== I) {
|
|
421
421
|
var M = _(ht.current.type);
|
|
422
|
-
cr[M] || (
|
|
422
|
+
cr[M] || (k('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', _(ht.current.type), l.ref), cr[M] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
function uo(l, I) {
|
|
426
426
|
{
|
|
427
427
|
var M = function() {
|
|
428
|
-
sn || (sn = !0,
|
|
428
|
+
sn || (sn = !0, k("%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
|
M.isReactWarning = !0, Object.defineProperty(l, "key", {
|
|
431
431
|
get: M,
|
|
@@ -436,7 +436,7 @@ function Mo() {
|
|
|
436
436
|
function co(l, I) {
|
|
437
437
|
{
|
|
438
438
|
var M = function() {
|
|
439
|
-
ln || (ln = !0,
|
|
439
|
+
ln || (ln = !0, k("%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
|
M.isReactWarning = !0, Object.defineProperty(l, "ref", {
|
|
442
442
|
get: M,
|
|
@@ -550,7 +550,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
550
550
|
return;
|
|
551
551
|
mn[M] = !0;
|
|
552
552
|
var T = "";
|
|
553
|
-
l && l._owner && l._owner !== mr.current && (T = " It was passed a child from " + _(l._owner.type) + "."), at(l),
|
|
553
|
+
l && l._owner && l._owner !== mr.current && (T = " It was passed a child from " + _(l._owner.type) + "."), at(l), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, T), at(null);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
function pn(l, I) {
|
|
@@ -592,9 +592,9 @@ Check the top-level render call using <` + M + ">.");
|
|
|
592
592
|
} else if (I.PropTypes !== void 0 && !dr) {
|
|
593
593
|
dr = !0;
|
|
594
594
|
var ee = _(I);
|
|
595
|
-
|
|
595
|
+
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ee || "Unknown");
|
|
596
596
|
}
|
|
597
|
-
typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved &&
|
|
597
|
+
typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
function go(l) {
|
|
@@ -602,11 +602,11 @@ Check the top-level render call using <` + M + ">.");
|
|
|
602
602
|
for (var I = Object.keys(l.props), M = 0; M < I.length; M++) {
|
|
603
603
|
var T = I[M];
|
|
604
604
|
if (T !== "children" && T !== "key") {
|
|
605
|
-
at(l),
|
|
605
|
+
at(l), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", T), at(null);
|
|
606
606
|
break;
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
|
-
l.ref !== null && (at(l),
|
|
609
|
+
l.ref !== null && (at(l), k("Invalid attribute `ref` supplied to `React.Fragment`."), at(null));
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
function fn(l, I, M, T, ee, Ae) {
|
|
@@ -618,7 +618,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
618
618
|
var ye = fo(ee);
|
|
619
619
|
ye ? B += ye : B += cn();
|
|
620
620
|
var me;
|
|
621
|
-
l === null ? me = "null" : ur(l) ? me = "array" : l !== void 0 && l.$$typeof === t ? (me = "<" + (_(l.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : me = typeof l,
|
|
621
|
+
l === null ? me = "null" : ur(l) ? me = "array" : l !== void 0 && l.$$typeof === t ? (me = "<" + (_(l.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : me = typeof l, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", me, B);
|
|
622
622
|
}
|
|
623
623
|
var pe = po(l, I, M, ee, Ae);
|
|
624
624
|
if (pe == null)
|
|
@@ -632,7 +632,7 @@ Check the top-level render call using <` + M + ">.");
|
|
|
632
632
|
pn(we[st], l);
|
|
633
633
|
Object.freeze && Object.freeze(we);
|
|
634
634
|
} else
|
|
635
|
-
|
|
635
|
+
k("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
|
pn(we, l);
|
|
638
638
|
}
|
|
@@ -718,9 +718,9 @@ var $t = {}, ei = {
|
|
|
718
718
|
MODE_ALPHA_NUM: 2,
|
|
719
719
|
MODE_8BIT_BYTE: 4,
|
|
720
720
|
MODE_KANJI: 8
|
|
721
|
-
},
|
|
721
|
+
}, ko = ei;
|
|
722
722
|
function ti(e) {
|
|
723
|
-
this.mode =
|
|
723
|
+
this.mode = ko.MODE_8BIT_BYTE, this.data = e;
|
|
724
724
|
}
|
|
725
725
|
ti.prototype = {
|
|
726
726
|
getLength: function(e) {
|
|
@@ -731,12 +731,12 @@ ti.prototype = {
|
|
|
731
731
|
e.put(this.data.charCodeAt(t), 8);
|
|
732
732
|
}
|
|
733
733
|
};
|
|
734
|
-
var
|
|
734
|
+
var zo = ti, ri = {
|
|
735
735
|
L: 1,
|
|
736
736
|
M: 0,
|
|
737
737
|
Q: 3,
|
|
738
738
|
H: 2
|
|
739
|
-
},
|
|
739
|
+
}, kt = ri;
|
|
740
740
|
function je(e, t) {
|
|
741
741
|
this.totalCount = e, this.dataCount = t;
|
|
742
742
|
}
|
|
@@ -957,13 +957,13 @@ je.getRSBlocks = function(e, t) {
|
|
|
957
957
|
};
|
|
958
958
|
je.getRsBlockTable = function(e, t) {
|
|
959
959
|
switch (t) {
|
|
960
|
-
case
|
|
960
|
+
case kt.L:
|
|
961
961
|
return je.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
|
|
962
|
-
case
|
|
962
|
+
case kt.M:
|
|
963
963
|
return je.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
|
|
964
|
-
case
|
|
964
|
+
case kt.Q:
|
|
965
965
|
return je.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
|
|
966
|
-
case
|
|
966
|
+
case kt.H:
|
|
967
967
|
return je.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
|
|
968
968
|
default:
|
|
969
969
|
return;
|
|
@@ -1214,7 +1214,7 @@ var oi = Gt, Ke = ei, yn = oi, No = ii, Te = {
|
|
|
1214
1214
|
var d = Math.abs(100 * u / t / t - 50) / 5;
|
|
1215
1215
|
return r += d * 10, r;
|
|
1216
1216
|
}
|
|
1217
|
-
}, Do = he, Go =
|
|
1217
|
+
}, Do = he, Go = zo, Ai = jo, ai = Jo, Pe = Do, Ro = oi;
|
|
1218
1218
|
function Je(e, t) {
|
|
1219
1219
|
this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
|
|
1220
1220
|
}
|
|
@@ -1375,7 +1375,7 @@ Je.createBytes = function(e, t) {
|
|
|
1375
1375
|
u < A[a].length && (C[w++] = A[a][u]);
|
|
1376
1376
|
return C;
|
|
1377
1377
|
};
|
|
1378
|
-
var To = Je, Sr = { exports: {} },
|
|
1378
|
+
var To = Je, Sr = { exports: {} }, zt = { exports: {} }, re = {};
|
|
1379
1379
|
/** @license React v16.13.1
|
|
1380
1380
|
* react-is.production.min.js
|
|
1381
1381
|
*
|
|
@@ -1389,7 +1389,7 @@ function Ho() {
|
|
|
1389
1389
|
if (vn)
|
|
1390
1390
|
return re;
|
|
1391
1391
|
vn = 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, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118,
|
|
1392
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, A = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1393
1393
|
function J(b) {
|
|
1394
1394
|
if (typeof b == "object" && b !== null) {
|
|
1395
1395
|
var ie = b.$$typeof;
|
|
@@ -1448,7 +1448,7 @@ function Ho() {
|
|
|
1448
1448
|
}, re.isSuspense = function(b) {
|
|
1449
1449
|
return J(b) === d;
|
|
1450
1450
|
}, re.isValidElementType = function(b) {
|
|
1451
|
-
return typeof b == "string" || typeof b == "function" || b === n || b === s || b === o || b === i || b === d || b === q || typeof b == "object" && b !== null && (b.$$typeof === h || b.$$typeof === f || b.$$typeof === A || b.$$typeof === a || b.$$typeof === u || b.$$typeof === C || b.$$typeof === w || b.$$typeof ===
|
|
1451
|
+
return typeof b == "string" || typeof b == "function" || b === n || b === s || b === o || b === i || b === d || b === q || typeof b == "object" && b !== null && (b.$$typeof === h || b.$$typeof === f || b.$$typeof === A || b.$$typeof === a || b.$$typeof === u || b.$$typeof === C || b.$$typeof === w || b.$$typeof === k || b.$$typeof === g);
|
|
1452
1452
|
}, re.typeOf = J, re;
|
|
1453
1453
|
}
|
|
1454
1454
|
var ne = {};
|
|
@@ -1463,10 +1463,10 @@ var ne = {};
|
|
|
1463
1463
|
var bn;
|
|
1464
1464
|
function Xo() {
|
|
1465
1465
|
return bn || (bn = 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, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118,
|
|
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, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, k = 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 === s || L === o || L === i || L === d || L === q || typeof L == "object" && L !== null && (L.$$typeof === h || L.$$typeof === f || L.$$typeof === A || L.$$typeof === a || L.$$typeof === u || L.$$typeof === C || L.$$typeof === w || L.$$typeof ===
|
|
1469
|
+
L === n || L === s || L === o || L === i || L === d || L === q || typeof L == "object" && L !== null && (L.$$typeof === h || L.$$typeof === f || L.$$typeof === A || L.$$typeof === a || L.$$typeof === u || L.$$typeof === C || L.$$typeof === w || L.$$typeof === k || L.$$typeof === g);
|
|
1470
1470
|
}
|
|
1471
1471
|
function S(L) {
|
|
1472
1472
|
if (typeof L == "object" && L !== null) {
|
|
@@ -1500,7 +1500,7 @@ function Xo() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var b = c, ie = s, ae = a, F = A, oe = t, ue = u, ce = n, P = h, _ = f, Z = r, x = o,
|
|
1503
|
+
var b = c, ie = s, ae = a, F = A, oe = t, ue = u, ce = n, P = h, _ = f, Z = r, x = o, z = i, p = d, W = !1;
|
|
1504
1504
|
function N(L) {
|
|
1505
1505
|
return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(L) || S(L) === c;
|
|
1506
1506
|
}
|
|
@@ -1540,12 +1540,12 @@ function Xo() {
|
|
|
1540
1540
|
function de(L) {
|
|
1541
1541
|
return S(L) === d;
|
|
1542
1542
|
}
|
|
1543
|
-
ne.AsyncMode = b, ne.ConcurrentMode = ie, ne.ContextConsumer = ae, ne.ContextProvider = F, ne.Element = oe, ne.ForwardRef = ue, ne.Fragment = ce, ne.Lazy = P, ne.Memo = _, ne.Portal = Z, ne.Profiler = x, ne.StrictMode =
|
|
1543
|
+
ne.AsyncMode = b, ne.ConcurrentMode = ie, ne.ContextConsumer = ae, ne.ContextProvider = F, ne.Element = oe, ne.ForwardRef = ue, ne.Fragment = ce, ne.Lazy = P, ne.Memo = _, ne.Portal = Z, ne.Profiler = x, ne.StrictMode = z, ne.Suspense = p, ne.isAsyncMode = N, ne.isConcurrentMode = v, ne.isContextConsumer = K, ne.isContextProvider = O, ne.isElement = D, ne.isForwardRef = j, ne.isFragment = G, ne.isLazy = E, ne.isMemo = Y, ne.isPortal = R, ne.isProfiler = Q, ne.isStrictMode = X, ne.isSuspense = de, ne.isValidElementType = J, ne.typeOf = S;
|
|
1544
1544
|
}()), ne;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Cn;
|
|
1547
1547
|
function si() {
|
|
1548
|
-
return Cn || (Cn = 1, process.env.NODE_ENV === "production" ?
|
|
1548
|
+
return Cn || (Cn = 1, process.env.NODE_ENV === "production" ? zt.exports = Ho() : zt.exports = Xo()), zt.exports;
|
|
1549
1549
|
}
|
|
1550
1550
|
/*
|
|
1551
1551
|
object-assign
|
|
@@ -1695,7 +1695,7 @@ function Vo() {
|
|
|
1695
1695
|
object: w("object"),
|
|
1696
1696
|
string: w("string"),
|
|
1697
1697
|
symbol: w("symbol"),
|
|
1698
|
-
any:
|
|
1698
|
+
any: k(),
|
|
1699
1699
|
arrayOf: J,
|
|
1700
1700
|
element: S(),
|
|
1701
1701
|
elementType: b(),
|
|
@@ -1739,7 +1739,7 @@ function Vo() {
|
|
|
1739
1739
|
}
|
|
1740
1740
|
function w(v) {
|
|
1741
1741
|
function K(O, D, j, G, E, Y) {
|
|
1742
|
-
var R = O[D], Q =
|
|
1742
|
+
var R = O[D], Q = z(R);
|
|
1743
1743
|
if (Q !== v) {
|
|
1744
1744
|
var X = p(R);
|
|
1745
1745
|
return new g(
|
|
@@ -1751,7 +1751,7 @@ function Vo() {
|
|
|
1751
1751
|
}
|
|
1752
1752
|
return C(K);
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1754
|
+
function k() {
|
|
1755
1755
|
return C(A);
|
|
1756
1756
|
}
|
|
1757
1757
|
function J(v) {
|
|
@@ -1760,7 +1760,7 @@ function Vo() {
|
|
|
1760
1760
|
return new g("Property `" + E + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
1761
1761
|
var Y = O[D];
|
|
1762
1762
|
if (!Array.isArray(Y)) {
|
|
1763
|
-
var R =
|
|
1763
|
+
var R = z(Y);
|
|
1764
1764
|
return new g("Invalid " + G + " `" + E + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
1766
|
for (var Q = 0; Q < Y.length; Q++) {
|
|
@@ -1776,7 +1776,7 @@ function Vo() {
|
|
|
1776
1776
|
function v(K, O, D, j, G) {
|
|
1777
1777
|
var E = K[O];
|
|
1778
1778
|
if (!a(E)) {
|
|
1779
|
-
var Y =
|
|
1779
|
+
var Y = z(E);
|
|
1780
1780
|
return new g("Invalid " + j + " `" + G + "` of type " + ("`" + Y + "` supplied to `" + D + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
@@ -1787,7 +1787,7 @@ function Vo() {
|
|
|
1787
1787
|
function v(K, O, D, j, G) {
|
|
1788
1788
|
var E = K[O];
|
|
1789
1789
|
if (!e.isValidElementType(E)) {
|
|
1790
|
-
var Y =
|
|
1790
|
+
var Y = z(E);
|
|
1791
1791
|
return new g("Invalid " + j + " `" + G + "` of type " + ("`" + Y + "` supplied to `" + D + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
@@ -1825,7 +1825,7 @@ function Vo() {
|
|
|
1825
1825
|
function K(O, D, j, G, E) {
|
|
1826
1826
|
if (typeof v != "function")
|
|
1827
1827
|
return new g("Property `" + E + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
-
var Y = O[D], R =
|
|
1828
|
+
var Y = O[D], R = z(Y);
|
|
1829
1829
|
if (R !== "object")
|
|
1830
1830
|
return new g("Invalid " + G + " `" + E + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an object."));
|
|
1831
1831
|
for (var Q in Y)
|
|
@@ -1873,7 +1873,7 @@ function Vo() {
|
|
|
1873
1873
|
}
|
|
1874
1874
|
function P(v) {
|
|
1875
1875
|
function K(O, D, j, G, E) {
|
|
1876
|
-
var Y = O[D], R =
|
|
1876
|
+
var Y = O[D], R = z(Y);
|
|
1877
1877
|
if (R !== "object")
|
|
1878
1878
|
return new g("Invalid " + G + " `" + E + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1879
1879
|
for (var Q in v) {
|
|
@@ -1890,7 +1890,7 @@ function Vo() {
|
|
|
1890
1890
|
}
|
|
1891
1891
|
function _(v) {
|
|
1892
1892
|
function K(O, D, j, G, E) {
|
|
1893
|
-
var Y = O[D], R =
|
|
1893
|
+
var Y = O[D], R = z(Y);
|
|
1894
1894
|
if (R !== "object")
|
|
1895
1895
|
return new g("Invalid " + G + " `" + E + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1896
1896
|
var Q = t({}, O[D], v);
|
|
@@ -1947,14 +1947,14 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
1947
1947
|
function x(v, K) {
|
|
1948
1948
|
return v === "symbol" ? !0 : K ? K["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && K instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function z(v) {
|
|
1951
1951
|
var K = typeof v;
|
|
1952
1952
|
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : x(K, v) ? "symbol" : K;
|
|
1953
1953
|
}
|
|
1954
1954
|
function p(v) {
|
|
1955
1955
|
if (typeof v > "u" || v === null)
|
|
1956
1956
|
return "" + v;
|
|
1957
|
-
var K =
|
|
1957
|
+
var K = z(v);
|
|
1958
1958
|
if (K === "object") {
|
|
1959
1959
|
if (v instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -2279,7 +2279,7 @@ const OA = (e, t, r, { allOwnKeys: n } = {}) => (Mt(t, (i, o) => {
|
|
|
2279
2279
|
for (; t-- > 0; )
|
|
2280
2280
|
r[t] = e[t];
|
|
2281
2281
|
return r;
|
|
2282
|
-
},
|
|
2282
|
+
}, kA = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Qr(Uint8Array)), zA = (e, t) => {
|
|
2283
2283
|
const n = (e && e[Symbol.iterator]).call(e);
|
|
2284
2284
|
let i;
|
|
2285
2285
|
for (; (i = n.next()) && !i.done; ) {
|
|
@@ -2376,7 +2376,7 @@ const PA = (e) => {
|
|
|
2376
2376
|
isFunction: Oe,
|
|
2377
2377
|
isStream: wA,
|
|
2378
2378
|
isURLSearchParams: WA,
|
|
2379
|
-
isTypedArray:
|
|
2379
|
+
isTypedArray: kA,
|
|
2380
2380
|
isFileList: IA,
|
|
2381
2381
|
forEach: Mt,
|
|
2382
2382
|
merge: Lr,
|
|
@@ -2389,7 +2389,7 @@ const PA = (e) => {
|
|
|
2389
2389
|
kindOfTest: Ne,
|
|
2390
2390
|
endsWith: EA,
|
|
2391
2391
|
toArray: YA,
|
|
2392
|
-
forEachEntry:
|
|
2392
|
+
forEachEntry: zA,
|
|
2393
2393
|
matchAll: jA,
|
|
2394
2394
|
isHTMLForm: JA,
|
|
2395
2395
|
hasOwnProperty: On,
|
|
@@ -2526,14 +2526,14 @@ function or(e, t, r) {
|
|
|
2526
2526
|
if (!y.isUndefined(h)) {
|
|
2527
2527
|
if (d.indexOf(h) !== -1)
|
|
2528
2528
|
throw Error("Circular reference detected in " + g.join("."));
|
|
2529
|
-
d.push(h), y.forEach(h, function(w,
|
|
2529
|
+
d.push(h), y.forEach(h, function(w, k) {
|
|
2530
2530
|
(!(y.isUndefined(w) || w === null) && i.call(
|
|
2531
2531
|
t,
|
|
2532
2532
|
w,
|
|
2533
|
-
y.isString(
|
|
2533
|
+
y.isString(k) ? k.trim() : k,
|
|
2534
2534
|
g,
|
|
2535
2535
|
q
|
|
2536
|
-
)) === !0 && f(w, g ? g.concat(
|
|
2536
|
+
)) === !0 && f(w, g ? g.concat(k) : [k]);
|
|
2537
2537
|
}), d.pop();
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
@@ -3070,7 +3070,7 @@ function Ca(e, t) {
|
|
|
3070
3070
|
return f ? Math.round(q * 1e3 / f) : void 0;
|
|
3071
3071
|
};
|
|
3072
3072
|
}
|
|
3073
|
-
function
|
|
3073
|
+
function kn(e, t) {
|
|
3074
3074
|
let r = 0;
|
|
3075
3075
|
const n = Ca(50, 250);
|
|
3076
3076
|
return (i) => {
|
|
@@ -3144,7 +3144,7 @@ const Za = typeof XMLHttpRequest < "u", Ia = Za && function(e) {
|
|
|
3144
3144
|
}
|
|
3145
3145
|
i === void 0 && o.setContentType(null), "setRequestHeader" in s && y.forEach(o.toJSON(), function(h, g) {
|
|
3146
3146
|
s.setRequestHeader(g, h);
|
|
3147
|
-
}), y.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), A && A !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress",
|
|
3147
|
+
}), y.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), A && A !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", kn(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", kn(e.onUploadProgress)), (e.cancelToken || e.signal) && (a = (f) => {
|
|
3148
3148
|
s && (n(!f || f.type ? new St(null, e, s) : f), s.abort(), s = null);
|
|
3149
3149
|
}, e.cancelToken && e.cancelToken.subscribe(a), e.signal && (e.signal.aborted ? a() : e.signal.addEventListener("abort", a)));
|
|
3150
3150
|
const q = ba(u);
|
|
@@ -3191,7 +3191,7 @@ function Ir(e) {
|
|
|
3191
3191
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
3192
3192
|
throw new St(null, e);
|
|
3193
3193
|
}
|
|
3194
|
-
function
|
|
3194
|
+
function zn(e) {
|
|
3195
3195
|
return Ir(e), e.headers = Re.from(e.headers), e.data = Zr.call(
|
|
3196
3196
|
e,
|
|
3197
3197
|
e.transformRequest
|
|
@@ -3370,7 +3370,7 @@ class Pt {
|
|
|
3370
3370
|
});
|
|
3371
3371
|
let u, d = 0, q;
|
|
3372
3372
|
if (!c) {
|
|
3373
|
-
const h = [
|
|
3373
|
+
const h = [zn.bind(this), void 0];
|
|
3374
3374
|
for (h.unshift.apply(h, a), h.push.apply(h, s), q = h.length, u = Promise.resolve(r); d < q; )
|
|
3375
3375
|
u = u.then(h[d++], h[d++]);
|
|
3376
3376
|
return u;
|
|
@@ -3387,7 +3387,7 @@ class Pt {
|
|
|
3387
3387
|
}
|
|
3388
3388
|
}
|
|
3389
3389
|
try {
|
|
3390
|
-
u =
|
|
3390
|
+
u = zn.call(this, f);
|
|
3391
3391
|
} catch (h) {
|
|
3392
3392
|
return Promise.reject(h);
|
|
3393
3393
|
}
|
|
@@ -3503,7 +3503,7 @@ function Wa(e) {
|
|
|
3503
3503
|
function xa(e) {
|
|
3504
3504
|
return y.isObject(e) && e.isAxiosError === !0;
|
|
3505
3505
|
}
|
|
3506
|
-
const
|
|
3506
|
+
const kr = {
|
|
3507
3507
|
Continue: 100,
|
|
3508
3508
|
SwitchingProtocols: 101,
|
|
3509
3509
|
Processing: 102,
|
|
@@ -3568,10 +3568,10 @@ const zr = {
|
|
|
3568
3568
|
NotExtended: 510,
|
|
3569
3569
|
NetworkAuthenticationRequired: 511
|
|
3570
3570
|
};
|
|
3571
|
-
Object.entries(
|
|
3572
|
-
|
|
3571
|
+
Object.entries(kr).forEach(([e, t]) => {
|
|
3572
|
+
kr[t] = e;
|
|
3573
3573
|
});
|
|
3574
|
-
const Oa =
|
|
3574
|
+
const Oa = kr;
|
|
3575
3575
|
function Ei(e) {
|
|
3576
3576
|
const t = new Xt(e), r = pi(Xt.prototype.request, t);
|
|
3577
3577
|
return y.extend(r, Xt.prototype, t, { allOwnKeys: !0 }), y.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(i) {
|
|
@@ -3600,11 +3600,11 @@ fe.HttpStatusCode = Oa;
|
|
|
3600
3600
|
fe.default = fe;
|
|
3601
3601
|
const Ma = fe;
|
|
3602
3602
|
/*! typescript-cookie v1.0.6 | MIT */
|
|
3603
|
-
const Yi = (e) => encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape),
|
|
3603
|
+
const Yi = (e) => encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape), ki = (e) => encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent), _r = decodeURIComponent, $r = (e) => (e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent));
|
|
3604
3604
|
function Sa(e) {
|
|
3605
3605
|
return e = Object.assign({}, e), typeof e.expires == "number" && (e.expires = new Date(Date.now() + e.expires * 864e5)), e.expires != null && (e.expires = e.expires.toUTCString()), Object.entries(e).filter(([t, r]) => r != null && r !== !1).map(([t, r]) => r === !0 ? `; ${t}` : `; ${t}=${r.split(";")[0]}`).join("");
|
|
3606
3606
|
}
|
|
3607
|
-
function
|
|
3607
|
+
function zi(e, t, r) {
|
|
3608
3608
|
const n = /(?:^|; )([^=]*)=([^;]*)/g, i = {};
|
|
3609
3609
|
let o;
|
|
3610
3610
|
for (; (o = n.exec(document.cookie)) != null; )
|
|
@@ -3620,25 +3620,25 @@ const Nn = Object.freeze({
|
|
|
3620
3620
|
decodeName: _r,
|
|
3621
3621
|
decodeValue: $r,
|
|
3622
3622
|
encodeName: Yi,
|
|
3623
|
-
encodeValue:
|
|
3623
|
+
encodeValue: ki
|
|
3624
3624
|
}), en = Object.freeze({
|
|
3625
3625
|
path: "/"
|
|
3626
3626
|
});
|
|
3627
|
-
function ji(e, t, r = en, { encodeValue: n =
|
|
3627
|
+
function ji(e, t, r = en, { encodeValue: n = ki, encodeName: i = Yi } = {}) {
|
|
3628
3628
|
return document.cookie = `${i(e)}=${n(t, e)}${Sa(r)}`;
|
|
3629
3629
|
}
|
|
3630
3630
|
function Ji(e, { decodeValue: t = $r, decodeName: r = _r } = {}) {
|
|
3631
|
-
return
|
|
3631
|
+
return zi(e, t, r);
|
|
3632
3632
|
}
|
|
3633
3633
|
function La({ decodeValue: e = $r, decodeName: t = _r } = {}) {
|
|
3634
|
-
return
|
|
3634
|
+
return zi(void 0, e, t);
|
|
3635
3635
|
}
|
|
3636
3636
|
function Ea(e, t = en) {
|
|
3637
3637
|
ji(e, "", Object.assign({}, t, {
|
|
3638
3638
|
expires: -1
|
|
3639
3639
|
}));
|
|
3640
3640
|
}
|
|
3641
|
-
function
|
|
3641
|
+
function zr(e, t) {
|
|
3642
3642
|
const r = {
|
|
3643
3643
|
set: function(i, o, A) {
|
|
3644
3644
|
return ji(i, o, Object.assign({}, this.attributes, A), {
|
|
@@ -3655,10 +3655,10 @@ function kr(e, t) {
|
|
|
3655
3655
|
Ea(i, Object.assign({}, this.attributes, o));
|
|
3656
3656
|
},
|
|
3657
3657
|
withAttributes: function(i) {
|
|
3658
|
-
return
|
|
3658
|
+
return zr(this.converter, Object.assign({}, this.attributes, i));
|
|
3659
3659
|
},
|
|
3660
3660
|
withConverter: function(i) {
|
|
3661
|
-
return
|
|
3661
|
+
return zr(Object.assign({}, this.converter, i), this.attributes);
|
|
3662
3662
|
}
|
|
3663
3663
|
}, n = {
|
|
3664
3664
|
attributes: { value: Object.freeze(t) },
|
|
@@ -3666,7 +3666,7 @@ function kr(e, t) {
|
|
|
3666
3666
|
};
|
|
3667
3667
|
return Object.create(r, n);
|
|
3668
3668
|
}
|
|
3669
|
-
|
|
3669
|
+
zr({ read: Nn.decodeValue, write: Nn.encodeValue }, en);
|
|
3670
3670
|
let Ni;
|
|
3671
3671
|
typeof window < "u" && (Ni = Ji("token"));
|
|
3672
3672
|
const Ye = Ma.create({
|
|
@@ -3719,10 +3719,10 @@ function ar(e) {
|
|
|
3719
3719
|
let { children: a, position: c, preventExitTransition: s, done: u, nodeRef: d, isIn: q } = A;
|
|
3720
3720
|
const f = n ? `${t}--${c}` : t, h = n ? `${r}--${c}` : r, g = _e(0);
|
|
3721
3721
|
return wo(() => {
|
|
3722
|
-
const C = d.current, w = f.split(" "),
|
|
3723
|
-
J.target === d.current && (C.dispatchEvent(new Event("d")), C.removeEventListener("animationend",
|
|
3722
|
+
const C = d.current, w = f.split(" "), k = (J) => {
|
|
3723
|
+
J.target === d.current && (C.dispatchEvent(new Event("d")), C.removeEventListener("animationend", k), C.removeEventListener("animationcancel", k), g.current === 0 && J.type !== "animationcancel" && C.classList.remove(...w));
|
|
3724
3724
|
};
|
|
3725
|
-
C.classList.add(...w), C.addEventListener("animationend",
|
|
3725
|
+
C.classList.add(...w), C.addEventListener("animationend", k), C.addEventListener("animationcancel", k);
|
|
3726
3726
|
}, []), ve(() => {
|
|
3727
3727
|
const C = d.current, w = () => {
|
|
3728
3728
|
C.removeEventListener("animationend", w), i ? Ya(C, u, o) : u();
|
|
@@ -3766,7 +3766,7 @@ const xe = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
3766
3766
|
}, spinner: function() {
|
|
3767
3767
|
return te.createElement("div", { className: "Toastify__spinner" });
|
|
3768
3768
|
} };
|
|
3769
|
-
function
|
|
3769
|
+
function ka(e) {
|
|
3770
3770
|
const [, t] = Io((f) => f + 1, 0), [r, n] = V([]), i = _e(null), o = _e(/* @__PURE__ */ new Map()).current, A = (f) => r.indexOf(f) !== -1, a = _e({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: A, getToast: (f) => o.get(f) }).current;
|
|
3771
3771
|
function c(f) {
|
|
3772
3772
|
let { containerId: h } = f;
|
|
@@ -3786,23 +3786,23 @@ function za(e) {
|
|
|
3786
3786
|
return !i.current || a.props.enableMultiContainer && P.containerId !== a.props.containerId || o.has(P.toastId) && P.updateId == null;
|
|
3787
3787
|
}(w))
|
|
3788
3788
|
return;
|
|
3789
|
-
const { toastId:
|
|
3789
|
+
const { toastId: k, updateId: J, data: S } = w, { props: b } = a, ie = () => s(k), ae = J == null;
|
|
3790
3790
|
ae && a.count++;
|
|
3791
3791
|
const F = { ...b, style: b.toastStyle, key: a.toastKey++, ...Object.fromEntries(Object.entries(w).filter((P) => {
|
|
3792
3792
|
let [_, Z] = P;
|
|
3793
3793
|
return Z != null;
|
|
3794
|
-
})), toastId:
|
|
3795
|
-
const P = Dn(o.get(
|
|
3796
|
-
o.delete(
|
|
3794
|
+
})), toastId: k, updateId: J, data: S, closeToast: ie, isIn: !1, className: Qt(w.className || b.toastClassName), bodyClassName: Qt(w.bodyClassName || b.bodyClassName), progressClassName: Qt(w.progressClassName || b.progressClassName), autoClose: !w.isLoading && (oe = w.autoClose, ue = b.autoClose, oe === !1 || bt(oe) && oe > 0 ? oe : ue), deleteToast() {
|
|
3795
|
+
const P = Dn(o.get(k), "removed");
|
|
3796
|
+
o.delete(k), xe.emit(4, P);
|
|
3797
3797
|
const _ = a.queue.length;
|
|
3798
|
-
if (a.count =
|
|
3799
|
-
const Z =
|
|
3798
|
+
if (a.count = k == null ? a.count - a.displayedToast : a.count - 1, a.count < 0 && (a.count = 0), _ > 0) {
|
|
3799
|
+
const Z = k == null ? a.props.limit : 1;
|
|
3800
3800
|
if (_ === 1 || Z === 1)
|
|
3801
3801
|
a.displayedToast++, u();
|
|
3802
3802
|
else {
|
|
3803
3803
|
const x = Z > _ ? _ : Z;
|
|
3804
3804
|
a.displayedToast = x;
|
|
3805
|
-
for (let
|
|
3805
|
+
for (let z = 0; z < x; z++)
|
|
3806
3806
|
u();
|
|
3807
3807
|
}
|
|
3808
3808
|
} else
|
|
@@ -3810,9 +3810,9 @@ function za(e) {
|
|
|
3810
3810
|
} };
|
|
3811
3811
|
var oe, ue;
|
|
3812
3812
|
F.iconOut = function(P) {
|
|
3813
|
-
let { theme: _, type: Z, isLoading: x, icon:
|
|
3813
|
+
let { theme: _, type: Z, isLoading: x, icon: z } = P, p = null;
|
|
3814
3814
|
const W = { theme: _, type: Z };
|
|
3815
|
-
return
|
|
3815
|
+
return z === !1 || (be(z) ? p = z(W) : ut(z) ? p = Or(z, W) : nt(z) || bt(z) ? p = z : x ? p = Kr.spinner() : ((N) => N in Kr)(Z) && (p = Kr[Z](W))), p;
|
|
3816
3816
|
}(F), be(w.onOpen) && (F.onOpen = w.onOpen), be(w.onClose) && (F.onClose = w.onClose), F.closeButton = b.closeButton, w.closeButton === !1 || wr(w.closeButton) ? F.closeButton = w.closeButton : w.closeButton === !0 && (F.closeButton = !wr(b.closeButton) || b.closeButton);
|
|
3817
3817
|
let ce = f;
|
|
3818
3818
|
ut(f) && !nt(f.type) ? ce = Or(f, { closeToast: ie, toastProps: F, data: S }) : be(f) && (ce = f({ closeToast: ie, toastProps: F, data: S })), b.limit && b.limit > 0 && a.count > b.limit && ae ? a.queue.push({ toastContent: ce, toastProps: F, staleId: C }) : bt(g) ? setTimeout(() => {
|
|
@@ -3823,7 +3823,7 @@ function za(e) {
|
|
|
3823
3823
|
const { toastId: C } = h;
|
|
3824
3824
|
g && o.delete(g);
|
|
3825
3825
|
const w = { content: f, props: h };
|
|
3826
|
-
o.set(C, w), n((
|
|
3826
|
+
o.set(C, w), n((k) => [...k, C].filter((J) => J !== g)), xe.emit(4, Dn(w, w.props.updateId == null ? "added" : "updated"));
|
|
3827
3827
|
}
|
|
3828
3828
|
return ve(() => (a.containerId = e.containerId, xe.cancelEmit(3).on(0, d).on(1, (f) => i.current && s(f)).on(5, c).emit(2, a), () => {
|
|
3829
3829
|
o.clear(), xe.emit(3, a);
|
|
@@ -3843,11 +3843,11 @@ function Gn(e) {
|
|
|
3843
3843
|
function Rn(e) {
|
|
3844
3844
|
return e.targetTouches && e.targetTouches.length >= 1 ? e.targetTouches[0].clientY : e.clientY;
|
|
3845
3845
|
}
|
|
3846
|
-
function
|
|
3846
|
+
function za(e) {
|
|
3847
3847
|
const [t, r] = V(!1), [n, i] = V(!1), o = _e(null), A = _e({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, a = _e(e), { autoClose: c, pauseOnHover: s, closeToast: u, onClick: d, closeOnClick: q } = e;
|
|
3848
3848
|
function f(S) {
|
|
3849
3849
|
if (e.draggable) {
|
|
3850
|
-
S.nativeEvent.type === "touchstart" && S.nativeEvent.preventDefault(), A.didMove = !1, document.addEventListener("mousemove", w), document.addEventListener("mouseup",
|
|
3850
|
+
S.nativeEvent.type === "touchstart" && S.nativeEvent.preventDefault(), A.didMove = !1, document.addEventListener("mousemove", w), document.addEventListener("mouseup", k), document.addEventListener("touchmove", w), document.addEventListener("touchend", k);
|
|
3851
3851
|
const b = o.current;
|
|
3852
3852
|
A.canCloseOnClick = !0, A.canDrag = !0, A.boundingRect = b.getBoundingClientRect(), b.style.transition = "", A.x = Gn(S.nativeEvent), A.y = Rn(S.nativeEvent), e.draggableDirection === "x" ? (A.start = A.x, A.removalDistance = b.offsetWidth * (e.draggablePercent / 100)) : (A.start = A.y, A.removalDistance = b.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent / 100));
|
|
3853
3853
|
}
|
|
@@ -3868,8 +3868,8 @@ function ka(e) {
|
|
|
3868
3868
|
const b = o.current;
|
|
3869
3869
|
A.canDrag && b && (A.didMove = !0, t && C(), A.x = Gn(S), A.y = Rn(S), A.delta = e.draggableDirection === "x" ? A.x - A.start : A.y - A.start, A.start !== A.x && (A.canCloseOnClick = !1), b.style.transform = `translate${e.draggableDirection}(${A.delta}px)`, b.style.opacity = "" + (1 - Math.abs(A.delta / A.removalDistance)));
|
|
3870
3870
|
}
|
|
3871
|
-
function
|
|
3872
|
-
document.removeEventListener("mousemove", w), document.removeEventListener("mouseup",
|
|
3871
|
+
function k() {
|
|
3872
|
+
document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", k), document.removeEventListener("touchmove", w), document.removeEventListener("touchend", k);
|
|
3873
3873
|
const S = o.current;
|
|
3874
3874
|
if (A.canDrag && A.didMove && S) {
|
|
3875
3875
|
if (A.canDrag = !1, Math.abs(A.delta) > A.removalDistance)
|
|
@@ -3906,9 +3906,9 @@ function ja(e) {
|
|
|
3906
3906
|
} });
|
|
3907
3907
|
}
|
|
3908
3908
|
const Ja = (e) => {
|
|
3909
|
-
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } =
|
|
3909
|
+
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = za(e), { closeButton: o, children: A, autoClose: a, onClick: c, type: s, hideProgressBar: u, closeToast: d, transition: q, position: f, className: h, style: g, bodyClassName: C, bodyStyle: w, progressClassName: k, progressStyle: J, updateId: S, role: b, progress: ie, rtl: ae, toastId: F, deleteToast: oe, isIn: ue, isLoading: ce, iconOut: P, closeOnClick: _, theme: Z } = e, x = Xe("Toastify__toast", `Toastify__toast-theme--${Z}`, `Toastify__toast--${s}`, { "Toastify__toast--rtl": ae }, { "Toastify__toast--close-on-click": _ }), z = be(h) ? h({ rtl: ae, position: f, type: s, defaultClassName: x }) : Xe(x, h), p = !!ie || !a, W = { closeToast: d, type: s, theme: Z };
|
|
3910
3910
|
let N = null;
|
|
3911
|
-
return o === !1 || (N = be(o) ? o(W) : ut(o) ? Or(o, W) : Gi(W)), te.createElement(q, { isIn: ue, done: oe, position: f, preventExitTransition: r, nodeRef: n }, te.createElement("div", { id: F, onClick: c, className:
|
|
3911
|
+
return o === !1 || (N = be(o) ? o(W) : ut(o) ? Or(o, W) : Gi(W)), te.createElement(q, { isIn: ue, done: oe, position: f, preventExitTransition: r, nodeRef: n }, te.createElement("div", { id: F, onClick: c, className: z, ...i, style: g, ref: n }, te.createElement("div", { ...ue && { role: b }, className: be(C) ? C({ type: s }) : Xe("Toastify__toast-body", C), style: w }, P != null && te.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ce }) }, P), te.createElement("div", null, A)), N, te.createElement(ja, { ...S && !p ? { key: `pb-${S}` } : {}, rtl: ae, theme: Z, delay: a, isRunning: t, isIn: ue, closeToast: d, hide: u, type: s, style: J, className: k, controlledProgress: p, progress: ie || 0 })));
|
|
3912
3912
|
}, sr = function(e, t) {
|
|
3913
3913
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3914
3914
|
}, Na = ar(sr("bounce", !0));
|
|
@@ -3916,7 +3916,7 @@ ar(sr("slide", !0));
|
|
|
3916
3916
|
ar(sr("zoom"));
|
|
3917
3917
|
ar(sr("flip"));
|
|
3918
3918
|
const jr = Zo((e, t) => {
|
|
3919
|
-
const { getToastToRender: r, containerRef: n, isToastActive: i } =
|
|
3919
|
+
const { getToastToRender: r, containerRef: n, isToastActive: i } = ka(e), { className: o, style: A, rtl: a, containerId: c } = e;
|
|
3920
3920
|
function s(u) {
|
|
3921
3921
|
const d = Xe("Toastify__toast-container", `Toastify__toast-container--${u}`, { "Toastify__toast-container--rtl": a });
|
|
3922
3922
|
return be(o) ? o({ position: u, rtl: a, defaultClassName: d }) : Xe(d, Qt(o));
|
|
@@ -4881,32 +4881,94 @@ const es = ({
|
|
|
4881
4881
|
download: r,
|
|
4882
4882
|
creditConfirmType: n,
|
|
4883
4883
|
flexDownloadCount: i
|
|
4884
|
-
}) => /* @__PURE__ */ m.jsxs(
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4884
|
+
}) => /* @__PURE__ */ m.jsxs(
|
|
4885
|
+
"div",
|
|
4886
|
+
{
|
|
4887
|
+
style: {
|
|
4888
|
+
position: "absolute",
|
|
4889
|
+
top: 0,
|
|
4890
|
+
left: 0,
|
|
4891
|
+
display: "flex",
|
|
4892
|
+
height: "100%",
|
|
4893
|
+
width: "100%",
|
|
4894
|
+
alignItems: "center",
|
|
4895
|
+
justifyContent: "center",
|
|
4896
|
+
backgroundColor: "#00000080"
|
|
4897
|
+
},
|
|
4898
|
+
children: [
|
|
4889
4899
|
/* @__PURE__ */ m.jsx(
|
|
4890
|
-
"
|
|
4900
|
+
"div",
|
|
4891
4901
|
{
|
|
4892
4902
|
onClick: e,
|
|
4893
|
-
|
|
4894
|
-
|
|
4903
|
+
style: {
|
|
4904
|
+
position: "absolute",
|
|
4905
|
+
zIndex: 30,
|
|
4906
|
+
height: "100%",
|
|
4907
|
+
width: "100%"
|
|
4908
|
+
}
|
|
4895
4909
|
}
|
|
4896
4910
|
),
|
|
4897
|
-
/* @__PURE__ */ m.
|
|
4898
|
-
"
|
|
4911
|
+
/* @__PURE__ */ m.jsxs(
|
|
4912
|
+
"div",
|
|
4899
4913
|
{
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4914
|
+
style: {
|
|
4915
|
+
position: "absolute",
|
|
4916
|
+
zIndex: 50,
|
|
4917
|
+
display: "flex",
|
|
4918
|
+
maxHeight: "none",
|
|
4919
|
+
width: 350,
|
|
4920
|
+
flexDirection: "column",
|
|
4921
|
+
gap: "5px",
|
|
4922
|
+
borderRadius: "16px",
|
|
4923
|
+
padding: "5px",
|
|
4924
|
+
backgroundColor: "white"
|
|
4903
4925
|
},
|
|
4904
|
-
children:
|
|
4926
|
+
children: [
|
|
4927
|
+
/* @__PURE__ */ m.jsx("h1", { style: { textAlign: "center", fontSize: 18, lineHeight: "24px" }, children: "You are going to spend 1 credit for this download, do you want to continue?" }),
|
|
4928
|
+
/* @__PURE__ */ m.jsxs("div", { style: { display: "flex", gap: "5px" }, children: [
|
|
4929
|
+
/* @__PURE__ */ m.jsx(
|
|
4930
|
+
"button",
|
|
4931
|
+
{
|
|
4932
|
+
onClick: e,
|
|
4933
|
+
style: {
|
|
4934
|
+
flex: 1,
|
|
4935
|
+
cursor: "pointer",
|
|
4936
|
+
borderRadius: "16px",
|
|
4937
|
+
borderWidth: "1px",
|
|
4938
|
+
borderColor: "dark-50",
|
|
4939
|
+
padding: "2px",
|
|
4940
|
+
fontWeight: "bold"
|
|
4941
|
+
},
|
|
4942
|
+
children: "No"
|
|
4943
|
+
}
|
|
4944
|
+
),
|
|
4945
|
+
/* @__PURE__ */ m.jsx(
|
|
4946
|
+
"button",
|
|
4947
|
+
{
|
|
4948
|
+
onClick: async (o) => {
|
|
4949
|
+
o.preventDefault(), o.stopPropagation(), n === "download" ? (await r(), await i()) : n === "copy" && (await t(), await i()), e();
|
|
4950
|
+
},
|
|
4951
|
+
style: {
|
|
4952
|
+
flex: 1,
|
|
4953
|
+
cursor: "pointer",
|
|
4954
|
+
borderRadius: "16px",
|
|
4955
|
+
borderWidth: "1px",
|
|
4956
|
+
borderColor: "red-500",
|
|
4957
|
+
backgroundColor: "primary-dark-orange",
|
|
4958
|
+
padding: "2px",
|
|
4959
|
+
fontWeight: "bold",
|
|
4960
|
+
color: "white"
|
|
4961
|
+
},
|
|
4962
|
+
children: "Yes"
|
|
4963
|
+
}
|
|
4964
|
+
)
|
|
4965
|
+
] })
|
|
4966
|
+
]
|
|
4905
4967
|
}
|
|
4906
4968
|
)
|
|
4907
|
-
]
|
|
4908
|
-
|
|
4909
|
-
|
|
4969
|
+
]
|
|
4970
|
+
}
|
|
4971
|
+
), Qn = [
|
|
4910
4972
|
"adcolony",
|
|
4911
4973
|
"ironsource",
|
|
4912
4974
|
"applovin",
|
|
@@ -4936,11 +4998,11 @@ const es = ({
|
|
|
4936
4998
|
game: g,
|
|
4937
4999
|
setIsConfirmActive: C,
|
|
4938
5000
|
downloadFlex: w,
|
|
4939
|
-
flexDownloadCount:
|
|
5001
|
+
flexDownloadCount: k
|
|
4940
5002
|
}) => {
|
|
4941
5003
|
const [J, S] = V(!1), [b, ie] = V(wt(5)), [ae, F] = V(""), [oe, ue] = V(!1), [ce, P] = V(!1), [_, Z] = V("download"), x = () => {
|
|
4942
5004
|
r(e);
|
|
4943
|
-
},
|
|
5005
|
+
}, z = async (W, N, v, K, O, D) => {
|
|
4944
5006
|
try {
|
|
4945
5007
|
if (S(!0), g.iosUrl = h.iosUrl, g.googleUrl = h.googleUrl, await Xn(g, u), c === "Flex") {
|
|
4946
5008
|
const j = await Bt(
|
|
@@ -5205,7 +5267,7 @@ const es = ({
|
|
|
5205
5267
|
} else {
|
|
5206
5268
|
F("download");
|
|
5207
5269
|
const W = h.iosUrl, N = h.googleUrl;
|
|
5208
|
-
w.willSpendCredit ? (C(!0), Z("download"), ue(!0)) : !W || !N ? (C(!0), P(!0)) : (P(!1), ue(!1), await
|
|
5270
|
+
w && w.willSpendCredit ? (C(!0), Z("download"), ue(!0)) : !W || !N ? (C(!0), P(!0)) : (P(!1), ue(!1), await z(s, i, void 0, !0, null, !0));
|
|
5209
5271
|
}
|
|
5210
5272
|
},
|
|
5211
5273
|
children: [
|
|
@@ -5257,10 +5319,10 @@ const es = ({
|
|
|
5257
5319
|
P(!1), C(!1), p();
|
|
5258
5320
|
},
|
|
5259
5321
|
download: async () => {
|
|
5260
|
-
P(!1), C(!1), await
|
|
5322
|
+
P(!1), C(!1), await z(s, i, void 0, !0, null, !0);
|
|
5261
5323
|
},
|
|
5262
5324
|
onClose: () => ue(!1),
|
|
5263
|
-
flexDownloadCount:
|
|
5325
|
+
flexDownloadCount: k
|
|
5264
5326
|
}
|
|
5265
5327
|
),
|
|
5266
5328
|
ce && /* @__PURE__ */ m.jsx(
|
|
@@ -5276,7 +5338,7 @@ const es = ({
|
|
|
5276
5338
|
P(!1), C(!1), p();
|
|
5277
5339
|
},
|
|
5278
5340
|
download: async () => {
|
|
5279
|
-
P(!1), C(!1), await
|
|
5341
|
+
P(!1), C(!1), await z(s, i, void 0, !0, null, !0);
|
|
5280
5342
|
}
|
|
5281
5343
|
}
|
|
5282
5344
|
)
|
|
@@ -5931,14 +5993,14 @@ const as = ({
|
|
|
5931
5993
|
game: d,
|
|
5932
5994
|
flexDownloadCount: q
|
|
5933
5995
|
}) => {
|
|
5934
|
-
const [f, h] = V([]), [g, C] = V([]), [w,
|
|
5935
|
-
|
|
5996
|
+
const [f, h] = V([]), [g, C] = V([]), [w, k] = V(!1), [J, S] = V(""), [b, ie] = V(!1), [ae, F] = V(!1), [oe, ue] = V(!1), ce = async (Z) => {
|
|
5997
|
+
k(!0);
|
|
5936
5998
|
const x = await os(
|
|
5937
5999
|
n,
|
|
5938
6000
|
Z,
|
|
5939
6001
|
o
|
|
5940
6002
|
);
|
|
5941
|
-
C(x.details), S(x.size),
|
|
6003
|
+
C(x.details), S(x.size), k(!1);
|
|
5942
6004
|
}, P = async (Z) => {
|
|
5943
6005
|
const x = [...f];
|
|
5944
6006
|
if (f.includes(Z)) {
|
|
@@ -5946,15 +6008,15 @@ const as = ({
|
|
|
5946
6008
|
x.splice(p, 1), h(x);
|
|
5947
6009
|
} else
|
|
5948
6010
|
i === "Playable" ? (x.push(Z), h([...f, Z])) : (x.splice(0), x.push(Z), h([Z]));
|
|
5949
|
-
let
|
|
5950
|
-
await ce(
|
|
6011
|
+
let z = xr.filter((p) => [...x].includes(p.id)).map((p) => p.name);
|
|
6012
|
+
await ce(z);
|
|
5951
6013
|
}, _ = async () => {
|
|
5952
6014
|
try {
|
|
5953
6015
|
const Z = xr.filter((N) => [...f].includes(N.id)).map((N) => N.name);
|
|
5954
6016
|
ie(!0);
|
|
5955
|
-
const x = await As(n, Z, o), { url:
|
|
6017
|
+
const x = await As(n, Z, o), { url: z } = x;
|
|
5956
6018
|
let p;
|
|
5957
|
-
const W = s + "/" +
|
|
6019
|
+
const W = s + "/" + z;
|
|
5958
6020
|
p = document.createElement("iframe"), p.setAttribute("src", W), p.style.display = "none", document.body.appendChild(p), p.click(), ie(!1), $e("Multi downloaded completed successfully");
|
|
5959
6021
|
} catch (Z) {
|
|
5960
6022
|
ie(!1), c(Z.response.data.error.msg), console.error(Z);
|
|
@@ -6111,7 +6173,7 @@ const ps = [
|
|
|
6111
6173
|
handleDownloadError: c,
|
|
6112
6174
|
fetchFileUrl: s
|
|
6113
6175
|
}) => {
|
|
6114
|
-
const [u, d] = V(null), [q, f] = V(null), [h, g] = V(null), [C, w] = V(null), [
|
|
6176
|
+
const [u, d] = V(null), [q, f] = V(null), [h, g] = V(null), [C, w] = V(null), [k, J] = V(!1);
|
|
6115
6177
|
V({});
|
|
6116
6178
|
const [S, b] = V(null), [ie, ae] = V(null), [F, oe] = V(null), [ue, ce] = V(!0), [P, _] = V(window.innerWidth);
|
|
6117
6179
|
ve(() => {
|
|
@@ -6128,7 +6190,7 @@ const ps = [
|
|
|
6128
6190
|
O != null && O.networks || (O.networks = ps), d(O), J(!1);
|
|
6129
6191
|
}, x = (O) => {
|
|
6130
6192
|
ae(O);
|
|
6131
|
-
},
|
|
6193
|
+
}, z = (O) => {
|
|
6132
6194
|
oe(O);
|
|
6133
6195
|
}, p = async (O) => {
|
|
6134
6196
|
var D, j, G, E;
|
|
@@ -6229,13 +6291,13 @@ const ps = [
|
|
|
6229
6291
|
fileSize: C,
|
|
6230
6292
|
urls: { iosUrl: ie, googleUrl: F },
|
|
6231
6293
|
handleIosChange: x,
|
|
6232
|
-
handleGoogleChange:
|
|
6294
|
+
handleGoogleChange: z,
|
|
6233
6295
|
disabled: ue,
|
|
6234
6296
|
api: o,
|
|
6235
6297
|
downloadFlex: h
|
|
6236
6298
|
}
|
|
6237
6299
|
),
|
|
6238
|
-
|
|
6300
|
+
k && /* @__PURE__ */ m.jsx(
|
|
6239
6301
|
"div",
|
|
6240
6302
|
{
|
|
6241
6303
|
style: {
|
|
@@ -6249,7 +6311,7 @@ const ps = [
|
|
|
6249
6311
|
children: /* @__PURE__ */ m.jsx(Hi, { typeOfProduct: n })
|
|
6250
6312
|
}
|
|
6251
6313
|
),
|
|
6252
|
-
(u || h) && !
|
|
6314
|
+
(u || h) && !k && /* @__PURE__ */ m.jsx(
|
|
6253
6315
|
ss,
|
|
6254
6316
|
{
|
|
6255
6317
|
playable: u,
|
|
@@ -6271,7 +6333,7 @@ const ps = [
|
|
|
6271
6333
|
}
|
|
6272
6334
|
);
|
|
6273
6335
|
};
|
|
6274
|
-
var Jr = { exports: {} }, it = {}, Nr = { exports: {} },
|
|
6336
|
+
var Jr = { exports: {} }, it = {}, Nr = { exports: {} }, ke = {}, Dr = { exports: {} };
|
|
6275
6337
|
(function(e, t) {
|
|
6276
6338
|
Object.defineProperty(t, "__esModule", {
|
|
6277
6339
|
value: !0
|
|
@@ -6330,18 +6392,18 @@ var Jr = { exports: {} }, it = {}, Nr = { exports: {} }, ze = {}, Dr = { exports
|
|
|
6330
6392
|
e.exports = t.default;
|
|
6331
6393
|
})(Dr, Dr.exports);
|
|
6332
6394
|
var Pi = Dr.exports;
|
|
6333
|
-
Object.defineProperty(
|
|
6395
|
+
Object.defineProperty(ke, "__esModule", {
|
|
6334
6396
|
value: !0
|
|
6335
6397
|
});
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6398
|
+
ke.resetState = vs;
|
|
6399
|
+
ke.log = bs;
|
|
6400
|
+
ke.handleBlur = Kt;
|
|
6401
|
+
ke.handleFocus = Wt;
|
|
6402
|
+
ke.markForFocusLater = Cs;
|
|
6403
|
+
ke.returnFocus = Zs;
|
|
6404
|
+
ke.popWithoutFocus = Is;
|
|
6405
|
+
ke.setupScopedFocus = ws;
|
|
6406
|
+
ke.teardownScopedFocus = Ks;
|
|
6345
6407
|
var qs = Pi, gs = ys(qs);
|
|
6346
6408
|
function ys(e) {
|
|
6347
6409
|
return e && e.__esModule ? e : { default: e };
|
|
@@ -6433,7 +6495,7 @@ var Rr = { exports: {} };
|
|
|
6433
6495
|
}
|
|
6434
6496
|
e.exports = t.default;
|
|
6435
6497
|
})(Rr, Rr.exports);
|
|
6436
|
-
var Ws = Rr.exports,
|
|
6498
|
+
var Ws = Rr.exports, ze = {}, xs = process.env.NODE_ENV !== "production", Vi = function() {
|
|
6437
6499
|
};
|
|
6438
6500
|
if (xs) {
|
|
6439
6501
|
var Os = function(t, r) {
|
|
@@ -6488,23 +6550,23 @@ var Ls = Ss, Es = Ys(Ls);
|
|
|
6488
6550
|
function Ys(e) {
|
|
6489
6551
|
return e && e.__esModule ? e : { default: e };
|
|
6490
6552
|
}
|
|
6491
|
-
var lr = Es.default,
|
|
6553
|
+
var lr = Es.default, ks = lr.canUseDOM ? window.HTMLElement : {};
|
|
6492
6554
|
Ee.SafeHTMLCollection = lr.canUseDOM ? window.HTMLCollection : {};
|
|
6493
6555
|
Ee.SafeNodeList = lr.canUseDOM ? window.NodeList : {};
|
|
6494
6556
|
Ee.canUseDOM = lr.canUseDOM;
|
|
6495
|
-
Ee.default =
|
|
6496
|
-
Object.defineProperty(
|
|
6557
|
+
Ee.default = ks;
|
|
6558
|
+
Object.defineProperty(ze, "__esModule", {
|
|
6497
6559
|
value: !0
|
|
6498
6560
|
});
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
var
|
|
6561
|
+
ze.resetState = Ds;
|
|
6562
|
+
ze.log = Gs;
|
|
6563
|
+
ze.assertNodeList = Ui;
|
|
6564
|
+
ze.setElement = Rs;
|
|
6565
|
+
ze.validateElement = tn;
|
|
6566
|
+
ze.hide = Ts;
|
|
6567
|
+
ze.show = Hs;
|
|
6568
|
+
ze.documentNotReadyOrSSRTesting = Xs;
|
|
6569
|
+
var zs = Ms, js = Ns(zs), Js = Ee;
|
|
6508
6570
|
function Ns(e) {
|
|
6509
6571
|
return e && e.__esModule ? e : { default: e };
|
|
6510
6572
|
}
|
|
@@ -6725,9 +6787,9 @@ rl.default.subscribe(Al);
|
|
|
6725
6787
|
});
|
|
6726
6788
|
var r = Object.assign || function(Z) {
|
|
6727
6789
|
for (var x = 1; x < arguments.length; x++) {
|
|
6728
|
-
var
|
|
6729
|
-
for (var p in
|
|
6730
|
-
Object.prototype.hasOwnProperty.call(
|
|
6790
|
+
var z = arguments[x];
|
|
6791
|
+
for (var p in z)
|
|
6792
|
+
Object.prototype.hasOwnProperty.call(z, p) && (Z[p] = z[p]);
|
|
6731
6793
|
}
|
|
6732
6794
|
return Z;
|
|
6733
6795
|
}, n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(Z) {
|
|
@@ -6735,23 +6797,23 @@ rl.default.subscribe(Al);
|
|
|
6735
6797
|
} : function(Z) {
|
|
6736
6798
|
return Z && typeof Symbol == "function" && Z.constructor === Symbol && Z !== Symbol.prototype ? "symbol" : typeof Z;
|
|
6737
6799
|
}, i = function() {
|
|
6738
|
-
function Z(x,
|
|
6739
|
-
for (var p = 0; p <
|
|
6740
|
-
var W =
|
|
6800
|
+
function Z(x, z) {
|
|
6801
|
+
for (var p = 0; p < z.length; p++) {
|
|
6802
|
+
var W = z[p];
|
|
6741
6803
|
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(x, W.key, W);
|
|
6742
6804
|
}
|
|
6743
6805
|
}
|
|
6744
|
-
return function(x,
|
|
6745
|
-
return
|
|
6806
|
+
return function(x, z, p) {
|
|
6807
|
+
return z && Z(x.prototype, z), p && Z(x, p), x;
|
|
6746
6808
|
};
|
|
6747
|
-
}(), o = te, A = er, a = b(A), c =
|
|
6809
|
+
}(), o = te, A = er, a = b(A), c = ke, s = S(c), u = Ws, d = b(u), q = ze, f = S(q), h = dt, g = S(h), C = Ee, w = b(C), k = pt, J = b(k);
|
|
6748
6810
|
function S(Z) {
|
|
6749
6811
|
if (Z && Z.__esModule)
|
|
6750
6812
|
return Z;
|
|
6751
6813
|
var x = {};
|
|
6752
6814
|
if (Z != null)
|
|
6753
|
-
for (var
|
|
6754
|
-
Object.prototype.hasOwnProperty.call(Z,
|
|
6815
|
+
for (var z in Z)
|
|
6816
|
+
Object.prototype.hasOwnProperty.call(Z, z) && (x[z] = Z[z]);
|
|
6755
6817
|
return x.default = Z, x;
|
|
6756
6818
|
}
|
|
6757
6819
|
function b(Z) {
|
|
@@ -6780,9 +6842,9 @@ rl.default.subscribe(Al);
|
|
|
6780
6842
|
return x.code === "Escape" || x.keyCode === 27;
|
|
6781
6843
|
}, P = 0, _ = function(Z) {
|
|
6782
6844
|
F(x, Z);
|
|
6783
|
-
function x(
|
|
6845
|
+
function x(z) {
|
|
6784
6846
|
ie(this, x);
|
|
6785
|
-
var p = ae(this, (x.__proto__ || Object.getPrototypeOf(x)).call(this,
|
|
6847
|
+
var p = ae(this, (x.__proto__ || Object.getPrototypeOf(x)).call(this, z));
|
|
6786
6848
|
return p.setOverlayRef = function(W) {
|
|
6787
6849
|
p.overlay = W, p.props.overlayRef && p.props.overlayRef(W);
|
|
6788
6850
|
}, p.setContentRef = function(W) {
|
|
@@ -7035,7 +7097,7 @@ var Bn = Object.assign || function(e) {
|
|
|
7035
7097
|
return function(t, r, n) {
|
|
7036
7098
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
7037
7099
|
};
|
|
7038
|
-
}(), to = te, Ft = Lt(to), ml = Ko, _t = Lt(ml), dl = er, H = Lt(dl), pl = al, Un = Lt(pl), fl =
|
|
7100
|
+
}(), to = te, Ft = Lt(to), ml = Ko, _t = Lt(ml), dl = er, H = Lt(dl), pl = al, Un = Lt(pl), fl = ze, hl = gl(fl), Qe = Ee, Fn = Lt(Qe), ql = ul;
|
|
7039
7101
|
function gl(e) {
|
|
7040
7102
|
if (e && e.__esModule)
|
|
7041
7103
|
return e;
|
|
@@ -7267,12 +7329,12 @@ const Il = /* @__PURE__ */ Wo(Zl), Wl = ({
|
|
|
7267
7329
|
handleDownloadError: d,
|
|
7268
7330
|
fetchFileUrl: q
|
|
7269
7331
|
}) => {
|
|
7270
|
-
const [f, h] = V(window.innerWidth), [g, C] = V(!1), [w,
|
|
7332
|
+
const [f, h] = V(window.innerWidth), [g, C] = V(!1), [w, k] = V(u), J = async () => {
|
|
7271
7333
|
A === "Flex" ? await Bt(
|
|
7272
7334
|
{ _id: r, network: "default" },
|
|
7273
7335
|
a
|
|
7274
7336
|
).then((S) => {
|
|
7275
|
-
C(!0),
|
|
7337
|
+
C(!0), k("https://gearbox.playablefactory.app/files/" + S.url);
|
|
7276
7338
|
}) : await It(
|
|
7277
7339
|
a,
|
|
7278
7340
|
r,
|
|
@@ -7282,7 +7344,7 @@ const Il = /* @__PURE__ */ Wo(Zl), Wl = ({
|
|
|
7282
7344
|
0,
|
|
7283
7345
|
{}
|
|
7284
7346
|
).then((S) => {
|
|
7285
|
-
C(!0),
|
|
7347
|
+
C(!0), k("https://gearbox.playablefactory.app/files/" + S.url);
|
|
7286
7348
|
});
|
|
7287
7349
|
};
|
|
7288
7350
|
return ve(() => {
|