@obb871001/api-integration-sdk 1.0.250 → 1.0.251

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import xa, { createContext as ji, useContext as $i, useState as rl, useMemo as ha, useCallback as J, useRef as Wa, useEffect as ia } from "react";
2
- import { useQueries as hn, useQuery as X, useQueryClient as kn, useMutation as ne, QueryClient as ol, QueryClientProvider as ml } from "@tanstack/react-query";
3
- import sl from "axios";
4
- import { get as me, find as Ee, isEmpty as pe, entries as xn, map as Te, isArray as Ge, toLower as mt, omit as ul, replace as st, includes as pl, isObject as Si, flatMap as Di, values as gl, keys as ut } from "lodash";
5
- import dl from "react-dom";
1
+ import xa, { createContext as qi, useContext as ji, useState as ll, useMemo as ha, useCallback as J, useRef as Wa, useEffect as ia } from "react";
2
+ import { useQueries as Tn, useQuery as X, useQueryClient as hn, useMutation as ne, QueryClient as rl, QueryClientProvider as ol } from "@tanstack/react-query";
3
+ import ml from "axios";
4
+ import { get as me, find as Ee, isEmpty as pe, entries as kn, map as Te, isArray as Ge, toLower as ot, omit as sl, replace as mt, includes as ul, isObject as Si, flatMap as Di, values as pl, keys as st } from "lodash";
5
+ import gl from "react-dom";
6
6
  var Bi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
- function Qi(e) {
7
+ function $i(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
- function cl(e) {
10
+ function dl(e) {
11
11
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
12
12
  var s = e.default;
13
13
  if (typeof s == "function") {
@@ -32,10 +32,10 @@ function cl(e) {
32
32
  }), n;
33
33
  }
34
34
  var Oa = { exports: {} }, Ua = {};
35
- var pt;
36
- function fl() {
37
- if (pt) return Ua;
38
- pt = 1;
35
+ var ut;
36
+ function cl() {
37
+ if (ut) return Ua;
38
+ ut = 1;
39
39
  var e = xa, s = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, u = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
40
40
  function y(d, g, t) {
41
41
  var i, m = {}, l = null, r = null;
@@ -47,9 +47,9 @@ function fl() {
47
47
  return Ua.Fragment = n, Ua.jsx = y, Ua.jsxs = y, Ua;
48
48
  }
49
49
  var ya = {};
50
- var gt;
51
- function _l() {
52
- return gt || (gt = 1, process.env.NODE_ENV !== "production" && (function() {
50
+ var pt;
51
+ function fl() {
52
+ return pt || (pt = 1, process.env.NODE_ENV !== "production" && (function() {
53
53
  var e = xa, s = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), d = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), t = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), r = Symbol.for("react.offscreen"), o = Symbol.iterator, _ = "@@iterator";
54
54
  function f(h) {
55
55
  if (h === null || typeof h != "object")
@@ -611,17 +611,17 @@ Check the top-level render call using <` + V + ">.");
611
611
  Pa(Se, h);
612
612
  }
613
613
  if (De.call(H, "key")) {
614
- var Qe = G(h), ve = Object.keys(H).filter(function(ll) {
615
- return ll !== "key";
614
+ var Qe = G(h), ve = Object.keys(H).filter(function(nl) {
615
+ return nl !== "key";
616
616
  }), Ai = ve.length > 0 ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}";
617
617
  if (!_a[Qe + Ai]) {
618
- var nl = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
618
+ var tl = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
619
619
  c(`A props object containing a "key" prop is being spread into JSX:
620
620
  let props = %s;
621
621
  <%s {...props} />
622
622
  React keys must be passed directly to JSX without using spread:
623
623
  let props = %s;
624
- <%s key={someKey} {...props} />`, Ai, Qe, nl, Qe), _a[Qe + Ai] = !0;
624
+ <%s key={someKey} {...props} />`, Ai, Qe, tl, Qe), _a[Qe + Ai] = !0;
625
625
  }
626
626
  }
627
627
  return h === a ? wi(oe) : Fa(oe), oe;
@@ -633,25 +633,25 @@ React keys must be passed directly to JSX without using spread:
633
633
  function wa(h, H, V) {
634
634
  return fe(h, H, V, !1);
635
635
  }
636
- var Oi = wa, tl = Le;
637
- ya.Fragment = a, ya.jsx = Oi, ya.jsxs = tl;
636
+ var Oi = wa, il = Le;
637
+ ya.Fragment = a, ya.jsx = Oi, ya.jsxs = il;
638
638
  })()), ya;
639
639
  }
640
- var dt;
641
- function Ul() {
642
- return dt || (dt = 1, process.env.NODE_ENV === "production" ? Oa.exports = fl() : Oa.exports = _l()), Oa.exports;
640
+ var gt;
641
+ function _l() {
642
+ return gt || (gt = 1, process.env.NODE_ENV === "production" ? Oa.exports = cl() : Oa.exports = fl()), Oa.exports;
643
643
  }
644
- var ta = Ul();
645
- const Sn = ji(null), ie = () => {
646
- const e = $i(Sn);
644
+ var ta = _l();
645
+ const xn = qi(null), ie = () => {
646
+ const e = ji(xn);
647
647
  if (!e)
648
648
  throw new Error("useApiContext must be used within ApiProvider");
649
649
  return e;
650
650
  }, ba = {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
- }, Dn = ji(null), yl = ({ children: e }) => {
654
- const [s, n] = rl(ba.PENDING), a = ha(() => {
653
+ }, Sn = qi(null), Ul = ({ children: e }) => {
654
+ const [s, n] = ll(ba.PENDING), a = ha(() => {
655
655
  const u = s === ba.READY, p = s === ba.PENDING;
656
656
  return {
657
657
  status: s,
@@ -662,9 +662,9 @@ const Sn = ji(null), ie = () => {
662
662
  setAsPending: () => n(ba.PENDING)
663
663
  };
664
664
  }, [s]);
665
- return /* @__PURE__ */ ta.jsx(Dn.Provider, { value: a, children: e });
666
- }, En = () => {
667
- const e = $i(Dn);
665
+ return /* @__PURE__ */ ta.jsx(Sn.Provider, { value: a, children: e });
666
+ }, Dn = () => {
667
+ const e = ji(Sn);
668
668
  if (!e)
669
669
  throw new Error("useStatus must be used within a StatusProvider");
670
670
  return e;
@@ -687,7 +687,7 @@ const Sn = ji(null), ie = () => {
687
687
  default:
688
688
  return e;
689
689
  }
690
- }, We = "https://d1h3qe8voog6w4.cloudfront.net", ct = "https://d3jx2uvukujuvn.cloudfront.net", Nn = (e) => `${We}/reward_icon/${e}.avif`, Ln = () => `${We}/reward_icon/background_deposit.avif`, Gn = "ds88platformIcon", ka = {
690
+ }, We = "https://d1h3qe8voog6w4.cloudfront.net", dt = "https://d3jx2uvukujuvn.cloudfront.net", En = (e) => `${We}/reward_icon/${e}.avif`, Nn = () => `${We}/reward_icon/background_deposit.avif`, Ln = "ds88platformIcon", ka = {
691
691
  zh_TW: "系統提示",
692
692
  zh_CN: "系统提示",
693
693
  en_US: "System Prompt",
@@ -696,7 +696,7 @@ const Sn = ji(null), ie = () => {
696
696
  th_TH: "ข้อความระบบ",
697
697
  ja_JP: "システムプロンプト"
698
698
  };
699
- function ft({
699
+ function ct({
700
700
  baseURL: e,
701
701
  getToken: s,
702
702
  timeoutMs: n = 15e3,
@@ -707,7 +707,7 @@ function ft({
707
707
  currency: d,
708
708
  toasterOpen: g = !1
709
709
  } = {}) {
710
- const t = sl.create({
710
+ const t = ml.create({
711
711
  baseURL: e,
712
712
  timeout: n,
713
713
  headers: {
@@ -745,14 +745,14 @@ function ft({
745
745
  }
746
746
  ), t;
747
747
  }
748
- const Mn = ji(null), sm = () => {
749
- const e = $i(Mn);
748
+ const Gn = qi(null), mm = () => {
749
+ const e = ji(Gn);
750
750
  if (!e)
751
751
  throw new Error(
752
752
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
753
753
  );
754
754
  return e;
755
- }, um = () => {
755
+ }, sm = () => {
756
756
  const e = (a, u) => !a && !u, s = (a) => a.startsWith("pc.");
757
757
  return {
758
758
  executeLogout: ({
@@ -771,50 +771,50 @@ const Mn = ji(null), sm = () => {
771
771
  shouldShowErrorNotice: e,
772
772
  isMachineDomain: s
773
773
  };
774
- }, pm = (e) => {
774
+ }, um = (e) => {
775
775
  let s = Number(e);
776
776
  return isNaN(s) ? e : new Intl.NumberFormat("en-US", {
777
777
  style: "decimal",
778
778
  minimumFractionDigits: 2,
779
779
  maximumFractionDigits: 2
780
780
  }).format(s);
781
- }, Rn = (e = [], s) => Ee(e, { gameTypeName: s })?.gameTypeUid, Pn = (e = [], s) => Ee(e, { platform: s })?.platformUid, Fn = (e = [], s) => Ee(e, { SubPlatformEnum: s }), wn = (e = [], s, n) => pe(e) ? [] : e.filter((a) => n ? String(a?.SubPlatformEnumUid) === String(n?.SubPlatformEnumUid) : String(a.platformUid) === String(s)), bl = (e = []) => pe(e) ? {} : e.reduce((s, n) => {
781
+ }, Mn = (e = [], s) => Ee(e, { gameTypeName: s })?.gameTypeUid, Rn = (e = [], s) => Ee(e, { platform: s })?.platformUid, Pn = (e = [], s) => Ee(e, { SubPlatformEnum: s }), Fn = (e = [], s, n) => pe(e) ? [] : e.filter((a) => n ? String(a?.SubPlatformEnumUid) === String(n?.SubPlatformEnumUid) : String(a.platformUid) === String(s)), yl = (e = []) => pe(e) ? {} : e.reduce((s, n) => {
782
782
  const a = n?.game_subtype || "UNKNOWN";
783
783
  return s[a] || (s[a] = []), s[a].push(n), s;
784
- }, {}), Cl = ({
784
+ }, {}), bl = ({
785
785
  gameTypeName: e,
786
786
  platforms: s,
787
787
  gameList: n,
788
788
  allGameTypes: a,
789
789
  allPlatforms: u
790
790
  }) => {
791
- const p = Rn(a, e);
791
+ const p = Mn(a, e);
792
792
  return p ? s.reduce((y, d) => {
793
- const g = Pn(u, d), t = Fn(u, d), i = n[p] || [], m = wn(
793
+ const g = Rn(u, d), t = Pn(u, d), i = n[p] || [], m = Fn(
794
794
  i,
795
795
  g,
796
796
  t
797
797
  );
798
798
  return pe(m) || (y[d] = m), y;
799
799
  }, {}) : {};
800
- }, vl = ({
800
+ }, Cl = ({
801
801
  platformName: e,
802
802
  gamesOfType: s = [],
803
803
  allPlatforms: n = []
804
804
  }) => {
805
- const a = Pn(n, e), u = Fn(n, e), p = wn(
805
+ const a = Rn(n, e), u = Pn(n, e), p = Fn(
806
806
  s,
807
807
  a,
808
808
  u
809
809
  );
810
- return bl(p);
810
+ return yl(p);
811
811
  };
812
- var za = { exports: {} }, Tl = za.exports, _t;
813
- function hl() {
814
- return _t || (_t = 1, (function(e, s) {
812
+ var za = { exports: {} }, vl = za.exports, ft;
813
+ function Tl() {
814
+ return ft || (ft = 1, (function(e, s) {
815
815
  (function(n, a) {
816
816
  e.exports = a();
817
- })(Tl, (function() {
817
+ })(vl, (function() {
818
818
  var n = 1e3, a = 6e4, u = 36e5, p = "millisecond", y = "second", d = "minute", g = "hour", t = "day", i = "week", m = "month", l = "quarter", r = "year", o = "date", _ = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|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, c = { 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(O) {
819
819
  var R = ["th", "st", "nd", "rd"], F = O % 100;
820
820
  return "[" + O + (R[(F - 20) % 10] || R[F] || R[0]) + "]";
@@ -1087,28 +1087,28 @@ function hl() {
1087
1087
  }));
1088
1088
  })(za)), za.exports;
1089
1089
  }
1090
- var kl = hl();
1091
- const _e = /* @__PURE__ */ Qi(kl);
1090
+ var hl = Tl();
1091
+ const _e = /* @__PURE__ */ $i(hl);
1092
1092
  var Va = { exports: {} };
1093
- function xl(e) {
1093
+ function kl(e) {
1094
1094
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1095
1095
  }
1096
1096
  var Za = { exports: {} };
1097
- const Sl = {}, Dl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1097
+ const xl = {}, Sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1098
1098
  __proto__: null,
1099
- default: Sl
1100
- }, Symbol.toStringTag, { value: "Module" })), El = /* @__PURE__ */ cl(Dl);
1101
- var Nl = Za.exports, Ut;
1099
+ default: xl
1100
+ }, Symbol.toStringTag, { value: "Module" })), Dl = /* @__PURE__ */ dl(Sl);
1101
+ var El = Za.exports, _t;
1102
1102
  function $() {
1103
- return Ut || (Ut = 1, (function(e, s) {
1103
+ return _t || (_t = 1, (function(e, s) {
1104
1104
  (function(n, a) {
1105
1105
  e.exports = a();
1106
- })(Nl, function() {
1106
+ })(El, function() {
1107
1107
  var n = n || (function(a, u) {
1108
1108
  var p;
1109
- if (typeof window < "u" && window.crypto && (p = window.crypto), typeof self < "u" && self.crypto && (p = self.crypto), typeof globalThis < "u" && globalThis.crypto && (p = globalThis.crypto), !p && typeof window < "u" && window.msCrypto && (p = window.msCrypto), !p && typeof Bi < "u" && Bi.crypto && (p = Bi.crypto), !p && typeof xl == "function")
1109
+ if (typeof window < "u" && window.crypto && (p = window.crypto), typeof self < "u" && self.crypto && (p = self.crypto), typeof globalThis < "u" && globalThis.crypto && (p = globalThis.crypto), !p && typeof window < "u" && window.msCrypto && (p = window.msCrypto), !p && typeof Bi < "u" && Bi.crypto && (p = Bi.crypto), !p && typeof kl == "function")
1110
1110
  try {
1111
- p = El;
1111
+ p = Dl;
1112
1112
  } catch {
1113
1113
  }
1114
1114
  var y = function() {
@@ -1599,12 +1599,12 @@ function $() {
1599
1599
  });
1600
1600
  })(Za)), Za.exports;
1601
1601
  }
1602
- var Ja = { exports: {} }, Ll = Ja.exports, yt;
1602
+ var Ja = { exports: {} }, Nl = Ja.exports, Ut;
1603
1603
  function Ei() {
1604
- return yt || (yt = 1, (function(e, s) {
1604
+ return Ut || (Ut = 1, (function(e, s) {
1605
1605
  (function(n, a) {
1606
1606
  e.exports = a($());
1607
- })(Ll, function(n) {
1607
+ })(Nl, function(n) {
1608
1608
  return (function(a) {
1609
1609
  var u = n, p = u.lib, y = p.Base, d = p.WordArray, g = u.x64 = {};
1610
1610
  g.Word = y.extend({
@@ -1829,12 +1829,12 @@ function Ei() {
1829
1829
  });
1830
1830
  })(Ja)), Ja.exports;
1831
1831
  }
1832
- var Ia = { exports: {} }, Gl = Ia.exports, bt;
1833
- function Ml() {
1834
- return bt || (bt = 1, (function(e, s) {
1832
+ var Ia = { exports: {} }, Ll = Ia.exports, yt;
1833
+ function Gl() {
1834
+ return yt || (yt = 1, (function(e, s) {
1835
1835
  (function(n, a) {
1836
1836
  e.exports = a($());
1837
- })(Gl, function(n) {
1837
+ })(Ll, function(n) {
1838
1838
  return (function() {
1839
1839
  if (typeof ArrayBuffer == "function") {
1840
1840
  var a = n, u = a.lib, p = u.WordArray, y = p.init, d = p.init = function(g) {
@@ -1851,12 +1851,12 @@ function Ml() {
1851
1851
  });
1852
1852
  })(Ia)), Ia.exports;
1853
1853
  }
1854
- var Ka = { exports: {} }, Rl = Ka.exports, Ct;
1855
- function Pl() {
1856
- return Ct || (Ct = 1, (function(e, s) {
1854
+ var Ka = { exports: {} }, Ml = Ka.exports, bt;
1855
+ function Rl() {
1856
+ return bt || (bt = 1, (function(e, s) {
1857
1857
  (function(n, a) {
1858
1858
  e.exports = a($());
1859
- })(Rl, function(n) {
1859
+ })(Ml, function(n) {
1860
1860
  return (function() {
1861
1861
  var a = n, u = a.lib, p = u.WordArray, y = a.enc;
1862
1862
  y.Utf16 = y.Utf16BE = {
@@ -1945,12 +1945,12 @@ function Pl() {
1945
1945
  });
1946
1946
  })(Ka)), Ka.exports;
1947
1947
  }
1948
- var qa = { exports: {} }, Fl = qa.exports, vt;
1948
+ var qa = { exports: {} }, Pl = qa.exports, Ct;
1949
1949
  function na() {
1950
- return vt || (vt = 1, (function(e, s) {
1950
+ return Ct || (Ct = 1, (function(e, s) {
1951
1951
  (function(n, a) {
1952
1952
  e.exports = a($());
1953
- })(Fl, function(n) {
1953
+ })(Pl, function(n) {
1954
1954
  return (function() {
1955
1955
  var a = n, u = a.lib, p = u.WordArray, y = a.enc;
1956
1956
  y.Base64 = {
@@ -2020,12 +2020,12 @@ function na() {
2020
2020
  });
2021
2021
  })(qa)), qa.exports;
2022
2022
  }
2023
- var ja = { exports: {} }, wl = ja.exports, Tt;
2024
- function Ol() {
2025
- return Tt || (Tt = 1, (function(e, s) {
2023
+ var ja = { exports: {} }, Fl = ja.exports, vt;
2024
+ function wl() {
2025
+ return vt || (vt = 1, (function(e, s) {
2026
2026
  (function(n, a) {
2027
2027
  e.exports = a($());
2028
- })(wl, function(n) {
2028
+ })(Fl, function(n) {
2029
2029
  return (function() {
2030
2030
  var a = n, u = a.lib, p = u.WordArray, y = a.enc;
2031
2031
  y.Base64url = {
@@ -2102,12 +2102,12 @@ function Ol() {
2102
2102
  });
2103
2103
  })(ja)), ja.exports;
2104
2104
  }
2105
- var $a = { exports: {} }, Al = $a.exports, ht;
2105
+ var $a = { exports: {} }, Ol = $a.exports, Tt;
2106
2106
  function la() {
2107
- return ht || (ht = 1, (function(e, s) {
2107
+ return Tt || (Tt = 1, (function(e, s) {
2108
2108
  (function(n, a) {
2109
2109
  e.exports = a($());
2110
- })(Al, function(n) {
2110
+ })(Ol, function(n) {
2111
2111
  return (function(a) {
2112
2112
  var u = n, p = u.lib, y = p.WordArray, d = p.Hasher, g = u.algo, t = [];
2113
2113
  (function() {
@@ -2168,12 +2168,12 @@ function la() {
2168
2168
  });
2169
2169
  })($a)), $a.exports;
2170
2170
  }
2171
- var Qa = { exports: {} }, Bl = Qa.exports, kt;
2172
- function On() {
2173
- return kt || (kt = 1, (function(e, s) {
2171
+ var Qa = { exports: {} }, Al = Qa.exports, ht;
2172
+ function wn() {
2173
+ return ht || (ht = 1, (function(e, s) {
2174
2174
  (function(n, a) {
2175
2175
  e.exports = a($());
2176
- })(Bl, function(n) {
2176
+ })(Al, function(n) {
2177
2177
  return (function() {
2178
2178
  var a = n, u = a.lib, p = u.WordArray, y = u.Hasher, d = a.algo, g = [], t = d.SHA1 = y.extend({
2179
2179
  _doReset: function() {
@@ -2212,12 +2212,12 @@ function On() {
2212
2212
  });
2213
2213
  })(Qa)), Qa.exports;
2214
2214
  }
2215
- var Ya = { exports: {} }, Hl = Ya.exports, xt;
2216
- function Yi() {
2217
- return xt || (xt = 1, (function(e, s) {
2215
+ var Ya = { exports: {} }, Bl = Ya.exports, kt;
2216
+ function Qi() {
2217
+ return kt || (kt = 1, (function(e, s) {
2218
2218
  (function(n, a) {
2219
2219
  e.exports = a($());
2220
- })(Hl, function(n) {
2220
+ })(Bl, function(n) {
2221
2221
  return (function(a) {
2222
2222
  var u = n, p = u.lib, y = p.WordArray, d = p.Hasher, g = u.algo, t = [], i = [];
2223
2223
  (function() {
@@ -2264,12 +2264,12 @@ function Yi() {
2264
2264
  });
2265
2265
  })(Ya)), Ya.exports;
2266
2266
  }
2267
- var Xa = { exports: {} }, Wl = Xa.exports, St;
2268
- function zl() {
2269
- return St || (St = 1, (function(e, s) {
2267
+ var Xa = { exports: {} }, Hl = Xa.exports, xt;
2268
+ function Wl() {
2269
+ return xt || (xt = 1, (function(e, s) {
2270
2270
  (function(n, a, u) {
2271
- e.exports = a($(), Yi());
2272
- })(Wl, function(n) {
2271
+ e.exports = a($(), Qi());
2272
+ })(Hl, function(n) {
2273
2273
  return (function() {
2274
2274
  var a = n, u = a.lib, p = u.WordArray, y = a.algo, d = y.SHA256, g = y.SHA224 = d.extend({
2275
2275
  _doReset: function() {
@@ -2294,12 +2294,12 @@ function zl() {
2294
2294
  });
2295
2295
  })(Xa)), Xa.exports;
2296
2296
  }
2297
- var ei = { exports: {} }, Vl = ei.exports, Dt;
2298
- function An() {
2299
- return Dt || (Dt = 1, (function(e, s) {
2297
+ var ei = { exports: {} }, zl = ei.exports, St;
2298
+ function On() {
2299
+ return St || (St = 1, (function(e, s) {
2300
2300
  (function(n, a, u) {
2301
2301
  e.exports = a($(), Ei());
2302
- })(Vl, function(n) {
2302
+ })(zl, function(n) {
2303
2303
  return (function() {
2304
2304
  var a = n, u = a.lib, p = u.Hasher, y = a.x64, d = y.Word, g = y.WordArray, t = a.algo;
2305
2305
  function i() {
@@ -2435,12 +2435,12 @@ function An() {
2435
2435
  });
2436
2436
  })(ei)), ei.exports;
2437
2437
  }
2438
- var ai = { exports: {} }, Zl = ai.exports, Et;
2439
- function Jl() {
2440
- return Et || (Et = 1, (function(e, s) {
2438
+ var ai = { exports: {} }, Vl = ai.exports, Dt;
2439
+ function Zl() {
2440
+ return Dt || (Dt = 1, (function(e, s) {
2441
2441
  (function(n, a, u) {
2442
- e.exports = a($(), Ei(), An());
2443
- })(Zl, function(n) {
2442
+ e.exports = a($(), Ei(), On());
2443
+ })(Vl, function(n) {
2444
2444
  return (function() {
2445
2445
  var a = n, u = a.x64, p = u.Word, y = u.WordArray, d = a.algo, g = d.SHA512, t = d.SHA384 = g.extend({
2446
2446
  _doReset: function() {
@@ -2465,12 +2465,12 @@ function Jl() {
2465
2465
  });
2466
2466
  })(ai)), ai.exports;
2467
2467
  }
2468
- var ii = { exports: {} }, Il = ii.exports, Nt;
2469
- function Kl() {
2470
- return Nt || (Nt = 1, (function(e, s) {
2468
+ var ii = { exports: {} }, Jl = ii.exports, Et;
2469
+ function Il() {
2470
+ return Et || (Et = 1, (function(e, s) {
2471
2471
  (function(n, a, u) {
2472
2472
  e.exports = a($(), Ei());
2473
- })(Il, function(n) {
2473
+ })(Jl, function(n) {
2474
2474
  return (function(a) {
2475
2475
  var u = n, p = u.lib, y = p.WordArray, d = p.Hasher, g = u.x64, t = g.Word, i = u.algo, m = [], l = [], r = [];
2476
2476
  (function() {
@@ -2575,12 +2575,12 @@ function Kl() {
2575
2575
  });
2576
2576
  })(ii)), ii.exports;
2577
2577
  }
2578
- var ti = { exports: {} }, ql = ti.exports, Lt;
2579
- function jl() {
2580
- return Lt || (Lt = 1, (function(e, s) {
2578
+ var ti = { exports: {} }, Kl = ti.exports, Nt;
2579
+ function ql() {
2580
+ return Nt || (Nt = 1, (function(e, s) {
2581
2581
  (function(n, a) {
2582
2582
  e.exports = a($());
2583
- })(ql, function(n) {
2583
+ })(Kl, function(n) {
2584
2584
  return (function(a) {
2585
2585
  var u = n, p = u.lib, y = p.WordArray, d = p.Hasher, g = u.algo, t = y.create([
2586
2586
  0,
@@ -2958,12 +2958,12 @@ function jl() {
2958
2958
  });
2959
2959
  })(ti)), ti.exports;
2960
2960
  }
2961
- var ni = { exports: {} }, $l = ni.exports, Gt;
2962
- function Xi() {
2963
- return Gt || (Gt = 1, (function(e, s) {
2961
+ var ni = { exports: {} }, jl = ni.exports, Lt;
2962
+ function Yi() {
2963
+ return Lt || (Lt = 1, (function(e, s) {
2964
2964
  (function(n, a) {
2965
2965
  e.exports = a($());
2966
- })($l, function(n) {
2966
+ })(jl, function(n) {
2967
2967
  (function() {
2968
2968
  var a = n, u = a.lib, p = u.Base, y = a.enc, d = y.Utf8, g = a.algo;
2969
2969
  g.HMAC = p.extend({
@@ -3036,12 +3036,12 @@ function Xi() {
3036
3036
  });
3037
3037
  })(ni)), ni.exports;
3038
3038
  }
3039
- var li = { exports: {} }, Ql = li.exports, Mt;
3040
- function Yl() {
3041
- return Mt || (Mt = 1, (function(e, s) {
3039
+ var li = { exports: {} }, $l = li.exports, Gt;
3040
+ function Ql() {
3041
+ return Gt || (Gt = 1, (function(e, s) {
3042
3042
  (function(n, a, u) {
3043
- e.exports = a($(), Yi(), Xi());
3044
- })(Ql, function(n) {
3043
+ e.exports = a($(), Qi(), Yi());
3044
+ })($l, function(n) {
3045
3045
  return (function() {
3046
3046
  var a = n, u = a.lib, p = u.Base, y = u.WordArray, d = a.algo, g = d.SHA256, t = d.HMAC, i = d.PBKDF2 = p.extend({
3047
3047
  /**
@@ -3103,12 +3103,12 @@ function Yl() {
3103
3103
  });
3104
3104
  })(li)), li.exports;
3105
3105
  }
3106
- var ri = { exports: {} }, Xl = ri.exports, Rt;
3106
+ var ri = { exports: {} }, Yl = ri.exports, Mt;
3107
3107
  function Ke() {
3108
- return Rt || (Rt = 1, (function(e, s) {
3108
+ return Mt || (Mt = 1, (function(e, s) {
3109
3109
  (function(n, a, u) {
3110
- e.exports = a($(), On(), Xi());
3111
- })(Xl, function(n) {
3110
+ e.exports = a($(), wn(), Yi());
3111
+ })(Yl, function(n) {
3112
3112
  return (function() {
3113
3113
  var a = n, u = a.lib, p = u.Base, y = u.WordArray, d = a.algo, g = d.MD5, t = d.EvpKDF = p.extend({
3114
3114
  /**
@@ -3166,12 +3166,12 @@ function Ke() {
3166
3166
  });
3167
3167
  })(ri)), ri.exports;
3168
3168
  }
3169
- var oi = { exports: {} }, er = oi.exports, Pt;
3169
+ var oi = { exports: {} }, Xl = oi.exports, Rt;
3170
3170
  function ge() {
3171
- return Pt || (Pt = 1, (function(e, s) {
3171
+ return Rt || (Rt = 1, (function(e, s) {
3172
3172
  (function(n, a, u) {
3173
3173
  e.exports = a($(), Ke());
3174
- })(er, function(n) {
3174
+ })(Xl, function(n) {
3175
3175
  n.lib.Cipher || (function(a) {
3176
3176
  var u = n, p = u.lib, y = p.Base, d = p.WordArray, g = p.BufferedBlockAlgorithm, t = u.enc;
3177
3177
  t.Utf8;
@@ -3704,12 +3704,12 @@ function ge() {
3704
3704
  });
3705
3705
  })(oi)), oi.exports;
3706
3706
  }
3707
- var mi = { exports: {} }, ar = mi.exports, Ft;
3708
- function ir() {
3709
- return Ft || (Ft = 1, (function(e, s) {
3707
+ var mi = { exports: {} }, er = mi.exports, Pt;
3708
+ function ar() {
3709
+ return Pt || (Pt = 1, (function(e, s) {
3710
3710
  (function(n, a, u) {
3711
3711
  e.exports = a($(), ge());
3712
- })(ar, function(n) {
3712
+ })(er, function(n) {
3713
3713
  return n.mode.CFB = (function() {
3714
3714
  var a = n.lib.BlockCipherMode.extend();
3715
3715
  a.Encryptor = a.extend({
@@ -3734,12 +3734,12 @@ function ir() {
3734
3734
  });
3735
3735
  })(mi)), mi.exports;
3736
3736
  }
3737
- var si = { exports: {} }, tr = si.exports, wt;
3738
- function nr() {
3739
- return wt || (wt = 1, (function(e, s) {
3737
+ var si = { exports: {} }, ir = si.exports, Ft;
3738
+ function tr() {
3739
+ return Ft || (Ft = 1, (function(e, s) {
3740
3740
  (function(n, a, u) {
3741
3741
  e.exports = a($(), ge());
3742
- })(tr, function(n) {
3742
+ })(ir, function(n) {
3743
3743
  return n.mode.CTR = (function() {
3744
3744
  var a = n.lib.BlockCipherMode.extend(), u = a.Encryptor = a.extend({
3745
3745
  processBlock: function(p, y) {
@@ -3756,12 +3756,12 @@ function nr() {
3756
3756
  });
3757
3757
  })(si)), si.exports;
3758
3758
  }
3759
- var ui = { exports: {} }, lr = ui.exports, Ot;
3760
- function rr() {
3761
- return Ot || (Ot = 1, (function(e, s) {
3759
+ var ui = { exports: {} }, nr = ui.exports, wt;
3760
+ function lr() {
3761
+ return wt || (wt = 1, (function(e, s) {
3762
3762
  (function(n, a, u) {
3763
3763
  e.exports = a($(), ge());
3764
- })(lr, function(n) {
3764
+ })(nr, function(n) {
3765
3765
  return n.mode.CTRGladman = (function() {
3766
3766
  var a = n.lib.BlockCipherMode.extend();
3767
3767
  function u(d) {
@@ -3790,12 +3790,12 @@ function rr() {
3790
3790
  });
3791
3791
  })(ui)), ui.exports;
3792
3792
  }
3793
- var pi = { exports: {} }, or = pi.exports, At;
3794
- function mr() {
3795
- return At || (At = 1, (function(e, s) {
3793
+ var pi = { exports: {} }, rr = pi.exports, Ot;
3794
+ function or() {
3795
+ return Ot || (Ot = 1, (function(e, s) {
3796
3796
  (function(n, a, u) {
3797
3797
  e.exports = a($(), ge());
3798
- })(or, function(n) {
3798
+ })(rr, function(n) {
3799
3799
  return n.mode.OFB = (function() {
3800
3800
  var a = n.lib.BlockCipherMode.extend(), u = a.Encryptor = a.extend({
3801
3801
  processBlock: function(p, y) {
@@ -3810,12 +3810,12 @@ function mr() {
3810
3810
  });
3811
3811
  })(pi)), pi.exports;
3812
3812
  }
3813
- var gi = { exports: {} }, sr = gi.exports, Bt;
3814
- function ur() {
3815
- return Bt || (Bt = 1, (function(e, s) {
3813
+ var gi = { exports: {} }, mr = gi.exports, At;
3814
+ function sr() {
3815
+ return At || (At = 1, (function(e, s) {
3816
3816
  (function(n, a, u) {
3817
3817
  e.exports = a($(), ge());
3818
- })(sr, function(n) {
3818
+ })(mr, function(n) {
3819
3819
  return n.mode.ECB = (function() {
3820
3820
  var a = n.lib.BlockCipherMode.extend();
3821
3821
  return a.Encryptor = a.extend({
@@ -3831,12 +3831,12 @@ function ur() {
3831
3831
  });
3832
3832
  })(gi)), gi.exports;
3833
3833
  }
3834
- var di = { exports: {} }, pr = di.exports, Ht;
3835
- function gr() {
3836
- return Ht || (Ht = 1, (function(e, s) {
3834
+ var di = { exports: {} }, ur = di.exports, Bt;
3835
+ function pr() {
3836
+ return Bt || (Bt = 1, (function(e, s) {
3837
3837
  (function(n, a, u) {
3838
3838
  e.exports = a($(), ge());
3839
- })(pr, function(n) {
3839
+ })(ur, function(n) {
3840
3840
  return n.pad.AnsiX923 = {
3841
3841
  pad: function(a, u) {
3842
3842
  var p = a.sigBytes, y = u * 4, d = y - p % y, g = p + d - 1;
@@ -3850,12 +3850,12 @@ function gr() {
3850
3850
  });
3851
3851
  })(di)), di.exports;
3852
3852
  }
3853
- var ci = { exports: {} }, dr = ci.exports, Wt;
3854
- function cr() {
3855
- return Wt || (Wt = 1, (function(e, s) {
3853
+ var ci = { exports: {} }, gr = ci.exports, Ht;
3854
+ function dr() {
3855
+ return Ht || (Ht = 1, (function(e, s) {
3856
3856
  (function(n, a, u) {
3857
3857
  e.exports = a($(), ge());
3858
- })(dr, function(n) {
3858
+ })(gr, function(n) {
3859
3859
  return n.pad.Iso10126 = {
3860
3860
  pad: function(a, u) {
3861
3861
  var p = u * 4, y = p - a.sigBytes % p;
@@ -3869,12 +3869,12 @@ function cr() {
3869
3869
  });
3870
3870
  })(ci)), ci.exports;
3871
3871
  }
3872
- var fi = { exports: {} }, fr = fi.exports, zt;
3873
- function _r() {
3874
- return zt || (zt = 1, (function(e, s) {
3872
+ var fi = { exports: {} }, cr = fi.exports, Wt;
3873
+ function fr() {
3874
+ return Wt || (Wt = 1, (function(e, s) {
3875
3875
  (function(n, a, u) {
3876
3876
  e.exports = a($(), ge());
3877
- })(fr, function(n) {
3877
+ })(cr, function(n) {
3878
3878
  return n.pad.Iso97971 = {
3879
3879
  pad: function(a, u) {
3880
3880
  a.concat(n.lib.WordArray.create([2147483648], 1)), n.pad.ZeroPadding.pad(a, u);
@@ -3886,12 +3886,12 @@ function _r() {
3886
3886
  });
3887
3887
  })(fi)), fi.exports;
3888
3888
  }
3889
- var _i = { exports: {} }, Ur = _i.exports, Vt;
3890
- function yr() {
3891
- return Vt || (Vt = 1, (function(e, s) {
3889
+ var _i = { exports: {} }, _r = _i.exports, zt;
3890
+ function Ur() {
3891
+ return zt || (zt = 1, (function(e, s) {
3892
3892
  (function(n, a, u) {
3893
3893
  e.exports = a($(), ge());
3894
- })(Ur, function(n) {
3894
+ })(_r, function(n) {
3895
3895
  return n.pad.ZeroPadding = {
3896
3896
  pad: function(a, u) {
3897
3897
  var p = u * 4;
@@ -3908,12 +3908,12 @@ function yr() {
3908
3908
  });
3909
3909
  })(_i)), _i.exports;
3910
3910
  }
3911
- var Ui = { exports: {} }, br = Ui.exports, Zt;
3912
- function Cr() {
3913
- return Zt || (Zt = 1, (function(e, s) {
3911
+ var Ui = { exports: {} }, yr = Ui.exports, Vt;
3912
+ function br() {
3913
+ return Vt || (Vt = 1, (function(e, s) {
3914
3914
  (function(n, a, u) {
3915
3915
  e.exports = a($(), ge());
3916
- })(br, function(n) {
3916
+ })(yr, function(n) {
3917
3917
  return n.pad.NoPadding = {
3918
3918
  pad: function() {
3919
3919
  },
@@ -3923,12 +3923,12 @@ function Cr() {
3923
3923
  });
3924
3924
  })(Ui)), Ui.exports;
3925
3925
  }
3926
- var yi = { exports: {} }, vr = yi.exports, Jt;
3927
- function Tr() {
3928
- return Jt || (Jt = 1, (function(e, s) {
3926
+ var yi = { exports: {} }, Cr = yi.exports, Zt;
3927
+ function vr() {
3928
+ return Zt || (Zt = 1, (function(e, s) {
3929
3929
  (function(n, a, u) {
3930
3930
  e.exports = a($(), ge());
3931
- })(vr, function(n) {
3931
+ })(Cr, function(n) {
3932
3932
  return (function(a) {
3933
3933
  var u = n, p = u.lib, y = p.CipherParams, d = u.enc, g = d.Hex, t = u.format;
3934
3934
  t.Hex = {
@@ -3970,12 +3970,12 @@ function Tr() {
3970
3970
  });
3971
3971
  })(yi)), yi.exports;
3972
3972
  }
3973
- var bi = { exports: {} }, hr = bi.exports, It;
3974
- function kr() {
3975
- return It || (It = 1, (function(e, s) {
3973
+ var bi = { exports: {} }, Tr = bi.exports, Jt;
3974
+ function hr() {
3975
+ return Jt || (Jt = 1, (function(e, s) {
3976
3976
  (function(n, a, u) {
3977
3977
  e.exports = a($(), na(), la(), Ke(), ge());
3978
- })(hr, function(n) {
3978
+ })(Tr, function(n) {
3979
3979
  return (function() {
3980
3980
  var a = n, u = a.lib, p = u.BlockCipher, y = a.algo, d = [], g = [], t = [], i = [], m = [], l = [], r = [], o = [], _ = [], f = [];
3981
3981
  (function() {
@@ -4030,12 +4030,12 @@ function kr() {
4030
4030
  });
4031
4031
  })(bi)), bi.exports;
4032
4032
  }
4033
- var Ci = { exports: {} }, xr = Ci.exports, Kt;
4034
- function Sr() {
4035
- return Kt || (Kt = 1, (function(e, s) {
4033
+ var Ci = { exports: {} }, kr = Ci.exports, It;
4034
+ function xr() {
4035
+ return It || (It = 1, (function(e, s) {
4036
4036
  (function(n, a, u) {
4037
4037
  e.exports = a($(), na(), la(), Ke(), ge());
4038
- })(xr, function(n) {
4038
+ })(kr, function(n) {
4039
4039
  return (function() {
4040
4040
  var a = n, u = a.lib, p = u.WordArray, y = u.BlockCipher, d = a.algo, g = [
4041
4041
  57,
@@ -4750,12 +4750,12 @@ function Sr() {
4750
4750
  });
4751
4751
  })(Ci)), Ci.exports;
4752
4752
  }
4753
- var vi = { exports: {} }, Dr = vi.exports, qt;
4754
- function Er() {
4755
- return qt || (qt = 1, (function(e, s) {
4753
+ var vi = { exports: {} }, Sr = vi.exports, Kt;
4754
+ function Dr() {
4755
+ return Kt || (Kt = 1, (function(e, s) {
4756
4756
  (function(n, a, u) {
4757
4757
  e.exports = a($(), na(), la(), Ke(), ge());
4758
- })(Dr, function(n) {
4758
+ })(Sr, function(n) {
4759
4759
  return (function() {
4760
4760
  var a = n, u = a.lib, p = u.StreamCipher, y = a.algo, d = y.RC4 = p.extend({
4761
4761
  _doReset: function() {
@@ -4804,12 +4804,12 @@ function Er() {
4804
4804
  });
4805
4805
  })(vi)), vi.exports;
4806
4806
  }
4807
- var Ti = { exports: {} }, Nr = Ti.exports, jt;
4808
- function Lr() {
4809
- return jt || (jt = 1, (function(e, s) {
4807
+ var Ti = { exports: {} }, Er = Ti.exports, qt;
4808
+ function Nr() {
4809
+ return qt || (qt = 1, (function(e, s) {
4810
4810
  (function(n, a, u) {
4811
4811
  e.exports = a($(), na(), la(), Ke(), ge());
4812
- })(Nr, function(n) {
4812
+ })(Er, function(n) {
4813
4813
  return (function() {
4814
4814
  var a = n, u = a.lib, p = u.StreamCipher, y = a.algo, d = [], g = [], t = [], i = y.Rabbit = p.extend({
4815
4815
  _doReset: function() {
@@ -4870,12 +4870,12 @@ function Lr() {
4870
4870
  });
4871
4871
  })(Ti)), Ti.exports;
4872
4872
  }
4873
- var hi = { exports: {} }, Gr = hi.exports, $t;
4874
- function Mr() {
4875
- return $t || ($t = 1, (function(e, s) {
4873
+ var hi = { exports: {} }, Lr = hi.exports, jt;
4874
+ function Gr() {
4875
+ return jt || (jt = 1, (function(e, s) {
4876
4876
  (function(n, a, u) {
4877
4877
  e.exports = a($(), na(), la(), Ke(), ge());
4878
- })(Gr, function(n) {
4878
+ })(Lr, function(n) {
4879
4879
  return (function() {
4880
4880
  var a = n, u = a.lib, p = u.StreamCipher, y = a.algo, d = [], g = [], t = [], i = y.RabbitLegacy = p.extend({
4881
4881
  _doReset: function() {
@@ -4934,12 +4934,12 @@ function Mr() {
4934
4934
  });
4935
4935
  })(hi)), hi.exports;
4936
4936
  }
4937
- var ki = { exports: {} }, Rr = ki.exports, Qt;
4938
- function Pr() {
4939
- return Qt || (Qt = 1, (function(e, s) {
4937
+ var ki = { exports: {} }, Mr = ki.exports, $t;
4938
+ function Rr() {
4939
+ return $t || ($t = 1, (function(e, s) {
4940
4940
  (function(n, a, u) {
4941
4941
  e.exports = a($(), na(), la(), Ke(), ge());
4942
- })(Rr, function(n) {
4942
+ })(Mr, function(n) {
4943
4943
  return (function() {
4944
4944
  var a = n, u = a.lib, p = u.BlockCipher, y = a.algo;
4945
4945
  const d = 16, g = [
@@ -6056,18 +6056,18 @@ function Pr() {
6056
6056
  });
6057
6057
  })(ki)), ki.exports;
6058
6058
  }
6059
- var Fr = Va.exports, Yt;
6060
- function wr() {
6061
- return Yt || (Yt = 1, (function(e, s) {
6059
+ var Pr = Va.exports, Qt;
6060
+ function Fr() {
6061
+ return Qt || (Qt = 1, (function(e, s) {
6062
6062
  (function(n, a, u) {
6063
- e.exports = a($(), Ei(), Ml(), Pl(), na(), Ol(), la(), On(), Yi(), zl(), An(), Jl(), Kl(), jl(), Xi(), Yl(), Ke(), ge(), ir(), nr(), rr(), mr(), ur(), gr(), cr(), _r(), yr(), Cr(), Tr(), kr(), Sr(), Er(), Lr(), Mr(), Pr());
6064
- })(Fr, function(n) {
6063
+ e.exports = a($(), Ei(), Gl(), Rl(), na(), wl(), la(), wn(), Qi(), Wl(), On(), Zl(), Il(), ql(), Yi(), Ql(), Ke(), ge(), ar(), tr(), lr(), or(), sr(), pr(), dr(), fr(), Ur(), br(), vr(), hr(), xr(), Dr(), Nr(), Gr(), Rr());
6064
+ })(Pr, function(n) {
6065
6065
  return n;
6066
6066
  });
6067
6067
  })(Va)), Va.exports;
6068
6068
  }
6069
- var Bn = wr();
6070
- const Ye = /* @__PURE__ */ Qi(Bn), Ie = (e) => {
6069
+ var An = Fr();
6070
+ const Ye = /* @__PURE__ */ $i(An), Ie = (e) => {
6071
6071
  const s = "mySecretPassphrase", n = Ye.lib.WordArray.random(16), a = Ye.PBKDF2(s, n, {
6072
6072
  keySize: 128 / 32,
6073
6073
  iterations: 1e3
@@ -6256,9 +6256,9 @@ const Ye = /* @__PURE__ */ Qi(Bn), Ie = (e) => {
6256
6256
  abandonPointsApi: k,
6257
6257
  lineLoginApi: x
6258
6258
  };
6259
- }, gm = ({ otherQueryKey: e = [], options: s = {} } = {}) => {
6259
+ }, pm = ({ otherQueryKey: e = [], options: s = {} } = {}) => {
6260
6260
  const { userCurrencyExchangeApi: n } = se(), { getToken: a } = ie(), { enabled: u, ...p } = s, d = !!a?.() && (u ? u.every((g) => g) : !0);
6261
- return hn({
6261
+ return Tn({
6262
6262
  queries: [
6263
6263
  {
6264
6264
  queryKey: ["userCurrencyExchange", ...e],
@@ -6270,13 +6270,13 @@ const Ye = /* @__PURE__ */ Qi(Bn), Ie = (e) => {
6270
6270
  }
6271
6271
  ]
6272
6272
  });
6273
- }, dm = ({
6273
+ }, gm = ({
6274
6274
  refetchInterval: e = 5e4,
6275
6275
  trigger: s = [],
6276
6276
  enabled: n = !0
6277
6277
  } = {}) => {
6278
6278
  const { getToken: a } = ie(), u = a?.(), { userInfoApi: p } = se();
6279
- return hn({
6279
+ return Tn({
6280
6280
  queries: [
6281
6281
  {
6282
6282
  queryKey: ["getMemberInfo", ...s],
@@ -6286,7 +6286,7 @@ const Ye = /* @__PURE__ */ Qi(Bn), Ie = (e) => {
6286
6286
  }
6287
6287
  ]
6288
6288
  });
6289
- }, cm = ({ enabled: e = !0 } = {}) => {
6289
+ }, dm = ({ enabled: e = !0 } = {}) => {
6290
6290
  const {
6291
6291
  userInfoApi: s,
6292
6292
  userFavoriteGameApi: n,
@@ -6315,7 +6315,7 @@ const Ye = /* @__PURE__ */ Qi(Bn), Ie = (e) => {
6315
6315
  d,
6316
6316
  g
6317
6317
  ];
6318
- }, et = () => {
6318
+ }, Xi = () => {
6319
6319
  const { client: e, lng: s } = ie(), n = Me(s || "tw"), a = J(
6320
6320
  async (y) => {
6321
6321
  const {
@@ -6381,31 +6381,31 @@ const Ye = /* @__PURE__ */ Qi(Bn), Ie = (e) => {
6381
6381
  [e]
6382
6382
  );
6383
6383
  return { playGameApi: a, betRecordApi: u, betRecordDetailApi: p };
6384
- }, Or = ({ options: e, formData: s } = {}) => {
6385
- const { betRecordApi: n } = et();
6384
+ }, wr = ({ options: e, formData: s } = {}) => {
6385
+ const { betRecordApi: n } = Xi();
6386
6386
  return X({
6387
6387
  queryKey: ["getBetRecord"],
6388
6388
  queryFn: async () => await n(s),
6389
- select: (a) => xn(a).map(([p, y]) => ({
6389
+ select: (a) => kn(a).map(([p, y]) => ({
6390
6390
  ...y,
6391
6391
  platform: p
6392
6392
  })),
6393
6393
  ...e
6394
6394
  });
6395
- }, Ar = ({ options: e, formData: s } = {}) => {
6396
- const { betRecordDetailApi: n } = et();
6395
+ }, Or = ({ options: e, formData: s } = {}) => {
6396
+ const { betRecordDetailApi: n } = Xi();
6397
6397
  return X({
6398
6398
  queryKey: ["getBetRecordDetail"],
6399
6399
  queryFn: async () => await n(s),
6400
6400
  ...e
6401
6401
  });
6402
- }, fm = ({
6402
+ }, cm = ({
6403
6403
  options: e = {
6404
6404
  betRecord: {},
6405
6405
  betRecordDetail: {}
6406
6406
  }
6407
6407
  }) => {
6408
- const s = Or({ options: e.betRecord }), n = Ar({
6408
+ const s = wr({ options: e.betRecord }), n = Or({
6409
6409
  options: e.betRecordDetail
6410
6410
  });
6411
6411
  return {
@@ -6413,9 +6413,9 @@ const Ye = /* @__PURE__ */ Qi(Bn), Ie = (e) => {
6413
6413
  betRecordDetail: n
6414
6414
  };
6415
6415
  };
6416
- var Hi = {}, ke = {}, Wi = {}, Xt;
6416
+ var Hi = {}, ke = {}, Wi = {}, Yt;
6417
6417
  function Re() {
6418
- return Xt || (Xt = 1, (function(e) {
6418
+ return Yt || (Yt = 1, (function(e) {
6419
6419
  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;
6420
6420
  var s = 1, n = 1e3 * s;
6421
6421
  e.DEFAULT_OPTIONS = {}, e.EMPTY_EVENT_HANDLERS = {}, e.DEFAULT_EVENT_SOURCE_OPTIONS = {
@@ -6440,9 +6440,9 @@ function Re() {
6440
6440
  e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && u();
6441
6441
  })(Wi)), Wi;
6442
6442
  }
6443
- var Ca = {}, zi = {}, en;
6444
- function at() {
6445
- return en || (en = 1, (function(e) {
6443
+ var Ca = {}, zi = {}, Xt;
6444
+ function et() {
6445
+ return Xt || (Xt = 1, (function(e) {
6446
6446
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
6447
6447
  var s = function(n) {
6448
6448
  if (n && e.sharedWebSockets.hasOwnProperty(n))
@@ -6454,10 +6454,10 @@ function at() {
6454
6454
  e.resetWebSockets = s;
6455
6455
  })(zi)), zi;
6456
6456
  }
6457
- var Xe = {}, Ae = {}, an;
6458
- function it() {
6459
- if (an) return Ae;
6460
- an = 1, Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.setUpSocketIOPing = Ae.appendQueryParams = Ae.parseSocketIOUrl = void 0;
6457
+ var Xe = {}, Ae = {}, en;
6458
+ function at() {
6459
+ if (en) return Ae;
6460
+ en = 1, Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.setUpSocketIOPing = Ae.appendQueryParams = Ae.parseSocketIOUrl = void 0;
6461
6461
  var e = Re(), s = function(u) {
6462
6462
  if (u) {
6463
6463
  var p = /^https|wss/.test(u), y = u.replace(/^(https?|wss?)(:\/\/)?/, ""), d = y.replace(/\/$/, ""), g = p ? "wss" : "ws";
@@ -6487,10 +6487,10 @@ function it() {
6487
6487
  };
6488
6488
  return Ae.setUpSocketIOPing = a, Ae;
6489
6489
  }
6490
- var Aa = {}, tn;
6491
- function Hn() {
6492
- if (tn) return Aa;
6493
- tn = 1, Object.defineProperty(Aa, "__esModule", { value: !0 }), Aa.heartbeat = n;
6490
+ var Aa = {}, an;
6491
+ function Bn() {
6492
+ if (an) return Aa;
6493
+ an = 1, Object.defineProperty(Aa, "__esModule", { value: !0 }), Aa.heartbeat = n;
6494
6494
  var e = Re();
6495
6495
  function s(a) {
6496
6496
  return Array.isArray(a) ? a.reduce(function(u, p) {
@@ -6516,9 +6516,9 @@ function Hn() {
6516
6516
  }
6517
6517
  return Aa;
6518
6518
  }
6519
- var va = {}, Vi = {}, nn;
6520
- function tt() {
6521
- return nn || (nn = 1, (function(e) {
6519
+ var va = {}, Vi = {}, tn;
6520
+ function it() {
6521
+ return tn || (tn = 1, (function(e) {
6522
6522
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
6523
6523
  var s = {}, n = [], a = function(g) {
6524
6524
  return (0, e.hasSubscribers)(g) ? Array.from(s[g]) : n;
@@ -6547,11 +6547,11 @@ function tt() {
6547
6547
  e.resetSubscribers = d;
6548
6548
  })(Vi)), Vi;
6549
6549
  }
6550
- var ln;
6551
- function nt() {
6552
- if (ln) return va;
6553
- ln = 1, Object.defineProperty(va, "__esModule", { value: !0 }), va.assertIsWebSocket = n, va.resetGlobalState = a;
6554
- var e = at(), s = tt();
6550
+ var nn;
6551
+ function tt() {
6552
+ if (nn) return va;
6553
+ nn = 1, Object.defineProperty(va, "__esModule", { value: !0 }), va.assertIsWebSocket = n, va.resetGlobalState = a;
6554
+ var e = et(), s = it();
6555
6555
  function n(u, p) {
6556
6556
  if (!p && !(u instanceof WebSocket))
6557
6557
  throw new Error("");
@@ -6561,10 +6561,10 @@ function nt() {
6561
6561
  }
6562
6562
  return va;
6563
6563
  }
6564
- var rn;
6565
- function Br() {
6566
- if (rn) return Xe;
6567
- rn = 1;
6564
+ var ln;
6565
+ function Ar() {
6566
+ if (ln) return Xe;
6567
+ ln = 1;
6568
6568
  var e = Xe && Xe.__assign || function() {
6569
6569
  return e = Object.assign || function(i) {
6570
6570
  for (var m, l = 1, r = arguments.length; l < r; l++) {
@@ -6575,7 +6575,7 @@ function Br() {
6575
6575
  }, e.apply(this, arguments);
6576
6576
  };
6577
6577
  Object.defineProperty(Xe, "__esModule", { value: !0 }), Xe.attachListeners = void 0;
6578
- var s = it(), n = Hn(), a = Re(), u = nt(), p = function(i, m, l, r) {
6578
+ var s = at(), n = Bn(), a = Re(), u = tt(), p = function(i, m, l, r) {
6579
6579
  i.onmessage = function(o) {
6580
6580
  var _;
6581
6581
  m.current.onMessage && m.current.onMessage(o), typeof r?.current == "number" && (r.current = Date.now()), !(typeof m.current.filter == "function" && m.current.filter(o) !== !0) && (m.current.heartbeat && typeof m.current.heartbeat != "boolean" && ((_ = m.current.heartbeat) === null || _ === void 0 ? void 0 : _.returnMessage) === o.data || l(o));
@@ -6631,10 +6631,10 @@ function Br() {
6631
6631
  };
6632
6632
  return Xe.attachListeners = t, Xe;
6633
6633
  }
6634
- var ea = {}, on;
6635
- function Hr() {
6636
- if (on) return ea;
6637
- on = 1;
6634
+ var ea = {}, rn;
6635
+ function Br() {
6636
+ if (rn) return ea;
6637
+ rn = 1;
6638
6638
  var e = ea && ea.__assign || function() {
6639
6639
  return e = Object.assign || function(m) {
6640
6640
  for (var l, r = 1, o = arguments.length; r < o; r++) {
@@ -6645,7 +6645,7 @@ function Hr() {
6645
6645
  }, e.apply(this, arguments);
6646
6646
  };
6647
6647
  Object.defineProperty(ea, "__esModule", { value: !0 }), ea.attachSharedListeners = void 0;
6648
- var s = at(), n = Re(), a = tt(), u = it(), p = Hn(), y = function(m, l, r) {
6648
+ var s = et(), n = Re(), a = it(), u = at(), p = Bn(), y = function(m, l, r) {
6649
6649
  m.onmessage = function(o) {
6650
6650
  (0, a.getSubscribers)(l).forEach(function(_) {
6651
6651
  var f;
@@ -6693,11 +6693,11 @@ function Hr() {
6693
6693
  };
6694
6694
  return ea.attachSharedListeners = i, ea;
6695
6695
  }
6696
- var mn;
6697
- function Wr() {
6698
- if (mn) return Ca;
6699
- mn = 1, Object.defineProperty(Ca, "__esModule", { value: !0 }), Ca.createOrJoinSocket = void 0;
6700
- var e = at(), s = Re(), n = Br(), a = Hr(), u = tt(), p = function(d, g, t, i, m) {
6696
+ var on;
6697
+ function Hr() {
6698
+ if (on) return Ca;
6699
+ on = 1, Object.defineProperty(Ca, "__esModule", { value: !0 }), Ca.createOrJoinSocket = void 0;
6700
+ var e = et(), s = Re(), n = Ar(), a = Br(), u = it(), p = function(d, g, t, i, m) {
6701
6701
  return function() {
6702
6702
  if ((0, u.removeSubscriber)(d, g), !(0, u.hasSubscribers)(d)) {
6703
6703
  try {
@@ -6736,9 +6736,9 @@ function Wr() {
6736
6736
  };
6737
6737
  return Ca.createOrJoinSocket = y, Ca;
6738
6738
  }
6739
- var Be = {}, sn;
6740
- function zr() {
6741
- return sn || (sn = 1, (function(e) {
6739
+ var Be = {}, mn;
6740
+ function Wr() {
6741
+ return mn || (mn = 1, (function(e) {
6742
6742
  var s = Be && Be.__awaiter || function(g, t, i, m) {
6743
6743
  function l(r) {
6744
6744
  return r instanceof i ? r : new i(function(o) {
@@ -6830,7 +6830,7 @@ function zr() {
6830
6830
  return g.concat(r || Array.prototype.slice.call(t));
6831
6831
  };
6832
6832
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
6833
- var u = it(), p = Re(), y = function(g) {
6833
+ var u = at(), p = Re(), y = function(g) {
6834
6834
  return new Promise(function(t) {
6835
6835
  return window.setTimeout(t, g);
6836
6836
  });
@@ -6873,9 +6873,9 @@ function zr() {
6873
6873
  e.getUrl = d;
6874
6874
  })(Be)), Be;
6875
6875
  }
6876
- var Zi = {}, un;
6877
- function Vr() {
6878
- return un || (un = 1, (function(e) {
6876
+ var Zi = {}, sn;
6877
+ function zr() {
6878
+ return sn || (sn = 1, (function(e) {
6879
6879
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
6880
6880
  var s = function(n, a) {
6881
6881
  return new Proxy(n, {
@@ -6892,10 +6892,10 @@ function Vr() {
6892
6892
  e.websocketWrapper = s, e.default = e.websocketWrapper;
6893
6893
  })(Zi)), Zi;
6894
6894
  }
6895
- var pn;
6896
- function lt() {
6897
- if (pn) return ke;
6898
- pn = 1;
6895
+ var un;
6896
+ function nt() {
6897
+ if (un) return ke;
6898
+ un = 1;
6899
6899
  var e = ke && ke.__assign || function() {
6900
6900
  return e = Object.assign || function(l) {
6901
6901
  for (var r, o = 1, _ = arguments.length; o < _; o++) {
@@ -6993,7 +6993,7 @@ function lt() {
6993
6993
  return l && l.__esModule ? l : { default: l };
6994
6994
  };
6995
6995
  Object.defineProperty(ke, "__esModule", { value: !0 }), ke.useWebSocket = void 0;
6996
- var u = xa, p = dl, y = Re(), d = Wr(), g = zr(), t = a(Vr()), i = nt(), m = function(l, r, o) {
6996
+ var u = xa, p = gl, y = Re(), d = Hr(), g = Wr(), t = a(zr()), i = tt(), m = function(l, r, o) {
6997
6997
  r === void 0 && (r = y.DEFAULT_OPTIONS), o === void 0 && (o = !0);
6998
6998
  var _ = (0, u.useState)(null), f = _[0], U = _[1], c = (0, u.useState)({}), b = c[0], C = c[1], k = (0, u.useMemo)(function() {
6999
6999
  if (!r.disableJson && f)
@@ -7078,10 +7078,10 @@ function lt() {
7078
7078
  };
7079
7079
  return ke.useWebSocket = m, ke;
7080
7080
  }
7081
- var aa = {}, gn;
7082
- function Zr() {
7083
- if (gn) return aa;
7084
- gn = 1;
7081
+ var aa = {}, pn;
7082
+ function Vr() {
7083
+ if (pn) return aa;
7084
+ pn = 1;
7085
7085
  var e = aa && aa.__assign || function() {
7086
7086
  return e = Object.assign || function(d) {
7087
7087
  for (var g, t = 1, i = arguments.length; t < i; t++) {
@@ -7092,7 +7092,7 @@ function Zr() {
7092
7092
  }, e.apply(this, arguments);
7093
7093
  };
7094
7094
  Object.defineProperty(aa, "__esModule", { value: !0 }), aa.useSocketIO = void 0;
7095
- var s = xa, n = lt(), a = Re(), u = {
7095
+ var s = xa, n = nt(), a = Re(), u = {
7096
7096
  type: "empty",
7097
7097
  payload: null
7098
7098
  }, p = function(d) {
@@ -7124,10 +7124,10 @@ function Zr() {
7124
7124
  };
7125
7125
  return aa.useSocketIO = y, aa;
7126
7126
  }
7127
- var He = {}, dn;
7128
- function Jr() {
7129
- if (dn) return He;
7130
- dn = 1;
7127
+ var He = {}, gn;
7128
+ function Zr() {
7129
+ if (gn) return He;
7130
+ gn = 1;
7131
7131
  var e = He && He.__assign || function() {
7132
7132
  return e = Object.assign || function(y) {
7133
7133
  for (var d, g = 1, t = arguments.length; g < t; g++) {
@@ -7145,7 +7145,7 @@ function Jr() {
7145
7145
  return g;
7146
7146
  };
7147
7147
  Object.defineProperty(He, "__esModule", { value: !0 }), He.useEventSource = void 0;
7148
- var n = xa, a = lt(), u = Re(), p = function(y, d, g) {
7148
+ var n = xa, a = nt(), u = Re(), p = function(y, d, g) {
7149
7149
  d === void 0 && (d = u.DEFAULT_EVENT_SOURCE_OPTIONS);
7150
7150
  var t = d.withCredentials, i = d.events, m = s(d, ["withCredentials", "events"]);
7151
7151
  g === void 0 && (g = !0);
@@ -7167,15 +7167,15 @@ function Jr() {
7167
7167
  };
7168
7168
  return He.useEventSource = p, He;
7169
7169
  }
7170
- var cn;
7171
- function Ir() {
7172
- return cn || (cn = 1, (function(e) {
7170
+ var dn;
7171
+ function Jr() {
7172
+ return dn || (dn = 1, (function(e) {
7173
7173
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
7174
- var s = lt();
7174
+ var s = nt();
7175
7175
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
7176
7176
  return s.useWebSocket;
7177
7177
  } });
7178
- var n = Zr();
7178
+ var n = Vr();
7179
7179
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
7180
7180
  return n.useSocketIO;
7181
7181
  } });
@@ -7183,25 +7183,25 @@ function Ir() {
7183
7183
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
7184
7184
  return a.ReadyState;
7185
7185
  } });
7186
- var u = Jr();
7186
+ var u = Zr();
7187
7187
  Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
7188
7188
  return u.useEventSource;
7189
7189
  } });
7190
- var p = nt();
7190
+ var p = tt();
7191
7191
  Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
7192
7192
  return p.resetGlobalState;
7193
7193
  } });
7194
7194
  })(Hi)), Hi;
7195
7195
  }
7196
- var Kr = Ir();
7197
- const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7196
+ var Ir = Jr();
7197
+ const Kr = /* @__PURE__ */ $i(Ir), qr = ({
7198
7198
  enable: e = !1,
7199
7199
  isTestFunction: s = !1,
7200
7200
  isTransferMode: n = !1,
7201
7201
  isInGameBox: a = !1,
7202
7202
  currentGamePlatform: u = ""
7203
7203
  }) => {
7204
- const { store: p, lng: y } = ie(), { isReady: d, setAsReady: g, isPending: t, setAsPending: i } = En(), m = Me(y), { mutateAsync: l } = Ho();
7204
+ const { store: p, lng: y } = ie(), { isReady: d, setAsReady: g, isPending: t, setAsPending: i } = Dn(), m = Me(y), { mutateAsync: l } = Bo();
7205
7205
  return !e || !s || !n ? { handleTransferInGame: () => {
7206
7206
  } } : { handleTransferInGame: async () => {
7207
7207
  console.log("執行遊戲內轉帳"), a && await l({
@@ -7253,7 +7253,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7253
7253
  CASH_REGISTER_LIMIT: "cash_register_limit",
7254
7254
  UPDATE_ONLY_ONE_MEMBER: "update_only_one_member",
7255
7255
  GAME_MAINTAIN: "game_maintain"
7256
- }, $r = 3e4, _m = ({
7256
+ }, jr = 3e4, fm = ({
7257
7257
  socketUrl: e,
7258
7258
  socketHandlers: s = {},
7259
7259
  options: n = {},
@@ -7266,13 +7266,13 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7266
7266
  },
7267
7267
  enableNotification: p = !1
7268
7268
  }) => {
7269
- const { store: y, lng: d } = ie(), g = kn(), { isReady: t, setAsReady: i, isPending: m, setAsPending: l } = En(), r = Me(d), o = Wa(!1), _ = Wa(s), f = me(a, "uid", null);
7269
+ const { store: y, lng: d } = ie(), g = hn(), { isReady: t, setAsReady: i, isPending: m, setAsPending: l } = Dn(), r = Me(d), o = Wa(!1), _ = Wa(s), f = me(a, "uid", null);
7270
7270
  me(a, "testFunction", 0);
7271
7271
  const U = me(
7272
7272
  u,
7273
7273
  "enableTransferInGaming",
7274
7274
  !1
7275
- ), { handleTransferInGame: c } = jr({
7275
+ ), { handleTransferInGame: c } = qr({
7276
7276
  enable: U,
7277
7277
  isTestFunction: !0,
7278
7278
  isTransferMode: me(u, "isTransferMode", !1),
@@ -7289,7 +7289,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7289
7289
  readyState: x
7290
7290
  // WebSocket 連線狀態
7291
7291
  // getWebSocket, // 獲取 WebSocket 實例
7292
- } = qr(e, {
7292
+ } = Kr(e, {
7293
7293
  queryParams: { key: "wsky" },
7294
7294
  onOpen: () => console.log("連線成功"),
7295
7295
  shouldReconnect: () => o.current === !1,
@@ -7306,7 +7306,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7306
7306
  ia(() => {
7307
7307
  const v = setInterval(
7308
7308
  () => b("ping"),
7309
- $r
7309
+ jr
7310
7310
  );
7311
7311
  return () => clearInterval(v);
7312
7312
  }, [b]);
@@ -7495,7 +7495,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7495
7495
  checkEventStatusApi: u,
7496
7496
  redeemEventRewardApi: a
7497
7497
  };
7498
- }, Qr = ({ paramsData: e, options: s } = {}) => {
7498
+ }, $r = ({ paramsData: e, options: s } = {}) => {
7499
7499
  const { store: n, lng: a } = ie(), { eventListApi: u } = Ni(), p = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", y = Me(a);
7500
7500
  return X({
7501
7501
  queryKey: ["eventList", e],
@@ -7553,8 +7553,8 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7553
7553
  // VIP 群組
7554
7554
  tagsGroup: i.tags_group,
7555
7555
  //標籤群組
7556
- eventBg: Ln(),
7557
- eventIcon: Nn(i.type)
7556
+ eventBg: Nn(),
7557
+ eventIcon: En(i.type)
7558
7558
  }, U = {
7559
7559
  isActive: l.attribute_is_active === 1,
7560
7560
  //是否啟用
@@ -7602,21 +7602,21 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7602
7602
  },
7603
7603
  ...s
7604
7604
  });
7605
- }, Um = ({ options: e } = {}) => {
7605
+ }, _m = ({ options: e } = {}) => {
7606
7606
  const { redeemEventRewardApi: s } = Ni();
7607
7607
  return ne({
7608
7608
  mutationKey: ["redeemEventReward"],
7609
7609
  mutationFn: async (n) => s(n),
7610
7610
  ...e
7611
7611
  });
7612
- }, Yr = ({ options: e, formData: s } = {}) => {
7612
+ }, Qr = ({ options: e, formData: s } = {}) => {
7613
7613
  const { checkCurrentEventProgessApi: n } = Ni();
7614
7614
  return X({
7615
7615
  queryKey: ["checkEventProgress"],
7616
7616
  queryFn: async () => n(s),
7617
7617
  ...e
7618
7618
  });
7619
- }, Xr = ({ options: e, formData: s } = {}) => {
7619
+ }, Yr = ({ options: e, formData: s } = {}) => {
7620
7620
  const { checkEventStatusApi: n } = Ni();
7621
7621
  return X({
7622
7622
  queryKey: ["checkEventStatus"],
@@ -7624,16 +7624,16 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7624
7624
  select: (a) => a.data.event_status,
7625
7625
  ...e
7626
7626
  });
7627
- }, ym = ({
7627
+ }, Um = ({
7628
7628
  options: e = {
7629
7629
  eventList: {},
7630
7630
  checkEventProgress: {},
7631
7631
  checkEventStatus: {}
7632
7632
  }
7633
7633
  } = {}) => {
7634
- const s = Qr({ options: e.eventList }), n = Yr({
7634
+ const s = $r({ options: e.eventList }), n = Qr({
7635
7635
  options: e.checkEventProgress
7636
- }), a = Xr({
7636
+ }), a = Yr({
7637
7637
  options: e.checkEventStatus
7638
7638
  });
7639
7639
  return {
@@ -7655,7 +7655,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7655
7655
  commonInboxApi: a,
7656
7656
  commonReadInboxApi: u
7657
7657
  };
7658
- }, bm = () => {
7658
+ }, ym = () => {
7659
7659
  const { lng: e, data2URL: s } = ie(), { commonCarouselApi: n } = Li(), a = Me(e);
7660
7660
  return X({
7661
7661
  queryKey: ["getCarouselList"],
@@ -7676,7 +7676,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7676
7676
  };
7677
7677
  })
7678
7678
  });
7679
- }, Cm = () => {
7679
+ }, bm = () => {
7680
7680
  const { lng: e } = ie(), { commonMarqueeApi: s } = Li(), n = Me(e);
7681
7681
  return X({
7682
7682
  queryKey: ["getMarqueeList"],
@@ -7689,7 +7689,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7689
7689
  return Te(u, (y) => y[n] || y["en-US"]);
7690
7690
  }
7691
7691
  });
7692
- }, vm = ({ options: e } = {}) => {
7692
+ }, Cm = ({ options: e } = {}) => {
7693
7693
  const { rankingGameApi: s } = se();
7694
7694
  return X({
7695
7695
  queryKey: ["rankingGame"],
@@ -7730,7 +7730,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7730
7730
  },
7731
7731
  ...e
7732
7732
  });
7733
- }, eo = ({ options: e } = {}) => {
7733
+ }, Xr = ({ options: e } = {}) => {
7734
7734
  const { commonInboxApi: s } = Li(), { getToken: n, lng: a } = ie(), u = n?.(), p = Me(a);
7735
7735
  return X({
7736
7736
  queryKey: ["inboxList"],
@@ -7751,25 +7751,25 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7751
7751
  enabled: !!u,
7752
7752
  ...e
7753
7753
  });
7754
- }, ao = ({ options: e } = {}) => {
7754
+ }, eo = ({ options: e } = {}) => {
7755
7755
  const { commonReadInboxApi: s } = Li();
7756
7756
  return ne({
7757
7757
  mutationKey: ["readInbox"],
7758
7758
  mutationFn: async (n) => await s(n),
7759
7759
  ...e
7760
7760
  });
7761
- }, Tm = ({
7761
+ }, vm = ({
7762
7762
  options: e = {
7763
7763
  inboxList: {},
7764
7764
  readInbox: {}
7765
7765
  }
7766
7766
  } = {}) => {
7767
- const s = eo({ options: e.inboxList }), n = ao({ options: e.readInbox });
7767
+ const s = Xr({ options: e.inboxList }), n = eo({ options: e.readInbox });
7768
7768
  return {
7769
7769
  inboxListQuery: s,
7770
7770
  readInboxMutation: n
7771
7771
  };
7772
- }, Wn = () => {
7772
+ }, Hn = () => {
7773
7773
  const { client: e } = ie();
7774
7774
  return {
7775
7775
  newsListApi: J(
@@ -7779,7 +7779,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7779
7779
  [e]
7780
7780
  )
7781
7781
  };
7782
- }, io = ({
7782
+ }, ao = ({
7783
7783
  typeConfig: e = {
7784
7784
  all: {},
7785
7785
  crypto: {},
@@ -7825,8 +7825,8 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7825
7825
  value: "other",
7826
7826
  ...e.other
7827
7827
  }
7828
- ], hm = ({ options: e, formData: s } = {}) => {
7829
- const { lng: n } = ie(), { newsListApi: a } = Wn(), u = Me(n);
7828
+ ], Tm = ({ options: e, formData: s } = {}) => {
7829
+ const { lng: n } = ie(), { newsListApi: a } = Hn(), u = Me(n);
7830
7830
  return X({
7831
7831
  queryKey: ["newsList"],
7832
7832
  queryFn: () => {
@@ -7846,13 +7846,13 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7846
7846
  return {
7847
7847
  ...p.data,
7848
7848
  data: g,
7849
- blogType: io({ typeConfig: e?.typeConfig })
7849
+ blogType: ao({ typeConfig: e?.typeConfig })
7850
7850
  };
7851
7851
  },
7852
7852
  ...e
7853
7853
  });
7854
- }, km = ({ options: e, formData: s } = {}) => {
7855
- const { lng: n } = ie(), { newsListApi: a } = Wn(), u = Me(n);
7854
+ }, hm = ({ options: e, formData: s } = {}) => {
7855
+ const { lng: n } = ie(), { newsListApi: a } = Hn(), u = Me(n);
7856
7856
  return X({
7857
7857
  queryKey: ["newsList"],
7858
7858
  queryFn: () => {
@@ -7913,7 +7913,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7913
7913
  withdrawal_amount: l,
7914
7914
  bank_account_number: r,
7915
7915
  currency_code: o,
7916
- withdrawal_code: Bn.MD5(_).toString(),
7916
+ withdrawal_code: An.MD5(_).toString(),
7917
7917
  payment_type: "ThirdParty"
7918
7918
  }
7919
7919
  });
@@ -7986,14 +7986,14 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
7986
7986
  redeemCodeDepositApi: t,
7987
7987
  invoiceApi: i
7988
7988
  };
7989
- }, to = ({ options: e } = {}) => {
7989
+ }, io = ({ options: e } = {}) => {
7990
7990
  const { depositApiV1: s } = Pe();
7991
7991
  return X({
7992
7992
  queryKey: ["depositV1"],
7993
7993
  queryFn: s,
7994
7994
  ...e
7995
7995
  });
7996
- }, no = ({ paramsData: e, options: s } = {}) => {
7996
+ }, to = ({ paramsData: e, options: s } = {}) => {
7997
7997
  const { depositApiV2: n } = Pe();
7998
7998
  return X({
7999
7999
  queryKey: ["depositV2", e],
@@ -8004,11 +8004,11 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8004
8004
  providerList: Te(g.providers, (t) => ({
8005
8005
  ...t,
8006
8006
  providerUid: t.uid,
8007
- providerImageUrl: `${We}/paymentIcon/${mt(t.provider_name)}.png`,
8007
+ providerImageUrl: `${We}/paymentIcon/${ot(t.provider_name)}.png`,
8008
8008
  providerMax: t.max,
8009
8009
  providerMin: t.min
8010
8010
  })),
8011
- methodImageUrl: `${We}/paymentIcon/${mt(g.method_name)}pay.png`
8011
+ methodImageUrl: `${We}/paymentIcon/${ot(g.method_name)}pay.png`
8012
8012
  }));
8013
8013
  return {
8014
8014
  bank: p,
@@ -8018,63 +8018,63 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8018
8018
  },
8019
8019
  ...s
8020
8020
  });
8021
- }, lo = ({ options: e } = {}) => {
8021
+ }, no = ({ options: e } = {}) => {
8022
8022
  const { depositApi: s } = Pe();
8023
8023
  return ne({
8024
8024
  mutationKey: ["depositAction"],
8025
8025
  mutationFn: async (n) => s(n),
8026
8026
  ...e
8027
8027
  });
8028
- }, ro = ({ options: e } = {}) => {
8028
+ }, lo = ({ options: e } = {}) => {
8029
8029
  const { withdrawApi: s } = Pe();
8030
8030
  return ne({
8031
8031
  mutationKey: ["withdrawAction"],
8032
8032
  mutationFn: async (n) => s(n),
8033
8033
  ...e
8034
8034
  });
8035
- }, oo = ({ paramsData: e, options: s } = {}) => {
8035
+ }, ro = ({ paramsData: e, options: s } = {}) => {
8036
8036
  const { depositTransactionApi: n } = Pe();
8037
8037
  return X({
8038
8038
  queryKey: ["depositTransaction", e],
8039
8039
  queryFn: () => n({ paramsData: e }),
8040
8040
  ...s
8041
8041
  });
8042
- }, mo = ({ paramsData: e, options: s } = {}) => {
8042
+ }, oo = ({ paramsData: e, options: s } = {}) => {
8043
8043
  const { eventTransactionApi: n } = Pe();
8044
8044
  return X({
8045
8045
  queryKey: ["eventTransaction", e],
8046
8046
  queryFn: () => n({ paramsData: e }),
8047
8047
  ...s
8048
8048
  });
8049
- }, so = ({ options: e } = {}) => {
8049
+ }, mo = ({ options: e } = {}) => {
8050
8050
  const { bankDepositApi: s } = Pe();
8051
8051
  return ne({
8052
8052
  mutationKey: ["bankDeposit"],
8053
8053
  mutationFn: async (n) => s(n),
8054
8054
  ...e
8055
8055
  });
8056
- }, uo = ({ paramsData: e, options: s } = {}) => {
8056
+ }, so = ({ paramsData: e, options: s } = {}) => {
8057
8057
  const { withdrawTransactionApi: n } = Pe();
8058
8058
  return X({
8059
8059
  queryKey: ["withdrawTransaction", e],
8060
8060
  queryFn: () => n({ paramsData: e }),
8061
8061
  ...s
8062
8062
  });
8063
- }, xm = ({ options: e } = {}) => {
8063
+ }, km = ({ options: e } = {}) => {
8064
8064
  const { redeemCodeDepositApi: s } = Pe();
8065
8065
  return ne({
8066
8066
  mutationKey: ["redeemCodeDeposit"],
8067
8067
  mutationFn: async (n) => s(n),
8068
8068
  ...e
8069
8069
  });
8070
- }, Sm = ({ options: e } = {}) => {
8070
+ }, xm = ({ options: e } = {}) => {
8071
8071
  const { invoiceApi: s } = Pe();
8072
8072
  return ne({
8073
8073
  mutationKey: ["invoiceAction"],
8074
8074
  mutationFn: async (n) => s(n),
8075
8075
  ...e
8076
8076
  });
8077
- }, Dm = ({
8077
+ }, Sm = ({
8078
8078
  depositV1: e = {},
8079
8079
  depositV2: s = {},
8080
8080
  depositTransaction: n = {},
@@ -8084,7 +8084,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8084
8084
  eventTransaction: y = {},
8085
8085
  withdrawTransaction: d = {}
8086
8086
  } = {}) => {
8087
- const g = to(e), t = no(s), i = oo(n), m = lo(a), l = ro(u), r = so(p), o = mo(y), _ = uo(
8087
+ const g = io(e), t = to(s), i = ro(n), m = no(a), l = lo(u), r = mo(p), o = oo(y), _ = so(
8088
8088
  d
8089
8089
  );
8090
8090
  return {
@@ -8097,10 +8097,10 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8097
8097
  eventTransaction: o,
8098
8098
  withdrawTransaction: _
8099
8099
  };
8100
- }, zn = "3.7.8", po = zn, pa = typeof Buffer == "function", fn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, _n = typeof TextEncoder == "function" ? new TextEncoder() : void 0, go = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ta = Array.prototype.slice.call(go), Ba = ((e) => {
8100
+ }, Wn = "3.7.8", uo = Wn, pa = typeof Buffer == "function", cn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, fn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, po = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ta = Array.prototype.slice.call(po), Ba = ((e) => {
8101
8101
  let s = {};
8102
8102
  return e.forEach((n, a) => s[n] = a), s;
8103
- })(Ta), co = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, de = String.fromCharCode.bind(String), Un = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Vn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (s) => s == "+" ? "-" : "_"), Zn = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Jn = (e) => {
8103
+ })(Ta), go = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, de = String.fromCharCode.bind(String), _n = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), zn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (s) => s == "+" ? "-" : "_"), Vn = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Zn = (e) => {
8104
8104
  let s, n, a, u, p = "";
8105
8105
  const y = e.length % 3;
8106
8106
  for (let d = 0; d < e.length; ) {
@@ -8109,12 +8109,12 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8109
8109
  s = n << 16 | a << 8 | u, p += Ta[s >> 18 & 63] + Ta[s >> 12 & 63] + Ta[s >> 6 & 63] + Ta[s & 63];
8110
8110
  }
8111
8111
  return y ? p.slice(0, y - 3) + "===".substring(y) : p;
8112
- }, rt = typeof btoa == "function" ? (e) => btoa(e) : pa ? (e) => Buffer.from(e, "binary").toString("base64") : Jn, Ii = pa ? (e) => Buffer.from(e).toString("base64") : (e) => {
8112
+ }, lt = typeof btoa == "function" ? (e) => btoa(e) : pa ? (e) => Buffer.from(e, "binary").toString("base64") : Zn, Ji = pa ? (e) => Buffer.from(e).toString("base64") : (e) => {
8113
8113
  let n = [];
8114
8114
  for (let a = 0, u = e.length; a < u; a += 4096)
8115
8115
  n.push(de.apply(null, e.subarray(a, a + 4096)));
8116
- return rt(n.join(""));
8117
- }, xi = (e, s = !1) => s ? Vn(Ii(e)) : Ii(e), fo = (e) => {
8116
+ return lt(n.join(""));
8117
+ }, xi = (e, s = !1) => s ? zn(Ji(e)) : Ji(e), co = (e) => {
8118
8118
  if (e.length < 2) {
8119
8119
  var s = e.charCodeAt(0);
8120
8120
  return s < 128 ? e : s < 2048 ? de(192 | s >>> 6) + de(128 | s & 63) : de(224 | s >>> 12 & 15) + de(128 | s >>> 6 & 63) + de(128 | s & 63);
@@ -8122,7 +8122,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8122
8122
  var s = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
8123
8123
  return de(240 | s >>> 18 & 7) + de(128 | s >>> 12 & 63) + de(128 | s >>> 6 & 63) + de(128 | s & 63);
8124
8124
  }
8125
- }, _o = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, In = (e) => e.replace(_o, fo), yn = pa ? (e) => Buffer.from(e, "utf8").toString("base64") : _n ? (e) => Ii(_n.encode(e)) : (e) => rt(In(e)), ua = (e, s = !1) => s ? Vn(yn(e)) : yn(e), bn = (e) => ua(e, !0), Uo = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, yo = (e) => {
8125
+ }, fo = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Jn = (e) => e.replace(fo, co), Un = pa ? (e) => Buffer.from(e, "utf8").toString("base64") : fn ? (e) => Ji(fn.encode(e)) : (e) => lt(Jn(e)), ua = (e, s = !1) => s ? zn(Un(e)) : Un(e), yn = (e) => ua(e, !0), _o = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Uo = (e) => {
8126
8126
  switch (e.length) {
8127
8127
  case 4:
8128
8128
  var s = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), n = s - 65536;
@@ -8132,28 +8132,28 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8132
8132
  default:
8133
8133
  return de((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
8134
8134
  }
8135
- }, Kn = (e) => e.replace(Uo, yo), qn = (e) => {
8136
- if (e = e.replace(/\s+/g, ""), !co.test(e))
8135
+ }, In = (e) => e.replace(_o, Uo), Kn = (e) => {
8136
+ if (e = e.replace(/\s+/g, ""), !go.test(e))
8137
8137
  throw new TypeError("malformed base64.");
8138
8138
  e += "==".slice(2 - (e.length & 3));
8139
8139
  let s, n, a, u = [];
8140
8140
  for (let p = 0; p < e.length; )
8141
8141
  s = Ba[e.charAt(p++)] << 18 | Ba[e.charAt(p++)] << 12 | (n = Ba[e.charAt(p++)]) << 6 | (a = Ba[e.charAt(p++)]), n === 64 ? u.push(de(s >> 16 & 255)) : a === 64 ? u.push(de(s >> 16 & 255, s >> 8 & 255)) : u.push(de(s >> 16 & 255, s >> 8 & 255, s & 255));
8142
8142
  return u.join("");
8143
- }, ot = typeof atob == "function" ? (e) => atob(Zn(e)) : pa ? (e) => Buffer.from(e, "base64").toString("binary") : qn, jn = pa ? (e) => Un(Buffer.from(e, "base64")) : (e) => Un(ot(e).split("").map((s) => s.charCodeAt(0))), $n = (e) => jn(Qn(e)), bo = pa ? (e) => Buffer.from(e, "base64").toString("utf8") : fn ? (e) => fn.decode(jn(e)) : (e) => Kn(ot(e)), Qn = (e) => Zn(e.replace(/[-_]/g, (s) => s == "-" ? "+" : "/")), Ki = (e) => bo(Qn(e)), Co = (e) => {
8143
+ }, rt = typeof atob == "function" ? (e) => atob(Vn(e)) : pa ? (e) => Buffer.from(e, "base64").toString("binary") : Kn, qn = pa ? (e) => _n(Buffer.from(e, "base64")) : (e) => _n(rt(e).split("").map((s) => s.charCodeAt(0))), jn = (e) => qn($n(e)), yo = pa ? (e) => Buffer.from(e, "base64").toString("utf8") : cn ? (e) => cn.decode(qn(e)) : (e) => In(rt(e)), $n = (e) => Vn(e.replace(/[-_]/g, (s) => s == "-" ? "+" : "/")), Ii = (e) => yo($n(e)), bo = (e) => {
8144
8144
  if (typeof e != "string")
8145
8145
  return !1;
8146
8146
  const s = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
8147
8147
  return !/[^\s0-9a-zA-Z\+/]/.test(s) || !/[^\s0-9a-zA-Z\-_]/.test(s);
8148
- }, Yn = (e) => ({
8148
+ }, Qn = (e) => ({
8149
8149
  value: e,
8150
8150
  enumerable: !1,
8151
8151
  writable: !0,
8152
8152
  configurable: !0
8153
- }), Xn = function() {
8154
- const e = (s, n) => Object.defineProperty(String.prototype, s, Yn(n));
8153
+ }), Yn = function() {
8154
+ const e = (s, n) => Object.defineProperty(String.prototype, s, Qn(n));
8155
8155
  e("fromBase64", function() {
8156
- return Ki(this);
8156
+ return Ii(this);
8157
8157
  }), e("toBase64", function(s) {
8158
8158
  return ua(this, s);
8159
8159
  }), e("toBase64URI", function() {
@@ -8161,10 +8161,10 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8161
8161
  }), e("toBase64URL", function() {
8162
8162
  return ua(this, !0);
8163
8163
  }), e("toUint8Array", function() {
8164
- return $n(this);
8164
+ return jn(this);
8165
8165
  });
8166
- }, el = function() {
8167
- const e = (s, n) => Object.defineProperty(Uint8Array.prototype, s, Yn(n));
8166
+ }, Xn = function() {
8167
+ const e = (s, n) => Object.defineProperty(Uint8Array.prototype, s, Qn(n));
8168
8168
  e("toBase64", function(s) {
8169
8169
  return xi(this, s);
8170
8170
  }), e("toBase64URI", function() {
@@ -8172,31 +8172,31 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8172
8172
  }), e("toBase64URL", function() {
8173
8173
  return xi(this, !0);
8174
8174
  });
8175
- }, vo = () => {
8176
- Xn(), el();
8177
- }, To = {
8178
- version: zn,
8179
- VERSION: po,
8180
- atob: ot,
8181
- atobPolyfill: qn,
8182
- btoa: rt,
8183
- btoaPolyfill: Jn,
8184
- fromBase64: Ki,
8175
+ }, Co = () => {
8176
+ Yn(), Xn();
8177
+ }, vo = {
8178
+ version: Wn,
8179
+ VERSION: uo,
8180
+ atob: rt,
8181
+ atobPolyfill: Kn,
8182
+ btoa: lt,
8183
+ btoaPolyfill: Zn,
8184
+ fromBase64: Ii,
8185
8185
  toBase64: ua,
8186
8186
  encode: ua,
8187
- encodeURI: bn,
8188
- encodeURL: bn,
8189
- utob: In,
8190
- btou: Kn,
8191
- decode: Ki,
8192
- isValid: Co,
8187
+ encodeURI: yn,
8188
+ encodeURL: yn,
8189
+ utob: Jn,
8190
+ btou: In,
8191
+ decode: Ii,
8192
+ isValid: bo,
8193
8193
  fromUint8Array: xi,
8194
- toUint8Array: $n,
8195
- extendString: Xn,
8196
- extendUint8Array: el,
8197
- extendBuiltins: vo
8198
- }, Em = (e, s) => {
8199
- const { playGameApi: n } = et();
8194
+ toUint8Array: jn,
8195
+ extendString: Yn,
8196
+ extendUint8Array: Xn,
8197
+ extendBuiltins: Co
8198
+ }, Dm = (e, s) => {
8199
+ const { playGameApi: n } = Xi();
8200
8200
  return X({
8201
8201
  queryKey: ["playGame"],
8202
8202
  queryFn: async () => {
@@ -8222,41 +8222,41 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8222
8222
  supportPortrait: l,
8223
8223
  isHtmlCode: o,
8224
8224
  gameUrl: r,
8225
- decodeGameUrl: To.decode(r),
8225
+ decodeGameUrl: vo.decode(r),
8226
8226
  message: _
8227
8227
  };
8228
8228
  },
8229
8229
  enabled: !!e?.gameCode,
8230
8230
  ...s
8231
8231
  });
8232
- }, al = () => {
8232
+ }, el = () => {
8233
8233
  const { client: e } = ie(), s = J(async () => await e.get("/rebate"), [e]), n = J(async () => await e.post("/withdraw/rebate"), [e]);
8234
8234
  return {
8235
8235
  currentRebateApi: s,
8236
8236
  receiveRebateApi: n
8237
8237
  };
8238
- }, ho = ({ options: e } = {}) => {
8239
- const { currentRebateApi: s } = al();
8238
+ }, To = ({ options: e } = {}) => {
8239
+ const { currentRebateApi: s } = el();
8240
8240
  return X({
8241
8241
  queryKey: ["currentRebate"],
8242
8242
  queryFn: () => s(),
8243
- select: (n) => ul(n, ["code", "status"]),
8243
+ select: (n) => sl(n, ["code", "status"]),
8244
8244
  ...e
8245
8245
  });
8246
- }, ko = ({ options: e } = {}) => {
8247
- const { receiveRebateApi: s } = al();
8246
+ }, ho = ({ options: e } = {}) => {
8247
+ const { receiveRebateApi: s } = el();
8248
8248
  return ne({
8249
8249
  mutationKey: ["receiveRebate"],
8250
8250
  mutationFn: async () => s(),
8251
8251
  ...e
8252
8252
  });
8253
- }, Nm = ({
8253
+ }, Em = ({
8254
8254
  options: e = {
8255
8255
  currentRebate: {},
8256
8256
  receiveRebate: {}
8257
8257
  }
8258
8258
  } = {}) => {
8259
- const s = ho({ options: e.currentRebate }), n = ko({ options: e.receiveRebate });
8259
+ const s = To({ options: e.currentRebate }), n = ho({ options: e.receiveRebate });
8260
8260
  return {
8261
8261
  currentRebate: s,
8262
8262
  receiveRebate: n
@@ -8280,7 +8280,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8280
8280
  redeemRewardApi: u,
8281
8281
  historyRewardApi: p
8282
8282
  };
8283
- }, xo = ({ options: e } = {}) => {
8283
+ }, ko = ({ options: e } = {}) => {
8284
8284
  const { rewardListApi: s } = Sa();
8285
8285
  return X({
8286
8286
  queryKey: ["rewardsList"],
@@ -8309,8 +8309,8 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8309
8309
  rewardUid: l,
8310
8310
  rewardWagering: p,
8311
8311
  rewardAmount: y,
8312
- rewardBg: Ln(),
8313
- rewardIcon: Nn("win")
8312
+ rewardBg: Nn(),
8313
+ rewardIcon: En("win")
8314
8314
  };
8315
8315
  });
8316
8316
  return {
@@ -8320,35 +8320,35 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8320
8320
  },
8321
8321
  ...e
8322
8322
  });
8323
- }, So = ({ options: e } = {}) => {
8323
+ }, xo = ({ options: e } = {}) => {
8324
8324
  const { redeemRewardApi: s } = Sa();
8325
8325
  return ne({
8326
8326
  mutationKey: ["redeemReward"],
8327
8327
  mutationFn: async (n) => await s(n),
8328
8328
  ...e
8329
8329
  });
8330
- }, Do = ({ options: e } = {}) => {
8330
+ }, So = ({ options: e } = {}) => {
8331
8331
  const { unUsedRewardListApi: s } = Sa();
8332
8332
  return X({
8333
8333
  queryKey: ["unUsedRewardsList"],
8334
8334
  queryFn: s,
8335
8335
  ...e
8336
8336
  });
8337
- }, Eo = ({ options: e } = {}) => {
8337
+ }, Do = ({ options: e } = {}) => {
8338
8338
  const { expiredRewardListApi: s } = Sa();
8339
8339
  return X({
8340
8340
  queryKey: ["expiredRewardsList"],
8341
8341
  queryFn: s,
8342
8342
  ...e
8343
8343
  });
8344
- }, No = ({ options: e } = {}) => {
8344
+ }, Eo = ({ options: e } = {}) => {
8345
8345
  const { historyRewardApi: s } = Sa();
8346
8346
  return X({
8347
8347
  queryKey: ["historyRewardsList"],
8348
8348
  queryFn: s,
8349
8349
  ...e
8350
8350
  });
8351
- }, Lm = ({
8351
+ }, Nm = ({
8352
8352
  options: e = {
8353
8353
  rewardsList: {},
8354
8354
  redeemReward: {},
@@ -8357,13 +8357,13 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8357
8357
  historyRewardsList: {}
8358
8358
  }
8359
8359
  } = {}) => {
8360
- const s = xo({ options: e.rewardsList }), n = So({
8360
+ const s = ko({ options: e.rewardsList }), n = xo({
8361
8361
  options: e.redeemReward
8362
- }), a = Do({
8362
+ }), a = So({
8363
8363
  options: e.unUsedRewardsList
8364
- }), u = Eo({
8364
+ }), u = Do({
8365
8365
  options: e.expiredRewardsList
8366
- }), p = No({
8366
+ }), p = Eo({
8367
8367
  options: e.historyRewardsList
8368
8368
  });
8369
8369
  return {
@@ -8373,63 +8373,63 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8373
8373
  expiredRewardsListQuery: u,
8374
8374
  historyRewardsListQuery: p
8375
8375
  };
8376
- }, Lo = ({ options: e } = {}) => {
8376
+ }, No = ({ options: e } = {}) => {
8377
8377
  const { userLoginApi: s } = se();
8378
8378
  return ne({
8379
8379
  mutationKey: ["userLogin"],
8380
8380
  mutationFn: async (n) => s(n),
8381
8381
  ...e
8382
8382
  });
8383
- }, Go = ({ options: e } = {}) => {
8383
+ }, Lo = ({ options: e } = {}) => {
8384
8384
  const { userLogoutApi: s } = se();
8385
8385
  return ne({
8386
8386
  mutationKey: ["userLogout"],
8387
8387
  mutationFn: async () => s(),
8388
8388
  ...e
8389
8389
  });
8390
- }, Mo = ({ options: e } = {}) => {
8390
+ }, Go = ({ options: e } = {}) => {
8391
8391
  const { userSignUpApi: s } = se();
8392
8392
  return ne({
8393
8393
  mutationKey: ["userSignUp"],
8394
8394
  mutationFn: async (n) => s(n),
8395
8395
  ...e
8396
8396
  });
8397
- }, Ro = ({ options: e } = {}) => {
8397
+ }, Mo = ({ options: e } = {}) => {
8398
8398
  const { addOrRemoveFavoriteGameApi: s } = se();
8399
8399
  return ne({
8400
8400
  mutationKey: ["toggleFavoriteGame"],
8401
8401
  mutationFn: async (n) => s(n),
8402
8402
  ...e
8403
8403
  });
8404
- }, Po = ({ options: e } = {}) => {
8404
+ }, Ro = ({ options: e } = {}) => {
8405
8405
  const { updateUserInfoApi: s } = se();
8406
8406
  return ne({
8407
8407
  mutationKey: ["updateUserInfo"],
8408
8408
  mutationFn: async (n) => s(n),
8409
8409
  ...e
8410
8410
  });
8411
- }, Fo = ({ options: e } = {}) => {
8411
+ }, Po = ({ options: e } = {}) => {
8412
8412
  const { resetUserPasswordApi: s } = se();
8413
8413
  return ne({
8414
8414
  mutationKey: ["resetUserPassword"],
8415
8415
  mutationFn: async (n) => s(n),
8416
8416
  ...e
8417
8417
  });
8418
- }, wo = ({ options: e } = {}) => {
8418
+ }, Fo = ({ options: e } = {}) => {
8419
8419
  const { setUserTransactionPasswordApi: s } = se();
8420
8420
  return ne({
8421
8421
  mutationKey: ["setUserTransactionPassword"],
8422
8422
  mutationFn: async (n) => s(n),
8423
8423
  ...e
8424
8424
  });
8425
- }, Oo = ({ options: e } = {}) => {
8425
+ }, wo = ({ options: e } = {}) => {
8426
8426
  const { resetUserTransactionPasswordApi: s } = se();
8427
8427
  return ne({
8428
8428
  mutationKey: ["resetUserTransactionPassword"],
8429
8429
  mutationFn: async (n) => s(n),
8430
8430
  ...e
8431
8431
  });
8432
- }, Ao = ({ paramsData: e, options: s } = {}) => {
8432
+ }, Oo = ({ paramsData: e, options: s } = {}) => {
8433
8433
  const { userRebateApi: n } = se(), { getToken: a } = ie();
8434
8434
  return a?.(), X({
8435
8435
  queryKey: ["userRebate", e],
@@ -8437,14 +8437,14 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8437
8437
  enabled: !1,
8438
8438
  ...s
8439
8439
  });
8440
- }, Bo = ({ options: e } = {}) => {
8440
+ }, Ao = ({ options: e } = {}) => {
8441
8441
  const { userBindBankApi: s } = se();
8442
8442
  return ne({
8443
8443
  mutationKey: ["userBindBank"],
8444
8444
  mutationFn: async (n) => s({ formData: n }),
8445
8445
  ...e
8446
8446
  });
8447
- }, Ho = ({ options: e } = {}) => {
8447
+ }, Bo = ({ options: e } = {}) => {
8448
8448
  const { transferInGameApi: s } = se();
8449
8449
  return ne({
8450
8450
  mutationKey: ["transferInGame"],
@@ -8452,7 +8452,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8452
8452
  retry: !1,
8453
8453
  ...e
8454
8454
  });
8455
- }, Gm = ({ options: e } = {}) => {
8455
+ }, Lm = ({ options: e } = {}) => {
8456
8456
  const { currency: s } = ie(), { pointTransferApi: n } = se();
8457
8457
  return ne({
8458
8458
  mutationKey: ["pointTransfer"],
@@ -8462,7 +8462,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8462
8462
  }),
8463
8463
  ...e
8464
8464
  });
8465
- }, Mm = ({ options: e } = {}) => {
8465
+ }, Gm = ({ options: e } = {}) => {
8466
8466
  const { currency: s } = ie(), { checkUserWagerApi: n } = se();
8467
8467
  return X({
8468
8468
  queryKey: ["checkUserWager"],
@@ -8475,8 +8475,8 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8475
8475
  },
8476
8476
  ...e
8477
8477
  });
8478
- }, Rm = ({ options: e } = {}) => {
8479
- const s = kn(), { abandonPointsApi: n } = se();
8478
+ }, Mm = ({ options: e } = {}) => {
8479
+ const s = hn(), { abandonPointsApi: n } = se();
8480
8480
  return ne({
8481
8481
  mutationKey: ["abandonPoint"],
8482
8482
  mutationFn: async (a) => n({
@@ -8487,14 +8487,14 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8487
8487
  },
8488
8488
  ...e
8489
8489
  });
8490
- }, Wo = ({ options: e } = {}) => {
8490
+ }, Ho = ({ options: e } = {}) => {
8491
8491
  const { lineLoginApi: s } = se();
8492
8492
  return ne({
8493
8493
  mutationKey: ["lineLogin"],
8494
8494
  mutationFn: async (n) => s(n),
8495
8495
  ...e
8496
8496
  });
8497
- }, Pm = ({
8497
+ }, Rm = ({
8498
8498
  options: e = {
8499
8499
  login: {},
8500
8500
  logout: {},
@@ -8508,15 +8508,15 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8508
8508
  userBindCard: {}
8509
8509
  }
8510
8510
  } = {}) => {
8511
- const s = Lo({ options: e.login }), n = Go({ options: e.logout }), a = Mo({ options: e.register }), u = Po({ options: e.updateUserInfo }), p = Ro({
8511
+ const s = No({ options: e.login }), n = Lo({ options: e.logout }), a = Go({ options: e.register }), u = Ro({ options: e.updateUserInfo }), p = Mo({
8512
8512
  options: e.toggleFavoriteGame
8513
- }), y = Fo({
8513
+ }), y = Po({
8514
8514
  options: e.resetUserPassword
8515
- }), d = wo({
8515
+ }), d = Fo({
8516
8516
  options: e.setUserTransactionPassword
8517
- }), g = Oo({
8517
+ }), g = wo({
8518
8518
  options: e.resetUserTransactionPassword
8519
- }), t = Ao({ options: e.userRebate }), i = Bo({ options: e.userBindCard });
8519
+ }), t = Oo({ options: e.userRebate }), i = Ao({ options: e.userBindCard });
8520
8520
  return {
8521
8521
  login: s,
8522
8522
  logout: n,
@@ -8529,14 +8529,14 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8529
8529
  userRebate: t,
8530
8530
  userBindCard: i
8531
8531
  };
8532
- }, il = () => {
8532
+ }, al = () => {
8533
8533
  const { client: e } = ie(), s = J(async () => await e.get("/vip/list"), [e]), n = J(async () => await e.get("/vip/check"), [e]);
8534
8534
  return {
8535
8535
  vipListApi: s,
8536
8536
  vipInfoApi: n
8537
8537
  };
8538
- }, Fm = ({ options: e } = {}) => {
8539
- const { store: s } = ie(), n = s?.getState()?.isMemberInfo || s?.getState()?.member?.member || {}, { vipInfoApi: a } = il();
8538
+ }, Pm = ({ options: e } = {}) => {
8539
+ const { store: s } = ie(), n = s?.getState()?.isMemberInfo || s?.getState()?.member?.member || {}, { vipInfoApi: a } = al();
8540
8540
  return X({
8541
8541
  queryKey: ["vipInfo"],
8542
8542
  queryFn: async () => a(),
@@ -8550,8 +8550,8 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8550
8550
  },
8551
8551
  ...e
8552
8552
  });
8553
- }, zo = ({ options: e } = {}) => {
8554
- const { store: s } = ie(), n = s?.getState()?.isWalletCurrency || s?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: a } = il();
8553
+ }, Wo = ({ options: e } = {}) => {
8554
+ const { store: s } = ie(), n = s?.getState()?.isWalletCurrency || s?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: a } = al();
8555
8555
  return X({
8556
8556
  queryKey: ["vipList"],
8557
8557
  queryFn: async () => {
@@ -8587,11 +8587,11 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8587
8587
  },
8588
8588
  ...e
8589
8589
  });
8590
- }, wm = ({ options: e } = {
8590
+ }, Fm = ({ options: e } = {
8591
8591
  vipList: {}
8592
8592
  }) => ({
8593
- vipList: zo({ options: e.vipList })
8594
- }), Cn = (e) => {
8593
+ vipList: Wo({ options: e.vipList })
8594
+ }), bn = (e) => {
8595
8595
  switch (e) {
8596
8596
  case "tw":
8597
8597
  return "Tw";
@@ -8610,8 +8610,8 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8610
8610
  default:
8611
8611
  return "En";
8612
8612
  }
8613
- }, vn = "game-icon-ds88", Om = ({ gameData: e = {} } = {}) => {
8614
- const { lng: s } = ie(), n = Cn(s), {
8613
+ }, Cn = "game-icon-ds88", wm = ({ gameData: e = {} } = {}) => {
8614
+ const { lng: s } = ie(), n = bn(s), {
8615
8615
  gameCode: a,
8616
8616
  // 遊戲代碼
8617
8617
  gameUid: u,
@@ -8649,7 +8649,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8649
8649
  // 越南名稱
8650
8650
  gameNameTw: C
8651
8651
  // 繁體中文名稱
8652
- } = e, k = e?.[`gameName${Cn(n)}`], x = `${ct}/${vn}/en/${t}/${st(a, / /g, "_")}.webp`, T = `${ct}/${vn}/en/${t}/${st(a, / /g, "_")}.gif`;
8652
+ } = e, k = e?.[`gameName${bn(n)}`], x = `${dt}/${Cn}/en/${t}/${mt(a, / /g, "_")}.webp`, T = `${dt}/${Cn}/en/${t}/${mt(a, / /g, "_")}.gif`;
8653
8653
  return {
8654
8654
  gameCode: a,
8655
8655
  gameUid: u,
@@ -8673,7 +8673,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8673
8673
  gameImageUrl: x,
8674
8674
  gameImageUrlAnimated: T
8675
8675
  };
8676
- }, Vo = (e, s = !1) => pl([
8676
+ }, zo = (e, s = !1) => ul([
8677
8677
  "EVO",
8678
8678
  "IMSPRIBE",
8679
8679
  "SABA",
@@ -8684,7 +8684,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8684
8684
  "HACK",
8685
8685
  "NAGA",
8686
8686
  "RSG"
8687
- ], e) && s ? `${e}_dark` : e, Am = ({ platformData: e, darkMode: s } = {}) => {
8687
+ ], e) && s ? `${e}_dark` : e, Om = ({ platformData: e, darkMode: s } = {}) => {
8688
8688
  const {
8689
8689
  SubPlatformEnum: n,
8690
8690
  // 子平台枚舉
@@ -8706,7 +8706,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8706
8706
  // 臨時維護開始時間
8707
8707
  temp_maintenance_end_time: m
8708
8708
  // 臨時維護結束時間
8709
- } = e || {}, l = `${We}/${Gn}/${Vo(a, s)}.png`;
8709
+ } = e || {}, l = `${We}/${Ln}/${zo(a, s)}.png`;
8710
8710
  return {
8711
8711
  subPlatformEnum: n,
8712
8712
  platformEnum: a,
@@ -8720,19 +8720,19 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8720
8720
  tempMaintenanceEndTime: m,
8721
8721
  platformImageUrl: l
8722
8722
  };
8723
- }, Zo = (e = {}) => !Si(e) || pe(e) ? [] : Di(e), Tn = (e = []) => !Ge(e) || pe(e) ? [] : Te(e, "platform"), Jo = (e = []) => !Ge(e) || pe(e) ? [] : Te(e, "gameTypeName"), Io = (e = []) => !Ge(e) || pe(e) ? [] : Te(e, "game_subtype"), Ko = (e = {}) => !Si(e) || pe(e) ? [] : Di(e), qo = (e = [], s = []) => !Ge(e) || pe(e) ? {} : !Ge(s) || pe(s) ? {} : e.reduce((n, a) => {
8723
+ }, Vo = (e = {}) => !Si(e) || pe(e) ? [] : Di(e), vn = (e = []) => !Ge(e) || pe(e) ? [] : Te(e, "platform"), Zo = (e = []) => !Ge(e) || pe(e) ? [] : Te(e, "gameTypeName"), Jo = (e = []) => !Ge(e) || pe(e) ? [] : Te(e, "game_subtype"), Io = (e = {}) => !Si(e) || pe(e) ? [] : Di(e), Ko = (e = [], s = []) => !Ge(e) || pe(e) ? {} : !Ge(s) || pe(s) ? {} : e.reduce((n, a) => {
8724
8724
  const u = s.map((p) => p.game_subtype);
8725
8725
  return u.forEach((p) => {
8726
8726
  n[p] = n[p] || [];
8727
8727
  }), u.includes(a.game_subtype) && n[a.game_subtype].push(a), n;
8728
- }, {}), jo = ({
8728
+ }, {}), qo = ({
8729
8729
  gameTypes: e = [],
8730
8730
  platforms: s = [],
8731
8731
  gameList: n = {},
8732
8732
  allGameTypes: a = [],
8733
8733
  allPlatforms: u = []
8734
8734
  }) => !Ge(e) || !Ge(s) ? {} : pe(n) ? {} : e.reduce((p, y) => {
8735
- const d = Cl({
8735
+ const d = bl({
8736
8736
  gameTypeName: y,
8737
8737
  platforms: s,
8738
8738
  gameList: n,
@@ -8740,17 +8740,17 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8740
8740
  allPlatforms: u
8741
8741
  });
8742
8742
  return pe(d) || (p[y] = d), p;
8743
- }, {}), Bm = ({
8743
+ }, {}), Am = ({
8744
8744
  types: e = [],
8745
8745
  platforms: s = [],
8746
8746
  allGameType: n = [],
8747
8747
  allGamePlatform: a = [],
8748
8748
  allGameList: u = {}
8749
8749
  } = {}) => !Array.isArray(e) || !Array.isArray(s) ? {} : e.reduce((p, y) => {
8750
- const d = Rn(n, y);
8750
+ const d = Mn(n, y);
8751
8751
  if (!d) return p;
8752
8752
  const g = u[d] || [], t = s.reduce((i, m) => {
8753
- const l = vl({
8753
+ const l = Cl({
8754
8754
  platformName: m,
8755
8755
  gamesOfType: g,
8756
8756
  allPlatforms: a
@@ -8758,9 +8758,9 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8758
8758
  return pe(l) ? i : { ...i, [m]: l };
8759
8759
  }, {});
8760
8760
  return pe(t) || (p[y] = t), p;
8761
- }, {}), $o = (e = {}) => !Si(e) || pe(e) ? {} : Object.values(e).reduce((n, a) => (Object.entries(a).forEach(([u, p]) => {
8761
+ }, {}), jo = (e = {}) => !Si(e) || pe(e) ? {} : Object.values(e).reduce((n, a) => (Object.entries(a).forEach(([u, p]) => {
8762
8762
  n[u] ? n[u] = [...n[u], ...p] : n[u] = p;
8763
- }), n), {}), Qo = (e = {}) => {
8763
+ }), n), {}), $o = (e = {}) => {
8764
8764
  if (!Si(e) || pe(e)) return {};
8765
8765
  const s = {};
8766
8766
  for (const [n, a] of Object.entries(e)) {
@@ -8771,7 +8771,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8771
8771
  }
8772
8772
  }
8773
8773
  return s;
8774
- }, Yo = ({
8774
+ }, Qo = ({
8775
8775
  allGameList: e = {},
8776
8776
  allGamePlatform: s = [],
8777
8777
  allGameType: n = [],
@@ -8784,26 +8784,26 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8784
8784
  highlightGames: t = [],
8785
8785
  originPlatform: i = []
8786
8786
  }) => {
8787
- const m = Zo(e), l = Tn(s), r = Jo(n), o = Io(a), _ = Tn(i), f = Ko(d), U = jo({
8787
+ const m = Vo(e), l = vn(s), r = Zo(n), o = Jo(a), _ = vn(i), f = Io(d), U = qo({
8788
8788
  gameTypes: r,
8789
8789
  platforms: l,
8790
8790
  gameList: e,
8791
8791
  allGameTypes: n,
8792
8792
  allPlatforms: s
8793
8793
  }), c = Te(s, (D) => {
8794
- const N = `${We}/${Gn}/${D.platformEnum}.png`;
8794
+ const N = `${We}/${Ln}/${D.platformEnum}.png`;
8795
8795
  return {
8796
8796
  ...D,
8797
8797
  platformImageUrl: N
8798
8798
  };
8799
- }), b = qo(m, a), C = $o(U), k = Qo(C), x = xn(U).reduce(
8799
+ }), b = Ko(m, a), C = jo(U), k = $o(C), x = kn(U).reduce(
8800
8800
  (D, [N, v]) => {
8801
- const S = Di(gl(v));
8801
+ const S = Di(pl(v));
8802
8802
  return D[N] = S, D;
8803
8803
  },
8804
8804
  {}
8805
- ), T = ut(U).reduce((D, N) => {
8806
- const v = ut(U[N]);
8805
+ ), T = st(U).reduce((D, N) => {
8806
+ const v = st(U[N]);
8807
8807
  return D[N] = v, D;
8808
8808
  }, {});
8809
8809
  return {
@@ -8839,12 +8839,12 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8839
8839
  favorite: f
8840
8840
  }
8841
8841
  };
8842
- }, Hm = (e = []) => !Ge(e) || pe(e) ? [] : Di(e, (s) => pe(s.SubPlatformEnum) ? s : s.SubPlatformEnum.map((n) => ({
8842
+ }, Bm = (e = []) => !Ge(e) || pe(e) ? [] : Di(e, (s) => pe(s.SubPlatformEnum) ? s : s.SubPlatformEnum.map((n) => ({
8843
8843
  ...s,
8844
8844
  ...n,
8845
8845
  platform: n.SubPlatformEnum,
8846
8846
  platformEnum: n.SubPlatformEnum
8847
- }))), Xo = {
8847
+ }))), Yo = {
8848
8848
  platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
8849
8849
  type: { main: [], sub: [], originMain: [], originSub: [] },
8850
8850
  gameList: {
@@ -8864,7 +8864,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8864
8864
  byGameType: {}
8865
8865
  },
8866
8866
  user: { favorite: [] }
8867
- }, em = ({ enabled: e = !0 } = {}) => {
8867
+ }, Xo = ({ enabled: e = !0 } = {}) => {
8868
8868
  const { getToken: s } = ie(), { userFavoriteGameApi: n, userGameListApi: a } = se(), { data: u, isLoading: p, error: y, refetch: d } = X({
8869
8869
  queryKey: ["gamesInfo"],
8870
8870
  queryFn: async () => {
@@ -8874,7 +8874,7 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8874
8874
  } catch (i) {
8875
8875
  console.warn("Failed to fetch favorite games:", i);
8876
8876
  }
8877
- return Yo({
8877
+ return Qo({
8878
8878
  allGameList: t.gameTypeGroup || window.gameTypeGroup || {},
8879
8879
  allGamePlatform: t.platforms || window.platforms || [],
8880
8880
  allGameType: t.gameType || window.gameType || [],
@@ -8897,12 +8897,12 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
8897
8897
  refetchOnWindowFocus: !1
8898
8898
  });
8899
8899
  return {
8900
- gamesInfo: u || Xo,
8900
+ gamesInfo: u || Yo,
8901
8901
  isLoading: p,
8902
8902
  error: y,
8903
8903
  refetch: d
8904
8904
  };
8905
- }, am = (e = !1) => {
8905
+ }, em = (e = !1) => {
8906
8906
  if (!e && window.gameTypeGroup) {
8907
8907
  console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
8908
8908
  return;
@@ -35429,29 +35429,29 @@ const qr = /* @__PURE__ */ Qi(Kr), jr = ({
35429
35429
  is_invalid_bet: 0
35430
35430
  }
35431
35431
  });
35432
- }, im = ({
35432
+ }, am = ({
35433
35433
  children: e,
35434
35434
  autoFetch: s = !1,
35435
35435
  mockData: n = !1
35436
35436
  }) => {
35437
35437
  ia(() => {
35438
- n && am(!0);
35438
+ n && em(!0);
35439
35439
  }, [n]);
35440
- const a = em({ enabled: s });
35441
- return /* @__PURE__ */ ta.jsx(Mn.Provider, { value: a, children: e });
35440
+ const a = Xo({ enabled: s });
35441
+ return /* @__PURE__ */ ta.jsx(Gn.Provider, { value: a, children: e });
35442
35442
  };
35443
- function Wm({
35443
+ function Hm({
35444
35444
  children: e,
35445
35445
  autoFetchGamesInfo: s = !1,
35446
35446
  useMockData: n = !1,
35447
35447
  queryClient: a,
35448
35448
  ...u
35449
35449
  }) {
35450
- const p = ha(() => ft(u), [u]), y = ha(
35451
- () => ft({ ...u, formData: !0 }),
35450
+ const p = ha(() => ct(u), [u]), y = ha(
35451
+ () => ct({ ...u, formData: !0 }),
35452
35452
  [u]
35453
35453
  ), d = ha(
35454
- () => new ol({
35454
+ () => new rl({
35455
35455
  defaultOptions: {
35456
35456
  queries: {
35457
35457
  refetchOnWindowFocus: !1,
@@ -35461,8 +35461,8 @@ function Wm({
35461
35461
  }),
35462
35462
  []
35463
35463
  ), g = a || d;
35464
- return /* @__PURE__ */ ta.jsx(ml, { client: g, children: /* @__PURE__ */ ta.jsx(Sn.Provider, { value: { client: p, formDataClient: y, ...u }, children: /* @__PURE__ */ ta.jsx(yl, { children: /* @__PURE__ */ ta.jsx(
35465
- im,
35464
+ return /* @__PURE__ */ ta.jsx(ol, { client: g, children: /* @__PURE__ */ ta.jsx(xn.Provider, { value: { client: p, formDataClient: y, ...u }, children: /* @__PURE__ */ ta.jsx(Ul, { children: /* @__PURE__ */ ta.jsx(
35465
+ am,
35466
35466
  {
35467
35467
  autoFetch: s,
35468
35468
  mockData: n,
@@ -35478,7 +35478,7 @@ function Ha(e) {
35478
35478
  }
35479
35479
  return e;
35480
35480
  }
35481
- var tm = {
35481
+ var im = {
35482
35482
  read: function(e) {
35483
35483
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
35484
35484
  },
@@ -35489,7 +35489,7 @@ var tm = {
35489
35489
  );
35490
35490
  }
35491
35491
  };
35492
- function qi(e, s) {
35492
+ function Ki(e, s) {
35493
35493
  function n(u, p, y) {
35494
35494
  if (!(typeof document > "u")) {
35495
35495
  y = Ha({}, s, y), typeof y.expires == "number" && (y.expires = new Date(Date.now() + y.expires * 864e5)), y.expires && (y.expires = y.expires.toUTCString()), u = encodeURIComponent(u).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
@@ -35527,10 +35527,10 @@ function qi(e, s) {
35527
35527
  );
35528
35528
  },
35529
35529
  withAttributes: function(u) {
35530
- return qi(this.converter, Ha({}, this.attributes, u));
35530
+ return Ki(this.converter, Ha({}, this.attributes, u));
35531
35531
  },
35532
35532
  withConverter: function(u) {
35533
- return qi(Ha({}, this.converter, u), this.attributes);
35533
+ return Ki(Ha({}, this.converter, u), this.attributes);
35534
35534
  }
35535
35535
  },
35536
35536
  {
@@ -35539,13 +35539,13 @@ function qi(e, s) {
35539
35539
  }
35540
35540
  );
35541
35541
  }
35542
- var Ji = qi(tm, { path: "/" });
35543
- const zm = ({ onFunction: e = () => {
35542
+ Ki(im, { path: "/" });
35543
+ const Wm = ({ onFunction: e = () => {
35544
35544
  }, buttonProps: s = {} } = {}) => {
35545
- const { lineConfig: n } = ie(), a = Wa(!1), u = me(n, "liffId", ""), p = new URLSearchParams(window.location.search), y = p.get("line_login"), d = p.get("trans_code"), g = p.get("line_id"), t = p.get("line_name"), i = p.get("invite_code"), { mutate: m, isPending: l } = Wo({
35545
+ const { lineConfig: n } = ie(), a = Wa(!1), u = me(n, "liffId", ""), p = new URLSearchParams(window.location.search), y = p.get("line_login"), d = p.get("trans_code"), g = p.get("line_id"), t = p.get("line_name"), i = p.get("invite_code"), { mutate: m, isPending: l } = Ho({
35546
35546
  options: {
35547
35547
  onSuccess: (o) => {
35548
- Ji.get("token") && Ji.remove("token"), Ji.set("token", o.token, { expires: 365 }), e();
35548
+ e(o);
35549
35549
  },
35550
35550
  retry: !1
35551
35551
  }
@@ -35581,100 +35581,100 @@ const zm = ({ onFunction: e = () => {
35581
35581
  ) : null;
35582
35582
  };
35583
35583
  export {
35584
- Sn as ApiCtx,
35585
- Wm as ApiProvider,
35586
- Mn as GamesInfoCtx,
35587
- zm as LineLogin,
35584
+ xn as ApiCtx,
35585
+ Hm as ApiProvider,
35586
+ Gn as GamesInfoCtx,
35587
+ Wm as LineLogin,
35588
35588
  ba as STATUS_TYPES,
35589
- Dn as StatusContext,
35590
- yl as StatusProvider,
35591
- jo as buildMultiTypes,
35592
- Bm as buildMultiTypesWithSubTypes,
35593
- vl as buildSinglePlatformWithSubTypes,
35594
- Cl as buildSingleType,
35595
- qo as categorizeGames,
35589
+ Sn as StatusContext,
35590
+ Ul as StatusProvider,
35591
+ qo as buildMultiTypes,
35592
+ Am as buildMultiTypesWithSubTypes,
35593
+ Cl as buildSinglePlatformWithSubTypes,
35594
+ bl as buildSingleType,
35595
+ Ko as categorizeGames,
35596
35596
  Me as convertLanguageCode,
35597
- um as createLogoutHandler,
35598
- Io as extractGameSubTypeNames,
35599
- Jo as extractGameTypeNames,
35600
- Tn as extractPlatformNames,
35601
- wn as filterGamesByPlatform,
35602
- Rn as findGameTypeUid,
35603
- Pn as findPlatformUid,
35604
- Fn as findSubPlatform,
35605
- Zo as flattenAllGames,
35606
- Ko as flattenFavoriteGames,
35607
- pm as formatNumber,
35608
- $o as groupGamesByPlatform,
35609
- Qo as groupGamesByPlatformAndSubType,
35610
- bl as groupGamesBySubType,
35611
- Vo as handleDarkImage,
35612
- am as initMockWindowData,
35613
- Yo as processGameInfo,
35614
- Hm as processPlatformData,
35615
- Rm as useAbandonPoint,
35597
+ sm as createLogoutHandler,
35598
+ Jo as extractGameSubTypeNames,
35599
+ Zo as extractGameTypeNames,
35600
+ vn as extractPlatformNames,
35601
+ Fn as filterGamesByPlatform,
35602
+ Mn as findGameTypeUid,
35603
+ Rn as findPlatformUid,
35604
+ Pn as findSubPlatform,
35605
+ Vo as flattenAllGames,
35606
+ Io as flattenFavoriteGames,
35607
+ um as formatNumber,
35608
+ jo as groupGamesByPlatform,
35609
+ $o as groupGamesByPlatformAndSubType,
35610
+ yl as groupGamesBySubType,
35611
+ zo as handleDarkImage,
35612
+ em as initMockWindowData,
35613
+ Qo as processGameInfo,
35614
+ Bm as processPlatformData,
35615
+ Mm as useAbandonPoint,
35616
35616
  ie as useApiContext,
35617
- gm as useBalanceGetter,
35618
- fm as useBet,
35619
- Or as useBetRecord,
35620
- Ar as useBetRecordDetail,
35621
- Yr as useCheckCurrentEventProgress,
35622
- Xr as useCheckEventStatus,
35623
- Mm as useCheckPlayerWager,
35624
- _m as useClientWebSocket,
35625
- ho as useCurrentRebate,
35626
- lo as useDepositAction,
35627
- oo as useDepositTransaction,
35628
- to as useDepositV1,
35629
- no as useDepositV2,
35630
- ym as useEvent,
35631
- Qr as useEventList,
35632
- mo as useEventTransaction,
35633
- Eo as useExpiredRewardsList,
35634
- Om as useGameConfig,
35635
- sm as useGameInfoContext,
35636
- em as useGamesInfo,
35637
- bm as useGetCarouseList,
35638
- Cm as useGetMarquee,
35639
- dm as useGetMemberInfo,
35640
- vm as useGetRankingGame,
35641
- No as useHistoryRewardsList,
35642
- Tm as useInbox,
35643
- eo as useInboxList,
35644
- cm as useInitializeWithToken,
35645
- Sm as useInvoiceAction,
35646
- Wo as useLineLogin,
35647
- Lo as useLogin,
35648
- Go as useLogout,
35649
- km as useNewsDetail,
35650
- hm as useNewsList,
35651
- Dm as usePayment,
35652
- Am as usePlatformConfig,
35653
- Em as usePlayGame,
35654
- Gm as usePointTransfer,
35655
- ao as useReadInbox,
35656
- Nm as useRebate,
35657
- ko as useReceiveRebate,
35658
- xm as useRedeemCodeDeposit,
35659
- Um as useRedeemEventReward,
35660
- So as useRedeemReward,
35661
- Fo as useResetUserPassword,
35662
- Oo as useResetUserTransactionPassword,
35663
- Lm as useRewards,
35664
- xo as useRewardsList,
35665
- wo as useSetUserTransactionPassword,
35666
- Mo as useSignUp,
35667
- En as useStatus,
35668
- Ro as useToggleFavoriteGame,
35669
- Ho as useTransferInGame,
35670
- Do as useUnUsedRewardsList,
35671
- Po as useUpdateUserInfo,
35672
- Pm as useUser,
35673
- Bo as useUserBindCard,
35674
- Ao as useUserRebate,
35675
- wm as useVip,
35676
- Fm as useVipInfo,
35677
- zo as useVipList,
35678
- ro as useWithdrawAction,
35679
- uo as useWithdrawTransaction
35617
+ pm as useBalanceGetter,
35618
+ cm as useBet,
35619
+ wr as useBetRecord,
35620
+ Or as useBetRecordDetail,
35621
+ Qr as useCheckCurrentEventProgress,
35622
+ Yr as useCheckEventStatus,
35623
+ Gm as useCheckPlayerWager,
35624
+ fm as useClientWebSocket,
35625
+ To as useCurrentRebate,
35626
+ no as useDepositAction,
35627
+ ro as useDepositTransaction,
35628
+ io as useDepositV1,
35629
+ to as useDepositV2,
35630
+ Um as useEvent,
35631
+ $r as useEventList,
35632
+ oo as useEventTransaction,
35633
+ Do as useExpiredRewardsList,
35634
+ wm as useGameConfig,
35635
+ mm as useGameInfoContext,
35636
+ Xo as useGamesInfo,
35637
+ ym as useGetCarouseList,
35638
+ bm as useGetMarquee,
35639
+ gm as useGetMemberInfo,
35640
+ Cm as useGetRankingGame,
35641
+ Eo as useHistoryRewardsList,
35642
+ vm as useInbox,
35643
+ Xr as useInboxList,
35644
+ dm as useInitializeWithToken,
35645
+ xm as useInvoiceAction,
35646
+ Ho as useLineLogin,
35647
+ No as useLogin,
35648
+ Lo as useLogout,
35649
+ hm as useNewsDetail,
35650
+ Tm as useNewsList,
35651
+ Sm as usePayment,
35652
+ Om as usePlatformConfig,
35653
+ Dm as usePlayGame,
35654
+ Lm as usePointTransfer,
35655
+ eo as useReadInbox,
35656
+ Em as useRebate,
35657
+ ho as useReceiveRebate,
35658
+ km as useRedeemCodeDeposit,
35659
+ _m as useRedeemEventReward,
35660
+ xo as useRedeemReward,
35661
+ Po as useResetUserPassword,
35662
+ wo as useResetUserTransactionPassword,
35663
+ Nm as useRewards,
35664
+ ko as useRewardsList,
35665
+ Fo as useSetUserTransactionPassword,
35666
+ Go as useSignUp,
35667
+ Dn as useStatus,
35668
+ Mo as useToggleFavoriteGame,
35669
+ Bo as useTransferInGame,
35670
+ So as useUnUsedRewardsList,
35671
+ Ro as useUpdateUserInfo,
35672
+ Rm as useUser,
35673
+ Ao as useUserBindCard,
35674
+ Oo as useUserRebate,
35675
+ Fm as useVip,
35676
+ Pm as useVipInfo,
35677
+ Wo as useVipList,
35678
+ lo as useWithdrawAction,
35679
+ so as useWithdrawTransaction
35680
35680
  };