gearboxdownloadmodal 9.5.15 → 9.5.16
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.css +1 -1
- package/dist/index.es.js +267 -268
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +14 -14
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/gearbox-ai/networkDataNameMap.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -81,7 +81,7 @@ function Al() {
|
|
|
81
81
|
switch (Z) {
|
|
82
82
|
case K:
|
|
83
83
|
return "Fragment";
|
|
84
|
-
case
|
|
84
|
+
case U:
|
|
85
85
|
return "Profiler";
|
|
86
86
|
case S:
|
|
87
87
|
return "StrictMode";
|
|
@@ -103,14 +103,14 @@ function Al() {
|
|
|
103
103
|
case W:
|
|
104
104
|
return (Z._context.displayName || "Context") + ".Consumer";
|
|
105
105
|
case h:
|
|
106
|
-
var
|
|
107
|
-
return Z = Z.displayName, Z || (Z =
|
|
106
|
+
var R = Z.render;
|
|
107
|
+
return Z = Z.displayName, Z || (Z = R.displayName || R.name || "", Z = Z !== "" ? "ForwardRef(" + Z + ")" : "ForwardRef"), Z;
|
|
108
108
|
case Q:
|
|
109
|
-
return
|
|
109
|
+
return R = Z.displayName || null, R !== null ? R : e(Z.type) || "Memo";
|
|
110
110
|
case T:
|
|
111
|
-
|
|
111
|
+
R = Z._payload, Z = Z._init;
|
|
112
112
|
try {
|
|
113
|
-
return e(Z(
|
|
113
|
+
return e(Z(R));
|
|
114
114
|
} catch {
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -122,17 +122,17 @@ function Al() {
|
|
|
122
122
|
function t(Z) {
|
|
123
123
|
try {
|
|
124
124
|
i(Z);
|
|
125
|
-
var
|
|
125
|
+
var R = !1;
|
|
126
126
|
} catch {
|
|
127
|
-
|
|
127
|
+
R = !0;
|
|
128
128
|
}
|
|
129
|
-
if (
|
|
130
|
-
|
|
131
|
-
var b =
|
|
129
|
+
if (R) {
|
|
130
|
+
R = console;
|
|
131
|
+
var b = R.error, E = typeof Symbol == "function" && Symbol.toStringTag && Z[Symbol.toStringTag] || Z.constructor.name || "Object";
|
|
132
132
|
return b.call(
|
|
133
|
-
|
|
133
|
+
R,
|
|
134
134
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
135
|
-
|
|
135
|
+
E
|
|
136
136
|
), i(Z);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
@@ -142,8 +142,8 @@ function Al() {
|
|
|
142
142
|
if (typeof Z == "object" && Z !== null && Z.$$typeof === T)
|
|
143
143
|
return "<...>";
|
|
144
144
|
try {
|
|
145
|
-
var
|
|
146
|
-
return
|
|
145
|
+
var R = e(Z);
|
|
146
|
+
return R ? "<" + R + ">" : "<...>";
|
|
147
147
|
} catch {
|
|
148
148
|
return "<...>";
|
|
149
149
|
}
|
|
@@ -157,17 +157,17 @@ function Al() {
|
|
|
157
157
|
}
|
|
158
158
|
function s(Z) {
|
|
159
159
|
if (P.call(Z, "key")) {
|
|
160
|
-
var
|
|
161
|
-
if (
|
|
160
|
+
var R = Object.getOwnPropertyDescriptor(Z, "key").get;
|
|
161
|
+
if (R && R.isReactWarning)
|
|
162
162
|
return !1;
|
|
163
163
|
}
|
|
164
164
|
return Z.key !== void 0;
|
|
165
165
|
}
|
|
166
|
-
function n(Z,
|
|
166
|
+
function n(Z, R) {
|
|
167
167
|
function b() {
|
|
168
168
|
Y || (Y = !0, console.error(
|
|
169
169
|
"%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://react.dev/link/special-props)",
|
|
170
|
-
|
|
170
|
+
R
|
|
171
171
|
));
|
|
172
172
|
}
|
|
173
173
|
b.isReactWarning = !0, Object.defineProperty(Z, "key", {
|
|
@@ -181,14 +181,14 @@ function Al() {
|
|
|
181
181
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
182
182
|
)), Z = this.props.ref, Z !== void 0 ? Z : null;
|
|
183
183
|
}
|
|
184
|
-
function A(Z,
|
|
184
|
+
function A(Z, R, b, E, f, O) {
|
|
185
185
|
var N = b.ref;
|
|
186
186
|
return Z = {
|
|
187
187
|
$$typeof: c,
|
|
188
188
|
type: Z,
|
|
189
|
-
key:
|
|
189
|
+
key: R,
|
|
190
190
|
props: b,
|
|
191
|
-
_owner:
|
|
191
|
+
_owner: E
|
|
192
192
|
}, (N !== void 0 ? N : null) !== null ? Object.defineProperty(Z, "ref", {
|
|
193
193
|
enumerable: !1,
|
|
194
194
|
get: l
|
|
@@ -214,13 +214,13 @@ function Al() {
|
|
|
214
214
|
value: O
|
|
215
215
|
}), Object.freeze && (Object.freeze(Z.props), Object.freeze(Z)), Z;
|
|
216
216
|
}
|
|
217
|
-
function m(Z,
|
|
218
|
-
var N =
|
|
217
|
+
function m(Z, R, b, E, f, O) {
|
|
218
|
+
var N = R.children;
|
|
219
219
|
if (N !== void 0)
|
|
220
|
-
if (
|
|
220
|
+
if (E)
|
|
221
221
|
if (g(N)) {
|
|
222
|
-
for (
|
|
223
|
-
p(N[
|
|
222
|
+
for (E = 0; E < N.length; E++)
|
|
223
|
+
p(N[E]);
|
|
224
224
|
Object.freeze && Object.freeze(N);
|
|
225
225
|
} else
|
|
226
226
|
console.error(
|
|
@@ -228,30 +228,30 @@ function Al() {
|
|
|
228
228
|
);
|
|
229
229
|
else
|
|
230
230
|
p(N);
|
|
231
|
-
if (P.call(
|
|
231
|
+
if (P.call(R, "key")) {
|
|
232
232
|
N = e(Z);
|
|
233
|
-
var H = Object.keys(
|
|
233
|
+
var H = Object.keys(R).filter(function(ii) {
|
|
234
234
|
return ii !== "key";
|
|
235
235
|
});
|
|
236
|
-
|
|
236
|
+
E = 0 < H.length ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}", k[N + E] || (H = 0 < H.length ? "{" + H.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
237
237
|
`A props object containing a "key" prop is being spread into JSX:
|
|
238
238
|
let props = %s;
|
|
239
239
|
<%s {...props} />
|
|
240
240
|
React keys must be passed directly to JSX without using spread:
|
|
241
241
|
let props = %s;
|
|
242
242
|
<%s key={someKey} {...props} />`,
|
|
243
|
-
|
|
243
|
+
E,
|
|
244
244
|
N,
|
|
245
245
|
H,
|
|
246
246
|
N
|
|
247
|
-
), k[N +
|
|
247
|
+
), k[N + E] = !0);
|
|
248
248
|
}
|
|
249
|
-
if (N = null, b !== void 0 && (t(b), N = "" + b), s(
|
|
249
|
+
if (N = null, b !== void 0 && (t(b), N = "" + b), s(R) && (t(R.key), N = "" + R.key), "key" in R) {
|
|
250
250
|
b = {};
|
|
251
|
-
for (var $ in
|
|
252
|
-
$ !== "key" && (b[$] =
|
|
251
|
+
for (var $ in R)
|
|
252
|
+
$ !== "key" && (b[$] = R[$]);
|
|
253
253
|
} else
|
|
254
|
-
b =
|
|
254
|
+
b = R;
|
|
255
255
|
return N && n(
|
|
256
256
|
b,
|
|
257
257
|
typeof Z == "function" ? Z.displayName || Z.name || "Unknown" : Z
|
|
@@ -270,7 +270,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
270
270
|
function u(Z) {
|
|
271
271
|
return typeof Z == "object" && Z !== null && Z.$$typeof === c;
|
|
272
272
|
}
|
|
273
|
-
var I = Ki, c = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), K = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"),
|
|
273
|
+
var I = Ki, c = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), K = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), W = Symbol.for("react.consumer"), V = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), X = Symbol.for("react.activity"), B = Symbol.for("react.client.reference"), v = I.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, g = Array.isArray, L = console.createTask ? console.createTask : function() {
|
|
274
274
|
return null;
|
|
275
275
|
};
|
|
276
276
|
I = {
|
|
@@ -282,25 +282,25 @@ React keys must be passed directly to JSX without using spread:
|
|
|
282
282
|
I,
|
|
283
283
|
r
|
|
284
284
|
)(), D = L(a(r)), k = {};
|
|
285
|
-
$e.Fragment = K, $e.jsx = function(Z,
|
|
286
|
-
var
|
|
285
|
+
$e.Fragment = K, $e.jsx = function(Z, R, b) {
|
|
286
|
+
var E = 1e4 > v.recentlyCreatedOwnerStacks++;
|
|
287
287
|
return m(
|
|
288
288
|
Z,
|
|
289
|
-
|
|
289
|
+
R,
|
|
290
290
|
b,
|
|
291
291
|
!1,
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
E ? Error("react-stack-top-frame") : J,
|
|
293
|
+
E ? L(a(Z)) : D
|
|
294
294
|
);
|
|
295
|
-
}, $e.jsxs = function(Z,
|
|
296
|
-
var
|
|
295
|
+
}, $e.jsxs = function(Z, R, b) {
|
|
296
|
+
var E = 1e4 > v.recentlyCreatedOwnerStacks++;
|
|
297
297
|
return m(
|
|
298
298
|
Z,
|
|
299
|
-
|
|
299
|
+
R,
|
|
300
300
|
b,
|
|
301
301
|
!0,
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
E ? Error("react-stack-top-frame") : J,
|
|
303
|
+
E ? L(a(Z)) : D
|
|
304
304
|
);
|
|
305
305
|
};
|
|
306
306
|
}()), $e;
|
|
@@ -802,14 +802,14 @@ function ma(e, i, t) {
|
|
|
802
802
|
if (!y.isUndefined(c)) {
|
|
803
803
|
if (p.indexOf(c) !== -1)
|
|
804
804
|
throw Error("Circular reference detected in " + d.join("."));
|
|
805
|
-
p.push(c), y.forEach(c, function(S,
|
|
805
|
+
p.push(c), y.forEach(c, function(S, U) {
|
|
806
806
|
(!(y.isUndefined(S) || S === null) && o.call(
|
|
807
807
|
i,
|
|
808
808
|
S,
|
|
809
|
-
y.isString(
|
|
809
|
+
y.isString(U) ? U.trim() : U,
|
|
810
810
|
d,
|
|
811
811
|
u
|
|
812
|
-
)) === !0 && I(S, d ? d.concat(
|
|
812
|
+
)) === !0 && I(S, d ? d.concat(U) : [U]);
|
|
813
813
|
}), p.pop();
|
|
814
814
|
}
|
|
815
815
|
}
|
|
@@ -1526,9 +1526,9 @@ const gs = (e) => {
|
|
|
1526
1526
|
}), y.isUndefined(o.withCredentials) || (K.withCredentials = !!o.withCredentials), n && n !== "json" && (K.responseType = o.responseType), A && ([u, c] = Bt(A, !0), K.addEventListener("progress", u)), l && K.upload && ([p, I] = Bt(l), K.upload.addEventListener("progress", p), K.upload.addEventListener("loadend", I)), (o.cancelToken || o.signal) && (m = (W) => {
|
|
1527
1527
|
K && (a(!W || W.type ? new Te(null, e, K) : W), K.abort(), K = null);
|
|
1528
1528
|
}, o.cancelToken && o.cancelToken.subscribe(m), o.signal && (o.signal.aborted ? m() : o.signal.addEventListener("abort", m)));
|
|
1529
|
-
const
|
|
1530
|
-
if (
|
|
1531
|
-
a(new oi("Unsupported protocol " +
|
|
1529
|
+
const U = hA(o.url);
|
|
1530
|
+
if (U && Gi.protocols.indexOf(U) === -1) {
|
|
1531
|
+
a(new oi("Unsupported protocol " + U + ":", oi.ERR_BAD_REQUEST, e));
|
|
1532
1532
|
return;
|
|
1533
1533
|
}
|
|
1534
1534
|
K.send(r || null);
|
|
@@ -1676,7 +1676,7 @@ const gs = (e) => {
|
|
|
1676
1676
|
url: d,
|
|
1677
1677
|
method: K,
|
|
1678
1678
|
data: S,
|
|
1679
|
-
signal:
|
|
1679
|
+
signal: U,
|
|
1680
1680
|
cancelToken: W,
|
|
1681
1681
|
timeout: V,
|
|
1682
1682
|
onDownloadProgress: h,
|
|
@@ -1687,7 +1687,7 @@ const gs = (e) => {
|
|
|
1687
1687
|
fetchOptions: X
|
|
1688
1688
|
} = gs(c), B = i || fetch;
|
|
1689
1689
|
x = x ? (x + "").toLowerCase() : "text";
|
|
1690
|
-
let v = EA([
|
|
1690
|
+
let v = EA([U, W && W.toAbortSignal()], V), P = null;
|
|
1691
1691
|
const g = v && v.unsubscribe && (() => {
|
|
1692
1692
|
v.unsubscribe();
|
|
1693
1693
|
});
|
|
@@ -1698,13 +1698,13 @@ const gs = (e) => {
|
|
|
1698
1698
|
method: "POST",
|
|
1699
1699
|
body: S,
|
|
1700
1700
|
duplex: "half"
|
|
1701
|
-
}),
|
|
1702
|
-
if (y.isFormData(S) && (
|
|
1703
|
-
const [b,
|
|
1701
|
+
}), R;
|
|
1702
|
+
if (y.isFormData(S) && (R = Z.headers.get("content-type")) && Q.setContentType(R), Z.body) {
|
|
1703
|
+
const [b, E] = ir(
|
|
1704
1704
|
L,
|
|
1705
1705
|
Bt(er(G))
|
|
1706
1706
|
);
|
|
1707
|
-
S = ar(Z.body, or, b,
|
|
1707
|
+
S = ar(Z.body, or, b, E);
|
|
1708
1708
|
}
|
|
1709
1709
|
}
|
|
1710
1710
|
y.isString(T) || (T = T ? "include" : "omit");
|
|
@@ -1725,21 +1725,21 @@ const gs = (e) => {
|
|
|
1725
1725
|
["status", "statusText", "headers"].forEach((f) => {
|
|
1726
1726
|
Z[f] = J[f];
|
|
1727
1727
|
});
|
|
1728
|
-
const
|
|
1729
|
-
|
|
1728
|
+
const R = y.toFiniteNumber(J.headers.get("content-length")), [b, E] = h && ir(
|
|
1729
|
+
R,
|
|
1730
1730
|
Bt(er(h), !0)
|
|
1731
1731
|
) || [];
|
|
1732
1732
|
J = new a(
|
|
1733
1733
|
ar(J.body, or, b, () => {
|
|
1734
|
-
|
|
1734
|
+
E && E(), g && g();
|
|
1735
1735
|
}),
|
|
1736
1736
|
Z
|
|
1737
1737
|
);
|
|
1738
1738
|
}
|
|
1739
1739
|
x = x || "text";
|
|
1740
1740
|
let k = await p[y.findKey(p, x) || "text"](J, c);
|
|
1741
|
-
return !D && g && g(), await new Promise((Z,
|
|
1742
|
-
Ss(Z,
|
|
1741
|
+
return !D && g && g(), await new Promise((Z, R) => {
|
|
1742
|
+
Ss(Z, R, {
|
|
1743
1743
|
data: k,
|
|
1744
1744
|
headers: Hi.from(J.headers),
|
|
1745
1745
|
status: J.status,
|
|
@@ -2299,15 +2299,15 @@ const fA = ({ name: e, versionId: i, api: t, onNameChange: a }) => {
|
|
|
2299
2299
|
clearTimeout(pr), pr = setTimeout(() => {
|
|
2300
2300
|
i && t && S !== l.current && io(i, { name: S }, t).then(() => {
|
|
2301
2301
|
l.current = S, console.log("Version name updated successfully"), a && a(i, S);
|
|
2302
|
-
}).catch((
|
|
2303
|
-
console.error("Error updating version name:",
|
|
2302
|
+
}).catch((U) => {
|
|
2303
|
+
console.error("Error updating version name:", U);
|
|
2304
2304
|
});
|
|
2305
2305
|
}, 1e3);
|
|
2306
2306
|
}, I = () => {
|
|
2307
2307
|
n(!0);
|
|
2308
2308
|
}, c = (S) => {
|
|
2309
|
-
const
|
|
2310
|
-
r(
|
|
2309
|
+
const U = S.target.value;
|
|
2310
|
+
r(U), u(U);
|
|
2311
2311
|
}, d = () => {
|
|
2312
2312
|
n(!1);
|
|
2313
2313
|
}, K = (S) => {
|
|
@@ -2406,7 +2406,7 @@ function XA() {
|
|
|
2406
2406
|
if (ur)
|
|
2407
2407
|
return Zi;
|
|
2408
2408
|
ur = 1;
|
|
2409
|
-
var e = typeof Symbol == "function" && Symbol.for, i = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, A = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, u = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, K = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118,
|
|
2409
|
+
var e = typeof Symbol == "function" && Symbol.for, i = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, A = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, u = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, K = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
2410
2410
|
function W(h) {
|
|
2411
2411
|
if (typeof h == "object" && h !== null) {
|
|
2412
2412
|
var G = h.$$typeof;
|
|
@@ -2465,7 +2465,7 @@ function XA() {
|
|
|
2465
2465
|
}, Zi.isSuspense = function(h) {
|
|
2466
2466
|
return W(h) === p;
|
|
2467
2467
|
}, Zi.isValidElementType = function(h) {
|
|
2468
|
-
return typeof h == "string" || typeof h == "function" || h === a || h === A || h === r || h === o || h === p || h === u || typeof h == "object" && h !== null && (h.$$typeof === c || h.$$typeof === I || h.$$typeof === s || h.$$typeof === n || h.$$typeof === m || h.$$typeof === K || h.$$typeof === S || h.$$typeof ===
|
|
2468
|
+
return typeof h == "string" || typeof h == "function" || h === a || h === A || h === r || h === o || h === p || h === u || typeof h == "object" && h !== null && (h.$$typeof === c || h.$$typeof === I || h.$$typeof === s || h.$$typeof === n || h.$$typeof === m || h.$$typeof === K || h.$$typeof === S || h.$$typeof === U || h.$$typeof === d);
|
|
2469
2469
|
}, Zi.typeOf = W, Zi;
|
|
2470
2470
|
}
|
|
2471
2471
|
var hi = {};
|
|
@@ -2480,10 +2480,10 @@ var hi = {};
|
|
|
2480
2480
|
var Ir;
|
|
2481
2481
|
function vA() {
|
|
2482
2482
|
return Ir || (Ir = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2483
|
-
var e = typeof Symbol == "function" && Symbol.for, i = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, A = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, u = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, K = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118,
|
|
2483
|
+
var e = typeof Symbol == "function" && Symbol.for, i = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, A = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, u = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, K = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
2484
2484
|
function W(j) {
|
|
2485
2485
|
return typeof j == "string" || typeof j == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2486
|
-
j === a || j === A || j === r || j === o || j === p || j === u || typeof j == "object" && j !== null && (j.$$typeof === c || j.$$typeof === I || j.$$typeof === s || j.$$typeof === n || j.$$typeof === m || j.$$typeof === K || j.$$typeof === S || j.$$typeof ===
|
|
2486
|
+
j === a || j === A || j === r || j === o || j === p || j === u || typeof j == "object" && j !== null && (j.$$typeof === c || j.$$typeof === I || j.$$typeof === s || j.$$typeof === n || j.$$typeof === m || j.$$typeof === K || j.$$typeof === S || j.$$typeof === U || j.$$typeof === d);
|
|
2487
2487
|
}
|
|
2488
2488
|
function V(j) {
|
|
2489
2489
|
if (typeof j == "object" && j !== null) {
|
|
@@ -2527,13 +2527,13 @@ function vA() {
|
|
|
2527
2527
|
function Z(j) {
|
|
2528
2528
|
return V(j) === n;
|
|
2529
2529
|
}
|
|
2530
|
-
function
|
|
2530
|
+
function R(j) {
|
|
2531
2531
|
return V(j) === s;
|
|
2532
2532
|
}
|
|
2533
2533
|
function b(j) {
|
|
2534
2534
|
return typeof j == "object" && j !== null && j.$$typeof === i;
|
|
2535
2535
|
}
|
|
2536
|
-
function
|
|
2536
|
+
function E(j) {
|
|
2537
2537
|
return V(j) === m;
|
|
2538
2538
|
}
|
|
2539
2539
|
function f(j) {
|
|
@@ -2557,7 +2557,7 @@ function vA() {
|
|
|
2557
2557
|
function ci(j) {
|
|
2558
2558
|
return V(j) === p;
|
|
2559
2559
|
}
|
|
2560
|
-
hi.AsyncMode = h, hi.ConcurrentMode = G, hi.ContextConsumer = x, hi.ContextProvider = Q, hi.Element = T, hi.ForwardRef = X, hi.Fragment = B, hi.Lazy = v, hi.Memo = P, hi.Portal = g, hi.Profiler = L, hi.StrictMode = Y, hi.Suspense = C, hi.isAsyncMode = D, hi.isConcurrentMode = k, hi.isContextConsumer = Z, hi.isContextProvider =
|
|
2560
|
+
hi.AsyncMode = h, hi.ConcurrentMode = G, hi.ContextConsumer = x, hi.ContextProvider = Q, hi.Element = T, hi.ForwardRef = X, hi.Fragment = B, hi.Lazy = v, hi.Memo = P, hi.Portal = g, hi.Profiler = L, hi.StrictMode = Y, hi.Suspense = C, hi.isAsyncMode = D, hi.isConcurrentMode = k, hi.isContextConsumer = Z, hi.isContextProvider = R, hi.isElement = b, hi.isForwardRef = E, hi.isFragment = f, hi.isLazy = O, hi.isMemo = N, hi.isPortal = H, hi.isProfiler = $, hi.isStrictMode = ii, hi.isSuspense = ci, hi.isValidElementType = W, hi.typeOf = V;
|
|
2561
2561
|
}()), hi;
|
|
2562
2562
|
}
|
|
2563
2563
|
var Kr;
|
|
@@ -2712,7 +2712,7 @@ function _A() {
|
|
|
2712
2712
|
object: S("object"),
|
|
2713
2713
|
string: S("string"),
|
|
2714
2714
|
symbol: S("symbol"),
|
|
2715
|
-
any:
|
|
2715
|
+
any: U(),
|
|
2716
2716
|
arrayOf: W,
|
|
2717
2717
|
element: V(),
|
|
2718
2718
|
elementType: h(),
|
|
@@ -2733,7 +2733,7 @@ function _A() {
|
|
|
2733
2733
|
d.prototype = Error.prototype;
|
|
2734
2734
|
function K(k) {
|
|
2735
2735
|
if (process.env.NODE_ENV !== "production")
|
|
2736
|
-
var Z = {},
|
|
2736
|
+
var Z = {}, R = 0;
|
|
2737
2737
|
function b(f, O, N, H, $, ii, ci) {
|
|
2738
2738
|
if (H = H || u, ii = ii || N, ci !== t) {
|
|
2739
2739
|
if (l) {
|
|
@@ -2744,23 +2744,23 @@ function _A() {
|
|
|
2744
2744
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2745
2745
|
var di = H + ":" + N;
|
|
2746
2746
|
!Z[di] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
2747
|
-
|
|
2747
|
+
R < 3 && (r(
|
|
2748
2748
|
"You are manually calling a React.PropTypes validation function for the `" + ii + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
2749
|
-
), Z[di] = !0,
|
|
2749
|
+
), Z[di] = !0, R++);
|
|
2750
2750
|
}
|
|
2751
2751
|
}
|
|
2752
2752
|
return O[N] == null ? f ? O[N] === null ? new d("The " + $ + " `" + ii + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new d("The " + $ + " `" + ii + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : k(O, N, H, $, ii);
|
|
2753
2753
|
}
|
|
2754
|
-
var
|
|
2755
|
-
return
|
|
2754
|
+
var E = b.bind(null, !1);
|
|
2755
|
+
return E.isRequired = b.bind(null, !0), E;
|
|
2756
2756
|
}
|
|
2757
2757
|
function S(k) {
|
|
2758
|
-
function Z(
|
|
2759
|
-
var H =
|
|
2758
|
+
function Z(R, b, E, f, O, N) {
|
|
2759
|
+
var H = R[b], $ = Y(H);
|
|
2760
2760
|
if ($ !== k) {
|
|
2761
2761
|
var ii = C(H);
|
|
2762
2762
|
return new d(
|
|
2763
|
-
"Invalid " + f + " `" + O + "` of type " + ("`" + ii + "` supplied to `" +
|
|
2763
|
+
"Invalid " + f + " `" + O + "` of type " + ("`" + ii + "` supplied to `" + E + "`, expected ") + ("`" + k + "`."),
|
|
2764
2764
|
{ expectedType: k }
|
|
2765
2765
|
);
|
|
2766
2766
|
}
|
|
@@ -2768,20 +2768,20 @@ function _A() {
|
|
|
2768
2768
|
}
|
|
2769
2769
|
return K(Z);
|
|
2770
2770
|
}
|
|
2771
|
-
function
|
|
2771
|
+
function U() {
|
|
2772
2772
|
return K(s);
|
|
2773
2773
|
}
|
|
2774
2774
|
function W(k) {
|
|
2775
|
-
function Z(
|
|
2775
|
+
function Z(R, b, E, f, O) {
|
|
2776
2776
|
if (typeof k != "function")
|
|
2777
|
-
return new d("Property `" + O + "` of component `" +
|
|
2778
|
-
var N =
|
|
2777
|
+
return new d("Property `" + O + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
|
|
2778
|
+
var N = R[b];
|
|
2779
2779
|
if (!Array.isArray(N)) {
|
|
2780
2780
|
var H = Y(N);
|
|
2781
|
-
return new d("Invalid " + f + " `" + O + "` of type " + ("`" + H + "` supplied to `" +
|
|
2781
|
+
return new d("Invalid " + f + " `" + O + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an array."));
|
|
2782
2782
|
}
|
|
2783
2783
|
for (var $ = 0; $ < N.length; $++) {
|
|
2784
|
-
var ii = k(N, $,
|
|
2784
|
+
var ii = k(N, $, E, f, O + "[" + $ + "]", t);
|
|
2785
2785
|
if (ii instanceof Error)
|
|
2786
2786
|
return ii;
|
|
2787
2787
|
}
|
|
@@ -2790,32 +2790,32 @@ function _A() {
|
|
|
2790
2790
|
return K(Z);
|
|
2791
2791
|
}
|
|
2792
2792
|
function V() {
|
|
2793
|
-
function k(Z,
|
|
2794
|
-
var O = Z[
|
|
2793
|
+
function k(Z, R, b, E, f) {
|
|
2794
|
+
var O = Z[R];
|
|
2795
2795
|
if (!n(O)) {
|
|
2796
2796
|
var N = Y(O);
|
|
2797
|
-
return new d("Invalid " +
|
|
2797
|
+
return new d("Invalid " + E + " `" + f + "` of type " + ("`" + N + "` supplied to `" + b + "`, expected a single ReactElement."));
|
|
2798
2798
|
}
|
|
2799
2799
|
return null;
|
|
2800
2800
|
}
|
|
2801
2801
|
return K(k);
|
|
2802
2802
|
}
|
|
2803
2803
|
function h() {
|
|
2804
|
-
function k(Z,
|
|
2805
|
-
var O = Z[
|
|
2804
|
+
function k(Z, R, b, E, f) {
|
|
2805
|
+
var O = Z[R];
|
|
2806
2806
|
if (!e.isValidElementType(O)) {
|
|
2807
2807
|
var N = Y(O);
|
|
2808
|
-
return new d("Invalid " +
|
|
2808
|
+
return new d("Invalid " + E + " `" + f + "` of type " + ("`" + N + "` supplied to `" + b + "`, expected a single ReactElement type."));
|
|
2809
2809
|
}
|
|
2810
2810
|
return null;
|
|
2811
2811
|
}
|
|
2812
2812
|
return K(k);
|
|
2813
2813
|
}
|
|
2814
2814
|
function G(k) {
|
|
2815
|
-
function Z(
|
|
2816
|
-
if (!(
|
|
2817
|
-
var N = k.name || u, H = D(
|
|
2818
|
-
return new d("Invalid " + f + " `" + O + "` of type " + ("`" + H + "` supplied to `" +
|
|
2815
|
+
function Z(R, b, E, f, O) {
|
|
2816
|
+
if (!(R[b] instanceof k)) {
|
|
2817
|
+
var N = k.name || u, H = D(R[b]);
|
|
2818
|
+
return new d("Invalid " + f + " `" + O + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected ") + ("instance of `" + N + "`."));
|
|
2819
2819
|
}
|
|
2820
2820
|
return null;
|
|
2821
2821
|
}
|
|
@@ -2826,28 +2826,28 @@ function _A() {
|
|
|
2826
2826
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
|
|
2827
2827
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2828
2828
|
) : r("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
2829
|
-
function Z(
|
|
2830
|
-
for (var N =
|
|
2829
|
+
function Z(R, b, E, f, O) {
|
|
2830
|
+
for (var N = R[b], H = 0; H < k.length; H++)
|
|
2831
2831
|
if (c(N, k[H]))
|
|
2832
2832
|
return null;
|
|
2833
2833
|
var $ = JSON.stringify(k, function(ci, j) {
|
|
2834
2834
|
var di = C(j);
|
|
2835
2835
|
return di === "symbol" ? String(j) : j;
|
|
2836
2836
|
});
|
|
2837
|
-
return new d("Invalid " + f + " `" + O + "` of value `" + String(N) + "` " + ("supplied to `" +
|
|
2837
|
+
return new d("Invalid " + f + " `" + O + "` of value `" + String(N) + "` " + ("supplied to `" + E + "`, expected one of " + $ + "."));
|
|
2838
2838
|
}
|
|
2839
2839
|
return K(Z);
|
|
2840
2840
|
}
|
|
2841
2841
|
function Q(k) {
|
|
2842
|
-
function Z(
|
|
2842
|
+
function Z(R, b, E, f, O) {
|
|
2843
2843
|
if (typeof k != "function")
|
|
2844
|
-
return new d("Property `" + O + "` of component `" +
|
|
2845
|
-
var N =
|
|
2844
|
+
return new d("Property `" + O + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
|
|
2845
|
+
var N = R[b], H = Y(N);
|
|
2846
2846
|
if (H !== "object")
|
|
2847
|
-
return new d("Invalid " + f + " `" + O + "` of type " + ("`" + H + "` supplied to `" +
|
|
2847
|
+
return new d("Invalid " + f + " `" + O + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an object."));
|
|
2848
2848
|
for (var $ in N)
|
|
2849
2849
|
if (a(N, $)) {
|
|
2850
|
-
var ii = k(N, $,
|
|
2850
|
+
var ii = k(N, $, E, f, O + "." + $, t);
|
|
2851
2851
|
if (ii instanceof Error)
|
|
2852
2852
|
return ii;
|
|
2853
2853
|
}
|
|
@@ -2859,15 +2859,15 @@ function _A() {
|
|
|
2859
2859
|
if (!Array.isArray(k))
|
|
2860
2860
|
return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
2861
2861
|
for (var Z = 0; Z < k.length; Z++) {
|
|
2862
|
-
var
|
|
2863
|
-
if (typeof
|
|
2862
|
+
var R = k[Z];
|
|
2863
|
+
if (typeof R != "function")
|
|
2864
2864
|
return r(
|
|
2865
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + J(
|
|
2865
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + J(R) + " at index " + Z + "."
|
|
2866
2866
|
), s;
|
|
2867
2867
|
}
|
|
2868
|
-
function b(
|
|
2868
|
+
function b(E, f, O, N, H) {
|
|
2869
2869
|
for (var $ = [], ii = 0; ii < k.length; ii++) {
|
|
2870
|
-
var ci = k[ii], j = ci(
|
|
2870
|
+
var ci = k[ii], j = ci(E, f, O, N, H, t);
|
|
2871
2871
|
if (j == null)
|
|
2872
2872
|
return null;
|
|
2873
2873
|
j.data && a(j.data, "expectedType") && $.push(j.data.expectedType);
|
|
@@ -2878,26 +2878,26 @@ function _A() {
|
|
|
2878
2878
|
return K(b);
|
|
2879
2879
|
}
|
|
2880
2880
|
function X() {
|
|
2881
|
-
function k(Z,
|
|
2882
|
-
return g(Z[
|
|
2881
|
+
function k(Z, R, b, E, f) {
|
|
2882
|
+
return g(Z[R]) ? null : new d("Invalid " + E + " `" + f + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
|
|
2883
2883
|
}
|
|
2884
2884
|
return K(k);
|
|
2885
2885
|
}
|
|
2886
|
-
function B(k, Z,
|
|
2886
|
+
function B(k, Z, R, b, E) {
|
|
2887
2887
|
return new d(
|
|
2888
|
-
(k || "React class") + ": " + Z + " type `" +
|
|
2888
|
+
(k || "React class") + ": " + Z + " type `" + R + "." + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + E + "`."
|
|
2889
2889
|
);
|
|
2890
2890
|
}
|
|
2891
2891
|
function v(k) {
|
|
2892
|
-
function Z(
|
|
2893
|
-
var N =
|
|
2892
|
+
function Z(R, b, E, f, O) {
|
|
2893
|
+
var N = R[b], H = Y(N);
|
|
2894
2894
|
if (H !== "object")
|
|
2895
|
-
return new d("Invalid " + f + " `" + O + "` of type `" + H + "` " + ("supplied to `" +
|
|
2895
|
+
return new d("Invalid " + f + " `" + O + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
2896
2896
|
for (var $ in k) {
|
|
2897
2897
|
var ii = k[$];
|
|
2898
2898
|
if (typeof ii != "function")
|
|
2899
|
-
return B(
|
|
2900
|
-
var ci = ii(N, $,
|
|
2899
|
+
return B(E, f, O, $, C(ii));
|
|
2900
|
+
var ci = ii(N, $, E, f, O + "." + $, t);
|
|
2901
2901
|
if (ci)
|
|
2902
2902
|
return ci;
|
|
2903
2903
|
}
|
|
@@ -2906,21 +2906,21 @@ function _A() {
|
|
|
2906
2906
|
return K(Z);
|
|
2907
2907
|
}
|
|
2908
2908
|
function P(k) {
|
|
2909
|
-
function Z(
|
|
2910
|
-
var N =
|
|
2909
|
+
function Z(R, b, E, f, O) {
|
|
2910
|
+
var N = R[b], H = Y(N);
|
|
2911
2911
|
if (H !== "object")
|
|
2912
|
-
return new d("Invalid " + f + " `" + O + "` of type `" + H + "` " + ("supplied to `" +
|
|
2913
|
-
var $ = i({},
|
|
2912
|
+
return new d("Invalid " + f + " `" + O + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
2913
|
+
var $ = i({}, R[b], k);
|
|
2914
2914
|
for (var ii in $) {
|
|
2915
2915
|
var ci = k[ii];
|
|
2916
2916
|
if (a(k, ii) && typeof ci != "function")
|
|
2917
|
-
return B(
|
|
2917
|
+
return B(E, f, O, ii, C(ci));
|
|
2918
2918
|
if (!ci)
|
|
2919
2919
|
return new d(
|
|
2920
|
-
"Invalid " + f + " `" + O + "` key `" + ii + "` supplied to `" +
|
|
2920
|
+
"Invalid " + f + " `" + O + "` key `" + ii + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(R[b], null, " ") + `
|
|
2921
2921
|
Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
|
|
2922
2922
|
);
|
|
2923
|
-
var j = ci(N, ii,
|
|
2923
|
+
var j = ci(N, ii, E, f, O + "." + ii, t);
|
|
2924
2924
|
if (j)
|
|
2925
2925
|
return j;
|
|
2926
2926
|
}
|
|
@@ -2943,15 +2943,15 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
|
|
|
2943
2943
|
return !0;
|
|
2944
2944
|
var Z = p(k);
|
|
2945
2945
|
if (Z) {
|
|
2946
|
-
var
|
|
2946
|
+
var R = Z.call(k), b;
|
|
2947
2947
|
if (Z !== k.entries) {
|
|
2948
|
-
for (; !(b =
|
|
2948
|
+
for (; !(b = R.next()).done; )
|
|
2949
2949
|
if (!g(b.value))
|
|
2950
2950
|
return !1;
|
|
2951
2951
|
} else
|
|
2952
|
-
for (; !(b =
|
|
2953
|
-
var
|
|
2954
|
-
if (
|
|
2952
|
+
for (; !(b = R.next()).done; ) {
|
|
2953
|
+
var E = b.value;
|
|
2954
|
+
if (E && !g(E[1]))
|
|
2955
2955
|
return !1;
|
|
2956
2956
|
}
|
|
2957
2957
|
} else
|
|
@@ -4441,8 +4441,8 @@ class Pt extends ca {
|
|
|
4441
4441
|
}
|
|
4442
4442
|
const p = this.resolve(i, t);
|
|
4443
4443
|
let u = p && p.res;
|
|
4444
|
-
const I = p && p.usedKey || s, c = p && p.exactUsedKey || s, d = Object.prototype.toString.apply(u), K = ["[object Number]", "[object Function]", "[object RegExp]"], S = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays,
|
|
4445
|
-
if (
|
|
4444
|
+
const I = p && p.usedKey || s, c = p && p.exactUsedKey || s, d = Object.prototype.toString.apply(u), K = ["[object Number]", "[object Function]", "[object RegExp]"], S = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, U = !this.i18nFormat || this.i18nFormat.handleAsObject, W = !ei(u) && typeof u != "boolean" && typeof u != "number";
|
|
4445
|
+
if (U && u && W && K.indexOf(d) < 0 && !(ei(S) && Array.isArray(u))) {
|
|
4446
4446
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
4447
4447
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
4448
4448
|
const V = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(I, u, {
|
|
@@ -4464,7 +4464,7 @@ class Pt extends ca {
|
|
|
4464
4464
|
}
|
|
4465
4465
|
u = h;
|
|
4466
4466
|
}
|
|
4467
|
-
} else if (
|
|
4467
|
+
} else if (U && ei(S) && Array.isArray(u))
|
|
4468
4468
|
u = u.join(S), u && (u = this.extendTranslation(u, i, t, a));
|
|
4469
4469
|
else {
|
|
4470
4470
|
let V = !1, h = !1;
|
|
@@ -4564,20 +4564,20 @@ class Pt extends ca {
|
|
|
4564
4564
|
if (this.isValidLookup(a))
|
|
4565
4565
|
return;
|
|
4566
4566
|
s = S;
|
|
4567
|
-
const
|
|
4567
|
+
const U = [m];
|
|
4568
4568
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
4569
|
-
this.i18nFormat.addLookupKeys(
|
|
4569
|
+
this.i18nFormat.addLookupKeys(U, m, S, K, t);
|
|
4570
4570
|
else {
|
|
4571
4571
|
let V;
|
|
4572
4572
|
u && (V = this.pluralResolver.getSuffix(S, t.count, t));
|
|
4573
4573
|
const h = `${this.options.pluralSeparator}zero`, G = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
4574
|
-
if (u && (
|
|
4574
|
+
if (u && (U.push(m + V), t.ordinal && V.indexOf(G) === 0 && U.push(m + V.replace(G, this.options.pluralSeparator)), I && U.push(m + h)), c) {
|
|
4575
4575
|
const x = `${m}${this.options.contextSeparator}${t.context}`;
|
|
4576
|
-
|
|
4576
|
+
U.push(x), u && (U.push(x + V), t.ordinal && V.indexOf(G) === 0 && U.push(x + V.replace(G, this.options.pluralSeparator)), I && U.push(x + h));
|
|
4577
4577
|
}
|
|
4578
4578
|
}
|
|
4579
4579
|
let W;
|
|
4580
|
-
for (; W =
|
|
4580
|
+
for (; W = U.pop(); )
|
|
4581
4581
|
this.isValidLookup(a) || (r = W, a = this.getResource(S, K, W, t));
|
|
4582
4582
|
}));
|
|
4583
4583
|
});
|
|
@@ -4927,9 +4927,9 @@ class aq {
|
|
|
4927
4927
|
nestingSuffixEscaped: d,
|
|
4928
4928
|
nestingOptionsSeparator: K,
|
|
4929
4929
|
maxReplaces: S,
|
|
4930
|
-
alwaysFormat:
|
|
4930
|
+
alwaysFormat: U
|
|
4931
4931
|
} = i.interpolation;
|
|
4932
|
-
this.escape = t !== void 0 ? t : Bm, this.escapeValue = a !== void 0 ? a : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = r ? Qe(r) : s || "{{", this.suffix = n ? Qe(n) : l || "}}", this.formatSeparator = A || ",", this.unescapePrefix = m ? "" : p || "-", this.unescapeSuffix = this.unescapePrefix ? "" : m || "", this.nestingPrefix = u ? Qe(u) : I || Qe("$t("), this.nestingSuffix = c ? Qe(c) : d || Qe(")"), this.nestingOptionsSeparator = K || ",", this.maxReplaces = S || 1e3, this.alwaysFormat =
|
|
4932
|
+
this.escape = t !== void 0 ? t : Bm, this.escapeValue = a !== void 0 ? a : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = r ? Qe(r) : s || "{{", this.suffix = n ? Qe(n) : l || "}}", this.formatSeparator = A || ",", this.unescapePrefix = m ? "" : p || "-", this.unescapeSuffix = this.unescapePrefix ? "" : m || "", this.nestingPrefix = u ? Qe(u) : I || Qe("$t("), this.nestingSuffix = c ? Qe(c) : d || Qe(")"), this.nestingOptionsSeparator = K || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = U !== void 0 ? U : !1, this.resetRegExp();
|
|
4933
4933
|
}
|
|
4934
4934
|
reset() {
|
|
4935
4935
|
this.options && this.init(this.options);
|
|
@@ -5780,7 +5780,7 @@ const ip = (e, i, ...t) => i.read(...t), ep = (e, i, ...t) => i.write(...t), tp
|
|
|
5780
5780
|
return K;
|
|
5781
5781
|
K.d.clear();
|
|
5782
5782
|
let S = !0;
|
|
5783
|
-
function
|
|
5783
|
+
function U() {
|
|
5784
5784
|
r.has(i) && (d(e, i), u(e), p(e));
|
|
5785
5785
|
}
|
|
5786
5786
|
function W(Q) {
|
|
@@ -5798,7 +5798,7 @@ const ip = (e, i, ...t) => i.read(...t), ep = (e, i, ...t) => i.write(...t), tp
|
|
|
5798
5798
|
try {
|
|
5799
5799
|
return _t(X);
|
|
5800
5800
|
} finally {
|
|
5801
|
-
K.d.set(Q, X.n), tn(K.v) && an(i, K.v, X), (T = r.get(Q)) == null || T.t.add(i), S ||
|
|
5801
|
+
K.d.set(Q, X.n), tn(K.v) && an(i, K.v, X), (T = r.get(Q)) == null || T.t.add(i), S || U();
|
|
5802
5802
|
}
|
|
5803
5803
|
}
|
|
5804
5804
|
let V, h;
|
|
@@ -5819,7 +5819,7 @@ const ip = (e, i, ...t) => i.read(...t), ep = (e, i, ...t) => i.write(...t), tp
|
|
|
5819
5819
|
}, x = K.n;
|
|
5820
5820
|
try {
|
|
5821
5821
|
const Q = A(e, i, W, G);
|
|
5822
|
-
return ea(e, i, Q), ia(Q) && (ao(Q, () => V == null ? void 0 : V.abort()), Q.then(
|
|
5822
|
+
return ea(e, i, Q), ia(Q) && (ao(Q, () => V == null ? void 0 : V.abort()), Q.then(U, U)), (t = l.r) == null || t.call(l, i), K;
|
|
5823
5823
|
} catch (Q) {
|
|
5824
5824
|
return delete K.v, K.e = Q, ++K.n, K;
|
|
5825
5825
|
} finally {
|
|
@@ -5838,14 +5838,14 @@ const ip = (e, i, ...t) => i.read(...t), ep = (e, i, ...t) => i.write(...t), tp
|
|
|
5838
5838
|
const a = bi(e), o = a[3], r = a[6], s = a[8], n = a[11], l = a[12], A = a[13], m = a[14], p = a[15], u = a[17];
|
|
5839
5839
|
let I = !0;
|
|
5840
5840
|
const c = (K) => _t(m(e, K)), d = (K, ...S) => {
|
|
5841
|
-
var
|
|
5841
|
+
var U;
|
|
5842
5842
|
const W = n(e, K);
|
|
5843
5843
|
try {
|
|
5844
5844
|
if (K === i) {
|
|
5845
5845
|
if (!$s(K))
|
|
5846
5846
|
throw new Error("atom not writable");
|
|
5847
5847
|
const V = W.n, h = S[0];
|
|
5848
|
-
ea(e, K, h), u(e, K), V !== W.n && (o.add(K), (
|
|
5848
|
+
ea(e, K, h), u(e, K), V !== W.n && (o.add(K), (U = r.c) == null || U.call(r, K), p(e, K));
|
|
5849
5849
|
return;
|
|
5850
5850
|
} else
|
|
5851
5851
|
return rn(e, K, ...S);
|
|
@@ -5889,19 +5889,19 @@ const ip = (e, i, ...t) => i.read(...t), ep = (e, i, ...t) => i.write(...t), tp
|
|
|
5889
5889
|
}, o.set(i, c), (t = s.m) == null || t.call(s, i), en(i)) {
|
|
5890
5890
|
const d = () => {
|
|
5891
5891
|
let K = !0;
|
|
5892
|
-
const S = (...
|
|
5892
|
+
const S = (...U) => {
|
|
5893
5893
|
try {
|
|
5894
|
-
return u(e, i, ...
|
|
5894
|
+
return u(e, i, ...U);
|
|
5895
5895
|
} finally {
|
|
5896
5896
|
K || (m(e), A(e));
|
|
5897
5897
|
}
|
|
5898
5898
|
};
|
|
5899
5899
|
try {
|
|
5900
|
-
const
|
|
5901
|
-
|
|
5900
|
+
const U = n(e, i, S);
|
|
5901
|
+
U && (c.u = () => {
|
|
5902
5902
|
K = !0;
|
|
5903
5903
|
try {
|
|
5904
|
-
|
|
5904
|
+
U();
|
|
5905
5905
|
} finally {
|
|
5906
5906
|
K = !1;
|
|
5907
5907
|
}
|
|
@@ -6166,7 +6166,7 @@ const da = Ct(""), Za = Ct(!1), Ge = Ct([]), ha = Ct([
|
|
|
6166
6166
|
null,
|
|
6167
6167
|
!1,
|
|
6168
6168
|
{ urlType: A }
|
|
6169
|
-
).then(async (
|
|
6169
|
+
).then(async (U) => {
|
|
6170
6170
|
var h, G, x, Q;
|
|
6171
6171
|
const W = new URL("/preview", o);
|
|
6172
6172
|
if (W.searchParams.set("versionId", e), W.searchParams.set(t.toLowerCase(), "true"), i && (t === "Playable" || t === "Ready")) {
|
|
@@ -6174,7 +6174,7 @@ const da = Ct(""), Za = Ct(!1), Ge = Ct([]), ha = Ct([
|
|
|
6174
6174
|
X && W.searchParams.append("landscape", "true"), B !== void 0 && W.searchParams.append("phoneIndex", B.toString());
|
|
6175
6175
|
}
|
|
6176
6176
|
Be(W.toString()) ? (I(!0), setTimeout(() => I(!1), 2e3)) : r(W.toString()), p(!1);
|
|
6177
|
-
}).catch((
|
|
6177
|
+
}).catch((U) => {
|
|
6178
6178
|
p(!1);
|
|
6179
6179
|
});
|
|
6180
6180
|
};
|
|
@@ -6264,11 +6264,11 @@ const da = Ct(""), Za = Ct(!1), Ge = Ct([]), ha = Ct([
|
|
|
6264
6264
|
onClick: () => {
|
|
6265
6265
|
!m && !u && S();
|
|
6266
6266
|
},
|
|
6267
|
-
onMouseEnter: (
|
|
6268
|
-
!m && !u ?
|
|
6267
|
+
onMouseEnter: (U) => {
|
|
6268
|
+
!m && !u ? U.currentTarget.style.backgroundColor = "#1D4ED8" : u && (U.currentTarget.style.backgroundColor = "#15803D");
|
|
6269
6269
|
},
|
|
6270
|
-
onMouseLeave: (
|
|
6271
|
-
u ?
|
|
6270
|
+
onMouseLeave: (U) => {
|
|
6271
|
+
u ? U.currentTarget.style.backgroundColor = "#16A34A" : U.currentTarget.style.backgroundColor = "#2563EB";
|
|
6272
6272
|
},
|
|
6273
6273
|
children: m ? /* @__PURE__ */ q.jsx(
|
|
6274
6274
|
"img",
|
|
@@ -6318,8 +6318,8 @@ const da = Ct(""), Za = Ct(!1), Ge = Ct([]), ha = Ct([
|
|
|
6318
6318
|
const [I, c] = M(window.innerWidth), [d, K] = M(window.innerHeight);
|
|
6319
6319
|
return console.log("iosLink", A), mi(() => {
|
|
6320
6320
|
console.log("re add event listener");
|
|
6321
|
-
function S(
|
|
6322
|
-
console.log(
|
|
6321
|
+
function S(U) {
|
|
6322
|
+
console.log(U), U.data === "cta" && (console.log("Received 'cta' message from iframe"), A && window.open(A, "_blank"));
|
|
6323
6323
|
}
|
|
6324
6324
|
return window.addEventListener("message", S, !1), () => {
|
|
6325
6325
|
window.removeEventListener("message", S);
|
|
@@ -6861,7 +6861,7 @@ qu.default.subscribe(Ku);
|
|
|
6861
6861
|
return function(L, Y, C) {
|
|
6862
6862
|
return Y && g(L.prototype, Y), C && g(L, C), L;
|
|
6863
6863
|
};
|
|
6864
|
-
}(), r = Ki, s = Ia, n = h(s), l = $i, A = V(l), m = Qp, p = h(m), u = ie, I = V(u), c = De, d = V(c), K = Pi, S = h(K),
|
|
6864
|
+
}(), r = Ki, s = Ia, n = h(s), l = $i, A = V(l), m = Qp, p = h(m), u = ie, I = V(u), c = De, d = V(c), K = Pi, S = h(K), U = fe, W = h(U);
|
|
6865
6865
|
function V(g) {
|
|
6866
6866
|
if (g && g.__esModule)
|
|
6867
6867
|
return g;
|
|
@@ -6905,8 +6905,8 @@ qu.default.subscribe(Ku);
|
|
|
6905
6905
|
}, C.setContentRef = function(J) {
|
|
6906
6906
|
C.content = J, C.props.contentRef && C.props.contentRef(J);
|
|
6907
6907
|
}, C.afterClose = function() {
|
|
6908
|
-
var J = C.props, D = J.appElement, k = J.ariaHideApp, Z = J.htmlOpenClassName,
|
|
6909
|
-
|
|
6908
|
+
var J = C.props, D = J.appElement, k = J.ariaHideApp, Z = J.htmlOpenClassName, R = J.bodyOpenClassName, b = J.parentSelector, E = b && b().ownerDocument || document;
|
|
6909
|
+
R && d.remove(E.body, R), Z && d.remove(E.getElementsByTagName("html")[0], Z), k && v > 0 && (v -= 1, v === 0 && I.show(D)), C.props.shouldFocusAfterRender && (C.props.shouldReturnFocusAfterClose ? (A.returnFocus(C.props.preventScroll), A.teardownScopedFocus()) : A.popWithoutFocus()), C.props.onAfterClose && C.props.onAfterClose(), W.default.deregister(C);
|
|
6910
6910
|
}, C.open = function() {
|
|
6911
6911
|
C.beforeOpen(), C.state.afterOpen && C.state.beforeClose ? (clearTimeout(C.closeTimer), C.setState({ beforeClose: !1 })) : (C.props.shouldFocusAfterRender && (A.setupScopedFocus(C.node), A.markForFocusLater()), C.setState({ isOpen: !0 }, function() {
|
|
6912
6912
|
C.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6986,20 +6986,20 @@ qu.default.subscribe(Ku);
|
|
|
6986
6986
|
}, {
|
|
6987
6987
|
key: "beforeOpen",
|
|
6988
6988
|
value: function() {
|
|
6989
|
-
var C = this.props, J = C.appElement, D = C.ariaHideApp, k = C.htmlOpenClassName, Z = C.bodyOpenClassName,
|
|
6989
|
+
var C = this.props, J = C.appElement, D = C.ariaHideApp, k = C.htmlOpenClassName, Z = C.bodyOpenClassName, R = C.parentSelector, b = R && R().ownerDocument || document;
|
|
6990
6990
|
Z && d.add(b.body, Z), k && d.add(b.getElementsByTagName("html")[0], k), D && (v += 1, I.hide(J)), W.default.register(this);
|
|
6991
6991
|
}
|
|
6992
6992
|
// Don't steal focus from inner elements
|
|
6993
6993
|
}, {
|
|
6994
6994
|
key: "render",
|
|
6995
6995
|
value: function() {
|
|
6996
|
-
var C = this.props, J = C.id, D = C.className, k = C.overlayClassName, Z = C.defaultStyles,
|
|
6996
|
+
var C = this.props, J = C.id, D = C.className, k = C.overlayClassName, Z = C.defaultStyles, R = C.children, b = D ? {} : Z.content, E = k ? {} : Z.overlay;
|
|
6997
6997
|
if (this.shouldBeClosed())
|
|
6998
6998
|
return null;
|
|
6999
6999
|
var f = {
|
|
7000
7000
|
ref: this.setOverlayRef,
|
|
7001
7001
|
className: this.buildClassName("overlay", k),
|
|
7002
|
-
style: t({},
|
|
7002
|
+
style: t({}, E, this.props.style.overlay),
|
|
7003
7003
|
onClick: this.handleOverlayOnClick,
|
|
7004
7004
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
7005
7005
|
}, O = t({
|
|
@@ -7016,7 +7016,7 @@ qu.default.subscribe(Ku);
|
|
|
7016
7016
|
"aria-label": this.props.contentLabel
|
|
7017
7017
|
}, this.attributesFromObject("aria", t({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7018
7018
|
"data-testid": this.props.testId
|
|
7019
|
-
}), N = this.props.contentElement(O,
|
|
7019
|
+
}), N = this.props.contentElement(O, R);
|
|
7020
7020
|
return this.props.overlayElement(f, N);
|
|
7021
7021
|
}
|
|
7022
7022
|
}]), L;
|
|
@@ -7416,10 +7416,10 @@ function Ca(e) {
|
|
|
7416
7416
|
let { children: n, position: l, preventExitTransition: A, done: m, nodeRef: p, isIn: u } = s;
|
|
7417
7417
|
const I = a ? `${i}--${l}` : i, c = a ? `${t}--${l}` : t, d = me(0);
|
|
7418
7418
|
return ol(() => {
|
|
7419
|
-
const K = p.current, S = I.split(" "),
|
|
7420
|
-
W.target === p.current && (K.dispatchEvent(new Event("d")), K.removeEventListener("animationend",
|
|
7419
|
+
const K = p.current, S = I.split(" "), U = (W) => {
|
|
7420
|
+
W.target === p.current && (K.dispatchEvent(new Event("d")), K.removeEventListener("animationend", U), K.removeEventListener("animationcancel", U), d.current === 0 && W.type !== "animationcancel" && K.classList.remove(...S));
|
|
7421
7421
|
};
|
|
7422
|
-
K.classList.add(...S), K.addEventListener("animationend",
|
|
7422
|
+
K.classList.add(...S), K.addEventListener("animationend", U), K.addEventListener("animationcancel", U);
|
|
7423
7423
|
}, []), mi(() => {
|
|
7424
7424
|
const K = p.current, S = () => {
|
|
7425
7425
|
K.removeEventListener("animationend", S), o ? Gu(K, m, r) : m();
|
|
@@ -7483,17 +7483,17 @@ function bu(e) {
|
|
|
7483
7483
|
return !o.current || n.props.enableMultiContainer && v.containerId !== n.props.containerId || r.has(v.toastId) && v.updateId == null;
|
|
7484
7484
|
}(S))
|
|
7485
7485
|
return;
|
|
7486
|
-
const { toastId:
|
|
7486
|
+
const { toastId: U, updateId: W, data: V } = S, { props: h } = n, G = () => A(U), x = W == null;
|
|
7487
7487
|
x && n.count++;
|
|
7488
7488
|
const Q = { ...h, style: h.toastStyle, key: n.toastKey++, ...Object.fromEntries(Object.entries(S).filter((v) => {
|
|
7489
7489
|
let [P, g] = v;
|
|
7490
7490
|
return g != null;
|
|
7491
|
-
})), toastId:
|
|
7492
|
-
const v = wr(r.get(
|
|
7493
|
-
r.delete(
|
|
7491
|
+
})), toastId: U, updateId: W, data: V, closeToast: G, isIn: !1, className: xt(S.className || h.toastClassName), bodyClassName: xt(S.bodyClassName || h.bodyClassName), progressClassName: xt(S.progressClassName || h.progressClassName), autoClose: !S.isLoading && (T = S.autoClose, X = h.autoClose, T === !1 || nt(T) && T > 0 ? T : X), deleteToast() {
|
|
7492
|
+
const v = wr(r.get(U), "removed");
|
|
7493
|
+
r.delete(U), Ti.emit(4, v);
|
|
7494
7494
|
const P = n.queue.length;
|
|
7495
|
-
if (n.count =
|
|
7496
|
-
const g =
|
|
7495
|
+
if (n.count = U == null ? n.count - n.displayedToast : n.count - 1, n.count < 0 && (n.count = 0), P > 0) {
|
|
7496
|
+
const g = U == null ? n.props.limit : 1;
|
|
7497
7497
|
if (P === 1 || g === 1)
|
|
7498
7498
|
n.displayedToast++, m();
|
|
7499
7499
|
else {
|
|
@@ -7520,7 +7520,7 @@ function bu(e) {
|
|
|
7520
7520
|
const { toastId: K } = c;
|
|
7521
7521
|
d && r.delete(d);
|
|
7522
7522
|
const S = { content: I, props: c };
|
|
7523
|
-
r.set(K, S), a((
|
|
7523
|
+
r.set(K, S), a((U) => [...U, K].filter((W) => W !== d)), Ti.emit(4, wr(S, S.props.updateId == null ? "added" : "updated"));
|
|
7524
7524
|
}
|
|
7525
7525
|
return mi(() => (n.containerId = e.containerId, Ti.cancelEmit(3).on(0, p).on(1, (I) => o.current && A(I)).on(5, l).emit(2, n), () => {
|
|
7526
7526
|
r.clear(), Ti.emit(3, n);
|
|
@@ -7544,7 +7544,7 @@ function Qu(e) {
|
|
|
7544
7544
|
const [i, t] = M(!1), [a, o] = M(!1), r = me(null), s = me({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, n = me(e), { autoClose: l, pauseOnHover: A, closeToast: m, onClick: p, closeOnClick: u } = e;
|
|
7545
7545
|
function I(V) {
|
|
7546
7546
|
if (e.draggable) {
|
|
7547
|
-
V.nativeEvent.type === "touchstart" && V.nativeEvent.preventDefault(), s.didMove = !1, document.addEventListener("mousemove", S), document.addEventListener("mouseup",
|
|
7547
|
+
V.nativeEvent.type === "touchstart" && V.nativeEvent.preventDefault(), s.didMove = !1, document.addEventListener("mousemove", S), document.addEventListener("mouseup", U), document.addEventListener("touchmove", S), document.addEventListener("touchend", U);
|
|
7548
7548
|
const h = r.current;
|
|
7549
7549
|
s.canCloseOnClick = !0, s.canDrag = !0, s.boundingRect = h.getBoundingClientRect(), h.style.transition = "", s.x = Tr(V.nativeEvent), s.y = Br(V.nativeEvent), e.draggableDirection === "x" ? (s.start = s.x, s.removalDistance = h.offsetWidth * (e.draggablePercent / 100)) : (s.start = s.y, s.removalDistance = h.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent / 100));
|
|
7550
7550
|
}
|
|
@@ -7565,8 +7565,8 @@ function Qu(e) {
|
|
|
7565
7565
|
const h = r.current;
|
|
7566
7566
|
s.canDrag && h && (s.didMove = !0, i && K(), s.x = Tr(V), s.y = Br(V), s.delta = e.draggableDirection === "x" ? s.x - s.start : s.y - s.start, s.start !== s.x && (s.canCloseOnClick = !1), h.style.transform = `translate${e.draggableDirection}(${s.delta}px)`, h.style.opacity = "" + (1 - Math.abs(s.delta / s.removalDistance)));
|
|
7567
7567
|
}
|
|
7568
|
-
function
|
|
7569
|
-
document.removeEventListener("mousemove", S), document.removeEventListener("mouseup",
|
|
7568
|
+
function U() {
|
|
7569
|
+
document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", U), document.removeEventListener("touchmove", S), document.removeEventListener("touchend", U);
|
|
7570
7570
|
const V = r.current;
|
|
7571
7571
|
if (s.canDrag && s.didMove && V) {
|
|
7572
7572
|
if (s.canDrag = !1, Math.abs(s.delta) > s.removalDistance)
|
|
@@ -7603,9 +7603,9 @@ function ju(e) {
|
|
|
7603
7603
|
} });
|
|
7604
7604
|
}
|
|
7605
7605
|
const Nu = (e) => {
|
|
7606
|
-
const { isRunning: i, preventExitTransition: t, toastRef: a, eventHandlers: o } = Qu(e), { closeButton: r, children: s, autoClose: n, onClick: l, type: A, hideProgressBar: m, closeToast: p, transition: u, position: I, className: c, style: d, bodyClassName: K, bodyStyle: S, progressClassName:
|
|
7606
|
+
const { isRunning: i, preventExitTransition: t, toastRef: a, eventHandlers: o } = Qu(e), { closeButton: r, children: s, autoClose: n, onClick: l, type: A, hideProgressBar: m, closeToast: p, transition: u, position: I, className: c, style: d, bodyClassName: K, bodyStyle: S, progressClassName: U, progressStyle: W, updateId: V, role: h, progress: G, rtl: x, toastId: Q, deleteToast: T, isIn: X, isLoading: B, iconOut: v, closeOnClick: P, theme: g } = e, L = ce("Toastify__toast", `Toastify__toast-theme--${g}`, `Toastify__toast--${A}`, { "Toastify__toast--rtl": x }, { "Toastify__toast--close-on-click": P }), Y = Ni(c) ? c({ rtl: x, position: I, type: A, defaultClassName: L }) : ce(L, c), C = !!G || !n, J = { closeToast: p, type: A, theme: g };
|
|
7607
7607
|
let D = null;
|
|
7608
|
-
return r === !1 || (D = Ni(r) ? r(J) : Fe(r) ? fa(r, J) : Sn(J)), Ki.createElement(u, { isIn: X, done: T, position: I, preventExitTransition: t, nodeRef: a }, Ki.createElement("div", { id: Q, onClick: l, className: Y, ...o, style: d, ref: a }, Ki.createElement("div", { ...X && { role: h }, className: Ni(K) ? K({ type: A }) : ce("Toastify__toast-body", K), style: S }, v != null && Ki.createElement("div", { className: ce("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !B }) }, v), Ki.createElement("div", null, s)), D, Ki.createElement(ju, { ...V && !C ? { key: `pb-${V}` } : {}, rtl: x, theme: g, delay: n, isRunning: i, isIn: X, closeToast: p, hide: m, type: A, style: W, className:
|
|
7608
|
+
return r === !1 || (D = Ni(r) ? r(J) : Fe(r) ? fa(r, J) : Sn(J)), Ki.createElement(u, { isIn: X, done: T, position: I, preventExitTransition: t, nodeRef: a }, Ki.createElement("div", { id: Q, onClick: l, className: Y, ...o, style: d, ref: a }, Ki.createElement("div", { ...X && { role: h }, className: Ni(K) ? K({ type: A }) : ce("Toastify__toast-body", K), style: S }, v != null && Ki.createElement("div", { className: ce("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !B }) }, v), Ki.createElement("div", null, s)), D, Ki.createElement(ju, { ...V && !C ? { key: `pb-${V}` } : {}, rtl: x, theme: g, delay: n, isRunning: i, isIn: X, closeToast: p, hide: m, type: A, style: W, className: U, controlledProgress: C, progress: G || 0 })));
|
|
7609
7609
|
}, ga = function(e, i) {
|
|
7610
7610
|
return i === void 0 && (i = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: i };
|
|
7611
7611
|
}, Fu = Ca(ga("bounce", !0));
|
|
@@ -7751,7 +7751,7 @@ const wu = {
|
|
|
7751
7751
|
versionId: r,
|
|
7752
7752
|
customerId: s
|
|
7753
7753
|
}) => {
|
|
7754
|
-
const [n, l] = M([]), [A, m] = M([]), [p, u] = M(!1), [I, c] = M(!1), [d, K] = M(null), [S,
|
|
7754
|
+
const [n, l] = M([]), [A, m] = M([]), [p, u] = M(!1), [I, c] = M(!1), [d, K] = M(null), [S, U] = Ci(Ge), W = () => ui[o] || ui.Playable, V = () => Kt[o] || "red", h = () => ({
|
|
7755
7755
|
Ready: "#E0F2FE",
|
|
7756
7756
|
Playable: "#FFF7ED",
|
|
7757
7757
|
Import: "#E0F2FE",
|
|
@@ -7815,7 +7815,7 @@ const wu = {
|
|
|
7815
7815
|
const L = await yn(t, o, r);
|
|
7816
7816
|
if (L) {
|
|
7817
7817
|
const Y = L.map((C) => (C.name = C.id, C));
|
|
7818
|
-
|
|
7818
|
+
U(Y);
|
|
7819
7819
|
}
|
|
7820
7820
|
gn("Networks updated successfully"), i();
|
|
7821
7821
|
} catch (g) {
|
|
@@ -9704,7 +9704,7 @@ const rI = ({
|
|
|
9704
9704
|
setIsConfirmActive: d,
|
|
9705
9705
|
creditDownload: K,
|
|
9706
9706
|
getDownloadCount: S,
|
|
9707
|
-
disabled:
|
|
9707
|
+
disabled: U,
|
|
9708
9708
|
user: W,
|
|
9709
9709
|
setSafariCopyLink: V,
|
|
9710
9710
|
isTest: h,
|
|
@@ -9714,7 +9714,7 @@ const rI = ({
|
|
|
9714
9714
|
cdnUrl: T,
|
|
9715
9715
|
selectedVersionIds: X
|
|
9716
9716
|
}) => {
|
|
9717
|
-
const [B, v] = M(!1), [P, g] = M(""), [L, Y] = M(!1), [C, J] = M(!1), [D, k] = M(!1), [Z,
|
|
9717
|
+
const [B, v] = M(!1), [P, g] = M(""), [L, Y] = M(!1), [C, J] = M(!1), [D, k] = M(!1), [Z, R] = M("download"), [b, E] = M(!1), [f, O] = M(!1), [N, H] = M(!1), [$, ii] = M(!1), [ci, j] = M(!1), [di, w] = M(!1), [ri, ki] = M(!1), [Vi, F] = M(!1), [z, _] = M(!1), [qi, ni] = Ci(Ge), [Li, si] = Ci(Ce), ai = l === "Playable" ? Li : !0, yi = {
|
|
9718
9718
|
cdn: "Generate Link",
|
|
9719
9719
|
adikteev: "Copy CDN"
|
|
9720
9720
|
}, li = () => {
|
|
@@ -9742,7 +9742,7 @@ const rI = ({
|
|
|
9742
9742
|
urlType: G,
|
|
9743
9743
|
responsiveType: "responsive"
|
|
9744
9744
|
};
|
|
9745
|
-
if (pe ? Ei === "copy" ? (O(!0), Ei = "download", be.molocoGenerateHtml = !0) :
|
|
9745
|
+
if (pe ? Ei === "copy" ? (O(!0), Ei = "download", be.molocoGenerateHtml = !0) : E(!0) : ue && (be.responsiveType = Ji), console.log("getVersion", pi, Ei, be), pi === "cdn") {
|
|
9746
9746
|
x(!0), await Q(!0), v(!1);
|
|
9747
9747
|
return;
|
|
9748
9748
|
}
|
|
@@ -9755,13 +9755,13 @@ const rI = ({
|
|
|
9755
9755
|
h,
|
|
9756
9756
|
be
|
|
9757
9757
|
).then((le) => {
|
|
9758
|
-
v(!1), ee(le), O(!1),
|
|
9758
|
+
v(!1), ee(le), O(!1), E(!1);
|
|
9759
9759
|
}).catch((le) => {
|
|
9760
|
-
v(!1), p(le.message, le), He(le), O(!1),
|
|
9760
|
+
v(!1), p(le.message, le), He(le), O(!1), E(!1);
|
|
9761
9761
|
});
|
|
9762
9762
|
});
|
|
9763
9763
|
}, Va = async (pi = !1) => {
|
|
9764
|
-
pi ? O(!0) :
|
|
9764
|
+
pi ? O(!0) : E(!0);
|
|
9765
9765
|
const Ei = {
|
|
9766
9766
|
molocoGenerateHtml: !1
|
|
9767
9767
|
};
|
|
@@ -9774,13 +9774,13 @@ const rI = ({
|
|
|
9774
9774
|
versions: X,
|
|
9775
9775
|
extras: Ei
|
|
9776
9776
|
}), be = u + "/" + Ji.url, He = await (await fetch(be)).blob(), le = window.URL.createObjectURL(He), ge = document.createElement("a");
|
|
9777
|
-
return ge.href = le, ge.download = Ji.url.split("/").pop() || "download.zip", document.body.appendChild(ge), ge.click(), window.URL.revokeObjectURL(le), document.body.removeChild(ge), v(!1), pi ? O(!1) :
|
|
9777
|
+
return ge.href = le, ge.download = Ji.url.split("/").pop() || "download.zip", document.body.appendChild(ge), ge.click(), window.URL.revokeObjectURL(le), document.body.removeChild(ge), v(!1), pi ? O(!1) : E(!1), k(!1), Ji.url;
|
|
9778
9778
|
} catch (Ji) {
|
|
9779
9779
|
console.log("multi-version single network download error", Ji), v(!1), p(Ji.message, Ji);
|
|
9780
9780
|
return;
|
|
9781
9781
|
}
|
|
9782
9782
|
qe(A, o, ai ? I : null, "download", h, Ei).then((Ji) => {
|
|
9783
|
-
pi ? O(!1) :
|
|
9783
|
+
pi ? O(!1) : E(!1), k(!1);
|
|
9784
9784
|
}).catch((Ji) => {
|
|
9785
9785
|
p(Ji.message, Ji);
|
|
9786
9786
|
});
|
|
@@ -9927,7 +9927,7 @@ const rI = ({
|
|
|
9927
9927
|
else {
|
|
9928
9928
|
g("download");
|
|
9929
9929
|
const Ei = I.iosUrl, Ji = I.googleUrl;
|
|
9930
|
-
o === "cdn" && K && K.willSpendCredit && !T || o !== "cdn" && K && K.willSpendCredit ? (d(!0),
|
|
9930
|
+
o === "cdn" && K && K.willSpendCredit && !T || o !== "cdn" && K && K.willSpendCredit ? (d(!0), R("download"), Y(!0)) : ["Playable", "Flex", "Ready"].includes(l) && (!Ei || !Ji) ? (d(!0), J(!0)) : (J(!1), Y(!1), await Di(o, "download"));
|
|
9931
9931
|
}
|
|
9932
9932
|
},
|
|
9933
9933
|
children: pe ? /* @__PURE__ */ q.jsxs(q.Fragment, { children: [
|
|
@@ -9984,9 +9984,9 @@ const rI = ({
|
|
|
9984
9984
|
return;
|
|
9985
9985
|
g("copyLink");
|
|
9986
9986
|
const Ei = I.iosUrl, Ji = I.googleUrl;
|
|
9987
|
-
K && (K != null && K.willSpendCredit) ? (
|
|
9987
|
+
K && (K != null && K.willSpendCredit) ? (R("copy"), d(!0), Y(!0)) : l !== "Import" && (!Ei || !Ji) ? (d(!0), J(!0)) : (Y(!1), J(!1), await Di(o, "copy"), j(!0), setTimeout(() => j(!1), 2e3));
|
|
9988
9988
|
},
|
|
9989
|
-
disabled:
|
|
9989
|
+
disabled: U,
|
|
9990
9990
|
isCopied: ci,
|
|
9991
9991
|
children: /* @__PURE__ */ q.jsx(Yo, { className: "h-4 w-4 stroke-dark-full" })
|
|
9992
9992
|
}
|
|
@@ -9999,9 +9999,9 @@ const rI = ({
|
|
|
9999
9999
|
onClickDonwload: async (pi) => {
|
|
10000
10000
|
pi.stopPropagation(), g("copyLink");
|
|
10001
10001
|
const Ei = I.iosUrl, Ji = I.googleUrl;
|
|
10002
|
-
K && (K != null && K.willSpendCredit) ? (
|
|
10002
|
+
K && (K != null && K.willSpendCredit) ? (R("download"), d(!0), Y(!0)) : l !== "Import" && (!Ei || !Ji) ? (d(!0), J(!0)) : (Y(!1), J(!1), await Va(!0));
|
|
10003
10003
|
},
|
|
10004
|
-
disabled:
|
|
10004
|
+
disabled: U,
|
|
10005
10005
|
children: [
|
|
10006
10006
|
!f && /* @__PURE__ */ q.jsxs(q.Fragment, { children: [
|
|
10007
10007
|
/* @__PURE__ */ q.jsx(
|
|
@@ -10576,13 +10576,13 @@ const rI = ({
|
|
|
10576
10576
|
urlType: d,
|
|
10577
10577
|
allNetworksSelected: K,
|
|
10578
10578
|
cdnModal: S,
|
|
10579
|
-
setCdnModal:
|
|
10579
|
+
setCdnModal: U,
|
|
10580
10580
|
cdnUrl: W,
|
|
10581
10581
|
setCdnUrl: V,
|
|
10582
10582
|
customer: h,
|
|
10583
10583
|
selectedVersionIds: G
|
|
10584
10584
|
}) => {
|
|
10585
|
-
const [x, Q] = M([]), [T, X] = M([]), [B, v] = M(!1), [P, g] = M(""), [L, Y] = M(!1), [C, J] = M(!1), [D, k] = M("download"), [Z,
|
|
10585
|
+
const [x, Q] = M([]), [T, X] = M([]), [B, v] = M(!1), [P, g] = M(""), [L, Y] = M(!1), [C, J] = M(!1), [D, k] = M("download"), [Z, R] = M(!1), [b, E] = M(!1), [f, O] = M(!1), [N, H] = Ci(da), [$, ii] = Ci(Za), [ci] = Ci(Ge), [j, di] = Ci(Ce), w = o === "Playable" ? j : !0, ri = async (z = !1) => {
|
|
10586
10586
|
z && W || f || (O(!0), qe(a, "cdn", w ? A : null, null, !1, {}).then((_) => {
|
|
10587
10587
|
V(_.url), O(!1);
|
|
10588
10588
|
}).catch((_) => {
|
|
@@ -10619,7 +10619,7 @@ const rI = ({
|
|
|
10619
10619
|
console.log("get multi download err"), Y(!1), n(ni.message, ni), _(ni);
|
|
10620
10620
|
});
|
|
10621
10621
|
}), F = async () => {
|
|
10622
|
-
A.iosUrl, A.googleUrl, i && i.willSpendCredit ? (J(!0), k("download"),
|
|
10622
|
+
A.iosUrl, A.googleUrl, i && i.willSpendCredit ? (J(!0), k("download"), R(!0)) : (R(!1), await Vi());
|
|
10623
10623
|
};
|
|
10624
10624
|
return mi(() => {
|
|
10625
10625
|
const z = ci.filter((_) => {
|
|
@@ -10704,7 +10704,7 @@ const rI = ({
|
|
|
10704
10704
|
setSafariCopyLink: I,
|
|
10705
10705
|
isTest: c,
|
|
10706
10706
|
urlType: d,
|
|
10707
|
-
setCdnModal:
|
|
10707
|
+
setCdnModal: U,
|
|
10708
10708
|
generateCDN: ri,
|
|
10709
10709
|
cdnUrl: W,
|
|
10710
10710
|
selectedVersionIds: G
|
|
@@ -10744,7 +10744,7 @@ const rI = ({
|
|
|
10744
10744
|
Un,
|
|
10745
10745
|
{
|
|
10746
10746
|
onClose: () => {
|
|
10747
|
-
|
|
10747
|
+
U(!1), p();
|
|
10748
10748
|
},
|
|
10749
10749
|
versionId: a,
|
|
10750
10750
|
urls: A,
|
|
@@ -10761,7 +10761,7 @@ const rI = ({
|
|
|
10761
10761
|
ri();
|
|
10762
10762
|
return;
|
|
10763
10763
|
}
|
|
10764
|
-
|
|
10764
|
+
E(!0);
|
|
10765
10765
|
}
|
|
10766
10766
|
},
|
|
10767
10767
|
cdnUploading: f,
|
|
@@ -10787,10 +10787,10 @@ const rI = ({
|
|
|
10787
10787
|
handleCopyLink: async () => {
|
|
10788
10788
|
},
|
|
10789
10789
|
download: async () => {
|
|
10790
|
-
|
|
10790
|
+
R(!1), E(!1), ri();
|
|
10791
10791
|
},
|
|
10792
10792
|
onClose: () => {
|
|
10793
|
-
|
|
10793
|
+
R(!1), E(!1), O(!1);
|
|
10794
10794
|
},
|
|
10795
10795
|
getDownloadCount: p,
|
|
10796
10796
|
typeOfProduct: o
|
|
@@ -10803,10 +10803,10 @@ const rI = ({
|
|
|
10803
10803
|
handleCopyLink: async () => {
|
|
10804
10804
|
},
|
|
10805
10805
|
download: async () => {
|
|
10806
|
-
|
|
10806
|
+
R(!1), J(!1), await Vi();
|
|
10807
10807
|
},
|
|
10808
10808
|
onClose: () => {
|
|
10809
|
-
|
|
10809
|
+
R(!1), J(!1);
|
|
10810
10810
|
},
|
|
10811
10811
|
getDownloadCount: p,
|
|
10812
10812
|
typeOfProduct: o
|
|
@@ -10886,12 +10886,12 @@ const lI = ({
|
|
|
10886
10886
|
setIosLink: d,
|
|
10887
10887
|
setAndroidLink: K,
|
|
10888
10888
|
urlType: S,
|
|
10889
|
-
setUrlType:
|
|
10889
|
+
setUrlType: U,
|
|
10890
10890
|
selectedVersionIds: W
|
|
10891
10891
|
}) => {
|
|
10892
10892
|
const [V, h] = M(null), [G, x] = M(null), [Q, T] = M(null), [X, B] = M(!1), [v, P] = M(!0), [g, L] = M(window.innerWidth), [Y, C] = M(!1), [J, D] = M(!1), [k, Z] = M("");
|
|
10893
10893
|
Ci(da), Ci(Za);
|
|
10894
|
-
const [
|
|
10894
|
+
const [R, b] = Ci(ha), [E, f] = Ci(Ce);
|
|
10895
10895
|
mi(() => {
|
|
10896
10896
|
!k && a !== "Fusion" && vs(i).then((F) => {
|
|
10897
10897
|
F != null && F.exist && Z(F.uploadPath);
|
|
@@ -10913,7 +10913,7 @@ const lI = ({
|
|
|
10913
10913
|
return F != null && F.networks || (F.networks = Dr), h(F), F;
|
|
10914
10914
|
}, $ = (F, z) => {
|
|
10915
10915
|
clearTimeout(fr), fr = setTimeout(() => {
|
|
10916
|
-
if (a === "Playable" && !
|
|
10916
|
+
if (a === "Playable" && !E)
|
|
10917
10917
|
return;
|
|
10918
10918
|
(W && W.length > 0 ? W : [i]).forEach((qi) => {
|
|
10919
10919
|
Nm(qi, { iosUrl: F, googleUrl: z }, { urlType: S });
|
|
@@ -10963,7 +10963,7 @@ const lI = ({
|
|
|
10963
10963
|
let F;
|
|
10964
10964
|
a === "Flex" ? F = await Ln({ _id: i }, r) : a === "Ready" && (F = await jn({ _id: i }, r)), F && (["admin", "pm", "tester", "sales"].includes(s.role) ? T({
|
|
10965
10965
|
...F,
|
|
10966
|
-
networks:
|
|
10966
|
+
networks: R
|
|
10967
10967
|
}) : (console.log("result", F), a === "Ready" && !F.canDownload ? T({
|
|
10968
10968
|
...F,
|
|
10969
10969
|
networks: Dr
|
|
@@ -10996,7 +10996,7 @@ const lI = ({
|
|
|
10996
10996
|
}) : a === "Fusion" && (P(!1), w().then((F) => {
|
|
10997
10997
|
o && (j(F, null), P(!1), x({
|
|
10998
10998
|
...F,
|
|
10999
|
-
networks:
|
|
10999
|
+
networks: R.filter((z) => z !== "cdn")
|
|
11000
11000
|
}), F && Vi(F.customer).then((z) => {
|
|
11001
11001
|
ki(z || null);
|
|
11002
11002
|
}));
|
|
@@ -11044,7 +11044,7 @@ const lI = ({
|
|
|
11044
11044
|
isTest: Y,
|
|
11045
11045
|
setIsTest: C,
|
|
11046
11046
|
urlType: S,
|
|
11047
|
-
setUrlType:
|
|
11047
|
+
setUrlType: U,
|
|
11048
11048
|
allNetworksSelected: O,
|
|
11049
11049
|
setAllNetworksSelected: N,
|
|
11050
11050
|
versionId: i,
|
|
@@ -13641,7 +13641,7 @@ const Yt = 5, rK = ({
|
|
|
13641
13641
|
} catch (h) {
|
|
13642
13642
|
console.error("Error compressing video:", h), t(!1), i();
|
|
13643
13643
|
}
|
|
13644
|
-
}, S = ui[a],
|
|
13644
|
+
}, S = ui[a], U = Kt[a], W = r - Yt, V = Yt / r * 100;
|
|
13645
13645
|
return /* @__PURE__ */ q.jsxs(
|
|
13646
13646
|
It,
|
|
13647
13647
|
{
|
|
@@ -14063,7 +14063,7 @@ const Yt = 5, rK = ({
|
|
|
14063
14063
|
boxShadow: "none"
|
|
14064
14064
|
},
|
|
14065
14065
|
onMouseEnter: (h) => {
|
|
14066
|
-
h.currentTarget.style.backgroundColor =
|
|
14066
|
+
h.currentTarget.style.backgroundColor = U;
|
|
14067
14067
|
},
|
|
14068
14068
|
onMouseLeave: (h) => {
|
|
14069
14069
|
h.currentTarget.style.backgroundColor = S;
|
|
@@ -14219,7 +14219,7 @@ const Yt = 5, rK = ({
|
|
|
14219
14219
|
fusionData: d,
|
|
14220
14220
|
onNameChange: K
|
|
14221
14221
|
}) => {
|
|
14222
|
-
const [S,
|
|
14222
|
+
const [S, U] = M(window.innerWidth), [W, V] = M(!1), [h, G] = M(p), [x, Q] = M(!1), [T, X] = M(!0), [B, v] = M(null), [P, g] = M(""), [L, Y] = M("Loading..."), [C, J] = M("Loading..."), [D, k] = M("game"), [Z, R] = Ci(Ge), [b, E] = Ci(ha);
|
|
14223
14223
|
Xs(n, l, g, I, d);
|
|
14224
14224
|
const f = async () => {
|
|
14225
14225
|
let O = await yn(l, n, t);
|
|
@@ -14227,7 +14227,7 @@ const Yt = 5, rK = ({
|
|
|
14227
14227
|
At("Networks not found");
|
|
14228
14228
|
return;
|
|
14229
14229
|
}
|
|
14230
|
-
O = O.map((N) => (N.name = N.id, N)),
|
|
14230
|
+
O = O.map((N) => (N.name = N.id, N)), R(O), E(
|
|
14231
14231
|
O.map((N) => N.id).filter((N) => N !== "default")
|
|
14232
14232
|
), qe(t, "preview", null, null, !1).then((N) => {
|
|
14233
14233
|
V(!0), G(I + "/" + N.url), (n === "Flex" || n === "Ready" || n === "Playable" || n === "Fusion") && (N.size >= 5 ? Q(!0) : Q(!1), v(N.size)), X(!1);
|
|
@@ -14237,7 +14237,7 @@ const Yt = 5, rK = ({
|
|
|
14237
14237
|
e ? W || (f(), V(!0)) : (V(!1), G(""));
|
|
14238
14238
|
}, [e]), mi(() => {
|
|
14239
14239
|
const O = () => {
|
|
14240
|
-
|
|
14240
|
+
U(window.innerWidth);
|
|
14241
14241
|
};
|
|
14242
14242
|
return window.addEventListener("resize", O), () => {
|
|
14243
14243
|
window.removeEventListener("resize", O);
|
|
@@ -14574,7 +14574,7 @@ const Yt = 5, rK = ({
|
|
|
14574
14574
|
"input",
|
|
14575
14575
|
{
|
|
14576
14576
|
type: "checkbox",
|
|
14577
|
-
className: ` rounded-md
|
|
14577
|
+
className: ` ${a != null && a.includes("rounded") ? a : "rounded-md"} ${o ? t ?? "bg-cyan-500" : "bg-slate-700"}`,
|
|
14578
14578
|
style: {
|
|
14579
14579
|
border: "0px",
|
|
14580
14580
|
position: "relative",
|
|
@@ -14652,7 +14652,7 @@ function nK({
|
|
|
14652
14652
|
versionId: d,
|
|
14653
14653
|
isTest: K,
|
|
14654
14654
|
isGoogle: S,
|
|
14655
|
-
submitCustomUrls:
|
|
14655
|
+
submitCustomUrls: U,
|
|
14656
14656
|
selectedGtmThresholds: W
|
|
14657
14657
|
}) {
|
|
14658
14658
|
return async (h, G, x) => {
|
|
@@ -14690,7 +14690,7 @@ function nK({
|
|
|
14690
14690
|
qe(
|
|
14691
14691
|
d,
|
|
14692
14692
|
h,
|
|
14693
|
-
|
|
14693
|
+
U ? c : null,
|
|
14694
14694
|
G,
|
|
14695
14695
|
K,
|
|
14696
14696
|
Q
|
|
@@ -14721,7 +14721,7 @@ const lK = ({
|
|
|
14721
14721
|
setIsConfirmActive: d,
|
|
14722
14722
|
creditDownload: K,
|
|
14723
14723
|
getDownloadCount: S,
|
|
14724
|
-
disabled:
|
|
14724
|
+
disabled: U,
|
|
14725
14725
|
user: W,
|
|
14726
14726
|
setSafariCopyLink: V,
|
|
14727
14727
|
isTest: h,
|
|
@@ -14736,7 +14736,7 @@ const lK = ({
|
|
|
14736
14736
|
}) => {
|
|
14737
14737
|
const [g, L] = M(!1), [Y, C] = M(""), [J, D] = M(!1), [k, Z] = M(!1);
|
|
14738
14738
|
M(!1);
|
|
14739
|
-
const [
|
|
14739
|
+
const [R, b] = M("download"), [E, f] = M(!1), [O, N] = M(!1);
|
|
14740
14740
|
M(!1), M(!1);
|
|
14741
14741
|
const [H, $] = M(!1), [ii, ci] = Ci(Ge), [j, di] = Ci(Ce), w = l === "Playable" ? j : !0, ri = () => {
|
|
14742
14742
|
t(e);
|
|
@@ -14770,10 +14770,9 @@ const lK = ({
|
|
|
14770
14770
|
position: "relative",
|
|
14771
14771
|
display: "flex",
|
|
14772
14772
|
flexDirection: "column",
|
|
14773
|
-
cursor: "pointer",
|
|
14774
14773
|
pointerEvents: "auto"
|
|
14775
14774
|
},
|
|
14776
|
-
className: `gap-3 w-58 rounded-xl h-[6.2rem] transition-all border ${a ? "border-cyan-500/50 hover:border-cyan-400/50" : "border-slate-700/50 hover:border-slate-600"}`,
|
|
14775
|
+
className: `gap-3 cursor-default w-58 rounded-xl h-[6.2rem] transition-all border ${a ? "border-cyan-500/50 hover:border-cyan-400/50" : "border-slate-700/50 hover:border-slate-600"}`,
|
|
14777
14776
|
onClick: ri,
|
|
14778
14777
|
children: [
|
|
14779
14778
|
/* @__PURE__ */ q.jsxs(
|
|
@@ -14802,7 +14801,7 @@ const lK = ({
|
|
|
14802
14801
|
/* @__PURE__ */ q.jsx(
|
|
14803
14802
|
$r,
|
|
14804
14803
|
{
|
|
14805
|
-
className: "flex
|
|
14804
|
+
className: "flex cursor-pointer h-10 items-center justify-center border-0 duration-200 w-full rounded-xl text-white font-medium text-xs hover:shadow-lg hover:shadow-cyan-500/25 transition-all ",
|
|
14806
14805
|
downloading: g,
|
|
14807
14806
|
onClickDownload: async (_) => {
|
|
14808
14807
|
_.stopPropagation(), console.log("user in onclickdownload", W), C("download");
|
|
@@ -14818,7 +14817,7 @@ const lK = ({
|
|
|
14818
14817
|
F && F.downloadType.includes("copy") && /* @__PURE__ */ q.jsx(
|
|
14819
14818
|
$r,
|
|
14820
14819
|
{
|
|
14821
|
-
className: "flex
|
|
14820
|
+
className: "flex cursor-pointer items-center justify-center rounded-xl border-0 text-sm font-medium transition-all duration-200 bg-slate-700 hover:bg-slate-600 w-[4.2rem] h-10 text-white ",
|
|
14822
14821
|
variant: "secondary",
|
|
14823
14822
|
onClickDownload: async (_) => {
|
|
14824
14823
|
if (_.stopPropagation(), H)
|
|
@@ -14827,7 +14826,7 @@ const lK = ({
|
|
|
14827
14826
|
const qi = I.iosUrl, ni = I.googleUrl;
|
|
14828
14827
|
K && (K != null && K.willSpendCredit) ? (b("copy"), d(!0), D(!0)) : l !== "Import" && (!qi || !ni) ? (d(!0), Z(!0)) : (D(!1), Z(!1), await z(o, "copy"), $(!0), setTimeout(() => $(!1), 2e3));
|
|
14829
14828
|
},
|
|
14830
|
-
disabled:
|
|
14829
|
+
disabled: U,
|
|
14831
14830
|
isCopied: H,
|
|
14832
14831
|
children: /* @__PURE__ */ q.jsx(Yo, { className: "h-5 w-5 ", style: { color: "#a9b4c2" } })
|
|
14833
14832
|
}
|
|
@@ -14841,7 +14840,7 @@ const lK = ({
|
|
|
14841
14840
|
J && /* @__PURE__ */ q.jsx(
|
|
14842
14841
|
ze,
|
|
14843
14842
|
{
|
|
14844
|
-
creditConfirmType:
|
|
14843
|
+
creditConfirmType: R,
|
|
14845
14844
|
handleCopyLink: async () => {
|
|
14846
14845
|
Z(!1), d(!1), await z(o, "copy");
|
|
14847
14846
|
},
|
|
@@ -14945,7 +14944,7 @@ const lK = ({
|
|
|
14945
14944
|
urlType: d,
|
|
14946
14945
|
cdnModal: K,
|
|
14947
14946
|
setCdnModal: S,
|
|
14948
|
-
cdnUrl:
|
|
14947
|
+
cdnUrl: U,
|
|
14949
14948
|
setCdnUrl: W,
|
|
14950
14949
|
customer: V,
|
|
14951
14950
|
selectedVersionIds: h,
|
|
@@ -14953,8 +14952,8 @@ const lK = ({
|
|
|
14953
14952
|
setDownloadableVersionIds: x,
|
|
14954
14953
|
selectedGtmThresholds: Q
|
|
14955
14954
|
}) => {
|
|
14956
|
-
const [T, X] = M([]), [B, v] = M([]), [P, g] = M(!1), [L, Y] = M(""), [C, J] = M(!1), [D, k] = M(!1), [Z,
|
|
14957
|
-
si &&
|
|
14955
|
+
const [T, X] = M([]), [B, v] = M([]), [P, g] = M(!1), [L, Y] = M(""), [C, J] = M(!1), [D, k] = M(!1), [Z, R] = M("download"), [b, E] = M(!1), [f, O] = M(!1), [N, H] = M(!1), [$, ii] = Ci(da), [ci, j] = Ci(Za), [di] = Ci(Ge), [w, ri] = Ci(Ce), ki = o === "Playable" ? w : !0, [Vi, F] = M(!1), z = async (si = !1) => {
|
|
14956
|
+
si && U || N || (H(!0), qe(a, "cdn", ki ? A : null, null, !1, {}).then((ai) => {
|
|
14958
14957
|
W(ai.url), H(!1);
|
|
14959
14958
|
}).catch((ai) => {
|
|
14960
14959
|
n(ai.message, ai), H(!1);
|
|
@@ -14990,7 +14989,7 @@ const lK = ({
|
|
|
14990
14989
|
console.log("get multi download err"), J(!1), n(li.message, li), ai(li);
|
|
14991
14990
|
});
|
|
14992
14991
|
}), ni = async () => {
|
|
14993
|
-
A.iosUrl, A.googleUrl, i && i.willSpendCredit ? (k(!0),
|
|
14992
|
+
A.iosUrl, A.googleUrl, i && i.willSpendCredit ? (k(!0), R("download"), E(!0)) : (E(!1), await qi());
|
|
14994
14993
|
}, Li = ho(() => di.filter((ai) => {
|
|
14995
14994
|
var yi;
|
|
14996
14995
|
return h && h.length > 0 ? !0 : i && ((yi = i == null ? void 0 : i.networks) == null ? void 0 : yi.length) > 0 ? typeof ai == "string" ? i == null ? void 0 : i.networks.includes(ai) : i == null ? void 0 : i.networks.includes(ai.name) : o === "Import" ? e == null ? void 0 : e.networks.filter((li) => li.status === "paid").some((li) => li.name === ai.name) : ai ? !0 : e == null ? void 0 : e.networks.includes(ai);
|
|
@@ -15036,7 +15035,7 @@ const lK = ({
|
|
|
15036
15035
|
onClick: () => {
|
|
15037
15036
|
F(!Vi);
|
|
15038
15037
|
},
|
|
15039
|
-
className: "flex items-center gap-1.5 px-4 mr-5 py-2.5 rounded-lg bg-slate-800 text-slate-300 hover:bg-slate-700 hover:text-white transition-all text-sm font-medium",
|
|
15038
|
+
className: "flex items-center cursor-pointer gap-1.5 px-4 mr-5 py-2.5 rounded-lg bg-slate-800 text-slate-300 hover:bg-slate-700 hover:text-white transition-all text-sm font-medium",
|
|
15040
15039
|
children: [
|
|
15041
15040
|
Vi ? /* @__PURE__ */ q.jsx(is, { className: "w-4 h-4", fill: "#ffffff" }) : /* @__PURE__ */ q.jsx(is, { className: "w-4 h-4", fill: "#ffffff" }),
|
|
15042
15041
|
Vi ? "Deselect All" : "Select All"
|
|
@@ -15102,7 +15101,7 @@ const lK = ({
|
|
|
15102
15101
|
urlType: d,
|
|
15103
15102
|
setCdnModal: S,
|
|
15104
15103
|
generateCDN: z,
|
|
15105
|
-
cdnUrl:
|
|
15104
|
+
cdnUrl: U,
|
|
15106
15105
|
selectedVersionIds: h,
|
|
15107
15106
|
downloadableVersionIds: G,
|
|
15108
15107
|
setDownloadableVersionIds: x,
|
|
@@ -15132,7 +15131,7 @@ const lK = ({
|
|
|
15132
15131
|
versionId: a,
|
|
15133
15132
|
urls: A,
|
|
15134
15133
|
handleDownloadError: n,
|
|
15135
|
-
cdnUrl:
|
|
15134
|
+
cdnUrl: U,
|
|
15136
15135
|
setCdnUrl: W,
|
|
15137
15136
|
generateCDN: async () => {
|
|
15138
15137
|
if (!N) {
|
|
@@ -15170,10 +15169,10 @@ const lK = ({
|
|
|
15170
15169
|
handleCopyLink: async () => {
|
|
15171
15170
|
},
|
|
15172
15171
|
download: async () => {
|
|
15173
|
-
|
|
15172
|
+
E(!1), O(!1), z();
|
|
15174
15173
|
},
|
|
15175
15174
|
onClose: () => {
|
|
15176
|
-
|
|
15175
|
+
E(!1), O(!1), H(!1);
|
|
15177
15176
|
},
|
|
15178
15177
|
getDownloadCount: p,
|
|
15179
15178
|
typeOfProduct: o
|
|
@@ -15186,10 +15185,10 @@ const lK = ({
|
|
|
15186
15185
|
handleCopyLink: async () => {
|
|
15187
15186
|
},
|
|
15188
15187
|
download: async () => {
|
|
15189
|
-
|
|
15188
|
+
E(!1), k(!1), await qi();
|
|
15190
15189
|
},
|
|
15191
15190
|
onClose: () => {
|
|
15192
|
-
|
|
15191
|
+
E(!1), k(!1);
|
|
15193
15192
|
},
|
|
15194
15193
|
getDownloadCount: p,
|
|
15195
15194
|
typeOfProduct: o
|
|
@@ -15237,18 +15236,18 @@ const lK = ({
|
|
|
15237
15236
|
setIosLink: d,
|
|
15238
15237
|
setAndroidLink: K,
|
|
15239
15238
|
urlType: S,
|
|
15240
|
-
setUrlType:
|
|
15239
|
+
setUrlType: U,
|
|
15241
15240
|
selectedVersionIds: W,
|
|
15242
15241
|
downloadableVersionIds: V,
|
|
15243
15242
|
setDownloadableVersionIds: h,
|
|
15244
15243
|
selectedGtmThresholds: G
|
|
15245
15244
|
}) => {
|
|
15246
|
-
const [x, Q] = M(null), [T, X] = M(null), [B, v] = M(null), [P, g] = M(!1), [L, Y] = M(!0), [C, J] = M(window.innerWidth), [D, k] = M(!1), [Z,
|
|
15245
|
+
const [x, Q] = M(null), [T, X] = M(null), [B, v] = M(null), [P, g] = M(!1), [L, Y] = M(!0), [C, J] = M(window.innerWidth), [D, k] = M(!1), [Z, R] = M(!1), [b, E] = M("");
|
|
15247
15246
|
Ci(da), Ci(Za);
|
|
15248
15247
|
const [f, O] = Ci(ha);
|
|
15249
15248
|
Ci(Ce), mi(() => {
|
|
15250
15249
|
!b && a !== "Fusion" && vs(i).then((w) => {
|
|
15251
|
-
w != null && w.exist &&
|
|
15250
|
+
w != null && w.exist && E(w.uploadPath);
|
|
15252
15251
|
});
|
|
15253
15252
|
}, [b]), mi(() => {
|
|
15254
15253
|
const w = () => {
|
|
@@ -15385,9 +15384,9 @@ const lK = ({
|
|
|
15385
15384
|
isTest: D,
|
|
15386
15385
|
urlType: S,
|
|
15387
15386
|
cdnModal: Z,
|
|
15388
|
-
setCdnModal:
|
|
15387
|
+
setCdnModal: R,
|
|
15389
15388
|
cdnUrl: b,
|
|
15390
|
-
setCdnUrl:
|
|
15389
|
+
setCdnUrl: E,
|
|
15391
15390
|
customer: ci ?? void 0,
|
|
15392
15391
|
selectedVersionIds: W,
|
|
15393
15392
|
downloadableVersionIds: V,
|
|
@@ -15405,7 +15404,7 @@ function pK({
|
|
|
15405
15404
|
const [t, a] = M(!0);
|
|
15406
15405
|
return mi(() => {
|
|
15407
15406
|
i == null || i({ id: e.versionId, state: t });
|
|
15408
|
-
}, [t]), /* @__PURE__ */ q.jsxs("div", { className: "overflow-x-hidden flex items-start justify-start gap-2 flex-row w-full h-full px-3 py-3 rounded-lg text-base font-medium transition-all bg-slate-800 text-slate-300 border border-slate-700 hover:border-slate-600 hover:text-white", children: [
|
|
15407
|
+
}, [t]), /* @__PURE__ */ q.jsxs("div", { className: "overflow-x-hidden cursor-pointer flex items-start justify-start gap-2 flex-row w-full h-full px-3 py-3 rounded-lg text-base font-medium transition-all bg-slate-800 text-slate-300 border border-slate-700 hover:border-slate-600 hover:text-white", children: [
|
|
15409
15408
|
/* @__PURE__ */ q.jsx(
|
|
15410
15409
|
$n,
|
|
15411
15410
|
{
|
|
@@ -15559,7 +15558,7 @@ const uK = ({
|
|
|
15559
15558
|
(o) => a ? o.filter((r) => r !== t) : [...o, t]
|
|
15560
15559
|
);
|
|
15561
15560
|
},
|
|
15562
|
-
className: `px-3 py-2 rounded-lg text-base font-medium transition-all ${a ? "bg-cyan-500 text-white border border-cyan-400" : "bg-slate-800 text-slate-300 border border-slate-700 hover:border-slate-600 hover:text-white"}`,
|
|
15561
|
+
className: `px-3 py-2 rounded-lg text-base font-medium transition-all cursor-pointer ${a ? "bg-cyan-500 text-white border border-cyan-400" : "bg-slate-800 text-slate-300 border border-slate-700 hover:border-slate-600 hover:text-white"}`,
|
|
15563
15562
|
children: [
|
|
15564
15563
|
t,
|
|
15565
15564
|
" clicks"
|
|
@@ -15615,42 +15614,42 @@ const gK = ({
|
|
|
15615
15614
|
onNameChange: c
|
|
15616
15615
|
}) => {
|
|
15617
15616
|
Xs("Playable", n, "", I, void 0);
|
|
15618
|
-
const [d, K] = M(window.innerWidth), [S,
|
|
15617
|
+
const [d, K] = M(window.innerWidth), [S, U] = M(!1), [W, V] = M(m);
|
|
15619
15618
|
M(!1), M(!1);
|
|
15620
15619
|
const [h, G] = M(null), [x, Q] = M(""), [T, X] = M("Loading..."), [B, v] = M("Loading..."), [P, g] = M("game"), [L, Y] = Ci(Ge), [C, J] = Ci(ha), [D, k] = M(
|
|
15621
15620
|
a || []
|
|
15622
|
-
), [Z,
|
|
15621
|
+
), [Z, R] = M([]);
|
|
15623
15622
|
me(null), mi(() => {
|
|
15624
15623
|
k(a || []);
|
|
15625
15624
|
}, [a]);
|
|
15626
15625
|
const b = async () => {
|
|
15627
|
-
let
|
|
15628
|
-
if (!
|
|
15626
|
+
let E = await kn(n);
|
|
15627
|
+
if (!E) {
|
|
15629
15628
|
At("Networks not found");
|
|
15630
15629
|
return;
|
|
15631
15630
|
}
|
|
15632
|
-
|
|
15633
|
-
|
|
15631
|
+
E = E.map((f) => f), console.log(E), Y(E), J(
|
|
15632
|
+
E.map((f) => f.id).filter((f) => f !== "default")
|
|
15634
15633
|
);
|
|
15635
15634
|
};
|
|
15636
15635
|
return mi(() => {
|
|
15637
|
-
e ? S || (b(),
|
|
15636
|
+
e ? S || (b(), U(!0)) : (U(!1), V(""));
|
|
15638
15637
|
}, [e]), mi(() => {
|
|
15639
|
-
const
|
|
15638
|
+
const E = () => {
|
|
15640
15639
|
K(window.innerWidth);
|
|
15641
15640
|
};
|
|
15642
|
-
return window.addEventListener("resize",
|
|
15643
|
-
window.removeEventListener("resize",
|
|
15641
|
+
return window.addEventListener("resize", E), () => {
|
|
15642
|
+
window.removeEventListener("resize", E);
|
|
15644
15643
|
};
|
|
15645
15644
|
}, []), /* @__PURE__ */ q.jsx(
|
|
15646
15645
|
"div",
|
|
15647
15646
|
{
|
|
15648
15647
|
className: "BPL TRPBASO",
|
|
15649
|
-
onMouseDown: (
|
|
15650
|
-
|
|
15648
|
+
onMouseDown: (E) => {
|
|
15649
|
+
E.stopPropagation();
|
|
15651
15650
|
},
|
|
15652
|
-
onMouseUp: (
|
|
15653
|
-
|
|
15651
|
+
onMouseUp: (E) => {
|
|
15652
|
+
E.stopPropagation();
|
|
15654
15653
|
},
|
|
15655
15654
|
children: /* @__PURE__ */ q.jsx(
|
|
15656
15655
|
It,
|
|
@@ -15715,11 +15714,11 @@ const gK = ({
|
|
|
15715
15714
|
transition: "background-color 0.2s",
|
|
15716
15715
|
backgroundColor: "transparent"
|
|
15717
15716
|
},
|
|
15718
|
-
onMouseEnter: (
|
|
15719
|
-
|
|
15717
|
+
onMouseEnter: (E) => {
|
|
15718
|
+
E.currentTarget.style.backgroundColor = "#F3F4F6";
|
|
15720
15719
|
},
|
|
15721
|
-
onMouseLeave: (
|
|
15722
|
-
|
|
15720
|
+
onMouseLeave: (E) => {
|
|
15721
|
+
E.currentTarget.style.backgroundColor = "transparent";
|
|
15723
15722
|
},
|
|
15724
15723
|
children: /* @__PURE__ */ q.jsxs(
|
|
15725
15724
|
"svg",
|
|
@@ -15764,7 +15763,7 @@ const gK = ({
|
|
|
15764
15763
|
{
|
|
15765
15764
|
downloadableVersionIds: D,
|
|
15766
15765
|
selectedGtmThresholds: Z,
|
|
15767
|
-
setSelectedGtmThresholds:
|
|
15766
|
+
setSelectedGtmThresholds: R,
|
|
15768
15767
|
gearboxAINetworkComponent: /* @__PURE__ */ q.jsx(
|
|
15769
15768
|
qK,
|
|
15770
15769
|
{
|