@obb871001/api-integration-sdk 1.0.276 → 1.0.278

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
@@ -37,20 +37,20 @@ function Zl() {
37
37
  if (xt) return Va;
38
38
  xt = 1;
39
39
  var e = de, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
- function U(f, l, a) {
41
- var i, s = {}, o = null, u = null;
42
- a !== void 0 && (o = "" + a), l.key !== void 0 && (o = "" + l.key), l.ref !== void 0 && (u = l.ref);
43
- for (i in l) n.call(l, i) && !g.hasOwnProperty(i) && (s[i] = l[i]);
44
- if (f && f.defaultProps) for (i in l = f.defaultProps, l) s[i] === void 0 && (s[i] = l[i]);
45
- return { $$typeof: r, type: f, key: o, ref: u, props: s, _owner: p.current };
40
+ function b(f, l, a) {
41
+ var i, o = {}, s = null, u = null;
42
+ a !== void 0 && (s = "" + a), l.key !== void 0 && (s = "" + l.key), l.ref !== void 0 && (u = l.ref);
43
+ for (i in l) n.call(l, i) && !g.hasOwnProperty(i) && (o[i] = l[i]);
44
+ if (f && f.defaultProps) for (i in l = f.defaultProps, l) o[i] === void 0 && (o[i] = l[i]);
45
+ return { $$typeof: r, type: f, key: s, ref: u, props: o, _owner: p.current };
46
46
  }
47
- return Va.Fragment = t, Va.jsx = U, Va.jsxs = U, Va;
47
+ return Va.Fragment = t, Va.jsx = b, Va.jsxs = b, Va;
48
48
  }
49
49
  var Za = {};
50
50
  var St;
51
51
  function Jl() {
52
52
  return St || (St = 1, process.env.NODE_ENV !== "production" && (function() {
53
- var e = de, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), U = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), o = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, c = "@@iterator";
53
+ var e = de, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, c = "@@iterator";
54
54
  function d(k) {
55
55
  if (k === null || typeof k != "object")
56
56
  return null;
@@ -62,10 +62,10 @@ function Jl() {
62
62
  {
63
63
  for (var z = arguments.length, Z = new Array(z > 1 ? z - 1 : 0), q = 1; q < z; q++)
64
64
  Z[q - 1] = arguments[q];
65
- b("error", k, Z);
65
+ U("error", k, Z);
66
66
  }
67
67
  }
68
- function b(k, z, Z) {
68
+ function U(k, z, Z) {
69
69
  {
70
70
  var q = y.ReactDebugCurrentFrame, le = q.getStackAddendum();
71
71
  le !== "" && (z += "%s", Z = Z.concat([le]));
@@ -78,7 +78,7 @@ function Jl() {
78
78
  var v = !1, T = !1, x = !1, S = !1, G = !1, O;
79
79
  O = Symbol.for("react.module.reference");
80
80
  function C(k) {
81
- return !!(typeof k == "string" || typeof k == "function" || k === n || k === g || G || k === p || k === a || k === i || S || k === u || v || T || x || typeof k == "object" && k !== null && (k.$$typeof === o || k.$$typeof === s || k.$$typeof === U || k.$$typeof === f || k.$$typeof === l || // This needs to include all possible module reference object
81
+ return !!(typeof k == "string" || typeof k == "function" || k === n || k === g || G || k === p || k === a || k === i || S || k === u || v || T || x || typeof k == "object" && k !== null && (k.$$typeof === s || k.$$typeof === o || k.$$typeof === b || k.$$typeof === f || k.$$typeof === l || // This needs to include all possible module reference object
82
82
  // types supported by any Flight configuration anywhere since
83
83
  // we don't know which Flight build this will end up being used
84
84
  // with.
@@ -120,15 +120,15 @@ function Jl() {
120
120
  case f:
121
121
  var z = k;
122
122
  return N(z) + ".Consumer";
123
- case U:
123
+ case b:
124
124
  var Z = k;
125
125
  return N(Z._context) + ".Provider";
126
126
  case l:
127
127
  return h(k, k.render, "ForwardRef");
128
- case s:
128
+ case o:
129
129
  var q = k.displayName || null;
130
130
  return q !== null ? q : E(k.type) || "Memo";
131
- case o: {
131
+ case s: {
132
132
  var le = k, se = le._payload, te = le._init;
133
133
  try {
134
134
  return E(te(se));
@@ -315,9 +315,9 @@ function Jl() {
315
315
  switch (k.$$typeof) {
316
316
  case l:
317
317
  return oe(k.render);
318
- case s:
318
+ case o:
319
319
  return ke(k.type, z, Z);
320
- case o: {
320
+ case s: {
321
321
  var q = k, le = q._payload, se = q._init;
322
322
  try {
323
323
  return ke(se(le), z, Z);
@@ -555,7 +555,7 @@ Check the top-level render call using <` + Z + ">.");
555
555
  Z = z.propTypes;
556
556
  else if (typeof z == "object" && (z.$$typeof === l || // Note: Memo only checks outer props here.
557
557
  // Inner props are checked in the reconciler.
558
- z.$$typeof === s))
558
+ z.$$typeof === o))
559
559
  Z = z.propTypes;
560
560
  else
561
561
  return;
@@ -703,7 +703,7 @@ function Nt({
703
703
  lng: n = "tw",
704
704
  store: p,
705
705
  onError: g,
706
- formData: U = !1,
706
+ formData: b = !1,
707
707
  currency: f,
708
708
  toasterOpen: l = !1
709
709
  } = {}) {
@@ -711,31 +711,31 @@ function Nt({
711
711
  baseURL: e,
712
712
  timeout: t,
713
713
  headers: {
714
- "Content-Type": U ? "multipart/form-data" : "application/json"
714
+ "Content-Type": b ? "multipart/form-data" : "application/json"
715
715
  }
716
716
  });
717
717
  return a.interceptors.request.use(async (i) => {
718
718
  if (i.headers = i.headers || {}, r) {
719
- const o = await r();
720
- o && (i.headers.Authorization = `Bearer ${o}`);
719
+ const s = await r();
720
+ s && (i.headers.Authorization = `Bearer ${s}`);
721
721
  }
722
- const s = p?.getState()?.isWalletCurrency || f || "TWD";
723
- return i.headers.Currency = s, i.headers["currency-code"] = s, i.headers.lang = n, i;
722
+ const o = p?.getState()?.isWalletCurrency || f || "TWD";
723
+ return i.headers.Currency = o, i.headers["currency-code"] = o, i.headers.lang = n, i;
724
724
  }), a.interceptors.response.use(
725
725
  (i) => i.data,
726
726
  (i) => {
727
- const s = ge(
727
+ const o = ge(
728
728
  i,
729
729
  "response.data.message",
730
730
  "發生錯誤,請稍後再試。"
731
731
  );
732
732
  if (l) {
733
- const o = je(n);
733
+ const s = je(n);
734
734
  p?.dispatch({
735
735
  type: "ui/showToast",
736
736
  payload: {
737
- title: Qa[o] || "System Prompt",
738
- description: s,
737
+ title: Qa[s] || "System Prompt",
738
+ description: o,
739
739
  status: "error",
740
740
  duration: 3e3
741
741
  }
@@ -759,14 +759,14 @@ const qn = zi(null), _m = () => {
759
759
  isCallBackInvalid: n = !1,
760
760
  hostname: p = "",
761
761
  shouldRedirect: g,
762
- onShowError: U,
762
+ onShowError: b,
763
763
  onCleanup: f,
764
764
  onRemoveToken: l,
765
765
  onRedirect: a,
766
766
  onGoogleLogout: i
767
767
  }) => {
768
- const s = r(p);
769
- e(n, s) && U?.(), f?.(), l?.(), g && a?.("/"), i?.();
768
+ const o = r(p);
769
+ e(n, o) && b?.(), f?.(), l?.(), g && a?.("/"), i?.();
770
770
  },
771
771
  shouldShowErrorNotice: e,
772
772
  isMachineDomain: r
@@ -789,13 +789,13 @@ const qn = zi(null), _m = () => {
789
789
  allPlatforms: p
790
790
  }) => {
791
791
  const g = $n(n, e);
792
- return g ? r.reduce((U, f) => {
793
- const l = Qn(p, f), a = jn(p, f), i = t[g] || [], s = Yn(
792
+ return g ? r.reduce((b, f) => {
793
+ const l = Qn(p, f), a = jn(p, f), i = t[g] || [], o = Yn(
794
794
  i,
795
795
  l,
796
796
  a
797
797
  );
798
- return Ee(s) || (U[f] = s), U;
798
+ return Ee(o) || (b[f] = o), b;
799
799
  }, {}) : {};
800
800
  }, jl = ({
801
801
  platformName: e,
@@ -815,23 +815,23 @@ function Xl() {
815
815
  (function(t, n) {
816
816
  e.exports = n();
817
817
  })(Yl, (function() {
818
- var t = 1e3, n = 6e4, p = 36e5, g = "millisecond", U = "second", f = "minute", l = "hour", a = "day", i = "week", s = "month", o = "quarter", u = "year", m = "date", c = "Invalid Date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(P) {
818
+ var t = 1e3, n = 6e4, p = 36e5, g = "millisecond", b = "second", f = "minute", l = "hour", a = "day", i = "week", o = "month", s = "quarter", u = "year", m = "date", c = "Invalid Date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(P) {
819
819
  var M = ["th", "st", "nd", "rd"], R = P % 100;
820
820
  return "[" + P + (M[(R - 20) % 10] || M[R] || M[0]) + "]";
821
- } }, b = function(P, M, R) {
821
+ } }, U = function(P, M, R) {
822
822
  var B = String(P);
823
823
  return !B || B.length >= M ? P : "" + Array(M + 1 - B.length).join(R) + P;
824
- }, v = { s: b, z: function(P) {
824
+ }, v = { s: U, z: function(P) {
825
825
  var M = -P.utcOffset(), R = Math.abs(M), B = Math.floor(R / 60), A = R % 60;
826
- return (M <= 0 ? "+" : "-") + b(B, 2, "0") + ":" + b(A, 2, "0");
826
+ return (M <= 0 ? "+" : "-") + U(B, 2, "0") + ":" + U(A, 2, "0");
827
827
  }, m: function P(M, R) {
828
828
  if (M.date() < R.date()) return -P(R, M);
829
- var B = 12 * (R.year() - M.year()) + (R.month() - M.month()), A = M.clone().add(B, s), H = R - A < 0, W = M.clone().add(B + (H ? -1 : 1), s);
829
+ var B = 12 * (R.year() - M.year()) + (R.month() - M.month()), A = M.clone().add(B, o), H = R - A < 0, W = M.clone().add(B + (H ? -1 : 1), o);
830
830
  return +(-(B + (R - A) / (H ? A - W : W - A)) || 0);
831
831
  }, a: function(P) {
832
832
  return P < 0 ? Math.ceil(P) || 0 : Math.floor(P);
833
833
  }, p: function(P) {
834
- return { M: s, y: u, w: i, d: a, D: m, h: l, m: f, s: U, ms: g, Q: o }[P] || String(P || "").toLowerCase().replace(/s$/, "");
834
+ return { M: o, y: u, w: i, d: a, D: m, h: l, m: f, s: b, ms: g, Q: s }[P] || String(P || "").toLowerCase().replace(/s$/, "");
835
835
  }, u: function(P) {
836
836
  return P === void 0;
837
837
  } }, T = "en", x = {};
@@ -909,7 +909,7 @@ function Xl() {
909
909
  switch (W) {
910
910
  case u:
911
911
  return H ? L(1, 0) : L(31, 11);
912
- case s:
912
+ case o:
913
913
  return H ? L(1, w) : L(0, w + 1);
914
914
  case i:
915
915
  var Q = this.$locale().weekStart || 0, J = (F < Q ? F + 7 : F) - Q;
@@ -921,7 +921,7 @@ function Xl() {
921
921
  return D($ + "Minutes", 1);
922
922
  case f:
923
923
  return D($ + "Seconds", 2);
924
- case U:
924
+ case b:
925
925
  return D($ + "Milliseconds", 3);
926
926
  default:
927
927
  return this.clone();
@@ -929,8 +929,8 @@ function Xl() {
929
929
  }, M.endOf = function(R) {
930
930
  return this.startOf(R, !1);
931
931
  }, M.$set = function(R, B) {
932
- var A, H = h.p(R), W = "set" + (this.$u ? "UTC" : ""), L = (A = {}, A[a] = W + "Date", A[m] = W + "Date", A[s] = W + "Month", A[u] = W + "FullYear", A[l] = W + "Hours", A[f] = W + "Minutes", A[U] = W + "Seconds", A[g] = W + "Milliseconds", A)[H], D = H === a ? this.$D + (B - this.$W) : B;
933
- if (H === s || H === u) {
932
+ var A, H = h.p(R), W = "set" + (this.$u ? "UTC" : ""), L = (A = {}, A[a] = W + "Date", A[m] = W + "Date", A[o] = W + "Month", A[u] = W + "FullYear", A[l] = W + "Hours", A[f] = W + "Minutes", A[b] = W + "Seconds", A[g] = W + "Milliseconds", A)[H], D = H === a ? this.$D + (B - this.$W) : B;
933
+ if (H === o || H === u) {
934
934
  var F = this.clone().set(m, 1);
935
935
  F.$d[L](D), F.init(), this.$d = F.set(m, Math.min(this.$D, F.daysInMonth())).$d;
936
936
  } else L && this.$d[L](D);
@@ -946,11 +946,11 @@ function Xl() {
946
946
  var K = C(H);
947
947
  return h.w(K.date(K.date() + Math.round(w * R)), H);
948
948
  };
949
- if (W === s) return this.set(s, this.$M + R);
949
+ if (W === o) return this.set(o, this.$M + R);
950
950
  if (W === u) return this.set(u, this.$y + R);
951
951
  if (W === a) return L(1);
952
952
  if (W === i) return L(7);
953
- var D = (A = {}, A[f] = n, A[l] = p, A[U] = t, A)[W] || 1, F = this.$d.getTime() + R * D;
953
+ var D = (A = {}, A[f] = n, A[l] = p, A[b] = t, A)[W] || 1, F = this.$d.getTime() + R * D;
954
954
  return h.w(F, this);
955
955
  }, M.subtract = function(R, B) {
956
956
  return this.add(-1 * R, B);
@@ -1030,10 +1030,10 @@ function Xl() {
1030
1030
  case u:
1031
1031
  H = K() / 12;
1032
1032
  break;
1033
- case s:
1033
+ case o:
1034
1034
  H = K();
1035
1035
  break;
1036
- case o:
1036
+ case s:
1037
1037
  H = K() / 3;
1038
1038
  break;
1039
1039
  case i:
@@ -1048,7 +1048,7 @@ function Xl() {
1048
1048
  case f:
1049
1049
  H = w / n;
1050
1050
  break;
1051
- case U:
1051
+ case b:
1052
1052
  H = w / t;
1053
1053
  break;
1054
1054
  default:
@@ -1056,7 +1056,7 @@ function Xl() {
1056
1056
  }
1057
1057
  return A ? H : h.a(H);
1058
1058
  }, M.daysInMonth = function() {
1059
- return this.endOf(s).$D;
1059
+ return this.endOf(o).$D;
1060
1060
  }, M.$locale = function() {
1061
1061
  return x[this.$L];
1062
1062
  }, M.locale = function(R, B) {
@@ -1075,7 +1075,7 @@ function Xl() {
1075
1075
  return this.$d.toUTCString();
1076
1076
  }, P;
1077
1077
  })(), E = N.prototype;
1078
- return C.prototype = E, [["$ms", g], ["$s", U], ["$m", f], ["$H", l], ["$W", a], ["$M", s], ["$y", u], ["$D", m]].forEach((function(P) {
1078
+ return C.prototype = E, [["$ms", g], ["$s", b], ["$m", f], ["$H", l], ["$W", a], ["$M", o], ["$y", u], ["$D", m]].forEach((function(P) {
1079
1079
  E[P[1]] = function(M) {
1080
1080
  return this.$g(M, P[0], P[1]);
1081
1081
  };
@@ -1111,7 +1111,7 @@ function ae() {
1111
1111
  g = nr;
1112
1112
  } catch {
1113
1113
  }
1114
- var U = function() {
1114
+ var b = function() {
1115
1115
  if (g) {
1116
1116
  if (typeof g.getRandomValues == "function")
1117
1117
  try {
@@ -1128,9 +1128,9 @@ function ae() {
1128
1128
  }, f = Object.create || /* @__PURE__ */ (function() {
1129
1129
  function _() {
1130
1130
  }
1131
- return function(b) {
1131
+ return function(U) {
1132
1132
  var v;
1133
- return _.prototype = b, v = new _(), _.prototype = null, v;
1133
+ return _.prototype = U, v = new _(), _.prototype = null, v;
1134
1134
  };
1135
1135
  })(), l = {}, a = l.lib = {}, i = a.Base = /* @__PURE__ */ (function() {
1136
1136
  return {
@@ -1153,10 +1153,10 @@ function ae() {
1153
1153
  * });
1154
1154
  */
1155
1155
  extend: function(_) {
1156
- var b = f(this);
1157
- return _ && b.mixIn(_), (!b.hasOwnProperty("init") || this.init === b.init) && (b.init = function() {
1158
- b.$super.init.apply(this, arguments);
1159
- }), b.init.prototype = b, b.$super = this, b;
1156
+ var U = f(this);
1157
+ return _ && U.mixIn(_), (!U.hasOwnProperty("init") || this.init === U.init) && (U.init = function() {
1158
+ U.$super.init.apply(this, arguments);
1159
+ }), U.init.prototype = U, U.$super = this, U;
1160
1160
  },
1161
1161
  /**
1162
1162
  * Extends this object and runs the init method.
@@ -1200,8 +1200,8 @@ function ae() {
1200
1200
  * });
1201
1201
  */
1202
1202
  mixIn: function(_) {
1203
- for (var b in _)
1204
- _.hasOwnProperty(b) && (this[b] = _[b]);
1203
+ for (var U in _)
1204
+ _.hasOwnProperty(U) && (this[U] = _[U]);
1205
1205
  _.hasOwnProperty("toString") && (this.toString = _.toString);
1206
1206
  },
1207
1207
  /**
@@ -1217,7 +1217,7 @@ function ae() {
1217
1217
  return this.init.prototype.extend(this);
1218
1218
  }
1219
1219
  };
1220
- })(), s = a.WordArray = i.extend({
1220
+ })(), o = a.WordArray = i.extend({
1221
1221
  /**
1222
1222
  * Initializes a newly created word array.
1223
1223
  *
@@ -1230,8 +1230,8 @@ function ae() {
1230
1230
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
1231
1231
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
1232
1232
  */
1233
- init: function(_, b) {
1234
- _ = this.words = _ || [], b != p ? this.sigBytes = b : this.sigBytes = _.length * 4;
1233
+ init: function(_, U) {
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.
@@ -1261,15 +1261,15 @@ function ae() {
1261
1261
  * wordArray1.concat(wordArray2);
1262
1262
  */
1263
1263
  concat: function(_) {
1264
- var b = this.words, v = _.words, T = this.sigBytes, x = _.sigBytes;
1264
+ var U = this.words, v = _.words, T = this.sigBytes, x = _.sigBytes;
1265
1265
  if (this.clamp(), T % 4)
1266
1266
  for (var S = 0; S < x; S++) {
1267
1267
  var G = v[S >>> 2] >>> 24 - S % 4 * 8 & 255;
1268
- b[T + S >>> 2] |= G << 24 - (T + S) % 4 * 8;
1268
+ U[T + S >>> 2] |= G << 24 - (T + S) % 4 * 8;
1269
1269
  }
1270
1270
  else
1271
1271
  for (var O = 0; O < x; O += 4)
1272
- b[T + O >>> 2] = v[O >>> 2];
1272
+ U[T + O >>> 2] = v[O >>> 2];
1273
1273
  return this.sigBytes += x, this;
1274
1274
  },
1275
1275
  /**
@@ -1280,8 +1280,8 @@ function ae() {
1280
1280
  * wordArray.clamp();
1281
1281
  */
1282
1282
  clamp: function() {
1283
- var _ = this.words, b = this.sigBytes;
1284
- _[b >>> 2] &= 4294967295 << 32 - b % 4 * 8, _.length = n.ceil(b / 4);
1283
+ var _ = this.words, U = this.sigBytes;
1284
+ _[U >>> 2] &= 4294967295 << 32 - U % 4 * 8, _.length = n.ceil(U / 4);
1285
1285
  },
1286
1286
  /**
1287
1287
  * Creates a copy of this word array.
@@ -1310,11 +1310,11 @@ function ae() {
1310
1310
  * var wordArray = CryptoJS.lib.WordArray.random(16);
1311
1311
  */
1312
1312
  random: function(_) {
1313
- for (var b = [], v = 0; v < _; v += 4)
1314
- b.push(U());
1315
- return new s.init(b, _);
1313
+ for (var U = [], v = 0; v < _; v += 4)
1314
+ U.push(b());
1315
+ return new o.init(U, _);
1316
1316
  }
1317
- }), o = l.enc = {}, u = o.Hex = {
1317
+ }), s = l.enc = {}, u = s.Hex = {
1318
1318
  /**
1319
1319
  * Converts a word array to a hex string.
1320
1320
  *
@@ -1329,8 +1329,8 @@ function ae() {
1329
1329
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
1330
1330
  */
1331
1331
  stringify: function(_) {
1332
- for (var b = _.words, v = _.sigBytes, T = [], x = 0; x < v; x++) {
1333
- var S = b[x >>> 2] >>> 24 - x % 4 * 8 & 255;
1332
+ for (var U = _.words, v = _.sigBytes, T = [], x = 0; x < v; x++) {
1333
+ var S = U[x >>> 2] >>> 24 - x % 4 * 8 & 255;
1334
1334
  T.push((S >>> 4).toString(16)), T.push((S & 15).toString(16));
1335
1335
  }
1336
1336
  return T.join("");
@@ -1349,11 +1349,11 @@ function ae() {
1349
1349
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
1350
1350
  */
1351
1351
  parse: function(_) {
1352
- for (var b = _.length, v = [], T = 0; T < b; T += 2)
1352
+ for (var U = _.length, v = [], T = 0; T < U; T += 2)
1353
1353
  v[T >>> 3] |= parseInt(_.substr(T, 2), 16) << 24 - T % 8 * 4;
1354
- return new s.init(v, b / 2);
1354
+ return new o.init(v, U / 2);
1355
1355
  }
1356
- }, m = o.Latin1 = {
1356
+ }, m = s.Latin1 = {
1357
1357
  /**
1358
1358
  * Converts a word array to a Latin1 string.
1359
1359
  *
@@ -1368,8 +1368,8 @@ function ae() {
1368
1368
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
1369
1369
  */
1370
1370
  stringify: function(_) {
1371
- for (var b = _.words, v = _.sigBytes, T = [], x = 0; x < v; x++) {
1372
- var S = b[x >>> 2] >>> 24 - x % 4 * 8 & 255;
1371
+ for (var U = _.words, v = _.sigBytes, T = [], x = 0; x < v; x++) {
1372
+ var S = U[x >>> 2] >>> 24 - x % 4 * 8 & 255;
1373
1373
  T.push(String.fromCharCode(S));
1374
1374
  }
1375
1375
  return T.join("");
@@ -1388,11 +1388,11 @@ function ae() {
1388
1388
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
1389
1389
  */
1390
1390
  parse: function(_) {
1391
- for (var b = _.length, v = [], T = 0; T < b; T++)
1391
+ for (var U = _.length, v = [], T = 0; T < U; T++)
1392
1392
  v[T >>> 2] |= (_.charCodeAt(T) & 255) << 24 - T % 4 * 8;
1393
- return new s.init(v, b);
1393
+ return new o.init(v, U);
1394
1394
  }
1395
- }, c = o.Utf8 = {
1395
+ }, c = s.Utf8 = {
1396
1396
  /**
1397
1397
  * Converts a word array to a UTF-8 string.
1398
1398
  *
@@ -1438,7 +1438,7 @@ function ae() {
1438
1438
  * bufferedBlockAlgorithm.reset();
1439
1439
  */
1440
1440
  reset: function() {
1441
- this._data = new s.init(), this._nDataBytes = 0;
1441
+ this._data = new o.init(), this._nDataBytes = 0;
1442
1442
  },
1443
1443
  /**
1444
1444
  * Adds new data to this block algorithm's buffer.
@@ -1468,15 +1468,15 @@ function ae() {
1468
1468
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
1469
1469
  */
1470
1470
  _process: function(_) {
1471
- var b, v = this._data, T = v.words, x = v.sigBytes, S = this.blockSize, G = S * 4, O = x / G;
1471
+ var U, v = this._data, T = v.words, x = v.sigBytes, S = this.blockSize, G = S * 4, O = x / G;
1472
1472
  _ ? O = n.ceil(O) : O = n.max((O | 0) - this._minBufferSize, 0);
1473
1473
  var C = O * S, h = n.min(C * 4, x);
1474
1474
  if (C) {
1475
1475
  for (var N = 0; N < C; N += S)
1476
1476
  this._doProcessBlock(T, N);
1477
- b = T.splice(0, C), v.sigBytes -= h;
1477
+ U = T.splice(0, C), v.sigBytes -= h;
1478
1478
  }
1479
- return new s.init(b, h);
1479
+ return new o.init(U, h);
1480
1480
  },
1481
1481
  /**
1482
1482
  * Creates a copy of this object.
@@ -1551,8 +1551,8 @@ function ae() {
1551
1551
  */
1552
1552
  finalize: function(_) {
1553
1553
  _ && this._append(_);
1554
- var b = this._doFinalize();
1555
- return b;
1554
+ var U = this._doFinalize();
1555
+ return U;
1556
1556
  },
1557
1557
  blockSize: 16,
1558
1558
  /**
@@ -1569,8 +1569,8 @@ function ae() {
1569
1569
  * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
1570
1570
  */
1571
1571
  _createHelper: function(_) {
1572
- return function(b, v) {
1573
- return new _.init(v).finalize(b);
1572
+ return function(U, v) {
1573
+ return new _.init(v).finalize(U);
1574
1574
  };
1575
1575
  },
1576
1576
  /**
@@ -1587,8 +1587,8 @@ function ae() {
1587
1587
  * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
1588
1588
  */
1589
1589
  _createHmacHelper: function(_) {
1590
- return function(b, v) {
1591
- return new y.HMAC.init(_, v).finalize(b);
1590
+ return function(U, v) {
1591
+ return new y.HMAC.init(_, v).finalize(U);
1592
1592
  };
1593
1593
  }
1594
1594
  });
@@ -1606,8 +1606,8 @@ function Zi() {
1606
1606
  e.exports = n(ae());
1607
1607
  })(rr, function(t) {
1608
1608
  return (function(n) {
1609
- var p = t, g = p.lib, U = g.Base, f = g.WordArray, l = p.x64 = {};
1610
- l.Word = U.extend({
1609
+ var p = t, g = p.lib, b = g.Base, f = g.WordArray, l = p.x64 = {};
1610
+ l.Word = b.extend({
1611
1611
  /**
1612
1612
  * Initializes a newly created 64-bit word.
1613
1613
  *
@@ -1770,7 +1770,7 @@ function Zi() {
1770
1770
  // var high = (this.high + word.high + carry) | 0;
1771
1771
  // return X64Word.create(high, low);
1772
1772
  // }
1773
- }), l.WordArray = U.extend({
1773
+ }), l.WordArray = b.extend({
1774
1774
  /**
1775
1775
  * Initializes a newly created word array.
1776
1776
  *
@@ -1804,11 +1804,11 @@ function Zi() {
1804
1804
  * var x32WordArray = x64WordArray.toX32();
1805
1805
  */
1806
1806
  toX32: function() {
1807
- for (var a = this.words, i = a.length, s = [], o = 0; o < i; o++) {
1808
- var u = a[o];
1809
- s.push(u.high), s.push(u.low);
1807
+ for (var a = this.words, i = a.length, o = [], s = 0; s < i; s++) {
1808
+ var u = a[s];
1809
+ o.push(u.high), o.push(u.low);
1810
1810
  }
1811
- return f.create(s, this.sigBytes);
1811
+ return f.create(o, this.sigBytes);
1812
1812
  },
1813
1813
  /**
1814
1814
  * Creates a copy of this word array.
@@ -1820,8 +1820,8 @@ function Zi() {
1820
1820
  * var clone = x64WordArray.clone();
1821
1821
  */
1822
1822
  clone: function() {
1823
- for (var a = U.clone.call(this), i = a.words = this.words.slice(0), s = i.length, o = 0; o < s; o++)
1824
- i[o] = i[o].clone();
1823
+ for (var a = b.clone.call(this), i = a.words = this.words.slice(0), o = i.length, s = 0; s < o; s++)
1824
+ i[s] = i[s].clone();
1825
1825
  return a;
1826
1826
  }
1827
1827
  });
@@ -1837,13 +1837,13 @@ function sr() {
1837
1837
  })(or, function(t) {
1838
1838
  return (function() {
1839
1839
  if (typeof ArrayBuffer == "function") {
1840
- var n = t, p = n.lib, g = p.WordArray, U = g.init, f = g.init = function(l) {
1840
+ var n = t, p = n.lib, g = p.WordArray, b = g.init, f = g.init = function(l) {
1841
1841
  if (l instanceof ArrayBuffer && (l = new Uint8Array(l)), (l instanceof Int8Array || typeof Uint8ClampedArray < "u" && l instanceof Uint8ClampedArray || l instanceof Int16Array || l instanceof Uint16Array || l instanceof Int32Array || l instanceof Uint32Array || l instanceof Float32Array || l instanceof Float64Array) && (l = new Uint8Array(l.buffer, l.byteOffset, l.byteLength)), l instanceof Uint8Array) {
1842
- for (var a = l.byteLength, i = [], s = 0; s < a; s++)
1843
- i[s >>> 2] |= l[s] << 24 - s % 4 * 8;
1844
- U.call(this, i, a);
1842
+ for (var a = l.byteLength, i = [], o = 0; o < a; o++)
1843
+ i[o >>> 2] |= l[o] << 24 - o % 4 * 8;
1844
+ b.call(this, i, a);
1845
1845
  } else
1846
- U.apply(this, arguments);
1846
+ b.apply(this, arguments);
1847
1847
  };
1848
1848
  f.prototype = g;
1849
1849
  }
@@ -1858,8 +1858,8 @@ function ur() {
1858
1858
  e.exports = n(ae());
1859
1859
  })(mr, function(t) {
1860
1860
  return (function() {
1861
- var n = t, p = n.lib, g = p.WordArray, U = n.enc;
1862
- U.Utf16 = U.Utf16BE = {
1861
+ var n = t, p = n.lib, g = p.WordArray, b = n.enc;
1862
+ b.Utf16 = b.Utf16BE = {
1863
1863
  /**
1864
1864
  * Converts a word array to a UTF-16 BE string.
1865
1865
  *
@@ -1874,11 +1874,11 @@ function ur() {
1874
1874
  * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
1875
1875
  */
1876
1876
  stringify: function(l) {
1877
- for (var a = l.words, i = l.sigBytes, s = [], o = 0; o < i; o += 2) {
1878
- var u = a[o >>> 2] >>> 16 - o % 4 * 8 & 65535;
1879
- s.push(String.fromCharCode(u));
1877
+ for (var a = l.words, i = l.sigBytes, o = [], s = 0; s < i; s += 2) {
1878
+ var u = a[s >>> 2] >>> 16 - s % 4 * 8 & 65535;
1879
+ o.push(String.fromCharCode(u));
1880
1880
  }
1881
- return s.join("");
1881
+ return o.join("");
1882
1882
  },
1883
1883
  /**
1884
1884
  * Converts a UTF-16 BE string to a word array.
@@ -1894,11 +1894,11 @@ function ur() {
1894
1894
  * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
1895
1895
  */
1896
1896
  parse: function(l) {
1897
- for (var a = l.length, i = [], s = 0; s < a; s++)
1898
- i[s >>> 1] |= l.charCodeAt(s) << 16 - s % 2 * 16;
1897
+ for (var a = l.length, i = [], o = 0; o < a; o++)
1898
+ i[o >>> 1] |= l.charCodeAt(o) << 16 - o % 2 * 16;
1899
1899
  return g.create(i, a * 2);
1900
1900
  }
1901
- }, U.Utf16LE = {
1901
+ }, b.Utf16LE = {
1902
1902
  /**
1903
1903
  * Converts a word array to a UTF-16 LE string.
1904
1904
  *
@@ -1913,11 +1913,11 @@ function ur() {
1913
1913
  * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
1914
1914
  */
1915
1915
  stringify: function(l) {
1916
- for (var a = l.words, i = l.sigBytes, s = [], o = 0; o < i; o += 2) {
1917
- var u = f(a[o >>> 2] >>> 16 - o % 4 * 8 & 65535);
1918
- s.push(String.fromCharCode(u));
1916
+ for (var a = l.words, i = l.sigBytes, o = [], s = 0; s < i; s += 2) {
1917
+ var u = f(a[s >>> 2] >>> 16 - s % 4 * 8 & 65535);
1918
+ o.push(String.fromCharCode(u));
1919
1919
  }
1920
- return s.join("");
1920
+ return o.join("");
1921
1921
  },
1922
1922
  /**
1923
1923
  * Converts a UTF-16 LE string to a word array.
@@ -1933,8 +1933,8 @@ function ur() {
1933
1933
  * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
1934
1934
  */
1935
1935
  parse: function(l) {
1936
- for (var a = l.length, i = [], s = 0; s < a; s++)
1937
- i[s >>> 1] |= f(l.charCodeAt(s) << 16 - s % 2 * 16);
1936
+ for (var a = l.length, i = [], o = 0; o < a; o++)
1937
+ i[o >>> 1] |= f(l.charCodeAt(o) << 16 - o % 2 * 16);
1938
1938
  return g.create(i, a * 2);
1939
1939
  }
1940
1940
  };
@@ -1952,8 +1952,8 @@ function Sa() {
1952
1952
  e.exports = n(ae());
1953
1953
  })(pr, function(t) {
1954
1954
  return (function() {
1955
- var n = t, p = n.lib, g = p.WordArray, U = n.enc;
1956
- U.Base64 = {
1955
+ var n = t, p = n.lib, g = p.WordArray, b = n.enc;
1956
+ b.Base64 = {
1957
1957
  /**
1958
1958
  * Converts a word array to a Base64 string.
1959
1959
  *
@@ -1968,16 +1968,16 @@ function Sa() {
1968
1968
  * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
1969
1969
  */
1970
1970
  stringify: function(l) {
1971
- var a = l.words, i = l.sigBytes, s = this._map;
1971
+ var a = l.words, i = l.sigBytes, o = this._map;
1972
1972
  l.clamp();
1973
- for (var o = [], u = 0; u < i; u += 3)
1973
+ for (var s = [], u = 0; u < i; u += 3)
1974
1974
  for (var m = a[u >>> 2] >>> 24 - u % 4 * 8 & 255, c = a[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, d = a[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, y = m << 16 | c << 8 | d, _ = 0; _ < 4 && u + _ * 0.75 < i; _++)
1975
- o.push(s.charAt(y >>> 6 * (3 - _) & 63));
1976
- var b = s.charAt(64);
1977
- if (b)
1978
- for (; o.length % 4; )
1979
- o.push(b);
1980
- return o.join("");
1975
+ s.push(o.charAt(y >>> 6 * (3 - _) & 63));
1976
+ var U = o.charAt(64);
1977
+ if (U)
1978
+ for (; s.length % 4; )
1979
+ s.push(U);
1980
+ return s.join("");
1981
1981
  },
1982
1982
  /**
1983
1983
  * Converts a Base64 string to a word array.
@@ -1993,28 +1993,28 @@ function Sa() {
1993
1993
  * var wordArray = CryptoJS.enc.Base64.parse(base64String);
1994
1994
  */
1995
1995
  parse: function(l) {
1996
- var a = l.length, i = this._map, s = this._reverseMap;
1997
- if (!s) {
1998
- s = this._reverseMap = [];
1999
- for (var o = 0; o < i.length; o++)
2000
- s[i.charCodeAt(o)] = o;
1996
+ var a = l.length, i = this._map, o = this._reverseMap;
1997
+ if (!o) {
1998
+ o = this._reverseMap = [];
1999
+ for (var s = 0; s < i.length; s++)
2000
+ o[i.charCodeAt(s)] = s;
2001
2001
  }
2002
2002
  var u = i.charAt(64);
2003
2003
  if (u) {
2004
2004
  var m = l.indexOf(u);
2005
2005
  m !== -1 && (a = m);
2006
2006
  }
2007
- return f(l, a, s);
2007
+ return f(l, a, o);
2008
2008
  },
2009
2009
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
2010
2010
  };
2011
2011
  function f(l, a, i) {
2012
- for (var s = [], o = 0, u = 0; u < a; u++)
2012
+ for (var o = [], s = 0, u = 0; u < a; u++)
2013
2013
  if (u % 4) {
2014
2014
  var m = i[l.charCodeAt(u - 1)] << u % 4 * 2, c = i[l.charCodeAt(u)] >>> 6 - u % 4 * 2, d = m | c;
2015
- s[o >>> 2] |= d << 24 - o % 4 * 8, o++;
2015
+ o[s >>> 2] |= d << 24 - s % 4 * 8, s++;
2016
2016
  }
2017
- return g.create(s, o);
2017
+ return g.create(o, s);
2018
2018
  }
2019
2019
  })(), t.enc.Base64;
2020
2020
  });
@@ -2027,8 +2027,8 @@ function dr() {
2027
2027
  e.exports = n(ae());
2028
2028
  })(gr, function(t) {
2029
2029
  return (function() {
2030
- var n = t, p = n.lib, g = p.WordArray, U = n.enc;
2031
- U.Base64url = {
2030
+ var n = t, p = n.lib, g = p.WordArray, b = n.enc;
2031
+ b.Base64url = {
2032
2032
  /**
2033
2033
  * Converts a word array to a Base64url string.
2034
2034
  *
@@ -2046,12 +2046,12 @@ function dr() {
2046
2046
  */
2047
2047
  stringify: function(l, a) {
2048
2048
  a === void 0 && (a = !0);
2049
- var i = l.words, s = l.sigBytes, o = a ? this._safe_map : this._map;
2049
+ var i = l.words, o = l.sigBytes, s = a ? this._safe_map : this._map;
2050
2050
  l.clamp();
2051
- for (var u = [], m = 0; m < s; m += 3)
2052
- for (var c = i[m >>> 2] >>> 24 - m % 4 * 8 & 255, d = i[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = i[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, _ = c << 16 | d << 8 | y, b = 0; b < 4 && m + b * 0.75 < s; b++)
2053
- u.push(o.charAt(_ >>> 6 * (3 - b) & 63));
2054
- var v = o.charAt(64);
2051
+ for (var u = [], m = 0; m < o; m += 3)
2052
+ for (var c = i[m >>> 2] >>> 24 - m % 4 * 8 & 255, d = i[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = i[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, _ = c << 16 | d << 8 | y, U = 0; U < 4 && m + U * 0.75 < o; U++)
2053
+ u.push(s.charAt(_ >>> 6 * (3 - U) & 63));
2054
+ var v = s.charAt(64);
2055
2055
  if (v)
2056
2056
  for (; u.length % 4; )
2057
2057
  u.push(v);
@@ -2074,29 +2074,29 @@ function dr() {
2074
2074
  */
2075
2075
  parse: function(l, a) {
2076
2076
  a === void 0 && (a = !0);
2077
- var i = l.length, s = a ? this._safe_map : this._map, o = this._reverseMap;
2078
- if (!o) {
2079
- o = this._reverseMap = [];
2080
- for (var u = 0; u < s.length; u++)
2081
- o[s.charCodeAt(u)] = u;
2077
+ var i = l.length, o = a ? this._safe_map : this._map, s = this._reverseMap;
2078
+ if (!s) {
2079
+ s = this._reverseMap = [];
2080
+ for (var u = 0; u < o.length; u++)
2081
+ s[o.charCodeAt(u)] = u;
2082
2082
  }
2083
- var m = s.charAt(64);
2083
+ var m = o.charAt(64);
2084
2084
  if (m) {
2085
2085
  var c = l.indexOf(m);
2086
2086
  c !== -1 && (i = c);
2087
2087
  }
2088
- return f(l, i, o);
2088
+ return f(l, i, s);
2089
2089
  },
2090
2090
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
2091
2091
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
2092
2092
  };
2093
2093
  function f(l, a, i) {
2094
- for (var s = [], o = 0, u = 0; u < a; u++)
2094
+ for (var o = [], s = 0, u = 0; u < a; u++)
2095
2095
  if (u % 4) {
2096
2096
  var m = i[l.charCodeAt(u - 1)] << u % 4 * 2, c = i[l.charCodeAt(u)] >>> 6 - u % 4 * 2, d = m | c;
2097
- s[o >>> 2] |= d << 24 - o % 4 * 8, o++;
2097
+ o[s >>> 2] |= d << 24 - s % 4 * 8, s++;
2098
2098
  }
2099
- return g.create(s, o);
2099
+ return g.create(o, s);
2100
2100
  }
2101
2101
  })(), t.enc.Base64url;
2102
2102
  });
@@ -2109,14 +2109,14 @@ function Da() {
2109
2109
  e.exports = n(ae());
2110
2110
  })(cr, function(t) {
2111
2111
  return (function(n) {
2112
- var p = t, g = p.lib, U = g.WordArray, f = g.Hasher, l = p.algo, a = [];
2112
+ var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.algo, a = [];
2113
2113
  (function() {
2114
2114
  for (var c = 0; c < 64; c++)
2115
2115
  a[c] = n.abs(n.sin(c + 1)) * 4294967296 | 0;
2116
2116
  })();
2117
2117
  var i = l.MD5 = f.extend({
2118
2118
  _doReset: function() {
2119
- this._hash = new U.init([
2119
+ this._hash = new b.init([
2120
2120
  1732584193,
2121
2121
  4023233417,
2122
2122
  2562383102,
@@ -2125,17 +2125,17 @@ function Da() {
2125
2125
  },
2126
2126
  _doProcessBlock: function(c, d) {
2127
2127
  for (var y = 0; y < 16; y++) {
2128
- var _ = d + y, b = c[_];
2129
- c[_] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360;
2128
+ var _ = d + y, U = c[_];
2129
+ c[_] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
2130
2130
  }
2131
2131
  var v = this._hash.words, T = c[d + 0], x = c[d + 1], S = c[d + 2], G = c[d + 3], O = c[d + 4], C = c[d + 5], h = c[d + 6], N = c[d + 7], E = c[d + 8], P = c[d + 9], M = c[d + 10], R = c[d + 11], B = c[d + 12], A = c[d + 13], H = c[d + 14], W = c[d + 15], L = v[0], D = v[1], F = v[2], w = v[3];
2132
- L = s(L, D, F, w, T, 7, a[0]), w = s(w, L, D, F, x, 12, a[1]), F = s(F, w, L, D, S, 17, a[2]), D = s(D, F, w, L, G, 22, a[3]), L = s(L, D, F, w, O, 7, a[4]), w = s(w, L, D, F, C, 12, a[5]), F = s(F, w, L, D, h, 17, a[6]), D = s(D, F, w, L, N, 22, a[7]), L = s(L, D, F, w, E, 7, a[8]), w = s(w, L, D, F, P, 12, a[9]), F = s(F, w, L, D, M, 17, a[10]), D = s(D, F, w, L, R, 22, a[11]), L = s(L, D, F, w, B, 7, a[12]), w = s(w, L, D, F, A, 12, a[13]), F = s(F, w, L, D, H, 17, a[14]), D = s(D, F, w, L, W, 22, a[15]), L = o(L, D, F, w, x, 5, a[16]), w = o(w, L, D, F, h, 9, a[17]), F = o(F, w, L, D, R, 14, a[18]), D = o(D, F, w, L, T, 20, a[19]), L = o(L, D, F, w, C, 5, a[20]), w = o(w, L, D, F, M, 9, a[21]), F = o(F, w, L, D, W, 14, a[22]), D = o(D, F, w, L, O, 20, a[23]), L = o(L, D, F, w, P, 5, a[24]), w = o(w, L, D, F, H, 9, a[25]), F = o(F, w, L, D, G, 14, a[26]), D = o(D, F, w, L, E, 20, a[27]), L = o(L, D, F, w, A, 5, a[28]), w = o(w, L, D, F, S, 9, a[29]), F = o(F, w, L, D, N, 14, a[30]), D = o(D, F, w, L, B, 20, a[31]), L = u(L, D, F, w, C, 4, a[32]), w = u(w, L, D, F, E, 11, a[33]), F = u(F, w, L, D, R, 16, a[34]), D = u(D, F, w, L, H, 23, a[35]), L = u(L, D, F, w, x, 4, a[36]), w = u(w, L, D, F, O, 11, a[37]), F = u(F, w, L, D, N, 16, a[38]), D = u(D, F, w, L, M, 23, a[39]), L = u(L, D, F, w, A, 4, a[40]), w = u(w, L, D, F, T, 11, a[41]), F = u(F, w, L, D, G, 16, a[42]), D = u(D, F, w, L, h, 23, a[43]), L = u(L, D, F, w, P, 4, a[44]), w = u(w, L, D, F, B, 11, a[45]), F = u(F, w, L, D, W, 16, a[46]), D = u(D, F, w, L, S, 23, a[47]), L = m(L, D, F, w, T, 6, a[48]), w = m(w, L, D, F, N, 10, a[49]), F = m(F, w, L, D, H, 15, a[50]), D = m(D, F, w, L, C, 21, a[51]), L = m(L, D, F, w, B, 6, a[52]), w = m(w, L, D, F, G, 10, a[53]), F = m(F, w, L, D, M, 15, a[54]), D = m(D, F, w, L, x, 21, a[55]), L = m(L, D, F, w, E, 6, a[56]), w = m(w, L, D, F, W, 10, a[57]), F = m(F, w, L, D, h, 15, a[58]), D = m(D, F, w, L, A, 21, a[59]), L = m(L, D, F, w, O, 6, a[60]), w = m(w, L, D, F, R, 10, a[61]), F = m(F, w, L, D, S, 15, a[62]), D = m(D, F, w, L, P, 21, a[63]), v[0] = v[0] + L | 0, v[1] = v[1] + D | 0, v[2] = v[2] + F | 0, v[3] = v[3] + w | 0;
2132
+ L = o(L, D, F, w, T, 7, a[0]), w = o(w, L, D, F, x, 12, a[1]), F = o(F, w, L, D, S, 17, a[2]), D = o(D, F, w, L, G, 22, a[3]), L = o(L, D, F, w, O, 7, a[4]), w = o(w, L, D, F, C, 12, a[5]), F = o(F, w, L, D, h, 17, a[6]), D = o(D, F, w, L, N, 22, a[7]), L = o(L, D, F, w, E, 7, a[8]), w = o(w, L, D, F, P, 12, a[9]), F = o(F, w, L, D, M, 17, a[10]), D = o(D, F, w, L, R, 22, a[11]), L = o(L, D, F, w, B, 7, a[12]), w = o(w, L, D, F, A, 12, a[13]), F = o(F, w, L, D, H, 17, a[14]), D = o(D, F, w, L, W, 22, a[15]), L = s(L, D, F, w, x, 5, a[16]), w = s(w, L, D, F, h, 9, a[17]), F = s(F, w, L, D, R, 14, a[18]), D = s(D, F, w, L, T, 20, a[19]), L = s(L, D, F, w, C, 5, a[20]), w = s(w, L, D, F, M, 9, a[21]), F = s(F, w, L, D, W, 14, a[22]), D = s(D, F, w, L, O, 20, a[23]), L = s(L, D, F, w, P, 5, a[24]), w = s(w, L, D, F, H, 9, a[25]), F = s(F, w, L, D, G, 14, a[26]), D = s(D, F, w, L, E, 20, a[27]), L = s(L, D, F, w, A, 5, a[28]), w = s(w, L, D, F, S, 9, a[29]), F = s(F, w, L, D, N, 14, a[30]), D = s(D, F, w, L, B, 20, a[31]), L = u(L, D, F, w, C, 4, a[32]), w = u(w, L, D, F, E, 11, a[33]), F = u(F, w, L, D, R, 16, a[34]), D = u(D, F, w, L, H, 23, a[35]), L = u(L, D, F, w, x, 4, a[36]), w = u(w, L, D, F, O, 11, a[37]), F = u(F, w, L, D, N, 16, a[38]), D = u(D, F, w, L, M, 23, a[39]), L = u(L, D, F, w, A, 4, a[40]), w = u(w, L, D, F, T, 11, a[41]), F = u(F, w, L, D, G, 16, a[42]), D = u(D, F, w, L, h, 23, a[43]), L = u(L, D, F, w, P, 4, a[44]), w = u(w, L, D, F, B, 11, a[45]), F = u(F, w, L, D, W, 16, a[46]), D = u(D, F, w, L, S, 23, a[47]), L = m(L, D, F, w, T, 6, a[48]), w = m(w, L, D, F, N, 10, a[49]), F = m(F, w, L, D, H, 15, a[50]), D = m(D, F, w, L, C, 21, a[51]), L = m(L, D, F, w, B, 6, a[52]), w = m(w, L, D, F, G, 10, a[53]), F = m(F, w, L, D, M, 15, a[54]), D = m(D, F, w, L, x, 21, a[55]), L = m(L, D, F, w, E, 6, a[56]), w = m(w, L, D, F, W, 10, a[57]), F = m(F, w, L, D, h, 15, a[58]), D = m(D, F, w, L, A, 21, a[59]), L = m(L, D, F, w, O, 6, a[60]), w = m(w, L, D, F, R, 10, a[61]), F = m(F, w, L, D, S, 15, a[62]), D = m(D, F, w, L, P, 21, a[63]), v[0] = v[0] + L | 0, v[1] = v[1] + D | 0, v[2] = v[2] + F | 0, v[3] = v[3] + w | 0;
2133
2133
  },
2134
2134
  _doFinalize: function() {
2135
2135
  var c = this._data, d = c.words, y = this._nDataBytes * 8, _ = c.sigBytes * 8;
2136
2136
  d[_ >>> 5] |= 128 << 24 - _ % 32;
2137
- var b = n.floor(y / 4294967296), v = y;
2138
- d[(_ + 64 >>> 9 << 4) + 15] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, d[(_ + 64 >>> 9 << 4) + 14] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, c.sigBytes = (d.length + 1) * 4, this._process();
2137
+ var U = n.floor(y / 4294967296), v = y;
2138
+ d[(_ + 64 >>> 9 << 4) + 15] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, d[(_ + 64 >>> 9 << 4) + 14] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, c.sigBytes = (d.length + 1) * 4, this._process();
2139
2139
  for (var T = this._hash, x = T.words, S = 0; S < 4; S++) {
2140
2140
  var G = x[S];
2141
2141
  x[S] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360;
@@ -2147,20 +2147,20 @@ function Da() {
2147
2147
  return c._hash = this._hash.clone(), c;
2148
2148
  }
2149
2149
  });
2150
- function s(c, d, y, _, b, v, T) {
2151
- var x = c + (d & y | ~d & _) + b + T;
2150
+ function o(c, d, y, _, U, v, T) {
2151
+ var x = c + (d & y | ~d & _) + U + T;
2152
2152
  return (x << v | x >>> 32 - v) + d;
2153
2153
  }
2154
- function o(c, d, y, _, b, v, T) {
2155
- var x = c + (d & _ | y & ~_) + b + T;
2154
+ function s(c, d, y, _, U, v, T) {
2155
+ var x = c + (d & _ | y & ~_) + U + T;
2156
2156
  return (x << v | x >>> 32 - v) + d;
2157
2157
  }
2158
- function u(c, d, y, _, b, v, T) {
2159
- var x = c + (d ^ y ^ _) + b + T;
2158
+ function u(c, d, y, _, U, v, T) {
2159
+ var x = c + (d ^ y ^ _) + U + T;
2160
2160
  return (x << v | x >>> 32 - v) + d;
2161
2161
  }
2162
- function m(c, d, y, _, b, v, T) {
2163
- var x = c + (y ^ (d | ~_)) + b + T;
2162
+ function m(c, d, y, _, U, v, T) {
2163
+ var x = c + (y ^ (d | ~_)) + U + T;
2164
2164
  return (x << v | x >>> 32 - v) + d;
2165
2165
  }
2166
2166
  p.MD5 = f._createHelper(i), p.HmacMD5 = f._createHmacHelper(i);
@@ -2175,7 +2175,7 @@ function Xn() {
2175
2175
  e.exports = n(ae());
2176
2176
  })(fr, function(t) {
2177
2177
  return (function() {
2178
- var n = t, p = n.lib, g = p.WordArray, U = p.Hasher, f = n.algo, l = [], a = f.SHA1 = U.extend({
2178
+ var n = t, p = n.lib, g = p.WordArray, b = p.Hasher, f = n.algo, l = [], a = f.SHA1 = b.extend({
2179
2179
  _doReset: function() {
2180
2180
  this._hash = new g.init([
2181
2181
  1732584193,
@@ -2185,29 +2185,29 @@ function Xn() {
2185
2185
  3285377520
2186
2186
  ]);
2187
2187
  },
2188
- _doProcessBlock: function(i, s) {
2189
- for (var o = this._hash.words, u = o[0], m = o[1], c = o[2], d = o[3], y = o[4], _ = 0; _ < 80; _++) {
2188
+ _doProcessBlock: function(i, o) {
2189
+ for (var s = this._hash.words, u = s[0], m = s[1], c = s[2], d = s[3], y = s[4], _ = 0; _ < 80; _++) {
2190
2190
  if (_ < 16)
2191
- l[_] = i[s + _] | 0;
2191
+ l[_] = i[o + _] | 0;
2192
2192
  else {
2193
- var b = l[_ - 3] ^ l[_ - 8] ^ l[_ - 14] ^ l[_ - 16];
2194
- l[_] = b << 1 | b >>> 31;
2193
+ var U = l[_ - 3] ^ l[_ - 8] ^ l[_ - 14] ^ l[_ - 16];
2194
+ l[_] = U << 1 | U >>> 31;
2195
2195
  }
2196
2196
  var v = (u << 5 | u >>> 27) + y + l[_];
2197
2197
  _ < 20 ? v += (m & c | ~m & d) + 1518500249 : _ < 40 ? v += (m ^ c ^ d) + 1859775393 : _ < 60 ? v += (m & c | m & d | c & d) - 1894007588 : v += (m ^ c ^ d) - 899497514, y = d, d = c, c = m << 30 | m >>> 2, m = u, u = v;
2198
2198
  }
2199
- o[0] = o[0] + u | 0, o[1] = o[1] + m | 0, o[2] = o[2] + c | 0, o[3] = o[3] + d | 0, o[4] = o[4] + y | 0;
2199
+ s[0] = s[0] + u | 0, s[1] = s[1] + m | 0, s[2] = s[2] + c | 0, s[3] = s[3] + d | 0, s[4] = s[4] + y | 0;
2200
2200
  },
2201
2201
  _doFinalize: function() {
2202
- var i = this._data, s = i.words, o = this._nDataBytes * 8, u = i.sigBytes * 8;
2203
- return s[u >>> 5] |= 128 << 24 - u % 32, s[(u + 64 >>> 9 << 4) + 14] = Math.floor(o / 4294967296), s[(u + 64 >>> 9 << 4) + 15] = o, i.sigBytes = s.length * 4, this._process(), this._hash;
2202
+ var i = this._data, o = i.words, s = this._nDataBytes * 8, u = i.sigBytes * 8;
2203
+ return o[u >>> 5] |= 128 << 24 - u % 32, o[(u + 64 >>> 9 << 4) + 14] = Math.floor(s / 4294967296), o[(u + 64 >>> 9 << 4) + 15] = s, i.sigBytes = o.length * 4, this._process(), this._hash;
2204
2204
  },
2205
2205
  clone: function() {
2206
- var i = U.clone.call(this);
2206
+ var i = b.clone.call(this);
2207
2207
  return i._hash = this._hash.clone(), i;
2208
2208
  }
2209
2209
  });
2210
- n.SHA1 = U._createHelper(a), n.HmacSHA1 = U._createHmacHelper(a);
2210
+ n.SHA1 = b._createHelper(a), n.HmacSHA1 = b._createHmacHelper(a);
2211
2211
  })(), t.SHA1;
2212
2212
  });
2213
2213
  })(gi)), gi.exports;
@@ -2219,11 +2219,11 @@ function gt() {
2219
2219
  e.exports = n(ae());
2220
2220
  })(_r, function(t) {
2221
2221
  return (function(n) {
2222
- var p = t, g = p.lib, U = g.WordArray, f = g.Hasher, l = p.algo, a = [], i = [];
2222
+ var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.algo, a = [], i = [];
2223
2223
  (function() {
2224
2224
  function u(y) {
2225
- for (var _ = n.sqrt(y), b = 2; b <= _; b++)
2226
- if (!(y % b))
2225
+ for (var _ = n.sqrt(y), U = 2; U <= _; U++)
2226
+ if (!(y % U))
2227
2227
  return !1;
2228
2228
  return !0;
2229
2229
  }
@@ -2233,22 +2233,22 @@ function gt() {
2233
2233
  for (var c = 2, d = 0; d < 64; )
2234
2234
  u(c) && (d < 8 && (a[d] = m(n.pow(c, 1 / 2))), i[d] = m(n.pow(c, 1 / 3)), d++), c++;
2235
2235
  })();
2236
- var s = [], o = l.SHA256 = f.extend({
2236
+ var o = [], s = l.SHA256 = f.extend({
2237
2237
  _doReset: function() {
2238
- this._hash = new U.init(a.slice(0));
2238
+ this._hash = new b.init(a.slice(0));
2239
2239
  },
2240
2240
  _doProcessBlock: function(u, m) {
2241
- for (var c = this._hash.words, d = c[0], y = c[1], _ = c[2], b = c[3], v = c[4], T = c[5], x = c[6], S = c[7], G = 0; G < 64; G++) {
2241
+ for (var c = this._hash.words, d = c[0], y = c[1], _ = c[2], U = c[3], v = c[4], T = c[5], x = c[6], S = c[7], G = 0; G < 64; G++) {
2242
2242
  if (G < 16)
2243
- s[G] = u[m + G] | 0;
2243
+ o[G] = u[m + G] | 0;
2244
2244
  else {
2245
- var O = s[G - 15], C = (O << 25 | O >>> 7) ^ (O << 14 | O >>> 18) ^ O >>> 3, h = s[G - 2], N = (h << 15 | h >>> 17) ^ (h << 13 | h >>> 19) ^ h >>> 10;
2246
- s[G] = C + s[G - 7] + N + s[G - 16];
2245
+ var O = o[G - 15], C = (O << 25 | O >>> 7) ^ (O << 14 | O >>> 18) ^ O >>> 3, h = o[G - 2], N = (h << 15 | h >>> 17) ^ (h << 13 | h >>> 19) ^ h >>> 10;
2246
+ o[G] = C + o[G - 7] + N + o[G - 16];
2247
2247
  }
2248
- var E = v & T ^ ~v & x, P = d & y ^ d & _ ^ y & _, M = (d << 30 | d >>> 2) ^ (d << 19 | d >>> 13) ^ (d << 10 | d >>> 22), R = (v << 26 | v >>> 6) ^ (v << 21 | v >>> 11) ^ (v << 7 | v >>> 25), B = S + R + E + i[G] + s[G], A = M + P;
2249
- S = x, x = T, T = v, v = b + B | 0, b = _, _ = y, y = d, d = B + A | 0;
2248
+ var E = v & T ^ ~v & x, P = d & y ^ d & _ ^ y & _, M = (d << 30 | d >>> 2) ^ (d << 19 | d >>> 13) ^ (d << 10 | d >>> 22), R = (v << 26 | v >>> 6) ^ (v << 21 | v >>> 11) ^ (v << 7 | v >>> 25), B = S + R + E + i[G] + o[G], A = M + P;
2249
+ S = x, x = T, T = v, v = U + B | 0, U = _, _ = y, y = d, d = B + A | 0;
2250
2250
  }
2251
- c[0] = c[0] + d | 0, c[1] = c[1] + y | 0, c[2] = c[2] + _ | 0, c[3] = c[3] + b | 0, c[4] = c[4] + v | 0, c[5] = c[5] + T | 0, c[6] = c[6] + x | 0, c[7] = c[7] + S | 0;
2251
+ c[0] = c[0] + d | 0, c[1] = c[1] + y | 0, c[2] = c[2] + _ | 0, c[3] = c[3] + U | 0, c[4] = c[4] + v | 0, c[5] = c[5] + T | 0, c[6] = c[6] + x | 0, c[7] = c[7] + S | 0;
2252
2252
  },
2253
2253
  _doFinalize: function() {
2254
2254
  var u = this._data, m = u.words, c = this._nDataBytes * 8, d = u.sigBytes * 8;
@@ -2259,7 +2259,7 @@ function gt() {
2259
2259
  return u._hash = this._hash.clone(), u;
2260
2260
  }
2261
2261
  });
2262
- p.SHA256 = f._createHelper(o), p.HmacSHA256 = f._createHmacHelper(o);
2262
+ p.SHA256 = f._createHelper(s), p.HmacSHA256 = f._createHmacHelper(s);
2263
2263
  })(Math), t.SHA256;
2264
2264
  });
2265
2265
  })(di)), di.exports;
@@ -2271,7 +2271,7 @@ function Ur() {
2271
2271
  e.exports = n(ae(), gt());
2272
2272
  })(yr, function(t) {
2273
2273
  return (function() {
2274
- var n = t, p = n.lib, g = p.WordArray, U = n.algo, f = U.SHA256, l = U.SHA224 = f.extend({
2274
+ var n = t, p = n.lib, g = p.WordArray, b = n.algo, f = b.SHA256, l = b.SHA224 = f.extend({
2275
2275
  _doReset: function() {
2276
2276
  this._hash = new g.init([
2277
2277
  3238371032,
@@ -2301,11 +2301,11 @@ function el() {
2301
2301
  e.exports = n(ae(), Zi());
2302
2302
  })(br, function(t) {
2303
2303
  return (function() {
2304
- var n = t, p = n.lib, g = p.Hasher, U = n.x64, f = U.Word, l = U.WordArray, a = n.algo;
2304
+ var n = t, p = n.lib, g = p.Hasher, b = n.x64, f = b.Word, l = b.WordArray, a = n.algo;
2305
2305
  function i() {
2306
2306
  return f.create.apply(f, arguments);
2307
2307
  }
2308
- var s = [
2308
+ var o = [
2309
2309
  i(1116352408, 3609767458),
2310
2310
  i(1899447441, 602891725),
2311
2311
  i(3049323471, 3964484399),
@@ -2386,10 +2386,10 @@ function el() {
2386
2386
  i(1501505948, 4234509866),
2387
2387
  i(1607167915, 987167468),
2388
2388
  i(1816402316, 1246189591)
2389
- ], o = [];
2389
+ ], s = [];
2390
2390
  (function() {
2391
2391
  for (var m = 0; m < 80; m++)
2392
- o[m] = i();
2392
+ s[m] = i();
2393
2393
  })();
2394
2394
  var u = a.SHA512 = g.extend({
2395
2395
  _doReset: function() {
@@ -2405,18 +2405,18 @@ function el() {
2405
2405
  ]);
2406
2406
  },
2407
2407
  _doProcessBlock: function(m, c) {
2408
- for (var d = this._hash.words, y = d[0], _ = d[1], b = d[2], v = d[3], T = d[4], x = d[5], S = d[6], G = d[7], O = y.high, C = y.low, h = _.high, N = _.low, E = b.high, P = b.low, M = v.high, R = v.low, B = T.high, A = T.low, H = x.high, W = x.low, L = S.high, D = S.low, F = G.high, w = G.low, K = O, $ = C, Q = h, J = N, X = E, ie = P, Ue = M, pe = R, oe = B, fe = A, ke = H, _e = W, Xe = L, Ce = D, Ge = F, ea = w, Me = 0; Me < 80; Me++) {
2409
- var ve, Oe, aa = o[Me];
2408
+ for (var d = this._hash.words, y = d[0], _ = d[1], U = d[2], v = d[3], T = d[4], x = d[5], S = d[6], G = d[7], O = y.high, C = y.low, h = _.high, N = _.low, E = U.high, P = U.low, M = v.high, R = v.low, B = T.high, A = T.low, H = x.high, W = x.low, L = S.high, D = S.low, F = G.high, w = G.low, K = O, $ = C, Q = h, J = N, X = E, ie = P, Ue = M, pe = R, oe = B, fe = A, ke = H, _e = W, Xe = L, Ce = D, Ge = F, ea = w, Me = 0; Me < 80; Me++) {
2409
+ var ve, Oe, aa = s[Me];
2410
2410
  if (Me < 16)
2411
2411
  Oe = aa.high = m[c + Me * 2] | 0, ve = aa.low = m[c + Me * 2 + 1] | 0;
2412
2412
  else {
2413
- var ia = o[Me - 15], xe = ia.high, Re = ia.low, Je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = o[Me - 2], ze = ga.high, Ke = ga.low, Wa = (ze >>> 19 | Ke << 13) ^ (ze << 3 | Ke >>> 29) ^ ze >>> 6, Ea = (Ke >>> 19 | ze << 13) ^ (Ke << 3 | ze >>> 29) ^ (Ke >>> 6 | ze << 26), Na = o[Me - 7], za = Na.high, Ia = Na.low, da = o[Me - 16], Ua = da.high, Ve = da.low;
2413
+ var ia = s[Me - 15], xe = ia.high, Re = ia.low, Je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = s[Me - 2], ze = ga.high, Ke = ga.low, Wa = (ze >>> 19 | Ke << 13) ^ (ze << 3 | Ke >>> 29) ^ ze >>> 6, Ea = (Ke >>> 19 | ze << 13) ^ (Ke << 3 | ze >>> 29) ^ (Ke >>> 6 | ze << 26), Na = s[Me - 7], za = Na.high, Ia = Na.low, da = s[Me - 16], Ua = da.high, Ve = da.low;
2414
2414
  ve = oa + Ia, Oe = Je + za + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Ea, Oe = Oe + Wa + (ve >>> 0 < Ea >>> 0 ? 1 : 0), ve = ve + Ve, Oe = Oe + Ua + (ve >>> 0 < Ve >>> 0 ? 1 : 0), aa.high = Oe, aa.low = ve;
2415
2415
  }
2416
- var ca = oe & ke ^ ~oe & Xe, fa = fe & _e ^ ~fe & Ce, La = K & Q ^ K & X ^ Q & X, Ga = $ & J ^ $ & ie ^ J & ie, ba = (K >>> 28 | $ << 4) ^ (K << 30 | $ >>> 2) ^ (K << 25 | $ >>> 7), Ma = ($ >>> 28 | K << 4) ^ ($ << 30 | K >>> 2) ^ ($ << 25 | K >>> 7), Ra = (oe >>> 14 | fe << 18) ^ (oe >>> 18 | fe << 14) ^ (oe << 23 | fe >>> 9), Se = (fe >>> 14 | oe << 18) ^ (fe >>> 18 | oe << 14) ^ (fe << 23 | oe >>> 9), V = s[Me], De = V.high, ta = V.low, Pe = ea + Se, na = Ge + Ra + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ta, na = na + De + (Pe >>> 0 < ta >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + Oe + (Pe >>> 0 < ve >>> 0 ? 1 : 0), Ya = Ma + Ga, qi = ba + La + (Ya >>> 0 < Ma >>> 0 ? 1 : 0);
2416
+ var ca = oe & ke ^ ~oe & Xe, fa = fe & _e ^ ~fe & Ce, La = K & Q ^ K & X ^ Q & X, Ga = $ & J ^ $ & ie ^ J & ie, ba = (K >>> 28 | $ << 4) ^ (K << 30 | $ >>> 2) ^ (K << 25 | $ >>> 7), Ma = ($ >>> 28 | K << 4) ^ ($ << 30 | K >>> 2) ^ ($ << 25 | K >>> 7), Ra = (oe >>> 14 | fe << 18) ^ (oe >>> 18 | fe << 14) ^ (oe << 23 | fe >>> 9), Se = (fe >>> 14 | oe << 18) ^ (fe >>> 18 | oe << 14) ^ (fe << 23 | oe >>> 9), V = o[Me], De = V.high, ta = V.low, Pe = ea + Se, na = Ge + Ra + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ta, na = na + De + (Pe >>> 0 < ta >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + Oe + (Pe >>> 0 < ve >>> 0 ? 1 : 0), Ya = Ma + Ga, qi = ba + La + (Ya >>> 0 < Ma >>> 0 ? 1 : 0);
2417
2417
  Ge = Xe, ea = Ce, Xe = ke, Ce = _e, ke = oe, _e = fe, fe = pe + Pe | 0, oe = Ue + na + (fe >>> 0 < pe >>> 0 ? 1 : 0) | 0, Ue = X, pe = ie, X = Q, ie = J, Q = K, J = $, $ = Pe + Ya | 0, K = na + qi + ($ >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
2418
2418
  }
2419
- C = y.low = C + $, y.high = O + K + (C >>> 0 < $ >>> 0 ? 1 : 0), N = _.low = N + J, _.high = h + Q + (N >>> 0 < J >>> 0 ? 1 : 0), P = b.low = P + ie, b.high = E + X + (P >>> 0 < ie >>> 0 ? 1 : 0), R = v.low = R + pe, v.high = M + Ue + (R >>> 0 < pe >>> 0 ? 1 : 0), A = T.low = A + fe, T.high = B + oe + (A >>> 0 < fe >>> 0 ? 1 : 0), W = x.low = W + _e, x.high = H + ke + (W >>> 0 < _e >>> 0 ? 1 : 0), D = S.low = D + Ce, S.high = L + Xe + (D >>> 0 < Ce >>> 0 ? 1 : 0), w = G.low = w + ea, G.high = F + Ge + (w >>> 0 < ea >>> 0 ? 1 : 0);
2419
+ C = y.low = C + $, y.high = O + K + (C >>> 0 < $ >>> 0 ? 1 : 0), N = _.low = N + J, _.high = h + Q + (N >>> 0 < J >>> 0 ? 1 : 0), P = U.low = P + ie, U.high = E + X + (P >>> 0 < ie >>> 0 ? 1 : 0), R = v.low = R + pe, v.high = M + Ue + (R >>> 0 < pe >>> 0 ? 1 : 0), A = T.low = A + fe, T.high = B + oe + (A >>> 0 < fe >>> 0 ? 1 : 0), W = x.low = W + _e, x.high = H + ke + (W >>> 0 < _e >>> 0 ? 1 : 0), D = S.low = D + Ce, S.high = L + Xe + (D >>> 0 < Ce >>> 0 ? 1 : 0), w = G.low = w + ea, G.high = F + Ge + (w >>> 0 < ea >>> 0 ? 1 : 0);
2420
2420
  },
2421
2421
  _doFinalize: function() {
2422
2422
  var m = this._data, c = m.words, d = this._nDataBytes * 8, y = m.sigBytes * 8;
@@ -2442,9 +2442,9 @@ function vr() {
2442
2442
  e.exports = n(ae(), Zi(), el());
2443
2443
  })(Cr, function(t) {
2444
2444
  return (function() {
2445
- var n = t, p = n.x64, g = p.Word, U = p.WordArray, f = n.algo, l = f.SHA512, a = f.SHA384 = l.extend({
2445
+ var n = t, p = n.x64, g = p.Word, b = p.WordArray, f = n.algo, l = f.SHA512, a = f.SHA384 = l.extend({
2446
2446
  _doReset: function() {
2447
- this._hash = new U.init([
2447
+ this._hash = new b.init([
2448
2448
  new g.init(3418070365, 3238371032),
2449
2449
  new g.init(1654270250, 914150663),
2450
2450
  new g.init(2438529370, 812702999),
@@ -2472,16 +2472,16 @@ function Tr() {
2472
2472
  e.exports = n(ae(), Zi());
2473
2473
  })(hr, function(t) {
2474
2474
  return (function(n) {
2475
- var p = t, g = p.lib, U = g.WordArray, f = g.Hasher, l = p.x64, a = l.Word, i = p.algo, s = [], o = [], u = [];
2475
+ var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.x64, a = l.Word, i = p.algo, o = [], s = [], u = [];
2476
2476
  (function() {
2477
2477
  for (var d = 1, y = 0, _ = 0; _ < 24; _++) {
2478
- s[d + 5 * y] = (_ + 1) * (_ + 2) / 2 % 64;
2479
- var b = y % 5, v = (2 * d + 3 * y) % 5;
2480
- d = b, y = v;
2478
+ o[d + 5 * y] = (_ + 1) * (_ + 2) / 2 % 64;
2479
+ var U = y % 5, v = (2 * d + 3 * y) % 5;
2480
+ d = U, y = v;
2481
2481
  }
2482
2482
  for (var d = 0; d < 5; d++)
2483
2483
  for (var y = 0; y < 5; y++)
2484
- o[d + 5 * y] = y + (2 * d + 3 * y) % 5 * 5;
2484
+ s[d + 5 * y] = y + (2 * d + 3 * y) % 5 * 5;
2485
2485
  for (var T = 1, x = 0; x < 24; x++) {
2486
2486
  for (var S = 0, G = 0, O = 0; O < 7; O++) {
2487
2487
  if (T & 1) {
@@ -2516,7 +2516,7 @@ function Tr() {
2516
2516
  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
2517
2517
  },
2518
2518
  _doProcessBlock: function(d, y) {
2519
- for (var _ = this._state, b = this.blockSize / 2, v = 0; v < b; v++) {
2519
+ for (var _ = this._state, U = this.blockSize / 2, v = 0; v < U; v++) {
2520
2520
  var T = d[y + 2 * v], x = d[y + 2 * v + 1];
2521
2521
  T = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360, x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360;
2522
2522
  var S = _[v];
@@ -2537,9 +2537,9 @@ function Tr() {
2537
2537
  S.high ^= C, S.low ^= h;
2538
2538
  }
2539
2539
  for (var A = 1; A < 25; A++) {
2540
- var C, h, S = _[A], H = S.high, W = S.low, L = s[A];
2540
+ var C, h, S = _[A], H = S.high, W = S.low, L = o[A];
2541
2541
  L < 32 ? (C = H << L | W >>> 32 - L, h = W << L | H >>> 32 - L) : (C = W << L - 32 | H >>> 64 - L, h = H << L - 32 | W >>> 64 - L);
2542
- var D = m[o[A]];
2542
+ var D = m[s[A]];
2543
2543
  D.high = C, D.low = h;
2544
2544
  }
2545
2545
  var F = m[0], w = _[0];
@@ -2556,13 +2556,13 @@ function Tr() {
2556
2556
  _doFinalize: function() {
2557
2557
  var d = this._data, y = d.words;
2558
2558
  this._nDataBytes * 8;
2559
- var _ = d.sigBytes * 8, b = this.blockSize * 32;
2560
- y[_ >>> 5] |= 1 << 24 - _ % 32, y[(n.ceil((_ + 1) / b) * b >>> 5) - 1] |= 128, d.sigBytes = y.length * 4, this._process();
2559
+ var _ = d.sigBytes * 8, U = this.blockSize * 32;
2560
+ y[_ >>> 5] |= 1 << 24 - _ % 32, y[(n.ceil((_ + 1) / U) * U >>> 5) - 1] |= 128, d.sigBytes = y.length * 4, this._process();
2561
2561
  for (var v = this._state, T = this.cfg.outputLength / 8, x = T / 8, S = [], G = 0; G < x; G++) {
2562
2562
  var O = v[G], C = O.high, h = O.low;
2563
2563
  C = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, h = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360, S.push(h), S.push(C);
2564
2564
  }
2565
- return new U.init(S, T);
2565
+ return new b.init(S, T);
2566
2566
  },
2567
2567
  clone: function() {
2568
2568
  for (var d = f.clone.call(this), y = d._state = this._state.slice(0), _ = 0; _ < 25; _++)
@@ -2582,7 +2582,7 @@ function xr() {
2582
2582
  e.exports = n(ae());
2583
2583
  })(kr, function(t) {
2584
2584
  return (function(n) {
2585
- var p = t, g = p.lib, U = g.WordArray, f = g.Hasher, l = p.algo, a = U.create([
2585
+ var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.algo, a = b.create([
2586
2586
  0,
2587
2587
  1,
2588
2588
  2,
@@ -2663,7 +2663,7 @@ function xr() {
2663
2663
  6,
2664
2664
  15,
2665
2665
  13
2666
- ]), i = U.create([
2666
+ ]), i = b.create([
2667
2667
  5,
2668
2668
  14,
2669
2669
  7,
@@ -2744,7 +2744,7 @@ function xr() {
2744
2744
  3,
2745
2745
  9,
2746
2746
  11
2747
- ]), s = U.create([
2747
+ ]), o = b.create([
2748
2748
  11,
2749
2749
  14,
2750
2750
  15,
@@ -2825,7 +2825,7 @@ function xr() {
2825
2825
  8,
2826
2826
  5,
2827
2827
  6
2828
- ]), o = U.create([
2828
+ ]), s = b.create([
2829
2829
  8,
2830
2830
  9,
2831
2831
  9,
@@ -2906,19 +2906,19 @@ function xr() {
2906
2906
  13,
2907
2907
  11,
2908
2908
  11
2909
- ]), u = U.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = U.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), c = l.RIPEMD160 = f.extend({
2909
+ ]), u = b.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = b.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), c = l.RIPEMD160 = f.extend({
2910
2910
  _doReset: function() {
2911
- this._hash = U.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2911
+ this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2912
2912
  },
2913
2913
  _doProcessBlock: function(x, S) {
2914
2914
  for (var G = 0; G < 16; G++) {
2915
2915
  var O = S + G, C = x[O];
2916
2916
  x[O] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
2917
2917
  }
2918
- var h = this._hash.words, N = u.words, E = m.words, P = a.words, M = i.words, R = s.words, B = o.words, A, H, W, L, D, F, w, K, $, Q;
2918
+ var h = this._hash.words, N = u.words, E = m.words, P = a.words, M = i.words, R = o.words, B = s.words, A, H, W, L, D, F, w, K, $, Q;
2919
2919
  F = A = h[0], w = H = h[1], K = W = h[2], $ = L = h[3], Q = D = h[4];
2920
2920
  for (var J, G = 0; G < 80; G += 1)
2921
- J = A + x[S + P[G]] | 0, G < 16 ? J += d(H, W, L) + N[0] : G < 32 ? J += y(H, W, L) + N[1] : G < 48 ? J += _(H, W, L) + N[2] : G < 64 ? J += b(H, W, L) + N[3] : J += v(H, W, L) + N[4], J = J | 0, J = T(J, R[G]), J = J + D | 0, A = D, D = L, L = T(W, 10), W = H, H = J, J = F + x[S + M[G]] | 0, G < 16 ? J += v(w, K, $) + E[0] : G < 32 ? J += b(w, K, $) + E[1] : G < 48 ? J += _(w, K, $) + E[2] : G < 64 ? J += y(w, K, $) + E[3] : J += d(w, K, $) + E[4], J = J | 0, J = T(J, B[G]), J = J + Q | 0, F = Q, Q = $, $ = T(K, 10), K = w, w = J;
2921
+ J = A + x[S + P[G]] | 0, G < 16 ? J += d(H, W, L) + N[0] : G < 32 ? J += y(H, W, L) + N[1] : G < 48 ? J += _(H, W, L) + N[2] : G < 64 ? J += U(H, W, L) + N[3] : J += v(H, W, L) + N[4], J = J | 0, J = T(J, R[G]), J = J + D | 0, A = D, D = L, L = T(W, 10), W = H, H = J, J = F + x[S + M[G]] | 0, G < 16 ? J += v(w, K, $) + E[0] : G < 32 ? J += U(w, K, $) + E[1] : G < 48 ? J += _(w, K, $) + E[2] : G < 64 ? J += y(w, K, $) + E[3] : J += d(w, K, $) + E[4], J = J | 0, J = T(J, B[G]), J = J + Q | 0, F = Q, Q = $, $ = T(K, 10), K = w, w = J;
2922
2922
  J = h[1] + W + $ | 0, h[1] = h[2] + L + Q | 0, h[2] = h[3] + D + F | 0, h[3] = h[4] + A + w | 0, h[4] = h[0] + H + K | 0, h[0] = J;
2923
2923
  },
2924
2924
  _doFinalize: function() {
@@ -2944,7 +2944,7 @@ function xr() {
2944
2944
  function _(x, S, G) {
2945
2945
  return (x | ~S) ^ G;
2946
2946
  }
2947
- function b(x, S, G) {
2947
+ function U(x, S, G) {
2948
2948
  return x & G | S & ~G;
2949
2949
  }
2950
2950
  function v(x, S, G) {
@@ -2965,7 +2965,7 @@ function dt() {
2965
2965
  e.exports = n(ae());
2966
2966
  })(Sr, function(t) {
2967
2967
  (function() {
2968
- var n = t, p = n.lib, g = p.Base, U = n.enc, f = U.Utf8, l = n.algo;
2968
+ var n = t, p = n.lib, g = p.Base, b = n.enc, f = b.Utf8, l = n.algo;
2969
2969
  l.HMAC = g.extend({
2970
2970
  /**
2971
2971
  * Initializes a newly created HMAC.
@@ -2979,11 +2979,11 @@ function dt() {
2979
2979
  */
2980
2980
  init: function(a, i) {
2981
2981
  a = this._hasher = new a.init(), typeof i == "string" && (i = f.parse(i));
2982
- var s = a.blockSize, o = s * 4;
2983
- i.sigBytes > o && (i = a.finalize(i)), i.clamp();
2984
- for (var u = this._oKey = i.clone(), m = this._iKey = i.clone(), c = u.words, d = m.words, y = 0; y < s; y++)
2982
+ var o = a.blockSize, s = o * 4;
2983
+ i.sigBytes > s && (i = a.finalize(i)), i.clamp();
2984
+ for (var u = this._oKey = i.clone(), m = this._iKey = i.clone(), c = u.words, d = m.words, y = 0; y < o; y++)
2985
2985
  c[y] ^= 1549556828, d[y] ^= 909522486;
2986
- u.sigBytes = m.sigBytes = o, this.reset();
2986
+ u.sigBytes = m.sigBytes = s, this.reset();
2987
2987
  },
2988
2988
  /**
2989
2989
  * Resets this HMAC to its initial state.
@@ -3026,10 +3026,10 @@ function dt() {
3026
3026
  * var hmac = hmacHasher.finalize(wordArray);
3027
3027
  */
3028
3028
  finalize: function(a) {
3029
- var i = this._hasher, s = i.finalize(a);
3029
+ var i = this._hasher, o = i.finalize(a);
3030
3030
  i.reset();
3031
- var o = i.finalize(this._oKey.clone().concat(s));
3032
- return o;
3031
+ var s = i.finalize(this._oKey.clone().concat(o));
3032
+ return s;
3033
3033
  }
3034
3034
  });
3035
3035
  })();
@@ -3043,7 +3043,7 @@ function Er() {
3043
3043
  e.exports = n(ae(), gt(), dt());
3044
3044
  })(Dr, function(t) {
3045
3045
  return (function() {
3046
- var n = t, p = n.lib, g = p.Base, U = p.WordArray, f = n.algo, l = f.SHA256, a = f.HMAC, i = f.PBKDF2 = g.extend({
3046
+ var n = t, p = n.lib, g = p.Base, b = p.WordArray, f = n.algo, l = f.SHA256, a = f.HMAC, i = f.PBKDF2 = g.extend({
3047
3047
  /**
3048
3048
  * Configuration options.
3049
3049
  *
@@ -3067,8 +3067,8 @@ function Er() {
3067
3067
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
3068
3068
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
3069
3069
  */
3070
- init: function(s) {
3071
- this.cfg = this.cfg.extend(s);
3070
+ init: function(o) {
3071
+ this.cfg = this.cfg.extend(o);
3072
3072
  },
3073
3073
  /**
3074
3074
  * Computes the Password-Based Key Derivation Function 2.
@@ -3082,9 +3082,9 @@ function Er() {
3082
3082
  *
3083
3083
  * var key = kdf.compute(password, salt);
3084
3084
  */
3085
- compute: function(s, o) {
3086
- for (var u = this.cfg, m = a.create(u.hasher, s), c = U.create(), d = U.create([1]), y = c.words, _ = d.words, b = u.keySize, v = u.iterations; y.length < b; ) {
3087
- var T = m.update(o).finalize(d);
3085
+ compute: function(o, s) {
3086
+ for (var u = this.cfg, m = a.create(u.hasher, o), c = b.create(), d = b.create([1]), y = c.words, _ = d.words, U = u.keySize, v = u.iterations; y.length < U; ) {
3087
+ var T = m.update(s).finalize(d);
3088
3088
  m.reset();
3089
3089
  for (var x = T.words, S = x.length, G = T, O = 1; O < v; O++) {
3090
3090
  G = m.finalize(G), m.reset();
@@ -3093,11 +3093,11 @@ function Er() {
3093
3093
  }
3094
3094
  c.concat(T), _[0]++;
3095
3095
  }
3096
- return c.sigBytes = b * 4, c;
3096
+ return c.sigBytes = U * 4, c;
3097
3097
  }
3098
3098
  });
3099
- n.PBKDF2 = function(s, o, u) {
3100
- return i.create(u).compute(s, o);
3099
+ n.PBKDF2 = function(o, s, u) {
3100
+ return i.create(u).compute(o, s);
3101
3101
  };
3102
3102
  })(), t.PBKDF2;
3103
3103
  });
@@ -3110,7 +3110,7 @@ function ya() {
3110
3110
  e.exports = n(ae(), Xn(), dt());
3111
3111
  })(Nr, function(t) {
3112
3112
  return (function() {
3113
- var n = t, p = n.lib, g = p.Base, U = p.WordArray, f = n.algo, l = f.MD5, a = f.EvpKDF = g.extend({
3113
+ var n = t, p = n.lib, g = p.Base, b = p.WordArray, f = n.algo, l = f.MD5, a = f.EvpKDF = g.extend({
3114
3114
  /**
3115
3115
  * Configuration options.
3116
3116
  *
@@ -3149,18 +3149,18 @@ function ya() {
3149
3149
  *
3150
3150
  * var key = kdf.compute(password, salt);
3151
3151
  */
3152
- compute: function(i, s) {
3153
- for (var o, u = this.cfg, m = u.hasher.create(), c = U.create(), d = c.words, y = u.keySize, _ = u.iterations; d.length < y; ) {
3154
- o && m.update(o), o = m.update(i).finalize(s), m.reset();
3155
- for (var b = 1; b < _; b++)
3156
- o = m.finalize(o), m.reset();
3157
- c.concat(o);
3152
+ compute: function(i, o) {
3153
+ for (var s, u = this.cfg, m = u.hasher.create(), c = b.create(), d = c.words, y = u.keySize, _ = u.iterations; d.length < y; ) {
3154
+ s && m.update(s), s = m.update(i).finalize(o), m.reset();
3155
+ for (var U = 1; U < _; U++)
3156
+ s = m.finalize(s), m.reset();
3157
+ c.concat(s);
3158
3158
  }
3159
3159
  return c.sigBytes = y * 4, c;
3160
3160
  }
3161
3161
  });
3162
- n.EvpKDF = function(i, s, o) {
3163
- return a.create(o).compute(i, s);
3162
+ n.EvpKDF = function(i, o, s) {
3163
+ return a.create(s).compute(i, o);
3164
3164
  };
3165
3165
  })(), t.EvpKDF;
3166
3166
  });
@@ -3173,15 +3173,15 @@ function Ne() {
3173
3173
  e.exports = n(ae(), ya());
3174
3174
  })(Lr, function(t) {
3175
3175
  t.lib.Cipher || (function(n) {
3176
- var p = t, g = p.lib, U = g.Base, f = g.WordArray, l = g.BufferedBlockAlgorithm, a = p.enc;
3176
+ var p = t, g = p.lib, b = g.Base, f = g.WordArray, l = g.BufferedBlockAlgorithm, a = p.enc;
3177
3177
  a.Utf8;
3178
- var i = a.Base64, s = p.algo, o = s.EvpKDF, u = g.Cipher = l.extend({
3178
+ var i = a.Base64, o = p.algo, s = o.EvpKDF, u = g.Cipher = l.extend({
3179
3179
  /**
3180
3180
  * Configuration options.
3181
3181
  *
3182
3182
  * @property {WordArray} iv The IV to use for this operation.
3183
3183
  */
3184
- cfg: U.extend(),
3184
+ cfg: b.extend(),
3185
3185
  /**
3186
3186
  * Creates this cipher in encryption mode.
3187
3187
  *
@@ -3314,7 +3314,7 @@ function Ne() {
3314
3314
  },
3315
3315
  blockSize: 1
3316
3316
  });
3317
- var m = p.mode = {}, c = g.BlockCipherMode = U.extend({
3317
+ var m = p.mode = {}, c = g.BlockCipherMode = b.extend({
3318
3318
  /**
3319
3319
  * Creates this mode for encryption.
3320
3320
  *
@@ -3459,7 +3459,7 @@ function Ne() {
3459
3459
  },
3460
3460
  blockSize: 128 / 32
3461
3461
  });
3462
- var b = g.CipherParams = U.extend({
3462
+ var U = g.CipherParams = b.extend({
3463
3463
  /**
3464
3464
  * Initializes a newly created cipher params object.
3465
3465
  *
@@ -3533,15 +3533,15 @@ function Ne() {
3533
3533
  */
3534
3534
  parse: function(C) {
3535
3535
  var h, N = i.parse(C), E = N.words;
3536
- return E[0] == 1398893684 && E[1] == 1701076831 && (h = f.create(E.slice(2, 4)), E.splice(0, 4), N.sigBytes -= 16), b.create({ ciphertext: N, salt: h });
3536
+ return E[0] == 1398893684 && E[1] == 1701076831 && (h = f.create(E.slice(2, 4)), E.splice(0, 4), N.sigBytes -= 16), U.create({ ciphertext: N, salt: h });
3537
3537
  }
3538
- }, x = g.SerializableCipher = U.extend({
3538
+ }, x = g.SerializableCipher = b.extend({
3539
3539
  /**
3540
3540
  * Configuration options.
3541
3541
  *
3542
3542
  * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
3543
3543
  */
3544
- cfg: U.extend({
3544
+ cfg: b.extend({
3545
3545
  format: T
3546
3546
  }),
3547
3547
  /**
@@ -3565,7 +3565,7 @@ function Ne() {
3565
3565
  encrypt: function(C, h, N, E) {
3566
3566
  E = this.cfg.extend(E);
3567
3567
  var P = C.createEncryptor(N, E), M = P.finalize(h), R = P.cfg;
3568
- return b.create({
3568
+ return U.create({
3569
3569
  ciphertext: M,
3570
3570
  key: N,
3571
3571
  iv: R.iv,
@@ -3636,11 +3636,11 @@ function Ne() {
3636
3636
  */
3637
3637
  execute: function(C, h, N, E, P) {
3638
3638
  if (E || (E = f.random(64 / 8)), P)
3639
- var M = o.create({ keySize: h + N, hasher: P }).compute(C, E);
3639
+ var M = s.create({ keySize: h + N, hasher: P }).compute(C, E);
3640
3640
  else
3641
- var M = o.create({ keySize: h + N }).compute(C, E);
3641
+ var M = s.create({ keySize: h + N }).compute(C, E);
3642
3642
  var R = f.create(M.words.slice(h), N * 4);
3643
- return M.sigBytes = h * 4, b.create({ key: M, iv: R, salt: E });
3643
+ return M.sigBytes = h * 4, U.create({ key: M, iv: R, salt: E });
3644
3644
  }
3645
3645
  }, O = g.PasswordBasedCipher = x.extend({
3646
3646
  /**
@@ -3713,21 +3713,21 @@ function Mr() {
3713
3713
  return t.mode.CFB = (function() {
3714
3714
  var n = t.lib.BlockCipherMode.extend();
3715
3715
  n.Encryptor = n.extend({
3716
- processBlock: function(g, U) {
3716
+ processBlock: function(g, b) {
3717
3717
  var f = this._cipher, l = f.blockSize;
3718
- p.call(this, g, U, l, f), this._prevBlock = g.slice(U, U + l);
3718
+ p.call(this, g, b, l, f), this._prevBlock = g.slice(b, b + l);
3719
3719
  }
3720
3720
  }), n.Decryptor = n.extend({
3721
- processBlock: function(g, U) {
3722
- var f = this._cipher, l = f.blockSize, a = g.slice(U, U + l);
3723
- p.call(this, g, U, l, f), this._prevBlock = a;
3721
+ processBlock: function(g, b) {
3722
+ var f = this._cipher, l = f.blockSize, a = g.slice(b, b + l);
3723
+ p.call(this, g, b, l, f), this._prevBlock = a;
3724
3724
  }
3725
3725
  });
3726
- function p(g, U, f, l) {
3726
+ function p(g, b, f, l) {
3727
3727
  var a, i = this._iv;
3728
3728
  i ? (a = i.slice(0), this._iv = void 0) : a = this._prevBlock, l.encryptBlock(a, 0);
3729
- for (var s = 0; s < f; s++)
3730
- g[U + s] ^= a[s];
3729
+ for (var o = 0; o < f; o++)
3730
+ g[b + o] ^= a[o];
3731
3731
  }
3732
3732
  return n;
3733
3733
  })(), t.mode.CFB;
@@ -3742,13 +3742,13 @@ function Pr() {
3742
3742
  })(Rr, function(t) {
3743
3743
  return t.mode.CTR = (function() {
3744
3744
  var n = t.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
3745
- processBlock: function(g, U) {
3745
+ processBlock: function(g, b) {
3746
3746
  var f = this._cipher, l = f.blockSize, a = this._iv, i = this._counter;
3747
3747
  a && (i = this._counter = a.slice(0), this._iv = void 0);
3748
- var s = i.slice(0);
3749
- f.encryptBlock(s, 0), i[l - 1] = i[l - 1] + 1 | 0;
3750
- for (var o = 0; o < l; o++)
3751
- g[U + o] ^= s[o];
3748
+ var o = i.slice(0);
3749
+ f.encryptBlock(o, 0), i[l - 1] = i[l - 1] + 1 | 0;
3750
+ for (var s = 0; s < l; s++)
3751
+ g[b + s] ^= o[s];
3752
3752
  }
3753
3753
  });
3754
3754
  return n.Decryptor = p, n;
@@ -3775,17 +3775,17 @@ function wr() {
3775
3775
  function g(f) {
3776
3776
  return (f[0] = p(f[0])) === 0 && (f[1] = p(f[1])), f;
3777
3777
  }
3778
- var U = n.Encryptor = n.extend({
3778
+ var b = n.Encryptor = n.extend({
3779
3779
  processBlock: function(f, l) {
3780
- var a = this._cipher, i = a.blockSize, s = this._iv, o = this._counter;
3781
- s && (o = this._counter = s.slice(0), this._iv = void 0), g(o);
3782
- var u = o.slice(0);
3780
+ var a = this._cipher, i = a.blockSize, o = this._iv, s = this._counter;
3781
+ o && (s = this._counter = o.slice(0), this._iv = void 0), g(s);
3782
+ var u = s.slice(0);
3783
3783
  a.encryptBlock(u, 0);
3784
3784
  for (var m = 0; m < i; m++)
3785
3785
  f[l + m] ^= u[m];
3786
3786
  }
3787
3787
  });
3788
- return n.Decryptor = U, n;
3788
+ return n.Decryptor = b, n;
3789
3789
  })(), t.mode.CTRGladman;
3790
3790
  });
3791
3791
  })(xi)), xi.exports;
@@ -3798,11 +3798,11 @@ function Or() {
3798
3798
  })(Ar, function(t) {
3799
3799
  return t.mode.OFB = (function() {
3800
3800
  var n = t.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
3801
- processBlock: function(g, U) {
3801
+ processBlock: function(g, b) {
3802
3802
  var f = this._cipher, l = f.blockSize, a = this._iv, i = this._keystream;
3803
3803
  a && (i = this._keystream = a.slice(0), this._iv = void 0), f.encryptBlock(i, 0);
3804
- for (var s = 0; s < l; s++)
3805
- g[U + s] ^= i[s];
3804
+ for (var o = 0; o < l; o++)
3805
+ g[b + o] ^= i[o];
3806
3806
  }
3807
3807
  });
3808
3808
  return n.Decryptor = p, n;
@@ -3839,7 +3839,7 @@ function zr() {
3839
3839
  })(Wr, function(t) {
3840
3840
  return t.pad.AnsiX923 = {
3841
3841
  pad: function(n, p) {
3842
- var g = n.sigBytes, U = p * 4, f = U - g % U, l = g + f - 1;
3842
+ var g = n.sigBytes, b = p * 4, f = b - g % b, l = g + f - 1;
3843
3843
  n.clamp(), n.words[l >>> 2] |= f << 24 - l % 4 * 8, n.sigBytes += f;
3844
3844
  },
3845
3845
  unpad: function(n) {
@@ -3858,8 +3858,8 @@ function Vr() {
3858
3858
  })(Ir, function(t) {
3859
3859
  return t.pad.Iso10126 = {
3860
3860
  pad: function(n, p) {
3861
- var g = p * 4, U = g - n.sigBytes % g;
3862
- n.concat(t.lib.WordArray.random(U - 1)).concat(t.lib.WordArray.create([U << 24], 1));
3861
+ var g = p * 4, b = g - n.sigBytes % g;
3862
+ n.concat(t.lib.WordArray.random(b - 1)).concat(t.lib.WordArray.create([b << 24], 1));
3863
3863
  },
3864
3864
  unpad: function(n) {
3865
3865
  var p = n.words[n.sigBytes - 1 >>> 2] & 255;
@@ -3930,7 +3930,7 @@ function Yr() {
3930
3930
  e.exports = n(ae(), Ne());
3931
3931
  })(jr, function(t) {
3932
3932
  return (function(n) {
3933
- var p = t, g = p.lib, U = g.CipherParams, f = p.enc, l = f.Hex, a = p.format;
3933
+ var p = t, g = p.lib, b = g.CipherParams, f = p.enc, l = f.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.
@@ -3962,8 +3962,8 @@ function Yr() {
3962
3962
  * var cipherParams = CryptoJS.format.Hex.parse(hexString);
3963
3963
  */
3964
3964
  parse: function(i) {
3965
- var s = l.parse(i);
3966
- return U.create({ ciphertext: s });
3965
+ var o = l.parse(i);
3966
+ return b.create({ ciphertext: o });
3967
3967
  }
3968
3968
  };
3969
3969
  })(), t.format.Hex;
@@ -3977,51 +3977,51 @@ function eo() {
3977
3977
  e.exports = n(ae(), Sa(), Da(), ya(), Ne());
3978
3978
  })(Xr, function(t) {
3979
3979
  return (function() {
3980
- var n = t, p = n.lib, g = p.BlockCipher, U = n.algo, f = [], l = [], a = [], i = [], s = [], o = [], u = [], m = [], c = [], d = [];
3980
+ var n = t, p = n.lib, g = p.BlockCipher, b = n.algo, f = [], l = [], a = [], i = [], o = [], s = [], u = [], m = [], c = [], d = [];
3981
3981
  (function() {
3982
- for (var b = [], v = 0; v < 256; v++)
3983
- v < 128 ? b[v] = v << 1 : b[v] = v << 1 ^ 283;
3982
+ for (var U = [], v = 0; v < 256; v++)
3983
+ v < 128 ? U[v] = v << 1 : U[v] = v << 1 ^ 283;
3984
3984
  for (var T = 0, x = 0, v = 0; v < 256; v++) {
3985
3985
  var S = x ^ x << 1 ^ x << 2 ^ x << 3 ^ x << 4;
3986
3986
  S = S >>> 8 ^ S & 255 ^ 99, f[T] = S, l[S] = T;
3987
- var G = b[T], O = b[G], C = b[O], h = b[S] * 257 ^ S * 16843008;
3988
- a[T] = h << 24 | h >>> 8, i[T] = h << 16 | h >>> 16, s[T] = h << 8 | h >>> 24, o[T] = h;
3987
+ var G = U[T], O = U[G], C = U[O], h = U[S] * 257 ^ S * 16843008;
3988
+ a[T] = h << 24 | h >>> 8, i[T] = h << 16 | h >>> 16, o[T] = h << 8 | h >>> 24, s[T] = h;
3989
3989
  var h = C * 16843009 ^ O * 65537 ^ G * 257 ^ T * 16843008;
3990
- u[S] = h << 24 | h >>> 8, m[S] = h << 16 | h >>> 16, c[S] = h << 8 | h >>> 24, d[S] = h, T ? (T = G ^ b[b[b[C ^ G]]], x ^= b[b[x]]) : T = x = 1;
3990
+ u[S] = h << 24 | h >>> 8, m[S] = h << 16 | h >>> 16, c[S] = h << 8 | h >>> 24, d[S] = h, T ? (T = G ^ U[U[U[C ^ G]]], x ^= U[U[x]]) : T = x = 1;
3991
3991
  }
3992
3992
  })();
3993
- var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], _ = U.AES = g.extend({
3993
+ var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], _ = b.AES = g.extend({
3994
3994
  _doReset: function() {
3995
- var b;
3995
+ var U;
3996
3996
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
3997
3997
  for (var v = this._keyPriorReset = this._key, T = v.words, x = v.sigBytes / 4, S = this._nRounds = x + 6, G = (S + 1) * 4, O = this._keySchedule = [], C = 0; C < G; C++)
3998
- C < x ? O[C] = T[C] : (b = O[C - 1], C % x ? x > 6 && C % x == 4 && (b = f[b >>> 24] << 24 | f[b >>> 16 & 255] << 16 | f[b >>> 8 & 255] << 8 | f[b & 255]) : (b = b << 8 | b >>> 24, b = f[b >>> 24] << 24 | f[b >>> 16 & 255] << 16 | f[b >>> 8 & 255] << 8 | f[b & 255], b ^= y[C / x | 0] << 24), O[C] = O[C - x] ^ b);
3998
+ C < x ? O[C] = T[C] : (U = O[C - 1], C % x ? x > 6 && C % x == 4 && (U = f[U >>> 24] << 24 | f[U >>> 16 & 255] << 16 | f[U >>> 8 & 255] << 8 | f[U & 255]) : (U = U << 8 | U >>> 24, U = f[U >>> 24] << 24 | f[U >>> 16 & 255] << 16 | f[U >>> 8 & 255] << 8 | f[U & 255], U ^= y[C / x | 0] << 24), O[C] = O[C - x] ^ U);
3999
3999
  for (var h = this._invKeySchedule = [], N = 0; N < G; N++) {
4000
4000
  var C = G - N;
4001
4001
  if (N % 4)
4002
- var b = O[C];
4002
+ var U = O[C];
4003
4003
  else
4004
- var b = O[C - 4];
4005
- N < 4 || C <= 4 ? h[N] = b : h[N] = u[f[b >>> 24]] ^ m[f[b >>> 16 & 255]] ^ c[f[b >>> 8 & 255]] ^ d[f[b & 255]];
4004
+ var U = O[C - 4];
4005
+ N < 4 || C <= 4 ? h[N] = U : h[N] = u[f[U >>> 24]] ^ m[f[U >>> 16 & 255]] ^ c[f[U >>> 8 & 255]] ^ d[f[U & 255]];
4006
4006
  }
4007
4007
  }
4008
4008
  },
4009
- encryptBlock: function(b, v) {
4010
- this._doCryptBlock(b, v, this._keySchedule, a, i, s, o, f);
4009
+ encryptBlock: function(U, v) {
4010
+ this._doCryptBlock(U, v, this._keySchedule, a, i, o, s, f);
4011
4011
  },
4012
- decryptBlock: function(b, v) {
4013
- var T = b[v + 1];
4014
- b[v + 1] = b[v + 3], b[v + 3] = T, this._doCryptBlock(b, v, this._invKeySchedule, u, m, c, d, l);
4015
- var T = b[v + 1];
4016
- b[v + 1] = b[v + 3], b[v + 3] = T;
4012
+ decryptBlock: function(U, v) {
4013
+ var T = U[v + 1];
4014
+ U[v + 1] = U[v + 3], U[v + 3] = T, this._doCryptBlock(U, v, this._invKeySchedule, u, m, c, d, l);
4015
+ var T = U[v + 1];
4016
+ U[v + 1] = U[v + 3], U[v + 3] = T;
4017
4017
  },
4018
- _doCryptBlock: function(b, v, T, x, S, G, O, C) {
4019
- for (var h = this._nRounds, N = b[v] ^ T[0], E = b[v + 1] ^ T[1], P = b[v + 2] ^ T[2], M = b[v + 3] ^ T[3], R = 4, B = 1; B < h; B++) {
4018
+ _doCryptBlock: function(U, v, T, x, S, G, O, C) {
4019
+ for (var h = this._nRounds, N = U[v] ^ T[0], E = U[v + 1] ^ T[1], P = U[v + 2] ^ T[2], M = U[v + 3] ^ T[3], R = 4, B = 1; B < h; B++) {
4020
4020
  var A = x[N >>> 24] ^ S[E >>> 16 & 255] ^ G[P >>> 8 & 255] ^ O[M & 255] ^ T[R++], H = x[E >>> 24] ^ S[P >>> 16 & 255] ^ G[M >>> 8 & 255] ^ O[N & 255] ^ T[R++], W = x[P >>> 24] ^ S[M >>> 16 & 255] ^ G[N >>> 8 & 255] ^ O[E & 255] ^ T[R++], L = x[M >>> 24] ^ S[N >>> 16 & 255] ^ G[E >>> 8 & 255] ^ O[P & 255] ^ T[R++];
4021
4021
  N = A, E = H, P = W, M = L;
4022
4022
  }
4023
4023
  var A = (C[N >>> 24] << 24 | C[E >>> 16 & 255] << 16 | C[P >>> 8 & 255] << 8 | C[M & 255]) ^ T[R++], H = (C[E >>> 24] << 24 | C[P >>> 16 & 255] << 16 | C[M >>> 8 & 255] << 8 | C[N & 255]) ^ T[R++], W = (C[P >>> 24] << 24 | C[M >>> 16 & 255] << 16 | C[N >>> 8 & 255] << 8 | C[E & 255]) ^ T[R++], L = (C[M >>> 24] << 24 | C[N >>> 16 & 255] << 16 | C[E >>> 8 & 255] << 8 | C[P & 255]) ^ T[R++];
4024
- b[v] = A, b[v + 1] = H, b[v + 2] = W, b[v + 3] = L;
4024
+ U[v] = A, U[v + 1] = H, U[v + 2] = W, U[v + 3] = L;
4025
4025
  },
4026
4026
  keySize: 256 / 32
4027
4027
  });
@@ -4037,7 +4037,7 @@ function io() {
4037
4037
  e.exports = n(ae(), Sa(), Da(), ya(), Ne());
4038
4038
  })(ao, function(t) {
4039
4039
  return (function() {
4040
- var n = t, p = n.lib, g = p.WordArray, U = p.BlockCipher, f = n.algo, l = [
4040
+ var n = t, p = n.lib, g = p.WordArray, b = p.BlockCipher, f = n.algo, l = [
4041
4041
  57,
4042
4042
  49,
4043
4043
  41,
@@ -4143,7 +4143,7 @@ function io() {
4143
4143
  36,
4144
4144
  29,
4145
4145
  32
4146
- ], i = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], s = [
4146
+ ], i = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], o = [
4147
4147
  {
4148
4148
  0: 8421888,
4149
4149
  268435456: 32768,
@@ -4672,7 +4672,7 @@ function io() {
4672
4672
  2147483678: 131104,
4673
4673
  2147483679: 134350848
4674
4674
  }
4675
- ], o = [
4675
+ ], s = [
4676
4676
  4160749569,
4677
4677
  528482304,
4678
4678
  33030144,
@@ -4681,15 +4681,15 @@ function io() {
4681
4681
  8064,
4682
4682
  504,
4683
4683
  2147483679
4684
- ], u = f.DES = U.extend({
4684
+ ], u = f.DES = b.extend({
4685
4685
  _doReset: function() {
4686
- for (var y = this._key, _ = y.words, b = [], v = 0; v < 56; v++) {
4686
+ for (var y = this._key, _ = y.words, U = [], v = 0; v < 56; v++) {
4687
4687
  var T = l[v] - 1;
4688
- b[v] = _[T >>> 5] >>> 31 - T % 32 & 1;
4688
+ U[v] = _[T >>> 5] >>> 31 - T % 32 & 1;
4689
4689
  }
4690
4690
  for (var x = this._subKeys = [], S = 0; S < 16; S++) {
4691
4691
  for (var G = x[S] = [], O = i[S], v = 0; v < 24; v++)
4692
- G[v / 6 | 0] |= b[(a[v] - 1 + O) % 28] << 31 - v % 6, G[4 + (v / 6 | 0)] |= b[28 + (a[v + 24] - 1 + O) % 28] << 31 - v % 6;
4692
+ G[v / 6 | 0] |= U[(a[v] - 1 + O) % 28] << 31 - v % 6, G[4 + (v / 6 | 0)] |= U[28 + (a[v + 24] - 1 + O) % 28] << 31 - v % 6;
4693
4693
  G[0] = G[0] << 1 | G[0] >>> 31;
4694
4694
  for (var v = 1; v < 7; v++)
4695
4695
  G[v] = G[v] >>> (v - 1) * 4 + 3;
@@ -4704,11 +4704,11 @@ function io() {
4704
4704
  decryptBlock: function(y, _) {
4705
4705
  this._doCryptBlock(y, _, this._invSubKeys);
4706
4706
  },
4707
- _doCryptBlock: function(y, _, b) {
4707
+ _doCryptBlock: function(y, _, U) {
4708
4708
  this._lBlock = y[_], this._rBlock = y[_ + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), c.call(this, 2, 858993459), c.call(this, 8, 16711935), m.call(this, 1, 1431655765);
4709
4709
  for (var v = 0; v < 16; v++) {
4710
- for (var T = b[v], x = this._lBlock, S = this._rBlock, G = 0, O = 0; O < 8; O++)
4711
- G |= s[O][((S ^ T[O]) & o[O]) >>> 0];
4710
+ for (var T = U[v], x = this._lBlock, S = this._rBlock, G = 0, O = 0; O < 8; O++)
4711
+ G |= o[O][((S ^ T[O]) & s[O]) >>> 0];
4712
4712
  this._lBlock = S, this._rBlock = x ^ G;
4713
4713
  }
4714
4714
  var C = this._lBlock;
@@ -4719,21 +4719,21 @@ function io() {
4719
4719
  blockSize: 64 / 32
4720
4720
  });
4721
4721
  function m(y, _) {
4722
- var b = (this._lBlock >>> y ^ this._rBlock) & _;
4723
- this._rBlock ^= b, this._lBlock ^= b << y;
4722
+ var U = (this._lBlock >>> y ^ this._rBlock) & _;
4723
+ this._rBlock ^= U, this._lBlock ^= U << y;
4724
4724
  }
4725
4725
  function c(y, _) {
4726
- var b = (this._rBlock >>> y ^ this._lBlock) & _;
4727
- this._lBlock ^= b, this._rBlock ^= b << y;
4726
+ var U = (this._rBlock >>> y ^ this._lBlock) & _;
4727
+ this._lBlock ^= U, this._rBlock ^= U << y;
4728
4728
  }
4729
- n.DES = U._createHelper(u);
4730
- var d = f.TripleDES = U.extend({
4729
+ n.DES = b._createHelper(u);
4730
+ var d = f.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
- var b = _.slice(0, 2), v = _.length < 4 ? _.slice(0, 2) : _.slice(2, 4), T = _.length < 6 ? _.slice(0, 2) : _.slice(4, 6);
4736
- this._des1 = u.createEncryptor(g.create(b)), this._des2 = u.createEncryptor(g.create(v)), this._des3 = u.createEncryptor(g.create(T));
4735
+ var U = _.slice(0, 2), v = _.length < 4 ? _.slice(0, 2) : _.slice(2, 4), T = _.length < 6 ? _.slice(0, 2) : _.slice(4, 6);
4736
+ this._des1 = u.createEncryptor(g.create(U)), this._des2 = u.createEncryptor(g.create(v)), this._des3 = u.createEncryptor(g.create(T));
4737
4737
  },
4738
4738
  encryptBlock: function(y, _) {
4739
4739
  this._des1.encryptBlock(y, _), this._des2.decryptBlock(y, _), this._des3.encryptBlock(y, _);
@@ -4745,7 +4745,7 @@ function io() {
4745
4745
  ivSize: 64 / 32,
4746
4746
  blockSize: 64 / 32
4747
4747
  });
4748
- n.TripleDES = U._createHelper(d);
4748
+ n.TripleDES = b._createHelper(d);
4749
4749
  })(), t.TripleDES;
4750
4750
  });
4751
4751
  })(Fi)), Fi.exports;
@@ -4757,34 +4757,34 @@ function no() {
4757
4757
  e.exports = n(ae(), Sa(), Da(), ya(), Ne());
4758
4758
  })(to, function(t) {
4759
4759
  return (function() {
4760
- var n = t, p = n.lib, g = p.StreamCipher, U = n.algo, f = U.RC4 = g.extend({
4760
+ var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = b.RC4 = g.extend({
4761
4761
  _doReset: function() {
4762
- for (var i = this._key, s = i.words, o = i.sigBytes, u = this._S = [], m = 0; m < 256; m++)
4762
+ for (var i = this._key, o = i.words, s = i.sigBytes, u = this._S = [], m = 0; m < 256; m++)
4763
4763
  u[m] = m;
4764
4764
  for (var m = 0, c = 0; m < 256; m++) {
4765
- var d = m % o, y = s[d >>> 2] >>> 24 - d % 4 * 8 & 255;
4765
+ var d = m % s, y = o[d >>> 2] >>> 24 - d % 4 * 8 & 255;
4766
4766
  c = (c + u[m] + y) % 256;
4767
4767
  var _ = u[m];
4768
4768
  u[m] = u[c], u[c] = _;
4769
4769
  }
4770
4770
  this._i = this._j = 0;
4771
4771
  },
4772
- _doProcessBlock: function(i, s) {
4773
- i[s] ^= l.call(this);
4772
+ _doProcessBlock: function(i, o) {
4773
+ i[o] ^= l.call(this);
4774
4774
  },
4775
4775
  keySize: 256 / 32,
4776
4776
  ivSize: 0
4777
4777
  });
4778
4778
  function l() {
4779
- for (var i = this._S, s = this._i, o = this._j, u = 0, m = 0; m < 4; m++) {
4780
- s = (s + 1) % 256, o = (o + i[s]) % 256;
4781
- var c = i[s];
4782
- i[s] = i[o], i[o] = c, u |= i[(i[s] + i[o]) % 256] << 24 - m * 8;
4779
+ for (var i = this._S, o = this._i, s = this._j, u = 0, m = 0; m < 4; m++) {
4780
+ o = (o + 1) % 256, s = (s + i[o]) % 256;
4781
+ var c = i[o];
4782
+ i[o] = i[s], i[s] = c, u |= i[(i[o] + i[s]) % 256] << 24 - m * 8;
4783
4783
  }
4784
- return this._i = s, this._j = o, u;
4784
+ return this._i = o, this._j = s, u;
4785
4785
  }
4786
4786
  n.RC4 = g._createHelper(f);
4787
- var a = U.RC4Drop = f.extend({
4787
+ var a = b.RC4Drop = f.extend({
4788
4788
  /**
4789
4789
  * Configuration options.
4790
4790
  *
@@ -4811,59 +4811,59 @@ function ro() {
4811
4811
  e.exports = n(ae(), Sa(), Da(), ya(), Ne());
4812
4812
  })(lo, function(t) {
4813
4813
  return (function() {
4814
- var n = t, p = n.lib, g = p.StreamCipher, U = n.algo, f = [], l = [], a = [], i = U.Rabbit = g.extend({
4814
+ var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], l = [], a = [], i = b.Rabbit = g.extend({
4815
4815
  _doReset: function() {
4816
- for (var o = this._key.words, u = this.cfg.iv, m = 0; m < 4; m++)
4817
- o[m] = (o[m] << 8 | o[m] >>> 24) & 16711935 | (o[m] << 24 | o[m] >>> 8) & 4278255360;
4816
+ for (var s = this._key.words, u = this.cfg.iv, m = 0; m < 4; m++)
4817
+ s[m] = (s[m] << 8 | s[m] >>> 24) & 16711935 | (s[m] << 24 | s[m] >>> 8) & 4278255360;
4818
4818
  var c = this._X = [
4819
- o[0],
4820
- o[3] << 16 | o[2] >>> 16,
4821
- o[1],
4822
- o[0] << 16 | o[3] >>> 16,
4823
- o[2],
4824
- o[1] << 16 | o[0] >>> 16,
4825
- o[3],
4826
- o[2] << 16 | o[1] >>> 16
4819
+ s[0],
4820
+ s[3] << 16 | s[2] >>> 16,
4821
+ s[1],
4822
+ s[0] << 16 | s[3] >>> 16,
4823
+ s[2],
4824
+ s[1] << 16 | s[0] >>> 16,
4825
+ s[3],
4826
+ s[2] << 16 | s[1] >>> 16
4827
4827
  ], d = this._C = [
4828
- o[2] << 16 | o[2] >>> 16,
4829
- o[0] & 4294901760 | o[1] & 65535,
4830
- o[3] << 16 | o[3] >>> 16,
4831
- o[1] & 4294901760 | o[2] & 65535,
4832
- o[0] << 16 | o[0] >>> 16,
4833
- o[2] & 4294901760 | o[3] & 65535,
4834
- o[1] << 16 | o[1] >>> 16,
4835
- o[3] & 4294901760 | o[0] & 65535
4828
+ s[2] << 16 | s[2] >>> 16,
4829
+ s[0] & 4294901760 | s[1] & 65535,
4830
+ s[3] << 16 | s[3] >>> 16,
4831
+ s[1] & 4294901760 | s[2] & 65535,
4832
+ s[0] << 16 | s[0] >>> 16,
4833
+ s[2] & 4294901760 | s[3] & 65535,
4834
+ s[1] << 16 | s[1] >>> 16,
4835
+ s[3] & 4294901760 | s[0] & 65535
4836
4836
  ];
4837
4837
  this._b = 0;
4838
4838
  for (var m = 0; m < 4; m++)
4839
- s.call(this);
4839
+ o.call(this);
4840
4840
  for (var m = 0; m < 8; m++)
4841
4841
  d[m] ^= c[m + 4 & 7];
4842
4842
  if (u) {
4843
- var y = u.words, _ = y[0], b = y[1], v = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, T = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, x = v >>> 16 | T & 4294901760, S = T << 16 | v & 65535;
4843
+ var y = u.words, _ = y[0], U = y[1], v = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, T = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = v >>> 16 | T & 4294901760, S = T << 16 | v & 65535;
4844
4844
  d[0] ^= v, d[1] ^= x, d[2] ^= T, d[3] ^= S, d[4] ^= v, d[5] ^= x, d[6] ^= T, d[7] ^= S;
4845
4845
  for (var m = 0; m < 4; m++)
4846
- s.call(this);
4846
+ o.call(this);
4847
4847
  }
4848
4848
  },
4849
- _doProcessBlock: function(o, u) {
4849
+ _doProcessBlock: function(s, u) {
4850
4850
  var m = this._X;
4851
- s.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4851
+ o.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4852
4852
  for (var c = 0; c < 4; c++)
4853
- f[c] = (f[c] << 8 | f[c] >>> 24) & 16711935 | (f[c] << 24 | f[c] >>> 8) & 4278255360, o[u + c] ^= f[c];
4853
+ f[c] = (f[c] << 8 | f[c] >>> 24) & 16711935 | (f[c] << 24 | f[c] >>> 8) & 4278255360, s[u + c] ^= f[c];
4854
4854
  },
4855
4855
  blockSize: 128 / 32,
4856
4856
  ivSize: 64 / 32
4857
4857
  });
4858
- function s() {
4859
- for (var o = this._X, u = this._C, m = 0; m < 8; m++)
4858
+ function o() {
4859
+ for (var s = this._X, u = this._C, m = 0; m < 8; m++)
4860
4860
  l[m] = u[m];
4861
4861
  u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < l[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < l[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < l[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < l[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < l[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < l[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < l[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < l[7] >>> 0 ? 1 : 0;
4862
4862
  for (var m = 0; m < 8; m++) {
4863
- var c = o[m] + u[m], d = c & 65535, y = c >>> 16, _ = ((d * d >>> 17) + d * y >>> 15) + y * y, b = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4864
- a[m] = _ ^ b;
4863
+ var c = s[m] + u[m], d = c & 65535, y = c >>> 16, _ = ((d * d >>> 17) + d * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4864
+ a[m] = _ ^ U;
4865
4865
  }
4866
- o[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, o[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, o[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, o[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, o[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, o[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, o[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, o[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
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;
4867
4867
  }
4868
4868
  n.Rabbit = g._createHelper(i);
4869
4869
  })(), t.Rabbit;
@@ -4877,57 +4877,57 @@ function so() {
4877
4877
  e.exports = n(ae(), Sa(), Da(), ya(), Ne());
4878
4878
  })(oo, function(t) {
4879
4879
  return (function() {
4880
- var n = t, p = n.lib, g = p.StreamCipher, U = n.algo, f = [], l = [], a = [], i = U.RabbitLegacy = g.extend({
4880
+ var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], l = [], a = [], i = b.RabbitLegacy = g.extend({
4881
4881
  _doReset: function() {
4882
- var o = this._key.words, u = this.cfg.iv, m = this._X = [
4883
- o[0],
4884
- o[3] << 16 | o[2] >>> 16,
4885
- o[1],
4886
- o[0] << 16 | o[3] >>> 16,
4887
- o[2],
4888
- o[1] << 16 | o[0] >>> 16,
4889
- o[3],
4890
- o[2] << 16 | o[1] >>> 16
4882
+ var s = this._key.words, u = this.cfg.iv, m = this._X = [
4883
+ s[0],
4884
+ s[3] << 16 | s[2] >>> 16,
4885
+ s[1],
4886
+ s[0] << 16 | s[3] >>> 16,
4887
+ s[2],
4888
+ s[1] << 16 | s[0] >>> 16,
4889
+ s[3],
4890
+ s[2] << 16 | s[1] >>> 16
4891
4891
  ], c = this._C = [
4892
- o[2] << 16 | o[2] >>> 16,
4893
- o[0] & 4294901760 | o[1] & 65535,
4894
- o[3] << 16 | o[3] >>> 16,
4895
- o[1] & 4294901760 | o[2] & 65535,
4896
- o[0] << 16 | o[0] >>> 16,
4897
- o[2] & 4294901760 | o[3] & 65535,
4898
- o[1] << 16 | o[1] >>> 16,
4899
- o[3] & 4294901760 | o[0] & 65535
4892
+ s[2] << 16 | s[2] >>> 16,
4893
+ s[0] & 4294901760 | s[1] & 65535,
4894
+ s[3] << 16 | s[3] >>> 16,
4895
+ s[1] & 4294901760 | s[2] & 65535,
4896
+ s[0] << 16 | s[0] >>> 16,
4897
+ s[2] & 4294901760 | s[3] & 65535,
4898
+ s[1] << 16 | s[1] >>> 16,
4899
+ s[3] & 4294901760 | s[0] & 65535
4900
4900
  ];
4901
4901
  this._b = 0;
4902
4902
  for (var d = 0; d < 4; d++)
4903
- s.call(this);
4903
+ o.call(this);
4904
4904
  for (var d = 0; d < 8; d++)
4905
4905
  c[d] ^= m[d + 4 & 7];
4906
4906
  if (u) {
4907
- var y = u.words, _ = y[0], b = y[1], v = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, T = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, x = v >>> 16 | T & 4294901760, S = T << 16 | v & 65535;
4907
+ var y = u.words, _ = y[0], U = y[1], v = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, T = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = v >>> 16 | T & 4294901760, S = T << 16 | v & 65535;
4908
4908
  c[0] ^= v, c[1] ^= x, c[2] ^= T, c[3] ^= S, c[4] ^= v, c[5] ^= x, c[6] ^= T, c[7] ^= S;
4909
4909
  for (var d = 0; d < 4; d++)
4910
- s.call(this);
4910
+ o.call(this);
4911
4911
  }
4912
4912
  },
4913
- _doProcessBlock: function(o, u) {
4913
+ _doProcessBlock: function(s, u) {
4914
4914
  var m = this._X;
4915
- s.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4915
+ o.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4916
4916
  for (var c = 0; c < 4; c++)
4917
- f[c] = (f[c] << 8 | f[c] >>> 24) & 16711935 | (f[c] << 24 | f[c] >>> 8) & 4278255360, o[u + c] ^= f[c];
4917
+ f[c] = (f[c] << 8 | f[c] >>> 24) & 16711935 | (f[c] << 24 | f[c] >>> 8) & 4278255360, s[u + c] ^= f[c];
4918
4918
  },
4919
4919
  blockSize: 128 / 32,
4920
4920
  ivSize: 64 / 32
4921
4921
  });
4922
- function s() {
4923
- for (var o = this._X, u = this._C, m = 0; m < 8; m++)
4922
+ function o() {
4923
+ for (var s = this._X, u = this._C, m = 0; m < 8; m++)
4924
4924
  l[m] = u[m];
4925
4925
  u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < l[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < l[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < l[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < l[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < l[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < l[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < l[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < l[7] >>> 0 ? 1 : 0;
4926
4926
  for (var m = 0; m < 8; m++) {
4927
- var c = o[m] + u[m], d = c & 65535, y = c >>> 16, _ = ((d * d >>> 17) + d * y >>> 15) + y * y, b = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4928
- a[m] = _ ^ b;
4927
+ var c = s[m] + u[m], d = c & 65535, y = c >>> 16, _ = ((d * d >>> 17) + d * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4928
+ a[m] = _ ^ U;
4929
4929
  }
4930
- o[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, o[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, o[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, o[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, o[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, o[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, o[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, o[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
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;
4931
4931
  }
4932
4932
  n.RabbitLegacy = g._createHelper(i);
4933
4933
  })(), t.RabbitLegacy;
@@ -4941,7 +4941,7 @@ function uo() {
4941
4941
  e.exports = n(ae(), Sa(), Da(), ya(), Ne());
4942
4942
  })(mo, function(t) {
4943
4943
  return (function() {
4944
- var n = t, p = n.lib, g = p.BlockCipher, U = n.algo;
4944
+ var n = t, p = n.lib, g = p.BlockCipher, b = n.algo;
4945
4945
  const f = 16, l = [
4946
4946
  608135816,
4947
4947
  2242054355,
@@ -5999,21 +5999,21 @@ function uo() {
5999
5999
  pbox: [],
6000
6000
  sbox: []
6001
6001
  };
6002
- function s(d, y) {
6003
- let _ = y >> 24 & 255, b = y >> 16 & 255, v = y >> 8 & 255, T = y & 255, x = d.sbox[0][_] + d.sbox[1][b];
6002
+ function o(d, y) {
6003
+ let _ = y >> 24 & 255, U = y >> 16 & 255, v = y >> 8 & 255, T = y & 255, x = d.sbox[0][_] + d.sbox[1][U];
6004
6004
  return x = x ^ d.sbox[2][v], x = x + d.sbox[3][T], x;
6005
6005
  }
6006
- function o(d, y, _) {
6007
- let b = y, v = _, T;
6006
+ function s(d, y, _) {
6007
+ let U = y, v = _, T;
6008
6008
  for (let x = 0; x < f; ++x)
6009
- b = b ^ d.pbox[x], v = s(d, b) ^ v, T = b, b = v, v = T;
6010
- return T = b, b = v, v = T, v = v ^ d.pbox[f], b = b ^ d.pbox[f + 1], { left: b, right: v };
6009
+ U = U ^ d.pbox[x], v = o(d, U) ^ v, T = U, U = v, v = T;
6010
+ return T = U, U = v, v = T, v = v ^ d.pbox[f], U = U ^ d.pbox[f + 1], { left: U, right: v };
6011
6011
  }
6012
6012
  function u(d, y, _) {
6013
- let b = y, v = _, T;
6013
+ let U = y, v = _, T;
6014
6014
  for (let x = f + 1; x > 1; --x)
6015
- b = b ^ d.pbox[x], v = s(d, b) ^ v, T = b, b = v, v = T;
6016
- return T = b, b = v, v = T, v = v ^ d.pbox[1], b = b ^ d.pbox[0], { left: b, right: v };
6015
+ U = U ^ d.pbox[x], v = o(d, U) ^ v, T = U, U = v, v = T;
6016
+ return T = U, U = v, v = T, v = v ^ d.pbox[1], U = U ^ d.pbox[0], { left: U, right: v };
6017
6017
  }
6018
6018
  function m(d, y, _) {
6019
6019
  for (let S = 0; S < 4; S++) {
@@ -6021,18 +6021,18 @@ function uo() {
6021
6021
  for (let G = 0; G < 256; G++)
6022
6022
  d.sbox[S][G] = a[S][G];
6023
6023
  }
6024
- let b = 0;
6024
+ let U = 0;
6025
6025
  for (let S = 0; S < f + 2; S++)
6026
- d.pbox[S] = l[S] ^ y[b], b++, b >= _ && (b = 0);
6026
+ d.pbox[S] = l[S] ^ y[U], U++, U >= _ && (U = 0);
6027
6027
  let v = 0, T = 0, x = 0;
6028
6028
  for (let S = 0; S < f + 2; S += 2)
6029
- x = o(d, v, T), v = x.left, T = x.right, d.pbox[S] = v, d.pbox[S + 1] = T;
6029
+ x = s(d, v, T), v = x.left, T = x.right, d.pbox[S] = v, d.pbox[S + 1] = T;
6030
6030
  for (let S = 0; S < 4; S++)
6031
6031
  for (let G = 0; G < 256; G += 2)
6032
- x = o(d, v, T), v = x.left, T = x.right, d.sbox[S][G] = v, d.sbox[S][G + 1] = T;
6032
+ x = s(d, v, T), v = x.left, T = x.right, d.sbox[S][G] = v, d.sbox[S][G + 1] = T;
6033
6033
  return !0;
6034
6034
  }
6035
- var c = U.Blowfish = g.extend({
6035
+ var c = b.Blowfish = g.extend({
6036
6036
  _doReset: function() {
6037
6037
  if (this._keyPriorReset !== this._key) {
6038
6038
  var d = this._keyPriorReset = this._key, y = d.words, _ = d.sigBytes / 4;
@@ -6040,7 +6040,7 @@ function uo() {
6040
6040
  }
6041
6041
  },
6042
6042
  encryptBlock: function(d, y) {
6043
- var _ = o(i, d[y], d[y + 1]);
6043
+ var _ = s(i, d[y], d[y + 1]);
6044
6044
  d[y] = _.left, d[y + 1] = _.right;
6045
6045
  },
6046
6046
  decryptBlock: function(d, y) {
@@ -6075,8 +6075,8 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6075
6075
  iv: t,
6076
6076
  mode: va.mode.CBC,
6077
6077
  padding: va.pad.Pkcs7
6078
- }), g = t.toString(va.enc.Base64), U = va.enc.Base64.stringify(p.ciphertext);
6079
- return g + ":" + U;
6078
+ }), g = t.toString(va.enc.Base64), b = va.enc.Base64.stringify(p.ciphertext);
6079
+ return g + ":" + b;
6080
6080
  }, ce = () => {
6081
6081
  const { client: e, formDataClient: r } = re(), t = I(
6082
6082
  async (C) => {
@@ -6088,7 +6088,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6088
6088
  return P;
6089
6089
  },
6090
6090
  [e]
6091
- ), n = 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]), U = I(async () => await e.get("member/getFavoriteGame"), [e]), f = I(
6091
+ ), n = 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]), f = I(
6092
6092
  async (C) => {
6093
6093
  const { account: h, password: N, trans_code: E } = C;
6094
6094
  return await e.post("/login", {
@@ -6106,7 +6106,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6106
6106
  });
6107
6107
  },
6108
6108
  [e]
6109
- ), i = I(async () => await e.get("/profit/ranking"), [e]), s = I(
6109
+ ), i = I(async () => await e.get("/profit/ranking"), [e]), o = I(
6110
6110
  async ({
6111
6111
  memberId: C,
6112
6112
  password: h,
@@ -6126,7 +6126,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6126
6126
  return N && (B.unlimit_code = N), P && (B.invite = P), e.post("/signUp", B);
6127
6127
  },
6128
6128
  [e]
6129
- ), o = I(
6129
+ ), s = I(
6130
6130
  async (C) => {
6131
6131
  const { name: h, birthday: N, email: E, mobile: P } = C;
6132
6132
  return await e.post("/editMembetInfo", {
@@ -6188,7 +6188,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6188
6188
  });
6189
6189
  },
6190
6190
  [e]
6191
- ), _ = I(async () => await e.get("/member/checkRestrictedWagering"), [e]), b = I(
6191
+ ), _ = I(async () => await e.get("/member/checkRestrictedWagering"), [e]), U = I(
6192
6192
  async (C) => {
6193
6193
  const { memId: h, point: N, currency: E, password: P } = C;
6194
6194
  return await e.post("/pointsTransaction", {
@@ -6263,14 +6263,14 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6263
6263
  machineLoginApi: t,
6264
6264
  userInfoApi: n,
6265
6265
  userGameListApi: p,
6266
- userFavoriteGameApi: U,
6266
+ userFavoriteGameApi: b,
6267
6267
  userCurrencyExchangeApi: g,
6268
6268
  userLoginApi: f,
6269
6269
  userLogoutApi: l,
6270
6270
  addOrRemoveFavoriteGameApi: a,
6271
6271
  rankingGameApi: i,
6272
- userSignUpApi: s,
6273
- updateUserInfoApi: o,
6272
+ userSignUpApi: o,
6273
+ updateUserInfoApi: s,
6274
6274
  resetUserPasswordApi: u,
6275
6275
  setUserTransactionPasswordApi: m,
6276
6276
  resetUserTransactionPasswordApi: c,
@@ -6278,7 +6278,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6278
6278
  userBindBankApi: v,
6279
6279
  transferInGameApi: y,
6280
6280
  checkUserWagerApi: _,
6281
- pointTransferApi: b,
6281
+ pointTransferApi: U,
6282
6282
  abandonPointsApi: T,
6283
6283
  lineLoginApi: x,
6284
6284
  lineLogin2Api: S,
@@ -6325,28 +6325,28 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6325
6325
  queryKey: ["getMemInfo"],
6326
6326
  queryFn: async () => r(),
6327
6327
  enabled: e
6328
- }), U = ne({
6328
+ }), b = ne({
6329
6329
  queryKey: ["getFavoriteGame"],
6330
6330
  queryFn: async () => t(),
6331
6331
  enabled: e && g.isSuccess
6332
6332
  }), f = ne({
6333
6333
  queryKey: ["getUserGameList"],
6334
6334
  queryFn: async () => n(),
6335
- enabled: e && g.isSuccess && U.isSuccess
6335
+ enabled: e && g.isSuccess && b.isSuccess
6336
6336
  }), l = ne({
6337
6337
  queryKey: ["getUserCurrencyExchange"],
6338
6338
  queryFn: async () => p(),
6339
- enabled: e && g.isSuccess && U.isSuccess && f.isSuccess
6339
+ enabled: e && g.isSuccess && b.isSuccess && f.isSuccess
6340
6340
  });
6341
6341
  return [
6342
6342
  g,
6343
- U,
6343
+ b,
6344
6344
  f,
6345
6345
  l
6346
6346
  ];
6347
6347
  }, ct = () => {
6348
6348
  const { client: e, lng: r } = re(), t = je(r || "tw"), n = I(
6349
- async (U) => {
6349
+ async (b) => {
6350
6350
  const {
6351
6351
  gameUid: f = "",
6352
6352
  // 遊戲唯一標識
@@ -6356,28 +6356,28 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6356
6356
  // 是否為行動裝置
6357
6357
  gameCurrency: i = "",
6358
6358
  // 遊戲幣別
6359
- currentCurrency: s = ""
6359
+ currentCurrency: o = ""
6360
6360
  // 目前使用的幣別
6361
- } = U;
6361
+ } = b;
6362
6362
  return await e.post("/game/go", {
6363
6363
  gameUid: f,
6364
6364
  gameCode: l,
6365
6365
  lang: t,
6366
6366
  is_mobile: a,
6367
6367
  currency_code: i,
6368
- gameCurrencyNow: s,
6369
- walletCurrencyNow: s
6368
+ gameCurrencyNow: o,
6369
+ walletCurrencyNow: o
6370
6370
  });
6371
6371
  },
6372
6372
  [e, t]
6373
6373
  ), p = I(
6374
- async (U) => {
6374
+ async (b) => {
6375
6375
  const {
6376
6376
  startDate: f = Fe().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6377
6377
  endDate: l = Fe().format("YYYY-MM-DD 11:59:59"),
6378
6378
  platform: a = "",
6379
6379
  limit: i = 25
6380
- } = U, { data: s } = await e.get("/report/netprofit", {
6380
+ } = b, { data: o } = await e.get("/report/netprofit", {
6381
6381
  params: {
6382
6382
  str_date: f,
6383
6383
  end_Date: l,
@@ -6385,27 +6385,27 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6385
6385
  limit: i
6386
6386
  }
6387
6387
  });
6388
- return s;
6388
+ return o;
6389
6389
  },
6390
6390
  [e]
6391
6391
  ), g = I(
6392
- async (U) => {
6392
+ async (b) => {
6393
6393
  const {
6394
6394
  startDate: f = Fe().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6395
6395
  endDate: l = Fe().format("YYYY-MM-DD 11:59:59"),
6396
6396
  platform: a,
6397
6397
  limit: i = 25,
6398
- page: s = 1
6399
- } = U, { data: o } = await e.get("/report/betlog", {
6398
+ page: o = 1
6399
+ } = b, { data: s } = await e.get("/report/betlog", {
6400
6400
  params: {
6401
6401
  str_date: f,
6402
6402
  end_Date: l,
6403
6403
  platform: a,
6404
6404
  limit: i,
6405
- page: s
6405
+ page: o
6406
6406
  }
6407
6407
  });
6408
- return o;
6408
+ return s;
6409
6409
  },
6410
6410
  [e]
6411
6411
  );
@@ -6415,8 +6415,8 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
6415
6415
  return ne({
6416
6416
  queryKey: ["getBetRecord"],
6417
6417
  queryFn: async () => await t(r),
6418
- select: (n) => Wn(n).map(([g, U]) => ({
6419
- ...U,
6418
+ select: (n) => Wn(n).map(([g, b]) => ({
6419
+ ...b,
6420
6420
  platform: g
6421
6421
  })),
6422
6422
  ...e
@@ -6462,27 +6462,27 @@ var _o = {
6462
6462
  }
6463
6463
  };
6464
6464
  function nt(e, r) {
6465
- function t(p, g, U) {
6465
+ function t(p, g, b) {
6466
6466
  if (!(typeof document > "u")) {
6467
- U = ei({}, r, U), typeof U.expires == "number" && (U.expires = new Date(Date.now() + U.expires * 864e5)), U.expires && (U.expires = U.expires.toUTCString()), p = encodeURIComponent(p).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
6467
+ b = ei({}, r, 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);
6468
6468
  var f = "";
6469
- for (var l in U)
6470
- U[l] && (f += "; " + l, U[l] !== !0 && (f += "=" + U[l].split(";")[0]));
6469
+ for (var l in b)
6470
+ b[l] && (f += "; " + l, b[l] !== !0 && (f += "=" + b[l].split(";")[0]));
6471
6471
  return document.cookie = p + "=" + e.write(g, p) + f;
6472
6472
  }
6473
6473
  }
6474
6474
  function n(p) {
6475
6475
  if (!(typeof document > "u" || arguments.length && !p)) {
6476
- for (var g = document.cookie ? document.cookie.split("; ") : [], U = {}, f = 0; f < g.length; f++) {
6476
+ for (var g = document.cookie ? document.cookie.split("; ") : [], b = {}, f = 0; f < g.length; f++) {
6477
6477
  var l = g[f].split("="), a = l.slice(1).join("=");
6478
6478
  try {
6479
6479
  var i = decodeURIComponent(l[0]);
6480
- if (U[i] = e.read(a, i), p === i)
6480
+ if (b[i] = e.read(a, i), p === i)
6481
6481
  break;
6482
6482
  } catch {
6483
6483
  }
6484
6484
  }
6485
- return p ? U[p] : U;
6485
+ return p ? b[p] : b;
6486
6486
  }
6487
6487
  }
6488
6488
  return Object.create(
@@ -6558,7 +6558,7 @@ function _t() {
6558
6558
  _n = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
6559
6559
  var e = ra(), r = function(p) {
6560
6560
  if (p) {
6561
- var g = /^https|wss/.test(p), U = p.replace(/^(https?|wss?)(:\/\/)?/, ""), f = U.replace(/\/$/, ""), l = g ? "wss" : "ws";
6561
+ var g = /^https|wss/.test(p), b = p.replace(/^(https?|wss?)(:\/\/)?/, ""), f = b.replace(/\/$/, ""), l = g ? "wss" : "ws";
6562
6562
  return "".concat(l, "://").concat(f).concat(e.SOCKET_IO_PATH);
6563
6563
  } else if (p === "") {
6564
6564
  var g = /^https/.test(window.location.protocol), l = g ? "wss" : "ws", a = window.location.port ? ":".concat(window.location.port) : "";
@@ -6569,19 +6569,19 @@ function _t() {
6569
6569
  sa.parseSocketIOUrl = r;
6570
6570
  var t = function(p, g) {
6571
6571
  g === void 0 && (g = {});
6572
- var U = /\?([\w]+=[\w]+)/, f = U.test(p), l = "".concat(Object.entries(g).reduce(function(a, i) {
6573
- var s = i[0], o = i[1];
6574
- return a + "".concat(s, "=").concat(o, "&");
6572
+ var b = /\?([\w]+=[\w]+)/, f = b.test(p), l = "".concat(Object.entries(g).reduce(function(a, i) {
6573
+ var o = i[0], s = i[1];
6574
+ return a + "".concat(o, "=").concat(s, "&");
6575
6575
  }, "").slice(0, -1));
6576
6576
  return "".concat(p).concat(f ? "&" : "?").concat(l);
6577
6577
  };
6578
6578
  sa.appendQueryParams = t;
6579
6579
  var n = function(p, g) {
6580
6580
  g === void 0 && (g = e.SOCKET_IO_PING_INTERVAL);
6581
- var U = function() {
6581
+ var b = function() {
6582
6582
  return p(e.SOCKET_IO_PING_CODE);
6583
6583
  };
6584
- return window.setInterval(U, g);
6584
+ return window.setInterval(b, g);
6585
6585
  };
6586
6586
  return sa.setUpSocketIOPing = n, sa;
6587
6587
  }
@@ -6596,13 +6596,13 @@ function il() {
6596
6596
  }).current : n.current;
6597
6597
  }
6598
6598
  function t(n, p, g) {
6599
- var U = g || {}, f = U.interval, l = f === void 0 ? e.DEFAULT_HEARTBEAT.interval : f, a = U.timeout, i = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, s = U.message, o = s === void 0 ? e.DEFAULT_HEARTBEAT.message : s, u = Math.max(100, l / 10), m = Date.now(), c = setInterval(function() {
6599
+ var b = g || {}, f = b.interval, l = f === void 0 ? e.DEFAULT_HEARTBEAT.interval : f, a = b.timeout, i = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = b.message, s = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, u = Math.max(100, l / 10), m = Date.now(), c = setInterval(function() {
6600
6600
  var d = Date.now(), y = r(p);
6601
6601
  if (y + i <= d)
6602
6602
  console.warn("Heartbeat timed out, closing connection, last message received ".concat(d - y, "ms ago, last ping sent ").concat(d - m, "ms ago")), n.close();
6603
6603
  else if (y + l <= d && m + l <= d)
6604
6604
  try {
6605
- typeof o == "function" ? n.send(o()) : n.send(o), m = d;
6605
+ typeof s == "function" ? n.send(s()) : n.send(s), m = d;
6606
6606
  } catch (_) {
6607
6607
  console.error("Heartbeat failed, closing connection", _ instanceof Error ? _.message : _), n.close();
6608
6608
  }
@@ -6631,10 +6631,10 @@ function yt() {
6631
6631
  r[l] = r[l] || /* @__PURE__ */ new Set(), r[l].add(a);
6632
6632
  };
6633
6633
  e.addSubscriber = g;
6634
- var U = function(l, a) {
6634
+ var b = function(l, a) {
6635
6635
  r[l].delete(a);
6636
6636
  };
6637
- e.removeSubscriber = U;
6637
+ e.removeSubscriber = b;
6638
6638
  var f = function(l) {
6639
6639
  if (l && r.hasOwnProperty(l))
6640
6640
  delete r[l];
@@ -6665,66 +6665,66 @@ function yo() {
6665
6665
  Cn = 1;
6666
6666
  var e = ha && ha.__assign || function() {
6667
6667
  return e = Object.assign || function(i) {
6668
- for (var s, o = 1, u = arguments.length; o < u; o++) {
6669
- s = arguments[o];
6670
- for (var m in s) Object.prototype.hasOwnProperty.call(s, m) && (i[m] = s[m]);
6668
+ for (var o, s = 1, u = arguments.length; s < u; s++) {
6669
+ o = arguments[s];
6670
+ for (var m in o) Object.prototype.hasOwnProperty.call(o, m) && (i[m] = o[m]);
6671
6671
  }
6672
6672
  return i;
6673
6673
  }, e.apply(this, arguments);
6674
6674
  };
6675
6675
  Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachListeners = void 0;
6676
- var r = _t(), t = il(), n = ra(), p = Ut(), g = function(i, s, o, u) {
6676
+ var r = _t(), t = il(), n = ra(), p = Ut(), g = function(i, o, s, u) {
6677
6677
  i.onmessage = function(m) {
6678
6678
  var c;
6679
- s.current.onMessage && s.current.onMessage(m), typeof u?.current == "number" && (u.current = Date.now()), !(typeof s.current.filter == "function" && s.current.filter(m) !== !0) && (s.current.heartbeat && typeof s.current.heartbeat != "boolean" && ((c = s.current.heartbeat) === null || c === void 0 ? void 0 : c.returnMessage) === m.data || o(m));
6679
+ o.current.onMessage && o.current.onMessage(m), typeof u?.current == "number" && (u.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((c = o.current.heartbeat) === null || c === void 0 ? void 0 : c.returnMessage) === m.data || s(m));
6680
6680
  };
6681
- }, U = function(i, s, o, u, m) {
6681
+ }, b = function(i, o, s, u, m) {
6682
6682
  i.onopen = function(c) {
6683
- if (s.current.onOpen && s.current.onOpen(c), u.current = 0, o(n.ReadyState.OPEN), s.current.heartbeat && i instanceof WebSocket) {
6684
- var d = typeof s.current.heartbeat == "boolean" ? void 0 : s.current.heartbeat;
6683
+ if (o.current.onOpen && o.current.onOpen(c), u.current = 0, s(n.ReadyState.OPEN), o.current.heartbeat && i instanceof WebSocket) {
6684
+ var d = typeof o.current.heartbeat == "boolean" ? void 0 : o.current.heartbeat;
6685
6685
  m.current = Date.now(), (0, t.heartbeat)(i, m, d);
6686
6686
  }
6687
6687
  };
6688
- }, f = function(i, s, o, u, m) {
6688
+ }, f = function(i, o, s, u, m) {
6689
6689
  if (n.isEventSourceSupported && i instanceof EventSource)
6690
6690
  return function() {
6691
6691
  };
6692
- (0, p.assertIsWebSocket)(i, s.current.skipAssert);
6692
+ (0, p.assertIsWebSocket)(i, o.current.skipAssert);
6693
6693
  var c;
6694
6694
  return i.onclose = function(d) {
6695
6695
  var y;
6696
- if (s.current.onClose && s.current.onClose(d), o(n.ReadyState.CLOSED), s.current.shouldReconnect && s.current.shouldReconnect(d)) {
6697
- var _ = (y = s.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT;
6696
+ if (o.current.onClose && o.current.onClose(d), s(n.ReadyState.CLOSED), o.current.shouldReconnect && o.current.shouldReconnect(d)) {
6697
+ var _ = (y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT;
6698
6698
  if (m.current < _) {
6699
- var b = typeof s.current.reconnectInterval == "function" ? s.current.reconnectInterval(m.current) : s.current.reconnectInterval;
6699
+ var U = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6700
6700
  c = window.setTimeout(function() {
6701
6701
  m.current++, u();
6702
- }, b ?? n.DEFAULT_RECONNECT_INTERVAL_MS);
6702
+ }, U ?? n.DEFAULT_RECONNECT_INTERVAL_MS);
6703
6703
  } else
6704
- s.current.onReconnectStop && s.current.onReconnectStop(_), console.warn("Max reconnect attempts of ".concat(_, " exceeded"));
6704
+ o.current.onReconnectStop && o.current.onReconnectStop(_), console.warn("Max reconnect attempts of ".concat(_, " exceeded"));
6705
6705
  }
6706
6706
  }, function() {
6707
6707
  return c && window.clearTimeout(c);
6708
6708
  };
6709
- }, l = function(i, s, o, u, m) {
6709
+ }, l = function(i, o, s, u, m) {
6710
6710
  var c;
6711
6711
  return i.onerror = function(d) {
6712
6712
  var y;
6713
- if (s.current.onError && s.current.onError(d), n.isEventSourceSupported && i instanceof EventSource && (s.current.onClose && s.current.onClose(e(e({}, d), { code: 1006, reason: "An error occurred with the EventSource: ".concat(d), wasClean: !1 })), o(n.ReadyState.CLOSED), i.close()), s.current.retryOnError)
6714
- if (m.current < ((y = s.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT)) {
6715
- var _ = typeof s.current.reconnectInterval == "function" ? s.current.reconnectInterval(m.current) : s.current.reconnectInterval;
6713
+ if (o.current.onError && o.current.onError(d), n.isEventSourceSupported && i instanceof EventSource && (o.current.onClose && o.current.onClose(e(e({}, d), { code: 1006, reason: "An error occurred with the EventSource: ".concat(d), wasClean: !1 })), s(n.ReadyState.CLOSED), i.close()), o.current.retryOnError)
6714
+ if (m.current < ((y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT)) {
6715
+ var _ = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6716
6716
  c = window.setTimeout(function() {
6717
6717
  m.current++, u();
6718
6718
  }, _ ?? n.DEFAULT_RECONNECT_INTERVAL_MS);
6719
6719
  } else
6720
- s.current.onReconnectStop && s.current.onReconnectStop(s.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(s.current.reconnectAttempts, " exceeded"));
6720
+ o.current.onReconnectStop && o.current.onReconnectStop(o.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(o.current.reconnectAttempts, " exceeded"));
6721
6721
  }, function() {
6722
6722
  return c && window.clearTimeout(c);
6723
6723
  };
6724
- }, a = function(i, s, o, u, m, c, d) {
6725
- var y = s.setLastMessage, _ = s.setReadyState, b, v, T;
6726
- return o.current.fromSocketIO && (b = (0, r.setUpSocketIOPing)(d)), g(i, o, y, c), U(i, o, _, m, c), v = f(i, o, _, u, m), T = l(i, o, _, u, m), function() {
6727
- _(n.ReadyState.CLOSING), v(), T(), i.close(), b && clearInterval(b);
6724
+ }, a = function(i, o, s, u, m, c, d) {
6725
+ var y = o.setLastMessage, _ = o.setReadyState, U, v, T;
6726
+ return s.current.fromSocketIO && (U = (0, r.setUpSocketIOPing)(d)), g(i, s, y, c), b(i, s, _, m, c), v = f(i, s, _, u, m), T = l(i, s, _, u, m), function() {
6727
+ _(n.ReadyState.CLOSING), v(), T(), i.close(), U && clearInterval(U);
6728
6728
  };
6729
6729
  };
6730
6730
  return ha.attachListeners = a, ha;
@@ -6734,36 +6734,36 @@ function Uo() {
6734
6734
  if (vn) return Ta;
6735
6735
  vn = 1;
6736
6736
  var e = Ta && Ta.__assign || function() {
6737
- return e = Object.assign || function(s) {
6738
- for (var o, u = 1, m = arguments.length; u < m; u++) {
6739
- o = arguments[u];
6740
- for (var c in o) Object.prototype.hasOwnProperty.call(o, c) && (s[c] = o[c]);
6737
+ return e = Object.assign || function(o) {
6738
+ for (var s, u = 1, m = arguments.length; u < m; u++) {
6739
+ s = arguments[u];
6740
+ for (var c in s) Object.prototype.hasOwnProperty.call(s, c) && (o[c] = s[c]);
6741
6741
  }
6742
- return s;
6742
+ return o;
6743
6743
  }, e.apply(this, arguments);
6744
6744
  };
6745
6745
  Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.attachSharedListeners = void 0;
6746
- var r = ft(), t = ra(), n = yt(), p = _t(), g = il(), U = function(s, o, u) {
6747
- s.onmessage = function(m) {
6748
- (0, n.getSubscribers)(o).forEach(function(c) {
6746
+ var r = ft(), t = ra(), n = yt(), p = _t(), g = il(), b = function(o, s, u) {
6747
+ o.onmessage = function(m) {
6748
+ (0, n.getSubscribers)(s).forEach(function(c) {
6749
6749
  var d;
6750
6750
  c.optionsRef.current.onMessage && c.optionsRef.current.onMessage(m), typeof ((d = c?.lastMessageTime) === null || d === void 0 ? void 0 : d.current) == "number" && (c.lastMessageTime.current = Date.now()), !(typeof c.optionsRef.current.filter == "function" && c.optionsRef.current.filter(m) !== !0) && (u && typeof u != "boolean" && u?.returnMessage === m.data || c.setLastMessage(m));
6751
6751
  });
6752
6752
  };
6753
- }, f = function(s, o, u) {
6754
- s.onopen = function(m) {
6755
- var c = (0, n.getSubscribers)(o);
6753
+ }, f = function(o, s, u) {
6754
+ o.onopen = function(m) {
6755
+ var c = (0, n.getSubscribers)(s);
6756
6756
  c.forEach(function(d) {
6757
- d.reconnectCount.current = 0, d.optionsRef.current.onOpen && d.optionsRef.current.onOpen(m), d.setReadyState(t.ReadyState.OPEN), u && s instanceof WebSocket && (d.lastMessageTime.current = Date.now());
6758
- }), u && s instanceof WebSocket && (0, g.heartbeat)(s, c.map(function(d) {
6757
+ d.reconnectCount.current = 0, d.optionsRef.current.onOpen && d.optionsRef.current.onOpen(m), d.setReadyState(t.ReadyState.OPEN), u && o instanceof WebSocket && (d.lastMessageTime.current = Date.now());
6758
+ }), u && o instanceof WebSocket && (0, g.heartbeat)(o, c.map(function(d) {
6759
6759
  return d.lastMessageTime;
6760
6760
  }), typeof u == "boolean" ? void 0 : u);
6761
6761
  };
6762
- }, l = function(s, o) {
6763
- s instanceof WebSocket && (s.onclose = function(u) {
6764
- (0, n.getSubscribers)(o).forEach(function(m) {
6762
+ }, l = function(o, s) {
6763
+ o instanceof WebSocket && (o.onclose = function(u) {
6764
+ (0, n.getSubscribers)(s).forEach(function(m) {
6765
6765
  m.optionsRef.current.onClose && m.optionsRef.current.onClose(u), m.setReadyState(t.ReadyState.CLOSED);
6766
- }), delete r.sharedWebSockets[o], (0, n.getSubscribers)(o).forEach(function(m) {
6766
+ }), delete r.sharedWebSockets[s], (0, n.getSubscribers)(s).forEach(function(m) {
6767
6767
  var c;
6768
6768
  if (m.optionsRef.current.shouldReconnect && m.optionsRef.current.shouldReconnect(u)) {
6769
6769
  var d = (c = m.optionsRef.current.reconnectAttempts) !== null && c !== void 0 ? c : t.DEFAULT_RECONNECT_LIMIT;
@@ -6777,15 +6777,15 @@ function Uo() {
6777
6777
  }
6778
6778
  });
6779
6779
  });
6780
- }, a = function(s, o) {
6781
- s.onerror = function(u) {
6782
- (0, n.getSubscribers)(o).forEach(function(m) {
6783
- m.optionsRef.current.onError && m.optionsRef.current.onError(u), t.isEventSourceSupported && s instanceof EventSource && (m.optionsRef.current.onClose && m.optionsRef.current.onClose(e(e({}, u), { code: 1006, reason: "An error occurred with the EventSource: ".concat(u), wasClean: !1 })), m.setReadyState(t.ReadyState.CLOSED));
6784
- }), t.isEventSourceSupported && s instanceof EventSource && s.close();
6780
+ }, a = function(o, s) {
6781
+ o.onerror = function(u) {
6782
+ (0, n.getSubscribers)(s).forEach(function(m) {
6783
+ m.optionsRef.current.onError && m.optionsRef.current.onError(u), t.isEventSourceSupported && o instanceof EventSource && (m.optionsRef.current.onClose && m.optionsRef.current.onClose(e(e({}, u), { code: 1006, reason: "An error occurred with the EventSource: ".concat(u), wasClean: !1 })), m.setReadyState(t.ReadyState.CLOSED));
6784
+ }), t.isEventSourceSupported && o instanceof EventSource && o.close();
6785
6785
  };
6786
- }, i = function(s, o, u, m) {
6786
+ }, i = function(o, s, u, m) {
6787
6787
  var c;
6788
- return u.current.fromSocketIO && (c = (0, p.setUpSocketIOPing)(m)), U(s, o, u.current.heartbeat), l(s, o), f(s, o, u.current.heartbeat), a(s, o), function() {
6788
+ return u.current.fromSocketIO && (c = (0, p.setUpSocketIOPing)(m)), b(o, s, u.current.heartbeat), l(o, s), f(o, s, u.current.heartbeat), a(o, s), function() {
6789
6789
  c && clearInterval(c);
6790
6790
  };
6791
6791
  };
@@ -6795,50 +6795,50 @@ var hn;
6795
6795
  function bo() {
6796
6796
  if (hn) return Ka;
6797
6797
  hn = 1, Object.defineProperty(Ka, "__esModule", { value: !0 }), Ka.createOrJoinSocket = void 0;
6798
- var e = ft(), r = ra(), t = yo(), n = Uo(), p = yt(), g = function(f, l, a, i, s) {
6798
+ var e = ft(), r = ra(), t = yo(), n = Uo(), p = yt(), g = function(f, l, a, i, o) {
6799
6799
  return function() {
6800
6800
  if ((0, p.removeSubscriber)(f, l), !(0, p.hasSubscribers)(f)) {
6801
6801
  try {
6802
- var o = e.sharedWebSockets[f];
6803
- o instanceof WebSocket && (o.onclose = function(u) {
6802
+ var s = e.sharedWebSockets[f];
6803
+ s instanceof WebSocket && (s.onclose = function(u) {
6804
6804
  a.current.onClose && a.current.onClose(u), i(r.ReadyState.CLOSED);
6805
- }), o.close();
6805
+ }), s.close();
6806
6806
  } catch {
6807
6807
  }
6808
- s && s(), delete e.sharedWebSockets[f];
6808
+ o && o(), delete e.sharedWebSockets[f];
6809
6809
  }
6810
6810
  };
6811
- }, U = function(f, l, a, i, s, o, u, m, c) {
6811
+ }, b = function(f, l, a, i, o, s, u, m, c) {
6812
6812
  if (!r.isEventSourceSupported && i.current.eventSourceOptions)
6813
6813
  throw r.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
6814
6814
  if (i.current.share) {
6815
6815
  var d = null;
6816
6816
  e.sharedWebSockets[l] === void 0 ? (e.sharedWebSockets[l] = i.current.eventSourceOptions ? new EventSource(l, i.current.eventSourceOptions) : new WebSocket(l, i.current.protocols), f.current = e.sharedWebSockets[l], a(r.ReadyState.CONNECTING), d = (0, n.attachSharedListeners)(e.sharedWebSockets[l], l, i, c)) : (f.current = e.sharedWebSockets[l], a(e.sharedWebSockets[l].readyState));
6817
6817
  var y = {
6818
- setLastMessage: s,
6818
+ setLastMessage: o,
6819
6819
  setReadyState: a,
6820
6820
  optionsRef: i,
6821
6821
  reconnectCount: u,
6822
6822
  lastMessageTime: m,
6823
- reconnect: o
6823
+ reconnect: s
6824
6824
  };
6825
6825
  return (0, p.addSubscriber)(l, y), g(l, y, i, a, d);
6826
6826
  } else {
6827
6827
  if (f.current = i.current.eventSourceOptions ? new EventSource(l, i.current.eventSourceOptions) : new WebSocket(l, i.current.protocols), a(r.ReadyState.CONNECTING), !f.current)
6828
6828
  throw new Error("WebSocket failed to be created");
6829
6829
  return (0, t.attachListeners)(f.current, {
6830
- setLastMessage: s,
6830
+ setLastMessage: o,
6831
6831
  setReadyState: a
6832
- }, i, o.current, u, m, c);
6832
+ }, i, s.current, u, m, c);
6833
6833
  }
6834
6834
  };
6835
- return Ka.createOrJoinSocket = U, Ka;
6835
+ return Ka.createOrJoinSocket = b, Ka;
6836
6836
  }
6837
6837
  var ma = {}, Tn;
6838
6838
  function Co() {
6839
6839
  return Tn || (Tn = 1, (function(e) {
6840
- var r = ma && ma.__awaiter || function(l, a, i, s) {
6841
- function o(u) {
6840
+ var r = ma && ma.__awaiter || function(l, a, i, o) {
6841
+ function s(u) {
6842
6842
  return u instanceof i ? u : new i(function(m) {
6843
6843
  m(u);
6844
6844
  });
@@ -6846,28 +6846,28 @@ function Co() {
6846
6846
  return new (i || (i = Promise))(function(u, m) {
6847
6847
  function c(_) {
6848
6848
  try {
6849
- y(s.next(_));
6850
- } catch (b) {
6851
- m(b);
6849
+ y(o.next(_));
6850
+ } catch (U) {
6851
+ m(U);
6852
6852
  }
6853
6853
  }
6854
6854
  function d(_) {
6855
6855
  try {
6856
- y(s.throw(_));
6857
- } catch (b) {
6858
- m(b);
6856
+ y(o.throw(_));
6857
+ } catch (U) {
6858
+ m(U);
6859
6859
  }
6860
6860
  }
6861
6861
  function y(_) {
6862
- _.done ? u(_.value) : o(_.value).then(c, d);
6862
+ _.done ? u(_.value) : s(_.value).then(c, d);
6863
6863
  }
6864
- y((s = s.apply(l, a || [])).next());
6864
+ y((o = o.apply(l, a || [])).next());
6865
6865
  });
6866
6866
  }, t = ma && ma.__generator || function(l, a) {
6867
6867
  var i = { label: 0, sent: function() {
6868
6868
  if (u[0] & 1) throw u[1];
6869
6869
  return u[1];
6870
- }, trys: [], ops: [] }, s, o, u, m = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6870
+ }, trys: [], ops: [] }, o, s, u, m = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6871
6871
  return m.next = c(0), m.throw = c(1), m.return = c(2), typeof Symbol == "function" && (m[Symbol.iterator] = function() {
6872
6872
  return this;
6873
6873
  }), m;
@@ -6877,10 +6877,10 @@ function Co() {
6877
6877
  };
6878
6878
  }
6879
6879
  function d(y) {
6880
- if (s) throw new TypeError("Generator is already executing.");
6880
+ if (o) throw new TypeError("Generator is already executing.");
6881
6881
  for (; m && (m = 0, y[0] && (i = 0)), i; ) try {
6882
- if (s = 1, o && (u = y[0] & 2 ? o.return : y[0] ? o.throw || ((u = o.return) && u.call(o), 0) : o.next) && !(u = u.call(o, y[1])).done) return u;
6883
- switch (o = 0, u && (y = [y[0] & 2, u.value]), y[0]) {
6882
+ if (o = 1, s && (u = y[0] & 2 ? s.return : y[0] ? s.throw || ((u = s.return) && u.call(s), 0) : s.next) && !(u = u.call(s, y[1])).done) return u;
6883
+ switch (s = 0, u && (y = [y[0] & 2, u.value]), y[0]) {
6884
6884
  case 0:
6885
6885
  case 1:
6886
6886
  u = y;
@@ -6888,7 +6888,7 @@ function Co() {
6888
6888
  case 4:
6889
6889
  return i.label++, { value: y[1], done: !1 };
6890
6890
  case 5:
6891
- i.label++, o = y[1], y = [0];
6891
+ i.label++, s = y[1], y = [0];
6892
6892
  continue;
6893
6893
  case 7:
6894
6894
  y = i.ops.pop(), i.trys.pop();
@@ -6915,41 +6915,41 @@ function Co() {
6915
6915
  }
6916
6916
  y = a.call(l, i);
6917
6917
  } catch (_) {
6918
- y = [6, _], o = 0;
6918
+ y = [6, _], s = 0;
6919
6919
  } finally {
6920
- s = u = 0;
6920
+ o = u = 0;
6921
6921
  }
6922
6922
  if (y[0] & 5) throw y[1];
6923
6923
  return { value: y[0] ? y[1] : void 0, done: !0 };
6924
6924
  }
6925
6925
  }, n = ma && ma.__spreadArray || function(l, a, i) {
6926
- if (i || arguments.length === 2) for (var s = 0, o = a.length, u; s < o; s++)
6927
- (u || !(s in a)) && (u || (u = Array.prototype.slice.call(a, 0, s)), u[s] = a[s]);
6926
+ if (i || arguments.length === 2) for (var o = 0, s = a.length, u; o < s; o++)
6927
+ (u || !(o in a)) && (u || (u = Array.prototype.slice.call(a, 0, o)), u[o] = a[o]);
6928
6928
  return l.concat(u || Array.prototype.slice.call(a));
6929
6929
  };
6930
6930
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
6931
- var p = _t(), g = ra(), U = function(l) {
6931
+ var p = _t(), g = ra(), b = function(l) {
6932
6932
  return new Promise(function(a) {
6933
6933
  return window.setTimeout(a, l);
6934
6934
  });
6935
6935
  }, f = function(l, a) {
6936
- for (var i = [], s = 2; s < arguments.length; s++)
6937
- i[s - 2] = arguments[s];
6938
- return r(void 0, n([l, a], i, !0), void 0, function(o, u, m) {
6939
- var c, d, y, _, b, v, T, x;
6936
+ for (var i = [], o = 2; o < arguments.length; o++)
6937
+ i[o - 2] = arguments[o];
6938
+ return r(void 0, n([l, a], i, !0), void 0, function(s, u, m) {
6939
+ var c, d, y, _, U, v, T, x;
6940
6940
  return m === void 0 && (m = 0), t(this, function(S) {
6941
6941
  switch (S.label) {
6942
6942
  case 0:
6943
- if (typeof o != "function") return [3, 10];
6943
+ if (typeof s != "function") return [3, 10];
6944
6944
  S.label = 1;
6945
6945
  case 1:
6946
- return S.trys.push([1, 3, , 9]), [4, o()];
6946
+ return S.trys.push([1, 3, , 9]), [4, s()];
6947
6947
  case 2:
6948
6948
  return c = S.sent(), [3, 9];
6949
6949
  case 3:
6950
- return S.sent(), u.current.retryOnError ? (d = (v = u.current.reconnectAttempts) !== null && v !== void 0 ? v : g.DEFAULT_RECONNECT_LIMIT, m < d ? (y = typeof u.current.reconnectInterval == "function" ? u.current.reconnectInterval(m) : u.current.reconnectInterval, [4, U(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
6950
+ return S.sent(), u.current.retryOnError ? (d = (v = u.current.reconnectAttempts) !== null && v !== void 0 ? v : g.DEFAULT_RECONNECT_LIMIT, m < d ? (y = typeof u.current.reconnectInterval == "function" ? u.current.reconnectInterval(m) : u.current.reconnectInterval, [4, b(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
6951
6951
  case 4:
6952
- return S.sent(), [2, (0, e.getUrl)(o, u, m + 1)];
6952
+ return S.sent(), [2, (0, e.getUrl)(s, u, m + 1)];
6953
6953
  case 5:
6954
6954
  return (x = (T = u.current).onReconnectStop) === null || x === void 0 || x.call(T, m), [2, null];
6955
6955
  case 6:
@@ -6961,9 +6961,9 @@ function Co() {
6961
6961
  case 9:
6962
6962
  return [3, 11];
6963
6963
  case 10:
6964
- c = o, S.label = 11;
6964
+ c = s, S.label = 11;
6965
6965
  case 11:
6966
- return _ = u.current.fromSocketIO ? (0, p.parseSocketIOUrl)(c) : c, b = u.current.queryParams ? (0, p.appendQueryParams)(_, u.current.queryParams) : _, [2, b];
6966
+ return _ = u.current.fromSocketIO ? (0, p.parseSocketIOUrl)(c) : c, U = u.current.queryParams ? (0, p.appendQueryParams)(_, u.current.queryParams) : _, [2, U];
6967
6967
  }
6968
6968
  });
6969
6969
  });
@@ -6978,12 +6978,12 @@ function vo() {
6978
6978
  var r = function(t, n) {
6979
6979
  return new Proxy(t, {
6980
6980
  get: function(p, g) {
6981
- var U = p[g];
6982
- return g === "reconnect" ? n : typeof U == "function" ? (console.error("Calling methods directly on the websocket is not supported at this moment. You must use the methods returned by useWebSocket."), function() {
6983
- }) : U;
6981
+ var b = p[g];
6982
+ return g === "reconnect" ? n : 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() {
6983
+ }) : b;
6984
6984
  },
6985
- set: function(p, g, U) {
6986
- return /^on/.test(g) ? (console.warn("The websocket's event handlers should be defined through the options object passed into useWebSocket."), !1) : (p[g] = U, !0);
6985
+ set: function(p, g, b) {
6986
+ 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);
6987
6987
  }
6988
6988
  });
6989
6989
  };
@@ -6995,21 +6995,21 @@ function bt() {
6995
6995
  if (xn) return Ie;
6996
6996
  xn = 1;
6997
6997
  var e = Ie && Ie.__assign || function() {
6998
- return e = Object.assign || function(o) {
6998
+ return e = Object.assign || function(s) {
6999
6999
  for (var u, m = 1, c = arguments.length; m < c; m++) {
7000
7000
  u = arguments[m];
7001
- for (var d in u) Object.prototype.hasOwnProperty.call(u, d) && (o[d] = u[d]);
7001
+ for (var d in u) Object.prototype.hasOwnProperty.call(u, d) && (s[d] = u[d]);
7002
7002
  }
7003
- return o;
7003
+ return s;
7004
7004
  }, e.apply(this, arguments);
7005
- }, r = Ie && Ie.__awaiter || function(o, u, m, c) {
7005
+ }, r = Ie && Ie.__awaiter || function(s, u, m, c) {
7006
7006
  function d(y) {
7007
7007
  return y instanceof m ? y : new m(function(_) {
7008
7008
  _(y);
7009
7009
  });
7010
7010
  }
7011
7011
  return new (m || (m = Promise))(function(y, _) {
7012
- function b(x) {
7012
+ function U(x) {
7013
7013
  try {
7014
7014
  T(c.next(x));
7015
7015
  } catch (S) {
@@ -7024,19 +7024,19 @@ function bt() {
7024
7024
  }
7025
7025
  }
7026
7026
  function T(x) {
7027
- x.done ? y(x.value) : d(x.value).then(b, v);
7027
+ x.done ? y(x.value) : d(x.value).then(U, v);
7028
7028
  }
7029
- T((c = c.apply(o, u || [])).next());
7029
+ T((c = c.apply(s, u || [])).next());
7030
7030
  });
7031
- }, t = Ie && Ie.__generator || function(o, u) {
7031
+ }, t = Ie && Ie.__generator || function(s, u) {
7032
7032
  var m = { label: 0, sent: function() {
7033
7033
  if (y[0] & 1) throw y[1];
7034
7034
  return y[1];
7035
7035
  }, trys: [], ops: [] }, c, d, y, _ = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
7036
- return _.next = b(0), _.throw = b(1), _.return = b(2), typeof Symbol == "function" && (_[Symbol.iterator] = function() {
7036
+ return _.next = U(0), _.throw = U(1), _.return = U(2), typeof Symbol == "function" && (_[Symbol.iterator] = function() {
7037
7037
  return this;
7038
7038
  }), _;
7039
- function b(T) {
7039
+ function U(T) {
7040
7040
  return function(x) {
7041
7041
  return v([T, x]);
7042
7042
  };
@@ -7078,7 +7078,7 @@ function bt() {
7078
7078
  y[2] && m.ops.pop(), m.trys.pop();
7079
7079
  continue;
7080
7080
  }
7081
- T = u.call(o, m);
7081
+ T = u.call(s, m);
7082
7082
  } catch (x) {
7083
7083
  T = [6, x], d = 0;
7084
7084
  } finally {
@@ -7087,48 +7087,48 @@ function bt() {
7087
7087
  if (T[0] & 5) throw T[1];
7088
7088
  return { value: T[0] ? T[1] : void 0, done: !0 };
7089
7089
  }
7090
- }, n = Ie && Ie.__importDefault || function(o) {
7091
- return o && o.__esModule ? o : { default: o };
7090
+ }, n = Ie && Ie.__importDefault || function(s) {
7091
+ return s && s.__esModule ? s : { default: s };
7092
7092
  };
7093
7093
  Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.useWebSocket = void 0;
7094
- var p = de, g = Il, U = ra(), f = bo(), l = Co(), a = n(vo()), i = Ut(), s = function(o, u, m) {
7095
- u === void 0 && (u = U.DEFAULT_OPTIONS), m === void 0 && (m = !0);
7096
- var c = (0, p.useState)(null), d = c[0], y = c[1], _ = (0, p.useState)({}), b = _[0], v = _[1], T = (0, p.useMemo)(function() {
7094
+ var p = de, g = Il, b = ra(), f = bo(), l = Co(), a = n(vo()), i = Ut(), o = function(s, u, m) {
7095
+ u === void 0 && (u = b.DEFAULT_OPTIONS), m === void 0 && (m = !0);
7096
+ var c = (0, p.useState)(null), d = c[0], y = c[1], _ = (0, p.useState)({}), U = _[0], v = _[1], T = (0, p.useMemo)(function() {
7097
7097
  if (!u.disableJson && d)
7098
7098
  try {
7099
7099
  return JSON.parse(d.data);
7100
7100
  } catch {
7101
- return U.UNPARSABLE_JSON_OBJECT;
7101
+ return b.UNPARSABLE_JSON_OBJECT;
7102
7102
  }
7103
7103
  return null;
7104
7104
  }, [d, u.disableJson]), x = (0, p.useRef)(null), S = (0, p.useRef)(null), G = (0, p.useRef)(function() {
7105
7105
  }), O = (0, p.useRef)(0), C = (0, p.useRef)(Date.now()), h = (0, p.useRef)([]), N = (0, p.useRef)(null), E = (0, p.useRef)(u);
7106
7106
  E.current = u;
7107
- var P = x.current && b[x.current] !== void 0 ? b[x.current] : o !== null && m === !0 ? U.ReadyState.CONNECTING : U.ReadyState.UNINSTANTIATED, M = u.queryParams ? JSON.stringify(u.queryParams) : null, R = (0, p.useCallback)(function(H, W) {
7107
+ var P = x.current && U[x.current] !== void 0 ? U[x.current] : s !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, M = u.queryParams ? JSON.stringify(u.queryParams) : null, R = (0, p.useCallback)(function(H, W) {
7108
7108
  var L;
7109
- if (W === void 0 && (W = !0), U.isEventSourceSupported && S.current instanceof EventSource) {
7109
+ if (W === void 0 && (W = !0), b.isEventSourceSupported && S.current instanceof EventSource) {
7110
7110
  console.warn("Unable to send a message from an eventSource");
7111
7111
  return;
7112
7112
  }
7113
- ((L = S.current) === null || L === void 0 ? void 0 : L.readyState) === U.ReadyState.OPEN ? ((0, i.assertIsWebSocket)(S.current, E.current.skipAssert), S.current.send(H)) : W && h.current.push(H);
7113
+ ((L = S.current) === null || L === void 0 ? void 0 : L.readyState) === b.ReadyState.OPEN ? ((0, i.assertIsWebSocket)(S.current, E.current.skipAssert), S.current.send(H)) : W && h.current.push(H);
7114
7114
  }, []), B = (0, p.useCallback)(function(H, W) {
7115
7115
  W === void 0 && (W = !0), R(JSON.stringify(H), W);
7116
7116
  }, [R]), A = (0, p.useCallback)(function() {
7117
- return E.current.share !== !0 || U.isEventSourceSupported && S.current instanceof EventSource ? S.current : (N.current === null && S.current && ((0, i.assertIsWebSocket)(S.current, E.current.skipAssert), N.current = (0, a.default)(S.current, G)), N.current);
7117
+ return E.current.share !== !0 || b.isEventSourceSupported && S.current instanceof EventSource ? S.current : (N.current === null && S.current && ((0, i.assertIsWebSocket)(S.current, E.current.skipAssert), N.current = (0, a.default)(S.current, G)), N.current);
7118
7118
  }, []);
7119
7119
  return (0, p.useEffect)(function() {
7120
- if (o !== null && m === !0) {
7120
+ if (s !== null && m === !0) {
7121
7121
  var H, W = !1, L = !0, D = function() {
7122
7122
  return r(void 0, void 0, void 0, function() {
7123
7123
  var F, w, K;
7124
7124
  return t(this, function($) {
7125
7125
  switch ($.label) {
7126
7126
  case 0:
7127
- return F = x, [4, (0, l.getUrl)(o, E)];
7127
+ return F = x, [4, (0, l.getUrl)(s, E)];
7128
7128
  case 1:
7129
7129
  return F.current = $.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
7130
7130
  return v(function(Q) {
7131
- return e(e({}, Q), { ABORTED: U.ReadyState.CLOSED });
7131
+ return e(e({}, Q), { ABORTED: b.ReadyState.CLOSED });
7132
7132
  });
7133
7133
  }), [
7134
7134
  2
@@ -7157,12 +7157,12 @@ function bt() {
7157
7157
  }, D(), function() {
7158
7158
  W = !0, L = !1, N.current && (N.current = null), H?.(), y(null);
7159
7159
  };
7160
- } else (o === null || m === !1) && (O.current = 0, v(function(F) {
7160
+ } else (s === null || m === !1) && (O.current = 0, v(function(F) {
7161
7161
  var w;
7162
- return e(e({}, F), x.current && (w = {}, w[x.current] = U.ReadyState.CLOSED, w));
7162
+ return e(e({}, F), x.current && (w = {}, w[x.current] = b.ReadyState.CLOSED, w));
7163
7163
  }));
7164
- }, [o, m, M, R]), (0, p.useEffect)(function() {
7165
- P === U.ReadyState.OPEN && h.current.splice(0).forEach(function(H) {
7164
+ }, [s, m, M, R]), (0, p.useEffect)(function() {
7165
+ P === b.ReadyState.OPEN && h.current.splice(0).forEach(function(H) {
7166
7166
  R(H);
7167
7167
  });
7168
7168
  }, [P]), {
@@ -7174,7 +7174,7 @@ function bt() {
7174
7174
  getWebSocket: A
7175
7175
  };
7176
7176
  };
7177
- return Ie.useWebSocket = s, Ie;
7177
+ return Ie.useWebSocket = o, Ie;
7178
7178
  }
7179
7179
  var ka = {}, Sn;
7180
7180
  function ho() {
@@ -7184,7 +7184,7 @@ function ho() {
7184
7184
  return e = Object.assign || function(f) {
7185
7185
  for (var l, a = 1, i = arguments.length; a < i; a++) {
7186
7186
  l = arguments[a];
7187
- for (var s in l) Object.prototype.hasOwnProperty.call(l, s) && (f[s] = l[s]);
7187
+ for (var o in l) Object.prototype.hasOwnProperty.call(l, o) && (f[o] = l[o]);
7188
7188
  }
7189
7189
  return f;
7190
7190
  }, e.apply(this, arguments);
@@ -7204,15 +7204,15 @@ function ho() {
7204
7204
  type: a[0],
7205
7205
  payload: a[1]
7206
7206
  };
7207
- }, U = function(f, l, a) {
7207
+ }, b = function(f, l, a) {
7208
7208
  l === void 0 && (l = n.DEFAULT_OPTIONS), a === void 0 && (a = !0);
7209
7209
  var i = (0, r.useMemo)(function() {
7210
7210
  return e(e({}, l), { fromSocketIO: !0 });
7211
- }, []), s = (0, t.useWebSocket)(f, i, a), o = s.sendMessage, u = s.sendJsonMessage, m = s.lastMessage, c = s.readyState, d = s.getWebSocket, y = (0, r.useMemo)(function() {
7211
+ }, []), o = (0, t.useWebSocket)(f, i, a), s = o.sendMessage, u = o.sendJsonMessage, m = o.lastMessage, c = o.readyState, d = o.getWebSocket, y = (0, r.useMemo)(function() {
7212
7212
  return g(m);
7213
7213
  }, [m]);
7214
7214
  return {
7215
- sendMessage: o,
7215
+ sendMessage: s,
7216
7216
  sendJsonMessage: u,
7217
7217
  lastMessage: y,
7218
7218
  lastJsonMessage: y,
@@ -7220,42 +7220,42 @@ function ho() {
7220
7220
  getWebSocket: d
7221
7221
  };
7222
7222
  };
7223
- return ka.useSocketIO = U, ka;
7223
+ return ka.useSocketIO = b, ka;
7224
7224
  }
7225
7225
  var ua = {}, Dn;
7226
7226
  function To() {
7227
7227
  if (Dn) return ua;
7228
7228
  Dn = 1;
7229
7229
  var e = ua && ua.__assign || function() {
7230
- return e = Object.assign || function(U) {
7230
+ return e = Object.assign || function(b) {
7231
7231
  for (var f, l = 1, a = arguments.length; l < a; l++) {
7232
7232
  f = arguments[l];
7233
- for (var i in f) Object.prototype.hasOwnProperty.call(f, i) && (U[i] = f[i]);
7233
+ for (var i in f) Object.prototype.hasOwnProperty.call(f, i) && (b[i] = f[i]);
7234
7234
  }
7235
- return U;
7235
+ return b;
7236
7236
  }, e.apply(this, arguments);
7237
- }, r = ua && ua.__rest || function(U, f) {
7237
+ }, r = ua && ua.__rest || function(b, f) {
7238
7238
  var l = {};
7239
- for (var a in U) Object.prototype.hasOwnProperty.call(U, a) && f.indexOf(a) < 0 && (l[a] = U[a]);
7240
- if (U != null && typeof Object.getOwnPropertySymbols == "function")
7241
- for (var i = 0, a = Object.getOwnPropertySymbols(U); i < a.length; i++)
7242
- f.indexOf(a[i]) < 0 && Object.prototype.propertyIsEnumerable.call(U, a[i]) && (l[a[i]] = U[a[i]]);
7239
+ for (var a in b) Object.prototype.hasOwnProperty.call(b, a) && f.indexOf(a) < 0 && (l[a] = b[a]);
7240
+ if (b != null && typeof Object.getOwnPropertySymbols == "function")
7241
+ for (var i = 0, a = Object.getOwnPropertySymbols(b); i < a.length; i++)
7242
+ f.indexOf(a[i]) < 0 && Object.prototype.propertyIsEnumerable.call(b, a[i]) && (l[a[i]] = b[a[i]]);
7243
7243
  return l;
7244
7244
  };
7245
7245
  Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
7246
- var t = de, n = bt(), p = ra(), g = function(U, f, l) {
7246
+ var t = de, n = bt(), p = ra(), g = function(b, f, l) {
7247
7247
  f === void 0 && (f = p.DEFAULT_EVENT_SOURCE_OPTIONS);
7248
- var a = f.withCredentials, i = f.events, s = r(f, ["withCredentials", "events"]);
7248
+ var a = f.withCredentials, i = f.events, o = r(f, ["withCredentials", "events"]);
7249
7249
  l === void 0 && (l = !0);
7250
- var o = e(e({}, s), { eventSourceOptions: {
7250
+ var s = e(e({}, o), { eventSourceOptions: {
7251
7251
  withCredentials: a
7252
7252
  } }), u = (0, t.useRef)(p.EMPTY_EVENT_HANDLERS);
7253
7253
  i && (u.current = i);
7254
- var m = (0, n.useWebSocket)(U, o, l), c = m.lastMessage, d = m.readyState, y = m.getWebSocket;
7254
+ var m = (0, n.useWebSocket)(b, s, l), c = m.lastMessage, d = m.readyState, y = m.getWebSocket;
7255
7255
  return (0, t.useEffect)(function() {
7256
7256
  c?.type && Object.entries(u.current).forEach(function(_) {
7257
- var b = _[0], v = _[1];
7258
- b === c.type && v(c);
7257
+ var U = _[0], v = _[1];
7258
+ U === c.type && v(c);
7259
7259
  });
7260
7260
  }, [c]), {
7261
7261
  lastEvent: c,
@@ -7299,10 +7299,10 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7299
7299
  isInGameBox: n = !1,
7300
7300
  currentGamePlatform: p = ""
7301
7301
  }) => {
7302
- const { store: g, lng: U } = re(), { isReady: f, setAsReady: l, isPending: a, setAsPending: i } = Vn(), s = je(U), { mutateAsync: o } = Oo();
7302
+ const { store: g, lng: b } = re(), { isReady: f, setAsReady: l, isPending: a, setAsPending: i } = Vn(), o = je(b), { mutateAsync: s } = Oo();
7303
7303
  return !e || !r || !t ? { handleTransferInGame: () => {
7304
7304
  } } : { handleTransferInGame: async () => {
7305
- console.log("執行遊戲內轉帳"), n && await o({
7305
+ console.log("執行遊戲內轉帳"), n && await s({
7306
7306
  platform: p
7307
7307
  }).then((m) => {
7308
7308
  const { code: c, request_id: d } = m;
@@ -7311,7 +7311,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7311
7311
  l(), g.dispatch({
7312
7312
  type: "ui/openNotificationModal",
7313
7313
  payload: {
7314
- title: Qa[s] || "System Prompt",
7314
+ title: Qa[o] || "System Prompt",
7315
7315
  content: "點數轉入成功,請確認遊戲餘額",
7316
7316
  type: "success"
7317
7317
  }
@@ -7324,7 +7324,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7324
7324
  localStorage.setItem("transfer_in_game_request_id", d), i(), g.dispatch({
7325
7325
  type: "ui/openNotificationModal",
7326
7326
  payload: {
7327
- title: Qa[s] || "System Prompt",
7327
+ title: Qa[o] || "System Prompt",
7328
7328
  content: "您的上一筆訂單未完成,請耐心等候,我們正在為您處理",
7329
7329
  type: "warning"
7330
7330
  }
@@ -7496,7 +7496,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7496
7496
  } = {}) => {
7497
7497
  const r = Eo({ options: e.login }), t = No({ options: e.logout }), n = Lo({ options: e.register }), p = Mo({ options: e.updateUserInfo }), g = Go({
7498
7498
  options: e.toggleFavoriteGame
7499
- }), U = Ro({
7499
+ }), b = Ro({
7500
7500
  options: e.resetUserPassword
7501
7501
  }), f = Po({
7502
7502
  options: e.setUserTransactionPassword
@@ -7509,7 +7509,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7509
7509
  register: n,
7510
7510
  updateUserInfo: p,
7511
7511
  toggleFavoriteGame: g,
7512
- resetUserPassword: U,
7512
+ resetUserPassword: b,
7513
7513
  setUserTransactionPassword: f,
7514
7514
  resetUserTransactionPassword: l,
7515
7515
  userRebate: a,
@@ -7542,13 +7542,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7542
7542
  },
7543
7543
  enableNotification: g = !1
7544
7544
  }) => {
7545
- const { store: U, lng: f } = re(), l = Hn(), { isReady: a, setAsReady: i, isPending: s, setAsPending: o } = Vn(), u = je(f), m = ee(!1), c = ee(r), d = ge(n, "uid", null);
7545
+ const { store: b, lng: f } = re(), l = Hn(), { isReady: a, setAsReady: i, isPending: o, setAsPending: s } = Vn(), u = je(f), m = ee(!1), c = ee(r), d = ge(n, "uid", null);
7546
7546
  ge(n, "testFunction", 0);
7547
7547
  const y = new URLSearchParams(window.location.search), _ = ge(
7548
7548
  p,
7549
7549
  "enableTransferInGaming",
7550
7550
  !1
7551
- ), { mutateAsync: b } = tl({
7551
+ ), { mutateAsync: U } = tl({
7552
7552
  options: {
7553
7553
  onSuccess: (E) => {
7554
7554
  c.current.onLineLogin?.(E);
@@ -7561,7 +7561,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7561
7561
  c.current.onLineLogin?.(E);
7562
7562
  },
7563
7563
  onError: (E, P) => {
7564
- b(P);
7564
+ U(P);
7565
7565
  }
7566
7566
  }
7567
7567
  }), { handleTransferInGame: T } = Do({
@@ -7604,7 +7604,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7604
7604
  }, [x]);
7605
7605
  const h = I(
7606
7606
  (E, P) => {
7607
- g && U.dispatch({
7607
+ g && b.dispatch({
7608
7608
  type: "ui/openNotificationModal",
7609
7609
  payload: {
7610
7610
  title: Qa[u] || "System Prompt",
@@ -7614,7 +7614,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7614
7614
  }
7615
7615
  });
7616
7616
  },
7617
- [g, U, u]
7617
+ [g, b, u]
7618
7618
  );
7619
7619
  me(() => {
7620
7620
  c.current = r;
@@ -7684,7 +7684,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7684
7684
  ), _e = localStorage.getItem(
7685
7685
  "transfer_in_game_request_id"
7686
7686
  );
7687
- if (s) {
7687
+ if (o) {
7688
7688
  localStorage.setItem("transfer_in_game_request_id", pe);
7689
7689
  return;
7690
7690
  } else if (_e && _e === pe) {
@@ -7692,7 +7692,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7692
7692
  T();
7693
7693
  return;
7694
7694
  }
7695
- localStorage.removeItem("transfer_in_game_request_id"), i(), U.dispatch({
7695
+ localStorage.removeItem("transfer_in_game_request_id"), i(), b.dispatch({
7696
7696
  type: "ui/openNotificationModal",
7697
7697
  payload: {
7698
7698
  title: Qa[u] || "System Prompt",
@@ -7734,11 +7734,11 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7734
7734
  }, [
7735
7735
  C,
7736
7736
  d,
7737
- U,
7737
+ b,
7738
7738
  l,
7739
7739
  u,
7740
7740
  h,
7741
- s,
7741
+ o,
7742
7742
  T,
7743
7743
  _,
7744
7744
  i
@@ -7747,13 +7747,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7747
7747
  const E = localStorage.getItem(
7748
7748
  "transfer_in_game_request_id"
7749
7749
  );
7750
- E && d && s && S({
7750
+ E && d && o && S({
7751
7751
  type: He.CHECK_REQUEST,
7752
7752
  request_id: E,
7753
7753
  member_info_uid: d
7754
7754
  });
7755
7755
  }
7756
- }, [d, s, S, _]), {
7756
+ }, [d, o, S, _]), {
7757
7757
  sendMessage: x,
7758
7758
  sendJsonMessage: S,
7759
7759
  readyState: O
@@ -7762,8 +7762,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7762
7762
  }, Ji = () => {
7763
7763
  const { client: e } = re(), r = I(
7764
7764
  async ({ paramsData: g } = {}) => {
7765
- const { uid: U } = g || {};
7766
- return await e.get(`/event/list${U ? `/${U}` : ""}`);
7765
+ const { uid: b } = g || {};
7766
+ return await e.get(`/event/list${b ? `/${b}` : ""}`);
7767
7767
  },
7768
7768
  [e]
7769
7769
  ), t = I(
@@ -7773,17 +7773,17 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7773
7773
  [e]
7774
7774
  ), n = I(
7775
7775
  async (g = {}) => {
7776
- const { event_uid: U } = g || {};
7777
- return await e.get(`/event/${U}/memberGetEventRewards`, {
7778
- event_uid: U
7776
+ const { event_uid: b } = g || {};
7777
+ return await e.get(`/event/${b}/memberGetEventRewards`, {
7778
+ event_uid: b
7779
7779
  });
7780
7780
  },
7781
7781
  [e]
7782
7782
  ), p = I(
7783
7783
  async (g = {}) => {
7784
- const { currency: U, event_uid: f } = g || {};
7784
+ const { currency: b, event_uid: f } = g || {};
7785
7785
  return await e.post("/event/checkMemberEventsStatus", {
7786
- currency: U,
7786
+ currency: b,
7787
7787
  event_uid: f
7788
7788
  });
7789
7789
  },
@@ -7796,19 +7796,17 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7796
7796
  redeemEventRewardApi: n
7797
7797
  };
7798
7798
  }, zo = ({ paramsData: e, options: r } = {}) => {
7799
- const { store: t, lng: n, data2URL: p } = re(), { eventListApi: g } = Ji(), U = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", f = je(n);
7799
+ const { store: t, lng: n, data2URL: p } = re(), { eventListApi: g } = Ji(), b = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", f = je(n);
7800
7800
  return ne({
7801
7801
  queryKey: ["eventList", e],
7802
7802
  queryFn: () => g({ paramsData: e }),
7803
7803
  select: (l) => {
7804
7804
  const { data: a } = l;
7805
- return We(a, (s) => {
7806
- const { events_attributes: o } = s, u = $e(
7807
- o,
7808
- (T) => T.attribute_currency === U
7809
- ) || o[0], m = ge(u, "rewards", {}), c = ge(s, "carousels.[0]", {}), d = $e(c.carousels_lang, (T) => T.lang === f) || c?.carousels_lang?.[0];
7810
- console.log(d);
7811
- const y = {
7805
+ return We(a, (o) => {
7806
+ const { events_attributes: s } = o, u = $e(
7807
+ s,
7808
+ (T) => T.attribute_currency === b
7809
+ ) || s[0], m = ge(u, "rewards", {}), c = ge(o, "carousels.[0]", {}), d = $e(c.carousels_lang, (T) => T.lang === f) || c?.carousels_lang?.[0], y = {
7812
7810
  ...c,
7813
7811
  currentLngCarousel: {
7814
7812
  ...d,
@@ -7818,52 +7816,52 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7818
7816
  carouselCurrentLanguageS3MBImageUrl: `${Qe}/carousels/${d?.image_mobile}`
7819
7817
  }
7820
7818
  }, _ = {
7821
- eventUid: s.uid,
7822
- enableCurrencyLimit: s.enable_currency_limit,
7819
+ eventUid: o.uid,
7820
+ enableCurrencyLimit: o.enable_currency_limit,
7823
7821
  //是否啟用幣別限制
7824
- endTime: s.end_time,
7822
+ endTime: o.end_time,
7825
7823
  //結束時間
7826
- startTime: s.start_time,
7824
+ startTime: o.start_time,
7827
7825
  //開始時間
7828
- eventCode: s.event_code,
7826
+ eventCode: o.event_code,
7829
7827
  //活動代碼
7830
- eventShowType: s.event_show_type,
7828
+ eventShowType: o.event_show_type,
7831
7829
  //活動顯示類型
7832
- isActive: s.is_active === 1,
7830
+ isActive: o.is_active === 1,
7833
7831
  //是否啟用
7834
- isShowCarousel: s.is_show_carousel === 1,
7832
+ isShowCarousel: o.is_show_carousel === 1,
7835
7833
  //是否顯示輪播
7836
- isShowPopup: s.is_show_pop_up === 1,
7834
+ isShowPopup: o.is_show_pop_up === 1,
7837
7835
  //是否顯示彈跳視窗
7838
- lastSettleDate: s.last_settle_date,
7836
+ lastSettleDate: o.last_settle_date,
7839
7837
  //上次結算日期
7840
- nextSettleDate: s.next_settle_date,
7838
+ nextSettleDate: o.next_settle_date,
7841
7839
  //下次結算日期
7842
- participatingPlatforms: s.participating_platforms,
7840
+ participatingPlatforms: o.participating_platforms,
7843
7841
  //參與平台
7844
- resetCycle: s.reset_cycle,
7842
+ resetCycle: o.reset_cycle,
7845
7843
  //重置週期
7846
- settlementHour: s.settlement_hour,
7844
+ settlementHour: o.settlement_hour,
7847
7845
  //結算小時
7848
- settlementInterval: s.settlement_interval,
7846
+ settlementInterval: o.settlement_interval,
7849
7847
  //結算間隔
7850
- settlementIntervalCount: s.settlement_interval_count,
7848
+ settlementIntervalCount: o.settlement_interval_count,
7851
7849
  //結算間隔次數
7852
- singleAmountTarget: s.single_amount_target,
7850
+ singleAmountTarget: o.single_amount_target,
7853
7851
  //單次目標金額
7854
- subType: s.subtype,
7852
+ subType: o.subtype,
7855
7853
  //活動子類型
7856
- type: s.type,
7854
+ type: o.type,
7857
7855
  //活動類型
7858
- valueBasis: s.value_basis,
7856
+ valueBasis: o.value_basis,
7859
7857
  //數值基準
7860
- vipGroup: s.vip_group,
7858
+ vipGroup: o.vip_group,
7861
7859
  // VIP 群組
7862
- tagsGroup: s.tags_group,
7860
+ tagsGroup: o.tags_group,
7863
7861
  //標籤群組
7864
7862
  eventBg: Jn(),
7865
- eventIcon: Zn(s.type)
7866
- }, b = {
7863
+ eventIcon: Zn(o.type)
7864
+ }, U = {
7867
7865
  isActive: u.attribute_is_active === 1,
7868
7866
  //是否啟用
7869
7867
  currencyCode: u.attribute_currency,
@@ -7902,7 +7900,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7902
7900
  };
7903
7901
  return {
7904
7902
  eventBase: _,
7905
- eventAttribute: b,
7903
+ eventAttribute: U,
7906
7904
  eventReward: v,
7907
7905
  eventCarousel: { ...y }
7908
7906
  };
@@ -7971,10 +7969,10 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7971
7969
  const p = window.carousels_list;
7972
7970
  return p || await t();
7973
7971
  },
7974
- select: (p) => p.map((U) => {
7975
- const { carousels_lang: f } = U, l = f?.find((a) => a.lang === n) || f[0];
7972
+ select: (p) => p.map((b) => {
7973
+ const { carousels_lang: f } = b, l = f?.find((a) => a.lang === n) || f[0];
7976
7974
  return {
7977
- ...U,
7975
+ ...b,
7978
7976
  carouselCurrentLanguageData: l,
7979
7977
  carouselCurrentLanguagePCImageUrl: `${r}/carousels/${l.image_pc}`,
7980
7978
  carouselCurrentLanguageMBImageUrl: `${r}/carousels/${l.image_mobile}`,
@@ -7994,7 +7992,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
7994
7992
  },
7995
7993
  select: (n) => {
7996
7994
  const p = la(n) ? n : n.Marquees;
7997
- return We(p, (U) => U[t] || U["en-US"]);
7995
+ return We(p, (b) => b[t] || b["en-US"]);
7998
7996
  }
7999
7997
  });
8000
7998
  }, Rm = ({ options: e } = {}) => {
@@ -8007,17 +8005,17 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8007
8005
  const { data: n } = t;
8008
8006
  return We(n, (g) => {
8009
8007
  const {
8010
- game_uid: U,
8008
+ game_uid: b,
8011
8009
  game_code: f,
8012
8010
  game_name_en: l,
8013
8011
  game_platform_uid: a,
8014
8012
  memId: i,
8015
- platform: s,
8016
- popularity_ranking: o,
8013
+ platform: o,
8014
+ popularity_ranking: s,
8017
8015
  profit: u
8018
8016
  } = g;
8019
8017
  return {
8020
- gameUid: U,
8018
+ gameUid: b,
8021
8019
  //遊戲UID
8022
8020
  gameCode: f,
8023
8021
  //遊戲代碼
@@ -8027,9 +8025,9 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8027
8025
  //遊戲平台UID
8028
8026
  memId: i,
8029
8027
  //會員ID
8030
- platform: s,
8028
+ platform: o,
8031
8029
  //平台
8032
- popularityRanking: o,
8030
+ popularityRanking: s,
8033
8031
  //人氣排名
8034
8032
  profit: u
8035
8033
  //winloss
@@ -8043,15 +8041,15 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8043
8041
  return ne({
8044
8042
  queryKey: ["inboxList"],
8045
8043
  queryFn: async () => await r(),
8046
- select: (U) => {
8047
- const { data: f } = U;
8044
+ select: (b) => {
8045
+ const { data: f } = b;
8048
8046
  return We(f, (a) => {
8049
8047
  const { internal_notifications_language: i } = a;
8050
8048
  return {
8051
8049
  ...a,
8052
8050
  notificationLng: $e(
8053
8051
  i,
8054
- (s) => s.language === g
8052
+ (o) => o.language === g
8055
8053
  ) || i[0]
8056
8054
  };
8057
8055
  });
@@ -8138,11 +8136,11 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8138
8136
  return ne({
8139
8137
  queryKey: ["newsList"],
8140
8138
  queryFn: () => {
8141
- const { uid: g, params: U } = r || {};
8142
- return n({ uid: g, params: U });
8139
+ const { uid: g, params: b } = r || {};
8140
+ return n({ uid: g, params: b });
8143
8141
  },
8144
8142
  select: (g) => {
8145
- const { data: U } = g, f = U.data?.filter((a) => a.is_active === 1), l = We(f, (a) => {
8143
+ const { data: b } = g, f = b.data?.filter((a) => a.is_active === 1), l = We(f, (a) => {
8146
8144
  const i = $e(a.news_language, {
8147
8145
  language: p
8148
8146
  }) || a.news_language[0];
@@ -8164,29 +8162,29 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8164
8162
  return ne({
8165
8163
  queryKey: ["newsList"],
8166
8164
  queryFn: () => {
8167
- const { uid: g, params: U } = r || {};
8168
- return n({ uid: g, params: U });
8165
+ const { uid: g, params: b } = r || {};
8166
+ return n({ uid: g, params: b });
8169
8167
  },
8170
8168
  select: (g) => {
8171
- const U = $e(g.data.news_language, {
8169
+ const b = $e(g.data.news_language, {
8172
8170
  language: p
8173
8171
  }) || g.data.news_language[0];
8174
8172
  return {
8175
8173
  ...g.data,
8176
- currentLngData: U
8174
+ currentLngData: b
8177
8175
  };
8178
8176
  },
8179
8177
  ...e
8180
8178
  });
8181
8179
  }, Ye = () => {
8182
8180
  const { client: e } = re(), r = I(async () => await e.get("/payment/list"), [e]), t = I(
8183
- async ({ paramsData: o }) => await e.get("/thirdPartyPayment/list", {
8184
- params: { ...o }
8181
+ async ({ paramsData: s }) => await e.get("/thirdPartyPayment/list", {
8182
+ params: { ...s }
8185
8183
  }),
8186
8184
  [e]
8187
8185
  ), n = I(
8188
- async (o) => {
8189
- const { deposit_amount: u, method_id: m, currency_code: c, provider_uid: d } = o;
8186
+ async (s) => {
8187
+ const { deposit_amount: u, method_id: m, currency_code: c, provider_uid: d } = s;
8190
8188
  return await e.post("/thirdPartyPayment/deposit", {
8191
8189
  deposit: {
8192
8190
  deposit_amount: u,
@@ -8198,8 +8196,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8198
8196
  },
8199
8197
  [e]
8200
8198
  ), p = I(
8201
- async (o) => {
8202
- const { bank_uid: u, amount: m, bank_number_last5: c, postscript: d } = o;
8199
+ async (s) => {
8200
+ const { bank_uid: u, amount: m, bank_number_last5: c, postscript: d } = s;
8203
8201
  return await e.post("/vip/deposit", {
8204
8202
  bank_uid: u,
8205
8203
  amount: m,
@@ -8209,13 +8207,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8209
8207
  },
8210
8208
  [e]
8211
8209
  ), g = I(
8212
- async (o) => {
8210
+ async (s) => {
8213
8211
  const {
8214
8212
  withdrawal_amount: u,
8215
8213
  bank_account_number: m,
8216
8214
  currency_code: c,
8217
8215
  withdrawal_code: d
8218
- } = o;
8216
+ } = s;
8219
8217
  return await e.post("/thirdPartyPayment/withdraw", {
8220
8218
  withdraw: {
8221
8219
  withdrawal_amount: u,
@@ -8227,9 +8225,9 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8227
8225
  });
8228
8226
  },
8229
8227
  [e]
8230
- ), U = I(
8231
- async ({ paramsData: o } = {}) => {
8232
- const { str_date: u, end_date: m, limit: c = 25, current_page: d } = o || {}, y = Fe().format("HH:mm:ss"), _ = Fe().subtract(24, "hour").format("HH:mm:ss");
8228
+ ), b = I(
8229
+ async ({ paramsData: s } = {}) => {
8230
+ const { str_date: u, end_date: m, limit: c = 25, current_page: d } = s || {}, y = Fe().format("HH:mm:ss"), _ = Fe().subtract(24, "hour").format("HH:mm:ss");
8233
8231
  return await e.get("/report/deposit", {
8234
8232
  params: {
8235
8233
  str_date: `${Fe(u).format("YYYY-MM-DD")} ${y}`,
@@ -8241,8 +8239,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8241
8239
  },
8242
8240
  [e]
8243
8241
  ), f = I(
8244
- async ({ paramsData: o }) => {
8245
- const { str_date: u, end_date: m, limit: c = 25, current_page: d } = o || {}, y = Fe().format("HH:mm:ss"), _ = Fe().subtract(24, "hour").format("HH:mm:ss");
8242
+ async ({ paramsData: s }) => {
8243
+ const { str_date: u, end_date: m, limit: c = 25, current_page: d } = s || {}, y = Fe().format("HH:mm:ss"), _ = Fe().subtract(24, "hour").format("HH:mm:ss");
8246
8244
  return await e.get("report/eventsreward", {
8247
8245
  params: {
8248
8246
  str_date: `${Fe(u).format("YYYY-MM-DD")} ${y}`,
@@ -8254,8 +8252,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8254
8252
  },
8255
8253
  [e]
8256
8254
  ), l = I(
8257
- async ({ paramsData: o } = {}) => {
8258
- const { str_date: u, end_date: m, limit: c = 25, current_page: d } = o || {};
8255
+ async ({ paramsData: s } = {}) => {
8256
+ const { str_date: u, end_date: m, limit: c = 25, current_page: d } = s || {};
8259
8257
  return await e.get("/report/withdraw", {
8260
8258
  params: {
8261
8259
  str_date: `${Fe(u).format("YYYY-MM-DD")} 12:00:00`,
@@ -8267,23 +8265,23 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8267
8265
  },
8268
8266
  [e]
8269
8267
  ), a = I(
8270
- async (o) => {
8271
- const { redeem_code: u } = o;
8268
+ async (s) => {
8269
+ const { redeem_code: u } = s;
8272
8270
  return await e.post(`/sn/redeem/${u}`);
8273
8271
  },
8274
8272
  [e]
8275
8273
  ), i = I(
8276
- async (o) => {
8277
- const { type: u, code: m } = o;
8274
+ async (s) => {
8275
+ const { type: u, code: m } = s;
8278
8276
  return await e.post("/member/invoice", {
8279
8277
  type: u,
8280
8278
  code: m
8281
8279
  });
8282
8280
  },
8283
8281
  [e]
8284
- ), s = I(
8285
- async (o) => {
8286
- const { type: u, code: m, uid: c } = o;
8282
+ ), o = I(
8283
+ async (s) => {
8284
+ const { type: u, code: m, uid: c } = s;
8287
8285
  return await e.put(`/member/invoice/${c}`, {
8288
8286
  type: u,
8289
8287
  code: m
@@ -8297,12 +8295,12 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8297
8295
  depositApi: n,
8298
8296
  bankDepositApi: p,
8299
8297
  withdrawApi: g,
8300
- depositTransactionApi: U,
8298
+ depositTransactionApi: b,
8301
8299
  eventTransactionApi: f,
8302
8300
  withdrawTransactionApi: l,
8303
8301
  redeemCodeDepositApi: a,
8304
8302
  invoiceApi: i,
8305
- updateInvoiceApi: s
8303
+ updateInvoiceApi: o
8306
8304
  };
8307
8305
  }, qo = ({ options: e } = {}) => {
8308
8306
  const { depositApiV1: r } = Ye();
@@ -8317,7 +8315,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8317
8315
  queryKey: ["depositV2", e],
8318
8316
  queryFn: () => t({ paramsData: e }),
8319
8317
  select: (n) => {
8320
- const { third_party: p, bank: g, vip: U } = n, f = We(p, (l) => ({
8318
+ const { third_party: p, bank: g, vip: b } = n, f = We(p, (l) => ({
8321
8319
  ...l,
8322
8320
  providerList: We(l.providers, (a) => ({
8323
8321
  ...a,
@@ -8330,7 +8328,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8330
8328
  }));
8331
8329
  return {
8332
8330
  bank: g,
8333
- vip: U,
8331
+ vip: b,
8334
8332
  thirdParty: f
8335
8333
  };
8336
8334
  },
@@ -8406,18 +8404,18 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8406
8404
  depositAction: n = {},
8407
8405
  withdrawAction: p = {},
8408
8406
  bankDeposit: g = {},
8409
- eventTransaction: U = {},
8407
+ eventTransaction: b = {},
8410
8408
  withdrawTransaction: f = {}
8411
8409
  } = {}) => {
8412
- const l = qo(e), a = $o(r), i = Yo(t), s = Qo(n), o = jo(p), u = es(g), m = Xo(U), c = as(
8410
+ const l = qo(e), a = $o(r), i = Yo(t), o = Qo(n), s = jo(p), u = es(g), m = Xo(b), c = as(
8413
8411
  f
8414
8412
  );
8415
8413
  return {
8416
8414
  depositV1: l,
8417
8415
  depositV2: a,
8418
8416
  depositTransaction: i,
8419
- depositAction: s,
8420
- withdrawAction: o,
8417
+ depositAction: o,
8418
+ withdrawAction: s,
8421
8419
  bankDepositAction: u,
8422
8420
  eventTransaction: m,
8423
8421
  withdrawTransaction: c
@@ -8427,13 +8425,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8427
8425
  return e.forEach((t, n) => r[t] = n), r;
8428
8426
  })($a), ns = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Gn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), rl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (r) => r == "+" ? "-" : "_"), ol = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), sl = (e) => {
8429
8427
  let r, t, n, p, g = "";
8430
- const U = e.length % 3;
8428
+ const b = e.length % 3;
8431
8429
  for (let f = 0; f < e.length; ) {
8432
8430
  if ((t = e.charCodeAt(f++)) > 255 || (n = e.charCodeAt(f++)) > 255 || (p = e.charCodeAt(f++)) > 255)
8433
8431
  throw new TypeError("invalid character found");
8434
8432
  r = t << 16 | n << 8 | p, g += $a[r >> 18 & 63] + $a[r >> 12 & 63] + $a[r >> 6 & 63] + $a[r & 63];
8435
8433
  }
8436
- return U ? g.slice(0, U - 3) + "===".substring(U) : g;
8434
+ return b ? g.slice(0, b - 3) + "===".substring(b) : g;
8437
8435
  }, Ct = typeof btoa == "function" ? (e) => btoa(e) : Ha ? (e) => Buffer.from(e, "binary").toString("base64") : sl, rt = Ha ? (e) => Buffer.from(e).toString("base64") : (e) => {
8438
8436
  let t = [];
8439
8437
  for (let n = 0, p = e.length; n < p; n += 4096)
@@ -8525,17 +8523,17 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8525
8523
  return ne({
8526
8524
  queryKey: ["playGame"],
8527
8525
  queryFn: async () => {
8528
- const { gameUid: n, gameCode: p, isMobile: g, gameCurrency: U, currentCurrency: f } = e || {}, l = await t({
8526
+ const { gameUid: n, gameCode: p, isMobile: g, gameCurrency: b, currentCurrency: f } = e || {}, l = await t({
8529
8527
  gameUid: n,
8530
8528
  gameCode: p,
8531
8529
  isMobile: g,
8532
- gameCurrency: U,
8530
+ gameCurrency: b,
8533
8531
  currentCurrency: f
8534
8532
  }), {
8535
8533
  game_currency: a,
8536
8534
  lang: i,
8537
- not_support_iframe: s,
8538
- portrait: o,
8535
+ not_support_iframe: o,
8536
+ portrait: s,
8539
8537
  url: u,
8540
8538
  is_html_code: m,
8541
8539
  message: c
@@ -8543,8 +8541,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8543
8541
  return {
8544
8542
  gameCurrency: a,
8545
8543
  lang: i,
8546
- supportIframe: !s,
8547
- supportPortrait: o,
8544
+ supportIframe: !o,
8545
+ supportPortrait: s,
8548
8546
  isHtmlCode: m,
8549
8547
  gameUrl: u,
8550
8548
  decodeGameUrl: gs.decode(u),
@@ -8588,13 +8586,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8588
8586
  };
8589
8587
  }, ja = () => {
8590
8588
  const { client: e } = re(), r = I(
8591
- async ({ uid: U, params: f } = {}) => await e.get(`/memberRewards${U ? `/${U}` : ""}`, {
8589
+ async ({ uid: b, params: f } = {}) => await e.get(`/memberRewards${b ? `/${b}` : ""}`, {
8592
8590
  params: f
8593
8591
  }),
8594
8592
  [e]
8595
8593
  ), t = I(async () => await e.get("/memberRewards/member/unused"), [e]), n = I(async () => await e.get("/memberRewards/member/expired"), [e]), p = I(
8596
- async (U) => await e.post("/memberRewards/memberGetRewards", {
8597
- memberRewards_uid: U
8594
+ async (b) => await e.post("/memberRewards/memberGetRewards", {
8595
+ memberRewards_uid: b
8598
8596
  }),
8599
8597
  [e]
8600
8598
  ), g = I(async () => await e.get("/memberRewards/member/history"), [e]);
@@ -8617,23 +8615,23 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8617
8615
  const n = We(t.data, (p) => {
8618
8616
  const {
8619
8617
  wagering_restricted_amount: g,
8620
- claimed_amount: U
8618
+ claimed_amount: b
8621
8619
  } = p, f = ge(p, "rewards", {}), {
8622
8620
  expiration_days: l,
8623
8621
  name: a,
8624
8622
  position: i,
8625
- type: s,
8626
- uid: o
8623
+ type: o,
8624
+ uid: s
8627
8625
  } = f;
8628
8626
  return {
8629
8627
  ...p,
8630
8628
  rewardExpirationDays: l,
8631
8629
  rewardName: a,
8632
8630
  rewardPosition: i,
8633
- rewardType: s,
8634
- rewardUid: o,
8631
+ rewardType: o,
8632
+ rewardUid: s,
8635
8633
  rewardWagering: g,
8636
- rewardAmount: U,
8634
+ rewardAmount: b,
8637
8635
  rewardBg: Jn(),
8638
8636
  rewardIcon: Zn("win")
8639
8637
  };
@@ -8734,12 +8732,12 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
8734
8732
  vip_criteria: l,
8735
8733
  vip_payment_tags: a,
8736
8734
  vip_withdrawal_rate: i,
8737
- rebate_range: s,
8738
- vip_game_rebate: o
8739
- } = f, u = $e(l, { currency_code: t }) || {}, m = $e(a, { currency_code: t }) || {}, c = i, d = We(s, (b) => ({
8740
- ...b,
8741
- rebateRange: JSON.parse(b.rebate_range)
8742
- })), y = ge(o, "[0]", {}), _ = {
8735
+ rebate_range: o,
8736
+ vip_game_rebate: s
8737
+ } = f, u = $e(l, { currency_code: t }) || {}, m = $e(a, { currency_code: t }) || {}, c = i, d = We(o, (U) => ({
8738
+ ...U,
8739
+ rebateRange: JSON.parse(U.rebate_range)
8740
+ })), y = ge(s, "[0]", {}), _ = {
8743
8741
  ...y,
8744
8742
  platformRebate: JSON.parse(y.rebate || "{}")
8745
8743
  };
@@ -8777,11 +8775,11 @@ var vs = Object.create, Cl = Object.defineProperty, hs = Object.getOwnPropertyDe
8777
8775
  return function(m, c) {
8778
8776
  return u.set(m, c), c;
8779
8777
  };
8780
- }, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER, U = 536870912, f = U * 2, l = function(u, m) {
8778
+ }, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER, b = 536870912, f = b * 2, l = function(u, m) {
8781
8779
  return function(c) {
8782
8780
  var d = m.get(c), y = d === void 0 ? c.size : d < f ? d + 1 : 0;
8783
8781
  if (!c.has(y)) return u(c, y);
8784
- if (c.size < U) {
8782
+ if (c.size < b) {
8785
8783
  for (; c.has(y); ) y = Math.floor(Math.random() * f);
8786
8784
  return u(c, y);
8787
8785
  }
@@ -8789,8 +8787,8 @@ var vs = Object.create, Cl = Object.defineProperty, hs = Object.getOwnPropertyDe
8789
8787
  for (; c.has(y); ) y = Math.floor(Math.random() * g);
8790
8788
  return u(c, y);
8791
8789
  };
8792
- }, a = /* @__PURE__ */ new WeakMap(), i = p(a), s = l(i, a), o = n(s);
8793
- t.addUniqueNumber = o, t.generateUniqueNumber = s;
8790
+ }, a = /* @__PURE__ */ new WeakMap(), i = p(a), o = l(i, a), s = n(o);
8791
+ t.addUniqueNumber = s, t.generateUniqueNumber = o;
8794
8792
  });
8795
8793
  });
8796
8794
  Es(Ns());
@@ -8902,8 +8900,8 @@ var Ps = class {
8902
8900
  });
8903
8901
  }, this.options.fallbackInterval), this.intervals.push(r);
8904
8902
  let p = (g) => {
8905
- let { action: U } = g.data;
8906
- U === 2 && this.apply().then(() => {
8903
+ let { action: b } = g.data;
8904
+ b === 2 && this.apply().then(() => {
8907
8905
  this.isLeader && n();
8908
8906
  });
8909
8907
  };
@@ -9055,13 +9053,13 @@ function it(e, r) {
9055
9053
  };
9056
9054
  }
9057
9055
  var Te = () => Date.now(), wa = 2147483647;
9058
- function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle: t = 0, element: n = ws, events: p = As, timers: g = void 0, immediateEvents: U = [], onPresenceChange: f = () => {
9056
+ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle: t = 0, element: n = ws, events: p = As, timers: g = void 0, immediateEvents: b = [], onPresenceChange: f = () => {
9059
9057
  }, onPrompt: l = () => {
9060
9058
  }, onIdle: a = () => {
9061
9059
  }, onActive: i = () => {
9062
- }, onAction: s = () => {
9063
- }, onMessage: o = () => {
9064
- }, debounce: u = 0, throttle: m = 0, eventsThrottle: c = 200, startOnMount: d = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: b = !1, name: v = "idle-timer", syncTimers: T = 0, leaderElection: x = !1, disabled: S = !1 } = {}) {
9060
+ }, onAction: o = () => {
9061
+ }, onMessage: s = () => {
9062
+ }, debounce: u = 0, throttle: m = 0, eventsThrottle: c = 200, startOnMount: d = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: v = "idle-timer", syncTimers: T = 0, leaderElection: x = !1, disabled: S = !1 } = {}) {
9065
9063
  let G = ee(Te()), O = ee(Te()), C = ee(null), h = ee(null), N = ee(0), E = ee(0), P = ee(0), M = ee(0), R = ee(!1), B = ee(!1), A = ee(!1), H = ee(!0), W = ee(!1), L = ee(null), D = ee(null), F = ee(e), w = ee(0);
9066
9064
  me(() => {
9067
9065
  if (r && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), t && r) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
@@ -9078,7 +9076,7 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9078
9076
  me(() => {
9079
9077
  K.current = _;
9080
9078
  }, [_]);
9081
- let $ = ee(U), Q = ee(n), J = ee([...(/* @__PURE__ */ new Set([...p, ...U])).values()]), X = ee(S);
9079
+ let $ = ee(b), Q = ee(n), J = ee([...(/* @__PURE__ */ new Set([...p, ...b])).values()]), X = ee(S);
9082
9080
  me(() => {
9083
9081
  X.current = S, !H.current && (S ? ze() : y || Je());
9084
9082
  }, [S]);
@@ -9098,23 +9096,23 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9098
9096
  me(() => {
9099
9097
  oe.current = i;
9100
9098
  }, [i]);
9101
- let fe = ee(s);
9102
- me(() => {
9103
- fe.current = s;
9104
- }, [s]);
9105
- let ke = ee(o);
9099
+ let fe = ee(o);
9106
9100
  me(() => {
9107
- ke.current = o;
9101
+ fe.current = o;
9108
9102
  }, [o]);
9103
+ let ke = ee(s);
9104
+ me(() => {
9105
+ ke.current = s;
9106
+ }, [s]);
9109
9107
  let _e = Oa(() => {
9110
9108
  let V = (De, ta) => fe.current(De, ta);
9111
9109
  return u > 0 ? Os(V, u) : m > 0 ? it(V, m) : V;
9112
9110
  }, [m, u]), Xe = ee();
9113
9111
  me(() => {
9114
- b && T && (Xe.current = it(() => {
9112
+ U && T && (Xe.current = it(() => {
9115
9113
  D.current.active();
9116
9114
  }, T));
9117
- }, [b, T]);
9115
+ }, [U, T]);
9118
9116
  let Ce = () => {
9119
9117
  L.current !== null && (qe.clearTimeout(L.current), L.current = null);
9120
9118
  }, Ge = (V, De = !0) => {
@@ -9148,12 +9146,12 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9148
9146
  Oe(V);
9149
9147
  return;
9150
9148
  }
9151
- A.current = !1, M.current = 0, P.current = 0, Ge(), b && T && Xe.current();
9149
+ A.current = !1, M.current = 0, P.current = 0, Ge(), U && T && Xe.current();
9152
9150
  }, ia = ee(aa);
9153
9151
  me(() => {
9154
9152
  let V = W.current;
9155
9153
  V && Re(), c > 0 ? ia.current = it(aa, c) : ia.current = aa, V && xe();
9156
- }, [c, m, u, fe, b, T]);
9154
+ }, [c, m, u, fe, U, T]);
9157
9155
  let xe = () => {
9158
9156
  pa && Q.current && (W.current || (J.current.forEach((V) => {
9159
9157
  Q.current.addEventListener(V, ia.current, { capture: !0, passive: !0 });
@@ -9162,7 +9160,7 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9162
9160
  pa && Q.current && (W.current || V) && (J.current.forEach((De) => {
9163
9161
  Q.current.removeEventListener(De, ia.current, { capture: !0 });
9164
9162
  }), W.current = !1);
9165
- }, Je = I((V) => X.current ? !1 : (Ce(), xe(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !V && D.current.start(), Ge(), !0), [L, R, X, F, D]), oa = I((V) => X.current ? !1 : (Ce(), xe(), O.current = Te(), N.current += Te() - C.current, E.current += Te() - C.current, N.current = 0, R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !V && D.current.reset(), y || Ge(), !0), [L, R, F, y, X, D]), ga = I((V) => X.current ? !1 : (Ce(), xe(), (R.current || B.current) && ve(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, O.current = Te(), D.current && !V && D.current.activate(), Ge(), !0), [L, R, B, X, F, D]), ze = I((V = !1) => X.current || A.current ? !1 : (M.current = Ua(), A.current = !0, Re(), Ce(), D.current && !V && D.current.pause(), !0), [L, X, D]), Ke = I((V = !1) => X.current || !A.current ? !1 : (A.current = !1, B.current || xe(), R.current || Ge(M.current), P.current && (P.current = Te()), D.current && !V && D.current.resume(), !0), [L, F, X, M, D]), Wa = I((V, De) => (D.current ? (De && ke.current(V, Se), D.current.message(V)) : De && ke.current(V, Se), !0), [o]), Ea = I(() => R.current, [R]), Na = I(() => B.current, [B]), za = I(() => D.current ? D.current.isLeader : null, [D]), Ia = I(() => D.current ? D.current.isLastActive : null, [D]), da = I(() => D.current ? D.current.token : null, [D]), Ua = I(() => {
9163
+ }, Je = I((V) => X.current ? !1 : (Ce(), xe(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !V && D.current.start(), Ge(), !0), [L, R, X, F, D]), oa = I((V) => X.current ? !1 : (Ce(), xe(), O.current = Te(), N.current += Te() - C.current, E.current += Te() - C.current, N.current = 0, R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !V && D.current.reset(), y || Ge(), !0), [L, R, F, y, X, D]), ga = I((V) => X.current ? !1 : (Ce(), xe(), (R.current || B.current) && ve(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, O.current = Te(), D.current && !V && D.current.activate(), Ge(), !0), [L, R, B, X, F, D]), ze = I((V = !1) => X.current || A.current ? !1 : (M.current = Ua(), A.current = !0, Re(), Ce(), D.current && !V && D.current.pause(), !0), [L, X, D]), Ke = I((V = !1) => X.current || !A.current ? !1 : (A.current = !1, B.current || xe(), R.current || Ge(M.current), P.current && (P.current = Te()), D.current && !V && D.current.resume(), !0), [L, F, X, M, D]), Wa = I((V, De) => (D.current ? (De && ke.current(V, Se), D.current.message(V)) : De && ke.current(V, Se), !0), [s]), Ea = I(() => R.current, [R]), Na = I(() => B.current, [B]), za = I(() => D.current ? D.current.isLeader : null, [D]), Ia = I(() => D.current ? D.current.isLastActive : null, [D]), da = I(() => D.current ? D.current.token : null, [D]), Ua = I(() => {
9166
9164
  if (A.current) return M.current;
9167
9165
  let V = M.current ? M.current : w.current + F.current, De = h.current ? Te() - h.current : 0, ta = Math.floor(V - De);
9168
9166
  return ta < 0 ? 0 : Math.abs(ta);
@@ -9183,7 +9181,7 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9183
9181
  pa && window.removeEventListener("beforeunload", V), D.current && D.current.close(), _e.cancel && _e.cancel(), Ce(), Re(!0);
9184
9182
  };
9185
9183
  }, []), me(() => {
9186
- D.current && D.current.close(), b ? D.current = new Fs({ channelName: v, leaderElection: x, onPrompt: () => {
9184
+ D.current && D.current.close(), U ? D.current = new Fs({ channelName: v, leaderElection: x, onPrompt: () => {
9187
9185
  ea();
9188
9186
  }, onIdle: () => {
9189
9187
  Me();
@@ -9192,15 +9190,15 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9192
9190
  }, onMessage: (V) => {
9193
9191
  ke.current(V, Se);
9194
9192
  }, start: Je, reset: oa, activate: ga, pause: ze, resume: Ke }) : D.current = null;
9195
- }, [b, v, x, Ue, pe, oe, ke, Je, oa, ze, Ke]), me(() => {
9193
+ }, [U, v, x, Ue, pe, oe, ke, Je, oa, ze, Ke]), me(() => {
9196
9194
  H.current || (Ce(), Re(!0)), !(y || S) && (d ? Je() : xe());
9197
9195
  }, [y, d, S, H]), me(() => {
9198
9196
  if (!H.current) {
9199
- let V = [...(/* @__PURE__ */ new Set([...p, ...U])).values()];
9200
- if (Re(), J.current = V, Q.current = n, $.current = U, y || S) return;
9197
+ let V = [...(/* @__PURE__ */ new Set([...p, ...b])).values()];
9198
+ if (Re(), J.current = V, Q.current = n, $.current = b, y || S) return;
9201
9199
  d ? Je() : xe();
9202
9200
  }
9203
- }, [n, JSON.stringify(p), JSON.stringify(U), H, S, y, d]), me(() => {
9201
+ }, [n, JSON.stringify(p), JSON.stringify(b), H, S, y, d]), me(() => {
9204
9202
  H.current && (H.current = !1);
9205
9203
  }, [H]);
9206
9204
  let Se = { message: Wa, start: Je, reset: oa, activate: ga, pause: ze, resume: Ke, isIdle: Ea, isPrompted: Na, isLeader: za, isLastActiveTab: Ia, getTabId: da, getRemainingTime: Ua, getElapsedTime: Ve, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: La, getIdleTime: Ga, getTotalIdleTime: ba, getActiveTime: Ma, getTotalActiveTime: Ra, setOnPresenceChange: (V) => {
@@ -9212,9 +9210,9 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
9212
9210
  }, setOnActive: (V) => {
9213
9211
  i = V, oe.current = V;
9214
9212
  }, setOnAction: (V) => {
9215
- s = V, fe.current = V;
9213
+ o = V, fe.current = V;
9216
9214
  }, setOnMessage: (V) => {
9217
- o = V, ke.current = V;
9215
+ s = V, ke.current = V;
9218
9216
  } };
9219
9217
  return Se;
9220
9218
  }
@@ -9253,7 +9251,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9253
9251
  // 遊戲唯一標識符
9254
9252
  gameTypeUid: g,
9255
9253
  // 遊戲類型唯一標識符
9256
- platformUid: U,
9254
+ platformUid: b,
9257
9255
  // 平台唯一標識符
9258
9256
  // platform_enum: platformEnum, // 平台枚舉
9259
9257
  currencyCode: f,
@@ -9264,9 +9262,9 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9264
9262
  // 遊戲平台
9265
9263
  game_subtype: i,
9266
9264
  // 遊戲子類型
9267
- game_type: s,
9265
+ game_type: o,
9268
9266
  // 遊戲類型
9269
- game_tags: o,
9267
+ game_tags: s,
9270
9268
  // 遊戲標籤
9271
9269
  isUnderMaintenance: u,
9272
9270
  // 是否維護中
@@ -9280,7 +9278,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9280
9278
  // 英文名稱
9281
9279
  gameNameZh: _,
9282
9280
  // 中文名稱
9283
- gameNameVi: b,
9281
+ gameNameVi: U,
9284
9282
  // 越南名稱
9285
9283
  gameNameTw: v
9286
9284
  // 繁體中文名稱
@@ -9289,20 +9287,20 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9289
9287
  gameCode: n,
9290
9288
  gameUid: p,
9291
9289
  gameTypeUid: g,
9292
- providerUid: U,
9290
+ providerUid: b,
9293
9291
  supportCurrency: f,
9294
9292
  enterLobbyMode: l,
9295
9293
  gamePlatform: a,
9296
9294
  gameSubType: i,
9297
- gameType: s,
9298
- gameTags: o,
9295
+ gameType: o,
9296
+ gameTags: s,
9299
9297
  isUnderMaintenance: u,
9300
9298
  supportVertical: m,
9301
9299
  supportHorizontal: c,
9302
9300
  userClickCount: d,
9303
9301
  gameNameEn: y,
9304
9302
  gameNameZh: _,
9305
- gameNameVi: b,
9303
+ gameNameVi: U,
9306
9304
  gameNameTw: v,
9307
9305
  gameName: T,
9308
9306
  gameImageUrl: x,
@@ -9329,7 +9327,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9329
9327
  // 是否維護中
9330
9328
  maintenanceStartTime: g,
9331
9329
  // 維護開始時間
9332
- maintenanceEndTime: U,
9330
+ maintenanceEndTime: b,
9333
9331
  // 維護結束時間
9334
9332
  platform: f,
9335
9333
  // 平台代碼
@@ -9339,21 +9337,21 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9339
9337
  // 平台模式
9340
9338
  temp_maintenance_start_time: i,
9341
9339
  // 臨時維護開始時間
9342
- temp_maintenance_end_time: s
9340
+ temp_maintenance_end_time: o
9343
9341
  // 臨時維護結束時間
9344
- } = e || {}, o = `${Qe}/${Kn}/${Ws(n, r)}.png`;
9342
+ } = e || {}, s = `${Qe}/${Kn}/${Ws(n, r)}.png`;
9345
9343
  return {
9346
9344
  subPlatformEnum: t,
9347
9345
  platformEnum: n,
9348
9346
  isUnderMaintenance: p,
9349
9347
  maintenanceStartTime: g,
9350
- maintenanceEndTime: U,
9348
+ maintenanceEndTime: b,
9351
9349
  platform: f,
9352
9350
  platformUid: l,
9353
9351
  platformMode: a,
9354
9352
  tempMaintenanceStartTime: i,
9355
- tempMaintenanceEndTime: s,
9356
- platformImageUrl: o
9353
+ tempMaintenanceEndTime: o,
9354
+ platformImageUrl: s
9357
9355
  };
9358
9356
  }, zs = (e = {}) => !Ii(e) || Ee(e) ? [] : Vi(e), wn = (e = []) => !la(e) || Ee(e) ? [] : We(e, "platform"), Is = (e = []) => !la(e) || Ee(e) ? [] : We(e, "gameTypeName"), Vs = (e = []) => !la(e) || Ee(e) ? [] : We(e, "game_subtype"), Zs = (e = {}) => !Ii(e) || Ee(e) ? [] : Vi(e), Js = (e = [], r = []) => !la(e) || Ee(e) ? {} : !la(r) || Ee(r) ? {} : e.reduce((t, n) => {
9359
9357
  const p = r.map((g) => g.game_subtype);
@@ -9366,33 +9364,33 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9366
9364
  gameList: t = {},
9367
9365
  allGameTypes: n = [],
9368
9366
  allPlatforms: p = []
9369
- }) => !la(e) || !la(r) ? {} : Ee(t) ? {} : e.reduce((g, U) => {
9367
+ }) => !la(e) || !la(r) ? {} : Ee(t) ? {} : e.reduce((g, b) => {
9370
9368
  const f = Ql({
9371
- gameTypeName: U,
9369
+ gameTypeName: b,
9372
9370
  platforms: r,
9373
9371
  gameList: t,
9374
9372
  allGameTypes: n,
9375
9373
  allPlatforms: p
9376
9374
  });
9377
- return Ee(f) || (g[U] = f), g;
9375
+ return Ee(f) || (g[b] = f), g;
9378
9376
  }, {}), $m = ({
9379
9377
  types: e = [],
9380
9378
  platforms: r = [],
9381
9379
  allGameType: t = [],
9382
9380
  allGamePlatform: n = [],
9383
9381
  allGameList: p = {}
9384
- } = {}) => !Array.isArray(e) || !Array.isArray(r) ? {} : e.reduce((g, U) => {
9385
- const f = $n(t, U);
9382
+ } = {}) => !Array.isArray(e) || !Array.isArray(r) ? {} : e.reduce((g, b) => {
9383
+ const f = $n(t, b);
9386
9384
  if (!f) return g;
9387
- const l = p[f] || [], a = r.reduce((i, s) => {
9388
- const o = jl({
9389
- platformName: s,
9385
+ const l = p[f] || [], a = r.reduce((i, o) => {
9386
+ const s = jl({
9387
+ platformName: o,
9390
9388
  gamesOfType: l,
9391
9389
  allPlatforms: n
9392
9390
  });
9393
- return Ee(o) ? i : { ...i, [s]: o };
9391
+ return Ee(s) ? i : { ...i, [o]: s };
9394
9392
  }, {});
9395
- return Ee(a) || (g[U] = a), g;
9393
+ return Ee(a) || (g[b] = a), g;
9396
9394
  }, {}), qs = (e = {}) => !Ii(e) || Ee(e) ? {} : Object.values(e).reduce((t, n) => (Object.entries(n).forEach(([p, g]) => {
9397
9395
  t[p] ? t[p] = [...t[p], ...g] : t[p] = g;
9398
9396
  }), t), {}), $s = (e = {}) => {
@@ -9413,15 +9411,15 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9413
9411
  allGame_subtype: n = [],
9414
9412
  allNewGameList: p = [],
9415
9413
  allTopGameList: g = [],
9416
- randomlySelectedGames: U = [],
9414
+ randomlySelectedGames: b = [],
9417
9415
  userFavoriteGame: f = {},
9418
9416
  exclusiveBrandGames: l = [],
9419
9417
  highlightGames: a = [],
9420
9418
  originPlatform: i = []
9421
9419
  }) => {
9422
- const s = zs(e), o = wn(r), u = Is(t), m = Vs(n), c = wn(i), d = Zs(f), y = Ks({
9420
+ const o = zs(e), s = wn(r), u = Is(t), m = Vs(n), c = wn(i), d = Zs(f), y = Ks({
9423
9421
  gameTypes: u,
9424
- platforms: o,
9422
+ platforms: s,
9425
9423
  gameList: e,
9426
9424
  allGameTypes: t,
9427
9425
  allPlatforms: r
@@ -9431,7 +9429,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9431
9429
  ...G,
9432
9430
  platformImageUrl: O
9433
9431
  };
9434
- }), b = Js(s, n), v = qs(y), T = $s(v), x = Wn(y).reduce(
9432
+ }), U = Js(o, n), v = qs(y), T = $s(v), x = Wn(y).reduce(
9435
9433
  (G, [O, C]) => {
9436
9434
  const h = Vi(zl(C));
9437
9435
  return G[O] = h, G;
@@ -9443,7 +9441,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9443
9441
  }, {});
9444
9442
  return {
9445
9443
  platform: {
9446
- all: o,
9444
+ all: s,
9447
9445
  origin: c,
9448
9446
  originPlatform: _,
9449
9447
  byGameType: S
@@ -9455,16 +9453,16 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9455
9453
  originSub: n
9456
9454
  },
9457
9455
  gameList: {
9458
- all: s,
9456
+ all: o,
9459
9457
  new: p,
9460
9458
  top: g,
9461
9459
  favorite: d,
9462
9460
  highlight: a,
9463
9461
  exclusiveBrand: l,
9464
- randomlySelected: U
9462
+ randomlySelected: b
9465
9463
  },
9466
9464
  categorized: {
9467
- bySubType: { ...b, MyFavorite: d },
9465
+ bySubType: { ...U, MyFavorite: d },
9468
9466
  byPlatform: v,
9469
9467
  byPlatformAndCategory: T,
9470
9468
  byGameTypeAndPlatform: y,
@@ -9500,7 +9498,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9500
9498
  },
9501
9499
  user: { favorite: [] }
9502
9500
  }, Ys = ({ enabled: e = !0 } = {}) => {
9503
- const { getToken: r } = re(), { userFavoriteGameApi: t, userGameListApi: n } = ce(), { data: p, isLoading: g, error: U, refetch: f } = ne({
9501
+ const { getToken: r } = re(), { userFavoriteGameApi: t, userGameListApi: n } = ce(), { data: p, isLoading: g, error: b, refetch: f } = ne({
9504
9502
  queryKey: ["gamesInfo"],
9505
9503
  queryFn: async () => {
9506
9504
  let l = {}, a = {};
@@ -9534,7 +9532,7 @@ const Jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
9534
9532
  return {
9535
9533
  gamesInfo: p || js,
9536
9534
  isLoading: g,
9537
- error: U,
9535
+ error: b,
9538
9536
  refetch: f
9539
9537
  };
9540
9538
  }, Xs = (e = !1) => {
@@ -36082,7 +36080,7 @@ function jm({
36082
36080
  queryClient: n,
36083
36081
  ...p
36084
36082
  }) {
36085
- const g = Oa(() => Nt(p), [p]), U = Oa(
36083
+ const g = Oa(() => Nt(p), [p]), b = Oa(
36086
36084
  () => Nt({ ...p, formData: !0 }),
36087
36085
  [p]
36088
36086
  ), f = Oa(
@@ -36096,7 +36094,7 @@ function jm({
36096
36094
  }),
36097
36095
  []
36098
36096
  ), l = n || f;
36099
- return /* @__PURE__ */ Ae.jsx(Ol, { client: l, children: /* @__PURE__ */ Ae.jsx(zn.Provider, { value: { client: g, formDataClient: U, ...p }, children: /* @__PURE__ */ Ae.jsx(ql, { children: /* @__PURE__ */ Ae.jsx(
36097
+ return /* @__PURE__ */ Ae.jsx(Ol, { client: l, children: /* @__PURE__ */ Ae.jsx(zn.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Ae.jsx(ql, { children: /* @__PURE__ */ Ae.jsx(
36100
36098
  em,
36101
36099
  {
36102
36100
  autoFetch: r,
@@ -36107,7 +36105,7 @@ function jm({
36107
36105
  }
36108
36106
  const Ym = ({ onFunction: e = () => {
36109
36107
  }, buttonProps: r = {} } = {}) => {
36110
- const { lineConfig: t } = re(), n = ee(!1), p = ge(t, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), f = g.get("trans_code"), l = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: s, isPending: o } = tl({
36108
+ const { lineConfig: t } = re(), n = ee(!1), p = ge(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), f = g.get("trans_code"), l = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = tl({
36111
36109
  options: {
36112
36110
  onSuccess: (m) => {
36113
36111
  e(m);
@@ -36116,19 +36114,19 @@ const Ym = ({ onFunction: e = () => {
36116
36114
  }
36117
36115
  });
36118
36116
  me(() => {
36119
- n.current || U === "true" && l && a && (s({
36117
+ n.current || b === "true" && l && a && (o({
36120
36118
  trans_code: f,
36121
36119
  line_id: l,
36122
36120
  invite_code: i,
36123
36121
  line_name: a
36124
36122
  }), n.current = !0);
36125
36123
  }, [
36126
- U,
36124
+ b,
36127
36125
  f,
36128
36126
  l,
36129
36127
  i,
36130
36128
  a,
36131
- s,
36129
+ o,
36132
36130
  e
36133
36131
  ]);
36134
36132
  const u = () => {
@@ -36169,28 +36167,28 @@ var xa;
36169
36167
  // error correction level, data codeword bytes, and mask number.
36170
36168
  // This is a low-level API that most users should not use directly.
36171
36169
  // A mid-level API is the encodeSegments() function.
36172
- constructor(l, a, i, s) {
36170
+ constructor(l, a, i, o) {
36173
36171
  if (this.version = l, this.errorCorrectionLevel = a, this.modules = [], this.isFunction = [], l < j.MIN_VERSION || l > j.MAX_VERSION)
36174
36172
  throw new RangeError("Version value out of range");
36175
- if (s < -1 || s > 7)
36173
+ if (o < -1 || o > 7)
36176
36174
  throw new RangeError("Mask value out of range");
36177
36175
  this.size = l * 4 + 17;
36178
- let o = [];
36176
+ let s = [];
36179
36177
  for (let m = 0; m < this.size; m++)
36180
- o.push(!1);
36178
+ s.push(!1);
36181
36179
  for (let m = 0; m < this.size; m++)
36182
- this.modules.push(o.slice()), this.isFunction.push(o.slice());
36180
+ this.modules.push(s.slice()), this.isFunction.push(s.slice());
36183
36181
  this.drawFunctionPatterns();
36184
36182
  const u = this.addEccAndInterleave(i);
36185
- if (this.drawCodewords(u), s == -1) {
36183
+ if (this.drawCodewords(u), o == -1) {
36186
36184
  let m = 1e9;
36187
36185
  for (let c = 0; c < 8; c++) {
36188
36186
  this.applyMask(c), this.drawFormatBits(c);
36189
36187
  const d = this.getPenaltyScore();
36190
- d < m && (s = c, m = d), this.applyMask(c);
36188
+ d < m && (o = c, m = d), this.applyMask(c);
36191
36189
  }
36192
36190
  }
36193
- p(0 <= s && s <= 7), this.mask = s, this.applyMask(s), this.drawFormatBits(s), this.isFunction = [];
36191
+ p(0 <= o && o <= 7), this.mask = o, this.applyMask(o), this.drawFormatBits(o), this.isFunction = [];
36194
36192
  }
36195
36193
  /*-- Static factory functions (high level) --*/
36196
36194
  // Returns a QR Code representing the given Unicode text string at the given error correction level.
@@ -36220,36 +36218,36 @@ var xa;
36220
36218
  // This function allows the user to create a custom sequence of segments that switches
36221
36219
  // between modes (such as alphanumeric and byte) to encode text in less space.
36222
36220
  // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
36223
- static encodeSegments(l, a, i = 1, s = 40, o = -1, u = !0) {
36224
- if (!(j.MIN_VERSION <= i && i <= s && s <= j.MAX_VERSION) || o < -1 || o > 7)
36221
+ static encodeSegments(l, a, i = 1, o = 40, s = -1, u = !0) {
36222
+ if (!(j.MIN_VERSION <= i && i <= o && o <= j.MAX_VERSION) || s < -1 || s > 7)
36225
36223
  throw new RangeError("Invalid value");
36226
36224
  let m, c;
36227
36225
  for (m = i; ; m++) {
36228
- const b = j.getNumDataCodewords(m, a) * 8, v = U.getTotalBits(l, m);
36229
- if (v <= b) {
36226
+ const U = j.getNumDataCodewords(m, a) * 8, v = b.getTotalBits(l, m);
36227
+ if (v <= U) {
36230
36228
  c = v;
36231
36229
  break;
36232
36230
  }
36233
- if (m >= s)
36231
+ if (m >= o)
36234
36232
  throw new RangeError("Data too long");
36235
36233
  }
36236
- for (const b of [j.Ecc.MEDIUM, j.Ecc.QUARTILE, j.Ecc.HIGH])
36237
- u && c <= j.getNumDataCodewords(m, b) * 8 && (a = b);
36234
+ for (const U of [j.Ecc.MEDIUM, j.Ecc.QUARTILE, j.Ecc.HIGH])
36235
+ u && c <= j.getNumDataCodewords(m, U) * 8 && (a = U);
36238
36236
  let d = [];
36239
- for (const b of l) {
36240
- t(b.mode.modeBits, 4, d), t(b.numChars, b.mode.numCharCountBits(m), d);
36241
- for (const v of b.getData())
36237
+ for (const U of l) {
36238
+ t(U.mode.modeBits, 4, d), t(U.numChars, U.mode.numCharCountBits(m), d);
36239
+ for (const v of U.getData())
36242
36240
  d.push(v);
36243
36241
  }
36244
36242
  p(d.length == c);
36245
36243
  const y = j.getNumDataCodewords(m, a) * 8;
36246
36244
  p(d.length <= y), t(0, Math.min(4, y - d.length), d), t(0, (8 - d.length % 8) % 8, d), p(d.length % 8 == 0);
36247
- for (let b = 236; d.length < y; b ^= 253)
36248
- t(b, 8, d);
36245
+ for (let U = 236; d.length < y; U ^= 253)
36246
+ t(U, 8, d);
36249
36247
  let _ = [];
36250
36248
  for (; _.length * 8 < d.length; )
36251
36249
  _.push(0);
36252
- return d.forEach((b, v) => _[v >>> 3] |= b << 7 - (v & 7)), new j(m, a, _, o);
36250
+ return d.forEach((U, v) => _[v >>> 3] |= U << 7 - (v & 7)), new j(m, a, _, s);
36253
36251
  }
36254
36252
  /*-- Accessor methods --*/
36255
36253
  // Returns the color of the module (pixel) at the given coordinates, which is false
@@ -36270,8 +36268,8 @@ var xa;
36270
36268
  this.drawFinderPattern(3, 3), this.drawFinderPattern(this.size - 4, 3), this.drawFinderPattern(3, this.size - 4);
36271
36269
  const l = this.getAlignmentPatternPositions(), a = l.length;
36272
36270
  for (let i = 0; i < a; i++)
36273
- for (let s = 0; s < a; s++)
36274
- i == 0 && s == 0 || i == 0 && s == a - 1 || i == a - 1 && s == 0 || this.drawAlignmentPattern(l[i], l[s]);
36271
+ for (let o = 0; o < a; o++)
36272
+ i == 0 && o == 0 || i == 0 && o == a - 1 || i == a - 1 && o == 0 || this.drawAlignmentPattern(l[i], l[o]);
36275
36273
  this.drawFormatBits(0), this.drawVersion();
36276
36274
  }
36277
36275
  // Draws two copies of the format bits (with its own error correction code)
@@ -36279,19 +36277,19 @@ var xa;
36279
36277
  drawFormatBits(l) {
36280
36278
  const a = this.errorCorrectionLevel.formatBits << 3 | l;
36281
36279
  let i = a;
36282
- for (let o = 0; o < 10; o++)
36280
+ for (let s = 0; s < 10; s++)
36283
36281
  i = i << 1 ^ (i >>> 9) * 1335;
36284
- const s = (a << 10 | i) ^ 21522;
36285
- p(s >>> 15 == 0);
36286
- for (let o = 0; o <= 5; o++)
36287
- this.setFunctionModule(8, o, n(s, o));
36288
- this.setFunctionModule(8, 7, n(s, 6)), this.setFunctionModule(8, 8, n(s, 7)), this.setFunctionModule(7, 8, n(s, 8));
36289
- for (let o = 9; o < 15; o++)
36290
- this.setFunctionModule(14 - o, 8, n(s, o));
36291
- for (let o = 0; o < 8; o++)
36292
- this.setFunctionModule(this.size - 1 - o, 8, n(s, o));
36293
- for (let o = 8; o < 15; o++)
36294
- this.setFunctionModule(8, this.size - 15 + o, n(s, o));
36282
+ const o = (a << 10 | i) ^ 21522;
36283
+ p(o >>> 15 == 0);
36284
+ for (let s = 0; s <= 5; s++)
36285
+ this.setFunctionModule(8, s, n(o, s));
36286
+ this.setFunctionModule(8, 7, n(o, 6)), this.setFunctionModule(8, 8, n(o, 7)), this.setFunctionModule(7, 8, n(o, 8));
36287
+ for (let s = 9; s < 15; s++)
36288
+ this.setFunctionModule(14 - s, 8, n(o, s));
36289
+ for (let s = 0; s < 8; s++)
36290
+ this.setFunctionModule(this.size - 1 - s, 8, n(o, s));
36291
+ for (let s = 8; s < 15; s++)
36292
+ this.setFunctionModule(8, this.size - 15 + s, n(o, s));
36295
36293
  this.setFunctionModule(8, this.size - 8, !0);
36296
36294
  }
36297
36295
  // Draws two copies of the version bits (with its own error correction code),
@@ -36305,25 +36303,25 @@ var xa;
36305
36303
  const a = this.version << 12 | l;
36306
36304
  p(a >>> 18 == 0);
36307
36305
  for (let i = 0; i < 18; i++) {
36308
- const s = n(a, i), o = this.size - 11 + i % 3, u = Math.floor(i / 3);
36309
- this.setFunctionModule(o, u, s), this.setFunctionModule(u, o, s);
36306
+ const o = n(a, i), s = this.size - 11 + i % 3, u = Math.floor(i / 3);
36307
+ this.setFunctionModule(s, u, o), this.setFunctionModule(u, s, o);
36310
36308
  }
36311
36309
  }
36312
36310
  // Draws a 9*9 finder pattern including the border separator,
36313
36311
  // with the center module at (x, y). Modules can be out of bounds.
36314
36312
  drawFinderPattern(l, a) {
36315
36313
  for (let i = -4; i <= 4; i++)
36316
- for (let s = -4; s <= 4; s++) {
36317
- const o = Math.max(Math.abs(s), Math.abs(i)), u = l + s, m = a + i;
36318
- 0 <= u && u < this.size && 0 <= m && m < this.size && this.setFunctionModule(u, m, o != 2 && o != 4);
36314
+ for (let o = -4; o <= 4; o++) {
36315
+ const s = Math.max(Math.abs(o), Math.abs(i)), u = l + o, m = a + i;
36316
+ 0 <= u && u < this.size && 0 <= m && m < this.size && this.setFunctionModule(u, m, s != 2 && s != 4);
36319
36317
  }
36320
36318
  }
36321
36319
  // Draws a 5*5 alignment pattern, with the center module
36322
36320
  // at (x, y). All modules must be in bounds.
36323
36321
  drawAlignmentPattern(l, a) {
36324
36322
  for (let i = -2; i <= 2; i++)
36325
- for (let s = -2; s <= 2; s++)
36326
- this.setFunctionModule(l + s, a + i, Math.max(Math.abs(s), Math.abs(i)) != 1);
36323
+ for (let o = -2; o <= 2; o++)
36324
+ this.setFunctionModule(l + o, a + i, Math.max(Math.abs(o), Math.abs(i)) != 1);
36327
36325
  }
36328
36326
  // Sets the color of a module and marks it as a function module.
36329
36327
  // Only used by the constructor. Coordinates must be in bounds.
@@ -36337,19 +36335,19 @@ var xa;
36337
36335
  const a = this.version, i = this.errorCorrectionLevel;
36338
36336
  if (l.length != j.getNumDataCodewords(a, i))
36339
36337
  throw new RangeError("Invalid argument");
36340
- const s = j.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][a], o = j.ECC_CODEWORDS_PER_BLOCK[i.ordinal][a], u = Math.floor(j.getNumRawDataModules(a) / 8), m = s - u % s, c = Math.floor(u / s);
36338
+ const o = j.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][a], s = j.ECC_CODEWORDS_PER_BLOCK[i.ordinal][a], u = Math.floor(j.getNumRawDataModules(a) / 8), m = o - u % o, c = Math.floor(u / o);
36341
36339
  let d = [];
36342
- const y = j.reedSolomonComputeDivisor(o);
36343
- for (let b = 0, v = 0; b < s; b++) {
36344
- let T = l.slice(v, v + c - o + (b < m ? 0 : 1));
36340
+ const y = j.reedSolomonComputeDivisor(s);
36341
+ for (let U = 0, v = 0; U < o; U++) {
36342
+ let T = l.slice(v, v + c - s + (U < m ? 0 : 1));
36345
36343
  v += T.length;
36346
36344
  const x = j.reedSolomonComputeRemainder(T, y);
36347
- b < m && T.push(0), d.push(T.concat(x));
36345
+ U < m && T.push(0), d.push(T.concat(x));
36348
36346
  }
36349
36347
  let _ = [];
36350
- for (let b = 0; b < d[0].length; b++)
36348
+ for (let U = 0; U < d[0].length; U++)
36351
36349
  d.forEach((v, T) => {
36352
- (b != c - o || T >= m) && _.push(v[b]);
36350
+ (U != c - s || T >= m) && _.push(v[U]);
36353
36351
  });
36354
36352
  return p(_.length == u), _;
36355
36353
  }
@@ -36361,9 +36359,9 @@ var xa;
36361
36359
  let a = 0;
36362
36360
  for (let i = this.size - 1; i >= 1; i -= 2) {
36363
36361
  i == 6 && (i = 5);
36364
- for (let s = 0; s < this.size; s++)
36365
- for (let o = 0; o < 2; o++) {
36366
- const u = i - o, c = (i + 1 & 2) == 0 ? this.size - 1 - s : s;
36362
+ for (let o = 0; o < this.size; o++)
36363
+ for (let s = 0; s < 2; s++) {
36364
+ const u = i - s, c = (i + 1 & 2) == 0 ? this.size - 1 - o : o;
36367
36365
  !this.isFunction[c][u] && a < l.length * 8 && (this.modules[c][u] = n(l[a >>> 3], 7 - (a & 7)), a++);
36368
36366
  }
36369
36367
  }
@@ -36379,64 +36377,64 @@ var xa;
36379
36377
  throw new RangeError("Mask value out of range");
36380
36378
  for (let a = 0; a < this.size; a++)
36381
36379
  for (let i = 0; i < this.size; i++) {
36382
- let s;
36380
+ let o;
36383
36381
  switch (l) {
36384
36382
  case 0:
36385
- s = (i + a) % 2 == 0;
36383
+ o = (i + a) % 2 == 0;
36386
36384
  break;
36387
36385
  case 1:
36388
- s = a % 2 == 0;
36386
+ o = a % 2 == 0;
36389
36387
  break;
36390
36388
  case 2:
36391
- s = i % 3 == 0;
36389
+ o = i % 3 == 0;
36392
36390
  break;
36393
36391
  case 3:
36394
- s = (i + a) % 3 == 0;
36392
+ o = (i + a) % 3 == 0;
36395
36393
  break;
36396
36394
  case 4:
36397
- s = (Math.floor(i / 3) + Math.floor(a / 2)) % 2 == 0;
36395
+ o = (Math.floor(i / 3) + Math.floor(a / 2)) % 2 == 0;
36398
36396
  break;
36399
36397
  case 5:
36400
- s = i * a % 2 + i * a % 3 == 0;
36398
+ o = i * a % 2 + i * a % 3 == 0;
36401
36399
  break;
36402
36400
  case 6:
36403
- s = (i * a % 2 + i * a % 3) % 2 == 0;
36401
+ o = (i * a % 2 + i * a % 3) % 2 == 0;
36404
36402
  break;
36405
36403
  case 7:
36406
- s = ((i + a) % 2 + i * a % 3) % 2 == 0;
36404
+ o = ((i + a) % 2 + i * a % 3) % 2 == 0;
36407
36405
  break;
36408
36406
  default:
36409
36407
  throw new Error("Unreachable");
36410
36408
  }
36411
- !this.isFunction[a][i] && s && (this.modules[a][i] = !this.modules[a][i]);
36409
+ !this.isFunction[a][i] && o && (this.modules[a][i] = !this.modules[a][i]);
36412
36410
  }
36413
36411
  }
36414
36412
  // Calculates and returns the penalty score based on state of this QR Code's current modules.
36415
36413
  // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.
36416
36414
  getPenaltyScore() {
36417
36415
  let l = 0;
36418
- for (let o = 0; o < this.size; o++) {
36416
+ for (let s = 0; s < this.size; s++) {
36419
36417
  let u = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36420
36418
  for (let d = 0; d < this.size; d++)
36421
- this.modules[o][d] == u ? (m++, m == 5 ? l += j.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, c), u || (l += this.finderPenaltyCountPatterns(c) * j.PENALTY_N3), u = this.modules[o][d], m = 1);
36419
+ this.modules[s][d] == u ? (m++, m == 5 ? l += j.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, c), u || (l += this.finderPenaltyCountPatterns(c) * j.PENALTY_N3), u = this.modules[s][d], m = 1);
36422
36420
  l += this.finderPenaltyTerminateAndCount(u, m, c) * j.PENALTY_N3;
36423
36421
  }
36424
- for (let o = 0; o < this.size; o++) {
36422
+ for (let s = 0; s < this.size; s++) {
36425
36423
  let u = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36426
36424
  for (let d = 0; d < this.size; d++)
36427
- this.modules[d][o] == u ? (m++, m == 5 ? l += j.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, c), u || (l += this.finderPenaltyCountPatterns(c) * j.PENALTY_N3), u = this.modules[d][o], m = 1);
36425
+ this.modules[d][s] == u ? (m++, m == 5 ? l += j.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, c), u || (l += this.finderPenaltyCountPatterns(c) * j.PENALTY_N3), u = this.modules[d][s], m = 1);
36428
36426
  l += this.finderPenaltyTerminateAndCount(u, m, c) * j.PENALTY_N3;
36429
36427
  }
36430
- for (let o = 0; o < this.size - 1; o++)
36428
+ for (let s = 0; s < this.size - 1; s++)
36431
36429
  for (let u = 0; u < this.size - 1; u++) {
36432
- const m = this.modules[o][u];
36433
- m == this.modules[o][u + 1] && m == this.modules[o + 1][u] && m == this.modules[o + 1][u + 1] && (l += j.PENALTY_N2);
36430
+ const m = this.modules[s][u];
36431
+ m == this.modules[s][u + 1] && m == this.modules[s + 1][u] && m == this.modules[s + 1][u + 1] && (l += j.PENALTY_N2);
36434
36432
  }
36435
36433
  let a = 0;
36436
- for (const o of this.modules)
36437
- a = o.reduce((u, m) => u + (m ? 1 : 0), a);
36438
- const i = this.size * this.size, s = Math.ceil(Math.abs(a * 20 - i * 10) / i) - 1;
36439
- return p(0 <= s && s <= 9), l += s * j.PENALTY_N4, p(0 <= l && l <= 2568888), l;
36434
+ for (const s of this.modules)
36435
+ a = s.reduce((u, m) => u + (m ? 1 : 0), a);
36436
+ const i = this.size * this.size, o = Math.ceil(Math.abs(a * 20 - i * 10) / i) - 1;
36437
+ return p(0 <= o && o <= 9), l += o * j.PENALTY_N4, p(0 <= l && l <= 2568888), l;
36440
36438
  }
36441
36439
  /*-- Private helper functions --*/
36442
36440
  // Returns an ascending list of positions of alignment patterns for this version number.
@@ -36448,8 +36446,8 @@ var xa;
36448
36446
  {
36449
36447
  const l = Math.floor(this.version / 7) + 2, a = this.version == 32 ? 26 : Math.ceil((this.version * 4 + 4) / (l * 2 - 2)) * 2;
36450
36448
  let i = [6];
36451
- for (let s = this.size - 7; i.length < l; s -= a)
36452
- i.splice(1, 0, s);
36449
+ for (let o = this.size - 7; i.length < l; o -= a)
36450
+ i.splice(1, 0, o);
36453
36451
  return i;
36454
36452
  }
36455
36453
  }
@@ -36478,23 +36476,23 @@ var xa;
36478
36476
  if (l < 1 || l > 255)
36479
36477
  throw new RangeError("Degree out of range");
36480
36478
  let a = [];
36481
- for (let s = 0; s < l - 1; s++)
36479
+ for (let o = 0; o < l - 1; o++)
36482
36480
  a.push(0);
36483
36481
  a.push(1);
36484
36482
  let i = 1;
36485
- for (let s = 0; s < l; s++) {
36486
- for (let o = 0; o < a.length; o++)
36487
- a[o] = j.reedSolomonMultiply(a[o], i), o + 1 < a.length && (a[o] ^= a[o + 1]);
36483
+ for (let o = 0; o < l; o++) {
36484
+ for (let s = 0; s < a.length; s++)
36485
+ a[s] = j.reedSolomonMultiply(a[s], i), s + 1 < a.length && (a[s] ^= a[s + 1]);
36488
36486
  i = j.reedSolomonMultiply(i, 2);
36489
36487
  }
36490
36488
  return a;
36491
36489
  }
36492
36490
  // Returns the Reed-Solomon error correction codeword for the given data and divisor polynomials.
36493
36491
  static reedSolomonComputeRemainder(l, a) {
36494
- let i = a.map((s) => 0);
36495
- for (const s of l) {
36496
- const o = s ^ i.shift();
36497
- i.push(0), a.forEach((u, m) => i[m] ^= j.reedSolomonMultiply(u, o));
36492
+ let i = a.map((o) => 0);
36493
+ for (const o of l) {
36494
+ const s = o ^ i.shift();
36495
+ i.push(0), a.forEach((u, m) => i[m] ^= j.reedSolomonMultiply(u, s));
36498
36496
  }
36499
36497
  return i;
36500
36498
  }
@@ -36504,8 +36502,8 @@ var xa;
36504
36502
  if (l >>> 8 || a >>> 8)
36505
36503
  throw new RangeError("Byte out of range");
36506
36504
  let i = 0;
36507
- for (let s = 7; s >= 0; s--)
36508
- i = i << 1 ^ (i >>> 7) * 285, i ^= (a >>> s & 1) * l;
36505
+ for (let o = 7; o >= 0; o--)
36506
+ i = i << 1 ^ (i >>> 7) * 285, i ^= (a >>> o & 1) * l;
36509
36507
  return p(i >>> 8 == 0), i;
36510
36508
  }
36511
36509
  // Can only be called immediately after a light run is added, and
@@ -36587,8 +36585,8 @@ var xa;
36587
36585
  throw new RangeError("String contains non-numeric characters");
36588
36586
  let a = [];
36589
36587
  for (let i = 0; i < l.length; ) {
36590
- const s = Math.min(l.length - i, 3);
36591
- t(parseInt(l.substring(i, i + s), 10), s * 3 + 1, a), i += s;
36588
+ const o = Math.min(l.length - i, 3);
36589
+ t(parseInt(l.substring(i, i + o), 10), o * 3 + 1, a), i += o;
36592
36590
  }
36593
36591
  return new ye(ye.Mode.NUMERIC, l.length, a);
36594
36592
  }
@@ -36600,8 +36598,8 @@ var xa;
36600
36598
  throw new RangeError("String contains unencodable characters in alphanumeric mode");
36601
36599
  let a = [], i;
36602
36600
  for (i = 0; i + 2 <= l.length; i += 2) {
36603
- let s = ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)) * 45;
36604
- s += ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i + 1)), t(s, 11, a);
36601
+ let o = ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)) * 45;
36602
+ o += ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i + 1)), t(o, 11, a);
36605
36603
  }
36606
36604
  return i < l.length && t(ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)), 6, a), new ye(ye.Mode.ALPHANUMERIC, l.length, a);
36607
36605
  }
@@ -36646,11 +36644,11 @@ var xa;
36646
36644
  // the given version. The result is infinity if a segment has too many characters to fit its length field.
36647
36645
  static getTotalBits(l, a) {
36648
36646
  let i = 0;
36649
- for (const s of l) {
36650
- const o = s.mode.numCharCountBits(a);
36651
- if (s.numChars >= 1 << o)
36647
+ for (const o of l) {
36648
+ const s = o.mode.numCharCountBits(a);
36649
+ if (o.numChars >= 1 << s)
36652
36650
  return 1 / 0;
36653
- i += 4 + o + s.bitData.length;
36651
+ i += 4 + s + o.bitData.length;
36654
36652
  }
36655
36653
  return i;
36656
36654
  }
@@ -36664,7 +36662,7 @@ var xa;
36664
36662
  }
36665
36663
  };
36666
36664
  g.NUMERIC_REGEX = /^[0-9]*$/, g.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\/:-]*$/, g.ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
36667
- let U = g;
36665
+ let b = g;
36668
36666
  e.QrSegment = g;
36669
36667
  })(xa || (xa = {}));
36670
36668
  ((e) => {
@@ -36707,22 +36705,22 @@ function Ll(e, r = 0) {
36707
36705
  const t = [];
36708
36706
  return e.forEach(function(n, p) {
36709
36707
  let g = null;
36710
- n.forEach(function(U, f) {
36711
- if (!U && g !== null) {
36708
+ n.forEach(function(b, f) {
36709
+ if (!b && g !== null) {
36712
36710
  t.push(
36713
36711
  `M${g + r} ${p + r}h${f - g}v1H${g + r}z`
36714
36712
  ), g = null;
36715
36713
  return;
36716
36714
  }
36717
36715
  if (f === n.length - 1) {
36718
- if (!U)
36716
+ if (!b)
36719
36717
  return;
36720
36718
  g === null ? t.push(`M${f + r},${p + r} h1v1H${f + r}z`) : t.push(
36721
36719
  `M${g + r},${p + r} h${f + 1 - g}v1H${g + r}z`
36722
36720
  );
36723
36721
  return;
36724
36722
  }
36725
- U && g === null && (g = f);
36723
+ b && g === null && (g = f);
36726
36724
  });
36727
36725
  }), t.join("");
36728
36726
  }
@@ -36732,14 +36730,14 @@ function Gl(e, r) {
36732
36730
  function rm(e, r, t, n) {
36733
36731
  if (n == null)
36734
36732
  return null;
36735
- const p = e.length + t * 2, g = Math.floor(r * lm), U = p / r, f = (n.width || g) * U, l = (n.height || g) * U, a = n.x == null ? e.length / 2 - f / 2 : n.x * U, i = n.y == null ? e.length / 2 - l / 2 : n.y * U, s = n.opacity == null ? 1 : n.opacity;
36736
- let o = null;
36733
+ const p = e.length + t * 2, g = Math.floor(r * lm), b = p / r, f = (n.width || g) * b, l = (n.height || g) * b, a = n.x == null ? e.length / 2 - f / 2 : n.x * b, i = n.y == null ? e.length / 2 - l / 2 : n.y * b, o = n.opacity == null ? 1 : n.opacity;
36734
+ let s = null;
36737
36735
  if (n.excavate) {
36738
36736
  let m = Math.floor(a), c = Math.floor(i), d = Math.ceil(f + a - m), y = Math.ceil(l + i - c);
36739
- o = { x: m, y: c, w: d, h: y };
36737
+ s = { x: m, y: c, w: d, h: y };
36740
36738
  }
36741
36739
  const u = n.crossOrigin;
36742
- return { x: a, y: i, h: l, w: f, excavation: o, opacity: s, crossOrigin: u };
36740
+ return { x: a, y: i, h: l, w: f, excavation: s, opacity: o, crossOrigin: u };
36743
36741
  }
36744
36742
  function om(e, r) {
36745
36743
  return r != null ? Math.max(Math.floor(r), 0) : e ? tm : nm;
@@ -36751,7 +36749,7 @@ function Ml({
36751
36749
  includeMargin: n,
36752
36750
  marginSize: p,
36753
36751
  imageSettings: g,
36754
- size: U,
36752
+ size: b,
36755
36753
  boostLevel: f
36756
36754
  }) {
36757
36755
  let l = de.useMemo(() => {
@@ -36765,11 +36763,11 @@ function Ml({
36765
36763
  f
36766
36764
  );
36767
36765
  }, [e, r, t, f]);
36768
- const { cells: a, margin: i, numCells: s, calculatedImageSettings: o } = de.useMemo(() => {
36766
+ const { cells: a, margin: i, numCells: o, calculatedImageSettings: s } = de.useMemo(() => {
36769
36767
  let u = l.getModules();
36770
36768
  const m = om(n, p), c = u.length + m * 2, d = rm(
36771
36769
  u,
36772
- U,
36770
+ b,
36773
36771
  m,
36774
36772
  g
36775
36773
  );
@@ -36779,13 +36777,13 @@ function Ml({
36779
36777
  numCells: c,
36780
36778
  calculatedImageSettings: d
36781
36779
  };
36782
- }, [l, U, g, n, p]);
36780
+ }, [l, b, g, n, p]);
36783
36781
  return {
36784
36782
  qrcode: l,
36785
36783
  margin: i,
36786
36784
  cells: a,
36787
- numCells: s,
36788
- calculatedImageSettings: o
36785
+ numCells: o,
36786
+ calculatedImageSettings: s
36789
36787
  };
36790
36788
  }
36791
36789
  var sm = (function() {
@@ -36800,13 +36798,13 @@ var sm = (function() {
36800
36798
  const n = r, {
36801
36799
  value: p,
36802
36800
  size: g = kl,
36803
- level: U = xl,
36801
+ level: b = xl,
36804
36802
  bgColor: f = Sl,
36805
36803
  fgColor: l = Dl,
36806
36804
  includeMargin: a = El,
36807
36805
  minVersion: i = Nl,
36808
- boostLevel: s,
36809
- marginSize: o,
36806
+ boostLevel: o,
36807
+ marginSize: s,
36810
36808
  imageSettings: u
36811
36809
  } = n, c = mt(n, [
36812
36810
  "value",
@@ -36819,24 +36817,24 @@ var sm = (function() {
36819
36817
  "boostLevel",
36820
36818
  "marginSize",
36821
36819
  "imageSettings"
36822
- ]), { style: d } = c, y = mt(c, ["style"]), _ = u?.src, b = de.useRef(null), v = de.useRef(null), T = de.useCallback(
36820
+ ]), { style: d } = c, y = mt(c, ["style"]), _ = u?.src, U = de.useRef(null), v = de.useRef(null), T = de.useCallback(
36823
36821
  (P) => {
36824
- b.current = P, typeof t == "function" ? t(P) : t && (t.current = P);
36822
+ U.current = P, typeof t == "function" ? t(P) : t && (t.current = P);
36825
36823
  },
36826
36824
  [t]
36827
36825
  ), [x, S] = de.useState(!1), { margin: G, cells: O, numCells: C, calculatedImageSettings: h } = Ml({
36828
36826
  value: p,
36829
- level: U,
36827
+ level: b,
36830
36828
  minVersion: i,
36831
- boostLevel: s,
36829
+ boostLevel: o,
36832
36830
  includeMargin: a,
36833
- marginSize: o,
36831
+ marginSize: s,
36834
36832
  imageSettings: u,
36835
36833
  size: g
36836
36834
  });
36837
36835
  de.useEffect(() => {
36838
- if (b.current != null) {
36839
- const P = b.current, M = P.getContext("2d");
36836
+ if (U.current != null) {
36837
+ const P = U.current, M = P.getContext("2d");
36840
36838
  if (!M)
36841
36839
  return;
36842
36840
  let R = O;
@@ -36895,13 +36893,13 @@ var Rl = de.forwardRef(
36895
36893
  const n = r, {
36896
36894
  value: p,
36897
36895
  size: g = kl,
36898
- level: U = xl,
36896
+ level: b = xl,
36899
36897
  bgColor: f = Sl,
36900
36898
  fgColor: l = Dl,
36901
36899
  includeMargin: a = El,
36902
36900
  minVersion: i = Nl,
36903
- boostLevel: s,
36904
- title: o,
36901
+ boostLevel: o,
36902
+ title: s,
36905
36903
  marginSize: u,
36906
36904
  imageSettings: m
36907
36905
  } = n, c = mt(n, [
@@ -36916,31 +36914,31 @@ var Rl = de.forwardRef(
36916
36914
  "title",
36917
36915
  "marginSize",
36918
36916
  "imageSettings"
36919
- ]), { margin: d, cells: y, numCells: _, calculatedImageSettings: b } = Ml({
36917
+ ]), { margin: d, cells: y, numCells: _, calculatedImageSettings: U } = Ml({
36920
36918
  value: p,
36921
- level: U,
36919
+ level: b,
36922
36920
  minVersion: i,
36923
- boostLevel: s,
36921
+ boostLevel: o,
36924
36922
  includeMargin: a,
36925
36923
  marginSize: u,
36926
36924
  imageSettings: m,
36927
36925
  size: g
36928
36926
  });
36929
36927
  let v = y, T = null;
36930
- m != null && b != null && (b.excavation != null && (v = Gl(
36928
+ m != null && U != null && (U.excavation != null && (v = Gl(
36931
36929
  y,
36932
- b.excavation
36930
+ U.excavation
36933
36931
  )), T = /* @__PURE__ */ de.createElement(
36934
36932
  "image",
36935
36933
  {
36936
36934
  href: m.src,
36937
- height: b.h,
36938
- width: b.w,
36939
- x: b.x + d,
36940
- y: b.y + d,
36935
+ height: U.h,
36936
+ width: U.w,
36937
+ x: U.x + d,
36938
+ y: U.y + d,
36941
36939
  preserveAspectRatio: "none",
36942
- opacity: b.opacity,
36943
- crossOrigin: b.crossOrigin
36940
+ opacity: U.opacity,
36941
+ crossOrigin: U.crossOrigin
36944
36942
  }
36945
36943
  ));
36946
36944
  const x = Ll(v, d);
@@ -36953,7 +36951,7 @@ var Rl = de.forwardRef(
36953
36951
  ref: t,
36954
36952
  role: "img"
36955
36953
  }, c),
36956
- !!o && /* @__PURE__ */ de.createElement("title", null, o),
36954
+ !!s && /* @__PURE__ */ de.createElement("title", null, s),
36957
36955
  /* @__PURE__ */ de.createElement(
36958
36956
  "path",
36959
36957
  {
@@ -37002,30 +37000,30 @@ const um = {
37002
37000
  title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
37003
37001
  expired: "Kode QR telah kedaluwarsa"
37004
37002
  }
37005
- }, au = () => {
37006
- const { lng: e, getToken: r } = re(), [t, n] = tt(300), [p, g] = tt(!1), U = ee(null), f = je(e), l = r?.(), i = new URLSearchParams(window.location.search).get("mac") || lt.get("machine_mac_address") || "", { data: s, isFetching: o } = Ho({
37003
+ }, au = ({ forcedShow: e = !1 } = {}) => {
37004
+ const { lng: r, getToken: t } = re(), [n, p] = tt(300), [g, b] = tt(!1), f = ee(null), l = je(r), a = t?.(), o = new URLSearchParams(window.location.search).get("mac") || lt.get("machine_mac_address") || "", { data: s, isFetching: u } = Ho({
37007
37005
  formData: {
37008
- mac_address: i
37006
+ mac_address: o
37009
37007
  },
37010
37008
  options: {
37011
- enabled: !!i && !l
37009
+ enabled: e ? !0 : !!o && !a
37012
37010
  }
37013
- }), u = ge(s, "liff_url", "");
37011
+ }), m = ge(s, "liff_url", "");
37014
37012
  me(() => {
37015
- i && lt.set("machine_mac_address", i, { expires: 365 });
37016
- }, [i]), me(() => (u && (n(300), g(!1), U.current && clearInterval(U.current), U.current = setInterval(() => {
37017
- n((d) => d <= 1 ? (clearInterval(U.current), g(!0), 0) : d - 1);
37013
+ o && lt.set("machine_mac_address", o, { expires: 365 });
37014
+ }, [o]), me(() => (m && (p(300), b(!1), f.current && clearInterval(f.current), f.current = setInterval(() => {
37015
+ p((y) => y <= 1 ? (clearInterval(f.current), b(!0), 0) : y - 1);
37018
37016
  }, 1e3)), () => {
37019
- U.current && clearInterval(U.current);
37020
- }), [u]);
37021
- const m = (d) => {
37022
- const y = Math.floor(d / 60), _ = d % 60;
37023
- return `${y}:${_ < 10 ? "0" : ""}${_}`;
37017
+ f.current && clearInterval(f.current);
37018
+ }), [m]);
37019
+ const c = (y) => {
37020
+ const _ = Math.floor(y / 60), U = y % 60;
37021
+ return `${_}:${U < 10 ? "0" : ""}${U}`;
37024
37022
  };
37025
- if (!i || l) return null;
37026
- const c = On[f] || On.en_US;
37027
- return /* @__PURE__ */ Ae.jsx("div", { style: um, children: p ? /* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold" }, children: c.expired }) : /* @__PURE__ */ Ae.jsxs(Ae.Fragment, { children: [
37028
- /* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: c.title }),
37023
+ if (!e && (!o || a)) return null;
37024
+ const d = On[l] || On.en_US;
37025
+ return /* @__PURE__ */ Ae.jsx("div", { style: um, children: g ? /* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold" }, children: d.expired }) : /* @__PURE__ */ Ae.jsxs(Ae.Fragment, { children: [
37026
+ /* @__PURE__ */ Ae.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: d.title }),
37029
37027
  /* @__PURE__ */ Ae.jsx(
37030
37028
  "div",
37031
37029
  {
@@ -37040,14 +37038,14 @@ const um = {
37040
37038
  boxSizing: "border-box",
37041
37039
  color: "black"
37042
37040
  },
37043
- children: o ? "Loading..." : /* @__PURE__ */ Ae.jsx(Rl, { width: "100%", height: "100%", value: u })
37041
+ children: u ? "Loading..." : /* @__PURE__ */ Ae.jsx(Rl, { width: "100%", height: "100%", value: m })
37044
37042
  }
37045
37043
  ),
37046
- !o && /* @__PURE__ */ Ae.jsx(
37044
+ !u && /* @__PURE__ */ Ae.jsx(
37047
37045
  "p",
37048
37046
  {
37049
37047
  style: { marginTop: "10px", fontWeight: "bold", fontSize: "3em" },
37050
- children: m(t)
37048
+ children: c(n)
37051
37049
  }
37052
37050
  )
37053
37051
  ] }) });