@obb871001/api-integration-sdk 1.0.370 → 1.0.371

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.js CHANGED
@@ -1,13 +1,13 @@
1
- import de, { createContext as Qt, useContext as yi, useState as ui, useMemo as Oa, useCallback as z, useRef as te, useEffect as pe } from "react";
2
- import { useQueries as zn, useQuery as $, useQueryClient as Wa, useMutation as ee, QueryClient as Br, QueryClientProvider as Hr } from "@tanstack/react-query";
3
- import Wr from "axios";
4
- import { get as Y, find as Ie, isEmpty as Ne, entries as In, forEach as zr, map as Le, isArray as ea, toLower as Ni, omit as Ir, keyBy as Vr, replace as it, includes as Jr, isObject as jt, flatMap as Yt, values as Zr, keys as Li } from "lodash";
5
- import Kr from "react-dom";
1
+ import de, { createContext as Qt, useContext as _i, useState as mi, useMemo as Oa, useCallback as z, useRef as te, useEffect as pe } from "react";
2
+ import { useQueries as Wn, useQuery as $, useQueryClient as Wa, useMutation as ee, QueryClient as Or, QueryClientProvider as Br } from "@tanstack/react-query";
3
+ import Hr from "axios";
4
+ import { get as Y, find as Ie, isEmpty as Ne, entries as zn, forEach as Wr, map as Le, isArray as ea, toLower as Ei, omit as zr, keyBy as Ir, replace as it, includes as Vr, isObject as jt, flatMap as Yt, values as Jr, keys as Ni } from "lodash";
5
+ import Zr from "react-dom";
6
6
  var ti = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
- function Ui(e) {
7
+ function yi(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
- function qr(e) {
10
+ function Kr(e) {
11
11
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
12
12
  var n = e.default;
13
13
  if (typeof n == "function") {
@@ -32,10 +32,10 @@ function qr(e) {
32
32
  }), t;
33
33
  }
34
34
  var nt = { exports: {} }, Ka = {};
35
- var Gi;
36
- function $r() {
37
- if (Gi) return Ka;
38
- Gi = 1;
35
+ var Li;
36
+ function qr() {
37
+ if (Li) return Ka;
38
+ Li = 1;
39
39
  var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
40
  function b(d, l, a) {
41
41
  var i, o = {}, s = null, u = null;
@@ -47,9 +47,9 @@ function $r() {
47
47
  return Ka.Fragment = t, Ka.jsx = b, Ka.jsxs = b, Ka;
48
48
  }
49
49
  var qa = {};
50
- var Mi;
51
- function Qr() {
52
- return Mi || (Mi = 1, process.env.NODE_ENV !== "production" && (function() {
50
+ var Gi;
51
+ function $r() {
52
+ return Gi || (Gi = 1, process.env.NODE_ENV !== "production" && (function() {
53
53
  var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), d = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, _ = "@@iterator";
54
54
  function c(T) {
55
55
  if (T === null || typeof T != "object")
@@ -611,17 +611,17 @@ Check the top-level render call using <` + J + ">.");
611
611
  Se($e, T);
612
612
  }
613
613
  if (fe.call(I, "key")) {
614
- var ba = A(T), ze = Object.keys(I).filter(function(Or) {
615
- return Or !== "key";
614
+ var ba = A(T), ze = Object.keys(I).filter(function(Ar) {
615
+ return Ar !== "key";
616
616
  }), ai = ze.length > 0 ? "{key: someKey, " + ze.join(": ..., ") + ": ...}" : "{key: someKey}";
617
617
  if (!na[ba + ai]) {
618
- var Ar = ze.length > 0 ? "{" + ze.join(": ..., ") + ": ...}" : "{}";
618
+ var Fr = ze.length > 0 ? "{" + ze.join(": ..., ") + ": ...}" : "{}";
619
619
  f(`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} />`, ai, ba, Ar, ba), na[ba + ai] = !0;
624
+ <%s key={someKey} {...props} />`, ai, ba, Fr, ba), na[ba + ai] = !0;
625
625
  }
626
626
  }
627
627
  return T === r ? De(he) : V(he), he;
@@ -633,25 +633,25 @@ React keys must be passed directly to JSX without using spread:
633
633
  function tt(T, I, J) {
634
634
  return Ae(T, I, J, !1);
635
635
  }
636
- var ei = tt, Fr = ra;
637
- qa.Fragment = r, qa.jsx = ei, qa.jsxs = Fr;
636
+ var ei = tt, wr = ra;
637
+ qa.Fragment = r, qa.jsx = ei, qa.jsxs = wr;
638
638
  })()), qa;
639
639
  }
640
- var Ri;
641
- function jr() {
642
- return Ri || (Ri = 1, process.env.NODE_ENV === "production" ? nt.exports = $r() : nt.exports = Qr()), nt.exports;
640
+ var Mi;
641
+ function Qr() {
642
+ return Mi || (Mi = 1, process.env.NODE_ENV === "production" ? nt.exports = qr() : nt.exports = $r()), nt.exports;
643
643
  }
644
- var Oe = jr();
645
- const Vn = Qt(null), se = () => {
646
- const e = yi(Vn);
644
+ var Oe = Qr();
645
+ const In = Qt(null), se = () => {
646
+ const e = _i(In);
647
647
  if (!e)
648
648
  throw new Error("useApiContext must be used within ApiProvider");
649
649
  return e;
650
650
  }, $a = {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
- }, Jn = Qt(null), Yr = ({ children: e }) => {
654
- const [n, t] = ui($a.READY), r = Oa(() => {
653
+ }, Vn = Qt(null), jr = ({ children: e }) => {
654
+ const [n, t] = mi($a.READY), r = Oa(() => {
655
655
  const p = n === $a.READY, g = n === $a.PENDING;
656
656
  return {
657
657
  status: n,
@@ -662,9 +662,9 @@ const Vn = Qt(null), se = () => {
662
662
  setAsPending: () => t($a.PENDING)
663
663
  };
664
664
  }, [n]);
665
- return /* @__PURE__ */ Oe.jsx(Jn.Provider, { value: r, children: e });
666
- }, Zn = () => {
667
- const e = yi(Jn);
665
+ return /* @__PURE__ */ Oe.jsx(Vn.Provider, { value: r, children: e });
666
+ }, Jn = () => {
667
+ const e = _i(Vn);
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 Vn = Qt(null), se = () => {
687
687
  default:
688
688
  return e;
689
689
  }
690
- }, Ke = "https://d1h3qe8voog6w4.cloudfront.net", rt = "https://d3jx2uvukujuvn.cloudfront.net", Kn = (e) => `${Ke}/reward_icon/${e}.avif`, qn = () => `${Ke}/reward_icon/background_deposit.avif`, $n = "ds88platformIcon", Ba = {
690
+ }, Ke = "https://d1h3qe8voog6w4.cloudfront.net", rt = "https://d3jx2uvukujuvn.cloudfront.net", Zn = (e) => `${Ke}/reward_icon/${e}.avif`, Kn = () => `${Ke}/reward_icon/background_deposit.avif`, qn = "ds88platformIcon", Ba = {
691
691
  zh_TW: "系統提示",
692
692
  zh_CN: "系统提示",
693
693
  en_US: "System Prompt",
@@ -695,7 +695,7 @@ const Vn = Qt(null), se = () => {
695
695
  vi_VN: "Lời nhắc hệ thống",
696
696
  th_TH: "ข้อความระบบ",
697
697
  ja_JP: "システムプロンプト"
698
- }, Xr = {
698
+ }, Yr = {
699
699
  zh_TW: "我們正在為您處理轉點中",
700
700
  zh_CN: "我们正在为您处理转点中",
701
701
  en_US: "We are processing your transfer",
@@ -704,7 +704,7 @@ const Vn = Qt(null), se = () => {
704
704
  th_TH: "เรากำลังดำเนินการโอนของคุณ",
705
705
  ja_JP: "転送を処理しています"
706
706
  };
707
- function Pi({
707
+ function Ri({
708
708
  baseURL: e,
709
709
  getToken: n,
710
710
  timeoutMs: t = 15e3,
@@ -715,7 +715,7 @@ function Pi({
715
715
  currency: d,
716
716
  toasterOpen: l = !1
717
717
  } = {}) {
718
- const a = Wr.create({
718
+ const a = Hr.create({
719
719
  baseURL: e,
720
720
  timeout: t,
721
721
  headers: {
@@ -753,8 +753,8 @@ function Pi({
753
753
  }
754
754
  ), a;
755
755
  }
756
- const Qn = Qt(null), Tm = () => {
757
- const e = yi(Qn);
756
+ const $n = Qt(null), Tm = () => {
757
+ const e = _i($n);
758
758
  if (!e)
759
759
  throw new Error(
760
760
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
@@ -786,43 +786,43 @@ const Qn = Qt(null), Tm = () => {
786
786
  minimumFractionDigits: 2,
787
787
  maximumFractionDigits: 2
788
788
  }).format(n);
789
- }, jn = (e = [], n) => Ie(e, { gameTypeName: n })?.gameTypeUid, Yn = (e = [], n) => Ie(e, { platform: n })?.platformUid, Xn = (e = [], n) => Ie(e, { SubPlatformEnum: n }), er = (e = [], n, t) => Ne(e) ? [] : e.filter((r) => t ? String(r?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(r.platformUid) === String(n)), el = (e = []) => Ne(e) ? {} : e.reduce((n, t) => {
789
+ }, Qn = (e = [], n) => Ie(e, { gameTypeName: n })?.gameTypeUid, jn = (e = [], n) => Ie(e, { platform: n })?.platformUid, Yn = (e = [], n) => Ie(e, { SubPlatformEnum: n }), Xn = (e = [], n, t) => Ne(e) ? [] : e.filter((r) => t ? String(r?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(r.platformUid) === String(n)), Xr = (e = []) => Ne(e) ? {} : e.reduce((n, t) => {
790
790
  const r = t?.game_subtype || "UNKNOWN";
791
791
  return n[r] || (n[r] = []), n[r].push(t), n;
792
- }, {}), al = ({
792
+ }, {}), el = ({
793
793
  gameTypeName: e,
794
794
  platforms: n,
795
795
  gameList: t,
796
796
  allGameTypes: r,
797
797
  allPlatforms: p
798
798
  }) => {
799
- const g = jn(r, e);
799
+ const g = Qn(r, e);
800
800
  return g ? n.reduce((b, d) => {
801
- const l = Yn(p, d), a = Xn(p, d), i = t[g] || [], o = er(
801
+ const l = jn(p, d), a = Yn(p, d), i = t[g] || [], o = Xn(
802
802
  i,
803
803
  l,
804
804
  a
805
805
  );
806
806
  return Ne(o) || (b[d] = o), b;
807
807
  }, {}) : {};
808
- }, tl = ({
808
+ }, al = ({
809
809
  platformName: e,
810
810
  gamesOfType: n = [],
811
811
  allPlatforms: t = []
812
812
  }) => {
813
- const r = Yn(t, e), p = Xn(t, e), g = er(
813
+ const r = jn(t, e), p = Yn(t, e), g = Xn(
814
814
  n,
815
815
  r,
816
816
  p
817
817
  );
818
- return el(g);
818
+ return Xr(g);
819
819
  };
820
- var ut = { exports: {} }, il = ut.exports, wi;
821
- function nl() {
822
- return wi || (wi = 1, (function(e, n) {
820
+ var ut = { exports: {} }, tl = ut.exports, Pi;
821
+ function il() {
822
+ return Pi || (Pi = 1, (function(e, n) {
823
823
  (function(t, r) {
824
824
  e.exports = r();
825
- })(il, (function() {
825
+ })(tl, (function() {
826
826
  var t = 1e3, r = 6e4, p = 36e5, g = "millisecond", b = "second", d = "minute", l = "hour", a = "day", i = "week", o = "month", s = "quarter", u = "year", m = "date", _ = "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, f = { 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(w) {
827
827
  var R = ["th", "st", "nd", "rd"], P = w % 100;
828
828
  return "[" + w + (R[(P - 20) % 10] || R[P] || R[0]) + "]";
@@ -1095,28 +1095,28 @@ function nl() {
1095
1095
  }));
1096
1096
  })(ut)), ut.exports;
1097
1097
  }
1098
- var rl = nl();
1099
- const Ee = /* @__PURE__ */ Ui(rl);
1098
+ var nl = il();
1099
+ const Ee = /* @__PURE__ */ yi(nl);
1100
1100
  var pt = { exports: {} };
1101
- function ll(e) {
1101
+ function rl(e) {
1102
1102
  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.');
1103
1103
  }
1104
1104
  var gt = { exports: {} };
1105
- const ol = {}, sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1105
+ const ll = {}, ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1106
1106
  __proto__: null,
1107
- default: ol
1108
- }, Symbol.toStringTag, { value: "Module" })), ml = /* @__PURE__ */ qr(sl);
1109
- var ul = gt.exports, Fi;
1107
+ default: ll
1108
+ }, Symbol.toStringTag, { value: "Module" })), sl = /* @__PURE__ */ Kr(ol);
1109
+ var ml = gt.exports, wi;
1110
1110
  function ne() {
1111
- return Fi || (Fi = 1, (function(e, n) {
1111
+ return wi || (wi = 1, (function(e, n) {
1112
1112
  (function(t, r) {
1113
1113
  e.exports = r();
1114
- })(ul, function() {
1114
+ })(ml, function() {
1115
1115
  var t = t || (function(r, p) {
1116
1116
  var g;
1117
- 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 ti < "u" && ti.crypto && (g = ti.crypto), !g && typeof ll == "function")
1117
+ 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 ti < "u" && ti.crypto && (g = ti.crypto), !g && typeof rl == "function")
1118
1118
  try {
1119
- g = ml;
1119
+ g = sl;
1120
1120
  } catch {
1121
1121
  }
1122
1122
  var b = function() {
@@ -1607,12 +1607,12 @@ function ne() {
1607
1607
  });
1608
1608
  })(gt)), gt.exports;
1609
1609
  }
1610
- var dt = { exports: {} }, pl = dt.exports, Ai;
1610
+ var dt = { exports: {} }, ul = dt.exports, Fi;
1611
1611
  function Xt() {
1612
- return Ai || (Ai = 1, (function(e, n) {
1612
+ return Fi || (Fi = 1, (function(e, n) {
1613
1613
  (function(t, r) {
1614
1614
  e.exports = r(ne());
1615
- })(pl, function(t) {
1615
+ })(ul, function(t) {
1616
1616
  return (function(r) {
1617
1617
  var p = t, g = p.lib, b = g.Base, d = g.WordArray, l = p.x64 = {};
1618
1618
  l.Word = b.extend({
@@ -1837,12 +1837,12 @@ function Xt() {
1837
1837
  });
1838
1838
  })(dt)), dt.exports;
1839
1839
  }
1840
- var ct = { exports: {} }, gl = ct.exports, Oi;
1841
- function dl() {
1842
- return Oi || (Oi = 1, (function(e, n) {
1840
+ var ct = { exports: {} }, pl = ct.exports, Ai;
1841
+ function gl() {
1842
+ return Ai || (Ai = 1, (function(e, n) {
1843
1843
  (function(t, r) {
1844
1844
  e.exports = r(ne());
1845
- })(gl, function(t) {
1845
+ })(pl, function(t) {
1846
1846
  return (function() {
1847
1847
  if (typeof ArrayBuffer == "function") {
1848
1848
  var r = t, p = r.lib, g = p.WordArray, b = g.init, d = g.init = function(l) {
@@ -1859,12 +1859,12 @@ function dl() {
1859
1859
  });
1860
1860
  })(ct)), ct.exports;
1861
1861
  }
1862
- var ft = { exports: {} }, cl = ft.exports, Bi;
1863
- function fl() {
1864
- return Bi || (Bi = 1, (function(e, n) {
1862
+ var ft = { exports: {} }, dl = ft.exports, Oi;
1863
+ function cl() {
1864
+ return Oi || (Oi = 1, (function(e, n) {
1865
1865
  (function(t, r) {
1866
1866
  e.exports = r(ne());
1867
- })(cl, function(t) {
1867
+ })(dl, function(t) {
1868
1868
  return (function() {
1869
1869
  var r = t, p = r.lib, g = p.WordArray, b = r.enc;
1870
1870
  b.Utf16 = b.Utf16BE = {
@@ -1953,12 +1953,12 @@ function fl() {
1953
1953
  });
1954
1954
  })(ft)), ft.exports;
1955
1955
  }
1956
- var _t = { exports: {} }, _l = _t.exports, Hi;
1956
+ var _t = { exports: {} }, fl = _t.exports, Bi;
1957
1957
  function xa() {
1958
- return Hi || (Hi = 1, (function(e, n) {
1958
+ return Bi || (Bi = 1, (function(e, n) {
1959
1959
  (function(t, r) {
1960
1960
  e.exports = r(ne());
1961
- })(_l, function(t) {
1961
+ })(fl, function(t) {
1962
1962
  return (function() {
1963
1963
  var r = t, p = r.lib, g = p.WordArray, b = r.enc;
1964
1964
  b.Base64 = {
@@ -2028,12 +2028,12 @@ function xa() {
2028
2028
  });
2029
2029
  })(_t)), _t.exports;
2030
2030
  }
2031
- var yt = { exports: {} }, yl = yt.exports, Wi;
2032
- function Ul() {
2033
- return Wi || (Wi = 1, (function(e, n) {
2031
+ var yt = { exports: {} }, _l = yt.exports, Hi;
2032
+ function yl() {
2033
+ return Hi || (Hi = 1, (function(e, n) {
2034
2034
  (function(t, r) {
2035
2035
  e.exports = r(ne());
2036
- })(yl, function(t) {
2036
+ })(_l, function(t) {
2037
2037
  return (function() {
2038
2038
  var r = t, p = r.lib, g = p.WordArray, b = r.enc;
2039
2039
  b.Base64url = {
@@ -2110,12 +2110,12 @@ function Ul() {
2110
2110
  });
2111
2111
  })(yt)), yt.exports;
2112
2112
  }
2113
- var Ut = { exports: {} }, bl = Ut.exports, zi;
2113
+ var Ut = { exports: {} }, Ul = Ut.exports, Wi;
2114
2114
  function Sa() {
2115
- return zi || (zi = 1, (function(e, n) {
2115
+ return Wi || (Wi = 1, (function(e, n) {
2116
2116
  (function(t, r) {
2117
2117
  e.exports = r(ne());
2118
- })(bl, function(t) {
2118
+ })(Ul, function(t) {
2119
2119
  return (function(r) {
2120
2120
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, l = p.algo, a = [];
2121
2121
  (function() {
@@ -2176,12 +2176,12 @@ function Sa() {
2176
2176
  });
2177
2177
  })(Ut)), Ut.exports;
2178
2178
  }
2179
- var bt = { exports: {} }, Cl = bt.exports, Ii;
2180
- function ar() {
2181
- return Ii || (Ii = 1, (function(e, n) {
2179
+ var bt = { exports: {} }, bl = bt.exports, zi;
2180
+ function er() {
2181
+ return zi || (zi = 1, (function(e, n) {
2182
2182
  (function(t, r) {
2183
2183
  e.exports = r(ne());
2184
- })(Cl, function(t) {
2184
+ })(bl, function(t) {
2185
2185
  return (function() {
2186
2186
  var r = t, p = r.lib, g = p.WordArray, b = p.Hasher, d = r.algo, l = [], a = d.SHA1 = b.extend({
2187
2187
  _doReset: function() {
@@ -2220,12 +2220,12 @@ function ar() {
2220
2220
  });
2221
2221
  })(bt)), bt.exports;
2222
2222
  }
2223
- var Ct = { exports: {} }, vl = Ct.exports, Vi;
2224
- function bi() {
2225
- return Vi || (Vi = 1, (function(e, n) {
2223
+ var Ct = { exports: {} }, Cl = Ct.exports, Ii;
2224
+ function Ui() {
2225
+ return Ii || (Ii = 1, (function(e, n) {
2226
2226
  (function(t, r) {
2227
2227
  e.exports = r(ne());
2228
- })(vl, function(t) {
2228
+ })(Cl, function(t) {
2229
2229
  return (function(r) {
2230
2230
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, l = p.algo, a = [], i = [];
2231
2231
  (function() {
@@ -2272,12 +2272,12 @@ function bi() {
2272
2272
  });
2273
2273
  })(Ct)), Ct.exports;
2274
2274
  }
2275
- var vt = { exports: {} }, hl = vt.exports, Ji;
2276
- function Tl() {
2277
- return Ji || (Ji = 1, (function(e, n) {
2275
+ var vt = { exports: {} }, vl = vt.exports, Vi;
2276
+ function hl() {
2277
+ return Vi || (Vi = 1, (function(e, n) {
2278
2278
  (function(t, r, p) {
2279
- e.exports = r(ne(), bi());
2280
- })(hl, function(t) {
2279
+ e.exports = r(ne(), Ui());
2280
+ })(vl, function(t) {
2281
2281
  return (function() {
2282
2282
  var r = t, p = r.lib, g = p.WordArray, b = r.algo, d = b.SHA256, l = b.SHA224 = d.extend({
2283
2283
  _doReset: function() {
@@ -2302,12 +2302,12 @@ function Tl() {
2302
2302
  });
2303
2303
  })(vt)), vt.exports;
2304
2304
  }
2305
- var ht = { exports: {} }, kl = ht.exports, Zi;
2306
- function tr() {
2307
- return Zi || (Zi = 1, (function(e, n) {
2305
+ var ht = { exports: {} }, Tl = ht.exports, Ji;
2306
+ function ar() {
2307
+ return Ji || (Ji = 1, (function(e, n) {
2308
2308
  (function(t, r, p) {
2309
2309
  e.exports = r(ne(), Xt());
2310
- })(kl, function(t) {
2310
+ })(Tl, function(t) {
2311
2311
  return (function() {
2312
2312
  var r = t, p = r.lib, g = p.Hasher, b = r.x64, d = b.Word, l = b.WordArray, a = r.algo;
2313
2313
  function i() {
@@ -2443,12 +2443,12 @@ function tr() {
2443
2443
  });
2444
2444
  })(ht)), ht.exports;
2445
2445
  }
2446
- var Tt = { exports: {} }, xl = Tt.exports, Ki;
2447
- function Sl() {
2448
- return Ki || (Ki = 1, (function(e, n) {
2446
+ var Tt = { exports: {} }, kl = Tt.exports, Zi;
2447
+ function xl() {
2448
+ return Zi || (Zi = 1, (function(e, n) {
2449
2449
  (function(t, r, p) {
2450
- e.exports = r(ne(), Xt(), tr());
2451
- })(xl, function(t) {
2450
+ e.exports = r(ne(), Xt(), ar());
2451
+ })(kl, function(t) {
2452
2452
  return (function() {
2453
2453
  var r = t, p = r.x64, g = p.Word, b = p.WordArray, d = r.algo, l = d.SHA512, a = d.SHA384 = l.extend({
2454
2454
  _doReset: function() {
@@ -2473,12 +2473,12 @@ function Sl() {
2473
2473
  });
2474
2474
  })(Tt)), Tt.exports;
2475
2475
  }
2476
- var kt = { exports: {} }, Dl = kt.exports, qi;
2477
- function El() {
2478
- return qi || (qi = 1, (function(e, n) {
2476
+ var kt = { exports: {} }, Sl = kt.exports, Ki;
2477
+ function Dl() {
2478
+ return Ki || (Ki = 1, (function(e, n) {
2479
2479
  (function(t, r, p) {
2480
2480
  e.exports = r(ne(), Xt());
2481
- })(Dl, function(t) {
2481
+ })(Sl, function(t) {
2482
2482
  return (function(r) {
2483
2483
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, l = p.x64, a = l.Word, i = p.algo, o = [], s = [], u = [];
2484
2484
  (function() {
@@ -2583,12 +2583,12 @@ function El() {
2583
2583
  });
2584
2584
  })(kt)), kt.exports;
2585
2585
  }
2586
- var xt = { exports: {} }, Nl = xt.exports, $i;
2587
- function Ll() {
2588
- return $i || ($i = 1, (function(e, n) {
2586
+ var xt = { exports: {} }, El = xt.exports, qi;
2587
+ function Nl() {
2588
+ return qi || (qi = 1, (function(e, n) {
2589
2589
  (function(t, r) {
2590
2590
  e.exports = r(ne());
2591
- })(Nl, function(t) {
2591
+ })(El, function(t) {
2592
2592
  return (function(r) {
2593
2593
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, l = p.algo, a = b.create([
2594
2594
  0,
@@ -2966,12 +2966,12 @@ function Ll() {
2966
2966
  });
2967
2967
  })(xt)), xt.exports;
2968
2968
  }
2969
- var St = { exports: {} }, Gl = St.exports, Qi;
2970
- function Ci() {
2971
- return Qi || (Qi = 1, (function(e, n) {
2969
+ var St = { exports: {} }, Ll = St.exports, $i;
2970
+ function bi() {
2971
+ return $i || ($i = 1, (function(e, n) {
2972
2972
  (function(t, r) {
2973
2973
  e.exports = r(ne());
2974
- })(Gl, function(t) {
2974
+ })(Ll, function(t) {
2975
2975
  (function() {
2976
2976
  var r = t, p = r.lib, g = p.Base, b = r.enc, d = b.Utf8, l = r.algo;
2977
2977
  l.HMAC = g.extend({
@@ -3044,12 +3044,12 @@ function Ci() {
3044
3044
  });
3045
3045
  })(St)), St.exports;
3046
3046
  }
3047
- var Dt = { exports: {} }, Ml = Dt.exports, ji;
3048
- function Rl() {
3049
- return ji || (ji = 1, (function(e, n) {
3047
+ var Dt = { exports: {} }, Gl = Dt.exports, Qi;
3048
+ function Ml() {
3049
+ return Qi || (Qi = 1, (function(e, n) {
3050
3050
  (function(t, r, p) {
3051
- e.exports = r(ne(), bi(), Ci());
3052
- })(Ml, function(t) {
3051
+ e.exports = r(ne(), Ui(), bi());
3052
+ })(Gl, function(t) {
3053
3053
  return (function() {
3054
3054
  var r = t, p = r.lib, g = p.Base, b = p.WordArray, d = r.algo, l = d.SHA256, a = d.HMAC, i = d.PBKDF2 = g.extend({
3055
3055
  /**
@@ -3111,12 +3111,12 @@ function Rl() {
3111
3111
  });
3112
3112
  })(Dt)), Dt.exports;
3113
3113
  }
3114
- var Et = { exports: {} }, Pl = Et.exports, Yi;
3114
+ var Et = { exports: {} }, Rl = Et.exports, ji;
3115
3115
  function _a() {
3116
- return Yi || (Yi = 1, (function(e, n) {
3116
+ return ji || (ji = 1, (function(e, n) {
3117
3117
  (function(t, r, p) {
3118
- e.exports = r(ne(), ar(), Ci());
3119
- })(Pl, function(t) {
3118
+ e.exports = r(ne(), er(), bi());
3119
+ })(Rl, function(t) {
3120
3120
  return (function() {
3121
3121
  var r = t, p = r.lib, g = p.Base, b = p.WordArray, d = r.algo, l = d.MD5, a = d.EvpKDF = g.extend({
3122
3122
  /**
@@ -3174,12 +3174,12 @@ function _a() {
3174
3174
  });
3175
3175
  })(Et)), Et.exports;
3176
3176
  }
3177
- var Nt = { exports: {} }, wl = Nt.exports, Xi;
3177
+ var Nt = { exports: {} }, Pl = Nt.exports, Yi;
3178
3178
  function Ge() {
3179
- return Xi || (Xi = 1, (function(e, n) {
3179
+ return Yi || (Yi = 1, (function(e, n) {
3180
3180
  (function(t, r, p) {
3181
3181
  e.exports = r(ne(), _a());
3182
- })(wl, function(t) {
3182
+ })(Pl, function(t) {
3183
3183
  t.lib.Cipher || (function(r) {
3184
3184
  var p = t, g = p.lib, b = g.Base, d = g.WordArray, l = g.BufferedBlockAlgorithm, a = p.enc;
3185
3185
  a.Utf8;
@@ -3712,12 +3712,12 @@ function Ge() {
3712
3712
  });
3713
3713
  })(Nt)), Nt.exports;
3714
3714
  }
3715
- var Lt = { exports: {} }, Fl = Lt.exports, en;
3716
- function Al() {
3717
- return en || (en = 1, (function(e, n) {
3715
+ var Lt = { exports: {} }, wl = Lt.exports, Xi;
3716
+ function Fl() {
3717
+ return Xi || (Xi = 1, (function(e, n) {
3718
3718
  (function(t, r, p) {
3719
3719
  e.exports = r(ne(), Ge());
3720
- })(Fl, function(t) {
3720
+ })(wl, function(t) {
3721
3721
  return t.mode.CFB = (function() {
3722
3722
  var r = t.lib.BlockCipherMode.extend();
3723
3723
  r.Encryptor = r.extend({
@@ -3742,12 +3742,12 @@ function Al() {
3742
3742
  });
3743
3743
  })(Lt)), Lt.exports;
3744
3744
  }
3745
- var Gt = { exports: {} }, Ol = Gt.exports, an;
3746
- function Bl() {
3747
- return an || (an = 1, (function(e, n) {
3745
+ var Gt = { exports: {} }, Al = Gt.exports, en;
3746
+ function Ol() {
3747
+ return en || (en = 1, (function(e, n) {
3748
3748
  (function(t, r, p) {
3749
3749
  e.exports = r(ne(), Ge());
3750
- })(Ol, function(t) {
3750
+ })(Al, function(t) {
3751
3751
  return t.mode.CTR = (function() {
3752
3752
  var r = t.lib.BlockCipherMode.extend(), p = r.Encryptor = r.extend({
3753
3753
  processBlock: function(g, b) {
@@ -3764,12 +3764,12 @@ function Bl() {
3764
3764
  });
3765
3765
  })(Gt)), Gt.exports;
3766
3766
  }
3767
- var Mt = { exports: {} }, Hl = Mt.exports, tn;
3768
- function Wl() {
3769
- return tn || (tn = 1, (function(e, n) {
3767
+ var Mt = { exports: {} }, Bl = Mt.exports, an;
3768
+ function Hl() {
3769
+ return an || (an = 1, (function(e, n) {
3770
3770
  (function(t, r, p) {
3771
3771
  e.exports = r(ne(), Ge());
3772
- })(Hl, function(t) {
3772
+ })(Bl, function(t) {
3773
3773
  return t.mode.CTRGladman = (function() {
3774
3774
  var r = t.lib.BlockCipherMode.extend();
3775
3775
  function p(d) {
@@ -3798,12 +3798,12 @@ function Wl() {
3798
3798
  });
3799
3799
  })(Mt)), Mt.exports;
3800
3800
  }
3801
- var Rt = { exports: {} }, zl = Rt.exports, nn;
3802
- function Il() {
3803
- return nn || (nn = 1, (function(e, n) {
3801
+ var Rt = { exports: {} }, Wl = Rt.exports, tn;
3802
+ function zl() {
3803
+ return tn || (tn = 1, (function(e, n) {
3804
3804
  (function(t, r, p) {
3805
3805
  e.exports = r(ne(), Ge());
3806
- })(zl, function(t) {
3806
+ })(Wl, function(t) {
3807
3807
  return t.mode.OFB = (function() {
3808
3808
  var r = t.lib.BlockCipherMode.extend(), p = r.Encryptor = r.extend({
3809
3809
  processBlock: function(g, b) {
@@ -3818,12 +3818,12 @@ function Il() {
3818
3818
  });
3819
3819
  })(Rt)), Rt.exports;
3820
3820
  }
3821
- var Pt = { exports: {} }, Vl = Pt.exports, rn;
3822
- function Jl() {
3823
- return rn || (rn = 1, (function(e, n) {
3821
+ var Pt = { exports: {} }, Il = Pt.exports, nn;
3822
+ function Vl() {
3823
+ return nn || (nn = 1, (function(e, n) {
3824
3824
  (function(t, r, p) {
3825
3825
  e.exports = r(ne(), Ge());
3826
- })(Vl, function(t) {
3826
+ })(Il, function(t) {
3827
3827
  return t.mode.ECB = (function() {
3828
3828
  var r = t.lib.BlockCipherMode.extend();
3829
3829
  return r.Encryptor = r.extend({
@@ -3839,12 +3839,12 @@ function Jl() {
3839
3839
  });
3840
3840
  })(Pt)), Pt.exports;
3841
3841
  }
3842
- var wt = { exports: {} }, Zl = wt.exports, ln;
3843
- function Kl() {
3844
- return ln || (ln = 1, (function(e, n) {
3842
+ var wt = { exports: {} }, Jl = wt.exports, rn;
3843
+ function Zl() {
3844
+ return rn || (rn = 1, (function(e, n) {
3845
3845
  (function(t, r, p) {
3846
3846
  e.exports = r(ne(), Ge());
3847
- })(Zl, function(t) {
3847
+ })(Jl, function(t) {
3848
3848
  return t.pad.AnsiX923 = {
3849
3849
  pad: function(r, p) {
3850
3850
  var g = r.sigBytes, b = p * 4, d = b - g % b, l = g + d - 1;
@@ -3858,12 +3858,12 @@ function Kl() {
3858
3858
  });
3859
3859
  })(wt)), wt.exports;
3860
3860
  }
3861
- var Ft = { exports: {} }, ql = Ft.exports, on;
3862
- function $l() {
3863
- return on || (on = 1, (function(e, n) {
3861
+ var Ft = { exports: {} }, Kl = Ft.exports, ln;
3862
+ function ql() {
3863
+ return ln || (ln = 1, (function(e, n) {
3864
3864
  (function(t, r, p) {
3865
3865
  e.exports = r(ne(), Ge());
3866
- })(ql, function(t) {
3866
+ })(Kl, function(t) {
3867
3867
  return t.pad.Iso10126 = {
3868
3868
  pad: function(r, p) {
3869
3869
  var g = p * 4, b = g - r.sigBytes % g;
@@ -3877,12 +3877,12 @@ function $l() {
3877
3877
  });
3878
3878
  })(Ft)), Ft.exports;
3879
3879
  }
3880
- var At = { exports: {} }, Ql = At.exports, sn;
3881
- function jl() {
3882
- return sn || (sn = 1, (function(e, n) {
3880
+ var At = { exports: {} }, $l = At.exports, on;
3881
+ function Ql() {
3882
+ return on || (on = 1, (function(e, n) {
3883
3883
  (function(t, r, p) {
3884
3884
  e.exports = r(ne(), Ge());
3885
- })(Ql, function(t) {
3885
+ })($l, function(t) {
3886
3886
  return t.pad.Iso97971 = {
3887
3887
  pad: function(r, p) {
3888
3888
  r.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(r, p);
@@ -3894,12 +3894,12 @@ function jl() {
3894
3894
  });
3895
3895
  })(At)), At.exports;
3896
3896
  }
3897
- var Ot = { exports: {} }, Yl = Ot.exports, mn;
3898
- function Xl() {
3899
- return mn || (mn = 1, (function(e, n) {
3897
+ var Ot = { exports: {} }, jl = Ot.exports, sn;
3898
+ function Yl() {
3899
+ return sn || (sn = 1, (function(e, n) {
3900
3900
  (function(t, r, p) {
3901
3901
  e.exports = r(ne(), Ge());
3902
- })(Yl, function(t) {
3902
+ })(jl, function(t) {
3903
3903
  return t.pad.ZeroPadding = {
3904
3904
  pad: function(r, p) {
3905
3905
  var g = p * 4;
@@ -3916,12 +3916,12 @@ function Xl() {
3916
3916
  });
3917
3917
  })(Ot)), Ot.exports;
3918
3918
  }
3919
- var Bt = { exports: {} }, eo = Bt.exports, un;
3920
- function ao() {
3921
- return un || (un = 1, (function(e, n) {
3919
+ var Bt = { exports: {} }, Xl = Bt.exports, mn;
3920
+ function eo() {
3921
+ return mn || (mn = 1, (function(e, n) {
3922
3922
  (function(t, r, p) {
3923
3923
  e.exports = r(ne(), Ge());
3924
- })(eo, function(t) {
3924
+ })(Xl, function(t) {
3925
3925
  return t.pad.NoPadding = {
3926
3926
  pad: function() {
3927
3927
  },
@@ -3931,12 +3931,12 @@ function ao() {
3931
3931
  });
3932
3932
  })(Bt)), Bt.exports;
3933
3933
  }
3934
- var Ht = { exports: {} }, to = Ht.exports, pn;
3935
- function io() {
3936
- return pn || (pn = 1, (function(e, n) {
3934
+ var Ht = { exports: {} }, ao = Ht.exports, un;
3935
+ function to() {
3936
+ return un || (un = 1, (function(e, n) {
3937
3937
  (function(t, r, p) {
3938
3938
  e.exports = r(ne(), Ge());
3939
- })(to, function(t) {
3939
+ })(ao, function(t) {
3940
3940
  return (function(r) {
3941
3941
  var p = t, g = p.lib, b = g.CipherParams, d = p.enc, l = d.Hex, a = p.format;
3942
3942
  a.Hex = {
@@ -3978,12 +3978,12 @@ function io() {
3978
3978
  });
3979
3979
  })(Ht)), Ht.exports;
3980
3980
  }
3981
- var Wt = { exports: {} }, no = Wt.exports, gn;
3982
- function ro() {
3983
- return gn || (gn = 1, (function(e, n) {
3981
+ var Wt = { exports: {} }, io = Wt.exports, pn;
3982
+ function no() {
3983
+ return pn || (pn = 1, (function(e, n) {
3984
3984
  (function(t, r, p) {
3985
3985
  e.exports = r(ne(), xa(), Sa(), _a(), Ge());
3986
- })(no, function(t) {
3986
+ })(io, function(t) {
3987
3987
  return (function() {
3988
3988
  var r = t, p = r.lib, g = p.BlockCipher, b = r.algo, d = [], l = [], a = [], i = [], o = [], s = [], u = [], m = [], _ = [], c = [];
3989
3989
  (function() {
@@ -4038,12 +4038,12 @@ function ro() {
4038
4038
  });
4039
4039
  })(Wt)), Wt.exports;
4040
4040
  }
4041
- var zt = { exports: {} }, lo = zt.exports, dn;
4042
- function oo() {
4043
- return dn || (dn = 1, (function(e, n) {
4041
+ var zt = { exports: {} }, ro = zt.exports, gn;
4042
+ function lo() {
4043
+ return gn || (gn = 1, (function(e, n) {
4044
4044
  (function(t, r, p) {
4045
4045
  e.exports = r(ne(), xa(), Sa(), _a(), Ge());
4046
- })(lo, function(t) {
4046
+ })(ro, function(t) {
4047
4047
  return (function() {
4048
4048
  var r = t, p = r.lib, g = p.WordArray, b = p.BlockCipher, d = r.algo, l = [
4049
4049
  57,
@@ -4758,12 +4758,12 @@ function oo() {
4758
4758
  });
4759
4759
  })(zt)), zt.exports;
4760
4760
  }
4761
- var It = { exports: {} }, so = It.exports, cn;
4762
- function mo() {
4763
- return cn || (cn = 1, (function(e, n) {
4761
+ var It = { exports: {} }, oo = It.exports, dn;
4762
+ function so() {
4763
+ return dn || (dn = 1, (function(e, n) {
4764
4764
  (function(t, r, p) {
4765
4765
  e.exports = r(ne(), xa(), Sa(), _a(), Ge());
4766
- })(so, function(t) {
4766
+ })(oo, function(t) {
4767
4767
  return (function() {
4768
4768
  var r = t, p = r.lib, g = p.StreamCipher, b = r.algo, d = b.RC4 = g.extend({
4769
4769
  _doReset: function() {
@@ -4812,12 +4812,12 @@ function mo() {
4812
4812
  });
4813
4813
  })(It)), It.exports;
4814
4814
  }
4815
- var Vt = { exports: {} }, uo = Vt.exports, fn;
4816
- function po() {
4817
- return fn || (fn = 1, (function(e, n) {
4815
+ var Vt = { exports: {} }, mo = Vt.exports, cn;
4816
+ function uo() {
4817
+ return cn || (cn = 1, (function(e, n) {
4818
4818
  (function(t, r, p) {
4819
4819
  e.exports = r(ne(), xa(), Sa(), _a(), Ge());
4820
- })(uo, function(t) {
4820
+ })(mo, function(t) {
4821
4821
  return (function() {
4822
4822
  var r = t, p = r.lib, g = p.StreamCipher, b = r.algo, d = [], l = [], a = [], i = b.Rabbit = g.extend({
4823
4823
  _doReset: function() {
@@ -4878,12 +4878,12 @@ function po() {
4878
4878
  });
4879
4879
  })(Vt)), Vt.exports;
4880
4880
  }
4881
- var Jt = { exports: {} }, go = Jt.exports, _n;
4882
- function co() {
4883
- return _n || (_n = 1, (function(e, n) {
4881
+ var Jt = { exports: {} }, po = Jt.exports, fn;
4882
+ function go() {
4883
+ return fn || (fn = 1, (function(e, n) {
4884
4884
  (function(t, r, p) {
4885
4885
  e.exports = r(ne(), xa(), Sa(), _a(), Ge());
4886
- })(go, function(t) {
4886
+ })(po, function(t) {
4887
4887
  return (function() {
4888
4888
  var r = t, p = r.lib, g = p.StreamCipher, b = r.algo, d = [], l = [], a = [], i = b.RabbitLegacy = g.extend({
4889
4889
  _doReset: function() {
@@ -4942,12 +4942,12 @@ function co() {
4942
4942
  });
4943
4943
  })(Jt)), Jt.exports;
4944
4944
  }
4945
- var Zt = { exports: {} }, fo = Zt.exports, yn;
4946
- function _o() {
4947
- return yn || (yn = 1, (function(e, n) {
4945
+ var Zt = { exports: {} }, co = Zt.exports, _n;
4946
+ function fo() {
4947
+ return _n || (_n = 1, (function(e, n) {
4948
4948
  (function(t, r, p) {
4949
4949
  e.exports = r(ne(), xa(), Sa(), _a(), Ge());
4950
- })(fo, function(t) {
4950
+ })(co, function(t) {
4951
4951
  return (function() {
4952
4952
  var r = t, p = r.lib, g = p.BlockCipher, b = r.algo;
4953
4953
  const d = 16, l = [
@@ -6064,18 +6064,18 @@ function _o() {
6064
6064
  });
6065
6065
  })(Zt)), Zt.exports;
6066
6066
  }
6067
- var yo = pt.exports, Un;
6068
- function Uo() {
6069
- return Un || (Un = 1, (function(e, n) {
6067
+ var _o = pt.exports, yn;
6068
+ function yo() {
6069
+ return yn || (yn = 1, (function(e, n) {
6070
6070
  (function(t, r, p) {
6071
- e.exports = r(ne(), Xt(), dl(), fl(), xa(), Ul(), Sa(), ar(), bi(), Tl(), tr(), Sl(), El(), Ll(), Ci(), Rl(), _a(), Ge(), Al(), Bl(), Wl(), Il(), Jl(), Kl(), $l(), jl(), Xl(), ao(), io(), ro(), oo(), mo(), po(), co(), _o());
6072
- })(yo, function(t) {
6071
+ e.exports = r(ne(), Xt(), gl(), cl(), xa(), yl(), Sa(), er(), Ui(), hl(), ar(), xl(), Dl(), Nl(), bi(), Ml(), _a(), Ge(), Fl(), Ol(), Hl(), zl(), Vl(), Zl(), ql(), Ql(), Yl(), eo(), to(), no(), lo(), so(), uo(), go(), fo());
6072
+ })(_o, function(t) {
6073
6073
  return t;
6074
6074
  });
6075
6075
  })(pt)), pt.exports;
6076
6076
  }
6077
- var qt = Uo();
6078
- const Ca = /* @__PURE__ */ Ui(qt), Pa = (e) => {
6077
+ var qt = yo();
6078
+ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6079
6079
  const n = "mySecretPassphrase", t = Ca.lib.WordArray.random(16), r = Ca.PBKDF2(n, t, {
6080
6080
  keySize: 128 / 32,
6081
6081
  iterations: 1e3
@@ -6373,7 +6373,7 @@ const Ca = /* @__PURE__ */ Ui(qt), Pa = (e) => {
6373
6373
  };
6374
6374
  }, Sm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6375
6375
  const { userCurrencyExchangeApi: t } = oe(), { getToken: r } = se(), { enabled: p, ...g } = n, d = !!r?.() && (p ? p.every((l) => l) : !0);
6376
- return zn({
6376
+ return Wn({
6377
6377
  queries: [
6378
6378
  {
6379
6379
  queryKey: ["userCurrencyExchange", ...e],
@@ -6391,7 +6391,7 @@ const Ca = /* @__PURE__ */ Ui(qt), Pa = (e) => {
6391
6391
  enabled: t = !0
6392
6392
  } = {}) => {
6393
6393
  const { getToken: r } = se(), p = r?.(), { userInfoApi: g } = oe();
6394
- return zn({
6394
+ return Wn({
6395
6395
  queries: [
6396
6396
  {
6397
6397
  queryKey: ["getMemberInfo", ...n],
@@ -6430,7 +6430,7 @@ const Ca = /* @__PURE__ */ Ui(qt), Pa = (e) => {
6430
6430
  d,
6431
6431
  l
6432
6432
  ];
6433
- }, vi = () => {
6433
+ }, Ci = () => {
6434
6434
  const { client: e, lng: n } = se(), t = Qe(n || "tw"), r = z(
6435
6435
  async (b) => {
6436
6436
  const {
@@ -6496,19 +6496,19 @@ const Ca = /* @__PURE__ */ Ui(qt), Pa = (e) => {
6496
6496
  [e]
6497
6497
  );
6498
6498
  return { playGameApi: r, betRecordApi: p, betRecordDetailApi: g };
6499
- }, bo = ({ options: e, formData: n } = {}) => {
6500
- const { betRecordApi: t } = vi();
6499
+ }, Uo = ({ options: e, formData: n } = {}) => {
6500
+ const { betRecordApi: t } = Ci();
6501
6501
  return $({
6502
6502
  queryKey: ["getBetRecord"],
6503
6503
  queryFn: async () => await t(n),
6504
- select: (r) => In(r).map(([g, b]) => ({
6504
+ select: (r) => zn(r).map(([g, b]) => ({
6505
6505
  ...b,
6506
6506
  platform: g
6507
6507
  })),
6508
6508
  ...e
6509
6509
  });
6510
- }, Co = ({ options: e, formData: n } = {}) => {
6511
- const { betRecordDetailApi: t } = vi();
6510
+ }, bo = ({ options: e, formData: n } = {}) => {
6511
+ const { betRecordDetailApi: t } = Ci();
6512
6512
  return $({
6513
6513
  queryKey: ["getBetRecordDetail"],
6514
6514
  queryFn: async () => await t(n),
@@ -6520,7 +6520,7 @@ const Ca = /* @__PURE__ */ Ui(qt), Pa = (e) => {
6520
6520
  betRecordDetail: {}
6521
6521
  }
6522
6522
  }) => {
6523
- const n = bo({ options: e.betRecord }), t = Co({
6523
+ const n = Uo({ options: e.betRecord }), t = bo({
6524
6524
  options: e.betRecordDetail
6525
6525
  });
6526
6526
  return {
@@ -6536,7 +6536,7 @@ function lt(e) {
6536
6536
  }
6537
6537
  return e;
6538
6538
  }
6539
- var vo = {
6539
+ var Co = {
6540
6540
  read: function(e) {
6541
6541
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
6542
6542
  },
@@ -6547,7 +6547,7 @@ var vo = {
6547
6547
  );
6548
6548
  }
6549
6549
  };
6550
- function pi(e, n) {
6550
+ function ui(e, n) {
6551
6551
  function t(p, g, b) {
6552
6552
  if (!(typeof document > "u")) {
6553
6553
  b = lt({}, n, b), typeof b.expires == "number" && (b.expires = new Date(Date.now() + b.expires * 864e5)), b.expires && (b.expires = b.expires.toUTCString()), p = encodeURIComponent(p).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
@@ -6585,10 +6585,10 @@ function pi(e, n) {
6585
6585
  );
6586
6586
  },
6587
6587
  withAttributes: function(p) {
6588
- return pi(this.converter, lt({}, this.attributes, p));
6588
+ return ui(this.converter, lt({}, this.attributes, p));
6589
6589
  },
6590
6590
  withConverter: function(p) {
6591
- return pi(lt({}, this.converter, p), this.attributes);
6591
+ return ui(lt({}, this.converter, p), this.attributes);
6592
6592
  }
6593
6593
  },
6594
6594
  {
@@ -6597,9 +6597,9 @@ function pi(e, n) {
6597
6597
  }
6598
6598
  );
6599
6599
  }
6600
- var gi = pi(vo, { path: "/" }), ii = {}, Ze = {}, ni = {}, bn;
6600
+ var pi = ui(Co, { path: "/" }), ii = {}, Ze = {}, ni = {}, Un;
6601
6601
  function la() {
6602
- return bn || (bn = 1, (function(e) {
6602
+ return Un || (Un = 1, (function(e) {
6603
6603
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
6604
6604
  var n = 1, t = 1e3 * n;
6605
6605
  e.DEFAULT_OPTIONS = {}, e.EMPTY_EVENT_HANDLERS = {}, e.DEFAULT_EVENT_SOURCE_OPTIONS = {
@@ -6624,9 +6624,9 @@ function la() {
6624
6624
  e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && p();
6625
6625
  })(ni)), ni;
6626
6626
  }
6627
- var Qa = {}, ri = {}, Cn;
6628
- function hi() {
6629
- return Cn || (Cn = 1, (function(e) {
6627
+ var Qa = {}, ri = {}, bn;
6628
+ function vi() {
6629
+ return bn || (bn = 1, (function(e) {
6630
6630
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
6631
6631
  var n = function(t) {
6632
6632
  if (t && e.sharedWebSockets.hasOwnProperty(t))
@@ -6638,10 +6638,10 @@ function hi() {
6638
6638
  e.resetWebSockets = n;
6639
6639
  })(ri)), ri;
6640
6640
  }
6641
- var va = {}, sa = {}, vn;
6642
- function Ti() {
6643
- if (vn) return sa;
6644
- vn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
6641
+ var va = {}, sa = {}, Cn;
6642
+ function hi() {
6643
+ if (Cn) return sa;
6644
+ Cn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
6645
6645
  var e = la(), n = function(p) {
6646
6646
  if (p) {
6647
6647
  var g = /^https|wss/.test(p), b = p.replace(/^(https?|wss?)(:\/\/)?/, ""), d = b.replace(/\/$/, ""), l = g ? "wss" : "ws";
@@ -6671,10 +6671,10 @@ function Ti() {
6671
6671
  };
6672
6672
  return sa.setUpSocketIOPing = r, sa;
6673
6673
  }
6674
- var ot = {}, hn;
6675
- function ir() {
6676
- if (hn) return ot;
6677
- hn = 1, Object.defineProperty(ot, "__esModule", { value: !0 }), ot.heartbeat = t;
6674
+ var ot = {}, vn;
6675
+ function tr() {
6676
+ if (vn) return ot;
6677
+ vn = 1, Object.defineProperty(ot, "__esModule", { value: !0 }), ot.heartbeat = t;
6678
6678
  var e = la();
6679
6679
  function n(r) {
6680
6680
  return Array.isArray(r) ? r.reduce(function(p, g) {
@@ -6700,9 +6700,9 @@ function ir() {
6700
6700
  }
6701
6701
  return ot;
6702
6702
  }
6703
- var ja = {}, li = {}, Tn;
6704
- function ki() {
6705
- return Tn || (Tn = 1, (function(e) {
6703
+ var ja = {}, li = {}, hn;
6704
+ function Ti() {
6705
+ return hn || (hn = 1, (function(e) {
6706
6706
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
6707
6707
  var n = {}, t = [], r = function(l) {
6708
6708
  return (0, e.hasSubscribers)(l) ? Array.from(n[l]) : t;
@@ -6731,11 +6731,11 @@ function ki() {
6731
6731
  e.resetSubscribers = d;
6732
6732
  })(li)), li;
6733
6733
  }
6734
- var kn;
6735
- function xi() {
6736
- if (kn) return ja;
6737
- kn = 1, Object.defineProperty(ja, "__esModule", { value: !0 }), ja.assertIsWebSocket = t, ja.resetGlobalState = r;
6738
- var e = hi(), n = ki();
6734
+ var Tn;
6735
+ function ki() {
6736
+ if (Tn) return ja;
6737
+ Tn = 1, Object.defineProperty(ja, "__esModule", { value: !0 }), ja.assertIsWebSocket = t, ja.resetGlobalState = r;
6738
+ var e = vi(), n = Ti();
6739
6739
  function t(p, g) {
6740
6740
  if (!g && !(p instanceof WebSocket))
6741
6741
  throw new Error("");
@@ -6745,10 +6745,10 @@ function xi() {
6745
6745
  }
6746
6746
  return ja;
6747
6747
  }
6748
- var xn;
6749
- function ho() {
6750
- if (xn) return va;
6751
- xn = 1;
6748
+ var kn;
6749
+ function vo() {
6750
+ if (kn) return va;
6751
+ kn = 1;
6752
6752
  var e = va && va.__assign || function() {
6753
6753
  return e = Object.assign || function(i) {
6754
6754
  for (var o, s = 1, u = arguments.length; s < u; s++) {
@@ -6759,7 +6759,7 @@ function ho() {
6759
6759
  }, e.apply(this, arguments);
6760
6760
  };
6761
6761
  Object.defineProperty(va, "__esModule", { value: !0 }), va.attachListeners = void 0;
6762
- var n = Ti(), t = ir(), r = la(), p = xi(), g = function(i, o, s, u) {
6762
+ var n = hi(), t = tr(), r = la(), p = ki(), g = function(i, o, s, u) {
6763
6763
  i.onmessage = function(m) {
6764
6764
  var _;
6765
6765
  o.current.onMessage && o.current.onMessage(m), typeof u?.current == "number" && (u.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((_ = o.current.heartbeat) === null || _ === void 0 ? void 0 : _.returnMessage) === m.data || s(m));
@@ -6815,10 +6815,10 @@ function ho() {
6815
6815
  };
6816
6816
  return va.attachListeners = a, va;
6817
6817
  }
6818
- var ha = {}, Sn;
6819
- function To() {
6820
- if (Sn) return ha;
6821
- Sn = 1;
6818
+ var ha = {}, xn;
6819
+ function ho() {
6820
+ if (xn) return ha;
6821
+ xn = 1;
6822
6822
  var e = ha && ha.__assign || function() {
6823
6823
  return e = Object.assign || function(o) {
6824
6824
  for (var s, u = 1, m = arguments.length; u < m; u++) {
@@ -6829,7 +6829,7 @@ function To() {
6829
6829
  }, e.apply(this, arguments);
6830
6830
  };
6831
6831
  Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachSharedListeners = void 0;
6832
- var n = hi(), t = la(), r = ki(), p = Ti(), g = ir(), b = function(o, s, u) {
6832
+ var n = vi(), t = la(), r = Ti(), p = hi(), g = tr(), b = function(o, s, u) {
6833
6833
  o.onmessage = function(m) {
6834
6834
  (0, r.getSubscribers)(s).forEach(function(_) {
6835
6835
  var c;
@@ -6877,11 +6877,11 @@ function To() {
6877
6877
  };
6878
6878
  return ha.attachSharedListeners = i, ha;
6879
6879
  }
6880
- var Dn;
6881
- function ko() {
6882
- if (Dn) return Qa;
6883
- Dn = 1, Object.defineProperty(Qa, "__esModule", { value: !0 }), Qa.createOrJoinSocket = void 0;
6884
- var e = hi(), n = la(), t = ho(), r = To(), p = ki(), g = function(d, l, a, i, o) {
6880
+ var Sn;
6881
+ function To() {
6882
+ if (Sn) return Qa;
6883
+ Sn = 1, Object.defineProperty(Qa, "__esModule", { value: !0 }), Qa.createOrJoinSocket = void 0;
6884
+ var e = vi(), n = la(), t = vo(), r = ho(), p = Ti(), g = function(d, l, a, i, o) {
6885
6885
  return function() {
6886
6886
  if ((0, p.removeSubscriber)(d, l), !(0, p.hasSubscribers)(d)) {
6887
6887
  try {
@@ -6920,9 +6920,9 @@ function ko() {
6920
6920
  };
6921
6921
  return Qa.createOrJoinSocket = b, Qa;
6922
6922
  }
6923
- var ma = {}, En;
6924
- function xo() {
6925
- return En || (En = 1, (function(e) {
6923
+ var ma = {}, Dn;
6924
+ function ko() {
6925
+ return Dn || (Dn = 1, (function(e) {
6926
6926
  var n = ma && ma.__awaiter || function(l, a, i, o) {
6927
6927
  function s(u) {
6928
6928
  return u instanceof i ? u : new i(function(m) {
@@ -7014,7 +7014,7 @@ function xo() {
7014
7014
  return l.concat(u || Array.prototype.slice.call(a));
7015
7015
  };
7016
7016
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
7017
- var p = Ti(), g = la(), b = function(l) {
7017
+ var p = hi(), g = la(), b = function(l) {
7018
7018
  return new Promise(function(a) {
7019
7019
  return window.setTimeout(a, l);
7020
7020
  });
@@ -7057,9 +7057,9 @@ function xo() {
7057
7057
  e.getUrl = d;
7058
7058
  })(ma)), ma;
7059
7059
  }
7060
- var oi = {}, Nn;
7061
- function So() {
7062
- return Nn || (Nn = 1, (function(e) {
7060
+ var oi = {}, En;
7061
+ function xo() {
7062
+ return En || (En = 1, (function(e) {
7063
7063
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
7064
7064
  var n = function(t, r) {
7065
7065
  return new Proxy(t, {
@@ -7076,10 +7076,10 @@ function So() {
7076
7076
  e.websocketWrapper = n, e.default = e.websocketWrapper;
7077
7077
  })(oi)), oi;
7078
7078
  }
7079
- var Ln;
7080
- function Si() {
7081
- if (Ln) return Ze;
7082
- Ln = 1;
7079
+ var Nn;
7080
+ function xi() {
7081
+ if (Nn) return Ze;
7082
+ Nn = 1;
7083
7083
  var e = Ze && Ze.__assign || function() {
7084
7084
  return e = Object.assign || function(s) {
7085
7085
  for (var u, m = 1, _ = arguments.length; m < _; m++) {
@@ -7177,7 +7177,7 @@ function Si() {
7177
7177
  return s && s.__esModule ? s : { default: s };
7178
7178
  };
7179
7179
  Object.defineProperty(Ze, "__esModule", { value: !0 }), Ze.useWebSocket = void 0;
7180
- var p = de, g = Kr, b = la(), d = ko(), l = xo(), a = r(So()), i = xi(), o = function(s, u, m) {
7180
+ var p = de, g = Zr, b = la(), d = To(), l = ko(), a = r(xo()), i = ki(), o = function(s, u, m) {
7181
7181
  u === void 0 && (u = b.DEFAULT_OPTIONS), m === void 0 && (m = !0);
7182
7182
  var _ = (0, p.useState)(null), c = _[0], y = _[1], f = (0, p.useState)({}), U = f[0], C = f[1], v = (0, p.useMemo)(function() {
7183
7183
  if (!u.disableJson && c)
@@ -7262,10 +7262,10 @@ function Si() {
7262
7262
  };
7263
7263
  return Ze.useWebSocket = o, Ze;
7264
7264
  }
7265
- var Ta = {}, Gn;
7266
- function Do() {
7267
- if (Gn) return Ta;
7268
- Gn = 1;
7265
+ var Ta = {}, Ln;
7266
+ function So() {
7267
+ if (Ln) return Ta;
7268
+ Ln = 1;
7269
7269
  var e = Ta && Ta.__assign || function() {
7270
7270
  return e = Object.assign || function(d) {
7271
7271
  for (var l, a = 1, i = arguments.length; a < i; a++) {
@@ -7276,7 +7276,7 @@ function Do() {
7276
7276
  }, e.apply(this, arguments);
7277
7277
  };
7278
7278
  Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.useSocketIO = void 0;
7279
- var n = de, t = Si(), r = la(), p = {
7279
+ var n = de, t = xi(), r = la(), p = {
7280
7280
  type: "empty",
7281
7281
  payload: null
7282
7282
  }, g = function(d) {
@@ -7308,10 +7308,10 @@ function Do() {
7308
7308
  };
7309
7309
  return Ta.useSocketIO = b, Ta;
7310
7310
  }
7311
- var ua = {}, Mn;
7312
- function Eo() {
7313
- if (Mn) return ua;
7314
- Mn = 1;
7311
+ var ua = {}, Gn;
7312
+ function Do() {
7313
+ if (Gn) return ua;
7314
+ Gn = 1;
7315
7315
  var e = ua && ua.__assign || function() {
7316
7316
  return e = Object.assign || function(b) {
7317
7317
  for (var d, l = 1, a = arguments.length; l < a; l++) {
@@ -7329,7 +7329,7 @@ function Eo() {
7329
7329
  return l;
7330
7330
  };
7331
7331
  Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
7332
- var t = de, r = Si(), p = la(), g = function(b, d, l) {
7332
+ var t = de, r = xi(), p = la(), g = function(b, d, l) {
7333
7333
  d === void 0 && (d = p.DEFAULT_EVENT_SOURCE_OPTIONS);
7334
7334
  var a = d.withCredentials, i = d.events, o = n(d, ["withCredentials", "events"]);
7335
7335
  l === void 0 && (l = !0);
@@ -7351,15 +7351,15 @@ function Eo() {
7351
7351
  };
7352
7352
  return ua.useEventSource = g, ua;
7353
7353
  }
7354
- var Rn;
7355
- function No() {
7356
- return Rn || (Rn = 1, (function(e) {
7354
+ var Mn;
7355
+ function Eo() {
7356
+ return Mn || (Mn = 1, (function(e) {
7357
7357
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
7358
- var n = Si();
7358
+ var n = xi();
7359
7359
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
7360
7360
  return n.useWebSocket;
7361
7361
  } });
7362
- var t = Do();
7362
+ var t = So();
7363
7363
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
7364
7364
  return t.useSocketIO;
7365
7365
  } });
@@ -7367,25 +7367,25 @@ function No() {
7367
7367
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
7368
7368
  return r.ReadyState;
7369
7369
  } });
7370
- var p = Eo();
7370
+ var p = Do();
7371
7371
  Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
7372
7372
  return p.useEventSource;
7373
7373
  } });
7374
- var g = xi();
7374
+ var g = ki();
7375
7375
  Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
7376
7376
  return g.resetGlobalState;
7377
7377
  } });
7378
7378
  })(ii)), ii;
7379
7379
  }
7380
- var Lo = No();
7381
- const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7380
+ var No = Eo();
7381
+ const Lo = /* @__PURE__ */ yi(No), Go = ({
7382
7382
  enable: e = !1,
7383
7383
  isTestFunction: n = !1,
7384
7384
  isTransferMode: t = !1,
7385
7385
  isInGameBox: r = !1,
7386
7386
  currentGamePlatform: p = ""
7387
7387
  }) => {
7388
- const { store: g, lng: b } = se(), { isReady: d, setAsReady: l, isPending: a, setAsPending: i } = Zn(), o = Qe(b), { mutateAsync: s } = Io();
7388
+ const { store: g, lng: b } = se(), { isReady: d, setAsReady: l, isPending: a, setAsPending: i } = Jn(), o = Qe(b), { mutateAsync: s } = zo();
7389
7389
  return !e || !n || !t ? { handleTransferInGame: () => {
7390
7390
  } } : { handleTransferInGame: async () => {
7391
7391
  console.log("執行遊戲內轉帳"), r && await s({
@@ -7460,63 +7460,63 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7460
7460
  verifyPhoneBarApi: g,
7461
7461
  verifyDonationCodeApi: b
7462
7462
  };
7463
- }, Ro = ({ options: e } = {}) => {
7463
+ }, Mo = ({ options: e } = {}) => {
7464
7464
  const { userLoginApi: n } = oe();
7465
7465
  return ee({
7466
7466
  mutationKey: ["userLogin"],
7467
7467
  mutationFn: async (t) => n(t),
7468
7468
  ...e
7469
7469
  });
7470
- }, Po = ({ options: e } = {}) => {
7470
+ }, Ro = ({ options: e } = {}) => {
7471
7471
  const { userLogoutApi: n } = oe();
7472
7472
  return ee({
7473
7473
  mutationKey: ["userLogout"],
7474
7474
  mutationFn: async () => n(),
7475
7475
  ...e
7476
7476
  });
7477
- }, wo = ({ options: e } = {}) => {
7477
+ }, Po = ({ options: e } = {}) => {
7478
7478
  const { userSignUpApi: n } = oe();
7479
7479
  return ee({
7480
7480
  mutationKey: ["userSignUp"],
7481
7481
  mutationFn: async (t) => n(t),
7482
7482
  ...e
7483
7483
  });
7484
- }, Fo = ({ options: e } = {}) => {
7484
+ }, wo = ({ options: e } = {}) => {
7485
7485
  const { addOrRemoveFavoriteGameApi: n } = oe();
7486
7486
  return ee({
7487
7487
  mutationKey: ["toggleFavoriteGame"],
7488
7488
  mutationFn: async (t) => n(t),
7489
7489
  ...e
7490
7490
  });
7491
- }, Ao = ({ options: e } = {}) => {
7491
+ }, Fo = ({ options: e } = {}) => {
7492
7492
  const { updateUserInfoApi: n } = oe();
7493
7493
  return ee({
7494
7494
  mutationKey: ["updateUserInfo"],
7495
7495
  mutationFn: async (t) => n(t),
7496
7496
  ...e
7497
7497
  });
7498
- }, Oo = ({ options: e } = {}) => {
7498
+ }, Ao = ({ options: e } = {}) => {
7499
7499
  const { resetUserPasswordApi: n } = oe();
7500
7500
  return ee({
7501
7501
  mutationKey: ["resetUserPassword"],
7502
7502
  mutationFn: async (t) => n(t),
7503
7503
  ...e
7504
7504
  });
7505
- }, Bo = ({ options: e } = {}) => {
7505
+ }, Oo = ({ options: e } = {}) => {
7506
7506
  const { setUserTransactionPasswordApi: n } = oe();
7507
7507
  return ee({
7508
7508
  mutationKey: ["setUserTransactionPassword"],
7509
7509
  mutationFn: async (t) => n(t),
7510
7510
  ...e
7511
7511
  });
7512
- }, Ho = ({ options: e } = {}) => {
7512
+ }, Bo = ({ options: e } = {}) => {
7513
7513
  const { resetUserTransactionPasswordApi: n } = oe();
7514
7514
  return ee({
7515
7515
  mutationKey: ["resetUserTransactionPassword"],
7516
7516
  mutationFn: async (t) => n(t),
7517
7517
  ...e
7518
7518
  });
7519
- }, Wo = ({ paramsData: e, options: n } = {}) => {
7519
+ }, Ho = ({ paramsData: e, options: n } = {}) => {
7520
7520
  const { userRebateApi: t } = oe(), { getToken: r } = se();
7521
7521
  return r?.(), $({
7522
7522
  queryKey: ["userRebate", e],
@@ -7524,14 +7524,14 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7524
7524
  enabled: !1,
7525
7525
  ...n
7526
7526
  });
7527
- }, zo = ({ options: e } = {}) => {
7527
+ }, Wo = ({ options: e } = {}) => {
7528
7528
  const { userBindBankApi: n } = oe();
7529
7529
  return ee({
7530
7530
  mutationKey: ["userBindBank"],
7531
7531
  mutationFn: async (t) => n({ formData: t }),
7532
7532
  ...e
7533
7533
  });
7534
- }, Io = ({ options: e } = {}) => {
7534
+ }, zo = ({ options: e } = {}) => {
7535
7535
  const { transferInGameApi: n } = oe();
7536
7536
  return ee({
7537
7537
  mutationKey: ["transferInGame"],
@@ -7574,21 +7574,21 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7574
7574
  },
7575
7575
  ...e
7576
7576
  });
7577
- }, nr = ({ options: e } = {}) => {
7577
+ }, ir = ({ options: e } = {}) => {
7578
7578
  const { lineLoginApi: n } = oe();
7579
7579
  return ee({
7580
7580
  mutationKey: ["lineLogin"],
7581
7581
  mutationFn: async (t) => n(t),
7582
7582
  ...e
7583
7583
  });
7584
- }, Vo = ({ options: e } = {}) => {
7584
+ }, Io = ({ options: e } = {}) => {
7585
7585
  const { lineLogin2Api: n } = oe();
7586
7586
  return ee({
7587
7587
  mutationKey: ["lineLogin"],
7588
7588
  mutationFn: async (t) => n(t),
7589
7589
  ...e
7590
7590
  });
7591
- }, Jo = ({ options: e, formData: n } = {}) => {
7591
+ }, Vo = ({ options: e, formData: n } = {}) => {
7592
7592
  const { getMachineLoginCodeApi: t } = oe();
7593
7593
  return $({
7594
7594
  queryKey: ["getMachineLoginCode"],
@@ -7623,7 +7623,7 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7623
7623
  mutationFn: async (t) => n(t),
7624
7624
  ...e
7625
7625
  });
7626
- }, Zo = ({ options: e } = {}) => {
7626
+ }, Jo = ({ options: e } = {}) => {
7627
7627
  const { bindAccountApi: n } = oe();
7628
7628
  return ee({
7629
7629
  mutationKey: ["bindAccount"],
@@ -7671,7 +7671,7 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7671
7671
  GRAND: 0,
7672
7672
  MEGA: 0
7673
7673
  });
7674
- return n ? zr(n, (b, d) => {
7674
+ return n ? Wr(n, (b, d) => {
7675
7675
  b.amount = Y(p, d, 0) + Math.floor(Math.random() * 1e3);
7676
7676
  }) : p;
7677
7677
  },
@@ -7715,15 +7715,15 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7715
7715
  userBindCard: {}
7716
7716
  }
7717
7717
  } = {}) => {
7718
- const n = Ro({ options: e.login }), t = Po({ options: e.logout }), r = wo({ options: e.register }), p = Ao({ options: e.updateUserInfo }), g = Fo({
7718
+ const n = Mo({ options: e.login }), t = Ro({ options: e.logout }), r = Po({ options: e.register }), p = Fo({ options: e.updateUserInfo }), g = wo({
7719
7719
  options: e.toggleFavoriteGame
7720
- }), b = Oo({
7720
+ }), b = Ao({
7721
7721
  options: e.resetUserPassword
7722
- }), d = Bo({
7722
+ }), d = Oo({
7723
7723
  options: e.setUserTransactionPassword
7724
- }), l = Ho({
7724
+ }), l = Bo({
7725
7725
  options: e.resetUserTransactionPassword
7726
- }), a = Wo({ options: e.userRebate }), i = zo({ options: e.userBindCard });
7726
+ }), a = Ho({ options: e.userRebate }), i = Wo({ options: e.userBindCard });
7727
7727
  return {
7728
7728
  login: n,
7729
7729
  logout: t,
@@ -7751,7 +7751,7 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7751
7751
  GAME_MAINTAIN: "game_maintain",
7752
7752
  LINE_LOGIN: "line_login",
7753
7753
  UPDATE_EVENT_WALLET: "update_event_wallet"
7754
- }, Ko = 3e4, Zm = ({
7754
+ }, Zo = 3e4, Zm = ({
7755
7755
  socketUrl: e,
7756
7756
  socketHandlers: n = {},
7757
7757
  options: t = {},
@@ -7765,20 +7765,20 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7765
7765
  enableNotification: g = !1,
7766
7766
  disabledLineAutoRegister: b = !1
7767
7767
  }) => {
7768
- const { store: d, lng: l } = se(), a = Wa(), { isReady: i, setAsReady: o, isPending: s, setAsPending: u } = Zn(), m = Qe(l), _ = te(!1), c = te(n), y = Y(r, "uid", null);
7768
+ const { store: d, lng: l } = se(), a = Wa(), { isReady: i, setAsReady: o, isPending: s, setAsPending: u } = Jn(), m = Qe(l), _ = te(!1), c = te(n), y = Y(r, "uid", null);
7769
7769
  Y(r, "testFunction", 0);
7770
7770
  const f = new URLSearchParams(window.location.search), U = Y(
7771
7771
  p,
7772
7772
  "enableTransferInGaming",
7773
7773
  !1
7774
- ), { mutateAsync: C } = nr({
7774
+ ), { mutateAsync: C } = ir({
7775
7775
  options: {
7776
7776
  onSuccess: (w) => {
7777
7777
  c.current.onLineLogin?.(w);
7778
7778
  },
7779
7779
  retry: !1
7780
7780
  }
7781
- }), { mutateAsync: v } = Vo({
7781
+ }), { mutateAsync: v } = Io({
7782
7782
  options: {
7783
7783
  onSuccess: (w) => {
7784
7784
  c.current.onLineLogin?.(w);
@@ -7787,7 +7787,7 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7787
7787
  b || C(R);
7788
7788
  }
7789
7789
  }
7790
- }), { handleTransferInGame: x } = Mo({
7790
+ }), { handleTransferInGame: x } = Go({
7791
7791
  enable: U,
7792
7792
  isTestFunction: !0,
7793
7793
  isTransferMode: Y(p, "isTransferMode", !1),
@@ -7804,7 +7804,7 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7804
7804
  readyState: k
7805
7805
  // WebSocket 連線狀態
7806
7806
  // getWebSocket, // 獲取 WebSocket 實例
7807
- } = Go(e, {
7807
+ } = Lo(e, {
7808
7808
  queryParams: { key: "wsky" },
7809
7809
  onOpen: () => console.log("連線成功"),
7810
7810
  shouldReconnect: () => _.current === !1,
@@ -7821,7 +7821,7 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7821
7821
  pe(() => {
7822
7822
  const w = setInterval(
7823
7823
  () => E("ping"),
7824
- Ko
7824
+ Zo
7825
7825
  );
7826
7826
  return () => clearInterval(w);
7827
7827
  }, [E]);
@@ -7863,7 +7863,7 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7863
7863
  memo: Y(h, "memo", null),
7864
7864
  amount: Y(h, "amount", null),
7865
7865
  limitAmount: Y(h, "limit_amount", null)
7866
- }, Z = Number(N.memberInfoUid) === y, q = N.data, j = N.amount, K = N.limitAmount, ie = f.get("mac") || gi.get("machine_mac_address") || "", re = Y(h, "data.line_id", null), ye = Y(h, "data.line_name", null), Ue = Y(h, "member_info_uid", null);
7866
+ }, Z = Number(N.memberInfoUid) === y, q = N.data, j = N.amount, K = N.limitAmount, ie = f.get("mac") || pi.get("machine_mac_address") || "", re = Y(h, "data.line_id", null), ye = Y(h, "data.line_name", null), Ue = Y(h, "member_info_uid", null);
7867
7867
  switch (L) {
7868
7868
  case He.DEPOSIT:
7869
7869
  Z && (x(), w?.(N));
@@ -7986,7 +7986,7 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
7986
7986
  type: "ui/showToast",
7987
7987
  payload: {
7988
7988
  title: Ba[m] || "System Prompt",
7989
- description: Xr[m] || "We are processing your transfer",
7989
+ description: Yr[m] || "We are processing your transfer",
7990
7990
  status: "warning",
7991
7991
  duration: 1 / 0,
7992
7992
  id: "trasnferingInGame"
@@ -8046,7 +8046,7 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
8046
8046
  redeemEventRewardApi: r,
8047
8047
  settleEventApi: g
8048
8048
  };
8049
- }, qo = ({ paramsData: e, options: n } = {}) => {
8049
+ }, Ko = ({ paramsData: e, options: n } = {}) => {
8050
8050
  const { store: t, lng: r, data2URL: p } = se(), { eventListApi: g } = Xa(), b = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", d = Qe(r);
8051
8051
  return $({
8052
8052
  queryKey: ["eventList", e],
@@ -8115,8 +8115,8 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
8115
8115
  // VIP 群組
8116
8116
  tagsGroup: o.tags_group,
8117
8117
  //標籤群組
8118
- eventBg: qn(),
8119
- eventIcon: Kn(o.type),
8118
+ eventBg: Kn(),
8119
+ eventIcon: Zn(o.type),
8120
8120
  nextSettlementDate: o.next_settlement_date,
8121
8121
  //下一次結算日期
8122
8122
  lastSettlementDate: o.last_settlement_date
@@ -8183,14 +8183,14 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
8183
8183
  mutationFn: async (t) => n(t),
8184
8184
  ...e
8185
8185
  });
8186
- }, $o = ({ options: e, formData: n } = {}) => {
8186
+ }, qo = ({ options: e, formData: n } = {}) => {
8187
8187
  const { checkCurrentEventProgessApi: t } = Xa();
8188
8188
  return $({
8189
8189
  queryKey: ["checkEventProgress"],
8190
8190
  queryFn: async () => t(n),
8191
8191
  ...e
8192
8192
  });
8193
- }, Qo = ({ options: e, formData: n } = {}) => {
8193
+ }, $o = ({ options: e, formData: n } = {}) => {
8194
8194
  const { checkEventStatusApi: t } = Xa();
8195
8195
  return $({
8196
8196
  queryKey: ["checkEventStatus"],
@@ -8212,9 +8212,9 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
8212
8212
  checkEventStatus: {}
8213
8213
  }
8214
8214
  } = {}) => {
8215
- const n = qo({ options: e.eventList }), t = $o({
8215
+ const n = Ko({ options: e.eventList }), t = qo({
8216
8216
  options: e.checkEventProgress
8217
- }), r = Qo({
8217
+ }), r = $o({
8218
8218
  options: e.checkEventStatus
8219
8219
  });
8220
8220
  return {
@@ -8425,10 +8425,10 @@ const Go = /* @__PURE__ */ Ui(Lo), Mo = ({
8425
8425
  ...e
8426
8426
  });
8427
8427
  };
8428
- var jo = Object.create, rr = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Xo = Object.getOwnPropertyNames, es = Object.getPrototypeOf, as = Object.prototype.hasOwnProperty, ts = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), is = (e, n, t, r) => {
8429
- if (n && typeof n == "object" || typeof n == "function") for (let p of Xo(n)) !as.call(e, p) && p !== t && rr(e, p, { get: () => n[p], enumerable: !(r = Yo(n, p)) || r.enumerable });
8428
+ var Qo = Object.create, nr = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Yo = Object.getOwnPropertyNames, Xo = Object.getPrototypeOf, es = Object.prototype.hasOwnProperty, as = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), ts = (e, n, t, r) => {
8429
+ if (n && typeof n == "object" || typeof n == "function") for (let p of Yo(n)) !es.call(e, p) && p !== t && nr(e, p, { get: () => n[p], enumerable: !(r = jo(n, p)) || r.enumerable });
8430
8430
  return e;
8431
- }, ns = (e, n, t) => (t = e != null ? jo(es(e)) : {}, is(!e || !e.__esModule ? rr(t, "default", { value: e, enumerable: !0 }) : t, e)), rs = ts((e, n) => {
8431
+ }, is = (e, n, t) => (t = e != null ? Qo(Xo(e)) : {}, ts(!e || !e.__esModule ? nr(t, "default", { value: e, enumerable: !0 }) : t, e)), ns = as((e, n) => {
8432
8432
  (function(t, r) {
8433
8433
  typeof e == "object" && typeof n < "u" ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (t = typeof globalThis < "u" ? globalThis : t || self, r(t.fastUniqueNumbers = {}));
8434
8434
  })(e, function(t) {
@@ -8457,12 +8457,12 @@ var jo = Object.create, rr = Object.defineProperty, Yo = Object.getOwnPropertyDe
8457
8457
  t.addUniqueNumber = s, t.generateUniqueNumber = o;
8458
8458
  });
8459
8459
  });
8460
- ns(rs());
8460
+ is(ns());
8461
8461
  var pa = (typeof window > "u" ? "undefined" : typeof window) == "object", Xe = { setTimeout: pa ? setTimeout.bind(window) : setTimeout, clearTimeout: pa ? clearTimeout.bind(window) : clearTimeout, setInterval: pa ? setInterval.bind(window) : setInterval, clearInterval: pa ? clearInterval.bind(window) : clearInterval };
8462
- function ls(e) {
8462
+ function rs(e) {
8463
8463
  Xe.setTimeout = e.setTimeout, Xe.clearTimeout = e.clearTimeout, Xe.setInterval = e.setInterval, Xe.clearInterval = e.clearInterval;
8464
8464
  }
8465
- var wa = {}, os = class {
8465
+ var wa = {}, ls = class {
8466
8466
  name;
8467
8467
  closed = !1;
8468
8468
  mc = new MessageChannel();
@@ -8510,17 +8510,17 @@ var wa = {}, os = class {
8510
8510
  dispatchEvent(e) {
8511
8511
  return this.mc.port1.dispatchEvent(e);
8512
8512
  }
8513
- }, ss = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : os;
8514
- function ms(e = 0) {
8513
+ }, os = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : ls;
8514
+ function ss(e = 0) {
8515
8515
  return new Promise((n) => Xe.setTimeout(n, e));
8516
8516
  }
8517
- function lr() {
8517
+ function rr() {
8518
8518
  return Math.random().toString(36).substring(2);
8519
8519
  }
8520
- var us = class {
8520
+ var ms = class {
8521
8521
  options;
8522
8522
  channel;
8523
- token = lr();
8523
+ token = rr();
8524
8524
  isLeader = !1;
8525
8525
  isDead = !1;
8526
8526
  isApplying = !1;
@@ -8541,7 +8541,7 @@ var us = class {
8541
8541
  };
8542
8542
  this.channel.addEventListener("message", n);
8543
8543
  try {
8544
- return this.sendAction(0), await ms(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8544
+ return this.sendAction(0), await ss(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8545
8545
  } catch {
8546
8546
  return !1;
8547
8547
  }
@@ -8597,19 +8597,19 @@ var us = class {
8597
8597
  }
8598
8598
  }
8599
8599
  }
8600
- }, ps = class {
8600
+ }, us = class {
8601
8601
  channel;
8602
8602
  options;
8603
8603
  elector;
8604
- token = lr();
8604
+ token = rr();
8605
8605
  registry = /* @__PURE__ */ new Map();
8606
8606
  allIdle = !1;
8607
8607
  isLastActive = !1;
8608
8608
  constructor(e) {
8609
8609
  let { channelName: n } = e;
8610
- if (this.options = e, this.channel = new ss(n), this.registry.set(this.token, 1), e.leaderElection) {
8610
+ if (this.options = e, this.channel = new os(n), this.registry.set(this.token, 1), e.leaderElection) {
8611
8611
  let t = { fallbackInterval: 2e3, responseTime: 100 };
8612
- this.elector = new us(this.channel, t), this.elector.waitForLeadership();
8612
+ this.elector = new ms(this.channel, t), this.elector.waitForLeadership();
8613
8613
  }
8614
8614
  this.channel.addEventListener("message", (t) => {
8615
8615
  let { action: r, token: p, data: g } = t.data;
@@ -8699,8 +8699,8 @@ var us = class {
8699
8699
  close() {
8700
8700
  this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
8701
8701
  }
8702
- }, gs = pa ? document : null, ds = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8703
- function cs(e, n) {
8702
+ }, ps = pa ? document : null, gs = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8703
+ function ds(e, n) {
8704
8704
  let t;
8705
8705
  function r(...p) {
8706
8706
  t && clearTimeout(t), t = setTimeout(() => {
@@ -8719,7 +8719,7 @@ function si(e, n) {
8719
8719
  };
8720
8720
  }
8721
8721
  var Te = () => Date.now(), Fa = 2147483647;
8722
- function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: r = gs, events: p = ds, timers: g = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
8722
+ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: r = ps, events: p = gs, timers: g = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
8723
8723
  }, onPrompt: l = () => {
8724
8724
  }, onIdle: a = () => {
8725
8725
  }, onActive: i = () => {
@@ -8772,7 +8772,7 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8772
8772
  }, [s]);
8773
8773
  let fe = Oa(() => {
8774
8774
  let V = (De, na) => ce.current(De, na);
8775
- return u > 0 ? cs(V, u) : m > 0 ? si(V, m) : V;
8775
+ return u > 0 ? ds(V, u) : m > 0 ? si(V, m) : V;
8776
8776
  }, [m, u]), Ve = te();
8777
8777
  pe(() => {
8778
8778
  U && v && (Ve.current = si(() => {
@@ -8839,7 +8839,7 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8839
8839
  }, [k, F]);
8840
8840
  pe(() => {
8841
8841
  if (u > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
8842
- g && ls(g);
8842
+ g && rs(g);
8843
8843
  let V = () => {
8844
8844
  S.current && S.current.close(), fe.cancel && fe.cancel(), Ce(), Fe(!0);
8845
8845
  };
@@ -8847,7 +8847,7 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8847
8847
  pa && window.removeEventListener("beforeunload", V), S.current && S.current.close(), fe.cancel && fe.cancel(), Ce(), Fe(!0);
8848
8848
  };
8849
8849
  }, []), pe(() => {
8850
- S.current && S.current.close(), U ? S.current = new ps({ channelName: C, leaderElection: x, onPrompt: () => {
8850
+ S.current && S.current.close(), U ? S.current = new us({ channelName: C, leaderElection: x, onPrompt: () => {
8851
8851
  aa();
8852
8852
  }, onIdle: () => {
8853
8853
  we();
@@ -8882,15 +8882,15 @@ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8882
8882
  } };
8883
8883
  return Se;
8884
8884
  }
8885
- var _s = Qt(null);
8886
- _s.Consumer;
8887
- const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
8885
+ var fs = Qt(null);
8886
+ fs.Consumer;
8887
+ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => cs({
8888
8888
  onIdle: e,
8889
8889
  onActive: n,
8890
8890
  onAction: t,
8891
8891
  timeout: r,
8892
8892
  throttle: 500
8893
- }), ys = ({ options: e } = {}) => {
8893
+ }), _s = ({ options: e } = {}) => {
8894
8894
  const { commonInboxApi: n } = za(), { getToken: t, lng: r } = se(), p = t?.(), g = Qe(r);
8895
8895
  return $({
8896
8896
  queryKey: ["inboxList"],
@@ -8911,7 +8911,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
8911
8911
  enabled: !!p,
8912
8912
  ...e
8913
8913
  });
8914
- }, Us = ({ options: e } = {}) => {
8914
+ }, ys = ({ options: e } = {}) => {
8915
8915
  const { commonReadInboxApi: n } = za();
8916
8916
  return ee({
8917
8917
  mutationKey: ["readInbox"],
@@ -8924,12 +8924,12 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
8924
8924
  readInbox: {}
8925
8925
  }
8926
8926
  } = {}) => {
8927
- const n = ys({ options: e.inboxList }), t = Us({ options: e.readInbox });
8927
+ const n = _s({ options: e.inboxList }), t = ys({ options: e.readInbox });
8928
8928
  return {
8929
8929
  inboxListQuery: n,
8930
8930
  readInboxMutation: t
8931
8931
  };
8932
- }, or = () => {
8932
+ }, lr = () => {
8933
8933
  const { client: e } = se();
8934
8934
  return {
8935
8935
  newsListApi: z(
@@ -8939,7 +8939,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
8939
8939
  [e]
8940
8940
  )
8941
8941
  };
8942
- }, bs = ({
8942
+ }, Us = ({
8943
8943
  typeConfig: e = {
8944
8944
  all: {},
8945
8945
  crypto: {},
@@ -8986,7 +8986,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
8986
8986
  ...e.other
8987
8987
  }
8988
8988
  ], lu = ({ options: e, formData: n } = {}) => {
8989
- const { lng: t } = se(), { newsListApi: r } = or(), p = Qe(t);
8989
+ const { lng: t } = se(), { newsListApi: r } = lr(), p = Qe(t);
8990
8990
  return $({
8991
8991
  queryKey: ["newsList"],
8992
8992
  queryFn: () => {
@@ -9006,13 +9006,13 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9006
9006
  return {
9007
9007
  ...g.data,
9008
9008
  data: l,
9009
- blogType: bs({ typeConfig: e?.typeConfig })
9009
+ blogType: Us({ typeConfig: e?.typeConfig })
9010
9010
  };
9011
9011
  },
9012
9012
  ...e
9013
9013
  });
9014
9014
  }, ou = ({ options: e, formData: n } = {}) => {
9015
- const { lng: t } = se(), { newsListApi: r } = or(), p = Qe(t);
9015
+ const { lng: t } = se(), { newsListApi: r } = lr(), p = Qe(t);
9016
9016
  return $({
9017
9017
  queryKey: ["newsList"],
9018
9018
  queryFn: () => {
@@ -9235,14 +9235,14 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9235
9235
  snCashRecordApi: _,
9236
9236
  otherTransactionApi: a
9237
9237
  };
9238
- }, Cs = ({ options: e } = {}) => {
9238
+ }, bs = ({ options: e } = {}) => {
9239
9239
  const { depositApiV1: n } = Me();
9240
9240
  return $({
9241
9241
  queryKey: ["depositV1"],
9242
9242
  queryFn: n,
9243
9243
  ...e
9244
9244
  });
9245
- }, vs = ({ paramsData: e, options: n } = {}) => {
9245
+ }, Cs = ({ paramsData: e, options: n } = {}) => {
9246
9246
  const { depositApiV2: t } = Me();
9247
9247
  return $({
9248
9248
  queryKey: ["depositV2", e],
@@ -9253,11 +9253,11 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9253
9253
  providerList: Le(l.providers, (a) => ({
9254
9254
  ...a,
9255
9255
  providerUid: a.uid,
9256
- providerImageUrl: `${Ke}/paymentIcon/${Ni(a.provider_name)}.png`,
9256
+ providerImageUrl: `${Ke}/paymentIcon/${Ei(a.provider_name)}.png`,
9257
9257
  providerMax: a.max,
9258
9258
  providerMin: a.min
9259
9259
  })),
9260
- methodImageUrl: `${Ke}/paymentIcon/${Ni(l.method_name)}pay.png`
9260
+ methodImageUrl: `${Ke}/paymentIcon/${Ei(l.method_name)}pay.png`
9261
9261
  }));
9262
9262
  return {
9263
9263
  bank: g,
@@ -9267,42 +9267,42 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9267
9267
  },
9268
9268
  ...n
9269
9269
  });
9270
- }, hs = ({ options: e } = {}) => {
9270
+ }, vs = ({ options: e } = {}) => {
9271
9271
  const { depositApi: n } = Me();
9272
9272
  return ee({
9273
9273
  mutationKey: ["depositAction"],
9274
9274
  mutationFn: async (t) => n(t),
9275
9275
  ...e
9276
9276
  });
9277
- }, Ts = ({ options: e } = {}) => {
9277
+ }, hs = ({ options: e } = {}) => {
9278
9278
  const { withdrawApi: n } = Me();
9279
9279
  return ee({
9280
9280
  mutationKey: ["withdrawAction"],
9281
9281
  mutationFn: async (t) => n(t),
9282
9282
  ...e
9283
9283
  });
9284
- }, ks = ({ paramsData: e, options: n } = {}) => {
9284
+ }, Ts = ({ paramsData: e, options: n } = {}) => {
9285
9285
  const { depositTransactionApi: t } = Me();
9286
9286
  return $({
9287
9287
  queryKey: ["depositTransaction", e],
9288
9288
  queryFn: () => t({ paramsData: e }),
9289
9289
  ...n
9290
9290
  });
9291
- }, xs = ({ paramsData: e, options: n } = {}) => {
9291
+ }, ks = ({ paramsData: e, options: n } = {}) => {
9292
9292
  const { eventTransactionApi: t } = Me();
9293
9293
  return $({
9294
9294
  queryKey: ["eventTransaction", e],
9295
9295
  queryFn: () => t({ paramsData: e }),
9296
9296
  ...n
9297
9297
  });
9298
- }, Ss = ({ options: e } = {}) => {
9298
+ }, xs = ({ options: e } = {}) => {
9299
9299
  const { bankDepositApi: n } = Me();
9300
9300
  return ee({
9301
9301
  mutationKey: ["bankDeposit"],
9302
9302
  mutationFn: async (t) => n(t),
9303
9303
  ...e
9304
9304
  });
9305
- }, Ds = ({ paramsData: e, options: n } = {}) => {
9305
+ }, Ss = ({ paramsData: e, options: n } = {}) => {
9306
9306
  const { withdrawTransactionApi: t } = Me();
9307
9307
  return $({
9308
9308
  queryKey: ["withdrawTransaction", e],
@@ -9389,7 +9389,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9389
9389
  eventTransaction: b = {},
9390
9390
  withdrawTransaction: d = {}
9391
9391
  } = {}) => {
9392
- const l = Cs(e), a = vs(n), i = ks(t), o = hs(r), s = Ts(p), u = Ss(g), m = xs(b), _ = Ds(
9392
+ const l = bs(e), a = Cs(n), i = Ts(t), o = vs(r), s = hs(p), u = xs(g), m = ks(b), _ = Ss(
9393
9393
  d
9394
9394
  );
9395
9395
  return {
@@ -9402,10 +9402,10 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9402
9402
  eventTransaction: m,
9403
9403
  withdrawTransaction: _
9404
9404
  };
9405
- }, sr = "3.7.8", Es = sr, Ia = typeof Buffer == "function", Pn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, wn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ns = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ya = Array.prototype.slice.call(Ns), st = ((e) => {
9405
+ }, or = "3.7.8", Ds = or, Ia = typeof Buffer == "function", Rn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Pn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Es = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ya = Array.prototype.slice.call(Es), st = ((e) => {
9406
9406
  let n = {};
9407
9407
  return e.forEach((t, r) => n[t] = r), n;
9408
- })(Ya), Ls = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Re = String.fromCharCode.bind(String), Fn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), mr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ur = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), pr = (e) => {
9408
+ })(Ya), Ns = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Re = String.fromCharCode.bind(String), wn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), mr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ur = (e) => {
9409
9409
  let n, t, r, p, g = "";
9410
9410
  const b = e.length % 3;
9411
9411
  for (let d = 0; d < e.length; ) {
@@ -9414,12 +9414,12 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9414
9414
  n = t << 16 | r << 8 | p, g += Ya[n >> 18 & 63] + Ya[n >> 12 & 63] + Ya[n >> 6 & 63] + Ya[n & 63];
9415
9415
  }
9416
9416
  return b ? g.slice(0, b - 3) + "===".substring(b) : g;
9417
- }, Di = typeof btoa == "function" ? (e) => btoa(e) : Ia ? (e) => Buffer.from(e, "binary").toString("base64") : pr, di = Ia ? (e) => Buffer.from(e).toString("base64") : (e) => {
9417
+ }, Si = typeof btoa == "function" ? (e) => btoa(e) : Ia ? (e) => Buffer.from(e, "binary").toString("base64") : ur, gi = Ia ? (e) => Buffer.from(e).toString("base64") : (e) => {
9418
9418
  let t = [];
9419
9419
  for (let r = 0, p = e.length; r < p; r += 4096)
9420
9420
  t.push(Re.apply(null, e.subarray(r, r + 4096)));
9421
- return Di(t.join(""));
9422
- }, Kt = (e, n = !1) => n ? mr(di(e)) : di(e), Gs = (e) => {
9421
+ return Si(t.join(""));
9422
+ }, Kt = (e, n = !1) => n ? sr(gi(e)) : gi(e), Ls = (e) => {
9423
9423
  if (e.length < 2) {
9424
9424
  var n = e.charCodeAt(0);
9425
9425
  return n < 128 ? e : n < 2048 ? Re(192 | n >>> 6) + Re(128 | n & 63) : Re(224 | n >>> 12 & 15) + Re(128 | n >>> 6 & 63) + Re(128 | n & 63);
@@ -9427,7 +9427,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9427
9427
  var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
9428
9428
  return Re(240 | n >>> 18 & 7) + Re(128 | n >>> 12 & 63) + Re(128 | n >>> 6 & 63) + Re(128 | n & 63);
9429
9429
  }
9430
- }, Ms = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, gr = (e) => e.replace(Ms, Gs), An = Ia ? (e) => Buffer.from(e, "utf8").toString("base64") : wn ? (e) => di(wn.encode(e)) : (e) => Di(gr(e)), Ha = (e, n = !1) => n ? mr(An(e)) : An(e), On = (e) => Ha(e, !0), Rs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Ps = (e) => {
9430
+ }, Gs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, pr = (e) => e.replace(Gs, Ls), Fn = Ia ? (e) => Buffer.from(e, "utf8").toString("base64") : Pn ? (e) => gi(Pn.encode(e)) : (e) => Si(pr(e)), Ha = (e, n = !1) => n ? sr(Fn(e)) : Fn(e), An = (e) => Ha(e, !0), Ms = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Rs = (e) => {
9431
9431
  switch (e.length) {
9432
9432
  case 4:
9433
9433
  var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), t = n - 65536;
@@ -9437,28 +9437,28 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9437
9437
  default:
9438
9438
  return Re((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
9439
9439
  }
9440
- }, dr = (e) => e.replace(Rs, Ps), cr = (e) => {
9441
- if (e = e.replace(/\s+/g, ""), !Ls.test(e))
9440
+ }, gr = (e) => e.replace(Ms, Rs), dr = (e) => {
9441
+ if (e = e.replace(/\s+/g, ""), !Ns.test(e))
9442
9442
  throw new TypeError("malformed base64.");
9443
9443
  e += "==".slice(2 - (e.length & 3));
9444
9444
  let n, t, r, p = [];
9445
9445
  for (let g = 0; g < e.length; )
9446
9446
  n = st[e.charAt(g++)] << 18 | st[e.charAt(g++)] << 12 | (t = st[e.charAt(g++)]) << 6 | (r = st[e.charAt(g++)]), t === 64 ? p.push(Re(n >> 16 & 255)) : r === 64 ? p.push(Re(n >> 16 & 255, n >> 8 & 255)) : p.push(Re(n >> 16 & 255, n >> 8 & 255, n & 255));
9447
9447
  return p.join("");
9448
- }, Ei = typeof atob == "function" ? (e) => atob(ur(e)) : Ia ? (e) => Buffer.from(e, "base64").toString("binary") : cr, fr = Ia ? (e) => Fn(Buffer.from(e, "base64")) : (e) => Fn(Ei(e).split("").map((n) => n.charCodeAt(0))), _r = (e) => fr(yr(e)), ws = Ia ? (e) => Buffer.from(e, "base64").toString("utf8") : Pn ? (e) => Pn.decode(fr(e)) : (e) => dr(Ei(e)), yr = (e) => ur(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), ci = (e) => ws(yr(e)), Fs = (e) => {
9448
+ }, Di = typeof atob == "function" ? (e) => atob(mr(e)) : Ia ? (e) => Buffer.from(e, "base64").toString("binary") : dr, cr = Ia ? (e) => wn(Buffer.from(e, "base64")) : (e) => wn(Di(e).split("").map((n) => n.charCodeAt(0))), fr = (e) => cr(_r(e)), Ps = Ia ? (e) => Buffer.from(e, "base64").toString("utf8") : Rn ? (e) => Rn.decode(cr(e)) : (e) => gr(Di(e)), _r = (e) => mr(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), di = (e) => Ps(_r(e)), ws = (e) => {
9449
9449
  if (typeof e != "string")
9450
9450
  return !1;
9451
9451
  const n = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
9452
9452
  return !/[^\s0-9a-zA-Z\+/]/.test(n) || !/[^\s0-9a-zA-Z\-_]/.test(n);
9453
- }, Ur = (e) => ({
9453
+ }, yr = (e) => ({
9454
9454
  value: e,
9455
9455
  enumerable: !1,
9456
9456
  writable: !0,
9457
9457
  configurable: !0
9458
- }), br = function() {
9459
- const e = (n, t) => Object.defineProperty(String.prototype, n, Ur(t));
9458
+ }), Ur = function() {
9459
+ const e = (n, t) => Object.defineProperty(String.prototype, n, yr(t));
9460
9460
  e("fromBase64", function() {
9461
- return ci(this);
9461
+ return di(this);
9462
9462
  }), e("toBase64", function(n) {
9463
9463
  return Ha(this, n);
9464
9464
  }), e("toBase64URI", function() {
@@ -9466,10 +9466,10 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9466
9466
  }), e("toBase64URL", function() {
9467
9467
  return Ha(this, !0);
9468
9468
  }), e("toUint8Array", function() {
9469
- return _r(this);
9469
+ return fr(this);
9470
9470
  });
9471
- }, Cr = function() {
9472
- const e = (n, t) => Object.defineProperty(Uint8Array.prototype, n, Ur(t));
9471
+ }, br = function() {
9472
+ const e = (n, t) => Object.defineProperty(Uint8Array.prototype, n, yr(t));
9473
9473
  e("toBase64", function(n) {
9474
9474
  return Kt(this, n);
9475
9475
  }), e("toBase64URI", function() {
@@ -9477,31 +9477,31 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9477
9477
  }), e("toBase64URL", function() {
9478
9478
  return Kt(this, !0);
9479
9479
  });
9480
- }, As = () => {
9481
- br(), Cr();
9482
- }, Os = {
9483
- version: sr,
9484
- VERSION: Es,
9485
- atob: Ei,
9486
- atobPolyfill: cr,
9487
- btoa: Di,
9488
- btoaPolyfill: pr,
9489
- fromBase64: ci,
9480
+ }, Fs = () => {
9481
+ Ur(), br();
9482
+ }, As = {
9483
+ version: or,
9484
+ VERSION: Ds,
9485
+ atob: Di,
9486
+ atobPolyfill: dr,
9487
+ btoa: Si,
9488
+ btoaPolyfill: ur,
9489
+ fromBase64: di,
9490
9490
  toBase64: Ha,
9491
9491
  encode: Ha,
9492
- encodeURI: On,
9493
- encodeURL: On,
9494
- utob: gr,
9495
- btou: dr,
9496
- decode: ci,
9497
- isValid: Fs,
9492
+ encodeURI: An,
9493
+ encodeURL: An,
9494
+ utob: pr,
9495
+ btou: gr,
9496
+ decode: di,
9497
+ isValid: ws,
9498
9498
  fromUint8Array: Kt,
9499
- toUint8Array: _r,
9500
- extendString: br,
9501
- extendUint8Array: Cr,
9502
- extendBuiltins: As
9499
+ toUint8Array: fr,
9500
+ extendString: Ur,
9501
+ extendUint8Array: br,
9502
+ extendBuiltins: Fs
9503
9503
  }, bu = (e, n) => {
9504
- const { playGameApi: t } = vi();
9504
+ const { playGameApi: t } = Ci();
9505
9505
  return $({
9506
9506
  queryKey: ["playGame"],
9507
9507
  queryFn: async () => {
@@ -9528,7 +9528,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9528
9528
  supportPortrait: s,
9529
9529
  isHtmlCode: m,
9530
9530
  gameUrl: u,
9531
- decodeGameUrl: Os.decode(u),
9531
+ decodeGameUrl: As.decode(u),
9532
9532
  message: _,
9533
9533
  betLimitInfo: c
9534
9534
  };
@@ -9536,22 +9536,22 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9536
9536
  enabled: !!e?.gameCode,
9537
9537
  ...n
9538
9538
  });
9539
- }, vr = () => {
9539
+ }, Cr = () => {
9540
9540
  const { client: e } = se(), n = z(async () => await e.get("/rebate"), [e]), t = z(async () => await e.post("/withdraw/rebate"), [e]);
9541
9541
  return {
9542
9542
  currentRebateApi: n,
9543
9543
  receiveRebateApi: t
9544
9544
  };
9545
- }, Bs = ({ options: e } = {}) => {
9546
- const { currentRebateApi: n } = vr();
9545
+ }, Os = ({ options: e } = {}) => {
9546
+ const { currentRebateApi: n } = Cr();
9547
9547
  return $({
9548
9548
  queryKey: ["currentRebate"],
9549
9549
  queryFn: () => n(),
9550
- select: (t) => Ir(t, ["code", "status"]),
9550
+ select: (t) => zr(t, ["code", "status"]),
9551
9551
  ...e
9552
9552
  });
9553
- }, Hs = ({ options: e } = {}) => {
9554
- const { receiveRebateApi: n } = vr();
9553
+ }, Bs = ({ options: e } = {}) => {
9554
+ const { receiveRebateApi: n } = Cr();
9555
9555
  return ee({
9556
9556
  mutationKey: ["receiveRebate"],
9557
9557
  mutationFn: async () => n(),
@@ -9563,7 +9563,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9563
9563
  receiveRebate: {}
9564
9564
  }
9565
9565
  } = {}) => {
9566
- const n = Bs({ options: e.currentRebate }), t = Hs({ options: e.receiveRebate });
9566
+ const n = Os({ options: e.currentRebate }), t = Bs({ options: e.receiveRebate });
9567
9567
  return {
9568
9568
  currentRebate: n,
9569
9569
  receiveRebate: t
@@ -9587,7 +9587,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9587
9587
  redeemRewardApi: p,
9588
9588
  historyRewardApi: g
9589
9589
  };
9590
- }, Ws = ({ options: e, formData: n } = {}) => {
9590
+ }, Hs = ({ options: e, formData: n } = {}) => {
9591
9591
  const { rewardListApi: t } = at();
9592
9592
  return $({
9593
9593
  queryKey: ["rewardsList"],
@@ -9616,8 +9616,8 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9616
9616
  rewardUid: u,
9617
9617
  rewardWagering: b,
9618
9618
  rewardAmount: d,
9619
- rewardBg: qn(),
9620
- rewardIcon: Kn("win")
9619
+ rewardBg: Kn(),
9620
+ rewardIcon: Zn("win")
9621
9621
  };
9622
9622
  });
9623
9623
  return {
@@ -9627,28 +9627,28 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9627
9627
  },
9628
9628
  ...e
9629
9629
  });
9630
- }, zs = ({ options: e } = {}) => {
9630
+ }, Ws = ({ options: e } = {}) => {
9631
9631
  const { redeemRewardApi: n } = at();
9632
9632
  return ee({
9633
9633
  mutationKey: ["redeemReward"],
9634
9634
  mutationFn: async (t) => await n(t),
9635
9635
  ...e
9636
9636
  });
9637
- }, Is = ({ options: e } = {}) => {
9637
+ }, zs = ({ options: e } = {}) => {
9638
9638
  const { unUsedRewardListApi: n } = at();
9639
9639
  return $({
9640
9640
  queryKey: ["unUsedRewardsList"],
9641
9641
  queryFn: n,
9642
9642
  ...e
9643
9643
  });
9644
- }, Vs = ({ options: e } = {}) => {
9644
+ }, Is = ({ options: e } = {}) => {
9645
9645
  const { expiredRewardListApi: n } = at();
9646
9646
  return $({
9647
9647
  queryKey: ["expiredRewardsList"],
9648
9648
  queryFn: n,
9649
9649
  ...e
9650
9650
  });
9651
- }, Js = ({ options: e } = {}) => {
9651
+ }, Vs = ({ options: e } = {}) => {
9652
9652
  const { historyRewardApi: n } = at();
9653
9653
  return $({
9654
9654
  queryKey: ["historyRewardsList"],
@@ -9664,13 +9664,13 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9664
9664
  historyRewardsList: {}
9665
9665
  }
9666
9666
  } = {}) => {
9667
- const n = Ws({ options: e.rewardsList }), t = zs({
9667
+ const n = Hs({ options: e.rewardsList }), t = Ws({
9668
9668
  options: e.redeemReward
9669
- }), r = Is({
9669
+ }), r = zs({
9670
9670
  options: e.unUsedRewardsList
9671
- }), p = Vs({
9671
+ }), p = Is({
9672
9672
  options: e.expiredRewardsList
9673
- }), g = Js({
9673
+ }), g = Vs({
9674
9674
  options: e.historyRewardsList
9675
9675
  });
9676
9676
  return {
@@ -9680,7 +9680,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9680
9680
  expiredRewardsListQuery: p,
9681
9681
  historyRewardsListQuery: g
9682
9682
  };
9683
- }, hr = () => {
9683
+ }, vr = () => {
9684
9684
  const { client: e } = se(), n = z(
9685
9685
  async (r = {}) => {
9686
9686
  const {
@@ -9716,7 +9716,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9716
9716
  redeemTreasureApi: t
9717
9717
  };
9718
9718
  }, hu = ({ paramsData: e, options: n } = {}) => {
9719
- const { client: t, lng: r } = se(), p = Qe(r || "tw"), { treasureListApi: g } = hr();
9719
+ const { client: t, lng: r } = se(), p = Qe(r || "tw"), { treasureListApi: g } = vr();
9720
9720
  return $({
9721
9721
  queryKey: ["treasureList", e],
9722
9722
  queryFn: () => g(e),
@@ -9744,20 +9744,20 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9744
9744
  ...n
9745
9745
  });
9746
9746
  }, Tu = ({ options: e } = {}) => {
9747
- const { redeemTreasureApi: n } = hr();
9747
+ const { redeemTreasureApi: n } = vr();
9748
9748
  return ee({
9749
9749
  mutationKey: ["redeemTreasure"],
9750
9750
  mutationFn: async (t) => n(t),
9751
9751
  ...e
9752
9752
  });
9753
- }, Tr = () => {
9753
+ }, hr = () => {
9754
9754
  const { client: e } = se(), n = z(async () => await e.get("/vip/list"), [e]), t = z(async () => await e.get("/vip/check"), [e]);
9755
9755
  return {
9756
9756
  vipListApi: n,
9757
9757
  vipInfoApi: t
9758
9758
  };
9759
9759
  }, ku = ({ options: e } = {}) => {
9760
- const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: r } = Tr();
9760
+ const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: r } = hr();
9761
9761
  return $({
9762
9762
  queryKey: ["vipInfo"],
9763
9763
  queryFn: async () => r(),
@@ -9767,7 +9767,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9767
9767
  currentStatus: a.status,
9768
9768
  currentOverflow: a.promotion_overflow,
9769
9769
  type: a.type
9770
- })), l = Vr(d, "type");
9770
+ })), l = Ir(d, "type");
9771
9771
  return {
9772
9772
  currentWager: g.wagering || g.value,
9773
9773
  currentLevel: t.vip_level,
@@ -9781,8 +9781,8 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9781
9781
  },
9782
9782
  ...e
9783
9783
  });
9784
- }, Zs = ({ options: e } = {}) => {
9785
- const { store: n } = se(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: r } = Tr();
9784
+ }, Js = ({ options: e } = {}) => {
9785
+ const { store: n } = se(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: r } = hr();
9786
9786
  return $({
9787
9787
  queryKey: ["vipList"],
9788
9788
  queryFn: async () => {
@@ -9821,9 +9821,9 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9821
9821
  }, xu = ({ options: e } = {
9822
9822
  vipList: {}
9823
9823
  }) => ({
9824
- vipList: Zs({ options: e.vipList })
9825
- }), mi = (e) => {
9826
- switch (console.log(e), e) {
9824
+ vipList: Js({ options: e.vipList })
9825
+ }), Zs = (e) => {
9826
+ switch (e) {
9827
9827
  case "tw":
9828
9828
  return "Tw";
9829
9829
  case "en":
@@ -9842,7 +9842,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9842
9842
  return "Tw";
9843
9843
  }
9844
9844
  }, mt = "game-icon-ds88", Su = ({ gameData: e = {} } = {}) => {
9845
- const { lng: n } = se(), t = mi(n), {
9845
+ const { lng: n } = se(), t = Zs(n), {
9846
9846
  gameCode: r,
9847
9847
  // 遊戲代碼
9848
9848
  gameUid: p,
@@ -9885,9 +9885,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9885
9885
  // 越南名稱
9886
9886
  gameNameTw: E
9887
9887
  // 繁體中文名稱
9888
- } = e, G = e?.[`gameName${mi(t)}`];
9889
- console.log(G, t, mi(t));
9890
- const O = `${rt}/${mt}/${n}/${a}/${it(r, / /g, "_")}.webp`, k = `${rt}/${mt}/${n}/${a}/${it(r, / /g, "_")}.gif`, h = `${rt}/${mt}/en/${a}/${it(r, / /g, "_")}.webp`, F = `${rt}/${mt}/en/${a}/${it(r, / /g, "_")}.gif`;
9888
+ } = e, G = e?.[`gameName${t}`], O = `${rt}/${mt}/${n}/${a}/${it(r, / /g, "_")}.webp`, k = `${rt}/${mt}/${n}/${a}/${it(r, / /g, "_")}.gif`, h = `${rt}/${mt}/en/${a}/${it(r, / /g, "_")}.webp`, F = `${rt}/${mt}/en/${a}/${it(r, / /g, "_")}.gif`;
9891
9889
  return {
9892
9890
  gameCode: r,
9893
9891
  gameUid: p,
@@ -9916,7 +9914,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9916
9914
  isInvalidBet: y,
9917
9915
  haveJackpot: f
9918
9916
  };
9919
- }, Ks = (e, n = !1) => Jr([
9917
+ }, Ks = (e, n = !1) => Vr([
9920
9918
  "EVO",
9921
9919
  "IMSPRIBE",
9922
9920
  "SABA",
@@ -9949,7 +9947,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9949
9947
  // 臨時維護開始時間
9950
9948
  temp_maintenance_end_time: o
9951
9949
  // 臨時維護結束時間
9952
- } = e || {}, s = `${Ke}/${$n}/${Ks(r, n)}.png`;
9950
+ } = e || {}, s = `${Ke}/${qn}/${Ks(r, n)}.png`;
9953
9951
  return {
9954
9952
  subPlatformEnum: t,
9955
9953
  platformEnum: r,
@@ -9963,7 +9961,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9963
9961
  tempMaintenanceEndTime: o,
9964
9962
  platformImageUrl: s
9965
9963
  };
9966
- }, qs = (e = {}) => !jt(e) || Ne(e) ? [] : Yt(e), Bn = (e = []) => !ea(e) || Ne(e) ? [] : Le(e, "platform"), $s = (e = []) => !ea(e) || Ne(e) ? [] : Le(e, "gameTypeName"), Qs = (e = []) => !ea(e) || Ne(e) ? [] : Le(e, "game_subtype"), js = (e = {}) => !jt(e) || Ne(e) ? [] : Yt(e), Ys = (e = [], n = []) => !ea(e) || Ne(e) ? {} : !ea(n) || Ne(n) ? {} : e.reduce((t, r) => {
9964
+ }, qs = (e = {}) => !jt(e) || Ne(e) ? [] : Yt(e), On = (e = []) => !ea(e) || Ne(e) ? [] : Le(e, "platform"), $s = (e = []) => !ea(e) || Ne(e) ? [] : Le(e, "gameTypeName"), Qs = (e = []) => !ea(e) || Ne(e) ? [] : Le(e, "game_subtype"), js = (e = {}) => !jt(e) || Ne(e) ? [] : Yt(e), Ys = (e = [], n = []) => !ea(e) || Ne(e) ? {} : !ea(n) || Ne(n) ? {} : e.reduce((t, r) => {
9967
9965
  const p = n.map((g) => g.game_subtype);
9968
9966
  return p.forEach((g) => {
9969
9967
  t[g] = t[g] || [];
@@ -9975,7 +9973,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9975
9973
  allGameTypes: r = [],
9976
9974
  allPlatforms: p = []
9977
9975
  }) => !ea(e) || !ea(n) ? {} : Ne(t) ? {} : e.reduce((g, b) => {
9978
- const d = al({
9976
+ const d = el({
9979
9977
  gameTypeName: b,
9980
9978
  platforms: n,
9981
9979
  gameList: t,
@@ -9990,10 +9988,10 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
9990
9988
  allGamePlatform: r = [],
9991
9989
  allGameList: p = {}
9992
9990
  } = {}) => !Array.isArray(e) || !Array.isArray(n) ? {} : e.reduce((g, b) => {
9993
- const d = jn(t, b);
9991
+ const d = Qn(t, b);
9994
9992
  if (!d) return g;
9995
9993
  const l = p[d] || [], a = n.reduce((i, o) => {
9996
- const s = tl({
9994
+ const s = al({
9997
9995
  platformName: o,
9998
9996
  gamesOfType: l,
9999
9997
  allPlatforms: r
@@ -10027,26 +10025,26 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
10027
10025
  highlightGames: a = [],
10028
10026
  originPlatform: i = []
10029
10027
  }) => {
10030
- const o = qs(e), s = Bn(n), u = $s(t), m = Qs(r), _ = Bn(i), c = js(d), y = Xs({
10028
+ const o = qs(e), s = On(n), u = $s(t), m = Qs(r), _ = On(i), c = js(d), y = Xs({
10031
10029
  gameTypes: u,
10032
10030
  platforms: s,
10033
10031
  gameList: e,
10034
10032
  allGameTypes: t,
10035
10033
  allPlatforms: n
10036
10034
  }), f = Le(n, (G) => {
10037
- const O = `${Ke}/${$n}/${G.platformEnum}.png`;
10035
+ const O = `${Ke}/${qn}/${G.platformEnum}.png`;
10038
10036
  return {
10039
10037
  ...G,
10040
10038
  platformImageUrl: O
10041
10039
  };
10042
- }), U = Ys(o, r), C = em(y), v = am(C), x = In(y).reduce(
10040
+ }), U = Ys(o, r), C = em(y), v = am(C), x = zn(y).reduce(
10043
10041
  (G, [O, k]) => {
10044
- const h = Yt(Zr(k));
10042
+ const h = Yt(Jr(k));
10045
10043
  return G[O] = h, G;
10046
10044
  },
10047
10045
  {}
10048
- ), E = Li(y).reduce((G, O) => {
10049
- const k = Li(y[O]);
10046
+ ), E = Ni(y).reduce((G, O) => {
10047
+ const k = Ni(y[O]);
10050
10048
  return G[O] = k, G;
10051
10049
  }, {});
10052
10050
  return {
@@ -36681,7 +36679,7 @@ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: r = 6e5 }) => fs({
36681
36679
  t && rm(!0);
36682
36680
  }, [t]);
36683
36681
  const r = nm({ enabled: n });
36684
- return /* @__PURE__ */ Oe.jsx(Qn.Provider, { value: r, children: e });
36682
+ return /* @__PURE__ */ Oe.jsx($n.Provider, { value: r, children: e });
36685
36683
  };
36686
36684
  function Lu({
36687
36685
  children: e,
@@ -36690,11 +36688,11 @@ function Lu({
36690
36688
  queryClient: r,
36691
36689
  ...p
36692
36690
  }) {
36693
- const g = Oa(() => Pi(p), [p]), b = Oa(
36694
- () => Pi({ ...p, formData: !0 }),
36691
+ const g = Oa(() => Ri(p), [p]), b = Oa(
36692
+ () => Ri({ ...p, formData: !0 }),
36695
36693
  [p]
36696
36694
  ), d = Oa(
36697
- () => new Br({
36695
+ () => new Or({
36698
36696
  defaultOptions: {
36699
36697
  queries: {
36700
36698
  refetchOnWindowFocus: !1,
@@ -36704,7 +36702,7 @@ function Lu({
36704
36702
  }),
36705
36703
  []
36706
36704
  ), l = r || d;
36707
- return /* @__PURE__ */ Oe.jsx(Hr, { client: l, children: /* @__PURE__ */ Oe.jsx(Vn.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Oe.jsx(Yr, { children: /* @__PURE__ */ Oe.jsx(
36705
+ return /* @__PURE__ */ Oe.jsx(Br, { client: l, children: /* @__PURE__ */ Oe.jsx(In.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Oe.jsx(jr, { children: /* @__PURE__ */ Oe.jsx(
36708
36706
  lm,
36709
36707
  {
36710
36708
  autoFetch: n,
@@ -36715,7 +36713,7 @@ function Lu({
36715
36713
  }
36716
36714
  const Gu = ({ onFunction: e = () => {
36717
36715
  }, buttonProps: n = {} } = {}) => {
36718
- const { lineConfig: t } = se(), r = te(!1), p = Y(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = nr({
36716
+ const { lineConfig: t } = se(), r = te(!1), p = Y(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = ir({
36719
36717
  options: {
36720
36718
  onSuccess: (m) => {
36721
36719
  e(m);
@@ -36753,20 +36751,20 @@ const Gu = ({ onFunction: e = () => {
36753
36751
  }
36754
36752
  ) : null;
36755
36753
  };
36756
- var om = Object.defineProperty, $t = Object.getOwnPropertySymbols, kr = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Hn = (e, n, t) => n in e ? om(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, fi = (e, n) => {
36754
+ var om = Object.defineProperty, $t = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable, Bn = (e, n, t) => n in e ? om(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, ci = (e, n) => {
36757
36755
  for (var t in n || (n = {}))
36758
- kr.call(n, t) && Hn(e, t, n[t]);
36756
+ Tr.call(n, t) && Bn(e, t, n[t]);
36759
36757
  if ($t)
36760
36758
  for (var t of $t(n))
36761
- xr.call(n, t) && Hn(e, t, n[t]);
36759
+ kr.call(n, t) && Bn(e, t, n[t]);
36762
36760
  return e;
36763
- }, _i = (e, n) => {
36761
+ }, fi = (e, n) => {
36764
36762
  var t = {};
36765
36763
  for (var r in e)
36766
- kr.call(e, r) && n.indexOf(r) < 0 && (t[r] = e[r]);
36764
+ Tr.call(e, r) && n.indexOf(r) < 0 && (t[r] = e[r]);
36767
36765
  if (e != null && $t)
36768
36766
  for (var r of $t(e))
36769
- n.indexOf(r) < 0 && xr.call(e, r) && (t[r] = e[r]);
36767
+ n.indexOf(r) < 0 && kr.call(e, r) && (t[r] = e[r]);
36770
36768
  return t;
36771
36769
  };
36772
36770
  var ka;
@@ -37310,8 +37308,8 @@ var sm = {
37310
37308
  M: Aa.QrCode.Ecc.MEDIUM,
37311
37309
  Q: Aa.QrCode.Ecc.QUARTILE,
37312
37310
  H: Aa.QrCode.Ecc.HIGH
37313
- }, Sr = 128, Dr = "L", Er = "#FFFFFF", Nr = "#000000", Lr = !1, Gr = 1, mm = 4, um = 0, pm = 0.1;
37314
- function Mr(e, n = 0) {
37311
+ }, xr = 128, Sr = "L", Dr = "#FFFFFF", Er = "#000000", Nr = !1, Lr = 1, mm = 4, um = 0, pm = 0.1;
37312
+ function Gr(e, n = 0) {
37315
37313
  const t = [];
37316
37314
  return e.forEach(function(r, p) {
37317
37315
  let g = null;
@@ -37334,7 +37332,7 @@ function Mr(e, n = 0) {
37334
37332
  });
37335
37333
  }), t.join("");
37336
37334
  }
37337
- function Rr(e, n) {
37335
+ function Mr(e, n) {
37338
37336
  return e.slice().map((t, r) => r < n.y || r >= n.y + n.h ? t : t.map((p, g) => g < n.x || g >= n.x + n.w ? p : !1));
37339
37337
  }
37340
37338
  function gm(e, n, t, r) {
@@ -37352,7 +37350,7 @@ function gm(e, n, t, r) {
37352
37350
  function dm(e, n) {
37353
37351
  return n != null ? Math.max(Math.floor(n), 0) : e ? mm : um;
37354
37352
  }
37355
- function Pr({
37353
+ function Rr({
37356
37354
  value: e,
37357
37355
  level: n,
37358
37356
  minVersion: t,
@@ -37407,16 +37405,16 @@ var cm = (function() {
37407
37405
  function(n, t) {
37408
37406
  const r = n, {
37409
37407
  value: p,
37410
- size: g = Sr,
37411
- level: b = Dr,
37412
- bgColor: d = Er,
37413
- fgColor: l = Nr,
37414
- includeMargin: a = Lr,
37415
- minVersion: i = Gr,
37408
+ size: g = xr,
37409
+ level: b = Sr,
37410
+ bgColor: d = Dr,
37411
+ fgColor: l = Er,
37412
+ includeMargin: a = Nr,
37413
+ minVersion: i = Lr,
37416
37414
  boostLevel: o,
37417
37415
  marginSize: s,
37418
37416
  imageSettings: u
37419
- } = r, _ = _i(r, [
37417
+ } = r, _ = fi(r, [
37420
37418
  "value",
37421
37419
  "size",
37422
37420
  "level",
@@ -37427,12 +37425,12 @@ var cm = (function() {
37427
37425
  "boostLevel",
37428
37426
  "marginSize",
37429
37427
  "imageSettings"
37430
- ]), { style: c } = _, y = _i(_, ["style"]), f = u?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
37428
+ ]), { style: c } = _, y = fi(_, ["style"]), f = u?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
37431
37429
  (w) => {
37432
37430
  U.current = w, typeof t == "function" ? t(w) : t && (t.current = w);
37433
37431
  },
37434
37432
  [t]
37435
- ), [x, E] = de.useState(!1), { margin: G, cells: O, numCells: k, calculatedImageSettings: h } = Pr({
37433
+ ), [x, E] = de.useState(!1), { margin: G, cells: O, numCells: k, calculatedImageSettings: h } = Rr({
37436
37434
  value: p,
37437
37435
  level: b,
37438
37436
  minVersion: i,
@@ -37449,14 +37447,14 @@ var cm = (function() {
37449
37447
  return;
37450
37448
  let P = O;
37451
37449
  const H = C.current, B = h != null && H !== null && H.complete && H.naturalHeight !== 0 && H.naturalWidth !== 0;
37452
- B && h.excavation != null && (P = Rr(
37450
+ B && h.excavation != null && (P = Mr(
37453
37451
  O,
37454
37452
  h.excavation
37455
37453
  ));
37456
37454
  const W = window.devicePixelRatio || 1;
37457
37455
  w.height = w.width = g * W;
37458
37456
  const M = g / k * W;
37459
- R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = l, cm ? R.fill(new Path2D(Mr(P, G))) : O.forEach(function(D, S) {
37457
+ R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = l, cm ? R.fill(new Path2D(Gr(P, G))) : O.forEach(function(D, S) {
37460
37458
  D.forEach(function(L, N) {
37461
37459
  L && R.fillRect(N + G, S + G, 1, 1);
37462
37460
  });
@@ -37471,7 +37469,7 @@ var cm = (function() {
37471
37469
  }), de.useEffect(() => {
37472
37470
  E(!1);
37473
37471
  }, [f]);
37474
- const F = fi({ height: g, width: g }, c);
37472
+ const F = ci({ height: g, width: g }, c);
37475
37473
  let A = null;
37476
37474
  return f != null && (A = /* @__PURE__ */ de.createElement(
37477
37475
  "img",
@@ -37487,7 +37485,7 @@ var cm = (function() {
37487
37485
  }
37488
37486
  )), /* @__PURE__ */ de.createElement(de.Fragment, null, /* @__PURE__ */ de.createElement(
37489
37487
  "canvas",
37490
- fi({
37488
+ ci({
37491
37489
  style: F,
37492
37490
  height: g,
37493
37491
  width: g,
@@ -37498,21 +37496,21 @@ var cm = (function() {
37498
37496
  }
37499
37497
  );
37500
37498
  fm.displayName = "QRCodeCanvas";
37501
- var wr = de.forwardRef(
37499
+ var Pr = de.forwardRef(
37502
37500
  function(n, t) {
37503
37501
  const r = n, {
37504
37502
  value: p,
37505
- size: g = Sr,
37506
- level: b = Dr,
37507
- bgColor: d = Er,
37508
- fgColor: l = Nr,
37509
- includeMargin: a = Lr,
37510
- minVersion: i = Gr,
37503
+ size: g = xr,
37504
+ level: b = Sr,
37505
+ bgColor: d = Dr,
37506
+ fgColor: l = Er,
37507
+ includeMargin: a = Nr,
37508
+ minVersion: i = Lr,
37511
37509
  boostLevel: o,
37512
37510
  title: s,
37513
37511
  marginSize: u,
37514
37512
  imageSettings: m
37515
- } = r, _ = _i(r, [
37513
+ } = r, _ = fi(r, [
37516
37514
  "value",
37517
37515
  "size",
37518
37516
  "level",
@@ -37524,7 +37522,7 @@ var wr = de.forwardRef(
37524
37522
  "title",
37525
37523
  "marginSize",
37526
37524
  "imageSettings"
37527
- ]), { margin: c, cells: y, numCells: f, calculatedImageSettings: U } = Pr({
37525
+ ]), { margin: c, cells: y, numCells: f, calculatedImageSettings: U } = Rr({
37528
37526
  value: p,
37529
37527
  level: b,
37530
37528
  minVersion: i,
@@ -37535,7 +37533,7 @@ var wr = de.forwardRef(
37535
37533
  size: g
37536
37534
  });
37537
37535
  let C = y, v = null;
37538
- m != null && U != null && (U.excavation != null && (C = Rr(
37536
+ m != null && U != null && (U.excavation != null && (C = Mr(
37539
37537
  y,
37540
37538
  U.excavation
37541
37539
  )), v = /* @__PURE__ */ de.createElement(
@@ -37551,10 +37549,10 @@ var wr = de.forwardRef(
37551
37549
  crossOrigin: U.crossOrigin
37552
37550
  }
37553
37551
  ));
37554
- const x = Mr(C, c);
37552
+ const x = Gr(C, c);
37555
37553
  return /* @__PURE__ */ de.createElement(
37556
37554
  "svg",
37557
- fi({
37555
+ ci({
37558
37556
  height: g,
37559
37557
  width: g,
37560
37558
  viewBox: `0 0 ${f} ${f}`,
@@ -37575,7 +37573,7 @@ var wr = de.forwardRef(
37575
37573
  );
37576
37574
  }
37577
37575
  );
37578
- wr.displayName = "QRCodeSVG";
37576
+ Pr.displayName = "QRCodeSVG";
37579
37577
  const _m = {
37580
37578
  position: "fixed",
37581
37579
  top: 0,
@@ -37599,7 +37597,7 @@ const _m = {
37599
37597
  padding: "10px",
37600
37598
  lineHeight: "1",
37601
37599
  zIndex: 10001
37602
- }, Wn = {
37600
+ }, Hn = {
37603
37601
  zh_TW: {
37604
37602
  title: "請使用 LINE 掃描 QR Code 登入",
37605
37603
  expired: "QR Code 已過期"
@@ -37621,7 +37619,7 @@ const _m = {
37621
37619
  expired: "Kode QR telah kedaluwarsa"
37622
37620
  }
37623
37621
  }, Pu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
37624
- const { lng: r, getToken: p, lineConfig: g } = se(), [b, d] = ui(300), [l, a] = ui(!1), i = te(null), o = Y(g, "liffId", ""), s = Qe(r), u = p?.(), _ = new URLSearchParams(window.location.search).get("mac") || gi.get("machine_mac_address") || "", { data: c, isFetching: y } = Jo({
37622
+ const { lng: r, getToken: p, lineConfig: g } = se(), [b, d] = mi(300), [l, a] = mi(!1), i = te(null), o = Y(g, "liffId", ""), s = Qe(r), u = p?.(), _ = new URLSearchParams(window.location.search).get("mac") || pi.get("machine_mac_address") || "", { data: c, isFetching: y } = Vo({
37625
37623
  formData: {
37626
37624
  mac_address: _
37627
37625
  },
@@ -37630,7 +37628,7 @@ const _m = {
37630
37628
  }
37631
37629
  }), f = Y(c, "liff_url", "") || `https://liff.line.me/${o}`;
37632
37630
  pe(() => {
37633
- _ && gi.set("machine_mac_address", _, { expires: 365 });
37631
+ _ && pi.set("machine_mac_address", _, { expires: 365 });
37634
37632
  }, [_]), pe(() => (f && (d(300), a(!1), i.current && clearInterval(i.current), i.current = setInterval(() => {
37635
37633
  d((v) => v <= 1 ? (clearInterval(i.current), a(!0), 0) : v - 1);
37636
37634
  }, 1e3)), () => {
@@ -37641,7 +37639,7 @@ const _m = {
37641
37639
  return `${x}:${E < 10 ? "0" : ""}${E}`;
37642
37640
  };
37643
37641
  if (!e && (!_ || u)) return null;
37644
- const C = Wn[s] || Wn.en_US;
37642
+ const C = Hn[s] || Hn.en_US;
37645
37643
  return n && /* @__PURE__ */ Oe.jsxs("div", { style: _m, children: [
37646
37644
  /* @__PURE__ */ Oe.jsx(
37647
37645
  "div",
@@ -37669,7 +37667,7 @@ const _m = {
37669
37667
  boxSizing: "border-box",
37670
37668
  color: "black"
37671
37669
  },
37672
- children: y ? "Loading..." : /* @__PURE__ */ Oe.jsx(wr, { width: "100%", height: "100%", value: f })
37670
+ children: y ? "Loading..." : /* @__PURE__ */ Oe.jsx(Pr, { width: "100%", height: "100%", value: f })
37673
37671
  }
37674
37672
  ),
37675
37673
  !y && /* @__PURE__ */ Oe.jsx(
@@ -37692,7 +37690,7 @@ const _m = {
37692
37690
  isSuccess: r,
37693
37691
  isError: p,
37694
37692
  error: g
37695
- } = Zo({
37693
+ } = Jo({
37696
37694
  options: {
37697
37695
  onSuccess: () => {
37698
37696
  e.invalidateQueries({
@@ -37716,35 +37714,35 @@ const _m = {
37716
37714
  }, [n]), null;
37717
37715
  };
37718
37716
  export {
37719
- Vn as ApiCtx,
37717
+ In as ApiCtx,
37720
37718
  Lu as ApiProvider,
37721
37719
  wu as Bind,
37722
- Qn as GamesInfoCtx,
37720
+ $n as GamesInfoCtx,
37723
37721
  Gu as LineLogin,
37724
37722
  Pu as LineQrCode,
37725
37723
  $a as STATUS_TYPES,
37726
- Jn as StatusContext,
37727
- Yr as StatusProvider,
37724
+ Vn as StatusContext,
37725
+ jr as StatusProvider,
37728
37726
  Xs as buildMultiTypes,
37729
37727
  Eu as buildMultiTypesWithSubTypes,
37730
- tl as buildSinglePlatformWithSubTypes,
37731
- al as buildSingleType,
37728
+ al as buildSinglePlatformWithSubTypes,
37729
+ el as buildSingleType,
37732
37730
  Ys as categorizeGames,
37733
37731
  Qe as convertLanguageCode,
37734
37732
  km as createLogoutHandler,
37735
37733
  Qs as extractGameSubTypeNames,
37736
37734
  $s as extractGameTypeNames,
37737
- Bn as extractPlatformNames,
37738
- er as filterGamesByPlatform,
37739
- jn as findGameTypeUid,
37740
- Yn as findPlatformUid,
37741
- Xn as findSubPlatform,
37735
+ On as extractPlatformNames,
37736
+ Xn as filterGamesByPlatform,
37737
+ Qn as findGameTypeUid,
37738
+ jn as findPlatformUid,
37739
+ Yn as findSubPlatform,
37742
37740
  qs as flattenAllGames,
37743
37741
  js as flattenFavoriteGames,
37744
37742
  xm as formatNumber,
37745
37743
  em as groupGamesByPlatform,
37746
37744
  am as groupGamesByPlatformAndSubType,
37747
- el as groupGamesBySubType,
37745
+ Xr as groupGamesBySubType,
37748
37746
  Ks as handleDarkImage,
37749
37747
  rm as initMockWindowData,
37750
37748
  tm as processGameInfo,
@@ -37756,46 +37754,46 @@ export {
37756
37754
  Sm as useBalanceGetter,
37757
37755
  Nm as useBet,
37758
37756
  zm as useBetRankingData,
37759
- bo as useBetRecord,
37760
- Co as useBetRecordDetail,
37761
- Zo as useBindAccount,
37762
- $o as useCheckCurrentEventProgress,
37763
- Qo as useCheckEventStatus,
37757
+ Uo as useBetRecord,
37758
+ bo as useBetRecordDetail,
37759
+ Jo as useBindAccount,
37760
+ qo as useCheckCurrentEventProgress,
37761
+ $o as useCheckEventStatus,
37764
37762
  Gm as useCheckPlayerWager,
37765
37763
  Zm as useClientWebSocket,
37766
- Bs as useCurrentRebate,
37767
- hs as useDepositAction,
37768
- ks as useDepositTransaction,
37769
- Cs as useDepositV1,
37770
- vs as useDepositV2,
37764
+ Os as useCurrentRebate,
37765
+ vs as useDepositAction,
37766
+ Ts as useDepositTransaction,
37767
+ bs as useDepositV1,
37768
+ Cs as useDepositV2,
37771
37769
  pu as useDepositWalletLog,
37772
37770
  jm as useEnabledEventWallet,
37773
37771
  Ym as useEvaluateEventWallet,
37774
37772
  $m as useEvent,
37775
- qo as useEventList,
37776
- xs as useEventTransaction,
37773
+ Ko as useEventList,
37774
+ ks as useEventTransaction,
37777
37775
  du as useEventWalletLog,
37778
- Vs as useExpiredRewardsList,
37776
+ Is as useExpiredRewardsList,
37779
37777
  Su as useGameConfig,
37780
37778
  Tm as useGameInfoContext,
37781
37779
  nm as useGamesInfo,
37782
37780
  au as useGetCarouseList,
37783
37781
  Qm as useGetEventWalletList,
37784
- Jo as useGetMachineLoginCode,
37782
+ Vo as useGetMachineLoginCode,
37785
37783
  tu as useGetMarquee,
37786
37784
  Dm as useGetMemberInfo,
37787
37785
  iu as useGetRankingGame,
37788
- Js as useHistoryRewardsList,
37786
+ Vs as useHistoryRewardsList,
37789
37787
  nu as useIdleTimeout,
37790
37788
  ru as useInbox,
37791
- ys as useInboxList,
37789
+ _s as useInboxList,
37792
37790
  Em as useInitializeWithToken,
37793
37791
  mu as useInvoiceAction,
37794
37792
  Wm as useJackpotData,
37795
- nr as useLineLogin,
37796
- Vo as useLineLogin2,
37797
- Ro as useLogin,
37798
- Po as useLogout,
37793
+ ir as useLineLogin,
37794
+ Io as useLineLogin2,
37795
+ Mo as useLogin,
37796
+ Ro as useLogout,
37799
37797
  Rm as useMemberTransfer,
37800
37798
  Pm as useMobileLogin,
37801
37799
  wm as useMobileLoginV2,
@@ -37807,43 +37805,43 @@ export {
37807
37805
  Du as usePlatformConfig,
37808
37806
  bu as usePlayGame,
37809
37807
  Lm as usePointTransfer,
37810
- Us as useReadInbox,
37808
+ ys as useReadInbox,
37811
37809
  Cu as useRebate,
37812
37810
  cu as useRebateWalletLog,
37813
- Hs as useReceiveRebate,
37811
+ Bs as useReceiveRebate,
37814
37812
  su as useRedeemCodeDeposit,
37815
37813
  Km as useRedeemEventReward,
37816
- zs as useRedeemReward,
37814
+ Ws as useRedeemReward,
37817
37815
  Tu as useRedeemTreasure,
37818
- Oo as useResetUserPassword,
37819
- Ho as useResetUserTransactionPassword,
37816
+ Ao as useResetUserPassword,
37817
+ Bo as useResetUserTransactionPassword,
37820
37818
  vu as useRewards,
37821
- Ws as useRewardsList,
37819
+ Hs as useRewardsList,
37822
37820
  Am as useSendMobileVerifyCode,
37823
- Bo as useSetUserTransactionPassword,
37821
+ Oo as useSetUserTransactionPassword,
37824
37822
  qm as useSettleEvent,
37825
37823
  Xm as useSettleEventWallet,
37826
- wo as useSignUp,
37824
+ Po as useSignUp,
37827
37825
  _u as useSnCashRecord,
37828
- Zn as useStatus,
37829
- Fo as useToggleFavoriteGame,
37830
- Io as useTransferInGame,
37826
+ Jn as useStatus,
37827
+ wo as useToggleFavoriteGame,
37828
+ zo as useTransferInGame,
37831
37829
  hu as useTreasureList,
37832
37830
  fu as useTreasureWalletLog,
37833
- Is as useUnUsedRewardsList,
37831
+ zs as useUnUsedRewardsList,
37834
37832
  Vm as useUpdateAvatar,
37835
37833
  uu as useUpdateInvoiceAction,
37836
- Ao as useUpdateUserInfo,
37834
+ Fo as useUpdateUserInfo,
37837
37835
  Jm as useUser,
37838
- zo as useUserBindCard,
37839
- Wo as useUserRebate,
37836
+ Wo as useUserBindCard,
37837
+ Ho as useUserRebate,
37840
37838
  Bm as useVerifyDonationCode,
37841
37839
  Om as useVerifyPhoneBar,
37842
37840
  Hm as useVerifyResetAction,
37843
37841
  xu as useVip,
37844
37842
  ku as useVipInfo,
37845
- Zs as useVipList,
37846
- Ts as useWithdrawAction,
37847
- Ds as useWithdrawTransaction,
37843
+ Js as useVipList,
37844
+ hs as useWithdrawAction,
37845
+ Ss as useWithdrawTransaction,
37848
37846
  gu as useWithdrawWalletLog
37849
37847
  };