@obb871001/api-integration-sdk 1.0.236 → 1.0.237

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
@@ -9,17 +9,17 @@ function Ki(e) {
9
9
  }
10
10
  function pl(e) {
11
11
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
12
- var s = e.default;
13
- if (typeof s == "function") {
12
+ var u = e.default;
13
+ if (typeof u == "function") {
14
14
  var n = function i() {
15
15
  var p = !1;
16
16
  try {
17
17
  p = this instanceof i;
18
18
  } catch {
19
19
  }
20
- return p ? Reflect.construct(s, arguments, this.constructor) : s.apply(this, arguments);
20
+ return p ? Reflect.construct(u, arguments, this.constructor) : u.apply(this, arguments);
21
21
  };
22
- n.prototype = s.prototype;
22
+ n.prototype = u.prototype;
23
23
  } else n = {};
24
24
  return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(i) {
25
25
  var p = Object.getOwnPropertyDescriptor(e, i);
@@ -36,13 +36,13 @@ var mt;
36
36
  function gl() {
37
37
  if (mt) return Ua;
38
38
  mt = 1;
39
- var e = xa, s = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
- function C(c, u, a) {
39
+ var e = xa, u = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
+ function C(c, s, a) {
41
41
  var t, o = {}, l = null, r = null;
42
- a !== void 0 && (l = "" + a), u.key !== void 0 && (l = "" + u.key), u.ref !== void 0 && (r = u.ref);
43
- for (t in u) i.call(u, t) && !g.hasOwnProperty(t) && (o[t] = u[t]);
44
- if (c && c.defaultProps) for (t in u = c.defaultProps, u) o[t] === void 0 && (o[t] = u[t]);
45
- return { $$typeof: s, type: c, key: l, ref: r, props: o, _owner: p.current };
42
+ a !== void 0 && (l = "" + a), s.key !== void 0 && (l = "" + s.key), s.ref !== void 0 && (r = s.ref);
43
+ for (t in s) i.call(s, t) && !g.hasOwnProperty(t) && (o[t] = s[t]);
44
+ if (c && c.defaultProps) for (t in s = c.defaultProps, s) o[t] === void 0 && (o[t] = s[t]);
45
+ return { $$typeof: u, type: c, key: l, ref: r, props: o, _owner: p.current };
46
46
  }
47
47
  return Ua.Fragment = n, Ua.jsx = C, Ua.jsxs = C, Ua;
48
48
  }
@@ -50,7 +50,7 @@ var ya = {};
50
50
  var st;
51
51
  function dl() {
52
52
  return st || (st = 1, process.env.NODE_ENV !== "production" && (function() {
53
- var e = xa, s = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), r = Symbol.for("react.offscreen"), m = Symbol.iterator, _ = "@@iterator";
53
+ var e = xa, u = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), c = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), r = Symbol.for("react.offscreen"), m = Symbol.iterator, _ = "@@iterator";
54
54
  function f(T) {
55
55
  if (T === null || typeof T != "object")
56
56
  return null;
@@ -78,7 +78,7 @@ function dl() {
78
78
  var b = !1, v = !1, h = !1, x = !1, D = !1, O;
79
79
  O = Symbol.for("react.module.reference");
80
80
  function k(T) {
81
- return !!(typeof T == "string" || typeof T == "function" || T === i || T === g || D || T === p || T === a || T === t || x || T === r || b || v || h || typeof T == "object" && T !== null && (T.$$typeof === l || T.$$typeof === o || T.$$typeof === C || T.$$typeof === c || T.$$typeof === u || // This needs to include all possible module reference object
81
+ return !!(typeof T == "string" || typeof T == "function" || T === i || T === g || D || T === p || T === a || T === t || x || T === r || b || v || h || typeof T == "object" && T !== null && (T.$$typeof === l || T.$$typeof === o || T.$$typeof === C || T.$$typeof === c || T.$$typeof === s || // This needs to include all possible module reference object
82
82
  // types supported by any Flight configuration anywhere since
83
83
  // we don't know which Flight build this will end up being used
84
84
  // with.
@@ -123,7 +123,7 @@ function dl() {
123
123
  case C:
124
124
  var V = T;
125
125
  return P(V._context) + ".Provider";
126
- case u:
126
+ case s:
127
127
  return S(T, T.render, "ForwardRef");
128
128
  case o:
129
129
  var I = T.displayName || null;
@@ -313,7 +313,7 @@ function dl() {
313
313
  }
314
314
  if (typeof T == "object")
315
315
  switch (T.$$typeof) {
316
- case u:
316
+ case s:
317
317
  return oe(T.render);
318
318
  case o:
319
319
  return Re(T.type, H, V);
@@ -428,7 +428,7 @@ function dl() {
428
428
  var Li = function(T, H, V, I, ee, ae, Y) {
429
429
  var j = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
- $$typeof: s,
431
+ $$typeof: u,
432
432
  // Built-in properties that belong on the element
433
433
  type: T,
434
434
  key: H,
@@ -483,7 +483,7 @@ function dl() {
483
483
  var fa;
484
484
  fa = !1;
485
485
  function ra(T) {
486
- return typeof T == "object" && T !== null && T.$$typeof === s;
486
+ return typeof T == "object" && T !== null && T.$$typeof === u;
487
487
  }
488
488
  function La() {
489
489
  {
@@ -553,7 +553,7 @@ Check the top-level render call using <` + V + ">.");
553
553
  var V;
554
554
  if (typeof H == "function")
555
555
  V = H.propTypes;
556
- else if (typeof H == "object" && (H.$$typeof === u || // Note: Memo only checks outer props here.
556
+ else if (typeof H == "object" && (H.$$typeof === s || // Note: Memo only checks outer props here.
557
557
  // Inner props are checked in the reconciler.
558
558
  H.$$typeof === o))
559
559
  V = H.propTypes;
@@ -592,7 +592,7 @@ Check the top-level render call using <` + V + ">.");
592
592
  var ye = Mi();
593
593
  ye ? j += ye : j += La();
594
594
  var le;
595
- T === null ? le = "null" : de(T) ? le = "array" : T !== void 0 && T.$$typeof === s ? (le = "<" + (G(T.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : le = typeof T, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, j);
595
+ T === null ? le = "null" : de(T) ? le = "array" : T !== void 0 && T.$$typeof === u ? (le = "<" + (G(T.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : le = typeof T, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, j);
596
596
  }
597
597
  var re = Gi(T, H, V, ee, ae);
598
598
  if (re == null)
@@ -651,17 +651,17 @@ const Tn = Ji(null), te = () => {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
653
  }, hn = Ji(null), fl = ({ children: e }) => {
654
- const [s, n] = il(ba.PENDING), i = ha(() => {
655
- const p = s === ba.READY, g = s === ba.PENDING;
654
+ const [u, n] = il(ba.PENDING), i = ha(() => {
655
+ const p = u === ba.READY, g = u === ba.PENDING;
656
656
  return {
657
- status: s,
657
+ status: u,
658
658
  setStatus: n,
659
659
  isReady: p,
660
660
  isPending: g,
661
661
  setAsReady: () => n(ba.READY),
662
662
  setAsPending: () => n(ba.PENDING)
663
663
  };
664
- }, [s]);
664
+ }, [u]);
665
665
  return /* @__PURE__ */ sa.jsx(hn.Provider, { value: i, children: e });
666
666
  }, kn = () => {
667
667
  const e = Ii(hn);
@@ -698,14 +698,14 @@ const Tn = Ji(null), te = () => {
698
698
  };
699
699
  function gt({
700
700
  baseURL: e,
701
- getToken: s,
701
+ getToken: u,
702
702
  timeoutMs: n = 15e3,
703
703
  lng: i = "tw",
704
704
  store: p,
705
705
  onError: g,
706
706
  formData: C = !1,
707
707
  currency: c,
708
- toasterOpen: u = !1
708
+ toasterOpen: s = !1
709
709
  } = {}) {
710
710
  const a = rl.create({
711
711
  baseURL: e,
@@ -715,8 +715,8 @@ function gt({
715
715
  }
716
716
  });
717
717
  return a.interceptors.request.use(async (t) => {
718
- if (t.headers = t.headers || {}, s) {
719
- const l = await s();
718
+ if (t.headers = t.headers || {}, u) {
719
+ const l = await u();
720
720
  l && (t.headers.Authorization = `Bearer ${l}`);
721
721
  }
722
722
  const o = p?.getState()?.isWalletCurrency || c || "TWD";
@@ -729,7 +729,7 @@ function gt({
729
729
  "response.data.message",
730
730
  "發生錯誤,請稍後再試。"
731
731
  );
732
- if (u) {
732
+ if (s) {
733
733
  const l = He(i);
734
734
  p?.dispatch({
735
735
  type: "ui/showToast",
@@ -753,7 +753,7 @@ const En = Ji(null), nm = () => {
753
753
  );
754
754
  return e;
755
755
  }, lm = () => {
756
- const e = (i, p) => !i && !p, s = (i) => i.startsWith("pc.");
756
+ const e = (i, p) => !i && !p, u = (i) => i.startsWith("pc.");
757
757
  return {
758
758
  executeLogout: ({
759
759
  isCallBackInvalid: i = !1,
@@ -761,49 +761,49 @@ const En = Ji(null), nm = () => {
761
761
  shouldRedirect: g,
762
762
  onShowError: C,
763
763
  onCleanup: c,
764
- onRemoveToken: u,
764
+ onRemoveToken: s,
765
765
  onRedirect: a,
766
766
  onGoogleLogout: t
767
767
  }) => {
768
- const o = s(p);
769
- e(i, o) && C?.(), c?.(), u?.(), g && a?.("/"), t?.();
768
+ const o = u(p);
769
+ e(i, o) && C?.(), c?.(), s?.(), g && a?.("/"), t?.();
770
770
  },
771
771
  shouldShowErrorNotice: e,
772
- isMachineDomain: s
772
+ isMachineDomain: u
773
773
  };
774
774
  }, rm = (e) => {
775
- let s = Number(e);
776
- return isNaN(s) ? e : new Intl.NumberFormat("en-US", {
775
+ let u = Number(e);
776
+ return isNaN(u) ? e : new Intl.NumberFormat("en-US", {
777
777
  style: "decimal",
778
778
  minimumFractionDigits: 2,
779
779
  maximumFractionDigits: 2
780
- }).format(s);
781
- }, Nn = (e = [], s) => Le(e, { gameTypeName: s })?.gameTypeUid, Ln = (e = [], s) => Le(e, { platform: s })?.platformUid, Gn = (e = [], s) => Le(e, { SubPlatformEnum: s }), Mn = (e = [], s, n) => se(e) ? [] : e.filter((i) => n ? String(i?.SubPlatformEnumUid) === String(n?.SubPlatformEnumUid) : String(i.platformUid) === String(s)), _l = (e = []) => se(e) ? {} : e.reduce((s, n) => {
780
+ }).format(u);
781
+ }, Nn = (e = [], u) => Le(e, { gameTypeName: u })?.gameTypeUid, Ln = (e = [], u) => Le(e, { platform: u })?.platformUid, Gn = (e = [], u) => Le(e, { SubPlatformEnum: u }), Mn = (e = [], u, n) => se(e) ? [] : e.filter((i) => n ? String(i?.SubPlatformEnumUid) === String(n?.SubPlatformEnumUid) : String(i.platformUid) === String(u)), _l = (e = []) => se(e) ? {} : e.reduce((u, n) => {
782
782
  const i = n?.game_subtype || "UNKNOWN";
783
- return s[i] || (s[i] = []), s[i].push(n), s;
783
+ return u[i] || (u[i] = []), u[i].push(n), u;
784
784
  }, {}), Ul = ({
785
785
  gameTypeName: e,
786
- platforms: s,
786
+ platforms: u,
787
787
  gameList: n,
788
788
  allGameTypes: i,
789
789
  allPlatforms: p
790
790
  }) => {
791
791
  const g = Nn(i, e);
792
- return g ? s.reduce((C, c) => {
793
- const u = Ln(p, c), a = Gn(p, c), t = n[g] || [], o = Mn(
792
+ return g ? u.reduce((C, c) => {
793
+ const s = Ln(p, c), a = Gn(p, c), t = n[g] || [], o = Mn(
794
794
  t,
795
- u,
795
+ s,
796
796
  a
797
797
  );
798
798
  return se(o) || (C[c] = o), C;
799
799
  }, {}) : {};
800
800
  }, yl = ({
801
801
  platformName: e,
802
- gamesOfType: s = [],
802
+ gamesOfType: u = [],
803
803
  allPlatforms: n = []
804
804
  }) => {
805
805
  const i = Ln(n, e), p = Gn(n, e), g = Mn(
806
- s,
806
+ u,
807
807
  i,
808
808
  p
809
809
  );
@@ -811,11 +811,11 @@ const En = Ji(null), nm = () => {
811
811
  };
812
812
  var Ha = { exports: {} }, bl = Ha.exports, dt;
813
813
  function Cl() {
814
- return dt || (dt = 1, (function(e, s) {
814
+ return dt || (dt = 1, (function(e, u) {
815
815
  (function(n, i) {
816
816
  e.exports = i();
817
817
  })(bl, (function() {
818
- var n = 1e3, i = 6e4, p = 36e5, g = "millisecond", C = "second", c = "minute", u = "hour", a = "day", t = "week", o = "month", l = "quarter", r = "year", m = "date", _ = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = { 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) {
818
+ var n = 1e3, i = 6e4, p = 36e5, g = "millisecond", C = "second", c = "minute", s = "hour", a = "day", t = "week", o = "month", l = "quarter", r = "year", m = "date", _ = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
819
819
  var M = ["th", "st", "nd", "rd"], R = w % 100;
820
820
  return "[" + w + (M[(R - 20) % 10] || M[R] || M[0]) + "]";
821
821
  } }, y = function(w, M, R) {
@@ -831,7 +831,7 @@ function Cl() {
831
831
  }, a: function(w) {
832
832
  return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
833
833
  }, p: function(w) {
834
- return { M: o, y: r, w: t, d: a, D: m, h: u, m: c, s: C, ms: g, Q: l }[w] || String(w || "").toLowerCase().replace(/s$/, "");
834
+ return { M: o, y: r, w: t, d: a, D: m, h: s, m: c, s: C, ms: g, Q: l }[w] || String(w || "").toLowerCase().replace(/s$/, "");
835
835
  }, u: function(w) {
836
836
  return w === void 0;
837
837
  } }, v = "en", h = {};
@@ -917,7 +917,7 @@ function Cl() {
917
917
  case a:
918
918
  case m:
919
919
  return L(q + "Hours", 0);
920
- case u:
920
+ case s:
921
921
  return L(q + "Minutes", 1);
922
922
  case c:
923
923
  return L(q + "Seconds", 2);
@@ -929,7 +929,7 @@ function Cl() {
929
929
  }, M.endOf = function(R) {
930
930
  return this.startOf(R, !1);
931
931
  }, M.$set = function(R, z) {
932
- var A, B = S.p(R), W = "set" + (this.$u ? "UTC" : ""), E = (A = {}, A[a] = W + "Date", A[m] = W + "Date", A[o] = W + "Month", A[r] = W + "FullYear", A[u] = W + "Hours", A[c] = W + "Minutes", A[C] = W + "Seconds", A[g] = W + "Milliseconds", A)[B], L = B === a ? this.$D + (z - this.$W) : z;
932
+ var A, B = S.p(R), W = "set" + (this.$u ? "UTC" : ""), E = (A = {}, A[a] = W + "Date", A[m] = W + "Date", A[o] = W + "Month", A[r] = W + "FullYear", A[s] = W + "Hours", A[c] = W + "Minutes", A[C] = W + "Seconds", A[g] = W + "Milliseconds", A)[B], L = B === a ? this.$D + (z - this.$W) : z;
933
933
  if (B === o || B === r) {
934
934
  var F = this.clone().set(m, 1);
935
935
  F.$d[E](L), F.init(), this.$d = F.set(m, Math.min(this.$D, F.daysInMonth())).$d;
@@ -950,7 +950,7 @@ function Cl() {
950
950
  if (W === r) return this.set(r, this.$y + R);
951
951
  if (W === a) return E(1);
952
952
  if (W === t) return E(7);
953
- var L = (A = {}, A[c] = i, A[u] = p, A[C] = n, A)[W] || 1, F = this.$d.getTime() + R * L;
953
+ var L = (A = {}, A[c] = i, A[s] = p, A[C] = n, A)[W] || 1, F = this.$d.getTime() + R * L;
954
954
  return S.w(F, this);
955
955
  }, M.subtract = function(R, z) {
956
956
  return this.add(-1 * R, z);
@@ -1042,7 +1042,7 @@ function Cl() {
1042
1042
  case a:
1043
1043
  B = (N - F) / 864e5;
1044
1044
  break;
1045
- case u:
1045
+ case s:
1046
1046
  B = N / p;
1047
1047
  break;
1048
1048
  case c:
@@ -1075,7 +1075,7 @@ function Cl() {
1075
1075
  return this.$d.toUTCString();
1076
1076
  }, w;
1077
1077
  })(), G = P.prototype;
1078
- return k.prototype = G, [["$ms", g], ["$s", C], ["$m", c], ["$H", u], ["$W", a], ["$M", o], ["$y", r], ["$D", m]].forEach((function(w) {
1078
+ return k.prototype = G, [["$ms", g], ["$s", C], ["$m", c], ["$H", s], ["$W", a], ["$M", o], ["$y", r], ["$D", m]].forEach((function(w) {
1079
1079
  G[w[1]] = function(M) {
1080
1080
  return this.$g(M, w[0], w[1]);
1081
1081
  };
@@ -1100,7 +1100,7 @@ const hl = {}, kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1100
1100
  }, Symbol.toStringTag, { value: "Module" })), xl = /* @__PURE__ */ pl(kl);
1101
1101
  var Sl = za.exports, ct;
1102
1102
  function $() {
1103
- return ct || (ct = 1, (function(e, s) {
1103
+ return ct || (ct = 1, (function(e, u) {
1104
1104
  (function(n, i) {
1105
1105
  e.exports = i();
1106
1106
  })(Sl, function() {
@@ -1132,7 +1132,7 @@ function $() {
1132
1132
  var b;
1133
1133
  return d.prototype = y, b = new d(), d.prototype = null, b;
1134
1134
  };
1135
- })(), u = {}, a = u.lib = {}, t = a.Base = /* @__PURE__ */ (function() {
1135
+ })(), s = {}, a = s.lib = {}, t = a.Base = /* @__PURE__ */ (function() {
1136
1136
  return {
1137
1137
  /**
1138
1138
  * Creates a new object that inherits from this object.
@@ -1314,7 +1314,7 @@ function $() {
1314
1314
  y.push(C());
1315
1315
  return new o.init(y, d);
1316
1316
  }
1317
- }), l = u.enc = {}, r = l.Hex = {
1317
+ }), l = s.enc = {}, r = l.Hex = {
1318
1318
  /**
1319
1319
  * Converts a word array to a hex string.
1320
1320
  *
@@ -1592,8 +1592,8 @@ function $() {
1592
1592
  };
1593
1593
  }
1594
1594
  });
1595
- var U = u.algo = {};
1596
- return u;
1595
+ var U = s.algo = {};
1596
+ return s;
1597
1597
  })(Math);
1598
1598
  return n;
1599
1599
  });
@@ -1601,13 +1601,13 @@ function $() {
1601
1601
  }
1602
1602
  var Va = { exports: {} }, Dl = Va.exports, ft;
1603
1603
  function Si() {
1604
- return ft || (ft = 1, (function(e, s) {
1604
+ return ft || (ft = 1, (function(e, u) {
1605
1605
  (function(n, i) {
1606
1606
  e.exports = i($());
1607
1607
  })(Dl, function(n) {
1608
1608
  return (function(i) {
1609
- var p = n, g = p.lib, C = g.Base, c = g.WordArray, u = p.x64 = {};
1610
- u.Word = C.extend({
1609
+ var p = n, g = p.lib, C = g.Base, c = g.WordArray, s = p.x64 = {};
1610
+ s.Word = C.extend({
1611
1611
  /**
1612
1612
  * Initializes a newly created 64-bit word.
1613
1613
  *
@@ -1770,7 +1770,7 @@ function Si() {
1770
1770
  // var high = (this.high + word.high + carry) | 0;
1771
1771
  // return X64Word.create(high, low);
1772
1772
  // }
1773
- }), u.WordArray = C.extend({
1773
+ }), s.WordArray = C.extend({
1774
1774
  /**
1775
1775
  * Initializes a newly created word array.
1776
1776
  *
@@ -1831,16 +1831,16 @@ function Si() {
1831
1831
  }
1832
1832
  var Za = { exports: {} }, El = Za.exports, _t;
1833
1833
  function Nl() {
1834
- return _t || (_t = 1, (function(e, s) {
1834
+ return _t || (_t = 1, (function(e, u) {
1835
1835
  (function(n, i) {
1836
1836
  e.exports = i($());
1837
1837
  })(El, function(n) {
1838
1838
  return (function() {
1839
1839
  if (typeof ArrayBuffer == "function") {
1840
- var i = n, p = i.lib, g = p.WordArray, C = g.init, c = g.init = function(u) {
1841
- if (u instanceof ArrayBuffer && (u = new Uint8Array(u)), (u instanceof Int8Array || typeof Uint8ClampedArray < "u" && u instanceof Uint8ClampedArray || u instanceof Int16Array || u instanceof Uint16Array || u instanceof Int32Array || u instanceof Uint32Array || u instanceof Float32Array || u instanceof Float64Array) && (u = new Uint8Array(u.buffer, u.byteOffset, u.byteLength)), u instanceof Uint8Array) {
1842
- for (var a = u.byteLength, t = [], o = 0; o < a; o++)
1843
- t[o >>> 2] |= u[o] << 24 - o % 4 * 8;
1840
+ var i = n, p = i.lib, g = p.WordArray, C = g.init, c = g.init = function(s) {
1841
+ if (s instanceof ArrayBuffer && (s = new Uint8Array(s)), (s instanceof Int8Array || typeof Uint8ClampedArray < "u" && s instanceof Uint8ClampedArray || s instanceof Int16Array || s instanceof Uint16Array || s instanceof Int32Array || s instanceof Uint32Array || s instanceof Float32Array || s instanceof Float64Array) && (s = new Uint8Array(s.buffer, s.byteOffset, s.byteLength)), s instanceof Uint8Array) {
1842
+ for (var a = s.byteLength, t = [], o = 0; o < a; o++)
1843
+ t[o >>> 2] |= s[o] << 24 - o % 4 * 8;
1844
1844
  C.call(this, t, a);
1845
1845
  } else
1846
1846
  C.apply(this, arguments);
@@ -1853,7 +1853,7 @@ function Nl() {
1853
1853
  }
1854
1854
  var Ja = { exports: {} }, Ll = Ja.exports, Ut;
1855
1855
  function Gl() {
1856
- return Ut || (Ut = 1, (function(e, s) {
1856
+ return Ut || (Ut = 1, (function(e, u) {
1857
1857
  (function(n, i) {
1858
1858
  e.exports = i($());
1859
1859
  })(Ll, function(n) {
@@ -1873,8 +1873,8 @@ function Gl() {
1873
1873
  *
1874
1874
  * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
1875
1875
  */
1876
- stringify: function(u) {
1877
- for (var a = u.words, t = u.sigBytes, o = [], l = 0; l < t; l += 2) {
1876
+ stringify: function(s) {
1877
+ for (var a = s.words, t = s.sigBytes, o = [], l = 0; l < t; l += 2) {
1878
1878
  var r = a[l >>> 2] >>> 16 - l % 4 * 8 & 65535;
1879
1879
  o.push(String.fromCharCode(r));
1880
1880
  }
@@ -1893,9 +1893,9 @@ function Gl() {
1893
1893
  *
1894
1894
  * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
1895
1895
  */
1896
- parse: function(u) {
1897
- for (var a = u.length, t = [], o = 0; o < a; o++)
1898
- t[o >>> 1] |= u.charCodeAt(o) << 16 - o % 2 * 16;
1896
+ parse: function(s) {
1897
+ for (var a = s.length, t = [], o = 0; o < a; o++)
1898
+ t[o >>> 1] |= s.charCodeAt(o) << 16 - o % 2 * 16;
1899
1899
  return g.create(t, a * 2);
1900
1900
  }
1901
1901
  }, C.Utf16LE = {
@@ -1912,8 +1912,8 @@ function Gl() {
1912
1912
  *
1913
1913
  * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
1914
1914
  */
1915
- stringify: function(u) {
1916
- for (var a = u.words, t = u.sigBytes, o = [], l = 0; l < t; l += 2) {
1915
+ stringify: function(s) {
1916
+ for (var a = s.words, t = s.sigBytes, o = [], l = 0; l < t; l += 2) {
1917
1917
  var r = c(a[l >>> 2] >>> 16 - l % 4 * 8 & 65535);
1918
1918
  o.push(String.fromCharCode(r));
1919
1919
  }
@@ -1932,14 +1932,14 @@ function Gl() {
1932
1932
  *
1933
1933
  * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
1934
1934
  */
1935
- parse: function(u) {
1936
- for (var a = u.length, t = [], o = 0; o < a; o++)
1937
- t[o >>> 1] |= c(u.charCodeAt(o) << 16 - o % 2 * 16);
1935
+ parse: function(s) {
1936
+ for (var a = s.length, t = [], o = 0; o < a; o++)
1937
+ t[o >>> 1] |= c(s.charCodeAt(o) << 16 - o % 2 * 16);
1938
1938
  return g.create(t, a * 2);
1939
1939
  }
1940
1940
  };
1941
- function c(u) {
1942
- return u << 8 & 4278255360 | u >>> 8 & 16711935;
1941
+ function c(s) {
1942
+ return s << 8 & 4278255360 | s >>> 8 & 16711935;
1943
1943
  }
1944
1944
  })(), n.enc.Utf16;
1945
1945
  });
@@ -1947,7 +1947,7 @@ function Gl() {
1947
1947
  }
1948
1948
  var Ia = { exports: {} }, Ml = Ia.exports, yt;
1949
1949
  function ia() {
1950
- return yt || (yt = 1, (function(e, s) {
1950
+ return yt || (yt = 1, (function(e, u) {
1951
1951
  (function(n, i) {
1952
1952
  e.exports = i($());
1953
1953
  })(Ml, function(n) {
@@ -1967,9 +1967,9 @@ function ia() {
1967
1967
  *
1968
1968
  * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
1969
1969
  */
1970
- stringify: function(u) {
1971
- var a = u.words, t = u.sigBytes, o = this._map;
1972
- u.clamp();
1970
+ stringify: function(s) {
1971
+ var a = s.words, t = s.sigBytes, o = this._map;
1972
+ s.clamp();
1973
1973
  for (var l = [], r = 0; r < t; r += 3)
1974
1974
  for (var m = a[r >>> 2] >>> 24 - r % 4 * 8 & 255, _ = a[r + 1 >>> 2] >>> 24 - (r + 1) % 4 * 8 & 255, f = a[r + 2 >>> 2] >>> 24 - (r + 2) % 4 * 8 & 255, U = m << 16 | _ << 8 | f, d = 0; d < 4 && r + d * 0.75 < t; d++)
1975
1975
  l.push(o.charAt(U >>> 6 * (3 - d) & 63));
@@ -1992,8 +1992,8 @@ function ia() {
1992
1992
  *
1993
1993
  * var wordArray = CryptoJS.enc.Base64.parse(base64String);
1994
1994
  */
1995
- parse: function(u) {
1996
- var a = u.length, t = this._map, o = this._reverseMap;
1995
+ parse: function(s) {
1996
+ var a = s.length, t = this._map, o = this._reverseMap;
1997
1997
  if (!o) {
1998
1998
  o = this._reverseMap = [];
1999
1999
  for (var l = 0; l < t.length; l++)
@@ -2001,17 +2001,17 @@ function ia() {
2001
2001
  }
2002
2002
  var r = t.charAt(64);
2003
2003
  if (r) {
2004
- var m = u.indexOf(r);
2004
+ var m = s.indexOf(r);
2005
2005
  m !== -1 && (a = m);
2006
2006
  }
2007
- return c(u, a, o);
2007
+ return c(s, a, o);
2008
2008
  },
2009
2009
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
2010
2010
  };
2011
- function c(u, a, t) {
2011
+ function c(s, a, t) {
2012
2012
  for (var o = [], l = 0, r = 0; r < a; r++)
2013
2013
  if (r % 4) {
2014
- var m = t[u.charCodeAt(r - 1)] << r % 4 * 2, _ = t[u.charCodeAt(r)] >>> 6 - r % 4 * 2, f = m | _;
2014
+ var m = t[s.charCodeAt(r - 1)] << r % 4 * 2, _ = t[s.charCodeAt(r)] >>> 6 - r % 4 * 2, f = m | _;
2015
2015
  o[l >>> 2] |= f << 24 - l % 4 * 8, l++;
2016
2016
  }
2017
2017
  return g.create(o, l);
@@ -2022,7 +2022,7 @@ function ia() {
2022
2022
  }
2023
2023
  var Ka = { exports: {} }, Rl = Ka.exports, bt;
2024
2024
  function Pl() {
2025
- return bt || (bt = 1, (function(e, s) {
2025
+ return bt || (bt = 1, (function(e, u) {
2026
2026
  (function(n, i) {
2027
2027
  e.exports = i($());
2028
2028
  })(Rl, function(n) {
@@ -2044,10 +2044,10 @@ function Pl() {
2044
2044
  *
2045
2045
  * var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
2046
2046
  */
2047
- stringify: function(u, a) {
2047
+ stringify: function(s, a) {
2048
2048
  a === void 0 && (a = !0);
2049
- var t = u.words, o = u.sigBytes, l = a ? this._safe_map : this._map;
2050
- u.clamp();
2049
+ var t = s.words, o = s.sigBytes, l = a ? this._safe_map : this._map;
2050
+ s.clamp();
2051
2051
  for (var r = [], m = 0; m < o; m += 3)
2052
2052
  for (var _ = t[m >>> 2] >>> 24 - m % 4 * 8 & 255, f = t[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, U = t[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, d = _ << 16 | f << 8 | U, y = 0; y < 4 && m + y * 0.75 < o; y++)
2053
2053
  r.push(l.charAt(d >>> 6 * (3 - y) & 63));
@@ -2072,9 +2072,9 @@ function Pl() {
2072
2072
  *
2073
2073
  * var wordArray = CryptoJS.enc.Base64url.parse(base64String);
2074
2074
  */
2075
- parse: function(u, a) {
2075
+ parse: function(s, a) {
2076
2076
  a === void 0 && (a = !0);
2077
- var t = u.length, o = a ? this._safe_map : this._map, l = this._reverseMap;
2077
+ var t = s.length, o = a ? this._safe_map : this._map, l = this._reverseMap;
2078
2078
  if (!l) {
2079
2079
  l = this._reverseMap = [];
2080
2080
  for (var r = 0; r < o.length; r++)
@@ -2082,18 +2082,18 @@ function Pl() {
2082
2082
  }
2083
2083
  var m = o.charAt(64);
2084
2084
  if (m) {
2085
- var _ = u.indexOf(m);
2085
+ var _ = s.indexOf(m);
2086
2086
  _ !== -1 && (t = _);
2087
2087
  }
2088
- return c(u, t, l);
2088
+ return c(s, t, l);
2089
2089
  },
2090
2090
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
2091
2091
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
2092
2092
  };
2093
- function c(u, a, t) {
2093
+ function c(s, a, t) {
2094
2094
  for (var o = [], l = 0, r = 0; r < a; r++)
2095
2095
  if (r % 4) {
2096
- var m = t[u.charCodeAt(r - 1)] << r % 4 * 2, _ = t[u.charCodeAt(r)] >>> 6 - r % 4 * 2, f = m | _;
2096
+ var m = t[s.charCodeAt(r - 1)] << r % 4 * 2, _ = t[s.charCodeAt(r)] >>> 6 - r % 4 * 2, f = m | _;
2097
2097
  o[l >>> 2] |= f << 24 - l % 4 * 8, l++;
2098
2098
  }
2099
2099
  return g.create(o, l);
@@ -2104,17 +2104,17 @@ function Pl() {
2104
2104
  }
2105
2105
  var qa = { exports: {} }, Fl = qa.exports, Ct;
2106
2106
  function ta() {
2107
- return Ct || (Ct = 1, (function(e, s) {
2107
+ return Ct || (Ct = 1, (function(e, u) {
2108
2108
  (function(n, i) {
2109
2109
  e.exports = i($());
2110
2110
  })(Fl, function(n) {
2111
2111
  return (function(i) {
2112
- var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, u = p.algo, a = [];
2112
+ var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, s = p.algo, a = [];
2113
2113
  (function() {
2114
2114
  for (var _ = 0; _ < 64; _++)
2115
2115
  a[_] = i.abs(i.sin(_ + 1)) * 4294967296 | 0;
2116
2116
  })();
2117
- var t = u.MD5 = c.extend({
2117
+ var t = s.MD5 = c.extend({
2118
2118
  _doReset: function() {
2119
2119
  this._hash = new C.init([
2120
2120
  1732584193,
@@ -2170,12 +2170,12 @@ function ta() {
2170
2170
  }
2171
2171
  var ja = { exports: {} }, wl = ja.exports, vt;
2172
2172
  function Rn() {
2173
- return vt || (vt = 1, (function(e, s) {
2173
+ return vt || (vt = 1, (function(e, u) {
2174
2174
  (function(n, i) {
2175
2175
  e.exports = i($());
2176
2176
  })(wl, function(n) {
2177
2177
  return (function() {
2178
- var i = n, p = i.lib, g = p.WordArray, C = p.Hasher, c = i.algo, u = [], a = c.SHA1 = C.extend({
2178
+ var i = n, p = i.lib, g = p.WordArray, C = p.Hasher, c = i.algo, s = [], a = c.SHA1 = C.extend({
2179
2179
  _doReset: function() {
2180
2180
  this._hash = new g.init([
2181
2181
  1732584193,
@@ -2188,12 +2188,12 @@ function Rn() {
2188
2188
  _doProcessBlock: function(t, o) {
2189
2189
  for (var l = this._hash.words, r = l[0], m = l[1], _ = l[2], f = l[3], U = l[4], d = 0; d < 80; d++) {
2190
2190
  if (d < 16)
2191
- u[d] = t[o + d] | 0;
2191
+ s[d] = t[o + d] | 0;
2192
2192
  else {
2193
- var y = u[d - 3] ^ u[d - 8] ^ u[d - 14] ^ u[d - 16];
2194
- u[d] = y << 1 | y >>> 31;
2193
+ var y = s[d - 3] ^ s[d - 8] ^ s[d - 14] ^ s[d - 16];
2194
+ s[d] = y << 1 | y >>> 31;
2195
2195
  }
2196
- var b = (r << 5 | r >>> 27) + U + u[d];
2196
+ var b = (r << 5 | r >>> 27) + U + s[d];
2197
2197
  d < 20 ? b += (m & _ | ~m & f) + 1518500249 : d < 40 ? b += (m ^ _ ^ f) + 1859775393 : d < 60 ? b += (m & _ | m & f | _ & f) - 1894007588 : b += (m ^ _ ^ f) - 899497514, U = f, f = _, _ = m << 30 | m >>> 2, m = r, r = b;
2198
2198
  }
2199
2199
  l[0] = l[0] + r | 0, l[1] = l[1] + m | 0, l[2] = l[2] + _ | 0, l[3] = l[3] + f | 0, l[4] = l[4] + U | 0;
@@ -2214,12 +2214,12 @@ function Rn() {
2214
2214
  }
2215
2215
  var $a = { exports: {} }, Ol = $a.exports, Tt;
2216
2216
  function qi() {
2217
- return Tt || (Tt = 1, (function(e, s) {
2217
+ return Tt || (Tt = 1, (function(e, u) {
2218
2218
  (function(n, i) {
2219
2219
  e.exports = i($());
2220
2220
  })(Ol, function(n) {
2221
2221
  return (function(i) {
2222
- var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, u = p.algo, a = [], t = [];
2222
+ var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, s = p.algo, a = [], t = [];
2223
2223
  (function() {
2224
2224
  function r(U) {
2225
2225
  for (var d = i.sqrt(U), y = 2; y <= d; y++)
@@ -2233,7 +2233,7 @@ function qi() {
2233
2233
  for (var _ = 2, f = 0; f < 64; )
2234
2234
  r(_) && (f < 8 && (a[f] = m(i.pow(_, 1 / 2))), t[f] = m(i.pow(_, 1 / 3)), f++), _++;
2235
2235
  })();
2236
- var o = [], l = u.SHA256 = c.extend({
2236
+ var o = [], l = s.SHA256 = c.extend({
2237
2237
  _doReset: function() {
2238
2238
  this._hash = new C.init(a.slice(0));
2239
2239
  },
@@ -2266,12 +2266,12 @@ function qi() {
2266
2266
  }
2267
2267
  var Qa = { exports: {} }, Al = Qa.exports, ht;
2268
2268
  function Bl() {
2269
- return ht || (ht = 1, (function(e, s) {
2269
+ return ht || (ht = 1, (function(e, u) {
2270
2270
  (function(n, i, p) {
2271
2271
  e.exports = i($(), qi());
2272
2272
  })(Al, function(n) {
2273
2273
  return (function() {
2274
- var i = n, p = i.lib, g = p.WordArray, C = i.algo, c = C.SHA256, u = C.SHA224 = c.extend({
2274
+ var i = n, p = i.lib, g = p.WordArray, C = i.algo, c = C.SHA256, s = C.SHA224 = c.extend({
2275
2275
  _doReset: function() {
2276
2276
  this._hash = new g.init([
2277
2277
  3238371032,
@@ -2289,19 +2289,19 @@ function Bl() {
2289
2289
  return a.sigBytes -= 4, a;
2290
2290
  }
2291
2291
  });
2292
- i.SHA224 = c._createHelper(u), i.HmacSHA224 = c._createHmacHelper(u);
2292
+ i.SHA224 = c._createHelper(s), i.HmacSHA224 = c._createHmacHelper(s);
2293
2293
  })(), n.SHA224;
2294
2294
  });
2295
2295
  })(Qa)), Qa.exports;
2296
2296
  }
2297
2297
  var Ya = { exports: {} }, Hl = Ya.exports, kt;
2298
2298
  function Pn() {
2299
- return kt || (kt = 1, (function(e, s) {
2299
+ return kt || (kt = 1, (function(e, u) {
2300
2300
  (function(n, i, p) {
2301
2301
  e.exports = i($(), Si());
2302
2302
  })(Hl, function(n) {
2303
2303
  return (function() {
2304
- var i = n, p = i.lib, g = p.Hasher, C = i.x64, c = C.Word, u = C.WordArray, a = i.algo;
2304
+ var i = n, p = i.lib, g = p.Hasher, C = i.x64, c = C.Word, s = C.WordArray, a = i.algo;
2305
2305
  function t() {
2306
2306
  return c.create.apply(c, arguments);
2307
2307
  }
@@ -2393,7 +2393,7 @@ function Pn() {
2393
2393
  })();
2394
2394
  var r = a.SHA512 = g.extend({
2395
2395
  _doReset: function() {
2396
- this._hash = new u.init([
2396
+ this._hash = new s.init([
2397
2397
  new c.init(1779033703, 4089235720),
2398
2398
  new c.init(3144134277, 2227873595),
2399
2399
  new c.init(1013904242, 4271175723),
@@ -2437,12 +2437,12 @@ function Pn() {
2437
2437
  }
2438
2438
  var Xa = { exports: {} }, Wl = Xa.exports, xt;
2439
2439
  function zl() {
2440
- return xt || (xt = 1, (function(e, s) {
2440
+ return xt || (xt = 1, (function(e, u) {
2441
2441
  (function(n, i, p) {
2442
2442
  e.exports = i($(), Si(), Pn());
2443
2443
  })(Wl, function(n) {
2444
2444
  return (function() {
2445
- var i = n, p = i.x64, g = p.Word, C = p.WordArray, c = i.algo, u = c.SHA512, a = c.SHA384 = u.extend({
2445
+ var i = n, p = i.x64, g = p.Word, C = p.WordArray, c = i.algo, s = c.SHA512, a = c.SHA384 = s.extend({
2446
2446
  _doReset: function() {
2447
2447
  this._hash = new C.init([
2448
2448
  new g.init(3418070365, 3238371032),
@@ -2456,23 +2456,23 @@ function zl() {
2456
2456
  ]);
2457
2457
  },
2458
2458
  _doFinalize: function() {
2459
- var t = u._doFinalize.call(this);
2459
+ var t = s._doFinalize.call(this);
2460
2460
  return t.sigBytes -= 16, t;
2461
2461
  }
2462
2462
  });
2463
- i.SHA384 = u._createHelper(a), i.HmacSHA384 = u._createHmacHelper(a);
2463
+ i.SHA384 = s._createHelper(a), i.HmacSHA384 = s._createHmacHelper(a);
2464
2464
  })(), n.SHA384;
2465
2465
  });
2466
2466
  })(Xa)), Xa.exports;
2467
2467
  }
2468
2468
  var ei = { exports: {} }, Vl = ei.exports, St;
2469
2469
  function Zl() {
2470
- return St || (St = 1, (function(e, s) {
2470
+ return St || (St = 1, (function(e, u) {
2471
2471
  (function(n, i, p) {
2472
2472
  e.exports = i($(), Si());
2473
2473
  })(Vl, function(n) {
2474
2474
  return (function(i) {
2475
- var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, u = p.x64, a = u.Word, t = p.algo, o = [], l = [], r = [];
2475
+ var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, s = p.x64, a = s.Word, t = p.algo, o = [], l = [], r = [];
2476
2476
  (function() {
2477
2477
  for (var f = 1, U = 0, d = 0; d < 24; d++) {
2478
2478
  o[f + 5 * U] = (d + 1) * (d + 2) / 2 % 64;
@@ -2577,12 +2577,12 @@ function Zl() {
2577
2577
  }
2578
2578
  var ai = { exports: {} }, Jl = ai.exports, Dt;
2579
2579
  function Il() {
2580
- return Dt || (Dt = 1, (function(e, s) {
2580
+ return Dt || (Dt = 1, (function(e, u) {
2581
2581
  (function(n, i) {
2582
2582
  e.exports = i($());
2583
2583
  })(Jl, function(n) {
2584
2584
  return (function(i) {
2585
- var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, u = p.algo, a = C.create([
2585
+ var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, s = p.algo, a = C.create([
2586
2586
  0,
2587
2587
  1,
2588
2588
  2,
@@ -2906,7 +2906,7 @@ function Il() {
2906
2906
  13,
2907
2907
  11,
2908
2908
  11
2909
- ]), r = C.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = C.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), _ = u.RIPEMD160 = c.extend({
2909
+ ]), r = C.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = C.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), _ = s.RIPEMD160 = c.extend({
2910
2910
  _doReset: function() {
2911
2911
  this._hash = C.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2912
2912
  },
@@ -2960,13 +2960,13 @@ function Il() {
2960
2960
  }
2961
2961
  var ii = { exports: {} }, Kl = ii.exports, Et;
2962
2962
  function ji() {
2963
- return Et || (Et = 1, (function(e, s) {
2963
+ return Et || (Et = 1, (function(e, u) {
2964
2964
  (function(n, i) {
2965
2965
  e.exports = i($());
2966
2966
  })(Kl, function(n) {
2967
2967
  (function() {
2968
- var i = n, p = i.lib, g = p.Base, C = i.enc, c = C.Utf8, u = i.algo;
2969
- u.HMAC = g.extend({
2968
+ var i = n, p = i.lib, g = p.Base, C = i.enc, c = C.Utf8, s = i.algo;
2969
+ s.HMAC = g.extend({
2970
2970
  /**
2971
2971
  * Initializes a newly created HMAC.
2972
2972
  *
@@ -3038,12 +3038,12 @@ function ji() {
3038
3038
  }
3039
3039
  var ti = { exports: {} }, ql = ti.exports, Nt;
3040
3040
  function jl() {
3041
- return Nt || (Nt = 1, (function(e, s) {
3041
+ return Nt || (Nt = 1, (function(e, u) {
3042
3042
  (function(n, i, p) {
3043
3043
  e.exports = i($(), qi(), ji());
3044
3044
  })(ql, function(n) {
3045
3045
  return (function() {
3046
- var i = n, p = i.lib, g = p.Base, C = p.WordArray, c = i.algo, u = c.SHA256, a = c.HMAC, t = c.PBKDF2 = g.extend({
3046
+ var i = n, p = i.lib, g = p.Base, C = p.WordArray, c = i.algo, s = c.SHA256, a = c.HMAC, t = c.PBKDF2 = g.extend({
3047
3047
  /**
3048
3048
  * Configuration options.
3049
3049
  *
@@ -3053,7 +3053,7 @@ function jl() {
3053
3053
  */
3054
3054
  cfg: g.extend({
3055
3055
  keySize: 128 / 32,
3056
- hasher: u,
3056
+ hasher: s,
3057
3057
  iterations: 25e4
3058
3058
  }),
3059
3059
  /**
@@ -3105,12 +3105,12 @@ function jl() {
3105
3105
  }
3106
3106
  var ni = { exports: {} }, $l = ni.exports, Lt;
3107
3107
  function Je() {
3108
- return Lt || (Lt = 1, (function(e, s) {
3108
+ return Lt || (Lt = 1, (function(e, u) {
3109
3109
  (function(n, i, p) {
3110
3110
  e.exports = i($(), Rn(), ji());
3111
3111
  })($l, function(n) {
3112
3112
  return (function() {
3113
- var i = n, p = i.lib, g = p.Base, C = p.WordArray, c = i.algo, u = c.MD5, a = c.EvpKDF = g.extend({
3113
+ var i = n, p = i.lib, g = p.Base, C = p.WordArray, c = i.algo, s = c.MD5, a = c.EvpKDF = g.extend({
3114
3114
  /**
3115
3115
  * Configuration options.
3116
3116
  *
@@ -3120,7 +3120,7 @@ function Je() {
3120
3120
  */
3121
3121
  cfg: g.extend({
3122
3122
  keySize: 128 / 32,
3123
- hasher: u,
3123
+ hasher: s,
3124
3124
  iterations: 1
3125
3125
  }),
3126
3126
  /**
@@ -3168,14 +3168,14 @@ function Je() {
3168
3168
  }
3169
3169
  var li = { exports: {} }, Ql = li.exports, Gt;
3170
3170
  function ue() {
3171
- return Gt || (Gt = 1, (function(e, s) {
3171
+ return Gt || (Gt = 1, (function(e, u) {
3172
3172
  (function(n, i, p) {
3173
3173
  e.exports = i($(), Je());
3174
3174
  })(Ql, function(n) {
3175
3175
  n.lib.Cipher || (function(i) {
3176
- var p = n, g = p.lib, C = g.Base, c = g.WordArray, u = g.BufferedBlockAlgorithm, a = p.enc;
3176
+ var p = n, g = p.lib, C = g.Base, c = g.WordArray, s = g.BufferedBlockAlgorithm, a = p.enc;
3177
3177
  a.Utf8;
3178
- var t = a.Base64, o = p.algo, l = o.EvpKDF, r = g.Cipher = u.extend({
3178
+ var t = a.Base64, o = p.algo, l = o.EvpKDF, r = g.Cipher = s.extend({
3179
3179
  /**
3180
3180
  * Configuration options.
3181
3181
  *
@@ -3238,7 +3238,7 @@ function ue() {
3238
3238
  * cipher.reset();
3239
3239
  */
3240
3240
  reset: function() {
3241
- u.reset.call(this), this._doReset();
3241
+ s.reset.call(this), this._doReset();
3242
3242
  },
3243
3243
  /**
3244
3244
  * Adds data to be encrypted or decrypted.
@@ -3706,7 +3706,7 @@ function ue() {
3706
3706
  }
3707
3707
  var ri = { exports: {} }, Yl = ri.exports, Mt;
3708
3708
  function Xl() {
3709
- return Mt || (Mt = 1, (function(e, s) {
3709
+ return Mt || (Mt = 1, (function(e, u) {
3710
3710
  (function(n, i, p) {
3711
3711
  e.exports = i($(), ue());
3712
3712
  })(Yl, function(n) {
@@ -3714,18 +3714,18 @@ function Xl() {
3714
3714
  var i = n.lib.BlockCipherMode.extend();
3715
3715
  i.Encryptor = i.extend({
3716
3716
  processBlock: function(g, C) {
3717
- var c = this._cipher, u = c.blockSize;
3718
- p.call(this, g, C, u, c), this._prevBlock = g.slice(C, C + u);
3717
+ var c = this._cipher, s = c.blockSize;
3718
+ p.call(this, g, C, s, c), this._prevBlock = g.slice(C, C + s);
3719
3719
  }
3720
3720
  }), i.Decryptor = i.extend({
3721
3721
  processBlock: function(g, C) {
3722
- var c = this._cipher, u = c.blockSize, a = g.slice(C, C + u);
3723
- p.call(this, g, C, u, c), this._prevBlock = a;
3722
+ var c = this._cipher, s = c.blockSize, a = g.slice(C, C + s);
3723
+ p.call(this, g, C, s, c), this._prevBlock = a;
3724
3724
  }
3725
3725
  });
3726
- function p(g, C, c, u) {
3726
+ function p(g, C, c, s) {
3727
3727
  var a, t = this._iv;
3728
- t ? (a = t.slice(0), this._iv = void 0) : a = this._prevBlock, u.encryptBlock(a, 0);
3728
+ t ? (a = t.slice(0), this._iv = void 0) : a = this._prevBlock, s.encryptBlock(a, 0);
3729
3729
  for (var o = 0; o < c; o++)
3730
3730
  g[C + o] ^= a[o];
3731
3731
  }
@@ -3736,18 +3736,18 @@ function Xl() {
3736
3736
  }
3737
3737
  var oi = { exports: {} }, er = oi.exports, Rt;
3738
3738
  function ar() {
3739
- return Rt || (Rt = 1, (function(e, s) {
3739
+ return Rt || (Rt = 1, (function(e, u) {
3740
3740
  (function(n, i, p) {
3741
3741
  e.exports = i($(), ue());
3742
3742
  })(er, function(n) {
3743
3743
  return n.mode.CTR = (function() {
3744
3744
  var i = n.lib.BlockCipherMode.extend(), p = i.Encryptor = i.extend({
3745
3745
  processBlock: function(g, C) {
3746
- var c = this._cipher, u = c.blockSize, a = this._iv, t = this._counter;
3746
+ var c = this._cipher, s = c.blockSize, a = this._iv, t = this._counter;
3747
3747
  a && (t = this._counter = a.slice(0), this._iv = void 0);
3748
3748
  var o = t.slice(0);
3749
- c.encryptBlock(o, 0), t[u - 1] = t[u - 1] + 1 | 0;
3750
- for (var l = 0; l < u; l++)
3749
+ c.encryptBlock(o, 0), t[s - 1] = t[s - 1] + 1 | 0;
3750
+ for (var l = 0; l < s; l++)
3751
3751
  g[C + l] ^= o[l];
3752
3752
  }
3753
3753
  });
@@ -3758,7 +3758,7 @@ function ar() {
3758
3758
  }
3759
3759
  var mi = { exports: {} }, ir = mi.exports, Pt;
3760
3760
  function tr() {
3761
- return Pt || (Pt = 1, (function(e, s) {
3761
+ return Pt || (Pt = 1, (function(e, u) {
3762
3762
  (function(n, i, p) {
3763
3763
  e.exports = i($(), ue());
3764
3764
  })(ir, function(n) {
@@ -3766,8 +3766,8 @@ function tr() {
3766
3766
  var i = n.lib.BlockCipherMode.extend();
3767
3767
  function p(c) {
3768
3768
  if ((c >> 24 & 255) === 255) {
3769
- var u = c >> 16 & 255, a = c >> 8 & 255, t = c & 255;
3770
- u === 255 ? (u = 0, a === 255 ? (a = 0, t === 255 ? t = 0 : ++t) : ++a) : ++u, c = 0, c += u << 16, c += a << 8, c += t;
3769
+ var s = c >> 16 & 255, a = c >> 8 & 255, t = c & 255;
3770
+ s === 255 ? (s = 0, a === 255 ? (a = 0, t === 255 ? t = 0 : ++t) : ++a) : ++s, c = 0, c += s << 16, c += a << 8, c += t;
3771
3771
  } else
3772
3772
  c += 1 << 24;
3773
3773
  return c;
@@ -3776,13 +3776,13 @@ function tr() {
3776
3776
  return (c[0] = p(c[0])) === 0 && (c[1] = p(c[1])), c;
3777
3777
  }
3778
3778
  var C = i.Encryptor = i.extend({
3779
- processBlock: function(c, u) {
3779
+ processBlock: function(c, s) {
3780
3780
  var a = this._cipher, t = a.blockSize, o = this._iv, l = this._counter;
3781
3781
  o && (l = this._counter = o.slice(0), this._iv = void 0), g(l);
3782
3782
  var r = l.slice(0);
3783
3783
  a.encryptBlock(r, 0);
3784
3784
  for (var m = 0; m < t; m++)
3785
- c[u + m] ^= r[m];
3785
+ c[s + m] ^= r[m];
3786
3786
  }
3787
3787
  });
3788
3788
  return i.Decryptor = C, i;
@@ -3792,16 +3792,16 @@ function tr() {
3792
3792
  }
3793
3793
  var si = { exports: {} }, nr = si.exports, Ft;
3794
3794
  function lr() {
3795
- return Ft || (Ft = 1, (function(e, s) {
3795
+ return Ft || (Ft = 1, (function(e, u) {
3796
3796
  (function(n, i, p) {
3797
3797
  e.exports = i($(), ue());
3798
3798
  })(nr, function(n) {
3799
3799
  return n.mode.OFB = (function() {
3800
3800
  var i = n.lib.BlockCipherMode.extend(), p = i.Encryptor = i.extend({
3801
3801
  processBlock: function(g, C) {
3802
- var c = this._cipher, u = c.blockSize, a = this._iv, t = this._keystream;
3802
+ var c = this._cipher, s = c.blockSize, a = this._iv, t = this._keystream;
3803
3803
  a && (t = this._keystream = a.slice(0), this._iv = void 0), c.encryptBlock(t, 0);
3804
- for (var o = 0; o < u; o++)
3804
+ for (var o = 0; o < s; o++)
3805
3805
  g[C + o] ^= t[o];
3806
3806
  }
3807
3807
  });
@@ -3812,7 +3812,7 @@ function lr() {
3812
3812
  }
3813
3813
  var ui = { exports: {} }, rr = ui.exports, wt;
3814
3814
  function or() {
3815
- return wt || (wt = 1, (function(e, s) {
3815
+ return wt || (wt = 1, (function(e, u) {
3816
3816
  (function(n, i, p) {
3817
3817
  e.exports = i($(), ue());
3818
3818
  })(rr, function(n) {
@@ -3833,14 +3833,14 @@ function or() {
3833
3833
  }
3834
3834
  var pi = { exports: {} }, mr = pi.exports, Ot;
3835
3835
  function sr() {
3836
- return Ot || (Ot = 1, (function(e, s) {
3836
+ return Ot || (Ot = 1, (function(e, u) {
3837
3837
  (function(n, i, p) {
3838
3838
  e.exports = i($(), ue());
3839
3839
  })(mr, function(n) {
3840
3840
  return n.pad.AnsiX923 = {
3841
3841
  pad: function(i, p) {
3842
- var g = i.sigBytes, C = p * 4, c = C - g % C, u = g + c - 1;
3843
- i.clamp(), i.words[u >>> 2] |= c << 24 - u % 4 * 8, i.sigBytes += c;
3842
+ var g = i.sigBytes, C = p * 4, c = C - g % C, s = g + c - 1;
3843
+ i.clamp(), i.words[s >>> 2] |= c << 24 - s % 4 * 8, i.sigBytes += c;
3844
3844
  },
3845
3845
  unpad: function(i) {
3846
3846
  var p = i.words[i.sigBytes - 1 >>> 2] & 255;
@@ -3852,7 +3852,7 @@ function sr() {
3852
3852
  }
3853
3853
  var gi = { exports: {} }, ur = gi.exports, At;
3854
3854
  function pr() {
3855
- return At || (At = 1, (function(e, s) {
3855
+ return At || (At = 1, (function(e, u) {
3856
3856
  (function(n, i, p) {
3857
3857
  e.exports = i($(), ue());
3858
3858
  })(ur, function(n) {
@@ -3871,7 +3871,7 @@ function pr() {
3871
3871
  }
3872
3872
  var di = { exports: {} }, gr = di.exports, Bt;
3873
3873
  function dr() {
3874
- return Bt || (Bt = 1, (function(e, s) {
3874
+ return Bt || (Bt = 1, (function(e, u) {
3875
3875
  (function(n, i, p) {
3876
3876
  e.exports = i($(), ue());
3877
3877
  })(gr, function(n) {
@@ -3888,7 +3888,7 @@ function dr() {
3888
3888
  }
3889
3889
  var ci = { exports: {} }, cr = ci.exports, Ht;
3890
3890
  function fr() {
3891
- return Ht || (Ht = 1, (function(e, s) {
3891
+ return Ht || (Ht = 1, (function(e, u) {
3892
3892
  (function(n, i, p) {
3893
3893
  e.exports = i($(), ue());
3894
3894
  })(cr, function(n) {
@@ -3910,7 +3910,7 @@ function fr() {
3910
3910
  }
3911
3911
  var fi = { exports: {} }, _r = fi.exports, Wt;
3912
3912
  function Ur() {
3913
- return Wt || (Wt = 1, (function(e, s) {
3913
+ return Wt || (Wt = 1, (function(e, u) {
3914
3914
  (function(n, i, p) {
3915
3915
  e.exports = i($(), ue());
3916
3916
  })(_r, function(n) {
@@ -3925,12 +3925,12 @@ function Ur() {
3925
3925
  }
3926
3926
  var _i = { exports: {} }, yr = _i.exports, zt;
3927
3927
  function br() {
3928
- return zt || (zt = 1, (function(e, s) {
3928
+ return zt || (zt = 1, (function(e, u) {
3929
3929
  (function(n, i, p) {
3930
3930
  e.exports = i($(), ue());
3931
3931
  })(yr, function(n) {
3932
3932
  return (function(i) {
3933
- var p = n, g = p.lib, C = g.CipherParams, c = p.enc, u = c.Hex, a = p.format;
3933
+ var p = n, g = p.lib, C = g.CipherParams, c = p.enc, s = c.Hex, a = p.format;
3934
3934
  a.Hex = {
3935
3935
  /**
3936
3936
  * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
@@ -3946,7 +3946,7 @@ function br() {
3946
3946
  * var hexString = CryptoJS.format.Hex.stringify(cipherParams);
3947
3947
  */
3948
3948
  stringify: function(t) {
3949
- return t.ciphertext.toString(u);
3949
+ return t.ciphertext.toString(s);
3950
3950
  },
3951
3951
  /**
3952
3952
  * Converts a hexadecimally encoded ciphertext string to a cipher params object.
@@ -3962,7 +3962,7 @@ function br() {
3962
3962
  * var cipherParams = CryptoJS.format.Hex.parse(hexString);
3963
3963
  */
3964
3964
  parse: function(t) {
3965
- var o = u.parse(t);
3965
+ var o = s.parse(t);
3966
3966
  return C.create({ ciphertext: o });
3967
3967
  }
3968
3968
  };
@@ -3972,18 +3972,18 @@ function br() {
3972
3972
  }
3973
3973
  var Ui = { exports: {} }, Cr = Ui.exports, Vt;
3974
3974
  function vr() {
3975
- return Vt || (Vt = 1, (function(e, s) {
3975
+ return Vt || (Vt = 1, (function(e, u) {
3976
3976
  (function(n, i, p) {
3977
3977
  e.exports = i($(), ia(), ta(), Je(), ue());
3978
3978
  })(Cr, function(n) {
3979
3979
  return (function() {
3980
- var i = n, p = i.lib, g = p.BlockCipher, C = i.algo, c = [], u = [], a = [], t = [], o = [], l = [], r = [], m = [], _ = [], f = [];
3980
+ var i = n, p = i.lib, g = p.BlockCipher, C = i.algo, c = [], s = [], a = [], t = [], o = [], l = [], r = [], m = [], _ = [], f = [];
3981
3981
  (function() {
3982
3982
  for (var y = [], b = 0; b < 256; b++)
3983
3983
  b < 128 ? y[b] = b << 1 : y[b] = b << 1 ^ 283;
3984
3984
  for (var v = 0, h = 0, b = 0; b < 256; b++) {
3985
3985
  var x = h ^ h << 1 ^ h << 2 ^ h << 3 ^ h << 4;
3986
- x = x >>> 8 ^ x & 255 ^ 99, c[v] = x, u[x] = v;
3986
+ x = x >>> 8 ^ x & 255 ^ 99, c[v] = x, s[x] = v;
3987
3987
  var D = y[v], O = y[D], k = y[O], S = y[x] * 257 ^ x * 16843008;
3988
3988
  a[v] = S << 24 | S >>> 8, t[v] = S << 16 | S >>> 16, o[v] = S << 8 | S >>> 24, l[v] = S;
3989
3989
  var S = k * 16843009 ^ O * 65537 ^ D * 257 ^ v * 16843008;
@@ -4011,7 +4011,7 @@ function vr() {
4011
4011
  },
4012
4012
  decryptBlock: function(y, b) {
4013
4013
  var v = y[b + 1];
4014
- y[b + 1] = y[b + 3], y[b + 3] = v, this._doCryptBlock(y, b, this._invKeySchedule, r, m, _, f, u);
4014
+ y[b + 1] = y[b + 3], y[b + 3] = v, this._doCryptBlock(y, b, this._invKeySchedule, r, m, _, f, s);
4015
4015
  var v = y[b + 1];
4016
4016
  y[b + 1] = y[b + 3], y[b + 3] = v;
4017
4017
  },
@@ -4032,12 +4032,12 @@ function vr() {
4032
4032
  }
4033
4033
  var yi = { exports: {} }, Tr = yi.exports, Zt;
4034
4034
  function hr() {
4035
- return Zt || (Zt = 1, (function(e, s) {
4035
+ return Zt || (Zt = 1, (function(e, u) {
4036
4036
  (function(n, i, p) {
4037
4037
  e.exports = i($(), ia(), ta(), Je(), ue());
4038
4038
  })(Tr, function(n) {
4039
4039
  return (function() {
4040
- var i = n, p = i.lib, g = p.WordArray, C = p.BlockCipher, c = i.algo, u = [
4040
+ var i = n, p = i.lib, g = p.WordArray, C = p.BlockCipher, c = i.algo, s = [
4041
4041
  57,
4042
4042
  49,
4043
4043
  41,
@@ -4684,7 +4684,7 @@ function hr() {
4684
4684
  ], r = c.DES = C.extend({
4685
4685
  _doReset: function() {
4686
4686
  for (var U = this._key, d = U.words, y = [], b = 0; b < 56; b++) {
4687
- var v = u[b] - 1;
4687
+ var v = s[b] - 1;
4688
4688
  y[b] = d[v >>> 5] >>> 31 - v % 32 & 1;
4689
4689
  }
4690
4690
  for (var h = this._subKeys = [], x = 0; x < 16; x++) {
@@ -4752,7 +4752,7 @@ function hr() {
4752
4752
  }
4753
4753
  var bi = { exports: {} }, kr = bi.exports, Jt;
4754
4754
  function xr() {
4755
- return Jt || (Jt = 1, (function(e, s) {
4755
+ return Jt || (Jt = 1, (function(e, u) {
4756
4756
  (function(n, i, p) {
4757
4757
  e.exports = i($(), ia(), ta(), Je(), ue());
4758
4758
  })(kr, function(n) {
@@ -4770,12 +4770,12 @@ function xr() {
4770
4770
  this._i = this._j = 0;
4771
4771
  },
4772
4772
  _doProcessBlock: function(t, o) {
4773
- t[o] ^= u.call(this);
4773
+ t[o] ^= s.call(this);
4774
4774
  },
4775
4775
  keySize: 256 / 32,
4776
4776
  ivSize: 0
4777
4777
  });
4778
- function u() {
4778
+ function s() {
4779
4779
  for (var t = this._S, o = this._i, l = this._j, r = 0, m = 0; m < 4; m++) {
4780
4780
  o = (o + 1) % 256, l = (l + t[o]) % 256;
4781
4781
  var _ = t[o];
@@ -4796,7 +4796,7 @@ function xr() {
4796
4796
  _doReset: function() {
4797
4797
  c._doReset.call(this);
4798
4798
  for (var t = this.cfg.drop; t > 0; t--)
4799
- u.call(this);
4799
+ s.call(this);
4800
4800
  }
4801
4801
  });
4802
4802
  i.RC4Drop = g._createHelper(a);
@@ -4806,12 +4806,12 @@ function xr() {
4806
4806
  }
4807
4807
  var Ci = { exports: {} }, Sr = Ci.exports, It;
4808
4808
  function Dr() {
4809
- return It || (It = 1, (function(e, s) {
4809
+ return It || (It = 1, (function(e, u) {
4810
4810
  (function(n, i, p) {
4811
4811
  e.exports = i($(), ia(), ta(), Je(), ue());
4812
4812
  })(Sr, function(n) {
4813
4813
  return (function() {
4814
- var i = n, p = i.lib, g = p.StreamCipher, C = i.algo, c = [], u = [], a = [], t = C.Rabbit = g.extend({
4814
+ var i = n, p = i.lib, g = p.StreamCipher, C = i.algo, c = [], s = [], a = [], t = C.Rabbit = g.extend({
4815
4815
  _doReset: function() {
4816
4816
  for (var l = this._key.words, r = this.cfg.iv, m = 0; m < 4; m++)
4817
4817
  l[m] = (l[m] << 8 | l[m] >>> 24) & 16711935 | (l[m] << 24 | l[m] >>> 8) & 4278255360;
@@ -4857,8 +4857,8 @@ function Dr() {
4857
4857
  });
4858
4858
  function o() {
4859
4859
  for (var l = this._X, r = this._C, m = 0; m < 8; m++)
4860
- u[m] = r[m];
4861
- r[0] = r[0] + 1295307597 + this._b | 0, r[1] = r[1] + 3545052371 + (r[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, r[2] = r[2] + 886263092 + (r[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, r[3] = r[3] + 1295307597 + (r[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, r[4] = r[4] + 3545052371 + (r[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, r[5] = r[5] + 886263092 + (r[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, r[6] = r[6] + 1295307597 + (r[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, r[7] = r[7] + 3545052371 + (r[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = r[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
4860
+ s[m] = r[m];
4861
+ r[0] = r[0] + 1295307597 + this._b | 0, r[1] = r[1] + 3545052371 + (r[0] >>> 0 < s[0] >>> 0 ? 1 : 0) | 0, r[2] = r[2] + 886263092 + (r[1] >>> 0 < s[1] >>> 0 ? 1 : 0) | 0, r[3] = r[3] + 1295307597 + (r[2] >>> 0 < s[2] >>> 0 ? 1 : 0) | 0, r[4] = r[4] + 3545052371 + (r[3] >>> 0 < s[3] >>> 0 ? 1 : 0) | 0, r[5] = r[5] + 886263092 + (r[4] >>> 0 < s[4] >>> 0 ? 1 : 0) | 0, r[6] = r[6] + 1295307597 + (r[5] >>> 0 < s[5] >>> 0 ? 1 : 0) | 0, r[7] = r[7] + 3545052371 + (r[6] >>> 0 < s[6] >>> 0 ? 1 : 0) | 0, this._b = r[7] >>> 0 < s[7] >>> 0 ? 1 : 0;
4862
4862
  for (var m = 0; m < 8; m++) {
4863
4863
  var _ = l[m] + r[m], f = _ & 65535, U = _ >>> 16, d = ((f * f >>> 17) + f * U >>> 15) + U * U, y = ((_ & 4294901760) * _ | 0) + ((_ & 65535) * _ | 0);
4864
4864
  a[m] = d ^ y;
@@ -4872,12 +4872,12 @@ function Dr() {
4872
4872
  }
4873
4873
  var vi = { exports: {} }, Er = vi.exports, Kt;
4874
4874
  function Nr() {
4875
- return Kt || (Kt = 1, (function(e, s) {
4875
+ return Kt || (Kt = 1, (function(e, u) {
4876
4876
  (function(n, i, p) {
4877
4877
  e.exports = i($(), ia(), ta(), Je(), ue());
4878
4878
  })(Er, function(n) {
4879
4879
  return (function() {
4880
- var i = n, p = i.lib, g = p.StreamCipher, C = i.algo, c = [], u = [], a = [], t = C.RabbitLegacy = g.extend({
4880
+ var i = n, p = i.lib, g = p.StreamCipher, C = i.algo, c = [], s = [], a = [], t = C.RabbitLegacy = g.extend({
4881
4881
  _doReset: function() {
4882
4882
  var l = this._key.words, r = this.cfg.iv, m = this._X = [
4883
4883
  l[0],
@@ -4921,8 +4921,8 @@ function Nr() {
4921
4921
  });
4922
4922
  function o() {
4923
4923
  for (var l = this._X, r = this._C, m = 0; m < 8; m++)
4924
- u[m] = r[m];
4925
- r[0] = r[0] + 1295307597 + this._b | 0, r[1] = r[1] + 3545052371 + (r[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, r[2] = r[2] + 886263092 + (r[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, r[3] = r[3] + 1295307597 + (r[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, r[4] = r[4] + 3545052371 + (r[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, r[5] = r[5] + 886263092 + (r[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, r[6] = r[6] + 1295307597 + (r[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, r[7] = r[7] + 3545052371 + (r[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = r[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
4924
+ s[m] = r[m];
4925
+ r[0] = r[0] + 1295307597 + this._b | 0, r[1] = r[1] + 3545052371 + (r[0] >>> 0 < s[0] >>> 0 ? 1 : 0) | 0, r[2] = r[2] + 886263092 + (r[1] >>> 0 < s[1] >>> 0 ? 1 : 0) | 0, r[3] = r[3] + 1295307597 + (r[2] >>> 0 < s[2] >>> 0 ? 1 : 0) | 0, r[4] = r[4] + 3545052371 + (r[3] >>> 0 < s[3] >>> 0 ? 1 : 0) | 0, r[5] = r[5] + 886263092 + (r[4] >>> 0 < s[4] >>> 0 ? 1 : 0) | 0, r[6] = r[6] + 1295307597 + (r[5] >>> 0 < s[5] >>> 0 ? 1 : 0) | 0, r[7] = r[7] + 3545052371 + (r[6] >>> 0 < s[6] >>> 0 ? 1 : 0) | 0, this._b = r[7] >>> 0 < s[7] >>> 0 ? 1 : 0;
4926
4926
  for (var m = 0; m < 8; m++) {
4927
4927
  var _ = l[m] + r[m], f = _ & 65535, U = _ >>> 16, d = ((f * f >>> 17) + f * U >>> 15) + U * U, y = ((_ & 4294901760) * _ | 0) + ((_ & 65535) * _ | 0);
4928
4928
  a[m] = d ^ y;
@@ -4936,13 +4936,13 @@ function Nr() {
4936
4936
  }
4937
4937
  var Ti = { exports: {} }, Lr = Ti.exports, qt;
4938
4938
  function Gr() {
4939
- return qt || (qt = 1, (function(e, s) {
4939
+ return qt || (qt = 1, (function(e, u) {
4940
4940
  (function(n, i, p) {
4941
4941
  e.exports = i($(), ia(), ta(), Je(), ue());
4942
4942
  })(Lr, function(n) {
4943
4943
  return (function() {
4944
4944
  var i = n, p = i.lib, g = p.BlockCipher, C = i.algo;
4945
- const c = 16, u = [
4945
+ const c = 16, s = [
4946
4946
  608135816,
4947
4947
  2242054355,
4948
4948
  320440878,
@@ -6023,7 +6023,7 @@ function Gr() {
6023
6023
  }
6024
6024
  let y = 0;
6025
6025
  for (let x = 0; x < c + 2; x++)
6026
- f.pbox[x] = u[x] ^ U[y], y++, y >= d && (y = 0);
6026
+ f.pbox[x] = s[x] ^ U[y], y++, y >= d && (y = 0);
6027
6027
  let b = 0, v = 0, h = 0;
6028
6028
  for (let x = 0; x < c + 2; x += 2)
6029
6029
  h = l(f, b, v), b = h.left, v = h.right, f.pbox[x] = b, f.pbox[x + 1] = v;
@@ -6058,7 +6058,7 @@ function Gr() {
6058
6058
  }
6059
6059
  var Mr = Wa.exports, jt;
6060
6060
  function Rr() {
6061
- return jt || (jt = 1, (function(e, s) {
6061
+ return jt || (jt = 1, (function(e, u) {
6062
6062
  (function(n, i, p) {
6063
6063
  e.exports = i($(), Si(), Nl(), Gl(), ia(), Pl(), ta(), Rn(), qi(), Bl(), Pn(), zl(), Zl(), Il(), ji(), jl(), Je(), ue(), Xl(), ar(), tr(), lr(), or(), sr(), pr(), dr(), fr(), Ur(), br(), vr(), hr(), xr(), Dr(), Nr(), Gr());
6064
6064
  })(Mr, function(n) {
@@ -6068,7 +6068,7 @@ function Rr() {
6068
6068
  }
6069
6069
  var Fn = Rr();
6070
6070
  const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6071
- const s = "mySecretPassphrase", n = Qe.lib.WordArray.random(16), i = Qe.PBKDF2(s, n, {
6071
+ const u = "mySecretPassphrase", n = Qe.lib.WordArray.random(16), i = Qe.PBKDF2(u, n, {
6072
6072
  keySize: 128 / 32,
6073
6073
  iterations: 1e3
6074
6074
  }), p = Qe.AES.encrypt(e, i, {
@@ -6078,7 +6078,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6078
6078
  }), g = n.toString(Qe.enc.Base64), C = Qe.enc.Base64.stringify(p.ciphertext);
6079
6079
  return g + ":" + C;
6080
6080
  }, ge = () => {
6081
- const { client: e, formDataClient: s } = te(), n = J(
6081
+ const { client: e, formDataClient: u } = te(), n = J(
6082
6082
  async (b) => {
6083
6083
  const { mac_address: v = "", app_version: h = "", anydesk_id: x = "" } = b, { data: D } = await e.post("/cash-register/login", {
6084
6084
  mac_address: v,
@@ -6098,7 +6098,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6098
6098
  });
6099
6099
  },
6100
6100
  [e]
6101
- ), u = J(async () => await e.post("/logout"), [e]), a = J(
6101
+ ), s = J(async () => await e.post("/logout"), [e]), a = J(
6102
6102
  async (b) => {
6103
6103
  const { gameUid: v = "", status: h = 0 } = b;
6104
6104
  return await e.put(`/member/toggleFavoriteGame/${v}`, {
@@ -6199,9 +6199,9 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6199
6199
  id_card: k,
6200
6200
  id_pic: S
6201
6201
  } = b;
6202
- return await s.post("/bindBankAccount", b);
6202
+ return await u.post("/bindBankAccount", b);
6203
6203
  },
6204
- [s]
6204
+ [u]
6205
6205
  );
6206
6206
  return {
6207
6207
  machineLoginApi: n,
@@ -6210,7 +6210,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6210
6210
  userFavoriteGameApi: C,
6211
6211
  userCurrencyExchangeApi: g,
6212
6212
  userLoginApi: c,
6213
- userLogoutApi: u,
6213
+ userLogoutApi: s,
6214
6214
  addOrRemoveFavoriteGameApi: a,
6215
6215
  rankingGameApi: t,
6216
6216
  userSignUpApi: o,
@@ -6223,8 +6223,8 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6223
6223
  transferInGameApi: U,
6224
6224
  checkUserWagerApi: d
6225
6225
  };
6226
- }, om = ({ otherQueryKey: e = [], options: s = {} } = {}) => {
6227
- const { userCurrencyExchangeApi: n } = ge(), { getToken: i } = te(), { enabled: p, ...g } = s, c = !!i?.() && (p ? p.every((u) => u) : !0);
6226
+ }, om = ({ otherQueryKey: e = [], options: u = {} } = {}) => {
6227
+ const { userCurrencyExchangeApi: n } = ge(), { getToken: i } = te(), { enabled: p, ...g } = u, c = !!i?.() && (p ? p.every((s) => s) : !0);
6228
6228
  return Cn({
6229
6229
  queries: [
6230
6230
  {
@@ -6239,14 +6239,14 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6239
6239
  });
6240
6240
  }, mm = ({
6241
6241
  refetchInterval: e = 5e4,
6242
- trigger: s = [],
6242
+ trigger: u = [],
6243
6243
  enabled: n = !0
6244
6244
  } = {}) => {
6245
6245
  const { getToken: i } = te(), p = i?.(), { userInfoApi: g } = ge();
6246
6246
  return Cn({
6247
6247
  queries: [
6248
6248
  {
6249
- queryKey: ["getMemberInfo", ...s],
6249
+ queryKey: ["getMemberInfo", ...u],
6250
6250
  queryFn: async () => await g(),
6251
6251
  refetchInterval: e,
6252
6252
  enabled: !!p && n
@@ -6255,13 +6255,13 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6255
6255
  });
6256
6256
  }, sm = ({ enabled: e = !0 } = {}) => {
6257
6257
  const {
6258
- userInfoApi: s,
6258
+ userInfoApi: u,
6259
6259
  userFavoriteGameApi: n,
6260
6260
  userGameListApi: i,
6261
6261
  userCurrencyExchangeApi: p
6262
6262
  } = ge(), g = X({
6263
6263
  queryKey: ["getMemInfo"],
6264
- queryFn: async () => s(),
6264
+ queryFn: async () => u(),
6265
6265
  enabled: e
6266
6266
  }), C = X({
6267
6267
  queryKey: ["getFavoriteGame"],
@@ -6271,7 +6271,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6271
6271
  queryKey: ["getUserGameList"],
6272
6272
  queryFn: async () => i(),
6273
6273
  enabled: e && g.isSuccess && C.isSuccess
6274
- }), u = X({
6274
+ }), s = X({
6275
6275
  queryKey: ["getUserCurrencyExchange"],
6276
6276
  queryFn: async () => p(),
6277
6277
  enabled: e && g.isSuccess && C.isSuccess && c.isSuccess
@@ -6280,15 +6280,15 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6280
6280
  g,
6281
6281
  C,
6282
6282
  c,
6283
- u
6283
+ s
6284
6284
  ];
6285
6285
  }, $i = () => {
6286
- const { client: e, lng: s } = te(), n = He(s || "tw"), i = J(
6286
+ const { client: e, lng: u } = te(), n = He(u || "tw"), i = J(
6287
6287
  async (C) => {
6288
6288
  const {
6289
6289
  gameUid: c = "",
6290
6290
  // 遊戲唯一標識
6291
- gameCode: u = "",
6291
+ gameCode: s = "",
6292
6292
  // 遊戲代碼
6293
6293
  isMobile: a = !1,
6294
6294
  // 是否為行動裝置
@@ -6299,7 +6299,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6299
6299
  } = C;
6300
6300
  return await e.post("/game/go", {
6301
6301
  gameUid: c,
6302
- gameCode: u,
6302
+ gameCode: s,
6303
6303
  lang: n,
6304
6304
  is_mobile: a,
6305
6305
  currency_code: t,
@@ -6312,13 +6312,13 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6312
6312
  async (C) => {
6313
6313
  const {
6314
6314
  startDate: c = fe().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6315
- endDate: u = fe().format("YYYY-MM-DD 11:59:59"),
6315
+ endDate: s = fe().format("YYYY-MM-DD 11:59:59"),
6316
6316
  platform: a = "",
6317
6317
  limit: t = 25
6318
6318
  } = C, { data: o } = await e.get("/report/netprofit", {
6319
6319
  params: {
6320
6320
  str_date: c,
6321
- end_Date: u,
6321
+ end_Date: s,
6322
6322
  platform: a,
6323
6323
  limit: t
6324
6324
  }
@@ -6330,14 +6330,14 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6330
6330
  async (C) => {
6331
6331
  const {
6332
6332
  startDate: c = fe().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6333
- endDate: u = fe().format("YYYY-MM-DD 11:59:59"),
6333
+ endDate: s = fe().format("YYYY-MM-DD 11:59:59"),
6334
6334
  platform: a,
6335
6335
  limit: t = 25,
6336
6336
  page: o = 1
6337
6337
  } = C, { data: l } = await e.get("/report/betlog", {
6338
6338
  params: {
6339
6339
  str_date: c,
6340
- end_Date: u,
6340
+ end_Date: s,
6341
6341
  platform: a,
6342
6342
  limit: t,
6343
6343
  page: o
@@ -6348,22 +6348,22 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6348
6348
  [e]
6349
6349
  );
6350
6350
  return { playGameApi: i, betRecordApi: p, betRecordDetailApi: g };
6351
- }, Pr = ({ options: e, formData: s } = {}) => {
6351
+ }, Pr = ({ options: e, formData: u } = {}) => {
6352
6352
  const { betRecordApi: n } = $i();
6353
6353
  return X({
6354
6354
  queryKey: ["getBetRecord"],
6355
- queryFn: async () => await n(s),
6355
+ queryFn: async () => await n(u),
6356
6356
  select: (i) => vn(i).map(([g, C]) => ({
6357
6357
  ...C,
6358
6358
  platform: g
6359
6359
  })),
6360
6360
  ...e
6361
6361
  });
6362
- }, Fr = ({ options: e, formData: s } = {}) => {
6362
+ }, Fr = ({ options: e, formData: u } = {}) => {
6363
6363
  const { betRecordDetailApi: n } = $i();
6364
6364
  return X({
6365
6365
  queryKey: ["getBetRecordDetail"],
6366
- queryFn: async () => await n(s),
6366
+ queryFn: async () => await n(u),
6367
6367
  ...e
6368
6368
  });
6369
6369
  }, um = ({
@@ -6372,11 +6372,11 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6372
6372
  betRecordDetail: {}
6373
6373
  }
6374
6374
  }) => {
6375
- const s = Pr({ options: e.betRecord }), n = Fr({
6375
+ const u = Pr({ options: e.betRecord }), n = Fr({
6376
6376
  options: e.betRecordDetail
6377
6377
  });
6378
6378
  return {
6379
- betRecord: s,
6379
+ betRecord: u,
6380
6380
  betRecordDetail: n
6381
6381
  };
6382
6382
  };
@@ -6384,7 +6384,7 @@ var Ai = {}, ke = {}, Bi = {}, $t;
6384
6384
  function Me() {
6385
6385
  return $t || ($t = 1, (function(e) {
6386
6386
  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;
6387
- var s = 1, n = 1e3 * s;
6387
+ var u = 1, n = 1e3 * u;
6388
6388
  e.DEFAULT_OPTIONS = {}, e.EMPTY_EVENT_HANDLERS = {}, e.DEFAULT_EVENT_SOURCE_OPTIONS = {
6389
6389
  withCredentials: !1,
6390
6390
  events: e.EMPTY_EVENT_HANDLERS
@@ -6411,38 +6411,38 @@ var Ca = {}, Hi = {}, Qt;
6411
6411
  function Qi() {
6412
6412
  return Qt || (Qt = 1, (function(e) {
6413
6413
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
6414
- var s = function(n) {
6414
+ var u = function(n) {
6415
6415
  if (n && e.sharedWebSockets.hasOwnProperty(n))
6416
6416
  delete e.sharedWebSockets[n];
6417
6417
  else
6418
6418
  for (var i in e.sharedWebSockets)
6419
6419
  e.sharedWebSockets.hasOwnProperty(i) && delete e.sharedWebSockets[i];
6420
6420
  };
6421
- e.resetWebSockets = s;
6421
+ e.resetWebSockets = u;
6422
6422
  })(Hi)), Hi;
6423
6423
  }
6424
6424
  var Xe = {}, we = {}, Yt;
6425
6425
  function Yi() {
6426
6426
  if (Yt) return we;
6427
6427
  Yt = 1, Object.defineProperty(we, "__esModule", { value: !0 }), we.setUpSocketIOPing = we.appendQueryParams = we.parseSocketIOUrl = void 0;
6428
- var e = Me(), s = function(p) {
6428
+ var e = Me(), u = function(p) {
6429
6429
  if (p) {
6430
- var g = /^https|wss/.test(p), C = p.replace(/^(https?|wss?)(:\/\/)?/, ""), c = C.replace(/\/$/, ""), u = g ? "wss" : "ws";
6431
- return "".concat(u, "://").concat(c).concat(e.SOCKET_IO_PATH);
6430
+ var g = /^https|wss/.test(p), C = p.replace(/^(https?|wss?)(:\/\/)?/, ""), c = C.replace(/\/$/, ""), s = g ? "wss" : "ws";
6431
+ return "".concat(s, "://").concat(c).concat(e.SOCKET_IO_PATH);
6432
6432
  } else if (p === "") {
6433
- var g = /^https/.test(window.location.protocol), u = g ? "wss" : "ws", a = window.location.port ? ":".concat(window.location.port) : "";
6434
- return "".concat(u, "://").concat(window.location.hostname).concat(a).concat(e.SOCKET_IO_PATH);
6433
+ var g = /^https/.test(window.location.protocol), s = g ? "wss" : "ws", a = window.location.port ? ":".concat(window.location.port) : "";
6434
+ return "".concat(s, "://").concat(window.location.hostname).concat(a).concat(e.SOCKET_IO_PATH);
6435
6435
  }
6436
6436
  return p;
6437
6437
  };
6438
- we.parseSocketIOUrl = s;
6438
+ we.parseSocketIOUrl = u;
6439
6439
  var n = function(p, g) {
6440
6440
  g === void 0 && (g = {});
6441
- var C = /\?([\w]+=[\w]+)/, c = C.test(p), u = "".concat(Object.entries(g).reduce(function(a, t) {
6441
+ var C = /\?([\w]+=[\w]+)/, c = C.test(p), s = "".concat(Object.entries(g).reduce(function(a, t) {
6442
6442
  var o = t[0], l = t[1];
6443
6443
  return a + "".concat(o, "=").concat(l, "&");
6444
6444
  }, "").slice(0, -1));
6445
- return "".concat(p).concat(c ? "&" : "?").concat(u);
6445
+ return "".concat(p).concat(c ? "&" : "?").concat(s);
6446
6446
  };
6447
6447
  we.appendQueryParams = n;
6448
6448
  var i = function(p, g) {
@@ -6459,17 +6459,17 @@ function wn() {
6459
6459
  if (Xt) return Aa;
6460
6460
  Xt = 1, Object.defineProperty(Aa, "__esModule", { value: !0 }), Aa.heartbeat = n;
6461
6461
  var e = Me();
6462
- function s(i) {
6462
+ function u(i) {
6463
6463
  return Array.isArray(i) ? i.reduce(function(p, g) {
6464
6464
  return p.current > g.current ? p : g;
6465
6465
  }).current : i.current;
6466
6466
  }
6467
6467
  function n(i, p, g) {
6468
- var C = g || {}, c = C.interval, u = c === void 0 ? e.DEFAULT_HEARTBEAT.interval : c, a = C.timeout, t = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = C.message, l = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, r = Math.max(100, u / 10), m = Date.now(), _ = setInterval(function() {
6469
- var f = Date.now(), U = s(p);
6468
+ var C = g || {}, c = C.interval, s = c === void 0 ? e.DEFAULT_HEARTBEAT.interval : c, a = C.timeout, t = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = C.message, l = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, r = Math.max(100, s / 10), m = Date.now(), _ = setInterval(function() {
6469
+ var f = Date.now(), U = u(p);
6470
6470
  if (U + t <= f)
6471
6471
  console.warn("Heartbeat timed out, closing connection, last message received ".concat(f - U, "ms ago, last ping sent ").concat(f - m, "ms ago")), i.close();
6472
- else if (U + u <= f && m + u <= f)
6472
+ else if (U + s <= f && m + s <= f)
6473
6473
  try {
6474
6474
  typeof l == "function" ? i.send(l()) : i.send(l), m = f;
6475
6475
  } catch (d) {
@@ -6487,29 +6487,29 @@ var va = {}, Wi = {}, en;
6487
6487
  function Xi() {
6488
6488
  return en || (en = 1, (function(e) {
6489
6489
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
6490
- var s = {}, n = [], i = function(u) {
6491
- return (0, e.hasSubscribers)(u) ? Array.from(s[u]) : n;
6490
+ var u = {}, n = [], i = function(s) {
6491
+ return (0, e.hasSubscribers)(s) ? Array.from(u[s]) : n;
6492
6492
  };
6493
6493
  e.getSubscribers = i;
6494
- var p = function(u) {
6494
+ var p = function(s) {
6495
6495
  var a;
6496
- return ((a = s[u]) === null || a === void 0 ? void 0 : a.size) > 0;
6496
+ return ((a = u[s]) === null || a === void 0 ? void 0 : a.size) > 0;
6497
6497
  };
6498
6498
  e.hasSubscribers = p;
6499
- var g = function(u, a) {
6500
- s[u] = s[u] || /* @__PURE__ */ new Set(), s[u].add(a);
6499
+ var g = function(s, a) {
6500
+ u[s] = u[s] || /* @__PURE__ */ new Set(), u[s].add(a);
6501
6501
  };
6502
6502
  e.addSubscriber = g;
6503
- var C = function(u, a) {
6504
- s[u].delete(a);
6503
+ var C = function(s, a) {
6504
+ u[s].delete(a);
6505
6505
  };
6506
6506
  e.removeSubscriber = C;
6507
- var c = function(u) {
6508
- if (u && s.hasOwnProperty(u))
6509
- delete s[u];
6507
+ var c = function(s) {
6508
+ if (s && u.hasOwnProperty(s))
6509
+ delete u[s];
6510
6510
  else
6511
- for (var a in s)
6512
- s.hasOwnProperty(a) && delete s[a];
6511
+ for (var a in u)
6512
+ u.hasOwnProperty(a) && delete u[a];
6513
6513
  };
6514
6514
  e.resetSubscribers = c;
6515
6515
  })(Wi)), Wi;
@@ -6518,13 +6518,13 @@ var an;
6518
6518
  function et() {
6519
6519
  if (an) return va;
6520
6520
  an = 1, Object.defineProperty(va, "__esModule", { value: !0 }), va.assertIsWebSocket = n, va.resetGlobalState = i;
6521
- var e = Qi(), s = Xi();
6521
+ var e = Qi(), u = Xi();
6522
6522
  function n(p, g) {
6523
6523
  if (!g && !(p instanceof WebSocket))
6524
6524
  throw new Error("");
6525
6525
  }
6526
6526
  function i(p) {
6527
- (0, s.resetSubscribers)(p), (0, e.resetWebSockets)(p);
6527
+ (0, u.resetSubscribers)(p), (0, e.resetWebSockets)(p);
6528
6528
  }
6529
6529
  return va;
6530
6530
  }
@@ -6542,7 +6542,7 @@ function wr() {
6542
6542
  }, e.apply(this, arguments);
6543
6543
  };
6544
6544
  Object.defineProperty(Xe, "__esModule", { value: !0 }), Xe.attachListeners = void 0;
6545
- var s = Yi(), n = wn(), i = Me(), p = et(), g = function(t, o, l, r) {
6545
+ var u = Yi(), n = wn(), i = Me(), p = et(), g = function(t, o, l, r) {
6546
6546
  t.onmessage = function(m) {
6547
6547
  var _;
6548
6548
  o.current.onMessage && o.current.onMessage(m), typeof r?.current == "number" && (r.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((_ = o.current.heartbeat) === null || _ === void 0 ? void 0 : _.returnMessage) === m.data || l(m));
@@ -6575,7 +6575,7 @@ function wr() {
6575
6575
  }, function() {
6576
6576
  return _ && window.clearTimeout(_);
6577
6577
  };
6578
- }, u = function(t, o, l, r, m) {
6578
+ }, s = function(t, o, l, r, m) {
6579
6579
  var _;
6580
6580
  return t.onerror = function(f) {
6581
6581
  var U;
@@ -6592,7 +6592,7 @@ function wr() {
6592
6592
  };
6593
6593
  }, a = function(t, o, l, r, m, _, f) {
6594
6594
  var U = o.setLastMessage, d = o.setReadyState, y, b, v;
6595
- return l.current.fromSocketIO && (y = (0, s.setUpSocketIOPing)(f)), g(t, l, U, _), C(t, l, d, m, _), b = c(t, l, d, r, m), v = u(t, l, d, r, m), function() {
6595
+ return l.current.fromSocketIO && (y = (0, u.setUpSocketIOPing)(f)), g(t, l, U, _), C(t, l, d, m, _), b = c(t, l, d, r, m), v = s(t, l, d, r, m), function() {
6596
6596
  d(i.ReadyState.CLOSING), b(), v(), t.close(), y && clearInterval(y);
6597
6597
  };
6598
6598
  };
@@ -6612,7 +6612,7 @@ function Or() {
6612
6612
  }, e.apply(this, arguments);
6613
6613
  };
6614
6614
  Object.defineProperty(ea, "__esModule", { value: !0 }), ea.attachSharedListeners = void 0;
6615
- var s = Qi(), n = Me(), i = Xi(), p = Yi(), g = wn(), C = function(o, l, r) {
6615
+ var u = Qi(), n = Me(), i = Xi(), p = Yi(), g = wn(), C = function(o, l, r) {
6616
6616
  o.onmessage = function(m) {
6617
6617
  (0, i.getSubscribers)(l).forEach(function(_) {
6618
6618
  var f;
@@ -6628,11 +6628,11 @@ function Or() {
6628
6628
  return f.lastMessageTime;
6629
6629
  }), typeof r == "boolean" ? void 0 : r);
6630
6630
  };
6631
- }, u = function(o, l) {
6631
+ }, s = function(o, l) {
6632
6632
  o instanceof WebSocket && (o.onclose = function(r) {
6633
6633
  (0, i.getSubscribers)(l).forEach(function(m) {
6634
6634
  m.optionsRef.current.onClose && m.optionsRef.current.onClose(r), m.setReadyState(n.ReadyState.CLOSED);
6635
- }), delete s.sharedWebSockets[l], (0, i.getSubscribers)(l).forEach(function(m) {
6635
+ }), delete u.sharedWebSockets[l], (0, i.getSubscribers)(l).forEach(function(m) {
6636
6636
  var _;
6637
6637
  if (m.optionsRef.current.shouldReconnect && m.optionsRef.current.shouldReconnect(r)) {
6638
6638
  var f = (_ = m.optionsRef.current.reconnectAttempts) !== null && _ !== void 0 ? _ : n.DEFAULT_RECONNECT_LIMIT;
@@ -6654,7 +6654,7 @@ function Or() {
6654
6654
  };
6655
6655
  }, t = function(o, l, r, m) {
6656
6656
  var _;
6657
- return r.current.fromSocketIO && (_ = (0, p.setUpSocketIOPing)(m)), C(o, l, r.current.heartbeat), u(o, l), c(o, l, r.current.heartbeat), a(o, l), function() {
6657
+ return r.current.fromSocketIO && (_ = (0, p.setUpSocketIOPing)(m)), C(o, l, r.current.heartbeat), s(o, l), c(o, l, r.current.heartbeat), a(o, l), function() {
6658
6658
  _ && clearInterval(_);
6659
6659
  };
6660
6660
  };
@@ -6664,25 +6664,25 @@ var ln;
6664
6664
  function Ar() {
6665
6665
  if (ln) return Ca;
6666
6666
  ln = 1, Object.defineProperty(Ca, "__esModule", { value: !0 }), Ca.createOrJoinSocket = void 0;
6667
- var e = Qi(), s = Me(), n = wr(), i = Or(), p = Xi(), g = function(c, u, a, t, o) {
6667
+ var e = Qi(), u = Me(), n = wr(), i = Or(), p = Xi(), g = function(c, s, a, t, o) {
6668
6668
  return function() {
6669
- if ((0, p.removeSubscriber)(c, u), !(0, p.hasSubscribers)(c)) {
6669
+ if ((0, p.removeSubscriber)(c, s), !(0, p.hasSubscribers)(c)) {
6670
6670
  try {
6671
6671
  var l = e.sharedWebSockets[c];
6672
6672
  l instanceof WebSocket && (l.onclose = function(r) {
6673
- a.current.onClose && a.current.onClose(r), t(s.ReadyState.CLOSED);
6673
+ a.current.onClose && a.current.onClose(r), t(u.ReadyState.CLOSED);
6674
6674
  }), l.close();
6675
6675
  } catch {
6676
6676
  }
6677
6677
  o && o(), delete e.sharedWebSockets[c];
6678
6678
  }
6679
6679
  };
6680
- }, C = function(c, u, a, t, o, l, r, m, _) {
6681
- if (!s.isEventSourceSupported && t.current.eventSourceOptions)
6682
- throw s.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
6680
+ }, C = function(c, s, a, t, o, l, r, m, _) {
6681
+ if (!u.isEventSourceSupported && t.current.eventSourceOptions)
6682
+ throw u.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
6683
6683
  if (t.current.share) {
6684
6684
  var f = null;
6685
- e.sharedWebSockets[u] === void 0 ? (e.sharedWebSockets[u] = t.current.eventSourceOptions ? new EventSource(u, t.current.eventSourceOptions) : new WebSocket(u, t.current.protocols), c.current = e.sharedWebSockets[u], a(s.ReadyState.CONNECTING), f = (0, i.attachSharedListeners)(e.sharedWebSockets[u], u, t, _)) : (c.current = e.sharedWebSockets[u], a(e.sharedWebSockets[u].readyState));
6685
+ e.sharedWebSockets[s] === void 0 ? (e.sharedWebSockets[s] = t.current.eventSourceOptions ? new EventSource(s, t.current.eventSourceOptions) : new WebSocket(s, t.current.protocols), c.current = e.sharedWebSockets[s], a(u.ReadyState.CONNECTING), f = (0, i.attachSharedListeners)(e.sharedWebSockets[s], s, t, _)) : (c.current = e.sharedWebSockets[s], a(e.sharedWebSockets[s].readyState));
6686
6686
  var U = {
6687
6687
  setLastMessage: o,
6688
6688
  setReadyState: a,
@@ -6691,9 +6691,9 @@ function Ar() {
6691
6691
  lastMessageTime: m,
6692
6692
  reconnect: l
6693
6693
  };
6694
- return (0, p.addSubscriber)(u, U), g(u, U, t, a, f);
6694
+ return (0, p.addSubscriber)(s, U), g(s, U, t, a, f);
6695
6695
  } else {
6696
- if (c.current = t.current.eventSourceOptions ? new EventSource(u, t.current.eventSourceOptions) : new WebSocket(u, t.current.protocols), a(s.ReadyState.CONNECTING), !c.current)
6696
+ if (c.current = t.current.eventSourceOptions ? new EventSource(s, t.current.eventSourceOptions) : new WebSocket(s, t.current.protocols), a(u.ReadyState.CONNECTING), !c.current)
6697
6697
  throw new Error("WebSocket failed to be created");
6698
6698
  return (0, n.attachListeners)(c.current, {
6699
6699
  setLastMessage: o,
@@ -6706,7 +6706,7 @@ function Ar() {
6706
6706
  var Oe = {}, rn;
6707
6707
  function Br() {
6708
6708
  return rn || (rn = 1, (function(e) {
6709
- var s = Oe && Oe.__awaiter || function(u, a, t, o) {
6709
+ var u = Oe && Oe.__awaiter || function(s, a, t, o) {
6710
6710
  function l(r) {
6711
6711
  return r instanceof t ? r : new t(function(m) {
6712
6712
  m(r);
@@ -6730,9 +6730,9 @@ function Br() {
6730
6730
  function U(d) {
6731
6731
  d.done ? r(d.value) : l(d.value).then(_, f);
6732
6732
  }
6733
- U((o = o.apply(u, a || [])).next());
6733
+ U((o = o.apply(s, a || [])).next());
6734
6734
  });
6735
- }, n = Oe && Oe.__generator || function(u, a) {
6735
+ }, n = Oe && Oe.__generator || function(s, a) {
6736
6736
  var t = { label: 0, sent: function() {
6737
6737
  if (r[0] & 1) throw r[1];
6738
6738
  return r[1];
@@ -6782,7 +6782,7 @@ function Br() {
6782
6782
  r[2] && t.ops.pop(), t.trys.pop();
6783
6783
  continue;
6784
6784
  }
6785
- U = a.call(u, t);
6785
+ U = a.call(s, t);
6786
6786
  } catch (d) {
6787
6787
  U = [6, d], l = 0;
6788
6788
  } finally {
@@ -6791,20 +6791,20 @@ function Br() {
6791
6791
  if (U[0] & 5) throw U[1];
6792
6792
  return { value: U[0] ? U[1] : void 0, done: !0 };
6793
6793
  }
6794
- }, i = Oe && Oe.__spreadArray || function(u, a, t) {
6794
+ }, i = Oe && Oe.__spreadArray || function(s, a, t) {
6795
6795
  if (t || arguments.length === 2) for (var o = 0, l = a.length, r; o < l; o++)
6796
6796
  (r || !(o in a)) && (r || (r = Array.prototype.slice.call(a, 0, o)), r[o] = a[o]);
6797
- return u.concat(r || Array.prototype.slice.call(a));
6797
+ return s.concat(r || Array.prototype.slice.call(a));
6798
6798
  };
6799
6799
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
6800
- var p = Yi(), g = Me(), C = function(u) {
6800
+ var p = Yi(), g = Me(), C = function(s) {
6801
6801
  return new Promise(function(a) {
6802
- return window.setTimeout(a, u);
6802
+ return window.setTimeout(a, s);
6803
6803
  });
6804
- }, c = function(u, a) {
6804
+ }, c = function(s, a) {
6805
6805
  for (var t = [], o = 2; o < arguments.length; o++)
6806
6806
  t[o - 2] = arguments[o];
6807
- return s(void 0, i([u, a], t, !0), void 0, function(l, r, m) {
6807
+ return u(void 0, i([s, a], t, !0), void 0, function(l, r, m) {
6808
6808
  var _, f, U, d, y, b, v, h;
6809
6809
  return m === void 0 && (m = 0), n(this, function(x) {
6810
6810
  switch (x.label) {
@@ -6844,7 +6844,7 @@ var zi = {}, on;
6844
6844
  function Hr() {
6845
6845
  return on || (on = 1, (function(e) {
6846
6846
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
6847
- var s = function(n, i) {
6847
+ var u = function(n, i) {
6848
6848
  return new Proxy(n, {
6849
6849
  get: function(p, g) {
6850
6850
  var C = p[g];
@@ -6856,7 +6856,7 @@ function Hr() {
6856
6856
  }
6857
6857
  });
6858
6858
  };
6859
- e.websocketWrapper = s, e.default = e.websocketWrapper;
6859
+ e.websocketWrapper = u, e.default = e.websocketWrapper;
6860
6860
  })(zi)), zi;
6861
6861
  }
6862
6862
  var mn;
@@ -6871,7 +6871,7 @@ function at() {
6871
6871
  }
6872
6872
  return l;
6873
6873
  }, e.apply(this, arguments);
6874
- }, s = ke && ke.__awaiter || function(l, r, m, _) {
6874
+ }, u = ke && ke.__awaiter || function(l, r, m, _) {
6875
6875
  function f(U) {
6876
6876
  return U instanceof m ? U : new m(function(d) {
6877
6877
  d(U);
@@ -6960,7 +6960,7 @@ function at() {
6960
6960
  return l && l.__esModule ? l : { default: l };
6961
6961
  };
6962
6962
  Object.defineProperty(ke, "__esModule", { value: !0 }), ke.useWebSocket = void 0;
6963
- var p = xa, g = ul, C = Me(), c = Ar(), u = Br(), a = i(Hr()), t = et(), o = function(l, r, m) {
6963
+ var p = xa, g = ul, C = Me(), c = Ar(), s = Br(), a = i(Hr()), t = et(), o = function(l, r, m) {
6964
6964
  r === void 0 && (r = C.DEFAULT_OPTIONS), m === void 0 && (m = !0);
6965
6965
  var _ = (0, p.useState)(null), f = _[0], U = _[1], d = (0, p.useState)({}), y = d[0], b = d[1], v = (0, p.useMemo)(function() {
6966
6966
  if (!r.disableJson && f)
@@ -6988,12 +6988,12 @@ function at() {
6988
6988
  return (0, p.useEffect)(function() {
6989
6989
  if (l !== null && m === !0) {
6990
6990
  var B, W = !1, E = !0, L = function() {
6991
- return s(void 0, void 0, void 0, function() {
6991
+ return u(void 0, void 0, void 0, function() {
6992
6992
  var F, N, K;
6993
6993
  return n(this, function(q) {
6994
6994
  switch (q.label) {
6995
6995
  case 0:
6996
- return F = h, [4, (0, u.getUrl)(l, G)];
6996
+ return F = h, [4, (0, s.getUrl)(l, G)];
6997
6997
  case 1:
6998
6998
  return F.current = q.sent(), h.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), h.current = "ABORTED", (0, g.flushSync)(function() {
6999
6999
  return b(function(Q) {
@@ -7051,33 +7051,33 @@ function Wr() {
7051
7051
  sn = 1;
7052
7052
  var e = aa && aa.__assign || function() {
7053
7053
  return e = Object.assign || function(c) {
7054
- for (var u, a = 1, t = arguments.length; a < t; a++) {
7055
- u = arguments[a];
7056
- for (var o in u) Object.prototype.hasOwnProperty.call(u, o) && (c[o] = u[o]);
7054
+ for (var s, a = 1, t = arguments.length; a < t; a++) {
7055
+ s = arguments[a];
7056
+ for (var o in s) Object.prototype.hasOwnProperty.call(s, o) && (c[o] = s[o]);
7057
7057
  }
7058
7058
  return c;
7059
7059
  }, e.apply(this, arguments);
7060
7060
  };
7061
7061
  Object.defineProperty(aa, "__esModule", { value: !0 }), aa.useSocketIO = void 0;
7062
- var s = xa, n = at(), i = Me(), p = {
7062
+ var u = xa, n = at(), i = Me(), p = {
7063
7063
  type: "empty",
7064
7064
  payload: null
7065
7065
  }, g = function(c) {
7066
7066
  if (!c || !c.data)
7067
7067
  return p;
7068
- var u = c.data.match(/\[.*]/);
7069
- if (!u)
7068
+ var s = c.data.match(/\[.*]/);
7069
+ if (!s)
7070
7070
  return p;
7071
- var a = JSON.parse(u);
7071
+ var a = JSON.parse(s);
7072
7072
  return !Array.isArray(a) || !a[1] ? p : {
7073
7073
  type: a[0],
7074
7074
  payload: a[1]
7075
7075
  };
7076
- }, C = function(c, u, a) {
7077
- u === void 0 && (u = i.DEFAULT_OPTIONS), a === void 0 && (a = !0);
7078
- var t = (0, s.useMemo)(function() {
7079
- return e(e({}, u), { fromSocketIO: !0 });
7080
- }, []), o = (0, n.useWebSocket)(c, t, a), l = o.sendMessage, r = o.sendJsonMessage, m = o.lastMessage, _ = o.readyState, f = o.getWebSocket, U = (0, s.useMemo)(function() {
7076
+ }, C = function(c, s, a) {
7077
+ s === void 0 && (s = i.DEFAULT_OPTIONS), a === void 0 && (a = !0);
7078
+ var t = (0, u.useMemo)(function() {
7079
+ return e(e({}, s), { fromSocketIO: !0 });
7080
+ }, []), o = (0, n.useWebSocket)(c, t, a), l = o.sendMessage, r = o.sendJsonMessage, m = o.lastMessage, _ = o.readyState, f = o.getWebSocket, U = (0, u.useMemo)(function() {
7081
7081
  return g(m);
7082
7082
  }, [m]);
7083
7083
  return {
@@ -7097,30 +7097,30 @@ function zr() {
7097
7097
  un = 1;
7098
7098
  var e = Ae && Ae.__assign || function() {
7099
7099
  return e = Object.assign || function(C) {
7100
- for (var c, u = 1, a = arguments.length; u < a; u++) {
7101
- c = arguments[u];
7100
+ for (var c, s = 1, a = arguments.length; s < a; s++) {
7101
+ c = arguments[s];
7102
7102
  for (var t in c) Object.prototype.hasOwnProperty.call(c, t) && (C[t] = c[t]);
7103
7103
  }
7104
7104
  return C;
7105
7105
  }, e.apply(this, arguments);
7106
- }, s = Ae && Ae.__rest || function(C, c) {
7107
- var u = {};
7108
- for (var a in C) Object.prototype.hasOwnProperty.call(C, a) && c.indexOf(a) < 0 && (u[a] = C[a]);
7106
+ }, u = Ae && Ae.__rest || function(C, c) {
7107
+ var s = {};
7108
+ for (var a in C) Object.prototype.hasOwnProperty.call(C, a) && c.indexOf(a) < 0 && (s[a] = C[a]);
7109
7109
  if (C != null && typeof Object.getOwnPropertySymbols == "function")
7110
7110
  for (var t = 0, a = Object.getOwnPropertySymbols(C); t < a.length; t++)
7111
- c.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(C, a[t]) && (u[a[t]] = C[a[t]]);
7112
- return u;
7111
+ c.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(C, a[t]) && (s[a[t]] = C[a[t]]);
7112
+ return s;
7113
7113
  };
7114
7114
  Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.useEventSource = void 0;
7115
- var n = xa, i = at(), p = Me(), g = function(C, c, u) {
7115
+ var n = xa, i = at(), p = Me(), g = function(C, c, s) {
7116
7116
  c === void 0 && (c = p.DEFAULT_EVENT_SOURCE_OPTIONS);
7117
- var a = c.withCredentials, t = c.events, o = s(c, ["withCredentials", "events"]);
7118
- u === void 0 && (u = !0);
7117
+ var a = c.withCredentials, t = c.events, o = u(c, ["withCredentials", "events"]);
7118
+ s === void 0 && (s = !0);
7119
7119
  var l = e(e({}, o), { eventSourceOptions: {
7120
7120
  withCredentials: a
7121
7121
  } }), r = (0, n.useRef)(p.EMPTY_EVENT_HANDLERS);
7122
7122
  t && (r.current = t);
7123
- var m = (0, i.useWebSocket)(C, l, u), _ = m.lastMessage, f = m.readyState, U = m.getWebSocket;
7123
+ var m = (0, i.useWebSocket)(C, l, s), _ = m.lastMessage, f = m.readyState, U = m.getWebSocket;
7124
7124
  return (0, n.useEffect)(function() {
7125
7125
  _?.type && Object.entries(r.current).forEach(function(d) {
7126
7126
  var y = d[0], b = d[1];
@@ -7138,9 +7138,9 @@ var pn;
7138
7138
  function Vr() {
7139
7139
  return pn || (pn = 1, (function(e) {
7140
7140
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
7141
- var s = at();
7141
+ var u = at();
7142
7142
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
7143
- return s.useWebSocket;
7143
+ return u.useWebSocket;
7144
7144
  } });
7145
7145
  var n = Wr();
7146
7146
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
@@ -7163,13 +7163,13 @@ function Vr() {
7163
7163
  var Zr = Vr();
7164
7164
  const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7165
7165
  enable: e = !1,
7166
- isTestFunction: s = !1,
7166
+ isTestFunction: u = !1,
7167
7167
  isTransferMode: n = !1,
7168
7168
  isInGameBox: i = !1,
7169
7169
  currentGamePlatform: p = ""
7170
7170
  }) => {
7171
- const { store: g, lng: C } = te(), { isReady: c, setAsReady: u, isPending: a, setAsPending: t } = kn(), o = He(C), { mutateAsync: l } = Oo();
7172
- return !e || !s || !n ? { handleTransferInGame: () => {
7171
+ const { store: g, lng: C } = te(), { isReady: c, setAsReady: s, isPending: a, setAsPending: t } = kn(), o = He(C), { mutateAsync: l } = Oo();
7172
+ return !e || !u || !n ? { handleTransferInGame: () => {
7173
7173
  } } : { handleTransferInGame: async () => {
7174
7174
  console.log("執行遊戲內轉帳"), i && await l({
7175
7175
  platform: p
@@ -7177,7 +7177,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7177
7177
  const { code: _, request_id: f } = m;
7178
7178
  switch (_) {
7179
7179
  case 200:
7180
- u(), g.dispatch({
7180
+ s(), g.dispatch({
7181
7181
  type: "ui/openNotificationModal",
7182
7182
  payload: {
7183
7183
  title: ka[o] || "System Prompt",
@@ -7200,7 +7200,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7200
7200
  });
7201
7201
  return;
7202
7202
  case 103:
7203
- localStorage.removeItem("transfer_in_game_request_id"), u();
7203
+ localStorage.removeItem("transfer_in_game_request_id"), s();
7204
7204
  return;
7205
7205
  default:
7206
7206
  return;
@@ -7222,7 +7222,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7222
7222
  GAME_MAINTAIN: "game_maintain"
7223
7223
  }, Kr = 3e4, pm = ({
7224
7224
  socketUrl: e,
7225
- socketHandlers: s = {},
7225
+ socketHandlers: u = {},
7226
7226
  options: n = {},
7227
7227
  memberInfo: i = {},
7228
7228
  transferInGamingConfig: p = {
@@ -7233,7 +7233,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7233
7233
  },
7234
7234
  enableNotification: g = !1
7235
7235
  }) => {
7236
- const { store: C, lng: c } = te(), u = tl(), { isReady: a, setAsReady: t, isPending: o, setAsPending: l } = kn(), r = He(c), m = wi(!1), _ = wi(s), f = me(i, "uid", null);
7236
+ const { store: C, lng: c } = te(), s = tl(), { isReady: a, setAsReady: t, isPending: o, setAsPending: l } = kn(), r = He(c), m = wi(!1), _ = wi(u), f = me(i, "uid", null);
7237
7237
  me(i, "testFunction", 0);
7238
7238
  const U = me(
7239
7239
  p,
@@ -7292,8 +7292,8 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7292
7292
  [g, C, r]
7293
7293
  );
7294
7294
  ma(() => {
7295
- _.current = s;
7296
- }, [s]);
7295
+ _.current = u;
7296
+ }, [u]);
7297
7297
  const O = wi(null);
7298
7298
  return ma(() => {
7299
7299
  if (!x || O.current === x) return;
@@ -7330,7 +7330,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7330
7330
  }
7331
7331
  break;
7332
7332
  case xe.UPDATE_MEMBER:
7333
- f && (u.invalidateQueries({
7333
+ f && (s.invalidateQueries({
7334
7334
  queryKey: ["getMemberInfo"]
7335
7335
  }), G?.(B));
7336
7336
  break;
@@ -7385,7 +7385,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7385
7385
  }), z?.(B);
7386
7386
  break;
7387
7387
  case xe.UPDATE_ONLY_ONE_MEMBER:
7388
- W && (u.invalidateQueries({
7388
+ W && (s.invalidateQueries({
7389
7389
  queryKey: ["getMemberInfo"]
7390
7390
  }), G?.(B));
7391
7391
  break;
@@ -7402,7 +7402,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7402
7402
  x,
7403
7403
  f,
7404
7404
  C,
7405
- u,
7405
+ s,
7406
7406
  r,
7407
7407
  D,
7408
7408
  o,
@@ -7427,7 +7427,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7427
7427
  // WebSocket 連線狀態
7428
7428
  };
7429
7429
  }, it = () => {
7430
- const { client: e } = te(), s = J(
7430
+ const { client: e } = te(), u = J(
7431
7431
  async ({ paramsData: p } = {}) => {
7432
7432
  const { uid: g } = p || {};
7433
7433
  return await e.get(`/event/list${g ? `/${g}` : ""}`);
@@ -7448,72 +7448,73 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7448
7448
  },
7449
7449
  [e]
7450
7450
  );
7451
- return { eventListApi: s, checkCurrentEventProgessApi: n, checkEventStatusApi: i };
7452
- }, qr = ({ paramsData: e, options: s } = {}) => {
7451
+ return { eventListApi: u, checkCurrentEventProgessApi: n, checkEventStatusApi: i };
7452
+ }, qr = ({ paramsData: e, options: u } = {}) => {
7453
7453
  const { eventListApi: n, store: i } = it(), p = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD";
7454
7454
  return X({
7455
7455
  queryKey: ["eventList", e],
7456
7456
  queryFn: () => n({ paramsData: e }),
7457
7457
  select: (g) => {
7458
7458
  const { data: C } = g;
7459
- return Te(C, (u) => {
7460
- const { events_attributes: a } = u, t = Le(
7459
+ return Te(C, (s) => {
7460
+ const { events_attributes: a } = s, t = Le(
7461
7461
  a,
7462
7462
  (_) => _.attribute_currency === p
7463
7463
  ) || a[0], o = me(t, "rewards", {}), l = {
7464
- enableCurrencyLimit: u.enable_currency_limit,
7464
+ eventUid: s.uid,
7465
+ enableCurrencyLimit: s.enable_currency_limit,
7465
7466
  //是否啟用幣別限制
7466
- endTime: u.end_time,
7467
+ endTime: s.end_time,
7467
7468
  //結束時間
7468
- startTime: u.start_time,
7469
+ startTime: s.start_time,
7469
7470
  //開始時間
7470
- eventCode: u.event_code,
7471
+ eventCode: s.event_code,
7471
7472
  //活動代碼
7472
- eventShowType: u.event_show_type,
7473
+ eventShowType: s.event_show_type,
7473
7474
  //活動顯示類型
7474
- isActive: u.is_active === 1,
7475
+ isActive: s.is_active === 1,
7475
7476
  //是否啟用
7476
- isShowCarousel: u.is_show_carousel === 1,
7477
+ isShowCarousel: s.is_show_carousel === 1,
7477
7478
  //是否顯示輪播
7478
- isShowPopup: u.is_show_pop_up === 1,
7479
+ isShowPopup: s.is_show_pop_up === 1,
7479
7480
  //是否顯示彈跳視窗
7480
- lastSettleDate: u.last_settle_date,
7481
+ lastSettleDate: s.last_settle_date,
7481
7482
  //上次結算日期
7482
- nextSettleDate: u.next_settle_date,
7483
+ nextSettleDate: s.next_settle_date,
7483
7484
  //下次結算日期
7484
- participatingPlatforms: u.participating_platforms,
7485
+ participatingPlatforms: s.participating_platforms,
7485
7486
  //參與平台
7486
- resetCycle: u.reset_cycle,
7487
+ resetCycle: s.reset_cycle,
7487
7488
  //重置週期
7488
- settlementHour: u.settlement_hour,
7489
+ settlementHour: s.settlement_hour,
7489
7490
  //結算小時
7490
- settlementInterval: u.settlement_interval,
7491
+ settlementInterval: s.settlement_interval,
7491
7492
  //結算間隔
7492
- settlementIntervalCount: u.settlement_interval_count,
7493
+ settlementIntervalCount: s.settlement_interval_count,
7493
7494
  //結算間隔次數
7494
- singleAmountTarget: u.single_amount_target,
7495
+ singleAmountTarget: s.single_amount_target,
7495
7496
  //單次目標金額
7496
- subType: u.subtype,
7497
+ subType: s.subtype,
7497
7498
  //活動子類型
7498
- type: u.type,
7499
+ type: s.type,
7499
7500
  //活動類型
7500
- valueBasis: u.value_basis,
7501
+ valueBasis: s.value_basis,
7501
7502
  //數值基準
7502
- vipGroup: u.vip_group,
7503
+ vipGroup: s.vip_group,
7503
7504
  // VIP 群組
7504
- tagsGroup: u.tags_group,
7505
+ tagsGroup: s.tags_group,
7505
7506
  //標籤群組
7506
7507
  eventBg: Sn(),
7507
- eventIcon: xn(u.type)
7508
+ eventIcon: xn(s.type)
7508
7509
  }, r = {
7509
- baseValue: t.attribute_value,
7510
- //基礎數值
7511
7510
  isActive: t.attribute_is_active === 1,
7512
7511
  //是否啟用
7513
7512
  currencyCode: t.attribute_currency,
7514
7513
  //幣別代碼
7515
- value: t.attribute_value
7514
+ value: t.attribute_value,
7516
7515
  //數值
7516
+ eventUid: t.event_uid
7517
+ //活動UID
7517
7518
  }, m = {
7518
7519
  baseValue: o.base_value,
7519
7520
  //基礎數值
@@ -7549,20 +7550,20 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7549
7550
  };
7550
7551
  });
7551
7552
  },
7552
- ...s
7553
+ ...u
7553
7554
  });
7554
- }, jr = ({ options: e, formData: s } = {}) => {
7555
+ }, jr = ({ options: e, formData: u } = {}) => {
7555
7556
  const { checkCurrentEventProgessApi: n } = it();
7556
7557
  return X({
7557
7558
  queryKey: ["checkEventProgress"],
7558
- queryFn: async () => n(s),
7559
+ queryFn: async () => n(u),
7559
7560
  ...e
7560
7561
  });
7561
- }, $r = ({ options: e, formData: s } = {}) => {
7562
+ }, $r = ({ options: e, formData: u } = {}) => {
7562
7563
  const { checkEventStatusApi: n } = it();
7563
7564
  return X({
7564
7565
  queryKey: ["checkEventStatus"],
7565
- queryFn: async () => n(s),
7566
+ queryFn: async () => n(u),
7566
7567
  select: (i) => i.data.event_status,
7567
7568
  ...e
7568
7569
  });
@@ -7573,18 +7574,18 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7573
7574
  checkEventStatus: {}
7574
7575
  }
7575
7576
  } = {}) => {
7576
- const s = qr({ options: e.eventList }), n = jr({
7577
+ const u = qr({ options: e.eventList }), n = jr({
7577
7578
  options: e.checkEventProgress
7578
7579
  }), i = $r({
7579
7580
  options: e.checkEventStatus
7580
7581
  });
7581
7582
  return {
7582
- eventListQuery: s,
7583
+ eventListQuery: u,
7583
7584
  checkEventProgressQuery: n,
7584
7585
  checkEventStatusQuery: i
7585
7586
  };
7586
7587
  }, Di = () => {
7587
- const { client: e } = te(), s = J(async () => {
7588
+ const { client: e } = te(), u = J(async () => {
7588
7589
  const { data: g } = await e.get("/carousels");
7589
7590
  return g;
7590
7591
  }, [e]), n = J(async () => await e.get("/marquees"), [e]), i = J(async () => await e.get("/notification"), [e]), p = J(
@@ -7592,13 +7593,13 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7592
7593
  [e]
7593
7594
  );
7594
7595
  return {
7595
- commonCarouselApi: s,
7596
+ commonCarouselApi: u,
7596
7597
  commonMarqueeApi: n,
7597
7598
  commonInboxApi: i,
7598
7599
  commonReadInboxApi: p
7599
7600
  };
7600
7601
  }, dm = () => {
7601
- const { lng: e, data2URL: s } = te(), { commonCarouselApi: n } = Di(), i = He(e);
7602
+ const { lng: e, data2URL: u } = te(), { commonCarouselApi: n } = Di(), i = He(e);
7602
7603
  return X({
7603
7604
  queryKey: ["getCarouselList"],
7604
7605
  queryFn: async () => {
@@ -7606,25 +7607,25 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7606
7607
  return p || await n();
7607
7608
  },
7608
7609
  select: (p) => p.map((C) => {
7609
- const { carousels_lang: c } = C, u = c?.find((a) => a.lang === i) || c[0];
7610
+ const { carousels_lang: c } = C, s = c?.find((a) => a.lang === i) || c[0];
7610
7611
  return {
7611
7612
  ...C,
7612
- carouselCurrentLanguageData: u,
7613
- carouselCurrentLanguagePCImageUrl: `${s}/carousels/${u.image_pc}`,
7614
- carouselCurrentLanguageMBImageUrl: `${s}/carousels/${u.image_mobile}`,
7615
- carouselCurrentLanguageS3PCImageUrl: `${Be}/carousels/${u.image_pc}`,
7616
- carouselCurrentLanguageS3MBImageUrl: `${Be}/carousels/${u.image_mobile}`,
7617
- carouselCurrentLanguageLink: u.url_link
7613
+ carouselCurrentLanguageData: s,
7614
+ carouselCurrentLanguagePCImageUrl: `${u}/carousels/${s.image_pc}`,
7615
+ carouselCurrentLanguageMBImageUrl: `${u}/carousels/${s.image_mobile}`,
7616
+ carouselCurrentLanguageS3PCImageUrl: `${Be}/carousels/${s.image_pc}`,
7617
+ carouselCurrentLanguageS3MBImageUrl: `${Be}/carousels/${s.image_mobile}`,
7618
+ carouselCurrentLanguageLink: s.url_link
7618
7619
  };
7619
7620
  })
7620
7621
  });
7621
7622
  }, cm = () => {
7622
- const { lng: e } = te(), { commonMarqueeApi: s } = Di(), n = He(e);
7623
+ const { lng: e } = te(), { commonMarqueeApi: u } = Di(), n = He(e);
7623
7624
  return X({
7624
7625
  queryKey: ["getMarqueeList"],
7625
7626
  queryFn: async () => {
7626
7627
  const i = window.marquees;
7627
- return i || await s();
7628
+ return i || await u();
7628
7629
  },
7629
7630
  select: (i) => {
7630
7631
  const p = Ge(i) ? i : i.Marquees;
@@ -7632,10 +7633,10 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7632
7633
  }
7633
7634
  });
7634
7635
  }, fm = ({ options: e } = {}) => {
7635
- const { rankingGameApi: s } = ge();
7636
+ const { rankingGameApi: u } = ge();
7636
7637
  return X({
7637
7638
  queryKey: ["rankingGame"],
7638
- queryFn: async () => s(),
7639
+ queryFn: async () => u(),
7639
7640
  enabled: window.profit_ranking_status === 1,
7640
7641
  select: (n) => {
7641
7642
  const { data: i } = n;
@@ -7643,7 +7644,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7643
7644
  const {
7644
7645
  game_uid: C,
7645
7646
  game_code: c,
7646
- game_name_en: u,
7647
+ game_name_en: s,
7647
7648
  game_platform_uid: a,
7648
7649
  memId: t,
7649
7650
  platform: o,
@@ -7655,7 +7656,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7655
7656
  //遊戲UID
7656
7657
  gameCode: c,
7657
7658
  //遊戲代碼
7658
- gameNameEn: u,
7659
+ gameNameEn: s,
7659
7660
  //遊戲名稱(英文)
7660
7661
  gamePlatformUid: a,
7661
7662
  //遊戲平台UID
@@ -7673,10 +7674,10 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7673
7674
  ...e
7674
7675
  });
7675
7676
  }, Qr = ({ options: e } = {}) => {
7676
- const { commonInboxApi: s } = Di(), { getToken: n, lng: i } = te(), p = n?.(), g = He(i);
7677
+ const { commonInboxApi: u } = Di(), { getToken: n, lng: i } = te(), p = n?.(), g = He(i);
7677
7678
  return X({
7678
7679
  queryKey: ["inboxList"],
7679
- queryFn: async () => await s(),
7680
+ queryFn: async () => await u(),
7680
7681
  select: (C) => {
7681
7682
  const { data: c } = C;
7682
7683
  return Te(c, (a) => {
@@ -7694,10 +7695,10 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7694
7695
  ...e
7695
7696
  });
7696
7697
  }, Yr = ({ options: e } = {}) => {
7697
- const { commonReadInboxApi: s } = Di();
7698
+ const { commonReadInboxApi: u } = Di();
7698
7699
  return _e({
7699
7700
  mutationKey: ["readInbox"],
7700
- mutationFn: async (n) => await s(n),
7701
+ mutationFn: async (n) => await u(n),
7701
7702
  ...e
7702
7703
  });
7703
7704
  }, _m = ({
@@ -7706,9 +7707,9 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7706
7707
  readInbox: {}
7707
7708
  }
7708
7709
  } = {}) => {
7709
- const s = Qr({ options: e.inboxList }), n = Yr({ options: e.readInbox });
7710
+ const u = Qr({ options: e.inboxList }), n = Yr({ options: e.readInbox });
7710
7711
  return {
7711
- inboxListQuery: s,
7712
+ inboxListQuery: u,
7712
7713
  readInboxMutation: n
7713
7714
  };
7714
7715
  }, On = () => {
@@ -7767,16 +7768,16 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7767
7768
  value: "other",
7768
7769
  ...e.other
7769
7770
  }
7770
- ], Um = ({ options: e, formData: s } = {}) => {
7771
+ ], Um = ({ options: e, formData: u } = {}) => {
7771
7772
  const { lng: n } = te(), { newsListApi: i } = On(), p = He(n);
7772
7773
  return X({
7773
7774
  queryKey: ["newsList"],
7774
7775
  queryFn: () => {
7775
- const { uid: g, params: C } = s || {};
7776
+ const { uid: g, params: C } = u || {};
7776
7777
  return i({ uid: g, params: C });
7777
7778
  },
7778
7779
  select: (g) => {
7779
- const { data: C } = g, c = C.data?.filter((a) => a.is_active === 1), u = Te(c, (a) => {
7780
+ const { data: C } = g, c = C.data?.filter((a) => a.is_active === 1), s = Te(c, (a) => {
7780
7781
  const t = Le(a.news_language, {
7781
7782
  language: p
7782
7783
  }) || a.news_language[0];
@@ -7787,18 +7788,18 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7787
7788
  });
7788
7789
  return {
7789
7790
  ...g.data,
7790
- data: u,
7791
+ data: s,
7791
7792
  blogType: Xr({ typeConfig: e?.typeConfig })
7792
7793
  };
7793
7794
  },
7794
7795
  ...e
7795
7796
  });
7796
- }, ym = ({ options: e, formData: s } = {}) => {
7797
+ }, ym = ({ options: e, formData: u } = {}) => {
7797
7798
  const { lng: n } = te(), { newsListApi: i } = On(), p = He(n);
7798
7799
  return X({
7799
7800
  queryKey: ["newsList"],
7800
7801
  queryFn: () => {
7801
- const { uid: g, params: C } = s || {};
7802
+ const { uid: g, params: C } = u || {};
7802
7803
  return i({ uid: g, params: C });
7803
7804
  },
7804
7805
  select: (g) => {
@@ -7813,7 +7814,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7813
7814
  ...e
7814
7815
  });
7815
7816
  }, Ie = () => {
7816
- const { client: e } = te(), s = J(async () => await e.get("/payment/list"), [e]), n = J(
7817
+ const { client: e } = te(), u = J(async () => await e.get("/payment/list"), [e]), n = J(
7817
7818
  async ({ paramsData: a }) => await e.get("/thirdPartyPayment/list", {
7818
7819
  params: { ...a }
7819
7820
  }),
@@ -7887,7 +7888,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7887
7888
  });
7888
7889
  },
7889
7890
  [e]
7890
- ), u = J(
7891
+ ), s = J(
7891
7892
  async ({ paramsData: a } = {}) => {
7892
7893
  const { str_date: t, end_date: o, limit: l = 25, current_page: r } = a || {};
7893
7894
  return await e.get("/report/withdraw", {
@@ -7902,38 +7903,38 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7902
7903
  [e]
7903
7904
  );
7904
7905
  return {
7905
- depositApiV1: s,
7906
+ depositApiV1: u,
7906
7907
  depositApiV2: n,
7907
7908
  depositApi: i,
7908
7909
  bankDepositApi: p,
7909
7910
  withdrawApi: g,
7910
7911
  depositTransactionApi: C,
7911
7912
  eventTransactionApi: c,
7912
- withdrawTransactionApi: u
7913
+ withdrawTransactionApi: s
7913
7914
  };
7914
7915
  }, eo = ({ options: e } = {}) => {
7915
- const { depositApiV1: s } = Ie();
7916
+ const { depositApiV1: u } = Ie();
7916
7917
  return X({
7917
7918
  queryKey: ["depositV1"],
7918
- queryFn: s,
7919
+ queryFn: u,
7919
7920
  ...e
7920
7921
  });
7921
- }, ao = ({ paramsData: e, options: s } = {}) => {
7922
+ }, ao = ({ paramsData: e, options: u } = {}) => {
7922
7923
  const { depositApiV2: n } = Ie();
7923
7924
  return X({
7924
7925
  queryKey: ["depositV2", e],
7925
7926
  queryFn: () => n({ paramsData: e }),
7926
7927
  select: (i) => {
7927
- const { third_party: p, bank: g, vip: C } = i, c = Te(p, (u) => ({
7928
- ...u,
7929
- providerList: Te(u.providers, (a) => ({
7928
+ const { third_party: p, bank: g, vip: C } = i, c = Te(p, (s) => ({
7929
+ ...s,
7930
+ providerList: Te(s.providers, (a) => ({
7930
7931
  ...a,
7931
7932
  providerUid: a.uid,
7932
7933
  providerImageUrl: `${Be}/paymentIcon/${lt(a.provider_name)}.png`,
7933
7934
  providerMax: a.max,
7934
7935
  providerMin: a.min
7935
7936
  })),
7936
- methodImageUrl: `${Be}/paymentIcon/${lt(u.method_name)}pay.png`
7937
+ methodImageUrl: `${Be}/paymentIcon/${lt(s.method_name)}pay.png`
7937
7938
  }));
7938
7939
  return {
7939
7940
  bank: g,
@@ -7941,53 +7942,53 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7941
7942
  thirdParty: c
7942
7943
  };
7943
7944
  },
7944
- ...s
7945
+ ...u
7945
7946
  });
7946
7947
  }, io = ({ options: e } = {}) => {
7947
- const { depositApi: s } = Ie();
7948
+ const { depositApi: u } = Ie();
7948
7949
  return _e({
7949
7950
  mutationKey: ["depositAction"],
7950
- mutationFn: async (n) => s(n),
7951
+ mutationFn: async (n) => u(n),
7951
7952
  ...e
7952
7953
  });
7953
7954
  }, to = ({ options: e } = {}) => {
7954
- const { withdrawApi: s } = Ie();
7955
+ const { withdrawApi: u } = Ie();
7955
7956
  return _e({
7956
7957
  mutationKey: ["withdrawAction"],
7957
- mutationFn: async (n) => s(n),
7958
+ mutationFn: async (n) => u(n),
7958
7959
  ...e
7959
7960
  });
7960
- }, no = ({ paramsData: e, options: s } = {}) => {
7961
+ }, no = ({ paramsData: e, options: u } = {}) => {
7961
7962
  const { depositTransactionApi: n } = Ie();
7962
7963
  return X({
7963
7964
  queryKey: ["depositTransaction", e],
7964
7965
  queryFn: () => n({ paramsData: e }),
7965
- ...s
7966
+ ...u
7966
7967
  });
7967
- }, lo = ({ paramsData: e, options: s } = {}) => {
7968
+ }, lo = ({ paramsData: e, options: u } = {}) => {
7968
7969
  const { eventTransactionApi: n } = Ie();
7969
7970
  return X({
7970
7971
  queryKey: ["eventTransaction", e],
7971
7972
  queryFn: () => n({ paramsData: e }),
7972
- ...s
7973
+ ...u
7973
7974
  });
7974
7975
  }, ro = ({ options: e } = {}) => {
7975
- const { bankDepositApi: s } = Ie();
7976
+ const { bankDepositApi: u } = Ie();
7976
7977
  return _e({
7977
7978
  mutationKey: ["bankDeposit"],
7978
- mutationFn: async (n) => s(n),
7979
+ mutationFn: async (n) => u(n),
7979
7980
  ...e
7980
7981
  });
7981
- }, oo = ({ paramsData: e, options: s } = {}) => {
7982
+ }, oo = ({ paramsData: e, options: u } = {}) => {
7982
7983
  const { withdrawTransactionApi: n } = Ie();
7983
7984
  return X({
7984
7985
  queryKey: ["withdrawTransaction", e],
7985
7986
  queryFn: () => n({ paramsData: e }),
7986
- ...s
7987
+ ...u
7987
7988
  });
7988
7989
  }, bm = ({
7989
7990
  depositV1: e = {},
7990
- depositV2: s = {},
7991
+ depositV2: u = {},
7991
7992
  depositTransaction: n = {},
7992
7993
  depositAction: i = {},
7993
7994
  withdrawAction: p = {},
@@ -7995,11 +7996,11 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7995
7996
  eventTransaction: C = {},
7996
7997
  withdrawTransaction: c = {}
7997
7998
  } = {}) => {
7998
- const u = eo(e), a = ao(s), t = no(n), o = io(i), l = to(p), r = ro(g), m = lo(C), _ = oo(
7999
+ const s = eo(e), a = ao(u), t = no(n), o = io(i), l = to(p), r = ro(g), m = lo(C), _ = oo(
7999
8000
  c
8000
8001
  );
8001
8002
  return {
8002
- depositV1: u,
8003
+ depositV1: s,
8003
8004
  depositV2: a,
8004
8005
  depositTransaction: t,
8005
8006
  depositAction: o,
@@ -8009,15 +8010,15 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8009
8010
  withdrawTransaction: _
8010
8011
  };
8011
8012
  }, An = "3.7.8", mo = An, pa = typeof Buffer == "function", gn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, dn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, so = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ta = Array.prototype.slice.call(so), Ba = ((e) => {
8012
- let s = {};
8013
- return e.forEach((n, i) => s[n] = i), s;
8014
- })(Ta), uo = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, pe = String.fromCharCode.bind(String), cn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Bn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (s) => s == "+" ? "-" : "_"), Hn = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Wn = (e) => {
8015
- let s, n, i, p, g = "";
8013
+ let u = {};
8014
+ return e.forEach((n, i) => u[n] = i), u;
8015
+ })(Ta), uo = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, pe = String.fromCharCode.bind(String), cn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Bn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (u) => u == "+" ? "-" : "_"), Hn = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Wn = (e) => {
8016
+ let u, n, i, p, g = "";
8016
8017
  const C = e.length % 3;
8017
8018
  for (let c = 0; c < e.length; ) {
8018
8019
  if ((n = e.charCodeAt(c++)) > 255 || (i = e.charCodeAt(c++)) > 255 || (p = e.charCodeAt(c++)) > 255)
8019
8020
  throw new TypeError("invalid character found");
8020
- s = n << 16 | i << 8 | p, g += Ta[s >> 18 & 63] + Ta[s >> 12 & 63] + Ta[s >> 6 & 63] + Ta[s & 63];
8021
+ u = n << 16 | i << 8 | p, g += Ta[u >> 18 & 63] + Ta[u >> 12 & 63] + Ta[u >> 6 & 63] + Ta[u & 63];
8021
8022
  }
8022
8023
  return C ? g.slice(0, C - 3) + "===".substring(C) : g;
8023
8024
  }, tt = typeof btoa == "function" ? (e) => btoa(e) : pa ? (e) => Buffer.from(e, "binary").toString("base64") : Wn, Vi = pa ? (e) => Buffer.from(e).toString("base64") : (e) => {
@@ -8025,18 +8026,18 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8025
8026
  for (let i = 0, p = e.length; i < p; i += 4096)
8026
8027
  n.push(pe.apply(null, e.subarray(i, i + 4096)));
8027
8028
  return tt(n.join(""));
8028
- }, hi = (e, s = !1) => s ? Bn(Vi(e)) : Vi(e), po = (e) => {
8029
+ }, hi = (e, u = !1) => u ? Bn(Vi(e)) : Vi(e), po = (e) => {
8029
8030
  if (e.length < 2) {
8030
- var s = e.charCodeAt(0);
8031
- return s < 128 ? e : s < 2048 ? pe(192 | s >>> 6) + pe(128 | s & 63) : pe(224 | s >>> 12 & 15) + pe(128 | s >>> 6 & 63) + pe(128 | s & 63);
8031
+ var u = e.charCodeAt(0);
8032
+ return u < 128 ? e : u < 2048 ? pe(192 | u >>> 6) + pe(128 | u & 63) : pe(224 | u >>> 12 & 15) + pe(128 | u >>> 6 & 63) + pe(128 | u & 63);
8032
8033
  } else {
8033
- var s = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
8034
- return pe(240 | s >>> 18 & 7) + pe(128 | s >>> 12 & 63) + pe(128 | s >>> 6 & 63) + pe(128 | s & 63);
8034
+ var u = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
8035
+ return pe(240 | u >>> 18 & 7) + pe(128 | u >>> 12 & 63) + pe(128 | u >>> 6 & 63) + pe(128 | u & 63);
8035
8036
  }
8036
- }, go = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, zn = (e) => e.replace(go, po), fn = pa ? (e) => Buffer.from(e, "utf8").toString("base64") : dn ? (e) => Vi(dn.encode(e)) : (e) => tt(zn(e)), ua = (e, s = !1) => s ? Bn(fn(e)) : fn(e), _n = (e) => ua(e, !0), co = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, fo = (e) => {
8037
+ }, go = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, zn = (e) => e.replace(go, po), fn = pa ? (e) => Buffer.from(e, "utf8").toString("base64") : dn ? (e) => Vi(dn.encode(e)) : (e) => tt(zn(e)), ua = (e, u = !1) => u ? Bn(fn(e)) : fn(e), _n = (e) => ua(e, !0), co = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, fo = (e) => {
8037
8038
  switch (e.length) {
8038
8039
  case 4:
8039
- var s = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), n = s - 65536;
8040
+ var u = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), n = u - 65536;
8040
8041
  return pe((n >>> 10) + 55296) + pe((n & 1023) + 56320);
8041
8042
  case 3:
8042
8043
  return pe((15 & e.charCodeAt(0)) << 12 | (63 & e.charCodeAt(1)) << 6 | 63 & e.charCodeAt(2));
@@ -8047,26 +8048,26 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8047
8048
  if (e = e.replace(/\s+/g, ""), !uo.test(e))
8048
8049
  throw new TypeError("malformed base64.");
8049
8050
  e += "==".slice(2 - (e.length & 3));
8050
- let s, n, i, p = [];
8051
+ let u, n, i, p = [];
8051
8052
  for (let g = 0; g < e.length; )
8052
- s = Ba[e.charAt(g++)] << 18 | Ba[e.charAt(g++)] << 12 | (n = Ba[e.charAt(g++)]) << 6 | (i = Ba[e.charAt(g++)]), n === 64 ? p.push(pe(s >> 16 & 255)) : i === 64 ? p.push(pe(s >> 16 & 255, s >> 8 & 255)) : p.push(pe(s >> 16 & 255, s >> 8 & 255, s & 255));
8053
+ u = Ba[e.charAt(g++)] << 18 | Ba[e.charAt(g++)] << 12 | (n = Ba[e.charAt(g++)]) << 6 | (i = Ba[e.charAt(g++)]), n === 64 ? p.push(pe(u >> 16 & 255)) : i === 64 ? p.push(pe(u >> 16 & 255, u >> 8 & 255)) : p.push(pe(u >> 16 & 255, u >> 8 & 255, u & 255));
8053
8054
  return p.join("");
8054
- }, nt = typeof atob == "function" ? (e) => atob(Hn(e)) : pa ? (e) => Buffer.from(e, "base64").toString("binary") : Zn, Jn = pa ? (e) => cn(Buffer.from(e, "base64")) : (e) => cn(nt(e).split("").map((s) => s.charCodeAt(0))), In = (e) => Jn(Kn(e)), _o = pa ? (e) => Buffer.from(e, "base64").toString("utf8") : gn ? (e) => gn.decode(Jn(e)) : (e) => Vn(nt(e)), Kn = (e) => Hn(e.replace(/[-_]/g, (s) => s == "-" ? "+" : "/")), Zi = (e) => _o(Kn(e)), Uo = (e) => {
8055
+ }, nt = typeof atob == "function" ? (e) => atob(Hn(e)) : pa ? (e) => Buffer.from(e, "base64").toString("binary") : Zn, Jn = pa ? (e) => cn(Buffer.from(e, "base64")) : (e) => cn(nt(e).split("").map((u) => u.charCodeAt(0))), In = (e) => Jn(Kn(e)), _o = pa ? (e) => Buffer.from(e, "base64").toString("utf8") : gn ? (e) => gn.decode(Jn(e)) : (e) => Vn(nt(e)), Kn = (e) => Hn(e.replace(/[-_]/g, (u) => u == "-" ? "+" : "/")), Zi = (e) => _o(Kn(e)), Uo = (e) => {
8055
8056
  if (typeof e != "string")
8056
8057
  return !1;
8057
- const s = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
8058
- return !/[^\s0-9a-zA-Z\+/]/.test(s) || !/[^\s0-9a-zA-Z\-_]/.test(s);
8058
+ const u = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
8059
+ return !/[^\s0-9a-zA-Z\+/]/.test(u) || !/[^\s0-9a-zA-Z\-_]/.test(u);
8059
8060
  }, qn = (e) => ({
8060
8061
  value: e,
8061
8062
  enumerable: !1,
8062
8063
  writable: !0,
8063
8064
  configurable: !0
8064
8065
  }), jn = function() {
8065
- const e = (s, n) => Object.defineProperty(String.prototype, s, qn(n));
8066
+ const e = (u, n) => Object.defineProperty(String.prototype, u, qn(n));
8066
8067
  e("fromBase64", function() {
8067
8068
  return Zi(this);
8068
- }), e("toBase64", function(s) {
8069
- return ua(this, s);
8069
+ }), e("toBase64", function(u) {
8070
+ return ua(this, u);
8070
8071
  }), e("toBase64URI", function() {
8071
8072
  return ua(this, !0);
8072
8073
  }), e("toBase64URL", function() {
@@ -8075,9 +8076,9 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8075
8076
  return In(this);
8076
8077
  });
8077
8078
  }, $n = function() {
8078
- const e = (s, n) => Object.defineProperty(Uint8Array.prototype, s, qn(n));
8079
- e("toBase64", function(s) {
8080
- return hi(this, s);
8079
+ const e = (u, n) => Object.defineProperty(Uint8Array.prototype, u, qn(n));
8080
+ e("toBase64", function(u) {
8081
+ return hi(this, u);
8081
8082
  }), e("toBase64URI", function() {
8082
8083
  return hi(this, !0);
8083
8084
  }), e("toBase64URL", function() {
@@ -8106,12 +8107,12 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8106
8107
  extendString: jn,
8107
8108
  extendUint8Array: $n,
8108
8109
  extendBuiltins: yo
8109
- }, Cm = (e, s) => {
8110
+ }, Cm = (e, u) => {
8110
8111
  const { playGameApi: n } = $i();
8111
8112
  return X({
8112
8113
  queryKey: ["playGame"],
8113
8114
  queryFn: async () => {
8114
- const { gameUid: i, gameCode: p, isMobile: g, gameCurrency: C, currentCurrency: c } = e || {}, u = await n({
8115
+ const { gameUid: i, gameCode: p, isMobile: g, gameCurrency: C, currentCurrency: c } = e || {}, s = await n({
8115
8116
  gameUid: i,
8116
8117
  gameCode: p,
8117
8118
  isMobile: g,
@@ -8125,7 +8126,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8125
8126
  url: r,
8126
8127
  is_html_code: m,
8127
8128
  message: _
8128
- } = u;
8129
+ } = s;
8129
8130
  return {
8130
8131
  gameCurrency: a,
8131
8132
  lang: t,
@@ -8138,27 +8139,27 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8138
8139
  };
8139
8140
  },
8140
8141
  enabled: !!e?.gameCode,
8141
- ...s
8142
+ ...u
8142
8143
  });
8143
8144
  }, Qn = () => {
8144
- const { client: e } = te(), s = J(async () => await e.get("/rebate"), [e]), n = J(async () => await e.post("/withdraw/rebate"), [e]);
8145
+ const { client: e } = te(), u = J(async () => await e.get("/rebate"), [e]), n = J(async () => await e.post("/withdraw/rebate"), [e]);
8145
8146
  return {
8146
- currentRebateApi: s,
8147
+ currentRebateApi: u,
8147
8148
  receiveRebateApi: n
8148
8149
  };
8149
8150
  }, Co = ({ options: e } = {}) => {
8150
- const { currentRebateApi: s } = Qn();
8151
+ const { currentRebateApi: u } = Qn();
8151
8152
  return X({
8152
8153
  queryKey: ["currentRebate"],
8153
- queryFn: () => s(),
8154
+ queryFn: () => u(),
8154
8155
  select: (n) => ol(n, ["code", "status"]),
8155
8156
  ...e
8156
8157
  });
8157
8158
  }, vo = ({ options: e } = {}) => {
8158
- const { receiveRebateApi: s } = Qn();
8159
+ const { receiveRebateApi: u } = Qn();
8159
8160
  return _e({
8160
8161
  mutationKey: ["receiveRebate"],
8161
- mutationFn: async () => s(),
8162
+ mutationFn: async () => u(),
8162
8163
  ...e
8163
8164
  });
8164
8165
  }, vm = ({
@@ -8167,13 +8168,13 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8167
8168
  receiveRebate: {}
8168
8169
  }
8169
8170
  } = {}) => {
8170
- const s = Co({ options: e.currentRebate }), n = vo({ options: e.receiveRebate });
8171
+ const u = Co({ options: e.currentRebate }), n = vo({ options: e.receiveRebate });
8171
8172
  return {
8172
- currentRebate: s,
8173
+ currentRebate: u,
8173
8174
  receiveRebate: n
8174
8175
  };
8175
8176
  }, Sa = () => {
8176
- const { client: e } = te(), s = J(
8177
+ const { client: e } = te(), u = J(
8177
8178
  async ({ uid: C, params: c } = {}) => await e.get(`/memberRewards${C ? `/${C}` : ""}`, {
8178
8179
  params: c
8179
8180
  }),
@@ -8185,19 +8186,19 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8185
8186
  [e]
8186
8187
  ), g = J(async () => await e.get("/memberRewards/member/history"), [e]);
8187
8188
  return {
8188
- rewardListApi: s,
8189
+ rewardListApi: u,
8189
8190
  unUsedRewardListApi: n,
8190
8191
  expiredRewardListApi: i,
8191
8192
  redeemRewardApi: p,
8192
8193
  historyRewardApi: g
8193
8194
  };
8194
8195
  }, To = ({ options: e } = {}) => {
8195
- const { rewardListApi: s } = Sa();
8196
+ const { rewardListApi: u } = Sa();
8196
8197
  return X({
8197
8198
  queryKey: ["rewardsList"],
8198
8199
  queryFn: (n) => {
8199
8200
  const { uid: i, params: p } = n || {};
8200
- return s({ uid: i, params: p });
8201
+ return u({ uid: i, params: p });
8201
8202
  },
8202
8203
  select: (n) => {
8203
8204
  const i = Te(n.data, (p) => {
@@ -8205,7 +8206,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8205
8206
  wagering_restricted_amount: g,
8206
8207
  claimed_amount: C
8207
8208
  } = p, c = me(p, "rewards", {}), {
8208
- expiration_days: u,
8209
+ expiration_days: s,
8209
8210
  name: a,
8210
8211
  position: t,
8211
8212
  type: o,
@@ -8213,7 +8214,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8213
8214
  } = c;
8214
8215
  return {
8215
8216
  ...p,
8216
- rewardExpirationDays: u,
8217
+ rewardExpirationDays: s,
8217
8218
  rewardName: a,
8218
8219
  rewardPosition: t,
8219
8220
  rewardType: o,
@@ -8232,31 +8233,31 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8232
8233
  ...e
8233
8234
  });
8234
8235
  }, ho = ({ options: e } = {}) => {
8235
- const { redeemRewardApi: s } = Sa();
8236
+ const { redeemRewardApi: u } = Sa();
8236
8237
  return _e({
8237
8238
  mutationKey: ["redeemReward"],
8238
- mutationFn: async (n) => await s(n),
8239
+ mutationFn: async (n) => await u(n),
8239
8240
  ...e
8240
8241
  });
8241
8242
  }, ko = ({ options: e } = {}) => {
8242
- const { unUsedRewardListApi: s } = Sa();
8243
+ const { unUsedRewardListApi: u } = Sa();
8243
8244
  return X({
8244
8245
  queryKey: ["unUsedRewardsList"],
8245
- queryFn: s,
8246
+ queryFn: u,
8246
8247
  ...e
8247
8248
  });
8248
8249
  }, xo = ({ options: e } = {}) => {
8249
- const { expiredRewardListApi: s } = Sa();
8250
+ const { expiredRewardListApi: u } = Sa();
8250
8251
  return X({
8251
8252
  queryKey: ["expiredRewardsList"],
8252
- queryFn: s,
8253
+ queryFn: u,
8253
8254
  ...e
8254
8255
  });
8255
8256
  }, So = ({ options: e } = {}) => {
8256
- const { historyRewardApi: s } = Sa();
8257
+ const { historyRewardApi: u } = Sa();
8257
8258
  return X({
8258
8259
  queryKey: ["historyRewardsList"],
8259
- queryFn: s,
8260
+ queryFn: u,
8260
8261
  ...e
8261
8262
  });
8262
8263
  }, Tm = ({
@@ -8268,7 +8269,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8268
8269
  historyRewardsList: {}
8269
8270
  }
8270
8271
  } = {}) => {
8271
- const s = To({ options: e.rewardsList }), n = ho({
8272
+ const u = To({ options: e.rewardsList }), n = ho({
8272
8273
  options: e.redeemReward
8273
8274
  }), i = ko({
8274
8275
  options: e.unUsedRewardsList
@@ -8278,100 +8279,100 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8278
8279
  options: e.historyRewardsList
8279
8280
  });
8280
8281
  return {
8281
- rewardsListQuery: s,
8282
+ rewardsListQuery: u,
8282
8283
  redeemRewardMutation: n,
8283
8284
  unUsedRewardsListQuery: i,
8284
8285
  expiredRewardsListQuery: p,
8285
8286
  historyRewardsListQuery: g
8286
8287
  };
8287
8288
  }, Do = ({ options: e } = {}) => {
8288
- const { userLoginApi: s } = ge();
8289
+ const { userLoginApi: u } = ge();
8289
8290
  return _e({
8290
8291
  mutationKey: ["userLogin"],
8291
- mutationFn: async (n) => s(n),
8292
+ mutationFn: async (n) => u(n),
8292
8293
  ...e
8293
8294
  });
8294
8295
  }, Eo = ({ options: e } = {}) => {
8295
- const { userLogoutApi: s } = ge();
8296
+ const { userLogoutApi: u } = ge();
8296
8297
  return _e({
8297
8298
  mutationKey: ["userLogout"],
8298
- mutationFn: async () => s(),
8299
+ mutationFn: async () => u(),
8299
8300
  ...e
8300
8301
  });
8301
8302
  }, No = ({ options: e } = {}) => {
8302
- const { userSignUpApi: s } = ge();
8303
+ const { userSignUpApi: u } = ge();
8303
8304
  return _e({
8304
8305
  mutationKey: ["userSignUp"],
8305
- mutationFn: async (n) => s(n),
8306
+ mutationFn: async (n) => u(n),
8306
8307
  ...e
8307
8308
  });
8308
8309
  }, Lo = ({ options: e } = {}) => {
8309
- const { addOrRemoveFavoriteGameApi: s } = ge();
8310
+ const { addOrRemoveFavoriteGameApi: u } = ge();
8310
8311
  return _e({
8311
8312
  mutationKey: ["toggleFavoriteGame"],
8312
- mutationFn: async (n) => s(n),
8313
+ mutationFn: async (n) => u(n),
8313
8314
  ...e
8314
8315
  });
8315
8316
  }, Go = ({ options: e } = {}) => {
8316
- const { updateUserInfoApi: s } = ge();
8317
+ const { updateUserInfoApi: u } = ge();
8317
8318
  return _e({
8318
8319
  mutationKey: ["updateUserInfo"],
8319
- mutationFn: async (n) => s(n),
8320
+ mutationFn: async (n) => u(n),
8320
8321
  ...e
8321
8322
  });
8322
8323
  }, Mo = ({ options: e } = {}) => {
8323
- const { resetUserPasswordApi: s } = ge();
8324
+ const { resetUserPasswordApi: u } = ge();
8324
8325
  return _e({
8325
8326
  mutationKey: ["resetUserPassword"],
8326
- mutationFn: async (n) => s(n),
8327
+ mutationFn: async (n) => u(n),
8327
8328
  ...e
8328
8329
  });
8329
8330
  }, Ro = ({ options: e } = {}) => {
8330
- const { setUserTransactionPasswordApi: s } = ge();
8331
+ const { setUserTransactionPasswordApi: u } = ge();
8331
8332
  return _e({
8332
8333
  mutationKey: ["setUserTransactionPassword"],
8333
- mutationFn: async (n) => s(n),
8334
+ mutationFn: async (n) => u(n),
8334
8335
  ...e
8335
8336
  });
8336
8337
  }, Po = ({ options: e } = {}) => {
8337
- const { resetUserTransactionPasswordApi: s } = ge();
8338
+ const { resetUserTransactionPasswordApi: u } = ge();
8338
8339
  return _e({
8339
8340
  mutationKey: ["resetUserTransactionPassword"],
8340
- mutationFn: async (n) => s(n),
8341
+ mutationFn: async (n) => u(n),
8341
8342
  ...e
8342
8343
  });
8343
- }, Fo = ({ paramsData: e, options: s } = {}) => {
8344
+ }, Fo = ({ paramsData: e, options: u } = {}) => {
8344
8345
  const { userRebateApi: n } = ge(), { getToken: i } = te();
8345
8346
  return i?.(), X({
8346
8347
  queryKey: ["userRebate", e],
8347
8348
  queryFn: async () => n({ paramsData: e }),
8348
8349
  enabled: !1,
8349
- ...s
8350
+ ...u
8350
8351
  });
8351
8352
  }, wo = ({ options: e } = {}) => {
8352
- const { userBindBankApi: s } = ge();
8353
+ const { userBindBankApi: u } = ge();
8353
8354
  return _e({
8354
8355
  mutationKey: ["userBindBank"],
8355
- mutationFn: async (n) => s({ formData: n }),
8356
+ mutationFn: async (n) => u({ formData: n }),
8356
8357
  ...e
8357
8358
  });
8358
8359
  }, Oo = ({ options: e } = {}) => {
8359
- const { transferInGameApi: s } = ge();
8360
+ const { transferInGameApi: u } = ge();
8360
8361
  return _e({
8361
8362
  mutationKey: ["transferInGame"],
8362
- mutationFn: async (n) => s(n),
8363
+ mutationFn: async (n) => u(n),
8363
8364
  retry: !1,
8364
8365
  ...e
8365
8366
  });
8366
8367
  }, hm = ({ options: e } = {}) => {
8367
- const { currency: s } = te(), { checkUserWagerApi: n } = ge();
8368
+ const { currency: u } = te(), { checkUserWagerApi: n } = ge();
8368
8369
  return X({
8369
8370
  queryKey: ["checkUserWager"],
8370
8371
  queryFn: async () => n(),
8371
8372
  select: (i) => {
8372
8373
  const { data: p } = i;
8373
8374
  return Le(p?.base, {
8374
- currency: s
8375
+ currency: u
8375
8376
  }) || {};
8376
8377
  },
8377
8378
  ...e
@@ -8390,35 +8391,35 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8390
8391
  userBindCard: {}
8391
8392
  }
8392
8393
  } = {}) => {
8393
- const s = Do({ options: e.login }), n = Eo({ options: e.logout }), i = No({ options: e.register }), p = Go({ options: e.updateUserInfo }), g = Lo({
8394
+ const u = Do({ options: e.login }), n = Eo({ options: e.logout }), i = No({ options: e.register }), p = Go({ options: e.updateUserInfo }), g = Lo({
8394
8395
  options: e.toggleFavoriteGame
8395
8396
  }), C = Mo({
8396
8397
  options: e.resetUserPassword
8397
8398
  }), c = Ro({
8398
8399
  options: e.setUserTransactionPassword
8399
- }), u = Po({
8400
+ }), s = Po({
8400
8401
  options: e.resetUserTransactionPassword
8401
8402
  }), a = Fo({ options: e.userRebate }), t = wo({ options: e.userBindCard });
8402
8403
  return {
8403
- login: s,
8404
+ login: u,
8404
8405
  logout: n,
8405
8406
  register: i,
8406
8407
  updateUserInfo: p,
8407
8408
  toggleFavoriteGame: g,
8408
8409
  resetUserPassword: C,
8409
8410
  setUserTransactionPassword: c,
8410
- resetUserTransactionPassword: u,
8411
+ resetUserTransactionPassword: s,
8411
8412
  userRebate: a,
8412
8413
  userBindCard: t
8413
8414
  };
8414
8415
  }, Yn = () => {
8415
- const { client: e } = te(), s = J(async () => await e.get("/vip/list"), [e]), n = J(async () => await e.get("/vip/check"), [e]);
8416
+ const { client: e } = te(), u = J(async () => await e.get("/vip/list"), [e]), n = J(async () => await e.get("/vip/check"), [e]);
8416
8417
  return {
8417
- vipListApi: s,
8418
+ vipListApi: u,
8418
8419
  vipInfoApi: n
8419
8420
  };
8420
8421
  }, xm = ({ options: e } = {}) => {
8421
- const { store: s } = te(), n = s?.getState()?.isMemberInfo || s?.getState()?.member?.member || {}, { vipInfoApi: i } = Yn();
8422
+ const { store: u } = te(), n = u?.getState()?.isMemberInfo || u?.getState()?.member?.member || {}, { vipInfoApi: i } = Yn();
8422
8423
  return X({
8423
8424
  queryKey: ["vipInfo"],
8424
8425
  queryFn: async () => i(),
@@ -8433,7 +8434,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8433
8434
  ...e
8434
8435
  });
8435
8436
  }, Ao = ({ options: e } = {}) => {
8436
- const { store: s } = te(), n = s?.getState()?.isWalletCurrency || s?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: i } = Yn();
8437
+ const { store: u } = te(), n = u?.getState()?.isWalletCurrency || u?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: i } = Yn();
8437
8438
  return X({
8438
8439
  queryKey: ["vipList"],
8439
8440
  queryFn: async () => {
@@ -8444,12 +8445,12 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8444
8445
  const g = Ge(p) ? p : p.data;
8445
8446
  return Te(g, (c) => {
8446
8447
  const {
8447
- vip_criteria: u,
8448
+ vip_criteria: s,
8448
8449
  vip_payment_tags: a,
8449
8450
  vip_withdrawal_rate: t,
8450
8451
  rebate_range: o,
8451
8452
  vip_game_rebate: l
8452
- } = c, r = Le(u, { currency_code: n }) || {}, m = Le(a, { currency_code: n }) || {}, _ = t, f = Te(o, (y) => ({
8453
+ } = c, r = Le(s, { currency_code: n }) || {}, m = Le(a, { currency_code: n }) || {}, _ = t, f = Te(o, (y) => ({
8453
8454
  ...y,
8454
8455
  rebateRange: JSON.parse(y.rebate_range)
8455
8456
  })), U = me(l, "[0]", {}), d = {
@@ -8493,7 +8494,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8493
8494
  return "En";
8494
8495
  }
8495
8496
  }, yn = "game-icon-ds88", Dm = ({ gameData: e = {} } = {}) => {
8496
- const { lng: s } = te(), n = Un(s), {
8497
+ const { lng: u } = te(), n = Un(u), {
8497
8498
  gameCode: i,
8498
8499
  // 遊戲代碼
8499
8500
  gameUid: p,
@@ -8505,7 +8506,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8505
8506
  // platform_enum: platformEnum, // 平台枚舉
8506
8507
  currencyCode: c,
8507
8508
  // 支援貨幣
8508
- enterLobbyMode: u,
8509
+ enterLobbyMode: s,
8509
8510
  // 進入大廳模式
8510
8511
  game_platform: a,
8511
8512
  // 遊戲平台
@@ -8538,7 +8539,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8538
8539
  gameTypeUid: g,
8539
8540
  providerUid: C,
8540
8541
  supportCurrency: c,
8541
- enterLobbyMode: u,
8542
+ enterLobbyMode: s,
8542
8543
  gamePlatform: a,
8543
8544
  gameSubType: t,
8544
8545
  gameType: o,
@@ -8555,7 +8556,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8555
8556
  gameImageUrl: h,
8556
8557
  gameImageUrlAnimated: x
8557
8558
  };
8558
- }, Bo = (e, s = !1) => ml([
8559
+ }, Bo = (e, u = !1) => ml([
8559
8560
  "EVO",
8560
8561
  "IMSPRIBE",
8561
8562
  "SABA",
@@ -8566,7 +8567,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8566
8567
  "HACK",
8567
8568
  "NAGA",
8568
8569
  "RSG"
8569
- ], e) && s ? `${e}_dark` : e, Em = ({ platformData: e, darkMode: s } = {}) => {
8570
+ ], e) && u ? `${e}_dark` : e, Em = ({ platformData: e, darkMode: u } = {}) => {
8570
8571
  const {
8571
8572
  SubPlatformEnum: n,
8572
8573
  // 子平台枚舉
@@ -8580,7 +8581,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8580
8581
  // 維護結束時間
8581
8582
  platform: c,
8582
8583
  // 平台代碼
8583
- platformUid: u,
8584
+ platformUid: s,
8584
8585
  // 平台唯一標識符
8585
8586
  platformMode: a,
8586
8587
  // 平台模式
@@ -8588,7 +8589,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8588
8589
  // 臨時維護開始時間
8589
8590
  temp_maintenance_end_time: o
8590
8591
  // 臨時維護結束時間
8591
- } = e || {}, l = `${Be}/${Dn}/${Bo(i, s)}.png`;
8592
+ } = e || {}, l = `${Be}/${Dn}/${Bo(i, u)}.png`;
8592
8593
  return {
8593
8594
  subPlatformEnum: n,
8594
8595
  platformEnum: i,
@@ -8596,27 +8597,27 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8596
8597
  maintenanceStartTime: g,
8597
8598
  maintenanceEndTime: C,
8598
8599
  platform: c,
8599
- platformUid: u,
8600
+ platformUid: s,
8600
8601
  platformMode: a,
8601
8602
  tempMaintenanceStartTime: t,
8602
8603
  tempMaintenanceEndTime: o,
8603
8604
  platformImageUrl: l
8604
8605
  };
8605
- }, Ho = (e = {}) => !ki(e) || se(e) ? [] : xi(e), bn = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "platform"), Wo = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "gameTypeName"), zo = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "game_subtype"), Vo = (e = {}) => !ki(e) || se(e) ? [] : xi(e), Zo = (e = [], s = []) => !Ge(e) || se(e) ? {} : !Ge(s) || se(s) ? {} : e.reduce((n, i) => {
8606
- const p = s.map((g) => g.game_subtype);
8606
+ }, Ho = (e = {}) => !ki(e) || se(e) ? [] : xi(e), bn = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "platform"), Wo = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "gameTypeName"), zo = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "game_subtype"), Vo = (e = {}) => !ki(e) || se(e) ? [] : xi(e), Zo = (e = [], u = []) => !Ge(e) || se(e) ? {} : !Ge(u) || se(u) ? {} : e.reduce((n, i) => {
8607
+ const p = u.map((g) => g.game_subtype);
8607
8608
  return p.forEach((g) => {
8608
8609
  n[g] = n[g] || [];
8609
8610
  }), p.includes(i.game_subtype) && n[i.game_subtype].push(i), n;
8610
8611
  }, {}), Jo = ({
8611
8612
  gameTypes: e = [],
8612
- platforms: s = [],
8613
+ platforms: u = [],
8613
8614
  gameList: n = {},
8614
8615
  allGameTypes: i = [],
8615
8616
  allPlatforms: p = []
8616
- }) => !Ge(e) || !Ge(s) ? {} : se(n) ? {} : e.reduce((g, C) => {
8617
+ }) => !Ge(e) || !Ge(u) ? {} : se(n) ? {} : e.reduce((g, C) => {
8617
8618
  const c = Ul({
8618
8619
  gameTypeName: C,
8619
- platforms: s,
8620
+ platforms: u,
8620
8621
  gameList: n,
8621
8622
  allGameTypes: i,
8622
8623
  allPlatforms: p
@@ -8624,17 +8625,17 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8624
8625
  return se(c) || (g[C] = c), g;
8625
8626
  }, {}), Nm = ({
8626
8627
  types: e = [],
8627
- platforms: s = [],
8628
+ platforms: u = [],
8628
8629
  allGameType: n = [],
8629
8630
  allGamePlatform: i = [],
8630
8631
  allGameList: p = {}
8631
- } = {}) => !Array.isArray(e) || !Array.isArray(s) ? {} : e.reduce((g, C) => {
8632
+ } = {}) => !Array.isArray(e) || !Array.isArray(u) ? {} : e.reduce((g, C) => {
8632
8633
  const c = Nn(n, C);
8633
8634
  if (!c) return g;
8634
- const u = p[c] || [], a = s.reduce((t, o) => {
8635
+ const s = p[c] || [], a = u.reduce((t, o) => {
8635
8636
  const l = yl({
8636
8637
  platformName: o,
8637
- gamesOfType: u,
8638
+ gamesOfType: s,
8638
8639
  allPlatforms: i
8639
8640
  });
8640
8641
  return se(l) ? t : { ...t, [o]: l };
@@ -8644,35 +8645,35 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8644
8645
  n[p] ? n[p] = [...n[p], ...g] : n[p] = g;
8645
8646
  }), n), {}), Ko = (e = {}) => {
8646
8647
  if (!ki(e) || se(e)) return {};
8647
- const s = {};
8648
+ const u = {};
8648
8649
  for (const [n, i] of Object.entries(e)) {
8649
- s[n] = {};
8650
+ u[n] = {};
8650
8651
  for (const p of i) {
8651
8652
  const g = p.game_subtype;
8652
- s[n][g] || (s[n][g] = []), s[n][g].push(p);
8653
+ u[n][g] || (u[n][g] = []), u[n][g].push(p);
8653
8654
  }
8654
8655
  }
8655
- return s;
8656
+ return u;
8656
8657
  }, qo = ({
8657
8658
  allGameList: e = {},
8658
- allGamePlatform: s = [],
8659
+ allGamePlatform: u = [],
8659
8660
  allGameType: n = [],
8660
8661
  allGame_subtype: i = [],
8661
8662
  allNewGameList: p = [],
8662
8663
  allTopGameList: g = [],
8663
8664
  randomlySelectedGames: C = [],
8664
8665
  userFavoriteGame: c = {},
8665
- exclusiveBrandGames: u = [],
8666
+ exclusiveBrandGames: s = [],
8666
8667
  highlightGames: a = [],
8667
8668
  originPlatform: t = []
8668
8669
  }) => {
8669
- const o = Ho(e), l = bn(s), r = Wo(n), m = zo(i), _ = bn(t), f = Vo(c), U = Jo({
8670
+ const o = Ho(e), l = bn(u), r = Wo(n), m = zo(i), _ = bn(t), f = Vo(c), U = Jo({
8670
8671
  gameTypes: r,
8671
8672
  platforms: l,
8672
8673
  gameList: e,
8673
8674
  allGameTypes: n,
8674
- allPlatforms: s
8675
- }), d = Te(s, (D) => {
8675
+ allPlatforms: u
8676
+ }), d = Te(u, (D) => {
8676
8677
  const O = `${Be}/${Dn}/${D.platformEnum}.png`;
8677
8678
  return {
8678
8679
  ...D,
@@ -8707,7 +8708,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8707
8708
  top: g,
8708
8709
  favorite: f,
8709
8710
  highlight: a,
8710
- exclusiveBrand: u,
8711
+ exclusiveBrand: s,
8711
8712
  randomlySelected: C
8712
8713
  },
8713
8714
  categorized: {
@@ -8721,8 +8722,8 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8721
8722
  favorite: f
8722
8723
  }
8723
8724
  };
8724
- }, Lm = (e = []) => !Ge(e) || se(e) ? [] : xi(e, (s) => se(s.SubPlatformEnum) ? s : s.SubPlatformEnum.map((n) => ({
8725
- ...s,
8725
+ }, Lm = (e = []) => !Ge(e) || se(e) ? [] : xi(e, (u) => se(u.SubPlatformEnum) ? u : u.SubPlatformEnum.map((n) => ({
8726
+ ...u,
8726
8727
  ...n,
8727
8728
  platform: n.SubPlatformEnum,
8728
8729
  platformEnum: n.SubPlatformEnum
@@ -8747,12 +8748,12 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8747
8748
  },
8748
8749
  user: { favorite: [] }
8749
8750
  }, $o = ({ enabled: e = !0 } = {}) => {
8750
- const { getToken: s } = te(), { userFavoriteGameApi: n, userGameListApi: i } = ge(), { data: p, isLoading: g, error: C, refetch: c } = X({
8751
+ const { getToken: u } = te(), { userFavoriteGameApi: n, userGameListApi: i } = ge(), { data: p, isLoading: g, error: C, refetch: c } = X({
8751
8752
  queryKey: ["gamesInfo"],
8752
8753
  queryFn: async () => {
8753
- let u = {}, a = {};
8754
+ let s = {}, a = {};
8754
8755
  try {
8755
- await s?.() && (a = await i(), u = await n());
8756
+ await u?.() && (a = await i(), s = await n());
8756
8757
  } catch (t) {
8757
8758
  console.warn("Failed to fetch favorite games:", t);
8758
8759
  }
@@ -8763,7 +8764,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8763
8764
  allGame_subtype: a.gameSubType || window.gameSubType || [],
8764
8765
  allNewGameList: a.newGames || window.newGames || [],
8765
8766
  allTopGameList: a.topGames || window.topGames || [],
8766
- userFavoriteGame: u.userFavoriteGame || {},
8767
+ userFavoriteGame: s.userFavoriteGame || {},
8767
8768
  randomlySelectedGames: a.randomlySelectedGames || window.randomlySelectedGames || [],
8768
8769
  exclusiveBrandGames: a.exclusiveBrandGames || window.exclusiveBrandGames || [],
8769
8770
  highlightGames: a.highlightGames || window.highlightGames || [],
@@ -35313,18 +35314,18 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
35313
35314
  });
35314
35315
  }, Yo = ({
35315
35316
  children: e,
35316
- autoFetch: s = !1,
35317
+ autoFetch: u = !1,
35317
35318
  mockData: n = !1
35318
35319
  }) => {
35319
35320
  ma(() => {
35320
35321
  n && Qo(!0);
35321
35322
  }, [n]);
35322
- const i = $o({ enabled: s });
35323
+ const i = $o({ enabled: u });
35323
35324
  return /* @__PURE__ */ sa.jsx(En.Provider, { value: i, children: e });
35324
35325
  };
35325
35326
  function Gm({
35326
35327
  children: e,
35327
- autoFetchGamesInfo: s = !1,
35328
+ autoFetchGamesInfo: u = !1,
35328
35329
  useMockData: n = !1,
35329
35330
  queryClient: i,
35330
35331
  ...p
@@ -35342,11 +35343,11 @@ function Gm({
35342
35343
  }
35343
35344
  }),
35344
35345
  []
35345
- ), u = i || c;
35346
- return /* @__PURE__ */ sa.jsx(ll, { client: u, children: /* @__PURE__ */ sa.jsx(Tn.Provider, { value: { client: g, formDataClient: C, ...p }, children: /* @__PURE__ */ sa.jsx(fl, { children: /* @__PURE__ */ sa.jsx(
35346
+ ), s = i || c;
35347
+ return /* @__PURE__ */ sa.jsx(ll, { client: s, children: /* @__PURE__ */ sa.jsx(Tn.Provider, { value: { client: g, formDataClient: C, ...p }, children: /* @__PURE__ */ sa.jsx(fl, { children: /* @__PURE__ */ sa.jsx(
35347
35348
  Yo,
35348
35349
  {
35349
- autoFetch: s,
35350
+ autoFetch: u,
35350
35351
  mockData: n,
35351
35352
  children: e
35352
35353
  }