ss-component-new 1.1.151 → 1.1.152

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.
Files changed (69) hide show
  1. package/dist/{crypto-BRyGpjGR.js → JSEncrypt-B36c1iN5.js} +227 -248
  2. package/dist/{crypto-CRbcEKIz.cjs → JSEncrypt-IYbV4kRj.cjs} +11 -11
  3. package/dist/array-B5nxRJHp.cjs +7 -0
  4. package/dist/array-C-lwCO1i.js +2202 -0
  5. package/dist/{cloneDeep-Cm2ut66T.js → cloneDeep-CgCzY78k.js} +48 -54
  6. package/dist/cloneDeep-CxrTGRsH.cjs +1 -0
  7. package/dist/{index-DcuEMWMM.js → index-8K6mkF_E.js} +5 -5
  8. package/dist/{index-BH36LQch.js → index-9KKNbfsI.js} +1 -1
  9. package/dist/{index-DyhHmlGD.js → index-AGAoe6VG.js} +1 -1
  10. package/dist/{index-CcxZZo6K.cjs → index-B3mhZiQc.cjs} +1 -1
  11. package/dist/{index-DqOy9nnX.js → index-BE7Nv7hp.js} +4 -4
  12. package/dist/{index-CsK9LWak.cjs → index-BTrQjr1x.cjs} +1 -1
  13. package/dist/{index-BQK2DuaH.js → index-BZRHBGvW.js} +57 -57
  14. package/dist/{index-dm-zOhNm.cjs → index-BZRbicur.cjs} +1 -1
  15. package/dist/{index-BUkyNn3m.cjs → index-BbsmiTkh.cjs} +1 -1
  16. package/dist/{index-BgY5srT7.cjs → index-BliW6t9E.cjs} +1 -1
  17. package/dist/{index-DoHr_nug.js → index-C9MD_Vo2.js} +4 -4
  18. package/dist/{index-BHjs6gMr.js → index-CH33xxMO.js} +2 -2
  19. package/dist/{index-wsyih2HQ.cjs → index-CJclws9U.cjs} +1 -1
  20. package/dist/{index-BZaGIyxe.cjs → index-CJdkK-Tq.cjs} +1 -1
  21. package/dist/index-CUmMX7CV.cjs +1 -0
  22. package/dist/{index-GvkFEReE.js → index-CZWm6qbu.js} +4 -4
  23. package/dist/{index-Bel0p329.js → index-ClNLhrtG.js} +39 -39
  24. package/dist/{index-Ckrm7F4u.js → index-Cqkb2uUU.js} +1 -1
  25. package/dist/{index-D-6CVrZh.js → index-D2EJHSnu.js} +1 -1
  26. package/dist/{index-Cxz9ADeg.cjs → index-D8EolGmN.cjs} +3 -3
  27. package/dist/{index-ODNyDte9.js → index-D91Wj22J.js} +5 -5
  28. package/dist/{index-C8mv9PET.js → index-DAGxCefs.js} +6 -6
  29. package/dist/{index-YajCTD4A.cjs → index-DFHrtGuu.cjs} +1 -1
  30. package/dist/{index-Ch7zPabE.cjs → index-DKGLFy-2.cjs} +1 -1
  31. package/dist/{index-CtTbyHOu.js → index-DODmz1Q7.js} +8 -9
  32. package/dist/{index-DjlDuRvf.cjs → index-DSzPe1Z2.cjs} +1 -1
  33. package/dist/index-DUWRIeGS.cjs +1 -0
  34. package/dist/{index-Nb7mXZOf.js → index-DVTwGhbs.js} +3 -3
  35. package/dist/{index-D9hjyDNL.cjs → index-D_RdY--B.cjs} +1 -1
  36. package/dist/{index-BaSc02sA.cjs → index-DrHrIV8U.cjs} +1 -1
  37. package/dist/{index-D_JFO4Ed.js → index-DwqHfSsz.js} +60 -60
  38. package/dist/{index-DORM2j0-.js → index-Dx-wXRtL.js} +262 -249
  39. package/dist/{index-CMue5Zek.cjs → index-DxlKtIWw.cjs} +1 -1
  40. package/dist/{index-C_Ek6N_z.js → index-F6nuN5lZ.js} +4 -4
  41. package/dist/{index-Cy23PxmQ.cjs → index-MpEh0WVC.cjs} +1 -1
  42. package/dist/{index-BlNU-ya_.js → index-d4tpMS9t.js} +5 -5
  43. package/dist/{index-C1sMNKRi.cjs → index-xMHtCwmX.cjs} +1 -1
  44. package/dist/{index-DXQEaxeL.cjs → index-y1F5FFwJ.cjs} +1 -1
  45. package/dist/{index.vue_vue_type_script_setup_true_lang-ClNwGHXE.cjs → index.vue_vue_type_script_setup_true_lang-COi-xyWc.cjs} +1 -1
  46. package/dist/{index.vue_vue_type_script_setup_true_lang-CuQ3xcyC.js → index.vue_vue_type_script_setup_true_lang-SUEsaZWz.js} +2 -2
  47. package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-2MY1GUPK.cjs +1 -0
  48. package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-CQWVBok8.js +9 -0
  49. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-ClRL5aRq.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BhPhB5YO.cjs} +1 -1
  50. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BAlbShP-.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Drc1rCns.js} +3 -3
  51. package/dist/{login-DnBDEGHt.js → login-C63RqIyU.js} +2 -2
  52. package/dist/{login-aDjal4KC.cjs → login-DtKN5c4A.cjs} +1 -1
  53. package/dist/{main-Do8E5J_V.js → main-Cz1fAcOm.js} +4 -4
  54. package/dist/{main-ChEDt98s.cjs → main-Sh9ep4jh.cjs} +1 -1
  55. package/dist/{request-RC5ET7Nr.js → request-BLCreYdS.js} +1 -1
  56. package/dist/{request-BId7xEpo.cjs → request-DyC7pN3w.cjs} +1 -1
  57. package/dist/ss-component.cjs +1 -1
  58. package/dist/ss-component.css +1 -1
  59. package/dist/ss-component.js +6 -6
  60. package/dist/ss-component2.cjs +1 -1
  61. package/dist/ss-component2.js +1 -1
  62. package/package.json +1 -1
  63. package/dist/array-C09NLiVl.cjs +0 -7
  64. package/dist/array-CqhTXR28.js +0 -2348
  65. package/dist/cloneDeep-B6Av9vYT.cjs +0 -1
  66. package/dist/index-1TcDjOsz.cjs +0 -1
  67. package/dist/index-LX4uBOi3.cjs +0 -1
  68. package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-FY_pjpOg.js +0 -478
  69. package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-W4auoQ9V.cjs +0 -1
@@ -1,8 +1,8 @@
1
- var Dt = "0123456789abcdefghijklmnopqrstuvwxyz";
1
+ var Et = "0123456789abcdefghijklmnopqrstuvwxyz";
2
2
  function A(r) {
3
- return Dt.charAt(r);
3
+ return Et.charAt(r);
4
4
  }
5
- function xt(r, t) {
5
+ function Dt(r, t) {
6
6
  return r & t;
7
7
  }
8
8
  function Z(r, t) {
@@ -11,38 +11,38 @@ function Z(r, t) {
11
11
  function ut(r, t) {
12
12
  return r ^ t;
13
13
  }
14
- function lt(r, t) {
14
+ function at(r, t) {
15
15
  return r & ~t;
16
16
  }
17
- function Rt(r) {
17
+ function xt(r) {
18
18
  if (r == 0)
19
19
  return -1;
20
20
  var t = 0;
21
21
  return (r & 65535) == 0 && (r >>= 16, t += 16), (r & 255) == 0 && (r >>= 8, t += 8), (r & 15) == 0 && (r >>= 4, t += 4), (r & 3) == 0 && (r >>= 2, t += 2), (r & 1) == 0 && ++t, t;
22
22
  }
23
- function Bt(r) {
23
+ function Rt(r) {
24
24
  for (var t = 0; r != 0; )
25
25
  r &= r - 1, ++t;
26
26
  return t;
27
27
  }
28
- var _ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", mt = "=";
28
+ var _ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Tt = "=";
29
29
  function W(r) {
30
30
  var t, e, i = "";
31
31
  for (t = 0; t + 3 <= r.length; t += 3)
32
32
  e = parseInt(r.substring(t, t + 3), 16), i += _.charAt(e >> 6) + _.charAt(e & 63);
33
33
  for (t + 1 == r.length ? (e = parseInt(r.substring(t, t + 1), 16), i += _.charAt(e << 2)) : t + 2 == r.length && (e = parseInt(r.substring(t, t + 2), 16), i += _.charAt(e >> 2) + _.charAt((e & 3) << 4)); (i.length & 3) > 0; )
34
- i += mt;
34
+ i += Tt;
35
35
  return i;
36
36
  }
37
- function ct(r) {
37
+ function lt(r) {
38
38
  var t = "", e, i = 0, n = 0;
39
- for (e = 0; e < r.length && r.charAt(e) != mt; ++e) {
39
+ for (e = 0; e < r.length && r.charAt(e) != Tt; ++e) {
40
40
  var s = _.indexOf(r.charAt(e));
41
41
  s < 0 || (i == 0 ? (t += A(s >> 2), n = s & 3, i = 1) : i == 1 ? (t += A(n << 2 | s >> 4), n = s & 15, i = 2) : i == 2 ? (t += A(n), t += A(s >> 2), n = s & 3, i = 3) : (t += A(n << 2 | s >> 4), t += A(s & 15), i = 0));
42
42
  }
43
43
  return i == 1 && (t += A(n << 2)), t;
44
44
  }
45
- var H, At = {
45
+ var H, Bt = {
46
46
  decode: function(r) {
47
47
  var t;
48
48
  if (H === void 0) {
@@ -70,7 +70,7 @@ var H, At = {
70
70
  throw new Error("Hex encoding incomplete: 4 bits missing");
71
71
  return n;
72
72
  }
73
- }, P, ot = {
73
+ }, P, st = {
74
74
  decode: function(r) {
75
75
  var t;
76
76
  if (P === void 0) {
@@ -106,7 +106,7 @@ var H, At = {
106
106
  },
107
107
  re: /-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,
108
108
  unarmor: function(r) {
109
- var t = ot.re.exec(r);
109
+ var t = st.re.exec(r);
110
110
  if (t)
111
111
  if (t[1])
112
112
  r = t[1];
@@ -114,7 +114,7 @@ var H, At = {
114
114
  r = t[2];
115
115
  else
116
116
  throw new Error("RegExp out of sync");
117
- return ot.decode(r);
117
+ return st.decode(r);
118
118
  }
119
119
  }, C = 1e13, j = (
120
120
  /** @class */
@@ -148,11 +148,11 @@ var H, At = {
148
148
  return t.length == 1 ? t[0] : this;
149
149
  }, r;
150
150
  }()
151
- ), bt = "…", Ot = /^(\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)?)?$/, Vt = /^(\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)?)?$/;
151
+ ), mt = "…", At = /^(\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)?)?$/, Ot = /^(\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)?)?$/;
152
152
  function F(r, t) {
153
- return r.length > t && (r = r.substring(0, t) + bt), r;
153
+ return r.length > t && (r = r.substring(0, t) + mt), r;
154
154
  }
155
- var rt = (
155
+ var it = (
156
156
  /** @class */
157
157
  function() {
158
158
  function r(t, e) {
@@ -201,7 +201,7 @@ var rt = (
201
201
  n = this.get(h++), s = this.get(h++), i += String.fromCharCode(n << 8 | s);
202
202
  return i;
203
203
  }, r.prototype.parseTime = function(t, e, i) {
204
- var n = this.parseStringISO(t, e), s = (i ? Ot : Vt).exec(n);
204
+ var n = this.parseStringISO(t, e), s = (i ? At : Ot).exec(n);
205
205
  return s ? (i && (s[1] = +s[1], s[1] += +s[1] < 70 ? 2e3 : 1900), n = s[1] + "-" + s[2] + "-" + s[3] + " " + s[4], s[5] && (n += ":" + s[5], s[6] && (n += ":" + s[6], s[7] && (n += "." + s[7]))), s[8] && (n += " UTC", s[8] != "Z" && (n += s[8], s[9] && (n += ":" + s[9]))), n) : "Unrecognized time: " + n;
206
206
  }, r.prototype.parseInteger = function(t, e) {
207
207
  for (var i = this.get(t), n = i > 127, s = n ? 255 : 0, h, o = ""; i == s && ++t < e; )
@@ -215,14 +215,14 @@ var rt = (
215
215
  `;
216
216
  }
217
217
  n && (i = i - 256);
218
- for (var f = new j(i), u = t + 1; u < e; ++u)
219
- f.mulAdd(256, this.get(u));
218
+ for (var f = new j(i), a = t + 1; a < e; ++a)
219
+ f.mulAdd(256, this.get(a));
220
220
  return o + f.toString();
221
221
  }, r.prototype.parseBitString = function(t, e, i) {
222
222
  for (var n = this.get(t), s = (e - t - 1 << 3) - n, h = "(" + s + ` bit)
223
223
  `, o = "", f = t + 1; f < e; ++f) {
224
- for (var u = this.get(f), l = f == e - 1 ? n : 0, g = 7; g >= l; --g)
225
- o += u >> g & 1 ? "1" : "0";
224
+ for (var a = this.get(f), l = f == e - 1 ? n : 0, g = 7; g >= l; --g)
225
+ o += a >> g & 1 ? "1" : "0";
226
226
  if (o.length > i)
227
227
  return h + F(o, i);
228
228
  }
@@ -235,7 +235,7 @@ var rt = (
235
235
  i /= 2, n > i && (e = t + i);
236
236
  for (var h = t; h < e; ++h)
237
237
  s += this.hexByte(this.get(h));
238
- return n > i && (s += bt), s;
238
+ return n > i && (s += mt), s;
239
239
  }, r.prototype.parseOID = function(t, e, i) {
240
240
  for (var n = "", s = new j(), h = 0, o = t; o < e; ++o) {
241
241
  var f = this.get(o);
@@ -244,8 +244,8 @@ var rt = (
244
244
  if (s = s.simplify(), s instanceof j)
245
245
  s.sub(80), n = "2." + s.toString();
246
246
  else {
247
- var u = s < 80 ? s < 40 ? 0 : 1 : 2;
248
- n = u + "." + (s - u * 40);
247
+ var a = s < 80 ? s < 40 ? 0 : 1 : 2;
248
+ n = a + "." + (s - a * 40);
249
249
  }
250
250
  else
251
251
  n += "." + s.toString();
@@ -257,11 +257,11 @@ var rt = (
257
257
  return h > 0 && (n += ".incomplete"), n;
258
258
  }, r;
259
259
  }()
260
- ), It = (
260
+ ), Vt = (
261
261
  /** @class */
262
262
  function() {
263
263
  function r(t, e, i, n, s) {
264
- if (!(n instanceof pt))
264
+ if (!(n instanceof ct))
265
265
  throw new Error("Invalid tag value.");
266
266
  this.stream = t, this.header = e, this.length = i, this.tag = n, this.sub = s;
267
267
  }
@@ -425,8 +425,8 @@ var rt = (
425
425
  return t.substr(e, i);
426
426
  }, r.decode = function(t) {
427
427
  var e;
428
- t instanceof rt ? e = t : e = new rt(t, 0);
429
- var i = new rt(e), n = new pt(e), s = r.decodeLength(e), h = e.pos, o = h - i.pos, f = null, u = function() {
428
+ t instanceof it ? e = t : e = new it(t, 0);
429
+ var i = new it(e), n = new ct(e), s = r.decodeLength(e), h = e.pos, o = h - i.pos, f = null, a = function() {
430
430
  var g = [];
431
431
  if (s !== null) {
432
432
  for (var d = h + s; e.pos < d; )
@@ -448,12 +448,12 @@ var rt = (
448
448
  return g;
449
449
  };
450
450
  if (n.tagConstructed)
451
- f = u();
451
+ f = a();
452
452
  else if (n.isUniversal() && (n.tagNumber == 3 || n.tagNumber == 4))
453
453
  try {
454
454
  if (n.tagNumber == 3 && e.get() != 0)
455
455
  throw new Error("BIT STRINGs with unused bits cannot encapsulate.");
456
- f = u();
456
+ f = a();
457
457
  for (var l = 0; l < f.length; ++l)
458
458
  if (f[l].tag.isEOC())
459
459
  throw new Error("EOC is not supposed to be actual content.");
@@ -468,7 +468,7 @@ var rt = (
468
468
  return new r(i, o, s, n, f);
469
469
  }, r;
470
470
  }()
471
- ), pt = (
471
+ ), ct = (
472
472
  /** @class */
473
473
  function() {
474
474
  function r(t) {
@@ -487,7 +487,7 @@ var rt = (
487
487
  return this.tagClass === 0 && this.tagNumber === 0;
488
488
  }, r;
489
489
  }()
490
- ), I, Nt = 244837814094590, gt = (Nt & 16777215) == 15715070, w = [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], Pt = (1 << 26) / w[w.length - 1], c = (
490
+ ), I, It = 244837814094590, pt = (It & 16777215) == 15715070, w = [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], Nt = (1 << 26) / w[w.length - 1], c = (
491
491
  /** @class */
492
492
  function() {
493
493
  function r(t, e, i) {
@@ -537,7 +537,7 @@ var rt = (
537
537
  return this.abs().divRemTo(t, null, e), this.s < 0 && e.compareTo(r.ZERO) > 0 && t.subTo(e, e), e;
538
538
  }, r.prototype.modPowInt = function(t, e) {
539
539
  var i;
540
- return t < 256 || e.isEven() ? i = new vt(e) : i = new dt(e), this.exp(t, i);
540
+ return t < 256 || e.isEven() ? i = new gt(e) : i = new vt(e), this.exp(t, i);
541
541
  }, r.prototype.clone = function() {
542
542
  var t = p();
543
543
  return this.copyTo(t), t;
@@ -576,7 +576,7 @@ var rt = (
576
576
  return this.compareTo(t) > 0 ? this : t;
577
577
  }, r.prototype.and = function(t) {
578
578
  var e = p();
579
- return this.bitwiseTo(t, xt, e), e;
579
+ return this.bitwiseTo(t, Dt, e), e;
580
580
  }, r.prototype.or = function(t) {
581
581
  var e = p();
582
582
  return this.bitwiseTo(t, Z, e), e;
@@ -585,7 +585,7 @@ var rt = (
585
585
  return this.bitwiseTo(t, ut, e), e;
586
586
  }, r.prototype.andNot = function(t) {
587
587
  var e = p();
588
- return this.bitwiseTo(t, lt, e), e;
588
+ return this.bitwiseTo(t, at, e), e;
589
589
  }, r.prototype.not = function() {
590
590
  for (var t = p(), e = 0; e < this.t; ++e)
591
591
  t[e] = this.DM & ~this[e];
@@ -599,11 +599,11 @@ var rt = (
599
599
  }, r.prototype.getLowestSetBit = function() {
600
600
  for (var t = 0; t < this.t; ++t)
601
601
  if (this[t] != 0)
602
- return t * this.DB + Rt(this[t]);
602
+ return t * this.DB + xt(this[t]);
603
603
  return this.s < 0 ? this.t * this.DB : -1;
604
604
  }, r.prototype.bitCount = function() {
605
605
  for (var t = 0, e = this.s & this.DM, i = 0; i < this.t; ++i)
606
- t += Bt(this[i] ^ e);
606
+ t += Rt(this[i] ^ e);
607
607
  return t;
608
608
  }, r.prototype.testBit = function(t) {
609
609
  var e = Math.floor(t / this.DB);
@@ -611,7 +611,7 @@ var rt = (
611
611
  }, r.prototype.setBit = function(t) {
612
612
  return this.changeBit(t, Z);
613
613
  }, r.prototype.clearBit = function(t) {
614
- return this.changeBit(t, lt);
614
+ return this.changeBit(t, at);
615
615
  }, r.prototype.flipBit = function(t) {
616
616
  return this.changeBit(t, ut);
617
617
  }, r.prototype.add = function(t) {
@@ -636,8 +636,8 @@ var rt = (
636
636
  var i = t.bitLength(), n, s = O(1), h;
637
637
  if (i <= 0)
638
638
  return s;
639
- i < 18 ? n = 1 : i < 48 ? n = 3 : i < 144 ? n = 4 : i < 768 ? n = 5 : n = 6, i < 8 ? h = new vt(e) : e.isEven() ? h = new qt(e) : h = new dt(e);
640
- var o = [], f = 3, u = n - 1, l = (1 << n) - 1;
639
+ i < 18 ? n = 1 : i < 48 ? n = 3 : i < 144 ? n = 4 : i < 768 ? n = 5 : n = 6, i < 8 ? h = new gt(e) : e.isEven() ? h = new Mt(e) : h = new vt(e);
640
+ var o = [], f = 3, a = n - 1, l = (1 << n) - 1;
641
641
  if (o[1] = h.convert(this), n > 1) {
642
642
  var g = p();
643
643
  for (h.sqrTo(o[1], g); f <= l; )
@@ -645,7 +645,7 @@ var rt = (
645
645
  }
646
646
  var d = t.t - 1, y, T = !0, b = p(), E;
647
647
  for (i = G(t[d]) - 1; d >= 0; ) {
648
- for (i >= u ? y = t[d] >> i - u & l : (y = (t[d] & (1 << i + 1) - 1) << u - i, d > 0 && (y |= t[d - 1] >> this.DB + i - u)), f = n; (y & 1) == 0; )
648
+ for (i >= a ? y = t[d] >> i - a & l : (y = (t[d] & (1 << i + 1) - 1) << a - i, d > 0 && (y |= t[d - 1] >> this.DB + i - a)), f = n; (y & 1) == 0; )
649
649
  y >>= 1, --f;
650
650
  if ((i -= f) < 0 && (i += this.DB, --d), T)
651
651
  o[y].copyTo(s), T = !1;
@@ -679,7 +679,7 @@ var rt = (
679
679
  return f;
680
680
  return f.signum() < 0 ? f.add(t) : f;
681
681
  }, r.prototype.pow = function(t) {
682
- return this.exp(t, new Mt());
682
+ return this.exp(t, new Pt());
683
683
  }, r.prototype.gcd = function(t) {
684
684
  var e = this.s < 0 ? this.negate() : this.clone(), i = t.s < 0 ? t.negate() : t.clone();
685
685
  if (e.compareTo(i) < 0) {
@@ -703,7 +703,7 @@ var rt = (
703
703
  if (i.isEven())
704
704
  return !1;
705
705
  for (e = 1; e < w.length; ) {
706
- for (var n = w[e], s = e + 1; s < w.length && n < Pt; )
706
+ for (var n = w[e], s = e + 1; s < w.length && n < Nt; )
707
707
  n *= w[s++];
708
708
  for (n = i.modInt(n); e < s; )
709
709
  if (n % w[e++] == 0)
@@ -736,7 +736,7 @@ var rt = (
736
736
  }
737
737
  this.t = 0, this.s = 0;
738
738
  for (var n = t.length, s = !1, h = 0; --n >= 0; ) {
739
- var o = i == 8 ? +t[n] & 255 : St(t, n);
739
+ var o = i == 8 ? +t[n] & 255 : yt(t, n);
740
740
  if (o < 0) {
741
741
  t.charAt(n) == "-" && (s = !0);
742
742
  continue;
@@ -813,8 +813,8 @@ var rt = (
813
813
  return;
814
814
  }
815
815
  i == null && (i = p());
816
- var h = p(), o = this.s, f = t.s, u = this.DB - G(n[n.t - 1]);
817
- u > 0 ? (n.lShiftTo(u, h), s.lShiftTo(u, i)) : (n.copyTo(h), s.copyTo(i));
816
+ var h = p(), o = this.s, f = t.s, a = this.DB - G(n[n.t - 1]);
817
+ a > 0 ? (n.lShiftTo(a, h), s.lShiftTo(a, i)) : (n.copyTo(h), s.copyTo(i));
818
818
  var l = h.t, g = h[l - 1];
819
819
  if (g != 0) {
820
820
  var d = g * (1 << this.F1) + (l > 1 ? h[l - 2] >> this.F2 : 0), y = this.FV / d, T = (1 << this.F1) / d, b = 1 << this.F2, E = i.t, M = E - l, B = e ?? p();
@@ -826,7 +826,7 @@ var rt = (
826
826
  for (h.dlShiftTo(M, B), i.subTo(B, i); i[E] < --q; )
827
827
  i.subTo(B, i);
828
828
  }
829
- e != null && (i.drShiftTo(l, e), o != f && r.ZERO.subTo(e, e)), i.t = l, i.clamp(), u > 0 && i.rShiftTo(u, i), o < 0 && r.ZERO.subTo(i, i);
829
+ e != null && (i.drShiftTo(l, e), o != f && r.ZERO.subTo(e, e)), i.t = l, i.clamp(), a > 0 && i.rShiftTo(a, i), o < 0 && r.ZERO.subTo(i, i);
830
830
  }
831
831
  }
832
832
  }, r.prototype.invDigit = function() {
@@ -863,12 +863,12 @@ var rt = (
863
863
  }, r.prototype.fromRadix = function(t, e) {
864
864
  this.fromInt(0), e == null && (e = 10);
865
865
  for (var i = this.chunkSize(e), n = Math.pow(e, i), s = !1, h = 0, o = 0, f = 0; f < t.length; ++f) {
866
- var u = St(t, f);
867
- if (u < 0) {
866
+ var a = yt(t, f);
867
+ if (a < 0) {
868
868
  t.charAt(f) == "-" && this.signum() == 0 && (s = !0);
869
869
  continue;
870
870
  }
871
- o = e * o + u, ++h >= i && (this.dMultiply(n), this.dAddOffset(o, 0), h = 0, o = 0);
871
+ o = e * o + a, ++h >= i && (this.dMultiply(n), this.dAddOffset(o, 0), h = 0, o = 0);
872
872
  }
873
873
  h > 0 && (this.dMultiply(Math.pow(e, h)), this.dAddOffset(o, 0)), s && r.ZERO.subTo(this, this);
874
874
  }, r.prototype.fromNumber = function(t, e, i) {
@@ -1007,7 +1007,7 @@ var rt = (
1007
1007
  }
1008
1008
  }, r;
1009
1009
  }()
1010
- ), Mt = (
1010
+ ), Pt = (
1011
1011
  /** @class */
1012
1012
  function() {
1013
1013
  function r() {
@@ -1022,7 +1022,7 @@ var rt = (
1022
1022
  t.squareTo(e);
1023
1023
  }, r;
1024
1024
  }()
1025
- ), vt = (
1025
+ ), gt = (
1026
1026
  /** @class */
1027
1027
  function() {
1028
1028
  function r(t) {
@@ -1040,7 +1040,7 @@ var rt = (
1040
1040
  t.squareTo(e), this.reduce(e);
1041
1041
  }, r;
1042
1042
  }()
1043
- ), dt = (
1043
+ ), vt = (
1044
1044
  /** @class */
1045
1045
  function() {
1046
1046
  function r(t) {
@@ -1067,7 +1067,7 @@ var rt = (
1067
1067
  t.squareTo(e), this.reduce(e);
1068
1068
  }, r;
1069
1069
  }()
1070
- ), qt = (
1070
+ ), Mt = (
1071
1071
  /** @class */
1072
1072
  function() {
1073
1073
  function r(t) {
@@ -1100,14 +1100,14 @@ function p() {
1100
1100
  function S(r, t) {
1101
1101
  return new c(r, t);
1102
1102
  }
1103
- var yt = typeof navigator < "u";
1104
- yt && gt && navigator.appName == "Microsoft Internet Explorer" ? (c.prototype.am = function(t, e, i, n, s, h) {
1103
+ var dt = typeof navigator < "u";
1104
+ dt && pt && navigator.appName == "Microsoft Internet Explorer" ? (c.prototype.am = function(t, e, i, n, s, h) {
1105
1105
  for (var o = e & 32767, f = e >> 15; --h >= 0; ) {
1106
- var u = this[t] & 32767, l = this[t++] >> 15, g = f * u + l * o;
1107
- u = o * u + ((g & 32767) << 15) + i[n] + (s & 1073741823), s = (u >>> 30) + (g >>> 15) + f * l + (s >>> 30), i[n++] = u & 1073741823;
1106
+ var a = this[t] & 32767, l = this[t++] >> 15, g = f * a + l * o;
1107
+ a = o * a + ((g & 32767) << 15) + i[n] + (s & 1073741823), s = (a >>> 30) + (g >>> 15) + f * l + (s >>> 30), i[n++] = a & 1073741823;
1108
1108
  }
1109
1109
  return s;
1110
- }, I = 30) : yt && gt && navigator.appName != "Netscape" ? (c.prototype.am = function(t, e, i, n, s, h) {
1110
+ }, I = 30) : dt && pt && navigator.appName != "Netscape" ? (c.prototype.am = function(t, e, i, n, s, h) {
1111
1111
  for (; --h >= 0; ) {
1112
1112
  var o = e * this[t++] + i[n] + s;
1113
1113
  s = Math.floor(o / 67108864), i[n++] = o & 67108863;
@@ -1115,29 +1115,29 @@ yt && gt && navigator.appName == "Microsoft Internet Explorer" ? (c.prototype.am
1115
1115
  return s;
1116
1116
  }, I = 26) : (c.prototype.am = function(t, e, i, n, s, h) {
1117
1117
  for (var o = e & 16383, f = e >> 14; --h >= 0; ) {
1118
- var u = this[t] & 16383, l = this[t++] >> 14, g = f * u + l * o;
1119
- u = o * u + ((g & 16383) << 14) + i[n] + s, s = (u >> 28) + (g >> 14) + f * l, i[n++] = u & 268435455;
1118
+ var a = this[t] & 16383, l = this[t++] >> 14, g = f * a + l * o;
1119
+ a = o * a + ((g & 16383) << 14) + i[n] + s, s = (a >> 28) + (g >> 14) + f * l, i[n++] = a & 268435455;
1120
1120
  }
1121
1121
  return s;
1122
1122
  }, I = 28);
1123
1123
  c.prototype.DB = I;
1124
1124
  c.prototype.DM = (1 << I) - 1;
1125
1125
  c.prototype.DV = 1 << I;
1126
- var ft = 52;
1127
- c.prototype.FV = Math.pow(2, ft);
1128
- c.prototype.F1 = ft - I;
1129
- c.prototype.F2 = 2 * I - ft;
1130
- var tt = [], K, D;
1131
- K = 48;
1126
+ var ht = 52;
1127
+ c.prototype.FV = Math.pow(2, ht);
1128
+ c.prototype.F1 = ht - I;
1129
+ c.prototype.F2 = 2 * I - ht;
1130
+ var tt = [], L, D;
1131
+ L = 48;
1132
1132
  for (D = 0; D <= 9; ++D)
1133
- tt[K++] = D;
1134
- K = 97;
1133
+ tt[L++] = D;
1134
+ L = 97;
1135
1135
  for (D = 10; D < 36; ++D)
1136
- tt[K++] = D;
1137
- K = 65;
1136
+ tt[L++] = D;
1137
+ L = 65;
1138
1138
  for (D = 10; D < 36; ++D)
1139
- tt[K++] = D;
1140
- function St(r, t) {
1139
+ tt[L++] = D;
1140
+ function yt(r, t) {
1141
1141
  var e = tt[r.charCodeAt(t)];
1142
1142
  return e ?? -1;
1143
1143
  }
@@ -1151,7 +1151,7 @@ function G(r) {
1151
1151
  }
1152
1152
  c.ZERO = O(0);
1153
1153
  c.ONE = O(1);
1154
- var Ht = (
1154
+ var qt = (
1155
1155
  /** @class */
1156
1156
  function() {
1157
1157
  function r() {
@@ -1170,20 +1170,20 @@ var Ht = (
1170
1170
  }, r;
1171
1171
  }()
1172
1172
  );
1173
- function Ct() {
1174
- return new Ht();
1173
+ function Ht() {
1174
+ return new qt();
1175
1175
  }
1176
- var wt = 256, $, V = null, R;
1176
+ var bt = 256, $, V = null, R;
1177
1177
  if (V == null) {
1178
1178
  V = [], R = 0;
1179
1179
  var J = void 0;
1180
1180
  if (typeof window < "u" && window.crypto && window.crypto.getRandomValues) {
1181
- var nt = new Uint32Array(256);
1182
- for (window.crypto.getRandomValues(nt), J = 0; J < nt.length; ++J)
1183
- V[R++] = nt[J] & 255;
1181
+ var rt = new Uint32Array(256);
1182
+ for (window.crypto.getRandomValues(rt), J = 0; J < rt.length; ++J)
1183
+ V[R++] = rt[J] & 255;
1184
1184
  }
1185
1185
  var Y = 0, X = function(r) {
1186
- if (Y = Y || 0, Y >= 256 || R >= wt) {
1186
+ if (Y = Y || 0, Y >= 256 || R >= bt) {
1187
1187
  window.removeEventListener ? window.removeEventListener("mousemove", X, !1) : window.detachEvent && window.detachEvent("onmousemove", X);
1188
1188
  return;
1189
1189
  }
@@ -1195,9 +1195,9 @@ if (V == null) {
1195
1195
  };
1196
1196
  typeof window < "u" && (window.addEventListener ? window.addEventListener("mousemove", X, !1) : window.attachEvent && window.attachEvent("onmousemove", X));
1197
1197
  }
1198
- function _t() {
1198
+ function Ct() {
1199
1199
  if ($ == null) {
1200
- for ($ = Ct(); R < wt; ) {
1200
+ for ($ = Ht(); R < bt; ) {
1201
1201
  var r = Math.floor(65536 * Math.random());
1202
1202
  V[R++] = r & 255;
1203
1203
  }
@@ -1207,18 +1207,18 @@ function _t() {
1207
1207
  }
1208
1208
  return $.next();
1209
1209
  }
1210
- var ht = (
1210
+ var ot = (
1211
1211
  /** @class */
1212
1212
  function() {
1213
1213
  function r() {
1214
1214
  }
1215
1215
  return r.prototype.nextBytes = function(t) {
1216
1216
  for (var e = 0; e < t.length; ++e)
1217
- t[e] = _t();
1217
+ t[e] = Ct();
1218
1218
  }, r;
1219
1219
  }()
1220
1220
  );
1221
- function Ft(r, t) {
1221
+ function _t(r, t) {
1222
1222
  if (t < r.length + 22)
1223
1223
  return console.error("Message too long for RSA"), null;
1224
1224
  for (var e = t - r.length - 6, i = "", n = 0; n < e; n += 2)
@@ -1226,7 +1226,7 @@ function Ft(r, t) {
1226
1226
  var s = "0001" + i + "00" + r;
1227
1227
  return S(s, 16);
1228
1228
  }
1229
- function Kt(r, t) {
1229
+ function Ft(r, t) {
1230
1230
  if (t < r.length + 11)
1231
1231
  return console.error("Message too long for RSA"), null;
1232
1232
  for (var e = [], i = r.length - 1; i >= 0 && t > 0; ) {
@@ -1234,7 +1234,7 @@ function Kt(r, t) {
1234
1234
  n < 128 ? e[--t] = n : n > 127 && n < 2048 ? (e[--t] = n & 63 | 128, e[--t] = n >> 6 | 192) : (e[--t] = n & 63 | 128, e[--t] = n >> 6 & 63 | 128, e[--t] = n >> 12 | 224);
1235
1235
  }
1236
1236
  e[--t] = 0;
1237
- for (var s = new ht(), h = []; t > 2; ) {
1237
+ for (var s = new ot(), h = []; t > 2; ) {
1238
1238
  for (h[0] = 0; h[0] == 0; )
1239
1239
  s.nextBytes(h);
1240
1240
  e[--t] = h[0];
@@ -1258,7 +1258,7 @@ var Lt = (
1258
1258
  }, r.prototype.setPublic = function(t, e) {
1259
1259
  t != null && e != null && t.length > 0 && e.length > 0 ? (this.n = S(t, 16), this.e = parseInt(e, 16)) : console.error("Invalid RSA public key");
1260
1260
  }, r.prototype.encrypt = function(t) {
1261
- var e = this.n.bitLength() + 7 >> 3, i = Kt(t, e);
1261
+ var e = this.n.bitLength() + 7 >> 3, i = Ft(t, e);
1262
1262
  if (i == null)
1263
1263
  return null;
1264
1264
  var n = this.doPublic(i);
@@ -1272,7 +1272,7 @@ var Lt = (
1272
1272
  }, r.prototype.setPrivateEx = function(t, e, i, n, s, h, o, f) {
1273
1273
  t != null && e != null && t.length > 0 && e.length > 0 ? (this.n = S(t, 16), this.e = parseInt(e, 16), this.d = S(i, 16), this.p = S(n, 16), this.q = S(s, 16), this.dmp1 = S(h, 16), this.dmq1 = S(o, 16), this.coeff = S(f, 16)) : console.error("Invalid RSA private key");
1274
1274
  }, r.prototype.generate = function(t, e) {
1275
- var i = new ht(), n = t >> 1;
1275
+ var i = new ot(), n = t >> 1;
1276
1276
  this.e = parseInt(e, 16);
1277
1277
  for (var s = new c(e, 16); ; ) {
1278
1278
  for (; this.p = new c(t - n, 1, i), !(this.p.subtract(c.ONE).gcd(s).compareTo(c.ONE) == 0 && this.p.isProbablePrime(10)); )
@@ -1283,20 +1283,20 @@ var Lt = (
1283
1283
  var h = this.p;
1284
1284
  this.p = this.q, this.q = h;
1285
1285
  }
1286
- var o = this.p.subtract(c.ONE), f = this.q.subtract(c.ONE), u = o.multiply(f);
1287
- if (u.gcd(s).compareTo(c.ONE) == 0) {
1288
- this.n = this.p.multiply(this.q), this.d = s.modInverse(u), this.dmp1 = this.d.mod(o), this.dmq1 = this.d.mod(f), this.coeff = this.q.modInverse(this.p);
1286
+ var o = this.p.subtract(c.ONE), f = this.q.subtract(c.ONE), a = o.multiply(f);
1287
+ if (a.gcd(s).compareTo(c.ONE) == 0) {
1288
+ this.n = this.p.multiply(this.q), this.d = s.modInverse(a), this.dmp1 = this.d.mod(o), this.dmq1 = this.d.mod(f), this.coeff = this.q.modInverse(this.p);
1289
1289
  break;
1290
1290
  }
1291
1291
  }
1292
1292
  }, r.prototype.decrypt = function(t) {
1293
1293
  var e = S(t, 16), i = this.doPrivate(e);
1294
- return i == null ? null : Ut(i, this.n.bitLength() + 7 >> 3);
1294
+ return i == null ? null : Kt(i, this.n.bitLength() + 7 >> 3);
1295
1295
  }, r.prototype.generateAsync = function(t, e, i) {
1296
- var n = new ht(), s = t >> 1;
1296
+ var n = new ot(), s = t >> 1;
1297
1297
  this.e = parseInt(e, 16);
1298
1298
  var h = new c(e, 16), o = this, f = function() {
1299
- var u = function() {
1299
+ var a = function() {
1300
1300
  if (o.p.compareTo(o.q) <= 0) {
1301
1301
  var d = o.p;
1302
1302
  o.p = o.q, o.q = d;
@@ -1308,7 +1308,7 @@ var Lt = (
1308
1308
  }, l = function() {
1309
1309
  o.q = p(), o.q.fromNumberAsync(s, 1, n, function() {
1310
1310
  o.q.subtract(c.ONE).gcda(h, function(d) {
1311
- d.compareTo(c.ONE) == 0 && o.q.isProbablePrime(10) ? setTimeout(u, 0) : setTimeout(l, 0);
1311
+ d.compareTo(c.ONE) == 0 && o.q.isProbablePrime(10) ? setTimeout(a, 0) : setTimeout(l, 0);
1312
1312
  });
1313
1313
  });
1314
1314
  }, g = function() {
@@ -1322,7 +1322,7 @@ var Lt = (
1322
1322
  };
1323
1323
  setTimeout(f, 0);
1324
1324
  }, r.prototype.sign = function(t, e, i) {
1325
- var n = jt(i), s = n + e(t).toString(), h = Ft(s, this.n.bitLength() / 4);
1325
+ var n = Ut(i), s = n + e(t).toString(), h = _t(s, this.n.bitLength() / 4);
1326
1326
  if (h == null)
1327
1327
  return null;
1328
1328
  var o = this.doPrivate(h);
@@ -1334,12 +1334,12 @@ var Lt = (
1334
1334
  var n = S(e, 16), s = this.doPublic(n);
1335
1335
  if (s == null)
1336
1336
  return null;
1337
- var h = s.toString(16).replace(/^1f+00/, ""), o = kt(h);
1337
+ var h = s.toString(16).replace(/^1f+00/, ""), o = jt(h);
1338
1338
  return o == i(t).toString();
1339
1339
  }, r;
1340
1340
  }()
1341
1341
  );
1342
- function Ut(r, t) {
1342
+ function Kt(r, t) {
1343
1343
  for (var e = r.toByteArray(), i = 0; i < e.length && e[i] == 0; )
1344
1344
  ++i;
1345
1345
  if (e.length - i != t - 1 || e[i] != 2)
@@ -1363,10 +1363,10 @@ var Q = {
1363
1363
  sha512: "3051300d060960864801650304020305000440",
1364
1364
  ripemd160: "3021300906052b2403020105000414"
1365
1365
  };
1366
- function jt(r) {
1366
+ function Ut(r) {
1367
1367
  return Q[r] || "";
1368
1368
  }
1369
- function kt(r) {
1369
+ function jt(r) {
1370
1370
  for (var t in Q)
1371
1371
  if (Q.hasOwnProperty(t)) {
1372
1372
  var e = Q[t], i = e.length;
@@ -1411,8 +1411,8 @@ m.lang = {
1411
1411
  try {
1412
1412
  /MSIE/.test(navigator.userAgent) && (s = function(o, f) {
1413
1413
  for (n = 0; n < h.length; n = n + 1) {
1414
- var u = h[n], l = f[u];
1415
- typeof l == "function" && l != Object.prototype[u] && (o[u] = l);
1414
+ var a = h[n], l = f[a];
1415
+ typeof l == "function" && l != Object.prototype[a] && (o[a] = l);
1416
1416
  }
1417
1417
  });
1418
1418
  } catch {
@@ -1429,9 +1429,9 @@ m.lang = {
1429
1429
  * @since jsrsasign 2.1
1430
1430
  * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
1431
1431
  */
1432
- var a = {};
1433
- (typeof a.asn1 > "u" || !a.asn1) && (a.asn1 = {});
1434
- a.asn1.ASN1Util = new function() {
1432
+ var u = {};
1433
+ (typeof u.asn1 > "u" || !u.asn1) && (u.asn1 = {});
1434
+ u.asn1.ASN1Util = new function() {
1435
1435
  this.integerToByteHex = function(r) {
1436
1436
  var t = r.toString(16);
1437
1437
  return t.length % 2 == 1 && (t = "0" + t), t;
@@ -1451,10 +1451,10 @@ a.asn1.ASN1Util = new function() {
1451
1451
  }, this.getPEMStringFromHex = function(r, t) {
1452
1452
  return hextopem(r, t);
1453
1453
  }, this.newObject = function(r) {
1454
- var t = a, e = t.asn1, i = e.DERBoolean, n = e.DERInteger, s = e.DERBitString, h = e.DEROctetString, o = e.DERNull, f = e.DERObjectIdentifier, u = e.DEREnumerated, l = e.DERUTF8String, g = e.DERNumericString, d = e.DERPrintableString, y = e.DERTeletexString, T = e.DERIA5String, b = e.DERUTCTime, E = e.DERGeneralizedTime, M = e.DERSequence, B = e.DERSet, q = e.DERTaggedObject, k = e.ASN1Util.newObject, at = Object.keys(r);
1455
- if (at.length != 1)
1454
+ var t = u, e = t.asn1, i = e.DERBoolean, n = e.DERInteger, s = e.DERBitString, h = e.DEROctetString, o = e.DERNull, f = e.DERObjectIdentifier, a = e.DEREnumerated, l = e.DERUTF8String, g = e.DERNumericString, d = e.DERPrintableString, y = e.DERTeletexString, T = e.DERIA5String, b = e.DERUTCTime, E = e.DERGeneralizedTime, M = e.DERSequence, B = e.DERSet, q = e.DERTaggedObject, k = e.ASN1Util.newObject, ft = Object.keys(r);
1455
+ if (ft.length != 1)
1456
1456
  throw "key of param shall be only one.";
1457
- var v = at[0];
1457
+ var v = ft[0];
1458
1458
  if (":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":" + v + ":") == -1)
1459
1459
  throw "undefined key: " + v;
1460
1460
  if (v == "bool")
@@ -1470,7 +1470,7 @@ a.asn1.ASN1Util = new function() {
1470
1470
  if (v == "oid")
1471
1471
  return new f(r[v]);
1472
1472
  if (v == "enum")
1473
- return new u(r[v]);
1473
+ return new a(r[v]);
1474
1474
  if (v == "utf8str")
1475
1475
  return new l(r[v]);
1476
1476
  if (v == "numstr")
@@ -1486,27 +1486,27 @@ a.asn1.ASN1Util = new function() {
1486
1486
  if (v == "gentime")
1487
1487
  return new E(r[v]);
1488
1488
  if (v == "seq") {
1489
- for (var L = r[v], U = [], N = 0; N < L.length; N++) {
1490
- var it = k(L[N]);
1491
- U.push(it);
1489
+ for (var K = r[v], U = [], N = 0; N < K.length; N++) {
1490
+ var et = k(K[N]);
1491
+ U.push(et);
1492
1492
  }
1493
1493
  return new M({ array: U });
1494
1494
  }
1495
1495
  if (v == "set") {
1496
- for (var L = r[v], U = [], N = 0; N < L.length; N++) {
1497
- var it = k(L[N]);
1498
- U.push(it);
1496
+ for (var K = r[v], U = [], N = 0; N < K.length; N++) {
1497
+ var et = k(K[N]);
1498
+ U.push(et);
1499
1499
  }
1500
1500
  return new B({ array: U });
1501
1501
  }
1502
1502
  if (v == "tag") {
1503
1503
  var x = r[v];
1504
1504
  if (Object.prototype.toString.call(x) === "[object Array]" && x.length == 3) {
1505
- var Et = k(x[2]);
1505
+ var wt = k(x[2]);
1506
1506
  return new q({
1507
1507
  tag: x[0],
1508
1508
  explicit: x[1],
1509
- obj: Et
1509
+ obj: wt
1510
1510
  });
1511
1511
  } else {
1512
1512
  var z = {};
@@ -1520,22 +1520,22 @@ a.asn1.ASN1Util = new function() {
1520
1520
  return t.getEncodedHex();
1521
1521
  };
1522
1522
  }();
1523
- a.asn1.ASN1Util.oidHexToInt = function(r) {
1523
+ u.asn1.ASN1Util.oidHexToInt = function(r) {
1524
1524
  for (var n = "", t = parseInt(r.substr(0, 2), 16), e = Math.floor(t / 40), i = t % 40, n = e + "." + i, s = "", h = 2; h < r.length; h += 2) {
1525
1525
  var o = parseInt(r.substr(h, 2), 16), f = ("00000000" + o.toString(2)).slice(-8);
1526
1526
  if (s = s + f.substr(1, 7), f.substr(0, 1) == "0") {
1527
- var u = new c(s, 2);
1528
- n = n + "." + u.toString(10), s = "";
1527
+ var a = new c(s, 2);
1528
+ n = n + "." + a.toString(10), s = "";
1529
1529
  }
1530
1530
  }
1531
1531
  return n;
1532
1532
  };
1533
- a.asn1.ASN1Util.oidIntToHex = function(r) {
1533
+ u.asn1.ASN1Util.oidIntToHex = function(r) {
1534
1534
  var t = function(o) {
1535
1535
  var f = o.toString(16);
1536
1536
  return f.length == 1 && (f = "0" + f), f;
1537
1537
  }, e = function(o) {
1538
- var f = "", u = new c(o, 10), l = u.toString(2), g = 7 - l.length % 7;
1538
+ var f = "", a = new c(o, 10), l = a.toString(2), g = 7 - l.length % 7;
1539
1539
  g == 7 && (g = 0);
1540
1540
  for (var d = "", y = 0; y < g; y++)
1541
1541
  d += "0";
@@ -1554,7 +1554,7 @@ a.asn1.ASN1Util.oidIntToHex = function(r) {
1554
1554
  i += e(n[h]);
1555
1555
  return i;
1556
1556
  };
1557
- a.asn1.ASN1Object = function() {
1557
+ u.asn1.ASN1Object = function() {
1558
1558
  var r = "";
1559
1559
  this.getLengthHexFromValue = function() {
1560
1560
  if (typeof this.hV > "u" || this.hV == null)
@@ -1577,8 +1577,8 @@ a.asn1.ASN1Object = function() {
1577
1577
  return "";
1578
1578
  };
1579
1579
  };
1580
- a.asn1.DERAbstractString = function(r) {
1581
- a.asn1.DERAbstractString.superclass.constructor.call(this), this.getString = function() {
1580
+ u.asn1.DERAbstractString = function(r) {
1581
+ u.asn1.DERAbstractString.superclass.constructor.call(this), this.getString = function() {
1582
1582
  return this.s;
1583
1583
  }, this.setString = function(t) {
1584
1584
  this.hTLV = null, this.isModified = !0, this.s = t, this.hV = stohex(this.s);
@@ -1588,16 +1588,16 @@ a.asn1.DERAbstractString = function(r) {
1588
1588
  return this.hV;
1589
1589
  }, typeof r < "u" && (typeof r == "string" ? this.setString(r) : typeof r.str < "u" ? this.setString(r.str) : typeof r.hex < "u" && this.setStringHex(r.hex));
1590
1590
  };
1591
- m.lang.extend(a.asn1.DERAbstractString, a.asn1.ASN1Object);
1592
- a.asn1.DERAbstractTime = function(r) {
1593
- a.asn1.DERAbstractTime.superclass.constructor.call(this), this.localDateToUTC = function(t) {
1591
+ m.lang.extend(u.asn1.DERAbstractString, u.asn1.ASN1Object);
1592
+ u.asn1.DERAbstractTime = function(r) {
1593
+ u.asn1.DERAbstractTime.superclass.constructor.call(this), this.localDateToUTC = function(t) {
1594
1594
  utc = t.getTime() + t.getTimezoneOffset() * 6e4;
1595
1595
  var e = new Date(utc);
1596
1596
  return e;
1597
1597
  }, this.formatDate = function(t, e, i) {
1598
1598
  var n = this.zeroPadding, s = this.localDateToUTC(t), h = String(s.getFullYear());
1599
1599
  e == "utc" && (h = h.substr(2, 2));
1600
- var o = n(String(s.getMonth() + 1), 2), f = n(String(s.getDate()), 2), u = n(String(s.getHours()), 2), l = n(String(s.getMinutes()), 2), g = n(String(s.getSeconds()), 2), d = h + o + f + u + l + g;
1600
+ var o = n(String(s.getMonth() + 1), 2), f = n(String(s.getDate()), 2), a = n(String(s.getHours()), 2), l = n(String(s.getMinutes()), 2), g = n(String(s.getSeconds()), 2), d = h + o + f + a + l + g;
1601
1601
  if (i === !0) {
1602
1602
  var y = s.getMilliseconds();
1603
1603
  if (y != 0) {
@@ -1619,22 +1619,22 @@ a.asn1.DERAbstractTime = function(r) {
1619
1619
  return this.hV;
1620
1620
  };
1621
1621
  };
1622
- m.lang.extend(a.asn1.DERAbstractTime, a.asn1.ASN1Object);
1623
- a.asn1.DERAbstractStructured = function(r) {
1624
- a.asn1.DERAbstractString.superclass.constructor.call(this), this.setByASN1ObjectArray = function(t) {
1622
+ m.lang.extend(u.asn1.DERAbstractTime, u.asn1.ASN1Object);
1623
+ u.asn1.DERAbstractStructured = function(r) {
1624
+ u.asn1.DERAbstractString.superclass.constructor.call(this), this.setByASN1ObjectArray = function(t) {
1625
1625
  this.hTLV = null, this.isModified = !0, this.asn1Array = t;
1626
1626
  }, this.appendASN1Object = function(t) {
1627
1627
  this.hTLV = null, this.isModified = !0, this.asn1Array.push(t);
1628
1628
  }, this.asn1Array = new Array(), typeof r < "u" && typeof r.array < "u" && (this.asn1Array = r.array);
1629
1629
  };
1630
- m.lang.extend(a.asn1.DERAbstractStructured, a.asn1.ASN1Object);
1631
- a.asn1.DERBoolean = function() {
1632
- a.asn1.DERBoolean.superclass.constructor.call(this), this.hT = "01", this.hTLV = "0101ff";
1630
+ m.lang.extend(u.asn1.DERAbstractStructured, u.asn1.ASN1Object);
1631
+ u.asn1.DERBoolean = function() {
1632
+ u.asn1.DERBoolean.superclass.constructor.call(this), this.hT = "01", this.hTLV = "0101ff";
1633
1633
  };
1634
- m.lang.extend(a.asn1.DERBoolean, a.asn1.ASN1Object);
1635
- a.asn1.DERInteger = function(r) {
1636
- a.asn1.DERInteger.superclass.constructor.call(this), this.hT = "02", this.setByBigInteger = function(t) {
1637
- this.hTLV = null, this.isModified = !0, this.hV = a.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t);
1634
+ m.lang.extend(u.asn1.DERBoolean, u.asn1.ASN1Object);
1635
+ u.asn1.DERInteger = function(r) {
1636
+ u.asn1.DERInteger.superclass.constructor.call(this), this.hT = "02", this.setByBigInteger = function(t) {
1637
+ this.hTLV = null, this.isModified = !0, this.hV = u.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t);
1638
1638
  }, this.setByInteger = function(t) {
1639
1639
  var e = new c(String(t), 10);
1640
1640
  this.setByBigInteger(e);
@@ -1644,13 +1644,13 @@ a.asn1.DERInteger = function(r) {
1644
1644
  return this.hV;
1645
1645
  }, typeof r < "u" && (typeof r.bigint < "u" ? this.setByBigInteger(r.bigint) : typeof r.int < "u" ? this.setByInteger(r.int) : typeof r == "number" ? this.setByInteger(r) : typeof r.hex < "u" && this.setValueHex(r.hex));
1646
1646
  };
1647
- m.lang.extend(a.asn1.DERInteger, a.asn1.ASN1Object);
1648
- a.asn1.DERBitString = function(r) {
1647
+ m.lang.extend(u.asn1.DERInteger, u.asn1.ASN1Object);
1648
+ u.asn1.DERBitString = function(r) {
1649
1649
  if (r !== void 0 && typeof r.obj < "u") {
1650
- var t = a.asn1.ASN1Util.newObject(r.obj);
1650
+ var t = u.asn1.ASN1Util.newObject(r.obj);
1651
1651
  r.hex = "00" + t.getEncodedHex();
1652
1652
  }
1653
- a.asn1.DERBitString.superclass.constructor.call(this), this.hT = "03", this.setHexValueIncludingUnusedBits = function(e) {
1653
+ u.asn1.DERBitString.superclass.constructor.call(this), this.hT = "03", this.setHexValueIncludingUnusedBits = function(e) {
1654
1654
  this.hTLV = null, this.isModified = !0, this.hV = e;
1655
1655
  }, this.setUnusedBitsAndHexValue = function(e, i) {
1656
1656
  if (e < 0 || 7 < e)
@@ -1680,36 +1680,36 @@ a.asn1.DERBitString = function(r) {
1680
1680
  return this.hV;
1681
1681
  }, typeof r < "u" && (typeof r == "string" && r.toLowerCase().match(/^[0-9a-f]+$/) ? this.setHexValueIncludingUnusedBits(r) : typeof r.hex < "u" ? this.setHexValueIncludingUnusedBits(r.hex) : typeof r.bin < "u" ? this.setByBinaryString(r.bin) : typeof r.array < "u" && this.setByBooleanArray(r.array));
1682
1682
  };
1683
- m.lang.extend(a.asn1.DERBitString, a.asn1.ASN1Object);
1684
- a.asn1.DEROctetString = function(r) {
1683
+ m.lang.extend(u.asn1.DERBitString, u.asn1.ASN1Object);
1684
+ u.asn1.DEROctetString = function(r) {
1685
1685
  if (r !== void 0 && typeof r.obj < "u") {
1686
- var t = a.asn1.ASN1Util.newObject(r.obj);
1686
+ var t = u.asn1.ASN1Util.newObject(r.obj);
1687
1687
  r.hex = t.getEncodedHex();
1688
1688
  }
1689
- a.asn1.DEROctetString.superclass.constructor.call(this, r), this.hT = "04";
1689
+ u.asn1.DEROctetString.superclass.constructor.call(this, r), this.hT = "04";
1690
1690
  };
1691
- m.lang.extend(a.asn1.DEROctetString, a.asn1.DERAbstractString);
1692
- a.asn1.DERNull = function() {
1693
- a.asn1.DERNull.superclass.constructor.call(this), this.hT = "05", this.hTLV = "0500";
1691
+ m.lang.extend(u.asn1.DEROctetString, u.asn1.DERAbstractString);
1692
+ u.asn1.DERNull = function() {
1693
+ u.asn1.DERNull.superclass.constructor.call(this), this.hT = "05", this.hTLV = "0500";
1694
1694
  };
1695
- m.lang.extend(a.asn1.DERNull, a.asn1.ASN1Object);
1696
- a.asn1.DERObjectIdentifier = function(r) {
1695
+ m.lang.extend(u.asn1.DERNull, u.asn1.ASN1Object);
1696
+ u.asn1.DERObjectIdentifier = function(r) {
1697
1697
  var t = function(i) {
1698
1698
  var n = i.toString(16);
1699
1699
  return n.length == 1 && (n = "0" + n), n;
1700
1700
  }, e = function(i) {
1701
1701
  var n = "", s = new c(i, 10), h = s.toString(2), o = 7 - h.length % 7;
1702
1702
  o == 7 && (o = 0);
1703
- for (var f = "", u = 0; u < o; u++)
1703
+ for (var f = "", a = 0; a < o; a++)
1704
1704
  f += "0";
1705
1705
  h = f + h;
1706
- for (var u = 0; u < h.length - 1; u += 7) {
1707
- var l = h.substr(u, 7);
1708
- u != h.length - 7 && (l = "1" + l), n += t(parseInt(l, 2));
1706
+ for (var a = 0; a < h.length - 1; a += 7) {
1707
+ var l = h.substr(a, 7);
1708
+ a != h.length - 7 && (l = "1" + l), n += t(parseInt(l, 2));
1709
1709
  }
1710
1710
  return n;
1711
1711
  };
1712
- a.asn1.DERObjectIdentifier.superclass.constructor.call(this), this.hT = "06", this.setValueHex = function(i) {
1712
+ u.asn1.DERObjectIdentifier.superclass.constructor.call(this), this.hT = "06", this.setValueHex = function(i) {
1713
1713
  this.hTLV = null, this.isModified = !0, this.s = null, this.hV = i;
1714
1714
  }, this.setValueOidString = function(i) {
1715
1715
  if (!i.match(/^[0-9.]+$/))
@@ -1720,7 +1720,7 @@ a.asn1.DERObjectIdentifier = function(r) {
1720
1720
  n += e(s[o]);
1721
1721
  this.hTLV = null, this.isModified = !0, this.s = null, this.hV = n;
1722
1722
  }, this.setValueName = function(i) {
1723
- var n = a.asn1.x509.OID.name2oid(i);
1723
+ var n = u.asn1.x509.OID.name2oid(i);
1724
1724
  if (n !== "")
1725
1725
  this.setValueOidString(n);
1726
1726
  else
@@ -1729,10 +1729,10 @@ a.asn1.DERObjectIdentifier = function(r) {
1729
1729
  return this.hV;
1730
1730
  }, r !== void 0 && (typeof r == "string" ? r.match(/^[0-2].[0-9.]+$/) ? this.setValueOidString(r) : this.setValueName(r) : r.oid !== void 0 ? this.setValueOidString(r.oid) : r.hex !== void 0 ? this.setValueHex(r.hex) : r.name !== void 0 && this.setValueName(r.name));
1731
1731
  };
1732
- m.lang.extend(a.asn1.DERObjectIdentifier, a.asn1.ASN1Object);
1733
- a.asn1.DEREnumerated = function(r) {
1734
- a.asn1.DEREnumerated.superclass.constructor.call(this), this.hT = "0a", this.setByBigInteger = function(t) {
1735
- this.hTLV = null, this.isModified = !0, this.hV = a.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t);
1732
+ m.lang.extend(u.asn1.DERObjectIdentifier, u.asn1.ASN1Object);
1733
+ u.asn1.DEREnumerated = function(r) {
1734
+ u.asn1.DEREnumerated.superclass.constructor.call(this), this.hT = "0a", this.setByBigInteger = function(t) {
1735
+ this.hTLV = null, this.isModified = !0, this.hV = u.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t);
1736
1736
  }, this.setByInteger = function(t) {
1737
1737
  var e = new c(String(t), 10);
1738
1738
  this.setByBigInteger(e);
@@ -1742,45 +1742,45 @@ a.asn1.DEREnumerated = function(r) {
1742
1742
  return this.hV;
1743
1743
  }, typeof r < "u" && (typeof r.int < "u" ? this.setByInteger(r.int) : typeof r == "number" ? this.setByInteger(r) : typeof r.hex < "u" && this.setValueHex(r.hex));
1744
1744
  };
1745
- m.lang.extend(a.asn1.DEREnumerated, a.asn1.ASN1Object);
1746
- a.asn1.DERUTF8String = function(r) {
1747
- a.asn1.DERUTF8String.superclass.constructor.call(this, r), this.hT = "0c";
1745
+ m.lang.extend(u.asn1.DEREnumerated, u.asn1.ASN1Object);
1746
+ u.asn1.DERUTF8String = function(r) {
1747
+ u.asn1.DERUTF8String.superclass.constructor.call(this, r), this.hT = "0c";
1748
1748
  };
1749
- m.lang.extend(a.asn1.DERUTF8String, a.asn1.DERAbstractString);
1750
- a.asn1.DERNumericString = function(r) {
1751
- a.asn1.DERNumericString.superclass.constructor.call(this, r), this.hT = "12";
1749
+ m.lang.extend(u.asn1.DERUTF8String, u.asn1.DERAbstractString);
1750
+ u.asn1.DERNumericString = function(r) {
1751
+ u.asn1.DERNumericString.superclass.constructor.call(this, r), this.hT = "12";
1752
1752
  };
1753
- m.lang.extend(a.asn1.DERNumericString, a.asn1.DERAbstractString);
1754
- a.asn1.DERPrintableString = function(r) {
1755
- a.asn1.DERPrintableString.superclass.constructor.call(this, r), this.hT = "13";
1753
+ m.lang.extend(u.asn1.DERNumericString, u.asn1.DERAbstractString);
1754
+ u.asn1.DERPrintableString = function(r) {
1755
+ u.asn1.DERPrintableString.superclass.constructor.call(this, r), this.hT = "13";
1756
1756
  };
1757
- m.lang.extend(a.asn1.DERPrintableString, a.asn1.DERAbstractString);
1758
- a.asn1.DERTeletexString = function(r) {
1759
- a.asn1.DERTeletexString.superclass.constructor.call(this, r), this.hT = "14";
1757
+ m.lang.extend(u.asn1.DERPrintableString, u.asn1.DERAbstractString);
1758
+ u.asn1.DERTeletexString = function(r) {
1759
+ u.asn1.DERTeletexString.superclass.constructor.call(this, r), this.hT = "14";
1760
1760
  };
1761
- m.lang.extend(a.asn1.DERTeletexString, a.asn1.DERAbstractString);
1762
- a.asn1.DERIA5String = function(r) {
1763
- a.asn1.DERIA5String.superclass.constructor.call(this, r), this.hT = "16";
1761
+ m.lang.extend(u.asn1.DERTeletexString, u.asn1.DERAbstractString);
1762
+ u.asn1.DERIA5String = function(r) {
1763
+ u.asn1.DERIA5String.superclass.constructor.call(this, r), this.hT = "16";
1764
1764
  };
1765
- m.lang.extend(a.asn1.DERIA5String, a.asn1.DERAbstractString);
1766
- a.asn1.DERUTCTime = function(r) {
1767
- a.asn1.DERUTCTime.superclass.constructor.call(this, r), this.hT = "17", this.setByDate = function(t) {
1765
+ m.lang.extend(u.asn1.DERIA5String, u.asn1.DERAbstractString);
1766
+ u.asn1.DERUTCTime = function(r) {
1767
+ u.asn1.DERUTCTime.superclass.constructor.call(this, r), this.hT = "17", this.setByDate = function(t) {
1768
1768
  this.hTLV = null, this.isModified = !0, this.date = t, this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s);
1769
1769
  }, this.getFreshValueHex = function() {
1770
1770
  return typeof this.date > "u" && typeof this.s > "u" && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "utc"), this.hV = stohex(this.s)), this.hV;
1771
1771
  }, r !== void 0 && (r.str !== void 0 ? this.setString(r.str) : typeof r == "string" && r.match(/^[0-9]{12}Z$/) ? this.setString(r) : r.hex !== void 0 ? this.setStringHex(r.hex) : r.date !== void 0 && this.setByDate(r.date));
1772
1772
  };
1773
- m.lang.extend(a.asn1.DERUTCTime, a.asn1.DERAbstractTime);
1774
- a.asn1.DERGeneralizedTime = function(r) {
1775
- a.asn1.DERGeneralizedTime.superclass.constructor.call(this, r), this.hT = "18", this.withMillis = !1, this.setByDate = function(t) {
1773
+ m.lang.extend(u.asn1.DERUTCTime, u.asn1.DERAbstractTime);
1774
+ u.asn1.DERGeneralizedTime = function(r) {
1775
+ u.asn1.DERGeneralizedTime.superclass.constructor.call(this, r), this.hT = "18", this.withMillis = !1, this.setByDate = function(t) {
1776
1776
  this.hTLV = null, this.isModified = !0, this.date = t, this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s);
1777
1777
  }, this.getFreshValueHex = function() {
1778
1778
  return this.date === void 0 && this.s === void 0 && (this.date = /* @__PURE__ */ new Date(), this.s = this.formatDate(this.date, "gen", this.withMillis), this.hV = stohex(this.s)), this.hV;
1779
1779
  }, r !== void 0 && (r.str !== void 0 ? this.setString(r.str) : typeof r == "string" && r.match(/^[0-9]{14}Z$/) ? this.setString(r) : r.hex !== void 0 ? this.setStringHex(r.hex) : r.date !== void 0 && this.setByDate(r.date), r.millis === !0 && (this.withMillis = !0));
1780
1780
  };
1781
- m.lang.extend(a.asn1.DERGeneralizedTime, a.asn1.DERAbstractTime);
1782
- a.asn1.DERSequence = function(r) {
1783
- a.asn1.DERSequence.superclass.constructor.call(this, r), this.hT = "30", this.getFreshValueHex = function() {
1781
+ m.lang.extend(u.asn1.DERGeneralizedTime, u.asn1.DERAbstractTime);
1782
+ u.asn1.DERSequence = function(r) {
1783
+ u.asn1.DERSequence.superclass.constructor.call(this, r), this.hT = "30", this.getFreshValueHex = function() {
1784
1784
  for (var t = "", e = 0; e < this.asn1Array.length; e++) {
1785
1785
  var i = this.asn1Array[e];
1786
1786
  t += i.getEncodedHex();
@@ -1788,9 +1788,9 @@ a.asn1.DERSequence = function(r) {
1788
1788
  return this.hV = t, this.hV;
1789
1789
  };
1790
1790
  };
1791
- m.lang.extend(a.asn1.DERSequence, a.asn1.DERAbstractStructured);
1792
- a.asn1.DERSet = function(r) {
1793
- a.asn1.DERSet.superclass.constructor.call(this, r), this.hT = "31", this.sortFlag = !0, this.getFreshValueHex = function() {
1791
+ m.lang.extend(u.asn1.DERSequence, u.asn1.DERAbstractStructured);
1792
+ u.asn1.DERSet = function(r) {
1793
+ u.asn1.DERSet.superclass.constructor.call(this, r), this.hT = "31", this.sortFlag = !0, this.getFreshValueHex = function() {
1794
1794
  for (var t = new Array(), e = 0; e < this.asn1Array.length; e++) {
1795
1795
  var i = this.asn1Array[e];
1796
1796
  t.push(i.getEncodedHex());
@@ -1798,16 +1798,16 @@ a.asn1.DERSet = function(r) {
1798
1798
  return this.sortFlag == !0 && t.sort(), this.hV = t.join(""), this.hV;
1799
1799
  }, typeof r < "u" && typeof r.sortflag < "u" && r.sortflag == !1 && (this.sortFlag = !1);
1800
1800
  };
1801
- m.lang.extend(a.asn1.DERSet, a.asn1.DERAbstractStructured);
1802
- a.asn1.DERTaggedObject = function(r) {
1803
- a.asn1.DERTaggedObject.superclass.constructor.call(this), this.hT = "a0", this.hV = "", this.isExplicit = !0, this.asn1Object = null, this.setASN1Object = function(t, e, i) {
1801
+ m.lang.extend(u.asn1.DERSet, u.asn1.DERAbstractStructured);
1802
+ u.asn1.DERTaggedObject = function(r) {
1803
+ u.asn1.DERTaggedObject.superclass.constructor.call(this), this.hT = "a0", this.hV = "", this.isExplicit = !0, this.asn1Object = null, this.setASN1Object = function(t, e, i) {
1804
1804
  this.hT = e, this.isExplicit = t, this.asn1Object = i, this.isExplicit ? (this.hV = this.asn1Object.getEncodedHex(), this.hTLV = null, this.isModified = !0) : (this.hV = null, this.hTLV = i.getEncodedHex(), this.hTLV = this.hTLV.replace(/^../, e), this.isModified = !1);
1805
1805
  }, this.getFreshValueHex = function() {
1806
1806
  return this.hV;
1807
1807
  }, 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)));
1808
1808
  };
1809
- m.lang.extend(a.asn1.DERTaggedObject, a.asn1.ASN1Object);
1810
- var zt = /* @__PURE__ */ function() {
1809
+ m.lang.extend(u.asn1.DERTaggedObject, u.asn1.ASN1Object);
1810
+ var kt = /* @__PURE__ */ function() {
1811
1811
  var r = function(t, e) {
1812
1812
  return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, n) {
1813
1813
  i.__proto__ = n;
@@ -1824,23 +1824,23 @@ var zt = /* @__PURE__ */ function() {
1824
1824
  }
1825
1825
  t.prototype = e === null ? Object.create(e) : (i.prototype = e.prototype, new i());
1826
1826
  };
1827
- }(), Tt = (
1827
+ }(), St = (
1828
1828
  /** @class */
1829
1829
  function(r) {
1830
- zt(t, r);
1830
+ kt(t, r);
1831
1831
  function t(e) {
1832
1832
  var i = r.call(this) || this;
1833
1833
  return e && (typeof e == "string" ? i.parseKey(e) : (t.hasPrivateKeyProperty(e) || t.hasPublicKeyProperty(e)) && i.parsePropertiesFrom(e)), i;
1834
1834
  }
1835
1835
  return t.prototype.parseKey = function(e) {
1836
1836
  try {
1837
- var i = 0, n = 0, s = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/, h = s.test(e) ? At.decode(e) : ot.unarmor(e), o = It.decode(h);
1837
+ var i = 0, n = 0, s = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/, h = s.test(e) ? Bt.decode(e) : st.unarmor(e), o = Vt.decode(h);
1838
1838
  if (o.sub.length === 3 && (o = o.sub[2].sub[0]), o.sub.length === 9) {
1839
1839
  i = o.sub[1].getHexStringValue(), this.n = S(i, 16), n = o.sub[2].getHexStringValue(), this.e = parseInt(n, 16);
1840
1840
  var f = o.sub[3].getHexStringValue();
1841
1841
  this.d = S(f, 16);
1842
- var u = o.sub[4].getHexStringValue();
1843
- this.p = S(u, 16);
1842
+ var a = o.sub[4].getHexStringValue();
1843
+ this.p = S(a, 16);
1844
1844
  var l = o.sub[5].getHexStringValue();
1845
1845
  this.q = S(l, 16);
1846
1846
  var g = o.sub[6].getHexStringValue();
@@ -1864,34 +1864,34 @@ var zt = /* @__PURE__ */ function() {
1864
1864
  }, t.prototype.getPrivateBaseKey = function() {
1865
1865
  var e = {
1866
1866
  array: [
1867
- new a.asn1.DERInteger({ int: 0 }),
1868
- new a.asn1.DERInteger({ bigint: this.n }),
1869
- new a.asn1.DERInteger({ int: this.e }),
1870
- new a.asn1.DERInteger({ bigint: this.d }),
1871
- new a.asn1.DERInteger({ bigint: this.p }),
1872
- new a.asn1.DERInteger({ bigint: this.q }),
1873
- new a.asn1.DERInteger({ bigint: this.dmp1 }),
1874
- new a.asn1.DERInteger({ bigint: this.dmq1 }),
1875
- new a.asn1.DERInteger({ bigint: this.coeff })
1867
+ new u.asn1.DERInteger({ int: 0 }),
1868
+ new u.asn1.DERInteger({ bigint: this.n }),
1869
+ new u.asn1.DERInteger({ int: this.e }),
1870
+ new u.asn1.DERInteger({ bigint: this.d }),
1871
+ new u.asn1.DERInteger({ bigint: this.p }),
1872
+ new u.asn1.DERInteger({ bigint: this.q }),
1873
+ new u.asn1.DERInteger({ bigint: this.dmp1 }),
1874
+ new u.asn1.DERInteger({ bigint: this.dmq1 }),
1875
+ new u.asn1.DERInteger({ bigint: this.coeff })
1876
1876
  ]
1877
- }, i = new a.asn1.DERSequence(e);
1877
+ }, i = new u.asn1.DERSequence(e);
1878
1878
  return i.getEncodedHex();
1879
1879
  }, t.prototype.getPrivateBaseKeyB64 = function() {
1880
1880
  return W(this.getPrivateBaseKey());
1881
1881
  }, t.prototype.getPublicBaseKey = function() {
1882
- var e = new a.asn1.DERSequence({
1882
+ var e = new u.asn1.DERSequence({
1883
1883
  array: [
1884
- new a.asn1.DERObjectIdentifier({ oid: "1.2.840.113549.1.1.1" }),
1885
- new a.asn1.DERNull()
1884
+ new u.asn1.DERObjectIdentifier({ oid: "1.2.840.113549.1.1.1" }),
1885
+ new u.asn1.DERNull()
1886
1886
  ]
1887
- }), i = new a.asn1.DERSequence({
1887
+ }), i = new u.asn1.DERSequence({
1888
1888
  array: [
1889
- new a.asn1.DERInteger({ bigint: this.n }),
1890
- new a.asn1.DERInteger({ int: this.e })
1889
+ new u.asn1.DERInteger({ bigint: this.n }),
1890
+ new u.asn1.DERInteger({ int: this.e })
1891
1891
  ]
1892
- }), n = new a.asn1.DERBitString({
1892
+ }), n = new u.asn1.DERBitString({
1893
1893
  hex: "00" + i.getEncodedHex()
1894
- }), s = new a.asn1.DERSequence({
1894
+ }), s = new u.asn1.DERSequence({
1895
1895
  array: [e, n]
1896
1896
  });
1897
1897
  return s.getEncodedHex();
@@ -1922,21 +1922,21 @@ var zt = /* @__PURE__ */ function() {
1922
1922
  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);
1923
1923
  }, t;
1924
1924
  }(Lt)
1925
- ), st, Zt = typeof process < "u" ? (st = process.env) === null || st === void 0 ? void 0 : st.npm_package_version : void 0, et = (
1925
+ ), nt, zt = typeof process < "u" ? (nt = process.env) === null || nt === void 0 ? void 0 : nt.npm_package_version : void 0, Zt = (
1926
1926
  /** @class */
1927
1927
  function() {
1928
1928
  function r(t) {
1929
1929
  t === void 0 && (t = {}), t = t || {}, this.default_key_size = t.default_key_size ? parseInt(t.default_key_size, 10) : 1024, this.default_public_exponent = t.default_public_exponent || "010001", this.log = t.log || !1, this.key = null;
1930
1930
  }
1931
1931
  return r.prototype.setKey = function(t) {
1932
- this.log && this.key && console.warn("A key was already set, overriding existing."), this.key = new Tt(t);
1932
+ this.log && this.key && console.warn("A key was already set, overriding existing."), this.key = new St(t);
1933
1933
  }, r.prototype.setPrivateKey = function(t) {
1934
1934
  this.setKey(t);
1935
1935
  }, r.prototype.setPublicKey = function(t) {
1936
1936
  this.setKey(t);
1937
1937
  }, r.prototype.decrypt = function(t) {
1938
1938
  try {
1939
- return this.getKey().decrypt(ct(t));
1939
+ return this.getKey().decrypt(lt(t));
1940
1940
  } catch {
1941
1941
  return !1;
1942
1942
  }
@@ -1954,13 +1954,13 @@ var zt = /* @__PURE__ */ function() {
1954
1954
  }
1955
1955
  }, r.prototype.verify = function(t, e, i) {
1956
1956
  try {
1957
- return this.getKey().verify(t, ct(e), i);
1957
+ return this.getKey().verify(t, lt(e), i);
1958
1958
  } catch {
1959
1959
  return !1;
1960
1960
  }
1961
1961
  }, r.prototype.getKey = function(t) {
1962
1962
  if (!this.key) {
1963
- if (this.key = new Tt(), t && {}.toString.call(t) === "[object Function]") {
1963
+ if (this.key = new St(), t && {}.toString.call(t) === "[object Function]") {
1964
1964
  this.key.generateAsync(this.default_key_size, this.default_public_exponent, t);
1965
1965
  return;
1966
1966
  }
@@ -1975,30 +1975,9 @@ var zt = /* @__PURE__ */ function() {
1975
1975
  return this.getKey().getPublicKey();
1976
1976
  }, r.prototype.getPublicKeyB64 = function() {
1977
1977
  return this.getKey().getPublicBaseKeyB64();
1978
- }, r.version = Zt, r;
1978
+ }, r.version = zt, r;
1979
1979
  }()
1980
1980
  );
1981
- function Gt() {
1982
- const r = new et({ default_key_size: "2048" });
1983
- return {
1984
- publicKey: r.getPublicKey(),
1985
- privateKey: r.getPrivateKey()
1986
- };
1987
- }
1988
- function $t(r, t) {
1989
- const e = new et();
1990
- return e.setPublicKey(t), e.encrypt(r) || "";
1991
- }
1992
- function Jt(r, t) {
1993
- const e = new et();
1994
- return e.setPrivateKey(t), e.decrypt(r) || "";
1995
- }
1996
- function Yt() {
1997
- return typeof new et().encrypt == "function";
1998
- }
1999
1981
  export {
2000
- Jt as d,
2001
- $t as e,
2002
- Gt as g,
2003
- Yt as i
1982
+ Zt as J
2004
1983
  };