@obb871001/api-integration-sdk 1.0.267 → 1.0.269
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 +3 -3
- package/dist/index.js +570 -568
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import ge, { createContext as zi, useContext as mt, useState as tt, useMemo as Oa, useCallback as V, useRef as ee, useEffect as
|
|
2
|
-
import { useQueries as
|
|
3
|
-
import
|
|
4
|
-
import { get as
|
|
5
|
-
import
|
|
1
|
+
import ge, { createContext as zi, useContext as mt, useState as tt, useMemo as Oa, useCallback as V, useRef as ee, useEffect as me } from "react";
|
|
2
|
+
import { useQueries as Bn, useQuery as ne, useQueryClient as Hn, useMutation as de, QueryClient as wl, QueryClientProvider as Al } from "@tanstack/react-query";
|
|
3
|
+
import Ol from "axios";
|
|
4
|
+
import { get as pe, find as Qe, isEmpty as Ee, entries as Wn, map as We, isArray as ta, toLower as vt, omit as Bl, replace as ht, includes as Hl, isObject as Ii, flatMap as Vi, values as Wl, keys as Tt } from "lodash";
|
|
5
|
+
import zl from "react-dom";
|
|
6
6
|
var $i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
function ut(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function Il(e) {
|
|
11
11
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
12
12
|
var r = e.default;
|
|
13
13
|
if (typeof r == "function") {
|
|
@@ -33,7 +33,7 @@ function zl(e) {
|
|
|
33
33
|
}
|
|
34
34
|
var Xa = { exports: {} }, Va = {};
|
|
35
35
|
var kt;
|
|
36
|
-
function
|
|
36
|
+
function Vl() {
|
|
37
37
|
if (kt) return Va;
|
|
38
38
|
kt = 1;
|
|
39
39
|
var e = ge, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = 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 };
|
|
@@ -48,7 +48,7 @@ function Il() {
|
|
|
48
48
|
}
|
|
49
49
|
var Za = {};
|
|
50
50
|
var xt;
|
|
51
|
-
function
|
|
51
|
+
function Zl() {
|
|
52
52
|
return xt || (xt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
53
|
var e = ge, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), i = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), o = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), u = Symbol.iterator, d = "@@iterator";
|
|
54
54
|
function c(k) {
|
|
@@ -217,8 +217,8 @@ function Vl() {
|
|
|
217
217
|
}
|
|
218
218
|
var X = !1, ie;
|
|
219
219
|
{
|
|
220
|
-
var
|
|
221
|
-
ie = new
|
|
220
|
+
var ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
|
+
ie = new ue();
|
|
222
222
|
}
|
|
223
223
|
function ye(k, z) {
|
|
224
224
|
if (!k || X)
|
|
@@ -611,17 +611,17 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
611
611
|
Se(Ze, k);
|
|
612
612
|
}
|
|
613
613
|
if (ke.call(z, "key")) {
|
|
614
|
-
var Ca = L(k), Be = Object.keys(z).filter(function(
|
|
615
|
-
return
|
|
614
|
+
var Ca = L(k), Be = Object.keys(z).filter(function(Fl) {
|
|
615
|
+
return Fl !== "key";
|
|
616
616
|
}), Qi = Be.length > 0 ? "{key: someKey, " + Be.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
617
|
if (!aa[Ca + Qi]) {
|
|
618
|
-
var
|
|
618
|
+
var Pl = Be.length > 0 ? "{" + Be.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} />`, Qi, Ca,
|
|
624
|
+
<%s key={someKey} {...props} />`, Qi, Ca, Pl, Ca), aa[Ca + Qi] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
return k === n ? De(ve) : I(ve), ve;
|
|
@@ -633,24 +633,24 @@ React keys must be passed directly to JSX without using spread:
|
|
|
633
633
|
function Ya(k, z, Z) {
|
|
634
634
|
return Pe(k, z, Z, !1);
|
|
635
635
|
}
|
|
636
|
-
var qi = Ya,
|
|
637
|
-
Za.Fragment = n, Za.jsx = qi, Za.jsxs =
|
|
636
|
+
var qi = Ya, Rl = ia;
|
|
637
|
+
Za.Fragment = n, Za.jsx = qi, Za.jsxs = Rl;
|
|
638
638
|
})()), Za;
|
|
639
639
|
}
|
|
640
640
|
var St;
|
|
641
|
-
function
|
|
642
|
-
return St || (St = 1, process.env.NODE_ENV === "production" ? Xa.exports =
|
|
641
|
+
function Jl() {
|
|
642
|
+
return St || (St = 1, process.env.NODE_ENV === "production" ? Xa.exports = Vl() : Xa.exports = Zl()), Xa.exports;
|
|
643
643
|
}
|
|
644
|
-
var Ae =
|
|
645
|
-
const
|
|
646
|
-
const e = mt(
|
|
644
|
+
var Ae = Jl();
|
|
645
|
+
const zn = zi(null), re = () => {
|
|
646
|
+
const e = mt(zn);
|
|
647
647
|
if (!e)
|
|
648
648
|
throw new Error("useApiContext must be used within ApiProvider");
|
|
649
649
|
return e;
|
|
650
650
|
}, Ja = {
|
|
651
651
|
READY: "ready",
|
|
652
652
|
PENDING: "pending"
|
|
653
|
-
},
|
|
653
|
+
}, In = zi(null), Kl = ({ children: e }) => {
|
|
654
654
|
const [r, t] = tt(Ja.PENDING), n = Oa(() => {
|
|
655
655
|
const p = r === Ja.READY, g = r === Ja.PENDING;
|
|
656
656
|
return {
|
|
@@ -662,9 +662,9 @@ const Wn = zi(null), re = () => {
|
|
|
662
662
|
setAsPending: () => t(Ja.PENDING)
|
|
663
663
|
};
|
|
664
664
|
}, [r]);
|
|
665
|
-
return /* @__PURE__ */ Ae.jsx(
|
|
666
|
-
},
|
|
667
|
-
const e = mt(
|
|
665
|
+
return /* @__PURE__ */ Ae.jsx(In.Provider, { value: n, children: e });
|
|
666
|
+
}, Vn = () => {
|
|
667
|
+
const e = mt(In);
|
|
668
668
|
if (!e)
|
|
669
669
|
throw new Error("useStatus must be used within a StatusProvider");
|
|
670
670
|
return e;
|
|
@@ -687,7 +687,7 @@ const Wn = zi(null), re = () => {
|
|
|
687
687
|
default:
|
|
688
688
|
return e;
|
|
689
689
|
}
|
|
690
|
-
}, pa = "https://d1h3qe8voog6w4.cloudfront.net", Dt = "https://d3jx2uvukujuvn.cloudfront.net",
|
|
690
|
+
}, pa = "https://d1h3qe8voog6w4.cloudfront.net", Dt = "https://d3jx2uvukujuvn.cloudfront.net", Zn = (e) => `${pa}/reward_icon/${e}.avif`, Jn = () => `${pa}/reward_icon/background_deposit.avif`, Kn = "ds88platformIcon", $a = {
|
|
691
691
|
zh_TW: "系統提示",
|
|
692
692
|
zh_CN: "系统提示",
|
|
693
693
|
en_US: "System Prompt",
|
|
@@ -707,7 +707,7 @@ function Et({
|
|
|
707
707
|
currency: f,
|
|
708
708
|
toasterOpen: l = !1
|
|
709
709
|
} = {}) {
|
|
710
|
-
const i =
|
|
710
|
+
const i = Ol.create({
|
|
711
711
|
baseURL: e,
|
|
712
712
|
timeout: t,
|
|
713
713
|
headers: {
|
|
@@ -724,7 +724,7 @@ function Et({
|
|
|
724
724
|
}), i.interceptors.response.use(
|
|
725
725
|
(a) => a.data,
|
|
726
726
|
(a) => {
|
|
727
|
-
const s =
|
|
727
|
+
const s = pe(
|
|
728
728
|
a,
|
|
729
729
|
"response.data.message",
|
|
730
730
|
"發生錯誤,請稍後再試。"
|
|
@@ -745,14 +745,14 @@ function Et({
|
|
|
745
745
|
}
|
|
746
746
|
), i;
|
|
747
747
|
}
|
|
748
|
-
const
|
|
749
|
-
const e = mt(
|
|
748
|
+
const qn = zi(null), _m = () => {
|
|
749
|
+
const e = mt(qn);
|
|
750
750
|
if (!e)
|
|
751
751
|
throw new Error(
|
|
752
752
|
"useGameInfoContext must be used within a GameInfoCtx.Provider"
|
|
753
753
|
);
|
|
754
754
|
return e;
|
|
755
|
-
},
|
|
755
|
+
}, ym = () => {
|
|
756
756
|
const e = (n, p) => !n && !p, r = (n) => n.startsWith("pc.");
|
|
757
757
|
return {
|
|
758
758
|
executeLogout: ({
|
|
@@ -771,50 +771,50 @@ const Kn = zi(null), fm = () => {
|
|
|
771
771
|
shouldShowErrorNotice: e,
|
|
772
772
|
isMachineDomain: r
|
|
773
773
|
};
|
|
774
|
-
},
|
|
774
|
+
}, Um = (e) => {
|
|
775
775
|
let r = Number(e);
|
|
776
776
|
return isNaN(r) ? e : new Intl.NumberFormat("en-US", {
|
|
777
777
|
style: "decimal",
|
|
778
778
|
minimumFractionDigits: 2,
|
|
779
779
|
maximumFractionDigits: 2
|
|
780
780
|
}).format(r);
|
|
781
|
-
},
|
|
781
|
+
}, Qn = (e = [], r) => Qe(e, { gameTypeName: r })?.gameTypeUid, $n = (e = [], r) => Qe(e, { platform: r })?.platformUid, jn = (e = [], r) => Qe(e, { SubPlatformEnum: r }), Yn = (e = [], r, t) => Ee(e) ? [] : e.filter((n) => t ? String(n?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(n.platformUid) === String(r)), ql = (e = []) => Ee(e) ? {} : e.reduce((r, t) => {
|
|
782
782
|
const n = t?.game_subtype || "UNKNOWN";
|
|
783
783
|
return r[n] || (r[n] = []), r[n].push(t), r;
|
|
784
|
-
}, {}),
|
|
784
|
+
}, {}), Ql = ({
|
|
785
785
|
gameTypeName: e,
|
|
786
786
|
platforms: r,
|
|
787
787
|
gameList: t,
|
|
788
788
|
allGameTypes: n,
|
|
789
789
|
allPlatforms: p
|
|
790
790
|
}) => {
|
|
791
|
-
const g =
|
|
791
|
+
const g = Qn(n, e);
|
|
792
792
|
return g ? r.reduce((b, f) => {
|
|
793
|
-
const l =
|
|
793
|
+
const l = $n(p, f), i = jn(p, f), a = t[g] || [], s = Yn(
|
|
794
794
|
a,
|
|
795
795
|
l,
|
|
796
796
|
i
|
|
797
797
|
);
|
|
798
798
|
return Ee(s) || (b[f] = s), b;
|
|
799
799
|
}, {}) : {};
|
|
800
|
-
},
|
|
800
|
+
}, $l = ({
|
|
801
801
|
platformName: e,
|
|
802
802
|
gamesOfType: r = [],
|
|
803
803
|
allPlatforms: t = []
|
|
804
804
|
}) => {
|
|
805
|
-
const n =
|
|
805
|
+
const n = $n(t, e), p = jn(t, e), g = Yn(
|
|
806
806
|
r,
|
|
807
807
|
n,
|
|
808
808
|
p
|
|
809
809
|
);
|
|
810
|
-
return
|
|
810
|
+
return ql(g);
|
|
811
811
|
};
|
|
812
|
-
var ti = { exports: {} },
|
|
813
|
-
function
|
|
812
|
+
var ti = { exports: {} }, jl = ti.exports, Nt;
|
|
813
|
+
function Yl() {
|
|
814
814
|
return Nt || (Nt = 1, (function(e, r) {
|
|
815
815
|
(function(t, n) {
|
|
816
816
|
e.exports = n();
|
|
817
|
-
})(
|
|
817
|
+
})(jl, (function() {
|
|
818
818
|
var t = 1e3, n = 6e4, p = 36e5, g = "millisecond", b = "second", f = "minute", l = "hour", i = "day", a = "week", s = "month", o = "quarter", m = "year", u = "date", d = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(P) {
|
|
819
819
|
var G = ["th", "st", "nd", "rd"], R = P % 100;
|
|
820
820
|
return "[" + P + (G[(R - 20) % 10] || G[R] || G[0]) + "]";
|
|
@@ -901,8 +901,8 @@ function jl() {
|
|
|
901
901
|
return this.$d.getTime();
|
|
902
902
|
}, G.startOf = function(R, B) {
|
|
903
903
|
var O = this, H = !!h.u(B) || B, W = h.p(R), N = function(X, ie) {
|
|
904
|
-
var
|
|
905
|
-
return H ?
|
|
904
|
+
var ue = h.w(O.$u ? Date.UTC(O.$y, ie, X) : new Date(O.$y, ie, X), O);
|
|
905
|
+
return H ? ue : ue.endOf(i);
|
|
906
906
|
}, D = function(X, ie) {
|
|
907
907
|
return h.w(O.toDate()[X].apply(O.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), O);
|
|
908
908
|
}, w = this.$W, F = this.$M, K = this.$D, Q = "set" + (this.$u ? "UTC" : "");
|
|
@@ -957,16 +957,16 @@ function jl() {
|
|
|
957
957
|
}, G.format = function(R) {
|
|
958
958
|
var B = this, O = this.$locale();
|
|
959
959
|
if (!this.isValid()) return O.invalidDate || d;
|
|
960
|
-
var H = R || "YYYY-MM-DDTHH:mm:ssZ", W = h.z(this), N = this.$H, D = this.$m, w = this.$M, F = O.weekdays, K = O.months, Q = O.meridiem, $ = function(ie,
|
|
961
|
-
return ie && (ie[
|
|
960
|
+
var H = R || "YYYY-MM-DDTHH:mm:ssZ", W = h.z(this), N = this.$H, D = this.$m, w = this.$M, F = O.weekdays, K = O.months, Q = O.meridiem, $ = function(ie, ue, ye, oe) {
|
|
961
|
+
return ie && (ie[ue] || ie(B, H)) || ye[ue].slice(0, oe);
|
|
962
962
|
}, J = function(ie) {
|
|
963
963
|
return h.s(N % 12 || 12, ie, "0");
|
|
964
|
-
}, X = Q || function(ie,
|
|
964
|
+
}, X = Q || function(ie, ue, ye) {
|
|
965
965
|
var oe = ie < 12 ? "AM" : "PM";
|
|
966
966
|
return ye ? oe.toLowerCase() : oe;
|
|
967
967
|
};
|
|
968
|
-
return H.replace(y, (function(ie,
|
|
969
|
-
return
|
|
968
|
+
return H.replace(y, (function(ie, ue) {
|
|
969
|
+
return ue || (function(ye) {
|
|
970
970
|
switch (ye) {
|
|
971
971
|
case "YY":
|
|
972
972
|
return String(B.$y).slice(-2);
|
|
@@ -1087,28 +1087,28 @@ function jl() {
|
|
|
1087
1087
|
}));
|
|
1088
1088
|
})(ti)), ti.exports;
|
|
1089
1089
|
}
|
|
1090
|
-
var
|
|
1091
|
-
const Fe = /* @__PURE__ */ ut(
|
|
1090
|
+
var Xl = Yl();
|
|
1091
|
+
const Fe = /* @__PURE__ */ ut(Xl);
|
|
1092
1092
|
var ni = { exports: {} };
|
|
1093
|
-
function
|
|
1093
|
+
function er(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.');
|
|
1095
1095
|
}
|
|
1096
1096
|
var li = { exports: {} };
|
|
1097
|
-
const
|
|
1097
|
+
const ar = {}, ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1098
1098
|
__proto__: null,
|
|
1099
|
-
default:
|
|
1100
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1101
|
-
var
|
|
1099
|
+
default: ar
|
|
1100
|
+
}, Symbol.toStringTag, { value: "Module" })), tr = /* @__PURE__ */ Il(ir);
|
|
1101
|
+
var nr = li.exports, Lt;
|
|
1102
1102
|
function ae() {
|
|
1103
1103
|
return Lt || (Lt = 1, (function(e, r) {
|
|
1104
1104
|
(function(t, n) {
|
|
1105
1105
|
e.exports = n();
|
|
1106
|
-
})(
|
|
1106
|
+
})(nr, function() {
|
|
1107
1107
|
var t = t || (function(n, 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 $i < "u" && $i.crypto && (g = $i.crypto), !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 $i < "u" && $i.crypto && (g = $i.crypto), !g && typeof er == "function")
|
|
1110
1110
|
try {
|
|
1111
|
-
g =
|
|
1111
|
+
g = tr;
|
|
1112
1112
|
} catch {
|
|
1113
1113
|
}
|
|
1114
1114
|
var b = function() {
|
|
@@ -1599,12 +1599,12 @@ function ae() {
|
|
|
1599
1599
|
});
|
|
1600
1600
|
})(li)), li.exports;
|
|
1601
1601
|
}
|
|
1602
|
-
var ri = { exports: {} },
|
|
1602
|
+
var ri = { exports: {} }, lr = ri.exports, Gt;
|
|
1603
1603
|
function Zi() {
|
|
1604
1604
|
return Gt || (Gt = 1, (function(e, r) {
|
|
1605
1605
|
(function(t, n) {
|
|
1606
1606
|
e.exports = n(ae());
|
|
1607
|
-
})(
|
|
1607
|
+
})(lr, function(t) {
|
|
1608
1608
|
return (function(n) {
|
|
1609
1609
|
var p = t, g = p.lib, b = g.Base, f = g.WordArray, l = p.x64 = {};
|
|
1610
1610
|
l.Word = b.extend({
|
|
@@ -1829,12 +1829,12 @@ function Zi() {
|
|
|
1829
1829
|
});
|
|
1830
1830
|
})(ri)), ri.exports;
|
|
1831
1831
|
}
|
|
1832
|
-
var oi = { exports: {} },
|
|
1833
|
-
function
|
|
1832
|
+
var oi = { exports: {} }, rr = oi.exports, Mt;
|
|
1833
|
+
function or() {
|
|
1834
1834
|
return Mt || (Mt = 1, (function(e, r) {
|
|
1835
1835
|
(function(t, n) {
|
|
1836
1836
|
e.exports = n(ae());
|
|
1837
|
-
})(
|
|
1837
|
+
})(rr, function(t) {
|
|
1838
1838
|
return (function() {
|
|
1839
1839
|
if (typeof ArrayBuffer == "function") {
|
|
1840
1840
|
var n = t, p = n.lib, g = p.WordArray, b = g.init, f = g.init = function(l) {
|
|
@@ -1851,12 +1851,12 @@ function rr() {
|
|
|
1851
1851
|
});
|
|
1852
1852
|
})(oi)), oi.exports;
|
|
1853
1853
|
}
|
|
1854
|
-
var si = { exports: {} },
|
|
1855
|
-
function
|
|
1854
|
+
var si = { exports: {} }, sr = si.exports, Rt;
|
|
1855
|
+
function mr() {
|
|
1856
1856
|
return Rt || (Rt = 1, (function(e, r) {
|
|
1857
1857
|
(function(t, n) {
|
|
1858
1858
|
e.exports = n(ae());
|
|
1859
|
-
})(
|
|
1859
|
+
})(sr, function(t) {
|
|
1860
1860
|
return (function() {
|
|
1861
1861
|
var n = t, p = n.lib, g = p.WordArray, b = n.enc;
|
|
1862
1862
|
b.Utf16 = b.Utf16BE = {
|
|
@@ -1945,12 +1945,12 @@ function sr() {
|
|
|
1945
1945
|
});
|
|
1946
1946
|
})(si)), si.exports;
|
|
1947
1947
|
}
|
|
1948
|
-
var mi = { exports: {} },
|
|
1948
|
+
var mi = { exports: {} }, ur = mi.exports, Pt;
|
|
1949
1949
|
function Sa() {
|
|
1950
1950
|
return Pt || (Pt = 1, (function(e, r) {
|
|
1951
1951
|
(function(t, n) {
|
|
1952
1952
|
e.exports = n(ae());
|
|
1953
|
-
})(
|
|
1953
|
+
})(ur, function(t) {
|
|
1954
1954
|
return (function() {
|
|
1955
1955
|
var n = t, p = n.lib, g = p.WordArray, b = n.enc;
|
|
1956
1956
|
b.Base64 = {
|
|
@@ -2020,12 +2020,12 @@ function Sa() {
|
|
|
2020
2020
|
});
|
|
2021
2021
|
})(mi)), mi.exports;
|
|
2022
2022
|
}
|
|
2023
|
-
var ui = { exports: {} },
|
|
2024
|
-
function
|
|
2023
|
+
var ui = { exports: {} }, pr = ui.exports, Ft;
|
|
2024
|
+
function gr() {
|
|
2025
2025
|
return Ft || (Ft = 1, (function(e, r) {
|
|
2026
2026
|
(function(t, n) {
|
|
2027
2027
|
e.exports = n(ae());
|
|
2028
|
-
})(
|
|
2028
|
+
})(pr, function(t) {
|
|
2029
2029
|
return (function() {
|
|
2030
2030
|
var n = t, p = n.lib, g = p.WordArray, b = n.enc;
|
|
2031
2031
|
b.Base64url = {
|
|
@@ -2102,12 +2102,12 @@ function pr() {
|
|
|
2102
2102
|
});
|
|
2103
2103
|
})(ui)), ui.exports;
|
|
2104
2104
|
}
|
|
2105
|
-
var pi = { exports: {} },
|
|
2105
|
+
var pi = { exports: {} }, dr = pi.exports, wt;
|
|
2106
2106
|
function Da() {
|
|
2107
2107
|
return wt || (wt = 1, (function(e, r) {
|
|
2108
2108
|
(function(t, n) {
|
|
2109
2109
|
e.exports = n(ae());
|
|
2110
|
-
})(
|
|
2110
|
+
})(dr, function(t) {
|
|
2111
2111
|
return (function(n) {
|
|
2112
2112
|
var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.algo, i = [];
|
|
2113
2113
|
(function() {
|
|
@@ -2168,12 +2168,12 @@ function Da() {
|
|
|
2168
2168
|
});
|
|
2169
2169
|
})(pi)), pi.exports;
|
|
2170
2170
|
}
|
|
2171
|
-
var gi = { exports: {} },
|
|
2172
|
-
function
|
|
2171
|
+
var gi = { exports: {} }, cr = gi.exports, At;
|
|
2172
|
+
function Xn() {
|
|
2173
2173
|
return At || (At = 1, (function(e, r) {
|
|
2174
2174
|
(function(t, n) {
|
|
2175
2175
|
e.exports = n(ae());
|
|
2176
|
-
})(
|
|
2176
|
+
})(cr, function(t) {
|
|
2177
2177
|
return (function() {
|
|
2178
2178
|
var n = t, p = n.lib, g = p.WordArray, b = p.Hasher, f = n.algo, l = [], i = f.SHA1 = b.extend({
|
|
2179
2179
|
_doReset: function() {
|
|
@@ -2212,12 +2212,12 @@ function Yn() {
|
|
|
2212
2212
|
});
|
|
2213
2213
|
})(gi)), gi.exports;
|
|
2214
2214
|
}
|
|
2215
|
-
var di = { exports: {} },
|
|
2215
|
+
var di = { exports: {} }, fr = di.exports, Ot;
|
|
2216
2216
|
function pt() {
|
|
2217
2217
|
return Ot || (Ot = 1, (function(e, r) {
|
|
2218
2218
|
(function(t, n) {
|
|
2219
2219
|
e.exports = n(ae());
|
|
2220
|
-
})(
|
|
2220
|
+
})(fr, function(t) {
|
|
2221
2221
|
return (function(n) {
|
|
2222
2222
|
var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.algo, i = [], a = [];
|
|
2223
2223
|
(function() {
|
|
@@ -2264,12 +2264,12 @@ function pt() {
|
|
|
2264
2264
|
});
|
|
2265
2265
|
})(di)), di.exports;
|
|
2266
2266
|
}
|
|
2267
|
-
var ci = { exports: {} },
|
|
2268
|
-
function
|
|
2267
|
+
var ci = { exports: {} }, _r = ci.exports, Bt;
|
|
2268
|
+
function yr() {
|
|
2269
2269
|
return Bt || (Bt = 1, (function(e, r) {
|
|
2270
2270
|
(function(t, n, p) {
|
|
2271
2271
|
e.exports = n(ae(), pt());
|
|
2272
|
-
})(
|
|
2272
|
+
})(_r, function(t) {
|
|
2273
2273
|
return (function() {
|
|
2274
2274
|
var n = t, p = n.lib, g = p.WordArray, b = n.algo, f = b.SHA256, l = b.SHA224 = f.extend({
|
|
2275
2275
|
_doReset: function() {
|
|
@@ -2294,12 +2294,12 @@ function _r() {
|
|
|
2294
2294
|
});
|
|
2295
2295
|
})(ci)), ci.exports;
|
|
2296
2296
|
}
|
|
2297
|
-
var fi = { exports: {} },
|
|
2298
|
-
function
|
|
2297
|
+
var fi = { exports: {} }, Ur = fi.exports, Ht;
|
|
2298
|
+
function el() {
|
|
2299
2299
|
return Ht || (Ht = 1, (function(e, r) {
|
|
2300
2300
|
(function(t, n, p) {
|
|
2301
2301
|
e.exports = n(ae(), Zi());
|
|
2302
|
-
})(
|
|
2302
|
+
})(Ur, function(t) {
|
|
2303
2303
|
return (function() {
|
|
2304
2304
|
var n = t, p = n.lib, g = p.Hasher, b = n.x64, f = b.Word, l = b.WordArray, i = n.algo;
|
|
2305
2305
|
function a() {
|
|
@@ -2405,7 +2405,7 @@ function Xn() {
|
|
|
2405
2405
|
]);
|
|
2406
2406
|
},
|
|
2407
2407
|
_doProcessBlock: function(u, d) {
|
|
2408
|
-
for (var c = this._hash.words, y = c[0], _ = c[1], U = c[2], C = c[3], T = c[4], x = c[5], S = c[6], M = c[7], A = y.high, v = y.low, h = _.high, E = _.low, L = U.high, P = U.low, G = C.high, R = C.low, B = T.high, O = T.low, H = x.high, W = x.low, N = S.high, D = S.low, w = M.high, F = M.low, K = A, Q = v, $ = h, J = E, X = L, ie = P,
|
|
2408
|
+
for (var c = this._hash.words, y = c[0], _ = c[1], U = c[2], C = c[3], T = c[4], x = c[5], S = c[6], M = c[7], A = y.high, v = y.low, h = _.high, E = _.low, L = U.high, P = U.low, G = C.high, R = C.low, B = T.high, O = T.low, H = x.high, W = x.low, N = S.high, D = S.low, w = M.high, F = M.low, K = A, Q = v, $ = h, J = E, X = L, ie = P, ue = G, ye = R, oe = B, fe = O, Te = H, ke = W, je = N, be = D, Ge = w, Ye = F, Me = 0; Me < 80; Me++) {
|
|
2409
2409
|
var Ce, Oe, Xe = o[Me];
|
|
2410
2410
|
if (Me < 16)
|
|
2411
2411
|
Oe = Xe.high = u[d + Me * 2] | 0, Ce = Xe.low = u[d + Me * 2 + 1] | 0;
|
|
@@ -2414,9 +2414,9 @@ function Xn() {
|
|
|
2414
2414
|
Ce = ra + Ia, Oe = Je + za + (Ce >>> 0 < ra >>> 0 ? 1 : 0), Ce = Ce + Ea, Oe = Oe + Wa + (Ce >>> 0 < Ea >>> 0 ? 1 : 0), Ce = Ce + Ve, Oe = Oe + Ua + (Ce >>> 0 < Ve >>> 0 ? 1 : 0), Xe.high = Oe, Xe.low = Ce;
|
|
2415
2415
|
}
|
|
2416
2416
|
var ca = oe & Te ^ ~oe & je, fa = fe & ke ^ ~fe & be, La = K & $ ^ K & X ^ $ & X, Ga = Q & J ^ Q & ie ^ J & ie, ba = (K >>> 28 | Q << 4) ^ (K << 30 | Q >>> 2) ^ (K << 25 | Q >>> 7), Ma = (Q >>> 28 | K << 4) ^ (Q << 30 | K >>> 2) ^ (Q << 25 | K >>> 7), Ra = (oe >>> 14 | fe << 18) ^ (oe >>> 18 | fe << 14) ^ (oe << 23 | fe >>> 9), Se = (fe >>> 14 | oe << 18) ^ (fe >>> 18 | oe << 14) ^ (fe << 23 | oe >>> 9), I = s[Me], De = I.high, aa = I.low, Pe = Ye + Se, ia = Ge + Ra + (Pe >>> 0 < Ye >>> 0 ? 1 : 0), Pe = Pe + fa, ia = ia + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + aa, ia = ia + De + (Pe >>> 0 < aa >>> 0 ? 1 : 0), Pe = Pe + Ce, ia = ia + Oe + (Pe >>> 0 < Ce >>> 0 ? 1 : 0), Ya = Ma + Ga, qi = ba + La + (Ya >>> 0 < Ma >>> 0 ? 1 : 0);
|
|
2417
|
-
Ge = je, Ye = be, je = Te, be = ke, Te = oe, ke = fe, fe = ye + Pe | 0, oe =
|
|
2417
|
+
Ge = je, Ye = be, je = Te, be = ke, Te = oe, ke = fe, fe = ye + Pe | 0, oe = ue + ia + (fe >>> 0 < ye >>> 0 ? 1 : 0) | 0, ue = X, ye = ie, X = $, ie = J, $ = K, J = Q, Q = Pe + Ya | 0, K = ia + qi + (Q >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
|
|
2418
2418
|
}
|
|
2419
|
-
v = y.low = v + Q, y.high = A + K + (v >>> 0 < Q >>> 0 ? 1 : 0), E = _.low = E + J, _.high = h + $ + (E >>> 0 < J >>> 0 ? 1 : 0), P = U.low = P + ie, U.high = L + X + (P >>> 0 < ie >>> 0 ? 1 : 0), R = C.low = R + ye, C.high = G +
|
|
2419
|
+
v = y.low = v + Q, y.high = A + K + (v >>> 0 < Q >>> 0 ? 1 : 0), E = _.low = E + J, _.high = h + $ + (E >>> 0 < J >>> 0 ? 1 : 0), P = U.low = P + ie, U.high = L + X + (P >>> 0 < ie >>> 0 ? 1 : 0), R = C.low = R + ye, C.high = G + ue + (R >>> 0 < ye >>> 0 ? 1 : 0), O = T.low = O + fe, T.high = B + oe + (O >>> 0 < fe >>> 0 ? 1 : 0), W = x.low = W + ke, x.high = H + Te + (W >>> 0 < ke >>> 0 ? 1 : 0), D = S.low = D + be, S.high = N + je + (D >>> 0 < be >>> 0 ? 1 : 0), F = M.low = F + Ye, M.high = w + Ge + (F >>> 0 < Ye >>> 0 ? 1 : 0);
|
|
2420
2420
|
},
|
|
2421
2421
|
_doFinalize: function() {
|
|
2422
2422
|
var u = this._data, d = u.words, c = this._nDataBytes * 8, y = u.sigBytes * 8;
|
|
@@ -2435,12 +2435,12 @@ function Xn() {
|
|
|
2435
2435
|
});
|
|
2436
2436
|
})(fi)), fi.exports;
|
|
2437
2437
|
}
|
|
2438
|
-
var _i = { exports: {} },
|
|
2439
|
-
function
|
|
2438
|
+
var _i = { exports: {} }, br = _i.exports, Wt;
|
|
2439
|
+
function Cr() {
|
|
2440
2440
|
return Wt || (Wt = 1, (function(e, r) {
|
|
2441
2441
|
(function(t, n, p) {
|
|
2442
|
-
e.exports = n(ae(), Zi(),
|
|
2443
|
-
})(
|
|
2442
|
+
e.exports = n(ae(), Zi(), el());
|
|
2443
|
+
})(br, function(t) {
|
|
2444
2444
|
return (function() {
|
|
2445
2445
|
var n = t, p = n.x64, g = p.Word, b = p.WordArray, f = n.algo, l = f.SHA512, i = f.SHA384 = l.extend({
|
|
2446
2446
|
_doReset: function() {
|
|
@@ -2465,12 +2465,12 @@ function br() {
|
|
|
2465
2465
|
});
|
|
2466
2466
|
})(_i)), _i.exports;
|
|
2467
2467
|
}
|
|
2468
|
-
var yi = { exports: {} },
|
|
2469
|
-
function
|
|
2468
|
+
var yi = { exports: {} }, vr = yi.exports, zt;
|
|
2469
|
+
function hr() {
|
|
2470
2470
|
return zt || (zt = 1, (function(e, r) {
|
|
2471
2471
|
(function(t, n, p) {
|
|
2472
2472
|
e.exports = n(ae(), Zi());
|
|
2473
|
-
})(
|
|
2473
|
+
})(vr, function(t) {
|
|
2474
2474
|
return (function(n) {
|
|
2475
2475
|
var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.x64, i = l.Word, a = p.algo, s = [], o = [], m = [];
|
|
2476
2476
|
(function() {
|
|
@@ -2575,12 +2575,12 @@ function vr() {
|
|
|
2575
2575
|
});
|
|
2576
2576
|
})(yi)), yi.exports;
|
|
2577
2577
|
}
|
|
2578
|
-
var Ui = { exports: {} },
|
|
2579
|
-
function
|
|
2578
|
+
var Ui = { exports: {} }, Tr = Ui.exports, It;
|
|
2579
|
+
function kr() {
|
|
2580
2580
|
return It || (It = 1, (function(e, r) {
|
|
2581
2581
|
(function(t, n) {
|
|
2582
2582
|
e.exports = n(ae());
|
|
2583
|
-
})(
|
|
2583
|
+
})(Tr, function(t) {
|
|
2584
2584
|
return (function(n) {
|
|
2585
2585
|
var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.algo, i = b.create([
|
|
2586
2586
|
0,
|
|
@@ -2958,12 +2958,12 @@ function Tr() {
|
|
|
2958
2958
|
});
|
|
2959
2959
|
})(Ui)), Ui.exports;
|
|
2960
2960
|
}
|
|
2961
|
-
var bi = { exports: {} },
|
|
2961
|
+
var bi = { exports: {} }, xr = bi.exports, Vt;
|
|
2962
2962
|
function gt() {
|
|
2963
2963
|
return Vt || (Vt = 1, (function(e, r) {
|
|
2964
2964
|
(function(t, n) {
|
|
2965
2965
|
e.exports = n(ae());
|
|
2966
|
-
})(
|
|
2966
|
+
})(xr, function(t) {
|
|
2967
2967
|
(function() {
|
|
2968
2968
|
var n = t, p = n.lib, g = p.Base, b = n.enc, f = b.Utf8, l = n.algo;
|
|
2969
2969
|
l.HMAC = g.extend({
|
|
@@ -3036,12 +3036,12 @@ function gt() {
|
|
|
3036
3036
|
});
|
|
3037
3037
|
})(bi)), bi.exports;
|
|
3038
3038
|
}
|
|
3039
|
-
var Ci = { exports: {} },
|
|
3040
|
-
function
|
|
3039
|
+
var Ci = { exports: {} }, Sr = Ci.exports, Zt;
|
|
3040
|
+
function Dr() {
|
|
3041
3041
|
return Zt || (Zt = 1, (function(e, r) {
|
|
3042
3042
|
(function(t, n, p) {
|
|
3043
3043
|
e.exports = n(ae(), pt(), gt());
|
|
3044
|
-
})(
|
|
3044
|
+
})(Sr, function(t) {
|
|
3045
3045
|
return (function() {
|
|
3046
3046
|
var n = t, p = n.lib, g = p.Base, b = p.WordArray, f = n.algo, l = f.SHA256, i = f.HMAC, a = f.PBKDF2 = g.extend({
|
|
3047
3047
|
/**
|
|
@@ -3103,12 +3103,12 @@ function Sr() {
|
|
|
3103
3103
|
});
|
|
3104
3104
|
})(Ci)), Ci.exports;
|
|
3105
3105
|
}
|
|
3106
|
-
var vi = { exports: {} },
|
|
3106
|
+
var vi = { exports: {} }, Er = vi.exports, Jt;
|
|
3107
3107
|
function ya() {
|
|
3108
3108
|
return Jt || (Jt = 1, (function(e, r) {
|
|
3109
3109
|
(function(t, n, p) {
|
|
3110
|
-
e.exports = n(ae(),
|
|
3111
|
-
})(
|
|
3110
|
+
e.exports = n(ae(), Xn(), gt());
|
|
3111
|
+
})(Er, function(t) {
|
|
3112
3112
|
return (function() {
|
|
3113
3113
|
var n = t, p = n.lib, g = p.Base, b = p.WordArray, f = n.algo, l = f.MD5, i = f.EvpKDF = g.extend({
|
|
3114
3114
|
/**
|
|
@@ -3166,12 +3166,12 @@ function ya() {
|
|
|
3166
3166
|
});
|
|
3167
3167
|
})(vi)), vi.exports;
|
|
3168
3168
|
}
|
|
3169
|
-
var hi = { exports: {} },
|
|
3169
|
+
var hi = { exports: {} }, Nr = hi.exports, Kt;
|
|
3170
3170
|
function Ne() {
|
|
3171
3171
|
return Kt || (Kt = 1, (function(e, r) {
|
|
3172
3172
|
(function(t, n, p) {
|
|
3173
3173
|
e.exports = n(ae(), ya());
|
|
3174
|
-
})(
|
|
3174
|
+
})(Nr, function(t) {
|
|
3175
3175
|
t.lib.Cipher || (function(n) {
|
|
3176
3176
|
var p = t, g = p.lib, b = g.Base, f = g.WordArray, l = g.BufferedBlockAlgorithm, i = p.enc;
|
|
3177
3177
|
i.Utf8;
|
|
@@ -3704,12 +3704,12 @@ function Ne() {
|
|
|
3704
3704
|
});
|
|
3705
3705
|
})(hi)), hi.exports;
|
|
3706
3706
|
}
|
|
3707
|
-
var Ti = { exports: {} },
|
|
3708
|
-
function
|
|
3707
|
+
var Ti = { exports: {} }, Lr = Ti.exports, qt;
|
|
3708
|
+
function Gr() {
|
|
3709
3709
|
return qt || (qt = 1, (function(e, r) {
|
|
3710
3710
|
(function(t, n, p) {
|
|
3711
3711
|
e.exports = n(ae(), Ne());
|
|
3712
|
-
})(
|
|
3712
|
+
})(Lr, function(t) {
|
|
3713
3713
|
return t.mode.CFB = (function() {
|
|
3714
3714
|
var n = t.lib.BlockCipherMode.extend();
|
|
3715
3715
|
n.Encryptor = n.extend({
|
|
@@ -3734,12 +3734,12 @@ function Lr() {
|
|
|
3734
3734
|
});
|
|
3735
3735
|
})(Ti)), Ti.exports;
|
|
3736
3736
|
}
|
|
3737
|
-
var ki = { exports: {} },
|
|
3738
|
-
function
|
|
3737
|
+
var ki = { exports: {} }, Mr = ki.exports, Qt;
|
|
3738
|
+
function Rr() {
|
|
3739
3739
|
return Qt || (Qt = 1, (function(e, r) {
|
|
3740
3740
|
(function(t, n, p) {
|
|
3741
3741
|
e.exports = n(ae(), Ne());
|
|
3742
|
-
})(
|
|
3742
|
+
})(Mr, function(t) {
|
|
3743
3743
|
return t.mode.CTR = (function() {
|
|
3744
3744
|
var n = t.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
|
|
3745
3745
|
processBlock: function(g, b) {
|
|
@@ -3756,12 +3756,12 @@ function Mr() {
|
|
|
3756
3756
|
});
|
|
3757
3757
|
})(ki)), ki.exports;
|
|
3758
3758
|
}
|
|
3759
|
-
var xi = { exports: {} },
|
|
3760
|
-
function
|
|
3759
|
+
var xi = { exports: {} }, Pr = xi.exports, $t;
|
|
3760
|
+
function Fr() {
|
|
3761
3761
|
return $t || ($t = 1, (function(e, r) {
|
|
3762
3762
|
(function(t, n, p) {
|
|
3763
3763
|
e.exports = n(ae(), Ne());
|
|
3764
|
-
})(
|
|
3764
|
+
})(Pr, function(t) {
|
|
3765
3765
|
return t.mode.CTRGladman = (function() {
|
|
3766
3766
|
var n = t.lib.BlockCipherMode.extend();
|
|
3767
3767
|
function p(f) {
|
|
@@ -3790,12 +3790,12 @@ function Pr() {
|
|
|
3790
3790
|
});
|
|
3791
3791
|
})(xi)), xi.exports;
|
|
3792
3792
|
}
|
|
3793
|
-
var Si = { exports: {} },
|
|
3794
|
-
function
|
|
3793
|
+
var Si = { exports: {} }, wr = Si.exports, jt;
|
|
3794
|
+
function Ar() {
|
|
3795
3795
|
return jt || (jt = 1, (function(e, r) {
|
|
3796
3796
|
(function(t, n, p) {
|
|
3797
3797
|
e.exports = n(ae(), Ne());
|
|
3798
|
-
})(
|
|
3798
|
+
})(wr, function(t) {
|
|
3799
3799
|
return t.mode.OFB = (function() {
|
|
3800
3800
|
var n = t.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
|
|
3801
3801
|
processBlock: function(g, b) {
|
|
@@ -3810,12 +3810,12 @@ function wr() {
|
|
|
3810
3810
|
});
|
|
3811
3811
|
})(Si)), Si.exports;
|
|
3812
3812
|
}
|
|
3813
|
-
var Di = { exports: {} },
|
|
3814
|
-
function
|
|
3813
|
+
var Di = { exports: {} }, Or = Di.exports, Yt;
|
|
3814
|
+
function Br() {
|
|
3815
3815
|
return Yt || (Yt = 1, (function(e, r) {
|
|
3816
3816
|
(function(t, n, p) {
|
|
3817
3817
|
e.exports = n(ae(), Ne());
|
|
3818
|
-
})(
|
|
3818
|
+
})(Or, function(t) {
|
|
3819
3819
|
return t.mode.ECB = (function() {
|
|
3820
3820
|
var n = t.lib.BlockCipherMode.extend();
|
|
3821
3821
|
return n.Encryptor = n.extend({
|
|
@@ -3831,12 +3831,12 @@ function Or() {
|
|
|
3831
3831
|
});
|
|
3832
3832
|
})(Di)), Di.exports;
|
|
3833
3833
|
}
|
|
3834
|
-
var Ei = { exports: {} },
|
|
3835
|
-
function
|
|
3834
|
+
var Ei = { exports: {} }, Hr = Ei.exports, Xt;
|
|
3835
|
+
function Wr() {
|
|
3836
3836
|
return Xt || (Xt = 1, (function(e, r) {
|
|
3837
3837
|
(function(t, n, p) {
|
|
3838
3838
|
e.exports = n(ae(), Ne());
|
|
3839
|
-
})(
|
|
3839
|
+
})(Hr, function(t) {
|
|
3840
3840
|
return t.pad.AnsiX923 = {
|
|
3841
3841
|
pad: function(n, p) {
|
|
3842
3842
|
var g = n.sigBytes, b = p * 4, f = b - g % b, l = g + f - 1;
|
|
@@ -3850,12 +3850,12 @@ function Hr() {
|
|
|
3850
3850
|
});
|
|
3851
3851
|
})(Ei)), Ei.exports;
|
|
3852
3852
|
}
|
|
3853
|
-
var Ni = { exports: {} },
|
|
3854
|
-
function
|
|
3853
|
+
var Ni = { exports: {} }, zr = Ni.exports, en;
|
|
3854
|
+
function Ir() {
|
|
3855
3855
|
return en || (en = 1, (function(e, r) {
|
|
3856
3856
|
(function(t, n, p) {
|
|
3857
3857
|
e.exports = n(ae(), Ne());
|
|
3858
|
-
})(
|
|
3858
|
+
})(zr, function(t) {
|
|
3859
3859
|
return t.pad.Iso10126 = {
|
|
3860
3860
|
pad: function(n, p) {
|
|
3861
3861
|
var g = p * 4, b = g - n.sigBytes % g;
|
|
@@ -3869,12 +3869,12 @@ function zr() {
|
|
|
3869
3869
|
});
|
|
3870
3870
|
})(Ni)), Ni.exports;
|
|
3871
3871
|
}
|
|
3872
|
-
var Li = { exports: {} },
|
|
3873
|
-
function
|
|
3872
|
+
var Li = { exports: {} }, Vr = Li.exports, an;
|
|
3873
|
+
function Zr() {
|
|
3874
3874
|
return an || (an = 1, (function(e, r) {
|
|
3875
3875
|
(function(t, n, p) {
|
|
3876
3876
|
e.exports = n(ae(), Ne());
|
|
3877
|
-
})(
|
|
3877
|
+
})(Vr, function(t) {
|
|
3878
3878
|
return t.pad.Iso97971 = {
|
|
3879
3879
|
pad: function(n, p) {
|
|
3880
3880
|
n.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(n, p);
|
|
@@ -3886,12 +3886,12 @@ function Vr() {
|
|
|
3886
3886
|
});
|
|
3887
3887
|
})(Li)), Li.exports;
|
|
3888
3888
|
}
|
|
3889
|
-
var Gi = { exports: {} },
|
|
3890
|
-
function
|
|
3889
|
+
var Gi = { exports: {} }, Jr = Gi.exports, tn;
|
|
3890
|
+
function Kr() {
|
|
3891
3891
|
return tn || (tn = 1, (function(e, r) {
|
|
3892
3892
|
(function(t, n, p) {
|
|
3893
3893
|
e.exports = n(ae(), Ne());
|
|
3894
|
-
})(
|
|
3894
|
+
})(Jr, function(t) {
|
|
3895
3895
|
return t.pad.ZeroPadding = {
|
|
3896
3896
|
pad: function(n, p) {
|
|
3897
3897
|
var g = p * 4;
|
|
@@ -3908,12 +3908,12 @@ function Jr() {
|
|
|
3908
3908
|
});
|
|
3909
3909
|
})(Gi)), Gi.exports;
|
|
3910
3910
|
}
|
|
3911
|
-
var Mi = { exports: {} },
|
|
3912
|
-
function
|
|
3911
|
+
var Mi = { exports: {} }, qr = Mi.exports, nn;
|
|
3912
|
+
function Qr() {
|
|
3913
3913
|
return nn || (nn = 1, (function(e, r) {
|
|
3914
3914
|
(function(t, n, p) {
|
|
3915
3915
|
e.exports = n(ae(), Ne());
|
|
3916
|
-
})(
|
|
3916
|
+
})(qr, function(t) {
|
|
3917
3917
|
return t.pad.NoPadding = {
|
|
3918
3918
|
pad: function() {
|
|
3919
3919
|
},
|
|
@@ -3923,12 +3923,12 @@ function qr() {
|
|
|
3923
3923
|
});
|
|
3924
3924
|
})(Mi)), Mi.exports;
|
|
3925
3925
|
}
|
|
3926
|
-
var Ri = { exports: {} },
|
|
3927
|
-
function
|
|
3926
|
+
var Ri = { exports: {} }, $r = Ri.exports, ln;
|
|
3927
|
+
function jr() {
|
|
3928
3928
|
return ln || (ln = 1, (function(e, r) {
|
|
3929
3929
|
(function(t, n, p) {
|
|
3930
3930
|
e.exports = n(ae(), Ne());
|
|
3931
|
-
})(
|
|
3931
|
+
})($r, function(t) {
|
|
3932
3932
|
return (function(n) {
|
|
3933
3933
|
var p = t, g = p.lib, b = g.CipherParams, f = p.enc, l = f.Hex, i = p.format;
|
|
3934
3934
|
i.Hex = {
|
|
@@ -3970,12 +3970,12 @@ function $r() {
|
|
|
3970
3970
|
});
|
|
3971
3971
|
})(Ri)), Ri.exports;
|
|
3972
3972
|
}
|
|
3973
|
-
var Pi = { exports: {} },
|
|
3974
|
-
function
|
|
3973
|
+
var Pi = { exports: {} }, Yr = Pi.exports, rn;
|
|
3974
|
+
function Xr() {
|
|
3975
3975
|
return rn || (rn = 1, (function(e, r) {
|
|
3976
3976
|
(function(t, n, p) {
|
|
3977
3977
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
3978
|
-
})(
|
|
3978
|
+
})(Yr, function(t) {
|
|
3979
3979
|
return (function() {
|
|
3980
3980
|
var n = t, p = n.lib, g = p.BlockCipher, b = n.algo, f = [], l = [], i = [], a = [], s = [], o = [], m = [], u = [], d = [], c = [];
|
|
3981
3981
|
(function() {
|
|
@@ -4030,12 +4030,12 @@ function Yr() {
|
|
|
4030
4030
|
});
|
|
4031
4031
|
})(Pi)), Pi.exports;
|
|
4032
4032
|
}
|
|
4033
|
-
var Fi = { exports: {} },
|
|
4034
|
-
function
|
|
4033
|
+
var Fi = { exports: {} }, eo = Fi.exports, on;
|
|
4034
|
+
function ao() {
|
|
4035
4035
|
return on || (on = 1, (function(e, r) {
|
|
4036
4036
|
(function(t, n, p) {
|
|
4037
4037
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4038
|
-
})(
|
|
4038
|
+
})(eo, function(t) {
|
|
4039
4039
|
return (function() {
|
|
4040
4040
|
var n = t, p = n.lib, g = p.WordArray, b = p.BlockCipher, f = n.algo, l = [
|
|
4041
4041
|
57,
|
|
@@ -4750,12 +4750,12 @@ function eo() {
|
|
|
4750
4750
|
});
|
|
4751
4751
|
})(Fi)), Fi.exports;
|
|
4752
4752
|
}
|
|
4753
|
-
var wi = { exports: {} },
|
|
4754
|
-
function
|
|
4753
|
+
var wi = { exports: {} }, io = wi.exports, sn;
|
|
4754
|
+
function to() {
|
|
4755
4755
|
return sn || (sn = 1, (function(e, r) {
|
|
4756
4756
|
(function(t, n, p) {
|
|
4757
4757
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4758
|
-
})(
|
|
4758
|
+
})(io, function(t) {
|
|
4759
4759
|
return (function() {
|
|
4760
4760
|
var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = b.RC4 = g.extend({
|
|
4761
4761
|
_doReset: function() {
|
|
@@ -4804,12 +4804,12 @@ function io() {
|
|
|
4804
4804
|
});
|
|
4805
4805
|
})(wi)), wi.exports;
|
|
4806
4806
|
}
|
|
4807
|
-
var Ai = { exports: {} },
|
|
4808
|
-
function
|
|
4807
|
+
var Ai = { exports: {} }, no = Ai.exports, mn;
|
|
4808
|
+
function lo() {
|
|
4809
4809
|
return mn || (mn = 1, (function(e, r) {
|
|
4810
4810
|
(function(t, n, p) {
|
|
4811
4811
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4812
|
-
})(
|
|
4812
|
+
})(no, function(t) {
|
|
4813
4813
|
return (function() {
|
|
4814
4814
|
var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], l = [], i = [], a = b.Rabbit = g.extend({
|
|
4815
4815
|
_doReset: function() {
|
|
@@ -4870,12 +4870,12 @@ function no() {
|
|
|
4870
4870
|
});
|
|
4871
4871
|
})(Ai)), Ai.exports;
|
|
4872
4872
|
}
|
|
4873
|
-
var Oi = { exports: {} },
|
|
4874
|
-
function
|
|
4873
|
+
var Oi = { exports: {} }, ro = Oi.exports, un;
|
|
4874
|
+
function oo() {
|
|
4875
4875
|
return un || (un = 1, (function(e, r) {
|
|
4876
4876
|
(function(t, n, p) {
|
|
4877
4877
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4878
|
-
})(
|
|
4878
|
+
})(ro, function(t) {
|
|
4879
4879
|
return (function() {
|
|
4880
4880
|
var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], l = [], i = [], a = b.RabbitLegacy = g.extend({
|
|
4881
4881
|
_doReset: function() {
|
|
@@ -4934,12 +4934,12 @@ function ro() {
|
|
|
4934
4934
|
});
|
|
4935
4935
|
})(Oi)), Oi.exports;
|
|
4936
4936
|
}
|
|
4937
|
-
var Bi = { exports: {} },
|
|
4938
|
-
function
|
|
4937
|
+
var Bi = { exports: {} }, so = Bi.exports, pn;
|
|
4938
|
+
function mo() {
|
|
4939
4939
|
return pn || (pn = 1, (function(e, r) {
|
|
4940
4940
|
(function(t, n, p) {
|
|
4941
4941
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4942
|
-
})(
|
|
4942
|
+
})(so, function(t) {
|
|
4943
4943
|
return (function() {
|
|
4944
4944
|
var n = t, p = n.lib, g = p.BlockCipher, b = n.algo;
|
|
4945
4945
|
const f = 16, l = [
|
|
@@ -6056,18 +6056,18 @@ function so() {
|
|
|
6056
6056
|
});
|
|
6057
6057
|
})(Bi)), Bi.exports;
|
|
6058
6058
|
}
|
|
6059
|
-
var
|
|
6060
|
-
function
|
|
6059
|
+
var uo = ni.exports, gn;
|
|
6060
|
+
function po() {
|
|
6061
6061
|
return gn || (gn = 1, (function(e, r) {
|
|
6062
6062
|
(function(t, n, p) {
|
|
6063
|
-
e.exports = n(ae(), Zi(),
|
|
6064
|
-
})(
|
|
6063
|
+
e.exports = n(ae(), Zi(), or(), mr(), Sa(), gr(), Da(), Xn(), pt(), yr(), el(), Cr(), hr(), kr(), gt(), Dr(), ya(), Ne(), Gr(), Rr(), Fr(), Ar(), Br(), Wr(), Ir(), Zr(), Kr(), Qr(), jr(), Xr(), ao(), to(), lo(), oo(), mo());
|
|
6064
|
+
})(uo, function(t) {
|
|
6065
6065
|
return t;
|
|
6066
6066
|
});
|
|
6067
6067
|
})(ni)), ni.exports;
|
|
6068
6068
|
}
|
|
6069
|
-
var
|
|
6070
|
-
const va = /* @__PURE__ */ ut(
|
|
6069
|
+
var al = po();
|
|
6070
|
+
const va = /* @__PURE__ */ ut(al), _a = (e) => {
|
|
6071
6071
|
const r = "mySecretPassphrase", t = va.lib.WordArray.random(16), n = va.PBKDF2(r, t, {
|
|
6072
6072
|
keySize: 128 / 32,
|
|
6073
6073
|
iterations: 1e3
|
|
@@ -6285,9 +6285,9 @@ const va = /* @__PURE__ */ ut(el), _a = (e) => {
|
|
|
6285
6285
|
getMachineLoginCodeApi: M,
|
|
6286
6286
|
memberTransferApi: A
|
|
6287
6287
|
};
|
|
6288
|
-
},
|
|
6288
|
+
}, bm = ({ otherQueryKey: e = [], options: r = {} } = {}) => {
|
|
6289
6289
|
const { userCurrencyExchangeApi: t } = ce(), { getToken: n } = re(), { enabled: p, ...g } = r, f = !!n?.() && (p ? p.every((l) => l) : !0);
|
|
6290
|
-
return
|
|
6290
|
+
return Bn({
|
|
6291
6291
|
queries: [
|
|
6292
6292
|
{
|
|
6293
6293
|
queryKey: ["userCurrencyExchange", ...e],
|
|
@@ -6299,13 +6299,13 @@ const va = /* @__PURE__ */ ut(el), _a = (e) => {
|
|
|
6299
6299
|
}
|
|
6300
6300
|
]
|
|
6301
6301
|
});
|
|
6302
|
-
},
|
|
6302
|
+
}, Cm = ({
|
|
6303
6303
|
refetchInterval: e = 5e4,
|
|
6304
6304
|
trigger: r = [],
|
|
6305
6305
|
enabled: t = !0
|
|
6306
6306
|
} = {}) => {
|
|
6307
6307
|
const { getToken: n } = re(), p = n?.(), { userInfoApi: g } = ce();
|
|
6308
|
-
return
|
|
6308
|
+
return Bn({
|
|
6309
6309
|
queries: [
|
|
6310
6310
|
{
|
|
6311
6311
|
queryKey: ["getMemberInfo", ...r],
|
|
@@ -6315,7 +6315,7 @@ const va = /* @__PURE__ */ ut(el), _a = (e) => {
|
|
|
6315
6315
|
}
|
|
6316
6316
|
]
|
|
6317
6317
|
});
|
|
6318
|
-
},
|
|
6318
|
+
}, vm = ({ enabled: e = !0 } = {}) => {
|
|
6319
6319
|
const {
|
|
6320
6320
|
userInfoApi: r,
|
|
6321
6321
|
userFavoriteGameApi: t,
|
|
@@ -6410,31 +6410,31 @@ const va = /* @__PURE__ */ ut(el), _a = (e) => {
|
|
|
6410
6410
|
[e]
|
|
6411
6411
|
);
|
|
6412
6412
|
return { playGameApi: n, betRecordApi: p, betRecordDetailApi: g };
|
|
6413
|
-
},
|
|
6413
|
+
}, go = ({ options: e, formData: r } = {}) => {
|
|
6414
6414
|
const { betRecordApi: t } = dt();
|
|
6415
6415
|
return ne({
|
|
6416
6416
|
queryKey: ["getBetRecord"],
|
|
6417
6417
|
queryFn: async () => await t(r),
|
|
6418
|
-
select: (n) =>
|
|
6418
|
+
select: (n) => Wn(n).map(([g, b]) => ({
|
|
6419
6419
|
...b,
|
|
6420
6420
|
platform: g
|
|
6421
6421
|
})),
|
|
6422
6422
|
...e
|
|
6423
6423
|
});
|
|
6424
|
-
},
|
|
6424
|
+
}, co = ({ options: e, formData: r } = {}) => {
|
|
6425
6425
|
const { betRecordDetailApi: t } = dt();
|
|
6426
6426
|
return ne({
|
|
6427
6427
|
queryKey: ["getBetRecordDetail"],
|
|
6428
6428
|
queryFn: async () => await t(r),
|
|
6429
6429
|
...e
|
|
6430
6430
|
});
|
|
6431
|
-
},
|
|
6431
|
+
}, hm = ({
|
|
6432
6432
|
options: e = {
|
|
6433
6433
|
betRecord: {},
|
|
6434
6434
|
betRecordDetail: {}
|
|
6435
6435
|
}
|
|
6436
6436
|
}) => {
|
|
6437
|
-
const r =
|
|
6437
|
+
const r = go({ options: e.betRecord }), t = co({
|
|
6438
6438
|
options: e.betRecordDetail
|
|
6439
6439
|
});
|
|
6440
6440
|
return {
|
|
@@ -6517,7 +6517,7 @@ function ft() {
|
|
|
6517
6517
|
return oa.setUpSocketIOPing = n, oa;
|
|
6518
6518
|
}
|
|
6519
6519
|
var ei = {}, _n;
|
|
6520
|
-
function
|
|
6520
|
+
function il() {
|
|
6521
6521
|
if (_n) return ei;
|
|
6522
6522
|
_n = 1, Object.defineProperty(ei, "__esModule", { value: !0 }), ei.heartbeat = t;
|
|
6523
6523
|
var e = na();
|
|
@@ -6591,7 +6591,7 @@ function yt() {
|
|
|
6591
6591
|
return qa;
|
|
6592
6592
|
}
|
|
6593
6593
|
var bn;
|
|
6594
|
-
function
|
|
6594
|
+
function fo() {
|
|
6595
6595
|
if (bn) return ha;
|
|
6596
6596
|
bn = 1;
|
|
6597
6597
|
var e = ha && ha.__assign || function() {
|
|
@@ -6604,7 +6604,7 @@ function co() {
|
|
|
6604
6604
|
}, e.apply(this, arguments);
|
|
6605
6605
|
};
|
|
6606
6606
|
Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachListeners = void 0;
|
|
6607
|
-
var r = ft(), t =
|
|
6607
|
+
var r = ft(), t = il(), n = na(), p = yt(), g = function(a, s, o, m) {
|
|
6608
6608
|
a.onmessage = function(u) {
|
|
6609
6609
|
var d;
|
|
6610
6610
|
s.current.onMessage && s.current.onMessage(u), typeof m?.current == "number" && (m.current = Date.now()), !(typeof s.current.filter == "function" && s.current.filter(u) !== !0) && (s.current.heartbeat && typeof s.current.heartbeat != "boolean" && ((d = s.current.heartbeat) === null || d === void 0 ? void 0 : d.returnMessage) === u.data || o(u));
|
|
@@ -6661,7 +6661,7 @@ function co() {
|
|
|
6661
6661
|
return ha.attachListeners = i, ha;
|
|
6662
6662
|
}
|
|
6663
6663
|
var Ta = {}, Cn;
|
|
6664
|
-
function
|
|
6664
|
+
function _o() {
|
|
6665
6665
|
if (Cn) return Ta;
|
|
6666
6666
|
Cn = 1;
|
|
6667
6667
|
var e = Ta && Ta.__assign || function() {
|
|
@@ -6674,7 +6674,7 @@ function fo() {
|
|
|
6674
6674
|
}, e.apply(this, arguments);
|
|
6675
6675
|
};
|
|
6676
6676
|
Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.attachSharedListeners = void 0;
|
|
6677
|
-
var r = ct(), t = na(), n = _t(), p = ft(), g =
|
|
6677
|
+
var r = ct(), t = na(), n = _t(), p = ft(), g = il(), b = function(s, o, m) {
|
|
6678
6678
|
s.onmessage = function(u) {
|
|
6679
6679
|
(0, n.getSubscribers)(o).forEach(function(d) {
|
|
6680
6680
|
var c;
|
|
@@ -6723,10 +6723,10 @@ function fo() {
|
|
|
6723
6723
|
return Ta.attachSharedListeners = a, Ta;
|
|
6724
6724
|
}
|
|
6725
6725
|
var vn;
|
|
6726
|
-
function
|
|
6726
|
+
function yo() {
|
|
6727
6727
|
if (vn) return Ka;
|
|
6728
6728
|
vn = 1, Object.defineProperty(Ka, "__esModule", { value: !0 }), Ka.createOrJoinSocket = void 0;
|
|
6729
|
-
var e = ct(), r = na(), t =
|
|
6729
|
+
var e = ct(), r = na(), t = fo(), n = _o(), p = _t(), g = function(f, l, i, a, s) {
|
|
6730
6730
|
return function() {
|
|
6731
6731
|
if ((0, p.removeSubscriber)(f, l), !(0, p.hasSubscribers)(f)) {
|
|
6732
6732
|
try {
|
|
@@ -6766,7 +6766,7 @@ function _o() {
|
|
|
6766
6766
|
return Ka.createOrJoinSocket = b, Ka;
|
|
6767
6767
|
}
|
|
6768
6768
|
var sa = {}, hn;
|
|
6769
|
-
function
|
|
6769
|
+
function Uo() {
|
|
6770
6770
|
return hn || (hn = 1, (function(e) {
|
|
6771
6771
|
var r = sa && sa.__awaiter || function(l, i, a, s) {
|
|
6772
6772
|
function o(m) {
|
|
@@ -6903,7 +6903,7 @@ function yo() {
|
|
|
6903
6903
|
})(sa)), sa;
|
|
6904
6904
|
}
|
|
6905
6905
|
var at = {}, Tn;
|
|
6906
|
-
function
|
|
6906
|
+
function bo() {
|
|
6907
6907
|
return Tn || (Tn = 1, (function(e) {
|
|
6908
6908
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
|
|
6909
6909
|
var r = function(t, n) {
|
|
@@ -7022,7 +7022,7 @@ function Ut() {
|
|
|
7022
7022
|
return o && o.__esModule ? o : { default: o };
|
|
7023
7023
|
};
|
|
7024
7024
|
Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.useWebSocket = void 0;
|
|
7025
|
-
var p = ge, g =
|
|
7025
|
+
var p = ge, g = zl, b = na(), f = yo(), l = Uo(), i = n(bo()), a = yt(), s = function(o, m, u) {
|
|
7026
7026
|
m === void 0 && (m = b.DEFAULT_OPTIONS), u === void 0 && (u = !0);
|
|
7027
7027
|
var d = (0, p.useState)(null), c = d[0], y = d[1], _ = (0, p.useState)({}), U = _[0], C = _[1], T = (0, p.useMemo)(function() {
|
|
7028
7028
|
if (!m.disableJson && c)
|
|
@@ -7108,7 +7108,7 @@ function Ut() {
|
|
|
7108
7108
|
return Ie.useWebSocket = s, Ie;
|
|
7109
7109
|
}
|
|
7110
7110
|
var ka = {}, xn;
|
|
7111
|
-
function
|
|
7111
|
+
function Co() {
|
|
7112
7112
|
if (xn) return ka;
|
|
7113
7113
|
xn = 1;
|
|
7114
7114
|
var e = ka && ka.__assign || function() {
|
|
@@ -7154,7 +7154,7 @@ function bo() {
|
|
|
7154
7154
|
return ka.useSocketIO = b, ka;
|
|
7155
7155
|
}
|
|
7156
7156
|
var ma = {}, Sn;
|
|
7157
|
-
function
|
|
7157
|
+
function vo() {
|
|
7158
7158
|
if (Sn) return ma;
|
|
7159
7159
|
Sn = 1;
|
|
7160
7160
|
var e = ma && ma.__assign || function() {
|
|
@@ -7197,14 +7197,14 @@ function Co() {
|
|
|
7197
7197
|
return ma.useEventSource = g, ma;
|
|
7198
7198
|
}
|
|
7199
7199
|
var Dn;
|
|
7200
|
-
function
|
|
7200
|
+
function ho() {
|
|
7201
7201
|
return Dn || (Dn = 1, (function(e) {
|
|
7202
7202
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
|
|
7203
7203
|
var r = Ut();
|
|
7204
7204
|
Object.defineProperty(e, "default", { enumerable: !0, get: function() {
|
|
7205
7205
|
return r.useWebSocket;
|
|
7206
7206
|
} });
|
|
7207
|
-
var t =
|
|
7207
|
+
var t = Co();
|
|
7208
7208
|
Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
|
|
7209
7209
|
return t.useSocketIO;
|
|
7210
7210
|
} });
|
|
@@ -7212,7 +7212,7 @@ function vo() {
|
|
|
7212
7212
|
Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
|
|
7213
7213
|
return n.ReadyState;
|
|
7214
7214
|
} });
|
|
7215
|
-
var p =
|
|
7215
|
+
var p = vo();
|
|
7216
7216
|
Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
|
|
7217
7217
|
return p.useEventSource;
|
|
7218
7218
|
} });
|
|
@@ -7222,15 +7222,15 @@ function vo() {
|
|
|
7222
7222
|
} });
|
|
7223
7223
|
})(ji)), ji;
|
|
7224
7224
|
}
|
|
7225
|
-
var
|
|
7226
|
-
const
|
|
7225
|
+
var To = ho();
|
|
7226
|
+
const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
7227
7227
|
enable: e = !1,
|
|
7228
7228
|
isTestFunction: r = !1,
|
|
7229
7229
|
isTransferMode: t = !1,
|
|
7230
7230
|
isInGameBox: n = !1,
|
|
7231
7231
|
currentGamePlatform: p = ""
|
|
7232
7232
|
}) => {
|
|
7233
|
-
const { store: g, lng: b } = re(), { isReady: f, setAsReady: l, isPending: i, setAsPending: a } =
|
|
7233
|
+
const { store: g, lng: b } = re(), { isReady: f, setAsReady: l, isPending: i, setAsPending: a } = Vn(), s = $e(b), { mutateAsync: o } = wo();
|
|
7234
7234
|
return !e || !r || !t ? { handleTransferInGame: () => {
|
|
7235
7235
|
} } : { handleTransferInGame: async () => {
|
|
7236
7236
|
console.log("執行遊戲內轉帳"), n && await o({
|
|
@@ -7269,63 +7269,63 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7269
7269
|
}
|
|
7270
7270
|
});
|
|
7271
7271
|
} };
|
|
7272
|
-
},
|
|
7272
|
+
}, So = ({ options: e } = {}) => {
|
|
7273
7273
|
const { userLoginApi: r } = ce();
|
|
7274
7274
|
return de({
|
|
7275
7275
|
mutationKey: ["userLogin"],
|
|
7276
7276
|
mutationFn: async (t) => r(t),
|
|
7277
7277
|
...e
|
|
7278
7278
|
});
|
|
7279
|
-
},
|
|
7279
|
+
}, Do = ({ options: e } = {}) => {
|
|
7280
7280
|
const { userLogoutApi: r } = ce();
|
|
7281
7281
|
return de({
|
|
7282
7282
|
mutationKey: ["userLogout"],
|
|
7283
7283
|
mutationFn: async () => r(),
|
|
7284
7284
|
...e
|
|
7285
7285
|
});
|
|
7286
|
-
},
|
|
7286
|
+
}, Eo = ({ options: e } = {}) => {
|
|
7287
7287
|
const { userSignUpApi: r } = ce();
|
|
7288
7288
|
return de({
|
|
7289
7289
|
mutationKey: ["userSignUp"],
|
|
7290
7290
|
mutationFn: async (t) => r(t),
|
|
7291
7291
|
...e
|
|
7292
7292
|
});
|
|
7293
|
-
},
|
|
7293
|
+
}, No = ({ options: e } = {}) => {
|
|
7294
7294
|
const { addOrRemoveFavoriteGameApi: r } = ce();
|
|
7295
7295
|
return de({
|
|
7296
7296
|
mutationKey: ["toggleFavoriteGame"],
|
|
7297
7297
|
mutationFn: async (t) => r(t),
|
|
7298
7298
|
...e
|
|
7299
7299
|
});
|
|
7300
|
-
},
|
|
7300
|
+
}, Lo = ({ options: e } = {}) => {
|
|
7301
7301
|
const { updateUserInfoApi: r } = ce();
|
|
7302
7302
|
return de({
|
|
7303
7303
|
mutationKey: ["updateUserInfo"],
|
|
7304
7304
|
mutationFn: async (t) => r(t),
|
|
7305
7305
|
...e
|
|
7306
7306
|
});
|
|
7307
|
-
},
|
|
7307
|
+
}, Go = ({ options: e } = {}) => {
|
|
7308
7308
|
const { resetUserPasswordApi: r } = ce();
|
|
7309
7309
|
return de({
|
|
7310
7310
|
mutationKey: ["resetUserPassword"],
|
|
7311
7311
|
mutationFn: async (t) => r(t),
|
|
7312
7312
|
...e
|
|
7313
7313
|
});
|
|
7314
|
-
},
|
|
7314
|
+
}, Mo = ({ options: e } = {}) => {
|
|
7315
7315
|
const { setUserTransactionPasswordApi: r } = ce();
|
|
7316
7316
|
return de({
|
|
7317
7317
|
mutationKey: ["setUserTransactionPassword"],
|
|
7318
7318
|
mutationFn: async (t) => r(t),
|
|
7319
7319
|
...e
|
|
7320
7320
|
});
|
|
7321
|
-
},
|
|
7321
|
+
}, Ro = ({ options: e } = {}) => {
|
|
7322
7322
|
const { resetUserTransactionPasswordApi: r } = ce();
|
|
7323
7323
|
return de({
|
|
7324
7324
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7325
7325
|
mutationFn: async (t) => r(t),
|
|
7326
7326
|
...e
|
|
7327
7327
|
});
|
|
7328
|
-
},
|
|
7328
|
+
}, Po = ({ paramsData: e, options: r } = {}) => {
|
|
7329
7329
|
const { userRebateApi: t } = ce(), { getToken: n } = re();
|
|
7330
7330
|
return n?.(), ne({
|
|
7331
7331
|
queryKey: ["userRebate", e],
|
|
@@ -7333,14 +7333,14 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7333
7333
|
enabled: !1,
|
|
7334
7334
|
...r
|
|
7335
7335
|
});
|
|
7336
|
-
},
|
|
7336
|
+
}, Fo = ({ options: e } = {}) => {
|
|
7337
7337
|
const { userBindBankApi: r } = ce();
|
|
7338
7338
|
return de({
|
|
7339
7339
|
mutationKey: ["userBindBank"],
|
|
7340
7340
|
mutationFn: async (t) => r({ formData: t }),
|
|
7341
7341
|
...e
|
|
7342
7342
|
});
|
|
7343
|
-
},
|
|
7343
|
+
}, wo = ({ options: e } = {}) => {
|
|
7344
7344
|
const { transferInGameApi: r } = ce();
|
|
7345
7345
|
return de({
|
|
7346
7346
|
mutationKey: ["transferInGame"],
|
|
@@ -7348,7 +7348,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7348
7348
|
retry: !1,
|
|
7349
7349
|
...e
|
|
7350
7350
|
});
|
|
7351
|
-
},
|
|
7351
|
+
}, Tm = ({ options: e } = {}) => {
|
|
7352
7352
|
const { currency: r } = re(), { pointTransferApi: t } = ce();
|
|
7353
7353
|
return de({
|
|
7354
7354
|
mutationKey: ["pointTransfer"],
|
|
@@ -7358,7 +7358,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7358
7358
|
}),
|
|
7359
7359
|
...e
|
|
7360
7360
|
});
|
|
7361
|
-
},
|
|
7361
|
+
}, km = ({ options: e } = {}) => {
|
|
7362
7362
|
const { currency: r } = re(), { checkUserWagerApi: t } = ce();
|
|
7363
7363
|
return ne({
|
|
7364
7364
|
queryKey: ["checkUserWager"],
|
|
@@ -7371,8 +7371,8 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7371
7371
|
},
|
|
7372
7372
|
...e
|
|
7373
7373
|
});
|
|
7374
|
-
},
|
|
7375
|
-
const r =
|
|
7374
|
+
}, xm = ({ options: e } = {}) => {
|
|
7375
|
+
const r = Hn(), { abandonPointsApi: t } = ce();
|
|
7376
7376
|
return de({
|
|
7377
7377
|
mutationKey: ["abandonPoint"],
|
|
7378
7378
|
mutationFn: async (n) => t({
|
|
@@ -7383,35 +7383,35 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7383
7383
|
},
|
|
7384
7384
|
...e
|
|
7385
7385
|
});
|
|
7386
|
-
},
|
|
7386
|
+
}, Ao = ({ options: e } = {}) => {
|
|
7387
7387
|
const { lineLoginApi: r } = ce();
|
|
7388
7388
|
return de({
|
|
7389
7389
|
mutationKey: ["lineLogin"],
|
|
7390
7390
|
mutationFn: async (t) => r(t),
|
|
7391
7391
|
...e
|
|
7392
7392
|
});
|
|
7393
|
-
},
|
|
7393
|
+
}, Oo = ({ options: e } = {}) => {
|
|
7394
7394
|
const { lineLogin2Api: r } = ce();
|
|
7395
7395
|
return de({
|
|
7396
7396
|
mutationKey: ["lineLogin"],
|
|
7397
7397
|
mutationFn: async (t) => r(t),
|
|
7398
7398
|
...e
|
|
7399
7399
|
});
|
|
7400
|
-
},
|
|
7400
|
+
}, Bo = ({ options: e, formData: r } = {}) => {
|
|
7401
7401
|
const { getMachineLoginCodeApi: t } = ce();
|
|
7402
7402
|
return ne({
|
|
7403
7403
|
queryKey: ["getMachineLoginCode"],
|
|
7404
7404
|
queryFn: async () => t(r),
|
|
7405
7405
|
...e
|
|
7406
7406
|
});
|
|
7407
|
-
},
|
|
7407
|
+
}, Sm = ({ options: e } = {}) => {
|
|
7408
7408
|
const { currency: r } = re(), { memberTransferApi: t } = ce();
|
|
7409
7409
|
return de({
|
|
7410
7410
|
mutationKey: ["memberTransfer"],
|
|
7411
7411
|
mutationFn: async (n) => t({ ...n, currency: r }),
|
|
7412
7412
|
...e
|
|
7413
7413
|
});
|
|
7414
|
-
},
|
|
7414
|
+
}, Dm = ({
|
|
7415
7415
|
options: e = {
|
|
7416
7416
|
login: {},
|
|
7417
7417
|
logout: {},
|
|
@@ -7425,15 +7425,15 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7425
7425
|
userBindCard: {}
|
|
7426
7426
|
}
|
|
7427
7427
|
} = {}) => {
|
|
7428
|
-
const r =
|
|
7428
|
+
const r = So({ options: e.login }), t = Do({ options: e.logout }), n = Eo({ options: e.register }), p = Lo({ options: e.updateUserInfo }), g = No({
|
|
7429
7429
|
options: e.toggleFavoriteGame
|
|
7430
|
-
}), b =
|
|
7430
|
+
}), b = Go({
|
|
7431
7431
|
options: e.resetUserPassword
|
|
7432
|
-
}), f =
|
|
7432
|
+
}), f = Mo({
|
|
7433
7433
|
options: e.setUserTransactionPassword
|
|
7434
|
-
}), l =
|
|
7434
|
+
}), l = Ro({
|
|
7435
7435
|
options: e.resetUserTransactionPassword
|
|
7436
|
-
}), i =
|
|
7436
|
+
}), i = Po({ options: e.userRebate }), a = Fo({ options: e.userBindCard });
|
|
7437
7437
|
return {
|
|
7438
7438
|
login: r,
|
|
7439
7439
|
logout: t,
|
|
@@ -7460,7 +7460,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7460
7460
|
UPDATE_ONLY_ONE_MEMBER: "update_only_one_member",
|
|
7461
7461
|
GAME_MAINTAIN: "game_maintain",
|
|
7462
7462
|
LINE_LOGIN: "line_login"
|
|
7463
|
-
},
|
|
7463
|
+
}, Ho = 3e4, Em = ({
|
|
7464
7464
|
socketUrl: e,
|
|
7465
7465
|
socketHandlers: r = {},
|
|
7466
7466
|
options: t = {},
|
|
@@ -7473,24 +7473,24 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7473
7473
|
},
|
|
7474
7474
|
enableNotification: g = !1
|
|
7475
7475
|
}) => {
|
|
7476
|
-
const { store: b, lng: f } = re(), l =
|
|
7477
|
-
|
|
7478
|
-
const y = new URLSearchParams(window.location.search), _ =
|
|
7476
|
+
const { store: b, lng: f } = re(), l = Hn(), { isReady: i, setAsReady: a, isPending: s, setAsPending: o } = Vn(), m = $e(f), u = ee(!1), d = ee(r), c = pe(n, "uid", null);
|
|
7477
|
+
pe(n, "testFunction", 0);
|
|
7478
|
+
const y = new URLSearchParams(window.location.search), _ = pe(
|
|
7479
7479
|
p,
|
|
7480
7480
|
"enableTransferInGaming",
|
|
7481
7481
|
!1
|
|
7482
|
-
), { mutateAsync: U } =
|
|
7482
|
+
), { mutateAsync: U } = Oo({
|
|
7483
7483
|
options: {
|
|
7484
7484
|
onSuccess: (E) => {
|
|
7485
7485
|
d.current.onLineLogin?.(E);
|
|
7486
7486
|
}
|
|
7487
7487
|
}
|
|
7488
|
-
}), { handleTransferInGame: C } =
|
|
7488
|
+
}), { handleTransferInGame: C } = xo({
|
|
7489
7489
|
enable: _,
|
|
7490
7490
|
isTestFunction: !0,
|
|
7491
|
-
isTransferMode:
|
|
7492
|
-
isInGameBox:
|
|
7493
|
-
currentGamePlatform:
|
|
7491
|
+
isTransferMode: pe(p, "isTransferMode", !1),
|
|
7492
|
+
isInGameBox: pe(p, "isInGameBox", !1),
|
|
7493
|
+
currentGamePlatform: pe(p, "currentGamePlatform", "")
|
|
7494
7494
|
}), {
|
|
7495
7495
|
sendMessage: T,
|
|
7496
7496
|
// 發送普通訊息
|
|
@@ -7502,7 +7502,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7502
7502
|
readyState: M
|
|
7503
7503
|
// WebSocket 連線狀態
|
|
7504
7504
|
// getWebSocket, // 獲取 WebSocket 實例
|
|
7505
|
-
} =
|
|
7505
|
+
} = ko(e, {
|
|
7506
7506
|
queryParams: { key: "wsky" },
|
|
7507
7507
|
onOpen: () => console.log("連線成功"),
|
|
7508
7508
|
shouldReconnect: () => u.current === !1,
|
|
@@ -7516,10 +7516,10 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7516
7516
|
return null;
|
|
7517
7517
|
}
|
|
7518
7518
|
}, [S]);
|
|
7519
|
-
|
|
7519
|
+
me(() => {
|
|
7520
7520
|
const E = setInterval(
|
|
7521
7521
|
() => T("ping"),
|
|
7522
|
-
|
|
7522
|
+
Ho
|
|
7523
7523
|
);
|
|
7524
7524
|
return () => clearInterval(E);
|
|
7525
7525
|
}, [T]);
|
|
@@ -7537,11 +7537,11 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7537
7537
|
},
|
|
7538
7538
|
[g, b, m]
|
|
7539
7539
|
);
|
|
7540
|
-
|
|
7540
|
+
me(() => {
|
|
7541
7541
|
d.current = r;
|
|
7542
7542
|
}, [r]);
|
|
7543
7543
|
const h = ee(null);
|
|
7544
|
-
return
|
|
7544
|
+
return me(() => {
|
|
7545
7545
|
if (!A || h.current === A)
|
|
7546
7546
|
return;
|
|
7547
7547
|
h.current = A;
|
|
@@ -7555,13 +7555,13 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7555
7555
|
onTransferInGame: O,
|
|
7556
7556
|
onCashRegisterLimit: H,
|
|
7557
7557
|
onLineLogin: W
|
|
7558
|
-
} = d.current, N =
|
|
7559
|
-
memberInfoUid:
|
|
7560
|
-
data:
|
|
7561
|
-
memo:
|
|
7562
|
-
amount:
|
|
7563
|
-
limitAmount:
|
|
7564
|
-
}, w = Number(D.memberInfoUid) === c, F = D.data, K = D.amount, Q = D.limitAmount, $ = y.get("mac"), J =
|
|
7558
|
+
} = d.current, N = pe(A, "type", ""), D = {
|
|
7559
|
+
memberInfoUid: pe(A, "member_info_uid", null),
|
|
7560
|
+
data: pe(A, "data", null),
|
|
7561
|
+
memo: pe(A, "memo", null),
|
|
7562
|
+
amount: pe(A, "amount", null),
|
|
7563
|
+
limitAmount: pe(A, "limit_amount", null)
|
|
7564
|
+
}, w = Number(D.memberInfoUid) === c, F = D.data, K = D.amount, Q = D.limitAmount, $ = y.get("mac"), J = pe(A, "data.line_id", null), X = pe(A, "data.line_name", null), ie = pe(A, "member_info_uid", null);
|
|
7565
7565
|
switch (N) {
|
|
7566
7566
|
case He.DEPOSIT:
|
|
7567
7567
|
w && (C(), E?.(D));
|
|
@@ -7571,9 +7571,9 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7571
7571
|
break;
|
|
7572
7572
|
case He.ERROR:
|
|
7573
7573
|
if (w) {
|
|
7574
|
-
const
|
|
7574
|
+
const ue = pe(A, "open_game_modal", 0) === 1;
|
|
7575
7575
|
v(F, {
|
|
7576
|
-
notificationType:
|
|
7576
|
+
notificationType: ue ? "gamingNotice" : void 0
|
|
7577
7577
|
}), P?.(D);
|
|
7578
7578
|
}
|
|
7579
7579
|
break;
|
|
@@ -7598,7 +7598,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7598
7598
|
case He.TRANSFER_IN_GAME:
|
|
7599
7599
|
case He.CHECK_REQUEST:
|
|
7600
7600
|
if (w && _) {
|
|
7601
|
-
const { request_id:
|
|
7601
|
+
const { request_id: ue, amount: ye, platform: oe, status: fe } = pe(
|
|
7602
7602
|
D,
|
|
7603
7603
|
"data",
|
|
7604
7604
|
{}
|
|
@@ -7606,9 +7606,9 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7606
7606
|
"transfer_in_game_request_id"
|
|
7607
7607
|
);
|
|
7608
7608
|
if (s) {
|
|
7609
|
-
localStorage.setItem("transfer_in_game_request_id",
|
|
7609
|
+
localStorage.setItem("transfer_in_game_request_id", ue);
|
|
7610
7610
|
return;
|
|
7611
|
-
} else if (Te && Te ===
|
|
7611
|
+
} else if (Te && Te === ue) {
|
|
7612
7612
|
if (fe === "rollback") {
|
|
7613
7613
|
C();
|
|
7614
7614
|
return;
|
|
@@ -7663,7 +7663,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7663
7663
|
C,
|
|
7664
7664
|
_,
|
|
7665
7665
|
a
|
|
7666
|
-
]),
|
|
7666
|
+
]), me(() => () => u.current = !0, []), me(() => {
|
|
7667
7667
|
if (_) {
|
|
7668
7668
|
const E = localStorage.getItem(
|
|
7669
7669
|
"transfer_in_game_request_id"
|
|
@@ -7716,7 +7716,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7716
7716
|
checkEventStatusApi: p,
|
|
7717
7717
|
redeemEventRewardApi: n
|
|
7718
7718
|
};
|
|
7719
|
-
},
|
|
7719
|
+
}, Wo = ({ paramsData: e, options: r } = {}) => {
|
|
7720
7720
|
const { store: t, lng: n } = re(), { eventListApi: p } = Ji(), g = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", b = $e(n);
|
|
7721
7721
|
return ne({
|
|
7722
7722
|
queryKey: ["eventList", e],
|
|
@@ -7727,7 +7727,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7727
7727
|
const { events_attributes: s } = a, o = Qe(
|
|
7728
7728
|
s,
|
|
7729
7729
|
(U) => U.attribute_currency === g
|
|
7730
|
-
) || s[0], m =
|
|
7730
|
+
) || s[0], m = pe(o, "rewards", {}), u = pe(a, "carousels.[0]", {}), d = {
|
|
7731
7731
|
...u,
|
|
7732
7732
|
currentLngCarousel: Qe(u.carousels_lang, (U) => U.lang === b) || u?.carousels_lang?.[0]
|
|
7733
7733
|
}, c = {
|
|
@@ -7774,8 +7774,8 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7774
7774
|
// VIP 群組
|
|
7775
7775
|
tagsGroup: a.tags_group,
|
|
7776
7776
|
//標籤群組
|
|
7777
|
-
eventBg:
|
|
7778
|
-
eventIcon:
|
|
7777
|
+
eventBg: Jn(),
|
|
7778
|
+
eventIcon: Zn(a.type)
|
|
7779
7779
|
}, y = {
|
|
7780
7780
|
isActive: o.attribute_is_active === 1,
|
|
7781
7781
|
//是否啟用
|
|
@@ -7823,21 +7823,21 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7823
7823
|
},
|
|
7824
7824
|
...r
|
|
7825
7825
|
});
|
|
7826
|
-
},
|
|
7826
|
+
}, Nm = ({ options: e } = {}) => {
|
|
7827
7827
|
const { redeemEventRewardApi: r } = Ji();
|
|
7828
7828
|
return de({
|
|
7829
7829
|
mutationKey: ["redeemEventReward"],
|
|
7830
7830
|
mutationFn: async (t) => r(t),
|
|
7831
7831
|
...e
|
|
7832
7832
|
});
|
|
7833
|
-
},
|
|
7833
|
+
}, zo = ({ options: e, formData: r } = {}) => {
|
|
7834
7834
|
const { checkCurrentEventProgessApi: t } = Ji();
|
|
7835
7835
|
return ne({
|
|
7836
7836
|
queryKey: ["checkEventProgress"],
|
|
7837
7837
|
queryFn: async () => t(r),
|
|
7838
7838
|
...e
|
|
7839
7839
|
});
|
|
7840
|
-
},
|
|
7840
|
+
}, Io = ({ options: e, formData: r } = {}) => {
|
|
7841
7841
|
const { checkEventStatusApi: t } = Ji();
|
|
7842
7842
|
return ne({
|
|
7843
7843
|
queryKey: ["checkEventStatus"],
|
|
@@ -7845,16 +7845,16 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7845
7845
|
select: (n) => n.data.event_status,
|
|
7846
7846
|
...e
|
|
7847
7847
|
});
|
|
7848
|
-
},
|
|
7848
|
+
}, Lm = ({
|
|
7849
7849
|
options: e = {
|
|
7850
7850
|
eventList: {},
|
|
7851
7851
|
checkEventProgress: {},
|
|
7852
7852
|
checkEventStatus: {}
|
|
7853
7853
|
}
|
|
7854
7854
|
} = {}) => {
|
|
7855
|
-
const r =
|
|
7855
|
+
const r = Wo({ options: e.eventList }), t = zo({
|
|
7856
7856
|
options: e.checkEventProgress
|
|
7857
|
-
}), n =
|
|
7857
|
+
}), n = Io({
|
|
7858
7858
|
options: e.checkEventStatus
|
|
7859
7859
|
});
|
|
7860
7860
|
return {
|
|
@@ -7876,7 +7876,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7876
7876
|
commonInboxApi: n,
|
|
7877
7877
|
commonReadInboxApi: p
|
|
7878
7878
|
};
|
|
7879
|
-
},
|
|
7879
|
+
}, Gm = () => {
|
|
7880
7880
|
const { lng: e, data2URL: r } = re(), { commonCarouselApi: t } = Ki(), n = $e(e);
|
|
7881
7881
|
return ne({
|
|
7882
7882
|
queryKey: ["getCarouselList"],
|
|
@@ -7897,7 +7897,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7897
7897
|
};
|
|
7898
7898
|
})
|
|
7899
7899
|
});
|
|
7900
|
-
},
|
|
7900
|
+
}, Mm = () => {
|
|
7901
7901
|
const { lng: e } = re(), { commonMarqueeApi: r } = Ki(), t = $e(e);
|
|
7902
7902
|
return ne({
|
|
7903
7903
|
queryKey: ["getMarqueeList"],
|
|
@@ -7910,7 +7910,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7910
7910
|
return We(p, (b) => b[t] || b["en-US"]);
|
|
7911
7911
|
}
|
|
7912
7912
|
});
|
|
7913
|
-
},
|
|
7913
|
+
}, Rm = ({ options: e } = {}) => {
|
|
7914
7914
|
const { rankingGameApi: r } = ce();
|
|
7915
7915
|
return ne({
|
|
7916
7916
|
queryKey: ["rankingGame"],
|
|
@@ -7951,7 +7951,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7951
7951
|
},
|
|
7952
7952
|
...e
|
|
7953
7953
|
});
|
|
7954
|
-
},
|
|
7954
|
+
}, Vo = ({ options: e } = {}) => {
|
|
7955
7955
|
const { commonInboxApi: r } = Ki(), { getToken: t, lng: n } = re(), p = t?.(), g = $e(n);
|
|
7956
7956
|
return ne({
|
|
7957
7957
|
queryKey: ["inboxList"],
|
|
@@ -7972,25 +7972,25 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
7972
7972
|
enabled: !!p,
|
|
7973
7973
|
...e
|
|
7974
7974
|
});
|
|
7975
|
-
},
|
|
7975
|
+
}, Zo = ({ options: e } = {}) => {
|
|
7976
7976
|
const { commonReadInboxApi: r } = Ki();
|
|
7977
7977
|
return de({
|
|
7978
7978
|
mutationKey: ["readInbox"],
|
|
7979
7979
|
mutationFn: async (t) => await r(t),
|
|
7980
7980
|
...e
|
|
7981
7981
|
});
|
|
7982
|
-
},
|
|
7982
|
+
}, Pm = ({
|
|
7983
7983
|
options: e = {
|
|
7984
7984
|
inboxList: {},
|
|
7985
7985
|
readInbox: {}
|
|
7986
7986
|
}
|
|
7987
7987
|
} = {}) => {
|
|
7988
|
-
const r =
|
|
7988
|
+
const r = Vo({ options: e.inboxList }), t = Zo({ options: e.readInbox });
|
|
7989
7989
|
return {
|
|
7990
7990
|
inboxListQuery: r,
|
|
7991
7991
|
readInboxMutation: t
|
|
7992
7992
|
};
|
|
7993
|
-
},
|
|
7993
|
+
}, tl = () => {
|
|
7994
7994
|
const { client: e } = re();
|
|
7995
7995
|
return {
|
|
7996
7996
|
newsListApi: V(
|
|
@@ -8000,7 +8000,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8000
8000
|
[e]
|
|
8001
8001
|
)
|
|
8002
8002
|
};
|
|
8003
|
-
},
|
|
8003
|
+
}, Jo = ({
|
|
8004
8004
|
typeConfig: e = {
|
|
8005
8005
|
all: {},
|
|
8006
8006
|
crypto: {},
|
|
@@ -8046,8 +8046,8 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8046
8046
|
value: "other",
|
|
8047
8047
|
...e.other
|
|
8048
8048
|
}
|
|
8049
|
-
],
|
|
8050
|
-
const { lng: t } = re(), { newsListApi: n } =
|
|
8049
|
+
], Fm = ({ options: e, formData: r } = {}) => {
|
|
8050
|
+
const { lng: t } = re(), { newsListApi: n } = tl(), p = $e(t);
|
|
8051
8051
|
return ne({
|
|
8052
8052
|
queryKey: ["newsList"],
|
|
8053
8053
|
queryFn: () => {
|
|
@@ -8067,13 +8067,13 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8067
8067
|
return {
|
|
8068
8068
|
...g.data,
|
|
8069
8069
|
data: l,
|
|
8070
|
-
blogType:
|
|
8070
|
+
blogType: Jo({ typeConfig: e?.typeConfig })
|
|
8071
8071
|
};
|
|
8072
8072
|
},
|
|
8073
8073
|
...e
|
|
8074
8074
|
});
|
|
8075
|
-
},
|
|
8076
|
-
const { lng: t } = re(), { newsListApi: n } =
|
|
8075
|
+
}, wm = ({ options: e, formData: r } = {}) => {
|
|
8076
|
+
const { lng: t } = re(), { newsListApi: n } = tl(), p = $e(t);
|
|
8077
8077
|
return ne({
|
|
8078
8078
|
queryKey: ["newsList"],
|
|
8079
8079
|
queryFn: () => {
|
|
@@ -8134,7 +8134,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8134
8134
|
withdrawal_amount: o,
|
|
8135
8135
|
bank_account_number: m,
|
|
8136
8136
|
currency_code: u,
|
|
8137
|
-
withdrawal_code:
|
|
8137
|
+
withdrawal_code: al.MD5(d).toString(),
|
|
8138
8138
|
payment_type: "ThirdParty"
|
|
8139
8139
|
}
|
|
8140
8140
|
});
|
|
@@ -8207,14 +8207,14 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8207
8207
|
redeemCodeDepositApi: i,
|
|
8208
8208
|
invoiceApi: a
|
|
8209
8209
|
};
|
|
8210
|
-
},
|
|
8210
|
+
}, Ko = ({ options: e } = {}) => {
|
|
8211
8211
|
const { depositApiV1: r } = la();
|
|
8212
8212
|
return ne({
|
|
8213
8213
|
queryKey: ["depositV1"],
|
|
8214
8214
|
queryFn: r,
|
|
8215
8215
|
...e
|
|
8216
8216
|
});
|
|
8217
|
-
},
|
|
8217
|
+
}, qo = ({ paramsData: e, options: r } = {}) => {
|
|
8218
8218
|
const { depositApiV2: t } = la();
|
|
8219
8219
|
return ne({
|
|
8220
8220
|
queryKey: ["depositV2", e],
|
|
@@ -8239,63 +8239,63 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8239
8239
|
},
|
|
8240
8240
|
...r
|
|
8241
8241
|
});
|
|
8242
|
-
},
|
|
8242
|
+
}, Qo = ({ options: e } = {}) => {
|
|
8243
8243
|
const { depositApi: r } = la();
|
|
8244
8244
|
return de({
|
|
8245
8245
|
mutationKey: ["depositAction"],
|
|
8246
8246
|
mutationFn: async (t) => r(t),
|
|
8247
8247
|
...e
|
|
8248
8248
|
});
|
|
8249
|
-
},
|
|
8249
|
+
}, $o = ({ options: e } = {}) => {
|
|
8250
8250
|
const { withdrawApi: r } = la();
|
|
8251
8251
|
return de({
|
|
8252
8252
|
mutationKey: ["withdrawAction"],
|
|
8253
8253
|
mutationFn: async (t) => r(t),
|
|
8254
8254
|
...e
|
|
8255
8255
|
});
|
|
8256
|
-
},
|
|
8256
|
+
}, jo = ({ paramsData: e, options: r } = {}) => {
|
|
8257
8257
|
const { depositTransactionApi: t } = la();
|
|
8258
8258
|
return ne({
|
|
8259
8259
|
queryKey: ["depositTransaction", e],
|
|
8260
8260
|
queryFn: () => t({ paramsData: e }),
|
|
8261
8261
|
...r
|
|
8262
8262
|
});
|
|
8263
|
-
},
|
|
8263
|
+
}, Yo = ({ paramsData: e, options: r } = {}) => {
|
|
8264
8264
|
const { eventTransactionApi: t } = la();
|
|
8265
8265
|
return ne({
|
|
8266
8266
|
queryKey: ["eventTransaction", e],
|
|
8267
8267
|
queryFn: () => t({ paramsData: e }),
|
|
8268
8268
|
...r
|
|
8269
8269
|
});
|
|
8270
|
-
},
|
|
8270
|
+
}, Xo = ({ options: e } = {}) => {
|
|
8271
8271
|
const { bankDepositApi: r } = la();
|
|
8272
8272
|
return de({
|
|
8273
8273
|
mutationKey: ["bankDeposit"],
|
|
8274
8274
|
mutationFn: async (t) => r(t),
|
|
8275
8275
|
...e
|
|
8276
8276
|
});
|
|
8277
|
-
},
|
|
8277
|
+
}, es = ({ paramsData: e, options: r } = {}) => {
|
|
8278
8278
|
const { withdrawTransactionApi: t } = la();
|
|
8279
8279
|
return ne({
|
|
8280
8280
|
queryKey: ["withdrawTransaction", e],
|
|
8281
8281
|
queryFn: () => t({ paramsData: e }),
|
|
8282
8282
|
...r
|
|
8283
8283
|
});
|
|
8284
|
-
},
|
|
8284
|
+
}, Am = ({ options: e } = {}) => {
|
|
8285
8285
|
const { redeemCodeDepositApi: r } = la();
|
|
8286
8286
|
return de({
|
|
8287
8287
|
mutationKey: ["redeemCodeDeposit"],
|
|
8288
8288
|
mutationFn: async (t) => r(t),
|
|
8289
8289
|
...e
|
|
8290
8290
|
});
|
|
8291
|
-
},
|
|
8291
|
+
}, Om = ({ options: e } = {}) => {
|
|
8292
8292
|
const { invoiceApi: r } = la();
|
|
8293
8293
|
return de({
|
|
8294
8294
|
mutationKey: ["invoiceAction"],
|
|
8295
8295
|
mutationFn: async (t) => r(t),
|
|
8296
8296
|
...e
|
|
8297
8297
|
});
|
|
8298
|
-
},
|
|
8298
|
+
}, Bm = ({
|
|
8299
8299
|
depositV1: e = {},
|
|
8300
8300
|
depositV2: r = {},
|
|
8301
8301
|
depositTransaction: t = {},
|
|
@@ -8305,7 +8305,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8305
8305
|
eventTransaction: b = {},
|
|
8306
8306
|
withdrawTransaction: f = {}
|
|
8307
8307
|
} = {}) => {
|
|
8308
|
-
const l =
|
|
8308
|
+
const l = Ko(e), i = qo(r), a = jo(t), s = Qo(n), o = $o(p), m = Xo(g), u = Yo(b), d = es(
|
|
8309
8309
|
f
|
|
8310
8310
|
);
|
|
8311
8311
|
return {
|
|
@@ -8318,10 +8318,10 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8318
8318
|
eventTransaction: u,
|
|
8319
8319
|
withdrawTransaction: d
|
|
8320
8320
|
};
|
|
8321
|
-
},
|
|
8321
|
+
}, nl = "3.7.8", as = nl, Ha = typeof Buffer == "function", En = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Nn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, is = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Qa = Array.prototype.slice.call(is), ai = ((e) => {
|
|
8322
8322
|
let r = {};
|
|
8323
8323
|
return e.forEach((t, n) => r[t] = n), r;
|
|
8324
|
-
})(Qa),
|
|
8324
|
+
})(Qa), ts = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Ln = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), ll = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (r) => r == "+" ? "-" : "_"), rl = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ol = (e) => {
|
|
8325
8325
|
let r, t, n, p, g = "";
|
|
8326
8326
|
const b = e.length % 3;
|
|
8327
8327
|
for (let f = 0; f < e.length; ) {
|
|
@@ -8330,12 +8330,12 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8330
8330
|
r = t << 16 | n << 8 | p, g += Qa[r >> 18 & 63] + Qa[r >> 12 & 63] + Qa[r >> 6 & 63] + Qa[r & 63];
|
|
8331
8331
|
}
|
|
8332
8332
|
return b ? g.slice(0, b - 3) + "===".substring(b) : g;
|
|
8333
|
-
}, bt = typeof btoa == "function" ? (e) => btoa(e) : Ha ? (e) => Buffer.from(e, "binary").toString("base64") :
|
|
8333
|
+
}, bt = typeof btoa == "function" ? (e) => btoa(e) : Ha ? (e) => Buffer.from(e, "binary").toString("base64") : ol, nt = Ha ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
8334
8334
|
let t = [];
|
|
8335
8335
|
for (let n = 0, p = e.length; n < p; n += 4096)
|
|
8336
8336
|
t.push(Le.apply(null, e.subarray(n, n + 4096)));
|
|
8337
8337
|
return bt(t.join(""));
|
|
8338
|
-
}, Hi = (e, r = !1) => r ?
|
|
8338
|
+
}, Hi = (e, r = !1) => r ? ll(nt(e)) : nt(e), ns = (e) => {
|
|
8339
8339
|
if (e.length < 2) {
|
|
8340
8340
|
var r = e.charCodeAt(0);
|
|
8341
8341
|
return r < 128 ? e : r < 2048 ? Le(192 | r >>> 6) + Le(128 | r & 63) : Le(224 | r >>> 12 & 15) + Le(128 | r >>> 6 & 63) + Le(128 | r & 63);
|
|
@@ -8343,7 +8343,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8343
8343
|
var r = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
8344
8344
|
return Le(240 | r >>> 18 & 7) + Le(128 | r >>> 12 & 63) + Le(128 | r >>> 6 & 63) + Le(128 | r & 63);
|
|
8345
8345
|
}
|
|
8346
|
-
},
|
|
8346
|
+
}, ls = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, sl = (e) => e.replace(ls, ns), Gn = Ha ? (e) => Buffer.from(e, "utf8").toString("base64") : Nn ? (e) => nt(Nn.encode(e)) : (e) => bt(sl(e)), Ba = (e, r = !1) => r ? ll(Gn(e)) : Gn(e), Mn = (e) => Ba(e, !0), rs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, os = (e) => {
|
|
8347
8347
|
switch (e.length) {
|
|
8348
8348
|
case 4:
|
|
8349
8349
|
var r = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), t = r - 65536;
|
|
@@ -8353,26 +8353,26 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8353
8353
|
default:
|
|
8354
8354
|
return Le((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
8355
8355
|
}
|
|
8356
|
-
},
|
|
8357
|
-
if (e = e.replace(/\s+/g, ""), !
|
|
8356
|
+
}, ml = (e) => e.replace(rs, os), ul = (e) => {
|
|
8357
|
+
if (e = e.replace(/\s+/g, ""), !ts.test(e))
|
|
8358
8358
|
throw new TypeError("malformed base64.");
|
|
8359
8359
|
e += "==".slice(2 - (e.length & 3));
|
|
8360
8360
|
let r, t, n, p = [];
|
|
8361
8361
|
for (let g = 0; g < e.length; )
|
|
8362
8362
|
r = ai[e.charAt(g++)] << 18 | ai[e.charAt(g++)] << 12 | (t = ai[e.charAt(g++)]) << 6 | (n = ai[e.charAt(g++)]), t === 64 ? p.push(Le(r >> 16 & 255)) : n === 64 ? p.push(Le(r >> 16 & 255, r >> 8 & 255)) : p.push(Le(r >> 16 & 255, r >> 8 & 255, r & 255));
|
|
8363
8363
|
return p.join("");
|
|
8364
|
-
}, Ct = typeof atob == "function" ? (e) => atob(
|
|
8364
|
+
}, Ct = typeof atob == "function" ? (e) => atob(rl(e)) : Ha ? (e) => Buffer.from(e, "base64").toString("binary") : ul, pl = Ha ? (e) => Ln(Buffer.from(e, "base64")) : (e) => Ln(Ct(e).split("").map((r) => r.charCodeAt(0))), gl = (e) => pl(dl(e)), ss = Ha ? (e) => Buffer.from(e, "base64").toString("utf8") : En ? (e) => En.decode(pl(e)) : (e) => ml(Ct(e)), dl = (e) => rl(e.replace(/[-_]/g, (r) => r == "-" ? "+" : "/")), lt = (e) => ss(dl(e)), ms = (e) => {
|
|
8365
8365
|
if (typeof e != "string")
|
|
8366
8366
|
return !1;
|
|
8367
8367
|
const r = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
8368
8368
|
return !/[^\s0-9a-zA-Z\+/]/.test(r) || !/[^\s0-9a-zA-Z\-_]/.test(r);
|
|
8369
|
-
},
|
|
8369
|
+
}, cl = (e) => ({
|
|
8370
8370
|
value: e,
|
|
8371
8371
|
enumerable: !1,
|
|
8372
8372
|
writable: !0,
|
|
8373
8373
|
configurable: !0
|
|
8374
|
-
}),
|
|
8375
|
-
const e = (r, t) => Object.defineProperty(String.prototype, r,
|
|
8374
|
+
}), fl = function() {
|
|
8375
|
+
const e = (r, t) => Object.defineProperty(String.prototype, r, cl(t));
|
|
8376
8376
|
e("fromBase64", function() {
|
|
8377
8377
|
return lt(this);
|
|
8378
8378
|
}), e("toBase64", function(r) {
|
|
@@ -8382,10 +8382,10 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8382
8382
|
}), e("toBase64URL", function() {
|
|
8383
8383
|
return Ba(this, !0);
|
|
8384
8384
|
}), e("toUint8Array", function() {
|
|
8385
|
-
return
|
|
8385
|
+
return gl(this);
|
|
8386
8386
|
});
|
|
8387
|
-
},
|
|
8388
|
-
const e = (r, t) => Object.defineProperty(Uint8Array.prototype, r,
|
|
8387
|
+
}, _l = function() {
|
|
8388
|
+
const e = (r, t) => Object.defineProperty(Uint8Array.prototype, r, cl(t));
|
|
8389
8389
|
e("toBase64", function(r) {
|
|
8390
8390
|
return Hi(this, r);
|
|
8391
8391
|
}), e("toBase64URI", function() {
|
|
@@ -8393,30 +8393,30 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8393
8393
|
}), e("toBase64URL", function() {
|
|
8394
8394
|
return Hi(this, !0);
|
|
8395
8395
|
});
|
|
8396
|
-
},
|
|
8397
|
-
|
|
8398
|
-
},
|
|
8399
|
-
version:
|
|
8400
|
-
VERSION:
|
|
8396
|
+
}, us = () => {
|
|
8397
|
+
fl(), _l();
|
|
8398
|
+
}, ps = {
|
|
8399
|
+
version: nl,
|
|
8400
|
+
VERSION: as,
|
|
8401
8401
|
atob: Ct,
|
|
8402
|
-
atobPolyfill:
|
|
8402
|
+
atobPolyfill: ul,
|
|
8403
8403
|
btoa: bt,
|
|
8404
|
-
btoaPolyfill:
|
|
8404
|
+
btoaPolyfill: ol,
|
|
8405
8405
|
fromBase64: lt,
|
|
8406
8406
|
toBase64: Ba,
|
|
8407
8407
|
encode: Ba,
|
|
8408
8408
|
encodeURI: Mn,
|
|
8409
8409
|
encodeURL: Mn,
|
|
8410
|
-
utob:
|
|
8411
|
-
btou:
|
|
8410
|
+
utob: sl,
|
|
8411
|
+
btou: ml,
|
|
8412
8412
|
decode: lt,
|
|
8413
|
-
isValid:
|
|
8413
|
+
isValid: ms,
|
|
8414
8414
|
fromUint8Array: Hi,
|
|
8415
|
-
toUint8Array:
|
|
8416
|
-
extendString:
|
|
8417
|
-
extendUint8Array:
|
|
8418
|
-
extendBuiltins:
|
|
8419
|
-
},
|
|
8415
|
+
toUint8Array: gl,
|
|
8416
|
+
extendString: fl,
|
|
8417
|
+
extendUint8Array: _l,
|
|
8418
|
+
extendBuiltins: us
|
|
8419
|
+
}, Hm = (e, r) => {
|
|
8420
8420
|
const { playGameApi: t } = dt();
|
|
8421
8421
|
return ne({
|
|
8422
8422
|
queryKey: ["playGame"],
|
|
@@ -8443,41 +8443,41 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8443
8443
|
supportPortrait: o,
|
|
8444
8444
|
isHtmlCode: u,
|
|
8445
8445
|
gameUrl: m,
|
|
8446
|
-
decodeGameUrl:
|
|
8446
|
+
decodeGameUrl: ps.decode(m),
|
|
8447
8447
|
message: d
|
|
8448
8448
|
};
|
|
8449
8449
|
},
|
|
8450
8450
|
enabled: !!e?.gameCode,
|
|
8451
8451
|
...r
|
|
8452
8452
|
});
|
|
8453
|
-
},
|
|
8453
|
+
}, yl = () => {
|
|
8454
8454
|
const { client: e } = re(), r = V(async () => await e.get("/rebate"), [e]), t = V(async () => await e.post("/withdraw/rebate"), [e]);
|
|
8455
8455
|
return {
|
|
8456
8456
|
currentRebateApi: r,
|
|
8457
8457
|
receiveRebateApi: t
|
|
8458
8458
|
};
|
|
8459
|
-
},
|
|
8460
|
-
const { currentRebateApi: r } =
|
|
8459
|
+
}, gs = ({ options: e } = {}) => {
|
|
8460
|
+
const { currentRebateApi: r } = yl();
|
|
8461
8461
|
return ne({
|
|
8462
8462
|
queryKey: ["currentRebate"],
|
|
8463
8463
|
queryFn: () => r(),
|
|
8464
|
-
select: (t) =>
|
|
8464
|
+
select: (t) => Bl(t, ["code", "status"]),
|
|
8465
8465
|
...e
|
|
8466
8466
|
});
|
|
8467
|
-
},
|
|
8468
|
-
const { receiveRebateApi: r } =
|
|
8467
|
+
}, ds = ({ options: e } = {}) => {
|
|
8468
|
+
const { receiveRebateApi: r } = yl();
|
|
8469
8469
|
return de({
|
|
8470
8470
|
mutationKey: ["receiveRebate"],
|
|
8471
8471
|
mutationFn: async () => r(),
|
|
8472
8472
|
...e
|
|
8473
8473
|
});
|
|
8474
|
-
},
|
|
8474
|
+
}, Wm = ({
|
|
8475
8475
|
options: e = {
|
|
8476
8476
|
currentRebate: {},
|
|
8477
8477
|
receiveRebate: {}
|
|
8478
8478
|
}
|
|
8479
8479
|
} = {}) => {
|
|
8480
|
-
const r =
|
|
8480
|
+
const r = gs({ options: e.currentRebate }), t = ds({ options: e.receiveRebate });
|
|
8481
8481
|
return {
|
|
8482
8482
|
currentRebate: r,
|
|
8483
8483
|
receiveRebate: t
|
|
@@ -8501,7 +8501,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8501
8501
|
redeemRewardApi: p,
|
|
8502
8502
|
historyRewardApi: g
|
|
8503
8503
|
};
|
|
8504
|
-
},
|
|
8504
|
+
}, cs = ({ options: e } = {}) => {
|
|
8505
8505
|
const { rewardListApi: r } = ja();
|
|
8506
8506
|
return ne({
|
|
8507
8507
|
queryKey: ["rewardsList"],
|
|
@@ -8514,7 +8514,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8514
8514
|
const {
|
|
8515
8515
|
wagering_restricted_amount: g,
|
|
8516
8516
|
claimed_amount: b
|
|
8517
|
-
} = p, f =
|
|
8517
|
+
} = p, f = pe(p, "rewards", {}), {
|
|
8518
8518
|
expiration_days: l,
|
|
8519
8519
|
name: i,
|
|
8520
8520
|
position: a,
|
|
@@ -8530,8 +8530,8 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8530
8530
|
rewardUid: o,
|
|
8531
8531
|
rewardWagering: g,
|
|
8532
8532
|
rewardAmount: b,
|
|
8533
|
-
rewardBg:
|
|
8534
|
-
rewardIcon:
|
|
8533
|
+
rewardBg: Jn(),
|
|
8534
|
+
rewardIcon: Zn("win")
|
|
8535
8535
|
};
|
|
8536
8536
|
});
|
|
8537
8537
|
return {
|
|
@@ -8541,35 +8541,35 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8541
8541
|
},
|
|
8542
8542
|
...e
|
|
8543
8543
|
});
|
|
8544
|
-
},
|
|
8544
|
+
}, fs = ({ options: e } = {}) => {
|
|
8545
8545
|
const { redeemRewardApi: r } = ja();
|
|
8546
8546
|
return de({
|
|
8547
8547
|
mutationKey: ["redeemReward"],
|
|
8548
8548
|
mutationFn: async (t) => await r(t),
|
|
8549
8549
|
...e
|
|
8550
8550
|
});
|
|
8551
|
-
},
|
|
8551
|
+
}, _s = ({ options: e } = {}) => {
|
|
8552
8552
|
const { unUsedRewardListApi: r } = ja();
|
|
8553
8553
|
return ne({
|
|
8554
8554
|
queryKey: ["unUsedRewardsList"],
|
|
8555
8555
|
queryFn: r,
|
|
8556
8556
|
...e
|
|
8557
8557
|
});
|
|
8558
|
-
},
|
|
8558
|
+
}, ys = ({ options: e } = {}) => {
|
|
8559
8559
|
const { expiredRewardListApi: r } = ja();
|
|
8560
8560
|
return ne({
|
|
8561
8561
|
queryKey: ["expiredRewardsList"],
|
|
8562
8562
|
queryFn: r,
|
|
8563
8563
|
...e
|
|
8564
8564
|
});
|
|
8565
|
-
},
|
|
8565
|
+
}, Us = ({ options: e } = {}) => {
|
|
8566
8566
|
const { historyRewardApi: r } = ja();
|
|
8567
8567
|
return ne({
|
|
8568
8568
|
queryKey: ["historyRewardsList"],
|
|
8569
8569
|
queryFn: r,
|
|
8570
8570
|
...e
|
|
8571
8571
|
});
|
|
8572
|
-
},
|
|
8572
|
+
}, zm = ({
|
|
8573
8573
|
options: e = {
|
|
8574
8574
|
rewardsList: {},
|
|
8575
8575
|
redeemReward: {},
|
|
@@ -8578,13 +8578,13 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8578
8578
|
historyRewardsList: {}
|
|
8579
8579
|
}
|
|
8580
8580
|
} = {}) => {
|
|
8581
|
-
const r =
|
|
8581
|
+
const r = cs({ options: e.rewardsList }), t = fs({
|
|
8582
8582
|
options: e.redeemReward
|
|
8583
|
-
}), n =
|
|
8583
|
+
}), n = _s({
|
|
8584
8584
|
options: e.unUsedRewardsList
|
|
8585
|
-
}), p =
|
|
8585
|
+
}), p = ys({
|
|
8586
8586
|
options: e.expiredRewardsList
|
|
8587
|
-
}), g =
|
|
8587
|
+
}), g = Us({
|
|
8588
8588
|
options: e.historyRewardsList
|
|
8589
8589
|
});
|
|
8590
8590
|
return {
|
|
@@ -8594,14 +8594,14 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8594
8594
|
expiredRewardsListQuery: p,
|
|
8595
8595
|
historyRewardsListQuery: g
|
|
8596
8596
|
};
|
|
8597
|
-
},
|
|
8597
|
+
}, Ul = () => {
|
|
8598
8598
|
const { client: e } = re(), r = V(async () => await e.get("/vip/list"), [e]), t = V(async () => await e.get("/vip/check"), [e]);
|
|
8599
8599
|
return {
|
|
8600
8600
|
vipListApi: r,
|
|
8601
8601
|
vipInfoApi: t
|
|
8602
8602
|
};
|
|
8603
|
-
},
|
|
8604
|
-
const { store: r } = re(), t = r?.getState()?.isMemberInfo || r?.getState()?.member?.member || {}, { vipInfoApi: n } =
|
|
8603
|
+
}, Im = ({ options: e } = {}) => {
|
|
8604
|
+
const { store: r } = re(), t = r?.getState()?.isMemberInfo || r?.getState()?.member?.member || {}, { vipInfoApi: n } = Ul();
|
|
8605
8605
|
return ne({
|
|
8606
8606
|
queryKey: ["vipInfo"],
|
|
8607
8607
|
queryFn: async () => n(),
|
|
@@ -8615,8 +8615,8 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8615
8615
|
},
|
|
8616
8616
|
...e
|
|
8617
8617
|
});
|
|
8618
|
-
},
|
|
8619
|
-
const { store: r } = re(), t = r?.getState()?.isWalletCurrency || r?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } =
|
|
8618
|
+
}, bs = ({ options: e } = {}) => {
|
|
8619
|
+
const { store: r } = re(), t = r?.getState()?.isWalletCurrency || r?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } = Ul();
|
|
8620
8620
|
return ne({
|
|
8621
8621
|
queryKey: ["vipList"],
|
|
8622
8622
|
queryFn: async () => {
|
|
@@ -8635,7 +8635,7 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8635
8635
|
} = f, m = Qe(l, { currency_code: t }) || {}, u = Qe(i, { currency_code: t }) || {}, d = a, c = We(s, (U) => ({
|
|
8636
8636
|
...U,
|
|
8637
8637
|
rebateRange: JSON.parse(U.rebate_range)
|
|
8638
|
-
})), y =
|
|
8638
|
+
})), y = pe(o, "[0]", {}), _ = {
|
|
8639
8639
|
...y,
|
|
8640
8640
|
platformRebate: JSON.parse(y.rebate || "{}")
|
|
8641
8641
|
};
|
|
@@ -8652,15 +8652,15 @@ const To = /* @__PURE__ */ ut(ho), ko = ({
|
|
|
8652
8652
|
},
|
|
8653
8653
|
...e
|
|
8654
8654
|
});
|
|
8655
|
-
},
|
|
8655
|
+
}, Vm = ({ options: e } = {
|
|
8656
8656
|
vipList: {}
|
|
8657
8657
|
}) => ({
|
|
8658
|
-
vipList:
|
|
8658
|
+
vipList: bs({ options: e.vipList })
|
|
8659
8659
|
});
|
|
8660
|
-
var
|
|
8661
|
-
if (r && typeof r == "object" || typeof r == "function") for (let p of
|
|
8660
|
+
var Cs = Object.create, bl = Object.defineProperty, vs = Object.getOwnPropertyDescriptor, hs = Object.getOwnPropertyNames, Ts = Object.getPrototypeOf, ks = Object.prototype.hasOwnProperty, xs = (e, r) => () => (r || e((r = { exports: {} }).exports, r), r.exports), Ss = (e, r, t, n) => {
|
|
8661
|
+
if (r && typeof r == "object" || typeof r == "function") for (let p of hs(r)) !ks.call(e, p) && p !== t && bl(e, p, { get: () => r[p], enumerable: !(n = vs(r, p)) || n.enumerable });
|
|
8662
8662
|
return e;
|
|
8663
|
-
},
|
|
8663
|
+
}, Ds = (e, r, t) => (t = e != null ? Cs(Ts(e)) : {}, Ss(!e || !e.__esModule ? bl(t, "default", { value: e, enumerable: !0 }) : t, e)), Es = xs((e, r) => {
|
|
8664
8664
|
(function(t, n) {
|
|
8665
8665
|
typeof e == "object" && typeof r < "u" ? n(e) : typeof define == "function" && define.amd ? define(["exports"], n) : (t = typeof globalThis < "u" ? globalThis : t || self, n(t.fastUniqueNumbers = {}));
|
|
8666
8666
|
})(e, function(t) {
|
|
@@ -8689,12 +8689,12 @@ var bs = Object.create, Ul = Object.defineProperty, Cs = Object.getOwnPropertyDe
|
|
|
8689
8689
|
t.addUniqueNumber = o, t.generateUniqueNumber = s;
|
|
8690
8690
|
});
|
|
8691
8691
|
});
|
|
8692
|
-
|
|
8692
|
+
Ds(Es());
|
|
8693
8693
|
var ua = (typeof window > "u" ? "undefined" : typeof window) == "object", qe = { setTimeout: ua ? setTimeout.bind(window) : setTimeout, clearTimeout: ua ? clearTimeout.bind(window) : clearTimeout, setInterval: ua ? setInterval.bind(window) : setInterval, clearInterval: ua ? clearInterval.bind(window) : clearInterval };
|
|
8694
|
-
function
|
|
8694
|
+
function Ns(e) {
|
|
8695
8695
|
qe.setTimeout = e.setTimeout, qe.clearTimeout = e.clearTimeout, qe.setInterval = e.setInterval, qe.clearInterval = e.clearInterval;
|
|
8696
8696
|
}
|
|
8697
|
-
var Fa = {},
|
|
8697
|
+
var Fa = {}, Ls = class {
|
|
8698
8698
|
name;
|
|
8699
8699
|
closed = !1;
|
|
8700
8700
|
mc = new MessageChannel();
|
|
@@ -8742,17 +8742,17 @@ var Fa = {}, Ns = class {
|
|
|
8742
8742
|
dispatchEvent(e) {
|
|
8743
8743
|
return this.mc.port1.dispatchEvent(e);
|
|
8744
8744
|
}
|
|
8745
|
-
},
|
|
8746
|
-
function
|
|
8745
|
+
}, Gs = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : Ls;
|
|
8746
|
+
function Ms(e = 0) {
|
|
8747
8747
|
return new Promise((r) => qe.setTimeout(r, e));
|
|
8748
8748
|
}
|
|
8749
|
-
function
|
|
8749
|
+
function Cl() {
|
|
8750
8750
|
return Math.random().toString(36).substring(2);
|
|
8751
8751
|
}
|
|
8752
|
-
var
|
|
8752
|
+
var Rs = class {
|
|
8753
8753
|
options;
|
|
8754
8754
|
channel;
|
|
8755
|
-
token =
|
|
8755
|
+
token = Cl();
|
|
8756
8756
|
isLeader = !1;
|
|
8757
8757
|
isDead = !1;
|
|
8758
8758
|
isApplying = !1;
|
|
@@ -8773,7 +8773,7 @@ var Ms = class {
|
|
|
8773
8773
|
};
|
|
8774
8774
|
this.channel.addEventListener("message", r);
|
|
8775
8775
|
try {
|
|
8776
|
-
return this.sendAction(0), await
|
|
8776
|
+
return this.sendAction(0), await Ms(this.options.responseTime), this.channel.removeEventListener("message", r), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
|
|
8777
8777
|
} catch {
|
|
8778
8778
|
return !1;
|
|
8779
8779
|
}
|
|
@@ -8829,19 +8829,19 @@ var Ms = class {
|
|
|
8829
8829
|
}
|
|
8830
8830
|
}
|
|
8831
8831
|
}
|
|
8832
|
-
},
|
|
8832
|
+
}, Ps = class {
|
|
8833
8833
|
channel;
|
|
8834
8834
|
options;
|
|
8835
8835
|
elector;
|
|
8836
|
-
token =
|
|
8836
|
+
token = Cl();
|
|
8837
8837
|
registry = /* @__PURE__ */ new Map();
|
|
8838
8838
|
allIdle = !1;
|
|
8839
8839
|
isLastActive = !1;
|
|
8840
8840
|
constructor(e) {
|
|
8841
8841
|
let { channelName: r } = e;
|
|
8842
|
-
if (this.options = e, this.channel = new
|
|
8842
|
+
if (this.options = e, this.channel = new Gs(r), this.registry.set(this.token, 1), e.leaderElection) {
|
|
8843
8843
|
let t = { fallbackInterval: 2e3, responseTime: 100 };
|
|
8844
|
-
this.elector = new
|
|
8844
|
+
this.elector = new Rs(this.channel, t), this.elector.waitForLeadership();
|
|
8845
8845
|
}
|
|
8846
8846
|
this.channel.addEventListener("message", (t) => {
|
|
8847
8847
|
let { action: n, token: p, data: g } = t.data;
|
|
@@ -8931,8 +8931,8 @@ var Ms = class {
|
|
|
8931
8931
|
close() {
|
|
8932
8932
|
this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
|
|
8933
8933
|
}
|
|
8934
|
-
},
|
|
8935
|
-
function
|
|
8934
|
+
}, Fs = ua ? document : null, ws = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
|
|
8935
|
+
function As(e, r) {
|
|
8936
8936
|
let t;
|
|
8937
8937
|
function n(...p) {
|
|
8938
8938
|
t && clearTimeout(t), t = setTimeout(() => {
|
|
@@ -8951,7 +8951,7 @@ function it(e, r) {
|
|
|
8951
8951
|
};
|
|
8952
8952
|
}
|
|
8953
8953
|
var he = () => Date.now(), wa = 2147483647;
|
|
8954
|
-
function
|
|
8954
|
+
function Os({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle: t = 0, element: n = Fs, events: p = ws, timers: g = void 0, immediateEvents: b = [], onPresenceChange: f = () => {
|
|
8955
8955
|
}, onPrompt: l = () => {
|
|
8956
8956
|
}, onIdle: i = () => {
|
|
8957
8957
|
}, onActive: a = () => {
|
|
@@ -8959,7 +8959,7 @@ function As({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
8959
8959
|
}, onMessage: o = () => {
|
|
8960
8960
|
}, debounce: m = 0, throttle: u = 0, eventsThrottle: d = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: T = 0, leaderElection: x = !1, disabled: S = !1 } = {}) {
|
|
8961
8961
|
let M = ee(he()), A = ee(he()), v = ee(null), h = ee(null), E = ee(0), L = ee(0), P = ee(0), G = ee(0), R = ee(!1), B = ee(!1), O = ee(!1), H = ee(!0), W = ee(!1), N = ee(null), D = ee(null), w = ee(e), F = ee(0);
|
|
8962
|
-
|
|
8962
|
+
me(() => {
|
|
8963
8963
|
if (r && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), t && r) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
8964
8964
|
if (e >= wa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${wa}.`);
|
|
8965
8965
|
if (r >= wa) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${wa}.`);
|
|
@@ -8971,42 +8971,42 @@ function As({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
8971
8971
|
}
|
|
8972
8972
|
}, [e, r, t, y, S]);
|
|
8973
8973
|
let K = ee(_);
|
|
8974
|
-
|
|
8974
|
+
me(() => {
|
|
8975
8975
|
K.current = _;
|
|
8976
8976
|
}, [_]);
|
|
8977
8977
|
let Q = ee(b), $ = ee(n), J = ee([...(/* @__PURE__ */ new Set([...p, ...b])).values()]), X = ee(S);
|
|
8978
|
-
|
|
8978
|
+
me(() => {
|
|
8979
8979
|
X.current = S, !H.current && (S ? ze() : y || Je());
|
|
8980
8980
|
}, [S]);
|
|
8981
8981
|
let ie = ee(f);
|
|
8982
|
-
|
|
8982
|
+
me(() => {
|
|
8983
8983
|
ie.current = f;
|
|
8984
8984
|
}, [f]);
|
|
8985
|
-
let
|
|
8986
|
-
|
|
8987
|
-
|
|
8985
|
+
let ue = ee(l);
|
|
8986
|
+
me(() => {
|
|
8987
|
+
ue.current = l;
|
|
8988
8988
|
}, [l]);
|
|
8989
8989
|
let ye = ee(i);
|
|
8990
|
-
|
|
8990
|
+
me(() => {
|
|
8991
8991
|
ye.current = i;
|
|
8992
8992
|
}, [i]);
|
|
8993
8993
|
let oe = ee(a);
|
|
8994
|
-
|
|
8994
|
+
me(() => {
|
|
8995
8995
|
oe.current = a;
|
|
8996
8996
|
}, [a]);
|
|
8997
8997
|
let fe = ee(s);
|
|
8998
|
-
|
|
8998
|
+
me(() => {
|
|
8999
8999
|
fe.current = s;
|
|
9000
9000
|
}, [s]);
|
|
9001
9001
|
let Te = ee(o);
|
|
9002
|
-
|
|
9002
|
+
me(() => {
|
|
9003
9003
|
Te.current = o;
|
|
9004
9004
|
}, [o]);
|
|
9005
9005
|
let ke = Oa(() => {
|
|
9006
9006
|
let I = (De, aa) => fe.current(De, aa);
|
|
9007
|
-
return m > 0 ?
|
|
9007
|
+
return m > 0 ? As(I, m) : u > 0 ? it(I, u) : I;
|
|
9008
9008
|
}, [u, m]), je = ee();
|
|
9009
|
-
|
|
9009
|
+
me(() => {
|
|
9010
9010
|
U && T && (je.current = it(() => {
|
|
9011
9011
|
D.current.active();
|
|
9012
9012
|
}, T));
|
|
@@ -9016,7 +9016,7 @@ function As({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9016
9016
|
}, Ge = (I, De = !0) => {
|
|
9017
9017
|
be(), N.current = qe.setTimeout(Oe, I || w.current), De && (h.current = he());
|
|
9018
9018
|
}, Ye = (I) => {
|
|
9019
|
-
!B.current && !R.current && (
|
|
9019
|
+
!B.current && !R.current && (ue.current(I, Se), ie.current({ type: "active", prompted: !0 }, Se)), G.current = 0, P.current = he(), B.current = !0, Ge(F.current, !1);
|
|
9020
9020
|
}, Me = () => {
|
|
9021
9021
|
be(), R.current || (ye.current(null, Se), ie.current({ type: "idle" }, Se)), R.current = !0, v.current = he(), K.current ? Re() : B.current && (P.current = 0, B.current = !1);
|
|
9022
9022
|
}, Ce = (I) => {
|
|
@@ -9046,7 +9046,7 @@ function As({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9046
9046
|
}
|
|
9047
9047
|
O.current = !1, G.current = 0, P.current = 0, Ge(), U && T && je.current();
|
|
9048
9048
|
}, ea = ee(Xe);
|
|
9049
|
-
|
|
9049
|
+
me(() => {
|
|
9050
9050
|
let I = W.current;
|
|
9051
9051
|
I && Re(), d > 0 ? ea.current = it(Xe, d) : ea.current = Xe, I && xe();
|
|
9052
9052
|
}, [d, u, m, fe, U, T]);
|
|
@@ -9069,17 +9069,17 @@ function As({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9069
9069
|
let I = Math.round(ca() - ba());
|
|
9070
9070
|
return I >= 0 ? I : 0;
|
|
9071
9071
|
}, [v, E]);
|
|
9072
|
-
|
|
9072
|
+
me(() => {
|
|
9073
9073
|
if (m > 0 && u > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9074
|
-
g &&
|
|
9074
|
+
g && Ns(g);
|
|
9075
9075
|
let I = () => {
|
|
9076
9076
|
D.current && D.current.close(), ke.cancel && ke.cancel(), be(), Re(!0);
|
|
9077
9077
|
};
|
|
9078
9078
|
return ua && window.addEventListener("beforeunload", I), () => {
|
|
9079
9079
|
ua && window.removeEventListener("beforeunload", I), D.current && D.current.close(), ke.cancel && ke.cancel(), be(), Re(!0);
|
|
9080
9080
|
};
|
|
9081
|
-
}, []),
|
|
9082
|
-
D.current && D.current.close(), U ? D.current = new
|
|
9081
|
+
}, []), me(() => {
|
|
9082
|
+
D.current && D.current.close(), U ? D.current = new Ps({ channelName: C, leaderElection: x, onPrompt: () => {
|
|
9083
9083
|
Ye();
|
|
9084
9084
|
}, onIdle: () => {
|
|
9085
9085
|
Me();
|
|
@@ -9088,21 +9088,21 @@ function As({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9088
9088
|
}, onMessage: (I) => {
|
|
9089
9089
|
Te.current(I, Se);
|
|
9090
9090
|
}, start: Je, reset: ra, activate: ga, pause: ze, resume: Ke }) : D.current = null;
|
|
9091
|
-
}, [U, C, x,
|
|
9091
|
+
}, [U, C, x, ue, ye, oe, Te, Je, ra, ze, Ke]), me(() => {
|
|
9092
9092
|
H.current || (be(), Re(!0)), !(y || S) && (c ? Je() : xe());
|
|
9093
|
-
}, [y, c, S, H]),
|
|
9093
|
+
}, [y, c, S, H]), me(() => {
|
|
9094
9094
|
if (!H.current) {
|
|
9095
9095
|
let I = [...(/* @__PURE__ */ new Set([...p, ...b])).values()];
|
|
9096
9096
|
if (Re(), J.current = I, $.current = n, Q.current = b, y || S) return;
|
|
9097
9097
|
c ? Je() : xe();
|
|
9098
9098
|
}
|
|
9099
|
-
}, [n, JSON.stringify(p), JSON.stringify(b), H, S, y, c]),
|
|
9099
|
+
}, [n, JSON.stringify(p), JSON.stringify(b), H, S, y, c]), me(() => {
|
|
9100
9100
|
H.current && (H.current = !1);
|
|
9101
9101
|
}, [H]);
|
|
9102
9102
|
let Se = { message: Wa, start: Je, reset: ra, activate: ga, pause: ze, resume: Ke, isIdle: Ea, isPrompted: Na, isLeader: za, isLastActiveTab: Ia, getTabId: da, getRemainingTime: Ua, getElapsedTime: Ve, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: La, getIdleTime: Ga, getTotalIdleTime: ba, getActiveTime: Ma, getTotalActiveTime: Ra, setOnPresenceChange: (I) => {
|
|
9103
9103
|
f = I, ie.current = I;
|
|
9104
9104
|
}, setOnPrompt: (I) => {
|
|
9105
|
-
l = I,
|
|
9105
|
+
l = I, ue.current = I;
|
|
9106
9106
|
}, setOnIdle: (I) => {
|
|
9107
9107
|
i = I, ye.current = I;
|
|
9108
9108
|
}, setOnActive: (I) => {
|
|
@@ -9114,9 +9114,9 @@ function As({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9114
9114
|
} };
|
|
9115
9115
|
return Se;
|
|
9116
9116
|
}
|
|
9117
|
-
var
|
|
9118
|
-
|
|
9119
|
-
const
|
|
9117
|
+
var Bs = zi(null);
|
|
9118
|
+
Bs.Consumer;
|
|
9119
|
+
const Zm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Os({
|
|
9120
9120
|
onIdle: e,
|
|
9121
9121
|
onActive: r,
|
|
9122
9122
|
onAction: t,
|
|
@@ -9141,7 +9141,7 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9141
9141
|
default:
|
|
9142
9142
|
return "En";
|
|
9143
9143
|
}
|
|
9144
|
-
}, Pn = "game-icon-ds88",
|
|
9144
|
+
}, Pn = "game-icon-ds88", Jm = ({ gameData: e = {} } = {}) => {
|
|
9145
9145
|
const { lng: r } = re(), t = Rn(r), {
|
|
9146
9146
|
gameCode: n,
|
|
9147
9147
|
// 遊戲代碼
|
|
@@ -9204,7 +9204,7 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9204
9204
|
gameImageUrl: x,
|
|
9205
9205
|
gameImageUrlAnimated: S
|
|
9206
9206
|
};
|
|
9207
|
-
},
|
|
9207
|
+
}, Hs = (e, r = !1) => Hl([
|
|
9208
9208
|
"EVO",
|
|
9209
9209
|
"IMSPRIBE",
|
|
9210
9210
|
"SABA",
|
|
@@ -9215,7 +9215,7 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9215
9215
|
"HACK",
|
|
9216
9216
|
"NAGA",
|
|
9217
9217
|
"RSG"
|
|
9218
|
-
], e) && r ? `${e}_dark` : e,
|
|
9218
|
+
], e) && r ? `${e}_dark` : e, Km = ({ platformData: e, darkMode: r } = {}) => {
|
|
9219
9219
|
const {
|
|
9220
9220
|
SubPlatformEnum: t,
|
|
9221
9221
|
// 子平台枚舉
|
|
@@ -9237,7 +9237,7 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9237
9237
|
// 臨時維護開始時間
|
|
9238
9238
|
temp_maintenance_end_time: s
|
|
9239
9239
|
// 臨時維護結束時間
|
|
9240
|
-
} = e || {}, o = `${pa}/${
|
|
9240
|
+
} = e || {}, o = `${pa}/${Kn}/${Hs(n, r)}.png`;
|
|
9241
9241
|
return {
|
|
9242
9242
|
subPlatformEnum: t,
|
|
9243
9243
|
platformEnum: n,
|
|
@@ -9251,19 +9251,19 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9251
9251
|
tempMaintenanceEndTime: s,
|
|
9252
9252
|
platformImageUrl: o
|
|
9253
9253
|
};
|
|
9254
|
-
},
|
|
9254
|
+
}, Ws = (e = {}) => !Ii(e) || Ee(e) ? [] : Vi(e), Fn = (e = []) => !ta(e) || Ee(e) ? [] : We(e, "platform"), zs = (e = []) => !ta(e) || Ee(e) ? [] : We(e, "gameTypeName"), Is = (e = []) => !ta(e) || Ee(e) ? [] : We(e, "game_subtype"), Vs = (e = {}) => !Ii(e) || Ee(e) ? [] : Vi(e), Zs = (e = [], r = []) => !ta(e) || Ee(e) ? {} : !ta(r) || Ee(r) ? {} : e.reduce((t, n) => {
|
|
9255
9255
|
const p = r.map((g) => g.game_subtype);
|
|
9256
9256
|
return p.forEach((g) => {
|
|
9257
9257
|
t[g] = t[g] || [];
|
|
9258
9258
|
}), p.includes(n.game_subtype) && t[n.game_subtype].push(n), t;
|
|
9259
|
-
}, {}),
|
|
9259
|
+
}, {}), Js = ({
|
|
9260
9260
|
gameTypes: e = [],
|
|
9261
9261
|
platforms: r = [],
|
|
9262
9262
|
gameList: t = {},
|
|
9263
9263
|
allGameTypes: n = [],
|
|
9264
9264
|
allPlatforms: p = []
|
|
9265
9265
|
}) => !ta(e) || !ta(r) ? {} : Ee(t) ? {} : e.reduce((g, b) => {
|
|
9266
|
-
const f =
|
|
9266
|
+
const f = Ql({
|
|
9267
9267
|
gameTypeName: b,
|
|
9268
9268
|
platforms: r,
|
|
9269
9269
|
gameList: t,
|
|
@@ -9271,17 +9271,17 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9271
9271
|
allPlatforms: p
|
|
9272
9272
|
});
|
|
9273
9273
|
return Ee(f) || (g[b] = f), g;
|
|
9274
|
-
}, {}),
|
|
9274
|
+
}, {}), qm = ({
|
|
9275
9275
|
types: e = [],
|
|
9276
9276
|
platforms: r = [],
|
|
9277
9277
|
allGameType: t = [],
|
|
9278
9278
|
allGamePlatform: n = [],
|
|
9279
9279
|
allGameList: p = {}
|
|
9280
9280
|
} = {}) => !Array.isArray(e) || !Array.isArray(r) ? {} : e.reduce((g, b) => {
|
|
9281
|
-
const f =
|
|
9281
|
+
const f = Qn(t, b);
|
|
9282
9282
|
if (!f) return g;
|
|
9283
9283
|
const l = p[f] || [], i = r.reduce((a, s) => {
|
|
9284
|
-
const o =
|
|
9284
|
+
const o = $l({
|
|
9285
9285
|
platformName: s,
|
|
9286
9286
|
gamesOfType: l,
|
|
9287
9287
|
allPlatforms: n
|
|
@@ -9289,9 +9289,9 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9289
9289
|
return Ee(o) ? a : { ...a, [s]: o };
|
|
9290
9290
|
}, {});
|
|
9291
9291
|
return Ee(i) || (g[b] = i), g;
|
|
9292
|
-
}, {}),
|
|
9292
|
+
}, {}), Ks = (e = {}) => !Ii(e) || Ee(e) ? {} : Object.values(e).reduce((t, n) => (Object.entries(n).forEach(([p, g]) => {
|
|
9293
9293
|
t[p] ? t[p] = [...t[p], ...g] : t[p] = g;
|
|
9294
|
-
}), t), {}),
|
|
9294
|
+
}), t), {}), qs = (e = {}) => {
|
|
9295
9295
|
if (!Ii(e) || Ee(e)) return {};
|
|
9296
9296
|
const r = {};
|
|
9297
9297
|
for (const [t, n] of Object.entries(e)) {
|
|
@@ -9302,7 +9302,7 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9302
9302
|
}
|
|
9303
9303
|
}
|
|
9304
9304
|
return r;
|
|
9305
|
-
},
|
|
9305
|
+
}, Qs = ({
|
|
9306
9306
|
allGameList: e = {},
|
|
9307
9307
|
allGamePlatform: r = [],
|
|
9308
9308
|
allGameType: t = [],
|
|
@@ -9315,21 +9315,21 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9315
9315
|
highlightGames: i = [],
|
|
9316
9316
|
originPlatform: a = []
|
|
9317
9317
|
}) => {
|
|
9318
|
-
const s =
|
|
9318
|
+
const s = Ws(e), o = Fn(r), m = zs(t), u = Is(n), d = Fn(a), c = Vs(f), y = Js({
|
|
9319
9319
|
gameTypes: m,
|
|
9320
9320
|
platforms: o,
|
|
9321
9321
|
gameList: e,
|
|
9322
9322
|
allGameTypes: t,
|
|
9323
9323
|
allPlatforms: r
|
|
9324
9324
|
}), _ = We(r, (M) => {
|
|
9325
|
-
const A = `${pa}/${
|
|
9325
|
+
const A = `${pa}/${Kn}/${M.platformEnum}.png`;
|
|
9326
9326
|
return {
|
|
9327
9327
|
...M,
|
|
9328
9328
|
platformImageUrl: A
|
|
9329
9329
|
};
|
|
9330
|
-
}), U =
|
|
9330
|
+
}), U = Zs(s, n), C = Ks(y), T = qs(C), x = Wn(y).reduce(
|
|
9331
9331
|
(M, [A, v]) => {
|
|
9332
|
-
const h = Vi(
|
|
9332
|
+
const h = Vi(Wl(v));
|
|
9333
9333
|
return M[A] = h, M;
|
|
9334
9334
|
},
|
|
9335
9335
|
{}
|
|
@@ -9370,12 +9370,12 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9370
9370
|
favorite: c
|
|
9371
9371
|
}
|
|
9372
9372
|
};
|
|
9373
|
-
},
|
|
9373
|
+
}, Qm = (e = []) => !ta(e) || Ee(e) ? [] : Vi(e, (r) => Ee(r.SubPlatformEnum) ? r : r.SubPlatformEnum.map((t) => ({
|
|
9374
9374
|
...r,
|
|
9375
9375
|
...t,
|
|
9376
9376
|
platform: t.SubPlatformEnum,
|
|
9377
9377
|
platformEnum: t.SubPlatformEnum
|
|
9378
|
-
}))),
|
|
9378
|
+
}))), $s = {
|
|
9379
9379
|
platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
|
|
9380
9380
|
type: { main: [], sub: [], originMain: [], originSub: [] },
|
|
9381
9381
|
gameList: {
|
|
@@ -9395,7 +9395,7 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9395
9395
|
byGameType: {}
|
|
9396
9396
|
},
|
|
9397
9397
|
user: { favorite: [] }
|
|
9398
|
-
},
|
|
9398
|
+
}, js = ({ enabled: e = !0 } = {}) => {
|
|
9399
9399
|
const { getToken: r } = re(), { userFavoriteGameApi: t, userGameListApi: n } = ce(), { data: p, isLoading: g, error: b, refetch: f } = ne({
|
|
9400
9400
|
queryKey: ["gamesInfo"],
|
|
9401
9401
|
queryFn: async () => {
|
|
@@ -9405,7 +9405,7 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9405
9405
|
} catch (a) {
|
|
9406
9406
|
console.warn("Failed to fetch favorite games:", a);
|
|
9407
9407
|
}
|
|
9408
|
-
return
|
|
9408
|
+
return Qs({
|
|
9409
9409
|
allGameList: i.gameTypeGroup || window.gameTypeGroup || {},
|
|
9410
9410
|
allGamePlatform: i.platforms || window.platforms || [],
|
|
9411
9411
|
allGameType: i.gameType || window.gameType || [],
|
|
@@ -9428,12 +9428,12 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
9428
9428
|
refetchOnWindowFocus: !1
|
|
9429
9429
|
});
|
|
9430
9430
|
return {
|
|
9431
|
-
gamesInfo: p ||
|
|
9431
|
+
gamesInfo: p || $s,
|
|
9432
9432
|
isLoading: g,
|
|
9433
9433
|
error: b,
|
|
9434
9434
|
refetch: f
|
|
9435
9435
|
};
|
|
9436
|
-
},
|
|
9436
|
+
}, Ys = (e = !1) => {
|
|
9437
9437
|
if (!e && window.gameTypeGroup) {
|
|
9438
9438
|
console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
|
|
9439
9439
|
return;
|
|
@@ -35960,18 +35960,18 @@ const Vm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => As({
|
|
|
35960
35960
|
is_invalid_bet: 0
|
|
35961
35961
|
}
|
|
35962
35962
|
});
|
|
35963
|
-
},
|
|
35963
|
+
}, Xs = ({
|
|
35964
35964
|
children: e,
|
|
35965
35965
|
autoFetch: r = !1,
|
|
35966
35966
|
mockData: t = !1
|
|
35967
35967
|
}) => {
|
|
35968
|
-
|
|
35969
|
-
t &&
|
|
35968
|
+
me(() => {
|
|
35969
|
+
t && Ys(!0);
|
|
35970
35970
|
}, [t]);
|
|
35971
|
-
const n =
|
|
35972
|
-
return /* @__PURE__ */ Ae.jsx(
|
|
35971
|
+
const n = js({ enabled: r });
|
|
35972
|
+
return /* @__PURE__ */ Ae.jsx(qn.Provider, { value: n, children: e });
|
|
35973
35973
|
};
|
|
35974
|
-
function
|
|
35974
|
+
function $m({
|
|
35975
35975
|
children: e,
|
|
35976
35976
|
autoFetchGamesInfo: r = !1,
|
|
35977
35977
|
useMockData: t = !1,
|
|
@@ -35982,7 +35982,7 @@ function Qm({
|
|
|
35982
35982
|
() => Et({ ...p, formData: !0 }),
|
|
35983
35983
|
[p]
|
|
35984
35984
|
), f = Oa(
|
|
35985
|
-
() => new
|
|
35985
|
+
() => new wl({
|
|
35986
35986
|
defaultOptions: {
|
|
35987
35987
|
queries: {
|
|
35988
35988
|
refetchOnWindowFocus: !1,
|
|
@@ -35992,8 +35992,8 @@ function Qm({
|
|
|
35992
35992
|
}),
|
|
35993
35993
|
[]
|
|
35994
35994
|
), l = n || f;
|
|
35995
|
-
return /* @__PURE__ */ Ae.jsx(
|
|
35996
|
-
|
|
35995
|
+
return /* @__PURE__ */ Ae.jsx(Al, { client: l, children: /* @__PURE__ */ Ae.jsx(zn.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Ae.jsx(Kl, { children: /* @__PURE__ */ Ae.jsx(
|
|
35996
|
+
Xs,
|
|
35997
35997
|
{
|
|
35998
35998
|
autoFetch: r,
|
|
35999
35999
|
mockData: t,
|
|
@@ -36009,7 +36009,7 @@ function ii(e) {
|
|
|
36009
36009
|
}
|
|
36010
36010
|
return e;
|
|
36011
36011
|
}
|
|
36012
|
-
var
|
|
36012
|
+
var em = {
|
|
36013
36013
|
read: function(e) {
|
|
36014
36014
|
return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
36015
36015
|
},
|
|
@@ -36070,10 +36070,10 @@ function rt(e, r) {
|
|
|
36070
36070
|
}
|
|
36071
36071
|
);
|
|
36072
36072
|
}
|
|
36073
|
-
rt(
|
|
36074
|
-
const
|
|
36073
|
+
var wn = rt(em, { path: "/" });
|
|
36074
|
+
const jm = ({ onFunction: e = () => {
|
|
36075
36075
|
}, buttonProps: r = {} } = {}) => {
|
|
36076
|
-
const { lineConfig: t } = re(), n = ee(!1), p =
|
|
36076
|
+
const { lineConfig: t } = re(), n = ee(!1), p = pe(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), f = g.get("trans_code"), l = g.get("line_id"), i = g.get("line_name"), a = g.get("invite_code"), { mutate: s, isPending: o } = Ao({
|
|
36077
36077
|
options: {
|
|
36078
36078
|
onSuccess: (u) => {
|
|
36079
36079
|
e(u);
|
|
@@ -36081,7 +36081,7 @@ const $m = ({ onFunction: e = () => {
|
|
|
36081
36081
|
retry: !1
|
|
36082
36082
|
}
|
|
36083
36083
|
});
|
|
36084
|
-
|
|
36084
|
+
me(() => {
|
|
36085
36085
|
n.current || b === "true" && l && i && (s({
|
|
36086
36086
|
trans_code: f,
|
|
36087
36087
|
line_id: l,
|
|
@@ -36111,20 +36111,20 @@ const $m = ({ onFunction: e = () => {
|
|
|
36111
36111
|
}
|
|
36112
36112
|
) : null;
|
|
36113
36113
|
};
|
|
36114
|
-
var
|
|
36114
|
+
var am = Object.defineProperty, Wi = Object.getOwnPropertySymbols, vl = Object.prototype.hasOwnProperty, hl = Object.prototype.propertyIsEnumerable, An = (e, r, t) => r in e ? am(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, ot = (e, r) => {
|
|
36115
36115
|
for (var t in r || (r = {}))
|
|
36116
|
-
|
|
36116
|
+
vl.call(r, t) && An(e, t, r[t]);
|
|
36117
36117
|
if (Wi)
|
|
36118
36118
|
for (var t of Wi(r))
|
|
36119
|
-
|
|
36119
|
+
hl.call(r, t) && An(e, t, r[t]);
|
|
36120
36120
|
return e;
|
|
36121
36121
|
}, st = (e, r) => {
|
|
36122
36122
|
var t = {};
|
|
36123
36123
|
for (var n in e)
|
|
36124
|
-
|
|
36124
|
+
vl.call(e, n) && r.indexOf(n) < 0 && (t[n] = e[n]);
|
|
36125
36125
|
if (e != null && Wi)
|
|
36126
36126
|
for (var n of Wi(e))
|
|
36127
|
-
r.indexOf(n) < 0 &&
|
|
36127
|
+
r.indexOf(n) < 0 && hl.call(e, n) && (t[n] = e[n]);
|
|
36128
36128
|
return t;
|
|
36129
36129
|
};
|
|
36130
36130
|
var xa;
|
|
@@ -36663,13 +36663,13 @@ var xa;
|
|
|
36663
36663
|
})(e.QrSegment || (e.QrSegment = {}));
|
|
36664
36664
|
})(xa || (xa = {}));
|
|
36665
36665
|
var Aa = xa;
|
|
36666
|
-
var
|
|
36666
|
+
var im = {
|
|
36667
36667
|
L: Aa.QrCode.Ecc.LOW,
|
|
36668
36668
|
M: Aa.QrCode.Ecc.MEDIUM,
|
|
36669
36669
|
Q: Aa.QrCode.Ecc.QUARTILE,
|
|
36670
36670
|
H: Aa.QrCode.Ecc.HIGH
|
|
36671
|
-
},
|
|
36672
|
-
function
|
|
36671
|
+
}, Tl = 128, kl = "L", xl = "#FFFFFF", Sl = "#000000", Dl = !1, El = 1, tm = 4, nm = 0, lm = 0.1;
|
|
36672
|
+
function Nl(e, r = 0) {
|
|
36673
36673
|
const t = [];
|
|
36674
36674
|
return e.forEach(function(n, p) {
|
|
36675
36675
|
let g = null;
|
|
@@ -36692,13 +36692,13 @@ function El(e, r = 0) {
|
|
|
36692
36692
|
});
|
|
36693
36693
|
}), t.join("");
|
|
36694
36694
|
}
|
|
36695
|
-
function
|
|
36695
|
+
function Ll(e, r) {
|
|
36696
36696
|
return e.slice().map((t, n) => n < r.y || n >= r.y + r.h ? t : t.map((p, g) => g < r.x || g >= r.x + r.w ? p : !1));
|
|
36697
36697
|
}
|
|
36698
|
-
function
|
|
36698
|
+
function rm(e, r, t, n) {
|
|
36699
36699
|
if (n == null)
|
|
36700
36700
|
return null;
|
|
36701
|
-
const p = e.length + t * 2, g = Math.floor(r *
|
|
36701
|
+
const p = e.length + t * 2, g = Math.floor(r * lm), b = p / r, f = (n.width || g) * b, l = (n.height || g) * b, i = n.x == null ? e.length / 2 - f / 2 : n.x * b, a = n.y == null ? e.length / 2 - l / 2 : n.y * b, s = n.opacity == null ? 1 : n.opacity;
|
|
36702
36702
|
let o = null;
|
|
36703
36703
|
if (n.excavate) {
|
|
36704
36704
|
let u = Math.floor(i), d = Math.floor(a), c = Math.ceil(f + i - u), y = Math.ceil(l + a - d);
|
|
@@ -36707,10 +36707,10 @@ function lm(e, r, t, n) {
|
|
|
36707
36707
|
const m = n.crossOrigin;
|
|
36708
36708
|
return { x: i, y: a, h: l, w: f, excavation: o, opacity: s, crossOrigin: m };
|
|
36709
36709
|
}
|
|
36710
|
-
function
|
|
36711
|
-
return r != null ? Math.max(Math.floor(r), 0) : e ?
|
|
36710
|
+
function om(e, r) {
|
|
36711
|
+
return r != null ? Math.max(Math.floor(r), 0) : e ? tm : nm;
|
|
36712
36712
|
}
|
|
36713
|
-
function
|
|
36713
|
+
function Gl({
|
|
36714
36714
|
value: e,
|
|
36715
36715
|
level: r,
|
|
36716
36716
|
minVersion: t,
|
|
@@ -36724,7 +36724,7 @@ function Ll({
|
|
|
36724
36724
|
const u = (Array.isArray(e) ? e : [e]).reduce((d, c) => (d.push(...Aa.QrSegment.makeSegments(c)), d), []);
|
|
36725
36725
|
return Aa.QrCode.encodeSegments(
|
|
36726
36726
|
u,
|
|
36727
|
-
|
|
36727
|
+
im[r],
|
|
36728
36728
|
t,
|
|
36729
36729
|
void 0,
|
|
36730
36730
|
void 0,
|
|
@@ -36733,7 +36733,7 @@ function Ll({
|
|
|
36733
36733
|
}, [e, r, t, f]);
|
|
36734
36734
|
const { cells: i, margin: a, numCells: s, calculatedImageSettings: o } = ge.useMemo(() => {
|
|
36735
36735
|
let m = l.getModules();
|
|
36736
|
-
const u =
|
|
36736
|
+
const u = om(n, p), d = m.length + u * 2, c = rm(
|
|
36737
36737
|
m,
|
|
36738
36738
|
b,
|
|
36739
36739
|
u,
|
|
@@ -36754,23 +36754,23 @@ function Ll({
|
|
|
36754
36754
|
calculatedImageSettings: o
|
|
36755
36755
|
};
|
|
36756
36756
|
}
|
|
36757
|
-
var
|
|
36757
|
+
var sm = (function() {
|
|
36758
36758
|
try {
|
|
36759
36759
|
new Path2D().addPath(new Path2D());
|
|
36760
36760
|
} catch {
|
|
36761
36761
|
return !1;
|
|
36762
36762
|
}
|
|
36763
36763
|
return !0;
|
|
36764
|
-
})(),
|
|
36764
|
+
})(), mm = ge.forwardRef(
|
|
36765
36765
|
function(r, t) {
|
|
36766
36766
|
const n = r, {
|
|
36767
36767
|
value: p,
|
|
36768
|
-
size: g =
|
|
36769
|
-
level: b =
|
|
36770
|
-
bgColor: f =
|
|
36771
|
-
fgColor: l =
|
|
36772
|
-
includeMargin: i =
|
|
36773
|
-
minVersion: a =
|
|
36768
|
+
size: g = Tl,
|
|
36769
|
+
level: b = kl,
|
|
36770
|
+
bgColor: f = xl,
|
|
36771
|
+
fgColor: l = Sl,
|
|
36772
|
+
includeMargin: i = Dl,
|
|
36773
|
+
minVersion: a = El,
|
|
36774
36774
|
boostLevel: s,
|
|
36775
36775
|
marginSize: o,
|
|
36776
36776
|
imageSettings: m
|
|
@@ -36790,7 +36790,7 @@ var om = (function() {
|
|
|
36790
36790
|
U.current = P, typeof t == "function" ? t(P) : t && (t.current = P);
|
|
36791
36791
|
},
|
|
36792
36792
|
[t]
|
|
36793
|
-
), [x, S] = ge.useState(!1), { margin: M, cells: A, numCells: v, calculatedImageSettings: h } =
|
|
36793
|
+
), [x, S] = ge.useState(!1), { margin: M, cells: A, numCells: v, calculatedImageSettings: h } = Gl({
|
|
36794
36794
|
value: p,
|
|
36795
36795
|
level: b,
|
|
36796
36796
|
minVersion: a,
|
|
@@ -36807,14 +36807,14 @@ var om = (function() {
|
|
|
36807
36807
|
return;
|
|
36808
36808
|
let R = A;
|
|
36809
36809
|
const B = C.current, O = h != null && B !== null && B.complete && B.naturalHeight !== 0 && B.naturalWidth !== 0;
|
|
36810
|
-
O && h.excavation != null && (R =
|
|
36810
|
+
O && h.excavation != null && (R = Ll(
|
|
36811
36811
|
A,
|
|
36812
36812
|
h.excavation
|
|
36813
36813
|
));
|
|
36814
36814
|
const H = window.devicePixelRatio || 1;
|
|
36815
36815
|
P.height = P.width = g * H;
|
|
36816
36816
|
const W = g / v * H;
|
|
36817
|
-
G.scale(W, W), G.fillStyle = f, G.fillRect(0, 0, v, v), G.fillStyle = l,
|
|
36817
|
+
G.scale(W, W), G.fillStyle = f, G.fillRect(0, 0, v, v), G.fillStyle = l, sm ? G.fill(new Path2D(Nl(R, M))) : A.forEach(function(N, D) {
|
|
36818
36818
|
N.forEach(function(w, F) {
|
|
36819
36819
|
w && G.fillRect(F + M, D + M, 1, 1);
|
|
36820
36820
|
});
|
|
@@ -36855,17 +36855,17 @@ var om = (function() {
|
|
|
36855
36855
|
), L);
|
|
36856
36856
|
}
|
|
36857
36857
|
);
|
|
36858
|
-
|
|
36859
|
-
var
|
|
36858
|
+
mm.displayName = "QRCodeCanvas";
|
|
36859
|
+
var Ml = ge.forwardRef(
|
|
36860
36860
|
function(r, t) {
|
|
36861
36861
|
const n = r, {
|
|
36862
36862
|
value: p,
|
|
36863
|
-
size: g =
|
|
36864
|
-
level: b =
|
|
36865
|
-
bgColor: f =
|
|
36866
|
-
fgColor: l =
|
|
36867
|
-
includeMargin: i =
|
|
36868
|
-
minVersion: a =
|
|
36863
|
+
size: g = Tl,
|
|
36864
|
+
level: b = kl,
|
|
36865
|
+
bgColor: f = xl,
|
|
36866
|
+
fgColor: l = Sl,
|
|
36867
|
+
includeMargin: i = Dl,
|
|
36868
|
+
minVersion: a = El,
|
|
36869
36869
|
boostLevel: s,
|
|
36870
36870
|
title: o,
|
|
36871
36871
|
marginSize: m,
|
|
@@ -36882,7 +36882,7 @@ var Gl = ge.forwardRef(
|
|
|
36882
36882
|
"title",
|
|
36883
36883
|
"marginSize",
|
|
36884
36884
|
"imageSettings"
|
|
36885
|
-
]), { margin: c, cells: y, numCells: _, calculatedImageSettings: U } =
|
|
36885
|
+
]), { margin: c, cells: y, numCells: _, calculatedImageSettings: U } = Gl({
|
|
36886
36886
|
value: p,
|
|
36887
36887
|
level: b,
|
|
36888
36888
|
minVersion: a,
|
|
@@ -36893,7 +36893,7 @@ var Gl = ge.forwardRef(
|
|
|
36893
36893
|
size: g
|
|
36894
36894
|
});
|
|
36895
36895
|
let C = y, T = null;
|
|
36896
|
-
u != null && U != null && (U.excavation != null && (C =
|
|
36896
|
+
u != null && U != null && (U.excavation != null && (C = Ll(
|
|
36897
36897
|
y,
|
|
36898
36898
|
U.excavation
|
|
36899
36899
|
)), T = /* @__PURE__ */ ge.createElement(
|
|
@@ -36909,7 +36909,7 @@ var Gl = ge.forwardRef(
|
|
|
36909
36909
|
crossOrigin: U.crossOrigin
|
|
36910
36910
|
}
|
|
36911
36911
|
));
|
|
36912
|
-
const x =
|
|
36912
|
+
const x = Nl(C, c);
|
|
36913
36913
|
return /* @__PURE__ */ ge.createElement(
|
|
36914
36914
|
"svg",
|
|
36915
36915
|
ot({
|
|
@@ -36933,8 +36933,8 @@ var Gl = ge.forwardRef(
|
|
|
36933
36933
|
);
|
|
36934
36934
|
}
|
|
36935
36935
|
);
|
|
36936
|
-
|
|
36937
|
-
const
|
|
36936
|
+
Ml.displayName = "QRCodeSVG";
|
|
36937
|
+
const um = {
|
|
36938
36938
|
position: "fixed",
|
|
36939
36939
|
top: 0,
|
|
36940
36940
|
left: 0,
|
|
@@ -36947,7 +36947,7 @@ const mm = {
|
|
|
36947
36947
|
justifyContent: "center",
|
|
36948
36948
|
zIndex: 1e4,
|
|
36949
36949
|
gap: "2em"
|
|
36950
|
-
},
|
|
36950
|
+
}, On = {
|
|
36951
36951
|
zh_TW: {
|
|
36952
36952
|
title: "請使用 LINE 掃描 QR Code 登入",
|
|
36953
36953
|
expired: "QR Code 已過期"
|
|
@@ -36968,16 +36968,18 @@ const mm = {
|
|
|
36968
36968
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
36969
36969
|
expired: "Kode QR telah kedaluwarsa"
|
|
36970
36970
|
}
|
|
36971
|
-
},
|
|
36972
|
-
const { lng: e, getToken: r } = re(), [t, n] = tt(300), [p, g] = tt(!1), b = ee(null), f = $e(e), l = r?.(), a = new URLSearchParams(window.location.search).get("mac"), { data: s, isFetching: o } =
|
|
36971
|
+
}, eu = () => {
|
|
36972
|
+
const { lng: e, getToken: r } = re(), [t, n] = tt(300), [p, g] = tt(!1), b = ee(null), f = $e(e), l = r?.(), a = new URLSearchParams(window.location.search).get("mac") || wn.get("machine_mac_address") || "", { data: s, isFetching: o } = Bo({
|
|
36973
36973
|
formData: {
|
|
36974
36974
|
mac_address: a
|
|
36975
36975
|
},
|
|
36976
36976
|
options: {
|
|
36977
36977
|
enabled: !!a && !l
|
|
36978
36978
|
}
|
|
36979
|
-
}), m =
|
|
36980
|
-
|
|
36979
|
+
}), m = pe(s, "liff_url", "");
|
|
36980
|
+
me(() => {
|
|
36981
|
+
a && wn.set("machine_mac_address", a, { expires: 365 });
|
|
36982
|
+
}, [a]), me(() => (m && (n(300), g(!1), b.current && clearInterval(b.current), b.current = setInterval(() => {
|
|
36981
36983
|
n((c) => c <= 1 ? (clearInterval(b.current), g(!0), 0) : c - 1);
|
|
36982
36984
|
}, 1e3)), () => {
|
|
36983
36985
|
b.current && clearInterval(b.current);
|
|
@@ -36987,8 +36989,8 @@ const mm = {
|
|
|
36987
36989
|
return `${y}:${_ < 10 ? "0" : ""}${_}`;
|
|
36988
36990
|
};
|
|
36989
36991
|
if (!a || l) return null;
|
|
36990
|
-
const d =
|
|
36991
|
-
return /* @__PURE__ */ Ae.jsx("div", { style:
|
|
36992
|
+
const d = On[f] || On.en_US;
|
|
36993
|
+
return /* @__PURE__ */ Ae.jsx("div", { style: um, children: p ? /* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold" }, children: d.expired }) : /* @__PURE__ */ Ae.jsxs(Ae.Fragment, { children: [
|
|
36992
36994
|
/* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: d.title }),
|
|
36993
36995
|
/* @__PURE__ */ Ae.jsx(
|
|
36994
36996
|
"div",
|
|
@@ -37004,7 +37006,7 @@ const mm = {
|
|
|
37004
37006
|
boxSizing: "border-box",
|
|
37005
37007
|
color: "black"
|
|
37006
37008
|
},
|
|
37007
|
-
children: o ? "Loading..." : /* @__PURE__ */ Ae.jsx(
|
|
37009
|
+
children: o ? "Loading..." : /* @__PURE__ */ Ae.jsx(Ml, { width: "100%", height: "100%", value: m })
|
|
37008
37010
|
}
|
|
37009
37011
|
),
|
|
37010
37012
|
!o && /* @__PURE__ */ Ae.jsx(
|
|
@@ -37017,105 +37019,105 @@ const mm = {
|
|
|
37017
37019
|
] }) });
|
|
37018
37020
|
};
|
|
37019
37021
|
export {
|
|
37020
|
-
|
|
37021
|
-
|
|
37022
|
-
|
|
37023
|
-
|
|
37024
|
-
|
|
37022
|
+
zn as ApiCtx,
|
|
37023
|
+
$m as ApiProvider,
|
|
37024
|
+
qn as GamesInfoCtx,
|
|
37025
|
+
jm as LineLogin,
|
|
37026
|
+
eu as LineQrCode,
|
|
37025
37027
|
Ja as STATUS_TYPES,
|
|
37026
|
-
|
|
37027
|
-
|
|
37028
|
-
|
|
37029
|
-
|
|
37030
|
-
|
|
37031
|
-
|
|
37032
|
-
|
|
37028
|
+
In as StatusContext,
|
|
37029
|
+
Kl as StatusProvider,
|
|
37030
|
+
Js as buildMultiTypes,
|
|
37031
|
+
qm as buildMultiTypesWithSubTypes,
|
|
37032
|
+
$l as buildSinglePlatformWithSubTypes,
|
|
37033
|
+
Ql as buildSingleType,
|
|
37034
|
+
Zs as categorizeGames,
|
|
37033
37035
|
$e as convertLanguageCode,
|
|
37034
|
-
|
|
37035
|
-
|
|
37036
|
-
|
|
37036
|
+
ym as createLogoutHandler,
|
|
37037
|
+
Is as extractGameSubTypeNames,
|
|
37038
|
+
zs as extractGameTypeNames,
|
|
37037
37039
|
Fn as extractPlatformNames,
|
|
37038
|
-
|
|
37039
|
-
|
|
37040
|
-
|
|
37041
|
-
|
|
37042
|
-
|
|
37043
|
-
|
|
37044
|
-
|
|
37045
|
-
|
|
37046
|
-
|
|
37047
|
-
|
|
37048
|
-
|
|
37049
|
-
|
|
37050
|
-
|
|
37051
|
-
|
|
37052
|
-
|
|
37040
|
+
Yn as filterGamesByPlatform,
|
|
37041
|
+
Qn as findGameTypeUid,
|
|
37042
|
+
$n as findPlatformUid,
|
|
37043
|
+
jn as findSubPlatform,
|
|
37044
|
+
Ws as flattenAllGames,
|
|
37045
|
+
Vs as flattenFavoriteGames,
|
|
37046
|
+
Um as formatNumber,
|
|
37047
|
+
Ks as groupGamesByPlatform,
|
|
37048
|
+
qs as groupGamesByPlatformAndSubType,
|
|
37049
|
+
ql as groupGamesBySubType,
|
|
37050
|
+
Hs as handleDarkImage,
|
|
37051
|
+
Ys as initMockWindowData,
|
|
37052
|
+
Qs as processGameInfo,
|
|
37053
|
+
Qm as processPlatformData,
|
|
37054
|
+
xm as useAbandonPoint,
|
|
37053
37055
|
re as useApiContext,
|
|
37054
|
-
|
|
37055
|
-
|
|
37056
|
-
|
|
37057
|
-
|
|
37058
|
-
|
|
37059
|
-
|
|
37060
|
-
|
|
37061
|
-
|
|
37062
|
-
|
|
37063
|
-
|
|
37064
|
-
|
|
37065
|
-
|
|
37066
|
-
|
|
37067
|
-
|
|
37068
|
-
|
|
37069
|
-
|
|
37070
|
-
|
|
37071
|
-
|
|
37072
|
-
|
|
37073
|
-
|
|
37074
|
-
|
|
37075
|
-
|
|
37076
|
-
|
|
37077
|
-
|
|
37078
|
-
|
|
37079
|
-
|
|
37080
|
-
|
|
37081
|
-
|
|
37082
|
-
|
|
37083
|
-
|
|
37084
|
-
|
|
37085
|
-
|
|
37086
|
-
|
|
37087
|
-
|
|
37088
|
-
|
|
37089
|
-
|
|
37090
|
-
|
|
37091
|
-
|
|
37092
|
-
|
|
37093
|
-
|
|
37094
|
-
|
|
37095
|
-
|
|
37096
|
-
|
|
37097
|
-
|
|
37098
|
-
|
|
37099
|
-
|
|
37100
|
-
|
|
37101
|
-
|
|
37102
|
-
|
|
37103
|
-
|
|
37104
|
-
|
|
37105
|
-
|
|
37106
|
-
|
|
37107
|
-
|
|
37108
|
-
|
|
37109
|
-
|
|
37110
|
-
|
|
37111
|
-
|
|
37112
|
-
|
|
37113
|
-
|
|
37114
|
-
|
|
37115
|
-
|
|
37116
|
-
|
|
37117
|
-
|
|
37118
|
-
|
|
37119
|
-
|
|
37120
|
-
|
|
37056
|
+
bm as useBalanceGetter,
|
|
37057
|
+
hm as useBet,
|
|
37058
|
+
go as useBetRecord,
|
|
37059
|
+
co as useBetRecordDetail,
|
|
37060
|
+
zo as useCheckCurrentEventProgress,
|
|
37061
|
+
Io as useCheckEventStatus,
|
|
37062
|
+
km as useCheckPlayerWager,
|
|
37063
|
+
Em as useClientWebSocket,
|
|
37064
|
+
gs as useCurrentRebate,
|
|
37065
|
+
Qo as useDepositAction,
|
|
37066
|
+
jo as useDepositTransaction,
|
|
37067
|
+
Ko as useDepositV1,
|
|
37068
|
+
qo as useDepositV2,
|
|
37069
|
+
Lm as useEvent,
|
|
37070
|
+
Wo as useEventList,
|
|
37071
|
+
Yo as useEventTransaction,
|
|
37072
|
+
ys as useExpiredRewardsList,
|
|
37073
|
+
Jm as useGameConfig,
|
|
37074
|
+
_m as useGameInfoContext,
|
|
37075
|
+
js as useGamesInfo,
|
|
37076
|
+
Gm as useGetCarouseList,
|
|
37077
|
+
Bo as useGetMachineLoginCode,
|
|
37078
|
+
Mm as useGetMarquee,
|
|
37079
|
+
Cm as useGetMemberInfo,
|
|
37080
|
+
Rm as useGetRankingGame,
|
|
37081
|
+
Us as useHistoryRewardsList,
|
|
37082
|
+
Zm as useIdleTimeout,
|
|
37083
|
+
Pm as useInbox,
|
|
37084
|
+
Vo as useInboxList,
|
|
37085
|
+
vm as useInitializeWithToken,
|
|
37086
|
+
Om as useInvoiceAction,
|
|
37087
|
+
Ao as useLineLogin,
|
|
37088
|
+
Oo as useLineLogin2,
|
|
37089
|
+
So as useLogin,
|
|
37090
|
+
Do as useLogout,
|
|
37091
|
+
Sm as useMemberTransfer,
|
|
37092
|
+
wm as useNewsDetail,
|
|
37093
|
+
Fm as useNewsList,
|
|
37094
|
+
Bm as usePayment,
|
|
37095
|
+
Km as usePlatformConfig,
|
|
37096
|
+
Hm as usePlayGame,
|
|
37097
|
+
Tm as usePointTransfer,
|
|
37098
|
+
Zo as useReadInbox,
|
|
37099
|
+
Wm as useRebate,
|
|
37100
|
+
ds as useReceiveRebate,
|
|
37101
|
+
Am as useRedeemCodeDeposit,
|
|
37102
|
+
Nm as useRedeemEventReward,
|
|
37103
|
+
fs as useRedeemReward,
|
|
37104
|
+
Go as useResetUserPassword,
|
|
37105
|
+
Ro as useResetUserTransactionPassword,
|
|
37106
|
+
zm as useRewards,
|
|
37107
|
+
cs as useRewardsList,
|
|
37108
|
+
Mo as useSetUserTransactionPassword,
|
|
37109
|
+
Eo as useSignUp,
|
|
37110
|
+
Vn as useStatus,
|
|
37111
|
+
No as useToggleFavoriteGame,
|
|
37112
|
+
wo as useTransferInGame,
|
|
37113
|
+
_s as useUnUsedRewardsList,
|
|
37114
|
+
Lo as useUpdateUserInfo,
|
|
37115
|
+
Dm as useUser,
|
|
37116
|
+
Fo as useUserBindCard,
|
|
37117
|
+
Po as useUserRebate,
|
|
37118
|
+
Vm as useVip,
|
|
37119
|
+
Im as useVipInfo,
|
|
37120
|
+
bs as useVipList,
|
|
37121
|
+
$o as useWithdrawAction,
|
|
37122
|
+
es as useWithdrawTransaction
|
|
37121
37123
|
};
|