gearboxdownloadmodal 6.0.83 → 6.0.85
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 +155 -158
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +9 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -158,7 +158,7 @@ function ul() {
|
|
|
158
158
|
function H() {
|
|
159
159
|
}
|
|
160
160
|
H.__reactDisabledLog = !0;
|
|
161
|
-
function
|
|
161
|
+
function D() {
|
|
162
162
|
{
|
|
163
163
|
if (L === 0) {
|
|
164
164
|
G = console.log, y = console.info, K = console.warn, U = console.error, w = console.group, I = console.groupCollapsed, X = console.groupEnd;
|
|
@@ -248,7 +248,7 @@ function ul() {
|
|
|
248
248
|
var pe = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var ye;
|
|
251
|
-
ye = Q.current, Q.current = null,
|
|
251
|
+
ye = Q.current, Q.current = null, D();
|
|
252
252
|
try {
|
|
253
253
|
if (O) {
|
|
254
254
|
var de = function() {
|
|
@@ -342,8 +342,8 @@ function ul() {
|
|
|
342
342
|
}
|
|
343
343
|
return "";
|
|
344
344
|
}
|
|
345
|
-
var Je = Object.prototype.hasOwnProperty,
|
|
346
|
-
function
|
|
345
|
+
var Je = Object.prototype.hasOwnProperty, J = {}, V = b.ReactDebugCurrentFrame;
|
|
346
|
+
function oe(h) {
|
|
347
347
|
if (h) {
|
|
348
348
|
var O = h._owner, N = Ee(h.type, h._source, O ? O.type : null);
|
|
349
349
|
V.setExtraStackFrame(N);
|
|
@@ -365,13 +365,13 @@ function ul() {
|
|
|
365
365
|
} catch (Ce) {
|
|
366
366
|
Ae = Ce;
|
|
367
367
|
}
|
|
368
|
-
Ae && !(Ae instanceof Error) && (
|
|
368
|
+
Ae && !(Ae instanceof Error) && (oe(pe), Z("%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).", te || "React class", N, de, typeof Ae), oe(null)), Ae instanceof Error && !(Ae.message in J) && (J[Ae.message] = !0, oe(pe), Z("Failed %s type: %s", N, Ae.message), oe(null));
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var ae = Array.isArray;
|
|
373
373
|
function ge(h) {
|
|
374
|
-
return
|
|
374
|
+
return ae(h);
|
|
375
375
|
}
|
|
376
376
|
function Bt(h) {
|
|
377
377
|
{
|
|
@@ -869,7 +869,7 @@ function pl() {
|
|
|
869
869
|
function H(R) {
|
|
870
870
|
return typeof R == "object" && R !== null && R.$$typeof === e;
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function D(R) {
|
|
873
873
|
return S(R) === u;
|
|
874
874
|
}
|
|
875
875
|
function P(R) {
|
|
@@ -893,7 +893,7 @@ function pl() {
|
|
|
893
893
|
function be(R) {
|
|
894
894
|
return S(R) === c;
|
|
895
895
|
}
|
|
896
|
-
me.AsyncMode = q, me.ConcurrentMode = T, me.ContextConsumer = x, me.ContextProvider = k, me.Element = Y, me.ForwardRef = W, me.Fragment = z, me.Lazy = j, me.Memo = B, me.Portal = E, me.Profiler = L, me.StrictMode = G, me.Suspense = y, me.isAsyncMode = U, me.isConcurrentMode = w, me.isContextConsumer = I, me.isContextProvider = X, me.isElement = H, me.isForwardRef =
|
|
896
|
+
me.AsyncMode = q, me.ConcurrentMode = T, me.ContextConsumer = x, me.ContextProvider = k, me.Element = Y, me.ForwardRef = W, me.Fragment = z, me.Lazy = j, me.Memo = B, me.Portal = E, me.Profiler = L, me.StrictMode = G, me.Suspense = y, me.isAsyncMode = U, me.isConcurrentMode = w, me.isContextConsumer = I, me.isContextProvider = X, me.isElement = H, me.isForwardRef = D, me.isFragment = P, me.isLazy = Q, me.isMemo = F, me.isPortal = re, me.isProfiler = le, me.isStrictMode = ee, me.isSuspense = be, me.isValidElementType = M, me.typeOf = S;
|
|
897
897
|
}()), me;
|
|
898
898
|
}
|
|
899
899
|
var _i;
|
|
@@ -1087,16 +1087,16 @@ function gl() {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
return Q[F] == null ? P ? Q[F] === null ? new m("The " + le + " `" + ee + "` is marked as required " + ("in `" + re + "`, but its value is `null`.")) : new m("The " + le + " `" + ee + "` is marked as required in " + ("`" + re + "`, but its value is `undefined`.")) : null : w(Q, F, re, le, ee);
|
|
1089
1089
|
}
|
|
1090
|
-
var
|
|
1091
|
-
return
|
|
1090
|
+
var D = H.bind(null, !1);
|
|
1091
|
+
return D.isRequired = H.bind(null, !0), D;
|
|
1092
1092
|
}
|
|
1093
1093
|
function b(w) {
|
|
1094
|
-
function I(X, H,
|
|
1094
|
+
function I(X, H, D, P, Q, F) {
|
|
1095
1095
|
var re = X[H], le = G(re);
|
|
1096
1096
|
if (le !== w) {
|
|
1097
1097
|
var ee = y(re);
|
|
1098
1098
|
return new m(
|
|
1099
|
-
"Invalid " + P + " `" + Q + "` of type " + ("`" + ee + "` supplied to `" +
|
|
1099
|
+
"Invalid " + P + " `" + Q + "` of type " + ("`" + ee + "` supplied to `" + D + "`, expected ") + ("`" + w + "`."),
|
|
1100
1100
|
{ expectedType: w }
|
|
1101
1101
|
);
|
|
1102
1102
|
}
|
|
@@ -1108,16 +1108,16 @@ function gl() {
|
|
|
1108
1108
|
return v(o);
|
|
1109
1109
|
}
|
|
1110
1110
|
function M(w) {
|
|
1111
|
-
function I(X, H,
|
|
1111
|
+
function I(X, H, D, P, Q) {
|
|
1112
1112
|
if (typeof w != "function")
|
|
1113
|
-
return new m("Property `" + Q + "` of component `" +
|
|
1113
|
+
return new m("Property `" + Q + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
|
|
1114
1114
|
var F = X[H];
|
|
1115
1115
|
if (!Array.isArray(F)) {
|
|
1116
1116
|
var re = G(F);
|
|
1117
|
-
return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" +
|
|
1117
|
+
return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" + D + "`, expected an array."));
|
|
1118
1118
|
}
|
|
1119
1119
|
for (var le = 0; le < F.length; le++) {
|
|
1120
|
-
var ee = w(F, le,
|
|
1120
|
+
var ee = w(F, le, D, P, Q + "[" + le + "]", n);
|
|
1121
1121
|
if (ee instanceof Error)
|
|
1122
1122
|
return ee;
|
|
1123
1123
|
}
|
|
@@ -1126,32 +1126,32 @@ function gl() {
|
|
|
1126
1126
|
return v(I);
|
|
1127
1127
|
}
|
|
1128
1128
|
function S() {
|
|
1129
|
-
function w(I, X, H,
|
|
1129
|
+
function w(I, X, H, D, P) {
|
|
1130
1130
|
var Q = I[X];
|
|
1131
1131
|
if (!a(Q)) {
|
|
1132
1132
|
var F = G(Q);
|
|
1133
|
-
return new m("Invalid " +
|
|
1133
|
+
return new m("Invalid " + D + " `" + P + "` of type " + ("`" + F + "` supplied to `" + H + "`, expected a single ReactElement."));
|
|
1134
1134
|
}
|
|
1135
1135
|
return null;
|
|
1136
1136
|
}
|
|
1137
1137
|
return v(w);
|
|
1138
1138
|
}
|
|
1139
1139
|
function q() {
|
|
1140
|
-
function w(I, X, H,
|
|
1140
|
+
function w(I, X, H, D, P) {
|
|
1141
1141
|
var Q = I[X];
|
|
1142
1142
|
if (!t.isValidElementType(Q)) {
|
|
1143
1143
|
var F = G(Q);
|
|
1144
|
-
return new m("Invalid " +
|
|
1144
|
+
return new m("Invalid " + D + " `" + P + "` of type " + ("`" + F + "` supplied to `" + H + "`, expected a single ReactElement type."));
|
|
1145
1145
|
}
|
|
1146
1146
|
return null;
|
|
1147
1147
|
}
|
|
1148
1148
|
return v(w);
|
|
1149
1149
|
}
|
|
1150
1150
|
function T(w) {
|
|
1151
|
-
function I(X, H,
|
|
1151
|
+
function I(X, H, D, P, Q) {
|
|
1152
1152
|
if (!(X[H] instanceof w)) {
|
|
1153
1153
|
var F = w.name || f, re = U(X[H]);
|
|
1154
|
-
return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" +
|
|
1154
|
+
return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" + D + "`, expected ") + ("instance of `" + F + "`."));
|
|
1155
1155
|
}
|
|
1156
1156
|
return null;
|
|
1157
1157
|
}
|
|
@@ -1162,7 +1162,7 @@ function gl() {
|
|
|
1162
1162
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
1163
1163
|
"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])."
|
|
1164
1164
|
) : s("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
1165
|
-
function I(X, H,
|
|
1165
|
+
function I(X, H, D, P, Q) {
|
|
1166
1166
|
for (var F = X[H], re = 0; re < w.length; re++)
|
|
1167
1167
|
if (g(F, w[re]))
|
|
1168
1168
|
return null;
|
|
@@ -1170,20 +1170,20 @@ function gl() {
|
|
|
1170
1170
|
var we = y(R);
|
|
1171
1171
|
return we === "symbol" ? String(R) : R;
|
|
1172
1172
|
});
|
|
1173
|
-
return new m("Invalid " + P + " `" + Q + "` of value `" + String(F) + "` " + ("supplied to `" +
|
|
1173
|
+
return new m("Invalid " + P + " `" + Q + "` of value `" + String(F) + "` " + ("supplied to `" + D + "`, expected one of " + le + "."));
|
|
1174
1174
|
}
|
|
1175
1175
|
return v(I);
|
|
1176
1176
|
}
|
|
1177
1177
|
function k(w) {
|
|
1178
|
-
function I(X, H,
|
|
1178
|
+
function I(X, H, D, P, Q) {
|
|
1179
1179
|
if (typeof w != "function")
|
|
1180
|
-
return new m("Property `" + Q + "` of component `" +
|
|
1180
|
+
return new m("Property `" + Q + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
|
|
1181
1181
|
var F = X[H], re = G(F);
|
|
1182
1182
|
if (re !== "object")
|
|
1183
|
-
return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" +
|
|
1183
|
+
return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" + D + "`, expected an object."));
|
|
1184
1184
|
for (var le in F)
|
|
1185
1185
|
if (r(F, le)) {
|
|
1186
|
-
var ee = w(F, le,
|
|
1186
|
+
var ee = w(F, le, D, P, Q + "." + le, n);
|
|
1187
1187
|
if (ee instanceof Error)
|
|
1188
1188
|
return ee;
|
|
1189
1189
|
}
|
|
@@ -1201,9 +1201,9 @@ function gl() {
|
|
|
1201
1201
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(X) + " at index " + I + "."
|
|
1202
1202
|
), o;
|
|
1203
1203
|
}
|
|
1204
|
-
function H(
|
|
1204
|
+
function H(D, P, Q, F, re) {
|
|
1205
1205
|
for (var le = [], ee = 0; ee < w.length; ee++) {
|
|
1206
|
-
var be = w[ee], R = be(
|
|
1206
|
+
var be = w[ee], R = be(D, P, Q, F, re, n);
|
|
1207
1207
|
if (R == null)
|
|
1208
1208
|
return null;
|
|
1209
1209
|
R.data && r(R.data, "expectedType") && le.push(R.data.expectedType);
|
|
@@ -1214,26 +1214,26 @@ function gl() {
|
|
|
1214
1214
|
return v(H);
|
|
1215
1215
|
}
|
|
1216
1216
|
function W() {
|
|
1217
|
-
function w(I, X, H,
|
|
1218
|
-
return E(I[X]) ? null : new m("Invalid " +
|
|
1217
|
+
function w(I, X, H, D, P) {
|
|
1218
|
+
return E(I[X]) ? null : new m("Invalid " + D + " `" + P + "` supplied to " + ("`" + H + "`, expected a ReactNode."));
|
|
1219
1219
|
}
|
|
1220
1220
|
return v(w);
|
|
1221
1221
|
}
|
|
1222
|
-
function z(w, I, X, H,
|
|
1222
|
+
function z(w, I, X, H, D) {
|
|
1223
1223
|
return new m(
|
|
1224
|
-
(w || "React class") + ": " + I + " type `" + X + "." + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
1224
|
+
(w || "React class") + ": " + I + " type `" + X + "." + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
|
|
1225
1225
|
);
|
|
1226
1226
|
}
|
|
1227
1227
|
function j(w) {
|
|
1228
|
-
function I(X, H,
|
|
1228
|
+
function I(X, H, D, P, Q) {
|
|
1229
1229
|
var F = X[H], re = G(F);
|
|
1230
1230
|
if (re !== "object")
|
|
1231
|
-
return new m("Invalid " + P + " `" + Q + "` of type `" + re + "` " + ("supplied to `" +
|
|
1231
|
+
return new m("Invalid " + P + " `" + Q + "` of type `" + re + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
1232
1232
|
for (var le in w) {
|
|
1233
1233
|
var ee = w[le];
|
|
1234
1234
|
if (typeof ee != "function")
|
|
1235
|
-
return z(
|
|
1236
|
-
var be = ee(F, le,
|
|
1235
|
+
return z(D, P, Q, le, y(ee));
|
|
1236
|
+
var be = ee(F, le, D, P, Q + "." + le, n);
|
|
1237
1237
|
if (be)
|
|
1238
1238
|
return be;
|
|
1239
1239
|
}
|
|
@@ -1242,21 +1242,21 @@ function gl() {
|
|
|
1242
1242
|
return v(I);
|
|
1243
1243
|
}
|
|
1244
1244
|
function B(w) {
|
|
1245
|
-
function I(X, H,
|
|
1245
|
+
function I(X, H, D, P, Q) {
|
|
1246
1246
|
var F = X[H], re = G(F);
|
|
1247
1247
|
if (re !== "object")
|
|
1248
|
-
return new m("Invalid " + P + " `" + Q + "` of type `" + re + "` " + ("supplied to `" +
|
|
1248
|
+
return new m("Invalid " + P + " `" + Q + "` of type `" + re + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
1249
1249
|
var le = e({}, X[H], w);
|
|
1250
1250
|
for (var ee in le) {
|
|
1251
1251
|
var be = w[ee];
|
|
1252
1252
|
if (r(w, ee) && typeof be != "function")
|
|
1253
|
-
return z(
|
|
1253
|
+
return z(D, P, Q, ee, y(be));
|
|
1254
1254
|
if (!be)
|
|
1255
1255
|
return new m(
|
|
1256
|
-
"Invalid " + P + " `" + Q + "` key `" + ee + "` supplied to `" +
|
|
1256
|
+
"Invalid " + P + " `" + Q + "` key `" + ee + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(X[H], null, " ") + `
|
|
1257
1257
|
Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
1258
1258
|
);
|
|
1259
|
-
var R = be(F, ee,
|
|
1259
|
+
var R = be(F, ee, D, P, Q + "." + ee, n);
|
|
1260
1260
|
if (R)
|
|
1261
1261
|
return R;
|
|
1262
1262
|
}
|
|
@@ -1286,8 +1286,8 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
1286
1286
|
return !1;
|
|
1287
1287
|
} else
|
|
1288
1288
|
for (; !(H = X.next()).done; ) {
|
|
1289
|
-
var
|
|
1290
|
-
if (
|
|
1289
|
+
var D = H.value;
|
|
1290
|
+
if (D && !E(D[1]))
|
|
1291
1291
|
return !1;
|
|
1292
1292
|
}
|
|
1293
1293
|
} else
|
|
@@ -8056,26 +8056,26 @@ const Yd = ({
|
|
|
8056
8056
|
generateCDN: k,
|
|
8057
8057
|
cdnUrl: Y
|
|
8058
8058
|
}) => {
|
|
8059
|
-
const [W, z] = _(!1), [j, B] = _(""), [E, L] = _(!1), [G, y] = _(!1), [K, U] = _(!1), [w, I] = _("download"), [X, H] = _(!1), [
|
|
8059
|
+
const [W, z] = _(!1), [j, B] = _(""), [E, L] = _(!1), [G, y] = _(!1), [K, U] = _(!1), [w, I] = _("download"), [X, H] = _(!1), [D, P] = _(!1), [Q, F] = _(!1), [re, le] = Ne(ki), [ee, be] = Ne(pn), R = l === "Playable" ? ee : !0, we = {
|
|
8060
8060
|
cdn: "Generate Link",
|
|
8061
8061
|
adikteev: "Copy CDN"
|
|
8062
8062
|
}, Me = () => {
|
|
8063
8063
|
n(t);
|
|
8064
|
-
}, Ee = async ($,
|
|
8064
|
+
}, Ee = async ($, ae) => {
|
|
8065
8065
|
const ge = {
|
|
8066
8066
|
molocoGenerateHtml: !1,
|
|
8067
8067
|
urlType: T
|
|
8068
8068
|
};
|
|
8069
|
-
if (V && (
|
|
8069
|
+
if (V && (ae === "copy" ? (P(!0), ae = "download", ge.molocoGenerateHtml = !0) : H(!0)), console.log("getVersion", $, ae, ge), $ === "cdn") {
|
|
8070
8070
|
x(!0), await k(!0);
|
|
8071
8071
|
return;
|
|
8072
8072
|
}
|
|
8073
|
-
return $ === "adikteev" && (
|
|
8073
|
+
return $ === "adikteev" && (ae = "copy"), z(!0), new Promise((Bt, kt) => {
|
|
8074
8074
|
ln(
|
|
8075
8075
|
A,
|
|
8076
8076
|
$,
|
|
8077
8077
|
R ? p : null,
|
|
8078
|
-
|
|
8078
|
+
ae,
|
|
8079
8079
|
q,
|
|
8080
8080
|
ge
|
|
8081
8081
|
).then((it) => {
|
|
@@ -8086,20 +8086,20 @@ const Yd = ({
|
|
|
8086
8086
|
});
|
|
8087
8087
|
}, Je = async ($ = !1) => {
|
|
8088
8088
|
$ ? P(!0) : H(!0);
|
|
8089
|
-
const
|
|
8089
|
+
const ae = {
|
|
8090
8090
|
molocoGenerateHtml: !1
|
|
8091
8091
|
};
|
|
8092
|
-
$ && (
|
|
8092
|
+
$ && (ae.molocoGenerateHtml = !0), ln(A, i, R ? p : null, "download", q, ae).then((ge) => {
|
|
8093
8093
|
$ ? P(!1) : H(!1), U(!1);
|
|
8094
8094
|
}).catch((ge) => {
|
|
8095
8095
|
c(ge.message, ge);
|
|
8096
8096
|
});
|
|
8097
|
-
},
|
|
8097
|
+
}, J = async () => {
|
|
8098
8098
|
F(!0);
|
|
8099
8099
|
const $ = await Rd(u, A, i, l);
|
|
8100
|
-
let
|
|
8101
|
-
Dt(
|
|
8102
|
-
}, V = i === "moloco" || i === "molocoV2",
|
|
8100
|
+
let ae = `${f}/${$ == null ? void 0 : $.url}`;
|
|
8101
|
+
Dt(ae) ? (Lt(ue.t("common:link_copied")), F(!1)) : S(ae);
|
|
8102
|
+
}, V = i === "moloco" || i === "molocoV2", oe = re.find(($) => $.name === i);
|
|
8103
8103
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
8104
8104
|
/* @__PURE__ */ d.jsxs(
|
|
8105
8105
|
"div",
|
|
@@ -8233,8 +8233,8 @@ const Yd = ({
|
|
|
8233
8233
|
return;
|
|
8234
8234
|
} else {
|
|
8235
8235
|
B("download");
|
|
8236
|
-
const
|
|
8237
|
-
i === "cdn" && v && v.willSpendCredit && !Y || i !== "cdn" && v && v.willSpendCredit ? (m(!0), I("download"), L(!0)) : ["Playable", "Flex"].includes(l) && (!
|
|
8236
|
+
const ae = p.iosUrl, ge = p.googleUrl;
|
|
8237
|
+
i === "cdn" && v && v.willSpendCredit && !Y || i !== "cdn" && v && v.willSpendCredit ? (m(!0), I("download"), L(!0)) : ["Playable", "Flex"].includes(l) && (!ae || !ge) || l === "Ready" && T === "single" && !ae || l === "Ready" && T === "multi" && (!ae || !ge) ? (m(!0), y(!0)) : (y(!1), L(!1), await Ee(i, "download"));
|
|
8238
8238
|
}
|
|
8239
8239
|
},
|
|
8240
8240
|
children: V ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
@@ -8280,14 +8280,14 @@ const Yd = ({
|
|
|
8280
8280
|
] })
|
|
8281
8281
|
}
|
|
8282
8282
|
),
|
|
8283
|
-
|
|
8283
|
+
oe && oe.downloadType.includes("copy") && /* @__PURE__ */ d.jsx(
|
|
8284
8284
|
jr,
|
|
8285
8285
|
{
|
|
8286
8286
|
className: "w-1/3 border-hover-" + l,
|
|
8287
8287
|
onClickDonwload: async ($) => {
|
|
8288
8288
|
$.stopPropagation(), B("copyLink");
|
|
8289
|
-
const
|
|
8290
|
-
v && (v != null && v.willSpendCredit) ? (I("copy"), m(!0), L(!0)) : l !== "Import" && (!
|
|
8289
|
+
const ae = p.iosUrl, ge = p.googleUrl;
|
|
8290
|
+
v && (v != null && v.willSpendCredit) ? (I("copy"), m(!0), L(!0)) : l !== "Import" && (!ae || !ge) ? (m(!0), y(!0)) : (L(!1), y(!1), await Ee(i, "copy"));
|
|
8291
8291
|
},
|
|
8292
8292
|
disabled: Z,
|
|
8293
8293
|
children: /* @__PURE__ */ d.jsx(bo, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -8299,12 +8299,12 @@ const Yd = ({
|
|
|
8299
8299
|
className: "w-1/2 border-hover-" + l,
|
|
8300
8300
|
onClickDonwload: async ($) => {
|
|
8301
8301
|
$.stopPropagation(), B("copyLink");
|
|
8302
|
-
const
|
|
8303
|
-
v && (v != null && v.willSpendCredit) ? (I("download"), m(!0), L(!0)) : l !== "Import" && (!
|
|
8302
|
+
const ae = p.iosUrl, ge = p.googleUrl;
|
|
8303
|
+
v && (v != null && v.willSpendCredit) ? (I("download"), m(!0), L(!0)) : l !== "Import" && (!ae || !ge) ? (m(!0), y(!0)) : (L(!1), y(!1), await Je(!0));
|
|
8304
8304
|
},
|
|
8305
8305
|
disabled: Z,
|
|
8306
8306
|
children: [
|
|
8307
|
-
!
|
|
8307
|
+
!D && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
8308
8308
|
/* @__PURE__ */ d.jsx(
|
|
8309
8309
|
zr,
|
|
8310
8310
|
{
|
|
@@ -8322,7 +8322,7 @@ const Yd = ({
|
|
|
8322
8322
|
),
|
|
8323
8323
|
ue.t("common:html")
|
|
8324
8324
|
] }),
|
|
8325
|
-
|
|
8325
|
+
D && /* @__PURE__ */ d.jsx(sn, {})
|
|
8326
8326
|
]
|
|
8327
8327
|
}
|
|
8328
8328
|
)
|
|
@@ -8374,10 +8374,10 @@ const Yd = ({
|
|
|
8374
8374
|
U(!1);
|
|
8375
8375
|
},
|
|
8376
8376
|
handleDownload: Je,
|
|
8377
|
-
handleDownloadMolocoTest:
|
|
8377
|
+
handleDownloadMolocoTest: J,
|
|
8378
8378
|
downloadingMoloco: X,
|
|
8379
8379
|
donwloadintMolocoTest: Q,
|
|
8380
|
-
downloadingMolocoHtml:
|
|
8380
|
+
downloadingMolocoHtml: D
|
|
8381
8381
|
}
|
|
8382
8382
|
)
|
|
8383
8383
|
] });
|
|
@@ -8791,37 +8791,37 @@ const Yd = ({
|
|
|
8791
8791
|
setCdnUrl: S,
|
|
8792
8792
|
customer: q
|
|
8793
8793
|
}) => {
|
|
8794
|
-
const [T, x] = _([]), [k, Y] = _([]), [W, z] = _(!1), [j, B] = _(""), [E, L] = _(!1), [G, y] = _(!1), [K, U] = _("download"), [w, I] = _(!1), [X, H] = _(!1), [
|
|
8795
|
-
V && M ||
|
|
8796
|
-
S(
|
|
8797
|
-
}).catch((
|
|
8798
|
-
a(
|
|
8794
|
+
const [T, x] = _([]), [k, Y] = _([]), [W, z] = _(!1), [j, B] = _(""), [E, L] = _(!1), [G, y] = _(!1), [K, U] = _("download"), [w, I] = _(!1), [X, H] = _(!1), [D, P] = _(!1), [Q, F] = Ne(ua), [re, le] = Ne(Aa), [ee] = Ne(ki), [be, R] = Ne(pn), we = i === "Playable" ? be : !0, Me = async (V = !1) => {
|
|
8795
|
+
V && M || D || (P(!0), ln(r, "cdn", we ? A : null, null, !1, {}).then((oe) => {
|
|
8796
|
+
S(oe.url), P(!1);
|
|
8797
|
+
}).catch((oe) => {
|
|
8798
|
+
a(oe.message, oe), P(!1);
|
|
8799
8799
|
}));
|
|
8800
8800
|
}, Ee = async (V) => {
|
|
8801
8801
|
if (V === "adikteev")
|
|
8802
8802
|
return;
|
|
8803
|
-
const
|
|
8803
|
+
const oe = [...T];
|
|
8804
8804
|
if (T.includes(V)) {
|
|
8805
|
-
const $ =
|
|
8806
|
-
|
|
8805
|
+
const $ = oe.findIndex((ae) => ae === V);
|
|
8806
|
+
oe.splice($, 1), x(oe);
|
|
8807
8807
|
} else
|
|
8808
|
-
|
|
8809
|
-
ee.filter(($) => [...
|
|
8810
|
-
}, Je = async () => new Promise(async (V,
|
|
8811
|
-
const $ = ee.filter((
|
|
8812
|
-
L(!0), od(r, A, $, { urlType: m }).then((
|
|
8813
|
-
L(!1), V(
|
|
8814
|
-
}).catch((
|
|
8815
|
-
console.log("get multi download err"), L(!1), a(
|
|
8808
|
+
oe.push(V), x([...T, V]);
|
|
8809
|
+
ee.filter(($) => [...oe].includes($.id)).map(($) => $.name);
|
|
8810
|
+
}, Je = async () => new Promise(async (V, oe) => {
|
|
8811
|
+
const $ = ee.filter((ae) => [...T].includes(ae.id)).map((ae) => ae.name);
|
|
8812
|
+
L(!0), od(r, A, $, { urlType: m }).then((ae) => {
|
|
8813
|
+
L(!1), V(ae);
|
|
8814
|
+
}).catch((ae) => {
|
|
8815
|
+
console.log("get multi download err"), L(!1), a(ae.message, ae), oe(ae);
|
|
8816
8816
|
});
|
|
8817
|
-
}),
|
|
8817
|
+
}), J = async () => {
|
|
8818
8818
|
A.iosUrl, A.googleUrl, e && e.willSpendCredit ? (y(!0), U("download"), I(!0)) : (I(!1), await Je());
|
|
8819
8819
|
};
|
|
8820
8820
|
return Ze(() => {
|
|
8821
|
-
const V = ee.filter((
|
|
8821
|
+
const V = ee.filter((oe) => {
|
|
8822
8822
|
var $;
|
|
8823
|
-
return e && (($ = e == null ? void 0 : e.networks) == null ? void 0 : $.length) > 0 ? e == null ? void 0 : e.networks.includes(
|
|
8824
|
-
}).filter((
|
|
8823
|
+
return e && (($ = e == null ? void 0 : e.networks) == null ? void 0 : $.length) > 0 ? typeof oe == "string" ? e == null ? void 0 : e.networks.includes(oe) : e == null ? void 0 : e.networks.includes(oe.name) : i === "Import" ? t == null ? void 0 : t.networks.filter((ae) => ae.status === "paid").some((ae) => ae.name === oe.name) : (t == null ? void 0 : t.networks.includes(oe.name)) || (u == null ? void 0 : u.networks.includes(oe.name));
|
|
8824
|
+
}).filter((oe) => oe.name === "voodoo" ? o.customer === "customer:20" : !0).map((oe) => oe.id);
|
|
8825
8825
|
x(v ? V : []);
|
|
8826
8826
|
}, [v]), /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
8827
8827
|
/* @__PURE__ */ d.jsx(
|
|
@@ -8845,25 +8845,22 @@ const Yd = ({
|
|
|
8845
8845
|
padding: "0.75rem"
|
|
8846
8846
|
},
|
|
8847
8847
|
children: n && ee.filter((V) => {
|
|
8848
|
-
var
|
|
8849
|
-
return
|
|
8850
|
-
e.networks.includes(V.name),
|
|
8851
|
-
"emre colak"
|
|
8852
|
-
), e == null ? void 0 : e.networks.includes(V.name)) : i === "Import" ? t == null ? void 0 : t.networks.filter(($) => $.status === "paid").some(($) => $.name === V.name) : q != null && q.networks ? q.networks.includes(V.name) : (t == null ? void 0 : t.networks.includes(V.name)) || (u == null ? void 0 : u.networks.includes(V.name));
|
|
8848
|
+
var oe;
|
|
8849
|
+
return e && ((oe = e == null ? void 0 : e.networks) == null ? void 0 : oe.length) > 0 ? typeof V == "string" ? e == null ? void 0 : e.networks.includes(V) : e == null ? void 0 : e.networks.includes(V.name) : i === "Import" ? t == null ? void 0 : t.networks.filter(($) => $.status === "paid").some(($) => $.name === V.name) : q != null && q.networks ? q.networks.includes(V.name) : (t == null ? void 0 : t.networks.includes(V.name)) || (u == null ? void 0 : u.networks.includes(V.name));
|
|
8853
8850
|
}).filter(
|
|
8854
8851
|
(V) => V.name === "voodoo" ? o.customer === "customer:20" : !0
|
|
8855
8852
|
).map((V) => {
|
|
8856
|
-
let
|
|
8853
|
+
let oe = V.imageSrc;
|
|
8857
8854
|
if (V.name === "web") {
|
|
8858
8855
|
let $ = "web_" + i.toLowerCase() + ".png";
|
|
8859
|
-
|
|
8856
|
+
oe = oe.replace("web.png", $);
|
|
8860
8857
|
}
|
|
8861
8858
|
return /* @__PURE__ */ d.jsx(
|
|
8862
8859
|
Yd,
|
|
8863
8860
|
{
|
|
8864
8861
|
id: V.id,
|
|
8865
8862
|
name: V.name,
|
|
8866
|
-
imageUrl:
|
|
8863
|
+
imageUrl: oe,
|
|
8867
8864
|
selected: T.includes(V.id),
|
|
8868
8865
|
handleCardClick: Ee,
|
|
8869
8866
|
networkVersionSize: k,
|
|
@@ -8911,7 +8908,7 @@ const Yd = ({
|
|
|
8911
8908
|
children: /* @__PURE__ */ d.jsx(
|
|
8912
8909
|
Jd,
|
|
8913
8910
|
{
|
|
8914
|
-
onClickMultiDownload:
|
|
8911
|
+
onClickMultiDownload: J,
|
|
8915
8912
|
networksVersionTotalSize: j,
|
|
8916
8913
|
typeOfProduct: i,
|
|
8917
8914
|
multiDownloading: E
|
|
@@ -8931,7 +8928,7 @@ const Yd = ({
|
|
|
8931
8928
|
cdnUrl: M,
|
|
8932
8929
|
setCdnUrl: S,
|
|
8933
8930
|
generateCDN: async () => {
|
|
8934
|
-
if (!
|
|
8931
|
+
if (!D) {
|
|
8935
8932
|
if (o.customer === "playableFactoryInternal") {
|
|
8936
8933
|
Me();
|
|
8937
8934
|
return;
|
|
@@ -8939,7 +8936,7 @@ const Yd = ({
|
|
|
8939
8936
|
H(!0);
|
|
8940
8937
|
}
|
|
8941
8938
|
},
|
|
8942
|
-
cdnUploading:
|
|
8939
|
+
cdnUploading: D
|
|
8943
8940
|
}
|
|
8944
8941
|
),
|
|
8945
8942
|
re && /* @__PURE__ */ d.jsx(
|
|
@@ -9059,54 +9056,54 @@ const Fd = ({
|
|
|
9059
9056
|
}) => {
|
|
9060
9057
|
const [M, S] = _(null), [q, T] = _(null), [x, k] = _(null), [Y, W] = _(!1), [z, j] = _(!0), [B, E] = _(window.innerWidth), [L, G] = _(!1), [y, K] = _(!1), [U, w] = _("");
|
|
9061
9058
|
Ne(ua), Ne(Aa);
|
|
9062
|
-
const [I, X] = Ne(ca), [H,
|
|
9059
|
+
const [I, X] = Ne(ca), [H, D] = Ne(pn);
|
|
9063
9060
|
Ze(() => {
|
|
9064
|
-
!U && r !== "Fusion" && ud(e).then((
|
|
9065
|
-
|
|
9061
|
+
!U && r !== "Fusion" && ud(e).then((J) => {
|
|
9062
|
+
J != null && J.exist && w(J.uploadPath);
|
|
9066
9063
|
});
|
|
9067
9064
|
}, [U]), console.log("download modal version: 6.0.75");
|
|
9068
9065
|
const [P, Q] = _(!1);
|
|
9069
9066
|
Ze(() => {
|
|
9070
9067
|
}, [P]), Ze(() => {
|
|
9071
|
-
const
|
|
9068
|
+
const J = () => {
|
|
9072
9069
|
E(window.innerWidth);
|
|
9073
9070
|
};
|
|
9074
|
-
return window.addEventListener("resize",
|
|
9075
|
-
window.removeEventListener("resize",
|
|
9071
|
+
return window.addEventListener("resize", J), () => {
|
|
9072
|
+
window.removeEventListener("resize", J);
|
|
9076
9073
|
};
|
|
9077
9074
|
}, []);
|
|
9078
9075
|
const F = async () => {
|
|
9079
9076
|
W(!0);
|
|
9080
|
-
const
|
|
9081
|
-
return
|
|
9082
|
-
}, re = (
|
|
9077
|
+
const J = await $r(t, s);
|
|
9078
|
+
return J != null && J.networks || (J.networks = Ps), S(J), J;
|
|
9079
|
+
}, re = (J, V) => {
|
|
9083
9080
|
clearTimeout(Hs), Hs = setTimeout(() => {
|
|
9084
|
-
r === "Playable" && !H || Li(e, { iosUrl:
|
|
9081
|
+
r === "Playable" && !H || Li(e, { iosUrl: J, googleUrl: V }, { urlType: b });
|
|
9085
9082
|
}, 1e3);
|
|
9086
|
-
}, le = (
|
|
9087
|
-
m(
|
|
9088
|
-
}, ee = (
|
|
9089
|
-
v(
|
|
9090
|
-
}, be = async (
|
|
9091
|
-
var
|
|
9083
|
+
}, le = (J) => {
|
|
9084
|
+
m(J), re(J, g);
|
|
9085
|
+
}, ee = (J) => {
|
|
9086
|
+
v(J), re(p, J);
|
|
9087
|
+
}, be = async (J, V) => {
|
|
9088
|
+
var oe, $;
|
|
9092
9089
|
try {
|
|
9093
|
-
let
|
|
9090
|
+
let ae;
|
|
9094
9091
|
if (r === "Playable" || r === "Ready") {
|
|
9095
9092
|
const ge = await Bd(e, s);
|
|
9096
9093
|
if (ge) {
|
|
9097
9094
|
m(ge.iosLink), v(ge.androidLink), W(!1);
|
|
9098
9095
|
return;
|
|
9099
9096
|
}
|
|
9100
|
-
if (
|
|
9101
|
-
m(
|
|
9097
|
+
if (J && (J.iosUrl || J.googleUrl)) {
|
|
9098
|
+
m(J.iosUrl), v(J.googleUrl), W(!1);
|
|
9102
9099
|
return;
|
|
9103
9100
|
}
|
|
9104
9101
|
if (V && V.html) {
|
|
9105
9102
|
const Bt = `${A}/${V.html}?t=${Date.now()}`;
|
|
9106
9103
|
let kt = await fetch(Bt).then((gt) => gt.text());
|
|
9107
|
-
const it = ((
|
|
9104
|
+
const it = ((oe = kt.match(
|
|
9108
9105
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
9109
|
-
)) == null ? void 0 :
|
|
9106
|
+
)) == null ? void 0 : oe.at(1)) || "";
|
|
9110
9107
|
m(it);
|
|
9111
9108
|
const mn = (($ = kt.match(
|
|
9112
9109
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
@@ -9120,45 +9117,45 @@ const Fd = ({
|
|
|
9120
9117
|
v(ge.googleUrl), m(ge.iosUrl), W(!1);
|
|
9121
9118
|
return;
|
|
9122
9119
|
}
|
|
9123
|
-
|
|
9120
|
+
J && (J.iosUrl || J.googleUrl) ? (m(J.iosUrl), v(J.googleUrl), W(!1)) : (v(""), m(""), W(!1));
|
|
9124
9121
|
} else
|
|
9125
|
-
r === "Fusion" && (
|
|
9126
|
-
} catch (
|
|
9127
|
-
l(
|
|
9122
|
+
r === "Fusion" && (J && (J.iosUrl || J.googleUrl) ? (m(J.iosUrl), v(J.googleUrl), W(!1)) : (v(""), m(""), W(!1)));
|
|
9123
|
+
} catch (ae) {
|
|
9124
|
+
l(ae.response.data.error.msg);
|
|
9128
9125
|
}
|
|
9129
9126
|
}, R = async () => {
|
|
9130
9127
|
W(!0);
|
|
9131
|
-
let
|
|
9132
|
-
r === "Flex" ?
|
|
9133
|
-
...
|
|
9128
|
+
let J;
|
|
9129
|
+
r === "Flex" ? J = await Pd({ _id: e }, s) : r === "Ready" && (J = await Ud({ _id: e }, s)), J && (["admin", "pm", "tester", "sales"].includes(o.role) ? k({
|
|
9130
|
+
...J,
|
|
9134
9131
|
networks: I
|
|
9135
|
-
}) : r === "Ready" && !
|
|
9136
|
-
...
|
|
9132
|
+
}) : (console.log("result", J), r === "Ready" && !J.canDownload ? k({
|
|
9133
|
+
...J,
|
|
9137
9134
|
networks: Ps
|
|
9138
|
-
}) : (console.log(
|
|
9139
|
-
...
|
|
9140
|
-
networks:
|
|
9141
|
-
}))), W(!1);
|
|
9142
|
-
}, we = async () => await Hd(n, s), [Me, Ee] = _(null), Je = async (
|
|
9135
|
+
}) : (console.log("result", J), k({
|
|
9136
|
+
...J,
|
|
9137
|
+
networks: J.networks
|
|
9138
|
+
})))), W(!1);
|
|
9139
|
+
}, we = async () => await Hd(n, s), [Me, Ee] = _(null), Je = async (J) => await Qd(J, s);
|
|
9143
9140
|
return Ze(() => {
|
|
9144
|
-
i || (S(null), T(null), k(null), c(null), Ee(null)), i && (r === "Playable" ? we().then((
|
|
9145
|
-
Je(
|
|
9141
|
+
i || (S(null), T(null), k(null), c(null), Ee(null)), i && (r === "Playable" ? we().then((J) => {
|
|
9142
|
+
Je(J.customer).then((V) => {
|
|
9146
9143
|
Ee(V);
|
|
9147
9144
|
}), F().then((V) => {
|
|
9148
9145
|
be(null, V);
|
|
9149
9146
|
}), j(!1);
|
|
9150
|
-
}) : r === "Ready" ? R().then((
|
|
9147
|
+
}) : r === "Ready" ? R().then((J) => {
|
|
9151
9148
|
F().then((V) => {
|
|
9152
9149
|
be(null, V), j(!1);
|
|
9153
9150
|
});
|
|
9154
|
-
}) : r === "Flex" ? R().then((
|
|
9151
|
+
}) : r === "Flex" ? R().then((J) => {
|
|
9155
9152
|
j(!1), we().then((V) => {
|
|
9156
9153
|
i && (be(V, null), j(!1), T(V));
|
|
9157
9154
|
});
|
|
9158
|
-
}) : r === "Import" ? Xd(e, s).then((
|
|
9159
|
-
S(
|
|
9160
|
-
}) : r === "Fusion" && (j(!1), we().then((
|
|
9161
|
-
i && (be(
|
|
9155
|
+
}) : r === "Import" ? Xd(e, s).then((J) => {
|
|
9156
|
+
S(J), m(J.iosUrl || ""), v(J.googleUrl || ""), W(!1), j(!1);
|
|
9157
|
+
}) : r === "Fusion" && (j(!1), we().then((J) => {
|
|
9158
|
+
i && (be(J, null), j(!1), J.networks = I.filter((V) => V !== "cdn"), T(J));
|
|
9162
9159
|
})));
|
|
9163
9160
|
}, [n, t, e, i]), /* @__PURE__ */ d.jsxs(
|
|
9164
9161
|
"div",
|
|
@@ -9755,8 +9752,8 @@ Yf.default.subscribe(Tf);
|
|
|
9755
9752
|
}, y.setContentRef = function(K) {
|
|
9756
9753
|
y.content = K, y.props.contentRef && y.props.contentRef(K);
|
|
9757
9754
|
}, y.afterClose = function() {
|
|
9758
|
-
var K = y.props, U = K.appElement, w = K.ariaHideApp, I = K.htmlOpenClassName, X = K.bodyOpenClassName, H = K.parentSelector,
|
|
9759
|
-
X && m.remove(
|
|
9755
|
+
var K = y.props, U = K.appElement, w = K.ariaHideApp, I = K.htmlOpenClassName, X = K.bodyOpenClassName, H = K.parentSelector, D = H && H().ownerDocument || document;
|
|
9756
|
+
X && m.remove(D.body, X), I && m.remove(D.getElementsByTagName("html")[0], I), w && j > 0 && (j -= 1, j === 0 && p.show(U)), y.props.shouldFocusAfterRender && (y.props.shouldReturnFocusAfterClose ? (A.returnFocus(y.props.preventScroll), A.teardownScopedFocus()) : A.popWithoutFocus()), y.props.onAfterClose && y.props.onAfterClose(), M.default.deregister(y);
|
|
9760
9757
|
}, y.open = function() {
|
|
9761
9758
|
y.beforeOpen(), y.state.afterOpen && y.state.beforeClose ? (clearTimeout(y.closeTimer), y.setState({ beforeClose: !1 })) : (y.props.shouldFocusAfterRender && (A.setupScopedFocus(y.node), A.markForFocusLater()), y.setState({ isOpen: !0 }, function() {
|
|
9762
9759
|
y.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -9843,13 +9840,13 @@ Yf.default.subscribe(Tf);
|
|
|
9843
9840
|
}, {
|
|
9844
9841
|
key: "render",
|
|
9845
9842
|
value: function() {
|
|
9846
|
-
var y = this.props, K = y.id, U = y.className, w = y.overlayClassName, I = y.defaultStyles, X = y.children, H = U ? {} : I.content,
|
|
9843
|
+
var y = this.props, K = y.id, U = y.className, w = y.overlayClassName, I = y.defaultStyles, X = y.children, H = U ? {} : I.content, D = w ? {} : I.overlay;
|
|
9847
9844
|
if (this.shouldBeClosed())
|
|
9848
9845
|
return null;
|
|
9849
9846
|
var P = {
|
|
9850
9847
|
ref: this.setOverlayRef,
|
|
9851
9848
|
className: this.buildClassName("overlay", w),
|
|
9852
|
-
style: n({},
|
|
9849
|
+
style: n({}, D, this.props.style.overlay),
|
|
9853
9850
|
onClick: this.handleOverlayOnClick,
|
|
9854
9851
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
9855
9852
|
}, Q = n({
|
|
@@ -12846,25 +12843,25 @@ const lh = ({
|
|
|
12846
12843
|
const [m, v] = _(window.innerWidth), [b, Z] = _(!1), [M, S] = _(u), [q, T] = _(!1), [x, k] = _(!0), [Y, W] = _(null), [z, j] = _(""), [B, E] = _("Loading..."), [L, G] = _("Loading..."), [y, K] = _("game"), [U, w] = Ne(ki), [I, X] = Ne(ca);
|
|
12847
12844
|
ad(o, a, j, f, g);
|
|
12848
12845
|
const H = async () => {
|
|
12849
|
-
let
|
|
12850
|
-
if (!
|
|
12846
|
+
let D = await ih(a, o);
|
|
12847
|
+
if (!D) {
|
|
12851
12848
|
id("Networks not found");
|
|
12852
12849
|
return;
|
|
12853
12850
|
}
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
), ld(
|
|
12851
|
+
D = D.map((P) => (P.name = P.id, P)), w(D), X(
|
|
12852
|
+
D.map((P) => P.id).filter((P) => P !== "default")
|
|
12853
|
+
), ld(D), ln(n, "preview", null, null, !1).then((P) => {
|
|
12857
12854
|
Z(!0), S(f + "/" + P.url), (o === "Flex" || o === "Ready" || o === "Playable" || o === "Fusion") && (P.size >= 5 ? T(!0) : T(!1), W(P.size)), k(!1);
|
|
12858
12855
|
});
|
|
12859
12856
|
};
|
|
12860
12857
|
return Ze(() => {
|
|
12861
12858
|
t ? b || (H(), Z(!0)) : (Z(!1), S(""));
|
|
12862
12859
|
}, [t]), Ze(() => {
|
|
12863
|
-
const
|
|
12860
|
+
const D = () => {
|
|
12864
12861
|
v(window.innerWidth);
|
|
12865
12862
|
};
|
|
12866
|
-
return window.addEventListener("resize",
|
|
12867
|
-
window.removeEventListener("resize",
|
|
12863
|
+
return window.addEventListener("resize", D), () => {
|
|
12864
|
+
window.removeEventListener("resize", D);
|
|
12868
12865
|
};
|
|
12869
12866
|
}, []), x && t ? /* @__PURE__ */ d.jsx(d.Fragment, { children: /* @__PURE__ */ d.jsx(
|
|
12870
12867
|
ui,
|
|
@@ -12924,11 +12921,11 @@ const lh = ({
|
|
|
12924
12921
|
) }) : x && o === "Flex" ? null : /* @__PURE__ */ d.jsxs(
|
|
12925
12922
|
"div",
|
|
12926
12923
|
{
|
|
12927
|
-
onMouseDown: (
|
|
12928
|
-
|
|
12924
|
+
onMouseDown: (D) => {
|
|
12925
|
+
D.stopPropagation();
|
|
12929
12926
|
},
|
|
12930
|
-
onMouseUp: (
|
|
12931
|
-
|
|
12927
|
+
onMouseUp: (D) => {
|
|
12928
|
+
D.stopPropagation();
|
|
12932
12929
|
},
|
|
12933
12930
|
children: [
|
|
12934
12931
|
q && t && /* @__PURE__ */ d.jsx(
|