@obb871001/api-integration-sdk 1.0.427 → 1.0.429
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 +1025 -995
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ve, { createContext as Yt, useContext as bi, useState as da, useMemo as za, useCallback as A, useRef as le, useEffect as _e } from "react";
|
|
2
|
-
import { useQueries as $n, useQuery as ee, useQueryClient as Da, useMutation as
|
|
2
|
+
import { useQueries as $n, useQuery as ee, useQueryClient as Da, useMutation as ae, QueryClient as qr, QueryClientProvider as $r } from "@tanstack/react-query";
|
|
3
3
|
import jr from "axios";
|
|
4
4
|
import { get as X, replace as tt, isEmpty as Fe, find as We, entries as jn, forEach as Qr, omit as Qn, map as Ne, isArray as aa, toLower as Gi, keyBy as Yr, includes as Xr, isObject as Xt, flatMap as ei, values as el, keys as Mi } from "lodash";
|
|
5
5
|
import al from "react-dom";
|
|
@@ -69,20 +69,20 @@ function nl() {
|
|
|
69
69
|
{
|
|
70
70
|
var ie = f.ReactDebugCurrentFrame, fe = ie.getStackAddendum();
|
|
71
71
|
fe !== "" && (J += "%s", $ = $.concat([fe]));
|
|
72
|
-
var
|
|
72
|
+
var Ue = $.map(function(pe) {
|
|
73
73
|
return String(pe);
|
|
74
74
|
});
|
|
75
|
-
|
|
75
|
+
Ue.unshift("Warning: " + J), Function.prototype.apply.call(console[k], console, Ue);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var C = !1, v = !1, h = !1, S = !1, N = !1,
|
|
79
|
-
|
|
78
|
+
var C = !1, v = !1, h = !1, S = !1, N = !1, H;
|
|
79
|
+
H = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
80
80
|
function T(k) {
|
|
81
81
|
return !!(typeof k == "string" || typeof k == "function" || k === r || k === g || N || k === m || k === t || k === n || S || k === p || C || v || h || typeof k == "object" && k !== null && (k.$$typeof === s || k.$$typeof === o || k.$$typeof === b || k.$$typeof === d || k.$$typeof === l || // This needs to include all possible module reference object
|
|
82
82
|
// types supported by any Flight configuration anywhere since
|
|
83
83
|
// we don't know which Flight build this will end up being used
|
|
84
84
|
// with.
|
|
85
|
-
k.$$typeof ===
|
|
85
|
+
k.$$typeof === H || k.getModuleId !== void 0));
|
|
86
86
|
}
|
|
87
87
|
function x(k, J, $) {
|
|
88
88
|
var ie = k.displayName;
|
|
@@ -129,9 +129,9 @@ function nl() {
|
|
|
129
129
|
var ie = k.displayName || null;
|
|
130
130
|
return ie !== null ? ie : R(k.type) || "Memo";
|
|
131
131
|
case s: {
|
|
132
|
-
var fe = k,
|
|
132
|
+
var fe = k, Ue = fe._payload, pe = fe._init;
|
|
133
133
|
try {
|
|
134
|
-
return R(pe(
|
|
134
|
+
return R(pe(Ue));
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
@@ -139,14 +139,14 @@ function nl() {
|
|
|
139
139
|
}
|
|
140
140
|
return null;
|
|
141
141
|
}
|
|
142
|
-
var M = Object.assign, L = 0, G, I,
|
|
142
|
+
var M = Object.assign, L = 0, G, I, W, O, z, D, E;
|
|
143
143
|
function w() {
|
|
144
144
|
}
|
|
145
145
|
w.__reactDisabledLog = !0;
|
|
146
146
|
function P() {
|
|
147
147
|
{
|
|
148
148
|
if (L === 0) {
|
|
149
|
-
G = console.log, I = console.info,
|
|
149
|
+
G = console.log, I = console.info, W = console.warn, O = console.error, z = console.group, D = console.groupCollapsed, E = console.groupEnd;
|
|
150
150
|
var k = {
|
|
151
151
|
configurable: !0,
|
|
152
152
|
enumerable: !0,
|
|
@@ -182,13 +182,13 @@ function nl() {
|
|
|
182
182
|
value: I
|
|
183
183
|
}),
|
|
184
184
|
warn: M({}, k, {
|
|
185
|
-
value:
|
|
185
|
+
value: W
|
|
186
186
|
}),
|
|
187
187
|
error: M({}, k, {
|
|
188
188
|
value: O
|
|
189
189
|
}),
|
|
190
190
|
group: M({}, k, {
|
|
191
|
-
value:
|
|
191
|
+
value: z
|
|
192
192
|
}),
|
|
193
193
|
groupCollapsed: M({}, k, {
|
|
194
194
|
value: D
|
|
@@ -201,39 +201,39 @@ function nl() {
|
|
|
201
201
|
L < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var
|
|
205
|
-
function
|
|
204
|
+
var te = f.ReactCurrentDispatcher, ne;
|
|
205
|
+
function B(k, J, $) {
|
|
206
206
|
{
|
|
207
|
-
if (
|
|
207
|
+
if (ne === void 0)
|
|
208
208
|
try {
|
|
209
209
|
throw Error();
|
|
210
210
|
} catch (fe) {
|
|
211
211
|
var ie = fe.stack.trim().match(/\n( *(at )?)/);
|
|
212
|
-
|
|
212
|
+
ne = ie && ie[1] || "";
|
|
213
213
|
}
|
|
214
214
|
return `
|
|
215
|
-
` +
|
|
215
|
+
` + ne + k;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
var
|
|
218
|
+
var V = !1, Z;
|
|
219
219
|
{
|
|
220
|
-
var
|
|
221
|
-
|
|
220
|
+
var j = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
|
+
Z = new j();
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
if (!k ||
|
|
223
|
+
function q(k, J) {
|
|
224
|
+
if (!k || V)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
227
|
-
var $ =
|
|
227
|
+
var $ = Z.get(k);
|
|
228
228
|
if ($ !== void 0)
|
|
229
229
|
return $;
|
|
230
230
|
}
|
|
231
231
|
var ie;
|
|
232
|
-
|
|
232
|
+
V = !0;
|
|
233
233
|
var fe = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
|
-
var
|
|
236
|
-
|
|
235
|
+
var Ue;
|
|
236
|
+
Ue = te.current, te.current = null, P();
|
|
237
237
|
try {
|
|
238
238
|
if (J) {
|
|
239
239
|
var pe = function() {
|
|
@@ -279,67 +279,67 @@ function nl() {
|
|
|
279
279
|
if (xe--, Ee--, Ee < 0 || me[xe] !== ze[Ee]) {
|
|
280
280
|
var ea = `
|
|
281
281
|
` + me[xe].replace(" at new ", " at ");
|
|
282
|
-
return k.displayName && ea.includes("<anonymous>") && (ea = ea.replace("<anonymous>", k.displayName)), typeof k == "function" &&
|
|
282
|
+
return k.displayName && ea.includes("<anonymous>") && (ea = ea.replace("<anonymous>", k.displayName)), typeof k == "function" && Z.set(k, ea), ea;
|
|
283
283
|
}
|
|
284
284
|
while (xe >= 1 && Ee >= 0);
|
|
285
285
|
break;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
|
|
289
|
+
V = !1, te.current = Ue, Q(), Error.prepareStackTrace = fe;
|
|
290
290
|
}
|
|
291
|
-
var Oa = k ? k.displayName || k.name : "", Ta = Oa ?
|
|
292
|
-
return typeof k == "function" &&
|
|
291
|
+
var Oa = k ? k.displayName || k.name : "", Ta = Oa ? B(Oa) : "";
|
|
292
|
+
return typeof k == "function" && Z.set(k, Ta), Ta;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
return
|
|
294
|
+
function Y(k, J, $) {
|
|
295
|
+
return q(k, !1);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function ge(k) {
|
|
298
298
|
var J = k.prototype;
|
|
299
299
|
return !!(J && J.isReactComponent);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function he(k, J, $) {
|
|
302
302
|
if (k == null)
|
|
303
303
|
return "";
|
|
304
304
|
if (typeof k == "function")
|
|
305
|
-
return
|
|
305
|
+
return q(k, ge(k));
|
|
306
306
|
if (typeof k == "string")
|
|
307
|
-
return
|
|
307
|
+
return B(k);
|
|
308
308
|
switch (k) {
|
|
309
309
|
case t:
|
|
310
|
-
return
|
|
310
|
+
return B("Suspense");
|
|
311
311
|
case n:
|
|
312
|
-
return
|
|
312
|
+
return B("SuspenseList");
|
|
313
313
|
}
|
|
314
314
|
if (typeof k == "object")
|
|
315
315
|
switch (k.$$typeof) {
|
|
316
316
|
case l:
|
|
317
|
-
return
|
|
317
|
+
return Y(k.render);
|
|
318
318
|
case o:
|
|
319
|
-
return
|
|
319
|
+
return he(k.type, J, $);
|
|
320
320
|
case s: {
|
|
321
|
-
var ie = k, fe = ie._payload,
|
|
321
|
+
var ie = k, fe = ie._payload, Ue = ie._init;
|
|
322
322
|
try {
|
|
323
|
-
return
|
|
323
|
+
return he(Ue(fe), J, $);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
return "";
|
|
329
329
|
}
|
|
330
|
-
var
|
|
330
|
+
var ye = Object.prototype.hasOwnProperty, Qe = {}, Te = f.ReactDebugCurrentFrame;
|
|
331
331
|
function Ge(k) {
|
|
332
332
|
if (k) {
|
|
333
|
-
var J = k._owner, $ =
|
|
334
|
-
|
|
333
|
+
var J = k._owner, $ = he(k.type, k._source, J ? J.type : null);
|
|
334
|
+
Te.setExtraStackFrame($);
|
|
335
335
|
} else
|
|
336
|
-
|
|
336
|
+
Te.setExtraStackFrame(null);
|
|
337
337
|
}
|
|
338
338
|
function Ye(k, J, $, ie, fe) {
|
|
339
339
|
{
|
|
340
|
-
var
|
|
340
|
+
var Ue = Function.call.bind(ye);
|
|
341
341
|
for (var pe in k)
|
|
342
|
-
if (
|
|
342
|
+
if (Ue(k, pe)) {
|
|
343
343
|
var me = void 0;
|
|
344
344
|
try {
|
|
345
345
|
if (typeof k[pe] != "function") {
|
|
@@ -355,7 +355,7 @@ function nl() {
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
var ce = Array.isArray;
|
|
358
|
-
function
|
|
358
|
+
function be(k) {
|
|
359
359
|
return ce(k);
|
|
360
360
|
}
|
|
361
361
|
function Se(k) {
|
|
@@ -385,7 +385,7 @@ function nl() {
|
|
|
385
385
|
__source: !0
|
|
386
386
|
}, sa, ca;
|
|
387
387
|
function Ke(k) {
|
|
388
|
-
if (
|
|
388
|
+
if (ye.call(k, "ref")) {
|
|
389
389
|
var J = Object.getOwnPropertyDescriptor(k, "ref").get;
|
|
390
390
|
if (J && J.isReactWarning)
|
|
391
391
|
return !1;
|
|
@@ -393,7 +393,7 @@ function nl() {
|
|
|
393
393
|
return k.ref !== void 0;
|
|
394
394
|
}
|
|
395
395
|
function ia(k) {
|
|
396
|
-
if (
|
|
396
|
+
if (ye.call(k, "key")) {
|
|
397
397
|
var J = Object.getOwnPropertyDescriptor(k, "key").get;
|
|
398
398
|
if (J && J.isReactWarning)
|
|
399
399
|
return !1;
|
|
@@ -425,7 +425,7 @@ function nl() {
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var $a = function(k, J, $, ie, fe,
|
|
428
|
+
var $a = function(k, J, $, ie, fe, Ue, pe) {
|
|
429
429
|
var me = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: i,
|
|
@@ -435,7 +435,7 @@ function nl() {
|
|
|
435
435
|
ref: $,
|
|
436
436
|
props: pe,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
|
-
_owner:
|
|
438
|
+
_owner: Ue
|
|
439
439
|
};
|
|
440
440
|
return me._store = {}, Object.defineProperty(me._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
@@ -456,14 +456,14 @@ function nl() {
|
|
|
456
456
|
};
|
|
457
457
|
function ja(k, J, $, ie, fe) {
|
|
458
458
|
{
|
|
459
|
-
var
|
|
459
|
+
var Ue, pe = {}, me = null, ze = null;
|
|
460
460
|
$ !== void 0 && (Me($), me = "" + $), ia(J) && (Me(J.key), me = "" + J.key), Ke(J) && (ze = J.ref, qa(J, fe));
|
|
461
|
-
for (
|
|
462
|
-
|
|
461
|
+
for (Ue in J)
|
|
462
|
+
ye.call(J, Ue) && !ta.hasOwnProperty(Ue) && (pe[Ue] = J[Ue]);
|
|
463
463
|
if (k && k.defaultProps) {
|
|
464
464
|
var xe = k.defaultProps;
|
|
465
|
-
for (
|
|
466
|
-
pe[
|
|
465
|
+
for (Ue in xe)
|
|
466
|
+
pe[Ue] === void 0 && (pe[Ue] = xe[Ue]);
|
|
467
467
|
}
|
|
468
468
|
if (me || ze) {
|
|
469
469
|
var Ee = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
|
|
@@ -475,7 +475,7 @@ function nl() {
|
|
|
475
475
|
var fa = f.ReactCurrentOwner, va = f.ReactDebugCurrentFrame;
|
|
476
476
|
function Xe(k) {
|
|
477
477
|
if (k) {
|
|
478
|
-
var J = k._owner, $ =
|
|
478
|
+
var J = k._owner, $ = he(k.type, k._source, J ? J.type : null);
|
|
479
479
|
va.setExtraStackFrame($);
|
|
480
480
|
} else
|
|
481
481
|
va.setExtraStackFrame(null);
|
|
@@ -530,7 +530,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
530
530
|
{
|
|
531
531
|
if (typeof k != "object")
|
|
532
532
|
return;
|
|
533
|
-
if (
|
|
533
|
+
if (be(k))
|
|
534
534
|
for (var $ = 0; $ < k.length; $++) {
|
|
535
535
|
var ie = k[$];
|
|
536
536
|
ya(ie) && Aa(ie, J);
|
|
@@ -540,7 +540,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
540
540
|
else if (k) {
|
|
541
541
|
var fe = y(k);
|
|
542
542
|
if (typeof fe == "function" && fe !== k.entries)
|
|
543
|
-
for (var
|
|
543
|
+
for (var Ue = fe.call(k), pe; !(pe = Ue.next()).done; )
|
|
544
544
|
ya(pe.value) && Aa(pe.value, J);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
@@ -583,7 +583,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var ra = {};
|
|
586
|
-
function He(k, J, $, ie, fe,
|
|
586
|
+
function He(k, J, $, ie, fe, Ue) {
|
|
587
587
|
{
|
|
588
588
|
var pe = T(k);
|
|
589
589
|
if (!pe) {
|
|
@@ -592,16 +592,16 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
592
592
|
var ze = wa();
|
|
593
593
|
ze ? me += ze : me += Pa();
|
|
594
594
|
var xe;
|
|
595
|
-
k === null ? xe = "null" :
|
|
595
|
+
k === null ? xe = "null" : be(k) ? xe = "array" : k !== void 0 && k.$$typeof === i ? (xe = "<" + (R(k.type) || "Unknown") + " />", me = " Did you accidentally export a JSX literal instead of a component?") : xe = typeof k, 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, me);
|
|
596
596
|
}
|
|
597
|
-
var Ee = ja(k, J, $, fe,
|
|
597
|
+
var Ee = ja(k, J, $, fe, Ue);
|
|
598
598
|
if (Ee == null)
|
|
599
599
|
return Ee;
|
|
600
600
|
if (pe) {
|
|
601
601
|
var ea = J.children;
|
|
602
602
|
if (ea !== void 0)
|
|
603
603
|
if (ie)
|
|
604
|
-
if (
|
|
604
|
+
if (be(ea)) {
|
|
605
605
|
for (var Oa = 0; Oa < ea.length; Oa++)
|
|
606
606
|
Re(ea[Oa], k);
|
|
607
607
|
Object.freeze && Object.freeze(ea);
|
|
@@ -610,7 +610,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
610
610
|
else
|
|
611
611
|
Re(ea, k);
|
|
612
612
|
}
|
|
613
|
-
if (
|
|
613
|
+
if (ye.call(J, "key")) {
|
|
614
614
|
var Ta = R(k), Ve = Object.keys(J).filter(function(Kr) {
|
|
615
615
|
return Kr !== "key";
|
|
616
616
|
}), ii = Ve.length > 0 ? "{key: someKey, " + Ve.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
@@ -641,7 +641,7 @@ var wi;
|
|
|
641
641
|
function rl() {
|
|
642
642
|
return wi || (wi = 1, process.env.NODE_ENV === "production" ? st.exports = il() : st.exports = nl()), st.exports;
|
|
643
643
|
}
|
|
644
|
-
var
|
|
644
|
+
var de = rl();
|
|
645
645
|
const Yn = Yt(null), se = () => {
|
|
646
646
|
const e = bi(Yn);
|
|
647
647
|
if (!e)
|
|
@@ -662,7 +662,7 @@ const Yn = Yt(null), se = () => {
|
|
|
662
662
|
setAsPending: () => a(Xa.PENDING)
|
|
663
663
|
};
|
|
664
664
|
}, [i]);
|
|
665
|
-
return /* @__PURE__ */
|
|
665
|
+
return /* @__PURE__ */ de.jsx(Xn.Provider, { value: r, children: e });
|
|
666
666
|
}, er = () => {
|
|
667
667
|
const e = bi(Xn);
|
|
668
668
|
if (!e)
|
|
@@ -753,7 +753,7 @@ function Fi({
|
|
|
753
753
|
}
|
|
754
754
|
), t;
|
|
755
755
|
}
|
|
756
|
-
const nr = Yt(null),
|
|
756
|
+
const nr = Yt(null), Km = () => {
|
|
757
757
|
const e = bi(nr);
|
|
758
758
|
if (!e)
|
|
759
759
|
throw new Error(
|
|
@@ -789,7 +789,7 @@ const nr = Yt(null), Zm = () => {
|
|
|
789
789
|
default:
|
|
790
790
|
return "Tw";
|
|
791
791
|
}
|
|
792
|
-
},
|
|
792
|
+
}, qm = () => {
|
|
793
793
|
const e = (r, m) => !r && !m, i = (r) => r.startsWith("pc.");
|
|
794
794
|
return {
|
|
795
795
|
executeLogout: ({
|
|
@@ -808,7 +808,7 @@ const nr = Yt(null), Zm = () => {
|
|
|
808
808
|
shouldShowErrorNotice: e,
|
|
809
809
|
isMachineDomain: i
|
|
810
810
|
};
|
|
811
|
-
},
|
|
811
|
+
}, $m = (e) => {
|
|
812
812
|
let i = Number(e);
|
|
813
813
|
return isNaN(i) ? e : new Intl.NumberFormat("en-US", {
|
|
814
814
|
style: "decimal",
|
|
@@ -1025,8 +1025,8 @@ function ue() {
|
|
|
1025
1025
|
U[v + S >>> 2] |= N << 24 - (v + S) % 4 * 8;
|
|
1026
1026
|
}
|
|
1027
1027
|
else
|
|
1028
|
-
for (var
|
|
1029
|
-
U[v +
|
|
1028
|
+
for (var H = 0; H < h; H += 4)
|
|
1029
|
+
U[v + H >>> 2] = C[H >>> 2];
|
|
1030
1030
|
return this.sigBytes += h, this;
|
|
1031
1031
|
},
|
|
1032
1032
|
/**
|
|
@@ -1225,9 +1225,9 @@ function ue() {
|
|
|
1225
1225
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
1226
1226
|
*/
|
|
1227
1227
|
_process: function(c) {
|
|
1228
|
-
var U, C = this._data, v = C.words, h = C.sigBytes, S = this.blockSize, N = S * 4,
|
|
1229
|
-
c ?
|
|
1230
|
-
var T =
|
|
1228
|
+
var U, C = this._data, v = C.words, h = C.sigBytes, S = this.blockSize, N = S * 4, H = h / N;
|
|
1229
|
+
c ? H = r.ceil(H) : H = r.max((H | 0) - this._minBufferSize, 0);
|
|
1230
|
+
var T = H * S, x = r.min(T * 4, h);
|
|
1231
1231
|
if (T) {
|
|
1232
1232
|
for (var F = 0; F < T; F += S)
|
|
1233
1233
|
this._doProcessBlock(v, F);
|
|
@@ -1885,8 +1885,8 @@ function La() {
|
|
|
1885
1885
|
var c = y + f, U = _[c];
|
|
1886
1886
|
_[c] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
|
|
1887
1887
|
}
|
|
1888
|
-
var C = this._hash.words, v = _[y + 0], h = _[y + 1], S = _[y + 2], N = _[y + 3],
|
|
1889
|
-
D = o(D, E, w, P, v, 7, t[0]), P = o(P, D, E, w, h, 12, t[1]), w = o(w, P, D, E, S, 17, t[2]), E = o(E, w, P, D, N, 22, t[3]), D = o(D, E, w, P,
|
|
1888
|
+
var C = this._hash.words, v = _[y + 0], h = _[y + 1], S = _[y + 2], N = _[y + 3], H = _[y + 4], T = _[y + 5], x = _[y + 6], F = _[y + 7], R = _[y + 8], M = _[y + 9], L = _[y + 10], G = _[y + 11], I = _[y + 12], W = _[y + 13], O = _[y + 14], z = _[y + 15], D = C[0], E = C[1], w = C[2], P = C[3];
|
|
1889
|
+
D = o(D, E, w, P, v, 7, t[0]), P = o(P, D, E, w, h, 12, t[1]), w = o(w, P, D, E, S, 17, t[2]), E = o(E, w, P, D, N, 22, t[3]), D = o(D, E, w, P, H, 7, t[4]), P = o(P, D, E, w, T, 12, t[5]), w = o(w, P, D, E, x, 17, t[6]), E = o(E, w, P, D, F, 22, t[7]), D = o(D, E, w, P, R, 7, t[8]), P = o(P, D, E, w, M, 12, t[9]), w = o(w, P, D, E, L, 17, t[10]), E = o(E, w, P, D, G, 22, t[11]), D = o(D, E, w, P, I, 7, t[12]), P = o(P, D, E, w, W, 12, t[13]), w = o(w, P, D, E, O, 17, t[14]), E = o(E, w, P, D, z, 22, t[15]), D = s(D, E, w, P, h, 5, t[16]), P = s(P, D, E, w, x, 9, t[17]), w = s(w, P, D, E, G, 14, t[18]), E = s(E, w, P, D, v, 20, t[19]), D = s(D, E, w, P, T, 5, t[20]), P = s(P, D, E, w, L, 9, t[21]), w = s(w, P, D, E, z, 14, t[22]), E = s(E, w, P, D, H, 20, t[23]), D = s(D, E, w, P, M, 5, t[24]), P = s(P, D, E, w, O, 9, t[25]), w = s(w, P, D, E, N, 14, t[26]), E = s(E, w, P, D, R, 20, t[27]), D = s(D, E, w, P, W, 5, t[28]), P = s(P, D, E, w, S, 9, t[29]), w = s(w, P, D, E, F, 14, t[30]), E = s(E, w, P, D, I, 20, t[31]), D = p(D, E, w, P, T, 4, t[32]), P = p(P, D, E, w, R, 11, t[33]), w = p(w, P, D, E, G, 16, t[34]), E = p(E, w, P, D, O, 23, t[35]), D = p(D, E, w, P, h, 4, t[36]), P = p(P, D, E, w, H, 11, t[37]), w = p(w, P, D, E, F, 16, t[38]), E = p(E, w, P, D, L, 23, t[39]), D = p(D, E, w, P, W, 4, t[40]), P = p(P, D, E, w, v, 11, t[41]), w = p(w, P, D, E, N, 16, t[42]), E = p(E, w, P, D, x, 23, t[43]), D = p(D, E, w, P, M, 4, t[44]), P = p(P, D, E, w, I, 11, t[45]), w = p(w, P, D, E, z, 16, t[46]), E = p(E, w, P, D, S, 23, t[47]), D = u(D, E, w, P, v, 6, t[48]), P = u(P, D, E, w, F, 10, t[49]), w = u(w, P, D, E, O, 15, t[50]), E = u(E, w, P, D, T, 21, t[51]), D = u(D, E, w, P, I, 6, t[52]), P = u(P, D, E, w, N, 10, t[53]), w = u(w, P, D, E, L, 15, t[54]), E = u(E, w, P, D, h, 21, t[55]), D = u(D, E, w, P, R, 6, t[56]), P = u(P, D, E, w, z, 10, t[57]), w = u(w, P, D, E, x, 15, t[58]), E = u(E, w, P, D, W, 21, t[59]), D = u(D, E, w, P, H, 6, t[60]), P = u(P, D, E, w, G, 10, t[61]), w = u(w, P, D, E, S, 15, t[62]), E = u(E, w, P, D, M, 21, t[63]), C[0] = C[0] + D | 0, C[1] = C[1] + E | 0, C[2] = C[2] + w | 0, C[3] = C[3] + P | 0;
|
|
1890
1890
|
},
|
|
1891
1891
|
_doFinalize: function() {
|
|
1892
1892
|
var _ = this._data, y = _.words, f = this._nDataBytes * 8, c = _.sigBytes * 8;
|
|
@@ -1999,11 +1999,11 @@ function Ci() {
|
|
|
1999
1999
|
if (N < 16)
|
|
2000
2000
|
o[N] = p[u + N] | 0;
|
|
2001
2001
|
else {
|
|
2002
|
-
var
|
|
2002
|
+
var H = o[N - 15], T = (H << 25 | H >>> 7) ^ (H << 14 | H >>> 18) ^ H >>> 3, x = o[N - 2], F = (x << 15 | x >>> 17) ^ (x << 13 | x >>> 19) ^ x >>> 10;
|
|
2003
2003
|
o[N] = T + o[N - 7] + F + o[N - 16];
|
|
2004
2004
|
}
|
|
2005
|
-
var R = C & v ^ ~C & h, M = y & f ^ y & c ^ f & c, L = (y << 30 | y >>> 2) ^ (y << 19 | y >>> 13) ^ (y << 10 | y >>> 22), G = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), I = S + G + R + n[N] + o[N],
|
|
2006
|
-
S = h, h = v, v = C, C = U + I | 0, U = c, c = f, f = y, y = I +
|
|
2005
|
+
var R = C & v ^ ~C & h, M = y & f ^ y & c ^ f & c, L = (y << 30 | y >>> 2) ^ (y << 19 | y >>> 13) ^ (y << 10 | y >>> 22), G = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), I = S + G + R + n[N] + o[N], W = L + M;
|
|
2006
|
+
S = h, h = v, v = C, C = U + I | 0, U = c, c = f, f = y, y = I + W | 0;
|
|
2007
2007
|
}
|
|
2008
2008
|
_[0] = _[0] + y | 0, _[1] = _[1] + f | 0, _[2] = _[2] + c | 0, _[3] = _[3] + U | 0, _[4] = _[4] + C | 0, _[5] = _[5] + v | 0, _[6] = _[6] + h | 0, _[7] = _[7] + S | 0;
|
|
2009
2009
|
},
|
|
@@ -2162,18 +2162,18 @@ function ur() {
|
|
|
2162
2162
|
]);
|
|
2163
2163
|
},
|
|
2164
2164
|
_doProcessBlock: function(u, _) {
|
|
2165
|
-
for (var y = this._hash.words, f = y[0], c = y[1], U = y[2], C = y[3], v = y[4], h = y[5], S = y[6], N = y[7],
|
|
2166
|
-
var
|
|
2165
|
+
for (var y = this._hash.words, f = y[0], c = y[1], U = y[2], C = y[3], v = y[4], h = y[5], S = y[6], N = y[7], H = f.high, T = f.low, x = c.high, F = c.low, R = U.high, M = U.low, L = C.high, G = C.low, I = v.high, W = v.low, O = h.high, z = h.low, D = S.high, E = S.low, w = N.high, P = N.low, Q = H, te = T, ne = x, B = F, V = R, Z = M, j = L, q = G, Y = I, ge = W, he = O, ye = z, Qe = D, Te = E, Ge = w, Ye = P, ce = 0; ce < 80; ce++) {
|
|
2166
|
+
var be, Se, Ie = s[ce];
|
|
2167
2167
|
if (ce < 16)
|
|
2168
|
-
Se = Ie.high = u[_ + ce * 2] | 0,
|
|
2168
|
+
Se = Ie.high = u[_ + ce * 2] | 0, be = Ie.low = u[_ + ce * 2 + 1] | 0;
|
|
2169
2169
|
else {
|
|
2170
2170
|
var Ze = s[ce - 15], Me = Ze.high, Be = Ze.low, ta = (Me >>> 1 | Be << 31) ^ (Me >>> 8 | Be << 24) ^ Me >>> 7, sa = (Be >>> 1 | Me << 31) ^ (Be >>> 8 | Me << 24) ^ (Be >>> 7 | Me << 25), ca = s[ce - 2], Ke = ca.high, ia = ca.low, qa = (Ke >>> 19 | ia << 13) ^ (Ke << 3 | ia >>> 29) ^ Ke >>> 6, Ma = (ia >>> 19 | Ke << 13) ^ (ia << 3 | Ke >>> 29) ^ (ia >>> 6 | Ke << 26), Ra = s[ce - 7], $a = Ra.high, ja = Ra.low, fa = s[ce - 16], va = fa.high, Xe = fa.low;
|
|
2171
|
-
|
|
2171
|
+
be = sa + ja, Se = ta + $a + (be >>> 0 < sa >>> 0 ? 1 : 0), be = be + Ma, Se = Se + qa + (be >>> 0 < Ma >>> 0 ? 1 : 0), be = be + Xe, Se = Se + va + (be >>> 0 < Xe >>> 0 ? 1 : 0), Ie.high = Se, Ie.low = be;
|
|
2172
2172
|
}
|
|
2173
|
-
var _a =
|
|
2174
|
-
Ge = Qe, Ye =
|
|
2173
|
+
var _a = Y & he ^ ~Y & Qe, ya = ge & ye ^ ~ge & Te, Pa = Q & ne ^ Q & V ^ ne & V, wa = te & B ^ te & Z ^ B & Z, ha = (Q >>> 28 | te << 4) ^ (Q << 30 | te >>> 2) ^ (Q << 25 | te >>> 7), Fa = (te >>> 28 | Q << 4) ^ (te << 30 | Q >>> 2) ^ (te << 25 | Q >>> 7), Aa = (Y >>> 14 | ge << 18) ^ (Y >>> 18 | ge << 14) ^ (Y << 23 | ge >>> 9), Re = (ge >>> 14 | Y << 18) ^ (ge >>> 18 | Y << 14) ^ (ge << 23 | Y >>> 9), K = o[ce], Pe = K.high, ra = K.low, He = Ye + Re, la = Ge + Aa + (He >>> 0 < Ye >>> 0 ? 1 : 0), He = He + ya, la = la + _a + (He >>> 0 < ya >>> 0 ? 1 : 0), He = He + ra, la = la + Pe + (He >>> 0 < ra >>> 0 ? 1 : 0), He = He + be, la = la + Se + (He >>> 0 < be >>> 0 ? 1 : 0), ot = Fa + wa, ti = ha + Pa + (ot >>> 0 < Fa >>> 0 ? 1 : 0);
|
|
2174
|
+
Ge = Qe, Ye = Te, Qe = he, Te = ye, he = Y, ye = ge, ge = q + He | 0, Y = j + la + (ge >>> 0 < q >>> 0 ? 1 : 0) | 0, j = V, q = Z, V = ne, Z = B, ne = Q, B = te, te = He + ot | 0, Q = la + ti + (te >>> 0 < He >>> 0 ? 1 : 0) | 0;
|
|
2175
2175
|
}
|
|
2176
|
-
T = f.low = T +
|
|
2176
|
+
T = f.low = T + te, f.high = H + Q + (T >>> 0 < te >>> 0 ? 1 : 0), F = c.low = F + B, c.high = x + ne + (F >>> 0 < B >>> 0 ? 1 : 0), M = U.low = M + Z, U.high = R + V + (M >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G + q, C.high = L + j + (G >>> 0 < q >>> 0 ? 1 : 0), W = v.low = W + ge, v.high = I + Y + (W >>> 0 < ge >>> 0 ? 1 : 0), z = h.low = z + ye, h.high = O + he + (z >>> 0 < ye >>> 0 ? 1 : 0), E = S.low = E + Te, S.high = D + Qe + (E >>> 0 < Te >>> 0 ? 1 : 0), P = N.low = P + Ye, N.high = w + Ge + (P >>> 0 < Ye >>> 0 ? 1 : 0);
|
|
2177
2177
|
},
|
|
2178
2178
|
_doFinalize: function() {
|
|
2179
2179
|
var u = this._data, _ = u.words, y = this._nDataBytes * 8, f = u.sigBytes * 8;
|
|
@@ -2240,9 +2240,9 @@ function Fl() {
|
|
|
2240
2240
|
for (var f = 0; f < 5; f++)
|
|
2241
2241
|
s[y + 5 * f] = f + (2 * y + 3 * f) % 5 * 5;
|
|
2242
2242
|
for (var v = 1, h = 0; h < 24; h++) {
|
|
2243
|
-
for (var S = 0, N = 0,
|
|
2243
|
+
for (var S = 0, N = 0, H = 0; H < 7; H++) {
|
|
2244
2244
|
if (v & 1) {
|
|
2245
|
-
var T = (1 <<
|
|
2245
|
+
var T = (1 << H) - 1;
|
|
2246
2246
|
T < 32 ? N ^= 1 << T : S ^= 1 << T - 32;
|
|
2247
2247
|
}
|
|
2248
2248
|
v & 128 ? v = v << 1 ^ 113 : v <<= 1;
|
|
@@ -2280,34 +2280,34 @@ function Fl() {
|
|
|
2280
2280
|
S.high ^= h, S.low ^= v;
|
|
2281
2281
|
}
|
|
2282
2282
|
for (var N = 0; N < 24; N++) {
|
|
2283
|
-
for (var
|
|
2283
|
+
for (var H = 0; H < 5; H++) {
|
|
2284
2284
|
for (var T = 0, x = 0, F = 0; F < 5; F++) {
|
|
2285
|
-
var S = c[
|
|
2285
|
+
var S = c[H + 5 * F];
|
|
2286
2286
|
T ^= S.high, x ^= S.low;
|
|
2287
2287
|
}
|
|
2288
|
-
var R = u[
|
|
2288
|
+
var R = u[H];
|
|
2289
2289
|
R.high = T, R.low = x;
|
|
2290
2290
|
}
|
|
2291
|
-
for (var
|
|
2292
|
-
for (var M = u[(
|
|
2293
|
-
var S = c[
|
|
2291
|
+
for (var H = 0; H < 5; H++)
|
|
2292
|
+
for (var M = u[(H + 4) % 5], L = u[(H + 1) % 5], G = L.high, I = L.low, T = M.high ^ (G << 1 | I >>> 31), x = M.low ^ (I << 1 | G >>> 31), F = 0; F < 5; F++) {
|
|
2293
|
+
var S = c[H + 5 * F];
|
|
2294
2294
|
S.high ^= T, S.low ^= x;
|
|
2295
2295
|
}
|
|
2296
|
-
for (var
|
|
2297
|
-
var T, x, S = c[
|
|
2298
|
-
D < 32 ? (T = O << D |
|
|
2299
|
-
var E = u[s[
|
|
2296
|
+
for (var W = 1; W < 25; W++) {
|
|
2297
|
+
var T, x, S = c[W], O = S.high, z = S.low, D = o[W];
|
|
2298
|
+
D < 32 ? (T = O << D | z >>> 32 - D, x = z << D | O >>> 32 - D) : (T = z << D - 32 | O >>> 64 - D, x = O << D - 32 | z >>> 64 - D);
|
|
2299
|
+
var E = u[s[W]];
|
|
2300
2300
|
E.high = T, E.low = x;
|
|
2301
2301
|
}
|
|
2302
2302
|
var w = u[0], P = c[0];
|
|
2303
2303
|
w.high = P.high, w.low = P.low;
|
|
2304
|
-
for (var
|
|
2304
|
+
for (var H = 0; H < 5; H++)
|
|
2305
2305
|
for (var F = 0; F < 5; F++) {
|
|
2306
|
-
var
|
|
2307
|
-
S.high = Q.high ^ ~
|
|
2306
|
+
var W = H + 5 * F, S = c[W], Q = u[W], te = u[(H + 1) % 5 + 5 * F], ne = u[(H + 2) % 5 + 5 * F];
|
|
2307
|
+
S.high = Q.high ^ ~te.high & ne.high, S.low = Q.low ^ ~te.low & ne.low;
|
|
2308
2308
|
}
|
|
2309
|
-
var S = c[0],
|
|
2310
|
-
S.high ^=
|
|
2309
|
+
var S = c[0], B = p[N];
|
|
2310
|
+
S.high ^= B.high, S.low ^= B.low;
|
|
2311
2311
|
}
|
|
2312
2312
|
},
|
|
2313
2313
|
_doFinalize: function() {
|
|
@@ -2316,7 +2316,7 @@ function Fl() {
|
|
|
2316
2316
|
var c = y.sigBytes * 8, U = this.blockSize * 32;
|
|
2317
2317
|
f[c >>> 5] |= 1 << 24 - c % 32, f[(r.ceil((c + 1) / U) * U >>> 5) - 1] |= 128, y.sigBytes = f.length * 4, this._process();
|
|
2318
2318
|
for (var C = this._state, v = this.cfg.outputLength / 8, h = v / 8, S = [], N = 0; N < h; N++) {
|
|
2319
|
-
var
|
|
2319
|
+
var H = C[N], T = H.high, x = H.low;
|
|
2320
2320
|
T = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360, x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, S.push(x), S.push(T);
|
|
2321
2321
|
}
|
|
2322
2322
|
return new b.init(S, v);
|
|
@@ -2669,18 +2669,18 @@ function Ol() {
|
|
|
2669
2669
|
},
|
|
2670
2670
|
_doProcessBlock: function(h, S) {
|
|
2671
2671
|
for (var N = 0; N < 16; N++) {
|
|
2672
|
-
var
|
|
2673
|
-
h[
|
|
2672
|
+
var H = S + N, T = h[H];
|
|
2673
|
+
h[H] = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360;
|
|
2674
2674
|
}
|
|
2675
|
-
var x = this._hash.words, F = p.words, R = u.words, M = t.words, L = n.words, G = o.words, I = s.words,
|
|
2676
|
-
w =
|
|
2677
|
-
for (var
|
|
2678
|
-
|
|
2679
|
-
|
|
2675
|
+
var x = this._hash.words, F = p.words, R = u.words, M = t.words, L = n.words, G = o.words, I = s.words, W, O, z, D, E, w, P, Q, te, ne;
|
|
2676
|
+
w = W = x[0], P = O = x[1], Q = z = x[2], te = D = x[3], ne = E = x[4];
|
|
2677
|
+
for (var B, N = 0; N < 80; N += 1)
|
|
2678
|
+
B = W + h[S + M[N]] | 0, N < 16 ? B += y(O, z, D) + F[0] : N < 32 ? B += f(O, z, D) + F[1] : N < 48 ? B += c(O, z, D) + F[2] : N < 64 ? B += U(O, z, D) + F[3] : B += C(O, z, D) + F[4], B = B | 0, B = v(B, G[N]), B = B + E | 0, W = E, E = D, D = v(z, 10), z = O, O = B, B = w + h[S + L[N]] | 0, N < 16 ? B += C(P, Q, te) + R[0] : N < 32 ? B += U(P, Q, te) + R[1] : N < 48 ? B += c(P, Q, te) + R[2] : N < 64 ? B += f(P, Q, te) + R[3] : B += y(P, Q, te) + R[4], B = B | 0, B = v(B, I[N]), B = B + ne | 0, w = ne, ne = te, te = v(Q, 10), Q = P, P = B;
|
|
2679
|
+
B = x[1] + z + te | 0, x[1] = x[2] + D + ne | 0, x[2] = x[3] + E + w | 0, x[3] = x[4] + W + P | 0, x[4] = x[0] + O + Q | 0, x[0] = B;
|
|
2680
2680
|
},
|
|
2681
2681
|
_doFinalize: function() {
|
|
2682
|
-
var h = this._data, S = h.words, N = this._nDataBytes * 8,
|
|
2683
|
-
S[
|
|
2682
|
+
var h = this._data, S = h.words, N = this._nDataBytes * 8, H = h.sigBytes * 8;
|
|
2683
|
+
S[H >>> 5] |= 128 << 24 - H % 32, S[(H + 64 >>> 9 << 4) + 14] = (N << 8 | N >>> 24) & 16711935 | (N << 24 | N >>> 8) & 4278255360, h.sigBytes = (S.length + 1) * 4, this._process();
|
|
2684
2684
|
for (var T = this._hash, x = T.words, F = 0; F < 5; F++) {
|
|
2685
2685
|
var R = x[F];
|
|
2686
2686
|
x[F] = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360;
|
|
@@ -2843,7 +2843,7 @@ function Wl() {
|
|
|
2843
2843
|
for (var p = this.cfg, u = t.create(p.hasher, o), _ = b.create(), y = b.create([1]), f = _.words, c = y.words, U = p.keySize, C = p.iterations; f.length < U; ) {
|
|
2844
2844
|
var v = u.update(s).finalize(y);
|
|
2845
2845
|
u.reset();
|
|
2846
|
-
for (var h = v.words, S = h.length, N = v,
|
|
2846
|
+
for (var h = v.words, S = h.length, N = v, H = 1; H < C; H++) {
|
|
2847
2847
|
N = u.finalize(N), u.reset();
|
|
2848
2848
|
for (var T = N.words, x = 0; x < S; x++)
|
|
2849
2849
|
h[x] ^= T[x];
|
|
@@ -3050,7 +3050,7 @@ function Ae() {
|
|
|
3050
3050
|
*/
|
|
3051
3051
|
_createHelper: /* @__PURE__ */ (function() {
|
|
3052
3052
|
function T(x) {
|
|
3053
|
-
return typeof x == "string" ?
|
|
3053
|
+
return typeof x == "string" ? H : h;
|
|
3054
3054
|
}
|
|
3055
3055
|
return function(x) {
|
|
3056
3056
|
return {
|
|
@@ -3399,7 +3399,7 @@ function Ae() {
|
|
|
3399
3399
|
var G = d.create(L.words.slice(x), F * 4);
|
|
3400
3400
|
return L.sigBytes = x * 4, U.create({ key: L, iv: G, salt: R });
|
|
3401
3401
|
}
|
|
3402
|
-
},
|
|
3402
|
+
}, H = g.PasswordBasedCipher = h.extend({
|
|
3403
3403
|
/**
|
|
3404
3404
|
* Configuration options.
|
|
3405
3405
|
*
|
|
@@ -3741,9 +3741,9 @@ function co() {
|
|
|
3741
3741
|
for (var v = 0, h = 0, C = 0; C < 256; C++) {
|
|
3742
3742
|
var S = h ^ h << 1 ^ h << 2 ^ h << 3 ^ h << 4;
|
|
3743
3743
|
S = S >>> 8 ^ S & 255 ^ 99, d[v] = S, l[S] = v;
|
|
3744
|
-
var N = U[v],
|
|
3744
|
+
var N = U[v], H = U[N], T = U[H], x = U[S] * 257 ^ S * 16843008;
|
|
3745
3745
|
t[v] = x << 24 | x >>> 8, n[v] = x << 16 | x >>> 16, o[v] = x << 8 | x >>> 24, s[v] = x;
|
|
3746
|
-
var x = T * 16843009 ^
|
|
3746
|
+
var x = T * 16843009 ^ H * 65537 ^ N * 257 ^ v * 16843008;
|
|
3747
3747
|
p[S] = x << 24 | x >>> 8, u[S] = x << 16 | x >>> 16, _[S] = x << 8 | x >>> 24, y[S] = x, v ? (v = N ^ U[U[U[T ^ N]]], h ^= U[U[h]]) : v = h = 1;
|
|
3748
3748
|
}
|
|
3749
3749
|
})();
|
|
@@ -3751,14 +3751,14 @@ function co() {
|
|
|
3751
3751
|
_doReset: function() {
|
|
3752
3752
|
var U;
|
|
3753
3753
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
3754
|
-
for (var C = this._keyPriorReset = this._key, v = C.words, h = C.sigBytes / 4, S = this._nRounds = h + 6, N = (S + 1) * 4,
|
|
3755
|
-
T < h ?
|
|
3754
|
+
for (var C = this._keyPriorReset = this._key, v = C.words, h = C.sigBytes / 4, S = this._nRounds = h + 6, N = (S + 1) * 4, H = this._keySchedule = [], T = 0; T < N; T++)
|
|
3755
|
+
T < h ? H[T] = v[T] : (U = H[T - 1], T % h ? h > 6 && T % h == 4 && (U = d[U >>> 24] << 24 | d[U >>> 16 & 255] << 16 | d[U >>> 8 & 255] << 8 | d[U & 255]) : (U = U << 8 | U >>> 24, U = d[U >>> 24] << 24 | d[U >>> 16 & 255] << 16 | d[U >>> 8 & 255] << 8 | d[U & 255], U ^= f[T / h | 0] << 24), H[T] = H[T - h] ^ U);
|
|
3756
3756
|
for (var x = this._invKeySchedule = [], F = 0; F < N; F++) {
|
|
3757
3757
|
var T = N - F;
|
|
3758
3758
|
if (F % 4)
|
|
3759
|
-
var U =
|
|
3759
|
+
var U = H[T];
|
|
3760
3760
|
else
|
|
3761
|
-
var U =
|
|
3761
|
+
var U = H[T - 4];
|
|
3762
3762
|
F < 4 || T <= 4 ? x[F] = U : x[F] = p[d[U >>> 24]] ^ u[d[U >>> 16 & 255]] ^ _[d[U >>> 8 & 255]] ^ y[d[U & 255]];
|
|
3763
3763
|
}
|
|
3764
3764
|
}
|
|
@@ -3772,13 +3772,13 @@ function co() {
|
|
|
3772
3772
|
var v = U[C + 1];
|
|
3773
3773
|
U[C + 1] = U[C + 3], U[C + 3] = v;
|
|
3774
3774
|
},
|
|
3775
|
-
_doCryptBlock: function(U, C, v, h, S, N,
|
|
3775
|
+
_doCryptBlock: function(U, C, v, h, S, N, H, T) {
|
|
3776
3776
|
for (var x = this._nRounds, F = U[C] ^ v[0], R = U[C + 1] ^ v[1], M = U[C + 2] ^ v[2], L = U[C + 3] ^ v[3], G = 4, I = 1; I < x; I++) {
|
|
3777
|
-
var
|
|
3778
|
-
F =
|
|
3777
|
+
var W = h[F >>> 24] ^ S[R >>> 16 & 255] ^ N[M >>> 8 & 255] ^ H[L & 255] ^ v[G++], O = h[R >>> 24] ^ S[M >>> 16 & 255] ^ N[L >>> 8 & 255] ^ H[F & 255] ^ v[G++], z = h[M >>> 24] ^ S[L >>> 16 & 255] ^ N[F >>> 8 & 255] ^ H[R & 255] ^ v[G++], D = h[L >>> 24] ^ S[F >>> 16 & 255] ^ N[R >>> 8 & 255] ^ H[M & 255] ^ v[G++];
|
|
3778
|
+
F = W, R = O, M = z, L = D;
|
|
3779
3779
|
}
|
|
3780
|
-
var
|
|
3781
|
-
U[C] =
|
|
3780
|
+
var W = (T[F >>> 24] << 24 | T[R >>> 16 & 255] << 16 | T[M >>> 8 & 255] << 8 | T[L & 255]) ^ v[G++], O = (T[R >>> 24] << 24 | T[M >>> 16 & 255] << 16 | T[L >>> 8 & 255] << 8 | T[F & 255]) ^ v[G++], z = (T[M >>> 24] << 24 | T[L >>> 16 & 255] << 16 | T[F >>> 8 & 255] << 8 | T[R & 255]) ^ v[G++], D = (T[L >>> 24] << 24 | T[F >>> 16 & 255] << 16 | T[R >>> 8 & 255] << 8 | T[M & 255]) ^ v[G++];
|
|
3781
|
+
U[C] = W, U[C + 1] = O, U[C + 2] = z, U[C + 3] = D;
|
|
3782
3782
|
},
|
|
3783
3783
|
keySize: 256 / 32
|
|
3784
3784
|
});
|
|
@@ -4445,8 +4445,8 @@ function _o() {
|
|
|
4445
4445
|
U[C] = c[v >>> 5] >>> 31 - v % 32 & 1;
|
|
4446
4446
|
}
|
|
4447
4447
|
for (var h = this._subKeys = [], S = 0; S < 16; S++) {
|
|
4448
|
-
for (var N = h[S] = [],
|
|
4449
|
-
N[C / 6 | 0] |= U[(t[C] - 1 +
|
|
4448
|
+
for (var N = h[S] = [], H = n[S], C = 0; C < 24; C++)
|
|
4449
|
+
N[C / 6 | 0] |= U[(t[C] - 1 + H) % 28] << 31 - C % 6, N[4 + (C / 6 | 0)] |= U[28 + (t[C + 24] - 1 + H) % 28] << 31 - C % 6;
|
|
4450
4450
|
N[0] = N[0] << 1 | N[0] >>> 31;
|
|
4451
4451
|
for (var C = 1; C < 7; C++)
|
|
4452
4452
|
N[C] = N[C] >>> (C - 1) * 4 + 3;
|
|
@@ -4464,8 +4464,8 @@ function _o() {
|
|
|
4464
4464
|
_doCryptBlock: function(f, c, U) {
|
|
4465
4465
|
this._lBlock = f[c], this._rBlock = f[c + 1], u.call(this, 4, 252645135), u.call(this, 16, 65535), _.call(this, 2, 858993459), _.call(this, 8, 16711935), u.call(this, 1, 1431655765);
|
|
4466
4466
|
for (var C = 0; C < 16; C++) {
|
|
4467
|
-
for (var v = U[C], h = this._lBlock, S = this._rBlock, N = 0,
|
|
4468
|
-
N |= o[
|
|
4467
|
+
for (var v = U[C], h = this._lBlock, S = this._rBlock, N = 0, H = 0; H < 8; H++)
|
|
4468
|
+
N |= o[H][((S ^ v[H]) & s[H]) >>> 0];
|
|
4469
4469
|
this._lBlock = S, this._rBlock = h ^ N;
|
|
4470
4470
|
}
|
|
4471
4471
|
var T = this._lBlock;
|
|
@@ -5838,12 +5838,12 @@ function Do() {
|
|
|
5838
5838
|
var I = String(M);
|
|
5839
5839
|
return !I || I.length >= L ? M : "" + Array(L + 1 - I.length).join(G) + M;
|
|
5840
5840
|
}, C = { s: U, z: function(M) {
|
|
5841
|
-
var L = -M.utcOffset(), G = Math.abs(L), I = Math.floor(G / 60),
|
|
5842
|
-
return (L <= 0 ? "+" : "-") + U(I, 2, "0") + ":" + U(
|
|
5841
|
+
var L = -M.utcOffset(), G = Math.abs(L), I = Math.floor(G / 60), W = G % 60;
|
|
5842
|
+
return (L <= 0 ? "+" : "-") + U(I, 2, "0") + ":" + U(W, 2, "0");
|
|
5843
5843
|
}, m: function M(L, G) {
|
|
5844
5844
|
if (L.date() < G.date()) return -M(G, L);
|
|
5845
|
-
var I = 12 * (G.year() - L.year()) + (G.month() - L.month()),
|
|
5846
|
-
return +(-(I + (G -
|
|
5845
|
+
var I = 12 * (G.year() - L.year()) + (G.month() - L.month()), W = L.clone().add(I, o), O = G - W < 0, z = L.clone().add(I + (O ? -1 : 1), o);
|
|
5846
|
+
return +(-(I + (G - W) / (O ? W - z : z - W)) || 0);
|
|
5847
5847
|
}, a: function(M) {
|
|
5848
5848
|
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
5849
5849
|
}, p: function(M) {
|
|
@@ -5854,46 +5854,46 @@ function Do() {
|
|
|
5854
5854
|
h[v] = c;
|
|
5855
5855
|
var S = "$isDayjsObject", N = function(M) {
|
|
5856
5856
|
return M instanceof F || !(!M || !M[S]);
|
|
5857
|
-
},
|
|
5858
|
-
var
|
|
5857
|
+
}, H = function M(L, G, I) {
|
|
5858
|
+
var W;
|
|
5859
5859
|
if (!L) return v;
|
|
5860
5860
|
if (typeof L == "string") {
|
|
5861
5861
|
var O = L.toLowerCase();
|
|
5862
|
-
h[O] && (
|
|
5863
|
-
var
|
|
5864
|
-
if (!
|
|
5862
|
+
h[O] && (W = O), G && (h[O] = G, W = O);
|
|
5863
|
+
var z = L.split("-");
|
|
5864
|
+
if (!W && z.length > 1) return M(z[0]);
|
|
5865
5865
|
} else {
|
|
5866
5866
|
var D = L.name;
|
|
5867
|
-
h[D] = L,
|
|
5867
|
+
h[D] = L, W = D;
|
|
5868
5868
|
}
|
|
5869
|
-
return !I &&
|
|
5869
|
+
return !I && W && (v = W), W || !I && v;
|
|
5870
5870
|
}, T = function(M, L) {
|
|
5871
5871
|
if (N(M)) return M.clone();
|
|
5872
5872
|
var G = typeof L == "object" ? L : {};
|
|
5873
5873
|
return G.date = M, G.args = arguments, new F(G);
|
|
5874
5874
|
}, x = C;
|
|
5875
|
-
x.l =
|
|
5875
|
+
x.l = H, x.i = N, x.w = function(M, L) {
|
|
5876
5876
|
return T(M, { locale: L.$L, utc: L.$u, x: L.$x, $offset: L.$offset });
|
|
5877
5877
|
};
|
|
5878
5878
|
var F = (function() {
|
|
5879
5879
|
function M(G) {
|
|
5880
|
-
this.$L =
|
|
5880
|
+
this.$L = H(G.locale, null, !0), this.parse(G), this.$x = this.$x || G.x || {}, this[S] = !0;
|
|
5881
5881
|
}
|
|
5882
5882
|
var L = M.prototype;
|
|
5883
5883
|
return L.parse = function(G) {
|
|
5884
5884
|
this.$d = (function(I) {
|
|
5885
|
-
var
|
|
5886
|
-
if (
|
|
5887
|
-
if (x.u(
|
|
5888
|
-
if (
|
|
5889
|
-
if (typeof
|
|
5890
|
-
var
|
|
5891
|
-
if (
|
|
5892
|
-
var D =
|
|
5893
|
-
return O ? new Date(Date.UTC(
|
|
5885
|
+
var W = I.date, O = I.utc;
|
|
5886
|
+
if (W === null) return /* @__PURE__ */ new Date(NaN);
|
|
5887
|
+
if (x.u(W)) return /* @__PURE__ */ new Date();
|
|
5888
|
+
if (W instanceof Date) return new Date(W);
|
|
5889
|
+
if (typeof W == "string" && !/Z$/i.test(W)) {
|
|
5890
|
+
var z = W.match(y);
|
|
5891
|
+
if (z) {
|
|
5892
|
+
var D = z[2] - 1 || 0, E = (z[7] || "0").substring(0, 3);
|
|
5893
|
+
return O ? new Date(Date.UTC(z[1], D, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, E)) : new Date(z[1], D, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, E);
|
|
5894
5894
|
}
|
|
5895
5895
|
}
|
|
5896
|
-
return new Date(
|
|
5896
|
+
return new Date(W);
|
|
5897
5897
|
})(G), this.init();
|
|
5898
5898
|
}, L.init = function() {
|
|
5899
5899
|
var G = this.$d;
|
|
@@ -5903,49 +5903,49 @@ function Do() {
|
|
|
5903
5903
|
}, L.isValid = function() {
|
|
5904
5904
|
return this.$d.toString() !== _;
|
|
5905
5905
|
}, L.isSame = function(G, I) {
|
|
5906
|
-
var
|
|
5907
|
-
return this.startOf(I) <=
|
|
5906
|
+
var W = T(G);
|
|
5907
|
+
return this.startOf(I) <= W && W <= this.endOf(I);
|
|
5908
5908
|
}, L.isAfter = function(G, I) {
|
|
5909
5909
|
return T(G) < this.startOf(I);
|
|
5910
5910
|
}, L.isBefore = function(G, I) {
|
|
5911
5911
|
return this.endOf(I) < T(G);
|
|
5912
|
-
}, L.$g = function(G, I,
|
|
5913
|
-
return x.u(G) ? this[I] : this.set(
|
|
5912
|
+
}, L.$g = function(G, I, W) {
|
|
5913
|
+
return x.u(G) ? this[I] : this.set(W, G);
|
|
5914
5914
|
}, L.unix = function() {
|
|
5915
5915
|
return Math.floor(this.valueOf() / 1e3);
|
|
5916
5916
|
}, L.valueOf = function() {
|
|
5917
5917
|
return this.$d.getTime();
|
|
5918
5918
|
}, L.startOf = function(G, I) {
|
|
5919
|
-
var
|
|
5920
|
-
var
|
|
5921
|
-
return O ?
|
|
5922
|
-
}, E = function(
|
|
5923
|
-
return x.w(
|
|
5924
|
-
}, w = this.$W, P = this.$M, Q = this.$D,
|
|
5925
|
-
switch (
|
|
5919
|
+
var W = this, O = !!x.u(I) || I, z = x.p(G), D = function(V, Z) {
|
|
5920
|
+
var j = x.w(W.$u ? Date.UTC(W.$y, Z, V) : new Date(W.$y, Z, V), W);
|
|
5921
|
+
return O ? j : j.endOf(t);
|
|
5922
|
+
}, E = function(V, Z) {
|
|
5923
|
+
return x.w(W.toDate()[V].apply(W.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Z)), W);
|
|
5924
|
+
}, w = this.$W, P = this.$M, Q = this.$D, te = "set" + (this.$u ? "UTC" : "");
|
|
5925
|
+
switch (z) {
|
|
5926
5926
|
case p:
|
|
5927
5927
|
return O ? D(1, 0) : D(31, 11);
|
|
5928
5928
|
case o:
|
|
5929
5929
|
return O ? D(1, P) : D(0, P + 1);
|
|
5930
5930
|
case n:
|
|
5931
|
-
var
|
|
5932
|
-
return D(O ? Q -
|
|
5931
|
+
var ne = this.$locale().weekStart || 0, B = (w < ne ? w + 7 : w) - ne;
|
|
5932
|
+
return D(O ? Q - B : Q + (6 - B), P);
|
|
5933
5933
|
case t:
|
|
5934
5934
|
case u:
|
|
5935
|
-
return E(
|
|
5935
|
+
return E(te + "Hours", 0);
|
|
5936
5936
|
case l:
|
|
5937
|
-
return E(
|
|
5937
|
+
return E(te + "Minutes", 1);
|
|
5938
5938
|
case d:
|
|
5939
|
-
return E(
|
|
5939
|
+
return E(te + "Seconds", 2);
|
|
5940
5940
|
case b:
|
|
5941
|
-
return E(
|
|
5941
|
+
return E(te + "Milliseconds", 3);
|
|
5942
5942
|
default:
|
|
5943
5943
|
return this.clone();
|
|
5944
5944
|
}
|
|
5945
5945
|
}, L.endOf = function(G) {
|
|
5946
5946
|
return this.startOf(G, !1);
|
|
5947
5947
|
}, L.$set = function(G, I) {
|
|
5948
|
-
var
|
|
5948
|
+
var W, O = x.p(G), z = "set" + (this.$u ? "UTC" : ""), D = (W = {}, W[t] = z + "Date", W[u] = z + "Date", W[o] = z + "Month", W[p] = z + "FullYear", W[l] = z + "Hours", W[d] = z + "Minutes", W[b] = z + "Seconds", W[g] = z + "Milliseconds", W)[O], E = O === t ? this.$D + (I - this.$W) : I;
|
|
5949
5949
|
if (O === o || O === p) {
|
|
5950
5950
|
var w = this.clone().set(u, 1);
|
|
5951
5951
|
w.$d[D](E), w.init(), this.$d = w.set(u, Math.min(this.$D, w.daysInMonth())).$d;
|
|
@@ -5956,34 +5956,34 @@ function Do() {
|
|
|
5956
5956
|
}, L.get = function(G) {
|
|
5957
5957
|
return this[x.p(G)]();
|
|
5958
5958
|
}, L.add = function(G, I) {
|
|
5959
|
-
var
|
|
5959
|
+
var W, O = this;
|
|
5960
5960
|
G = Number(G);
|
|
5961
|
-
var
|
|
5961
|
+
var z = x.p(I), D = function(P) {
|
|
5962
5962
|
var Q = T(O);
|
|
5963
5963
|
return x.w(Q.date(Q.date() + Math.round(P * G)), O);
|
|
5964
5964
|
};
|
|
5965
|
-
if (
|
|
5966
|
-
if (
|
|
5967
|
-
if (
|
|
5968
|
-
if (
|
|
5969
|
-
var E = (
|
|
5965
|
+
if (z === o) return this.set(o, this.$M + G);
|
|
5966
|
+
if (z === p) return this.set(p, this.$y + G);
|
|
5967
|
+
if (z === t) return D(1);
|
|
5968
|
+
if (z === n) return D(7);
|
|
5969
|
+
var E = (W = {}, W[d] = r, W[l] = m, W[b] = a, W)[z] || 1, w = this.$d.getTime() + G * E;
|
|
5970
5970
|
return x.w(w, this);
|
|
5971
5971
|
}, L.subtract = function(G, I) {
|
|
5972
5972
|
return this.add(-1 * G, I);
|
|
5973
5973
|
}, L.format = function(G) {
|
|
5974
|
-
var I = this,
|
|
5975
|
-
if (!this.isValid()) return
|
|
5976
|
-
var O = G || "YYYY-MM-DDTHH:mm:ssZ",
|
|
5977
|
-
return
|
|
5978
|
-
},
|
|
5979
|
-
return x.s(D % 12 || 12,
|
|
5980
|
-
},
|
|
5981
|
-
var
|
|
5982
|
-
return
|
|
5974
|
+
var I = this, W = this.$locale();
|
|
5975
|
+
if (!this.isValid()) return W.invalidDate || _;
|
|
5976
|
+
var O = G || "YYYY-MM-DDTHH:mm:ssZ", z = x.z(this), D = this.$H, E = this.$m, w = this.$M, P = W.weekdays, Q = W.months, te = W.meridiem, ne = function(Z, j, q, Y) {
|
|
5977
|
+
return Z && (Z[j] || Z(I, O)) || q[j].slice(0, Y);
|
|
5978
|
+
}, B = function(Z) {
|
|
5979
|
+
return x.s(D % 12 || 12, Z, "0");
|
|
5980
|
+
}, V = te || function(Z, j, q) {
|
|
5981
|
+
var Y = Z < 12 ? "AM" : "PM";
|
|
5982
|
+
return q ? Y.toLowerCase() : Y;
|
|
5983
5983
|
};
|
|
5984
|
-
return O.replace(f, (function(
|
|
5985
|
-
return
|
|
5986
|
-
switch (
|
|
5984
|
+
return O.replace(f, (function(Z, j) {
|
|
5985
|
+
return j || (function(q) {
|
|
5986
|
+
switch (q) {
|
|
5987
5987
|
case "YY":
|
|
5988
5988
|
return String(I.$y).slice(-2);
|
|
5989
5989
|
case "YYYY":
|
|
@@ -5993,9 +5993,9 @@ function Do() {
|
|
|
5993
5993
|
case "MM":
|
|
5994
5994
|
return x.s(w + 1, 2, "0");
|
|
5995
5995
|
case "MMM":
|
|
5996
|
-
return
|
|
5996
|
+
return ne(W.monthsShort, w, Q, 3);
|
|
5997
5997
|
case "MMMM":
|
|
5998
|
-
return
|
|
5998
|
+
return ne(Q, w);
|
|
5999
5999
|
case "D":
|
|
6000
6000
|
return I.$D;
|
|
6001
6001
|
case "DD":
|
|
@@ -6003,9 +6003,9 @@ function Do() {
|
|
|
6003
6003
|
case "d":
|
|
6004
6004
|
return String(I.$W);
|
|
6005
6005
|
case "dd":
|
|
6006
|
-
return
|
|
6006
|
+
return ne(W.weekdaysMin, I.$W, P, 2);
|
|
6007
6007
|
case "ddd":
|
|
6008
|
-
return
|
|
6008
|
+
return ne(W.weekdaysShort, I.$W, P, 3);
|
|
6009
6009
|
case "dddd":
|
|
6010
6010
|
return P[I.$W];
|
|
6011
6011
|
case "H":
|
|
@@ -6013,13 +6013,13 @@ function Do() {
|
|
|
6013
6013
|
case "HH":
|
|
6014
6014
|
return x.s(D, 2, "0");
|
|
6015
6015
|
case "h":
|
|
6016
|
-
return
|
|
6016
|
+
return B(1);
|
|
6017
6017
|
case "hh":
|
|
6018
|
-
return
|
|
6018
|
+
return B(2);
|
|
6019
6019
|
case "a":
|
|
6020
|
-
return
|
|
6020
|
+
return V(D, E, !0);
|
|
6021
6021
|
case "A":
|
|
6022
|
-
return
|
|
6022
|
+
return V(D, E, !1);
|
|
6023
6023
|
case "m":
|
|
6024
6024
|
return String(E);
|
|
6025
6025
|
case "mm":
|
|
@@ -6031,16 +6031,16 @@ function Do() {
|
|
|
6031
6031
|
case "SSS":
|
|
6032
6032
|
return x.s(I.$ms, 3, "0");
|
|
6033
6033
|
case "Z":
|
|
6034
|
-
return
|
|
6034
|
+
return z;
|
|
6035
6035
|
}
|
|
6036
6036
|
return null;
|
|
6037
|
-
})(
|
|
6037
|
+
})(Z) || z.replace(":", "");
|
|
6038
6038
|
}));
|
|
6039
6039
|
}, L.utcOffset = function() {
|
|
6040
6040
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
6041
|
-
}, L.diff = function(G, I,
|
|
6042
|
-
var O,
|
|
6043
|
-
return x.m(
|
|
6041
|
+
}, L.diff = function(G, I, W) {
|
|
6042
|
+
var O, z = this, D = x.p(I), E = T(G), w = (E.utcOffset() - this.utcOffset()) * r, P = this - E, Q = function() {
|
|
6043
|
+
return x.m(z, E);
|
|
6044
6044
|
};
|
|
6045
6045
|
switch (D) {
|
|
6046
6046
|
case p:
|
|
@@ -6070,15 +6070,15 @@ function Do() {
|
|
|
6070
6070
|
default:
|
|
6071
6071
|
O = P;
|
|
6072
6072
|
}
|
|
6073
|
-
return
|
|
6073
|
+
return W ? O : x.a(O);
|
|
6074
6074
|
}, L.daysInMonth = function() {
|
|
6075
6075
|
return this.endOf(o).$D;
|
|
6076
6076
|
}, L.$locale = function() {
|
|
6077
6077
|
return h[this.$L];
|
|
6078
6078
|
}, L.locale = function(G, I) {
|
|
6079
6079
|
if (!G) return this.$L;
|
|
6080
|
-
var
|
|
6081
|
-
return O && (
|
|
6080
|
+
var W = this.clone(), O = H(G, I, !0);
|
|
6081
|
+
return O && (W.$L = O), W;
|
|
6082
6082
|
}, L.clone = function() {
|
|
6083
6083
|
return x.w(this.$d, this);
|
|
6084
6084
|
}, L.toDate = function() {
|
|
@@ -6097,7 +6097,7 @@ function Do() {
|
|
|
6097
6097
|
};
|
|
6098
6098
|
})), T.extend = function(M, L) {
|
|
6099
6099
|
return M.$i || (M(L, F, T), M.$i = !0), T;
|
|
6100
|
-
}, T.locale =
|
|
6100
|
+
}, T.locale = H, T.isDayjs = N, T.unix = function(M) {
|
|
6101
6101
|
return T(1e3 * M);
|
|
6102
6102
|
}, T.en = h[v], T.Ls = h, T.p = {}, T;
|
|
6103
6103
|
}));
|
|
@@ -6125,315 +6125,330 @@ const we = /* @__PURE__ */ Ui(No), Wa = (e) => {
|
|
|
6125
6125
|
*/
|
|
6126
6126
|
resetPasswordEncrypt: a
|
|
6127
6127
|
} = se(), r = A(
|
|
6128
|
-
async (
|
|
6129
|
-
const { mac_address:
|
|
6128
|
+
async (B) => {
|
|
6129
|
+
const { mac_address: V = "", app_version: Z = "", anydesk_id: j = "" } = B;
|
|
6130
6130
|
return await e.post("/cash-register/login", {
|
|
6131
|
-
mac_address:
|
|
6131
|
+
mac_address: V,
|
|
6132
6132
|
app_version: Z,
|
|
6133
|
-
anydesk_id:
|
|
6133
|
+
anydesk_id: j
|
|
6134
6134
|
});
|
|
6135
6135
|
},
|
|
6136
6136
|
[e]
|
|
6137
6137
|
), m = A(async () => e.get("/member/getMemberInfo"), [e]), g = A(async () => await e.get("/member/getGameList"), [e]), b = A(async () => await e.get("/member/getNowCurrencyExchange"), [e]), d = A(async () => await e.get("member/getFavoriteGame"), [e]), l = A(
|
|
6138
|
-
async (
|
|
6139
|
-
const { account:
|
|
6138
|
+
async (B) => {
|
|
6139
|
+
const { account: V, password: Z, trans_code: j, two_fa_value: q } = B;
|
|
6140
6140
|
return await e.post("/login", {
|
|
6141
|
-
memId:
|
|
6141
|
+
memId: V,
|
|
6142
6142
|
passwd: Z,
|
|
6143
|
-
trans_code:
|
|
6144
|
-
two_fa_value:
|
|
6143
|
+
trans_code: j,
|
|
6144
|
+
two_fa_value: q
|
|
6145
6145
|
});
|
|
6146
6146
|
},
|
|
6147
6147
|
[e]
|
|
6148
6148
|
), t = A(async () => await e.post("/logout"), [e]), n = A(
|
|
6149
|
-
async (
|
|
6150
|
-
const { gameUid:
|
|
6151
|
-
return await e.put(`/member/toggleFavoriteGame/${
|
|
6149
|
+
async (B) => {
|
|
6150
|
+
const { gameUid: V = "", status: Z = 0 } = B;
|
|
6151
|
+
return await e.put(`/member/toggleFavoriteGame/${V}`, {
|
|
6152
6152
|
status: Z
|
|
6153
6153
|
});
|
|
6154
6154
|
},
|
|
6155
6155
|
[e]
|
|
6156
6156
|
), o = A(async () => await e.get("/profit/ranking"), [e]), s = A(
|
|
6157
6157
|
async ({
|
|
6158
|
-
memberId:
|
|
6159
|
-
password:
|
|
6158
|
+
memberId: B,
|
|
6159
|
+
password: V,
|
|
6160
6160
|
unlimitCode: Z,
|
|
6161
|
-
email:
|
|
6162
|
-
inviteCode:
|
|
6163
|
-
currencyCode:
|
|
6164
|
-
validCode:
|
|
6165
|
-
nickName:
|
|
6161
|
+
email: j,
|
|
6162
|
+
inviteCode: q,
|
|
6163
|
+
currencyCode: Y,
|
|
6164
|
+
validCode: ge,
|
|
6165
|
+
nickName: he
|
|
6166
6166
|
}) => {
|
|
6167
|
-
const
|
|
6168
|
-
memId:
|
|
6169
|
-
passwd: Ua.MD5(
|
|
6170
|
-
email:
|
|
6171
|
-
currency_code:
|
|
6172
|
-
code:
|
|
6173
|
-
nick_name:
|
|
6167
|
+
const ye = {
|
|
6168
|
+
memId: B,
|
|
6169
|
+
passwd: Ua.MD5(V).toString(),
|
|
6170
|
+
email: j,
|
|
6171
|
+
currency_code: Y,
|
|
6172
|
+
code: ge,
|
|
6173
|
+
nick_name: he
|
|
6174
6174
|
};
|
|
6175
|
-
return
|
|
6175
|
+
return j && (ye.email = j), Z && (ye.unlimit_code = Z), q && (ye.invite = q), e.post("/siginUp", ye);
|
|
6176
6176
|
},
|
|
6177
6177
|
[e]
|
|
6178
6178
|
), p = A(
|
|
6179
|
-
async (
|
|
6180
|
-
const { name:
|
|
6179
|
+
async (B) => {
|
|
6180
|
+
const { name: V, birthday: Z, email: j, mobile: q } = B;
|
|
6181
6181
|
return await e.post("/editMembetInfo", {
|
|
6182
|
-
name:
|
|
6182
|
+
name: V,
|
|
6183
6183
|
// 暱稱
|
|
6184
6184
|
birthday: Z,
|
|
6185
6185
|
// 生日 (格式:YYYY-MM-DD)
|
|
6186
|
-
email:
|
|
6186
|
+
email: j,
|
|
6187
6187
|
// 電子郵件
|
|
6188
|
-
mobile:
|
|
6188
|
+
mobile: q
|
|
6189
6189
|
// 手機號碼
|
|
6190
6190
|
});
|
|
6191
6191
|
},
|
|
6192
6192
|
[e]
|
|
6193
6193
|
), u = A(
|
|
6194
|
-
async (
|
|
6195
|
-
const {
|
|
6194
|
+
async (B) => {
|
|
6195
|
+
const { name: V, birthday: Z, email: j, mobile: q } = B;
|
|
6196
|
+
return await e.post("/editMemberInfo", {
|
|
6197
|
+
name: V,
|
|
6198
|
+
// 暱稱
|
|
6199
|
+
birthday: Z,
|
|
6200
|
+
// 生日 (格式:YYYY-MM-DD)
|
|
6201
|
+
email: j,
|
|
6202
|
+
// 電子郵件
|
|
6203
|
+
mobile: q
|
|
6204
|
+
// 手機號碼
|
|
6205
|
+
});
|
|
6206
|
+
},
|
|
6207
|
+
[e]
|
|
6208
|
+
), _ = A(
|
|
6209
|
+
async (B) => {
|
|
6210
|
+
const { oldPwd: V, newPwd: Z, encrypt: j } = B, q = Lo(j || a || "md5");
|
|
6196
6211
|
return await e.post("/passwordReset", {
|
|
6197
|
-
old_pwd:
|
|
6198
|
-
new_pwd:
|
|
6212
|
+
old_pwd: q(V),
|
|
6213
|
+
new_pwd: q(Z)
|
|
6199
6214
|
});
|
|
6200
6215
|
},
|
|
6201
6216
|
[e, a]
|
|
6202
|
-
),
|
|
6203
|
-
async (
|
|
6204
|
-
const { newPwd:
|
|
6217
|
+
), y = A(
|
|
6218
|
+
async (B) => {
|
|
6219
|
+
const { newPwd: V } = B, Z = Ua.MD5(V).toString();
|
|
6205
6220
|
return await e.post("/member/initset", {
|
|
6206
6221
|
password: Z,
|
|
6207
6222
|
password_confirmation: Z
|
|
6208
6223
|
});
|
|
6209
6224
|
},
|
|
6210
6225
|
[e]
|
|
6211
|
-
),
|
|
6212
|
-
async (
|
|
6213
|
-
const { newPwd:
|
|
6226
|
+
), f = A(
|
|
6227
|
+
async (B) => {
|
|
6228
|
+
const { newPwd: V, confirmNewPwd: Z } = B;
|
|
6214
6229
|
return await e.post("/setWithdrawPassword", {
|
|
6215
|
-
newPassword: Wa(
|
|
6230
|
+
newPassword: Wa(V),
|
|
6216
6231
|
confirmPassword: Wa(Z)
|
|
6217
6232
|
});
|
|
6218
6233
|
},
|
|
6219
6234
|
[e]
|
|
6220
|
-
),
|
|
6221
|
-
async (
|
|
6222
|
-
const { oldPwd:
|
|
6235
|
+
), c = A(
|
|
6236
|
+
async (B) => {
|
|
6237
|
+
const { oldPwd: V, newPwd: Z } = B;
|
|
6223
6238
|
return await e.post("/withdrawPasswordReset", {
|
|
6224
|
-
old_pwd: Wa(
|
|
6239
|
+
old_pwd: Wa(V),
|
|
6225
6240
|
new_pwd: Wa(Z)
|
|
6226
6241
|
});
|
|
6227
6242
|
},
|
|
6228
6243
|
[e]
|
|
6229
|
-
),
|
|
6230
|
-
async (
|
|
6231
|
-
const { mobile:
|
|
6244
|
+
), U = A(
|
|
6245
|
+
async (B) => {
|
|
6246
|
+
const { mobile: V, verification_code: Z } = B;
|
|
6232
6247
|
return await e.post("/withdrawPasswordRenew", {
|
|
6233
|
-
mobile:
|
|
6248
|
+
mobile: V,
|
|
6234
6249
|
verification_code: Z
|
|
6235
6250
|
});
|
|
6236
6251
|
},
|
|
6237
6252
|
[e]
|
|
6238
|
-
),
|
|
6239
|
-
async ({ paramsData:
|
|
6240
|
-
const { start_time:
|
|
6253
|
+
), C = A(
|
|
6254
|
+
async ({ paramsData: B }) => {
|
|
6255
|
+
const { start_time: V, end_time: Z, limit: j = 25 } = B || {};
|
|
6241
6256
|
return await e.get("/report/totalprofit", {
|
|
6242
6257
|
params: {
|
|
6243
|
-
str_date: `${we(
|
|
6258
|
+
str_date: `${we(V).format("YYYY-MM-DD")} 12:00:00`,
|
|
6244
6259
|
end_date: `${we(Z).format("YYYY-MM-DD")} 11:59:59`,
|
|
6245
|
-
limit:
|
|
6260
|
+
limit: j
|
|
6246
6261
|
}
|
|
6247
6262
|
});
|
|
6248
6263
|
},
|
|
6249
6264
|
[e]
|
|
6250
|
-
),
|
|
6251
|
-
async (
|
|
6252
|
-
const { platform:
|
|
6265
|
+
), v = A(
|
|
6266
|
+
async (B) => {
|
|
6267
|
+
const { platform: V } = B;
|
|
6253
6268
|
return await e.post("/member/all-in-la", {
|
|
6254
|
-
platform:
|
|
6269
|
+
platform: V
|
|
6255
6270
|
});
|
|
6256
6271
|
},
|
|
6257
6272
|
[e]
|
|
6258
|
-
),
|
|
6259
|
-
async (
|
|
6260
|
-
const { memId:
|
|
6273
|
+
), h = A(async () => await e.get("/member/checkRestrictedWagering"), [e]), S = A(
|
|
6274
|
+
async (B) => {
|
|
6275
|
+
const { memId: V, point: Z, currency: j, password: q } = B;
|
|
6261
6276
|
return await e.post("/pointsTransaction", {
|
|
6262
|
-
to_memId:
|
|
6277
|
+
to_memId: V,
|
|
6263
6278
|
point: Z,
|
|
6264
|
-
currency:
|
|
6265
|
-
password: Wa(
|
|
6279
|
+
currency: j,
|
|
6280
|
+
password: Wa(q)
|
|
6266
6281
|
});
|
|
6267
6282
|
},
|
|
6268
6283
|
[e]
|
|
6269
|
-
),
|
|
6270
|
-
async ({ formData:
|
|
6284
|
+
), N = A(
|
|
6285
|
+
async ({ formData: B }) => {
|
|
6271
6286
|
const {
|
|
6272
|
-
bank_name:
|
|
6287
|
+
bank_name: V,
|
|
6273
6288
|
bank_account_name: Z,
|
|
6274
|
-
bank_branch_name:
|
|
6275
|
-
bank_account:
|
|
6276
|
-
bank_card_number:
|
|
6277
|
-
id_card:
|
|
6278
|
-
id_pic:
|
|
6279
|
-
} =
|
|
6280
|
-
return await i.post("/bindBankAccount",
|
|
6289
|
+
bank_branch_name: j,
|
|
6290
|
+
bank_account: q,
|
|
6291
|
+
bank_card_number: Y,
|
|
6292
|
+
id_card: ge,
|
|
6293
|
+
id_pic: he
|
|
6294
|
+
} = B;
|
|
6295
|
+
return await i.post("/bindBankAccount", B);
|
|
6281
6296
|
},
|
|
6282
6297
|
[i]
|
|
6283
|
-
),
|
|
6284
|
-
async (
|
|
6285
|
-
const { point_transfer:
|
|
6298
|
+
), H = A(
|
|
6299
|
+
async (B) => {
|
|
6300
|
+
const { point_transfer: V } = B;
|
|
6286
6301
|
return await e.post("/cash-register/clear", {
|
|
6287
|
-
point_transfer:
|
|
6302
|
+
point_transfer: V
|
|
6288
6303
|
});
|
|
6289
6304
|
},
|
|
6290
6305
|
[e]
|
|
6291
|
-
),
|
|
6292
|
-
async (
|
|
6293
|
-
const { trans_code:
|
|
6306
|
+
), T = A(
|
|
6307
|
+
async (B) => {
|
|
6308
|
+
const { trans_code: V, line_id: Z, invite: j, line_name: q } = B;
|
|
6294
6309
|
return await e.post("/goLine", {
|
|
6295
|
-
trans_code:
|
|
6310
|
+
trans_code: V,
|
|
6296
6311
|
line_id: Z,
|
|
6297
|
-
invite:
|
|
6298
|
-
line_name:
|
|
6312
|
+
invite: j,
|
|
6313
|
+
line_name: q
|
|
6299
6314
|
});
|
|
6300
6315
|
},
|
|
6301
6316
|
[e]
|
|
6302
|
-
),
|
|
6303
|
-
async (
|
|
6304
|
-
const { trans_code:
|
|
6317
|
+
), x = A(
|
|
6318
|
+
async (B) => {
|
|
6319
|
+
const { trans_code: V, line_id: Z, line_name: j } = B;
|
|
6305
6320
|
return await e.post("/login/line", {
|
|
6306
|
-
trans_code:
|
|
6321
|
+
trans_code: V,
|
|
6307
6322
|
line_id: Z,
|
|
6308
|
-
line_name:
|
|
6323
|
+
line_name: j
|
|
6309
6324
|
});
|
|
6310
6325
|
},
|
|
6311
6326
|
[e]
|
|
6312
|
-
),
|
|
6313
|
-
async (
|
|
6314
|
-
const { mac_address:
|
|
6315
|
-
return await e.get(`/machine-login-code/${
|
|
6327
|
+
), F = A(
|
|
6328
|
+
async (B) => {
|
|
6329
|
+
const { mac_address: V } = B;
|
|
6330
|
+
return await e.get(`/machine-login-code/${V}`);
|
|
6316
6331
|
},
|
|
6317
6332
|
[e]
|
|
6318
|
-
),
|
|
6319
|
-
async (
|
|
6320
|
-
const { member_info_uid:
|
|
6321
|
-
return await e.post(`/member/transfer/${
|
|
6333
|
+
), R = A(
|
|
6334
|
+
async (B) => {
|
|
6335
|
+
const { member_info_uid: V, point: Z, currency: j, withdraw_password: q } = B;
|
|
6336
|
+
return await e.post(`/member/transfer/${V}`, {
|
|
6322
6337
|
point: Z,
|
|
6323
|
-
currency:
|
|
6324
|
-
withdraw_password:
|
|
6338
|
+
currency: j,
|
|
6339
|
+
withdraw_password: q
|
|
6325
6340
|
});
|
|
6326
6341
|
},
|
|
6327
6342
|
[e]
|
|
6328
|
-
),
|
|
6329
|
-
async (
|
|
6330
|
-
const { member_info_uid:
|
|
6331
|
-
return await e.get(`/member/transfer/${
|
|
6343
|
+
), M = A(
|
|
6344
|
+
async (B) => {
|
|
6345
|
+
const { member_info_uid: V, point: Z, currency: j, withdraw_password: q } = B;
|
|
6346
|
+
return await e.get(`/member/transfer/${V}`, {
|
|
6332
6347
|
params: {
|
|
6333
6348
|
point: Z,
|
|
6334
|
-
currency:
|
|
6335
|
-
withdraw_password:
|
|
6349
|
+
currency: j,
|
|
6350
|
+
withdraw_password: q
|
|
6336
6351
|
}
|
|
6337
6352
|
});
|
|
6338
6353
|
},
|
|
6339
6354
|
[e]
|
|
6340
|
-
),
|
|
6341
|
-
async (
|
|
6342
|
-
const { mobile:
|
|
6355
|
+
), L = A(
|
|
6356
|
+
async (B) => {
|
|
6357
|
+
const { mobile: V, verifyCode: Z } = B;
|
|
6343
6358
|
return await e.post("/sms/verifyValidationCode", {
|
|
6344
|
-
mobile:
|
|
6359
|
+
mobile: V,
|
|
6345
6360
|
inputCode: Z
|
|
6346
6361
|
});
|
|
6347
6362
|
},
|
|
6348
6363
|
[e]
|
|
6349
|
-
),
|
|
6350
|
-
async (
|
|
6351
|
-
const { mobile:
|
|
6364
|
+
), G = A(
|
|
6365
|
+
async (B) => {
|
|
6366
|
+
const { mobile: V, verifyCode: Z, snCode: j, invoiceType: q, invoiceCode: Y } = B;
|
|
6352
6367
|
return await e.post("/goMobile", {
|
|
6353
|
-
mobile:
|
|
6368
|
+
mobile: V,
|
|
6354
6369
|
verification_code: Z,
|
|
6355
|
-
sn_code:
|
|
6356
|
-
invoice_type:
|
|
6357
|
-
invoice_code:
|
|
6370
|
+
sn_code: j,
|
|
6371
|
+
invoice_type: q,
|
|
6372
|
+
invoice_code: Y
|
|
6358
6373
|
});
|
|
6359
6374
|
},
|
|
6360
6375
|
[e]
|
|
6361
|
-
),
|
|
6362
|
-
async (
|
|
6363
|
-
const { mobile:
|
|
6376
|
+
), I = A(
|
|
6377
|
+
async (B) => {
|
|
6378
|
+
const { mobile: V, password: Z, verifyCode: j, invite: q, invoiceType: Y, invoiceCode: ge } = B;
|
|
6364
6379
|
return await e.post("/goMobileByInvite", {
|
|
6365
|
-
mobile:
|
|
6380
|
+
mobile: V,
|
|
6366
6381
|
passwd: Ua.MD5(Z).toString(),
|
|
6367
|
-
verification_code:
|
|
6368
|
-
invite:
|
|
6369
|
-
invoice_type:
|
|
6370
|
-
invoice_code:
|
|
6382
|
+
verification_code: j,
|
|
6383
|
+
invite: q,
|
|
6384
|
+
invoice_type: Y,
|
|
6385
|
+
invoice_code: ge
|
|
6371
6386
|
});
|
|
6372
6387
|
},
|
|
6373
6388
|
[e]
|
|
6374
|
-
),
|
|
6375
|
-
async (
|
|
6376
|
-
const { mobile:
|
|
6389
|
+
), W = A(
|
|
6390
|
+
async (B) => {
|
|
6391
|
+
const { mobile: V, verifyCode: Z, password: j } = B;
|
|
6377
6392
|
return await e.post("/forgot-password", {
|
|
6378
|
-
mobile:
|
|
6393
|
+
mobile: V,
|
|
6379
6394
|
verification_code: Z,
|
|
6380
|
-
passwd: Ua.MD5(
|
|
6395
|
+
passwd: Ua.MD5(j).toString()
|
|
6381
6396
|
});
|
|
6382
6397
|
},
|
|
6383
6398
|
[e]
|
|
6384
|
-
),
|
|
6385
|
-
async (
|
|
6386
|
-
const { mobile:
|
|
6399
|
+
), O = A(
|
|
6400
|
+
async (B) => {
|
|
6401
|
+
const { mobile: V, password: Z, invite: j, invoiceType: q, invoiceCode: Y } = B;
|
|
6387
6402
|
return await e.post("/goMobileByPassword", {
|
|
6388
|
-
mobile:
|
|
6403
|
+
mobile: V,
|
|
6389
6404
|
password: Ua.MD5(Z).toString(),
|
|
6390
|
-
invite:
|
|
6391
|
-
invoice_type:
|
|
6392
|
-
invoice_code:
|
|
6405
|
+
invite: j,
|
|
6406
|
+
invoice_type: q,
|
|
6407
|
+
invoice_code: Y
|
|
6393
6408
|
});
|
|
6394
6409
|
},
|
|
6395
6410
|
[e]
|
|
6396
|
-
),
|
|
6397
|
-
async (
|
|
6411
|
+
), z = A(
|
|
6412
|
+
async (B) => await e.get(`/checkMobile/${B}`),
|
|
6398
6413
|
[e]
|
|
6399
|
-
),
|
|
6400
|
-
async (
|
|
6401
|
-
const { mobile:
|
|
6414
|
+
), D = A(
|
|
6415
|
+
async (B) => {
|
|
6416
|
+
const { mobile: V, invite: Z } = B;
|
|
6402
6417
|
return await e.get("/sms/getValidCode", {
|
|
6403
6418
|
params: {
|
|
6404
|
-
mobile:
|
|
6419
|
+
mobile: V,
|
|
6405
6420
|
invite: Z
|
|
6406
6421
|
}
|
|
6407
6422
|
});
|
|
6408
6423
|
},
|
|
6409
6424
|
[e]
|
|
6410
|
-
),
|
|
6411
|
-
async (
|
|
6412
|
-
const { bindType:
|
|
6425
|
+
), E = A(
|
|
6426
|
+
async (B) => {
|
|
6427
|
+
const { bindType: V, bindId: Z } = B;
|
|
6413
6428
|
return await e.post("/member/bindThirdPartyAccount", {
|
|
6414
|
-
bind_type:
|
|
6429
|
+
bind_type: V,
|
|
6415
6430
|
bind_id: Z
|
|
6416
6431
|
});
|
|
6417
6432
|
},
|
|
6418
6433
|
[e]
|
|
6419
|
-
),
|
|
6420
|
-
async (
|
|
6434
|
+
), w = A(async () => await e.get("/jackpot", {}), [e]), P = A(
|
|
6435
|
+
async (B) => await e.get("/total-bet-ranking"),
|
|
6421
6436
|
[e]
|
|
6422
|
-
),
|
|
6423
|
-
async (
|
|
6424
|
-
const { avatarId:
|
|
6437
|
+
), Q = A(async () => await e.get("/member/avatar/list"), [e]), te = A(
|
|
6438
|
+
async (B) => {
|
|
6439
|
+
const { avatarId: V } = B;
|
|
6425
6440
|
return await e.post("/member/avatar/change", {
|
|
6426
|
-
avatar_file_name:
|
|
6441
|
+
avatar_file_name: V
|
|
6427
6442
|
});
|
|
6428
6443
|
},
|
|
6429
6444
|
[e]
|
|
6430
|
-
),
|
|
6431
|
-
async ({ formData:
|
|
6445
|
+
), ne = A(
|
|
6446
|
+
async ({ formData: B }) => await e.post("/cash-register/createMachine", B),
|
|
6432
6447
|
[e]
|
|
6433
6448
|
);
|
|
6434
6449
|
return {
|
|
6435
6450
|
machineLoginApi: r,
|
|
6436
|
-
createMachineApi:
|
|
6451
|
+
createMachineApi: ne,
|
|
6437
6452
|
userInfoApi: m,
|
|
6438
6453
|
userGameListApi: g,
|
|
6439
6454
|
userFavoriteGameApi: d,
|
|
@@ -6444,36 +6459,38 @@ const we = /* @__PURE__ */ Ui(No), Wa = (e) => {
|
|
|
6444
6459
|
rankingGameApi: o,
|
|
6445
6460
|
userSignUpApi: s,
|
|
6446
6461
|
updateUserInfoApi: p,
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6462
|
+
// @deprecated 待舊端點移除後刪掉
|
|
6463
|
+
updateMemberInfoApi: u,
|
|
6464
|
+
resetUserPasswordApi: _,
|
|
6465
|
+
memberInitSetApi: y,
|
|
6466
|
+
setUserTransactionPasswordApi: f,
|
|
6467
|
+
resetUserTransactionPasswordApi: c,
|
|
6468
|
+
userRebateApi: C,
|
|
6469
|
+
userBindBankApi: N,
|
|
6470
|
+
transferInGameApi: v,
|
|
6471
|
+
checkUserWagerApi: h,
|
|
6472
|
+
pointTransferApi: S,
|
|
6473
|
+
abandonPointsApi: H,
|
|
6474
|
+
lineLoginApi: T,
|
|
6475
|
+
lineLogin2Api: x,
|
|
6476
|
+
getMachineLoginCodeApi: F,
|
|
6477
|
+
memberTransferApi: R,
|
|
6478
|
+
checkMemberTransferApi: M,
|
|
6479
|
+
mobileLoginApi: L,
|
|
6480
|
+
sendMobileVerifyCodeApi: D,
|
|
6481
|
+
mobileLoginApiV2: G,
|
|
6482
|
+
bindAccountApi: E,
|
|
6483
|
+
mobileRegisterApi: I,
|
|
6484
|
+
forgotPasswordApi: W,
|
|
6485
|
+
mobilePasswordApi: O,
|
|
6486
|
+
checkMobileApi: z,
|
|
6487
|
+
verifyResetActionApi: U,
|
|
6488
|
+
getJackpotApi: w,
|
|
6489
|
+
getBetRankingApi: P,
|
|
6490
|
+
getUserAvatarListApi: Q,
|
|
6491
|
+
updateUserAvatarApi: te
|
|
6475
6492
|
};
|
|
6476
|
-
},
|
|
6493
|
+
}, jm = ({ otherQueryKey: e = [], options: i = {} } = {}) => {
|
|
6477
6494
|
const { userCurrencyExchangeApi: a } = re(), { getToken: r } = se(), { enabled: m, ...g } = i, d = !!r?.() && (m ? m.every((l) => l) : !0);
|
|
6478
6495
|
return $n({
|
|
6479
6496
|
queries: [
|
|
@@ -6487,7 +6504,7 @@ const we = /* @__PURE__ */ Ui(No), Wa = (e) => {
|
|
|
6487
6504
|
}
|
|
6488
6505
|
]
|
|
6489
6506
|
});
|
|
6490
|
-
},
|
|
6507
|
+
}, Qm = ({
|
|
6491
6508
|
refetchInterval: e = 5e4,
|
|
6492
6509
|
trigger: i = [],
|
|
6493
6510
|
enabled: a = !0
|
|
@@ -6503,7 +6520,7 @@ const we = /* @__PURE__ */ Ui(No), Wa = (e) => {
|
|
|
6503
6520
|
}
|
|
6504
6521
|
]
|
|
6505
6522
|
});
|
|
6506
|
-
},
|
|
6523
|
+
}, Ym = ({ enabled: e = !0 } = {}) => {
|
|
6507
6524
|
const {
|
|
6508
6525
|
userInfoApi: i,
|
|
6509
6526
|
userFavoriteGameApi: a,
|
|
@@ -6616,7 +6633,7 @@ const we = /* @__PURE__ */ Ui(No), Wa = (e) => {
|
|
|
6616
6633
|
queryFn: async () => await a(i),
|
|
6617
6634
|
...e
|
|
6618
6635
|
});
|
|
6619
|
-
},
|
|
6636
|
+
}, Xm = ({
|
|
6620
6637
|
options: e = {
|
|
6621
6638
|
betRecord: {},
|
|
6622
6639
|
betRecordDetail: {}
|
|
@@ -7290,49 +7307,49 @@ function Ei() {
|
|
|
7290
7307
|
}
|
|
7291
7308
|
return null;
|
|
7292
7309
|
}, [y, p.disableJson]), h = (0, m.useRef)(null), S = (0, m.useRef)(null), N = (0, m.useRef)(function() {
|
|
7293
|
-
}),
|
|
7310
|
+
}), H = (0, m.useRef)(0), T = (0, m.useRef)(Date.now()), x = (0, m.useRef)([]), F = (0, m.useRef)(null), R = (0, m.useRef)(p);
|
|
7294
7311
|
R.current = p;
|
|
7295
|
-
var M = h.current && U[h.current] !== void 0 ? U[h.current] : s !== null && u === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, L = p.queryParams ? JSON.stringify(p.queryParams) : null, G = (0, m.useCallback)(function(O,
|
|
7312
|
+
var M = h.current && U[h.current] !== void 0 ? U[h.current] : s !== null && u === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, L = p.queryParams ? JSON.stringify(p.queryParams) : null, G = (0, m.useCallback)(function(O, z) {
|
|
7296
7313
|
var D;
|
|
7297
|
-
if (
|
|
7314
|
+
if (z === void 0 && (z = !0), b.isEventSourceSupported && S.current instanceof EventSource) {
|
|
7298
7315
|
console.warn("Unable to send a message from an eventSource");
|
|
7299
7316
|
return;
|
|
7300
7317
|
}
|
|
7301
|
-
((D = S.current) === null || D === void 0 ? void 0 : D.readyState) === b.ReadyState.OPEN ? ((0, n.assertIsWebSocket)(S.current, R.current.skipAssert), S.current.send(O)) :
|
|
7302
|
-
}, []), I = (0, m.useCallback)(function(O,
|
|
7303
|
-
|
|
7304
|
-
}, [G]),
|
|
7318
|
+
((D = S.current) === null || D === void 0 ? void 0 : D.readyState) === b.ReadyState.OPEN ? ((0, n.assertIsWebSocket)(S.current, R.current.skipAssert), S.current.send(O)) : z && x.current.push(O);
|
|
7319
|
+
}, []), I = (0, m.useCallback)(function(O, z) {
|
|
7320
|
+
z === void 0 && (z = !0), G(JSON.stringify(O), z);
|
|
7321
|
+
}, [G]), W = (0, m.useCallback)(function() {
|
|
7305
7322
|
return R.current.share !== !0 || b.isEventSourceSupported && S.current instanceof EventSource ? S.current : (F.current === null && S.current && ((0, n.assertIsWebSocket)(S.current, R.current.skipAssert), F.current = (0, t.default)(S.current, N)), F.current);
|
|
7306
7323
|
}, []);
|
|
7307
7324
|
return (0, m.useEffect)(function() {
|
|
7308
7325
|
if (s !== null && u === !0) {
|
|
7309
|
-
var O,
|
|
7326
|
+
var O, z = !1, D = !0, E = function() {
|
|
7310
7327
|
return i(void 0, void 0, void 0, function() {
|
|
7311
7328
|
var w, P, Q;
|
|
7312
|
-
return a(this, function(
|
|
7313
|
-
switch (
|
|
7329
|
+
return a(this, function(te) {
|
|
7330
|
+
switch (te.label) {
|
|
7314
7331
|
case 0:
|
|
7315
7332
|
return w = h, [4, (0, l.getUrl)(s, R)];
|
|
7316
7333
|
case 1:
|
|
7317
|
-
return w.current =
|
|
7318
|
-
return C(function(
|
|
7319
|
-
return e(e({},
|
|
7334
|
+
return w.current = te.sent(), h.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), h.current = "ABORTED", (0, g.flushSync)(function() {
|
|
7335
|
+
return C(function(ne) {
|
|
7336
|
+
return e(e({}, ne), { ABORTED: b.ReadyState.CLOSED });
|
|
7320
7337
|
});
|
|
7321
7338
|
}), [
|
|
7322
7339
|
2
|
|
7323
7340
|
/*return*/
|
|
7324
|
-
]) : (P = function(
|
|
7325
|
-
|
|
7326
|
-
return f(
|
|
7341
|
+
]) : (P = function(ne) {
|
|
7342
|
+
z || (0, g.flushSync)(function() {
|
|
7343
|
+
return f(ne);
|
|
7327
7344
|
});
|
|
7328
|
-
}, Q = function(
|
|
7329
|
-
|
|
7330
|
-
return C(function(
|
|
7331
|
-
var
|
|
7332
|
-
return e(e({},
|
|
7345
|
+
}, Q = function(ne) {
|
|
7346
|
+
z || (0, g.flushSync)(function() {
|
|
7347
|
+
return C(function(B) {
|
|
7348
|
+
var V;
|
|
7349
|
+
return e(e({}, B), h.current && (V = {}, V[h.current] = ne, V));
|
|
7333
7350
|
});
|
|
7334
7351
|
});
|
|
7335
|
-
}, D && (O = (0, d.createOrJoinSocket)(S, h.current, Q, R, P, N,
|
|
7352
|
+
}, D && (O = (0, d.createOrJoinSocket)(S, h.current, Q, R, P, N, H, T, G)), [
|
|
7336
7353
|
2
|
|
7337
7354
|
/*return*/
|
|
7338
7355
|
]);
|
|
@@ -7341,11 +7358,11 @@ function Ei() {
|
|
|
7341
7358
|
});
|
|
7342
7359
|
};
|
|
7343
7360
|
return N.current = function() {
|
|
7344
|
-
|
|
7361
|
+
z || (F.current && (F.current = null), O?.(), E());
|
|
7345
7362
|
}, E(), function() {
|
|
7346
|
-
|
|
7363
|
+
z = !0, D = !1, F.current && (F.current = null), O?.(), f(null);
|
|
7347
7364
|
};
|
|
7348
|
-
} else (s === null || u === !1) && (
|
|
7365
|
+
} else (s === null || u === !1) && (H.current = 0, C(function(w) {
|
|
7349
7366
|
var P;
|
|
7350
7367
|
return e(e({}, w), h.current && (P = {}, P[h.current] = b.ReadyState.CLOSED, P));
|
|
7351
7368
|
}));
|
|
@@ -7359,7 +7376,7 @@ function Ei() {
|
|
|
7359
7376
|
lastMessage: y,
|
|
7360
7377
|
lastJsonMessage: v,
|
|
7361
7378
|
readyState: M,
|
|
7362
|
-
getWebSocket:
|
|
7379
|
+
getWebSocket: W
|
|
7363
7380
|
};
|
|
7364
7381
|
};
|
|
7365
7382
|
return qe.useWebSocket = o, qe;
|
|
@@ -7487,7 +7504,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7487
7504
|
isInGameBox: r = !1,
|
|
7488
7505
|
currentGamePlatform: m = ""
|
|
7489
7506
|
}) => {
|
|
7490
|
-
const { store: g, lng: b } = se(), { isReady: d, setAsReady: l, isPending: t, setAsPending: n } = er(), o = Je(b), { mutateAsync: s } =
|
|
7507
|
+
const { store: g, lng: b } = se(), { isReady: d, setAsReady: l, isPending: t, setAsPending: n } = er(), o = Je(b), { mutateAsync: s } = ls();
|
|
7491
7508
|
return !e || !i || !a ? { handleTransferInGame: () => {
|
|
7492
7509
|
} } : { handleTransferInGame: async () => {
|
|
7493
7510
|
r && await s({
|
|
@@ -7556,7 +7573,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7556
7573
|
});
|
|
7557
7574
|
}, Ko = ({ options: e } = {}) => {
|
|
7558
7575
|
const { withdrawMonthCardApi: i } = gr(), a = Da();
|
|
7559
|
-
return
|
|
7576
|
+
return ae({
|
|
7560
7577
|
mutationKey: ["withdrawMonthCard"],
|
|
7561
7578
|
mutationFn: i,
|
|
7562
7579
|
onSuccess: (r, m, g) => {
|
|
@@ -7564,7 +7581,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7564
7581
|
},
|
|
7565
7582
|
...e
|
|
7566
7583
|
});
|
|
7567
|
-
},
|
|
7584
|
+
}, eu = ({
|
|
7568
7585
|
options: e = {
|
|
7569
7586
|
monthCardInfo: {},
|
|
7570
7587
|
withdrawMonthCard: {}
|
|
@@ -7621,68 +7638,75 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7621
7638
|
};
|
|
7622
7639
|
}, qo = ({ options: e } = {}) => {
|
|
7623
7640
|
const { userLoginApi: i } = re();
|
|
7624
|
-
return
|
|
7641
|
+
return ae({
|
|
7625
7642
|
mutationKey: ["userLogin"],
|
|
7626
7643
|
mutationFn: async (a) => i(a),
|
|
7627
7644
|
...e
|
|
7628
7645
|
});
|
|
7629
7646
|
}, $o = ({ options: e } = {}) => {
|
|
7630
7647
|
const { userLogoutApi: i } = re();
|
|
7631
|
-
return
|
|
7648
|
+
return ae({
|
|
7632
7649
|
mutationKey: ["userLogout"],
|
|
7633
7650
|
mutationFn: async () => i(),
|
|
7634
7651
|
...e
|
|
7635
7652
|
});
|
|
7636
7653
|
}, jo = ({ options: e } = {}) => {
|
|
7637
7654
|
const { userSignUpApi: i } = re();
|
|
7638
|
-
return
|
|
7655
|
+
return ae({
|
|
7639
7656
|
mutationKey: ["userSignUp"],
|
|
7640
7657
|
mutationFn: async (a) => i(a),
|
|
7641
7658
|
...e
|
|
7642
7659
|
});
|
|
7643
7660
|
}, Qo = ({ options: e } = {}) => {
|
|
7644
7661
|
const { addOrRemoveFavoriteGameApi: i } = re();
|
|
7645
|
-
return
|
|
7662
|
+
return ae({
|
|
7646
7663
|
mutationKey: ["toggleFavoriteGame"],
|
|
7647
7664
|
mutationFn: async (a) => i(a),
|
|
7648
7665
|
...e
|
|
7649
7666
|
});
|
|
7650
7667
|
}, Yo = ({ options: e } = {}) => {
|
|
7651
7668
|
const { updateUserInfoApi: i } = re();
|
|
7652
|
-
return
|
|
7669
|
+
return ae({
|
|
7653
7670
|
mutationKey: ["updateUserInfo"],
|
|
7654
7671
|
mutationFn: async (a) => i(a),
|
|
7655
7672
|
...e
|
|
7656
7673
|
});
|
|
7657
7674
|
}, Xo = ({ options: e } = {}) => {
|
|
7675
|
+
const { updateMemberInfoApi: i } = re();
|
|
7676
|
+
return ae({
|
|
7677
|
+
mutationKey: ["updateMemberInfo"],
|
|
7678
|
+
mutationFn: async (a) => i(a),
|
|
7679
|
+
...e
|
|
7680
|
+
});
|
|
7681
|
+
}, es = ({ options: e } = {}) => {
|
|
7658
7682
|
const { resetUserPasswordApi: i } = re();
|
|
7659
|
-
return
|
|
7683
|
+
return ae({
|
|
7660
7684
|
mutationKey: ["resetUserPassword"],
|
|
7661
7685
|
mutationFn: async (a) => i(a),
|
|
7662
7686
|
...e
|
|
7663
7687
|
});
|
|
7664
|
-
},
|
|
7688
|
+
}, as = ({ options: e } = {}) => {
|
|
7665
7689
|
const { memberInitSetApi: i } = re();
|
|
7666
|
-
return
|
|
7690
|
+
return ae({
|
|
7667
7691
|
mutationKey: ["memberInitSet"],
|
|
7668
7692
|
mutationFn: async (a) => i(a),
|
|
7669
7693
|
...e
|
|
7670
7694
|
});
|
|
7671
|
-
},
|
|
7695
|
+
}, ts = ({ options: e } = {}) => {
|
|
7672
7696
|
const { setUserTransactionPasswordApi: i } = re();
|
|
7673
|
-
return
|
|
7697
|
+
return ae({
|
|
7674
7698
|
mutationKey: ["setUserTransactionPassword"],
|
|
7675
7699
|
mutationFn: async (a) => i(a),
|
|
7676
7700
|
...e
|
|
7677
7701
|
});
|
|
7678
|
-
},
|
|
7702
|
+
}, is = ({ options: e } = {}) => {
|
|
7679
7703
|
const { resetUserTransactionPasswordApi: i } = re();
|
|
7680
|
-
return
|
|
7704
|
+
return ae({
|
|
7681
7705
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7682
7706
|
mutationFn: async (a) => i(a),
|
|
7683
7707
|
...e
|
|
7684
7708
|
});
|
|
7685
|
-
},
|
|
7709
|
+
}, ns = ({ paramsData: e, options: i } = {}) => {
|
|
7686
7710
|
const { userRebateApi: a } = re(), { getToken: r } = se();
|
|
7687
7711
|
return r?.(), ee({
|
|
7688
7712
|
queryKey: ["userRebate", e],
|
|
@@ -7690,24 +7714,24 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7690
7714
|
enabled: !1,
|
|
7691
7715
|
...i
|
|
7692
7716
|
});
|
|
7693
|
-
},
|
|
7717
|
+
}, rs = ({ options: e } = {}) => {
|
|
7694
7718
|
const { userBindBankApi: i } = re();
|
|
7695
|
-
return
|
|
7719
|
+
return ae({
|
|
7696
7720
|
mutationKey: ["userBindBank"],
|
|
7697
7721
|
mutationFn: async (a) => i({ formData: a }),
|
|
7698
7722
|
...e
|
|
7699
7723
|
});
|
|
7700
|
-
},
|
|
7724
|
+
}, ls = ({ options: e } = {}) => {
|
|
7701
7725
|
const { transferInGameApi: i } = re();
|
|
7702
|
-
return
|
|
7726
|
+
return ae({
|
|
7703
7727
|
mutationKey: ["transferInGame"],
|
|
7704
7728
|
mutationFn: async (a) => i(a),
|
|
7705
7729
|
retry: !1,
|
|
7706
7730
|
...e
|
|
7707
7731
|
});
|
|
7708
|
-
},
|
|
7732
|
+
}, au = ({ options: e } = {}) => {
|
|
7709
7733
|
const { currency: i } = se(), { pointTransferApi: a } = re();
|
|
7710
|
-
return
|
|
7734
|
+
return ae({
|
|
7711
7735
|
mutationKey: ["pointTransfer"],
|
|
7712
7736
|
mutationFn: async (r) => a({
|
|
7713
7737
|
...r,
|
|
@@ -7715,7 +7739,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7715
7739
|
}),
|
|
7716
7740
|
...e
|
|
7717
7741
|
});
|
|
7718
|
-
},
|
|
7742
|
+
}, tu = ({ options: e } = {}) => {
|
|
7719
7743
|
const { currency: i } = se(), { checkUserWagerApi: a } = re();
|
|
7720
7744
|
return ee({
|
|
7721
7745
|
queryKey: ["checkUserWager"],
|
|
@@ -7728,9 +7752,9 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7728
7752
|
},
|
|
7729
7753
|
...e
|
|
7730
7754
|
});
|
|
7731
|
-
},
|
|
7755
|
+
}, iu = ({ options: e } = {}) => {
|
|
7732
7756
|
const i = Da(), { abandonPointsApi: a } = re();
|
|
7733
|
-
return
|
|
7757
|
+
return ae({
|
|
7734
7758
|
mutationKey: ["abandonPoint"],
|
|
7735
7759
|
mutationFn: async (r) => a({
|
|
7736
7760
|
...r
|
|
@@ -7742,131 +7766,131 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7742
7766
|
});
|
|
7743
7767
|
}, dr = ({ options: e } = {}) => {
|
|
7744
7768
|
const { lineLoginApi: i } = re();
|
|
7745
|
-
return
|
|
7769
|
+
return ae({
|
|
7746
7770
|
mutationKey: ["lineLogin"],
|
|
7747
7771
|
mutationFn: async (a) => i(a),
|
|
7748
7772
|
...e
|
|
7749
7773
|
});
|
|
7750
|
-
},
|
|
7774
|
+
}, os = ({ options: e } = {}) => {
|
|
7751
7775
|
const { lineLogin2Api: i } = re();
|
|
7752
|
-
return
|
|
7776
|
+
return ae({
|
|
7753
7777
|
mutationKey: ["lineLogin"],
|
|
7754
7778
|
mutationFn: async (a) => i(a),
|
|
7755
7779
|
...e
|
|
7756
7780
|
});
|
|
7757
|
-
},
|
|
7781
|
+
}, nu = ({ options: e } = {}) => {
|
|
7758
7782
|
const { machineLoginApi: i } = re();
|
|
7759
|
-
return
|
|
7783
|
+
return ae({
|
|
7760
7784
|
mutationKey: ["machineLogin"],
|
|
7761
7785
|
mutationFn: async (a) => i(a),
|
|
7762
7786
|
...e
|
|
7763
7787
|
});
|
|
7764
|
-
},
|
|
7788
|
+
}, ss = ({ options: e, formData: i } = {}) => {
|
|
7765
7789
|
const { getMachineLoginCodeApi: a } = re();
|
|
7766
7790
|
return ee({
|
|
7767
7791
|
queryKey: ["getMachineLoginCode"],
|
|
7768
7792
|
queryFn: async () => a(i),
|
|
7769
7793
|
...e
|
|
7770
7794
|
});
|
|
7771
|
-
},
|
|
7795
|
+
}, ru = ({ options: e } = {}) => {
|
|
7772
7796
|
const { currency: i } = se(), { memberTransferApi: a } = re();
|
|
7773
|
-
return
|
|
7797
|
+
return ae({
|
|
7774
7798
|
mutationKey: ["memberTransfer"],
|
|
7775
7799
|
mutationFn: async (r) => a({ ...r, currency: i }),
|
|
7776
7800
|
...e
|
|
7777
7801
|
});
|
|
7778
|
-
},
|
|
7802
|
+
}, lu = ({ options: e } = {}) => {
|
|
7779
7803
|
const { currency: i } = se(), { checkMemberTransferApi: a } = re();
|
|
7780
|
-
return
|
|
7804
|
+
return ae({
|
|
7781
7805
|
mutationKey: ["checkMemberTransfer"],
|
|
7782
7806
|
mutationFn: async (r) => a({ ...r, currency: i }),
|
|
7783
7807
|
...e
|
|
7784
7808
|
});
|
|
7785
|
-
},
|
|
7809
|
+
}, ou = ({ options: e } = {}) => {
|
|
7786
7810
|
const { mobileLoginApi: i } = re();
|
|
7787
|
-
return
|
|
7811
|
+
return ae({
|
|
7788
7812
|
mutationKey: ["mobileLogin"],
|
|
7789
7813
|
mutationFn: async (a) => i(a),
|
|
7790
7814
|
...e
|
|
7791
7815
|
});
|
|
7792
|
-
},
|
|
7816
|
+
}, su = ({ options: e } = {}) => {
|
|
7793
7817
|
const { mobileLoginApiV2: i } = re();
|
|
7794
|
-
return
|
|
7818
|
+
return ae({
|
|
7795
7819
|
mutationKey: ["mobileLoginV2"],
|
|
7796
7820
|
mutationFn: async (a) => i(a),
|
|
7797
7821
|
...e
|
|
7798
7822
|
});
|
|
7799
|
-
},
|
|
7823
|
+
}, mu = ({ options: e } = {}) => {
|
|
7800
7824
|
const { mobileRegisterApi: i } = re();
|
|
7801
|
-
return
|
|
7825
|
+
return ae({
|
|
7802
7826
|
mutationKey: ["mobileRegister"],
|
|
7803
7827
|
mutationFn: async (a) => i(a),
|
|
7804
7828
|
...e
|
|
7805
7829
|
});
|
|
7806
|
-
},
|
|
7830
|
+
}, uu = ({ options: e } = {}) => {
|
|
7807
7831
|
const { mobilePasswordApi: i } = re();
|
|
7808
|
-
return
|
|
7832
|
+
return ae({
|
|
7809
7833
|
mutationKey: ["mobileByPassword"],
|
|
7810
7834
|
mutationFn: async (a) => i(a),
|
|
7811
7835
|
...e
|
|
7812
7836
|
});
|
|
7813
|
-
},
|
|
7837
|
+
}, pu = ({ options: e } = {}) => {
|
|
7814
7838
|
const { forgotPasswordApi: i } = re();
|
|
7815
|
-
return
|
|
7839
|
+
return ae({
|
|
7816
7840
|
mutationKey: ["forgotPassword"],
|
|
7817
7841
|
mutationFn: async (a) => i(a),
|
|
7818
7842
|
...e
|
|
7819
7843
|
});
|
|
7820
|
-
},
|
|
7844
|
+
}, gu = ({ options: e } = {}) => {
|
|
7821
7845
|
const { checkMobileApi: i } = re();
|
|
7822
|
-
return
|
|
7846
|
+
return ae({
|
|
7823
7847
|
mutationKey: ["checkMobile"],
|
|
7824
7848
|
mutationFn: async (a) => i(a),
|
|
7825
7849
|
...e
|
|
7826
7850
|
});
|
|
7827
|
-
},
|
|
7851
|
+
}, ms = ({ options: e } = {}) => {
|
|
7828
7852
|
const { bindAccountApi: i } = re();
|
|
7829
|
-
return
|
|
7853
|
+
return ae({
|
|
7830
7854
|
mutationKey: ["bindAccount"],
|
|
7831
7855
|
mutationFn: async (a) => i(a),
|
|
7832
7856
|
...e
|
|
7833
7857
|
});
|
|
7834
|
-
},
|
|
7858
|
+
}, du = ({ options: e } = {}) => {
|
|
7835
7859
|
const { sendMobileVerifyCodeApi: i } = re();
|
|
7836
|
-
return
|
|
7860
|
+
return ae({
|
|
7837
7861
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7838
7862
|
mutationFn: async (a) => i(a),
|
|
7839
7863
|
...e
|
|
7840
7864
|
});
|
|
7841
|
-
},
|
|
7865
|
+
}, cu = ({ options: e, paramsData: i } = {}) => {
|
|
7842
7866
|
const { verifyPhoneBarApi: a } = Ga();
|
|
7843
7867
|
return ee({
|
|
7844
7868
|
queryKey: ["verifyPhoneBar", i],
|
|
7845
7869
|
queryFn: async () => a(i),
|
|
7846
7870
|
...e
|
|
7847
7871
|
});
|
|
7848
|
-
},
|
|
7872
|
+
}, fu = ({ options: e, paramsData: i } = {}) => {
|
|
7849
7873
|
const { verifyDonationCodeApi: a } = Ga();
|
|
7850
7874
|
return ee({
|
|
7851
7875
|
queryKey: ["verifyDonationCode", i],
|
|
7852
7876
|
queryFn: async () => a(i),
|
|
7853
7877
|
...e
|
|
7854
7878
|
});
|
|
7855
|
-
},
|
|
7879
|
+
}, _u = ({ options: e } = {}) => {
|
|
7856
7880
|
const { createMachineApi: i } = re();
|
|
7857
|
-
return
|
|
7881
|
+
return ae({
|
|
7858
7882
|
mutationKey: ["createMachine"],
|
|
7859
7883
|
mutationFn: async (a) => i({ formData: a }),
|
|
7860
7884
|
...e
|
|
7861
7885
|
});
|
|
7862
|
-
},
|
|
7886
|
+
}, yu = ({ options: e } = {}) => {
|
|
7863
7887
|
const { verifyResetActionApi: i } = re();
|
|
7864
|
-
return
|
|
7888
|
+
return ae({
|
|
7865
7889
|
mutationKey: ["verifyResetAction"],
|
|
7866
7890
|
mutationFn: async (a) => i(a),
|
|
7867
7891
|
...e
|
|
7868
7892
|
});
|
|
7869
|
-
},
|
|
7893
|
+
}, bu = ({ options: e, bonusData: i } = {}) => {
|
|
7870
7894
|
const { getJackpotApi: a } = re();
|
|
7871
7895
|
return ee({
|
|
7872
7896
|
queryKey: ["getJackpotData"],
|
|
@@ -7885,14 +7909,14 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7885
7909
|
},
|
|
7886
7910
|
...e
|
|
7887
7911
|
});
|
|
7888
|
-
},
|
|
7912
|
+
}, Uu = ({ options: e } = {}) => {
|
|
7889
7913
|
const { getBetRankingApi: i } = re();
|
|
7890
7914
|
return ee({
|
|
7891
7915
|
queryKey: ["getBetRankingData"],
|
|
7892
7916
|
queryFn: async () => i(),
|
|
7893
7917
|
...e
|
|
7894
7918
|
});
|
|
7895
|
-
},
|
|
7919
|
+
}, Cu = ({ options: e } = {}) => {
|
|
7896
7920
|
const { getUserAvatarListApi: i } = re();
|
|
7897
7921
|
return ee({
|
|
7898
7922
|
queryKey: ["getAvatarList"],
|
|
@@ -7902,20 +7926,21 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7902
7926
|
// },
|
|
7903
7927
|
...e
|
|
7904
7928
|
});
|
|
7905
|
-
},
|
|
7929
|
+
}, vu = ({ options: e } = {}) => {
|
|
7906
7930
|
const { updateUserAvatarApi: i } = re();
|
|
7907
|
-
return
|
|
7931
|
+
return ae({
|
|
7908
7932
|
mutationKey: ["updateAvatar"],
|
|
7909
7933
|
mutationFn: async (a) => i(a),
|
|
7910
7934
|
...e
|
|
7911
7935
|
});
|
|
7912
|
-
},
|
|
7936
|
+
}, hu = ({
|
|
7913
7937
|
options: e = {
|
|
7914
7938
|
login: {},
|
|
7915
7939
|
logout: {},
|
|
7916
7940
|
register: {},
|
|
7917
7941
|
toggleFavoriteGame: {},
|
|
7918
7942
|
updateUserInfo: {},
|
|
7943
|
+
updateMemberInfo: {},
|
|
7919
7944
|
resetUserPassword: {},
|
|
7920
7945
|
setUserTransactionPassword: {},
|
|
7921
7946
|
resetUserTransactionPassword: {},
|
|
@@ -7923,31 +7948,35 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7923
7948
|
userBindCard: {}
|
|
7924
7949
|
}
|
|
7925
7950
|
} = {}) => {
|
|
7926
|
-
const i = qo({ options: e.login }), a = $o({ options: e.logout }), r = jo({ options: e.register }), m = Yo({ options: e.updateUserInfo }), g =
|
|
7951
|
+
const i = qo({ options: e.login }), a = $o({ options: e.logout }), r = jo({ options: e.register }), m = Yo({ options: e.updateUserInfo }), g = Xo({
|
|
7952
|
+
options: e.updateMemberInfo
|
|
7953
|
+
}), b = Qo({
|
|
7927
7954
|
options: e.toggleFavoriteGame
|
|
7928
|
-
}), b = Xo({
|
|
7929
|
-
options: e.resetUserPassword
|
|
7930
7955
|
}), d = es({
|
|
7931
|
-
options: e.
|
|
7956
|
+
options: e.resetUserPassword
|
|
7932
7957
|
}), l = as({
|
|
7933
|
-
options: e.
|
|
7958
|
+
options: e.memberInitSet
|
|
7934
7959
|
}), t = ts({
|
|
7960
|
+
options: e.setUserTransactionPassword
|
|
7961
|
+
}), n = is({
|
|
7935
7962
|
options: e.resetUserTransactionPassword
|
|
7936
|
-
}),
|
|
7963
|
+
}), o = ns({ options: e.userRebate }), s = rs({ options: e.userBindCard });
|
|
7937
7964
|
return {
|
|
7938
7965
|
login: i,
|
|
7939
7966
|
logout: a,
|
|
7940
7967
|
register: r,
|
|
7941
7968
|
updateUserInfo: m,
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7969
|
+
// @deprecated 改用 updateMemberInfo
|
|
7970
|
+
updateMemberInfo: g,
|
|
7971
|
+
toggleFavoriteGame: b,
|
|
7972
|
+
resetUserPassword: d,
|
|
7973
|
+
memberInitSet: l,
|
|
7974
|
+
setUserTransactionPassword: t,
|
|
7975
|
+
resetUserTransactionPassword: n,
|
|
7976
|
+
userRebate: o,
|
|
7977
|
+
userBindCard: s
|
|
7949
7978
|
};
|
|
7950
|
-
},
|
|
7979
|
+
}, Ce = {
|
|
7951
7980
|
DEPOSIT: "deposit",
|
|
7952
7981
|
TRANS_CODE: "transCode",
|
|
7953
7982
|
ERROR: "error",
|
|
@@ -7964,7 +7993,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7964
7993
|
UPDATE_EVENT_WALLET: "update_event_wallet",
|
|
7965
7994
|
MONTHLY_CARD_ISSUE_POINT: "monthly_card_issue_point",
|
|
7966
7995
|
EVENT_CLAIMABLE: "event_claimable"
|
|
7967
|
-
},
|
|
7996
|
+
}, us = 3e4, ps = ({
|
|
7968
7997
|
maintainList: e,
|
|
7969
7998
|
isInGameBox: i,
|
|
7970
7999
|
currentGamePlatform: a
|
|
@@ -7978,7 +8007,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
7978
8007
|
show: r,
|
|
7979
8008
|
reason: r ? `在 gamebox 且當前廠商「${a}」在維護清單 → 顯示` : `在 gamebox 但當前廠商「${a ?? "(無)"}」不在維護清單 → 靜默`
|
|
7980
8009
|
};
|
|
7981
|
-
},
|
|
8010
|
+
}, Tu = ({
|
|
7982
8011
|
socketUrl: e,
|
|
7983
8012
|
socketHandlers: i = {},
|
|
7984
8013
|
options: a = {},
|
|
@@ -8006,13 +8035,13 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8006
8035
|
},
|
|
8007
8036
|
retry: !1
|
|
8008
8037
|
}
|
|
8009
|
-
}), { mutateAsync: S } =
|
|
8038
|
+
}), { mutateAsync: S } = os({
|
|
8010
8039
|
options: {
|
|
8011
8040
|
onSuccess: (O) => {
|
|
8012
8041
|
f.current.onLineLogin?.(O);
|
|
8013
8042
|
},
|
|
8014
|
-
onError: (O,
|
|
8015
|
-
b || h(
|
|
8043
|
+
onError: (O, z) => {
|
|
8044
|
+
b || h(z);
|
|
8016
8045
|
}
|
|
8017
8046
|
}
|
|
8018
8047
|
}), { handleTransferInGame: N } = Vo({
|
|
@@ -8022,7 +8051,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8022
8051
|
isInGameBox: X(m, "isInGameBox", !1),
|
|
8023
8052
|
currentGamePlatform: X(m, "currentGamePlatform", "")
|
|
8024
8053
|
}), {
|
|
8025
|
-
sendMessage:
|
|
8054
|
+
sendMessage: H,
|
|
8026
8055
|
// 發送普通訊息
|
|
8027
8056
|
sendJsonMessage: T,
|
|
8028
8057
|
// 發送 JSON 訊息
|
|
@@ -8047,20 +8076,20 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8047
8076
|
}, [x]);
|
|
8048
8077
|
_e(() => {
|
|
8049
8078
|
const O = setInterval(
|
|
8050
|
-
() =>
|
|
8051
|
-
|
|
8079
|
+
() => H("ping"),
|
|
8080
|
+
us
|
|
8052
8081
|
);
|
|
8053
8082
|
return () => clearInterval(O);
|
|
8054
|
-
}, [
|
|
8083
|
+
}, [H]);
|
|
8055
8084
|
const M = A(
|
|
8056
|
-
(O,
|
|
8085
|
+
(O, z) => {
|
|
8057
8086
|
g && l.dispatch({
|
|
8058
8087
|
type: "ui/openNotificationModal",
|
|
8059
8088
|
payload: {
|
|
8060
8089
|
title: Va[_] || "System Prompt",
|
|
8061
8090
|
content: O,
|
|
8062
8091
|
type: "warning",
|
|
8063
|
-
props:
|
|
8092
|
+
props: z
|
|
8064
8093
|
}
|
|
8065
8094
|
});
|
|
8066
8095
|
},
|
|
@@ -8071,77 +8100,77 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8071
8100
|
}, [i]);
|
|
8072
8101
|
const L = le(null), G = (O) => {
|
|
8073
8102
|
const {
|
|
8074
|
-
onDeposit:
|
|
8103
|
+
onDeposit: z,
|
|
8075
8104
|
onTransCode: D,
|
|
8076
8105
|
onError: E,
|
|
8077
8106
|
onUpdateMember: w,
|
|
8078
8107
|
onMaintainNotice: P,
|
|
8079
8108
|
onMaintainNoticeMember: Q,
|
|
8080
|
-
onTransferInGame:
|
|
8081
|
-
onCashRegisterLimit:
|
|
8082
|
-
onLineLogin:
|
|
8083
|
-
onMonthlyCardIssuePoint:
|
|
8084
|
-
onEventClaimable:
|
|
8085
|
-
} = f.current,
|
|
8109
|
+
onTransferInGame: te,
|
|
8110
|
+
onCashRegisterLimit: ne,
|
|
8111
|
+
onLineLogin: B,
|
|
8112
|
+
onMonthlyCardIssuePoint: V,
|
|
8113
|
+
onEventClaimable: Z
|
|
8114
|
+
} = f.current, j = X(O, "type", ""), q = {
|
|
8086
8115
|
memberInfoUid: X(O, "member_info_uid", null),
|
|
8087
8116
|
data: X(O, "data", null),
|
|
8088
8117
|
memo: X(O, "memo", null),
|
|
8089
8118
|
amount: X(O, "amount", null),
|
|
8090
8119
|
limitAmount: X(O, "limit_amount", null)
|
|
8091
|
-
},
|
|
8092
|
-
switch (
|
|
8093
|
-
case
|
|
8094
|
-
|
|
8120
|
+
}, Y = Number(q.memberInfoUid) === c, ge = q.data, he = q.amount, ye = q.limitAmount, Qe = C.get("mac") || di.get("machine_mac_address") || "", Te = X(O, "data.line_id", null), Ge = X(O, "data.line_name", null), Ye = X(O, "member_info_uid", null);
|
|
8121
|
+
switch (j) {
|
|
8122
|
+
case Ce.DEPOSIT:
|
|
8123
|
+
Y && (N(), z?.(q));
|
|
8095
8124
|
break;
|
|
8096
|
-
case
|
|
8097
|
-
D?.(
|
|
8125
|
+
case Ce.TRANS_CODE:
|
|
8126
|
+
D?.(q);
|
|
8098
8127
|
break;
|
|
8099
|
-
case
|
|
8100
|
-
if (
|
|
8128
|
+
case Ce.ERROR:
|
|
8129
|
+
if (Y) {
|
|
8101
8130
|
const ce = X(O, "open_game_modal", 0) === 1;
|
|
8102
|
-
M(
|
|
8131
|
+
M(ge, {
|
|
8103
8132
|
notificationType: ce ? "gamingNotice" : void 0
|
|
8104
|
-
}), E?.(
|
|
8133
|
+
}), E?.(q);
|
|
8105
8134
|
}
|
|
8106
8135
|
break;
|
|
8107
|
-
case
|
|
8136
|
+
case Ce.UPDATE_MEMBER:
|
|
8108
8137
|
c && (n.invalidateQueries({
|
|
8109
8138
|
queryKey: ["getMemberInfo"]
|
|
8110
|
-
}), w?.(
|
|
8139
|
+
}), w?.(q));
|
|
8111
8140
|
break;
|
|
8112
|
-
case
|
|
8113
|
-
M(
|
|
8141
|
+
case Ce.MAINTAIN_NOTICE:
|
|
8142
|
+
M(ge, {
|
|
8114
8143
|
notificationType: "maintainNotice"
|
|
8115
|
-
}), P?.(
|
|
8144
|
+
}), P?.(q);
|
|
8116
8145
|
break;
|
|
8117
|
-
case
|
|
8118
|
-
const ce =
|
|
8146
|
+
case Ce.MAINTAIN_NOTICE_MEMBER: {
|
|
8147
|
+
const ce = q.data?.cagent_uid ?? null;
|
|
8119
8148
|
if (ce != null) {
|
|
8120
|
-
String(U) === String(ce) && (M(
|
|
8149
|
+
String(U) === String(ce) && (M(q.data?.msg, { rawMessage: !0 }), Q?.(q), setTimeout(() => {
|
|
8121
8150
|
d?.("/");
|
|
8122
8151
|
}, 5e3));
|
|
8123
8152
|
return;
|
|
8124
|
-
} else if (
|
|
8125
|
-
const
|
|
8153
|
+
} else if (Y) {
|
|
8154
|
+
const be = l.getState()?.game?.currentGameData?.gameUid ?? null, Se = q.data?.game_id;
|
|
8126
8155
|
if (Se != null) {
|
|
8127
|
-
Array.isArray(Se) && Se.some((Ie) => String(Ie) === String(
|
|
8156
|
+
Array.isArray(Se) && Se.some((Ie) => String(Ie) === String(be)) && (M(q.data?.msg, { rawMessage: !0 }), Q?.(q), setTimeout(() => {
|
|
8128
8157
|
d?.("/");
|
|
8129
8158
|
}, 5e3));
|
|
8130
8159
|
return;
|
|
8131
8160
|
}
|
|
8132
|
-
M(
|
|
8161
|
+
M(ge), Q?.(q), setTimeout(() => {
|
|
8133
8162
|
window.location.reload();
|
|
8134
8163
|
}, 5e4);
|
|
8135
8164
|
}
|
|
8136
8165
|
break;
|
|
8137
8166
|
}
|
|
8138
|
-
case
|
|
8167
|
+
case Ce.RELOAD:
|
|
8139
8168
|
window.location.reload();
|
|
8140
8169
|
break;
|
|
8141
|
-
case
|
|
8142
|
-
case
|
|
8143
|
-
if (
|
|
8144
|
-
const { request_id: ce, amount:
|
|
8170
|
+
case Ce.TRANSFER_IN_GAME:
|
|
8171
|
+
case Ce.CHECK_REQUEST:
|
|
8172
|
+
if (Y && v) {
|
|
8173
|
+
const { request_id: ce, amount: be, platform: Se, status: Ie } = X(q, "data", {}) || {}, Ze = localStorage.getItem(
|
|
8145
8174
|
"transfer_in_game_request_id"
|
|
8146
8175
|
);
|
|
8147
8176
|
if (Ie === "pending") {
|
|
@@ -8156,50 +8185,50 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8156
8185
|
type: "ui/showToast",
|
|
8157
8186
|
payload: {
|
|
8158
8187
|
title: Va[_] || "System Prompt",
|
|
8159
|
-
description: `您於${Se}存入的${
|
|
8188
|
+
description: `您於${Se}存入的${be}元已經處理完成了,請確認遊戲餘額`,
|
|
8160
8189
|
status: "success"
|
|
8161
8190
|
}
|
|
8162
8191
|
}), s();
|
|
8163
8192
|
}
|
|
8164
|
-
|
|
8193
|
+
te?.(q);
|
|
8165
8194
|
}
|
|
8166
8195
|
break;
|
|
8167
|
-
case
|
|
8168
|
-
M(
|
|
8196
|
+
case Ce.CASH_REGISTER_LIMIT:
|
|
8197
|
+
M(ge, {
|
|
8169
8198
|
notificationType: "cashRegisterLimit",
|
|
8170
|
-
amount:
|
|
8171
|
-
limitAmount:
|
|
8172
|
-
}),
|
|
8199
|
+
amount: he,
|
|
8200
|
+
limitAmount: ye
|
|
8201
|
+
}), ne?.(q);
|
|
8173
8202
|
break;
|
|
8174
|
-
case
|
|
8175
|
-
|
|
8203
|
+
case Ce.UPDATE_ONLY_ONE_MEMBER:
|
|
8204
|
+
Y && (n.invalidateQueries({
|
|
8176
8205
|
queryKey: ["getMemberInfo"]
|
|
8177
|
-
}), w?.(
|
|
8206
|
+
}), w?.(q));
|
|
8178
8207
|
break;
|
|
8179
|
-
case
|
|
8180
|
-
const ce =
|
|
8208
|
+
case Ce.GAME_MAINTAIN: {
|
|
8209
|
+
const ce = q.data, { show: be } = ps({
|
|
8181
8210
|
maintainList: ce,
|
|
8182
8211
|
// 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
|
|
8183
8212
|
// 因為不是每隻遊戲都會帶入該設定)
|
|
8184
8213
|
isInGameBox: window.location.pathname.includes("gamebox"),
|
|
8185
8214
|
currentGamePlatform: l.getState()?.game?.currentGameData?.gamePlatform ?? null
|
|
8186
8215
|
});
|
|
8187
|
-
|
|
8216
|
+
be && M(ge, {
|
|
8188
8217
|
notificationType: "gameMaintain"
|
|
8189
8218
|
});
|
|
8190
8219
|
break;
|
|
8191
8220
|
}
|
|
8192
|
-
case
|
|
8221
|
+
case Ce.LINE_LOGIN:
|
|
8193
8222
|
Ye === Qe && h({
|
|
8194
|
-
line_id:
|
|
8223
|
+
line_id: Te,
|
|
8195
8224
|
line_name: Ge
|
|
8196
8225
|
});
|
|
8197
8226
|
break;
|
|
8198
|
-
case
|
|
8199
|
-
|
|
8227
|
+
case Ce.UPDATE_EVENT_WALLET:
|
|
8228
|
+
Y && (n.invalidateQueries({ queryKey: ["getEventWalletList"] }), n.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
|
|
8200
8229
|
return;
|
|
8201
|
-
case
|
|
8202
|
-
|
|
8230
|
+
case Ce.MONTHLY_CARD_ISSUE_POINT:
|
|
8231
|
+
Y && (n.invalidateQueries({ queryKey: Di }), V?.(q));
|
|
8203
8232
|
return;
|
|
8204
8233
|
/**
|
|
8205
8234
|
* event_claimable:活動可領取推播
|
|
@@ -8208,15 +8237,15 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8208
8237
|
* - 有 event_uid 時,另外執行外部傳入的客製化 function(帶入整包 payload)
|
|
8209
8238
|
* 註:與其他 event/member 推播一致,僅對「當前會員」生效(isForMember)。
|
|
8210
8239
|
*/
|
|
8211
|
-
case
|
|
8212
|
-
if (
|
|
8240
|
+
case Ce.EVENT_CLAIMABLE:
|
|
8241
|
+
if (Y) {
|
|
8213
8242
|
n.invalidateQueries({ queryKey: ["checkEventStatus"] });
|
|
8214
|
-
const ce =
|
|
8215
|
-
(Array.isArray(ce) ? ce.length > 0 : ce != null) &&
|
|
8243
|
+
const ce = q.data?.event_uid;
|
|
8244
|
+
(Array.isArray(ce) ? ce.length > 0 : ce != null) && Z?.(q);
|
|
8216
8245
|
}
|
|
8217
8246
|
return;
|
|
8218
8247
|
default:
|
|
8219
|
-
console.warn("Unknown socket type:",
|
|
8248
|
+
console.warn("Unknown socket type:", j);
|
|
8220
8249
|
break;
|
|
8221
8250
|
}
|
|
8222
8251
|
};
|
|
@@ -8232,7 +8261,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8232
8261
|
"transfer_in_game_request_id"
|
|
8233
8262
|
);
|
|
8234
8263
|
O && c && p && T({
|
|
8235
|
-
type:
|
|
8264
|
+
type: Ce.CHECK_REQUEST,
|
|
8236
8265
|
request_id: O,
|
|
8237
8266
|
member_info_uid: c
|
|
8238
8267
|
});
|
|
@@ -8256,18 +8285,18 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8256
8285
|
}, [p, o, l, _]);
|
|
8257
8286
|
const I = le(null);
|
|
8258
8287
|
I.current = G;
|
|
8259
|
-
const
|
|
8288
|
+
const W = A((O) => {
|
|
8260
8289
|
I.current?.(O);
|
|
8261
8290
|
}, []);
|
|
8262
8291
|
return {
|
|
8263
|
-
sendMessage:
|
|
8292
|
+
sendMessage: H,
|
|
8264
8293
|
sendJsonMessage: T,
|
|
8265
8294
|
readyState: F,
|
|
8266
8295
|
// WebSocket 連線狀態
|
|
8267
|
-
simulateSocketMessage:
|
|
8296
|
+
simulateSocketMessage: W
|
|
8268
8297
|
// 測試用:模擬收到某型別的 WS 訊息
|
|
8269
8298
|
};
|
|
8270
|
-
},
|
|
8299
|
+
}, gs = () => {
|
|
8271
8300
|
const { client: e } = se();
|
|
8272
8301
|
return {
|
|
8273
8302
|
commissionApi: A(
|
|
@@ -8278,8 +8307,8 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8278
8307
|
[e]
|
|
8279
8308
|
)
|
|
8280
8309
|
};
|
|
8281
|
-
},
|
|
8282
|
-
const { commissionApi: a } =
|
|
8310
|
+
}, ds = ({ options: e, formData: i } = {}) => {
|
|
8311
|
+
const { commissionApi: a } = gs();
|
|
8283
8312
|
return ee({
|
|
8284
8313
|
queryKey: ["commissionInfo", i],
|
|
8285
8314
|
queryFn: () => {
|
|
@@ -8289,7 +8318,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8289
8318
|
select: (r) => Qn(r, ["code", "status"]),
|
|
8290
8319
|
...e
|
|
8291
8320
|
});
|
|
8292
|
-
},
|
|
8321
|
+
}, ku = ({
|
|
8293
8322
|
options: e = {
|
|
8294
8323
|
commissionInfo: {}
|
|
8295
8324
|
},
|
|
@@ -8297,7 +8326,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8297
8326
|
commissionInfo: {}
|
|
8298
8327
|
}
|
|
8299
8328
|
} = {}) => ({
|
|
8300
|
-
commissionInfo:
|
|
8329
|
+
commissionInfo: ds({
|
|
8301
8330
|
options: e.commissionInfo,
|
|
8302
8331
|
formData: i.commissionInfo
|
|
8303
8332
|
})
|
|
@@ -8348,7 +8377,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8348
8377
|
settleEventApi: g,
|
|
8349
8378
|
memberEventSettleApi: b
|
|
8350
8379
|
};
|
|
8351
|
-
},
|
|
8380
|
+
}, cs = ({ paramsData: e, options: i } = {}) => {
|
|
8352
8381
|
const { store: a, lng: r, data2URL: m } = se(), { eventListApi: g } = Za(), b = a?.getState()?.isWalletCurrency || a?.getState()?.currency?.currentCurrency || "TWD", d = Je(r);
|
|
8353
8382
|
return ee({
|
|
8354
8383
|
queryKey: ["eventList", e],
|
|
@@ -8486,21 +8515,21 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8486
8515
|
},
|
|
8487
8516
|
...i
|
|
8488
8517
|
});
|
|
8489
|
-
},
|
|
8518
|
+
}, xu = ({ options: e } = {}) => {
|
|
8490
8519
|
const { redeemEventRewardApi: i } = Za();
|
|
8491
|
-
return
|
|
8520
|
+
return ae({
|
|
8492
8521
|
mutationKey: ["redeemEventReward"],
|
|
8493
8522
|
mutationFn: async (a) => i(a),
|
|
8494
8523
|
...e
|
|
8495
8524
|
});
|
|
8496
|
-
},
|
|
8525
|
+
}, fs = ({ options: e, formData: i } = {}) => {
|
|
8497
8526
|
const { checkCurrentEventProgessApi: a } = Za();
|
|
8498
8527
|
return ee({
|
|
8499
8528
|
queryKey: ["checkEventProgress"],
|
|
8500
8529
|
queryFn: async () => a(i),
|
|
8501
8530
|
...e
|
|
8502
8531
|
});
|
|
8503
|
-
},
|
|
8532
|
+
}, _s = ({ options: e, formData: i } = {}) => {
|
|
8504
8533
|
const { checkEventStatusApi: a } = Za();
|
|
8505
8534
|
return ee({
|
|
8506
8535
|
queryKey: ["checkEventStatus"],
|
|
@@ -8508,30 +8537,30 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8508
8537
|
select: (r) => r.data.event_status || r.data,
|
|
8509
8538
|
...e
|
|
8510
8539
|
});
|
|
8511
|
-
},
|
|
8540
|
+
}, Su = ({ options: e } = {}) => {
|
|
8512
8541
|
const { settleEventApi: i } = Za();
|
|
8513
|
-
return
|
|
8542
|
+
return ae({
|
|
8514
8543
|
mutationKey: ["settleEvent"],
|
|
8515
8544
|
mutationFn: async (a) => i(a),
|
|
8516
8545
|
...e
|
|
8517
8546
|
});
|
|
8518
|
-
},
|
|
8547
|
+
}, Eu = ({ options: e } = {}) => {
|
|
8519
8548
|
const { memberEventSettleApi: i } = Za();
|
|
8520
|
-
return
|
|
8549
|
+
return ae({
|
|
8521
8550
|
mutationKey: ["memberEventSettle"],
|
|
8522
8551
|
mutationFn: async (a) => i(a),
|
|
8523
8552
|
...e
|
|
8524
8553
|
});
|
|
8525
|
-
},
|
|
8554
|
+
}, Du = ({
|
|
8526
8555
|
options: e = {
|
|
8527
8556
|
eventList: {},
|
|
8528
8557
|
checkEventProgress: {},
|
|
8529
8558
|
checkEventStatus: {}
|
|
8530
8559
|
}
|
|
8531
8560
|
} = {}) => {
|
|
8532
|
-
const i =
|
|
8561
|
+
const i = cs({ options: e.eventList }), a = fs({
|
|
8533
8562
|
options: e.checkEventProgress
|
|
8534
|
-
}), r =
|
|
8563
|
+
}), r = _s({
|
|
8535
8564
|
options: e.checkEventStatus
|
|
8536
8565
|
});
|
|
8537
8566
|
return {
|
|
@@ -8572,7 +8601,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8572
8601
|
settleEventWalletApi: m,
|
|
8573
8602
|
abandonEventWalletApi: g
|
|
8574
8603
|
};
|
|
8575
|
-
},
|
|
8604
|
+
}, Nu = ({ gamePlatform: e, params: i } = {}) => {
|
|
8576
8605
|
const { eventWalletListApi: a } = rt();
|
|
8577
8606
|
return ee({
|
|
8578
8607
|
queryKey: ["getEventWalletList", e, i],
|
|
@@ -8613,16 +8642,16 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8613
8642
|
};
|
|
8614
8643
|
}
|
|
8615
8644
|
});
|
|
8616
|
-
},
|
|
8645
|
+
}, Lu = () => {
|
|
8617
8646
|
const e = Da(), { enabledEventWalletApi: i } = rt();
|
|
8618
|
-
return
|
|
8647
|
+
return ae({
|
|
8619
8648
|
mutationKey: ["enabledEventWallet"],
|
|
8620
8649
|
mutationFn: async ({ eventUids: a }) => await i({ eventUids: a }),
|
|
8621
8650
|
onSuccess: () => {
|
|
8622
8651
|
e.invalidateQueries({ queryKey: ["evaluateEventWallet"] });
|
|
8623
8652
|
}
|
|
8624
8653
|
});
|
|
8625
|
-
},
|
|
8654
|
+
}, Gu = ({ gamePlatform: e = "", options: i = {} } = {}) => {
|
|
8626
8655
|
const { evaluateEventWalletApi: a } = rt();
|
|
8627
8656
|
return ee({
|
|
8628
8657
|
queryKey: ["evaluateEventWallet", e],
|
|
@@ -8638,25 +8667,25 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8638
8667
|
},
|
|
8639
8668
|
...i
|
|
8640
8669
|
});
|
|
8641
|
-
},
|
|
8670
|
+
}, Mu = () => {
|
|
8642
8671
|
const e = Da(), { settleEventWalletApi: i } = rt();
|
|
8643
|
-
return
|
|
8672
|
+
return ae({
|
|
8644
8673
|
mutationKey: ["settleEventWallet"],
|
|
8645
8674
|
mutationFn: async ({ groupUid: a }) => await i({ groupUid: a }),
|
|
8646
8675
|
onSuccess: () => {
|
|
8647
8676
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8648
8677
|
}
|
|
8649
8678
|
});
|
|
8650
|
-
},
|
|
8679
|
+
}, Ru = () => {
|
|
8651
8680
|
const e = Da(), { abandonEventWalletApi: i } = rt();
|
|
8652
|
-
return
|
|
8681
|
+
return ae({
|
|
8653
8682
|
mutationKey: ["abandonEventWallet"],
|
|
8654
8683
|
mutationFn: async ({ groupUid: a }) => await i({ groupUid: a }),
|
|
8655
8684
|
onSuccess: () => {
|
|
8656
8685
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8657
8686
|
}
|
|
8658
8687
|
});
|
|
8659
|
-
},
|
|
8688
|
+
}, Pu = ({ options: e } = {}) => {
|
|
8660
8689
|
const { lng: i } = se(), { announcementApi: a } = Ga(), r = Je(i);
|
|
8661
8690
|
return ee({
|
|
8662
8691
|
queryKey: ["getAnnouncement"],
|
|
@@ -8673,7 +8702,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8673
8702
|
},
|
|
8674
8703
|
...e
|
|
8675
8704
|
});
|
|
8676
|
-
},
|
|
8705
|
+
}, wu = ({ skipPreload: e = !1 } = {}) => {
|
|
8677
8706
|
const { lng: i, data2URL: a } = se(), { commonCarouselApi: r } = Ga(), m = Je(i);
|
|
8678
8707
|
return ee({
|
|
8679
8708
|
queryKey: ["getCarouselList", e],
|
|
@@ -8701,7 +8730,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8701
8730
|
};
|
|
8702
8731
|
})
|
|
8703
8732
|
});
|
|
8704
|
-
},
|
|
8733
|
+
}, Fu = () => {
|
|
8705
8734
|
const { lng: e, getToken: i } = se(), a = i?.(), { commonMarqueeApi: r } = Ga(), m = Je(e);
|
|
8706
8735
|
return ee({
|
|
8707
8736
|
queryKey: ["getMarqueeList", a],
|
|
@@ -8717,7 +8746,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8717
8746
|
};
|
|
8718
8747
|
}
|
|
8719
8748
|
});
|
|
8720
|
-
},
|
|
8749
|
+
}, Au = ({ options: e } = {}) => {
|
|
8721
8750
|
const { rankingGameApi: i } = re();
|
|
8722
8751
|
return ee({
|
|
8723
8752
|
queryKey: ["rankingGame"],
|
|
@@ -8759,10 +8788,10 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
|
|
|
8759
8788
|
...e
|
|
8760
8789
|
});
|
|
8761
8790
|
};
|
|
8762
|
-
var
|
|
8763
|
-
if (i && typeof i == "object" || typeof i == "function") for (let m of
|
|
8791
|
+
var ys = Object.create, cr = Object.defineProperty, bs = Object.getOwnPropertyDescriptor, Us = Object.getOwnPropertyNames, Cs = Object.getPrototypeOf, vs = Object.prototype.hasOwnProperty, hs = (e, i) => () => (i || e((i = { exports: {} }).exports, i), i.exports), Ts = (e, i, a, r) => {
|
|
8792
|
+
if (i && typeof i == "object" || typeof i == "function") for (let m of Us(i)) !vs.call(e, m) && m !== a && cr(e, m, { get: () => i[m], enumerable: !(r = bs(i, m)) || r.enumerable });
|
|
8764
8793
|
return e;
|
|
8765
|
-
},
|
|
8794
|
+
}, ks = (e, i, a) => (a = e != null ? ys(Cs(e)) : {}, Ts(!e || !e.__esModule ? cr(a, "default", { value: e, enumerable: !0 }) : a, e)), xs = hs((e, i) => {
|
|
8766
8795
|
(function(a, r) {
|
|
8767
8796
|
typeof e == "object" && typeof i < "u" ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (a = typeof globalThis < "u" ? globalThis : a || self, r(a.fastUniqueNumbers = {}));
|
|
8768
8797
|
})(e, function(a) {
|
|
@@ -8791,12 +8820,12 @@ var _s = Object.create, cr = Object.defineProperty, ys = Object.getOwnPropertyDe
|
|
|
8791
8820
|
a.addUniqueNumber = s, a.generateUniqueNumber = o;
|
|
8792
8821
|
});
|
|
8793
8822
|
});
|
|
8794
|
-
|
|
8823
|
+
ks(xs());
|
|
8795
8824
|
var ga = (typeof window > "u" ? "undefined" : typeof window) == "object", na = { setTimeout: ga ? setTimeout.bind(window) : setTimeout, clearTimeout: ga ? clearTimeout.bind(window) : clearTimeout, setInterval: ga ? setInterval.bind(window) : setInterval, clearInterval: ga ? clearInterval.bind(window) : clearInterval };
|
|
8796
|
-
function
|
|
8825
|
+
function Ss(e) {
|
|
8797
8826
|
na.setTimeout = e.setTimeout, na.clearTimeout = e.clearTimeout, na.setInterval = e.setInterval, na.clearInterval = e.clearInterval;
|
|
8798
8827
|
}
|
|
8799
|
-
var Ba = {},
|
|
8828
|
+
var Ba = {}, Es = class {
|
|
8800
8829
|
name;
|
|
8801
8830
|
closed = !1;
|
|
8802
8831
|
mc = new MessageChannel();
|
|
@@ -8844,14 +8873,14 @@ var Ba = {}, Ss = class {
|
|
|
8844
8873
|
dispatchEvent(e) {
|
|
8845
8874
|
return this.mc.port1.dispatchEvent(e);
|
|
8846
8875
|
}
|
|
8847
|
-
},
|
|
8848
|
-
function
|
|
8876
|
+
}, Ds = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : Es;
|
|
8877
|
+
function Ns(e = 0) {
|
|
8849
8878
|
return new Promise((i) => na.setTimeout(i, e));
|
|
8850
8879
|
}
|
|
8851
8880
|
function fr() {
|
|
8852
8881
|
return Math.random().toString(36).substring(2);
|
|
8853
8882
|
}
|
|
8854
|
-
var
|
|
8883
|
+
var Ls = class {
|
|
8855
8884
|
options;
|
|
8856
8885
|
channel;
|
|
8857
8886
|
token = fr();
|
|
@@ -8875,7 +8904,7 @@ var Ns = class {
|
|
|
8875
8904
|
};
|
|
8876
8905
|
this.channel.addEventListener("message", i);
|
|
8877
8906
|
try {
|
|
8878
|
-
return this.sendAction(0), await
|
|
8907
|
+
return this.sendAction(0), await Ns(this.options.responseTime), this.channel.removeEventListener("message", i), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
|
|
8879
8908
|
} catch {
|
|
8880
8909
|
return !1;
|
|
8881
8910
|
}
|
|
@@ -8931,7 +8960,7 @@ var Ns = class {
|
|
|
8931
8960
|
}
|
|
8932
8961
|
}
|
|
8933
8962
|
}
|
|
8934
|
-
},
|
|
8963
|
+
}, Gs = class {
|
|
8935
8964
|
channel;
|
|
8936
8965
|
options;
|
|
8937
8966
|
elector;
|
|
@@ -8941,9 +8970,9 @@ var Ns = class {
|
|
|
8941
8970
|
isLastActive = !1;
|
|
8942
8971
|
constructor(e) {
|
|
8943
8972
|
let { channelName: i } = e;
|
|
8944
|
-
if (this.options = e, this.channel = new
|
|
8973
|
+
if (this.options = e, this.channel = new Ds(i), this.registry.set(this.token, 1), e.leaderElection) {
|
|
8945
8974
|
let a = { fallbackInterval: 2e3, responseTime: 100 };
|
|
8946
|
-
this.elector = new
|
|
8975
|
+
this.elector = new Ls(this.channel, a), this.elector.waitForLeadership();
|
|
8947
8976
|
}
|
|
8948
8977
|
this.channel.addEventListener("message", (a) => {
|
|
8949
8978
|
let { action: r, token: m, data: g } = a.data;
|
|
@@ -9033,8 +9062,8 @@ var Ns = class {
|
|
|
9033
9062
|
close() {
|
|
9034
9063
|
this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
|
|
9035
9064
|
}
|
|
9036
|
-
},
|
|
9037
|
-
function
|
|
9065
|
+
}, Ms = ga ? document : null, Rs = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
|
|
9066
|
+
function Ps(e, i) {
|
|
9038
9067
|
let a;
|
|
9039
9068
|
function r(...m) {
|
|
9040
9069
|
a && clearTimeout(a), a = setTimeout(() => {
|
|
@@ -9053,14 +9082,14 @@ function ui(e, i) {
|
|
|
9053
9082
|
};
|
|
9054
9083
|
}
|
|
9055
9084
|
var De = () => Date.now(), Ha = 2147483647;
|
|
9056
|
-
function
|
|
9085
|
+
function ws({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle: a = 0, element: r = Ms, events: m = Rs, timers: g = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
|
|
9057
9086
|
}, onPrompt: l = () => {
|
|
9058
9087
|
}, onIdle: t = () => {
|
|
9059
9088
|
}, onActive: n = () => {
|
|
9060
9089
|
}, onAction: o = () => {
|
|
9061
9090
|
}, onMessage: s = () => {
|
|
9062
9091
|
}, debounce: p = 0, throttle: u = 0, eventsThrottle: _ = 200, startOnMount: y = !0, startManually: f = !1, stopOnIdle: c = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: h = !1, disabled: S = !1 } = {}) {
|
|
9063
|
-
let N = le(De()),
|
|
9092
|
+
let N = le(De()), H = le(De()), T = le(null), x = le(null), F = le(0), R = le(0), M = le(0), L = le(0), G = le(!1), I = le(!1), W = le(!1), O = le(!0), z = le(!1), D = le(null), E = le(null), w = le(e), P = le(0);
|
|
9064
9093
|
_e(() => {
|
|
9065
9094
|
if (i && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), a && i) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
9066
9095
|
if (e >= Ha) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Ha}.`);
|
|
@@ -9069,63 +9098,63 @@ function Ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9069
9098
|
if (a >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
9070
9099
|
if (a ? (w.current = e - a, P.current = a) : (w.current = e, P.current = i), !O.current) {
|
|
9071
9100
|
if (f || S) return;
|
|
9072
|
-
G.current && (
|
|
9101
|
+
G.current && (Y.current(null, Re), E.current && E.current.active()), ta();
|
|
9073
9102
|
}
|
|
9074
9103
|
}, [e, i, a, f, S]);
|
|
9075
9104
|
let Q = le(c);
|
|
9076
9105
|
_e(() => {
|
|
9077
9106
|
Q.current = c;
|
|
9078
9107
|
}, [c]);
|
|
9079
|
-
let
|
|
9108
|
+
let te = le(b), ne = le(r), B = le([...(/* @__PURE__ */ new Set([...m, ...b])).values()]), V = le(S);
|
|
9080
9109
|
_e(() => {
|
|
9081
|
-
|
|
9110
|
+
V.current = S, !O.current && (S ? Ke() : f || ta());
|
|
9082
9111
|
}, [S]);
|
|
9083
|
-
let
|
|
9112
|
+
let Z = le(d);
|
|
9084
9113
|
_e(() => {
|
|
9085
|
-
|
|
9114
|
+
Z.current = d;
|
|
9086
9115
|
}, [d]);
|
|
9087
|
-
let
|
|
9116
|
+
let j = le(l);
|
|
9088
9117
|
_e(() => {
|
|
9089
|
-
|
|
9118
|
+
j.current = l;
|
|
9090
9119
|
}, [l]);
|
|
9091
|
-
let
|
|
9120
|
+
let q = le(t);
|
|
9092
9121
|
_e(() => {
|
|
9093
|
-
|
|
9122
|
+
q.current = t;
|
|
9094
9123
|
}, [t]);
|
|
9095
|
-
let
|
|
9124
|
+
let Y = le(n);
|
|
9096
9125
|
_e(() => {
|
|
9097
|
-
|
|
9126
|
+
Y.current = n;
|
|
9098
9127
|
}, [n]);
|
|
9099
|
-
let
|
|
9128
|
+
let ge = le(o);
|
|
9100
9129
|
_e(() => {
|
|
9101
|
-
|
|
9130
|
+
ge.current = o;
|
|
9102
9131
|
}, [o]);
|
|
9103
|
-
let
|
|
9132
|
+
let he = le(s);
|
|
9104
9133
|
_e(() => {
|
|
9105
|
-
|
|
9134
|
+
he.current = s;
|
|
9106
9135
|
}, [s]);
|
|
9107
|
-
let
|
|
9108
|
-
let K = (Pe, ra) =>
|
|
9109
|
-
return p > 0 ?
|
|
9136
|
+
let ye = za(() => {
|
|
9137
|
+
let K = (Pe, ra) => ge.current(Pe, ra);
|
|
9138
|
+
return p > 0 ? Ps(K, p) : u > 0 ? ui(K, u) : K;
|
|
9110
9139
|
}, [u, p]), Qe = le();
|
|
9111
9140
|
_e(() => {
|
|
9112
9141
|
U && v && (Qe.current = ui(() => {
|
|
9113
9142
|
E.current.active();
|
|
9114
9143
|
}, v));
|
|
9115
9144
|
}, [U, v]);
|
|
9116
|
-
let
|
|
9145
|
+
let Te = () => {
|
|
9117
9146
|
D.current !== null && (na.clearTimeout(D.current), D.current = null);
|
|
9118
9147
|
}, Ge = (K, Pe = !0) => {
|
|
9119
|
-
|
|
9148
|
+
Te(), D.current = na.setTimeout(Se, K || w.current), Pe && (x.current = De());
|
|
9120
9149
|
}, Ye = (K) => {
|
|
9121
|
-
!I.current && !G.current && (
|
|
9150
|
+
!I.current && !G.current && (j.current(K, Re), Z.current({ type: "active", prompted: !0 }, Re)), L.current = 0, M.current = De(), I.current = !0, Ge(P.current, !1);
|
|
9122
9151
|
}, ce = () => {
|
|
9123
|
-
|
|
9124
|
-
},
|
|
9125
|
-
|
|
9152
|
+
Te(), G.current || (q.current(null, Re), Z.current({ type: "idle" }, Re)), G.current = !0, T.current = De(), Q.current ? Be() : I.current && (M.current = 0, I.current = !1);
|
|
9153
|
+
}, be = (K) => {
|
|
9154
|
+
Te(), (G.current || I.current) && (Y.current(K, Re), Z.current({ type: "active", prompted: !1 }, Re)), I.current = !1, M.current = 0, G.current = !1, F.current += De() - T.current, R.current += De() - T.current, Me(), Ge();
|
|
9126
9155
|
}, Se = (K) => {
|
|
9127
9156
|
if (!G.current) {
|
|
9128
|
-
|
|
9157
|
+
ye.cancel && ye.cancel();
|
|
9129
9158
|
let Pe = De() - x.current;
|
|
9130
9159
|
if (!(w.current + P.current < Pe) && P.current > 0 && !I.current) {
|
|
9131
9160
|
E.current ? E.current.prompt() : Ye(K);
|
|
@@ -9134,10 +9163,10 @@ function Ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9134
9163
|
E.current ? E.current.idle() : ce();
|
|
9135
9164
|
return;
|
|
9136
9165
|
}
|
|
9137
|
-
E.current ? E.current.active() :
|
|
9166
|
+
E.current ? E.current.active() : be(K);
|
|
9138
9167
|
}, Ie = (K) => {
|
|
9139
|
-
if (!y && !x.current && (x.current = De(),
|
|
9140
|
-
if (
|
|
9168
|
+
if (!y && !x.current && (x.current = De(), Y.current(null, Re)), ye(K, Re), I.current) return;
|
|
9169
|
+
if (Te(), !G.current && te.current.includes(K.type)) {
|
|
9141
9170
|
Se(K);
|
|
9142
9171
|
return;
|
|
9143
9172
|
}
|
|
@@ -9146,25 +9175,25 @@ function Ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9146
9175
|
Se(K);
|
|
9147
9176
|
return;
|
|
9148
9177
|
}
|
|
9149
|
-
|
|
9178
|
+
W.current = !1, L.current = 0, M.current = 0, Ge(), U && v && Qe.current();
|
|
9150
9179
|
}, Ze = le(Ie);
|
|
9151
9180
|
_e(() => {
|
|
9152
|
-
let K =
|
|
9181
|
+
let K = z.current;
|
|
9153
9182
|
K && Be(), _ > 0 ? Ze.current = ui(Ie, _) : Ze.current = Ie, K && Me();
|
|
9154
|
-
}, [_, u, p,
|
|
9183
|
+
}, [_, u, p, ge, U, v]);
|
|
9155
9184
|
let Me = () => {
|
|
9156
|
-
ga &&
|
|
9157
|
-
|
|
9158
|
-
}),
|
|
9185
|
+
ga && ne.current && (z.current || (B.current.forEach((K) => {
|
|
9186
|
+
ne.current.addEventListener(K, Ze.current, { capture: !0, passive: !0 });
|
|
9187
|
+
}), z.current = !0));
|
|
9159
9188
|
}, Be = (K = !1) => {
|
|
9160
|
-
ga &&
|
|
9161
|
-
|
|
9162
|
-
}),
|
|
9163
|
-
}, ta = A((K) =>
|
|
9164
|
-
if (
|
|
9189
|
+
ga && ne.current && (z.current || K) && (B.current.forEach((Pe) => {
|
|
9190
|
+
ne.current.removeEventListener(Pe, Ze.current, { capture: !0 });
|
|
9191
|
+
}), z.current = !1);
|
|
9192
|
+
}, ta = A((K) => V.current ? !1 : (Te(), Me(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, M.current = 0, E.current && !K && E.current.start(), Ge(), !0), [D, G, V, w, E]), sa = A((K) => V.current ? !1 : (Te(), Me(), H.current = De(), F.current += De() - T.current, R.current += De() - T.current, F.current = 0, G.current = !1, I.current = !1, W.current = !1, L.current = 0, M.current = 0, E.current && !K && E.current.reset(), f || Ge(), !0), [D, G, w, f, V, E]), ca = A((K) => V.current ? !1 : (Te(), Me(), (G.current || I.current) && be(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, M.current = 0, H.current = De(), E.current && !K && E.current.activate(), Ge(), !0), [D, G, I, V, w, E]), Ke = A((K = !1) => V.current || W.current ? !1 : (L.current = va(), W.current = !0, Be(), Te(), E.current && !K && E.current.pause(), !0), [D, V, E]), ia = A((K = !1) => V.current || !W.current ? !1 : (W.current = !1, I.current || Me(), G.current || Ge(L.current), M.current && (M.current = De()), E.current && !K && E.current.resume(), !0), [D, w, V, L, E]), qa = A((K, Pe) => (E.current ? (Pe && he.current(K, Re), E.current.message(K)) : Pe && he.current(K, Re), !0), [s]), Ma = A(() => G.current, [G]), Ra = A(() => I.current, [I]), $a = A(() => E.current ? E.current.isLeader : null, [E]), ja = A(() => E.current ? E.current.isLastActive : null, [E]), fa = A(() => E.current ? E.current.token : null, [E]), va = A(() => {
|
|
9193
|
+
if (W.current) return L.current;
|
|
9165
9194
|
let K = L.current ? L.current : P.current + w.current, Pe = x.current ? De() - x.current : 0, ra = Math.floor(K - Pe);
|
|
9166
9195
|
return ra < 0 ? 0 : Math.abs(ra);
|
|
9167
|
-
}, [w, P, I, L, x]), Xe = A(() => Math.round(De() -
|
|
9196
|
+
}, [w, P, I, L, x]), Xe = A(() => Math.round(De() - H.current), [H]), _a = A(() => Math.round(De() - N.current), [N]), ya = A(() => T.current ? new Date(T.current) : null, [T]), Pa = A(() => x.current ? new Date(x.current) : null, [x]), wa = A(() => G.current ? Math.round(De() - T.current + F.current) : Math.round(F.current), [T, F]), ha = A(() => G.current ? Math.round(De() - T.current + R.current) : Math.round(R.current), [T, R]), Fa = A(() => {
|
|
9168
9197
|
let K = Math.round(Xe() - wa());
|
|
9169
9198
|
return K >= 0 ? K : 0;
|
|
9170
9199
|
}, [T, F]), Aa = A(() => {
|
|
@@ -9173,58 +9202,58 @@ function Ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
|
|
|
9173
9202
|
}, [T, F]);
|
|
9174
9203
|
_e(() => {
|
|
9175
9204
|
if (p > 0 && u > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9176
|
-
g &&
|
|
9205
|
+
g && Ss(g);
|
|
9177
9206
|
let K = () => {
|
|
9178
|
-
E.current && E.current.close(),
|
|
9207
|
+
E.current && E.current.close(), ye.cancel && ye.cancel(), Te(), Be(!0);
|
|
9179
9208
|
};
|
|
9180
9209
|
return ga && window.addEventListener("beforeunload", K), () => {
|
|
9181
|
-
ga && window.removeEventListener("beforeunload", K), E.current && E.current.close(),
|
|
9210
|
+
ga && window.removeEventListener("beforeunload", K), E.current && E.current.close(), ye.cancel && ye.cancel(), Te(), Be(!0);
|
|
9182
9211
|
};
|
|
9183
9212
|
}, []), _e(() => {
|
|
9184
|
-
E.current && E.current.close(), U ? E.current = new
|
|
9213
|
+
E.current && E.current.close(), U ? E.current = new Gs({ channelName: C, leaderElection: h, onPrompt: () => {
|
|
9185
9214
|
Ye();
|
|
9186
9215
|
}, onIdle: () => {
|
|
9187
9216
|
ce();
|
|
9188
9217
|
}, onActive: () => {
|
|
9189
|
-
|
|
9218
|
+
be();
|
|
9190
9219
|
}, onMessage: (K) => {
|
|
9191
|
-
|
|
9220
|
+
he.current(K, Re);
|
|
9192
9221
|
}, start: ta, reset: sa, activate: ca, pause: Ke, resume: ia }) : E.current = null;
|
|
9193
|
-
}, [U, C, h,
|
|
9194
|
-
O.current || (
|
|
9222
|
+
}, [U, C, h, j, q, Y, he, ta, sa, Ke, ia]), _e(() => {
|
|
9223
|
+
O.current || (Te(), Be(!0)), !(f || S) && (y ? ta() : Me());
|
|
9195
9224
|
}, [f, y, S, O]), _e(() => {
|
|
9196
9225
|
if (!O.current) {
|
|
9197
9226
|
let K = [...(/* @__PURE__ */ new Set([...m, ...b])).values()];
|
|
9198
|
-
if (Be(),
|
|
9227
|
+
if (Be(), B.current = K, ne.current = r, te.current = b, f || S) return;
|
|
9199
9228
|
y ? ta() : Me();
|
|
9200
9229
|
}
|
|
9201
9230
|
}, [r, JSON.stringify(m), JSON.stringify(b), O, S, f, y]), _e(() => {
|
|
9202
9231
|
O.current && (O.current = !1);
|
|
9203
9232
|
}, [O]);
|
|
9204
9233
|
let Re = { message: qa, start: ta, reset: sa, activate: ca, pause: Ke, resume: ia, isIdle: Ma, isPrompted: Ra, isLeader: $a, isLastActiveTab: ja, getTabId: fa, getRemainingTime: va, getElapsedTime: Xe, getTotalElapsedTime: _a, getLastIdleTime: ya, getLastActiveTime: Pa, getIdleTime: wa, getTotalIdleTime: ha, getActiveTime: Fa, getTotalActiveTime: Aa, setOnPresenceChange: (K) => {
|
|
9205
|
-
d = K,
|
|
9234
|
+
d = K, Z.current = K;
|
|
9206
9235
|
}, setOnPrompt: (K) => {
|
|
9207
|
-
l = K,
|
|
9236
|
+
l = K, j.current = K;
|
|
9208
9237
|
}, setOnIdle: (K) => {
|
|
9209
|
-
t = K,
|
|
9238
|
+
t = K, q.current = K;
|
|
9210
9239
|
}, setOnActive: (K) => {
|
|
9211
|
-
n = K,
|
|
9240
|
+
n = K, Y.current = K;
|
|
9212
9241
|
}, setOnAction: (K) => {
|
|
9213
|
-
o = K,
|
|
9242
|
+
o = K, ge.current = K;
|
|
9214
9243
|
}, setOnMessage: (K) => {
|
|
9215
|
-
s = K,
|
|
9244
|
+
s = K, he.current = K;
|
|
9216
9245
|
} };
|
|
9217
9246
|
return Re;
|
|
9218
9247
|
}
|
|
9219
|
-
var
|
|
9220
|
-
|
|
9221
|
-
const
|
|
9248
|
+
var Fs = Yt(null);
|
|
9249
|
+
Fs.Consumer;
|
|
9250
|
+
const Ou = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => ws({
|
|
9222
9251
|
onIdle: e,
|
|
9223
9252
|
onActive: i,
|
|
9224
9253
|
onAction: a,
|
|
9225
9254
|
timeout: r,
|
|
9226
9255
|
throttle: 500
|
|
9227
|
-
}),
|
|
9256
|
+
}), As = ({ options: e } = {}) => {
|
|
9228
9257
|
const { commonInboxApi: i } = Ga(), { getToken: a, lng: r } = se(), m = a?.(), g = Je(r);
|
|
9229
9258
|
return ee({
|
|
9230
9259
|
queryKey: ["inboxList"],
|
|
@@ -9245,20 +9274,20 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9245
9274
|
enabled: !!m,
|
|
9246
9275
|
...e
|
|
9247
9276
|
});
|
|
9248
|
-
},
|
|
9277
|
+
}, Os = ({ options: e } = {}) => {
|
|
9249
9278
|
const { commonReadInboxApi: i } = Ga();
|
|
9250
|
-
return
|
|
9279
|
+
return ae({
|
|
9251
9280
|
mutationKey: ["readInbox"],
|
|
9252
9281
|
mutationFn: async (a) => await i(a),
|
|
9253
9282
|
...e
|
|
9254
9283
|
});
|
|
9255
|
-
},
|
|
9284
|
+
}, Bu = ({
|
|
9256
9285
|
options: e = {
|
|
9257
9286
|
inboxList: {},
|
|
9258
9287
|
readInbox: {}
|
|
9259
9288
|
}
|
|
9260
9289
|
} = {}) => {
|
|
9261
|
-
const i =
|
|
9290
|
+
const i = As({ options: e.inboxList }), a = Os({ options: e.readInbox });
|
|
9262
9291
|
return {
|
|
9263
9292
|
inboxListQuery: i,
|
|
9264
9293
|
readInboxMutation: a
|
|
@@ -9273,7 +9302,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9273
9302
|
[e]
|
|
9274
9303
|
)
|
|
9275
9304
|
};
|
|
9276
|
-
},
|
|
9305
|
+
}, Bs = ({
|
|
9277
9306
|
typeConfig: e = {
|
|
9278
9307
|
all: {},
|
|
9279
9308
|
crypto: {},
|
|
@@ -9319,7 +9348,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9319
9348
|
value: "other",
|
|
9320
9349
|
...e.other
|
|
9321
9350
|
}
|
|
9322
|
-
],
|
|
9351
|
+
], Hu = ({ options: e, formData: i } = {}) => {
|
|
9323
9352
|
const { lng: a } = se(), { newsListApi: r } = _r(), m = Je(a);
|
|
9324
9353
|
return ee({
|
|
9325
9354
|
queryKey: ["newsList"],
|
|
@@ -9340,12 +9369,12 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9340
9369
|
return {
|
|
9341
9370
|
...g.data,
|
|
9342
9371
|
data: l,
|
|
9343
|
-
blogType:
|
|
9372
|
+
blogType: Bs({ typeConfig: e?.typeConfig })
|
|
9344
9373
|
};
|
|
9345
9374
|
},
|
|
9346
9375
|
...e
|
|
9347
9376
|
});
|
|
9348
|
-
},
|
|
9377
|
+
}, Wu = ({ options: e, formData: i } = {}) => {
|
|
9349
9378
|
const { lng: a } = se(), { newsListApi: r } = _r(), m = Je(a);
|
|
9350
9379
|
return ee({
|
|
9351
9380
|
queryKey: ["newsList"],
|
|
@@ -9582,14 +9611,14 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9582
9611
|
snCashRecordApi: y,
|
|
9583
9612
|
otherTransactionApi: n
|
|
9584
9613
|
};
|
|
9585
|
-
},
|
|
9614
|
+
}, Hs = ({ options: e } = {}) => {
|
|
9586
9615
|
const { depositApiV1: i } = Le();
|
|
9587
9616
|
return ee({
|
|
9588
9617
|
queryKey: ["depositV1"],
|
|
9589
9618
|
queryFn: i,
|
|
9590
9619
|
...e
|
|
9591
9620
|
});
|
|
9592
|
-
},
|
|
9621
|
+
}, Ws = ({ paramsData: e, options: i } = {}) => {
|
|
9593
9622
|
const { depositApiV2: a } = Le();
|
|
9594
9623
|
return ee({
|
|
9595
9624
|
queryKey: ["depositV2", e],
|
|
@@ -9614,126 +9643,126 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9614
9643
|
},
|
|
9615
9644
|
...i
|
|
9616
9645
|
});
|
|
9617
|
-
},
|
|
9646
|
+
}, Is = ({ options: e } = {}) => {
|
|
9618
9647
|
const { depositApi: i } = Le();
|
|
9619
|
-
return
|
|
9648
|
+
return ae({
|
|
9620
9649
|
mutationKey: ["depositAction"],
|
|
9621
9650
|
mutationFn: async (a) => i(a),
|
|
9622
9651
|
...e
|
|
9623
9652
|
});
|
|
9624
|
-
},
|
|
9653
|
+
}, zs = ({ options: e } = {}) => {
|
|
9625
9654
|
const { withdrawApi: i } = Le();
|
|
9626
|
-
return
|
|
9655
|
+
return ae({
|
|
9627
9656
|
mutationKey: ["withdrawAction"],
|
|
9628
9657
|
mutationFn: async (a) => i(a),
|
|
9629
9658
|
...e
|
|
9630
9659
|
});
|
|
9631
|
-
},
|
|
9660
|
+
}, Vs = ({ paramsData: e, options: i } = {}) => {
|
|
9632
9661
|
const { depositTransactionApi: a } = Le();
|
|
9633
9662
|
return ee({
|
|
9634
9663
|
queryKey: ["depositTransaction", e],
|
|
9635
9664
|
queryFn: () => a({ paramsData: e }),
|
|
9636
9665
|
...i
|
|
9637
9666
|
});
|
|
9638
|
-
},
|
|
9667
|
+
}, Js = ({ paramsData: e, options: i } = {}) => {
|
|
9639
9668
|
const { eventTransactionApi: a } = Le();
|
|
9640
9669
|
return ee({
|
|
9641
9670
|
queryKey: ["eventTransaction", e],
|
|
9642
9671
|
queryFn: () => a({ paramsData: e }),
|
|
9643
9672
|
...i
|
|
9644
9673
|
});
|
|
9645
|
-
},
|
|
9674
|
+
}, Zs = ({ options: e } = {}) => {
|
|
9646
9675
|
const { bankDepositApi: i } = Le();
|
|
9647
|
-
return
|
|
9676
|
+
return ae({
|
|
9648
9677
|
mutationKey: ["bankDeposit"],
|
|
9649
9678
|
mutationFn: async (a) => i(a),
|
|
9650
9679
|
...e
|
|
9651
9680
|
});
|
|
9652
|
-
},
|
|
9681
|
+
}, Ks = ({ options: e } = {}) => {
|
|
9653
9682
|
const { companyPaymentDepositApi: i } = Le();
|
|
9654
|
-
return
|
|
9683
|
+
return ae({
|
|
9655
9684
|
mutationKey: ["companyPaymentDeposit"],
|
|
9656
9685
|
mutationFn: async (a) => i(a),
|
|
9657
9686
|
...e
|
|
9658
9687
|
});
|
|
9659
|
-
},
|
|
9688
|
+
}, qs = ({ paramsData: e, options: i } = {}) => {
|
|
9660
9689
|
const { withdrawTransactionApi: a } = Le();
|
|
9661
9690
|
return ee({
|
|
9662
9691
|
queryKey: ["withdrawTransaction", e],
|
|
9663
9692
|
queryFn: () => a({ paramsData: e }),
|
|
9664
9693
|
...i
|
|
9665
9694
|
});
|
|
9666
|
-
},
|
|
9695
|
+
}, Iu = ({ options: e } = {}) => {
|
|
9667
9696
|
const { redeemCodeDepositApi: i } = Le();
|
|
9668
|
-
return
|
|
9697
|
+
return ae({
|
|
9669
9698
|
mutationKey: ["redeemCodeDeposit"],
|
|
9670
9699
|
mutationFn: async (a) => i(a),
|
|
9671
9700
|
...e
|
|
9672
9701
|
});
|
|
9673
|
-
},
|
|
9702
|
+
}, zu = ({ options: e } = {}) => {
|
|
9674
9703
|
const { invoiceApi: i } = Le();
|
|
9675
|
-
return
|
|
9704
|
+
return ae({
|
|
9676
9705
|
mutationKey: ["invoiceAction"],
|
|
9677
9706
|
mutationFn: async (a) => i(a),
|
|
9678
9707
|
...e
|
|
9679
9708
|
});
|
|
9680
|
-
},
|
|
9709
|
+
}, Vu = ({ options: e } = {}) => {
|
|
9681
9710
|
const { updateInvoiceApi: i } = Le();
|
|
9682
|
-
return
|
|
9711
|
+
return ae({
|
|
9683
9712
|
mutationKey: ["updateInvoiceAction"],
|
|
9684
9713
|
mutationFn: async (a) => i(a),
|
|
9685
9714
|
...e
|
|
9686
9715
|
});
|
|
9687
|
-
},
|
|
9716
|
+
}, Ju = ({ options: e, paramsData: i } = {}) => {
|
|
9688
9717
|
const { transactionRecordApi: a } = Le();
|
|
9689
9718
|
return ee({
|
|
9690
9719
|
queryKey: ["transactionRecord", "deposit"],
|
|
9691
9720
|
queryFn: () => a(i, "deposit"),
|
|
9692
9721
|
...e
|
|
9693
9722
|
});
|
|
9694
|
-
},
|
|
9723
|
+
}, Zu = ({ options: e, paramsData: i } = {}) => {
|
|
9695
9724
|
const { transactionRecordApi: a } = Le();
|
|
9696
9725
|
return ee({
|
|
9697
9726
|
queryKey: ["transactionRecord", "withdraw"],
|
|
9698
9727
|
queryFn: () => a(i, "withdraw"),
|
|
9699
9728
|
...e
|
|
9700
9729
|
});
|
|
9701
|
-
},
|
|
9730
|
+
}, Ku = ({ options: e, paramsData: i } = {}) => {
|
|
9702
9731
|
const { transactionRecordApi: a } = Le();
|
|
9703
9732
|
return ee({
|
|
9704
9733
|
queryKey: ["transactionRecord", "event"],
|
|
9705
9734
|
queryFn: () => a(i, "event"),
|
|
9706
9735
|
...e
|
|
9707
9736
|
});
|
|
9708
|
-
},
|
|
9737
|
+
}, qu = ({ options: e, paramsData: i } = {}) => {
|
|
9709
9738
|
const { transactionRecordApi: a } = Le();
|
|
9710
9739
|
return ee({
|
|
9711
9740
|
queryKey: ["transactionRecord", "rebate"],
|
|
9712
9741
|
queryFn: () => a(i, "rebate"),
|
|
9713
9742
|
...e
|
|
9714
9743
|
});
|
|
9715
|
-
},
|
|
9744
|
+
}, $u = ({ options: e, paramsData: i } = {}) => {
|
|
9716
9745
|
const { treasureRecordApi: a } = Le();
|
|
9717
9746
|
return ee({
|
|
9718
9747
|
queryKey: ["treasureRecord", i],
|
|
9719
9748
|
queryFn: () => a(i),
|
|
9720
9749
|
...e
|
|
9721
9750
|
});
|
|
9722
|
-
},
|
|
9751
|
+
}, ju = ({ options: e, paramsData: i } = {}) => {
|
|
9723
9752
|
const { snCashRecordApi: a } = Le();
|
|
9724
9753
|
return ee({
|
|
9725
9754
|
queryKey: ["snCashRecord", i],
|
|
9726
9755
|
queryFn: () => a(i),
|
|
9727
9756
|
...e
|
|
9728
9757
|
});
|
|
9729
|
-
},
|
|
9758
|
+
}, Qu = ({ options: e, paramsData: i } = {}) => {
|
|
9730
9759
|
const { otherTransactionApi: a } = Le();
|
|
9731
9760
|
return ee({
|
|
9732
9761
|
queryKey: ["otherTransaction", i],
|
|
9733
9762
|
queryFn: () => a({ paramsData: i }),
|
|
9734
9763
|
...e
|
|
9735
9764
|
});
|
|
9736
|
-
},
|
|
9765
|
+
}, Yu = ({
|
|
9737
9766
|
depositV1: e = {},
|
|
9738
9767
|
depositV2: i = {},
|
|
9739
9768
|
depositTransaction: a = {},
|
|
@@ -9744,9 +9773,9 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9744
9773
|
eventTransaction: d = {},
|
|
9745
9774
|
withdrawTransaction: l = {}
|
|
9746
9775
|
} = {}) => {
|
|
9747
|
-
const t =
|
|
9776
|
+
const t = Hs(e), n = Ws(i), o = Vs(a), s = Is(r), p = zs(m), u = Zs(g), _ = Ks(
|
|
9748
9777
|
b
|
|
9749
|
-
), y =
|
|
9778
|
+
), y = Js(d), f = qs(
|
|
9750
9779
|
l
|
|
9751
9780
|
);
|
|
9752
9781
|
return {
|
|
@@ -9760,10 +9789,10 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9760
9789
|
eventTransaction: y,
|
|
9761
9790
|
withdrawTransaction: f
|
|
9762
9791
|
};
|
|
9763
|
-
}, yr = "3.8.0",
|
|
9792
|
+
}, yr = "3.8.0", $s = yr, Ka = typeof Buffer == "function", An = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, On = typeof TextEncoder == "function" ? new TextEncoder() : void 0, js = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", nt = Array.prototype.slice.call(js), pt = ((e) => {
|
|
9764
9793
|
let i = {};
|
|
9765
9794
|
return e.forEach((a, r) => i[a] = r), i;
|
|
9766
|
-
})(nt),
|
|
9795
|
+
})(nt), Qs = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Oe = String.fromCharCode.bind(String), Bn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), br = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (i) => i == "+" ? "-" : "_"), Ur = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Cr = (e) => {
|
|
9767
9796
|
let i, a, r, m, g = "";
|
|
9768
9797
|
const b = e.length % 3;
|
|
9769
9798
|
for (let d = 0; d < e.length; ) {
|
|
@@ -9777,7 +9806,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9777
9806
|
for (let r = 0, m = e.length; r < m; r += 4096)
|
|
9778
9807
|
a.push(Oe.apply(null, e.subarray(r, r + 4096)));
|
|
9779
9808
|
return Ni(a.join(""));
|
|
9780
|
-
}, jt = (e, i = !1) => i ? br(ci(e)) : ci(e),
|
|
9809
|
+
}, jt = (e, i = !1) => i ? br(ci(e)) : ci(e), Ys = (e) => {
|
|
9781
9810
|
if (e.length < 2) {
|
|
9782
9811
|
var i = e.charCodeAt(0);
|
|
9783
9812
|
return i < 128 ? e : i < 2048 ? Oe(192 | i >>> 6) + Oe(128 | i & 63) : Oe(224 | i >>> 12 & 15) + Oe(128 | i >>> 6 & 63) + Oe(128 | i & 63);
|
|
@@ -9785,7 +9814,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9785
9814
|
var i = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
9786
9815
|
return Oe(240 | i >>> 18 & 7) + Oe(128 | i >>> 12 & 63) + Oe(128 | i >>> 6 & 63) + Oe(128 | i & 63);
|
|
9787
9816
|
}
|
|
9788
|
-
},
|
|
9817
|
+
}, Xs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, vr = (e) => e.replace(Xs, Ys), Hn = Ka ? (e) => Buffer.from(e, "utf8").toString("base64") : On ? (e) => ci(On.encode(e)) : (e) => Ni(vr(e)), Ja = (e, i = !1) => i ? br(Hn(e)) : Hn(e), Wn = (e) => Ja(e, !0), em = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, am = (e) => {
|
|
9789
9818
|
switch (e.length) {
|
|
9790
9819
|
case 4:
|
|
9791
9820
|
var i = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), a = i - 65536;
|
|
@@ -9795,15 +9824,15 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9795
9824
|
default:
|
|
9796
9825
|
return Oe((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
9797
9826
|
}
|
|
9798
|
-
}, hr = (e) => e.replace(
|
|
9799
|
-
if (e = e.replace(/\s+/g, ""), !
|
|
9827
|
+
}, hr = (e) => e.replace(em, am), Tr = (e) => {
|
|
9828
|
+
if (e = e.replace(/\s+/g, ""), !Qs.test(e))
|
|
9800
9829
|
throw new TypeError("malformed base64.");
|
|
9801
9830
|
e += "==".slice(2 - (e.length & 3));
|
|
9802
9831
|
let i, a, r, m = [];
|
|
9803
9832
|
for (let g = 0; g < e.length; )
|
|
9804
9833
|
i = pt[e.charAt(g++)] << 18 | pt[e.charAt(g++)] << 12 | (a = pt[e.charAt(g++)]) << 6 | (r = pt[e.charAt(g++)]), a === 64 ? m.push(Oe(i >> 16 & 255)) : r === 64 ? m.push(Oe(i >> 16 & 255, i >> 8 & 255)) : m.push(Oe(i >> 16 & 255, i >> 8 & 255, i & 255));
|
|
9805
9834
|
return m.join("");
|
|
9806
|
-
}, Li = typeof atob == "function" ? (e) => atob(Ur(e)) : Ka ? (e) => Buffer.from(e, "base64").toString("binary") : Tr, kr = Ka ? (e) => Bn(Buffer.from(e, "base64")) : (e) => Bn(Li(e).split("").map((i) => i.charCodeAt(0))), xr = (e) => kr(Sr(e)),
|
|
9835
|
+
}, Li = typeof atob == "function" ? (e) => atob(Ur(e)) : Ka ? (e) => Buffer.from(e, "base64").toString("binary") : Tr, kr = Ka ? (e) => Bn(Buffer.from(e, "base64")) : (e) => Bn(Li(e).split("").map((i) => i.charCodeAt(0))), xr = (e) => kr(Sr(e)), tm = Ka ? (e) => Buffer.from(e, "base64").toString("utf8") : An ? (e) => An.decode(kr(e)) : (e) => hr(Li(e)), Sr = (e) => Ur(e.replace(/[-_]/g, (i) => i == "-" ? "+" : "/")), fi = (e) => tm(Sr(e)), im = (e) => {
|
|
9807
9836
|
if (typeof e != "string")
|
|
9808
9837
|
return !1;
|
|
9809
9838
|
const i = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
@@ -9835,11 +9864,11 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9835
9864
|
}), e("toBase64URL", function() {
|
|
9836
9865
|
return jt(this, !0);
|
|
9837
9866
|
});
|
|
9838
|
-
},
|
|
9867
|
+
}, nm = () => {
|
|
9839
9868
|
Dr(), Nr();
|
|
9840
|
-
},
|
|
9869
|
+
}, rm = {
|
|
9841
9870
|
version: yr,
|
|
9842
|
-
VERSION:
|
|
9871
|
+
VERSION: $s,
|
|
9843
9872
|
atob: Li,
|
|
9844
9873
|
atobPolyfill: Tr,
|
|
9845
9874
|
btoa: Ni,
|
|
@@ -9852,13 +9881,13 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9852
9881
|
utob: vr,
|
|
9853
9882
|
btou: hr,
|
|
9854
9883
|
decode: fi,
|
|
9855
|
-
isValid:
|
|
9884
|
+
isValid: im,
|
|
9856
9885
|
fromUint8Array: jt,
|
|
9857
9886
|
toUint8Array: xr,
|
|
9858
9887
|
extendString: Dr,
|
|
9859
9888
|
extendUint8Array: Nr,
|
|
9860
|
-
extendBuiltins:
|
|
9861
|
-
},
|
|
9889
|
+
extendBuiltins: nm
|
|
9890
|
+
}, Xu = (e, i) => {
|
|
9862
9891
|
const { playGameApi: a } = hi();
|
|
9863
9892
|
return ee({
|
|
9864
9893
|
queryKey: ["playGame"],
|
|
@@ -9886,7 +9915,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9886
9915
|
supportPortrait: s,
|
|
9887
9916
|
isHtmlCode: u,
|
|
9888
9917
|
gameUrl: p,
|
|
9889
|
-
decodeGameUrl:
|
|
9918
|
+
decodeGameUrl: rm.decode(p),
|
|
9890
9919
|
message: _,
|
|
9891
9920
|
betLimitInfo: y
|
|
9892
9921
|
};
|
|
@@ -9900,7 +9929,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9900
9929
|
currentRebateApi: i,
|
|
9901
9930
|
receiveRebateApi: a
|
|
9902
9931
|
};
|
|
9903
|
-
},
|
|
9932
|
+
}, lm = ({ options: e } = {}) => {
|
|
9904
9933
|
const { currentRebateApi: i } = Lr();
|
|
9905
9934
|
return ee({
|
|
9906
9935
|
queryKey: ["currentRebate"],
|
|
@@ -9908,20 +9937,20 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9908
9937
|
select: (a) => Qn(a, ["code", "status"]),
|
|
9909
9938
|
...e
|
|
9910
9939
|
});
|
|
9911
|
-
},
|
|
9940
|
+
}, om = ({ options: e } = {}) => {
|
|
9912
9941
|
const { receiveRebateApi: i } = Lr();
|
|
9913
|
-
return
|
|
9942
|
+
return ae({
|
|
9914
9943
|
mutationKey: ["receiveRebate"],
|
|
9915
9944
|
mutationFn: async () => i(),
|
|
9916
9945
|
...e
|
|
9917
9946
|
});
|
|
9918
|
-
},
|
|
9947
|
+
}, e0 = ({
|
|
9919
9948
|
options: e = {
|
|
9920
9949
|
currentRebate: {},
|
|
9921
9950
|
receiveRebate: {}
|
|
9922
9951
|
}
|
|
9923
9952
|
} = {}) => {
|
|
9924
|
-
const i =
|
|
9953
|
+
const i = lm({ options: e.currentRebate }), a = om({ options: e.receiveRebate });
|
|
9925
9954
|
return {
|
|
9926
9955
|
currentRebate: i,
|
|
9927
9956
|
receiveRebate: a
|
|
@@ -9945,7 +9974,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9945
9974
|
redeemRewardApi: m,
|
|
9946
9975
|
historyRewardApi: g
|
|
9947
9976
|
};
|
|
9948
|
-
},
|
|
9977
|
+
}, sm = ({ options: e, formData: i } = {}) => {
|
|
9949
9978
|
const { rewardListApi: a } = lt();
|
|
9950
9979
|
return ee({
|
|
9951
9980
|
queryKey: ["rewardsList"],
|
|
@@ -9992,35 +10021,35 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
9992
10021
|
},
|
|
9993
10022
|
...e
|
|
9994
10023
|
});
|
|
9995
|
-
},
|
|
10024
|
+
}, mm = ({ options: e } = {}) => {
|
|
9996
10025
|
const { redeemRewardApi: i } = lt();
|
|
9997
|
-
return
|
|
10026
|
+
return ae({
|
|
9998
10027
|
mutationKey: ["redeemReward"],
|
|
9999
10028
|
mutationFn: async (a) => await i(a),
|
|
10000
10029
|
...e
|
|
10001
10030
|
});
|
|
10002
|
-
},
|
|
10031
|
+
}, um = ({ options: e } = {}) => {
|
|
10003
10032
|
const { unUsedRewardListApi: i } = lt();
|
|
10004
10033
|
return ee({
|
|
10005
10034
|
queryKey: ["unUsedRewardsList"],
|
|
10006
10035
|
queryFn: i,
|
|
10007
10036
|
...e
|
|
10008
10037
|
});
|
|
10009
|
-
},
|
|
10038
|
+
}, pm = ({ options: e } = {}) => {
|
|
10010
10039
|
const { expiredRewardListApi: i } = lt();
|
|
10011
10040
|
return ee({
|
|
10012
10041
|
queryKey: ["expiredRewardsList"],
|
|
10013
10042
|
queryFn: i,
|
|
10014
10043
|
...e
|
|
10015
10044
|
});
|
|
10016
|
-
},
|
|
10045
|
+
}, gm = ({ options: e } = {}) => {
|
|
10017
10046
|
const { historyRewardApi: i } = lt();
|
|
10018
10047
|
return ee({
|
|
10019
10048
|
queryKey: ["historyRewardsList"],
|
|
10020
10049
|
queryFn: i,
|
|
10021
10050
|
...e
|
|
10022
10051
|
});
|
|
10023
|
-
},
|
|
10052
|
+
}, a0 = ({
|
|
10024
10053
|
options: e = {
|
|
10025
10054
|
rewardsList: {},
|
|
10026
10055
|
redeemReward: {},
|
|
@@ -10029,13 +10058,13 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10029
10058
|
historyRewardsList: {}
|
|
10030
10059
|
}
|
|
10031
10060
|
} = {}) => {
|
|
10032
|
-
const i =
|
|
10061
|
+
const i = sm({ options: e.rewardsList }), a = mm({
|
|
10033
10062
|
options: e.redeemReward
|
|
10034
|
-
}), r =
|
|
10063
|
+
}), r = um({
|
|
10035
10064
|
options: e.unUsedRewardsList
|
|
10036
|
-
}), m =
|
|
10065
|
+
}), m = pm({
|
|
10037
10066
|
options: e.expiredRewardsList
|
|
10038
|
-
}), g =
|
|
10067
|
+
}), g = gm({
|
|
10039
10068
|
options: e.historyRewardsList
|
|
10040
10069
|
});
|
|
10041
10070
|
return {
|
|
@@ -10080,7 +10109,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10080
10109
|
treasureListApi: i,
|
|
10081
10110
|
redeemTreasureApi: a
|
|
10082
10111
|
};
|
|
10083
|
-
},
|
|
10112
|
+
}, t0 = ({ paramsData: e, options: i } = {}) => {
|
|
10084
10113
|
const { client: a, lng: r } = se(), m = Je(r || "tw"), { treasureListApi: g } = Gr();
|
|
10085
10114
|
return ee({
|
|
10086
10115
|
queryKey: ["treasureList", e],
|
|
@@ -10108,9 +10137,9 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10108
10137
|
},
|
|
10109
10138
|
...i
|
|
10110
10139
|
});
|
|
10111
|
-
},
|
|
10140
|
+
}, i0 = ({ options: e } = {}) => {
|
|
10112
10141
|
const { redeemTreasureApi: i } = Gr();
|
|
10113
|
-
return
|
|
10142
|
+
return ae({
|
|
10114
10143
|
mutationKey: ["redeemTreasure"],
|
|
10115
10144
|
mutationFn: async (a) => i(a),
|
|
10116
10145
|
...e
|
|
@@ -10121,7 +10150,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10121
10150
|
vipListApi: i,
|
|
10122
10151
|
vipInfoApi: a
|
|
10123
10152
|
};
|
|
10124
|
-
},
|
|
10153
|
+
}, n0 = ({ options: e } = {}) => {
|
|
10125
10154
|
const { store: i } = se(), a = i?.getState()?.isMemberInfo || i?.getState()?.member?.member || {}, { vipInfoApi: r } = Mr();
|
|
10126
10155
|
return ee({
|
|
10127
10156
|
queryKey: ["vipInfo"],
|
|
@@ -10146,7 +10175,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10146
10175
|
},
|
|
10147
10176
|
...e
|
|
10148
10177
|
});
|
|
10149
|
-
},
|
|
10178
|
+
}, dm = ({ options: e } = {}) => {
|
|
10150
10179
|
const { store: i } = se(), a = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: r } = Mr();
|
|
10151
10180
|
return ee({
|
|
10152
10181
|
queryKey: ["vipList"],
|
|
@@ -10183,11 +10212,11 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10183
10212
|
},
|
|
10184
10213
|
...e
|
|
10185
10214
|
});
|
|
10186
|
-
},
|
|
10215
|
+
}, r0 = ({ options: e } = {
|
|
10187
10216
|
vipList: {}
|
|
10188
10217
|
}) => ({
|
|
10189
|
-
vipList:
|
|
10190
|
-
}),
|
|
10218
|
+
vipList: dm({ options: e.vipList })
|
|
10219
|
+
}), l0 = ({ onMessage: e } = {}) => {
|
|
10191
10220
|
const [i, a] = da(!1), [r, m] = da([]), g = le(e);
|
|
10192
10221
|
g.current = e;
|
|
10193
10222
|
const b = A((f) => {
|
|
@@ -10270,7 +10299,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10270
10299
|
webViewUnmute: y,
|
|
10271
10300
|
logs: r
|
|
10272
10301
|
};
|
|
10273
|
-
}, gt = "game-icon-ds88",
|
|
10302
|
+
}, gt = "game-icon-ds88", o0 = ({ gameData: e = {} } = {}) => {
|
|
10274
10303
|
const { lng: i } = se(), a = ul(i), {
|
|
10275
10304
|
gameCode: r,
|
|
10276
10305
|
// 遊戲代碼
|
|
@@ -10314,7 +10343,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10314
10343
|
// 越南名稱
|
|
10315
10344
|
gameNameTw: S
|
|
10316
10345
|
// 繁體中文名稱
|
|
10317
|
-
} = e, N = e?.[`gameName${a}`],
|
|
10346
|
+
} = e, N = e?.[`gameName${a}`], H = `${it}/${gt}/${i}/${t}/${tt(r, / /g, "_")}.webp`, T = `${it}/${gt}/${i}/${t}/${tt(r, / /g, "_")}.gif`, x = `${it}/${gt}/en/${t}/${tt(r, / /g, "_")}.webp`, F = `${it}/${gt}/en/${t}/${tt(r, / /g, "_")}.gif`, R = A(
|
|
10318
10347
|
({ long: M = !1, preferAnimated: L = !1 } = {}) => ml({
|
|
10319
10348
|
lng: i,
|
|
10320
10349
|
gamePlatform: t,
|
|
@@ -10344,7 +10373,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10344
10373
|
gameNameVi: h,
|
|
10345
10374
|
gameNameTw: S,
|
|
10346
10375
|
gameName: N,
|
|
10347
|
-
gameImageUrl:
|
|
10376
|
+
gameImageUrl: H,
|
|
10348
10377
|
gameImageUrlAnimated: T,
|
|
10349
10378
|
fallbackGameImageUrl: x,
|
|
10350
10379
|
fallbackGameImageUrlAnimated: F,
|
|
@@ -10353,7 +10382,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10353
10382
|
isInvalidBet: f,
|
|
10354
10383
|
haveJackpot: c
|
|
10355
10384
|
};
|
|
10356
|
-
},
|
|
10385
|
+
}, cm = (e, i = !1) => Xr([
|
|
10357
10386
|
"EVO",
|
|
10358
10387
|
"IMSPRIBE",
|
|
10359
10388
|
"SABA",
|
|
@@ -10364,7 +10393,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10364
10393
|
"HACK",
|
|
10365
10394
|
"NAGA",
|
|
10366
10395
|
"RSG"
|
|
10367
|
-
], e) && i ? `${e}_dark` : e,
|
|
10396
|
+
], e) && i ? `${e}_dark` : e, s0 = ({ platformData: e, darkMode: i } = {}) => {
|
|
10368
10397
|
const {
|
|
10369
10398
|
SubPlatformEnum: a,
|
|
10370
10399
|
// 子平台枚舉
|
|
@@ -10386,7 +10415,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10386
10415
|
// 臨時維護開始時間
|
|
10387
10416
|
temp_maintenance_end_time: o
|
|
10388
10417
|
// 臨時維護結束時間
|
|
10389
|
-
} = e || {}, s = `${je}/${ir}/${
|
|
10418
|
+
} = e || {}, s = `${je}/${ir}/${cm(r, i)}.png`;
|
|
10390
10419
|
return {
|
|
10391
10420
|
subPlatformEnum: a,
|
|
10392
10421
|
platformEnum: r,
|
|
@@ -10400,12 +10429,12 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10400
10429
|
tempMaintenanceEndTime: o,
|
|
10401
10430
|
platformImageUrl: s
|
|
10402
10431
|
};
|
|
10403
|
-
},
|
|
10432
|
+
}, fm = (e = {}) => !Xt(e) || Fe(e) ? [] : ei(e), In = (e = []) => !aa(e) || Fe(e) ? [] : Ne(e, "platform"), _m = (e = []) => !aa(e) || Fe(e) ? [] : Ne(e, "gameTypeName"), ym = (e = []) => !aa(e) || Fe(e) ? [] : Ne(e, "game_subtype"), bm = (e = {}) => !Xt(e) || Fe(e) ? [] : ei(e), Um = (e = [], i = []) => !aa(e) || Fe(e) ? {} : !aa(i) || Fe(i) ? {} : e.reduce((a, r) => {
|
|
10404
10433
|
const m = i.map((g) => g.game_subtype);
|
|
10405
10434
|
return m.forEach((g) => {
|
|
10406
10435
|
a[g] = a[g] || [];
|
|
10407
10436
|
}), m.includes(r.game_subtype) && a[r.game_subtype].push(r), a;
|
|
10408
|
-
}, {}),
|
|
10437
|
+
}, {}), Cm = ({
|
|
10409
10438
|
gameTypes: e = [],
|
|
10410
10439
|
platforms: i = [],
|
|
10411
10440
|
gameList: a = {},
|
|
@@ -10420,7 +10449,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10420
10449
|
allPlatforms: m
|
|
10421
10450
|
});
|
|
10422
10451
|
return Fe(d) || (g[b] = d), g;
|
|
10423
|
-
}, {}),
|
|
10452
|
+
}, {}), m0 = ({
|
|
10424
10453
|
types: e = [],
|
|
10425
10454
|
platforms: i = [],
|
|
10426
10455
|
allGameType: a = [],
|
|
@@ -10438,9 +10467,9 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10438
10467
|
return Fe(s) ? n : { ...n, [o]: s };
|
|
10439
10468
|
}, {});
|
|
10440
10469
|
return Fe(t) || (g[b] = t), g;
|
|
10441
|
-
}, {}),
|
|
10470
|
+
}, {}), vm = (e = {}) => !Xt(e) || Fe(e) ? {} : Object.values(e).reduce((a, r) => (Object.entries(r).forEach(([m, g]) => {
|
|
10442
10471
|
a[m] ? a[m] = [...a[m], ...g] : a[m] = g;
|
|
10443
|
-
}), a), {}),
|
|
10472
|
+
}), a), {}), hm = (e = {}) => {
|
|
10444
10473
|
if (!Xt(e) || Fe(e)) return {};
|
|
10445
10474
|
const i = {};
|
|
10446
10475
|
for (const [a, r] of Object.entries(e)) {
|
|
@@ -10451,7 +10480,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10451
10480
|
}
|
|
10452
10481
|
}
|
|
10453
10482
|
return i;
|
|
10454
|
-
},
|
|
10483
|
+
}, Tm = ({
|
|
10455
10484
|
allGameList: e = {},
|
|
10456
10485
|
allGamePlatform: i = [],
|
|
10457
10486
|
allGameType: a = [],
|
|
@@ -10464,27 +10493,27 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10464
10493
|
highlightGames: t = [],
|
|
10465
10494
|
originPlatform: n = []
|
|
10466
10495
|
}) => {
|
|
10467
|
-
const o =
|
|
10496
|
+
const o = fm(e), s = In(i), p = _m(a), u = ym(r), _ = In(n), y = bm(d), f = Cm({
|
|
10468
10497
|
gameTypes: p,
|
|
10469
10498
|
platforms: s,
|
|
10470
10499
|
gameList: e,
|
|
10471
10500
|
allGameTypes: a,
|
|
10472
10501
|
allPlatforms: i
|
|
10473
10502
|
}), c = Ne(i, (N) => {
|
|
10474
|
-
const
|
|
10503
|
+
const H = `${je}/${ir}/${N.platformEnum}.png`;
|
|
10475
10504
|
return {
|
|
10476
10505
|
...N,
|
|
10477
|
-
platformImageUrl:
|
|
10506
|
+
platformImageUrl: H
|
|
10478
10507
|
};
|
|
10479
|
-
}), U =
|
|
10480
|
-
(N, [
|
|
10508
|
+
}), U = Um(o, r), C = vm(f), v = hm(C), h = jn(f).reduce(
|
|
10509
|
+
(N, [H, T]) => {
|
|
10481
10510
|
const x = ei(el(T));
|
|
10482
|
-
return N[
|
|
10511
|
+
return N[H] = x, N;
|
|
10483
10512
|
},
|
|
10484
10513
|
{}
|
|
10485
|
-
), S = Mi(f).reduce((N,
|
|
10486
|
-
const T = Mi(f[
|
|
10487
|
-
return N[
|
|
10514
|
+
), S = Mi(f).reduce((N, H) => {
|
|
10515
|
+
const T = Mi(f[H]);
|
|
10516
|
+
return N[H] = T, N;
|
|
10488
10517
|
}, {});
|
|
10489
10518
|
return {
|
|
10490
10519
|
platform: {
|
|
@@ -10519,12 +10548,12 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10519
10548
|
favorite: y
|
|
10520
10549
|
}
|
|
10521
10550
|
};
|
|
10522
|
-
},
|
|
10551
|
+
}, u0 = (e = []) => !aa(e) || Fe(e) ? [] : ei(e, (i) => Fe(i.SubPlatformEnum) ? i : i.SubPlatformEnum.map((a) => ({
|
|
10523
10552
|
...i,
|
|
10524
10553
|
...a,
|
|
10525
10554
|
platform: a.SubPlatformEnum,
|
|
10526
10555
|
platformEnum: a.SubPlatformEnum
|
|
10527
|
-
}))),
|
|
10556
|
+
}))), km = {
|
|
10528
10557
|
platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
|
|
10529
10558
|
type: { main: [], sub: [], originMain: [], originSub: [] },
|
|
10530
10559
|
gameList: {
|
|
@@ -10544,7 +10573,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10544
10573
|
byGameType: {}
|
|
10545
10574
|
},
|
|
10546
10575
|
user: { favorite: [] }
|
|
10547
|
-
},
|
|
10576
|
+
}, xm = ({ enabled: e = !0 } = {}) => {
|
|
10548
10577
|
const { getToken: i } = se(), { userFavoriteGameApi: a, userGameListApi: r } = re(), { data: m, isLoading: g, error: b, refetch: d } = ee({
|
|
10549
10578
|
queryKey: ["gamesInfo"],
|
|
10550
10579
|
queryFn: async () => {
|
|
@@ -10554,7 +10583,7 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10554
10583
|
} catch (n) {
|
|
10555
10584
|
console.warn("Failed to fetch favorite games:", n);
|
|
10556
10585
|
}
|
|
10557
|
-
return
|
|
10586
|
+
return Tm({
|
|
10558
10587
|
allGameList: t.gameTypeGroup || window.gameTypeGroup || {},
|
|
10559
10588
|
allGamePlatform: t.platforms || window.platforms || [],
|
|
10560
10589
|
allGameType: t.gameType || window.gameType || [],
|
|
@@ -10577,12 +10606,12 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
10577
10606
|
refetchOnWindowFocus: !1
|
|
10578
10607
|
});
|
|
10579
10608
|
return {
|
|
10580
|
-
gamesInfo: m ||
|
|
10609
|
+
gamesInfo: m || km,
|
|
10581
10610
|
isLoading: g,
|
|
10582
10611
|
error: b,
|
|
10583
10612
|
refetch: d
|
|
10584
10613
|
};
|
|
10585
|
-
},
|
|
10614
|
+
}, Sm = (e = !1) => {
|
|
10586
10615
|
if (!e && window.gameTypeGroup) {
|
|
10587
10616
|
console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
|
|
10588
10617
|
return;
|
|
@@ -37109,18 +37138,18 @@ const Au = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ps({
|
|
|
37109
37138
|
is_invalid_bet: 0
|
|
37110
37139
|
}
|
|
37111
37140
|
});
|
|
37112
|
-
},
|
|
37141
|
+
}, Em = ({
|
|
37113
37142
|
children: e,
|
|
37114
37143
|
autoFetch: i = !1,
|
|
37115
37144
|
mockData: a = !1
|
|
37116
37145
|
}) => {
|
|
37117
37146
|
_e(() => {
|
|
37118
|
-
a &&
|
|
37147
|
+
a && Sm(!0);
|
|
37119
37148
|
}, [a]);
|
|
37120
|
-
const r =
|
|
37121
|
-
return /* @__PURE__ */
|
|
37149
|
+
const r = xm({ enabled: i });
|
|
37150
|
+
return /* @__PURE__ */ de.jsx(nr.Provider, { value: r, children: e });
|
|
37122
37151
|
};
|
|
37123
|
-
function
|
|
37152
|
+
function p0({
|
|
37124
37153
|
children: e,
|
|
37125
37154
|
autoFetchGamesInfo: i = !1,
|
|
37126
37155
|
useMockData: a = !1,
|
|
@@ -37141,8 +37170,8 @@ function u0({
|
|
|
37141
37170
|
}),
|
|
37142
37171
|
[]
|
|
37143
37172
|
), l = r || d;
|
|
37144
|
-
return /* @__PURE__ */
|
|
37145
|
-
|
|
37173
|
+
return /* @__PURE__ */ de.jsx($r, { client: l, children: /* @__PURE__ */ de.jsx(Yn.Provider, { value: { client: g, formDataClient: b, ...m }, children: /* @__PURE__ */ de.jsx(ll, { children: /* @__PURE__ */ de.jsx(
|
|
37174
|
+
Em,
|
|
37146
37175
|
{
|
|
37147
37176
|
autoFetch: i,
|
|
37148
37177
|
mockData: a,
|
|
@@ -37150,14 +37179,14 @@ function u0({
|
|
|
37150
37179
|
}
|
|
37151
37180
|
) }) }) });
|
|
37152
37181
|
}
|
|
37153
|
-
const
|
|
37182
|
+
const g0 = () => {
|
|
37154
37183
|
const e = Da(), {
|
|
37155
37184
|
mutate: i,
|
|
37156
37185
|
isPending: a,
|
|
37157
37186
|
isSuccess: r,
|
|
37158
37187
|
isError: m,
|
|
37159
37188
|
error: g
|
|
37160
|
-
} =
|
|
37189
|
+
} = ms({
|
|
37161
37190
|
options: {
|
|
37162
37191
|
onSuccess: () => {
|
|
37163
37192
|
e.invalidateQueries({
|
|
@@ -37171,17 +37200,17 @@ const p0 = () => {
|
|
|
37171
37200
|
const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), t = d.get("bind_id");
|
|
37172
37201
|
l && t && (b.current = !0, l === "line" ? i({ bindType: l, bindId: t }) : console.warn(`Unsupported bind type: ${l}`));
|
|
37173
37202
|
}, [i]), null;
|
|
37174
|
-
},
|
|
37203
|
+
}, Dm = { BASE_URL: "/", DEV: !1, MODE: "lib", PROD: !0, SSR: !1, VITE_API_KEY: "6051|IptsseoopjPEtVIi5ITv34Q2ZdVOQelVZ97Vi38Ybcdee7ca", VITE_API_URL: "https://snd.5285.com.tw/api" }, Nm = typeof import.meta < "u" && Dm && !1, zn = "TEST_REQ", d0 = ({
|
|
37175
37204
|
simulate: e,
|
|
37176
37205
|
memberUid: i,
|
|
37177
37206
|
currentGamePlatform: a = null,
|
|
37178
|
-
enabled: r =
|
|
37207
|
+
enabled: r = Nm
|
|
37179
37208
|
}) => {
|
|
37180
37209
|
const [m, g] = da(!1);
|
|
37181
37210
|
if (!r || typeof e != "function") return null;
|
|
37182
37211
|
const b = i ?? null, d = (n, o) => {
|
|
37183
37212
|
console.log("[ws-dev]", n, o), e(o);
|
|
37184
|
-
}, l = (n, o, s = "#444") => /* @__PURE__ */
|
|
37213
|
+
}, l = (n, o, s = "#444") => /* @__PURE__ */ de.jsx(
|
|
37185
37214
|
"button",
|
|
37186
37215
|
{
|
|
37187
37216
|
type: "button",
|
|
@@ -37203,7 +37232,7 @@ const p0 = () => {
|
|
|
37203
37232
|
children: n
|
|
37204
37233
|
}
|
|
37205
37234
|
), t = typeof window < "u" && window.location.pathname.includes("gamebox");
|
|
37206
|
-
return /* @__PURE__ */
|
|
37235
|
+
return /* @__PURE__ */ de.jsxs(
|
|
37207
37236
|
"div",
|
|
37208
37237
|
{
|
|
37209
37238
|
style: {
|
|
@@ -37213,7 +37242,7 @@ const p0 = () => {
|
|
|
37213
37242
|
zIndex: 9999999
|
|
37214
37243
|
},
|
|
37215
37244
|
children: [
|
|
37216
|
-
/* @__PURE__ */
|
|
37245
|
+
/* @__PURE__ */ de.jsx(
|
|
37217
37246
|
"button",
|
|
37218
37247
|
{
|
|
37219
37248
|
type: "button",
|
|
@@ -37231,7 +37260,7 @@ const p0 = () => {
|
|
|
37231
37260
|
children: m ? "▼ WS 測試面板" : "▶ WS 測試面板"
|
|
37232
37261
|
}
|
|
37233
37262
|
),
|
|
37234
|
-
m && /* @__PURE__ */
|
|
37263
|
+
m && /* @__PURE__ */ de.jsxs(
|
|
37235
37264
|
"div",
|
|
37236
37265
|
{
|
|
37237
37266
|
style: {
|
|
@@ -37245,7 +37274,7 @@ const p0 = () => {
|
|
|
37245
37274
|
borderRadius: "8px"
|
|
37246
37275
|
},
|
|
37247
37276
|
children: [
|
|
37248
|
-
/* @__PURE__ */
|
|
37277
|
+
/* @__PURE__ */ de.jsxs("div", { style: { fontSize: "10px", color: "#aaa", marginBottom: "6px" }, children: [
|
|
37249
37278
|
"uid:",
|
|
37250
37279
|
String(b ?? "無"),
|
|
37251
37280
|
" / platform:",
|
|
@@ -37256,7 +37285,7 @@ const p0 = () => {
|
|
|
37256
37285
|
l(
|
|
37257
37286
|
"上分動畫(deposit)",
|
|
37258
37287
|
{
|
|
37259
|
-
type:
|
|
37288
|
+
type: Ce.DEPOSIT,
|
|
37260
37289
|
member_info_uid: b,
|
|
37261
37290
|
amount: 888,
|
|
37262
37291
|
data: { amount: 888, exchange: {} }
|
|
@@ -37266,27 +37295,27 @@ const p0 = () => {
|
|
|
37266
37295
|
l(
|
|
37267
37296
|
"game_maintain 命中當前廠商",
|
|
37268
37297
|
{
|
|
37269
|
-
type:
|
|
37298
|
+
type: Ce.GAME_MAINTAIN,
|
|
37270
37299
|
data: [{ platform: a, minutes: 1 }]
|
|
37271
37300
|
},
|
|
37272
37301
|
"#ef6c00"
|
|
37273
37302
|
),
|
|
37274
37303
|
l("game_maintain 其他廠商", {
|
|
37275
|
-
type:
|
|
37304
|
+
type: Ce.GAME_MAINTAIN,
|
|
37276
37305
|
data: [{ platform: "__OTHER__", minutes: 1 }]
|
|
37277
37306
|
}),
|
|
37278
37307
|
l(
|
|
37279
37308
|
"全站維護 maintain_notice",
|
|
37280
|
-
{ type:
|
|
37309
|
+
{ type: Ce.MAINTAIN_NOTICE, data: "【測試】全站維護時間" },
|
|
37281
37310
|
"#c62828"
|
|
37282
37311
|
),
|
|
37283
37312
|
l("會員維護 maintain_notice_member", {
|
|
37284
|
-
type:
|
|
37313
|
+
type: Ce.MAINTAIN_NOTICE_MEMBER,
|
|
37285
37314
|
member_info_uid: b,
|
|
37286
37315
|
data: { msg: "【測試】會員層級維護", game_id: [] }
|
|
37287
37316
|
}),
|
|
37288
37317
|
l("轉點失敗 transCode", {
|
|
37289
|
-
type:
|
|
37318
|
+
type: Ce.TRANS_CODE,
|
|
37290
37319
|
member_info_uid: b,
|
|
37291
37320
|
data: "fails",
|
|
37292
37321
|
memo: "【測試】轉點失敗訊息"
|
|
@@ -37294,7 +37323,7 @@ const p0 = () => {
|
|
|
37294
37323
|
l(
|
|
37295
37324
|
"轉入處理中 pending",
|
|
37296
37325
|
{
|
|
37297
|
-
type:
|
|
37326
|
+
type: Ce.TRANSFER_IN_GAME,
|
|
37298
37327
|
member_info_uid: b,
|
|
37299
37328
|
data: { request_id: zn, status: "pending" }
|
|
37300
37329
|
},
|
|
@@ -37303,7 +37332,7 @@ const p0 = () => {
|
|
|
37303
37332
|
l(
|
|
37304
37333
|
"轉入完成 success",
|
|
37305
37334
|
{
|
|
37306
|
-
type:
|
|
37335
|
+
type: Ce.TRANSFER_IN_GAME,
|
|
37307
37336
|
member_info_uid: b,
|
|
37308
37337
|
data: {
|
|
37309
37338
|
request_id: zn,
|
|
@@ -37317,20 +37346,20 @@ const p0 = () => {
|
|
|
37317
37346
|
l(
|
|
37318
37347
|
"Socket 錯誤訊息 error",
|
|
37319
37348
|
{
|
|
37320
|
-
type:
|
|
37349
|
+
type: Ce.ERROR,
|
|
37321
37350
|
member_info_uid: b,
|
|
37322
37351
|
data: "【測試】Socket 錯誤訊息"
|
|
37323
37352
|
},
|
|
37324
37353
|
"#c62828"
|
|
37325
37354
|
),
|
|
37326
|
-
/* @__PURE__ */
|
|
37355
|
+
/* @__PURE__ */ de.jsx("div", { style: { fontSize: "9px", color: "#666", marginTop: "4px" }, children: "僅測試環境顯示;正式站請勿傳 enabled" })
|
|
37327
37356
|
]
|
|
37328
37357
|
}
|
|
37329
37358
|
)
|
|
37330
37359
|
]
|
|
37331
37360
|
}
|
|
37332
37361
|
);
|
|
37333
|
-
},
|
|
37362
|
+
}, c0 = ({ onFunction: e = () => {
|
|
37334
37363
|
}, buttonProps: i = {} } = {}) => {
|
|
37335
37364
|
const { lineConfig: a } = se(), r = le(!1), m = X(a, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), n = g.get("invite_code"), { mutate: o, isPending: s } = dr({
|
|
37336
37365
|
options: {
|
|
@@ -37359,7 +37388,7 @@ const p0 = () => {
|
|
|
37359
37388
|
const p = () => {
|
|
37360
37389
|
window.location.href = `https://liff.line.me/${m}`;
|
|
37361
37390
|
};
|
|
37362
|
-
return m ? /* @__PURE__ */
|
|
37391
|
+
return m ? /* @__PURE__ */ de.jsx(
|
|
37363
37392
|
"button",
|
|
37364
37393
|
{
|
|
37365
37394
|
className: "line-login-btn",
|
|
@@ -37370,7 +37399,7 @@ const p0 = () => {
|
|
|
37370
37399
|
}
|
|
37371
37400
|
) : null;
|
|
37372
37401
|
};
|
|
37373
|
-
var
|
|
37402
|
+
var Lm = Object.defineProperty, Qt = Object.getOwnPropertySymbols, Rr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Vn = (e, i, a) => i in e ? Lm(e, i, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[i] = a, _i = (e, i) => {
|
|
37374
37403
|
for (var a in i || (i = {}))
|
|
37375
37404
|
Rr.call(i, a) && Vn(e, a, i[a]);
|
|
37376
37405
|
if (Qt)
|
|
@@ -37786,7 +37815,7 @@ var Ea;
|
|
|
37786
37815
|
if (!d)
|
|
37787
37816
|
throw new Error("Assertion error");
|
|
37788
37817
|
}
|
|
37789
|
-
const g = class
|
|
37818
|
+
const g = class ke {
|
|
37790
37819
|
/*-- Constructor (low level) and fields --*/
|
|
37791
37820
|
// Creates a new QR Code segment with the given attributes and data.
|
|
37792
37821
|
// The character count (numChars) must agree with the mode and the bit buffer length,
|
|
@@ -37804,36 +37833,36 @@ var Ea;
|
|
|
37804
37833
|
let t = [];
|
|
37805
37834
|
for (const n of l)
|
|
37806
37835
|
a(n, 8, t);
|
|
37807
|
-
return new
|
|
37836
|
+
return new ke(ke.Mode.BYTE, l.length, t);
|
|
37808
37837
|
}
|
|
37809
37838
|
// Returns a segment representing the given string of decimal digits encoded in numeric mode.
|
|
37810
37839
|
static makeNumeric(l) {
|
|
37811
|
-
if (!
|
|
37840
|
+
if (!ke.isNumeric(l))
|
|
37812
37841
|
throw new RangeError("String contains non-numeric characters");
|
|
37813
37842
|
let t = [];
|
|
37814
37843
|
for (let n = 0; n < l.length; ) {
|
|
37815
37844
|
const o = Math.min(l.length - n, 3);
|
|
37816
37845
|
a(parseInt(l.substring(n, n + o), 10), o * 3 + 1, t), n += o;
|
|
37817
37846
|
}
|
|
37818
|
-
return new
|
|
37847
|
+
return new ke(ke.Mode.NUMERIC, l.length, t);
|
|
37819
37848
|
}
|
|
37820
37849
|
// Returns a segment representing the given text string encoded in alphanumeric mode.
|
|
37821
37850
|
// The characters allowed are: 0 to 9, A to Z (uppercase only), space,
|
|
37822
37851
|
// dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
37823
37852
|
static makeAlphanumeric(l) {
|
|
37824
|
-
if (!
|
|
37853
|
+
if (!ke.isAlphanumeric(l))
|
|
37825
37854
|
throw new RangeError("String contains unencodable characters in alphanumeric mode");
|
|
37826
37855
|
let t = [], n;
|
|
37827
37856
|
for (n = 0; n + 2 <= l.length; n += 2) {
|
|
37828
|
-
let o =
|
|
37829
|
-
o +=
|
|
37857
|
+
let o = ke.ALPHANUMERIC_CHARSET.indexOf(l.charAt(n)) * 45;
|
|
37858
|
+
o += ke.ALPHANUMERIC_CHARSET.indexOf(l.charAt(n + 1)), a(o, 11, t);
|
|
37830
37859
|
}
|
|
37831
|
-
return n < l.length && a(
|
|
37860
|
+
return n < l.length && a(ke.ALPHANUMERIC_CHARSET.indexOf(l.charAt(n)), 6, t), new ke(ke.Mode.ALPHANUMERIC, l.length, t);
|
|
37832
37861
|
}
|
|
37833
37862
|
// Returns a new mutable list of zero or more segments to represent the given Unicode text string.
|
|
37834
37863
|
// The result may use various segment modes and switch modes to optimize the length of the bit stream.
|
|
37835
37864
|
static makeSegments(l) {
|
|
37836
|
-
return l == "" ? [] :
|
|
37865
|
+
return l == "" ? [] : ke.isNumeric(l) ? [ke.makeNumeric(l)] : ke.isAlphanumeric(l) ? [ke.makeAlphanumeric(l)] : [ke.makeBytes(ke.toUtf8ByteArray(l))];
|
|
37837
37866
|
}
|
|
37838
37867
|
// Returns a segment representing an Extended Channel Interpretation
|
|
37839
37868
|
// (ECI) designator with the given assignment value.
|
|
@@ -37849,18 +37878,18 @@ var Ea;
|
|
|
37849
37878
|
a(6, 3, t), a(l, 21, t);
|
|
37850
37879
|
else
|
|
37851
37880
|
throw new RangeError("ECI assignment value out of range");
|
|
37852
|
-
return new
|
|
37881
|
+
return new ke(ke.Mode.ECI, 0, t);
|
|
37853
37882
|
}
|
|
37854
37883
|
// Tests whether the given string can be encoded as a segment in numeric mode.
|
|
37855
37884
|
// A string is encodable iff each character is in the range 0 to 9.
|
|
37856
37885
|
static isNumeric(l) {
|
|
37857
|
-
return
|
|
37886
|
+
return ke.NUMERIC_REGEX.test(l);
|
|
37858
37887
|
}
|
|
37859
37888
|
// Tests whether the given string can be encoded as a segment in alphanumeric mode.
|
|
37860
37889
|
// A string is encodable iff each character is in the following set: 0 to 9, A to Z
|
|
37861
37890
|
// (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
37862
37891
|
static isAlphanumeric(l) {
|
|
37863
|
-
return
|
|
37892
|
+
return ke.ALPHANUMERIC_REGEX.test(l);
|
|
37864
37893
|
}
|
|
37865
37894
|
/*-- Methods --*/
|
|
37866
37895
|
// Returns a new copy of the data bits of this segment.
|
|
@@ -37922,12 +37951,12 @@ var Ea;
|
|
|
37922
37951
|
})(e.QrSegment || (e.QrSegment = {}));
|
|
37923
37952
|
})(Ea || (Ea = {}));
|
|
37924
37953
|
var Ia = Ea;
|
|
37925
|
-
var
|
|
37954
|
+
var Gm = {
|
|
37926
37955
|
L: Ia.QrCode.Ecc.LOW,
|
|
37927
37956
|
M: Ia.QrCode.Ecc.MEDIUM,
|
|
37928
37957
|
Q: Ia.QrCode.Ecc.QUARTILE,
|
|
37929
37958
|
H: Ia.QrCode.Ecc.HIGH
|
|
37930
|
-
}, wr = 128, Fr = "L", Ar = "#FFFFFF", Or = "#000000", Br = !1, Hr = 1,
|
|
37959
|
+
}, wr = 128, Fr = "L", Ar = "#FFFFFF", Or = "#000000", Br = !1, Hr = 1, Mm = 4, Rm = 0, Pm = 0.1;
|
|
37931
37960
|
function Wr(e, i = 0) {
|
|
37932
37961
|
const a = [];
|
|
37933
37962
|
return e.forEach(function(r, m) {
|
|
@@ -37954,10 +37983,10 @@ function Wr(e, i = 0) {
|
|
|
37954
37983
|
function Ir(e, i) {
|
|
37955
37984
|
return e.slice().map((a, r) => r < i.y || r >= i.y + i.h ? a : a.map((m, g) => g < i.x || g >= i.x + i.w ? m : !1));
|
|
37956
37985
|
}
|
|
37957
|
-
function
|
|
37986
|
+
function wm(e, i, a, r) {
|
|
37958
37987
|
if (r == null)
|
|
37959
37988
|
return null;
|
|
37960
|
-
const m = e.length + a * 2, g = Math.floor(i *
|
|
37989
|
+
const m = e.length + a * 2, g = Math.floor(i * Pm), b = m / i, d = (r.width || g) * b, l = (r.height || g) * b, t = r.x == null ? e.length / 2 - d / 2 : r.x * b, n = r.y == null ? e.length / 2 - l / 2 : r.y * b, o = r.opacity == null ? 1 : r.opacity;
|
|
37961
37990
|
let s = null;
|
|
37962
37991
|
if (r.excavate) {
|
|
37963
37992
|
let u = Math.floor(t), _ = Math.floor(n), y = Math.ceil(d + t - u), f = Math.ceil(l + n - _);
|
|
@@ -37966,8 +37995,8 @@ function Pm(e, i, a, r) {
|
|
|
37966
37995
|
const p = r.crossOrigin;
|
|
37967
37996
|
return { x: t, y: n, h: l, w: d, excavation: s, opacity: o, crossOrigin: p };
|
|
37968
37997
|
}
|
|
37969
|
-
function
|
|
37970
|
-
return i != null ? Math.max(Math.floor(i), 0) : e ?
|
|
37998
|
+
function Fm(e, i) {
|
|
37999
|
+
return i != null ? Math.max(Math.floor(i), 0) : e ? Mm : Rm;
|
|
37971
38000
|
}
|
|
37972
38001
|
function zr({
|
|
37973
38002
|
value: e,
|
|
@@ -37983,7 +38012,7 @@ function zr({
|
|
|
37983
38012
|
const u = (Array.isArray(e) ? e : [e]).reduce((_, y) => (_.push(...Ia.QrSegment.makeSegments(y)), _), []);
|
|
37984
38013
|
return Ia.QrCode.encodeSegments(
|
|
37985
38014
|
u,
|
|
37986
|
-
|
|
38015
|
+
Gm[i],
|
|
37987
38016
|
a,
|
|
37988
38017
|
void 0,
|
|
37989
38018
|
void 0,
|
|
@@ -37992,7 +38021,7 @@ function zr({
|
|
|
37992
38021
|
}, [e, i, a, d]);
|
|
37993
38022
|
const { cells: t, margin: n, numCells: o, calculatedImageSettings: s } = ve.useMemo(() => {
|
|
37994
38023
|
let p = l.getModules();
|
|
37995
|
-
const u =
|
|
38024
|
+
const u = Fm(r, m), _ = p.length + u * 2, y = wm(
|
|
37996
38025
|
p,
|
|
37997
38026
|
b,
|
|
37998
38027
|
u,
|
|
@@ -38013,14 +38042,14 @@ function zr({
|
|
|
38013
38042
|
calculatedImageSettings: s
|
|
38014
38043
|
};
|
|
38015
38044
|
}
|
|
38016
|
-
var
|
|
38045
|
+
var Am = (function() {
|
|
38017
38046
|
try {
|
|
38018
38047
|
new Path2D().addPath(new Path2D());
|
|
38019
38048
|
} catch {
|
|
38020
38049
|
return !1;
|
|
38021
38050
|
}
|
|
38022
38051
|
return !0;
|
|
38023
|
-
})(),
|
|
38052
|
+
})(), Om = ve.forwardRef(
|
|
38024
38053
|
function(i, a) {
|
|
38025
38054
|
const r = i, {
|
|
38026
38055
|
value: m,
|
|
@@ -38049,7 +38078,7 @@ var Fm = (function() {
|
|
|
38049
38078
|
U.current = M, typeof a == "function" ? a(M) : a && (a.current = M);
|
|
38050
38079
|
},
|
|
38051
38080
|
[a]
|
|
38052
|
-
), [h, S] = ve.useState(!1), { margin: N, cells:
|
|
38081
|
+
), [h, S] = ve.useState(!1), { margin: N, cells: H, numCells: T, calculatedImageSettings: x } = zr({
|
|
38053
38082
|
value: m,
|
|
38054
38083
|
level: b,
|
|
38055
38084
|
minVersion: n,
|
|
@@ -38064,20 +38093,20 @@ var Fm = (function() {
|
|
|
38064
38093
|
const M = U.current, L = M.getContext("2d");
|
|
38065
38094
|
if (!L)
|
|
38066
38095
|
return;
|
|
38067
|
-
let G =
|
|
38068
|
-
const I = C.current,
|
|
38069
|
-
|
|
38070
|
-
|
|
38096
|
+
let G = H;
|
|
38097
|
+
const I = C.current, W = x != null && I !== null && I.complete && I.naturalHeight !== 0 && I.naturalWidth !== 0;
|
|
38098
|
+
W && x.excavation != null && (G = Ir(
|
|
38099
|
+
H,
|
|
38071
38100
|
x.excavation
|
|
38072
38101
|
));
|
|
38073
38102
|
const O = window.devicePixelRatio || 1;
|
|
38074
38103
|
M.height = M.width = g * O;
|
|
38075
|
-
const
|
|
38076
|
-
L.scale(
|
|
38104
|
+
const z = g / T * O;
|
|
38105
|
+
L.scale(z, z), L.fillStyle = d, L.fillRect(0, 0, T, T), L.fillStyle = l, Am ? L.fill(new Path2D(Wr(G, N))) : H.forEach(function(D, E) {
|
|
38077
38106
|
D.forEach(function(w, P) {
|
|
38078
38107
|
w && L.fillRect(P + N, E + N, 1, 1);
|
|
38079
38108
|
});
|
|
38080
|
-
}), x && (L.globalAlpha = x.opacity),
|
|
38109
|
+
}), x && (L.globalAlpha = x.opacity), W && L.drawImage(
|
|
38081
38110
|
I,
|
|
38082
38111
|
x.x + N,
|
|
38083
38112
|
x.y + N,
|
|
@@ -38114,7 +38143,7 @@ var Fm = (function() {
|
|
|
38114
38143
|
), R);
|
|
38115
38144
|
}
|
|
38116
38145
|
);
|
|
38117
|
-
|
|
38146
|
+
Om.displayName = "QRCodeCanvas";
|
|
38118
38147
|
var Vr = ve.forwardRef(
|
|
38119
38148
|
function(i, a) {
|
|
38120
38149
|
const r = i, {
|
|
@@ -38193,7 +38222,7 @@ var Vr = ve.forwardRef(
|
|
|
38193
38222
|
}
|
|
38194
38223
|
);
|
|
38195
38224
|
Vr.displayName = "QRCodeSVG";
|
|
38196
|
-
const
|
|
38225
|
+
const Bm = {
|
|
38197
38226
|
position: "fixed",
|
|
38198
38227
|
top: 0,
|
|
38199
38228
|
left: 0,
|
|
@@ -38206,7 +38235,7 @@ const Om = {
|
|
|
38206
38235
|
justifyContent: "center",
|
|
38207
38236
|
zIndex: 1e4,
|
|
38208
38237
|
gap: "2em"
|
|
38209
|
-
},
|
|
38238
|
+
}, Hm = {
|
|
38210
38239
|
position: "absolute",
|
|
38211
38240
|
top: "20px",
|
|
38212
38241
|
right: "20px",
|
|
@@ -38237,8 +38266,8 @@ const Om = {
|
|
|
38237
38266
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
38238
38267
|
expired: "Kode QR telah kedaluwarsa"
|
|
38239
38268
|
}
|
|
38240
|
-
},
|
|
38241
|
-
const { lng: r, getToken: m, lineConfig: g } = se(), [b, d] = da(300), [l, t] = da(!1), n = le(null), o = X(g, "liffId", ""), s = Je(r), p = m?.(), _ = new URLSearchParams(window.location.search).get("mac") || di.get("machine_mac_address") || "", { data: y, isFetching: f } =
|
|
38269
|
+
}, y0 = ({ forcedShow: e = !1, isVisible: i, setIsVisible: a } = {}) => {
|
|
38270
|
+
const { lng: r, getToken: m, lineConfig: g } = se(), [b, d] = da(300), [l, t] = da(!1), n = le(null), o = X(g, "liffId", ""), s = Je(r), p = m?.(), _ = new URLSearchParams(window.location.search).get("mac") || di.get("machine_mac_address") || "", { data: y, isFetching: f } = ss({
|
|
38242
38271
|
formData: {
|
|
38243
38272
|
mac_address: _
|
|
38244
38273
|
},
|
|
@@ -38259,20 +38288,20 @@ const Om = {
|
|
|
38259
38288
|
};
|
|
38260
38289
|
if (!e && (!_ || p)) return null;
|
|
38261
38290
|
const C = Jn[s] || Jn.en_US;
|
|
38262
|
-
return i && /* @__PURE__ */
|
|
38263
|
-
/* @__PURE__ */
|
|
38291
|
+
return i && /* @__PURE__ */ de.jsxs("div", { style: Bm, children: [
|
|
38292
|
+
/* @__PURE__ */ de.jsx(
|
|
38264
38293
|
"div",
|
|
38265
38294
|
{
|
|
38266
|
-
style:
|
|
38295
|
+
style: Hm,
|
|
38267
38296
|
onClick: () => a(!1),
|
|
38268
38297
|
role: "button",
|
|
38269
38298
|
"aria-label": "Close",
|
|
38270
38299
|
children: "✕"
|
|
38271
38300
|
}
|
|
38272
38301
|
),
|
|
38273
|
-
l ? /* @__PURE__ */
|
|
38274
|
-
/* @__PURE__ */
|
|
38275
|
-
/* @__PURE__ */
|
|
38302
|
+
l ? /* @__PURE__ */ de.jsx("p", { style: { fontWeight: "bold" }, children: C.expired }) : /* @__PURE__ */ de.jsxs(de.Fragment, { children: [
|
|
38303
|
+
/* @__PURE__ */ de.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: C.title }),
|
|
38304
|
+
/* @__PURE__ */ de.jsx(
|
|
38276
38305
|
"div",
|
|
38277
38306
|
{
|
|
38278
38307
|
style: {
|
|
@@ -38286,10 +38315,10 @@ const Om = {
|
|
|
38286
38315
|
boxSizing: "border-box",
|
|
38287
38316
|
color: "black"
|
|
38288
38317
|
},
|
|
38289
|
-
children: f ? "Loading..." : /* @__PURE__ */
|
|
38318
|
+
children: f ? "Loading..." : /* @__PURE__ */ de.jsx(Vr, { width: "100%", height: "100%", value: c })
|
|
38290
38319
|
}
|
|
38291
38320
|
),
|
|
38292
|
-
!f && /* @__PURE__ */
|
|
38321
|
+
!f && /* @__PURE__ */ de.jsx(
|
|
38293
38322
|
"p",
|
|
38294
38323
|
{
|
|
38295
38324
|
style: {
|
|
@@ -38759,7 +38788,7 @@ const Om = {
|
|
|
38759
38788
|
]
|
|
38760
38789
|
}
|
|
38761
38790
|
}
|
|
38762
|
-
},
|
|
38791
|
+
}, Wm = (e) => Kn[e] || Kn.zh_TW, qn = ["privacy", "terms"], $e = {
|
|
38763
38792
|
overlay: "rgba(0, 0, 0, 0.72)",
|
|
38764
38793
|
cardBg: "#1b1b22",
|
|
38765
38794
|
border: "#2c2c36",
|
|
@@ -38770,7 +38799,7 @@ const Om = {
|
|
|
38770
38799
|
accent: "#8b9cff",
|
|
38771
38800
|
tabActive: "#ffffff",
|
|
38772
38801
|
tabInactive: "#8a8a94"
|
|
38773
|
-
},
|
|
38802
|
+
}, b0 = ({
|
|
38774
38803
|
open: e = !1,
|
|
38775
38804
|
onOpenChange: i,
|
|
38776
38805
|
siteName: a = "",
|
|
@@ -38781,7 +38810,7 @@ const Om = {
|
|
|
38781
38810
|
overlayStyle: d = {},
|
|
38782
38811
|
contentStyle: l = {}
|
|
38783
38812
|
}) => {
|
|
38784
|
-
const t = se(), n = g ?? t?.lng, o = Je(n), s =
|
|
38813
|
+
const t = se(), n = g ?? t?.lng, o = Je(n), s = Wm(o), p = { siteName: a, siteUrl: r }, u = qn.includes(m) ? m : "privacy", [_, y] = da(u), [f, c] = da(e);
|
|
38785
38814
|
if (e !== f && (c(e), e && y(u)), _e(() => {
|
|
38786
38815
|
if (!e) return;
|
|
38787
38816
|
const v = (S) => {
|
|
@@ -38794,7 +38823,7 @@ const Om = {
|
|
|
38794
38823
|
};
|
|
38795
38824
|
}, [e, i]), !e) return null;
|
|
38796
38825
|
const U = s[_], C = () => i?.(!1);
|
|
38797
|
-
return /* @__PURE__ */
|
|
38826
|
+
return /* @__PURE__ */ de.jsx(
|
|
38798
38827
|
"div",
|
|
38799
38828
|
{
|
|
38800
38829
|
role: "dialog",
|
|
@@ -38814,7 +38843,7 @@ const Om = {
|
|
|
38814
38843
|
boxSizing: "border-box",
|
|
38815
38844
|
...d
|
|
38816
38845
|
},
|
|
38817
|
-
children: /* @__PURE__ */
|
|
38846
|
+
children: /* @__PURE__ */ de.jsxs(
|
|
38818
38847
|
"div",
|
|
38819
38848
|
{
|
|
38820
38849
|
onClick: (v) => v.stopPropagation(),
|
|
@@ -38833,7 +38862,7 @@ const Om = {
|
|
|
38833
38862
|
...l
|
|
38834
38863
|
},
|
|
38835
38864
|
children: [
|
|
38836
|
-
/* @__PURE__ */
|
|
38865
|
+
/* @__PURE__ */ de.jsxs(
|
|
38837
38866
|
"div",
|
|
38838
38867
|
{
|
|
38839
38868
|
style: {
|
|
@@ -38853,7 +38882,7 @@ const Om = {
|
|
|
38853
38882
|
fontWeight: 500,
|
|
38854
38883
|
borderBottom: "2px solid transparent"
|
|
38855
38884
|
};
|
|
38856
|
-
return /* @__PURE__ */
|
|
38885
|
+
return /* @__PURE__ */ de.jsx(
|
|
38857
38886
|
"button",
|
|
38858
38887
|
{
|
|
38859
38888
|
type: "button",
|
|
@@ -38872,7 +38901,7 @@ const Om = {
|
|
|
38872
38901
|
v
|
|
38873
38902
|
);
|
|
38874
38903
|
}),
|
|
38875
|
-
/* @__PURE__ */
|
|
38904
|
+
/* @__PURE__ */ de.jsx(
|
|
38876
38905
|
"button",
|
|
38877
38906
|
{
|
|
38878
38907
|
type: "button",
|
|
@@ -38892,15 +38921,15 @@ const Om = {
|
|
|
38892
38921
|
]
|
|
38893
38922
|
}
|
|
38894
38923
|
),
|
|
38895
|
-
/* @__PURE__ */
|
|
38896
|
-
/* @__PURE__ */
|
|
38897
|
-
U?.updatedAt && /* @__PURE__ */
|
|
38924
|
+
/* @__PURE__ */ de.jsxs("div", { style: { padding: 20, overflowY: "auto" }, children: [
|
|
38925
|
+
/* @__PURE__ */ de.jsx("h2", { style: { margin: "0 0 4px", fontSize: 20, color: $e.title }, children: pi(U?.title, p) }),
|
|
38926
|
+
U?.updatedAt && /* @__PURE__ */ de.jsxs("p", { style: { margin: "0 0 16px", fontSize: 12, color: $e.muted }, children: [
|
|
38898
38927
|
s.updatedLabel,
|
|
38899
38928
|
":",
|
|
38900
38929
|
U.updatedAt
|
|
38901
38930
|
] }),
|
|
38902
|
-
U?.sections?.map((v, h) => /* @__PURE__ */
|
|
38903
|
-
v.heading ? /* @__PURE__ */
|
|
38931
|
+
U?.sections?.map((v, h) => /* @__PURE__ */ de.jsxs("div", { style: { marginBottom: 16 }, children: [
|
|
38932
|
+
v.heading ? /* @__PURE__ */ de.jsx(
|
|
38904
38933
|
"h3",
|
|
38905
38934
|
{
|
|
38906
38935
|
style: {
|
|
@@ -38912,7 +38941,7 @@ const Om = {
|
|
|
38912
38941
|
children: pi(v.heading, p)
|
|
38913
38942
|
}
|
|
38914
38943
|
) : null,
|
|
38915
|
-
v.body.map((S, N) => /* @__PURE__ */
|
|
38944
|
+
v.body.map((S, N) => /* @__PURE__ */ de.jsx(
|
|
38916
38945
|
"p",
|
|
38917
38946
|
{
|
|
38918
38947
|
style: {
|
|
@@ -38932,165 +38961,166 @@ const Om = {
|
|
|
38932
38961
|
)
|
|
38933
38962
|
}
|
|
38934
38963
|
);
|
|
38935
|
-
},
|
|
38964
|
+
}, U0 = (e = !1) => {
|
|
38936
38965
|
const [i, a] = da(e), r = A(() => a(!0), []), m = A(() => a(!1), []), g = A(() => a((d) => !d), []), b = A((d) => a(!!d), []);
|
|
38937
38966
|
return { open: i, setOpen: a, onOpen: r, onClose: m, onToggle: g, onOpenChange: b };
|
|
38938
38967
|
};
|
|
38939
38968
|
export {
|
|
38940
38969
|
Yn as ApiCtx,
|
|
38941
|
-
|
|
38942
|
-
|
|
38970
|
+
p0 as ApiProvider,
|
|
38971
|
+
g0 as Bind,
|
|
38943
38972
|
nr as GamesInfoCtx,
|
|
38944
|
-
|
|
38945
|
-
|
|
38973
|
+
c0 as LineLogin,
|
|
38974
|
+
y0 as LineQrCode,
|
|
38946
38975
|
Di as MONTH_CARD_QUERY_KEY,
|
|
38947
|
-
|
|
38976
|
+
Ce as SOCKET_TYPE,
|
|
38948
38977
|
Xa as STATUS_TYPES,
|
|
38949
38978
|
Xn as StatusContext,
|
|
38950
38979
|
ll as StatusProvider,
|
|
38951
|
-
|
|
38952
|
-
|
|
38980
|
+
b0 as TermsDialog,
|
|
38981
|
+
d0 as WebSocketDevPanel,
|
|
38953
38982
|
ml as buildGameImageSources,
|
|
38954
|
-
|
|
38955
|
-
|
|
38983
|
+
Cm as buildMultiTypes,
|
|
38984
|
+
m0 as buildMultiTypesWithSubTypes,
|
|
38956
38985
|
dl as buildSinglePlatformWithSubTypes,
|
|
38957
38986
|
gl as buildSingleType,
|
|
38958
|
-
|
|
38987
|
+
Um as categorizeGames,
|
|
38959
38988
|
Je as convertLanguageCode,
|
|
38960
38989
|
ul as convertLanguageGameCode,
|
|
38961
|
-
|
|
38962
|
-
|
|
38963
|
-
|
|
38990
|
+
qm as createLogoutHandler,
|
|
38991
|
+
ym as extractGameSubTypeNames,
|
|
38992
|
+
_m as extractGameTypeNames,
|
|
38964
38993
|
In as extractPlatformNames,
|
|
38965
38994
|
sr as filterGamesByPlatform,
|
|
38966
38995
|
rr as findGameTypeUid,
|
|
38967
38996
|
lr as findPlatformUid,
|
|
38968
38997
|
or as findSubPlatform,
|
|
38969
|
-
|
|
38970
|
-
|
|
38971
|
-
|
|
38972
|
-
|
|
38973
|
-
|
|
38974
|
-
|
|
38998
|
+
fm as flattenAllGames,
|
|
38999
|
+
bm as flattenFavoriteGames,
|
|
39000
|
+
$m as formatNumber,
|
|
39001
|
+
Wm as getTermsContent,
|
|
39002
|
+
vm as groupGamesByPlatform,
|
|
39003
|
+
hm as groupGamesByPlatformAndSubType,
|
|
38975
39004
|
pl as groupGamesBySubType,
|
|
38976
|
-
|
|
38977
|
-
|
|
39005
|
+
cm as handleDarkImage,
|
|
39006
|
+
Sm as initMockWindowData,
|
|
38978
39007
|
pi as interpolate,
|
|
38979
|
-
|
|
38980
|
-
|
|
38981
|
-
|
|
38982
|
-
|
|
38983
|
-
|
|
39008
|
+
Tm as processGameInfo,
|
|
39009
|
+
u0 as processPlatformData,
|
|
39010
|
+
ps as resolveGameMaintainDisplay,
|
|
39011
|
+
Ru as useAbandonEventWallet,
|
|
39012
|
+
iu as useAbandonPoint,
|
|
38984
39013
|
se as useApiContext,
|
|
38985
|
-
|
|
38986
|
-
|
|
38987
|
-
|
|
38988
|
-
|
|
39014
|
+
Cu as useAvatarList,
|
|
39015
|
+
jm as useBalanceGetter,
|
|
39016
|
+
Xm as useBet,
|
|
39017
|
+
Uu as useBetRankingData,
|
|
38989
39018
|
Go as useBetRecord,
|
|
38990
39019
|
Mo as useBetRecordDetail,
|
|
38991
|
-
|
|
38992
|
-
|
|
38993
|
-
|
|
38994
|
-
|
|
38995
|
-
|
|
38996
|
-
|
|
38997
|
-
|
|
38998
|
-
|
|
38999
|
-
|
|
39000
|
-
|
|
39001
|
-
|
|
39002
|
-
|
|
39003
|
-
|
|
39004
|
-
|
|
39005
|
-
|
|
39006
|
-
|
|
39007
|
-
|
|
39008
|
-
|
|
39009
|
-
|
|
39010
|
-
|
|
39011
|
-
|
|
39012
|
-
|
|
39013
|
-
|
|
39014
|
-
|
|
39015
|
-
|
|
39016
|
-
|
|
39017
|
-
|
|
39018
|
-
|
|
39019
|
-
|
|
39020
|
-
|
|
39021
|
-
|
|
39022
|
-
|
|
39023
|
-
|
|
39024
|
-
|
|
39025
|
-
|
|
39026
|
-
|
|
39027
|
-
|
|
39028
|
-
|
|
39029
|
-
|
|
39030
|
-
|
|
39031
|
-
|
|
39032
|
-
|
|
39033
|
-
|
|
39020
|
+
ms as useBindAccount,
|
|
39021
|
+
fs as useCheckCurrentEventProgress,
|
|
39022
|
+
_s as useCheckEventStatus,
|
|
39023
|
+
lu as useCheckMemberTransfer,
|
|
39024
|
+
gu as useCheckMobile,
|
|
39025
|
+
tu as useCheckPlayerWager,
|
|
39026
|
+
Tu as useClientWebSocket,
|
|
39027
|
+
ku as useCommission,
|
|
39028
|
+
ds as useCommissionInfo,
|
|
39029
|
+
Ks as useCompanyPaymentDepositAction,
|
|
39030
|
+
_u as useCreateMachine,
|
|
39031
|
+
lm as useCurrentRebate,
|
|
39032
|
+
Is as useDepositAction,
|
|
39033
|
+
Vs as useDepositTransaction,
|
|
39034
|
+
Hs as useDepositV1,
|
|
39035
|
+
Ws as useDepositV2,
|
|
39036
|
+
Ju as useDepositWalletLog,
|
|
39037
|
+
U0 as useDisclosure,
|
|
39038
|
+
Lu as useEnabledEventWallet,
|
|
39039
|
+
Gu as useEvaluateEventWallet,
|
|
39040
|
+
Du as useEvent,
|
|
39041
|
+
cs as useEventList,
|
|
39042
|
+
Js as useEventTransaction,
|
|
39043
|
+
Ku as useEventWalletLog,
|
|
39044
|
+
pm as useExpiredRewardsList,
|
|
39045
|
+
pu as useForgotPassword,
|
|
39046
|
+
o0 as useGameConfig,
|
|
39047
|
+
Km as useGameInfoContext,
|
|
39048
|
+
xm as useGamesInfo,
|
|
39049
|
+
Pu as useGetAnnouncement,
|
|
39050
|
+
wu as useGetCarouseList,
|
|
39051
|
+
Nu as useGetEventWalletList,
|
|
39052
|
+
ss as useGetMachineLoginCode,
|
|
39053
|
+
Fu as useGetMarquee,
|
|
39054
|
+
Qm as useGetMemberInfo,
|
|
39055
|
+
Au as useGetRankingGame,
|
|
39056
|
+
gm as useHistoryRewardsList,
|
|
39057
|
+
Ou as useIdleTimeout,
|
|
39058
|
+
Bu as useInbox,
|
|
39059
|
+
As as useInboxList,
|
|
39060
|
+
Ym as useInitializeWithToken,
|
|
39061
|
+
zu as useInvoiceAction,
|
|
39062
|
+
bu as useJackpotData,
|
|
39034
39063
|
dr as useLineLogin,
|
|
39035
|
-
|
|
39064
|
+
os as useLineLogin2,
|
|
39036
39065
|
qo as useLogin,
|
|
39037
39066
|
$o as useLogout,
|
|
39038
|
-
|
|
39039
|
-
|
|
39040
|
-
|
|
39041
|
-
|
|
39042
|
-
|
|
39043
|
-
|
|
39044
|
-
|
|
39045
|
-
|
|
39046
|
-
|
|
39067
|
+
nu as useMachineLogin,
|
|
39068
|
+
Eu as useMemberEventSettle,
|
|
39069
|
+
as as useMemberInitSet,
|
|
39070
|
+
ru as useMemberTransfer,
|
|
39071
|
+
uu as useMobileByPassword,
|
|
39072
|
+
ou as useMobileLogin,
|
|
39073
|
+
su as useMobileLoginV2,
|
|
39074
|
+
mu as useMobileRegister,
|
|
39075
|
+
eu as useMonthCard,
|
|
39047
39076
|
Zo as useMonthCardInfo,
|
|
39048
|
-
|
|
39049
|
-
|
|
39050
|
-
|
|
39051
|
-
|
|
39052
|
-
|
|
39053
|
-
|
|
39054
|
-
|
|
39055
|
-
|
|
39056
|
-
|
|
39057
|
-
|
|
39058
|
-
|
|
39059
|
-
|
|
39060
|
-
|
|
39061
|
-
|
|
39062
|
-
|
|
39063
|
-
|
|
39064
|
-
|
|
39065
|
-
|
|
39066
|
-
|
|
39067
|
-
|
|
39068
|
-
|
|
39069
|
-
|
|
39070
|
-
|
|
39077
|
+
Wu as useNewsDetail,
|
|
39078
|
+
Hu as useNewsList,
|
|
39079
|
+
Qu as useOtherTransaction,
|
|
39080
|
+
Yu as usePayment,
|
|
39081
|
+
s0 as usePlatformConfig,
|
|
39082
|
+
Xu as usePlayGame,
|
|
39083
|
+
au as usePointTransfer,
|
|
39084
|
+
Os as useReadInbox,
|
|
39085
|
+
e0 as useRebate,
|
|
39086
|
+
qu as useRebateWalletLog,
|
|
39087
|
+
om as useReceiveRebate,
|
|
39088
|
+
Iu as useRedeemCodeDeposit,
|
|
39089
|
+
xu as useRedeemEventReward,
|
|
39090
|
+
mm as useRedeemReward,
|
|
39091
|
+
i0 as useRedeemTreasure,
|
|
39092
|
+
es as useResetUserPassword,
|
|
39093
|
+
is as useResetUserTransactionPassword,
|
|
39094
|
+
a0 as useRewards,
|
|
39095
|
+
sm as useRewardsList,
|
|
39096
|
+
du as useSendMobileVerifyCode,
|
|
39097
|
+
ts as useSetUserTransactionPassword,
|
|
39098
|
+
Su as useSettleEvent,
|
|
39099
|
+
Mu as useSettleEventWallet,
|
|
39071
39100
|
jo as useSignUp,
|
|
39072
|
-
|
|
39101
|
+
ju as useSnCashRecord,
|
|
39073
39102
|
er as useStatus,
|
|
39074
39103
|
Qo as useToggleFavoriteGame,
|
|
39075
|
-
|
|
39076
|
-
|
|
39077
|
-
|
|
39078
|
-
|
|
39079
|
-
|
|
39080
|
-
|
|
39104
|
+
ls as useTransferInGame,
|
|
39105
|
+
t0 as useTreasureList,
|
|
39106
|
+
$u as useTreasureWalletLog,
|
|
39107
|
+
um as useUnUsedRewardsList,
|
|
39108
|
+
vu as useUpdateAvatar,
|
|
39109
|
+
Vu as useUpdateInvoiceAction,
|
|
39110
|
+
Xo as useUpdateMemberInfo,
|
|
39081
39111
|
Yo as useUpdateUserInfo,
|
|
39082
|
-
|
|
39083
|
-
|
|
39084
|
-
|
|
39085
|
-
|
|
39086
|
-
|
|
39087
|
-
|
|
39088
|
-
|
|
39089
|
-
|
|
39090
|
-
|
|
39091
|
-
|
|
39092
|
-
|
|
39112
|
+
hu as useUser,
|
|
39113
|
+
rs as useUserBindCard,
|
|
39114
|
+
ns as useUserRebate,
|
|
39115
|
+
fu as useVerifyDonationCode,
|
|
39116
|
+
cu as useVerifyPhoneBar,
|
|
39117
|
+
yu as useVerifyResetAction,
|
|
39118
|
+
r0 as useVip,
|
|
39119
|
+
n0 as useVipInfo,
|
|
39120
|
+
dm as useVipList,
|
|
39121
|
+
l0 as useWebView2,
|
|
39122
|
+
zs as useWithdrawAction,
|
|
39093
39123
|
Ko as useWithdrawMonthCard,
|
|
39094
|
-
|
|
39095
|
-
|
|
39124
|
+
qs as useWithdrawTransaction,
|
|
39125
|
+
Zu as useWithdrawWalletLog
|
|
39096
39126
|
};
|