@obb871001/api-integration-sdk 1.0.319 → 1.0.321
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 +6 -6
- package/dist/index.js +402 -395
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import de, { createContext as
|
|
2
|
-
import { useQueries as
|
|
1
|
+
import de, { createContext as qi, useContext as ct, useState as ot, useMemo as Oa, useCallback as I, useRef as ee, useEffect as ge } from "react";
|
|
2
|
+
import { useQueries as Wn, useQuery as Q, useQueryClient as ft, useMutation as re, QueryClient as Ol, QueryClientProvider as Bl } from "@tanstack/react-query";
|
|
3
3
|
import Hl from "axios";
|
|
4
|
-
import { get as le, find as
|
|
4
|
+
import { get as le, find as $e, isEmpty as Ee, entries as zn, forEach as Wl, map as Be, isArray as la, toLower as Dt, omit as zl, replace as ai, includes as Il, isObject as $i, flatMap as Qi, values as Vl, keys as Et } from "lodash";
|
|
5
5
|
import Jl from "react-dom";
|
|
6
|
-
var
|
|
7
|
-
function
|
|
6
|
+
var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
|
+
function _t(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
10
10
|
function Zl(e) {
|
|
@@ -32,10 +32,10 @@ function Zl(e) {
|
|
|
32
32
|
}), i;
|
|
33
33
|
}
|
|
34
34
|
var ii = { exports: {} }, Ja = {};
|
|
35
|
-
var
|
|
35
|
+
var Nt;
|
|
36
36
|
function Kl() {
|
|
37
|
-
if (
|
|
38
|
-
|
|
37
|
+
if (Nt) return Ja;
|
|
38
|
+
Nt = 1;
|
|
39
39
|
var e = de, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
40
40
|
function b(d, r, a) {
|
|
41
41
|
var t, o = {}, s = null, u = null;
|
|
@@ -47,9 +47,9 @@ function Kl() {
|
|
|
47
47
|
return Ja.Fragment = i, Ja.jsx = b, Ja.jsxs = b, Ja;
|
|
48
48
|
}
|
|
49
49
|
var Za = {};
|
|
50
|
-
var
|
|
50
|
+
var Lt;
|
|
51
51
|
function ql() {
|
|
52
|
-
return
|
|
52
|
+
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
53
|
var e = de, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), d = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, c = "@@iterator";
|
|
54
54
|
function f(T) {
|
|
55
55
|
if (T === null || typeof T != "object")
|
|
@@ -277,9 +277,9 @@ function ql() {
|
|
|
277
277
|
if (be !== 1 || he !== 1)
|
|
278
278
|
do
|
|
279
279
|
if (be--, he--, he < 0 || X[be] !== Oe[he]) {
|
|
280
|
-
var
|
|
280
|
+
var qe = `
|
|
281
281
|
` + X[be].replace(" at new ", " at ");
|
|
282
|
-
return T.displayName &&
|
|
282
|
+
return T.displayName && qe.includes("<anonymous>") && (qe = qe.replace("<anonymous>", T.displayName)), typeof T == "function" && te.set(T, qe), qe;
|
|
283
283
|
}
|
|
284
284
|
while (be >= 1 && he >= 0);
|
|
285
285
|
break;
|
|
@@ -288,8 +288,8 @@ function ql() {
|
|
|
288
288
|
} finally {
|
|
289
289
|
ae = !1, q.current = pe, K(), Error.prepareStackTrace = ue;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
292
|
-
return typeof T == "function" && te.set(T,
|
|
291
|
+
var Ra = T ? T.displayName || T.name : "", ba = Ra ? Z(Ra) : "";
|
|
292
|
+
return typeof T == "function" && te.set(T, ba), ba;
|
|
293
293
|
}
|
|
294
294
|
function me(T, z, J) {
|
|
295
295
|
return ye(T, !1);
|
|
@@ -378,7 +378,7 @@ function ql() {
|
|
|
378
378
|
if (aa(T))
|
|
379
379
|
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(T)), ia(T);
|
|
380
380
|
}
|
|
381
|
-
var Re = y.ReactCurrentOwner,
|
|
381
|
+
var Re = y.ReactCurrentOwner, je = {
|
|
382
382
|
key: !0,
|
|
383
383
|
ref: !0,
|
|
384
384
|
__self: !0,
|
|
@@ -392,7 +392,7 @@ function ql() {
|
|
|
392
392
|
}
|
|
393
393
|
return T.ref !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function Ye(T) {
|
|
396
396
|
if (Ue.call(T, "key")) {
|
|
397
397
|
var z = Object.getOwnPropertyDescriptor(T, "key").get;
|
|
398
398
|
if (z && z.isReactWarning)
|
|
@@ -403,7 +403,7 @@ function ql() {
|
|
|
403
403
|
function za(T, z) {
|
|
404
404
|
typeof T.ref == "string" && Re.current;
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function Da(T, z) {
|
|
407
407
|
{
|
|
408
408
|
var J = function() {
|
|
409
409
|
oa || (oa = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", z));
|
|
@@ -414,7 +414,7 @@ function ql() {
|
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function Ea(T, z) {
|
|
418
418
|
{
|
|
419
419
|
var J = function() {
|
|
420
420
|
ga || (ga = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", z));
|
|
@@ -457,9 +457,9 @@ function ql() {
|
|
|
457
457
|
function Va(T, z, J, $, ue) {
|
|
458
458
|
{
|
|
459
459
|
var pe, ne = {}, X = null, Oe = null;
|
|
460
|
-
J !== void 0 && (xe(J), X = "" + J),
|
|
460
|
+
J !== void 0 && (xe(J), X = "" + J), Ye(z) && (xe(z.key), X = "" + z.key), Ve(z) && (Oe = z.ref, za(z, ue));
|
|
461
461
|
for (pe in z)
|
|
462
|
-
Ue.call(z, pe) && !
|
|
462
|
+
Ue.call(z, pe) && !je.hasOwnProperty(pe) && (ne[pe] = z[pe]);
|
|
463
463
|
if (T && T.defaultProps) {
|
|
464
464
|
var be = T.defaultProps;
|
|
465
465
|
for (pe in be)
|
|
@@ -467,25 +467,25 @@ function ql() {
|
|
|
467
467
|
}
|
|
468
468
|
if (X || Oe) {
|
|
469
469
|
var he = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
|
|
470
|
-
X &&
|
|
470
|
+
X && Da(ne, he), Oe && Ea(ne, he);
|
|
471
471
|
}
|
|
472
472
|
return Ia(T, X, Oe, ue, $, Re.current, ne);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
var da = y.ReactCurrentOwner,
|
|
476
|
-
function
|
|
475
|
+
var da = y.ReactCurrentOwner, ya = y.ReactDebugCurrentFrame;
|
|
476
|
+
function Ke(T) {
|
|
477
477
|
if (T) {
|
|
478
478
|
var z = T._owner, J = ke(T.type, T._source, z ? z.type : null);
|
|
479
|
-
|
|
479
|
+
ya.setExtraStackFrame(J);
|
|
480
480
|
} else
|
|
481
|
-
|
|
481
|
+
ya.setExtraStackFrame(null);
|
|
482
482
|
}
|
|
483
483
|
var ca;
|
|
484
484
|
ca = !1;
|
|
485
485
|
function fa(T) {
|
|
486
486
|
return typeof T == "object" && T !== null && T.$$typeof === n;
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function Na() {
|
|
489
489
|
{
|
|
490
490
|
if (da.current) {
|
|
491
491
|
var T = B(da.current.type);
|
|
@@ -497,13 +497,13 @@ Check the render method of \`` + T + "`.";
|
|
|
497
497
|
return "";
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function La(T) {
|
|
501
501
|
return "";
|
|
502
502
|
}
|
|
503
|
-
var
|
|
504
|
-
function
|
|
503
|
+
var Ua = {};
|
|
504
|
+
function Ga(T) {
|
|
505
505
|
{
|
|
506
|
-
var z =
|
|
506
|
+
var z = Na();
|
|
507
507
|
if (!z) {
|
|
508
508
|
var J = typeof T == "string" ? T : T.displayName || T.name;
|
|
509
509
|
J && (z = `
|
|
@@ -513,17 +513,17 @@ Check the top-level render call using <` + J + ">.");
|
|
|
513
513
|
return z;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Ma(T, z) {
|
|
517
517
|
{
|
|
518
518
|
if (!T._store || T._store.validated || T.key != null)
|
|
519
519
|
return;
|
|
520
520
|
T._store.validated = !0;
|
|
521
|
-
var J =
|
|
522
|
-
if (
|
|
521
|
+
var J = Ga(z);
|
|
522
|
+
if (Ua[J])
|
|
523
523
|
return;
|
|
524
|
-
|
|
524
|
+
Ua[J] = !0;
|
|
525
525
|
var $ = "";
|
|
526
|
-
T && T._owner && T._owner !== da.current && ($ = " It was passed a child from " + B(T._owner.type) + "."),
|
|
526
|
+
T && T._owner && T._owner !== da.current && ($ = " It was passed a child from " + B(T._owner.type) + "."), Ke(T), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', J, $), Ke(null);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
function Se(T, z) {
|
|
@@ -533,7 +533,7 @@ Check the top-level render call using <` + J + ">.");
|
|
|
533
533
|
if (ve(T))
|
|
534
534
|
for (var J = 0; J < T.length; J++) {
|
|
535
535
|
var $ = T[J];
|
|
536
|
-
fa($) &&
|
|
536
|
+
fa($) && Ma($, z);
|
|
537
537
|
}
|
|
538
538
|
else if (fa(T))
|
|
539
539
|
T._store && (T._store.validated = !0);
|
|
@@ -541,7 +541,7 @@ Check the top-level render call using <` + J + ">.");
|
|
|
541
541
|
var ue = f(T);
|
|
542
542
|
if (typeof ue == "function" && ue !== T.entries)
|
|
543
543
|
for (var pe = ue.call(T), ne; !(ne = pe.next()).done; )
|
|
544
|
-
fa(ne.value) &&
|
|
544
|
+
fa(ne.value) && Ma(ne.value, z);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
@@ -575,11 +575,11 @@ Check the top-level render call using <` + J + ">.");
|
|
|
575
575
|
for (var z = Object.keys(T.props), J = 0; J < z.length; J++) {
|
|
576
576
|
var $ = z[J];
|
|
577
577
|
if ($ !== "children" && $ !== "key") {
|
|
578
|
-
|
|
578
|
+
Ke(T), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $), Ke(null);
|
|
579
579
|
break;
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
|
-
T.ref !== null && (
|
|
582
|
+
T.ref !== null && (Ke(T), _("Invalid attribute `ref` supplied to `React.Fragment`."), Ke(null));
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var ta = {};
|
|
@@ -589,8 +589,8 @@ Check the top-level render call using <` + J + ">.");
|
|
|
589
589
|
if (!ne) {
|
|
590
590
|
var X = "";
|
|
591
591
|
(T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (X += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
592
|
-
var Oe =
|
|
593
|
-
Oe ? X += Oe : X +=
|
|
592
|
+
var Oe = La();
|
|
593
|
+
Oe ? X += Oe : X += Na();
|
|
594
594
|
var be;
|
|
595
595
|
T === null ? be = "null" : ve(T) ? be = "array" : T !== void 0 && T.$$typeof === n ? (be = "<" + (B(T.type) || "Unknown") + " />", X = " Did you accidentally export a JSX literal instead of a component?") : be = typeof T, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, X);
|
|
596
596
|
}
|
|
@@ -598,30 +598,30 @@ Check the top-level render call using <` + J + ">.");
|
|
|
598
598
|
if (he == null)
|
|
599
599
|
return he;
|
|
600
600
|
if (ne) {
|
|
601
|
-
var
|
|
602
|
-
if (
|
|
601
|
+
var qe = z.children;
|
|
602
|
+
if (qe !== void 0)
|
|
603
603
|
if ($)
|
|
604
|
-
if (ve(
|
|
605
|
-
for (var
|
|
606
|
-
Se(
|
|
607
|
-
Object.freeze && Object.freeze(
|
|
604
|
+
if (ve(qe)) {
|
|
605
|
+
for (var Ra = 0; Ra < qe.length; Ra++)
|
|
606
|
+
Se(qe[Ra], T);
|
|
607
|
+
Object.freeze && Object.freeze(qe);
|
|
608
608
|
} else
|
|
609
609
|
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
610
610
|
else
|
|
611
|
-
Se(
|
|
611
|
+
Se(qe, T);
|
|
612
612
|
}
|
|
613
613
|
if (Ue.call(z, "key")) {
|
|
614
|
-
var
|
|
614
|
+
var ba = B(T), We = Object.keys(z).filter(function(Al) {
|
|
615
615
|
return Al !== "key";
|
|
616
|
-
}),
|
|
617
|
-
if (!ta[
|
|
616
|
+
}), Xi = We.length > 0 ? "{key: someKey, " + We.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
|
+
if (!ta[ba + Xi]) {
|
|
618
618
|
var Fl = We.length > 0 ? "{" + We.join(": ..., ") + ": ...}" : "{}";
|
|
619
619
|
_(`A props object containing a "key" prop is being spread into JSX:
|
|
620
620
|
let props = %s;
|
|
621
621
|
<%s {...props} />
|
|
622
622
|
React keys must be passed directly to JSX without using spread:
|
|
623
623
|
let props = %s;
|
|
624
|
-
<%s key={someKey} {...props} />`,
|
|
624
|
+
<%s key={someKey} {...props} />`, Xi, ba, Fl, ba), ta[ba + Xi] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
return T === l ? De(he) : V(he), he;
|
|
@@ -633,25 +633,25 @@ React keys must be passed directly to JSX without using spread:
|
|
|
633
633
|
function ei(T, z, J) {
|
|
634
634
|
return Pe(T, z, J, !1);
|
|
635
635
|
}
|
|
636
|
-
var
|
|
637
|
-
Za.Fragment = l, Za.jsx =
|
|
636
|
+
var Yi = ei, wl = na;
|
|
637
|
+
Za.Fragment = l, Za.jsx = Yi, Za.jsxs = wl;
|
|
638
638
|
})()), Za;
|
|
639
639
|
}
|
|
640
|
-
var
|
|
640
|
+
var Gt;
|
|
641
641
|
function $l() {
|
|
642
|
-
return
|
|
642
|
+
return Gt || (Gt = 1, process.env.NODE_ENV === "production" ? ii.exports = Kl() : ii.exports = ql()), ii.exports;
|
|
643
643
|
}
|
|
644
644
|
var Fe = $l();
|
|
645
|
-
const
|
|
646
|
-
const e =
|
|
645
|
+
const In = qi(null), oe = () => {
|
|
646
|
+
const e = ct(In);
|
|
647
647
|
if (!e)
|
|
648
648
|
throw new Error("useApiContext must be used within ApiProvider");
|
|
649
649
|
return e;
|
|
650
650
|
}, Ka = {
|
|
651
651
|
READY: "ready",
|
|
652
652
|
PENDING: "pending"
|
|
653
|
-
},
|
|
654
|
-
const [n, i] =
|
|
653
|
+
}, Vn = qi(null), Ql = ({ children: e }) => {
|
|
654
|
+
const [n, i] = ot(Ka.PENDING), l = Oa(() => {
|
|
655
655
|
const p = n === Ka.READY, g = n === Ka.PENDING;
|
|
656
656
|
return {
|
|
657
657
|
status: n,
|
|
@@ -662,13 +662,13 @@ const zn = Ki(null), oe = () => {
|
|
|
662
662
|
setAsPending: () => i(Ka.PENDING)
|
|
663
663
|
};
|
|
664
664
|
}, [n]);
|
|
665
|
-
return /* @__PURE__ */ Fe.jsx(
|
|
666
|
-
},
|
|
667
|
-
const e =
|
|
665
|
+
return /* @__PURE__ */ Fe.jsx(Vn.Provider, { value: l, children: e });
|
|
666
|
+
}, Jn = () => {
|
|
667
|
+
const e = ct(Vn);
|
|
668
668
|
if (!e)
|
|
669
669
|
throw new Error("useStatus must be used within a StatusProvider");
|
|
670
670
|
return e;
|
|
671
|
-
},
|
|
671
|
+
}, Qe = (e) => {
|
|
672
672
|
switch (e) {
|
|
673
673
|
case "tw":
|
|
674
674
|
return "zh_TW";
|
|
@@ -687,7 +687,7 @@ const zn = Ki(null), oe = () => {
|
|
|
687
687
|
default:
|
|
688
688
|
return e;
|
|
689
689
|
}
|
|
690
|
-
},
|
|
690
|
+
}, Ze = "https://d1h3qe8voog6w4.cloudfront.net", ti = "https://d3jx2uvukujuvn.cloudfront.net", Zn = (e) => `${Ze}/reward_icon/${e}.avif`, Kn = () => `${Ze}/reward_icon/background_deposit.avif`, qn = "ds88platformIcon", ja = {
|
|
691
691
|
zh_TW: "系統提示",
|
|
692
692
|
zh_CN: "系统提示",
|
|
693
693
|
en_US: "System Prompt",
|
|
@@ -696,7 +696,7 @@ const zn = Ki(null), oe = () => {
|
|
|
696
696
|
th_TH: "ข้อความระบบ",
|
|
697
697
|
ja_JP: "システムプロンプト"
|
|
698
698
|
};
|
|
699
|
-
function
|
|
699
|
+
function Mt({
|
|
700
700
|
baseURL: e,
|
|
701
701
|
getToken: n,
|
|
702
702
|
timeoutMs: i = 15e3,
|
|
@@ -730,7 +730,7 @@ function Gt({
|
|
|
730
730
|
"發生錯誤,請稍後再試。"
|
|
731
731
|
);
|
|
732
732
|
if (r) {
|
|
733
|
-
const s =
|
|
733
|
+
const s = Qe(l);
|
|
734
734
|
p?.dispatch({
|
|
735
735
|
type: "ui/showToast",
|
|
736
736
|
payload: {
|
|
@@ -745,8 +745,8 @@ function Gt({
|
|
|
745
745
|
}
|
|
746
746
|
), a;
|
|
747
747
|
}
|
|
748
|
-
const
|
|
749
|
-
const e =
|
|
748
|
+
const $n = qi(null), Cm = () => {
|
|
749
|
+
const e = ct($n);
|
|
750
750
|
if (!e)
|
|
751
751
|
throw new Error(
|
|
752
752
|
"useGameInfoContext must be used within a GameInfoCtx.Provider"
|
|
@@ -778,7 +778,7 @@ const qn = Ki(null), Cm = () => {
|
|
|
778
778
|
minimumFractionDigits: 2,
|
|
779
779
|
maximumFractionDigits: 2
|
|
780
780
|
}).format(n);
|
|
781
|
-
},
|
|
781
|
+
}, Qn = (e = [], n) => $e(e, { gameTypeName: n })?.gameTypeUid, jn = (e = [], n) => $e(e, { platform: n })?.platformUid, Yn = (e = [], n) => $e(e, { SubPlatformEnum: n }), Xn = (e = [], n, i) => Ee(e) ? [] : e.filter((l) => i ? String(l?.SubPlatformEnumUid) === String(i?.SubPlatformEnumUid) : String(l.platformUid) === String(n)), jl = (e = []) => Ee(e) ? {} : e.reduce((n, i) => {
|
|
782
782
|
const l = i?.game_subtype || "UNKNOWN";
|
|
783
783
|
return n[l] || (n[l] = []), n[l].push(i), n;
|
|
784
784
|
}, {}), Yl = ({
|
|
@@ -788,9 +788,9 @@ const qn = Ki(null), Cm = () => {
|
|
|
788
788
|
allGameTypes: l,
|
|
789
789
|
allPlatforms: p
|
|
790
790
|
}) => {
|
|
791
|
-
const g =
|
|
791
|
+
const g = Qn(l, e);
|
|
792
792
|
return g ? n.reduce((b, d) => {
|
|
793
|
-
const r =
|
|
793
|
+
const r = jn(p, d), a = Yn(p, d), t = i[g] || [], o = Xn(
|
|
794
794
|
t,
|
|
795
795
|
r,
|
|
796
796
|
a
|
|
@@ -802,16 +802,16 @@ const qn = Ki(null), Cm = () => {
|
|
|
802
802
|
gamesOfType: n = [],
|
|
803
803
|
allPlatforms: i = []
|
|
804
804
|
}) => {
|
|
805
|
-
const l =
|
|
805
|
+
const l = jn(i, e), p = Yn(i, e), g = Xn(
|
|
806
806
|
n,
|
|
807
807
|
l,
|
|
808
808
|
p
|
|
809
809
|
);
|
|
810
810
|
return jl(g);
|
|
811
811
|
};
|
|
812
|
-
var si = { exports: {} }, er = si.exports,
|
|
812
|
+
var si = { exports: {} }, er = si.exports, Rt;
|
|
813
813
|
function ar() {
|
|
814
|
-
return
|
|
814
|
+
return Rt || (Rt = 1, (function(e, n) {
|
|
815
815
|
(function(i, l) {
|
|
816
816
|
e.exports = l();
|
|
817
817
|
})(er, (function() {
|
|
@@ -1088,7 +1088,7 @@ function ar() {
|
|
|
1088
1088
|
})(si)), si.exports;
|
|
1089
1089
|
}
|
|
1090
1090
|
var ir = ar();
|
|
1091
|
-
const we = /* @__PURE__ */
|
|
1091
|
+
const we = /* @__PURE__ */ _t(ir);
|
|
1092
1092
|
var mi = { exports: {} };
|
|
1093
1093
|
function tr(e) {
|
|
1094
1094
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -1098,15 +1098,15 @@ const nr = {}, lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1098
1098
|
__proto__: null,
|
|
1099
1099
|
default: nr
|
|
1100
1100
|
}, Symbol.toStringTag, { value: "Module" })), rr = /* @__PURE__ */ Zl(lr);
|
|
1101
|
-
var or = ui.exports,
|
|
1101
|
+
var or = ui.exports, Pt;
|
|
1102
1102
|
function ie() {
|
|
1103
|
-
return
|
|
1103
|
+
return Pt || (Pt = 1, (function(e, n) {
|
|
1104
1104
|
(function(i, l) {
|
|
1105
1105
|
e.exports = l();
|
|
1106
1106
|
})(or, function() {
|
|
1107
1107
|
var i = i || (function(l, p) {
|
|
1108
1108
|
var g;
|
|
1109
|
-
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof
|
|
1109
|
+
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof et < "u" && et.crypto && (g = et.crypto), !g && typeof tr == "function")
|
|
1110
1110
|
try {
|
|
1111
1111
|
g = rr;
|
|
1112
1112
|
} catch {
|
|
@@ -1599,9 +1599,9 @@ function ie() {
|
|
|
1599
1599
|
});
|
|
1600
1600
|
})(ui)), ui.exports;
|
|
1601
1601
|
}
|
|
1602
|
-
var pi = { exports: {} }, sr = pi.exports,
|
|
1603
|
-
function
|
|
1604
|
-
return
|
|
1602
|
+
var pi = { exports: {} }, sr = pi.exports, wt;
|
|
1603
|
+
function ji() {
|
|
1604
|
+
return wt || (wt = 1, (function(e, n) {
|
|
1605
1605
|
(function(i, l) {
|
|
1606
1606
|
e.exports = l(ie());
|
|
1607
1607
|
})(sr, function(i) {
|
|
@@ -1829,9 +1829,9 @@ function Qi() {
|
|
|
1829
1829
|
});
|
|
1830
1830
|
})(pi)), pi.exports;
|
|
1831
1831
|
}
|
|
1832
|
-
var gi = { exports: {} }, mr = gi.exports,
|
|
1832
|
+
var gi = { exports: {} }, mr = gi.exports, Ft;
|
|
1833
1833
|
function ur() {
|
|
1834
|
-
return
|
|
1834
|
+
return Ft || (Ft = 1, (function(e, n) {
|
|
1835
1835
|
(function(i, l) {
|
|
1836
1836
|
e.exports = l(ie());
|
|
1837
1837
|
})(mr, function(i) {
|
|
@@ -1851,9 +1851,9 @@ function ur() {
|
|
|
1851
1851
|
});
|
|
1852
1852
|
})(gi)), gi.exports;
|
|
1853
1853
|
}
|
|
1854
|
-
var di = { exports: {} }, pr = di.exports,
|
|
1854
|
+
var di = { exports: {} }, pr = di.exports, At;
|
|
1855
1855
|
function gr() {
|
|
1856
|
-
return
|
|
1856
|
+
return At || (At = 1, (function(e, n) {
|
|
1857
1857
|
(function(i, l) {
|
|
1858
1858
|
e.exports = l(ie());
|
|
1859
1859
|
})(pr, function(i) {
|
|
@@ -1945,9 +1945,9 @@ function gr() {
|
|
|
1945
1945
|
});
|
|
1946
1946
|
})(di)), di.exports;
|
|
1947
1947
|
}
|
|
1948
|
-
var ci = { exports: {} }, dr = ci.exports,
|
|
1949
|
-
function
|
|
1950
|
-
return
|
|
1948
|
+
var ci = { exports: {} }, dr = ci.exports, Ot;
|
|
1949
|
+
function xa() {
|
|
1950
|
+
return Ot || (Ot = 1, (function(e, n) {
|
|
1951
1951
|
(function(i, l) {
|
|
1952
1952
|
e.exports = l(ie());
|
|
1953
1953
|
})(dr, function(i) {
|
|
@@ -2020,9 +2020,9 @@ function Sa() {
|
|
|
2020
2020
|
});
|
|
2021
2021
|
})(ci)), ci.exports;
|
|
2022
2022
|
}
|
|
2023
|
-
var fi = { exports: {} }, cr = fi.exports,
|
|
2023
|
+
var fi = { exports: {} }, cr = fi.exports, Bt;
|
|
2024
2024
|
function fr() {
|
|
2025
|
-
return
|
|
2025
|
+
return Bt || (Bt = 1, (function(e, n) {
|
|
2026
2026
|
(function(i, l) {
|
|
2027
2027
|
e.exports = l(ie());
|
|
2028
2028
|
})(cr, function(i) {
|
|
@@ -2102,9 +2102,9 @@ function fr() {
|
|
|
2102
2102
|
});
|
|
2103
2103
|
})(fi)), fi.exports;
|
|
2104
2104
|
}
|
|
2105
|
-
var _i = { exports: {} }, _r = _i.exports,
|
|
2106
|
-
function
|
|
2107
|
-
return
|
|
2105
|
+
var _i = { exports: {} }, _r = _i.exports, Ht;
|
|
2106
|
+
function Sa() {
|
|
2107
|
+
return Ht || (Ht = 1, (function(e, n) {
|
|
2108
2108
|
(function(i, l) {
|
|
2109
2109
|
e.exports = l(ie());
|
|
2110
2110
|
})(_r, function(i) {
|
|
@@ -2168,9 +2168,9 @@ function Da() {
|
|
|
2168
2168
|
});
|
|
2169
2169
|
})(_i)), _i.exports;
|
|
2170
2170
|
}
|
|
2171
|
-
var yi = { exports: {} }, yr = yi.exports,
|
|
2172
|
-
function
|
|
2173
|
-
return
|
|
2171
|
+
var yi = { exports: {} }, yr = yi.exports, Wt;
|
|
2172
|
+
function el() {
|
|
2173
|
+
return Wt || (Wt = 1, (function(e, n) {
|
|
2174
2174
|
(function(i, l) {
|
|
2175
2175
|
e.exports = l(ie());
|
|
2176
2176
|
})(yr, function(i) {
|
|
@@ -2212,9 +2212,9 @@ function Xn() {
|
|
|
2212
2212
|
});
|
|
2213
2213
|
})(yi)), yi.exports;
|
|
2214
2214
|
}
|
|
2215
|
-
var Ui = { exports: {} }, Ur = Ui.exports,
|
|
2216
|
-
function
|
|
2217
|
-
return
|
|
2215
|
+
var Ui = { exports: {} }, Ur = Ui.exports, zt;
|
|
2216
|
+
function yt() {
|
|
2217
|
+
return zt || (zt = 1, (function(e, n) {
|
|
2218
2218
|
(function(i, l) {
|
|
2219
2219
|
e.exports = l(ie());
|
|
2220
2220
|
})(Ur, function(i) {
|
|
@@ -2264,11 +2264,11 @@ function _t() {
|
|
|
2264
2264
|
});
|
|
2265
2265
|
})(Ui)), Ui.exports;
|
|
2266
2266
|
}
|
|
2267
|
-
var bi = { exports: {} }, br = bi.exports,
|
|
2267
|
+
var bi = { exports: {} }, br = bi.exports, It;
|
|
2268
2268
|
function Cr() {
|
|
2269
|
-
return
|
|
2269
|
+
return It || (It = 1, (function(e, n) {
|
|
2270
2270
|
(function(i, l, p) {
|
|
2271
|
-
e.exports = l(ie(),
|
|
2271
|
+
e.exports = l(ie(), yt());
|
|
2272
2272
|
})(br, function(i) {
|
|
2273
2273
|
return (function() {
|
|
2274
2274
|
var l = i, p = l.lib, g = p.WordArray, b = l.algo, d = b.SHA256, r = b.SHA224 = d.extend({
|
|
@@ -2294,11 +2294,11 @@ function Cr() {
|
|
|
2294
2294
|
});
|
|
2295
2295
|
})(bi)), bi.exports;
|
|
2296
2296
|
}
|
|
2297
|
-
var Ci = { exports: {} }, vr = Ci.exports,
|
|
2298
|
-
function
|
|
2299
|
-
return
|
|
2297
|
+
var Ci = { exports: {} }, vr = Ci.exports, Vt;
|
|
2298
|
+
function al() {
|
|
2299
|
+
return Vt || (Vt = 1, (function(e, n) {
|
|
2300
2300
|
(function(i, l, p) {
|
|
2301
|
-
e.exports = l(ie(),
|
|
2301
|
+
e.exports = l(ie(), ji());
|
|
2302
2302
|
})(vr, function(i) {
|
|
2303
2303
|
return (function() {
|
|
2304
2304
|
var l = i, p = l.lib, g = p.Hasher, b = l.x64, d = b.Word, r = b.WordArray, a = l.algo;
|
|
@@ -2410,11 +2410,11 @@ function el() {
|
|
|
2410
2410
|
if (Me < 16)
|
|
2411
2411
|
He = aa.high = m[c + Me * 2] | 0, ve = aa.low = m[c + Me * 2 + 1] | 0;
|
|
2412
2412
|
else {
|
|
2413
|
-
var ia = s[Me - 15], xe = ia.high, Re = ia.low,
|
|
2414
|
-
ve = oa + Va, He =
|
|
2413
|
+
var ia = s[Me - 15], xe = ia.high, Re = ia.low, je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = s[Me - 2], Ve = ga.high, Ye = ga.low, za = (Ve >>> 19 | Ye << 13) ^ (Ve << 3 | Ye >>> 29) ^ Ve >>> 6, Da = (Ye >>> 19 | Ve << 13) ^ (Ye << 3 | Ve >>> 29) ^ (Ye >>> 6 | Ve << 26), Ea = s[Me - 7], Ia = Ea.high, Va = Ea.low, da = s[Me - 16], ya = da.high, Ke = da.low;
|
|
2414
|
+
ve = oa + Va, He = je + Ia + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Da, He = He + za + (ve >>> 0 < Da >>> 0 ? 1 : 0), ve = ve + Ke, He = He + ya + (ve >>> 0 < Ke >>> 0 ? 1 : 0), aa.high = He, aa.low = ve;
|
|
2415
2415
|
}
|
|
2416
|
-
var ca = me & ke ^ ~me & Ie, fa = ce & Ue ^ ~ce & Ce,
|
|
2417
|
-
Ge = Ie, ea = Ce, Ie = ke, Ce = Ue, ke = me, Ue = ce, ce = ye + Pe | 0, me = _e + na + (ce >>> 0 < ye >>> 0 ? 1 : 0) | 0, _e = ae, ye = te, ae = j, te = Z, j = K, Z = q, q = Pe + ei | 0, K = na +
|
|
2416
|
+
var ca = me & ke ^ ~me & Ie, fa = ce & Ue ^ ~ce & Ce, Na = K & j ^ K & ae ^ j & ae, La = q & Z ^ q & te ^ Z & te, Ua = (K >>> 28 | q << 4) ^ (K << 30 | q >>> 2) ^ (K << 25 | q >>> 7), Ga = (q >>> 28 | K << 4) ^ (q << 30 | K >>> 2) ^ (q << 25 | K >>> 7), Ma = (me >>> 14 | ce << 18) ^ (me >>> 18 | ce << 14) ^ (me << 23 | ce >>> 9), Se = (ce >>> 14 | me << 18) ^ (ce >>> 18 | me << 14) ^ (ce << 23 | me >>> 9), V = o[Me], De = V.high, ta = V.low, Pe = ea + Se, na = Ge + Ma + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ta, na = na + De + (Pe >>> 0 < ta >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + He + (Pe >>> 0 < ve >>> 0 ? 1 : 0), ei = Ga + La, Yi = Ua + Na + (ei >>> 0 < Ga >>> 0 ? 1 : 0);
|
|
2417
|
+
Ge = Ie, ea = Ce, Ie = ke, Ce = Ue, ke = me, Ue = ce, ce = ye + Pe | 0, me = _e + na + (ce >>> 0 < ye >>> 0 ? 1 : 0) | 0, _e = ae, ye = te, ae = j, te = Z, j = K, Z = q, q = Pe + ei | 0, K = na + Yi + (q >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
|
|
2418
2418
|
}
|
|
2419
2419
|
k = y.low = k + q, y.high = H + K + (k >>> 0 < q >>> 0 ? 1 : 0), A = _.low = A + Z, _.high = h + j + (A >>> 0 < Z >>> 0 ? 1 : 0), w = U.low = w + te, U.high = B + ae + (w >>> 0 < te >>> 0 ? 1 : 0), R = C.low = R + ye, C.high = G + _e + (R >>> 0 < ye >>> 0 ? 1 : 0), N = v.low = N + ce, v.high = W + me + (N >>> 0 < ce >>> 0 ? 1 : 0), O = x.low = O + Ue, x.high = P + ke + (O >>> 0 < Ue >>> 0 ? 1 : 0), E = S.low = E + Ce, S.high = D + Ie + (E >>> 0 < Ce >>> 0 ? 1 : 0), M = L.low = M + ea, L.high = F + Ge + (M >>> 0 < ea >>> 0 ? 1 : 0);
|
|
2420
2420
|
},
|
|
@@ -2435,11 +2435,11 @@ function el() {
|
|
|
2435
2435
|
});
|
|
2436
2436
|
})(Ci)), Ci.exports;
|
|
2437
2437
|
}
|
|
2438
|
-
var vi = { exports: {} }, hr = vi.exports,
|
|
2438
|
+
var vi = { exports: {} }, hr = vi.exports, Jt;
|
|
2439
2439
|
function Tr() {
|
|
2440
|
-
return
|
|
2440
|
+
return Jt || (Jt = 1, (function(e, n) {
|
|
2441
2441
|
(function(i, l, p) {
|
|
2442
|
-
e.exports = l(ie(),
|
|
2442
|
+
e.exports = l(ie(), ji(), al());
|
|
2443
2443
|
})(hr, function(i) {
|
|
2444
2444
|
return (function() {
|
|
2445
2445
|
var l = i, p = l.x64, g = p.Word, b = p.WordArray, d = l.algo, r = d.SHA512, a = d.SHA384 = r.extend({
|
|
@@ -2465,11 +2465,11 @@ function Tr() {
|
|
|
2465
2465
|
});
|
|
2466
2466
|
})(vi)), vi.exports;
|
|
2467
2467
|
}
|
|
2468
|
-
var hi = { exports: {} }, kr = hi.exports,
|
|
2468
|
+
var hi = { exports: {} }, kr = hi.exports, Zt;
|
|
2469
2469
|
function xr() {
|
|
2470
|
-
return
|
|
2470
|
+
return Zt || (Zt = 1, (function(e, n) {
|
|
2471
2471
|
(function(i, l, p) {
|
|
2472
|
-
e.exports = l(ie(),
|
|
2472
|
+
e.exports = l(ie(), ji());
|
|
2473
2473
|
})(kr, function(i) {
|
|
2474
2474
|
return (function(l) {
|
|
2475
2475
|
var p = i, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.x64, a = r.Word, t = p.algo, o = [], s = [], u = [];
|
|
@@ -2575,9 +2575,9 @@ function xr() {
|
|
|
2575
2575
|
});
|
|
2576
2576
|
})(hi)), hi.exports;
|
|
2577
2577
|
}
|
|
2578
|
-
var Ti = { exports: {} }, Sr = Ti.exports,
|
|
2578
|
+
var Ti = { exports: {} }, Sr = Ti.exports, Kt;
|
|
2579
2579
|
function Dr() {
|
|
2580
|
-
return
|
|
2580
|
+
return Kt || (Kt = 1, (function(e, n) {
|
|
2581
2581
|
(function(i, l) {
|
|
2582
2582
|
e.exports = l(ie());
|
|
2583
2583
|
})(Sr, function(i) {
|
|
@@ -2958,9 +2958,9 @@ function Dr() {
|
|
|
2958
2958
|
});
|
|
2959
2959
|
})(Ti)), Ti.exports;
|
|
2960
2960
|
}
|
|
2961
|
-
var ki = { exports: {} }, Er = ki.exports,
|
|
2962
|
-
function
|
|
2963
|
-
return
|
|
2961
|
+
var ki = { exports: {} }, Er = ki.exports, qt;
|
|
2962
|
+
function Ut() {
|
|
2963
|
+
return qt || (qt = 1, (function(e, n) {
|
|
2964
2964
|
(function(i, l) {
|
|
2965
2965
|
e.exports = l(ie());
|
|
2966
2966
|
})(Er, function(i) {
|
|
@@ -3036,11 +3036,11 @@ function yt() {
|
|
|
3036
3036
|
});
|
|
3037
3037
|
})(ki)), ki.exports;
|
|
3038
3038
|
}
|
|
3039
|
-
var xi = { exports: {} }, Nr = xi.exports,
|
|
3039
|
+
var xi = { exports: {} }, Nr = xi.exports, $t;
|
|
3040
3040
|
function Lr() {
|
|
3041
|
-
return
|
|
3041
|
+
return $t || ($t = 1, (function(e, n) {
|
|
3042
3042
|
(function(i, l, p) {
|
|
3043
|
-
e.exports = l(ie(),
|
|
3043
|
+
e.exports = l(ie(), yt(), Ut());
|
|
3044
3044
|
})(Nr, function(i) {
|
|
3045
3045
|
return (function() {
|
|
3046
3046
|
var l = i, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.SHA256, a = d.HMAC, t = d.PBKDF2 = g.extend({
|
|
@@ -3103,11 +3103,11 @@ function Lr() {
|
|
|
3103
3103
|
});
|
|
3104
3104
|
})(xi)), xi.exports;
|
|
3105
3105
|
}
|
|
3106
|
-
var Si = { exports: {} }, Gr = Si.exports,
|
|
3107
|
-
function
|
|
3108
|
-
return
|
|
3106
|
+
var Si = { exports: {} }, Gr = Si.exports, Qt;
|
|
3107
|
+
function _a() {
|
|
3108
|
+
return Qt || (Qt = 1, (function(e, n) {
|
|
3109
3109
|
(function(i, l, p) {
|
|
3110
|
-
e.exports = l(ie(),
|
|
3110
|
+
e.exports = l(ie(), el(), Ut());
|
|
3111
3111
|
})(Gr, function(i) {
|
|
3112
3112
|
return (function() {
|
|
3113
3113
|
var l = i, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.MD5, a = d.EvpKDF = g.extend({
|
|
@@ -3166,11 +3166,11 @@ function ya() {
|
|
|
3166
3166
|
});
|
|
3167
3167
|
})(Si)), Si.exports;
|
|
3168
3168
|
}
|
|
3169
|
-
var Di = { exports: {} }, Mr = Di.exports,
|
|
3169
|
+
var Di = { exports: {} }, Mr = Di.exports, jt;
|
|
3170
3170
|
function Ne() {
|
|
3171
|
-
return
|
|
3171
|
+
return jt || (jt = 1, (function(e, n) {
|
|
3172
3172
|
(function(i, l, p) {
|
|
3173
|
-
e.exports = l(ie(),
|
|
3173
|
+
e.exports = l(ie(), _a());
|
|
3174
3174
|
})(Mr, function(i) {
|
|
3175
3175
|
i.lib.Cipher || (function(l) {
|
|
3176
3176
|
var p = i, g = p.lib, b = g.Base, d = g.WordArray, r = g.BufferedBlockAlgorithm, a = p.enc;
|
|
@@ -3704,9 +3704,9 @@ function Ne() {
|
|
|
3704
3704
|
});
|
|
3705
3705
|
})(Di)), Di.exports;
|
|
3706
3706
|
}
|
|
3707
|
-
var Ei = { exports: {} }, Rr = Ei.exports,
|
|
3707
|
+
var Ei = { exports: {} }, Rr = Ei.exports, Yt;
|
|
3708
3708
|
function Pr() {
|
|
3709
|
-
return
|
|
3709
|
+
return Yt || (Yt = 1, (function(e, n) {
|
|
3710
3710
|
(function(i, l, p) {
|
|
3711
3711
|
e.exports = l(ie(), Ne());
|
|
3712
3712
|
})(Rr, function(i) {
|
|
@@ -3734,9 +3734,9 @@ function Pr() {
|
|
|
3734
3734
|
});
|
|
3735
3735
|
})(Ei)), Ei.exports;
|
|
3736
3736
|
}
|
|
3737
|
-
var Ni = { exports: {} }, wr = Ni.exports,
|
|
3737
|
+
var Ni = { exports: {} }, wr = Ni.exports, Xt;
|
|
3738
3738
|
function Fr() {
|
|
3739
|
-
return
|
|
3739
|
+
return Xt || (Xt = 1, (function(e, n) {
|
|
3740
3740
|
(function(i, l, p) {
|
|
3741
3741
|
e.exports = l(ie(), Ne());
|
|
3742
3742
|
})(wr, function(i) {
|
|
@@ -3756,9 +3756,9 @@ function Fr() {
|
|
|
3756
3756
|
});
|
|
3757
3757
|
})(Ni)), Ni.exports;
|
|
3758
3758
|
}
|
|
3759
|
-
var Li = { exports: {} }, Ar = Li.exports,
|
|
3759
|
+
var Li = { exports: {} }, Ar = Li.exports, en;
|
|
3760
3760
|
function Or() {
|
|
3761
|
-
return
|
|
3761
|
+
return en || (en = 1, (function(e, n) {
|
|
3762
3762
|
(function(i, l, p) {
|
|
3763
3763
|
e.exports = l(ie(), Ne());
|
|
3764
3764
|
})(Ar, function(i) {
|
|
@@ -3790,9 +3790,9 @@ function Or() {
|
|
|
3790
3790
|
});
|
|
3791
3791
|
})(Li)), Li.exports;
|
|
3792
3792
|
}
|
|
3793
|
-
var Gi = { exports: {} }, Br = Gi.exports,
|
|
3793
|
+
var Gi = { exports: {} }, Br = Gi.exports, an;
|
|
3794
3794
|
function Hr() {
|
|
3795
|
-
return
|
|
3795
|
+
return an || (an = 1, (function(e, n) {
|
|
3796
3796
|
(function(i, l, p) {
|
|
3797
3797
|
e.exports = l(ie(), Ne());
|
|
3798
3798
|
})(Br, function(i) {
|
|
@@ -3810,9 +3810,9 @@ function Hr() {
|
|
|
3810
3810
|
});
|
|
3811
3811
|
})(Gi)), Gi.exports;
|
|
3812
3812
|
}
|
|
3813
|
-
var Mi = { exports: {} }, Wr = Mi.exports,
|
|
3813
|
+
var Mi = { exports: {} }, Wr = Mi.exports, tn;
|
|
3814
3814
|
function zr() {
|
|
3815
|
-
return
|
|
3815
|
+
return tn || (tn = 1, (function(e, n) {
|
|
3816
3816
|
(function(i, l, p) {
|
|
3817
3817
|
e.exports = l(ie(), Ne());
|
|
3818
3818
|
})(Wr, function(i) {
|
|
@@ -3831,9 +3831,9 @@ function zr() {
|
|
|
3831
3831
|
});
|
|
3832
3832
|
})(Mi)), Mi.exports;
|
|
3833
3833
|
}
|
|
3834
|
-
var Ri = { exports: {} }, Ir = Ri.exports,
|
|
3834
|
+
var Ri = { exports: {} }, Ir = Ri.exports, nn;
|
|
3835
3835
|
function Vr() {
|
|
3836
|
-
return
|
|
3836
|
+
return nn || (nn = 1, (function(e, n) {
|
|
3837
3837
|
(function(i, l, p) {
|
|
3838
3838
|
e.exports = l(ie(), Ne());
|
|
3839
3839
|
})(Ir, function(i) {
|
|
@@ -3850,9 +3850,9 @@ function Vr() {
|
|
|
3850
3850
|
});
|
|
3851
3851
|
})(Ri)), Ri.exports;
|
|
3852
3852
|
}
|
|
3853
|
-
var Pi = { exports: {} }, Jr = Pi.exports,
|
|
3853
|
+
var Pi = { exports: {} }, Jr = Pi.exports, ln;
|
|
3854
3854
|
function Zr() {
|
|
3855
|
-
return
|
|
3855
|
+
return ln || (ln = 1, (function(e, n) {
|
|
3856
3856
|
(function(i, l, p) {
|
|
3857
3857
|
e.exports = l(ie(), Ne());
|
|
3858
3858
|
})(Jr, function(i) {
|
|
@@ -3869,9 +3869,9 @@ function Zr() {
|
|
|
3869
3869
|
});
|
|
3870
3870
|
})(Pi)), Pi.exports;
|
|
3871
3871
|
}
|
|
3872
|
-
var wi = { exports: {} }, Kr = wi.exports,
|
|
3872
|
+
var wi = { exports: {} }, Kr = wi.exports, rn;
|
|
3873
3873
|
function qr() {
|
|
3874
|
-
return
|
|
3874
|
+
return rn || (rn = 1, (function(e, n) {
|
|
3875
3875
|
(function(i, l, p) {
|
|
3876
3876
|
e.exports = l(ie(), Ne());
|
|
3877
3877
|
})(Kr, function(i) {
|
|
@@ -3886,9 +3886,9 @@ function qr() {
|
|
|
3886
3886
|
});
|
|
3887
3887
|
})(wi)), wi.exports;
|
|
3888
3888
|
}
|
|
3889
|
-
var Fi = { exports: {} }, $r = Fi.exports,
|
|
3889
|
+
var Fi = { exports: {} }, $r = Fi.exports, on;
|
|
3890
3890
|
function Qr() {
|
|
3891
|
-
return
|
|
3891
|
+
return on || (on = 1, (function(e, n) {
|
|
3892
3892
|
(function(i, l, p) {
|
|
3893
3893
|
e.exports = l(ie(), Ne());
|
|
3894
3894
|
})($r, function(i) {
|
|
@@ -3908,9 +3908,9 @@ function Qr() {
|
|
|
3908
3908
|
});
|
|
3909
3909
|
})(Fi)), Fi.exports;
|
|
3910
3910
|
}
|
|
3911
|
-
var Ai = { exports: {} }, jr = Ai.exports,
|
|
3911
|
+
var Ai = { exports: {} }, jr = Ai.exports, sn;
|
|
3912
3912
|
function Yr() {
|
|
3913
|
-
return
|
|
3913
|
+
return sn || (sn = 1, (function(e, n) {
|
|
3914
3914
|
(function(i, l, p) {
|
|
3915
3915
|
e.exports = l(ie(), Ne());
|
|
3916
3916
|
})(jr, function(i) {
|
|
@@ -3923,9 +3923,9 @@ function Yr() {
|
|
|
3923
3923
|
});
|
|
3924
3924
|
})(Ai)), Ai.exports;
|
|
3925
3925
|
}
|
|
3926
|
-
var Oi = { exports: {} }, Xr = Oi.exports,
|
|
3926
|
+
var Oi = { exports: {} }, Xr = Oi.exports, mn;
|
|
3927
3927
|
function eo() {
|
|
3928
|
-
return
|
|
3928
|
+
return mn || (mn = 1, (function(e, n) {
|
|
3929
3929
|
(function(i, l, p) {
|
|
3930
3930
|
e.exports = l(ie(), Ne());
|
|
3931
3931
|
})(Xr, function(i) {
|
|
@@ -3970,11 +3970,11 @@ function eo() {
|
|
|
3970
3970
|
});
|
|
3971
3971
|
})(Oi)), Oi.exports;
|
|
3972
3972
|
}
|
|
3973
|
-
var Bi = { exports: {} }, ao = Bi.exports,
|
|
3973
|
+
var Bi = { exports: {} }, ao = Bi.exports, un;
|
|
3974
3974
|
function io() {
|
|
3975
|
-
return
|
|
3975
|
+
return un || (un = 1, (function(e, n) {
|
|
3976
3976
|
(function(i, l, p) {
|
|
3977
|
-
e.exports = l(ie(),
|
|
3977
|
+
e.exports = l(ie(), xa(), Sa(), _a(), Ne());
|
|
3978
3978
|
})(ao, function(i) {
|
|
3979
3979
|
return (function() {
|
|
3980
3980
|
var l = i, p = l.lib, g = p.BlockCipher, b = l.algo, d = [], r = [], a = [], t = [], o = [], s = [], u = [], m = [], c = [], f = [];
|
|
@@ -4030,11 +4030,11 @@ function io() {
|
|
|
4030
4030
|
});
|
|
4031
4031
|
})(Bi)), Bi.exports;
|
|
4032
4032
|
}
|
|
4033
|
-
var Hi = { exports: {} }, to = Hi.exports,
|
|
4033
|
+
var Hi = { exports: {} }, to = Hi.exports, pn;
|
|
4034
4034
|
function no() {
|
|
4035
|
-
return
|
|
4035
|
+
return pn || (pn = 1, (function(e, n) {
|
|
4036
4036
|
(function(i, l, p) {
|
|
4037
|
-
e.exports = l(ie(),
|
|
4037
|
+
e.exports = l(ie(), xa(), Sa(), _a(), Ne());
|
|
4038
4038
|
})(to, function(i) {
|
|
4039
4039
|
return (function() {
|
|
4040
4040
|
var l = i, p = l.lib, g = p.WordArray, b = p.BlockCipher, d = l.algo, r = [
|
|
@@ -4750,11 +4750,11 @@ function no() {
|
|
|
4750
4750
|
});
|
|
4751
4751
|
})(Hi)), Hi.exports;
|
|
4752
4752
|
}
|
|
4753
|
-
var Wi = { exports: {} }, lo = Wi.exports,
|
|
4753
|
+
var Wi = { exports: {} }, lo = Wi.exports, gn;
|
|
4754
4754
|
function ro() {
|
|
4755
|
-
return
|
|
4755
|
+
return gn || (gn = 1, (function(e, n) {
|
|
4756
4756
|
(function(i, l, p) {
|
|
4757
|
-
e.exports = l(ie(),
|
|
4757
|
+
e.exports = l(ie(), xa(), Sa(), _a(), Ne());
|
|
4758
4758
|
})(lo, function(i) {
|
|
4759
4759
|
return (function() {
|
|
4760
4760
|
var l = i, p = l.lib, g = p.StreamCipher, b = l.algo, d = b.RC4 = g.extend({
|
|
@@ -4804,11 +4804,11 @@ function ro() {
|
|
|
4804
4804
|
});
|
|
4805
4805
|
})(Wi)), Wi.exports;
|
|
4806
4806
|
}
|
|
4807
|
-
var zi = { exports: {} }, oo = zi.exports,
|
|
4807
|
+
var zi = { exports: {} }, oo = zi.exports, dn;
|
|
4808
4808
|
function so() {
|
|
4809
|
-
return
|
|
4809
|
+
return dn || (dn = 1, (function(e, n) {
|
|
4810
4810
|
(function(i, l, p) {
|
|
4811
|
-
e.exports = l(ie(),
|
|
4811
|
+
e.exports = l(ie(), xa(), Sa(), _a(), Ne());
|
|
4812
4812
|
})(oo, function(i) {
|
|
4813
4813
|
return (function() {
|
|
4814
4814
|
var l = i, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], t = b.Rabbit = g.extend({
|
|
@@ -4870,11 +4870,11 @@ function so() {
|
|
|
4870
4870
|
});
|
|
4871
4871
|
})(zi)), zi.exports;
|
|
4872
4872
|
}
|
|
4873
|
-
var Ii = { exports: {} }, mo = Ii.exports,
|
|
4873
|
+
var Ii = { exports: {} }, mo = Ii.exports, cn;
|
|
4874
4874
|
function uo() {
|
|
4875
|
-
return
|
|
4875
|
+
return cn || (cn = 1, (function(e, n) {
|
|
4876
4876
|
(function(i, l, p) {
|
|
4877
|
-
e.exports = l(ie(),
|
|
4877
|
+
e.exports = l(ie(), xa(), Sa(), _a(), Ne());
|
|
4878
4878
|
})(mo, function(i) {
|
|
4879
4879
|
return (function() {
|
|
4880
4880
|
var l = i, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], t = b.RabbitLegacy = g.extend({
|
|
@@ -4934,11 +4934,11 @@ function uo() {
|
|
|
4934
4934
|
});
|
|
4935
4935
|
})(Ii)), Ii.exports;
|
|
4936
4936
|
}
|
|
4937
|
-
var Vi = { exports: {} }, po = Vi.exports,
|
|
4937
|
+
var Vi = { exports: {} }, po = Vi.exports, fn;
|
|
4938
4938
|
function go() {
|
|
4939
|
-
return
|
|
4939
|
+
return fn || (fn = 1, (function(e, n) {
|
|
4940
4940
|
(function(i, l, p) {
|
|
4941
|
-
e.exports = l(ie(),
|
|
4941
|
+
e.exports = l(ie(), xa(), Sa(), _a(), Ne());
|
|
4942
4942
|
})(po, function(i) {
|
|
4943
4943
|
return (function() {
|
|
4944
4944
|
var l = i, p = l.lib, g = p.BlockCipher, b = l.algo;
|
|
@@ -6056,26 +6056,26 @@ function go() {
|
|
|
6056
6056
|
});
|
|
6057
6057
|
})(Vi)), Vi.exports;
|
|
6058
6058
|
}
|
|
6059
|
-
var co = mi.exports,
|
|
6059
|
+
var co = mi.exports, _n;
|
|
6060
6060
|
function fo() {
|
|
6061
|
-
return
|
|
6061
|
+
return _n || (_n = 1, (function(e, n) {
|
|
6062
6062
|
(function(i, l, p) {
|
|
6063
|
-
e.exports = l(ie(),
|
|
6063
|
+
e.exports = l(ie(), ji(), ur(), gr(), xa(), fr(), Sa(), el(), yt(), Cr(), al(), Tr(), xr(), Dr(), Ut(), Lr(), _a(), Ne(), Pr(), Fr(), Or(), Hr(), zr(), Vr(), Zr(), qr(), Qr(), Yr(), eo(), io(), no(), ro(), so(), uo(), go());
|
|
6064
6064
|
})(co, function(i) {
|
|
6065
6065
|
return i;
|
|
6066
6066
|
});
|
|
6067
6067
|
})(mi)), mi.exports;
|
|
6068
6068
|
}
|
|
6069
|
-
var
|
|
6070
|
-
const
|
|
6071
|
-
const n = "mySecretPassphrase", i =
|
|
6069
|
+
var Zi = fo();
|
|
6070
|
+
const Ca = /* @__PURE__ */ _t(Zi), Pa = (e) => {
|
|
6071
|
+
const n = "mySecretPassphrase", i = Ca.lib.WordArray.random(16), l = Ca.PBKDF2(n, i, {
|
|
6072
6072
|
keySize: 128 / 32,
|
|
6073
6073
|
iterations: 1e3
|
|
6074
|
-
}), p =
|
|
6074
|
+
}), p = Ca.AES.encrypt(e, l, {
|
|
6075
6075
|
iv: i,
|
|
6076
|
-
mode:
|
|
6077
|
-
padding:
|
|
6078
|
-
}), g = i.toString(
|
|
6076
|
+
mode: Ca.mode.CBC,
|
|
6077
|
+
padding: Ca.pad.Pkcs7
|
|
6078
|
+
}), g = i.toString(Ca.enc.Base64), b = Ca.enc.Base64.stringify(p.ciphertext);
|
|
6079
6079
|
return g + ":" + b;
|
|
6080
6080
|
}, se = () => {
|
|
6081
6081
|
const { client: e, formDataClient: n } = oe(), i = I(
|
|
@@ -6118,7 +6118,7 @@ const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
|
6118
6118
|
}) => {
|
|
6119
6119
|
const K = {
|
|
6120
6120
|
memId: N,
|
|
6121
|
-
passwd:
|
|
6121
|
+
passwd: Pa(P),
|
|
6122
6122
|
email: D,
|
|
6123
6123
|
currency_code: F,
|
|
6124
6124
|
code: M
|
|
@@ -6145,8 +6145,8 @@ const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
|
6145
6145
|
async (N) => {
|
|
6146
6146
|
const { oldPwd: P, newPwd: O } = N;
|
|
6147
6147
|
return await e.post("/passwordReset", {
|
|
6148
|
-
old_pwd:
|
|
6149
|
-
new_pwd:
|
|
6148
|
+
old_pwd: Zi.MD5(P),
|
|
6149
|
+
new_pwd: Zi.MD5(O)
|
|
6150
6150
|
});
|
|
6151
6151
|
},
|
|
6152
6152
|
[e]
|
|
@@ -6154,8 +6154,8 @@ const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
|
6154
6154
|
async (N) => {
|
|
6155
6155
|
const { newPwd: P, confirmNewPwd: O } = N;
|
|
6156
6156
|
return await e.post("/setWithdrawPassword", {
|
|
6157
|
-
newPassword:
|
|
6158
|
-
confirmPassword:
|
|
6157
|
+
newPassword: Pa(P),
|
|
6158
|
+
confirmPassword: Pa(O)
|
|
6159
6159
|
});
|
|
6160
6160
|
},
|
|
6161
6161
|
[e]
|
|
@@ -6163,8 +6163,8 @@ const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
|
6163
6163
|
async (N) => {
|
|
6164
6164
|
const { oldPwd: P, newPwd: O } = N;
|
|
6165
6165
|
return await e.post("/withdrawPasswordReset", {
|
|
6166
|
-
old_pwd:
|
|
6167
|
-
new_pwd:
|
|
6166
|
+
old_pwd: Pa(P),
|
|
6167
|
+
new_pwd: Pa(O)
|
|
6168
6168
|
});
|
|
6169
6169
|
},
|
|
6170
6170
|
[e]
|
|
@@ -6204,7 +6204,7 @@ const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
|
6204
6204
|
to_memId: P,
|
|
6205
6205
|
point: O,
|
|
6206
6206
|
currency: D,
|
|
6207
|
-
password:
|
|
6207
|
+
password: Pa(E)
|
|
6208
6208
|
});
|
|
6209
6209
|
},
|
|
6210
6210
|
[e]
|
|
@@ -6355,7 +6355,7 @@ const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
|
6355
6355
|
};
|
|
6356
6356
|
}, Tm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
|
|
6357
6357
|
const { userCurrencyExchangeApi: i } = se(), { getToken: l } = oe(), { enabled: p, ...g } = n, d = !!l?.() && (p ? p.every((r) => r) : !0);
|
|
6358
|
-
return
|
|
6358
|
+
return Wn({
|
|
6359
6359
|
queries: [
|
|
6360
6360
|
{
|
|
6361
6361
|
queryKey: ["userCurrencyExchange", ...e],
|
|
@@ -6373,7 +6373,7 @@ const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
|
6373
6373
|
enabled: i = !0
|
|
6374
6374
|
} = {}) => {
|
|
6375
6375
|
const { getToken: l } = oe(), p = l?.(), { userInfoApi: g } = se();
|
|
6376
|
-
return
|
|
6376
|
+
return Wn({
|
|
6377
6377
|
queries: [
|
|
6378
6378
|
{
|
|
6379
6379
|
queryKey: ["getMemberInfo", ...n],
|
|
@@ -6412,8 +6412,8 @@ const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
|
6412
6412
|
d,
|
|
6413
6413
|
r
|
|
6414
6414
|
];
|
|
6415
|
-
},
|
|
6416
|
-
const { client: e, lng: n } = oe(), i =
|
|
6415
|
+
}, bt = () => {
|
|
6416
|
+
const { client: e, lng: n } = oe(), i = Qe(n || "tw"), l = I(
|
|
6417
6417
|
async (b) => {
|
|
6418
6418
|
const {
|
|
6419
6419
|
gameUid: d = "",
|
|
@@ -6479,18 +6479,18 @@ const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
|
6479
6479
|
);
|
|
6480
6480
|
return { playGameApi: l, betRecordApi: p, betRecordDetailApi: g };
|
|
6481
6481
|
}, _o = ({ options: e, formData: n } = {}) => {
|
|
6482
|
-
const { betRecordApi: i } =
|
|
6482
|
+
const { betRecordApi: i } = bt();
|
|
6483
6483
|
return Q({
|
|
6484
6484
|
queryKey: ["getBetRecord"],
|
|
6485
6485
|
queryFn: async () => await i(n),
|
|
6486
|
-
select: (l) =>
|
|
6486
|
+
select: (l) => zn(l).map(([g, b]) => ({
|
|
6487
6487
|
...b,
|
|
6488
6488
|
platform: g
|
|
6489
6489
|
})),
|
|
6490
6490
|
...e
|
|
6491
6491
|
});
|
|
6492
6492
|
}, yo = ({ options: e, formData: n } = {}) => {
|
|
6493
|
-
const { betRecordDetailApi: i } =
|
|
6493
|
+
const { betRecordDetailApi: i } = bt();
|
|
6494
6494
|
return Q({
|
|
6495
6495
|
queryKey: ["getBetRecordDetail"],
|
|
6496
6496
|
queryFn: async () => await i(n),
|
|
@@ -6529,7 +6529,7 @@ var Uo = {
|
|
|
6529
6529
|
);
|
|
6530
6530
|
}
|
|
6531
6531
|
};
|
|
6532
|
-
function
|
|
6532
|
+
function st(e, n) {
|
|
6533
6533
|
function i(p, g, b) {
|
|
6534
6534
|
if (!(typeof document > "u")) {
|
|
6535
6535
|
b = ni({}, n, b), typeof b.expires == "number" && (b.expires = new Date(Date.now() + b.expires * 864e5)), b.expires && (b.expires = b.expires.toUTCString()), p = encodeURIComponent(p).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
@@ -6567,10 +6567,10 @@ function ot(e, n) {
|
|
|
6567
6567
|
);
|
|
6568
6568
|
},
|
|
6569
6569
|
withAttributes: function(p) {
|
|
6570
|
-
return
|
|
6570
|
+
return st(this.converter, ni({}, this.attributes, p));
|
|
6571
6571
|
},
|
|
6572
6572
|
withConverter: function(p) {
|
|
6573
|
-
return
|
|
6573
|
+
return st(ni({}, this.converter, p), this.attributes);
|
|
6574
6574
|
}
|
|
6575
6575
|
},
|
|
6576
6576
|
{
|
|
@@ -6579,9 +6579,9 @@ function ot(e, n) {
|
|
|
6579
6579
|
}
|
|
6580
6580
|
);
|
|
6581
6581
|
}
|
|
6582
|
-
var
|
|
6582
|
+
var mt = st(Uo, { path: "/" }), at = {}, Je = {}, it = {}, yn;
|
|
6583
6583
|
function ra() {
|
|
6584
|
-
return
|
|
6584
|
+
return yn || (yn = 1, (function(e) {
|
|
6585
6585
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
|
|
6586
6586
|
var n = 1, i = 1e3 * n;
|
|
6587
6587
|
e.DEFAULT_OPTIONS = {}, e.EMPTY_EVENT_HANDLERS = {}, e.DEFAULT_EVENT_SOURCE_OPTIONS = {
|
|
@@ -6604,11 +6604,11 @@ function ra() {
|
|
|
6604
6604
|
}
|
|
6605
6605
|
};
|
|
6606
6606
|
e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && p();
|
|
6607
|
-
})(
|
|
6607
|
+
})(it)), it;
|
|
6608
6608
|
}
|
|
6609
|
-
var qa = {},
|
|
6610
|
-
function
|
|
6611
|
-
return
|
|
6609
|
+
var qa = {}, tt = {}, Un;
|
|
6610
|
+
function Ct() {
|
|
6611
|
+
return Un || (Un = 1, (function(e) {
|
|
6612
6612
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
|
|
6613
6613
|
var n = function(i) {
|
|
6614
6614
|
if (i && e.sharedWebSockets.hasOwnProperty(i))
|
|
@@ -6618,12 +6618,12 @@ function bt() {
|
|
|
6618
6618
|
e.sharedWebSockets.hasOwnProperty(l) && delete e.sharedWebSockets[l];
|
|
6619
6619
|
};
|
|
6620
6620
|
e.resetWebSockets = n;
|
|
6621
|
-
})(
|
|
6621
|
+
})(tt)), tt;
|
|
6622
6622
|
}
|
|
6623
|
-
var
|
|
6624
|
-
function
|
|
6625
|
-
if (
|
|
6626
|
-
|
|
6623
|
+
var va = {}, sa = {}, bn;
|
|
6624
|
+
function vt() {
|
|
6625
|
+
if (bn) return sa;
|
|
6626
|
+
bn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
|
|
6627
6627
|
var e = ra(), n = function(p) {
|
|
6628
6628
|
if (p) {
|
|
6629
6629
|
var g = /^https|wss/.test(p), b = p.replace(/^(https?|wss?)(:\/\/)?/, ""), d = b.replace(/\/$/, ""), r = g ? "wss" : "ws";
|
|
@@ -6653,10 +6653,10 @@ function Ct() {
|
|
|
6653
6653
|
};
|
|
6654
6654
|
return sa.setUpSocketIOPing = l, sa;
|
|
6655
6655
|
}
|
|
6656
|
-
var li = {},
|
|
6656
|
+
var li = {}, Cn;
|
|
6657
6657
|
function il() {
|
|
6658
|
-
if (
|
|
6659
|
-
|
|
6658
|
+
if (Cn) return li;
|
|
6659
|
+
Cn = 1, Object.defineProperty(li, "__esModule", { value: !0 }), li.heartbeat = i;
|
|
6660
6660
|
var e = ra();
|
|
6661
6661
|
function n(l) {
|
|
6662
6662
|
return Array.isArray(l) ? l.reduce(function(p, g) {
|
|
@@ -6682,9 +6682,9 @@ function il() {
|
|
|
6682
6682
|
}
|
|
6683
6683
|
return li;
|
|
6684
6684
|
}
|
|
6685
|
-
var $a = {},
|
|
6686
|
-
function
|
|
6687
|
-
return
|
|
6685
|
+
var $a = {}, nt = {}, vn;
|
|
6686
|
+
function ht() {
|
|
6687
|
+
return vn || (vn = 1, (function(e) {
|
|
6688
6688
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
|
|
6689
6689
|
var n = {}, i = [], l = function(r) {
|
|
6690
6690
|
return (0, e.hasSubscribers)(r) ? Array.from(n[r]) : i;
|
|
@@ -6711,13 +6711,13 @@ function vt() {
|
|
|
6711
6711
|
n.hasOwnProperty(a) && delete n[a];
|
|
6712
6712
|
};
|
|
6713
6713
|
e.resetSubscribers = d;
|
|
6714
|
-
})(
|
|
6714
|
+
})(nt)), nt;
|
|
6715
6715
|
}
|
|
6716
|
-
var
|
|
6717
|
-
function
|
|
6718
|
-
if (
|
|
6719
|
-
|
|
6720
|
-
var e =
|
|
6716
|
+
var hn;
|
|
6717
|
+
function Tt() {
|
|
6718
|
+
if (hn) return $a;
|
|
6719
|
+
hn = 1, Object.defineProperty($a, "__esModule", { value: !0 }), $a.assertIsWebSocket = i, $a.resetGlobalState = l;
|
|
6720
|
+
var e = Ct(), n = ht();
|
|
6721
6721
|
function i(p, g) {
|
|
6722
6722
|
if (!g && !(p instanceof WebSocket))
|
|
6723
6723
|
throw new Error("");
|
|
@@ -6727,11 +6727,11 @@ function ht() {
|
|
|
6727
6727
|
}
|
|
6728
6728
|
return $a;
|
|
6729
6729
|
}
|
|
6730
|
-
var
|
|
6730
|
+
var Tn;
|
|
6731
6731
|
function bo() {
|
|
6732
|
-
if (
|
|
6733
|
-
|
|
6734
|
-
var e =
|
|
6732
|
+
if (Tn) return va;
|
|
6733
|
+
Tn = 1;
|
|
6734
|
+
var e = va && va.__assign || function() {
|
|
6735
6735
|
return e = Object.assign || function(t) {
|
|
6736
6736
|
for (var o, s = 1, u = arguments.length; s < u; s++) {
|
|
6737
6737
|
o = arguments[s];
|
|
@@ -6740,8 +6740,8 @@ function bo() {
|
|
|
6740
6740
|
return t;
|
|
6741
6741
|
}, e.apply(this, arguments);
|
|
6742
6742
|
};
|
|
6743
|
-
Object.defineProperty(
|
|
6744
|
-
var n =
|
|
6743
|
+
Object.defineProperty(va, "__esModule", { value: !0 }), va.attachListeners = void 0;
|
|
6744
|
+
var n = vt(), i = il(), l = ra(), p = Tt(), g = function(t, o, s, u) {
|
|
6745
6745
|
t.onmessage = function(m) {
|
|
6746
6746
|
var c;
|
|
6747
6747
|
o.current.onMessage && o.current.onMessage(m), typeof u?.current == "number" && (u.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((c = o.current.heartbeat) === null || c === void 0 ? void 0 : c.returnMessage) === m.data || s(m));
|
|
@@ -6795,13 +6795,13 @@ function bo() {
|
|
|
6795
6795
|
_(l.ReadyState.CLOSING), C(), v(), t.close(), U && clearInterval(U);
|
|
6796
6796
|
};
|
|
6797
6797
|
};
|
|
6798
|
-
return
|
|
6798
|
+
return va.attachListeners = a, va;
|
|
6799
6799
|
}
|
|
6800
|
-
var
|
|
6800
|
+
var ha = {}, kn;
|
|
6801
6801
|
function Co() {
|
|
6802
|
-
if (
|
|
6803
|
-
|
|
6804
|
-
var e =
|
|
6802
|
+
if (kn) return ha;
|
|
6803
|
+
kn = 1;
|
|
6804
|
+
var e = ha && ha.__assign || function() {
|
|
6805
6805
|
return e = Object.assign || function(o) {
|
|
6806
6806
|
for (var s, u = 1, m = arguments.length; u < m; u++) {
|
|
6807
6807
|
s = arguments[u];
|
|
@@ -6810,8 +6810,8 @@ function Co() {
|
|
|
6810
6810
|
return o;
|
|
6811
6811
|
}, e.apply(this, arguments);
|
|
6812
6812
|
};
|
|
6813
|
-
Object.defineProperty(
|
|
6814
|
-
var n =
|
|
6813
|
+
Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachSharedListeners = void 0;
|
|
6814
|
+
var n = Ct(), i = ra(), l = ht(), p = vt(), g = il(), b = function(o, s, u) {
|
|
6815
6815
|
o.onmessage = function(m) {
|
|
6816
6816
|
(0, l.getSubscribers)(s).forEach(function(c) {
|
|
6817
6817
|
var f;
|
|
@@ -6857,13 +6857,13 @@ function Co() {
|
|
|
6857
6857
|
c && clearInterval(c);
|
|
6858
6858
|
};
|
|
6859
6859
|
};
|
|
6860
|
-
return
|
|
6860
|
+
return ha.attachSharedListeners = t, ha;
|
|
6861
6861
|
}
|
|
6862
|
-
var
|
|
6862
|
+
var xn;
|
|
6863
6863
|
function vo() {
|
|
6864
|
-
if (
|
|
6865
|
-
|
|
6866
|
-
var e =
|
|
6864
|
+
if (xn) return qa;
|
|
6865
|
+
xn = 1, Object.defineProperty(qa, "__esModule", { value: !0 }), qa.createOrJoinSocket = void 0;
|
|
6866
|
+
var e = Ct(), n = ra(), i = bo(), l = Co(), p = ht(), g = function(d, r, a, t, o) {
|
|
6867
6867
|
return function() {
|
|
6868
6868
|
if ((0, p.removeSubscriber)(d, r), !(0, p.hasSubscribers)(d)) {
|
|
6869
6869
|
try {
|
|
@@ -6902,9 +6902,9 @@ function vo() {
|
|
|
6902
6902
|
};
|
|
6903
6903
|
return qa.createOrJoinSocket = b, qa;
|
|
6904
6904
|
}
|
|
6905
|
-
var ma = {},
|
|
6905
|
+
var ma = {}, Sn;
|
|
6906
6906
|
function ho() {
|
|
6907
|
-
return
|
|
6907
|
+
return Sn || (Sn = 1, (function(e) {
|
|
6908
6908
|
var n = ma && ma.__awaiter || function(r, a, t, o) {
|
|
6909
6909
|
function s(u) {
|
|
6910
6910
|
return u instanceof t ? u : new t(function(m) {
|
|
@@ -6996,7 +6996,7 @@ function ho() {
|
|
|
6996
6996
|
return r.concat(u || Array.prototype.slice.call(a));
|
|
6997
6997
|
};
|
|
6998
6998
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
|
|
6999
|
-
var p =
|
|
6999
|
+
var p = vt(), g = ra(), b = function(r) {
|
|
7000
7000
|
return new Promise(function(a) {
|
|
7001
7001
|
return window.setTimeout(a, r);
|
|
7002
7002
|
});
|
|
@@ -7039,9 +7039,9 @@ function ho() {
|
|
|
7039
7039
|
e.getUrl = d;
|
|
7040
7040
|
})(ma)), ma;
|
|
7041
7041
|
}
|
|
7042
|
-
var
|
|
7042
|
+
var lt = {}, Dn;
|
|
7043
7043
|
function To() {
|
|
7044
|
-
return
|
|
7044
|
+
return Dn || (Dn = 1, (function(e) {
|
|
7045
7045
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
|
|
7046
7046
|
var n = function(i, l) {
|
|
7047
7047
|
return new Proxy(i, {
|
|
@@ -7056,12 +7056,12 @@ function To() {
|
|
|
7056
7056
|
});
|
|
7057
7057
|
};
|
|
7058
7058
|
e.websocketWrapper = n, e.default = e.websocketWrapper;
|
|
7059
|
-
})(
|
|
7059
|
+
})(lt)), lt;
|
|
7060
7060
|
}
|
|
7061
|
-
var
|
|
7062
|
-
function
|
|
7063
|
-
if (
|
|
7064
|
-
|
|
7061
|
+
var En;
|
|
7062
|
+
function kt() {
|
|
7063
|
+
if (En) return Je;
|
|
7064
|
+
En = 1;
|
|
7065
7065
|
var e = Je && Je.__assign || function() {
|
|
7066
7066
|
return e = Object.assign || function(s) {
|
|
7067
7067
|
for (var u, m = 1, c = arguments.length; m < c; m++) {
|
|
@@ -7159,7 +7159,7 @@ function Tt() {
|
|
|
7159
7159
|
return s && s.__esModule ? s : { default: s };
|
|
7160
7160
|
};
|
|
7161
7161
|
Object.defineProperty(Je, "__esModule", { value: !0 }), Je.useWebSocket = void 0;
|
|
7162
|
-
var p = de, g = Jl, b = ra(), d = vo(), r = ho(), a = l(To()), t =
|
|
7162
|
+
var p = de, g = Jl, b = ra(), d = vo(), r = ho(), a = l(To()), t = Tt(), o = function(s, u, m) {
|
|
7163
7163
|
u === void 0 && (u = b.DEFAULT_OPTIONS), m === void 0 && (m = !0);
|
|
7164
7164
|
var c = (0, p.useState)(null), f = c[0], y = c[1], _ = (0, p.useState)({}), U = _[0], C = _[1], v = (0, p.useMemo)(function() {
|
|
7165
7165
|
if (!u.disableJson && f)
|
|
@@ -7244,11 +7244,11 @@ function Tt() {
|
|
|
7244
7244
|
};
|
|
7245
7245
|
return Je.useWebSocket = o, Je;
|
|
7246
7246
|
}
|
|
7247
|
-
var
|
|
7247
|
+
var Ta = {}, Nn;
|
|
7248
7248
|
function ko() {
|
|
7249
|
-
if (
|
|
7250
|
-
|
|
7251
|
-
var e =
|
|
7249
|
+
if (Nn) return Ta;
|
|
7250
|
+
Nn = 1;
|
|
7251
|
+
var e = Ta && Ta.__assign || function() {
|
|
7252
7252
|
return e = Object.assign || function(d) {
|
|
7253
7253
|
for (var r, a = 1, t = arguments.length; a < t; a++) {
|
|
7254
7254
|
r = arguments[a];
|
|
@@ -7257,8 +7257,8 @@ function ko() {
|
|
|
7257
7257
|
return d;
|
|
7258
7258
|
}, e.apply(this, arguments);
|
|
7259
7259
|
};
|
|
7260
|
-
Object.defineProperty(
|
|
7261
|
-
var n = de, i =
|
|
7260
|
+
Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.useSocketIO = void 0;
|
|
7261
|
+
var n = de, i = kt(), l = ra(), p = {
|
|
7262
7262
|
type: "empty",
|
|
7263
7263
|
payload: null
|
|
7264
7264
|
}, g = function(d) {
|
|
@@ -7288,12 +7288,12 @@ function ko() {
|
|
|
7288
7288
|
getWebSocket: f
|
|
7289
7289
|
};
|
|
7290
7290
|
};
|
|
7291
|
-
return
|
|
7291
|
+
return Ta.useSocketIO = b, Ta;
|
|
7292
7292
|
}
|
|
7293
|
-
var ua = {},
|
|
7293
|
+
var ua = {}, Ln;
|
|
7294
7294
|
function xo() {
|
|
7295
|
-
if (
|
|
7296
|
-
|
|
7295
|
+
if (Ln) return ua;
|
|
7296
|
+
Ln = 1;
|
|
7297
7297
|
var e = ua && ua.__assign || function() {
|
|
7298
7298
|
return e = Object.assign || function(b) {
|
|
7299
7299
|
for (var d, r = 1, a = arguments.length; r < a; r++) {
|
|
@@ -7311,7 +7311,7 @@ function xo() {
|
|
|
7311
7311
|
return r;
|
|
7312
7312
|
};
|
|
7313
7313
|
Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
|
|
7314
|
-
var i = de, l =
|
|
7314
|
+
var i = de, l = kt(), p = ra(), g = function(b, d, r) {
|
|
7315
7315
|
d === void 0 && (d = p.DEFAULT_EVENT_SOURCE_OPTIONS);
|
|
7316
7316
|
var a = d.withCredentials, t = d.events, o = n(d, ["withCredentials", "events"]);
|
|
7317
7317
|
r === void 0 && (r = !0);
|
|
@@ -7333,11 +7333,11 @@ function xo() {
|
|
|
7333
7333
|
};
|
|
7334
7334
|
return ua.useEventSource = g, ua;
|
|
7335
7335
|
}
|
|
7336
|
-
var
|
|
7336
|
+
var Gn;
|
|
7337
7337
|
function So() {
|
|
7338
|
-
return
|
|
7338
|
+
return Gn || (Gn = 1, (function(e) {
|
|
7339
7339
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
|
|
7340
|
-
var n =
|
|
7340
|
+
var n = kt();
|
|
7341
7341
|
Object.defineProperty(e, "default", { enumerable: !0, get: function() {
|
|
7342
7342
|
return n.useWebSocket;
|
|
7343
7343
|
} });
|
|
@@ -7353,21 +7353,21 @@ function So() {
|
|
|
7353
7353
|
Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
|
|
7354
7354
|
return p.useEventSource;
|
|
7355
7355
|
} });
|
|
7356
|
-
var g =
|
|
7356
|
+
var g = Tt();
|
|
7357
7357
|
Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
|
|
7358
7358
|
return g.resetGlobalState;
|
|
7359
7359
|
} });
|
|
7360
|
-
})(
|
|
7360
|
+
})(at)), at;
|
|
7361
7361
|
}
|
|
7362
7362
|
var Do = So();
|
|
7363
|
-
const Eo = /* @__PURE__ */
|
|
7363
|
+
const Eo = /* @__PURE__ */ _t(Do), No = ({
|
|
7364
7364
|
enable: e = !1,
|
|
7365
7365
|
isTestFunction: n = !1,
|
|
7366
7366
|
isTransferMode: i = !1,
|
|
7367
7367
|
isInGameBox: l = !1,
|
|
7368
7368
|
currentGamePlatform: p = ""
|
|
7369
7369
|
}) => {
|
|
7370
|
-
const { store: g, lng: b } = oe(), { isReady: d, setAsReady: r, isPending: a, setAsPending: t } =
|
|
7370
|
+
const { store: g, lng: b } = oe(), { isReady: d, setAsReady: r, isPending: a, setAsPending: t } = Jn(), o = Qe(b), { mutateAsync: s } = Ho();
|
|
7371
7371
|
return !e || !n || !i ? { handleTransferInGame: () => {
|
|
7372
7372
|
} } : { handleTransferInGame: async () => {
|
|
7373
7373
|
console.log("執行遊戲內轉帳"), l && await s({
|
|
@@ -7538,14 +7538,14 @@ const Eo = /* @__PURE__ */ ft(Do), No = ({
|
|
|
7538
7538
|
queryFn: async () => i(),
|
|
7539
7539
|
select: (l) => {
|
|
7540
7540
|
const { data: p } = l;
|
|
7541
|
-
return
|
|
7541
|
+
return $e(p?.base, {
|
|
7542
7542
|
currency: n
|
|
7543
7543
|
}) || {};
|
|
7544
7544
|
},
|
|
7545
7545
|
...e
|
|
7546
7546
|
});
|
|
7547
7547
|
}, Nm = ({ options: e } = {}) => {
|
|
7548
|
-
const n =
|
|
7548
|
+
const n = ft(), { abandonPointsApi: i } = se();
|
|
7549
7549
|
return re({
|
|
7550
7550
|
mutationKey: ["abandonPoint"],
|
|
7551
7551
|
mutationFn: async (l) => i({
|
|
@@ -7729,7 +7729,7 @@ const Eo = /* @__PURE__ */ ft(Do), No = ({
|
|
|
7729
7729
|
enableNotification: g = !1,
|
|
7730
7730
|
disabledLineAutoRegister: b = !1
|
|
7731
7731
|
}) => {
|
|
7732
|
-
const { store: d, lng: r } = oe(), a =
|
|
7732
|
+
const { store: d, lng: r } = oe(), a = ft(), { isReady: t, setAsReady: o, isPending: s, setAsPending: u } = Jn(), m = Qe(r), c = ee(!1), f = ee(n), y = le(l, "uid", null);
|
|
7733
7733
|
le(l, "testFunction", 0);
|
|
7734
7734
|
const _ = new URLSearchParams(window.location.search), U = le(
|
|
7735
7735
|
p,
|
|
@@ -7827,7 +7827,7 @@ const Eo = /* @__PURE__ */ ft(Do), No = ({
|
|
|
7827
7827
|
memo: le(h, "memo", null),
|
|
7828
7828
|
amount: le(h, "amount", null),
|
|
7829
7829
|
limitAmount: le(h, "limit_amount", null)
|
|
7830
|
-
}, K = Number(M.memberInfoUid) === y, q = M.data, j = M.amount, Z = M.limitAmount, ae = _.get("mac") ||
|
|
7830
|
+
}, K = Number(M.memberInfoUid) === y, q = M.data, j = M.amount, Z = M.limitAmount, ae = _.get("mac") || mt.get("machine_mac_address") || "", te = le(h, "data.line_id", null), _e = le(h, "data.line_name", null), ye = le(h, "member_info_uid", null);
|
|
7831
7831
|
switch (F) {
|
|
7832
7832
|
case ze.DEPOSIT:
|
|
7833
7833
|
K && (x(), w?.(M));
|
|
@@ -7990,24 +7990,24 @@ const Eo = /* @__PURE__ */ ft(Do), No = ({
|
|
|
7990
7990
|
settleEventApi: g
|
|
7991
7991
|
};
|
|
7992
7992
|
}, Jo = ({ paramsData: e, options: n } = {}) => {
|
|
7993
|
-
const { store: i, lng: l, data2URL: p } = oe(), { eventListApi: g } = Ya(), b = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD", d =
|
|
7993
|
+
const { store: i, lng: l, data2URL: p } = oe(), { eventListApi: g } = Ya(), b = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD", d = Qe(l);
|
|
7994
7994
|
return Q({
|
|
7995
7995
|
queryKey: ["eventList", e],
|
|
7996
7996
|
queryFn: () => g({ paramsData: e }),
|
|
7997
7997
|
select: (r) => {
|
|
7998
7998
|
const { data: a } = r;
|
|
7999
7999
|
return Be(a, (o) => {
|
|
8000
|
-
const { events_attributes: s } = o, u =
|
|
8000
|
+
const { events_attributes: s } = o, u = $e(
|
|
8001
8001
|
s,
|
|
8002
8002
|
(v) => v.attribute_currency === b
|
|
8003
|
-
) || s[0], m = le(u, "rewards", {}), c = le(o, "carousels.[0]", {}), f =
|
|
8003
|
+
) || s[0], m = le(u, "rewards", {}), c = le(o, "carousels.[0]", {}), f = $e(c.carousels_lang, (v) => v.lang === d) || c?.carousels_lang?.[0], y = {
|
|
8004
8004
|
...c,
|
|
8005
8005
|
currentLngCarousel: {
|
|
8006
8006
|
...f,
|
|
8007
8007
|
carouselCurrentLanguagePCImageUrl: `${p}/carousels/${f?.image_pc}`,
|
|
8008
8008
|
carouselCurrentLanguageMBImageUrl: `${p}/carousels/${f?.image_mobile}`,
|
|
8009
|
-
carouselCurrentLanguageS3PCImageUrl: `${
|
|
8010
|
-
carouselCurrentLanguageS3MBImageUrl: `${
|
|
8009
|
+
carouselCurrentLanguageS3PCImageUrl: `${Ze}/carousels/${f?.image_pc}`,
|
|
8010
|
+
carouselCurrentLanguageS3MBImageUrl: `${Ze}/carousels/${f?.image_mobile}`
|
|
8011
8011
|
}
|
|
8012
8012
|
}, _ = {
|
|
8013
8013
|
eventUid: o.uid,
|
|
@@ -8053,8 +8053,8 @@ const Eo = /* @__PURE__ */ ft(Do), No = ({
|
|
|
8053
8053
|
// VIP 群組
|
|
8054
8054
|
tagsGroup: o.tags_group,
|
|
8055
8055
|
//標籤群組
|
|
8056
|
-
eventBg:
|
|
8057
|
-
eventIcon:
|
|
8056
|
+
eventBg: Kn(),
|
|
8057
|
+
eventIcon: Zn(o.type),
|
|
8058
8058
|
nextSettlementDate: o.next_settlement_date,
|
|
8059
8059
|
//下一次結算日期
|
|
8060
8060
|
lastSettlementDate: o.last_settlement_date
|
|
@@ -8153,7 +8153,7 @@ const Eo = /* @__PURE__ */ ft(Do), No = ({
|
|
|
8153
8153
|
checkEventStatusQuery: l
|
|
8154
8154
|
};
|
|
8155
8155
|
}, Jm = ({ skipPreload: e = !1 }) => {
|
|
8156
|
-
const { lng: n, data2URL: i } = oe(), { commonCarouselApi: l } = Ha(), p =
|
|
8156
|
+
const { lng: n, data2URL: i } = oe(), { commonCarouselApi: l } = Ha(), p = Qe(n);
|
|
8157
8157
|
return Q({
|
|
8158
8158
|
queryKey: ["getCarouselList", e],
|
|
8159
8159
|
queryFn: async () => {
|
|
@@ -8167,14 +8167,21 @@ const Eo = /* @__PURE__ */ ft(Do), No = ({
|
|
|
8167
8167
|
carouselCurrentLanguageData: a,
|
|
8168
8168
|
carouselCurrentLanguagePCImageUrl: `${i}/carousels/${a?.image_pc}`,
|
|
8169
8169
|
carouselCurrentLanguageMBImageUrl: `${i}/carousels/${a?.image_mobile}`,
|
|
8170
|
-
carouselCurrentLanguageS3PCImageUrl: `${
|
|
8171
|
-
carouselCurrentLanguageS3MBImageUrl: `${
|
|
8172
|
-
carouselCurrentLanguageLink: a?.url_link
|
|
8170
|
+
carouselCurrentLanguageS3PCImageUrl: `${Ze}/carousels/${a?.image_pc}`,
|
|
8171
|
+
carouselCurrentLanguageS3MBImageUrl: `${Ze}/carousels/${a?.image_mobile}`,
|
|
8172
|
+
carouselCurrentLanguageLink: a?.url_link,
|
|
8173
|
+
currentLngCarousel: {
|
|
8174
|
+
...a,
|
|
8175
|
+
carouselCurrentLanguagePCImageUrl: `${i}/carousels/${a?.image_pc}`,
|
|
8176
|
+
carouselCurrentLanguageMBImageUrl: `${i}/carousels/${a?.image_mobile}`,
|
|
8177
|
+
carouselCurrentLanguageS3PCImageUrl: `${Ze}/carousels/${a?.image_pc}`,
|
|
8178
|
+
carouselCurrentLanguageS3MBImageUrl: `${Ze}/carousels/${a?.image_mobile}`
|
|
8179
|
+
}
|
|
8173
8180
|
};
|
|
8174
8181
|
})
|
|
8175
8182
|
});
|
|
8176
8183
|
}, Zm = () => {
|
|
8177
|
-
const { lng: e } = oe(), { commonMarqueeApi: n } = Ha(), i =
|
|
8184
|
+
const { lng: e } = oe(), { commonMarqueeApi: n } = Ha(), i = Qe(e);
|
|
8178
8185
|
return Q({
|
|
8179
8186
|
queryKey: ["getMarqueeList"],
|
|
8180
8187
|
queryFn: async () => {
|
|
@@ -8261,9 +8268,9 @@ var qo = Object.create, nl = Object.defineProperty, $o = Object.getOwnPropertyDe
|
|
|
8261
8268
|
});
|
|
8262
8269
|
});
|
|
8263
8270
|
as(is());
|
|
8264
|
-
var pa = (typeof window > "u" ? "undefined" : typeof window) == "object",
|
|
8271
|
+
var pa = (typeof window > "u" ? "undefined" : typeof window) == "object", Xe = { setTimeout: pa ? setTimeout.bind(window) : setTimeout, clearTimeout: pa ? clearTimeout.bind(window) : clearTimeout, setInterval: pa ? setInterval.bind(window) : setInterval, clearInterval: pa ? clearInterval.bind(window) : clearInterval };
|
|
8265
8272
|
function ts(e) {
|
|
8266
|
-
|
|
8273
|
+
Xe.setTimeout = e.setTimeout, Xe.clearTimeout = e.clearTimeout, Xe.setInterval = e.setInterval, Xe.clearInterval = e.clearInterval;
|
|
8267
8274
|
}
|
|
8268
8275
|
var wa = {}, ns = class {
|
|
8269
8276
|
name;
|
|
@@ -8280,7 +8287,7 @@ var wa = {}, ns = class {
|
|
|
8280
8287
|
postMessage(e) {
|
|
8281
8288
|
if (this.closed) throw new Error("InvalidStateError");
|
|
8282
8289
|
let n = JSON.stringify(e), i = `${this.name}:${String(Date.now())}${String(Math.random())}`;
|
|
8283
|
-
window.localStorage.setItem(i, n),
|
|
8290
|
+
window.localStorage.setItem(i, n), Xe.setTimeout(() => {
|
|
8284
8291
|
window.localStorage.removeItem(i);
|
|
8285
8292
|
}, 500), wa[this.name].forEach((l) => {
|
|
8286
8293
|
l !== this && l.mc.port2.postMessage(JSON.parse(n));
|
|
@@ -8315,7 +8322,7 @@ var wa = {}, ns = class {
|
|
|
8315
8322
|
}
|
|
8316
8323
|
}, ls = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : ns;
|
|
8317
8324
|
function rs(e = 0) {
|
|
8318
|
-
return new Promise((n) =>
|
|
8325
|
+
return new Promise((n) => Xe.setTimeout(n, e));
|
|
8319
8326
|
}
|
|
8320
8327
|
function ll() {
|
|
8321
8328
|
return Math.random().toString(36).substring(2);
|
|
@@ -8357,13 +8364,13 @@ var os = class {
|
|
|
8357
8364
|
if (e) return;
|
|
8358
8365
|
e = !0;
|
|
8359
8366
|
try {
|
|
8360
|
-
|
|
8367
|
+
Xe.clearInterval(n);
|
|
8361
8368
|
} catch {
|
|
8362
8369
|
}
|
|
8363
8370
|
let g = this.intervals.indexOf(n);
|
|
8364
8371
|
g >= 0 && this.intervals.splice(g, 1), this.channel.removeEventListener("message", p), i();
|
|
8365
8372
|
};
|
|
8366
|
-
n =
|
|
8373
|
+
n = Xe.setInterval(() => {
|
|
8367
8374
|
this.apply().then(() => {
|
|
8368
8375
|
this.isLeader && l();
|
|
8369
8376
|
});
|
|
@@ -8395,7 +8402,7 @@ var os = class {
|
|
|
8395
8402
|
if (!this.isDead) {
|
|
8396
8403
|
this.isDead = !0, this.isLeader = !1, this.sendAction(2);
|
|
8397
8404
|
try {
|
|
8398
|
-
this.listeners.forEach((e) => this.channel.removeEventListener("message", e)), this.intervals.forEach((e) =>
|
|
8405
|
+
this.listeners.forEach((e) => this.channel.removeEventListener("message", e)), this.intervals.forEach((e) => Xe.clearInterval(e));
|
|
8399
8406
|
} catch {
|
|
8400
8407
|
}
|
|
8401
8408
|
}
|
|
@@ -8514,7 +8521,7 @@ function ps(e, n) {
|
|
|
8514
8521
|
clearTimeout(i);
|
|
8515
8522
|
}, l;
|
|
8516
8523
|
}
|
|
8517
|
-
function
|
|
8524
|
+
function rt(e, n) {
|
|
8518
8525
|
let i = 0;
|
|
8519
8526
|
return function(...l) {
|
|
8520
8527
|
let p = (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -8538,7 +8545,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8538
8545
|
if (i >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
8539
8546
|
if (i ? (F.current = e - i, M.current = i) : (F.current = e, M.current = n), !P.current) {
|
|
8540
8547
|
if (y || S) return;
|
|
8541
|
-
R.current && (me.current(null, Se), E.current && E.current.active()),
|
|
8548
|
+
R.current && (me.current(null, Se), E.current && E.current.active()), je();
|
|
8542
8549
|
}
|
|
8543
8550
|
}, [e, n, i, y, S]);
|
|
8544
8551
|
let K = ee(_);
|
|
@@ -8547,7 +8554,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8547
8554
|
}, [_]);
|
|
8548
8555
|
let q = ee(b), j = ee(l), Z = ee([...(/* @__PURE__ */ new Set([...p, ...b])).values()]), ae = ee(S);
|
|
8549
8556
|
ge(() => {
|
|
8550
|
-
ae.current = S, !P.current && (S ? Ve() : y ||
|
|
8557
|
+
ae.current = S, !P.current && (S ? Ve() : y || je());
|
|
8551
8558
|
}, [S]);
|
|
8552
8559
|
let te = ee(d);
|
|
8553
8560
|
ge(() => {
|
|
@@ -8575,17 +8582,17 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8575
8582
|
}, [s]);
|
|
8576
8583
|
let Ue = Oa(() => {
|
|
8577
8584
|
let V = (De, ta) => ce.current(De, ta);
|
|
8578
|
-
return u > 0 ? ps(V, u) : m > 0 ?
|
|
8585
|
+
return u > 0 ? ps(V, u) : m > 0 ? rt(V, m) : V;
|
|
8579
8586
|
}, [m, u]), Ie = ee();
|
|
8580
8587
|
ge(() => {
|
|
8581
|
-
U && v && (Ie.current =
|
|
8588
|
+
U && v && (Ie.current = rt(() => {
|
|
8582
8589
|
E.current.active();
|
|
8583
8590
|
}, v));
|
|
8584
8591
|
}, [U, v]);
|
|
8585
8592
|
let Ce = () => {
|
|
8586
|
-
D.current !== null && (
|
|
8593
|
+
D.current !== null && (Xe.clearTimeout(D.current), D.current = null);
|
|
8587
8594
|
}, Ge = (V, De = !0) => {
|
|
8588
|
-
Ce(), D.current =
|
|
8595
|
+
Ce(), D.current = Xe.setTimeout(He, V || F.current), De && (h.current = Te());
|
|
8589
8596
|
}, ea = (V) => {
|
|
8590
8597
|
!W.current && !R.current && (_e.current(V, Se), te.current({ type: "active", prompted: !0 }, Se)), G.current = 0, w.current = Te(), W.current = !0, Ge(M.current, !1);
|
|
8591
8598
|
}, Me = () => {
|
|
@@ -8619,7 +8626,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8619
8626
|
}, ia = ee(aa);
|
|
8620
8627
|
ge(() => {
|
|
8621
8628
|
let V = O.current;
|
|
8622
|
-
V && Re(), c > 0 ? ia.current =
|
|
8629
|
+
V && Re(), c > 0 ? ia.current = rt(aa, c) : ia.current = aa, V && xe();
|
|
8623
8630
|
}, [c, m, u, ce, U, v]);
|
|
8624
8631
|
let xe = () => {
|
|
8625
8632
|
pa && j.current && (O.current || (Z.current.forEach((V) => {
|
|
@@ -8629,15 +8636,15 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8629
8636
|
pa && j.current && (O.current || V) && (Z.current.forEach((De) => {
|
|
8630
8637
|
j.current.removeEventListener(De, ia.current, { capture: !0 });
|
|
8631
8638
|
}), O.current = !1);
|
|
8632
|
-
},
|
|
8639
|
+
}, je = I((V) => ae.current ? !1 : (Ce(), xe(), R.current = !1, W.current = !1, N.current = !1, G.current = 0, w.current = 0, E.current && !V && E.current.start(), Ge(), !0), [D, R, ae, F, E]), oa = I((V) => ae.current ? !1 : (Ce(), xe(), H.current = Te(), A.current += Te() - k.current, B.current += Te() - k.current, A.current = 0, R.current = !1, W.current = !1, N.current = !1, G.current = 0, w.current = 0, E.current && !V && E.current.reset(), y || Ge(), !0), [D, R, F, y, ae, E]), ga = I((V) => ae.current ? !1 : (Ce(), xe(), (R.current || W.current) && ve(), R.current = !1, W.current = !1, N.current = !1, G.current = 0, w.current = 0, H.current = Te(), E.current && !V && E.current.activate(), Ge(), !0), [D, R, W, ae, F, E]), Ve = I((V = !1) => ae.current || N.current ? !1 : (G.current = ya(), N.current = !0, Re(), Ce(), E.current && !V && E.current.pause(), !0), [D, ae, E]), Ye = I((V = !1) => ae.current || !N.current ? !1 : (N.current = !1, W.current || xe(), R.current || Ge(G.current), w.current && (w.current = Te()), E.current && !V && E.current.resume(), !0), [D, F, ae, G, E]), za = I((V, De) => (E.current ? (De && ke.current(V, Se), E.current.message(V)) : De && ke.current(V, Se), !0), [s]), Da = I(() => R.current, [R]), Ea = I(() => W.current, [W]), Ia = I(() => E.current ? E.current.isLeader : null, [E]), Va = I(() => E.current ? E.current.isLastActive : null, [E]), da = I(() => E.current ? E.current.token : null, [E]), ya = I(() => {
|
|
8633
8640
|
if (N.current) return G.current;
|
|
8634
8641
|
let V = G.current ? G.current : M.current + F.current, De = h.current ? Te() - h.current : 0, ta = Math.floor(V - De);
|
|
8635
8642
|
return ta < 0 ? 0 : Math.abs(ta);
|
|
8636
|
-
}, [F, M, W, G, h]),
|
|
8637
|
-
let V = Math.round(
|
|
8643
|
+
}, [F, M, W, G, h]), Ke = I(() => Math.round(Te() - H.current), [H]), ca = I(() => Math.round(Te() - L.current), [L]), fa = I(() => k.current ? new Date(k.current) : null, [k]), Na = I(() => h.current ? new Date(h.current) : null, [h]), La = I(() => R.current ? Math.round(Te() - k.current + A.current) : Math.round(A.current), [k, A]), Ua = I(() => R.current ? Math.round(Te() - k.current + B.current) : Math.round(B.current), [k, B]), Ga = I(() => {
|
|
8644
|
+
let V = Math.round(Ke() - La());
|
|
8638
8645
|
return V >= 0 ? V : 0;
|
|
8639
|
-
}, [k, A]),
|
|
8640
|
-
let V = Math.round(ca() -
|
|
8646
|
+
}, [k, A]), Ma = I(() => {
|
|
8647
|
+
let V = Math.round(ca() - Ua());
|
|
8641
8648
|
return V >= 0 ? V : 0;
|
|
8642
8649
|
}, [k, A]);
|
|
8643
8650
|
ge(() => {
|
|
@@ -8658,19 +8665,19 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8658
8665
|
ve();
|
|
8659
8666
|
}, onMessage: (V) => {
|
|
8660
8667
|
ke.current(V, Se);
|
|
8661
|
-
}, start:
|
|
8662
|
-
}, [U, C, x, _e, ye, me, ke,
|
|
8663
|
-
P.current || (Ce(), Re(!0)), !(y || S) && (f ?
|
|
8668
|
+
}, start: je, reset: oa, activate: ga, pause: Ve, resume: Ye }) : E.current = null;
|
|
8669
|
+
}, [U, C, x, _e, ye, me, ke, je, oa, Ve, Ye]), ge(() => {
|
|
8670
|
+
P.current || (Ce(), Re(!0)), !(y || S) && (f ? je() : xe());
|
|
8664
8671
|
}, [y, f, S, P]), ge(() => {
|
|
8665
8672
|
if (!P.current) {
|
|
8666
8673
|
let V = [...(/* @__PURE__ */ new Set([...p, ...b])).values()];
|
|
8667
8674
|
if (Re(), Z.current = V, j.current = l, q.current = b, y || S) return;
|
|
8668
|
-
f ?
|
|
8675
|
+
f ? je() : xe();
|
|
8669
8676
|
}
|
|
8670
8677
|
}, [l, JSON.stringify(p), JSON.stringify(b), P, S, y, f]), ge(() => {
|
|
8671
8678
|
P.current && (P.current = !1);
|
|
8672
8679
|
}, [P]);
|
|
8673
|
-
let Se = { message: za, start:
|
|
8680
|
+
let Se = { message: za, start: je, reset: oa, activate: ga, pause: Ve, resume: Ye, isIdle: Da, isPrompted: Ea, isLeader: Ia, isLastActiveTab: Va, getTabId: da, getRemainingTime: ya, getElapsedTime: Ke, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Na, getIdleTime: La, getTotalIdleTime: Ua, getActiveTime: Ga, getTotalActiveTime: Ma, setOnPresenceChange: (V) => {
|
|
8674
8681
|
d = V, te.current = V;
|
|
8675
8682
|
}, setOnPrompt: (V) => {
|
|
8676
8683
|
r = V, _e.current = V;
|
|
@@ -8685,7 +8692,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8685
8692
|
} };
|
|
8686
8693
|
return Se;
|
|
8687
8694
|
}
|
|
8688
|
-
var ds =
|
|
8695
|
+
var ds = qi(null);
|
|
8689
8696
|
ds.Consumer;
|
|
8690
8697
|
const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
8691
8698
|
onIdle: e,
|
|
@@ -8694,7 +8701,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8694
8701
|
timeout: l,
|
|
8695
8702
|
throttle: 500
|
|
8696
8703
|
}), cs = ({ options: e } = {}) => {
|
|
8697
|
-
const { commonInboxApi: n } = Ha(), { getToken: i, lng: l } = oe(), p = i?.(), g =
|
|
8704
|
+
const { commonInboxApi: n } = Ha(), { getToken: i, lng: l } = oe(), p = i?.(), g = Qe(l);
|
|
8698
8705
|
return Q({
|
|
8699
8706
|
queryKey: ["inboxList"],
|
|
8700
8707
|
queryFn: async () => await n(),
|
|
@@ -8704,7 +8711,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8704
8711
|
const { internal_notifications_language: t } = a;
|
|
8705
8712
|
return {
|
|
8706
8713
|
...a,
|
|
8707
|
-
notificationLng:
|
|
8714
|
+
notificationLng: $e(
|
|
8708
8715
|
t,
|
|
8709
8716
|
(o) => o.language === g
|
|
8710
8717
|
) || t[0]
|
|
@@ -8789,7 +8796,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8789
8796
|
...e.other
|
|
8790
8797
|
}
|
|
8791
8798
|
], Qm = ({ options: e, formData: n } = {}) => {
|
|
8792
|
-
const { lng: i } = oe(), { newsListApi: l } = rl(), p =
|
|
8799
|
+
const { lng: i } = oe(), { newsListApi: l } = rl(), p = Qe(i);
|
|
8793
8800
|
return Q({
|
|
8794
8801
|
queryKey: ["newsList"],
|
|
8795
8802
|
queryFn: () => {
|
|
@@ -8798,7 +8805,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8798
8805
|
},
|
|
8799
8806
|
select: (g) => {
|
|
8800
8807
|
const { data: b } = g, d = b.data?.filter((a) => a.is_active === 1), r = Be(d, (a) => {
|
|
8801
|
-
const t =
|
|
8808
|
+
const t = $e(a.news_language, {
|
|
8802
8809
|
language: p
|
|
8803
8810
|
}) || a.news_language[0];
|
|
8804
8811
|
return {
|
|
@@ -8815,7 +8822,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8815
8822
|
...e
|
|
8816
8823
|
});
|
|
8817
8824
|
}, jm = ({ options: e, formData: n } = {}) => {
|
|
8818
|
-
const { lng: i } = oe(), { newsListApi: l } = rl(), p =
|
|
8825
|
+
const { lng: i } = oe(), { newsListApi: l } = rl(), p = Qe(i);
|
|
8819
8826
|
return Q({
|
|
8820
8827
|
queryKey: ["newsList"],
|
|
8821
8828
|
queryFn: () => {
|
|
@@ -8823,7 +8830,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8823
8830
|
return l({ uid: g, params: b });
|
|
8824
8831
|
},
|
|
8825
8832
|
select: (g) => {
|
|
8826
|
-
const b =
|
|
8833
|
+
const b = $e(g.data.news_language, {
|
|
8827
8834
|
language: p
|
|
8828
8835
|
}) || g.data.news_language[0];
|
|
8829
8836
|
return {
|
|
@@ -8876,7 +8883,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8876
8883
|
withdrawal_amount: c,
|
|
8877
8884
|
bank_account_number: f,
|
|
8878
8885
|
currency_code: y,
|
|
8879
|
-
withdrawal_code:
|
|
8886
|
+
withdrawal_code: Zi.MD5(_).toString(),
|
|
8880
8887
|
payment_type: "ThirdParty"
|
|
8881
8888
|
}
|
|
8882
8889
|
});
|
|
@@ -9021,11 +9028,11 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9021
9028
|
providerList: Be(r.providers, (a) => ({
|
|
9022
9029
|
...a,
|
|
9023
9030
|
providerUid: a.uid,
|
|
9024
|
-
providerImageUrl: `${
|
|
9031
|
+
providerImageUrl: `${Ze}/paymentIcon/${Dt(a.provider_name)}.png`,
|
|
9025
9032
|
providerMax: a.max,
|
|
9026
9033
|
providerMin: a.min
|
|
9027
9034
|
})),
|
|
9028
|
-
methodImageUrl: `${
|
|
9035
|
+
methodImageUrl: `${Ze}/paymentIcon/${Dt(r.method_name)}pay.png`
|
|
9029
9036
|
}));
|
|
9030
9037
|
return {
|
|
9031
9038
|
bank: g,
|
|
@@ -9156,10 +9163,10 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9156
9163
|
eventTransaction: m,
|
|
9157
9164
|
withdrawTransaction: c
|
|
9158
9165
|
};
|
|
9159
|
-
}, ol = "3.7.8", xs = ol, Wa = typeof Buffer == "function",
|
|
9166
|
+
}, ol = "3.7.8", xs = ol, Wa = typeof Buffer == "function", Mn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Rn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ss = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Qa = Array.prototype.slice.call(Ss), ri = ((e) => {
|
|
9160
9167
|
let n = {};
|
|
9161
9168
|
return e.forEach((i, l) => n[i] = l), n;
|
|
9162
|
-
})(Qa), Ds = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String),
|
|
9169
|
+
})(Qa), Ds = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Pn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ml = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ul = (e) => {
|
|
9163
9170
|
let n, i, l, p, g = "";
|
|
9164
9171
|
const b = e.length % 3;
|
|
9165
9172
|
for (let d = 0; d < e.length; ) {
|
|
@@ -9168,12 +9175,12 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9168
9175
|
n = i << 16 | l << 8 | p, g += Qa[n >> 18 & 63] + Qa[n >> 12 & 63] + Qa[n >> 6 & 63] + Qa[n & 63];
|
|
9169
9176
|
}
|
|
9170
9177
|
return b ? g.slice(0, b - 3) + "===".substring(b) : g;
|
|
9171
|
-
},
|
|
9178
|
+
}, xt = typeof btoa == "function" ? (e) => btoa(e) : Wa ? (e) => Buffer.from(e, "binary").toString("base64") : ul, ut = Wa ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
9172
9179
|
let i = [];
|
|
9173
9180
|
for (let l = 0, p = e.length; l < p; l += 4096)
|
|
9174
9181
|
i.push(Le.apply(null, e.subarray(l, l + 4096)));
|
|
9175
|
-
return
|
|
9176
|
-
}, Ji = (e, n = !1) => n ? sl(
|
|
9182
|
+
return xt(i.join(""));
|
|
9183
|
+
}, Ji = (e, n = !1) => n ? sl(ut(e)) : ut(e), Es = (e) => {
|
|
9177
9184
|
if (e.length < 2) {
|
|
9178
9185
|
var n = e.charCodeAt(0);
|
|
9179
9186
|
return n < 128 ? e : n < 2048 ? Le(192 | n >>> 6) + Le(128 | n & 63) : Le(224 | n >>> 12 & 15) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
|
|
@@ -9181,7 +9188,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9181
9188
|
var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
9182
9189
|
return Le(240 | n >>> 18 & 7) + Le(128 | n >>> 12 & 63) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
|
|
9183
9190
|
}
|
|
9184
|
-
}, Ns = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, pl = (e) => e.replace(Ns, Es),
|
|
9191
|
+
}, Ns = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, pl = (e) => e.replace(Ns, Es), wn = Wa ? (e) => Buffer.from(e, "utf8").toString("base64") : Rn ? (e) => ut(Rn.encode(e)) : (e) => xt(pl(e)), Ba = (e, n = !1) => n ? sl(wn(e)) : wn(e), Fn = (e) => Ba(e, !0), Ls = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Gs = (e) => {
|
|
9185
9192
|
switch (e.length) {
|
|
9186
9193
|
case 4:
|
|
9187
9194
|
var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), i = n - 65536;
|
|
@@ -9199,7 +9206,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9199
9206
|
for (let g = 0; g < e.length; )
|
|
9200
9207
|
n = ri[e.charAt(g++)] << 18 | ri[e.charAt(g++)] << 12 | (i = ri[e.charAt(g++)]) << 6 | (l = ri[e.charAt(g++)]), i === 64 ? p.push(Le(n >> 16 & 255)) : l === 64 ? p.push(Le(n >> 16 & 255, n >> 8 & 255)) : p.push(Le(n >> 16 & 255, n >> 8 & 255, n & 255));
|
|
9201
9208
|
return p.join("");
|
|
9202
|
-
},
|
|
9209
|
+
}, St = typeof atob == "function" ? (e) => atob(ml(e)) : Wa ? (e) => Buffer.from(e, "base64").toString("binary") : dl, cl = Wa ? (e) => Pn(Buffer.from(e, "base64")) : (e) => Pn(St(e).split("").map((n) => n.charCodeAt(0))), fl = (e) => cl(_l(e)), Ms = Wa ? (e) => Buffer.from(e, "base64").toString("utf8") : Mn ? (e) => Mn.decode(cl(e)) : (e) => gl(St(e)), _l = (e) => ml(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), pt = (e) => Ms(_l(e)), Rs = (e) => {
|
|
9203
9210
|
if (typeof e != "string")
|
|
9204
9211
|
return !1;
|
|
9205
9212
|
const n = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
@@ -9212,7 +9219,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9212
9219
|
}), Ul = function() {
|
|
9213
9220
|
const e = (n, i) => Object.defineProperty(String.prototype, n, yl(i));
|
|
9214
9221
|
e("fromBase64", function() {
|
|
9215
|
-
return
|
|
9222
|
+
return pt(this);
|
|
9216
9223
|
}), e("toBase64", function(n) {
|
|
9217
9224
|
return Ba(this, n);
|
|
9218
9225
|
}), e("toBase64URI", function() {
|
|
@@ -9236,18 +9243,18 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9236
9243
|
}, ws = {
|
|
9237
9244
|
version: ol,
|
|
9238
9245
|
VERSION: xs,
|
|
9239
|
-
atob:
|
|
9246
|
+
atob: St,
|
|
9240
9247
|
atobPolyfill: dl,
|
|
9241
|
-
btoa:
|
|
9248
|
+
btoa: xt,
|
|
9242
9249
|
btoaPolyfill: ul,
|
|
9243
|
-
fromBase64:
|
|
9250
|
+
fromBase64: pt,
|
|
9244
9251
|
toBase64: Ba,
|
|
9245
9252
|
encode: Ba,
|
|
9246
|
-
encodeURI:
|
|
9247
|
-
encodeURL:
|
|
9253
|
+
encodeURI: Fn,
|
|
9254
|
+
encodeURL: Fn,
|
|
9248
9255
|
utob: pl,
|
|
9249
9256
|
btou: gl,
|
|
9250
|
-
decode:
|
|
9257
|
+
decode: pt,
|
|
9251
9258
|
isValid: Rs,
|
|
9252
9259
|
fromUint8Array: Ji,
|
|
9253
9260
|
toUint8Array: fl,
|
|
@@ -9255,7 +9262,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9255
9262
|
extendUint8Array: bl,
|
|
9256
9263
|
extendBuiltins: Ps
|
|
9257
9264
|
}, ou = (e, n) => {
|
|
9258
|
-
const { playGameApi: i } =
|
|
9265
|
+
const { playGameApi: i } = bt();
|
|
9259
9266
|
return Q({
|
|
9260
9267
|
queryKey: ["playGame"],
|
|
9261
9268
|
queryFn: async () => {
|
|
@@ -9368,8 +9375,8 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9368
9375
|
rewardUid: u,
|
|
9369
9376
|
rewardWagering: b,
|
|
9370
9377
|
rewardAmount: d,
|
|
9371
|
-
rewardBg:
|
|
9372
|
-
rewardIcon:
|
|
9378
|
+
rewardBg: Kn(),
|
|
9379
|
+
rewardIcon: Zn("win")
|
|
9373
9380
|
};
|
|
9374
9381
|
});
|
|
9375
9382
|
return {
|
|
@@ -9468,7 +9475,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9468
9475
|
redeemTreasureApi: i
|
|
9469
9476
|
};
|
|
9470
9477
|
}, uu = ({ paramsData: e, options: n } = {}) => {
|
|
9471
|
-
const { client: i, lng: l } = oe(), p =
|
|
9478
|
+
const { client: i, lng: l } = oe(), p = Qe(l || "tw"), { treasureListApi: g } = vl();
|
|
9472
9479
|
return Q({
|
|
9473
9480
|
queryKey: ["treasureList", e],
|
|
9474
9481
|
queryFn: () => g(e),
|
|
@@ -9481,7 +9488,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9481
9488
|
};
|
|
9482
9489
|
return {
|
|
9483
9490
|
list: Be(le(d, "data", []), (t) => {
|
|
9484
|
-
const o =
|
|
9491
|
+
const o = $e(t.treasure_copywriting, {
|
|
9485
9492
|
language: p
|
|
9486
9493
|
});
|
|
9487
9494
|
return {
|
|
@@ -9540,7 +9547,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9540
9547
|
vip_withdrawal_rate: t,
|
|
9541
9548
|
rebate_range: o,
|
|
9542
9549
|
vip_game_rebate: s
|
|
9543
|
-
} = d, u =
|
|
9550
|
+
} = d, u = $e(r, { currency_code: i }) || {}, m = $e(a, { currency_code: i }) || {}, c = t, f = Be(o, (U) => ({
|
|
9544
9551
|
...U,
|
|
9545
9552
|
rebateRange: JSON.parse(U.rebate_range)
|
|
9546
9553
|
})), y = le(s, "[0]", {}), _ = {
|
|
@@ -9549,7 +9556,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9549
9556
|
};
|
|
9550
9557
|
return {
|
|
9551
9558
|
...d,
|
|
9552
|
-
vipImageUrl: `${
|
|
9559
|
+
vipImageUrl: `${Ze}/vip/vip${d.level}_l.avif`,
|
|
9553
9560
|
vipRule: u,
|
|
9554
9561
|
vipWithdraw: m,
|
|
9555
9562
|
vipWithdrawFeeRate: c,
|
|
@@ -9564,7 +9571,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9564
9571
|
vipList: {}
|
|
9565
9572
|
}) => ({
|
|
9566
9573
|
vipList: Is({ options: e.vipList })
|
|
9567
|
-
}),
|
|
9574
|
+
}), An = (e) => {
|
|
9568
9575
|
switch (e) {
|
|
9569
9576
|
case "tw":
|
|
9570
9577
|
return "Tw";
|
|
@@ -9584,7 +9591,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9584
9591
|
return "En";
|
|
9585
9592
|
}
|
|
9586
9593
|
}, oi = "game-icon-ds88", cu = ({ gameData: e = {} } = {}) => {
|
|
9587
|
-
const { lng: n } = oe(), i =
|
|
9594
|
+
const { lng: n } = oe(), i = An(n), {
|
|
9588
9595
|
gameCode: l,
|
|
9589
9596
|
// 遊戲代碼
|
|
9590
9597
|
gameUid: p,
|
|
@@ -9627,7 +9634,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9627
9634
|
// 越南名稱
|
|
9628
9635
|
gameNameTw: S
|
|
9629
9636
|
// 繁體中文名稱
|
|
9630
|
-
} = e, L = e?.[`gameName${
|
|
9637
|
+
} = e, L = e?.[`gameName${An(i)}`], H = `${ti}/${oi}/${n}/${a}/${ai(l, / /g, "_")}.webp`, k = `${ti}/${oi}/${n}/${a}/${ai(l, / /g, "_")}.gif`, h = `${ti}/${oi}/en/${a}/${ai(l, / /g, "_")}.webp`, A = `${ti}/${oi}/en/${a}/${ai(l, / /g, "_")}.gif`;
|
|
9631
9638
|
return {
|
|
9632
9639
|
gameCode: l,
|
|
9633
9640
|
gameUid: p,
|
|
@@ -9689,7 +9696,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9689
9696
|
// 臨時維護開始時間
|
|
9690
9697
|
temp_maintenance_end_time: o
|
|
9691
9698
|
// 臨時維護結束時間
|
|
9692
|
-
} = e || {}, s = `${
|
|
9699
|
+
} = e || {}, s = `${Ze}/${qn}/${Vs(l, n)}.png`;
|
|
9693
9700
|
return {
|
|
9694
9701
|
subPlatformEnum: i,
|
|
9695
9702
|
platformEnum: l,
|
|
@@ -9703,7 +9710,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9703
9710
|
tempMaintenanceEndTime: o,
|
|
9704
9711
|
platformImageUrl: s
|
|
9705
9712
|
};
|
|
9706
|
-
}, Js = (e = {}) =>
|
|
9713
|
+
}, Js = (e = {}) => !$i(e) || Ee(e) ? [] : Qi(e), On = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), Zs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), Ks = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), qs = (e = {}) => !$i(e) || Ee(e) ? [] : Qi(e), $s = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((i, l) => {
|
|
9707
9714
|
const p = n.map((g) => g.game_subtype);
|
|
9708
9715
|
return p.forEach((g) => {
|
|
9709
9716
|
i[g] = i[g] || [];
|
|
@@ -9730,7 +9737,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9730
9737
|
allGamePlatform: l = [],
|
|
9731
9738
|
allGameList: p = {}
|
|
9732
9739
|
} = {}) => !Array.isArray(e) || !Array.isArray(n) ? {} : e.reduce((g, b) => {
|
|
9733
|
-
const d =
|
|
9740
|
+
const d = Qn(i, b);
|
|
9734
9741
|
if (!d) return g;
|
|
9735
9742
|
const r = p[d] || [], a = n.reduce((t, o) => {
|
|
9736
9743
|
const s = Xl({
|
|
@@ -9741,10 +9748,10 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9741
9748
|
return Ee(s) ? t : { ...t, [o]: s };
|
|
9742
9749
|
}, {});
|
|
9743
9750
|
return Ee(a) || (g[b] = a), g;
|
|
9744
|
-
}, {}), js = (e = {}) =>
|
|
9751
|
+
}, {}), js = (e = {}) => !$i(e) || Ee(e) ? {} : Object.values(e).reduce((i, l) => (Object.entries(l).forEach(([p, g]) => {
|
|
9745
9752
|
i[p] ? i[p] = [...i[p], ...g] : i[p] = g;
|
|
9746
9753
|
}), i), {}), Ys = (e = {}) => {
|
|
9747
|
-
if (
|
|
9754
|
+
if (!$i(e) || Ee(e)) return {};
|
|
9748
9755
|
const n = {};
|
|
9749
9756
|
for (const [i, l] of Object.entries(e)) {
|
|
9750
9757
|
n[i] = {};
|
|
@@ -9767,26 +9774,26 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9767
9774
|
highlightGames: a = [],
|
|
9768
9775
|
originPlatform: t = []
|
|
9769
9776
|
}) => {
|
|
9770
|
-
const o = Js(e), s =
|
|
9777
|
+
const o = Js(e), s = On(n), u = Zs(i), m = Ks(l), c = On(t), f = qs(d), y = Qs({
|
|
9771
9778
|
gameTypes: u,
|
|
9772
9779
|
platforms: s,
|
|
9773
9780
|
gameList: e,
|
|
9774
9781
|
allGameTypes: i,
|
|
9775
9782
|
allPlatforms: n
|
|
9776
9783
|
}), _ = Be(n, (L) => {
|
|
9777
|
-
const H = `${
|
|
9784
|
+
const H = `${Ze}/${qn}/${L.platformEnum}.png`;
|
|
9778
9785
|
return {
|
|
9779
9786
|
...L,
|
|
9780
9787
|
platformImageUrl: H
|
|
9781
9788
|
};
|
|
9782
|
-
}), U = $s(o, l), C = js(y), v = Ys(C), x =
|
|
9789
|
+
}), U = $s(o, l), C = js(y), v = Ys(C), x = zn(y).reduce(
|
|
9783
9790
|
(L, [H, k]) => {
|
|
9784
|
-
const h =
|
|
9791
|
+
const h = Qi(Vl(k));
|
|
9785
9792
|
return L[H] = h, L;
|
|
9786
9793
|
},
|
|
9787
9794
|
{}
|
|
9788
|
-
), S =
|
|
9789
|
-
const k =
|
|
9795
|
+
), S = Et(y).reduce((L, H) => {
|
|
9796
|
+
const k = Et(y[H]);
|
|
9790
9797
|
return L[H] = k, L;
|
|
9791
9798
|
}, {});
|
|
9792
9799
|
return {
|
|
@@ -9822,7 +9829,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9822
9829
|
favorite: f
|
|
9823
9830
|
}
|
|
9824
9831
|
};
|
|
9825
|
-
}, yu = (e = []) => !la(e) || Ee(e) ? [] :
|
|
9832
|
+
}, yu = (e = []) => !la(e) || Ee(e) ? [] : Qi(e, (n) => Ee(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((i) => ({
|
|
9826
9833
|
...n,
|
|
9827
9834
|
...i,
|
|
9828
9835
|
platform: i.SubPlatformEnum,
|
|
@@ -36421,7 +36428,7 @@ const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
36421
36428
|
i && im(!0);
|
|
36422
36429
|
}, [i]);
|
|
36423
36430
|
const l = am({ enabled: n });
|
|
36424
|
-
return /* @__PURE__ */ Fe.jsx(
|
|
36431
|
+
return /* @__PURE__ */ Fe.jsx($n.Provider, { value: l, children: e });
|
|
36425
36432
|
};
|
|
36426
36433
|
function Uu({
|
|
36427
36434
|
children: e,
|
|
@@ -36430,8 +36437,8 @@ function Uu({
|
|
|
36430
36437
|
queryClient: l,
|
|
36431
36438
|
...p
|
|
36432
36439
|
}) {
|
|
36433
|
-
const g = Oa(() =>
|
|
36434
|
-
() =>
|
|
36440
|
+
const g = Oa(() => Mt(p), [p]), b = Oa(
|
|
36441
|
+
() => Mt({ ...p, formData: !0 }),
|
|
36435
36442
|
[p]
|
|
36436
36443
|
), d = Oa(
|
|
36437
36444
|
() => new Ol({
|
|
@@ -36444,7 +36451,7 @@ function Uu({
|
|
|
36444
36451
|
}),
|
|
36445
36452
|
[]
|
|
36446
36453
|
), r = l || d;
|
|
36447
|
-
return /* @__PURE__ */ Fe.jsx(Bl, { client: r, children: /* @__PURE__ */ Fe.jsx(
|
|
36454
|
+
return /* @__PURE__ */ Fe.jsx(Bl, { client: r, children: /* @__PURE__ */ Fe.jsx(In.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Fe.jsx(Ql, { children: /* @__PURE__ */ Fe.jsx(
|
|
36448
36455
|
tm,
|
|
36449
36456
|
{
|
|
36450
36457
|
autoFetch: n,
|
|
@@ -36493,23 +36500,23 @@ const bu = ({ onFunction: e = () => {
|
|
|
36493
36500
|
}
|
|
36494
36501
|
) : null;
|
|
36495
36502
|
};
|
|
36496
|
-
var nm = Object.defineProperty,
|
|
36503
|
+
var nm = Object.defineProperty, Ki = Object.getOwnPropertySymbols, Tl = Object.prototype.hasOwnProperty, kl = Object.prototype.propertyIsEnumerable, Bn = (e, n, i) => n in e ? nm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i, gt = (e, n) => {
|
|
36497
36504
|
for (var i in n || (n = {}))
|
|
36498
|
-
Tl.call(n, i) &&
|
|
36499
|
-
if (
|
|
36500
|
-
for (var i of
|
|
36501
|
-
kl.call(n, i) &&
|
|
36505
|
+
Tl.call(n, i) && Bn(e, i, n[i]);
|
|
36506
|
+
if (Ki)
|
|
36507
|
+
for (var i of Ki(n))
|
|
36508
|
+
kl.call(n, i) && Bn(e, i, n[i]);
|
|
36502
36509
|
return e;
|
|
36503
|
-
},
|
|
36510
|
+
}, dt = (e, n) => {
|
|
36504
36511
|
var i = {};
|
|
36505
36512
|
for (var l in e)
|
|
36506
36513
|
Tl.call(e, l) && n.indexOf(l) < 0 && (i[l] = e[l]);
|
|
36507
|
-
if (e != null &&
|
|
36508
|
-
for (var l of
|
|
36514
|
+
if (e != null && Ki)
|
|
36515
|
+
for (var l of Ki(e))
|
|
36509
36516
|
n.indexOf(l) < 0 && kl.call(e, l) && (i[l] = e[l]);
|
|
36510
36517
|
return i;
|
|
36511
36518
|
};
|
|
36512
|
-
var
|
|
36519
|
+
var ka;
|
|
36513
36520
|
((e) => {
|
|
36514
36521
|
const n = class Y {
|
|
36515
36522
|
/*-- Constructor (low level) and fields --*/
|
|
@@ -37014,7 +37021,7 @@ var xa;
|
|
|
37014
37021
|
g.NUMERIC_REGEX = /^[0-9]*$/, g.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\/:-]*$/, g.ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
|
|
37015
37022
|
let b = g;
|
|
37016
37023
|
e.QrSegment = g;
|
|
37017
|
-
})(
|
|
37024
|
+
})(ka || (ka = {}));
|
|
37018
37025
|
((e) => {
|
|
37019
37026
|
((n) => {
|
|
37020
37027
|
const i = class {
|
|
@@ -37026,7 +37033,7 @@ var xa;
|
|
|
37026
37033
|
};
|
|
37027
37034
|
i.LOW = new i(0, 1), i.MEDIUM = new i(1, 0), i.QUARTILE = new i(2, 3), i.HIGH = new i(3, 2), n.Ecc = i;
|
|
37028
37035
|
})(e.QrCode || (e.QrCode = {}));
|
|
37029
|
-
})(
|
|
37036
|
+
})(ka || (ka = {}));
|
|
37030
37037
|
((e) => {
|
|
37031
37038
|
((n) => {
|
|
37032
37039
|
const i = class {
|
|
@@ -37043,8 +37050,8 @@ var xa;
|
|
|
37043
37050
|
};
|
|
37044
37051
|
i.NUMERIC = new i(1, [10, 12, 14]), i.ALPHANUMERIC = new i(2, [9, 11, 13]), i.BYTE = new i(4, [8, 16, 16]), i.KANJI = new i(8, [8, 10, 12]), i.ECI = new i(7, [0, 0, 0]), n.Mode = i;
|
|
37045
37052
|
})(e.QrSegment || (e.QrSegment = {}));
|
|
37046
|
-
})(
|
|
37047
|
-
var Aa =
|
|
37053
|
+
})(ka || (ka = {}));
|
|
37054
|
+
var Aa = ka;
|
|
37048
37055
|
var lm = {
|
|
37049
37056
|
L: Aa.QrCode.Ecc.LOW,
|
|
37050
37057
|
M: Aa.QrCode.Ecc.MEDIUM,
|
|
@@ -37156,7 +37163,7 @@ var pm = (function() {
|
|
|
37156
37163
|
boostLevel: o,
|
|
37157
37164
|
marginSize: s,
|
|
37158
37165
|
imageSettings: u
|
|
37159
|
-
} = l, c =
|
|
37166
|
+
} = l, c = dt(l, [
|
|
37160
37167
|
"value",
|
|
37161
37168
|
"size",
|
|
37162
37169
|
"level",
|
|
@@ -37167,7 +37174,7 @@ var pm = (function() {
|
|
|
37167
37174
|
"boostLevel",
|
|
37168
37175
|
"marginSize",
|
|
37169
37176
|
"imageSettings"
|
|
37170
|
-
]), { style: f } = c, y =
|
|
37177
|
+
]), { style: f } = c, y = dt(c, ["style"]), _ = u?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
|
|
37171
37178
|
(w) => {
|
|
37172
37179
|
U.current = w, typeof i == "function" ? i(w) : i && (i.current = w);
|
|
37173
37180
|
},
|
|
@@ -37211,7 +37218,7 @@ var pm = (function() {
|
|
|
37211
37218
|
}), de.useEffect(() => {
|
|
37212
37219
|
S(!1);
|
|
37213
37220
|
}, [_]);
|
|
37214
|
-
const A =
|
|
37221
|
+
const A = gt({ height: g, width: g }, f);
|
|
37215
37222
|
let B = null;
|
|
37216
37223
|
return _ != null && (B = /* @__PURE__ */ de.createElement(
|
|
37217
37224
|
"img",
|
|
@@ -37227,7 +37234,7 @@ var pm = (function() {
|
|
|
37227
37234
|
}
|
|
37228
37235
|
)), /* @__PURE__ */ de.createElement(de.Fragment, null, /* @__PURE__ */ de.createElement(
|
|
37229
37236
|
"canvas",
|
|
37230
|
-
|
|
37237
|
+
gt({
|
|
37231
37238
|
style: A,
|
|
37232
37239
|
height: g,
|
|
37233
37240
|
width: g,
|
|
@@ -37252,7 +37259,7 @@ var Pl = de.forwardRef(
|
|
|
37252
37259
|
title: s,
|
|
37253
37260
|
marginSize: u,
|
|
37254
37261
|
imageSettings: m
|
|
37255
|
-
} = l, c =
|
|
37262
|
+
} = l, c = dt(l, [
|
|
37256
37263
|
"value",
|
|
37257
37264
|
"size",
|
|
37258
37265
|
"level",
|
|
@@ -37294,7 +37301,7 @@ var Pl = de.forwardRef(
|
|
|
37294
37301
|
const x = Gl(C, f);
|
|
37295
37302
|
return /* @__PURE__ */ de.createElement(
|
|
37296
37303
|
"svg",
|
|
37297
|
-
|
|
37304
|
+
gt({
|
|
37298
37305
|
height: g,
|
|
37299
37306
|
width: g,
|
|
37300
37307
|
viewBox: `0 0 ${_} ${_}`,
|
|
@@ -37339,7 +37346,7 @@ const dm = {
|
|
|
37339
37346
|
padding: "10px",
|
|
37340
37347
|
lineHeight: "1",
|
|
37341
37348
|
zIndex: 10001
|
|
37342
|
-
},
|
|
37349
|
+
}, Hn = {
|
|
37343
37350
|
zh_TW: {
|
|
37344
37351
|
title: "請使用 LINE 掃描 QR Code 登入",
|
|
37345
37352
|
expired: "QR Code 已過期"
|
|
@@ -37361,7 +37368,7 @@ const dm = {
|
|
|
37361
37368
|
expired: "Kode QR telah kedaluwarsa"
|
|
37362
37369
|
}
|
|
37363
37370
|
}, hu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: i } = {}) => {
|
|
37364
|
-
const { lng: l, getToken: p, lineConfig: g } = oe(), [b, d] =
|
|
37371
|
+
const { lng: l, getToken: p, lineConfig: g } = oe(), [b, d] = ot(300), [r, a] = ot(!1), t = ee(null), o = le(g, "liffId", ""), s = Qe(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || mt.get("machine_mac_address") || "", { data: f, isFetching: y } = zo({
|
|
37365
37372
|
formData: {
|
|
37366
37373
|
mac_address: c
|
|
37367
37374
|
},
|
|
@@ -37370,7 +37377,7 @@ const dm = {
|
|
|
37370
37377
|
}
|
|
37371
37378
|
}), _ = le(f, "liff_url", "") || `https://liff.line.me/${o}`;
|
|
37372
37379
|
ge(() => {
|
|
37373
|
-
c &&
|
|
37380
|
+
c && mt.set("machine_mac_address", c, { expires: 365 });
|
|
37374
37381
|
}, [c]), ge(() => (_ && (d(300), a(!1), t.current && clearInterval(t.current), t.current = setInterval(() => {
|
|
37375
37382
|
d((v) => v <= 1 ? (clearInterval(t.current), a(!0), 0) : v - 1);
|
|
37376
37383
|
}, 1e3)), () => {
|
|
@@ -37381,7 +37388,7 @@ const dm = {
|
|
|
37381
37388
|
return `${x}:${S < 10 ? "0" : ""}${S}`;
|
|
37382
37389
|
};
|
|
37383
37390
|
if (!e && (!c || u)) return null;
|
|
37384
|
-
const C =
|
|
37391
|
+
const C = Hn[s] || Hn.en_US;
|
|
37385
37392
|
return n && /* @__PURE__ */ Fe.jsxs("div", { style: dm, children: [
|
|
37386
37393
|
/* @__PURE__ */ Fe.jsx(
|
|
37387
37394
|
"div",
|
|
@@ -37426,7 +37433,7 @@ const dm = {
|
|
|
37426
37433
|
] })
|
|
37427
37434
|
] });
|
|
37428
37435
|
}, Tu = () => {
|
|
37429
|
-
const e =
|
|
37436
|
+
const e = ft(), {
|
|
37430
37437
|
mutate: n,
|
|
37431
37438
|
isPending: i,
|
|
37432
37439
|
isSuccess: l,
|
|
@@ -37456,29 +37463,29 @@ const dm = {
|
|
|
37456
37463
|
}, [n]), null;
|
|
37457
37464
|
};
|
|
37458
37465
|
export {
|
|
37459
|
-
|
|
37466
|
+
In as ApiCtx,
|
|
37460
37467
|
Uu as ApiProvider,
|
|
37461
37468
|
Tu as Bind,
|
|
37462
|
-
|
|
37469
|
+
$n as GamesInfoCtx,
|
|
37463
37470
|
bu as LineLogin,
|
|
37464
37471
|
hu as LineQrCode,
|
|
37465
37472
|
Ka as STATUS_TYPES,
|
|
37466
|
-
|
|
37473
|
+
Vn as StatusContext,
|
|
37467
37474
|
Ql as StatusProvider,
|
|
37468
37475
|
Qs as buildMultiTypes,
|
|
37469
37476
|
_u as buildMultiTypesWithSubTypes,
|
|
37470
37477
|
Xl as buildSinglePlatformWithSubTypes,
|
|
37471
37478
|
Yl as buildSingleType,
|
|
37472
37479
|
$s as categorizeGames,
|
|
37473
|
-
|
|
37480
|
+
Qe as convertLanguageCode,
|
|
37474
37481
|
vm as createLogoutHandler,
|
|
37475
37482
|
Ks as extractGameSubTypeNames,
|
|
37476
37483
|
Zs as extractGameTypeNames,
|
|
37477
|
-
|
|
37478
|
-
|
|
37479
|
-
|
|
37480
|
-
|
|
37481
|
-
|
|
37484
|
+
On as extractPlatformNames,
|
|
37485
|
+
Xn as filterGamesByPlatform,
|
|
37486
|
+
Qn as findGameTypeUid,
|
|
37487
|
+
jn as findPlatformUid,
|
|
37488
|
+
Yn as findSubPlatform,
|
|
37482
37489
|
Js as flattenAllGames,
|
|
37483
37490
|
qs as flattenFavoriteGames,
|
|
37484
37491
|
hm as formatNumber,
|
|
@@ -37557,7 +37564,7 @@ export {
|
|
|
37557
37564
|
Fo as useSetUserTransactionPassword,
|
|
37558
37565
|
Im as useSettleEvent,
|
|
37559
37566
|
Mo as useSignUp,
|
|
37560
|
-
|
|
37567
|
+
Jn as useStatus,
|
|
37561
37568
|
Ro as useToggleFavoriteGame,
|
|
37562
37569
|
Ho as useTransferInGame,
|
|
37563
37570
|
uu as useTreasureList,
|