gearboxdownloadmodal 6.0.38 → 6.0.39
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 +1335 -1333
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +21 -21
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/Card.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import se, { useState as Q, useEffect as ve, forwardRef as ki, useReducer as ji, useRef as ot, isValidElement as ht, cloneElement as Yn, useLayoutEffect as zi } from "react";
|
|
2
2
|
import Yi from "react-dom";
|
|
3
3
|
function Ji(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -39,7 +39,7 @@ function Di() {
|
|
|
39
39
|
if (Wr)
|
|
40
40
|
return It;
|
|
41
41
|
Wr = 1;
|
|
42
|
-
var e =
|
|
42
|
+
var e = se, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
43
43
|
function a(A, m, c) {
|
|
44
44
|
var l, d = {}, q = null, g = null;
|
|
45
45
|
c !== void 0 && (q = "" + c), m.key !== void 0 && (q = "" + m.key), m.ref !== void 0 && (g = m.ref);
|
|
@@ -65,51 +65,51 @@ var xt = {};
|
|
|
65
65
|
var Mr;
|
|
66
66
|
function Ri() {
|
|
67
67
|
return Mr || (Mr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
68
|
-
var e =
|
|
69
|
-
function
|
|
68
|
+
var e = se, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), f = Symbol.iterator, h = "@@iterator";
|
|
69
|
+
function y(u) {
|
|
70
70
|
if (u === null || typeof u != "object")
|
|
71
71
|
return null;
|
|
72
|
-
var
|
|
73
|
-
return typeof
|
|
72
|
+
var x = f && u[f] || u[h];
|
|
73
|
+
return typeof x == "function" ? x : null;
|
|
74
74
|
}
|
|
75
75
|
var K = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
76
76
|
function E(u) {
|
|
77
77
|
{
|
|
78
|
-
for (var
|
|
79
|
-
S[
|
|
80
|
-
|
|
78
|
+
for (var x = arguments.length, S = new Array(x > 1 ? x - 1 : 0), X = 1; X < x; X++)
|
|
79
|
+
S[X - 1] = arguments[X];
|
|
80
|
+
j("error", u, S);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function j(u, x, S) {
|
|
84
84
|
{
|
|
85
|
-
var
|
|
86
|
-
|
|
87
|
-
var de = S.map(function(
|
|
88
|
-
return String(
|
|
85
|
+
var X = K.ReactDebugCurrentFrame, Ae = X.getStackAddendum();
|
|
86
|
+
Ae !== "" && (x += "%s", S = S.concat([Ae]));
|
|
87
|
+
var de = S.map(function(oe) {
|
|
88
|
+
return String(oe);
|
|
89
89
|
});
|
|
90
|
-
de.unshift("Warning: " +
|
|
90
|
+
de.unshift("Warning: " + x), Function.prototype.apply.call(console[u], console, de);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
var
|
|
94
|
-
|
|
95
|
-
function
|
|
96
|
-
return !!(typeof u == "string" || typeof u == "function" || u === r || u === i ||
|
|
93
|
+
var L = !1, v = !1, V = !1, U = !1, re = !1, me;
|
|
94
|
+
me = Symbol.for("react.module.reference");
|
|
95
|
+
function ee(u) {
|
|
96
|
+
return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || re || u === o || u === c || u === l || U || u === g || L || v || V || typeof u == "object" && u !== null && (u.$$typeof === q || u.$$typeof === d || u.$$typeof === a || u.$$typeof === A || u.$$typeof === m || // This needs to include all possible module reference object
|
|
97
97
|
// types supported by any Flight configuration anywhere since
|
|
98
98
|
// we don't know which Flight build this will end up being used
|
|
99
99
|
// with.
|
|
100
|
-
u.$$typeof ===
|
|
100
|
+
u.$$typeof === me || u.getModuleId !== void 0));
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
var
|
|
104
|
-
if (
|
|
105
|
-
return
|
|
106
|
-
var
|
|
107
|
-
return
|
|
102
|
+
function ce(u, x, S) {
|
|
103
|
+
var X = u.displayName;
|
|
104
|
+
if (X)
|
|
105
|
+
return X;
|
|
106
|
+
var Ae = x.displayName || x.name || "";
|
|
107
|
+
return Ae !== "" ? S + "(" + Ae + ")" : S;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function _(u) {
|
|
110
110
|
return u.displayName || "Context";
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function $(u) {
|
|
113
113
|
if (u == null)
|
|
114
114
|
return null;
|
|
115
115
|
if (typeof u.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof u == "function")
|
|
@@ -133,20 +133,20 @@ function Ri() {
|
|
|
133
133
|
if (typeof u == "object")
|
|
134
134
|
switch (u.$$typeof) {
|
|
135
135
|
case A:
|
|
136
|
-
var
|
|
137
|
-
return
|
|
136
|
+
var x = u;
|
|
137
|
+
return _(x) + ".Consumer";
|
|
138
138
|
case a:
|
|
139
139
|
var S = u;
|
|
140
|
-
return
|
|
140
|
+
return _(S._context) + ".Provider";
|
|
141
141
|
case m:
|
|
142
|
-
return
|
|
142
|
+
return ce(u, u.render, "ForwardRef");
|
|
143
143
|
case d:
|
|
144
|
-
var
|
|
145
|
-
return
|
|
144
|
+
var X = u.displayName || null;
|
|
145
|
+
return X !== null ? X : $(u.type) || "Memo";
|
|
146
146
|
case q: {
|
|
147
|
-
var
|
|
147
|
+
var Ae = u, de = Ae._payload, oe = Ae._init;
|
|
148
148
|
try {
|
|
149
|
-
return
|
|
149
|
+
return $(oe(de));
|
|
150
150
|
} catch {
|
|
151
151
|
return null;
|
|
152
152
|
}
|
|
@@ -154,18 +154,18 @@ function Ri() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var W = Object.assign,
|
|
158
|
-
function
|
|
157
|
+
var W = Object.assign, M = 0, J, p, O, T, Z, I, N;
|
|
158
|
+
function k() {
|
|
159
159
|
}
|
|
160
|
-
|
|
161
|
-
function
|
|
160
|
+
k.__reactDisabledLog = !0;
|
|
161
|
+
function z() {
|
|
162
162
|
{
|
|
163
|
-
if (
|
|
164
|
-
|
|
163
|
+
if (M === 0) {
|
|
164
|
+
J = console.log, p = console.info, O = console.warn, T = console.error, Z = console.group, I = console.groupCollapsed, N = console.groupEnd;
|
|
165
165
|
var u = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
168
|
-
value:
|
|
168
|
+
value: k,
|
|
169
169
|
writable: !0
|
|
170
170
|
};
|
|
171
171
|
Object.defineProperties(console, {
|
|
@@ -178,12 +178,12 @@ function Ri() {
|
|
|
178
178
|
groupEnd: u
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
M++;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function G() {
|
|
185
185
|
{
|
|
186
|
-
if (
|
|
186
|
+
if (M--, M === 0) {
|
|
187
187
|
var u = {
|
|
188
188
|
configurable: !0,
|
|
189
189
|
enumerable: !0,
|
|
@@ -191,13 +191,13 @@ function Ri() {
|
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
193
|
log: W({}, u, {
|
|
194
|
-
value:
|
|
194
|
+
value: J
|
|
195
195
|
}),
|
|
196
196
|
info: W({}, u, {
|
|
197
|
-
value:
|
|
197
|
+
value: p
|
|
198
198
|
}),
|
|
199
199
|
warn: W({}, u, {
|
|
200
|
-
value:
|
|
200
|
+
value: O
|
|
201
201
|
}),
|
|
202
202
|
error: W({}, u, {
|
|
203
203
|
value: T
|
|
@@ -209,115 +209,115 @@ function Ri() {
|
|
|
209
209
|
value: I
|
|
210
210
|
}),
|
|
211
211
|
groupEnd: W({}, u, {
|
|
212
|
-
value:
|
|
212
|
+
value: N
|
|
213
213
|
})
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
|
|
216
|
+
M < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
var
|
|
220
|
-
function H(u,
|
|
219
|
+
var D = K.ReactCurrentDispatcher, R;
|
|
220
|
+
function H(u, x, S) {
|
|
221
221
|
{
|
|
222
|
-
if (
|
|
222
|
+
if (R === void 0)
|
|
223
223
|
try {
|
|
224
224
|
throw Error();
|
|
225
|
-
} catch (
|
|
226
|
-
var
|
|
227
|
-
|
|
225
|
+
} catch (Ae) {
|
|
226
|
+
var X = Ae.stack.trim().match(/\n( *(at )?)/);
|
|
227
|
+
R = X && X[1] || "";
|
|
228
228
|
}
|
|
229
229
|
return `
|
|
230
|
-
` +
|
|
230
|
+
` + R + u;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
var
|
|
233
|
+
var B = !1, b;
|
|
234
234
|
{
|
|
235
|
-
var
|
|
236
|
-
b = new
|
|
235
|
+
var Y = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
|
+
b = new Y();
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
if (!u ||
|
|
238
|
+
function w(u, x) {
|
|
239
|
+
if (!u || B)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
242
242
|
var S = b.get(u);
|
|
243
243
|
if (S !== void 0)
|
|
244
244
|
return S;
|
|
245
245
|
}
|
|
246
|
-
var
|
|
247
|
-
|
|
248
|
-
var
|
|
246
|
+
var X;
|
|
247
|
+
B = !0;
|
|
248
|
+
var Ae = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var de;
|
|
251
|
-
de =
|
|
251
|
+
de = D.current, D.current = null, z();
|
|
252
252
|
try {
|
|
253
|
-
if (
|
|
254
|
-
var
|
|
253
|
+
if (x) {
|
|
254
|
+
var oe = function() {
|
|
255
255
|
throw Error();
|
|
256
256
|
};
|
|
257
|
-
if (Object.defineProperty(
|
|
257
|
+
if (Object.defineProperty(oe.prototype, "props", {
|
|
258
258
|
set: function() {
|
|
259
259
|
throw Error();
|
|
260
260
|
}
|
|
261
261
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
262
262
|
try {
|
|
263
|
-
Reflect.construct(
|
|
263
|
+
Reflect.construct(oe, []);
|
|
264
264
|
} catch (Qe) {
|
|
265
|
-
|
|
265
|
+
X = Qe;
|
|
266
266
|
}
|
|
267
|
-
Reflect.construct(u, [],
|
|
267
|
+
Reflect.construct(u, [], oe);
|
|
268
268
|
} else {
|
|
269
269
|
try {
|
|
270
|
-
|
|
270
|
+
oe.call();
|
|
271
271
|
} catch (Qe) {
|
|
272
|
-
|
|
272
|
+
X = Qe;
|
|
273
273
|
}
|
|
274
|
-
u.call(
|
|
274
|
+
u.call(oe.prototype);
|
|
275
275
|
}
|
|
276
276
|
} else {
|
|
277
277
|
try {
|
|
278
278
|
throw Error();
|
|
279
279
|
} catch (Qe) {
|
|
280
|
-
|
|
280
|
+
X = Qe;
|
|
281
281
|
}
|
|
282
282
|
u();
|
|
283
283
|
}
|
|
284
284
|
} catch (Qe) {
|
|
285
|
-
if (Qe &&
|
|
286
|
-
for (var
|
|
287
|
-
`),
|
|
288
|
-
`),
|
|
289
|
-
|
|
290
|
-
for (;
|
|
291
|
-
if (
|
|
292
|
-
if (
|
|
285
|
+
if (Qe && X && typeof Qe.stack == "string") {
|
|
286
|
+
for (var ne = Qe.stack.split(`
|
|
287
|
+
`), xe = X.stack.split(`
|
|
288
|
+
`), he = ne.length - 1, ge = xe.length - 1; he >= 1 && ge >= 0 && ne[he] !== xe[ge]; )
|
|
289
|
+
ge--;
|
|
290
|
+
for (; he >= 1 && ge >= 0; he--, ge--)
|
|
291
|
+
if (ne[he] !== xe[ge]) {
|
|
292
|
+
if (he !== 1 || ge !== 1)
|
|
293
293
|
do
|
|
294
|
-
if (
|
|
295
|
-
var
|
|
296
|
-
` +
|
|
297
|
-
return u.displayName &&
|
|
294
|
+
if (he--, ge--, ge < 0 || ne[he] !== xe[ge]) {
|
|
295
|
+
var Se = `
|
|
296
|
+
` + ne[he].replace(" at new ", " at ");
|
|
297
|
+
return u.displayName && Se.includes("<anonymous>") && (Se = Se.replace("<anonymous>", u.displayName)), typeof u == "function" && b.set(u, Se), Se;
|
|
298
298
|
}
|
|
299
|
-
while (
|
|
299
|
+
while (he >= 1 && ge >= 0);
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
|
-
|
|
304
|
+
B = !1, D.current = de, G(), Error.prepareStackTrace = Ae;
|
|
305
305
|
}
|
|
306
306
|
var pt = u ? u.displayName || u.name : "", Kr = pt ? H(pt) : "";
|
|
307
307
|
return typeof u == "function" && b.set(u, Kr), Kr;
|
|
308
308
|
}
|
|
309
|
-
function
|
|
310
|
-
return
|
|
309
|
+
function F(u, x, S) {
|
|
310
|
+
return w(u, !1);
|
|
311
311
|
}
|
|
312
|
-
function
|
|
313
|
-
var
|
|
314
|
-
return !!(
|
|
312
|
+
function ae(u) {
|
|
313
|
+
var x = u.prototype;
|
|
314
|
+
return !!(x && x.isReactComponent);
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function te(u, x, S) {
|
|
317
317
|
if (u == null)
|
|
318
318
|
return "";
|
|
319
319
|
if (typeof u == "function")
|
|
320
|
-
return
|
|
320
|
+
return w(u, ae(u));
|
|
321
321
|
if (typeof u == "string")
|
|
322
322
|
return H(u);
|
|
323
323
|
switch (u) {
|
|
@@ -329,43 +329,43 @@ function Ri() {
|
|
|
329
329
|
if (typeof u == "object")
|
|
330
330
|
switch (u.$$typeof) {
|
|
331
331
|
case m:
|
|
332
|
-
return
|
|
332
|
+
return F(u.render);
|
|
333
333
|
case d:
|
|
334
|
-
return
|
|
334
|
+
return te(u.type, x, S);
|
|
335
335
|
case q: {
|
|
336
|
-
var
|
|
336
|
+
var X = u, Ae = X._payload, de = X._init;
|
|
337
337
|
try {
|
|
338
|
-
return
|
|
338
|
+
return te(de(Ae), x, S);
|
|
339
339
|
} catch {
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
return "";
|
|
344
344
|
}
|
|
345
|
-
var
|
|
346
|
-
function
|
|
345
|
+
var fe = Object.prototype.hasOwnProperty, ct = {}, mt = K.ReactDebugCurrentFrame;
|
|
346
|
+
function Me(u) {
|
|
347
347
|
if (u) {
|
|
348
|
-
var
|
|
349
|
-
|
|
348
|
+
var x = u._owner, S = te(u.type, u._source, x ? x.type : null);
|
|
349
|
+
mt.setExtraStackFrame(S);
|
|
350
350
|
} else
|
|
351
|
-
|
|
351
|
+
mt.setExtraStackFrame(null);
|
|
352
352
|
}
|
|
353
|
-
function pi(u,
|
|
353
|
+
function pi(u, x, S, X, Ae) {
|
|
354
354
|
{
|
|
355
|
-
var de = Function.call.bind(
|
|
356
|
-
for (var
|
|
357
|
-
if (de(u,
|
|
358
|
-
var
|
|
355
|
+
var de = Function.call.bind(fe);
|
|
356
|
+
for (var oe in u)
|
|
357
|
+
if (de(u, oe)) {
|
|
358
|
+
var ne = void 0;
|
|
359
359
|
try {
|
|
360
|
-
if (typeof u[
|
|
361
|
-
var
|
|
362
|
-
throw
|
|
360
|
+
if (typeof u[oe] != "function") {
|
|
361
|
+
var xe = Error((X || "React class") + ": " + S + " type `" + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[oe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
362
|
+
throw xe.name = "Invariant Violation", xe;
|
|
363
363
|
}
|
|
364
|
-
|
|
365
|
-
} catch (
|
|
366
|
-
|
|
364
|
+
ne = u[oe](x, oe, X, S, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
365
|
+
} catch (he) {
|
|
366
|
+
ne = he;
|
|
367
367
|
}
|
|
368
|
-
|
|
368
|
+
ne && !(ne instanceof Error) && (Me(Ae), E("%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).", X || "React class", S, oe, typeof ne), Me(null)), ne instanceof Error && !(ne.message in ct) && (ct[ne.message] = !0, Me(Ae), E("Failed %s type: %s", S, ne.message), Me(null));
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
@@ -375,7 +375,7 @@ function Ri() {
|
|
|
375
375
|
}
|
|
376
376
|
function hi(u) {
|
|
377
377
|
{
|
|
378
|
-
var
|
|
378
|
+
var x = typeof Symbol == "function" && Symbol.toStringTag, S = x && u[Symbol.toStringTag] || u.constructor.name || "Object";
|
|
379
379
|
return S;
|
|
380
380
|
}
|
|
381
381
|
}
|
|
@@ -401,31 +401,31 @@ function Ri() {
|
|
|
401
401
|
}, yr, vr, qn;
|
|
402
402
|
qn = {};
|
|
403
403
|
function yi(u) {
|
|
404
|
-
if (
|
|
405
|
-
var
|
|
406
|
-
if (
|
|
404
|
+
if (fe.call(u, "ref")) {
|
|
405
|
+
var x = Object.getOwnPropertyDescriptor(u, "ref").get;
|
|
406
|
+
if (x && x.isReactWarning)
|
|
407
407
|
return !1;
|
|
408
408
|
}
|
|
409
409
|
return u.ref !== void 0;
|
|
410
410
|
}
|
|
411
411
|
function vi(u) {
|
|
412
|
-
if (
|
|
413
|
-
var
|
|
414
|
-
if (
|
|
412
|
+
if (fe.call(u, "key")) {
|
|
413
|
+
var x = Object.getOwnPropertyDescriptor(u, "key").get;
|
|
414
|
+
if (x && x.isReactWarning)
|
|
415
415
|
return !1;
|
|
416
416
|
}
|
|
417
417
|
return u.key !== void 0;
|
|
418
418
|
}
|
|
419
|
-
function bi(u,
|
|
420
|
-
if (typeof u.ref == "string" && Zt.current &&
|
|
421
|
-
var S =
|
|
422
|
-
qn[S] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
419
|
+
function bi(u, x) {
|
|
420
|
+
if (typeof u.ref == "string" && Zt.current && x && Zt.current.stateNode !== x) {
|
|
421
|
+
var S = $(Zt.current.type);
|
|
422
|
+
qn[S] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', $(Zt.current.type), u.ref), qn[S] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
function Ci(u,
|
|
425
|
+
function Ci(u, x) {
|
|
426
426
|
{
|
|
427
427
|
var S = function() {
|
|
428
|
-
yr || (yr = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
428
|
+
yr || (yr = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
|
|
429
429
|
};
|
|
430
430
|
S.isReactWarning = !0, Object.defineProperty(u, "key", {
|
|
431
431
|
get: S,
|
|
@@ -433,10 +433,10 @@ function Ri() {
|
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
function Zi(u,
|
|
436
|
+
function Zi(u, x) {
|
|
437
437
|
{
|
|
438
438
|
var S = function() {
|
|
439
|
-
vr || (vr = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
439
|
+
vr || (vr = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
|
|
440
440
|
};
|
|
441
441
|
S.isReactWarning = !0, Object.defineProperty(u, "ref", {
|
|
442
442
|
get: S,
|
|
@@ -444,57 +444,57 @@ function Ri() {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
var Ii = function(u,
|
|
448
|
-
var
|
|
447
|
+
var Ii = function(u, x, S, X, Ae, de, oe) {
|
|
448
|
+
var ne = {
|
|
449
449
|
// This tag allows us to uniquely identify this as a React Element
|
|
450
450
|
$$typeof: t,
|
|
451
451
|
// Built-in properties that belong on the element
|
|
452
452
|
type: u,
|
|
453
|
-
key:
|
|
453
|
+
key: x,
|
|
454
454
|
ref: S,
|
|
455
|
-
props:
|
|
455
|
+
props: oe,
|
|
456
456
|
// Record the component responsible for creating this element.
|
|
457
457
|
_owner: de
|
|
458
458
|
};
|
|
459
|
-
return
|
|
459
|
+
return ne._store = {}, Object.defineProperty(ne._store, "validated", {
|
|
460
460
|
configurable: !1,
|
|
461
461
|
enumerable: !1,
|
|
462
462
|
writable: !0,
|
|
463
463
|
value: !1
|
|
464
|
-
}), Object.defineProperty(
|
|
464
|
+
}), Object.defineProperty(ne, "_self", {
|
|
465
465
|
configurable: !1,
|
|
466
466
|
enumerable: !1,
|
|
467
467
|
writable: !1,
|
|
468
|
-
value:
|
|
469
|
-
}), Object.defineProperty(
|
|
468
|
+
value: X
|
|
469
|
+
}), Object.defineProperty(ne, "_source", {
|
|
470
470
|
configurable: !1,
|
|
471
471
|
enumerable: !1,
|
|
472
472
|
writable: !1,
|
|
473
|
-
value:
|
|
474
|
-
}), Object.freeze && (Object.freeze(
|
|
473
|
+
value: Ae
|
|
474
|
+
}), Object.freeze && (Object.freeze(ne.props), Object.freeze(ne)), ne;
|
|
475
475
|
};
|
|
476
|
-
function xi(u,
|
|
476
|
+
function xi(u, x, S, X, Ae) {
|
|
477
477
|
{
|
|
478
|
-
var de,
|
|
479
|
-
S !== void 0 && (qr(S),
|
|
480
|
-
for (de in
|
|
481
|
-
|
|
478
|
+
var de, oe = {}, ne = null, xe = null;
|
|
479
|
+
S !== void 0 && (qr(S), ne = "" + S), vi(x) && (qr(x.key), ne = "" + x.key), yi(x) && (xe = x.ref, bi(x, Ae));
|
|
480
|
+
for (de in x)
|
|
481
|
+
fe.call(x, de) && !qi.hasOwnProperty(de) && (oe[de] = x[de]);
|
|
482
482
|
if (u && u.defaultProps) {
|
|
483
|
-
var
|
|
484
|
-
for (de in
|
|
485
|
-
|
|
483
|
+
var he = u.defaultProps;
|
|
484
|
+
for (de in he)
|
|
485
|
+
oe[de] === void 0 && (oe[de] = he[de]);
|
|
486
486
|
}
|
|
487
|
-
if (
|
|
488
|
-
var
|
|
489
|
-
|
|
487
|
+
if (ne || xe) {
|
|
488
|
+
var ge = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
|
|
489
|
+
ne && Ci(oe, ge), xe && Zi(oe, ge);
|
|
490
490
|
}
|
|
491
|
-
return Ii(u,
|
|
491
|
+
return Ii(u, ne, xe, Ae, X, Zt.current, oe);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
var yn = K.ReactCurrentOwner, br = K.ReactDebugCurrentFrame;
|
|
495
495
|
function dt(u) {
|
|
496
496
|
if (u) {
|
|
497
|
-
var
|
|
497
|
+
var x = u._owner, S = te(u.type, u._source, x ? x.type : null);
|
|
498
498
|
br.setExtraStackFrame(S);
|
|
499
499
|
} else
|
|
500
500
|
br.setExtraStackFrame(null);
|
|
@@ -507,7 +507,7 @@ function Ri() {
|
|
|
507
507
|
function Cr() {
|
|
508
508
|
{
|
|
509
509
|
if (yn.current) {
|
|
510
|
-
var u =
|
|
510
|
+
var u = $(yn.current.type);
|
|
511
511
|
if (u)
|
|
512
512
|
return `
|
|
513
513
|
|
|
@@ -519,10 +519,10 @@ Check the render method of \`` + u + "`.";
|
|
|
519
519
|
function wi(u) {
|
|
520
520
|
{
|
|
521
521
|
if (u !== void 0) {
|
|
522
|
-
var
|
|
522
|
+
var x = u.fileName.replace(/^.*[\\\/]/, ""), S = u.lineNumber;
|
|
523
523
|
return `
|
|
524
524
|
|
|
525
|
-
Check your code at ` +
|
|
525
|
+
Check your code at ` + x + ":" + S + ".";
|
|
526
526
|
}
|
|
527
527
|
return "";
|
|
528
528
|
}
|
|
@@ -530,120 +530,120 @@ Check your code at ` + w + ":" + S + ".";
|
|
|
530
530
|
var Zr = {};
|
|
531
531
|
function Ki(u) {
|
|
532
532
|
{
|
|
533
|
-
var
|
|
534
|
-
if (!
|
|
533
|
+
var x = Cr();
|
|
534
|
+
if (!x) {
|
|
535
535
|
var S = typeof u == "string" ? u : u.displayName || u.name;
|
|
536
|
-
S && (
|
|
536
|
+
S && (x = `
|
|
537
537
|
|
|
538
538
|
Check the top-level render call using <` + S + ">.");
|
|
539
539
|
}
|
|
540
|
-
return
|
|
540
|
+
return x;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
function Ir(u,
|
|
543
|
+
function Ir(u, x) {
|
|
544
544
|
{
|
|
545
545
|
if (!u._store || u._store.validated || u.key != null)
|
|
546
546
|
return;
|
|
547
547
|
u._store.validated = !0;
|
|
548
|
-
var S = Ki(
|
|
548
|
+
var S = Ki(x);
|
|
549
549
|
if (Zr[S])
|
|
550
550
|
return;
|
|
551
551
|
Zr[S] = !0;
|
|
552
|
-
var
|
|
553
|
-
u && u._owner && u._owner !== yn.current && (
|
|
552
|
+
var X = "";
|
|
553
|
+
u && u._owner && u._owner !== yn.current && (X = " It was passed a child from " + $(u._owner.type) + "."), dt(u), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, X), dt(null);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
function xr(u,
|
|
556
|
+
function xr(u, x) {
|
|
557
557
|
{
|
|
558
558
|
if (typeof u != "object")
|
|
559
559
|
return;
|
|
560
560
|
if (gn(u))
|
|
561
561
|
for (var S = 0; S < u.length; S++) {
|
|
562
|
-
var
|
|
563
|
-
bn(
|
|
562
|
+
var X = u[S];
|
|
563
|
+
bn(X) && Ir(X, x);
|
|
564
564
|
}
|
|
565
565
|
else if (bn(u))
|
|
566
566
|
u._store && (u._store.validated = !0);
|
|
567
567
|
else if (u) {
|
|
568
|
-
var
|
|
569
|
-
if (typeof
|
|
570
|
-
for (var de =
|
|
571
|
-
bn(
|
|
568
|
+
var Ae = y(u);
|
|
569
|
+
if (typeof Ae == "function" && Ae !== u.entries)
|
|
570
|
+
for (var de = Ae.call(u), oe; !(oe = de.next()).done; )
|
|
571
|
+
bn(oe.value) && Ir(oe.value, x);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
function Wi(u) {
|
|
576
576
|
{
|
|
577
|
-
var
|
|
578
|
-
if (
|
|
577
|
+
var x = u.type;
|
|
578
|
+
if (x == null || typeof x == "string")
|
|
579
579
|
return;
|
|
580
580
|
var S;
|
|
581
|
-
if (typeof
|
|
582
|
-
S =
|
|
583
|
-
else if (typeof
|
|
581
|
+
if (typeof x == "function")
|
|
582
|
+
S = x.propTypes;
|
|
583
|
+
else if (typeof x == "object" && (x.$$typeof === m || // Note: Memo only checks outer props here.
|
|
584
584
|
// Inner props are checked in the reconciler.
|
|
585
|
-
|
|
586
|
-
S =
|
|
585
|
+
x.$$typeof === d))
|
|
586
|
+
S = x.propTypes;
|
|
587
587
|
else
|
|
588
588
|
return;
|
|
589
589
|
if (S) {
|
|
590
|
-
var
|
|
591
|
-
pi(S, u.props, "prop",
|
|
592
|
-
} else if (
|
|
590
|
+
var X = $(x);
|
|
591
|
+
pi(S, u.props, "prop", X, u);
|
|
592
|
+
} else if (x.PropTypes !== void 0 && !vn) {
|
|
593
593
|
vn = !0;
|
|
594
|
-
var
|
|
595
|
-
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
594
|
+
var Ae = $(x);
|
|
595
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ae || "Unknown");
|
|
596
596
|
}
|
|
597
|
-
typeof
|
|
597
|
+
typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
function Mi(u) {
|
|
601
601
|
{
|
|
602
|
-
for (var
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
605
|
-
dt(u), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
602
|
+
for (var x = Object.keys(u.props), S = 0; S < x.length; S++) {
|
|
603
|
+
var X = x[S];
|
|
604
|
+
if (X !== "children" && X !== "key") {
|
|
605
|
+
dt(u), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", X), dt(null);
|
|
606
606
|
break;
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
u.ref !== null && (dt(u), E("Invalid attribute `ref` supplied to `React.Fragment`."), dt(null));
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function wr(u,
|
|
612
|
+
function wr(u, x, S, X, Ae, de) {
|
|
613
613
|
{
|
|
614
|
-
var
|
|
615
|
-
if (!
|
|
616
|
-
var
|
|
617
|
-
(u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && (
|
|
618
|
-
var
|
|
619
|
-
|
|
620
|
-
var
|
|
621
|
-
u === null ?
|
|
614
|
+
var oe = ee(u);
|
|
615
|
+
if (!oe) {
|
|
616
|
+
var ne = "";
|
|
617
|
+
(u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && (ne += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
618
|
+
var xe = wi(Ae);
|
|
619
|
+
xe ? ne += xe : ne += Cr();
|
|
620
|
+
var he;
|
|
621
|
+
u === null ? he = "null" : gn(u) ? he = "array" : u !== void 0 && u.$$typeof === t ? (he = "<" + ($(u.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : he = typeof u, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", he, ne);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
if (
|
|
625
|
-
return
|
|
626
|
-
if (
|
|
627
|
-
var
|
|
628
|
-
if (
|
|
629
|
-
if (
|
|
630
|
-
if (gn(
|
|
631
|
-
for (var pt = 0; pt <
|
|
632
|
-
xr(
|
|
633
|
-
Object.freeze && Object.freeze(
|
|
623
|
+
var ge = xi(u, x, S, Ae, de);
|
|
624
|
+
if (ge == null)
|
|
625
|
+
return ge;
|
|
626
|
+
if (oe) {
|
|
627
|
+
var Se = x.children;
|
|
628
|
+
if (Se !== void 0)
|
|
629
|
+
if (X)
|
|
630
|
+
if (gn(Se)) {
|
|
631
|
+
for (var pt = 0; pt < Se.length; pt++)
|
|
632
|
+
xr(Se[pt], u);
|
|
633
|
+
Object.freeze && Object.freeze(Se);
|
|
634
634
|
} else
|
|
635
635
|
E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
636
636
|
else
|
|
637
|
-
xr(
|
|
637
|
+
xr(Se, u);
|
|
638
638
|
}
|
|
639
|
-
return u === r ? Mi(
|
|
639
|
+
return u === r ? Mi(ge) : Wi(ge), ge;
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
|
-
function Si(u,
|
|
643
|
-
return wr(u,
|
|
642
|
+
function Si(u, x, S) {
|
|
643
|
+
return wr(u, x, S, !0);
|
|
644
644
|
}
|
|
645
|
-
function Li(u,
|
|
646
|
-
return wr(u,
|
|
645
|
+
function Li(u, x, S) {
|
|
646
|
+
return wr(u, x, S, !1);
|
|
647
647
|
}
|
|
648
648
|
var Oi = Li, Ei = Si;
|
|
649
649
|
xt.Fragment = r, xt.jsx = Oi, xt.jsxs = Ei;
|
|
@@ -652,8 +652,8 @@ Check the top-level render call using <` + S + ">.");
|
|
|
652
652
|
process.env.NODE_ENV === "production" ? Jn.exports = Di() : Jn.exports = Ri();
|
|
653
653
|
var s = Jn.exports;
|
|
654
654
|
const mo = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMyAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE4OThfMzEyMjcpIj4NCiAgICA8cGF0aCBkPSJNMjAuMzQxNiAxMi4yMjY2TDEyLjc5NDkgMTkuNzczMiIgc3Ryb2tlPSIjMEYwRjFFIiBzdHJva2VXaWR0aD0iMS44Ig0KICAgICAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPg0KICAgIDxwYXRoIGQ9Ik0yMC4zNDE2IDE5Ljc3MzJMMTIuNzk0OSAxMi4yMjY2IiBzdHJva2U9IiMwRjBGMUUiIHN0cm9rZVdpZHRoPSIxLjgiDQogICAgICBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogICAgPHBhdGgNCiAgICAgIGQ9Ik0xNi41Njg0IDI4QzkuOTQwMzYgMjggNC41NjgzNiAyMi42MjggNC41NjgzNiAxNkM0LjU2ODM2IDkuMzcyIDkuOTQwMzYgNCAxNi41Njg0IDRDMjMuMTk2NCA0IDI4LjU2ODQgOS4zNzIgMjguNTY4NCAxNkMyOC41Njg0IDIyLjYyOCAyMy4xOTY0IDI4IDE2LjU2ODQgMjhaIg0KICAgICAgc3Ryb2tlPSIjMEYwRjFFIiBzdHJva2VXaWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogIDwvZz4NCiAgPGRlZnM+DQogICAgPGNsaXBQYXRoIGlkPSJjbGlwMF8xODk4XzMxMjI3Ij4NCiAgICAgIDxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuNTY4MzU5KSIgLz4NCiAgICA8L2NsaXBQYXRoPg0KICA8L2RlZnM+DQo8L3N2Zz4=", Gi = ({ children: e }) => {
|
|
655
|
-
const [t, n] =
|
|
656
|
-
return
|
|
655
|
+
const [t, n] = Q(window.innerWidth);
|
|
656
|
+
return ve(() => {
|
|
657
657
|
const r = () => {
|
|
658
658
|
n(window.innerWidth);
|
|
659
659
|
};
|
|
@@ -737,10 +737,10 @@ var Qi = fo, ho = {
|
|
|
737
737
|
Q: 3,
|
|
738
738
|
H: 2
|
|
739
739
|
}, Rt = ho;
|
|
740
|
-
function
|
|
740
|
+
function Re(e, t) {
|
|
741
741
|
this.totalCount = e, this.dataCount = t;
|
|
742
742
|
}
|
|
743
|
-
|
|
743
|
+
Re.RS_BLOCK_TABLE = [
|
|
744
744
|
// L
|
|
745
745
|
// M
|
|
746
746
|
// Q
|
|
@@ -946,30 +946,30 @@ De.RS_BLOCK_TABLE = [
|
|
|
946
946
|
[34, 54, 24, 34, 55, 25],
|
|
947
947
|
[20, 45, 15, 61, 46, 16]
|
|
948
948
|
];
|
|
949
|
-
|
|
950
|
-
var n =
|
|
949
|
+
Re.getRSBlocks = function(e, t) {
|
|
950
|
+
var n = Re.getRsBlockTable(e, t);
|
|
951
951
|
if (n == null)
|
|
952
952
|
throw new Error("bad rs block @ typeNumber:" + e + "/errorCorrectLevel:" + t);
|
|
953
953
|
for (var r = n.length / 3, o = new Array(), i = 0; i < r; i++)
|
|
954
954
|
for (var a = n[i * 3 + 0], A = n[i * 3 + 1], m = n[i * 3 + 2], c = 0; c < a; c++)
|
|
955
|
-
o.push(new
|
|
955
|
+
o.push(new Re(A, m));
|
|
956
956
|
return o;
|
|
957
957
|
};
|
|
958
|
-
|
|
958
|
+
Re.getRsBlockTable = function(e, t) {
|
|
959
959
|
switch (t) {
|
|
960
960
|
case Rt.L:
|
|
961
|
-
return
|
|
961
|
+
return Re.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
|
|
962
962
|
case Rt.M:
|
|
963
|
-
return
|
|
963
|
+
return Re.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
|
|
964
964
|
case Rt.Q:
|
|
965
|
-
return
|
|
965
|
+
return Re.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
|
|
966
966
|
case Rt.H:
|
|
967
|
-
return
|
|
967
|
+
return Re.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
|
|
968
968
|
default:
|
|
969
969
|
return;
|
|
970
970
|
}
|
|
971
971
|
};
|
|
972
|
-
var Pi =
|
|
972
|
+
var Pi = Re;
|
|
973
973
|
function go() {
|
|
974
974
|
this.buffer = new Array(), this.length = 0;
|
|
975
975
|
}
|
|
@@ -990,29 +990,29 @@ go.prototype = {
|
|
|
990
990
|
this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
|
|
991
991
|
}
|
|
992
992
|
};
|
|
993
|
-
var Vi = go,
|
|
993
|
+
var Vi = go, Ye = {
|
|
994
994
|
glog: function(e) {
|
|
995
995
|
if (e < 1)
|
|
996
996
|
throw new Error("glog(" + e + ")");
|
|
997
|
-
return
|
|
997
|
+
return Ye.LOG_TABLE[e];
|
|
998
998
|
},
|
|
999
999
|
gexp: function(e) {
|
|
1000
1000
|
for (; e < 0; )
|
|
1001
1001
|
e += 255;
|
|
1002
1002
|
for (; e >= 256; )
|
|
1003
1003
|
e -= 255;
|
|
1004
|
-
return
|
|
1004
|
+
return Ye.EXP_TABLE[e];
|
|
1005
1005
|
},
|
|
1006
1006
|
EXP_TABLE: new Array(256),
|
|
1007
1007
|
LOG_TABLE: new Array(256)
|
|
1008
1008
|
};
|
|
1009
|
-
for (var
|
|
1010
|
-
|
|
1011
|
-
for (var
|
|
1012
|
-
|
|
1013
|
-
for (var
|
|
1014
|
-
|
|
1015
|
-
var qo =
|
|
1009
|
+
for (var Ze = 0; Ze < 8; Ze++)
|
|
1010
|
+
Ye.EXP_TABLE[Ze] = 1 << Ze;
|
|
1011
|
+
for (var Ze = 8; Ze < 256; Ze++)
|
|
1012
|
+
Ye.EXP_TABLE[Ze] = Ye.EXP_TABLE[Ze - 4] ^ Ye.EXP_TABLE[Ze - 5] ^ Ye.EXP_TABLE[Ze - 6] ^ Ye.EXP_TABLE[Ze - 8];
|
|
1013
|
+
for (var Ze = 0; Ze < 255; Ze++)
|
|
1014
|
+
Ye.LOG_TABLE[Ye.EXP_TABLE[Ze]] = Ze;
|
|
1015
|
+
var qo = Ye, tt = qo;
|
|
1016
1016
|
function Vt(e, t) {
|
|
1017
1017
|
if (e.length == null)
|
|
1018
1018
|
throw new Error(e.length + "/" + t);
|
|
@@ -1045,7 +1045,7 @@ Vt.prototype = {
|
|
|
1045
1045
|
return new Vt(n, 0).mod(e);
|
|
1046
1046
|
}
|
|
1047
1047
|
};
|
|
1048
|
-
var yo = Vt,
|
|
1048
|
+
var yo = Vt, Le = po, Sr = yo, Bi = qo, Ue = {
|
|
1049
1049
|
PATTERN000: 0,
|
|
1050
1050
|
PATTERN001: 1,
|
|
1051
1051
|
PATTERN010: 2,
|
|
@@ -1054,7 +1054,7 @@ var yo = Vt, Me = po, Sr = yo, Bi = qo, Ue = {
|
|
|
1054
1054
|
PATTERN101: 5,
|
|
1055
1055
|
PATTERN110: 6,
|
|
1056
1056
|
PATTERN111: 7
|
|
1057
|
-
},
|
|
1057
|
+
}, Ce = {
|
|
1058
1058
|
PATTERN_POSITION_TABLE: [
|
|
1059
1059
|
[],
|
|
1060
1060
|
[6, 18],
|
|
@@ -1101,13 +1101,13 @@ var yo = Vt, Me = po, Sr = yo, Bi = qo, Ue = {
|
|
|
1101
1101
|
G18: 7973,
|
|
1102
1102
|
G15_MASK: 21522,
|
|
1103
1103
|
getBCHTypeInfo: function(e) {
|
|
1104
|
-
for (var t = e << 10;
|
|
1105
|
-
t ^=
|
|
1106
|
-
return (e << 10 | t) ^
|
|
1104
|
+
for (var t = e << 10; Ce.getBCHDigit(t) - Ce.getBCHDigit(Ce.G15) >= 0; )
|
|
1105
|
+
t ^= Ce.G15 << Ce.getBCHDigit(t) - Ce.getBCHDigit(Ce.G15);
|
|
1106
|
+
return (e << 10 | t) ^ Ce.G15_MASK;
|
|
1107
1107
|
},
|
|
1108
1108
|
getBCHTypeNumber: function(e) {
|
|
1109
|
-
for (var t = e << 12;
|
|
1110
|
-
t ^=
|
|
1109
|
+
for (var t = e << 12; Ce.getBCHDigit(t) - Ce.getBCHDigit(Ce.G18) >= 0; )
|
|
1110
|
+
t ^= Ce.G18 << Ce.getBCHDigit(t) - Ce.getBCHDigit(Ce.G18);
|
|
1111
1111
|
return e << 12 | t;
|
|
1112
1112
|
},
|
|
1113
1113
|
getBCHDigit: function(e) {
|
|
@@ -1116,7 +1116,7 @@ var yo = Vt, Me = po, Sr = yo, Bi = qo, Ue = {
|
|
|
1116
1116
|
return t;
|
|
1117
1117
|
},
|
|
1118
1118
|
getPatternPosition: function(e) {
|
|
1119
|
-
return
|
|
1119
|
+
return Ce.PATTERN_POSITION_TABLE[e - 1];
|
|
1120
1120
|
},
|
|
1121
1121
|
getMask: function(e, t, n) {
|
|
1122
1122
|
switch (e) {
|
|
@@ -1148,39 +1148,39 @@ var yo = Vt, Me = po, Sr = yo, Bi = qo, Ue = {
|
|
|
1148
1148
|
getLengthInBits: function(e, t) {
|
|
1149
1149
|
if (1 <= t && t < 10)
|
|
1150
1150
|
switch (e) {
|
|
1151
|
-
case
|
|
1151
|
+
case Le.MODE_NUMBER:
|
|
1152
1152
|
return 10;
|
|
1153
|
-
case
|
|
1153
|
+
case Le.MODE_ALPHA_NUM:
|
|
1154
1154
|
return 9;
|
|
1155
|
-
case
|
|
1155
|
+
case Le.MODE_8BIT_BYTE:
|
|
1156
1156
|
return 8;
|
|
1157
|
-
case
|
|
1157
|
+
case Le.MODE_KANJI:
|
|
1158
1158
|
return 8;
|
|
1159
1159
|
default:
|
|
1160
1160
|
throw new Error("mode:" + e);
|
|
1161
1161
|
}
|
|
1162
1162
|
else if (t < 27)
|
|
1163
1163
|
switch (e) {
|
|
1164
|
-
case
|
|
1164
|
+
case Le.MODE_NUMBER:
|
|
1165
1165
|
return 12;
|
|
1166
|
-
case
|
|
1166
|
+
case Le.MODE_ALPHA_NUM:
|
|
1167
1167
|
return 11;
|
|
1168
|
-
case
|
|
1168
|
+
case Le.MODE_8BIT_BYTE:
|
|
1169
1169
|
return 16;
|
|
1170
|
-
case
|
|
1170
|
+
case Le.MODE_KANJI:
|
|
1171
1171
|
return 10;
|
|
1172
1172
|
default:
|
|
1173
1173
|
throw new Error("mode:" + e);
|
|
1174
1174
|
}
|
|
1175
1175
|
else if (t < 41)
|
|
1176
1176
|
switch (e) {
|
|
1177
|
-
case
|
|
1177
|
+
case Le.MODE_NUMBER:
|
|
1178
1178
|
return 14;
|
|
1179
|
-
case
|
|
1179
|
+
case Le.MODE_ALPHA_NUM:
|
|
1180
1180
|
return 13;
|
|
1181
|
-
case
|
|
1181
|
+
case Le.MODE_8BIT_BYTE:
|
|
1182
1182
|
return 16;
|
|
1183
|
-
case
|
|
1183
|
+
case Le.MODE_KANJI:
|
|
1184
1184
|
return 12;
|
|
1185
1185
|
default:
|
|
1186
1186
|
throw new Error("mode:" + e);
|
|
@@ -1214,24 +1214,24 @@ var yo = Vt, Me = po, Sr = yo, Bi = qo, Ue = {
|
|
|
1214
1214
|
var d = Math.abs(100 * l / t / t - 50) / 5;
|
|
1215
1215
|
return n += d * 10, n;
|
|
1216
1216
|
}
|
|
1217
|
-
}, Ui =
|
|
1218
|
-
function
|
|
1217
|
+
}, Ui = Ce, Fi = Qi, vo = Pi, bo = Vi, et = Ui, _i = yo;
|
|
1218
|
+
function Ge(e, t) {
|
|
1219
1219
|
this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
|
|
1220
1220
|
}
|
|
1221
|
-
var
|
|
1222
|
-
|
|
1221
|
+
var We = Ge.prototype;
|
|
1222
|
+
We.addData = function(e) {
|
|
1223
1223
|
var t = new Fi(e);
|
|
1224
1224
|
this.dataList.push(t), this.dataCache = null;
|
|
1225
1225
|
};
|
|
1226
|
-
|
|
1226
|
+
We.isDark = function(e, t) {
|
|
1227
1227
|
if (e < 0 || this.moduleCount <= e || t < 0 || this.moduleCount <= t)
|
|
1228
1228
|
throw new Error(e + "," + t);
|
|
1229
1229
|
return this.modules[e][t];
|
|
1230
1230
|
};
|
|
1231
|
-
|
|
1231
|
+
We.getModuleCount = function() {
|
|
1232
1232
|
return this.moduleCount;
|
|
1233
1233
|
};
|
|
1234
|
-
|
|
1234
|
+
We.make = function() {
|
|
1235
1235
|
if (this.typeNumber < 1) {
|
|
1236
1236
|
var e = 1;
|
|
1237
1237
|
for (e = 1; e < 40; e++) {
|
|
@@ -1248,22 +1248,22 @@ Ke.make = function() {
|
|
|
1248
1248
|
}
|
|
1249
1249
|
this.makeImpl(!1, this.getBestMaskPattern());
|
|
1250
1250
|
};
|
|
1251
|
-
|
|
1251
|
+
We.makeImpl = function(e, t) {
|
|
1252
1252
|
this.moduleCount = this.typeNumber * 4 + 17, this.modules = new Array(this.moduleCount);
|
|
1253
1253
|
for (var n = 0; n < this.moduleCount; n++) {
|
|
1254
1254
|
this.modules[n] = new Array(this.moduleCount);
|
|
1255
1255
|
for (var r = 0; r < this.moduleCount; r++)
|
|
1256
1256
|
this.modules[n][r] = null;
|
|
1257
1257
|
}
|
|
1258
|
-
this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache =
|
|
1258
|
+
this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = Ge.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t);
|
|
1259
1259
|
};
|
|
1260
|
-
|
|
1260
|
+
We.setupPositionProbePattern = function(e, t) {
|
|
1261
1261
|
for (var n = -1; n <= 7; n++)
|
|
1262
1262
|
if (!(e + n <= -1 || this.moduleCount <= e + n))
|
|
1263
1263
|
for (var r = -1; r <= 7; r++)
|
|
1264
1264
|
t + r <= -1 || this.moduleCount <= t + r || (0 <= n && n <= 6 && (r == 0 || r == 6) || 0 <= r && r <= 6 && (n == 0 || n == 6) || 2 <= n && n <= 4 && 2 <= r && r <= 4 ? this.modules[e + n][t + r] = !0 : this.modules[e + n][t + r] = !1);
|
|
1265
1265
|
};
|
|
1266
|
-
|
|
1266
|
+
We.getBestMaskPattern = function() {
|
|
1267
1267
|
for (var e = 0, t = 0, n = 0; n < 8; n++) {
|
|
1268
1268
|
this.makeImpl(!0, n);
|
|
1269
1269
|
var r = et.getLostPoint(this);
|
|
@@ -1271,7 +1271,7 @@ Ke.getBestMaskPattern = function() {
|
|
|
1271
1271
|
}
|
|
1272
1272
|
return t;
|
|
1273
1273
|
};
|
|
1274
|
-
|
|
1274
|
+
We.createMovieClip = function(e, t, n) {
|
|
1275
1275
|
var r = e.createEmptyMovieClip(t, n), o = 1;
|
|
1276
1276
|
this.make();
|
|
1277
1277
|
for (var i = 0; i < this.modules.length; i++)
|
|
@@ -1281,13 +1281,13 @@ Ke.createMovieClip = function(e, t, n) {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
return r;
|
|
1283
1283
|
};
|
|
1284
|
-
|
|
1284
|
+
We.setupTimingPattern = function() {
|
|
1285
1285
|
for (var e = 8; e < this.moduleCount - 8; e++)
|
|
1286
1286
|
this.modules[e][6] == null && (this.modules[e][6] = e % 2 == 0);
|
|
1287
1287
|
for (var t = 8; t < this.moduleCount - 8; t++)
|
|
1288
1288
|
this.modules[6][t] == null && (this.modules[6][t] = t % 2 == 0);
|
|
1289
1289
|
};
|
|
1290
|
-
|
|
1290
|
+
We.setupPositionAdjustPattern = function() {
|
|
1291
1291
|
for (var e = et.getPatternPosition(this.typeNumber), t = 0; t < e.length; t++)
|
|
1292
1292
|
for (var n = 0; n < e.length; n++) {
|
|
1293
1293
|
var r = e[t], o = e[n];
|
|
@@ -1297,7 +1297,7 @@ Ke.setupPositionAdjustPattern = function() {
|
|
|
1297
1297
|
i == -2 || i == 2 || a == -2 || a == 2 || i == 0 && a == 0 ? this.modules[r + i][o + a] = !0 : this.modules[r + i][o + a] = !1;
|
|
1298
1298
|
}
|
|
1299
1299
|
};
|
|
1300
|
-
|
|
1300
|
+
We.setupTypeNumber = function(e) {
|
|
1301
1301
|
for (var t = et.getBCHTypeNumber(this.typeNumber), n = 0; n < 18; n++) {
|
|
1302
1302
|
var r = !e && (t >> n & 1) == 1;
|
|
1303
1303
|
this.modules[Math.floor(n / 3)][n % 3 + this.moduleCount - 8 - 3] = r;
|
|
@@ -1307,7 +1307,7 @@ Ke.setupTypeNumber = function(e) {
|
|
|
1307
1307
|
this.modules[n % 3 + this.moduleCount - 8 - 3][Math.floor(n / 3)] = r;
|
|
1308
1308
|
}
|
|
1309
1309
|
};
|
|
1310
|
-
|
|
1310
|
+
We.setupTypeInfo = function(e, t) {
|
|
1311
1311
|
for (var n = this.errorCorrectLevel << 3 | t, r = et.getBCHTypeInfo(n), o = 0; o < 15; o++) {
|
|
1312
1312
|
var i = !e && (r >> o & 1) == 1;
|
|
1313
1313
|
o < 6 ? this.modules[o][8] = i : o < 8 ? this.modules[o + 1][8] = i : this.modules[this.moduleCount - 15 + o][8] = i;
|
|
@@ -1318,7 +1318,7 @@ Ke.setupTypeInfo = function(e, t) {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
this.modules[this.moduleCount - 8][8] = !e;
|
|
1320
1320
|
};
|
|
1321
|
-
|
|
1321
|
+
We.mapData = function(e, t) {
|
|
1322
1322
|
for (var n = -1, r = this.moduleCount - 1, o = 7, i = 0, a = this.moduleCount - 1; a > 0; a -= 2)
|
|
1323
1323
|
for (a == 6 && a--; ; ) {
|
|
1324
1324
|
for (var A = 0; A < 2; A++)
|
|
@@ -1334,9 +1334,9 @@ Ke.mapData = function(e, t) {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
};
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1337
|
+
Ge.PAD0 = 236;
|
|
1338
|
+
Ge.PAD1 = 17;
|
|
1339
|
+
Ge.createData = function(e, t, n) {
|
|
1340
1340
|
for (var r = vo.getRSBlocks(e, t), o = new bo(), i = 0; i < n.length; i++) {
|
|
1341
1341
|
var a = n[i];
|
|
1342
1342
|
o.put(a.mode, 4), o.put(a.getLength(), et.getLengthInBits(a.mode, e)), a.write(o);
|
|
@@ -1347,11 +1347,11 @@ Re.createData = function(e, t, n) {
|
|
|
1347
1347
|
throw new Error("code length overflow. (" + o.getLengthInBits() + ">" + A * 8 + ")");
|
|
1348
1348
|
for (o.getLengthInBits() + 4 <= A * 8 && o.put(0, 4); o.getLengthInBits() % 8 != 0; )
|
|
1349
1349
|
o.putBit(!1);
|
|
1350
|
-
for (; !(o.getLengthInBits() >= A * 8 || (o.put(
|
|
1351
|
-
o.put(
|
|
1352
|
-
return
|
|
1350
|
+
for (; !(o.getLengthInBits() >= A * 8 || (o.put(Ge.PAD0, 8), o.getLengthInBits() >= A * 8)); )
|
|
1351
|
+
o.put(Ge.PAD1, 8);
|
|
1352
|
+
return Ge.createBytes(o, r);
|
|
1353
1353
|
};
|
|
1354
|
-
|
|
1354
|
+
Ge.createBytes = function(e, t) {
|
|
1355
1355
|
for (var n = 0, r = 0, o = 0, i = new Array(t.length), a = new Array(t.length), A = 0; A < t.length; A++) {
|
|
1356
1356
|
var m = t[A].dataCount, c = t[A].totalCount - m;
|
|
1357
1357
|
r = Math.max(r, m), o = Math.max(o, c), i[A] = new Array(m);
|
|
@@ -1361,21 +1361,21 @@ Re.createBytes = function(e, t) {
|
|
|
1361
1361
|
var d = et.getErrorCorrectPolynomial(c), q = new _i(i[A], d.getLength() - 1), g = q.mod(d);
|
|
1362
1362
|
a[A] = new Array(d.getLength() - 1);
|
|
1363
1363
|
for (var l = 0; l < a[A].length; l++) {
|
|
1364
|
-
var
|
|
1365
|
-
a[A][l] =
|
|
1364
|
+
var f = l + g.getLength() - a[A].length;
|
|
1365
|
+
a[A][l] = f >= 0 ? g.get(f) : 0;
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
|
-
for (var
|
|
1369
|
-
|
|
1370
|
-
for (var
|
|
1368
|
+
for (var h = 0, l = 0; l < t.length; l++)
|
|
1369
|
+
h += t[l].totalCount;
|
|
1370
|
+
for (var y = new Array(h), K = 0, l = 0; l < r; l++)
|
|
1371
1371
|
for (var A = 0; A < t.length; A++)
|
|
1372
|
-
l < i[A].length && (
|
|
1372
|
+
l < i[A].length && (y[K++] = i[A][l]);
|
|
1373
1373
|
for (var l = 0; l < o; l++)
|
|
1374
1374
|
for (var A = 0; A < t.length; A++)
|
|
1375
|
-
l < a[A].length && (
|
|
1376
|
-
return
|
|
1375
|
+
l < a[A].length && (y[K++] = a[A][l]);
|
|
1376
|
+
return y;
|
|
1377
1377
|
};
|
|
1378
|
-
var $i =
|
|
1378
|
+
var $i = Ge, Nn = { exports: {} }, Gt = { exports: {} }, le = {};
|
|
1379
1379
|
/** @license React v16.13.1
|
|
1380
1380
|
* react-is.production.min.js
|
|
1381
1381
|
*
|
|
@@ -1387,71 +1387,71 @@ var $i = Re, Nn = { exports: {} }, Gt = { exports: {} }, se = {};
|
|
|
1387
1387
|
var Lr;
|
|
1388
1388
|
function ea() {
|
|
1389
1389
|
if (Lr)
|
|
1390
|
-
return
|
|
1390
|
+
return le;
|
|
1391
1391
|
Lr = 1;
|
|
1392
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115,
|
|
1393
|
-
function
|
|
1394
|
-
if (typeof
|
|
1395
|
-
var
|
|
1396
|
-
switch (
|
|
1392
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, K = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
1393
|
+
function j(v) {
|
|
1394
|
+
if (typeof v == "object" && v !== null) {
|
|
1395
|
+
var V = v.$$typeof;
|
|
1396
|
+
switch (V) {
|
|
1397
1397
|
case t:
|
|
1398
|
-
switch (
|
|
1398
|
+
switch (v = v.type, v) {
|
|
1399
1399
|
case m:
|
|
1400
1400
|
case c:
|
|
1401
1401
|
case r:
|
|
1402
1402
|
case i:
|
|
1403
1403
|
case o:
|
|
1404
1404
|
case d:
|
|
1405
|
-
return
|
|
1405
|
+
return v;
|
|
1406
1406
|
default:
|
|
1407
|
-
switch (
|
|
1407
|
+
switch (v = v && v.$$typeof, v) {
|
|
1408
1408
|
case A:
|
|
1409
1409
|
case l:
|
|
1410
|
-
case
|
|
1410
|
+
case f:
|
|
1411
1411
|
case g:
|
|
1412
1412
|
case a:
|
|
1413
|
-
return
|
|
1413
|
+
return v;
|
|
1414
1414
|
default:
|
|
1415
|
-
return
|
|
1415
|
+
return V;
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
case n:
|
|
1419
|
-
return
|
|
1419
|
+
return V;
|
|
1420
1420
|
}
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1424
|
-
return
|
|
1425
|
-
}
|
|
1426
|
-
return
|
|
1427
|
-
return
|
|
1428
|
-
},
|
|
1429
|
-
return
|
|
1430
|
-
},
|
|
1431
|
-
return
|
|
1432
|
-
},
|
|
1433
|
-
return typeof
|
|
1434
|
-
},
|
|
1435
|
-
return
|
|
1436
|
-
},
|
|
1437
|
-
return
|
|
1438
|
-
},
|
|
1439
|
-
return
|
|
1440
|
-
},
|
|
1441
|
-
return
|
|
1442
|
-
},
|
|
1443
|
-
return
|
|
1444
|
-
},
|
|
1445
|
-
return
|
|
1446
|
-
},
|
|
1447
|
-
return
|
|
1448
|
-
},
|
|
1449
|
-
return
|
|
1450
|
-
},
|
|
1451
|
-
return typeof
|
|
1452
|
-
},
|
|
1453
|
-
}
|
|
1454
|
-
var
|
|
1423
|
+
function L(v) {
|
|
1424
|
+
return j(v) === c;
|
|
1425
|
+
}
|
|
1426
|
+
return le.AsyncMode = m, le.ConcurrentMode = c, le.ContextConsumer = A, le.ContextProvider = a, le.Element = t, le.ForwardRef = l, le.Fragment = r, le.Lazy = f, le.Memo = g, le.Portal = n, le.Profiler = i, le.StrictMode = o, le.Suspense = d, le.isAsyncMode = function(v) {
|
|
1427
|
+
return L(v) || j(v) === m;
|
|
1428
|
+
}, le.isConcurrentMode = L, le.isContextConsumer = function(v) {
|
|
1429
|
+
return j(v) === A;
|
|
1430
|
+
}, le.isContextProvider = function(v) {
|
|
1431
|
+
return j(v) === a;
|
|
1432
|
+
}, le.isElement = function(v) {
|
|
1433
|
+
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
1434
|
+
}, le.isForwardRef = function(v) {
|
|
1435
|
+
return j(v) === l;
|
|
1436
|
+
}, le.isFragment = function(v) {
|
|
1437
|
+
return j(v) === r;
|
|
1438
|
+
}, le.isLazy = function(v) {
|
|
1439
|
+
return j(v) === f;
|
|
1440
|
+
}, le.isMemo = function(v) {
|
|
1441
|
+
return j(v) === g;
|
|
1442
|
+
}, le.isPortal = function(v) {
|
|
1443
|
+
return j(v) === n;
|
|
1444
|
+
}, le.isProfiler = function(v) {
|
|
1445
|
+
return j(v) === i;
|
|
1446
|
+
}, le.isStrictMode = function(v) {
|
|
1447
|
+
return j(v) === o;
|
|
1448
|
+
}, le.isSuspense = function(v) {
|
|
1449
|
+
return j(v) === d;
|
|
1450
|
+
}, le.isValidElementType = function(v) {
|
|
1451
|
+
return typeof v == "string" || typeof v == "function" || v === r || v === c || v === i || v === o || v === d || v === q || typeof v == "object" && v !== null && (v.$$typeof === f || v.$$typeof === g || v.$$typeof === a || v.$$typeof === A || v.$$typeof === l || v.$$typeof === y || v.$$typeof === K || v.$$typeof === E || v.$$typeof === h);
|
|
1452
|
+
}, le.typeOf = j, le;
|
|
1453
|
+
}
|
|
1454
|
+
var ue = {};
|
|
1455
1455
|
/** @license React v16.13.1
|
|
1456
1456
|
* react-is.development.js
|
|
1457
1457
|
*
|
|
@@ -1463,85 +1463,85 @@ var le = {};
|
|
|
1463
1463
|
var Or;
|
|
1464
1464
|
function ta() {
|
|
1465
1465
|
return Or || (Or = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115,
|
|
1467
|
-
function
|
|
1468
|
-
return typeof
|
|
1469
|
-
|
|
1470
|
-
}
|
|
1471
|
-
function
|
|
1472
|
-
if (typeof
|
|
1473
|
-
var
|
|
1474
|
-
switch (
|
|
1466
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, q = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, K = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
1467
|
+
function j(w) {
|
|
1468
|
+
return typeof w == "string" || typeof w == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1469
|
+
w === r || w === c || w === i || w === o || w === d || w === q || typeof w == "object" && w !== null && (w.$$typeof === f || w.$$typeof === g || w.$$typeof === a || w.$$typeof === A || w.$$typeof === l || w.$$typeof === y || w.$$typeof === K || w.$$typeof === E || w.$$typeof === h);
|
|
1470
|
+
}
|
|
1471
|
+
function L(w) {
|
|
1472
|
+
if (typeof w == "object" && w !== null) {
|
|
1473
|
+
var F = w.$$typeof;
|
|
1474
|
+
switch (F) {
|
|
1475
1475
|
case t:
|
|
1476
|
-
var
|
|
1477
|
-
switch (
|
|
1476
|
+
var ae = w.type;
|
|
1477
|
+
switch (ae) {
|
|
1478
1478
|
case m:
|
|
1479
1479
|
case c:
|
|
1480
1480
|
case r:
|
|
1481
1481
|
case i:
|
|
1482
1482
|
case o:
|
|
1483
1483
|
case d:
|
|
1484
|
-
return
|
|
1484
|
+
return ae;
|
|
1485
1485
|
default:
|
|
1486
|
-
var
|
|
1487
|
-
switch (
|
|
1486
|
+
var te = ae && ae.$$typeof;
|
|
1487
|
+
switch (te) {
|
|
1488
1488
|
case A:
|
|
1489
1489
|
case l:
|
|
1490
|
-
case
|
|
1490
|
+
case f:
|
|
1491
1491
|
case g:
|
|
1492
1492
|
case a:
|
|
1493
|
-
return
|
|
1493
|
+
return te;
|
|
1494
1494
|
default:
|
|
1495
|
-
return
|
|
1495
|
+
return F;
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
1498
|
case n:
|
|
1499
|
-
return
|
|
1499
|
+
return F;
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var
|
|
1504
|
-
function T(
|
|
1505
|
-
return
|
|
1503
|
+
var v = m, V = c, U = A, re = a, me = t, ee = l, ce = r, _ = f, $ = g, W = n, M = i, J = o, p = d, O = !1;
|
|
1504
|
+
function T(w) {
|
|
1505
|
+
return O || (O = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Z(w) || L(w) === m;
|
|
1506
1506
|
}
|
|
1507
|
-
function Z(
|
|
1508
|
-
return
|
|
1507
|
+
function Z(w) {
|
|
1508
|
+
return L(w) === c;
|
|
1509
1509
|
}
|
|
1510
|
-
function I(
|
|
1511
|
-
return
|
|
1510
|
+
function I(w) {
|
|
1511
|
+
return L(w) === A;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1514
|
-
return
|
|
1513
|
+
function N(w) {
|
|
1514
|
+
return L(w) === a;
|
|
1515
1515
|
}
|
|
1516
|
-
function
|
|
1517
|
-
return typeof
|
|
1516
|
+
function k(w) {
|
|
1517
|
+
return typeof w == "object" && w !== null && w.$$typeof === t;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
return
|
|
1519
|
+
function z(w) {
|
|
1520
|
+
return L(w) === l;
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1523
|
-
return
|
|
1522
|
+
function G(w) {
|
|
1523
|
+
return L(w) === r;
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1526
|
-
return
|
|
1525
|
+
function D(w) {
|
|
1526
|
+
return L(w) === f;
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1529
|
-
return
|
|
1528
|
+
function R(w) {
|
|
1529
|
+
return L(w) === g;
|
|
1530
1530
|
}
|
|
1531
|
-
function H(
|
|
1532
|
-
return
|
|
1531
|
+
function H(w) {
|
|
1532
|
+
return L(w) === n;
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1535
|
-
return
|
|
1534
|
+
function B(w) {
|
|
1535
|
+
return L(w) === i;
|
|
1536
1536
|
}
|
|
1537
|
-
function b(
|
|
1538
|
-
return
|
|
1537
|
+
function b(w) {
|
|
1538
|
+
return L(w) === o;
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1541
|
-
return
|
|
1540
|
+
function Y(w) {
|
|
1541
|
+
return L(w) === d;
|
|
1542
1542
|
}
|
|
1543
|
-
|
|
1544
|
-
}()),
|
|
1543
|
+
ue.AsyncMode = v, ue.ConcurrentMode = V, ue.ContextConsumer = U, ue.ContextProvider = re, ue.Element = me, ue.ForwardRef = ee, ue.Fragment = ce, ue.Lazy = _, ue.Memo = $, ue.Portal = W, ue.Profiler = M, ue.StrictMode = J, ue.Suspense = p, ue.isAsyncMode = T, ue.isConcurrentMode = Z, ue.isContextConsumer = I, ue.isContextProvider = N, ue.isElement = k, ue.isForwardRef = z, ue.isFragment = G, ue.isLazy = D, ue.isMemo = R, ue.isPortal = H, ue.isProfiler = B, ue.isStrictMode = b, ue.isSuspense = Y, ue.isValidElementType = j, ue.typeOf = L;
|
|
1544
|
+
}()), ue;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Er;
|
|
1547
1547
|
function Co() {
|
|
@@ -1642,8 +1642,8 @@ function ra() {
|
|
|
1642
1642
|
throw q.name = "Invariant Violation", q;
|
|
1643
1643
|
}
|
|
1644
1644
|
d = i[l](a, l, m, A, null, t);
|
|
1645
|
-
} catch (
|
|
1646
|
-
d =
|
|
1645
|
+
} catch (f) {
|
|
1646
|
+
d = f;
|
|
1647
1647
|
}
|
|
1648
1648
|
if (d && !(d instanceof Error) && e(
|
|
1649
1649
|
(m || "React class") + ": type specification of " + A + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -1696,220 +1696,220 @@ function oa() {
|
|
|
1696
1696
|
string: K("string"),
|
|
1697
1697
|
symbol: K("symbol"),
|
|
1698
1698
|
any: E(),
|
|
1699
|
-
arrayOf:
|
|
1700
|
-
element:
|
|
1701
|
-
elementType:
|
|
1702
|
-
instanceOf:
|
|
1703
|
-
node:
|
|
1704
|
-
objectOf:
|
|
1705
|
-
oneOf:
|
|
1706
|
-
oneOfType:
|
|
1707
|
-
shape:
|
|
1708
|
-
exact:
|
|
1699
|
+
arrayOf: j,
|
|
1700
|
+
element: L(),
|
|
1701
|
+
elementType: v(),
|
|
1702
|
+
instanceOf: V,
|
|
1703
|
+
node: ee(),
|
|
1704
|
+
objectOf: re,
|
|
1705
|
+
oneOf: U,
|
|
1706
|
+
oneOfType: me,
|
|
1707
|
+
shape: _,
|
|
1708
|
+
exact: $
|
|
1709
1709
|
};
|
|
1710
|
-
function
|
|
1710
|
+
function f(Z, I) {
|
|
1711
1711
|
return Z === I ? Z !== 0 || 1 / Z === 1 / I : Z !== Z && I !== I;
|
|
1712
1712
|
}
|
|
1713
|
-
function
|
|
1713
|
+
function h(Z, I) {
|
|
1714
1714
|
this.message = Z, this.data = I && typeof I == "object" ? I : {}, this.stack = "";
|
|
1715
1715
|
}
|
|
1716
|
-
|
|
1717
|
-
function
|
|
1716
|
+
h.prototype = Error.prototype;
|
|
1717
|
+
function y(Z) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
|
-
var I = {},
|
|
1720
|
-
function
|
|
1721
|
-
if (H = H || q, b = b ||
|
|
1719
|
+
var I = {}, N = 0;
|
|
1720
|
+
function k(G, D, R, H, B, b, Y) {
|
|
1721
|
+
if (H = H || q, b = b || R, Y !== n) {
|
|
1722
1722
|
if (m) {
|
|
1723
|
-
var
|
|
1723
|
+
var w = new Error(
|
|
1724
1724
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1725
1725
|
);
|
|
1726
|
-
throw
|
|
1726
|
+
throw w.name = "Invariant Violation", w;
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
|
-
var
|
|
1729
|
-
!I[
|
|
1730
|
-
|
|
1728
|
+
var F = H + ":" + R;
|
|
1729
|
+
!I[F] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1730
|
+
N < 3 && (i(
|
|
1731
1731
|
"You are manually calling a React.PropTypes validation function for the `" + b + "` 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."
|
|
1732
|
-
), I[
|
|
1732
|
+
), I[F] = !0, N++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return R
|
|
1735
|
+
return D[R] == null ? G ? D[R] === null ? new h("The " + B + " `" + b + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new h("The " + B + " `" + b + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : Z(D, R, H, B, b);
|
|
1736
1736
|
}
|
|
1737
|
-
var
|
|
1738
|
-
return
|
|
1737
|
+
var z = k.bind(null, !1);
|
|
1738
|
+
return z.isRequired = k.bind(null, !0), z;
|
|
1739
1739
|
}
|
|
1740
1740
|
function K(Z) {
|
|
1741
|
-
function I(
|
|
1742
|
-
var H =
|
|
1743
|
-
if (
|
|
1744
|
-
var b =
|
|
1745
|
-
return new
|
|
1746
|
-
"Invalid " +
|
|
1741
|
+
function I(N, k, z, G, D, R) {
|
|
1742
|
+
var H = N[k], B = J(H);
|
|
1743
|
+
if (B !== Z) {
|
|
1744
|
+
var b = p(H);
|
|
1745
|
+
return new h(
|
|
1746
|
+
"Invalid " + G + " `" + D + "` of type " + ("`" + b + "` supplied to `" + z + "`, expected ") + ("`" + Z + "`."),
|
|
1747
1747
|
{ expectedType: Z }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
1750
1750
|
return null;
|
|
1751
1751
|
}
|
|
1752
|
-
return
|
|
1752
|
+
return y(I);
|
|
1753
1753
|
}
|
|
1754
1754
|
function E() {
|
|
1755
|
-
return
|
|
1755
|
+
return y(a);
|
|
1756
1756
|
}
|
|
1757
|
-
function
|
|
1758
|
-
function I(
|
|
1757
|
+
function j(Z) {
|
|
1758
|
+
function I(N, k, z, G, D) {
|
|
1759
1759
|
if (typeof Z != "function")
|
|
1760
|
-
return new
|
|
1761
|
-
var
|
|
1762
|
-
if (!Array.isArray(
|
|
1763
|
-
var H =
|
|
1764
|
-
return new
|
|
1760
|
+
return new h("Property `" + D + "` of component `" + z + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
+
var R = N[k];
|
|
1762
|
+
if (!Array.isArray(R)) {
|
|
1763
|
+
var H = J(R);
|
|
1764
|
+
return new h("Invalid " + G + " `" + D + "` of type " + ("`" + H + "` supplied to `" + z + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
|
-
for (var
|
|
1767
|
-
var b = Z(
|
|
1766
|
+
for (var B = 0; B < R.length; B++) {
|
|
1767
|
+
var b = Z(R, B, z, G, D + "[" + B + "]", n);
|
|
1768
1768
|
if (b instanceof Error)
|
|
1769
1769
|
return b;
|
|
1770
1770
|
}
|
|
1771
1771
|
return null;
|
|
1772
1772
|
}
|
|
1773
|
-
return
|
|
1774
|
-
}
|
|
1775
|
-
function
|
|
1776
|
-
function Z(I,
|
|
1777
|
-
var
|
|
1778
|
-
if (!A(
|
|
1779
|
-
var
|
|
1780
|
-
return new
|
|
1773
|
+
return y(I);
|
|
1774
|
+
}
|
|
1775
|
+
function L() {
|
|
1776
|
+
function Z(I, N, k, z, G) {
|
|
1777
|
+
var D = I[N];
|
|
1778
|
+
if (!A(D)) {
|
|
1779
|
+
var R = J(D);
|
|
1780
|
+
return new h("Invalid " + z + " `" + G + "` of type " + ("`" + R + "` supplied to `" + k + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
1783
1783
|
}
|
|
1784
|
-
return
|
|
1785
|
-
}
|
|
1786
|
-
function
|
|
1787
|
-
function Z(I,
|
|
1788
|
-
var
|
|
1789
|
-
if (!e.isValidElementType(
|
|
1790
|
-
var
|
|
1791
|
-
return new
|
|
1784
|
+
return y(Z);
|
|
1785
|
+
}
|
|
1786
|
+
function v() {
|
|
1787
|
+
function Z(I, N, k, z, G) {
|
|
1788
|
+
var D = I[N];
|
|
1789
|
+
if (!e.isValidElementType(D)) {
|
|
1790
|
+
var R = J(D);
|
|
1791
|
+
return new h("Invalid " + z + " `" + G + "` of type " + ("`" + R + "` supplied to `" + k + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
1795
|
-
return
|
|
1795
|
+
return y(Z);
|
|
1796
1796
|
}
|
|
1797
|
-
function
|
|
1798
|
-
function I(
|
|
1799
|
-
if (!(
|
|
1800
|
-
var
|
|
1801
|
-
return new
|
|
1797
|
+
function V(Z) {
|
|
1798
|
+
function I(N, k, z, G, D) {
|
|
1799
|
+
if (!(N[k] instanceof Z)) {
|
|
1800
|
+
var R = Z.name || q, H = T(N[k]);
|
|
1801
|
+
return new h("Invalid " + G + " `" + D + "` of type " + ("`" + H + "` supplied to `" + z + "`, expected ") + ("instance of `" + R + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
1805
|
-
return
|
|
1805
|
+
return y(I);
|
|
1806
1806
|
}
|
|
1807
|
-
function
|
|
1807
|
+
function U(Z) {
|
|
1808
1808
|
if (!Array.isArray(Z))
|
|
1809
1809
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1810
1810
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1811
1811
|
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
1812
|
-
function I(
|
|
1813
|
-
for (var
|
|
1814
|
-
if (
|
|
1812
|
+
function I(N, k, z, G, D) {
|
|
1813
|
+
for (var R = N[k], H = 0; H < Z.length; H++)
|
|
1814
|
+
if (f(R, Z[H]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var
|
|
1817
|
-
var
|
|
1818
|
-
return
|
|
1816
|
+
var B = JSON.stringify(Z, function(Y, w) {
|
|
1817
|
+
var F = p(w);
|
|
1818
|
+
return F === "symbol" ? String(w) : w;
|
|
1819
1819
|
});
|
|
1820
|
-
return new
|
|
1820
|
+
return new h("Invalid " + G + " `" + D + "` of value `" + String(R) + "` " + ("supplied to `" + z + "`, expected one of " + B + "."));
|
|
1821
1821
|
}
|
|
1822
|
-
return
|
|
1822
|
+
return y(I);
|
|
1823
1823
|
}
|
|
1824
|
-
function
|
|
1825
|
-
function I(
|
|
1824
|
+
function re(Z) {
|
|
1825
|
+
function I(N, k, z, G, D) {
|
|
1826
1826
|
if (typeof Z != "function")
|
|
1827
|
-
return new
|
|
1828
|
-
var
|
|
1827
|
+
return new h("Property `" + D + "` of component `" + z + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
+
var R = N[k], H = J(R);
|
|
1829
1829
|
if (H !== "object")
|
|
1830
|
-
return new
|
|
1831
|
-
for (var
|
|
1832
|
-
if (r(
|
|
1833
|
-
var b = Z(
|
|
1830
|
+
return new h("Invalid " + G + " `" + D + "` of type " + ("`" + H + "` supplied to `" + z + "`, expected an object."));
|
|
1831
|
+
for (var B in R)
|
|
1832
|
+
if (r(R, B)) {
|
|
1833
|
+
var b = Z(R, B, z, G, D + "." + B, n);
|
|
1834
1834
|
if (b instanceof Error)
|
|
1835
1835
|
return b;
|
|
1836
1836
|
}
|
|
1837
1837
|
return null;
|
|
1838
1838
|
}
|
|
1839
|
-
return
|
|
1839
|
+
return y(I);
|
|
1840
1840
|
}
|
|
1841
|
-
function
|
|
1841
|
+
function me(Z) {
|
|
1842
1842
|
if (!Array.isArray(Z))
|
|
1843
1843
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
1844
1844
|
for (var I = 0; I < Z.length; I++) {
|
|
1845
|
-
var
|
|
1846
|
-
if (typeof
|
|
1845
|
+
var N = Z[I];
|
|
1846
|
+
if (typeof N != "function")
|
|
1847
1847
|
return i(
|
|
1848
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1848
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + O(N) + " at index " + I + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
|
-
function
|
|
1852
|
-
for (var
|
|
1853
|
-
var
|
|
1854
|
-
if (
|
|
1851
|
+
function k(z, G, D, R, H) {
|
|
1852
|
+
for (var B = [], b = 0; b < Z.length; b++) {
|
|
1853
|
+
var Y = Z[b], w = Y(z, G, D, R, H, n);
|
|
1854
|
+
if (w == null)
|
|
1855
1855
|
return null;
|
|
1856
|
-
|
|
1856
|
+
w.data && r(w.data, "expectedType") && B.push(w.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
|
-
var
|
|
1859
|
-
return new
|
|
1858
|
+
var F = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
|
|
1859
|
+
return new h("Invalid " + R + " `" + H + "` supplied to " + ("`" + D + "`" + F + "."));
|
|
1860
1860
|
}
|
|
1861
|
-
return
|
|
1861
|
+
return y(k);
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1864
|
-
function Z(I,
|
|
1865
|
-
return W(I[
|
|
1863
|
+
function ee() {
|
|
1864
|
+
function Z(I, N, k, z, G) {
|
|
1865
|
+
return W(I[N]) ? null : new h("Invalid " + z + " `" + G + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
|
-
return
|
|
1867
|
+
return y(Z);
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1870
|
-
return new
|
|
1871
|
-
(Z || "React class") + ": " + I + " type `" +
|
|
1869
|
+
function ce(Z, I, N, k, z) {
|
|
1870
|
+
return new h(
|
|
1871
|
+
(Z || "React class") + ": " + I + " type `" + N + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + z + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
|
-
function
|
|
1875
|
-
function I(
|
|
1876
|
-
var
|
|
1874
|
+
function _(Z) {
|
|
1875
|
+
function I(N, k, z, G, D) {
|
|
1876
|
+
var R = N[k], H = J(R);
|
|
1877
1877
|
if (H !== "object")
|
|
1878
|
-
return new
|
|
1879
|
-
for (var
|
|
1880
|
-
var b = Z[
|
|
1878
|
+
return new h("Invalid " + G + " `" + D + "` of type `" + H + "` " + ("supplied to `" + z + "`, expected `object`."));
|
|
1879
|
+
for (var B in Z) {
|
|
1880
|
+
var b = Z[B];
|
|
1881
1881
|
if (typeof b != "function")
|
|
1882
|
-
return
|
|
1883
|
-
var
|
|
1884
|
-
if (
|
|
1885
|
-
return
|
|
1882
|
+
return ce(z, G, D, B, p(b));
|
|
1883
|
+
var Y = b(R, B, z, G, D + "." + B, n);
|
|
1884
|
+
if (Y)
|
|
1885
|
+
return Y;
|
|
1886
1886
|
}
|
|
1887
1887
|
return null;
|
|
1888
1888
|
}
|
|
1889
|
-
return
|
|
1889
|
+
return y(I);
|
|
1890
1890
|
}
|
|
1891
|
-
function
|
|
1892
|
-
function I(
|
|
1893
|
-
var
|
|
1891
|
+
function $(Z) {
|
|
1892
|
+
function I(N, k, z, G, D) {
|
|
1893
|
+
var R = N[k], H = J(R);
|
|
1894
1894
|
if (H !== "object")
|
|
1895
|
-
return new
|
|
1896
|
-
var
|
|
1897
|
-
for (var b in
|
|
1898
|
-
var
|
|
1899
|
-
if (r(Z, b) && typeof
|
|
1900
|
-
return
|
|
1901
|
-
if (!
|
|
1902
|
-
return new
|
|
1903
|
-
"Invalid " +
|
|
1895
|
+
return new h("Invalid " + G + " `" + D + "` of type `" + H + "` " + ("supplied to `" + z + "`, expected `object`."));
|
|
1896
|
+
var B = t({}, N[k], Z);
|
|
1897
|
+
for (var b in B) {
|
|
1898
|
+
var Y = Z[b];
|
|
1899
|
+
if (r(Z, b) && typeof Y != "function")
|
|
1900
|
+
return ce(z, G, D, b, p(Y));
|
|
1901
|
+
if (!Y)
|
|
1902
|
+
return new h(
|
|
1903
|
+
"Invalid " + G + " `" + D + "` key `" + b + "` supplied to `" + z + "`.\nBad object: " + JSON.stringify(N[k], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var
|
|
1907
|
-
if (
|
|
1908
|
-
return
|
|
1906
|
+
var w = Y(R, b, z, G, D + "." + b, n);
|
|
1907
|
+
if (w)
|
|
1908
|
+
return w;
|
|
1909
1909
|
}
|
|
1910
1910
|
return null;
|
|
1911
1911
|
}
|
|
1912
|
-
return
|
|
1912
|
+
return y(I);
|
|
1913
1913
|
}
|
|
1914
1914
|
function W(Z) {
|
|
1915
1915
|
switch (typeof Z) {
|
|
@@ -1926,15 +1926,15 @@ Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
|
|
|
1926
1926
|
return !0;
|
|
1927
1927
|
var I = d(Z);
|
|
1928
1928
|
if (I) {
|
|
1929
|
-
var
|
|
1929
|
+
var N = I.call(Z), k;
|
|
1930
1930
|
if (I !== Z.entries) {
|
|
1931
|
-
for (; !(
|
|
1932
|
-
if (!W(
|
|
1931
|
+
for (; !(k = N.next()).done; )
|
|
1932
|
+
if (!W(k.value))
|
|
1933
1933
|
return !1;
|
|
1934
1934
|
} else
|
|
1935
|
-
for (; !(
|
|
1936
|
-
var
|
|
1937
|
-
if (
|
|
1935
|
+
for (; !(k = N.next()).done; ) {
|
|
1936
|
+
var z = k.value;
|
|
1937
|
+
if (z && !W(z[1]))
|
|
1938
1938
|
return !1;
|
|
1939
1939
|
}
|
|
1940
1940
|
} else
|
|
@@ -1944,17 +1944,17 @@ Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
|
|
|
1944
1944
|
return !1;
|
|
1945
1945
|
}
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function M(Z, I) {
|
|
1948
1948
|
return Z === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function J(Z) {
|
|
1951
1951
|
var I = typeof Z;
|
|
1952
|
-
return Array.isArray(Z) ? "array" : Z instanceof RegExp ? "object" :
|
|
1952
|
+
return Array.isArray(Z) ? "array" : Z instanceof RegExp ? "object" : M(I, Z) ? "symbol" : I;
|
|
1953
1953
|
}
|
|
1954
|
-
function
|
|
1954
|
+
function p(Z) {
|
|
1955
1955
|
if (typeof Z > "u" || Z === null)
|
|
1956
1956
|
return "" + Z;
|
|
1957
|
-
var I =
|
|
1957
|
+
var I = J(Z);
|
|
1958
1958
|
if (I === "object") {
|
|
1959
1959
|
if (Z instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -1963,8 +1963,8 @@ Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
|
|
|
1963
1963
|
}
|
|
1964
1964
|
return I;
|
|
1965
1965
|
}
|
|
1966
|
-
function
|
|
1967
|
-
var I =
|
|
1966
|
+
function O(Z) {
|
|
1967
|
+
var I = p(Z);
|
|
1968
1968
|
switch (I) {
|
|
1969
1969
|
case "array":
|
|
1970
1970
|
case "object":
|
|
@@ -2048,7 +2048,7 @@ var sa = Object.assign || function(e) {
|
|
|
2048
2048
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2049
2049
|
}
|
|
2050
2050
|
return e;
|
|
2051
|
-
}, la = An,
|
|
2051
|
+
}, la = An, Oe = xo(la), Io = se, Tt = xo(Io);
|
|
2052
2052
|
function xo(e) {
|
|
2053
2053
|
return e && e.__esModule ? e : { default: e };
|
|
2054
2054
|
}
|
|
@@ -2059,14 +2059,14 @@ function ua(e, t) {
|
|
|
2059
2059
|
return n;
|
|
2060
2060
|
}
|
|
2061
2061
|
var ca = {
|
|
2062
|
-
bgColor:
|
|
2063
|
-
bgD:
|
|
2064
|
-
fgColor:
|
|
2065
|
-
fgD:
|
|
2066
|
-
size:
|
|
2067
|
-
title:
|
|
2068
|
-
viewBoxSize:
|
|
2069
|
-
xmlns:
|
|
2062
|
+
bgColor: Oe.default.oneOfType([Oe.default.object, Oe.default.string]).isRequired,
|
|
2063
|
+
bgD: Oe.default.string.isRequired,
|
|
2064
|
+
fgColor: Oe.default.oneOfType([Oe.default.object, Oe.default.string]).isRequired,
|
|
2065
|
+
fgD: Oe.default.string.isRequired,
|
|
2066
|
+
size: Oe.default.number.isRequired,
|
|
2067
|
+
title: Oe.default.string,
|
|
2068
|
+
viewBoxSize: Oe.default.number.isRequired,
|
|
2069
|
+
xmlns: Oe.default.string
|
|
2070
2070
|
}, ma = {
|
|
2071
2071
|
title: void 0,
|
|
2072
2072
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -2099,7 +2099,7 @@ var da = Object.assign || function(e) {
|
|
|
2099
2099
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2100
2100
|
}
|
|
2101
2101
|
return e;
|
|
2102
|
-
}, pa = $i, fa = jt(pa), ha = ho, ga = jt(ha), qa = An, Pe = jt(qa), wo =
|
|
2102
|
+
}, pa = $i, fa = jt(pa), ha = ho, ga = jt(ha), qa = An, Pe = jt(qa), wo = se, ya = jt(wo), va = rr, ba = jt(va);
|
|
2103
2103
|
function jt(e) {
|
|
2104
2104
|
return e && e.__esModule ? e : { default: e };
|
|
2105
2105
|
}
|
|
@@ -2194,25 +2194,25 @@ function Wo(e, t) {
|
|
|
2194
2194
|
const { toString: wa } = Object.prototype, { getPrototypeOf: or } = Object, ln = ((e) => (t) => {
|
|
2195
2195
|
const n = wa.call(t);
|
|
2196
2196
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2197
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
2197
|
+
})(/* @__PURE__ */ Object.create(null)), Xe = (e) => (e = e.toLowerCase(), (t) => ln(t) === e), un = (e) => (t) => typeof t === e, { isArray: qt } = Array, Lt = un("undefined");
|
|
2198
2198
|
function Ka(e) {
|
|
2199
|
-
return e !== null && !Lt(e) && e.constructor !== null && !Lt(e.constructor) &&
|
|
2199
|
+
return e !== null && !Lt(e) && e.constructor !== null && !Lt(e.constructor) && je(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2200
2200
|
}
|
|
2201
|
-
const Mo =
|
|
2201
|
+
const Mo = Xe("ArrayBuffer");
|
|
2202
2202
|
function Wa(e) {
|
|
2203
2203
|
let t;
|
|
2204
2204
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Mo(e.buffer), t;
|
|
2205
2205
|
}
|
|
2206
|
-
const Ma = un("string"),
|
|
2206
|
+
const Ma = un("string"), je = un("function"), So = un("number"), cn = (e) => e !== null && typeof e == "object", Sa = (e) => e === !0 || e === !1, Bt = (e) => {
|
|
2207
2207
|
if (ln(e) !== "object")
|
|
2208
2208
|
return !1;
|
|
2209
2209
|
const t = or(e);
|
|
2210
2210
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
2211
|
-
}, La =
|
|
2211
|
+
}, La = Xe("Date"), Oa = Xe("File"), Ea = Xe("Blob"), ka = Xe("FileList"), ja = (e) => cn(e) && je(e.pipe), za = (e) => {
|
|
2212
2212
|
let t;
|
|
2213
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
2214
|
-
t === "object" &&
|
|
2215
|
-
}, Ya =
|
|
2213
|
+
return e && (typeof FormData == "function" && e instanceof FormData || je(e.append) && ((t = ln(e)) === "formdata" || // detect form-data instance
|
|
2214
|
+
t === "object" && je(e.toString) && e.toString() === "[object FormData]"));
|
|
2215
|
+
}, Ya = Xe("URLSearchParams"), Ja = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2216
2216
|
function Yt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
2217
2217
|
if (e === null || typeof e > "u")
|
|
2218
2218
|
return;
|
|
@@ -2247,7 +2247,7 @@ function Dn() {
|
|
|
2247
2247
|
return t;
|
|
2248
2248
|
}
|
|
2249
2249
|
const Na = (e, t, n, { allOwnKeys: r } = {}) => (Yt(t, (o, i) => {
|
|
2250
|
-
n &&
|
|
2250
|
+
n && je(o) ? e[i] = Wo(o, n) : e[i] = o;
|
|
2251
2251
|
}, { allOwnKeys: r }), e), Da = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ra = (e, t, n, r) => {
|
|
2252
2252
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
2253
2253
|
value: t.prototype
|
|
@@ -2292,12 +2292,12 @@ const Na = (e, t, n, { allOwnKeys: r } = {}) => (Yt(t, (o, i) => {
|
|
|
2292
2292
|
for (; (n = e.exec(t)) !== null; )
|
|
2293
2293
|
r.push(n);
|
|
2294
2294
|
return r;
|
|
2295
|
-
}, Va =
|
|
2295
|
+
}, Va = Xe("HTMLFormElement"), Ba = (e) => e.toLowerCase().replace(
|
|
2296
2296
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
2297
2297
|
function(n, r, o) {
|
|
2298
2298
|
return r.toUpperCase() + o;
|
|
2299
2299
|
}
|
|
2300
|
-
), Dr = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ua =
|
|
2300
|
+
), Dr = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ua = Xe("RegExp"), ko = (e, t) => {
|
|
2301
2301
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
2302
2302
|
Yt(n, (o, i) => {
|
|
2303
2303
|
let a;
|
|
@@ -2305,10 +2305,10 @@ const Na = (e, t, n, { allOwnKeys: r } = {}) => (Yt(t, (o, i) => {
|
|
|
2305
2305
|
}), Object.defineProperties(e, r);
|
|
2306
2306
|
}, Fa = (e) => {
|
|
2307
2307
|
ko(e, (t, n) => {
|
|
2308
|
-
if (
|
|
2308
|
+
if (je(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
2309
2309
|
return !1;
|
|
2310
2310
|
const r = e[n];
|
|
2311
|
-
if (
|
|
2311
|
+
if (je(r)) {
|
|
2312
2312
|
if (t.enumerable = !1, "writable" in t) {
|
|
2313
2313
|
t.writable = !1;
|
|
2314
2314
|
return;
|
|
@@ -2338,7 +2338,7 @@ const Na = (e, t, n, { allOwnKeys: r } = {}) => (Yt(t, (o, i) => {
|
|
|
2338
2338
|
return n;
|
|
2339
2339
|
};
|
|
2340
2340
|
function nA(e) {
|
|
2341
|
-
return !!(e &&
|
|
2341
|
+
return !!(e && je(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
2342
2342
|
}
|
|
2343
2343
|
const rA = (e) => {
|
|
2344
2344
|
const t = new Array(10), n = (r, o) => {
|
|
@@ -2357,7 +2357,7 @@ const rA = (e) => {
|
|
|
2357
2357
|
return r;
|
|
2358
2358
|
};
|
|
2359
2359
|
return n(e, 0);
|
|
2360
|
-
}, oA =
|
|
2360
|
+
}, oA = Xe("AsyncFunction"), iA = (e) => e && (cn(e) || je(e)) && je(e.then) && je(e.catch), C = {
|
|
2361
2361
|
isArray: qt,
|
|
2362
2362
|
isArrayBuffer: Mo,
|
|
2363
2363
|
isBuffer: Ka,
|
|
@@ -2373,7 +2373,7 @@ const rA = (e) => {
|
|
|
2373
2373
|
isFile: Oa,
|
|
2374
2374
|
isBlob: Ea,
|
|
2375
2375
|
isRegExp: Ua,
|
|
2376
|
-
isFunction:
|
|
2376
|
+
isFunction: je,
|
|
2377
2377
|
isStream: ja,
|
|
2378
2378
|
isURLSearchParams: Ya,
|
|
2379
2379
|
isTypedArray: Xa,
|
|
@@ -2386,7 +2386,7 @@ const rA = (e) => {
|
|
|
2386
2386
|
inherits: Ra,
|
|
2387
2387
|
toFlatObject: Ga,
|
|
2388
2388
|
kindOf: ln,
|
|
2389
|
-
kindOfTest:
|
|
2389
|
+
kindOfTest: Xe,
|
|
2390
2390
|
endsWith: Ta,
|
|
2391
2391
|
toArray: Ha,
|
|
2392
2392
|
forEachEntry: Qa,
|
|
@@ -2411,10 +2411,10 @@ const rA = (e) => {
|
|
|
2411
2411
|
isAsyncFn: oA,
|
|
2412
2412
|
isThenable: iA
|
|
2413
2413
|
};
|
|
2414
|
-
function
|
|
2414
|
+
function ie(e, t, n, r, o) {
|
|
2415
2415
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o);
|
|
2416
2416
|
}
|
|
2417
|
-
C.inherits(
|
|
2417
|
+
C.inherits(ie, Error, {
|
|
2418
2418
|
toJSON: function() {
|
|
2419
2419
|
return {
|
|
2420
2420
|
// Standard
|
|
@@ -2435,7 +2435,7 @@ C.inherits(oe, Error, {
|
|
|
2435
2435
|
};
|
|
2436
2436
|
}
|
|
2437
2437
|
});
|
|
2438
|
-
const zo =
|
|
2438
|
+
const zo = ie.prototype, Yo = {};
|
|
2439
2439
|
[
|
|
2440
2440
|
"ERR_BAD_OPTION_VALUE",
|
|
2441
2441
|
"ERR_BAD_OPTION",
|
|
@@ -2453,13 +2453,13 @@ const zo = oe.prototype, Yo = {};
|
|
|
2453
2453
|
].forEach((e) => {
|
|
2454
2454
|
Yo[e] = { value: e };
|
|
2455
2455
|
});
|
|
2456
|
-
Object.defineProperties(
|
|
2456
|
+
Object.defineProperties(ie, Yo);
|
|
2457
2457
|
Object.defineProperty(zo, "isAxiosError", { value: !0 });
|
|
2458
|
-
|
|
2458
|
+
ie.from = (e, t, n, r, o, i) => {
|
|
2459
2459
|
const a = Object.create(zo);
|
|
2460
2460
|
return C.toFlatObject(e, a, function(m) {
|
|
2461
2461
|
return m !== Error.prototype;
|
|
2462
|
-
}, (A) => A !== "isAxiosError"),
|
|
2462
|
+
}, (A) => A !== "isAxiosError"), ie.call(a, e.message, t, n, r, o), a.cause = e, a.name = e.name, i && Object.assign(a, i), a;
|
|
2463
2463
|
};
|
|
2464
2464
|
const aA = null;
|
|
2465
2465
|
function Rn(e) {
|
|
@@ -2486,54 +2486,54 @@ function mn(e, t, n) {
|
|
|
2486
2486
|
metaTokens: !0,
|
|
2487
2487
|
dots: !1,
|
|
2488
2488
|
indexes: !1
|
|
2489
|
-
}, !1, function(
|
|
2490
|
-
return !C.isUndefined(
|
|
2489
|
+
}, !1, function(h, y) {
|
|
2490
|
+
return !C.isUndefined(y[h]);
|
|
2491
2491
|
});
|
|
2492
2492
|
const r = n.metaTokens, o = n.visitor || l, i = n.dots, a = n.indexes, m = (n.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(t);
|
|
2493
2493
|
if (!C.isFunction(o))
|
|
2494
2494
|
throw new TypeError("visitor must be a function");
|
|
2495
|
-
function c(
|
|
2496
|
-
if (
|
|
2495
|
+
function c(f) {
|
|
2496
|
+
if (f === null)
|
|
2497
2497
|
return "";
|
|
2498
|
-
if (C.isDate(
|
|
2499
|
-
return
|
|
2500
|
-
if (!m && C.isBlob(
|
|
2501
|
-
throw new
|
|
2502
|
-
return C.isArrayBuffer(
|
|
2503
|
-
}
|
|
2504
|
-
function l(
|
|
2505
|
-
let K =
|
|
2506
|
-
if (
|
|
2507
|
-
if (C.endsWith(
|
|
2508
|
-
|
|
2509
|
-
else if (C.isArray(
|
|
2510
|
-
return
|
|
2511
|
-
!(C.isUndefined(
|
|
2498
|
+
if (C.isDate(f))
|
|
2499
|
+
return f.toISOString();
|
|
2500
|
+
if (!m && C.isBlob(f))
|
|
2501
|
+
throw new ie("Blob is not supported. Use a Buffer instead.");
|
|
2502
|
+
return C.isArrayBuffer(f) || C.isTypedArray(f) ? m && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
2503
|
+
}
|
|
2504
|
+
function l(f, h, y) {
|
|
2505
|
+
let K = f;
|
|
2506
|
+
if (f && !y && typeof f == "object") {
|
|
2507
|
+
if (C.endsWith(h, "{}"))
|
|
2508
|
+
h = r ? h : h.slice(0, -2), f = JSON.stringify(f);
|
|
2509
|
+
else if (C.isArray(f) && AA(f) || (C.isFileList(f) || C.endsWith(h, "[]")) && (K = C.toArray(f)))
|
|
2510
|
+
return h = Jo(h), K.forEach(function(j, L) {
|
|
2511
|
+
!(C.isUndefined(j) || j === null) && t.append(
|
|
2512
2512
|
// eslint-disable-next-line no-nested-ternary
|
|
2513
|
-
a === !0 ? Gr([
|
|
2514
|
-
c(
|
|
2513
|
+
a === !0 ? Gr([h], L, i) : a === null ? h : h + "[]",
|
|
2514
|
+
c(j)
|
|
2515
2515
|
);
|
|
2516
2516
|
}), !1;
|
|
2517
2517
|
}
|
|
2518
|
-
return Rn(
|
|
2518
|
+
return Rn(f) ? !0 : (t.append(Gr(y, h, i), c(f)), !1);
|
|
2519
2519
|
}
|
|
2520
2520
|
const d = [], q = Object.assign(sA, {
|
|
2521
2521
|
defaultVisitor: l,
|
|
2522
2522
|
convertValue: c,
|
|
2523
2523
|
isVisitable: Rn
|
|
2524
2524
|
});
|
|
2525
|
-
function g(
|
|
2526
|
-
if (!C.isUndefined(
|
|
2527
|
-
if (d.indexOf(
|
|
2528
|
-
throw Error("Circular reference detected in " +
|
|
2529
|
-
d.push(
|
|
2525
|
+
function g(f, h) {
|
|
2526
|
+
if (!C.isUndefined(f)) {
|
|
2527
|
+
if (d.indexOf(f) !== -1)
|
|
2528
|
+
throw Error("Circular reference detected in " + h.join("."));
|
|
2529
|
+
d.push(f), C.forEach(f, function(K, E) {
|
|
2530
2530
|
(!(C.isUndefined(K) || K === null) && o.call(
|
|
2531
2531
|
t,
|
|
2532
2532
|
K,
|
|
2533
2533
|
C.isString(E) ? E.trim() : E,
|
|
2534
|
-
|
|
2534
|
+
h,
|
|
2535
2535
|
q
|
|
2536
|
-
)) === !0 && g(K,
|
|
2536
|
+
)) === !0 && g(K, h ? h.concat(E) : [E]);
|
|
2537
2537
|
}), d.pop();
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
@@ -2646,7 +2646,7 @@ const Hr = uA, Ro = {
|
|
|
2646
2646
|
let e;
|
|
2647
2647
|
return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
|
2648
2648
|
})(), fA = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
2649
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
2649
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Te = {
|
|
2650
2650
|
isBrowser: !0,
|
|
2651
2651
|
classes: {
|
|
2652
2652
|
URLSearchParams: cA,
|
|
@@ -2658,9 +2658,9 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
2658
2658
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
2659
2659
|
};
|
|
2660
2660
|
function hA(e, t) {
|
|
2661
|
-
return mn(e, new
|
|
2661
|
+
return mn(e, new Te.classes.URLSearchParams(), Object.assign({
|
|
2662
2662
|
visitor: function(n, r, o, i) {
|
|
2663
|
-
return
|
|
2663
|
+
return Te.isNode && C.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
2664
2664
|
}
|
|
2665
2665
|
}, t));
|
|
2666
2666
|
}
|
|
@@ -2736,7 +2736,7 @@ const ar = {
|
|
|
2736
2736
|
return JSON.parse(t);
|
|
2737
2737
|
} catch (A) {
|
|
2738
2738
|
if (a)
|
|
2739
|
-
throw A.name === "SyntaxError" ?
|
|
2739
|
+
throw A.name === "SyntaxError" ? ie.from(A, ie.ERR_BAD_RESPONSE, this, null, this.response) : A;
|
|
2740
2740
|
}
|
|
2741
2741
|
}
|
|
2742
2742
|
return t;
|
|
@@ -2751,8 +2751,8 @@ const ar = {
|
|
|
2751
2751
|
maxContentLength: -1,
|
|
2752
2752
|
maxBodyLength: -1,
|
|
2753
2753
|
env: {
|
|
2754
|
-
FormData:
|
|
2755
|
-
Blob:
|
|
2754
|
+
FormData: Te.classes.FormData,
|
|
2755
|
+
Blob: Te.classes.Blob
|
|
2756
2756
|
},
|
|
2757
2757
|
validateStatus: function(t) {
|
|
2758
2758
|
return t >= 200 && t < 300;
|
|
@@ -2963,22 +2963,22 @@ function To(e) {
|
|
|
2963
2963
|
return !!(e && e.__CANCEL__);
|
|
2964
2964
|
}
|
|
2965
2965
|
function Jt(e, t, n) {
|
|
2966
|
-
|
|
2966
|
+
ie.call(this, e ?? "canceled", ie.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
2967
2967
|
}
|
|
2968
|
-
C.inherits(Jt,
|
|
2968
|
+
C.inherits(Jt, ie, {
|
|
2969
2969
|
__CANCEL__: !0
|
|
2970
2970
|
});
|
|
2971
2971
|
function wA(e, t, n) {
|
|
2972
2972
|
const r = n.config.validateStatus;
|
|
2973
|
-
!n.status || !r || r(n.status) ? e(n) : t(new
|
|
2973
|
+
!n.status || !r || r(n.status) ? e(n) : t(new ie(
|
|
2974
2974
|
"Request failed with status code " + n.status,
|
|
2975
|
-
[
|
|
2975
|
+
[ie.ERR_BAD_REQUEST, ie.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
2976
2976
|
n.config,
|
|
2977
2977
|
n.request,
|
|
2978
2978
|
n
|
|
2979
2979
|
));
|
|
2980
2980
|
}
|
|
2981
|
-
const KA =
|
|
2981
|
+
const KA = Te.isStandardBrowserEnv ? (
|
|
2982
2982
|
// Standard browser envs support document.cookie
|
|
2983
2983
|
function() {
|
|
2984
2984
|
return {
|
|
@@ -3018,7 +3018,7 @@ function MA(e, t) {
|
|
|
3018
3018
|
function Ho(e, t) {
|
|
3019
3019
|
return e && !WA(t) ? MA(e, t) : t;
|
|
3020
3020
|
}
|
|
3021
|
-
const SA =
|
|
3021
|
+
const SA = Te.isStandardBrowserEnv ? (
|
|
3022
3022
|
// Standard browser envs have full support of the APIs needed to test
|
|
3023
3023
|
// whether the request URL is of the same origin as current location.
|
|
3024
3024
|
function() {
|
|
@@ -3097,24 +3097,24 @@ const EA = typeof XMLHttpRequest < "u", kA = EA && function(e) {
|
|
|
3097
3097
|
e.cancelToken && e.cancelToken.unsubscribe(A), e.signal && e.signal.removeEventListener("abort", A);
|
|
3098
3098
|
}
|
|
3099
3099
|
let c;
|
|
3100
|
-
C.isFormData(o) && (
|
|
3100
|
+
C.isFormData(o) && (Te.isStandardBrowserEnv || Te.isStandardBrowserWebWorkerEnv ? i.setContentType(!1) : i.getContentType(/^\s*multipart\/form-data/) ? C.isString(c = i.getContentType()) && i.setContentType(c.replace(/^\s*(multipart\/form-data);+/, "$1")) : i.setContentType("multipart/form-data"));
|
|
3101
3101
|
let l = new XMLHttpRequest();
|
|
3102
3102
|
if (e.auth) {
|
|
3103
|
-
const
|
|
3104
|
-
i.set("Authorization", "Basic " + btoa(
|
|
3103
|
+
const f = e.auth.username || "", h = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
3104
|
+
i.set("Authorization", "Basic " + btoa(f + ":" + h));
|
|
3105
3105
|
}
|
|
3106
3106
|
const d = Ho(e.baseURL, e.url);
|
|
3107
3107
|
l.open(e.method.toUpperCase(), Do(d, e.params, e.paramsSerializer), !0), l.timeout = e.timeout;
|
|
3108
3108
|
function q() {
|
|
3109
3109
|
if (!l)
|
|
3110
3110
|
return;
|
|
3111
|
-
const
|
|
3111
|
+
const f = Be.from(
|
|
3112
3112
|
"getAllResponseHeaders" in l && l.getAllResponseHeaders()
|
|
3113
|
-
),
|
|
3113
|
+
), y = {
|
|
3114
3114
|
data: !a || a === "text" || a === "json" ? l.responseText : l.response,
|
|
3115
3115
|
status: l.status,
|
|
3116
3116
|
statusText: l.statusText,
|
|
3117
|
-
headers:
|
|
3117
|
+
headers: f,
|
|
3118
3118
|
config: e,
|
|
3119
3119
|
request: l
|
|
3120
3120
|
};
|
|
@@ -3122,35 +3122,35 @@ const EA = typeof XMLHttpRequest < "u", kA = EA && function(e) {
|
|
|
3122
3122
|
n(E), m();
|
|
3123
3123
|
}, function(E) {
|
|
3124
3124
|
r(E), m();
|
|
3125
|
-
},
|
|
3125
|
+
}, y), l = null;
|
|
3126
3126
|
}
|
|
3127
3127
|
if ("onloadend" in l ? l.onloadend = q : l.onreadystatechange = function() {
|
|
3128
3128
|
!l || l.readyState !== 4 || l.status === 0 && !(l.responseURL && l.responseURL.indexOf("file:") === 0) || setTimeout(q);
|
|
3129
3129
|
}, l.onabort = function() {
|
|
3130
|
-
l && (r(new
|
|
3130
|
+
l && (r(new ie("Request aborted", ie.ECONNABORTED, e, l)), l = null);
|
|
3131
3131
|
}, l.onerror = function() {
|
|
3132
|
-
r(new
|
|
3132
|
+
r(new ie("Network Error", ie.ERR_NETWORK, e, l)), l = null;
|
|
3133
3133
|
}, l.ontimeout = function() {
|
|
3134
|
-
let
|
|
3135
|
-
const
|
|
3136
|
-
e.timeoutErrorMessage && (
|
|
3137
|
-
|
|
3138
|
-
|
|
3134
|
+
let h = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
3135
|
+
const y = e.transitional || Ro;
|
|
3136
|
+
e.timeoutErrorMessage && (h = e.timeoutErrorMessage), r(new ie(
|
|
3137
|
+
h,
|
|
3138
|
+
y.clarifyTimeoutError ? ie.ETIMEDOUT : ie.ECONNABORTED,
|
|
3139
3139
|
e,
|
|
3140
3140
|
l
|
|
3141
3141
|
)), l = null;
|
|
3142
|
-
},
|
|
3143
|
-
const
|
|
3144
|
-
|
|
3145
|
-
}
|
|
3146
|
-
o === void 0 && i.setContentType(null), "setRequestHeader" in l && C.forEach(i.toJSON(), function(
|
|
3147
|
-
l.setRequestHeader(
|
|
3148
|
-
}), C.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", Qr(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", Qr(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (
|
|
3149
|
-
l && (r(!
|
|
3142
|
+
}, Te.isStandardBrowserEnv) {
|
|
3143
|
+
const f = (e.withCredentials || SA(d)) && e.xsrfCookieName && KA.read(e.xsrfCookieName);
|
|
3144
|
+
f && i.set(e.xsrfHeaderName, f);
|
|
3145
|
+
}
|
|
3146
|
+
o === void 0 && i.setContentType(null), "setRequestHeader" in l && C.forEach(i.toJSON(), function(h, y) {
|
|
3147
|
+
l.setRequestHeader(y, h);
|
|
3148
|
+
}), C.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", Qr(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", Qr(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (f) => {
|
|
3149
|
+
l && (r(!f || f.type ? new Jt(null, e, l) : f), l.abort(), l = null);
|
|
3150
3150
|
}, e.cancelToken && e.cancelToken.subscribe(A), e.signal && (e.signal.aborted ? A() : e.signal.addEventListener("abort", A)));
|
|
3151
3151
|
const g = LA(d);
|
|
3152
|
-
if (g &&
|
|
3153
|
-
r(new
|
|
3152
|
+
if (g && Te.protocols.indexOf(g) === -1) {
|
|
3153
|
+
r(new ie("Unsupported protocol " + g + ":", ie.ERR_BAD_REQUEST, e));
|
|
3154
3154
|
return;
|
|
3155
3155
|
}
|
|
3156
3156
|
l.send(o || null);
|
|
@@ -3178,7 +3178,7 @@ const Pr = (e) => `- ${e}`, jA = (e) => C.isFunction(e) || e === null || e === !
|
|
|
3178
3178
|
n = e[i];
|
|
3179
3179
|
let a;
|
|
3180
3180
|
if (r = n, !jA(n) && (r = Gn[(a = String(n)).toLowerCase()], r === void 0))
|
|
3181
|
-
throw new
|
|
3181
|
+
throw new ie(`Unknown adapter '${a}'`);
|
|
3182
3182
|
if (r)
|
|
3183
3183
|
break;
|
|
3184
3184
|
o[a || "#" + i] = r;
|
|
@@ -3190,7 +3190,7 @@ const Pr = (e) => `- ${e}`, jA = (e) => C.isFunction(e) || e === null || e === !
|
|
|
3190
3190
|
let a = t ? i.length > 1 ? `since :
|
|
3191
3191
|
` + i.map(Pr).join(`
|
|
3192
3192
|
`) : " " + Pr(i[0]) : "as no adapter specified";
|
|
3193
|
-
throw new
|
|
3193
|
+
throw new ie(
|
|
3194
3194
|
"There is no suitable adapter to dispatch the request " + a,
|
|
3195
3195
|
"ERR_NOT_SUPPORT"
|
|
3196
3196
|
);
|
|
@@ -3300,9 +3300,9 @@ sr.transitional = function(t, n, r) {
|
|
|
3300
3300
|
}
|
|
3301
3301
|
return (i, a, A) => {
|
|
3302
3302
|
if (t === !1)
|
|
3303
|
-
throw new
|
|
3303
|
+
throw new ie(
|
|
3304
3304
|
o(a, " has been removed" + (n ? " in " + n : "")),
|
|
3305
|
-
|
|
3305
|
+
ie.ERR_DEPRECATED
|
|
3306
3306
|
);
|
|
3307
3307
|
return n && !Ur[a] && (Ur[a] = !0, console.warn(
|
|
3308
3308
|
o(
|
|
@@ -3314,7 +3314,7 @@ sr.transitional = function(t, n, r) {
|
|
|
3314
3314
|
};
|
|
3315
3315
|
function zA(e, t, n) {
|
|
3316
3316
|
if (typeof e != "object")
|
|
3317
|
-
throw new
|
|
3317
|
+
throw new ie("options must be an object", ie.ERR_BAD_OPTION_VALUE);
|
|
3318
3318
|
const r = Object.keys(e);
|
|
3319
3319
|
let o = r.length;
|
|
3320
3320
|
for (; o-- > 0; ) {
|
|
@@ -3322,11 +3322,11 @@ function zA(e, t, n) {
|
|
|
3322
3322
|
if (a) {
|
|
3323
3323
|
const A = e[i], m = A === void 0 || a(A, i, e);
|
|
3324
3324
|
if (m !== !0)
|
|
3325
|
-
throw new
|
|
3325
|
+
throw new ie("option " + i + " must be " + m, ie.ERR_BAD_OPTION_VALUE);
|
|
3326
3326
|
continue;
|
|
3327
3327
|
}
|
|
3328
3328
|
if (n !== !0)
|
|
3329
|
-
throw new
|
|
3329
|
+
throw new ie("Unknown option " + i, ie.ERR_BAD_OPTION);
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
3332
3332
|
const Tn = {
|
|
@@ -3367,41 +3367,41 @@ class en {
|
|
|
3367
3367
|
);
|
|
3368
3368
|
i && C.forEach(
|
|
3369
3369
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
3370
|
-
(
|
|
3371
|
-
delete i[
|
|
3370
|
+
(f) => {
|
|
3371
|
+
delete i[f];
|
|
3372
3372
|
}
|
|
3373
3373
|
), n.headers = Be.concat(a, i);
|
|
3374
3374
|
const A = [];
|
|
3375
3375
|
let m = !0;
|
|
3376
|
-
this.interceptors.request.forEach(function(
|
|
3377
|
-
typeof
|
|
3376
|
+
this.interceptors.request.forEach(function(h) {
|
|
3377
|
+
typeof h.runWhen == "function" && h.runWhen(n) === !1 || (m = m && h.synchronous, A.unshift(h.fulfilled, h.rejected));
|
|
3378
3378
|
});
|
|
3379
3379
|
const c = [];
|
|
3380
|
-
this.interceptors.response.forEach(function(
|
|
3381
|
-
c.push(
|
|
3380
|
+
this.interceptors.response.forEach(function(h) {
|
|
3381
|
+
c.push(h.fulfilled, h.rejected);
|
|
3382
3382
|
});
|
|
3383
3383
|
let l, d = 0, q;
|
|
3384
3384
|
if (!m) {
|
|
3385
|
-
const
|
|
3386
|
-
for (
|
|
3387
|
-
l = l.then(
|
|
3385
|
+
const f = [Vr.bind(this), void 0];
|
|
3386
|
+
for (f.unshift.apply(f, A), f.push.apply(f, c), q = f.length, l = Promise.resolve(n); d < q; )
|
|
3387
|
+
l = l.then(f[d++], f[d++]);
|
|
3388
3388
|
return l;
|
|
3389
3389
|
}
|
|
3390
3390
|
q = A.length;
|
|
3391
3391
|
let g = n;
|
|
3392
3392
|
for (d = 0; d < q; ) {
|
|
3393
|
-
const
|
|
3393
|
+
const f = A[d++], h = A[d++];
|
|
3394
3394
|
try {
|
|
3395
|
-
g =
|
|
3396
|
-
} catch (
|
|
3397
|
-
|
|
3395
|
+
g = f(g);
|
|
3396
|
+
} catch (y) {
|
|
3397
|
+
h.call(this, y);
|
|
3398
3398
|
break;
|
|
3399
3399
|
}
|
|
3400
3400
|
}
|
|
3401
3401
|
try {
|
|
3402
3402
|
l = Vr.call(this, g);
|
|
3403
|
-
} catch (
|
|
3404
|
-
return Promise.reject(
|
|
3403
|
+
} catch (f) {
|
|
3404
|
+
return Promise.reject(f);
|
|
3405
3405
|
}
|
|
3406
3406
|
for (d = 0, q = c.length; d < q; )
|
|
3407
3407
|
l = l.then(c[d++], c[d++]);
|
|
@@ -3590,27 +3590,27 @@ function Po(e) {
|
|
|
3590
3590
|
return Po(gt(e, o));
|
|
3591
3591
|
}, n;
|
|
3592
3592
|
}
|
|
3593
|
-
const
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3593
|
+
const qe = Po(Ar);
|
|
3594
|
+
qe.Axios = Ft;
|
|
3595
|
+
qe.CanceledError = Jt;
|
|
3596
|
+
qe.CancelToken = YA;
|
|
3597
|
+
qe.isCancel = To;
|
|
3598
|
+
qe.VERSION = Qo;
|
|
3599
|
+
qe.toFormData = mn;
|
|
3600
|
+
qe.AxiosError = ie;
|
|
3601
|
+
qe.Cancel = qe.CanceledError;
|
|
3602
|
+
qe.all = function(t) {
|
|
3603
3603
|
return Promise.all(t);
|
|
3604
3604
|
};
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
const RA =
|
|
3605
|
+
qe.spread = JA;
|
|
3606
|
+
qe.isAxiosError = NA;
|
|
3607
|
+
qe.mergeConfig = gt;
|
|
3608
|
+
qe.AxiosHeaders = Be;
|
|
3609
|
+
qe.formToJSON = (e) => Go(C.isHTMLForm(e) ? new FormData(e) : e);
|
|
3610
|
+
qe.getAdapter = Xo.getAdapter;
|
|
3611
|
+
qe.HttpStatusCode = DA;
|
|
3612
|
+
qe.default = qe;
|
|
3613
|
+
const RA = qe;
|
|
3614
3614
|
/*! typescript-cookie v1.0.6 | MIT */
|
|
3615
3615
|
const Vo = (e) => encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape), Bo = (e) => encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent), ur = decodeURIComponent, cr = (e) => (e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent));
|
|
3616
3616
|
function GA(e) {
|
|
@@ -3681,22 +3681,22 @@ function Xn(e, t) {
|
|
|
3681
3681
|
Xn({ read: Fr.decodeValue, write: Fr.encodeValue }, mr);
|
|
3682
3682
|
let $o;
|
|
3683
3683
|
typeof window < "u" && ($o = _o("token"));
|
|
3684
|
-
const
|
|
3684
|
+
const ye = RA.create({
|
|
3685
3685
|
headers: {
|
|
3686
3686
|
Authorization: $o
|
|
3687
3687
|
}
|
|
3688
3688
|
});
|
|
3689
3689
|
async function XA(e, t, n) {
|
|
3690
|
-
return (await
|
|
3690
|
+
return (await ye.post(n + "/createFlexVersionLinkMulti", {
|
|
3691
3691
|
_id: e,
|
|
3692
3692
|
networks: t
|
|
3693
3693
|
})).data;
|
|
3694
3694
|
}
|
|
3695
3695
|
async function QA(e, t) {
|
|
3696
|
-
return e.network == "fb" && (e.zip = 1), (await
|
|
3696
|
+
return e.network == "fb" && (e.zip = 1), (await ye.post(t + "/createFlexVersionLink", e || {})).data;
|
|
3697
3697
|
}
|
|
3698
3698
|
async function PA(e, t, n) {
|
|
3699
|
-
return (await
|
|
3699
|
+
return (await ye.post(e + "/createImportedVersionLink", {
|
|
3700
3700
|
_id: t,
|
|
3701
3701
|
network: n
|
|
3702
3702
|
// zip,
|
|
@@ -3704,7 +3704,7 @@ async function PA(e, t, n) {
|
|
|
3704
3704
|
})).data;
|
|
3705
3705
|
}
|
|
3706
3706
|
async function VA(e, t, n, r, o) {
|
|
3707
|
-
return (await
|
|
3707
|
+
return (await ye.post(e + "/createPlayableVersionLink", {
|
|
3708
3708
|
_id: t,
|
|
3709
3709
|
network: n,
|
|
3710
3710
|
isPfTest: r,
|
|
@@ -3712,13 +3712,13 @@ async function VA(e, t, n, r, o) {
|
|
|
3712
3712
|
})).data;
|
|
3713
3713
|
}
|
|
3714
3714
|
async function BA(e, t, n) {
|
|
3715
|
-
return (await
|
|
3715
|
+
return (await ye.post(n + "/createPlayableVersionLinkMulti", {
|
|
3716
3716
|
_id: e,
|
|
3717
3717
|
networks: t
|
|
3718
3718
|
})).data;
|
|
3719
3719
|
}
|
|
3720
3720
|
async function UA(e, t, n, r, o) {
|
|
3721
|
-
return (await
|
|
3721
|
+
return (await ye.post(e + "/createReadyVersionLink", {
|
|
3722
3722
|
_id: t,
|
|
3723
3723
|
network: n,
|
|
3724
3724
|
isPfTest: r,
|
|
@@ -3726,19 +3726,19 @@ async function UA(e, t, n, r, o) {
|
|
|
3726
3726
|
})).data;
|
|
3727
3727
|
}
|
|
3728
3728
|
async function FA(e, t, n) {
|
|
3729
|
-
return (await
|
|
3729
|
+
return (await ye.post(n + "/createReadyVersionLinkMulti", {
|
|
3730
3730
|
_id: e,
|
|
3731
3731
|
networks: t
|
|
3732
3732
|
})).data;
|
|
3733
3733
|
}
|
|
3734
3734
|
async function _A(e, t) {
|
|
3735
|
-
return (await
|
|
3735
|
+
return (await ye.post(t + "/getCdnExportName", e || {})).data;
|
|
3736
3736
|
}
|
|
3737
3737
|
async function $A(e, t) {
|
|
3738
|
-
return (await
|
|
3738
|
+
return (await ye.post(t + "/updateFlexUrl", e || {})).data;
|
|
3739
3739
|
}
|
|
3740
3740
|
async function _r(e, t, n) {
|
|
3741
|
-
return (await
|
|
3741
|
+
return (await ye.post(n + "/updatePlayableVersion", {
|
|
3742
3742
|
...t,
|
|
3743
3743
|
_id: e
|
|
3744
3744
|
})).data;
|
|
@@ -3770,7 +3770,7 @@ function _e() {
|
|
|
3770
3770
|
(e = arguments[n++]) && (t = ei(e)) && (r && (r += " "), r += t);
|
|
3771
3771
|
return r;
|
|
3772
3772
|
}
|
|
3773
|
-
const Wt = (e) => typeof e == "number" && !isNaN(e), st = (e) => typeof e == "string",
|
|
3773
|
+
const Wt = (e) => typeof e == "number" && !isNaN(e), st = (e) => typeof e == "string", we = (e) => typeof e == "function", _t = (e) => st(e) || we(e) ? e : null, On = (e) => ht(e) || st(e) || we(e) || Wt(e);
|
|
3774
3774
|
function es(e, t, n) {
|
|
3775
3775
|
n === void 0 && (n = 300);
|
|
3776
3776
|
const { scrollHeight: r, style: o } = e;
|
|
@@ -3784,24 +3784,24 @@ function pn(e) {
|
|
|
3784
3784
|
let { enter: t, exit: n, appendPosition: r = !1, collapse: o = !0, collapseDuration: i = 300 } = e;
|
|
3785
3785
|
return function(a) {
|
|
3786
3786
|
let { children: A, position: m, preventExitTransition: c, done: l, nodeRef: d, isIn: q } = a;
|
|
3787
|
-
const g = r ? `${t}--${m}` : t,
|
|
3787
|
+
const g = r ? `${t}--${m}` : t, f = r ? `${n}--${m}` : n, h = ot(0);
|
|
3788
3788
|
return zi(() => {
|
|
3789
|
-
const
|
|
3790
|
-
|
|
3789
|
+
const y = d.current, K = g.split(" "), E = (j) => {
|
|
3790
|
+
j.target === d.current && (y.dispatchEvent(new Event("d")), y.removeEventListener("animationend", E), y.removeEventListener("animationcancel", E), h.current === 0 && j.type !== "animationcancel" && y.classList.remove(...K));
|
|
3791
3791
|
};
|
|
3792
|
-
|
|
3793
|
-
}, []),
|
|
3794
|
-
const
|
|
3795
|
-
|
|
3792
|
+
y.classList.add(...K), y.addEventListener("animationend", E), y.addEventListener("animationcancel", E);
|
|
3793
|
+
}, []), ve(() => {
|
|
3794
|
+
const y = d.current, K = () => {
|
|
3795
|
+
y.removeEventListener("animationend", K), o ? es(y, l, i) : l();
|
|
3796
3796
|
};
|
|
3797
|
-
q || (c ? K() : (
|
|
3798
|
-
}, [q]),
|
|
3797
|
+
q || (c ? K() : (h.current = 1, y.className += ` ${f}`, y.addEventListener("animationend", K)));
|
|
3798
|
+
}, [q]), se.createElement(se.Fragment, null, A);
|
|
3799
3799
|
};
|
|
3800
3800
|
}
|
|
3801
3801
|
function $r(e, t) {
|
|
3802
3802
|
return e != null ? { content: e.content, containerId: e.props.containerId, id: e.props.toastId, theme: e.props.theme, type: e.props.type, data: e.props.data || {}, isLoading: e.props.isLoading, icon: e.props.icon, status: t } : {};
|
|
3803
3803
|
}
|
|
3804
|
-
const
|
|
3804
|
+
const Ee = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map(), on(e, t) {
|
|
3805
3805
|
return this.list.has(e) || this.list.set(e, []), this.list.get(e).push(t), this;
|
|
3806
3806
|
}, off(e, t) {
|
|
3807
3807
|
if (t) {
|
|
@@ -3821,87 +3821,87 @@ const Le = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
3821
3821
|
});
|
|
3822
3822
|
} }, Ht = (e) => {
|
|
3823
3823
|
let { theme: t, type: n, ...r } = e;
|
|
3824
|
-
return
|
|
3824
|
+
return se.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...r });
|
|
3825
3825
|
}, En = { info: function(e) {
|
|
3826
|
-
return
|
|
3826
|
+
return se.createElement(Ht, { ...e }, se.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
|
|
3827
3827
|
}, warning: function(e) {
|
|
3828
|
-
return
|
|
3828
|
+
return se.createElement(Ht, { ...e }, se.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
|
|
3829
3829
|
}, success: function(e) {
|
|
3830
|
-
return
|
|
3830
|
+
return se.createElement(Ht, { ...e }, se.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
|
|
3831
3831
|
}, error: function(e) {
|
|
3832
|
-
return
|
|
3832
|
+
return se.createElement(Ht, { ...e }, se.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
|
|
3833
3833
|
}, spinner: function() {
|
|
3834
|
-
return
|
|
3834
|
+
return se.createElement("div", { className: "Toastify__spinner" });
|
|
3835
3835
|
} };
|
|
3836
3836
|
function ts(e) {
|
|
3837
|
-
const [, t] = ji((g) => g + 1, 0), [n, r] =
|
|
3837
|
+
const [, t] = ji((g) => g + 1, 0), [n, r] = Q([]), o = ot(null), i = ot(/* @__PURE__ */ new Map()).current, a = (g) => n.indexOf(g) !== -1, A = ot({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (g) => i.get(g) }).current;
|
|
3838
3838
|
function m(g) {
|
|
3839
|
-
let { containerId:
|
|
3840
|
-
const { limit:
|
|
3841
|
-
!
|
|
3839
|
+
let { containerId: f } = g;
|
|
3840
|
+
const { limit: h } = A.props;
|
|
3841
|
+
!h || f && A.containerId !== f || (A.count -= A.queue.length, A.queue = []);
|
|
3842
3842
|
}
|
|
3843
3843
|
function c(g) {
|
|
3844
|
-
r((
|
|
3844
|
+
r((f) => g == null ? [] : f.filter((h) => h !== g));
|
|
3845
3845
|
}
|
|
3846
3846
|
function l() {
|
|
3847
|
-
const { toastContent: g, toastProps:
|
|
3848
|
-
q(g,
|
|
3847
|
+
const { toastContent: g, toastProps: f, staleId: h } = A.queue.shift();
|
|
3848
|
+
q(g, f, h);
|
|
3849
3849
|
}
|
|
3850
|
-
function d(g,
|
|
3851
|
-
let { delay:
|
|
3852
|
-
if (!On(g) || function(
|
|
3853
|
-
return !o.current || A.props.enableMultiContainer &&
|
|
3850
|
+
function d(g, f) {
|
|
3851
|
+
let { delay: h, staleId: y, ...K } = f;
|
|
3852
|
+
if (!On(g) || function(_) {
|
|
3853
|
+
return !o.current || A.props.enableMultiContainer && _.containerId !== A.props.containerId || i.has(_.toastId) && _.updateId == null;
|
|
3854
3854
|
}(K))
|
|
3855
3855
|
return;
|
|
3856
|
-
const { toastId: E, updateId:
|
|
3857
|
-
|
|
3858
|
-
const
|
|
3859
|
-
let [
|
|
3856
|
+
const { toastId: E, updateId: j, data: L } = K, { props: v } = A, V = () => c(E), U = j == null;
|
|
3857
|
+
U && A.count++;
|
|
3858
|
+
const re = { ...v, style: v.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(K).filter((_) => {
|
|
3859
|
+
let [$, W] = _;
|
|
3860
3860
|
return W != null;
|
|
3861
|
-
})), toastId: E, updateId:
|
|
3862
|
-
const
|
|
3863
|
-
i.delete(E),
|
|
3864
|
-
const
|
|
3865
|
-
if (A.count = E == null ? A.count - A.displayedToast : A.count - 1, A.count < 0 && (A.count = 0),
|
|
3861
|
+
})), toastId: E, updateId: j, data: L, closeToast: V, isIn: !1, className: _t(K.className || v.toastClassName), bodyClassName: _t(K.bodyClassName || v.bodyClassName), progressClassName: _t(K.progressClassName || v.progressClassName), autoClose: !K.isLoading && (me = K.autoClose, ee = v.autoClose, me === !1 || Wt(me) && me > 0 ? me : ee), deleteToast() {
|
|
3862
|
+
const _ = $r(i.get(E), "removed");
|
|
3863
|
+
i.delete(E), Ee.emit(4, _);
|
|
3864
|
+
const $ = A.queue.length;
|
|
3865
|
+
if (A.count = E == null ? A.count - A.displayedToast : A.count - 1, A.count < 0 && (A.count = 0), $ > 0) {
|
|
3866
3866
|
const W = E == null ? A.props.limit : 1;
|
|
3867
|
-
if (
|
|
3867
|
+
if ($ === 1 || W === 1)
|
|
3868
3868
|
A.displayedToast++, l();
|
|
3869
3869
|
else {
|
|
3870
|
-
const
|
|
3871
|
-
A.displayedToast =
|
|
3872
|
-
for (let
|
|
3870
|
+
const M = W > $ ? $ : W;
|
|
3871
|
+
A.displayedToast = M;
|
|
3872
|
+
for (let J = 0; J < M; J++)
|
|
3873
3873
|
l();
|
|
3874
3874
|
}
|
|
3875
3875
|
} else
|
|
3876
3876
|
t();
|
|
3877
3877
|
} };
|
|
3878
|
-
var
|
|
3879
|
-
|
|
3880
|
-
let { theme:
|
|
3881
|
-
const
|
|
3882
|
-
return
|
|
3883
|
-
}(
|
|
3884
|
-
let
|
|
3885
|
-
ht(g) && !st(g.type) ?
|
|
3886
|
-
q(
|
|
3887
|
-
},
|
|
3888
|
-
}
|
|
3889
|
-
function q(g,
|
|
3890
|
-
const { toastId:
|
|
3891
|
-
|
|
3892
|
-
const K = { content: g, props:
|
|
3893
|
-
i.set(
|
|
3894
|
-
}
|
|
3895
|
-
return
|
|
3896
|
-
i.clear(),
|
|
3897
|
-
}), []),
|
|
3878
|
+
var me, ee;
|
|
3879
|
+
re.iconOut = function(_) {
|
|
3880
|
+
let { theme: $, type: W, isLoading: M, icon: J } = _, p = null;
|
|
3881
|
+
const O = { theme: $, type: W };
|
|
3882
|
+
return J === !1 || (we(J) ? p = J(O) : ht(J) ? p = Yn(J, O) : st(J) || Wt(J) ? p = J : M ? p = En.spinner() : ((T) => T in En)(W) && (p = En[W](O))), p;
|
|
3883
|
+
}(re), we(K.onOpen) && (re.onOpen = K.onOpen), we(K.onClose) && (re.onClose = K.onClose), re.closeButton = v.closeButton, K.closeButton === !1 || On(K.closeButton) ? re.closeButton = K.closeButton : K.closeButton === !0 && (re.closeButton = !On(v.closeButton) || v.closeButton);
|
|
3884
|
+
let ce = g;
|
|
3885
|
+
ht(g) && !st(g.type) ? ce = Yn(g, { closeToast: V, toastProps: re, data: L }) : we(g) && (ce = g({ closeToast: V, toastProps: re, data: L })), v.limit && v.limit > 0 && A.count > v.limit && U ? A.queue.push({ toastContent: ce, toastProps: re, staleId: y }) : Wt(h) ? setTimeout(() => {
|
|
3886
|
+
q(ce, re, y);
|
|
3887
|
+
}, h) : q(ce, re, y);
|
|
3888
|
+
}
|
|
3889
|
+
function q(g, f, h) {
|
|
3890
|
+
const { toastId: y } = f;
|
|
3891
|
+
h && i.delete(h);
|
|
3892
|
+
const K = { content: g, props: f };
|
|
3893
|
+
i.set(y, K), r((E) => [...E, y].filter((j) => j !== h)), Ee.emit(4, $r(K, K.props.updateId == null ? "added" : "updated"));
|
|
3894
|
+
}
|
|
3895
|
+
return ve(() => (A.containerId = e.containerId, Ee.cancelEmit(3).on(0, d).on(1, (g) => o.current && c(g)).on(5, m).emit(2, A), () => {
|
|
3896
|
+
i.clear(), Ee.emit(3, A);
|
|
3897
|
+
}), []), ve(() => {
|
|
3898
3898
|
A.props = e, A.isToastActive = a, A.displayedToast = n.length;
|
|
3899
3899
|
}), { getToastToRender: function(g) {
|
|
3900
|
-
const
|
|
3901
|
-
return e.newestOnTop &&
|
|
3902
|
-
const { position: K } =
|
|
3903
|
-
|
|
3904
|
-
}), Array.from(
|
|
3900
|
+
const f = /* @__PURE__ */ new Map(), h = Array.from(i.values());
|
|
3901
|
+
return e.newestOnTop && h.reverse(), h.forEach((y) => {
|
|
3902
|
+
const { position: K } = y.props;
|
|
3903
|
+
f.has(K) || f.set(K, []), f.get(K).push(y);
|
|
3904
|
+
}), Array.from(f, (y) => g(y[0], y[1]));
|
|
3905
3905
|
}, containerRef: o, isToastActive: a };
|
|
3906
3906
|
}
|
|
3907
3907
|
function eo(e) {
|
|
@@ -3911,71 +3911,71 @@ function to(e) {
|
|
|
3911
3911
|
return e.targetTouches && e.targetTouches.length >= 1 ? e.targetTouches[0].clientY : e.clientY;
|
|
3912
3912
|
}
|
|
3913
3913
|
function ns(e) {
|
|
3914
|
-
const [t, n] =
|
|
3915
|
-
function g(
|
|
3914
|
+
const [t, n] = Q(!1), [r, o] = Q(!1), i = ot(null), a = ot({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = ot(e), { autoClose: m, pauseOnHover: c, closeToast: l, onClick: d, closeOnClick: q } = e;
|
|
3915
|
+
function g(L) {
|
|
3916
3916
|
if (e.draggable) {
|
|
3917
|
-
|
|
3918
|
-
const
|
|
3919
|
-
a.canCloseOnClick = !0, a.canDrag = !0, a.boundingRect =
|
|
3917
|
+
L.nativeEvent.type === "touchstart" && L.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", K), document.addEventListener("mouseup", E), document.addEventListener("touchmove", K), document.addEventListener("touchend", E);
|
|
3918
|
+
const v = i.current;
|
|
3919
|
+
a.canCloseOnClick = !0, a.canDrag = !0, a.boundingRect = v.getBoundingClientRect(), v.style.transition = "", a.x = eo(L.nativeEvent), a.y = to(L.nativeEvent), e.draggableDirection === "x" ? (a.start = a.x, a.removalDistance = v.offsetWidth * (e.draggablePercent / 100)) : (a.start = a.y, a.removalDistance = v.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent / 100));
|
|
3920
3920
|
}
|
|
3921
3921
|
}
|
|
3922
|
-
function
|
|
3922
|
+
function f(L) {
|
|
3923
3923
|
if (a.boundingRect) {
|
|
3924
|
-
const { top:
|
|
3925
|
-
|
|
3924
|
+
const { top: v, bottom: V, left: U, right: re } = a.boundingRect;
|
|
3925
|
+
L.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= U && a.x <= re && a.y >= v && a.y <= V ? y() : h();
|
|
3926
3926
|
}
|
|
3927
3927
|
}
|
|
3928
|
-
function
|
|
3928
|
+
function h() {
|
|
3929
3929
|
n(!0);
|
|
3930
3930
|
}
|
|
3931
|
-
function
|
|
3931
|
+
function y() {
|
|
3932
3932
|
n(!1);
|
|
3933
3933
|
}
|
|
3934
|
-
function K(
|
|
3935
|
-
const
|
|
3936
|
-
a.canDrag &&
|
|
3934
|
+
function K(L) {
|
|
3935
|
+
const v = i.current;
|
|
3936
|
+
a.canDrag && v && (a.didMove = !0, t && y(), a.x = eo(L), a.y = to(L), a.delta = e.draggableDirection === "x" ? a.x - a.start : a.y - a.start, a.start !== a.x && (a.canCloseOnClick = !1), v.style.transform = `translate${e.draggableDirection}(${a.delta}px)`, v.style.opacity = "" + (1 - Math.abs(a.delta / a.removalDistance)));
|
|
3937
3937
|
}
|
|
3938
3938
|
function E() {
|
|
3939
3939
|
document.removeEventListener("mousemove", K), document.removeEventListener("mouseup", E), document.removeEventListener("touchmove", K), document.removeEventListener("touchend", E);
|
|
3940
|
-
const
|
|
3941
|
-
if (a.canDrag && a.didMove &&
|
|
3940
|
+
const L = i.current;
|
|
3941
|
+
if (a.canDrag && a.didMove && L) {
|
|
3942
3942
|
if (a.canDrag = !1, Math.abs(a.delta) > a.removalDistance)
|
|
3943
3943
|
return o(!0), void e.closeToast();
|
|
3944
|
-
|
|
3944
|
+
L.style.transition = "transform 0.2s, opacity 0.2s", L.style.transform = `translate${e.draggableDirection}(0)`, L.style.opacity = "1";
|
|
3945
3945
|
}
|
|
3946
3946
|
}
|
|
3947
|
-
|
|
3947
|
+
ve(() => {
|
|
3948
3948
|
A.current = e;
|
|
3949
|
-
}),
|
|
3950
|
-
const
|
|
3951
|
-
|
|
3952
|
-
}), []),
|
|
3953
|
-
e.pauseOnFocusLoss && (window.removeEventListener("focus",
|
|
3949
|
+
}), ve(() => (i.current && i.current.addEventListener("d", h, { once: !0 }), we(e.onOpen) && e.onOpen(ht(e.children) && e.children.props), () => {
|
|
3950
|
+
const L = A.current;
|
|
3951
|
+
we(L.onClose) && L.onClose(ht(L.children) && L.children.props);
|
|
3952
|
+
}), []), ve(() => (e.pauseOnFocusLoss && (document.hasFocus() || y(), window.addEventListener("focus", h), window.addEventListener("blur", y)), () => {
|
|
3953
|
+
e.pauseOnFocusLoss && (window.removeEventListener("focus", h), window.removeEventListener("blur", y));
|
|
3954
3954
|
}), [e.pauseOnFocusLoss]);
|
|
3955
|
-
const
|
|
3956
|
-
return m && c && (
|
|
3957
|
-
d && d(
|
|
3958
|
-
}), { playToast:
|
|
3955
|
+
const j = { onMouseDown: g, onTouchStart: g, onMouseUp: f, onTouchEnd: f };
|
|
3956
|
+
return m && c && (j.onMouseEnter = y, j.onMouseLeave = h), q && (j.onClick = (L) => {
|
|
3957
|
+
d && d(L), a.canCloseOnClick && l();
|
|
3958
|
+
}), { playToast: h, pauseToast: y, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: j };
|
|
3959
3959
|
}
|
|
3960
3960
|
function ti(e) {
|
|
3961
3961
|
let { closeToast: t, theme: n, ariaLabel: r = "close" } = e;
|
|
3962
|
-
return
|
|
3962
|
+
return se.createElement("button", { className: `Toastify__close-button Toastify__close-button--${n}`, type: "button", onClick: (o) => {
|
|
3963
3963
|
o.stopPropagation(), t(o);
|
|
3964
|
-
}, "aria-label": r },
|
|
3964
|
+
}, "aria-label": r }, se.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, se.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
3965
3965
|
}
|
|
3966
3966
|
function rs(e) {
|
|
3967
3967
|
let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: m, progress: c, rtl: l, isIn: d, theme: q } = e;
|
|
3968
|
-
const g = i || m && c === 0,
|
|
3969
|
-
m && (
|
|
3970
|
-
const
|
|
3971
|
-
return
|
|
3968
|
+
const g = i || m && c === 0, f = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: g ? 0 : 1 };
|
|
3969
|
+
m && (f.transform = `scaleX(${c})`);
|
|
3970
|
+
const h = _e("Toastify__progress-bar", m ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${q}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": l }), y = we(a) ? a({ rtl: l, type: o, defaultClassName: h }) : _e(h, a);
|
|
3971
|
+
return se.createElement("div", { role: "progressbar", "aria-hidden": g ? "true" : "false", "aria-label": "notification timer", className: y, style: f, [m && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: m && c < 1 ? null : () => {
|
|
3972
3972
|
d && r();
|
|
3973
3973
|
} });
|
|
3974
3974
|
}
|
|
3975
3975
|
const os = (e) => {
|
|
3976
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = ns(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: l, closeToast: d, transition: q, position: g, className:
|
|
3976
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = ns(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: l, closeToast: d, transition: q, position: g, className: f, style: h, bodyClassName: y, bodyStyle: K, progressClassName: E, progressStyle: j, updateId: L, role: v, progress: V, rtl: U, toastId: re, deleteToast: me, isIn: ee, isLoading: ce, iconOut: _, closeOnClick: $, theme: W } = e, M = _e("Toastify__toast", `Toastify__toast-theme--${W}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": U }, { "Toastify__toast--close-on-click": $ }), J = we(f) ? f({ rtl: U, position: g, type: c, defaultClassName: M }) : _e(M, f), p = !!V || !A, O = { closeToast: d, type: c, theme: W };
|
|
3977
3977
|
let T = null;
|
|
3978
|
-
return i === !1 || (T =
|
|
3978
|
+
return i === !1 || (T = we(i) ? i(O) : ht(i) ? Yn(i, O) : ti(O)), se.createElement(q, { isIn: ee, done: me, position: g, preventExitTransition: n, nodeRef: r }, se.createElement("div", { id: re, onClick: m, className: J, ...o, style: h, ref: r }, se.createElement("div", { ...ee && { role: v }, className: we(y) ? y({ type: c }) : _e("Toastify__toast-body", y), style: K }, _ != null && se.createElement("div", { className: _e("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ce }) }, _), se.createElement("div", null, a)), T, se.createElement(rs, { ...L && !p ? { key: `pb-${L}` } : {}, rtl: U, theme: W, delay: A, isRunning: t, isIn: ee, closeToast: d, hide: l, type: c, style: j, className: E, controlledProgress: p, progress: V || 0 })));
|
|
3979
3979
|
}, fn = function(e, t) {
|
|
3980
3980
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3981
3981
|
}, is = pn(fn("bounce", !0));
|
|
@@ -3986,15 +3986,15 @@ const Qn = ki((e, t) => {
|
|
|
3986
3986
|
const { getToastToRender: n, containerRef: r, isToastActive: o } = ts(e), { className: i, style: a, rtl: A, containerId: m } = e;
|
|
3987
3987
|
function c(l) {
|
|
3988
3988
|
const d = _e("Toastify__toast-container", `Toastify__toast-container--${l}`, { "Toastify__toast-container--rtl": A });
|
|
3989
|
-
return
|
|
3989
|
+
return we(i) ? i({ position: l, rtl: A, defaultClassName: d }) : _e(d, _t(i));
|
|
3990
3990
|
}
|
|
3991
|
-
return
|
|
3991
|
+
return ve(() => {
|
|
3992
3992
|
t && (t.current = r.current);
|
|
3993
|
-
}, []),
|
|
3993
|
+
}, []), se.createElement("div", { ref: r, className: "Toastify", id: m }, n((l, d) => {
|
|
3994
3994
|
const q = d.length ? { ...a } : { ...a, pointerEvents: "none" };
|
|
3995
|
-
return
|
|
3996
|
-
let { content:
|
|
3997
|
-
return
|
|
3995
|
+
return se.createElement("div", { className: c(l), style: q, key: `container-${l}` }, d.map((g, f) => {
|
|
3996
|
+
let { content: h, props: y } = g;
|
|
3997
|
+
return se.createElement(os, { ...y, isIn: o(y.toastId), style: { ...y.style, "--nth": f + 1, "--len": d.length }, key: `toast-${y.key}` }, h);
|
|
3998
3998
|
}));
|
|
3999
3999
|
}));
|
|
4000
4000
|
});
|
|
@@ -4007,7 +4007,7 @@ function As(e) {
|
|
|
4007
4007
|
return e && (st(e.toastId) || Wt(e.toastId)) ? e.toastId : ni();
|
|
4008
4008
|
}
|
|
4009
4009
|
function Mt(e, t) {
|
|
4010
|
-
return nt.size > 0 ?
|
|
4010
|
+
return nt.size > 0 ? Ee.emit(0, e, t) : Kt.push({ content: e, options: t }), t.toastId;
|
|
4011
4011
|
}
|
|
4012
4012
|
function tn(e, t) {
|
|
4013
4013
|
return { ...t, type: t && t.type || e, toastId: As(t) };
|
|
@@ -4024,14 +4024,14 @@ pe.loading = (e, t) => Mt(e, tn("default", { isLoading: !0, autoClose: !1, close
|
|
|
4024
4024
|
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, m = (l, d, q) => {
|
|
4025
4025
|
if (d == null)
|
|
4026
4026
|
return void pe.dismiss(r);
|
|
4027
|
-
const g = { type: l, ...A, ...n, data: q },
|
|
4028
|
-
return r ? pe.update(r, { ...g, ...
|
|
4029
|
-
}, c =
|
|
4027
|
+
const g = { type: l, ...A, ...n, data: q }, f = st(d) ? { render: d } : d;
|
|
4028
|
+
return r ? pe.update(r, { ...g, ...f }) : pe(f.render, { ...g, ...f }), q;
|
|
4029
|
+
}, c = we(e) ? e() : e;
|
|
4030
4030
|
return c.then((l) => m("success", a, l)).catch((l) => m("error", i, l)), c;
|
|
4031
4031
|
}, pe.success = Xt("success"), pe.info = Xt("info"), pe.error = Xt("error"), pe.warning = Xt("warning"), pe.warn = pe.warning, pe.dark = (e, t) => Mt(e, tn("default", { theme: "dark", ...t })), pe.dismiss = (e) => {
|
|
4032
|
-
nt.size > 0 ?
|
|
4032
|
+
nt.size > 0 ? Ee.emit(1, e) : Kt = Kt.filter((t) => e != null && t.options.toastId !== e);
|
|
4033
4033
|
}, pe.clearWaitingQueue = function(e) {
|
|
4034
|
-
return e === void 0 && (e = {}),
|
|
4034
|
+
return e === void 0 && (e = {}), Ee.emit(5, e);
|
|
4035
4035
|
}, pe.isActive = (e) => {
|
|
4036
4036
|
let t = !1;
|
|
4037
4037
|
return nt.forEach((n) => {
|
|
@@ -4053,14 +4053,14 @@ pe.loading = (e, t) => Mt(e, tn("default", { isLoading: !0, autoClose: !1, close
|
|
|
4053
4053
|
}, 0);
|
|
4054
4054
|
}, pe.done = (e) => {
|
|
4055
4055
|
pe.update(e, { progress: 1 });
|
|
4056
|
-
}, pe.onChange = (e) => (
|
|
4057
|
-
|
|
4058
|
-
}), pe.POSITION = { TOP_LEFT: "top-left", TOP_RIGHT: "top-right", TOP_CENTER: "top-center", BOTTOM_LEFT: "bottom-left", BOTTOM_RIGHT: "bottom-right", BOTTOM_CENTER: "bottom-center" }, pe.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" },
|
|
4056
|
+
}, pe.onChange = (e) => (Ee.on(4, e), () => {
|
|
4057
|
+
Ee.off(4, e);
|
|
4058
|
+
}), pe.POSITION = { TOP_LEFT: "top-left", TOP_RIGHT: "top-right", TOP_CENTER: "top-center", BOTTOM_LEFT: "bottom-left", BOTTOM_RIGHT: "bottom-right", BOTTOM_CENTER: "bottom-center" }, pe.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, Ee.on(2, (e) => {
|
|
4059
4059
|
kn = e.containerId || e, nt.set(kn, e), Kt.forEach((t) => {
|
|
4060
|
-
|
|
4060
|
+
Ee.emit(0, t.content, t.options);
|
|
4061
4061
|
}), Kt = [];
|
|
4062
4062
|
}).on(3, (e) => {
|
|
4063
|
-
nt.delete(e.containerId || e), nt.size === 0 &&
|
|
4063
|
+
nt.delete(e.containerId || e), nt.size === 0 && Ee.off(0).off(1).off(5);
|
|
4064
4064
|
});
|
|
4065
4065
|
function yt(e) {
|
|
4066
4066
|
pe.success(e, {
|
|
@@ -4074,23 +4074,23 @@ function yt(e) {
|
|
|
4074
4074
|
theme: "light"
|
|
4075
4075
|
});
|
|
4076
4076
|
}
|
|
4077
|
-
let dr = "",
|
|
4077
|
+
let dr = "", He = "Playable", ke = null, ri = null;
|
|
4078
4078
|
const pr = async (e, t, n) => {
|
|
4079
|
-
|
|
4079
|
+
He === "Playable" ? t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && await _r(
|
|
4080
4080
|
e,
|
|
4081
4081
|
{ iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
|
|
4082
|
-
|
|
4083
|
-
) :
|
|
4082
|
+
ke
|
|
4083
|
+
) : He === "Flex" ? t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && await $A(
|
|
4084
4084
|
{
|
|
4085
4085
|
_id: e,
|
|
4086
4086
|
iosLink: t == null ? void 0 : t.iosUrl,
|
|
4087
4087
|
androidLink: t == null ? void 0 : t.googleUrl
|
|
4088
4088
|
},
|
|
4089
|
-
|
|
4090
|
-
) :
|
|
4089
|
+
ke
|
|
4090
|
+
) : He === "Ready" && t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && ((n == null ? void 0 : n.urlType) === "single" && (t.googleUrl = t.iosUrl), await _r(
|
|
4091
4091
|
e,
|
|
4092
4092
|
{ iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
|
|
4093
|
-
|
|
4093
|
+
ke
|
|
4094
4094
|
));
|
|
4095
4095
|
}, $t = async (e) => {
|
|
4096
4096
|
let t = dr + "/" + e, n = e;
|
|
@@ -4114,19 +4114,19 @@ async function Ot(e, t, n, r = "download", o = !1, i = null) {
|
|
|
4114
4114
|
} catch (c) {
|
|
4115
4115
|
console.log("updateUrls error", c);
|
|
4116
4116
|
}
|
|
4117
|
-
|
|
4117
|
+
He === "Playable" ? VA(ke, e, t, o, i).then(async (c) => {
|
|
4118
4118
|
let { url: l } = c;
|
|
4119
4119
|
await m(l), a(c);
|
|
4120
4120
|
}).catch((c) => {
|
|
4121
4121
|
let l = c.response.data.error.msg;
|
|
4122
4122
|
A({ message: l });
|
|
4123
|
-
}) :
|
|
4123
|
+
}) : He === "Flex" ? QA(
|
|
4124
4124
|
{
|
|
4125
4125
|
_id: e,
|
|
4126
4126
|
network: t,
|
|
4127
4127
|
extras: i
|
|
4128
4128
|
},
|
|
4129
|
-
|
|
4129
|
+
ke
|
|
4130
4130
|
).then(async (c) => {
|
|
4131
4131
|
if (c.message) {
|
|
4132
4132
|
A(c);
|
|
@@ -4137,13 +4137,13 @@ async function Ot(e, t, n, r = "download", o = !1, i = null) {
|
|
|
4137
4137
|
}).catch((c) => {
|
|
4138
4138
|
let l = c.response.data.error.msg;
|
|
4139
4139
|
A({ message: l });
|
|
4140
|
-
}) :
|
|
4140
|
+
}) : He === "Import" ? PA(ke, e, t).then(async (c) => {
|
|
4141
4141
|
let l = c.url;
|
|
4142
4142
|
await m(l), a(c);
|
|
4143
4143
|
}).catch((c) => {
|
|
4144
4144
|
let l = c.response.data.error.msg;
|
|
4145
4145
|
A({ message: l });
|
|
4146
|
-
}) :
|
|
4146
|
+
}) : He === "Ready" && UA(ke, e, t, o, i).then(async (c) => {
|
|
4147
4147
|
if (c.message) {
|
|
4148
4148
|
A(c);
|
|
4149
4149
|
return;
|
|
@@ -4158,7 +4158,7 @@ async function Ot(e, t, n, r = "download", o = !1, i = null) {
|
|
|
4158
4158
|
}
|
|
4159
4159
|
async function ls(e, t, n, r = null) {
|
|
4160
4160
|
return new Promise(async (o, i) => {
|
|
4161
|
-
await pr(e, t, r),
|
|
4161
|
+
await pr(e, t, r), He === "Flex" ? XA(e, n, ke).then(async (a) => {
|
|
4162
4162
|
if (a.message) {
|
|
4163
4163
|
i(a);
|
|
4164
4164
|
return;
|
|
@@ -4167,7 +4167,7 @@ async function ls(e, t, n, r = null) {
|
|
|
4167
4167
|
}).catch((a) => {
|
|
4168
4168
|
let A = a.response.data.error.msg;
|
|
4169
4169
|
i({ message: A });
|
|
4170
|
-
}) :
|
|
4170
|
+
}) : He === "Ready" ? FA(e, n, ke).then(async (a) => {
|
|
4171
4171
|
if (a.message) {
|
|
4172
4172
|
i(a);
|
|
4173
4173
|
return;
|
|
@@ -4177,7 +4177,7 @@ async function ls(e, t, n, r = null) {
|
|
|
4177
4177
|
console.log("err", a);
|
|
4178
4178
|
let A = a.response.data.error.msg;
|
|
4179
4179
|
i({ message: A });
|
|
4180
|
-
}) : BA(e, n,
|
|
4180
|
+
}) : BA(e, n, ke).then(async (a) => {
|
|
4181
4181
|
await $t(a.url), o(a.url);
|
|
4182
4182
|
}).catch((a) => {
|
|
4183
4183
|
let A = a.response.data.error.msg;
|
|
@@ -4186,7 +4186,7 @@ async function ls(e, t, n, r = null) {
|
|
|
4186
4186
|
});
|
|
4187
4187
|
}
|
|
4188
4188
|
function us(e, t, n, r) {
|
|
4189
|
-
|
|
4189
|
+
He = e, ke = t, ri = n, dr = r;
|
|
4190
4190
|
}
|
|
4191
4191
|
async function cs(e) {
|
|
4192
4192
|
return await _A(
|
|
@@ -4194,11 +4194,11 @@ async function cs(e) {
|
|
|
4194
4194
|
versionId: e,
|
|
4195
4195
|
checkExistance: !0
|
|
4196
4196
|
},
|
|
4197
|
-
|
|
4197
|
+
ke
|
|
4198
4198
|
);
|
|
4199
4199
|
}
|
|
4200
4200
|
async function Pn(e, t) {
|
|
4201
|
-
return (await
|
|
4201
|
+
return (await ye.post(t + "/findPlayable", { _id: e })).data;
|
|
4202
4202
|
}
|
|
4203
4203
|
const ms = ({
|
|
4204
4204
|
versionId: e,
|
|
@@ -4212,7 +4212,7 @@ const ms = ({
|
|
|
4212
4212
|
androidLink: m,
|
|
4213
4213
|
urlType: c
|
|
4214
4214
|
}) => {
|
|
4215
|
-
const [l, d] =
|
|
4215
|
+
const [l, d] = Q(!1), q = async () => {
|
|
4216
4216
|
d(!0), Ot(
|
|
4217
4217
|
e,
|
|
4218
4218
|
"default",
|
|
@@ -4224,17 +4224,17 @@ const ms = ({
|
|
|
4224
4224
|
!1,
|
|
4225
4225
|
{ urlType: c }
|
|
4226
4226
|
).then(async (g) => {
|
|
4227
|
-
var K, E,
|
|
4228
|
-
let
|
|
4227
|
+
var K, E, j, L;
|
|
4228
|
+
let f = "";
|
|
4229
4229
|
if (t && (n === "Playable" || n === "Ready")) {
|
|
4230
|
-
const
|
|
4231
|
-
console.log(
|
|
4232
|
-
const
|
|
4233
|
-
console.log(
|
|
4230
|
+
const v = await Pn(t, r);
|
|
4231
|
+
console.log(v);
|
|
4232
|
+
const V = (E = (K = v == null ? void 0 : v.data) == null ? void 0 : K.globalProps) == null ? void 0 : E.defaultLandscape, U = (L = (j = v == null ? void 0 : v.data) == null ? void 0 : j.globalProps) == null ? void 0 : L.defaultPhoneIndex;
|
|
4233
|
+
console.log(V, U), V && (f += "&landscape=true"), U !== void 0 && (f += `&phoneIndex=${U}`);
|
|
4234
4234
|
}
|
|
4235
4235
|
Pn(t, r), d(!1);
|
|
4236
|
-
let
|
|
4237
|
-
n === "Flex" ?
|
|
4236
|
+
let h;
|
|
4237
|
+
n === "Flex" ? h = `${o}/preview?versionId=${e}` : n === "Import" ? h = `${o}/preview?versionId=${e}_` : n === "Ready" ? h = `${o}/preview?versionId=${e}_&ready=true` : h = `${o}/preview?versionId=${e}_`, h += f, Nt(h) ? yt("Link copied") : i(h), d(!1);
|
|
4238
4238
|
}).catch((g) => {
|
|
4239
4239
|
d(!1);
|
|
4240
4240
|
});
|
|
@@ -4388,24 +4388,24 @@ const ms = ({
|
|
|
4388
4388
|
androidLink: l,
|
|
4389
4389
|
urlType: d
|
|
4390
4390
|
}) => {
|
|
4391
|
-
const [q, g] =
|
|
4392
|
-
console.log("iosLink", c),
|
|
4391
|
+
const [q, g] = Q(window.innerWidth);
|
|
4392
|
+
console.log("iosLink", c), ve(() => {
|
|
4393
4393
|
console.log("re add event listener");
|
|
4394
|
-
function
|
|
4395
|
-
console.log(
|
|
4394
|
+
function h(y) {
|
|
4395
|
+
console.log(y), y.data === "cta" && (console.log("Received 'cta' message from iframe"), c && window.open(c, "_blank"));
|
|
4396
4396
|
}
|
|
4397
|
-
return window.addEventListener("message",
|
|
4398
|
-
window.removeEventListener("message",
|
|
4397
|
+
return window.addEventListener("message", h, !1), () => {
|
|
4398
|
+
window.removeEventListener("message", h);
|
|
4399
4399
|
};
|
|
4400
|
-
}, [c, l]),
|
|
4401
|
-
const
|
|
4400
|
+
}, [c, l]), ve(() => {
|
|
4401
|
+
const h = () => {
|
|
4402
4402
|
g(window.innerWidth);
|
|
4403
4403
|
};
|
|
4404
|
-
return window.addEventListener("resize",
|
|
4405
|
-
window.removeEventListener("resize",
|
|
4404
|
+
return window.addEventListener("resize", h), () => {
|
|
4405
|
+
window.removeEventListener("resize", h);
|
|
4406
4406
|
};
|
|
4407
4407
|
}, []);
|
|
4408
|
-
const
|
|
4408
|
+
const f = (e == null ? void 0 : e.length) > 25 ? e.slice(0, 25) + "..." : e;
|
|
4409
4409
|
return /* @__PURE__ */ s.jsxs(
|
|
4410
4410
|
"div",
|
|
4411
4411
|
{
|
|
@@ -4421,7 +4421,7 @@ const ms = ({
|
|
|
4421
4421
|
},
|
|
4422
4422
|
children: [
|
|
4423
4423
|
/* @__PURE__ */ s.jsx(Ti, { iframeUrl: i }),
|
|
4424
|
-
/* @__PURE__ */ s.jsx(Hi, { name:
|
|
4424
|
+
/* @__PURE__ */ s.jsx(Hi, { name: f }),
|
|
4425
4425
|
/* @__PURE__ */ s.jsx(
|
|
4426
4426
|
ms,
|
|
4427
4427
|
{
|
|
@@ -4441,10 +4441,10 @@ const ms = ({
|
|
|
4441
4441
|
}
|
|
4442
4442
|
);
|
|
4443
4443
|
};
|
|
4444
|
-
var
|
|
4444
|
+
var be = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e.Import = "#00a3ff", e.Ready = "#0060A5", e))(be || {});
|
|
4445
4445
|
const oi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
4446
|
-
const [r, o] =
|
|
4447
|
-
|
|
4446
|
+
const [r, o] = Q(e);
|
|
4447
|
+
ve(() => {
|
|
4448
4448
|
o(e);
|
|
4449
4449
|
}, [e]);
|
|
4450
4450
|
const i = () => {
|
|
@@ -4510,8 +4510,8 @@ const oi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4510
4510
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4511
4511
|
style: { height: "14px", width: "14px" },
|
|
4512
4512
|
viewBox: "0 0 20 20",
|
|
4513
|
-
fill:
|
|
4514
|
-
stroke:
|
|
4513
|
+
fill: be[t],
|
|
4514
|
+
stroke: be[t],
|
|
4515
4515
|
strokeWidth: "1",
|
|
4516
4516
|
children: /* @__PURE__ */ s.jsx(
|
|
4517
4517
|
"path",
|
|
@@ -4560,7 +4560,7 @@ const oi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4560
4560
|
"span",
|
|
4561
4561
|
{
|
|
4562
4562
|
style: {
|
|
4563
|
-
color:
|
|
4563
|
+
color: be[e]
|
|
4564
4564
|
},
|
|
4565
4565
|
children: "Select Network"
|
|
4566
4566
|
}
|
|
@@ -4608,7 +4608,7 @@ const oi = ({ checked: e, typeOfProduct: t, id: n }) => {
|
|
|
4608
4608
|
}
|
|
4609
4609
|
);
|
|
4610
4610
|
async function fs(e, t) {
|
|
4611
|
-
return (await
|
|
4611
|
+
return (await ye.post(t + "/buyRequest", {
|
|
4612
4612
|
requestType: e
|
|
4613
4613
|
})).data;
|
|
4614
4614
|
}
|
|
@@ -4705,7 +4705,7 @@ const hs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4705
4705
|
// pl-2
|
|
4706
4706
|
color: "#000000",
|
|
4707
4707
|
// placeholder:text-black
|
|
4708
|
-
borderColor:
|
|
4708
|
+
borderColor: be[e],
|
|
4709
4709
|
marginRight: "2rem"
|
|
4710
4710
|
},
|
|
4711
4711
|
type: "text",
|
|
@@ -4776,7 +4776,7 @@ const hs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4776
4776
|
// pl-2
|
|
4777
4777
|
color: "#000000",
|
|
4778
4778
|
// placeholder:text-black
|
|
4779
|
-
borderColor:
|
|
4779
|
+
borderColor: be[e],
|
|
4780
4780
|
marginRight: "2rem"
|
|
4781
4781
|
//typeOfProduct === "Flex" ? ColorStyle.Flex : ColorStyle.Playable,
|
|
4782
4782
|
},
|
|
@@ -4853,7 +4853,7 @@ const hs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4853
4853
|
// pl-2
|
|
4854
4854
|
color: "#000000",
|
|
4855
4855
|
// placeholder:text-black
|
|
4856
|
-
borderColor:
|
|
4856
|
+
borderColor: be[e],
|
|
4857
4857
|
marginRight: "2rem"
|
|
4858
4858
|
},
|
|
4859
4859
|
type: "text",
|
|
@@ -4937,7 +4937,7 @@ const hs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4937
4937
|
// pl-2
|
|
4938
4938
|
color: "#000000",
|
|
4939
4939
|
// placeholder:text-black
|
|
4940
|
-
borderColor:
|
|
4940
|
+
borderColor: be[e]
|
|
4941
4941
|
//typeOfProduct === "Flex" ? ColorStyle.Flex : ColorStyle.Playable,
|
|
4942
4942
|
},
|
|
4943
4943
|
type: "checkbox",
|
|
@@ -4951,7 +4951,7 @@ const hs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
4951
4951
|
)
|
|
4952
4952
|
]
|
|
4953
4953
|
}
|
|
4954
|
-
),
|
|
4954
|
+
), f = () => /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(
|
|
4955
4955
|
"div",
|
|
4956
4956
|
{
|
|
4957
4957
|
style: {
|
|
@@ -5064,7 +5064,7 @@ const hs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5064
5064
|
children: [
|
|
5065
5065
|
m.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ s.jsx(g, {}),
|
|
5066
5066
|
e === "Ready" ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
5067
|
-
/* @__PURE__ */ s.jsx(
|
|
5067
|
+
/* @__PURE__ */ s.jsx(f, {}),
|
|
5068
5068
|
d === "game" && /* @__PURE__ */ s.jsx(
|
|
5069
5069
|
no,
|
|
5070
5070
|
{
|
|
@@ -5104,7 +5104,7 @@ const hs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5104
5104
|
"span",
|
|
5105
5105
|
{
|
|
5106
5106
|
style: {
|
|
5107
|
-
color:
|
|
5107
|
+
color: be[e]
|
|
5108
5108
|
},
|
|
5109
5109
|
children: t
|
|
5110
5110
|
}
|
|
@@ -5142,8 +5142,8 @@ const hs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5142
5142
|
setIsTest: d,
|
|
5143
5143
|
urlType: q,
|
|
5144
5144
|
setUrlType: g,
|
|
5145
|
-
allNetworksSelected:
|
|
5146
|
-
setAllNetworksSelected:
|
|
5145
|
+
allNetworksSelected: f,
|
|
5146
|
+
setAllNetworksSelected: h
|
|
5147
5147
|
}) => /* @__PURE__ */ s.jsxs(
|
|
5148
5148
|
"div",
|
|
5149
5149
|
{
|
|
@@ -5186,8 +5186,8 @@ const hs = () => /* @__PURE__ */ s.jsxs("svg", { width: "24", height: "24", view
|
|
|
5186
5186
|
ps,
|
|
5187
5187
|
{
|
|
5188
5188
|
typeOfProduct: e,
|
|
5189
|
-
allNetworksSelected:
|
|
5190
|
-
setAllNetworksSelected:
|
|
5189
|
+
allNetworksSelected: f,
|
|
5190
|
+
setAllNetworksSelected: h
|
|
5191
5191
|
}
|
|
5192
5192
|
)
|
|
5193
5193
|
]
|
|
@@ -5255,7 +5255,7 @@ const Cs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5255
5255
|
width: "8px",
|
|
5256
5256
|
height: "8px",
|
|
5257
5257
|
borderRadius: "50%",
|
|
5258
|
-
backgroundColor:
|
|
5258
|
+
backgroundColor: be[e]
|
|
5259
5259
|
}
|
|
5260
5260
|
}
|
|
5261
5261
|
),
|
|
@@ -5268,7 +5268,7 @@ const Cs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5268
5268
|
width: "8px",
|
|
5269
5269
|
height: "8px",
|
|
5270
5270
|
borderRadius: "50%",
|
|
5271
|
-
backgroundColor:
|
|
5271
|
+
backgroundColor: be[e]
|
|
5272
5272
|
}
|
|
5273
5273
|
}
|
|
5274
5274
|
),
|
|
@@ -5281,7 +5281,7 @@ const Cs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5281
5281
|
width: "8px",
|
|
5282
5282
|
height: "8px",
|
|
5283
5283
|
borderRadius: "50%",
|
|
5284
|
-
backgroundColor:
|
|
5284
|
+
backgroundColor: be[e]
|
|
5285
5285
|
}
|
|
5286
5286
|
}
|
|
5287
5287
|
),
|
|
@@ -5294,7 +5294,7 @@ const Cs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5294
5294
|
width: "8px",
|
|
5295
5295
|
height: "8px",
|
|
5296
5296
|
borderRadius: "50%",
|
|
5297
|
-
backgroundColor:
|
|
5297
|
+
backgroundColor: be[e]
|
|
5298
5298
|
}
|
|
5299
5299
|
}
|
|
5300
5300
|
)
|
|
@@ -5801,7 +5801,7 @@ const Cs = ({ typeOfProduct: e }) => /* @__PURE__ */ s.jsx(
|
|
|
5801
5801
|
}
|
|
5802
5802
|
);
|
|
5803
5803
|
async function xs(e, t, n, r) {
|
|
5804
|
-
return (await
|
|
5804
|
+
return (await ye.post(e + "/createMolocoTestPage", {
|
|
5805
5805
|
_id: t,
|
|
5806
5806
|
network: n,
|
|
5807
5807
|
typeOfProduct: r
|
|
@@ -5822,20 +5822,21 @@ const ws = ({
|
|
|
5822
5822
|
handleDownloadError: d,
|
|
5823
5823
|
fetchFileUrl: q,
|
|
5824
5824
|
urls: g,
|
|
5825
|
-
game:
|
|
5826
|
-
setIsConfirmActive:
|
|
5827
|
-
creditDownload:
|
|
5825
|
+
game: f,
|
|
5826
|
+
setIsConfirmActive: h,
|
|
5827
|
+
creditDownload: y,
|
|
5828
5828
|
getDownloadCount: K,
|
|
5829
5829
|
disabled: E,
|
|
5830
|
-
user:
|
|
5831
|
-
setSafariCopyLink:
|
|
5832
|
-
isTest:
|
|
5833
|
-
urlType:
|
|
5834
|
-
setCdnModal:
|
|
5835
|
-
generateCDN:
|
|
5830
|
+
user: j,
|
|
5831
|
+
setSafariCopyLink: L,
|
|
5832
|
+
isTest: v,
|
|
5833
|
+
urlType: V,
|
|
5834
|
+
setCdnModal: U,
|
|
5835
|
+
generateCDN: re,
|
|
5836
|
+
cdnUrl: me
|
|
5836
5837
|
}) => {
|
|
5837
|
-
const [
|
|
5838
|
-
let
|
|
5838
|
+
const [ee, ce] = Q(!1), [_, $] = Q(""), [W, M] = Q(!1), [J, p] = Q(!1), [O, T] = Q(!1), [Z, I] = Q("download"), [N, k] = Q(!1), [z, G] = Q(!1), [D, R] = Q(!1);
|
|
5839
|
+
let H = {
|
|
5839
5840
|
aarki: "html,copy",
|
|
5840
5841
|
adcolony: "copy,html",
|
|
5841
5842
|
adjoe: "copy,html",
|
|
@@ -5879,40 +5880,40 @@ const ws = ({
|
|
|
5879
5880
|
jammp: "copy,html",
|
|
5880
5881
|
mraid: "copy,html"
|
|
5881
5882
|
};
|
|
5882
|
-
const
|
|
5883
|
+
const B = () => {
|
|
5883
5884
|
n(e);
|
|
5884
|
-
},
|
|
5885
|
-
const
|
|
5885
|
+
}, b = async (ae, te) => {
|
|
5886
|
+
const fe = {
|
|
5886
5887
|
molocoGenerateHtml: !1,
|
|
5887
|
-
urlType:
|
|
5888
|
+
urlType: V
|
|
5888
5889
|
};
|
|
5889
|
-
if (
|
|
5890
|
-
|
|
5890
|
+
if (F && (te === "copy" ? (G(!0), te = "download", fe.molocoGenerateHtml = !0) : k(!0)), console.log("getVersion", ae, te, fe), ae === "cdn") {
|
|
5891
|
+
U(!0), await re(!0);
|
|
5891
5892
|
return;
|
|
5892
5893
|
}
|
|
5893
|
-
return
|
|
5894
|
-
Ot(c,
|
|
5895
|
-
|
|
5896
|
-
}).catch((
|
|
5897
|
-
|
|
5894
|
+
return ce(!0), new Promise((ct, mt) => {
|
|
5895
|
+
Ot(c, ae, g, te, v, fe).then((Me) => {
|
|
5896
|
+
ce(!1), ct(Me), G(!1), k(!1);
|
|
5897
|
+
}).catch((Me) => {
|
|
5898
|
+
ce(!1), d(Me.message, Me), mt(Me), G(!1), k(!1);
|
|
5898
5899
|
});
|
|
5899
5900
|
});
|
|
5900
|
-
},
|
|
5901
|
-
|
|
5902
|
-
const
|
|
5901
|
+
}, Y = async (ae = !1) => {
|
|
5902
|
+
ae ? G(!0) : k(!0);
|
|
5903
|
+
const te = {
|
|
5903
5904
|
molocoGenerateHtml: !1
|
|
5904
5905
|
};
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
}).catch((
|
|
5908
|
-
d(
|
|
5906
|
+
ae && (te.molocoGenerateHtml = !0), Ot(c, o, g, "download", v, te).then((fe) => {
|
|
5907
|
+
ae ? G(!1) : k(!1), T(!1);
|
|
5908
|
+
}).catch((fe) => {
|
|
5909
|
+
d(fe.message, fe);
|
|
5909
5910
|
});
|
|
5910
|
-
},
|
|
5911
|
+
}, w = async () => {
|
|
5911
5912
|
R(!0);
|
|
5912
|
-
const
|
|
5913
|
-
let
|
|
5914
|
-
Nt(
|
|
5915
|
-
},
|
|
5913
|
+
const ae = await xs(l, c, o, m);
|
|
5914
|
+
let te = `${q}/${ae == null ? void 0 : ae.url}`;
|
|
5915
|
+
Nt(te) ? (yt("Link Copied"), R(!1)) : L(te);
|
|
5916
|
+
}, F = o === "moloco" || o === "molocoV2";
|
|
5916
5917
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
5917
5918
|
/* @__PURE__ */ s.jsxs(
|
|
5918
5919
|
"div",
|
|
@@ -5923,7 +5924,7 @@ const ws = ({
|
|
|
5923
5924
|
flexDirection: "column",
|
|
5924
5925
|
gap: "20px",
|
|
5925
5926
|
padding: "16px",
|
|
5926
|
-
borderColor: r ?
|
|
5927
|
+
borderColor: r ? be[m] : "lightgray",
|
|
5927
5928
|
borderWidth: "1px",
|
|
5928
5929
|
borderStyle: "solid",
|
|
5929
5930
|
backgroundColor: "white",
|
|
@@ -5933,7 +5934,7 @@ const ws = ({
|
|
|
5933
5934
|
cursor: "pointer"
|
|
5934
5935
|
},
|
|
5935
5936
|
className: "border-hover-" + m,
|
|
5936
|
-
onClick:
|
|
5937
|
+
onClick: B,
|
|
5937
5938
|
children: [
|
|
5938
5939
|
/* @__PURE__ */ s.jsxs(
|
|
5939
5940
|
"div",
|
|
@@ -5953,7 +5954,7 @@ const ws = ({
|
|
|
5953
5954
|
top: "0",
|
|
5954
5955
|
padding: "8px"
|
|
5955
5956
|
},
|
|
5956
|
-
children: /* @__PURE__ */ s.jsx("div", { children: i && i.map((
|
|
5957
|
+
children: /* @__PURE__ */ s.jsx("div", { children: i && i.map((ae) => ae.network).includes(o) ? a ? /* @__PURE__ */ s.jsx(
|
|
5957
5958
|
"div",
|
|
5958
5959
|
{
|
|
5959
5960
|
style: {
|
|
@@ -5969,7 +5970,7 @@ const ws = ({
|
|
|
5969
5970
|
},
|
|
5970
5971
|
children: /* @__PURE__ */ s.jsx(Cs, { typeOfProduct: m })
|
|
5971
5972
|
}
|
|
5972
|
-
) : i.map((
|
|
5973
|
+
) : i.map((ae) => /* @__PURE__ */ s.jsx(
|
|
5973
5974
|
"div",
|
|
5974
5975
|
{
|
|
5975
5976
|
style: {
|
|
@@ -5984,9 +5985,9 @@ const ws = ({
|
|
|
5984
5985
|
justifyContent: "center",
|
|
5985
5986
|
alignItems: "center"
|
|
5986
5987
|
},
|
|
5987
|
-
children:
|
|
5988
|
+
children: ae.network === o ? ae.size.toString().slice(0, 5) + "Mb" : ""
|
|
5988
5989
|
},
|
|
5989
|
-
|
|
5990
|
+
ae.network
|
|
5990
5991
|
)) : null })
|
|
5991
5992
|
}
|
|
5992
5993
|
),
|
|
@@ -6012,7 +6013,7 @@ const ws = ({
|
|
|
6012
6013
|
/* @__PURE__ */ s.jsx(
|
|
6013
6014
|
"img",
|
|
6014
6015
|
{
|
|
6015
|
-
onClick:
|
|
6016
|
+
onClick: B,
|
|
6016
6017
|
style: {
|
|
6017
6018
|
width: "30rem",
|
|
6018
6019
|
// Equivalent to 120/4 = 30rem
|
|
@@ -6038,20 +6039,20 @@ const ws = ({
|
|
|
6038
6039
|
/* @__PURE__ */ s.jsx(
|
|
6039
6040
|
jn,
|
|
6040
6041
|
{
|
|
6041
|
-
className: `${
|
|
6042
|
-
downloading:
|
|
6043
|
-
onClickDonwload: async (
|
|
6044
|
-
if (
|
|
6045
|
-
|
|
6042
|
+
className: `${F ? "w-1/2" : "w-2/3"} border-hover-` + m,
|
|
6043
|
+
downloading: ee,
|
|
6044
|
+
onClickDonwload: async (ae) => {
|
|
6045
|
+
if (ae.stopPropagation(), F && j.customer === "playableFactoryInternal") {
|
|
6046
|
+
T(!0);
|
|
6046
6047
|
return;
|
|
6047
6048
|
} else {
|
|
6048
|
-
|
|
6049
|
-
const
|
|
6050
|
-
|
|
6049
|
+
$("download");
|
|
6050
|
+
const te = g.iosUrl, fe = g.googleUrl;
|
|
6051
|
+
o === "cdn" && y && y.willSpendCredit && !me || o !== "cdn" && y && y.willSpendCredit ? (h(!0), I("download"), M(!0)) : ["Playable", "Flex"].includes(m) && (!te || !fe) || m === "Ready" && V === "single" && !te || m === "Ready" && V === "multi" && (!te || !fe) ? (h(!0), p(!0)) : (p(!1), M(!1), await b(o, "download"));
|
|
6051
6052
|
}
|
|
6052
6053
|
},
|
|
6053
|
-
children:
|
|
6054
|
-
!
|
|
6054
|
+
children: F ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
6055
|
+
!N && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
6055
6056
|
/* @__PURE__ */ s.jsx(
|
|
6056
6057
|
zn,
|
|
6057
6058
|
{
|
|
@@ -6067,11 +6068,11 @@ const ws = ({
|
|
|
6067
6068
|
}
|
|
6068
6069
|
}
|
|
6069
6070
|
),
|
|
6070
|
-
|
|
6071
|
+
j.customer !== "playableFactoryInternal" ? "TXT" : "Download"
|
|
6071
6072
|
] }),
|
|
6072
|
-
|
|
6073
|
+
N && /* @__PURE__ */ s.jsx(St, {})
|
|
6073
6074
|
] }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
6074
|
-
!
|
|
6075
|
+
!ee && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
6075
6076
|
/* @__PURE__ */ s.jsx(
|
|
6076
6077
|
zn,
|
|
6077
6078
|
{
|
|
@@ -6089,35 +6090,35 @@ const ws = ({
|
|
|
6089
6090
|
),
|
|
6090
6091
|
o === "cdn" ? "Generate Link" : "Download"
|
|
6091
6092
|
] }),
|
|
6092
|
-
|
|
6093
|
+
ee && /* @__PURE__ */ s.jsx(St, {})
|
|
6093
6094
|
] })
|
|
6094
6095
|
}
|
|
6095
6096
|
),
|
|
6096
|
-
|
|
6097
|
+
H[o] && H[o].includes("copy") && /* @__PURE__ */ s.jsx(
|
|
6097
6098
|
jn,
|
|
6098
6099
|
{
|
|
6099
6100
|
className: "w-1/3 border-hover-" + m,
|
|
6100
|
-
onClickDonwload: async (
|
|
6101
|
-
|
|
6102
|
-
const
|
|
6103
|
-
|
|
6101
|
+
onClickDonwload: async (ae) => {
|
|
6102
|
+
ae.stopPropagation(), $("copyLink");
|
|
6103
|
+
const te = g.iosUrl, fe = g.googleUrl;
|
|
6104
|
+
y && (y != null && y.willSpendCredit) ? (I("copy"), h(!0), M(!0)) : m !== "Import" && (!te || !fe) ? (h(!0), p(!0)) : (M(!1), p(!1), await b(o, "copy"));
|
|
6104
6105
|
},
|
|
6105
6106
|
disabled: E,
|
|
6106
6107
|
children: /* @__PURE__ */ s.jsx(Ko, { className: "h-6 w-6 stroke-dark-full" })
|
|
6107
6108
|
}
|
|
6108
6109
|
),
|
|
6109
|
-
|
|
6110
|
+
F && j.customer !== "playableFactoryInternal" && /* @__PURE__ */ s.jsxs(
|
|
6110
6111
|
jn,
|
|
6111
6112
|
{
|
|
6112
6113
|
className: "w-1/2 border-hover-" + m,
|
|
6113
|
-
onClickDonwload: async (
|
|
6114
|
-
|
|
6115
|
-
const
|
|
6116
|
-
|
|
6114
|
+
onClickDonwload: async (ae) => {
|
|
6115
|
+
ae.stopPropagation(), $("copyLink");
|
|
6116
|
+
const te = g.iosUrl, fe = g.googleUrl;
|
|
6117
|
+
y && (y != null && y.willSpendCredit) ? (I("download"), h(!0), M(!0)) : m !== "Import" && (!te || !fe) ? (h(!0), p(!0)) : (M(!1), p(!1), await Y(!0));
|
|
6117
6118
|
},
|
|
6118
6119
|
disabled: E,
|
|
6119
6120
|
children: [
|
|
6120
|
-
!
|
|
6121
|
+
!z && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
6121
6122
|
/* @__PURE__ */ s.jsx(
|
|
6122
6123
|
zn,
|
|
6123
6124
|
{
|
|
@@ -6135,14 +6136,14 @@ const ws = ({
|
|
|
6135
6136
|
),
|
|
6136
6137
|
"HTML"
|
|
6137
6138
|
] }),
|
|
6138
|
-
|
|
6139
|
+
z && /* @__PURE__ */ s.jsx(St, {})
|
|
6139
6140
|
]
|
|
6140
6141
|
}
|
|
6141
6142
|
)
|
|
6142
6143
|
]
|
|
6143
6144
|
}
|
|
6144
6145
|
),
|
|
6145
|
-
|
|
6146
|
+
F && /* @__PURE__ */ s.jsx(
|
|
6146
6147
|
"img",
|
|
6147
6148
|
{
|
|
6148
6149
|
style: {
|
|
@@ -6157,52 +6158,52 @@ const ws = ({
|
|
|
6157
6158
|
]
|
|
6158
6159
|
}
|
|
6159
6160
|
),
|
|
6160
|
-
|
|
6161
|
+
W && /* @__PURE__ */ s.jsx(
|
|
6161
6162
|
Vn,
|
|
6162
6163
|
{
|
|
6163
|
-
creditConfirmType:
|
|
6164
|
+
creditConfirmType: Z,
|
|
6164
6165
|
handleCopyLink: async () => {
|
|
6165
|
-
|
|
6166
|
+
p(!1), h(!1), await b(o, "copy");
|
|
6166
6167
|
},
|
|
6167
6168
|
download: async () => {
|
|
6168
|
-
|
|
6169
|
+
p(!1), h(!1), await b(o, "download");
|
|
6169
6170
|
},
|
|
6170
6171
|
onClose: () => {
|
|
6171
|
-
|
|
6172
|
+
M(!1), h(!1);
|
|
6172
6173
|
},
|
|
6173
6174
|
getDownloadCount: K
|
|
6174
6175
|
}
|
|
6175
6176
|
),
|
|
6176
|
-
|
|
6177
|
+
J && /* @__PURE__ */ s.jsx(
|
|
6177
6178
|
Zs,
|
|
6178
6179
|
{
|
|
6179
6180
|
onClose: () => {
|
|
6180
|
-
|
|
6181
|
+
p(!1), h(!1);
|
|
6181
6182
|
},
|
|
6182
6183
|
iosLink: g.iosUrl,
|
|
6183
6184
|
googleLink: g.googleUrl,
|
|
6184
|
-
buttonType:
|
|
6185
|
+
buttonType: _,
|
|
6185
6186
|
handleCopyLink: async () => {
|
|
6186
|
-
|
|
6187
|
+
p(!1), h(!1), await b(o, "copy");
|
|
6187
6188
|
},
|
|
6188
6189
|
download: async () => {
|
|
6189
|
-
|
|
6190
|
+
p(!1), h(!1), await b(o, "download");
|
|
6190
6191
|
},
|
|
6191
6192
|
typeOfProduct: m,
|
|
6192
|
-
urlType:
|
|
6193
|
+
urlType: V
|
|
6193
6194
|
}
|
|
6194
6195
|
),
|
|
6195
|
-
|
|
6196
|
+
O && j.customer === "playableFactoryInternal" && /* @__PURE__ */ s.jsx(
|
|
6196
6197
|
Is,
|
|
6197
6198
|
{
|
|
6198
6199
|
onClose: () => {
|
|
6199
|
-
|
|
6200
|
+
T(!1);
|
|
6200
6201
|
},
|
|
6201
|
-
handleDownload:
|
|
6202
|
-
handleDownloadMolocoTest:
|
|
6203
|
-
downloadingMoloco:
|
|
6204
|
-
donwloadintMolocoTest:
|
|
6205
|
-
downloadingMolocoHtml:
|
|
6202
|
+
handleDownload: Y,
|
|
6203
|
+
handleDownloadMolocoTest: w,
|
|
6204
|
+
downloadingMoloco: N,
|
|
6205
|
+
donwloadintMolocoTest: D,
|
|
6206
|
+
downloadingMolocoHtml: z
|
|
6206
6207
|
}
|
|
6207
6208
|
)
|
|
6208
6209
|
] });
|
|
@@ -6466,7 +6467,7 @@ const ws = ({
|
|
|
6466
6467
|
padding: "0.5rem",
|
|
6467
6468
|
width: "12rem",
|
|
6468
6469
|
height: "2.5rem",
|
|
6469
|
-
backgroundColor:
|
|
6470
|
+
backgroundColor: be[t],
|
|
6470
6471
|
color: "white",
|
|
6471
6472
|
fontSize: "0.875rem",
|
|
6472
6473
|
borderRadius: "0.875rem"
|
|
@@ -6497,7 +6498,7 @@ const ws = ({
|
|
|
6497
6498
|
borderRadius: "0.875rem",
|
|
6498
6499
|
alignItems: "center",
|
|
6499
6500
|
justifyContent: "center",
|
|
6500
|
-
backgroundColor:
|
|
6501
|
+
backgroundColor: be[t]
|
|
6501
6502
|
},
|
|
6502
6503
|
children: /* @__PURE__ */ s.jsx(St, {})
|
|
6503
6504
|
}
|
|
@@ -6715,53 +6716,53 @@ const ws = ({
|
|
|
6715
6716
|
getDownloadCount: d,
|
|
6716
6717
|
disabled: q,
|
|
6717
6718
|
setSafariCopyLink: g,
|
|
6718
|
-
isTest:
|
|
6719
|
-
urlType:
|
|
6720
|
-
allNetworksSelected:
|
|
6719
|
+
isTest: f,
|
|
6720
|
+
urlType: h,
|
|
6721
|
+
allNetworksSelected: y,
|
|
6721
6722
|
setAllNetworksSelected: K,
|
|
6722
6723
|
cdnModal: E,
|
|
6723
|
-
setCdnModal:
|
|
6724
|
-
cdnUrl:
|
|
6725
|
-
setCdnUrl:
|
|
6724
|
+
setCdnModal: j,
|
|
6725
|
+
cdnUrl: L,
|
|
6726
|
+
setCdnUrl: v
|
|
6726
6727
|
}) => {
|
|
6727
|
-
const [
|
|
6728
|
-
b &&
|
|
6729
|
-
|
|
6730
|
-
}).catch((
|
|
6731
|
-
A(
|
|
6732
|
-
}));
|
|
6733
|
-
},
|
|
6734
|
-
const
|
|
6735
|
-
if (
|
|
6736
|
-
const
|
|
6737
|
-
|
|
6728
|
+
const [V, U] = Q([]), [re, me] = Q([]), [ee, ce] = Q(!1), [_, $] = Q(""), [W, M] = Q(!1), [J, p] = Q(!1), [O, T] = Q("download"), [Z, I] = Q(!1), [N, k] = Q(!1), [z, G] = Q(!1), D = async (b = !1) => {
|
|
6729
|
+
console.log(b, L), !(b && L) && (z || (G(!0), Ot(r, "cdn", c, null, !1, {}).then((Y) => {
|
|
6730
|
+
v(Y.url), G(!1);
|
|
6731
|
+
}).catch((Y) => {
|
|
6732
|
+
A(Y.message, Y), G(!1);
|
|
6733
|
+
})));
|
|
6734
|
+
}, R = async (b) => {
|
|
6735
|
+
const Y = [...V];
|
|
6736
|
+
if (V.includes(b)) {
|
|
6737
|
+
const w = Y.findIndex((F) => F === b);
|
|
6738
|
+
Y.splice(w, 1), U(Y);
|
|
6738
6739
|
} else
|
|
6739
|
-
|
|
6740
|
-
Qt.filter((
|
|
6741
|
-
}, H = async () => new Promise(async (b,
|
|
6742
|
-
const
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
}).catch((
|
|
6746
|
-
console.log("get multi download err"),
|
|
6740
|
+
Y.push(b), U([...V, b]);
|
|
6741
|
+
Qt.filter((w) => [...Y].includes(w.id)).map((w) => w.name);
|
|
6742
|
+
}, H = async () => new Promise(async (b, Y) => {
|
|
6743
|
+
const w = Qt.filter((F) => [...V].includes(F.id)).map((F) => F.name);
|
|
6744
|
+
M(!0), ls(r, c, w, { urlType: h }).then((F) => {
|
|
6745
|
+
M(!1), b(F);
|
|
6746
|
+
}).catch((F) => {
|
|
6747
|
+
console.log("get multi download err"), M(!1), A(F.message, F), Y(F);
|
|
6747
6748
|
});
|
|
6748
|
-
}),
|
|
6749
|
-
c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (
|
|
6749
|
+
}), B = async () => {
|
|
6750
|
+
c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (p(!0), T("download"), I(!0)) : (I(!1), await H());
|
|
6750
6751
|
};
|
|
6751
|
-
return
|
|
6752
|
-
const b = Qt.filter((
|
|
6753
|
-
var
|
|
6754
|
-
return t && ((
|
|
6755
|
-
}).filter((
|
|
6756
|
-
|
|
6757
|
-
}, [
|
|
6752
|
+
return ve(() => {
|
|
6753
|
+
const b = Qt.filter((Y) => {
|
|
6754
|
+
var w;
|
|
6755
|
+
return t && ((w = t == null ? void 0 : t.networks) == null ? void 0 : w.length) > 0 ? t == null ? void 0 : t.networks.includes(Y.name) : o === "Import" ? e == null ? void 0 : e.networks.filter((F) => F.status === "paid").some((F) => F.name === Y.name) : e == null ? void 0 : e.networks.includes(Y.name);
|
|
6756
|
+
}).filter((Y) => Y.name === "voodoo" ? a.customer === "customer:20" : !0).map((Y) => Y.id);
|
|
6757
|
+
U(y ? b : []);
|
|
6758
|
+
}, [y]), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
6758
6759
|
/* @__PURE__ */ s.jsx(
|
|
6759
6760
|
"div",
|
|
6760
6761
|
{
|
|
6761
6762
|
style: {
|
|
6762
6763
|
position: "relative",
|
|
6763
6764
|
flex: 1,
|
|
6764
|
-
overflowY:
|
|
6765
|
+
overflowY: J ? "hidden" : "auto",
|
|
6765
6766
|
padding: "1.5rem",
|
|
6766
6767
|
paddingTop: "0"
|
|
6767
6768
|
},
|
|
@@ -6776,26 +6777,26 @@ const ws = ({
|
|
|
6776
6777
|
padding: "0.75rem"
|
|
6777
6778
|
},
|
|
6778
6779
|
children: n && Qt.filter((b) => {
|
|
6779
|
-
var
|
|
6780
|
-
return t && ((
|
|
6780
|
+
var Y;
|
|
6781
|
+
return t && ((Y = t == null ? void 0 : t.networks) == null ? void 0 : Y.length) > 0 ? t == null ? void 0 : t.networks.includes(b.name) : o === "Import" ? e == null ? void 0 : e.networks.filter((w) => w.status === "paid").some((w) => w.name === b.name) : e == null ? void 0 : e.networks.includes(b.name);
|
|
6781
6782
|
}).filter(
|
|
6782
6783
|
(b) => b.name === "voodoo" ? a.customer === "customer:20" : !0
|
|
6783
6784
|
).map((b) => {
|
|
6784
|
-
let
|
|
6785
|
+
let Y = b.imageSrc;
|
|
6785
6786
|
if (b.name === "web") {
|
|
6786
|
-
let
|
|
6787
|
-
|
|
6787
|
+
let w = "web_" + o.toLowerCase() + ".png";
|
|
6788
|
+
Y = Y.replace("web.png", w);
|
|
6788
6789
|
}
|
|
6789
6790
|
return /* @__PURE__ */ s.jsx(
|
|
6790
6791
|
ws,
|
|
6791
6792
|
{
|
|
6792
6793
|
id: b.id,
|
|
6793
6794
|
name: b.name,
|
|
6794
|
-
imageUrl:
|
|
6795
|
-
selected:
|
|
6796
|
-
handleCardClick:
|
|
6797
|
-
networkVersionSize:
|
|
6798
|
-
fileSizeLoading:
|
|
6795
|
+
imageUrl: Y,
|
|
6796
|
+
selected: V.includes(b.id),
|
|
6797
|
+
handleCardClick: R,
|
|
6798
|
+
networkVersionSize: re,
|
|
6799
|
+
fileSizeLoading: ee,
|
|
6799
6800
|
showCheckBox: !0,
|
|
6800
6801
|
typeOfProduct: o,
|
|
6801
6802
|
versionId: r,
|
|
@@ -6805,15 +6806,16 @@ const ws = ({
|
|
|
6805
6806
|
urls: c,
|
|
6806
6807
|
game: l,
|
|
6807
6808
|
creditDownload: t,
|
|
6808
|
-
setIsConfirmActive:
|
|
6809
|
+
setIsConfirmActive: p,
|
|
6809
6810
|
getDownloadCount: d,
|
|
6810
6811
|
disabled: q,
|
|
6811
6812
|
user: a,
|
|
6812
6813
|
setSafariCopyLink: g,
|
|
6813
|
-
isTest:
|
|
6814
|
-
urlType:
|
|
6815
|
-
setCdnModal:
|
|
6816
|
-
generateCDN:
|
|
6814
|
+
isTest: f,
|
|
6815
|
+
urlType: h,
|
|
6816
|
+
setCdnModal: j,
|
|
6817
|
+
generateCDN: D,
|
|
6818
|
+
cdnUrl: L
|
|
6817
6819
|
},
|
|
6818
6820
|
b.id
|
|
6819
6821
|
);
|
|
@@ -6822,7 +6824,7 @@ const ws = ({
|
|
|
6822
6824
|
)
|
|
6823
6825
|
}
|
|
6824
6826
|
),
|
|
6825
|
-
|
|
6827
|
+
V.length > 1 && (o === "Playable" || o === "Ready" || o === "Flex") && /* @__PURE__ */ s.jsx(
|
|
6826
6828
|
"div",
|
|
6827
6829
|
{
|
|
6828
6830
|
style: {
|
|
@@ -6838,8 +6840,8 @@ const ws = ({
|
|
|
6838
6840
|
children: /* @__PURE__ */ s.jsx(
|
|
6839
6841
|
Ws,
|
|
6840
6842
|
{
|
|
6841
|
-
onClickMultiDownload:
|
|
6842
|
-
networksVersionTotalSize:
|
|
6843
|
+
onClickMultiDownload: B,
|
|
6844
|
+
networksVersionTotalSize: _,
|
|
6843
6845
|
typeOfProduct: o,
|
|
6844
6846
|
multiDownloading: W
|
|
6845
6847
|
}
|
|
@@ -6850,38 +6852,38 @@ const ws = ({
|
|
|
6850
6852
|
Ss,
|
|
6851
6853
|
{
|
|
6852
6854
|
onClose: () => {
|
|
6853
|
-
|
|
6855
|
+
j(!1), d();
|
|
6854
6856
|
},
|
|
6855
6857
|
versionId: r,
|
|
6856
6858
|
urls: c,
|
|
6857
6859
|
handleDownloadError: A,
|
|
6858
|
-
cdnUrl:
|
|
6859
|
-
setCdnUrl:
|
|
6860
|
+
cdnUrl: L,
|
|
6861
|
+
setCdnUrl: v,
|
|
6860
6862
|
generateCDN: async () => {
|
|
6861
|
-
if (!
|
|
6862
|
-
if (
|
|
6863
|
-
|
|
6863
|
+
if (!z) {
|
|
6864
|
+
if (G(!0), a.customer === "playableFactoryInternal") {
|
|
6865
|
+
D();
|
|
6864
6866
|
return;
|
|
6865
6867
|
}
|
|
6866
|
-
|
|
6868
|
+
k(!0);
|
|
6867
6869
|
}
|
|
6868
6870
|
},
|
|
6869
|
-
cdnUploading:
|
|
6871
|
+
cdnUploading: z
|
|
6870
6872
|
}
|
|
6871
6873
|
),
|
|
6872
|
-
|
|
6874
|
+
N && /* @__PURE__ */ s.jsx(
|
|
6873
6875
|
Vn,
|
|
6874
6876
|
{
|
|
6875
6877
|
width: "100%",
|
|
6876
6878
|
height: "100%",
|
|
6877
|
-
creditConfirmType:
|
|
6879
|
+
creditConfirmType: O,
|
|
6878
6880
|
handleCopyLink: async () => {
|
|
6879
6881
|
},
|
|
6880
6882
|
download: async () => {
|
|
6881
|
-
I(!1),
|
|
6883
|
+
I(!1), k(!1), D();
|
|
6882
6884
|
},
|
|
6883
6885
|
onClose: () => {
|
|
6884
|
-
I(!1),
|
|
6886
|
+
I(!1), k(!1), G(!1);
|
|
6885
6887
|
},
|
|
6886
6888
|
getDownloadCount: d
|
|
6887
6889
|
}
|
|
@@ -6889,14 +6891,14 @@ const ws = ({
|
|
|
6889
6891
|
Z && /* @__PURE__ */ s.jsx(
|
|
6890
6892
|
Vn,
|
|
6891
6893
|
{
|
|
6892
|
-
creditConfirmType:
|
|
6894
|
+
creditConfirmType: O,
|
|
6893
6895
|
handleCopyLink: async () => {
|
|
6894
6896
|
},
|
|
6895
6897
|
download: async () => {
|
|
6896
|
-
I(!1),
|
|
6898
|
+
I(!1), p(!1), await H();
|
|
6897
6899
|
},
|
|
6898
6900
|
onClose: () => {
|
|
6899
|
-
I(!1),
|
|
6901
|
+
I(!1), p(!1);
|
|
6900
6902
|
},
|
|
6901
6903
|
getDownloadCount: d
|
|
6902
6904
|
}
|
|
@@ -6904,27 +6906,27 @@ const ws = ({
|
|
|
6904
6906
|
] });
|
|
6905
6907
|
};
|
|
6906
6908
|
async function Os(e, t) {
|
|
6907
|
-
return (await
|
|
6909
|
+
return (await ye.post(t + "/getFlexDownloadCount", e)).data;
|
|
6908
6910
|
}
|
|
6909
6911
|
async function Es(e, t) {
|
|
6910
6912
|
try {
|
|
6911
|
-
return (await
|
|
6913
|
+
return (await ye.post(t + "/findGame", { _id: e })).data;
|
|
6912
6914
|
} catch {
|
|
6913
6915
|
}
|
|
6914
6916
|
}
|
|
6915
6917
|
async function ks(e, t) {
|
|
6916
|
-
return (await
|
|
6918
|
+
return (await ye.post(t + "/getPlayableVersionMarketLink", {
|
|
6917
6919
|
_id: e
|
|
6918
6920
|
})).data;
|
|
6919
6921
|
}
|
|
6920
6922
|
async function js(e, t) {
|
|
6921
|
-
return (await
|
|
6923
|
+
return (await ye.post(t + "/getFlexData", { _id: e })).data;
|
|
6922
6924
|
}
|
|
6923
6925
|
async function zs(e, t) {
|
|
6924
|
-
return (await
|
|
6926
|
+
return (await ye.post(t + "/getImportedPlayable", { id: e })).data;
|
|
6925
6927
|
}
|
|
6926
6928
|
async function Ys(e, t) {
|
|
6927
|
-
return (await
|
|
6929
|
+
return (await ye.post(t + "/getReadyDownloadCount", e)).data;
|
|
6928
6930
|
}
|
|
6929
6931
|
const Js = [
|
|
6930
6932
|
"adcolony",
|
|
@@ -6973,21 +6975,21 @@ const Ns = ({
|
|
|
6973
6975
|
setFileSize: d,
|
|
6974
6976
|
setSafariCopyLink: q,
|
|
6975
6977
|
iosLink: g,
|
|
6976
|
-
androidLink:
|
|
6977
|
-
setIosLink:
|
|
6978
|
-
setAndroidLink:
|
|
6978
|
+
androidLink: f,
|
|
6979
|
+
setIosLink: h,
|
|
6980
|
+
setAndroidLink: y,
|
|
6979
6981
|
urlType: K,
|
|
6980
6982
|
setUrlType: E
|
|
6981
6983
|
}) => {
|
|
6982
|
-
const [
|
|
6983
|
-
|
|
6984
|
+
const [j, L] = Q(null), [v, V] = Q(null), [U, re] = Q(null), [me, ee] = Q(!1), [ce, _] = Q(!0), [$, W] = Q(window.innerWidth), [M, J] = Q(!1), [p, O] = Q(!1), [T, Z] = Q("");
|
|
6985
|
+
ve(() => {
|
|
6984
6986
|
T || cs(t).then((b) => {
|
|
6985
6987
|
b.exist && Z(b.uploadPath);
|
|
6986
6988
|
});
|
|
6987
6989
|
}, [T]), console.log("download modal version: 6.0.37");
|
|
6988
|
-
const [I,
|
|
6989
|
-
|
|
6990
|
-
}, [I]),
|
|
6990
|
+
const [I, N] = Q(!1);
|
|
6991
|
+
ve(() => {
|
|
6992
|
+
}, [I]), ve(() => {
|
|
6991
6993
|
const b = () => {
|
|
6992
6994
|
W(window.innerWidth);
|
|
6993
6995
|
};
|
|
@@ -6995,90 +6997,90 @@ const Ns = ({
|
|
|
6995
6997
|
window.removeEventListener("resize", b);
|
|
6996
6998
|
};
|
|
6997
6999
|
}, []);
|
|
6998
|
-
const
|
|
6999
|
-
|
|
7000
|
+
const k = async () => {
|
|
7001
|
+
ee(!0);
|
|
7000
7002
|
const b = await Pn(e, i);
|
|
7001
|
-
return b != null && b.networks || (b.networks = Js),
|
|
7002
|
-
},
|
|
7003
|
+
return b != null && b.networks || (b.networks = Js), L(b), b;
|
|
7004
|
+
}, z = (b, Y) => {
|
|
7003
7005
|
clearTimeout(oo), oo = setTimeout(() => {
|
|
7004
|
-
console.log("Update URLS:"), pr(t, { iosUrl: b, googleUrl:
|
|
7006
|
+
console.log("Update URLS:"), pr(t, { iosUrl: b, googleUrl: Y }, { urlType: K });
|
|
7005
7007
|
}, 1e3);
|
|
7006
|
-
},
|
|
7007
|
-
|
|
7008
|
-
},
|
|
7009
|
-
|
|
7010
|
-
},
|
|
7011
|
-
var
|
|
7008
|
+
}, G = (b) => {
|
|
7009
|
+
h(b), z(b, f);
|
|
7010
|
+
}, D = (b) => {
|
|
7011
|
+
y(b), z(g, b);
|
|
7012
|
+
}, R = async (b, Y) => {
|
|
7013
|
+
var w, F;
|
|
7012
7014
|
console.log("getIosAndAndroidLink");
|
|
7013
7015
|
try {
|
|
7014
|
-
let
|
|
7016
|
+
let ae;
|
|
7015
7017
|
if (r === "Playable" || r === "Ready") {
|
|
7016
|
-
const
|
|
7017
|
-
if (
|
|
7018
|
-
console.log("version",
|
|
7018
|
+
const te = await ks(t, i);
|
|
7019
|
+
if (te) {
|
|
7020
|
+
console.log("version", te), h(te.iosLink), y(te.androidLink), ee(!1);
|
|
7019
7021
|
return;
|
|
7020
7022
|
}
|
|
7021
7023
|
if (b && (b.iosUrl || b.googleUrl)) {
|
|
7022
|
-
|
|
7024
|
+
h(b.iosUrl), y(b.googleUrl), ee(!1);
|
|
7023
7025
|
return;
|
|
7024
7026
|
}
|
|
7025
|
-
if (
|
|
7026
|
-
let
|
|
7027
|
-
(
|
|
7027
|
+
if (Y && Y.html) {
|
|
7028
|
+
let fe = await fetch(c + "/" + Y.html).then(
|
|
7029
|
+
(Me) => Me.text()
|
|
7028
7030
|
);
|
|
7029
|
-
const ct = ((
|
|
7031
|
+
const ct = ((w = fe.match(
|
|
7030
7032
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
7031
|
-
)) == null ? void 0 :
|
|
7032
|
-
|
|
7033
|
-
const
|
|
7033
|
+
)) == null ? void 0 : w.at(1)) || "";
|
|
7034
|
+
h(ct);
|
|
7035
|
+
const mt = ((F = fe.match(
|
|
7034
7036
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
7035
|
-
)) == null ? void 0 :
|
|
7036
|
-
|
|
7037
|
+
)) == null ? void 0 : F.at(1)) || "";
|
|
7038
|
+
y(mt), ee(!1);
|
|
7037
7039
|
} else
|
|
7038
|
-
|
|
7040
|
+
y(""), h(""), ee(!1);
|
|
7039
7041
|
} else if (r === "Flex") {
|
|
7040
|
-
const
|
|
7041
|
-
if (
|
|
7042
|
-
|
|
7042
|
+
const te = await js(t, i);
|
|
7043
|
+
if (te.googleUrl || te.iosUrl) {
|
|
7044
|
+
y(te.googleUrl), h(te.iosUrl), ee(!1);
|
|
7043
7045
|
return;
|
|
7044
7046
|
}
|
|
7045
|
-
b && (b.iosUrl || b.googleUrl) ? (
|
|
7047
|
+
b && (b.iosUrl || b.googleUrl) ? (h(b.iosUrl), y(b.googleUrl), ee(!1)) : (y(""), h(""), ee(!1));
|
|
7046
7048
|
}
|
|
7047
|
-
} catch (
|
|
7048
|
-
m(
|
|
7049
|
+
} catch (ae) {
|
|
7050
|
+
m(ae.response.data.error.msg);
|
|
7049
7051
|
}
|
|
7050
7052
|
}, H = async () => {
|
|
7051
|
-
|
|
7053
|
+
ee(!0);
|
|
7052
7054
|
let b;
|
|
7053
|
-
r === "Flex" ? b = await Os({ _id: t }, i) : r === "Ready" && (b = await Ys({ _id: t }, i)), b && (["admin", "pm", "tester", "sales"].includes(a.role) ?
|
|
7055
|
+
r === "Flex" ? b = await Os({ _id: t }, i) : r === "Ready" && (b = await Ys({ _id: t }, i)), b && (["admin", "pm", "tester", "sales"].includes(a.role) ? re({
|
|
7054
7056
|
...b,
|
|
7055
7057
|
networks: ro
|
|
7056
|
-
}) : r === "Ready" && !b.canDownload ?
|
|
7058
|
+
}) : r === "Ready" && !b.canDownload ? re({
|
|
7057
7059
|
...b,
|
|
7058
7060
|
networks: ro
|
|
7059
|
-
}) :
|
|
7060
|
-
},
|
|
7061
|
-
return
|
|
7062
|
-
o || (
|
|
7063
|
-
|
|
7064
|
-
}),
|
|
7065
|
-
|
|
7066
|
-
|
|
7061
|
+
}) : re(b)), ee(!1);
|
|
7062
|
+
}, B = async () => await Es(n, i);
|
|
7063
|
+
return ve(() => {
|
|
7064
|
+
o || (L(null), V(null), re(null), d(null)), o && (r === "Playable" ? (k().then((b) => {
|
|
7065
|
+
R(null, b);
|
|
7066
|
+
}), _(!1)) : r === "Ready" ? H().then((b) => {
|
|
7067
|
+
k().then((Y) => {
|
|
7068
|
+
R(null, Y), _(!1);
|
|
7067
7069
|
});
|
|
7068
7070
|
}) : r === "Flex" ? H().then((b) => {
|
|
7069
|
-
|
|
7070
|
-
o && (
|
|
7071
|
+
_(!1), B().then((Y) => {
|
|
7072
|
+
o && (R(Y, null), _(!1), V(Y));
|
|
7071
7073
|
});
|
|
7072
7074
|
}) : r === "Import" && zs(t, i).then((b) => {
|
|
7073
|
-
console.log(b),
|
|
7075
|
+
console.log(b), L(b), h(b.iosUrl || ""), y(b.googleUrl || ""), ee(!1), _(!1);
|
|
7074
7076
|
}));
|
|
7075
7077
|
}, [n, e, t, o]), /* @__PURE__ */ s.jsxs(
|
|
7076
7078
|
"div",
|
|
7077
7079
|
{
|
|
7078
7080
|
style: {
|
|
7079
7081
|
display: "flex",
|
|
7080
|
-
height:
|
|
7081
|
-
width:
|
|
7082
|
+
height: $ > 1440 ? "700px" : "650px",
|
|
7083
|
+
width: $ > 1440 ? "675px" : "680px",
|
|
7082
7084
|
flexDirection: "column",
|
|
7083
7085
|
borderRadius: "rounded",
|
|
7084
7086
|
backgroundColor: "#F7F7F8",
|
|
@@ -7092,22 +7094,22 @@ const Ns = ({
|
|
|
7092
7094
|
title: A,
|
|
7093
7095
|
typeOfProduct: r,
|
|
7094
7096
|
fileSize: l,
|
|
7095
|
-
urls: { iosUrl: g, googleUrl:
|
|
7096
|
-
handleIosChange:
|
|
7097
|
-
handleGoogleChange:
|
|
7098
|
-
disabled:
|
|
7097
|
+
urls: { iosUrl: g, googleUrl: f },
|
|
7098
|
+
handleIosChange: G,
|
|
7099
|
+
handleGoogleChange: D,
|
|
7100
|
+
disabled: ce,
|
|
7099
7101
|
api: i,
|
|
7100
|
-
creditDownload:
|
|
7102
|
+
creditDownload: U,
|
|
7101
7103
|
user: a,
|
|
7102
|
-
isTest:
|
|
7103
|
-
setIsTest:
|
|
7104
|
+
isTest: M,
|
|
7105
|
+
setIsTest: J,
|
|
7104
7106
|
urlType: K,
|
|
7105
7107
|
setUrlType: E,
|
|
7106
7108
|
allNetworksSelected: I,
|
|
7107
|
-
setAllNetworksSelected:
|
|
7109
|
+
setAllNetworksSelected: N
|
|
7108
7110
|
}
|
|
7109
7111
|
),
|
|
7110
|
-
|
|
7112
|
+
me ? /* @__PURE__ */ s.jsx(
|
|
7111
7113
|
"div",
|
|
7112
7114
|
{
|
|
7113
7115
|
style: {
|
|
@@ -7119,11 +7121,11 @@ const Ns = ({
|
|
|
7119
7121
|
},
|
|
7120
7122
|
children: /* @__PURE__ */ s.jsx(St, { isNetworksLoading: !0 })
|
|
7121
7123
|
}
|
|
7122
|
-
) : (
|
|
7124
|
+
) : (j || U) && (r === "Flex" ? v : !0) && !me && g !== "Loading..." && f !== "Loading..." && /* @__PURE__ */ s.jsx(
|
|
7123
7125
|
Ls,
|
|
7124
7126
|
{
|
|
7125
|
-
playable:
|
|
7126
|
-
creditDownload:
|
|
7127
|
+
playable: j,
|
|
7128
|
+
creditDownload: U,
|
|
7127
7129
|
visible: o,
|
|
7128
7130
|
versionId: t,
|
|
7129
7131
|
typeOfProduct: r,
|
|
@@ -7131,17 +7133,17 @@ const Ns = ({
|
|
|
7131
7133
|
user: a,
|
|
7132
7134
|
handleDownloadError: m,
|
|
7133
7135
|
fetchFileUrl: c,
|
|
7134
|
-
urls: { iosUrl: g, googleUrl:
|
|
7135
|
-
game:
|
|
7136
|
+
urls: { iosUrl: g, googleUrl: f },
|
|
7137
|
+
game: v,
|
|
7136
7138
|
getDownloadCount: H,
|
|
7137
|
-
disabled:
|
|
7139
|
+
disabled: ce,
|
|
7138
7140
|
setSafariCopyLink: q,
|
|
7139
|
-
isTest:
|
|
7141
|
+
isTest: M,
|
|
7140
7142
|
urlType: K,
|
|
7141
7143
|
allNetworksSelected: I,
|
|
7142
|
-
setAllNetworksSelected:
|
|
7143
|
-
cdnModal:
|
|
7144
|
-
setCdnModal:
|
|
7144
|
+
setAllNetworksSelected: N,
|
|
7145
|
+
cdnModal: p,
|
|
7146
|
+
setCdnModal: O,
|
|
7145
7147
|
cdnUrl: T,
|
|
7146
7148
|
setCdnUrl: Z
|
|
7147
7149
|
}
|
|
@@ -7150,7 +7152,7 @@ const Ns = ({
|
|
|
7150
7152
|
}
|
|
7151
7153
|
);
|
|
7152
7154
|
};
|
|
7153
|
-
var Bn = { exports: {} }, lt = {}, Un = { exports: {} },
|
|
7155
|
+
var Bn = { exports: {} }, lt = {}, Un = { exports: {} }, Ne = {}, Fn = { exports: {} };
|
|
7154
7156
|
(function(e, t) {
|
|
7155
7157
|
Object.defineProperty(t, "__esModule", {
|
|
7156
7158
|
value: !0
|
|
@@ -7176,8 +7178,8 @@ var Bn = { exports: {} }, lt = {}, Un = { exports: {} }, Ye = {}, Fn = { exports
|
|
|
7176
7178
|
if (q && !d.innerHTML)
|
|
7177
7179
|
return !0;
|
|
7178
7180
|
try {
|
|
7179
|
-
var g = window.getComputedStyle(d),
|
|
7180
|
-
return q ?
|
|
7181
|
+
var g = window.getComputedStyle(d), f = g.getPropertyValue("display");
|
|
7182
|
+
return q ? f !== r && i(d, g) : f === n;
|
|
7181
7183
|
} catch {
|
|
7182
7184
|
return console.warn("Failed to inspect element style"), !1;
|
|
7183
7185
|
}
|
|
@@ -7191,8 +7193,8 @@ var Bn = { exports: {} }, lt = {}, Un = { exports: {} }, Ye = {}, Fn = { exports
|
|
|
7191
7193
|
return !0;
|
|
7192
7194
|
}
|
|
7193
7195
|
function m(d, q) {
|
|
7194
|
-
var g = d.nodeName.toLowerCase(),
|
|
7195
|
-
return
|
|
7196
|
+
var g = d.nodeName.toLowerCase(), f = o.test(g) && !d.disabled || g === "a" && d.href || q;
|
|
7197
|
+
return f && A(d);
|
|
7196
7198
|
}
|
|
7197
7199
|
function c(d) {
|
|
7198
7200
|
var q = d.getAttribute("tabindex");
|
|
@@ -7201,26 +7203,26 @@ var Bn = { exports: {} }, lt = {}, Un = { exports: {} }, Ye = {}, Fn = { exports
|
|
|
7201
7203
|
return (g || q >= 0) && m(d, !g);
|
|
7202
7204
|
}
|
|
7203
7205
|
function l(d) {
|
|
7204
|
-
var q = [].slice.call(d.querySelectorAll("*"), 0).reduce(function(g,
|
|
7205
|
-
return g.concat(
|
|
7206
|
+
var q = [].slice.call(d.querySelectorAll("*"), 0).reduce(function(g, f) {
|
|
7207
|
+
return g.concat(f.shadowRoot ? l(f.shadowRoot) : [f]);
|
|
7206
7208
|
}, []);
|
|
7207
7209
|
return q.filter(c);
|
|
7208
7210
|
}
|
|
7209
7211
|
e.exports = t.default;
|
|
7210
7212
|
})(Fn, Fn.exports);
|
|
7211
7213
|
var ii = Fn.exports;
|
|
7212
|
-
Object.defineProperty(
|
|
7214
|
+
Object.defineProperty(Ne, "__esModule", {
|
|
7213
7215
|
value: !0
|
|
7214
7216
|
});
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7217
|
+
Ne.resetState = Ts;
|
|
7218
|
+
Ne.log = Hs;
|
|
7219
|
+
Ne.handleBlur = Et;
|
|
7220
|
+
Ne.handleFocus = kt;
|
|
7221
|
+
Ne.markForFocusLater = Xs;
|
|
7222
|
+
Ne.returnFocus = Qs;
|
|
7223
|
+
Ne.popWithoutFocus = Ps;
|
|
7224
|
+
Ne.setupScopedFocus = Vs;
|
|
7225
|
+
Ne.teardownScopedFocus = Bs;
|
|
7224
7226
|
var Ds = ii, Rs = Gs(Ds);
|
|
7225
7227
|
function Gs(e) {
|
|
7226
7228
|
return e && e.__esModule ? e : { default: e };
|
|
@@ -7290,19 +7292,19 @@ var $n = { exports: {} };
|
|
|
7290
7292
|
m.preventDefault();
|
|
7291
7293
|
return;
|
|
7292
7294
|
}
|
|
7293
|
-
var l = void 0, d = m.shiftKey, q = c[0], g = c[c.length - 1],
|
|
7294
|
-
if (A ===
|
|
7295
|
+
var l = void 0, d = m.shiftKey, q = c[0], g = c[c.length - 1], f = i();
|
|
7296
|
+
if (A === f) {
|
|
7295
7297
|
if (!d)
|
|
7296
7298
|
return;
|
|
7297
7299
|
l = g;
|
|
7298
7300
|
}
|
|
7299
|
-
if (g ===
|
|
7301
|
+
if (g === f && !d && (l = q), q === f && d && (l = g), l) {
|
|
7300
7302
|
m.preventDefault(), l.focus();
|
|
7301
7303
|
return;
|
|
7302
7304
|
}
|
|
7303
|
-
var
|
|
7304
|
-
if (
|
|
7305
|
-
var K = c.indexOf(
|
|
7305
|
+
var h = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), y = h != null && h[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
7306
|
+
if (y) {
|
|
7307
|
+
var K = c.indexOf(f);
|
|
7306
7308
|
if (K > -1 && (K += d ? -1 : 1), l = c[K], typeof l > "u") {
|
|
7307
7309
|
m.preventDefault(), l = d ? g : q, l.focus();
|
|
7308
7310
|
return;
|
|
@@ -7312,7 +7314,7 @@ var $n = { exports: {} };
|
|
|
7312
7314
|
}
|
|
7313
7315
|
e.exports = t.default;
|
|
7314
7316
|
})($n, $n.exports);
|
|
7315
|
-
var Us = $n.exports,
|
|
7317
|
+
var Us = $n.exports, De = {}, Fs = process.env.NODE_ENV !== "production", ai = function() {
|
|
7316
7318
|
};
|
|
7317
7319
|
if (Fs) {
|
|
7318
7320
|
var _s = function(t, n) {
|
|
@@ -7341,7 +7343,7 @@ if (Fs) {
|
|
|
7341
7343
|
e || _s.apply(null, [t].concat(n));
|
|
7342
7344
|
};
|
|
7343
7345
|
}
|
|
7344
|
-
var $s = ai,
|
|
7346
|
+
var $s = ai, Je = {}, Ai = { exports: {} };
|
|
7345
7347
|
/*!
|
|
7346
7348
|
Copyright (c) 2015 Jed Watson.
|
|
7347
7349
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
@@ -7359,45 +7361,45 @@ var $s = ai, ze = {}, Ai = { exports: {} };
|
|
|
7359
7361
|
})();
|
|
7360
7362
|
})(Ai);
|
|
7361
7363
|
var el = Ai.exports;
|
|
7362
|
-
Object.defineProperty(
|
|
7364
|
+
Object.defineProperty(Je, "__esModule", {
|
|
7363
7365
|
value: !0
|
|
7364
7366
|
});
|
|
7365
|
-
|
|
7367
|
+
Je.canUseDOM = Je.SafeNodeList = Je.SafeHTMLCollection = void 0;
|
|
7366
7368
|
var tl = el, nl = rl(tl);
|
|
7367
7369
|
function rl(e) {
|
|
7368
7370
|
return e && e.__esModule ? e : { default: e };
|
|
7369
7371
|
}
|
|
7370
7372
|
var hn = nl.default, ol = hn.canUseDOM ? window.HTMLElement : {};
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
Object.defineProperty(
|
|
7373
|
+
Je.SafeHTMLCollection = hn.canUseDOM ? window.HTMLCollection : {};
|
|
7374
|
+
Je.SafeNodeList = hn.canUseDOM ? window.NodeList : {};
|
|
7375
|
+
Je.canUseDOM = hn.canUseDOM;
|
|
7376
|
+
Je.default = ol;
|
|
7377
|
+
Object.defineProperty(De, "__esModule", {
|
|
7376
7378
|
value: !0
|
|
7377
7379
|
});
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
var il = $s, al = sl(il), Al =
|
|
7380
|
+
De.resetState = ll;
|
|
7381
|
+
De.log = ul;
|
|
7382
|
+
De.assertNodeList = si;
|
|
7383
|
+
De.setElement = cl;
|
|
7384
|
+
De.validateElement = fr;
|
|
7385
|
+
De.hide = ml;
|
|
7386
|
+
De.show = dl;
|
|
7387
|
+
De.documentNotReadyOrSSRTesting = pl;
|
|
7388
|
+
var il = $s, al = sl(il), Al = Je;
|
|
7387
7389
|
function sl(e) {
|
|
7388
7390
|
return e && e.__esModule ? e : { default: e };
|
|
7389
7391
|
}
|
|
7390
|
-
var
|
|
7392
|
+
var Ke = null;
|
|
7391
7393
|
function ll() {
|
|
7392
|
-
|
|
7394
|
+
Ke && (Ke.removeAttribute ? Ke.removeAttribute("aria-hidden") : Ke.length != null ? Ke.forEach(function(e) {
|
|
7393
7395
|
return e.removeAttribute("aria-hidden");
|
|
7394
|
-
}) : document.querySelectorAll(
|
|
7396
|
+
}) : document.querySelectorAll(Ke).forEach(function(e) {
|
|
7395
7397
|
return e.removeAttribute("aria-hidden");
|
|
7396
|
-
})),
|
|
7398
|
+
})), Ke = null;
|
|
7397
7399
|
}
|
|
7398
7400
|
function ul() {
|
|
7399
7401
|
if (process.env.NODE_ENV !== "production") {
|
|
7400
|
-
var e =
|
|
7402
|
+
var e = Ke || {};
|
|
7401
7403
|
console.log("ariaAppHider ----------"), console.log(e.nodeName, e.className, e.id), console.log("end ariaAppHider ----------");
|
|
7402
7404
|
}
|
|
7403
7405
|
}
|
|
@@ -7411,10 +7413,10 @@ function cl(e) {
|
|
|
7411
7413
|
var n = document.querySelectorAll(t);
|
|
7412
7414
|
si(n, t), t = n;
|
|
7413
7415
|
}
|
|
7414
|
-
return
|
|
7416
|
+
return Ke = t || Ke, Ke;
|
|
7415
7417
|
}
|
|
7416
7418
|
function fr(e) {
|
|
7417
|
-
var t = e ||
|
|
7419
|
+
var t = e || Ke;
|
|
7418
7420
|
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, al.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
|
|
7419
7421
|
}
|
|
7420
7422
|
function ml(e) {
|
|
@@ -7454,7 +7456,7 @@ function dl(e) {
|
|
|
7454
7456
|
}
|
|
7455
7457
|
}
|
|
7456
7458
|
function pl() {
|
|
7457
|
-
|
|
7459
|
+
Ke = null;
|
|
7458
7460
|
}
|
|
7459
7461
|
var vt = {};
|
|
7460
7462
|
Object.defineProperty(vt, "__esModule", {
|
|
@@ -7571,17 +7573,17 @@ var Il = bt, xl = wl(Il);
|
|
|
7571
7573
|
function wl(e) {
|
|
7572
7574
|
return e && e.__esModule ? e : { default: e };
|
|
7573
7575
|
}
|
|
7574
|
-
var
|
|
7576
|
+
var Ie = void 0, ze = void 0, At = [];
|
|
7575
7577
|
function Kl() {
|
|
7576
|
-
for (var e = [
|
|
7578
|
+
for (var e = [Ie, ze], t = 0; t < e.length; t++) {
|
|
7577
7579
|
var n = e[t];
|
|
7578
7580
|
n && n.parentNode && n.parentNode.removeChild(n);
|
|
7579
7581
|
}
|
|
7580
|
-
|
|
7582
|
+
Ie = ze = null, At = [];
|
|
7581
7583
|
}
|
|
7582
7584
|
function Wl() {
|
|
7583
7585
|
console.log("bodyTrap ----------"), console.log(At.length);
|
|
7584
|
-
for (var e = [
|
|
7586
|
+
for (var e = [Ie, ze], t = 0; t < e.length; t++) {
|
|
7585
7587
|
var n = e[t], r = n || {};
|
|
7586
7588
|
console.log(r.nodeName, r.className, r.id);
|
|
7587
7589
|
}
|
|
@@ -7595,7 +7597,7 @@ function ao() {
|
|
|
7595
7597
|
At[At.length - 1].focusContent();
|
|
7596
7598
|
}
|
|
7597
7599
|
function Ml(e, t) {
|
|
7598
|
-
!
|
|
7600
|
+
!Ie && !ze && (Ie = document.createElement("div"), Ie.setAttribute("data-react-modal-body-trap", ""), Ie.style.position = "absolute", Ie.style.opacity = "0", Ie.setAttribute("tabindex", "0"), Ie.addEventListener("focus", ao), ze = Ie.cloneNode(), ze.addEventListener("focus", ao)), At = t, At.length > 0 ? (document.body.firstChild !== Ie && document.body.insertBefore(Ie, document.body.firstChild), document.body.lastChild !== ze && document.body.appendChild(ze)) : (Ie.parentElement && Ie.parentElement.removeChild(Ie), ze.parentElement && ze.parentElement.removeChild(ze));
|
|
7599
7601
|
}
|
|
7600
7602
|
xl.default.subscribe(Ml);
|
|
7601
7603
|
(function(e, t) {
|
|
@@ -7603,10 +7605,10 @@ xl.default.subscribe(Ml);
|
|
|
7603
7605
|
value: !0
|
|
7604
7606
|
});
|
|
7605
7607
|
var n = Object.assign || function(W) {
|
|
7606
|
-
for (var
|
|
7607
|
-
var
|
|
7608
|
-
for (var
|
|
7609
|
-
Object.prototype.hasOwnProperty.call(
|
|
7608
|
+
for (var M = 1; M < arguments.length; M++) {
|
|
7609
|
+
var J = arguments[M];
|
|
7610
|
+
for (var p in J)
|
|
7611
|
+
Object.prototype.hasOwnProperty.call(J, p) && (W[p] = J[p]);
|
|
7610
7612
|
}
|
|
7611
7613
|
return W;
|
|
7612
7614
|
}, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(W) {
|
|
@@ -7614,131 +7616,131 @@ xl.default.subscribe(Ml);
|
|
|
7614
7616
|
} : function(W) {
|
|
7615
7617
|
return W && typeof Symbol == "function" && W.constructor === Symbol && W !== Symbol.prototype ? "symbol" : typeof W;
|
|
7616
7618
|
}, o = function() {
|
|
7617
|
-
function W(
|
|
7618
|
-
for (var
|
|
7619
|
-
var
|
|
7620
|
-
|
|
7619
|
+
function W(M, J) {
|
|
7620
|
+
for (var p = 0; p < J.length; p++) {
|
|
7621
|
+
var O = J[p];
|
|
7622
|
+
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(M, O.key, O);
|
|
7621
7623
|
}
|
|
7622
7624
|
}
|
|
7623
|
-
return function(
|
|
7624
|
-
return
|
|
7625
|
+
return function(M, J, p) {
|
|
7626
|
+
return J && W(M.prototype, J), p && W(M, p), M;
|
|
7625
7627
|
};
|
|
7626
|
-
}(), i =
|
|
7627
|
-
function
|
|
7628
|
+
}(), i = se, a = An, A = v(a), m = Ne, c = L(m), l = Us, d = v(l), q = De, g = L(q), f = vt, h = L(f), y = Je, K = v(y), E = bt, j = v(E);
|
|
7629
|
+
function L(W) {
|
|
7628
7630
|
if (W && W.__esModule)
|
|
7629
7631
|
return W;
|
|
7630
|
-
var
|
|
7632
|
+
var M = {};
|
|
7631
7633
|
if (W != null)
|
|
7632
|
-
for (var
|
|
7633
|
-
Object.prototype.hasOwnProperty.call(W,
|
|
7634
|
-
return
|
|
7634
|
+
for (var J in W)
|
|
7635
|
+
Object.prototype.hasOwnProperty.call(W, J) && (M[J] = W[J]);
|
|
7636
|
+
return M.default = W, M;
|
|
7635
7637
|
}
|
|
7636
|
-
function
|
|
7638
|
+
function v(W) {
|
|
7637
7639
|
return W && W.__esModule ? W : { default: W };
|
|
7638
7640
|
}
|
|
7639
|
-
function
|
|
7640
|
-
if (!(W instanceof
|
|
7641
|
+
function V(W, M) {
|
|
7642
|
+
if (!(W instanceof M))
|
|
7641
7643
|
throw new TypeError("Cannot call a class as a function");
|
|
7642
7644
|
}
|
|
7643
|
-
function
|
|
7645
|
+
function U(W, M) {
|
|
7644
7646
|
if (!W)
|
|
7645
7647
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7646
|
-
return
|
|
7648
|
+
return M && (typeof M == "object" || typeof M == "function") ? M : W;
|
|
7647
7649
|
}
|
|
7648
|
-
function
|
|
7649
|
-
if (typeof
|
|
7650
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
7651
|
-
W.prototype = Object.create(
|
|
7650
|
+
function re(W, M) {
|
|
7651
|
+
if (typeof M != "function" && M !== null)
|
|
7652
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof M);
|
|
7653
|
+
W.prototype = Object.create(M && M.prototype, { constructor: { value: W, enumerable: !1, writable: !0, configurable: !0 } }), M && (Object.setPrototypeOf ? Object.setPrototypeOf(W, M) : W.__proto__ = M);
|
|
7652
7654
|
}
|
|
7653
|
-
var
|
|
7655
|
+
var me = {
|
|
7654
7656
|
overlay: "ReactModal__Overlay",
|
|
7655
7657
|
content: "ReactModal__Content"
|
|
7656
|
-
},
|
|
7657
|
-
return
|
|
7658
|
-
},
|
|
7659
|
-
return
|
|
7660
|
-
},
|
|
7661
|
-
|
|
7662
|
-
function
|
|
7663
|
-
|
|
7664
|
-
var
|
|
7665
|
-
return
|
|
7666
|
-
|
|
7667
|
-
},
|
|
7668
|
-
|
|
7669
|
-
},
|
|
7670
|
-
var
|
|
7671
|
-
|
|
7672
|
-
},
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
overlayEl:
|
|
7677
|
-
contentEl:
|
|
7658
|
+
}, ee = function(M) {
|
|
7659
|
+
return M.code === "Tab" || M.keyCode === 9;
|
|
7660
|
+
}, ce = function(M) {
|
|
7661
|
+
return M.code === "Escape" || M.keyCode === 27;
|
|
7662
|
+
}, _ = 0, $ = function(W) {
|
|
7663
|
+
re(M, W);
|
|
7664
|
+
function M(J) {
|
|
7665
|
+
V(this, M);
|
|
7666
|
+
var p = U(this, (M.__proto__ || Object.getPrototypeOf(M)).call(this, J));
|
|
7667
|
+
return p.setOverlayRef = function(O) {
|
|
7668
|
+
p.overlay = O, p.props.overlayRef && p.props.overlayRef(O);
|
|
7669
|
+
}, p.setContentRef = function(O) {
|
|
7670
|
+
p.content = O, p.props.contentRef && p.props.contentRef(O);
|
|
7671
|
+
}, p.afterClose = function() {
|
|
7672
|
+
var O = p.props, T = O.appElement, Z = O.ariaHideApp, I = O.htmlOpenClassName, N = O.bodyOpenClassName, k = O.parentSelector, z = k && k().ownerDocument || document;
|
|
7673
|
+
N && h.remove(z.body, N), I && h.remove(z.getElementsByTagName("html")[0], I), Z && _ > 0 && (_ -= 1, _ === 0 && g.show(T)), p.props.shouldFocusAfterRender && (p.props.shouldReturnFocusAfterClose ? (c.returnFocus(p.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), p.props.onAfterClose && p.props.onAfterClose(), j.default.deregister(p);
|
|
7674
|
+
}, p.open = function() {
|
|
7675
|
+
p.beforeOpen(), p.state.afterOpen && p.state.beforeClose ? (clearTimeout(p.closeTimer), p.setState({ beforeClose: !1 })) : (p.props.shouldFocusAfterRender && (c.setupScopedFocus(p.node), c.markForFocusLater()), p.setState({ isOpen: !0 }, function() {
|
|
7676
|
+
p.openAnimationFrame = requestAnimationFrame(function() {
|
|
7677
|
+
p.setState({ afterOpen: !0 }), p.props.isOpen && p.props.onAfterOpen && p.props.onAfterOpen({
|
|
7678
|
+
overlayEl: p.overlay,
|
|
7679
|
+
contentEl: p.content
|
|
7678
7680
|
});
|
|
7679
7681
|
});
|
|
7680
7682
|
}));
|
|
7681
|
-
},
|
|
7682
|
-
|
|
7683
|
-
},
|
|
7684
|
-
return
|
|
7685
|
-
},
|
|
7686
|
-
var
|
|
7687
|
-
|
|
7688
|
-
|
|
7683
|
+
}, p.close = function() {
|
|
7684
|
+
p.props.closeTimeoutMS > 0 ? p.closeWithTimeout() : p.closeWithoutTimeout();
|
|
7685
|
+
}, p.focusContent = function() {
|
|
7686
|
+
return p.content && !p.contentHasFocus() && p.content.focus({ preventScroll: !0 });
|
|
7687
|
+
}, p.closeWithTimeout = function() {
|
|
7688
|
+
var O = Date.now() + p.props.closeTimeoutMS;
|
|
7689
|
+
p.setState({ beforeClose: !0, closesAt: O }, function() {
|
|
7690
|
+
p.closeTimer = setTimeout(p.closeWithoutTimeout, p.state.closesAt - Date.now());
|
|
7689
7691
|
});
|
|
7690
|
-
},
|
|
7691
|
-
|
|
7692
|
+
}, p.closeWithoutTimeout = function() {
|
|
7693
|
+
p.setState({
|
|
7692
7694
|
beforeClose: !1,
|
|
7693
7695
|
isOpen: !1,
|
|
7694
7696
|
afterOpen: !1,
|
|
7695
7697
|
closesAt: null
|
|
7696
|
-
},
|
|
7697
|
-
},
|
|
7698
|
-
|
|
7699
|
-
},
|
|
7700
|
-
|
|
7701
|
-
},
|
|
7702
|
-
|
|
7703
|
-
},
|
|
7704
|
-
!
|
|
7705
|
-
},
|
|
7706
|
-
|
|
7707
|
-
},
|
|
7708
|
-
|
|
7709
|
-
},
|
|
7710
|
-
return
|
|
7711
|
-
},
|
|
7712
|
-
return
|
|
7713
|
-
},
|
|
7714
|
-
return !
|
|
7715
|
-
},
|
|
7716
|
-
return document.activeElement ===
|
|
7717
|
-
},
|
|
7698
|
+
}, p.afterClose);
|
|
7699
|
+
}, p.handleKeyDown = function(O) {
|
|
7700
|
+
ee(O) && (0, d.default)(p.content, O), p.props.shouldCloseOnEsc && ce(O) && (O.stopPropagation(), p.requestClose(O));
|
|
7701
|
+
}, p.handleOverlayOnClick = function(O) {
|
|
7702
|
+
p.shouldClose === null && (p.shouldClose = !0), p.shouldClose && p.props.shouldCloseOnOverlayClick && (p.ownerHandlesClose() ? p.requestClose(O) : p.focusContent()), p.shouldClose = null;
|
|
7703
|
+
}, p.handleContentOnMouseUp = function() {
|
|
7704
|
+
p.shouldClose = !1;
|
|
7705
|
+
}, p.handleOverlayOnMouseDown = function(O) {
|
|
7706
|
+
!p.props.shouldCloseOnOverlayClick && O.target == p.overlay && O.preventDefault();
|
|
7707
|
+
}, p.handleContentOnClick = function() {
|
|
7708
|
+
p.shouldClose = !1;
|
|
7709
|
+
}, p.handleContentOnMouseDown = function() {
|
|
7710
|
+
p.shouldClose = !1;
|
|
7711
|
+
}, p.requestClose = function(O) {
|
|
7712
|
+
return p.ownerHandlesClose() && p.props.onRequestClose(O);
|
|
7713
|
+
}, p.ownerHandlesClose = function() {
|
|
7714
|
+
return p.props.onRequestClose;
|
|
7715
|
+
}, p.shouldBeClosed = function() {
|
|
7716
|
+
return !p.state.isOpen && !p.state.beforeClose;
|
|
7717
|
+
}, p.contentHasFocus = function() {
|
|
7718
|
+
return document.activeElement === p.content || p.content.contains(document.activeElement);
|
|
7719
|
+
}, p.buildClassName = function(O, T) {
|
|
7718
7720
|
var Z = (typeof T > "u" ? "undefined" : r(T)) === "object" ? T : {
|
|
7719
|
-
base:
|
|
7720
|
-
afterOpen:
|
|
7721
|
-
beforeClose:
|
|
7721
|
+
base: me[O],
|
|
7722
|
+
afterOpen: me[O] + "--after-open",
|
|
7723
|
+
beforeClose: me[O] + "--before-close"
|
|
7722
7724
|
}, I = Z.base;
|
|
7723
|
-
return
|
|
7724
|
-
},
|
|
7725
|
+
return p.state.afterOpen && (I = I + " " + Z.afterOpen), p.state.beforeClose && (I = I + " " + Z.beforeClose), typeof T == "string" && T ? I + " " + T : I;
|
|
7726
|
+
}, p.attributesFromObject = function(O, T) {
|
|
7725
7727
|
return Object.keys(T).reduce(function(Z, I) {
|
|
7726
|
-
return Z[
|
|
7728
|
+
return Z[O + "-" + I] = T[I], Z;
|
|
7727
7729
|
}, {});
|
|
7728
|
-
},
|
|
7730
|
+
}, p.state = {
|
|
7729
7731
|
afterOpen: !1,
|
|
7730
7732
|
beforeClose: !1
|
|
7731
|
-
},
|
|
7733
|
+
}, p.shouldClose = null, p.moveFromContentToOverlay = null, p;
|
|
7732
7734
|
}
|
|
7733
|
-
return o(
|
|
7735
|
+
return o(M, [{
|
|
7734
7736
|
key: "componentDidMount",
|
|
7735
7737
|
value: function() {
|
|
7736
7738
|
this.props.isOpen && this.open();
|
|
7737
7739
|
}
|
|
7738
7740
|
}, {
|
|
7739
7741
|
key: "componentDidUpdate",
|
|
7740
|
-
value: function(
|
|
7741
|
-
process.env.NODE_ENV !== "production" && (
|
|
7742
|
+
value: function(p, O) {
|
|
7743
|
+
process.env.NODE_ENV !== "production" && (p.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), p.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !p.isOpen ? this.open() : !this.props.isOpen && p.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !O.isOpen && this.focusContent();
|
|
7742
7744
|
}
|
|
7743
7745
|
}, {
|
|
7744
7746
|
key: "componentWillUnmount",
|
|
@@ -7748,26 +7750,26 @@ xl.default.subscribe(Ml);
|
|
|
7748
7750
|
}, {
|
|
7749
7751
|
key: "beforeOpen",
|
|
7750
7752
|
value: function() {
|
|
7751
|
-
var
|
|
7752
|
-
I &&
|
|
7753
|
+
var p = this.props, O = p.appElement, T = p.ariaHideApp, Z = p.htmlOpenClassName, I = p.bodyOpenClassName, N = p.parentSelector, k = N && N().ownerDocument || document;
|
|
7754
|
+
I && h.add(k.body, I), Z && h.add(k.getElementsByTagName("html")[0], Z), T && (_ += 1, g.hide(O)), j.default.register(this);
|
|
7753
7755
|
}
|
|
7754
7756
|
// Don't steal focus from inner elements
|
|
7755
7757
|
}, {
|
|
7756
7758
|
key: "render",
|
|
7757
7759
|
value: function() {
|
|
7758
|
-
var
|
|
7760
|
+
var p = this.props, O = p.id, T = p.className, Z = p.overlayClassName, I = p.defaultStyles, N = p.children, k = T ? {} : I.content, z = Z ? {} : I.overlay;
|
|
7759
7761
|
if (this.shouldBeClosed())
|
|
7760
7762
|
return null;
|
|
7761
|
-
var
|
|
7763
|
+
var G = {
|
|
7762
7764
|
ref: this.setOverlayRef,
|
|
7763
7765
|
className: this.buildClassName("overlay", Z),
|
|
7764
|
-
style: n({},
|
|
7766
|
+
style: n({}, z, this.props.style.overlay),
|
|
7765
7767
|
onClick: this.handleOverlayOnClick,
|
|
7766
7768
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
7767
|
-
},
|
|
7768
|
-
id:
|
|
7769
|
+
}, D = n({
|
|
7770
|
+
id: O,
|
|
7769
7771
|
ref: this.setContentRef,
|
|
7770
|
-
style: n({},
|
|
7772
|
+
style: n({}, k, this.props.style.content),
|
|
7771
7773
|
className: this.buildClassName("content", T),
|
|
7772
7774
|
tabIndex: "-1",
|
|
7773
7775
|
onKeyDown: this.handleKeyDown,
|
|
@@ -7778,18 +7780,18 @@ xl.default.subscribe(Ml);
|
|
|
7778
7780
|
"aria-label": this.props.contentLabel
|
|
7779
7781
|
}, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7780
7782
|
"data-testid": this.props.testId
|
|
7781
|
-
}),
|
|
7782
|
-
return this.props.overlayElement(
|
|
7783
|
+
}), R = this.props.contentElement(D, N);
|
|
7784
|
+
return this.props.overlayElement(G, R);
|
|
7783
7785
|
}
|
|
7784
|
-
}]),
|
|
7786
|
+
}]), M;
|
|
7785
7787
|
}(i.Component);
|
|
7786
|
-
|
|
7788
|
+
$.defaultProps = {
|
|
7787
7789
|
style: {
|
|
7788
7790
|
overlay: {},
|
|
7789
7791
|
content: {}
|
|
7790
7792
|
},
|
|
7791
7793
|
defaultStyles: {}
|
|
7792
|
-
},
|
|
7794
|
+
}, $.propTypes = {
|
|
7793
7795
|
isOpen: A.default.bool.isRequired,
|
|
7794
7796
|
defaultStyles: A.default.shape({
|
|
7795
7797
|
content: A.default.object,
|
|
@@ -7805,7 +7807,7 @@ xl.default.subscribe(Ml);
|
|
|
7805
7807
|
bodyOpenClassName: A.default.string,
|
|
7806
7808
|
htmlOpenClassName: A.default.string,
|
|
7807
7809
|
ariaHideApp: A.default.bool,
|
|
7808
|
-
appElement: A.default.oneOfType([A.default.instanceOf(K.default), A.default.instanceOf(
|
|
7810
|
+
appElement: A.default.oneOfType([A.default.instanceOf(K.default), A.default.instanceOf(y.SafeHTMLCollection), A.default.instanceOf(y.SafeNodeList), A.default.arrayOf(A.default.instanceOf(K.default))]),
|
|
7809
7811
|
onAfterOpen: A.default.func,
|
|
7810
7812
|
onAfterClose: A.default.func,
|
|
7811
7813
|
onRequestClose: A.default.func,
|
|
@@ -7826,7 +7828,7 @@ xl.default.subscribe(Ml);
|
|
|
7826
7828
|
overlayElement: A.default.func,
|
|
7827
7829
|
contentElement: A.default.func,
|
|
7828
7830
|
testId: A.default.string
|
|
7829
|
-
}, t.default =
|
|
7831
|
+
}, t.default = $, e.exports = t.default;
|
|
7830
7832
|
})(Un, Un.exports);
|
|
7831
7833
|
var Sl = Un.exports;
|
|
7832
7834
|
function ui() {
|
|
@@ -7914,7 +7916,7 @@ var Ao = Object.assign || function(e) {
|
|
|
7914
7916
|
return function(t, n, r) {
|
|
7915
7917
|
return n && e(t.prototype, n), r && e(t, r), t;
|
|
7916
7918
|
};
|
|
7917
|
-
}(), di =
|
|
7919
|
+
}(), di = se, rn = Dt(di), jl = Yi, on = Dt(jl), zl = An, P = Dt(zl), Yl = Sl, so = Dt(Yl), Jl = De, Nl = Rl(Jl), $e = Je, lo = Dt($e), Dl = El;
|
|
7918
7920
|
function Rl(e) {
|
|
7919
7921
|
if (e && e.__esModule)
|
|
7920
7922
|
return e;
|
|
@@ -8022,44 +8024,44 @@ var Ct = function(e) {
|
|
|
8022
8024
|
}]), t;
|
|
8023
8025
|
}(di.Component);
|
|
8024
8026
|
Ct.propTypes = {
|
|
8025
|
-
isOpen:
|
|
8026
|
-
style:
|
|
8027
|
-
content:
|
|
8028
|
-
overlay:
|
|
8027
|
+
isOpen: P.default.bool.isRequired,
|
|
8028
|
+
style: P.default.shape({
|
|
8029
|
+
content: P.default.object,
|
|
8030
|
+
overlay: P.default.object
|
|
8029
8031
|
}),
|
|
8030
|
-
portalClassName:
|
|
8031
|
-
bodyOpenClassName:
|
|
8032
|
-
htmlOpenClassName:
|
|
8033
|
-
className:
|
|
8034
|
-
base:
|
|
8035
|
-
afterOpen:
|
|
8036
|
-
beforeClose:
|
|
8032
|
+
portalClassName: P.default.string,
|
|
8033
|
+
bodyOpenClassName: P.default.string,
|
|
8034
|
+
htmlOpenClassName: P.default.string,
|
|
8035
|
+
className: P.default.oneOfType([P.default.string, P.default.shape({
|
|
8036
|
+
base: P.default.string.isRequired,
|
|
8037
|
+
afterOpen: P.default.string.isRequired,
|
|
8038
|
+
beforeClose: P.default.string.isRequired
|
|
8037
8039
|
})]),
|
|
8038
|
-
overlayClassName:
|
|
8039
|
-
base:
|
|
8040
|
-
afterOpen:
|
|
8041
|
-
beforeClose:
|
|
8040
|
+
overlayClassName: P.default.oneOfType([P.default.string, P.default.shape({
|
|
8041
|
+
base: P.default.string.isRequired,
|
|
8042
|
+
afterOpen: P.default.string.isRequired,
|
|
8043
|
+
beforeClose: P.default.string.isRequired
|
|
8042
8044
|
})]),
|
|
8043
|
-
appElement:
|
|
8044
|
-
onAfterOpen:
|
|
8045
|
-
onRequestClose:
|
|
8046
|
-
closeTimeoutMS:
|
|
8047
|
-
ariaHideApp:
|
|
8048
|
-
shouldFocusAfterRender:
|
|
8049
|
-
shouldCloseOnOverlayClick:
|
|
8050
|
-
shouldReturnFocusAfterClose:
|
|
8051
|
-
preventScroll:
|
|
8052
|
-
parentSelector:
|
|
8053
|
-
aria:
|
|
8054
|
-
data:
|
|
8055
|
-
role:
|
|
8056
|
-
contentLabel:
|
|
8057
|
-
shouldCloseOnEsc:
|
|
8058
|
-
overlayRef:
|
|
8059
|
-
contentRef:
|
|
8060
|
-
id:
|
|
8061
|
-
overlayElement:
|
|
8062
|
-
contentElement:
|
|
8045
|
+
appElement: P.default.oneOfType([P.default.instanceOf(lo.default), P.default.instanceOf($e.SafeHTMLCollection), P.default.instanceOf($e.SafeNodeList), P.default.arrayOf(P.default.instanceOf(lo.default))]),
|
|
8046
|
+
onAfterOpen: P.default.func,
|
|
8047
|
+
onRequestClose: P.default.func,
|
|
8048
|
+
closeTimeoutMS: P.default.number,
|
|
8049
|
+
ariaHideApp: P.default.bool,
|
|
8050
|
+
shouldFocusAfterRender: P.default.bool,
|
|
8051
|
+
shouldCloseOnOverlayClick: P.default.bool,
|
|
8052
|
+
shouldReturnFocusAfterClose: P.default.bool,
|
|
8053
|
+
preventScroll: P.default.bool,
|
|
8054
|
+
parentSelector: P.default.func,
|
|
8055
|
+
aria: P.default.object,
|
|
8056
|
+
data: P.default.object,
|
|
8057
|
+
role: P.default.string,
|
|
8058
|
+
contentLabel: P.default.string,
|
|
8059
|
+
shouldCloseOnEsc: P.default.bool,
|
|
8060
|
+
overlayRef: P.default.func,
|
|
8061
|
+
contentRef: P.default.func,
|
|
8062
|
+
id: P.default.string,
|
|
8063
|
+
overlayElement: P.default.func,
|
|
8064
|
+
contentElement: P.default.func
|
|
8063
8065
|
};
|
|
8064
8066
|
Ct.defaultProps = {
|
|
8065
8067
|
isOpen: !1,
|
|
@@ -8224,7 +8226,7 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8224
8226
|
{
|
|
8225
8227
|
width: 100,
|
|
8226
8228
|
height: 100,
|
|
8227
|
-
fill:
|
|
8229
|
+
fill: be[r]
|
|
8228
8230
|
}
|
|
8229
8231
|
) }) }),
|
|
8230
8232
|
/* @__PURE__ */ s.jsx("div", { className: "mb-5 h-[50px] w-full", children: /* @__PURE__ */ s.jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ s.jsx("span", { className: "text-3xl font-bold text-flex-purple", children: "Playable Size Too Big" }) }) }),
|
|
@@ -8247,7 +8249,7 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8247
8249
|
{
|
|
8248
8250
|
className: " pointer-events-auto ml-3 flex h-full w-[180px] items-center justify-center rounded-md transition-all hover:scale-105 cursor-pointer",
|
|
8249
8251
|
style: {
|
|
8250
|
-
backgroundColor:
|
|
8252
|
+
backgroundColor: be[r]
|
|
8251
8253
|
},
|
|
8252
8254
|
onClick: () => e(!1),
|
|
8253
8255
|
children: /* @__PURE__ */ s.jsx("span", { className: "text-center align-middle text-xl font-bold text-white", children: "Continue" })
|
|
@@ -8389,29 +8391,29 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8389
8391
|
fetchFileUrl: q,
|
|
8390
8392
|
copyLinkUrl: g
|
|
8391
8393
|
}) => {
|
|
8392
|
-
const [
|
|
8393
|
-
us(a, A,
|
|
8394
|
-
const
|
|
8394
|
+
const [f, h] = Q(window.innerWidth), [y, K] = Q(!1), [E, j] = Q(l), [L, v] = Q(!1), [V, U] = Q(!0), [re, me] = Q(null), [ee, ce] = Q(""), [_, $] = Q("Loading..."), [W, M] = Q("Loading..."), [J, p] = Q("game");
|
|
8395
|
+
us(a, A, ce, q);
|
|
8396
|
+
const O = async () => {
|
|
8395
8397
|
Ot(n, "preview", null, null, !1).then((T) => {
|
|
8396
|
-
K(!0),
|
|
8398
|
+
K(!0), j(q + "/" + T.url), (a === "Flex" || a === "Ready" || a === "Playable") && (T.size >= 5 ? v(!0) : v(!1), me(T.size)), U(!1);
|
|
8397
8399
|
});
|
|
8398
8400
|
};
|
|
8399
|
-
return
|
|
8400
|
-
e ?
|
|
8401
|
-
}, [e]),
|
|
8401
|
+
return ve(() => {
|
|
8402
|
+
e ? y || (O(), K(!0)) : (K(!1), j(""));
|
|
8403
|
+
}, [e]), ve(() => {
|
|
8402
8404
|
const T = () => {
|
|
8403
|
-
|
|
8405
|
+
h(window.innerWidth);
|
|
8404
8406
|
};
|
|
8405
8407
|
return window.addEventListener("resize", T), () => {
|
|
8406
8408
|
window.removeEventListener("resize", T);
|
|
8407
8409
|
};
|
|
8408
|
-
}, []),
|
|
8410
|
+
}, []), V && e ? /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(
|
|
8409
8411
|
tr,
|
|
8410
8412
|
{
|
|
8411
8413
|
isOpen: e,
|
|
8412
8414
|
ariaHideApp: !1,
|
|
8413
8415
|
onRequestClose: () => {
|
|
8414
|
-
t(), a === "Flex" &&
|
|
8416
|
+
t(), a === "Flex" && U(!0);
|
|
8415
8417
|
},
|
|
8416
8418
|
style: {
|
|
8417
8419
|
content: {
|
|
@@ -8422,8 +8424,8 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8422
8424
|
borderRadius: "0.75rem",
|
|
8423
8425
|
backgroundColor: "white",
|
|
8424
8426
|
zIndex: 50,
|
|
8425
|
-
height:
|
|
8426
|
-
width:
|
|
8427
|
+
height: f > 1440 ? "700px" : "650px",
|
|
8428
|
+
width: f > 1440 ? "965px" : "975px",
|
|
8427
8429
|
overflow: "hidden",
|
|
8428
8430
|
paddingTop: "0px"
|
|
8429
8431
|
},
|
|
@@ -8444,8 +8446,8 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8444
8446
|
{
|
|
8445
8447
|
style: {
|
|
8446
8448
|
display: "flex",
|
|
8447
|
-
height:
|
|
8448
|
-
width:
|
|
8449
|
+
height: f > 1440 ? "700px" : "650px",
|
|
8450
|
+
width: f > 1440 ? "965px" : "975px",
|
|
8449
8451
|
alignItems: "center",
|
|
8450
8452
|
justifyContent: "center"
|
|
8451
8453
|
},
|
|
@@ -8460,7 +8462,7 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8460
8462
|
}
|
|
8461
8463
|
)
|
|
8462
8464
|
}
|
|
8463
|
-
) }) :
|
|
8465
|
+
) }) : V && a === "Flex" ? null : /* @__PURE__ */ s.jsxs(
|
|
8464
8466
|
"div",
|
|
8465
8467
|
{
|
|
8466
8468
|
onMouseDown: (T) => {
|
|
@@ -8470,22 +8472,22 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8470
8472
|
T.stopPropagation();
|
|
8471
8473
|
},
|
|
8472
8474
|
children: [
|
|
8473
|
-
|
|
8475
|
+
L && e && /* @__PURE__ */ s.jsx(
|
|
8474
8476
|
Vl,
|
|
8475
8477
|
{
|
|
8476
|
-
setIsExceedingFileSizeAccepted:
|
|
8478
|
+
setIsExceedingFileSizeAccepted: v,
|
|
8477
8479
|
closeModal: t,
|
|
8478
|
-
setLoading:
|
|
8480
|
+
setLoading: U,
|
|
8479
8481
|
typeOfProduct: a
|
|
8480
8482
|
}
|
|
8481
8483
|
),
|
|
8482
|
-
!
|
|
8484
|
+
!L && /* @__PURE__ */ s.jsxs(
|
|
8483
8485
|
tr,
|
|
8484
8486
|
{
|
|
8485
8487
|
isOpen: e,
|
|
8486
8488
|
ariaHideApp: !1,
|
|
8487
8489
|
onRequestClose: () => {
|
|
8488
|
-
t(), a === "Flex" &&
|
|
8490
|
+
t(), a === "Flex" && U(!0);
|
|
8489
8491
|
},
|
|
8490
8492
|
style: {
|
|
8491
8493
|
content: {
|
|
@@ -8496,8 +8498,8 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8496
8498
|
borderRadius: "0.75rem",
|
|
8497
8499
|
backgroundColor: "white",
|
|
8498
8500
|
zIndex: 50,
|
|
8499
|
-
height:
|
|
8500
|
-
width:
|
|
8501
|
+
height: f > 1440 ? "700px" : "650px",
|
|
8502
|
+
width: f > 1440 ? "965px" : "975px",
|
|
8501
8503
|
overflow: "hidden",
|
|
8502
8504
|
paddingTop: "0px"
|
|
8503
8505
|
},
|
|
@@ -8530,7 +8532,7 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8530
8532
|
"button",
|
|
8531
8533
|
{
|
|
8532
8534
|
onClick: () => {
|
|
8533
|
-
t(), a === "Flex" &&
|
|
8535
|
+
t(), a === "Flex" && U(!0);
|
|
8534
8536
|
},
|
|
8535
8537
|
style: {
|
|
8536
8538
|
color: "#718096",
|
|
@@ -8544,7 +8546,7 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8544
8546
|
}
|
|
8545
8547
|
),
|
|
8546
8548
|
/* @__PURE__ */ s.jsxs(Gi, { children: [
|
|
8547
|
-
|
|
8549
|
+
y ? /* @__PURE__ */ s.jsx(
|
|
8548
8550
|
ds,
|
|
8549
8551
|
{
|
|
8550
8552
|
versionName: o,
|
|
@@ -8555,10 +8557,10 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8555
8557
|
api: A,
|
|
8556
8558
|
fetchFileUrl: q,
|
|
8557
8559
|
copyLinkUrl: g,
|
|
8558
|
-
setSafariCopyLink:
|
|
8559
|
-
iosLink:
|
|
8560
|
+
setSafariCopyLink: ce,
|
|
8561
|
+
iosLink: _,
|
|
8560
8562
|
androidLink: W,
|
|
8561
|
-
urlType:
|
|
8563
|
+
urlType: J
|
|
8562
8564
|
}
|
|
8563
8565
|
) : /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(
|
|
8564
8566
|
"div",
|
|
@@ -8570,7 +8572,7 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8570
8572
|
justifyContent: "center",
|
|
8571
8573
|
alignItems: "center",
|
|
8572
8574
|
padding: "5px",
|
|
8573
|
-
height:
|
|
8575
|
+
height: f > 1440 ? "650px" : "625px",
|
|
8574
8576
|
borderRadius: "0px 0px 0px 16px",
|
|
8575
8577
|
marginTop: "20px"
|
|
8576
8578
|
// 'rounded-l-xl' typically means large rounded corners on the left side
|
|
@@ -8599,26 +8601,26 @@ const tr = /* @__PURE__ */ Ji(Ql), Pl = ({ width: e, height: t, fill: n }) => /*
|
|
|
8599
8601
|
title: c,
|
|
8600
8602
|
handleDownloadError: d,
|
|
8601
8603
|
fetchFileUrl: q,
|
|
8602
|
-
fileSize:
|
|
8603
|
-
setFileSize:
|
|
8604
|
-
setSafariCopyLink:
|
|
8605
|
-
iosLink:
|
|
8604
|
+
fileSize: re,
|
|
8605
|
+
setFileSize: me,
|
|
8606
|
+
setSafariCopyLink: ce,
|
|
8607
|
+
iosLink: _,
|
|
8606
8608
|
androidLink: W,
|
|
8607
|
-
setIosLink:
|
|
8608
|
-
setAndroidLink:
|
|
8609
|
-
urlType:
|
|
8610
|
-
setUrlType:
|
|
8609
|
+
setIosLink: $,
|
|
8610
|
+
setAndroidLink: M,
|
|
8611
|
+
urlType: J,
|
|
8612
|
+
setUrlType: p
|
|
8611
8613
|
}
|
|
8612
8614
|
)
|
|
8613
8615
|
] }),
|
|
8614
8616
|
/* @__PURE__ */ s.jsx(Qn, {}),
|
|
8615
|
-
|
|
8617
|
+
ee && /* @__PURE__ */ s.jsx(
|
|
8616
8618
|
Bl,
|
|
8617
8619
|
{
|
|
8618
8620
|
onClose: () => {
|
|
8619
|
-
Nt(
|
|
8621
|
+
Nt(ee), ce("");
|
|
8620
8622
|
},
|
|
8621
|
-
url:
|
|
8623
|
+
url: ee
|
|
8622
8624
|
}
|
|
8623
8625
|
),
|
|
8624
8626
|
/* @__PURE__ */ s.jsx(
|