@obb871001/api-integration-sdk 1.0.333 → 1.0.336

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
@@ -31,10 +31,10 @@ function Zl(e) {
31
31
  });
32
32
  }), t;
33
33
  }
34
- var tt = { exports: {} }, Ja = {};
34
+ var tt = { exports: {} }, Za = {};
35
35
  var Ni;
36
36
  function Kl() {
37
- if (Ni) return Ja;
37
+ if (Ni) return Za;
38
38
  Ni = 1;
39
39
  var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
40
  function b(d, r, a) {
@@ -44,9 +44,9 @@ function Kl() {
44
44
  if (d && d.defaultProps) for (i in r = d.defaultProps, r) o[i] === void 0 && (o[i] = r[i]);
45
45
  return { $$typeof: n, type: d, key: m, ref: u, props: o, _owner: p.current };
46
46
  }
47
- return Ja.Fragment = t, Ja.jsx = b, Ja.jsxs = b, Ja;
47
+ return Za.Fragment = t, Za.jsx = b, Za.jsxs = b, Za;
48
48
  }
49
- var Za = {};
49
+ var Ka = {};
50
50
  var Li;
51
51
  function ql() {
52
52
  return Li || (Li = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -400,7 +400,7 @@ function ql() {
400
400
  }
401
401
  return T.key !== void 0;
402
402
  }
403
- function za(T, z) {
403
+ function Ia(T, z) {
404
404
  typeof T.ref == "string" && Re.current;
405
405
  }
406
406
  function Da(T, z) {
@@ -425,7 +425,7 @@ function ql() {
425
425
  });
426
426
  }
427
427
  }
428
- var Ia = function(T, z, J, $, ue, pe, ne) {
428
+ var Va = function(T, z, J, $, ue, pe, ne) {
429
429
  var X = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: n,
@@ -454,10 +454,10 @@ function ql() {
454
454
  value: ue
455
455
  }), Object.freeze && (Object.freeze(X.props), Object.freeze(X)), X;
456
456
  };
457
- function Va(T, z, J, $, ue) {
457
+ function Ja(T, z, J, $, ue) {
458
458
  {
459
459
  var pe, ne = {}, X = null, Oe = null;
460
- J !== void 0 && (xe(J), X = "" + J), Ye(z) && (xe(z.key), X = "" + z.key), Ve(z) && (Oe = z.ref, za(z, ue));
460
+ J !== void 0 && (xe(J), X = "" + J), Ye(z) && (xe(z.key), X = "" + z.key), Ve(z) && (Oe = z.ref, Ia(z, ue));
461
461
  for (pe in z)
462
462
  fe.call(z, pe) && !je.hasOwnProperty(pe) && (ne[pe] = z[pe]);
463
463
  if (T && T.defaultProps) {
@@ -469,7 +469,7 @@ function ql() {
469
469
  var he = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
470
470
  X && Da(ne, he), Oe && Ea(ne, he);
471
471
  }
472
- return Ia(T, X, Oe, ue, $, Re.current, ne);
472
+ return Va(T, X, Oe, ue, $, Re.current, ne);
473
473
  }
474
474
  }
475
475
  var da = y.ReactCurrentOwner, ya = y.ReactDebugCurrentFrame;
@@ -594,7 +594,7 @@ Check the top-level render call using <` + J + ">.");
594
594
  var be;
595
595
  T === null ? be = "null" : ve(T) ? be = "array" : T !== void 0 && T.$$typeof === n ? (be = "<" + (A(T.type) || "Unknown") + " />", X = " Did you accidentally export a JSX literal instead of a component?") : be = typeof T, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, X);
596
596
  }
597
- var he = Va(T, z, J, ue, pe);
597
+ var he = Ja(T, z, J, ue, pe);
598
598
  if (he == null)
599
599
  return he;
600
600
  if (ne) {
@@ -634,8 +634,8 @@ React keys must be passed directly to JSX without using spread:
634
634
  return Pe(T, z, J, !1);
635
635
  }
636
636
  var Yt = et, wl = na;
637
- Za.Fragment = l, Za.jsx = Yt, Za.jsxs = wl;
638
- })()), Za;
637
+ Ka.Fragment = l, Ka.jsx = Yt, Ka.jsxs = wl;
638
+ })()), Ka;
639
639
  }
640
640
  var Gi;
641
641
  function $l() {
@@ -647,19 +647,19 @@ const In = qt(null), se = () => {
647
647
  if (!e)
648
648
  throw new Error("useApiContext must be used within ApiProvider");
649
649
  return e;
650
- }, Ka = {
650
+ }, qa = {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
653
  }, Vn = qt(null), Ql = ({ children: e }) => {
654
- const [n, t] = oi(Ka.PENDING), l = Oa(() => {
655
- const p = n === Ka.READY, g = n === Ka.PENDING;
654
+ const [n, t] = oi(qa.PENDING), l = Oa(() => {
655
+ const p = n === qa.READY, g = n === qa.PENDING;
656
656
  return {
657
657
  status: n,
658
658
  setStatus: t,
659
659
  isReady: p,
660
660
  isPending: g,
661
- setAsReady: () => t(Ka.READY),
662
- setAsPending: () => t(Ka.PENDING)
661
+ setAsReady: () => t(qa.READY),
662
+ setAsPending: () => t(qa.PENDING)
663
663
  };
664
664
  }, [n]);
665
665
  return /* @__PURE__ */ Fe.jsx(Vn.Provider, { value: l, children: e });
@@ -687,7 +687,7 @@ const In = qt(null), se = () => {
687
687
  default:
688
688
  return e;
689
689
  }
690
- }, Ze = "https://d1h3qe8voog6w4.cloudfront.net", it = "https://d3jx2uvukujuvn.cloudfront.net", Zn = (e) => `${Ze}/reward_icon/${e}.avif`, Kn = () => `${Ze}/reward_icon/background_deposit.avif`, qn = "ds88platformIcon", ja = {
690
+ }, Ze = "https://d1h3qe8voog6w4.cloudfront.net", it = "https://d3jx2uvukujuvn.cloudfront.net", Zn = (e) => `${Ze}/reward_icon/${e}.avif`, Kn = () => `${Ze}/reward_icon/background_deposit.avif`, qn = "ds88platformIcon", Ba = {
691
691
  zh_TW: "系統提示",
692
692
  zh_CN: "系统提示",
693
693
  en_US: "System Prompt",
@@ -695,6 +695,14 @@ const In = qt(null), se = () => {
695
695
  vi_VN: "Lời nhắc hệ thống",
696
696
  th_TH: "ข้อความระบบ",
697
697
  ja_JP: "システムプロンプト"
698
+ }, jl = {
699
+ zh_TW: "我們正在為您處理轉點中",
700
+ zh_CN: "我们正在为您处理转点中",
701
+ en_US: "We are processing your transfer",
702
+ id_ID: "Kami sedang memproses transfer Anda",
703
+ vi_VN: "Chúng tôi đang xử lý chuyển khoản của bạn",
704
+ th_TH: "เรากำลังดำเนินการโอนของคุณ",
705
+ ja_JP: "転送を処理しています"
698
706
  };
699
707
  function Mi({
700
708
  baseURL: e,
@@ -734,7 +742,7 @@ function Mi({
734
742
  p?.dispatch({
735
743
  type: "ui/showToast",
736
744
  payload: {
737
- title: ja[m] || "System Prompt",
745
+ title: Ba[m] || "System Prompt",
738
746
  description: o,
739
747
  status: "error",
740
748
  duration: 3e3
@@ -745,14 +753,14 @@ function Mi({
745
753
  }
746
754
  ), a;
747
755
  }
748
- const $n = qt(null), Cm = () => {
756
+ const $n = qt(null), vm = () => {
749
757
  const e = ci($n);
750
758
  if (!e)
751
759
  throw new Error(
752
760
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
753
761
  );
754
762
  return e;
755
- }, vm = () => {
763
+ }, hm = () => {
756
764
  const e = (l, p) => !l && !p, n = (l) => l.startsWith("pc.");
757
765
  return {
758
766
  executeLogout: ({
@@ -771,17 +779,17 @@ const $n = qt(null), Cm = () => {
771
779
  shouldShowErrorNotice: e,
772
780
  isMachineDomain: n
773
781
  };
774
- }, hm = (e) => {
782
+ }, Tm = (e) => {
775
783
  let n = Number(e);
776
784
  return isNaN(n) ? e : new Intl.NumberFormat("en-US", {
777
785
  style: "decimal",
778
786
  minimumFractionDigits: 2,
779
787
  maximumFractionDigits: 2
780
788
  }).format(n);
781
- }, Qn = (e = [], n) => $e(e, { gameTypeName: n })?.gameTypeUid, jn = (e = [], n) => $e(e, { platform: n })?.platformUid, Yn = (e = [], n) => $e(e, { SubPlatformEnum: n }), Xn = (e = [], n, t) => Ee(e) ? [] : e.filter((l) => t ? String(l?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(l.platformUid) === String(n)), jl = (e = []) => Ee(e) ? {} : e.reduce((n, t) => {
789
+ }, Qn = (e = [], n) => $e(e, { gameTypeName: n })?.gameTypeUid, jn = (e = [], n) => $e(e, { platform: n })?.platformUid, Yn = (e = [], n) => $e(e, { SubPlatformEnum: n }), Xn = (e = [], n, t) => Ee(e) ? [] : e.filter((l) => t ? String(l?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(l.platformUid) === String(n)), Yl = (e = []) => Ee(e) ? {} : e.reduce((n, t) => {
782
790
  const l = t?.game_subtype || "UNKNOWN";
783
791
  return n[l] || (n[l] = []), n[l].push(t), n;
784
- }, {}), Yl = ({
792
+ }, {}), Xl = ({
785
793
  gameTypeName: e,
786
794
  platforms: n,
787
795
  gameList: t,
@@ -797,7 +805,7 @@ const $n = qt(null), Cm = () => {
797
805
  );
798
806
  return Ee(o) || (b[d] = o), b;
799
807
  }, {}) : {};
800
- }, Xl = ({
808
+ }, er = ({
801
809
  platformName: e,
802
810
  gamesOfType: n = [],
803
811
  allPlatforms: t = []
@@ -807,14 +815,14 @@ const $n = qt(null), Cm = () => {
807
815
  l,
808
816
  p
809
817
  );
810
- return jl(g);
818
+ return Yl(g);
811
819
  };
812
- var st = { exports: {} }, er = st.exports, Ri;
813
- function ar() {
820
+ var st = { exports: {} }, ar = st.exports, Ri;
821
+ function tr() {
814
822
  return Ri || (Ri = 1, (function(e, n) {
815
823
  (function(t, l) {
816
824
  e.exports = l();
817
- })(er, (function() {
825
+ })(ar, (function() {
818
826
  var t = 1e3, l = 6e4, p = 36e5, g = "millisecond", b = "second", d = "minute", r = "hour", a = "day", i = "week", o = "month", m = "quarter", u = "year", s = "date", c = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
819
827
  var R = ["th", "st", "nd", "rd"], P = w % 100;
820
828
  return "[" + w + (R[(P - 20) % 10] || R[P] || R[0]) + "]";
@@ -1087,28 +1095,28 @@ function ar() {
1087
1095
  }));
1088
1096
  })(st)), st.exports;
1089
1097
  }
1090
- var tr = ar();
1091
- const we = /* @__PURE__ */ _i(tr);
1098
+ var ir = tr();
1099
+ const we = /* @__PURE__ */ _i(ir);
1092
1100
  var mt = { exports: {} };
1093
- function ir(e) {
1101
+ function nr(e) {
1094
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.');
1095
1103
  }
1096
1104
  var ut = { exports: {} };
1097
- const nr = {}, lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1105
+ const lr = {}, rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1098
1106
  __proto__: null,
1099
- default: nr
1100
- }, Symbol.toStringTag, { value: "Module" })), rr = /* @__PURE__ */ Zl(lr);
1101
- var or = ut.exports, Pi;
1107
+ default: lr
1108
+ }, Symbol.toStringTag, { value: "Module" })), or = /* @__PURE__ */ Zl(rr);
1109
+ var sr = ut.exports, Pi;
1102
1110
  function te() {
1103
1111
  return Pi || (Pi = 1, (function(e, n) {
1104
1112
  (function(t, l) {
1105
1113
  e.exports = l();
1106
- })(or, function() {
1114
+ })(sr, function() {
1107
1115
  var t = t || (function(l, p) {
1108
1116
  var g;
1109
- if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof ei < "u" && ei.crypto && (g = ei.crypto), !g && typeof ir == "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 ei < "u" && ei.crypto && (g = ei.crypto), !g && typeof nr == "function")
1110
1118
  try {
1111
- g = rr;
1119
+ g = or;
1112
1120
  } catch {
1113
1121
  }
1114
1122
  var b = function() {
@@ -1599,12 +1607,12 @@ function te() {
1599
1607
  });
1600
1608
  })(ut)), ut.exports;
1601
1609
  }
1602
- var pt = { exports: {} }, sr = pt.exports, wi;
1610
+ var pt = { exports: {} }, mr = pt.exports, wi;
1603
1611
  function jt() {
1604
1612
  return wi || (wi = 1, (function(e, n) {
1605
1613
  (function(t, l) {
1606
1614
  e.exports = l(te());
1607
- })(sr, function(t) {
1615
+ })(mr, function(t) {
1608
1616
  return (function(l) {
1609
1617
  var p = t, g = p.lib, b = g.Base, d = g.WordArray, r = p.x64 = {};
1610
1618
  r.Word = b.extend({
@@ -1829,12 +1837,12 @@ function jt() {
1829
1837
  });
1830
1838
  })(pt)), pt.exports;
1831
1839
  }
1832
- var gt = { exports: {} }, mr = gt.exports, Fi;
1833
- function ur() {
1840
+ var gt = { exports: {} }, ur = gt.exports, Fi;
1841
+ function pr() {
1834
1842
  return Fi || (Fi = 1, (function(e, n) {
1835
1843
  (function(t, l) {
1836
1844
  e.exports = l(te());
1837
- })(mr, function(t) {
1845
+ })(ur, function(t) {
1838
1846
  return (function() {
1839
1847
  if (typeof ArrayBuffer == "function") {
1840
1848
  var l = t, p = l.lib, g = p.WordArray, b = g.init, d = g.init = function(r) {
@@ -1851,12 +1859,12 @@ function ur() {
1851
1859
  });
1852
1860
  })(gt)), gt.exports;
1853
1861
  }
1854
- var dt = { exports: {} }, pr = dt.exports, Ai;
1855
- function gr() {
1862
+ var dt = { exports: {} }, gr = dt.exports, Ai;
1863
+ function dr() {
1856
1864
  return Ai || (Ai = 1, (function(e, n) {
1857
1865
  (function(t, l) {
1858
1866
  e.exports = l(te());
1859
- })(pr, function(t) {
1867
+ })(gr, function(t) {
1860
1868
  return (function() {
1861
1869
  var l = t, p = l.lib, g = p.WordArray, b = l.enc;
1862
1870
  b.Utf16 = b.Utf16BE = {
@@ -1945,12 +1953,12 @@ function gr() {
1945
1953
  });
1946
1954
  })(dt)), dt.exports;
1947
1955
  }
1948
- var ct = { exports: {} }, dr = ct.exports, Oi;
1956
+ var ct = { exports: {} }, cr = ct.exports, Oi;
1949
1957
  function xa() {
1950
1958
  return Oi || (Oi = 1, (function(e, n) {
1951
1959
  (function(t, l) {
1952
1960
  e.exports = l(te());
1953
- })(dr, function(t) {
1961
+ })(cr, function(t) {
1954
1962
  return (function() {
1955
1963
  var l = t, p = l.lib, g = p.WordArray, b = l.enc;
1956
1964
  b.Base64 = {
@@ -2020,12 +2028,12 @@ function xa() {
2020
2028
  });
2021
2029
  })(ct)), ct.exports;
2022
2030
  }
2023
- var ft = { exports: {} }, cr = ft.exports, Bi;
2024
- function fr() {
2031
+ var ft = { exports: {} }, fr = ft.exports, Bi;
2032
+ function _r() {
2025
2033
  return Bi || (Bi = 1, (function(e, n) {
2026
2034
  (function(t, l) {
2027
2035
  e.exports = l(te());
2028
- })(cr, function(t) {
2036
+ })(fr, function(t) {
2029
2037
  return (function() {
2030
2038
  var l = t, p = l.lib, g = p.WordArray, b = l.enc;
2031
2039
  b.Base64url = {
@@ -2102,12 +2110,12 @@ function fr() {
2102
2110
  });
2103
2111
  })(ft)), ft.exports;
2104
2112
  }
2105
- var _t = { exports: {} }, _r = _t.exports, Hi;
2113
+ var _t = { exports: {} }, yr = _t.exports, Hi;
2106
2114
  function Sa() {
2107
2115
  return Hi || (Hi = 1, (function(e, n) {
2108
2116
  (function(t, l) {
2109
2117
  e.exports = l(te());
2110
- })(_r, function(t) {
2118
+ })(yr, function(t) {
2111
2119
  return (function(l) {
2112
2120
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.algo, a = [];
2113
2121
  (function() {
@@ -2168,12 +2176,12 @@ function Sa() {
2168
2176
  });
2169
2177
  })(_t)), _t.exports;
2170
2178
  }
2171
- var yt = { exports: {} }, yr = yt.exports, Wi;
2179
+ var yt = { exports: {} }, Ur = yt.exports, Wi;
2172
2180
  function el() {
2173
2181
  return Wi || (Wi = 1, (function(e, n) {
2174
2182
  (function(t, l) {
2175
2183
  e.exports = l(te());
2176
- })(yr, function(t) {
2184
+ })(Ur, function(t) {
2177
2185
  return (function() {
2178
2186
  var l = t, p = l.lib, g = p.WordArray, b = p.Hasher, d = l.algo, r = [], a = d.SHA1 = b.extend({
2179
2187
  _doReset: function() {
@@ -2212,12 +2220,12 @@ function el() {
2212
2220
  });
2213
2221
  })(yt)), yt.exports;
2214
2222
  }
2215
- var Ut = { exports: {} }, Ur = Ut.exports, zi;
2223
+ var Ut = { exports: {} }, br = Ut.exports, zi;
2216
2224
  function yi() {
2217
2225
  return zi || (zi = 1, (function(e, n) {
2218
2226
  (function(t, l) {
2219
2227
  e.exports = l(te());
2220
- })(Ur, function(t) {
2228
+ })(br, function(t) {
2221
2229
  return (function(l) {
2222
2230
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.algo, a = [], i = [];
2223
2231
  (function() {
@@ -2264,12 +2272,12 @@ function yi() {
2264
2272
  });
2265
2273
  })(Ut)), Ut.exports;
2266
2274
  }
2267
- var bt = { exports: {} }, br = bt.exports, Ii;
2268
- function Cr() {
2275
+ var bt = { exports: {} }, Cr = bt.exports, Ii;
2276
+ function vr() {
2269
2277
  return Ii || (Ii = 1, (function(e, n) {
2270
2278
  (function(t, l, p) {
2271
2279
  e.exports = l(te(), yi());
2272
- })(br, function(t) {
2280
+ })(Cr, function(t) {
2273
2281
  return (function() {
2274
2282
  var l = t, p = l.lib, g = p.WordArray, b = l.algo, d = b.SHA256, r = b.SHA224 = d.extend({
2275
2283
  _doReset: function() {
@@ -2294,12 +2302,12 @@ function Cr() {
2294
2302
  });
2295
2303
  })(bt)), bt.exports;
2296
2304
  }
2297
- var Ct = { exports: {} }, vr = Ct.exports, Vi;
2305
+ var Ct = { exports: {} }, hr = Ct.exports, Vi;
2298
2306
  function al() {
2299
2307
  return Vi || (Vi = 1, (function(e, n) {
2300
2308
  (function(t, l, p) {
2301
2309
  e.exports = l(te(), jt());
2302
- })(vr, function(t) {
2310
+ })(hr, function(t) {
2303
2311
  return (function() {
2304
2312
  var l = t, p = l.lib, g = p.Hasher, b = l.x64, d = b.Word, r = b.WordArray, a = l.algo;
2305
2313
  function i() {
@@ -2410,8 +2418,8 @@ function al() {
2410
2418
  if (Me < 16)
2411
2419
  He = aa.high = s[c + Me * 2] | 0, ve = aa.low = s[c + Me * 2 + 1] | 0;
2412
2420
  else {
2413
- var ta = m[Me - 15], xe = ta.high, Re = ta.low, je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = m[Me - 2], Ve = ga.high, Ye = ga.low, za = (Ve >>> 19 | Ye << 13) ^ (Ve << 3 | Ye >>> 29) ^ Ve >>> 6, Da = (Ye >>> 19 | Ve << 13) ^ (Ye << 3 | Ve >>> 29) ^ (Ye >>> 6 | Ve << 26), Ea = m[Me - 7], Ia = Ea.high, Va = Ea.low, da = m[Me - 16], ya = da.high, Ke = da.low;
2414
- ve = oa + Va, He = je + Ia + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Da, He = He + za + (ve >>> 0 < Da >>> 0 ? 1 : 0), ve = ve + Ke, He = He + ya + (ve >>> 0 < Ke >>> 0 ? 1 : 0), aa.high = He, aa.low = ve;
2421
+ var ta = m[Me - 15], xe = ta.high, Re = ta.low, je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = m[Me - 2], Ve = ga.high, Ye = ga.low, Ia = (Ve >>> 19 | Ye << 13) ^ (Ve << 3 | Ye >>> 29) ^ Ve >>> 6, Da = (Ye >>> 19 | Ve << 13) ^ (Ye << 3 | Ve >>> 29) ^ (Ye >>> 6 | Ve << 26), Ea = m[Me - 7], Va = Ea.high, Ja = Ea.low, da = m[Me - 16], ya = da.high, Ke = da.low;
2422
+ ve = oa + Ja, He = je + Va + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Da, He = He + Ia + (ve >>> 0 < Da >>> 0 ? 1 : 0), ve = ve + Ke, He = He + ya + (ve >>> 0 < Ke >>> 0 ? 1 : 0), aa.high = He, aa.low = ve;
2415
2423
  }
2416
2424
  var ca = me & ke ^ ~me & Ie, fa = ce & fe ^ ~ce & Ce, Na = Z & Q ^ Z & ae ^ Q & ae, La = q & K ^ q & ie ^ K & ie, Ua = (Z >>> 28 | q << 4) ^ (Z << 30 | q >>> 2) ^ (Z << 25 | q >>> 7), Ga = (q >>> 28 | Z << 4) ^ (q << 30 | Z >>> 2) ^ (q << 25 | Z >>> 7), Ma = (me >>> 14 | ce << 18) ^ (me >>> 18 | ce << 14) ^ (me << 23 | ce >>> 9), Se = (ce >>> 14 | me << 18) ^ (ce >>> 18 | me << 14) ^ (ce << 23 | me >>> 9), V = o[Me], De = V.high, ia = V.low, Pe = ea + Se, na = Ge + Ma + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ia, na = na + De + (Pe >>> 0 < ia >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + He + (Pe >>> 0 < ve >>> 0 ? 1 : 0), et = Ga + La, Yt = Ua + Na + (et >>> 0 < Ga >>> 0 ? 1 : 0);
2417
2425
  Ge = Ie, ea = Ce, Ie = ke, Ce = fe, ke = me, fe = ce, ce = Ue + Pe | 0, me = ye + na + (ce >>> 0 < Ue >>> 0 ? 1 : 0) | 0, ye = ae, Ue = ie, ae = Q, ie = K, Q = Z, K = q, q = Pe + et | 0, Z = na + Yt + (q >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
@@ -2435,12 +2443,12 @@ function al() {
2435
2443
  });
2436
2444
  })(Ct)), Ct.exports;
2437
2445
  }
2438
- var vt = { exports: {} }, hr = vt.exports, Ji;
2439
- function Tr() {
2446
+ var vt = { exports: {} }, Tr = vt.exports, Ji;
2447
+ function kr() {
2440
2448
  return Ji || (Ji = 1, (function(e, n) {
2441
2449
  (function(t, l, p) {
2442
2450
  e.exports = l(te(), jt(), al());
2443
- })(hr, function(t) {
2451
+ })(Tr, function(t) {
2444
2452
  return (function() {
2445
2453
  var l = t, p = l.x64, g = p.Word, b = p.WordArray, d = l.algo, r = d.SHA512, a = d.SHA384 = r.extend({
2446
2454
  _doReset: function() {
@@ -2465,12 +2473,12 @@ function Tr() {
2465
2473
  });
2466
2474
  })(vt)), vt.exports;
2467
2475
  }
2468
- var ht = { exports: {} }, kr = ht.exports, Zi;
2469
- function xr() {
2476
+ var ht = { exports: {} }, xr = ht.exports, Zi;
2477
+ function Sr() {
2470
2478
  return Zi || (Zi = 1, (function(e, n) {
2471
2479
  (function(t, l, p) {
2472
2480
  e.exports = l(te(), jt());
2473
- })(kr, function(t) {
2481
+ })(xr, function(t) {
2474
2482
  return (function(l) {
2475
2483
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.x64, a = r.Word, i = p.algo, o = [], m = [], u = [];
2476
2484
  (function() {
@@ -2575,12 +2583,12 @@ function xr() {
2575
2583
  });
2576
2584
  })(ht)), ht.exports;
2577
2585
  }
2578
- var Tt = { exports: {} }, Sr = Tt.exports, Ki;
2579
- function Dr() {
2586
+ var Tt = { exports: {} }, Dr = Tt.exports, Ki;
2587
+ function Er() {
2580
2588
  return Ki || (Ki = 1, (function(e, n) {
2581
2589
  (function(t, l) {
2582
2590
  e.exports = l(te());
2583
- })(Sr, function(t) {
2591
+ })(Dr, function(t) {
2584
2592
  return (function(l) {
2585
2593
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.algo, a = b.create([
2586
2594
  0,
@@ -2958,12 +2966,12 @@ function Dr() {
2958
2966
  });
2959
2967
  })(Tt)), Tt.exports;
2960
2968
  }
2961
- var kt = { exports: {} }, Er = kt.exports, qi;
2969
+ var kt = { exports: {} }, Nr = kt.exports, qi;
2962
2970
  function Ui() {
2963
2971
  return qi || (qi = 1, (function(e, n) {
2964
2972
  (function(t, l) {
2965
2973
  e.exports = l(te());
2966
- })(Er, function(t) {
2974
+ })(Nr, function(t) {
2967
2975
  (function() {
2968
2976
  var l = t, p = l.lib, g = p.Base, b = l.enc, d = b.Utf8, r = l.algo;
2969
2977
  r.HMAC = g.extend({
@@ -3036,12 +3044,12 @@ function Ui() {
3036
3044
  });
3037
3045
  })(kt)), kt.exports;
3038
3046
  }
3039
- var xt = { exports: {} }, Nr = xt.exports, $i;
3040
- function Lr() {
3047
+ var xt = { exports: {} }, Lr = xt.exports, $i;
3048
+ function Gr() {
3041
3049
  return $i || ($i = 1, (function(e, n) {
3042
3050
  (function(t, l, p) {
3043
3051
  e.exports = l(te(), yi(), Ui());
3044
- })(Nr, function(t) {
3052
+ })(Lr, function(t) {
3045
3053
  return (function() {
3046
3054
  var l = t, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.SHA256, a = d.HMAC, i = d.PBKDF2 = g.extend({
3047
3055
  /**
@@ -3103,12 +3111,12 @@ function Lr() {
3103
3111
  });
3104
3112
  })(xt)), xt.exports;
3105
3113
  }
3106
- var St = { exports: {} }, Gr = St.exports, Qi;
3114
+ var St = { exports: {} }, Mr = St.exports, Qi;
3107
3115
  function _a() {
3108
3116
  return Qi || (Qi = 1, (function(e, n) {
3109
3117
  (function(t, l, p) {
3110
3118
  e.exports = l(te(), el(), Ui());
3111
- })(Gr, function(t) {
3119
+ })(Mr, function(t) {
3112
3120
  return (function() {
3113
3121
  var l = t, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.MD5, a = d.EvpKDF = g.extend({
3114
3122
  /**
@@ -3166,12 +3174,12 @@ function _a() {
3166
3174
  });
3167
3175
  })(St)), St.exports;
3168
3176
  }
3169
- var Dt = { exports: {} }, Mr = Dt.exports, ji;
3177
+ var Dt = { exports: {} }, Rr = Dt.exports, ji;
3170
3178
  function Ne() {
3171
3179
  return ji || (ji = 1, (function(e, n) {
3172
3180
  (function(t, l, p) {
3173
3181
  e.exports = l(te(), _a());
3174
- })(Mr, function(t) {
3182
+ })(Rr, function(t) {
3175
3183
  t.lib.Cipher || (function(l) {
3176
3184
  var p = t, g = p.lib, b = g.Base, d = g.WordArray, r = g.BufferedBlockAlgorithm, a = p.enc;
3177
3185
  a.Utf8;
@@ -3704,12 +3712,12 @@ function Ne() {
3704
3712
  });
3705
3713
  })(Dt)), Dt.exports;
3706
3714
  }
3707
- var Et = { exports: {} }, Rr = Et.exports, Yi;
3708
- function Pr() {
3715
+ var Et = { exports: {} }, Pr = Et.exports, Yi;
3716
+ function wr() {
3709
3717
  return Yi || (Yi = 1, (function(e, n) {
3710
3718
  (function(t, l, p) {
3711
3719
  e.exports = l(te(), Ne());
3712
- })(Rr, function(t) {
3720
+ })(Pr, function(t) {
3713
3721
  return t.mode.CFB = (function() {
3714
3722
  var l = t.lib.BlockCipherMode.extend();
3715
3723
  l.Encryptor = l.extend({
@@ -3734,12 +3742,12 @@ function Pr() {
3734
3742
  });
3735
3743
  })(Et)), Et.exports;
3736
3744
  }
3737
- var Nt = { exports: {} }, wr = Nt.exports, Xi;
3738
- function Fr() {
3745
+ var Nt = { exports: {} }, Fr = Nt.exports, Xi;
3746
+ function Ar() {
3739
3747
  return Xi || (Xi = 1, (function(e, n) {
3740
3748
  (function(t, l, p) {
3741
3749
  e.exports = l(te(), Ne());
3742
- })(wr, function(t) {
3750
+ })(Fr, function(t) {
3743
3751
  return t.mode.CTR = (function() {
3744
3752
  var l = t.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
3745
3753
  processBlock: function(g, b) {
@@ -3756,12 +3764,12 @@ function Fr() {
3756
3764
  });
3757
3765
  })(Nt)), Nt.exports;
3758
3766
  }
3759
- var Lt = { exports: {} }, Ar = Lt.exports, en;
3760
- function Or() {
3767
+ var Lt = { exports: {} }, Or = Lt.exports, en;
3768
+ function Br() {
3761
3769
  return en || (en = 1, (function(e, n) {
3762
3770
  (function(t, l, p) {
3763
3771
  e.exports = l(te(), Ne());
3764
- })(Ar, function(t) {
3772
+ })(Or, function(t) {
3765
3773
  return t.mode.CTRGladman = (function() {
3766
3774
  var l = t.lib.BlockCipherMode.extend();
3767
3775
  function p(d) {
@@ -3790,12 +3798,12 @@ function Or() {
3790
3798
  });
3791
3799
  })(Lt)), Lt.exports;
3792
3800
  }
3793
- var Gt = { exports: {} }, Br = Gt.exports, an;
3794
- function Hr() {
3801
+ var Gt = { exports: {} }, Hr = Gt.exports, an;
3802
+ function Wr() {
3795
3803
  return an || (an = 1, (function(e, n) {
3796
3804
  (function(t, l, p) {
3797
3805
  e.exports = l(te(), Ne());
3798
- })(Br, function(t) {
3806
+ })(Hr, function(t) {
3799
3807
  return t.mode.OFB = (function() {
3800
3808
  var l = t.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
3801
3809
  processBlock: function(g, b) {
@@ -3810,12 +3818,12 @@ function Hr() {
3810
3818
  });
3811
3819
  })(Gt)), Gt.exports;
3812
3820
  }
3813
- var Mt = { exports: {} }, Wr = Mt.exports, tn;
3814
- function zr() {
3821
+ var Mt = { exports: {} }, zr = Mt.exports, tn;
3822
+ function Ir() {
3815
3823
  return tn || (tn = 1, (function(e, n) {
3816
3824
  (function(t, l, p) {
3817
3825
  e.exports = l(te(), Ne());
3818
- })(Wr, function(t) {
3826
+ })(zr, function(t) {
3819
3827
  return t.mode.ECB = (function() {
3820
3828
  var l = t.lib.BlockCipherMode.extend();
3821
3829
  return l.Encryptor = l.extend({
@@ -3831,12 +3839,12 @@ function zr() {
3831
3839
  });
3832
3840
  })(Mt)), Mt.exports;
3833
3841
  }
3834
- var Rt = { exports: {} }, Ir = Rt.exports, nn;
3835
- function Vr() {
3842
+ var Rt = { exports: {} }, Vr = Rt.exports, nn;
3843
+ function Jr() {
3836
3844
  return nn || (nn = 1, (function(e, n) {
3837
3845
  (function(t, l, p) {
3838
3846
  e.exports = l(te(), Ne());
3839
- })(Ir, function(t) {
3847
+ })(Vr, function(t) {
3840
3848
  return t.pad.AnsiX923 = {
3841
3849
  pad: function(l, p) {
3842
3850
  var g = l.sigBytes, b = p * 4, d = b - g % b, r = g + d - 1;
@@ -3850,12 +3858,12 @@ function Vr() {
3850
3858
  });
3851
3859
  })(Rt)), Rt.exports;
3852
3860
  }
3853
- var Pt = { exports: {} }, Jr = Pt.exports, ln;
3854
- function Zr() {
3861
+ var Pt = { exports: {} }, Zr = Pt.exports, ln;
3862
+ function Kr() {
3855
3863
  return ln || (ln = 1, (function(e, n) {
3856
3864
  (function(t, l, p) {
3857
3865
  e.exports = l(te(), Ne());
3858
- })(Jr, function(t) {
3866
+ })(Zr, function(t) {
3859
3867
  return t.pad.Iso10126 = {
3860
3868
  pad: function(l, p) {
3861
3869
  var g = p * 4, b = g - l.sigBytes % g;
@@ -3869,12 +3877,12 @@ function Zr() {
3869
3877
  });
3870
3878
  })(Pt)), Pt.exports;
3871
3879
  }
3872
- var wt = { exports: {} }, Kr = wt.exports, rn;
3873
- function qr() {
3880
+ var wt = { exports: {} }, qr = wt.exports, rn;
3881
+ function $r() {
3874
3882
  return rn || (rn = 1, (function(e, n) {
3875
3883
  (function(t, l, p) {
3876
3884
  e.exports = l(te(), Ne());
3877
- })(Kr, function(t) {
3885
+ })(qr, function(t) {
3878
3886
  return t.pad.Iso97971 = {
3879
3887
  pad: function(l, p) {
3880
3888
  l.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(l, p);
@@ -3886,12 +3894,12 @@ function qr() {
3886
3894
  });
3887
3895
  })(wt)), wt.exports;
3888
3896
  }
3889
- var Ft = { exports: {} }, $r = Ft.exports, on;
3890
- function Qr() {
3897
+ var Ft = { exports: {} }, Qr = Ft.exports, on;
3898
+ function jr() {
3891
3899
  return on || (on = 1, (function(e, n) {
3892
3900
  (function(t, l, p) {
3893
3901
  e.exports = l(te(), Ne());
3894
- })($r, function(t) {
3902
+ })(Qr, function(t) {
3895
3903
  return t.pad.ZeroPadding = {
3896
3904
  pad: function(l, p) {
3897
3905
  var g = p * 4;
@@ -3908,12 +3916,12 @@ function Qr() {
3908
3916
  });
3909
3917
  })(Ft)), Ft.exports;
3910
3918
  }
3911
- var At = { exports: {} }, jr = At.exports, sn;
3912
- function Yr() {
3919
+ var At = { exports: {} }, Yr = At.exports, sn;
3920
+ function Xr() {
3913
3921
  return sn || (sn = 1, (function(e, n) {
3914
3922
  (function(t, l, p) {
3915
3923
  e.exports = l(te(), Ne());
3916
- })(jr, function(t) {
3924
+ })(Yr, function(t) {
3917
3925
  return t.pad.NoPadding = {
3918
3926
  pad: function() {
3919
3927
  },
@@ -3923,12 +3931,12 @@ function Yr() {
3923
3931
  });
3924
3932
  })(At)), At.exports;
3925
3933
  }
3926
- var Ot = { exports: {} }, Xr = Ot.exports, mn;
3927
- function eo() {
3934
+ var Ot = { exports: {} }, eo = Ot.exports, mn;
3935
+ function ao() {
3928
3936
  return mn || (mn = 1, (function(e, n) {
3929
3937
  (function(t, l, p) {
3930
3938
  e.exports = l(te(), Ne());
3931
- })(Xr, function(t) {
3939
+ })(eo, function(t) {
3932
3940
  return (function(l) {
3933
3941
  var p = t, g = p.lib, b = g.CipherParams, d = p.enc, r = d.Hex, a = p.format;
3934
3942
  a.Hex = {
@@ -3970,12 +3978,12 @@ function eo() {
3970
3978
  });
3971
3979
  })(Ot)), Ot.exports;
3972
3980
  }
3973
- var Bt = { exports: {} }, ao = Bt.exports, un;
3974
- function to() {
3981
+ var Bt = { exports: {} }, to = Bt.exports, un;
3982
+ function io() {
3975
3983
  return un || (un = 1, (function(e, n) {
3976
3984
  (function(t, l, p) {
3977
3985
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
3978
- })(ao, function(t) {
3986
+ })(to, function(t) {
3979
3987
  return (function() {
3980
3988
  var l = t, p = l.lib, g = p.BlockCipher, b = l.algo, d = [], r = [], a = [], i = [], o = [], m = [], u = [], s = [], c = [], f = [];
3981
3989
  (function() {
@@ -4030,12 +4038,12 @@ function to() {
4030
4038
  });
4031
4039
  })(Bt)), Bt.exports;
4032
4040
  }
4033
- var Ht = { exports: {} }, io = Ht.exports, pn;
4034
- function no() {
4041
+ var Ht = { exports: {} }, no = Ht.exports, pn;
4042
+ function lo() {
4035
4043
  return pn || (pn = 1, (function(e, n) {
4036
4044
  (function(t, l, p) {
4037
4045
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4038
- })(io, function(t) {
4046
+ })(no, function(t) {
4039
4047
  return (function() {
4040
4048
  var l = t, p = l.lib, g = p.WordArray, b = p.BlockCipher, d = l.algo, r = [
4041
4049
  57,
@@ -4750,12 +4758,12 @@ function no() {
4750
4758
  });
4751
4759
  })(Ht)), Ht.exports;
4752
4760
  }
4753
- var Wt = { exports: {} }, lo = Wt.exports, gn;
4754
- function ro() {
4761
+ var Wt = { exports: {} }, ro = Wt.exports, gn;
4762
+ function oo() {
4755
4763
  return gn || (gn = 1, (function(e, n) {
4756
4764
  (function(t, l, p) {
4757
4765
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4758
- })(lo, function(t) {
4766
+ })(ro, function(t) {
4759
4767
  return (function() {
4760
4768
  var l = t, p = l.lib, g = p.StreamCipher, b = l.algo, d = b.RC4 = g.extend({
4761
4769
  _doReset: function() {
@@ -4804,12 +4812,12 @@ function ro() {
4804
4812
  });
4805
4813
  })(Wt)), Wt.exports;
4806
4814
  }
4807
- var zt = { exports: {} }, oo = zt.exports, dn;
4808
- function so() {
4815
+ var zt = { exports: {} }, so = zt.exports, dn;
4816
+ function mo() {
4809
4817
  return dn || (dn = 1, (function(e, n) {
4810
4818
  (function(t, l, p) {
4811
4819
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4812
- })(oo, function(t) {
4820
+ })(so, function(t) {
4813
4821
  return (function() {
4814
4822
  var l = t, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], i = b.Rabbit = g.extend({
4815
4823
  _doReset: function() {
@@ -4870,12 +4878,12 @@ function so() {
4870
4878
  });
4871
4879
  })(zt)), zt.exports;
4872
4880
  }
4873
- var It = { exports: {} }, mo = It.exports, cn;
4874
- function uo() {
4881
+ var It = { exports: {} }, uo = It.exports, cn;
4882
+ function po() {
4875
4883
  return cn || (cn = 1, (function(e, n) {
4876
4884
  (function(t, l, p) {
4877
4885
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4878
- })(mo, function(t) {
4886
+ })(uo, function(t) {
4879
4887
  return (function() {
4880
4888
  var l = t, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], i = b.RabbitLegacy = g.extend({
4881
4889
  _doReset: function() {
@@ -4934,12 +4942,12 @@ function uo() {
4934
4942
  });
4935
4943
  })(It)), It.exports;
4936
4944
  }
4937
- var Vt = { exports: {} }, po = Vt.exports, fn;
4938
- function go() {
4945
+ var Vt = { exports: {} }, go = Vt.exports, fn;
4946
+ function co() {
4939
4947
  return fn || (fn = 1, (function(e, n) {
4940
4948
  (function(t, l, p) {
4941
4949
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4942
- })(po, function(t) {
4950
+ })(go, function(t) {
4943
4951
  return (function() {
4944
4952
  var l = t, p = l.lib, g = p.BlockCipher, b = l.algo;
4945
4953
  const d = 16, r = [
@@ -6056,17 +6064,17 @@ function go() {
6056
6064
  });
6057
6065
  })(Vt)), Vt.exports;
6058
6066
  }
6059
- var co = mt.exports, _n;
6060
- function fo() {
6067
+ var fo = mt.exports, _n;
6068
+ function _o() {
6061
6069
  return _n || (_n = 1, (function(e, n) {
6062
6070
  (function(t, l, p) {
6063
- e.exports = l(te(), jt(), ur(), gr(), xa(), fr(), Sa(), el(), yi(), Cr(), al(), Tr(), xr(), Dr(), Ui(), Lr(), _a(), Ne(), Pr(), Fr(), Or(), Hr(), zr(), Vr(), Zr(), qr(), Qr(), Yr(), eo(), to(), no(), ro(), so(), uo(), go());
6064
- })(co, function(t) {
6071
+ e.exports = l(te(), jt(), pr(), dr(), xa(), _r(), Sa(), el(), yi(), vr(), al(), kr(), Sr(), Er(), Ui(), Gr(), _a(), Ne(), wr(), Ar(), Br(), Wr(), Ir(), Jr(), Kr(), $r(), jr(), Xr(), ao(), io(), lo(), oo(), mo(), po(), co());
6072
+ })(fo, function(t) {
6065
6073
  return t;
6066
6074
  });
6067
6075
  })(mt)), mt.exports;
6068
6076
  }
6069
- var Zt = fo();
6077
+ var Zt = _o();
6070
6078
  const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6071
6079
  const n = "mySecretPassphrase", t = Ca.lib.WordArray.random(16), l = Ca.PBKDF2(n, t, {
6072
6080
  keySize: 128 / 32,
@@ -6363,7 +6371,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6363
6371
  getUserAvatarListApi: B,
6364
6372
  updateUserAvatarApi: W
6365
6373
  };
6366
- }, Tm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6374
+ }, km = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6367
6375
  const { userCurrencyExchangeApi: t } = oe(), { getToken: l } = se(), { enabled: p, ...g } = n, d = !!l?.() && (p ? p.every((r) => r) : !0);
6368
6376
  return Wn({
6369
6377
  queries: [
@@ -6377,7 +6385,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6377
6385
  }
6378
6386
  ]
6379
6387
  });
6380
- }, km = ({
6388
+ }, xm = ({
6381
6389
  refetchInterval: e = 5e4,
6382
6390
  trigger: n = [],
6383
6391
  enabled: t = !0
@@ -6393,7 +6401,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6393
6401
  }
6394
6402
  ]
6395
6403
  });
6396
- }, xm = ({ enabled: e = !0 } = {}) => {
6404
+ }, Sm = ({ enabled: e = !0 } = {}) => {
6397
6405
  const {
6398
6406
  userInfoApi: n,
6399
6407
  userFavoriteGameApi: t,
@@ -6488,7 +6496,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6488
6496
  [e]
6489
6497
  );
6490
6498
  return { playGameApi: l, betRecordApi: p, betRecordDetailApi: g };
6491
- }, _o = ({ options: e, formData: n } = {}) => {
6499
+ }, yo = ({ options: e, formData: n } = {}) => {
6492
6500
  const { betRecordApi: t } = bi();
6493
6501
  return j({
6494
6502
  queryKey: ["getBetRecord"],
@@ -6499,20 +6507,20 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6499
6507
  })),
6500
6508
  ...e
6501
6509
  });
6502
- }, yo = ({ options: e, formData: n } = {}) => {
6510
+ }, Uo = ({ options: e, formData: n } = {}) => {
6503
6511
  const { betRecordDetailApi: t } = bi();
6504
6512
  return j({
6505
6513
  queryKey: ["getBetRecordDetail"],
6506
6514
  queryFn: async () => await t(n),
6507
6515
  ...e
6508
6516
  });
6509
- }, Sm = ({
6517
+ }, Dm = ({
6510
6518
  options: e = {
6511
6519
  betRecord: {},
6512
6520
  betRecordDetail: {}
6513
6521
  }
6514
6522
  }) => {
6515
- const n = _o({ options: e.betRecord }), t = yo({
6523
+ const n = yo({ options: e.betRecord }), t = Uo({
6516
6524
  options: e.betRecordDetail
6517
6525
  });
6518
6526
  return {
@@ -6528,7 +6536,7 @@ function nt(e) {
6528
6536
  }
6529
6537
  return e;
6530
6538
  }
6531
- var Uo = {
6539
+ var bo = {
6532
6540
  read: function(e) {
6533
6541
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
6534
6542
  },
@@ -6589,7 +6597,7 @@ function si(e, n) {
6589
6597
  }
6590
6598
  );
6591
6599
  }
6592
- var mi = si(Uo, { path: "/" }), ai = {}, Je = {}, ti = {}, yn;
6600
+ var mi = si(bo, { path: "/" }), ai = {}, Je = {}, ti = {}, yn;
6593
6601
  function ra() {
6594
6602
  return yn || (yn = 1, (function(e) {
6595
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;
@@ -6616,7 +6624,7 @@ function ra() {
6616
6624
  e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && p();
6617
6625
  })(ti)), ti;
6618
6626
  }
6619
- var qa = {}, ii = {}, Un;
6627
+ var $a = {}, ii = {}, Un;
6620
6628
  function Ci() {
6621
6629
  return Un || (Un = 1, (function(e) {
6622
6630
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
@@ -6692,7 +6700,7 @@ function tl() {
6692
6700
  }
6693
6701
  return lt;
6694
6702
  }
6695
- var $a = {}, ni = {}, vn;
6703
+ var Qa = {}, ni = {}, vn;
6696
6704
  function hi() {
6697
6705
  return vn || (vn = 1, (function(e) {
6698
6706
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
@@ -6725,8 +6733,8 @@ function hi() {
6725
6733
  }
6726
6734
  var hn;
6727
6735
  function Ti() {
6728
- if (hn) return $a;
6729
- hn = 1, Object.defineProperty($a, "__esModule", { value: !0 }), $a.assertIsWebSocket = t, $a.resetGlobalState = l;
6736
+ if (hn) return Qa;
6737
+ hn = 1, Object.defineProperty(Qa, "__esModule", { value: !0 }), Qa.assertIsWebSocket = t, Qa.resetGlobalState = l;
6730
6738
  var e = Ci(), n = hi();
6731
6739
  function t(p, g) {
6732
6740
  if (!g && !(p instanceof WebSocket))
@@ -6735,10 +6743,10 @@ function Ti() {
6735
6743
  function l(p) {
6736
6744
  (0, n.resetSubscribers)(p), (0, e.resetWebSockets)(p);
6737
6745
  }
6738
- return $a;
6746
+ return Qa;
6739
6747
  }
6740
6748
  var Tn;
6741
- function bo() {
6749
+ function Co() {
6742
6750
  if (Tn) return va;
6743
6751
  Tn = 1;
6744
6752
  var e = va && va.__assign || function() {
@@ -6808,7 +6816,7 @@ function bo() {
6808
6816
  return va.attachListeners = a, va;
6809
6817
  }
6810
6818
  var ha = {}, kn;
6811
- function Co() {
6819
+ function vo() {
6812
6820
  if (kn) return ha;
6813
6821
  kn = 1;
6814
6822
  var e = ha && ha.__assign || function() {
@@ -6870,10 +6878,10 @@ function Co() {
6870
6878
  return ha.attachSharedListeners = i, ha;
6871
6879
  }
6872
6880
  var xn;
6873
- function vo() {
6874
- if (xn) return qa;
6875
- xn = 1, Object.defineProperty(qa, "__esModule", { value: !0 }), qa.createOrJoinSocket = void 0;
6876
- var e = Ci(), n = ra(), t = bo(), l = Co(), p = hi(), g = function(d, r, a, i, o) {
6881
+ function ho() {
6882
+ if (xn) return $a;
6883
+ xn = 1, Object.defineProperty($a, "__esModule", { value: !0 }), $a.createOrJoinSocket = void 0;
6884
+ var e = Ci(), n = ra(), t = Co(), l = vo(), p = hi(), g = function(d, r, a, i, o) {
6877
6885
  return function() {
6878
6886
  if ((0, p.removeSubscriber)(d, r), !(0, p.hasSubscribers)(d)) {
6879
6887
  try {
@@ -6910,10 +6918,10 @@ function vo() {
6910
6918
  }, i, m.current, u, s, c);
6911
6919
  }
6912
6920
  };
6913
- return qa.createOrJoinSocket = b, qa;
6921
+ return $a.createOrJoinSocket = b, $a;
6914
6922
  }
6915
6923
  var ma = {}, Sn;
6916
- function ho() {
6924
+ function To() {
6917
6925
  return Sn || (Sn = 1, (function(e) {
6918
6926
  var n = ma && ma.__awaiter || function(r, a, i, o) {
6919
6927
  function m(u) {
@@ -7050,7 +7058,7 @@ function ho() {
7050
7058
  })(ma)), ma;
7051
7059
  }
7052
7060
  var li = {}, Dn;
7053
- function To() {
7061
+ function ko() {
7054
7062
  return Dn || (Dn = 1, (function(e) {
7055
7063
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
7056
7064
  var n = function(t, l) {
@@ -7169,7 +7177,7 @@ function ki() {
7169
7177
  return m && m.__esModule ? m : { default: m };
7170
7178
  };
7171
7179
  Object.defineProperty(Je, "__esModule", { value: !0 }), Je.useWebSocket = void 0;
7172
- var p = de, g = Jl, b = ra(), d = vo(), r = ho(), a = l(To()), i = Ti(), o = function(m, u, s) {
7180
+ var p = de, g = Jl, b = ra(), d = ho(), r = To(), a = l(ko()), i = Ti(), o = function(m, u, s) {
7173
7181
  u === void 0 && (u = b.DEFAULT_OPTIONS), s === void 0 && (s = !0);
7174
7182
  var c = (0, p.useState)(null), f = c[0], y = c[1], _ = (0, p.useState)({}), U = _[0], C = _[1], v = (0, p.useMemo)(function() {
7175
7183
  if (!u.disableJson && f)
@@ -7255,7 +7263,7 @@ function ki() {
7255
7263
  return Je.useWebSocket = o, Je;
7256
7264
  }
7257
7265
  var Ta = {}, Nn;
7258
- function ko() {
7266
+ function xo() {
7259
7267
  if (Nn) return Ta;
7260
7268
  Nn = 1;
7261
7269
  var e = Ta && Ta.__assign || function() {
@@ -7301,7 +7309,7 @@ function ko() {
7301
7309
  return Ta.useSocketIO = b, Ta;
7302
7310
  }
7303
7311
  var ua = {}, Ln;
7304
- function xo() {
7312
+ function So() {
7305
7313
  if (Ln) return ua;
7306
7314
  Ln = 1;
7307
7315
  var e = ua && ua.__assign || function() {
@@ -7344,14 +7352,14 @@ function xo() {
7344
7352
  return ua.useEventSource = g, ua;
7345
7353
  }
7346
7354
  var Gn;
7347
- function So() {
7355
+ function Do() {
7348
7356
  return Gn || (Gn = 1, (function(e) {
7349
7357
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
7350
7358
  var n = ki();
7351
7359
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
7352
7360
  return n.useWebSocket;
7353
7361
  } });
7354
- var t = ko();
7362
+ var t = xo();
7355
7363
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
7356
7364
  return t.useSocketIO;
7357
7365
  } });
@@ -7359,7 +7367,7 @@ function So() {
7359
7367
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
7360
7368
  return l.ReadyState;
7361
7369
  } });
7362
- var p = xo();
7370
+ var p = So();
7363
7371
  Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
7364
7372
  return p.useEventSource;
7365
7373
  } });
@@ -7369,15 +7377,15 @@ function So() {
7369
7377
  } });
7370
7378
  })(ai)), ai;
7371
7379
  }
7372
- var Do = So();
7373
- const Eo = /* @__PURE__ */ _i(Do), No = ({
7380
+ var Eo = Do();
7381
+ const No = /* @__PURE__ */ _i(Eo), Lo = ({
7374
7382
  enable: e = !1,
7375
7383
  isTestFunction: n = !1,
7376
7384
  isTransferMode: t = !1,
7377
7385
  isInGameBox: l = !1,
7378
7386
  currentGamePlatform: p = ""
7379
7387
  }) => {
7380
- const { store: g, lng: b } = se(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } = Jn(), o = Qe(b), { mutateAsync: m } = Ho();
7388
+ const { store: g, lng: b } = se(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } = Jn(), o = Qe(b), { mutateAsync: m } = Wo();
7381
7389
  return !e || !n || !t ? { handleTransferInGame: () => {
7382
7390
  } } : { handleTransferInGame: async () => {
7383
7391
  console.log("執行遊戲內轉帳"), l && await m({
@@ -7389,7 +7397,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7389
7397
  r(), g.dispatch({
7390
7398
  type: "ui/showToast",
7391
7399
  payload: {
7392
- title: ja[o] || "System Prompt",
7400
+ title: Ba[o] || "System Prompt",
7393
7401
  description: "點數轉入成功,請確認遊戲餘額",
7394
7402
  status: "success"
7395
7403
  }
@@ -7402,7 +7410,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7402
7410
  localStorage.setItem("transfer_in_game_request_id", f), i(), g.dispatch({
7403
7411
  type: "ui/showToast",
7404
7412
  payload: {
7405
- title: ja[o] || "System Prompt",
7413
+ title: Ba[o] || "System Prompt",
7406
7414
  description: "您的上一筆訂單未完成,請耐心等候,我們正在為您處理",
7407
7415
  status: "warning"
7408
7416
  }
@@ -7416,7 +7424,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7416
7424
  }
7417
7425
  });
7418
7426
  } };
7419
- }, Ha = () => {
7427
+ }, Wa = () => {
7420
7428
  const { client: e } = se(), n = I(async () => {
7421
7429
  const { data: d } = await e.get("/carousels");
7422
7430
  return d;
@@ -7452,63 +7460,63 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7452
7460
  verifyPhoneBarApi: g,
7453
7461
  verifyDonationCodeApi: b
7454
7462
  };
7455
- }, Lo = ({ options: e } = {}) => {
7463
+ }, Go = ({ options: e } = {}) => {
7456
7464
  const { userLoginApi: n } = oe();
7457
7465
  return le({
7458
7466
  mutationKey: ["userLogin"],
7459
7467
  mutationFn: async (t) => n(t),
7460
7468
  ...e
7461
7469
  });
7462
- }, Go = ({ options: e } = {}) => {
7470
+ }, Mo = ({ options: e } = {}) => {
7463
7471
  const { userLogoutApi: n } = oe();
7464
7472
  return le({
7465
7473
  mutationKey: ["userLogout"],
7466
7474
  mutationFn: async () => n(),
7467
7475
  ...e
7468
7476
  });
7469
- }, Mo = ({ options: e } = {}) => {
7477
+ }, Ro = ({ options: e } = {}) => {
7470
7478
  const { userSignUpApi: n } = oe();
7471
7479
  return le({
7472
7480
  mutationKey: ["userSignUp"],
7473
7481
  mutationFn: async (t) => n(t),
7474
7482
  ...e
7475
7483
  });
7476
- }, Ro = ({ options: e } = {}) => {
7484
+ }, Po = ({ options: e } = {}) => {
7477
7485
  const { addOrRemoveFavoriteGameApi: n } = oe();
7478
7486
  return le({
7479
7487
  mutationKey: ["toggleFavoriteGame"],
7480
7488
  mutationFn: async (t) => n(t),
7481
7489
  ...e
7482
7490
  });
7483
- }, Po = ({ options: e } = {}) => {
7491
+ }, wo = ({ options: e } = {}) => {
7484
7492
  const { updateUserInfoApi: n } = oe();
7485
7493
  return le({
7486
7494
  mutationKey: ["updateUserInfo"],
7487
7495
  mutationFn: async (t) => n(t),
7488
7496
  ...e
7489
7497
  });
7490
- }, wo = ({ options: e } = {}) => {
7498
+ }, Fo = ({ options: e } = {}) => {
7491
7499
  const { resetUserPasswordApi: n } = oe();
7492
7500
  return le({
7493
7501
  mutationKey: ["resetUserPassword"],
7494
7502
  mutationFn: async (t) => n(t),
7495
7503
  ...e
7496
7504
  });
7497
- }, Fo = ({ options: e } = {}) => {
7505
+ }, Ao = ({ options: e } = {}) => {
7498
7506
  const { setUserTransactionPasswordApi: n } = oe();
7499
7507
  return le({
7500
7508
  mutationKey: ["setUserTransactionPassword"],
7501
7509
  mutationFn: async (t) => n(t),
7502
7510
  ...e
7503
7511
  });
7504
- }, Ao = ({ options: e } = {}) => {
7512
+ }, Oo = ({ options: e } = {}) => {
7505
7513
  const { resetUserTransactionPasswordApi: n } = oe();
7506
7514
  return le({
7507
7515
  mutationKey: ["resetUserTransactionPassword"],
7508
7516
  mutationFn: async (t) => n(t),
7509
7517
  ...e
7510
7518
  });
7511
- }, Oo = ({ paramsData: e, options: n } = {}) => {
7519
+ }, Bo = ({ paramsData: e, options: n } = {}) => {
7512
7520
  const { userRebateApi: t } = oe(), { getToken: l } = se();
7513
7521
  return l?.(), j({
7514
7522
  queryKey: ["userRebate", e],
@@ -7516,14 +7524,14 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7516
7524
  enabled: !1,
7517
7525
  ...n
7518
7526
  });
7519
- }, Bo = ({ options: e } = {}) => {
7527
+ }, Ho = ({ options: e } = {}) => {
7520
7528
  const { userBindBankApi: n } = oe();
7521
7529
  return le({
7522
7530
  mutationKey: ["userBindBank"],
7523
7531
  mutationFn: async (t) => n({ formData: t }),
7524
7532
  ...e
7525
7533
  });
7526
- }, Ho = ({ options: e } = {}) => {
7534
+ }, Wo = ({ options: e } = {}) => {
7527
7535
  const { transferInGameApi: n } = oe();
7528
7536
  return le({
7529
7537
  mutationKey: ["transferInGame"],
@@ -7531,7 +7539,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7531
7539
  retry: !1,
7532
7540
  ...e
7533
7541
  });
7534
- }, Dm = ({ options: e } = {}) => {
7542
+ }, Em = ({ options: e } = {}) => {
7535
7543
  const { currency: n } = se(), { pointTransferApi: t } = oe();
7536
7544
  return le({
7537
7545
  mutationKey: ["pointTransfer"],
@@ -7541,7 +7549,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7541
7549
  }),
7542
7550
  ...e
7543
7551
  });
7544
- }, Em = ({ options: e } = {}) => {
7552
+ }, Nm = ({ options: e } = {}) => {
7545
7553
  const { currency: n } = se(), { checkUserWagerApi: t } = oe();
7546
7554
  return j({
7547
7555
  queryKey: ["checkUserWager"],
@@ -7554,7 +7562,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7554
7562
  },
7555
7563
  ...e
7556
7564
  });
7557
- }, Nm = ({ options: e } = {}) => {
7565
+ }, Lm = ({ options: e } = {}) => {
7558
7566
  const n = fi(), { abandonPointsApi: t } = oe();
7559
7567
  return le({
7560
7568
  mutationKey: ["abandonPoint"],
@@ -7573,84 +7581,84 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7573
7581
  mutationFn: async (t) => n(t),
7574
7582
  ...e
7575
7583
  });
7576
- }, Wo = ({ options: e } = {}) => {
7584
+ }, zo = ({ options: e } = {}) => {
7577
7585
  const { lineLogin2Api: n } = oe();
7578
7586
  return le({
7579
7587
  mutationKey: ["lineLogin"],
7580
7588
  mutationFn: async (t) => n(t),
7581
7589
  ...e
7582
7590
  });
7583
- }, zo = ({ options: e, formData: n } = {}) => {
7591
+ }, Io = ({ options: e, formData: n } = {}) => {
7584
7592
  const { getMachineLoginCodeApi: t } = oe();
7585
7593
  return j({
7586
7594
  queryKey: ["getMachineLoginCode"],
7587
7595
  queryFn: async () => t(n),
7588
7596
  ...e
7589
7597
  });
7590
- }, Lm = ({ options: e } = {}) => {
7598
+ }, Gm = ({ options: e } = {}) => {
7591
7599
  const { currency: n } = se(), { memberTransferApi: t } = oe();
7592
7600
  return le({
7593
7601
  mutationKey: ["memberTransfer"],
7594
7602
  mutationFn: async (l) => t({ ...l, currency: n }),
7595
7603
  ...e
7596
7604
  });
7597
- }, Gm = ({ options: e } = {}) => {
7605
+ }, Mm = ({ options: e } = {}) => {
7598
7606
  const { mobileLoginApi: n } = oe();
7599
7607
  return le({
7600
7608
  mutationKey: ["mobileLogin"],
7601
7609
  mutationFn: async (t) => n(t),
7602
7610
  ...e
7603
7611
  });
7604
- }, Mm = ({ options: e } = {}) => {
7612
+ }, Rm = ({ options: e } = {}) => {
7605
7613
  const { mobileLoginApiV2: n } = oe();
7606
7614
  return le({
7607
7615
  mutationKey: ["mobileLoginV2"],
7608
7616
  mutationFn: async (t) => n(t),
7609
7617
  ...e
7610
7618
  });
7611
- }, Rm = ({ options: e } = {}) => {
7619
+ }, Pm = ({ options: e } = {}) => {
7612
7620
  const { mobileRegisterApi: n } = oe();
7613
7621
  return le({
7614
7622
  mutationKey: ["mobileRegister"],
7615
7623
  mutationFn: async (t) => n(t),
7616
7624
  ...e
7617
7625
  });
7618
- }, Io = ({ options: e } = {}) => {
7626
+ }, Vo = ({ options: e } = {}) => {
7619
7627
  const { bindAccountApi: n } = oe();
7620
7628
  return le({
7621
7629
  mutationKey: ["bindAccount"],
7622
7630
  mutationFn: async (t) => n(t),
7623
7631
  ...e
7624
7632
  });
7625
- }, Pm = ({ options: e } = {}) => {
7633
+ }, wm = ({ options: e } = {}) => {
7626
7634
  const { sendMobileVerifyCodeApi: n } = oe();
7627
7635
  return le({
7628
7636
  mutationKey: ["sendMobileVerifyCode"],
7629
7637
  mutationFn: async (t) => n(t),
7630
7638
  ...e
7631
7639
  });
7632
- }, wm = ({ options: e, paramsData: n } = {}) => {
7633
- const { verifyPhoneBarApi: t } = Ha();
7640
+ }, Fm = ({ options: e, paramsData: n } = {}) => {
7641
+ const { verifyPhoneBarApi: t } = Wa();
7634
7642
  return j({
7635
7643
  queryKey: ["verifyPhoneBar", n],
7636
7644
  queryFn: async () => t(n),
7637
7645
  ...e
7638
7646
  });
7639
- }, Fm = ({ options: e, paramsData: n } = {}) => {
7640
- const { verifyDonationCodeApi: t } = Ha();
7647
+ }, Am = ({ options: e, paramsData: n } = {}) => {
7648
+ const { verifyDonationCodeApi: t } = Wa();
7641
7649
  return j({
7642
7650
  queryKey: ["verifyDonationCode", n],
7643
7651
  queryFn: async () => t(n),
7644
7652
  ...e
7645
7653
  });
7646
- }, Am = ({ options: e } = {}) => {
7654
+ }, Om = ({ options: e } = {}) => {
7647
7655
  const { verifyResetActionApi: n } = oe();
7648
7656
  return le({
7649
7657
  mutationKey: ["verifyResetAction"],
7650
7658
  mutationFn: async (t) => n(t),
7651
7659
  ...e
7652
7660
  });
7653
- }, Om = ({ options: e, bonusData: n } = {}) => {
7661
+ }, Bm = ({ options: e, bonusData: n } = {}) => {
7654
7662
  const { getJackpotApi: t } = oe();
7655
7663
  return j({
7656
7664
  queryKey: ["getJackpotData"],
@@ -7669,14 +7677,14 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7669
7677
  },
7670
7678
  ...e
7671
7679
  });
7672
- }, Bm = ({ options: e } = {}) => {
7680
+ }, Hm = ({ options: e } = {}) => {
7673
7681
  const { getBetRankingApi: n } = oe();
7674
7682
  return j({
7675
7683
  queryKey: ["getBetRankingData"],
7676
7684
  queryFn: async () => n(),
7677
7685
  ...e
7678
7686
  });
7679
- }, Hm = ({ options: e } = {}) => {
7687
+ }, Wm = ({ options: e } = {}) => {
7680
7688
  const { getUserAvatarListApi: n } = oe();
7681
7689
  return j({
7682
7690
  queryKey: ["getAvatarList"],
@@ -7686,14 +7694,14 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7686
7694
  // },
7687
7695
  ...e
7688
7696
  });
7689
- }, Wm = ({ options: e } = {}) => {
7697
+ }, zm = ({ options: e } = {}) => {
7690
7698
  const { updateUserAvatarApi: n } = oe();
7691
7699
  return le({
7692
7700
  mutationKey: ["updateAvatar"],
7693
7701
  mutationFn: async (t) => n(t),
7694
7702
  ...e
7695
7703
  });
7696
- }, zm = ({
7704
+ }, Im = ({
7697
7705
  options: e = {
7698
7706
  login: {},
7699
7707
  logout: {},
@@ -7707,15 +7715,15 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7707
7715
  userBindCard: {}
7708
7716
  }
7709
7717
  } = {}) => {
7710
- const n = Lo({ options: e.login }), t = Go({ options: e.logout }), l = Mo({ options: e.register }), p = Po({ options: e.updateUserInfo }), g = Ro({
7718
+ const n = Go({ options: e.login }), t = Mo({ options: e.logout }), l = Ro({ options: e.register }), p = wo({ options: e.updateUserInfo }), g = Po({
7711
7719
  options: e.toggleFavoriteGame
7712
- }), b = wo({
7720
+ }), b = Fo({
7713
7721
  options: e.resetUserPassword
7714
- }), d = Fo({
7722
+ }), d = Ao({
7715
7723
  options: e.setUserTransactionPassword
7716
- }), r = Ao({
7724
+ }), r = Oo({
7717
7725
  options: e.resetUserTransactionPassword
7718
- }), a = Oo({ options: e.userRebate }), i = Bo({ options: e.userBindCard });
7726
+ }), a = Bo({ options: e.userRebate }), i = Ho({ options: e.userBindCard });
7719
7727
  return {
7720
7728
  login: n,
7721
7729
  logout: t,
@@ -7742,7 +7750,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7742
7750
  UPDATE_ONLY_ONE_MEMBER: "update_only_one_member",
7743
7751
  GAME_MAINTAIN: "game_maintain",
7744
7752
  LINE_LOGIN: "line_login"
7745
- }, Vo = 3e4, Im = ({
7753
+ }, Jo = 3e4, Vm = ({
7746
7754
  socketUrl: e,
7747
7755
  socketHandlers: n = {},
7748
7756
  options: t = {},
@@ -7769,7 +7777,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7769
7777
  },
7770
7778
  retry: !1
7771
7779
  }
7772
- }), { mutateAsync: v } = Wo({
7780
+ }), { mutateAsync: v } = zo({
7773
7781
  options: {
7774
7782
  onSuccess: (w) => {
7775
7783
  f.current.onLineLogin?.(w);
@@ -7778,7 +7786,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7778
7786
  b || C(R);
7779
7787
  }
7780
7788
  }
7781
- }), { handleTransferInGame: D } = No({
7789
+ }), { handleTransferInGame: D } = Lo({
7782
7790
  enable: U,
7783
7791
  isTestFunction: !0,
7784
7792
  isTransferMode: re(p, "isTransferMode", !1),
@@ -7795,7 +7803,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7795
7803
  readyState: k
7796
7804
  // WebSocket 連線狀態
7797
7805
  // getWebSocket, // 獲取 WebSocket 實例
7798
- } = Eo(e, {
7806
+ } = No(e, {
7799
7807
  queryParams: { key: "wsky" },
7800
7808
  onOpen: () => console.log("連線成功"),
7801
7809
  shouldReconnect: () => c.current === !1,
@@ -7812,7 +7820,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7812
7820
  ge(() => {
7813
7821
  const w = setInterval(
7814
7822
  () => E("ping"),
7815
- Vo
7823
+ Jo
7816
7824
  );
7817
7825
  return () => clearInterval(w);
7818
7826
  }, [E]);
@@ -7821,7 +7829,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7821
7829
  g && d.dispatch({
7822
7830
  type: "ui/openNotificationModal",
7823
7831
  payload: {
7824
- title: ja[s] || "System Prompt",
7832
+ title: Ba[s] || "System Prompt",
7825
7833
  content: w,
7826
7834
  type: "warning",
7827
7835
  props: R
@@ -7905,7 +7913,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7905
7913
  localStorage.removeItem("transfer_in_game_request_id"), o(), d.dispatch({
7906
7914
  type: "ui/showToast",
7907
7915
  payload: {
7908
- title: ja[s] || "System Prompt",
7916
+ title: Ba[s] || "System Prompt",
7909
7917
  description: `您於${ke}存入的${ce}元已經處理完成了,請確認遊戲餘額`,
7910
7918
  status: "success"
7911
7919
  }
@@ -7965,7 +7973,23 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7965
7973
  member_info_uid: y
7966
7974
  });
7967
7975
  }
7968
- }, [y, m, G, U]), {
7976
+ }, [y, m, G, U]), ge(() => {
7977
+ m ? d.dispatch({
7978
+ type: "ui/showToast",
7979
+ payload: {
7980
+ title: Ba[s] || "System Prompt",
7981
+ description: jl[s] || "We are processing your transfer",
7982
+ status: "warning",
7983
+ duration: 999999,
7984
+ id: "trasnferingInGame"
7985
+ }
7986
+ }) : i && d.dispatch({
7987
+ type: "ui/removeToast",
7988
+ payload: {
7989
+ id: "trasnferingInGame"
7990
+ }
7991
+ });
7992
+ }, [m, i, d, s]), {
7969
7993
  sendMessage: E,
7970
7994
  sendJsonMessage: G,
7971
7995
  readyState: k
@@ -8014,7 +8038,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8014
8038
  redeemEventRewardApi: l,
8015
8039
  settleEventApi: g
8016
8040
  };
8017
- }, Jo = ({ paramsData: e, options: n } = {}) => {
8041
+ }, Zo = ({ paramsData: e, options: n } = {}) => {
8018
8042
  const { store: t, lng: l, data2URL: p } = se(), { eventListApi: g } = Ya(), b = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", d = Qe(l);
8019
8043
  return j({
8020
8044
  queryKey: ["eventList", e],
@@ -8131,21 +8155,21 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8131
8155
  },
8132
8156
  ...n
8133
8157
  });
8134
- }, Vm = ({ options: e } = {}) => {
8158
+ }, Jm = ({ options: e } = {}) => {
8135
8159
  const { redeemEventRewardApi: n } = Ya();
8136
8160
  return le({
8137
8161
  mutationKey: ["redeemEventReward"],
8138
8162
  mutationFn: async (t) => n(t),
8139
8163
  ...e
8140
8164
  });
8141
- }, Zo = ({ options: e, formData: n } = {}) => {
8165
+ }, Ko = ({ options: e, formData: n } = {}) => {
8142
8166
  const { checkCurrentEventProgessApi: t } = Ya();
8143
8167
  return j({
8144
8168
  queryKey: ["checkEventProgress"],
8145
8169
  queryFn: async () => t(n),
8146
8170
  ...e
8147
8171
  });
8148
- }, Ko = ({ options: e, formData: n } = {}) => {
8172
+ }, qo = ({ options: e, formData: n } = {}) => {
8149
8173
  const { checkEventStatusApi: t } = Ya();
8150
8174
  return j({
8151
8175
  queryKey: ["checkEventStatus"],
@@ -8153,23 +8177,23 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8153
8177
  select: (l) => l.data.event_status,
8154
8178
  ...e
8155
8179
  });
8156
- }, Jm = ({ options: e } = {}) => {
8180
+ }, Zm = ({ options: e } = {}) => {
8157
8181
  const { settleEventApi: n } = Ya();
8158
8182
  return le({
8159
8183
  mutationKey: ["settleEvent"],
8160
8184
  mutationFn: async (t) => n(t),
8161
8185
  ...e
8162
8186
  });
8163
- }, Zm = ({
8187
+ }, Km = ({
8164
8188
  options: e = {
8165
8189
  eventList: {},
8166
8190
  checkEventProgress: {},
8167
8191
  checkEventStatus: {}
8168
8192
  }
8169
8193
  } = {}) => {
8170
- const n = Jo({ options: e.eventList }), t = Zo({
8194
+ const n = Zo({ options: e.eventList }), t = Ko({
8171
8195
  options: e.checkEventProgress
8172
- }), l = Ko({
8196
+ }), l = qo({
8173
8197
  options: e.checkEventStatus
8174
8198
  });
8175
8199
  return {
@@ -8177,8 +8201,8 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8177
8201
  checkEventProgressQuery: t,
8178
8202
  checkEventStatusQuery: l
8179
8203
  };
8180
- }, Km = ({ skipPreload: e = !1 } = {}) => {
8181
- const { lng: n, data2URL: t } = se(), { commonCarouselApi: l } = Ha(), p = Qe(n);
8204
+ }, qm = ({ skipPreload: e = !1 } = {}) => {
8205
+ const { lng: n, data2URL: t } = se(), { commonCarouselApi: l } = Wa(), p = Qe(n);
8182
8206
  return j({
8183
8207
  queryKey: ["getCarouselList", e],
8184
8208
  queryFn: async () => {
@@ -8205,8 +8229,8 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8205
8229
  };
8206
8230
  })
8207
8231
  });
8208
- }, qm = () => {
8209
- const { lng: e } = se(), { commonMarqueeApi: n } = Ha(), t = Qe(e);
8232
+ }, $m = () => {
8233
+ const { lng: e } = se(), { commonMarqueeApi: n } = Wa(), t = Qe(e);
8210
8234
  return j({
8211
8235
  queryKey: ["getMarqueeList"],
8212
8236
  queryFn: async () => {
@@ -8218,7 +8242,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8218
8242
  return Be(p, (b) => b[t] || b?.en_US);
8219
8243
  }
8220
8244
  });
8221
- }, $m = ({ options: e } = {}) => {
8245
+ }, Qm = ({ options: e } = {}) => {
8222
8246
  const { rankingGameApi: n } = oe();
8223
8247
  return j({
8224
8248
  queryKey: ["rankingGame"],
@@ -8260,10 +8284,10 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8260
8284
  ...e
8261
8285
  });
8262
8286
  };
8263
- var qo = Object.create, nl = Object.defineProperty, $o = Object.getOwnPropertyDescriptor, Qo = Object.getOwnPropertyNames, jo = Object.getPrototypeOf, Yo = Object.prototype.hasOwnProperty, Xo = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), es = (e, n, t, l) => {
8264
- if (n && typeof n == "object" || typeof n == "function") for (let p of Qo(n)) !Yo.call(e, p) && p !== t && nl(e, p, { get: () => n[p], enumerable: !(l = $o(n, p)) || l.enumerable });
8287
+ var $o = Object.create, nl = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, jo = Object.getOwnPropertyNames, Yo = Object.getPrototypeOf, Xo = Object.prototype.hasOwnProperty, es = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), as = (e, n, t, l) => {
8288
+ if (n && typeof n == "object" || typeof n == "function") for (let p of jo(n)) !Xo.call(e, p) && p !== t && nl(e, p, { get: () => n[p], enumerable: !(l = Qo(n, p)) || l.enumerable });
8265
8289
  return e;
8266
- }, as = (e, n, t) => (t = e != null ? qo(jo(e)) : {}, es(!e || !e.__esModule ? nl(t, "default", { value: e, enumerable: !0 }) : t, e)), ts = Xo((e, n) => {
8290
+ }, ts = (e, n, t) => (t = e != null ? $o(Yo(e)) : {}, as(!e || !e.__esModule ? nl(t, "default", { value: e, enumerable: !0 }) : t, e)), is = es((e, n) => {
8267
8291
  (function(t, l) {
8268
8292
  typeof e == "object" && typeof n < "u" ? l(e) : typeof define == "function" && define.amd ? define(["exports"], l) : (t = typeof globalThis < "u" ? globalThis : t || self, l(t.fastUniqueNumbers = {}));
8269
8293
  })(e, function(t) {
@@ -8292,12 +8316,12 @@ var qo = Object.create, nl = Object.defineProperty, $o = Object.getOwnPropertyDe
8292
8316
  t.addUniqueNumber = m, t.generateUniqueNumber = o;
8293
8317
  });
8294
8318
  });
8295
- as(ts());
8319
+ ts(is());
8296
8320
  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 };
8297
- function is(e) {
8321
+ function ns(e) {
8298
8322
  Xe.setTimeout = e.setTimeout, Xe.clearTimeout = e.clearTimeout, Xe.setInterval = e.setInterval, Xe.clearInterval = e.clearInterval;
8299
8323
  }
8300
- var wa = {}, ns = class {
8324
+ var wa = {}, ls = class {
8301
8325
  name;
8302
8326
  closed = !1;
8303
8327
  mc = new MessageChannel();
@@ -8345,14 +8369,14 @@ var wa = {}, ns = class {
8345
8369
  dispatchEvent(e) {
8346
8370
  return this.mc.port1.dispatchEvent(e);
8347
8371
  }
8348
- }, ls = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : ns;
8349
- function rs(e = 0) {
8372
+ }, rs = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : ls;
8373
+ function os(e = 0) {
8350
8374
  return new Promise((n) => Xe.setTimeout(n, e));
8351
8375
  }
8352
8376
  function ll() {
8353
8377
  return Math.random().toString(36).substring(2);
8354
8378
  }
8355
- var os = class {
8379
+ var ss = class {
8356
8380
  options;
8357
8381
  channel;
8358
8382
  token = ll();
@@ -8376,7 +8400,7 @@ var os = class {
8376
8400
  };
8377
8401
  this.channel.addEventListener("message", n);
8378
8402
  try {
8379
- return this.sendAction(0), await rs(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8403
+ return this.sendAction(0), await os(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8380
8404
  } catch {
8381
8405
  return !1;
8382
8406
  }
@@ -8432,7 +8456,7 @@ var os = class {
8432
8456
  }
8433
8457
  }
8434
8458
  }
8435
- }, ss = class {
8459
+ }, ms = class {
8436
8460
  channel;
8437
8461
  options;
8438
8462
  elector;
@@ -8442,9 +8466,9 @@ var os = class {
8442
8466
  isLastActive = !1;
8443
8467
  constructor(e) {
8444
8468
  let { channelName: n } = e;
8445
- if (this.options = e, this.channel = new ls(n), this.registry.set(this.token, 1), e.leaderElection) {
8469
+ if (this.options = e, this.channel = new rs(n), this.registry.set(this.token, 1), e.leaderElection) {
8446
8470
  let t = { fallbackInterval: 2e3, responseTime: 100 };
8447
- this.elector = new os(this.channel, t), this.elector.waitForLeadership();
8471
+ this.elector = new ss(this.channel, t), this.elector.waitForLeadership();
8448
8472
  }
8449
8473
  this.channel.addEventListener("message", (t) => {
8450
8474
  let { action: l, token: p, data: g } = t.data;
@@ -8534,8 +8558,8 @@ var os = class {
8534
8558
  close() {
8535
8559
  this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
8536
8560
  }
8537
- }, ms = pa ? document : null, us = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8538
- function ps(e, n) {
8561
+ }, us = pa ? document : null, ps = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8562
+ function gs(e, n) {
8539
8563
  let t;
8540
8564
  function l(...p) {
8541
8565
  t && clearTimeout(t), t = setTimeout(() => {
@@ -8554,7 +8578,7 @@ function ri(e, n) {
8554
8578
  };
8555
8579
  }
8556
8580
  var Te = () => Date.now(), Fa = 2147483647;
8557
- function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: l = ms, events: p = us, timers: g = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
8581
+ function ds({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: l = us, events: p = ps, timers: g = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
8558
8582
  }, onPrompt: r = () => {
8559
8583
  }, onIdle: a = () => {
8560
8584
  }, onActive: i = () => {
@@ -8607,7 +8631,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8607
8631
  }, [m]);
8608
8632
  let fe = Oa(() => {
8609
8633
  let V = (De, ia) => ce.current(De, ia);
8610
- return u > 0 ? ps(V, u) : s > 0 ? ri(V, s) : V;
8634
+ return u > 0 ? gs(V, u) : s > 0 ? ri(V, s) : V;
8611
8635
  }, [s, u]), Ie = ee();
8612
8636
  ge(() => {
8613
8637
  U && v && (Ie.current = ri(() => {
@@ -8661,7 +8685,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8661
8685
  pa && Q.current && (M.current || V) && (K.current.forEach((De) => {
8662
8686
  Q.current.removeEventListener(De, ta.current, { capture: !0 });
8663
8687
  }), M.current = !1);
8664
- }, je = I((V) => ae.current ? !1 : (Ce(), xe(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.start(), Ge(), !0), [S, P, ae, L, x]), oa = I((V) => ae.current ? !1 : (Ce(), xe(), O.current = Te(), F.current += Te() - k.current, A.current += Te() - k.current, F.current = 0, P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.reset(), y || Ge(), !0), [S, P, L, y, ae, x]), ga = I((V) => ae.current ? !1 : (Ce(), xe(), (P.current || H.current) && ve(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, O.current = Te(), x.current && !V && x.current.activate(), Ge(), !0), [S, P, H, ae, L, x]), Ve = I((V = !1) => ae.current || B.current ? !1 : (R.current = ya(), B.current = !0, Re(), Ce(), x.current && !V && x.current.pause(), !0), [S, ae, x]), Ye = I((V = !1) => ae.current || !B.current ? !1 : (B.current = !1, H.current || xe(), P.current || Ge(R.current), w.current && (w.current = Te()), x.current && !V && x.current.resume(), !0), [S, L, ae, R, x]), za = I((V, De) => (x.current ? (De && ke.current(V, Se), x.current.message(V)) : De && ke.current(V, Se), !0), [m]), Da = I(() => P.current, [P]), Ea = I(() => H.current, [H]), Ia = I(() => x.current ? x.current.isLeader : null, [x]), Va = I(() => x.current ? x.current.isLastActive : null, [x]), da = I(() => x.current ? x.current.token : null, [x]), ya = I(() => {
8688
+ }, je = I((V) => ae.current ? !1 : (Ce(), xe(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.start(), Ge(), !0), [S, P, ae, L, x]), oa = I((V) => ae.current ? !1 : (Ce(), xe(), O.current = Te(), F.current += Te() - k.current, A.current += Te() - k.current, F.current = 0, P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.reset(), y || Ge(), !0), [S, P, L, y, ae, x]), ga = I((V) => ae.current ? !1 : (Ce(), xe(), (P.current || H.current) && ve(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, O.current = Te(), x.current && !V && x.current.activate(), Ge(), !0), [S, P, H, ae, L, x]), Ve = I((V = !1) => ae.current || B.current ? !1 : (R.current = ya(), B.current = !0, Re(), Ce(), x.current && !V && x.current.pause(), !0), [S, ae, x]), Ye = I((V = !1) => ae.current || !B.current ? !1 : (B.current = !1, H.current || xe(), P.current || Ge(R.current), w.current && (w.current = Te()), x.current && !V && x.current.resume(), !0), [S, L, ae, R, x]), Ia = I((V, De) => (x.current ? (De && ke.current(V, Se), x.current.message(V)) : De && ke.current(V, Se), !0), [m]), Da = I(() => P.current, [P]), Ea = I(() => H.current, [H]), Va = I(() => x.current ? x.current.isLeader : null, [x]), Ja = I(() => x.current ? x.current.isLastActive : null, [x]), da = I(() => x.current ? x.current.token : null, [x]), ya = I(() => {
8665
8689
  if (B.current) return R.current;
8666
8690
  let V = R.current ? R.current : N.current + L.current, De = h.current ? Te() - h.current : 0, ia = Math.floor(V - De);
8667
8691
  return ia < 0 ? 0 : Math.abs(ia);
@@ -8674,7 +8698,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8674
8698
  }, [k, F]);
8675
8699
  ge(() => {
8676
8700
  if (u > 0 && s > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
8677
- g && is(g);
8701
+ g && ns(g);
8678
8702
  let V = () => {
8679
8703
  x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Re(!0);
8680
8704
  };
@@ -8682,7 +8706,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8682
8706
  pa && window.removeEventListener("beforeunload", V), x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Re(!0);
8683
8707
  };
8684
8708
  }, []), ge(() => {
8685
- x.current && x.current.close(), U ? x.current = new ss({ channelName: C, leaderElection: D, onPrompt: () => {
8709
+ x.current && x.current.close(), U ? x.current = new ms({ channelName: C, leaderElection: D, onPrompt: () => {
8686
8710
  ea();
8687
8711
  }, onIdle: () => {
8688
8712
  Me();
@@ -8702,7 +8726,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8702
8726
  }, [l, JSON.stringify(p), JSON.stringify(b), W, E, y, f]), ge(() => {
8703
8727
  W.current && (W.current = !1);
8704
8728
  }, [W]);
8705
- let Se = { message: za, start: je, reset: oa, activate: ga, pause: Ve, resume: Ye, isIdle: Da, isPrompted: Ea, isLeader: Ia, isLastActiveTab: Va, getTabId: da, getRemainingTime: ya, getElapsedTime: Ke, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Na, getIdleTime: La, getTotalIdleTime: Ua, getActiveTime: Ga, getTotalActiveTime: Ma, setOnPresenceChange: (V) => {
8729
+ let Se = { message: Ia, start: je, reset: oa, activate: ga, pause: Ve, resume: Ye, isIdle: Da, isPrompted: Ea, isLeader: Va, isLastActiveTab: Ja, getTabId: da, getRemainingTime: ya, getElapsedTime: Ke, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Na, getIdleTime: La, getTotalIdleTime: Ua, getActiveTime: Ga, getTotalActiveTime: Ma, setOnPresenceChange: (V) => {
8706
8730
  d = V, ie.current = V;
8707
8731
  }, setOnPrompt: (V) => {
8708
8732
  r = V, ye.current = V;
@@ -8717,16 +8741,16 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8717
8741
  } };
8718
8742
  return Se;
8719
8743
  }
8720
- var ds = qt(null);
8721
- ds.Consumer;
8722
- const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8744
+ var cs = qt(null);
8745
+ cs.Consumer;
8746
+ const jm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => ds({
8723
8747
  onIdle: e,
8724
8748
  onActive: n,
8725
8749
  onAction: t,
8726
8750
  timeout: l,
8727
8751
  throttle: 500
8728
- }), cs = ({ options: e } = {}) => {
8729
- const { commonInboxApi: n } = Ha(), { getToken: t, lng: l } = se(), p = t?.(), g = Qe(l);
8752
+ }), fs = ({ options: e } = {}) => {
8753
+ const { commonInboxApi: n } = Wa(), { getToken: t, lng: l } = se(), p = t?.(), g = Qe(l);
8730
8754
  return j({
8731
8755
  queryKey: ["inboxList"],
8732
8756
  queryFn: async () => await n(),
@@ -8746,20 +8770,20 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8746
8770
  enabled: !!p,
8747
8771
  ...e
8748
8772
  });
8749
- }, fs = ({ options: e } = {}) => {
8750
- const { commonReadInboxApi: n } = Ha();
8773
+ }, _s = ({ options: e } = {}) => {
8774
+ const { commonReadInboxApi: n } = Wa();
8751
8775
  return le({
8752
8776
  mutationKey: ["readInbox"],
8753
8777
  mutationFn: async (t) => await n(t),
8754
8778
  ...e
8755
8779
  });
8756
- }, jm = ({
8780
+ }, Ym = ({
8757
8781
  options: e = {
8758
8782
  inboxList: {},
8759
8783
  readInbox: {}
8760
8784
  }
8761
8785
  } = {}) => {
8762
- const n = cs({ options: e.inboxList }), t = fs({ options: e.readInbox });
8786
+ const n = fs({ options: e.inboxList }), t = _s({ options: e.readInbox });
8763
8787
  return {
8764
8788
  inboxListQuery: n,
8765
8789
  readInboxMutation: t
@@ -8774,7 +8798,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8774
8798
  [e]
8775
8799
  )
8776
8800
  };
8777
- }, _s = ({
8801
+ }, ys = ({
8778
8802
  typeConfig: e = {
8779
8803
  all: {},
8780
8804
  crypto: {},
@@ -8820,7 +8844,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8820
8844
  value: "other",
8821
8845
  ...e.other
8822
8846
  }
8823
- ], Ym = ({ options: e, formData: n } = {}) => {
8847
+ ], Xm = ({ options: e, formData: n } = {}) => {
8824
8848
  const { lng: t } = se(), { newsListApi: l } = rl(), p = Qe(t);
8825
8849
  return j({
8826
8850
  queryKey: ["newsList"],
@@ -8841,12 +8865,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8841
8865
  return {
8842
8866
  ...g.data,
8843
8867
  data: r,
8844
- blogType: _s({ typeConfig: e?.typeConfig })
8868
+ blogType: ys({ typeConfig: e?.typeConfig })
8845
8869
  };
8846
8870
  },
8847
8871
  ...e
8848
8872
  });
8849
- }, Xm = ({ options: e, formData: n } = {}) => {
8873
+ }, eu = ({ options: e, formData: n } = {}) => {
8850
8874
  const { lng: t } = se(), { newsListApi: l } = rl(), p = Qe(t);
8851
8875
  return j({
8852
8876
  queryKey: ["newsList"],
@@ -9035,14 +9059,14 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9035
9059
  transactionRecordApi: m,
9036
9060
  treasureRecordApi: u
9037
9061
  };
9038
- }, ys = ({ options: e } = {}) => {
9062
+ }, Us = ({ options: e } = {}) => {
9039
9063
  const { depositApiV1: n } = Ae();
9040
9064
  return j({
9041
9065
  queryKey: ["depositV1"],
9042
9066
  queryFn: n,
9043
9067
  ...e
9044
9068
  });
9045
- }, Us = ({ paramsData: e, options: n } = {}) => {
9069
+ }, bs = ({ paramsData: e, options: n } = {}) => {
9046
9070
  const { depositApiV2: t } = Ae();
9047
9071
  return j({
9048
9072
  queryKey: ["depositV2", e],
@@ -9067,105 +9091,105 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9067
9091
  },
9068
9092
  ...n
9069
9093
  });
9070
- }, bs = ({ options: e } = {}) => {
9094
+ }, Cs = ({ options: e } = {}) => {
9071
9095
  const { depositApi: n } = Ae();
9072
9096
  return le({
9073
9097
  mutationKey: ["depositAction"],
9074
9098
  mutationFn: async (t) => n(t),
9075
9099
  ...e
9076
9100
  });
9077
- }, Cs = ({ options: e } = {}) => {
9101
+ }, vs = ({ options: e } = {}) => {
9078
9102
  const { withdrawApi: n } = Ae();
9079
9103
  return le({
9080
9104
  mutationKey: ["withdrawAction"],
9081
9105
  mutationFn: async (t) => n(t),
9082
9106
  ...e
9083
9107
  });
9084
- }, vs = ({ paramsData: e, options: n } = {}) => {
9108
+ }, hs = ({ paramsData: e, options: n } = {}) => {
9085
9109
  const { depositTransactionApi: t } = Ae();
9086
9110
  return j({
9087
9111
  queryKey: ["depositTransaction", e],
9088
9112
  queryFn: () => t({ paramsData: e }),
9089
9113
  ...n
9090
9114
  });
9091
- }, hs = ({ paramsData: e, options: n } = {}) => {
9115
+ }, Ts = ({ paramsData: e, options: n } = {}) => {
9092
9116
  const { eventTransactionApi: t } = Ae();
9093
9117
  return j({
9094
9118
  queryKey: ["eventTransaction", e],
9095
9119
  queryFn: () => t({ paramsData: e }),
9096
9120
  ...n
9097
9121
  });
9098
- }, Ts = ({ options: e } = {}) => {
9122
+ }, ks = ({ options: e } = {}) => {
9099
9123
  const { bankDepositApi: n } = Ae();
9100
9124
  return le({
9101
9125
  mutationKey: ["bankDeposit"],
9102
9126
  mutationFn: async (t) => n(t),
9103
9127
  ...e
9104
9128
  });
9105
- }, ks = ({ paramsData: e, options: n } = {}) => {
9129
+ }, xs = ({ paramsData: e, options: n } = {}) => {
9106
9130
  const { withdrawTransactionApi: t } = Ae();
9107
9131
  return j({
9108
9132
  queryKey: ["withdrawTransaction", e],
9109
9133
  queryFn: () => t({ paramsData: e }),
9110
9134
  ...n
9111
9135
  });
9112
- }, eu = ({ options: e } = {}) => {
9136
+ }, au = ({ options: e } = {}) => {
9113
9137
  const { redeemCodeDepositApi: n } = Ae();
9114
9138
  return le({
9115
9139
  mutationKey: ["redeemCodeDeposit"],
9116
9140
  mutationFn: async (t) => n(t),
9117
9141
  ...e
9118
9142
  });
9119
- }, au = ({ options: e } = {}) => {
9143
+ }, tu = ({ options: e } = {}) => {
9120
9144
  const { invoiceApi: n } = Ae();
9121
9145
  return le({
9122
9146
  mutationKey: ["invoiceAction"],
9123
9147
  mutationFn: async (t) => n(t),
9124
9148
  ...e
9125
9149
  });
9126
- }, tu = ({ options: e } = {}) => {
9150
+ }, iu = ({ options: e } = {}) => {
9127
9151
  const { updateInvoiceApi: n } = Ae();
9128
9152
  return le({
9129
9153
  mutationKey: ["updateInvoiceAction"],
9130
9154
  mutationFn: async (t) => n(t),
9131
9155
  ...e
9132
9156
  });
9133
- }, iu = ({ options: e, paramsData: n } = {}) => {
9157
+ }, nu = ({ options: e, paramsData: n } = {}) => {
9134
9158
  const { transactionRecordApi: t } = Ae();
9135
9159
  return j({
9136
9160
  queryKey: ["transactionRecord", "deposit"],
9137
9161
  queryFn: () => t(n, "deposit"),
9138
9162
  ...e
9139
9163
  });
9140
- }, nu = ({ options: e, paramsData: n } = {}) => {
9164
+ }, lu = ({ options: e, paramsData: n } = {}) => {
9141
9165
  const { transactionRecordApi: t } = Ae();
9142
9166
  return j({
9143
9167
  queryKey: ["transactionRecord", "withdraw"],
9144
9168
  queryFn: () => t(n, "withdraw"),
9145
9169
  ...e
9146
9170
  });
9147
- }, lu = ({ options: e, paramsData: n } = {}) => {
9171
+ }, ru = ({ options: e, paramsData: n } = {}) => {
9148
9172
  const { transactionRecordApi: t } = Ae();
9149
9173
  return j({
9150
9174
  queryKey: ["transactionRecord", "event"],
9151
9175
  queryFn: () => t(n, "event"),
9152
9176
  ...e
9153
9177
  });
9154
- }, ru = ({ options: e, paramsData: n } = {}) => {
9178
+ }, ou = ({ options: e, paramsData: n } = {}) => {
9155
9179
  const { transactionRecordApi: t } = Ae();
9156
9180
  return j({
9157
9181
  queryKey: ["transactionRecord", "rebate"],
9158
9182
  queryFn: () => t(n, "rebate"),
9159
9183
  ...e
9160
9184
  });
9161
- }, ou = ({ options: e, paramsData: n } = {}) => {
9185
+ }, su = ({ options: e, paramsData: n } = {}) => {
9162
9186
  const { treasureRecordApi: t } = Ae();
9163
9187
  return j({
9164
9188
  queryKey: ["treasureRecord", n],
9165
9189
  queryFn: () => t(n),
9166
9190
  ...e
9167
9191
  });
9168
- }, su = ({
9192
+ }, mu = ({
9169
9193
  depositV1: e = {},
9170
9194
  depositV2: n = {},
9171
9195
  depositTransaction: t = {},
@@ -9175,7 +9199,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9175
9199
  eventTransaction: b = {},
9176
9200
  withdrawTransaction: d = {}
9177
9201
  } = {}) => {
9178
- const r = ys(e), a = Us(n), i = vs(t), o = bs(l), m = Cs(p), u = Ts(g), s = hs(b), c = ks(
9202
+ const r = Us(e), a = bs(n), i = hs(t), o = Cs(l), m = vs(p), u = ks(g), s = Ts(b), c = xs(
9179
9203
  d
9180
9204
  );
9181
9205
  return {
@@ -9188,24 +9212,24 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9188
9212
  eventTransaction: s,
9189
9213
  withdrawTransaction: c
9190
9214
  };
9191
- }, ol = "3.7.8", xs = ol, Wa = typeof Buffer == "function", Mn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Rn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ss = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Qa = Array.prototype.slice.call(Ss), rt = ((e) => {
9215
+ }, ol = "3.7.8", Ss = ol, za = typeof Buffer == "function", Mn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Rn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ds = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", ja = Array.prototype.slice.call(Ds), rt = ((e) => {
9192
9216
  let n = {};
9193
9217
  return e.forEach((t, l) => n[t] = l), n;
9194
- })(Qa), Ds = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Pn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ml = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ul = (e) => {
9218
+ })(ja), Es = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Pn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ml = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ul = (e) => {
9195
9219
  let n, t, l, p, g = "";
9196
9220
  const b = e.length % 3;
9197
9221
  for (let d = 0; d < e.length; ) {
9198
9222
  if ((t = e.charCodeAt(d++)) > 255 || (l = e.charCodeAt(d++)) > 255 || (p = e.charCodeAt(d++)) > 255)
9199
9223
  throw new TypeError("invalid character found");
9200
- n = t << 16 | l << 8 | p, g += Qa[n >> 18 & 63] + Qa[n >> 12 & 63] + Qa[n >> 6 & 63] + Qa[n & 63];
9224
+ n = t << 16 | l << 8 | p, g += ja[n >> 18 & 63] + ja[n >> 12 & 63] + ja[n >> 6 & 63] + ja[n & 63];
9201
9225
  }
9202
9226
  return b ? g.slice(0, b - 3) + "===".substring(b) : g;
9203
- }, xi = typeof btoa == "function" ? (e) => btoa(e) : Wa ? (e) => Buffer.from(e, "binary").toString("base64") : ul, ui = Wa ? (e) => Buffer.from(e).toString("base64") : (e) => {
9227
+ }, xi = typeof btoa == "function" ? (e) => btoa(e) : za ? (e) => Buffer.from(e, "binary").toString("base64") : ul, ui = za ? (e) => Buffer.from(e).toString("base64") : (e) => {
9204
9228
  let t = [];
9205
9229
  for (let l = 0, p = e.length; l < p; l += 4096)
9206
9230
  t.push(Le.apply(null, e.subarray(l, l + 4096)));
9207
9231
  return xi(t.join(""));
9208
- }, Jt = (e, n = !1) => n ? sl(ui(e)) : ui(e), Es = (e) => {
9232
+ }, Jt = (e, n = !1) => n ? sl(ui(e)) : ui(e), Ns = (e) => {
9209
9233
  if (e.length < 2) {
9210
9234
  var n = e.charCodeAt(0);
9211
9235
  return n < 128 ? e : n < 2048 ? Le(192 | n >>> 6) + Le(128 | n & 63) : Le(224 | n >>> 12 & 15) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
@@ -9213,7 +9237,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9213
9237
  var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
9214
9238
  return Le(240 | n >>> 18 & 7) + Le(128 | n >>> 12 & 63) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
9215
9239
  }
9216
- }, Ns = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, pl = (e) => e.replace(Ns, Es), wn = Wa ? (e) => Buffer.from(e, "utf8").toString("base64") : Rn ? (e) => ui(Rn.encode(e)) : (e) => xi(pl(e)), Ba = (e, n = !1) => n ? sl(wn(e)) : wn(e), Fn = (e) => Ba(e, !0), Ls = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Gs = (e) => {
9240
+ }, Ls = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, pl = (e) => e.replace(Ls, Ns), wn = za ? (e) => Buffer.from(e, "utf8").toString("base64") : Rn ? (e) => ui(Rn.encode(e)) : (e) => xi(pl(e)), Ha = (e, n = !1) => n ? sl(wn(e)) : wn(e), Fn = (e) => Ha(e, !0), Gs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Ms = (e) => {
9217
9241
  switch (e.length) {
9218
9242
  case 4:
9219
9243
  var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), t = n - 65536;
@@ -9223,15 +9247,15 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9223
9247
  default:
9224
9248
  return Le((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
9225
9249
  }
9226
- }, gl = (e) => e.replace(Ls, Gs), dl = (e) => {
9227
- if (e = e.replace(/\s+/g, ""), !Ds.test(e))
9250
+ }, gl = (e) => e.replace(Gs, Ms), dl = (e) => {
9251
+ if (e = e.replace(/\s+/g, ""), !Es.test(e))
9228
9252
  throw new TypeError("malformed base64.");
9229
9253
  e += "==".slice(2 - (e.length & 3));
9230
9254
  let n, t, l, p = [];
9231
9255
  for (let g = 0; g < e.length; )
9232
9256
  n = rt[e.charAt(g++)] << 18 | rt[e.charAt(g++)] << 12 | (t = rt[e.charAt(g++)]) << 6 | (l = rt[e.charAt(g++)]), t === 64 ? p.push(Le(n >> 16 & 255)) : l === 64 ? p.push(Le(n >> 16 & 255, n >> 8 & 255)) : p.push(Le(n >> 16 & 255, n >> 8 & 255, n & 255));
9233
9257
  return p.join("");
9234
- }, Si = typeof atob == "function" ? (e) => atob(ml(e)) : Wa ? (e) => Buffer.from(e, "base64").toString("binary") : dl, cl = Wa ? (e) => Pn(Buffer.from(e, "base64")) : (e) => Pn(Si(e).split("").map((n) => n.charCodeAt(0))), fl = (e) => cl(_l(e)), Ms = Wa ? (e) => Buffer.from(e, "base64").toString("utf8") : Mn ? (e) => Mn.decode(cl(e)) : (e) => gl(Si(e)), _l = (e) => ml(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), pi = (e) => Ms(_l(e)), Rs = (e) => {
9258
+ }, Si = typeof atob == "function" ? (e) => atob(ml(e)) : za ? (e) => Buffer.from(e, "base64").toString("binary") : dl, cl = za ? (e) => Pn(Buffer.from(e, "base64")) : (e) => Pn(Si(e).split("").map((n) => n.charCodeAt(0))), fl = (e) => cl(_l(e)), Rs = za ? (e) => Buffer.from(e, "base64").toString("utf8") : Mn ? (e) => Mn.decode(cl(e)) : (e) => gl(Si(e)), _l = (e) => ml(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), pi = (e) => Rs(_l(e)), Ps = (e) => {
9235
9259
  if (typeof e != "string")
9236
9260
  return !1;
9237
9261
  const n = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
@@ -9246,11 +9270,11 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9246
9270
  e("fromBase64", function() {
9247
9271
  return pi(this);
9248
9272
  }), e("toBase64", function(n) {
9249
- return Ba(this, n);
9273
+ return Ha(this, n);
9250
9274
  }), e("toBase64URI", function() {
9251
- return Ba(this, !0);
9275
+ return Ha(this, !0);
9252
9276
  }), e("toBase64URL", function() {
9253
- return Ba(this, !0);
9277
+ return Ha(this, !0);
9254
9278
  }), e("toUint8Array", function() {
9255
9279
  return fl(this);
9256
9280
  });
@@ -9263,30 +9287,30 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9263
9287
  }), e("toBase64URL", function() {
9264
9288
  return Jt(this, !0);
9265
9289
  });
9266
- }, Ps = () => {
9290
+ }, ws = () => {
9267
9291
  Ul(), bl();
9268
- }, ws = {
9292
+ }, Fs = {
9269
9293
  version: ol,
9270
- VERSION: xs,
9294
+ VERSION: Ss,
9271
9295
  atob: Si,
9272
9296
  atobPolyfill: dl,
9273
9297
  btoa: xi,
9274
9298
  btoaPolyfill: ul,
9275
9299
  fromBase64: pi,
9276
- toBase64: Ba,
9277
- encode: Ba,
9300
+ toBase64: Ha,
9301
+ encode: Ha,
9278
9302
  encodeURI: Fn,
9279
9303
  encodeURL: Fn,
9280
9304
  utob: pl,
9281
9305
  btou: gl,
9282
9306
  decode: pi,
9283
- isValid: Rs,
9307
+ isValid: Ps,
9284
9308
  fromUint8Array: Jt,
9285
9309
  toUint8Array: fl,
9286
9310
  extendString: Ul,
9287
9311
  extendUint8Array: bl,
9288
- extendBuiltins: Ps
9289
- }, mu = (e, n) => {
9312
+ extendBuiltins: ws
9313
+ }, uu = (e, n) => {
9290
9314
  const { playGameApi: t } = bi();
9291
9315
  return j({
9292
9316
  queryKey: ["playGame"],
@@ -9313,7 +9337,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9313
9337
  supportPortrait: m,
9314
9338
  isHtmlCode: s,
9315
9339
  gameUrl: u,
9316
- decodeGameUrl: ws.decode(u),
9340
+ decodeGameUrl: Fs.decode(u),
9317
9341
  message: c
9318
9342
  };
9319
9343
  },
@@ -9326,7 +9350,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9326
9350
  currentRebateApi: n,
9327
9351
  receiveRebateApi: t
9328
9352
  };
9329
- }, Fs = ({ options: e } = {}) => {
9353
+ }, As = ({ options: e } = {}) => {
9330
9354
  const { currentRebateApi: n } = Cl();
9331
9355
  return j({
9332
9356
  queryKey: ["currentRebate"],
@@ -9334,20 +9358,20 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9334
9358
  select: (t) => zl(t, ["code", "status"]),
9335
9359
  ...e
9336
9360
  });
9337
- }, As = ({ options: e } = {}) => {
9361
+ }, Os = ({ options: e } = {}) => {
9338
9362
  const { receiveRebateApi: n } = Cl();
9339
9363
  return le({
9340
9364
  mutationKey: ["receiveRebate"],
9341
9365
  mutationFn: async () => n(),
9342
9366
  ...e
9343
9367
  });
9344
- }, uu = ({
9368
+ }, pu = ({
9345
9369
  options: e = {
9346
9370
  currentRebate: {},
9347
9371
  receiveRebate: {}
9348
9372
  }
9349
9373
  } = {}) => {
9350
- const n = Fs({ options: e.currentRebate }), t = As({ options: e.receiveRebate });
9374
+ const n = As({ options: e.currentRebate }), t = Os({ options: e.receiveRebate });
9351
9375
  return {
9352
9376
  currentRebate: n,
9353
9377
  receiveRebate: t
@@ -9371,7 +9395,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9371
9395
  redeemRewardApi: p,
9372
9396
  historyRewardApi: g
9373
9397
  };
9374
- }, Os = ({ options: e, formData: n } = {}) => {
9398
+ }, Bs = ({ options: e, formData: n } = {}) => {
9375
9399
  const { rewardListApi: t } = Xa();
9376
9400
  return j({
9377
9401
  queryKey: ["rewardsList"],
@@ -9411,35 +9435,35 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9411
9435
  },
9412
9436
  ...e
9413
9437
  });
9414
- }, Bs = ({ options: e } = {}) => {
9438
+ }, Hs = ({ options: e } = {}) => {
9415
9439
  const { redeemRewardApi: n } = Xa();
9416
9440
  return le({
9417
9441
  mutationKey: ["redeemReward"],
9418
9442
  mutationFn: async (t) => await n(t),
9419
9443
  ...e
9420
9444
  });
9421
- }, Hs = ({ options: e } = {}) => {
9445
+ }, Ws = ({ options: e } = {}) => {
9422
9446
  const { unUsedRewardListApi: n } = Xa();
9423
9447
  return j({
9424
9448
  queryKey: ["unUsedRewardsList"],
9425
9449
  queryFn: n,
9426
9450
  ...e
9427
9451
  });
9428
- }, Ws = ({ options: e } = {}) => {
9452
+ }, zs = ({ options: e } = {}) => {
9429
9453
  const { expiredRewardListApi: n } = Xa();
9430
9454
  return j({
9431
9455
  queryKey: ["expiredRewardsList"],
9432
9456
  queryFn: n,
9433
9457
  ...e
9434
9458
  });
9435
- }, zs = ({ options: e } = {}) => {
9459
+ }, Is = ({ options: e } = {}) => {
9436
9460
  const { historyRewardApi: n } = Xa();
9437
9461
  return j({
9438
9462
  queryKey: ["historyRewardsList"],
9439
9463
  queryFn: n,
9440
9464
  ...e
9441
9465
  });
9442
- }, pu = ({
9466
+ }, gu = ({
9443
9467
  options: e = {
9444
9468
  rewardsList: {},
9445
9469
  redeemReward: {},
@@ -9448,13 +9472,13 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9448
9472
  historyRewardsList: {}
9449
9473
  }
9450
9474
  } = {}) => {
9451
- const n = Os({ options: e.rewardsList }), t = Bs({
9475
+ const n = Bs({ options: e.rewardsList }), t = Hs({
9452
9476
  options: e.redeemReward
9453
- }), l = Hs({
9477
+ }), l = Ws({
9454
9478
  options: e.unUsedRewardsList
9455
- }), p = Ws({
9479
+ }), p = zs({
9456
9480
  options: e.expiredRewardsList
9457
- }), g = zs({
9481
+ }), g = Is({
9458
9482
  options: e.historyRewardsList
9459
9483
  });
9460
9484
  return {
@@ -9499,7 +9523,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9499
9523
  treasureListApi: n,
9500
9524
  redeemTreasureApi: t
9501
9525
  };
9502
- }, gu = ({ paramsData: e, options: n } = {}) => {
9526
+ }, du = ({ paramsData: e, options: n } = {}) => {
9503
9527
  const { client: t, lng: l } = se(), p = Qe(l || "tw"), { treasureListApi: g } = vl();
9504
9528
  return j({
9505
9529
  queryKey: ["treasureList", e],
@@ -9527,7 +9551,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9527
9551
  },
9528
9552
  ...n
9529
9553
  });
9530
- }, du = ({ options: e } = {}) => {
9554
+ }, cu = ({ options: e } = {}) => {
9531
9555
  const { redeemTreasureApi: n } = vl();
9532
9556
  return le({
9533
9557
  mutationKey: ["redeemTreasure"],
@@ -9540,7 +9564,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9540
9564
  vipListApi: n,
9541
9565
  vipInfoApi: t
9542
9566
  };
9543
- }, cu = ({ options: e } = {}) => {
9567
+ }, fu = ({ options: e } = {}) => {
9544
9568
  const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: l } = hl();
9545
9569
  return j({
9546
9570
  queryKey: ["vipInfo"],
@@ -9555,7 +9579,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9555
9579
  },
9556
9580
  ...e
9557
9581
  });
9558
- }, Is = ({ options: e } = {}) => {
9582
+ }, Vs = ({ options: e } = {}) => {
9559
9583
  const { store: n } = se(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: l } = hl();
9560
9584
  return j({
9561
9585
  queryKey: ["vipList"],
@@ -9592,10 +9616,10 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9592
9616
  },
9593
9617
  ...e
9594
9618
  });
9595
- }, fu = ({ options: e } = {
9619
+ }, _u = ({ options: e } = {
9596
9620
  vipList: {}
9597
9621
  }) => ({
9598
- vipList: Is({ options: e.vipList })
9622
+ vipList: Vs({ options: e.vipList })
9599
9623
  }), An = (e) => {
9600
9624
  switch (e) {
9601
9625
  case "tw":
@@ -9615,7 +9639,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9615
9639
  default:
9616
9640
  return "En";
9617
9641
  }
9618
- }, ot = "game-icon-ds88", _u = ({ gameData: e = {} } = {}) => {
9642
+ }, ot = "game-icon-ds88", yu = ({ gameData: e = {} } = {}) => {
9619
9643
  const { lng: n } = se(), t = An(n), {
9620
9644
  gameCode: l,
9621
9645
  // 遊戲代碼
@@ -9688,7 +9712,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9688
9712
  isInvalidBet: y,
9689
9713
  haveJackpot: _
9690
9714
  };
9691
- }, Vs = (e, n = !1) => Il([
9715
+ }, Js = (e, n = !1) => Il([
9692
9716
  "EVO",
9693
9717
  "IMSPRIBE",
9694
9718
  "SABA",
@@ -9699,7 +9723,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9699
9723
  "HACK",
9700
9724
  "NAGA",
9701
9725
  "RSG"
9702
- ], e) && n ? `${e}_dark` : e, yu = ({ platformData: e, darkMode: n } = {}) => {
9726
+ ], e) && n ? `${e}_dark` : e, Uu = ({ platformData: e, darkMode: n } = {}) => {
9703
9727
  const {
9704
9728
  SubPlatformEnum: t,
9705
9729
  // 子平台枚舉
@@ -9721,7 +9745,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9721
9745
  // 臨時維護開始時間
9722
9746
  temp_maintenance_end_time: o
9723
9747
  // 臨時維護結束時間
9724
- } = e || {}, m = `${Ze}/${qn}/${Vs(l, n)}.png`;
9748
+ } = e || {}, m = `${Ze}/${qn}/${Js(l, n)}.png`;
9725
9749
  return {
9726
9750
  subPlatformEnum: t,
9727
9751
  platformEnum: l,
@@ -9735,19 +9759,19 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9735
9759
  tempMaintenanceEndTime: o,
9736
9760
  platformImageUrl: m
9737
9761
  };
9738
- }, Js = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), On = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), Zs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), Ks = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), qs = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), $s = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((t, l) => {
9762
+ }, Zs = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), On = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), Ks = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), qs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), $s = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), Qs = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((t, l) => {
9739
9763
  const p = n.map((g) => g.game_subtype);
9740
9764
  return p.forEach((g) => {
9741
9765
  t[g] = t[g] || [];
9742
9766
  }), p.includes(l.game_subtype) && t[l.game_subtype].push(l), t;
9743
- }, {}), Qs = ({
9767
+ }, {}), js = ({
9744
9768
  gameTypes: e = [],
9745
9769
  platforms: n = [],
9746
9770
  gameList: t = {},
9747
9771
  allGameTypes: l = [],
9748
9772
  allPlatforms: p = []
9749
9773
  }) => !la(e) || !la(n) ? {} : Ee(t) ? {} : e.reduce((g, b) => {
9750
- const d = Yl({
9774
+ const d = Xl({
9751
9775
  gameTypeName: b,
9752
9776
  platforms: n,
9753
9777
  gameList: t,
@@ -9755,7 +9779,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9755
9779
  allPlatforms: p
9756
9780
  });
9757
9781
  return Ee(d) || (g[b] = d), g;
9758
- }, {}), Uu = ({
9782
+ }, {}), bu = ({
9759
9783
  types: e = [],
9760
9784
  platforms: n = [],
9761
9785
  allGameType: t = [],
@@ -9765,7 +9789,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9765
9789
  const d = Qn(t, b);
9766
9790
  if (!d) return g;
9767
9791
  const r = p[d] || [], a = n.reduce((i, o) => {
9768
- const m = Xl({
9792
+ const m = er({
9769
9793
  platformName: o,
9770
9794
  gamesOfType: r,
9771
9795
  allPlatforms: l
@@ -9773,9 +9797,9 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9773
9797
  return Ee(m) ? i : { ...i, [o]: m };
9774
9798
  }, {});
9775
9799
  return Ee(a) || (g[b] = a), g;
9776
- }, {}), js = (e = {}) => !$t(e) || Ee(e) ? {} : Object.values(e).reduce((t, l) => (Object.entries(l).forEach(([p, g]) => {
9800
+ }, {}), Ys = (e = {}) => !$t(e) || Ee(e) ? {} : Object.values(e).reduce((t, l) => (Object.entries(l).forEach(([p, g]) => {
9777
9801
  t[p] ? t[p] = [...t[p], ...g] : t[p] = g;
9778
- }), t), {}), Ys = (e = {}) => {
9802
+ }), t), {}), Xs = (e = {}) => {
9779
9803
  if (!$t(e) || Ee(e)) return {};
9780
9804
  const n = {};
9781
9805
  for (const [t, l] of Object.entries(e)) {
@@ -9786,7 +9810,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9786
9810
  }
9787
9811
  }
9788
9812
  return n;
9789
- }, Xs = ({
9813
+ }, em = ({
9790
9814
  allGameList: e = {},
9791
9815
  allGamePlatform: n = [],
9792
9816
  allGameType: t = [],
@@ -9799,7 +9823,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9799
9823
  highlightGames: a = [],
9800
9824
  originPlatform: i = []
9801
9825
  }) => {
9802
- const o = Js(e), m = On(n), u = Zs(t), s = Ks(l), c = On(i), f = qs(d), y = Qs({
9826
+ const o = Zs(e), m = On(n), u = Ks(t), s = qs(l), c = On(i), f = $s(d), y = js({
9803
9827
  gameTypes: u,
9804
9828
  platforms: m,
9805
9829
  gameList: e,
@@ -9811,7 +9835,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9811
9835
  ...G,
9812
9836
  platformImageUrl: O
9813
9837
  };
9814
- }), U = $s(o, l), C = js(y), v = Ys(C), D = zn(y).reduce(
9838
+ }), U = Qs(o, l), C = Ys(y), v = Xs(C), D = zn(y).reduce(
9815
9839
  (G, [O, k]) => {
9816
9840
  const h = Qt(Vl(k));
9817
9841
  return G[O] = h, G;
@@ -9854,12 +9878,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9854
9878
  favorite: f
9855
9879
  }
9856
9880
  };
9857
- }, bu = (e = []) => !la(e) || Ee(e) ? [] : Qt(e, (n) => Ee(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
9881
+ }, Cu = (e = []) => !la(e) || Ee(e) ? [] : Qt(e, (n) => Ee(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
9858
9882
  ...n,
9859
9883
  ...t,
9860
9884
  platform: t.SubPlatformEnum,
9861
9885
  platformEnum: t.SubPlatformEnum
9862
- }))), em = {
9886
+ }))), am = {
9863
9887
  platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
9864
9888
  type: { main: [], sub: [], originMain: [], originSub: [] },
9865
9889
  gameList: {
@@ -9879,7 +9903,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9879
9903
  byGameType: {}
9880
9904
  },
9881
9905
  user: { favorite: [] }
9882
- }, am = ({ enabled: e = !0 } = {}) => {
9906
+ }, tm = ({ enabled: e = !0 } = {}) => {
9883
9907
  const { getToken: n } = se(), { userFavoriteGameApi: t, userGameListApi: l } = oe(), { data: p, isLoading: g, error: b, refetch: d } = j({
9884
9908
  queryKey: ["gamesInfo"],
9885
9909
  queryFn: async () => {
@@ -9889,7 +9913,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9889
9913
  } catch (i) {
9890
9914
  console.warn("Failed to fetch favorite games:", i);
9891
9915
  }
9892
- return Xs({
9916
+ return em({
9893
9917
  allGameList: a.gameTypeGroup || window.gameTypeGroup || {},
9894
9918
  allGamePlatform: a.platforms || window.platforms || [],
9895
9919
  allGameType: a.gameType || window.gameType || [],
@@ -9912,12 +9936,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9912
9936
  refetchOnWindowFocus: !1
9913
9937
  });
9914
9938
  return {
9915
- gamesInfo: p || em,
9939
+ gamesInfo: p || am,
9916
9940
  isLoading: g,
9917
9941
  error: b,
9918
9942
  refetch: d
9919
9943
  };
9920
- }, tm = (e = !1) => {
9944
+ }, im = (e = !1) => {
9921
9945
  if (!e && window.gameTypeGroup) {
9922
9946
  console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
9923
9947
  return;
@@ -36444,18 +36468,18 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
36444
36468
  is_invalid_bet: 0
36445
36469
  }
36446
36470
  });
36447
- }, im = ({
36471
+ }, nm = ({
36448
36472
  children: e,
36449
36473
  autoFetch: n = !1,
36450
36474
  mockData: t = !1
36451
36475
  }) => {
36452
36476
  ge(() => {
36453
- t && tm(!0);
36477
+ t && im(!0);
36454
36478
  }, [t]);
36455
- const l = am({ enabled: n });
36479
+ const l = tm({ enabled: n });
36456
36480
  return /* @__PURE__ */ Fe.jsx($n.Provider, { value: l, children: e });
36457
36481
  };
36458
- function Cu({
36482
+ function vu({
36459
36483
  children: e,
36460
36484
  autoFetchGamesInfo: n = !1,
36461
36485
  useMockData: t = !1,
@@ -36477,7 +36501,7 @@ function Cu({
36477
36501
  []
36478
36502
  ), r = l || d;
36479
36503
  return /* @__PURE__ */ Fe.jsx(Bl, { client: r, children: /* @__PURE__ */ Fe.jsx(In.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Fe.jsx(Ql, { children: /* @__PURE__ */ Fe.jsx(
36480
- im,
36504
+ nm,
36481
36505
  {
36482
36506
  autoFetch: n,
36483
36507
  mockData: t,
@@ -36485,7 +36509,7 @@ function Cu({
36485
36509
  }
36486
36510
  ) }) }) });
36487
36511
  }
36488
- const vu = ({ onFunction: e = () => {
36512
+ const hu = ({ onFunction: e = () => {
36489
36513
  }, buttonProps: n = {} } = {}) => {
36490
36514
  const { lineConfig: t } = se(), l = ee(!1), p = re(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: m } = il({
36491
36515
  options: {
@@ -36525,7 +36549,7 @@ const vu = ({ onFunction: e = () => {
36525
36549
  }
36526
36550
  ) : null;
36527
36551
  };
36528
- var nm = Object.defineProperty, Kt = Object.getOwnPropertySymbols, Tl = Object.prototype.hasOwnProperty, kl = Object.prototype.propertyIsEnumerable, Bn = (e, n, t) => n in e ? nm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, gi = (e, n) => {
36552
+ var lm = Object.defineProperty, Kt = Object.getOwnPropertySymbols, Tl = Object.prototype.hasOwnProperty, kl = Object.prototype.propertyIsEnumerable, Bn = (e, n, t) => n in e ? lm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, gi = (e, n) => {
36529
36553
  for (var t in n || (n = {}))
36530
36554
  Tl.call(n, t) && Bn(e, t, n[t]);
36531
36555
  if (Kt)
@@ -37077,12 +37101,12 @@ var ka;
37077
37101
  })(e.QrSegment || (e.QrSegment = {}));
37078
37102
  })(ka || (ka = {}));
37079
37103
  var Aa = ka;
37080
- var lm = {
37104
+ var rm = {
37081
37105
  L: Aa.QrCode.Ecc.LOW,
37082
37106
  M: Aa.QrCode.Ecc.MEDIUM,
37083
37107
  Q: Aa.QrCode.Ecc.QUARTILE,
37084
37108
  H: Aa.QrCode.Ecc.HIGH
37085
- }, xl = 128, Sl = "L", Dl = "#FFFFFF", El = "#000000", Nl = !1, Ll = 1, rm = 4, om = 0, sm = 0.1;
37109
+ }, xl = 128, Sl = "L", Dl = "#FFFFFF", El = "#000000", Nl = !1, Ll = 1, om = 4, sm = 0, mm = 0.1;
37086
37110
  function Gl(e, n = 0) {
37087
37111
  const t = [];
37088
37112
  return e.forEach(function(l, p) {
@@ -37109,10 +37133,10 @@ function Gl(e, n = 0) {
37109
37133
  function Ml(e, n) {
37110
37134
  return e.slice().map((t, l) => l < n.y || l >= n.y + n.h ? t : t.map((p, g) => g < n.x || g >= n.x + n.w ? p : !1));
37111
37135
  }
37112
- function mm(e, n, t, l) {
37136
+ function um(e, n, t, l) {
37113
37137
  if (l == null)
37114
37138
  return null;
37115
- const p = e.length + t * 2, g = Math.floor(n * sm), b = p / n, d = (l.width || g) * b, r = (l.height || g) * b, a = l.x == null ? e.length / 2 - d / 2 : l.x * b, i = l.y == null ? e.length / 2 - r / 2 : l.y * b, o = l.opacity == null ? 1 : l.opacity;
37139
+ const p = e.length + t * 2, g = Math.floor(n * mm), b = p / n, d = (l.width || g) * b, r = (l.height || g) * b, a = l.x == null ? e.length / 2 - d / 2 : l.x * b, i = l.y == null ? e.length / 2 - r / 2 : l.y * b, o = l.opacity == null ? 1 : l.opacity;
37116
37140
  let m = null;
37117
37141
  if (l.excavate) {
37118
37142
  let s = Math.floor(a), c = Math.floor(i), f = Math.ceil(d + a - s), y = Math.ceil(r + i - c);
@@ -37121,8 +37145,8 @@ function mm(e, n, t, l) {
37121
37145
  const u = l.crossOrigin;
37122
37146
  return { x: a, y: i, h: r, w: d, excavation: m, opacity: o, crossOrigin: u };
37123
37147
  }
37124
- function um(e, n) {
37125
- return n != null ? Math.max(Math.floor(n), 0) : e ? rm : om;
37148
+ function pm(e, n) {
37149
+ return n != null ? Math.max(Math.floor(n), 0) : e ? om : sm;
37126
37150
  }
37127
37151
  function Rl({
37128
37152
  value: e,
@@ -37138,7 +37162,7 @@ function Rl({
37138
37162
  const s = (Array.isArray(e) ? e : [e]).reduce((c, f) => (c.push(...Aa.QrSegment.makeSegments(f)), c), []);
37139
37163
  return Aa.QrCode.encodeSegments(
37140
37164
  s,
37141
- lm[n],
37165
+ rm[n],
37142
37166
  t,
37143
37167
  void 0,
37144
37168
  void 0,
@@ -37147,7 +37171,7 @@ function Rl({
37147
37171
  }, [e, n, t, d]);
37148
37172
  const { cells: a, margin: i, numCells: o, calculatedImageSettings: m } = de.useMemo(() => {
37149
37173
  let u = r.getModules();
37150
- const s = um(l, p), c = u.length + s * 2, f = mm(
37174
+ const s = pm(l, p), c = u.length + s * 2, f = um(
37151
37175
  u,
37152
37176
  b,
37153
37177
  s,
@@ -37168,14 +37192,14 @@ function Rl({
37168
37192
  calculatedImageSettings: m
37169
37193
  };
37170
37194
  }
37171
- var pm = (function() {
37195
+ var gm = (function() {
37172
37196
  try {
37173
37197
  new Path2D().addPath(new Path2D());
37174
37198
  } catch {
37175
37199
  return !1;
37176
37200
  }
37177
37201
  return !0;
37178
- })(), gm = de.forwardRef(
37202
+ })(), dm = de.forwardRef(
37179
37203
  function(n, t) {
37180
37204
  const l = n, {
37181
37205
  value: p,
@@ -37228,7 +37252,7 @@ var pm = (function() {
37228
37252
  const W = window.devicePixelRatio || 1;
37229
37253
  w.height = w.width = g * W;
37230
37254
  const M = g / k * W;
37231
- R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = r, pm ? R.fill(new Path2D(Gl(P, G))) : O.forEach(function(S, x) {
37255
+ R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = r, gm ? R.fill(new Path2D(Gl(P, G))) : O.forEach(function(S, x) {
37232
37256
  S.forEach(function(L, N) {
37233
37257
  L && R.fillRect(N + G, x + G, 1, 1);
37234
37258
  });
@@ -37269,7 +37293,7 @@ var pm = (function() {
37269
37293
  ), A);
37270
37294
  }
37271
37295
  );
37272
- gm.displayName = "QRCodeCanvas";
37296
+ dm.displayName = "QRCodeCanvas";
37273
37297
  var Pl = de.forwardRef(
37274
37298
  function(n, t) {
37275
37299
  const l = n, {
@@ -37348,7 +37372,7 @@ var Pl = de.forwardRef(
37348
37372
  }
37349
37373
  );
37350
37374
  Pl.displayName = "QRCodeSVG";
37351
- const dm = {
37375
+ const cm = {
37352
37376
  position: "fixed",
37353
37377
  top: 0,
37354
37378
  left: 0,
@@ -37361,7 +37385,7 @@ const dm = {
37361
37385
  justifyContent: "center",
37362
37386
  zIndex: 1e4,
37363
37387
  gap: "2em"
37364
- }, cm = {
37388
+ }, fm = {
37365
37389
  position: "absolute",
37366
37390
  top: "20px",
37367
37391
  right: "20px",
@@ -37392,8 +37416,8 @@ const dm = {
37392
37416
  title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
37393
37417
  expired: "Kode QR telah kedaluwarsa"
37394
37418
  }
37395
- }, ku = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
37396
- const { lng: l, getToken: p, lineConfig: g } = se(), [b, d] = oi(300), [r, a] = oi(!1), i = ee(null), o = re(g, "liffId", ""), m = Qe(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || mi.get("machine_mac_address") || "", { data: f, isFetching: y } = zo({
37419
+ }, xu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
37420
+ const { lng: l, getToken: p, lineConfig: g } = se(), [b, d] = oi(300), [r, a] = oi(!1), i = ee(null), o = re(g, "liffId", ""), m = Qe(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || mi.get("machine_mac_address") || "", { data: f, isFetching: y } = Io({
37397
37421
  formData: {
37398
37422
  mac_address: c
37399
37423
  },
@@ -37414,11 +37438,11 @@ const dm = {
37414
37438
  };
37415
37439
  if (!e && (!c || u)) return null;
37416
37440
  const C = Hn[m] || Hn.en_US;
37417
- return n && /* @__PURE__ */ Fe.jsxs("div", { style: dm, children: [
37441
+ return n && /* @__PURE__ */ Fe.jsxs("div", { style: cm, children: [
37418
37442
  /* @__PURE__ */ Fe.jsx(
37419
37443
  "div",
37420
37444
  {
37421
- style: cm,
37445
+ style: fm,
37422
37446
  onClick: () => t(!1),
37423
37447
  role: "button",
37424
37448
  "aria-label": "Close",
@@ -37457,14 +37481,14 @@ const dm = {
37457
37481
  )
37458
37482
  ] })
37459
37483
  ] });
37460
- }, xu = () => {
37484
+ }, Su = () => {
37461
37485
  const e = fi(), {
37462
37486
  mutate: n,
37463
37487
  isPending: t,
37464
37488
  isSuccess: l,
37465
37489
  isError: p,
37466
37490
  error: g
37467
- } = Io({
37491
+ } = Vo({
37468
37492
  options: {
37469
37493
  onSuccess: () => {
37470
37494
  e.invalidateQueries({
@@ -37489,126 +37513,126 @@ const dm = {
37489
37513
  };
37490
37514
  export {
37491
37515
  In as ApiCtx,
37492
- Cu as ApiProvider,
37493
- xu as Bind,
37516
+ vu as ApiProvider,
37517
+ Su as Bind,
37494
37518
  $n as GamesInfoCtx,
37495
- vu as LineLogin,
37496
- ku as LineQrCode,
37497
- Ka as STATUS_TYPES,
37519
+ hu as LineLogin,
37520
+ xu as LineQrCode,
37521
+ qa as STATUS_TYPES,
37498
37522
  Vn as StatusContext,
37499
37523
  Ql as StatusProvider,
37500
- Qs as buildMultiTypes,
37501
- Uu as buildMultiTypesWithSubTypes,
37502
- Xl as buildSinglePlatformWithSubTypes,
37503
- Yl as buildSingleType,
37504
- $s as categorizeGames,
37524
+ js as buildMultiTypes,
37525
+ bu as buildMultiTypesWithSubTypes,
37526
+ er as buildSinglePlatformWithSubTypes,
37527
+ Xl as buildSingleType,
37528
+ Qs as categorizeGames,
37505
37529
  Qe as convertLanguageCode,
37506
- vm as createLogoutHandler,
37507
- Ks as extractGameSubTypeNames,
37508
- Zs as extractGameTypeNames,
37530
+ hm as createLogoutHandler,
37531
+ qs as extractGameSubTypeNames,
37532
+ Ks as extractGameTypeNames,
37509
37533
  On as extractPlatformNames,
37510
37534
  Xn as filterGamesByPlatform,
37511
37535
  Qn as findGameTypeUid,
37512
37536
  jn as findPlatformUid,
37513
37537
  Yn as findSubPlatform,
37514
- Js as flattenAllGames,
37515
- qs as flattenFavoriteGames,
37516
- hm as formatNumber,
37517
- js as groupGamesByPlatform,
37518
- Ys as groupGamesByPlatformAndSubType,
37519
- jl as groupGamesBySubType,
37520
- Vs as handleDarkImage,
37521
- tm as initMockWindowData,
37522
- Xs as processGameInfo,
37523
- bu as processPlatformData,
37524
- Nm as useAbandonPoint,
37538
+ Zs as flattenAllGames,
37539
+ $s as flattenFavoriteGames,
37540
+ Tm as formatNumber,
37541
+ Ys as groupGamesByPlatform,
37542
+ Xs as groupGamesByPlatformAndSubType,
37543
+ Yl as groupGamesBySubType,
37544
+ Js as handleDarkImage,
37545
+ im as initMockWindowData,
37546
+ em as processGameInfo,
37547
+ Cu as processPlatformData,
37548
+ Lm as useAbandonPoint,
37525
37549
  se as useApiContext,
37526
- Hm as useAvatarList,
37527
- Tm as useBalanceGetter,
37528
- Sm as useBet,
37529
- Bm as useBetRankingData,
37530
- _o as useBetRecord,
37531
- yo as useBetRecordDetail,
37532
- Io as useBindAccount,
37533
- Zo as useCheckCurrentEventProgress,
37534
- Ko as useCheckEventStatus,
37535
- Em as useCheckPlayerWager,
37536
- Im as useClientWebSocket,
37537
- Fs as useCurrentRebate,
37538
- bs as useDepositAction,
37539
- vs as useDepositTransaction,
37540
- ys as useDepositV1,
37541
- Us as useDepositV2,
37542
- iu as useDepositWalletLog,
37543
- Zm as useEvent,
37544
- Jo as useEventList,
37545
- hs as useEventTransaction,
37546
- lu as useEventWalletLog,
37547
- Ws as useExpiredRewardsList,
37548
- _u as useGameConfig,
37549
- Cm as useGameInfoContext,
37550
- am as useGamesInfo,
37551
- Km as useGetCarouseList,
37552
- zo as useGetMachineLoginCode,
37553
- qm as useGetMarquee,
37554
- km as useGetMemberInfo,
37555
- $m as useGetRankingGame,
37556
- zs as useHistoryRewardsList,
37557
- Qm as useIdleTimeout,
37558
- jm as useInbox,
37559
- cs as useInboxList,
37560
- xm as useInitializeWithToken,
37561
- au as useInvoiceAction,
37562
- Om as useJackpotData,
37550
+ Wm as useAvatarList,
37551
+ km as useBalanceGetter,
37552
+ Dm as useBet,
37553
+ Hm as useBetRankingData,
37554
+ yo as useBetRecord,
37555
+ Uo as useBetRecordDetail,
37556
+ Vo as useBindAccount,
37557
+ Ko as useCheckCurrentEventProgress,
37558
+ qo as useCheckEventStatus,
37559
+ Nm as useCheckPlayerWager,
37560
+ Vm as useClientWebSocket,
37561
+ As as useCurrentRebate,
37562
+ Cs as useDepositAction,
37563
+ hs as useDepositTransaction,
37564
+ Us as useDepositV1,
37565
+ bs as useDepositV2,
37566
+ nu as useDepositWalletLog,
37567
+ Km as useEvent,
37568
+ Zo as useEventList,
37569
+ Ts as useEventTransaction,
37570
+ ru as useEventWalletLog,
37571
+ zs as useExpiredRewardsList,
37572
+ yu as useGameConfig,
37573
+ vm as useGameInfoContext,
37574
+ tm as useGamesInfo,
37575
+ qm as useGetCarouseList,
37576
+ Io as useGetMachineLoginCode,
37577
+ $m as useGetMarquee,
37578
+ xm as useGetMemberInfo,
37579
+ Qm as useGetRankingGame,
37580
+ Is as useHistoryRewardsList,
37581
+ jm as useIdleTimeout,
37582
+ Ym as useInbox,
37583
+ fs as useInboxList,
37584
+ Sm as useInitializeWithToken,
37585
+ tu as useInvoiceAction,
37586
+ Bm as useJackpotData,
37563
37587
  il as useLineLogin,
37564
- Wo as useLineLogin2,
37565
- Lo as useLogin,
37566
- Go as useLogout,
37567
- Lm as useMemberTransfer,
37568
- Gm as useMobileLogin,
37569
- Mm as useMobileLoginV2,
37570
- Rm as useMobileRegister,
37571
- Xm as useNewsDetail,
37572
- Ym as useNewsList,
37573
- su as usePayment,
37574
- yu as usePlatformConfig,
37575
- mu as usePlayGame,
37576
- Dm as usePointTransfer,
37577
- fs as useReadInbox,
37578
- uu as useRebate,
37579
- ru as useRebateWalletLog,
37580
- As as useReceiveRebate,
37581
- eu as useRedeemCodeDeposit,
37582
- Vm as useRedeemEventReward,
37583
- Bs as useRedeemReward,
37584
- du as useRedeemTreasure,
37585
- wo as useResetUserPassword,
37586
- Ao as useResetUserTransactionPassword,
37587
- pu as useRewards,
37588
- Os as useRewardsList,
37589
- Pm as useSendMobileVerifyCode,
37590
- Fo as useSetUserTransactionPassword,
37591
- Jm as useSettleEvent,
37592
- Mo as useSignUp,
37588
+ zo as useLineLogin2,
37589
+ Go as useLogin,
37590
+ Mo as useLogout,
37591
+ Gm as useMemberTransfer,
37592
+ Mm as useMobileLogin,
37593
+ Rm as useMobileLoginV2,
37594
+ Pm as useMobileRegister,
37595
+ eu as useNewsDetail,
37596
+ Xm as useNewsList,
37597
+ mu as usePayment,
37598
+ Uu as usePlatformConfig,
37599
+ uu as usePlayGame,
37600
+ Em as usePointTransfer,
37601
+ _s as useReadInbox,
37602
+ pu as useRebate,
37603
+ ou as useRebateWalletLog,
37604
+ Os as useReceiveRebate,
37605
+ au as useRedeemCodeDeposit,
37606
+ Jm as useRedeemEventReward,
37607
+ Hs as useRedeemReward,
37608
+ cu as useRedeemTreasure,
37609
+ Fo as useResetUserPassword,
37610
+ Oo as useResetUserTransactionPassword,
37611
+ gu as useRewards,
37612
+ Bs as useRewardsList,
37613
+ wm as useSendMobileVerifyCode,
37614
+ Ao as useSetUserTransactionPassword,
37615
+ Zm as useSettleEvent,
37616
+ Ro as useSignUp,
37593
37617
  Jn as useStatus,
37594
- Ro as useToggleFavoriteGame,
37595
- Ho as useTransferInGame,
37596
- gu as useTreasureList,
37597
- ou as useTreasureWalletLog,
37598
- Hs as useUnUsedRewardsList,
37599
- Wm as useUpdateAvatar,
37600
- tu as useUpdateInvoiceAction,
37601
- Po as useUpdateUserInfo,
37602
- zm as useUser,
37603
- Bo as useUserBindCard,
37604
- Oo as useUserRebate,
37605
- Fm as useVerifyDonationCode,
37606
- wm as useVerifyPhoneBar,
37607
- Am as useVerifyResetAction,
37608
- fu as useVip,
37609
- cu as useVipInfo,
37610
- Is as useVipList,
37611
- Cs as useWithdrawAction,
37612
- ks as useWithdrawTransaction,
37613
- nu as useWithdrawWalletLog
37618
+ Po as useToggleFavoriteGame,
37619
+ Wo as useTransferInGame,
37620
+ du as useTreasureList,
37621
+ su as useTreasureWalletLog,
37622
+ Ws as useUnUsedRewardsList,
37623
+ zm as useUpdateAvatar,
37624
+ iu as useUpdateInvoiceAction,
37625
+ wo as useUpdateUserInfo,
37626
+ Im as useUser,
37627
+ Ho as useUserBindCard,
37628
+ Bo as useUserRebate,
37629
+ Am as useVerifyDonationCode,
37630
+ Fm as useVerifyPhoneBar,
37631
+ Om as useVerifyResetAction,
37632
+ _u as useVip,
37633
+ fu as useVipInfo,
37634
+ Vs as useVipList,
37635
+ vs as useWithdrawAction,
37636
+ xs as useWithdrawTransaction,
37637
+ lu as useWithdrawWalletLog
37614
37638
  };