@obb871001/api-integration-sdk 1.0.307 → 1.0.309

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
@@ -12,18 +12,18 @@ function Zl(e) {
12
12
  var n = e.default;
13
13
  if (typeof n == "function") {
14
14
  var i = function l() {
15
- var u = !1;
15
+ var p = !1;
16
16
  try {
17
- u = this instanceof l;
17
+ p = this instanceof l;
18
18
  } catch {
19
19
  }
20
- return u ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
20
+ return p ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
21
21
  };
22
22
  i.prototype = n.prototype;
23
23
  } else i = {};
24
24
  return Object.defineProperty(i, "__esModule", { value: !0 }), Object.keys(e).forEach(function(l) {
25
- var u = Object.getOwnPropertyDescriptor(e, l);
26
- Object.defineProperty(i, l, u.get ? u : {
25
+ var p = Object.getOwnPropertyDescriptor(e, l);
26
+ Object.defineProperty(i, l, p.get ? p : {
27
27
  enumerable: !0,
28
28
  get: function() {
29
29
  return e[l];
@@ -36,13 +36,13 @@ var St;
36
36
  function Jl() {
37
37
  if (St) return Za;
38
38
  St = 1;
39
- var e = de, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, u = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
39
+ var e = de, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
40
  function b(d, r, a) {
41
- var t, o = {}, s = null, p = null;
42
- a !== void 0 && (s = "" + a), r.key !== void 0 && (s = "" + r.key), r.ref !== void 0 && (p = r.ref);
41
+ var t, o = {}, s = null, u = null;
42
+ a !== void 0 && (s = "" + a), r.key !== void 0 && (s = "" + r.key), r.ref !== void 0 && (u = r.ref);
43
43
  for (t in r) l.call(r, t) && !g.hasOwnProperty(t) && (o[t] = r[t]);
44
44
  if (d && d.defaultProps) for (t in r = d.defaultProps, r) o[t] === void 0 && (o[t] = r[t]);
45
- return { $$typeof: n, type: d, key: s, ref: p, props: o, _owner: u.current };
45
+ return { $$typeof: n, type: d, key: s, ref: u, props: o, _owner: p.current };
46
46
  }
47
47
  return Za.Fragment = i, Za.jsx = b, Za.jsxs = b, Za;
48
48
  }
@@ -50,7 +50,7 @@ var Ja = {};
50
50
  var Dt;
51
51
  function Kl() {
52
52
  return Dt || (Dt = 1, process.env.NODE_ENV !== "production" && (function() {
53
- var e = de, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), d = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), m = Symbol.iterator, c = "@@iterator";
53
+ var e = de, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), d = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = 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";
54
54
  function f(h) {
55
55
  if (h === null || typeof h != "object")
56
56
  return null;
@@ -78,7 +78,7 @@ function Kl() {
78
78
  var C = !1, v = !1, x = !1, D = !1, M = !1, H;
79
79
  H = Symbol.for("react.module.reference");
80
80
  function k(h) {
81
- return !!(typeof h == "string" || typeof h == "function" || h === l || h === g || M || h === u || h === a || h === t || D || h === p || C || v || x || typeof h == "object" && h !== null && (h.$$typeof === s || h.$$typeof === o || h.$$typeof === b || h.$$typeof === d || h.$$typeof === r || // This needs to include all possible module reference object
81
+ return !!(typeof h == "string" || typeof h == "function" || h === l || h === g || M || h === p || h === a || h === t || D || h === u || C || v || x || typeof h == "object" && h !== null && (h.$$typeof === s || h.$$typeof === o || h.$$typeof === b || h.$$typeof === d || h.$$typeof === r || // 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.
@@ -108,7 +108,7 @@ function Kl() {
108
108
  return "Portal";
109
109
  case g:
110
110
  return "Profiler";
111
- case u:
111
+ case p:
112
112
  return "StrictMode";
113
113
  case a:
114
114
  return "Suspense";
@@ -652,11 +652,11 @@ const zn = Vi(null), oe = () => {
652
652
  PENDING: "pending"
653
653
  }, In = Vi(null), $l = ({ children: e }) => {
654
654
  const [n, i] = tt(Ka.PENDING), l = Oa(() => {
655
- const u = n === Ka.READY, g = n === Ka.PENDING;
655
+ const p = n === Ka.READY, g = n === Ka.PENDING;
656
656
  return {
657
657
  status: n,
658
658
  setStatus: i,
659
- isReady: u,
659
+ isReady: p,
660
660
  isPending: g,
661
661
  setAsReady: () => i(Ka.READY),
662
662
  setAsPending: () => i(Ka.PENDING)
@@ -701,7 +701,7 @@ function Lt({
701
701
  getToken: n,
702
702
  timeoutMs: i = 15e3,
703
703
  lng: l = "tw",
704
- store: u,
704
+ store: p,
705
705
  onError: g,
706
706
  formData: b = !1,
707
707
  currency: d,
@@ -719,7 +719,7 @@ function Lt({
719
719
  const s = await n();
720
720
  s && (t.headers.Authorization = `Bearer ${s}`);
721
721
  }
722
- const o = u?.getState()?.isWalletCurrency || d || "TWD";
722
+ const o = p?.getState()?.isWalletCurrency || d || "TWD";
723
723
  return t.headers.Currency = o, t.headers["currency-code"] = o, t.headers.lang = l, t;
724
724
  }), a.interceptors.response.use(
725
725
  (t) => t.data,
@@ -731,7 +731,7 @@ function Lt({
731
731
  );
732
732
  if (r) {
733
733
  const s = $e(l);
734
- u?.dispatch({
734
+ p?.dispatch({
735
735
  type: "ui/showToast",
736
736
  payload: {
737
737
  title: ja[s] || "System Prompt",
@@ -753,11 +753,11 @@ const qn = Vi(null), bm = () => {
753
753
  );
754
754
  return e;
755
755
  }, Cm = () => {
756
- const e = (l, u) => !l && !u, n = (l) => l.startsWith("pc.");
756
+ const e = (l, p) => !l && !p, n = (l) => l.startsWith("pc.");
757
757
  return {
758
758
  executeLogout: ({
759
759
  isCallBackInvalid: l = !1,
760
- hostname: u = "",
760
+ hostname: p = "",
761
761
  shouldRedirect: g,
762
762
  onShowError: b,
763
763
  onCleanup: d,
@@ -765,7 +765,7 @@ const qn = Vi(null), bm = () => {
765
765
  onRedirect: a,
766
766
  onGoogleLogout: t
767
767
  }) => {
768
- const o = n(u);
768
+ const o = n(p);
769
769
  e(l, o) && b?.(), d?.(), r?.(), g && a?.("/"), t?.();
770
770
  },
771
771
  shouldShowErrorNotice: e,
@@ -786,11 +786,11 @@ const qn = Vi(null), bm = () => {
786
786
  platforms: n,
787
787
  gameList: i,
788
788
  allGameTypes: l,
789
- allPlatforms: u
789
+ allPlatforms: p
790
790
  }) => {
791
791
  const g = $n(l, e);
792
792
  return g ? n.reduce((b, d) => {
793
- const r = Qn(u, d), a = jn(u, d), t = i[g] || [], o = Yn(
793
+ const r = Qn(p, d), a = jn(p, d), t = i[g] || [], o = Yn(
794
794
  t,
795
795
  r,
796
796
  a
@@ -802,10 +802,10 @@ const qn = Vi(null), bm = () => {
802
802
  gamesOfType: n = [],
803
803
  allPlatforms: i = []
804
804
  }) => {
805
- const l = Qn(i, e), u = jn(i, e), g = Yn(
805
+ const l = Qn(i, e), p = jn(i, e), g = Yn(
806
806
  n,
807
807
  l,
808
- u
808
+ p
809
809
  );
810
810
  return Ql(g);
811
811
  };
@@ -815,7 +815,7 @@ function er() {
815
815
  (function(i, l) {
816
816
  e.exports = l();
817
817
  })(Xl, (function() {
818
- var i = 1e3, l = 6e4, u = 36e5, g = "millisecond", b = "second", d = "minute", r = "hour", a = "day", t = "week", o = "month", s = "quarter", p = "year", m = "date", c = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
818
+ var i = 1e3, l = 6e4, p = 36e5, g = "millisecond", b = "second", d = "minute", r = "hour", a = "day", t = "week", o = "month", s = "quarter", u = "year", m = "date", c = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
819
819
  var R = ["th", "st", "nd", "rd"], S = w % 100;
820
820
  return "[" + w + (R[(S - 20) % 10] || R[S] || R[0]) + "]";
821
821
  } }, U = function(w, R, S) {
@@ -831,7 +831,7 @@ function er() {
831
831
  }, a: function(w) {
832
832
  return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
833
833
  }, p: function(w) {
834
- return { M: o, y: p, w: t, d: a, D: m, h: r, m: d, s: b, ms: g, Q: s }[w] || String(w || "").toLowerCase().replace(/s$/, "");
834
+ return { M: o, y: u, w: t, d: a, D: m, h: r, m: d, s: b, ms: g, Q: s }[w] || String(w || "").toLowerCase().replace(/s$/, "");
835
835
  }, u: function(w) {
836
836
  return w === void 0;
837
837
  } }, v = "en", x = {};
@@ -907,7 +907,7 @@ function er() {
907
907
  return T.w(L.toDate()[ae].apply(L.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(te)), L);
908
908
  }, F = this.$W, P = this.$M, K = this.$D, q = "set" + (this.$u ? "UTC" : "");
909
909
  switch (W) {
910
- case p:
910
+ case u:
911
911
  return B ? N(1, 0) : N(31, 11);
912
912
  case o:
913
913
  return B ? N(1, P) : N(0, P + 1);
@@ -929,8 +929,8 @@ function er() {
929
929
  }, R.endOf = function(S) {
930
930
  return this.startOf(S, !1);
931
931
  }, R.$set = function(S, G) {
932
- var L, B = T.p(S), W = "set" + (this.$u ? "UTC" : ""), N = (L = {}, L[a] = W + "Date", L[m] = W + "Date", L[o] = W + "Month", L[p] = W + "FullYear", L[r] = W + "Hours", L[d] = W + "Minutes", L[b] = W + "Seconds", L[g] = W + "Milliseconds", L)[B], E = B === a ? this.$D + (G - this.$W) : G;
933
- if (B === o || B === p) {
932
+ var L, B = T.p(S), W = "set" + (this.$u ? "UTC" : ""), N = (L = {}, L[a] = W + "Date", L[m] = W + "Date", L[o] = W + "Month", L[u] = W + "FullYear", L[r] = W + "Hours", L[d] = W + "Minutes", L[b] = W + "Seconds", L[g] = W + "Milliseconds", L)[B], E = B === a ? this.$D + (G - this.$W) : G;
933
+ if (B === o || B === u) {
934
934
  var F = this.clone().set(m, 1);
935
935
  F.$d[N](E), F.init(), this.$d = F.set(m, Math.min(this.$D, F.daysInMonth())).$d;
936
936
  } else N && this.$d[N](E);
@@ -947,10 +947,10 @@ function er() {
947
947
  return T.w(K.date(K.date() + Math.round(P * S)), B);
948
948
  };
949
949
  if (W === o) return this.set(o, this.$M + S);
950
- if (W === p) return this.set(p, this.$y + S);
950
+ if (W === u) return this.set(u, this.$y + S);
951
951
  if (W === a) return N(1);
952
952
  if (W === t) return N(7);
953
- var E = (L = {}, L[d] = l, L[r] = u, L[b] = i, L)[W] || 1, F = this.$d.getTime() + S * E;
953
+ var E = (L = {}, L[d] = l, L[r] = p, L[b] = i, L)[W] || 1, F = this.$d.getTime() + S * E;
954
954
  return T.w(F, this);
955
955
  }, R.subtract = function(S, G) {
956
956
  return this.add(-1 * S, G);
@@ -1027,7 +1027,7 @@ function er() {
1027
1027
  return T.m(W, E);
1028
1028
  };
1029
1029
  switch (N) {
1030
- case p:
1030
+ case u:
1031
1031
  B = K() / 12;
1032
1032
  break;
1033
1033
  case o:
@@ -1043,7 +1043,7 @@ function er() {
1043
1043
  B = (P - F) / 864e5;
1044
1044
  break;
1045
1045
  case r:
1046
- B = P / u;
1046
+ B = P / p;
1047
1047
  break;
1048
1048
  case d:
1049
1049
  B = P / l;
@@ -1075,7 +1075,7 @@ function er() {
1075
1075
  return this.$d.toUTCString();
1076
1076
  }, w;
1077
1077
  })(), O = A.prototype;
1078
- return k.prototype = O, [["$ms", g], ["$s", b], ["$m", d], ["$H", r], ["$W", a], ["$M", o], ["$y", p], ["$D", m]].forEach((function(w) {
1078
+ return k.prototype = O, [["$ms", g], ["$s", b], ["$m", d], ["$H", r], ["$W", a], ["$M", o], ["$y", u], ["$D", m]].forEach((function(w) {
1079
1079
  O[w[1]] = function(R) {
1080
1080
  return this.$g(R, w[0], w[1]);
1081
1081
  };
@@ -1104,7 +1104,7 @@ function ie() {
1104
1104
  (function(i, l) {
1105
1105
  e.exports = l();
1106
1106
  })(rr, function() {
1107
- var i = i || (function(l, u) {
1107
+ var i = i || (function(l, p) {
1108
1108
  var g;
1109
1109
  if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof Qi < "u" && Qi.crypto && (g = Qi.crypto), !g && typeof ir == "function")
1110
1110
  try {
@@ -1231,7 +1231,7 @@ function ie() {
1231
1231
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
1232
1232
  */
1233
1233
  init: function(_, U) {
1234
- _ = this.words = _ || [], U != u ? this.sigBytes = U : this.sigBytes = _.length * 4;
1234
+ _ = this.words = _ || [], U != p ? this.sigBytes = U : this.sigBytes = _.length * 4;
1235
1235
  },
1236
1236
  /**
1237
1237
  * Converts this word array to a string.
@@ -1247,7 +1247,7 @@ function ie() {
1247
1247
  * var string = wordArray.toString(CryptoJS.enc.Utf8);
1248
1248
  */
1249
1249
  toString: function(_) {
1250
- return (_ || p).stringify(this);
1250
+ return (_ || u).stringify(this);
1251
1251
  },
1252
1252
  /**
1253
1253
  * Concatenates a word array to this word array.
@@ -1314,7 +1314,7 @@ function ie() {
1314
1314
  U.push(b());
1315
1315
  return new o.init(U, _);
1316
1316
  }
1317
- }), s = r.enc = {}, p = s.Hex = {
1317
+ }), s = r.enc = {}, u = s.Hex = {
1318
1318
  /**
1319
1319
  * Converts a word array to a hex string.
1320
1320
  *
@@ -1606,7 +1606,7 @@ function Ki() {
1606
1606
  e.exports = l(ie());
1607
1607
  })(or, function(i) {
1608
1608
  return (function(l) {
1609
- var u = i, g = u.lib, b = g.Base, d = g.WordArray, r = u.x64 = {};
1609
+ var p = i, g = p.lib, b = g.Base, d = g.WordArray, r = p.x64 = {};
1610
1610
  r.Word = b.extend({
1611
1611
  /**
1612
1612
  * Initializes a newly created 64-bit word.
@@ -1805,8 +1805,8 @@ function Ki() {
1805
1805
  */
1806
1806
  toX32: function() {
1807
1807
  for (var a = this.words, t = a.length, o = [], s = 0; s < t; s++) {
1808
- var p = a[s];
1809
- o.push(p.high), o.push(p.low);
1808
+ var u = a[s];
1809
+ o.push(u.high), o.push(u.low);
1810
1810
  }
1811
1811
  return d.create(o, this.sigBytes);
1812
1812
  },
@@ -1837,7 +1837,7 @@ function mr() {
1837
1837
  })(sr, function(i) {
1838
1838
  return (function() {
1839
1839
  if (typeof ArrayBuffer == "function") {
1840
- var l = i, u = l.lib, g = u.WordArray, b = g.init, d = g.init = function(r) {
1840
+ var l = i, p = l.lib, g = p.WordArray, b = g.init, d = g.init = function(r) {
1841
1841
  if (r instanceof ArrayBuffer && (r = new Uint8Array(r)), (r instanceof Int8Array || typeof Uint8ClampedArray < "u" && r instanceof Uint8ClampedArray || r instanceof Int16Array || r instanceof Uint16Array || r instanceof Int32Array || r instanceof Uint32Array || r instanceof Float32Array || r instanceof Float64Array) && (r = new Uint8Array(r.buffer, r.byteOffset, r.byteLength)), r instanceof Uint8Array) {
1842
1842
  for (var a = r.byteLength, t = [], o = 0; o < a; o++)
1843
1843
  t[o >>> 2] |= r[o] << 24 - o % 4 * 8;
@@ -1858,7 +1858,7 @@ function pr() {
1858
1858
  e.exports = l(ie());
1859
1859
  })(ur, function(i) {
1860
1860
  return (function() {
1861
- var l = i, u = l.lib, g = u.WordArray, b = l.enc;
1861
+ var l = i, p = l.lib, g = p.WordArray, b = l.enc;
1862
1862
  b.Utf16 = b.Utf16BE = {
1863
1863
  /**
1864
1864
  * Converts a word array to a UTF-16 BE string.
@@ -1875,8 +1875,8 @@ function pr() {
1875
1875
  */
1876
1876
  stringify: function(r) {
1877
1877
  for (var a = r.words, t = r.sigBytes, o = [], s = 0; s < t; s += 2) {
1878
- var p = a[s >>> 2] >>> 16 - s % 4 * 8 & 65535;
1879
- o.push(String.fromCharCode(p));
1878
+ var u = a[s >>> 2] >>> 16 - s % 4 * 8 & 65535;
1879
+ o.push(String.fromCharCode(u));
1880
1880
  }
1881
1881
  return o.join("");
1882
1882
  },
@@ -1914,8 +1914,8 @@ function pr() {
1914
1914
  */
1915
1915
  stringify: function(r) {
1916
1916
  for (var a = r.words, t = r.sigBytes, o = [], s = 0; s < t; s += 2) {
1917
- var p = d(a[s >>> 2] >>> 16 - s % 4 * 8 & 65535);
1918
- o.push(String.fromCharCode(p));
1917
+ var u = d(a[s >>> 2] >>> 16 - s % 4 * 8 & 65535);
1918
+ o.push(String.fromCharCode(u));
1919
1919
  }
1920
1920
  return o.join("");
1921
1921
  },
@@ -1952,7 +1952,7 @@ function Sa() {
1952
1952
  e.exports = l(ie());
1953
1953
  })(gr, function(i) {
1954
1954
  return (function() {
1955
- var l = i, u = l.lib, g = u.WordArray, b = l.enc;
1955
+ var l = i, p = l.lib, g = p.WordArray, b = l.enc;
1956
1956
  b.Base64 = {
1957
1957
  /**
1958
1958
  * Converts a word array to a Base64 string.
@@ -1970,8 +1970,8 @@ function Sa() {
1970
1970
  stringify: function(r) {
1971
1971
  var a = r.words, t = r.sigBytes, o = this._map;
1972
1972
  r.clamp();
1973
- for (var s = [], p = 0; p < t; p += 3)
1974
- for (var m = a[p >>> 2] >>> 24 - p % 4 * 8 & 255, c = a[p + 1 >>> 2] >>> 24 - (p + 1) % 4 * 8 & 255, f = a[p + 2 >>> 2] >>> 24 - (p + 2) % 4 * 8 & 255, y = m << 16 | c << 8 | f, _ = 0; _ < 4 && p + _ * 0.75 < t; _++)
1973
+ for (var s = [], u = 0; u < t; u += 3)
1974
+ for (var m = a[u >>> 2] >>> 24 - u % 4 * 8 & 255, c = a[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, f = a[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, y = m << 16 | c << 8 | f, _ = 0; _ < 4 && u + _ * 0.75 < t; _++)
1975
1975
  s.push(o.charAt(y >>> 6 * (3 - _) & 63));
1976
1976
  var U = o.charAt(64);
1977
1977
  if (U)
@@ -1999,9 +1999,9 @@ function Sa() {
1999
1999
  for (var s = 0; s < t.length; s++)
2000
2000
  o[t.charCodeAt(s)] = s;
2001
2001
  }
2002
- var p = t.charAt(64);
2003
- if (p) {
2004
- var m = r.indexOf(p);
2002
+ var u = t.charAt(64);
2003
+ if (u) {
2004
+ var m = r.indexOf(u);
2005
2005
  m !== -1 && (a = m);
2006
2006
  }
2007
2007
  return d(r, a, o);
@@ -2009,9 +2009,9 @@ function Sa() {
2009
2009
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
2010
2010
  };
2011
2011
  function d(r, a, t) {
2012
- for (var o = [], s = 0, p = 0; p < a; p++)
2013
- if (p % 4) {
2014
- var m = t[r.charCodeAt(p - 1)] << p % 4 * 2, c = t[r.charCodeAt(p)] >>> 6 - p % 4 * 2, f = m | c;
2012
+ for (var o = [], s = 0, u = 0; u < a; u++)
2013
+ if (u % 4) {
2014
+ var m = t[r.charCodeAt(u - 1)] << u % 4 * 2, c = t[r.charCodeAt(u)] >>> 6 - u % 4 * 2, f = m | c;
2015
2015
  o[s >>> 2] |= f << 24 - s % 4 * 8, s++;
2016
2016
  }
2017
2017
  return g.create(o, s);
@@ -2027,7 +2027,7 @@ function cr() {
2027
2027
  e.exports = l(ie());
2028
2028
  })(dr, function(i) {
2029
2029
  return (function() {
2030
- var l = i, u = l.lib, g = u.WordArray, b = l.enc;
2030
+ var l = i, p = l.lib, g = p.WordArray, b = l.enc;
2031
2031
  b.Base64url = {
2032
2032
  /**
2033
2033
  * Converts a word array to a Base64url string.
@@ -2048,14 +2048,14 @@ function cr() {
2048
2048
  a === void 0 && (a = !0);
2049
2049
  var t = r.words, o = r.sigBytes, s = a ? this._safe_map : this._map;
2050
2050
  r.clamp();
2051
- for (var p = [], m = 0; m < o; m += 3)
2051
+ for (var u = [], m = 0; m < o; m += 3)
2052
2052
  for (var c = t[m >>> 2] >>> 24 - m % 4 * 8 & 255, f = t[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = t[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, _ = c << 16 | f << 8 | y, U = 0; U < 4 && m + U * 0.75 < o; U++)
2053
- p.push(s.charAt(_ >>> 6 * (3 - U) & 63));
2053
+ u.push(s.charAt(_ >>> 6 * (3 - U) & 63));
2054
2054
  var C = s.charAt(64);
2055
2055
  if (C)
2056
- for (; p.length % 4; )
2057
- p.push(C);
2058
- return p.join("");
2056
+ for (; u.length % 4; )
2057
+ u.push(C);
2058
+ return u.join("");
2059
2059
  },
2060
2060
  /**
2061
2061
  * Converts a Base64url string to a word array.
@@ -2077,8 +2077,8 @@ function cr() {
2077
2077
  var t = r.length, o = a ? this._safe_map : this._map, s = this._reverseMap;
2078
2078
  if (!s) {
2079
2079
  s = this._reverseMap = [];
2080
- for (var p = 0; p < o.length; p++)
2081
- s[o.charCodeAt(p)] = p;
2080
+ for (var u = 0; u < o.length; u++)
2081
+ s[o.charCodeAt(u)] = u;
2082
2082
  }
2083
2083
  var m = o.charAt(64);
2084
2084
  if (m) {
@@ -2091,9 +2091,9 @@ function cr() {
2091
2091
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
2092
2092
  };
2093
2093
  function d(r, a, t) {
2094
- for (var o = [], s = 0, p = 0; p < a; p++)
2095
- if (p % 4) {
2096
- var m = t[r.charCodeAt(p - 1)] << p % 4 * 2, c = t[r.charCodeAt(p)] >>> 6 - p % 4 * 2, f = m | c;
2094
+ for (var o = [], s = 0, u = 0; u < a; u++)
2095
+ if (u % 4) {
2096
+ var m = t[r.charCodeAt(u - 1)] << u % 4 * 2, c = t[r.charCodeAt(u)] >>> 6 - u % 4 * 2, f = m | c;
2097
2097
  o[s >>> 2] |= f << 24 - s % 4 * 8, s++;
2098
2098
  }
2099
2099
  return g.create(o, s);
@@ -2109,7 +2109,7 @@ function Da() {
2109
2109
  e.exports = l(ie());
2110
2110
  })(fr, function(i) {
2111
2111
  return (function(l) {
2112
- var u = i, g = u.lib, b = g.WordArray, d = g.Hasher, r = u.algo, a = [];
2112
+ var p = i, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.algo, a = [];
2113
2113
  (function() {
2114
2114
  for (var c = 0; c < 64; c++)
2115
2115
  a[c] = l.abs(l.sin(c + 1)) * 4294967296 | 0;
@@ -2129,7 +2129,7 @@ function Da() {
2129
2129
  c[_] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
2130
2130
  }
2131
2131
  var C = this._hash.words, v = c[f + 0], x = c[f + 1], D = c[f + 2], M = c[f + 3], H = c[f + 4], k = c[f + 5], T = c[f + 6], A = c[f + 7], O = c[f + 8], w = c[f + 9], R = c[f + 10], S = c[f + 11], G = c[f + 12], L = c[f + 13], B = c[f + 14], W = c[f + 15], N = C[0], E = C[1], F = C[2], P = C[3];
2132
- N = o(N, E, F, P, v, 7, a[0]), P = o(P, N, E, F, x, 12, a[1]), F = o(F, P, N, E, D, 17, a[2]), E = o(E, F, P, N, M, 22, a[3]), N = o(N, E, F, P, H, 7, a[4]), P = o(P, N, E, F, k, 12, a[5]), F = o(F, P, N, E, T, 17, a[6]), E = o(E, F, P, N, A, 22, a[7]), N = o(N, E, F, P, O, 7, a[8]), P = o(P, N, E, F, w, 12, a[9]), F = o(F, P, N, E, R, 17, a[10]), E = o(E, F, P, N, S, 22, a[11]), N = o(N, E, F, P, G, 7, a[12]), P = o(P, N, E, F, L, 12, a[13]), F = o(F, P, N, E, B, 17, a[14]), E = o(E, F, P, N, W, 22, a[15]), N = s(N, E, F, P, x, 5, a[16]), P = s(P, N, E, F, T, 9, a[17]), F = s(F, P, N, E, S, 14, a[18]), E = s(E, F, P, N, v, 20, a[19]), N = s(N, E, F, P, k, 5, a[20]), P = s(P, N, E, F, R, 9, a[21]), F = s(F, P, N, E, W, 14, a[22]), E = s(E, F, P, N, H, 20, a[23]), N = s(N, E, F, P, w, 5, a[24]), P = s(P, N, E, F, B, 9, a[25]), F = s(F, P, N, E, M, 14, a[26]), E = s(E, F, P, N, O, 20, a[27]), N = s(N, E, F, P, L, 5, a[28]), P = s(P, N, E, F, D, 9, a[29]), F = s(F, P, N, E, A, 14, a[30]), E = s(E, F, P, N, G, 20, a[31]), N = p(N, E, F, P, k, 4, a[32]), P = p(P, N, E, F, O, 11, a[33]), F = p(F, P, N, E, S, 16, a[34]), E = p(E, F, P, N, B, 23, a[35]), N = p(N, E, F, P, x, 4, a[36]), P = p(P, N, E, F, H, 11, a[37]), F = p(F, P, N, E, A, 16, a[38]), E = p(E, F, P, N, R, 23, a[39]), N = p(N, E, F, P, L, 4, a[40]), P = p(P, N, E, F, v, 11, a[41]), F = p(F, P, N, E, M, 16, a[42]), E = p(E, F, P, N, T, 23, a[43]), N = p(N, E, F, P, w, 4, a[44]), P = p(P, N, E, F, G, 11, a[45]), F = p(F, P, N, E, W, 16, a[46]), E = p(E, F, P, N, D, 23, a[47]), N = m(N, E, F, P, v, 6, a[48]), P = m(P, N, E, F, A, 10, a[49]), F = m(F, P, N, E, B, 15, a[50]), E = m(E, F, P, N, k, 21, a[51]), N = m(N, E, F, P, G, 6, a[52]), P = m(P, N, E, F, M, 10, a[53]), F = m(F, P, N, E, R, 15, a[54]), E = m(E, F, P, N, x, 21, a[55]), N = m(N, E, F, P, O, 6, a[56]), P = m(P, N, E, F, W, 10, a[57]), F = m(F, P, N, E, T, 15, a[58]), E = m(E, F, P, N, L, 21, a[59]), N = m(N, E, F, P, H, 6, a[60]), P = m(P, N, E, F, S, 10, a[61]), F = m(F, P, N, E, D, 15, a[62]), E = m(E, F, P, N, w, 21, a[63]), C[0] = C[0] + N | 0, C[1] = C[1] + E | 0, C[2] = C[2] + F | 0, C[3] = C[3] + P | 0;
2132
+ N = o(N, E, F, P, v, 7, a[0]), P = o(P, N, E, F, x, 12, a[1]), F = o(F, P, N, E, D, 17, a[2]), E = o(E, F, P, N, M, 22, a[3]), N = o(N, E, F, P, H, 7, a[4]), P = o(P, N, E, F, k, 12, a[5]), F = o(F, P, N, E, T, 17, a[6]), E = o(E, F, P, N, A, 22, a[7]), N = o(N, E, F, P, O, 7, a[8]), P = o(P, N, E, F, w, 12, a[9]), F = o(F, P, N, E, R, 17, a[10]), E = o(E, F, P, N, S, 22, a[11]), N = o(N, E, F, P, G, 7, a[12]), P = o(P, N, E, F, L, 12, a[13]), F = o(F, P, N, E, B, 17, a[14]), E = o(E, F, P, N, W, 22, a[15]), N = s(N, E, F, P, x, 5, a[16]), P = s(P, N, E, F, T, 9, a[17]), F = s(F, P, N, E, S, 14, a[18]), E = s(E, F, P, N, v, 20, a[19]), N = s(N, E, F, P, k, 5, a[20]), P = s(P, N, E, F, R, 9, a[21]), F = s(F, P, N, E, W, 14, a[22]), E = s(E, F, P, N, H, 20, a[23]), N = s(N, E, F, P, w, 5, a[24]), P = s(P, N, E, F, B, 9, a[25]), F = s(F, P, N, E, M, 14, a[26]), E = s(E, F, P, N, O, 20, a[27]), N = s(N, E, F, P, L, 5, a[28]), P = s(P, N, E, F, D, 9, a[29]), F = s(F, P, N, E, A, 14, a[30]), E = s(E, F, P, N, G, 20, a[31]), N = u(N, E, F, P, k, 4, a[32]), P = u(P, N, E, F, O, 11, a[33]), F = u(F, P, N, E, S, 16, a[34]), E = u(E, F, P, N, B, 23, a[35]), N = u(N, E, F, P, x, 4, a[36]), P = u(P, N, E, F, H, 11, a[37]), F = u(F, P, N, E, A, 16, a[38]), E = u(E, F, P, N, R, 23, a[39]), N = u(N, E, F, P, L, 4, a[40]), P = u(P, N, E, F, v, 11, a[41]), F = u(F, P, N, E, M, 16, a[42]), E = u(E, F, P, N, T, 23, a[43]), N = u(N, E, F, P, w, 4, a[44]), P = u(P, N, E, F, G, 11, a[45]), F = u(F, P, N, E, W, 16, a[46]), E = u(E, F, P, N, D, 23, a[47]), N = m(N, E, F, P, v, 6, a[48]), P = m(P, N, E, F, A, 10, a[49]), F = m(F, P, N, E, B, 15, a[50]), E = m(E, F, P, N, k, 21, a[51]), N = m(N, E, F, P, G, 6, a[52]), P = m(P, N, E, F, M, 10, a[53]), F = m(F, P, N, E, R, 15, a[54]), E = m(E, F, P, N, x, 21, a[55]), N = m(N, E, F, P, O, 6, a[56]), P = m(P, N, E, F, W, 10, a[57]), F = m(F, P, N, E, T, 15, a[58]), E = m(E, F, P, N, L, 21, a[59]), N = m(N, E, F, P, H, 6, a[60]), P = m(P, N, E, F, S, 10, a[61]), F = m(F, P, N, E, D, 15, a[62]), E = m(E, F, P, N, w, 21, a[63]), C[0] = C[0] + N | 0, C[1] = C[1] + E | 0, C[2] = C[2] + F | 0, C[3] = C[3] + P | 0;
2133
2133
  },
2134
2134
  _doFinalize: function() {
2135
2135
  var c = this._data, f = c.words, y = this._nDataBytes * 8, _ = c.sigBytes * 8;
@@ -2155,7 +2155,7 @@ function Da() {
2155
2155
  var x = c + (f & _ | y & ~_) + U + v;
2156
2156
  return (x << C | x >>> 32 - C) + f;
2157
2157
  }
2158
- function p(c, f, y, _, U, C, v) {
2158
+ function u(c, f, y, _, U, C, v) {
2159
2159
  var x = c + (f ^ y ^ _) + U + v;
2160
2160
  return (x << C | x >>> 32 - C) + f;
2161
2161
  }
@@ -2163,7 +2163,7 @@ function Da() {
2163
2163
  var x = c + (y ^ (f | ~_)) + U + v;
2164
2164
  return (x << C | x >>> 32 - C) + f;
2165
2165
  }
2166
- u.MD5 = d._createHelper(t), u.HmacMD5 = d._createHmacHelper(t);
2166
+ p.MD5 = d._createHelper(t), p.HmacMD5 = d._createHmacHelper(t);
2167
2167
  })(Math), i.MD5;
2168
2168
  });
2169
2169
  })(di)), di.exports;
@@ -2175,7 +2175,7 @@ function Xn() {
2175
2175
  e.exports = l(ie());
2176
2176
  })(_r, function(i) {
2177
2177
  return (function() {
2178
- var l = i, u = l.lib, g = u.WordArray, b = u.Hasher, d = l.algo, r = [], a = d.SHA1 = b.extend({
2178
+ var l = i, p = l.lib, g = p.WordArray, b = p.Hasher, d = l.algo, r = [], a = d.SHA1 = b.extend({
2179
2179
  _doReset: function() {
2180
2180
  this._hash = new g.init([
2181
2181
  1732584193,
@@ -2186,21 +2186,21 @@ function Xn() {
2186
2186
  ]);
2187
2187
  },
2188
2188
  _doProcessBlock: function(t, o) {
2189
- for (var s = this._hash.words, p = s[0], m = s[1], c = s[2], f = s[3], y = s[4], _ = 0; _ < 80; _++) {
2189
+ for (var s = this._hash.words, u = s[0], m = s[1], c = s[2], f = s[3], y = s[4], _ = 0; _ < 80; _++) {
2190
2190
  if (_ < 16)
2191
2191
  r[_] = t[o + _] | 0;
2192
2192
  else {
2193
2193
  var U = r[_ - 3] ^ r[_ - 8] ^ r[_ - 14] ^ r[_ - 16];
2194
2194
  r[_] = U << 1 | U >>> 31;
2195
2195
  }
2196
- var C = (p << 5 | p >>> 27) + y + r[_];
2197
- _ < 20 ? C += (m & c | ~m & f) + 1518500249 : _ < 40 ? C += (m ^ c ^ f) + 1859775393 : _ < 60 ? C += (m & c | m & f | c & f) - 1894007588 : C += (m ^ c ^ f) - 899497514, y = f, f = c, c = m << 30 | m >>> 2, m = p, p = C;
2196
+ var C = (u << 5 | u >>> 27) + y + r[_];
2197
+ _ < 20 ? C += (m & c | ~m & f) + 1518500249 : _ < 40 ? C += (m ^ c ^ f) + 1859775393 : _ < 60 ? C += (m & c | m & f | c & f) - 1894007588 : C += (m ^ c ^ f) - 899497514, y = f, f = c, c = m << 30 | m >>> 2, m = u, u = C;
2198
2198
  }
2199
- s[0] = s[0] + p | 0, s[1] = s[1] + m | 0, s[2] = s[2] + c | 0, s[3] = s[3] + f | 0, s[4] = s[4] + y | 0;
2199
+ s[0] = s[0] + u | 0, s[1] = s[1] + m | 0, s[2] = s[2] + c | 0, s[3] = s[3] + f | 0, s[4] = s[4] + y | 0;
2200
2200
  },
2201
2201
  _doFinalize: function() {
2202
- var t = this._data, o = t.words, s = this._nDataBytes * 8, p = t.sigBytes * 8;
2203
- return o[p >>> 5] |= 128 << 24 - p % 32, o[(p + 64 >>> 9 << 4) + 14] = Math.floor(s / 4294967296), o[(p + 64 >>> 9 << 4) + 15] = s, t.sigBytes = o.length * 4, this._process(), this._hash;
2202
+ var t = this._data, o = t.words, s = this._nDataBytes * 8, u = t.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, t.sigBytes = o.length * 4, this._process(), this._hash;
2204
2204
  },
2205
2205
  clone: function() {
2206
2206
  var t = b.clone.call(this);
@@ -2219,9 +2219,9 @@ function dt() {
2219
2219
  e.exports = l(ie());
2220
2220
  })(yr, function(i) {
2221
2221
  return (function(l) {
2222
- var u = i, g = u.lib, b = g.WordArray, d = g.Hasher, r = u.algo, a = [], t = [];
2222
+ var p = i, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.algo, a = [], t = [];
2223
2223
  (function() {
2224
- function p(y) {
2224
+ function u(y) {
2225
2225
  for (var _ = l.sqrt(y), U = 2; U <= _; U++)
2226
2226
  if (!(y % U))
2227
2227
  return !1;
@@ -2231,16 +2231,16 @@ function dt() {
2231
2231
  return (y - (y | 0)) * 4294967296 | 0;
2232
2232
  }
2233
2233
  for (var c = 2, f = 0; f < 64; )
2234
- p(c) && (f < 8 && (a[f] = m(l.pow(c, 1 / 2))), t[f] = m(l.pow(c, 1 / 3)), f++), c++;
2234
+ u(c) && (f < 8 && (a[f] = m(l.pow(c, 1 / 2))), t[f] = m(l.pow(c, 1 / 3)), f++), c++;
2235
2235
  })();
2236
2236
  var o = [], s = r.SHA256 = d.extend({
2237
2237
  _doReset: function() {
2238
2238
  this._hash = new b.init(a.slice(0));
2239
2239
  },
2240
- _doProcessBlock: function(p, m) {
2240
+ _doProcessBlock: function(u, m) {
2241
2241
  for (var c = this._hash.words, f = c[0], y = c[1], _ = c[2], U = c[3], C = c[4], v = c[5], x = c[6], D = c[7], M = 0; M < 64; M++) {
2242
2242
  if (M < 16)
2243
- o[M] = p[m + M] | 0;
2243
+ o[M] = u[m + M] | 0;
2244
2244
  else {
2245
2245
  var H = o[M - 15], k = (H << 25 | H >>> 7) ^ (H << 14 | H >>> 18) ^ H >>> 3, T = o[M - 2], A = (T << 15 | T >>> 17) ^ (T << 13 | T >>> 19) ^ T >>> 10;
2246
2246
  o[M] = k + o[M - 7] + A + o[M - 16];
@@ -2251,15 +2251,15 @@ function dt() {
2251
2251
  c[0] = c[0] + f | 0, c[1] = c[1] + y | 0, c[2] = c[2] + _ | 0, c[3] = c[3] + U | 0, c[4] = c[4] + C | 0, c[5] = c[5] + v | 0, c[6] = c[6] + x | 0, c[7] = c[7] + D | 0;
2252
2252
  },
2253
2253
  _doFinalize: function() {
2254
- var p = this._data, m = p.words, c = this._nDataBytes * 8, f = p.sigBytes * 8;
2255
- return m[f >>> 5] |= 128 << 24 - f % 32, m[(f + 64 >>> 9 << 4) + 14] = l.floor(c / 4294967296), m[(f + 64 >>> 9 << 4) + 15] = c, p.sigBytes = m.length * 4, this._process(), this._hash;
2254
+ var u = this._data, m = u.words, c = this._nDataBytes * 8, f = u.sigBytes * 8;
2255
+ return m[f >>> 5] |= 128 << 24 - f % 32, m[(f + 64 >>> 9 << 4) + 14] = l.floor(c / 4294967296), m[(f + 64 >>> 9 << 4) + 15] = c, u.sigBytes = m.length * 4, this._process(), this._hash;
2256
2256
  },
2257
2257
  clone: function() {
2258
- var p = d.clone.call(this);
2259
- return p._hash = this._hash.clone(), p;
2258
+ var u = d.clone.call(this);
2259
+ return u._hash = this._hash.clone(), u;
2260
2260
  }
2261
2261
  });
2262
- u.SHA256 = d._createHelper(s), u.HmacSHA256 = d._createHmacHelper(s);
2262
+ p.SHA256 = d._createHelper(s), p.HmacSHA256 = d._createHmacHelper(s);
2263
2263
  })(Math), i.SHA256;
2264
2264
  });
2265
2265
  })(fi)), fi.exports;
@@ -2267,11 +2267,11 @@ function dt() {
2267
2267
  var _i = { exports: {} }, Ur = _i.exports, Wt;
2268
2268
  function br() {
2269
2269
  return Wt || (Wt = 1, (function(e, n) {
2270
- (function(i, l, u) {
2270
+ (function(i, l, p) {
2271
2271
  e.exports = l(ie(), dt());
2272
2272
  })(Ur, function(i) {
2273
2273
  return (function() {
2274
- var l = i, u = l.lib, g = u.WordArray, b = l.algo, d = b.SHA256, r = b.SHA224 = d.extend({
2274
+ var l = i, p = l.lib, g = p.WordArray, b = l.algo, d = b.SHA256, r = b.SHA224 = d.extend({
2275
2275
  _doReset: function() {
2276
2276
  this._hash = new g.init([
2277
2277
  3238371032,
@@ -2297,11 +2297,11 @@ function br() {
2297
2297
  var yi = { exports: {} }, Cr = yi.exports, zt;
2298
2298
  function el() {
2299
2299
  return zt || (zt = 1, (function(e, n) {
2300
- (function(i, l, u) {
2300
+ (function(i, l, p) {
2301
2301
  e.exports = l(ie(), Ki());
2302
2302
  })(Cr, function(i) {
2303
2303
  return (function() {
2304
- var l = i, u = l.lib, g = u.Hasher, b = l.x64, d = b.Word, r = b.WordArray, a = l.algo;
2304
+ var l = i, p = l.lib, g = p.Hasher, b = l.x64, d = b.Word, r = b.WordArray, a = l.algo;
2305
2305
  function t() {
2306
2306
  return d.create.apply(d, arguments);
2307
2307
  }
@@ -2391,7 +2391,7 @@ function el() {
2391
2391
  for (var m = 0; m < 80; m++)
2392
2392
  s[m] = t();
2393
2393
  })();
2394
- var p = a.SHA512 = g.extend({
2394
+ var u = a.SHA512 = g.extend({
2395
2395
  _doReset: function() {
2396
2396
  this._hash = new r.init([
2397
2397
  new d.init(1779033703, 4089235720),
@@ -2430,7 +2430,7 @@ function el() {
2430
2430
  },
2431
2431
  blockSize: 1024 / 32
2432
2432
  });
2433
- l.SHA512 = g._createHelper(p), l.HmacSHA512 = g._createHmacHelper(p);
2433
+ l.SHA512 = g._createHelper(u), l.HmacSHA512 = g._createHmacHelper(u);
2434
2434
  })(), i.SHA512;
2435
2435
  });
2436
2436
  })(yi)), yi.exports;
@@ -2438,11 +2438,11 @@ function el() {
2438
2438
  var Ui = { exports: {} }, vr = Ui.exports, It;
2439
2439
  function hr() {
2440
2440
  return It || (It = 1, (function(e, n) {
2441
- (function(i, l, u) {
2441
+ (function(i, l, p) {
2442
2442
  e.exports = l(ie(), Ki(), el());
2443
2443
  })(vr, function(i) {
2444
2444
  return (function() {
2445
- var l = i, u = l.x64, g = u.Word, b = u.WordArray, d = l.algo, r = d.SHA512, a = d.SHA384 = r.extend({
2445
+ var l = i, p = l.x64, g = p.Word, b = p.WordArray, d = l.algo, r = d.SHA512, a = d.SHA384 = r.extend({
2446
2446
  _doReset: function() {
2447
2447
  this._hash = new b.init([
2448
2448
  new g.init(3418070365, 3238371032),
@@ -2468,11 +2468,11 @@ function hr() {
2468
2468
  var bi = { exports: {} }, Tr = bi.exports, Vt;
2469
2469
  function kr() {
2470
2470
  return Vt || (Vt = 1, (function(e, n) {
2471
- (function(i, l, u) {
2471
+ (function(i, l, p) {
2472
2472
  e.exports = l(ie(), Ki());
2473
2473
  })(Tr, function(i) {
2474
2474
  return (function(l) {
2475
- var u = i, g = u.lib, b = g.WordArray, d = g.Hasher, r = u.x64, a = r.Word, t = u.algo, o = [], s = [], p = [];
2475
+ var p = i, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.x64, a = r.Word, t = p.algo, o = [], s = [], u = [];
2476
2476
  (function() {
2477
2477
  for (var f = 1, y = 0, _ = 0; _ < 24; _++) {
2478
2478
  o[f + 5 * y] = (_ + 1) * (_ + 2) / 2 % 64;
@@ -2490,7 +2490,7 @@ function kr() {
2490
2490
  }
2491
2491
  v & 128 ? v = v << 1 ^ 113 : v <<= 1;
2492
2492
  }
2493
- p[x] = a.create(D, M);
2493
+ u[x] = a.create(D, M);
2494
2494
  }
2495
2495
  })();
2496
2496
  var m = [];
@@ -2549,7 +2549,7 @@ function kr() {
2549
2549
  var L = H + 5 * A, D = _[L], K = m[L], q = m[(H + 1) % 5 + 5 * A], Q = m[(H + 2) % 5 + 5 * A];
2550
2550
  D.high = K.high ^ ~q.high & Q.high, D.low = K.low ^ ~q.low & Q.low;
2551
2551
  }
2552
- var D = _[0], J = p[M];
2552
+ var D = _[0], J = u[M];
2553
2553
  D.high ^= J.high, D.low ^= J.low;
2554
2554
  }
2555
2555
  },
@@ -2570,7 +2570,7 @@ function kr() {
2570
2570
  return f;
2571
2571
  }
2572
2572
  });
2573
- u.SHA3 = d._createHelper(c), u.HmacSHA3 = d._createHmacHelper(c);
2573
+ p.SHA3 = d._createHelper(c), p.HmacSHA3 = d._createHmacHelper(c);
2574
2574
  })(Math), i.SHA3;
2575
2575
  });
2576
2576
  })(bi)), bi.exports;
@@ -2582,7 +2582,7 @@ function Sr() {
2582
2582
  e.exports = l(ie());
2583
2583
  })(xr, function(i) {
2584
2584
  return (function(l) {
2585
- var u = i, g = u.lib, b = g.WordArray, d = g.Hasher, r = u.algo, a = b.create([
2585
+ var p = i, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.algo, a = b.create([
2586
2586
  0,
2587
2587
  1,
2588
2588
  2,
@@ -2906,7 +2906,7 @@ function Sr() {
2906
2906
  13,
2907
2907
  11,
2908
2908
  11
2909
- ]), p = b.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = b.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), c = r.RIPEMD160 = d.extend({
2909
+ ]), u = b.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = b.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), c = r.RIPEMD160 = d.extend({
2910
2910
  _doReset: function() {
2911
2911
  this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2912
2912
  },
@@ -2915,7 +2915,7 @@ function Sr() {
2915
2915
  var H = D + M, k = x[H];
2916
2916
  x[H] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
2917
2917
  }
2918
- var T = this._hash.words, A = p.words, O = m.words, w = a.words, R = t.words, S = o.words, G = s.words, L, B, W, N, E, F, P, K, q, Q;
2918
+ var T = this._hash.words, A = u.words, O = m.words, w = a.words, R = t.words, S = o.words, G = s.words, L, B, W, N, E, F, P, K, q, Q;
2919
2919
  F = L = T[0], P = B = T[1], K = W = T[2], q = N = T[3], Q = E = T[4];
2920
2920
  for (var J, M = 0; M < 80; M += 1)
2921
2921
  J = L + x[D + w[M]] | 0, M < 16 ? J += f(B, W, N) + A[0] : M < 32 ? J += y(B, W, N) + A[1] : M < 48 ? J += _(B, W, N) + A[2] : M < 64 ? J += U(B, W, N) + A[3] : J += C(B, W, N) + A[4], J = J | 0, J = v(J, S[M]), J = J + E | 0, L = E, E = N, N = v(W, 10), W = B, B = J, J = F + x[D + R[M]] | 0, M < 16 ? J += C(P, K, q) + O[0] : M < 32 ? J += U(P, K, q) + O[1] : M < 48 ? J += _(P, K, q) + O[2] : M < 64 ? J += y(P, K, q) + O[3] : J += f(P, K, q) + O[4], J = J | 0, J = v(J, G[M]), J = J + Q | 0, F = Q, Q = q, q = v(K, 10), K = P, P = J;
@@ -2953,7 +2953,7 @@ function Sr() {
2953
2953
  function v(x, D) {
2954
2954
  return x << D | x >>> 32 - D;
2955
2955
  }
2956
- u.RIPEMD160 = d._createHelper(c), u.HmacRIPEMD160 = d._createHmacHelper(c);
2956
+ p.RIPEMD160 = d._createHelper(c), p.HmacRIPEMD160 = d._createHmacHelper(c);
2957
2957
  })(), i.RIPEMD160;
2958
2958
  });
2959
2959
  })(Ci)), Ci.exports;
@@ -2965,7 +2965,7 @@ function ct() {
2965
2965
  e.exports = l(ie());
2966
2966
  })(Dr, function(i) {
2967
2967
  (function() {
2968
- var l = i, u = l.lib, g = u.Base, b = l.enc, d = b.Utf8, r = l.algo;
2968
+ var l = i, p = l.lib, g = p.Base, b = l.enc, d = b.Utf8, r = l.algo;
2969
2969
  r.HMAC = g.extend({
2970
2970
  /**
2971
2971
  * Initializes a newly created HMAC.
@@ -2981,9 +2981,9 @@ function ct() {
2981
2981
  a = this._hasher = new a.init(), typeof t == "string" && (t = d.parse(t));
2982
2982
  var o = a.blockSize, s = o * 4;
2983
2983
  t.sigBytes > s && (t = a.finalize(t)), t.clamp();
2984
- for (var p = this._oKey = t.clone(), m = this._iKey = t.clone(), c = p.words, f = m.words, y = 0; y < o; y++)
2984
+ for (var u = this._oKey = t.clone(), m = this._iKey = t.clone(), c = u.words, f = m.words, y = 0; y < o; y++)
2985
2985
  c[y] ^= 1549556828, f[y] ^= 909522486;
2986
- p.sigBytes = m.sigBytes = s, this.reset();
2986
+ u.sigBytes = m.sigBytes = s, this.reset();
2987
2987
  },
2988
2988
  /**
2989
2989
  * Resets this HMAC to its initial state.
@@ -3039,11 +3039,11 @@ function ct() {
3039
3039
  var hi = { exports: {} }, Er = hi.exports, Kt;
3040
3040
  function Nr() {
3041
3041
  return Kt || (Kt = 1, (function(e, n) {
3042
- (function(i, l, u) {
3042
+ (function(i, l, p) {
3043
3043
  e.exports = l(ie(), dt(), ct());
3044
3044
  })(Er, function(i) {
3045
3045
  return (function() {
3046
- var l = i, u = l.lib, g = u.Base, b = u.WordArray, d = l.algo, r = d.SHA256, a = d.HMAC, t = d.PBKDF2 = g.extend({
3046
+ var l = i, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.SHA256, a = d.HMAC, t = d.PBKDF2 = g.extend({
3047
3047
  /**
3048
3048
  * Configuration options.
3049
3049
  *
@@ -3083,7 +3083,7 @@ function Nr() {
3083
3083
  * var key = kdf.compute(password, salt);
3084
3084
  */
3085
3085
  compute: function(o, s) {
3086
- for (var p = this.cfg, m = a.create(p.hasher, o), c = b.create(), f = b.create([1]), y = c.words, _ = f.words, U = p.keySize, C = p.iterations; y.length < U; ) {
3086
+ for (var u = this.cfg, m = a.create(u.hasher, o), c = b.create(), f = b.create([1]), y = c.words, _ = f.words, U = u.keySize, C = u.iterations; y.length < U; ) {
3087
3087
  var v = m.update(s).finalize(f);
3088
3088
  m.reset();
3089
3089
  for (var x = v.words, D = x.length, M = v, H = 1; H < C; H++) {
@@ -3096,8 +3096,8 @@ function Nr() {
3096
3096
  return c.sigBytes = U * 4, c;
3097
3097
  }
3098
3098
  });
3099
- l.PBKDF2 = function(o, s, p) {
3100
- return t.create(p).compute(o, s);
3099
+ l.PBKDF2 = function(o, s, u) {
3100
+ return t.create(u).compute(o, s);
3101
3101
  };
3102
3102
  })(), i.PBKDF2;
3103
3103
  });
@@ -3106,11 +3106,11 @@ function Nr() {
3106
3106
  var Ti = { exports: {} }, Lr = Ti.exports, qt;
3107
3107
  function ya() {
3108
3108
  return qt || (qt = 1, (function(e, n) {
3109
- (function(i, l, u) {
3109
+ (function(i, l, p) {
3110
3110
  e.exports = l(ie(), Xn(), ct());
3111
3111
  })(Lr, function(i) {
3112
3112
  return (function() {
3113
- var l = i, u = l.lib, g = u.Base, b = u.WordArray, d = l.algo, r = d.MD5, a = d.EvpKDF = g.extend({
3113
+ var l = i, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.MD5, a = d.EvpKDF = g.extend({
3114
3114
  /**
3115
3115
  * Configuration options.
3116
3116
  *
@@ -3150,7 +3150,7 @@ function ya() {
3150
3150
  * var key = kdf.compute(password, salt);
3151
3151
  */
3152
3152
  compute: function(t, o) {
3153
- for (var s, p = this.cfg, m = p.hasher.create(), c = b.create(), f = c.words, y = p.keySize, _ = p.iterations; f.length < y; ) {
3153
+ for (var s, u = this.cfg, m = u.hasher.create(), c = b.create(), f = c.words, y = u.keySize, _ = u.iterations; f.length < y; ) {
3154
3154
  s && m.update(s), s = m.update(t).finalize(o), m.reset();
3155
3155
  for (var U = 1; U < _; U++)
3156
3156
  s = m.finalize(s), m.reset();
@@ -3169,13 +3169,13 @@ function ya() {
3169
3169
  var ki = { exports: {} }, Gr = ki.exports, $t;
3170
3170
  function Ne() {
3171
3171
  return $t || ($t = 1, (function(e, n) {
3172
- (function(i, l, u) {
3172
+ (function(i, l, p) {
3173
3173
  e.exports = l(ie(), ya());
3174
3174
  })(Gr, function(i) {
3175
3175
  i.lib.Cipher || (function(l) {
3176
- var u = i, g = u.lib, b = g.Base, d = g.WordArray, r = g.BufferedBlockAlgorithm, a = u.enc;
3176
+ var p = i, g = p.lib, b = g.Base, d = g.WordArray, r = g.BufferedBlockAlgorithm, a = p.enc;
3177
3177
  a.Utf8;
3178
- var t = a.Base64, o = u.algo, s = o.EvpKDF, p = g.Cipher = r.extend({
3178
+ var t = a.Base64, o = p.algo, s = o.EvpKDF, u = g.Cipher = r.extend({
3179
3179
  /**
3180
3180
  * Configuration options.
3181
3181
  *
@@ -3307,14 +3307,14 @@ function Ne() {
3307
3307
  };
3308
3308
  })()
3309
3309
  });
3310
- g.StreamCipher = p.extend({
3310
+ g.StreamCipher = u.extend({
3311
3311
  _doFinalize: function() {
3312
3312
  var k = this._process(!0);
3313
3313
  return k;
3314
3314
  },
3315
3315
  blockSize: 1
3316
3316
  });
3317
- var m = u.mode = {}, c = g.BlockCipherMode = b.extend({
3317
+ var m = p.mode = {}, c = g.BlockCipherMode = b.extend({
3318
3318
  /**
3319
3319
  * Creates this mode for encryption.
3320
3320
  *
@@ -3398,7 +3398,7 @@ function Ne() {
3398
3398
  A[O + G] ^= R[G];
3399
3399
  }
3400
3400
  return k;
3401
- })(), y = u.pad = {}, _ = y.Pkcs7 = {
3401
+ })(), y = p.pad = {}, _ = y.Pkcs7 = {
3402
3402
  /**
3403
3403
  * Pads data using the algorithm defined in PKCS #5/7.
3404
3404
  *
@@ -3433,20 +3433,20 @@ function Ne() {
3433
3433
  k.sigBytes -= T;
3434
3434
  }
3435
3435
  };
3436
- g.BlockCipher = p.extend({
3436
+ g.BlockCipher = u.extend({
3437
3437
  /**
3438
3438
  * Configuration options.
3439
3439
  *
3440
3440
  * @property {Mode} mode The block mode to use. Default: CBC
3441
3441
  * @property {Padding} padding The padding strategy to use. Default: Pkcs7
3442
3442
  */
3443
- cfg: p.cfg.extend({
3443
+ cfg: u.cfg.extend({
3444
3444
  mode: f,
3445
3445
  padding: _
3446
3446
  }),
3447
3447
  reset: function() {
3448
3448
  var k;
3449
- p.reset.call(this);
3449
+ u.reset.call(this);
3450
3450
  var T = this.cfg, A = T.iv, O = T.mode;
3451
3451
  this._xformMode == this._ENC_XFORM_MODE ? k = O.createEncryptor : (k = O.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == k ? this._mode.init(this, A && A.words) : (this._mode = k.call(O, this, A && A.words), this._mode.__creator = k);
3452
3452
  },
@@ -3500,7 +3500,7 @@ function Ne() {
3500
3500
  toString: function(k) {
3501
3501
  return (k || this.formatter).stringify(this);
3502
3502
  }
3503
- }), C = u.format = {}, v = C.OpenSSL = {
3503
+ }), C = p.format = {}, v = C.OpenSSL = {
3504
3504
  /**
3505
3505
  * Converts a cipher params object to an OpenSSL-compatible string.
3506
3506
  *
@@ -3616,7 +3616,7 @@ function Ne() {
3616
3616
  _parse: function(k, T) {
3617
3617
  return typeof k == "string" ? T.parse(k, this) : k;
3618
3618
  }
3619
- }), D = u.kdf = {}, M = D.OpenSSL = {
3619
+ }), D = p.kdf = {}, M = D.OpenSSL = {
3620
3620
  /**
3621
3621
  * Derives a key and IV from a password.
3622
3622
  *
@@ -3707,7 +3707,7 @@ function Ne() {
3707
3707
  var xi = { exports: {} }, Mr = xi.exports, Qt;
3708
3708
  function Rr() {
3709
3709
  return Qt || (Qt = 1, (function(e, n) {
3710
- (function(i, l, u) {
3710
+ (function(i, l, p) {
3711
3711
  e.exports = l(ie(), Ne());
3712
3712
  })(Mr, function(i) {
3713
3713
  return i.mode.CFB = (function() {
@@ -3715,15 +3715,15 @@ function Rr() {
3715
3715
  l.Encryptor = l.extend({
3716
3716
  processBlock: function(g, b) {
3717
3717
  var d = this._cipher, r = d.blockSize;
3718
- u.call(this, g, b, r, d), this._prevBlock = g.slice(b, b + r);
3718
+ p.call(this, g, b, r, d), this._prevBlock = g.slice(b, b + r);
3719
3719
  }
3720
3720
  }), l.Decryptor = l.extend({
3721
3721
  processBlock: function(g, b) {
3722
3722
  var d = this._cipher, r = d.blockSize, a = g.slice(b, b + r);
3723
- u.call(this, g, b, r, d), this._prevBlock = a;
3723
+ p.call(this, g, b, r, d), this._prevBlock = a;
3724
3724
  }
3725
3725
  });
3726
- function u(g, b, d, r) {
3726
+ function p(g, b, d, r) {
3727
3727
  var a, t = this._iv;
3728
3728
  t ? (a = t.slice(0), this._iv = void 0) : a = this._prevBlock, r.encryptBlock(a, 0);
3729
3729
  for (var o = 0; o < d; o++)
@@ -3737,11 +3737,11 @@ function Rr() {
3737
3737
  var Si = { exports: {} }, Pr = Si.exports, jt;
3738
3738
  function wr() {
3739
3739
  return jt || (jt = 1, (function(e, n) {
3740
- (function(i, l, u) {
3740
+ (function(i, l, p) {
3741
3741
  e.exports = l(ie(), Ne());
3742
3742
  })(Pr, function(i) {
3743
3743
  return i.mode.CTR = (function() {
3744
- var l = i.lib.BlockCipherMode.extend(), u = l.Encryptor = l.extend({
3744
+ var l = i.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
3745
3745
  processBlock: function(g, b) {
3746
3746
  var d = this._cipher, r = d.blockSize, a = this._iv, t = this._counter;
3747
3747
  a && (t = this._counter = a.slice(0), this._iv = void 0);
@@ -3751,7 +3751,7 @@ function wr() {
3751
3751
  g[b + s] ^= o[s];
3752
3752
  }
3753
3753
  });
3754
- return l.Decryptor = u, l;
3754
+ return l.Decryptor = p, l;
3755
3755
  })(), i.mode.CTR;
3756
3756
  });
3757
3757
  })(Si)), Si.exports;
@@ -3759,12 +3759,12 @@ function wr() {
3759
3759
  var Di = { exports: {} }, Fr = Di.exports, Yt;
3760
3760
  function Ar() {
3761
3761
  return Yt || (Yt = 1, (function(e, n) {
3762
- (function(i, l, u) {
3762
+ (function(i, l, p) {
3763
3763
  e.exports = l(ie(), Ne());
3764
3764
  })(Fr, function(i) {
3765
3765
  return i.mode.CTRGladman = (function() {
3766
3766
  var l = i.lib.BlockCipherMode.extend();
3767
- function u(d) {
3767
+ function p(d) {
3768
3768
  if ((d >> 24 & 255) === 255) {
3769
3769
  var r = d >> 16 & 255, a = d >> 8 & 255, t = d & 255;
3770
3770
  r === 255 ? (r = 0, a === 255 ? (a = 0, t === 255 ? t = 0 : ++t) : ++a) : ++r, d = 0, d += r << 16, d += a << 8, d += t;
@@ -3773,16 +3773,16 @@ function Ar() {
3773
3773
  return d;
3774
3774
  }
3775
3775
  function g(d) {
3776
- return (d[0] = u(d[0])) === 0 && (d[1] = u(d[1])), d;
3776
+ return (d[0] = p(d[0])) === 0 && (d[1] = p(d[1])), d;
3777
3777
  }
3778
3778
  var b = l.Encryptor = l.extend({
3779
3779
  processBlock: function(d, r) {
3780
3780
  var a = this._cipher, t = a.blockSize, o = this._iv, s = this._counter;
3781
3781
  o && (s = this._counter = o.slice(0), this._iv = void 0), g(s);
3782
- var p = s.slice(0);
3783
- a.encryptBlock(p, 0);
3782
+ var u = s.slice(0);
3783
+ a.encryptBlock(u, 0);
3784
3784
  for (var m = 0; m < t; m++)
3785
- d[r + m] ^= p[m];
3785
+ d[r + m] ^= u[m];
3786
3786
  }
3787
3787
  });
3788
3788
  return l.Decryptor = b, l;
@@ -3793,11 +3793,11 @@ function Ar() {
3793
3793
  var Ei = { exports: {} }, Or = Ei.exports, Xt;
3794
3794
  function Br() {
3795
3795
  return Xt || (Xt = 1, (function(e, n) {
3796
- (function(i, l, u) {
3796
+ (function(i, l, p) {
3797
3797
  e.exports = l(ie(), Ne());
3798
3798
  })(Or, function(i) {
3799
3799
  return i.mode.OFB = (function() {
3800
- var l = i.lib.BlockCipherMode.extend(), u = l.Encryptor = l.extend({
3800
+ var l = i.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
3801
3801
  processBlock: function(g, b) {
3802
3802
  var d = this._cipher, r = d.blockSize, a = this._iv, t = this._keystream;
3803
3803
  a && (t = this._keystream = a.slice(0), this._iv = void 0), d.encryptBlock(t, 0);
@@ -3805,7 +3805,7 @@ function Br() {
3805
3805
  g[b + o] ^= t[o];
3806
3806
  }
3807
3807
  });
3808
- return l.Decryptor = u, l;
3808
+ return l.Decryptor = p, l;
3809
3809
  })(), i.mode.OFB;
3810
3810
  });
3811
3811
  })(Ei)), Ei.exports;
@@ -3813,18 +3813,18 @@ function Br() {
3813
3813
  var Ni = { exports: {} }, Hr = Ni.exports, en;
3814
3814
  function Wr() {
3815
3815
  return en || (en = 1, (function(e, n) {
3816
- (function(i, l, u) {
3816
+ (function(i, l, p) {
3817
3817
  e.exports = l(ie(), Ne());
3818
3818
  })(Hr, function(i) {
3819
3819
  return i.mode.ECB = (function() {
3820
3820
  var l = i.lib.BlockCipherMode.extend();
3821
3821
  return l.Encryptor = l.extend({
3822
- processBlock: function(u, g) {
3823
- this._cipher.encryptBlock(u, g);
3822
+ processBlock: function(p, g) {
3823
+ this._cipher.encryptBlock(p, g);
3824
3824
  }
3825
3825
  }), l.Decryptor = l.extend({
3826
- processBlock: function(u, g) {
3827
- this._cipher.decryptBlock(u, g);
3826
+ processBlock: function(p, g) {
3827
+ this._cipher.decryptBlock(p, g);
3828
3828
  }
3829
3829
  }), l;
3830
3830
  })(), i.mode.ECB;
@@ -3834,17 +3834,17 @@ function Wr() {
3834
3834
  var Li = { exports: {} }, zr = Li.exports, an;
3835
3835
  function Ir() {
3836
3836
  return an || (an = 1, (function(e, n) {
3837
- (function(i, l, u) {
3837
+ (function(i, l, p) {
3838
3838
  e.exports = l(ie(), Ne());
3839
3839
  })(zr, function(i) {
3840
3840
  return i.pad.AnsiX923 = {
3841
- pad: function(l, u) {
3842
- var g = l.sigBytes, b = u * 4, d = b - g % b, r = g + d - 1;
3841
+ pad: function(l, p) {
3842
+ var g = l.sigBytes, b = p * 4, d = b - g % b, r = g + d - 1;
3843
3843
  l.clamp(), l.words[r >>> 2] |= d << 24 - r % 4 * 8, l.sigBytes += d;
3844
3844
  },
3845
3845
  unpad: function(l) {
3846
- var u = l.words[l.sigBytes - 1 >>> 2] & 255;
3847
- l.sigBytes -= u;
3846
+ var p = l.words[l.sigBytes - 1 >>> 2] & 255;
3847
+ l.sigBytes -= p;
3848
3848
  }
3849
3849
  }, i.pad.Ansix923;
3850
3850
  });
@@ -3853,17 +3853,17 @@ function Ir() {
3853
3853
  var Gi = { exports: {} }, Vr = Gi.exports, tn;
3854
3854
  function Zr() {
3855
3855
  return tn || (tn = 1, (function(e, n) {
3856
- (function(i, l, u) {
3856
+ (function(i, l, p) {
3857
3857
  e.exports = l(ie(), Ne());
3858
3858
  })(Vr, function(i) {
3859
3859
  return i.pad.Iso10126 = {
3860
- pad: function(l, u) {
3861
- var g = u * 4, b = g - l.sigBytes % g;
3860
+ pad: function(l, p) {
3861
+ var g = p * 4, b = g - l.sigBytes % g;
3862
3862
  l.concat(i.lib.WordArray.random(b - 1)).concat(i.lib.WordArray.create([b << 24], 1));
3863
3863
  },
3864
3864
  unpad: function(l) {
3865
- var u = l.words[l.sigBytes - 1 >>> 2] & 255;
3866
- l.sigBytes -= u;
3865
+ var p = l.words[l.sigBytes - 1 >>> 2] & 255;
3866
+ l.sigBytes -= p;
3867
3867
  }
3868
3868
  }, i.pad.Iso10126;
3869
3869
  });
@@ -3872,12 +3872,12 @@ function Zr() {
3872
3872
  var Mi = { exports: {} }, Jr = Mi.exports, nn;
3873
3873
  function Kr() {
3874
3874
  return nn || (nn = 1, (function(e, n) {
3875
- (function(i, l, u) {
3875
+ (function(i, l, p) {
3876
3876
  e.exports = l(ie(), Ne());
3877
3877
  })(Jr, function(i) {
3878
3878
  return i.pad.Iso97971 = {
3879
- pad: function(l, u) {
3880
- l.concat(i.lib.WordArray.create([2147483648], 1)), i.pad.ZeroPadding.pad(l, u);
3879
+ pad: function(l, p) {
3880
+ l.concat(i.lib.WordArray.create([2147483648], 1)), i.pad.ZeroPadding.pad(l, p);
3881
3881
  },
3882
3882
  unpad: function(l) {
3883
3883
  i.pad.ZeroPadding.unpad(l), l.sigBytes--;
@@ -3889,17 +3889,17 @@ function Kr() {
3889
3889
  var Ri = { exports: {} }, qr = Ri.exports, ln;
3890
3890
  function $r() {
3891
3891
  return ln || (ln = 1, (function(e, n) {
3892
- (function(i, l, u) {
3892
+ (function(i, l, p) {
3893
3893
  e.exports = l(ie(), Ne());
3894
3894
  })(qr, function(i) {
3895
3895
  return i.pad.ZeroPadding = {
3896
- pad: function(l, u) {
3897
- var g = u * 4;
3896
+ pad: function(l, p) {
3897
+ var g = p * 4;
3898
3898
  l.clamp(), l.sigBytes += g - (l.sigBytes % g || g);
3899
3899
  },
3900
3900
  unpad: function(l) {
3901
- for (var u = l.words, g = l.sigBytes - 1, g = l.sigBytes - 1; g >= 0; g--)
3902
- if (u[g >>> 2] >>> 24 - g % 4 * 8 & 255) {
3901
+ for (var p = l.words, g = l.sigBytes - 1, g = l.sigBytes - 1; g >= 0; g--)
3902
+ if (p[g >>> 2] >>> 24 - g % 4 * 8 & 255) {
3903
3903
  l.sigBytes = g + 1;
3904
3904
  break;
3905
3905
  }
@@ -3911,7 +3911,7 @@ function $r() {
3911
3911
  var Pi = { exports: {} }, Qr = Pi.exports, rn;
3912
3912
  function jr() {
3913
3913
  return rn || (rn = 1, (function(e, n) {
3914
- (function(i, l, u) {
3914
+ (function(i, l, p) {
3915
3915
  e.exports = l(ie(), Ne());
3916
3916
  })(Qr, function(i) {
3917
3917
  return i.pad.NoPadding = {
@@ -3926,11 +3926,11 @@ function jr() {
3926
3926
  var wi = { exports: {} }, Yr = wi.exports, on;
3927
3927
  function Xr() {
3928
3928
  return on || (on = 1, (function(e, n) {
3929
- (function(i, l, u) {
3929
+ (function(i, l, p) {
3930
3930
  e.exports = l(ie(), Ne());
3931
3931
  })(Yr, function(i) {
3932
3932
  return (function(l) {
3933
- var u = i, g = u.lib, b = g.CipherParams, d = u.enc, r = d.Hex, a = u.format;
3933
+ var p = i, g = p.lib, b = g.CipherParams, d = p.enc, r = d.Hex, a = p.format;
3934
3934
  a.Hex = {
3935
3935
  /**
3936
3936
  * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
@@ -3973,11 +3973,11 @@ function Xr() {
3973
3973
  var Fi = { exports: {} }, eo = Fi.exports, sn;
3974
3974
  function ao() {
3975
3975
  return sn || (sn = 1, (function(e, n) {
3976
- (function(i, l, u) {
3976
+ (function(i, l, p) {
3977
3977
  e.exports = l(ie(), Sa(), Da(), ya(), Ne());
3978
3978
  })(eo, function(i) {
3979
3979
  return (function() {
3980
- var l = i, u = l.lib, g = u.BlockCipher, b = l.algo, d = [], r = [], a = [], t = [], o = [], s = [], p = [], m = [], c = [], f = [];
3980
+ var l = i, p = l.lib, g = p.BlockCipher, b = l.algo, d = [], r = [], a = [], t = [], o = [], s = [], u = [], m = [], c = [], f = [];
3981
3981
  (function() {
3982
3982
  for (var U = [], C = 0; C < 256; C++)
3983
3983
  C < 128 ? U[C] = C << 1 : U[C] = C << 1 ^ 283;
@@ -3987,7 +3987,7 @@ function ao() {
3987
3987
  var M = U[v], H = U[M], k = U[H], T = U[D] * 257 ^ D * 16843008;
3988
3988
  a[v] = T << 24 | T >>> 8, t[v] = T << 16 | T >>> 16, o[v] = T << 8 | T >>> 24, s[v] = T;
3989
3989
  var T = k * 16843009 ^ H * 65537 ^ M * 257 ^ v * 16843008;
3990
- p[D] = T << 24 | T >>> 8, m[D] = T << 16 | T >>> 16, c[D] = T << 8 | T >>> 24, f[D] = T, v ? (v = M ^ U[U[U[k ^ M]]], x ^= U[U[x]]) : v = x = 1;
3990
+ u[D] = T << 24 | T >>> 8, m[D] = T << 16 | T >>> 16, c[D] = T << 8 | T >>> 24, f[D] = T, v ? (v = M ^ U[U[U[k ^ M]]], x ^= U[U[x]]) : v = x = 1;
3991
3991
  }
3992
3992
  })();
3993
3993
  var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], _ = b.AES = g.extend({
@@ -4002,7 +4002,7 @@ function ao() {
4002
4002
  var U = H[k];
4003
4003
  else
4004
4004
  var U = H[k - 4];
4005
- A < 4 || k <= 4 ? T[A] = U : T[A] = p[d[U >>> 24]] ^ m[d[U >>> 16 & 255]] ^ c[d[U >>> 8 & 255]] ^ f[d[U & 255]];
4005
+ A < 4 || k <= 4 ? T[A] = U : T[A] = u[d[U >>> 24]] ^ m[d[U >>> 16 & 255]] ^ c[d[U >>> 8 & 255]] ^ f[d[U & 255]];
4006
4006
  }
4007
4007
  }
4008
4008
  },
@@ -4011,7 +4011,7 @@ function ao() {
4011
4011
  },
4012
4012
  decryptBlock: function(U, C) {
4013
4013
  var v = U[C + 1];
4014
- U[C + 1] = U[C + 3], U[C + 3] = v, this._doCryptBlock(U, C, this._invKeySchedule, p, m, c, f, r);
4014
+ U[C + 1] = U[C + 3], U[C + 3] = v, this._doCryptBlock(U, C, this._invKeySchedule, u, m, c, f, r);
4015
4015
  var v = U[C + 1];
4016
4016
  U[C + 1] = U[C + 3], U[C + 3] = v;
4017
4017
  },
@@ -4033,11 +4033,11 @@ function ao() {
4033
4033
  var Ai = { exports: {} }, io = Ai.exports, mn;
4034
4034
  function to() {
4035
4035
  return mn || (mn = 1, (function(e, n) {
4036
- (function(i, l, u) {
4036
+ (function(i, l, p) {
4037
4037
  e.exports = l(ie(), Sa(), Da(), ya(), Ne());
4038
4038
  })(io, function(i) {
4039
4039
  return (function() {
4040
- var l = i, u = l.lib, g = u.WordArray, b = u.BlockCipher, d = l.algo, r = [
4040
+ var l = i, p = l.lib, g = p.WordArray, b = p.BlockCipher, d = l.algo, r = [
4041
4041
  57,
4042
4042
  49,
4043
4043
  41,
@@ -4681,7 +4681,7 @@ function to() {
4681
4681
  8064,
4682
4682
  504,
4683
4683
  2147483679
4684
- ], p = d.DES = b.extend({
4684
+ ], u = d.DES = b.extend({
4685
4685
  _doReset: function() {
4686
4686
  for (var y = this._key, _ = y.words, U = [], C = 0; C < 56; C++) {
4687
4687
  var v = r[C] - 1;
@@ -4726,14 +4726,14 @@ function to() {
4726
4726
  var U = (this._rBlock >>> y ^ this._lBlock) & _;
4727
4727
  this._lBlock ^= U, this._rBlock ^= U << y;
4728
4728
  }
4729
- l.DES = b._createHelper(p);
4729
+ l.DES = b._createHelper(u);
4730
4730
  var f = d.TripleDES = b.extend({
4731
4731
  _doReset: function() {
4732
4732
  var y = this._key, _ = y.words;
4733
4733
  if (_.length !== 2 && _.length !== 4 && _.length < 6)
4734
4734
  throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
4735
4735
  var U = _.slice(0, 2), C = _.length < 4 ? _.slice(0, 2) : _.slice(2, 4), v = _.length < 6 ? _.slice(0, 2) : _.slice(4, 6);
4736
- this._des1 = p.createEncryptor(g.create(U)), this._des2 = p.createEncryptor(g.create(C)), this._des3 = p.createEncryptor(g.create(v));
4736
+ this._des1 = u.createEncryptor(g.create(U)), this._des2 = u.createEncryptor(g.create(C)), this._des3 = u.createEncryptor(g.create(v));
4737
4737
  },
4738
4738
  encryptBlock: function(y, _) {
4739
4739
  this._des1.encryptBlock(y, _), this._des2.decryptBlock(y, _), this._des3.encryptBlock(y, _);
@@ -4753,19 +4753,19 @@ function to() {
4753
4753
  var Oi = { exports: {} }, no = Oi.exports, un;
4754
4754
  function lo() {
4755
4755
  return un || (un = 1, (function(e, n) {
4756
- (function(i, l, u) {
4756
+ (function(i, l, p) {
4757
4757
  e.exports = l(ie(), Sa(), Da(), ya(), Ne());
4758
4758
  })(no, function(i) {
4759
4759
  return (function() {
4760
- var l = i, u = l.lib, g = u.StreamCipher, b = l.algo, d = b.RC4 = g.extend({
4760
+ var l = i, p = l.lib, g = p.StreamCipher, b = l.algo, d = b.RC4 = g.extend({
4761
4761
  _doReset: function() {
4762
- for (var t = this._key, o = t.words, s = t.sigBytes, p = this._S = [], m = 0; m < 256; m++)
4763
- p[m] = m;
4762
+ for (var t = this._key, o = t.words, s = t.sigBytes, u = this._S = [], m = 0; m < 256; m++)
4763
+ u[m] = m;
4764
4764
  for (var m = 0, c = 0; m < 256; m++) {
4765
4765
  var f = m % s, y = o[f >>> 2] >>> 24 - f % 4 * 8 & 255;
4766
- c = (c + p[m] + y) % 256;
4767
- var _ = p[m];
4768
- p[m] = p[c], p[c] = _;
4766
+ c = (c + u[m] + y) % 256;
4767
+ var _ = u[m];
4768
+ u[m] = u[c], u[c] = _;
4769
4769
  }
4770
4770
  this._i = this._j = 0;
4771
4771
  },
@@ -4776,12 +4776,12 @@ function lo() {
4776
4776
  ivSize: 0
4777
4777
  });
4778
4778
  function r() {
4779
- for (var t = this._S, o = this._i, s = this._j, p = 0, m = 0; m < 4; m++) {
4779
+ for (var t = this._S, o = this._i, s = this._j, u = 0, m = 0; m < 4; m++) {
4780
4780
  o = (o + 1) % 256, s = (s + t[o]) % 256;
4781
4781
  var c = t[o];
4782
- t[o] = t[s], t[s] = c, p |= t[(t[o] + t[s]) % 256] << 24 - m * 8;
4782
+ t[o] = t[s], t[s] = c, u |= t[(t[o] + t[s]) % 256] << 24 - m * 8;
4783
4783
  }
4784
- return this._i = o, this._j = s, p;
4784
+ return this._i = o, this._j = s, u;
4785
4785
  }
4786
4786
  l.RC4 = g._createHelper(d);
4787
4787
  var a = b.RC4Drop = d.extend({
@@ -4807,13 +4807,13 @@ function lo() {
4807
4807
  var Bi = { exports: {} }, ro = Bi.exports, pn;
4808
4808
  function oo() {
4809
4809
  return pn || (pn = 1, (function(e, n) {
4810
- (function(i, l, u) {
4810
+ (function(i, l, p) {
4811
4811
  e.exports = l(ie(), Sa(), Da(), ya(), Ne());
4812
4812
  })(ro, function(i) {
4813
4813
  return (function() {
4814
- var l = i, u = l.lib, g = u.StreamCipher, b = l.algo, d = [], r = [], a = [], t = b.Rabbit = g.extend({
4814
+ var l = i, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], t = b.Rabbit = g.extend({
4815
4815
  _doReset: function() {
4816
- for (var s = this._key.words, p = this.cfg.iv, m = 0; m < 4; m++)
4816
+ for (var s = this._key.words, u = this.cfg.iv, m = 0; m < 4; m++)
4817
4817
  s[m] = (s[m] << 8 | s[m] >>> 24) & 16711935 | (s[m] << 24 | s[m] >>> 8) & 4278255360;
4818
4818
  var c = this._X = [
4819
4819
  s[0],
@@ -4839,28 +4839,28 @@ function oo() {
4839
4839
  o.call(this);
4840
4840
  for (var m = 0; m < 8; m++)
4841
4841
  f[m] ^= c[m + 4 & 7];
4842
- if (p) {
4843
- var y = p.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, D = v << 16 | C & 65535;
4842
+ if (u) {
4843
+ var y = u.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, D = v << 16 | C & 65535;
4844
4844
  f[0] ^= C, f[1] ^= x, f[2] ^= v, f[3] ^= D, f[4] ^= C, f[5] ^= x, f[6] ^= v, f[7] ^= D;
4845
4845
  for (var m = 0; m < 4; m++)
4846
4846
  o.call(this);
4847
4847
  }
4848
4848
  },
4849
- _doProcessBlock: function(s, p) {
4849
+ _doProcessBlock: function(s, u) {
4850
4850
  var m = this._X;
4851
4851
  o.call(this), d[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, d[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, d[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, d[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4852
4852
  for (var c = 0; c < 4; c++)
4853
- d[c] = (d[c] << 8 | d[c] >>> 24) & 16711935 | (d[c] << 24 | d[c] >>> 8) & 4278255360, s[p + c] ^= d[c];
4853
+ d[c] = (d[c] << 8 | d[c] >>> 24) & 16711935 | (d[c] << 24 | d[c] >>> 8) & 4278255360, s[u + c] ^= d[c];
4854
4854
  },
4855
4855
  blockSize: 128 / 32,
4856
4856
  ivSize: 64 / 32
4857
4857
  });
4858
4858
  function o() {
4859
- for (var s = this._X, p = this._C, m = 0; m < 8; m++)
4860
- r[m] = p[m];
4861
- p[0] = p[0] + 1295307597 + this._b | 0, p[1] = p[1] + 3545052371 + (p[0] >>> 0 < r[0] >>> 0 ? 1 : 0) | 0, p[2] = p[2] + 886263092 + (p[1] >>> 0 < r[1] >>> 0 ? 1 : 0) | 0, p[3] = p[3] + 1295307597 + (p[2] >>> 0 < r[2] >>> 0 ? 1 : 0) | 0, p[4] = p[4] + 3545052371 + (p[3] >>> 0 < r[3] >>> 0 ? 1 : 0) | 0, p[5] = p[5] + 886263092 + (p[4] >>> 0 < r[4] >>> 0 ? 1 : 0) | 0, p[6] = p[6] + 1295307597 + (p[5] >>> 0 < r[5] >>> 0 ? 1 : 0) | 0, p[7] = p[7] + 3545052371 + (p[6] >>> 0 < r[6] >>> 0 ? 1 : 0) | 0, this._b = p[7] >>> 0 < r[7] >>> 0 ? 1 : 0;
4859
+ for (var s = this._X, u = this._C, m = 0; m < 8; m++)
4860
+ r[m] = u[m];
4861
+ u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < r[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < r[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < r[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < r[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < r[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < r[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < r[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < r[7] >>> 0 ? 1 : 0;
4862
4862
  for (var m = 0; m < 8; m++) {
4863
- var c = s[m] + p[m], f = c & 65535, y = c >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4863
+ var c = s[m] + u[m], f = c & 65535, y = c >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4864
4864
  a[m] = _ ^ U;
4865
4865
  }
4866
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;
@@ -4873,13 +4873,13 @@ function oo() {
4873
4873
  var Hi = { exports: {} }, so = Hi.exports, gn;
4874
4874
  function mo() {
4875
4875
  return gn || (gn = 1, (function(e, n) {
4876
- (function(i, l, u) {
4876
+ (function(i, l, p) {
4877
4877
  e.exports = l(ie(), Sa(), Da(), ya(), Ne());
4878
4878
  })(so, function(i) {
4879
4879
  return (function() {
4880
- var l = i, u = l.lib, g = u.StreamCipher, b = l.algo, d = [], r = [], a = [], t = b.RabbitLegacy = g.extend({
4880
+ var l = i, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], t = b.RabbitLegacy = g.extend({
4881
4881
  _doReset: function() {
4882
- var s = this._key.words, p = this.cfg.iv, m = this._X = [
4882
+ var s = this._key.words, u = this.cfg.iv, m = this._X = [
4883
4883
  s[0],
4884
4884
  s[3] << 16 | s[2] >>> 16,
4885
4885
  s[1],
@@ -4903,28 +4903,28 @@ function mo() {
4903
4903
  o.call(this);
4904
4904
  for (var f = 0; f < 8; f++)
4905
4905
  c[f] ^= m[f + 4 & 7];
4906
- if (p) {
4907
- var y = p.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, D = v << 16 | C & 65535;
4906
+ if (u) {
4907
+ var y = u.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, D = v << 16 | C & 65535;
4908
4908
  c[0] ^= C, c[1] ^= x, c[2] ^= v, c[3] ^= D, c[4] ^= C, c[5] ^= x, c[6] ^= v, c[7] ^= D;
4909
4909
  for (var f = 0; f < 4; f++)
4910
4910
  o.call(this);
4911
4911
  }
4912
4912
  },
4913
- _doProcessBlock: function(s, p) {
4913
+ _doProcessBlock: function(s, u) {
4914
4914
  var m = this._X;
4915
4915
  o.call(this), d[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, d[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, d[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, d[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4916
4916
  for (var c = 0; c < 4; c++)
4917
- d[c] = (d[c] << 8 | d[c] >>> 24) & 16711935 | (d[c] << 24 | d[c] >>> 8) & 4278255360, s[p + c] ^= d[c];
4917
+ d[c] = (d[c] << 8 | d[c] >>> 24) & 16711935 | (d[c] << 24 | d[c] >>> 8) & 4278255360, s[u + c] ^= d[c];
4918
4918
  },
4919
4919
  blockSize: 128 / 32,
4920
4920
  ivSize: 64 / 32
4921
4921
  });
4922
4922
  function o() {
4923
- for (var s = this._X, p = this._C, m = 0; m < 8; m++)
4924
- r[m] = p[m];
4925
- p[0] = p[0] + 1295307597 + this._b | 0, p[1] = p[1] + 3545052371 + (p[0] >>> 0 < r[0] >>> 0 ? 1 : 0) | 0, p[2] = p[2] + 886263092 + (p[1] >>> 0 < r[1] >>> 0 ? 1 : 0) | 0, p[3] = p[3] + 1295307597 + (p[2] >>> 0 < r[2] >>> 0 ? 1 : 0) | 0, p[4] = p[4] + 3545052371 + (p[3] >>> 0 < r[3] >>> 0 ? 1 : 0) | 0, p[5] = p[5] + 886263092 + (p[4] >>> 0 < r[4] >>> 0 ? 1 : 0) | 0, p[6] = p[6] + 1295307597 + (p[5] >>> 0 < r[5] >>> 0 ? 1 : 0) | 0, p[7] = p[7] + 3545052371 + (p[6] >>> 0 < r[6] >>> 0 ? 1 : 0) | 0, this._b = p[7] >>> 0 < r[7] >>> 0 ? 1 : 0;
4923
+ for (var s = this._X, u = this._C, m = 0; m < 8; m++)
4924
+ r[m] = u[m];
4925
+ u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < r[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < r[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < r[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < r[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < r[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < r[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < r[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < r[7] >>> 0 ? 1 : 0;
4926
4926
  for (var m = 0; m < 8; m++) {
4927
- var c = s[m] + p[m], f = c & 65535, y = c >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4927
+ var c = s[m] + u[m], f = c & 65535, y = c >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4928
4928
  a[m] = _ ^ U;
4929
4929
  }
4930
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;
@@ -4937,11 +4937,11 @@ function mo() {
4937
4937
  var Wi = { exports: {} }, uo = Wi.exports, dn;
4938
4938
  function po() {
4939
4939
  return dn || (dn = 1, (function(e, n) {
4940
- (function(i, l, u) {
4940
+ (function(i, l, p) {
4941
4941
  e.exports = l(ie(), Sa(), Da(), ya(), Ne());
4942
4942
  })(uo, function(i) {
4943
4943
  return (function() {
4944
- var l = i, u = l.lib, g = u.BlockCipher, b = l.algo;
4944
+ var l = i, p = l.lib, g = p.BlockCipher, b = l.algo;
4945
4945
  const d = 16, r = [
4946
4946
  608135816,
4947
4947
  2242054355,
@@ -6009,7 +6009,7 @@ function po() {
6009
6009
  U = U ^ f.pbox[x], C = o(f, U) ^ C, v = U, U = C, C = v;
6010
6010
  return v = U, U = C, C = v, C = C ^ f.pbox[d], U = U ^ f.pbox[d + 1], { left: U, right: C };
6011
6011
  }
6012
- function p(f, y, _) {
6012
+ function u(f, y, _) {
6013
6013
  let U = y, C = _, v;
6014
6014
  for (let x = d + 1; x > 1; --x)
6015
6015
  U = U ^ f.pbox[x], C = o(f, U) ^ C, v = U, U = C, C = v;
@@ -6044,7 +6044,7 @@ function po() {
6044
6044
  f[y] = _.left, f[y + 1] = _.right;
6045
6045
  },
6046
6046
  decryptBlock: function(f, y) {
6047
- var _ = p(t, f[y], f[y + 1]);
6047
+ var _ = u(t, f[y], f[y + 1]);
6048
6048
  f[y] = _.left, f[y + 1] = _.right;
6049
6049
  },
6050
6050
  blockSize: 64 / 32,
@@ -6059,7 +6059,7 @@ function po() {
6059
6059
  var go = ri.exports, cn;
6060
6060
  function co() {
6061
6061
  return cn || (cn = 1, (function(e, n) {
6062
- (function(i, l, u) {
6062
+ (function(i, l, p) {
6063
6063
  e.exports = l(ie(), Ki(), mr(), pr(), Sa(), cr(), Da(), Xn(), dt(), br(), el(), hr(), kr(), Sr(), ct(), Nr(), ya(), Ne(), Rr(), wr(), Ar(), Br(), Wr(), Ir(), Zr(), Kr(), $r(), jr(), Xr(), ao(), to(), lo(), oo(), mo(), po());
6064
6064
  })(go, function(i) {
6065
6065
  return i;
@@ -6071,11 +6071,11 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6071
6071
  const n = "mySecretPassphrase", i = va.lib.WordArray.random(16), l = va.PBKDF2(n, i, {
6072
6072
  keySize: 128 / 32,
6073
6073
  iterations: 1e3
6074
- }), u = va.AES.encrypt(e, l, {
6074
+ }), p = va.AES.encrypt(e, l, {
6075
6075
  iv: i,
6076
6076
  mode: va.mode.CBC,
6077
6077
  padding: va.pad.Pkcs7
6078
- }), g = i.toString(va.enc.Base64), b = va.enc.Base64.stringify(u.ciphertext);
6078
+ }), g = i.toString(va.enc.Base64), b = va.enc.Base64.stringify(p.ciphertext);
6079
6079
  return g + ":" + b;
6080
6080
  }, ue = () => {
6081
6081
  const { client: e, formDataClient: n } = oe(), i = I(
@@ -6088,7 +6088,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6088
6088
  return W;
6089
6089
  },
6090
6090
  [e]
6091
- ), l = I(async () => e.get("/member/getMemberInfo"), [e]), u = I(async () => await e.get("/member/getGameList"), [e]), g = I(async () => await e.get("/member/getNowCurrencyExchange"), [e]), b = I(async () => await e.get("member/getFavoriteGame"), [e]), d = I(
6091
+ ), l = I(async () => e.get("/member/getMemberInfo"), [e]), p = I(async () => await e.get("/member/getGameList"), [e]), g = I(async () => await e.get("/member/getNowCurrencyExchange"), [e]), b = I(async () => await e.get("member/getFavoriteGame"), [e]), d = I(
6092
6092
  async (S) => {
6093
6093
  const { account: G, password: L, trans_code: B } = S;
6094
6094
  return await e.post("/login", {
@@ -6141,7 +6141,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6141
6141
  });
6142
6142
  },
6143
6143
  [e]
6144
- ), p = I(
6144
+ ), u = I(
6145
6145
  async (S) => {
6146
6146
  const { oldPwd: G, newPwd: L } = S;
6147
6147
  return await e.post("/passwordReset", {
@@ -6319,7 +6319,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6319
6319
  return {
6320
6320
  machineLoginApi: i,
6321
6321
  userInfoApi: l,
6322
- userGameListApi: u,
6322
+ userGameListApi: p,
6323
6323
  userFavoriteGameApi: b,
6324
6324
  userCurrencyExchangeApi: g,
6325
6325
  userLoginApi: d,
@@ -6328,7 +6328,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6328
6328
  rankingGameApi: t,
6329
6329
  userSignUpApi: o,
6330
6330
  updateUserInfoApi: s,
6331
- resetUserPasswordApi: p,
6331
+ resetUserPasswordApi: u,
6332
6332
  setUserTransactionPasswordApi: m,
6333
6333
  resetUserTransactionPasswordApi: c,
6334
6334
  userRebateApi: y,
@@ -6349,7 +6349,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6349
6349
  verifyResetActionApi: f
6350
6350
  };
6351
6351
  }, hm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6352
- const { userCurrencyExchangeApi: i } = ue(), { getToken: l } = oe(), { enabled: u, ...g } = n, d = !!l?.() && (u ? u.every((r) => r) : !0);
6352
+ const { userCurrencyExchangeApi: i } = ue(), { getToken: l } = oe(), { enabled: p, ...g } = n, d = !!l?.() && (p ? p.every((r) => r) : !0);
6353
6353
  return Hn({
6354
6354
  queries: [
6355
6355
  {
@@ -6367,14 +6367,14 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6367
6367
  trigger: n = [],
6368
6368
  enabled: i = !0
6369
6369
  } = {}) => {
6370
- const { getToken: l } = oe(), u = l?.(), { userInfoApi: g } = ue();
6370
+ const { getToken: l } = oe(), p = l?.(), { userInfoApi: g } = ue();
6371
6371
  return Hn({
6372
6372
  queries: [
6373
6373
  {
6374
6374
  queryKey: ["getMemberInfo", ...n],
6375
6375
  queryFn: async () => await g(),
6376
6376
  refetchInterval: e,
6377
- enabled: !!u && i
6377
+ enabled: !!p && i
6378
6378
  }
6379
6379
  ]
6380
6380
  });
@@ -6383,7 +6383,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6383
6383
  userInfoApi: n,
6384
6384
  userFavoriteGameApi: i,
6385
6385
  userGameListApi: l,
6386
- userCurrencyExchangeApi: u
6386
+ userCurrencyExchangeApi: p
6387
6387
  } = ue(), g = j({
6388
6388
  queryKey: ["getMemInfo"],
6389
6389
  queryFn: async () => n(),
@@ -6398,7 +6398,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6398
6398
  enabled: e && g.isSuccess && b.isSuccess
6399
6399
  }), r = j({
6400
6400
  queryKey: ["getUserCurrencyExchange"],
6401
- queryFn: async () => u(),
6401
+ queryFn: async () => p(),
6402
6402
  enabled: e && g.isSuccess && b.isSuccess && d.isSuccess
6403
6403
  });
6404
6404
  return [
@@ -6433,7 +6433,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6433
6433
  });
6434
6434
  },
6435
6435
  [e, i]
6436
- ), u = I(
6436
+ ), p = I(
6437
6437
  async (b) => {
6438
6438
  const {
6439
6439
  startDate: d = we().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
@@ -6472,7 +6472,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6472
6472
  },
6473
6473
  [e]
6474
6474
  );
6475
- return { playGameApi: l, betRecordApi: u, betRecordDetailApi: g };
6475
+ return { playGameApi: l, betRecordApi: p, betRecordDetailApi: g };
6476
6476
  }, fo = ({ options: e, formData: n } = {}) => {
6477
6477
  const { betRecordApi: i } = ft();
6478
6478
  return j({
@@ -6525,47 +6525,47 @@ var yo = {
6525
6525
  }
6526
6526
  };
6527
6527
  function nt(e, n) {
6528
- function i(u, g, b) {
6528
+ function i(p, g, b) {
6529
6529
  if (!(typeof document > "u")) {
6530
- b = ii({}, n, b), typeof b.expires == "number" && (b.expires = new Date(Date.now() + b.expires * 864e5)), b.expires && (b.expires = b.expires.toUTCString()), u = encodeURIComponent(u).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
6530
+ b = ii({}, n, b), typeof b.expires == "number" && (b.expires = new Date(Date.now() + b.expires * 864e5)), b.expires && (b.expires = b.expires.toUTCString()), p = encodeURIComponent(p).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
6531
6531
  var d = "";
6532
6532
  for (var r in b)
6533
6533
  b[r] && (d += "; " + r, b[r] !== !0 && (d += "=" + b[r].split(";")[0]));
6534
- return document.cookie = u + "=" + e.write(g, u) + d;
6534
+ return document.cookie = p + "=" + e.write(g, p) + d;
6535
6535
  }
6536
6536
  }
6537
- function l(u) {
6538
- if (!(typeof document > "u" || arguments.length && !u)) {
6537
+ function l(p) {
6538
+ if (!(typeof document > "u" || arguments.length && !p)) {
6539
6539
  for (var g = document.cookie ? document.cookie.split("; ") : [], b = {}, d = 0; d < g.length; d++) {
6540
6540
  var r = g[d].split("="), a = r.slice(1).join("=");
6541
6541
  try {
6542
6542
  var t = decodeURIComponent(r[0]);
6543
- if (b[t] = e.read(a, t), u === t)
6543
+ if (b[t] = e.read(a, t), p === t)
6544
6544
  break;
6545
6545
  } catch {
6546
6546
  }
6547
6547
  }
6548
- return u ? b[u] : b;
6548
+ return p ? b[p] : b;
6549
6549
  }
6550
6550
  }
6551
6551
  return Object.create(
6552
6552
  {
6553
6553
  set: i,
6554
6554
  get: l,
6555
- remove: function(u, g) {
6555
+ remove: function(p, g) {
6556
6556
  i(
6557
- u,
6557
+ p,
6558
6558
  "",
6559
6559
  ii({}, g, {
6560
6560
  expires: -1
6561
6561
  })
6562
6562
  );
6563
6563
  },
6564
- withAttributes: function(u) {
6565
- return nt(this.converter, ii({}, this.attributes, u));
6564
+ withAttributes: function(p) {
6565
+ return nt(this.converter, ii({}, this.attributes, p));
6566
6566
  },
6567
- withConverter: function(u) {
6568
- return nt(ii({}, this.converter, u), this.attributes);
6567
+ withConverter: function(p) {
6568
+ return nt(ii({}, this.converter, p), this.attributes);
6569
6569
  }
6570
6570
  },
6571
6571
  {
@@ -6591,14 +6591,14 @@ function ra() {
6591
6591
  (function(g) {
6592
6592
  g[g.UNINSTANTIATED = -1] = "UNINSTANTIATED", g[g.CONNECTING = 0] = "CONNECTING", g[g.OPEN = 1] = "OPEN", g[g.CLOSING = 2] = "CLOSING", g[g.CLOSED = 3] = "CLOSED";
6593
6593
  })(l || (e.ReadyState = l = {}));
6594
- var u = function() {
6594
+ var p = function() {
6595
6595
  try {
6596
6596
  return "EventSource" in globalThis;
6597
6597
  } catch {
6598
6598
  return !1;
6599
6599
  }
6600
6600
  };
6601
- e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && u();
6601
+ e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && p();
6602
6602
  })(Yi)), Yi;
6603
6603
  }
6604
6604
  var qa = {}, Xi = {}, _n;
@@ -6619,30 +6619,30 @@ var ha = {}, sa = {}, yn;
6619
6619
  function yt() {
6620
6620
  if (yn) return sa;
6621
6621
  yn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
6622
- var e = ra(), n = function(u) {
6623
- if (u) {
6624
- var g = /^https|wss/.test(u), b = u.replace(/^(https?|wss?)(:\/\/)?/, ""), d = b.replace(/\/$/, ""), r = g ? "wss" : "ws";
6622
+ var e = ra(), n = function(p) {
6623
+ if (p) {
6624
+ var g = /^https|wss/.test(p), b = p.replace(/^(https?|wss?)(:\/\/)?/, ""), d = b.replace(/\/$/, ""), r = g ? "wss" : "ws";
6625
6625
  return "".concat(r, "://").concat(d).concat(e.SOCKET_IO_PATH);
6626
- } else if (u === "") {
6626
+ } else if (p === "") {
6627
6627
  var g = /^https/.test(window.location.protocol), r = g ? "wss" : "ws", a = window.location.port ? ":".concat(window.location.port) : "";
6628
6628
  return "".concat(r, "://").concat(window.location.hostname).concat(a).concat(e.SOCKET_IO_PATH);
6629
6629
  }
6630
- return u;
6630
+ return p;
6631
6631
  };
6632
6632
  sa.parseSocketIOUrl = n;
6633
- var i = function(u, g) {
6633
+ var i = function(p, g) {
6634
6634
  g === void 0 && (g = {});
6635
- var b = /\?([\w]+=[\w]+)/, d = b.test(u), r = "".concat(Object.entries(g).reduce(function(a, t) {
6635
+ var b = /\?([\w]+=[\w]+)/, d = b.test(p), r = "".concat(Object.entries(g).reduce(function(a, t) {
6636
6636
  var o = t[0], s = t[1];
6637
6637
  return a + "".concat(o, "=").concat(s, "&");
6638
6638
  }, "").slice(0, -1));
6639
- return "".concat(u).concat(d ? "&" : "?").concat(r);
6639
+ return "".concat(p).concat(d ? "&" : "?").concat(r);
6640
6640
  };
6641
6641
  sa.appendQueryParams = i;
6642
- var l = function(u, g) {
6642
+ var l = function(p, g) {
6643
6643
  g === void 0 && (g = e.SOCKET_IO_PING_INTERVAL);
6644
6644
  var b = function() {
6645
- return u(e.SOCKET_IO_PING_CODE);
6645
+ return p(e.SOCKET_IO_PING_CODE);
6646
6646
  };
6647
6647
  return window.setInterval(b, g);
6648
6648
  };
@@ -6654,13 +6654,13 @@ function il() {
6654
6654
  Un = 1, Object.defineProperty(ti, "__esModule", { value: !0 }), ti.heartbeat = i;
6655
6655
  var e = ra();
6656
6656
  function n(l) {
6657
- return Array.isArray(l) ? l.reduce(function(u, g) {
6658
- return u.current > g.current ? u : g;
6657
+ return Array.isArray(l) ? l.reduce(function(p, g) {
6658
+ return p.current > g.current ? p : g;
6659
6659
  }).current : l.current;
6660
6660
  }
6661
- function i(l, u, g) {
6662
- var b = g || {}, d = b.interval, r = d === void 0 ? e.DEFAULT_HEARTBEAT.interval : d, a = b.timeout, t = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = b.message, s = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, p = Math.max(100, r / 10), m = Date.now(), c = setInterval(function() {
6663
- var f = Date.now(), y = n(u);
6661
+ function i(l, p, g) {
6662
+ var b = g || {}, d = b.interval, r = d === void 0 ? e.DEFAULT_HEARTBEAT.interval : d, a = b.timeout, t = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = b.message, s = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, u = Math.max(100, r / 10), m = Date.now(), c = setInterval(function() {
6663
+ var f = Date.now(), y = n(p);
6664
6664
  if (y + t <= f)
6665
6665
  console.warn("Heartbeat timed out, closing connection, last message received ".concat(f - y, "ms ago, last ping sent ").concat(f - m, "ms ago")), l.close();
6666
6666
  else if (y + r <= f && m + r <= f)
@@ -6669,7 +6669,7 @@ function il() {
6669
6669
  } catch (_) {
6670
6670
  console.error("Heartbeat failed, closing connection", _ instanceof Error ? _.message : _), l.close();
6671
6671
  }
6672
- }, p);
6672
+ }, u);
6673
6673
  return l.addEventListener("close", function() {
6674
6674
  clearInterval(c);
6675
6675
  }), function() {
@@ -6685,11 +6685,11 @@ function Ut() {
6685
6685
  return (0, e.hasSubscribers)(r) ? Array.from(n[r]) : i;
6686
6686
  };
6687
6687
  e.getSubscribers = l;
6688
- var u = function(r) {
6688
+ var p = function(r) {
6689
6689
  var a;
6690
6690
  return ((a = n[r]) === null || a === void 0 ? void 0 : a.size) > 0;
6691
6691
  };
6692
- e.hasSubscribers = u;
6692
+ e.hasSubscribers = p;
6693
6693
  var g = function(r, a) {
6694
6694
  n[r] = n[r] || /* @__PURE__ */ new Set(), n[r].add(a);
6695
6695
  };
@@ -6713,12 +6713,12 @@ function bt() {
6713
6713
  if (Cn) return $a;
6714
6714
  Cn = 1, Object.defineProperty($a, "__esModule", { value: !0 }), $a.assertIsWebSocket = i, $a.resetGlobalState = l;
6715
6715
  var e = _t(), n = Ut();
6716
- function i(u, g) {
6717
- if (!g && !(u instanceof WebSocket))
6716
+ function i(p, g) {
6717
+ if (!g && !(p instanceof WebSocket))
6718
6718
  throw new Error("");
6719
6719
  }
6720
- function l(u) {
6721
- (0, n.resetSubscribers)(u), (0, e.resetWebSockets)(u);
6720
+ function l(p) {
6721
+ (0, n.resetSubscribers)(p), (0, e.resetWebSockets)(p);
6722
6722
  }
6723
6723
  return $a;
6724
6724
  }
@@ -6728,7 +6728,7 @@ function Uo() {
6728
6728
  vn = 1;
6729
6729
  var e = ha && ha.__assign || function() {
6730
6730
  return e = Object.assign || function(t) {
6731
- for (var o, s = 1, p = arguments.length; s < p; s++) {
6731
+ for (var o, s = 1, u = arguments.length; s < u; s++) {
6732
6732
  o = arguments[s];
6733
6733
  for (var m in o) Object.prototype.hasOwnProperty.call(o, m) && (t[m] = o[m]);
6734
6734
  }
@@ -6736,23 +6736,23 @@ function Uo() {
6736
6736
  }, e.apply(this, arguments);
6737
6737
  };
6738
6738
  Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachListeners = void 0;
6739
- var n = yt(), i = il(), l = ra(), u = bt(), g = function(t, o, s, p) {
6739
+ var n = yt(), i = il(), l = ra(), p = bt(), g = function(t, o, s, u) {
6740
6740
  t.onmessage = function(m) {
6741
6741
  var c;
6742
- o.current.onMessage && o.current.onMessage(m), typeof p?.current == "number" && (p.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));
6742
+ 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));
6743
6743
  };
6744
- }, b = function(t, o, s, p, m) {
6744
+ }, b = function(t, o, s, u, m) {
6745
6745
  t.onopen = function(c) {
6746
- if (o.current.onOpen && o.current.onOpen(c), p.current = 0, s(l.ReadyState.OPEN), o.current.heartbeat && t instanceof WebSocket) {
6746
+ if (o.current.onOpen && o.current.onOpen(c), u.current = 0, s(l.ReadyState.OPEN), o.current.heartbeat && t instanceof WebSocket) {
6747
6747
  var f = typeof o.current.heartbeat == "boolean" ? void 0 : o.current.heartbeat;
6748
6748
  m.current = Date.now(), (0, i.heartbeat)(t, m, f);
6749
6749
  }
6750
6750
  };
6751
- }, d = function(t, o, s, p, m) {
6751
+ }, d = function(t, o, s, u, m) {
6752
6752
  if (l.isEventSourceSupported && t instanceof EventSource)
6753
6753
  return function() {
6754
6754
  };
6755
- (0, u.assertIsWebSocket)(t, o.current.skipAssert);
6755
+ (0, p.assertIsWebSocket)(t, o.current.skipAssert);
6756
6756
  var c;
6757
6757
  return t.onclose = function(f) {
6758
6758
  var y;
@@ -6761,7 +6761,7 @@ function Uo() {
6761
6761
  if (m.current < _) {
6762
6762
  var U = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6763
6763
  c = window.setTimeout(function() {
6764
- m.current++, p();
6764
+ m.current++, u();
6765
6765
  }, U ?? l.DEFAULT_RECONNECT_INTERVAL_MS);
6766
6766
  } else
6767
6767
  o.current.onReconnectStop && o.current.onReconnectStop(_), console.warn("Max reconnect attempts of ".concat(_, " exceeded"));
@@ -6769,7 +6769,7 @@ function Uo() {
6769
6769
  }, function() {
6770
6770
  return c && window.clearTimeout(c);
6771
6771
  };
6772
- }, r = function(t, o, s, p, m) {
6772
+ }, r = function(t, o, s, u, m) {
6773
6773
  var c;
6774
6774
  return t.onerror = function(f) {
6775
6775
  var y;
@@ -6777,16 +6777,16 @@ function Uo() {
6777
6777
  if (m.current < ((y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : l.DEFAULT_RECONNECT_LIMIT)) {
6778
6778
  var _ = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6779
6779
  c = window.setTimeout(function() {
6780
- m.current++, p();
6780
+ m.current++, u();
6781
6781
  }, _ ?? l.DEFAULT_RECONNECT_INTERVAL_MS);
6782
6782
  } else
6783
6783
  o.current.onReconnectStop && o.current.onReconnectStop(o.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(o.current.reconnectAttempts, " exceeded"));
6784
6784
  }, function() {
6785
6785
  return c && window.clearTimeout(c);
6786
6786
  };
6787
- }, a = function(t, o, s, p, m, c, f) {
6787
+ }, a = function(t, o, s, u, m, c, f) {
6788
6788
  var y = o.setLastMessage, _ = o.setReadyState, U, C, v;
6789
- return s.current.fromSocketIO && (U = (0, n.setUpSocketIOPing)(f)), g(t, s, y, c), b(t, s, _, m, c), C = d(t, s, _, p, m), v = r(t, s, _, p, m), function() {
6789
+ return s.current.fromSocketIO && (U = (0, n.setUpSocketIOPing)(f)), g(t, s, y, c), b(t, s, _, m, c), C = d(t, s, _, u, m), v = r(t, s, _, u, m), function() {
6790
6790
  _(l.ReadyState.CLOSING), C(), v(), t.close(), U && clearInterval(U);
6791
6791
  };
6792
6792
  };
@@ -6798,37 +6798,37 @@ function bo() {
6798
6798
  hn = 1;
6799
6799
  var e = Ta && Ta.__assign || function() {
6800
6800
  return e = Object.assign || function(o) {
6801
- for (var s, p = 1, m = arguments.length; p < m; p++) {
6802
- s = arguments[p];
6801
+ for (var s, u = 1, m = arguments.length; u < m; u++) {
6802
+ s = arguments[u];
6803
6803
  for (var c in s) Object.prototype.hasOwnProperty.call(s, c) && (o[c] = s[c]);
6804
6804
  }
6805
6805
  return o;
6806
6806
  }, e.apply(this, arguments);
6807
6807
  };
6808
6808
  Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.attachSharedListeners = void 0;
6809
- var n = _t(), i = ra(), l = Ut(), u = yt(), g = il(), b = function(o, s, p) {
6809
+ var n = _t(), i = ra(), l = Ut(), p = yt(), g = il(), b = function(o, s, u) {
6810
6810
  o.onmessage = function(m) {
6811
6811
  (0, l.getSubscribers)(s).forEach(function(c) {
6812
6812
  var f;
6813
- c.optionsRef.current.onMessage && c.optionsRef.current.onMessage(m), typeof ((f = c?.lastMessageTime) === null || f === void 0 ? void 0 : f.current) == "number" && (c.lastMessageTime.current = Date.now()), !(typeof c.optionsRef.current.filter == "function" && c.optionsRef.current.filter(m) !== !0) && (p && typeof p != "boolean" && p?.returnMessage === m.data || c.setLastMessage(m));
6813
+ c.optionsRef.current.onMessage && c.optionsRef.current.onMessage(m), typeof ((f = c?.lastMessageTime) === null || f === void 0 ? void 0 : f.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));
6814
6814
  });
6815
6815
  };
6816
- }, d = function(o, s, p) {
6816
+ }, d = function(o, s, u) {
6817
6817
  o.onopen = function(m) {
6818
6818
  var c = (0, l.getSubscribers)(s);
6819
6819
  c.forEach(function(f) {
6820
- f.reconnectCount.current = 0, f.optionsRef.current.onOpen && f.optionsRef.current.onOpen(m), f.setReadyState(i.ReadyState.OPEN), p && o instanceof WebSocket && (f.lastMessageTime.current = Date.now());
6821
- }), p && o instanceof WebSocket && (0, g.heartbeat)(o, c.map(function(f) {
6820
+ f.reconnectCount.current = 0, f.optionsRef.current.onOpen && f.optionsRef.current.onOpen(m), f.setReadyState(i.ReadyState.OPEN), u && o instanceof WebSocket && (f.lastMessageTime.current = Date.now());
6821
+ }), u && o instanceof WebSocket && (0, g.heartbeat)(o, c.map(function(f) {
6822
6822
  return f.lastMessageTime;
6823
- }), typeof p == "boolean" ? void 0 : p);
6823
+ }), typeof u == "boolean" ? void 0 : u);
6824
6824
  };
6825
6825
  }, r = function(o, s) {
6826
- o instanceof WebSocket && (o.onclose = function(p) {
6826
+ o instanceof WebSocket && (o.onclose = function(u) {
6827
6827
  (0, l.getSubscribers)(s).forEach(function(m) {
6828
- m.optionsRef.current.onClose && m.optionsRef.current.onClose(p), m.setReadyState(i.ReadyState.CLOSED);
6828
+ m.optionsRef.current.onClose && m.optionsRef.current.onClose(u), m.setReadyState(i.ReadyState.CLOSED);
6829
6829
  }), delete n.sharedWebSockets[s], (0, l.getSubscribers)(s).forEach(function(m) {
6830
6830
  var c;
6831
- if (m.optionsRef.current.shouldReconnect && m.optionsRef.current.shouldReconnect(p)) {
6831
+ if (m.optionsRef.current.shouldReconnect && m.optionsRef.current.shouldReconnect(u)) {
6832
6832
  var f = (c = m.optionsRef.current.reconnectAttempts) !== null && c !== void 0 ? c : i.DEFAULT_RECONNECT_LIMIT;
6833
6833
  if (m.reconnectCount.current < f) {
6834
6834
  var y = typeof m.optionsRef.current.reconnectInterval == "function" ? m.optionsRef.current.reconnectInterval(m.reconnectCount.current) : m.optionsRef.current.reconnectInterval;
@@ -6841,14 +6841,14 @@ function bo() {
6841
6841
  });
6842
6842
  });
6843
6843
  }, a = function(o, s) {
6844
- o.onerror = function(p) {
6844
+ o.onerror = function(u) {
6845
6845
  (0, l.getSubscribers)(s).forEach(function(m) {
6846
- m.optionsRef.current.onError && m.optionsRef.current.onError(p), i.isEventSourceSupported && o instanceof EventSource && (m.optionsRef.current.onClose && m.optionsRef.current.onClose(e(e({}, p), { code: 1006, reason: "An error occurred with the EventSource: ".concat(p), wasClean: !1 })), m.setReadyState(i.ReadyState.CLOSED));
6846
+ m.optionsRef.current.onError && m.optionsRef.current.onError(u), i.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(i.ReadyState.CLOSED));
6847
6847
  }), i.isEventSourceSupported && o instanceof EventSource && o.close();
6848
6848
  };
6849
- }, t = function(o, s, p, m) {
6849
+ }, t = function(o, s, u, m) {
6850
6850
  var c;
6851
- return p.current.fromSocketIO && (c = (0, u.setUpSocketIOPing)(m)), b(o, s, p.current.heartbeat), r(o, s), d(o, s, p.current.heartbeat), a(o, s), function() {
6851
+ return u.current.fromSocketIO && (c = (0, p.setUpSocketIOPing)(m)), b(o, s, u.current.heartbeat), r(o, s), d(o, s, u.current.heartbeat), a(o, s), function() {
6852
6852
  c && clearInterval(c);
6853
6853
  };
6854
6854
  };
@@ -6858,20 +6858,20 @@ var Tn;
6858
6858
  function Co() {
6859
6859
  if (Tn) return qa;
6860
6860
  Tn = 1, Object.defineProperty(qa, "__esModule", { value: !0 }), qa.createOrJoinSocket = void 0;
6861
- var e = _t(), n = ra(), i = Uo(), l = bo(), u = Ut(), g = function(d, r, a, t, o) {
6861
+ var e = _t(), n = ra(), i = Uo(), l = bo(), p = Ut(), g = function(d, r, a, t, o) {
6862
6862
  return function() {
6863
- if ((0, u.removeSubscriber)(d, r), !(0, u.hasSubscribers)(d)) {
6863
+ if ((0, p.removeSubscriber)(d, r), !(0, p.hasSubscribers)(d)) {
6864
6864
  try {
6865
6865
  var s = e.sharedWebSockets[d];
6866
- s instanceof WebSocket && (s.onclose = function(p) {
6867
- a.current.onClose && a.current.onClose(p), t(n.ReadyState.CLOSED);
6866
+ s instanceof WebSocket && (s.onclose = function(u) {
6867
+ a.current.onClose && a.current.onClose(u), t(n.ReadyState.CLOSED);
6868
6868
  }), s.close();
6869
6869
  } catch {
6870
6870
  }
6871
6871
  o && o(), delete e.sharedWebSockets[d];
6872
6872
  }
6873
6873
  };
6874
- }, b = function(d, r, a, t, o, s, p, m, c) {
6874
+ }, b = function(d, r, a, t, o, s, u, m, c) {
6875
6875
  if (!n.isEventSourceSupported && t.current.eventSourceOptions)
6876
6876
  throw n.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
6877
6877
  if (t.current.share) {
@@ -6881,18 +6881,18 @@ function Co() {
6881
6881
  setLastMessage: o,
6882
6882
  setReadyState: a,
6883
6883
  optionsRef: t,
6884
- reconnectCount: p,
6884
+ reconnectCount: u,
6885
6885
  lastMessageTime: m,
6886
6886
  reconnect: s
6887
6887
  };
6888
- return (0, u.addSubscriber)(r, y), g(r, y, t, a, f);
6888
+ return (0, p.addSubscriber)(r, y), g(r, y, t, a, f);
6889
6889
  } else {
6890
6890
  if (d.current = t.current.eventSourceOptions ? new EventSource(r, t.current.eventSourceOptions) : new WebSocket(r, t.current.protocols), a(n.ReadyState.CONNECTING), !d.current)
6891
6891
  throw new Error("WebSocket failed to be created");
6892
6892
  return (0, i.attachListeners)(d.current, {
6893
6893
  setLastMessage: o,
6894
6894
  setReadyState: a
6895
- }, t, s.current, p, m, c);
6895
+ }, t, s.current, u, m, c);
6896
6896
  }
6897
6897
  };
6898
6898
  return qa.createOrJoinSocket = b, qa;
@@ -6901,12 +6901,12 @@ var ma = {}, kn;
6901
6901
  function vo() {
6902
6902
  return kn || (kn = 1, (function(e) {
6903
6903
  var n = ma && ma.__awaiter || function(r, a, t, o) {
6904
- function s(p) {
6905
- return p instanceof t ? p : new t(function(m) {
6906
- m(p);
6904
+ function s(u) {
6905
+ return u instanceof t ? u : new t(function(m) {
6906
+ m(u);
6907
6907
  });
6908
6908
  }
6909
- return new (t || (t = Promise))(function(p, m) {
6909
+ return new (t || (t = Promise))(function(u, m) {
6910
6910
  function c(_) {
6911
6911
  try {
6912
6912
  y(o.next(_));
@@ -6922,15 +6922,15 @@ function vo() {
6922
6922
  }
6923
6923
  }
6924
6924
  function y(_) {
6925
- _.done ? p(_.value) : s(_.value).then(c, f);
6925
+ _.done ? u(_.value) : s(_.value).then(c, f);
6926
6926
  }
6927
6927
  y((o = o.apply(r, a || [])).next());
6928
6928
  });
6929
6929
  }, i = ma && ma.__generator || function(r, a) {
6930
6930
  var t = { label: 0, sent: function() {
6931
- if (p[0] & 1) throw p[1];
6932
- return p[1];
6933
- }, trys: [], ops: [] }, o, s, p, m = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6931
+ if (u[0] & 1) throw u[1];
6932
+ return u[1];
6933
+ }, trys: [], ops: [] }, o, s, u, m = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6934
6934
  return m.next = c(0), m.throw = c(1), m.return = c(2), typeof Symbol == "function" && (m[Symbol.iterator] = function() {
6935
6935
  return this;
6936
6936
  }), m;
@@ -6942,11 +6942,11 @@ function vo() {
6942
6942
  function f(y) {
6943
6943
  if (o) throw new TypeError("Generator is already executing.");
6944
6944
  for (; m && (m = 0, y[0] && (t = 0)), t; ) try {
6945
- if (o = 1, s && (p = y[0] & 2 ? s.return : y[0] ? s.throw || ((p = s.return) && p.call(s), 0) : s.next) && !(p = p.call(s, y[1])).done) return p;
6946
- switch (s = 0, p && (y = [y[0] & 2, p.value]), y[0]) {
6945
+ 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;
6946
+ switch (s = 0, u && (y = [y[0] & 2, u.value]), y[0]) {
6947
6947
  case 0:
6948
6948
  case 1:
6949
- p = y;
6949
+ u = y;
6950
6950
  break;
6951
6951
  case 4:
6952
6952
  return t.label++, { value: y[1], done: !1 };
@@ -6957,48 +6957,48 @@ function vo() {
6957
6957
  y = t.ops.pop(), t.trys.pop();
6958
6958
  continue;
6959
6959
  default:
6960
- if (p = t.trys, !(p = p.length > 0 && p[p.length - 1]) && (y[0] === 6 || y[0] === 2)) {
6960
+ if (u = t.trys, !(u = u.length > 0 && u[u.length - 1]) && (y[0] === 6 || y[0] === 2)) {
6961
6961
  t = 0;
6962
6962
  continue;
6963
6963
  }
6964
- if (y[0] === 3 && (!p || y[1] > p[0] && y[1] < p[3])) {
6964
+ if (y[0] === 3 && (!u || y[1] > u[0] && y[1] < u[3])) {
6965
6965
  t.label = y[1];
6966
6966
  break;
6967
6967
  }
6968
- if (y[0] === 6 && t.label < p[1]) {
6969
- t.label = p[1], p = y;
6968
+ if (y[0] === 6 && t.label < u[1]) {
6969
+ t.label = u[1], u = y;
6970
6970
  break;
6971
6971
  }
6972
- if (p && t.label < p[2]) {
6973
- t.label = p[2], t.ops.push(y);
6972
+ if (u && t.label < u[2]) {
6973
+ t.label = u[2], t.ops.push(y);
6974
6974
  break;
6975
6975
  }
6976
- p[2] && t.ops.pop(), t.trys.pop();
6976
+ u[2] && t.ops.pop(), t.trys.pop();
6977
6977
  continue;
6978
6978
  }
6979
6979
  y = a.call(r, t);
6980
6980
  } catch (_) {
6981
6981
  y = [6, _], s = 0;
6982
6982
  } finally {
6983
- o = p = 0;
6983
+ o = u = 0;
6984
6984
  }
6985
6985
  if (y[0] & 5) throw y[1];
6986
6986
  return { value: y[0] ? y[1] : void 0, done: !0 };
6987
6987
  }
6988
6988
  }, l = ma && ma.__spreadArray || function(r, a, t) {
6989
- if (t || arguments.length === 2) for (var o = 0, s = a.length, p; o < s; o++)
6990
- (p || !(o in a)) && (p || (p = Array.prototype.slice.call(a, 0, o)), p[o] = a[o]);
6991
- return r.concat(p || Array.prototype.slice.call(a));
6989
+ if (t || arguments.length === 2) for (var o = 0, s = a.length, u; o < s; o++)
6990
+ (u || !(o in a)) && (u || (u = Array.prototype.slice.call(a, 0, o)), u[o] = a[o]);
6991
+ return r.concat(u || Array.prototype.slice.call(a));
6992
6992
  };
6993
6993
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
6994
- var u = yt(), g = ra(), b = function(r) {
6994
+ var p = yt(), g = ra(), b = function(r) {
6995
6995
  return new Promise(function(a) {
6996
6996
  return window.setTimeout(a, r);
6997
6997
  });
6998
6998
  }, d = function(r, a) {
6999
6999
  for (var t = [], o = 2; o < arguments.length; o++)
7000
7000
  t[o - 2] = arguments[o];
7001
- return n(void 0, l([r, a], t, !0), void 0, function(s, p, m) {
7001
+ return n(void 0, l([r, a], t, !0), void 0, function(s, u, m) {
7002
7002
  var c, f, y, _, U, C, v, x;
7003
7003
  return m === void 0 && (m = 0), i(this, function(D) {
7004
7004
  switch (D.label) {
@@ -7010,11 +7010,11 @@ function vo() {
7010
7010
  case 2:
7011
7011
  return c = D.sent(), [3, 9];
7012
7012
  case 3:
7013
- return D.sent(), p.current.retryOnError ? (f = (C = p.current.reconnectAttempts) !== null && C !== void 0 ? C : g.DEFAULT_RECONNECT_LIMIT, m < f ? (y = typeof p.current.reconnectInterval == "function" ? p.current.reconnectInterval(m) : p.current.reconnectInterval, [4, b(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
7013
+ return D.sent(), u.current.retryOnError ? (f = (C = u.current.reconnectAttempts) !== null && C !== void 0 ? C : g.DEFAULT_RECONNECT_LIMIT, m < f ? (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];
7014
7014
  case 4:
7015
- return D.sent(), [2, (0, e.getUrl)(s, p, m + 1)];
7015
+ return D.sent(), [2, (0, e.getUrl)(s, u, m + 1)];
7016
7016
  case 5:
7017
- return (x = (v = p.current).onReconnectStop) === null || x === void 0 || x.call(v, m), [2, null];
7017
+ return (x = (v = u.current).onReconnectStop) === null || x === void 0 || x.call(v, m), [2, null];
7018
7018
  case 6:
7019
7019
  return [3, 8];
7020
7020
  case 7:
@@ -7026,7 +7026,7 @@ function vo() {
7026
7026
  case 10:
7027
7027
  c = s, D.label = 11;
7028
7028
  case 11:
7029
- return _ = p.current.fromSocketIO ? (0, u.parseSocketIOUrl)(c) : c, U = p.current.queryParams ? (0, u.appendQueryParams)(_, p.current.queryParams) : _, [2, U];
7029
+ return _ = u.current.fromSocketIO ? (0, p.parseSocketIOUrl)(c) : c, U = u.current.queryParams ? (0, p.appendQueryParams)(_, u.current.queryParams) : _, [2, U];
7030
7030
  }
7031
7031
  });
7032
7032
  });
@@ -7040,13 +7040,13 @@ function ho() {
7040
7040
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
7041
7041
  var n = function(i, l) {
7042
7042
  return new Proxy(i, {
7043
- get: function(u, g) {
7044
- var b = u[g];
7043
+ get: function(p, g) {
7044
+ var b = p[g];
7045
7045
  return g === "reconnect" ? l : typeof b == "function" ? (console.error("Calling methods directly on the websocket is not supported at this moment. You must use the methods returned by useWebSocket."), function() {
7046
7046
  }) : b;
7047
7047
  },
7048
- set: function(u, g, b) {
7049
- return /^on/.test(g) ? (console.warn("The websocket's event handlers should be defined through the options object passed into useWebSocket."), !1) : (u[g] = b, !0);
7048
+ set: function(p, g, b) {
7049
+ return /^on/.test(g) ? (console.warn("The websocket's event handlers should be defined through the options object passed into useWebSocket."), !1) : (p[g] = b, !0);
7050
7050
  }
7051
7051
  });
7052
7052
  };
@@ -7059,13 +7059,13 @@ function Ct() {
7059
7059
  Sn = 1;
7060
7060
  var e = Ze && Ze.__assign || function() {
7061
7061
  return e = Object.assign || function(s) {
7062
- for (var p, m = 1, c = arguments.length; m < c; m++) {
7063
- p = arguments[m];
7064
- for (var f in p) Object.prototype.hasOwnProperty.call(p, f) && (s[f] = p[f]);
7062
+ for (var u, m = 1, c = arguments.length; m < c; m++) {
7063
+ u = arguments[m];
7064
+ for (var f in u) Object.prototype.hasOwnProperty.call(u, f) && (s[f] = u[f]);
7065
7065
  }
7066
7066
  return s;
7067
7067
  }, e.apply(this, arguments);
7068
- }, n = Ze && Ze.__awaiter || function(s, p, m, c) {
7068
+ }, n = Ze && Ze.__awaiter || function(s, u, m, c) {
7069
7069
  function f(y) {
7070
7070
  return y instanceof m ? y : new m(function(_) {
7071
7071
  _(y);
@@ -7089,9 +7089,9 @@ function Ct() {
7089
7089
  function v(x) {
7090
7090
  x.done ? y(x.value) : f(x.value).then(U, C);
7091
7091
  }
7092
- v((c = c.apply(s, p || [])).next());
7092
+ v((c = c.apply(s, u || [])).next());
7093
7093
  });
7094
- }, i = Ze && Ze.__generator || function(s, p) {
7094
+ }, i = Ze && Ze.__generator || function(s, u) {
7095
7095
  var m = { label: 0, sent: function() {
7096
7096
  if (y[0] & 1) throw y[1];
7097
7097
  return y[1];
@@ -7141,7 +7141,7 @@ function Ct() {
7141
7141
  y[2] && m.ops.pop(), m.trys.pop();
7142
7142
  continue;
7143
7143
  }
7144
- v = p.call(s, m);
7144
+ v = u.call(s, m);
7145
7145
  } catch (x) {
7146
7146
  v = [6, x], f = 0;
7147
7147
  } finally {
@@ -7154,32 +7154,32 @@ function Ct() {
7154
7154
  return s && s.__esModule ? s : { default: s };
7155
7155
  };
7156
7156
  Object.defineProperty(Ze, "__esModule", { value: !0 }), Ze.useWebSocket = void 0;
7157
- var u = de, g = Vl, b = ra(), d = Co(), r = vo(), a = l(ho()), t = bt(), o = function(s, p, m) {
7158
- p === void 0 && (p = b.DEFAULT_OPTIONS), m === void 0 && (m = !0);
7159
- var c = (0, u.useState)(null), f = c[0], y = c[1], _ = (0, u.useState)({}), U = _[0], C = _[1], v = (0, u.useMemo)(function() {
7160
- if (!p.disableJson && f)
7157
+ var p = de, g = Vl, b = ra(), d = Co(), r = vo(), a = l(ho()), t = bt(), o = function(s, u, m) {
7158
+ u === void 0 && (u = b.DEFAULT_OPTIONS), m === void 0 && (m = !0);
7159
+ var c = (0, p.useState)(null), f = c[0], y = c[1], _ = (0, p.useState)({}), U = _[0], C = _[1], v = (0, p.useMemo)(function() {
7160
+ if (!u.disableJson && f)
7161
7161
  try {
7162
7162
  return JSON.parse(f.data);
7163
7163
  } catch {
7164
7164
  return b.UNPARSABLE_JSON_OBJECT;
7165
7165
  }
7166
7166
  return null;
7167
- }, [f, p.disableJson]), x = (0, u.useRef)(null), D = (0, u.useRef)(null), M = (0, u.useRef)(function() {
7168
- }), H = (0, u.useRef)(0), k = (0, u.useRef)(Date.now()), T = (0, u.useRef)([]), A = (0, u.useRef)(null), O = (0, u.useRef)(p);
7169
- O.current = p;
7170
- var w = x.current && U[x.current] !== void 0 ? U[x.current] : s !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, R = p.queryParams ? JSON.stringify(p.queryParams) : null, S = (0, u.useCallback)(function(B, W) {
7167
+ }, [f, u.disableJson]), x = (0, p.useRef)(null), D = (0, p.useRef)(null), M = (0, p.useRef)(function() {
7168
+ }), H = (0, p.useRef)(0), k = (0, p.useRef)(Date.now()), T = (0, p.useRef)([]), A = (0, p.useRef)(null), O = (0, p.useRef)(u);
7169
+ O.current = u;
7170
+ var w = x.current && U[x.current] !== void 0 ? U[x.current] : s !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, R = u.queryParams ? JSON.stringify(u.queryParams) : null, S = (0, p.useCallback)(function(B, W) {
7171
7171
  var N;
7172
7172
  if (W === void 0 && (W = !0), b.isEventSourceSupported && D.current instanceof EventSource) {
7173
7173
  console.warn("Unable to send a message from an eventSource");
7174
7174
  return;
7175
7175
  }
7176
7176
  ((N = D.current) === null || N === void 0 ? void 0 : N.readyState) === b.ReadyState.OPEN ? ((0, t.assertIsWebSocket)(D.current, O.current.skipAssert), D.current.send(B)) : W && T.current.push(B);
7177
- }, []), G = (0, u.useCallback)(function(B, W) {
7177
+ }, []), G = (0, p.useCallback)(function(B, W) {
7178
7178
  W === void 0 && (W = !0), S(JSON.stringify(B), W);
7179
- }, [S]), L = (0, u.useCallback)(function() {
7179
+ }, [S]), L = (0, p.useCallback)(function() {
7180
7180
  return O.current.share !== !0 || b.isEventSourceSupported && D.current instanceof EventSource ? D.current : (A.current === null && D.current && ((0, t.assertIsWebSocket)(D.current, O.current.skipAssert), A.current = (0, a.default)(D.current, M)), A.current);
7181
7181
  }, []);
7182
- return (0, u.useEffect)(function() {
7182
+ return (0, p.useEffect)(function() {
7183
7183
  if (s !== null && m === !0) {
7184
7184
  var B, W = !1, N = !0, E = function() {
7185
7185
  return n(void 0, void 0, void 0, function() {
@@ -7224,7 +7224,7 @@ function Ct() {
7224
7224
  var P;
7225
7225
  return e(e({}, F), x.current && (P = {}, P[x.current] = b.ReadyState.CLOSED, P));
7226
7226
  }));
7227
- }, [s, m, R, S]), (0, u.useEffect)(function() {
7227
+ }, [s, m, R, S]), (0, p.useEffect)(function() {
7228
7228
  w === b.ReadyState.OPEN && T.current.splice(0).forEach(function(B) {
7229
7229
  S(B);
7230
7230
  });
@@ -7253,17 +7253,17 @@ function To() {
7253
7253
  }, e.apply(this, arguments);
7254
7254
  };
7255
7255
  Object.defineProperty(ka, "__esModule", { value: !0 }), ka.useSocketIO = void 0;
7256
- var n = de, i = Ct(), l = ra(), u = {
7256
+ var n = de, i = Ct(), l = ra(), p = {
7257
7257
  type: "empty",
7258
7258
  payload: null
7259
7259
  }, g = function(d) {
7260
7260
  if (!d || !d.data)
7261
- return u;
7261
+ return p;
7262
7262
  var r = d.data.match(/\[.*]/);
7263
7263
  if (!r)
7264
- return u;
7264
+ return p;
7265
7265
  var a = JSON.parse(r);
7266
- return !Array.isArray(a) || !a[1] ? u : {
7266
+ return !Array.isArray(a) || !a[1] ? p : {
7267
7267
  type: a[0],
7268
7268
  payload: a[1]
7269
7269
  };
@@ -7271,12 +7271,12 @@ function To() {
7271
7271
  r === void 0 && (r = l.DEFAULT_OPTIONS), a === void 0 && (a = !0);
7272
7272
  var t = (0, n.useMemo)(function() {
7273
7273
  return e(e({}, r), { fromSocketIO: !0 });
7274
- }, []), o = (0, i.useWebSocket)(d, t, a), s = o.sendMessage, p = o.sendJsonMessage, m = o.lastMessage, c = o.readyState, f = o.getWebSocket, y = (0, n.useMemo)(function() {
7274
+ }, []), o = (0, i.useWebSocket)(d, t, a), s = o.sendMessage, u = o.sendJsonMessage, m = o.lastMessage, c = o.readyState, f = o.getWebSocket, y = (0, n.useMemo)(function() {
7275
7275
  return g(m);
7276
7276
  }, [m]);
7277
7277
  return {
7278
7278
  sendMessage: s,
7279
- sendJsonMessage: p,
7279
+ sendJsonMessage: u,
7280
7280
  lastMessage: y,
7281
7281
  lastJsonMessage: y,
7282
7282
  readyState: c,
@@ -7306,17 +7306,17 @@ function ko() {
7306
7306
  return r;
7307
7307
  };
7308
7308
  Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
7309
- var i = de, l = Ct(), u = ra(), g = function(b, d, r) {
7310
- d === void 0 && (d = u.DEFAULT_EVENT_SOURCE_OPTIONS);
7309
+ var i = de, l = Ct(), p = ra(), g = function(b, d, r) {
7310
+ d === void 0 && (d = p.DEFAULT_EVENT_SOURCE_OPTIONS);
7311
7311
  var a = d.withCredentials, t = d.events, o = n(d, ["withCredentials", "events"]);
7312
7312
  r === void 0 && (r = !0);
7313
7313
  var s = e(e({}, o), { eventSourceOptions: {
7314
7314
  withCredentials: a
7315
- } }), p = (0, i.useRef)(u.EMPTY_EVENT_HANDLERS);
7316
- t && (p.current = t);
7315
+ } }), u = (0, i.useRef)(p.EMPTY_EVENT_HANDLERS);
7316
+ t && (u.current = t);
7317
7317
  var m = (0, l.useWebSocket)(b, s, r), c = m.lastMessage, f = m.readyState, y = m.getWebSocket;
7318
7318
  return (0, i.useEffect)(function() {
7319
- c?.type && Object.entries(p.current).forEach(function(_) {
7319
+ c?.type && Object.entries(u.current).forEach(function(_) {
7320
7320
  var U = _[0], C = _[1];
7321
7321
  U === c.type && C(c);
7322
7322
  });
@@ -7344,9 +7344,9 @@ function xo() {
7344
7344
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
7345
7345
  return l.ReadyState;
7346
7346
  } });
7347
- var u = ko();
7347
+ var p = ko();
7348
7348
  Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
7349
- return u.useEventSource;
7349
+ return p.useEventSource;
7350
7350
  } });
7351
7351
  var g = bt();
7352
7352
  Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
@@ -7360,13 +7360,13 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7360
7360
  isTestFunction: n = !1,
7361
7361
  isTransferMode: i = !1,
7362
7362
  isInGameBox: l = !1,
7363
- currentGamePlatform: u = ""
7363
+ currentGamePlatform: p = ""
7364
7364
  }) => {
7365
7365
  const { store: g, lng: b } = oe(), { isReady: d, setAsReady: r, isPending: a, setAsPending: t } = Vn(), o = $e(b), { mutateAsync: s } = Bo();
7366
7366
  return !e || !n || !i ? { handleTransferInGame: () => {
7367
7367
  } } : { handleTransferInGame: async () => {
7368
7368
  console.log("執行遊戲內轉帳"), l && await s({
7369
- platform: u
7369
+ platform: p
7370
7370
  }).then((m) => {
7371
7371
  const { code: c, request_id: f } = m;
7372
7372
  switch (c) {
@@ -7405,7 +7405,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7405
7405
  const { client: e } = oe(), n = I(async () => {
7406
7406
  const { data: d } = await e.get("/carousels");
7407
7407
  return d;
7408
- }, [e]), i = I(async () => await e.get("/marquees"), [e]), l = I(async () => await e.get("/notification"), [e]), u = I(
7408
+ }, [e]), i = I(async () => await e.get("/marquees"), [e]), l = I(async () => await e.get("/notification"), [e]), p = I(
7409
7409
  async (d) => await e.put(`/notification/${d}/read`),
7410
7410
  [e]
7411
7411
  ), g = I(
@@ -7433,7 +7433,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7433
7433
  commonCarouselApi: n,
7434
7434
  commonMarqueeApi: i,
7435
7435
  commonInboxApi: l,
7436
- commonReadInboxApi: u,
7436
+ commonReadInboxApi: p,
7437
7437
  verifyPhoneBarApi: g,
7438
7438
  verifyDonationCodeApi: b
7439
7439
  };
@@ -7532,8 +7532,8 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7532
7532
  queryKey: ["checkUserWager"],
7533
7533
  queryFn: async () => i(),
7534
7534
  select: (l) => {
7535
- const { data: u } = l;
7536
- return qe(u?.base, {
7535
+ const { data: p } = l;
7536
+ return qe(p?.base, {
7537
7537
  currency: n
7538
7538
  }) || {};
7539
7539
  },
@@ -7649,7 +7649,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7649
7649
  userBindCard: {}
7650
7650
  }
7651
7651
  } = {}) => {
7652
- const n = No({ options: e.login }), i = Lo({ options: e.logout }), l = Go({ options: e.register }), u = Ro({ options: e.updateUserInfo }), g = Mo({
7652
+ const n = No({ options: e.login }), i = Lo({ options: e.logout }), l = Go({ options: e.register }), p = Ro({ options: e.updateUserInfo }), g = Mo({
7653
7653
  options: e.toggleFavoriteGame
7654
7654
  }), b = Po({
7655
7655
  options: e.resetUserPassword
@@ -7662,7 +7662,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7662
7662
  login: n,
7663
7663
  logout: i,
7664
7664
  register: l,
7665
- updateUserInfo: u,
7665
+ updateUserInfo: p,
7666
7666
  toggleFavoriteGame: g,
7667
7667
  resetUserPassword: b,
7668
7668
  setUserTransactionPassword: d,
@@ -7689,7 +7689,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7689
7689
  socketHandlers: n = {},
7690
7690
  options: i = {},
7691
7691
  memberInfo: l = {},
7692
- transferInGamingConfig: u = {
7692
+ transferInGamingConfig: p = {
7693
7693
  enableTransferInGaming: !1,
7694
7694
  isTransferMode: !1,
7695
7695
  isInGameBox: !1,
@@ -7698,10 +7698,10 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7698
7698
  enableNotification: g = !1,
7699
7699
  disabledLineAutoRegister: b = !1
7700
7700
  }) => {
7701
- const { store: d, lng: r } = oe(), a = pt(), { isReady: t, setAsReady: o, isPending: s, setAsPending: p } = Vn(), m = $e(r), c = ee(!1), f = ee(n), y = re(l, "uid", null);
7701
+ const { store: d, lng: r } = oe(), a = pt(), { isReady: t, setAsReady: o, isPending: s, setAsPending: u } = Vn(), m = $e(r), c = ee(!1), f = ee(n), y = re(l, "uid", null);
7702
7702
  re(l, "testFunction", 0);
7703
7703
  const _ = new URLSearchParams(window.location.search), U = re(
7704
- u,
7704
+ p,
7705
7705
  "enableTransferInGaming",
7706
7706
  !1
7707
7707
  ), { mutateAsync: C } = tl({
@@ -7723,9 +7723,9 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7723
7723
  }), { handleTransferInGame: x } = Eo({
7724
7724
  enable: U,
7725
7725
  isTestFunction: !0,
7726
- isTransferMode: re(u, "isTransferMode", !1),
7727
- isInGameBox: re(u, "isInGameBox", !1),
7728
- currentGamePlatform: re(u, "currentGamePlatform", "")
7726
+ isTransferMode: re(p, "isTransferMode", !1),
7727
+ isInGameBox: re(p, "isInGameBox", !1),
7728
+ currentGamePlatform: re(p, "currentGamePlatform", "")
7729
7729
  }), {
7730
7730
  sendMessage: D,
7731
7731
  // 發送普通訊息
@@ -7935,7 +7935,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7935
7935
  });
7936
7936
  },
7937
7937
  [e]
7938
- ), u = I(
7938
+ ), p = I(
7939
7939
  async (b = {}) => {
7940
7940
  const { currency: d, event_uid: r } = b || {};
7941
7941
  return await e.post("/event/checkMemberEventsStatus", {
@@ -7954,27 +7954,27 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7954
7954
  return {
7955
7955
  eventListApi: n,
7956
7956
  checkCurrentEventProgessApi: i,
7957
- checkEventStatusApi: u,
7957
+ checkEventStatusApi: p,
7958
7958
  redeemEventRewardApi: l,
7959
7959
  settleEventApi: g
7960
7960
  };
7961
7961
  }, Vo = ({ paramsData: e, options: n } = {}) => {
7962
- const { store: i, lng: l, data2URL: u } = oe(), { eventListApi: g } = Ya(), b = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD", d = $e(l);
7962
+ const { store: i, lng: l, data2URL: p } = oe(), { eventListApi: g } = Ya(), b = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD", d = $e(l);
7963
7963
  return j({
7964
7964
  queryKey: ["eventList", e],
7965
7965
  queryFn: () => g({ paramsData: e }),
7966
7966
  select: (r) => {
7967
7967
  const { data: a } = r;
7968
7968
  return Be(a, (o) => {
7969
- const { events_attributes: s } = o, p = qe(
7969
+ const { events_attributes: s } = o, u = qe(
7970
7970
  s,
7971
7971
  (v) => v.attribute_currency === b
7972
- ) || s[0], m = re(p, "rewards", {}), c = re(o, "carousels.[0]", {}), f = qe(c.carousels_lang, (v) => v.lang === d) || c?.carousels_lang?.[0], y = {
7972
+ ) || s[0], m = re(u, "rewards", {}), c = re(o, "carousels.[0]", {}), f = qe(c.carousels_lang, (v) => v.lang === d) || c?.carousels_lang?.[0], y = {
7973
7973
  ...c,
7974
7974
  currentLngCarousel: {
7975
7975
  ...f,
7976
- carouselCurrentLanguagePCImageUrl: `${u}/carousels/${f?.image_pc}`,
7977
- carouselCurrentLanguageMBImageUrl: `${u}/carousels/${f?.image_mobile}`,
7976
+ carouselCurrentLanguagePCImageUrl: `${p}/carousels/${f?.image_pc}`,
7977
+ carouselCurrentLanguageMBImageUrl: `${p}/carousels/${f?.image_mobile}`,
7978
7978
  carouselCurrentLanguageS3PCImageUrl: `${Xe}/carousels/${f?.image_pc}`,
7979
7979
  carouselCurrentLanguageS3MBImageUrl: `${Xe}/carousels/${f?.image_mobile}`
7980
7980
  }
@@ -8029,13 +8029,13 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8029
8029
  lastSettlementDate: o.last_settlement_date
8030
8030
  //最後一次結算日期
8031
8031
  }, U = {
8032
- isActive: p.attribute_is_active === 1,
8032
+ isActive: u.attribute_is_active === 1,
8033
8033
  //是否啟用
8034
- currencyCode: p.attribute_currency,
8034
+ currencyCode: u.attribute_currency,
8035
8035
  //幣別代碼
8036
- value: p.attribute_value,
8036
+ value: u.attribute_value,
8037
8037
  //數值
8038
- eventUid: p.event_uid
8038
+ eventUid: u.event_uid
8039
8039
  //活動UID
8040
8040
  }, C = {
8041
8041
  baseValue: m.base_value,
@@ -8125,11 +8125,8 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8125
8125
  const { lng: e, data2URL: n } = oe(), { commonCarouselApi: i } = Ha(), l = $e(e);
8126
8126
  return j({
8127
8127
  queryKey: ["getCarouselList"],
8128
- queryFn: async () => {
8129
- const u = window.carousels_list;
8130
- return u || await i();
8131
- },
8132
- select: (u) => u.map((b) => {
8128
+ queryFn: async () => await i(),
8129
+ select: (p) => p.map((b) => {
8133
8130
  const { carousels_lang: d } = b, r = d?.find((a) => a.lang === l) || d?.[0];
8134
8131
  return {
8135
8132
  ...b,
@@ -8151,8 +8148,8 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8151
8148
  return l || await n();
8152
8149
  },
8153
8150
  select: (l) => {
8154
- const u = la(l) ? l : l.Marquees;
8155
- return Be(u, (b) => b[i] || b["en-US"]);
8151
+ const p = la(l) ? l : l.Marquees;
8152
+ return Be(p, (b) => b[i] || b["en-US"]);
8156
8153
  }
8157
8154
  });
8158
8155
  }, Vm = ({ options: e } = {}) => (ue(), j({
@@ -8388,7 +8385,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8388
8385
  enabled: window.profit_ranking_status === 1,
8389
8386
  select: (n) => {
8390
8387
  const { data: i } = n;
8391
- return Be(i, (u) => {
8388
+ return Be(i, (p) => {
8392
8389
  const {
8393
8390
  game_uid: g,
8394
8391
  game_code: b,
@@ -8398,7 +8395,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8398
8395
  platform: t,
8399
8396
  popularity_ranking: o,
8400
8397
  profit: s
8401
- } = u;
8398
+ } = p;
8402
8399
  return {
8403
8400
  gameUid: g,
8404
8401
  //遊戲UID
@@ -8422,34 +8419,34 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8422
8419
  ...e
8423
8420
  }));
8424
8421
  var Ko = Object.create, nl = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, $o = Object.getOwnPropertyNames, Qo = Object.getPrototypeOf, jo = Object.prototype.hasOwnProperty, Yo = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), Xo = (e, n, i, l) => {
8425
- if (n && typeof n == "object" || typeof n == "function") for (let u of $o(n)) !jo.call(e, u) && u !== i && nl(e, u, { get: () => n[u], enumerable: !(l = qo(n, u)) || l.enumerable });
8422
+ if (n && typeof n == "object" || typeof n == "function") for (let p of $o(n)) !jo.call(e, p) && p !== i && nl(e, p, { get: () => n[p], enumerable: !(l = qo(n, p)) || l.enumerable });
8426
8423
  return e;
8427
8424
  }, es = (e, n, i) => (i = e != null ? Ko(Qo(e)) : {}, Xo(!e || !e.__esModule ? nl(i, "default", { value: e, enumerable: !0 }) : i, e)), as = Yo((e, n) => {
8428
8425
  (function(i, l) {
8429
8426
  typeof e == "object" && typeof n < "u" ? l(e) : typeof define == "function" && define.amd ? define(["exports"], l) : (i = typeof globalThis < "u" ? globalThis : i || self, l(i.fastUniqueNumbers = {}));
8430
8427
  })(e, function(i) {
8431
- var l = function(p) {
8428
+ var l = function(u) {
8432
8429
  return function(m) {
8433
- var c = p(m);
8430
+ var c = u(m);
8434
8431
  return m.add(c), c;
8435
8432
  };
8436
- }, u = function(p) {
8433
+ }, p = function(u) {
8437
8434
  return function(m, c) {
8438
- return p.set(m, c), c;
8435
+ return u.set(m, c), c;
8439
8436
  };
8440
- }, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER, b = 536870912, d = b * 2, r = function(p, m) {
8437
+ }, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER, b = 536870912, d = b * 2, r = function(u, m) {
8441
8438
  return function(c) {
8442
8439
  var f = m.get(c), y = f === void 0 ? c.size : f < d ? f + 1 : 0;
8443
- if (!c.has(y)) return p(c, y);
8440
+ if (!c.has(y)) return u(c, y);
8444
8441
  if (c.size < b) {
8445
8442
  for (; c.has(y); ) y = Math.floor(Math.random() * d);
8446
- return p(c, y);
8443
+ return u(c, y);
8447
8444
  }
8448
8445
  if (c.size > g) throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");
8449
8446
  for (; c.has(y); ) y = Math.floor(Math.random() * g);
8450
- return p(c, y);
8447
+ return u(c, y);
8451
8448
  };
8452
- }, a = /* @__PURE__ */ new WeakMap(), t = u(a), o = r(t, a), s = l(o);
8449
+ }, a = /* @__PURE__ */ new WeakMap(), t = p(a), o = r(t, a), s = l(o);
8453
8450
  i.addUniqueNumber = s, i.generateUniqueNumber = o;
8454
8451
  });
8455
8452
  });
@@ -8532,8 +8529,8 @@ var rs = class {
8532
8529
  if (this.isApplying) return this.reApply = !0, !1;
8533
8530
  this.isApplying = !0;
8534
8531
  let e = !1, n = (i) => {
8535
- let { token: l, action: u } = i.data;
8536
- l !== this.token && (u === 0 && l > this.token && (e = !0), u === 1 && (e = !0));
8532
+ let { token: l, action: p } = i.data;
8533
+ l !== this.token && (p === 0 && l > this.token && (e = !0), p === 1 && (e = !0));
8537
8534
  };
8538
8535
  this.channel.addEventListener("message", n);
8539
8536
  try {
@@ -8554,20 +8551,20 @@ var rs = class {
8554
8551
  } catch {
8555
8552
  }
8556
8553
  let g = this.intervals.indexOf(n);
8557
- g >= 0 && this.intervals.splice(g, 1), this.channel.removeEventListener("message", u), i();
8554
+ g >= 0 && this.intervals.splice(g, 1), this.channel.removeEventListener("message", p), i();
8558
8555
  };
8559
8556
  n = Ye.setInterval(() => {
8560
8557
  this.apply().then(() => {
8561
8558
  this.isLeader && l();
8562
8559
  });
8563
8560
  }, this.options.fallbackInterval), this.intervals.push(n);
8564
- let u = (g) => {
8561
+ let p = (g) => {
8565
8562
  let { action: b } = g.data;
8566
8563
  b === 2 && this.apply().then(() => {
8567
8564
  this.isLeader && l();
8568
8565
  });
8569
8566
  };
8570
- this.channel.addEventListener("message", u);
8567
+ this.channel.addEventListener("message", p);
8571
8568
  });
8572
8569
  }
8573
8570
  sendAction(e) {
@@ -8608,37 +8605,37 @@ var rs = class {
8608
8605
  this.elector = new rs(this.channel, i), this.elector.waitForLeadership();
8609
8606
  }
8610
8607
  this.channel.addEventListener("message", (i) => {
8611
- let { action: l, token: u, data: g } = i.data;
8608
+ let { action: l, token: p, data: g } = i.data;
8612
8609
  switch (l) {
8613
8610
  case 3:
8614
- this.registry.set(u, 2);
8611
+ this.registry.set(p, 2);
8615
8612
  break;
8616
8613
  case 4:
8617
- this.registry.delete(u);
8614
+ this.registry.delete(p);
8618
8615
  break;
8619
8616
  case 5:
8620
- this.idle(u);
8617
+ this.idle(p);
8621
8618
  break;
8622
8619
  case 6:
8623
- this.active(u);
8620
+ this.active(p);
8624
8621
  break;
8625
8622
  case 7:
8626
- this.prompt(u);
8623
+ this.prompt(p);
8627
8624
  break;
8628
8625
  case 8:
8629
- this.start(u);
8626
+ this.start(p);
8630
8627
  break;
8631
8628
  case 9:
8632
- this.reset(u);
8629
+ this.reset(p);
8633
8630
  break;
8634
8631
  case 10:
8635
- this.activate(u);
8632
+ this.activate(p);
8636
8633
  break;
8637
8634
  case 11:
8638
- this.pause(u);
8635
+ this.pause(p);
8639
8636
  break;
8640
8637
  case 12:
8641
- this.resume(u);
8638
+ this.resume(p);
8642
8639
  break;
8643
8640
  case 13:
8644
8641
  this.options.onMessage(g);
@@ -8698,9 +8695,9 @@ var rs = class {
8698
8695
  }, ss = pa ? document : null, ms = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8699
8696
  function us(e, n) {
8700
8697
  let i;
8701
- function l(...u) {
8698
+ function l(...p) {
8702
8699
  i && clearTimeout(i), i = setTimeout(() => {
8703
- e(...u), i = null;
8700
+ e(...p), i = null;
8704
8701
  }, n);
8705
8702
  }
8706
8703
  return l.cancel = function() {
@@ -8710,18 +8707,18 @@ function us(e, n) {
8710
8707
  function it(e, n) {
8711
8708
  let i = 0;
8712
8709
  return function(...l) {
8713
- let u = (/* @__PURE__ */ new Date()).getTime();
8714
- if (!(u - i < n)) return i = u, e(...l);
8710
+ let p = (/* @__PURE__ */ new Date()).getTime();
8711
+ if (!(p - i < n)) return i = p, e(...l);
8715
8712
  };
8716
8713
  }
8717
8714
  var Te = () => Date.now(), Fa = 2147483647;
8718
- function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: i = 0, element: l = ss, events: u = ms, timers: g = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
8715
+ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: i = 0, element: l = ss, events: p = ms, timers: g = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
8719
8716
  }, onPrompt: r = () => {
8720
8717
  }, onIdle: a = () => {
8721
8718
  }, onActive: t = () => {
8722
8719
  }, onAction: o = () => {
8723
8720
  }, onMessage: s = () => {
8724
- }, debounce: p = 0, throttle: m = 0, eventsThrottle: c = 200, startOnMount: f = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled: D = !1 } = {}) {
8721
+ }, debounce: u = 0, throttle: m = 0, eventsThrottle: c = 200, startOnMount: f = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled: D = !1 } = {}) {
8725
8722
  let M = ee(Te()), H = ee(Te()), k = ee(null), T = ee(null), A = ee(0), O = ee(0), w = ee(0), R = ee(0), S = ee(!1), G = ee(!1), L = ee(!1), B = ee(!0), W = ee(!1), N = ee(null), E = ee(null), F = ee(e), P = ee(0);
8726
8723
  ge(() => {
8727
8724
  if (n && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), i && n) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
@@ -8738,7 +8735,7 @@ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8738
8735
  ge(() => {
8739
8736
  K.current = _;
8740
8737
  }, [_]);
8741
- let q = ee(b), Q = ee(l), J = ee([...(/* @__PURE__ */ new Set([...u, ...b])).values()]), ae = ee(D);
8738
+ let q = ee(b), Q = ee(l), J = ee([...(/* @__PURE__ */ new Set([...p, ...b])).values()]), ae = ee(D);
8742
8739
  ge(() => {
8743
8740
  ae.current = D, !B.current && (D ? Ve() : y || Qe());
8744
8741
  }, [D]);
@@ -8768,8 +8765,8 @@ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8768
8765
  }, [s]);
8769
8766
  let Ue = Oa(() => {
8770
8767
  let V = (De, ta) => ce.current(De, ta);
8771
- return p > 0 ? us(V, p) : m > 0 ? it(V, m) : V;
8772
- }, [m, p]), Ie = ee();
8768
+ return u > 0 ? us(V, u) : m > 0 ? it(V, m) : V;
8769
+ }, [m, u]), Ie = ee();
8773
8770
  ge(() => {
8774
8771
  U && v && (Ie.current = it(() => {
8775
8772
  E.current.active();
@@ -8813,7 +8810,7 @@ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8813
8810
  ge(() => {
8814
8811
  let V = W.current;
8815
8812
  V && Re(), c > 0 ? ia.current = it(aa, c) : ia.current = aa, V && xe();
8816
- }, [c, m, p, ce, U, v]);
8813
+ }, [c, m, u, ce, U, v]);
8817
8814
  let xe = () => {
8818
8815
  pa && Q.current && (W.current || (J.current.forEach((V) => {
8819
8816
  Q.current.addEventListener(V, ia.current, { capture: !0, passive: !0 });
@@ -8834,7 +8831,7 @@ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8834
8831
  return V >= 0 ? V : 0;
8835
8832
  }, [k, A]);
8836
8833
  ge(() => {
8837
- if (p > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
8834
+ if (u > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
8838
8835
  g && is(g);
8839
8836
  let V = () => {
8840
8837
  E.current && E.current.close(), Ue.cancel && Ue.cancel(), Ce(), Re(!0);
@@ -8856,11 +8853,11 @@ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8856
8853
  B.current || (Ce(), Re(!0)), !(y || D) && (f ? Qe() : xe());
8857
8854
  }, [y, f, D, B]), ge(() => {
8858
8855
  if (!B.current) {
8859
- let V = [...(/* @__PURE__ */ new Set([...u, ...b])).values()];
8856
+ let V = [...(/* @__PURE__ */ new Set([...p, ...b])).values()];
8860
8857
  if (Re(), J.current = V, Q.current = l, q.current = b, y || D) return;
8861
8858
  f ? Qe() : xe();
8862
8859
  }
8863
- }, [l, JSON.stringify(u), JSON.stringify(b), B, D, y, f]), ge(() => {
8860
+ }, [l, JSON.stringify(p), JSON.stringify(b), B, D, y, f]), ge(() => {
8864
8861
  B.current && (B.current = !1);
8865
8862
  }, [B]);
8866
8863
  let Se = { message: za, start: Qe, reset: oa, activate: ga, pause: Ve, resume: je, isIdle: Ea, isPrompted: Na, isLeader: Ia, isLastActiveTab: Va, getTabId: da, getRemainingTime: Ua, getElapsedTime: Je, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: La, getIdleTime: Ga, getTotalIdleTime: ba, getActiveTime: Ma, getTotalActiveTime: Ra, setOnPresenceChange: (V) => {
@@ -8887,7 +8884,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
8887
8884
  timeout: l,
8888
8885
  throttle: 500
8889
8886
  }), ds = ({ options: e } = {}) => {
8890
- const { commonInboxApi: n } = Ha(), { getToken: i, lng: l } = oe(), u = i?.(), g = $e(l);
8887
+ const { commonInboxApi: n } = Ha(), { getToken: i, lng: l } = oe(), p = i?.(), g = $e(l);
8891
8888
  return j({
8892
8889
  queryKey: ["inboxList"],
8893
8890
  queryFn: async () => await n(),
@@ -8904,7 +8901,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
8904
8901
  };
8905
8902
  });
8906
8903
  },
8907
- enabled: !!u,
8904
+ enabled: !!p,
8908
8905
  ...e
8909
8906
  });
8910
8907
  }, cs = ({ options: e } = {}) => {
@@ -8982,7 +8979,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
8982
8979
  ...e.other
8983
8980
  }
8984
8981
  ], Km = ({ options: e, formData: n } = {}) => {
8985
- const { lng: i } = oe(), { newsListApi: l } = rl(), u = $e(i);
8982
+ const { lng: i } = oe(), { newsListApi: l } = rl(), p = $e(i);
8986
8983
  return j({
8987
8984
  queryKey: ["newsList"],
8988
8985
  queryFn: () => {
@@ -8992,7 +8989,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
8992
8989
  select: (g) => {
8993
8990
  const { data: b } = g, d = b.data?.filter((a) => a.is_active === 1), r = Be(d, (a) => {
8994
8991
  const t = qe(a.news_language, {
8995
- language: u
8992
+ language: p
8996
8993
  }) || a.news_language[0];
8997
8994
  return {
8998
8995
  ...a,
@@ -9008,7 +9005,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9008
9005
  ...e
9009
9006
  });
9010
9007
  }, qm = ({ options: e, formData: n } = {}) => {
9011
- const { lng: i } = oe(), { newsListApi: l } = rl(), u = $e(i);
9008
+ const { lng: i } = oe(), { newsListApi: l } = rl(), p = $e(i);
9012
9009
  return j({
9013
9010
  queryKey: ["newsList"],
9014
9011
  queryFn: () => {
@@ -9017,7 +9014,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9017
9014
  },
9018
9015
  select: (g) => {
9019
9016
  const b = qe(g.data.news_language, {
9020
- language: u
9017
+ language: p
9021
9018
  }) || g.data.news_language[0];
9022
9019
  return {
9023
9020
  ...g.data,
@@ -9045,7 +9042,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9045
9042
  });
9046
9043
  },
9047
9044
  [e]
9048
- ), u = I(
9045
+ ), p = I(
9049
9046
  async (m) => {
9050
9047
  const { bank_uid: c, amount: f, bank_number_last5: y, postscript: _ } = m;
9051
9048
  return await e.post("/vip/deposit", {
@@ -9160,7 +9157,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9160
9157
  });
9161
9158
  },
9162
9159
  [e]
9163
- ), p = I(
9160
+ ), u = I(
9164
9161
  async (m) => {
9165
9162
  const {
9166
9163
  str_date: c,
@@ -9185,7 +9182,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9185
9182
  depositApiV1: n,
9186
9183
  depositApiV2: i,
9187
9184
  depositApi: l,
9188
- bankDepositApi: u,
9185
+ bankDepositApi: p,
9189
9186
  withdrawApi: g,
9190
9187
  depositTransactionApi: b,
9191
9188
  eventTransactionApi: d,
@@ -9194,7 +9191,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9194
9191
  invoiceApi: t,
9195
9192
  updateInvoiceApi: o,
9196
9193
  transactionRecordApi: s,
9197
- treasureRecordApi: p
9194
+ treasureRecordApi: u
9198
9195
  };
9199
9196
  }, _s = ({ options: e } = {}) => {
9200
9197
  const { depositApiV1: n } = Ae();
@@ -9209,7 +9206,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9209
9206
  queryKey: ["depositV2", e],
9210
9207
  queryFn: () => i({ paramsData: e }),
9211
9208
  select: (l) => {
9212
- const { third_party: u, bank: g, vip: b } = l, d = Be(u, (r) => ({
9209
+ const { third_party: p, bank: g, vip: b } = l, d = Be(p, (r) => ({
9213
9210
  ...r,
9214
9211
  providerList: Be(r.providers, (a) => ({
9215
9212
  ...a,
@@ -9331,12 +9328,12 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9331
9328
  depositV2: n = {},
9332
9329
  depositTransaction: i = {},
9333
9330
  depositAction: l = {},
9334
- withdrawAction: u = {},
9331
+ withdrawAction: p = {},
9335
9332
  bankDeposit: g = {},
9336
9333
  eventTransaction: b = {},
9337
9334
  withdrawTransaction: d = {}
9338
9335
  } = {}) => {
9339
- const r = _s(e), a = ys(n), t = Cs(i), o = Us(l), s = bs(u), p = hs(g), m = vs(b), c = Ts(
9336
+ const r = _s(e), a = ys(n), t = Cs(i), o = Us(l), s = bs(p), u = hs(g), m = vs(b), c = Ts(
9340
9337
  d
9341
9338
  );
9342
9339
  return {
@@ -9345,7 +9342,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9345
9342
  depositTransaction: t,
9346
9343
  depositAction: o,
9347
9344
  withdrawAction: s,
9348
- bankDepositAction: p,
9345
+ bankDepositAction: u,
9349
9346
  eventTransaction: m,
9350
9347
  withdrawTransaction: c
9351
9348
  };
@@ -9353,17 +9350,17 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9353
9350
  let n = {};
9354
9351
  return e.forEach((i, l) => n[i] = l), n;
9355
9352
  })(Qa), Ss = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Mn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ml = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ul = (e) => {
9356
- let n, i, l, u, g = "";
9353
+ let n, i, l, p, g = "";
9357
9354
  const b = e.length % 3;
9358
9355
  for (let d = 0; d < e.length; ) {
9359
- if ((i = e.charCodeAt(d++)) > 255 || (l = e.charCodeAt(d++)) > 255 || (u = e.charCodeAt(d++)) > 255)
9356
+ if ((i = e.charCodeAt(d++)) > 255 || (l = e.charCodeAt(d++)) > 255 || (p = e.charCodeAt(d++)) > 255)
9360
9357
  throw new TypeError("invalid character found");
9361
- n = i << 16 | l << 8 | u, g += Qa[n >> 18 & 63] + Qa[n >> 12 & 63] + Qa[n >> 6 & 63] + Qa[n & 63];
9358
+ n = i << 16 | l << 8 | p, g += Qa[n >> 18 & 63] + Qa[n >> 12 & 63] + Qa[n >> 6 & 63] + Qa[n & 63];
9362
9359
  }
9363
9360
  return b ? g.slice(0, b - 3) + "===".substring(b) : g;
9364
9361
  }, vt = typeof btoa == "function" ? (e) => btoa(e) : Wa ? (e) => Buffer.from(e, "binary").toString("base64") : ul, rt = Wa ? (e) => Buffer.from(e).toString("base64") : (e) => {
9365
9362
  let i = [];
9366
- for (let l = 0, u = e.length; l < u; l += 4096)
9363
+ for (let l = 0, p = e.length; l < p; l += 4096)
9367
9364
  i.push(Le.apply(null, e.subarray(l, l + 4096)));
9368
9365
  return vt(i.join(""));
9369
9366
  }, zi = (e, n = !1) => n ? sl(rt(e)) : rt(e), Ds = (e) => {
@@ -9388,10 +9385,10 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9388
9385
  if (e = e.replace(/\s+/g, ""), !Ss.test(e))
9389
9386
  throw new TypeError("malformed base64.");
9390
9387
  e += "==".slice(2 - (e.length & 3));
9391
- let n, i, l, u = [];
9388
+ let n, i, l, p = [];
9392
9389
  for (let g = 0; g < e.length; )
9393
- n = ni[e.charAt(g++)] << 18 | ni[e.charAt(g++)] << 12 | (i = ni[e.charAt(g++)]) << 6 | (l = ni[e.charAt(g++)]), i === 64 ? u.push(Le(n >> 16 & 255)) : l === 64 ? u.push(Le(n >> 16 & 255, n >> 8 & 255)) : u.push(Le(n >> 16 & 255, n >> 8 & 255, n & 255));
9394
- return u.join("");
9390
+ n = ni[e.charAt(g++)] << 18 | ni[e.charAt(g++)] << 12 | (i = ni[e.charAt(g++)]) << 6 | (l = ni[e.charAt(g++)]), i === 64 ? p.push(Le(n >> 16 & 255)) : l === 64 ? p.push(Le(n >> 16 & 255, n >> 8 & 255)) : p.push(Le(n >> 16 & 255, n >> 8 & 255, n & 255));
9391
+ return p.join("");
9395
9392
  }, ht = typeof atob == "function" ? (e) => atob(ml(e)) : Wa ? (e) => Buffer.from(e, "base64").toString("binary") : dl, cl = Wa ? (e) => Mn(Buffer.from(e, "base64")) : (e) => Mn(ht(e).split("").map((n) => n.charCodeAt(0))), fl = (e) => cl(_l(e)), Gs = Wa ? (e) => Buffer.from(e, "base64").toString("utf8") : Ln ? (e) => Ln.decode(cl(e)) : (e) => gl(ht(e)), _l = (e) => ml(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), ot = (e) => Gs(_l(e)), Ms = (e) => {
9396
9393
  if (typeof e != "string")
9397
9394
  return !1;
@@ -9452,9 +9449,9 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9452
9449
  return j({
9453
9450
  queryKey: ["playGame"],
9454
9451
  queryFn: async () => {
9455
- const { gameUid: l, gameCode: u, isMobile: g, gameCurrency: b, currentCurrency: d } = e || {}, r = await i({
9452
+ const { gameUid: l, gameCode: p, isMobile: g, gameCurrency: b, currentCurrency: d } = e || {}, r = await i({
9456
9453
  gameUid: l,
9457
- gameCode: u,
9454
+ gameCode: p,
9458
9455
  isMobile: g,
9459
9456
  gameCurrency: b,
9460
9457
  currentCurrency: d
@@ -9463,7 +9460,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9463
9460
  lang: t,
9464
9461
  not_support_iframe: o,
9465
9462
  portrait: s,
9466
- url: p,
9463
+ url: u,
9467
9464
  is_html_code: m,
9468
9465
  message: c
9469
9466
  } = r;
@@ -9473,8 +9470,8 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9473
9470
  supportIframe: !o,
9474
9471
  supportPortrait: s,
9475
9472
  isHtmlCode: m,
9476
- gameUrl: p,
9477
- decodeGameUrl: Ps.decode(p),
9473
+ gameUrl: u,
9474
+ decodeGameUrl: Ps.decode(u),
9478
9475
  message: c
9479
9476
  };
9480
9477
  },
@@ -9519,7 +9516,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9519
9516
  params: d
9520
9517
  }),
9521
9518
  [e]
9522
- ), i = I(async () => await e.get("/memberRewards/member/unused"), [e]), l = I(async () => await e.get("/memberRewards/member/expired"), [e]), u = I(
9519
+ ), i = I(async () => await e.get("/memberRewards/member/unused"), [e]), l = I(async () => await e.get("/memberRewards/member/expired"), [e]), p = I(
9523
9520
  async (b) => await e.post("/memberRewards/memberGetRewards", {
9524
9521
  memberRewards_uid: b
9525
9522
  }),
@@ -9529,7 +9526,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9529
9526
  rewardListApi: n,
9530
9527
  unUsedRewardListApi: i,
9531
9528
  expiredRewardListApi: l,
9532
- redeemRewardApi: u,
9529
+ redeemRewardApi: p,
9533
9530
  historyRewardApi: g
9534
9531
  };
9535
9532
  }, As = ({ options: e } = {}) => {
@@ -9537,15 +9534,15 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9537
9534
  return j({
9538
9535
  queryKey: ["rewardsList"],
9539
9536
  queryFn: (i) => {
9540
- const { uid: l, params: u } = i || {};
9541
- return n({ uid: l, params: u });
9537
+ const { uid: l, params: p } = i || {};
9538
+ return n({ uid: l, params: p });
9542
9539
  },
9543
9540
  select: (i) => {
9544
- const l = Be(i.data.data, (u) => {
9541
+ const l = Be(i.data.data, (p) => {
9545
9542
  const {
9546
9543
  wagering_restricted_amount: g,
9547
9544
  claimed_amount: b
9548
- } = u, d = re(u, "rewards", {}), {
9545
+ } = p, d = re(p, "rewards", {}), {
9549
9546
  expiration_days: r,
9550
9547
  name: a,
9551
9548
  position: t,
@@ -9553,7 +9550,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9553
9550
  uid: s
9554
9551
  } = d;
9555
9552
  return {
9556
- ...u,
9553
+ ...p,
9557
9554
  rewardExpirationDays: r,
9558
9555
  rewardName: a,
9559
9556
  rewardPosition: t,
@@ -9613,7 +9610,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9613
9610
  options: e.redeemReward
9614
9611
  }), l = Bs({
9615
9612
  options: e.unUsedRewardsList
9616
- }), u = Hs({
9613
+ }), p = Hs({
9617
9614
  options: e.expiredRewardsList
9618
9615
  }), g = Ws({
9619
9616
  options: e.historyRewardsList
@@ -9622,14 +9619,14 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9622
9619
  rewardsListQuery: n,
9623
9620
  redeemRewardMutation: i,
9624
9621
  unUsedRewardsListQuery: l,
9625
- expiredRewardsListQuery: u,
9622
+ expiredRewardsListQuery: p,
9626
9623
  historyRewardsListQuery: g
9627
9624
  };
9628
9625
  }, vl = () => {
9629
9626
  const { client: e } = oe(), n = I(
9630
9627
  async (l = {}) => {
9631
9628
  const {
9632
- startTime: u = "2025-12-30 00:00:00",
9629
+ startTime: p = "2025-12-30 00:00:00",
9633
9630
  endTime: g = "2026-12-31 23:59:59",
9634
9631
  isActive: b = 1,
9635
9632
  showUnavailable: d = 1,
@@ -9639,7 +9636,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9639
9636
  } = l;
9640
9637
  return await e.get("/treasure", {
9641
9638
  params: {
9642
- start_time: u,
9639
+ start_time: p,
9643
9640
  end_time: g,
9644
9641
  is_active: b,
9645
9642
  show_unavailable: d,
@@ -9651,8 +9648,8 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9651
9648
  [e]
9652
9649
  ), i = I(
9653
9650
  async (l) => {
9654
- const { treasure_uid: u = "" } = l;
9655
- return await e.post(`/treasure/redeem/${u}`);
9651
+ const { treasure_uid: p = "" } = l;
9652
+ return await e.post(`/treasure/redeem/${p}`);
9656
9653
  },
9657
9654
  [e]
9658
9655
  );
@@ -9661,7 +9658,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9661
9658
  redeemTreasureApi: i
9662
9659
  };
9663
9660
  }, ou = ({ paramsData: e, options: n } = {}) => {
9664
- const { client: i, lng: l } = oe(), u = $e(l || "tw"), { treasureListApi: g } = vl();
9661
+ const { client: i, lng: l } = oe(), p = $e(l || "tw"), { treasureListApi: g } = vl();
9665
9662
  return j({
9666
9663
  queryKey: ["treasureList", e],
9667
9664
  queryFn: () => g(e),
@@ -9675,7 +9672,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9675
9672
  return {
9676
9673
  list: Be(re(d, "data", []), (t) => {
9677
9674
  const o = qe(t.treasure_copywriting, {
9678
- language: u
9675
+ language: p
9679
9676
  });
9680
9677
  return {
9681
9678
  ...t,
@@ -9706,8 +9703,8 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9706
9703
  return j({
9707
9704
  queryKey: ["vipInfo"],
9708
9705
  queryFn: async () => l(),
9709
- select: (u) => {
9710
- const { data: g } = u;
9706
+ select: (p) => {
9707
+ const { data: g } = p;
9711
9708
  return {
9712
9709
  currentWager: g.wagering,
9713
9710
  currentLevel: i.vip_level,
@@ -9721,11 +9718,11 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9721
9718
  return j({
9722
9719
  queryKey: ["vipList"],
9723
9720
  queryFn: async () => {
9724
- const u = window.vip_list;
9725
- return u || l();
9721
+ const p = window.vip_list;
9722
+ return p || l();
9726
9723
  },
9727
- select: (u) => {
9728
- const g = la(u) ? u : u.data;
9724
+ select: (p) => {
9725
+ const g = la(p) ? p : p.data;
9729
9726
  return Be(g, (d) => {
9730
9727
  const {
9731
9728
  vip_criteria: r,
@@ -9733,7 +9730,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9733
9730
  vip_withdrawal_rate: t,
9734
9731
  rebate_range: o,
9735
9732
  vip_game_rebate: s
9736
- } = d, p = qe(r, { currency_code: i }) || {}, m = qe(a, { currency_code: i }) || {}, c = t, f = Be(o, (U) => ({
9733
+ } = d, u = qe(r, { currency_code: i }) || {}, m = qe(a, { currency_code: i }) || {}, c = t, f = Be(o, (U) => ({
9737
9734
  ...U,
9738
9735
  rebateRange: JSON.parse(U.rebate_range)
9739
9736
  })), y = re(s, "[0]", {}), _ = {
@@ -9743,7 +9740,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9743
9740
  return {
9744
9741
  ...d,
9745
9742
  vipImageUrl: `${Xe}/vip/vip${d.level}_l.avif`,
9746
- vipRule: p,
9743
+ vipRule: u,
9747
9744
  vipWithdraw: m,
9748
9745
  vipWithdrawFeeRate: c,
9749
9746
  vipRebateRange: f,
@@ -9780,7 +9777,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9780
9777
  const { lng: n } = oe(), i = wn(n), {
9781
9778
  gameCode: l,
9782
9779
  // 遊戲代碼
9783
- gameUid: u,
9780
+ gameUid: p,
9784
9781
  // 遊戲唯一標識符
9785
9782
  gameTypeUid: g,
9786
9783
  // 遊戲類型唯一標識符
@@ -9799,7 +9796,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9799
9796
  // 遊戲類型
9800
9797
  game_tags: s,
9801
9798
  // 遊戲標籤
9802
- isUnderMaintenance: p,
9799
+ isUnderMaintenance: u,
9803
9800
  // 是否維護中
9804
9801
  support_vertical: m,
9805
9802
  // 是否支援直向
@@ -9818,7 +9815,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9818
9815
  } = e, v = e?.[`gameName${wn(i)}`], x = `${Nt}/${Fn}/en/${a}/${kt(l, / /g, "_")}.webp`, D = `${Nt}/${Fn}/en/${a}/${kt(l, / /g, "_")}.gif`;
9819
9816
  return {
9820
9817
  gameCode: l,
9821
- gameUid: u,
9818
+ gameUid: p,
9822
9819
  gameTypeUid: g,
9823
9820
  providerUid: b,
9824
9821
  supportCurrency: d,
@@ -9827,7 +9824,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9827
9824
  gameSubType: t,
9828
9825
  gameType: o,
9829
9826
  gameTags: s,
9830
- isUnderMaintenance: p,
9827
+ isUnderMaintenance: u,
9831
9828
  supportVertical: m,
9832
9829
  supportHorizontal: c,
9833
9830
  userClickCount: f,
@@ -9856,7 +9853,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9856
9853
  // 子平台枚舉
9857
9854
  platformEnum: l,
9858
9855
  // 平台枚舉
9859
- isUnderMaintenance: u,
9856
+ isUnderMaintenance: p,
9860
9857
  // 是否維護中
9861
9858
  maintenanceStartTime: g,
9862
9859
  // 維護開始時間
@@ -9876,7 +9873,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9876
9873
  return {
9877
9874
  subPlatformEnum: i,
9878
9875
  platformEnum: l,
9879
- isUnderMaintenance: u,
9876
+ isUnderMaintenance: p,
9880
9877
  maintenanceStartTime: g,
9881
9878
  maintenanceEndTime: b,
9882
9879
  platform: d,
@@ -9887,23 +9884,23 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9887
9884
  platformImageUrl: s
9888
9885
  };
9889
9886
  }, Vs = (e = {}) => !Zi(e) || Ee(e) ? [] : Ji(e), An = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), Zs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), Js = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), Ks = (e = {}) => !Zi(e) || Ee(e) ? [] : Ji(e), qs = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((i, l) => {
9890
- const u = n.map((g) => g.game_subtype);
9891
- return u.forEach((g) => {
9887
+ const p = n.map((g) => g.game_subtype);
9888
+ return p.forEach((g) => {
9892
9889
  i[g] = i[g] || [];
9893
- }), u.includes(l.game_subtype) && i[l.game_subtype].push(l), i;
9890
+ }), p.includes(l.game_subtype) && i[l.game_subtype].push(l), i;
9894
9891
  }, {}), $s = ({
9895
9892
  gameTypes: e = [],
9896
9893
  platforms: n = [],
9897
9894
  gameList: i = {},
9898
9895
  allGameTypes: l = [],
9899
- allPlatforms: u = []
9896
+ allPlatforms: p = []
9900
9897
  }) => !la(e) || !la(n) ? {} : Ee(i) ? {} : e.reduce((g, b) => {
9901
9898
  const d = jl({
9902
9899
  gameTypeName: b,
9903
9900
  platforms: n,
9904
9901
  gameList: i,
9905
9902
  allGameTypes: l,
9906
- allPlatforms: u
9903
+ allPlatforms: p
9907
9904
  });
9908
9905
  return Ee(d) || (g[b] = d), g;
9909
9906
  }, {}), du = ({
@@ -9911,11 +9908,11 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9911
9908
  platforms: n = [],
9912
9909
  allGameType: i = [],
9913
9910
  allGamePlatform: l = [],
9914
- allGameList: u = {}
9911
+ allGameList: p = {}
9915
9912
  } = {}) => !Array.isArray(e) || !Array.isArray(n) ? {} : e.reduce((g, b) => {
9916
9913
  const d = $n(i, b);
9917
9914
  if (!d) return g;
9918
- const r = u[d] || [], a = n.reduce((t, o) => {
9915
+ const r = p[d] || [], a = n.reduce((t, o) => {
9919
9916
  const s = Yl({
9920
9917
  platformName: o,
9921
9918
  gamesOfType: r,
@@ -9924,16 +9921,16 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9924
9921
  return Ee(s) ? t : { ...t, [o]: s };
9925
9922
  }, {});
9926
9923
  return Ee(a) || (g[b] = a), g;
9927
- }, {}), Qs = (e = {}) => !Zi(e) || Ee(e) ? {} : Object.values(e).reduce((i, l) => (Object.entries(l).forEach(([u, g]) => {
9928
- i[u] ? i[u] = [...i[u], ...g] : i[u] = g;
9924
+ }, {}), Qs = (e = {}) => !Zi(e) || Ee(e) ? {} : Object.values(e).reduce((i, l) => (Object.entries(l).forEach(([p, g]) => {
9925
+ i[p] ? i[p] = [...i[p], ...g] : i[p] = g;
9929
9926
  }), i), {}), js = (e = {}) => {
9930
9927
  if (!Zi(e) || Ee(e)) return {};
9931
9928
  const n = {};
9932
9929
  for (const [i, l] of Object.entries(e)) {
9933
9930
  n[i] = {};
9934
- for (const u of l) {
9935
- const g = u.game_subtype;
9936
- n[i][g] || (n[i][g] = []), n[i][g].push(u);
9931
+ for (const p of l) {
9932
+ const g = p.game_subtype;
9933
+ n[i][g] || (n[i][g] = []), n[i][g].push(p);
9937
9934
  }
9938
9935
  }
9939
9936
  return n;
@@ -9942,7 +9939,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9942
9939
  allGamePlatform: n = [],
9943
9940
  allGameType: i = [],
9944
9941
  allGame_subtype: l = [],
9945
- allNewGameList: u = [],
9942
+ allNewGameList: p = [],
9946
9943
  allTopGameList: g = [],
9947
9944
  randomlySelectedGames: b = [],
9948
9945
  userFavoriteGame: d = {},
@@ -9950,8 +9947,8 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9950
9947
  highlightGames: a = [],
9951
9948
  originPlatform: t = []
9952
9949
  }) => {
9953
- const o = Vs(e), s = An(n), p = Zs(i), m = Js(l), c = An(t), f = Ks(d), y = $s({
9954
- gameTypes: p,
9950
+ const o = Vs(e), s = An(n), u = Zs(i), m = Js(l), c = An(t), f = Ks(d), y = $s({
9951
+ gameTypes: u,
9955
9952
  platforms: s,
9956
9953
  gameList: e,
9957
9954
  allGameTypes: i,
@@ -9980,14 +9977,14 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
9980
9977
  byGameType: D
9981
9978
  },
9982
9979
  type: {
9983
- main: p,
9980
+ main: u,
9984
9981
  sub: m,
9985
9982
  originMain: i,
9986
9983
  originSub: l
9987
9984
  },
9988
9985
  gameList: {
9989
9986
  all: o,
9990
- new: u,
9987
+ new: p,
9991
9988
  top: g,
9992
9989
  favorite: f,
9993
9990
  highlight: a,
@@ -10031,7 +10028,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
10031
10028
  },
10032
10029
  user: { favorite: [] }
10033
10030
  }, em = ({ enabled: e = !0 } = {}) => {
10034
- const { getToken: n } = oe(), { userFavoriteGameApi: i, userGameListApi: l } = ue(), { data: u, isLoading: g, error: b, refetch: d } = j({
10031
+ const { getToken: n } = oe(), { userFavoriteGameApi: i, userGameListApi: l } = ue(), { data: p, isLoading: g, error: b, refetch: d } = j({
10035
10032
  queryKey: ["gamesInfo"],
10036
10033
  queryFn: async () => {
10037
10034
  let r = {}, a = {};
@@ -10063,7 +10060,7 @@ const Zm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => ps({
10063
10060
  refetchOnWindowFocus: !1
10064
10061
  });
10065
10062
  return {
10066
- gamesInfo: u || Xs,
10063
+ gamesInfo: p || Xs,
10067
10064
  isLoading: g,
10068
10065
  error: b,
10069
10066
  refetch: d
@@ -36611,11 +36608,11 @@ function fu({
36611
36608
  autoFetchGamesInfo: n = !1,
36612
36609
  useMockData: i = !1,
36613
36610
  queryClient: l,
36614
- ...u
36611
+ ...p
36615
36612
  }) {
36616
- const g = Oa(() => Lt(u), [u]), b = Oa(
36617
- () => Lt({ ...u, formData: !0 }),
36618
- [u]
36613
+ const g = Oa(() => Lt(p), [p]), b = Oa(
36614
+ () => Lt({ ...p, formData: !0 }),
36615
+ [p]
36619
36616
  ), d = Oa(
36620
36617
  () => new Ol({
36621
36618
  defaultOptions: {
@@ -36627,7 +36624,7 @@ function fu({
36627
36624
  }),
36628
36625
  []
36629
36626
  ), r = l || d;
36630
- return /* @__PURE__ */ Fe.jsx(Bl, { client: r, children: /* @__PURE__ */ Fe.jsx(zn.Provider, { value: { client: g, formDataClient: b, ...u }, children: /* @__PURE__ */ Fe.jsx($l, { children: /* @__PURE__ */ Fe.jsx(
36627
+ return /* @__PURE__ */ Fe.jsx(Bl, { client: r, children: /* @__PURE__ */ Fe.jsx(zn.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Fe.jsx($l, { children: /* @__PURE__ */ Fe.jsx(
36631
36628
  im,
36632
36629
  {
36633
36630
  autoFetch: n,
@@ -36638,7 +36635,7 @@ function fu({
36638
36635
  }
36639
36636
  const _u = ({ onFunction: e = () => {
36640
36637
  }, buttonProps: n = {} } = {}) => {
36641
- const { lineConfig: i } = oe(), l = ee(!1), u = re(i, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), t = g.get("invite_code"), { mutate: o, isPending: s } = tl({
36638
+ const { lineConfig: i } = oe(), l = ee(!1), p = re(i, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), t = g.get("invite_code"), { mutate: o, isPending: s } = tl({
36642
36639
  options: {
36643
36640
  onSuccess: (m) => {
36644
36641
  e(m);
@@ -36662,15 +36659,15 @@ const _u = ({ onFunction: e = () => {
36662
36659
  o,
36663
36660
  e
36664
36661
  ]);
36665
- const p = () => {
36666
- window.location.href = `https://liff.line.me/${u}`;
36662
+ const u = () => {
36663
+ window.location.href = `https://liff.line.me/${p}`;
36667
36664
  };
36668
- return u ? /* @__PURE__ */ Fe.jsx(
36665
+ return p ? /* @__PURE__ */ Fe.jsx(
36669
36666
  "button",
36670
36667
  {
36671
36668
  className: "line-login-btn",
36672
36669
  type: "button",
36673
- onClick: p,
36670
+ onClick: u,
36674
36671
  ...n,
36675
36672
  children: "Line Login"
36676
36673
  }
@@ -36712,8 +36709,8 @@ var xa;
36712
36709
  for (let m = 0; m < this.size; m++)
36713
36710
  this.modules.push(s.slice()), this.isFunction.push(s.slice());
36714
36711
  this.drawFunctionPatterns();
36715
- const p = this.addEccAndInterleave(t);
36716
- if (this.drawCodewords(p), o == -1) {
36712
+ const u = this.addEccAndInterleave(t);
36713
+ if (this.drawCodewords(u), o == -1) {
36717
36714
  let m = 1e9;
36718
36715
  for (let c = 0; c < 8; c++) {
36719
36716
  this.applyMask(c), this.drawFormatBits(c);
@@ -36721,7 +36718,7 @@ var xa;
36721
36718
  f < m && (o = c, m = f), this.applyMask(c);
36722
36719
  }
36723
36720
  }
36724
- u(0 <= o && o <= 7), this.mask = o, this.applyMask(o), this.drawFormatBits(o), this.isFunction = [];
36721
+ p(0 <= o && o <= 7), this.mask = o, this.applyMask(o), this.drawFormatBits(o), this.isFunction = [];
36725
36722
  }
36726
36723
  /*-- Static factory functions (high level) --*/
36727
36724
  // Returns a QR Code representing the given Unicode text string at the given error correction level.
@@ -36751,7 +36748,7 @@ var xa;
36751
36748
  // This function allows the user to create a custom sequence of segments that switches
36752
36749
  // between modes (such as alphanumeric and byte) to encode text in less space.
36753
36750
  // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
36754
- static encodeSegments(r, a, t = 1, o = 40, s = -1, p = !0) {
36751
+ static encodeSegments(r, a, t = 1, o = 40, s = -1, u = !0) {
36755
36752
  if (!(Y.MIN_VERSION <= t && t <= o && o <= Y.MAX_VERSION) || s < -1 || s > 7)
36756
36753
  throw new RangeError("Invalid value");
36757
36754
  let m, c;
@@ -36765,16 +36762,16 @@ var xa;
36765
36762
  throw new RangeError("Data too long");
36766
36763
  }
36767
36764
  for (const U of [Y.Ecc.MEDIUM, Y.Ecc.QUARTILE, Y.Ecc.HIGH])
36768
- p && c <= Y.getNumDataCodewords(m, U) * 8 && (a = U);
36765
+ u && c <= Y.getNumDataCodewords(m, U) * 8 && (a = U);
36769
36766
  let f = [];
36770
36767
  for (const U of r) {
36771
36768
  i(U.mode.modeBits, 4, f), i(U.numChars, U.mode.numCharCountBits(m), f);
36772
36769
  for (const C of U.getData())
36773
36770
  f.push(C);
36774
36771
  }
36775
- u(f.length == c);
36772
+ p(f.length == c);
36776
36773
  const y = Y.getNumDataCodewords(m, a) * 8;
36777
- u(f.length <= y), i(0, Math.min(4, y - f.length), f), i(0, (8 - f.length % 8) % 8, f), u(f.length % 8 == 0);
36774
+ p(f.length <= y), i(0, Math.min(4, y - f.length), f), i(0, (8 - f.length % 8) % 8, f), p(f.length % 8 == 0);
36778
36775
  for (let U = 236; f.length < y; U ^= 253)
36779
36776
  i(U, 8, f);
36780
36777
  let _ = [];
@@ -36813,7 +36810,7 @@ var xa;
36813
36810
  for (let s = 0; s < 10; s++)
36814
36811
  t = t << 1 ^ (t >>> 9) * 1335;
36815
36812
  const o = (a << 10 | t) ^ 21522;
36816
- u(o >>> 15 == 0);
36813
+ p(o >>> 15 == 0);
36817
36814
  for (let s = 0; s <= 5; s++)
36818
36815
  this.setFunctionModule(8, s, l(o, s));
36819
36816
  this.setFunctionModule(8, 7, l(o, 6)), this.setFunctionModule(8, 8, l(o, 7)), this.setFunctionModule(7, 8, l(o, 8));
@@ -36834,10 +36831,10 @@ var xa;
36834
36831
  for (let t = 0; t < 12; t++)
36835
36832
  r = r << 1 ^ (r >>> 11) * 7973;
36836
36833
  const a = this.version << 12 | r;
36837
- u(a >>> 18 == 0);
36834
+ p(a >>> 18 == 0);
36838
36835
  for (let t = 0; t < 18; t++) {
36839
- const o = l(a, t), s = this.size - 11 + t % 3, p = Math.floor(t / 3);
36840
- this.setFunctionModule(s, p, o), this.setFunctionModule(p, s, o);
36836
+ const o = l(a, t), s = this.size - 11 + t % 3, u = Math.floor(t / 3);
36837
+ this.setFunctionModule(s, u, o), this.setFunctionModule(u, s, o);
36841
36838
  }
36842
36839
  }
36843
36840
  // Draws a 9*9 finder pattern including the border separator,
@@ -36845,8 +36842,8 @@ var xa;
36845
36842
  drawFinderPattern(r, a) {
36846
36843
  for (let t = -4; t <= 4; t++)
36847
36844
  for (let o = -4; o <= 4; o++) {
36848
- const s = Math.max(Math.abs(o), Math.abs(t)), p = r + o, m = a + t;
36849
- 0 <= p && p < this.size && 0 <= m && m < this.size && this.setFunctionModule(p, m, s != 2 && s != 4);
36845
+ const s = Math.max(Math.abs(o), Math.abs(t)), u = r + o, m = a + t;
36846
+ 0 <= u && u < this.size && 0 <= m && m < this.size && this.setFunctionModule(u, m, s != 2 && s != 4);
36850
36847
  }
36851
36848
  }
36852
36849
  // Draws a 5*5 alignment pattern, with the center module
@@ -36868,7 +36865,7 @@ var xa;
36868
36865
  const a = this.version, t = this.errorCorrectionLevel;
36869
36866
  if (r.length != Y.getNumDataCodewords(a, t))
36870
36867
  throw new RangeError("Invalid argument");
36871
- const o = Y.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][a], s = Y.ECC_CODEWORDS_PER_BLOCK[t.ordinal][a], p = Math.floor(Y.getNumRawDataModules(a) / 8), m = o - p % o, c = Math.floor(p / o);
36868
+ const o = Y.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][a], s = Y.ECC_CODEWORDS_PER_BLOCK[t.ordinal][a], u = Math.floor(Y.getNumRawDataModules(a) / 8), m = o - u % o, c = Math.floor(u / o);
36872
36869
  let f = [];
36873
36870
  const y = Y.reedSolomonComputeDivisor(s);
36874
36871
  for (let U = 0, C = 0; U < o; U++) {
@@ -36882,7 +36879,7 @@ var xa;
36882
36879
  f.forEach((C, v) => {
36883
36880
  (U != c - s || v >= m) && _.push(C[U]);
36884
36881
  });
36885
- return u(_.length == p), _;
36882
+ return p(_.length == u), _;
36886
36883
  }
36887
36884
  // Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
36888
36885
  // data area of this QR Code. Function modules need to be marked off before this is called.
@@ -36894,11 +36891,11 @@ var xa;
36894
36891
  t == 6 && (t = 5);
36895
36892
  for (let o = 0; o < this.size; o++)
36896
36893
  for (let s = 0; s < 2; s++) {
36897
- const p = t - s, c = (t + 1 & 2) == 0 ? this.size - 1 - o : o;
36898
- !this.isFunction[c][p] && a < r.length * 8 && (this.modules[c][p] = l(r[a >>> 3], 7 - (a & 7)), a++);
36894
+ const u = t - s, c = (t + 1 & 2) == 0 ? this.size - 1 - o : o;
36895
+ !this.isFunction[c][u] && a < r.length * 8 && (this.modules[c][u] = l(r[a >>> 3], 7 - (a & 7)), a++);
36899
36896
  }
36900
36897
  }
36901
- u(a == r.length * 8);
36898
+ p(a == r.length * 8);
36902
36899
  }
36903
36900
  // XORs the codeword modules in this QR Code with the given mask pattern.
36904
36901
  // The function modules must be marked and the codeword bits must be drawn
@@ -36947,27 +36944,27 @@ var xa;
36947
36944
  getPenaltyScore() {
36948
36945
  let r = 0;
36949
36946
  for (let s = 0; s < this.size; s++) {
36950
- let p = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36947
+ let u = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36951
36948
  for (let f = 0; f < this.size; f++)
36952
- this.modules[s][f] == p ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, c), p || (r += this.finderPenaltyCountPatterns(c) * Y.PENALTY_N3), p = this.modules[s][f], m = 1);
36953
- r += this.finderPenaltyTerminateAndCount(p, m, c) * Y.PENALTY_N3;
36949
+ this.modules[s][f] == u ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, c), u || (r += this.finderPenaltyCountPatterns(c) * Y.PENALTY_N3), u = this.modules[s][f], m = 1);
36950
+ r += this.finderPenaltyTerminateAndCount(u, m, c) * Y.PENALTY_N3;
36954
36951
  }
36955
36952
  for (let s = 0; s < this.size; s++) {
36956
- let p = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36953
+ let u = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36957
36954
  for (let f = 0; f < this.size; f++)
36958
- this.modules[f][s] == p ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, c), p || (r += this.finderPenaltyCountPatterns(c) * Y.PENALTY_N3), p = this.modules[f][s], m = 1);
36959
- r += this.finderPenaltyTerminateAndCount(p, m, c) * Y.PENALTY_N3;
36955
+ this.modules[f][s] == u ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, c), u || (r += this.finderPenaltyCountPatterns(c) * Y.PENALTY_N3), u = this.modules[f][s], m = 1);
36956
+ r += this.finderPenaltyTerminateAndCount(u, m, c) * Y.PENALTY_N3;
36960
36957
  }
36961
36958
  for (let s = 0; s < this.size - 1; s++)
36962
- for (let p = 0; p < this.size - 1; p++) {
36963
- const m = this.modules[s][p];
36964
- m == this.modules[s][p + 1] && m == this.modules[s + 1][p] && m == this.modules[s + 1][p + 1] && (r += Y.PENALTY_N2);
36959
+ for (let u = 0; u < this.size - 1; u++) {
36960
+ const m = this.modules[s][u];
36961
+ m == this.modules[s][u + 1] && m == this.modules[s + 1][u] && m == this.modules[s + 1][u + 1] && (r += Y.PENALTY_N2);
36965
36962
  }
36966
36963
  let a = 0;
36967
36964
  for (const s of this.modules)
36968
- a = s.reduce((p, m) => p + (m ? 1 : 0), a);
36965
+ a = s.reduce((u, m) => u + (m ? 1 : 0), a);
36969
36966
  const t = this.size * this.size, o = Math.ceil(Math.abs(a * 20 - t * 10) / t) - 1;
36970
- return u(0 <= o && o <= 9), r += o * Y.PENALTY_N4, u(0 <= r && r <= 2568888), r;
36967
+ return p(0 <= o && o <= 9), r += o * Y.PENALTY_N4, p(0 <= r && r <= 2568888), r;
36971
36968
  }
36972
36969
  /*-- Private helper functions --*/
36973
36970
  // Returns an ascending list of positions of alignment patterns for this version number.
@@ -36995,7 +36992,7 @@ var xa;
36995
36992
  const t = Math.floor(r / 7) + 2;
36996
36993
  a -= (25 * t - 10) * t - 55, r >= 7 && (a -= 36);
36997
36994
  }
36998
- return u(208 <= a && a <= 29648), a;
36995
+ return p(208 <= a && a <= 29648), a;
36999
36996
  }
37000
36997
  // Returns the number of 8-bit data (i.e. not error correction) codewords contained in any
37001
36998
  // QR Code of the given version number and error correction level, with remainder bits discarded.
@@ -37025,7 +37022,7 @@ var xa;
37025
37022
  let t = a.map((o) => 0);
37026
37023
  for (const o of r) {
37027
37024
  const s = o ^ t.shift();
37028
- t.push(0), a.forEach((p, m) => t[m] ^= Y.reedSolomonMultiply(p, s));
37025
+ t.push(0), a.forEach((u, m) => t[m] ^= Y.reedSolomonMultiply(u, s));
37029
37026
  }
37030
37027
  return t;
37031
37028
  }
@@ -37037,13 +37034,13 @@ var xa;
37037
37034
  let t = 0;
37038
37035
  for (let o = 7; o >= 0; o--)
37039
37036
  t = t << 1 ^ (t >>> 7) * 285, t ^= (a >>> o & 1) * r;
37040
- return u(t >>> 8 == 0), t;
37037
+ return p(t >>> 8 == 0), t;
37041
37038
  }
37042
37039
  // Can only be called immediately after a light run is added, and
37043
37040
  // returns either 0, 1, or 2. A helper function for getPenaltyScore().
37044
37041
  finderPenaltyCountPatterns(r) {
37045
37042
  const a = r[1];
37046
- u(a <= this.size * 3);
37043
+ p(a <= this.size * 3);
37047
37044
  const t = a > 0 && r[2] == a && r[3] == a * 3 && r[4] == a && r[5] == a;
37048
37045
  return (t && r[0] >= a * 4 && r[6] >= a ? 1 : 0) + (t && r[6] >= a * 4 && r[0] >= a ? 1 : 0);
37049
37046
  }
@@ -37088,7 +37085,7 @@ var xa;
37088
37085
  function l(d, r) {
37089
37086
  return (d >>> r & 1) != 0;
37090
37087
  }
37091
- function u(d) {
37088
+ function p(d) {
37092
37089
  if (!d)
37093
37090
  throw new Error("Assertion error");
37094
37091
  }
@@ -37203,8 +37200,8 @@ var xa;
37203
37200
  const i = class {
37204
37201
  // The QR Code can tolerate about 30% erroneous codewords
37205
37202
  /*-- Constructor and fields --*/
37206
- constructor(u, g) {
37207
- this.ordinal = u, this.formatBits = g;
37203
+ constructor(p, g) {
37204
+ this.ordinal = p, this.formatBits = g;
37208
37205
  }
37209
37206
  };
37210
37207
  i.LOW = new i(0, 1), i.MEDIUM = new i(1, 0), i.QUARTILE = new i(2, 3), i.HIGH = new i(3, 2), n.Ecc = i;
@@ -37214,14 +37211,14 @@ var xa;
37214
37211
  ((n) => {
37215
37212
  const i = class {
37216
37213
  /*-- Constructor and fields --*/
37217
- constructor(u, g) {
37218
- this.modeBits = u, this.numBitsCharCount = g;
37214
+ constructor(p, g) {
37215
+ this.modeBits = p, this.numBitsCharCount = g;
37219
37216
  }
37220
37217
  /*-- Method --*/
37221
37218
  // (Package-private) Returns the bit width of the character count field for a segment in
37222
37219
  // this mode in a QR Code at the given version number. The result is in the range [0, 16].
37223
- numCharCountBits(u) {
37224
- return this.numBitsCharCount[Math.floor((u + 7) / 17)];
37220
+ numCharCountBits(p) {
37221
+ return this.numBitsCharCount[Math.floor((p + 7) / 17)];
37225
37222
  }
37226
37223
  };
37227
37224
  i.NUMERIC = new i(1, [10, 12, 14]), i.ALPHANUMERIC = new i(2, [9, 11, 13]), i.BYTE = new i(4, [8, 16, 16]), i.KANJI = new i(8, [8, 10, 12]), i.ECI = new i(7, [0, 0, 0]), n.Mode = i;
@@ -37236,20 +37233,20 @@ var nm = {
37236
37233
  }, xl = 128, Sl = "L", Dl = "#FFFFFF", El = "#000000", Nl = !1, Ll = 1, lm = 4, rm = 0, om = 0.1;
37237
37234
  function Gl(e, n = 0) {
37238
37235
  const i = [];
37239
- return e.forEach(function(l, u) {
37236
+ return e.forEach(function(l, p) {
37240
37237
  let g = null;
37241
37238
  l.forEach(function(b, d) {
37242
37239
  if (!b && g !== null) {
37243
37240
  i.push(
37244
- `M${g + n} ${u + n}h${d - g}v1H${g + n}z`
37241
+ `M${g + n} ${p + n}h${d - g}v1H${g + n}z`
37245
37242
  ), g = null;
37246
37243
  return;
37247
37244
  }
37248
37245
  if (d === l.length - 1) {
37249
37246
  if (!b)
37250
37247
  return;
37251
- g === null ? i.push(`M${d + n},${u + n} h1v1H${d + n}z`) : i.push(
37252
- `M${g + n},${u + n} h${d + 1 - g}v1H${g + n}z`
37248
+ g === null ? i.push(`M${d + n},${p + n} h1v1H${d + n}z`) : i.push(
37249
+ `M${g + n},${p + n} h${d + 1 - g}v1H${g + n}z`
37253
37250
  );
37254
37251
  return;
37255
37252
  }
@@ -37258,19 +37255,19 @@ function Gl(e, n = 0) {
37258
37255
  }), i.join("");
37259
37256
  }
37260
37257
  function Ml(e, n) {
37261
- return e.slice().map((i, l) => l < n.y || l >= n.y + n.h ? i : i.map((u, g) => g < n.x || g >= n.x + n.w ? u : !1));
37258
+ return e.slice().map((i, l) => l < n.y || l >= n.y + n.h ? i : i.map((p, g) => g < n.x || g >= n.x + n.w ? p : !1));
37262
37259
  }
37263
37260
  function sm(e, n, i, l) {
37264
37261
  if (l == null)
37265
37262
  return null;
37266
- const u = e.length + i * 2, g = Math.floor(n * om), b = u / n, d = (l.width || g) * b, r = (l.height || g) * b, a = l.x == null ? e.length / 2 - d / 2 : l.x * b, t = l.y == null ? e.length / 2 - r / 2 : l.y * b, o = l.opacity == null ? 1 : l.opacity;
37263
+ const p = e.length + i * 2, g = Math.floor(n * om), b = p / n, d = (l.width || g) * b, r = (l.height || g) * b, a = l.x == null ? e.length / 2 - d / 2 : l.x * b, t = l.y == null ? e.length / 2 - r / 2 : l.y * b, o = l.opacity == null ? 1 : l.opacity;
37267
37264
  let s = null;
37268
37265
  if (l.excavate) {
37269
37266
  let m = Math.floor(a), c = Math.floor(t), f = Math.ceil(d + a - m), y = Math.ceil(r + t - c);
37270
37267
  s = { x: m, y: c, w: f, h: y };
37271
37268
  }
37272
- const p = l.crossOrigin;
37273
- return { x: a, y: t, h: r, w: d, excavation: s, opacity: o, crossOrigin: p };
37269
+ const u = l.crossOrigin;
37270
+ return { x: a, y: t, h: r, w: d, excavation: s, opacity: o, crossOrigin: u };
37274
37271
  }
37275
37272
  function mm(e, n) {
37276
37273
  return n != null ? Math.max(Math.floor(n), 0) : e ? lm : rm;
@@ -37280,7 +37277,7 @@ function Rl({
37280
37277
  level: n,
37281
37278
  minVersion: i,
37282
37279
  includeMargin: l,
37283
- marginSize: u,
37280
+ marginSize: p,
37284
37281
  imageSettings: g,
37285
37282
  size: b,
37286
37283
  boostLevel: d
@@ -37297,20 +37294,20 @@ function Rl({
37297
37294
  );
37298
37295
  }, [e, n, i, d]);
37299
37296
  const { cells: a, margin: t, numCells: o, calculatedImageSettings: s } = de.useMemo(() => {
37300
- let p = r.getModules();
37301
- const m = mm(l, u), c = p.length + m * 2, f = sm(
37302
- p,
37297
+ let u = r.getModules();
37298
+ const m = mm(l, p), c = u.length + m * 2, f = sm(
37299
+ u,
37303
37300
  b,
37304
37301
  m,
37305
37302
  g
37306
37303
  );
37307
37304
  return {
37308
- cells: p,
37305
+ cells: u,
37309
37306
  margin: m,
37310
37307
  numCells: c,
37311
37308
  calculatedImageSettings: f
37312
37309
  };
37313
- }, [r, b, g, l, u]);
37310
+ }, [r, b, g, l, p]);
37314
37311
  return {
37315
37312
  qrcode: r,
37316
37313
  margin: t,
@@ -37329,7 +37326,7 @@ var um = (function() {
37329
37326
  })(), pm = de.forwardRef(
37330
37327
  function(n, i) {
37331
37328
  const l = n, {
37332
- value: u,
37329
+ value: p,
37333
37330
  size: g = xl,
37334
37331
  level: b = Sl,
37335
37332
  bgColor: d = Dl,
@@ -37338,7 +37335,7 @@ var um = (function() {
37338
37335
  minVersion: t = Ll,
37339
37336
  boostLevel: o,
37340
37337
  marginSize: s,
37341
- imageSettings: p
37338
+ imageSettings: u
37342
37339
  } = l, c = mt(l, [
37343
37340
  "value",
37344
37341
  "size",
@@ -37350,19 +37347,19 @@ var um = (function() {
37350
37347
  "boostLevel",
37351
37348
  "marginSize",
37352
37349
  "imageSettings"
37353
- ]), { style: f } = c, y = mt(c, ["style"]), _ = p?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
37350
+ ]), { style: f } = c, y = mt(c, ["style"]), _ = u?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
37354
37351
  (w) => {
37355
37352
  U.current = w, typeof i == "function" ? i(w) : i && (i.current = w);
37356
37353
  },
37357
37354
  [i]
37358
37355
  ), [x, D] = de.useState(!1), { margin: M, cells: H, numCells: k, calculatedImageSettings: T } = Rl({
37359
- value: u,
37356
+ value: p,
37360
37357
  level: b,
37361
37358
  minVersion: t,
37362
37359
  boostLevel: o,
37363
37360
  includeMargin: a,
37364
37361
  marginSize: s,
37365
- imageSettings: p,
37362
+ imageSettings: u,
37366
37363
  size: g
37367
37364
  });
37368
37365
  de.useEffect(() => {
@@ -37424,7 +37421,7 @@ pm.displayName = "QRCodeCanvas";
37424
37421
  var Pl = de.forwardRef(
37425
37422
  function(n, i) {
37426
37423
  const l = n, {
37427
- value: u,
37424
+ value: p,
37428
37425
  size: g = xl,
37429
37426
  level: b = Sl,
37430
37427
  bgColor: d = Dl,
@@ -37433,7 +37430,7 @@ var Pl = de.forwardRef(
37433
37430
  minVersion: t = Ll,
37434
37431
  boostLevel: o,
37435
37432
  title: s,
37436
- marginSize: p,
37433
+ marginSize: u,
37437
37434
  imageSettings: m
37438
37435
  } = l, c = mt(l, [
37439
37436
  "value",
@@ -37448,12 +37445,12 @@ var Pl = de.forwardRef(
37448
37445
  "marginSize",
37449
37446
  "imageSettings"
37450
37447
  ]), { margin: f, cells: y, numCells: _, calculatedImageSettings: U } = Rl({
37451
- value: u,
37448
+ value: p,
37452
37449
  level: b,
37453
37450
  minVersion: t,
37454
37451
  boostLevel: o,
37455
37452
  includeMargin: a,
37456
- marginSize: p,
37453
+ marginSize: u,
37457
37454
  imageSettings: m,
37458
37455
  size: g
37459
37456
  });
@@ -37544,12 +37541,12 @@ const gm = {
37544
37541
  expired: "Kode QR telah kedaluwarsa"
37545
37542
  }
37546
37543
  }, bu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: i } = {}) => {
37547
- const { lng: l, getToken: u, lineConfig: g } = oe(), [b, d] = tt(300), [r, a] = tt(!1), t = ee(null), o = re(g, "liffId", ""), s = $e(l), p = u?.(), c = new URLSearchParams(window.location.search).get("mac") || lt.get("machine_mac_address") || "", { data: f, isFetching: y } = Wo({
37544
+ const { lng: l, getToken: p, lineConfig: g } = oe(), [b, d] = tt(300), [r, a] = tt(!1), t = ee(null), o = re(g, "liffId", ""), s = $e(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || lt.get("machine_mac_address") || "", { data: f, isFetching: y } = Wo({
37548
37545
  formData: {
37549
37546
  mac_address: c
37550
37547
  },
37551
37548
  options: {
37552
- enabled: e ? !0 : !!c && !p
37549
+ enabled: e ? !0 : !!c && !u
37553
37550
  }
37554
37551
  }), _ = re(f, "liff_url", "") || `https://liff.line.me/${o}`;
37555
37552
  ge(() => {
@@ -37563,7 +37560,7 @@ const gm = {
37563
37560
  const x = Math.floor(v / 60), D = v % 60;
37564
37561
  return `${x}:${D < 10 ? "0" : ""}${D}`;
37565
37562
  };
37566
- if (!e && (!c || p)) return null;
37563
+ if (!e && (!c || u)) return null;
37567
37564
  const C = Bn[s] || Bn.en_US;
37568
37565
  return n && /* @__PURE__ */ Fe.jsxs("div", { style: gm, children: [
37569
37566
  /* @__PURE__ */ Fe.jsx(
@@ -37613,7 +37610,7 @@ const gm = {
37613
37610
  mutate: n,
37614
37611
  isPending: i,
37615
37612
  isSuccess: l,
37616
- isError: u,
37613
+ isError: p,
37617
37614
  error: g
37618
37615
  } = zo({
37619
37616
  options: {