50p82u21t54k 0.0.31 → 0.0.32

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.
@@ -1,7 +1,7 @@
1
- import Yt from "axios";
2
- import { ref as Xt } from "vue";
3
- import C from "crypto-js";
4
- const Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1
+ import Qt from "axios";
2
+ import { ref as Wt } from "vue";
3
+ import q from "crypto-js";
4
+ const te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5
5
  __proto__: null,
6
6
  get DefaultHotGamesResponse() {
7
7
  return pt;
@@ -9,7 +9,7 @@ const Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
9
  get getHotGames() {
10
10
  return Nt;
11
11
  }
12
- }, Symbol.toStringTag, { value: "Module" })), Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12
+ }, Symbol.toStringTag, { value: "Module" })), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13
13
  __proto__: null,
14
14
  get DefaultFishGamesResponse() {
15
15
  return gt;
@@ -17,7 +17,7 @@ const Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
17
  get getFishGames() {
18
18
  return Vt;
19
19
  }
20
- }, Symbol.toStringTag, { value: "Module" })), te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
+ }, Symbol.toStringTag, { value: "Module" })), re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21
21
  __proto__: null,
22
22
  get DefaultTrialGamesResponse() {
23
23
  return dt;
@@ -25,7 +25,7 @@ const Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
25
  get getTrialGames() {
26
26
  return Lt;
27
27
  }
28
- }, Symbol.toStringTag, { value: "Module" })), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
+ }, Symbol.toStringTag, { value: "Module" })), ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29
29
  __proto__: null,
30
30
  get DefaultPromotionResponse() {
31
31
  return vt;
@@ -33,7 +33,7 @@ const Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33
33
  get getPromotion() {
34
34
  return It;
35
35
  }
36
- }, Symbol.toStringTag, { value: "Module" })), re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36
+ }, Symbol.toStringTag, { value: "Module" })), se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37
37
  __proto__: null,
38
38
  get CmsId() {
39
39
  return yt;
@@ -44,7 +44,7 @@ const Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
44
  get getCmsList() {
45
45
  return Mt;
46
46
  }
47
- }, Symbol.toStringTag, { value: "Module" })), ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
47
+ }, Symbol.toStringTag, { value: "Module" })), ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
48
48
  __proto__: null,
49
49
  get DefaultHomeResponse() {
50
50
  return Ft;
@@ -53,60 +53,68 @@ const Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
53
53
  return kt;
54
54
  },
55
55
  get getHome() {
56
- return le;
56
+ return ge;
57
57
  }
58
- }, Symbol.toStringTag, { value: "Module" })), se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
58
+ }, Symbol.toStringTag, { value: "Module" })), ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
59
59
  __proto__: null,
60
60
  get DefaultCurrentLangResponse() {
61
- return Ht;
61
+ return jt;
62
62
  },
63
63
  get getCurrentLang() {
64
- return ce;
64
+ return de;
65
65
  }
66
- }, Symbol.toStringTag, { value: "Module" })), ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
66
+ }, Symbol.toStringTag, { value: "Module" })), oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
67
67
  __proto__: null,
68
68
  get DefaultGetLocaleResponse() {
69
- return jt;
69
+ return Ht;
70
70
  },
71
71
  get getGetLocale() {
72
- return pe;
72
+ return ve;
73
73
  }
74
- }, Symbol.toStringTag, { value: "Module" })), ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
74
+ }, Symbol.toStringTag, { value: "Module" })), ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
75
75
  __proto__: null,
76
76
  get DefaultCsLinkResponse() {
77
77
  return qt;
78
78
  },
79
79
  get getCsLink() {
80
- return ge;
80
+ return ye;
81
81
  }
82
- }, Symbol.toStringTag, { value: "Module" })), oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82
+ }, Symbol.toStringTag, { value: "Module" })), fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83
83
  __proto__: null,
84
84
  get DefaultEGameResponse() {
85
85
  return Ct;
86
86
  },
87
87
  get getEGame() {
88
- return de;
88
+ return me;
89
89
  }
90
- }, Symbol.toStringTag, { value: "Module" })), ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
90
+ }, Symbol.toStringTag, { value: "Module" })), he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
91
91
  __proto__: null,
92
92
  get DefaultGetSettingResponse() {
93
93
  return Gt;
94
94
  },
95
95
  get getGetSetting() {
96
- return Ut;
96
+ return Kt;
97
97
  }
98
- }, Symbol.toStringTag, { value: "Module" })), fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
98
+ }, Symbol.toStringTag, { value: "Module" })), le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
99
99
  __proto__: null,
100
100
  get DefaultGetLoginKeyResponse() {
101
- return je;
101
+ return Zt;
102
+ },
103
+ get getGetLoginKey() {
104
+ return $t;
105
+ }
106
+ }, Symbol.toStringTag, { value: "Module" })), ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
107
+ __proto__: null,
108
+ get DefaultGetLoginKeyResponse() {
109
+ return Ge;
102
110
  },
103
111
  get DefaultLoginResponse() {
104
- return Zt;
112
+ return Yt;
105
113
  },
106
114
  get submitLogin() {
107
- return qe;
115
+ return Ke;
108
116
  }
109
- }, Symbol.toStringTag, { value: "Module" })), R = Yt.create({
117
+ }, Symbol.toStringTag, { value: "Module" })), R = Qt.create({
110
118
  baseURL: "",
111
119
  timeout: 5e3,
112
120
  // Request timeout
@@ -166,47 +174,48 @@ R.interceptors.response.use(
166
174
  return r.response ? (t.status = r.response.status, t.message = r.response.data.message || r.response.statusText, console.error("Error response:", JSON.stringify(t)), r.response.status === 401 ? console.error("Unauthorized access - redirecting to login.") : r.response.status === 404 ? console.error("Resource not found.") : r.response.status >= 500 && console.error("Server error. Please try again later.")) : r.request ? console.error("No response received:", r.request) : console.error("Error setting up request:", r.message), Promise.reject(t);
167
175
  }
168
176
  );
169
- const Pt = Xt("");
177
+ const Pt = Wt("");
170
178
  function m() {
171
179
  return Pt.value === "" ? 0 : 1;
172
180
  }
173
- const he = {
174
- home: ne,
175
- hotGames: Qt,
176
- fishGames: Wt,
177
- trialGames: te,
178
- currentLang: se,
179
- promotion: ee,
180
- getLocale: ie,
181
- csLink: ae,
182
- eGame: oe,
183
- cmsList: re,
184
- getSetting: ue,
185
- login: fe
186
- }, Ke = {
181
+ const pe = {
182
+ home: ie,
183
+ hotGames: te,
184
+ fishGames: ee,
185
+ trialGames: re,
186
+ currentLang: ae,
187
+ promotion: ne,
188
+ getLocale: oe,
189
+ csLink: ue,
190
+ eGame: fe,
191
+ cmsList: se,
192
+ getSetting: he,
193
+ login: ce,
194
+ getLoginKey: le
195
+ }, Ze = {
187
196
  install(r) {
188
- r.config.globalProperties.$library = he;
197
+ r.config.globalProperties.$library = pe;
189
198
  }
190
199
  }, A = (r) => {
191
200
  try {
192
201
  const t = JSON.parse(
193
- C.AES.decrypt(r, Pt.value, {
202
+ q.AES.decrypt(r, Pt.value, {
194
203
  format: {
195
204
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
196
205
  stringify: (e) => {
197
206
  const n = {
198
- ct: e.ciphertext.toString(C.enc.Base64)
207
+ ct: e.ciphertext.toString(q.enc.Base64)
199
208
  };
200
209
  return e.iv && (n.iv = e.iv.toString()), e.salt && (n.s = e.salt.toString()), JSON.stringify(n);
201
210
  },
202
211
  parse: (e) => {
203
- const n = JSON.parse(e), s = C.lib.CipherParams.create({
204
- ciphertext: C.enc.Base64.parse(n.ct)
212
+ const n = JSON.parse(e), s = q.lib.CipherParams.create({
213
+ ciphertext: q.enc.Base64.parse(n.ct)
205
214
  });
206
- return n.iv && (s.iv = C.enc.Hex.parse(n.iv)), n.s && (s.salt = C.enc.Hex.parse(n.s)), s;
215
+ return n.iv && (s.iv = q.enc.Hex.parse(n.iv)), n.s && (s.salt = q.enc.Hex.parse(n.s)), s;
207
216
  }
208
217
  }
209
- }).toString(C.enc.Utf8)
218
+ }).toString(q.enc.Utf8)
210
219
  );
211
220
  return t !== "" ? JSON.parse(t) : t;
212
221
  } catch (t) {
@@ -486,7 +495,7 @@ const Ft = {
486
495
  cmsList: mt
487
496
  }
488
497
  };
489
- async function le() {
498
+ async function ge() {
490
499
  const r = Ft;
491
500
  try {
492
501
  const [
@@ -511,14 +520,14 @@ async function le() {
511
520
  let a;
512
521
  return m() ? a = JSON.parse(A(t.data)) : a = t.data, t.status != 200 ? (r.status = t.status, r.message = "", r) : (r.data = {
513
522
  game: {
514
- SPORT: a.game.SPORT.map((u) => F(u)),
515
- SPECIAL: a.game.SPECIAL.map((u) => F(u)),
516
- PVP: a.game.PVP.map((u) => F(u)),
517
- LIVE: a.game.LIVE.map((u) => F(u)),
518
- EVENT: a.game.EVENT.map((u) => F(u)),
519
- ESPORT: a.game.ESPORT.map((u) => F(u)),
520
- EGAME: a.game.EGAME.map((u) => F(u)),
521
- BINGO: a.game.BINGO.map((u) => F(u))
523
+ SPORT: a.game.SPORT.map((u) => M(u)),
524
+ SPECIAL: a.game.SPECIAL.map((u) => M(u)),
525
+ PVP: a.game.PVP.map((u) => M(u)),
526
+ LIVE: a.game.LIVE.map((u) => M(u)),
527
+ EVENT: a.game.EVENT.map((u) => M(u)),
528
+ ESPORT: a.game.ESPORT.map((u) => M(u)),
529
+ EGAME: a.game.EGAME.map((u) => M(u)),
530
+ BINGO: a.game.BINGO.map((u) => M(u))
522
531
  },
523
532
  mobileBanner: a.mobileBanner.map((u) => ({
524
533
  name: u.name ?? "",
@@ -566,7 +575,7 @@ async function le() {
566
575
  return r.status = e.status || 500, r.message = e.message, r;
567
576
  }
568
577
  }
569
- const F = (r) => ({
578
+ const M = (r) => ({
570
579
  id: r.id ?? 0,
571
580
  idPlatformMaster: r.id_PlatformMaster ?? 0,
572
581
  idProductMaster: r.id_ProductMaster ?? 0,
@@ -610,13 +619,13 @@ const F = (r) => ({
610
619
  imgTemplate: r.imgTemplate ?? ""
611
620
  });
612
621
  var kt = /* @__PURE__ */ ((r) => (r.SPORT = "SPORT", r.SPECIAL = "SPECIAL", r.PVP = "PVP", r.LIVE = "LIVE", r.EVENT = "EVENT", r.ESPORT = "ESPORT", r.EGAME = "EGAME", r.BINGO = "BINGO", r))(kt || {});
613
- const Ht = {
622
+ const jt = {
614
623
  status: 200,
615
624
  message: "",
616
625
  data: ""
617
626
  };
618
- async function ce() {
619
- const r = Ht;
627
+ async function de() {
628
+ const r = jt;
620
629
  try {
621
630
  const t = await R.get("/apis/currentLang", {
622
631
  params: {
@@ -630,13 +639,13 @@ async function ce() {
630
639
  return r.status = e.status || 500, r.message = e.message, r;
631
640
  }
632
641
  }
633
- const jt = {
642
+ const Ht = {
634
643
  status: 200,
635
644
  message: "",
636
645
  data: []
637
646
  };
638
- async function pe() {
639
- const r = jt;
647
+ async function ve() {
648
+ const r = Ht;
640
649
  try {
641
650
  const t = await R.get("/apis/getLocale", {
642
651
  params: {
@@ -670,7 +679,7 @@ const qt = {
670
679
  liveChat: ""
671
680
  }
672
681
  };
673
- async function ge() {
682
+ async function ye() {
674
683
  const r = qt;
675
684
  try {
676
685
  const t = await R.get("/apis/cslink", {
@@ -692,7 +701,7 @@ const Ct = {
692
701
  message: "",
693
702
  data: []
694
703
  };
695
- async function de(r) {
704
+ async function me(r) {
696
705
  const t = Ct;
697
706
  try {
698
707
  const e = await R.get(`/apis/egame/json/${r}`, {
@@ -734,7 +743,7 @@ const Gt = {
734
743
  concantenatedKey: ""
735
744
  }
736
745
  };
737
- async function Ut(r) {
746
+ async function Kt(r) {
738
747
  const t = Gt;
739
748
  try {
740
749
  const e = await R.get("/apis/getSetting", {
@@ -759,11 +768,11 @@ async function Ut(r) {
759
768
  return t.status = n.status || 500, t.message = n.message, t;
760
769
  }
761
770
  }
762
- var ve = "0123456789abcdefghijklmnopqrstuvwxyz";
763
- function M(r) {
764
- return ve.charAt(r);
771
+ var Se = "0123456789abcdefghijklmnopqrstuvwxyz";
772
+ function I(r) {
773
+ return Se.charAt(r);
765
774
  }
766
- function ye(r, t) {
775
+ function be(r, t) {
767
776
  return r & t;
768
777
  }
769
778
  function Q(r, t) {
@@ -775,53 +784,53 @@ function Tt(r, t) {
775
784
  function Et(r, t) {
776
785
  return r & ~t;
777
786
  }
778
- function me(r) {
787
+ function Te(r) {
779
788
  if (r == 0)
780
789
  return -1;
781
790
  var t = 0;
782
791
  return r & 65535 || (r >>= 16, t += 16), r & 255 || (r >>= 8, t += 8), r & 15 || (r >>= 4, t += 4), r & 3 || (r >>= 2, t += 2), r & 1 || ++t, t;
783
792
  }
784
- function Se(r) {
793
+ function Ee(r) {
785
794
  for (var t = 0; r != 0; )
786
795
  r &= r - 1, ++t;
787
796
  return t;
788
797
  }
789
- var z = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Kt = "=";
798
+ var U = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ut = "=";
790
799
  function it(r) {
791
800
  var t, e, n = "";
792
801
  for (t = 0; t + 3 <= r.length; t += 3)
793
- e = parseInt(r.substring(t, t + 3), 16), n += z.charAt(e >> 6) + z.charAt(e & 63);
794
- for (t + 1 == r.length ? (e = parseInt(r.substring(t, t + 1), 16), n += z.charAt(e << 2)) : t + 2 == r.length && (e = parseInt(r.substring(t, t + 2), 16), n += z.charAt(e >> 2) + z.charAt((e & 3) << 4)); (n.length & 3) > 0; )
795
- n += Kt;
802
+ e = parseInt(r.substring(t, t + 3), 16), n += U.charAt(e >> 6) + U.charAt(e & 63);
803
+ for (t + 1 == r.length ? (e = parseInt(r.substring(t, t + 1), 16), n += U.charAt(e << 2)) : t + 2 == r.length && (e = parseInt(r.substring(t, t + 2), 16), n += U.charAt(e >> 2) + U.charAt((e & 3) << 4)); (n.length & 3) > 0; )
804
+ n += Ut;
796
805
  return n;
797
806
  }
798
807
  function Dt(r) {
799
808
  var t = "", e, n = 0, s = 0;
800
- for (e = 0; e < r.length && r.charAt(e) != Kt; ++e) {
801
- var i = z.indexOf(r.charAt(e));
802
- i < 0 || (n == 0 ? (t += M(i >> 2), s = i & 3, n = 1) : n == 1 ? (t += M(s << 2 | i >> 4), s = i & 15, n = 2) : n == 2 ? (t += M(s), t += M(i >> 2), s = i & 3, n = 3) : (t += M(s << 2 | i >> 4), t += M(i & 15), n = 0));
809
+ for (e = 0; e < r.length && r.charAt(e) != Ut; ++e) {
810
+ var i = U.indexOf(r.charAt(e));
811
+ i < 0 || (n == 0 ? (t += I(i >> 2), s = i & 3, n = 1) : n == 1 ? (t += I(s << 2 | i >> 4), s = i & 15, n = 2) : n == 2 ? (t += I(s), t += I(i >> 2), s = i & 3, n = 3) : (t += I(s << 2 | i >> 4), t += I(i & 15), n = 0));
803
812
  }
804
- return n == 1 && (t += M(s << 2)), t;
813
+ return n == 1 && (t += I(s << 2)), t;
805
814
  }
806
- var U, be = {
815
+ var G, De = {
807
816
  decode: function(r) {
808
817
  var t;
809
- if (U === void 0) {
818
+ if (G === void 0) {
810
819
  var e = "0123456789ABCDEF", n = ` \f
811
820
  \r  \u2028\u2029`;
812
- for (U = {}, t = 0; t < 16; ++t)
813
- U[e.charAt(t)] = t;
821
+ for (G = {}, t = 0; t < 16; ++t)
822
+ G[e.charAt(t)] = t;
814
823
  for (e = e.toLowerCase(), t = 10; t < 16; ++t)
815
- U[e.charAt(t)] = t;
824
+ G[e.charAt(t)] = t;
816
825
  for (t = 0; t < n.length; ++t)
817
- U[n.charAt(t)] = -1;
826
+ G[n.charAt(t)] = -1;
818
827
  }
819
828
  var s = [], i = 0, o = 0;
820
829
  for (t = 0; t < r.length; ++t) {
821
830
  var a = r.charAt(t);
822
831
  if (a == "=")
823
832
  break;
824
- if (a = U[a], a != -1) {
833
+ if (a = G[a], a != -1) {
825
834
  if (a === void 0)
826
835
  throw new Error("Illegal character at offset " + t);
827
836
  i |= a, ++o >= 2 ? (s[s.length] = i, i = 0, o = 0) : i <<= 4;
@@ -831,23 +840,23 @@ var U, be = {
831
840
  throw new Error("Hex encoding incomplete: 4 bits missing");
832
841
  return s;
833
842
  }
834
- }, G, lt = {
843
+ }, C, lt = {
835
844
  decode: function(r) {
836
845
  var t;
837
- if (G === void 0) {
846
+ if (C === void 0) {
838
847
  var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", n = `= \f
839
848
  \r  \u2028\u2029`;
840
- for (G = /* @__PURE__ */ Object.create(null), t = 0; t < 64; ++t)
841
- G[e.charAt(t)] = t;
842
- for (G["-"] = 62, G._ = 63, t = 0; t < n.length; ++t)
843
- G[n.charAt(t)] = -1;
849
+ for (C = /* @__PURE__ */ Object.create(null), t = 0; t < 64; ++t)
850
+ C[e.charAt(t)] = t;
851
+ for (C["-"] = 62, C._ = 63, t = 0; t < n.length; ++t)
852
+ C[n.charAt(t)] = -1;
844
853
  }
845
854
  var s = [], i = 0, o = 0;
846
855
  for (t = 0; t < r.length; ++t) {
847
856
  var a = r.charAt(t);
848
857
  if (a == "=")
849
858
  break;
850
- if (a = G[a], a != -1) {
859
+ if (a = C[a], a != -1) {
851
860
  if (a === void 0)
852
861
  throw new Error("Illegal character at offset " + t);
853
862
  i |= a, ++o >= 4 ? (s[s.length] = i >> 16, s[s.length] = i >> 8 & 255, s[s.length] = i & 255, i = 0, o = 0) : i <<= 6;
@@ -909,8 +918,8 @@ var U, be = {
909
918
  return t.length == 1 ? t[0] : this;
910
919
  }, r;
911
920
  }()
912
- ), zt = "…", Te = /^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/, Ee = /^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;
913
- function J(r, t) {
921
+ ), zt = "…", we = /^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/, _e = /^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;
922
+ function z(r, t) {
914
923
  return r.length > t && (r = r.substring(0, t) + zt), r;
915
924
  }
916
925
  var ut = (
@@ -962,7 +971,7 @@ var ut = (
962
971
  s = this.get(o++), i = this.get(o++), n += String.fromCharCode(s << 8 | i);
963
972
  return n;
964
973
  }, r.prototype.parseTime = function(t, e, n) {
965
- var s = this.parseStringISO(t, e), i = (n ? Te : Ee).exec(s);
974
+ var s = this.parseStringISO(t, e), i = (n ? we : _e).exec(s);
966
975
  return i ? (n && (i[1] = +i[1], i[1] += +i[1] < 70 ? 2e3 : 1900), s = i[1] + "-" + i[2] + "-" + i[3] + " " + i[4], i[5] && (s += ":" + i[5], i[6] && (s += ":" + i[6], i[7] && (s += "." + i[7]))), i[8] && (s += " UTC", i[8] != "Z" && (s += i[8], i[9] && (s += ":" + i[9]))), s) : "Unrecognized time: " + s;
967
976
  }, r.prototype.parseInteger = function(t, e) {
968
977
  for (var n = this.get(t), s = n > 127, i = s ? 255 : 0, o, a = ""; n == i && ++t < e; )
@@ -985,12 +994,12 @@ var ut = (
985
994
  for (var h = this.get(u), l = u == e - 1 ? s : 0, c = 7; c >= l; --c)
986
995
  a += h >> c & 1 ? "1" : "0";
987
996
  if (a.length > n)
988
- return o + J(a, n);
997
+ return o + z(a, n);
989
998
  }
990
999
  return o + a;
991
1000
  }, r.prototype.parseOctetString = function(t, e, n) {
992
1001
  if (this.isASCII(t, e))
993
- return J(this.parseStringISO(t, e), n);
1002
+ return z(this.parseStringISO(t, e), n);
994
1003
  var s = e - t, i = "(" + s + ` byte)
995
1004
  `;
996
1005
  n /= 2, s > n && (e = t + n);
@@ -1011,14 +1020,14 @@ var ut = (
1011
1020
  else
1012
1021
  s += "." + i.toString();
1013
1022
  if (s.length > n)
1014
- return J(s, n);
1023
+ return z(s, n);
1015
1024
  i = new Y(), o = 0;
1016
1025
  }
1017
1026
  }
1018
1027
  return o > 0 && (s += ".incomplete"), s;
1019
1028
  }, r;
1020
1029
  }()
1021
- ), De = (
1030
+ ), Re = (
1022
1031
  /** @class */
1023
1032
  function() {
1024
1033
  function r(t, e, n, s, i) {
@@ -1115,16 +1124,16 @@ var ut = (
1115
1124
  case 17:
1116
1125
  return this.sub !== null ? "(" + this.sub.length + " elem)" : "(no elem)";
1117
1126
  case 12:
1118
- return J(this.stream.parseStringUTF(e, e + n), t);
1127
+ return z(this.stream.parseStringUTF(e, e + n), t);
1119
1128
  case 18:
1120
1129
  case 19:
1121
1130
  case 20:
1122
1131
  case 21:
1123
1132
  case 22:
1124
1133
  case 26:
1125
- return J(this.stream.parseStringISO(e, e + n), t);
1134
+ return z(this.stream.parseStringISO(e, e + n), t);
1126
1135
  case 30:
1127
- return J(this.stream.parseStringBMP(e, e + n), t);
1136
+ return z(this.stream.parseStringBMP(e, e + n), t);
1128
1137
  case 23:
1129
1138
  case 24:
1130
1139
  return this.stream.parseTime(e, e + n, this.tag.tagNumber == 23);
@@ -1229,7 +1238,7 @@ var ut = (
1229
1238
  return this.tagClass === 0 && this.tagNumber === 0;
1230
1239
  }, r;
1231
1240
  }()
1232
- ), j, we = 244837814094590, _t = (we & 16777215) == 15715070, _ = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997], _e = (1 << 26) / _[_.length - 1], p = (
1241
+ ), j, xe = 244837814094590, _t = (xe & 16777215) == 15715070, _ = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997], Oe = (1 << 26) / _[_.length - 1], p = (
1233
1242
  /** @class */
1234
1243
  function() {
1235
1244
  function r(t, e, n) {
@@ -1253,8 +1262,8 @@ var ut = (
1253
1262
  return this.toRadix(t);
1254
1263
  var n = (1 << e) - 1, s, i = !1, o = "", a = this.t, u = this.DB - a * this.DB % e;
1255
1264
  if (a-- > 0)
1256
- for (u < this.DB && (s = this[a] >> u) > 0 && (i = !0, o = M(s)); a >= 0; )
1257
- u < e ? (s = (this[a] & (1 << u) - 1) << e - u, s |= this[--a] >> (u += this.DB - e)) : (s = this[a] >> (u -= e) & n, u <= 0 && (u += this.DB, --a)), s > 0 && (i = !0), i && (o += M(s));
1265
+ for (u < this.DB && (s = this[a] >> u) > 0 && (i = !0, o = I(s)); a >= 0; )
1266
+ u < e ? (s = (this[a] & (1 << u) - 1) << e - u, s |= this[--a] >> (u += this.DB - e)) : (s = this[a] >> (u -= e) & n, u <= 0 && (u += this.DB, --a)), s > 0 && (i = !0), i && (o += I(s));
1258
1267
  return i ? o : "0";
1259
1268
  }, r.prototype.negate = function() {
1260
1269
  var t = d();
@@ -1318,7 +1327,7 @@ var ut = (
1318
1327
  return this.compareTo(t) > 0 ? this : t;
1319
1328
  }, r.prototype.and = function(t) {
1320
1329
  var e = d();
1321
- return this.bitwiseTo(t, ye, e), e;
1330
+ return this.bitwiseTo(t, be, e), e;
1322
1331
  }, r.prototype.or = function(t) {
1323
1332
  var e = d();
1324
1333
  return this.bitwiseTo(t, Q, e), e;
@@ -1341,11 +1350,11 @@ var ut = (
1341
1350
  }, r.prototype.getLowestSetBit = function() {
1342
1351
  for (var t = 0; t < this.t; ++t)
1343
1352
  if (this[t] != 0)
1344
- return t * this.DB + me(this[t]);
1353
+ return t * this.DB + Te(this[t]);
1345
1354
  return this.s < 0 ? this.t * this.DB : -1;
1346
1355
  }, r.prototype.bitCount = function() {
1347
1356
  for (var t = 0, e = this.s & this.DM, n = 0; n < this.t; ++n)
1348
- t += Se(this[n] ^ e);
1357
+ t += Ee(this[n] ^ e);
1349
1358
  return t;
1350
1359
  }, r.prototype.testBit = function(t) {
1351
1360
  var e = Math.floor(t / this.DB);
@@ -1375,10 +1384,10 @@ var ut = (
1375
1384
  var e = d(), n = d();
1376
1385
  return this.divRemTo(t, e, n), [e, n];
1377
1386
  }, r.prototype.modPow = function(t, e) {
1378
- var n = t.bitLength(), s, i = k(1), o;
1387
+ var n = t.bitLength(), s, i = F(1), o;
1379
1388
  if (n <= 0)
1380
1389
  return i;
1381
- n < 18 ? s = 1 : n < 48 ? s = 3 : n < 144 ? s = 4 : n < 768 ? s = 5 : s = 6, n < 8 ? o = new Rt(e) : e.isEven() ? o = new xe(e) : o = new xt(e);
1390
+ n < 18 ? s = 1 : n < 48 ? s = 3 : n < 144 ? s = 4 : n < 768 ? s = 5 : s = 6, n < 8 ? o = new Rt(e) : e.isEven() ? o = new Be(e) : o = new xt(e);
1382
1391
  var a = [], u = 3, h = s - 1, l = (1 << s) - 1;
1383
1392
  if (a[1] = o.convert(this), s > 1) {
1384
1393
  var c = d();
@@ -1404,7 +1413,7 @@ var ut = (
1404
1413
  var e = t.isEven();
1405
1414
  if (this.isEven() && e || t.signum() == 0)
1406
1415
  return r.ZERO;
1407
- for (var n = t.clone(), s = this.clone(), i = k(1), o = k(0), a = k(0), u = k(1); n.signum() != 0; ) {
1416
+ for (var n = t.clone(), s = this.clone(), i = F(1), o = F(0), a = F(0), u = F(1); n.signum() != 0; ) {
1408
1417
  for (; n.isEven(); )
1409
1418
  n.rShiftTo(1, n), e ? ((!i.isEven() || !o.isEven()) && (i.addTo(this, i), o.subTo(t, o)), i.rShiftTo(1, i)) : o.isEven() || o.subTo(t, o), o.rShiftTo(1, o);
1410
1419
  for (; s.isEven(); )
@@ -1421,7 +1430,7 @@ var ut = (
1421
1430
  return u;
1422
1431
  return u.signum() < 0 ? u.add(t) : u;
1423
1432
  }, r.prototype.pow = function(t) {
1424
- return this.exp(t, new Re());
1433
+ return this.exp(t, new Ae());
1425
1434
  }, r.prototype.gcd = function(t) {
1426
1435
  var e = this.s < 0 ? this.negate() : this.clone(), n = t.s < 0 ? t.negate() : t.clone();
1427
1436
  if (e.compareTo(n) < 0) {
@@ -1445,7 +1454,7 @@ var ut = (
1445
1454
  if (n.isEven())
1446
1455
  return !1;
1447
1456
  for (e = 1; e < _.length; ) {
1448
- for (var s = _[e], i = e + 1; i < _.length && s < _e; )
1457
+ for (var s = _[e], i = e + 1; i < _.length && s < Oe; )
1449
1458
  s *= _[i++];
1450
1459
  for (s = n.modInt(s); e < i; )
1451
1460
  if (s % _[e++] == 0)
@@ -1598,7 +1607,7 @@ var ut = (
1598
1607
  }, r.prototype.toRadix = function(t) {
1599
1608
  if (t == null && (t = 10), this.signum() == 0 || t < 2 || t > 36)
1600
1609
  return "0";
1601
- var e = this.chunkSize(t), n = Math.pow(t, e), s = k(n), i = d(), o = d(), a = "";
1610
+ var e = this.chunkSize(t), n = Math.pow(t, e), s = F(n), i = d(), o = d(), a = "";
1602
1611
  for (this.divRemTo(s, i, o); i.signum() > 0; )
1603
1612
  a = (n + o.intValue()).toString(t).substr(1) + a, i.divRemTo(s, i, o);
1604
1613
  return o.intValue().toString(t) + a;
@@ -1749,7 +1758,7 @@ var ut = (
1749
1758
  }
1750
1759
  }, r;
1751
1760
  }()
1752
- ), Re = (
1761
+ ), Ae = (
1753
1762
  /** @class */
1754
1763
  function() {
1755
1764
  function r() {
@@ -1809,7 +1818,7 @@ var ut = (
1809
1818
  t.squareTo(e), this.reduce(e);
1810
1819
  }, r;
1811
1820
  }()
1812
- ), xe = (
1821
+ ), Be = (
1813
1822
  /** @class */
1814
1823
  function() {
1815
1824
  function r(t) {
@@ -1869,21 +1878,21 @@ var St = 52;
1869
1878
  p.prototype.FV = Math.pow(2, St);
1870
1879
  p.prototype.F1 = St - j;
1871
1880
  p.prototype.F2 = 2 * j - St;
1872
- var at = [], Z, P;
1873
- Z = 48;
1881
+ var at = [], J, P;
1882
+ J = 48;
1874
1883
  for (P = 0; P <= 9; ++P)
1875
- at[Z++] = P;
1876
- Z = 97;
1884
+ at[J++] = P;
1885
+ J = 97;
1877
1886
  for (P = 10; P < 36; ++P)
1878
- at[Z++] = P;
1879
- Z = 65;
1887
+ at[J++] = P;
1888
+ J = 65;
1880
1889
  for (P = 10; P < 36; ++P)
1881
- at[Z++] = P;
1890
+ at[J++] = P;
1882
1891
  function At(r, t) {
1883
1892
  var e = at[r.charCodeAt(t)];
1884
1893
  return e ?? -1;
1885
1894
  }
1886
- function k(r) {
1895
+ function F(r) {
1887
1896
  var t = d();
1888
1897
  return t.fromInt(r), t;
1889
1898
  }
@@ -1891,9 +1900,9 @@ function W(r) {
1891
1900
  var t = 1, e;
1892
1901
  return (e = r >>> 16) != 0 && (r = e, t += 16), (e = r >> 8) != 0 && (r = e, t += 8), (e = r >> 4) != 0 && (r = e, t += 4), (e = r >> 2) != 0 && (r = e, t += 2), (e = r >> 1) != 0 && (r = e, t += 1), t;
1893
1902
  }
1894
- p.ZERO = k(0);
1895
- p.ONE = k(1);
1896
- var Oe = (
1903
+ p.ZERO = F(0);
1904
+ p.ONE = F(1);
1905
+ var Pe = (
1897
1906
  /** @class */
1898
1907
  function() {
1899
1908
  function r() {
@@ -1912,17 +1921,17 @@ var Oe = (
1912
1921
  }, r;
1913
1922
  }()
1914
1923
  );
1915
- function Ae() {
1916
- return new Oe();
1924
+ function Ne() {
1925
+ return new Pe();
1917
1926
  }
1918
- var Jt = 256, tt, H = null, V;
1919
- if (H == null) {
1920
- H = [], V = 0;
1927
+ var Jt = 256, tt, k = null, V;
1928
+ if (k == null) {
1929
+ k = [], V = 0;
1921
1930
  var et = void 0;
1922
1931
  if (typeof window < "u" && window.crypto && window.crypto.getRandomValues) {
1923
1932
  var ft = new Uint32Array(256);
1924
1933
  for (window.crypto.getRandomValues(ft), et = 0; et < ft.length; ++et)
1925
- H[V++] = ft[et] & 255;
1934
+ k[V++] = ft[et] & 255;
1926
1935
  }
1927
1936
  var rt = 0, nt = function(r) {
1928
1937
  if (rt = rt || 0, rt >= 256 || V >= Jt) {
@@ -1931,20 +1940,20 @@ if (H == null) {
1931
1940
  }
1932
1941
  try {
1933
1942
  var t = r.x + r.y;
1934
- H[V++] = t & 255, rt += 1;
1943
+ k[V++] = t & 255, rt += 1;
1935
1944
  } catch {
1936
1945
  }
1937
1946
  };
1938
1947
  typeof window < "u" && (window.addEventListener ? window.addEventListener("mousemove", nt, !1) : window.attachEvent && window.attachEvent("onmousemove", nt));
1939
1948
  }
1940
- function Be() {
1949
+ function Ve() {
1941
1950
  if (tt == null) {
1942
- for (tt = Ae(); V < Jt; ) {
1951
+ for (tt = Ne(); V < Jt; ) {
1943
1952
  var r = Math.floor(65536 * Math.random());
1944
- H[V++] = r & 255;
1953
+ k[V++] = r & 255;
1945
1954
  }
1946
- for (tt.init(H), V = 0; V < H.length; ++V)
1947
- H[V] = 0;
1955
+ for (tt.init(k), V = 0; V < k.length; ++V)
1956
+ k[V] = 0;
1948
1957
  V = 0;
1949
1958
  }
1950
1959
  return tt.next();
@@ -1956,11 +1965,11 @@ var ct = (
1956
1965
  }
1957
1966
  return r.prototype.nextBytes = function(t) {
1958
1967
  for (var e = 0; e < t.length; ++e)
1959
- t[e] = Be();
1968
+ t[e] = Ve();
1960
1969
  }, r;
1961
1970
  }()
1962
1971
  );
1963
- function Pe(r, t) {
1972
+ function Le(r, t) {
1964
1973
  if (t < r.length + 22)
1965
1974
  return console.error("Message too long for RSA"), null;
1966
1975
  for (var e = t - r.length - 6, n = "", s = 0; s < e; s += 2)
@@ -1968,7 +1977,7 @@ function Pe(r, t) {
1968
1977
  var i = "0001" + n + "00" + r;
1969
1978
  return T(i, 16);
1970
1979
  }
1971
- function Ne(r, t) {
1980
+ function Ie(r, t) {
1972
1981
  if (t < r.length + 11)
1973
1982
  return console.error("Message too long for RSA"), null;
1974
1983
  for (var e = [], n = r.length - 1; n >= 0 && t > 0; ) {
@@ -1983,7 +1992,7 @@ function Ne(r, t) {
1983
1992
  }
1984
1993
  return e[--t] = 2, e[--t] = 0, new p(e);
1985
1994
  }
1986
- var Ve = (
1995
+ var Me = (
1987
1996
  /** @class */
1988
1997
  function() {
1989
1998
  function r() {
@@ -2000,7 +2009,7 @@ var Ve = (
2000
2009
  }, r.prototype.setPublic = function(t, e) {
2001
2010
  t != null && e != null && t.length > 0 && e.length > 0 ? (this.n = T(t, 16), this.e = parseInt(e, 16)) : console.error("Invalid RSA public key");
2002
2011
  }, r.prototype.encrypt = function(t) {
2003
- var e = this.n.bitLength() + 7 >> 3, n = Ne(t, e);
2012
+ var e = this.n.bitLength() + 7 >> 3, n = Ie(t, e);
2004
2013
  if (n == null)
2005
2014
  return null;
2006
2015
  var s = this.doPublic(n);
@@ -2033,7 +2042,7 @@ var Ve = (
2033
2042
  }
2034
2043
  }, r.prototype.decrypt = function(t) {
2035
2044
  var e = T(t, 16), n = this.doPrivate(e);
2036
- return n == null ? null : Le(n, this.n.bitLength() + 7 >> 3);
2045
+ return n == null ? null : Fe(n, this.n.bitLength() + 7 >> 3);
2037
2046
  }, r.prototype.generateAsync = function(t, e, n) {
2038
2047
  var s = new ct(), i = t >> 1;
2039
2048
  this.e = parseInt(e, 16);
@@ -2064,7 +2073,7 @@ var Ve = (
2064
2073
  };
2065
2074
  setTimeout(u, 0);
2066
2075
  }, r.prototype.sign = function(t, e, n) {
2067
- var s = Ie(n), i = s + e(t).toString(), o = Pe(i, this.n.bitLength() / 4);
2076
+ var s = ke(n), i = s + e(t).toString(), o = Le(i, this.n.bitLength() / 4);
2068
2077
  if (o == null)
2069
2078
  return null;
2070
2079
  var a = this.doPrivate(o);
@@ -2076,12 +2085,12 @@ var Ve = (
2076
2085
  var s = T(e, 16), i = this.doPublic(s);
2077
2086
  if (i == null)
2078
2087
  return null;
2079
- var o = i.toString(16).replace(/^1f+00/, ""), a = Me(o);
2088
+ var o = i.toString(16).replace(/^1f+00/, ""), a = je(o);
2080
2089
  return a == n(t).toString();
2081
2090
  }, r;
2082
2091
  }()
2083
2092
  );
2084
- function Le(r, t) {
2093
+ function Fe(r, t) {
2085
2094
  for (var e = r.toByteArray(), n = 0; n < e.length && e[n] == 0; )
2086
2095
  ++n;
2087
2096
  if (e.length - n != t - 1 || e[n] != 2)
@@ -2105,10 +2114,10 @@ var st = {
2105
2114
  sha512: "3051300d060960864801650304020305000440",
2106
2115
  ripemd160: "3021300906052b2403020105000414"
2107
2116
  };
2108
- function Ie(r) {
2117
+ function ke(r) {
2109
2118
  return st[r] || "";
2110
2119
  }
2111
- function Me(r) {
2120
+ function je(r) {
2112
2121
  for (var t in st)
2113
2122
  if (st.hasOwnProperty(t)) {
2114
2123
  var e = st[t], n = e.length;
@@ -2228,15 +2237,15 @@ f.asn1.ASN1Util = new function() {
2228
2237
  if (g == "gentime")
2229
2238
  return new D(r[g]);
2230
2239
  if (g == "seq") {
2231
- for (var I = r[g], $ = [], q = 0; q < I.length; q++) {
2232
- var ot = L(I[q]);
2240
+ for (var Z = r[g], $ = [], H = 0; H < Z.length; H++) {
2241
+ var ot = L(Z[H]);
2233
2242
  $.push(ot);
2234
2243
  }
2235
2244
  return new x({ array: $ });
2236
2245
  }
2237
2246
  if (g == "set") {
2238
- for (var I = r[g], $ = [], q = 0; q < I.length; q++) {
2239
- var ot = L(I[q]);
2247
+ for (var Z = r[g], $ = [], H = 0; H < Z.length; H++) {
2248
+ var ot = L(Z[H]);
2240
2249
  $.push(ot);
2241
2250
  }
2242
2251
  return new O({ array: $ });
@@ -2244,11 +2253,11 @@ f.asn1.ASN1Util = new function() {
2244
2253
  if (g == "tag") {
2245
2254
  var N = r[g];
2246
2255
  if (Object.prototype.toString.call(N) === "[object Array]" && N.length == 3) {
2247
- var $t = L(N[2]);
2256
+ var Xt = L(N[2]);
2248
2257
  return new w({
2249
2258
  tag: N[0],
2250
2259
  explicit: N[1],
2251
- obj: $t
2260
+ obj: Xt
2252
2261
  });
2253
2262
  } else {
2254
2263
  var X = {};
@@ -2549,7 +2558,7 @@ f.asn1.DERTaggedObject = function(r) {
2549
2558
  }, typeof r < "u" && (typeof r.tag < "u" && (this.hT = r.tag), typeof r.explicit < "u" && (this.isExplicit = r.explicit), typeof r.obj < "u" && (this.asn1Object = r.obj, this.setASN1Object(this.isExplicit, this.hT, this.asn1Object)));
2550
2559
  };
2551
2560
  E.lang.extend(f.asn1.DERTaggedObject, f.asn1.ASN1Object);
2552
- var Fe = /* @__PURE__ */ function() {
2561
+ var He = /* @__PURE__ */ function() {
2553
2562
  var r = function(t, e) {
2554
2563
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, s) {
2555
2564
  n.__proto__ = s;
@@ -2570,14 +2579,14 @@ var Fe = /* @__PURE__ */ function() {
2570
2579
  }(), Bt = (
2571
2580
  /** @class */
2572
2581
  function(r) {
2573
- Fe(t, r);
2582
+ He(t, r);
2574
2583
  function t(e) {
2575
2584
  var n = r.call(this) || this;
2576
2585
  return e && (typeof e == "string" ? n.parseKey(e) : (t.hasPrivateKeyProperty(e) || t.hasPublicKeyProperty(e)) && n.parsePropertiesFrom(e)), n;
2577
2586
  }
2578
2587
  return t.prototype.parseKey = function(e) {
2579
2588
  try {
2580
- var n = 0, s = 0, i = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/, o = i.test(e) ? be.decode(e) : lt.unarmor(e), a = De.decode(o);
2589
+ var n = 0, s = 0, i = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/, o = i.test(e) ? De.decode(e) : lt.unarmor(e), a = Re.decode(o);
2581
2590
  if (a.sub.length === 3 && (a = a.sub[2].sub[0]), a.sub.length === 9) {
2582
2591
  n = a.sub[1].getHexStringValue(), this.n = T(n, 16), s = a.sub[2].getHexStringValue(), this.e = parseInt(s, 16);
2583
2592
  var u = a.sub[3].getHexStringValue();
@@ -2664,8 +2673,8 @@ var Fe = /* @__PURE__ */ function() {
2664
2673
  }, t.prototype.parsePropertiesFrom = function(e) {
2665
2674
  this.n = e.n, this.e = e.e, e.hasOwnProperty("d") && (this.d = e.d, this.p = e.p, this.q = e.q, this.dmp1 = e.dmp1, this.dmq1 = e.dmq1, this.coeff = e.coeff);
2666
2675
  }, t;
2667
- }(Ve)
2668
- ), ht, ke = typeof process < "u" ? (ht = process.env) === null || ht === void 0 ? void 0 : ht.npm_package_version : void 0, He = (
2676
+ }(Me)
2677
+ ), ht, qe = typeof process < "u" ? (ht = process.env) === null || ht === void 0 ? void 0 : ht.npm_package_version : void 0, Ce = (
2669
2678
  /** @class */
2670
2679
  function() {
2671
2680
  function r(t) {
@@ -2718,14 +2727,39 @@ var Fe = /* @__PURE__ */ function() {
2718
2727
  return this.getKey().getPublicKey();
2719
2728
  }, r.prototype.getPublicKeyB64 = function() {
2720
2729
  return this.getKey().getPublicBaseKeyB64();
2721
- }, r.version = ke, r;
2730
+ }, r.version = qe, r;
2722
2731
  }()
2723
2732
  );
2724
- const je = {
2733
+ const Zt = {
2734
+ status: 200,
2735
+ message: "",
2736
+ data: {
2737
+ key: ""
2738
+ }
2739
+ };
2740
+ async function $t() {
2741
+ const r = Zt;
2742
+ try {
2743
+ const t = await R.get("/mbuhx0as4kui", {
2744
+ params: {
2745
+ ajax: 1,
2746
+ render: m()
2747
+ }
2748
+ });
2749
+ let e;
2750
+ return m() ? e = JSON.parse(A(t.data)) : e = t.data, t.status != 200 ? (r.status = t.status, r.message = "", r) : (r.data = {
2751
+ key: e.key
2752
+ }, r);
2753
+ } catch (t) {
2754
+ const e = t;
2755
+ return r.status = e.status || 500, r.message = e.message, r;
2756
+ }
2757
+ }
2758
+ const Ge = {
2725
2759
  status: 200,
2726
2760
  message: "",
2727
2761
  key: ""
2728
- }, Zt = {
2762
+ }, Yt = {
2729
2763
  status: 200,
2730
2764
  message: "",
2731
2765
  data: {
@@ -2739,32 +2773,24 @@ const je = {
2739
2773
  captcha: ""
2740
2774
  }
2741
2775
  };
2742
- async function qe(r, t, e, n, s) {
2743
- const i = Zt, o = r, a = t, u = e, h = s;
2776
+ async function Ke(r, t, e, n, s) {
2777
+ const i = Yt, o = r, a = t, u = e, h = s;
2744
2778
  try {
2745
- const l = await Ut([
2779
+ const l = await Kt([
2746
2780
  "slide-verification",
2747
2781
  "encryptkey",
2748
2782
  "CAPTCHA"
2749
2783
  ]), c = l.data.verificationBeforeLogin, v = l.data.publicKey, y = l.data.csrf, S = l.data.getCaptcha;
2750
2784
  let b = "";
2751
- if (c) {
2752
- const g = await R.get("/mbuhx0as4kui?ajax=1", {
2753
- params: {
2754
- render: m()
2755
- }
2756
- });
2757
- let I;
2758
- m() ? I = JSON.parse(A(g.data)) : I = g.data, b = I.key;
2759
- }
2760
- const D = new He();
2785
+ c && (b = (await $t()).data.key);
2786
+ const D = new Ce();
2761
2787
  D.setPublicKey(v);
2762
2788
  let x = n.host.split(":")[0];
2763
2789
  const O = D.encrypt(x.trim());
2764
2790
  O && x.length < 53 ? x = O : x = x.trim();
2765
2791
  const w = {};
2766
2792
  w.fr_username = D.encrypt(o.trim()), w.fr_password = D.encrypt(a.trim()), w.fr_gdcode = u, w.isApp = h, w.domain = x, w._token = y, w.json = 1, w.encrypt = 1;
2767
- const L = await R.post(`/kdink8anl8z3/?key=${b}`, {
2793
+ const L = await R.post(`/kdink8anl8z3?key=${b}`, {
2768
2794
  headers: {
2769
2795
  "X-CSRF-TOKEN": y
2770
2796
  },
@@ -2790,17 +2816,18 @@ async function qe(r, t, e, n, s) {
2790
2816
  }
2791
2817
  }
2792
2818
  export {
2793
- Ke as Repository,
2794
- re as cmsList,
2795
- ae as csLink,
2796
- se as currentLang,
2797
- oe as eGame,
2798
- Wt as fishGames,
2799
- ie as getLocale,
2800
- ue as getSetting,
2801
- ne as home,
2802
- Qt as hotGames,
2803
- fe as login,
2804
- ee as promotion,
2805
- te as trialGames
2819
+ Ze as Repository,
2820
+ se as cmsList,
2821
+ ue as csLink,
2822
+ ae as currentLang,
2823
+ fe as eGame,
2824
+ ee as fishGames,
2825
+ oe as getLocale,
2826
+ le as getLoginKey,
2827
+ he as getSetting,
2828
+ ie as home,
2829
+ te as hotGames,
2830
+ ce as login,
2831
+ ne as promotion,
2832
+ re as trialGames
2806
2833
  };