@obb871001/api-integration-sdk 1.0.436 → 1.0.438
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.cjs +5 -5
- package/dist/index.js +969 -943
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import ve, { createContext as ni, useContext as Ei, useState as
|
|
2
|
-
import { useQueries as
|
|
3
|
-
import
|
|
4
|
-
import { get as j, replace as ot, isEmpty as Fe, find as Be, entries as
|
|
5
|
-
import
|
|
1
|
+
import ve, { createContext as ni, useContext as Ei, useState as Qe, useMemo as ka, useCallback as M, useRef as se, useEffect as ce } from "react";
|
|
2
|
+
import { useQueries as sr, useQuery as Y, useQueryClient as ya, useMutation as ae, useInfiniteQuery as sl, QueryClient as ml, QueryClientProvider as ul } from "@tanstack/react-query";
|
|
3
|
+
import pl from "axios";
|
|
4
|
+
import { get as j, replace as ot, isEmpty as Fe, find as Be, entries as mr, forEach as gl, omit as ur, map as Se, isArray as ta, toLower as Ii, keyBy as dl, includes as cl, isObject as ri, flatMap as li, values as fl, keys as zi } from "lodash";
|
|
5
|
+
import _l from "react-dom";
|
|
6
6
|
var ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
function Di(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function yl(e) {
|
|
11
11
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
12
12
|
var t = e.default;
|
|
13
13
|
if (typeof t == "function") {
|
|
@@ -33,7 +33,7 @@ function fl(e) {
|
|
|
33
33
|
}
|
|
34
34
|
var ct = { exports: {} }, at = {};
|
|
35
35
|
var Vi;
|
|
36
|
-
function
|
|
36
|
+
function bl() {
|
|
37
37
|
if (Vi) return at;
|
|
38
38
|
Vi = 1;
|
|
39
39
|
var e = ve, t = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -48,7 +48,7 @@ function _l() {
|
|
|
48
48
|
}
|
|
49
49
|
var tt = {};
|
|
50
50
|
var Ji;
|
|
51
|
-
function
|
|
51
|
+
function Ul() {
|
|
52
52
|
return Ji || (Ji = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
53
|
var e = ve, t = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), s = /* @__PURE__ */ Symbol.for("react.strict_mode"), u = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.provider"), d = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), i = /* @__PURE__ */ Symbol.for("react.suspense"), r = /* @__PURE__ */ Symbol.for("react.suspense_list"), o = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, f = "@@iterator";
|
|
54
54
|
function y(x) {
|
|
@@ -69,10 +69,10 @@ function yl() {
|
|
|
69
69
|
{
|
|
70
70
|
var ne = _.ReactDebugCurrentFrame, _e = ne.getStackAddendum();
|
|
71
71
|
_e !== "" && (J += "%s", $ = $.concat([_e]));
|
|
72
|
-
var
|
|
72
|
+
var Ce = $.map(function(ge) {
|
|
73
73
|
return String(ge);
|
|
74
74
|
});
|
|
75
|
-
|
|
75
|
+
Ce.unshift("Warning: " + J), Function.prototype.apply.call(console[x], console, Ce);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
var C = !1, v = !1, T = !1, h = !1, D = !1, H;
|
|
@@ -129,9 +129,9 @@ function yl() {
|
|
|
129
129
|
var ne = x.displayName || null;
|
|
130
130
|
return ne !== null ? ne : P(x.type) || "Memo";
|
|
131
131
|
case m: {
|
|
132
|
-
var _e = x,
|
|
132
|
+
var _e = x, Ce = _e._payload, ge = _e._init;
|
|
133
133
|
try {
|
|
134
|
-
return P(ge(
|
|
134
|
+
return P(ge(Ce));
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
@@ -220,7 +220,7 @@ function yl() {
|
|
|
220
220
|
var Q = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
221
|
Z = new Q();
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function K(x, J) {
|
|
224
224
|
if (!x || V)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
@@ -232,8 +232,8 @@ function yl() {
|
|
|
232
232
|
V = !0;
|
|
233
233
|
var _e = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
|
-
var
|
|
236
|
-
|
|
235
|
+
var Ce;
|
|
236
|
+
Ce = ie.current, ie.current = null, w();
|
|
237
237
|
try {
|
|
238
238
|
if (J) {
|
|
239
239
|
var ge = function() {
|
|
@@ -246,29 +246,29 @@ function yl() {
|
|
|
246
246
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
247
247
|
try {
|
|
248
248
|
Reflect.construct(ge, []);
|
|
249
|
-
} catch (
|
|
250
|
-
ne =
|
|
249
|
+
} catch (Ze) {
|
|
250
|
+
ne = Ze;
|
|
251
251
|
}
|
|
252
252
|
Reflect.construct(x, [], ge);
|
|
253
253
|
} else {
|
|
254
254
|
try {
|
|
255
255
|
ge.call();
|
|
256
|
-
} catch (
|
|
257
|
-
ne =
|
|
256
|
+
} catch (Ze) {
|
|
257
|
+
ne = Ze;
|
|
258
258
|
}
|
|
259
259
|
x.call(ge.prototype);
|
|
260
260
|
}
|
|
261
261
|
} else {
|
|
262
262
|
try {
|
|
263
263
|
throw Error();
|
|
264
|
-
} catch (
|
|
265
|
-
ne =
|
|
264
|
+
} catch (Ze) {
|
|
265
|
+
ne = Ze;
|
|
266
266
|
}
|
|
267
267
|
x();
|
|
268
268
|
}
|
|
269
|
-
} catch (
|
|
270
|
-
if (
|
|
271
|
-
for (var ue =
|
|
269
|
+
} catch (Ze) {
|
|
270
|
+
if (Ze && ne && typeof Ze.stack == "string") {
|
|
271
|
+
for (var ue = Ze.stack.split(`
|
|
272
272
|
`), ze = ne.stack.split(`
|
|
273
273
|
`), xe = ue.length - 1, De = ze.length - 1; xe >= 1 && De >= 0 && ue[xe] !== ze[De]; )
|
|
274
274
|
De--;
|
|
@@ -286,13 +286,13 @@ function yl() {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
V = !1, ie.current =
|
|
289
|
+
V = !1, ie.current = Ce, X(), Error.prepareStackTrace = _e;
|
|
290
290
|
}
|
|
291
291
|
var Ia = x ? x.displayName || x.name : "", Da = Ia ? B(Ia) : "";
|
|
292
292
|
return typeof x == "function" && Z.set(x, Da), Da;
|
|
293
293
|
}
|
|
294
294
|
function ee(x, J, $) {
|
|
295
|
-
return
|
|
295
|
+
return K(x, !1);
|
|
296
296
|
}
|
|
297
297
|
function de(x) {
|
|
298
298
|
var J = x.prototype;
|
|
@@ -302,7 +302,7 @@ function yl() {
|
|
|
302
302
|
if (x == null)
|
|
303
303
|
return "";
|
|
304
304
|
if (typeof x == "function")
|
|
305
|
-
return
|
|
305
|
+
return K(x, de(x));
|
|
306
306
|
if (typeof x == "string")
|
|
307
307
|
return B(x);
|
|
308
308
|
switch (x) {
|
|
@@ -318,16 +318,16 @@ function yl() {
|
|
|
318
318
|
case o:
|
|
319
319
|
return he(x.type, J, $);
|
|
320
320
|
case m: {
|
|
321
|
-
var ne = x, _e = ne._payload,
|
|
321
|
+
var ne = x, _e = ne._payload, Ce = ne._init;
|
|
322
322
|
try {
|
|
323
|
-
return he(
|
|
323
|
+
return he(Ce(_e), J, $);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
return "";
|
|
329
329
|
}
|
|
330
|
-
var
|
|
330
|
+
var be = Object.prototype.hasOwnProperty, Je = {}, Te = _.ReactDebugCurrentFrame;
|
|
331
331
|
function Ge(x) {
|
|
332
332
|
if (x) {
|
|
333
333
|
var J = x._owner, $ = he(x.type, x._source, J ? J.type : null);
|
|
@@ -337,9 +337,9 @@ function yl() {
|
|
|
337
337
|
}
|
|
338
338
|
function Xe(x, J, $, ne, _e) {
|
|
339
339
|
{
|
|
340
|
-
var
|
|
340
|
+
var Ce = Function.call.bind(be);
|
|
341
341
|
for (var ge in x)
|
|
342
|
-
if (
|
|
342
|
+
if (Ce(x, ge)) {
|
|
343
343
|
var ue = void 0;
|
|
344
344
|
try {
|
|
345
345
|
if (typeof x[ge] != "function") {
|
|
@@ -350,12 +350,12 @@ function yl() {
|
|
|
350
350
|
} catch (xe) {
|
|
351
351
|
ue = xe;
|
|
352
352
|
}
|
|
353
|
-
ue && !(ue instanceof Error) && (Ge(_e), c("%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).", ne || "React class", $, ge, typeof ue), Ge(null)), ue instanceof Error && !(ue.message in
|
|
353
|
+
ue && !(ue instanceof Error) && (Ge(_e), c("%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).", ne || "React class", $, ge, typeof ue), Ge(null)), ue instanceof Error && !(ue.message in Je) && (Je[ue.message] = !0, Ge(_e), c("Failed %s type: %s", $, ue.message), Ge(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
var fe = Array.isArray;
|
|
358
|
-
function
|
|
358
|
+
function Ue(x) {
|
|
359
359
|
return fe(x);
|
|
360
360
|
}
|
|
361
361
|
function Ee(x) {
|
|
@@ -366,17 +366,17 @@ function yl() {
|
|
|
366
366
|
}
|
|
367
367
|
function Ie(x) {
|
|
368
368
|
try {
|
|
369
|
-
return
|
|
369
|
+
return Ke(x), !1;
|
|
370
370
|
} catch {
|
|
371
371
|
return !0;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function Ke(x) {
|
|
375
375
|
return "" + x;
|
|
376
376
|
}
|
|
377
377
|
function Me(x) {
|
|
378
378
|
if (Ie(x))
|
|
379
|
-
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ee(x)),
|
|
379
|
+
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ee(x)), Ke(x);
|
|
380
380
|
}
|
|
381
381
|
var He = _.ReactCurrentOwner, ia = {
|
|
382
382
|
key: !0,
|
|
@@ -384,8 +384,8 @@ function yl() {
|
|
|
384
384
|
__self: !0,
|
|
385
385
|
__source: !0
|
|
386
386
|
}, ua, ba;
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
387
|
+
function qe(x) {
|
|
388
|
+
if (be.call(x, "ref")) {
|
|
389
389
|
var J = Object.getOwnPropertyDescriptor(x, "ref").get;
|
|
390
390
|
if (J && J.isReactWarning)
|
|
391
391
|
return !1;
|
|
@@ -393,7 +393,7 @@ function yl() {
|
|
|
393
393
|
return x.ref !== void 0;
|
|
394
394
|
}
|
|
395
395
|
function na(x) {
|
|
396
|
-
if (
|
|
396
|
+
if (be.call(x, "key")) {
|
|
397
397
|
var J = Object.getOwnPropertyDescriptor(x, "key").get;
|
|
398
398
|
if (J && J.isReactWarning)
|
|
399
399
|
return !1;
|
|
@@ -425,7 +425,7 @@ function yl() {
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var Xa = function(x, J, $, ne, _e,
|
|
428
|
+
var Xa = function(x, J, $, ne, _e, Ce, ge) {
|
|
429
429
|
var ue = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: t,
|
|
@@ -435,7 +435,7 @@ function yl() {
|
|
|
435
435
|
ref: $,
|
|
436
436
|
props: ge,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
|
-
_owner:
|
|
438
|
+
_owner: Ce
|
|
439
439
|
};
|
|
440
440
|
return ue._store = {}, Object.defineProperty(ue._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
@@ -456,14 +456,14 @@ function yl() {
|
|
|
456
456
|
};
|
|
457
457
|
function et(x, J, $, ne, _e) {
|
|
458
458
|
{
|
|
459
|
-
var
|
|
460
|
-
$ !== void 0 && (Me($), ue = "" + $), na(J) && (Me(J.key), ue = "" + J.key),
|
|
461
|
-
for (
|
|
462
|
-
|
|
459
|
+
var Ce, ge = {}, ue = null, ze = null;
|
|
460
|
+
$ !== void 0 && (Me($), ue = "" + $), na(J) && (Me(J.key), ue = "" + J.key), qe(J) && (ze = J.ref, Ya(J, _e));
|
|
461
|
+
for (Ce in J)
|
|
462
|
+
be.call(J, Ce) && !ia.hasOwnProperty(Ce) && (ge[Ce] = J[Ce]);
|
|
463
463
|
if (x && x.defaultProps) {
|
|
464
464
|
var xe = x.defaultProps;
|
|
465
|
-
for (
|
|
466
|
-
ge[
|
|
465
|
+
for (Ce in xe)
|
|
466
|
+
ge[Ce] === void 0 && (ge[Ce] = xe[Ce]);
|
|
467
467
|
}
|
|
468
468
|
if (ue || ze) {
|
|
469
469
|
var De = typeof x == "function" ? x.displayName || x.name || "Unknown" : x;
|
|
@@ -530,7 +530,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
530
530
|
{
|
|
531
531
|
if (typeof x != "object")
|
|
532
532
|
return;
|
|
533
|
-
if (
|
|
533
|
+
if (Ue(x))
|
|
534
534
|
for (var $ = 0; $ < x.length; $++) {
|
|
535
535
|
var ne = x[$];
|
|
536
536
|
va(ne) && Wa(ne, J);
|
|
@@ -540,12 +540,12 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
540
540
|
else if (x) {
|
|
541
541
|
var _e = y(x);
|
|
542
542
|
if (typeof _e == "function" && _e !== x.entries)
|
|
543
|
-
for (var
|
|
543
|
+
for (var Ce = _e.call(x), ge; !(ge = Ce.next()).done; )
|
|
544
544
|
va(ge.value) && Wa(ge.value, J);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function q(x) {
|
|
549
549
|
{
|
|
550
550
|
var J = x.type;
|
|
551
551
|
if (J == null || typeof J == "string")
|
|
@@ -583,7 +583,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var la = {};
|
|
586
|
-
function We(x, J, $, ne, _e,
|
|
586
|
+
function We(x, J, $, ne, _e, Ce) {
|
|
587
587
|
{
|
|
588
588
|
var ge = k(x);
|
|
589
589
|
if (!ge) {
|
|
@@ -592,16 +592,16 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
592
592
|
var ze = Ba();
|
|
593
593
|
ze ? ue += ze : ue += Oa();
|
|
594
594
|
var xe;
|
|
595
|
-
x === null ? xe = "null" :
|
|
595
|
+
x === null ? xe = "null" : Ue(x) ? xe = "array" : x !== void 0 && x.$$typeof === t ? (xe = "<" + (P(x.type) || "Unknown") + " />", ue = " Did you accidentally export a JSX literal instead of a component?") : xe = typeof x, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", xe, ue);
|
|
596
596
|
}
|
|
597
|
-
var De = et(x, J, $, _e,
|
|
597
|
+
var De = et(x, J, $, _e, Ce);
|
|
598
598
|
if (De == null)
|
|
599
599
|
return De;
|
|
600
600
|
if (ge) {
|
|
601
601
|
var aa = J.children;
|
|
602
602
|
if (aa !== void 0)
|
|
603
603
|
if (ne)
|
|
604
|
-
if (
|
|
604
|
+
if (Ue(aa)) {
|
|
605
605
|
for (var Ia = 0; Ia < aa.length; Ia++)
|
|
606
606
|
Re(aa[Ia], x);
|
|
607
607
|
Object.freeze && Object.freeze(aa);
|
|
@@ -610,21 +610,21 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
610
610
|
else
|
|
611
611
|
Re(aa, x);
|
|
612
612
|
}
|
|
613
|
-
if (
|
|
614
|
-
var Da = P(x),
|
|
615
|
-
return
|
|
616
|
-
}), mi =
|
|
613
|
+
if (be.call(J, "key")) {
|
|
614
|
+
var Da = P(x), Ze = Object.keys(J).filter(function(ol) {
|
|
615
|
+
return ol !== "key";
|
|
616
|
+
}), mi = Ze.length > 0 ? "{key: someKey, " + Ze.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
617
|
if (!la[Da + mi]) {
|
|
618
|
-
var
|
|
618
|
+
var ll = Ze.length > 0 ? "{" + Ze.join(": ..., ") + ": ...}" : "{}";
|
|
619
619
|
c(`A props object containing a "key" prop is being spread into JSX:
|
|
620
620
|
let props = %s;
|
|
621
621
|
<%s {...props} />
|
|
622
622
|
React keys must be passed directly to JSX without using spread:
|
|
623
623
|
let props = %s;
|
|
624
|
-
<%s key={someKey} {...props} />`, mi, Da,
|
|
624
|
+
<%s key={someKey} {...props} />`, mi, Da, ll, Da), la[Da + mi] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
|
-
return x === n ? Pe(De) :
|
|
627
|
+
return x === n ? Pe(De) : q(De), De;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
function oa(x, J, $) {
|
|
@@ -633,25 +633,25 @@ React keys must be passed directly to JSX without using spread:
|
|
|
633
633
|
function dt(x, J, $) {
|
|
634
634
|
return We(x, J, $, !1);
|
|
635
635
|
}
|
|
636
|
-
var si = dt,
|
|
637
|
-
tt.Fragment = n, tt.jsx = si, tt.jsxs =
|
|
636
|
+
var si = dt, rl = oa;
|
|
637
|
+
tt.Fragment = n, tt.jsx = si, tt.jsxs = rl;
|
|
638
638
|
})()), tt;
|
|
639
639
|
}
|
|
640
640
|
var Zi;
|
|
641
|
-
function
|
|
642
|
-
return Zi || (Zi = 1, process.env.NODE_ENV === "production" ? ct.exports =
|
|
641
|
+
function Cl() {
|
|
642
|
+
return Zi || (Zi = 1, process.env.NODE_ENV === "production" ? ct.exports = bl() : ct.exports = Ul()), ct.exports;
|
|
643
643
|
}
|
|
644
|
-
var te =
|
|
645
|
-
const
|
|
646
|
-
const e = Ei(
|
|
644
|
+
var te = Cl();
|
|
645
|
+
const pr = ni(null), re = () => {
|
|
646
|
+
const e = Ei(pr);
|
|
647
647
|
if (!e)
|
|
648
648
|
throw new Error("useApiContext must be used within ApiProvider");
|
|
649
649
|
return e;
|
|
650
650
|
}, it = {
|
|
651
651
|
READY: "ready",
|
|
652
652
|
PENDING: "pending"
|
|
653
|
-
},
|
|
654
|
-
const [t, a] =
|
|
653
|
+
}, gr = ni(null), vl = ({ children: e }) => {
|
|
654
|
+
const [t, a] = Qe(it.READY), n = ka(() => {
|
|
655
655
|
const s = t === it.READY, u = t === it.PENDING;
|
|
656
656
|
return {
|
|
657
657
|
status: t,
|
|
@@ -662,9 +662,9 @@ const mr = ni(null), re = () => {
|
|
|
662
662
|
setAsPending: () => a(it.PENDING)
|
|
663
663
|
};
|
|
664
664
|
}, [t]);
|
|
665
|
-
return /* @__PURE__ */ te.jsx(
|
|
666
|
-
},
|
|
667
|
-
const e = Ei(
|
|
665
|
+
return /* @__PURE__ */ te.jsx(gr.Provider, { value: n, children: e });
|
|
666
|
+
}, dr = () => {
|
|
667
|
+
const e = Ei(gr);
|
|
668
668
|
if (!e)
|
|
669
669
|
throw new Error("useStatus must be used within a StatusProvider");
|
|
670
670
|
return e;
|
|
@@ -687,7 +687,7 @@ const mr = ni(null), re = () => {
|
|
|
687
687
|
default:
|
|
688
688
|
return e;
|
|
689
689
|
}
|
|
690
|
-
},
|
|
690
|
+
}, Ye = "https://d1h3qe8voog6w4.cloudfront.net", st = "https://d3jx2uvukujuvn.cloudfront.net", cr = (e) => `${Ye}/reward_icon/${e}.avif`, fr = () => `${Ye}/reward_icon/background_deposit.avif`, _r = "ds88platformIcon", Ka = {
|
|
691
691
|
zh_TW: "系統提示",
|
|
692
692
|
zh_CN: "系统提示",
|
|
693
693
|
en_US: "System Prompt",
|
|
@@ -695,7 +695,7 @@ const mr = ni(null), re = () => {
|
|
|
695
695
|
vi_VN: "Lời nhắc hệ thống",
|
|
696
696
|
th_TH: "ข้อความระบบ",
|
|
697
697
|
ja_JP: "システムプロンプト"
|
|
698
|
-
},
|
|
698
|
+
}, hl = {
|
|
699
699
|
zh_TW: "我們正在為您處理轉點中",
|
|
700
700
|
zh_CN: "我们正在为您处理转点中",
|
|
701
701
|
en_US: "We are processing your transfer",
|
|
@@ -715,7 +715,7 @@ function Ki({
|
|
|
715
715
|
currency: d,
|
|
716
716
|
toasterOpen: l = !1
|
|
717
717
|
} = {}) {
|
|
718
|
-
const i =
|
|
718
|
+
const i = pl.create({
|
|
719
719
|
baseURL: e,
|
|
720
720
|
timeout: a,
|
|
721
721
|
headers: {
|
|
@@ -753,14 +753,14 @@ function Ki({
|
|
|
753
753
|
}
|
|
754
754
|
), i;
|
|
755
755
|
}
|
|
756
|
-
const
|
|
757
|
-
const e = Ei(
|
|
756
|
+
const yr = ni(null), Uu = () => {
|
|
757
|
+
const e = Ei(yr);
|
|
758
758
|
if (!e)
|
|
759
759
|
throw new Error(
|
|
760
760
|
"useGameInfoContext must be used within a GameInfoCtx.Provider"
|
|
761
761
|
);
|
|
762
762
|
return e;
|
|
763
|
-
},
|
|
763
|
+
}, Tl = [0, 150, 400, 800], fa = {
|
|
764
764
|
installed: !1,
|
|
765
765
|
standalone: !1,
|
|
766
766
|
corrections: 0,
|
|
@@ -770,7 +770,7 @@ const fr = ni(null), yu = () => {
|
|
|
770
770
|
lastFixedAt: null
|
|
771
771
|
};
|
|
772
772
|
typeof window < "u" && (window.__viewportFix__ = fa);
|
|
773
|
-
const
|
|
773
|
+
const Cu = () => fa, kl = () => typeof window < "u" && (window.matchMedia?.("(display-mode: standalone)").matches || window.navigator.standalone === !0) || !1, xl = () => {
|
|
774
774
|
const e = typeof document < "u" ? document.activeElement : null;
|
|
775
775
|
return e ? e.isContentEditable ? !0 : /^(INPUT|TEXTAREA|SELECT)$/.test(e.tagName) : !1;
|
|
776
776
|
};
|
|
@@ -778,7 +778,7 @@ let pi = !1;
|
|
|
778
778
|
const nt = () => {
|
|
779
779
|
if (typeof window > "u") return 0;
|
|
780
780
|
const e = window.visualViewport;
|
|
781
|
-
if (!e || e.scale !== 1 ||
|
|
781
|
+
if (!e || e.scale !== 1 || xl()) return 0;
|
|
782
782
|
const t = Math.round(e.offsetTop);
|
|
783
783
|
if (fa.lastDrift = t, t === 0 || pi) return 0;
|
|
784
784
|
pi = !0;
|
|
@@ -788,14 +788,14 @@ const nt = () => {
|
|
|
788
788
|
pi = !1;
|
|
789
789
|
}
|
|
790
790
|
return fa.corrections += 1, fa.lastFixedAt = Date.now(), -t;
|
|
791
|
-
},
|
|
791
|
+
}, Sl = () => {
|
|
792
792
|
if (typeof window > "u") return () => {
|
|
793
793
|
};
|
|
794
|
-
if (fa.standalone =
|
|
794
|
+
if (fa.standalone = kl(), !fa.standalone) return () => {
|
|
795
795
|
};
|
|
796
796
|
let e = [];
|
|
797
797
|
const t = () => {
|
|
798
|
-
e.forEach(clearTimeout), e =
|
|
798
|
+
e.forEach(clearTimeout), e = Tl.map((s) => setTimeout(nt, s));
|
|
799
799
|
};
|
|
800
800
|
window.addEventListener("orientationchange", t);
|
|
801
801
|
const a = window.screen?.orientation;
|
|
@@ -804,7 +804,7 @@ const nt = () => {
|
|
|
804
804
|
return n?.addEventListener?.("resize", nt), n?.addEventListener?.("scroll", nt), t(), fa.installed = !0, () => {
|
|
805
805
|
e.forEach(clearTimeout), window.removeEventListener("orientationchange", t), a?.removeEventListener?.("change", t), window.removeEventListener("pageshow", t), n?.removeEventListener?.("resize", nt), n?.removeEventListener?.("scroll", nt), fa.installed = !1;
|
|
806
806
|
};
|
|
807
|
-
},
|
|
807
|
+
}, El = "game-icon-ds88", Dl = ({
|
|
808
808
|
lng: e,
|
|
809
809
|
gamePlatform: t,
|
|
810
810
|
gameCode: a,
|
|
@@ -812,9 +812,9 @@ const nt = () => {
|
|
|
812
812
|
preferAnimated: s = !1
|
|
813
813
|
} = {}) => {
|
|
814
814
|
if (!t || !a) return [];
|
|
815
|
-
const u = ot(a, / /g, "_"), b = (o, m, g) => `${st}/${
|
|
815
|
+
const u = ot(a, / /g, "_"), b = (o, m, g) => `${st}/${El}/${o}/${t}/${u}${m}.${g}`, d = e && e !== "en" ? [e, "en"] : ["en"], l = s ? ["gif", "webp"] : ["webp", "gif"], i = (o) => d.flatMap((m) => l.map((g) => b(m, o, g))), r = i("");
|
|
816
816
|
return n ? [...i("_long"), ...r] : r;
|
|
817
|
-
},
|
|
817
|
+
}, Nl = (e) => {
|
|
818
818
|
switch (e) {
|
|
819
819
|
case "tw":
|
|
820
820
|
return "Tw";
|
|
@@ -833,7 +833,7 @@ const nt = () => {
|
|
|
833
833
|
default:
|
|
834
834
|
return "Tw";
|
|
835
835
|
}
|
|
836
|
-
},
|
|
836
|
+
}, vu = () => {
|
|
837
837
|
const e = (n, s) => !n && !s, t = (n) => n.startsWith("pc.");
|
|
838
838
|
return {
|
|
839
839
|
executeLogout: ({
|
|
@@ -852,64 +852,64 @@ const nt = () => {
|
|
|
852
852
|
shouldShowErrorNotice: e,
|
|
853
853
|
isMachineDomain: t
|
|
854
854
|
};
|
|
855
|
-
},
|
|
855
|
+
}, hu = (e) => {
|
|
856
856
|
let t = Number(e);
|
|
857
857
|
return isNaN(t) ? e : new Intl.NumberFormat("en-US", {
|
|
858
858
|
style: "decimal",
|
|
859
859
|
minimumFractionDigits: 2,
|
|
860
860
|
maximumFractionDigits: 2
|
|
861
861
|
}).format(t);
|
|
862
|
-
},
|
|
862
|
+
}, br = (e = [], t) => Be(e, { gameTypeName: t })?.gameTypeUid, Ur = (e = [], t) => Be(e, { platform: t })?.platformUid, Cr = (e = [], t) => Be(e, { SubPlatformEnum: t }), vr = (e = [], t, a) => Fe(e) ? [] : e.filter((n) => a ? String(n?.SubPlatformEnumUid) === String(a?.SubPlatformEnumUid) : String(n.platformUid) === String(t)), Ll = (e = []) => Fe(e) ? {} : e.reduce((t, a) => {
|
|
863
863
|
const n = a?.game_subtype || "UNKNOWN";
|
|
864
864
|
return t[n] || (t[n] = []), t[n].push(a), t;
|
|
865
|
-
}, {}),
|
|
865
|
+
}, {}), Gl = ({
|
|
866
866
|
gameTypeName: e,
|
|
867
867
|
platforms: t,
|
|
868
868
|
gameList: a,
|
|
869
869
|
allGameTypes: n,
|
|
870
870
|
allPlatforms: s
|
|
871
871
|
}) => {
|
|
872
|
-
const u =
|
|
872
|
+
const u = br(n, e);
|
|
873
873
|
return u ? t.reduce((b, d) => {
|
|
874
|
-
const l =
|
|
874
|
+
const l = Ur(s, d), i = Cr(s, d), r = a[u] || [], o = vr(
|
|
875
875
|
r,
|
|
876
876
|
l,
|
|
877
877
|
i
|
|
878
878
|
);
|
|
879
879
|
return Fe(o) || (b[d] = o), b;
|
|
880
880
|
}, {}) : {};
|
|
881
|
-
},
|
|
881
|
+
}, Ml = ({
|
|
882
882
|
platformName: e,
|
|
883
883
|
gamesOfType: t = [],
|
|
884
884
|
allPlatforms: a = []
|
|
885
885
|
}) => {
|
|
886
|
-
const n =
|
|
886
|
+
const n = Ur(a, e), s = Cr(a, e), u = vr(
|
|
887
887
|
t,
|
|
888
888
|
n,
|
|
889
889
|
s
|
|
890
890
|
);
|
|
891
|
-
return
|
|
891
|
+
return Ll(u);
|
|
892
892
|
};
|
|
893
893
|
var Ut = { exports: {} };
|
|
894
|
-
function
|
|
894
|
+
function Rl(e) {
|
|
895
895
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
896
896
|
}
|
|
897
897
|
var Ct = { exports: {} };
|
|
898
|
-
const
|
|
898
|
+
const Pl = {}, wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
899
899
|
__proto__: null,
|
|
900
|
-
default:
|
|
901
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
902
|
-
var
|
|
900
|
+
default: Pl
|
|
901
|
+
}, Symbol.toStringTag, { value: "Module" })), Fl = /* @__PURE__ */ yl(wl);
|
|
902
|
+
var Al = Ct.exports, qi;
|
|
903
903
|
function pe() {
|
|
904
904
|
return qi || (qi = 1, (function(e, t) {
|
|
905
905
|
(function(a, n) {
|
|
906
906
|
e.exports = n();
|
|
907
|
-
})(
|
|
907
|
+
})(Al, function() {
|
|
908
908
|
var a = a || (function(n, s) {
|
|
909
909
|
var u;
|
|
910
|
-
if (typeof window < "u" && window.crypto && (u = window.crypto), typeof self < "u" && self.crypto && (u = self.crypto), typeof globalThis < "u" && globalThis.crypto && (u = globalThis.crypto), !u && typeof window < "u" && window.msCrypto && (u = window.msCrypto), !u && typeof ui < "u" && ui.crypto && (u = ui.crypto), !u && typeof
|
|
910
|
+
if (typeof window < "u" && window.crypto && (u = window.crypto), typeof self < "u" && self.crypto && (u = self.crypto), typeof globalThis < "u" && globalThis.crypto && (u = globalThis.crypto), !u && typeof window < "u" && window.msCrypto && (u = window.msCrypto), !u && typeof ui < "u" && ui.crypto && (u = ui.crypto), !u && typeof Rl == "function")
|
|
911
911
|
try {
|
|
912
|
-
u =
|
|
912
|
+
u = Fl;
|
|
913
913
|
} catch {
|
|
914
914
|
}
|
|
915
915
|
var b = function() {
|
|
@@ -1400,12 +1400,12 @@ function pe() {
|
|
|
1400
1400
|
});
|
|
1401
1401
|
})(Ct)), Ct.exports;
|
|
1402
1402
|
}
|
|
1403
|
-
var vt = { exports: {} },
|
|
1403
|
+
var vt = { exports: {} }, Ol = vt.exports, $i;
|
|
1404
1404
|
function oi() {
|
|
1405
1405
|
return $i || ($i = 1, (function(e, t) {
|
|
1406
1406
|
(function(a, n) {
|
|
1407
1407
|
e.exports = n(pe());
|
|
1408
|
-
})(
|
|
1408
|
+
})(Ol, function(a) {
|
|
1409
1409
|
return (function(n) {
|
|
1410
1410
|
var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = s.x64 = {};
|
|
1411
1411
|
l.Word = b.extend({
|
|
@@ -1630,12 +1630,12 @@ function oi() {
|
|
|
1630
1630
|
});
|
|
1631
1631
|
})(vt)), vt.exports;
|
|
1632
1632
|
}
|
|
1633
|
-
var ht = { exports: {} },
|
|
1634
|
-
function
|
|
1633
|
+
var ht = { exports: {} }, Bl = ht.exports, ji;
|
|
1634
|
+
function Hl() {
|
|
1635
1635
|
return ji || (ji = 1, (function(e, t) {
|
|
1636
1636
|
(function(a, n) {
|
|
1637
1637
|
e.exports = n(pe());
|
|
1638
|
-
})(
|
|
1638
|
+
})(Bl, function(a) {
|
|
1639
1639
|
return (function() {
|
|
1640
1640
|
if (typeof ArrayBuffer == "function") {
|
|
1641
1641
|
var n = a, s = n.lib, u = s.WordArray, b = u.init, d = u.init = function(l) {
|
|
@@ -1652,12 +1652,12 @@ function Ol() {
|
|
|
1652
1652
|
});
|
|
1653
1653
|
})(ht)), ht.exports;
|
|
1654
1654
|
}
|
|
1655
|
-
var Tt = { exports: {} },
|
|
1656
|
-
function
|
|
1655
|
+
var Tt = { exports: {} }, Wl = Tt.exports, Qi;
|
|
1656
|
+
function Il() {
|
|
1657
1657
|
return Qi || (Qi = 1, (function(e, t) {
|
|
1658
1658
|
(function(a, n) {
|
|
1659
1659
|
e.exports = n(pe());
|
|
1660
|
-
})(
|
|
1660
|
+
})(Wl, function(a) {
|
|
1661
1661
|
return (function() {
|
|
1662
1662
|
var n = a, s = n.lib, u = s.WordArray, b = n.enc;
|
|
1663
1663
|
b.Utf16 = b.Utf16BE = {
|
|
@@ -1746,12 +1746,12 @@ function Hl() {
|
|
|
1746
1746
|
});
|
|
1747
1747
|
})(Tt)), Tt.exports;
|
|
1748
1748
|
}
|
|
1749
|
-
var kt = { exports: {} },
|
|
1749
|
+
var kt = { exports: {} }, zl = kt.exports, Yi;
|
|
1750
1750
|
function Ra() {
|
|
1751
1751
|
return Yi || (Yi = 1, (function(e, t) {
|
|
1752
1752
|
(function(a, n) {
|
|
1753
1753
|
e.exports = n(pe());
|
|
1754
|
-
})(
|
|
1754
|
+
})(zl, function(a) {
|
|
1755
1755
|
return (function() {
|
|
1756
1756
|
var n = a, s = n.lib, u = s.WordArray, b = n.enc;
|
|
1757
1757
|
b.Base64 = {
|
|
@@ -1821,12 +1821,12 @@ function Ra() {
|
|
|
1821
1821
|
});
|
|
1822
1822
|
})(kt)), kt.exports;
|
|
1823
1823
|
}
|
|
1824
|
-
var xt = { exports: {} },
|
|
1825
|
-
function
|
|
1824
|
+
var xt = { exports: {} }, Vl = xt.exports, Xi;
|
|
1825
|
+
function Jl() {
|
|
1826
1826
|
return Xi || (Xi = 1, (function(e, t) {
|
|
1827
1827
|
(function(a, n) {
|
|
1828
1828
|
e.exports = n(pe());
|
|
1829
|
-
})(
|
|
1829
|
+
})(Vl, function(a) {
|
|
1830
1830
|
return (function() {
|
|
1831
1831
|
var n = a, s = n.lib, u = s.WordArray, b = n.enc;
|
|
1832
1832
|
b.Base64url = {
|
|
@@ -1903,12 +1903,12 @@ function zl() {
|
|
|
1903
1903
|
});
|
|
1904
1904
|
})(xt)), xt.exports;
|
|
1905
1905
|
}
|
|
1906
|
-
var St = { exports: {} },
|
|
1906
|
+
var St = { exports: {} }, Zl = St.exports, en;
|
|
1907
1907
|
function Pa() {
|
|
1908
1908
|
return en || (en = 1, (function(e, t) {
|
|
1909
1909
|
(function(a, n) {
|
|
1910
1910
|
e.exports = n(pe());
|
|
1911
|
-
})(
|
|
1911
|
+
})(Zl, function(a) {
|
|
1912
1912
|
return (function(n) {
|
|
1913
1913
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [];
|
|
1914
1914
|
(function() {
|
|
@@ -1969,12 +1969,12 @@ function Pa() {
|
|
|
1969
1969
|
});
|
|
1970
1970
|
})(St)), St.exports;
|
|
1971
1971
|
}
|
|
1972
|
-
var Et = { exports: {} },
|
|
1973
|
-
function
|
|
1972
|
+
var Et = { exports: {} }, Kl = Et.exports, an;
|
|
1973
|
+
function hr() {
|
|
1974
1974
|
return an || (an = 1, (function(e, t) {
|
|
1975
1975
|
(function(a, n) {
|
|
1976
1976
|
e.exports = n(pe());
|
|
1977
|
-
})(
|
|
1977
|
+
})(Kl, function(a) {
|
|
1978
1978
|
return (function() {
|
|
1979
1979
|
var n = a, s = n.lib, u = s.WordArray, b = s.Hasher, d = n.algo, l = [], i = d.SHA1 = b.extend({
|
|
1980
1980
|
_doReset: function() {
|
|
@@ -2013,12 +2013,12 @@ function Cr() {
|
|
|
2013
2013
|
});
|
|
2014
2014
|
})(Et)), Et.exports;
|
|
2015
2015
|
}
|
|
2016
|
-
var Dt = { exports: {} },
|
|
2016
|
+
var Dt = { exports: {} }, ql = Dt.exports, tn;
|
|
2017
2017
|
function Ni() {
|
|
2018
2018
|
return tn || (tn = 1, (function(e, t) {
|
|
2019
2019
|
(function(a, n) {
|
|
2020
2020
|
e.exports = n(pe());
|
|
2021
|
-
})(
|
|
2021
|
+
})(ql, function(a) {
|
|
2022
2022
|
return (function(n) {
|
|
2023
2023
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [], r = [];
|
|
2024
2024
|
(function() {
|
|
@@ -2065,12 +2065,12 @@ function Ni() {
|
|
|
2065
2065
|
});
|
|
2066
2066
|
})(Dt)), Dt.exports;
|
|
2067
2067
|
}
|
|
2068
|
-
var Nt = { exports: {} },
|
|
2069
|
-
function
|
|
2068
|
+
var Nt = { exports: {} }, $l = Nt.exports, nn;
|
|
2069
|
+
function jl() {
|
|
2070
2070
|
return nn || (nn = 1, (function(e, t) {
|
|
2071
2071
|
(function(a, n, s) {
|
|
2072
2072
|
e.exports = n(pe(), Ni());
|
|
2073
|
-
})(
|
|
2073
|
+
})($l, function(a) {
|
|
2074
2074
|
return (function() {
|
|
2075
2075
|
var n = a, s = n.lib, u = s.WordArray, b = n.algo, d = b.SHA256, l = b.SHA224 = d.extend({
|
|
2076
2076
|
_doReset: function() {
|
|
@@ -2095,12 +2095,12 @@ function ql() {
|
|
|
2095
2095
|
});
|
|
2096
2096
|
})(Nt)), Nt.exports;
|
|
2097
2097
|
}
|
|
2098
|
-
var Lt = { exports: {} },
|
|
2099
|
-
function
|
|
2098
|
+
var Lt = { exports: {} }, Ql = Lt.exports, rn;
|
|
2099
|
+
function Tr() {
|
|
2100
2100
|
return rn || (rn = 1, (function(e, t) {
|
|
2101
2101
|
(function(a, n, s) {
|
|
2102
2102
|
e.exports = n(pe(), oi());
|
|
2103
|
-
})(
|
|
2103
|
+
})(Ql, function(a) {
|
|
2104
2104
|
return (function() {
|
|
2105
2105
|
var n = a, s = n.lib, u = s.Hasher, b = n.x64, d = b.Word, l = b.WordArray, i = n.algo;
|
|
2106
2106
|
function r() {
|
|
@@ -2206,18 +2206,18 @@ function vr() {
|
|
|
2206
2206
|
]);
|
|
2207
2207
|
},
|
|
2208
2208
|
_doProcessBlock: function(p, f) {
|
|
2209
|
-
for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, A = c.low, P = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, O = T.high, z = T.low, N = h.high, E = h.low, F = D.high, w = D.low, X = H, ie = k, le = S, B = A, V = P, Z = R, Q = L,
|
|
2210
|
-
var
|
|
2209
|
+
for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, A = c.low, P = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, O = T.high, z = T.low, N = h.high, E = h.low, F = D.high, w = D.low, X = H, ie = k, le = S, B = A, V = P, Z = R, Q = L, K = G, ee = I, de = W, he = O, be = z, Je = N, Te = E, Ge = F, Xe = w, fe = 0; fe < 80; fe++) {
|
|
2210
|
+
var Ue, Ee, Ie = m[fe];
|
|
2211
2211
|
if (fe < 16)
|
|
2212
|
-
Ee = Ie.high = p[f + fe * 2] | 0,
|
|
2212
|
+
Ee = Ie.high = p[f + fe * 2] | 0, Ue = Ie.low = p[f + fe * 2 + 1] | 0;
|
|
2213
2213
|
else {
|
|
2214
|
-
var
|
|
2215
|
-
|
|
2214
|
+
var Ke = m[fe - 15], Me = Ke.high, He = Ke.low, ia = (Me >>> 1 | He << 31) ^ (Me >>> 8 | He << 24) ^ Me >>> 7, ua = (He >>> 1 | Me << 31) ^ (He >>> 8 | Me << 24) ^ (He >>> 7 | Me << 25), ba = m[fe - 2], qe = ba.high, na = ba.low, Ya = (qe >>> 19 | na << 13) ^ (qe << 3 | na >>> 29) ^ qe >>> 6, Fa = (na >>> 19 | qe << 13) ^ (na << 3 | qe >>> 29) ^ (na >>> 6 | qe << 26), Aa = m[fe - 7], Xa = Aa.high, et = Aa.low, Ua = m[fe - 16], Sa = Ua.high, ea = Ua.low;
|
|
2215
|
+
Ue = ua + et, Ee = ia + Xa + (Ue >>> 0 < ua >>> 0 ? 1 : 0), Ue = Ue + Fa, Ee = Ee + Ya + (Ue >>> 0 < Fa >>> 0 ? 1 : 0), Ue = Ue + ea, Ee = Ee + Sa + (Ue >>> 0 < ea >>> 0 ? 1 : 0), Ie.high = Ee, Ie.low = Ue;
|
|
2216
2216
|
}
|
|
2217
|
-
var Ca = ee & he ^ ~ee &
|
|
2218
|
-
Ge =
|
|
2217
|
+
var Ca = ee & he ^ ~ee & Je, va = de & be ^ ~de & Te, Oa = X & le ^ X & V ^ le & V, Ba = ie & B ^ ie & Z ^ B & Z, Ea = (X >>> 28 | ie << 4) ^ (X << 30 | ie >>> 2) ^ (X << 25 | ie >>> 7), Ha = (ie >>> 28 | X << 4) ^ (ie << 30 | X >>> 2) ^ (ie << 25 | X >>> 7), Wa = (ee >>> 14 | de << 18) ^ (ee >>> 18 | de << 14) ^ (ee << 23 | de >>> 9), Re = (de >>> 14 | ee << 18) ^ (de >>> 18 | ee << 14) ^ (de << 23 | ee >>> 9), q = o[fe], Pe = q.high, la = q.low, We = Xe + Re, oa = Ge + Wa + (We >>> 0 < Xe >>> 0 ? 1 : 0), We = We + va, oa = oa + Ca + (We >>> 0 < va >>> 0 ? 1 : 0), We = We + la, oa = oa + Pe + (We >>> 0 < la >>> 0 ? 1 : 0), We = We + Ue, oa = oa + Ee + (We >>> 0 < Ue >>> 0 ? 1 : 0), dt = Ha + Ba, si = Ea + Oa + (dt >>> 0 < Ha >>> 0 ? 1 : 0);
|
|
2218
|
+
Ge = Je, Xe = Te, Je = he, Te = be, he = ee, be = de, de = K + We | 0, ee = Q + oa + (de >>> 0 < K >>> 0 ? 1 : 0) | 0, Q = V, K = Z, V = le, Z = B, le = X, B = ie, ie = We + dt | 0, X = oa + si + (ie >>> 0 < We >>> 0 ? 1 : 0) | 0;
|
|
2219
2219
|
}
|
|
2220
|
-
k = _.low = k + ie, _.high = H + X + (k >>> 0 < ie >>> 0 ? 1 : 0), A = c.low = A + B, c.high = S + le + (A >>> 0 < B >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = P + V + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G +
|
|
2220
|
+
k = _.low = k + ie, _.high = H + X + (k >>> 0 < ie >>> 0 ? 1 : 0), A = c.low = A + B, c.high = S + le + (A >>> 0 < B >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = P + V + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G + K, C.high = L + Q + (G >>> 0 < K >>> 0 ? 1 : 0), W = v.low = W + de, v.high = I + ee + (W >>> 0 < de >>> 0 ? 1 : 0), z = T.low = z + be, T.high = O + he + (z >>> 0 < be >>> 0 ? 1 : 0), E = h.low = E + Te, h.high = N + Je + (E >>> 0 < Te >>> 0 ? 1 : 0), w = D.low = w + Xe, D.high = F + Ge + (w >>> 0 < Xe >>> 0 ? 1 : 0);
|
|
2221
2221
|
},
|
|
2222
2222
|
_doFinalize: function() {
|
|
2223
2223
|
var p = this._data, f = p.words, y = this._nDataBytes * 8, _ = p.sigBytes * 8;
|
|
@@ -2236,12 +2236,12 @@ function vr() {
|
|
|
2236
2236
|
});
|
|
2237
2237
|
})(Lt)), Lt.exports;
|
|
2238
2238
|
}
|
|
2239
|
-
var Gt = { exports: {} },
|
|
2240
|
-
function
|
|
2239
|
+
var Gt = { exports: {} }, Yl = Gt.exports, ln;
|
|
2240
|
+
function Xl() {
|
|
2241
2241
|
return ln || (ln = 1, (function(e, t) {
|
|
2242
2242
|
(function(a, n, s) {
|
|
2243
|
-
e.exports = n(pe(), oi(),
|
|
2244
|
-
})(
|
|
2243
|
+
e.exports = n(pe(), oi(), Tr());
|
|
2244
|
+
})(Yl, function(a) {
|
|
2245
2245
|
return (function() {
|
|
2246
2246
|
var n = a, s = n.x64, u = s.Word, b = s.WordArray, d = n.algo, l = d.SHA512, i = d.SHA384 = l.extend({
|
|
2247
2247
|
_doReset: function() {
|
|
@@ -2266,12 +2266,12 @@ function Ql() {
|
|
|
2266
2266
|
});
|
|
2267
2267
|
})(Gt)), Gt.exports;
|
|
2268
2268
|
}
|
|
2269
|
-
var Mt = { exports: {} },
|
|
2270
|
-
function
|
|
2269
|
+
var Mt = { exports: {} }, eo = Mt.exports, on;
|
|
2270
|
+
function ao() {
|
|
2271
2271
|
return on || (on = 1, (function(e, t) {
|
|
2272
2272
|
(function(a, n, s) {
|
|
2273
2273
|
e.exports = n(pe(), oi());
|
|
2274
|
-
})(
|
|
2274
|
+
})(eo, function(a) {
|
|
2275
2275
|
return (function(n) {
|
|
2276
2276
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.x64, i = l.Word, r = s.algo, o = [], m = [], g = [];
|
|
2277
2277
|
(function() {
|
|
@@ -2376,12 +2376,12 @@ function Xl() {
|
|
|
2376
2376
|
});
|
|
2377
2377
|
})(Mt)), Mt.exports;
|
|
2378
2378
|
}
|
|
2379
|
-
var Rt = { exports: {} },
|
|
2380
|
-
function
|
|
2379
|
+
var Rt = { exports: {} }, to = Rt.exports, sn;
|
|
2380
|
+
function io() {
|
|
2381
2381
|
return sn || (sn = 1, (function(e, t) {
|
|
2382
2382
|
(function(a, n) {
|
|
2383
2383
|
e.exports = n(pe());
|
|
2384
|
-
})(
|
|
2384
|
+
})(to, function(a) {
|
|
2385
2385
|
return (function(n) {
|
|
2386
2386
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = b.create([
|
|
2387
2387
|
0,
|
|
@@ -2759,12 +2759,12 @@ function ao() {
|
|
|
2759
2759
|
});
|
|
2760
2760
|
})(Rt)), Rt.exports;
|
|
2761
2761
|
}
|
|
2762
|
-
var Pt = { exports: {} },
|
|
2762
|
+
var Pt = { exports: {} }, no = Pt.exports, mn;
|
|
2763
2763
|
function Li() {
|
|
2764
2764
|
return mn || (mn = 1, (function(e, t) {
|
|
2765
2765
|
(function(a, n) {
|
|
2766
2766
|
e.exports = n(pe());
|
|
2767
|
-
})(
|
|
2767
|
+
})(no, function(a) {
|
|
2768
2768
|
(function() {
|
|
2769
2769
|
var n = a, s = n.lib, u = s.Base, b = n.enc, d = b.Utf8, l = n.algo;
|
|
2770
2770
|
l.HMAC = u.extend({
|
|
@@ -2837,12 +2837,12 @@ function Li() {
|
|
|
2837
2837
|
});
|
|
2838
2838
|
})(Pt)), Pt.exports;
|
|
2839
2839
|
}
|
|
2840
|
-
var wt = { exports: {} },
|
|
2841
|
-
function
|
|
2840
|
+
var wt = { exports: {} }, ro = wt.exports, un;
|
|
2841
|
+
function lo() {
|
|
2842
2842
|
return un || (un = 1, (function(e, t) {
|
|
2843
2843
|
(function(a, n, s) {
|
|
2844
2844
|
e.exports = n(pe(), Ni(), Li());
|
|
2845
|
-
})(
|
|
2845
|
+
})(ro, function(a) {
|
|
2846
2846
|
return (function() {
|
|
2847
2847
|
var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.SHA256, i = d.HMAC, r = d.PBKDF2 = u.extend({
|
|
2848
2848
|
/**
|
|
@@ -2904,12 +2904,12 @@ function no() {
|
|
|
2904
2904
|
});
|
|
2905
2905
|
})(wt)), wt.exports;
|
|
2906
2906
|
}
|
|
2907
|
-
var Ft = { exports: {} },
|
|
2907
|
+
var Ft = { exports: {} }, oo = Ft.exports, pn;
|
|
2908
2908
|
function xa() {
|
|
2909
2909
|
return pn || (pn = 1, (function(e, t) {
|
|
2910
2910
|
(function(a, n, s) {
|
|
2911
|
-
e.exports = n(pe(),
|
|
2912
|
-
})(
|
|
2911
|
+
e.exports = n(pe(), hr(), Li());
|
|
2912
|
+
})(oo, function(a) {
|
|
2913
2913
|
return (function() {
|
|
2914
2914
|
var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.MD5, i = d.EvpKDF = u.extend({
|
|
2915
2915
|
/**
|
|
@@ -2967,12 +2967,12 @@ function xa() {
|
|
|
2967
2967
|
});
|
|
2968
2968
|
})(Ft)), Ft.exports;
|
|
2969
2969
|
}
|
|
2970
|
-
var At = { exports: {} },
|
|
2970
|
+
var At = { exports: {} }, so = At.exports, gn;
|
|
2971
2971
|
function Ae() {
|
|
2972
2972
|
return gn || (gn = 1, (function(e, t) {
|
|
2973
2973
|
(function(a, n, s) {
|
|
2974
2974
|
e.exports = n(pe(), xa());
|
|
2975
|
-
})(
|
|
2975
|
+
})(so, function(a) {
|
|
2976
2976
|
a.lib.Cipher || (function(n) {
|
|
2977
2977
|
var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = u.BufferedBlockAlgorithm, i = s.enc;
|
|
2978
2978
|
i.Utf8;
|
|
@@ -3505,12 +3505,12 @@ function Ae() {
|
|
|
3505
3505
|
});
|
|
3506
3506
|
})(At)), At.exports;
|
|
3507
3507
|
}
|
|
3508
|
-
var Ot = { exports: {} },
|
|
3509
|
-
function
|
|
3508
|
+
var Ot = { exports: {} }, mo = Ot.exports, dn;
|
|
3509
|
+
function uo() {
|
|
3510
3510
|
return dn || (dn = 1, (function(e, t) {
|
|
3511
3511
|
(function(a, n, s) {
|
|
3512
3512
|
e.exports = n(pe(), Ae());
|
|
3513
|
-
})(
|
|
3513
|
+
})(mo, function(a) {
|
|
3514
3514
|
return a.mode.CFB = (function() {
|
|
3515
3515
|
var n = a.lib.BlockCipherMode.extend();
|
|
3516
3516
|
n.Encryptor = n.extend({
|
|
@@ -3535,12 +3535,12 @@ function so() {
|
|
|
3535
3535
|
});
|
|
3536
3536
|
})(Ot)), Ot.exports;
|
|
3537
3537
|
}
|
|
3538
|
-
var Bt = { exports: {} },
|
|
3539
|
-
function
|
|
3538
|
+
var Bt = { exports: {} }, po = Bt.exports, cn;
|
|
3539
|
+
function go() {
|
|
3540
3540
|
return cn || (cn = 1, (function(e, t) {
|
|
3541
3541
|
(function(a, n, s) {
|
|
3542
3542
|
e.exports = n(pe(), Ae());
|
|
3543
|
-
})(
|
|
3543
|
+
})(po, function(a) {
|
|
3544
3544
|
return a.mode.CTR = (function() {
|
|
3545
3545
|
var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
|
|
3546
3546
|
processBlock: function(u, b) {
|
|
@@ -3557,12 +3557,12 @@ function uo() {
|
|
|
3557
3557
|
});
|
|
3558
3558
|
})(Bt)), Bt.exports;
|
|
3559
3559
|
}
|
|
3560
|
-
var Ht = { exports: {} },
|
|
3561
|
-
function
|
|
3560
|
+
var Ht = { exports: {} }, co = Ht.exports, fn;
|
|
3561
|
+
function fo() {
|
|
3562
3562
|
return fn || (fn = 1, (function(e, t) {
|
|
3563
3563
|
(function(a, n, s) {
|
|
3564
3564
|
e.exports = n(pe(), Ae());
|
|
3565
|
-
})(
|
|
3565
|
+
})(co, function(a) {
|
|
3566
3566
|
return a.mode.CTRGladman = (function() {
|
|
3567
3567
|
var n = a.lib.BlockCipherMode.extend();
|
|
3568
3568
|
function s(d) {
|
|
@@ -3591,12 +3591,12 @@ function go() {
|
|
|
3591
3591
|
});
|
|
3592
3592
|
})(Ht)), Ht.exports;
|
|
3593
3593
|
}
|
|
3594
|
-
var Wt = { exports: {} },
|
|
3595
|
-
function
|
|
3594
|
+
var Wt = { exports: {} }, _o = Wt.exports, _n;
|
|
3595
|
+
function yo() {
|
|
3596
3596
|
return _n || (_n = 1, (function(e, t) {
|
|
3597
3597
|
(function(a, n, s) {
|
|
3598
3598
|
e.exports = n(pe(), Ae());
|
|
3599
|
-
})(
|
|
3599
|
+
})(_o, function(a) {
|
|
3600
3600
|
return a.mode.OFB = (function() {
|
|
3601
3601
|
var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
|
|
3602
3602
|
processBlock: function(u, b) {
|
|
@@ -3611,12 +3611,12 @@ function fo() {
|
|
|
3611
3611
|
});
|
|
3612
3612
|
})(Wt)), Wt.exports;
|
|
3613
3613
|
}
|
|
3614
|
-
var It = { exports: {} },
|
|
3615
|
-
function
|
|
3614
|
+
var It = { exports: {} }, bo = It.exports, yn;
|
|
3615
|
+
function Uo() {
|
|
3616
3616
|
return yn || (yn = 1, (function(e, t) {
|
|
3617
3617
|
(function(a, n, s) {
|
|
3618
3618
|
e.exports = n(pe(), Ae());
|
|
3619
|
-
})(
|
|
3619
|
+
})(bo, function(a) {
|
|
3620
3620
|
return a.mode.ECB = (function() {
|
|
3621
3621
|
var n = a.lib.BlockCipherMode.extend();
|
|
3622
3622
|
return n.Encryptor = n.extend({
|
|
@@ -3632,12 +3632,12 @@ function yo() {
|
|
|
3632
3632
|
});
|
|
3633
3633
|
})(It)), It.exports;
|
|
3634
3634
|
}
|
|
3635
|
-
var zt = { exports: {} },
|
|
3636
|
-
function
|
|
3635
|
+
var zt = { exports: {} }, Co = zt.exports, bn;
|
|
3636
|
+
function vo() {
|
|
3637
3637
|
return bn || (bn = 1, (function(e, t) {
|
|
3638
3638
|
(function(a, n, s) {
|
|
3639
3639
|
e.exports = n(pe(), Ae());
|
|
3640
|
-
})(
|
|
3640
|
+
})(Co, function(a) {
|
|
3641
3641
|
return a.pad.AnsiX923 = {
|
|
3642
3642
|
pad: function(n, s) {
|
|
3643
3643
|
var u = n.sigBytes, b = s * 4, d = b - u % b, l = u + d - 1;
|
|
@@ -3651,12 +3651,12 @@ function Uo() {
|
|
|
3651
3651
|
});
|
|
3652
3652
|
})(zt)), zt.exports;
|
|
3653
3653
|
}
|
|
3654
|
-
var Vt = { exports: {} },
|
|
3655
|
-
function
|
|
3654
|
+
var Vt = { exports: {} }, ho = Vt.exports, Un;
|
|
3655
|
+
function To() {
|
|
3656
3656
|
return Un || (Un = 1, (function(e, t) {
|
|
3657
3657
|
(function(a, n, s) {
|
|
3658
3658
|
e.exports = n(pe(), Ae());
|
|
3659
|
-
})(
|
|
3659
|
+
})(ho, function(a) {
|
|
3660
3660
|
return a.pad.Iso10126 = {
|
|
3661
3661
|
pad: function(n, s) {
|
|
3662
3662
|
var u = s * 4, b = u - n.sigBytes % u;
|
|
@@ -3670,12 +3670,12 @@ function vo() {
|
|
|
3670
3670
|
});
|
|
3671
3671
|
})(Vt)), Vt.exports;
|
|
3672
3672
|
}
|
|
3673
|
-
var Jt = { exports: {} },
|
|
3674
|
-
function
|
|
3673
|
+
var Jt = { exports: {} }, ko = Jt.exports, Cn;
|
|
3674
|
+
function xo() {
|
|
3675
3675
|
return Cn || (Cn = 1, (function(e, t) {
|
|
3676
3676
|
(function(a, n, s) {
|
|
3677
3677
|
e.exports = n(pe(), Ae());
|
|
3678
|
-
})(
|
|
3678
|
+
})(ko, function(a) {
|
|
3679
3679
|
return a.pad.Iso97971 = {
|
|
3680
3680
|
pad: function(n, s) {
|
|
3681
3681
|
n.concat(a.lib.WordArray.create([2147483648], 1)), a.pad.ZeroPadding.pad(n, s);
|
|
@@ -3687,12 +3687,12 @@ function To() {
|
|
|
3687
3687
|
});
|
|
3688
3688
|
})(Jt)), Jt.exports;
|
|
3689
3689
|
}
|
|
3690
|
-
var Zt = { exports: {} },
|
|
3691
|
-
function
|
|
3690
|
+
var Zt = { exports: {} }, So = Zt.exports, vn;
|
|
3691
|
+
function Eo() {
|
|
3692
3692
|
return vn || (vn = 1, (function(e, t) {
|
|
3693
3693
|
(function(a, n, s) {
|
|
3694
3694
|
e.exports = n(pe(), Ae());
|
|
3695
|
-
})(
|
|
3695
|
+
})(So, function(a) {
|
|
3696
3696
|
return a.pad.ZeroPadding = {
|
|
3697
3697
|
pad: function(n, s) {
|
|
3698
3698
|
var u = s * 4;
|
|
@@ -3709,12 +3709,12 @@ function xo() {
|
|
|
3709
3709
|
});
|
|
3710
3710
|
})(Zt)), Zt.exports;
|
|
3711
3711
|
}
|
|
3712
|
-
var Kt = { exports: {} },
|
|
3713
|
-
function
|
|
3712
|
+
var Kt = { exports: {} }, Do = Kt.exports, hn;
|
|
3713
|
+
function No() {
|
|
3714
3714
|
return hn || (hn = 1, (function(e, t) {
|
|
3715
3715
|
(function(a, n, s) {
|
|
3716
3716
|
e.exports = n(pe(), Ae());
|
|
3717
|
-
})(
|
|
3717
|
+
})(Do, function(a) {
|
|
3718
3718
|
return a.pad.NoPadding = {
|
|
3719
3719
|
pad: function() {
|
|
3720
3720
|
},
|
|
@@ -3724,12 +3724,12 @@ function Eo() {
|
|
|
3724
3724
|
});
|
|
3725
3725
|
})(Kt)), Kt.exports;
|
|
3726
3726
|
}
|
|
3727
|
-
var qt = { exports: {} },
|
|
3728
|
-
function
|
|
3727
|
+
var qt = { exports: {} }, Lo = qt.exports, Tn;
|
|
3728
|
+
function Go() {
|
|
3729
3729
|
return Tn || (Tn = 1, (function(e, t) {
|
|
3730
3730
|
(function(a, n, s) {
|
|
3731
3731
|
e.exports = n(pe(), Ae());
|
|
3732
|
-
})(
|
|
3732
|
+
})(Lo, function(a) {
|
|
3733
3733
|
return (function(n) {
|
|
3734
3734
|
var s = a, u = s.lib, b = u.CipherParams, d = s.enc, l = d.Hex, i = s.format;
|
|
3735
3735
|
i.Hex = {
|
|
@@ -3771,12 +3771,12 @@ function No() {
|
|
|
3771
3771
|
});
|
|
3772
3772
|
})(qt)), qt.exports;
|
|
3773
3773
|
}
|
|
3774
|
-
var $t = { exports: {} },
|
|
3775
|
-
function
|
|
3774
|
+
var $t = { exports: {} }, Mo = $t.exports, kn;
|
|
3775
|
+
function Ro() {
|
|
3776
3776
|
return kn || (kn = 1, (function(e, t) {
|
|
3777
3777
|
(function(a, n, s) {
|
|
3778
3778
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
3779
|
-
})(
|
|
3779
|
+
})(Mo, function(a) {
|
|
3780
3780
|
return (function() {
|
|
3781
3781
|
var n = a, s = n.lib, u = s.BlockCipher, b = n.algo, d = [], l = [], i = [], r = [], o = [], m = [], g = [], p = [], f = [], y = [];
|
|
3782
3782
|
(function() {
|
|
@@ -3831,12 +3831,12 @@ function Go() {
|
|
|
3831
3831
|
});
|
|
3832
3832
|
})($t)), $t.exports;
|
|
3833
3833
|
}
|
|
3834
|
-
var jt = { exports: {} },
|
|
3835
|
-
function
|
|
3834
|
+
var jt = { exports: {} }, Po = jt.exports, xn;
|
|
3835
|
+
function wo() {
|
|
3836
3836
|
return xn || (xn = 1, (function(e, t) {
|
|
3837
3837
|
(function(a, n, s) {
|
|
3838
3838
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
3839
|
-
})(
|
|
3839
|
+
})(Po, function(a) {
|
|
3840
3840
|
return (function() {
|
|
3841
3841
|
var n = a, s = n.lib, u = s.WordArray, b = s.BlockCipher, d = n.algo, l = [
|
|
3842
3842
|
57,
|
|
@@ -4551,12 +4551,12 @@ function Ro() {
|
|
|
4551
4551
|
});
|
|
4552
4552
|
})(jt)), jt.exports;
|
|
4553
4553
|
}
|
|
4554
|
-
var Qt = { exports: {} },
|
|
4555
|
-
function
|
|
4554
|
+
var Qt = { exports: {} }, Fo = Qt.exports, Sn;
|
|
4555
|
+
function Ao() {
|
|
4556
4556
|
return Sn || (Sn = 1, (function(e, t) {
|
|
4557
4557
|
(function(a, n, s) {
|
|
4558
4558
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
4559
|
-
})(
|
|
4559
|
+
})(Fo, function(a) {
|
|
4560
4560
|
return (function() {
|
|
4561
4561
|
var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = b.RC4 = u.extend({
|
|
4562
4562
|
_doReset: function() {
|
|
@@ -4605,12 +4605,12 @@ function wo() {
|
|
|
4605
4605
|
});
|
|
4606
4606
|
})(Qt)), Qt.exports;
|
|
4607
4607
|
}
|
|
4608
|
-
var Yt = { exports: {} },
|
|
4609
|
-
function
|
|
4608
|
+
var Yt = { exports: {} }, Oo = Yt.exports, En;
|
|
4609
|
+
function Bo() {
|
|
4610
4610
|
return En || (En = 1, (function(e, t) {
|
|
4611
4611
|
(function(a, n, s) {
|
|
4612
4612
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
4613
|
-
})(
|
|
4613
|
+
})(Oo, function(a) {
|
|
4614
4614
|
return (function() {
|
|
4615
4615
|
var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.Rabbit = u.extend({
|
|
4616
4616
|
_doReset: function() {
|
|
@@ -4671,12 +4671,12 @@ function Ao() {
|
|
|
4671
4671
|
});
|
|
4672
4672
|
})(Yt)), Yt.exports;
|
|
4673
4673
|
}
|
|
4674
|
-
var Xt = { exports: {} },
|
|
4675
|
-
function
|
|
4674
|
+
var Xt = { exports: {} }, Ho = Xt.exports, Dn;
|
|
4675
|
+
function Wo() {
|
|
4676
4676
|
return Dn || (Dn = 1, (function(e, t) {
|
|
4677
4677
|
(function(a, n, s) {
|
|
4678
4678
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
4679
|
-
})(
|
|
4679
|
+
})(Ho, function(a) {
|
|
4680
4680
|
return (function() {
|
|
4681
4681
|
var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.RabbitLegacy = u.extend({
|
|
4682
4682
|
_doReset: function() {
|
|
@@ -4735,12 +4735,12 @@ function Bo() {
|
|
|
4735
4735
|
});
|
|
4736
4736
|
})(Xt)), Xt.exports;
|
|
4737
4737
|
}
|
|
4738
|
-
var ei = { exports: {} },
|
|
4739
|
-
function
|
|
4738
|
+
var ei = { exports: {} }, Io = ei.exports, Nn;
|
|
4739
|
+
function zo() {
|
|
4740
4740
|
return Nn || (Nn = 1, (function(e, t) {
|
|
4741
4741
|
(function(a, n, s) {
|
|
4742
4742
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
4743
|
-
})(
|
|
4743
|
+
})(Io, function(a) {
|
|
4744
4744
|
return (function() {
|
|
4745
4745
|
var n = a, s = n.lib, u = s.BlockCipher, b = n.algo;
|
|
4746
4746
|
const d = 16, l = [
|
|
@@ -5857,24 +5857,24 @@ function Wo() {
|
|
|
5857
5857
|
});
|
|
5858
5858
|
})(ei)), ei.exports;
|
|
5859
5859
|
}
|
|
5860
|
-
var
|
|
5861
|
-
function
|
|
5860
|
+
var Vo = Ut.exports, Ln;
|
|
5861
|
+
function Jo() {
|
|
5862
5862
|
return Ln || (Ln = 1, (function(e, t) {
|
|
5863
5863
|
(function(a, n, s) {
|
|
5864
|
-
e.exports = n(pe(), oi(),
|
|
5865
|
-
})(
|
|
5864
|
+
e.exports = n(pe(), oi(), Hl(), Il(), Ra(), Jl(), Pa(), hr(), Ni(), jl(), Tr(), Xl(), ao(), io(), Li(), lo(), xa(), Ae(), uo(), go(), fo(), yo(), Uo(), vo(), To(), xo(), Eo(), No(), Go(), Ro(), wo(), Ao(), Bo(), Wo(), zo());
|
|
5865
|
+
})(Vo, function(a) {
|
|
5866
5866
|
return a;
|
|
5867
5867
|
});
|
|
5868
5868
|
})(Ut)), Ut.exports;
|
|
5869
5869
|
}
|
|
5870
|
-
var Ta =
|
|
5870
|
+
var Ta = Jo();
|
|
5871
5871
|
const ha = /* @__PURE__ */ Di(Ta);
|
|
5872
|
-
var ai = { exports: {} },
|
|
5873
|
-
function
|
|
5872
|
+
var ai = { exports: {} }, Zo = ai.exports, Gn;
|
|
5873
|
+
function Ko() {
|
|
5874
5874
|
return Gn || (Gn = 1, (function(e, t) {
|
|
5875
5875
|
(function(a, n) {
|
|
5876
5876
|
e.exports = n();
|
|
5877
|
-
})(
|
|
5877
|
+
})(Zo, (function() {
|
|
5878
5878
|
var a = 1e3, n = 6e4, s = 36e5, u = "millisecond", b = "second", d = "minute", l = "hour", i = "day", r = "week", o = "month", m = "quarter", g = "year", p = "date", f = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, _ = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, c = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(R) {
|
|
5879
5879
|
var L = ["th", "st", "nd", "rd"], G = R % 100;
|
|
5880
5880
|
return "[" + R + (L[(G - 20) % 10] || L[G] || L[0]) + "]";
|
|
@@ -6017,17 +6017,17 @@ function Jo() {
|
|
|
6017
6017
|
}, L.format = function(G) {
|
|
6018
6018
|
var I = this, W = this.$locale();
|
|
6019
6019
|
if (!this.isValid()) return W.invalidDate || f;
|
|
6020
|
-
var O = G || "YYYY-MM-DDTHH:mm:ssZ", z = S.z(this), N = this.$H, E = this.$m, F = this.$M, w = W.weekdays, X = W.months, ie = W.meridiem, le = function(Z, Q,
|
|
6021
|
-
return Z && (Z[Q] || Z(I, O)) ||
|
|
6020
|
+
var O = G || "YYYY-MM-DDTHH:mm:ssZ", z = S.z(this), N = this.$H, E = this.$m, F = this.$M, w = W.weekdays, X = W.months, ie = W.meridiem, le = function(Z, Q, K, ee) {
|
|
6021
|
+
return Z && (Z[Q] || Z(I, O)) || K[Q].slice(0, ee);
|
|
6022
6022
|
}, B = function(Z) {
|
|
6023
6023
|
return S.s(N % 12 || 12, Z, "0");
|
|
6024
|
-
}, V = ie || function(Z, Q,
|
|
6024
|
+
}, V = ie || function(Z, Q, K) {
|
|
6025
6025
|
var ee = Z < 12 ? "AM" : "PM";
|
|
6026
|
-
return
|
|
6026
|
+
return K ? ee.toLowerCase() : ee;
|
|
6027
6027
|
};
|
|
6028
6028
|
return O.replace(_, (function(Z, Q) {
|
|
6029
|
-
return Q || (function(
|
|
6030
|
-
switch (
|
|
6029
|
+
return Q || (function(K) {
|
|
6030
|
+
switch (K) {
|
|
6031
6031
|
case "YY":
|
|
6032
6032
|
return String(I.$y).slice(-2);
|
|
6033
6033
|
case "YYYY":
|
|
@@ -6147,8 +6147,8 @@ function Jo() {
|
|
|
6147
6147
|
}));
|
|
6148
6148
|
})(ai)), ai.exports;
|
|
6149
6149
|
}
|
|
6150
|
-
var
|
|
6151
|
-
const we = /* @__PURE__ */ Di(
|
|
6150
|
+
var qo = Ko();
|
|
6151
|
+
const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
6152
6152
|
const t = "mySecretPassphrase", a = ha.lib.WordArray.random(16), n = ha.PBKDF2(t, a, {
|
|
6153
6153
|
keySize: 128 / 32,
|
|
6154
6154
|
iterations: 1e3,
|
|
@@ -6159,7 +6159,7 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6159
6159
|
padding: ha.pad.Pkcs7
|
|
6160
6160
|
}), u = a.toString(ha.enc.Base64), b = ha.enc.Base64.stringify(s.ciphertext);
|
|
6161
6161
|
return u + ":" + b;
|
|
6162
|
-
},
|
|
6162
|
+
}, $o = (e) => e === "aes" ? Ja : (t) => Ta.MD5(t).toString(), oe = () => {
|
|
6163
6163
|
const {
|
|
6164
6164
|
client: e,
|
|
6165
6165
|
formDataClient: t,
|
|
@@ -6180,12 +6180,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6180
6180
|
[e]
|
|
6181
6181
|
), s = M(async () => e.get("/member/getMemberInfo"), [e]), u = M(async () => await e.get("/member/getGameList"), [e]), b = M(async () => await e.get("/member/getNowCurrencyExchange"), [e]), d = M(async () => await e.get("member/getFavoriteGame"), [e]), l = M(
|
|
6182
6182
|
async (B) => {
|
|
6183
|
-
const { account: V, password: Z, trans_code: Q, two_fa_value:
|
|
6183
|
+
const { account: V, password: Z, trans_code: Q, two_fa_value: K } = B;
|
|
6184
6184
|
return await e.post("/login", {
|
|
6185
6185
|
memId: V,
|
|
6186
6186
|
passwd: Z,
|
|
6187
6187
|
trans_code: Q,
|
|
6188
|
-
two_fa_value:
|
|
6188
|
+
two_fa_value: K
|
|
6189
6189
|
});
|
|
6190
6190
|
},
|
|
6191
6191
|
[e]
|
|
@@ -6203,12 +6203,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6203
6203
|
password: V,
|
|
6204
6204
|
unlimitCode: Z,
|
|
6205
6205
|
email: Q,
|
|
6206
|
-
inviteCode:
|
|
6206
|
+
inviteCode: K,
|
|
6207
6207
|
currencyCode: ee,
|
|
6208
6208
|
validCode: de,
|
|
6209
6209
|
nickName: he
|
|
6210
6210
|
}) => {
|
|
6211
|
-
const
|
|
6211
|
+
const be = {
|
|
6212
6212
|
memId: B,
|
|
6213
6213
|
passwd: Ta.MD5(V).toString(),
|
|
6214
6214
|
email: Q,
|
|
@@ -6216,12 +6216,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6216
6216
|
code: de,
|
|
6217
6217
|
nick_name: he
|
|
6218
6218
|
};
|
|
6219
|
-
return Q && (
|
|
6219
|
+
return Q && (be.email = Q), Z && (be.unlimit_code = Z), K && (be.invite = K), e.post("/siginUp", be);
|
|
6220
6220
|
},
|
|
6221
6221
|
[e]
|
|
6222
6222
|
), g = M(
|
|
6223
6223
|
async (B) => {
|
|
6224
|
-
const { name: V, birthday: Z, email: Q, mobile:
|
|
6224
|
+
const { name: V, birthday: Z, email: Q, mobile: K } = B;
|
|
6225
6225
|
return await e.post("/editMembetInfo", {
|
|
6226
6226
|
name: V,
|
|
6227
6227
|
// 暱稱
|
|
@@ -6229,14 +6229,14 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6229
6229
|
// 生日 (格式:YYYY-MM-DD)
|
|
6230
6230
|
email: Q,
|
|
6231
6231
|
// 電子郵件
|
|
6232
|
-
mobile:
|
|
6232
|
+
mobile: K
|
|
6233
6233
|
// 手機號碼
|
|
6234
6234
|
});
|
|
6235
6235
|
},
|
|
6236
6236
|
[e]
|
|
6237
6237
|
), p = M(
|
|
6238
6238
|
async (B) => {
|
|
6239
|
-
const { name: V, birthday: Z, email: Q, mobile:
|
|
6239
|
+
const { name: V, birthday: Z, email: Q, mobile: K } = B;
|
|
6240
6240
|
return await e.post("/editMemberInfo", {
|
|
6241
6241
|
name: V,
|
|
6242
6242
|
// 暱稱
|
|
@@ -6244,17 +6244,17 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6244
6244
|
// 生日 (格式:YYYY-MM-DD)
|
|
6245
6245
|
email: Q,
|
|
6246
6246
|
// 電子郵件
|
|
6247
|
-
mobile:
|
|
6247
|
+
mobile: K
|
|
6248
6248
|
// 手機號碼
|
|
6249
6249
|
});
|
|
6250
6250
|
},
|
|
6251
6251
|
[e]
|
|
6252
6252
|
), f = M(
|
|
6253
6253
|
async (B) => {
|
|
6254
|
-
const { oldPwd: V, newPwd: Z, encrypt: Q } = B,
|
|
6254
|
+
const { oldPwd: V, newPwd: Z, encrypt: Q } = B, K = $o(Q || a || "md5");
|
|
6255
6255
|
return await e.post("/passwordReset", {
|
|
6256
|
-
old_pwd:
|
|
6257
|
-
new_pwd:
|
|
6256
|
+
old_pwd: K(V),
|
|
6257
|
+
new_pwd: K(Z)
|
|
6258
6258
|
});
|
|
6259
6259
|
},
|
|
6260
6260
|
[e, a]
|
|
@@ -6316,12 +6316,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6316
6316
|
[e]
|
|
6317
6317
|
), T = M(async () => await e.get("/member/checkRestrictedWagering"), [e]), h = M(
|
|
6318
6318
|
async (B) => {
|
|
6319
|
-
const { memId: V, point: Z, currency: Q, password:
|
|
6319
|
+
const { memId: V, point: Z, currency: Q, password: K } = B;
|
|
6320
6320
|
return await e.post("/pointsTransaction", {
|
|
6321
6321
|
to_memId: V,
|
|
6322
6322
|
point: Z,
|
|
6323
6323
|
currency: Q,
|
|
6324
|
-
password: Ja(
|
|
6324
|
+
password: Ja(K)
|
|
6325
6325
|
});
|
|
6326
6326
|
},
|
|
6327
6327
|
[e]
|
|
@@ -6331,7 +6331,7 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6331
6331
|
bank_name: V,
|
|
6332
6332
|
bank_account_name: Z,
|
|
6333
6333
|
bank_branch_name: Q,
|
|
6334
|
-
bank_account:
|
|
6334
|
+
bank_account: K,
|
|
6335
6335
|
bank_card_number: ee,
|
|
6336
6336
|
id_card: de,
|
|
6337
6337
|
id_pic: he
|
|
@@ -6349,12 +6349,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6349
6349
|
[e]
|
|
6350
6350
|
), k = M(
|
|
6351
6351
|
async (B) => {
|
|
6352
|
-
const { trans_code: V, line_id: Z, invite: Q, line_name:
|
|
6352
|
+
const { trans_code: V, line_id: Z, invite: Q, line_name: K } = B;
|
|
6353
6353
|
return await e.post("/goLine", {
|
|
6354
6354
|
trans_code: V,
|
|
6355
6355
|
line_id: Z,
|
|
6356
6356
|
invite: Q,
|
|
6357
|
-
line_name:
|
|
6357
|
+
line_name: K
|
|
6358
6358
|
});
|
|
6359
6359
|
},
|
|
6360
6360
|
[e]
|
|
@@ -6376,22 +6376,22 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6376
6376
|
[e]
|
|
6377
6377
|
), P = M(
|
|
6378
6378
|
async (B) => {
|
|
6379
|
-
const { member_info_uid: V, point: Z, currency: Q, withdraw_password:
|
|
6379
|
+
const { member_info_uid: V, point: Z, currency: Q, withdraw_password: K } = B;
|
|
6380
6380
|
return await e.post(`/member/transfer/${V}`, {
|
|
6381
6381
|
point: Z,
|
|
6382
6382
|
currency: Q,
|
|
6383
|
-
withdraw_password:
|
|
6383
|
+
withdraw_password: K
|
|
6384
6384
|
});
|
|
6385
6385
|
},
|
|
6386
6386
|
[e]
|
|
6387
6387
|
), R = M(
|
|
6388
6388
|
async (B) => {
|
|
6389
|
-
const { member_info_uid: V, point: Z, currency: Q, withdraw_password:
|
|
6389
|
+
const { member_info_uid: V, point: Z, currency: Q, withdraw_password: K } = B;
|
|
6390
6390
|
return await e.get(`/member/transfer/${V}`, {
|
|
6391
6391
|
params: {
|
|
6392
6392
|
point: Z,
|
|
6393
6393
|
currency: Q,
|
|
6394
|
-
withdraw_password:
|
|
6394
|
+
withdraw_password: K
|
|
6395
6395
|
}
|
|
6396
6396
|
});
|
|
6397
6397
|
},
|
|
@@ -6407,24 +6407,24 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6407
6407
|
[e]
|
|
6408
6408
|
), G = M(
|
|
6409
6409
|
async (B) => {
|
|
6410
|
-
const { mobile: V, verifyCode: Z, snCode: Q, invoiceType:
|
|
6410
|
+
const { mobile: V, verifyCode: Z, snCode: Q, invoiceType: K, invoiceCode: ee } = B;
|
|
6411
6411
|
return await e.post("/goMobile", {
|
|
6412
6412
|
mobile: V,
|
|
6413
6413
|
verification_code: Z,
|
|
6414
6414
|
sn_code: Q,
|
|
6415
|
-
invoice_type:
|
|
6415
|
+
invoice_type: K,
|
|
6416
6416
|
invoice_code: ee
|
|
6417
6417
|
});
|
|
6418
6418
|
},
|
|
6419
6419
|
[e]
|
|
6420
6420
|
), I = M(
|
|
6421
6421
|
async (B) => {
|
|
6422
|
-
const { mobile: V, password: Z, verifyCode: Q, invite:
|
|
6422
|
+
const { mobile: V, password: Z, verifyCode: Q, invite: K, invoiceType: ee, invoiceCode: de } = B;
|
|
6423
6423
|
return await e.post("/goMobileByInvite", {
|
|
6424
6424
|
mobile: V,
|
|
6425
6425
|
passwd: Ta.MD5(Z).toString(),
|
|
6426
6426
|
verification_code: Q,
|
|
6427
|
-
invite:
|
|
6427
|
+
invite: K,
|
|
6428
6428
|
invoice_type: ee,
|
|
6429
6429
|
invoice_code: de
|
|
6430
6430
|
});
|
|
@@ -6442,12 +6442,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6442
6442
|
[e]
|
|
6443
6443
|
), O = M(
|
|
6444
6444
|
async (B) => {
|
|
6445
|
-
const { mobile: V, password: Z, invite: Q, invoiceType:
|
|
6445
|
+
const { mobile: V, password: Z, invite: Q, invoiceType: K, invoiceCode: ee } = B;
|
|
6446
6446
|
return await e.post("/goMobileByPassword", {
|
|
6447
6447
|
mobile: V,
|
|
6448
6448
|
password: Ta.MD5(Z).toString(),
|
|
6449
6449
|
invite: Q,
|
|
6450
|
-
invoice_type:
|
|
6450
|
+
invoice_type: K,
|
|
6451
6451
|
invoice_code: ee
|
|
6452
6452
|
});
|
|
6453
6453
|
},
|
|
@@ -6534,9 +6534,9 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6534
6534
|
getUserAvatarListApi: X,
|
|
6535
6535
|
updateUserAvatarApi: ie
|
|
6536
6536
|
};
|
|
6537
|
-
},
|
|
6537
|
+
}, Tu = ({ otherQueryKey: e = [], options: t = {} } = {}) => {
|
|
6538
6538
|
const { userCurrencyExchangeApi: a } = oe(), { getToken: n } = re(), { enabled: s, ...u } = t, d = !!n?.() && (s ? s.every((l) => l) : !0);
|
|
6539
|
-
return
|
|
6539
|
+
return sr({
|
|
6540
6540
|
queries: [
|
|
6541
6541
|
{
|
|
6542
6542
|
queryKey: ["userCurrencyExchange", ...e],
|
|
@@ -6548,13 +6548,13 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6548
6548
|
}
|
|
6549
6549
|
]
|
|
6550
6550
|
});
|
|
6551
|
-
},
|
|
6551
|
+
}, ku = ({
|
|
6552
6552
|
refetchInterval: e = 5e4,
|
|
6553
6553
|
trigger: t = [],
|
|
6554
6554
|
enabled: a = !0
|
|
6555
6555
|
} = {}) => {
|
|
6556
6556
|
const { getToken: n } = re(), s = n?.(), { userInfoApi: u } = oe();
|
|
6557
|
-
return
|
|
6557
|
+
return sr({
|
|
6558
6558
|
queries: [
|
|
6559
6559
|
{
|
|
6560
6560
|
queryKey: ["getMemberInfo", ...t],
|
|
@@ -6564,7 +6564,7 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6564
6564
|
}
|
|
6565
6565
|
]
|
|
6566
6566
|
});
|
|
6567
|
-
},
|
|
6567
|
+
}, xu = ({ enabled: e = !0 } = {}) => {
|
|
6568
6568
|
const {
|
|
6569
6569
|
userInfoApi: t,
|
|
6570
6570
|
userFavoriteGameApi: a,
|
|
@@ -6659,31 +6659,31 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6659
6659
|
[e]
|
|
6660
6660
|
);
|
|
6661
6661
|
return { playGameApi: n, betRecordApi: s, betRecordDetailApi: u };
|
|
6662
|
-
},
|
|
6662
|
+
}, jo = ({ options: e, formData: t } = {}) => {
|
|
6663
6663
|
const { betRecordApi: a } = Gi();
|
|
6664
6664
|
return Y({
|
|
6665
6665
|
queryKey: ["getBetRecord"],
|
|
6666
6666
|
queryFn: async () => await a(t),
|
|
6667
|
-
select: (n) =>
|
|
6667
|
+
select: (n) => mr(n).map(([u, b]) => ({
|
|
6668
6668
|
...b,
|
|
6669
6669
|
platform: u
|
|
6670
6670
|
})),
|
|
6671
6671
|
...e
|
|
6672
6672
|
});
|
|
6673
|
-
},
|
|
6673
|
+
}, Qo = ({ options: e, formData: t } = {}) => {
|
|
6674
6674
|
const { betRecordDetailApi: a } = Gi();
|
|
6675
6675
|
return Y({
|
|
6676
6676
|
queryKey: ["getBetRecordDetail"],
|
|
6677
6677
|
queryFn: async () => await a(t),
|
|
6678
6678
|
...e
|
|
6679
6679
|
});
|
|
6680
|
-
},
|
|
6680
|
+
}, Su = ({
|
|
6681
6681
|
options: e = {
|
|
6682
6682
|
betRecord: {},
|
|
6683
6683
|
betRecordDetail: {}
|
|
6684
6684
|
}
|
|
6685
6685
|
}) => {
|
|
6686
|
-
const t =
|
|
6686
|
+
const t = jo({ options: e.betRecord }), a = Qo({
|
|
6687
6687
|
options: e.betRecordDetail
|
|
6688
6688
|
});
|
|
6689
6689
|
return {
|
|
@@ -6699,7 +6699,7 @@ function ft(e) {
|
|
|
6699
6699
|
}
|
|
6700
6700
|
return e;
|
|
6701
6701
|
}
|
|
6702
|
-
var
|
|
6702
|
+
var Yo = {
|
|
6703
6703
|
read: function(e) {
|
|
6704
6704
|
return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
6705
6705
|
},
|
|
@@ -6760,7 +6760,7 @@ function Ui(e, t) {
|
|
|
6760
6760
|
}
|
|
6761
6761
|
);
|
|
6762
6762
|
}
|
|
6763
|
-
var Ci = Ui(
|
|
6763
|
+
var Ci = Ui(Yo, { path: "/" }), gi = {}, $e = {}, di = {}, Mn;
|
|
6764
6764
|
function sa() {
|
|
6765
6765
|
return Mn || (Mn = 1, (function(e) {
|
|
6766
6766
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
|
|
@@ -6835,7 +6835,7 @@ function Ri() {
|
|
|
6835
6835
|
return pa.setUpSocketIOPing = n, pa;
|
|
6836
6836
|
}
|
|
6837
6837
|
var _t = {}, wn;
|
|
6838
|
-
function
|
|
6838
|
+
function kr() {
|
|
6839
6839
|
if (wn) return _t;
|
|
6840
6840
|
wn = 1, Object.defineProperty(_t, "__esModule", { value: !0 }), _t.heartbeat = a;
|
|
6841
6841
|
var e = sa();
|
|
@@ -6909,7 +6909,7 @@ function wi() {
|
|
|
6909
6909
|
return lt;
|
|
6910
6910
|
}
|
|
6911
6911
|
var On;
|
|
6912
|
-
function
|
|
6912
|
+
function Xo() {
|
|
6913
6913
|
if (On) return Na;
|
|
6914
6914
|
On = 1;
|
|
6915
6915
|
var e = Na && Na.__assign || function() {
|
|
@@ -6922,7 +6922,7 @@ function Qo() {
|
|
|
6922
6922
|
}, e.apply(this, arguments);
|
|
6923
6923
|
};
|
|
6924
6924
|
Object.defineProperty(Na, "__esModule", { value: !0 }), Na.attachListeners = void 0;
|
|
6925
|
-
var t = Ri(), a =
|
|
6925
|
+
var t = Ri(), a = kr(), n = sa(), s = wi(), u = function(r, o, m, g) {
|
|
6926
6926
|
r.onmessage = function(p) {
|
|
6927
6927
|
var f;
|
|
6928
6928
|
o.current.onMessage && o.current.onMessage(p), typeof g?.current == "number" && (g.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(p) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((f = o.current.heartbeat) === null || f === void 0 ? void 0 : f.returnMessage) === p.data || m(p));
|
|
@@ -6979,7 +6979,7 @@ function Qo() {
|
|
|
6979
6979
|
return Na.attachListeners = i, Na;
|
|
6980
6980
|
}
|
|
6981
6981
|
var La = {}, Bn;
|
|
6982
|
-
function
|
|
6982
|
+
function es() {
|
|
6983
6983
|
if (Bn) return La;
|
|
6984
6984
|
Bn = 1;
|
|
6985
6985
|
var e = La && La.__assign || function() {
|
|
@@ -6992,7 +6992,7 @@ function Yo() {
|
|
|
6992
6992
|
}, e.apply(this, arguments);
|
|
6993
6993
|
};
|
|
6994
6994
|
Object.defineProperty(La, "__esModule", { value: !0 }), La.attachSharedListeners = void 0;
|
|
6995
|
-
var t = Mi(), a = sa(), n = Pi(), s = Ri(), u =
|
|
6995
|
+
var t = Mi(), a = sa(), n = Pi(), s = Ri(), u = kr(), b = function(o, m, g) {
|
|
6996
6996
|
o.onmessage = function(p) {
|
|
6997
6997
|
(0, n.getSubscribers)(m).forEach(function(f) {
|
|
6998
6998
|
var y;
|
|
@@ -7041,10 +7041,10 @@ function Yo() {
|
|
|
7041
7041
|
return La.attachSharedListeners = r, La;
|
|
7042
7042
|
}
|
|
7043
7043
|
var Hn;
|
|
7044
|
-
function
|
|
7044
|
+
function as() {
|
|
7045
7045
|
if (Hn) return rt;
|
|
7046
7046
|
Hn = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.createOrJoinSocket = void 0;
|
|
7047
|
-
var e = Mi(), t = sa(), a =
|
|
7047
|
+
var e = Mi(), t = sa(), a = Xo(), n = es(), s = Pi(), u = function(d, l, i, r, o) {
|
|
7048
7048
|
return function() {
|
|
7049
7049
|
if ((0, s.removeSubscriber)(d, l), !(0, s.hasSubscribers)(d)) {
|
|
7050
7050
|
try {
|
|
@@ -7084,7 +7084,7 @@ function Xo() {
|
|
|
7084
7084
|
return rt.createOrJoinSocket = b, rt;
|
|
7085
7085
|
}
|
|
7086
7086
|
var ga = {}, Wn;
|
|
7087
|
-
function
|
|
7087
|
+
function ts() {
|
|
7088
7088
|
return Wn || (Wn = 1, (function(e) {
|
|
7089
7089
|
var t = ga && ga.__awaiter || function(l, i, r, o) {
|
|
7090
7090
|
function m(g) {
|
|
@@ -7221,7 +7221,7 @@ function es() {
|
|
|
7221
7221
|
})(ga)), ga;
|
|
7222
7222
|
}
|
|
7223
7223
|
var _i = {}, In;
|
|
7224
|
-
function
|
|
7224
|
+
function is() {
|
|
7225
7225
|
return In || (In = 1, (function(e) {
|
|
7226
7226
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
|
|
7227
7227
|
var t = function(a, n) {
|
|
@@ -7241,9 +7241,9 @@ function as() {
|
|
|
7241
7241
|
}
|
|
7242
7242
|
var zn;
|
|
7243
7243
|
function Fi() {
|
|
7244
|
-
if (zn) return
|
|
7244
|
+
if (zn) return $e;
|
|
7245
7245
|
zn = 1;
|
|
7246
|
-
var e =
|
|
7246
|
+
var e = $e && $e.__assign || function() {
|
|
7247
7247
|
return e = Object.assign || function(m) {
|
|
7248
7248
|
for (var g, p = 1, f = arguments.length; p < f; p++) {
|
|
7249
7249
|
g = arguments[p];
|
|
@@ -7251,7 +7251,7 @@ function Fi() {
|
|
|
7251
7251
|
}
|
|
7252
7252
|
return m;
|
|
7253
7253
|
}, e.apply(this, arguments);
|
|
7254
|
-
}, t =
|
|
7254
|
+
}, t = $e && $e.__awaiter || function(m, g, p, f) {
|
|
7255
7255
|
function y(_) {
|
|
7256
7256
|
return _ instanceof p ? _ : new p(function(c) {
|
|
7257
7257
|
c(_);
|
|
@@ -7277,7 +7277,7 @@ function Fi() {
|
|
|
7277
7277
|
}
|
|
7278
7278
|
v((f = f.apply(m, g || [])).next());
|
|
7279
7279
|
});
|
|
7280
|
-
}, a =
|
|
7280
|
+
}, a = $e && $e.__generator || function(m, g) {
|
|
7281
7281
|
var p = { label: 0, sent: function() {
|
|
7282
7282
|
if (_[0] & 1) throw _[1];
|
|
7283
7283
|
return _[1];
|
|
@@ -7336,11 +7336,11 @@ function Fi() {
|
|
|
7336
7336
|
if (v[0] & 5) throw v[1];
|
|
7337
7337
|
return { value: v[0] ? v[1] : void 0, done: !0 };
|
|
7338
7338
|
}
|
|
7339
|
-
}, n =
|
|
7339
|
+
}, n = $e && $e.__importDefault || function(m) {
|
|
7340
7340
|
return m && m.__esModule ? m : { default: m };
|
|
7341
7341
|
};
|
|
7342
|
-
Object.defineProperty(
|
|
7343
|
-
var s = ve, u =
|
|
7342
|
+
Object.defineProperty($e, "__esModule", { value: !0 }), $e.useWebSocket = void 0;
|
|
7343
|
+
var s = ve, u = _l, b = sa(), d = as(), l = ts(), i = n(is()), r = wi(), o = function(m, g, p) {
|
|
7344
7344
|
g === void 0 && (g = b.DEFAULT_OPTIONS), p === void 0 && (p = !0);
|
|
7345
7345
|
var f = (0, s.useState)(null), y = f[0], _ = f[1], c = (0, s.useState)({}), U = c[0], C = c[1], v = (0, s.useMemo)(function() {
|
|
7346
7346
|
if (!g.disableJson && y)
|
|
@@ -7423,10 +7423,10 @@ function Fi() {
|
|
|
7423
7423
|
getWebSocket: W
|
|
7424
7424
|
};
|
|
7425
7425
|
};
|
|
7426
|
-
return
|
|
7426
|
+
return $e.useWebSocket = o, $e;
|
|
7427
7427
|
}
|
|
7428
7428
|
var Ga = {}, Vn;
|
|
7429
|
-
function
|
|
7429
|
+
function ns() {
|
|
7430
7430
|
if (Vn) return Ga;
|
|
7431
7431
|
Vn = 1;
|
|
7432
7432
|
var e = Ga && Ga.__assign || function() {
|
|
@@ -7472,7 +7472,7 @@ function ts() {
|
|
|
7472
7472
|
return Ga.useSocketIO = b, Ga;
|
|
7473
7473
|
}
|
|
7474
7474
|
var da = {}, Jn;
|
|
7475
|
-
function
|
|
7475
|
+
function rs() {
|
|
7476
7476
|
if (Jn) return da;
|
|
7477
7477
|
Jn = 1;
|
|
7478
7478
|
var e = da && da.__assign || function() {
|
|
@@ -7515,14 +7515,14 @@ function is() {
|
|
|
7515
7515
|
return da.useEventSource = u, da;
|
|
7516
7516
|
}
|
|
7517
7517
|
var Zn;
|
|
7518
|
-
function
|
|
7518
|
+
function ls() {
|
|
7519
7519
|
return Zn || (Zn = 1, (function(e) {
|
|
7520
7520
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
|
|
7521
7521
|
var t = Fi();
|
|
7522
7522
|
Object.defineProperty(e, "default", { enumerable: !0, get: function() {
|
|
7523
7523
|
return t.useWebSocket;
|
|
7524
7524
|
} });
|
|
7525
|
-
var a =
|
|
7525
|
+
var a = ns();
|
|
7526
7526
|
Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
|
|
7527
7527
|
return a.useSocketIO;
|
|
7528
7528
|
} });
|
|
@@ -7530,7 +7530,7 @@ function ns() {
|
|
|
7530
7530
|
Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
|
|
7531
7531
|
return n.ReadyState;
|
|
7532
7532
|
} });
|
|
7533
|
-
var s =
|
|
7533
|
+
var s = rs();
|
|
7534
7534
|
Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
|
|
7535
7535
|
return s.useEventSource;
|
|
7536
7536
|
} });
|
|
@@ -7540,15 +7540,15 @@ function ns() {
|
|
|
7540
7540
|
} });
|
|
7541
7541
|
})(gi)), gi;
|
|
7542
7542
|
}
|
|
7543
|
-
var
|
|
7544
|
-
const
|
|
7543
|
+
var os = ls();
|
|
7544
|
+
const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
7545
7545
|
enable: e = !1,
|
|
7546
7546
|
isTestFunction: t = !1,
|
|
7547
7547
|
isTransferMode: a = !1,
|
|
7548
7548
|
isInGameBox: n = !1,
|
|
7549
7549
|
currentGamePlatform: s = ""
|
|
7550
7550
|
}) => {
|
|
7551
|
-
const { store: u, lng: b } = re(), { isReady: d, setAsReady: l, isPending: i, setAsPending: r } =
|
|
7551
|
+
const { store: u, lng: b } = re(), { isReady: d, setAsReady: l, isPending: i, setAsPending: r } = dr(), o = Ve(b), { mutateAsync: m } = xs();
|
|
7552
7552
|
return !e || !t || !a ? { handleTransferInGame: () => {
|
|
7553
7553
|
} } : { handleTransferInGame: async () => {
|
|
7554
7554
|
n && await m({
|
|
@@ -7587,13 +7587,13 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7587
7587
|
}
|
|
7588
7588
|
});
|
|
7589
7589
|
} };
|
|
7590
|
-
}, Kn = "/member-monthly-card",
|
|
7590
|
+
}, Kn = "/member-monthly-card", xr = () => {
|
|
7591
7591
|
const { client: e } = re(), t = M(async () => await e.get(`${Kn}/info`), [e]), a = M(async () => await e.post(`${Kn}/withdraw`), [e]);
|
|
7592
7592
|
return {
|
|
7593
7593
|
getMonthCardInfoApi: t,
|
|
7594
7594
|
withdrawMonthCardApi: a
|
|
7595
7595
|
};
|
|
7596
|
-
}, Ai = ["monthCardInfo"],
|
|
7596
|
+
}, Ai = ["monthCardInfo"], us = (e) => {
|
|
7597
7597
|
const t = j(e, "status", null), a = j(e, "remaining_days", null), n = j(e, "activated_at", null), s = j(e, "is_under_maintenance", 0) === 1, u = j(e, "wagering_progress", []), b = j(e, "daily", []), d = t !== null, l = j(e, "withdraw_limit", null), i = j(e, "total_withdraw_amount", 0);
|
|
7598
7598
|
return {
|
|
7599
7599
|
...e,
|
|
@@ -7607,16 +7607,16 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7607
7607
|
withdrawLimit: l,
|
|
7608
7608
|
totalWithdrawAmount: i
|
|
7609
7609
|
};
|
|
7610
|
-
},
|
|
7611
|
-
const { getMonthCardInfoApi: t } =
|
|
7610
|
+
}, ps = ({ options: e } = {}) => {
|
|
7611
|
+
const { getMonthCardInfoApi: t } = xr();
|
|
7612
7612
|
return Y({
|
|
7613
7613
|
queryKey: Ai,
|
|
7614
7614
|
queryFn: t,
|
|
7615
|
-
select:
|
|
7615
|
+
select: us,
|
|
7616
7616
|
...e
|
|
7617
7617
|
});
|
|
7618
|
-
},
|
|
7619
|
-
const { withdrawMonthCardApi: t } =
|
|
7618
|
+
}, gs = ({ options: e } = {}) => {
|
|
7619
|
+
const { withdrawMonthCardApi: t } = xr(), a = ya();
|
|
7620
7620
|
return ae({
|
|
7621
7621
|
mutationKey: ["withdrawMonthCard"],
|
|
7622
7622
|
mutationFn: t,
|
|
@@ -7625,15 +7625,15 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7625
7625
|
},
|
|
7626
7626
|
...e
|
|
7627
7627
|
});
|
|
7628
|
-
},
|
|
7628
|
+
}, Eu = ({
|
|
7629
7629
|
options: e = {
|
|
7630
7630
|
monthCardInfo: {},
|
|
7631
7631
|
withdrawMonthCard: {}
|
|
7632
7632
|
}
|
|
7633
7633
|
} = {}) => {
|
|
7634
|
-
const t =
|
|
7634
|
+
const t = ps({
|
|
7635
7635
|
options: e.monthCardInfo
|
|
7636
|
-
}), a =
|
|
7636
|
+
}), a = gs({
|
|
7637
7637
|
options: e.withdrawMonthCard
|
|
7638
7638
|
});
|
|
7639
7639
|
return {
|
|
@@ -7680,77 +7680,77 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7680
7680
|
verifyDonationCodeApi: d,
|
|
7681
7681
|
announcementApi: a
|
|
7682
7682
|
};
|
|
7683
|
-
},
|
|
7683
|
+
}, ds = ({ options: e } = {}) => {
|
|
7684
7684
|
const { userLoginApi: t } = oe();
|
|
7685
7685
|
return ae({
|
|
7686
7686
|
mutationKey: ["userLogin"],
|
|
7687
7687
|
mutationFn: async (a) => t(a),
|
|
7688
7688
|
...e
|
|
7689
7689
|
});
|
|
7690
|
-
},
|
|
7690
|
+
}, cs = ({ options: e } = {}) => {
|
|
7691
7691
|
const { userLogoutApi: t } = oe();
|
|
7692
7692
|
return ae({
|
|
7693
7693
|
mutationKey: ["userLogout"],
|
|
7694
7694
|
mutationFn: async () => t(),
|
|
7695
7695
|
...e
|
|
7696
7696
|
});
|
|
7697
|
-
},
|
|
7697
|
+
}, fs = ({ options: e } = {}) => {
|
|
7698
7698
|
const { userSignUpApi: t } = oe();
|
|
7699
7699
|
return ae({
|
|
7700
7700
|
mutationKey: ["userSignUp"],
|
|
7701
7701
|
mutationFn: async (a) => t(a),
|
|
7702
7702
|
...e
|
|
7703
7703
|
});
|
|
7704
|
-
},
|
|
7704
|
+
}, _s = ({ options: e } = {}) => {
|
|
7705
7705
|
const { addOrRemoveFavoriteGameApi: t } = oe();
|
|
7706
7706
|
return ae({
|
|
7707
7707
|
mutationKey: ["toggleFavoriteGame"],
|
|
7708
7708
|
mutationFn: async (a) => t(a),
|
|
7709
7709
|
...e
|
|
7710
7710
|
});
|
|
7711
|
-
},
|
|
7711
|
+
}, ys = ({ options: e } = {}) => {
|
|
7712
7712
|
const { updateUserInfoApi: t } = oe();
|
|
7713
7713
|
return ae({
|
|
7714
7714
|
mutationKey: ["updateUserInfo"],
|
|
7715
7715
|
mutationFn: async (a) => t(a),
|
|
7716
7716
|
...e
|
|
7717
7717
|
});
|
|
7718
|
-
},
|
|
7718
|
+
}, bs = ({ options: e } = {}) => {
|
|
7719
7719
|
const { updateMemberInfoApi: t } = oe();
|
|
7720
7720
|
return ae({
|
|
7721
7721
|
mutationKey: ["updateMemberInfo"],
|
|
7722
7722
|
mutationFn: async (a) => t(a),
|
|
7723
7723
|
...e
|
|
7724
7724
|
});
|
|
7725
|
-
},
|
|
7725
|
+
}, Us = ({ options: e } = {}) => {
|
|
7726
7726
|
const { resetUserPasswordApi: t } = oe();
|
|
7727
7727
|
return ae({
|
|
7728
7728
|
mutationKey: ["resetUserPassword"],
|
|
7729
7729
|
mutationFn: async (a) => t(a),
|
|
7730
7730
|
...e
|
|
7731
7731
|
});
|
|
7732
|
-
},
|
|
7732
|
+
}, Cs = ({ options: e } = {}) => {
|
|
7733
7733
|
const { memberInitSetApi: t } = oe();
|
|
7734
7734
|
return ae({
|
|
7735
7735
|
mutationKey: ["memberInitSet"],
|
|
7736
7736
|
mutationFn: async (a) => t(a),
|
|
7737
7737
|
...e
|
|
7738
7738
|
});
|
|
7739
|
-
},
|
|
7739
|
+
}, vs = ({ options: e } = {}) => {
|
|
7740
7740
|
const { setUserTransactionPasswordApi: t } = oe();
|
|
7741
7741
|
return ae({
|
|
7742
7742
|
mutationKey: ["setUserTransactionPassword"],
|
|
7743
7743
|
mutationFn: async (a) => t(a),
|
|
7744
7744
|
...e
|
|
7745
7745
|
});
|
|
7746
|
-
},
|
|
7746
|
+
}, hs = ({ options: e } = {}) => {
|
|
7747
7747
|
const { resetUserTransactionPasswordApi: t } = oe();
|
|
7748
7748
|
return ae({
|
|
7749
7749
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7750
7750
|
mutationFn: async (a) => t(a),
|
|
7751
7751
|
...e
|
|
7752
7752
|
});
|
|
7753
|
-
},
|
|
7753
|
+
}, Ts = ({ paramsData: e, options: t } = {}) => {
|
|
7754
7754
|
const { userRebateApi: a } = oe(), { getToken: n } = re();
|
|
7755
7755
|
return n?.(), Y({
|
|
7756
7756
|
queryKey: ["userRebate", e],
|
|
@@ -7758,14 +7758,14 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7758
7758
|
enabled: !1,
|
|
7759
7759
|
...t
|
|
7760
7760
|
});
|
|
7761
|
-
},
|
|
7761
|
+
}, ks = ({ options: e } = {}) => {
|
|
7762
7762
|
const { userBindBankApi: t } = oe();
|
|
7763
7763
|
return ae({
|
|
7764
7764
|
mutationKey: ["userBindBank"],
|
|
7765
7765
|
mutationFn: async (a) => t({ formData: a }),
|
|
7766
7766
|
...e
|
|
7767
7767
|
});
|
|
7768
|
-
},
|
|
7768
|
+
}, xs = ({ options: e } = {}) => {
|
|
7769
7769
|
const { transferInGameApi: t } = oe();
|
|
7770
7770
|
return ae({
|
|
7771
7771
|
mutationKey: ["transferInGame"],
|
|
@@ -7773,7 +7773,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7773
7773
|
retry: !1,
|
|
7774
7774
|
...e
|
|
7775
7775
|
});
|
|
7776
|
-
},
|
|
7776
|
+
}, Du = ({ options: e } = {}) => {
|
|
7777
7777
|
const { currency: t } = re(), { pointTransferApi: a } = oe();
|
|
7778
7778
|
return ae({
|
|
7779
7779
|
mutationKey: ["pointTransfer"],
|
|
@@ -7783,7 +7783,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7783
7783
|
}),
|
|
7784
7784
|
...e
|
|
7785
7785
|
});
|
|
7786
|
-
},
|
|
7786
|
+
}, Nu = ({ options: e } = {}) => {
|
|
7787
7787
|
const { currency: t } = re(), { checkUserWagerApi: a } = oe();
|
|
7788
7788
|
return Y({
|
|
7789
7789
|
queryKey: ["checkUserWager"],
|
|
@@ -7796,7 +7796,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7796
7796
|
},
|
|
7797
7797
|
...e
|
|
7798
7798
|
});
|
|
7799
|
-
},
|
|
7799
|
+
}, Lu = ({ options: e } = {}) => {
|
|
7800
7800
|
const t = ya(), { abandonPointsApi: a } = oe();
|
|
7801
7801
|
return ae({
|
|
7802
7802
|
mutationKey: ["abandonPoint"],
|
|
@@ -7808,133 +7808,133 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7808
7808
|
},
|
|
7809
7809
|
...e
|
|
7810
7810
|
});
|
|
7811
|
-
},
|
|
7811
|
+
}, Sr = ({ options: e } = {}) => {
|
|
7812
7812
|
const { lineLoginApi: t } = oe();
|
|
7813
7813
|
return ae({
|
|
7814
7814
|
mutationKey: ["lineLogin"],
|
|
7815
7815
|
mutationFn: async (a) => t(a),
|
|
7816
7816
|
...e
|
|
7817
7817
|
});
|
|
7818
|
-
},
|
|
7818
|
+
}, Ss = ({ options: e } = {}) => {
|
|
7819
7819
|
const { lineLogin2Api: t } = oe();
|
|
7820
7820
|
return ae({
|
|
7821
7821
|
mutationKey: ["lineLogin"],
|
|
7822
7822
|
mutationFn: async (a) => t(a),
|
|
7823
7823
|
...e
|
|
7824
7824
|
});
|
|
7825
|
-
},
|
|
7825
|
+
}, Gu = ({ options: e } = {}) => {
|
|
7826
7826
|
const { machineLoginApi: t } = oe();
|
|
7827
7827
|
return ae({
|
|
7828
7828
|
mutationKey: ["machineLogin"],
|
|
7829
7829
|
mutationFn: async (a) => t(a),
|
|
7830
7830
|
...e
|
|
7831
7831
|
});
|
|
7832
|
-
},
|
|
7832
|
+
}, Es = ({ options: e, formData: t } = {}) => {
|
|
7833
7833
|
const { getMachineLoginCodeApi: a } = oe();
|
|
7834
7834
|
return Y({
|
|
7835
7835
|
queryKey: ["getMachineLoginCode"],
|
|
7836
7836
|
queryFn: async () => a(t),
|
|
7837
7837
|
...e
|
|
7838
7838
|
});
|
|
7839
|
-
},
|
|
7839
|
+
}, Mu = ({ options: e } = {}) => {
|
|
7840
7840
|
const { currency: t } = re(), { memberTransferApi: a } = oe();
|
|
7841
7841
|
return ae({
|
|
7842
7842
|
mutationKey: ["memberTransfer"],
|
|
7843
7843
|
mutationFn: async (n) => a({ ...n, currency: t }),
|
|
7844
7844
|
...e
|
|
7845
7845
|
});
|
|
7846
|
-
},
|
|
7846
|
+
}, Ru = ({ options: e } = {}) => {
|
|
7847
7847
|
const { currency: t } = re(), { checkMemberTransferApi: a } = oe();
|
|
7848
7848
|
return ae({
|
|
7849
7849
|
mutationKey: ["checkMemberTransfer"],
|
|
7850
7850
|
mutationFn: async (n) => a({ ...n, currency: t }),
|
|
7851
7851
|
...e
|
|
7852
7852
|
});
|
|
7853
|
-
},
|
|
7853
|
+
}, Pu = ({ options: e } = {}) => {
|
|
7854
7854
|
const { mobileLoginApi: t } = oe();
|
|
7855
7855
|
return ae({
|
|
7856
7856
|
mutationKey: ["mobileLogin"],
|
|
7857
7857
|
mutationFn: async (a) => t(a),
|
|
7858
7858
|
...e
|
|
7859
7859
|
});
|
|
7860
|
-
},
|
|
7860
|
+
}, wu = ({ options: e } = {}) => {
|
|
7861
7861
|
const { mobileLoginApiV2: t } = oe();
|
|
7862
7862
|
return ae({
|
|
7863
7863
|
mutationKey: ["mobileLoginV2"],
|
|
7864
7864
|
mutationFn: async (a) => t(a),
|
|
7865
7865
|
...e
|
|
7866
7866
|
});
|
|
7867
|
-
},
|
|
7867
|
+
}, Fu = ({ options: e } = {}) => {
|
|
7868
7868
|
const { mobileRegisterApi: t } = oe();
|
|
7869
7869
|
return ae({
|
|
7870
7870
|
mutationKey: ["mobileRegister"],
|
|
7871
7871
|
mutationFn: async (a) => t(a),
|
|
7872
7872
|
...e
|
|
7873
7873
|
});
|
|
7874
|
-
},
|
|
7874
|
+
}, Au = ({ options: e } = {}) => {
|
|
7875
7875
|
const { mobilePasswordApi: t } = oe();
|
|
7876
7876
|
return ae({
|
|
7877
7877
|
mutationKey: ["mobileByPassword"],
|
|
7878
7878
|
mutationFn: async (a) => t(a),
|
|
7879
7879
|
...e
|
|
7880
7880
|
});
|
|
7881
|
-
},
|
|
7881
|
+
}, Ou = ({ options: e } = {}) => {
|
|
7882
7882
|
const { forgotPasswordApi: t } = oe();
|
|
7883
7883
|
return ae({
|
|
7884
7884
|
mutationKey: ["forgotPassword"],
|
|
7885
7885
|
mutationFn: async (a) => t(a),
|
|
7886
7886
|
...e
|
|
7887
7887
|
});
|
|
7888
|
-
},
|
|
7888
|
+
}, Bu = ({ options: e } = {}) => {
|
|
7889
7889
|
const { checkMobileApi: t } = oe();
|
|
7890
7890
|
return ae({
|
|
7891
7891
|
mutationKey: ["checkMobile"],
|
|
7892
7892
|
mutationFn: async (a) => t(a),
|
|
7893
7893
|
...e
|
|
7894
7894
|
});
|
|
7895
|
-
},
|
|
7895
|
+
}, Ds = ({ options: e } = {}) => {
|
|
7896
7896
|
const { bindAccountApi: t } = oe();
|
|
7897
7897
|
return ae({
|
|
7898
7898
|
mutationKey: ["bindAccount"],
|
|
7899
7899
|
mutationFn: async (a) => t(a),
|
|
7900
7900
|
...e
|
|
7901
7901
|
});
|
|
7902
|
-
},
|
|
7902
|
+
}, Hu = ({ options: e } = {}) => {
|
|
7903
7903
|
const { sendMobileVerifyCodeApi: t } = oe();
|
|
7904
7904
|
return ae({
|
|
7905
7905
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7906
7906
|
mutationFn: async (a) => t(a),
|
|
7907
7907
|
...e
|
|
7908
7908
|
});
|
|
7909
|
-
},
|
|
7909
|
+
}, Wu = ({ options: e, paramsData: t } = {}) => {
|
|
7910
7910
|
const { verifyPhoneBarApi: a } = wa();
|
|
7911
7911
|
return Y({
|
|
7912
7912
|
queryKey: ["verifyPhoneBar", t],
|
|
7913
7913
|
queryFn: async () => a(t),
|
|
7914
7914
|
...e
|
|
7915
7915
|
});
|
|
7916
|
-
},
|
|
7916
|
+
}, Iu = ({ options: e, paramsData: t } = {}) => {
|
|
7917
7917
|
const { verifyDonationCodeApi: a } = wa();
|
|
7918
7918
|
return Y({
|
|
7919
7919
|
queryKey: ["verifyDonationCode", t],
|
|
7920
7920
|
queryFn: async () => a(t),
|
|
7921
7921
|
...e
|
|
7922
7922
|
});
|
|
7923
|
-
},
|
|
7923
|
+
}, zu = ({ options: e } = {}) => {
|
|
7924
7924
|
const { createMachineApi: t } = oe();
|
|
7925
7925
|
return ae({
|
|
7926
7926
|
mutationKey: ["createMachine"],
|
|
7927
7927
|
mutationFn: async (a) => t({ formData: a }),
|
|
7928
7928
|
...e
|
|
7929
7929
|
});
|
|
7930
|
-
},
|
|
7930
|
+
}, Vu = ({ options: e } = {}) => {
|
|
7931
7931
|
const { verifyResetActionApi: t } = oe();
|
|
7932
7932
|
return ae({
|
|
7933
7933
|
mutationKey: ["verifyResetAction"],
|
|
7934
7934
|
mutationFn: async (a) => t(a),
|
|
7935
7935
|
...e
|
|
7936
7936
|
});
|
|
7937
|
-
},
|
|
7937
|
+
}, Ju = ({ options: e, bonusData: t } = {}) => {
|
|
7938
7938
|
const { getJackpotApi: a } = oe();
|
|
7939
7939
|
return Y({
|
|
7940
7940
|
queryKey: ["getJackpotData"],
|
|
@@ -7947,20 +7947,20 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7947
7947
|
GRAND: 0,
|
|
7948
7948
|
MEGA: 0
|
|
7949
7949
|
});
|
|
7950
|
-
return t ?
|
|
7950
|
+
return t ? gl(t, (b, d) => {
|
|
7951
7951
|
b.amount = j(s, d, 0) + Math.floor(Math.random() * 1e3);
|
|
7952
7952
|
}) : s;
|
|
7953
7953
|
},
|
|
7954
7954
|
...e
|
|
7955
7955
|
});
|
|
7956
|
-
},
|
|
7956
|
+
}, Zu = ({ options: e } = {}) => {
|
|
7957
7957
|
const { getBetRankingApi: t } = oe();
|
|
7958
7958
|
return Y({
|
|
7959
7959
|
queryKey: ["getBetRankingData"],
|
|
7960
7960
|
queryFn: async () => t(),
|
|
7961
7961
|
...e
|
|
7962
7962
|
});
|
|
7963
|
-
},
|
|
7963
|
+
}, Ku = ({ options: e } = {}) => {
|
|
7964
7964
|
const { getUserAvatarListApi: t } = oe();
|
|
7965
7965
|
return Y({
|
|
7966
7966
|
queryKey: ["getAvatarList"],
|
|
@@ -7970,14 +7970,14 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7970
7970
|
// },
|
|
7971
7971
|
...e
|
|
7972
7972
|
});
|
|
7973
|
-
},
|
|
7973
|
+
}, qu = ({ options: e } = {}) => {
|
|
7974
7974
|
const { updateUserAvatarApi: t } = oe();
|
|
7975
7975
|
return ae({
|
|
7976
7976
|
mutationKey: ["updateAvatar"],
|
|
7977
7977
|
mutationFn: async (a) => t(a),
|
|
7978
7978
|
...e
|
|
7979
7979
|
});
|
|
7980
|
-
},
|
|
7980
|
+
}, $u = ({
|
|
7981
7981
|
options: e = {
|
|
7982
7982
|
login: {},
|
|
7983
7983
|
logout: {},
|
|
@@ -7992,19 +7992,19 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7992
7992
|
userBindCard: {}
|
|
7993
7993
|
}
|
|
7994
7994
|
} = {}) => {
|
|
7995
|
-
const t =
|
|
7995
|
+
const t = ds({ options: e.login }), a = cs({ options: e.logout }), n = fs({ options: e.register }), s = ys({ options: e.updateUserInfo }), u = bs({
|
|
7996
7996
|
options: e.updateMemberInfo
|
|
7997
|
-
}), b =
|
|
7997
|
+
}), b = _s({
|
|
7998
7998
|
options: e.toggleFavoriteGame
|
|
7999
|
-
}), d =
|
|
7999
|
+
}), d = Us({
|
|
8000
8000
|
options: e.resetUserPassword
|
|
8001
|
-
}), l =
|
|
8001
|
+
}), l = Cs({
|
|
8002
8002
|
options: e.memberInitSet
|
|
8003
|
-
}), i =
|
|
8003
|
+
}), i = vs({
|
|
8004
8004
|
options: e.setUserTransactionPassword
|
|
8005
|
-
}), r =
|
|
8005
|
+
}), r = hs({
|
|
8006
8006
|
options: e.resetUserTransactionPassword
|
|
8007
|
-
}), o =
|
|
8007
|
+
}), o = Ts({ options: e.userRebate }), m = ks({ options: e.userBindCard });
|
|
8008
8008
|
return {
|
|
8009
8009
|
login: t,
|
|
8010
8010
|
logout: a,
|
|
@@ -8020,7 +8020,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8020
8020
|
userRebate: o,
|
|
8021
8021
|
userBindCard: m
|
|
8022
8022
|
};
|
|
8023
|
-
},
|
|
8023
|
+
}, ye = {
|
|
8024
8024
|
DEPOSIT: "deposit",
|
|
8025
8025
|
TRANS_CODE: "transCode",
|
|
8026
8026
|
ERROR: "error",
|
|
@@ -8036,8 +8036,12 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8036
8036
|
LINE_LOGIN: "line_login",
|
|
8037
8037
|
UPDATE_EVENT_WALLET: "update_event_wallet",
|
|
8038
8038
|
MONTHLY_CARD_ISSUE_POINT: "monthly_card_issue_point",
|
|
8039
|
-
EVENT_CLAIMABLE: "event_claimable"
|
|
8040
|
-
|
|
8039
|
+
EVENT_CLAIMABLE: "event_claimable",
|
|
8040
|
+
REMOTE_OFF: "remote_off",
|
|
8041
|
+
REMOTE_ON: "remote_on"
|
|
8042
|
+
}, qn = (e) => {
|
|
8043
|
+
typeof window < "u" && window.chrome?.webview && window.chrome.webview.postMessage(JSON.stringify({ action: e }));
|
|
8044
|
+
}, $n = (e, t) => Array.isArray(e) && !!t && e.some((a) => String(a).toLowerCase() === String(t).toLowerCase()), Ns = 3e4, Ls = ({
|
|
8041
8045
|
maintainList: e,
|
|
8042
8046
|
isInGameBox: t,
|
|
8043
8047
|
currentGamePlatform: a
|
|
@@ -8051,7 +8055,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8051
8055
|
show: n,
|
|
8052
8056
|
reason: n ? `在 gamebox 且當前廠商「${a}」在維護清單 → 顯示` : `在 gamebox 但當前廠商「${a ?? "(無)"}」不在維護清單 → 靜默`
|
|
8053
8057
|
};
|
|
8054
|
-
},
|
|
8058
|
+
}, ju = ({
|
|
8055
8059
|
socketUrl: e,
|
|
8056
8060
|
socketHandlers: t = {},
|
|
8057
8061
|
options: a = {},
|
|
@@ -8066,20 +8070,20 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8066
8070
|
disabledLineAutoRegister: b = !1,
|
|
8067
8071
|
navigate: d = null
|
|
8068
8072
|
}) => {
|
|
8069
|
-
const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } =
|
|
8073
|
+
const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } = dr(), f = Ve(i), y = se(!1), _ = se(t), c = j(n, "uid", null), U = j(n, "cagent_uid", null);
|
|
8070
8074
|
j(n, "testFunction", 0);
|
|
8071
8075
|
const C = new URLSearchParams(window.location.search), v = j(
|
|
8072
8076
|
s,
|
|
8073
8077
|
"enableTransferInGaming",
|
|
8074
8078
|
!1
|
|
8075
|
-
), { mutateAsync: T } =
|
|
8079
|
+
), { mutateAsync: T } = Sr({
|
|
8076
8080
|
options: {
|
|
8077
8081
|
onSuccess: (O) => {
|
|
8078
8082
|
_.current.onLineLogin?.(O);
|
|
8079
8083
|
},
|
|
8080
8084
|
retry: !1
|
|
8081
8085
|
}
|
|
8082
|
-
}), { mutateAsync: h } =
|
|
8086
|
+
}), { mutateAsync: h } = Ss({
|
|
8083
8087
|
options: {
|
|
8084
8088
|
onSuccess: (O) => {
|
|
8085
8089
|
_.current.onLineLogin?.(O);
|
|
@@ -8088,7 +8092,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8088
8092
|
b || T(z);
|
|
8089
8093
|
}
|
|
8090
8094
|
}
|
|
8091
|
-
}), { handleTransferInGame: D } =
|
|
8095
|
+
}), { handleTransferInGame: D } = ms({
|
|
8092
8096
|
enable: v,
|
|
8093
8097
|
isTestFunction: !0,
|
|
8094
8098
|
isTransferMode: j(s, "isTransferMode", !1),
|
|
@@ -8105,7 +8109,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8105
8109
|
readyState: A
|
|
8106
8110
|
// WebSocket 連線狀態
|
|
8107
8111
|
// getWebSocket, // 獲取 WebSocket 實例
|
|
8108
|
-
} =
|
|
8112
|
+
} = ss(e, {
|
|
8109
8113
|
queryParams: { key: "wsky" },
|
|
8110
8114
|
shouldReconnect: () => y.current === !1,
|
|
8111
8115
|
reconnectAttempts: 9999,
|
|
@@ -8121,7 +8125,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8121
8125
|
ce(() => {
|
|
8122
8126
|
const O = setInterval(
|
|
8123
8127
|
() => H("ping"),
|
|
8124
|
-
|
|
8128
|
+
Ns
|
|
8125
8129
|
);
|
|
8126
8130
|
return () => clearInterval(O);
|
|
8127
8131
|
}, [H]);
|
|
@@ -8155,72 +8159,72 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8155
8159
|
onLineLogin: B,
|
|
8156
8160
|
onMonthlyCardIssuePoint: V,
|
|
8157
8161
|
onEventClaimable: Z
|
|
8158
|
-
} = _.current, Q = j(O, "type", ""),
|
|
8162
|
+
} = _.current, Q = j(O, "type", ""), K = {
|
|
8159
8163
|
memberInfoUid: j(O, "member_info_uid", null),
|
|
8160
8164
|
data: j(O, "data", null),
|
|
8161
8165
|
memo: j(O, "memo", null),
|
|
8162
8166
|
amount: j(O, "amount", null),
|
|
8163
8167
|
limitAmount: j(O, "limit_amount", null)
|
|
8164
|
-
}, ee = Number(
|
|
8168
|
+
}, ee = Number(K.memberInfoUid) === c, de = K.data, he = K.amount, be = K.limitAmount, Je = C.get("mac") || Ci.get("machine_mac_address") || "", Te = j(O, "data.line_id", null), Ge = j(O, "data.line_name", null), Xe = j(O, "member_info_uid", null);
|
|
8165
8169
|
switch (Q) {
|
|
8166
|
-
case
|
|
8167
|
-
ee && (D(), z?.(
|
|
8170
|
+
case ye.DEPOSIT:
|
|
8171
|
+
ee && (D(), z?.(K));
|
|
8168
8172
|
break;
|
|
8169
|
-
case
|
|
8170
|
-
N?.(
|
|
8173
|
+
case ye.TRANS_CODE:
|
|
8174
|
+
N?.(K);
|
|
8171
8175
|
break;
|
|
8172
|
-
case
|
|
8176
|
+
case ye.ERROR:
|
|
8173
8177
|
if (ee) {
|
|
8174
8178
|
const fe = j(O, "open_game_modal", 0) === 1;
|
|
8175
8179
|
R(de, {
|
|
8176
8180
|
notificationType: fe ? "gamingNotice" : void 0
|
|
8177
|
-
}), E?.(
|
|
8181
|
+
}), E?.(K);
|
|
8178
8182
|
}
|
|
8179
8183
|
break;
|
|
8180
|
-
case
|
|
8184
|
+
case ye.UPDATE_MEMBER:
|
|
8181
8185
|
c && (r.invalidateQueries({
|
|
8182
8186
|
queryKey: ["getMemberInfo"]
|
|
8183
|
-
}), F?.(
|
|
8187
|
+
}), F?.(K));
|
|
8184
8188
|
break;
|
|
8185
|
-
case
|
|
8189
|
+
case ye.MAINTAIN_NOTICE:
|
|
8186
8190
|
R(de, {
|
|
8187
8191
|
notificationType: "maintainNotice"
|
|
8188
|
-
}), w?.(
|
|
8192
|
+
}), w?.(K);
|
|
8189
8193
|
break;
|
|
8190
|
-
case
|
|
8191
|
-
const fe =
|
|
8194
|
+
case ye.MAINTAIN_NOTICE_MEMBER: {
|
|
8195
|
+
const fe = K.data?.cagent_uid ?? null;
|
|
8192
8196
|
if (fe != null) {
|
|
8193
|
-
String(U) === String(fe) && (R(
|
|
8197
|
+
String(U) === String(fe) && (R(K.data?.msg, { rawMessage: !0 }), X?.(K), setTimeout(() => {
|
|
8194
8198
|
d?.("/");
|
|
8195
8199
|
}, 5e3));
|
|
8196
8200
|
return;
|
|
8197
8201
|
} else if (ee) {
|
|
8198
|
-
const
|
|
8202
|
+
const Ue = l.getState()?.game?.currentGameData?.gameUid ?? null, Ee = K.data?.game_id;
|
|
8199
8203
|
if (Ee != null) {
|
|
8200
|
-
Array.isArray(Ee) && Ee.some((Ie) => String(Ie) === String(
|
|
8204
|
+
Array.isArray(Ee) && Ee.some((Ie) => String(Ie) === String(Ue)) && (R(K.data?.msg, { rawMessage: !0 }), X?.(K), setTimeout(() => {
|
|
8201
8205
|
d?.("/");
|
|
8202
8206
|
}, 5e3));
|
|
8203
8207
|
return;
|
|
8204
8208
|
}
|
|
8205
|
-
R(de), X?.(
|
|
8209
|
+
R(de), X?.(K), setTimeout(() => {
|
|
8206
8210
|
window.location.reload();
|
|
8207
8211
|
}, 5e4);
|
|
8208
8212
|
}
|
|
8209
8213
|
break;
|
|
8210
8214
|
}
|
|
8211
|
-
case
|
|
8215
|
+
case ye.RELOAD:
|
|
8212
8216
|
window.location.reload();
|
|
8213
8217
|
break;
|
|
8214
|
-
case
|
|
8215
|
-
case
|
|
8218
|
+
case ye.TRANSFER_IN_GAME:
|
|
8219
|
+
case ye.CHECK_REQUEST:
|
|
8216
8220
|
if (ee && v) {
|
|
8217
|
-
const { request_id: fe, amount:
|
|
8221
|
+
const { request_id: fe, amount: Ue, platform: Ee, status: Ie } = j(K, "data", {}) || {}, Ke = localStorage.getItem(
|
|
8218
8222
|
"transfer_in_game_request_id"
|
|
8219
8223
|
);
|
|
8220
8224
|
if (Ie === "pending") {
|
|
8221
8225
|
localStorage.setItem("transfer_in_game_request_id", fe);
|
|
8222
8226
|
return;
|
|
8223
|
-
} else if (
|
|
8227
|
+
} else if (Ke && Ke === fe) {
|
|
8224
8228
|
if (Ie === "rollback") {
|
|
8225
8229
|
D();
|
|
8226
8230
|
return;
|
|
@@ -8229,50 +8233,50 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8229
8233
|
type: "ui/showToast",
|
|
8230
8234
|
payload: {
|
|
8231
8235
|
title: Ka[f] || "System Prompt",
|
|
8232
|
-
description: `您於${Ee}存入的${
|
|
8236
|
+
description: `您於${Ee}存入的${Ue}元已經處理完成了,請確認遊戲餘額`,
|
|
8233
8237
|
status: "success"
|
|
8234
8238
|
}
|
|
8235
8239
|
}), m();
|
|
8236
8240
|
}
|
|
8237
|
-
ie?.(
|
|
8241
|
+
ie?.(K);
|
|
8238
8242
|
}
|
|
8239
8243
|
break;
|
|
8240
|
-
case
|
|
8244
|
+
case ye.CASH_REGISTER_LIMIT:
|
|
8241
8245
|
R(de, {
|
|
8242
8246
|
notificationType: "cashRegisterLimit",
|
|
8243
8247
|
amount: he,
|
|
8244
|
-
limitAmount:
|
|
8245
|
-
}), le?.(
|
|
8248
|
+
limitAmount: be
|
|
8249
|
+
}), le?.(K);
|
|
8246
8250
|
break;
|
|
8247
|
-
case
|
|
8251
|
+
case ye.UPDATE_ONLY_ONE_MEMBER:
|
|
8248
8252
|
ee && (r.invalidateQueries({
|
|
8249
8253
|
queryKey: ["getMemberInfo"]
|
|
8250
|
-
}), F?.(
|
|
8254
|
+
}), F?.(K));
|
|
8251
8255
|
break;
|
|
8252
|
-
case
|
|
8253
|
-
const fe =
|
|
8256
|
+
case ye.GAME_MAINTAIN: {
|
|
8257
|
+
const fe = K.data, { show: Ue } = Ls({
|
|
8254
8258
|
maintainList: fe,
|
|
8255
8259
|
// 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
|
|
8256
8260
|
// 因為不是每隻遊戲都會帶入該設定)
|
|
8257
8261
|
isInGameBox: window.location.pathname.includes("gamebox"),
|
|
8258
8262
|
currentGamePlatform: l.getState()?.game?.currentGameData?.gamePlatform ?? null
|
|
8259
8263
|
});
|
|
8260
|
-
|
|
8264
|
+
Ue && R(de, {
|
|
8261
8265
|
notificationType: "gameMaintain"
|
|
8262
8266
|
});
|
|
8263
8267
|
break;
|
|
8264
8268
|
}
|
|
8265
|
-
case
|
|
8266
|
-
Xe ===
|
|
8269
|
+
case ye.LINE_LOGIN:
|
|
8270
|
+
Xe === Je && T({
|
|
8267
8271
|
line_id: Te,
|
|
8268
8272
|
line_name: Ge
|
|
8269
8273
|
});
|
|
8270
8274
|
break;
|
|
8271
|
-
case
|
|
8275
|
+
case ye.UPDATE_EVENT_WALLET:
|
|
8272
8276
|
ee && (r.invalidateQueries({ queryKey: ["getEventWalletList"] }), r.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
|
|
8273
8277
|
return;
|
|
8274
|
-
case
|
|
8275
|
-
ee && (r.invalidateQueries({ queryKey: Ai }), V?.(
|
|
8278
|
+
case ye.MONTHLY_CARD_ISSUE_POINT:
|
|
8279
|
+
ee && (r.invalidateQueries({ queryKey: Ai }), V?.(K));
|
|
8276
8280
|
return;
|
|
8277
8281
|
/**
|
|
8278
8282
|
* event_claimable:活動可領取推播
|
|
@@ -8281,13 +8285,28 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8281
8285
|
* - 有 event_uid 時,另外執行外部傳入的客製化 function(帶入整包 payload)
|
|
8282
8286
|
* 註:與其他 event/member 推播一致,僅對「當前會員」生效(isForMember)。
|
|
8283
8287
|
*/
|
|
8284
|
-
case
|
|
8288
|
+
case ye.EVENT_CLAIMABLE:
|
|
8285
8289
|
if (ee) {
|
|
8286
8290
|
r.invalidateQueries({ queryKey: ["checkEventStatus"] });
|
|
8287
|
-
const fe =
|
|
8288
|
-
(Array.isArray(fe) ? fe.length > 0 : fe != null) && Z?.(
|
|
8291
|
+
const fe = K.data?.event_uid;
|
|
8292
|
+
(Array.isArray(fe) ? fe.length > 0 : fe != null) && Z?.(K);
|
|
8289
8293
|
}
|
|
8290
8294
|
return;
|
|
8295
|
+
/**
|
|
8296
|
+
* remote_off:遠端關鎖。
|
|
8297
|
+
* 訊息格式:{ type:'remote_off', member_info_uid:["55:66:77:88:99:11"], data:null }
|
|
8298
|
+
* 本機 MAC 在名單內 → 通知外殼 closethismic(打開黑屏)。
|
|
8299
|
+
*/
|
|
8300
|
+
case ye.REMOTE_OFF:
|
|
8301
|
+
$n(K.memberInfoUid, Je) && qn("closethismic");
|
|
8302
|
+
return;
|
|
8303
|
+
/**
|
|
8304
|
+
* remote_on:遠端解鎖。
|
|
8305
|
+
* 本機 MAC 在名單內 → 通知外殼 openthismic(關閉黑屏)。
|
|
8306
|
+
*/
|
|
8307
|
+
case ye.REMOTE_ON:
|
|
8308
|
+
$n(K.memberInfoUid, Je) && qn("openthismic");
|
|
8309
|
+
return;
|
|
8291
8310
|
default:
|
|
8292
8311
|
console.warn("Unknown socket type:", Q);
|
|
8293
8312
|
break;
|
|
@@ -8305,7 +8324,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8305
8324
|
"transfer_in_game_request_id"
|
|
8306
8325
|
);
|
|
8307
8326
|
O && c && g && k({
|
|
8308
|
-
type:
|
|
8327
|
+
type: ye.CHECK_REQUEST,
|
|
8309
8328
|
request_id: O,
|
|
8310
8329
|
member_info_uid: c
|
|
8311
8330
|
});
|
|
@@ -8315,7 +8334,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8315
8334
|
type: "ui/showToast",
|
|
8316
8335
|
payload: {
|
|
8317
8336
|
title: Ka[f] || "System Prompt",
|
|
8318
|
-
description:
|
|
8337
|
+
description: hl[f] || "We are processing your transfer",
|
|
8319
8338
|
status: "warning",
|
|
8320
8339
|
duration: 1 / 0,
|
|
8321
8340
|
id: "trasnferingInGame"
|
|
@@ -8340,7 +8359,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8340
8359
|
simulateSocketMessage: W
|
|
8341
8360
|
// 測試用:模擬收到某型別的 WS 訊息
|
|
8342
8361
|
};
|
|
8343
|
-
},
|
|
8362
|
+
}, Gs = () => {
|
|
8344
8363
|
const { client: e } = re();
|
|
8345
8364
|
return {
|
|
8346
8365
|
commissionApi: M(
|
|
@@ -8351,18 +8370,18 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8351
8370
|
[e]
|
|
8352
8371
|
)
|
|
8353
8372
|
};
|
|
8354
|
-
},
|
|
8355
|
-
const { commissionApi: a } =
|
|
8373
|
+
}, Ms = ({ options: e, formData: t } = {}) => {
|
|
8374
|
+
const { commissionApi: a } = Gs();
|
|
8356
8375
|
return Y({
|
|
8357
8376
|
queryKey: ["commissionInfo", t],
|
|
8358
8377
|
queryFn: () => {
|
|
8359
8378
|
const { params: n, currencyCode: s } = t || {};
|
|
8360
8379
|
return a({ params: n, currencyCode: s });
|
|
8361
8380
|
},
|
|
8362
|
-
select: (n) =>
|
|
8381
|
+
select: (n) => ur(n, ["code", "status"]),
|
|
8363
8382
|
...e
|
|
8364
8383
|
});
|
|
8365
|
-
},
|
|
8384
|
+
}, Qu = ({
|
|
8366
8385
|
options: e = {
|
|
8367
8386
|
commissionInfo: {}
|
|
8368
8387
|
},
|
|
@@ -8370,7 +8389,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8370
8389
|
commissionInfo: {}
|
|
8371
8390
|
}
|
|
8372
8391
|
} = {}) => ({
|
|
8373
|
-
commissionInfo:
|
|
8392
|
+
commissionInfo: Ms({
|
|
8374
8393
|
options: e.commissionInfo,
|
|
8375
8394
|
formData: t.commissionInfo
|
|
8376
8395
|
})
|
|
@@ -8421,7 +8440,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8421
8440
|
settleEventApi: u,
|
|
8422
8441
|
memberEventSettleApi: b
|
|
8423
8442
|
};
|
|
8424
|
-
},
|
|
8443
|
+
}, Rs = ({ paramsData: e, options: t } = {}) => {
|
|
8425
8444
|
const { store: a, lng: n, data2URL: s } = re(), { eventListApi: u } = $a(), b = a?.getState()?.isWalletCurrency || a?.getState()?.currency?.currentCurrency || "TWD", d = Ve(n);
|
|
8426
8445
|
return Y({
|
|
8427
8446
|
queryKey: ["eventList", e],
|
|
@@ -8443,8 +8462,8 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8443
8462
|
...y,
|
|
8444
8463
|
carouselCurrentLanguagePCImageUrl: `${s}/carousels/${y?.image_pc}`,
|
|
8445
8464
|
carouselCurrentLanguageMBImageUrl: `${s}/carousels/${y?.image_mobile}`,
|
|
8446
|
-
carouselCurrentLanguageS3PCImageUrl: `${
|
|
8447
|
-
carouselCurrentLanguageS3MBImageUrl: `${
|
|
8465
|
+
carouselCurrentLanguageS3PCImageUrl: `${Ye}/carousels/${y?.image_pc}`,
|
|
8466
|
+
carouselCurrentLanguageS3MBImageUrl: `${Ye}/carousels/${y?.image_mobile}`
|
|
8448
8467
|
}
|
|
8449
8468
|
}, c = {
|
|
8450
8469
|
eventUid: o.uid,
|
|
@@ -8490,8 +8509,8 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8490
8509
|
// VIP 群組
|
|
8491
8510
|
tagsGroup: o.tags_group,
|
|
8492
8511
|
//標籤群組
|
|
8493
|
-
eventBg:
|
|
8494
|
-
eventIcon:
|
|
8512
|
+
eventBg: fr(),
|
|
8513
|
+
eventIcon: cr(o.type),
|
|
8495
8514
|
nextSettlementDate: o.next_settlement_date,
|
|
8496
8515
|
//下一次結算日期
|
|
8497
8516
|
lastSettlementDate: o.last_settlement_date
|
|
@@ -8559,21 +8578,21 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8559
8578
|
},
|
|
8560
8579
|
...t
|
|
8561
8580
|
});
|
|
8562
|
-
},
|
|
8581
|
+
}, Yu = ({ options: e } = {}) => {
|
|
8563
8582
|
const { redeemEventRewardApi: t } = $a();
|
|
8564
8583
|
return ae({
|
|
8565
8584
|
mutationKey: ["redeemEventReward"],
|
|
8566
8585
|
mutationFn: async (a) => t(a),
|
|
8567
8586
|
...e
|
|
8568
8587
|
});
|
|
8569
|
-
},
|
|
8588
|
+
}, Ps = ({ options: e, formData: t } = {}) => {
|
|
8570
8589
|
const { checkCurrentEventProgessApi: a } = $a();
|
|
8571
8590
|
return Y({
|
|
8572
8591
|
queryKey: ["checkEventProgress"],
|
|
8573
8592
|
queryFn: async () => a(t),
|
|
8574
8593
|
...e
|
|
8575
8594
|
});
|
|
8576
|
-
},
|
|
8595
|
+
}, ws = ({ options: e, formData: t } = {}) => {
|
|
8577
8596
|
const { checkEventStatusApi: a } = $a();
|
|
8578
8597
|
return Y({
|
|
8579
8598
|
queryKey: ["checkEventStatus"],
|
|
@@ -8581,30 +8600,30 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8581
8600
|
select: (n) => n.data.event_status || n.data,
|
|
8582
8601
|
...e
|
|
8583
8602
|
});
|
|
8584
|
-
},
|
|
8603
|
+
}, Xu = ({ options: e } = {}) => {
|
|
8585
8604
|
const { settleEventApi: t } = $a();
|
|
8586
8605
|
return ae({
|
|
8587
8606
|
mutationKey: ["settleEvent"],
|
|
8588
8607
|
mutationFn: async (a) => t(a),
|
|
8589
8608
|
...e
|
|
8590
8609
|
});
|
|
8591
|
-
},
|
|
8610
|
+
}, e0 = ({ options: e } = {}) => {
|
|
8592
8611
|
const { memberEventSettleApi: t } = $a();
|
|
8593
8612
|
return ae({
|
|
8594
8613
|
mutationKey: ["memberEventSettle"],
|
|
8595
8614
|
mutationFn: async (a) => t(a),
|
|
8596
8615
|
...e
|
|
8597
8616
|
});
|
|
8598
|
-
},
|
|
8617
|
+
}, a0 = ({
|
|
8599
8618
|
options: e = {
|
|
8600
8619
|
eventList: {},
|
|
8601
8620
|
checkEventProgress: {},
|
|
8602
8621
|
checkEventStatus: {}
|
|
8603
8622
|
}
|
|
8604
8623
|
} = {}) => {
|
|
8605
|
-
const t =
|
|
8624
|
+
const t = Rs({ options: e.eventList }), a = Ps({
|
|
8606
8625
|
options: e.checkEventProgress
|
|
8607
|
-
}), n =
|
|
8626
|
+
}), n = ws({
|
|
8608
8627
|
options: e.checkEventStatus
|
|
8609
8628
|
});
|
|
8610
8629
|
return {
|
|
@@ -8645,7 +8664,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8645
8664
|
settleEventWalletApi: s,
|
|
8646
8665
|
abandonEventWalletApi: u
|
|
8647
8666
|
};
|
|
8648
|
-
},
|
|
8667
|
+
}, t0 = ({ gamePlatform: e, params: t } = {}) => {
|
|
8649
8668
|
const { eventWalletListApi: a } = pt();
|
|
8650
8669
|
return Y({
|
|
8651
8670
|
queryKey: ["getEventWalletList", e, t],
|
|
@@ -8686,7 +8705,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8686
8705
|
};
|
|
8687
8706
|
}
|
|
8688
8707
|
});
|
|
8689
|
-
},
|
|
8708
|
+
}, i0 = () => {
|
|
8690
8709
|
const e = ya(), { enabledEventWalletApi: t } = pt();
|
|
8691
8710
|
return ae({
|
|
8692
8711
|
mutationKey: ["enabledEventWallet"],
|
|
@@ -8695,7 +8714,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8695
8714
|
e.invalidateQueries({ queryKey: ["evaluateEventWallet"] });
|
|
8696
8715
|
}
|
|
8697
8716
|
});
|
|
8698
|
-
},
|
|
8717
|
+
}, n0 = ({ gamePlatform: e = "", options: t = {} } = {}) => {
|
|
8699
8718
|
const { evaluateEventWalletApi: a } = pt();
|
|
8700
8719
|
return Y({
|
|
8701
8720
|
queryKey: ["evaluateEventWallet", e],
|
|
@@ -8711,7 +8730,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8711
8730
|
},
|
|
8712
8731
|
...t
|
|
8713
8732
|
});
|
|
8714
|
-
},
|
|
8733
|
+
}, r0 = () => {
|
|
8715
8734
|
const e = ya(), { settleEventWalletApi: t } = pt();
|
|
8716
8735
|
return ae({
|
|
8717
8736
|
mutationKey: ["settleEventWallet"],
|
|
@@ -8720,7 +8739,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8720
8739
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8721
8740
|
}
|
|
8722
8741
|
});
|
|
8723
|
-
},
|
|
8742
|
+
}, l0 = () => {
|
|
8724
8743
|
const e = ya(), { abandonEventWalletApi: t } = pt();
|
|
8725
8744
|
return ae({
|
|
8726
8745
|
mutationKey: ["abandonEventWallet"],
|
|
@@ -8729,7 +8748,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8729
8748
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8730
8749
|
}
|
|
8731
8750
|
});
|
|
8732
|
-
},
|
|
8751
|
+
}, o0 = ({ options: e } = {}) => {
|
|
8733
8752
|
const { lng: t } = re(), { announcementApi: a } = wa(), n = Ve(t);
|
|
8734
8753
|
return Y({
|
|
8735
8754
|
queryKey: ["getAnnouncement"],
|
|
@@ -8746,7 +8765,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8746
8765
|
},
|
|
8747
8766
|
...e
|
|
8748
8767
|
});
|
|
8749
|
-
},
|
|
8768
|
+
}, s0 = ({ skipPreload: e = !1 } = {}) => {
|
|
8750
8769
|
const { lng: t, data2URL: a } = re(), { commonCarouselApi: n } = wa(), s = Ve(t);
|
|
8751
8770
|
return Y({
|
|
8752
8771
|
queryKey: ["getCarouselList", e],
|
|
@@ -8761,20 +8780,20 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8761
8780
|
carouselCurrentLanguageData: i,
|
|
8762
8781
|
carouselCurrentLanguagePCImageUrl: `${a}/carousels/${i?.image_pc}`,
|
|
8763
8782
|
carouselCurrentLanguageMBImageUrl: `${a}/carousels/${i?.image_mobile}`,
|
|
8764
|
-
carouselCurrentLanguageS3PCImageUrl: `${
|
|
8765
|
-
carouselCurrentLanguageS3MBImageUrl: `${
|
|
8783
|
+
carouselCurrentLanguageS3PCImageUrl: `${Ye}/carousels/${i?.image_pc}`,
|
|
8784
|
+
carouselCurrentLanguageS3MBImageUrl: `${Ye}/carousels/${i?.image_mobile}`,
|
|
8766
8785
|
carouselCurrentLanguageLink: i?.url_link,
|
|
8767
8786
|
currentLngCarousel: {
|
|
8768
8787
|
...i,
|
|
8769
8788
|
carouselCurrentLanguagePCImageUrl: `${a}/carousels/${i?.image_pc}`,
|
|
8770
8789
|
carouselCurrentLanguageMBImageUrl: `${a}/carousels/${i?.image_mobile}`,
|
|
8771
|
-
carouselCurrentLanguageS3PCImageUrl: `${
|
|
8772
|
-
carouselCurrentLanguageS3MBImageUrl: `${
|
|
8790
|
+
carouselCurrentLanguageS3PCImageUrl: `${Ye}/carousels/${i?.image_pc}`,
|
|
8791
|
+
carouselCurrentLanguageS3MBImageUrl: `${Ye}/carousels/${i?.image_mobile}`
|
|
8773
8792
|
}
|
|
8774
8793
|
};
|
|
8775
8794
|
})
|
|
8776
8795
|
});
|
|
8777
|
-
},
|
|
8796
|
+
}, m0 = () => {
|
|
8778
8797
|
const { lng: e, getToken: t } = re(), a = t?.(), { commonMarqueeApi: n } = wa(), s = Ve(e);
|
|
8779
8798
|
return Y({
|
|
8780
8799
|
queryKey: ["getMarqueeList", a],
|
|
@@ -8790,7 +8809,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8790
8809
|
};
|
|
8791
8810
|
}
|
|
8792
8811
|
});
|
|
8793
|
-
},
|
|
8812
|
+
}, u0 = ({ options: e } = {}) => {
|
|
8794
8813
|
const { rankingGameApi: t } = oe();
|
|
8795
8814
|
return Y({
|
|
8796
8815
|
queryKey: ["rankingGame"],
|
|
@@ -8832,10 +8851,10 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8832
8851
|
...e
|
|
8833
8852
|
});
|
|
8834
8853
|
};
|
|
8835
|
-
var
|
|
8836
|
-
if (t && typeof t == "object" || typeof t == "function") for (let s of
|
|
8854
|
+
var Fs = Object.create, Er = Object.defineProperty, As = Object.getOwnPropertyDescriptor, Os = Object.getOwnPropertyNames, Bs = Object.getPrototypeOf, Hs = Object.prototype.hasOwnProperty, Ws = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Is = (e, t, a, n) => {
|
|
8855
|
+
if (t && typeof t == "object" || typeof t == "function") for (let s of Os(t)) !Hs.call(e, s) && s !== a && Er(e, s, { get: () => t[s], enumerable: !(n = As(t, s)) || n.enumerable });
|
|
8837
8856
|
return e;
|
|
8838
|
-
},
|
|
8857
|
+
}, zs = (e, t, a) => (a = e != null ? Fs(Bs(e)) : {}, Is(!e || !e.__esModule ? Er(a, "default", { value: e, enumerable: !0 }) : a, e)), Vs = Ws((e, t) => {
|
|
8839
8858
|
(function(a, n) {
|
|
8840
8859
|
typeof e == "object" && typeof t < "u" ? n(e) : typeof define == "function" && define.amd ? define(["exports"], n) : (a = typeof globalThis < "u" ? globalThis : a || self, n(a.fastUniqueNumbers = {}));
|
|
8841
8860
|
})(e, function(a) {
|
|
@@ -8864,12 +8883,12 @@ var Ps = Object.create, xr = Object.defineProperty, ws = Object.getOwnPropertyDe
|
|
|
8864
8883
|
a.addUniqueNumber = m, a.generateUniqueNumber = o;
|
|
8865
8884
|
});
|
|
8866
8885
|
});
|
|
8867
|
-
|
|
8886
|
+
zs(Vs());
|
|
8868
8887
|
var _a = (typeof window > "u" ? "undefined" : typeof window) == "object", ra = { setTimeout: _a ? setTimeout.bind(window) : setTimeout, clearTimeout: _a ? clearTimeout.bind(window) : clearTimeout, setInterval: _a ? setInterval.bind(window) : setInterval, clearInterval: _a ? clearInterval.bind(window) : clearInterval };
|
|
8869
|
-
function
|
|
8888
|
+
function Js(e) {
|
|
8870
8889
|
ra.setTimeout = e.setTimeout, ra.clearTimeout = e.clearTimeout, ra.setInterval = e.setInterval, ra.clearInterval = e.clearInterval;
|
|
8871
8890
|
}
|
|
8872
|
-
var za = {},
|
|
8891
|
+
var za = {}, Zs = class {
|
|
8873
8892
|
name;
|
|
8874
8893
|
closed = !1;
|
|
8875
8894
|
mc = new MessageChannel();
|
|
@@ -8917,17 +8936,17 @@ var za = {}, Vs = class {
|
|
|
8917
8936
|
dispatchEvent(e) {
|
|
8918
8937
|
return this.mc.port1.dispatchEvent(e);
|
|
8919
8938
|
}
|
|
8920
|
-
},
|
|
8921
|
-
function
|
|
8939
|
+
}, Ks = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : Zs;
|
|
8940
|
+
function qs(e = 0) {
|
|
8922
8941
|
return new Promise((t) => ra.setTimeout(t, e));
|
|
8923
8942
|
}
|
|
8924
|
-
function
|
|
8943
|
+
function Dr() {
|
|
8925
8944
|
return Math.random().toString(36).substring(2);
|
|
8926
8945
|
}
|
|
8927
|
-
var
|
|
8946
|
+
var $s = class {
|
|
8928
8947
|
options;
|
|
8929
8948
|
channel;
|
|
8930
|
-
token =
|
|
8949
|
+
token = Dr();
|
|
8931
8950
|
isLeader = !1;
|
|
8932
8951
|
isDead = !1;
|
|
8933
8952
|
isApplying = !1;
|
|
@@ -8948,7 +8967,7 @@ var Ks = class {
|
|
|
8948
8967
|
};
|
|
8949
8968
|
this.channel.addEventListener("message", t);
|
|
8950
8969
|
try {
|
|
8951
|
-
return this.sendAction(0), await
|
|
8970
|
+
return this.sendAction(0), await qs(this.options.responseTime), this.channel.removeEventListener("message", t), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
|
|
8952
8971
|
} catch {
|
|
8953
8972
|
return !1;
|
|
8954
8973
|
}
|
|
@@ -9004,19 +9023,19 @@ var Ks = class {
|
|
|
9004
9023
|
}
|
|
9005
9024
|
}
|
|
9006
9025
|
}
|
|
9007
|
-
},
|
|
9026
|
+
}, js = class {
|
|
9008
9027
|
channel;
|
|
9009
9028
|
options;
|
|
9010
9029
|
elector;
|
|
9011
|
-
token =
|
|
9030
|
+
token = Dr();
|
|
9012
9031
|
registry = /* @__PURE__ */ new Map();
|
|
9013
9032
|
allIdle = !1;
|
|
9014
9033
|
isLastActive = !1;
|
|
9015
9034
|
constructor(e) {
|
|
9016
9035
|
let { channelName: t } = e;
|
|
9017
|
-
if (this.options = e, this.channel = new
|
|
9036
|
+
if (this.options = e, this.channel = new Ks(t), this.registry.set(this.token, 1), e.leaderElection) {
|
|
9018
9037
|
let a = { fallbackInterval: 2e3, responseTime: 100 };
|
|
9019
|
-
this.elector = new
|
|
9038
|
+
this.elector = new $s(this.channel, a), this.elector.waitForLeadership();
|
|
9020
9039
|
}
|
|
9021
9040
|
this.channel.addEventListener("message", (a) => {
|
|
9022
9041
|
let { action: n, token: s, data: u } = a.data;
|
|
@@ -9106,8 +9125,8 @@ var Ks = class {
|
|
|
9106
9125
|
close() {
|
|
9107
9126
|
this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
|
|
9108
9127
|
}
|
|
9109
|
-
},
|
|
9110
|
-
function
|
|
9128
|
+
}, Qs = _a ? document : null, Ys = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
|
|
9129
|
+
function Xs(e, t) {
|
|
9111
9130
|
let a;
|
|
9112
9131
|
function n(...s) {
|
|
9113
9132
|
a && clearTimeout(a), a = setTimeout(() => {
|
|
@@ -9126,7 +9145,7 @@ function yi(e, t) {
|
|
|
9126
9145
|
};
|
|
9127
9146
|
}
|
|
9128
9147
|
var Ne = () => Date.now(), Va = 2147483647;
|
|
9129
|
-
function
|
|
9148
|
+
function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle: a = 0, element: n = Qs, events: s = Ys, timers: u = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
|
|
9130
9149
|
}, onPrompt: l = () => {
|
|
9131
9150
|
}, onIdle: i = () => {
|
|
9132
9151
|
}, onActive: r = () => {
|
|
@@ -9151,7 +9170,7 @@ function Ys({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9151
9170
|
}, [c]);
|
|
9152
9171
|
let ie = se(b), le = se(n), B = se([...(/* @__PURE__ */ new Set([...s, ...b])).values()]), V = se(h);
|
|
9153
9172
|
ce(() => {
|
|
9154
|
-
V.current = h, !O.current && (h ?
|
|
9173
|
+
V.current = h, !O.current && (h ? qe() : _ || ia());
|
|
9155
9174
|
}, [h]);
|
|
9156
9175
|
let Z = se(d);
|
|
9157
9176
|
ce(() => {
|
|
@@ -9161,9 +9180,9 @@ function Ys({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9161
9180
|
ce(() => {
|
|
9162
9181
|
Q.current = l;
|
|
9163
9182
|
}, [l]);
|
|
9164
|
-
let
|
|
9183
|
+
let K = se(i);
|
|
9165
9184
|
ce(() => {
|
|
9166
|
-
|
|
9185
|
+
K.current = i;
|
|
9167
9186
|
}, [i]);
|
|
9168
9187
|
let ee = se(r);
|
|
9169
9188
|
ce(() => {
|
|
@@ -9177,127 +9196,127 @@ function Ys({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9177
9196
|
ce(() => {
|
|
9178
9197
|
he.current = m;
|
|
9179
9198
|
}, [m]);
|
|
9180
|
-
let
|
|
9181
|
-
let
|
|
9182
|
-
return g > 0 ?
|
|
9183
|
-
}, [p, g]),
|
|
9199
|
+
let be = ka(() => {
|
|
9200
|
+
let q = (Pe, la) => de.current(Pe, la);
|
|
9201
|
+
return g > 0 ? Xs(q, g) : p > 0 ? yi(q, p) : q;
|
|
9202
|
+
}, [p, g]), Je = se();
|
|
9184
9203
|
ce(() => {
|
|
9185
|
-
U && v && (
|
|
9204
|
+
U && v && (Je.current = yi(() => {
|
|
9186
9205
|
E.current.active();
|
|
9187
9206
|
}, v));
|
|
9188
9207
|
}, [U, v]);
|
|
9189
9208
|
let Te = () => {
|
|
9190
9209
|
N.current !== null && (ra.clearTimeout(N.current), N.current = null);
|
|
9191
|
-
}, Ge = (
|
|
9192
|
-
Te(), N.current = ra.setTimeout(Ee,
|
|
9193
|
-
}, Xe = (
|
|
9194
|
-
!I.current && !G.current && (Q.current(
|
|
9210
|
+
}, Ge = (q, Pe = !0) => {
|
|
9211
|
+
Te(), N.current = ra.setTimeout(Ee, q || F.current), Pe && (S.current = Ne());
|
|
9212
|
+
}, Xe = (q) => {
|
|
9213
|
+
!I.current && !G.current && (Q.current(q, Re), Z.current({ type: "active", prompted: !0 }, Re)), L.current = 0, R.current = Ne(), I.current = !0, Ge(w.current, !1);
|
|
9195
9214
|
}, fe = () => {
|
|
9196
|
-
Te(), G.current || (
|
|
9197
|
-
},
|
|
9198
|
-
Te(), (G.current || I.current) && (ee.current(
|
|
9199
|
-
}, Ee = (
|
|
9215
|
+
Te(), G.current || (K.current(null, Re), Z.current({ type: "idle" }, Re)), G.current = !0, k.current = Ne(), X.current ? He() : I.current && (R.current = 0, I.current = !1);
|
|
9216
|
+
}, Ue = (q) => {
|
|
9217
|
+
Te(), (G.current || I.current) && (ee.current(q, Re), Z.current({ type: "active", prompted: !1 }, Re)), I.current = !1, R.current = 0, G.current = !1, A.current += Ne() - k.current, P.current += Ne() - k.current, Me(), Ge();
|
|
9218
|
+
}, Ee = (q) => {
|
|
9200
9219
|
if (!G.current) {
|
|
9201
|
-
|
|
9220
|
+
be.cancel && be.cancel();
|
|
9202
9221
|
let Pe = Ne() - S.current;
|
|
9203
9222
|
if (!(F.current + w.current < Pe) && w.current > 0 && !I.current) {
|
|
9204
|
-
E.current ? E.current.prompt() : Xe(
|
|
9223
|
+
E.current ? E.current.prompt() : Xe(q);
|
|
9205
9224
|
return;
|
|
9206
9225
|
}
|
|
9207
9226
|
E.current ? E.current.idle() : fe();
|
|
9208
9227
|
return;
|
|
9209
9228
|
}
|
|
9210
|
-
E.current ? E.current.active() :
|
|
9211
|
-
}, Ie = (
|
|
9212
|
-
if (!y && !S.current && (S.current = Ne(), ee.current(null, Re)),
|
|
9213
|
-
if (Te(), !G.current && ie.current.includes(
|
|
9214
|
-
Ee(
|
|
9229
|
+
E.current ? E.current.active() : Ue(q);
|
|
9230
|
+
}, Ie = (q) => {
|
|
9231
|
+
if (!y && !S.current && (S.current = Ne(), ee.current(null, Re)), be(q, Re), I.current) return;
|
|
9232
|
+
if (Te(), !G.current && ie.current.includes(q.type)) {
|
|
9233
|
+
Ee(q);
|
|
9215
9234
|
return;
|
|
9216
9235
|
}
|
|
9217
9236
|
let Pe = Ne() - S.current;
|
|
9218
9237
|
if (G.current && !c || !G.current && Pe >= F.current) {
|
|
9219
|
-
Ee(
|
|
9238
|
+
Ee(q);
|
|
9220
9239
|
return;
|
|
9221
9240
|
}
|
|
9222
|
-
W.current = !1, L.current = 0, R.current = 0, Ge(), U && v &&
|
|
9223
|
-
},
|
|
9241
|
+
W.current = !1, L.current = 0, R.current = 0, Ge(), U && v && Je.current();
|
|
9242
|
+
}, Ke = se(Ie);
|
|
9224
9243
|
ce(() => {
|
|
9225
|
-
let
|
|
9226
|
-
|
|
9244
|
+
let q = z.current;
|
|
9245
|
+
q && He(), f > 0 ? Ke.current = yi(Ie, f) : Ke.current = Ie, q && Me();
|
|
9227
9246
|
}, [f, p, g, de, U, v]);
|
|
9228
9247
|
let Me = () => {
|
|
9229
|
-
_a && le.current && (z.current || (B.current.forEach((
|
|
9230
|
-
le.current.addEventListener(
|
|
9248
|
+
_a && le.current && (z.current || (B.current.forEach((q) => {
|
|
9249
|
+
le.current.addEventListener(q, Ke.current, { capture: !0, passive: !0 });
|
|
9231
9250
|
}), z.current = !0));
|
|
9232
|
-
}, He = (
|
|
9233
|
-
_a && le.current && (z.current ||
|
|
9234
|
-
le.current.removeEventListener(Pe,
|
|
9251
|
+
}, He = (q = !1) => {
|
|
9252
|
+
_a && le.current && (z.current || q) && (B.current.forEach((Pe) => {
|
|
9253
|
+
le.current.removeEventListener(Pe, Ke.current, { capture: !0 });
|
|
9235
9254
|
}), z.current = !1);
|
|
9236
|
-
}, ia = M((
|
|
9255
|
+
}, ia = M((q) => V.current ? !1 : (Te(), Me(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !q && E.current.start(), Ge(), !0), [N, G, V, F, E]), ua = M((q) => V.current ? !1 : (Te(), Me(), H.current = Ne(), A.current += Ne() - k.current, P.current += Ne() - k.current, A.current = 0, G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !q && E.current.reset(), _ || Ge(), !0), [N, G, F, _, V, E]), ba = M((q) => V.current ? !1 : (Te(), Me(), (G.current || I.current) && Ue(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, H.current = Ne(), E.current && !q && E.current.activate(), Ge(), !0), [N, G, I, V, F, E]), qe = M((q = !1) => V.current || W.current ? !1 : (L.current = Sa(), W.current = !0, He(), Te(), E.current && !q && E.current.pause(), !0), [N, V, E]), na = M((q = !1) => V.current || !W.current ? !1 : (W.current = !1, I.current || Me(), G.current || Ge(L.current), R.current && (R.current = Ne()), E.current && !q && E.current.resume(), !0), [N, F, V, L, E]), Ya = M((q, Pe) => (E.current ? (Pe && he.current(q, Re), E.current.message(q)) : Pe && he.current(q, Re), !0), [m]), Fa = M(() => G.current, [G]), Aa = M(() => I.current, [I]), Xa = M(() => E.current ? E.current.isLeader : null, [E]), et = M(() => E.current ? E.current.isLastActive : null, [E]), Ua = M(() => E.current ? E.current.token : null, [E]), Sa = M(() => {
|
|
9237
9256
|
if (W.current) return L.current;
|
|
9238
|
-
let
|
|
9257
|
+
let q = L.current ? L.current : w.current + F.current, Pe = S.current ? Ne() - S.current : 0, la = Math.floor(q - Pe);
|
|
9239
9258
|
return la < 0 ? 0 : Math.abs(la);
|
|
9240
9259
|
}, [F, w, I, L, S]), ea = M(() => Math.round(Ne() - H.current), [H]), Ca = M(() => Math.round(Ne() - D.current), [D]), va = M(() => k.current ? new Date(k.current) : null, [k]), Oa = M(() => S.current ? new Date(S.current) : null, [S]), Ba = M(() => G.current ? Math.round(Ne() - k.current + A.current) : Math.round(A.current), [k, A]), Ea = M(() => G.current ? Math.round(Ne() - k.current + P.current) : Math.round(P.current), [k, P]), Ha = M(() => {
|
|
9241
|
-
let
|
|
9242
|
-
return
|
|
9260
|
+
let q = Math.round(ea() - Ba());
|
|
9261
|
+
return q >= 0 ? q : 0;
|
|
9243
9262
|
}, [k, A]), Wa = M(() => {
|
|
9244
|
-
let
|
|
9245
|
-
return
|
|
9263
|
+
let q = Math.round(Ca() - Ea());
|
|
9264
|
+
return q >= 0 ? q : 0;
|
|
9246
9265
|
}, [k, A]);
|
|
9247
9266
|
ce(() => {
|
|
9248
9267
|
if (g > 0 && p > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9249
|
-
u &&
|
|
9250
|
-
let
|
|
9251
|
-
E.current && E.current.close(),
|
|
9268
|
+
u && Js(u);
|
|
9269
|
+
let q = () => {
|
|
9270
|
+
E.current && E.current.close(), be.cancel && be.cancel(), Te(), He(!0);
|
|
9252
9271
|
};
|
|
9253
|
-
return _a && window.addEventListener("beforeunload",
|
|
9254
|
-
_a && window.removeEventListener("beforeunload",
|
|
9272
|
+
return _a && window.addEventListener("beforeunload", q), () => {
|
|
9273
|
+
_a && window.removeEventListener("beforeunload", q), E.current && E.current.close(), be.cancel && be.cancel(), Te(), He(!0);
|
|
9255
9274
|
};
|
|
9256
9275
|
}, []), ce(() => {
|
|
9257
|
-
E.current && E.current.close(), U ? E.current = new
|
|
9276
|
+
E.current && E.current.close(), U ? E.current = new js({ channelName: C, leaderElection: T, onPrompt: () => {
|
|
9258
9277
|
Xe();
|
|
9259
9278
|
}, onIdle: () => {
|
|
9260
9279
|
fe();
|
|
9261
9280
|
}, onActive: () => {
|
|
9262
|
-
|
|
9263
|
-
}, onMessage: (
|
|
9264
|
-
he.current(
|
|
9265
|
-
}, start: ia, reset: ua, activate: ba, pause:
|
|
9266
|
-
}, [U, C, T, Q,
|
|
9281
|
+
Ue();
|
|
9282
|
+
}, onMessage: (q) => {
|
|
9283
|
+
he.current(q, Re);
|
|
9284
|
+
}, start: ia, reset: ua, activate: ba, pause: qe, resume: na }) : E.current = null;
|
|
9285
|
+
}, [U, C, T, Q, K, ee, he, ia, ua, qe, na]), ce(() => {
|
|
9267
9286
|
O.current || (Te(), He(!0)), !(_ || h) && (y ? ia() : Me());
|
|
9268
9287
|
}, [_, y, h, O]), ce(() => {
|
|
9269
9288
|
if (!O.current) {
|
|
9270
|
-
let
|
|
9271
|
-
if (He(), B.current =
|
|
9289
|
+
let q = [...(/* @__PURE__ */ new Set([...s, ...b])).values()];
|
|
9290
|
+
if (He(), B.current = q, le.current = n, ie.current = b, _ || h) return;
|
|
9272
9291
|
y ? ia() : Me();
|
|
9273
9292
|
}
|
|
9274
9293
|
}, [n, JSON.stringify(s), JSON.stringify(b), O, h, _, y]), ce(() => {
|
|
9275
9294
|
O.current && (O.current = !1);
|
|
9276
9295
|
}, [O]);
|
|
9277
|
-
let Re = { message: Ya, start: ia, reset: ua, activate: ba, pause:
|
|
9278
|
-
d =
|
|
9279
|
-
}, setOnPrompt: (
|
|
9280
|
-
l =
|
|
9281
|
-
}, setOnIdle: (
|
|
9282
|
-
i =
|
|
9283
|
-
}, setOnActive: (
|
|
9284
|
-
r =
|
|
9285
|
-
}, setOnAction: (
|
|
9286
|
-
o =
|
|
9287
|
-
}, setOnMessage: (
|
|
9288
|
-
m =
|
|
9296
|
+
let Re = { message: Ya, start: ia, reset: ua, activate: ba, pause: qe, resume: na, isIdle: Fa, isPrompted: Aa, isLeader: Xa, isLastActiveTab: et, getTabId: Ua, getRemainingTime: Sa, getElapsedTime: ea, getTotalElapsedTime: Ca, getLastIdleTime: va, getLastActiveTime: Oa, getIdleTime: Ba, getTotalIdleTime: Ea, getActiveTime: Ha, getTotalActiveTime: Wa, setOnPresenceChange: (q) => {
|
|
9297
|
+
d = q, Z.current = q;
|
|
9298
|
+
}, setOnPrompt: (q) => {
|
|
9299
|
+
l = q, Q.current = q;
|
|
9300
|
+
}, setOnIdle: (q) => {
|
|
9301
|
+
i = q, K.current = q;
|
|
9302
|
+
}, setOnActive: (q) => {
|
|
9303
|
+
r = q, ee.current = q;
|
|
9304
|
+
}, setOnAction: (q) => {
|
|
9305
|
+
o = q, de.current = q;
|
|
9306
|
+
}, setOnMessage: (q) => {
|
|
9307
|
+
m = q, he.current = q;
|
|
9289
9308
|
} };
|
|
9290
9309
|
return Re;
|
|
9291
9310
|
}
|
|
9292
|
-
var
|
|
9293
|
-
|
|
9294
|
-
const
|
|
9311
|
+
var am = ni(null);
|
|
9312
|
+
am.Consumer;
|
|
9313
|
+
const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
|
|
9295
9314
|
onIdle: e,
|
|
9296
9315
|
onActive: t,
|
|
9297
9316
|
onAction: a,
|
|
9298
9317
|
timeout: n,
|
|
9299
9318
|
throttle: 500
|
|
9300
|
-
}),
|
|
9319
|
+
}), tm = ({ options: e } = {}) => {
|
|
9301
9320
|
const { commonInboxApi: t } = wa(), { getToken: a, lng: n } = re(), s = a?.(), u = Ve(n);
|
|
9302
9321
|
return Y({
|
|
9303
9322
|
queryKey: ["inboxList"],
|
|
@@ -9318,25 +9337,25 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9318
9337
|
enabled: !!s,
|
|
9319
9338
|
...e
|
|
9320
9339
|
});
|
|
9321
|
-
},
|
|
9340
|
+
}, im = ({ options: e } = {}) => {
|
|
9322
9341
|
const { commonReadInboxApi: t } = wa();
|
|
9323
9342
|
return ae({
|
|
9324
9343
|
mutationKey: ["readInbox"],
|
|
9325
9344
|
mutationFn: async (a) => await t(a),
|
|
9326
9345
|
...e
|
|
9327
9346
|
});
|
|
9328
|
-
},
|
|
9347
|
+
}, g0 = ({
|
|
9329
9348
|
options: e = {
|
|
9330
9349
|
inboxList: {},
|
|
9331
9350
|
readInbox: {}
|
|
9332
9351
|
}
|
|
9333
9352
|
} = {}) => {
|
|
9334
|
-
const t =
|
|
9353
|
+
const t = tm({ options: e.inboxList }), a = im({ options: e.readInbox });
|
|
9335
9354
|
return {
|
|
9336
9355
|
inboxListQuery: t,
|
|
9337
9356
|
readInboxMutation: a
|
|
9338
9357
|
};
|
|
9339
|
-
},
|
|
9358
|
+
}, Nr = () => {
|
|
9340
9359
|
const { client: e } = re();
|
|
9341
9360
|
return {
|
|
9342
9361
|
newsListApi: M(
|
|
@@ -9346,7 +9365,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9346
9365
|
[e]
|
|
9347
9366
|
)
|
|
9348
9367
|
};
|
|
9349
|
-
},
|
|
9368
|
+
}, nm = ({
|
|
9350
9369
|
typeConfig: e = {
|
|
9351
9370
|
all: {},
|
|
9352
9371
|
crypto: {},
|
|
@@ -9392,8 +9411,8 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9392
9411
|
value: "other",
|
|
9393
9412
|
...e.other
|
|
9394
9413
|
}
|
|
9395
|
-
],
|
|
9396
|
-
const { lng: a } = re(), { newsListApi: n } =
|
|
9414
|
+
], d0 = ({ options: e, formData: t } = {}) => {
|
|
9415
|
+
const { lng: a } = re(), { newsListApi: n } = Nr(), s = Ve(a);
|
|
9397
9416
|
return Y({
|
|
9398
9417
|
queryKey: ["newsList"],
|
|
9399
9418
|
queryFn: () => {
|
|
@@ -9413,13 +9432,13 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9413
9432
|
return {
|
|
9414
9433
|
...u.data,
|
|
9415
9434
|
data: l,
|
|
9416
|
-
blogType:
|
|
9435
|
+
blogType: nm({ typeConfig: e?.typeConfig })
|
|
9417
9436
|
};
|
|
9418
9437
|
},
|
|
9419
9438
|
...e
|
|
9420
9439
|
});
|
|
9421
|
-
},
|
|
9422
|
-
const { lng: a } = re(), { newsListApi: n } =
|
|
9440
|
+
}, c0 = ({ options: e, formData: t } = {}) => {
|
|
9441
|
+
const { lng: a } = re(), { newsListApi: n } = Nr(), s = Ve(a);
|
|
9423
9442
|
return Y({
|
|
9424
9443
|
queryKey: ["newsList"],
|
|
9425
9444
|
queryFn: () => {
|
|
@@ -9469,12 +9488,19 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9469
9488
|
[e]
|
|
9470
9489
|
), u = M(
|
|
9471
9490
|
async (_) => {
|
|
9472
|
-
const {
|
|
9491
|
+
const {
|
|
9492
|
+
deposit_amount: c,
|
|
9493
|
+
currency_code: U,
|
|
9494
|
+
company_uid: C,
|
|
9495
|
+
bank_account_number: v
|
|
9496
|
+
} = _;
|
|
9473
9497
|
return await e.post("/companyPayment/deposit", {
|
|
9474
9498
|
deposit: {
|
|
9475
9499
|
deposit_amount: c,
|
|
9476
9500
|
currency_code: U,
|
|
9477
|
-
company_uid: C
|
|
9501
|
+
company_uid: C,
|
|
9502
|
+
// 選填;沒給時是 undefined,JSON 序列化會直接略過,不會送出空欄位
|
|
9503
|
+
bank_account_number: v
|
|
9478
9504
|
}
|
|
9479
9505
|
});
|
|
9480
9506
|
},
|
|
@@ -9655,14 +9681,14 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9655
9681
|
snCashRecordApi: y,
|
|
9656
9682
|
otherTransactionApi: r
|
|
9657
9683
|
};
|
|
9658
|
-
},
|
|
9684
|
+
}, rm = ({ options: e } = {}) => {
|
|
9659
9685
|
const { depositApiV1: t } = Le();
|
|
9660
9686
|
return Y({
|
|
9661
9687
|
queryKey: ["depositV1"],
|
|
9662
9688
|
queryFn: t,
|
|
9663
9689
|
...e
|
|
9664
9690
|
});
|
|
9665
|
-
},
|
|
9691
|
+
}, lm = ({ paramsData: e, options: t } = {}) => {
|
|
9666
9692
|
const { depositApiV2: a } = Le();
|
|
9667
9693
|
return Y({
|
|
9668
9694
|
queryKey: ["depositV2", e],
|
|
@@ -9673,11 +9699,11 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9673
9699
|
providerList: Se(l.providers, (i) => ({
|
|
9674
9700
|
...i,
|
|
9675
9701
|
providerUid: i.uid,
|
|
9676
|
-
providerImageUrl: `${
|
|
9702
|
+
providerImageUrl: `${Ye}/paymentIcon/${Ii(i.provider_name)}.png`,
|
|
9677
9703
|
providerMax: i.max,
|
|
9678
9704
|
providerMin: i.min
|
|
9679
9705
|
})),
|
|
9680
|
-
methodImageUrl: `${
|
|
9706
|
+
methodImageUrl: `${Ye}/paymentIcon/${Ii(l.method_name)}pay.png`
|
|
9681
9707
|
}));
|
|
9682
9708
|
return {
|
|
9683
9709
|
bank: u,
|
|
@@ -9687,126 +9713,126 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9687
9713
|
},
|
|
9688
9714
|
...t
|
|
9689
9715
|
});
|
|
9690
|
-
},
|
|
9716
|
+
}, om = ({ options: e } = {}) => {
|
|
9691
9717
|
const { depositApi: t } = Le();
|
|
9692
9718
|
return ae({
|
|
9693
9719
|
mutationKey: ["depositAction"],
|
|
9694
9720
|
mutationFn: async (a) => t(a),
|
|
9695
9721
|
...e
|
|
9696
9722
|
});
|
|
9697
|
-
},
|
|
9723
|
+
}, sm = ({ options: e } = {}) => {
|
|
9698
9724
|
const { withdrawApi: t } = Le();
|
|
9699
9725
|
return ae({
|
|
9700
9726
|
mutationKey: ["withdrawAction"],
|
|
9701
9727
|
mutationFn: async (a) => t(a),
|
|
9702
9728
|
...e
|
|
9703
9729
|
});
|
|
9704
|
-
},
|
|
9730
|
+
}, mm = ({ paramsData: e, options: t } = {}) => {
|
|
9705
9731
|
const { depositTransactionApi: a } = Le();
|
|
9706
9732
|
return Y({
|
|
9707
9733
|
queryKey: ["depositTransaction", e],
|
|
9708
9734
|
queryFn: () => a({ paramsData: e }),
|
|
9709
9735
|
...t
|
|
9710
9736
|
});
|
|
9711
|
-
},
|
|
9737
|
+
}, um = ({ paramsData: e, options: t } = {}) => {
|
|
9712
9738
|
const { eventTransactionApi: a } = Le();
|
|
9713
9739
|
return Y({
|
|
9714
9740
|
queryKey: ["eventTransaction", e],
|
|
9715
9741
|
queryFn: () => a({ paramsData: e }),
|
|
9716
9742
|
...t
|
|
9717
9743
|
});
|
|
9718
|
-
},
|
|
9744
|
+
}, pm = ({ options: e } = {}) => {
|
|
9719
9745
|
const { bankDepositApi: t } = Le();
|
|
9720
9746
|
return ae({
|
|
9721
9747
|
mutationKey: ["bankDeposit"],
|
|
9722
9748
|
mutationFn: async (a) => t(a),
|
|
9723
9749
|
...e
|
|
9724
9750
|
});
|
|
9725
|
-
},
|
|
9751
|
+
}, gm = ({ options: e } = {}) => {
|
|
9726
9752
|
const { companyPaymentDepositApi: t } = Le();
|
|
9727
9753
|
return ae({
|
|
9728
9754
|
mutationKey: ["companyPaymentDeposit"],
|
|
9729
9755
|
mutationFn: async (a) => t(a),
|
|
9730
9756
|
...e
|
|
9731
9757
|
});
|
|
9732
|
-
},
|
|
9758
|
+
}, dm = ({ paramsData: e, options: t } = {}) => {
|
|
9733
9759
|
const { withdrawTransactionApi: a } = Le();
|
|
9734
9760
|
return Y({
|
|
9735
9761
|
queryKey: ["withdrawTransaction", e],
|
|
9736
9762
|
queryFn: () => a({ paramsData: e }),
|
|
9737
9763
|
...t
|
|
9738
9764
|
});
|
|
9739
|
-
},
|
|
9765
|
+
}, f0 = ({ options: e } = {}) => {
|
|
9740
9766
|
const { redeemCodeDepositApi: t } = Le();
|
|
9741
9767
|
return ae({
|
|
9742
9768
|
mutationKey: ["redeemCodeDeposit"],
|
|
9743
9769
|
mutationFn: async (a) => t(a),
|
|
9744
9770
|
...e
|
|
9745
9771
|
});
|
|
9746
|
-
},
|
|
9772
|
+
}, _0 = ({ options: e } = {}) => {
|
|
9747
9773
|
const { invoiceApi: t } = Le();
|
|
9748
9774
|
return ae({
|
|
9749
9775
|
mutationKey: ["invoiceAction"],
|
|
9750
9776
|
mutationFn: async (a) => t(a),
|
|
9751
9777
|
...e
|
|
9752
9778
|
});
|
|
9753
|
-
},
|
|
9779
|
+
}, y0 = ({ options: e } = {}) => {
|
|
9754
9780
|
const { updateInvoiceApi: t } = Le();
|
|
9755
9781
|
return ae({
|
|
9756
9782
|
mutationKey: ["updateInvoiceAction"],
|
|
9757
9783
|
mutationFn: async (a) => t(a),
|
|
9758
9784
|
...e
|
|
9759
9785
|
});
|
|
9760
|
-
},
|
|
9786
|
+
}, b0 = ({ options: e, paramsData: t } = {}) => {
|
|
9761
9787
|
const { transactionRecordApi: a } = Le();
|
|
9762
9788
|
return Y({
|
|
9763
9789
|
queryKey: ["transactionRecord", "deposit"],
|
|
9764
9790
|
queryFn: () => a(t, "deposit"),
|
|
9765
9791
|
...e
|
|
9766
9792
|
});
|
|
9767
|
-
},
|
|
9793
|
+
}, U0 = ({ options: e, paramsData: t } = {}) => {
|
|
9768
9794
|
const { transactionRecordApi: a } = Le();
|
|
9769
9795
|
return Y({
|
|
9770
9796
|
queryKey: ["transactionRecord", "withdraw"],
|
|
9771
9797
|
queryFn: () => a(t, "withdraw"),
|
|
9772
9798
|
...e
|
|
9773
9799
|
});
|
|
9774
|
-
},
|
|
9800
|
+
}, C0 = ({ options: e, paramsData: t } = {}) => {
|
|
9775
9801
|
const { transactionRecordApi: a } = Le();
|
|
9776
9802
|
return Y({
|
|
9777
9803
|
queryKey: ["transactionRecord", "event"],
|
|
9778
9804
|
queryFn: () => a(t, "event"),
|
|
9779
9805
|
...e
|
|
9780
9806
|
});
|
|
9781
|
-
},
|
|
9807
|
+
}, v0 = ({ options: e, paramsData: t } = {}) => {
|
|
9782
9808
|
const { transactionRecordApi: a } = Le();
|
|
9783
9809
|
return Y({
|
|
9784
9810
|
queryKey: ["transactionRecord", "rebate"],
|
|
9785
9811
|
queryFn: () => a(t, "rebate"),
|
|
9786
9812
|
...e
|
|
9787
9813
|
});
|
|
9788
|
-
},
|
|
9814
|
+
}, h0 = ({ options: e, paramsData: t } = {}) => {
|
|
9789
9815
|
const { treasureRecordApi: a } = Le();
|
|
9790
9816
|
return Y({
|
|
9791
9817
|
queryKey: ["treasureRecord", t],
|
|
9792
9818
|
queryFn: () => a(t),
|
|
9793
9819
|
...e
|
|
9794
9820
|
});
|
|
9795
|
-
},
|
|
9821
|
+
}, T0 = ({ options: e, paramsData: t } = {}) => {
|
|
9796
9822
|
const { snCashRecordApi: a } = Le();
|
|
9797
9823
|
return Y({
|
|
9798
9824
|
queryKey: ["snCashRecord", t],
|
|
9799
9825
|
queryFn: () => a(t),
|
|
9800
9826
|
...e
|
|
9801
9827
|
});
|
|
9802
|
-
},
|
|
9828
|
+
}, k0 = ({ options: e, paramsData: t } = {}) => {
|
|
9803
9829
|
const { otherTransactionApi: a } = Le();
|
|
9804
9830
|
return Y({
|
|
9805
9831
|
queryKey: ["otherTransaction", t],
|
|
9806
9832
|
queryFn: () => a({ paramsData: t }),
|
|
9807
9833
|
...e
|
|
9808
9834
|
});
|
|
9809
|
-
},
|
|
9835
|
+
}, x0 = ({
|
|
9810
9836
|
depositV1: e = {},
|
|
9811
9837
|
depositV2: t = {},
|
|
9812
9838
|
depositTransaction: a = {},
|
|
@@ -9817,9 +9843,9 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9817
9843
|
eventTransaction: d = {},
|
|
9818
9844
|
withdrawTransaction: l = {}
|
|
9819
9845
|
} = {}) => {
|
|
9820
|
-
const i =
|
|
9846
|
+
const i = rm(e), r = lm(t), o = mm(a), m = om(n), g = sm(s), p = pm(u), f = gm(
|
|
9821
9847
|
b
|
|
9822
|
-
), y =
|
|
9848
|
+
), y = um(d), _ = dm(
|
|
9823
9849
|
l
|
|
9824
9850
|
);
|
|
9825
9851
|
return {
|
|
@@ -9833,10 +9859,10 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9833
9859
|
eventTransaction: y,
|
|
9834
9860
|
withdrawTransaction: _
|
|
9835
9861
|
};
|
|
9836
|
-
},
|
|
9862
|
+
}, Lr = "3.8.0", cm = Lr, ja = typeof Buffer == "function", jn = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, Qn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, fm = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", mt = Array.prototype.slice.call(fm), yt = ((e) => {
|
|
9837
9863
|
let t = {};
|
|
9838
9864
|
return e.forEach((a, n) => t[a] = n), t;
|
|
9839
|
-
})(mt),
|
|
9865
|
+
})(mt), _m = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Oe = String.fromCharCode.bind(String), Yn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Gr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), Mr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Rr = (e) => {
|
|
9840
9866
|
let t, a, n, s, u = "";
|
|
9841
9867
|
const b = e.length % 3;
|
|
9842
9868
|
for (let d = 0; d < e.length; ) {
|
|
@@ -9845,12 +9871,12 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9845
9871
|
t = a << 16 | n << 8 | s, u += mt[t >> 18 & 63] + mt[t >> 12 & 63] + mt[t >> 6 & 63] + mt[t & 63];
|
|
9846
9872
|
}
|
|
9847
9873
|
return b ? u.slice(0, b - 3) + "===".substring(b) : u;
|
|
9848
|
-
}, Oi = typeof btoa == "function" ? (e) => btoa(e) : ja ? (e) => Buffer.from(e, "binary").toString("base64") :
|
|
9874
|
+
}, Oi = typeof btoa == "function" ? (e) => btoa(e) : ja ? (e) => Buffer.from(e, "binary").toString("base64") : Rr, vi = ja ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
9849
9875
|
let a = [];
|
|
9850
9876
|
for (let n = 0, s = e.length; n < s; n += 4096)
|
|
9851
9877
|
a.push(Oe.apply(null, e.subarray(n, n + 4096)));
|
|
9852
9878
|
return Oi(a.join(""));
|
|
9853
|
-
}, ti = (e, t = !1) => t ?
|
|
9879
|
+
}, ti = (e, t = !1) => t ? Gr(vi(e)) : vi(e), ym = (e) => {
|
|
9854
9880
|
if (e.length < 2) {
|
|
9855
9881
|
var t = e.charCodeAt(0);
|
|
9856
9882
|
return t < 128 ? e : t < 2048 ? Oe(192 | t >>> 6) + Oe(128 | t & 63) : Oe(224 | t >>> 12 & 15) + Oe(128 | t >>> 6 & 63) + Oe(128 | t & 63);
|
|
@@ -9858,7 +9884,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9858
9884
|
var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
9859
9885
|
return Oe(240 | t >>> 18 & 7) + Oe(128 | t >>> 12 & 63) + Oe(128 | t >>> 6 & 63) + Oe(128 | t & 63);
|
|
9860
9886
|
}
|
|
9861
|
-
},
|
|
9887
|
+
}, bm = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Pr = (e) => e.replace(bm, ym), Xn = ja ? (e) => Buffer.from(e, "utf8").toString("base64") : Qn ? (e) => vi(Qn.encode(e)) : (e) => Oi(Pr(e)), qa = (e, t = !1) => t ? Gr(Xn(e)) : Xn(e), er = (e) => qa(e, !0), Um = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Cm = (e) => {
|
|
9862
9888
|
switch (e.length) {
|
|
9863
9889
|
case 4:
|
|
9864
9890
|
var t = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), a = t - 65536;
|
|
@@ -9868,26 +9894,26 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9868
9894
|
default:
|
|
9869
9895
|
return Oe((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
9870
9896
|
}
|
|
9871
|
-
},
|
|
9872
|
-
if (e = e.replace(/\s+/g, ""), !
|
|
9897
|
+
}, wr = (e) => e.replace(Um, Cm), Fr = (e) => {
|
|
9898
|
+
if (e = e.replace(/\s+/g, ""), !_m.test(e))
|
|
9873
9899
|
throw new TypeError("malformed base64.");
|
|
9874
9900
|
e += "==".slice(2 - (e.length & 3));
|
|
9875
9901
|
let t, a, n, s = [];
|
|
9876
9902
|
for (let u = 0; u < e.length; )
|
|
9877
9903
|
t = yt[e.charAt(u++)] << 18 | yt[e.charAt(u++)] << 12 | (a = yt[e.charAt(u++)]) << 6 | (n = yt[e.charAt(u++)]), a === 64 ? s.push(Oe(t >> 16 & 255)) : n === 64 ? s.push(Oe(t >> 16 & 255, t >> 8 & 255)) : s.push(Oe(t >> 16 & 255, t >> 8 & 255, t & 255));
|
|
9878
9904
|
return s.join("");
|
|
9879
|
-
}, Bi = typeof atob == "function" ? (e) => atob(
|
|
9905
|
+
}, Bi = typeof atob == "function" ? (e) => atob(Mr(e)) : ja ? (e) => Buffer.from(e, "base64").toString("binary") : Fr, Ar = ja ? (e) => Yn(Buffer.from(e, "base64")) : (e) => Yn(Bi(e).split("").map((t) => t.charCodeAt(0))), Or = (e) => Ar(Br(e)), vm = ja ? (e) => Buffer.from(e, "base64").toString("utf8") : jn ? (e) => jn.decode(Ar(e)) : (e) => wr(Bi(e)), Br = (e) => Mr(e.replace(/[-_]/g, (t) => t == "-" ? "+" : "/")), hi = (e) => vm(Br(e)), hm = (e) => {
|
|
9880
9906
|
if (typeof e != "string")
|
|
9881
9907
|
return !1;
|
|
9882
9908
|
const t = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
9883
9909
|
return !/[^\s0-9a-zA-Z\+/]/.test(t) || !/[^\s0-9a-zA-Z\-_]/.test(t);
|
|
9884
|
-
},
|
|
9910
|
+
}, Hr = (e) => ({
|
|
9885
9911
|
value: e,
|
|
9886
9912
|
enumerable: !1,
|
|
9887
9913
|
writable: !0,
|
|
9888
9914
|
configurable: !0
|
|
9889
|
-
}),
|
|
9890
|
-
const e = (t, a) => Object.defineProperty(String.prototype, t,
|
|
9915
|
+
}), Wr = function() {
|
|
9916
|
+
const e = (t, a) => Object.defineProperty(String.prototype, t, Hr(a));
|
|
9891
9917
|
e("fromBase64", function() {
|
|
9892
9918
|
return hi(this);
|
|
9893
9919
|
}), e("toBase64", function(t) {
|
|
@@ -9897,10 +9923,10 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9897
9923
|
}), e("toBase64URL", function() {
|
|
9898
9924
|
return qa(this, !0);
|
|
9899
9925
|
}), e("toUint8Array", function() {
|
|
9900
|
-
return
|
|
9926
|
+
return Or(this);
|
|
9901
9927
|
});
|
|
9902
|
-
},
|
|
9903
|
-
const e = (t, a) => Object.defineProperty(Uint8Array.prototype, t,
|
|
9928
|
+
}, Ir = function() {
|
|
9929
|
+
const e = (t, a) => Object.defineProperty(Uint8Array.prototype, t, Hr(a));
|
|
9904
9930
|
e("toBase64", function(t) {
|
|
9905
9931
|
return ti(this, t);
|
|
9906
9932
|
}), e("toBase64URI", function() {
|
|
@@ -9908,30 +9934,30 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9908
9934
|
}), e("toBase64URL", function() {
|
|
9909
9935
|
return ti(this, !0);
|
|
9910
9936
|
});
|
|
9911
|
-
},
|
|
9912
|
-
|
|
9913
|
-
},
|
|
9914
|
-
version:
|
|
9915
|
-
VERSION:
|
|
9937
|
+
}, Tm = () => {
|
|
9938
|
+
Wr(), Ir();
|
|
9939
|
+
}, km = {
|
|
9940
|
+
version: Lr,
|
|
9941
|
+
VERSION: cm,
|
|
9916
9942
|
atob: Bi,
|
|
9917
|
-
atobPolyfill:
|
|
9943
|
+
atobPolyfill: Fr,
|
|
9918
9944
|
btoa: Oi,
|
|
9919
|
-
btoaPolyfill:
|
|
9945
|
+
btoaPolyfill: Rr,
|
|
9920
9946
|
fromBase64: hi,
|
|
9921
9947
|
toBase64: qa,
|
|
9922
9948
|
encode: qa,
|
|
9923
|
-
encodeURI:
|
|
9924
|
-
encodeURL:
|
|
9925
|
-
utob:
|
|
9926
|
-
btou:
|
|
9949
|
+
encodeURI: er,
|
|
9950
|
+
encodeURL: er,
|
|
9951
|
+
utob: Pr,
|
|
9952
|
+
btou: wr,
|
|
9927
9953
|
decode: hi,
|
|
9928
|
-
isValid:
|
|
9954
|
+
isValid: hm,
|
|
9929
9955
|
fromUint8Array: ti,
|
|
9930
|
-
toUint8Array:
|
|
9931
|
-
extendString:
|
|
9932
|
-
extendUint8Array:
|
|
9933
|
-
extendBuiltins:
|
|
9934
|
-
},
|
|
9956
|
+
toUint8Array: Or,
|
|
9957
|
+
extendString: Wr,
|
|
9958
|
+
extendUint8Array: Ir,
|
|
9959
|
+
extendBuiltins: Tm
|
|
9960
|
+
}, S0 = (e, t) => {
|
|
9935
9961
|
const { playGameApi: a } = Gi();
|
|
9936
9962
|
return Y({
|
|
9937
9963
|
queryKey: ["playGame"],
|
|
@@ -9959,7 +9985,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9959
9985
|
supportPortrait: m,
|
|
9960
9986
|
isHtmlCode: p,
|
|
9961
9987
|
gameUrl: g,
|
|
9962
|
-
decodeGameUrl:
|
|
9988
|
+
decodeGameUrl: km.decode(g),
|
|
9963
9989
|
message: f,
|
|
9964
9990
|
betLimitInfo: y
|
|
9965
9991
|
};
|
|
@@ -9967,34 +9993,34 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9967
9993
|
enabled: !!e?.gameCode,
|
|
9968
9994
|
...t
|
|
9969
9995
|
});
|
|
9970
|
-
},
|
|
9996
|
+
}, zr = () => {
|
|
9971
9997
|
const { client: e } = re(), t = M(async () => await e.get("/rebate"), [e]), a = M(async () => await e.post("/withdraw/rebate"), [e]);
|
|
9972
9998
|
return {
|
|
9973
9999
|
currentRebateApi: t,
|
|
9974
10000
|
receiveRebateApi: a
|
|
9975
10001
|
};
|
|
9976
|
-
},
|
|
9977
|
-
const { currentRebateApi: t } =
|
|
10002
|
+
}, xm = ({ options: e } = {}) => {
|
|
10003
|
+
const { currentRebateApi: t } = zr();
|
|
9978
10004
|
return Y({
|
|
9979
10005
|
queryKey: ["currentRebate"],
|
|
9980
10006
|
queryFn: () => t(),
|
|
9981
|
-
select: (a) =>
|
|
10007
|
+
select: (a) => ur(a, ["code", "status"]),
|
|
9982
10008
|
...e
|
|
9983
10009
|
});
|
|
9984
|
-
},
|
|
9985
|
-
const { receiveRebateApi: t } =
|
|
10010
|
+
}, Sm = ({ options: e } = {}) => {
|
|
10011
|
+
const { receiveRebateApi: t } = zr();
|
|
9986
10012
|
return ae({
|
|
9987
10013
|
mutationKey: ["receiveRebate"],
|
|
9988
10014
|
mutationFn: async () => t(),
|
|
9989
10015
|
...e
|
|
9990
10016
|
});
|
|
9991
|
-
},
|
|
10017
|
+
}, E0 = ({
|
|
9992
10018
|
options: e = {
|
|
9993
10019
|
currentRebate: {},
|
|
9994
10020
|
receiveRebate: {}
|
|
9995
10021
|
}
|
|
9996
10022
|
} = {}) => {
|
|
9997
|
-
const t =
|
|
10023
|
+
const t = xm({ options: e.currentRebate }), a = Sm({ options: e.receiveRebate });
|
|
9998
10024
|
return {
|
|
9999
10025
|
currentRebate: t,
|
|
10000
10026
|
receiveRebate: a
|
|
@@ -10018,7 +10044,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10018
10044
|
redeemRewardApi: s,
|
|
10019
10045
|
historyRewardApi: u
|
|
10020
10046
|
};
|
|
10021
|
-
},
|
|
10047
|
+
}, Em = ({ options: e, formData: t } = {}) => {
|
|
10022
10048
|
const { rewardListApi: a } = gt();
|
|
10023
10049
|
return Y({
|
|
10024
10050
|
queryKey: ["rewardsList"],
|
|
@@ -10048,8 +10074,8 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10048
10074
|
rewardUid: g,
|
|
10049
10075
|
rewardWagering: b,
|
|
10050
10076
|
rewardAmount: d,
|
|
10051
|
-
rewardBg:
|
|
10052
|
-
rewardIcon:
|
|
10077
|
+
rewardBg: fr(),
|
|
10078
|
+
rewardIcon: cr("win")
|
|
10053
10079
|
};
|
|
10054
10080
|
});
|
|
10055
10081
|
return {
|
|
@@ -10065,35 +10091,35 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10065
10091
|
},
|
|
10066
10092
|
...e
|
|
10067
10093
|
});
|
|
10068
|
-
},
|
|
10094
|
+
}, Dm = ({ options: e } = {}) => {
|
|
10069
10095
|
const { redeemRewardApi: t } = gt();
|
|
10070
10096
|
return ae({
|
|
10071
10097
|
mutationKey: ["redeemReward"],
|
|
10072
10098
|
mutationFn: async (a) => await t(a),
|
|
10073
10099
|
...e
|
|
10074
10100
|
});
|
|
10075
|
-
},
|
|
10101
|
+
}, Nm = ({ options: e } = {}) => {
|
|
10076
10102
|
const { unUsedRewardListApi: t } = gt();
|
|
10077
10103
|
return Y({
|
|
10078
10104
|
queryKey: ["unUsedRewardsList"],
|
|
10079
10105
|
queryFn: t,
|
|
10080
10106
|
...e
|
|
10081
10107
|
});
|
|
10082
|
-
},
|
|
10108
|
+
}, Lm = ({ options: e } = {}) => {
|
|
10083
10109
|
const { expiredRewardListApi: t } = gt();
|
|
10084
10110
|
return Y({
|
|
10085
10111
|
queryKey: ["expiredRewardsList"],
|
|
10086
10112
|
queryFn: t,
|
|
10087
10113
|
...e
|
|
10088
10114
|
});
|
|
10089
|
-
},
|
|
10115
|
+
}, Gm = ({ options: e } = {}) => {
|
|
10090
10116
|
const { historyRewardApi: t } = gt();
|
|
10091
10117
|
return Y({
|
|
10092
10118
|
queryKey: ["historyRewardsList"],
|
|
10093
10119
|
queryFn: t,
|
|
10094
10120
|
...e
|
|
10095
10121
|
});
|
|
10096
|
-
},
|
|
10122
|
+
}, D0 = ({
|
|
10097
10123
|
options: e = {
|
|
10098
10124
|
rewardsList: {},
|
|
10099
10125
|
redeemReward: {},
|
|
@@ -10102,13 +10128,13 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10102
10128
|
historyRewardsList: {}
|
|
10103
10129
|
}
|
|
10104
10130
|
} = {}) => {
|
|
10105
|
-
const t =
|
|
10131
|
+
const t = Em({ options: e.rewardsList }), a = Dm({
|
|
10106
10132
|
options: e.redeemReward
|
|
10107
|
-
}), n =
|
|
10133
|
+
}), n = Nm({
|
|
10108
10134
|
options: e.unUsedRewardsList
|
|
10109
|
-
}), s =
|
|
10135
|
+
}), s = Lm({
|
|
10110
10136
|
options: e.expiredRewardsList
|
|
10111
|
-
}), u =
|
|
10137
|
+
}), u = Gm({
|
|
10112
10138
|
options: e.historyRewardsList
|
|
10113
10139
|
});
|
|
10114
10140
|
return {
|
|
@@ -10159,7 +10185,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10159
10185
|
reward_amount: "1000.00000000",
|
|
10160
10186
|
status: 1
|
|
10161
10187
|
}
|
|
10162
|
-
],
|
|
10188
|
+
], Mm = [
|
|
10163
10189
|
{
|
|
10164
10190
|
uid: 53,
|
|
10165
10191
|
roulettes_uid: ca,
|
|
@@ -10186,7 +10212,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10186
10212
|
}
|
|
10187
10213
|
];
|
|
10188
10214
|
let ut = 3;
|
|
10189
|
-
const
|
|
10215
|
+
const Vr = [], Rm = () => [
|
|
10190
10216
|
{
|
|
10191
10217
|
title: Ti,
|
|
10192
10218
|
reward_title: "500 點",
|
|
@@ -10201,7 +10227,7 @@ const Ir = [], Gm = () => [
|
|
|
10201
10227
|
reward_amount: "0.00000000",
|
|
10202
10228
|
created_at: "2026-09-20T11:02:41.000000Z"
|
|
10203
10229
|
}
|
|
10204
|
-
], Hi = (e = 300) => new Promise((t) => setTimeout(t, e)),
|
|
10230
|
+
], Hi = (e = 300) => new Promise((t) => setTimeout(t, e)), Pm = () => ki[Math.floor(Math.random() * ki.length)], wm = async () => (await Hi(), {
|
|
10205
10231
|
code: 200,
|
|
10206
10232
|
status: "Success",
|
|
10207
10233
|
message: "Success",
|
|
@@ -10219,21 +10245,21 @@ const Ir = [], Gm = () => [
|
|
|
10219
10245
|
is_active: 1,
|
|
10220
10246
|
count: ut,
|
|
10221
10247
|
roulettes_rewards: ki,
|
|
10222
|
-
roulettes_copywriting:
|
|
10248
|
+
roulettes_copywriting: Mm
|
|
10223
10249
|
}
|
|
10224
10250
|
]
|
|
10225
|
-
}),
|
|
10251
|
+
}), Fm = async ({ spin_times: e = 1 } = {}) => {
|
|
10226
10252
|
if (await Hi(), ut <= 0)
|
|
10227
10253
|
return { success: !1, message: "No spin count available." };
|
|
10228
10254
|
const t = Math.min(Number(e) || 1, ut), a = [];
|
|
10229
10255
|
for (let n = 0; n < t; n += 1) {
|
|
10230
|
-
const s =
|
|
10256
|
+
const s = Pm();
|
|
10231
10257
|
a.push({
|
|
10232
10258
|
uid: s.uid,
|
|
10233
10259
|
reward_title: s.reward_title,
|
|
10234
10260
|
reward_type: s.reward_type,
|
|
10235
10261
|
reward_amount: Number(s.reward_amount)
|
|
10236
|
-
}),
|
|
10262
|
+
}), Vr.unshift({
|
|
10237
10263
|
title: Ti,
|
|
10238
10264
|
reward_title: s.reward_title,
|
|
10239
10265
|
reward_type: s.reward_type,
|
|
@@ -10249,9 +10275,9 @@ const Ir = [], Gm = () => [
|
|
|
10249
10275
|
remaining_count: ut
|
|
10250
10276
|
}
|
|
10251
10277
|
};
|
|
10252
|
-
},
|
|
10278
|
+
}, Am = async ({ page: e = 1 } = {}) => {
|
|
10253
10279
|
await Hi();
|
|
10254
|
-
const t = 15, a = [...
|
|
10280
|
+
const t = 15, a = [...Vr, ...Rm()], n = a.length, s = Number(e) || 1, u = (s - 1) * t, b = a.slice(u, u + t), d = Math.max(1, Math.ceil(n / t));
|
|
10255
10281
|
return {
|
|
10256
10282
|
success: !0,
|
|
10257
10283
|
message: "Get getRoulettesRewardsLog Success",
|
|
@@ -10266,16 +10292,16 @@ const Ir = [], Gm = () => [
|
|
|
10266
10292
|
}
|
|
10267
10293
|
};
|
|
10268
10294
|
}, Wi = () => {
|
|
10269
|
-
const { client: e } = re(), t = M(async () =>
|
|
10295
|
+
const { client: e } = re(), t = M(async () => wm(), [e]), a = M(
|
|
10270
10296
|
async (s = {}) => {
|
|
10271
10297
|
const { roulettes_uid: u = "", spin_times: b = 1 } = s || {};
|
|
10272
|
-
return
|
|
10298
|
+
return Fm({ spin_times: b });
|
|
10273
10299
|
},
|
|
10274
10300
|
[e]
|
|
10275
10301
|
), n = M(
|
|
10276
10302
|
async (s = {}) => {
|
|
10277
10303
|
const { roulettes_uid: u, page: b = 1 } = s || {};
|
|
10278
|
-
return
|
|
10304
|
+
return Am({ page: b });
|
|
10279
10305
|
},
|
|
10280
10306
|
[e]
|
|
10281
10307
|
);
|
|
@@ -10284,7 +10310,7 @@ const Ir = [], Gm = () => [
|
|
|
10284
10310
|
redeemRoulettesApi: a,
|
|
10285
10311
|
roulettesDrawLogApi: n
|
|
10286
10312
|
};
|
|
10287
|
-
},
|
|
10313
|
+
}, N0 = ({ options: e } = {}) => {
|
|
10288
10314
|
const { lng: t } = re(), a = Ve(t || "tw"), { roulettesListApi: n } = Wi();
|
|
10289
10315
|
return Y({
|
|
10290
10316
|
queryKey: ["roulettesList"],
|
|
@@ -10301,14 +10327,14 @@ const Ir = [], Gm = () => [
|
|
|
10301
10327
|
}), res: s }),
|
|
10302
10328
|
...e
|
|
10303
10329
|
});
|
|
10304
|
-
},
|
|
10330
|
+
}, L0 = ({ options: e } = {}) => {
|
|
10305
10331
|
const { redeemRoulettesApi: t } = Wi();
|
|
10306
10332
|
return ae({
|
|
10307
10333
|
mutationKey: ["redeemRoulettes"],
|
|
10308
10334
|
mutationFn: async (a) => t(a),
|
|
10309
10335
|
...e
|
|
10310
10336
|
});
|
|
10311
|
-
},
|
|
10337
|
+
}, G0 = ({ paramsData: e, options: t } = {}) => {
|
|
10312
10338
|
const { roulettesDrawLogApi: a } = Wi();
|
|
10313
10339
|
return Y({
|
|
10314
10340
|
queryKey: ["roulettesDrawLog", e],
|
|
@@ -10409,18 +10435,18 @@ const Ir = [], Gm = () => [
|
|
|
10409
10435
|
createStoreOrderApi: i,
|
|
10410
10436
|
updateStoreOrderApi: r
|
|
10411
10437
|
};
|
|
10412
|
-
}, Qa = (e) => j(e, "data", e),
|
|
10438
|
+
}, Qa = (e) => j(e, "data", e), Om = (e) => ({
|
|
10413
10439
|
...j(e, "data", {}),
|
|
10414
10440
|
shipment_list: j(e, "shipment_list", {})
|
|
10415
|
-
}),
|
|
10441
|
+
}), M0 = ({ options: e } = {}) => {
|
|
10416
10442
|
const { storeConfigApi: t } = ma();
|
|
10417
10443
|
return Y({
|
|
10418
10444
|
queryKey: ["market", "storeConfig"],
|
|
10419
10445
|
queryFn: t,
|
|
10420
|
-
select:
|
|
10446
|
+
select: Om,
|
|
10421
10447
|
...e
|
|
10422
10448
|
});
|
|
10423
|
-
},
|
|
10449
|
+
}, R0 = ({ options: e } = {}) => {
|
|
10424
10450
|
const { storeProductTypeApi: t } = ma();
|
|
10425
10451
|
return Y({
|
|
10426
10452
|
queryKey: ["market", "productType"],
|
|
@@ -10428,9 +10454,9 @@ const Ir = [], Gm = () => [
|
|
|
10428
10454
|
select: Qa,
|
|
10429
10455
|
...e
|
|
10430
10456
|
});
|
|
10431
|
-
},
|
|
10457
|
+
}, P0 = ({ paramsData: e, options: t } = {}) => {
|
|
10432
10458
|
const { storeProductListApi: a } = ma();
|
|
10433
|
-
return
|
|
10459
|
+
return sl({
|
|
10434
10460
|
queryKey: ["market", "productList", "infinite", e],
|
|
10435
10461
|
initialPageParam: 1,
|
|
10436
10462
|
queryFn: async ({ pageParam: n = 1 }) => {
|
|
@@ -10446,7 +10472,7 @@ const Ir = [], Gm = () => [
|
|
|
10446
10472
|
},
|
|
10447
10473
|
...t
|
|
10448
10474
|
});
|
|
10449
|
-
},
|
|
10475
|
+
}, w0 = ({ paramsData: e, options: t } = {}) => {
|
|
10450
10476
|
const { storeProductDetailApi: a } = ma(), n = j(e, "uid");
|
|
10451
10477
|
return Y({
|
|
10452
10478
|
queryKey: ["market", "productDetail", n],
|
|
@@ -10455,7 +10481,7 @@ const Ir = [], Gm = () => [
|
|
|
10455
10481
|
...t,
|
|
10456
10482
|
enabled: n != null && n !== "" && (t?.enabled ?? !0)
|
|
10457
10483
|
});
|
|
10458
|
-
},
|
|
10484
|
+
}, F0 = ({ options: e } = {}) => {
|
|
10459
10485
|
const { storeCoinBalanceApi: t } = ma(), { getToken: a } = re(), n = a?.();
|
|
10460
10486
|
return Y({
|
|
10461
10487
|
queryKey: ["market", "storeCoinBalance"],
|
|
@@ -10466,7 +10492,7 @@ const Ir = [], Gm = () => [
|
|
|
10466
10492
|
放在 ...options 之後,與呼叫端自帶的 enabled 取交集。 */
|
|
10467
10493
|
enabled: !!n && (e?.enabled ?? !0)
|
|
10468
10494
|
});
|
|
10469
|
-
},
|
|
10495
|
+
}, A0 = ({ paramsData: e, options: t } = {}) => {
|
|
10470
10496
|
const { storeCoinLogApi: a } = ma(), { getToken: n } = re(), s = n?.();
|
|
10471
10497
|
return Y({
|
|
10472
10498
|
queryKey: ["market", "storeCoinLog", e],
|
|
@@ -10476,7 +10502,7 @@ const Ir = [], Gm = () => [
|
|
|
10476
10502
|
// 同 useStoreCoinBalance:未登入不發送
|
|
10477
10503
|
enabled: !!s && (t?.enabled ?? !0)
|
|
10478
10504
|
});
|
|
10479
|
-
},
|
|
10505
|
+
}, O0 = ({ paramsData: e, options: t } = {}) => {
|
|
10480
10506
|
const { storeOrderListApi: a } = ma(), { getToken: n } = re(), s = n?.();
|
|
10481
10507
|
return Y({
|
|
10482
10508
|
queryKey: ["market", "storeOrderList", e],
|
|
@@ -10486,7 +10512,7 @@ const Ir = [], Gm = () => [
|
|
|
10486
10512
|
// 同 useStoreCoinBalance:未登入不發送
|
|
10487
10513
|
enabled: !!s && (t?.enabled ?? !0)
|
|
10488
10514
|
});
|
|
10489
|
-
},
|
|
10515
|
+
}, B0 = ({ paramsData: e, options: t } = {}) => {
|
|
10490
10516
|
const { storeOrderDetailApi: a } = ma(), { getToken: n } = re(), s = n?.(), u = j(e, "uid");
|
|
10491
10517
|
return Y({
|
|
10492
10518
|
queryKey: ["market", "storeOrderDetail", u],
|
|
@@ -10496,7 +10522,7 @@ const Ir = [], Gm = () => [
|
|
|
10496
10522
|
/* 需 Bearer Token 且需有 uid 才發送;與呼叫端自帶的 enabled 取交集 */
|
|
10497
10523
|
enabled: !!s && !!u && (t?.enabled ?? !0)
|
|
10498
10524
|
});
|
|
10499
|
-
},
|
|
10525
|
+
}, H0 = ({ options: e } = {}) => {
|
|
10500
10526
|
const { createStoreOrderApi: t } = ma(), a = ya(), { onSuccess: n, ...s } = e || {};
|
|
10501
10527
|
return ae({
|
|
10502
10528
|
mutationKey: ["market", "createStoreOrder"],
|
|
@@ -10508,7 +10534,7 @@ const Ir = [], Gm = () => [
|
|
|
10508
10534
|
},
|
|
10509
10535
|
...s
|
|
10510
10536
|
});
|
|
10511
|
-
},
|
|
10537
|
+
}, W0 = ({ options: e } = {}) => {
|
|
10512
10538
|
const { updateStoreOrderApi: t } = ma(), a = ya(), { onSuccess: n, ...s } = e || {};
|
|
10513
10539
|
return ae({
|
|
10514
10540
|
mutationKey: ["market", "updateStoreOrder"],
|
|
@@ -10520,7 +10546,7 @@ const Ir = [], Gm = () => [
|
|
|
10520
10546
|
},
|
|
10521
10547
|
...s
|
|
10522
10548
|
});
|
|
10523
|
-
},
|
|
10549
|
+
}, Jr = () => {
|
|
10524
10550
|
const { client: e } = re(), t = M(
|
|
10525
10551
|
async (n = {}) => {
|
|
10526
10552
|
const {
|
|
@@ -10555,8 +10581,8 @@ const Ir = [], Gm = () => [
|
|
|
10555
10581
|
treasureListApi: t,
|
|
10556
10582
|
redeemTreasureApi: a
|
|
10557
10583
|
};
|
|
10558
|
-
},
|
|
10559
|
-
const { client: a, lng: n } = re(), s = Ve(n || "tw"), { treasureListApi: u } =
|
|
10584
|
+
}, I0 = ({ paramsData: e, options: t } = {}) => {
|
|
10585
|
+
const { client: a, lng: n } = re(), s = Ve(n || "tw"), { treasureListApi: u } = Jr();
|
|
10560
10586
|
return Y({
|
|
10561
10587
|
queryKey: ["treasureList", e],
|
|
10562
10588
|
queryFn: () => u(e),
|
|
@@ -10583,21 +10609,21 @@ const Ir = [], Gm = () => [
|
|
|
10583
10609
|
},
|
|
10584
10610
|
...t
|
|
10585
10611
|
});
|
|
10586
|
-
},
|
|
10587
|
-
const { redeemTreasureApi: t } =
|
|
10612
|
+
}, z0 = ({ options: e } = {}) => {
|
|
10613
|
+
const { redeemTreasureApi: t } = Jr();
|
|
10588
10614
|
return ae({
|
|
10589
10615
|
mutationKey: ["redeemTreasure"],
|
|
10590
10616
|
mutationFn: async (a) => t(a),
|
|
10591
10617
|
...e
|
|
10592
10618
|
});
|
|
10593
|
-
},
|
|
10619
|
+
}, Zr = () => {
|
|
10594
10620
|
const { client: e } = re(), t = M(async () => await e.get("/vip/list"), [e]), a = M(async () => await e.get("/vip/check"), [e]);
|
|
10595
10621
|
return {
|
|
10596
10622
|
vipListApi: t,
|
|
10597
10623
|
vipInfoApi: a
|
|
10598
10624
|
};
|
|
10599
|
-
},
|
|
10600
|
-
const { store: t } = re(), a = t?.getState()?.isMemberInfo || t?.getState()?.member?.member || {}, { vipInfoApi: n } =
|
|
10625
|
+
}, V0 = ({ options: e } = {}) => {
|
|
10626
|
+
const { store: t } = re(), a = t?.getState()?.isMemberInfo || t?.getState()?.member?.member || {}, { vipInfoApi: n } = Zr();
|
|
10601
10627
|
return Y({
|
|
10602
10628
|
queryKey: ["vipInfo"],
|
|
10603
10629
|
queryFn: async () => n(),
|
|
@@ -10607,7 +10633,7 @@ const Ir = [], Gm = () => [
|
|
|
10607
10633
|
currentStatus: i.status,
|
|
10608
10634
|
currentOverflow: i.promotion_overflow,
|
|
10609
10635
|
type: i.type
|
|
10610
|
-
})), l =
|
|
10636
|
+
})), l = dl(d, "type");
|
|
10611
10637
|
return {
|
|
10612
10638
|
currentWager: u.wagering || u.value,
|
|
10613
10639
|
currentLevel: a.vip_level,
|
|
@@ -10621,8 +10647,8 @@ const Ir = [], Gm = () => [
|
|
|
10621
10647
|
},
|
|
10622
10648
|
...e
|
|
10623
10649
|
});
|
|
10624
|
-
},
|
|
10625
|
-
const { store: t } = re(), a = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } =
|
|
10650
|
+
}, Bm = ({ options: e } = {}) => {
|
|
10651
|
+
const { store: t } = re(), a = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } = Zr();
|
|
10626
10652
|
return Y({
|
|
10627
10653
|
queryKey: ["vipList"],
|
|
10628
10654
|
queryFn: async () => {
|
|
@@ -10647,7 +10673,7 @@ const Ir = [], Gm = () => [
|
|
|
10647
10673
|
};
|
|
10648
10674
|
return {
|
|
10649
10675
|
...d,
|
|
10650
|
-
vipImageUrl: `${
|
|
10676
|
+
vipImageUrl: `${Ye}/vip/vip${d.level}_l.avif`,
|
|
10651
10677
|
vipRule: g,
|
|
10652
10678
|
vipWithdraw: p,
|
|
10653
10679
|
vipWithdrawFeeRate: f,
|
|
@@ -10658,12 +10684,12 @@ const Ir = [], Gm = () => [
|
|
|
10658
10684
|
},
|
|
10659
10685
|
...e
|
|
10660
10686
|
});
|
|
10661
|
-
},
|
|
10687
|
+
}, J0 = ({ options: e } = {
|
|
10662
10688
|
vipList: {}
|
|
10663
10689
|
}) => ({
|
|
10664
|
-
vipList:
|
|
10665
|
-
}),
|
|
10666
|
-
const [t, a] =
|
|
10690
|
+
vipList: Bm({ options: e.vipList })
|
|
10691
|
+
}), Z0 = ({ onMessage: e } = {}) => {
|
|
10692
|
+
const [t, a] = Qe(!1), [n, s] = Qe([]), u = se(e);
|
|
10667
10693
|
u.current = e;
|
|
10668
10694
|
const b = M((_) => {
|
|
10669
10695
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
@@ -10745,8 +10771,8 @@ const Ir = [], Gm = () => [
|
|
|
10745
10771
|
webViewUnmute: y,
|
|
10746
10772
|
logs: n
|
|
10747
10773
|
};
|
|
10748
|
-
}, bt = "game-icon-ds88",
|
|
10749
|
-
const { lng: t } = re(), a =
|
|
10774
|
+
}, bt = "game-icon-ds88", K0 = ({ gameData: e = {} } = {}) => {
|
|
10775
|
+
const { lng: t } = re(), a = Nl(t), {
|
|
10750
10776
|
gameCode: n,
|
|
10751
10777
|
// 遊戲代碼
|
|
10752
10778
|
gameUid: s,
|
|
@@ -10790,7 +10816,7 @@ const Ir = [], Gm = () => [
|
|
|
10790
10816
|
gameNameTw: h
|
|
10791
10817
|
// 繁體中文名稱
|
|
10792
10818
|
} = e, D = e?.[`gameName${a}`], H = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.webp`, k = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.gif`, S = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.webp`, A = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.gif`, P = M(
|
|
10793
|
-
({ long: R = !1, preferAnimated: L = !1 } = {}) =>
|
|
10819
|
+
({ long: R = !1, preferAnimated: L = !1 } = {}) => Dl({
|
|
10794
10820
|
lng: t,
|
|
10795
10821
|
gamePlatform: i,
|
|
10796
10822
|
gameCode: n,
|
|
@@ -10828,7 +10854,7 @@ const Ir = [], Gm = () => [
|
|
|
10828
10854
|
isInvalidBet: _,
|
|
10829
10855
|
haveJackpot: c
|
|
10830
10856
|
};
|
|
10831
|
-
},
|
|
10857
|
+
}, Hm = (e, t = !1) => cl([
|
|
10832
10858
|
"EVO",
|
|
10833
10859
|
"IMSPRIBE",
|
|
10834
10860
|
"SABA",
|
|
@@ -10839,7 +10865,7 @@ const Ir = [], Gm = () => [
|
|
|
10839
10865
|
"HACK",
|
|
10840
10866
|
"NAGA",
|
|
10841
10867
|
"RSG"
|
|
10842
|
-
], e) && t ? `${e}_dark` : e,
|
|
10868
|
+
], e) && t ? `${e}_dark` : e, q0 = ({ platformData: e, darkMode: t } = {}) => {
|
|
10843
10869
|
const {
|
|
10844
10870
|
SubPlatformEnum: a,
|
|
10845
10871
|
// 子平台枚舉
|
|
@@ -10861,7 +10887,7 @@ const Ir = [], Gm = () => [
|
|
|
10861
10887
|
// 臨時維護開始時間
|
|
10862
10888
|
temp_maintenance_end_time: o
|
|
10863
10889
|
// 臨時維護結束時間
|
|
10864
|
-
} = e || {}, m = `${
|
|
10890
|
+
} = e || {}, m = `${Ye}/${_r}/${Hm(n, t)}.png`;
|
|
10865
10891
|
return {
|
|
10866
10892
|
subPlatformEnum: a,
|
|
10867
10893
|
platformEnum: n,
|
|
@@ -10875,19 +10901,19 @@ const Ir = [], Gm = () => [
|
|
|
10875
10901
|
tempMaintenanceEndTime: o,
|
|
10876
10902
|
platformImageUrl: m
|
|
10877
10903
|
};
|
|
10878
|
-
},
|
|
10904
|
+
}, Wm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), ar = (e = []) => !ta(e) || Fe(e) ? [] : Se(e, "platform"), Im = (e = []) => !ta(e) || Fe(e) ? [] : Se(e, "gameTypeName"), zm = (e = []) => !ta(e) || Fe(e) ? [] : Se(e, "game_subtype"), Vm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), Jm = (e = [], t = []) => !ta(e) || Fe(e) ? {} : !ta(t) || Fe(t) ? {} : e.reduce((a, n) => {
|
|
10879
10905
|
const s = t.map((u) => u.game_subtype);
|
|
10880
10906
|
return s.forEach((u) => {
|
|
10881
10907
|
a[u] = a[u] || [];
|
|
10882
10908
|
}), s.includes(n.game_subtype) && a[n.game_subtype].push(n), a;
|
|
10883
|
-
}, {}),
|
|
10909
|
+
}, {}), Zm = ({
|
|
10884
10910
|
gameTypes: e = [],
|
|
10885
10911
|
platforms: t = [],
|
|
10886
10912
|
gameList: a = {},
|
|
10887
10913
|
allGameTypes: n = [],
|
|
10888
10914
|
allPlatforms: s = []
|
|
10889
10915
|
}) => !ta(e) || !ta(t) ? {} : Fe(a) ? {} : e.reduce((u, b) => {
|
|
10890
|
-
const d =
|
|
10916
|
+
const d = Gl({
|
|
10891
10917
|
gameTypeName: b,
|
|
10892
10918
|
platforms: t,
|
|
10893
10919
|
gameList: a,
|
|
@@ -10895,17 +10921,17 @@ const Ir = [], Gm = () => [
|
|
|
10895
10921
|
allPlatforms: s
|
|
10896
10922
|
});
|
|
10897
10923
|
return Fe(d) || (u[b] = d), u;
|
|
10898
|
-
}, {}),
|
|
10924
|
+
}, {}), $0 = ({
|
|
10899
10925
|
types: e = [],
|
|
10900
10926
|
platforms: t = [],
|
|
10901
10927
|
allGameType: a = [],
|
|
10902
10928
|
allGamePlatform: n = [],
|
|
10903
10929
|
allGameList: s = {}
|
|
10904
10930
|
} = {}) => !Array.isArray(e) || !Array.isArray(t) ? {} : e.reduce((u, b) => {
|
|
10905
|
-
const d =
|
|
10931
|
+
const d = br(a, b);
|
|
10906
10932
|
if (!d) return u;
|
|
10907
10933
|
const l = s[d] || [], i = t.reduce((r, o) => {
|
|
10908
|
-
const m =
|
|
10934
|
+
const m = Ml({
|
|
10909
10935
|
platformName: o,
|
|
10910
10936
|
gamesOfType: l,
|
|
10911
10937
|
allPlatforms: n
|
|
@@ -10913,9 +10939,9 @@ const Ir = [], Gm = () => [
|
|
|
10913
10939
|
return Fe(m) ? r : { ...r, [o]: m };
|
|
10914
10940
|
}, {});
|
|
10915
10941
|
return Fe(i) || (u[b] = i), u;
|
|
10916
|
-
}, {}),
|
|
10942
|
+
}, {}), Km = (e = {}) => !ri(e) || Fe(e) ? {} : Object.values(e).reduce((a, n) => (Object.entries(n).forEach(([s, u]) => {
|
|
10917
10943
|
a[s] ? a[s] = [...a[s], ...u] : a[s] = u;
|
|
10918
|
-
}), a), {}),
|
|
10944
|
+
}), a), {}), qm = (e = {}) => {
|
|
10919
10945
|
if (!ri(e) || Fe(e)) return {};
|
|
10920
10946
|
const t = {};
|
|
10921
10947
|
for (const [a, n] of Object.entries(e)) {
|
|
@@ -10926,7 +10952,7 @@ const Ir = [], Gm = () => [
|
|
|
10926
10952
|
}
|
|
10927
10953
|
}
|
|
10928
10954
|
return t;
|
|
10929
|
-
},
|
|
10955
|
+
}, $m = ({
|
|
10930
10956
|
allGameList: e = {},
|
|
10931
10957
|
allGamePlatform: t = [],
|
|
10932
10958
|
allGameType: a = [],
|
|
@@ -10939,21 +10965,21 @@ const Ir = [], Gm = () => [
|
|
|
10939
10965
|
highlightGames: i = [],
|
|
10940
10966
|
originPlatform: r = []
|
|
10941
10967
|
}) => {
|
|
10942
|
-
const o =
|
|
10968
|
+
const o = Wm(e), m = ar(t), g = Im(a), p = zm(n), f = ar(r), y = Vm(d), _ = Zm({
|
|
10943
10969
|
gameTypes: g,
|
|
10944
10970
|
platforms: m,
|
|
10945
10971
|
gameList: e,
|
|
10946
10972
|
allGameTypes: a,
|
|
10947
10973
|
allPlatforms: t
|
|
10948
10974
|
}), c = Se(t, (D) => {
|
|
10949
|
-
const H = `${
|
|
10975
|
+
const H = `${Ye}/${_r}/${D.platformEnum}.png`;
|
|
10950
10976
|
return {
|
|
10951
10977
|
...D,
|
|
10952
10978
|
platformImageUrl: H
|
|
10953
10979
|
};
|
|
10954
|
-
}), U =
|
|
10980
|
+
}), U = Jm(o, n), C = Km(_), v = qm(C), T = mr(_).reduce(
|
|
10955
10981
|
(D, [H, k]) => {
|
|
10956
|
-
const S = li(
|
|
10982
|
+
const S = li(fl(k));
|
|
10957
10983
|
return D[H] = S, D;
|
|
10958
10984
|
},
|
|
10959
10985
|
{}
|
|
@@ -10994,12 +11020,12 @@ const Ir = [], Gm = () => [
|
|
|
10994
11020
|
favorite: y
|
|
10995
11021
|
}
|
|
10996
11022
|
};
|
|
10997
|
-
},
|
|
11023
|
+
}, j0 = (e = []) => !ta(e) || Fe(e) ? [] : li(e, (t) => Fe(t.SubPlatformEnum) ? t : t.SubPlatformEnum.map((a) => ({
|
|
10998
11024
|
...t,
|
|
10999
11025
|
...a,
|
|
11000
11026
|
platform: a.SubPlatformEnum,
|
|
11001
11027
|
platformEnum: a.SubPlatformEnum
|
|
11002
|
-
}))),
|
|
11028
|
+
}))), jm = {
|
|
11003
11029
|
platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
|
|
11004
11030
|
type: { main: [], sub: [], originMain: [], originSub: [] },
|
|
11005
11031
|
gameList: {
|
|
@@ -11019,7 +11045,7 @@ const Ir = [], Gm = () => [
|
|
|
11019
11045
|
byGameType: {}
|
|
11020
11046
|
},
|
|
11021
11047
|
user: { favorite: [] }
|
|
11022
|
-
},
|
|
11048
|
+
}, Qm = ({ enabled: e = !0 } = {}) => {
|
|
11023
11049
|
const { getToken: t } = re(), { userFavoriteGameApi: a, userGameListApi: n } = oe(), { data: s, isLoading: u, error: b, refetch: d } = Y({
|
|
11024
11050
|
queryKey: ["gamesInfo"],
|
|
11025
11051
|
queryFn: async () => {
|
|
@@ -11029,7 +11055,7 @@ const Ir = [], Gm = () => [
|
|
|
11029
11055
|
} catch (r) {
|
|
11030
11056
|
console.warn("Failed to fetch favorite games:", r);
|
|
11031
11057
|
}
|
|
11032
|
-
return
|
|
11058
|
+
return $m({
|
|
11033
11059
|
allGameList: i.gameTypeGroup || window.gameTypeGroup || {},
|
|
11034
11060
|
allGamePlatform: i.platforms || window.platforms || [],
|
|
11035
11061
|
allGameType: i.gameType || window.gameType || [],
|
|
@@ -11052,12 +11078,12 @@ const Ir = [], Gm = () => [
|
|
|
11052
11078
|
refetchOnWindowFocus: !1
|
|
11053
11079
|
});
|
|
11054
11080
|
return {
|
|
11055
|
-
gamesInfo: s ||
|
|
11081
|
+
gamesInfo: s || jm,
|
|
11056
11082
|
isLoading: u,
|
|
11057
11083
|
error: b,
|
|
11058
11084
|
refetch: d
|
|
11059
11085
|
};
|
|
11060
|
-
},
|
|
11086
|
+
}, Ym = (e = !1) => {
|
|
11061
11087
|
if (!e && window.gameTypeGroup) {
|
|
11062
11088
|
console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
|
|
11063
11089
|
return;
|
|
@@ -37584,18 +37610,18 @@ const Ir = [], Gm = () => [
|
|
|
37584
37610
|
is_invalid_bet: 0
|
|
37585
37611
|
}
|
|
37586
37612
|
});
|
|
37587
|
-
},
|
|
37613
|
+
}, Xm = ({
|
|
37588
37614
|
children: e,
|
|
37589
37615
|
autoFetch: t = !1,
|
|
37590
37616
|
mockData: a = !1
|
|
37591
37617
|
}) => {
|
|
37592
37618
|
ce(() => {
|
|
37593
|
-
a &&
|
|
37619
|
+
a && Ym(!0);
|
|
37594
37620
|
}, [a]);
|
|
37595
|
-
const n =
|
|
37596
|
-
return /* @__PURE__ */ te.jsx(
|
|
37621
|
+
const n = Qm({ enabled: t });
|
|
37622
|
+
return /* @__PURE__ */ te.jsx(yr.Provider, { value: n, children: e });
|
|
37597
37623
|
};
|
|
37598
|
-
function
|
|
37624
|
+
function Q0({
|
|
37599
37625
|
children: e,
|
|
37600
37626
|
autoFetchGamesInfo: t = !1,
|
|
37601
37627
|
useMockData: a = !1,
|
|
@@ -37605,13 +37631,13 @@ function $0({
|
|
|
37605
37631
|
}) {
|
|
37606
37632
|
ce(() => {
|
|
37607
37633
|
if (s)
|
|
37608
|
-
return
|
|
37634
|
+
return Sl();
|
|
37609
37635
|
}, [s]);
|
|
37610
37636
|
const b = ka(() => Ki(u), [u]), d = ka(
|
|
37611
37637
|
() => Ki({ ...u, formData: !0 }),
|
|
37612
37638
|
[u]
|
|
37613
37639
|
), l = ka(
|
|
37614
|
-
() => new
|
|
37640
|
+
() => new ml({
|
|
37615
37641
|
defaultOptions: {
|
|
37616
37642
|
queries: {
|
|
37617
37643
|
refetchOnWindowFocus: !1,
|
|
@@ -37621,8 +37647,8 @@ function $0({
|
|
|
37621
37647
|
}),
|
|
37622
37648
|
[]
|
|
37623
37649
|
), i = n || l;
|
|
37624
|
-
return /* @__PURE__ */ te.jsx(
|
|
37625
|
-
|
|
37650
|
+
return /* @__PURE__ */ te.jsx(ul, { client: i, children: /* @__PURE__ */ te.jsx(pr.Provider, { value: { client: b, formDataClient: d, ...u }, children: /* @__PURE__ */ te.jsx(vl, { children: /* @__PURE__ */ te.jsx(
|
|
37651
|
+
Xm,
|
|
37626
37652
|
{
|
|
37627
37653
|
autoFetch: t,
|
|
37628
37654
|
mockData: a,
|
|
@@ -37630,14 +37656,14 @@ function $0({
|
|
|
37630
37656
|
}
|
|
37631
37657
|
) }) }) });
|
|
37632
37658
|
}
|
|
37633
|
-
const
|
|
37659
|
+
const Y0 = () => {
|
|
37634
37660
|
const e = ya(), {
|
|
37635
37661
|
mutate: t,
|
|
37636
37662
|
isPending: a,
|
|
37637
37663
|
isSuccess: n,
|
|
37638
37664
|
isError: s,
|
|
37639
37665
|
error: u
|
|
37640
|
-
} =
|
|
37666
|
+
} = Ds({
|
|
37641
37667
|
options: {
|
|
37642
37668
|
onSuccess: () => {
|
|
37643
37669
|
e.invalidateQueries({
|
|
@@ -37651,14 +37677,14 @@ const j0 = () => {
|
|
|
37651
37677
|
const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), i = d.get("bind_id");
|
|
37652
37678
|
l && i && (b.current = !0, l === "line" ? t({ bindType: l, bindId: i }) : console.warn(`Unsupported bind type: ${l}`));
|
|
37653
37679
|
}, [t]), null;
|
|
37654
|
-
},
|
|
37680
|
+
}, eu = { BASE_URL: "/", DEV: !1, MODE: "lib", PROD: !0, SSR: !1, VITE_API_KEY: "6051|IptsseoopjPEtVIi5ITv34Q2ZdVOQelVZ97Vi38Ybcdee7ca", VITE_API_URL: "https://snd.5285.com.tw/api" }, au = typeof import.meta < "u" && eu && !1, tr = "TEST_REQ", X0 = ({
|
|
37655
37681
|
simulate: e,
|
|
37656
37682
|
memberUid: t,
|
|
37657
37683
|
currentGamePlatform: a = null,
|
|
37658
|
-
enabled: n =
|
|
37684
|
+
enabled: n = au,
|
|
37659
37685
|
backendMessages: s = null
|
|
37660
37686
|
}) => {
|
|
37661
|
-
const [u, b] =
|
|
37687
|
+
const [u, b] = Qe(!1), [d, l] = Qe(!1), [i, r] = Qe(""), [o, m] = Qe(""), [g, p] = Qe("toast"), { store: f } = re() || {}, y = ka(
|
|
37662
37688
|
() => s ? Object.keys(s) : [],
|
|
37663
37689
|
[s]
|
|
37664
37690
|
), _ = ka(() => {
|
|
@@ -37671,7 +37697,7 @@ const j0 = () => {
|
|
|
37671
37697
|
const c = (h) => {
|
|
37672
37698
|
if (g === "socket") {
|
|
37673
37699
|
e({
|
|
37674
|
-
type:
|
|
37700
|
+
type: ye.ERROR,
|
|
37675
37701
|
member_info_uid: t ?? null,
|
|
37676
37702
|
data: h
|
|
37677
37703
|
});
|
|
@@ -37767,7 +37793,7 @@ const j0 = () => {
|
|
|
37767
37793
|
v(
|
|
37768
37794
|
"上分動畫(deposit)",
|
|
37769
37795
|
{
|
|
37770
|
-
type:
|
|
37796
|
+
type: ye.DEPOSIT,
|
|
37771
37797
|
member_info_uid: U,
|
|
37772
37798
|
amount: 888,
|
|
37773
37799
|
data: { amount: 888, exchange: {} }
|
|
@@ -37777,27 +37803,27 @@ const j0 = () => {
|
|
|
37777
37803
|
v(
|
|
37778
37804
|
"game_maintain 命中當前廠商",
|
|
37779
37805
|
{
|
|
37780
|
-
type:
|
|
37806
|
+
type: ye.GAME_MAINTAIN,
|
|
37781
37807
|
data: [{ platform: a, minutes: 1 }]
|
|
37782
37808
|
},
|
|
37783
37809
|
"#ef6c00"
|
|
37784
37810
|
),
|
|
37785
37811
|
v("game_maintain 其他廠商", {
|
|
37786
|
-
type:
|
|
37812
|
+
type: ye.GAME_MAINTAIN,
|
|
37787
37813
|
data: [{ platform: "__OTHER__", minutes: 1 }]
|
|
37788
37814
|
}),
|
|
37789
37815
|
v(
|
|
37790
37816
|
"全站維護 maintain_notice",
|
|
37791
|
-
{ type:
|
|
37817
|
+
{ type: ye.MAINTAIN_NOTICE, data: "【測試】全站維護時間" },
|
|
37792
37818
|
"#c62828"
|
|
37793
37819
|
),
|
|
37794
37820
|
v("會員維護 maintain_notice_member", {
|
|
37795
|
-
type:
|
|
37821
|
+
type: ye.MAINTAIN_NOTICE_MEMBER,
|
|
37796
37822
|
member_info_uid: U,
|
|
37797
37823
|
data: { msg: "【測試】會員層級維護", game_id: [] }
|
|
37798
37824
|
}),
|
|
37799
37825
|
v("轉點失敗 transCode", {
|
|
37800
|
-
type:
|
|
37826
|
+
type: ye.TRANS_CODE,
|
|
37801
37827
|
member_info_uid: U,
|
|
37802
37828
|
data: "fails",
|
|
37803
37829
|
memo: "【測試】轉點失敗訊息"
|
|
@@ -37805,19 +37831,19 @@ const j0 = () => {
|
|
|
37805
37831
|
v(
|
|
37806
37832
|
"轉入處理中 pending",
|
|
37807
37833
|
{
|
|
37808
|
-
type:
|
|
37834
|
+
type: ye.TRANSFER_IN_GAME,
|
|
37809
37835
|
member_info_uid: U,
|
|
37810
|
-
data: { request_id:
|
|
37836
|
+
data: { request_id: tr, status: "pending" }
|
|
37811
37837
|
},
|
|
37812
37838
|
"#f9a825"
|
|
37813
37839
|
),
|
|
37814
37840
|
v(
|
|
37815
37841
|
"轉入完成 success",
|
|
37816
37842
|
{
|
|
37817
|
-
type:
|
|
37843
|
+
type: ye.TRANSFER_IN_GAME,
|
|
37818
37844
|
member_info_uid: U,
|
|
37819
37845
|
data: {
|
|
37820
|
-
request_id:
|
|
37846
|
+
request_id: tr,
|
|
37821
37847
|
status: "success",
|
|
37822
37848
|
amount: 888,
|
|
37823
37849
|
platform: "TEST"
|
|
@@ -37828,7 +37854,7 @@ const j0 = () => {
|
|
|
37828
37854
|
v(
|
|
37829
37855
|
"Socket 錯誤訊息 error",
|
|
37830
37856
|
{
|
|
37831
|
-
type:
|
|
37857
|
+
type: ye.ERROR,
|
|
37832
37858
|
member_info_uid: U,
|
|
37833
37859
|
data: "【測試】Socket 錯誤訊息"
|
|
37834
37860
|
},
|
|
@@ -38004,9 +38030,9 @@ const j0 = () => {
|
|
|
38004
38030
|
]
|
|
38005
38031
|
}
|
|
38006
38032
|
);
|
|
38007
|
-
},
|
|
38033
|
+
}, ep = ({ onFunction: e = () => {
|
|
38008
38034
|
}, buttonProps: t = {} } = {}) => {
|
|
38009
|
-
const { lineConfig: a } = re(), n = se(!1), s = j(a, "liffId", ""), u = new URLSearchParams(window.location.search), b = u.get("line_login"), d = u.get("trans_code"), l = u.get("line_id"), i = u.get("line_name"), r = u.get("invite_code"), { mutate: o, isPending: m } =
|
|
38035
|
+
const { lineConfig: a } = re(), n = se(!1), s = j(a, "liffId", ""), u = new URLSearchParams(window.location.search), b = u.get("line_login"), d = u.get("trans_code"), l = u.get("line_id"), i = u.get("line_name"), r = u.get("invite_code"), { mutate: o, isPending: m } = Sr({
|
|
38010
38036
|
options: {
|
|
38011
38037
|
onSuccess: (p) => {
|
|
38012
38038
|
e(p);
|
|
@@ -38044,20 +38070,20 @@ const j0 = () => {
|
|
|
38044
38070
|
}
|
|
38045
38071
|
) : null;
|
|
38046
38072
|
};
|
|
38047
|
-
var
|
|
38073
|
+
var tu = Object.defineProperty, ii = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable, ir = (e, t, a) => t in e ? tu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, xi = (e, t) => {
|
|
38048
38074
|
for (var a in t || (t = {}))
|
|
38049
|
-
|
|
38075
|
+
Kr.call(t, a) && ir(e, a, t[a]);
|
|
38050
38076
|
if (ii)
|
|
38051
38077
|
for (var a of ii(t))
|
|
38052
|
-
|
|
38078
|
+
qr.call(t, a) && ir(e, a, t[a]);
|
|
38053
38079
|
return e;
|
|
38054
38080
|
}, Si = (e, t) => {
|
|
38055
38081
|
var a = {};
|
|
38056
38082
|
for (var n in e)
|
|
38057
|
-
|
|
38083
|
+
Kr.call(e, n) && t.indexOf(n) < 0 && (a[n] = e[n]);
|
|
38058
38084
|
if (e != null && ii)
|
|
38059
38085
|
for (var n of ii(e))
|
|
38060
|
-
t.indexOf(n) < 0 &&
|
|
38086
|
+
t.indexOf(n) < 0 && qr.call(e, n) && (a[n] = e[n]);
|
|
38061
38087
|
return a;
|
|
38062
38088
|
};
|
|
38063
38089
|
var Ma;
|
|
@@ -38596,13 +38622,13 @@ var Ma;
|
|
|
38596
38622
|
})(e.QrSegment || (e.QrSegment = {}));
|
|
38597
38623
|
})(Ma || (Ma = {}));
|
|
38598
38624
|
var Za = Ma;
|
|
38599
|
-
var
|
|
38625
|
+
var iu = {
|
|
38600
38626
|
L: Za.QrCode.Ecc.LOW,
|
|
38601
38627
|
M: Za.QrCode.Ecc.MEDIUM,
|
|
38602
38628
|
Q: Za.QrCode.Ecc.QUARTILE,
|
|
38603
38629
|
H: Za.QrCode.Ecc.HIGH
|
|
38604
|
-
},
|
|
38605
|
-
function
|
|
38630
|
+
}, $r = 128, jr = "L", Qr = "#FFFFFF", Yr = "#000000", Xr = !1, el = 1, nu = 4, ru = 0, lu = 0.1;
|
|
38631
|
+
function al(e, t = 0) {
|
|
38606
38632
|
const a = [];
|
|
38607
38633
|
return e.forEach(function(n, s) {
|
|
38608
38634
|
let u = null;
|
|
@@ -38625,13 +38651,13 @@ function Xr(e, t = 0) {
|
|
|
38625
38651
|
});
|
|
38626
38652
|
}), a.join("");
|
|
38627
38653
|
}
|
|
38628
|
-
function
|
|
38654
|
+
function tl(e, t) {
|
|
38629
38655
|
return e.slice().map((a, n) => n < t.y || n >= t.y + t.h ? a : a.map((s, u) => u < t.x || u >= t.x + t.w ? s : !1));
|
|
38630
38656
|
}
|
|
38631
|
-
function
|
|
38657
|
+
function ou(e, t, a, n) {
|
|
38632
38658
|
if (n == null)
|
|
38633
38659
|
return null;
|
|
38634
|
-
const s = e.length + a * 2, u = Math.floor(t *
|
|
38660
|
+
const s = e.length + a * 2, u = Math.floor(t * lu), b = s / t, d = (n.width || u) * b, l = (n.height || u) * b, i = n.x == null ? e.length / 2 - d / 2 : n.x * b, r = n.y == null ? e.length / 2 - l / 2 : n.y * b, o = n.opacity == null ? 1 : n.opacity;
|
|
38635
38661
|
let m = null;
|
|
38636
38662
|
if (n.excavate) {
|
|
38637
38663
|
let p = Math.floor(i), f = Math.floor(r), y = Math.ceil(d + i - p), _ = Math.ceil(l + r - f);
|
|
@@ -38640,10 +38666,10 @@ function ru(e, t, a, n) {
|
|
|
38640
38666
|
const g = n.crossOrigin;
|
|
38641
38667
|
return { x: i, y: r, h: l, w: d, excavation: m, opacity: o, crossOrigin: g };
|
|
38642
38668
|
}
|
|
38643
|
-
function
|
|
38644
|
-
return t != null ? Math.max(Math.floor(t), 0) : e ?
|
|
38669
|
+
function su(e, t) {
|
|
38670
|
+
return t != null ? Math.max(Math.floor(t), 0) : e ? nu : ru;
|
|
38645
38671
|
}
|
|
38646
|
-
function
|
|
38672
|
+
function il({
|
|
38647
38673
|
value: e,
|
|
38648
38674
|
level: t,
|
|
38649
38675
|
minVersion: a,
|
|
@@ -38657,7 +38683,7 @@ function al({
|
|
|
38657
38683
|
const p = (Array.isArray(e) ? e : [e]).reduce((f, y) => (f.push(...Za.QrSegment.makeSegments(y)), f), []);
|
|
38658
38684
|
return Za.QrCode.encodeSegments(
|
|
38659
38685
|
p,
|
|
38660
|
-
|
|
38686
|
+
iu[t],
|
|
38661
38687
|
a,
|
|
38662
38688
|
void 0,
|
|
38663
38689
|
void 0,
|
|
@@ -38666,7 +38692,7 @@ function al({
|
|
|
38666
38692
|
}, [e, t, a, d]);
|
|
38667
38693
|
const { cells: i, margin: r, numCells: o, calculatedImageSettings: m } = ve.useMemo(() => {
|
|
38668
38694
|
let g = l.getModules();
|
|
38669
|
-
const p =
|
|
38695
|
+
const p = su(n, s), f = g.length + p * 2, y = ou(
|
|
38670
38696
|
g,
|
|
38671
38697
|
b,
|
|
38672
38698
|
p,
|
|
@@ -38687,23 +38713,23 @@ function al({
|
|
|
38687
38713
|
calculatedImageSettings: m
|
|
38688
38714
|
};
|
|
38689
38715
|
}
|
|
38690
|
-
var
|
|
38716
|
+
var mu = (function() {
|
|
38691
38717
|
try {
|
|
38692
38718
|
new Path2D().addPath(new Path2D());
|
|
38693
38719
|
} catch {
|
|
38694
38720
|
return !1;
|
|
38695
38721
|
}
|
|
38696
38722
|
return !0;
|
|
38697
|
-
})(),
|
|
38723
|
+
})(), uu = ve.forwardRef(
|
|
38698
38724
|
function(t, a) {
|
|
38699
38725
|
const n = t, {
|
|
38700
38726
|
value: s,
|
|
38701
|
-
size: u =
|
|
38702
|
-
level: b =
|
|
38703
|
-
bgColor: d =
|
|
38704
|
-
fgColor: l =
|
|
38705
|
-
includeMargin: i =
|
|
38706
|
-
minVersion: r =
|
|
38727
|
+
size: u = $r,
|
|
38728
|
+
level: b = jr,
|
|
38729
|
+
bgColor: d = Qr,
|
|
38730
|
+
fgColor: l = Yr,
|
|
38731
|
+
includeMargin: i = Xr,
|
|
38732
|
+
minVersion: r = el,
|
|
38707
38733
|
boostLevel: o,
|
|
38708
38734
|
marginSize: m,
|
|
38709
38735
|
imageSettings: g
|
|
@@ -38723,7 +38749,7 @@ var ou = (function() {
|
|
|
38723
38749
|
U.current = R, typeof a == "function" ? a(R) : a && (a.current = R);
|
|
38724
38750
|
},
|
|
38725
38751
|
[a]
|
|
38726
|
-
), [T, h] = ve.useState(!1), { margin: D, cells: H, numCells: k, calculatedImageSettings: S } =
|
|
38752
|
+
), [T, h] = ve.useState(!1), { margin: D, cells: H, numCells: k, calculatedImageSettings: S } = il({
|
|
38727
38753
|
value: s,
|
|
38728
38754
|
level: b,
|
|
38729
38755
|
minVersion: r,
|
|
@@ -38740,14 +38766,14 @@ var ou = (function() {
|
|
|
38740
38766
|
return;
|
|
38741
38767
|
let G = H;
|
|
38742
38768
|
const I = C.current, W = S != null && I !== null && I.complete && I.naturalHeight !== 0 && I.naturalWidth !== 0;
|
|
38743
|
-
W && S.excavation != null && (G =
|
|
38769
|
+
W && S.excavation != null && (G = tl(
|
|
38744
38770
|
H,
|
|
38745
38771
|
S.excavation
|
|
38746
38772
|
));
|
|
38747
38773
|
const O = window.devicePixelRatio || 1;
|
|
38748
38774
|
R.height = R.width = u * O;
|
|
38749
38775
|
const z = u / k * O;
|
|
38750
|
-
L.scale(z, z), L.fillStyle = d, L.fillRect(0, 0, k, k), L.fillStyle = l,
|
|
38776
|
+
L.scale(z, z), L.fillStyle = d, L.fillRect(0, 0, k, k), L.fillStyle = l, mu ? L.fill(new Path2D(al(G, D))) : H.forEach(function(N, E) {
|
|
38751
38777
|
N.forEach(function(F, w) {
|
|
38752
38778
|
F && L.fillRect(w + D, E + D, 1, 1);
|
|
38753
38779
|
});
|
|
@@ -38788,17 +38814,17 @@ var ou = (function() {
|
|
|
38788
38814
|
), P);
|
|
38789
38815
|
}
|
|
38790
38816
|
);
|
|
38791
|
-
|
|
38792
|
-
var
|
|
38817
|
+
uu.displayName = "QRCodeCanvas";
|
|
38818
|
+
var nl = ve.forwardRef(
|
|
38793
38819
|
function(t, a) {
|
|
38794
38820
|
const n = t, {
|
|
38795
38821
|
value: s,
|
|
38796
|
-
size: u =
|
|
38797
|
-
level: b =
|
|
38798
|
-
bgColor: d =
|
|
38799
|
-
fgColor: l =
|
|
38800
|
-
includeMargin: i =
|
|
38801
|
-
minVersion: r =
|
|
38822
|
+
size: u = $r,
|
|
38823
|
+
level: b = jr,
|
|
38824
|
+
bgColor: d = Qr,
|
|
38825
|
+
fgColor: l = Yr,
|
|
38826
|
+
includeMargin: i = Xr,
|
|
38827
|
+
minVersion: r = el,
|
|
38802
38828
|
boostLevel: o,
|
|
38803
38829
|
title: m,
|
|
38804
38830
|
marginSize: g,
|
|
@@ -38815,7 +38841,7 @@ var tl = ve.forwardRef(
|
|
|
38815
38841
|
"title",
|
|
38816
38842
|
"marginSize",
|
|
38817
38843
|
"imageSettings"
|
|
38818
|
-
]), { margin: y, cells: _, numCells: c, calculatedImageSettings: U } =
|
|
38844
|
+
]), { margin: y, cells: _, numCells: c, calculatedImageSettings: U } = il({
|
|
38819
38845
|
value: s,
|
|
38820
38846
|
level: b,
|
|
38821
38847
|
minVersion: r,
|
|
@@ -38826,7 +38852,7 @@ var tl = ve.forwardRef(
|
|
|
38826
38852
|
size: u
|
|
38827
38853
|
});
|
|
38828
38854
|
let C = _, v = null;
|
|
38829
|
-
p != null && U != null && (U.excavation != null && (C =
|
|
38855
|
+
p != null && U != null && (U.excavation != null && (C = tl(
|
|
38830
38856
|
_,
|
|
38831
38857
|
U.excavation
|
|
38832
38858
|
)), v = /* @__PURE__ */ ve.createElement(
|
|
@@ -38842,7 +38868,7 @@ var tl = ve.forwardRef(
|
|
|
38842
38868
|
crossOrigin: U.crossOrigin
|
|
38843
38869
|
}
|
|
38844
38870
|
));
|
|
38845
|
-
const T =
|
|
38871
|
+
const T = al(C, y);
|
|
38846
38872
|
return /* @__PURE__ */ ve.createElement(
|
|
38847
38873
|
"svg",
|
|
38848
38874
|
xi({
|
|
@@ -38866,8 +38892,8 @@ var tl = ve.forwardRef(
|
|
|
38866
38892
|
);
|
|
38867
38893
|
}
|
|
38868
38894
|
);
|
|
38869
|
-
|
|
38870
|
-
const
|
|
38895
|
+
nl.displayName = "QRCodeSVG";
|
|
38896
|
+
const pu = {
|
|
38871
38897
|
position: "fixed",
|
|
38872
38898
|
top: 0,
|
|
38873
38899
|
left: 0,
|
|
@@ -38880,7 +38906,7 @@ const mu = {
|
|
|
38880
38906
|
justifyContent: "center",
|
|
38881
38907
|
zIndex: 1e4,
|
|
38882
38908
|
gap: "2em"
|
|
38883
|
-
},
|
|
38909
|
+
}, gu = {
|
|
38884
38910
|
position: "absolute",
|
|
38885
38911
|
top: "20px",
|
|
38886
38912
|
right: "20px",
|
|
@@ -38890,7 +38916,7 @@ const mu = {
|
|
|
38890
38916
|
padding: "10px",
|
|
38891
38917
|
lineHeight: "1",
|
|
38892
38918
|
zIndex: 10001
|
|
38893
|
-
},
|
|
38919
|
+
}, nr = {
|
|
38894
38920
|
zh_TW: {
|
|
38895
38921
|
title: "請使用 LINE 掃描 QR Code 登入",
|
|
38896
38922
|
expired: "QR Code 已過期"
|
|
@@ -38911,8 +38937,8 @@ const mu = {
|
|
|
38911
38937
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
38912
38938
|
expired: "Kode QR telah kedaluwarsa"
|
|
38913
38939
|
}
|
|
38914
|
-
},
|
|
38915
|
-
const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] =
|
|
38940
|
+
}, ip = ({ forcedShow: e = !1, isVisible: t, setIsVisible: a } = {}) => {
|
|
38941
|
+
const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] = Qe(300), [l, i] = Qe(!1), r = se(null), o = j(u, "liffId", ""), m = Ve(n), g = s?.(), f = new URLSearchParams(window.location.search).get("mac") || Ci.get("machine_mac_address") || "", { data: y, isFetching: _ } = Es({
|
|
38916
38942
|
formData: {
|
|
38917
38943
|
mac_address: f
|
|
38918
38944
|
},
|
|
@@ -38932,12 +38958,12 @@ const mu = {
|
|
|
38932
38958
|
return `${T}:${h < 10 ? "0" : ""}${h}`;
|
|
38933
38959
|
};
|
|
38934
38960
|
if (!e && (!f || g)) return null;
|
|
38935
|
-
const C =
|
|
38936
|
-
return t && /* @__PURE__ */ te.jsxs("div", { style:
|
|
38961
|
+
const C = nr[m] || nr.en_US;
|
|
38962
|
+
return t && /* @__PURE__ */ te.jsxs("div", { style: pu, children: [
|
|
38937
38963
|
/* @__PURE__ */ te.jsx(
|
|
38938
38964
|
"div",
|
|
38939
38965
|
{
|
|
38940
|
-
style:
|
|
38966
|
+
style: gu,
|
|
38941
38967
|
onClick: () => a(!1),
|
|
38942
38968
|
role: "button",
|
|
38943
38969
|
"aria-label": "Close",
|
|
@@ -38960,7 +38986,7 @@ const mu = {
|
|
|
38960
38986
|
boxSizing: "border-box",
|
|
38961
38987
|
color: "black"
|
|
38962
38988
|
},
|
|
38963
|
-
children: _ ? "Loading..." : /* @__PURE__ */ te.jsx(
|
|
38989
|
+
children: _ ? "Loading..." : /* @__PURE__ */ te.jsx(nl, { width: "100%", height: "100%", value: c })
|
|
38964
38990
|
}
|
|
38965
38991
|
),
|
|
38966
38992
|
!_ && /* @__PURE__ */ te.jsx(
|
|
@@ -38976,14 +39002,14 @@ const mu = {
|
|
|
38976
39002
|
)
|
|
38977
39003
|
] })
|
|
38978
39004
|
] });
|
|
38979
|
-
},
|
|
39005
|
+
}, rr = {
|
|
38980
39006
|
siteName: /\{siteName\}/g,
|
|
38981
39007
|
siteUrl: /\{siteUrl\}/g
|
|
38982
39008
|
}, bi = (e, t = {}) => {
|
|
38983
39009
|
if (typeof e != "string") return e;
|
|
38984
39010
|
const { siteName: a = "", siteUrl: n = "" } = typeof t == "string" ? { siteName: t } : t;
|
|
38985
|
-
return e.replace(
|
|
38986
|
-
},
|
|
39011
|
+
return e.replace(rr.siteName, a).replace(rr.siteUrl, n);
|
|
39012
|
+
}, lr = {
|
|
38987
39013
|
zh_TW: {
|
|
38988
39014
|
tabs: { privacy: "隱私條款", terms: "服務條款" },
|
|
38989
39015
|
close: "關閉",
|
|
@@ -39433,7 +39459,7 @@ const mu = {
|
|
|
39433
39459
|
]
|
|
39434
39460
|
}
|
|
39435
39461
|
}
|
|
39436
|
-
},
|
|
39462
|
+
}, du = (e) => lr[e] || lr.zh_TW, or = ["privacy", "terms"], je = {
|
|
39437
39463
|
overlay: "rgba(0, 0, 0, 0.72)",
|
|
39438
39464
|
cardBg: "#1b1b22",
|
|
39439
39465
|
border: "#2c2c36",
|
|
@@ -39444,7 +39470,7 @@ const mu = {
|
|
|
39444
39470
|
accent: "#8b9cff",
|
|
39445
39471
|
tabActive: "#ffffff",
|
|
39446
39472
|
tabInactive: "#8a8a94"
|
|
39447
|
-
},
|
|
39473
|
+
}, np = ({
|
|
39448
39474
|
open: e = !1,
|
|
39449
39475
|
onOpenChange: t,
|
|
39450
39476
|
siteName: a = "",
|
|
@@ -39455,7 +39481,7 @@ const mu = {
|
|
|
39455
39481
|
overlayStyle: d = {},
|
|
39456
39482
|
contentStyle: l = {}
|
|
39457
39483
|
}) => {
|
|
39458
|
-
const i = re(), r = u ?? i?.lng, o = Ve(r), m =
|
|
39484
|
+
const i = re(), r = u ?? i?.lng, o = Ve(r), m = du(o), g = { siteName: a, siteUrl: n }, p = or.includes(s) ? s : "privacy", [f, y] = Qe(p), [_, c] = Qe(e);
|
|
39459
39485
|
if (e !== _ && (c(e), e && y(p)), ce(() => {
|
|
39460
39486
|
if (!e) return;
|
|
39461
39487
|
const v = (h) => {
|
|
@@ -39482,7 +39508,7 @@ const mu = {
|
|
|
39482
39508
|
display: "flex",
|
|
39483
39509
|
alignItems: "center",
|
|
39484
39510
|
justifyContent: "center",
|
|
39485
|
-
background:
|
|
39511
|
+
background: je.overlay,
|
|
39486
39512
|
backdropFilter: "blur(2px)",
|
|
39487
39513
|
padding: 16,
|
|
39488
39514
|
boxSizing: "border-box",
|
|
@@ -39498,10 +39524,10 @@ const mu = {
|
|
|
39498
39524
|
maxHeight: "85vh",
|
|
39499
39525
|
display: "flex",
|
|
39500
39526
|
flexDirection: "column",
|
|
39501
|
-
background:
|
|
39502
|
-
color:
|
|
39527
|
+
background: je.cardBg,
|
|
39528
|
+
color: je.body,
|
|
39503
39529
|
borderRadius: 12,
|
|
39504
|
-
border: `1px solid ${
|
|
39530
|
+
border: `1px solid ${je.border}`,
|
|
39505
39531
|
overflow: "hidden",
|
|
39506
39532
|
boxShadow: "0 16px 48px rgba(0, 0, 0, 0.6)",
|
|
39507
39533
|
...l
|
|
@@ -39513,17 +39539,17 @@ const mu = {
|
|
|
39513
39539
|
style: {
|
|
39514
39540
|
display: "flex",
|
|
39515
39541
|
alignItems: "stretch",
|
|
39516
|
-
borderBottom: `1px solid ${
|
|
39542
|
+
borderBottom: `1px solid ${je.border}`,
|
|
39517
39543
|
flexShrink: 0
|
|
39518
39544
|
},
|
|
39519
39545
|
children: [
|
|
39520
|
-
|
|
39546
|
+
or.map((v) => {
|
|
39521
39547
|
const T = f === v ? {
|
|
39522
|
-
color:
|
|
39548
|
+
color: je.tabActive,
|
|
39523
39549
|
fontWeight: 700,
|
|
39524
|
-
borderBottom: `2px solid ${
|
|
39550
|
+
borderBottom: `2px solid ${je.accent}`
|
|
39525
39551
|
} : {
|
|
39526
|
-
color:
|
|
39552
|
+
color: je.tabInactive,
|
|
39527
39553
|
fontWeight: 500,
|
|
39528
39554
|
borderBottom: "2px solid transparent"
|
|
39529
39555
|
};
|
|
@@ -39558,7 +39584,7 @@ const mu = {
|
|
|
39558
39584
|
border: "none",
|
|
39559
39585
|
cursor: "pointer",
|
|
39560
39586
|
fontSize: 20,
|
|
39561
|
-
color:
|
|
39587
|
+
color: je.muted
|
|
39562
39588
|
},
|
|
39563
39589
|
children: "✕"
|
|
39564
39590
|
}
|
|
@@ -39567,8 +39593,8 @@ const mu = {
|
|
|
39567
39593
|
}
|
|
39568
39594
|
),
|
|
39569
39595
|
/* @__PURE__ */ te.jsxs("div", { style: { padding: 20, overflowY: "auto" }, children: [
|
|
39570
|
-
/* @__PURE__ */ te.jsx("h2", { style: { margin: "0 0 4px", fontSize: 20, color:
|
|
39571
|
-
U?.updatedAt && /* @__PURE__ */ te.jsxs("p", { style: { margin: "0 0 16px", fontSize: 12, color:
|
|
39596
|
+
/* @__PURE__ */ te.jsx("h2", { style: { margin: "0 0 4px", fontSize: 20, color: je.title }, children: bi(U?.title, g) }),
|
|
39597
|
+
U?.updatedAt && /* @__PURE__ */ te.jsxs("p", { style: { margin: "0 0 16px", fontSize: 12, color: je.muted }, children: [
|
|
39572
39598
|
m.updatedLabel,
|
|
39573
39599
|
":",
|
|
39574
39600
|
U.updatedAt
|
|
@@ -39581,7 +39607,7 @@ const mu = {
|
|
|
39581
39607
|
margin: "0 0 6px",
|
|
39582
39608
|
fontSize: 15,
|
|
39583
39609
|
fontWeight: 700,
|
|
39584
|
-
color:
|
|
39610
|
+
color: je.heading
|
|
39585
39611
|
},
|
|
39586
39612
|
children: bi(v.heading, g)
|
|
39587
39613
|
}
|
|
@@ -39593,7 +39619,7 @@ const mu = {
|
|
|
39593
39619
|
margin: "0 0 8px",
|
|
39594
39620
|
fontSize: 13,
|
|
39595
39621
|
lineHeight: 1.8,
|
|
39596
|
-
color:
|
|
39622
|
+
color: je.body
|
|
39597
39623
|
},
|
|
39598
39624
|
children: bi(h, g)
|
|
39599
39625
|
},
|
|
@@ -39606,183 +39632,183 @@ const mu = {
|
|
|
39606
39632
|
)
|
|
39607
39633
|
}
|
|
39608
39634
|
);
|
|
39609
|
-
},
|
|
39610
|
-
const [t, a] =
|
|
39635
|
+
}, rp = (e = !1) => {
|
|
39636
|
+
const [t, a] = Qe(e), n = M(() => a(!0), []), s = M(() => a(!1), []), u = M(() => a((d) => !d), []), b = M((d) => a(!!d), []);
|
|
39611
39637
|
return { open: t, setOpen: a, onOpen: n, onClose: s, onToggle: u, onOpenChange: b };
|
|
39612
39638
|
};
|
|
39613
39639
|
export {
|
|
39614
|
-
|
|
39615
|
-
|
|
39616
|
-
|
|
39617
|
-
|
|
39618
|
-
|
|
39619
|
-
|
|
39640
|
+
pr as ApiCtx,
|
|
39641
|
+
Q0 as ApiProvider,
|
|
39642
|
+
Y0 as Bind,
|
|
39643
|
+
yr as GamesInfoCtx,
|
|
39644
|
+
ep as LineLogin,
|
|
39645
|
+
ip as LineQrCode,
|
|
39620
39646
|
Ai as MONTH_CARD_QUERY_KEY,
|
|
39621
|
-
|
|
39647
|
+
ye as SOCKET_TYPE,
|
|
39622
39648
|
it as STATUS_TYPES,
|
|
39623
|
-
|
|
39624
|
-
|
|
39625
|
-
|
|
39626
|
-
|
|
39627
|
-
|
|
39628
|
-
|
|
39629
|
-
|
|
39630
|
-
|
|
39631
|
-
|
|
39632
|
-
|
|
39649
|
+
gr as StatusContext,
|
|
39650
|
+
vl as StatusProvider,
|
|
39651
|
+
np as TermsDialog,
|
|
39652
|
+
X0 as WebSocketDevPanel,
|
|
39653
|
+
Dl as buildGameImageSources,
|
|
39654
|
+
Zm as buildMultiTypes,
|
|
39655
|
+
$0 as buildMultiTypesWithSubTypes,
|
|
39656
|
+
Ml as buildSinglePlatformWithSubTypes,
|
|
39657
|
+
Gl as buildSingleType,
|
|
39658
|
+
Jm as categorizeGames,
|
|
39633
39659
|
Ve as convertLanguageCode,
|
|
39634
|
-
|
|
39660
|
+
Nl as convertLanguageGameCode,
|
|
39635
39661
|
nt as correctViewportDrift,
|
|
39636
|
-
|
|
39637
|
-
|
|
39638
|
-
|
|
39639
|
-
|
|
39640
|
-
|
|
39641
|
-
|
|
39642
|
-
|
|
39643
|
-
|
|
39644
|
-
|
|
39645
|
-
|
|
39646
|
-
|
|
39647
|
-
|
|
39648
|
-
|
|
39649
|
-
|
|
39650
|
-
|
|
39651
|
-
|
|
39652
|
-
|
|
39653
|
-
|
|
39654
|
-
|
|
39662
|
+
vu as createLogoutHandler,
|
|
39663
|
+
zm as extractGameSubTypeNames,
|
|
39664
|
+
Im as extractGameTypeNames,
|
|
39665
|
+
ar as extractPlatformNames,
|
|
39666
|
+
vr as filterGamesByPlatform,
|
|
39667
|
+
br as findGameTypeUid,
|
|
39668
|
+
Ur as findPlatformUid,
|
|
39669
|
+
Cr as findSubPlatform,
|
|
39670
|
+
Wm as flattenAllGames,
|
|
39671
|
+
Vm as flattenFavoriteGames,
|
|
39672
|
+
hu as formatNumber,
|
|
39673
|
+
du as getTermsContent,
|
|
39674
|
+
Cu as getViewportFixReport,
|
|
39675
|
+
Km as groupGamesByPlatform,
|
|
39676
|
+
qm as groupGamesByPlatformAndSubType,
|
|
39677
|
+
Ll as groupGamesBySubType,
|
|
39678
|
+
Hm as handleDarkImage,
|
|
39679
|
+
Ym as initMockWindowData,
|
|
39680
|
+
Sl as installStandaloneViewportFix,
|
|
39655
39681
|
bi as interpolate,
|
|
39656
|
-
|
|
39657
|
-
|
|
39658
|
-
|
|
39659
|
-
|
|
39660
|
-
|
|
39661
|
-
|
|
39682
|
+
kl as isStandaloneDisplay,
|
|
39683
|
+
$m as processGameInfo,
|
|
39684
|
+
j0 as processPlatformData,
|
|
39685
|
+
Ls as resolveGameMaintainDisplay,
|
|
39686
|
+
l0 as useAbandonEventWallet,
|
|
39687
|
+
Lu as useAbandonPoint,
|
|
39662
39688
|
re as useApiContext,
|
|
39663
|
-
|
|
39664
|
-
|
|
39665
|
-
|
|
39666
|
-
|
|
39667
|
-
|
|
39668
|
-
|
|
39669
|
-
|
|
39670
|
-
|
|
39671
|
-
|
|
39672
|
-
|
|
39673
|
-
|
|
39674
|
-
|
|
39675
|
-
|
|
39676
|
-
|
|
39677
|
-
|
|
39678
|
-
|
|
39679
|
-
|
|
39680
|
-
|
|
39681
|
-
|
|
39682
|
-
|
|
39683
|
-
|
|
39684
|
-
|
|
39685
|
-
|
|
39686
|
-
|
|
39687
|
-
|
|
39688
|
-
|
|
39689
|
-
|
|
39690
|
-
|
|
39691
|
-
|
|
39692
|
-
|
|
39693
|
-
|
|
39694
|
-
|
|
39695
|
-
|
|
39696
|
-
|
|
39697
|
-
|
|
39698
|
-
|
|
39699
|
-
|
|
39700
|
-
|
|
39701
|
-
|
|
39702
|
-
|
|
39703
|
-
|
|
39704
|
-
|
|
39705
|
-
|
|
39706
|
-
|
|
39707
|
-
|
|
39708
|
-
|
|
39709
|
-
|
|
39710
|
-
|
|
39711
|
-
|
|
39712
|
-
|
|
39713
|
-
|
|
39714
|
-
|
|
39715
|
-
|
|
39716
|
-
|
|
39717
|
-
|
|
39718
|
-
|
|
39719
|
-
|
|
39720
|
-
|
|
39721
|
-
|
|
39722
|
-
|
|
39723
|
-
|
|
39724
|
-
|
|
39725
|
-
|
|
39726
|
-
|
|
39727
|
-
|
|
39728
|
-
|
|
39729
|
-
|
|
39730
|
-
|
|
39731
|
-
|
|
39732
|
-
|
|
39733
|
-
|
|
39734
|
-
|
|
39735
|
-
|
|
39736
|
-
|
|
39737
|
-
|
|
39738
|
-
|
|
39739
|
-
|
|
39740
|
-
|
|
39741
|
-
|
|
39742
|
-
|
|
39743
|
-
|
|
39744
|
-
|
|
39745
|
-
|
|
39746
|
-
|
|
39747
|
-
|
|
39748
|
-
|
|
39749
|
-
|
|
39750
|
-
|
|
39751
|
-
|
|
39752
|
-
|
|
39753
|
-
|
|
39754
|
-
|
|
39755
|
-
|
|
39756
|
-
|
|
39757
|
-
|
|
39758
|
-
|
|
39759
|
-
|
|
39760
|
-
|
|
39761
|
-
|
|
39762
|
-
|
|
39763
|
-
|
|
39764
|
-
|
|
39765
|
-
|
|
39766
|
-
|
|
39767
|
-
|
|
39768
|
-
|
|
39769
|
-
|
|
39770
|
-
|
|
39771
|
-
|
|
39772
|
-
|
|
39773
|
-
|
|
39774
|
-
|
|
39775
|
-
|
|
39776
|
-
|
|
39777
|
-
|
|
39778
|
-
|
|
39779
|
-
|
|
39780
|
-
|
|
39781
|
-
|
|
39782
|
-
|
|
39783
|
-
|
|
39784
|
-
|
|
39785
|
-
|
|
39786
|
-
|
|
39787
|
-
|
|
39689
|
+
Ku as useAvatarList,
|
|
39690
|
+
Tu as useBalanceGetter,
|
|
39691
|
+
Su as useBet,
|
|
39692
|
+
Zu as useBetRankingData,
|
|
39693
|
+
jo as useBetRecord,
|
|
39694
|
+
Qo as useBetRecordDetail,
|
|
39695
|
+
Ds as useBindAccount,
|
|
39696
|
+
Ps as useCheckCurrentEventProgress,
|
|
39697
|
+
ws as useCheckEventStatus,
|
|
39698
|
+
Ru as useCheckMemberTransfer,
|
|
39699
|
+
Bu as useCheckMobile,
|
|
39700
|
+
Nu as useCheckPlayerWager,
|
|
39701
|
+
ju as useClientWebSocket,
|
|
39702
|
+
Qu as useCommission,
|
|
39703
|
+
Ms as useCommissionInfo,
|
|
39704
|
+
gm as useCompanyPaymentDepositAction,
|
|
39705
|
+
zu as useCreateMachine,
|
|
39706
|
+
H0 as useCreateStoreOrder,
|
|
39707
|
+
xm as useCurrentRebate,
|
|
39708
|
+
om as useDepositAction,
|
|
39709
|
+
mm as useDepositTransaction,
|
|
39710
|
+
rm as useDepositV1,
|
|
39711
|
+
lm as useDepositV2,
|
|
39712
|
+
b0 as useDepositWalletLog,
|
|
39713
|
+
rp as useDisclosure,
|
|
39714
|
+
i0 as useEnabledEventWallet,
|
|
39715
|
+
n0 as useEvaluateEventWallet,
|
|
39716
|
+
a0 as useEvent,
|
|
39717
|
+
Rs as useEventList,
|
|
39718
|
+
um as useEventTransaction,
|
|
39719
|
+
C0 as useEventWalletLog,
|
|
39720
|
+
Lm as useExpiredRewardsList,
|
|
39721
|
+
Ou as useForgotPassword,
|
|
39722
|
+
K0 as useGameConfig,
|
|
39723
|
+
Uu as useGameInfoContext,
|
|
39724
|
+
Qm as useGamesInfo,
|
|
39725
|
+
o0 as useGetAnnouncement,
|
|
39726
|
+
s0 as useGetCarouseList,
|
|
39727
|
+
t0 as useGetEventWalletList,
|
|
39728
|
+
Es as useGetMachineLoginCode,
|
|
39729
|
+
m0 as useGetMarquee,
|
|
39730
|
+
ku as useGetMemberInfo,
|
|
39731
|
+
u0 as useGetRankingGame,
|
|
39732
|
+
Gm as useHistoryRewardsList,
|
|
39733
|
+
p0 as useIdleTimeout,
|
|
39734
|
+
g0 as useInbox,
|
|
39735
|
+
tm as useInboxList,
|
|
39736
|
+
xu as useInitializeWithToken,
|
|
39737
|
+
_0 as useInvoiceAction,
|
|
39738
|
+
Ju as useJackpotData,
|
|
39739
|
+
Sr as useLineLogin,
|
|
39740
|
+
Ss as useLineLogin2,
|
|
39741
|
+
ds as useLogin,
|
|
39742
|
+
cs as useLogout,
|
|
39743
|
+
Gu as useMachineLogin,
|
|
39744
|
+
e0 as useMemberEventSettle,
|
|
39745
|
+
Cs as useMemberInitSet,
|
|
39746
|
+
Mu as useMemberTransfer,
|
|
39747
|
+
Au as useMobileByPassword,
|
|
39748
|
+
Pu as useMobileLogin,
|
|
39749
|
+
wu as useMobileLoginV2,
|
|
39750
|
+
Fu as useMobileRegister,
|
|
39751
|
+
Eu as useMonthCard,
|
|
39752
|
+
ps as useMonthCardInfo,
|
|
39753
|
+
c0 as useNewsDetail,
|
|
39754
|
+
d0 as useNewsList,
|
|
39755
|
+
k0 as useOtherTransaction,
|
|
39756
|
+
x0 as usePayment,
|
|
39757
|
+
q0 as usePlatformConfig,
|
|
39758
|
+
S0 as usePlayGame,
|
|
39759
|
+
Du as usePointTransfer,
|
|
39760
|
+
im as useReadInbox,
|
|
39761
|
+
E0 as useRebate,
|
|
39762
|
+
v0 as useRebateWalletLog,
|
|
39763
|
+
Sm as useReceiveRebate,
|
|
39764
|
+
f0 as useRedeemCodeDeposit,
|
|
39765
|
+
Yu as useRedeemEventReward,
|
|
39766
|
+
Dm as useRedeemReward,
|
|
39767
|
+
L0 as useRedeemRoulettes,
|
|
39768
|
+
z0 as useRedeemTreasure,
|
|
39769
|
+
Us as useResetUserPassword,
|
|
39770
|
+
hs as useResetUserTransactionPassword,
|
|
39771
|
+
D0 as useRewards,
|
|
39772
|
+
Em as useRewardsList,
|
|
39773
|
+
G0 as useRoulettesDrawLog,
|
|
39774
|
+
N0 as useRoulettesList,
|
|
39775
|
+
Hu as useSendMobileVerifyCode,
|
|
39776
|
+
vs as useSetUserTransactionPassword,
|
|
39777
|
+
Xu as useSettleEvent,
|
|
39778
|
+
r0 as useSettleEventWallet,
|
|
39779
|
+
fs as useSignUp,
|
|
39780
|
+
T0 as useSnCashRecord,
|
|
39781
|
+
dr as useStatus,
|
|
39782
|
+
F0 as useStoreCoinBalance,
|
|
39783
|
+
A0 as useStoreCoinLog,
|
|
39784
|
+
M0 as useStoreConfig,
|
|
39785
|
+
B0 as useStoreOrderDetail,
|
|
39786
|
+
O0 as useStoreOrderList,
|
|
39787
|
+
w0 as useStoreProductDetail,
|
|
39788
|
+
P0 as useStoreProductList,
|
|
39789
|
+
R0 as useStoreProductType,
|
|
39790
|
+
_s as useToggleFavoriteGame,
|
|
39791
|
+
xs as useTransferInGame,
|
|
39792
|
+
I0 as useTreasureList,
|
|
39793
|
+
h0 as useTreasureWalletLog,
|
|
39794
|
+
Nm as useUnUsedRewardsList,
|
|
39795
|
+
qu as useUpdateAvatar,
|
|
39796
|
+
y0 as useUpdateInvoiceAction,
|
|
39797
|
+
bs as useUpdateMemberInfo,
|
|
39798
|
+
W0 as useUpdateStoreOrder,
|
|
39799
|
+
ys as useUpdateUserInfo,
|
|
39800
|
+
$u as useUser,
|
|
39801
|
+
ks as useUserBindCard,
|
|
39802
|
+
Ts as useUserRebate,
|
|
39803
|
+
Iu as useVerifyDonationCode,
|
|
39804
|
+
Wu as useVerifyPhoneBar,
|
|
39805
|
+
Vu as useVerifyResetAction,
|
|
39806
|
+
J0 as useVip,
|
|
39807
|
+
V0 as useVipInfo,
|
|
39808
|
+
Bm as useVipList,
|
|
39809
|
+
Z0 as useWebView2,
|
|
39810
|
+
sm as useWithdrawAction,
|
|
39811
|
+
gs as useWithdrawMonthCard,
|
|
39812
|
+
dm as useWithdrawTransaction,
|
|
39813
|
+
U0 as useWithdrawWalletLog
|
|
39788
39814
|
};
|