@obb871001/api-integration-sdk 1.0.278 → 1.0.279

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
@@ -38,11 +38,11 @@ function Zl() {
38
38
  xt = 1;
39
39
  var e = de, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
40
  function b(f, l, a) {
41
- var i, o = {}, s = null, u = null;
42
- a !== void 0 && (s = "" + a), l.key !== void 0 && (s = "" + l.key), l.ref !== void 0 && (u = l.ref);
43
- for (i in l) n.call(l, i) && !g.hasOwnProperty(i) && (o[i] = l[i]);
44
- if (f && f.defaultProps) for (i in l = f.defaultProps, l) o[i] === void 0 && (o[i] = l[i]);
45
- return { $$typeof: r, type: f, key: s, ref: u, props: o, _owner: p.current };
41
+ var i, s = {}, o = null, u = null;
42
+ a !== void 0 && (o = "" + a), l.key !== void 0 && (o = "" + l.key), l.ref !== void 0 && (u = l.ref);
43
+ for (i in l) n.call(l, i) && !g.hasOwnProperty(i) && (s[i] = l[i]);
44
+ if (f && f.defaultProps) for (i in l = f.defaultProps, l) s[i] === void 0 && (s[i] = l[i]);
45
+ return { $$typeof: r, type: f, key: o, ref: u, props: s, _owner: p.current };
46
46
  }
47
47
  return Va.Fragment = t, Va.jsx = b, Va.jsxs = b, Va;
48
48
  }
@@ -50,7 +50,7 @@ var Za = {};
50
50
  var St;
51
51
  function Jl() {
52
52
  return St || (St = 1, process.env.NODE_ENV !== "production" && (function() {
53
- var e = de, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, c = "@@iterator";
53
+ var e = de, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), o = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, c = "@@iterator";
54
54
  function d(k) {
55
55
  if (k === null || typeof k != "object")
56
56
  return null;
@@ -78,7 +78,7 @@ function Jl() {
78
78
  var v = !1, T = !1, x = !1, S = !1, G = !1, O;
79
79
  O = Symbol.for("react.module.reference");
80
80
  function C(k) {
81
- return !!(typeof k == "string" || typeof k == "function" || k === n || k === g || G || k === p || k === a || k === i || S || k === u || v || T || x || typeof k == "object" && k !== null && (k.$$typeof === s || k.$$typeof === o || k.$$typeof === b || k.$$typeof === f || k.$$typeof === l || // This needs to include all possible module reference object
81
+ return !!(typeof k == "string" || typeof k == "function" || k === n || k === g || G || k === p || k === a || k === i || S || k === u || v || T || x || typeof k == "object" && k !== null && (k.$$typeof === o || k.$$typeof === s || k.$$typeof === b || k.$$typeof === f || k.$$typeof === l || // 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.
@@ -125,10 +125,10 @@ function Jl() {
125
125
  return N(Z._context) + ".Provider";
126
126
  case l:
127
127
  return h(k, k.render, "ForwardRef");
128
- case o:
128
+ case s:
129
129
  var q = k.displayName || null;
130
130
  return q !== null ? q : E(k.type) || "Memo";
131
- case s: {
131
+ case o: {
132
132
  var le = k, se = le._payload, te = le._init;
133
133
  try {
134
134
  return E(te(se));
@@ -269,14 +269,14 @@ function Jl() {
269
269
  } catch (Be) {
270
270
  if (Be && q && typeof Be.stack == "string") {
271
271
  for (var Y = Be.stack.split(`
272
- `), we = q.stack.split(`
273
- `), be = Y.length - 1, he = we.length - 1; be >= 1 && he >= 0 && Y[be] !== we[he]; )
272
+ `), Ae = q.stack.split(`
273
+ `), be = Y.length - 1, he = Ae.length - 1; be >= 1 && he >= 0 && Y[be] !== Ae[he]; )
274
274
  he--;
275
275
  for (; be >= 1 && he >= 0; be--, he--)
276
- if (Y[be] !== we[he]) {
276
+ if (Y[be] !== Ae[he]) {
277
277
  if (be !== 1 || he !== 1)
278
278
  do
279
- if (be--, he--, he < 0 || Y[be] !== we[he]) {
279
+ if (be--, he--, he < 0 || Y[be] !== Ae[he]) {
280
280
  var Ze = `
281
281
  ` + Y[be].replace(" at new ", " at ");
282
282
  return k.displayName && Ze.includes("<anonymous>") && (Ze = Ze.replace("<anonymous>", k.displayName)), typeof k == "function" && ie.set(k, Ze), Ze;
@@ -315,9 +315,9 @@ function Jl() {
315
315
  switch (k.$$typeof) {
316
316
  case l:
317
317
  return oe(k.render);
318
- case o:
318
+ case s:
319
319
  return ke(k.type, z, Z);
320
- case s: {
320
+ case o: {
321
321
  var q = k, le = q._payload, se = q._init;
322
322
  try {
323
323
  return ke(se(le), z, Z);
@@ -343,8 +343,8 @@ function Jl() {
343
343
  var Y = void 0;
344
344
  try {
345
345
  if (typeof k[te] != "function") {
346
- var we = Error((q || "React class") + ": " + Z + " type `" + te + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof k[te] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
- throw we.name = "Invariant Violation", we;
346
+ var Ae = Error((q || "React class") + ": " + Z + " type `" + te + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof k[te] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
+ throw Ae.name = "Invariant Violation", Ae;
348
348
  }
349
349
  Y = k[te](z, te, q, Z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
350
  } catch (be) {
@@ -456,8 +456,8 @@ function Jl() {
456
456
  };
457
457
  function Ia(k, z, Z, q, le) {
458
458
  {
459
- var se, te = {}, Y = null, we = null;
460
- Z !== void 0 && (xe(Z), Y = "" + Z), Ke(z) && (xe(z.key), Y = "" + z.key), ze(z) && (we = z.ref, Wa(z, le));
459
+ var se, te = {}, Y = null, Ae = null;
460
+ Z !== void 0 && (xe(Z), Y = "" + Z), Ke(z) && (xe(z.key), Y = "" + z.key), ze(z) && (Ae = z.ref, Wa(z, le));
461
461
  for (se in z)
462
462
  _e.call(z, se) && !Je.hasOwnProperty(se) && (te[se] = z[se]);
463
463
  if (k && k.defaultProps) {
@@ -465,11 +465,11 @@ function Jl() {
465
465
  for (se in be)
466
466
  te[se] === void 0 && (te[se] = be[se]);
467
467
  }
468
- if (Y || we) {
468
+ if (Y || Ae) {
469
469
  var he = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
470
- Y && Ea(te, he), we && Na(te, he);
470
+ Y && Ea(te, he), Ae && Na(te, he);
471
471
  }
472
- return za(k, Y, we, le, q, Re.current, te);
472
+ return za(k, Y, Ae, le, q, Re.current, te);
473
473
  }
474
474
  }
475
475
  var da = y.ReactCurrentOwner, Ua = y.ReactDebugCurrentFrame;
@@ -555,7 +555,7 @@ Check the top-level render call using <` + Z + ">.");
555
555
  Z = z.propTypes;
556
556
  else if (typeof z == "object" && (z.$$typeof === l || // Note: Memo only checks outer props here.
557
557
  // Inner props are checked in the reconciler.
558
- z.$$typeof === o))
558
+ z.$$typeof === s))
559
559
  Z = z.propTypes;
560
560
  else
561
561
  return;
@@ -589,8 +589,8 @@ Check the top-level render call using <` + Z + ">.");
589
589
  if (!te) {
590
590
  var Y = "";
591
591
  (k === void 0 || typeof k == "object" && k !== null && Object.keys(k).length === 0) && (Y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
- var we = Ga();
593
- we ? Y += we : Y += La();
592
+ var Ae = Ga();
593
+ Ae ? Y += Ae : Y += La();
594
594
  var be;
595
595
  k === null ? be = "null" : ve(k) ? be = "array" : k !== void 0 && k.$$typeof === r ? (be = "<" + (E(k.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : be = typeof k, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, Y);
596
596
  }
@@ -641,7 +641,7 @@ var Dt;
641
641
  function Kl() {
642
642
  return Dt || (Dt = 1, process.env.NODE_ENV === "production" ? Xa.exports = Zl() : Xa.exports = Jl()), Xa.exports;
643
643
  }
644
- var Ae = Kl();
644
+ var we = Kl();
645
645
  const zn = zi(null), re = () => {
646
646
  const e = ut(zn);
647
647
  if (!e)
@@ -662,7 +662,7 @@ const zn = zi(null), re = () => {
662
662
  setAsPending: () => t(Ja.PENDING)
663
663
  };
664
664
  }, [r]);
665
- return /* @__PURE__ */ Ae.jsx(In.Provider, { value: n, children: e });
665
+ return /* @__PURE__ */ we.jsx(In.Provider, { value: n, children: e });
666
666
  }, Vn = () => {
667
667
  const e = ut(In);
668
668
  if (!e)
@@ -716,26 +716,26 @@ function Nt({
716
716
  });
717
717
  return a.interceptors.request.use(async (i) => {
718
718
  if (i.headers = i.headers || {}, r) {
719
- const s = await r();
720
- s && (i.headers.Authorization = `Bearer ${s}`);
719
+ const o = await r();
720
+ o && (i.headers.Authorization = `Bearer ${o}`);
721
721
  }
722
- const o = p?.getState()?.isWalletCurrency || f || "TWD";
723
- return i.headers.Currency = o, i.headers["currency-code"] = o, i.headers.lang = n, i;
722
+ const s = p?.getState()?.isWalletCurrency || f || "TWD";
723
+ return i.headers.Currency = s, i.headers["currency-code"] = s, i.headers.lang = n, i;
724
724
  }), a.interceptors.response.use(
725
725
  (i) => i.data,
726
726
  (i) => {
727
- const o = ge(
727
+ const s = ge(
728
728
  i,
729
729
  "response.data.message",
730
730
  "發生錯誤,請稍後再試。"
731
731
  );
732
732
  if (l) {
733
- const s = je(n);
733
+ const o = je(n);
734
734
  p?.dispatch({
735
735
  type: "ui/showToast",
736
736
  payload: {
737
- title: Qa[s] || "System Prompt",
738
- description: o,
737
+ title: Qa[o] || "System Prompt",
738
+ description: s,
739
739
  status: "error",
740
740
  duration: 3e3
741
741
  }
@@ -745,14 +745,14 @@ function Nt({
745
745
  }
746
746
  ), a;
747
747
  }
748
- const qn = zi(null), _m = () => {
748
+ const qn = zi(null), ym = () => {
749
749
  const e = ut(qn);
750
750
  if (!e)
751
751
  throw new Error(
752
752
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
753
753
  );
754
754
  return e;
755
- }, ym = () => {
755
+ }, Um = () => {
756
756
  const e = (n, p) => !n && !p, r = (n) => n.startsWith("pc.");
757
757
  return {
758
758
  executeLogout: ({
@@ -765,13 +765,13 @@ const qn = zi(null), _m = () => {
765
765
  onRedirect: a,
766
766
  onGoogleLogout: i
767
767
  }) => {
768
- const o = r(p);
769
- e(n, o) && b?.(), f?.(), l?.(), g && a?.("/"), i?.();
768
+ const s = r(p);
769
+ e(n, s) && b?.(), f?.(), l?.(), g && a?.("/"), i?.();
770
770
  },
771
771
  shouldShowErrorNotice: e,
772
772
  isMachineDomain: r
773
773
  };
774
- }, Um = (e) => {
774
+ }, bm = (e) => {
775
775
  let r = Number(e);
776
776
  return isNaN(r) ? e : new Intl.NumberFormat("en-US", {
777
777
  style: "decimal",
@@ -790,12 +790,12 @@ const qn = zi(null), _m = () => {
790
790
  }) => {
791
791
  const g = $n(n, e);
792
792
  return g ? r.reduce((b, f) => {
793
- const l = Qn(p, f), a = jn(p, f), i = t[g] || [], o = Yn(
793
+ const l = Qn(p, f), a = jn(p, f), i = t[g] || [], s = Yn(
794
794
  i,
795
795
  l,
796
796
  a
797
797
  );
798
- return Ee(o) || (b[f] = o), b;
798
+ return Ee(s) || (b[f] = s), b;
799
799
  }, {}) : {};
800
800
  }, jl = ({
801
801
  platformName: e,
@@ -815,7 +815,7 @@ function Xl() {
815
815
  (function(t, n) {
816
816
  e.exports = n();
817
817
  })(Yl, (function() {
818
- var t = 1e3, n = 6e4, p = 36e5, g = "millisecond", b = "second", f = "minute", l = "hour", a = "day", i = "week", o = "month", s = "quarter", u = "year", m = "date", c = "Invalid Date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(P) {
818
+ var t = 1e3, n = 6e4, p = 36e5, g = "millisecond", b = "second", f = "minute", l = "hour", a = "day", i = "week", s = "month", o = "quarter", u = "year", m = "date", c = "Invalid Date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(P) {
819
819
  var M = ["th", "st", "nd", "rd"], R = P % 100;
820
820
  return "[" + P + (M[(R - 20) % 10] || M[R] || M[0]) + "]";
821
821
  } }, U = function(P, M, R) {
@@ -826,12 +826,12 @@ function Xl() {
826
826
  return (M <= 0 ? "+" : "-") + U(B, 2, "0") + ":" + U(A, 2, "0");
827
827
  }, m: function P(M, R) {
828
828
  if (M.date() < R.date()) return -P(R, M);
829
- var B = 12 * (R.year() - M.year()) + (R.month() - M.month()), A = M.clone().add(B, o), H = R - A < 0, W = M.clone().add(B + (H ? -1 : 1), o);
829
+ var B = 12 * (R.year() - M.year()) + (R.month() - M.month()), A = M.clone().add(B, s), H = R - A < 0, W = M.clone().add(B + (H ? -1 : 1), s);
830
830
  return +(-(B + (R - A) / (H ? A - W : W - A)) || 0);
831
831
  }, a: function(P) {
832
832
  return P < 0 ? Math.ceil(P) || 0 : Math.floor(P);
833
833
  }, p: function(P) {
834
- return { M: o, y: u, w: i, d: a, D: m, h: l, m: f, s: b, ms: g, Q: s }[P] || String(P || "").toLowerCase().replace(/s$/, "");
834
+ return { M: s, y: u, w: i, d: a, D: m, h: l, m: f, s: b, ms: g, Q: o }[P] || String(P || "").toLowerCase().replace(/s$/, "");
835
835
  }, u: function(P) {
836
836
  return P === void 0;
837
837
  } }, T = "en", x = {};
@@ -909,7 +909,7 @@ function Xl() {
909
909
  switch (W) {
910
910
  case u:
911
911
  return H ? L(1, 0) : L(31, 11);
912
- case o:
912
+ case s:
913
913
  return H ? L(1, w) : L(0, w + 1);
914
914
  case i:
915
915
  var Q = this.$locale().weekStart || 0, J = (F < Q ? F + 7 : F) - Q;
@@ -929,8 +929,8 @@ function Xl() {
929
929
  }, M.endOf = function(R) {
930
930
  return this.startOf(R, !1);
931
931
  }, M.$set = function(R, B) {
932
- var A, H = h.p(R), W = "set" + (this.$u ? "UTC" : ""), L = (A = {}, A[a] = W + "Date", A[m] = W + "Date", A[o] = W + "Month", A[u] = W + "FullYear", A[l] = W + "Hours", A[f] = W + "Minutes", A[b] = W + "Seconds", A[g] = W + "Milliseconds", A)[H], D = H === a ? this.$D + (B - this.$W) : B;
933
- if (H === o || H === u) {
932
+ var A, H = h.p(R), W = "set" + (this.$u ? "UTC" : ""), L = (A = {}, A[a] = W + "Date", A[m] = W + "Date", A[s] = W + "Month", A[u] = W + "FullYear", A[l] = W + "Hours", A[f] = W + "Minutes", A[b] = W + "Seconds", A[g] = W + "Milliseconds", A)[H], D = H === a ? this.$D + (B - this.$W) : B;
933
+ if (H === s || H === u) {
934
934
  var F = this.clone().set(m, 1);
935
935
  F.$d[L](D), F.init(), this.$d = F.set(m, Math.min(this.$D, F.daysInMonth())).$d;
936
936
  } else L && this.$d[L](D);
@@ -946,7 +946,7 @@ function Xl() {
946
946
  var K = C(H);
947
947
  return h.w(K.date(K.date() + Math.round(w * R)), H);
948
948
  };
949
- if (W === o) return this.set(o, this.$M + R);
949
+ if (W === s) return this.set(s, this.$M + R);
950
950
  if (W === u) return this.set(u, this.$y + R);
951
951
  if (W === a) return L(1);
952
952
  if (W === i) return L(7);
@@ -1030,10 +1030,10 @@ function Xl() {
1030
1030
  case u:
1031
1031
  H = K() / 12;
1032
1032
  break;
1033
- case o:
1033
+ case s:
1034
1034
  H = K();
1035
1035
  break;
1036
- case s:
1036
+ case o:
1037
1037
  H = K() / 3;
1038
1038
  break;
1039
1039
  case i:
@@ -1056,7 +1056,7 @@ function Xl() {
1056
1056
  }
1057
1057
  return A ? H : h.a(H);
1058
1058
  }, M.daysInMonth = function() {
1059
- return this.endOf(o).$D;
1059
+ return this.endOf(s).$D;
1060
1060
  }, M.$locale = function() {
1061
1061
  return x[this.$L];
1062
1062
  }, M.locale = function(R, B) {
@@ -1075,7 +1075,7 @@ function Xl() {
1075
1075
  return this.$d.toUTCString();
1076
1076
  }, P;
1077
1077
  })(), E = N.prototype;
1078
- return C.prototype = E, [["$ms", g], ["$s", b], ["$m", f], ["$H", l], ["$W", a], ["$M", o], ["$y", u], ["$D", m]].forEach((function(P) {
1078
+ return C.prototype = E, [["$ms", g], ["$s", b], ["$m", f], ["$H", l], ["$W", a], ["$M", s], ["$y", u], ["$D", m]].forEach((function(P) {
1079
1079
  E[P[1]] = function(M) {
1080
1080
  return this.$g(M, P[0], P[1]);
1081
1081
  };
@@ -1217,7 +1217,7 @@ function ae() {
1217
1217
  return this.init.prototype.extend(this);
1218
1218
  }
1219
1219
  };
1220
- })(), o = a.WordArray = i.extend({
1220
+ })(), s = a.WordArray = i.extend({
1221
1221
  /**
1222
1222
  * Initializes a newly created word array.
1223
1223
  *
@@ -1312,9 +1312,9 @@ function ae() {
1312
1312
  random: function(_) {
1313
1313
  for (var U = [], v = 0; v < _; v += 4)
1314
1314
  U.push(b());
1315
- return new o.init(U, _);
1315
+ return new s.init(U, _);
1316
1316
  }
1317
- }), s = l.enc = {}, u = s.Hex = {
1317
+ }), o = l.enc = {}, u = o.Hex = {
1318
1318
  /**
1319
1319
  * Converts a word array to a hex string.
1320
1320
  *
@@ -1351,9 +1351,9 @@ function ae() {
1351
1351
  parse: function(_) {
1352
1352
  for (var U = _.length, v = [], T = 0; T < U; T += 2)
1353
1353
  v[T >>> 3] |= parseInt(_.substr(T, 2), 16) << 24 - T % 8 * 4;
1354
- return new o.init(v, U / 2);
1354
+ return new s.init(v, U / 2);
1355
1355
  }
1356
- }, m = s.Latin1 = {
1356
+ }, m = o.Latin1 = {
1357
1357
  /**
1358
1358
  * Converts a word array to a Latin1 string.
1359
1359
  *
@@ -1390,9 +1390,9 @@ function ae() {
1390
1390
  parse: function(_) {
1391
1391
  for (var U = _.length, v = [], T = 0; T < U; T++)
1392
1392
  v[T >>> 2] |= (_.charCodeAt(T) & 255) << 24 - T % 4 * 8;
1393
- return new o.init(v, U);
1393
+ return new s.init(v, U);
1394
1394
  }
1395
- }, c = s.Utf8 = {
1395
+ }, c = o.Utf8 = {
1396
1396
  /**
1397
1397
  * Converts a word array to a UTF-8 string.
1398
1398
  *
@@ -1438,7 +1438,7 @@ function ae() {
1438
1438
  * bufferedBlockAlgorithm.reset();
1439
1439
  */
1440
1440
  reset: function() {
1441
- this._data = new o.init(), this._nDataBytes = 0;
1441
+ this._data = new s.init(), this._nDataBytes = 0;
1442
1442
  },
1443
1443
  /**
1444
1444
  * Adds new data to this block algorithm's buffer.
@@ -1476,7 +1476,7 @@ function ae() {
1476
1476
  this._doProcessBlock(T, N);
1477
1477
  U = T.splice(0, C), v.sigBytes -= h;
1478
1478
  }
1479
- return new o.init(U, h);
1479
+ return new s.init(U, h);
1480
1480
  },
1481
1481
  /**
1482
1482
  * Creates a copy of this object.
@@ -1804,11 +1804,11 @@ function Zi() {
1804
1804
  * var x32WordArray = x64WordArray.toX32();
1805
1805
  */
1806
1806
  toX32: function() {
1807
- for (var a = this.words, i = a.length, o = [], s = 0; s < i; s++) {
1808
- var u = a[s];
1809
- o.push(u.high), o.push(u.low);
1807
+ for (var a = this.words, i = a.length, s = [], o = 0; o < i; o++) {
1808
+ var u = a[o];
1809
+ s.push(u.high), s.push(u.low);
1810
1810
  }
1811
- return f.create(o, this.sigBytes);
1811
+ return f.create(s, this.sigBytes);
1812
1812
  },
1813
1813
  /**
1814
1814
  * Creates a copy of this word array.
@@ -1820,8 +1820,8 @@ function Zi() {
1820
1820
  * var clone = x64WordArray.clone();
1821
1821
  */
1822
1822
  clone: function() {
1823
- for (var a = b.clone.call(this), i = a.words = this.words.slice(0), o = i.length, s = 0; s < o; s++)
1824
- i[s] = i[s].clone();
1823
+ for (var a = b.clone.call(this), i = a.words = this.words.slice(0), s = i.length, o = 0; o < s; o++)
1824
+ i[o] = i[o].clone();
1825
1825
  return a;
1826
1826
  }
1827
1827
  });
@@ -1839,8 +1839,8 @@ function sr() {
1839
1839
  if (typeof ArrayBuffer == "function") {
1840
1840
  var n = t, p = n.lib, g = p.WordArray, b = g.init, f = g.init = function(l) {
1841
1841
  if (l instanceof ArrayBuffer && (l = new Uint8Array(l)), (l instanceof Int8Array || typeof Uint8ClampedArray < "u" && l instanceof Uint8ClampedArray || l instanceof Int16Array || l instanceof Uint16Array || l instanceof Int32Array || l instanceof Uint32Array || l instanceof Float32Array || l instanceof Float64Array) && (l = new Uint8Array(l.buffer, l.byteOffset, l.byteLength)), l instanceof Uint8Array) {
1842
- for (var a = l.byteLength, i = [], o = 0; o < a; o++)
1843
- i[o >>> 2] |= l[o] << 24 - o % 4 * 8;
1842
+ for (var a = l.byteLength, i = [], s = 0; s < a; s++)
1843
+ i[s >>> 2] |= l[s] << 24 - s % 4 * 8;
1844
1844
  b.call(this, i, a);
1845
1845
  } else
1846
1846
  b.apply(this, arguments);
@@ -1874,11 +1874,11 @@ function ur() {
1874
1874
  * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
1875
1875
  */
1876
1876
  stringify: function(l) {
1877
- for (var a = l.words, i = l.sigBytes, o = [], s = 0; s < i; s += 2) {
1878
- var u = a[s >>> 2] >>> 16 - s % 4 * 8 & 65535;
1879
- o.push(String.fromCharCode(u));
1877
+ for (var a = l.words, i = l.sigBytes, s = [], o = 0; o < i; o += 2) {
1878
+ var u = a[o >>> 2] >>> 16 - o % 4 * 8 & 65535;
1879
+ s.push(String.fromCharCode(u));
1880
1880
  }
1881
- return o.join("");
1881
+ return s.join("");
1882
1882
  },
1883
1883
  /**
1884
1884
  * Converts a UTF-16 BE string to a word array.
@@ -1894,8 +1894,8 @@ function ur() {
1894
1894
  * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
1895
1895
  */
1896
1896
  parse: function(l) {
1897
- for (var a = l.length, i = [], o = 0; o < a; o++)
1898
- i[o >>> 1] |= l.charCodeAt(o) << 16 - o % 2 * 16;
1897
+ for (var a = l.length, i = [], s = 0; s < a; s++)
1898
+ i[s >>> 1] |= l.charCodeAt(s) << 16 - s % 2 * 16;
1899
1899
  return g.create(i, a * 2);
1900
1900
  }
1901
1901
  }, b.Utf16LE = {
@@ -1913,11 +1913,11 @@ function ur() {
1913
1913
  * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
1914
1914
  */
1915
1915
  stringify: function(l) {
1916
- for (var a = l.words, i = l.sigBytes, o = [], s = 0; s < i; s += 2) {
1917
- var u = f(a[s >>> 2] >>> 16 - s % 4 * 8 & 65535);
1918
- o.push(String.fromCharCode(u));
1916
+ for (var a = l.words, i = l.sigBytes, s = [], o = 0; o < i; o += 2) {
1917
+ var u = f(a[o >>> 2] >>> 16 - o % 4 * 8 & 65535);
1918
+ s.push(String.fromCharCode(u));
1919
1919
  }
1920
- return o.join("");
1920
+ return s.join("");
1921
1921
  },
1922
1922
  /**
1923
1923
  * Converts a UTF-16 LE string to a word array.
@@ -1933,8 +1933,8 @@ function ur() {
1933
1933
  * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
1934
1934
  */
1935
1935
  parse: function(l) {
1936
- for (var a = l.length, i = [], o = 0; o < a; o++)
1937
- i[o >>> 1] |= f(l.charCodeAt(o) << 16 - o % 2 * 16);
1936
+ for (var a = l.length, i = [], s = 0; s < a; s++)
1937
+ i[s >>> 1] |= f(l.charCodeAt(s) << 16 - s % 2 * 16);
1938
1938
  return g.create(i, a * 2);
1939
1939
  }
1940
1940
  };
@@ -1968,16 +1968,16 @@ function Sa() {
1968
1968
  * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
1969
1969
  */
1970
1970
  stringify: function(l) {
1971
- var a = l.words, i = l.sigBytes, o = this._map;
1971
+ var a = l.words, i = l.sigBytes, s = this._map;
1972
1972
  l.clamp();
1973
- for (var s = [], u = 0; u < i; u += 3)
1973
+ for (var o = [], u = 0; u < i; u += 3)
1974
1974
  for (var m = a[u >>> 2] >>> 24 - u % 4 * 8 & 255, c = a[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, d = a[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, y = m << 16 | c << 8 | d, _ = 0; _ < 4 && u + _ * 0.75 < i; _++)
1975
- s.push(o.charAt(y >>> 6 * (3 - _) & 63));
1976
- var U = o.charAt(64);
1975
+ o.push(s.charAt(y >>> 6 * (3 - _) & 63));
1976
+ var U = s.charAt(64);
1977
1977
  if (U)
1978
- for (; s.length % 4; )
1979
- s.push(U);
1980
- return s.join("");
1978
+ for (; o.length % 4; )
1979
+ o.push(U);
1980
+ return o.join("");
1981
1981
  },
1982
1982
  /**
1983
1983
  * Converts a Base64 string to a word array.
@@ -1993,28 +1993,28 @@ function Sa() {
1993
1993
  * var wordArray = CryptoJS.enc.Base64.parse(base64String);
1994
1994
  */
1995
1995
  parse: function(l) {
1996
- var a = l.length, i = this._map, o = this._reverseMap;
1997
- if (!o) {
1998
- o = this._reverseMap = [];
1999
- for (var s = 0; s < i.length; s++)
2000
- o[i.charCodeAt(s)] = s;
1996
+ var a = l.length, i = this._map, s = this._reverseMap;
1997
+ if (!s) {
1998
+ s = this._reverseMap = [];
1999
+ for (var o = 0; o < i.length; o++)
2000
+ s[i.charCodeAt(o)] = o;
2001
2001
  }
2002
2002
  var u = i.charAt(64);
2003
2003
  if (u) {
2004
2004
  var m = l.indexOf(u);
2005
2005
  m !== -1 && (a = m);
2006
2006
  }
2007
- return f(l, a, o);
2007
+ return f(l, a, s);
2008
2008
  },
2009
2009
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
2010
2010
  };
2011
2011
  function f(l, a, i) {
2012
- for (var o = [], s = 0, u = 0; u < a; u++)
2012
+ for (var s = [], o = 0, u = 0; u < a; u++)
2013
2013
  if (u % 4) {
2014
2014
  var m = i[l.charCodeAt(u - 1)] << u % 4 * 2, c = i[l.charCodeAt(u)] >>> 6 - u % 4 * 2, d = m | c;
2015
- o[s >>> 2] |= d << 24 - s % 4 * 8, s++;
2015
+ s[o >>> 2] |= d << 24 - o % 4 * 8, o++;
2016
2016
  }
2017
- return g.create(o, s);
2017
+ return g.create(s, o);
2018
2018
  }
2019
2019
  })(), t.enc.Base64;
2020
2020
  });
@@ -2046,12 +2046,12 @@ function dr() {
2046
2046
  */
2047
2047
  stringify: function(l, a) {
2048
2048
  a === void 0 && (a = !0);
2049
- var i = l.words, o = l.sigBytes, s = a ? this._safe_map : this._map;
2049
+ var i = l.words, s = l.sigBytes, o = a ? this._safe_map : this._map;
2050
2050
  l.clamp();
2051
- for (var u = [], m = 0; m < o; m += 3)
2052
- for (var c = i[m >>> 2] >>> 24 - m % 4 * 8 & 255, d = i[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = i[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, _ = c << 16 | d << 8 | y, U = 0; U < 4 && m + U * 0.75 < o; U++)
2053
- u.push(s.charAt(_ >>> 6 * (3 - U) & 63));
2054
- var v = s.charAt(64);
2051
+ for (var u = [], m = 0; m < s; m += 3)
2052
+ for (var c = i[m >>> 2] >>> 24 - m % 4 * 8 & 255, d = i[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = i[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, _ = c << 16 | d << 8 | y, U = 0; U < 4 && m + U * 0.75 < s; U++)
2053
+ u.push(o.charAt(_ >>> 6 * (3 - U) & 63));
2054
+ var v = o.charAt(64);
2055
2055
  if (v)
2056
2056
  for (; u.length % 4; )
2057
2057
  u.push(v);
@@ -2074,29 +2074,29 @@ function dr() {
2074
2074
  */
2075
2075
  parse: function(l, a) {
2076
2076
  a === void 0 && (a = !0);
2077
- var i = l.length, o = a ? this._safe_map : this._map, s = this._reverseMap;
2078
- if (!s) {
2079
- s = this._reverseMap = [];
2080
- for (var u = 0; u < o.length; u++)
2081
- s[o.charCodeAt(u)] = u;
2077
+ var i = l.length, s = a ? this._safe_map : this._map, o = this._reverseMap;
2078
+ if (!o) {
2079
+ o = this._reverseMap = [];
2080
+ for (var u = 0; u < s.length; u++)
2081
+ o[s.charCodeAt(u)] = u;
2082
2082
  }
2083
- var m = o.charAt(64);
2083
+ var m = s.charAt(64);
2084
2084
  if (m) {
2085
2085
  var c = l.indexOf(m);
2086
2086
  c !== -1 && (i = c);
2087
2087
  }
2088
- return f(l, i, s);
2088
+ return f(l, i, o);
2089
2089
  },
2090
2090
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
2091
2091
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
2092
2092
  };
2093
2093
  function f(l, a, i) {
2094
- for (var o = [], s = 0, u = 0; u < a; u++)
2094
+ for (var s = [], o = 0, u = 0; u < a; u++)
2095
2095
  if (u % 4) {
2096
2096
  var m = i[l.charCodeAt(u - 1)] << u % 4 * 2, c = i[l.charCodeAt(u)] >>> 6 - u % 4 * 2, d = m | c;
2097
- o[s >>> 2] |= d << 24 - s % 4 * 8, s++;
2097
+ s[o >>> 2] |= d << 24 - o % 4 * 8, o++;
2098
2098
  }
2099
- return g.create(o, s);
2099
+ return g.create(s, o);
2100
2100
  }
2101
2101
  })(), t.enc.Base64url;
2102
2102
  });
@@ -2129,7 +2129,7 @@ function Da() {
2129
2129
  c[_] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
2130
2130
  }
2131
2131
  var v = this._hash.words, T = c[d + 0], x = c[d + 1], S = c[d + 2], G = c[d + 3], O = c[d + 4], C = c[d + 5], h = c[d + 6], N = c[d + 7], E = c[d + 8], P = c[d + 9], M = c[d + 10], R = c[d + 11], B = c[d + 12], A = c[d + 13], H = c[d + 14], W = c[d + 15], L = v[0], D = v[1], F = v[2], w = v[3];
2132
- L = o(L, D, F, w, T, 7, a[0]), w = o(w, L, D, F, x, 12, a[1]), F = o(F, w, L, D, S, 17, a[2]), D = o(D, F, w, L, G, 22, a[3]), L = o(L, D, F, w, O, 7, a[4]), w = o(w, L, D, F, C, 12, a[5]), F = o(F, w, L, D, h, 17, a[6]), D = o(D, F, w, L, N, 22, a[7]), L = o(L, D, F, w, E, 7, a[8]), w = o(w, L, D, F, P, 12, a[9]), F = o(F, w, L, D, M, 17, a[10]), D = o(D, F, w, L, R, 22, a[11]), L = o(L, D, F, w, B, 7, a[12]), w = o(w, L, D, F, A, 12, a[13]), F = o(F, w, L, D, H, 17, a[14]), D = o(D, F, w, L, W, 22, a[15]), L = s(L, D, F, w, x, 5, a[16]), w = s(w, L, D, F, h, 9, a[17]), F = s(F, w, L, D, R, 14, a[18]), D = s(D, F, w, L, T, 20, a[19]), L = s(L, D, F, w, C, 5, a[20]), w = s(w, L, D, F, M, 9, a[21]), F = s(F, w, L, D, W, 14, a[22]), D = s(D, F, w, L, O, 20, a[23]), L = s(L, D, F, w, P, 5, a[24]), w = s(w, L, D, F, H, 9, a[25]), F = s(F, w, L, D, G, 14, a[26]), D = s(D, F, w, L, E, 20, a[27]), L = s(L, D, F, w, A, 5, a[28]), w = s(w, L, D, F, S, 9, a[29]), F = s(F, w, L, D, N, 14, a[30]), D = s(D, F, w, L, B, 20, a[31]), L = u(L, D, F, w, C, 4, a[32]), w = u(w, L, D, F, E, 11, a[33]), F = u(F, w, L, D, R, 16, a[34]), D = u(D, F, w, L, H, 23, a[35]), L = u(L, D, F, w, x, 4, a[36]), w = u(w, L, D, F, O, 11, a[37]), F = u(F, w, L, D, N, 16, a[38]), D = u(D, F, w, L, M, 23, a[39]), L = u(L, D, F, w, A, 4, a[40]), w = u(w, L, D, F, T, 11, a[41]), F = u(F, w, L, D, G, 16, a[42]), D = u(D, F, w, L, h, 23, a[43]), L = u(L, D, F, w, P, 4, a[44]), w = u(w, L, D, F, B, 11, a[45]), F = u(F, w, L, D, W, 16, a[46]), D = u(D, F, w, L, S, 23, a[47]), L = m(L, D, F, w, T, 6, a[48]), w = m(w, L, D, F, N, 10, a[49]), F = m(F, w, L, D, H, 15, a[50]), D = m(D, F, w, L, C, 21, a[51]), L = m(L, D, F, w, B, 6, a[52]), w = m(w, L, D, F, G, 10, a[53]), F = m(F, w, L, D, M, 15, a[54]), D = m(D, F, w, L, x, 21, a[55]), L = m(L, D, F, w, E, 6, a[56]), w = m(w, L, D, F, W, 10, a[57]), F = m(F, w, L, D, h, 15, a[58]), D = m(D, F, w, L, A, 21, a[59]), L = m(L, D, F, w, O, 6, a[60]), w = m(w, L, D, F, R, 10, a[61]), F = m(F, w, L, D, S, 15, a[62]), D = m(D, F, w, L, P, 21, a[63]), v[0] = v[0] + L | 0, v[1] = v[1] + D | 0, v[2] = v[2] + F | 0, v[3] = v[3] + w | 0;
2132
+ L = s(L, D, F, w, T, 7, a[0]), w = s(w, L, D, F, x, 12, a[1]), F = s(F, w, L, D, S, 17, a[2]), D = s(D, F, w, L, G, 22, a[3]), L = s(L, D, F, w, O, 7, a[4]), w = s(w, L, D, F, C, 12, a[5]), F = s(F, w, L, D, h, 17, a[6]), D = s(D, F, w, L, N, 22, a[7]), L = s(L, D, F, w, E, 7, a[8]), w = s(w, L, D, F, P, 12, a[9]), F = s(F, w, L, D, M, 17, a[10]), D = s(D, F, w, L, R, 22, a[11]), L = s(L, D, F, w, B, 7, a[12]), w = s(w, L, D, F, A, 12, a[13]), F = s(F, w, L, D, H, 17, a[14]), D = s(D, F, w, L, W, 22, a[15]), L = o(L, D, F, w, x, 5, a[16]), w = o(w, L, D, F, h, 9, a[17]), F = o(F, w, L, D, R, 14, a[18]), D = o(D, F, w, L, T, 20, a[19]), L = o(L, D, F, w, C, 5, a[20]), w = o(w, L, D, F, M, 9, a[21]), F = o(F, w, L, D, W, 14, a[22]), D = o(D, F, w, L, O, 20, a[23]), L = o(L, D, F, w, P, 5, a[24]), w = o(w, L, D, F, H, 9, a[25]), F = o(F, w, L, D, G, 14, a[26]), D = o(D, F, w, L, E, 20, a[27]), L = o(L, D, F, w, A, 5, a[28]), w = o(w, L, D, F, S, 9, a[29]), F = o(F, w, L, D, N, 14, a[30]), D = o(D, F, w, L, B, 20, a[31]), L = u(L, D, F, w, C, 4, a[32]), w = u(w, L, D, F, E, 11, a[33]), F = u(F, w, L, D, R, 16, a[34]), D = u(D, F, w, L, H, 23, a[35]), L = u(L, D, F, w, x, 4, a[36]), w = u(w, L, D, F, O, 11, a[37]), F = u(F, w, L, D, N, 16, a[38]), D = u(D, F, w, L, M, 23, a[39]), L = u(L, D, F, w, A, 4, a[40]), w = u(w, L, D, F, T, 11, a[41]), F = u(F, w, L, D, G, 16, a[42]), D = u(D, F, w, L, h, 23, a[43]), L = u(L, D, F, w, P, 4, a[44]), w = u(w, L, D, F, B, 11, a[45]), F = u(F, w, L, D, W, 16, a[46]), D = u(D, F, w, L, S, 23, a[47]), L = m(L, D, F, w, T, 6, a[48]), w = m(w, L, D, F, N, 10, a[49]), F = m(F, w, L, D, H, 15, a[50]), D = m(D, F, w, L, C, 21, a[51]), L = m(L, D, F, w, B, 6, a[52]), w = m(w, L, D, F, G, 10, a[53]), F = m(F, w, L, D, M, 15, a[54]), D = m(D, F, w, L, x, 21, a[55]), L = m(L, D, F, w, E, 6, a[56]), w = m(w, L, D, F, W, 10, a[57]), F = m(F, w, L, D, h, 15, a[58]), D = m(D, F, w, L, A, 21, a[59]), L = m(L, D, F, w, O, 6, a[60]), w = m(w, L, D, F, R, 10, a[61]), F = m(F, w, L, D, S, 15, a[62]), D = m(D, F, w, L, P, 21, a[63]), v[0] = v[0] + L | 0, v[1] = v[1] + D | 0, v[2] = v[2] + F | 0, v[3] = v[3] + w | 0;
2133
2133
  },
2134
2134
  _doFinalize: function() {
2135
2135
  var c = this._data, d = c.words, y = this._nDataBytes * 8, _ = c.sigBytes * 8;
@@ -2147,11 +2147,11 @@ function Da() {
2147
2147
  return c._hash = this._hash.clone(), c;
2148
2148
  }
2149
2149
  });
2150
- function o(c, d, y, _, U, v, T) {
2150
+ function s(c, d, y, _, U, v, T) {
2151
2151
  var x = c + (d & y | ~d & _) + U + T;
2152
2152
  return (x << v | x >>> 32 - v) + d;
2153
2153
  }
2154
- function s(c, d, y, _, U, v, T) {
2154
+ function o(c, d, y, _, U, v, T) {
2155
2155
  var x = c + (d & _ | y & ~_) + U + T;
2156
2156
  return (x << v | x >>> 32 - v) + d;
2157
2157
  }
@@ -2185,10 +2185,10 @@ function Xn() {
2185
2185
  3285377520
2186
2186
  ]);
2187
2187
  },
2188
- _doProcessBlock: function(i, o) {
2189
- for (var s = this._hash.words, u = s[0], m = s[1], c = s[2], d = s[3], y = s[4], _ = 0; _ < 80; _++) {
2188
+ _doProcessBlock: function(i, s) {
2189
+ for (var o = this._hash.words, u = o[0], m = o[1], c = o[2], d = o[3], y = o[4], _ = 0; _ < 80; _++) {
2190
2190
  if (_ < 16)
2191
- l[_] = i[o + _] | 0;
2191
+ l[_] = i[s + _] | 0;
2192
2192
  else {
2193
2193
  var U = l[_ - 3] ^ l[_ - 8] ^ l[_ - 14] ^ l[_ - 16];
2194
2194
  l[_] = U << 1 | U >>> 31;
@@ -2196,11 +2196,11 @@ function Xn() {
2196
2196
  var v = (u << 5 | u >>> 27) + y + l[_];
2197
2197
  _ < 20 ? v += (m & c | ~m & d) + 1518500249 : _ < 40 ? v += (m ^ c ^ d) + 1859775393 : _ < 60 ? v += (m & c | m & d | c & d) - 1894007588 : v += (m ^ c ^ d) - 899497514, y = d, d = c, c = m << 30 | m >>> 2, m = u, u = v;
2198
2198
  }
2199
- s[0] = s[0] + u | 0, s[1] = s[1] + m | 0, s[2] = s[2] + c | 0, s[3] = s[3] + d | 0, s[4] = s[4] + y | 0;
2199
+ o[0] = o[0] + u | 0, o[1] = o[1] + m | 0, o[2] = o[2] + c | 0, o[3] = o[3] + d | 0, o[4] = o[4] + y | 0;
2200
2200
  },
2201
2201
  _doFinalize: function() {
2202
- var i = this._data, o = i.words, s = this._nDataBytes * 8, u = i.sigBytes * 8;
2203
- return o[u >>> 5] |= 128 << 24 - u % 32, o[(u + 64 >>> 9 << 4) + 14] = Math.floor(s / 4294967296), o[(u + 64 >>> 9 << 4) + 15] = s, i.sigBytes = o.length * 4, this._process(), this._hash;
2202
+ var i = this._data, s = i.words, o = this._nDataBytes * 8, u = i.sigBytes * 8;
2203
+ return s[u >>> 5] |= 128 << 24 - u % 32, s[(u + 64 >>> 9 << 4) + 14] = Math.floor(o / 4294967296), s[(u + 64 >>> 9 << 4) + 15] = o, i.sigBytes = s.length * 4, this._process(), this._hash;
2204
2204
  },
2205
2205
  clone: function() {
2206
2206
  var i = b.clone.call(this);
@@ -2233,19 +2233,19 @@ function gt() {
2233
2233
  for (var c = 2, d = 0; d < 64; )
2234
2234
  u(c) && (d < 8 && (a[d] = m(n.pow(c, 1 / 2))), i[d] = m(n.pow(c, 1 / 3)), d++), c++;
2235
2235
  })();
2236
- var o = [], s = l.SHA256 = f.extend({
2236
+ var s = [], o = l.SHA256 = f.extend({
2237
2237
  _doReset: function() {
2238
2238
  this._hash = new b.init(a.slice(0));
2239
2239
  },
2240
2240
  _doProcessBlock: function(u, m) {
2241
2241
  for (var c = this._hash.words, d = c[0], y = c[1], _ = c[2], U = c[3], v = c[4], T = c[5], x = c[6], S = c[7], G = 0; G < 64; G++) {
2242
2242
  if (G < 16)
2243
- o[G] = u[m + G] | 0;
2243
+ s[G] = u[m + G] | 0;
2244
2244
  else {
2245
- var O = o[G - 15], C = (O << 25 | O >>> 7) ^ (O << 14 | O >>> 18) ^ O >>> 3, h = o[G - 2], N = (h << 15 | h >>> 17) ^ (h << 13 | h >>> 19) ^ h >>> 10;
2246
- o[G] = C + o[G - 7] + N + o[G - 16];
2245
+ var O = s[G - 15], C = (O << 25 | O >>> 7) ^ (O << 14 | O >>> 18) ^ O >>> 3, h = s[G - 2], N = (h << 15 | h >>> 17) ^ (h << 13 | h >>> 19) ^ h >>> 10;
2246
+ s[G] = C + s[G - 7] + N + s[G - 16];
2247
2247
  }
2248
- var E = v & T ^ ~v & x, P = d & y ^ d & _ ^ y & _, M = (d << 30 | d >>> 2) ^ (d << 19 | d >>> 13) ^ (d << 10 | d >>> 22), R = (v << 26 | v >>> 6) ^ (v << 21 | v >>> 11) ^ (v << 7 | v >>> 25), B = S + R + E + i[G] + o[G], A = M + P;
2248
+ var E = v & T ^ ~v & x, P = d & y ^ d & _ ^ y & _, M = (d << 30 | d >>> 2) ^ (d << 19 | d >>> 13) ^ (d << 10 | d >>> 22), R = (v << 26 | v >>> 6) ^ (v << 21 | v >>> 11) ^ (v << 7 | v >>> 25), B = S + R + E + i[G] + s[G], A = M + P;
2249
2249
  S = x, x = T, T = v, v = U + B | 0, U = _, _ = y, y = d, d = B + A | 0;
2250
2250
  }
2251
2251
  c[0] = c[0] + d | 0, c[1] = c[1] + y | 0, c[2] = c[2] + _ | 0, c[3] = c[3] + U | 0, c[4] = c[4] + v | 0, c[5] = c[5] + T | 0, c[6] = c[6] + x | 0, c[7] = c[7] + S | 0;
@@ -2259,7 +2259,7 @@ function gt() {
2259
2259
  return u._hash = this._hash.clone(), u;
2260
2260
  }
2261
2261
  });
2262
- p.SHA256 = f._createHelper(s), p.HmacSHA256 = f._createHmacHelper(s);
2262
+ p.SHA256 = f._createHelper(o), p.HmacSHA256 = f._createHmacHelper(o);
2263
2263
  })(Math), t.SHA256;
2264
2264
  });
2265
2265
  })(di)), di.exports;
@@ -2305,7 +2305,7 @@ function el() {
2305
2305
  function i() {
2306
2306
  return f.create.apply(f, arguments);
2307
2307
  }
2308
- var o = [
2308
+ var s = [
2309
2309
  i(1116352408, 3609767458),
2310
2310
  i(1899447441, 602891725),
2311
2311
  i(3049323471, 3964484399),
@@ -2386,10 +2386,10 @@ function el() {
2386
2386
  i(1501505948, 4234509866),
2387
2387
  i(1607167915, 987167468),
2388
2388
  i(1816402316, 1246189591)
2389
- ], s = [];
2389
+ ], o = [];
2390
2390
  (function() {
2391
2391
  for (var m = 0; m < 80; m++)
2392
- s[m] = i();
2392
+ o[m] = i();
2393
2393
  })();
2394
2394
  var u = a.SHA512 = g.extend({
2395
2395
  _doReset: function() {
@@ -2406,14 +2406,14 @@ function el() {
2406
2406
  },
2407
2407
  _doProcessBlock: function(m, c) {
2408
2408
  for (var d = this._hash.words, y = d[0], _ = d[1], U = d[2], v = d[3], T = d[4], x = d[5], S = d[6], G = d[7], O = y.high, C = y.low, h = _.high, N = _.low, E = U.high, P = U.low, M = v.high, R = v.low, B = T.high, A = T.low, H = x.high, W = x.low, L = S.high, D = S.low, F = G.high, w = G.low, K = O, $ = C, Q = h, J = N, X = E, ie = P, Ue = M, pe = R, oe = B, fe = A, ke = H, _e = W, Xe = L, Ce = D, Ge = F, ea = w, Me = 0; Me < 80; Me++) {
2409
- var ve, Oe, aa = s[Me];
2409
+ var ve, Oe, aa = o[Me];
2410
2410
  if (Me < 16)
2411
2411
  Oe = aa.high = m[c + Me * 2] | 0, ve = aa.low = m[c + Me * 2 + 1] | 0;
2412
2412
  else {
2413
- var ia = s[Me - 15], xe = ia.high, Re = ia.low, Je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = s[Me - 2], ze = ga.high, Ke = ga.low, Wa = (ze >>> 19 | Ke << 13) ^ (ze << 3 | Ke >>> 29) ^ ze >>> 6, Ea = (Ke >>> 19 | ze << 13) ^ (Ke << 3 | ze >>> 29) ^ (Ke >>> 6 | ze << 26), Na = s[Me - 7], za = Na.high, Ia = Na.low, da = s[Me - 16], Ua = da.high, Ve = da.low;
2413
+ var ia = o[Me - 15], xe = ia.high, Re = ia.low, Je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = o[Me - 2], ze = ga.high, Ke = ga.low, Wa = (ze >>> 19 | Ke << 13) ^ (ze << 3 | Ke >>> 29) ^ ze >>> 6, Ea = (Ke >>> 19 | ze << 13) ^ (Ke << 3 | ze >>> 29) ^ (Ke >>> 6 | ze << 26), Na = o[Me - 7], za = Na.high, Ia = Na.low, da = o[Me - 16], Ua = da.high, Ve = da.low;
2414
2414
  ve = oa + Ia, Oe = Je + za + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Ea, Oe = Oe + Wa + (ve >>> 0 < Ea >>> 0 ? 1 : 0), ve = ve + Ve, Oe = Oe + Ua + (ve >>> 0 < Ve >>> 0 ? 1 : 0), aa.high = Oe, aa.low = ve;
2415
2415
  }
2416
- var ca = oe & ke ^ ~oe & Xe, fa = fe & _e ^ ~fe & Ce, La = K & Q ^ K & X ^ Q & X, Ga = $ & J ^ $ & ie ^ J & ie, ba = (K >>> 28 | $ << 4) ^ (K << 30 | $ >>> 2) ^ (K << 25 | $ >>> 7), Ma = ($ >>> 28 | K << 4) ^ ($ << 30 | K >>> 2) ^ ($ << 25 | K >>> 7), Ra = (oe >>> 14 | fe << 18) ^ (oe >>> 18 | fe << 14) ^ (oe << 23 | fe >>> 9), Se = (fe >>> 14 | oe << 18) ^ (fe >>> 18 | oe << 14) ^ (fe << 23 | oe >>> 9), V = o[Me], De = V.high, ta = V.low, Pe = ea + Se, na = Ge + Ra + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ta, na = na + De + (Pe >>> 0 < ta >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + Oe + (Pe >>> 0 < ve >>> 0 ? 1 : 0), Ya = Ma + Ga, qi = ba + La + (Ya >>> 0 < Ma >>> 0 ? 1 : 0);
2416
+ var ca = oe & ke ^ ~oe & Xe, fa = fe & _e ^ ~fe & Ce, La = K & Q ^ K & X ^ Q & X, Ga = $ & J ^ $ & ie ^ J & ie, ba = (K >>> 28 | $ << 4) ^ (K << 30 | $ >>> 2) ^ (K << 25 | $ >>> 7), Ma = ($ >>> 28 | K << 4) ^ ($ << 30 | K >>> 2) ^ ($ << 25 | K >>> 7), Ra = (oe >>> 14 | fe << 18) ^ (oe >>> 18 | fe << 14) ^ (oe << 23 | fe >>> 9), Se = (fe >>> 14 | oe << 18) ^ (fe >>> 18 | oe << 14) ^ (fe << 23 | oe >>> 9), V = s[Me], De = V.high, ta = V.low, Pe = ea + Se, na = Ge + Ra + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ta, na = na + De + (Pe >>> 0 < ta >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + Oe + (Pe >>> 0 < ve >>> 0 ? 1 : 0), Ya = Ma + Ga, qi = ba + La + (Ya >>> 0 < Ma >>> 0 ? 1 : 0);
2417
2417
  Ge = Xe, ea = Ce, Xe = ke, Ce = _e, ke = oe, _e = fe, fe = pe + Pe | 0, oe = Ue + na + (fe >>> 0 < pe >>> 0 ? 1 : 0) | 0, Ue = X, pe = ie, X = Q, ie = J, Q = K, J = $, $ = Pe + Ya | 0, K = na + qi + ($ >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
2418
2418
  }
2419
2419
  C = y.low = C + $, y.high = O + K + (C >>> 0 < $ >>> 0 ? 1 : 0), N = _.low = N + J, _.high = h + Q + (N >>> 0 < J >>> 0 ? 1 : 0), P = U.low = P + ie, U.high = E + X + (P >>> 0 < ie >>> 0 ? 1 : 0), R = v.low = R + pe, v.high = M + Ue + (R >>> 0 < pe >>> 0 ? 1 : 0), A = T.low = A + fe, T.high = B + oe + (A >>> 0 < fe >>> 0 ? 1 : 0), W = x.low = W + _e, x.high = H + ke + (W >>> 0 < _e >>> 0 ? 1 : 0), D = S.low = D + Ce, S.high = L + Xe + (D >>> 0 < Ce >>> 0 ? 1 : 0), w = G.low = w + ea, G.high = F + Ge + (w >>> 0 < ea >>> 0 ? 1 : 0);
@@ -2472,16 +2472,16 @@ function Tr() {
2472
2472
  e.exports = n(ae(), Zi());
2473
2473
  })(hr, function(t) {
2474
2474
  return (function(n) {
2475
- var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.x64, a = l.Word, i = p.algo, o = [], s = [], u = [];
2475
+ var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.x64, a = l.Word, i = p.algo, s = [], o = [], u = [];
2476
2476
  (function() {
2477
2477
  for (var d = 1, y = 0, _ = 0; _ < 24; _++) {
2478
- o[d + 5 * y] = (_ + 1) * (_ + 2) / 2 % 64;
2478
+ s[d + 5 * y] = (_ + 1) * (_ + 2) / 2 % 64;
2479
2479
  var U = y % 5, v = (2 * d + 3 * y) % 5;
2480
2480
  d = U, y = v;
2481
2481
  }
2482
2482
  for (var d = 0; d < 5; d++)
2483
2483
  for (var y = 0; y < 5; y++)
2484
- s[d + 5 * y] = y + (2 * d + 3 * y) % 5 * 5;
2484
+ o[d + 5 * y] = y + (2 * d + 3 * y) % 5 * 5;
2485
2485
  for (var T = 1, x = 0; x < 24; x++) {
2486
2486
  for (var S = 0, G = 0, O = 0; O < 7; O++) {
2487
2487
  if (T & 1) {
@@ -2537,9 +2537,9 @@ function Tr() {
2537
2537
  S.high ^= C, S.low ^= h;
2538
2538
  }
2539
2539
  for (var A = 1; A < 25; A++) {
2540
- var C, h, S = _[A], H = S.high, W = S.low, L = o[A];
2540
+ var C, h, S = _[A], H = S.high, W = S.low, L = s[A];
2541
2541
  L < 32 ? (C = H << L | W >>> 32 - L, h = W << L | H >>> 32 - L) : (C = W << L - 32 | H >>> 64 - L, h = H << L - 32 | W >>> 64 - L);
2542
- var D = m[s[A]];
2542
+ var D = m[o[A]];
2543
2543
  D.high = C, D.low = h;
2544
2544
  }
2545
2545
  var F = m[0], w = _[0];
@@ -2744,7 +2744,7 @@ function xr() {
2744
2744
  3,
2745
2745
  9,
2746
2746
  11
2747
- ]), o = b.create([
2747
+ ]), s = b.create([
2748
2748
  11,
2749
2749
  14,
2750
2750
  15,
@@ -2825,7 +2825,7 @@ function xr() {
2825
2825
  8,
2826
2826
  5,
2827
2827
  6
2828
- ]), s = b.create([
2828
+ ]), o = b.create([
2829
2829
  8,
2830
2830
  9,
2831
2831
  9,
@@ -2915,7 +2915,7 @@ function xr() {
2915
2915
  var O = S + G, C = x[O];
2916
2916
  x[O] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
2917
2917
  }
2918
- var h = this._hash.words, N = u.words, E = m.words, P = a.words, M = i.words, R = o.words, B = s.words, A, H, W, L, D, F, w, K, $, Q;
2918
+ var h = this._hash.words, N = u.words, E = m.words, P = a.words, M = i.words, R = s.words, B = o.words, A, H, W, L, D, F, w, K, $, Q;
2919
2919
  F = A = h[0], w = H = h[1], K = W = h[2], $ = L = h[3], Q = D = h[4];
2920
2920
  for (var J, G = 0; G < 80; G += 1)
2921
2921
  J = A + x[S + P[G]] | 0, G < 16 ? J += d(H, W, L) + N[0] : G < 32 ? J += y(H, W, L) + N[1] : G < 48 ? J += _(H, W, L) + N[2] : G < 64 ? J += U(H, W, L) + N[3] : J += v(H, W, L) + N[4], J = J | 0, J = T(J, R[G]), J = J + D | 0, A = D, D = L, L = T(W, 10), W = H, H = J, J = F + x[S + M[G]] | 0, G < 16 ? J += v(w, K, $) + E[0] : G < 32 ? J += U(w, K, $) + E[1] : G < 48 ? J += _(w, K, $) + E[2] : G < 64 ? J += y(w, K, $) + E[3] : J += d(w, K, $) + E[4], J = J | 0, J = T(J, B[G]), J = J + Q | 0, F = Q, Q = $, $ = T(K, 10), K = w, w = J;
@@ -2979,11 +2979,11 @@ function dt() {
2979
2979
  */
2980
2980
  init: function(a, i) {
2981
2981
  a = this._hasher = new a.init(), typeof i == "string" && (i = f.parse(i));
2982
- var o = a.blockSize, s = o * 4;
2983
- i.sigBytes > s && (i = a.finalize(i)), i.clamp();
2984
- for (var u = this._oKey = i.clone(), m = this._iKey = i.clone(), c = u.words, d = m.words, y = 0; y < o; y++)
2982
+ var s = a.blockSize, o = s * 4;
2983
+ i.sigBytes > o && (i = a.finalize(i)), i.clamp();
2984
+ for (var u = this._oKey = i.clone(), m = this._iKey = i.clone(), c = u.words, d = m.words, y = 0; y < s; y++)
2985
2985
  c[y] ^= 1549556828, d[y] ^= 909522486;
2986
- u.sigBytes = m.sigBytes = s, this.reset();
2986
+ u.sigBytes = m.sigBytes = o, this.reset();
2987
2987
  },
2988
2988
  /**
2989
2989
  * Resets this HMAC to its initial state.
@@ -3026,10 +3026,10 @@ function dt() {
3026
3026
  * var hmac = hmacHasher.finalize(wordArray);
3027
3027
  */
3028
3028
  finalize: function(a) {
3029
- var i = this._hasher, o = i.finalize(a);
3029
+ var i = this._hasher, s = i.finalize(a);
3030
3030
  i.reset();
3031
- var s = i.finalize(this._oKey.clone().concat(o));
3032
- return s;
3031
+ var o = i.finalize(this._oKey.clone().concat(s));
3032
+ return o;
3033
3033
  }
3034
3034
  });
3035
3035
  })();
@@ -3067,8 +3067,8 @@ function Er() {
3067
3067
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
3068
3068
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
3069
3069
  */
3070
- init: function(o) {
3071
- this.cfg = this.cfg.extend(o);
3070
+ init: function(s) {
3071
+ this.cfg = this.cfg.extend(s);
3072
3072
  },
3073
3073
  /**
3074
3074
  * Computes the Password-Based Key Derivation Function 2.
@@ -3082,9 +3082,9 @@ function Er() {
3082
3082
  *
3083
3083
  * var key = kdf.compute(password, salt);
3084
3084
  */
3085
- compute: function(o, s) {
3086
- for (var u = this.cfg, m = a.create(u.hasher, o), c = b.create(), d = b.create([1]), y = c.words, _ = d.words, U = u.keySize, v = u.iterations; y.length < U; ) {
3087
- var T = m.update(s).finalize(d);
3085
+ compute: function(s, o) {
3086
+ for (var u = this.cfg, m = a.create(u.hasher, s), c = b.create(), d = b.create([1]), y = c.words, _ = d.words, U = u.keySize, v = u.iterations; y.length < U; ) {
3087
+ var T = m.update(o).finalize(d);
3088
3088
  m.reset();
3089
3089
  for (var x = T.words, S = x.length, G = T, O = 1; O < v; O++) {
3090
3090
  G = m.finalize(G), m.reset();
@@ -3096,8 +3096,8 @@ function Er() {
3096
3096
  return c.sigBytes = U * 4, c;
3097
3097
  }
3098
3098
  });
3099
- n.PBKDF2 = function(o, s, u) {
3100
- return i.create(u).compute(o, s);
3099
+ n.PBKDF2 = function(s, o, u) {
3100
+ return i.create(u).compute(s, o);
3101
3101
  };
3102
3102
  })(), t.PBKDF2;
3103
3103
  });
@@ -3149,18 +3149,18 @@ function ya() {
3149
3149
  *
3150
3150
  * var key = kdf.compute(password, salt);
3151
3151
  */
3152
- compute: function(i, o) {
3153
- for (var s, u = this.cfg, m = u.hasher.create(), c = b.create(), d = c.words, y = u.keySize, _ = u.iterations; d.length < y; ) {
3154
- s && m.update(s), s = m.update(i).finalize(o), m.reset();
3152
+ compute: function(i, s) {
3153
+ for (var o, u = this.cfg, m = u.hasher.create(), c = b.create(), d = c.words, y = u.keySize, _ = u.iterations; d.length < y; ) {
3154
+ o && m.update(o), o = m.update(i).finalize(s), m.reset();
3155
3155
  for (var U = 1; U < _; U++)
3156
- s = m.finalize(s), m.reset();
3157
- c.concat(s);
3156
+ o = m.finalize(o), m.reset();
3157
+ c.concat(o);
3158
3158
  }
3159
3159
  return c.sigBytes = y * 4, c;
3160
3160
  }
3161
3161
  });
3162
- n.EvpKDF = function(i, o, s) {
3163
- return a.create(s).compute(i, o);
3162
+ n.EvpKDF = function(i, s, o) {
3163
+ return a.create(o).compute(i, s);
3164
3164
  };
3165
3165
  })(), t.EvpKDF;
3166
3166
  });
@@ -3175,7 +3175,7 @@ function Ne() {
3175
3175
  t.lib.Cipher || (function(n) {
3176
3176
  var p = t, g = p.lib, b = g.Base, f = g.WordArray, l = g.BufferedBlockAlgorithm, a = p.enc;
3177
3177
  a.Utf8;
3178
- var i = a.Base64, o = p.algo, s = o.EvpKDF, u = g.Cipher = l.extend({
3178
+ var i = a.Base64, s = p.algo, o = s.EvpKDF, u = g.Cipher = l.extend({
3179
3179
  /**
3180
3180
  * Configuration options.
3181
3181
  *
@@ -3636,9 +3636,9 @@ function Ne() {
3636
3636
  */
3637
3637
  execute: function(C, h, N, E, P) {
3638
3638
  if (E || (E = f.random(64 / 8)), P)
3639
- var M = s.create({ keySize: h + N, hasher: P }).compute(C, E);
3639
+ var M = o.create({ keySize: h + N, hasher: P }).compute(C, E);
3640
3640
  else
3641
- var M = s.create({ keySize: h + N }).compute(C, E);
3641
+ var M = o.create({ keySize: h + N }).compute(C, E);
3642
3642
  var R = f.create(M.words.slice(h), N * 4);
3643
3643
  return M.sigBytes = h * 4, U.create({ key: M, iv: R, salt: E });
3644
3644
  }
@@ -3726,8 +3726,8 @@ function Mr() {
3726
3726
  function p(g, b, f, l) {
3727
3727
  var a, i = this._iv;
3728
3728
  i ? (a = i.slice(0), this._iv = void 0) : a = this._prevBlock, l.encryptBlock(a, 0);
3729
- for (var o = 0; o < f; o++)
3730
- g[b + o] ^= a[o];
3729
+ for (var s = 0; s < f; s++)
3730
+ g[b + s] ^= a[s];
3731
3731
  }
3732
3732
  return n;
3733
3733
  })(), t.mode.CFB;
@@ -3745,10 +3745,10 @@ function Pr() {
3745
3745
  processBlock: function(g, b) {
3746
3746
  var f = this._cipher, l = f.blockSize, a = this._iv, i = this._counter;
3747
3747
  a && (i = this._counter = a.slice(0), this._iv = void 0);
3748
- var o = i.slice(0);
3749
- f.encryptBlock(o, 0), i[l - 1] = i[l - 1] + 1 | 0;
3750
- for (var s = 0; s < l; s++)
3751
- g[b + s] ^= o[s];
3748
+ var s = i.slice(0);
3749
+ f.encryptBlock(s, 0), i[l - 1] = i[l - 1] + 1 | 0;
3750
+ for (var o = 0; o < l; o++)
3751
+ g[b + o] ^= s[o];
3752
3752
  }
3753
3753
  });
3754
3754
  return n.Decryptor = p, n;
@@ -3777,9 +3777,9 @@ function wr() {
3777
3777
  }
3778
3778
  var b = n.Encryptor = n.extend({
3779
3779
  processBlock: function(f, l) {
3780
- var a = this._cipher, i = a.blockSize, o = this._iv, s = this._counter;
3781
- o && (s = this._counter = o.slice(0), this._iv = void 0), g(s);
3782
- var u = s.slice(0);
3780
+ var a = this._cipher, i = a.blockSize, s = this._iv, o = this._counter;
3781
+ s && (o = this._counter = s.slice(0), this._iv = void 0), g(o);
3782
+ var u = o.slice(0);
3783
3783
  a.encryptBlock(u, 0);
3784
3784
  for (var m = 0; m < i; m++)
3785
3785
  f[l + m] ^= u[m];
@@ -3801,8 +3801,8 @@ function Or() {
3801
3801
  processBlock: function(g, b) {
3802
3802
  var f = this._cipher, l = f.blockSize, a = this._iv, i = this._keystream;
3803
3803
  a && (i = this._keystream = a.slice(0), this._iv = void 0), f.encryptBlock(i, 0);
3804
- for (var o = 0; o < l; o++)
3805
- g[b + o] ^= i[o];
3804
+ for (var s = 0; s < l; s++)
3805
+ g[b + s] ^= i[s];
3806
3806
  }
3807
3807
  });
3808
3808
  return n.Decryptor = p, n;
@@ -3962,8 +3962,8 @@ function Yr() {
3962
3962
  * var cipherParams = CryptoJS.format.Hex.parse(hexString);
3963
3963
  */
3964
3964
  parse: function(i) {
3965
- var o = l.parse(i);
3966
- return b.create({ ciphertext: o });
3965
+ var s = l.parse(i);
3966
+ return b.create({ ciphertext: s });
3967
3967
  }
3968
3968
  };
3969
3969
  })(), t.format.Hex;
@@ -3977,7 +3977,7 @@ function eo() {
3977
3977
  e.exports = n(ae(), Sa(), Da(), ya(), Ne());
3978
3978
  })(Xr, function(t) {
3979
3979
  return (function() {
3980
- var n = t, p = n.lib, g = p.BlockCipher, b = n.algo, f = [], l = [], a = [], i = [], o = [], s = [], u = [], m = [], c = [], d = [];
3980
+ var n = t, p = n.lib, g = p.BlockCipher, b = n.algo, f = [], l = [], a = [], i = [], s = [], o = [], u = [], m = [], c = [], d = [];
3981
3981
  (function() {
3982
3982
  for (var U = [], v = 0; v < 256; v++)
3983
3983
  v < 128 ? U[v] = v << 1 : U[v] = v << 1 ^ 283;
@@ -3985,7 +3985,7 @@ function eo() {
3985
3985
  var S = x ^ x << 1 ^ x << 2 ^ x << 3 ^ x << 4;
3986
3986
  S = S >>> 8 ^ S & 255 ^ 99, f[T] = S, l[S] = T;
3987
3987
  var G = U[T], O = U[G], C = U[O], h = U[S] * 257 ^ S * 16843008;
3988
- a[T] = h << 24 | h >>> 8, i[T] = h << 16 | h >>> 16, o[T] = h << 8 | h >>> 24, s[T] = h;
3988
+ a[T] = h << 24 | h >>> 8, i[T] = h << 16 | h >>> 16, s[T] = h << 8 | h >>> 24, o[T] = h;
3989
3989
  var h = C * 16843009 ^ O * 65537 ^ G * 257 ^ T * 16843008;
3990
3990
  u[S] = h << 24 | h >>> 8, m[S] = h << 16 | h >>> 16, c[S] = h << 8 | h >>> 24, d[S] = h, T ? (T = G ^ U[U[U[C ^ G]]], x ^= U[U[x]]) : T = x = 1;
3991
3991
  }
@@ -4007,7 +4007,7 @@ function eo() {
4007
4007
  }
4008
4008
  },
4009
4009
  encryptBlock: function(U, v) {
4010
- this._doCryptBlock(U, v, this._keySchedule, a, i, o, s, f);
4010
+ this._doCryptBlock(U, v, this._keySchedule, a, i, s, o, f);
4011
4011
  },
4012
4012
  decryptBlock: function(U, v) {
4013
4013
  var T = U[v + 1];
@@ -4143,7 +4143,7 @@ function io() {
4143
4143
  36,
4144
4144
  29,
4145
4145
  32
4146
- ], i = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], o = [
4146
+ ], i = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], s = [
4147
4147
  {
4148
4148
  0: 8421888,
4149
4149
  268435456: 32768,
@@ -4672,7 +4672,7 @@ function io() {
4672
4672
  2147483678: 131104,
4673
4673
  2147483679: 134350848
4674
4674
  }
4675
- ], s = [
4675
+ ], o = [
4676
4676
  4160749569,
4677
4677
  528482304,
4678
4678
  33030144,
@@ -4708,7 +4708,7 @@ function io() {
4708
4708
  this._lBlock = y[_], this._rBlock = y[_ + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), c.call(this, 2, 858993459), c.call(this, 8, 16711935), m.call(this, 1, 1431655765);
4709
4709
  for (var v = 0; v < 16; v++) {
4710
4710
  for (var T = U[v], x = this._lBlock, S = this._rBlock, G = 0, O = 0; O < 8; O++)
4711
- G |= o[O][((S ^ T[O]) & s[O]) >>> 0];
4711
+ G |= s[O][((S ^ T[O]) & o[O]) >>> 0];
4712
4712
  this._lBlock = S, this._rBlock = x ^ G;
4713
4713
  }
4714
4714
  var C = this._lBlock;
@@ -4759,29 +4759,29 @@ function no() {
4759
4759
  return (function() {
4760
4760
  var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = b.RC4 = g.extend({
4761
4761
  _doReset: function() {
4762
- for (var i = this._key, o = i.words, s = i.sigBytes, u = this._S = [], m = 0; m < 256; m++)
4762
+ for (var i = this._key, s = i.words, o = i.sigBytes, u = this._S = [], m = 0; m < 256; m++)
4763
4763
  u[m] = m;
4764
4764
  for (var m = 0, c = 0; m < 256; m++) {
4765
- var d = m % s, y = o[d >>> 2] >>> 24 - d % 4 * 8 & 255;
4765
+ var d = m % o, y = s[d >>> 2] >>> 24 - d % 4 * 8 & 255;
4766
4766
  c = (c + u[m] + y) % 256;
4767
4767
  var _ = u[m];
4768
4768
  u[m] = u[c], u[c] = _;
4769
4769
  }
4770
4770
  this._i = this._j = 0;
4771
4771
  },
4772
- _doProcessBlock: function(i, o) {
4773
- i[o] ^= l.call(this);
4772
+ _doProcessBlock: function(i, s) {
4773
+ i[s] ^= l.call(this);
4774
4774
  },
4775
4775
  keySize: 256 / 32,
4776
4776
  ivSize: 0
4777
4777
  });
4778
4778
  function l() {
4779
- for (var i = this._S, o = this._i, s = this._j, u = 0, m = 0; m < 4; m++) {
4780
- o = (o + 1) % 256, s = (s + i[o]) % 256;
4781
- var c = i[o];
4782
- i[o] = i[s], i[s] = c, u |= i[(i[o] + i[s]) % 256] << 24 - m * 8;
4779
+ for (var i = this._S, s = this._i, o = this._j, u = 0, m = 0; m < 4; m++) {
4780
+ s = (s + 1) % 256, o = (o + i[s]) % 256;
4781
+ var c = i[s];
4782
+ i[s] = i[o], i[o] = c, u |= i[(i[s] + i[o]) % 256] << 24 - m * 8;
4783
4783
  }
4784
- return this._i = o, this._j = s, u;
4784
+ return this._i = s, this._j = o, u;
4785
4785
  }
4786
4786
  n.RC4 = g._createHelper(f);
4787
4787
  var a = b.RC4Drop = f.extend({
@@ -4813,57 +4813,57 @@ function ro() {
4813
4813
  return (function() {
4814
4814
  var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], l = [], a = [], i = b.Rabbit = g.extend({
4815
4815
  _doReset: function() {
4816
- for (var s = this._key.words, u = this.cfg.iv, m = 0; m < 4; m++)
4817
- s[m] = (s[m] << 8 | s[m] >>> 24) & 16711935 | (s[m] << 24 | s[m] >>> 8) & 4278255360;
4816
+ for (var o = this._key.words, u = this.cfg.iv, m = 0; m < 4; m++)
4817
+ o[m] = (o[m] << 8 | o[m] >>> 24) & 16711935 | (o[m] << 24 | o[m] >>> 8) & 4278255360;
4818
4818
  var c = this._X = [
4819
- s[0],
4820
- s[3] << 16 | s[2] >>> 16,
4821
- s[1],
4822
- s[0] << 16 | s[3] >>> 16,
4823
- s[2],
4824
- s[1] << 16 | s[0] >>> 16,
4825
- s[3],
4826
- s[2] << 16 | s[1] >>> 16
4819
+ o[0],
4820
+ o[3] << 16 | o[2] >>> 16,
4821
+ o[1],
4822
+ o[0] << 16 | o[3] >>> 16,
4823
+ o[2],
4824
+ o[1] << 16 | o[0] >>> 16,
4825
+ o[3],
4826
+ o[2] << 16 | o[1] >>> 16
4827
4827
  ], d = this._C = [
4828
- s[2] << 16 | s[2] >>> 16,
4829
- s[0] & 4294901760 | s[1] & 65535,
4830
- s[3] << 16 | s[3] >>> 16,
4831
- s[1] & 4294901760 | s[2] & 65535,
4832
- s[0] << 16 | s[0] >>> 16,
4833
- s[2] & 4294901760 | s[3] & 65535,
4834
- s[1] << 16 | s[1] >>> 16,
4835
- s[3] & 4294901760 | s[0] & 65535
4828
+ o[2] << 16 | o[2] >>> 16,
4829
+ o[0] & 4294901760 | o[1] & 65535,
4830
+ o[3] << 16 | o[3] >>> 16,
4831
+ o[1] & 4294901760 | o[2] & 65535,
4832
+ o[0] << 16 | o[0] >>> 16,
4833
+ o[2] & 4294901760 | o[3] & 65535,
4834
+ o[1] << 16 | o[1] >>> 16,
4835
+ o[3] & 4294901760 | o[0] & 65535
4836
4836
  ];
4837
4837
  this._b = 0;
4838
4838
  for (var m = 0; m < 4; m++)
4839
- o.call(this);
4839
+ s.call(this);
4840
4840
  for (var m = 0; m < 8; m++)
4841
4841
  d[m] ^= c[m + 4 & 7];
4842
4842
  if (u) {
4843
4843
  var y = u.words, _ = y[0], U = y[1], v = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, T = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = v >>> 16 | T & 4294901760, S = T << 16 | v & 65535;
4844
4844
  d[0] ^= v, d[1] ^= x, d[2] ^= T, d[3] ^= S, d[4] ^= v, d[5] ^= x, d[6] ^= T, d[7] ^= S;
4845
4845
  for (var m = 0; m < 4; m++)
4846
- o.call(this);
4846
+ s.call(this);
4847
4847
  }
4848
4848
  },
4849
- _doProcessBlock: function(s, u) {
4849
+ _doProcessBlock: function(o, u) {
4850
4850
  var m = this._X;
4851
- o.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4851
+ s.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4852
4852
  for (var c = 0; c < 4; c++)
4853
- f[c] = (f[c] << 8 | f[c] >>> 24) & 16711935 | (f[c] << 24 | f[c] >>> 8) & 4278255360, s[u + c] ^= f[c];
4853
+ f[c] = (f[c] << 8 | f[c] >>> 24) & 16711935 | (f[c] << 24 | f[c] >>> 8) & 4278255360, o[u + c] ^= f[c];
4854
4854
  },
4855
4855
  blockSize: 128 / 32,
4856
4856
  ivSize: 64 / 32
4857
4857
  });
4858
- function o() {
4859
- for (var s = this._X, u = this._C, m = 0; m < 8; m++)
4858
+ function s() {
4859
+ for (var o = this._X, u = this._C, m = 0; m < 8; m++)
4860
4860
  l[m] = u[m];
4861
4861
  u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < l[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < l[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < l[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < l[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < l[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < l[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < l[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < l[7] >>> 0 ? 1 : 0;
4862
4862
  for (var m = 0; m < 8; m++) {
4863
- var c = s[m] + u[m], d = c & 65535, y = c >>> 16, _ = ((d * d >>> 17) + d * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4863
+ var c = o[m] + u[m], d = c & 65535, y = c >>> 16, _ = ((d * d >>> 17) + d * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4864
4864
  a[m] = _ ^ U;
4865
4865
  }
4866
- s[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, s[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, s[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, s[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, s[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, s[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, s[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, s[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
4866
+ o[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, o[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, o[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, o[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, o[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, o[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, o[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, o[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
4867
4867
  }
4868
4868
  n.Rabbit = g._createHelper(i);
4869
4869
  })(), t.Rabbit;
@@ -4879,55 +4879,55 @@ function so() {
4879
4879
  return (function() {
4880
4880
  var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], l = [], a = [], i = b.RabbitLegacy = g.extend({
4881
4881
  _doReset: function() {
4882
- var s = this._key.words, u = this.cfg.iv, m = this._X = [
4883
- s[0],
4884
- s[3] << 16 | s[2] >>> 16,
4885
- s[1],
4886
- s[0] << 16 | s[3] >>> 16,
4887
- s[2],
4888
- s[1] << 16 | s[0] >>> 16,
4889
- s[3],
4890
- s[2] << 16 | s[1] >>> 16
4882
+ var o = this._key.words, u = this.cfg.iv, m = this._X = [
4883
+ o[0],
4884
+ o[3] << 16 | o[2] >>> 16,
4885
+ o[1],
4886
+ o[0] << 16 | o[3] >>> 16,
4887
+ o[2],
4888
+ o[1] << 16 | o[0] >>> 16,
4889
+ o[3],
4890
+ o[2] << 16 | o[1] >>> 16
4891
4891
  ], c = this._C = [
4892
- s[2] << 16 | s[2] >>> 16,
4893
- s[0] & 4294901760 | s[1] & 65535,
4894
- s[3] << 16 | s[3] >>> 16,
4895
- s[1] & 4294901760 | s[2] & 65535,
4896
- s[0] << 16 | s[0] >>> 16,
4897
- s[2] & 4294901760 | s[3] & 65535,
4898
- s[1] << 16 | s[1] >>> 16,
4899
- s[3] & 4294901760 | s[0] & 65535
4892
+ o[2] << 16 | o[2] >>> 16,
4893
+ o[0] & 4294901760 | o[1] & 65535,
4894
+ o[3] << 16 | o[3] >>> 16,
4895
+ o[1] & 4294901760 | o[2] & 65535,
4896
+ o[0] << 16 | o[0] >>> 16,
4897
+ o[2] & 4294901760 | o[3] & 65535,
4898
+ o[1] << 16 | o[1] >>> 16,
4899
+ o[3] & 4294901760 | o[0] & 65535
4900
4900
  ];
4901
4901
  this._b = 0;
4902
4902
  for (var d = 0; d < 4; d++)
4903
- o.call(this);
4903
+ s.call(this);
4904
4904
  for (var d = 0; d < 8; d++)
4905
4905
  c[d] ^= m[d + 4 & 7];
4906
4906
  if (u) {
4907
4907
  var y = u.words, _ = y[0], U = y[1], v = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, T = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = v >>> 16 | T & 4294901760, S = T << 16 | v & 65535;
4908
4908
  c[0] ^= v, c[1] ^= x, c[2] ^= T, c[3] ^= S, c[4] ^= v, c[5] ^= x, c[6] ^= T, c[7] ^= S;
4909
4909
  for (var d = 0; d < 4; d++)
4910
- o.call(this);
4910
+ s.call(this);
4911
4911
  }
4912
4912
  },
4913
- _doProcessBlock: function(s, u) {
4913
+ _doProcessBlock: function(o, u) {
4914
4914
  var m = this._X;
4915
- o.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4915
+ s.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4916
4916
  for (var c = 0; c < 4; c++)
4917
- f[c] = (f[c] << 8 | f[c] >>> 24) & 16711935 | (f[c] << 24 | f[c] >>> 8) & 4278255360, s[u + c] ^= f[c];
4917
+ f[c] = (f[c] << 8 | f[c] >>> 24) & 16711935 | (f[c] << 24 | f[c] >>> 8) & 4278255360, o[u + c] ^= f[c];
4918
4918
  },
4919
4919
  blockSize: 128 / 32,
4920
4920
  ivSize: 64 / 32
4921
4921
  });
4922
- function o() {
4923
- for (var s = this._X, u = this._C, m = 0; m < 8; m++)
4922
+ function s() {
4923
+ for (var o = this._X, u = this._C, m = 0; m < 8; m++)
4924
4924
  l[m] = u[m];
4925
4925
  u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < l[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < l[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < l[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < l[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < l[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < l[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < l[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < l[7] >>> 0 ? 1 : 0;
4926
4926
  for (var m = 0; m < 8; m++) {
4927
- var c = s[m] + u[m], d = c & 65535, y = c >>> 16, _ = ((d * d >>> 17) + d * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4927
+ var c = o[m] + u[m], d = c & 65535, y = c >>> 16, _ = ((d * d >>> 17) + d * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4928
4928
  a[m] = _ ^ U;
4929
4929
  }
4930
- s[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, s[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, s[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, s[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, s[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, s[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, s[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, s[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
4930
+ o[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, o[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, o[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, o[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, o[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, o[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, o[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, o[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
4931
4931
  }
4932
4932
  n.RabbitLegacy = g._createHelper(i);
4933
4933
  })(), t.RabbitLegacy;
@@ -5999,20 +5999,20 @@ function uo() {
5999
5999
  pbox: [],
6000
6000
  sbox: []
6001
6001
  };
6002
- function o(d, y) {
6002
+ function s(d, y) {
6003
6003
  let _ = y >> 24 & 255, U = y >> 16 & 255, v = y >> 8 & 255, T = y & 255, x = d.sbox[0][_] + d.sbox[1][U];
6004
6004
  return x = x ^ d.sbox[2][v], x = x + d.sbox[3][T], x;
6005
6005
  }
6006
- function s(d, y, _) {
6006
+ function o(d, y, _) {
6007
6007
  let U = y, v = _, T;
6008
6008
  for (let x = 0; x < f; ++x)
6009
- U = U ^ d.pbox[x], v = o(d, U) ^ v, T = U, U = v, v = T;
6009
+ U = U ^ d.pbox[x], v = s(d, U) ^ v, T = U, U = v, v = T;
6010
6010
  return T = U, U = v, v = T, v = v ^ d.pbox[f], U = U ^ d.pbox[f + 1], { left: U, right: v };
6011
6011
  }
6012
6012
  function u(d, y, _) {
6013
6013
  let U = y, v = _, T;
6014
6014
  for (let x = f + 1; x > 1; --x)
6015
- U = U ^ d.pbox[x], v = o(d, U) ^ v, T = U, U = v, v = T;
6015
+ U = U ^ d.pbox[x], v = s(d, U) ^ v, T = U, U = v, v = T;
6016
6016
  return T = U, U = v, v = T, v = v ^ d.pbox[1], U = U ^ d.pbox[0], { left: U, right: v };
6017
6017
  }
6018
6018
  function m(d, y, _) {
@@ -6026,10 +6026,10 @@ function uo() {
6026
6026
  d.pbox[S] = l[S] ^ y[U], U++, U >= _ && (U = 0);
6027
6027
  let v = 0, T = 0, x = 0;
6028
6028
  for (let S = 0; S < f + 2; S += 2)
6029
- x = s(d, v, T), v = x.left, T = x.right, d.pbox[S] = v, d.pbox[S + 1] = T;
6029
+ x = o(d, v, T), v = x.left, T = x.right, d.pbox[S] = v, d.pbox[S + 1] = T;
6030
6030
  for (let S = 0; S < 4; S++)
6031
6031
  for (let G = 0; G < 256; G += 2)
6032
- x = s(d, v, T), v = x.left, T = x.right, d.sbox[S][G] = v, d.sbox[S][G + 1] = T;
6032
+ x = o(d, v, T), v = x.left, T = x.right, d.sbox[S][G] = v, d.sbox[S][G + 1] = T;
6033
6033
  return !0;
6034
6034
  }
6035
6035
  var c = b.Blowfish = g.extend({
@@ -6040,7 +6040,7 @@ function uo() {
6040
6040
  }
6041
6041
  },
6042
6042
  encryptBlock: function(d, y) {
6043
- var _ = s(i, d[y], d[y + 1]);
6043
+ var _ = o(i, d[y], d[y + 1]);
6044
6044
  d[y] = _.left, d[y + 1] = _.right;
6045
6045
  },
6046
6046
  decryptBlock: function(d, y) {
@@ -6106,7 +6106,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6106
6106
  });
6107
6107
  },
6108
6108
  [e]
6109
- ), i = I(async () => await e.get("/profit/ranking"), [e]), o = I(
6109
+ ), i = I(async () => await e.get("/profit/ranking"), [e]), s = I(
6110
6110
  async ({
6111
6111
  memberId: C,
6112
6112
  password: h,
@@ -6126,7 +6126,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6126
6126
  return N && (B.unlimit_code = N), P && (B.invite = P), e.post("/signUp", B);
6127
6127
  },
6128
6128
  [e]
6129
- ), s = I(
6129
+ ), o = I(
6130
6130
  async (C) => {
6131
6131
  const { name: h, birthday: N, email: E, mobile: P } = C;
6132
6132
  return await e.post("/editMembetInfo", {
@@ -6269,8 +6269,8 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6269
6269
  userLogoutApi: l,
6270
6270
  addOrRemoveFavoriteGameApi: a,
6271
6271
  rankingGameApi: i,
6272
- userSignUpApi: o,
6273
- updateUserInfoApi: s,
6272
+ userSignUpApi: s,
6273
+ updateUserInfoApi: o,
6274
6274
  resetUserPasswordApi: u,
6275
6275
  setUserTransactionPasswordApi: m,
6276
6276
  resetUserTransactionPasswordApi: c,
@@ -6285,7 +6285,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6285
6285
  getMachineLoginCodeApi: G,
6286
6286
  memberTransferApi: O
6287
6287
  };
6288
- }, bm = ({ otherQueryKey: e = [], options: r = {} } = {}) => {
6288
+ }, Cm = ({ otherQueryKey: e = [], options: r = {} } = {}) => {
6289
6289
  const { userCurrencyExchangeApi: t } = ce(), { getToken: n } = re(), { enabled: p, ...g } = r, f = !!n?.() && (p ? p.every((l) => l) : !0);
6290
6290
  return Bn({
6291
6291
  queries: [
@@ -6299,7 +6299,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6299
6299
  }
6300
6300
  ]
6301
6301
  });
6302
- }, Cm = ({
6302
+ }, vm = ({
6303
6303
  refetchInterval: e = 5e4,
6304
6304
  trigger: r = [],
6305
6305
  enabled: t = !0
@@ -6315,7 +6315,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6315
6315
  }
6316
6316
  ]
6317
6317
  });
6318
- }, vm = ({ enabled: e = !0 } = {}) => {
6318
+ }, hm = ({ enabled: e = !0 } = {}) => {
6319
6319
  const {
6320
6320
  userInfoApi: r,
6321
6321
  userFavoriteGameApi: t,
@@ -6356,7 +6356,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6356
6356
  // 是否為行動裝置
6357
6357
  gameCurrency: i = "",
6358
6358
  // 遊戲幣別
6359
- currentCurrency: o = ""
6359
+ currentCurrency: s = ""
6360
6360
  // 目前使用的幣別
6361
6361
  } = b;
6362
6362
  return await e.post("/game/go", {
@@ -6365,8 +6365,8 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6365
6365
  lang: t,
6366
6366
  is_mobile: a,
6367
6367
  currency_code: i,
6368
- gameCurrencyNow: o,
6369
- walletCurrencyNow: o
6368
+ gameCurrencyNow: s,
6369
+ walletCurrencyNow: s
6370
6370
  });
6371
6371
  },
6372
6372
  [e, t]
@@ -6377,7 +6377,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6377
6377
  endDate: l = Fe().format("YYYY-MM-DD 11:59:59"),
6378
6378
  platform: a = "",
6379
6379
  limit: i = 25
6380
- } = b, { data: o } = await e.get("/report/netprofit", {
6380
+ } = b, { data: s } = await e.get("/report/netprofit", {
6381
6381
  params: {
6382
6382
  str_date: f,
6383
6383
  end_Date: l,
@@ -6385,7 +6385,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6385
6385
  limit: i
6386
6386
  }
6387
6387
  });
6388
- return o;
6388
+ return s;
6389
6389
  },
6390
6390
  [e]
6391
6391
  ), g = I(
@@ -6395,17 +6395,17 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6395
6395
  endDate: l = Fe().format("YYYY-MM-DD 11:59:59"),
6396
6396
  platform: a,
6397
6397
  limit: i = 25,
6398
- page: o = 1
6399
- } = b, { data: s } = await e.get("/report/betlog", {
6398
+ page: s = 1
6399
+ } = b, { data: o } = await e.get("/report/betlog", {
6400
6400
  params: {
6401
6401
  str_date: f,
6402
6402
  end_Date: l,
6403
6403
  platform: a,
6404
6404
  limit: i,
6405
- page: o
6405
+ page: s
6406
6406
  }
6407
6407
  });
6408
- return s;
6408
+ return o;
6409
6409
  },
6410
6410
  [e]
6411
6411
  );
@@ -6428,7 +6428,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6428
6428
  queryFn: async () => await t(r),
6429
6429
  ...e
6430
6430
  });
6431
- }, hm = ({
6431
+ }, Tm = ({
6432
6432
  options: e = {
6433
6433
  betRecord: {},
6434
6434
  betRecordDetail: {}
@@ -6570,8 +6570,8 @@ function _t() {
6570
6570
  var t = function(p, g) {
6571
6571
  g === void 0 && (g = {});
6572
6572
  var b = /\?([\w]+=[\w]+)/, f = b.test(p), l = "".concat(Object.entries(g).reduce(function(a, i) {
6573
- var o = i[0], s = i[1];
6574
- return a + "".concat(o, "=").concat(s, "&");
6573
+ var s = i[0], o = i[1];
6574
+ return a + "".concat(s, "=").concat(o, "&");
6575
6575
  }, "").slice(0, -1));
6576
6576
  return "".concat(p).concat(f ? "&" : "?").concat(l);
6577
6577
  };
@@ -6596,13 +6596,13 @@ function il() {
6596
6596
  }).current : n.current;
6597
6597
  }
6598
6598
  function t(n, p, g) {
6599
- var b = g || {}, f = b.interval, l = f === void 0 ? e.DEFAULT_HEARTBEAT.interval : f, a = b.timeout, i = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = b.message, s = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, u = Math.max(100, l / 10), m = Date.now(), c = setInterval(function() {
6599
+ var b = g || {}, f = b.interval, l = f === void 0 ? e.DEFAULT_HEARTBEAT.interval : f, a = b.timeout, i = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, s = b.message, o = s === void 0 ? e.DEFAULT_HEARTBEAT.message : s, u = Math.max(100, l / 10), m = Date.now(), c = setInterval(function() {
6600
6600
  var d = Date.now(), y = r(p);
6601
6601
  if (y + i <= d)
6602
6602
  console.warn("Heartbeat timed out, closing connection, last message received ".concat(d - y, "ms ago, last ping sent ").concat(d - m, "ms ago")), n.close();
6603
6603
  else if (y + l <= d && m + l <= d)
6604
6604
  try {
6605
- typeof s == "function" ? n.send(s()) : n.send(s), m = d;
6605
+ typeof o == "function" ? n.send(o()) : n.send(o), m = d;
6606
6606
  } catch (_) {
6607
6607
  console.error("Heartbeat failed, closing connection", _ instanceof Error ? _.message : _), n.close();
6608
6608
  }
@@ -6665,65 +6665,65 @@ function yo() {
6665
6665
  Cn = 1;
6666
6666
  var e = ha && ha.__assign || function() {
6667
6667
  return e = Object.assign || function(i) {
6668
- for (var o, s = 1, u = arguments.length; s < u; s++) {
6669
- o = arguments[s];
6670
- for (var m in o) Object.prototype.hasOwnProperty.call(o, m) && (i[m] = o[m]);
6668
+ for (var s, o = 1, u = arguments.length; o < u; o++) {
6669
+ s = arguments[o];
6670
+ for (var m in s) Object.prototype.hasOwnProperty.call(s, m) && (i[m] = s[m]);
6671
6671
  }
6672
6672
  return i;
6673
6673
  }, e.apply(this, arguments);
6674
6674
  };
6675
6675
  Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachListeners = void 0;
6676
- var r = _t(), t = il(), n = ra(), p = Ut(), g = function(i, o, s, u) {
6676
+ var r = _t(), t = il(), n = ra(), p = Ut(), g = function(i, s, o, u) {
6677
6677
  i.onmessage = function(m) {
6678
6678
  var c;
6679
- o.current.onMessage && o.current.onMessage(m), typeof u?.current == "number" && (u.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((c = o.current.heartbeat) === null || c === void 0 ? void 0 : c.returnMessage) === m.data || s(m));
6679
+ s.current.onMessage && s.current.onMessage(m), typeof u?.current == "number" && (u.current = Date.now()), !(typeof s.current.filter == "function" && s.current.filter(m) !== !0) && (s.current.heartbeat && typeof s.current.heartbeat != "boolean" && ((c = s.current.heartbeat) === null || c === void 0 ? void 0 : c.returnMessage) === m.data || o(m));
6680
6680
  };
6681
- }, b = function(i, o, s, u, m) {
6681
+ }, b = function(i, s, o, u, m) {
6682
6682
  i.onopen = function(c) {
6683
- if (o.current.onOpen && o.current.onOpen(c), u.current = 0, s(n.ReadyState.OPEN), o.current.heartbeat && i instanceof WebSocket) {
6684
- var d = typeof o.current.heartbeat == "boolean" ? void 0 : o.current.heartbeat;
6683
+ if (s.current.onOpen && s.current.onOpen(c), u.current = 0, o(n.ReadyState.OPEN), s.current.heartbeat && i instanceof WebSocket) {
6684
+ var d = typeof s.current.heartbeat == "boolean" ? void 0 : s.current.heartbeat;
6685
6685
  m.current = Date.now(), (0, t.heartbeat)(i, m, d);
6686
6686
  }
6687
6687
  };
6688
- }, f = function(i, o, s, u, m) {
6688
+ }, f = function(i, s, o, u, m) {
6689
6689
  if (n.isEventSourceSupported && i instanceof EventSource)
6690
6690
  return function() {
6691
6691
  };
6692
- (0, p.assertIsWebSocket)(i, o.current.skipAssert);
6692
+ (0, p.assertIsWebSocket)(i, s.current.skipAssert);
6693
6693
  var c;
6694
6694
  return i.onclose = function(d) {
6695
6695
  var y;
6696
- if (o.current.onClose && o.current.onClose(d), s(n.ReadyState.CLOSED), o.current.shouldReconnect && o.current.shouldReconnect(d)) {
6697
- var _ = (y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT;
6696
+ if (s.current.onClose && s.current.onClose(d), o(n.ReadyState.CLOSED), s.current.shouldReconnect && s.current.shouldReconnect(d)) {
6697
+ var _ = (y = s.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT;
6698
6698
  if (m.current < _) {
6699
- var U = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6699
+ var U = typeof s.current.reconnectInterval == "function" ? s.current.reconnectInterval(m.current) : s.current.reconnectInterval;
6700
6700
  c = window.setTimeout(function() {
6701
6701
  m.current++, u();
6702
6702
  }, U ?? n.DEFAULT_RECONNECT_INTERVAL_MS);
6703
6703
  } else
6704
- o.current.onReconnectStop && o.current.onReconnectStop(_), console.warn("Max reconnect attempts of ".concat(_, " exceeded"));
6704
+ s.current.onReconnectStop && s.current.onReconnectStop(_), console.warn("Max reconnect attempts of ".concat(_, " exceeded"));
6705
6705
  }
6706
6706
  }, function() {
6707
6707
  return c && window.clearTimeout(c);
6708
6708
  };
6709
- }, l = function(i, o, s, u, m) {
6709
+ }, l = function(i, s, o, u, m) {
6710
6710
  var c;
6711
6711
  return i.onerror = function(d) {
6712
6712
  var y;
6713
- if (o.current.onError && o.current.onError(d), n.isEventSourceSupported && i instanceof EventSource && (o.current.onClose && o.current.onClose(e(e({}, d), { code: 1006, reason: "An error occurred with the EventSource: ".concat(d), wasClean: !1 })), s(n.ReadyState.CLOSED), i.close()), o.current.retryOnError)
6714
- if (m.current < ((y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT)) {
6715
- var _ = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6713
+ if (s.current.onError && s.current.onError(d), n.isEventSourceSupported && i instanceof EventSource && (s.current.onClose && s.current.onClose(e(e({}, d), { code: 1006, reason: "An error occurred with the EventSource: ".concat(d), wasClean: !1 })), o(n.ReadyState.CLOSED), i.close()), s.current.retryOnError)
6714
+ if (m.current < ((y = s.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT)) {
6715
+ var _ = typeof s.current.reconnectInterval == "function" ? s.current.reconnectInterval(m.current) : s.current.reconnectInterval;
6716
6716
  c = window.setTimeout(function() {
6717
6717
  m.current++, u();
6718
6718
  }, _ ?? n.DEFAULT_RECONNECT_INTERVAL_MS);
6719
6719
  } else
6720
- o.current.onReconnectStop && o.current.onReconnectStop(o.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(o.current.reconnectAttempts, " exceeded"));
6720
+ s.current.onReconnectStop && s.current.onReconnectStop(s.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(s.current.reconnectAttempts, " exceeded"));
6721
6721
  }, function() {
6722
6722
  return c && window.clearTimeout(c);
6723
6723
  };
6724
- }, a = function(i, o, s, u, m, c, d) {
6725
- var y = o.setLastMessage, _ = o.setReadyState, U, v, T;
6726
- return s.current.fromSocketIO && (U = (0, r.setUpSocketIOPing)(d)), g(i, s, y, c), b(i, s, _, m, c), v = f(i, s, _, u, m), T = l(i, s, _, u, m), function() {
6724
+ }, a = function(i, s, o, u, m, c, d) {
6725
+ var y = s.setLastMessage, _ = s.setReadyState, U, v, T;
6726
+ return o.current.fromSocketIO && (U = (0, r.setUpSocketIOPing)(d)), g(i, o, y, c), b(i, o, _, m, c), v = f(i, o, _, u, m), T = l(i, o, _, u, m), function() {
6727
6727
  _(n.ReadyState.CLOSING), v(), T(), i.close(), U && clearInterval(U);
6728
6728
  };
6729
6729
  };
@@ -6734,36 +6734,36 @@ function Uo() {
6734
6734
  if (vn) return Ta;
6735
6735
  vn = 1;
6736
6736
  var e = Ta && Ta.__assign || function() {
6737
- return e = Object.assign || function(o) {
6738
- for (var s, u = 1, m = arguments.length; u < m; u++) {
6739
- s = arguments[u];
6740
- for (var c in s) Object.prototype.hasOwnProperty.call(s, c) && (o[c] = s[c]);
6737
+ return e = Object.assign || function(s) {
6738
+ for (var o, u = 1, m = arguments.length; u < m; u++) {
6739
+ o = arguments[u];
6740
+ for (var c in o) Object.prototype.hasOwnProperty.call(o, c) && (s[c] = o[c]);
6741
6741
  }
6742
- return o;
6742
+ return s;
6743
6743
  }, e.apply(this, arguments);
6744
6744
  };
6745
6745
  Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.attachSharedListeners = void 0;
6746
- var r = ft(), t = ra(), n = yt(), p = _t(), g = il(), b = function(o, s, u) {
6747
- o.onmessage = function(m) {
6748
- (0, n.getSubscribers)(s).forEach(function(c) {
6746
+ var r = ft(), t = ra(), n = yt(), p = _t(), g = il(), b = function(s, o, u) {
6747
+ s.onmessage = function(m) {
6748
+ (0, n.getSubscribers)(o).forEach(function(c) {
6749
6749
  var d;
6750
6750
  c.optionsRef.current.onMessage && c.optionsRef.current.onMessage(m), typeof ((d = c?.lastMessageTime) === null || d === void 0 ? void 0 : d.current) == "number" && (c.lastMessageTime.current = Date.now()), !(typeof c.optionsRef.current.filter == "function" && c.optionsRef.current.filter(m) !== !0) && (u && typeof u != "boolean" && u?.returnMessage === m.data || c.setLastMessage(m));
6751
6751
  });
6752
6752
  };
6753
- }, f = function(o, s, u) {
6754
- o.onopen = function(m) {
6755
- var c = (0, n.getSubscribers)(s);
6753
+ }, f = function(s, o, u) {
6754
+ s.onopen = function(m) {
6755
+ var c = (0, n.getSubscribers)(o);
6756
6756
  c.forEach(function(d) {
6757
- d.reconnectCount.current = 0, d.optionsRef.current.onOpen && d.optionsRef.current.onOpen(m), d.setReadyState(t.ReadyState.OPEN), u && o instanceof WebSocket && (d.lastMessageTime.current = Date.now());
6758
- }), u && o instanceof WebSocket && (0, g.heartbeat)(o, c.map(function(d) {
6757
+ d.reconnectCount.current = 0, d.optionsRef.current.onOpen && d.optionsRef.current.onOpen(m), d.setReadyState(t.ReadyState.OPEN), u && s instanceof WebSocket && (d.lastMessageTime.current = Date.now());
6758
+ }), u && s instanceof WebSocket && (0, g.heartbeat)(s, c.map(function(d) {
6759
6759
  return d.lastMessageTime;
6760
6760
  }), typeof u == "boolean" ? void 0 : u);
6761
6761
  };
6762
- }, l = function(o, s) {
6763
- o instanceof WebSocket && (o.onclose = function(u) {
6764
- (0, n.getSubscribers)(s).forEach(function(m) {
6762
+ }, l = function(s, o) {
6763
+ s instanceof WebSocket && (s.onclose = function(u) {
6764
+ (0, n.getSubscribers)(o).forEach(function(m) {
6765
6765
  m.optionsRef.current.onClose && m.optionsRef.current.onClose(u), m.setReadyState(t.ReadyState.CLOSED);
6766
- }), delete r.sharedWebSockets[s], (0, n.getSubscribers)(s).forEach(function(m) {
6766
+ }), delete r.sharedWebSockets[o], (0, n.getSubscribers)(o).forEach(function(m) {
6767
6767
  var c;
6768
6768
  if (m.optionsRef.current.shouldReconnect && m.optionsRef.current.shouldReconnect(u)) {
6769
6769
  var d = (c = m.optionsRef.current.reconnectAttempts) !== null && c !== void 0 ? c : t.DEFAULT_RECONNECT_LIMIT;
@@ -6777,15 +6777,15 @@ function Uo() {
6777
6777
  }
6778
6778
  });
6779
6779
  });
6780
- }, a = function(o, s) {
6781
- o.onerror = function(u) {
6782
- (0, n.getSubscribers)(s).forEach(function(m) {
6783
- m.optionsRef.current.onError && m.optionsRef.current.onError(u), t.isEventSourceSupported && o instanceof EventSource && (m.optionsRef.current.onClose && m.optionsRef.current.onClose(e(e({}, u), { code: 1006, reason: "An error occurred with the EventSource: ".concat(u), wasClean: !1 })), m.setReadyState(t.ReadyState.CLOSED));
6784
- }), t.isEventSourceSupported && o instanceof EventSource && o.close();
6780
+ }, a = function(s, o) {
6781
+ s.onerror = function(u) {
6782
+ (0, n.getSubscribers)(o).forEach(function(m) {
6783
+ m.optionsRef.current.onError && m.optionsRef.current.onError(u), t.isEventSourceSupported && s instanceof EventSource && (m.optionsRef.current.onClose && m.optionsRef.current.onClose(e(e({}, u), { code: 1006, reason: "An error occurred with the EventSource: ".concat(u), wasClean: !1 })), m.setReadyState(t.ReadyState.CLOSED));
6784
+ }), t.isEventSourceSupported && s instanceof EventSource && s.close();
6785
6785
  };
6786
- }, i = function(o, s, u, m) {
6786
+ }, i = function(s, o, u, m) {
6787
6787
  var c;
6788
- return u.current.fromSocketIO && (c = (0, p.setUpSocketIOPing)(m)), b(o, s, u.current.heartbeat), l(o, s), f(o, s, u.current.heartbeat), a(o, s), function() {
6788
+ return u.current.fromSocketIO && (c = (0, p.setUpSocketIOPing)(m)), b(s, o, u.current.heartbeat), l(s, o), f(s, o, u.current.heartbeat), a(s, o), function() {
6789
6789
  c && clearInterval(c);
6790
6790
  };
6791
6791
  };
@@ -6795,41 +6795,41 @@ var hn;
6795
6795
  function bo() {
6796
6796
  if (hn) return Ka;
6797
6797
  hn = 1, Object.defineProperty(Ka, "__esModule", { value: !0 }), Ka.createOrJoinSocket = void 0;
6798
- var e = ft(), r = ra(), t = yo(), n = Uo(), p = yt(), g = function(f, l, a, i, o) {
6798
+ var e = ft(), r = ra(), t = yo(), n = Uo(), p = yt(), g = function(f, l, a, i, s) {
6799
6799
  return function() {
6800
6800
  if ((0, p.removeSubscriber)(f, l), !(0, p.hasSubscribers)(f)) {
6801
6801
  try {
6802
- var s = e.sharedWebSockets[f];
6803
- s instanceof WebSocket && (s.onclose = function(u) {
6802
+ var o = e.sharedWebSockets[f];
6803
+ o instanceof WebSocket && (o.onclose = function(u) {
6804
6804
  a.current.onClose && a.current.onClose(u), i(r.ReadyState.CLOSED);
6805
- }), s.close();
6805
+ }), o.close();
6806
6806
  } catch {
6807
6807
  }
6808
- o && o(), delete e.sharedWebSockets[f];
6808
+ s && s(), delete e.sharedWebSockets[f];
6809
6809
  }
6810
6810
  };
6811
- }, b = function(f, l, a, i, o, s, u, m, c) {
6811
+ }, b = function(f, l, a, i, s, o, u, m, c) {
6812
6812
  if (!r.isEventSourceSupported && i.current.eventSourceOptions)
6813
6813
  throw r.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
6814
6814
  if (i.current.share) {
6815
6815
  var d = null;
6816
6816
  e.sharedWebSockets[l] === void 0 ? (e.sharedWebSockets[l] = i.current.eventSourceOptions ? new EventSource(l, i.current.eventSourceOptions) : new WebSocket(l, i.current.protocols), f.current = e.sharedWebSockets[l], a(r.ReadyState.CONNECTING), d = (0, n.attachSharedListeners)(e.sharedWebSockets[l], l, i, c)) : (f.current = e.sharedWebSockets[l], a(e.sharedWebSockets[l].readyState));
6817
6817
  var y = {
6818
- setLastMessage: o,
6818
+ setLastMessage: s,
6819
6819
  setReadyState: a,
6820
6820
  optionsRef: i,
6821
6821
  reconnectCount: u,
6822
6822
  lastMessageTime: m,
6823
- reconnect: s
6823
+ reconnect: o
6824
6824
  };
6825
6825
  return (0, p.addSubscriber)(l, y), g(l, y, i, a, d);
6826
6826
  } else {
6827
6827
  if (f.current = i.current.eventSourceOptions ? new EventSource(l, i.current.eventSourceOptions) : new WebSocket(l, i.current.protocols), a(r.ReadyState.CONNECTING), !f.current)
6828
6828
  throw new Error("WebSocket failed to be created");
6829
6829
  return (0, t.attachListeners)(f.current, {
6830
- setLastMessage: o,
6830
+ setLastMessage: s,
6831
6831
  setReadyState: a
6832
- }, i, s.current, u, m, c);
6832
+ }, i, o.current, u, m, c);
6833
6833
  }
6834
6834
  };
6835
6835
  return Ka.createOrJoinSocket = b, Ka;
@@ -6837,8 +6837,8 @@ function bo() {
6837
6837
  var ma = {}, Tn;
6838
6838
  function Co() {
6839
6839
  return Tn || (Tn = 1, (function(e) {
6840
- var r = ma && ma.__awaiter || function(l, a, i, o) {
6841
- function s(u) {
6840
+ var r = ma && ma.__awaiter || function(l, a, i, s) {
6841
+ function o(u) {
6842
6842
  return u instanceof i ? u : new i(function(m) {
6843
6843
  m(u);
6844
6844
  });
@@ -6846,28 +6846,28 @@ function Co() {
6846
6846
  return new (i || (i = Promise))(function(u, m) {
6847
6847
  function c(_) {
6848
6848
  try {
6849
- y(o.next(_));
6849
+ y(s.next(_));
6850
6850
  } catch (U) {
6851
6851
  m(U);
6852
6852
  }
6853
6853
  }
6854
6854
  function d(_) {
6855
6855
  try {
6856
- y(o.throw(_));
6856
+ y(s.throw(_));
6857
6857
  } catch (U) {
6858
6858
  m(U);
6859
6859
  }
6860
6860
  }
6861
6861
  function y(_) {
6862
- _.done ? u(_.value) : s(_.value).then(c, d);
6862
+ _.done ? u(_.value) : o(_.value).then(c, d);
6863
6863
  }
6864
- y((o = o.apply(l, a || [])).next());
6864
+ y((s = s.apply(l, a || [])).next());
6865
6865
  });
6866
6866
  }, t = ma && ma.__generator || function(l, a) {
6867
6867
  var i = { label: 0, sent: function() {
6868
6868
  if (u[0] & 1) throw u[1];
6869
6869
  return u[1];
6870
- }, trys: [], ops: [] }, o, s, u, m = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6870
+ }, trys: [], ops: [] }, s, o, u, m = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6871
6871
  return m.next = c(0), m.throw = c(1), m.return = c(2), typeof Symbol == "function" && (m[Symbol.iterator] = function() {
6872
6872
  return this;
6873
6873
  }), m;
@@ -6877,10 +6877,10 @@ function Co() {
6877
6877
  };
6878
6878
  }
6879
6879
  function d(y) {
6880
- if (o) throw new TypeError("Generator is already executing.");
6880
+ if (s) throw new TypeError("Generator is already executing.");
6881
6881
  for (; m && (m = 0, y[0] && (i = 0)), i; ) try {
6882
- if (o = 1, s && (u = y[0] & 2 ? s.return : y[0] ? s.throw || ((u = s.return) && u.call(s), 0) : s.next) && !(u = u.call(s, y[1])).done) return u;
6883
- switch (s = 0, u && (y = [y[0] & 2, u.value]), y[0]) {
6882
+ if (s = 1, o && (u = y[0] & 2 ? o.return : y[0] ? o.throw || ((u = o.return) && u.call(o), 0) : o.next) && !(u = u.call(o, y[1])).done) return u;
6883
+ switch (o = 0, u && (y = [y[0] & 2, u.value]), y[0]) {
6884
6884
  case 0:
6885
6885
  case 1:
6886
6886
  u = y;
@@ -6888,7 +6888,7 @@ function Co() {
6888
6888
  case 4:
6889
6889
  return i.label++, { value: y[1], done: !1 };
6890
6890
  case 5:
6891
- i.label++, s = y[1], y = [0];
6891
+ i.label++, o = y[1], y = [0];
6892
6892
  continue;
6893
6893
  case 7:
6894
6894
  y = i.ops.pop(), i.trys.pop();
@@ -6915,16 +6915,16 @@ function Co() {
6915
6915
  }
6916
6916
  y = a.call(l, i);
6917
6917
  } catch (_) {
6918
- y = [6, _], s = 0;
6918
+ y = [6, _], o = 0;
6919
6919
  } finally {
6920
- o = u = 0;
6920
+ s = u = 0;
6921
6921
  }
6922
6922
  if (y[0] & 5) throw y[1];
6923
6923
  return { value: y[0] ? y[1] : void 0, done: !0 };
6924
6924
  }
6925
6925
  }, n = ma && ma.__spreadArray || function(l, a, i) {
6926
- if (i || arguments.length === 2) for (var o = 0, s = a.length, u; o < s; o++)
6927
- (u || !(o in a)) && (u || (u = Array.prototype.slice.call(a, 0, o)), u[o] = a[o]);
6926
+ if (i || arguments.length === 2) for (var s = 0, o = a.length, u; s < o; s++)
6927
+ (u || !(s in a)) && (u || (u = Array.prototype.slice.call(a, 0, s)), u[s] = a[s]);
6928
6928
  return l.concat(u || Array.prototype.slice.call(a));
6929
6929
  };
6930
6930
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
@@ -6933,23 +6933,23 @@ function Co() {
6933
6933
  return window.setTimeout(a, l);
6934
6934
  });
6935
6935
  }, f = function(l, a) {
6936
- for (var i = [], o = 2; o < arguments.length; o++)
6937
- i[o - 2] = arguments[o];
6938
- return r(void 0, n([l, a], i, !0), void 0, function(s, u, m) {
6936
+ for (var i = [], s = 2; s < arguments.length; s++)
6937
+ i[s - 2] = arguments[s];
6938
+ return r(void 0, n([l, a], i, !0), void 0, function(o, u, m) {
6939
6939
  var c, d, y, _, U, v, T, x;
6940
6940
  return m === void 0 && (m = 0), t(this, function(S) {
6941
6941
  switch (S.label) {
6942
6942
  case 0:
6943
- if (typeof s != "function") return [3, 10];
6943
+ if (typeof o != "function") return [3, 10];
6944
6944
  S.label = 1;
6945
6945
  case 1:
6946
- return S.trys.push([1, 3, , 9]), [4, s()];
6946
+ return S.trys.push([1, 3, , 9]), [4, o()];
6947
6947
  case 2:
6948
6948
  return c = S.sent(), [3, 9];
6949
6949
  case 3:
6950
6950
  return S.sent(), u.current.retryOnError ? (d = (v = u.current.reconnectAttempts) !== null && v !== void 0 ? v : g.DEFAULT_RECONNECT_LIMIT, m < d ? (y = typeof u.current.reconnectInterval == "function" ? u.current.reconnectInterval(m) : u.current.reconnectInterval, [4, b(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
6951
6951
  case 4:
6952
- return S.sent(), [2, (0, e.getUrl)(s, u, m + 1)];
6952
+ return S.sent(), [2, (0, e.getUrl)(o, u, m + 1)];
6953
6953
  case 5:
6954
6954
  return (x = (T = u.current).onReconnectStop) === null || x === void 0 || x.call(T, m), [2, null];
6955
6955
  case 6:
@@ -6961,7 +6961,7 @@ function Co() {
6961
6961
  case 9:
6962
6962
  return [3, 11];
6963
6963
  case 10:
6964
- c = s, S.label = 11;
6964
+ c = o, S.label = 11;
6965
6965
  case 11:
6966
6966
  return _ = u.current.fromSocketIO ? (0, p.parseSocketIOUrl)(c) : c, U = u.current.queryParams ? (0, p.appendQueryParams)(_, u.current.queryParams) : _, [2, U];
6967
6967
  }
@@ -6995,14 +6995,14 @@ function bt() {
6995
6995
  if (xn) return Ie;
6996
6996
  xn = 1;
6997
6997
  var e = Ie && Ie.__assign || function() {
6998
- return e = Object.assign || function(s) {
6998
+ return e = Object.assign || function(o) {
6999
6999
  for (var u, m = 1, c = arguments.length; m < c; m++) {
7000
7000
  u = arguments[m];
7001
- for (var d in u) Object.prototype.hasOwnProperty.call(u, d) && (s[d] = u[d]);
7001
+ for (var d in u) Object.prototype.hasOwnProperty.call(u, d) && (o[d] = u[d]);
7002
7002
  }
7003
- return s;
7003
+ return o;
7004
7004
  }, e.apply(this, arguments);
7005
- }, r = Ie && Ie.__awaiter || function(s, u, m, c) {
7005
+ }, r = Ie && Ie.__awaiter || function(o, u, m, c) {
7006
7006
  function d(y) {
7007
7007
  return y instanceof m ? y : new m(function(_) {
7008
7008
  _(y);
@@ -7026,9 +7026,9 @@ function bt() {
7026
7026
  function T(x) {
7027
7027
  x.done ? y(x.value) : d(x.value).then(U, v);
7028
7028
  }
7029
- T((c = c.apply(s, u || [])).next());
7029
+ T((c = c.apply(o, u || [])).next());
7030
7030
  });
7031
- }, t = Ie && Ie.__generator || function(s, u) {
7031
+ }, t = Ie && Ie.__generator || function(o, u) {
7032
7032
  var m = { label: 0, sent: function() {
7033
7033
  if (y[0] & 1) throw y[1];
7034
7034
  return y[1];
@@ -7078,7 +7078,7 @@ function bt() {
7078
7078
  y[2] && m.ops.pop(), m.trys.pop();
7079
7079
  continue;
7080
7080
  }
7081
- T = u.call(s, m);
7081
+ T = u.call(o, m);
7082
7082
  } catch (x) {
7083
7083
  T = [6, x], d = 0;
7084
7084
  } finally {
@@ -7087,11 +7087,11 @@ function bt() {
7087
7087
  if (T[0] & 5) throw T[1];
7088
7088
  return { value: T[0] ? T[1] : void 0, done: !0 };
7089
7089
  }
7090
- }, n = Ie && Ie.__importDefault || function(s) {
7091
- return s && s.__esModule ? s : { default: s };
7090
+ }, n = Ie && Ie.__importDefault || function(o) {
7091
+ return o && o.__esModule ? o : { default: o };
7092
7092
  };
7093
7093
  Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.useWebSocket = void 0;
7094
- var p = de, g = Il, b = ra(), f = bo(), l = Co(), a = n(vo()), i = Ut(), o = function(s, u, m) {
7094
+ var p = de, g = Il, b = ra(), f = bo(), l = Co(), a = n(vo()), i = Ut(), s = function(o, u, m) {
7095
7095
  u === void 0 && (u = b.DEFAULT_OPTIONS), m === void 0 && (m = !0);
7096
7096
  var c = (0, p.useState)(null), d = c[0], y = c[1], _ = (0, p.useState)({}), U = _[0], v = _[1], T = (0, p.useMemo)(function() {
7097
7097
  if (!u.disableJson && d)
@@ -7104,7 +7104,7 @@ function bt() {
7104
7104
  }, [d, u.disableJson]), x = (0, p.useRef)(null), S = (0, p.useRef)(null), G = (0, p.useRef)(function() {
7105
7105
  }), O = (0, p.useRef)(0), C = (0, p.useRef)(Date.now()), h = (0, p.useRef)([]), N = (0, p.useRef)(null), E = (0, p.useRef)(u);
7106
7106
  E.current = u;
7107
- var P = x.current && U[x.current] !== void 0 ? U[x.current] : s !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, M = u.queryParams ? JSON.stringify(u.queryParams) : null, R = (0, p.useCallback)(function(H, W) {
7107
+ var P = x.current && U[x.current] !== void 0 ? U[x.current] : o !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, M = u.queryParams ? JSON.stringify(u.queryParams) : null, R = (0, p.useCallback)(function(H, W) {
7108
7108
  var L;
7109
7109
  if (W === void 0 && (W = !0), b.isEventSourceSupported && S.current instanceof EventSource) {
7110
7110
  console.warn("Unable to send a message from an eventSource");
@@ -7117,14 +7117,14 @@ function bt() {
7117
7117
  return E.current.share !== !0 || b.isEventSourceSupported && S.current instanceof EventSource ? S.current : (N.current === null && S.current && ((0, i.assertIsWebSocket)(S.current, E.current.skipAssert), N.current = (0, a.default)(S.current, G)), N.current);
7118
7118
  }, []);
7119
7119
  return (0, p.useEffect)(function() {
7120
- if (s !== null && m === !0) {
7120
+ if (o !== null && m === !0) {
7121
7121
  var H, W = !1, L = !0, D = function() {
7122
7122
  return r(void 0, void 0, void 0, function() {
7123
7123
  var F, w, K;
7124
7124
  return t(this, function($) {
7125
7125
  switch ($.label) {
7126
7126
  case 0:
7127
- return F = x, [4, (0, l.getUrl)(s, E)];
7127
+ return F = x, [4, (0, l.getUrl)(o, E)];
7128
7128
  case 1:
7129
7129
  return F.current = $.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
7130
7130
  return v(function(Q) {
@@ -7157,11 +7157,11 @@ function bt() {
7157
7157
  }, D(), function() {
7158
7158
  W = !0, L = !1, N.current && (N.current = null), H?.(), y(null);
7159
7159
  };
7160
- } else (s === null || m === !1) && (O.current = 0, v(function(F) {
7160
+ } else (o === null || m === !1) && (O.current = 0, v(function(F) {
7161
7161
  var w;
7162
7162
  return e(e({}, F), x.current && (w = {}, w[x.current] = b.ReadyState.CLOSED, w));
7163
7163
  }));
7164
- }, [s, m, M, R]), (0, p.useEffect)(function() {
7164
+ }, [o, m, M, R]), (0, p.useEffect)(function() {
7165
7165
  P === b.ReadyState.OPEN && h.current.splice(0).forEach(function(H) {
7166
7166
  R(H);
7167
7167
  });
@@ -7174,7 +7174,7 @@ function bt() {
7174
7174
  getWebSocket: A
7175
7175
  };
7176
7176
  };
7177
- return Ie.useWebSocket = o, Ie;
7177
+ return Ie.useWebSocket = s, Ie;
7178
7178
  }
7179
7179
  var ka = {}, Sn;
7180
7180
  function ho() {
@@ -7184,7 +7184,7 @@ function ho() {
7184
7184
  return e = Object.assign || function(f) {
7185
7185
  for (var l, a = 1, i = arguments.length; a < i; a++) {
7186
7186
  l = arguments[a];
7187
- for (var o in l) Object.prototype.hasOwnProperty.call(l, o) && (f[o] = l[o]);
7187
+ for (var s in l) Object.prototype.hasOwnProperty.call(l, s) && (f[s] = l[s]);
7188
7188
  }
7189
7189
  return f;
7190
7190
  }, e.apply(this, arguments);
@@ -7208,11 +7208,11 @@ function ho() {
7208
7208
  l === void 0 && (l = n.DEFAULT_OPTIONS), a === void 0 && (a = !0);
7209
7209
  var i = (0, r.useMemo)(function() {
7210
7210
  return e(e({}, l), { fromSocketIO: !0 });
7211
- }, []), o = (0, t.useWebSocket)(f, i, a), s = o.sendMessage, u = o.sendJsonMessage, m = o.lastMessage, c = o.readyState, d = o.getWebSocket, y = (0, r.useMemo)(function() {
7211
+ }, []), s = (0, t.useWebSocket)(f, i, a), o = s.sendMessage, u = s.sendJsonMessage, m = s.lastMessage, c = s.readyState, d = s.getWebSocket, y = (0, r.useMemo)(function() {
7212
7212
  return g(m);
7213
7213
  }, [m]);
7214
7214
  return {
7215
- sendMessage: s,
7215
+ sendMessage: o,
7216
7216
  sendJsonMessage: u,
7217
7217
  lastMessage: y,
7218
7218
  lastJsonMessage: y,
@@ -7245,13 +7245,13 @@ function To() {
7245
7245
  Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
7246
7246
  var t = de, n = bt(), p = ra(), g = function(b, f, l) {
7247
7247
  f === void 0 && (f = p.DEFAULT_EVENT_SOURCE_OPTIONS);
7248
- var a = f.withCredentials, i = f.events, o = r(f, ["withCredentials", "events"]);
7248
+ var a = f.withCredentials, i = f.events, s = r(f, ["withCredentials", "events"]);
7249
7249
  l === void 0 && (l = !0);
7250
- var s = e(e({}, o), { eventSourceOptions: {
7250
+ var o = e(e({}, s), { eventSourceOptions: {
7251
7251
  withCredentials: a
7252
7252
  } }), u = (0, t.useRef)(p.EMPTY_EVENT_HANDLERS);
7253
7253
  i && (u.current = i);
7254
- var m = (0, n.useWebSocket)(b, s, l), c = m.lastMessage, d = m.readyState, y = m.getWebSocket;
7254
+ var m = (0, n.useWebSocket)(b, o, l), c = m.lastMessage, d = m.readyState, y = m.getWebSocket;
7255
7255
  return (0, t.useEffect)(function() {
7256
7256
  c?.type && Object.entries(u.current).forEach(function(_) {
7257
7257
  var U = _[0], v = _[1];
@@ -7299,10 +7299,10 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7299
7299
  isInGameBox: n = !1,
7300
7300
  currentGamePlatform: p = ""
7301
7301
  }) => {
7302
- const { store: g, lng: b } = re(), { isReady: f, setAsReady: l, isPending: a, setAsPending: i } = Vn(), o = je(b), { mutateAsync: s } = Oo();
7302
+ const { store: g, lng: b } = re(), { isReady: f, setAsReady: l, isPending: a, setAsPending: i } = Vn(), s = je(b), { mutateAsync: o } = Oo();
7303
7303
  return !e || !r || !t ? { handleTransferInGame: () => {
7304
7304
  } } : { handleTransferInGame: async () => {
7305
- console.log("執行遊戲內轉帳"), n && await s({
7305
+ console.log("執行遊戲內轉帳"), n && await o({
7306
7306
  platform: p
7307
7307
  }).then((m) => {
7308
7308
  const { code: c, request_id: d } = m;
@@ -7311,7 +7311,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7311
7311
  l(), g.dispatch({
7312
7312
  type: "ui/openNotificationModal",
7313
7313
  payload: {
7314
- title: Qa[o] || "System Prompt",
7314
+ title: Qa[s] || "System Prompt",
7315
7315
  content: "點數轉入成功,請確認遊戲餘額",
7316
7316
  type: "success"
7317
7317
  }
@@ -7324,7 +7324,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7324
7324
  localStorage.setItem("transfer_in_game_request_id", d), i(), g.dispatch({
7325
7325
  type: "ui/openNotificationModal",
7326
7326
  payload: {
7327
- title: Qa[o] || "System Prompt",
7327
+ title: Qa[s] || "System Prompt",
7328
7328
  content: "您的上一筆訂單未完成,請耐心等候,我們正在為您處理",
7329
7329
  type: "warning"
7330
7330
  }
@@ -7417,7 +7417,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7417
7417
  retry: !1,
7418
7418
  ...e
7419
7419
  });
7420
- }, Tm = ({ options: e } = {}) => {
7420
+ }, km = ({ options: e } = {}) => {
7421
7421
  const { currency: r } = re(), { pointTransferApi: t } = ce();
7422
7422
  return ue({
7423
7423
  mutationKey: ["pointTransfer"],
@@ -7427,7 +7427,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7427
7427
  }),
7428
7428
  ...e
7429
7429
  });
7430
- }, km = ({ options: e } = {}) => {
7430
+ }, xm = ({ options: e } = {}) => {
7431
7431
  const { currency: r } = re(), { checkUserWagerApi: t } = ce();
7432
7432
  return ne({
7433
7433
  queryKey: ["checkUserWager"],
@@ -7440,7 +7440,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7440
7440
  },
7441
7441
  ...e
7442
7442
  });
7443
- }, xm = ({ options: e } = {}) => {
7443
+ }, Sm = ({ options: e } = {}) => {
7444
7444
  const r = Hn(), { abandonPointsApi: t } = ce();
7445
7445
  return ue({
7446
7446
  mutationKey: ["abandonPoint"],
@@ -7473,14 +7473,14 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7473
7473
  queryFn: async () => t(r),
7474
7474
  ...e
7475
7475
  });
7476
- }, Sm = ({ options: e } = {}) => {
7476
+ }, Dm = ({ options: e } = {}) => {
7477
7477
  const { currency: r } = re(), { memberTransferApi: t } = ce();
7478
7478
  return ue({
7479
7479
  mutationKey: ["memberTransfer"],
7480
7480
  mutationFn: async (n) => t({ ...n, currency: r }),
7481
7481
  ...e
7482
7482
  });
7483
- }, Dm = ({
7483
+ }, Em = ({
7484
7484
  options: e = {
7485
7485
  login: {},
7486
7486
  logout: {},
@@ -7529,7 +7529,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7529
7529
  UPDATE_ONLY_ONE_MEMBER: "update_only_one_member",
7530
7530
  GAME_MAINTAIN: "game_maintain",
7531
7531
  LINE_LOGIN: "line_login"
7532
- }, Wo = 3e4, Em = ({
7532
+ }, Wo = 3e4, Nm = ({
7533
7533
  socketUrl: e,
7534
7534
  socketHandlers: r = {},
7535
7535
  options: t = {},
@@ -7542,7 +7542,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7542
7542
  },
7543
7543
  enableNotification: g = !1
7544
7544
  }) => {
7545
- const { store: b, lng: f } = re(), l = Hn(), { isReady: a, setAsReady: i, isPending: o, setAsPending: s } = Vn(), u = je(f), m = ee(!1), c = ee(r), d = ge(n, "uid", null);
7545
+ const { store: b, lng: f } = re(), l = Hn(), { isReady: a, setAsReady: i, isPending: s, setAsPending: o } = Vn(), u = je(f), m = ee(!1), c = ee(r), d = ge(n, "uid", null);
7546
7546
  ge(n, "testFunction", 0);
7547
7547
  const y = new URLSearchParams(window.location.search), _ = ge(
7548
7548
  p,
@@ -7684,7 +7684,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7684
7684
  ), _e = localStorage.getItem(
7685
7685
  "transfer_in_game_request_id"
7686
7686
  );
7687
- if (o) {
7687
+ if (s) {
7688
7688
  localStorage.setItem("transfer_in_game_request_id", pe);
7689
7689
  return;
7690
7690
  } else if (_e && _e === pe) {
@@ -7738,7 +7738,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7738
7738
  l,
7739
7739
  u,
7740
7740
  h,
7741
- o,
7741
+ s,
7742
7742
  T,
7743
7743
  _,
7744
7744
  i
@@ -7747,13 +7747,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7747
7747
  const E = localStorage.getItem(
7748
7748
  "transfer_in_game_request_id"
7749
7749
  );
7750
- E && d && o && S({
7750
+ E && d && s && S({
7751
7751
  type: He.CHECK_REQUEST,
7752
7752
  request_id: E,
7753
7753
  member_info_uid: d
7754
7754
  });
7755
7755
  }
7756
- }, [d, o, S, _]), {
7756
+ }, [d, s, S, _]), {
7757
7757
  sendMessage: x,
7758
7758
  sendJsonMessage: S,
7759
7759
  readyState: O
@@ -7802,11 +7802,11 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7802
7802
  queryFn: () => g({ paramsData: e }),
7803
7803
  select: (l) => {
7804
7804
  const { data: a } = l;
7805
- return We(a, (o) => {
7806
- const { events_attributes: s } = o, u = $e(
7807
- s,
7805
+ return We(a, (s) => {
7806
+ const { events_attributes: o } = s, u = $e(
7807
+ o,
7808
7808
  (T) => T.attribute_currency === b
7809
- ) || s[0], m = ge(u, "rewards", {}), c = ge(o, "carousels.[0]", {}), d = $e(c.carousels_lang, (T) => T.lang === f) || c?.carousels_lang?.[0], y = {
7809
+ ) || o[0], m = ge(u, "rewards", {}), c = ge(s, "carousels.[0]", {}), d = $e(c.carousels_lang, (T) => T.lang === f) || c?.carousels_lang?.[0], y = {
7810
7810
  ...c,
7811
7811
  currentLngCarousel: {
7812
7812
  ...d,
@@ -7816,51 +7816,51 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7816
7816
  carouselCurrentLanguageS3MBImageUrl: `${Qe}/carousels/${d?.image_mobile}`
7817
7817
  }
7818
7818
  }, _ = {
7819
- eventUid: o.uid,
7820
- enableCurrencyLimit: o.enable_currency_limit,
7819
+ eventUid: s.uid,
7820
+ enableCurrencyLimit: s.enable_currency_limit,
7821
7821
  //是否啟用幣別限制
7822
- endTime: o.end_time,
7822
+ endTime: s.end_time,
7823
7823
  //結束時間
7824
- startTime: o.start_time,
7824
+ startTime: s.start_time,
7825
7825
  //開始時間
7826
- eventCode: o.event_code,
7826
+ eventCode: s.event_code,
7827
7827
  //活動代碼
7828
- eventShowType: o.event_show_type,
7828
+ eventShowType: s.event_show_type,
7829
7829
  //活動顯示類型
7830
- isActive: o.is_active === 1,
7830
+ isActive: s.is_active === 1,
7831
7831
  //是否啟用
7832
- isShowCarousel: o.is_show_carousel === 1,
7832
+ isShowCarousel: s.is_show_carousel === 1,
7833
7833
  //是否顯示輪播
7834
- isShowPopup: o.is_show_pop_up === 1,
7834
+ isShowPopup: s.is_show_pop_up === 1,
7835
7835
  //是否顯示彈跳視窗
7836
- lastSettleDate: o.last_settle_date,
7836
+ lastSettleDate: s.last_settle_date,
7837
7837
  //上次結算日期
7838
- nextSettleDate: o.next_settle_date,
7838
+ nextSettleDate: s.next_settle_date,
7839
7839
  //下次結算日期
7840
- participatingPlatforms: o.participating_platforms,
7840
+ participatingPlatforms: s.participating_platforms,
7841
7841
  //參與平台
7842
- resetCycle: o.reset_cycle,
7842
+ resetCycle: s.reset_cycle,
7843
7843
  //重置週期
7844
- settlementHour: o.settlement_hour,
7844
+ settlementHour: s.settlement_hour,
7845
7845
  //結算小時
7846
- settlementInterval: o.settlement_interval,
7846
+ settlementInterval: s.settlement_interval,
7847
7847
  //結算間隔
7848
- settlementIntervalCount: o.settlement_interval_count,
7848
+ settlementIntervalCount: s.settlement_interval_count,
7849
7849
  //結算間隔次數
7850
- singleAmountTarget: o.single_amount_target,
7850
+ singleAmountTarget: s.single_amount_target,
7851
7851
  //單次目標金額
7852
- subType: o.subtype,
7852
+ subType: s.subtype,
7853
7853
  //活動子類型
7854
- type: o.type,
7854
+ type: s.type,
7855
7855
  //活動類型
7856
- valueBasis: o.value_basis,
7856
+ valueBasis: s.value_basis,
7857
7857
  //數值基準
7858
- vipGroup: o.vip_group,
7858
+ vipGroup: s.vip_group,
7859
7859
  // VIP 群組
7860
- tagsGroup: o.tags_group,
7860
+ tagsGroup: s.tags_group,
7861
7861
  //標籤群組
7862
7862
  eventBg: Jn(),
7863
- eventIcon: Zn(o.type)
7863
+ eventIcon: Zn(s.type)
7864
7864
  }, U = {
7865
7865
  isActive: u.attribute_is_active === 1,
7866
7866
  //是否啟用
@@ -7908,7 +7908,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7908
7908
  },
7909
7909
  ...r
7910
7910
  });
7911
- }, Nm = ({ options: e } = {}) => {
7911
+ }, Lm = ({ options: e } = {}) => {
7912
7912
  const { redeemEventRewardApi: r } = Ji();
7913
7913
  return ue({
7914
7914
  mutationKey: ["redeemEventReward"],
@@ -7930,7 +7930,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7930
7930
  select: (n) => n.data.event_status,
7931
7931
  ...e
7932
7932
  });
7933
- }, Lm = ({
7933
+ }, Gm = ({
7934
7934
  options: e = {
7935
7935
  eventList: {},
7936
7936
  checkEventProgress: {},
@@ -7961,7 +7961,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7961
7961
  commonInboxApi: n,
7962
7962
  commonReadInboxApi: p
7963
7963
  };
7964
- }, Gm = () => {
7964
+ }, Mm = () => {
7965
7965
  const { lng: e, data2URL: r } = re(), { commonCarouselApi: t } = Ki(), n = je(e);
7966
7966
  return ne({
7967
7967
  queryKey: ["getCarouselList"],
@@ -7982,7 +7982,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7982
7982
  };
7983
7983
  })
7984
7984
  });
7985
- }, Mm = () => {
7985
+ }, Rm = () => {
7986
7986
  const { lng: e } = re(), { commonMarqueeApi: r } = Ki(), t = je(e);
7987
7987
  return ne({
7988
7988
  queryKey: ["getMarqueeList"],
@@ -7995,7 +7995,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7995
7995
  return We(p, (b) => b[t] || b["en-US"]);
7996
7996
  }
7997
7997
  });
7998
- }, Rm = ({ options: e } = {}) => {
7998
+ }, Pm = ({ options: e } = {}) => {
7999
7999
  const { rankingGameApi: r } = ce();
8000
8000
  return ne({
8001
8001
  queryKey: ["rankingGame"],
@@ -8010,8 +8010,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8010
8010
  game_name_en: l,
8011
8011
  game_platform_uid: a,
8012
8012
  memId: i,
8013
- platform: o,
8014
- popularity_ranking: s,
8013
+ platform: s,
8014
+ popularity_ranking: o,
8015
8015
  profit: u
8016
8016
  } = g;
8017
8017
  return {
@@ -8025,9 +8025,9 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8025
8025
  //遊戲平台UID
8026
8026
  memId: i,
8027
8027
  //會員ID
8028
- platform: o,
8028
+ platform: s,
8029
8029
  //平台
8030
- popularityRanking: s,
8030
+ popularityRanking: o,
8031
8031
  //人氣排名
8032
8032
  profit: u
8033
8033
  //winloss
@@ -8049,7 +8049,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8049
8049
  ...a,
8050
8050
  notificationLng: $e(
8051
8051
  i,
8052
- (o) => o.language === g
8052
+ (s) => s.language === g
8053
8053
  ) || i[0]
8054
8054
  };
8055
8055
  });
@@ -8064,7 +8064,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8064
8064
  mutationFn: async (t) => await r(t),
8065
8065
  ...e
8066
8066
  });
8067
- }, Pm = ({
8067
+ }, Fm = ({
8068
8068
  options: e = {
8069
8069
  inboxList: {},
8070
8070
  readInbox: {}
@@ -8131,7 +8131,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8131
8131
  value: "other",
8132
8132
  ...e.other
8133
8133
  }
8134
- ], Fm = ({ options: e, formData: r } = {}) => {
8134
+ ], wm = ({ options: e, formData: r } = {}) => {
8135
8135
  const { lng: t } = re(), { newsListApi: n } = nl(), p = je(t);
8136
8136
  return ne({
8137
8137
  queryKey: ["newsList"],
@@ -8157,7 +8157,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8157
8157
  },
8158
8158
  ...e
8159
8159
  });
8160
- }, wm = ({ options: e, formData: r } = {}) => {
8160
+ }, Am = ({ options: e, formData: r } = {}) => {
8161
8161
  const { lng: t } = re(), { newsListApi: n } = nl(), p = je(t);
8162
8162
  return ne({
8163
8163
  queryKey: ["newsList"],
@@ -8178,13 +8178,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8178
8178
  });
8179
8179
  }, Ye = () => {
8180
8180
  const { client: e } = re(), r = I(async () => await e.get("/payment/list"), [e]), t = I(
8181
- async ({ paramsData: s }) => await e.get("/thirdPartyPayment/list", {
8182
- params: { ...s }
8181
+ async ({ paramsData: o }) => await e.get("/thirdPartyPayment/list", {
8182
+ params: { ...o }
8183
8183
  }),
8184
8184
  [e]
8185
8185
  ), n = I(
8186
- async (s) => {
8187
- const { deposit_amount: u, method_id: m, currency_code: c, provider_uid: d } = s;
8186
+ async (o) => {
8187
+ const { deposit_amount: u, method_id: m, currency_code: c, provider_uid: d } = o;
8188
8188
  return await e.post("/thirdPartyPayment/deposit", {
8189
8189
  deposit: {
8190
8190
  deposit_amount: u,
@@ -8196,8 +8196,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8196
8196
  },
8197
8197
  [e]
8198
8198
  ), p = I(
8199
- async (s) => {
8200
- const { bank_uid: u, amount: m, bank_number_last5: c, postscript: d } = s;
8199
+ async (o) => {
8200
+ const { bank_uid: u, amount: m, bank_number_last5: c, postscript: d } = o;
8201
8201
  return await e.post("/vip/deposit", {
8202
8202
  bank_uid: u,
8203
8203
  amount: m,
@@ -8207,13 +8207,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8207
8207
  },
8208
8208
  [e]
8209
8209
  ), g = I(
8210
- async (s) => {
8210
+ async (o) => {
8211
8211
  const {
8212
8212
  withdrawal_amount: u,
8213
8213
  bank_account_number: m,
8214
8214
  currency_code: c,
8215
8215
  withdrawal_code: d
8216
- } = s;
8216
+ } = o;
8217
8217
  return await e.post("/thirdPartyPayment/withdraw", {
8218
8218
  withdraw: {
8219
8219
  withdrawal_amount: u,
@@ -8226,8 +8226,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8226
8226
  },
8227
8227
  [e]
8228
8228
  ), b = I(
8229
- async ({ paramsData: s } = {}) => {
8230
- const { str_date: u, end_date: m, limit: c = 25, current_page: d } = s || {}, y = Fe().format("HH:mm:ss"), _ = Fe().subtract(24, "hour").format("HH:mm:ss");
8229
+ async ({ paramsData: o } = {}) => {
8230
+ const { str_date: u, end_date: m, limit: c = 25, current_page: d } = o || {}, y = Fe().format("HH:mm:ss"), _ = Fe().subtract(24, "hour").format("HH:mm:ss");
8231
8231
  return await e.get("/report/deposit", {
8232
8232
  params: {
8233
8233
  str_date: `${Fe(u).format("YYYY-MM-DD")} ${y}`,
@@ -8239,8 +8239,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8239
8239
  },
8240
8240
  [e]
8241
8241
  ), f = I(
8242
- async ({ paramsData: s }) => {
8243
- const { str_date: u, end_date: m, limit: c = 25, current_page: d } = s || {}, y = Fe().format("HH:mm:ss"), _ = Fe().subtract(24, "hour").format("HH:mm:ss");
8242
+ async ({ paramsData: o }) => {
8243
+ const { str_date: u, end_date: m, limit: c = 25, current_page: d } = o || {}, y = Fe().format("HH:mm:ss"), _ = Fe().subtract(24, "hour").format("HH:mm:ss");
8244
8244
  return await e.get("report/eventsreward", {
8245
8245
  params: {
8246
8246
  str_date: `${Fe(u).format("YYYY-MM-DD")} ${y}`,
@@ -8252,8 +8252,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8252
8252
  },
8253
8253
  [e]
8254
8254
  ), l = I(
8255
- async ({ paramsData: s } = {}) => {
8256
- const { str_date: u, end_date: m, limit: c = 25, current_page: d } = s || {};
8255
+ async ({ paramsData: o } = {}) => {
8256
+ const { str_date: u, end_date: m, limit: c = 25, current_page: d } = o || {};
8257
8257
  return await e.get("/report/withdraw", {
8258
8258
  params: {
8259
8259
  str_date: `${Fe(u).format("YYYY-MM-DD")} 12:00:00`,
@@ -8265,23 +8265,23 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8265
8265
  },
8266
8266
  [e]
8267
8267
  ), a = I(
8268
- async (s) => {
8269
- const { redeem_code: u } = s;
8268
+ async (o) => {
8269
+ const { redeem_code: u } = o;
8270
8270
  return await e.post(`/sn/redeem/${u}`);
8271
8271
  },
8272
8272
  [e]
8273
8273
  ), i = I(
8274
- async (s) => {
8275
- const { type: u, code: m } = s;
8274
+ async (o) => {
8275
+ const { type: u, code: m } = o;
8276
8276
  return await e.post("/member/invoice", {
8277
8277
  type: u,
8278
8278
  code: m
8279
8279
  });
8280
8280
  },
8281
8281
  [e]
8282
- ), o = I(
8283
- async (s) => {
8284
- const { type: u, code: m, uid: c } = s;
8282
+ ), s = I(
8283
+ async (o) => {
8284
+ const { type: u, code: m, uid: c } = o;
8285
8285
  return await e.put(`/member/invoice/${c}`, {
8286
8286
  type: u,
8287
8287
  code: m
@@ -8300,7 +8300,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8300
8300
  withdrawTransactionApi: l,
8301
8301
  redeemCodeDepositApi: a,
8302
8302
  invoiceApi: i,
8303
- updateInvoiceApi: o
8303
+ updateInvoiceApi: s
8304
8304
  };
8305
8305
  }, qo = ({ options: e } = {}) => {
8306
8306
  const { depositApiV1: r } = Ye();
@@ -8376,28 +8376,28 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8376
8376
  queryFn: () => t({ paramsData: e }),
8377
8377
  ...r
8378
8378
  });
8379
- }, Am = ({ options: e } = {}) => {
8379
+ }, Om = ({ options: e } = {}) => {
8380
8380
  const { redeemCodeDepositApi: r } = Ye();
8381
8381
  return ue({
8382
8382
  mutationKey: ["redeemCodeDeposit"],
8383
8383
  mutationFn: async (t) => r(t),
8384
8384
  ...e
8385
8385
  });
8386
- }, Om = ({ options: e } = {}) => {
8386
+ }, Bm = ({ options: e } = {}) => {
8387
8387
  const { invoiceApi: r } = Ye();
8388
8388
  return ue({
8389
8389
  mutationKey: ["invoiceAction"],
8390
8390
  mutationFn: async (t) => r(t),
8391
8391
  ...e
8392
8392
  });
8393
- }, Bm = ({ options: e } = {}) => {
8393
+ }, Hm = ({ options: e } = {}) => {
8394
8394
  const { updateInvoiceApi: r } = Ye();
8395
8395
  return ue({
8396
8396
  mutationKey: ["updateInvoiceAction"],
8397
8397
  mutationFn: async (t) => r(t),
8398
8398
  ...e
8399
8399
  });
8400
- }, Hm = ({
8400
+ }, Wm = ({
8401
8401
  depositV1: e = {},
8402
8402
  depositV2: r = {},
8403
8403
  depositTransaction: t = {},
@@ -8407,15 +8407,15 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8407
8407
  eventTransaction: b = {},
8408
8408
  withdrawTransaction: f = {}
8409
8409
  } = {}) => {
8410
- const l = qo(e), a = $o(r), i = Yo(t), o = Qo(n), s = jo(p), u = es(g), m = Xo(b), c = as(
8410
+ const l = qo(e), a = $o(r), i = Yo(t), s = Qo(n), o = jo(p), u = es(g), m = Xo(b), c = as(
8411
8411
  f
8412
8412
  );
8413
8413
  return {
8414
8414
  depositV1: l,
8415
8415
  depositV2: a,
8416
8416
  depositTransaction: i,
8417
- depositAction: o,
8418
- withdrawAction: s,
8417
+ depositAction: s,
8418
+ withdrawAction: o,
8419
8419
  bankDepositAction: u,
8420
8420
  eventTransaction: m,
8421
8421
  withdrawTransaction: c
@@ -8518,7 +8518,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8518
8518
  extendString: _l,
8519
8519
  extendUint8Array: yl,
8520
8520
  extendBuiltins: ps
8521
- }, Wm = (e, r) => {
8521
+ }, zm = (e, r) => {
8522
8522
  const { playGameApi: t } = ct();
8523
8523
  return ne({
8524
8524
  queryKey: ["playGame"],
@@ -8532,8 +8532,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8532
8532
  }), {
8533
8533
  game_currency: a,
8534
8534
  lang: i,
8535
- not_support_iframe: o,
8536
- portrait: s,
8535
+ not_support_iframe: s,
8536
+ portrait: o,
8537
8537
  url: u,
8538
8538
  is_html_code: m,
8539
8539
  message: c
@@ -8541,8 +8541,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8541
8541
  return {
8542
8542
  gameCurrency: a,
8543
8543
  lang: i,
8544
- supportIframe: !o,
8545
- supportPortrait: s,
8544
+ supportIframe: !s,
8545
+ supportPortrait: o,
8546
8546
  isHtmlCode: m,
8547
8547
  gameUrl: u,
8548
8548
  decodeGameUrl: gs.decode(u),
@@ -8573,7 +8573,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8573
8573
  mutationFn: async () => r(),
8574
8574
  ...e
8575
8575
  });
8576
- }, zm = ({
8576
+ }, Im = ({
8577
8577
  options: e = {
8578
8578
  currentRebate: {},
8579
8579
  receiveRebate: {}
@@ -8620,16 +8620,16 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8620
8620
  expiration_days: l,
8621
8621
  name: a,
8622
8622
  position: i,
8623
- type: o,
8624
- uid: s
8623
+ type: s,
8624
+ uid: o
8625
8625
  } = f;
8626
8626
  return {
8627
8627
  ...p,
8628
8628
  rewardExpirationDays: l,
8629
8629
  rewardName: a,
8630
8630
  rewardPosition: i,
8631
- rewardType: o,
8632
- rewardUid: s,
8631
+ rewardType: s,
8632
+ rewardUid: o,
8633
8633
  rewardWagering: g,
8634
8634
  rewardAmount: b,
8635
8635
  rewardBg: Jn(),
@@ -8671,7 +8671,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8671
8671
  queryFn: r,
8672
8672
  ...e
8673
8673
  });
8674
- }, Im = ({
8674
+ }, Vm = ({
8675
8675
  options: e = {
8676
8676
  rewardsList: {},
8677
8677
  redeemReward: {},
@@ -8702,7 +8702,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8702
8702
  vipListApi: r,
8703
8703
  vipInfoApi: t
8704
8704
  };
8705
- }, Vm = ({ options: e } = {}) => {
8705
+ }, Zm = ({ options: e } = {}) => {
8706
8706
  const { store: r } = re(), t = r?.getState()?.isMemberInfo || r?.getState()?.member?.member || {}, { vipInfoApi: n } = bl();
8707
8707
  return ne({
8708
8708
  queryKey: ["vipInfo"],
@@ -8732,12 +8732,12 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8732
8732
  vip_criteria: l,
8733
8733
  vip_payment_tags: a,
8734
8734
  vip_withdrawal_rate: i,
8735
- rebate_range: o,
8736
- vip_game_rebate: s
8737
- } = f, u = $e(l, { currency_code: t }) || {}, m = $e(a, { currency_code: t }) || {}, c = i, d = We(o, (U) => ({
8735
+ rebate_range: s,
8736
+ vip_game_rebate: o
8737
+ } = f, u = $e(l, { currency_code: t }) || {}, m = $e(a, { currency_code: t }) || {}, c = i, d = We(s, (U) => ({
8738
8738
  ...U,
8739
8739
  rebateRange: JSON.parse(U.rebate_range)
8740
- })), y = ge(s, "[0]", {}), _ = {
8740
+ })), y = ge(o, "[0]", {}), _ = {
8741
8741
  ...y,
8742
8742
  platformRebate: JSON.parse(y.rebate || "{}")
8743
8743
  };
@@ -8754,7 +8754,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8754
8754
  },
8755
8755
  ...e
8756
8756
  });
8757
- }, Zm = ({ options: e } = {
8757
+ }, Jm = ({ options: e } = {
8758
8758
  vipList: {}
8759
8759
  }) => ({
8760
8760
  vipList: Cs({ options: e.vipList })
@@ -8787,8 +8787,8 @@ var vs = Object.create, Cl = Object.defineProperty, hs = Object.getOwnPropertyDe
8787
8787
  for (; c.has(y); ) y = Math.floor(Math.random() * g);
8788
8788
  return u(c, y);
8789
8789
  };
8790
- }, a = /* @__PURE__ */ new WeakMap(), i = p(a), o = l(i, a), s = n(o);
8791
- t.addUniqueNumber = s, t.generateUniqueNumber = o;
8790
+ }, a = /* @__PURE__ */ new WeakMap(), i = p(a), s = l(i, a), o = n(s);
8791
+ t.addUniqueNumber = o, t.generateUniqueNumber = s;
8792
8792
  });
8793
8793
  });
8794
8794
  Es(Ns());
@@ -9057,8 +9057,8 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9057
9057
  }, onPrompt: l = () => {
9058
9058
  }, onIdle: a = () => {
9059
9059
  }, onActive: i = () => {
9060
- }, onAction: o = () => {
9061
- }, onMessage: s = () => {
9060
+ }, onAction: s = () => {
9061
+ }, onMessage: o = () => {
9062
9062
  }, debounce: u = 0, throttle: m = 0, eventsThrottle: c = 200, startOnMount: d = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: v = "idle-timer", syncTimers: T = 0, leaderElection: x = !1, disabled: S = !1 } = {}) {
9063
9063
  let G = ee(Te()), O = ee(Te()), C = ee(null), h = ee(null), N = ee(0), E = ee(0), P = ee(0), M = ee(0), R = ee(!1), B = ee(!1), A = ee(!1), H = ee(!0), W = ee(!1), L = ee(null), D = ee(null), F = ee(e), w = ee(0);
9064
9064
  me(() => {
@@ -9096,14 +9096,14 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9096
9096
  me(() => {
9097
9097
  oe.current = i;
9098
9098
  }, [i]);
9099
- let fe = ee(o);
9100
- me(() => {
9101
- fe.current = o;
9102
- }, [o]);
9103
- let ke = ee(s);
9099
+ let fe = ee(s);
9104
9100
  me(() => {
9105
- ke.current = s;
9101
+ fe.current = s;
9106
9102
  }, [s]);
9103
+ let ke = ee(o);
9104
+ me(() => {
9105
+ ke.current = o;
9106
+ }, [o]);
9107
9107
  let _e = Oa(() => {
9108
9108
  let V = (De, ta) => fe.current(De, ta);
9109
9109
  return u > 0 ? Os(V, u) : m > 0 ? it(V, m) : V;
@@ -9160,7 +9160,7 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9160
9160
  pa && Q.current && (W.current || V) && (J.current.forEach((De) => {
9161
9161
  Q.current.removeEventListener(De, ia.current, { capture: !0 });
9162
9162
  }), W.current = !1);
9163
- }, Je = I((V) => X.current ? !1 : (Ce(), xe(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !V && D.current.start(), Ge(), !0), [L, R, X, F, D]), oa = I((V) => X.current ? !1 : (Ce(), xe(), O.current = Te(), N.current += Te() - C.current, E.current += Te() - C.current, N.current = 0, R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !V && D.current.reset(), y || Ge(), !0), [L, R, F, y, X, D]), ga = I((V) => X.current ? !1 : (Ce(), xe(), (R.current || B.current) && ve(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, O.current = Te(), D.current && !V && D.current.activate(), Ge(), !0), [L, R, B, X, F, D]), ze = I((V = !1) => X.current || A.current ? !1 : (M.current = Ua(), A.current = !0, Re(), Ce(), D.current && !V && D.current.pause(), !0), [L, X, D]), Ke = I((V = !1) => X.current || !A.current ? !1 : (A.current = !1, B.current || xe(), R.current || Ge(M.current), P.current && (P.current = Te()), D.current && !V && D.current.resume(), !0), [L, F, X, M, D]), Wa = I((V, De) => (D.current ? (De && ke.current(V, Se), D.current.message(V)) : De && ke.current(V, Se), !0), [s]), Ea = I(() => R.current, [R]), Na = I(() => B.current, [B]), za = I(() => D.current ? D.current.isLeader : null, [D]), Ia = I(() => D.current ? D.current.isLastActive : null, [D]), da = I(() => D.current ? D.current.token : null, [D]), Ua = I(() => {
9163
+ }, Je = I((V) => X.current ? !1 : (Ce(), xe(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !V && D.current.start(), Ge(), !0), [L, R, X, F, D]), oa = I((V) => X.current ? !1 : (Ce(), xe(), O.current = Te(), N.current += Te() - C.current, E.current += Te() - C.current, N.current = 0, R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !V && D.current.reset(), y || Ge(), !0), [L, R, F, y, X, D]), ga = I((V) => X.current ? !1 : (Ce(), xe(), (R.current || B.current) && ve(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, O.current = Te(), D.current && !V && D.current.activate(), Ge(), !0), [L, R, B, X, F, D]), ze = I((V = !1) => X.current || A.current ? !1 : (M.current = Ua(), A.current = !0, Re(), Ce(), D.current && !V && D.current.pause(), !0), [L, X, D]), Ke = I((V = !1) => X.current || !A.current ? !1 : (A.current = !1, B.current || xe(), R.current || Ge(M.current), P.current && (P.current = Te()), D.current && !V && D.current.resume(), !0), [L, F, X, M, D]), Wa = I((V, De) => (D.current ? (De && ke.current(V, Se), D.current.message(V)) : De && ke.current(V, Se), !0), [o]), Ea = I(() => R.current, [R]), Na = I(() => B.current, [B]), za = I(() => D.current ? D.current.isLeader : null, [D]), Ia = I(() => D.current ? D.current.isLastActive : null, [D]), da = I(() => D.current ? D.current.token : null, [D]), Ua = I(() => {
9164
9164
  if (A.current) return M.current;
9165
9165
  let V = M.current ? M.current : w.current + F.current, De = h.current ? Te() - h.current : 0, ta = Math.floor(V - De);
9166
9166
  return ta < 0 ? 0 : Math.abs(ta);
@@ -9210,15 +9210,15 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9210
9210
  }, setOnActive: (V) => {
9211
9211
  i = V, oe.current = V;
9212
9212
  }, setOnAction: (V) => {
9213
- o = V, fe.current = V;
9213
+ s = V, fe.current = V;
9214
9214
  }, setOnMessage: (V) => {
9215
- s = V, ke.current = V;
9215
+ o = V, ke.current = V;
9216
9216
  } };
9217
9217
  return Se;
9218
9218
  }
9219
9219
  var Hs = zi(null);
9220
9220
  Hs.Consumer;
9221
- const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9221
+ const Km = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9222
9222
  onIdle: e,
9223
9223
  onActive: r,
9224
9224
  onAction: t,
@@ -9243,7 +9243,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9243
9243
  default:
9244
9244
  return "En";
9245
9245
  }
9246
- }, Fn = "game-icon-ds88", Km = ({ gameData: e = {} } = {}) => {
9246
+ }, Fn = "game-icon-ds88", qm = ({ gameData: e = {} } = {}) => {
9247
9247
  const { lng: r } = re(), t = Pn(r), {
9248
9248
  gameCode: n,
9249
9249
  // 遊戲代碼
@@ -9262,9 +9262,9 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9262
9262
  // 遊戲平台
9263
9263
  game_subtype: i,
9264
9264
  // 遊戲子類型
9265
- game_type: o,
9265
+ game_type: s,
9266
9266
  // 遊戲類型
9267
- game_tags: s,
9267
+ game_tags: o,
9268
9268
  // 遊戲標籤
9269
9269
  isUnderMaintenance: u,
9270
9270
  // 是否維護中
@@ -9292,8 +9292,8 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9292
9292
  enterLobbyMode: l,
9293
9293
  gamePlatform: a,
9294
9294
  gameSubType: i,
9295
- gameType: o,
9296
- gameTags: s,
9295
+ gameType: s,
9296
+ gameTags: o,
9297
9297
  isUnderMaintenance: u,
9298
9298
  supportVertical: m,
9299
9299
  supportHorizontal: c,
@@ -9317,7 +9317,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9317
9317
  "HACK",
9318
9318
  "NAGA",
9319
9319
  "RSG"
9320
- ], e) && r ? `${e}_dark` : e, qm = ({ platformData: e, darkMode: r } = {}) => {
9320
+ ], e) && r ? `${e}_dark` : e, $m = ({ platformData: e, darkMode: r } = {}) => {
9321
9321
  const {
9322
9322
  SubPlatformEnum: t,
9323
9323
  // 子平台枚舉
@@ -9337,9 +9337,9 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9337
9337
  // 平台模式
9338
9338
  temp_maintenance_start_time: i,
9339
9339
  // 臨時維護開始時間
9340
- temp_maintenance_end_time: o
9340
+ temp_maintenance_end_time: s
9341
9341
  // 臨時維護結束時間
9342
- } = e || {}, s = `${Qe}/${Kn}/${Ws(n, r)}.png`;
9342
+ } = e || {}, o = `${Qe}/${Kn}/${Ws(n, r)}.png`;
9343
9343
  return {
9344
9344
  subPlatformEnum: t,
9345
9345
  platformEnum: n,
@@ -9350,8 +9350,8 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9350
9350
  platformUid: l,
9351
9351
  platformMode: a,
9352
9352
  tempMaintenanceStartTime: i,
9353
- tempMaintenanceEndTime: o,
9354
- platformImageUrl: s
9353
+ tempMaintenanceEndTime: s,
9354
+ platformImageUrl: o
9355
9355
  };
9356
9356
  }, zs = (e = {}) => !Ii(e) || Ee(e) ? [] : Vi(e), wn = (e = []) => !la(e) || Ee(e) ? [] : We(e, "platform"), Is = (e = []) => !la(e) || Ee(e) ? [] : We(e, "gameTypeName"), Vs = (e = []) => !la(e) || Ee(e) ? [] : We(e, "game_subtype"), Zs = (e = {}) => !Ii(e) || Ee(e) ? [] : Vi(e), Js = (e = [], r = []) => !la(e) || Ee(e) ? {} : !la(r) || Ee(r) ? {} : e.reduce((t, n) => {
9357
9357
  const p = r.map((g) => g.game_subtype);
@@ -9373,7 +9373,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9373
9373
  allPlatforms: p
9374
9374
  });
9375
9375
  return Ee(f) || (g[b] = f), g;
9376
- }, {}), $m = ({
9376
+ }, {}), Qm = ({
9377
9377
  types: e = [],
9378
9378
  platforms: r = [],
9379
9379
  allGameType: t = [],
@@ -9382,13 +9382,13 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9382
9382
  } = {}) => !Array.isArray(e) || !Array.isArray(r) ? {} : e.reduce((g, b) => {
9383
9383
  const f = $n(t, b);
9384
9384
  if (!f) return g;
9385
- const l = p[f] || [], a = r.reduce((i, o) => {
9386
- const s = jl({
9387
- platformName: o,
9385
+ const l = p[f] || [], a = r.reduce((i, s) => {
9386
+ const o = jl({
9387
+ platformName: s,
9388
9388
  gamesOfType: l,
9389
9389
  allPlatforms: n
9390
9390
  });
9391
- return Ee(s) ? i : { ...i, [o]: s };
9391
+ return Ee(o) ? i : { ...i, [s]: o };
9392
9392
  }, {});
9393
9393
  return Ee(a) || (g[b] = a), g;
9394
9394
  }, {}), qs = (e = {}) => !Ii(e) || Ee(e) ? {} : Object.values(e).reduce((t, n) => (Object.entries(n).forEach(([p, g]) => {
@@ -9417,9 +9417,9 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9417
9417
  highlightGames: a = [],
9418
9418
  originPlatform: i = []
9419
9419
  }) => {
9420
- const o = zs(e), s = wn(r), u = Is(t), m = Vs(n), c = wn(i), d = Zs(f), y = Ks({
9420
+ const s = zs(e), o = wn(r), u = Is(t), m = Vs(n), c = wn(i), d = Zs(f), y = Ks({
9421
9421
  gameTypes: u,
9422
- platforms: s,
9422
+ platforms: o,
9423
9423
  gameList: e,
9424
9424
  allGameTypes: t,
9425
9425
  allPlatforms: r
@@ -9429,7 +9429,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9429
9429
  ...G,
9430
9430
  platformImageUrl: O
9431
9431
  };
9432
- }), U = Js(o, n), v = qs(y), T = $s(v), x = Wn(y).reduce(
9432
+ }), U = Js(s, n), v = qs(y), T = $s(v), x = Wn(y).reduce(
9433
9433
  (G, [O, C]) => {
9434
9434
  const h = Vi(zl(C));
9435
9435
  return G[O] = h, G;
@@ -9441,7 +9441,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9441
9441
  }, {});
9442
9442
  return {
9443
9443
  platform: {
9444
- all: s,
9444
+ all: o,
9445
9445
  origin: c,
9446
9446
  originPlatform: _,
9447
9447
  byGameType: S
@@ -9453,7 +9453,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9453
9453
  originSub: n
9454
9454
  },
9455
9455
  gameList: {
9456
- all: o,
9456
+ all: s,
9457
9457
  new: p,
9458
9458
  top: g,
9459
9459
  favorite: d,
@@ -9472,7 +9472,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9472
9472
  favorite: d
9473
9473
  }
9474
9474
  };
9475
- }, Qm = (e = []) => !la(e) || Ee(e) ? [] : Vi(e, (r) => Ee(r.SubPlatformEnum) ? r : r.SubPlatformEnum.map((t) => ({
9475
+ }, jm = (e = []) => !la(e) || Ee(e) ? [] : Vi(e, (r) => Ee(r.SubPlatformEnum) ? r : r.SubPlatformEnum.map((t) => ({
9476
9476
  ...r,
9477
9477
  ...t,
9478
9478
  platform: t.SubPlatformEnum,
@@ -36071,9 +36071,9 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
36071
36071
  t && Xs(!0);
36072
36072
  }, [t]);
36073
36073
  const n = Ys({ enabled: r });
36074
- return /* @__PURE__ */ Ae.jsx(qn.Provider, { value: n, children: e });
36074
+ return /* @__PURE__ */ we.jsx(qn.Provider, { value: n, children: e });
36075
36075
  };
36076
- function jm({
36076
+ function Ym({
36077
36077
  children: e,
36078
36078
  autoFetchGamesInfo: r = !1,
36079
36079
  useMockData: t = !1,
@@ -36094,7 +36094,7 @@ function jm({
36094
36094
  }),
36095
36095
  []
36096
36096
  ), l = n || f;
36097
- return /* @__PURE__ */ Ae.jsx(Ol, { client: l, children: /* @__PURE__ */ Ae.jsx(zn.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Ae.jsx(ql, { children: /* @__PURE__ */ Ae.jsx(
36097
+ return /* @__PURE__ */ we.jsx(Ol, { client: l, children: /* @__PURE__ */ we.jsx(zn.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ we.jsx(ql, { children: /* @__PURE__ */ we.jsx(
36098
36098
  em,
36099
36099
  {
36100
36100
  autoFetch: r,
@@ -36103,9 +36103,9 @@ function jm({
36103
36103
  }
36104
36104
  ) }) }) });
36105
36105
  }
36106
- const Ym = ({ onFunction: e = () => {
36106
+ const Xm = ({ onFunction: e = () => {
36107
36107
  }, buttonProps: r = {} } = {}) => {
36108
- const { lineConfig: t } = re(), n = ee(!1), p = ge(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), f = g.get("trans_code"), l = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = tl({
36108
+ const { lineConfig: t } = re(), n = ee(!1), p = ge(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), f = g.get("trans_code"), l = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: s, isPending: o } = tl({
36109
36109
  options: {
36110
36110
  onSuccess: (m) => {
36111
36111
  e(m);
@@ -36114,7 +36114,7 @@ const Ym = ({ onFunction: e = () => {
36114
36114
  }
36115
36115
  });
36116
36116
  me(() => {
36117
- n.current || b === "true" && l && a && (o({
36117
+ n.current || b === "true" && l && a && (s({
36118
36118
  trans_code: f,
36119
36119
  line_id: l,
36120
36120
  invite_code: i,
@@ -36126,13 +36126,13 @@ const Ym = ({ onFunction: e = () => {
36126
36126
  l,
36127
36127
  i,
36128
36128
  a,
36129
- o,
36129
+ s,
36130
36130
  e
36131
36131
  ]);
36132
36132
  const u = () => {
36133
36133
  window.location.href = `https://liff.line.me/${p}`;
36134
36134
  };
36135
- return p ? /* @__PURE__ */ Ae.jsx(
36135
+ return p ? /* @__PURE__ */ we.jsx(
36136
36136
  "button",
36137
36137
  {
36138
36138
  className: "line-login-btn",
@@ -36167,28 +36167,28 @@ var xa;
36167
36167
  // error correction level, data codeword bytes, and mask number.
36168
36168
  // This is a low-level API that most users should not use directly.
36169
36169
  // A mid-level API is the encodeSegments() function.
36170
- constructor(l, a, i, o) {
36170
+ constructor(l, a, i, s) {
36171
36171
  if (this.version = l, this.errorCorrectionLevel = a, this.modules = [], this.isFunction = [], l < j.MIN_VERSION || l > j.MAX_VERSION)
36172
36172
  throw new RangeError("Version value out of range");
36173
- if (o < -1 || o > 7)
36173
+ if (s < -1 || s > 7)
36174
36174
  throw new RangeError("Mask value out of range");
36175
36175
  this.size = l * 4 + 17;
36176
- let s = [];
36176
+ let o = [];
36177
36177
  for (let m = 0; m < this.size; m++)
36178
- s.push(!1);
36178
+ o.push(!1);
36179
36179
  for (let m = 0; m < this.size; m++)
36180
- this.modules.push(s.slice()), this.isFunction.push(s.slice());
36180
+ this.modules.push(o.slice()), this.isFunction.push(o.slice());
36181
36181
  this.drawFunctionPatterns();
36182
36182
  const u = this.addEccAndInterleave(i);
36183
- if (this.drawCodewords(u), o == -1) {
36183
+ if (this.drawCodewords(u), s == -1) {
36184
36184
  let m = 1e9;
36185
36185
  for (let c = 0; c < 8; c++) {
36186
36186
  this.applyMask(c), this.drawFormatBits(c);
36187
36187
  const d = this.getPenaltyScore();
36188
- d < m && (o = c, m = d), this.applyMask(c);
36188
+ d < m && (s = c, m = d), this.applyMask(c);
36189
36189
  }
36190
36190
  }
36191
- p(0 <= o && o <= 7), this.mask = o, this.applyMask(o), this.drawFormatBits(o), this.isFunction = [];
36191
+ p(0 <= s && s <= 7), this.mask = s, this.applyMask(s), this.drawFormatBits(s), this.isFunction = [];
36192
36192
  }
36193
36193
  /*-- Static factory functions (high level) --*/
36194
36194
  // Returns a QR Code representing the given Unicode text string at the given error correction level.
@@ -36218,8 +36218,8 @@ var xa;
36218
36218
  // This function allows the user to create a custom sequence of segments that switches
36219
36219
  // between modes (such as alphanumeric and byte) to encode text in less space.
36220
36220
  // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
36221
- static encodeSegments(l, a, i = 1, o = 40, s = -1, u = !0) {
36222
- if (!(j.MIN_VERSION <= i && i <= o && o <= j.MAX_VERSION) || s < -1 || s > 7)
36221
+ static encodeSegments(l, a, i = 1, s = 40, o = -1, u = !0) {
36222
+ if (!(j.MIN_VERSION <= i && i <= s && s <= j.MAX_VERSION) || o < -1 || o > 7)
36223
36223
  throw new RangeError("Invalid value");
36224
36224
  let m, c;
36225
36225
  for (m = i; ; m++) {
@@ -36228,7 +36228,7 @@ var xa;
36228
36228
  c = v;
36229
36229
  break;
36230
36230
  }
36231
- if (m >= o)
36231
+ if (m >= s)
36232
36232
  throw new RangeError("Data too long");
36233
36233
  }
36234
36234
  for (const U of [j.Ecc.MEDIUM, j.Ecc.QUARTILE, j.Ecc.HIGH])
@@ -36247,7 +36247,7 @@ var xa;
36247
36247
  let _ = [];
36248
36248
  for (; _.length * 8 < d.length; )
36249
36249
  _.push(0);
36250
- return d.forEach((U, v) => _[v >>> 3] |= U << 7 - (v & 7)), new j(m, a, _, s);
36250
+ return d.forEach((U, v) => _[v >>> 3] |= U << 7 - (v & 7)), new j(m, a, _, o);
36251
36251
  }
36252
36252
  /*-- Accessor methods --*/
36253
36253
  // Returns the color of the module (pixel) at the given coordinates, which is false
@@ -36268,8 +36268,8 @@ var xa;
36268
36268
  this.drawFinderPattern(3, 3), this.drawFinderPattern(this.size - 4, 3), this.drawFinderPattern(3, this.size - 4);
36269
36269
  const l = this.getAlignmentPatternPositions(), a = l.length;
36270
36270
  for (let i = 0; i < a; i++)
36271
- for (let o = 0; o < a; o++)
36272
- i == 0 && o == 0 || i == 0 && o == a - 1 || i == a - 1 && o == 0 || this.drawAlignmentPattern(l[i], l[o]);
36271
+ for (let s = 0; s < a; s++)
36272
+ i == 0 && s == 0 || i == 0 && s == a - 1 || i == a - 1 && s == 0 || this.drawAlignmentPattern(l[i], l[s]);
36273
36273
  this.drawFormatBits(0), this.drawVersion();
36274
36274
  }
36275
36275
  // Draws two copies of the format bits (with its own error correction code)
@@ -36277,19 +36277,19 @@ var xa;
36277
36277
  drawFormatBits(l) {
36278
36278
  const a = this.errorCorrectionLevel.formatBits << 3 | l;
36279
36279
  let i = a;
36280
- for (let s = 0; s < 10; s++)
36280
+ for (let o = 0; o < 10; o++)
36281
36281
  i = i << 1 ^ (i >>> 9) * 1335;
36282
- const o = (a << 10 | i) ^ 21522;
36283
- p(o >>> 15 == 0);
36284
- for (let s = 0; s <= 5; s++)
36285
- this.setFunctionModule(8, s, n(o, s));
36286
- this.setFunctionModule(8, 7, n(o, 6)), this.setFunctionModule(8, 8, n(o, 7)), this.setFunctionModule(7, 8, n(o, 8));
36287
- for (let s = 9; s < 15; s++)
36288
- this.setFunctionModule(14 - s, 8, n(o, s));
36289
- for (let s = 0; s < 8; s++)
36290
- this.setFunctionModule(this.size - 1 - s, 8, n(o, s));
36291
- for (let s = 8; s < 15; s++)
36292
- this.setFunctionModule(8, this.size - 15 + s, n(o, s));
36282
+ const s = (a << 10 | i) ^ 21522;
36283
+ p(s >>> 15 == 0);
36284
+ for (let o = 0; o <= 5; o++)
36285
+ this.setFunctionModule(8, o, n(s, o));
36286
+ this.setFunctionModule(8, 7, n(s, 6)), this.setFunctionModule(8, 8, n(s, 7)), this.setFunctionModule(7, 8, n(s, 8));
36287
+ for (let o = 9; o < 15; o++)
36288
+ this.setFunctionModule(14 - o, 8, n(s, o));
36289
+ for (let o = 0; o < 8; o++)
36290
+ this.setFunctionModule(this.size - 1 - o, 8, n(s, o));
36291
+ for (let o = 8; o < 15; o++)
36292
+ this.setFunctionModule(8, this.size - 15 + o, n(s, o));
36293
36293
  this.setFunctionModule(8, this.size - 8, !0);
36294
36294
  }
36295
36295
  // Draws two copies of the version bits (with its own error correction code),
@@ -36303,25 +36303,25 @@ var xa;
36303
36303
  const a = this.version << 12 | l;
36304
36304
  p(a >>> 18 == 0);
36305
36305
  for (let i = 0; i < 18; i++) {
36306
- const o = n(a, i), s = this.size - 11 + i % 3, u = Math.floor(i / 3);
36307
- this.setFunctionModule(s, u, o), this.setFunctionModule(u, s, o);
36306
+ const s = n(a, i), o = this.size - 11 + i % 3, u = Math.floor(i / 3);
36307
+ this.setFunctionModule(o, u, s), this.setFunctionModule(u, o, s);
36308
36308
  }
36309
36309
  }
36310
36310
  // Draws a 9*9 finder pattern including the border separator,
36311
36311
  // with the center module at (x, y). Modules can be out of bounds.
36312
36312
  drawFinderPattern(l, a) {
36313
36313
  for (let i = -4; i <= 4; i++)
36314
- for (let o = -4; o <= 4; o++) {
36315
- const s = Math.max(Math.abs(o), Math.abs(i)), u = l + o, m = a + i;
36316
- 0 <= u && u < this.size && 0 <= m && m < this.size && this.setFunctionModule(u, m, s != 2 && s != 4);
36314
+ for (let s = -4; s <= 4; s++) {
36315
+ const o = Math.max(Math.abs(s), Math.abs(i)), u = l + s, m = a + i;
36316
+ 0 <= u && u < this.size && 0 <= m && m < this.size && this.setFunctionModule(u, m, o != 2 && o != 4);
36317
36317
  }
36318
36318
  }
36319
36319
  // Draws a 5*5 alignment pattern, with the center module
36320
36320
  // at (x, y). All modules must be in bounds.
36321
36321
  drawAlignmentPattern(l, a) {
36322
36322
  for (let i = -2; i <= 2; i++)
36323
- for (let o = -2; o <= 2; o++)
36324
- this.setFunctionModule(l + o, a + i, Math.max(Math.abs(o), Math.abs(i)) != 1);
36323
+ for (let s = -2; s <= 2; s++)
36324
+ this.setFunctionModule(l + s, a + i, Math.max(Math.abs(s), Math.abs(i)) != 1);
36325
36325
  }
36326
36326
  // Sets the color of a module and marks it as a function module.
36327
36327
  // Only used by the constructor. Coordinates must be in bounds.
@@ -36335,11 +36335,11 @@ var xa;
36335
36335
  const a = this.version, i = this.errorCorrectionLevel;
36336
36336
  if (l.length != j.getNumDataCodewords(a, i))
36337
36337
  throw new RangeError("Invalid argument");
36338
- const o = j.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][a], s = j.ECC_CODEWORDS_PER_BLOCK[i.ordinal][a], u = Math.floor(j.getNumRawDataModules(a) / 8), m = o - u % o, c = Math.floor(u / o);
36338
+ const s = j.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][a], o = j.ECC_CODEWORDS_PER_BLOCK[i.ordinal][a], u = Math.floor(j.getNumRawDataModules(a) / 8), m = s - u % s, c = Math.floor(u / s);
36339
36339
  let d = [];
36340
- const y = j.reedSolomonComputeDivisor(s);
36341
- for (let U = 0, v = 0; U < o; U++) {
36342
- let T = l.slice(v, v + c - s + (U < m ? 0 : 1));
36340
+ const y = j.reedSolomonComputeDivisor(o);
36341
+ for (let U = 0, v = 0; U < s; U++) {
36342
+ let T = l.slice(v, v + c - o + (U < m ? 0 : 1));
36343
36343
  v += T.length;
36344
36344
  const x = j.reedSolomonComputeRemainder(T, y);
36345
36345
  U < m && T.push(0), d.push(T.concat(x));
@@ -36347,7 +36347,7 @@ var xa;
36347
36347
  let _ = [];
36348
36348
  for (let U = 0; U < d[0].length; U++)
36349
36349
  d.forEach((v, T) => {
36350
- (U != c - s || T >= m) && _.push(v[U]);
36350
+ (U != c - o || T >= m) && _.push(v[U]);
36351
36351
  });
36352
36352
  return p(_.length == u), _;
36353
36353
  }
@@ -36359,9 +36359,9 @@ var xa;
36359
36359
  let a = 0;
36360
36360
  for (let i = this.size - 1; i >= 1; i -= 2) {
36361
36361
  i == 6 && (i = 5);
36362
- for (let o = 0; o < this.size; o++)
36363
- for (let s = 0; s < 2; s++) {
36364
- const u = i - s, c = (i + 1 & 2) == 0 ? this.size - 1 - o : o;
36362
+ for (let s = 0; s < this.size; s++)
36363
+ for (let o = 0; o < 2; o++) {
36364
+ const u = i - o, c = (i + 1 & 2) == 0 ? this.size - 1 - s : s;
36365
36365
  !this.isFunction[c][u] && a < l.length * 8 && (this.modules[c][u] = n(l[a >>> 3], 7 - (a & 7)), a++);
36366
36366
  }
36367
36367
  }
@@ -36377,64 +36377,64 @@ var xa;
36377
36377
  throw new RangeError("Mask value out of range");
36378
36378
  for (let a = 0; a < this.size; a++)
36379
36379
  for (let i = 0; i < this.size; i++) {
36380
- let o;
36380
+ let s;
36381
36381
  switch (l) {
36382
36382
  case 0:
36383
- o = (i + a) % 2 == 0;
36383
+ s = (i + a) % 2 == 0;
36384
36384
  break;
36385
36385
  case 1:
36386
- o = a % 2 == 0;
36386
+ s = a % 2 == 0;
36387
36387
  break;
36388
36388
  case 2:
36389
- o = i % 3 == 0;
36389
+ s = i % 3 == 0;
36390
36390
  break;
36391
36391
  case 3:
36392
- o = (i + a) % 3 == 0;
36392
+ s = (i + a) % 3 == 0;
36393
36393
  break;
36394
36394
  case 4:
36395
- o = (Math.floor(i / 3) + Math.floor(a / 2)) % 2 == 0;
36395
+ s = (Math.floor(i / 3) + Math.floor(a / 2)) % 2 == 0;
36396
36396
  break;
36397
36397
  case 5:
36398
- o = i * a % 2 + i * a % 3 == 0;
36398
+ s = i * a % 2 + i * a % 3 == 0;
36399
36399
  break;
36400
36400
  case 6:
36401
- o = (i * a % 2 + i * a % 3) % 2 == 0;
36401
+ s = (i * a % 2 + i * a % 3) % 2 == 0;
36402
36402
  break;
36403
36403
  case 7:
36404
- o = ((i + a) % 2 + i * a % 3) % 2 == 0;
36404
+ s = ((i + a) % 2 + i * a % 3) % 2 == 0;
36405
36405
  break;
36406
36406
  default:
36407
36407
  throw new Error("Unreachable");
36408
36408
  }
36409
- !this.isFunction[a][i] && o && (this.modules[a][i] = !this.modules[a][i]);
36409
+ !this.isFunction[a][i] && s && (this.modules[a][i] = !this.modules[a][i]);
36410
36410
  }
36411
36411
  }
36412
36412
  // Calculates and returns the penalty score based on state of this QR Code's current modules.
36413
36413
  // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.
36414
36414
  getPenaltyScore() {
36415
36415
  let l = 0;
36416
- for (let s = 0; s < this.size; s++) {
36416
+ for (let o = 0; o < this.size; o++) {
36417
36417
  let u = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36418
36418
  for (let d = 0; d < this.size; d++)
36419
- this.modules[s][d] == u ? (m++, m == 5 ? l += j.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, c), u || (l += this.finderPenaltyCountPatterns(c) * j.PENALTY_N3), u = this.modules[s][d], m = 1);
36419
+ this.modules[o][d] == u ? (m++, m == 5 ? l += j.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, c), u || (l += this.finderPenaltyCountPatterns(c) * j.PENALTY_N3), u = this.modules[o][d], m = 1);
36420
36420
  l += this.finderPenaltyTerminateAndCount(u, m, c) * j.PENALTY_N3;
36421
36421
  }
36422
- for (let s = 0; s < this.size; s++) {
36422
+ for (let o = 0; o < this.size; o++) {
36423
36423
  let u = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36424
36424
  for (let d = 0; d < this.size; d++)
36425
- this.modules[d][s] == u ? (m++, m == 5 ? l += j.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, c), u || (l += this.finderPenaltyCountPatterns(c) * j.PENALTY_N3), u = this.modules[d][s], m = 1);
36425
+ this.modules[d][o] == u ? (m++, m == 5 ? l += j.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, c), u || (l += this.finderPenaltyCountPatterns(c) * j.PENALTY_N3), u = this.modules[d][o], m = 1);
36426
36426
  l += this.finderPenaltyTerminateAndCount(u, m, c) * j.PENALTY_N3;
36427
36427
  }
36428
- for (let s = 0; s < this.size - 1; s++)
36428
+ for (let o = 0; o < this.size - 1; o++)
36429
36429
  for (let u = 0; u < this.size - 1; u++) {
36430
- const m = this.modules[s][u];
36431
- m == this.modules[s][u + 1] && m == this.modules[s + 1][u] && m == this.modules[s + 1][u + 1] && (l += j.PENALTY_N2);
36430
+ const m = this.modules[o][u];
36431
+ m == this.modules[o][u + 1] && m == this.modules[o + 1][u] && m == this.modules[o + 1][u + 1] && (l += j.PENALTY_N2);
36432
36432
  }
36433
36433
  let a = 0;
36434
- for (const s of this.modules)
36435
- a = s.reduce((u, m) => u + (m ? 1 : 0), a);
36436
- const i = this.size * this.size, o = Math.ceil(Math.abs(a * 20 - i * 10) / i) - 1;
36437
- return p(0 <= o && o <= 9), l += o * j.PENALTY_N4, p(0 <= l && l <= 2568888), l;
36434
+ for (const o of this.modules)
36435
+ a = o.reduce((u, m) => u + (m ? 1 : 0), a);
36436
+ const i = this.size * this.size, s = Math.ceil(Math.abs(a * 20 - i * 10) / i) - 1;
36437
+ return p(0 <= s && s <= 9), l += s * j.PENALTY_N4, p(0 <= l && l <= 2568888), l;
36438
36438
  }
36439
36439
  /*-- Private helper functions --*/
36440
36440
  // Returns an ascending list of positions of alignment patterns for this version number.
@@ -36446,8 +36446,8 @@ var xa;
36446
36446
  {
36447
36447
  const l = Math.floor(this.version / 7) + 2, a = this.version == 32 ? 26 : Math.ceil((this.version * 4 + 4) / (l * 2 - 2)) * 2;
36448
36448
  let i = [6];
36449
- for (let o = this.size - 7; i.length < l; o -= a)
36450
- i.splice(1, 0, o);
36449
+ for (let s = this.size - 7; i.length < l; s -= a)
36450
+ i.splice(1, 0, s);
36451
36451
  return i;
36452
36452
  }
36453
36453
  }
@@ -36476,23 +36476,23 @@ var xa;
36476
36476
  if (l < 1 || l > 255)
36477
36477
  throw new RangeError("Degree out of range");
36478
36478
  let a = [];
36479
- for (let o = 0; o < l - 1; o++)
36479
+ for (let s = 0; s < l - 1; s++)
36480
36480
  a.push(0);
36481
36481
  a.push(1);
36482
36482
  let i = 1;
36483
- for (let o = 0; o < l; o++) {
36484
- for (let s = 0; s < a.length; s++)
36485
- a[s] = j.reedSolomonMultiply(a[s], i), s + 1 < a.length && (a[s] ^= a[s + 1]);
36483
+ for (let s = 0; s < l; s++) {
36484
+ for (let o = 0; o < a.length; o++)
36485
+ a[o] = j.reedSolomonMultiply(a[o], i), o + 1 < a.length && (a[o] ^= a[o + 1]);
36486
36486
  i = j.reedSolomonMultiply(i, 2);
36487
36487
  }
36488
36488
  return a;
36489
36489
  }
36490
36490
  // Returns the Reed-Solomon error correction codeword for the given data and divisor polynomials.
36491
36491
  static reedSolomonComputeRemainder(l, a) {
36492
- let i = a.map((o) => 0);
36493
- for (const o of l) {
36494
- const s = o ^ i.shift();
36495
- i.push(0), a.forEach((u, m) => i[m] ^= j.reedSolomonMultiply(u, s));
36492
+ let i = a.map((s) => 0);
36493
+ for (const s of l) {
36494
+ const o = s ^ i.shift();
36495
+ i.push(0), a.forEach((u, m) => i[m] ^= j.reedSolomonMultiply(u, o));
36496
36496
  }
36497
36497
  return i;
36498
36498
  }
@@ -36502,8 +36502,8 @@ var xa;
36502
36502
  if (l >>> 8 || a >>> 8)
36503
36503
  throw new RangeError("Byte out of range");
36504
36504
  let i = 0;
36505
- for (let o = 7; o >= 0; o--)
36506
- i = i << 1 ^ (i >>> 7) * 285, i ^= (a >>> o & 1) * l;
36505
+ for (let s = 7; s >= 0; s--)
36506
+ i = i << 1 ^ (i >>> 7) * 285, i ^= (a >>> s & 1) * l;
36507
36507
  return p(i >>> 8 == 0), i;
36508
36508
  }
36509
36509
  // Can only be called immediately after a light run is added, and
@@ -36585,8 +36585,8 @@ var xa;
36585
36585
  throw new RangeError("String contains non-numeric characters");
36586
36586
  let a = [];
36587
36587
  for (let i = 0; i < l.length; ) {
36588
- const o = Math.min(l.length - i, 3);
36589
- t(parseInt(l.substring(i, i + o), 10), o * 3 + 1, a), i += o;
36588
+ const s = Math.min(l.length - i, 3);
36589
+ t(parseInt(l.substring(i, i + s), 10), s * 3 + 1, a), i += s;
36590
36590
  }
36591
36591
  return new ye(ye.Mode.NUMERIC, l.length, a);
36592
36592
  }
@@ -36598,8 +36598,8 @@ var xa;
36598
36598
  throw new RangeError("String contains unencodable characters in alphanumeric mode");
36599
36599
  let a = [], i;
36600
36600
  for (i = 0; i + 2 <= l.length; i += 2) {
36601
- let o = ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)) * 45;
36602
- o += ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i + 1)), t(o, 11, a);
36601
+ let s = ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)) * 45;
36602
+ s += ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i + 1)), t(s, 11, a);
36603
36603
  }
36604
36604
  return i < l.length && t(ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)), 6, a), new ye(ye.Mode.ALPHANUMERIC, l.length, a);
36605
36605
  }
@@ -36644,11 +36644,11 @@ var xa;
36644
36644
  // the given version. The result is infinity if a segment has too many characters to fit its length field.
36645
36645
  static getTotalBits(l, a) {
36646
36646
  let i = 0;
36647
- for (const o of l) {
36648
- const s = o.mode.numCharCountBits(a);
36649
- if (o.numChars >= 1 << s)
36647
+ for (const s of l) {
36648
+ const o = s.mode.numCharCountBits(a);
36649
+ if (s.numChars >= 1 << o)
36650
36650
  return 1 / 0;
36651
- i += 4 + s + o.bitData.length;
36651
+ i += 4 + o + s.bitData.length;
36652
36652
  }
36653
36653
  return i;
36654
36654
  }
@@ -36730,14 +36730,14 @@ function Gl(e, r) {
36730
36730
  function rm(e, r, t, n) {
36731
36731
  if (n == null)
36732
36732
  return null;
36733
- const p = e.length + t * 2, g = Math.floor(r * lm), b = p / r, f = (n.width || g) * b, l = (n.height || g) * b, a = n.x == null ? e.length / 2 - f / 2 : n.x * b, i = n.y == null ? e.length / 2 - l / 2 : n.y * b, o = n.opacity == null ? 1 : n.opacity;
36734
- let s = null;
36733
+ const p = e.length + t * 2, g = Math.floor(r * lm), b = p / r, f = (n.width || g) * b, l = (n.height || g) * b, a = n.x == null ? e.length / 2 - f / 2 : n.x * b, i = n.y == null ? e.length / 2 - l / 2 : n.y * b, s = n.opacity == null ? 1 : n.opacity;
36734
+ let o = null;
36735
36735
  if (n.excavate) {
36736
36736
  let m = Math.floor(a), c = Math.floor(i), d = Math.ceil(f + a - m), y = Math.ceil(l + i - c);
36737
- s = { x: m, y: c, w: d, h: y };
36737
+ o = { x: m, y: c, w: d, h: y };
36738
36738
  }
36739
36739
  const u = n.crossOrigin;
36740
- return { x: a, y: i, h: l, w: f, excavation: s, opacity: o, crossOrigin: u };
36740
+ return { x: a, y: i, h: l, w: f, excavation: o, opacity: s, crossOrigin: u };
36741
36741
  }
36742
36742
  function om(e, r) {
36743
36743
  return r != null ? Math.max(Math.floor(r), 0) : e ? tm : nm;
@@ -36763,7 +36763,7 @@ function Ml({
36763
36763
  f
36764
36764
  );
36765
36765
  }, [e, r, t, f]);
36766
- const { cells: a, margin: i, numCells: o, calculatedImageSettings: s } = de.useMemo(() => {
36766
+ const { cells: a, margin: i, numCells: s, calculatedImageSettings: o } = de.useMemo(() => {
36767
36767
  let u = l.getModules();
36768
36768
  const m = om(n, p), c = u.length + m * 2, d = rm(
36769
36769
  u,
@@ -36782,8 +36782,8 @@ function Ml({
36782
36782
  qrcode: l,
36783
36783
  margin: i,
36784
36784
  cells: a,
36785
- numCells: o,
36786
- calculatedImageSettings: s
36785
+ numCells: s,
36786
+ calculatedImageSettings: o
36787
36787
  };
36788
36788
  }
36789
36789
  var sm = (function() {
@@ -36803,8 +36803,8 @@ var sm = (function() {
36803
36803
  fgColor: l = Dl,
36804
36804
  includeMargin: a = El,
36805
36805
  minVersion: i = Nl,
36806
- boostLevel: o,
36807
- marginSize: s,
36806
+ boostLevel: s,
36807
+ marginSize: o,
36808
36808
  imageSettings: u
36809
36809
  } = n, c = mt(n, [
36810
36810
  "value",
@@ -36826,9 +36826,9 @@ var sm = (function() {
36826
36826
  value: p,
36827
36827
  level: b,
36828
36828
  minVersion: i,
36829
- boostLevel: o,
36829
+ boostLevel: s,
36830
36830
  includeMargin: a,
36831
- marginSize: s,
36831
+ marginSize: o,
36832
36832
  imageSettings: u,
36833
36833
  size: g
36834
36834
  });
@@ -36898,8 +36898,8 @@ var Rl = de.forwardRef(
36898
36898
  fgColor: l = Dl,
36899
36899
  includeMargin: a = El,
36900
36900
  minVersion: i = Nl,
36901
- boostLevel: o,
36902
- title: s,
36901
+ boostLevel: s,
36902
+ title: o,
36903
36903
  marginSize: u,
36904
36904
  imageSettings: m
36905
36905
  } = n, c = mt(n, [
@@ -36918,7 +36918,7 @@ var Rl = de.forwardRef(
36918
36918
  value: p,
36919
36919
  level: b,
36920
36920
  minVersion: i,
36921
- boostLevel: o,
36921
+ boostLevel: s,
36922
36922
  includeMargin: a,
36923
36923
  marginSize: u,
36924
36924
  imageSettings: m,
@@ -36951,7 +36951,7 @@ var Rl = de.forwardRef(
36951
36951
  ref: t,
36952
36952
  role: "img"
36953
36953
  }, c),
36954
- !!s && /* @__PURE__ */ de.createElement("title", null, s),
36954
+ !!o && /* @__PURE__ */ de.createElement("title", null, o),
36955
36955
  /* @__PURE__ */ de.createElement(
36956
36956
  "path",
36957
36957
  {
@@ -36979,6 +36979,16 @@ const um = {
36979
36979
  justifyContent: "center",
36980
36980
  zIndex: 1e4,
36981
36981
  gap: "2em"
36982
+ }, pm = {
36983
+ position: "absolute",
36984
+ top: "20px",
36985
+ right: "20px",
36986
+ color: "white",
36987
+ fontSize: "2rem",
36988
+ cursor: "pointer",
36989
+ padding: "10px",
36990
+ lineHeight: "1",
36991
+ zIndex: 10001
36982
36992
  }, On = {
36983
36993
  zh_TW: {
36984
36994
  title: "請使用 LINE 掃描 QR Code 登入",
@@ -37000,72 +37010,88 @@ const um = {
37000
37010
  title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
37001
37011
  expired: "Kode QR telah kedaluwarsa"
37002
37012
  }
37003
- }, au = ({ forcedShow: e = !1 } = {}) => {
37004
- const { lng: r, getToken: t } = re(), [n, p] = tt(300), [g, b] = tt(!1), f = ee(null), l = je(r), a = t?.(), o = new URLSearchParams(window.location.search).get("mac") || lt.get("machine_mac_address") || "", { data: s, isFetching: u } = Ho({
37013
+ }, iu = ({ forcedShow: e = !1, isVisible: r, setIsVisible: t } = {}) => {
37014
+ const { lng: n, getToken: p } = re(), [g, b] = tt(300), [f, l] = tt(!1), a = ee(null), i = je(n), s = p?.(), u = new URLSearchParams(window.location.search).get("mac") || lt.get("machine_mac_address") || "", { data: m, isFetching: c } = Ho({
37005
37015
  formData: {
37006
- mac_address: o
37016
+ mac_address: u
37007
37017
  },
37008
37018
  options: {
37009
- enabled: e ? !0 : !!o && !a
37019
+ enabled: e ? !0 : !!u && !s
37010
37020
  }
37011
- }), m = ge(s, "liff_url", "");
37021
+ }), d = ge(m, "liff_url", "");
37012
37022
  me(() => {
37013
- o && lt.set("machine_mac_address", o, { expires: 365 });
37014
- }, [o]), me(() => (m && (p(300), b(!1), f.current && clearInterval(f.current), f.current = setInterval(() => {
37015
- p((y) => y <= 1 ? (clearInterval(f.current), b(!0), 0) : y - 1);
37023
+ u && lt.set("machine_mac_address", u, { expires: 365 });
37024
+ }, [u]), me(() => (d && (b(300), l(!1), a.current && clearInterval(a.current), a.current = setInterval(() => {
37025
+ b((U) => U <= 1 ? (clearInterval(a.current), l(!0), 0) : U - 1);
37016
37026
  }, 1e3)), () => {
37017
- f.current && clearInterval(f.current);
37018
- }), [m]);
37019
- const c = (y) => {
37020
- const _ = Math.floor(y / 60), U = y % 60;
37021
- return `${_}:${U < 10 ? "0" : ""}${U}`;
37027
+ a.current && clearInterval(a.current);
37028
+ }), [d]);
37029
+ const y = (U) => {
37030
+ const v = Math.floor(U / 60), T = U % 60;
37031
+ return `${v}:${T < 10 ? "0" : ""}${T}`;
37022
37032
  };
37023
- if (!e && (!o || a)) return null;
37024
- const d = On[l] || On.en_US;
37025
- return /* @__PURE__ */ Ae.jsx("div", { style: um, children: g ? /* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold" }, children: d.expired }) : /* @__PURE__ */ Ae.jsxs(Ae.Fragment, { children: [
37026
- /* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: d.title }),
37027
- /* @__PURE__ */ Ae.jsx(
37033
+ if (!e && (!u || s)) return null;
37034
+ const _ = On[i] || On.en_US;
37035
+ return r && /* @__PURE__ */ we.jsxs("div", { style: um, children: [
37036
+ /* @__PURE__ */ we.jsx(
37028
37037
  "div",
37029
37038
  {
37030
- style: {
37031
- background: "white",
37032
- borderRadius: "8px",
37033
- width: "20em",
37034
- height: "20em",
37035
- display: "flex",
37036
- alignItems: "center",
37037
- justifyContent: "center",
37038
- boxSizing: "border-box",
37039
- color: "black"
37040
- },
37041
- children: u ? "Loading..." : /* @__PURE__ */ Ae.jsx(Rl, { width: "100%", height: "100%", value: m })
37039
+ style: pm,
37040
+ onClick: () => t(!1),
37041
+ role: "button",
37042
+ "aria-label": "Close",
37043
+ children: ""
37042
37044
  }
37043
37045
  ),
37044
- !u && /* @__PURE__ */ Ae.jsx(
37045
- "p",
37046
- {
37047
- style: { marginTop: "10px", fontWeight: "bold", fontSize: "3em" },
37048
- children: c(n)
37049
- }
37050
- )
37051
- ] }) });
37046
+ f ? /* @__PURE__ */ we.jsx("p", { style: { fontWeight: "bold" }, children: _.expired }) : /* @__PURE__ */ we.jsxs(we.Fragment, { children: [
37047
+ /* @__PURE__ */ we.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: _.title }),
37048
+ /* @__PURE__ */ we.jsx(
37049
+ "div",
37050
+ {
37051
+ style: {
37052
+ background: "white",
37053
+ borderRadius: "8px",
37054
+ width: "20em",
37055
+ height: "20em",
37056
+ display: "flex",
37057
+ alignItems: "center",
37058
+ justifyContent: "center",
37059
+ boxSizing: "border-box",
37060
+ color: "black"
37061
+ },
37062
+ children: c ? "Loading..." : /* @__PURE__ */ we.jsx(Rl, { width: "100%", height: "100%", value: d })
37063
+ }
37064
+ ),
37065
+ !c && /* @__PURE__ */ we.jsx(
37066
+ "p",
37067
+ {
37068
+ style: {
37069
+ marginTop: "10px",
37070
+ fontWeight: "bold",
37071
+ fontSize: "3em"
37072
+ },
37073
+ children: y(g)
37074
+ }
37075
+ )
37076
+ ] })
37077
+ ] });
37052
37078
  };
37053
37079
  export {
37054
37080
  zn as ApiCtx,
37055
- jm as ApiProvider,
37081
+ Ym as ApiProvider,
37056
37082
  qn as GamesInfoCtx,
37057
- Ym as LineLogin,
37058
- au as LineQrCode,
37083
+ Xm as LineLogin,
37084
+ iu as LineQrCode,
37059
37085
  Ja as STATUS_TYPES,
37060
37086
  In as StatusContext,
37061
37087
  ql as StatusProvider,
37062
37088
  Ks as buildMultiTypes,
37063
- $m as buildMultiTypesWithSubTypes,
37089
+ Qm as buildMultiTypesWithSubTypes,
37064
37090
  jl as buildSinglePlatformWithSubTypes,
37065
37091
  Ql as buildSingleType,
37066
37092
  Js as categorizeGames,
37067
37093
  je as convertLanguageCode,
37068
- ym as createLogoutHandler,
37094
+ Um as createLogoutHandler,
37069
37095
  Vs as extractGameSubTypeNames,
37070
37096
  Is as extractGameTypeNames,
37071
37097
  wn as extractPlatformNames,
@@ -37075,67 +37101,67 @@ export {
37075
37101
  jn as findSubPlatform,
37076
37102
  zs as flattenAllGames,
37077
37103
  Zs as flattenFavoriteGames,
37078
- Um as formatNumber,
37104
+ bm as formatNumber,
37079
37105
  qs as groupGamesByPlatform,
37080
37106
  $s as groupGamesByPlatformAndSubType,
37081
37107
  $l as groupGamesBySubType,
37082
37108
  Ws as handleDarkImage,
37083
37109
  Xs as initMockWindowData,
37084
37110
  Qs as processGameInfo,
37085
- Qm as processPlatformData,
37086
- xm as useAbandonPoint,
37111
+ jm as processPlatformData,
37112
+ Sm as useAbandonPoint,
37087
37113
  re as useApiContext,
37088
- bm as useBalanceGetter,
37089
- hm as useBet,
37114
+ Cm as useBalanceGetter,
37115
+ Tm as useBet,
37090
37116
  co as useBetRecord,
37091
37117
  fo as useBetRecordDetail,
37092
37118
  Io as useCheckCurrentEventProgress,
37093
37119
  Vo as useCheckEventStatus,
37094
- km as useCheckPlayerWager,
37095
- Em as useClientWebSocket,
37120
+ xm as useCheckPlayerWager,
37121
+ Nm as useClientWebSocket,
37096
37122
  ds as useCurrentRebate,
37097
37123
  Qo as useDepositAction,
37098
37124
  Yo as useDepositTransaction,
37099
37125
  qo as useDepositV1,
37100
37126
  $o as useDepositV2,
37101
- Lm as useEvent,
37127
+ Gm as useEvent,
37102
37128
  zo as useEventList,
37103
37129
  Xo as useEventTransaction,
37104
37130
  Us as useExpiredRewardsList,
37105
- Km as useGameConfig,
37106
- _m as useGameInfoContext,
37131
+ qm as useGameConfig,
37132
+ ym as useGameInfoContext,
37107
37133
  Ys as useGamesInfo,
37108
- Gm as useGetCarouseList,
37134
+ Mm as useGetCarouseList,
37109
37135
  Ho as useGetMachineLoginCode,
37110
- Mm as useGetMarquee,
37111
- Cm as useGetMemberInfo,
37112
- Rm as useGetRankingGame,
37136
+ Rm as useGetMarquee,
37137
+ vm as useGetMemberInfo,
37138
+ Pm as useGetRankingGame,
37113
37139
  bs as useHistoryRewardsList,
37114
- Jm as useIdleTimeout,
37115
- Pm as useInbox,
37140
+ Km as useIdleTimeout,
37141
+ Fm as useInbox,
37116
37142
  Zo as useInboxList,
37117
- vm as useInitializeWithToken,
37118
- Om as useInvoiceAction,
37143
+ hm as useInitializeWithToken,
37144
+ Bm as useInvoiceAction,
37119
37145
  tl as useLineLogin,
37120
37146
  Bo as useLineLogin2,
37121
37147
  Eo as useLogin,
37122
37148
  No as useLogout,
37123
- Sm as useMemberTransfer,
37124
- wm as useNewsDetail,
37125
- Fm as useNewsList,
37126
- Hm as usePayment,
37127
- qm as usePlatformConfig,
37128
- Wm as usePlayGame,
37129
- Tm as usePointTransfer,
37149
+ Dm as useMemberTransfer,
37150
+ Am as useNewsDetail,
37151
+ wm as useNewsList,
37152
+ Wm as usePayment,
37153
+ $m as usePlatformConfig,
37154
+ zm as usePlayGame,
37155
+ km as usePointTransfer,
37130
37156
  Jo as useReadInbox,
37131
- zm as useRebate,
37157
+ Im as useRebate,
37132
37158
  cs as useReceiveRebate,
37133
- Am as useRedeemCodeDeposit,
37134
- Nm as useRedeemEventReward,
37159
+ Om as useRedeemCodeDeposit,
37160
+ Lm as useRedeemEventReward,
37135
37161
  _s as useRedeemReward,
37136
37162
  Ro as useResetUserPassword,
37137
37163
  Fo as useResetUserTransactionPassword,
37138
- Im as useRewards,
37164
+ Vm as useRewards,
37139
37165
  fs as useRewardsList,
37140
37166
  Po as useSetUserTransactionPassword,
37141
37167
  Lo as useSignUp,
@@ -37143,13 +37169,13 @@ export {
37143
37169
  Go as useToggleFavoriteGame,
37144
37170
  Oo as useTransferInGame,
37145
37171
  ys as useUnUsedRewardsList,
37146
- Bm as useUpdateInvoiceAction,
37172
+ Hm as useUpdateInvoiceAction,
37147
37173
  Mo as useUpdateUserInfo,
37148
- Dm as useUser,
37174
+ Em as useUser,
37149
37175
  Ao as useUserBindCard,
37150
37176
  wo as useUserRebate,
37151
- Zm as useVip,
37152
- Vm as useVipInfo,
37177
+ Jm as useVip,
37178
+ Zm as useVipInfo,
37153
37179
  Cs as useVipList,
37154
37180
  jo as useWithdrawAction,
37155
37181
  as as useWithdrawTransaction