@obb871001/api-integration-sdk 1.0.440 → 1.0.442

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
1
  import ve, { createContext as ni, useContext as Ei, useState as je, useMemo as ka, useCallback as M, useRef as me, useEffect as fe } from "react";
2
- import { useQueries as sr, useQuery as Y, useQueryClient as ya, useMutation as ee, useInfiniteQuery as sl, QueryClient as ml, QueryClientProvider as ul } from "@tanstack/react-query";
3
- import pl from "axios";
4
- import { get as j, replace as ot, isEmpty as Fe, find as Be, entries as mr, forEach as gl, omit as ur, map as Ee, isArray as ta, toLower as Ii, keyBy as dl, includes as cl, isObject as ri, flatMap as li, values as fl, keys as zi } from "lodash";
5
- import _l from "react-dom";
2
+ import { useQueries as mr, useQuery as Y, useQueryClient as ya, useMutation as ee, useInfiniteQuery as ul, QueryClient as pl, QueryClientProvider as gl } from "@tanstack/react-query";
3
+ import dl from "axios";
4
+ import { get as j, replace as ot, isEmpty as Fe, find as Be, entries as ur, forEach as cl, omit as pr, map as Ee, isArray as ta, toLower as Ii, keyBy as fl, includes as _l, isObject as ri, flatMap as li, values as yl, keys as zi } from "lodash";
5
+ import bl from "react-dom";
6
6
  var ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function Di(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
- function yl(e) {
10
+ function Ul(e) {
11
11
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
12
12
  var t = e.default;
13
13
  if (typeof t == "function") {
@@ -33,7 +33,7 @@ function yl(e) {
33
33
  }
34
34
  var ct = { exports: {} }, at = {};
35
35
  var Vi;
36
- function bl() {
36
+ function Cl() {
37
37
  if (Vi) return at;
38
38
  Vi = 1;
39
39
  var e = ve, t = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
@@ -48,7 +48,7 @@ function bl() {
48
48
  }
49
49
  var tt = {};
50
50
  var Ji;
51
- function Ul() {
51
+ function vl() {
52
52
  return Ji || (Ji = 1, process.env.NODE_ENV !== "production" && (function() {
53
53
  var e = ve, t = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), s = /* @__PURE__ */ Symbol.for("react.strict_mode"), u = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.provider"), d = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), i = /* @__PURE__ */ Symbol.for("react.suspense"), r = /* @__PURE__ */ Symbol.for("react.suspense_list"), o = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, f = "@@iterator";
54
54
  function y(x) {
@@ -201,18 +201,18 @@ function Ul() {
201
201
  L < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
202
202
  }
203
203
  }
204
- var te = _.ReactCurrentDispatcher, le;
204
+ var te = _.ReactCurrentDispatcher, oe;
205
205
  function O(x, V, $) {
206
206
  {
207
- if (le === void 0)
207
+ if (oe === void 0)
208
208
  try {
209
209
  throw Error();
210
210
  } catch (_e) {
211
211
  var ne = _e.stack.trim().match(/\n( *(at )?)/);
212
- le = ne && ne[1] || "";
212
+ oe = ne && ne[1] || "";
213
213
  }
214
214
  return `
215
- ` + le + x;
215
+ ` + oe + x;
216
216
  }
217
217
  }
218
218
  var J = !1, Z;
@@ -355,7 +355,7 @@ function Ul() {
355
355
  }
356
356
  }
357
357
  var Me = Array.isArray;
358
- function oe(x) {
358
+ function le(x) {
359
359
  return Me(x);
360
360
  }
361
361
  function ke(x) {
@@ -530,7 +530,7 @@ Check the top-level render call using <` + $ + ">.");
530
530
  {
531
531
  if (typeof x != "object")
532
532
  return;
533
- if (oe(x))
533
+ if (le(x))
534
534
  for (var $ = 0; $ < x.length; $++) {
535
535
  var ne = x[$];
536
536
  va(ne) && Wa(ne, V);
@@ -592,7 +592,7 @@ Check the top-level render call using <` + $ + ">.");
592
592
  var Ve = Ba();
593
593
  Ve ? ge += Ve : ge += Oa();
594
594
  var Se;
595
- x === null ? Se = "null" : oe(x) ? Se = "array" : x !== void 0 && x.$$typeof === t ? (Se = "<" + (A(x.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof x, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, ge);
595
+ x === null ? Se = "null" : le(x) ? Se = "array" : x !== void 0 && x.$$typeof === t ? (Se = "<" + (A(x.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof x, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, ge);
596
596
  }
597
597
  var De = et(x, V, $, _e, Ue);
598
598
  if (De == null)
@@ -601,7 +601,7 @@ Check the top-level render call using <` + $ + ">.");
601
601
  var aa = V.children;
602
602
  if (aa !== void 0)
603
603
  if (ne)
604
- if (oe(aa)) {
604
+ if (le(aa)) {
605
605
  for (var Ia = 0; Ia < aa.length; Ia++)
606
606
  Re(aa[Ia], x);
607
607
  Object.freeze && Object.freeze(aa);
@@ -611,17 +611,17 @@ Check the top-level render call using <` + $ + ">.");
611
611
  Re(aa, x);
612
612
  }
613
613
  if (be.call(V, "key")) {
614
- var Da = A(x), Ze = Object.keys(V).filter(function(ol) {
615
- return ol !== "key";
614
+ var Da = A(x), Ze = Object.keys(V).filter(function(ml) {
615
+ return ml !== "key";
616
616
  }), mi = Ze.length > 0 ? "{key: someKey, " + Ze.join(": ..., ") + ": ...}" : "{key: someKey}";
617
617
  if (!la[Da + mi]) {
618
- var ll = Ze.length > 0 ? "{" + Ze.join(": ..., ") + ": ...}" : "{}";
618
+ var sl = Ze.length > 0 ? "{" + Ze.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} />`, mi, Da, ll, Da), la[Da + mi] = !0;
624
+ <%s key={someKey} {...props} />`, mi, Da, sl, Da), la[Da + mi] = !0;
625
625
  }
626
626
  }
627
627
  return x === n ? Pe(De) : K(De), De;
@@ -633,24 +633,24 @@ React keys must be passed directly to JSX without using spread:
633
633
  function dt(x, V, $) {
634
634
  return Ie(x, V, $, !1);
635
635
  }
636
- var si = dt, rl = oa;
637
- tt.Fragment = n, tt.jsx = si, tt.jsxs = rl;
636
+ var si = dt, ol = oa;
637
+ tt.Fragment = n, tt.jsx = si, tt.jsxs = ol;
638
638
  })()), tt;
639
639
  }
640
640
  var Zi;
641
- function Cl() {
642
- return Zi || (Zi = 1, process.env.NODE_ENV === "production" ? ct.exports = bl() : ct.exports = Ul()), ct.exports;
641
+ function hl() {
642
+ return Zi || (Zi = 1, process.env.NODE_ENV === "production" ? ct.exports = Cl() : ct.exports = vl()), ct.exports;
643
643
  }
644
- var ie = Cl();
645
- const pr = ni(null), re = () => {
646
- const e = Ei(pr);
644
+ var ie = hl();
645
+ const gr = ni(null), re = () => {
646
+ const e = Ei(gr);
647
647
  if (!e)
648
648
  throw new Error("useApiContext must be used within ApiProvider");
649
649
  return e;
650
650
  }, it = {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
- }, gr = ni(null), vl = ({ children: e }) => {
653
+ }, dr = ni(null), Tl = ({ children: e }) => {
654
654
  const [t, a] = je(it.READY), n = ka(() => {
655
655
  const s = t === it.READY, u = t === it.PENDING;
656
656
  return {
@@ -662,9 +662,9 @@ const pr = ni(null), re = () => {
662
662
  setAsPending: () => a(it.PENDING)
663
663
  };
664
664
  }, [t]);
665
- return /* @__PURE__ */ ie.jsx(gr.Provider, { value: n, children: e });
666
- }, dr = () => {
667
- const e = Ei(gr);
665
+ return /* @__PURE__ */ ie.jsx(dr.Provider, { value: n, children: e });
666
+ }, cr = () => {
667
+ const e = Ei(dr);
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 pr = ni(null), re = () => {
687
687
  default:
688
688
  return e;
689
689
  }
690
- }, Qe = "https://d1h3qe8voog6w4.cloudfront.net", st = "https://d3jx2uvukujuvn.cloudfront.net", cr = (e) => `${Qe}/reward_icon/${e}.avif`, fr = () => `${Qe}/reward_icon/background_deposit.avif`, _r = "ds88platformIcon", Ka = {
690
+ }, Qe = "https://d1h3qe8voog6w4.cloudfront.net", st = "https://d3jx2uvukujuvn.cloudfront.net", fr = (e) => `${Qe}/reward_icon/${e}.avif`, _r = () => `${Qe}/reward_icon/background_deposit.avif`, yr = "ds88platformIcon", Ka = {
691
691
  zh_TW: "系統提示",
692
692
  zh_CN: "系统提示",
693
693
  en_US: "System Prompt",
@@ -695,7 +695,7 @@ const pr = ni(null), re = () => {
695
695
  vi_VN: "Lời nhắc hệ thống",
696
696
  th_TH: "ข้อความระบบ",
697
697
  ja_JP: "システムプロンプト"
698
- }, hl = {
698
+ }, kl = {
699
699
  zh_TW: "我們正在為您處理轉點中",
700
700
  zh_CN: "我们正在为您处理转点中",
701
701
  en_US: "We are processing your transfer",
@@ -715,7 +715,7 @@ function Ki({
715
715
  currency: d,
716
716
  toasterOpen: l = !1
717
717
  } = {}) {
718
- const i = pl.create({
718
+ const i = dl.create({
719
719
  baseURL: e,
720
720
  timeout: a,
721
721
  headers: {
@@ -753,14 +753,14 @@ function Ki({
753
753
  }
754
754
  ), i;
755
755
  }
756
- const yr = ni(null), Uu = () => {
757
- const e = Ei(yr);
756
+ const br = ni(null), vu = () => {
757
+ const e = Ei(br);
758
758
  if (!e)
759
759
  throw new Error(
760
760
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
761
761
  );
762
762
  return e;
763
- }, Tl = [0, 150, 400, 800], fa = {
763
+ }, xl = [0, 150, 400, 800], fa = {
764
764
  installed: !1,
765
765
  standalone: !1,
766
766
  corrections: 0,
@@ -770,7 +770,7 @@ const yr = ni(null), Uu = () => {
770
770
  lastFixedAt: null
771
771
  };
772
772
  typeof window < "u" && (window.__viewportFix__ = fa);
773
- const Cu = () => fa, kl = () => typeof window < "u" && (window.matchMedia?.("(display-mode: standalone)").matches || window.navigator.standalone === !0) || !1, xl = () => {
773
+ const hu = () => fa, Sl = () => typeof window < "u" && (window.matchMedia?.("(display-mode: standalone)").matches || window.navigator.standalone === !0) || !1, El = () => {
774
774
  const e = typeof document < "u" ? document.activeElement : null;
775
775
  return e ? e.isContentEditable ? !0 : /^(INPUT|TEXTAREA|SELECT)$/.test(e.tagName) : !1;
776
776
  };
@@ -778,7 +778,7 @@ let pi = !1;
778
778
  const nt = () => {
779
779
  if (typeof window > "u") return 0;
780
780
  const e = window.visualViewport;
781
- if (!e || e.scale !== 1 || xl()) return 0;
781
+ if (!e || e.scale !== 1 || El()) return 0;
782
782
  const t = Math.round(e.offsetTop);
783
783
  if (fa.lastDrift = t, t === 0 || pi) return 0;
784
784
  pi = !0;
@@ -788,14 +788,14 @@ const nt = () => {
788
788
  pi = !1;
789
789
  }
790
790
  return fa.corrections += 1, fa.lastFixedAt = Date.now(), -t;
791
- }, Sl = () => {
791
+ }, Dl = () => {
792
792
  if (typeof window > "u") return () => {
793
793
  };
794
- if (fa.standalone = kl(), !fa.standalone) return () => {
794
+ if (fa.standalone = Sl(), !fa.standalone) return () => {
795
795
  };
796
796
  let e = [];
797
797
  const t = () => {
798
- e.forEach(clearTimeout), e = Tl.map((s) => setTimeout(nt, s));
798
+ e.forEach(clearTimeout), e = xl.map((s) => setTimeout(nt, s));
799
799
  };
800
800
  window.addEventListener("orientationchange", t);
801
801
  const a = window.screen?.orientation;
@@ -804,7 +804,7 @@ const nt = () => {
804
804
  return n?.addEventListener?.("resize", nt), n?.addEventListener?.("scroll", nt), t(), fa.installed = !0, () => {
805
805
  e.forEach(clearTimeout), window.removeEventListener("orientationchange", t), a?.removeEventListener?.("change", t), window.removeEventListener("pageshow", t), n?.removeEventListener?.("resize", nt), n?.removeEventListener?.("scroll", nt), fa.installed = !1;
806
806
  };
807
- }, El = "game-icon-ds88", Dl = ({
807
+ }, Nl = "game-icon-ds88", Ll = ({
808
808
  lng: e,
809
809
  gamePlatform: t,
810
810
  gameCode: a,
@@ -812,9 +812,9 @@ const nt = () => {
812
812
  preferAnimated: s = !1
813
813
  } = {}) => {
814
814
  if (!t || !a) return [];
815
- const u = ot(a, / /g, "_"), b = (o, m, g) => `${st}/${El}/${o}/${t}/${u}${m}.${g}`, d = e && e !== "en" ? [e, "en"] : ["en"], l = s ? ["gif", "webp"] : ["webp", "gif"], i = (o) => d.flatMap((m) => l.map((g) => b(m, o, g))), r = i("");
815
+ const u = ot(a, / /g, "_"), b = (o, m, g) => `${st}/${Nl}/${o}/${t}/${u}${m}.${g}`, d = e && e !== "en" ? [e, "en"] : ["en"], l = s ? ["gif", "webp"] : ["webp", "gif"], i = (o) => d.flatMap((m) => l.map((g) => b(m, o, g))), r = i("");
816
816
  return n ? [...i("_long"), ...r] : r;
817
- }, Nl = (e) => {
817
+ }, Gl = (e) => {
818
818
  switch (e) {
819
819
  case "tw":
820
820
  return "Tw";
@@ -833,7 +833,7 @@ const nt = () => {
833
833
  default:
834
834
  return "Tw";
835
835
  }
836
- }, vu = () => {
836
+ }, Tu = () => {
837
837
  const e = (n, s) => !n && !s, t = (n) => n.startsWith("pc.");
838
838
  return {
839
839
  executeLogout: ({
@@ -852,64 +852,64 @@ const nt = () => {
852
852
  shouldShowErrorNotice: e,
853
853
  isMachineDomain: t
854
854
  };
855
- }, hu = (e) => {
855
+ }, ku = (e) => {
856
856
  let t = Number(e);
857
857
  return isNaN(t) ? e : new Intl.NumberFormat("en-US", {
858
858
  style: "decimal",
859
859
  minimumFractionDigits: 2,
860
860
  maximumFractionDigits: 2
861
861
  }).format(t);
862
- }, br = (e = [], t) => Be(e, { gameTypeName: t })?.gameTypeUid, Ur = (e = [], t) => Be(e, { platform: t })?.platformUid, Cr = (e = [], t) => Be(e, { SubPlatformEnum: t }), vr = (e = [], t, a) => Fe(e) ? [] : e.filter((n) => a ? String(n?.SubPlatformEnumUid) === String(a?.SubPlatformEnumUid) : String(n.platformUid) === String(t)), Ll = (e = []) => Fe(e) ? {} : e.reduce((t, a) => {
862
+ }, Ur = (e = [], t) => Be(e, { gameTypeName: t })?.gameTypeUid, Cr = (e = [], t) => Be(e, { platform: t })?.platformUid, vr = (e = [], t) => Be(e, { SubPlatformEnum: t }), hr = (e = [], t, a) => Fe(e) ? [] : e.filter((n) => a ? String(n?.SubPlatformEnumUid) === String(a?.SubPlatformEnumUid) : String(n.platformUid) === String(t)), Ml = (e = []) => Fe(e) ? {} : e.reduce((t, a) => {
863
863
  const n = a?.game_subtype || "UNKNOWN";
864
864
  return t[n] || (t[n] = []), t[n].push(a), t;
865
- }, {}), Gl = ({
865
+ }, {}), Rl = ({
866
866
  gameTypeName: e,
867
867
  platforms: t,
868
868
  gameList: a,
869
869
  allGameTypes: n,
870
870
  allPlatforms: s
871
871
  }) => {
872
- const u = br(n, e);
872
+ const u = Ur(n, e);
873
873
  return u ? t.reduce((b, d) => {
874
- const l = Ur(s, d), i = Cr(s, d), r = a[u] || [], o = vr(
874
+ const l = Cr(s, d), i = vr(s, d), r = a[u] || [], o = hr(
875
875
  r,
876
876
  l,
877
877
  i
878
878
  );
879
879
  return Fe(o) || (b[d] = o), b;
880
880
  }, {}) : {};
881
- }, Ml = ({
881
+ }, Pl = ({
882
882
  platformName: e,
883
883
  gamesOfType: t = [],
884
884
  allPlatforms: a = []
885
885
  }) => {
886
- const n = Ur(a, e), s = Cr(a, e), u = vr(
886
+ const n = Cr(a, e), s = vr(a, e), u = hr(
887
887
  t,
888
888
  n,
889
889
  s
890
890
  );
891
- return Ll(u);
891
+ return Ml(u);
892
892
  };
893
893
  var Ut = { exports: {} };
894
- function Rl(e) {
894
+ function wl(e) {
895
895
  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.');
896
896
  }
897
897
  var Ct = { exports: {} };
898
- const Pl = {}, wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
898
+ const Fl = {}, Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
899
899
  __proto__: null,
900
- default: Pl
901
- }, Symbol.toStringTag, { value: "Module" })), Fl = /* @__PURE__ */ yl(wl);
902
- var Al = Ct.exports, qi;
900
+ default: Fl
901
+ }, Symbol.toStringTag, { value: "Module" })), Ol = /* @__PURE__ */ Ul(Al);
902
+ var Bl = Ct.exports, qi;
903
903
  function de() {
904
904
  return qi || (qi = 1, (function(e, t) {
905
905
  (function(a, n) {
906
906
  e.exports = n();
907
- })(Al, function() {
907
+ })(Bl, function() {
908
908
  var a = a || (function(n, s) {
909
909
  var u;
910
- if (typeof window < "u" && window.crypto && (u = window.crypto), typeof self < "u" && self.crypto && (u = self.crypto), typeof globalThis < "u" && globalThis.crypto && (u = globalThis.crypto), !u && typeof window < "u" && window.msCrypto && (u = window.msCrypto), !u && typeof ui < "u" && ui.crypto && (u = ui.crypto), !u && typeof Rl == "function")
910
+ if (typeof window < "u" && window.crypto && (u = window.crypto), typeof self < "u" && self.crypto && (u = self.crypto), typeof globalThis < "u" && globalThis.crypto && (u = globalThis.crypto), !u && typeof window < "u" && window.msCrypto && (u = window.msCrypto), !u && typeof ui < "u" && ui.crypto && (u = ui.crypto), !u && typeof wl == "function")
911
911
  try {
912
- u = Fl;
912
+ u = Ol;
913
913
  } catch {
914
914
  }
915
915
  var b = function() {
@@ -1400,12 +1400,12 @@ function de() {
1400
1400
  });
1401
1401
  })(Ct)), Ct.exports;
1402
1402
  }
1403
- var vt = { exports: {} }, Ol = vt.exports, $i;
1403
+ var vt = { exports: {} }, Hl = vt.exports, $i;
1404
1404
  function oi() {
1405
1405
  return $i || ($i = 1, (function(e, t) {
1406
1406
  (function(a, n) {
1407
1407
  e.exports = n(de());
1408
- })(Ol, function(a) {
1408
+ })(Hl, function(a) {
1409
1409
  return (function(n) {
1410
1410
  var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = s.x64 = {};
1411
1411
  l.Word = b.extend({
@@ -1630,12 +1630,12 @@ function oi() {
1630
1630
  });
1631
1631
  })(vt)), vt.exports;
1632
1632
  }
1633
- var ht = { exports: {} }, Bl = ht.exports, ji;
1634
- function Hl() {
1633
+ var ht = { exports: {} }, Wl = ht.exports, ji;
1634
+ function Il() {
1635
1635
  return ji || (ji = 1, (function(e, t) {
1636
1636
  (function(a, n) {
1637
1637
  e.exports = n(de());
1638
- })(Bl, function(a) {
1638
+ })(Wl, function(a) {
1639
1639
  return (function() {
1640
1640
  if (typeof ArrayBuffer == "function") {
1641
1641
  var n = a, s = n.lib, u = s.WordArray, b = u.init, d = u.init = function(l) {
@@ -1652,12 +1652,12 @@ function Hl() {
1652
1652
  });
1653
1653
  })(ht)), ht.exports;
1654
1654
  }
1655
- var Tt = { exports: {} }, Wl = Tt.exports, Qi;
1656
- function Il() {
1655
+ var Tt = { exports: {} }, zl = Tt.exports, Qi;
1656
+ function Vl() {
1657
1657
  return Qi || (Qi = 1, (function(e, t) {
1658
1658
  (function(a, n) {
1659
1659
  e.exports = n(de());
1660
- })(Wl, function(a) {
1660
+ })(zl, function(a) {
1661
1661
  return (function() {
1662
1662
  var n = a, s = n.lib, u = s.WordArray, b = n.enc;
1663
1663
  b.Utf16 = b.Utf16BE = {
@@ -1746,12 +1746,12 @@ function Il() {
1746
1746
  });
1747
1747
  })(Tt)), Tt.exports;
1748
1748
  }
1749
- var kt = { exports: {} }, zl = kt.exports, Yi;
1749
+ var kt = { exports: {} }, Jl = kt.exports, Yi;
1750
1750
  function Ra() {
1751
1751
  return Yi || (Yi = 1, (function(e, t) {
1752
1752
  (function(a, n) {
1753
1753
  e.exports = n(de());
1754
- })(zl, function(a) {
1754
+ })(Jl, function(a) {
1755
1755
  return (function() {
1756
1756
  var n = a, s = n.lib, u = s.WordArray, b = n.enc;
1757
1757
  b.Base64 = {
@@ -1821,12 +1821,12 @@ function Ra() {
1821
1821
  });
1822
1822
  })(kt)), kt.exports;
1823
1823
  }
1824
- var xt = { exports: {} }, Vl = xt.exports, Xi;
1825
- function Jl() {
1824
+ var xt = { exports: {} }, Zl = xt.exports, Xi;
1825
+ function Kl() {
1826
1826
  return Xi || (Xi = 1, (function(e, t) {
1827
1827
  (function(a, n) {
1828
1828
  e.exports = n(de());
1829
- })(Vl, function(a) {
1829
+ })(Zl, function(a) {
1830
1830
  return (function() {
1831
1831
  var n = a, s = n.lib, u = s.WordArray, b = n.enc;
1832
1832
  b.Base64url = {
@@ -1903,12 +1903,12 @@ function Jl() {
1903
1903
  });
1904
1904
  })(xt)), xt.exports;
1905
1905
  }
1906
- var St = { exports: {} }, Zl = St.exports, en;
1906
+ var St = { exports: {} }, ql = St.exports, en;
1907
1907
  function Pa() {
1908
1908
  return en || (en = 1, (function(e, t) {
1909
1909
  (function(a, n) {
1910
1910
  e.exports = n(de());
1911
- })(Zl, function(a) {
1911
+ })(ql, function(a) {
1912
1912
  return (function(n) {
1913
1913
  var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [];
1914
1914
  (function() {
@@ -1969,12 +1969,12 @@ function Pa() {
1969
1969
  });
1970
1970
  })(St)), St.exports;
1971
1971
  }
1972
- var Et = { exports: {} }, Kl = Et.exports, an;
1973
- function hr() {
1972
+ var Et = { exports: {} }, $l = Et.exports, an;
1973
+ function Tr() {
1974
1974
  return an || (an = 1, (function(e, t) {
1975
1975
  (function(a, n) {
1976
1976
  e.exports = n(de());
1977
- })(Kl, function(a) {
1977
+ })($l, function(a) {
1978
1978
  return (function() {
1979
1979
  var n = a, s = n.lib, u = s.WordArray, b = s.Hasher, d = n.algo, l = [], i = d.SHA1 = b.extend({
1980
1980
  _doReset: function() {
@@ -2013,12 +2013,12 @@ function hr() {
2013
2013
  });
2014
2014
  })(Et)), Et.exports;
2015
2015
  }
2016
- var Dt = { exports: {} }, ql = Dt.exports, tn;
2016
+ var Dt = { exports: {} }, jl = Dt.exports, tn;
2017
2017
  function Ni() {
2018
2018
  return tn || (tn = 1, (function(e, t) {
2019
2019
  (function(a, n) {
2020
2020
  e.exports = n(de());
2021
- })(ql, function(a) {
2021
+ })(jl, function(a) {
2022
2022
  return (function(n) {
2023
2023
  var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [], r = [];
2024
2024
  (function() {
@@ -2065,12 +2065,12 @@ function Ni() {
2065
2065
  });
2066
2066
  })(Dt)), Dt.exports;
2067
2067
  }
2068
- var Nt = { exports: {} }, $l = Nt.exports, nn;
2069
- function jl() {
2068
+ var Nt = { exports: {} }, Ql = Nt.exports, nn;
2069
+ function Yl() {
2070
2070
  return nn || (nn = 1, (function(e, t) {
2071
2071
  (function(a, n, s) {
2072
2072
  e.exports = n(de(), Ni());
2073
- })($l, function(a) {
2073
+ })(Ql, function(a) {
2074
2074
  return (function() {
2075
2075
  var n = a, s = n.lib, u = s.WordArray, b = n.algo, d = b.SHA256, l = b.SHA224 = d.extend({
2076
2076
  _doReset: function() {
@@ -2095,12 +2095,12 @@ function jl() {
2095
2095
  });
2096
2096
  })(Nt)), Nt.exports;
2097
2097
  }
2098
- var Lt = { exports: {} }, Ql = Lt.exports, rn;
2099
- function Tr() {
2098
+ var Lt = { exports: {} }, Xl = Lt.exports, rn;
2099
+ function kr() {
2100
2100
  return rn || (rn = 1, (function(e, t) {
2101
2101
  (function(a, n, s) {
2102
2102
  e.exports = n(de(), oi());
2103
- })(Ql, function(a) {
2103
+ })(Xl, function(a) {
2104
2104
  return (function() {
2105
2105
  var n = a, s = n.lib, u = s.Hasher, b = n.x64, d = b.Word, l = b.WordArray, i = n.algo;
2106
2106
  function r() {
@@ -2206,18 +2206,18 @@ function Tr() {
2206
2206
  ]);
2207
2207
  },
2208
2208
  _doProcessBlock: function(p, f) {
2209
- for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, F = c.low, A = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, z = T.high, B = T.low, N = h.high, E = h.low, w = D.high, P = D.low, ae = H, te = k, le = S, O = F, J = A, Z = R, Q = L, X = G, q = I, pe = W, Ce = z, be = B, Ye = N, he = E, Ge = w, Xe = P, Me = 0; Me < 80; Me++) {
2210
- var oe, ke, He = m[Me];
2209
+ for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, F = c.low, A = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, z = T.high, B = T.low, N = h.high, E = h.low, w = D.high, P = D.low, ae = H, te = k, oe = S, O = F, J = A, Z = R, Q = L, X = G, q = I, pe = W, Ce = z, be = B, Ye = N, he = E, Ge = w, Xe = P, Me = 0; Me < 80; Me++) {
2210
+ var le, ke, He = m[Me];
2211
2211
  if (Me < 16)
2212
- ke = He.high = p[f + Me * 2] | 0, oe = He.low = p[f + Me * 2 + 1] | 0;
2212
+ ke = He.high = p[f + Me * 2] | 0, le = He.low = p[f + Me * 2 + 1] | 0;
2213
2213
  else {
2214
2214
  var ze = m[Me - 15], xe = ze.high, We = ze.low, ia = (xe >>> 1 | We << 31) ^ (xe >>> 8 | We << 24) ^ xe >>> 7, ua = (We >>> 1 | xe << 31) ^ (We >>> 8 | xe << 24) ^ (We >>> 7 | xe << 25), ba = m[Me - 2], Ke = ba.high, na = ba.low, Ya = (Ke >>> 19 | na << 13) ^ (Ke << 3 | na >>> 29) ^ Ke >>> 6, Fa = (na >>> 19 | Ke << 13) ^ (na << 3 | Ke >>> 29) ^ (na >>> 6 | Ke << 26), Aa = m[Me - 7], Xa = Aa.high, et = Aa.low, Ua = m[Me - 16], Sa = Ua.high, ea = Ua.low;
2215
- oe = ua + et, ke = ia + Xa + (oe >>> 0 < ua >>> 0 ? 1 : 0), oe = oe + Fa, ke = ke + Ya + (oe >>> 0 < Fa >>> 0 ? 1 : 0), oe = oe + ea, ke = ke + Sa + (oe >>> 0 < ea >>> 0 ? 1 : 0), He.high = ke, He.low = oe;
2215
+ le = ua + et, ke = ia + Xa + (le >>> 0 < ua >>> 0 ? 1 : 0), le = le + Fa, ke = ke + Ya + (le >>> 0 < Fa >>> 0 ? 1 : 0), le = le + ea, ke = ke + Sa + (le >>> 0 < ea >>> 0 ? 1 : 0), He.high = ke, He.low = le;
2216
2216
  }
2217
- var Ca = q & Ce ^ ~q & Ye, va = pe & be ^ ~pe & he, Oa = ae & le ^ ae & J ^ le & J, Ba = te & O ^ te & Z ^ O & Z, Ea = (ae >>> 28 | te << 4) ^ (ae << 30 | te >>> 2) ^ (ae << 25 | te >>> 7), Ha = (te >>> 28 | ae << 4) ^ (te << 30 | ae >>> 2) ^ (te << 25 | ae >>> 7), Wa = (q >>> 14 | pe << 18) ^ (q >>> 18 | pe << 14) ^ (q << 23 | pe >>> 9), Re = (pe >>> 14 | q << 18) ^ (pe >>> 18 | q << 14) ^ (pe << 23 | q >>> 9), K = o[Me], Pe = K.high, la = K.low, Ie = Xe + Re, oa = Ge + Wa + (Ie >>> 0 < Xe >>> 0 ? 1 : 0), Ie = Ie + va, oa = oa + Ca + (Ie >>> 0 < va >>> 0 ? 1 : 0), Ie = Ie + la, oa = oa + Pe + (Ie >>> 0 < la >>> 0 ? 1 : 0), Ie = Ie + oe, oa = oa + ke + (Ie >>> 0 < oe >>> 0 ? 1 : 0), dt = Ha + Ba, si = Ea + Oa + (dt >>> 0 < Ha >>> 0 ? 1 : 0);
2218
- Ge = Ye, Xe = he, Ye = Ce, he = be, Ce = q, be = pe, pe = X + Ie | 0, q = Q + oa + (pe >>> 0 < X >>> 0 ? 1 : 0) | 0, Q = J, X = Z, J = le, Z = O, le = ae, O = te, te = Ie + dt | 0, ae = oa + si + (te >>> 0 < Ie >>> 0 ? 1 : 0) | 0;
2217
+ var Ca = q & Ce ^ ~q & Ye, va = pe & be ^ ~pe & he, Oa = ae & oe ^ ae & J ^ oe & J, Ba = te & O ^ te & Z ^ O & Z, Ea = (ae >>> 28 | te << 4) ^ (ae << 30 | te >>> 2) ^ (ae << 25 | te >>> 7), Ha = (te >>> 28 | ae << 4) ^ (te << 30 | ae >>> 2) ^ (te << 25 | ae >>> 7), Wa = (q >>> 14 | pe << 18) ^ (q >>> 18 | pe << 14) ^ (q << 23 | pe >>> 9), Re = (pe >>> 14 | q << 18) ^ (pe >>> 18 | q << 14) ^ (pe << 23 | q >>> 9), K = o[Me], Pe = K.high, la = K.low, Ie = Xe + Re, oa = Ge + Wa + (Ie >>> 0 < Xe >>> 0 ? 1 : 0), Ie = Ie + va, oa = oa + Ca + (Ie >>> 0 < va >>> 0 ? 1 : 0), Ie = Ie + la, oa = oa + Pe + (Ie >>> 0 < la >>> 0 ? 1 : 0), Ie = Ie + le, oa = oa + ke + (Ie >>> 0 < le >>> 0 ? 1 : 0), dt = Ha + Ba, si = Ea + Oa + (dt >>> 0 < Ha >>> 0 ? 1 : 0);
2218
+ Ge = Ye, Xe = he, Ye = Ce, he = be, Ce = q, be = pe, pe = X + Ie | 0, q = Q + oa + (pe >>> 0 < X >>> 0 ? 1 : 0) | 0, Q = J, X = Z, J = oe, Z = O, oe = ae, O = te, te = Ie + dt | 0, ae = oa + si + (te >>> 0 < Ie >>> 0 ? 1 : 0) | 0;
2219
2219
  }
2220
- k = _.low = k + te, _.high = H + ae + (k >>> 0 < te >>> 0 ? 1 : 0), F = c.low = F + O, c.high = S + le + (F >>> 0 < O >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = A + J + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G + X, C.high = L + Q + (G >>> 0 < X >>> 0 ? 1 : 0), W = v.low = W + pe, v.high = I + q + (W >>> 0 < pe >>> 0 ? 1 : 0), B = T.low = B + be, T.high = z + Ce + (B >>> 0 < be >>> 0 ? 1 : 0), E = h.low = E + he, h.high = N + Ye + (E >>> 0 < he >>> 0 ? 1 : 0), P = D.low = P + Xe, D.high = w + Ge + (P >>> 0 < Xe >>> 0 ? 1 : 0);
2220
+ k = _.low = k + te, _.high = H + ae + (k >>> 0 < te >>> 0 ? 1 : 0), F = c.low = F + O, c.high = S + oe + (F >>> 0 < O >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = A + J + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G + X, C.high = L + Q + (G >>> 0 < X >>> 0 ? 1 : 0), W = v.low = W + pe, v.high = I + q + (W >>> 0 < pe >>> 0 ? 1 : 0), B = T.low = B + be, T.high = z + Ce + (B >>> 0 < be >>> 0 ? 1 : 0), E = h.low = E + he, h.high = N + Ye + (E >>> 0 < he >>> 0 ? 1 : 0), P = D.low = P + Xe, D.high = w + Ge + (P >>> 0 < Xe >>> 0 ? 1 : 0);
2221
2221
  },
2222
2222
  _doFinalize: function() {
2223
2223
  var p = this._data, f = p.words, y = this._nDataBytes * 8, _ = p.sigBytes * 8;
@@ -2236,12 +2236,12 @@ function Tr() {
2236
2236
  });
2237
2237
  })(Lt)), Lt.exports;
2238
2238
  }
2239
- var Gt = { exports: {} }, Yl = Gt.exports, ln;
2240
- function Xl() {
2239
+ var Gt = { exports: {} }, eo = Gt.exports, ln;
2240
+ function ao() {
2241
2241
  return ln || (ln = 1, (function(e, t) {
2242
2242
  (function(a, n, s) {
2243
- e.exports = n(de(), oi(), Tr());
2244
- })(Yl, function(a) {
2243
+ e.exports = n(de(), oi(), kr());
2244
+ })(eo, function(a) {
2245
2245
  return (function() {
2246
2246
  var n = a, s = n.x64, u = s.Word, b = s.WordArray, d = n.algo, l = d.SHA512, i = d.SHA384 = l.extend({
2247
2247
  _doReset: function() {
@@ -2266,12 +2266,12 @@ function Xl() {
2266
2266
  });
2267
2267
  })(Gt)), Gt.exports;
2268
2268
  }
2269
- var Mt = { exports: {} }, eo = Mt.exports, on;
2270
- function ao() {
2269
+ var Mt = { exports: {} }, to = Mt.exports, on;
2270
+ function io() {
2271
2271
  return on || (on = 1, (function(e, t) {
2272
2272
  (function(a, n, s) {
2273
2273
  e.exports = n(de(), oi());
2274
- })(eo, function(a) {
2274
+ })(to, function(a) {
2275
2275
  return (function(n) {
2276
2276
  var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.x64, i = l.Word, r = s.algo, o = [], m = [], g = [];
2277
2277
  (function() {
@@ -2347,8 +2347,8 @@ function ao() {
2347
2347
  w.high = P.high, w.low = P.low;
2348
2348
  for (var H = 0; H < 5; H++)
2349
2349
  for (var F = 0; F < 5; F++) {
2350
- var W = H + 5 * F, h = c[W], ae = p[W], te = p[(H + 1) % 5 + 5 * F], le = p[(H + 2) % 5 + 5 * F];
2351
- h.high = ae.high ^ ~te.high & le.high, h.low = ae.low ^ ~te.low & le.low;
2350
+ var W = H + 5 * F, h = c[W], ae = p[W], te = p[(H + 1) % 5 + 5 * F], oe = p[(H + 2) % 5 + 5 * F];
2351
+ h.high = ae.high ^ ~te.high & oe.high, h.low = ae.low ^ ~te.low & oe.low;
2352
2352
  }
2353
2353
  var h = c[0], O = g[D];
2354
2354
  h.high ^= O.high, h.low ^= O.low;
@@ -2376,12 +2376,12 @@ function ao() {
2376
2376
  });
2377
2377
  })(Mt)), Mt.exports;
2378
2378
  }
2379
- var Rt = { exports: {} }, to = Rt.exports, sn;
2380
- function io() {
2379
+ var Rt = { exports: {} }, no = Rt.exports, sn;
2380
+ function ro() {
2381
2381
  return sn || (sn = 1, (function(e, t) {
2382
2382
  (function(a, n) {
2383
2383
  e.exports = n(de());
2384
- })(to, function(a) {
2384
+ })(no, function(a) {
2385
2385
  return (function(n) {
2386
2386
  var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = b.create([
2387
2387
  0,
@@ -2716,11 +2716,11 @@ function io() {
2716
2716
  var H = h + D, k = T[H];
2717
2717
  T[H] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
2718
2718
  }
2719
- var S = this._hash.words, F = g.words, A = p.words, R = i.words, L = r.words, G = o.words, I = m.words, W, z, B, N, E, w, P, ae, te, le;
2720
- w = W = S[0], P = z = S[1], ae = B = S[2], te = N = S[3], le = E = S[4];
2719
+ var S = this._hash.words, F = g.words, A = p.words, R = i.words, L = r.words, G = o.words, I = m.words, W, z, B, N, E, w, P, ae, te, oe;
2720
+ w = W = S[0], P = z = S[1], ae = B = S[2], te = N = S[3], oe = E = S[4];
2721
2721
  for (var O, D = 0; D < 80; D += 1)
2722
- O = W + T[h + R[D]] | 0, D < 16 ? O += y(z, B, N) + F[0] : D < 32 ? O += _(z, B, N) + F[1] : D < 48 ? O += c(z, B, N) + F[2] : D < 64 ? O += U(z, B, N) + F[3] : O += C(z, B, N) + F[4], O = O | 0, O = v(O, G[D]), O = O + E | 0, W = E, E = N, N = v(B, 10), B = z, z = O, O = w + T[h + L[D]] | 0, D < 16 ? O += C(P, ae, te) + A[0] : D < 32 ? O += U(P, ae, te) + A[1] : D < 48 ? O += c(P, ae, te) + A[2] : D < 64 ? O += _(P, ae, te) + A[3] : O += y(P, ae, te) + A[4], O = O | 0, O = v(O, I[D]), O = O + le | 0, w = le, le = te, te = v(ae, 10), ae = P, P = O;
2723
- O = S[1] + B + te | 0, S[1] = S[2] + N + le | 0, S[2] = S[3] + E + w | 0, S[3] = S[4] + W + P | 0, S[4] = S[0] + z + ae | 0, S[0] = O;
2722
+ O = W + T[h + R[D]] | 0, D < 16 ? O += y(z, B, N) + F[0] : D < 32 ? O += _(z, B, N) + F[1] : D < 48 ? O += c(z, B, N) + F[2] : D < 64 ? O += U(z, B, N) + F[3] : O += C(z, B, N) + F[4], O = O | 0, O = v(O, G[D]), O = O + E | 0, W = E, E = N, N = v(B, 10), B = z, z = O, O = w + T[h + L[D]] | 0, D < 16 ? O += C(P, ae, te) + A[0] : D < 32 ? O += U(P, ae, te) + A[1] : D < 48 ? O += c(P, ae, te) + A[2] : D < 64 ? O += _(P, ae, te) + A[3] : O += y(P, ae, te) + A[4], O = O | 0, O = v(O, I[D]), O = O + oe | 0, w = oe, oe = te, te = v(ae, 10), ae = P, P = O;
2723
+ O = S[1] + B + te | 0, S[1] = S[2] + N + oe | 0, S[2] = S[3] + E + w | 0, S[3] = S[4] + W + P | 0, S[4] = S[0] + z + ae | 0, S[0] = O;
2724
2724
  },
2725
2725
  _doFinalize: function() {
2726
2726
  var T = this._data, h = T.words, D = this._nDataBytes * 8, H = T.sigBytes * 8;
@@ -2759,12 +2759,12 @@ function io() {
2759
2759
  });
2760
2760
  })(Rt)), Rt.exports;
2761
2761
  }
2762
- var Pt = { exports: {} }, no = Pt.exports, mn;
2762
+ var Pt = { exports: {} }, lo = Pt.exports, mn;
2763
2763
  function Li() {
2764
2764
  return mn || (mn = 1, (function(e, t) {
2765
2765
  (function(a, n) {
2766
2766
  e.exports = n(de());
2767
- })(no, function(a) {
2767
+ })(lo, function(a) {
2768
2768
  (function() {
2769
2769
  var n = a, s = n.lib, u = s.Base, b = n.enc, d = b.Utf8, l = n.algo;
2770
2770
  l.HMAC = u.extend({
@@ -2837,12 +2837,12 @@ function Li() {
2837
2837
  });
2838
2838
  })(Pt)), Pt.exports;
2839
2839
  }
2840
- var wt = { exports: {} }, ro = wt.exports, un;
2841
- function lo() {
2840
+ var wt = { exports: {} }, oo = wt.exports, un;
2841
+ function so() {
2842
2842
  return un || (un = 1, (function(e, t) {
2843
2843
  (function(a, n, s) {
2844
2844
  e.exports = n(de(), Ni(), Li());
2845
- })(ro, function(a) {
2845
+ })(oo, function(a) {
2846
2846
  return (function() {
2847
2847
  var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.SHA256, i = d.HMAC, r = d.PBKDF2 = u.extend({
2848
2848
  /**
@@ -2904,12 +2904,12 @@ function lo() {
2904
2904
  });
2905
2905
  })(wt)), wt.exports;
2906
2906
  }
2907
- var Ft = { exports: {} }, oo = Ft.exports, pn;
2907
+ var Ft = { exports: {} }, mo = Ft.exports, pn;
2908
2908
  function xa() {
2909
2909
  return pn || (pn = 1, (function(e, t) {
2910
2910
  (function(a, n, s) {
2911
- e.exports = n(de(), hr(), Li());
2912
- })(oo, function(a) {
2911
+ e.exports = n(de(), Tr(), Li());
2912
+ })(mo, function(a) {
2913
2913
  return (function() {
2914
2914
  var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.MD5, i = d.EvpKDF = u.extend({
2915
2915
  /**
@@ -2967,12 +2967,12 @@ function xa() {
2967
2967
  });
2968
2968
  })(Ft)), Ft.exports;
2969
2969
  }
2970
- var At = { exports: {} }, so = At.exports, gn;
2970
+ var At = { exports: {} }, uo = At.exports, gn;
2971
2971
  function Ae() {
2972
2972
  return gn || (gn = 1, (function(e, t) {
2973
2973
  (function(a, n, s) {
2974
2974
  e.exports = n(de(), xa());
2975
- })(so, function(a) {
2975
+ })(uo, function(a) {
2976
2976
  a.lib.Cipher || (function(n) {
2977
2977
  var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = u.BufferedBlockAlgorithm, i = s.enc;
2978
2978
  i.Utf8;
@@ -3505,12 +3505,12 @@ function Ae() {
3505
3505
  });
3506
3506
  })(At)), At.exports;
3507
3507
  }
3508
- var Ot = { exports: {} }, mo = Ot.exports, dn;
3509
- function uo() {
3508
+ var Ot = { exports: {} }, po = Ot.exports, dn;
3509
+ function go() {
3510
3510
  return dn || (dn = 1, (function(e, t) {
3511
3511
  (function(a, n, s) {
3512
3512
  e.exports = n(de(), Ae());
3513
- })(mo, function(a) {
3513
+ })(po, function(a) {
3514
3514
  return a.mode.CFB = (function() {
3515
3515
  var n = a.lib.BlockCipherMode.extend();
3516
3516
  n.Encryptor = n.extend({
@@ -3535,12 +3535,12 @@ function uo() {
3535
3535
  });
3536
3536
  })(Ot)), Ot.exports;
3537
3537
  }
3538
- var Bt = { exports: {} }, po = Bt.exports, cn;
3539
- function go() {
3538
+ var Bt = { exports: {} }, co = Bt.exports, cn;
3539
+ function fo() {
3540
3540
  return cn || (cn = 1, (function(e, t) {
3541
3541
  (function(a, n, s) {
3542
3542
  e.exports = n(de(), Ae());
3543
- })(po, function(a) {
3543
+ })(co, function(a) {
3544
3544
  return a.mode.CTR = (function() {
3545
3545
  var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
3546
3546
  processBlock: function(u, b) {
@@ -3557,12 +3557,12 @@ function go() {
3557
3557
  });
3558
3558
  })(Bt)), Bt.exports;
3559
3559
  }
3560
- var Ht = { exports: {} }, co = Ht.exports, fn;
3561
- function fo() {
3560
+ var Ht = { exports: {} }, _o = Ht.exports, fn;
3561
+ function yo() {
3562
3562
  return fn || (fn = 1, (function(e, t) {
3563
3563
  (function(a, n, s) {
3564
3564
  e.exports = n(de(), Ae());
3565
- })(co, function(a) {
3565
+ })(_o, function(a) {
3566
3566
  return a.mode.CTRGladman = (function() {
3567
3567
  var n = a.lib.BlockCipherMode.extend();
3568
3568
  function s(d) {
@@ -3591,12 +3591,12 @@ function fo() {
3591
3591
  });
3592
3592
  })(Ht)), Ht.exports;
3593
3593
  }
3594
- var Wt = { exports: {} }, _o = Wt.exports, _n;
3595
- function yo() {
3594
+ var Wt = { exports: {} }, bo = Wt.exports, _n;
3595
+ function Uo() {
3596
3596
  return _n || (_n = 1, (function(e, t) {
3597
3597
  (function(a, n, s) {
3598
3598
  e.exports = n(de(), Ae());
3599
- })(_o, function(a) {
3599
+ })(bo, function(a) {
3600
3600
  return a.mode.OFB = (function() {
3601
3601
  var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
3602
3602
  processBlock: function(u, b) {
@@ -3611,12 +3611,12 @@ function yo() {
3611
3611
  });
3612
3612
  })(Wt)), Wt.exports;
3613
3613
  }
3614
- var It = { exports: {} }, bo = It.exports, yn;
3615
- function Uo() {
3614
+ var It = { exports: {} }, Co = It.exports, yn;
3615
+ function vo() {
3616
3616
  return yn || (yn = 1, (function(e, t) {
3617
3617
  (function(a, n, s) {
3618
3618
  e.exports = n(de(), Ae());
3619
- })(bo, function(a) {
3619
+ })(Co, function(a) {
3620
3620
  return a.mode.ECB = (function() {
3621
3621
  var n = a.lib.BlockCipherMode.extend();
3622
3622
  return n.Encryptor = n.extend({
@@ -3632,12 +3632,12 @@ function Uo() {
3632
3632
  });
3633
3633
  })(It)), It.exports;
3634
3634
  }
3635
- var zt = { exports: {} }, Co = zt.exports, bn;
3636
- function vo() {
3635
+ var zt = { exports: {} }, ho = zt.exports, bn;
3636
+ function To() {
3637
3637
  return bn || (bn = 1, (function(e, t) {
3638
3638
  (function(a, n, s) {
3639
3639
  e.exports = n(de(), Ae());
3640
- })(Co, function(a) {
3640
+ })(ho, function(a) {
3641
3641
  return a.pad.AnsiX923 = {
3642
3642
  pad: function(n, s) {
3643
3643
  var u = n.sigBytes, b = s * 4, d = b - u % b, l = u + d - 1;
@@ -3651,12 +3651,12 @@ function vo() {
3651
3651
  });
3652
3652
  })(zt)), zt.exports;
3653
3653
  }
3654
- var Vt = { exports: {} }, ho = Vt.exports, Un;
3655
- function To() {
3654
+ var Vt = { exports: {} }, ko = Vt.exports, Un;
3655
+ function xo() {
3656
3656
  return Un || (Un = 1, (function(e, t) {
3657
3657
  (function(a, n, s) {
3658
3658
  e.exports = n(de(), Ae());
3659
- })(ho, function(a) {
3659
+ })(ko, function(a) {
3660
3660
  return a.pad.Iso10126 = {
3661
3661
  pad: function(n, s) {
3662
3662
  var u = s * 4, b = u - n.sigBytes % u;
@@ -3670,12 +3670,12 @@ function To() {
3670
3670
  });
3671
3671
  })(Vt)), Vt.exports;
3672
3672
  }
3673
- var Jt = { exports: {} }, ko = Jt.exports, Cn;
3674
- function xo() {
3673
+ var Jt = { exports: {} }, So = Jt.exports, Cn;
3674
+ function Eo() {
3675
3675
  return Cn || (Cn = 1, (function(e, t) {
3676
3676
  (function(a, n, s) {
3677
3677
  e.exports = n(de(), Ae());
3678
- })(ko, function(a) {
3678
+ })(So, function(a) {
3679
3679
  return a.pad.Iso97971 = {
3680
3680
  pad: function(n, s) {
3681
3681
  n.concat(a.lib.WordArray.create([2147483648], 1)), a.pad.ZeroPadding.pad(n, s);
@@ -3687,12 +3687,12 @@ function xo() {
3687
3687
  });
3688
3688
  })(Jt)), Jt.exports;
3689
3689
  }
3690
- var Zt = { exports: {} }, So = Zt.exports, vn;
3691
- function Eo() {
3690
+ var Zt = { exports: {} }, Do = Zt.exports, vn;
3691
+ function No() {
3692
3692
  return vn || (vn = 1, (function(e, t) {
3693
3693
  (function(a, n, s) {
3694
3694
  e.exports = n(de(), Ae());
3695
- })(So, function(a) {
3695
+ })(Do, function(a) {
3696
3696
  return a.pad.ZeroPadding = {
3697
3697
  pad: function(n, s) {
3698
3698
  var u = s * 4;
@@ -3709,12 +3709,12 @@ function Eo() {
3709
3709
  });
3710
3710
  })(Zt)), Zt.exports;
3711
3711
  }
3712
- var Kt = { exports: {} }, Do = Kt.exports, hn;
3713
- function No() {
3712
+ var Kt = { exports: {} }, Lo = Kt.exports, hn;
3713
+ function Go() {
3714
3714
  return hn || (hn = 1, (function(e, t) {
3715
3715
  (function(a, n, s) {
3716
3716
  e.exports = n(de(), Ae());
3717
- })(Do, function(a) {
3717
+ })(Lo, function(a) {
3718
3718
  return a.pad.NoPadding = {
3719
3719
  pad: function() {
3720
3720
  },
@@ -3724,12 +3724,12 @@ function No() {
3724
3724
  });
3725
3725
  })(Kt)), Kt.exports;
3726
3726
  }
3727
- var qt = { exports: {} }, Lo = qt.exports, Tn;
3728
- function Go() {
3727
+ var qt = { exports: {} }, Mo = qt.exports, Tn;
3728
+ function Ro() {
3729
3729
  return Tn || (Tn = 1, (function(e, t) {
3730
3730
  (function(a, n, s) {
3731
3731
  e.exports = n(de(), Ae());
3732
- })(Lo, function(a) {
3732
+ })(Mo, function(a) {
3733
3733
  return (function(n) {
3734
3734
  var s = a, u = s.lib, b = u.CipherParams, d = s.enc, l = d.Hex, i = s.format;
3735
3735
  i.Hex = {
@@ -3771,12 +3771,12 @@ function Go() {
3771
3771
  });
3772
3772
  })(qt)), qt.exports;
3773
3773
  }
3774
- var $t = { exports: {} }, Mo = $t.exports, kn;
3775
- function Ro() {
3774
+ var $t = { exports: {} }, Po = $t.exports, kn;
3775
+ function wo() {
3776
3776
  return kn || (kn = 1, (function(e, t) {
3777
3777
  (function(a, n, s) {
3778
3778
  e.exports = n(de(), Ra(), Pa(), xa(), Ae());
3779
- })(Mo, function(a) {
3779
+ })(Po, function(a) {
3780
3780
  return (function() {
3781
3781
  var n = a, s = n.lib, u = s.BlockCipher, b = n.algo, d = [], l = [], i = [], r = [], o = [], m = [], g = [], p = [], f = [], y = [];
3782
3782
  (function() {
@@ -3831,12 +3831,12 @@ function Ro() {
3831
3831
  });
3832
3832
  })($t)), $t.exports;
3833
3833
  }
3834
- var jt = { exports: {} }, Po = jt.exports, xn;
3835
- function wo() {
3834
+ var jt = { exports: {} }, Fo = jt.exports, xn;
3835
+ function Ao() {
3836
3836
  return xn || (xn = 1, (function(e, t) {
3837
3837
  (function(a, n, s) {
3838
3838
  e.exports = n(de(), Ra(), Pa(), xa(), Ae());
3839
- })(Po, function(a) {
3839
+ })(Fo, function(a) {
3840
3840
  return (function() {
3841
3841
  var n = a, s = n.lib, u = s.WordArray, b = s.BlockCipher, d = n.algo, l = [
3842
3842
  57,
@@ -4551,12 +4551,12 @@ function wo() {
4551
4551
  });
4552
4552
  })(jt)), jt.exports;
4553
4553
  }
4554
- var Qt = { exports: {} }, Fo = Qt.exports, Sn;
4555
- function Ao() {
4554
+ var Qt = { exports: {} }, Oo = Qt.exports, Sn;
4555
+ function Bo() {
4556
4556
  return Sn || (Sn = 1, (function(e, t) {
4557
4557
  (function(a, n, s) {
4558
4558
  e.exports = n(de(), Ra(), Pa(), xa(), Ae());
4559
- })(Fo, function(a) {
4559
+ })(Oo, function(a) {
4560
4560
  return (function() {
4561
4561
  var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = b.RC4 = u.extend({
4562
4562
  _doReset: function() {
@@ -4605,12 +4605,12 @@ function Ao() {
4605
4605
  });
4606
4606
  })(Qt)), Qt.exports;
4607
4607
  }
4608
- var Yt = { exports: {} }, Oo = Yt.exports, En;
4609
- function Bo() {
4608
+ var Yt = { exports: {} }, Ho = Yt.exports, En;
4609
+ function Wo() {
4610
4610
  return En || (En = 1, (function(e, t) {
4611
4611
  (function(a, n, s) {
4612
4612
  e.exports = n(de(), Ra(), Pa(), xa(), Ae());
4613
- })(Oo, function(a) {
4613
+ })(Ho, function(a) {
4614
4614
  return (function() {
4615
4615
  var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.Rabbit = u.extend({
4616
4616
  _doReset: function() {
@@ -4671,12 +4671,12 @@ function Bo() {
4671
4671
  });
4672
4672
  })(Yt)), Yt.exports;
4673
4673
  }
4674
- var Xt = { exports: {} }, Ho = Xt.exports, Dn;
4675
- function Wo() {
4674
+ var Xt = { exports: {} }, Io = Xt.exports, Dn;
4675
+ function zo() {
4676
4676
  return Dn || (Dn = 1, (function(e, t) {
4677
4677
  (function(a, n, s) {
4678
4678
  e.exports = n(de(), Ra(), Pa(), xa(), Ae());
4679
- })(Ho, function(a) {
4679
+ })(Io, function(a) {
4680
4680
  return (function() {
4681
4681
  var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.RabbitLegacy = u.extend({
4682
4682
  _doReset: function() {
@@ -4735,12 +4735,12 @@ function Wo() {
4735
4735
  });
4736
4736
  })(Xt)), Xt.exports;
4737
4737
  }
4738
- var ei = { exports: {} }, Io = ei.exports, Nn;
4739
- function zo() {
4738
+ var ei = { exports: {} }, Vo = ei.exports, Nn;
4739
+ function Jo() {
4740
4740
  return Nn || (Nn = 1, (function(e, t) {
4741
4741
  (function(a, n, s) {
4742
4742
  e.exports = n(de(), Ra(), Pa(), xa(), Ae());
4743
- })(Io, function(a) {
4743
+ })(Vo, function(a) {
4744
4744
  return (function() {
4745
4745
  var n = a, s = n.lib, u = s.BlockCipher, b = n.algo;
4746
4746
  const d = 16, l = [
@@ -5857,24 +5857,24 @@ function zo() {
5857
5857
  });
5858
5858
  })(ei)), ei.exports;
5859
5859
  }
5860
- var Vo = Ut.exports, Ln;
5861
- function Jo() {
5860
+ var Zo = Ut.exports, Ln;
5861
+ function Ko() {
5862
5862
  return Ln || (Ln = 1, (function(e, t) {
5863
5863
  (function(a, n, s) {
5864
- e.exports = n(de(), oi(), Hl(), Il(), Ra(), Jl(), Pa(), hr(), Ni(), jl(), Tr(), Xl(), ao(), io(), Li(), lo(), xa(), Ae(), uo(), go(), fo(), yo(), Uo(), vo(), To(), xo(), Eo(), No(), Go(), Ro(), wo(), Ao(), Bo(), Wo(), zo());
5865
- })(Vo, function(a) {
5864
+ e.exports = n(de(), oi(), Il(), Vl(), Ra(), Kl(), Pa(), Tr(), Ni(), Yl(), kr(), ao(), io(), ro(), Li(), so(), xa(), Ae(), go(), fo(), yo(), Uo(), vo(), To(), xo(), Eo(), No(), Go(), Ro(), wo(), Ao(), Bo(), Wo(), zo(), Jo());
5865
+ })(Zo, function(a) {
5866
5866
  return a;
5867
5867
  });
5868
5868
  })(Ut)), Ut.exports;
5869
5869
  }
5870
- var Ta = Jo();
5870
+ var Ta = Ko();
5871
5871
  const ha = /* @__PURE__ */ Di(Ta);
5872
- var ai = { exports: {} }, Zo = ai.exports, Gn;
5873
- function Ko() {
5872
+ var ai = { exports: {} }, qo = ai.exports, Gn;
5873
+ function $o() {
5874
5874
  return Gn || (Gn = 1, (function(e, t) {
5875
5875
  (function(a, n) {
5876
5876
  e.exports = n();
5877
- })(Zo, (function() {
5877
+ })(qo, (function() {
5878
5878
  var a = 1e3, n = 6e4, s = 36e5, u = "millisecond", b = "second", d = "minute", l = "hour", i = "day", r = "week", o = "month", m = "quarter", g = "year", p = "date", f = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, _ = /\[([^\]]+)]|YYYY|YY|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(R) {
5879
5879
  var L = ["th", "st", "nd", "rd"], G = R % 100;
5880
5880
  return "[" + R + (L[(G - 20) % 10] || L[G] || L[0]) + "]";
@@ -5972,7 +5972,7 @@ function Ko() {
5972
5972
  case o:
5973
5973
  return z ? N(1, P) : N(0, P + 1);
5974
5974
  case r:
5975
- var le = this.$locale().weekStart || 0, O = (w < le ? w + 7 : w) - le;
5975
+ var oe = this.$locale().weekStart || 0, O = (w < oe ? w + 7 : w) - oe;
5976
5976
  return N(z ? ae - O : ae + (6 - O), P);
5977
5977
  case i:
5978
5978
  case p:
@@ -6017,7 +6017,7 @@ function Ko() {
6017
6017
  }, L.format = function(G) {
6018
6018
  var I = this, W = this.$locale();
6019
6019
  if (!this.isValid()) return W.invalidDate || f;
6020
- var z = G || "YYYY-MM-DDTHH:mm:ssZ", B = S.z(this), N = this.$H, E = this.$m, w = this.$M, P = W.weekdays, ae = W.months, te = W.meridiem, le = function(Z, Q, X, q) {
6020
+ var z = G || "YYYY-MM-DDTHH:mm:ssZ", B = S.z(this), N = this.$H, E = this.$m, w = this.$M, P = W.weekdays, ae = W.months, te = W.meridiem, oe = function(Z, Q, X, q) {
6021
6021
  return Z && (Z[Q] || Z(I, z)) || X[Q].slice(0, q);
6022
6022
  }, O = function(Z) {
6023
6023
  return S.s(N % 12 || 12, Z, "0");
@@ -6037,9 +6037,9 @@ function Ko() {
6037
6037
  case "MM":
6038
6038
  return S.s(w + 1, 2, "0");
6039
6039
  case "MMM":
6040
- return le(W.monthsShort, w, ae, 3);
6040
+ return oe(W.monthsShort, w, ae, 3);
6041
6041
  case "MMMM":
6042
- return le(ae, w);
6042
+ return oe(ae, w);
6043
6043
  case "D":
6044
6044
  return I.$D;
6045
6045
  case "DD":
@@ -6047,9 +6047,9 @@ function Ko() {
6047
6047
  case "d":
6048
6048
  return String(I.$W);
6049
6049
  case "dd":
6050
- return le(W.weekdaysMin, I.$W, P, 2);
6050
+ return oe(W.weekdaysMin, I.$W, P, 2);
6051
6051
  case "ddd":
6052
- return le(W.weekdaysShort, I.$W, P, 3);
6052
+ return oe(W.weekdaysShort, I.$W, P, 3);
6053
6053
  case "dddd":
6054
6054
  return P[I.$W];
6055
6055
  case "H":
@@ -6147,8 +6147,8 @@ function Ko() {
6147
6147
  }));
6148
6148
  })(ai)), ai.exports;
6149
6149
  }
6150
- var qo = Ko();
6151
- const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6150
+ var jo = $o();
6151
+ const we = /* @__PURE__ */ Di(jo), Ja = (e) => {
6152
6152
  const t = "mySecretPassphrase", a = ha.lib.WordArray.random(16), n = ha.PBKDF2(t, a, {
6153
6153
  keySize: 128 / 32,
6154
6154
  iterations: 1e3,
@@ -6159,7 +6159,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6159
6159
  padding: ha.pad.Pkcs7
6160
6160
  }), u = a.toString(ha.enc.Base64), b = ha.enc.Base64.stringify(s.ciphertext);
6161
6161
  return u + ":" + b;
6162
- }, $o = (e) => e === "aes" ? Ja : (t) => Ta.MD5(t).toString(), se = () => {
6162
+ }, Qo = (e) => e === "aes" ? Ja : (t) => Ta.MD5(t).toString(), se = () => {
6163
6163
  const {
6164
6164
  client: e,
6165
6165
  formDataClient: t,
@@ -6251,7 +6251,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6251
6251
  [e]
6252
6252
  ), f = M(
6253
6253
  async (O) => {
6254
- const { oldPwd: J, newPwd: Z, encrypt: Q } = O, X = $o(Q || a || "md5");
6254
+ const { oldPwd: J, newPwd: Z, encrypt: Q } = O, X = Qo(Q || a || "md5");
6255
6255
  return await e.post("/passwordReset", {
6256
6256
  old_pwd: X(J),
6257
6257
  new_pwd: X(Z)
@@ -6486,13 +6486,13 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6486
6486
  });
6487
6487
  },
6488
6488
  [e]
6489
- ), le = M(
6489
+ ), oe = M(
6490
6490
  async ({ formData: O }) => await e.post("/cash-register/createMachine", O),
6491
6491
  [e]
6492
6492
  );
6493
6493
  return {
6494
6494
  machineLoginApi: n,
6495
- createMachineApi: le,
6495
+ createMachineApi: oe,
6496
6496
  userInfoApi: s,
6497
6497
  userGameListApi: u,
6498
6498
  userFavoriteGameApi: d,
@@ -6534,9 +6534,9 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6534
6534
  getUserAvatarListApi: ae,
6535
6535
  updateUserAvatarApi: te
6536
6536
  };
6537
- }, Tu = ({ otherQueryKey: e = [], options: t = {} } = {}) => {
6537
+ }, xu = ({ otherQueryKey: e = [], options: t = {} } = {}) => {
6538
6538
  const { userCurrencyExchangeApi: a } = se(), { getToken: n } = re(), { enabled: s, ...u } = t, d = !!n?.() && (s ? s.every((l) => l) : !0);
6539
- return sr({
6539
+ return mr({
6540
6540
  queries: [
6541
6541
  {
6542
6542
  queryKey: ["userCurrencyExchange", ...e],
@@ -6548,13 +6548,13 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6548
6548
  }
6549
6549
  ]
6550
6550
  });
6551
- }, ku = ({
6551
+ }, Su = ({
6552
6552
  refetchInterval: e = 5e4,
6553
6553
  trigger: t = [],
6554
6554
  enabled: a = !0
6555
6555
  } = {}) => {
6556
6556
  const { getToken: n } = re(), s = n?.(), { userInfoApi: u } = se();
6557
- return sr({
6557
+ return mr({
6558
6558
  queries: [
6559
6559
  {
6560
6560
  queryKey: ["getMemberInfo", ...t],
@@ -6564,7 +6564,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6564
6564
  }
6565
6565
  ]
6566
6566
  });
6567
- }, xu = ({ enabled: e = !0 } = {}) => {
6567
+ }, Eu = ({ enabled: e = !0 } = {}) => {
6568
6568
  const {
6569
6569
  userInfoApi: t,
6570
6570
  userFavoriteGameApi: a,
@@ -6659,31 +6659,31 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6659
6659
  [e]
6660
6660
  );
6661
6661
  return { playGameApi: n, betRecordApi: s, betRecordDetailApi: u };
6662
- }, jo = ({ options: e, formData: t } = {}) => {
6662
+ }, Yo = ({ options: e, formData: t } = {}) => {
6663
6663
  const { betRecordApi: a } = Gi();
6664
6664
  return Y({
6665
6665
  queryKey: ["getBetRecord"],
6666
6666
  queryFn: async () => await a(t),
6667
- select: (n) => mr(n).map(([u, b]) => ({
6667
+ select: (n) => ur(n).map(([u, b]) => ({
6668
6668
  ...b,
6669
6669
  platform: u
6670
6670
  })),
6671
6671
  ...e
6672
6672
  });
6673
- }, Qo = ({ options: e, formData: t } = {}) => {
6673
+ }, Xo = ({ options: e, formData: t } = {}) => {
6674
6674
  const { betRecordDetailApi: a } = Gi();
6675
6675
  return Y({
6676
6676
  queryKey: ["getBetRecordDetail"],
6677
6677
  queryFn: async () => await a(t),
6678
6678
  ...e
6679
6679
  });
6680
- }, Su = ({
6680
+ }, Du = ({
6681
6681
  options: e = {
6682
6682
  betRecord: {},
6683
6683
  betRecordDetail: {}
6684
6684
  }
6685
6685
  }) => {
6686
- const t = jo({ options: e.betRecord }), a = Qo({
6686
+ const t = Yo({ options: e.betRecord }), a = Xo({
6687
6687
  options: e.betRecordDetail
6688
6688
  });
6689
6689
  return {
@@ -6699,7 +6699,7 @@ function ft(e) {
6699
6699
  }
6700
6700
  return e;
6701
6701
  }
6702
- var Yo = {
6702
+ var es = {
6703
6703
  read: function(e) {
6704
6704
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
6705
6705
  },
@@ -6760,7 +6760,7 @@ function Ui(e, t) {
6760
6760
  }
6761
6761
  );
6762
6762
  }
6763
- var Ci = Ui(Yo, { path: "/" }), gi = {}, qe = {}, di = {}, Mn;
6763
+ var Ci = Ui(es, { path: "/" }), gi = {}, qe = {}, di = {}, Mn;
6764
6764
  function sa() {
6765
6765
  return Mn || (Mn = 1, (function(e) {
6766
6766
  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;
@@ -6835,7 +6835,7 @@ function Ri() {
6835
6835
  return pa.setUpSocketIOPing = n, pa;
6836
6836
  }
6837
6837
  var _t = {}, wn;
6838
- function kr() {
6838
+ function xr() {
6839
6839
  if (wn) return _t;
6840
6840
  wn = 1, Object.defineProperty(_t, "__esModule", { value: !0 }), _t.heartbeat = a;
6841
6841
  var e = sa();
@@ -6909,7 +6909,7 @@ function wi() {
6909
6909
  return lt;
6910
6910
  }
6911
6911
  var On;
6912
- function Xo() {
6912
+ function as() {
6913
6913
  if (On) return Na;
6914
6914
  On = 1;
6915
6915
  var e = Na && Na.__assign || function() {
@@ -6922,7 +6922,7 @@ function Xo() {
6922
6922
  }, e.apply(this, arguments);
6923
6923
  };
6924
6924
  Object.defineProperty(Na, "__esModule", { value: !0 }), Na.attachListeners = void 0;
6925
- var t = Ri(), a = kr(), n = sa(), s = wi(), u = function(r, o, m, g) {
6925
+ var t = Ri(), a = xr(), n = sa(), s = wi(), u = function(r, o, m, g) {
6926
6926
  r.onmessage = function(p) {
6927
6927
  var f;
6928
6928
  o.current.onMessage && o.current.onMessage(p), typeof g?.current == "number" && (g.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(p) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((f = o.current.heartbeat) === null || f === void 0 ? void 0 : f.returnMessage) === p.data || m(p));
@@ -6979,7 +6979,7 @@ function Xo() {
6979
6979
  return Na.attachListeners = i, Na;
6980
6980
  }
6981
6981
  var La = {}, Bn;
6982
- function es() {
6982
+ function ts() {
6983
6983
  if (Bn) return La;
6984
6984
  Bn = 1;
6985
6985
  var e = La && La.__assign || function() {
@@ -6992,7 +6992,7 @@ function es() {
6992
6992
  }, e.apply(this, arguments);
6993
6993
  };
6994
6994
  Object.defineProperty(La, "__esModule", { value: !0 }), La.attachSharedListeners = void 0;
6995
- var t = Mi(), a = sa(), n = Pi(), s = Ri(), u = kr(), b = function(o, m, g) {
6995
+ var t = Mi(), a = sa(), n = Pi(), s = Ri(), u = xr(), b = function(o, m, g) {
6996
6996
  o.onmessage = function(p) {
6997
6997
  (0, n.getSubscribers)(m).forEach(function(f) {
6998
6998
  var y;
@@ -7041,10 +7041,10 @@ function es() {
7041
7041
  return La.attachSharedListeners = r, La;
7042
7042
  }
7043
7043
  var Hn;
7044
- function as() {
7044
+ function is() {
7045
7045
  if (Hn) return rt;
7046
7046
  Hn = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.createOrJoinSocket = void 0;
7047
- var e = Mi(), t = sa(), a = Xo(), n = es(), s = Pi(), u = function(d, l, i, r, o) {
7047
+ var e = Mi(), t = sa(), a = as(), n = ts(), s = Pi(), u = function(d, l, i, r, o) {
7048
7048
  return function() {
7049
7049
  if ((0, s.removeSubscriber)(d, l), !(0, s.hasSubscribers)(d)) {
7050
7050
  try {
@@ -7084,7 +7084,7 @@ function as() {
7084
7084
  return rt.createOrJoinSocket = b, rt;
7085
7085
  }
7086
7086
  var ga = {}, Wn;
7087
- function ts() {
7087
+ function ns() {
7088
7088
  return Wn || (Wn = 1, (function(e) {
7089
7089
  var t = ga && ga.__awaiter || function(l, i, r, o) {
7090
7090
  function m(g) {
@@ -7221,7 +7221,7 @@ function ts() {
7221
7221
  })(ga)), ga;
7222
7222
  }
7223
7223
  var _i = {}, In;
7224
- function is() {
7224
+ function rs() {
7225
7225
  return In || (In = 1, (function(e) {
7226
7226
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
7227
7227
  var t = function(a, n) {
@@ -7340,7 +7340,7 @@ function Fi() {
7340
7340
  return m && m.__esModule ? m : { default: m };
7341
7341
  };
7342
7342
  Object.defineProperty(qe, "__esModule", { value: !0 }), qe.useWebSocket = void 0;
7343
- var s = ve, u = _l, b = sa(), d = as(), l = ts(), i = n(is()), r = wi(), o = function(m, g, p) {
7343
+ var s = ve, u = bl, b = sa(), d = is(), l = ns(), i = n(rs()), r = wi(), o = function(m, g, p) {
7344
7344
  g === void 0 && (g = b.DEFAULT_OPTIONS), p === void 0 && (p = !0);
7345
7345
  var f = (0, s.useState)(null), y = f[0], _ = f[1], c = (0, s.useState)({}), U = c[0], C = c[1], v = (0, s.useMemo)(function() {
7346
7346
  if (!g.disableJson && y)
@@ -7376,21 +7376,21 @@ function Fi() {
7376
7376
  return w = T, [4, (0, l.getUrl)(m, A)];
7377
7377
  case 1:
7378
7378
  return w.current = te.sent(), T.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), T.current = "ABORTED", (0, u.flushSync)(function() {
7379
- return C(function(le) {
7380
- return e(e({}, le), { ABORTED: b.ReadyState.CLOSED });
7379
+ return C(function(oe) {
7380
+ return e(e({}, oe), { ABORTED: b.ReadyState.CLOSED });
7381
7381
  });
7382
7382
  }), [
7383
7383
  2
7384
7384
  /*return*/
7385
- ]) : (P = function(le) {
7385
+ ]) : (P = function(oe) {
7386
7386
  B || (0, u.flushSync)(function() {
7387
- return _(le);
7387
+ return _(oe);
7388
7388
  });
7389
- }, ae = function(le) {
7389
+ }, ae = function(oe) {
7390
7390
  B || (0, u.flushSync)(function() {
7391
7391
  return C(function(O) {
7392
7392
  var J;
7393
- return e(e({}, O), T.current && (J = {}, J[T.current] = le, J));
7393
+ return e(e({}, O), T.current && (J = {}, J[T.current] = oe, J));
7394
7394
  });
7395
7395
  });
7396
7396
  }, N && (z = (0, d.createOrJoinSocket)(h, T.current, ae, A, P, D, H, k, G)), [
@@ -7426,7 +7426,7 @@ function Fi() {
7426
7426
  return qe.useWebSocket = o, qe;
7427
7427
  }
7428
7428
  var Ga = {}, Vn;
7429
- function ns() {
7429
+ function ls() {
7430
7430
  if (Vn) return Ga;
7431
7431
  Vn = 1;
7432
7432
  var e = Ga && Ga.__assign || function() {
@@ -7472,7 +7472,7 @@ function ns() {
7472
7472
  return Ga.useSocketIO = b, Ga;
7473
7473
  }
7474
7474
  var da = {}, Jn;
7475
- function rs() {
7475
+ function os() {
7476
7476
  if (Jn) return da;
7477
7477
  Jn = 1;
7478
7478
  var e = da && da.__assign || function() {
@@ -7515,14 +7515,14 @@ function rs() {
7515
7515
  return da.useEventSource = u, da;
7516
7516
  }
7517
7517
  var Zn;
7518
- function ls() {
7518
+ function ss() {
7519
7519
  return Zn || (Zn = 1, (function(e) {
7520
7520
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
7521
7521
  var t = Fi();
7522
7522
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
7523
7523
  return t.useWebSocket;
7524
7524
  } });
7525
- var a = ns();
7525
+ var a = ls();
7526
7526
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
7527
7527
  return a.useSocketIO;
7528
7528
  } });
@@ -7530,7 +7530,7 @@ function ls() {
7530
7530
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
7531
7531
  return n.ReadyState;
7532
7532
  } });
7533
- var s = rs();
7533
+ var s = os();
7534
7534
  Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
7535
7535
  return s.useEventSource;
7536
7536
  } });
@@ -7540,15 +7540,15 @@ function ls() {
7540
7540
  } });
7541
7541
  })(gi)), gi;
7542
7542
  }
7543
- var os = ls();
7544
- const ss = /* @__PURE__ */ Di(os), ms = ({
7543
+ var ms = ss();
7544
+ const us = /* @__PURE__ */ Di(ms), ps = ({
7545
7545
  enable: e = !1,
7546
7546
  isTestFunction: t = !1,
7547
7547
  isTransferMode: a = !1,
7548
7548
  isInGameBox: n = !1,
7549
7549
  currentGamePlatform: s = ""
7550
7550
  }) => {
7551
- const { store: u, lng: b } = re(), { isReady: d, setAsReady: l, isPending: i, setAsPending: r } = dr(), o = Je(b), { mutateAsync: m } = xs();
7551
+ const { store: u, lng: b } = re(), { isReady: d, setAsReady: l, isPending: i, setAsPending: r } = cr(), o = Je(b), { mutateAsync: m } = Es();
7552
7552
  return !e || !t || !a ? { handleTransferInGame: () => {
7553
7553
  } } : { handleTransferInGame: async () => {
7554
7554
  n && await m({
@@ -7587,13 +7587,13 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7587
7587
  }
7588
7588
  });
7589
7589
  } };
7590
- }, Kn = "/member-monthly-card", xr = () => {
7590
+ }, Kn = "/member-monthly-card", Sr = () => {
7591
7591
  const { client: e } = re(), t = M(async () => await e.get(`${Kn}/info`), [e]), a = M(async () => await e.post(`${Kn}/withdraw`), [e]);
7592
7592
  return {
7593
7593
  getMonthCardInfoApi: t,
7594
7594
  withdrawMonthCardApi: a
7595
7595
  };
7596
- }, Ai = ["monthCardInfo"], us = (e) => {
7596
+ }, Ai = ["monthCardInfo"], gs = (e) => {
7597
7597
  const t = j(e, "status", null), a = j(e, "remaining_days", null), n = j(e, "activated_at", null), s = j(e, "is_under_maintenance", 0) === 1, u = j(e, "wagering_progress", []), b = j(e, "daily", []), d = t !== null, l = j(e, "withdraw_limit", null), i = j(e, "total_withdraw_amount", 0);
7598
7598
  return {
7599
7599
  ...e,
@@ -7607,16 +7607,16 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7607
7607
  withdrawLimit: l,
7608
7608
  totalWithdrawAmount: i
7609
7609
  };
7610
- }, ps = ({ options: e } = {}) => {
7611
- const { getMonthCardInfoApi: t } = xr();
7610
+ }, ds = ({ options: e } = {}) => {
7611
+ const { getMonthCardInfoApi: t } = Sr();
7612
7612
  return Y({
7613
7613
  queryKey: Ai,
7614
7614
  queryFn: t,
7615
- select: us,
7615
+ select: gs,
7616
7616
  ...e
7617
7617
  });
7618
- }, gs = ({ options: e } = {}) => {
7619
- const { withdrawMonthCardApi: t } = xr(), a = ya();
7618
+ }, cs = ({ options: e } = {}) => {
7619
+ const { withdrawMonthCardApi: t } = Sr(), a = ya();
7620
7620
  return ee({
7621
7621
  mutationKey: ["withdrawMonthCard"],
7622
7622
  mutationFn: t,
@@ -7625,15 +7625,15 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7625
7625
  },
7626
7626
  ...e
7627
7627
  });
7628
- }, Eu = ({
7628
+ }, Nu = ({
7629
7629
  options: e = {
7630
7630
  monthCardInfo: {},
7631
7631
  withdrawMonthCard: {}
7632
7632
  }
7633
7633
  } = {}) => {
7634
- const t = ps({
7634
+ const t = ds({
7635
7635
  options: e.monthCardInfo
7636
- }), a = gs({
7636
+ }), a = cs({
7637
7637
  options: e.withdrawMonthCard
7638
7638
  });
7639
7639
  return {
@@ -7680,77 +7680,77 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7680
7680
  verifyDonationCodeApi: d,
7681
7681
  announcementApi: a
7682
7682
  };
7683
- }, ds = ({ options: e } = {}) => {
7683
+ }, fs = ({ options: e } = {}) => {
7684
7684
  const { userLoginApi: t } = se();
7685
7685
  return ee({
7686
7686
  mutationKey: ["userLogin"],
7687
7687
  mutationFn: async (a) => t(a),
7688
7688
  ...e
7689
7689
  });
7690
- }, cs = ({ options: e } = {}) => {
7690
+ }, _s = ({ options: e } = {}) => {
7691
7691
  const { userLogoutApi: t } = se();
7692
7692
  return ee({
7693
7693
  mutationKey: ["userLogout"],
7694
7694
  mutationFn: async () => t(),
7695
7695
  ...e
7696
7696
  });
7697
- }, fs = ({ options: e } = {}) => {
7697
+ }, ys = ({ options: e } = {}) => {
7698
7698
  const { userSignUpApi: t } = se();
7699
7699
  return ee({
7700
7700
  mutationKey: ["userSignUp"],
7701
7701
  mutationFn: async (a) => t(a),
7702
7702
  ...e
7703
7703
  });
7704
- }, _s = ({ options: e } = {}) => {
7704
+ }, bs = ({ options: e } = {}) => {
7705
7705
  const { addOrRemoveFavoriteGameApi: t } = se();
7706
7706
  return ee({
7707
7707
  mutationKey: ["toggleFavoriteGame"],
7708
7708
  mutationFn: async (a) => t(a),
7709
7709
  ...e
7710
7710
  });
7711
- }, ys = ({ options: e } = {}) => {
7711
+ }, Us = ({ options: e } = {}) => {
7712
7712
  const { updateUserInfoApi: t } = se();
7713
7713
  return ee({
7714
7714
  mutationKey: ["updateUserInfo"],
7715
7715
  mutationFn: async (a) => t(a),
7716
7716
  ...e
7717
7717
  });
7718
- }, bs = ({ options: e } = {}) => {
7718
+ }, Cs = ({ options: e } = {}) => {
7719
7719
  const { updateMemberInfoApi: t } = se();
7720
7720
  return ee({
7721
7721
  mutationKey: ["updateMemberInfo"],
7722
7722
  mutationFn: async (a) => t(a),
7723
7723
  ...e
7724
7724
  });
7725
- }, Us = ({ options: e } = {}) => {
7725
+ }, vs = ({ options: e } = {}) => {
7726
7726
  const { resetUserPasswordApi: t } = se();
7727
7727
  return ee({
7728
7728
  mutationKey: ["resetUserPassword"],
7729
7729
  mutationFn: async (a) => t(a),
7730
7730
  ...e
7731
7731
  });
7732
- }, Cs = ({ options: e } = {}) => {
7732
+ }, hs = ({ options: e } = {}) => {
7733
7733
  const { memberInitSetApi: t } = se();
7734
7734
  return ee({
7735
7735
  mutationKey: ["memberInitSet"],
7736
7736
  mutationFn: async (a) => t(a),
7737
7737
  ...e
7738
7738
  });
7739
- }, vs = ({ options: e } = {}) => {
7739
+ }, Ts = ({ options: e } = {}) => {
7740
7740
  const { setUserTransactionPasswordApi: t } = se();
7741
7741
  return ee({
7742
7742
  mutationKey: ["setUserTransactionPassword"],
7743
7743
  mutationFn: async (a) => t(a),
7744
7744
  ...e
7745
7745
  });
7746
- }, hs = ({ options: e } = {}) => {
7746
+ }, ks = ({ options: e } = {}) => {
7747
7747
  const { resetUserTransactionPasswordApi: t } = se();
7748
7748
  return ee({
7749
7749
  mutationKey: ["resetUserTransactionPassword"],
7750
7750
  mutationFn: async (a) => t(a),
7751
7751
  ...e
7752
7752
  });
7753
- }, Ts = ({ paramsData: e, options: t } = {}) => {
7753
+ }, xs = ({ paramsData: e, options: t } = {}) => {
7754
7754
  const { userRebateApi: a } = se(), { getToken: n } = re();
7755
7755
  return n?.(), Y({
7756
7756
  queryKey: ["userRebate", e],
@@ -7758,14 +7758,14 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7758
7758
  enabled: !1,
7759
7759
  ...t
7760
7760
  });
7761
- }, ks = ({ options: e } = {}) => {
7761
+ }, Ss = ({ options: e } = {}) => {
7762
7762
  const { userBindBankApi: t } = se();
7763
7763
  return ee({
7764
7764
  mutationKey: ["userBindBank"],
7765
7765
  mutationFn: async (a) => t({ formData: a }),
7766
7766
  ...e
7767
7767
  });
7768
- }, xs = ({ options: e } = {}) => {
7768
+ }, Es = ({ options: e } = {}) => {
7769
7769
  const { transferInGameApi: t } = se();
7770
7770
  return ee({
7771
7771
  mutationKey: ["transferInGame"],
@@ -7773,7 +7773,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7773
7773
  retry: !1,
7774
7774
  ...e
7775
7775
  });
7776
- }, Du = ({ options: e } = {}) => {
7776
+ }, Lu = ({ options: e } = {}) => {
7777
7777
  const { currency: t } = re(), { pointTransferApi: a } = se();
7778
7778
  return ee({
7779
7779
  mutationKey: ["pointTransfer"],
@@ -7783,7 +7783,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7783
7783
  }),
7784
7784
  ...e
7785
7785
  });
7786
- }, Nu = ({ options: e } = {}) => {
7786
+ }, Gu = ({ options: e } = {}) => {
7787
7787
  const { currency: t } = re(), { checkUserWagerApi: a } = se();
7788
7788
  return Y({
7789
7789
  queryKey: ["checkUserWager"],
@@ -7796,7 +7796,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7796
7796
  },
7797
7797
  ...e
7798
7798
  });
7799
- }, Lu = ({ options: e } = {}) => {
7799
+ }, Mu = ({ options: e } = {}) => {
7800
7800
  const t = ya(), { abandonPointsApi: a } = se();
7801
7801
  return ee({
7802
7802
  mutationKey: ["abandonPoint"],
@@ -7808,133 +7808,133 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7808
7808
  },
7809
7809
  ...e
7810
7810
  });
7811
- }, Sr = ({ options: e } = {}) => {
7811
+ }, Er = ({ options: e } = {}) => {
7812
7812
  const { lineLoginApi: t } = se();
7813
7813
  return ee({
7814
7814
  mutationKey: ["lineLogin"],
7815
7815
  mutationFn: async (a) => t(a),
7816
7816
  ...e
7817
7817
  });
7818
- }, Ss = ({ options: e } = {}) => {
7818
+ }, Ds = ({ options: e } = {}) => {
7819
7819
  const { lineLogin2Api: t } = se();
7820
7820
  return ee({
7821
7821
  mutationKey: ["lineLogin"],
7822
7822
  mutationFn: async (a) => t(a),
7823
7823
  ...e
7824
7824
  });
7825
- }, Gu = ({ options: e } = {}) => {
7825
+ }, Ru = ({ options: e } = {}) => {
7826
7826
  const { machineLoginApi: t } = se();
7827
7827
  return ee({
7828
7828
  mutationKey: ["machineLogin"],
7829
7829
  mutationFn: async (a) => t(a),
7830
7830
  ...e
7831
7831
  });
7832
- }, Es = ({ options: e, formData: t } = {}) => {
7832
+ }, Ns = ({ options: e, formData: t } = {}) => {
7833
7833
  const { getMachineLoginCodeApi: a } = se();
7834
7834
  return Y({
7835
7835
  queryKey: ["getMachineLoginCode"],
7836
7836
  queryFn: async () => a(t),
7837
7837
  ...e
7838
7838
  });
7839
- }, Mu = ({ options: e } = {}) => {
7839
+ }, Pu = ({ options: e } = {}) => {
7840
7840
  const { currency: t } = re(), { memberTransferApi: a } = se();
7841
7841
  return ee({
7842
7842
  mutationKey: ["memberTransfer"],
7843
7843
  mutationFn: async (n) => a({ ...n, currency: t }),
7844
7844
  ...e
7845
7845
  });
7846
- }, Ru = ({ options: e } = {}) => {
7846
+ }, wu = ({ options: e } = {}) => {
7847
7847
  const { currency: t } = re(), { checkMemberTransferApi: a } = se();
7848
7848
  return ee({
7849
7849
  mutationKey: ["checkMemberTransfer"],
7850
7850
  mutationFn: async (n) => a({ ...n, currency: t }),
7851
7851
  ...e
7852
7852
  });
7853
- }, Pu = ({ options: e } = {}) => {
7853
+ }, Fu = ({ options: e } = {}) => {
7854
7854
  const { mobileLoginApi: t } = se();
7855
7855
  return ee({
7856
7856
  mutationKey: ["mobileLogin"],
7857
7857
  mutationFn: async (a) => t(a),
7858
7858
  ...e
7859
7859
  });
7860
- }, wu = ({ options: e } = {}) => {
7860
+ }, Au = ({ options: e } = {}) => {
7861
7861
  const { mobileLoginApiV2: t } = se();
7862
7862
  return ee({
7863
7863
  mutationKey: ["mobileLoginV2"],
7864
7864
  mutationFn: async (a) => t(a),
7865
7865
  ...e
7866
7866
  });
7867
- }, Fu = ({ options: e } = {}) => {
7867
+ }, Ou = ({ options: e } = {}) => {
7868
7868
  const { mobileRegisterApi: t } = se();
7869
7869
  return ee({
7870
7870
  mutationKey: ["mobileRegister"],
7871
7871
  mutationFn: async (a) => t(a),
7872
7872
  ...e
7873
7873
  });
7874
- }, Au = ({ options: e } = {}) => {
7874
+ }, Bu = ({ options: e } = {}) => {
7875
7875
  const { mobilePasswordApi: t } = se();
7876
7876
  return ee({
7877
7877
  mutationKey: ["mobileByPassword"],
7878
7878
  mutationFn: async (a) => t(a),
7879
7879
  ...e
7880
7880
  });
7881
- }, Ou = ({ options: e } = {}) => {
7881
+ }, Hu = ({ options: e } = {}) => {
7882
7882
  const { forgotPasswordApi: t } = se();
7883
7883
  return ee({
7884
7884
  mutationKey: ["forgotPassword"],
7885
7885
  mutationFn: async (a) => t(a),
7886
7886
  ...e
7887
7887
  });
7888
- }, Bu = ({ options: e } = {}) => {
7888
+ }, Wu = ({ options: e } = {}) => {
7889
7889
  const { checkMobileApi: t } = se();
7890
7890
  return ee({
7891
7891
  mutationKey: ["checkMobile"],
7892
7892
  mutationFn: async (a) => t(a),
7893
7893
  ...e
7894
7894
  });
7895
- }, Ds = ({ options: e } = {}) => {
7895
+ }, Ls = ({ options: e } = {}) => {
7896
7896
  const { bindAccountApi: t } = se();
7897
7897
  return ee({
7898
7898
  mutationKey: ["bindAccount"],
7899
7899
  mutationFn: async (a) => t(a),
7900
7900
  ...e
7901
7901
  });
7902
- }, Hu = ({ options: e } = {}) => {
7902
+ }, Iu = ({ options: e } = {}) => {
7903
7903
  const { sendMobileVerifyCodeApi: t } = se();
7904
7904
  return ee({
7905
7905
  mutationKey: ["sendMobileVerifyCode"],
7906
7906
  mutationFn: async (a) => t(a),
7907
7907
  ...e
7908
7908
  });
7909
- }, Wu = ({ options: e, paramsData: t } = {}) => {
7909
+ }, zu = ({ options: e, paramsData: t } = {}) => {
7910
7910
  const { verifyPhoneBarApi: a } = wa();
7911
7911
  return Y({
7912
7912
  queryKey: ["verifyPhoneBar", t],
7913
7913
  queryFn: async () => a(t),
7914
7914
  ...e
7915
7915
  });
7916
- }, Iu = ({ options: e, paramsData: t } = {}) => {
7916
+ }, Vu = ({ options: e, paramsData: t } = {}) => {
7917
7917
  const { verifyDonationCodeApi: a } = wa();
7918
7918
  return Y({
7919
7919
  queryKey: ["verifyDonationCode", t],
7920
7920
  queryFn: async () => a(t),
7921
7921
  ...e
7922
7922
  });
7923
- }, zu = ({ options: e } = {}) => {
7923
+ }, Ju = ({ options: e } = {}) => {
7924
7924
  const { createMachineApi: t } = se();
7925
7925
  return ee({
7926
7926
  mutationKey: ["createMachine"],
7927
7927
  mutationFn: async (a) => t({ formData: a }),
7928
7928
  ...e
7929
7929
  });
7930
- }, Vu = ({ options: e } = {}) => {
7930
+ }, Zu = ({ options: e } = {}) => {
7931
7931
  const { verifyResetActionApi: t } = se();
7932
7932
  return ee({
7933
7933
  mutationKey: ["verifyResetAction"],
7934
7934
  mutationFn: async (a) => t(a),
7935
7935
  ...e
7936
7936
  });
7937
- }, Ju = ({ options: e, bonusData: t } = {}) => {
7937
+ }, Ku = ({ options: e, bonusData: t } = {}) => {
7938
7938
  const { getJackpotApi: a } = se();
7939
7939
  return Y({
7940
7940
  queryKey: ["getJackpotData"],
@@ -7947,20 +7947,20 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7947
7947
  GRAND: 0,
7948
7948
  MEGA: 0
7949
7949
  });
7950
- return t ? gl(t, (b, d) => {
7950
+ return t ? cl(t, (b, d) => {
7951
7951
  b.amount = j(s, d, 0) + Math.floor(Math.random() * 1e3);
7952
7952
  }) : s;
7953
7953
  },
7954
7954
  ...e
7955
7955
  });
7956
- }, Zu = ({ options: e } = {}) => {
7956
+ }, qu = ({ options: e } = {}) => {
7957
7957
  const { getBetRankingApi: t } = se();
7958
7958
  return Y({
7959
7959
  queryKey: ["getBetRankingData"],
7960
7960
  queryFn: async () => t(),
7961
7961
  ...e
7962
7962
  });
7963
- }, Ku = ({ options: e } = {}) => {
7963
+ }, $u = ({ options: e } = {}) => {
7964
7964
  const { getUserAvatarListApi: t } = se();
7965
7965
  return Y({
7966
7966
  queryKey: ["getAvatarList"],
@@ -7970,14 +7970,14 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7970
7970
  // },
7971
7971
  ...e
7972
7972
  });
7973
- }, qu = ({ options: e } = {}) => {
7973
+ }, ju = ({ options: e } = {}) => {
7974
7974
  const { updateUserAvatarApi: t } = se();
7975
7975
  return ee({
7976
7976
  mutationKey: ["updateAvatar"],
7977
7977
  mutationFn: async (a) => t(a),
7978
7978
  ...e
7979
7979
  });
7980
- }, $u = ({
7980
+ }, Qu = ({
7981
7981
  options: e = {
7982
7982
  login: {},
7983
7983
  logout: {},
@@ -7992,19 +7992,19 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7992
7992
  userBindCard: {}
7993
7993
  }
7994
7994
  } = {}) => {
7995
- const t = ds({ options: e.login }), a = cs({ options: e.logout }), n = fs({ options: e.register }), s = ys({ options: e.updateUserInfo }), u = bs({
7995
+ const t = fs({ options: e.login }), a = _s({ options: e.logout }), n = ys({ options: e.register }), s = Us({ options: e.updateUserInfo }), u = Cs({
7996
7996
  options: e.updateMemberInfo
7997
- }), b = _s({
7997
+ }), b = bs({
7998
7998
  options: e.toggleFavoriteGame
7999
- }), d = Us({
7999
+ }), d = vs({
8000
8000
  options: e.resetUserPassword
8001
- }), l = Cs({
8001
+ }), l = hs({
8002
8002
  options: e.memberInitSet
8003
- }), i = vs({
8003
+ }), i = Ts({
8004
8004
  options: e.setUserTransactionPassword
8005
- }), r = hs({
8005
+ }), r = ks({
8006
8006
  options: e.resetUserTransactionPassword
8007
- }), o = Ts({ options: e.userRebate }), m = ks({ options: e.userBindCard });
8007
+ }), o = xs({ options: e.userRebate }), m = Ss({ options: e.userBindCard });
8008
8008
  return {
8009
8009
  login: t,
8010
8010
  logout: a,
@@ -8039,11 +8039,11 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8039
8039
  EVENT_CLAIMABLE: "event_claimable",
8040
8040
  REMOTE_OFF: "remote_off",
8041
8041
  REMOTE_ON: "remote_on"
8042
- }, qn = (e) => {
8043
- typeof window < "u" && window.chrome?.webview && window.chrome.webview.postMessage(JSON.stringify({ action: e }));
8044
- }, $n = (e, t) => Array.isArray(e) && t != null && String(t) !== "" && e.some(
8042
+ }, Dr = (e) => {
8043
+ typeof window < "u" && window.chrome?.webview && window.chrome.webview.postMessage(JSON.stringify(e));
8044
+ }, qn = (e) => Dr({ action: e }), $n = (e) => Dr({ action: "adjust_volume", vol: e }), jn = (e, t) => Array.isArray(e) && t != null && String(t) !== "" && e.some(
8045
8045
  (a) => String(a).toLowerCase() === String(t).toLowerCase()
8046
- ), Ns = 3e4, Ls = ({
8046
+ ), Gs = 3e4, Ms = ({
8047
8047
  maintainList: e,
8048
8048
  isInGameBox: t,
8049
8049
  currentGamePlatform: a
@@ -8057,7 +8057,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8057
8057
  show: n,
8058
8058
  reason: n ? `在 gamebox 且當前廠商「${a}」在維護清單 → 顯示` : `在 gamebox 但當前廠商「${a ?? "(無)"}」不在維護清單 → 靜默`
8059
8059
  };
8060
- }, ju = ({
8060
+ }, Yu = ({
8061
8061
  socketUrl: e,
8062
8062
  socketHandlers: t = {},
8063
8063
  options: a = {},
@@ -8072,20 +8072,20 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8072
8072
  disabledLineAutoRegister: b = !1,
8073
8073
  navigate: d = null
8074
8074
  }) => {
8075
- const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } = dr(), f = Je(i), y = me(!1), _ = me(t), c = j(n, "uid", null), U = j(n, "cagent_uid", null);
8075
+ const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } = cr(), f = Je(i), y = me(!1), _ = me(t), c = j(n, "uid", null), U = j(n, "cagent_uid", null);
8076
8076
  j(n, "testFunction", 0);
8077
8077
  const C = j(n, "machine_number", null), v = new URLSearchParams(window.location.search), T = j(
8078
8078
  s,
8079
8079
  "enableTransferInGaming",
8080
8080
  !1
8081
- ), { mutateAsync: h } = Sr({
8081
+ ), { mutateAsync: h } = Er({
8082
8082
  options: {
8083
8083
  onSuccess: (B) => {
8084
8084
  _.current.onLineLogin?.(B);
8085
8085
  },
8086
8086
  retry: !1
8087
8087
  }
8088
- }), { mutateAsync: D } = Ss({
8088
+ }), { mutateAsync: D } = Ds({
8089
8089
  options: {
8090
8090
  onSuccess: (B) => {
8091
8091
  _.current.onLineLogin?.(B);
@@ -8094,7 +8094,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8094
8094
  b || h(N);
8095
8095
  }
8096
8096
  }
8097
- }), { handleTransferInGame: H } = ms({
8097
+ }), { handleTransferInGame: H } = ps({
8098
8098
  enable: T,
8099
8099
  isTestFunction: !0,
8100
8100
  isTransferMode: j(s, "isTransferMode", !1),
@@ -8111,7 +8111,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8111
8111
  readyState: A
8112
8112
  // WebSocket 連線狀態
8113
8113
  // getWebSocket, // 獲取 WebSocket 實例
8114
- } = ss(e, {
8114
+ } = us(e, {
8115
8115
  queryParams: { key: "wsky" },
8116
8116
  shouldReconnect: () => y.current === !1,
8117
8117
  reconnectAttempts: 9999,
@@ -8127,7 +8127,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8127
8127
  fe(() => {
8128
8128
  const B = setInterval(
8129
8129
  () => k("ping"),
8130
- Ns
8130
+ Gs
8131
8131
  );
8132
8132
  return () => clearInterval(B);
8133
8133
  }, [k]);
@@ -8156,7 +8156,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8156
8156
  onUpdateMember: P,
8157
8157
  onMaintainNotice: ae,
8158
8158
  onMaintainNoticeMember: te,
8159
- onTransferInGame: le,
8159
+ onTransferInGame: oe,
8160
8160
  onCashRegisterLimit: O,
8161
8161
  onLineLogin: J,
8162
8162
  onMonthlyCardIssuePoint: Z,
@@ -8177,9 +8177,9 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8177
8177
  break;
8178
8178
  case ye.ERROR:
8179
8179
  if (pe) {
8180
- const oe = j(B, "open_game_modal", 0) === 1;
8180
+ const le = j(B, "open_game_modal", 0) === 1;
8181
8181
  L(Ce, {
8182
- notificationType: oe ? "gamingNotice" : void 0
8182
+ notificationType: le ? "gamingNotice" : void 0
8183
8183
  }), w?.(q);
8184
8184
  }
8185
8185
  break;
@@ -8194,9 +8194,9 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8194
8194
  }), ae?.(q);
8195
8195
  break;
8196
8196
  case ye.MAINTAIN_NOTICE_MEMBER: {
8197
- const oe = q.data?.cagent_uid ?? null;
8198
- if (oe != null) {
8199
- String(U) === String(oe) && (L(q.data?.msg, { rawMessage: !0 }), te?.(q), setTimeout(() => {
8197
+ const le = q.data?.cagent_uid ?? null;
8198
+ if (le != null) {
8199
+ String(U) === String(le) && (L(q.data?.msg, { rawMessage: !0 }), te?.(q), setTimeout(() => {
8200
8200
  d?.("/");
8201
8201
  }, 5e3));
8202
8202
  return;
@@ -8220,13 +8220,13 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8220
8220
  case ye.TRANSFER_IN_GAME:
8221
8221
  case ye.CHECK_REQUEST:
8222
8222
  if (pe && T) {
8223
- const { request_id: oe, amount: ke, platform: He, status: ze } = j(q, "data", {}) || {}, xe = localStorage.getItem(
8223
+ const { request_id: le, amount: ke, platform: He, status: ze } = j(q, "data", {}) || {}, xe = localStorage.getItem(
8224
8224
  "transfer_in_game_request_id"
8225
8225
  );
8226
8226
  if (ze === "pending") {
8227
- localStorage.setItem("transfer_in_game_request_id", oe);
8227
+ localStorage.setItem("transfer_in_game_request_id", le);
8228
8228
  return;
8229
- } else if (xe && xe === oe) {
8229
+ } else if (xe && xe === le) {
8230
8230
  if (ze === "rollback") {
8231
8231
  H();
8232
8232
  return;
@@ -8240,7 +8240,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8240
8240
  }
8241
8241
  }), m();
8242
8242
  }
8243
- le?.(q);
8243
+ oe?.(q);
8244
8244
  }
8245
8245
  break;
8246
8246
  case ye.CASH_REGISTER_LIMIT:
@@ -8256,8 +8256,8 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8256
8256
  }), P?.(q));
8257
8257
  break;
8258
8258
  case ye.GAME_MAINTAIN: {
8259
- const oe = q.data, { show: ke } = Ls({
8260
- maintainList: oe,
8259
+ const le = q.data, { show: ke } = Ms({
8260
+ maintainList: le,
8261
8261
  // 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
8262
8262
  // 因為不是每隻遊戲都會帶入該設定)
8263
8263
  isInGameBox: window.location.pathname.includes("gamebox"),
@@ -8290,8 +8290,8 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8290
8290
  case ye.EVENT_CLAIMABLE:
8291
8291
  if (pe) {
8292
8292
  r.invalidateQueries({ queryKey: ["checkEventStatus"] });
8293
- const oe = q.data?.event_uid;
8294
- (Array.isArray(oe) ? oe.length > 0 : oe != null) && Q?.(q);
8293
+ const le = q.data?.event_uid;
8294
+ (Array.isArray(le) ? le.length > 0 : le != null) && Q?.(q);
8295
8295
  }
8296
8296
  return;
8297
8297
  /**
@@ -8300,27 +8300,30 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8300
8300
  * 本機 machine_number 在名單內 → 通知外殼 closethismic(打開黑屏)。
8301
8301
  */
8302
8302
  case ye.REMOTE_OFF: {
8303
- const oe = $n(q.memberInfoUid, C);
8303
+ const le = jn(q.memberInfoUid, C);
8304
8304
  console.log("[WS remote_off]", {
8305
8305
  machine_number: C,
8306
8306
  targets: q.memberInfoUid,
8307
- matched: oe,
8308
- sent: oe ? "closethismic" : null
8309
- }), oe && qn("closethismic");
8307
+ matched: le,
8308
+ sent: le ? "closethismic" : null,
8309
+ volume: le ? "IsMute" : null
8310
+ }), le && (qn("closethismic"), $n("IsMute"));
8310
8311
  return;
8311
8312
  }
8312
8313
  /**
8313
8314
  * remote_on:遠端解鎖。
8314
- * 本機 machine_number 在名單內 → 通知外殼 openthismic(關閉黑屏)。
8315
+ * 本機 machine_number 在名單內 → 通知外殼 openthismic(關閉黑屏),
8316
+ * 並 unMute 回復原本的系統音效音量。
8315
8317
  */
8316
8318
  case ye.REMOTE_ON: {
8317
- const oe = $n(q.memberInfoUid, C);
8319
+ const le = jn(q.memberInfoUid, C);
8318
8320
  console.log("[WS remote_on]", {
8319
8321
  machine_number: C,
8320
8322
  targets: q.memberInfoUid,
8321
- matched: oe,
8322
- sent: oe ? "openthismic" : null
8323
- }), oe && qn("openthismic");
8323
+ matched: le,
8324
+ sent: le ? "openthismic" : null,
8325
+ volume: le ? "unMute" : null
8326
+ }), le && (qn("openthismic"), $n("unMute"));
8324
8327
  return;
8325
8328
  }
8326
8329
  default:
@@ -8350,7 +8353,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8350
8353
  type: "ui/showToast",
8351
8354
  payload: {
8352
8355
  title: Ka[f] || "System Prompt",
8353
- description: hl[f] || "We are processing your transfer",
8356
+ description: kl[f] || "We are processing your transfer",
8354
8357
  status: "warning",
8355
8358
  duration: 1 / 0,
8356
8359
  id: "trasnferingInGame"
@@ -8375,7 +8378,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8375
8378
  simulateSocketMessage: z
8376
8379
  // 測試用:模擬收到某型別的 WS 訊息
8377
8380
  };
8378
- }, Gs = () => {
8381
+ }, Rs = () => {
8379
8382
  const { client: e } = re();
8380
8383
  return {
8381
8384
  commissionApi: M(
@@ -8386,18 +8389,18 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8386
8389
  [e]
8387
8390
  )
8388
8391
  };
8389
- }, Ms = ({ options: e, formData: t } = {}) => {
8390
- const { commissionApi: a } = Gs();
8392
+ }, Ps = ({ options: e, formData: t } = {}) => {
8393
+ const { commissionApi: a } = Rs();
8391
8394
  return Y({
8392
8395
  queryKey: ["commissionInfo", t],
8393
8396
  queryFn: () => {
8394
8397
  const { params: n, currencyCode: s } = t || {};
8395
8398
  return a({ params: n, currencyCode: s });
8396
8399
  },
8397
- select: (n) => ur(n, ["code", "status"]),
8400
+ select: (n) => pr(n, ["code", "status"]),
8398
8401
  ...e
8399
8402
  });
8400
- }, Qu = ({
8403
+ }, Xu = ({
8401
8404
  options: e = {
8402
8405
  commissionInfo: {}
8403
8406
  },
@@ -8405,7 +8408,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8405
8408
  commissionInfo: {}
8406
8409
  }
8407
8410
  } = {}) => ({
8408
- commissionInfo: Ms({
8411
+ commissionInfo: Ps({
8409
8412
  options: e.commissionInfo,
8410
8413
  formData: t.commissionInfo
8411
8414
  })
@@ -8456,7 +8459,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8456
8459
  settleEventApi: u,
8457
8460
  memberEventSettleApi: b
8458
8461
  };
8459
- }, Rs = ({ paramsData: e, options: t } = {}) => {
8462
+ }, ws = ({ paramsData: e, options: t } = {}) => {
8460
8463
  const { store: a, lng: n, data2URL: s } = re(), { eventListApi: u } = $a(), b = a?.getState()?.isWalletCurrency || a?.getState()?.currency?.currentCurrency || "TWD", d = Je(n);
8461
8464
  return Y({
8462
8465
  queryKey: ["eventList", e],
@@ -8525,8 +8528,8 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8525
8528
  // VIP 群組
8526
8529
  tagsGroup: o.tags_group,
8527
8530
  //標籤群組
8528
- eventBg: fr(),
8529
- eventIcon: cr(o.type),
8531
+ eventBg: _r(),
8532
+ eventIcon: fr(o.type),
8530
8533
  nextSettlementDate: o.next_settlement_date,
8531
8534
  //下一次結算日期
8532
8535
  lastSettlementDate: o.last_settlement_date
@@ -8594,21 +8597,21 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8594
8597
  },
8595
8598
  ...t
8596
8599
  });
8597
- }, Yu = ({ options: e } = {}) => {
8600
+ }, e0 = ({ options: e } = {}) => {
8598
8601
  const { redeemEventRewardApi: t } = $a();
8599
8602
  return ee({
8600
8603
  mutationKey: ["redeemEventReward"],
8601
8604
  mutationFn: async (a) => t(a),
8602
8605
  ...e
8603
8606
  });
8604
- }, Ps = ({ options: e, formData: t } = {}) => {
8607
+ }, Fs = ({ options: e, formData: t } = {}) => {
8605
8608
  const { checkCurrentEventProgessApi: a } = $a();
8606
8609
  return Y({
8607
8610
  queryKey: ["checkEventProgress"],
8608
8611
  queryFn: async () => a(t),
8609
8612
  ...e
8610
8613
  });
8611
- }, ws = ({ options: e, formData: t } = {}) => {
8614
+ }, As = ({ options: e, formData: t } = {}) => {
8612
8615
  const { checkEventStatusApi: a } = $a();
8613
8616
  return Y({
8614
8617
  queryKey: ["checkEventStatus"],
@@ -8616,30 +8619,30 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8616
8619
  select: (n) => n.data.event_status || n.data,
8617
8620
  ...e
8618
8621
  });
8619
- }, Xu = ({ options: e } = {}) => {
8622
+ }, a0 = ({ options: e } = {}) => {
8620
8623
  const { settleEventApi: t } = $a();
8621
8624
  return ee({
8622
8625
  mutationKey: ["settleEvent"],
8623
8626
  mutationFn: async (a) => t(a),
8624
8627
  ...e
8625
8628
  });
8626
- }, e0 = ({ options: e } = {}) => {
8629
+ }, t0 = ({ options: e } = {}) => {
8627
8630
  const { memberEventSettleApi: t } = $a();
8628
8631
  return ee({
8629
8632
  mutationKey: ["memberEventSettle"],
8630
8633
  mutationFn: async (a) => t(a),
8631
8634
  ...e
8632
8635
  });
8633
- }, a0 = ({
8636
+ }, i0 = ({
8634
8637
  options: e = {
8635
8638
  eventList: {},
8636
8639
  checkEventProgress: {},
8637
8640
  checkEventStatus: {}
8638
8641
  }
8639
8642
  } = {}) => {
8640
- const t = Rs({ options: e.eventList }), a = Ps({
8643
+ const t = ws({ options: e.eventList }), a = Fs({
8641
8644
  options: e.checkEventProgress
8642
- }), n = ws({
8645
+ }), n = As({
8643
8646
  options: e.checkEventStatus
8644
8647
  });
8645
8648
  return {
@@ -8680,7 +8683,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8680
8683
  settleEventWalletApi: s,
8681
8684
  abandonEventWalletApi: u
8682
8685
  };
8683
- }, t0 = ({ gamePlatform: e, params: t } = {}) => {
8686
+ }, n0 = ({ gamePlatform: e, params: t } = {}) => {
8684
8687
  const { eventWalletListApi: a } = pt();
8685
8688
  return Y({
8686
8689
  queryKey: ["getEventWalletList", e, t],
@@ -8721,7 +8724,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8721
8724
  };
8722
8725
  }
8723
8726
  });
8724
- }, i0 = () => {
8727
+ }, r0 = () => {
8725
8728
  const e = ya(), { enabledEventWalletApi: t } = pt();
8726
8729
  return ee({
8727
8730
  mutationKey: ["enabledEventWallet"],
@@ -8730,7 +8733,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8730
8733
  e.invalidateQueries({ queryKey: ["evaluateEventWallet"] });
8731
8734
  }
8732
8735
  });
8733
- }, n0 = ({ gamePlatform: e = "", options: t = {} } = {}) => {
8736
+ }, l0 = ({ gamePlatform: e = "", options: t = {} } = {}) => {
8734
8737
  const { evaluateEventWalletApi: a } = pt();
8735
8738
  return Y({
8736
8739
  queryKey: ["evaluateEventWallet", e],
@@ -8746,7 +8749,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8746
8749
  },
8747
8750
  ...t
8748
8751
  });
8749
- }, r0 = () => {
8752
+ }, o0 = () => {
8750
8753
  const e = ya(), { settleEventWalletApi: t } = pt();
8751
8754
  return ee({
8752
8755
  mutationKey: ["settleEventWallet"],
@@ -8755,7 +8758,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8755
8758
  e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
8756
8759
  }
8757
8760
  });
8758
- }, l0 = () => {
8761
+ }, s0 = () => {
8759
8762
  const e = ya(), { abandonEventWalletApi: t } = pt();
8760
8763
  return ee({
8761
8764
  mutationKey: ["abandonEventWallet"],
@@ -8764,7 +8767,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8764
8767
  e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
8765
8768
  }
8766
8769
  });
8767
- }, o0 = ({ options: e } = {}) => {
8770
+ }, m0 = ({ options: e } = {}) => {
8768
8771
  const { lng: t } = re(), { announcementApi: a } = wa(), n = Je(t);
8769
8772
  return Y({
8770
8773
  queryKey: ["getAnnouncement"],
@@ -8781,7 +8784,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8781
8784
  },
8782
8785
  ...e
8783
8786
  });
8784
- }, s0 = ({ skipPreload: e = !1 } = {}) => {
8787
+ }, u0 = ({ skipPreload: e = !1 } = {}) => {
8785
8788
  const { lng: t, data2URL: a } = re(), { commonCarouselApi: n } = wa(), s = Je(t);
8786
8789
  return Y({
8787
8790
  queryKey: ["getCarouselList", e],
@@ -8809,7 +8812,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8809
8812
  };
8810
8813
  })
8811
8814
  });
8812
- }, m0 = () => {
8815
+ }, p0 = () => {
8813
8816
  const { lng: e, getToken: t } = re(), a = t?.(), { commonMarqueeApi: n } = wa(), s = Je(e);
8814
8817
  return Y({
8815
8818
  queryKey: ["getMarqueeList", a],
@@ -8825,7 +8828,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8825
8828
  };
8826
8829
  }
8827
8830
  });
8828
- }, u0 = ({ options: e } = {}) => {
8831
+ }, g0 = ({ options: e } = {}) => {
8829
8832
  const { rankingGameApi: t } = se();
8830
8833
  return Y({
8831
8834
  queryKey: ["rankingGame"],
@@ -8867,10 +8870,10 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8867
8870
  ...e
8868
8871
  });
8869
8872
  };
8870
- var Fs = Object.create, Er = Object.defineProperty, As = Object.getOwnPropertyDescriptor, Os = Object.getOwnPropertyNames, Bs = Object.getPrototypeOf, Hs = Object.prototype.hasOwnProperty, Ws = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Is = (e, t, a, n) => {
8871
- if (t && typeof t == "object" || typeof t == "function") for (let s of Os(t)) !Hs.call(e, s) && s !== a && Er(e, s, { get: () => t[s], enumerable: !(n = As(t, s)) || n.enumerable });
8873
+ var Os = Object.create, Nr = Object.defineProperty, Bs = Object.getOwnPropertyDescriptor, Hs = Object.getOwnPropertyNames, Ws = Object.getPrototypeOf, Is = Object.prototype.hasOwnProperty, zs = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Vs = (e, t, a, n) => {
8874
+ if (t && typeof t == "object" || typeof t == "function") for (let s of Hs(t)) !Is.call(e, s) && s !== a && Nr(e, s, { get: () => t[s], enumerable: !(n = Bs(t, s)) || n.enumerable });
8872
8875
  return e;
8873
- }, zs = (e, t, a) => (a = e != null ? Fs(Bs(e)) : {}, Is(!e || !e.__esModule ? Er(a, "default", { value: e, enumerable: !0 }) : a, e)), Vs = Ws((e, t) => {
8876
+ }, Js = (e, t, a) => (a = e != null ? Os(Ws(e)) : {}, Vs(!e || !e.__esModule ? Nr(a, "default", { value: e, enumerable: !0 }) : a, e)), Zs = zs((e, t) => {
8874
8877
  (function(a, n) {
8875
8878
  typeof e == "object" && typeof t < "u" ? n(e) : typeof define == "function" && define.amd ? define(["exports"], n) : (a = typeof globalThis < "u" ? globalThis : a || self, n(a.fastUniqueNumbers = {}));
8876
8879
  })(e, function(a) {
@@ -8899,12 +8902,12 @@ var Fs = Object.create, Er = Object.defineProperty, As = Object.getOwnPropertyDe
8899
8902
  a.addUniqueNumber = m, a.generateUniqueNumber = o;
8900
8903
  });
8901
8904
  });
8902
- zs(Vs());
8905
+ Js(Zs());
8903
8906
  var _a = (typeof window > "u" ? "undefined" : typeof window) == "object", ra = { setTimeout: _a ? setTimeout.bind(window) : setTimeout, clearTimeout: _a ? clearTimeout.bind(window) : clearTimeout, setInterval: _a ? setInterval.bind(window) : setInterval, clearInterval: _a ? clearInterval.bind(window) : clearInterval };
8904
- function Js(e) {
8907
+ function Ks(e) {
8905
8908
  ra.setTimeout = e.setTimeout, ra.clearTimeout = e.clearTimeout, ra.setInterval = e.setInterval, ra.clearInterval = e.clearInterval;
8906
8909
  }
8907
- var za = {}, Zs = class {
8910
+ var za = {}, qs = class {
8908
8911
  name;
8909
8912
  closed = !1;
8910
8913
  mc = new MessageChannel();
@@ -8952,17 +8955,17 @@ var za = {}, Zs = class {
8952
8955
  dispatchEvent(e) {
8953
8956
  return this.mc.port1.dispatchEvent(e);
8954
8957
  }
8955
- }, Ks = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : Zs;
8956
- function qs(e = 0) {
8958
+ }, $s = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : qs;
8959
+ function js(e = 0) {
8957
8960
  return new Promise((t) => ra.setTimeout(t, e));
8958
8961
  }
8959
- function Dr() {
8962
+ function Lr() {
8960
8963
  return Math.random().toString(36).substring(2);
8961
8964
  }
8962
- var $s = class {
8965
+ var Qs = class {
8963
8966
  options;
8964
8967
  channel;
8965
- token = Dr();
8968
+ token = Lr();
8966
8969
  isLeader = !1;
8967
8970
  isDead = !1;
8968
8971
  isApplying = !1;
@@ -8983,7 +8986,7 @@ var $s = class {
8983
8986
  };
8984
8987
  this.channel.addEventListener("message", t);
8985
8988
  try {
8986
- return this.sendAction(0), await qs(this.options.responseTime), this.channel.removeEventListener("message", t), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8989
+ return this.sendAction(0), await js(this.options.responseTime), this.channel.removeEventListener("message", t), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8987
8990
  } catch {
8988
8991
  return !1;
8989
8992
  }
@@ -9039,19 +9042,19 @@ var $s = class {
9039
9042
  }
9040
9043
  }
9041
9044
  }
9042
- }, js = class {
9045
+ }, Ys = class {
9043
9046
  channel;
9044
9047
  options;
9045
9048
  elector;
9046
- token = Dr();
9049
+ token = Lr();
9047
9050
  registry = /* @__PURE__ */ new Map();
9048
9051
  allIdle = !1;
9049
9052
  isLastActive = !1;
9050
9053
  constructor(e) {
9051
9054
  let { channelName: t } = e;
9052
- if (this.options = e, this.channel = new Ks(t), this.registry.set(this.token, 1), e.leaderElection) {
9055
+ if (this.options = e, this.channel = new $s(t), this.registry.set(this.token, 1), e.leaderElection) {
9053
9056
  let a = { fallbackInterval: 2e3, responseTime: 100 };
9054
- this.elector = new $s(this.channel, a), this.elector.waitForLeadership();
9057
+ this.elector = new Qs(this.channel, a), this.elector.waitForLeadership();
9055
9058
  }
9056
9059
  this.channel.addEventListener("message", (a) => {
9057
9060
  let { action: n, token: s, data: u } = a.data;
@@ -9141,8 +9144,8 @@ var $s = class {
9141
9144
  close() {
9142
9145
  this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
9143
9146
  }
9144
- }, Qs = _a ? document : null, Ys = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
9145
- function Xs(e, t) {
9147
+ }, Xs = _a ? document : null, em = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
9148
+ function am(e, t) {
9146
9149
  let a;
9147
9150
  function n(...s) {
9148
9151
  a && clearTimeout(a), a = setTimeout(() => {
@@ -9161,7 +9164,7 @@ function yi(e, t) {
9161
9164
  };
9162
9165
  }
9163
9166
  var Ne = () => Date.now(), Va = 2147483647;
9164
- function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle: a = 0, element: n = Qs, events: s = Ys, timers: u = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
9167
+ function tm({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle: a = 0, element: n = Xs, events: s = em, timers: u = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
9165
9168
  }, onPrompt: l = () => {
9166
9169
  }, onIdle: i = () => {
9167
9170
  }, onActive: r = () => {
@@ -9184,7 +9187,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9184
9187
  fe(() => {
9185
9188
  ae.current = c;
9186
9189
  }, [c]);
9187
- let te = me(b), le = me(n), O = me([...(/* @__PURE__ */ new Set([...s, ...b])).values()]), J = me(h);
9190
+ let te = me(b), oe = me(n), O = me([...(/* @__PURE__ */ new Set([...s, ...b])).values()]), J = me(h);
9188
9191
  fe(() => {
9189
9192
  J.current = h, !z.current && (h ? Ke() : _ || ia());
9190
9193
  }, [h]);
@@ -9214,7 +9217,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9214
9217
  }, [m]);
9215
9218
  let be = ka(() => {
9216
9219
  let K = (Pe, la) => pe.current(Pe, la);
9217
- return g > 0 ? Xs(K, g) : p > 0 ? yi(K, p) : K;
9220
+ return g > 0 ? am(K, g) : p > 0 ? yi(K, p) : K;
9218
9221
  }, [p, g]), Ye = me();
9219
9222
  fe(() => {
9220
9223
  U && v && (Ye.current = yi(() => {
@@ -9229,7 +9232,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9229
9232
  !I.current && !G.current && (Q.current(K, Re), Z.current({ type: "active", prompted: !0 }, Re)), L.current = 0, R.current = Ne(), I.current = !0, Ge(P.current, !1);
9230
9233
  }, Me = () => {
9231
9234
  he(), G.current || (X.current(null, Re), Z.current({ type: "idle" }, Re)), G.current = !0, k.current = Ne(), ae.current ? We() : I.current && (R.current = 0, I.current = !1);
9232
- }, oe = (K) => {
9235
+ }, le = (K) => {
9233
9236
  he(), (G.current || I.current) && (q.current(K, Re), Z.current({ type: "active", prompted: !1 }, Re)), I.current = !1, R.current = 0, G.current = !1, F.current += Ne() - k.current, A.current += Ne() - k.current, xe(), Ge();
9234
9237
  }, ke = (K) => {
9235
9238
  if (!G.current) {
@@ -9242,7 +9245,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9242
9245
  E.current ? E.current.idle() : Me();
9243
9246
  return;
9244
9247
  }
9245
- E.current ? E.current.active() : oe(K);
9248
+ E.current ? E.current.active() : le(K);
9246
9249
  }, He = (K) => {
9247
9250
  if (!y && !S.current && (S.current = Ne(), q.current(null, Re)), be(K, Re), I.current) return;
9248
9251
  if (he(), !G.current && te.current.includes(K.type)) {
@@ -9261,14 +9264,14 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9261
9264
  K && We(), f > 0 ? ze.current = yi(He, f) : ze.current = He, K && xe();
9262
9265
  }, [f, p, g, pe, U, v]);
9263
9266
  let xe = () => {
9264
- _a && le.current && (B.current || (O.current.forEach((K) => {
9265
- le.current.addEventListener(K, ze.current, { capture: !0, passive: !0 });
9267
+ _a && oe.current && (B.current || (O.current.forEach((K) => {
9268
+ oe.current.addEventListener(K, ze.current, { capture: !0, passive: !0 });
9266
9269
  }), B.current = !0));
9267
9270
  }, We = (K = !1) => {
9268
- _a && le.current && (B.current || K) && (O.current.forEach((Pe) => {
9269
- le.current.removeEventListener(Pe, ze.current, { capture: !0 });
9271
+ _a && oe.current && (B.current || K) && (O.current.forEach((Pe) => {
9272
+ oe.current.removeEventListener(Pe, ze.current, { capture: !0 });
9270
9273
  }), B.current = !1);
9271
- }, ia = M((K) => J.current ? !1 : (he(), xe(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.start(), Ge(), !0), [N, G, J, w, E]), ua = M((K) => J.current ? !1 : (he(), xe(), H.current = Ne(), F.current += Ne() - k.current, A.current += Ne() - k.current, F.current = 0, G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.reset(), _ || Ge(), !0), [N, G, w, _, J, E]), ba = M((K) => J.current ? !1 : (he(), xe(), (G.current || I.current) && oe(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, H.current = Ne(), E.current && !K && E.current.activate(), Ge(), !0), [N, G, I, J, w, E]), Ke = M((K = !1) => J.current || W.current ? !1 : (L.current = Sa(), W.current = !0, We(), he(), E.current && !K && E.current.pause(), !0), [N, J, E]), na = M((K = !1) => J.current || !W.current ? !1 : (W.current = !1, I.current || xe(), G.current || Ge(L.current), R.current && (R.current = Ne()), E.current && !K && E.current.resume(), !0), [N, w, J, L, E]), Ya = M((K, Pe) => (E.current ? (Pe && Ce.current(K, Re), E.current.message(K)) : Pe && Ce.current(K, Re), !0), [m]), Fa = M(() => G.current, [G]), Aa = M(() => I.current, [I]), Xa = M(() => E.current ? E.current.isLeader : null, [E]), et = M(() => E.current ? E.current.isLastActive : null, [E]), Ua = M(() => E.current ? E.current.token : null, [E]), Sa = M(() => {
9274
+ }, ia = M((K) => J.current ? !1 : (he(), xe(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.start(), Ge(), !0), [N, G, J, w, E]), ua = M((K) => J.current ? !1 : (he(), xe(), H.current = Ne(), F.current += Ne() - k.current, A.current += Ne() - k.current, F.current = 0, G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.reset(), _ || Ge(), !0), [N, G, w, _, J, E]), ba = M((K) => J.current ? !1 : (he(), xe(), (G.current || I.current) && le(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, H.current = Ne(), E.current && !K && E.current.activate(), Ge(), !0), [N, G, I, J, w, E]), Ke = M((K = !1) => J.current || W.current ? !1 : (L.current = Sa(), W.current = !0, We(), he(), E.current && !K && E.current.pause(), !0), [N, J, E]), na = M((K = !1) => J.current || !W.current ? !1 : (W.current = !1, I.current || xe(), G.current || Ge(L.current), R.current && (R.current = Ne()), E.current && !K && E.current.resume(), !0), [N, w, J, L, E]), Ya = M((K, Pe) => (E.current ? (Pe && Ce.current(K, Re), E.current.message(K)) : Pe && Ce.current(K, Re), !0), [m]), Fa = M(() => G.current, [G]), Aa = M(() => I.current, [I]), Xa = M(() => E.current ? E.current.isLeader : null, [E]), et = M(() => E.current ? E.current.isLastActive : null, [E]), Ua = M(() => E.current ? E.current.token : null, [E]), Sa = M(() => {
9272
9275
  if (W.current) return L.current;
9273
9276
  let K = L.current ? L.current : P.current + w.current, Pe = S.current ? Ne() - S.current : 0, la = Math.floor(K - Pe);
9274
9277
  return la < 0 ? 0 : Math.abs(la);
@@ -9281,7 +9284,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9281
9284
  }, [k, F]);
9282
9285
  fe(() => {
9283
9286
  if (g > 0 && p > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
9284
- u && Js(u);
9287
+ u && Ks(u);
9285
9288
  let K = () => {
9286
9289
  E.current && E.current.close(), be.cancel && be.cancel(), he(), We(!0);
9287
9290
  };
@@ -9289,12 +9292,12 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9289
9292
  _a && window.removeEventListener("beforeunload", K), E.current && E.current.close(), be.cancel && be.cancel(), he(), We(!0);
9290
9293
  };
9291
9294
  }, []), fe(() => {
9292
- E.current && E.current.close(), U ? E.current = new js({ channelName: C, leaderElection: T, onPrompt: () => {
9295
+ E.current && E.current.close(), U ? E.current = new Ys({ channelName: C, leaderElection: T, onPrompt: () => {
9293
9296
  Xe();
9294
9297
  }, onIdle: () => {
9295
9298
  Me();
9296
9299
  }, onActive: () => {
9297
- oe();
9300
+ le();
9298
9301
  }, onMessage: (K) => {
9299
9302
  Ce.current(K, Re);
9300
9303
  }, start: ia, reset: ua, activate: ba, pause: Ke, resume: na }) : E.current = null;
@@ -9303,7 +9306,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9303
9306
  }, [_, y, h, z]), fe(() => {
9304
9307
  if (!z.current) {
9305
9308
  let K = [...(/* @__PURE__ */ new Set([...s, ...b])).values()];
9306
- if (We(), O.current = K, le.current = n, te.current = b, _ || h) return;
9309
+ if (We(), O.current = K, oe.current = n, te.current = b, _ || h) return;
9307
9310
  y ? ia() : xe();
9308
9311
  }
9309
9312
  }, [n, JSON.stringify(s), JSON.stringify(b), z, h, _, y]), fe(() => {
@@ -9324,15 +9327,15 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9324
9327
  } };
9325
9328
  return Re;
9326
9329
  }
9327
- var am = ni(null);
9328
- am.Consumer;
9329
- const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9330
+ var im = ni(null);
9331
+ im.Consumer;
9332
+ const d0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => tm({
9330
9333
  onIdle: e,
9331
9334
  onActive: t,
9332
9335
  onAction: a,
9333
9336
  timeout: n,
9334
9337
  throttle: 500
9335
- }), tm = ({ options: e } = {}) => {
9338
+ }), nm = ({ options: e } = {}) => {
9336
9339
  const { commonInboxApi: t } = wa(), { getToken: a, lng: n } = re(), s = a?.(), u = Je(n);
9337
9340
  return Y({
9338
9341
  queryKey: ["inboxList"],
@@ -9353,25 +9356,25 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9353
9356
  enabled: !!s,
9354
9357
  ...e
9355
9358
  });
9356
- }, im = ({ options: e } = {}) => {
9359
+ }, rm = ({ options: e } = {}) => {
9357
9360
  const { commonReadInboxApi: t } = wa();
9358
9361
  return ee({
9359
9362
  mutationKey: ["readInbox"],
9360
9363
  mutationFn: async (a) => await t(a),
9361
9364
  ...e
9362
9365
  });
9363
- }, g0 = ({
9366
+ }, c0 = ({
9364
9367
  options: e = {
9365
9368
  inboxList: {},
9366
9369
  readInbox: {}
9367
9370
  }
9368
9371
  } = {}) => {
9369
- const t = tm({ options: e.inboxList }), a = im({ options: e.readInbox });
9372
+ const t = nm({ options: e.inboxList }), a = rm({ options: e.readInbox });
9370
9373
  return {
9371
9374
  inboxListQuery: t,
9372
9375
  readInboxMutation: a
9373
9376
  };
9374
- }, Nr = () => {
9377
+ }, Gr = () => {
9375
9378
  const { client: e } = re();
9376
9379
  return {
9377
9380
  newsListApi: M(
@@ -9381,7 +9384,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9381
9384
  [e]
9382
9385
  )
9383
9386
  };
9384
- }, nm = ({
9387
+ }, lm = ({
9385
9388
  typeConfig: e = {
9386
9389
  all: {},
9387
9390
  crypto: {},
@@ -9427,8 +9430,8 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9427
9430
  value: "other",
9428
9431
  ...e.other
9429
9432
  }
9430
- ], d0 = ({ options: e, formData: t } = {}) => {
9431
- const { lng: a } = re(), { newsListApi: n } = Nr(), s = Je(a);
9433
+ ], f0 = ({ options: e, formData: t } = {}) => {
9434
+ const { lng: a } = re(), { newsListApi: n } = Gr(), s = Je(a);
9432
9435
  return Y({
9433
9436
  queryKey: ["newsList"],
9434
9437
  queryFn: () => {
@@ -9448,13 +9451,13 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9448
9451
  return {
9449
9452
  ...u.data,
9450
9453
  data: l,
9451
- blogType: nm({ typeConfig: e?.typeConfig })
9454
+ blogType: lm({ typeConfig: e?.typeConfig })
9452
9455
  };
9453
9456
  },
9454
9457
  ...e
9455
9458
  });
9456
- }, c0 = ({ options: e, formData: t } = {}) => {
9457
- const { lng: a } = re(), { newsListApi: n } = Nr(), s = Je(a);
9459
+ }, _0 = ({ options: e, formData: t } = {}) => {
9460
+ const { lng: a } = re(), { newsListApi: n } = Gr(), s = Je(a);
9458
9461
  return Y({
9459
9462
  queryKey: ["newsList"],
9460
9463
  queryFn: () => {
@@ -9697,14 +9700,14 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9697
9700
  snCashRecordApi: y,
9698
9701
  otherTransactionApi: r
9699
9702
  };
9700
- }, rm = ({ options: e } = {}) => {
9703
+ }, om = ({ options: e } = {}) => {
9701
9704
  const { depositApiV1: t } = Le();
9702
9705
  return Y({
9703
9706
  queryKey: ["depositV1"],
9704
9707
  queryFn: t,
9705
9708
  ...e
9706
9709
  });
9707
- }, lm = ({ paramsData: e, options: t } = {}) => {
9710
+ }, sm = ({ paramsData: e, options: t } = {}) => {
9708
9711
  const { depositApiV2: a } = Le();
9709
9712
  return Y({
9710
9713
  queryKey: ["depositV2", e],
@@ -9729,126 +9732,126 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9729
9732
  },
9730
9733
  ...t
9731
9734
  });
9732
- }, om = ({ options: e } = {}) => {
9735
+ }, mm = ({ options: e } = {}) => {
9733
9736
  const { depositApi: t } = Le();
9734
9737
  return ee({
9735
9738
  mutationKey: ["depositAction"],
9736
9739
  mutationFn: async (a) => t(a),
9737
9740
  ...e
9738
9741
  });
9739
- }, sm = ({ options: e } = {}) => {
9742
+ }, um = ({ options: e } = {}) => {
9740
9743
  const { withdrawApi: t } = Le();
9741
9744
  return ee({
9742
9745
  mutationKey: ["withdrawAction"],
9743
9746
  mutationFn: async (a) => t(a),
9744
9747
  ...e
9745
9748
  });
9746
- }, mm = ({ paramsData: e, options: t } = {}) => {
9749
+ }, pm = ({ paramsData: e, options: t } = {}) => {
9747
9750
  const { depositTransactionApi: a } = Le();
9748
9751
  return Y({
9749
9752
  queryKey: ["depositTransaction", e],
9750
9753
  queryFn: () => a({ paramsData: e }),
9751
9754
  ...t
9752
9755
  });
9753
- }, um = ({ paramsData: e, options: t } = {}) => {
9756
+ }, gm = ({ paramsData: e, options: t } = {}) => {
9754
9757
  const { eventTransactionApi: a } = Le();
9755
9758
  return Y({
9756
9759
  queryKey: ["eventTransaction", e],
9757
9760
  queryFn: () => a({ paramsData: e }),
9758
9761
  ...t
9759
9762
  });
9760
- }, pm = ({ options: e } = {}) => {
9763
+ }, dm = ({ options: e } = {}) => {
9761
9764
  const { bankDepositApi: t } = Le();
9762
9765
  return ee({
9763
9766
  mutationKey: ["bankDeposit"],
9764
9767
  mutationFn: async (a) => t(a),
9765
9768
  ...e
9766
9769
  });
9767
- }, gm = ({ options: e } = {}) => {
9770
+ }, cm = ({ options: e } = {}) => {
9768
9771
  const { companyPaymentDepositApi: t } = Le();
9769
9772
  return ee({
9770
9773
  mutationKey: ["companyPaymentDeposit"],
9771
9774
  mutationFn: async (a) => t(a),
9772
9775
  ...e
9773
9776
  });
9774
- }, dm = ({ paramsData: e, options: t } = {}) => {
9777
+ }, fm = ({ paramsData: e, options: t } = {}) => {
9775
9778
  const { withdrawTransactionApi: a } = Le();
9776
9779
  return Y({
9777
9780
  queryKey: ["withdrawTransaction", e],
9778
9781
  queryFn: () => a({ paramsData: e }),
9779
9782
  ...t
9780
9783
  });
9781
- }, f0 = ({ options: e } = {}) => {
9784
+ }, y0 = ({ options: e } = {}) => {
9782
9785
  const { redeemCodeDepositApi: t } = Le();
9783
9786
  return ee({
9784
9787
  mutationKey: ["redeemCodeDeposit"],
9785
9788
  mutationFn: async (a) => t(a),
9786
9789
  ...e
9787
9790
  });
9788
- }, _0 = ({ options: e } = {}) => {
9791
+ }, b0 = ({ options: e } = {}) => {
9789
9792
  const { invoiceApi: t } = Le();
9790
9793
  return ee({
9791
9794
  mutationKey: ["invoiceAction"],
9792
9795
  mutationFn: async (a) => t(a),
9793
9796
  ...e
9794
9797
  });
9795
- }, y0 = ({ options: e } = {}) => {
9798
+ }, U0 = ({ options: e } = {}) => {
9796
9799
  const { updateInvoiceApi: t } = Le();
9797
9800
  return ee({
9798
9801
  mutationKey: ["updateInvoiceAction"],
9799
9802
  mutationFn: async (a) => t(a),
9800
9803
  ...e
9801
9804
  });
9802
- }, b0 = ({ options: e, paramsData: t } = {}) => {
9805
+ }, C0 = ({ options: e, paramsData: t } = {}) => {
9803
9806
  const { transactionRecordApi: a } = Le();
9804
9807
  return Y({
9805
9808
  queryKey: ["transactionRecord", "deposit"],
9806
9809
  queryFn: () => a(t, "deposit"),
9807
9810
  ...e
9808
9811
  });
9809
- }, U0 = ({ options: e, paramsData: t } = {}) => {
9812
+ }, v0 = ({ options: e, paramsData: t } = {}) => {
9810
9813
  const { transactionRecordApi: a } = Le();
9811
9814
  return Y({
9812
9815
  queryKey: ["transactionRecord", "withdraw"],
9813
9816
  queryFn: () => a(t, "withdraw"),
9814
9817
  ...e
9815
9818
  });
9816
- }, C0 = ({ options: e, paramsData: t } = {}) => {
9819
+ }, h0 = ({ options: e, paramsData: t } = {}) => {
9817
9820
  const { transactionRecordApi: a } = Le();
9818
9821
  return Y({
9819
9822
  queryKey: ["transactionRecord", "event"],
9820
9823
  queryFn: () => a(t, "event"),
9821
9824
  ...e
9822
9825
  });
9823
- }, v0 = ({ options: e, paramsData: t } = {}) => {
9826
+ }, T0 = ({ options: e, paramsData: t } = {}) => {
9824
9827
  const { transactionRecordApi: a } = Le();
9825
9828
  return Y({
9826
9829
  queryKey: ["transactionRecord", "rebate"],
9827
9830
  queryFn: () => a(t, "rebate"),
9828
9831
  ...e
9829
9832
  });
9830
- }, h0 = ({ options: e, paramsData: t } = {}) => {
9833
+ }, k0 = ({ options: e, paramsData: t } = {}) => {
9831
9834
  const { treasureRecordApi: a } = Le();
9832
9835
  return Y({
9833
9836
  queryKey: ["treasureRecord", t],
9834
9837
  queryFn: () => a(t),
9835
9838
  ...e
9836
9839
  });
9837
- }, T0 = ({ options: e, paramsData: t } = {}) => {
9840
+ }, x0 = ({ options: e, paramsData: t } = {}) => {
9838
9841
  const { snCashRecordApi: a } = Le();
9839
9842
  return Y({
9840
9843
  queryKey: ["snCashRecord", t],
9841
9844
  queryFn: () => a(t),
9842
9845
  ...e
9843
9846
  });
9844
- }, k0 = ({ options: e, paramsData: t } = {}) => {
9847
+ }, S0 = ({ options: e, paramsData: t } = {}) => {
9845
9848
  const { otherTransactionApi: a } = Le();
9846
9849
  return Y({
9847
9850
  queryKey: ["otherTransaction", t],
9848
9851
  queryFn: () => a({ paramsData: t }),
9849
9852
  ...e
9850
9853
  });
9851
- }, x0 = ({
9854
+ }, E0 = ({
9852
9855
  depositV1: e = {},
9853
9856
  depositV2: t = {},
9854
9857
  depositTransaction: a = {},
@@ -9859,9 +9862,9 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9859
9862
  eventTransaction: d = {},
9860
9863
  withdrawTransaction: l = {}
9861
9864
  } = {}) => {
9862
- const i = rm(e), r = lm(t), o = mm(a), m = om(n), g = sm(s), p = pm(u), f = gm(
9865
+ const i = om(e), r = sm(t), o = pm(a), m = mm(n), g = um(s), p = dm(u), f = cm(
9863
9866
  b
9864
- ), y = um(d), _ = dm(
9867
+ ), y = gm(d), _ = fm(
9865
9868
  l
9866
9869
  );
9867
9870
  return {
@@ -9875,10 +9878,10 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9875
9878
  eventTransaction: y,
9876
9879
  withdrawTransaction: _
9877
9880
  };
9878
- }, Lr = "3.8.0", cm = Lr, ja = typeof Buffer == "function", jn = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, Qn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, fm = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", mt = Array.prototype.slice.call(fm), yt = ((e) => {
9881
+ }, Mr = "3.8.0", _m = Mr, ja = typeof Buffer == "function", Qn = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, Yn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, ym = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", mt = Array.prototype.slice.call(ym), yt = ((e) => {
9879
9882
  let t = {};
9880
9883
  return e.forEach((a, n) => t[a] = n), t;
9881
- })(mt), _m = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Oe = String.fromCharCode.bind(String), Yn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Gr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), Mr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Rr = (e) => {
9884
+ })(mt), bm = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Oe = String.fromCharCode.bind(String), Xn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Rr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), Pr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), wr = (e) => {
9882
9885
  let t, a, n, s, u = "";
9883
9886
  const b = e.length % 3;
9884
9887
  for (let d = 0; d < e.length; ) {
@@ -9887,12 +9890,12 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9887
9890
  t = a << 16 | n << 8 | s, u += mt[t >> 18 & 63] + mt[t >> 12 & 63] + mt[t >> 6 & 63] + mt[t & 63];
9888
9891
  }
9889
9892
  return b ? u.slice(0, b - 3) + "===".substring(b) : u;
9890
- }, Oi = typeof btoa == "function" ? (e) => btoa(e) : ja ? (e) => Buffer.from(e, "binary").toString("base64") : Rr, vi = ja ? (e) => Buffer.from(e).toString("base64") : (e) => {
9893
+ }, Oi = typeof btoa == "function" ? (e) => btoa(e) : ja ? (e) => Buffer.from(e, "binary").toString("base64") : wr, vi = ja ? (e) => Buffer.from(e).toString("base64") : (e) => {
9891
9894
  let a = [];
9892
9895
  for (let n = 0, s = e.length; n < s; n += 4096)
9893
9896
  a.push(Oe.apply(null, e.subarray(n, n + 4096)));
9894
9897
  return Oi(a.join(""));
9895
- }, ti = (e, t = !1) => t ? Gr(vi(e)) : vi(e), ym = (e) => {
9898
+ }, ti = (e, t = !1) => t ? Rr(vi(e)) : vi(e), Um = (e) => {
9896
9899
  if (e.length < 2) {
9897
9900
  var t = e.charCodeAt(0);
9898
9901
  return t < 128 ? e : t < 2048 ? Oe(192 | t >>> 6) + Oe(128 | t & 63) : Oe(224 | t >>> 12 & 15) + Oe(128 | t >>> 6 & 63) + Oe(128 | t & 63);
@@ -9900,7 +9903,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9900
9903
  var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
9901
9904
  return Oe(240 | t >>> 18 & 7) + Oe(128 | t >>> 12 & 63) + Oe(128 | t >>> 6 & 63) + Oe(128 | t & 63);
9902
9905
  }
9903
- }, bm = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Pr = (e) => e.replace(bm, ym), Xn = ja ? (e) => Buffer.from(e, "utf8").toString("base64") : Qn ? (e) => vi(Qn.encode(e)) : (e) => Oi(Pr(e)), qa = (e, t = !1) => t ? Gr(Xn(e)) : Xn(e), er = (e) => qa(e, !0), Um = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Cm = (e) => {
9906
+ }, Cm = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Fr = (e) => e.replace(Cm, Um), er = ja ? (e) => Buffer.from(e, "utf8").toString("base64") : Yn ? (e) => vi(Yn.encode(e)) : (e) => Oi(Fr(e)), qa = (e, t = !1) => t ? Rr(er(e)) : er(e), ar = (e) => qa(e, !0), vm = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, hm = (e) => {
9904
9907
  switch (e.length) {
9905
9908
  case 4:
9906
9909
  var t = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), a = t - 65536;
@@ -9910,26 +9913,26 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9910
9913
  default:
9911
9914
  return Oe((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
9912
9915
  }
9913
- }, wr = (e) => e.replace(Um, Cm), Fr = (e) => {
9914
- if (e = e.replace(/\s+/g, ""), !_m.test(e))
9916
+ }, Ar = (e) => e.replace(vm, hm), Or = (e) => {
9917
+ if (e = e.replace(/\s+/g, ""), !bm.test(e))
9915
9918
  throw new TypeError("malformed base64.");
9916
9919
  e += "==".slice(2 - (e.length & 3));
9917
9920
  let t, a, n, s = [];
9918
9921
  for (let u = 0; u < e.length; )
9919
9922
  t = yt[e.charAt(u++)] << 18 | yt[e.charAt(u++)] << 12 | (a = yt[e.charAt(u++)]) << 6 | (n = yt[e.charAt(u++)]), a === 64 ? s.push(Oe(t >> 16 & 255)) : n === 64 ? s.push(Oe(t >> 16 & 255, t >> 8 & 255)) : s.push(Oe(t >> 16 & 255, t >> 8 & 255, t & 255));
9920
9923
  return s.join("");
9921
- }, Bi = typeof atob == "function" ? (e) => atob(Mr(e)) : ja ? (e) => Buffer.from(e, "base64").toString("binary") : Fr, Ar = ja ? (e) => Yn(Buffer.from(e, "base64")) : (e) => Yn(Bi(e).split("").map((t) => t.charCodeAt(0))), Or = (e) => Ar(Br(e)), vm = ja ? (e) => Buffer.from(e, "base64").toString("utf8") : jn ? (e) => jn.decode(Ar(e)) : (e) => wr(Bi(e)), Br = (e) => Mr(e.replace(/[-_]/g, (t) => t == "-" ? "+" : "/")), hi = (e) => vm(Br(e)), hm = (e) => {
9924
+ }, Bi = typeof atob == "function" ? (e) => atob(Pr(e)) : ja ? (e) => Buffer.from(e, "base64").toString("binary") : Or, Br = ja ? (e) => Xn(Buffer.from(e, "base64")) : (e) => Xn(Bi(e).split("").map((t) => t.charCodeAt(0))), Hr = (e) => Br(Wr(e)), Tm = ja ? (e) => Buffer.from(e, "base64").toString("utf8") : Qn ? (e) => Qn.decode(Br(e)) : (e) => Ar(Bi(e)), Wr = (e) => Pr(e.replace(/[-_]/g, (t) => t == "-" ? "+" : "/")), hi = (e) => Tm(Wr(e)), km = (e) => {
9922
9925
  if (typeof e != "string")
9923
9926
  return !1;
9924
9927
  const t = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
9925
9928
  return !/[^\s0-9a-zA-Z\+/]/.test(t) || !/[^\s0-9a-zA-Z\-_]/.test(t);
9926
- }, Hr = (e) => ({
9929
+ }, Ir = (e) => ({
9927
9930
  value: e,
9928
9931
  enumerable: !1,
9929
9932
  writable: !0,
9930
9933
  configurable: !0
9931
- }), Wr = function() {
9932
- const e = (t, a) => Object.defineProperty(String.prototype, t, Hr(a));
9934
+ }), zr = function() {
9935
+ const e = (t, a) => Object.defineProperty(String.prototype, t, Ir(a));
9933
9936
  e("fromBase64", function() {
9934
9937
  return hi(this);
9935
9938
  }), e("toBase64", function(t) {
@@ -9939,10 +9942,10 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9939
9942
  }), e("toBase64URL", function() {
9940
9943
  return qa(this, !0);
9941
9944
  }), e("toUint8Array", function() {
9942
- return Or(this);
9945
+ return Hr(this);
9943
9946
  });
9944
- }, Ir = function() {
9945
- const e = (t, a) => Object.defineProperty(Uint8Array.prototype, t, Hr(a));
9947
+ }, Vr = function() {
9948
+ const e = (t, a) => Object.defineProperty(Uint8Array.prototype, t, Ir(a));
9946
9949
  e("toBase64", function(t) {
9947
9950
  return ti(this, t);
9948
9951
  }), e("toBase64URI", function() {
@@ -9950,30 +9953,30 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9950
9953
  }), e("toBase64URL", function() {
9951
9954
  return ti(this, !0);
9952
9955
  });
9953
- }, Tm = () => {
9954
- Wr(), Ir();
9955
- }, km = {
9956
- version: Lr,
9957
- VERSION: cm,
9956
+ }, xm = () => {
9957
+ zr(), Vr();
9958
+ }, Sm = {
9959
+ version: Mr,
9960
+ VERSION: _m,
9958
9961
  atob: Bi,
9959
- atobPolyfill: Fr,
9962
+ atobPolyfill: Or,
9960
9963
  btoa: Oi,
9961
- btoaPolyfill: Rr,
9964
+ btoaPolyfill: wr,
9962
9965
  fromBase64: hi,
9963
9966
  toBase64: qa,
9964
9967
  encode: qa,
9965
- encodeURI: er,
9966
- encodeURL: er,
9967
- utob: Pr,
9968
- btou: wr,
9968
+ encodeURI: ar,
9969
+ encodeURL: ar,
9970
+ utob: Fr,
9971
+ btou: Ar,
9969
9972
  decode: hi,
9970
- isValid: hm,
9973
+ isValid: km,
9971
9974
  fromUint8Array: ti,
9972
- toUint8Array: Or,
9973
- extendString: Wr,
9974
- extendUint8Array: Ir,
9975
- extendBuiltins: Tm
9976
- }, S0 = (e, t) => {
9975
+ toUint8Array: Hr,
9976
+ extendString: zr,
9977
+ extendUint8Array: Vr,
9978
+ extendBuiltins: xm
9979
+ }, D0 = (e, t) => {
9977
9980
  const { playGameApi: a } = Gi();
9978
9981
  return Y({
9979
9982
  queryKey: ["playGame"],
@@ -10001,7 +10004,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10001
10004
  supportPortrait: m,
10002
10005
  isHtmlCode: p,
10003
10006
  gameUrl: g,
10004
- decodeGameUrl: km.decode(g),
10007
+ decodeGameUrl: Sm.decode(g),
10005
10008
  message: f,
10006
10009
  betLimitInfo: y
10007
10010
  };
@@ -10009,34 +10012,34 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10009
10012
  enabled: !!e?.gameCode,
10010
10013
  ...t
10011
10014
  });
10012
- }, zr = () => {
10015
+ }, Jr = () => {
10013
10016
  const { client: e } = re(), t = M(async () => await e.get("/rebate"), [e]), a = M(async () => await e.post("/withdraw/rebate"), [e]);
10014
10017
  return {
10015
10018
  currentRebateApi: t,
10016
10019
  receiveRebateApi: a
10017
10020
  };
10018
- }, xm = ({ options: e } = {}) => {
10019
- const { currentRebateApi: t } = zr();
10021
+ }, Em = ({ options: e } = {}) => {
10022
+ const { currentRebateApi: t } = Jr();
10020
10023
  return Y({
10021
10024
  queryKey: ["currentRebate"],
10022
10025
  queryFn: () => t(),
10023
- select: (a) => ur(a, ["code", "status"]),
10026
+ select: (a) => pr(a, ["code", "status"]),
10024
10027
  ...e
10025
10028
  });
10026
- }, Sm = ({ options: e } = {}) => {
10027
- const { receiveRebateApi: t } = zr();
10029
+ }, Dm = ({ options: e } = {}) => {
10030
+ const { receiveRebateApi: t } = Jr();
10028
10031
  return ee({
10029
10032
  mutationKey: ["receiveRebate"],
10030
10033
  mutationFn: async () => t(),
10031
10034
  ...e
10032
10035
  });
10033
- }, E0 = ({
10036
+ }, N0 = ({
10034
10037
  options: e = {
10035
10038
  currentRebate: {},
10036
10039
  receiveRebate: {}
10037
10040
  }
10038
10041
  } = {}) => {
10039
- const t = xm({ options: e.currentRebate }), a = Sm({ options: e.receiveRebate });
10042
+ const t = Em({ options: e.currentRebate }), a = Dm({ options: e.receiveRebate });
10040
10043
  return {
10041
10044
  currentRebate: t,
10042
10045
  receiveRebate: a
@@ -10060,7 +10063,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10060
10063
  redeemRewardApi: s,
10061
10064
  historyRewardApi: u
10062
10065
  };
10063
- }, Em = ({ options: e, formData: t } = {}) => {
10066
+ }, Nm = ({ options: e, formData: t } = {}) => {
10064
10067
  const { rewardListApi: a } = gt();
10065
10068
  return Y({
10066
10069
  queryKey: ["rewardsList"],
@@ -10090,8 +10093,8 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10090
10093
  rewardUid: g,
10091
10094
  rewardWagering: b,
10092
10095
  rewardAmount: d,
10093
- rewardBg: fr(),
10094
- rewardIcon: cr("win")
10096
+ rewardBg: _r(),
10097
+ rewardIcon: fr("win")
10095
10098
  };
10096
10099
  });
10097
10100
  return {
@@ -10107,35 +10110,35 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10107
10110
  },
10108
10111
  ...e
10109
10112
  });
10110
- }, Dm = ({ options: e } = {}) => {
10113
+ }, Lm = ({ options: e } = {}) => {
10111
10114
  const { redeemRewardApi: t } = gt();
10112
10115
  return ee({
10113
10116
  mutationKey: ["redeemReward"],
10114
10117
  mutationFn: async (a) => await t(a),
10115
10118
  ...e
10116
10119
  });
10117
- }, Nm = ({ options: e } = {}) => {
10120
+ }, Gm = ({ options: e } = {}) => {
10118
10121
  const { unUsedRewardListApi: t } = gt();
10119
10122
  return Y({
10120
10123
  queryKey: ["unUsedRewardsList"],
10121
10124
  queryFn: t,
10122
10125
  ...e
10123
10126
  });
10124
- }, Lm = ({ options: e } = {}) => {
10127
+ }, Mm = ({ options: e } = {}) => {
10125
10128
  const { expiredRewardListApi: t } = gt();
10126
10129
  return Y({
10127
10130
  queryKey: ["expiredRewardsList"],
10128
10131
  queryFn: t,
10129
10132
  ...e
10130
10133
  });
10131
- }, Gm = ({ options: e } = {}) => {
10134
+ }, Rm = ({ options: e } = {}) => {
10132
10135
  const { historyRewardApi: t } = gt();
10133
10136
  return Y({
10134
10137
  queryKey: ["historyRewardsList"],
10135
10138
  queryFn: t,
10136
10139
  ...e
10137
10140
  });
10138
- }, D0 = ({
10141
+ }, L0 = ({
10139
10142
  options: e = {
10140
10143
  rewardsList: {},
10141
10144
  redeemReward: {},
@@ -10144,13 +10147,13 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10144
10147
  historyRewardsList: {}
10145
10148
  }
10146
10149
  } = {}) => {
10147
- const t = Em({ options: e.rewardsList }), a = Dm({
10150
+ const t = Nm({ options: e.rewardsList }), a = Lm({
10148
10151
  options: e.redeemReward
10149
- }), n = Nm({
10152
+ }), n = Gm({
10150
10153
  options: e.unUsedRewardsList
10151
- }), s = Lm({
10154
+ }), s = Mm({
10152
10155
  options: e.expiredRewardsList
10153
- }), u = Gm({
10156
+ }), u = Rm({
10154
10157
  options: e.historyRewardsList
10155
10158
  });
10156
10159
  return {
@@ -10201,7 +10204,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10201
10204
  reward_amount: "1000.00000000",
10202
10205
  status: 1
10203
10206
  }
10204
- ], Mm = [
10207
+ ], Pm = [
10205
10208
  {
10206
10209
  uid: 53,
10207
10210
  roulettes_uid: ca,
@@ -10228,7 +10231,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10228
10231
  }
10229
10232
  ];
10230
10233
  let ut = 3;
10231
- const Vr = [], Rm = () => [
10234
+ const Zr = [], wm = () => [
10232
10235
  {
10233
10236
  title: Ti,
10234
10237
  reward_title: "500 點",
@@ -10243,7 +10246,7 @@ const Vr = [], Rm = () => [
10243
10246
  reward_amount: "0.00000000",
10244
10247
  created_at: "2026-09-20T11:02:41.000000Z"
10245
10248
  }
10246
- ], Hi = (e = 300) => new Promise((t) => setTimeout(t, e)), Pm = () => ki[Math.floor(Math.random() * ki.length)], wm = async () => (await Hi(), {
10249
+ ], Hi = (e = 300) => new Promise((t) => setTimeout(t, e)), Fm = () => ki[Math.floor(Math.random() * ki.length)], Am = async () => (await Hi(), {
10247
10250
  code: 200,
10248
10251
  status: "Success",
10249
10252
  message: "Success",
@@ -10261,21 +10264,21 @@ const Vr = [], Rm = () => [
10261
10264
  is_active: 1,
10262
10265
  count: ut,
10263
10266
  roulettes_rewards: ki,
10264
- roulettes_copywriting: Mm
10267
+ roulettes_copywriting: Pm
10265
10268
  }
10266
10269
  ]
10267
- }), Fm = async ({ spin_times: e = 1 } = {}) => {
10270
+ }), Om = async ({ spin_times: e = 1 } = {}) => {
10268
10271
  if (await Hi(), ut <= 0)
10269
10272
  return { success: !1, message: "No spin count available." };
10270
10273
  const t = Math.min(Number(e) || 1, ut), a = [];
10271
10274
  for (let n = 0; n < t; n += 1) {
10272
- const s = Pm();
10275
+ const s = Fm();
10273
10276
  a.push({
10274
10277
  uid: s.uid,
10275
10278
  reward_title: s.reward_title,
10276
10279
  reward_type: s.reward_type,
10277
10280
  reward_amount: Number(s.reward_amount)
10278
- }), Vr.unshift({
10281
+ }), Zr.unshift({
10279
10282
  title: Ti,
10280
10283
  reward_title: s.reward_title,
10281
10284
  reward_type: s.reward_type,
@@ -10291,9 +10294,9 @@ const Vr = [], Rm = () => [
10291
10294
  remaining_count: ut
10292
10295
  }
10293
10296
  };
10294
- }, Am = async ({ page: e = 1 } = {}) => {
10297
+ }, Bm = async ({ page: e = 1 } = {}) => {
10295
10298
  await Hi();
10296
- const t = 15, a = [...Vr, ...Rm()], n = a.length, s = Number(e) || 1, u = (s - 1) * t, b = a.slice(u, u + t), d = Math.max(1, Math.ceil(n / t));
10299
+ const t = 15, a = [...Zr, ...wm()], n = a.length, s = Number(e) || 1, u = (s - 1) * t, b = a.slice(u, u + t), d = Math.max(1, Math.ceil(n / t));
10297
10300
  return {
10298
10301
  success: !0,
10299
10302
  message: "Get getRoulettesRewardsLog Success",
@@ -10308,16 +10311,16 @@ const Vr = [], Rm = () => [
10308
10311
  }
10309
10312
  };
10310
10313
  }, Wi = () => {
10311
- const { client: e } = re(), t = M(async () => wm(), [e]), a = M(
10314
+ const { client: e } = re(), t = M(async () => Am(), [e]), a = M(
10312
10315
  async (s = {}) => {
10313
10316
  const { roulettes_uid: u = "", spin_times: b = 1 } = s || {};
10314
- return Fm({ spin_times: b });
10317
+ return Om({ spin_times: b });
10315
10318
  },
10316
10319
  [e]
10317
10320
  ), n = M(
10318
10321
  async (s = {}) => {
10319
10322
  const { roulettes_uid: u, page: b = 1 } = s || {};
10320
- return Am({ page: b });
10323
+ return Bm({ page: b });
10321
10324
  },
10322
10325
  [e]
10323
10326
  );
@@ -10326,7 +10329,7 @@ const Vr = [], Rm = () => [
10326
10329
  redeemRoulettesApi: a,
10327
10330
  roulettesDrawLogApi: n
10328
10331
  };
10329
- }, N0 = ({ options: e } = {}) => {
10332
+ }, G0 = ({ options: e } = {}) => {
10330
10333
  const { lng: t } = re(), a = Je(t || "tw"), { roulettesListApi: n } = Wi();
10331
10334
  return Y({
10332
10335
  queryKey: ["roulettesList"],
@@ -10343,14 +10346,14 @@ const Vr = [], Rm = () => [
10343
10346
  }), res: s }),
10344
10347
  ...e
10345
10348
  });
10346
- }, L0 = ({ options: e } = {}) => {
10349
+ }, M0 = ({ options: e } = {}) => {
10347
10350
  const { redeemRoulettesApi: t } = Wi();
10348
10351
  return ee({
10349
10352
  mutationKey: ["redeemRoulettes"],
10350
10353
  mutationFn: async (a) => t(a),
10351
10354
  ...e
10352
10355
  });
10353
- }, G0 = ({ paramsData: e, options: t } = {}) => {
10356
+ }, R0 = ({ paramsData: e, options: t } = {}) => {
10354
10357
  const { roulettesDrawLogApi: a } = Wi();
10355
10358
  return Y({
10356
10359
  queryKey: ["roulettesDrawLog", e],
@@ -10451,18 +10454,18 @@ const Vr = [], Rm = () => [
10451
10454
  createStoreOrderApi: i,
10452
10455
  updateStoreOrderApi: r
10453
10456
  };
10454
- }, Qa = (e) => j(e, "data", e), Om = (e) => ({
10457
+ }, Qa = (e) => j(e, "data", e), Hm = (e) => ({
10455
10458
  ...j(e, "data", {}),
10456
10459
  shipment_list: j(e, "shipment_list", {})
10457
- }), M0 = ({ options: e } = {}) => {
10460
+ }), P0 = ({ options: e } = {}) => {
10458
10461
  const { storeConfigApi: t } = ma();
10459
10462
  return Y({
10460
10463
  queryKey: ["market", "storeConfig"],
10461
10464
  queryFn: t,
10462
- select: Om,
10465
+ select: Hm,
10463
10466
  ...e
10464
10467
  });
10465
- }, R0 = ({ options: e } = {}) => {
10468
+ }, w0 = ({ options: e } = {}) => {
10466
10469
  const { storeProductTypeApi: t } = ma();
10467
10470
  return Y({
10468
10471
  queryKey: ["market", "productType"],
@@ -10470,9 +10473,9 @@ const Vr = [], Rm = () => [
10470
10473
  select: Qa,
10471
10474
  ...e
10472
10475
  });
10473
- }, P0 = ({ paramsData: e, options: t } = {}) => {
10476
+ }, F0 = ({ paramsData: e, options: t } = {}) => {
10474
10477
  const { storeProductListApi: a } = ma();
10475
- return sl({
10478
+ return ul({
10476
10479
  queryKey: ["market", "productList", "infinite", e],
10477
10480
  initialPageParam: 1,
10478
10481
  queryFn: async ({ pageParam: n = 1 }) => {
@@ -10488,7 +10491,7 @@ const Vr = [], Rm = () => [
10488
10491
  },
10489
10492
  ...t
10490
10493
  });
10491
- }, w0 = ({ paramsData: e, options: t } = {}) => {
10494
+ }, A0 = ({ paramsData: e, options: t } = {}) => {
10492
10495
  const { storeProductDetailApi: a } = ma(), n = j(e, "uid");
10493
10496
  return Y({
10494
10497
  queryKey: ["market", "productDetail", n],
@@ -10497,7 +10500,7 @@ const Vr = [], Rm = () => [
10497
10500
  ...t,
10498
10501
  enabled: n != null && n !== "" && (t?.enabled ?? !0)
10499
10502
  });
10500
- }, F0 = ({ options: e } = {}) => {
10503
+ }, O0 = ({ options: e } = {}) => {
10501
10504
  const { storeCoinBalanceApi: t } = ma(), { getToken: a } = re(), n = a?.();
10502
10505
  return Y({
10503
10506
  queryKey: ["market", "storeCoinBalance"],
@@ -10508,7 +10511,7 @@ const Vr = [], Rm = () => [
10508
10511
  放在 ...options 之後,與呼叫端自帶的 enabled 取交集。 */
10509
10512
  enabled: !!n && (e?.enabled ?? !0)
10510
10513
  });
10511
- }, A0 = ({ paramsData: e, options: t } = {}) => {
10514
+ }, B0 = ({ paramsData: e, options: t } = {}) => {
10512
10515
  const { storeCoinLogApi: a } = ma(), { getToken: n } = re(), s = n?.();
10513
10516
  return Y({
10514
10517
  queryKey: ["market", "storeCoinLog", e],
@@ -10518,7 +10521,7 @@ const Vr = [], Rm = () => [
10518
10521
  // 同 useStoreCoinBalance:未登入不發送
10519
10522
  enabled: !!s && (t?.enabled ?? !0)
10520
10523
  });
10521
- }, O0 = ({ paramsData: e, options: t } = {}) => {
10524
+ }, H0 = ({ paramsData: e, options: t } = {}) => {
10522
10525
  const { storeOrderListApi: a } = ma(), { getToken: n } = re(), s = n?.();
10523
10526
  return Y({
10524
10527
  queryKey: ["market", "storeOrderList", e],
@@ -10528,7 +10531,7 @@ const Vr = [], Rm = () => [
10528
10531
  // 同 useStoreCoinBalance:未登入不發送
10529
10532
  enabled: !!s && (t?.enabled ?? !0)
10530
10533
  });
10531
- }, B0 = ({ paramsData: e, options: t } = {}) => {
10534
+ }, W0 = ({ paramsData: e, options: t } = {}) => {
10532
10535
  const { storeOrderDetailApi: a } = ma(), { getToken: n } = re(), s = n?.(), u = j(e, "uid");
10533
10536
  return Y({
10534
10537
  queryKey: ["market", "storeOrderDetail", u],
@@ -10538,7 +10541,7 @@ const Vr = [], Rm = () => [
10538
10541
  /* 需 Bearer Token 且需有 uid 才發送;與呼叫端自帶的 enabled 取交集 */
10539
10542
  enabled: !!s && !!u && (t?.enabled ?? !0)
10540
10543
  });
10541
- }, H0 = ({ options: e } = {}) => {
10544
+ }, I0 = ({ options: e } = {}) => {
10542
10545
  const { createStoreOrderApi: t } = ma(), a = ya(), { onSuccess: n, ...s } = e || {};
10543
10546
  return ee({
10544
10547
  mutationKey: ["market", "createStoreOrder"],
@@ -10550,7 +10553,7 @@ const Vr = [], Rm = () => [
10550
10553
  },
10551
10554
  ...s
10552
10555
  });
10553
- }, W0 = ({ options: e } = {}) => {
10556
+ }, z0 = ({ options: e } = {}) => {
10554
10557
  const { updateStoreOrderApi: t } = ma(), a = ya(), { onSuccess: n, ...s } = e || {};
10555
10558
  return ee({
10556
10559
  mutationKey: ["market", "updateStoreOrder"],
@@ -10562,7 +10565,7 @@ const Vr = [], Rm = () => [
10562
10565
  },
10563
10566
  ...s
10564
10567
  });
10565
- }, Jr = () => {
10568
+ }, Kr = () => {
10566
10569
  const { client: e } = re(), t = M(
10567
10570
  async (n = {}) => {
10568
10571
  const {
@@ -10597,8 +10600,8 @@ const Vr = [], Rm = () => [
10597
10600
  treasureListApi: t,
10598
10601
  redeemTreasureApi: a
10599
10602
  };
10600
- }, I0 = ({ paramsData: e, options: t } = {}) => {
10601
- const { client: a, lng: n } = re(), s = Je(n || "tw"), { treasureListApi: u } = Jr();
10603
+ }, V0 = ({ paramsData: e, options: t } = {}) => {
10604
+ const { client: a, lng: n } = re(), s = Je(n || "tw"), { treasureListApi: u } = Kr();
10602
10605
  return Y({
10603
10606
  queryKey: ["treasureList", e],
10604
10607
  queryFn: () => u(e),
@@ -10625,21 +10628,21 @@ const Vr = [], Rm = () => [
10625
10628
  },
10626
10629
  ...t
10627
10630
  });
10628
- }, z0 = ({ options: e } = {}) => {
10629
- const { redeemTreasureApi: t } = Jr();
10631
+ }, J0 = ({ options: e } = {}) => {
10632
+ const { redeemTreasureApi: t } = Kr();
10630
10633
  return ee({
10631
10634
  mutationKey: ["redeemTreasure"],
10632
10635
  mutationFn: async (a) => t(a),
10633
10636
  ...e
10634
10637
  });
10635
- }, Zr = () => {
10638
+ }, qr = () => {
10636
10639
  const { client: e } = re(), t = M(async () => await e.get("/vip/list"), [e]), a = M(async () => await e.get("/vip/check"), [e]);
10637
10640
  return {
10638
10641
  vipListApi: t,
10639
10642
  vipInfoApi: a
10640
10643
  };
10641
- }, V0 = ({ options: e } = {}) => {
10642
- const { store: t } = re(), a = t?.getState()?.isMemberInfo || t?.getState()?.member?.member || {}, { vipInfoApi: n } = Zr();
10644
+ }, Z0 = ({ options: e } = {}) => {
10645
+ const { store: t } = re(), a = t?.getState()?.isMemberInfo || t?.getState()?.member?.member || {}, { vipInfoApi: n } = qr();
10643
10646
  return Y({
10644
10647
  queryKey: ["vipInfo"],
10645
10648
  queryFn: async () => n(),
@@ -10649,7 +10652,7 @@ const Vr = [], Rm = () => [
10649
10652
  currentStatus: i.status,
10650
10653
  currentOverflow: i.promotion_overflow,
10651
10654
  type: i.type
10652
- })), l = dl(d, "type");
10655
+ })), l = fl(d, "type");
10653
10656
  return {
10654
10657
  currentWager: u.wagering || u.value,
10655
10658
  currentLevel: a.vip_level,
@@ -10663,8 +10666,8 @@ const Vr = [], Rm = () => [
10663
10666
  },
10664
10667
  ...e
10665
10668
  });
10666
- }, Bm = ({ options: e } = {}) => {
10667
- const { store: t } = re(), a = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } = Zr();
10669
+ }, Wm = ({ options: e } = {}) => {
10670
+ const { store: t } = re(), a = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } = qr();
10668
10671
  return Y({
10669
10672
  queryKey: ["vipList"],
10670
10673
  queryFn: async () => {
@@ -10700,11 +10703,11 @@ const Vr = [], Rm = () => [
10700
10703
  },
10701
10704
  ...e
10702
10705
  });
10703
- }, J0 = ({ options: e } = {
10706
+ }, K0 = ({ options: e } = {
10704
10707
  vipList: {}
10705
10708
  }) => ({
10706
- vipList: Bm({ options: e.vipList })
10707
- }), Z0 = ({ onMessage: e } = {}) => {
10709
+ vipList: Wm({ options: e.vipList })
10710
+ }), q0 = ({ onMessage: e } = {}) => {
10708
10711
  const [t, a] = je(!1), [n, s] = je([]), u = me(e);
10709
10712
  u.current = e;
10710
10713
  const b = M((_) => {
@@ -10787,8 +10790,8 @@ const Vr = [], Rm = () => [
10787
10790
  webViewUnmute: y,
10788
10791
  logs: n
10789
10792
  };
10790
- }, bt = "game-icon-ds88", K0 = ({ gameData: e = {} } = {}) => {
10791
- const { lng: t } = re(), a = Nl(t), {
10793
+ }, bt = "game-icon-ds88", $0 = ({ gameData: e = {} } = {}) => {
10794
+ const { lng: t } = re(), a = Gl(t), {
10792
10795
  gameCode: n,
10793
10796
  // 遊戲代碼
10794
10797
  gameUid: s,
@@ -10832,7 +10835,7 @@ const Vr = [], Rm = () => [
10832
10835
  gameNameTw: h
10833
10836
  // 繁體中文名稱
10834
10837
  } = e, D = e?.[`gameName${a}`], H = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.webp`, k = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.gif`, S = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.webp`, F = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.gif`, A = M(
10835
- ({ long: R = !1, preferAnimated: L = !1 } = {}) => Dl({
10838
+ ({ long: R = !1, preferAnimated: L = !1 } = {}) => Ll({
10836
10839
  lng: t,
10837
10840
  gamePlatform: i,
10838
10841
  gameCode: n,
@@ -10870,7 +10873,7 @@ const Vr = [], Rm = () => [
10870
10873
  isInvalidBet: _,
10871
10874
  haveJackpot: c
10872
10875
  };
10873
- }, Hm = (e, t = !1) => cl([
10876
+ }, Im = (e, t = !1) => _l([
10874
10877
  "EVO",
10875
10878
  "IMSPRIBE",
10876
10879
  "SABA",
@@ -10881,7 +10884,7 @@ const Vr = [], Rm = () => [
10881
10884
  "HACK",
10882
10885
  "NAGA",
10883
10886
  "RSG"
10884
- ], e) && t ? `${e}_dark` : e, q0 = ({ platformData: e, darkMode: t } = {}) => {
10887
+ ], e) && t ? `${e}_dark` : e, j0 = ({ platformData: e, darkMode: t } = {}) => {
10885
10888
  const {
10886
10889
  SubPlatformEnum: a,
10887
10890
  // 子平台枚舉
@@ -10903,7 +10906,7 @@ const Vr = [], Rm = () => [
10903
10906
  // 臨時維護開始時間
10904
10907
  temp_maintenance_end_time: o
10905
10908
  // 臨時維護結束時間
10906
- } = e || {}, m = `${Qe}/${_r}/${Hm(n, t)}.png`;
10909
+ } = e || {}, m = `${Qe}/${yr}/${Im(n, t)}.png`;
10907
10910
  return {
10908
10911
  subPlatformEnum: a,
10909
10912
  platformEnum: n,
@@ -10917,19 +10920,19 @@ const Vr = [], Rm = () => [
10917
10920
  tempMaintenanceEndTime: o,
10918
10921
  platformImageUrl: m
10919
10922
  };
10920
- }, Wm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), ar = (e = []) => !ta(e) || Fe(e) ? [] : Ee(e, "platform"), Im = (e = []) => !ta(e) || Fe(e) ? [] : Ee(e, "gameTypeName"), zm = (e = []) => !ta(e) || Fe(e) ? [] : Ee(e, "game_subtype"), Vm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), Jm = (e = [], t = []) => !ta(e) || Fe(e) ? {} : !ta(t) || Fe(t) ? {} : e.reduce((a, n) => {
10923
+ }, zm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), tr = (e = []) => !ta(e) || Fe(e) ? [] : Ee(e, "platform"), Vm = (e = []) => !ta(e) || Fe(e) ? [] : Ee(e, "gameTypeName"), Jm = (e = []) => !ta(e) || Fe(e) ? [] : Ee(e, "game_subtype"), Zm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), Km = (e = [], t = []) => !ta(e) || Fe(e) ? {} : !ta(t) || Fe(t) ? {} : e.reduce((a, n) => {
10921
10924
  const s = t.map((u) => u.game_subtype);
10922
10925
  return s.forEach((u) => {
10923
10926
  a[u] = a[u] || [];
10924
10927
  }), s.includes(n.game_subtype) && a[n.game_subtype].push(n), a;
10925
- }, {}), Zm = ({
10928
+ }, {}), qm = ({
10926
10929
  gameTypes: e = [],
10927
10930
  platforms: t = [],
10928
10931
  gameList: a = {},
10929
10932
  allGameTypes: n = [],
10930
10933
  allPlatforms: s = []
10931
10934
  }) => !ta(e) || !ta(t) ? {} : Fe(a) ? {} : e.reduce((u, b) => {
10932
- const d = Gl({
10935
+ const d = Rl({
10933
10936
  gameTypeName: b,
10934
10937
  platforms: t,
10935
10938
  gameList: a,
@@ -10937,17 +10940,17 @@ const Vr = [], Rm = () => [
10937
10940
  allPlatforms: s
10938
10941
  });
10939
10942
  return Fe(d) || (u[b] = d), u;
10940
- }, {}), $0 = ({
10943
+ }, {}), Q0 = ({
10941
10944
  types: e = [],
10942
10945
  platforms: t = [],
10943
10946
  allGameType: a = [],
10944
10947
  allGamePlatform: n = [],
10945
10948
  allGameList: s = {}
10946
10949
  } = {}) => !Array.isArray(e) || !Array.isArray(t) ? {} : e.reduce((u, b) => {
10947
- const d = br(a, b);
10950
+ const d = Ur(a, b);
10948
10951
  if (!d) return u;
10949
10952
  const l = s[d] || [], i = t.reduce((r, o) => {
10950
- const m = Ml({
10953
+ const m = Pl({
10951
10954
  platformName: o,
10952
10955
  gamesOfType: l,
10953
10956
  allPlatforms: n
@@ -10955,9 +10958,9 @@ const Vr = [], Rm = () => [
10955
10958
  return Fe(m) ? r : { ...r, [o]: m };
10956
10959
  }, {});
10957
10960
  return Fe(i) || (u[b] = i), u;
10958
- }, {}), Km = (e = {}) => !ri(e) || Fe(e) ? {} : Object.values(e).reduce((a, n) => (Object.entries(n).forEach(([s, u]) => {
10961
+ }, {}), $m = (e = {}) => !ri(e) || Fe(e) ? {} : Object.values(e).reduce((a, n) => (Object.entries(n).forEach(([s, u]) => {
10959
10962
  a[s] ? a[s] = [...a[s], ...u] : a[s] = u;
10960
- }), a), {}), qm = (e = {}) => {
10963
+ }), a), {}), jm = (e = {}) => {
10961
10964
  if (!ri(e) || Fe(e)) return {};
10962
10965
  const t = {};
10963
10966
  for (const [a, n] of Object.entries(e)) {
@@ -10968,7 +10971,7 @@ const Vr = [], Rm = () => [
10968
10971
  }
10969
10972
  }
10970
10973
  return t;
10971
- }, $m = ({
10974
+ }, Qm = ({
10972
10975
  allGameList: e = {},
10973
10976
  allGamePlatform: t = [],
10974
10977
  allGameType: a = [],
@@ -10981,21 +10984,21 @@ const Vr = [], Rm = () => [
10981
10984
  highlightGames: i = [],
10982
10985
  originPlatform: r = []
10983
10986
  }) => {
10984
- const o = Wm(e), m = ar(t), g = Im(a), p = zm(n), f = ar(r), y = Vm(d), _ = Zm({
10987
+ const o = zm(e), m = tr(t), g = Vm(a), p = Jm(n), f = tr(r), y = Zm(d), _ = qm({
10985
10988
  gameTypes: g,
10986
10989
  platforms: m,
10987
10990
  gameList: e,
10988
10991
  allGameTypes: a,
10989
10992
  allPlatforms: t
10990
10993
  }), c = Ee(t, (D) => {
10991
- const H = `${Qe}/${_r}/${D.platformEnum}.png`;
10994
+ const H = `${Qe}/${yr}/${D.platformEnum}.png`;
10992
10995
  return {
10993
10996
  ...D,
10994
10997
  platformImageUrl: H
10995
10998
  };
10996
- }), U = Jm(o, n), C = Km(_), v = qm(C), T = mr(_).reduce(
10999
+ }), U = Km(o, n), C = $m(_), v = jm(C), T = ur(_).reduce(
10997
11000
  (D, [H, k]) => {
10998
- const S = li(fl(k));
11001
+ const S = li(yl(k));
10999
11002
  return D[H] = S, D;
11000
11003
  },
11001
11004
  {}
@@ -11036,12 +11039,12 @@ const Vr = [], Rm = () => [
11036
11039
  favorite: y
11037
11040
  }
11038
11041
  };
11039
- }, j0 = (e = []) => !ta(e) || Fe(e) ? [] : li(e, (t) => Fe(t.SubPlatformEnum) ? t : t.SubPlatformEnum.map((a) => ({
11042
+ }, Y0 = (e = []) => !ta(e) || Fe(e) ? [] : li(e, (t) => Fe(t.SubPlatformEnum) ? t : t.SubPlatformEnum.map((a) => ({
11040
11043
  ...t,
11041
11044
  ...a,
11042
11045
  platform: a.SubPlatformEnum,
11043
11046
  platformEnum: a.SubPlatformEnum
11044
- }))), jm = {
11047
+ }))), Ym = {
11045
11048
  platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
11046
11049
  type: { main: [], sub: [], originMain: [], originSub: [] },
11047
11050
  gameList: {
@@ -11061,7 +11064,7 @@ const Vr = [], Rm = () => [
11061
11064
  byGameType: {}
11062
11065
  },
11063
11066
  user: { favorite: [] }
11064
- }, Qm = ({ enabled: e = !0 } = {}) => {
11067
+ }, Xm = ({ enabled: e = !0 } = {}) => {
11065
11068
  const { getToken: t } = re(), { userFavoriteGameApi: a, userGameListApi: n } = se(), { data: s, isLoading: u, error: b, refetch: d } = Y({
11066
11069
  queryKey: ["gamesInfo"],
11067
11070
  queryFn: async () => {
@@ -11071,7 +11074,7 @@ const Vr = [], Rm = () => [
11071
11074
  } catch (r) {
11072
11075
  console.warn("Failed to fetch favorite games:", r);
11073
11076
  }
11074
- return $m({
11077
+ return Qm({
11075
11078
  allGameList: i.gameTypeGroup || window.gameTypeGroup || {},
11076
11079
  allGamePlatform: i.platforms || window.platforms || [],
11077
11080
  allGameType: i.gameType || window.gameType || [],
@@ -11094,12 +11097,12 @@ const Vr = [], Rm = () => [
11094
11097
  refetchOnWindowFocus: !1
11095
11098
  });
11096
11099
  return {
11097
- gamesInfo: s || jm,
11100
+ gamesInfo: s || Ym,
11098
11101
  isLoading: u,
11099
11102
  error: b,
11100
11103
  refetch: d
11101
11104
  };
11102
- }, Ym = (e = !1) => {
11105
+ }, eu = (e = !1) => {
11103
11106
  if (!e && window.gameTypeGroup) {
11104
11107
  console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
11105
11108
  return;
@@ -37626,18 +37629,18 @@ const Vr = [], Rm = () => [
37626
37629
  is_invalid_bet: 0
37627
37630
  }
37628
37631
  });
37629
- }, Xm = ({
37632
+ }, au = ({
37630
37633
  children: e,
37631
37634
  autoFetch: t = !1,
37632
37635
  mockData: a = !1
37633
37636
  }) => {
37634
37637
  fe(() => {
37635
- a && Ym(!0);
37638
+ a && eu(!0);
37636
37639
  }, [a]);
37637
- const n = Qm({ enabled: t });
37638
- return /* @__PURE__ */ ie.jsx(yr.Provider, { value: n, children: e });
37640
+ const n = Xm({ enabled: t });
37641
+ return /* @__PURE__ */ ie.jsx(br.Provider, { value: n, children: e });
37639
37642
  };
37640
- function Q0({
37643
+ function X0({
37641
37644
  children: e,
37642
37645
  autoFetchGamesInfo: t = !1,
37643
37646
  useMockData: a = !1,
@@ -37647,13 +37650,13 @@ function Q0({
37647
37650
  }) {
37648
37651
  fe(() => {
37649
37652
  if (s)
37650
- return Sl();
37653
+ return Dl();
37651
37654
  }, [s]);
37652
37655
  const b = ka(() => Ki(u), [u]), d = ka(
37653
37656
  () => Ki({ ...u, formData: !0 }),
37654
37657
  [u]
37655
37658
  ), l = ka(
37656
- () => new ml({
37659
+ () => new pl({
37657
37660
  defaultOptions: {
37658
37661
  queries: {
37659
37662
  refetchOnWindowFocus: !1,
@@ -37663,8 +37666,8 @@ function Q0({
37663
37666
  }),
37664
37667
  []
37665
37668
  ), i = n || l;
37666
- return /* @__PURE__ */ ie.jsx(ul, { client: i, children: /* @__PURE__ */ ie.jsx(pr.Provider, { value: { client: b, formDataClient: d, ...u }, children: /* @__PURE__ */ ie.jsx(vl, { children: /* @__PURE__ */ ie.jsx(
37667
- Xm,
37669
+ return /* @__PURE__ */ ie.jsx(gl, { client: i, children: /* @__PURE__ */ ie.jsx(gr.Provider, { value: { client: b, formDataClient: d, ...u }, children: /* @__PURE__ */ ie.jsx(Tl, { children: /* @__PURE__ */ ie.jsx(
37670
+ au,
37668
37671
  {
37669
37672
  autoFetch: t,
37670
37673
  mockData: a,
@@ -37672,14 +37675,14 @@ function Q0({
37672
37675
  }
37673
37676
  ) }) }) });
37674
37677
  }
37675
- const Y0 = () => {
37678
+ const ep = () => {
37676
37679
  const e = ya(), {
37677
37680
  mutate: t,
37678
37681
  isPending: a,
37679
37682
  isSuccess: n,
37680
37683
  isError: s,
37681
37684
  error: u
37682
- } = Ds({
37685
+ } = Ls({
37683
37686
  options: {
37684
37687
  onSuccess: () => {
37685
37688
  e.invalidateQueries({
@@ -37693,11 +37696,11 @@ const Y0 = () => {
37693
37696
  const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), i = d.get("bind_id");
37694
37697
  l && i && (b.current = !0, l === "line" ? t({ bindType: l, bindId: i }) : console.warn(`Unsupported bind type: ${l}`));
37695
37698
  }, [t]), null;
37696
- }, eu = { BASE_URL: "/", DEV: !1, MODE: "lib", PROD: !0, SSR: !1, VITE_API_KEY: "6051|IptsseoopjPEtVIi5ITv34Q2ZdVOQelVZ97Vi38Ybcdee7ca", VITE_API_URL: "https://snd.5285.com.tw/api" }, au = typeof import.meta < "u" && eu && !1, tr = "TEST_REQ", X0 = ({
37699
+ }, tu = { BASE_URL: "/", DEV: !1, MODE: "lib", PROD: !0, SSR: !1, VITE_API_KEY: "6051|IptsseoopjPEtVIi5ITv34Q2ZdVOQelVZ97Vi38Ybcdee7ca", VITE_API_URL: "https://snd.5285.com.tw/api" }, iu = typeof import.meta < "u" && tu && !1, ir = "TEST_REQ", ap = ({
37697
37700
  simulate: e,
37698
37701
  memberUid: t,
37699
37702
  currentGamePlatform: a = null,
37700
- enabled: n = au,
37703
+ enabled: n = iu,
37701
37704
  backendMessages: s = null
37702
37705
  }) => {
37703
37706
  const [u, b] = je(!1), [d, l] = je(!1), [i, r] = je(""), [o, m] = je(""), [g, p] = je("toast"), { store: f } = re() || {}, y = ka(
@@ -37849,7 +37852,7 @@ const Y0 = () => {
37849
37852
  {
37850
37853
  type: ye.TRANSFER_IN_GAME,
37851
37854
  member_info_uid: U,
37852
- data: { request_id: tr, status: "pending" }
37855
+ data: { request_id: ir, status: "pending" }
37853
37856
  },
37854
37857
  "#f9a825"
37855
37858
  ),
@@ -37859,7 +37862,7 @@ const Y0 = () => {
37859
37862
  type: ye.TRANSFER_IN_GAME,
37860
37863
  member_info_uid: U,
37861
37864
  data: {
37862
- request_id: tr,
37865
+ request_id: ir,
37863
37866
  status: "success",
37864
37867
  amount: 888,
37865
37868
  platform: "TEST"
@@ -38046,9 +38049,9 @@ const Y0 = () => {
38046
38049
  ]
38047
38050
  }
38048
38051
  );
38049
- }, ep = ({ onFunction: e = () => {
38052
+ }, tp = ({ onFunction: e = () => {
38050
38053
  }, buttonProps: t = {} } = {}) => {
38051
- const { lineConfig: a } = re(), n = me(!1), s = j(a, "liffId", ""), u = new URLSearchParams(window.location.search), b = u.get("line_login"), d = u.get("trans_code"), l = u.get("line_id"), i = u.get("line_name"), r = u.get("invite_code"), { mutate: o, isPending: m } = Sr({
38054
+ const { lineConfig: a } = re(), n = me(!1), s = j(a, "liffId", ""), u = new URLSearchParams(window.location.search), b = u.get("line_login"), d = u.get("trans_code"), l = u.get("line_id"), i = u.get("line_name"), r = u.get("invite_code"), { mutate: o, isPending: m } = Er({
38052
38055
  options: {
38053
38056
  onSuccess: (p) => {
38054
38057
  e(p);
@@ -38086,20 +38089,20 @@ const Y0 = () => {
38086
38089
  }
38087
38090
  ) : null;
38088
38091
  };
38089
- var tu = Object.defineProperty, ii = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable, ir = (e, t, a) => t in e ? tu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, xi = (e, t) => {
38092
+ var nu = Object.defineProperty, ii = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, nr = (e, t, a) => t in e ? nu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, xi = (e, t) => {
38090
38093
  for (var a in t || (t = {}))
38091
- Kr.call(t, a) && ir(e, a, t[a]);
38094
+ $r.call(t, a) && nr(e, a, t[a]);
38092
38095
  if (ii)
38093
38096
  for (var a of ii(t))
38094
- qr.call(t, a) && ir(e, a, t[a]);
38097
+ jr.call(t, a) && nr(e, a, t[a]);
38095
38098
  return e;
38096
38099
  }, Si = (e, t) => {
38097
38100
  var a = {};
38098
38101
  for (var n in e)
38099
- Kr.call(e, n) && t.indexOf(n) < 0 && (a[n] = e[n]);
38102
+ $r.call(e, n) && t.indexOf(n) < 0 && (a[n] = e[n]);
38100
38103
  if (e != null && ii)
38101
38104
  for (var n of ii(e))
38102
- t.indexOf(n) < 0 && qr.call(e, n) && (a[n] = e[n]);
38105
+ t.indexOf(n) < 0 && jr.call(e, n) && (a[n] = e[n]);
38103
38106
  return a;
38104
38107
  };
38105
38108
  var Ma;
@@ -38638,13 +38641,13 @@ var Ma;
38638
38641
  })(e.QrSegment || (e.QrSegment = {}));
38639
38642
  })(Ma || (Ma = {}));
38640
38643
  var Za = Ma;
38641
- var iu = {
38644
+ var ru = {
38642
38645
  L: Za.QrCode.Ecc.LOW,
38643
38646
  M: Za.QrCode.Ecc.MEDIUM,
38644
38647
  Q: Za.QrCode.Ecc.QUARTILE,
38645
38648
  H: Za.QrCode.Ecc.HIGH
38646
- }, $r = 128, jr = "L", Qr = "#FFFFFF", Yr = "#000000", Xr = !1, el = 1, nu = 4, ru = 0, lu = 0.1;
38647
- function al(e, t = 0) {
38649
+ }, Qr = 128, Yr = "L", Xr = "#FFFFFF", el = "#000000", al = !1, tl = 1, lu = 4, ou = 0, su = 0.1;
38650
+ function il(e, t = 0) {
38648
38651
  const a = [];
38649
38652
  return e.forEach(function(n, s) {
38650
38653
  let u = null;
@@ -38667,13 +38670,13 @@ function al(e, t = 0) {
38667
38670
  });
38668
38671
  }), a.join("");
38669
38672
  }
38670
- function tl(e, t) {
38673
+ function nl(e, t) {
38671
38674
  return e.slice().map((a, n) => n < t.y || n >= t.y + t.h ? a : a.map((s, u) => u < t.x || u >= t.x + t.w ? s : !1));
38672
38675
  }
38673
- function ou(e, t, a, n) {
38676
+ function mu(e, t, a, n) {
38674
38677
  if (n == null)
38675
38678
  return null;
38676
- const s = e.length + a * 2, u = Math.floor(t * lu), b = s / t, d = (n.width || u) * b, l = (n.height || u) * b, i = n.x == null ? e.length / 2 - d / 2 : n.x * b, r = n.y == null ? e.length / 2 - l / 2 : n.y * b, o = n.opacity == null ? 1 : n.opacity;
38679
+ const s = e.length + a * 2, u = Math.floor(t * su), b = s / t, d = (n.width || u) * b, l = (n.height || u) * b, i = n.x == null ? e.length / 2 - d / 2 : n.x * b, r = n.y == null ? e.length / 2 - l / 2 : n.y * b, o = n.opacity == null ? 1 : n.opacity;
38677
38680
  let m = null;
38678
38681
  if (n.excavate) {
38679
38682
  let p = Math.floor(i), f = Math.floor(r), y = Math.ceil(d + i - p), _ = Math.ceil(l + r - f);
@@ -38682,10 +38685,10 @@ function ou(e, t, a, n) {
38682
38685
  const g = n.crossOrigin;
38683
38686
  return { x: i, y: r, h: l, w: d, excavation: m, opacity: o, crossOrigin: g };
38684
38687
  }
38685
- function su(e, t) {
38686
- return t != null ? Math.max(Math.floor(t), 0) : e ? nu : ru;
38688
+ function uu(e, t) {
38689
+ return t != null ? Math.max(Math.floor(t), 0) : e ? lu : ou;
38687
38690
  }
38688
- function il({
38691
+ function rl({
38689
38692
  value: e,
38690
38693
  level: t,
38691
38694
  minVersion: a,
@@ -38699,7 +38702,7 @@ function il({
38699
38702
  const p = (Array.isArray(e) ? e : [e]).reduce((f, y) => (f.push(...Za.QrSegment.makeSegments(y)), f), []);
38700
38703
  return Za.QrCode.encodeSegments(
38701
38704
  p,
38702
- iu[t],
38705
+ ru[t],
38703
38706
  a,
38704
38707
  void 0,
38705
38708
  void 0,
@@ -38708,7 +38711,7 @@ function il({
38708
38711
  }, [e, t, a, d]);
38709
38712
  const { cells: i, margin: r, numCells: o, calculatedImageSettings: m } = ve.useMemo(() => {
38710
38713
  let g = l.getModules();
38711
- const p = su(n, s), f = g.length + p * 2, y = ou(
38714
+ const p = uu(n, s), f = g.length + p * 2, y = mu(
38712
38715
  g,
38713
38716
  b,
38714
38717
  p,
@@ -38729,23 +38732,23 @@ function il({
38729
38732
  calculatedImageSettings: m
38730
38733
  };
38731
38734
  }
38732
- var mu = (function() {
38735
+ var pu = (function() {
38733
38736
  try {
38734
38737
  new Path2D().addPath(new Path2D());
38735
38738
  } catch {
38736
38739
  return !1;
38737
38740
  }
38738
38741
  return !0;
38739
- })(), uu = ve.forwardRef(
38742
+ })(), gu = ve.forwardRef(
38740
38743
  function(t, a) {
38741
38744
  const n = t, {
38742
38745
  value: s,
38743
- size: u = $r,
38744
- level: b = jr,
38745
- bgColor: d = Qr,
38746
- fgColor: l = Yr,
38747
- includeMargin: i = Xr,
38748
- minVersion: r = el,
38746
+ size: u = Qr,
38747
+ level: b = Yr,
38748
+ bgColor: d = Xr,
38749
+ fgColor: l = el,
38750
+ includeMargin: i = al,
38751
+ minVersion: r = tl,
38749
38752
  boostLevel: o,
38750
38753
  marginSize: m,
38751
38754
  imageSettings: g
@@ -38765,7 +38768,7 @@ var mu = (function() {
38765
38768
  U.current = R, typeof a == "function" ? a(R) : a && (a.current = R);
38766
38769
  },
38767
38770
  [a]
38768
- ), [T, h] = ve.useState(!1), { margin: D, cells: H, numCells: k, calculatedImageSettings: S } = il({
38771
+ ), [T, h] = ve.useState(!1), { margin: D, cells: H, numCells: k, calculatedImageSettings: S } = rl({
38769
38772
  value: s,
38770
38773
  level: b,
38771
38774
  minVersion: r,
@@ -38782,14 +38785,14 @@ var mu = (function() {
38782
38785
  return;
38783
38786
  let G = H;
38784
38787
  const I = C.current, W = S != null && I !== null && I.complete && I.naturalHeight !== 0 && I.naturalWidth !== 0;
38785
- W && S.excavation != null && (G = tl(
38788
+ W && S.excavation != null && (G = nl(
38786
38789
  H,
38787
38790
  S.excavation
38788
38791
  ));
38789
38792
  const z = window.devicePixelRatio || 1;
38790
38793
  R.height = R.width = u * z;
38791
38794
  const B = u / k * z;
38792
- L.scale(B, B), L.fillStyle = d, L.fillRect(0, 0, k, k), L.fillStyle = l, mu ? L.fill(new Path2D(al(G, D))) : H.forEach(function(N, E) {
38795
+ L.scale(B, B), L.fillStyle = d, L.fillRect(0, 0, k, k), L.fillStyle = l, pu ? L.fill(new Path2D(il(G, D))) : H.forEach(function(N, E) {
38793
38796
  N.forEach(function(w, P) {
38794
38797
  w && L.fillRect(P + D, E + D, 1, 1);
38795
38798
  });
@@ -38830,17 +38833,17 @@ var mu = (function() {
38830
38833
  ), A);
38831
38834
  }
38832
38835
  );
38833
- uu.displayName = "QRCodeCanvas";
38834
- var nl = ve.forwardRef(
38836
+ gu.displayName = "QRCodeCanvas";
38837
+ var ll = ve.forwardRef(
38835
38838
  function(t, a) {
38836
38839
  const n = t, {
38837
38840
  value: s,
38838
- size: u = $r,
38839
- level: b = jr,
38840
- bgColor: d = Qr,
38841
- fgColor: l = Yr,
38842
- includeMargin: i = Xr,
38843
- minVersion: r = el,
38841
+ size: u = Qr,
38842
+ level: b = Yr,
38843
+ bgColor: d = Xr,
38844
+ fgColor: l = el,
38845
+ includeMargin: i = al,
38846
+ minVersion: r = tl,
38844
38847
  boostLevel: o,
38845
38848
  title: m,
38846
38849
  marginSize: g,
@@ -38857,7 +38860,7 @@ var nl = ve.forwardRef(
38857
38860
  "title",
38858
38861
  "marginSize",
38859
38862
  "imageSettings"
38860
- ]), { margin: y, cells: _, numCells: c, calculatedImageSettings: U } = il({
38863
+ ]), { margin: y, cells: _, numCells: c, calculatedImageSettings: U } = rl({
38861
38864
  value: s,
38862
38865
  level: b,
38863
38866
  minVersion: r,
@@ -38868,7 +38871,7 @@ var nl = ve.forwardRef(
38868
38871
  size: u
38869
38872
  });
38870
38873
  let C = _, v = null;
38871
- p != null && U != null && (U.excavation != null && (C = tl(
38874
+ p != null && U != null && (U.excavation != null && (C = nl(
38872
38875
  _,
38873
38876
  U.excavation
38874
38877
  )), v = /* @__PURE__ */ ve.createElement(
@@ -38884,7 +38887,7 @@ var nl = ve.forwardRef(
38884
38887
  crossOrigin: U.crossOrigin
38885
38888
  }
38886
38889
  ));
38887
- const T = al(C, y);
38890
+ const T = il(C, y);
38888
38891
  return /* @__PURE__ */ ve.createElement(
38889
38892
  "svg",
38890
38893
  xi({
@@ -38908,8 +38911,8 @@ var nl = ve.forwardRef(
38908
38911
  );
38909
38912
  }
38910
38913
  );
38911
- nl.displayName = "QRCodeSVG";
38912
- const pu = {
38914
+ ll.displayName = "QRCodeSVG";
38915
+ const du = {
38913
38916
  position: "fixed",
38914
38917
  top: 0,
38915
38918
  left: 0,
@@ -38922,7 +38925,7 @@ const pu = {
38922
38925
  justifyContent: "center",
38923
38926
  zIndex: 1e4,
38924
38927
  gap: "2em"
38925
- }, gu = {
38928
+ }, cu = {
38926
38929
  position: "absolute",
38927
38930
  top: "20px",
38928
38931
  right: "20px",
@@ -38932,7 +38935,7 @@ const pu = {
38932
38935
  padding: "10px",
38933
38936
  lineHeight: "1",
38934
38937
  zIndex: 10001
38935
- }, nr = {
38938
+ }, rr = {
38936
38939
  zh_TW: {
38937
38940
  title: "請使用 LINE 掃描 QR Code 登入",
38938
38941
  expired: "QR Code 已過期"
@@ -38953,8 +38956,8 @@ const pu = {
38953
38956
  title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
38954
38957
  expired: "Kode QR telah kedaluwarsa"
38955
38958
  }
38956
- }, ip = ({ forcedShow: e = !1, isVisible: t, setIsVisible: a } = {}) => {
38957
- const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] = je(300), [l, i] = je(!1), r = me(null), o = j(u, "liffId", ""), m = Je(n), g = s?.(), f = new URLSearchParams(window.location.search).get("mac") || Ci.get("machine_mac_address") || "", { data: y, isFetching: _ } = Es({
38959
+ }, rp = ({ forcedShow: e = !1, isVisible: t, setIsVisible: a } = {}) => {
38960
+ const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] = je(300), [l, i] = je(!1), r = me(null), o = j(u, "liffId", ""), m = Je(n), g = s?.(), f = new URLSearchParams(window.location.search).get("mac") || Ci.get("machine_mac_address") || "", { data: y, isFetching: _ } = Ns({
38958
38961
  formData: {
38959
38962
  mac_address: f
38960
38963
  },
@@ -38974,12 +38977,12 @@ const pu = {
38974
38977
  return `${T}:${h < 10 ? "0" : ""}${h}`;
38975
38978
  };
38976
38979
  if (!e && (!f || g)) return null;
38977
- const C = nr[m] || nr.en_US;
38978
- return t && /* @__PURE__ */ ie.jsxs("div", { style: pu, children: [
38980
+ const C = rr[m] || rr.en_US;
38981
+ return t && /* @__PURE__ */ ie.jsxs("div", { style: du, children: [
38979
38982
  /* @__PURE__ */ ie.jsx(
38980
38983
  "div",
38981
38984
  {
38982
- style: gu,
38985
+ style: cu,
38983
38986
  onClick: () => a(!1),
38984
38987
  role: "button",
38985
38988
  "aria-label": "Close",
@@ -39002,7 +39005,7 @@ const pu = {
39002
39005
  boxSizing: "border-box",
39003
39006
  color: "black"
39004
39007
  },
39005
- children: _ ? "Loading..." : /* @__PURE__ */ ie.jsx(nl, { width: "100%", height: "100%", value: c })
39008
+ children: _ ? "Loading..." : /* @__PURE__ */ ie.jsx(ll, { width: "100%", height: "100%", value: c })
39006
39009
  }
39007
39010
  ),
39008
39011
  !_ && /* @__PURE__ */ ie.jsx(
@@ -39018,14 +39021,14 @@ const pu = {
39018
39021
  )
39019
39022
  ] })
39020
39023
  ] });
39021
- }, rr = {
39024
+ }, lr = {
39022
39025
  siteName: /\{siteName\}/g,
39023
39026
  siteUrl: /\{siteUrl\}/g
39024
39027
  }, bi = (e, t = {}) => {
39025
39028
  if (typeof e != "string") return e;
39026
39029
  const { siteName: a = "", siteUrl: n = "" } = typeof t == "string" ? { siteName: t } : t;
39027
- return e.replace(rr.siteName, a).replace(rr.siteUrl, n);
39028
- }, lr = {
39030
+ return e.replace(lr.siteName, a).replace(lr.siteUrl, n);
39031
+ }, or = {
39029
39032
  zh_TW: {
39030
39033
  tabs: { privacy: "隱私條款", terms: "服務條款" },
39031
39034
  close: "關閉",
@@ -39475,7 +39478,7 @@ const pu = {
39475
39478
  ]
39476
39479
  }
39477
39480
  }
39478
- }, du = (e) => lr[e] || lr.zh_TW, or = ["privacy", "terms"], $e = {
39481
+ }, fu = (e) => or[e] || or.zh_TW, sr = ["privacy", "terms"], $e = {
39479
39482
  overlay: "rgba(0, 0, 0, 0.72)",
39480
39483
  cardBg: "#1b1b22",
39481
39484
  border: "#2c2c36",
@@ -39486,7 +39489,7 @@ const pu = {
39486
39489
  accent: "#8b9cff",
39487
39490
  tabActive: "#ffffff",
39488
39491
  tabInactive: "#8a8a94"
39489
- }, np = ({
39492
+ }, lp = ({
39490
39493
  open: e = !1,
39491
39494
  onOpenChange: t,
39492
39495
  siteName: a = "",
@@ -39497,7 +39500,7 @@ const pu = {
39497
39500
  overlayStyle: d = {},
39498
39501
  contentStyle: l = {}
39499
39502
  }) => {
39500
- const i = re(), r = u ?? i?.lng, o = Je(r), m = du(o), g = { siteName: a, siteUrl: n }, p = or.includes(s) ? s : "privacy", [f, y] = je(p), [_, c] = je(e);
39503
+ const i = re(), r = u ?? i?.lng, o = Je(r), m = fu(o), g = { siteName: a, siteUrl: n }, p = sr.includes(s) ? s : "privacy", [f, y] = je(p), [_, c] = je(e);
39501
39504
  if (e !== _ && (c(e), e && y(p)), fe(() => {
39502
39505
  if (!e) return;
39503
39506
  const v = (h) => {
@@ -39559,7 +39562,7 @@ const pu = {
39559
39562
  flexShrink: 0
39560
39563
  },
39561
39564
  children: [
39562
- or.map((v) => {
39565
+ sr.map((v) => {
39563
39566
  const T = f === v ? {
39564
39567
  color: $e.tabActive,
39565
39568
  fontWeight: 700,
@@ -39648,183 +39651,183 @@ const pu = {
39648
39651
  )
39649
39652
  }
39650
39653
  );
39651
- }, rp = (e = !1) => {
39654
+ }, op = (e = !1) => {
39652
39655
  const [t, a] = je(e), n = M(() => a(!0), []), s = M(() => a(!1), []), u = M(() => a((d) => !d), []), b = M((d) => a(!!d), []);
39653
39656
  return { open: t, setOpen: a, onOpen: n, onClose: s, onToggle: u, onOpenChange: b };
39654
39657
  };
39655
39658
  export {
39656
- pr as ApiCtx,
39657
- Q0 as ApiProvider,
39658
- Y0 as Bind,
39659
- yr as GamesInfoCtx,
39660
- ep as LineLogin,
39661
- ip as LineQrCode,
39659
+ gr as ApiCtx,
39660
+ X0 as ApiProvider,
39661
+ ep as Bind,
39662
+ br as GamesInfoCtx,
39663
+ tp as LineLogin,
39664
+ rp as LineQrCode,
39662
39665
  Ai as MONTH_CARD_QUERY_KEY,
39663
39666
  ye as SOCKET_TYPE,
39664
39667
  it as STATUS_TYPES,
39665
- gr as StatusContext,
39666
- vl as StatusProvider,
39667
- np as TermsDialog,
39668
- X0 as WebSocketDevPanel,
39669
- Dl as buildGameImageSources,
39670
- Zm as buildMultiTypes,
39671
- $0 as buildMultiTypesWithSubTypes,
39672
- Ml as buildSinglePlatformWithSubTypes,
39673
- Gl as buildSingleType,
39674
- Jm as categorizeGames,
39668
+ dr as StatusContext,
39669
+ Tl as StatusProvider,
39670
+ lp as TermsDialog,
39671
+ ap as WebSocketDevPanel,
39672
+ Ll as buildGameImageSources,
39673
+ qm as buildMultiTypes,
39674
+ Q0 as buildMultiTypesWithSubTypes,
39675
+ Pl as buildSinglePlatformWithSubTypes,
39676
+ Rl as buildSingleType,
39677
+ Km as categorizeGames,
39675
39678
  Je as convertLanguageCode,
39676
- Nl as convertLanguageGameCode,
39679
+ Gl as convertLanguageGameCode,
39677
39680
  nt as correctViewportDrift,
39678
- vu as createLogoutHandler,
39679
- zm as extractGameSubTypeNames,
39680
- Im as extractGameTypeNames,
39681
- ar as extractPlatformNames,
39682
- vr as filterGamesByPlatform,
39683
- br as findGameTypeUid,
39684
- Ur as findPlatformUid,
39685
- Cr as findSubPlatform,
39686
- Wm as flattenAllGames,
39687
- Vm as flattenFavoriteGames,
39688
- hu as formatNumber,
39689
- du as getTermsContent,
39690
- Cu as getViewportFixReport,
39691
- Km as groupGamesByPlatform,
39692
- qm as groupGamesByPlatformAndSubType,
39693
- Ll as groupGamesBySubType,
39694
- Hm as handleDarkImage,
39695
- Ym as initMockWindowData,
39696
- Sl as installStandaloneViewportFix,
39681
+ Tu as createLogoutHandler,
39682
+ Jm as extractGameSubTypeNames,
39683
+ Vm as extractGameTypeNames,
39684
+ tr as extractPlatformNames,
39685
+ hr as filterGamesByPlatform,
39686
+ Ur as findGameTypeUid,
39687
+ Cr as findPlatformUid,
39688
+ vr as findSubPlatform,
39689
+ zm as flattenAllGames,
39690
+ Zm as flattenFavoriteGames,
39691
+ ku as formatNumber,
39692
+ fu as getTermsContent,
39693
+ hu as getViewportFixReport,
39694
+ $m as groupGamesByPlatform,
39695
+ jm as groupGamesByPlatformAndSubType,
39696
+ Ml as groupGamesBySubType,
39697
+ Im as handleDarkImage,
39698
+ eu as initMockWindowData,
39699
+ Dl as installStandaloneViewportFix,
39697
39700
  bi as interpolate,
39698
- kl as isStandaloneDisplay,
39699
- $m as processGameInfo,
39700
- j0 as processPlatformData,
39701
- Ls as resolveGameMaintainDisplay,
39702
- l0 as useAbandonEventWallet,
39703
- Lu as useAbandonPoint,
39701
+ Sl as isStandaloneDisplay,
39702
+ Qm as processGameInfo,
39703
+ Y0 as processPlatformData,
39704
+ Ms as resolveGameMaintainDisplay,
39705
+ s0 as useAbandonEventWallet,
39706
+ Mu as useAbandonPoint,
39704
39707
  re as useApiContext,
39705
- Ku as useAvatarList,
39706
- Tu as useBalanceGetter,
39707
- Su as useBet,
39708
- Zu as useBetRankingData,
39709
- jo as useBetRecord,
39710
- Qo as useBetRecordDetail,
39711
- Ds as useBindAccount,
39712
- Ps as useCheckCurrentEventProgress,
39713
- ws as useCheckEventStatus,
39714
- Ru as useCheckMemberTransfer,
39715
- Bu as useCheckMobile,
39716
- Nu as useCheckPlayerWager,
39717
- ju as useClientWebSocket,
39718
- Qu as useCommission,
39719
- Ms as useCommissionInfo,
39720
- gm as useCompanyPaymentDepositAction,
39721
- zu as useCreateMachine,
39722
- H0 as useCreateStoreOrder,
39723
- xm as useCurrentRebate,
39724
- om as useDepositAction,
39725
- mm as useDepositTransaction,
39726
- rm as useDepositV1,
39727
- lm as useDepositV2,
39728
- b0 as useDepositWalletLog,
39729
- rp as useDisclosure,
39730
- i0 as useEnabledEventWallet,
39731
- n0 as useEvaluateEventWallet,
39732
- a0 as useEvent,
39733
- Rs as useEventList,
39734
- um as useEventTransaction,
39735
- C0 as useEventWalletLog,
39736
- Lm as useExpiredRewardsList,
39737
- Ou as useForgotPassword,
39738
- K0 as useGameConfig,
39739
- Uu as useGameInfoContext,
39740
- Qm as useGamesInfo,
39741
- o0 as useGetAnnouncement,
39742
- s0 as useGetCarouseList,
39743
- t0 as useGetEventWalletList,
39744
- Es as useGetMachineLoginCode,
39745
- m0 as useGetMarquee,
39746
- ku as useGetMemberInfo,
39747
- u0 as useGetRankingGame,
39748
- Gm as useHistoryRewardsList,
39749
- p0 as useIdleTimeout,
39750
- g0 as useInbox,
39751
- tm as useInboxList,
39752
- xu as useInitializeWithToken,
39753
- _0 as useInvoiceAction,
39754
- Ju as useJackpotData,
39755
- Sr as useLineLogin,
39756
- Ss as useLineLogin2,
39757
- ds as useLogin,
39758
- cs as useLogout,
39759
- Gu as useMachineLogin,
39760
- e0 as useMemberEventSettle,
39761
- Cs as useMemberInitSet,
39762
- Mu as useMemberTransfer,
39763
- Au as useMobileByPassword,
39764
- Pu as useMobileLogin,
39765
- wu as useMobileLoginV2,
39766
- Fu as useMobileRegister,
39767
- Eu as useMonthCard,
39768
- ps as useMonthCardInfo,
39769
- c0 as useNewsDetail,
39770
- d0 as useNewsList,
39771
- k0 as useOtherTransaction,
39772
- x0 as usePayment,
39773
- q0 as usePlatformConfig,
39774
- S0 as usePlayGame,
39775
- Du as usePointTransfer,
39776
- im as useReadInbox,
39777
- E0 as useRebate,
39778
- v0 as useRebateWalletLog,
39779
- Sm as useReceiveRebate,
39780
- f0 as useRedeemCodeDeposit,
39781
- Yu as useRedeemEventReward,
39782
- Dm as useRedeemReward,
39783
- L0 as useRedeemRoulettes,
39784
- z0 as useRedeemTreasure,
39785
- Us as useResetUserPassword,
39786
- hs as useResetUserTransactionPassword,
39787
- D0 as useRewards,
39788
- Em as useRewardsList,
39789
- G0 as useRoulettesDrawLog,
39790
- N0 as useRoulettesList,
39791
- Hu as useSendMobileVerifyCode,
39792
- vs as useSetUserTransactionPassword,
39793
- Xu as useSettleEvent,
39794
- r0 as useSettleEventWallet,
39795
- fs as useSignUp,
39796
- T0 as useSnCashRecord,
39797
- dr as useStatus,
39798
- F0 as useStoreCoinBalance,
39799
- A0 as useStoreCoinLog,
39800
- M0 as useStoreConfig,
39801
- B0 as useStoreOrderDetail,
39802
- O0 as useStoreOrderList,
39803
- w0 as useStoreProductDetail,
39804
- P0 as useStoreProductList,
39805
- R0 as useStoreProductType,
39806
- _s as useToggleFavoriteGame,
39807
- xs as useTransferInGame,
39808
- I0 as useTreasureList,
39809
- h0 as useTreasureWalletLog,
39810
- Nm as useUnUsedRewardsList,
39811
- qu as useUpdateAvatar,
39812
- y0 as useUpdateInvoiceAction,
39813
- bs as useUpdateMemberInfo,
39814
- W0 as useUpdateStoreOrder,
39815
- ys as useUpdateUserInfo,
39816
- $u as useUser,
39817
- ks as useUserBindCard,
39818
- Ts as useUserRebate,
39819
- Iu as useVerifyDonationCode,
39820
- Wu as useVerifyPhoneBar,
39821
- Vu as useVerifyResetAction,
39822
- J0 as useVip,
39823
- V0 as useVipInfo,
39824
- Bm as useVipList,
39825
- Z0 as useWebView2,
39826
- sm as useWithdrawAction,
39827
- gs as useWithdrawMonthCard,
39828
- dm as useWithdrawTransaction,
39829
- U0 as useWithdrawWalletLog
39708
+ $u as useAvatarList,
39709
+ xu as useBalanceGetter,
39710
+ Du as useBet,
39711
+ qu as useBetRankingData,
39712
+ Yo as useBetRecord,
39713
+ Xo as useBetRecordDetail,
39714
+ Ls as useBindAccount,
39715
+ Fs as useCheckCurrentEventProgress,
39716
+ As as useCheckEventStatus,
39717
+ wu as useCheckMemberTransfer,
39718
+ Wu as useCheckMobile,
39719
+ Gu as useCheckPlayerWager,
39720
+ Yu as useClientWebSocket,
39721
+ Xu as useCommission,
39722
+ Ps as useCommissionInfo,
39723
+ cm as useCompanyPaymentDepositAction,
39724
+ Ju as useCreateMachine,
39725
+ I0 as useCreateStoreOrder,
39726
+ Em as useCurrentRebate,
39727
+ mm as useDepositAction,
39728
+ pm as useDepositTransaction,
39729
+ om as useDepositV1,
39730
+ sm as useDepositV2,
39731
+ C0 as useDepositWalletLog,
39732
+ op as useDisclosure,
39733
+ r0 as useEnabledEventWallet,
39734
+ l0 as useEvaluateEventWallet,
39735
+ i0 as useEvent,
39736
+ ws as useEventList,
39737
+ gm as useEventTransaction,
39738
+ h0 as useEventWalletLog,
39739
+ Mm as useExpiredRewardsList,
39740
+ Hu as useForgotPassword,
39741
+ $0 as useGameConfig,
39742
+ vu as useGameInfoContext,
39743
+ Xm as useGamesInfo,
39744
+ m0 as useGetAnnouncement,
39745
+ u0 as useGetCarouseList,
39746
+ n0 as useGetEventWalletList,
39747
+ Ns as useGetMachineLoginCode,
39748
+ p0 as useGetMarquee,
39749
+ Su as useGetMemberInfo,
39750
+ g0 as useGetRankingGame,
39751
+ Rm as useHistoryRewardsList,
39752
+ d0 as useIdleTimeout,
39753
+ c0 as useInbox,
39754
+ nm as useInboxList,
39755
+ Eu as useInitializeWithToken,
39756
+ b0 as useInvoiceAction,
39757
+ Ku as useJackpotData,
39758
+ Er as useLineLogin,
39759
+ Ds as useLineLogin2,
39760
+ fs as useLogin,
39761
+ _s as useLogout,
39762
+ Ru as useMachineLogin,
39763
+ t0 as useMemberEventSettle,
39764
+ hs as useMemberInitSet,
39765
+ Pu as useMemberTransfer,
39766
+ Bu as useMobileByPassword,
39767
+ Fu as useMobileLogin,
39768
+ Au as useMobileLoginV2,
39769
+ Ou as useMobileRegister,
39770
+ Nu as useMonthCard,
39771
+ ds as useMonthCardInfo,
39772
+ _0 as useNewsDetail,
39773
+ f0 as useNewsList,
39774
+ S0 as useOtherTransaction,
39775
+ E0 as usePayment,
39776
+ j0 as usePlatformConfig,
39777
+ D0 as usePlayGame,
39778
+ Lu as usePointTransfer,
39779
+ rm as useReadInbox,
39780
+ N0 as useRebate,
39781
+ T0 as useRebateWalletLog,
39782
+ Dm as useReceiveRebate,
39783
+ y0 as useRedeemCodeDeposit,
39784
+ e0 as useRedeemEventReward,
39785
+ Lm as useRedeemReward,
39786
+ M0 as useRedeemRoulettes,
39787
+ J0 as useRedeemTreasure,
39788
+ vs as useResetUserPassword,
39789
+ ks as useResetUserTransactionPassword,
39790
+ L0 as useRewards,
39791
+ Nm as useRewardsList,
39792
+ R0 as useRoulettesDrawLog,
39793
+ G0 as useRoulettesList,
39794
+ Iu as useSendMobileVerifyCode,
39795
+ Ts as useSetUserTransactionPassword,
39796
+ a0 as useSettleEvent,
39797
+ o0 as useSettleEventWallet,
39798
+ ys as useSignUp,
39799
+ x0 as useSnCashRecord,
39800
+ cr as useStatus,
39801
+ O0 as useStoreCoinBalance,
39802
+ B0 as useStoreCoinLog,
39803
+ P0 as useStoreConfig,
39804
+ W0 as useStoreOrderDetail,
39805
+ H0 as useStoreOrderList,
39806
+ A0 as useStoreProductDetail,
39807
+ F0 as useStoreProductList,
39808
+ w0 as useStoreProductType,
39809
+ bs as useToggleFavoriteGame,
39810
+ Es as useTransferInGame,
39811
+ V0 as useTreasureList,
39812
+ k0 as useTreasureWalletLog,
39813
+ Gm as useUnUsedRewardsList,
39814
+ ju as useUpdateAvatar,
39815
+ U0 as useUpdateInvoiceAction,
39816
+ Cs as useUpdateMemberInfo,
39817
+ z0 as useUpdateStoreOrder,
39818
+ Us as useUpdateUserInfo,
39819
+ Qu as useUser,
39820
+ Ss as useUserBindCard,
39821
+ xs as useUserRebate,
39822
+ Vu as useVerifyDonationCode,
39823
+ zu as useVerifyPhoneBar,
39824
+ Zu as useVerifyResetAction,
39825
+ K0 as useVip,
39826
+ Z0 as useVipInfo,
39827
+ Wm as useVipList,
39828
+ q0 as useWebView2,
39829
+ um as useWithdrawAction,
39830
+ cs as useWithdrawMonthCard,
39831
+ fm as useWithdrawTransaction,
39832
+ v0 as useWithdrawWalletLog
39830
39833
  };