@obb871001/api-integration-sdk 1.0.359 → 1.0.360

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 de, { createContext as Qt, useContext as _i, useState as mi, useMemo as Oa, useCallback as z, useRef as te, useEffect as pe } from "react";
2
2
  import { useQueries as zn, useQuery as j, useQueryClient as Wa, useMutation as ee, QueryClient as Bl, QueryClientProvider as Hl } from "@tanstack/react-query";
3
3
  import Wl from "axios";
4
- import { get as Y, find as Ie, isEmpty as Ee, entries as In, forEach as zl, map as He, isArray as la, toLower as Ei, omit as Il, replace as it, includes as Vl, isObject as jt, flatMap as Yt, values as Jl, keys as Ni } from "lodash";
5
- import Zl from "react-dom";
4
+ import { get as Y, find as Ie, isEmpty as Ee, entries as In, forEach as zl, map as Ge, isArray as la, toLower as Ei, omit as Il, keyBy as Vl, replace as it, includes as Jl, isObject as jt, flatMap as Yt, values as Zl, keys as Ni } from "lodash";
5
+ import Kl from "react-dom";
6
6
  var ti = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function yi(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
- function Kl(e) {
10
+ function ql(e) {
11
11
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
12
12
  var n = e.default;
13
13
  if (typeof n == "function") {
@@ -33,7 +33,7 @@ function Kl(e) {
33
33
  }
34
34
  var nt = { exports: {} }, Ka = {};
35
35
  var Li;
36
- function ql() {
36
+ function $l() {
37
37
  if (Li) return Ka;
38
38
  Li = 1;
39
39
  var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
@@ -48,7 +48,7 @@ function ql() {
48
48
  }
49
49
  var qa = {};
50
50
  var Gi;
51
- function $l() {
51
+ function Ql() {
52
52
  return Gi || (Gi = 1, process.env.NODE_ENV !== "production" && (function() {
53
53
  var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), U = Symbol.for("react.provider"), d = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), s = Symbol.iterator, c = "@@iterator";
54
54
  function f(T) {
@@ -269,14 +269,14 @@ function $l() {
269
269
  } catch (ze) {
270
270
  if (ze && $ && typeof ze.stack == "string") {
271
271
  for (var ae = ze.stack.split(`
272
- `), Oe = $.stack.split(`
273
- `), be = ae.length - 1, he = Oe.length - 1; be >= 1 && he >= 0 && ae[be] !== Oe[he]; )
272
+ `), Be = $.stack.split(`
273
+ `), be = ae.length - 1, he = Be.length - 1; be >= 1 && he >= 0 && ae[be] !== Be[he]; )
274
274
  he--;
275
275
  for (; be >= 1 && he >= 0; be--, he--)
276
- if (ae[be] !== Oe[he]) {
276
+ if (ae[be] !== Be[he]) {
277
277
  if (be !== 1 || he !== 1)
278
278
  do
279
- if (be--, he--, he < 0 || ae[be] !== Oe[he]) {
279
+ if (be--, he--, he < 0 || ae[be] !== Be[he]) {
280
280
  var $e = `
281
281
  ` + ae[be].replace(" at new ", " at ");
282
282
  return T.displayName && $e.includes("<anonymous>") && ($e = $e.replace("<anonymous>", T.displayName)), typeof T == "function" && le.set(T, $e), $e;
@@ -328,7 +328,7 @@ function $l() {
328
328
  return "";
329
329
  }
330
330
  var fe = Object.prototype.hasOwnProperty, Ve = {}, Ce = y.ReactDebugCurrentFrame;
331
- function Ge(T) {
331
+ function Me(T) {
332
332
  if (T) {
333
333
  var I = T._owner, J = ke(T.type, T._source, I ? I.type : null);
334
334
  Ce.setExtraStackFrame(J);
@@ -343,20 +343,20 @@ function $l() {
343
343
  var ae = void 0;
344
344
  try {
345
345
  if (typeof T[re] != "function") {
346
- var Oe = Error(($ || "React class") + ": " + J + " type `" + re + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof T[re] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
- throw Oe.name = "Invariant Violation", Oe;
346
+ var Be = Error(($ || "React class") + ": " + J + " type `" + re + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof T[re] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
+ throw Be.name = "Invariant Violation", Be;
348
348
  }
349
349
  ae = T[re](I, re, $, J, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
350
  } catch (be) {
351
351
  ae = be;
352
352
  }
353
- ae && !(ae instanceof Error) && (Ge(ue), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", J, re, typeof ae), Ge(null)), ae instanceof Error && !(ae.message in Ve) && (Ve[ae.message] = !0, Ge(ue), _("Failed %s type: %s", J, ae.message), Ge(null));
353
+ ae && !(ae instanceof Error) && (Me(ue), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", J, re, typeof ae), Me(null)), ae instanceof Error && !(ae.message in Ve) && (Ve[ae.message] = !0, Me(ue), _("Failed %s type: %s", J, ae.message), Me(null));
354
354
  }
355
355
  }
356
356
  }
357
- var Me = Array.isArray;
357
+ var Re = Array.isArray;
358
358
  function ve(T) {
359
- return Me(T);
359
+ return Re(T);
360
360
  }
361
361
  function We(T) {
362
362
  {
@@ -378,7 +378,7 @@ function $l() {
378
378
  if (aa(T))
379
379
  return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", We(T)), ta(T);
380
380
  }
381
- var Re = y.ReactCurrentOwner, je = {
381
+ var Pe = y.ReactCurrentOwner, je = {
382
382
  key: !0,
383
383
  ref: !0,
384
384
  __self: !0,
@@ -401,7 +401,7 @@ function $l() {
401
401
  return T.key !== void 0;
402
402
  }
403
403
  function Va(T, I) {
404
- typeof T.ref == "string" && Re.current;
404
+ typeof T.ref == "string" && Pe.current;
405
405
  }
406
406
  function Da(T, I) {
407
407
  {
@@ -456,8 +456,8 @@ function $l() {
456
456
  };
457
457
  function Za(T, I, J, $, ue) {
458
458
  {
459
- var ge, re = {}, ae = null, Oe = null;
460
- J !== void 0 && (xe(J), ae = "" + J), Ye(I) && (xe(I.key), ae = "" + I.key), Je(I) && (Oe = I.ref, Va(I, ue));
459
+ var ge, re = {}, ae = null, Be = null;
460
+ J !== void 0 && (xe(J), ae = "" + J), Ye(I) && (xe(I.key), ae = "" + I.key), Je(I) && (Be = I.ref, Va(I, ue));
461
461
  for (ge in I)
462
462
  fe.call(I, ge) && !je.hasOwnProperty(ge) && (re[ge] = I[ge]);
463
463
  if (T && T.defaultProps) {
@@ -465,11 +465,11 @@ function $l() {
465
465
  for (ge in be)
466
466
  re[ge] === void 0 && (re[ge] = be[ge]);
467
467
  }
468
- if (ae || Oe) {
468
+ if (ae || Be) {
469
469
  var he = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
470
- ae && Da(re, he), Oe && Ea(re, he);
470
+ ae && Da(re, he), Be && Ea(re, he);
471
471
  }
472
- return Ja(T, ae, Oe, ue, $, Re.current, re);
472
+ return Ja(T, ae, Be, ue, $, Pe.current, re);
473
473
  }
474
474
  }
475
475
  var da = y.ReactCurrentOwner, ya = y.ReactDebugCurrentFrame;
@@ -583,14 +583,14 @@ Check the top-level render call using <` + J + ">.");
583
583
  }
584
584
  }
585
585
  var ia = {};
586
- function Pe(T, I, J, $, ue, ge) {
586
+ function we(T, I, J, $, ue, ge) {
587
587
  {
588
588
  var re = k(T);
589
589
  if (!re) {
590
590
  var ae = "";
591
591
  (T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (ae += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
- var Oe = La();
593
- Oe ? ae += Oe : ae += Na();
592
+ var Be = La();
593
+ Be ? ae += Be : ae += Na();
594
594
  var be;
595
595
  T === null ? be = "null" : ve(T) ? be = "array" : T !== void 0 && T.$$typeof === n ? (be = "<" + (A(T.type) || "Unknown") + " />", ae = " Did you accidentally export a JSX literal instead of a component?") : be = typeof T, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, ae);
596
596
  }
@@ -628,20 +628,20 @@ React keys must be passed directly to JSX without using spread:
628
628
  }
629
629
  }
630
630
  function na(T, I, J) {
631
- return Pe(T, I, J, !0);
631
+ return we(T, I, J, !0);
632
632
  }
633
633
  function tt(T, I, J) {
634
- return Pe(T, I, J, !1);
634
+ return we(T, I, J, !1);
635
635
  }
636
636
  var ei = tt, Fl = na;
637
637
  qa.Fragment = l, qa.jsx = ei, qa.jsxs = Fl;
638
638
  })()), qa;
639
639
  }
640
640
  var Mi;
641
- function Ql() {
642
- return Mi || (Mi = 1, process.env.NODE_ENV === "production" ? nt.exports = ql() : nt.exports = $l()), nt.exports;
641
+ function jl() {
642
+ return Mi || (Mi = 1, process.env.NODE_ENV === "production" ? nt.exports = $l() : nt.exports = Ql()), nt.exports;
643
643
  }
644
- var Fe = Ql();
644
+ var Ae = jl();
645
645
  const Vn = Qt(null), se = () => {
646
646
  const e = _i(Vn);
647
647
  if (!e)
@@ -650,7 +650,7 @@ const Vn = Qt(null), se = () => {
650
650
  }, $a = {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
- }, Jn = Qt(null), jl = ({ children: e }) => {
653
+ }, Jn = Qt(null), Yl = ({ children: e }) => {
654
654
  const [n, t] = mi($a.READY), l = Oa(() => {
655
655
  const p = n === $a.READY, g = n === $a.PENDING;
656
656
  return {
@@ -662,7 +662,7 @@ const Vn = Qt(null), se = () => {
662
662
  setAsPending: () => t($a.PENDING)
663
663
  };
664
664
  }, [n]);
665
- return /* @__PURE__ */ Fe.jsx(Jn.Provider, { value: l, children: e });
665
+ return /* @__PURE__ */ Ae.jsx(Jn.Provider, { value: l, children: e });
666
666
  }, Zn = () => {
667
667
  const e = _i(Jn);
668
668
  if (!e)
@@ -695,7 +695,7 @@ const Vn = Qt(null), se = () => {
695
695
  vi_VN: "Lời nhắc hệ thống",
696
696
  th_TH: "ข้อความระบบ",
697
697
  ja_JP: "システムプロンプト"
698
- }, Yl = {
698
+ }, Xl = {
699
699
  zh_TW: "我們正在為您處理轉點中",
700
700
  zh_CN: "我们正在为您处理转点中",
701
701
  en_US: "We are processing your transfer",
@@ -753,14 +753,14 @@ function Ri({
753
753
  }
754
754
  ), a;
755
755
  }
756
- const Qn = Qt(null), hm = () => {
756
+ const Qn = Qt(null), Tm = () => {
757
757
  const e = _i(Qn);
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
- }, Tm = () => {
763
+ }, km = () => {
764
764
  const e = (l, p) => !l && !p, n = (l) => l.startsWith("pc.");
765
765
  return {
766
766
  executeLogout: ({
@@ -779,17 +779,17 @@ const Qn = Qt(null), hm = () => {
779
779
  shouldShowErrorNotice: e,
780
780
  isMachineDomain: n
781
781
  };
782
- }, km = (e) => {
782
+ }, xm = (e) => {
783
783
  let n = Number(e);
784
784
  return isNaN(n) ? e : new Intl.NumberFormat("en-US", {
785
785
  style: "decimal",
786
786
  minimumFractionDigits: 2,
787
787
  maximumFractionDigits: 2
788
788
  }).format(n);
789
- }, jn = (e = [], n) => Ie(e, { gameTypeName: n })?.gameTypeUid, Yn = (e = [], n) => Ie(e, { platform: n })?.platformUid, Xn = (e = [], n) => Ie(e, { SubPlatformEnum: n }), el = (e = [], n, t) => Ee(e) ? [] : e.filter((l) => t ? String(l?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(l.platformUid) === String(n)), Xl = (e = []) => Ee(e) ? {} : e.reduce((n, t) => {
789
+ }, jn = (e = [], n) => Ie(e, { gameTypeName: n })?.gameTypeUid, Yn = (e = [], n) => Ie(e, { platform: n })?.platformUid, Xn = (e = [], n) => Ie(e, { SubPlatformEnum: n }), el = (e = [], n, t) => Ee(e) ? [] : e.filter((l) => t ? String(l?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(l.platformUid) === String(n)), er = (e = []) => Ee(e) ? {} : e.reduce((n, t) => {
790
790
  const l = t?.game_subtype || "UNKNOWN";
791
791
  return n[l] || (n[l] = []), n[l].push(t), n;
792
- }, {}), er = ({
792
+ }, {}), ar = ({
793
793
  gameTypeName: e,
794
794
  platforms: n,
795
795
  gameList: t,
@@ -805,7 +805,7 @@ const Qn = Qt(null), hm = () => {
805
805
  );
806
806
  return Ee(o) || (U[d] = o), U;
807
807
  }, {}) : {};
808
- }, ar = ({
808
+ }, tr = ({
809
809
  platformName: e,
810
810
  gamesOfType: n = [],
811
811
  allPlatforms: t = []
@@ -815,14 +815,14 @@ const Qn = Qt(null), hm = () => {
815
815
  l,
816
816
  p
817
817
  );
818
- return Xl(g);
818
+ return er(g);
819
819
  };
820
- var ut = { exports: {} }, tr = ut.exports, Pi;
821
- function ir() {
820
+ var ut = { exports: {} }, ir = ut.exports, Pi;
821
+ function nr() {
822
822
  return Pi || (Pi = 1, (function(e, n) {
823
823
  (function(t, l) {
824
824
  e.exports = l();
825
- })(tr, (function() {
825
+ })(ir, (function() {
826
826
  var t = 1e3, l = 6e4, p = 36e5, g = "millisecond", U = "second", d = "minute", r = "hour", a = "day", i = "week", o = "month", m = "quarter", u = "year", s = "date", c = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
827
827
  var R = ["th", "st", "nd", "rd"], P = w % 100;
828
828
  return "[" + w + (R[(P - 20) % 10] || R[P] || R[0]) + "]";
@@ -1095,28 +1095,28 @@ function ir() {
1095
1095
  }));
1096
1096
  })(ut)), ut.exports;
1097
1097
  }
1098
- var nr = ir();
1099
- const we = /* @__PURE__ */ yi(nr);
1098
+ var lr = nr();
1099
+ const Fe = /* @__PURE__ */ yi(lr);
1100
1100
  var pt = { exports: {} };
1101
- function lr(e) {
1101
+ function rr(e) {
1102
1102
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1103
1103
  }
1104
1104
  var gt = { exports: {} };
1105
- const rr = {}, or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1105
+ const or = {}, sr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1106
1106
  __proto__: null,
1107
- default: rr
1108
- }, Symbol.toStringTag, { value: "Module" })), sr = /* @__PURE__ */ Kl(or);
1109
- var mr = gt.exports, wi;
1107
+ default: or
1108
+ }, Symbol.toStringTag, { value: "Module" })), mr = /* @__PURE__ */ ql(sr);
1109
+ var ur = gt.exports, wi;
1110
1110
  function ne() {
1111
1111
  return wi || (wi = 1, (function(e, n) {
1112
1112
  (function(t, l) {
1113
1113
  e.exports = l();
1114
- })(mr, function() {
1114
+ })(ur, function() {
1115
1115
  var t = t || (function(l, p) {
1116
1116
  var g;
1117
- if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof ti < "u" && ti.crypto && (g = ti.crypto), !g && typeof lr == "function")
1117
+ if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof ti < "u" && ti.crypto && (g = ti.crypto), !g && typeof rr == "function")
1118
1118
  try {
1119
- g = sr;
1119
+ g = mr;
1120
1120
  } catch {
1121
1121
  }
1122
1122
  var U = function() {
@@ -1607,12 +1607,12 @@ function ne() {
1607
1607
  });
1608
1608
  })(gt)), gt.exports;
1609
1609
  }
1610
- var dt = { exports: {} }, ur = dt.exports, Fi;
1610
+ var dt = { exports: {} }, pr = dt.exports, Fi;
1611
1611
  function Xt() {
1612
1612
  return Fi || (Fi = 1, (function(e, n) {
1613
1613
  (function(t, l) {
1614
1614
  e.exports = l(ne());
1615
- })(ur, function(t) {
1615
+ })(pr, function(t) {
1616
1616
  return (function(l) {
1617
1617
  var p = t, g = p.lib, U = g.Base, d = g.WordArray, r = p.x64 = {};
1618
1618
  r.Word = U.extend({
@@ -1837,12 +1837,12 @@ function Xt() {
1837
1837
  });
1838
1838
  })(dt)), dt.exports;
1839
1839
  }
1840
- var ct = { exports: {} }, pr = ct.exports, Ai;
1841
- function gr() {
1840
+ var ct = { exports: {} }, gr = ct.exports, Ai;
1841
+ function dr() {
1842
1842
  return Ai || (Ai = 1, (function(e, n) {
1843
1843
  (function(t, l) {
1844
1844
  e.exports = l(ne());
1845
- })(pr, function(t) {
1845
+ })(gr, function(t) {
1846
1846
  return (function() {
1847
1847
  if (typeof ArrayBuffer == "function") {
1848
1848
  var l = t, p = l.lib, g = p.WordArray, U = g.init, d = g.init = function(r) {
@@ -1859,12 +1859,12 @@ function gr() {
1859
1859
  });
1860
1860
  })(ct)), ct.exports;
1861
1861
  }
1862
- var ft = { exports: {} }, dr = ft.exports, Oi;
1863
- function cr() {
1862
+ var ft = { exports: {} }, cr = ft.exports, Oi;
1863
+ function fr() {
1864
1864
  return Oi || (Oi = 1, (function(e, n) {
1865
1865
  (function(t, l) {
1866
1866
  e.exports = l(ne());
1867
- })(dr, function(t) {
1867
+ })(cr, function(t) {
1868
1868
  return (function() {
1869
1869
  var l = t, p = l.lib, g = p.WordArray, U = l.enc;
1870
1870
  U.Utf16 = U.Utf16BE = {
@@ -1953,12 +1953,12 @@ function cr() {
1953
1953
  });
1954
1954
  })(ft)), ft.exports;
1955
1955
  }
1956
- var _t = { exports: {} }, fr = _t.exports, Bi;
1956
+ var _t = { exports: {} }, _r = _t.exports, Bi;
1957
1957
  function xa() {
1958
1958
  return Bi || (Bi = 1, (function(e, n) {
1959
1959
  (function(t, l) {
1960
1960
  e.exports = l(ne());
1961
- })(fr, function(t) {
1961
+ })(_r, function(t) {
1962
1962
  return (function() {
1963
1963
  var l = t, p = l.lib, g = p.WordArray, U = l.enc;
1964
1964
  U.Base64 = {
@@ -2028,12 +2028,12 @@ function xa() {
2028
2028
  });
2029
2029
  })(_t)), _t.exports;
2030
2030
  }
2031
- var yt = { exports: {} }, _r = yt.exports, Hi;
2032
- function yr() {
2031
+ var yt = { exports: {} }, yr = yt.exports, Hi;
2032
+ function Ur() {
2033
2033
  return Hi || (Hi = 1, (function(e, n) {
2034
2034
  (function(t, l) {
2035
2035
  e.exports = l(ne());
2036
- })(_r, function(t) {
2036
+ })(yr, function(t) {
2037
2037
  return (function() {
2038
2038
  var l = t, p = l.lib, g = p.WordArray, U = l.enc;
2039
2039
  U.Base64url = {
@@ -2110,12 +2110,12 @@ function yr() {
2110
2110
  });
2111
2111
  })(yt)), yt.exports;
2112
2112
  }
2113
- var Ut = { exports: {} }, Ur = Ut.exports, Wi;
2113
+ var Ut = { exports: {} }, br = Ut.exports, Wi;
2114
2114
  function Sa() {
2115
2115
  return Wi || (Wi = 1, (function(e, n) {
2116
2116
  (function(t, l) {
2117
2117
  e.exports = l(ne());
2118
- })(Ur, function(t) {
2118
+ })(br, function(t) {
2119
2119
  return (function(l) {
2120
2120
  var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, r = p.algo, a = [];
2121
2121
  (function() {
@@ -2176,12 +2176,12 @@ function Sa() {
2176
2176
  });
2177
2177
  })(Ut)), Ut.exports;
2178
2178
  }
2179
- var bt = { exports: {} }, br = bt.exports, zi;
2179
+ var bt = { exports: {} }, Cr = bt.exports, zi;
2180
2180
  function al() {
2181
2181
  return zi || (zi = 1, (function(e, n) {
2182
2182
  (function(t, l) {
2183
2183
  e.exports = l(ne());
2184
- })(br, function(t) {
2184
+ })(Cr, function(t) {
2185
2185
  return (function() {
2186
2186
  var l = t, p = l.lib, g = p.WordArray, U = p.Hasher, d = l.algo, r = [], a = d.SHA1 = U.extend({
2187
2187
  _doReset: function() {
@@ -2220,12 +2220,12 @@ function al() {
2220
2220
  });
2221
2221
  })(bt)), bt.exports;
2222
2222
  }
2223
- var Ct = { exports: {} }, Cr = Ct.exports, Ii;
2223
+ var Ct = { exports: {} }, vr = Ct.exports, Ii;
2224
2224
  function Ui() {
2225
2225
  return Ii || (Ii = 1, (function(e, n) {
2226
2226
  (function(t, l) {
2227
2227
  e.exports = l(ne());
2228
- })(Cr, function(t) {
2228
+ })(vr, function(t) {
2229
2229
  return (function(l) {
2230
2230
  var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, r = p.algo, a = [], i = [];
2231
2231
  (function() {
@@ -2272,12 +2272,12 @@ function Ui() {
2272
2272
  });
2273
2273
  })(Ct)), Ct.exports;
2274
2274
  }
2275
- var vt = { exports: {} }, vr = vt.exports, Vi;
2276
- function hr() {
2275
+ var vt = { exports: {} }, hr = vt.exports, Vi;
2276
+ function Tr() {
2277
2277
  return Vi || (Vi = 1, (function(e, n) {
2278
2278
  (function(t, l, p) {
2279
2279
  e.exports = l(ne(), Ui());
2280
- })(vr, function(t) {
2280
+ })(hr, function(t) {
2281
2281
  return (function() {
2282
2282
  var l = t, p = l.lib, g = p.WordArray, U = l.algo, d = U.SHA256, r = U.SHA224 = d.extend({
2283
2283
  _doReset: function() {
@@ -2302,12 +2302,12 @@ function hr() {
2302
2302
  });
2303
2303
  })(vt)), vt.exports;
2304
2304
  }
2305
- var ht = { exports: {} }, Tr = ht.exports, Ji;
2305
+ var ht = { exports: {} }, kr = ht.exports, Ji;
2306
2306
  function tl() {
2307
2307
  return Ji || (Ji = 1, (function(e, n) {
2308
2308
  (function(t, l, p) {
2309
2309
  e.exports = l(ne(), Xt());
2310
- })(Tr, function(t) {
2310
+ })(kr, function(t) {
2311
2311
  return (function() {
2312
2312
  var l = t, p = l.lib, g = p.Hasher, U = l.x64, d = U.Word, r = U.WordArray, a = l.algo;
2313
2313
  function i() {
@@ -2413,18 +2413,18 @@ function tl() {
2413
2413
  ]);
2414
2414
  },
2415
2415
  _doProcessBlock: function(s, c) {
2416
- for (var f = this._hash.words, y = f[0], _ = f[1], b = f[2], C = f[3], v = f[4], D = f[5], E = f[6], G = f[7], O = y.high, k = y.low, h = _.high, F = _.low, A = b.high, w = b.low, R = C.high, P = C.low, H = v.high, B = v.low, W = D.high, M = D.low, S = E.high, x = E.low, L = G.high, N = G.low, Z = O, q = k, Q = h, K = F, ie = A, le = w, ye = R, Ue = P, me = H, ce = B, ke = W, fe = M, Ve = S, Ce = x, Ge = L, ea = N, Me = 0; Me < 80; Me++) {
2417
- var ve, We, aa = m[Me];
2418
- if (Me < 16)
2419
- We = aa.high = s[c + Me * 2] | 0, ve = aa.low = s[c + Me * 2 + 1] | 0;
2416
+ for (var f = this._hash.words, y = f[0], _ = f[1], b = f[2], C = f[3], v = f[4], D = f[5], E = f[6], G = f[7], O = y.high, k = y.low, h = _.high, F = _.low, A = b.high, w = b.low, R = C.high, P = C.low, H = v.high, B = v.low, W = D.high, M = D.low, S = E.high, x = E.low, L = G.high, N = G.low, Z = O, q = k, Q = h, K = F, ie = A, le = w, ye = R, Ue = P, me = H, ce = B, ke = W, fe = M, Ve = S, Ce = x, Me = L, ea = N, Re = 0; Re < 80; Re++) {
2417
+ var ve, We, aa = m[Re];
2418
+ if (Re < 16)
2419
+ We = aa.high = s[c + Re * 2] | 0, ve = aa.low = s[c + Re * 2 + 1] | 0;
2420
2420
  else {
2421
- var ta = m[Me - 15], xe = ta.high, Re = ta.low, je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = m[Me - 2], Je = ga.high, Ye = ga.low, Va = (Je >>> 19 | Ye << 13) ^ (Je << 3 | Ye >>> 29) ^ Je >>> 6, Da = (Ye >>> 19 | Je << 13) ^ (Ye << 3 | Je >>> 29) ^ (Ye >>> 6 | Je << 26), Ea = m[Me - 7], Ja = Ea.high, Za = Ea.low, da = m[Me - 16], ya = da.high, qe = da.low;
2421
+ var ta = m[Re - 15], xe = ta.high, Pe = ta.low, je = (xe >>> 1 | Pe << 31) ^ (xe >>> 8 | Pe << 24) ^ xe >>> 7, oa = (Pe >>> 1 | xe << 31) ^ (Pe >>> 8 | xe << 24) ^ (Pe >>> 7 | xe << 25), ga = m[Re - 2], Je = ga.high, Ye = ga.low, Va = (Je >>> 19 | Ye << 13) ^ (Je << 3 | Ye >>> 29) ^ Je >>> 6, Da = (Ye >>> 19 | Je << 13) ^ (Ye << 3 | Je >>> 29) ^ (Ye >>> 6 | Je << 26), Ea = m[Re - 7], Ja = Ea.high, Za = Ea.low, da = m[Re - 16], ya = da.high, qe = da.low;
2422
2422
  ve = oa + Za, We = je + Ja + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Da, We = We + Va + (ve >>> 0 < Da >>> 0 ? 1 : 0), ve = ve + qe, We = We + ya + (ve >>> 0 < qe >>> 0 ? 1 : 0), aa.high = We, aa.low = ve;
2423
2423
  }
2424
- var ca = me & ke ^ ~me & Ve, fa = ce & fe ^ ~ce & Ce, Na = Z & Q ^ Z & ie ^ Q & ie, La = q & K ^ q & le ^ K & le, Ua = (Z >>> 28 | q << 4) ^ (Z << 30 | q >>> 2) ^ (Z << 25 | q >>> 7), Ga = (q >>> 28 | Z << 4) ^ (q << 30 | Z >>> 2) ^ (q << 25 | Z >>> 7), Ma = (me >>> 14 | ce << 18) ^ (me >>> 18 | ce << 14) ^ (me << 23 | ce >>> 9), Se = (ce >>> 14 | me << 18) ^ (ce >>> 18 | me << 14) ^ (ce << 23 | me >>> 9), V = o[Me], De = V.high, ia = V.low, Pe = ea + Se, na = Ge + Ma + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ia, na = na + De + (Pe >>> 0 < ia >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + We + (Pe >>> 0 < ve >>> 0 ? 1 : 0), tt = Ga + La, ei = Ua + Na + (tt >>> 0 < Ga >>> 0 ? 1 : 0);
2425
- Ge = Ve, ea = Ce, Ve = ke, Ce = fe, ke = me, fe = ce, ce = Ue + Pe | 0, me = ye + na + (ce >>> 0 < Ue >>> 0 ? 1 : 0) | 0, ye = ie, Ue = le, ie = Q, le = K, Q = Z, K = q, q = Pe + tt | 0, Z = na + ei + (q >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
2424
+ var ca = me & ke ^ ~me & Ve, fa = ce & fe ^ ~ce & Ce, Na = Z & Q ^ Z & ie ^ Q & ie, La = q & K ^ q & le ^ K & le, Ua = (Z >>> 28 | q << 4) ^ (Z << 30 | q >>> 2) ^ (Z << 25 | q >>> 7), Ga = (q >>> 28 | Z << 4) ^ (q << 30 | Z >>> 2) ^ (q << 25 | Z >>> 7), Ma = (me >>> 14 | ce << 18) ^ (me >>> 18 | ce << 14) ^ (me << 23 | ce >>> 9), Se = (ce >>> 14 | me << 18) ^ (ce >>> 18 | me << 14) ^ (ce << 23 | me >>> 9), V = o[Re], De = V.high, ia = V.low, we = ea + Se, na = Me + Ma + (we >>> 0 < ea >>> 0 ? 1 : 0), we = we + fa, na = na + ca + (we >>> 0 < fa >>> 0 ? 1 : 0), we = we + ia, na = na + De + (we >>> 0 < ia >>> 0 ? 1 : 0), we = we + ve, na = na + We + (we >>> 0 < ve >>> 0 ? 1 : 0), tt = Ga + La, ei = Ua + Na + (tt >>> 0 < Ga >>> 0 ? 1 : 0);
2425
+ Me = Ve, ea = Ce, Ve = ke, Ce = fe, ke = me, fe = ce, ce = Ue + we | 0, me = ye + na + (ce >>> 0 < Ue >>> 0 ? 1 : 0) | 0, ye = ie, Ue = le, ie = Q, le = K, Q = Z, K = q, q = we + tt | 0, Z = na + ei + (q >>> 0 < we >>> 0 ? 1 : 0) | 0;
2426
2426
  }
2427
- k = y.low = k + q, y.high = O + Z + (k >>> 0 < q >>> 0 ? 1 : 0), F = _.low = F + K, _.high = h + Q + (F >>> 0 < K >>> 0 ? 1 : 0), w = b.low = w + le, b.high = A + ie + (w >>> 0 < le >>> 0 ? 1 : 0), P = C.low = P + Ue, C.high = R + ye + (P >>> 0 < Ue >>> 0 ? 1 : 0), B = v.low = B + ce, v.high = H + me + (B >>> 0 < ce >>> 0 ? 1 : 0), M = D.low = M + fe, D.high = W + ke + (M >>> 0 < fe >>> 0 ? 1 : 0), x = E.low = x + Ce, E.high = S + Ve + (x >>> 0 < Ce >>> 0 ? 1 : 0), N = G.low = N + ea, G.high = L + Ge + (N >>> 0 < ea >>> 0 ? 1 : 0);
2427
+ k = y.low = k + q, y.high = O + Z + (k >>> 0 < q >>> 0 ? 1 : 0), F = _.low = F + K, _.high = h + Q + (F >>> 0 < K >>> 0 ? 1 : 0), w = b.low = w + le, b.high = A + ie + (w >>> 0 < le >>> 0 ? 1 : 0), P = C.low = P + Ue, C.high = R + ye + (P >>> 0 < Ue >>> 0 ? 1 : 0), B = v.low = B + ce, v.high = H + me + (B >>> 0 < ce >>> 0 ? 1 : 0), M = D.low = M + fe, D.high = W + ke + (M >>> 0 < fe >>> 0 ? 1 : 0), x = E.low = x + Ce, E.high = S + Ve + (x >>> 0 < Ce >>> 0 ? 1 : 0), N = G.low = N + ea, G.high = L + Me + (N >>> 0 < ea >>> 0 ? 1 : 0);
2428
2428
  },
2429
2429
  _doFinalize: function() {
2430
2430
  var s = this._data, c = s.words, f = this._nDataBytes * 8, y = s.sigBytes * 8;
@@ -2443,12 +2443,12 @@ function tl() {
2443
2443
  });
2444
2444
  })(ht)), ht.exports;
2445
2445
  }
2446
- var Tt = { exports: {} }, kr = Tt.exports, Zi;
2447
- function xr() {
2446
+ var Tt = { exports: {} }, xr = Tt.exports, Zi;
2447
+ function Sr() {
2448
2448
  return Zi || (Zi = 1, (function(e, n) {
2449
2449
  (function(t, l, p) {
2450
2450
  e.exports = l(ne(), Xt(), tl());
2451
- })(kr, function(t) {
2451
+ })(xr, function(t) {
2452
2452
  return (function() {
2453
2453
  var l = t, p = l.x64, g = p.Word, U = p.WordArray, d = l.algo, r = d.SHA512, a = d.SHA384 = r.extend({
2454
2454
  _doReset: function() {
@@ -2473,12 +2473,12 @@ function xr() {
2473
2473
  });
2474
2474
  })(Tt)), Tt.exports;
2475
2475
  }
2476
- var kt = { exports: {} }, Sr = kt.exports, Ki;
2477
- function Dr() {
2476
+ var kt = { exports: {} }, Dr = kt.exports, Ki;
2477
+ function Er() {
2478
2478
  return Ki || (Ki = 1, (function(e, n) {
2479
2479
  (function(t, l, p) {
2480
2480
  e.exports = l(ne(), Xt());
2481
- })(Sr, function(t) {
2481
+ })(Dr, function(t) {
2482
2482
  return (function(l) {
2483
2483
  var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, r = p.x64, a = r.Word, i = p.algo, o = [], m = [], u = [];
2484
2484
  (function() {
@@ -2583,12 +2583,12 @@ function Dr() {
2583
2583
  });
2584
2584
  })(kt)), kt.exports;
2585
2585
  }
2586
- var xt = { exports: {} }, Er = xt.exports, qi;
2587
- function Nr() {
2586
+ var xt = { exports: {} }, Nr = xt.exports, qi;
2587
+ function Lr() {
2588
2588
  return qi || (qi = 1, (function(e, n) {
2589
2589
  (function(t, l) {
2590
2590
  e.exports = l(ne());
2591
- })(Er, function(t) {
2591
+ })(Nr, function(t) {
2592
2592
  return (function(l) {
2593
2593
  var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, r = p.algo, a = U.create([
2594
2594
  0,
@@ -2966,12 +2966,12 @@ function Nr() {
2966
2966
  });
2967
2967
  })(xt)), xt.exports;
2968
2968
  }
2969
- var St = { exports: {} }, Lr = St.exports, $i;
2969
+ var St = { exports: {} }, Gr = St.exports, $i;
2970
2970
  function bi() {
2971
2971
  return $i || ($i = 1, (function(e, n) {
2972
2972
  (function(t, l) {
2973
2973
  e.exports = l(ne());
2974
- })(Lr, function(t) {
2974
+ })(Gr, function(t) {
2975
2975
  (function() {
2976
2976
  var l = t, p = l.lib, g = p.Base, U = l.enc, d = U.Utf8, r = l.algo;
2977
2977
  r.HMAC = g.extend({
@@ -3044,12 +3044,12 @@ function bi() {
3044
3044
  });
3045
3045
  })(St)), St.exports;
3046
3046
  }
3047
- var Dt = { exports: {} }, Gr = Dt.exports, Qi;
3048
- function Mr() {
3047
+ var Dt = { exports: {} }, Mr = Dt.exports, Qi;
3048
+ function Rr() {
3049
3049
  return Qi || (Qi = 1, (function(e, n) {
3050
3050
  (function(t, l, p) {
3051
3051
  e.exports = l(ne(), Ui(), bi());
3052
- })(Gr, function(t) {
3052
+ })(Mr, function(t) {
3053
3053
  return (function() {
3054
3054
  var l = t, p = l.lib, g = p.Base, U = p.WordArray, d = l.algo, r = d.SHA256, a = d.HMAC, i = d.PBKDF2 = g.extend({
3055
3055
  /**
@@ -3111,12 +3111,12 @@ function Mr() {
3111
3111
  });
3112
3112
  })(Dt)), Dt.exports;
3113
3113
  }
3114
- var Et = { exports: {} }, Rr = Et.exports, ji;
3114
+ var Et = { exports: {} }, Pr = Et.exports, ji;
3115
3115
  function _a() {
3116
3116
  return ji || (ji = 1, (function(e, n) {
3117
3117
  (function(t, l, p) {
3118
3118
  e.exports = l(ne(), al(), bi());
3119
- })(Rr, function(t) {
3119
+ })(Pr, function(t) {
3120
3120
  return (function() {
3121
3121
  var l = t, p = l.lib, g = p.Base, U = p.WordArray, d = l.algo, r = d.MD5, a = d.EvpKDF = g.extend({
3122
3122
  /**
@@ -3174,12 +3174,12 @@ function _a() {
3174
3174
  });
3175
3175
  })(Et)), Et.exports;
3176
3176
  }
3177
- var Nt = { exports: {} }, Pr = Nt.exports, Yi;
3177
+ var Nt = { exports: {} }, wr = Nt.exports, Yi;
3178
3178
  function Ne() {
3179
3179
  return Yi || (Yi = 1, (function(e, n) {
3180
3180
  (function(t, l, p) {
3181
3181
  e.exports = l(ne(), _a());
3182
- })(Pr, function(t) {
3182
+ })(wr, function(t) {
3183
3183
  t.lib.Cipher || (function(l) {
3184
3184
  var p = t, g = p.lib, U = g.Base, d = g.WordArray, r = g.BufferedBlockAlgorithm, a = p.enc;
3185
3185
  a.Utf8;
@@ -3712,12 +3712,12 @@ function Ne() {
3712
3712
  });
3713
3713
  })(Nt)), Nt.exports;
3714
3714
  }
3715
- var Lt = { exports: {} }, wr = Lt.exports, Xi;
3716
- function Fr() {
3715
+ var Lt = { exports: {} }, Fr = Lt.exports, Xi;
3716
+ function Ar() {
3717
3717
  return Xi || (Xi = 1, (function(e, n) {
3718
3718
  (function(t, l, p) {
3719
3719
  e.exports = l(ne(), Ne());
3720
- })(wr, function(t) {
3720
+ })(Fr, function(t) {
3721
3721
  return t.mode.CFB = (function() {
3722
3722
  var l = t.lib.BlockCipherMode.extend();
3723
3723
  l.Encryptor = l.extend({
@@ -3742,12 +3742,12 @@ function Fr() {
3742
3742
  });
3743
3743
  })(Lt)), Lt.exports;
3744
3744
  }
3745
- var Gt = { exports: {} }, Ar = Gt.exports, en;
3746
- function Or() {
3745
+ var Gt = { exports: {} }, Or = Gt.exports, en;
3746
+ function Br() {
3747
3747
  return en || (en = 1, (function(e, n) {
3748
3748
  (function(t, l, p) {
3749
3749
  e.exports = l(ne(), Ne());
3750
- })(Ar, function(t) {
3750
+ })(Or, function(t) {
3751
3751
  return t.mode.CTR = (function() {
3752
3752
  var l = t.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
3753
3753
  processBlock: function(g, U) {
@@ -3764,12 +3764,12 @@ function Or() {
3764
3764
  });
3765
3765
  })(Gt)), Gt.exports;
3766
3766
  }
3767
- var Mt = { exports: {} }, Br = Mt.exports, an;
3768
- function Hr() {
3767
+ var Mt = { exports: {} }, Hr = Mt.exports, an;
3768
+ function Wr() {
3769
3769
  return an || (an = 1, (function(e, n) {
3770
3770
  (function(t, l, p) {
3771
3771
  e.exports = l(ne(), Ne());
3772
- })(Br, function(t) {
3772
+ })(Hr, function(t) {
3773
3773
  return t.mode.CTRGladman = (function() {
3774
3774
  var l = t.lib.BlockCipherMode.extend();
3775
3775
  function p(d) {
@@ -3798,12 +3798,12 @@ function Hr() {
3798
3798
  });
3799
3799
  })(Mt)), Mt.exports;
3800
3800
  }
3801
- var Rt = { exports: {} }, Wr = Rt.exports, tn;
3802
- function zr() {
3801
+ var Rt = { exports: {} }, zr = Rt.exports, tn;
3802
+ function Ir() {
3803
3803
  return tn || (tn = 1, (function(e, n) {
3804
3804
  (function(t, l, p) {
3805
3805
  e.exports = l(ne(), Ne());
3806
- })(Wr, function(t) {
3806
+ })(zr, function(t) {
3807
3807
  return t.mode.OFB = (function() {
3808
3808
  var l = t.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
3809
3809
  processBlock: function(g, U) {
@@ -3818,12 +3818,12 @@ function zr() {
3818
3818
  });
3819
3819
  })(Rt)), Rt.exports;
3820
3820
  }
3821
- var Pt = { exports: {} }, Ir = Pt.exports, nn;
3822
- function Vr() {
3821
+ var Pt = { exports: {} }, Vr = Pt.exports, nn;
3822
+ function Jr() {
3823
3823
  return nn || (nn = 1, (function(e, n) {
3824
3824
  (function(t, l, p) {
3825
3825
  e.exports = l(ne(), Ne());
3826
- })(Ir, function(t) {
3826
+ })(Vr, function(t) {
3827
3827
  return t.mode.ECB = (function() {
3828
3828
  var l = t.lib.BlockCipherMode.extend();
3829
3829
  return l.Encryptor = l.extend({
@@ -3839,12 +3839,12 @@ function Vr() {
3839
3839
  });
3840
3840
  })(Pt)), Pt.exports;
3841
3841
  }
3842
- var wt = { exports: {} }, Jr = wt.exports, ln;
3843
- function Zr() {
3842
+ var wt = { exports: {} }, Zr = wt.exports, ln;
3843
+ function Kr() {
3844
3844
  return ln || (ln = 1, (function(e, n) {
3845
3845
  (function(t, l, p) {
3846
3846
  e.exports = l(ne(), Ne());
3847
- })(Jr, function(t) {
3847
+ })(Zr, function(t) {
3848
3848
  return t.pad.AnsiX923 = {
3849
3849
  pad: function(l, p) {
3850
3850
  var g = l.sigBytes, U = p * 4, d = U - g % U, r = g + d - 1;
@@ -3858,12 +3858,12 @@ function Zr() {
3858
3858
  });
3859
3859
  })(wt)), wt.exports;
3860
3860
  }
3861
- var Ft = { exports: {} }, Kr = Ft.exports, rn;
3862
- function qr() {
3861
+ var Ft = { exports: {} }, qr = Ft.exports, rn;
3862
+ function $r() {
3863
3863
  return rn || (rn = 1, (function(e, n) {
3864
3864
  (function(t, l, p) {
3865
3865
  e.exports = l(ne(), Ne());
3866
- })(Kr, function(t) {
3866
+ })(qr, function(t) {
3867
3867
  return t.pad.Iso10126 = {
3868
3868
  pad: function(l, p) {
3869
3869
  var g = p * 4, U = g - l.sigBytes % g;
@@ -3877,12 +3877,12 @@ function qr() {
3877
3877
  });
3878
3878
  })(Ft)), Ft.exports;
3879
3879
  }
3880
- var At = { exports: {} }, $r = At.exports, on;
3881
- function Qr() {
3880
+ var At = { exports: {} }, Qr = At.exports, on;
3881
+ function jr() {
3882
3882
  return on || (on = 1, (function(e, n) {
3883
3883
  (function(t, l, p) {
3884
3884
  e.exports = l(ne(), Ne());
3885
- })($r, function(t) {
3885
+ })(Qr, function(t) {
3886
3886
  return t.pad.Iso97971 = {
3887
3887
  pad: function(l, p) {
3888
3888
  l.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(l, p);
@@ -3894,12 +3894,12 @@ function Qr() {
3894
3894
  });
3895
3895
  })(At)), At.exports;
3896
3896
  }
3897
- var Ot = { exports: {} }, jr = Ot.exports, sn;
3898
- function Yr() {
3897
+ var Ot = { exports: {} }, Yr = Ot.exports, sn;
3898
+ function Xr() {
3899
3899
  return sn || (sn = 1, (function(e, n) {
3900
3900
  (function(t, l, p) {
3901
3901
  e.exports = l(ne(), Ne());
3902
- })(jr, function(t) {
3902
+ })(Yr, function(t) {
3903
3903
  return t.pad.ZeroPadding = {
3904
3904
  pad: function(l, p) {
3905
3905
  var g = p * 4;
@@ -3916,12 +3916,12 @@ function Yr() {
3916
3916
  });
3917
3917
  })(Ot)), Ot.exports;
3918
3918
  }
3919
- var Bt = { exports: {} }, Xr = Bt.exports, mn;
3920
- function eo() {
3919
+ var Bt = { exports: {} }, eo = Bt.exports, mn;
3920
+ function ao() {
3921
3921
  return mn || (mn = 1, (function(e, n) {
3922
3922
  (function(t, l, p) {
3923
3923
  e.exports = l(ne(), Ne());
3924
- })(Xr, function(t) {
3924
+ })(eo, function(t) {
3925
3925
  return t.pad.NoPadding = {
3926
3926
  pad: function() {
3927
3927
  },
@@ -3931,12 +3931,12 @@ function eo() {
3931
3931
  });
3932
3932
  })(Bt)), Bt.exports;
3933
3933
  }
3934
- var Ht = { exports: {} }, ao = Ht.exports, un;
3935
- function to() {
3934
+ var Ht = { exports: {} }, to = Ht.exports, un;
3935
+ function io() {
3936
3936
  return un || (un = 1, (function(e, n) {
3937
3937
  (function(t, l, p) {
3938
3938
  e.exports = l(ne(), Ne());
3939
- })(ao, function(t) {
3939
+ })(to, function(t) {
3940
3940
  return (function(l) {
3941
3941
  var p = t, g = p.lib, U = g.CipherParams, d = p.enc, r = d.Hex, a = p.format;
3942
3942
  a.Hex = {
@@ -3978,12 +3978,12 @@ function to() {
3978
3978
  });
3979
3979
  })(Ht)), Ht.exports;
3980
3980
  }
3981
- var Wt = { exports: {} }, io = Wt.exports, pn;
3982
- function no() {
3981
+ var Wt = { exports: {} }, no = Wt.exports, pn;
3982
+ function lo() {
3983
3983
  return pn || (pn = 1, (function(e, n) {
3984
3984
  (function(t, l, p) {
3985
3985
  e.exports = l(ne(), xa(), Sa(), _a(), Ne());
3986
- })(io, function(t) {
3986
+ })(no, function(t) {
3987
3987
  return (function() {
3988
3988
  var l = t, p = l.lib, g = p.BlockCipher, U = l.algo, d = [], r = [], a = [], i = [], o = [], m = [], u = [], s = [], c = [], f = [];
3989
3989
  (function() {
@@ -4038,12 +4038,12 @@ function no() {
4038
4038
  });
4039
4039
  })(Wt)), Wt.exports;
4040
4040
  }
4041
- var zt = { exports: {} }, lo = zt.exports, gn;
4042
- function ro() {
4041
+ var zt = { exports: {} }, ro = zt.exports, gn;
4042
+ function oo() {
4043
4043
  return gn || (gn = 1, (function(e, n) {
4044
4044
  (function(t, l, p) {
4045
4045
  e.exports = l(ne(), xa(), Sa(), _a(), Ne());
4046
- })(lo, function(t) {
4046
+ })(ro, function(t) {
4047
4047
  return (function() {
4048
4048
  var l = t, p = l.lib, g = p.WordArray, U = p.BlockCipher, d = l.algo, r = [
4049
4049
  57,
@@ -4758,12 +4758,12 @@ function ro() {
4758
4758
  });
4759
4759
  })(zt)), zt.exports;
4760
4760
  }
4761
- var It = { exports: {} }, oo = It.exports, dn;
4762
- function so() {
4761
+ var It = { exports: {} }, so = It.exports, dn;
4762
+ function mo() {
4763
4763
  return dn || (dn = 1, (function(e, n) {
4764
4764
  (function(t, l, p) {
4765
4765
  e.exports = l(ne(), xa(), Sa(), _a(), Ne());
4766
- })(oo, function(t) {
4766
+ })(so, function(t) {
4767
4767
  return (function() {
4768
4768
  var l = t, p = l.lib, g = p.StreamCipher, U = l.algo, d = U.RC4 = g.extend({
4769
4769
  _doReset: function() {
@@ -4812,12 +4812,12 @@ function so() {
4812
4812
  });
4813
4813
  })(It)), It.exports;
4814
4814
  }
4815
- var Vt = { exports: {} }, mo = Vt.exports, cn;
4816
- function uo() {
4815
+ var Vt = { exports: {} }, uo = Vt.exports, cn;
4816
+ function po() {
4817
4817
  return cn || (cn = 1, (function(e, n) {
4818
4818
  (function(t, l, p) {
4819
4819
  e.exports = l(ne(), xa(), Sa(), _a(), Ne());
4820
- })(mo, function(t) {
4820
+ })(uo, function(t) {
4821
4821
  return (function() {
4822
4822
  var l = t, p = l.lib, g = p.StreamCipher, U = l.algo, d = [], r = [], a = [], i = U.Rabbit = g.extend({
4823
4823
  _doReset: function() {
@@ -4878,12 +4878,12 @@ function uo() {
4878
4878
  });
4879
4879
  })(Vt)), Vt.exports;
4880
4880
  }
4881
- var Jt = { exports: {} }, po = Jt.exports, fn;
4882
- function go() {
4881
+ var Jt = { exports: {} }, go = Jt.exports, fn;
4882
+ function co() {
4883
4883
  return fn || (fn = 1, (function(e, n) {
4884
4884
  (function(t, l, p) {
4885
4885
  e.exports = l(ne(), xa(), Sa(), _a(), Ne());
4886
- })(po, function(t) {
4886
+ })(go, function(t) {
4887
4887
  return (function() {
4888
4888
  var l = t, p = l.lib, g = p.StreamCipher, U = l.algo, d = [], r = [], a = [], i = U.RabbitLegacy = g.extend({
4889
4889
  _doReset: function() {
@@ -4942,12 +4942,12 @@ function go() {
4942
4942
  });
4943
4943
  })(Jt)), Jt.exports;
4944
4944
  }
4945
- var Zt = { exports: {} }, co = Zt.exports, _n;
4946
- function fo() {
4945
+ var Zt = { exports: {} }, fo = Zt.exports, _n;
4946
+ function _o() {
4947
4947
  return _n || (_n = 1, (function(e, n) {
4948
4948
  (function(t, l, p) {
4949
4949
  e.exports = l(ne(), xa(), Sa(), _a(), Ne());
4950
- })(co, function(t) {
4950
+ })(fo, function(t) {
4951
4951
  return (function() {
4952
4952
  var l = t, p = l.lib, g = p.BlockCipher, U = l.algo;
4953
4953
  const d = 16, r = [
@@ -6064,17 +6064,17 @@ function fo() {
6064
6064
  });
6065
6065
  })(Zt)), Zt.exports;
6066
6066
  }
6067
- var _o = pt.exports, yn;
6068
- function yo() {
6067
+ var yo = pt.exports, yn;
6068
+ function Uo() {
6069
6069
  return yn || (yn = 1, (function(e, n) {
6070
6070
  (function(t, l, p) {
6071
- e.exports = l(ne(), Xt(), gr(), cr(), xa(), yr(), Sa(), al(), Ui(), hr(), tl(), xr(), Dr(), Nr(), bi(), Mr(), _a(), Ne(), Fr(), Or(), Hr(), zr(), Vr(), Zr(), qr(), Qr(), Yr(), eo(), to(), no(), ro(), so(), uo(), go(), fo());
6072
- })(_o, function(t) {
6071
+ e.exports = l(ne(), Xt(), dr(), fr(), xa(), Ur(), Sa(), al(), Ui(), Tr(), tl(), Sr(), Er(), Lr(), bi(), Rr(), _a(), Ne(), Ar(), Br(), Wr(), Ir(), Jr(), Kr(), $r(), jr(), Xr(), ao(), io(), lo(), oo(), mo(), po(), co(), _o());
6072
+ })(yo, function(t) {
6073
6073
  return t;
6074
6074
  });
6075
6075
  })(pt)), pt.exports;
6076
6076
  }
6077
- var qt = yo();
6077
+ var qt = Uo();
6078
6078
  const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6079
6079
  const n = "mySecretPassphrase", t = Ca.lib.WordArray.random(16), l = Ca.PBKDF2(n, t, {
6080
6080
  keySize: 128 / 32,
@@ -6190,8 +6190,8 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6190
6190
  const { start_time: S, end_time: x, limit: L = 25 } = M || {};
6191
6191
  return await e.get("/report/totalprofit", {
6192
6192
  params: {
6193
- start_time: `${we(S).format("YYYY-MM-DD")} 12:00:00`,
6194
- end_time: `${we(x).format("YYYY-MM-DD")} 11:59:59`,
6193
+ start_time: `${Fe(S).format("YYYY-MM-DD")} 12:00:00`,
6194
+ end_time: `${Fe(x).format("YYYY-MM-DD")} 11:59:59`,
6195
6195
  limit: L
6196
6196
  }
6197
6197
  });
@@ -6371,7 +6371,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6371
6371
  getUserAvatarListApi: B,
6372
6372
  updateUserAvatarApi: W
6373
6373
  };
6374
- }, xm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6374
+ }, Sm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6375
6375
  const { userCurrencyExchangeApi: t } = oe(), { getToken: l } = se(), { enabled: p, ...g } = n, d = !!l?.() && (p ? p.every((r) => r) : !0);
6376
6376
  return zn({
6377
6377
  queries: [
@@ -6385,7 +6385,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6385
6385
  }
6386
6386
  ]
6387
6387
  });
6388
- }, Sm = ({
6388
+ }, Dm = ({
6389
6389
  refetchInterval: e = 5e4,
6390
6390
  trigger: n = [],
6391
6391
  enabled: t = !0
@@ -6401,7 +6401,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6401
6401
  }
6402
6402
  ]
6403
6403
  });
6404
- }, Dm = ({ enabled: e = !0 } = {}) => {
6404
+ }, Em = ({ enabled: e = !0 } = {}) => {
6405
6405
  const {
6406
6406
  userInfoApi: n,
6407
6407
  userFavoriteGameApi: t,
@@ -6459,8 +6459,8 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6459
6459
  ), p = z(
6460
6460
  async (U) => {
6461
6461
  const {
6462
- startDate: d = we().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6463
- endDate: r = we().format("YYYY-MM-DD 11:59:59"),
6462
+ startDate: d = Fe().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6463
+ endDate: r = Fe().format("YYYY-MM-DD 11:59:59"),
6464
6464
  platform: a = "",
6465
6465
  limit: i = 25
6466
6466
  } = U, { data: o } = await e.get("/report/netprofit", {
@@ -6477,8 +6477,8 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6477
6477
  ), g = z(
6478
6478
  async (U) => {
6479
6479
  const {
6480
- startDate: d = we().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6481
- endDate: r = we().format("YYYY-MM-DD 11:59:59"),
6480
+ startDate: d = Fe().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6481
+ endDate: r = Fe().format("YYYY-MM-DD 11:59:59"),
6482
6482
  platform: a,
6483
6483
  limit: i = 25,
6484
6484
  page: o = 1
@@ -6496,7 +6496,7 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6496
6496
  [e]
6497
6497
  );
6498
6498
  return { playGameApi: l, betRecordApi: p, betRecordDetailApi: g };
6499
- }, Uo = ({ options: e, formData: n } = {}) => {
6499
+ }, bo = ({ options: e, formData: n } = {}) => {
6500
6500
  const { betRecordApi: t } = Ci();
6501
6501
  return j({
6502
6502
  queryKey: ["getBetRecord"],
@@ -6507,20 +6507,20 @@ const Ca = /* @__PURE__ */ yi(qt), Pa = (e) => {
6507
6507
  })),
6508
6508
  ...e
6509
6509
  });
6510
- }, bo = ({ options: e, formData: n } = {}) => {
6510
+ }, Co = ({ options: e, formData: n } = {}) => {
6511
6511
  const { betRecordDetailApi: t } = Ci();
6512
6512
  return j({
6513
6513
  queryKey: ["getBetRecordDetail"],
6514
6514
  queryFn: async () => await t(n),
6515
6515
  ...e
6516
6516
  });
6517
- }, Em = ({
6517
+ }, Nm = ({
6518
6518
  options: e = {
6519
6519
  betRecord: {},
6520
6520
  betRecordDetail: {}
6521
6521
  }
6522
6522
  }) => {
6523
- const n = Uo({ options: e.betRecord }), t = bo({
6523
+ const n = bo({ options: e.betRecord }), t = Co({
6524
6524
  options: e.betRecordDetail
6525
6525
  });
6526
6526
  return {
@@ -6536,7 +6536,7 @@ function rt(e) {
6536
6536
  }
6537
6537
  return e;
6538
6538
  }
6539
- var Co = {
6539
+ var vo = {
6540
6540
  read: function(e) {
6541
6541
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
6542
6542
  },
@@ -6597,7 +6597,7 @@ function ui(e, n) {
6597
6597
  }
6598
6598
  );
6599
6599
  }
6600
- var pi = ui(Co, { path: "/" }), ii = {}, Ze = {}, ni = {}, Un;
6600
+ var pi = ui(vo, { path: "/" }), ii = {}, Ze = {}, ni = {}, Un;
6601
6601
  function ra() {
6602
6602
  return Un || (Un = 1, (function(e) {
6603
6603
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
@@ -6746,7 +6746,7 @@ function ki() {
6746
6746
  return ja;
6747
6747
  }
6748
6748
  var kn;
6749
- function vo() {
6749
+ function ho() {
6750
6750
  if (kn) return va;
6751
6751
  kn = 1;
6752
6752
  var e = va && va.__assign || function() {
@@ -6816,7 +6816,7 @@ function vo() {
6816
6816
  return va.attachListeners = a, va;
6817
6817
  }
6818
6818
  var ha = {}, xn;
6819
- function ho() {
6819
+ function To() {
6820
6820
  if (xn) return ha;
6821
6821
  xn = 1;
6822
6822
  var e = ha && ha.__assign || function() {
@@ -6878,10 +6878,10 @@ function ho() {
6878
6878
  return ha.attachSharedListeners = i, ha;
6879
6879
  }
6880
6880
  var Sn;
6881
- function To() {
6881
+ function ko() {
6882
6882
  if (Sn) return Qa;
6883
6883
  Sn = 1, Object.defineProperty(Qa, "__esModule", { value: !0 }), Qa.createOrJoinSocket = void 0;
6884
- var e = vi(), n = ra(), t = vo(), l = ho(), p = Ti(), g = function(d, r, a, i, o) {
6884
+ var e = vi(), n = ra(), t = ho(), l = To(), p = Ti(), g = function(d, r, a, i, o) {
6885
6885
  return function() {
6886
6886
  if ((0, p.removeSubscriber)(d, r), !(0, p.hasSubscribers)(d)) {
6887
6887
  try {
@@ -6921,7 +6921,7 @@ function To() {
6921
6921
  return Qa.createOrJoinSocket = U, Qa;
6922
6922
  }
6923
6923
  var ma = {}, Dn;
6924
- function ko() {
6924
+ function xo() {
6925
6925
  return Dn || (Dn = 1, (function(e) {
6926
6926
  var n = ma && ma.__awaiter || function(r, a, i, o) {
6927
6927
  function m(u) {
@@ -7058,7 +7058,7 @@ function ko() {
7058
7058
  })(ma)), ma;
7059
7059
  }
7060
7060
  var oi = {}, En;
7061
- function xo() {
7061
+ function So() {
7062
7062
  return En || (En = 1, (function(e) {
7063
7063
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
7064
7064
  var n = function(t, l) {
@@ -7177,7 +7177,7 @@ function xi() {
7177
7177
  return m && m.__esModule ? m : { default: m };
7178
7178
  };
7179
7179
  Object.defineProperty(Ze, "__esModule", { value: !0 }), Ze.useWebSocket = void 0;
7180
- var p = de, g = Zl, U = ra(), d = To(), r = ko(), a = l(xo()), i = ki(), o = function(m, u, s) {
7180
+ var p = de, g = Kl, U = ra(), d = ko(), r = xo(), a = l(So()), i = ki(), o = function(m, u, s) {
7181
7181
  u === void 0 && (u = U.DEFAULT_OPTIONS), s === void 0 && (s = !0);
7182
7182
  var c = (0, p.useState)(null), f = c[0], y = c[1], _ = (0, p.useState)({}), b = _[0], C = _[1], v = (0, p.useMemo)(function() {
7183
7183
  if (!u.disableJson && f)
@@ -7263,7 +7263,7 @@ function xi() {
7263
7263
  return Ze.useWebSocket = o, Ze;
7264
7264
  }
7265
7265
  var Ta = {}, Ln;
7266
- function So() {
7266
+ function Do() {
7267
7267
  if (Ln) return Ta;
7268
7268
  Ln = 1;
7269
7269
  var e = Ta && Ta.__assign || function() {
@@ -7309,7 +7309,7 @@ function So() {
7309
7309
  return Ta.useSocketIO = U, Ta;
7310
7310
  }
7311
7311
  var ua = {}, Gn;
7312
- function Do() {
7312
+ function Eo() {
7313
7313
  if (Gn) return ua;
7314
7314
  Gn = 1;
7315
7315
  var e = ua && ua.__assign || function() {
@@ -7352,14 +7352,14 @@ function Do() {
7352
7352
  return ua.useEventSource = g, ua;
7353
7353
  }
7354
7354
  var Mn;
7355
- function Eo() {
7355
+ function No() {
7356
7356
  return Mn || (Mn = 1, (function(e) {
7357
7357
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
7358
7358
  var n = xi();
7359
7359
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
7360
7360
  return n.useWebSocket;
7361
7361
  } });
7362
- var t = So();
7362
+ var t = Do();
7363
7363
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
7364
7364
  return t.useSocketIO;
7365
7365
  } });
@@ -7367,7 +7367,7 @@ function Eo() {
7367
7367
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
7368
7368
  return l.ReadyState;
7369
7369
  } });
7370
- var p = Do();
7370
+ var p = Eo();
7371
7371
  Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
7372
7372
  return p.useEventSource;
7373
7373
  } });
@@ -7377,15 +7377,15 @@ function Eo() {
7377
7377
  } });
7378
7378
  })(ii)), ii;
7379
7379
  }
7380
- var No = Eo();
7381
- const Lo = /* @__PURE__ */ yi(No), Go = ({
7380
+ var Lo = No();
7381
+ const Go = /* @__PURE__ */ yi(Lo), Mo = ({
7382
7382
  enable: e = !1,
7383
7383
  isTestFunction: n = !1,
7384
7384
  isTransferMode: t = !1,
7385
7385
  isInGameBox: l = !1,
7386
7386
  currentGamePlatform: p = ""
7387
7387
  }) => {
7388
- const { store: g, lng: U } = se(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } = Zn(), o = Qe(U), { mutateAsync: m } = zo();
7388
+ const { store: g, lng: U } = se(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } = Zn(), o = Qe(U), { mutateAsync: m } = Io();
7389
7389
  return !e || !n || !t ? { handleTransferInGame: () => {
7390
7390
  } } : { handleTransferInGame: async () => {
7391
7391
  console.log("執行遊戲內轉帳"), l && await m({
@@ -7460,63 +7460,63 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7460
7460
  verifyPhoneBarApi: g,
7461
7461
  verifyDonationCodeApi: U
7462
7462
  };
7463
- }, Mo = ({ options: e } = {}) => {
7463
+ }, Ro = ({ options: e } = {}) => {
7464
7464
  const { userLoginApi: n } = oe();
7465
7465
  return ee({
7466
7466
  mutationKey: ["userLogin"],
7467
7467
  mutationFn: async (t) => n(t),
7468
7468
  ...e
7469
7469
  });
7470
- }, Ro = ({ options: e } = {}) => {
7470
+ }, Po = ({ options: e } = {}) => {
7471
7471
  const { userLogoutApi: n } = oe();
7472
7472
  return ee({
7473
7473
  mutationKey: ["userLogout"],
7474
7474
  mutationFn: async () => n(),
7475
7475
  ...e
7476
7476
  });
7477
- }, Po = ({ options: e } = {}) => {
7477
+ }, wo = ({ options: e } = {}) => {
7478
7478
  const { userSignUpApi: n } = oe();
7479
7479
  return ee({
7480
7480
  mutationKey: ["userSignUp"],
7481
7481
  mutationFn: async (t) => n(t),
7482
7482
  ...e
7483
7483
  });
7484
- }, wo = ({ options: e } = {}) => {
7484
+ }, Fo = ({ options: e } = {}) => {
7485
7485
  const { addOrRemoveFavoriteGameApi: n } = oe();
7486
7486
  return ee({
7487
7487
  mutationKey: ["toggleFavoriteGame"],
7488
7488
  mutationFn: async (t) => n(t),
7489
7489
  ...e
7490
7490
  });
7491
- }, Fo = ({ options: e } = {}) => {
7491
+ }, Ao = ({ options: e } = {}) => {
7492
7492
  const { updateUserInfoApi: n } = oe();
7493
7493
  return ee({
7494
7494
  mutationKey: ["updateUserInfo"],
7495
7495
  mutationFn: async (t) => n(t),
7496
7496
  ...e
7497
7497
  });
7498
- }, Ao = ({ options: e } = {}) => {
7498
+ }, Oo = ({ options: e } = {}) => {
7499
7499
  const { resetUserPasswordApi: n } = oe();
7500
7500
  return ee({
7501
7501
  mutationKey: ["resetUserPassword"],
7502
7502
  mutationFn: async (t) => n(t),
7503
7503
  ...e
7504
7504
  });
7505
- }, Oo = ({ options: e } = {}) => {
7505
+ }, Bo = ({ options: e } = {}) => {
7506
7506
  const { setUserTransactionPasswordApi: n } = oe();
7507
7507
  return ee({
7508
7508
  mutationKey: ["setUserTransactionPassword"],
7509
7509
  mutationFn: async (t) => n(t),
7510
7510
  ...e
7511
7511
  });
7512
- }, Bo = ({ options: e } = {}) => {
7512
+ }, Ho = ({ options: e } = {}) => {
7513
7513
  const { resetUserTransactionPasswordApi: n } = oe();
7514
7514
  return ee({
7515
7515
  mutationKey: ["resetUserTransactionPassword"],
7516
7516
  mutationFn: async (t) => n(t),
7517
7517
  ...e
7518
7518
  });
7519
- }, Ho = ({ paramsData: e, options: n } = {}) => {
7519
+ }, Wo = ({ paramsData: e, options: n } = {}) => {
7520
7520
  const { userRebateApi: t } = oe(), { getToken: l } = se();
7521
7521
  return l?.(), j({
7522
7522
  queryKey: ["userRebate", e],
@@ -7524,14 +7524,14 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7524
7524
  enabled: !1,
7525
7525
  ...n
7526
7526
  });
7527
- }, Wo = ({ options: e } = {}) => {
7527
+ }, zo = ({ options: e } = {}) => {
7528
7528
  const { userBindBankApi: n } = oe();
7529
7529
  return ee({
7530
7530
  mutationKey: ["userBindBank"],
7531
7531
  mutationFn: async (t) => n({ formData: t }),
7532
7532
  ...e
7533
7533
  });
7534
- }, zo = ({ options: e } = {}) => {
7534
+ }, Io = ({ options: e } = {}) => {
7535
7535
  const { transferInGameApi: n } = oe();
7536
7536
  return ee({
7537
7537
  mutationKey: ["transferInGame"],
@@ -7539,7 +7539,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7539
7539
  retry: !1,
7540
7540
  ...e
7541
7541
  });
7542
- }, Nm = ({ options: e } = {}) => {
7542
+ }, Lm = ({ options: e } = {}) => {
7543
7543
  const { currency: n } = se(), { pointTransferApi: t } = oe();
7544
7544
  return ee({
7545
7545
  mutationKey: ["pointTransfer"],
@@ -7549,7 +7549,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7549
7549
  }),
7550
7550
  ...e
7551
7551
  });
7552
- }, Lm = ({ options: e } = {}) => {
7552
+ }, Gm = ({ options: e } = {}) => {
7553
7553
  const { currency: n } = se(), { checkUserWagerApi: t } = oe();
7554
7554
  return j({
7555
7555
  queryKey: ["checkUserWager"],
@@ -7562,7 +7562,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7562
7562
  },
7563
7563
  ...e
7564
7564
  });
7565
- }, Gm = ({ options: e } = {}) => {
7565
+ }, Mm = ({ options: e } = {}) => {
7566
7566
  const n = Wa(), { abandonPointsApi: t } = oe();
7567
7567
  return ee({
7568
7568
  mutationKey: ["abandonPoint"],
@@ -7581,84 +7581,84 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7581
7581
  mutationFn: async (t) => n(t),
7582
7582
  ...e
7583
7583
  });
7584
- }, Io = ({ options: e } = {}) => {
7584
+ }, Vo = ({ options: e } = {}) => {
7585
7585
  const { lineLogin2Api: n } = oe();
7586
7586
  return ee({
7587
7587
  mutationKey: ["lineLogin"],
7588
7588
  mutationFn: async (t) => n(t),
7589
7589
  ...e
7590
7590
  });
7591
- }, Vo = ({ options: e, formData: n } = {}) => {
7591
+ }, Jo = ({ options: e, formData: n } = {}) => {
7592
7592
  const { getMachineLoginCodeApi: t } = oe();
7593
7593
  return j({
7594
7594
  queryKey: ["getMachineLoginCode"],
7595
7595
  queryFn: async () => t(n),
7596
7596
  ...e
7597
7597
  });
7598
- }, Mm = ({ options: e } = {}) => {
7598
+ }, Rm = ({ options: e } = {}) => {
7599
7599
  const { currency: n } = se(), { memberTransferApi: t } = oe();
7600
7600
  return ee({
7601
7601
  mutationKey: ["memberTransfer"],
7602
7602
  mutationFn: async (l) => t({ ...l, currency: n }),
7603
7603
  ...e
7604
7604
  });
7605
- }, Rm = ({ options: e } = {}) => {
7605
+ }, Pm = ({ options: e } = {}) => {
7606
7606
  const { mobileLoginApi: n } = oe();
7607
7607
  return ee({
7608
7608
  mutationKey: ["mobileLogin"],
7609
7609
  mutationFn: async (t) => n(t),
7610
7610
  ...e
7611
7611
  });
7612
- }, Pm = ({ options: e } = {}) => {
7612
+ }, wm = ({ options: e } = {}) => {
7613
7613
  const { mobileLoginApiV2: n } = oe();
7614
7614
  return ee({
7615
7615
  mutationKey: ["mobileLoginV2"],
7616
7616
  mutationFn: async (t) => n(t),
7617
7617
  ...e
7618
7618
  });
7619
- }, wm = ({ options: e } = {}) => {
7619
+ }, Fm = ({ options: e } = {}) => {
7620
7620
  const { mobileRegisterApi: n } = oe();
7621
7621
  return ee({
7622
7622
  mutationKey: ["mobileRegister"],
7623
7623
  mutationFn: async (t) => n(t),
7624
7624
  ...e
7625
7625
  });
7626
- }, Jo = ({ options: e } = {}) => {
7626
+ }, Zo = ({ options: e } = {}) => {
7627
7627
  const { bindAccountApi: n } = oe();
7628
7628
  return ee({
7629
7629
  mutationKey: ["bindAccount"],
7630
7630
  mutationFn: async (t) => n(t),
7631
7631
  ...e
7632
7632
  });
7633
- }, Fm = ({ options: e } = {}) => {
7633
+ }, Am = ({ options: e } = {}) => {
7634
7634
  const { sendMobileVerifyCodeApi: n } = oe();
7635
7635
  return ee({
7636
7636
  mutationKey: ["sendMobileVerifyCode"],
7637
7637
  mutationFn: async (t) => n(t),
7638
7638
  ...e
7639
7639
  });
7640
- }, Am = ({ options: e, paramsData: n } = {}) => {
7640
+ }, Om = ({ options: e, paramsData: n } = {}) => {
7641
7641
  const { verifyPhoneBarApi: t } = za();
7642
7642
  return j({
7643
7643
  queryKey: ["verifyPhoneBar", n],
7644
7644
  queryFn: async () => t(n),
7645
7645
  ...e
7646
7646
  });
7647
- }, Om = ({ options: e, paramsData: n } = {}) => {
7647
+ }, Bm = ({ options: e, paramsData: n } = {}) => {
7648
7648
  const { verifyDonationCodeApi: t } = za();
7649
7649
  return j({
7650
7650
  queryKey: ["verifyDonationCode", n],
7651
7651
  queryFn: async () => t(n),
7652
7652
  ...e
7653
7653
  });
7654
- }, Bm = ({ options: e } = {}) => {
7654
+ }, Hm = ({ options: e } = {}) => {
7655
7655
  const { verifyResetActionApi: n } = oe();
7656
7656
  return ee({
7657
7657
  mutationKey: ["verifyResetAction"],
7658
7658
  mutationFn: async (t) => n(t),
7659
7659
  ...e
7660
7660
  });
7661
- }, Hm = ({ options: e, bonusData: n } = {}) => {
7661
+ }, Wm = ({ options: e, bonusData: n } = {}) => {
7662
7662
  const { getJackpotApi: t } = oe();
7663
7663
  return j({
7664
7664
  queryKey: ["getJackpotData"],
@@ -7677,14 +7677,14 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7677
7677
  },
7678
7678
  ...e
7679
7679
  });
7680
- }, Wm = ({ options: e } = {}) => {
7680
+ }, zm = ({ options: e } = {}) => {
7681
7681
  const { getBetRankingApi: n } = oe();
7682
7682
  return j({
7683
7683
  queryKey: ["getBetRankingData"],
7684
7684
  queryFn: async () => n(),
7685
7685
  ...e
7686
7686
  });
7687
- }, zm = ({ options: e } = {}) => {
7687
+ }, Im = ({ options: e } = {}) => {
7688
7688
  const { getUserAvatarListApi: n } = oe();
7689
7689
  return j({
7690
7690
  queryKey: ["getAvatarList"],
@@ -7694,14 +7694,14 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7694
7694
  // },
7695
7695
  ...e
7696
7696
  });
7697
- }, Im = ({ options: e } = {}) => {
7697
+ }, Vm = ({ options: e } = {}) => {
7698
7698
  const { updateUserAvatarApi: n } = oe();
7699
7699
  return ee({
7700
7700
  mutationKey: ["updateAvatar"],
7701
7701
  mutationFn: async (t) => n(t),
7702
7702
  ...e
7703
7703
  });
7704
- }, Vm = ({
7704
+ }, Jm = ({
7705
7705
  options: e = {
7706
7706
  login: {},
7707
7707
  logout: {},
@@ -7715,15 +7715,15 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7715
7715
  userBindCard: {}
7716
7716
  }
7717
7717
  } = {}) => {
7718
- const n = Mo({ options: e.login }), t = Ro({ options: e.logout }), l = Po({ options: e.register }), p = Fo({ options: e.updateUserInfo }), g = wo({
7718
+ const n = Ro({ options: e.login }), t = Po({ options: e.logout }), l = wo({ options: e.register }), p = Ao({ options: e.updateUserInfo }), g = Fo({
7719
7719
  options: e.toggleFavoriteGame
7720
- }), U = Ao({
7720
+ }), U = Oo({
7721
7721
  options: e.resetUserPassword
7722
- }), d = Oo({
7722
+ }), d = Bo({
7723
7723
  options: e.setUserTransactionPassword
7724
- }), r = Bo({
7724
+ }), r = Ho({
7725
7725
  options: e.resetUserTransactionPassword
7726
- }), a = Ho({ options: e.userRebate }), i = Wo({ options: e.userBindCard });
7726
+ }), a = Wo({ options: e.userRebate }), i = zo({ options: e.userBindCard });
7727
7727
  return {
7728
7728
  login: n,
7729
7729
  logout: t,
@@ -7736,7 +7736,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7736
7736
  userRebate: a,
7737
7737
  userBindCard: i
7738
7738
  };
7739
- }, Be = {
7739
+ }, He = {
7740
7740
  DEPOSIT: "deposit",
7741
7741
  TRANS_CODE: "transCode",
7742
7742
  ERROR: "error",
@@ -7751,7 +7751,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7751
7751
  GAME_MAINTAIN: "game_maintain",
7752
7752
  LINE_LOGIN: "line_login",
7753
7753
  UPDATE_EVENT_WALLET: "update_event_wallet"
7754
- }, Zo = 3e4, Jm = ({
7754
+ }, Ko = 3e4, Zm = ({
7755
7755
  socketUrl: e,
7756
7756
  socketHandlers: n = {},
7757
7757
  options: t = {},
@@ -7778,7 +7778,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7778
7778
  },
7779
7779
  retry: !1
7780
7780
  }
7781
- }), { mutateAsync: v } = Io({
7781
+ }), { mutateAsync: v } = Vo({
7782
7782
  options: {
7783
7783
  onSuccess: (w) => {
7784
7784
  f.current.onLineLogin?.(w);
@@ -7787,7 +7787,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7787
7787
  U || C(R);
7788
7788
  }
7789
7789
  }
7790
- }), { handleTransferInGame: D } = Go({
7790
+ }), { handleTransferInGame: D } = Mo({
7791
7791
  enable: b,
7792
7792
  isTestFunction: !0,
7793
7793
  isTransferMode: Y(p, "isTransferMode", !1),
@@ -7804,7 +7804,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7804
7804
  readyState: k
7805
7805
  // WebSocket 連線狀態
7806
7806
  // getWebSocket, // 獲取 WebSocket 實例
7807
- } = Lo(e, {
7807
+ } = Go(e, {
7808
7808
  queryParams: { key: "wsky" },
7809
7809
  onOpen: () => console.log("連線成功"),
7810
7810
  shouldReconnect: () => c.current === !1,
@@ -7821,7 +7821,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7821
7821
  pe(() => {
7822
7822
  const w = setInterval(
7823
7823
  () => E("ping"),
7824
- Zo
7824
+ Ko
7825
7825
  );
7826
7826
  return () => clearInterval(w);
7827
7827
  }, [E]);
@@ -7865,13 +7865,13 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7865
7865
  limitAmount: Y(h, "limit_amount", null)
7866
7866
  }, Z = Number(N.memberInfoUid) === y, q = N.data, Q = N.amount, K = N.limitAmount, ie = _.get("mac") || pi.get("machine_mac_address") || "", le = Y(h, "data.line_id", null), ye = Y(h, "data.line_name", null), Ue = Y(h, "member_info_uid", null);
7867
7867
  switch (L) {
7868
- case Be.DEPOSIT:
7868
+ case He.DEPOSIT:
7869
7869
  Z && (D(), w?.(N));
7870
7870
  break;
7871
- case Be.TRANS_CODE:
7871
+ case He.TRANS_CODE:
7872
7872
  R?.(N);
7873
7873
  break;
7874
- case Be.ERROR:
7874
+ case He.ERROR:
7875
7875
  if (Z) {
7876
7876
  const me = Y(h, "open_game_modal", 0) === 1;
7877
7877
  F(q, {
@@ -7879,26 +7879,26 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7879
7879
  }), P?.(N);
7880
7880
  }
7881
7881
  break;
7882
- case Be.UPDATE_MEMBER:
7882
+ case He.UPDATE_MEMBER:
7883
7883
  y && (a.invalidateQueries({
7884
7884
  queryKey: ["getMemberInfo"]
7885
7885
  }), H?.(N));
7886
7886
  break;
7887
- case Be.MAINTAIN_NOTICE:
7887
+ case He.MAINTAIN_NOTICE:
7888
7888
  F(q, {
7889
7889
  notificationType: "maintainNotice"
7890
7890
  }), B?.(N);
7891
7891
  break;
7892
- case Be.MAINTAIN_NOTICE_MEMBER:
7892
+ case He.MAINTAIN_NOTICE_MEMBER:
7893
7893
  Z && (F(q), W?.(N), setTimeout(() => {
7894
7894
  window.location.reload();
7895
7895
  }, 5e4));
7896
7896
  break;
7897
- case Be.RELOAD:
7897
+ case He.RELOAD:
7898
7898
  window.location.reload();
7899
7899
  break;
7900
- case Be.TRANSFER_IN_GAME:
7901
- case Be.CHECK_REQUEST:
7900
+ case He.TRANSFER_IN_GAME:
7901
+ case He.CHECK_REQUEST:
7902
7902
  if (Z && b) {
7903
7903
  const { request_id: me, amount: ce, platform: ke, status: fe } = Y(N, "data", {}) || {}, Ve = localStorage.getItem(
7904
7904
  "transfer_in_game_request_id"
@@ -7923,30 +7923,30 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7923
7923
  M?.(N);
7924
7924
  }
7925
7925
  break;
7926
- case Be.CASH_REGISTER_LIMIT:
7926
+ case He.CASH_REGISTER_LIMIT:
7927
7927
  F(q, {
7928
7928
  notificationType: "cashRegisterLimit",
7929
7929
  amount: Q,
7930
7930
  limitAmount: K
7931
7931
  }), S?.(N);
7932
7932
  break;
7933
- case Be.UPDATE_ONLY_ONE_MEMBER:
7933
+ case He.UPDATE_ONLY_ONE_MEMBER:
7934
7934
  Z && (a.invalidateQueries({
7935
7935
  queryKey: ["getMemberInfo"]
7936
7936
  }), H?.(N));
7937
7937
  break;
7938
- case Be.GAME_MAINTAIN:
7938
+ case He.GAME_MAINTAIN:
7939
7939
  F(q, {
7940
7940
  notificationType: "gameMaintain"
7941
7941
  });
7942
7942
  break;
7943
- case Be.LINE_LOGIN:
7943
+ case He.LINE_LOGIN:
7944
7944
  Ue === ie && C({
7945
7945
  line_id: le,
7946
7946
  line_name: ye
7947
7947
  });
7948
7948
  break;
7949
- case Be.UPDATE_EVENT_WALLET:
7949
+ case He.UPDATE_EVENT_WALLET:
7950
7950
  Z && (a.invalidateQueries({ queryKey: ["getEventWalletList"] }), a.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
7951
7951
  return;
7952
7952
  default:
@@ -7976,7 +7976,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7976
7976
  "transfer_in_game_request_id"
7977
7977
  );
7978
7978
  w && y && m && G({
7979
- type: Be.CHECK_REQUEST,
7979
+ type: He.CHECK_REQUEST,
7980
7980
  request_id: w,
7981
7981
  member_info_uid: y
7982
7982
  });
@@ -7986,7 +7986,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
7986
7986
  type: "ui/showToast",
7987
7987
  payload: {
7988
7988
  title: Ba[s] || "System Prompt",
7989
- description: Yl[s] || "We are processing your transfer",
7989
+ description: Xl[s] || "We are processing your transfer",
7990
7990
  status: "warning",
7991
7991
  duration: 1 / 0,
7992
7992
  id: "trasnferingInGame"
@@ -8046,7 +8046,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8046
8046
  redeemEventRewardApi: l,
8047
8047
  settleEventApi: g
8048
8048
  };
8049
- }, Ko = ({ paramsData: e, options: n } = {}) => {
8049
+ }, qo = ({ paramsData: e, options: n } = {}) => {
8050
8050
  const { store: t, lng: l, data2URL: p } = se(), { eventListApi: g } = Xa(), U = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", d = Qe(l);
8051
8051
  return j({
8052
8052
  queryKey: ["eventList", e],
@@ -8054,7 +8054,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8054
8054
  select: (r) => {
8055
8055
  try {
8056
8056
  const { data: a } = r;
8057
- return He(a, (o) => {
8057
+ return Ge(a, (o) => {
8058
8058
  const { events_attributes: m } = o, u = Ie(
8059
8059
  m,
8060
8060
  (v) => v.attribute_currency === U
@@ -8175,21 +8175,21 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8175
8175
  },
8176
8176
  ...n
8177
8177
  });
8178
- }, Zm = ({ options: e } = {}) => {
8178
+ }, Km = ({ options: e } = {}) => {
8179
8179
  const { redeemEventRewardApi: n } = Xa();
8180
8180
  return ee({
8181
8181
  mutationKey: ["redeemEventReward"],
8182
8182
  mutationFn: async (t) => n(t),
8183
8183
  ...e
8184
8184
  });
8185
- }, qo = ({ options: e, formData: n } = {}) => {
8185
+ }, $o = ({ options: e, formData: n } = {}) => {
8186
8186
  const { checkCurrentEventProgessApi: t } = Xa();
8187
8187
  return j({
8188
8188
  queryKey: ["checkEventProgress"],
8189
8189
  queryFn: async () => t(n),
8190
8190
  ...e
8191
8191
  });
8192
- }, $o = ({ options: e, formData: n } = {}) => {
8192
+ }, Qo = ({ options: e, formData: n } = {}) => {
8193
8193
  const { checkEventStatusApi: t } = Xa();
8194
8194
  return j({
8195
8195
  queryKey: ["checkEventStatus"],
@@ -8197,23 +8197,23 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8197
8197
  select: (l) => l.data.event_status,
8198
8198
  ...e
8199
8199
  });
8200
- }, Km = ({ options: e } = {}) => {
8200
+ }, qm = ({ options: e } = {}) => {
8201
8201
  const { settleEventApi: n } = Xa();
8202
8202
  return ee({
8203
8203
  mutationKey: ["settleEvent"],
8204
8204
  mutationFn: async (t) => n(t),
8205
8205
  ...e
8206
8206
  });
8207
- }, qm = ({
8207
+ }, $m = ({
8208
8208
  options: e = {
8209
8209
  eventList: {},
8210
8210
  checkEventProgress: {},
8211
8211
  checkEventStatus: {}
8212
8212
  }
8213
8213
  } = {}) => {
8214
- const n = Ko({ options: e.eventList }), t = qo({
8214
+ const n = qo({ options: e.eventList }), t = $o({
8215
8215
  options: e.checkEventProgress
8216
- }), l = $o({
8216
+ }), l = Qo({
8217
8217
  options: e.checkEventStatus
8218
8218
  });
8219
8219
  return {
@@ -8254,7 +8254,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8254
8254
  settleEventWalletApi: p,
8255
8255
  abandonEventWalletApi: g
8256
8256
  };
8257
- }, $m = ({ gamePlatform: e, params: n } = {}) => {
8257
+ }, Qm = ({ gamePlatform: e, params: n } = {}) => {
8258
8258
  const { eventWalletListApi: t } = et();
8259
8259
  return j({
8260
8260
  queryKey: ["getEventWalletList", e, n],
@@ -8295,7 +8295,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8295
8295
  };
8296
8296
  }
8297
8297
  });
8298
- }, Qm = () => {
8298
+ }, jm = () => {
8299
8299
  const e = Wa(), { enabledEventWalletApi: n } = et();
8300
8300
  return ee({
8301
8301
  mutationKey: ["enabledEventWallet"],
@@ -8304,7 +8304,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8304
8304
  e.invalidateQueries({ queryKey: ["evaluateEventWallet"] });
8305
8305
  }
8306
8306
  });
8307
- }, jm = ({ gamePlatform: e = "", options: n = {} } = {}) => {
8307
+ }, Ym = ({ gamePlatform: e = "", options: n = {} } = {}) => {
8308
8308
  const { evaluateEventWalletApi: t } = et();
8309
8309
  return j({
8310
8310
  queryKey: ["evaluateEventWallet", e],
@@ -8320,7 +8320,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8320
8320
  },
8321
8321
  ...n
8322
8322
  });
8323
- }, Ym = () => {
8323
+ }, Xm = () => {
8324
8324
  const e = Wa(), { settleEventWalletApi: n } = et();
8325
8325
  return ee({
8326
8326
  mutationKey: ["settleEventWallet"],
@@ -8329,7 +8329,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8329
8329
  e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
8330
8330
  }
8331
8331
  });
8332
- }, Xm = () => {
8332
+ }, eu = () => {
8333
8333
  const e = Wa(), { abandonEventWalletApi: n } = et();
8334
8334
  return ee({
8335
8335
  mutationKey: ["abandonEventWallet"],
@@ -8338,7 +8338,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8338
8338
  e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
8339
8339
  }
8340
8340
  });
8341
- }, eu = ({ skipPreload: e = !1 } = {}) => {
8341
+ }, au = ({ skipPreload: e = !1 } = {}) => {
8342
8342
  const { lng: n, data2URL: t } = se(), { commonCarouselApi: l } = za(), p = Qe(n);
8343
8343
  return j({
8344
8344
  queryKey: ["getCarouselList", e],
@@ -8366,7 +8366,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8366
8366
  };
8367
8367
  })
8368
8368
  });
8369
- }, au = () => {
8369
+ }, tu = () => {
8370
8370
  const { lng: e } = se(), { commonMarqueeApi: n } = za(), t = Qe(e);
8371
8371
  return j({
8372
8372
  queryKey: ["getMarqueeList"],
@@ -8376,10 +8376,10 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8376
8376
  },
8377
8377
  select: (l) => {
8378
8378
  const p = la(l) ? l : l.Marquees;
8379
- return He(p, (U) => U[t] || U?.en_US);
8379
+ return Ge(p, (U) => U[t] || U?.en_US);
8380
8380
  }
8381
8381
  });
8382
- }, tu = ({ options: e } = {}) => {
8382
+ }, iu = ({ options: e } = {}) => {
8383
8383
  const { rankingGameApi: n } = oe();
8384
8384
  return j({
8385
8385
  queryKey: ["rankingGame"],
@@ -8387,7 +8387,7 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8387
8387
  enabled: window.profit_ranking_status === 1,
8388
8388
  select: (t) => {
8389
8389
  const { data: l } = t;
8390
- return He(l, (g) => {
8390
+ return Ge(l, (g) => {
8391
8391
  const {
8392
8392
  game_uid: U,
8393
8393
  game_code: d,
@@ -8421,10 +8421,10 @@ const Lo = /* @__PURE__ */ yi(No), Go = ({
8421
8421
  ...e
8422
8422
  });
8423
8423
  };
8424
- var Qo = Object.create, ll = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Yo = Object.getOwnPropertyNames, Xo = Object.getPrototypeOf, es = Object.prototype.hasOwnProperty, as = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), ts = (e, n, t, l) => {
8425
- if (n && typeof n == "object" || typeof n == "function") for (let p of Yo(n)) !es.call(e, p) && p !== t && ll(e, p, { get: () => n[p], enumerable: !(l = jo(n, p)) || l.enumerable });
8424
+ var jo = Object.create, ll = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Xo = Object.getOwnPropertyNames, es = Object.getPrototypeOf, as = Object.prototype.hasOwnProperty, ts = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), is = (e, n, t, l) => {
8425
+ if (n && typeof n == "object" || typeof n == "function") for (let p of Xo(n)) !as.call(e, p) && p !== t && ll(e, p, { get: () => n[p], enumerable: !(l = Yo(n, p)) || l.enumerable });
8426
8426
  return e;
8427
- }, is = (e, n, t) => (t = e != null ? Qo(Xo(e)) : {}, ts(!e || !e.__esModule ? ll(t, "default", { value: e, enumerable: !0 }) : t, e)), ns = as((e, n) => {
8427
+ }, ns = (e, n, t) => (t = e != null ? jo(es(e)) : {}, is(!e || !e.__esModule ? ll(t, "default", { value: e, enumerable: !0 }) : t, e)), ls = ts((e, n) => {
8428
8428
  (function(t, l) {
8429
8429
  typeof e == "object" && typeof n < "u" ? l(e) : typeof define == "function" && define.amd ? define(["exports"], l) : (t = typeof globalThis < "u" ? globalThis : t || self, l(t.fastUniqueNumbers = {}));
8430
8430
  })(e, function(t) {
@@ -8453,12 +8453,12 @@ var Qo = Object.create, ll = Object.defineProperty, jo = Object.getOwnPropertyDe
8453
8453
  t.addUniqueNumber = m, t.generateUniqueNumber = o;
8454
8454
  });
8455
8455
  });
8456
- is(ns());
8456
+ ns(ls());
8457
8457
  var pa = (typeof window > "u" ? "undefined" : typeof window) == "object", Xe = { setTimeout: pa ? setTimeout.bind(window) : setTimeout, clearTimeout: pa ? clearTimeout.bind(window) : clearTimeout, setInterval: pa ? setInterval.bind(window) : setInterval, clearInterval: pa ? clearInterval.bind(window) : clearInterval };
8458
- function ls(e) {
8458
+ function rs(e) {
8459
8459
  Xe.setTimeout = e.setTimeout, Xe.clearTimeout = e.clearTimeout, Xe.setInterval = e.setInterval, Xe.clearInterval = e.clearInterval;
8460
8460
  }
8461
- var wa = {}, rs = class {
8461
+ var wa = {}, os = class {
8462
8462
  name;
8463
8463
  closed = !1;
8464
8464
  mc = new MessageChannel();
@@ -8506,14 +8506,14 @@ var wa = {}, rs = class {
8506
8506
  dispatchEvent(e) {
8507
8507
  return this.mc.port1.dispatchEvent(e);
8508
8508
  }
8509
- }, os = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : rs;
8510
- function ss(e = 0) {
8509
+ }, ss = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : os;
8510
+ function ms(e = 0) {
8511
8511
  return new Promise((n) => Xe.setTimeout(n, e));
8512
8512
  }
8513
8513
  function rl() {
8514
8514
  return Math.random().toString(36).substring(2);
8515
8515
  }
8516
- var ms = class {
8516
+ var us = class {
8517
8517
  options;
8518
8518
  channel;
8519
8519
  token = rl();
@@ -8537,7 +8537,7 @@ var ms = class {
8537
8537
  };
8538
8538
  this.channel.addEventListener("message", n);
8539
8539
  try {
8540
- return this.sendAction(0), await ss(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8540
+ return this.sendAction(0), await ms(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8541
8541
  } catch {
8542
8542
  return !1;
8543
8543
  }
@@ -8593,7 +8593,7 @@ var ms = class {
8593
8593
  }
8594
8594
  }
8595
8595
  }
8596
- }, us = class {
8596
+ }, ps = class {
8597
8597
  channel;
8598
8598
  options;
8599
8599
  elector;
@@ -8603,9 +8603,9 @@ var ms = class {
8603
8603
  isLastActive = !1;
8604
8604
  constructor(e) {
8605
8605
  let { channelName: n } = e;
8606
- if (this.options = e, this.channel = new os(n), this.registry.set(this.token, 1), e.leaderElection) {
8606
+ if (this.options = e, this.channel = new ss(n), this.registry.set(this.token, 1), e.leaderElection) {
8607
8607
  let t = { fallbackInterval: 2e3, responseTime: 100 };
8608
- this.elector = new ms(this.channel, t), this.elector.waitForLeadership();
8608
+ this.elector = new us(this.channel, t), this.elector.waitForLeadership();
8609
8609
  }
8610
8610
  this.channel.addEventListener("message", (t) => {
8611
8611
  let { action: l, token: p, data: g } = t.data;
@@ -8695,8 +8695,8 @@ var ms = class {
8695
8695
  close() {
8696
8696
  this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
8697
8697
  }
8698
- }, ps = pa ? document : null, gs = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8699
- function ds(e, n) {
8698
+ }, gs = pa ? document : null, ds = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8699
+ function cs(e, n) {
8700
8700
  let t;
8701
8701
  function l(...p) {
8702
8702
  t && clearTimeout(t), t = setTimeout(() => {
@@ -8715,7 +8715,7 @@ function si(e, n) {
8715
8715
  };
8716
8716
  }
8717
8717
  var Te = () => Date.now(), Fa = 2147483647;
8718
- function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: l = ps, events: p = gs, timers: g = void 0, immediateEvents: U = [], onPresenceChange: d = () => {
8718
+ function fs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: l = gs, events: p = ds, timers: g = void 0, immediateEvents: U = [], onPresenceChange: d = () => {
8719
8719
  }, onPrompt: r = () => {
8720
8720
  }, onIdle: a = () => {
8721
8721
  }, onActive: i = () => {
@@ -8768,7 +8768,7 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8768
8768
  }, [m]);
8769
8769
  let fe = Oa(() => {
8770
8770
  let V = (De, ia) => ce.current(De, ia);
8771
- return u > 0 ? ds(V, u) : s > 0 ? si(V, s) : V;
8771
+ return u > 0 ? cs(V, u) : s > 0 ? si(V, s) : V;
8772
8772
  }, [s, u]), Ve = te();
8773
8773
  pe(() => {
8774
8774
  b && v && (Ve.current = si(() => {
@@ -8777,14 +8777,14 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8777
8777
  }, [b, v]);
8778
8778
  let Ce = () => {
8779
8779
  S.current !== null && (Xe.clearTimeout(S.current), S.current = null);
8780
- }, Ge = (V, De = !0) => {
8780
+ }, Me = (V, De = !0) => {
8781
8781
  Ce(), S.current = Xe.setTimeout(We, V || L.current), De && (h.current = Te());
8782
8782
  }, ea = (V) => {
8783
- !H.current && !P.current && (ye.current(V, Se), le.current({ type: "active", prompted: !0 }, Se)), R.current = 0, w.current = Te(), H.current = !0, Ge(N.current, !1);
8784
- }, Me = () => {
8785
- Ce(), P.current || (Ue.current(null, Se), le.current({ type: "idle" }, Se)), P.current = !0, k.current = Te(), Z.current ? Re() : H.current && (w.current = 0, H.current = !1);
8783
+ !H.current && !P.current && (ye.current(V, Se), le.current({ type: "active", prompted: !0 }, Se)), R.current = 0, w.current = Te(), H.current = !0, Me(N.current, !1);
8784
+ }, Re = () => {
8785
+ Ce(), P.current || (Ue.current(null, Se), le.current({ type: "idle" }, Se)), P.current = !0, k.current = Te(), Z.current ? Pe() : H.current && (w.current = 0, H.current = !1);
8786
8786
  }, ve = (V) => {
8787
- Ce(), (P.current || H.current) && (me.current(V, Se), le.current({ type: "active", prompted: !1 }, Se)), H.current = !1, w.current = 0, P.current = !1, F.current += Te() - k.current, A.current += Te() - k.current, xe(), Ge();
8787
+ Ce(), (P.current || H.current) && (me.current(V, Se), le.current({ type: "active", prompted: !1 }, Se)), H.current = !1, w.current = 0, P.current = !1, F.current += Te() - k.current, A.current += Te() - k.current, xe(), Me();
8788
8788
  }, We = (V) => {
8789
8789
  if (!P.current) {
8790
8790
  fe.cancel && fe.cancel();
@@ -8793,7 +8793,7 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8793
8793
  x.current ? x.current.prompt() : ea(V);
8794
8794
  return;
8795
8795
  }
8796
- x.current ? x.current.idle() : Me();
8796
+ x.current ? x.current.idle() : Re();
8797
8797
  return;
8798
8798
  }
8799
8799
  x.current ? x.current.active() : ve(V);
@@ -8808,21 +8808,21 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8808
8808
  We(V);
8809
8809
  return;
8810
8810
  }
8811
- B.current = !1, R.current = 0, w.current = 0, Ge(), b && v && Ve.current();
8811
+ B.current = !1, R.current = 0, w.current = 0, Me(), b && v && Ve.current();
8812
8812
  }, ta = te(aa);
8813
8813
  pe(() => {
8814
8814
  let V = M.current;
8815
- V && Re(), c > 0 ? ta.current = si(aa, c) : ta.current = aa, V && xe();
8815
+ V && Pe(), c > 0 ? ta.current = si(aa, c) : ta.current = aa, V && xe();
8816
8816
  }, [c, s, u, ce, b, v]);
8817
8817
  let xe = () => {
8818
8818
  pa && Q.current && (M.current || (K.current.forEach((V) => {
8819
8819
  Q.current.addEventListener(V, ta.current, { capture: !0, passive: !0 });
8820
8820
  }), M.current = !0));
8821
- }, Re = (V = !1) => {
8821
+ }, Pe = (V = !1) => {
8822
8822
  pa && Q.current && (M.current || V) && (K.current.forEach((De) => {
8823
8823
  Q.current.removeEventListener(De, ta.current, { capture: !0 });
8824
8824
  }), M.current = !1);
8825
- }, je = z((V) => ie.current ? !1 : (Ce(), xe(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.start(), Ge(), !0), [S, P, ie, L, x]), oa = z((V) => ie.current ? !1 : (Ce(), xe(), O.current = Te(), F.current += Te() - k.current, A.current += Te() - k.current, F.current = 0, P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.reset(), y || Ge(), !0), [S, P, L, y, ie, x]), ga = z((V) => ie.current ? !1 : (Ce(), xe(), (P.current || H.current) && ve(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, O.current = Te(), x.current && !V && x.current.activate(), Ge(), !0), [S, P, H, ie, L, x]), Je = z((V = !1) => ie.current || B.current ? !1 : (R.current = ya(), B.current = !0, Re(), Ce(), x.current && !V && x.current.pause(), !0), [S, ie, x]), Ye = z((V = !1) => ie.current || !B.current ? !1 : (B.current = !1, H.current || xe(), P.current || Ge(R.current), w.current && (w.current = Te()), x.current && !V && x.current.resume(), !0), [S, L, ie, R, x]), Va = z((V, De) => (x.current ? (De && ke.current(V, Se), x.current.message(V)) : De && ke.current(V, Se), !0), [m]), Da = z(() => P.current, [P]), Ea = z(() => H.current, [H]), Ja = z(() => x.current ? x.current.isLeader : null, [x]), Za = z(() => x.current ? x.current.isLastActive : null, [x]), da = z(() => x.current ? x.current.token : null, [x]), ya = z(() => {
8825
+ }, je = z((V) => ie.current ? !1 : (Ce(), xe(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.start(), Me(), !0), [S, P, ie, L, x]), oa = z((V) => ie.current ? !1 : (Ce(), xe(), O.current = Te(), F.current += Te() - k.current, A.current += Te() - k.current, F.current = 0, P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.reset(), y || Me(), !0), [S, P, L, y, ie, x]), ga = z((V) => ie.current ? !1 : (Ce(), xe(), (P.current || H.current) && ve(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, O.current = Te(), x.current && !V && x.current.activate(), Me(), !0), [S, P, H, ie, L, x]), Je = z((V = !1) => ie.current || B.current ? !1 : (R.current = ya(), B.current = !0, Pe(), Ce(), x.current && !V && x.current.pause(), !0), [S, ie, x]), Ye = z((V = !1) => ie.current || !B.current ? !1 : (B.current = !1, H.current || xe(), P.current || Me(R.current), w.current && (w.current = Te()), x.current && !V && x.current.resume(), !0), [S, L, ie, R, x]), Va = z((V, De) => (x.current ? (De && ke.current(V, Se), x.current.message(V)) : De && ke.current(V, Se), !0), [m]), Da = z(() => P.current, [P]), Ea = z(() => H.current, [H]), Ja = z(() => x.current ? x.current.isLeader : null, [x]), Za = z(() => x.current ? x.current.isLastActive : null, [x]), da = z(() => x.current ? x.current.token : null, [x]), ya = z(() => {
8826
8826
  if (B.current) return R.current;
8827
8827
  let V = R.current ? R.current : N.current + L.current, De = h.current ? Te() - h.current : 0, ia = Math.floor(V - De);
8828
8828
  return ia < 0 ? 0 : Math.abs(ia);
@@ -8835,29 +8835,29 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8835
8835
  }, [k, F]);
8836
8836
  pe(() => {
8837
8837
  if (u > 0 && s > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
8838
- g && ls(g);
8838
+ g && rs(g);
8839
8839
  let V = () => {
8840
- x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Re(!0);
8840
+ x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Pe(!0);
8841
8841
  };
8842
8842
  return pa && window.addEventListener("beforeunload", V), () => {
8843
- pa && window.removeEventListener("beforeunload", V), x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Re(!0);
8843
+ pa && window.removeEventListener("beforeunload", V), x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Pe(!0);
8844
8844
  };
8845
8845
  }, []), pe(() => {
8846
- x.current && x.current.close(), b ? x.current = new us({ channelName: C, leaderElection: D, onPrompt: () => {
8846
+ x.current && x.current.close(), b ? x.current = new ps({ channelName: C, leaderElection: D, onPrompt: () => {
8847
8847
  ea();
8848
8848
  }, onIdle: () => {
8849
- Me();
8849
+ Re();
8850
8850
  }, onActive: () => {
8851
8851
  ve();
8852
8852
  }, onMessage: (V) => {
8853
8853
  ke.current(V, Se);
8854
8854
  }, start: je, reset: oa, activate: ga, pause: Je, resume: Ye }) : x.current = null;
8855
8855
  }, [b, C, D, ye, Ue, me, ke, je, oa, Je, Ye]), pe(() => {
8856
- W.current || (Ce(), Re(!0)), !(y || E) && (f ? je() : xe());
8856
+ W.current || (Ce(), Pe(!0)), !(y || E) && (f ? je() : xe());
8857
8857
  }, [y, f, E, W]), pe(() => {
8858
8858
  if (!W.current) {
8859
8859
  let V = [...(/* @__PURE__ */ new Set([...p, ...U])).values()];
8860
- if (Re(), K.current = V, Q.current = l, q.current = U, y || E) return;
8860
+ if (Pe(), K.current = V, Q.current = l, q.current = U, y || E) return;
8861
8861
  f ? je() : xe();
8862
8862
  }
8863
8863
  }, [l, JSON.stringify(p), JSON.stringify(U), W, E, y, f]), pe(() => {
@@ -8878,22 +8878,22 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8878
8878
  } };
8879
8879
  return Se;
8880
8880
  }
8881
- var fs = Qt(null);
8882
- fs.Consumer;
8883
- const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
8881
+ var _s = Qt(null);
8882
+ _s.Consumer;
8883
+ const nu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => fs({
8884
8884
  onIdle: e,
8885
8885
  onActive: n,
8886
8886
  onAction: t,
8887
8887
  timeout: l,
8888
8888
  throttle: 500
8889
- }), _s = ({ options: e } = {}) => {
8889
+ }), ys = ({ options: e } = {}) => {
8890
8890
  const { commonInboxApi: n } = za(), { getToken: t, lng: l } = se(), p = t?.(), g = Qe(l);
8891
8891
  return j({
8892
8892
  queryKey: ["inboxList"],
8893
8893
  queryFn: async () => await n(),
8894
8894
  select: (U) => {
8895
8895
  const { data: d } = U;
8896
- return He(d, (a) => {
8896
+ return Ge(d, (a) => {
8897
8897
  const { internal_notifications_language: i } = a;
8898
8898
  return {
8899
8899
  ...a,
@@ -8907,20 +8907,20 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
8907
8907
  enabled: !!p,
8908
8908
  ...e
8909
8909
  });
8910
- }, ys = ({ options: e } = {}) => {
8910
+ }, Us = ({ options: e } = {}) => {
8911
8911
  const { commonReadInboxApi: n } = za();
8912
8912
  return ee({
8913
8913
  mutationKey: ["readInbox"],
8914
8914
  mutationFn: async (t) => await n(t),
8915
8915
  ...e
8916
8916
  });
8917
- }, nu = ({
8917
+ }, lu = ({
8918
8918
  options: e = {
8919
8919
  inboxList: {},
8920
8920
  readInbox: {}
8921
8921
  }
8922
8922
  } = {}) => {
8923
- const n = _s({ options: e.inboxList }), t = ys({ options: e.readInbox });
8923
+ const n = ys({ options: e.inboxList }), t = Us({ options: e.readInbox });
8924
8924
  return {
8925
8925
  inboxListQuery: n,
8926
8926
  readInboxMutation: t
@@ -8935,7 +8935,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
8935
8935
  [e]
8936
8936
  )
8937
8937
  };
8938
- }, Us = ({
8938
+ }, bs = ({
8939
8939
  typeConfig: e = {
8940
8940
  all: {},
8941
8941
  crypto: {},
@@ -8981,7 +8981,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
8981
8981
  value: "other",
8982
8982
  ...e.other
8983
8983
  }
8984
- ], lu = ({ options: e, formData: n } = {}) => {
8984
+ ], ru = ({ options: e, formData: n } = {}) => {
8985
8985
  const { lng: t } = se(), { newsListApi: l } = ol(), p = Qe(t);
8986
8986
  return j({
8987
8987
  queryKey: ["newsList"],
@@ -8990,7 +8990,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
8990
8990
  return l({ uid: g, params: U });
8991
8991
  },
8992
8992
  select: (g) => {
8993
- const { data: U } = g, d = U.data?.filter((a) => a.is_active === 1), r = He(d, (a) => {
8993
+ const { data: U } = g, d = U.data?.filter((a) => a.is_active === 1), r = Ge(d, (a) => {
8994
8994
  const i = Ie(a.news_language, {
8995
8995
  language: p
8996
8996
  }) || a.news_language[0];
@@ -9002,12 +9002,12 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9002
9002
  return {
9003
9003
  ...g.data,
9004
9004
  data: r,
9005
- blogType: Us({ typeConfig: e?.typeConfig })
9005
+ blogType: bs({ typeConfig: e?.typeConfig })
9006
9006
  };
9007
9007
  },
9008
9008
  ...e
9009
9009
  });
9010
- }, ru = ({ options: e, formData: n } = {}) => {
9010
+ }, ou = ({ options: e, formData: n } = {}) => {
9011
9011
  const { lng: t } = se(), { newsListApi: l } = ol(), p = Qe(t);
9012
9012
  return j({
9013
9013
  queryKey: ["newsList"],
@@ -9026,7 +9026,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9026
9026
  },
9027
9027
  ...e
9028
9028
  });
9029
- }, Ae = () => {
9029
+ }, Oe = () => {
9030
9030
  const { client: e } = se(), n = z(async () => await e.get("/payment/list"), [e]), t = z(
9031
9031
  async ({ paramsData: s }) => await e.get("/thirdPartyPayment/list", {
9032
9032
  params: { ...s }
@@ -9077,11 +9077,11 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9077
9077
  [e]
9078
9078
  ), U = z(
9079
9079
  async ({ paramsData: s } = {}) => {
9080
- const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = s || {}, b = we().format("HH:mm:ss"), C = we().subtract(24, "hour").format("HH:mm:ss");
9080
+ const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = s || {}, b = Fe().format("HH:mm:ss"), C = Fe().subtract(24, "hour").format("HH:mm:ss");
9081
9081
  return await e.get("/report/deposit", {
9082
9082
  params: {
9083
- str_date: `${we(c).format("YYYY-MM-DD")} ${b}`,
9084
- end_date: `${we(f).format("YYYY-MM-DD")} ${C}`,
9083
+ str_date: `${Fe(c).format("YYYY-MM-DD")} ${b}`,
9084
+ end_date: `${Fe(f).format("YYYY-MM-DD")} ${C}`,
9085
9085
  limit: y,
9086
9086
  page: _
9087
9087
  }
@@ -9090,11 +9090,11 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9090
9090
  [e]
9091
9091
  ), d = z(
9092
9092
  async ({ paramsData: s }) => {
9093
- const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = s || {}, b = we().format("HH:mm:ss"), C = we().subtract(24, "hour").format("HH:mm:ss");
9093
+ const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = s || {}, b = Fe().format("HH:mm:ss"), C = Fe().subtract(24, "hour").format("HH:mm:ss");
9094
9094
  return await e.get("report/eventsreward", {
9095
9095
  params: {
9096
- str_date: `${we(c).format("YYYY-MM-DD")} ${b}`,
9097
- end_date: `${we(f).format("YYYY-MM-DD")} ${C}`,
9096
+ str_date: `${Fe(c).format("YYYY-MM-DD")} ${b}`,
9097
+ end_date: `${Fe(f).format("YYYY-MM-DD")} ${C}`,
9098
9098
  limit: y,
9099
9099
  page: _
9100
9100
  }
@@ -9106,8 +9106,8 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9106
9106
  const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = s || {};
9107
9107
  return await e.get("/report/withdraw", {
9108
9108
  params: {
9109
- str_date: `${we(c).format("YYYY-MM-DD")} 12:00:00`,
9110
- end_date: `${we(f).format("YYYY-MM-DD")} 11:59:59`,
9109
+ str_date: `${Fe(c).format("YYYY-MM-DD")} 12:00:00`,
9110
+ end_date: `${Fe(f).format("YYYY-MM-DD")} 11:59:59`,
9111
9111
  limit: y,
9112
9112
  page: _
9113
9113
  }
@@ -9196,22 +9196,22 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9196
9196
  transactionRecordApi: m,
9197
9197
  treasureRecordApi: u
9198
9198
  };
9199
- }, bs = ({ options: e } = {}) => {
9200
- const { depositApiV1: n } = Ae();
9199
+ }, Cs = ({ options: e } = {}) => {
9200
+ const { depositApiV1: n } = Oe();
9201
9201
  return j({
9202
9202
  queryKey: ["depositV1"],
9203
9203
  queryFn: n,
9204
9204
  ...e
9205
9205
  });
9206
- }, Cs = ({ paramsData: e, options: n } = {}) => {
9207
- const { depositApiV2: t } = Ae();
9206
+ }, vs = ({ paramsData: e, options: n } = {}) => {
9207
+ const { depositApiV2: t } = Oe();
9208
9208
  return j({
9209
9209
  queryKey: ["depositV2", e],
9210
9210
  queryFn: () => t({ paramsData: e }),
9211
9211
  select: (l) => {
9212
- const { third_party: p, bank: g, vip: U } = l, d = He(p, (r) => ({
9212
+ const { third_party: p, bank: g, vip: U } = l, d = Ge(p, (r) => ({
9213
9213
  ...r,
9214
- providerList: He(r.providers, (a) => ({
9214
+ providerList: Ge(r.providers, (a) => ({
9215
9215
  ...a,
9216
9216
  providerUid: a.uid,
9217
9217
  providerImageUrl: `${Ke}/paymentIcon/${Ei(a.provider_name)}.png`,
@@ -9228,105 +9228,105 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9228
9228
  },
9229
9229
  ...n
9230
9230
  });
9231
- }, vs = ({ options: e } = {}) => {
9232
- const { depositApi: n } = Ae();
9231
+ }, hs = ({ options: e } = {}) => {
9232
+ const { depositApi: n } = Oe();
9233
9233
  return ee({
9234
9234
  mutationKey: ["depositAction"],
9235
9235
  mutationFn: async (t) => n(t),
9236
9236
  ...e
9237
9237
  });
9238
- }, hs = ({ options: e } = {}) => {
9239
- const { withdrawApi: n } = Ae();
9238
+ }, Ts = ({ options: e } = {}) => {
9239
+ const { withdrawApi: n } = Oe();
9240
9240
  return ee({
9241
9241
  mutationKey: ["withdrawAction"],
9242
9242
  mutationFn: async (t) => n(t),
9243
9243
  ...e
9244
9244
  });
9245
- }, Ts = ({ paramsData: e, options: n } = {}) => {
9246
- const { depositTransactionApi: t } = Ae();
9245
+ }, ks = ({ paramsData: e, options: n } = {}) => {
9246
+ const { depositTransactionApi: t } = Oe();
9247
9247
  return j({
9248
9248
  queryKey: ["depositTransaction", e],
9249
9249
  queryFn: () => t({ paramsData: e }),
9250
9250
  ...n
9251
9251
  });
9252
- }, ks = ({ paramsData: e, options: n } = {}) => {
9253
- const { eventTransactionApi: t } = Ae();
9252
+ }, xs = ({ paramsData: e, options: n } = {}) => {
9253
+ const { eventTransactionApi: t } = Oe();
9254
9254
  return j({
9255
9255
  queryKey: ["eventTransaction", e],
9256
9256
  queryFn: () => t({ paramsData: e }),
9257
9257
  ...n
9258
9258
  });
9259
- }, xs = ({ options: e } = {}) => {
9260
- const { bankDepositApi: n } = Ae();
9259
+ }, Ss = ({ options: e } = {}) => {
9260
+ const { bankDepositApi: n } = Oe();
9261
9261
  return ee({
9262
9262
  mutationKey: ["bankDeposit"],
9263
9263
  mutationFn: async (t) => n(t),
9264
9264
  ...e
9265
9265
  });
9266
- }, Ss = ({ paramsData: e, options: n } = {}) => {
9267
- const { withdrawTransactionApi: t } = Ae();
9266
+ }, Ds = ({ paramsData: e, options: n } = {}) => {
9267
+ const { withdrawTransactionApi: t } = Oe();
9268
9268
  return j({
9269
9269
  queryKey: ["withdrawTransaction", e],
9270
9270
  queryFn: () => t({ paramsData: e }),
9271
9271
  ...n
9272
9272
  });
9273
- }, ou = ({ options: e } = {}) => {
9274
- const { redeemCodeDepositApi: n } = Ae();
9273
+ }, su = ({ options: e } = {}) => {
9274
+ const { redeemCodeDepositApi: n } = Oe();
9275
9275
  return ee({
9276
9276
  mutationKey: ["redeemCodeDeposit"],
9277
9277
  mutationFn: async (t) => n(t),
9278
9278
  ...e
9279
9279
  });
9280
- }, su = ({ options: e } = {}) => {
9281
- const { invoiceApi: n } = Ae();
9280
+ }, mu = ({ options: e } = {}) => {
9281
+ const { invoiceApi: n } = Oe();
9282
9282
  return ee({
9283
9283
  mutationKey: ["invoiceAction"],
9284
9284
  mutationFn: async (t) => n(t),
9285
9285
  ...e
9286
9286
  });
9287
- }, mu = ({ options: e } = {}) => {
9288
- const { updateInvoiceApi: n } = Ae();
9287
+ }, uu = ({ options: e } = {}) => {
9288
+ const { updateInvoiceApi: n } = Oe();
9289
9289
  return ee({
9290
9290
  mutationKey: ["updateInvoiceAction"],
9291
9291
  mutationFn: async (t) => n(t),
9292
9292
  ...e
9293
9293
  });
9294
- }, uu = ({ options: e, paramsData: n } = {}) => {
9295
- const { transactionRecordApi: t } = Ae();
9294
+ }, pu = ({ options: e, paramsData: n } = {}) => {
9295
+ const { transactionRecordApi: t } = Oe();
9296
9296
  return j({
9297
9297
  queryKey: ["transactionRecord", "deposit"],
9298
9298
  queryFn: () => t(n, "deposit"),
9299
9299
  ...e
9300
9300
  });
9301
- }, pu = ({ options: e, paramsData: n } = {}) => {
9302
- const { transactionRecordApi: t } = Ae();
9301
+ }, gu = ({ options: e, paramsData: n } = {}) => {
9302
+ const { transactionRecordApi: t } = Oe();
9303
9303
  return j({
9304
9304
  queryKey: ["transactionRecord", "withdraw"],
9305
9305
  queryFn: () => t(n, "withdraw"),
9306
9306
  ...e
9307
9307
  });
9308
- }, gu = ({ options: e, paramsData: n } = {}) => {
9309
- const { transactionRecordApi: t } = Ae();
9308
+ }, du = ({ options: e, paramsData: n } = {}) => {
9309
+ const { transactionRecordApi: t } = Oe();
9310
9310
  return j({
9311
9311
  queryKey: ["transactionRecord", "event"],
9312
9312
  queryFn: () => t(n, "event"),
9313
9313
  ...e
9314
9314
  });
9315
- }, du = ({ options: e, paramsData: n } = {}) => {
9316
- const { transactionRecordApi: t } = Ae();
9315
+ }, cu = ({ options: e, paramsData: n } = {}) => {
9316
+ const { transactionRecordApi: t } = Oe();
9317
9317
  return j({
9318
9318
  queryKey: ["transactionRecord", "rebate"],
9319
9319
  queryFn: () => t(n, "rebate"),
9320
9320
  ...e
9321
9321
  });
9322
- }, cu = ({ options: e, paramsData: n } = {}) => {
9323
- const { treasureRecordApi: t } = Ae();
9322
+ }, fu = ({ options: e, paramsData: n } = {}) => {
9323
+ const { treasureRecordApi: t } = Oe();
9324
9324
  return j({
9325
9325
  queryKey: ["treasureRecord", n],
9326
9326
  queryFn: () => t(n),
9327
9327
  ...e
9328
9328
  });
9329
- }, fu = ({
9329
+ }, _u = ({
9330
9330
  depositV1: e = {},
9331
9331
  depositV2: n = {},
9332
9332
  depositTransaction: t = {},
@@ -9336,7 +9336,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9336
9336
  eventTransaction: U = {},
9337
9337
  withdrawTransaction: d = {}
9338
9338
  } = {}) => {
9339
- const r = bs(e), a = Cs(n), i = Ts(t), o = vs(l), m = hs(p), u = xs(g), s = ks(U), c = Ss(
9339
+ const r = Cs(e), a = vs(n), i = ks(t), o = hs(l), m = Ts(p), u = Ss(g), s = xs(U), c = Ds(
9340
9340
  d
9341
9341
  );
9342
9342
  return {
@@ -9349,10 +9349,10 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9349
9349
  eventTransaction: s,
9350
9350
  withdrawTransaction: c
9351
9351
  };
9352
- }, sl = "3.7.8", Ds = sl, Ia = typeof Buffer == "function", Rn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Pn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Es = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ya = Array.prototype.slice.call(Es), st = ((e) => {
9352
+ }, sl = "3.7.8", Es = sl, Ia = typeof Buffer == "function", Rn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Pn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ns = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ya = Array.prototype.slice.call(Ns), st = ((e) => {
9353
9353
  let n = {};
9354
9354
  return e.forEach((t, l) => n[t] = l), n;
9355
- })(Ya), Ns = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), wn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), ml = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ul = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), pl = (e) => {
9355
+ })(Ya), Ls = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), wn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), ml = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ul = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), pl = (e) => {
9356
9356
  let n, t, l, p, g = "";
9357
9357
  const U = e.length % 3;
9358
9358
  for (let d = 0; d < e.length; ) {
@@ -9366,7 +9366,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9366
9366
  for (let l = 0, p = e.length; l < p; l += 4096)
9367
9367
  t.push(Le.apply(null, e.subarray(l, l + 4096)));
9368
9368
  return Si(t.join(""));
9369
- }, Kt = (e, n = !1) => n ? ml(gi(e)) : gi(e), Ls = (e) => {
9369
+ }, Kt = (e, n = !1) => n ? ml(gi(e)) : gi(e), Gs = (e) => {
9370
9370
  if (e.length < 2) {
9371
9371
  var n = e.charCodeAt(0);
9372
9372
  return n < 128 ? e : n < 2048 ? Le(192 | n >>> 6) + Le(128 | n & 63) : Le(224 | n >>> 12 & 15) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
@@ -9374,7 +9374,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9374
9374
  var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
9375
9375
  return Le(240 | n >>> 18 & 7) + Le(128 | n >>> 12 & 63) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
9376
9376
  }
9377
- }, Gs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, gl = (e) => e.replace(Gs, Ls), Fn = Ia ? (e) => Buffer.from(e, "utf8").toString("base64") : Pn ? (e) => gi(Pn.encode(e)) : (e) => Si(gl(e)), Ha = (e, n = !1) => n ? ml(Fn(e)) : Fn(e), An = (e) => Ha(e, !0), Ms = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Rs = (e) => {
9377
+ }, Ms = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, gl = (e) => e.replace(Ms, Gs), Fn = Ia ? (e) => Buffer.from(e, "utf8").toString("base64") : Pn ? (e) => gi(Pn.encode(e)) : (e) => Si(gl(e)), Ha = (e, n = !1) => n ? ml(Fn(e)) : Fn(e), An = (e) => Ha(e, !0), Rs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Ps = (e) => {
9378
9378
  switch (e.length) {
9379
9379
  case 4:
9380
9380
  var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), t = n - 65536;
@@ -9384,15 +9384,15 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9384
9384
  default:
9385
9385
  return Le((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
9386
9386
  }
9387
- }, dl = (e) => e.replace(Ms, Rs), cl = (e) => {
9388
- if (e = e.replace(/\s+/g, ""), !Ns.test(e))
9387
+ }, dl = (e) => e.replace(Rs, Ps), cl = (e) => {
9388
+ if (e = e.replace(/\s+/g, ""), !Ls.test(e))
9389
9389
  throw new TypeError("malformed base64.");
9390
9390
  e += "==".slice(2 - (e.length & 3));
9391
9391
  let n, t, l, p = [];
9392
9392
  for (let g = 0; g < e.length; )
9393
9393
  n = st[e.charAt(g++)] << 18 | st[e.charAt(g++)] << 12 | (t = st[e.charAt(g++)]) << 6 | (l = st[e.charAt(g++)]), t === 64 ? p.push(Le(n >> 16 & 255)) : l === 64 ? p.push(Le(n >> 16 & 255, n >> 8 & 255)) : p.push(Le(n >> 16 & 255, n >> 8 & 255, n & 255));
9394
9394
  return p.join("");
9395
- }, Di = typeof atob == "function" ? (e) => atob(ul(e)) : Ia ? (e) => Buffer.from(e, "base64").toString("binary") : cl, fl = Ia ? (e) => wn(Buffer.from(e, "base64")) : (e) => wn(Di(e).split("").map((n) => n.charCodeAt(0))), _l = (e) => fl(yl(e)), Ps = Ia ? (e) => Buffer.from(e, "base64").toString("utf8") : Rn ? (e) => Rn.decode(fl(e)) : (e) => dl(Di(e)), yl = (e) => ul(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), di = (e) => Ps(yl(e)), ws = (e) => {
9395
+ }, Di = typeof atob == "function" ? (e) => atob(ul(e)) : Ia ? (e) => Buffer.from(e, "base64").toString("binary") : cl, fl = Ia ? (e) => wn(Buffer.from(e, "base64")) : (e) => wn(Di(e).split("").map((n) => n.charCodeAt(0))), _l = (e) => fl(yl(e)), ws = Ia ? (e) => Buffer.from(e, "base64").toString("utf8") : Rn ? (e) => Rn.decode(fl(e)) : (e) => dl(Di(e)), yl = (e) => ul(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), di = (e) => ws(yl(e)), Fs = (e) => {
9396
9396
  if (typeof e != "string")
9397
9397
  return !1;
9398
9398
  const n = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
@@ -9424,11 +9424,11 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9424
9424
  }), e("toBase64URL", function() {
9425
9425
  return Kt(this, !0);
9426
9426
  });
9427
- }, Fs = () => {
9427
+ }, As = () => {
9428
9428
  bl(), Cl();
9429
- }, As = {
9429
+ }, Os = {
9430
9430
  version: sl,
9431
- VERSION: Ds,
9431
+ VERSION: Es,
9432
9432
  atob: Di,
9433
9433
  atobPolyfill: cl,
9434
9434
  btoa: Si,
@@ -9441,13 +9441,13 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9441
9441
  utob: gl,
9442
9442
  btou: dl,
9443
9443
  decode: di,
9444
- isValid: ws,
9444
+ isValid: Fs,
9445
9445
  fromUint8Array: Kt,
9446
9446
  toUint8Array: _l,
9447
9447
  extendString: bl,
9448
9448
  extendUint8Array: Cl,
9449
- extendBuiltins: Fs
9450
- }, _u = (e, n) => {
9449
+ extendBuiltins: As
9450
+ }, yu = (e, n) => {
9451
9451
  const { playGameApi: t } = Ci();
9452
9452
  return j({
9453
9453
  queryKey: ["playGame"],
@@ -9474,7 +9474,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9474
9474
  supportPortrait: m,
9475
9475
  isHtmlCode: s,
9476
9476
  gameUrl: u,
9477
- decodeGameUrl: As.decode(u),
9477
+ decodeGameUrl: Os.decode(u),
9478
9478
  message: c
9479
9479
  };
9480
9480
  },
@@ -9487,7 +9487,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9487
9487
  currentRebateApi: n,
9488
9488
  receiveRebateApi: t
9489
9489
  };
9490
- }, Os = ({ options: e } = {}) => {
9490
+ }, Bs = ({ options: e } = {}) => {
9491
9491
  const { currentRebateApi: n } = vl();
9492
9492
  return j({
9493
9493
  queryKey: ["currentRebate"],
@@ -9495,20 +9495,20 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9495
9495
  select: (t) => Il(t, ["code", "status"]),
9496
9496
  ...e
9497
9497
  });
9498
- }, Bs = ({ options: e } = {}) => {
9498
+ }, Hs = ({ options: e } = {}) => {
9499
9499
  const { receiveRebateApi: n } = vl();
9500
9500
  return ee({
9501
9501
  mutationKey: ["receiveRebate"],
9502
9502
  mutationFn: async () => n(),
9503
9503
  ...e
9504
9504
  });
9505
- }, yu = ({
9505
+ }, Uu = ({
9506
9506
  options: e = {
9507
9507
  currentRebate: {},
9508
9508
  receiveRebate: {}
9509
9509
  }
9510
9510
  } = {}) => {
9511
- const n = Os({ options: e.currentRebate }), t = Bs({ options: e.receiveRebate });
9511
+ const n = Bs({ options: e.currentRebate }), t = Hs({ options: e.receiveRebate });
9512
9512
  return {
9513
9513
  currentRebate: n,
9514
9514
  receiveRebate: t
@@ -9532,7 +9532,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9532
9532
  redeemRewardApi: p,
9533
9533
  historyRewardApi: g
9534
9534
  };
9535
- }, Hs = ({ options: e, formData: n } = {}) => {
9535
+ }, Ws = ({ options: e, formData: n } = {}) => {
9536
9536
  const { rewardListApi: t } = at();
9537
9537
  return j({
9538
9538
  queryKey: ["rewardsList"],
@@ -9541,7 +9541,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9541
9541
  return t({ uid: l, params: p });
9542
9542
  },
9543
9543
  select: (l) => {
9544
- const p = He(l.data.data, (g) => {
9544
+ const p = Ge(l.data.data, (g) => {
9545
9545
  const {
9546
9546
  wagering_restricted_amount: U,
9547
9547
  claimed_amount: d
@@ -9572,35 +9572,35 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9572
9572
  },
9573
9573
  ...e
9574
9574
  });
9575
- }, Ws = ({ options: e } = {}) => {
9575
+ }, zs = ({ options: e } = {}) => {
9576
9576
  const { redeemRewardApi: n } = at();
9577
9577
  return ee({
9578
9578
  mutationKey: ["redeemReward"],
9579
9579
  mutationFn: async (t) => await n(t),
9580
9580
  ...e
9581
9581
  });
9582
- }, zs = ({ options: e } = {}) => {
9582
+ }, Is = ({ options: e } = {}) => {
9583
9583
  const { unUsedRewardListApi: n } = at();
9584
9584
  return j({
9585
9585
  queryKey: ["unUsedRewardsList"],
9586
9586
  queryFn: n,
9587
9587
  ...e
9588
9588
  });
9589
- }, Is = ({ options: e } = {}) => {
9589
+ }, Vs = ({ options: e } = {}) => {
9590
9590
  const { expiredRewardListApi: n } = at();
9591
9591
  return j({
9592
9592
  queryKey: ["expiredRewardsList"],
9593
9593
  queryFn: n,
9594
9594
  ...e
9595
9595
  });
9596
- }, Vs = ({ options: e } = {}) => {
9596
+ }, Js = ({ options: e } = {}) => {
9597
9597
  const { historyRewardApi: n } = at();
9598
9598
  return j({
9599
9599
  queryKey: ["historyRewardsList"],
9600
9600
  queryFn: n,
9601
9601
  ...e
9602
9602
  });
9603
- }, Uu = ({
9603
+ }, bu = ({
9604
9604
  options: e = {
9605
9605
  rewardsList: {},
9606
9606
  redeemReward: {},
@@ -9609,13 +9609,13 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9609
9609
  historyRewardsList: {}
9610
9610
  }
9611
9611
  } = {}) => {
9612
- const n = Hs({ options: e.rewardsList }), t = Ws({
9612
+ const n = Ws({ options: e.rewardsList }), t = zs({
9613
9613
  options: e.redeemReward
9614
- }), l = zs({
9614
+ }), l = Is({
9615
9615
  options: e.unUsedRewardsList
9616
- }), p = Is({
9616
+ }), p = Vs({
9617
9617
  options: e.expiredRewardsList
9618
- }), g = Vs({
9618
+ }), g = Js({
9619
9619
  options: e.historyRewardsList
9620
9620
  });
9621
9621
  return {
@@ -9660,7 +9660,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9660
9660
  treasureListApi: n,
9661
9661
  redeemTreasureApi: t
9662
9662
  };
9663
- }, bu = ({ paramsData: e, options: n } = {}) => {
9663
+ }, Cu = ({ paramsData: e, options: n } = {}) => {
9664
9664
  const { client: t, lng: l } = se(), p = Qe(l || "tw"), { treasureListApi: g } = hl();
9665
9665
  return j({
9666
9666
  queryKey: ["treasureList", e],
@@ -9673,7 +9673,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9673
9673
  last_page: Y(d, "last_page", 1)
9674
9674
  };
9675
9675
  return {
9676
- list: He(Y(d, "data", []), (i) => {
9676
+ list: Ge(Y(d, "data", []), (i) => {
9677
9677
  const o = Ie(i.treasure_copywriting, {
9678
9678
  language: p
9679
9679
  });
@@ -9688,7 +9688,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9688
9688
  },
9689
9689
  ...n
9690
9690
  });
9691
- }, Cu = ({ options: e } = {}) => {
9691
+ }, vu = ({ options: e } = {}) => {
9692
9692
  const { redeemTreasureApi: n } = hl();
9693
9693
  return ee({
9694
9694
  mutationKey: ["redeemTreasure"],
@@ -9701,22 +9701,32 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9701
9701
  vipListApi: n,
9702
9702
  vipInfoApi: t
9703
9703
  };
9704
- }, vu = ({ options: e } = {}) => {
9704
+ }, hu = ({ options: e } = {}) => {
9705
9705
  const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: l } = Tl();
9706
9706
  return j({
9707
9707
  queryKey: ["vipInfo"],
9708
9708
  queryFn: async () => l(),
9709
9709
  select: (p) => {
9710
- const { data: g } = p;
9710
+ const { data: g } = p, U = Y(g, "data", []), d = Ge(U, (a) => ({
9711
+ currentWager: a.wagering || a.value,
9712
+ currentStatus: a.status,
9713
+ currentOverflow: a.promotion_overflow,
9714
+ type: a.type
9715
+ })), r = Vl(d, "type");
9711
9716
  return {
9712
9717
  currentWager: g.wagering || g.value,
9713
9718
  currentLevel: t.vip_level,
9714
- currentVipStatus: g.status
9719
+ currentVipStatus: g.status,
9720
+ currentType: g.type,
9721
+ currentOverflow: g.promotion_overflow,
9722
+ nextLevel: g.promotion_level,
9723
+ typeList: Ge(d, (a) => a.type),
9724
+ currentWagerKeyBy: r
9715
9725
  };
9716
9726
  },
9717
9727
  ...e
9718
9728
  });
9719
- }, Js = ({ options: e } = {}) => {
9729
+ }, Zs = ({ options: e } = {}) => {
9720
9730
  const { store: n } = se(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: l } = Tl();
9721
9731
  return j({
9722
9732
  queryKey: ["vipList"],
@@ -9726,14 +9736,14 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9726
9736
  },
9727
9737
  select: (p) => {
9728
9738
  const g = la(p) ? p : p.data;
9729
- return He(g, (d) => {
9739
+ return Ge(g, (d) => {
9730
9740
  const {
9731
9741
  vip_criteria: r,
9732
9742
  vip_payment_tags: a,
9733
9743
  vip_withdrawal_rate: i,
9734
9744
  rebate_range: o,
9735
9745
  vip_game_rebate: m
9736
- } = d, u = Ie(r, { currency_code: t }) || {}, s = Ie(a, { currency_code: t }) || {}, c = i, f = He(o, (b) => ({
9746
+ } = d, u = Ie(r, { currency_code: t }) || {}, s = Ie(a, { currency_code: t }) || {}, c = i, f = Ge(o, (b) => ({
9737
9747
  ...b,
9738
9748
  rebateRange: JSON.parse(b.rebate_range)
9739
9749
  })), y = Y(m, "[0]", {}), _ = {
@@ -9753,10 +9763,10 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9753
9763
  },
9754
9764
  ...e
9755
9765
  });
9756
- }, hu = ({ options: e } = {
9766
+ }, Tu = ({ options: e } = {
9757
9767
  vipList: {}
9758
9768
  }) => ({
9759
- vipList: Js({ options: e.vipList })
9769
+ vipList: Zs({ options: e.vipList })
9760
9770
  }), On = (e) => {
9761
9771
  switch (e) {
9762
9772
  case "tw":
@@ -9776,7 +9786,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9776
9786
  default:
9777
9787
  return "En";
9778
9788
  }
9779
- }, mt = "game-icon-ds88", Tu = ({ gameData: e = {} } = {}) => {
9789
+ }, mt = "game-icon-ds88", ku = ({ gameData: e = {} } = {}) => {
9780
9790
  const { lng: n } = se(), t = On(n), {
9781
9791
  gameCode: l,
9782
9792
  // 遊戲代碼
@@ -9849,7 +9859,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9849
9859
  isInvalidBet: y,
9850
9860
  haveJackpot: _
9851
9861
  };
9852
- }, Zs = (e, n = !1) => Vl([
9862
+ }, Ks = (e, n = !1) => Jl([
9853
9863
  "EVO",
9854
9864
  "IMSPRIBE",
9855
9865
  "SABA",
@@ -9860,7 +9870,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9860
9870
  "HACK",
9861
9871
  "NAGA",
9862
9872
  "RSG"
9863
- ], e) && n ? `${e}_dark` : e, ku = ({ platformData: e, darkMode: n } = {}) => {
9873
+ ], e) && n ? `${e}_dark` : e, xu = ({ platformData: e, darkMode: n } = {}) => {
9864
9874
  const {
9865
9875
  SubPlatformEnum: t,
9866
9876
  // 子平台枚舉
@@ -9882,7 +9892,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9882
9892
  // 臨時維護開始時間
9883
9893
  temp_maintenance_end_time: o
9884
9894
  // 臨時維護結束時間
9885
- } = e || {}, m = `${Ke}/${$n}/${Zs(l, n)}.png`;
9895
+ } = e || {}, m = `${Ke}/${$n}/${Ks(l, n)}.png`;
9886
9896
  return {
9887
9897
  subPlatformEnum: t,
9888
9898
  platformEnum: l,
@@ -9896,19 +9906,19 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9896
9906
  tempMaintenanceEndTime: o,
9897
9907
  platformImageUrl: m
9898
9908
  };
9899
- }, Ks = (e = {}) => !jt(e) || Ee(e) ? [] : Yt(e), Bn = (e = []) => !la(e) || Ee(e) ? [] : He(e, "platform"), qs = (e = []) => !la(e) || Ee(e) ? [] : He(e, "gameTypeName"), $s = (e = []) => !la(e) || Ee(e) ? [] : He(e, "game_subtype"), Qs = (e = {}) => !jt(e) || Ee(e) ? [] : Yt(e), js = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((t, l) => {
9909
+ }, qs = (e = {}) => !jt(e) || Ee(e) ? [] : Yt(e), Bn = (e = []) => !la(e) || Ee(e) ? [] : Ge(e, "platform"), $s = (e = []) => !la(e) || Ee(e) ? [] : Ge(e, "gameTypeName"), Qs = (e = []) => !la(e) || Ee(e) ? [] : Ge(e, "game_subtype"), js = (e = {}) => !jt(e) || Ee(e) ? [] : Yt(e), Ys = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((t, l) => {
9900
9910
  const p = n.map((g) => g.game_subtype);
9901
9911
  return p.forEach((g) => {
9902
9912
  t[g] = t[g] || [];
9903
9913
  }), p.includes(l.game_subtype) && t[l.game_subtype].push(l), t;
9904
- }, {}), Ys = ({
9914
+ }, {}), Xs = ({
9905
9915
  gameTypes: e = [],
9906
9916
  platforms: n = [],
9907
9917
  gameList: t = {},
9908
9918
  allGameTypes: l = [],
9909
9919
  allPlatforms: p = []
9910
9920
  }) => !la(e) || !la(n) ? {} : Ee(t) ? {} : e.reduce((g, U) => {
9911
- const d = er({
9921
+ const d = ar({
9912
9922
  gameTypeName: U,
9913
9923
  platforms: n,
9914
9924
  gameList: t,
@@ -9916,7 +9926,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9916
9926
  allPlatforms: p
9917
9927
  });
9918
9928
  return Ee(d) || (g[U] = d), g;
9919
- }, {}), xu = ({
9929
+ }, {}), Su = ({
9920
9930
  types: e = [],
9921
9931
  platforms: n = [],
9922
9932
  allGameType: t = [],
@@ -9926,7 +9936,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9926
9936
  const d = jn(t, U);
9927
9937
  if (!d) return g;
9928
9938
  const r = p[d] || [], a = n.reduce((i, o) => {
9929
- const m = ar({
9939
+ const m = tr({
9930
9940
  platformName: o,
9931
9941
  gamesOfType: r,
9932
9942
  allPlatforms: l
@@ -9934,9 +9944,9 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9934
9944
  return Ee(m) ? i : { ...i, [o]: m };
9935
9945
  }, {});
9936
9946
  return Ee(a) || (g[U] = a), g;
9937
- }, {}), Xs = (e = {}) => !jt(e) || Ee(e) ? {} : Object.values(e).reduce((t, l) => (Object.entries(l).forEach(([p, g]) => {
9947
+ }, {}), em = (e = {}) => !jt(e) || Ee(e) ? {} : Object.values(e).reduce((t, l) => (Object.entries(l).forEach(([p, g]) => {
9938
9948
  t[p] ? t[p] = [...t[p], ...g] : t[p] = g;
9939
- }), t), {}), em = (e = {}) => {
9949
+ }), t), {}), am = (e = {}) => {
9940
9950
  if (!jt(e) || Ee(e)) return {};
9941
9951
  const n = {};
9942
9952
  for (const [t, l] of Object.entries(e)) {
@@ -9947,7 +9957,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9947
9957
  }
9948
9958
  }
9949
9959
  return n;
9950
- }, am = ({
9960
+ }, tm = ({
9951
9961
  allGameList: e = {},
9952
9962
  allGamePlatform: n = [],
9953
9963
  allGameType: t = [],
@@ -9960,21 +9970,21 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
9960
9970
  highlightGames: a = [],
9961
9971
  originPlatform: i = []
9962
9972
  }) => {
9963
- const o = Ks(e), m = Bn(n), u = qs(t), s = $s(l), c = Bn(i), f = Qs(d), y = Ys({
9973
+ const o = qs(e), m = Bn(n), u = $s(t), s = Qs(l), c = Bn(i), f = js(d), y = Xs({
9964
9974
  gameTypes: u,
9965
9975
  platforms: m,
9966
9976
  gameList: e,
9967
9977
  allGameTypes: t,
9968
9978
  allPlatforms: n
9969
- }), _ = He(n, (G) => {
9979
+ }), _ = Ge(n, (G) => {
9970
9980
  const O = `${Ke}/${$n}/${G.platformEnum}.png`;
9971
9981
  return {
9972
9982
  ...G,
9973
9983
  platformImageUrl: O
9974
9984
  };
9975
- }), b = js(o, l), C = Xs(y), v = em(C), D = In(y).reduce(
9985
+ }), b = Ys(o, l), C = em(y), v = am(C), D = In(y).reduce(
9976
9986
  (G, [O, k]) => {
9977
- const h = Yt(Jl(k));
9987
+ const h = Yt(Zl(k));
9978
9988
  return G[O] = h, G;
9979
9989
  },
9980
9990
  {}
@@ -10015,12 +10025,12 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
10015
10025
  favorite: f
10016
10026
  }
10017
10027
  };
10018
- }, Su = (e = []) => !la(e) || Ee(e) ? [] : Yt(e, (n) => Ee(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
10028
+ }, Du = (e = []) => !la(e) || Ee(e) ? [] : Yt(e, (n) => Ee(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
10019
10029
  ...n,
10020
10030
  ...t,
10021
10031
  platform: t.SubPlatformEnum,
10022
10032
  platformEnum: t.SubPlatformEnum
10023
- }))), tm = {
10033
+ }))), im = {
10024
10034
  platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
10025
10035
  type: { main: [], sub: [], originMain: [], originSub: [] },
10026
10036
  gameList: {
@@ -10040,7 +10050,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
10040
10050
  byGameType: {}
10041
10051
  },
10042
10052
  user: { favorite: [] }
10043
- }, im = ({ enabled: e = !0 } = {}) => {
10053
+ }, nm = ({ enabled: e = !0 } = {}) => {
10044
10054
  const { getToken: n } = se(), { userFavoriteGameApi: t, userGameListApi: l } = oe(), { data: p, isLoading: g, error: U, refetch: d } = j({
10045
10055
  queryKey: ["gamesInfo"],
10046
10056
  queryFn: async () => {
@@ -10050,7 +10060,7 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
10050
10060
  } catch (i) {
10051
10061
  console.warn("Failed to fetch favorite games:", i);
10052
10062
  }
10053
- return am({
10063
+ return tm({
10054
10064
  allGameList: a.gameTypeGroup || window.gameTypeGroup || {},
10055
10065
  allGamePlatform: a.platforms || window.platforms || [],
10056
10066
  allGameType: a.gameType || window.gameType || [],
@@ -10073,12 +10083,12 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
10073
10083
  refetchOnWindowFocus: !1
10074
10084
  });
10075
10085
  return {
10076
- gamesInfo: p || tm,
10086
+ gamesInfo: p || im,
10077
10087
  isLoading: g,
10078
10088
  error: U,
10079
10089
  refetch: d
10080
10090
  };
10081
- }, nm = (e = !1) => {
10091
+ }, lm = (e = !1) => {
10082
10092
  if (!e && window.gameTypeGroup) {
10083
10093
  console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
10084
10094
  return;
@@ -36605,18 +36615,18 @@ const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
36605
36615
  is_invalid_bet: 0
36606
36616
  }
36607
36617
  });
36608
- }, lm = ({
36618
+ }, rm = ({
36609
36619
  children: e,
36610
36620
  autoFetch: n = !1,
36611
36621
  mockData: t = !1
36612
36622
  }) => {
36613
36623
  pe(() => {
36614
- t && nm(!0);
36624
+ t && lm(!0);
36615
36625
  }, [t]);
36616
- const l = im({ enabled: n });
36617
- return /* @__PURE__ */ Fe.jsx(Qn.Provider, { value: l, children: e });
36626
+ const l = nm({ enabled: n });
36627
+ return /* @__PURE__ */ Ae.jsx(Qn.Provider, { value: l, children: e });
36618
36628
  };
36619
- function Du({
36629
+ function Eu({
36620
36630
  children: e,
36621
36631
  autoFetchGamesInfo: n = !1,
36622
36632
  useMockData: t = !1,
@@ -36637,8 +36647,8 @@ function Du({
36637
36647
  }),
36638
36648
  []
36639
36649
  ), r = l || d;
36640
- return /* @__PURE__ */ Fe.jsx(Hl, { client: r, children: /* @__PURE__ */ Fe.jsx(Vn.Provider, { value: { client: g, formDataClient: U, ...p }, children: /* @__PURE__ */ Fe.jsx(jl, { children: /* @__PURE__ */ Fe.jsx(
36641
- lm,
36650
+ return /* @__PURE__ */ Ae.jsx(Hl, { client: r, children: /* @__PURE__ */ Ae.jsx(Vn.Provider, { value: { client: g, formDataClient: U, ...p }, children: /* @__PURE__ */ Ae.jsx(Yl, { children: /* @__PURE__ */ Ae.jsx(
36651
+ rm,
36642
36652
  {
36643
36653
  autoFetch: n,
36644
36654
  mockData: t,
@@ -36646,7 +36656,7 @@ function Du({
36646
36656
  }
36647
36657
  ) }) }) });
36648
36658
  }
36649
- const Eu = ({ onFunction: e = () => {
36659
+ const Nu = ({ onFunction: e = () => {
36650
36660
  }, buttonProps: n = {} } = {}) => {
36651
36661
  const { lineConfig: t } = se(), l = te(!1), p = Y(t, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), d = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: m } = nl({
36652
36662
  options: {
@@ -36675,7 +36685,7 @@ const Eu = ({ onFunction: e = () => {
36675
36685
  const u = () => {
36676
36686
  window.location.href = `https://liff.line.me/${p}`;
36677
36687
  };
36678
- return p ? /* @__PURE__ */ Fe.jsx(
36688
+ return p ? /* @__PURE__ */ Ae.jsx(
36679
36689
  "button",
36680
36690
  {
36681
36691
  className: "line-login-btn",
@@ -36686,7 +36696,7 @@ const Eu = ({ onFunction: e = () => {
36686
36696
  }
36687
36697
  ) : null;
36688
36698
  };
36689
- var rm = Object.defineProperty, $t = Object.getOwnPropertySymbols, kl = Object.prototype.hasOwnProperty, xl = Object.prototype.propertyIsEnumerable, Hn = (e, n, t) => n in e ? rm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, ci = (e, n) => {
36699
+ var om = Object.defineProperty, $t = Object.getOwnPropertySymbols, kl = Object.prototype.hasOwnProperty, xl = Object.prototype.propertyIsEnumerable, Hn = (e, n, t) => n in e ? om(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, ci = (e, n) => {
36690
36700
  for (var t in n || (n = {}))
36691
36701
  kl.call(n, t) && Hn(e, t, n[t]);
36692
36702
  if ($t)
@@ -37238,12 +37248,12 @@ var ka;
37238
37248
  })(e.QrSegment || (e.QrSegment = {}));
37239
37249
  })(ka || (ka = {}));
37240
37250
  var Aa = ka;
37241
- var om = {
37251
+ var sm = {
37242
37252
  L: Aa.QrCode.Ecc.LOW,
37243
37253
  M: Aa.QrCode.Ecc.MEDIUM,
37244
37254
  Q: Aa.QrCode.Ecc.QUARTILE,
37245
37255
  H: Aa.QrCode.Ecc.HIGH
37246
- }, Sl = 128, Dl = "L", El = "#FFFFFF", Nl = "#000000", Ll = !1, Gl = 1, sm = 4, mm = 0, um = 0.1;
37256
+ }, Sl = 128, Dl = "L", El = "#FFFFFF", Nl = "#000000", Ll = !1, Gl = 1, mm = 4, um = 0, pm = 0.1;
37247
37257
  function Ml(e, n = 0) {
37248
37258
  const t = [];
37249
37259
  return e.forEach(function(l, p) {
@@ -37270,10 +37280,10 @@ function Ml(e, n = 0) {
37270
37280
  function Rl(e, n) {
37271
37281
  return e.slice().map((t, l) => l < n.y || l >= n.y + n.h ? t : t.map((p, g) => g < n.x || g >= n.x + n.w ? p : !1));
37272
37282
  }
37273
- function pm(e, n, t, l) {
37283
+ function gm(e, n, t, l) {
37274
37284
  if (l == null)
37275
37285
  return null;
37276
- const p = e.length + t * 2, g = Math.floor(n * um), U = p / n, d = (l.width || g) * U, r = (l.height || g) * U, a = l.x == null ? e.length / 2 - d / 2 : l.x * U, i = l.y == null ? e.length / 2 - r / 2 : l.y * U, o = l.opacity == null ? 1 : l.opacity;
37286
+ const p = e.length + t * 2, g = Math.floor(n * pm), U = p / n, d = (l.width || g) * U, r = (l.height || g) * U, a = l.x == null ? e.length / 2 - d / 2 : l.x * U, i = l.y == null ? e.length / 2 - r / 2 : l.y * U, o = l.opacity == null ? 1 : l.opacity;
37277
37287
  let m = null;
37278
37288
  if (l.excavate) {
37279
37289
  let s = Math.floor(a), c = Math.floor(i), f = Math.ceil(d + a - s), y = Math.ceil(r + i - c);
@@ -37282,8 +37292,8 @@ function pm(e, n, t, l) {
37282
37292
  const u = l.crossOrigin;
37283
37293
  return { x: a, y: i, h: r, w: d, excavation: m, opacity: o, crossOrigin: u };
37284
37294
  }
37285
- function gm(e, n) {
37286
- return n != null ? Math.max(Math.floor(n), 0) : e ? sm : mm;
37295
+ function dm(e, n) {
37296
+ return n != null ? Math.max(Math.floor(n), 0) : e ? mm : um;
37287
37297
  }
37288
37298
  function Pl({
37289
37299
  value: e,
@@ -37299,7 +37309,7 @@ function Pl({
37299
37309
  const s = (Array.isArray(e) ? e : [e]).reduce((c, f) => (c.push(...Aa.QrSegment.makeSegments(f)), c), []);
37300
37310
  return Aa.QrCode.encodeSegments(
37301
37311
  s,
37302
- om[n],
37312
+ sm[n],
37303
37313
  t,
37304
37314
  void 0,
37305
37315
  void 0,
@@ -37308,7 +37318,7 @@ function Pl({
37308
37318
  }, [e, n, t, d]);
37309
37319
  const { cells: a, margin: i, numCells: o, calculatedImageSettings: m } = de.useMemo(() => {
37310
37320
  let u = r.getModules();
37311
- const s = gm(l, p), c = u.length + s * 2, f = pm(
37321
+ const s = dm(l, p), c = u.length + s * 2, f = gm(
37312
37322
  u,
37313
37323
  U,
37314
37324
  s,
@@ -37329,14 +37339,14 @@ function Pl({
37329
37339
  calculatedImageSettings: m
37330
37340
  };
37331
37341
  }
37332
- var dm = (function() {
37342
+ var cm = (function() {
37333
37343
  try {
37334
37344
  new Path2D().addPath(new Path2D());
37335
37345
  } catch {
37336
37346
  return !1;
37337
37347
  }
37338
37348
  return !0;
37339
- })(), cm = de.forwardRef(
37349
+ })(), fm = de.forwardRef(
37340
37350
  function(n, t) {
37341
37351
  const l = n, {
37342
37352
  value: p,
@@ -37389,7 +37399,7 @@ var dm = (function() {
37389
37399
  const W = window.devicePixelRatio || 1;
37390
37400
  w.height = w.width = g * W;
37391
37401
  const M = g / k * W;
37392
- R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = r, dm ? R.fill(new Path2D(Ml(P, G))) : O.forEach(function(S, x) {
37402
+ R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = r, cm ? R.fill(new Path2D(Ml(P, G))) : O.forEach(function(S, x) {
37393
37403
  S.forEach(function(L, N) {
37394
37404
  L && R.fillRect(N + G, x + G, 1, 1);
37395
37405
  });
@@ -37430,7 +37440,7 @@ var dm = (function() {
37430
37440
  ), A);
37431
37441
  }
37432
37442
  );
37433
- cm.displayName = "QRCodeCanvas";
37443
+ fm.displayName = "QRCodeCanvas";
37434
37444
  var wl = de.forwardRef(
37435
37445
  function(n, t) {
37436
37446
  const l = n, {
@@ -37509,7 +37519,7 @@ var wl = de.forwardRef(
37509
37519
  }
37510
37520
  );
37511
37521
  wl.displayName = "QRCodeSVG";
37512
- const fm = {
37522
+ const _m = {
37513
37523
  position: "fixed",
37514
37524
  top: 0,
37515
37525
  left: 0,
@@ -37522,7 +37532,7 @@ const fm = {
37522
37532
  justifyContent: "center",
37523
37533
  zIndex: 1e4,
37524
37534
  gap: "2em"
37525
- }, _m = {
37535
+ }, ym = {
37526
37536
  position: "absolute",
37527
37537
  top: "20px",
37528
37538
  right: "20px",
@@ -37553,8 +37563,8 @@ const fm = {
37553
37563
  title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
37554
37564
  expired: "Kode QR telah kedaluwarsa"
37555
37565
  }
37556
- }, Gu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
37557
- const { lng: l, getToken: p, lineConfig: g } = se(), [U, d] = mi(300), [r, a] = mi(!1), i = te(null), o = Y(g, "liffId", ""), m = Qe(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || pi.get("machine_mac_address") || "", { data: f, isFetching: y } = Vo({
37566
+ }, Mu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
37567
+ const { lng: l, getToken: p, lineConfig: g } = se(), [U, d] = mi(300), [r, a] = mi(!1), i = te(null), o = Y(g, "liffId", ""), m = Qe(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || pi.get("machine_mac_address") || "", { data: f, isFetching: y } = Jo({
37558
37568
  formData: {
37559
37569
  mac_address: c
37560
37570
  },
@@ -37575,20 +37585,20 @@ const fm = {
37575
37585
  };
37576
37586
  if (!e && (!c || u)) return null;
37577
37587
  const C = Wn[m] || Wn.en_US;
37578
- return n && /* @__PURE__ */ Fe.jsxs("div", { style: fm, children: [
37579
- /* @__PURE__ */ Fe.jsx(
37588
+ return n && /* @__PURE__ */ Ae.jsxs("div", { style: _m, children: [
37589
+ /* @__PURE__ */ Ae.jsx(
37580
37590
  "div",
37581
37591
  {
37582
- style: _m,
37592
+ style: ym,
37583
37593
  onClick: () => t(!1),
37584
37594
  role: "button",
37585
37595
  "aria-label": "Close",
37586
37596
  children: "✕"
37587
37597
  }
37588
37598
  ),
37589
- r ? /* @__PURE__ */ Fe.jsx("p", { style: { fontWeight: "bold" }, children: C.expired }) : /* @__PURE__ */ Fe.jsxs(Fe.Fragment, { children: [
37590
- /* @__PURE__ */ Fe.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: C.title }),
37591
- /* @__PURE__ */ Fe.jsx(
37599
+ r ? /* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold" }, children: C.expired }) : /* @__PURE__ */ Ae.jsxs(Ae.Fragment, { children: [
37600
+ /* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: C.title }),
37601
+ /* @__PURE__ */ Ae.jsx(
37592
37602
  "div",
37593
37603
  {
37594
37604
  style: {
@@ -37602,10 +37612,10 @@ const fm = {
37602
37612
  boxSizing: "border-box",
37603
37613
  color: "black"
37604
37614
  },
37605
- children: y ? "Loading..." : /* @__PURE__ */ Fe.jsx(wl, { width: "100%", height: "100%", value: _ })
37615
+ children: y ? "Loading..." : /* @__PURE__ */ Ae.jsx(wl, { width: "100%", height: "100%", value: _ })
37606
37616
  }
37607
37617
  ),
37608
- !y && /* @__PURE__ */ Fe.jsx(
37618
+ !y && /* @__PURE__ */ Ae.jsx(
37609
37619
  "p",
37610
37620
  {
37611
37621
  style: {
@@ -37618,14 +37628,14 @@ const fm = {
37618
37628
  )
37619
37629
  ] })
37620
37630
  ] });
37621
- }, Mu = () => {
37631
+ }, Ru = () => {
37622
37632
  const e = Wa(), {
37623
37633
  mutate: n,
37624
37634
  isPending: t,
37625
37635
  isSuccess: l,
37626
37636
  isError: p,
37627
37637
  error: g
37628
- } = Jo({
37638
+ } = Zo({
37629
37639
  options: {
37630
37640
  onSuccess: () => {
37631
37641
  e.invalidateQueries({
@@ -37650,131 +37660,131 @@ const fm = {
37650
37660
  };
37651
37661
  export {
37652
37662
  Vn as ApiCtx,
37653
- Du as ApiProvider,
37654
- Mu as Bind,
37663
+ Eu as ApiProvider,
37664
+ Ru as Bind,
37655
37665
  Qn as GamesInfoCtx,
37656
- Eu as LineLogin,
37657
- Gu as LineQrCode,
37666
+ Nu as LineLogin,
37667
+ Mu as LineQrCode,
37658
37668
  $a as STATUS_TYPES,
37659
37669
  Jn as StatusContext,
37660
- jl as StatusProvider,
37661
- Ys as buildMultiTypes,
37662
- xu as buildMultiTypesWithSubTypes,
37663
- ar as buildSinglePlatformWithSubTypes,
37664
- er as buildSingleType,
37665
- js as categorizeGames,
37670
+ Yl as StatusProvider,
37671
+ Xs as buildMultiTypes,
37672
+ Su as buildMultiTypesWithSubTypes,
37673
+ tr as buildSinglePlatformWithSubTypes,
37674
+ ar as buildSingleType,
37675
+ Ys as categorizeGames,
37666
37676
  Qe as convertLanguageCode,
37667
- Tm as createLogoutHandler,
37668
- $s as extractGameSubTypeNames,
37669
- qs as extractGameTypeNames,
37677
+ km as createLogoutHandler,
37678
+ Qs as extractGameSubTypeNames,
37679
+ $s as extractGameTypeNames,
37670
37680
  Bn as extractPlatformNames,
37671
37681
  el as filterGamesByPlatform,
37672
37682
  jn as findGameTypeUid,
37673
37683
  Yn as findPlatformUid,
37674
37684
  Xn as findSubPlatform,
37675
- Ks as flattenAllGames,
37676
- Qs as flattenFavoriteGames,
37677
- km as formatNumber,
37678
- Xs as groupGamesByPlatform,
37679
- em as groupGamesByPlatformAndSubType,
37680
- Xl as groupGamesBySubType,
37681
- Zs as handleDarkImage,
37682
- nm as initMockWindowData,
37683
- am as processGameInfo,
37684
- Su as processPlatformData,
37685
- Xm as useAbandonEventWallet,
37686
- Gm as useAbandonPoint,
37685
+ qs as flattenAllGames,
37686
+ js as flattenFavoriteGames,
37687
+ xm as formatNumber,
37688
+ em as groupGamesByPlatform,
37689
+ am as groupGamesByPlatformAndSubType,
37690
+ er as groupGamesBySubType,
37691
+ Ks as handleDarkImage,
37692
+ lm as initMockWindowData,
37693
+ tm as processGameInfo,
37694
+ Du as processPlatformData,
37695
+ eu as useAbandonEventWallet,
37696
+ Mm as useAbandonPoint,
37687
37697
  se as useApiContext,
37688
- zm as useAvatarList,
37689
- xm as useBalanceGetter,
37690
- Em as useBet,
37691
- Wm as useBetRankingData,
37692
- Uo as useBetRecord,
37693
- bo as useBetRecordDetail,
37694
- Jo as useBindAccount,
37695
- qo as useCheckCurrentEventProgress,
37696
- $o as useCheckEventStatus,
37697
- Lm as useCheckPlayerWager,
37698
- Jm as useClientWebSocket,
37699
- Os as useCurrentRebate,
37700
- vs as useDepositAction,
37701
- Ts as useDepositTransaction,
37702
- bs as useDepositV1,
37703
- Cs as useDepositV2,
37704
- uu as useDepositWalletLog,
37705
- Qm as useEnabledEventWallet,
37706
- jm as useEvaluateEventWallet,
37707
- qm as useEvent,
37708
- Ko as useEventList,
37709
- ks as useEventTransaction,
37710
- gu as useEventWalletLog,
37711
- Is as useExpiredRewardsList,
37712
- Tu as useGameConfig,
37713
- hm as useGameInfoContext,
37714
- im as useGamesInfo,
37715
- eu as useGetCarouseList,
37716
- $m as useGetEventWalletList,
37717
- Vo as useGetMachineLoginCode,
37718
- au as useGetMarquee,
37719
- Sm as useGetMemberInfo,
37720
- tu as useGetRankingGame,
37721
- Vs as useHistoryRewardsList,
37722
- iu as useIdleTimeout,
37723
- nu as useInbox,
37724
- _s as useInboxList,
37725
- Dm as useInitializeWithToken,
37726
- su as useInvoiceAction,
37727
- Hm as useJackpotData,
37698
+ Im as useAvatarList,
37699
+ Sm as useBalanceGetter,
37700
+ Nm as useBet,
37701
+ zm as useBetRankingData,
37702
+ bo as useBetRecord,
37703
+ Co as useBetRecordDetail,
37704
+ Zo as useBindAccount,
37705
+ $o as useCheckCurrentEventProgress,
37706
+ Qo as useCheckEventStatus,
37707
+ Gm as useCheckPlayerWager,
37708
+ Zm as useClientWebSocket,
37709
+ Bs as useCurrentRebate,
37710
+ hs as useDepositAction,
37711
+ ks as useDepositTransaction,
37712
+ Cs as useDepositV1,
37713
+ vs as useDepositV2,
37714
+ pu as useDepositWalletLog,
37715
+ jm as useEnabledEventWallet,
37716
+ Ym as useEvaluateEventWallet,
37717
+ $m as useEvent,
37718
+ qo as useEventList,
37719
+ xs as useEventTransaction,
37720
+ du as useEventWalletLog,
37721
+ Vs as useExpiredRewardsList,
37722
+ ku as useGameConfig,
37723
+ Tm as useGameInfoContext,
37724
+ nm as useGamesInfo,
37725
+ au as useGetCarouseList,
37726
+ Qm as useGetEventWalletList,
37727
+ Jo as useGetMachineLoginCode,
37728
+ tu as useGetMarquee,
37729
+ Dm as useGetMemberInfo,
37730
+ iu as useGetRankingGame,
37731
+ Js as useHistoryRewardsList,
37732
+ nu as useIdleTimeout,
37733
+ lu as useInbox,
37734
+ ys as useInboxList,
37735
+ Em as useInitializeWithToken,
37736
+ mu as useInvoiceAction,
37737
+ Wm as useJackpotData,
37728
37738
  nl as useLineLogin,
37729
- Io as useLineLogin2,
37730
- Mo as useLogin,
37731
- Ro as useLogout,
37732
- Mm as useMemberTransfer,
37733
- Rm as useMobileLogin,
37734
- Pm as useMobileLoginV2,
37735
- wm as useMobileRegister,
37736
- ru as useNewsDetail,
37737
- lu as useNewsList,
37738
- fu as usePayment,
37739
- ku as usePlatformConfig,
37740
- _u as usePlayGame,
37741
- Nm as usePointTransfer,
37742
- ys as useReadInbox,
37743
- yu as useRebate,
37744
- du as useRebateWalletLog,
37745
- Bs as useReceiveRebate,
37746
- ou as useRedeemCodeDeposit,
37747
- Zm as useRedeemEventReward,
37748
- Ws as useRedeemReward,
37749
- Cu as useRedeemTreasure,
37750
- Ao as useResetUserPassword,
37751
- Bo as useResetUserTransactionPassword,
37752
- Uu as useRewards,
37753
- Hs as useRewardsList,
37754
- Fm as useSendMobileVerifyCode,
37755
- Oo as useSetUserTransactionPassword,
37756
- Km as useSettleEvent,
37757
- Ym as useSettleEventWallet,
37758
- Po as useSignUp,
37739
+ Vo as useLineLogin2,
37740
+ Ro as useLogin,
37741
+ Po as useLogout,
37742
+ Rm as useMemberTransfer,
37743
+ Pm as useMobileLogin,
37744
+ wm as useMobileLoginV2,
37745
+ Fm as useMobileRegister,
37746
+ ou as useNewsDetail,
37747
+ ru as useNewsList,
37748
+ _u as usePayment,
37749
+ xu as usePlatformConfig,
37750
+ yu as usePlayGame,
37751
+ Lm as usePointTransfer,
37752
+ Us as useReadInbox,
37753
+ Uu as useRebate,
37754
+ cu as useRebateWalletLog,
37755
+ Hs as useReceiveRebate,
37756
+ su as useRedeemCodeDeposit,
37757
+ Km as useRedeemEventReward,
37758
+ zs as useRedeemReward,
37759
+ vu as useRedeemTreasure,
37760
+ Oo as useResetUserPassword,
37761
+ Ho as useResetUserTransactionPassword,
37762
+ bu as useRewards,
37763
+ Ws as useRewardsList,
37764
+ Am as useSendMobileVerifyCode,
37765
+ Bo as useSetUserTransactionPassword,
37766
+ qm as useSettleEvent,
37767
+ Xm as useSettleEventWallet,
37768
+ wo as useSignUp,
37759
37769
  Zn as useStatus,
37760
- wo as useToggleFavoriteGame,
37761
- zo as useTransferInGame,
37762
- bu as useTreasureList,
37763
- cu as useTreasureWalletLog,
37764
- zs as useUnUsedRewardsList,
37765
- Im as useUpdateAvatar,
37766
- mu as useUpdateInvoiceAction,
37767
- Fo as useUpdateUserInfo,
37768
- Vm as useUser,
37769
- Wo as useUserBindCard,
37770
- Ho as useUserRebate,
37771
- Om as useVerifyDonationCode,
37772
- Am as useVerifyPhoneBar,
37773
- Bm as useVerifyResetAction,
37774
- hu as useVip,
37775
- vu as useVipInfo,
37776
- Js as useVipList,
37777
- hs as useWithdrawAction,
37778
- Ss as useWithdrawTransaction,
37779
- pu as useWithdrawWalletLog
37770
+ Fo as useToggleFavoriteGame,
37771
+ Io as useTransferInGame,
37772
+ Cu as useTreasureList,
37773
+ fu as useTreasureWalletLog,
37774
+ Is as useUnUsedRewardsList,
37775
+ Vm as useUpdateAvatar,
37776
+ uu as useUpdateInvoiceAction,
37777
+ Ao as useUpdateUserInfo,
37778
+ Jm as useUser,
37779
+ zo as useUserBindCard,
37780
+ Wo as useUserRebate,
37781
+ Bm as useVerifyDonationCode,
37782
+ Om as useVerifyPhoneBar,
37783
+ Hm as useVerifyResetAction,
37784
+ Tu as useVip,
37785
+ hu as useVipInfo,
37786
+ Zs as useVipList,
37787
+ Ts as useWithdrawAction,
37788
+ Ds as useWithdrawTransaction,
37789
+ gu as useWithdrawWalletLog
37780
37790
  };