zigap-utils 0.0.496 → 0.0.497
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +6 -6
- package/dist/index.es.js +180 -180
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -663,19 +663,19 @@ React keys must be passed directly to JSX without using spread:
|
|
|
663
663
|
}()), Zt;
|
|
664
664
|
}
|
|
665
665
|
process.env.NODE_ENV === "production" ? Fi.exports = pa() : Fi.exports = ya();
|
|
666
|
-
var
|
|
666
|
+
var gr = Fi.exports, ga = Object.defineProperty, mr = Object.getOwnPropertySymbols, vf = Object.prototype.hasOwnProperty, bf = Object.prototype.propertyIsEnumerable, dn = (i, e, t) => e in i ? ga(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, hn = (i, e) => {
|
|
667
667
|
for (var t in e || (e = {}))
|
|
668
668
|
vf.call(e, t) && dn(i, t, e[t]);
|
|
669
|
-
if (
|
|
670
|
-
for (var t of
|
|
669
|
+
if (mr)
|
|
670
|
+
for (var t of mr(e))
|
|
671
671
|
bf.call(e, t) && dn(i, t, e[t]);
|
|
672
672
|
return i;
|
|
673
673
|
}, ma = (i, e) => {
|
|
674
674
|
var t = {};
|
|
675
675
|
for (var r in i)
|
|
676
676
|
vf.call(i, r) && e.indexOf(r) < 0 && (t[r] = i[r]);
|
|
677
|
-
if (i != null &&
|
|
678
|
-
for (var r of
|
|
677
|
+
if (i != null && mr)
|
|
678
|
+
for (var r of mr(i))
|
|
679
679
|
e.indexOf(r) < 0 && bf.call(i, r) && (t[r] = i[r]);
|
|
680
680
|
return t;
|
|
681
681
|
};
|
|
@@ -1218,11 +1218,11 @@ var gf = { exports: {} };
|
|
|
1218
1218
|
function mf(i) {
|
|
1219
1219
|
throw new Error('Could not dynamically require "' + i + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
1220
1220
|
}
|
|
1221
|
-
var
|
|
1221
|
+
var qr = { exports: {} };
|
|
1222
1222
|
const ka = {}, Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1223
1223
|
__proto__: null,
|
|
1224
1224
|
default: ka
|
|
1225
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1225
|
+
}, Symbol.toStringTag, { value: "Module" })), Br = /* @__PURE__ */ lf(Pa);
|
|
1226
1226
|
var un;
|
|
1227
1227
|
function We() {
|
|
1228
1228
|
return un || (un = 1, function(i, e) {
|
|
@@ -1233,7 +1233,7 @@ function We() {
|
|
|
1233
1233
|
var n;
|
|
1234
1234
|
if (typeof window < "u" && window.crypto && (n = window.crypto), typeof self < "u" && self.crypto && (n = self.crypto), typeof globalThis < "u" && globalThis.crypto && (n = globalThis.crypto), !n && typeof window < "u" && window.msCrypto && (n = window.msCrypto), !n && typeof ke < "u" && ke.crypto && (n = ke.crypto), !n && typeof mf == "function")
|
|
1235
1235
|
try {
|
|
1236
|
-
n =
|
|
1236
|
+
n = Br;
|
|
1237
1237
|
} catch {
|
|
1238
1238
|
}
|
|
1239
1239
|
var y = function() {
|
|
@@ -1722,10 +1722,10 @@ function We() {
|
|
|
1722
1722
|
}(Math);
|
|
1723
1723
|
return t;
|
|
1724
1724
|
});
|
|
1725
|
-
}(
|
|
1725
|
+
}(qr)), qr.exports;
|
|
1726
1726
|
}
|
|
1727
|
-
var
|
|
1728
|
-
function
|
|
1727
|
+
var Lr = { exports: {} }, ln;
|
|
1728
|
+
function Cr() {
|
|
1729
1729
|
return ln || (ln = 1, function(i, e) {
|
|
1730
1730
|
(function(t, r) {
|
|
1731
1731
|
i.exports = r(We());
|
|
@@ -1952,9 +1952,9 @@ function Br() {
|
|
|
1952
1952
|
});
|
|
1953
1953
|
}(), t;
|
|
1954
1954
|
});
|
|
1955
|
-
}(
|
|
1955
|
+
}(Lr)), Lr.exports;
|
|
1956
1956
|
}
|
|
1957
|
-
var
|
|
1957
|
+
var $r = { exports: {} }, xn;
|
|
1958
1958
|
function Ia() {
|
|
1959
1959
|
return xn || (xn = 1, function(i, e) {
|
|
1960
1960
|
(function(t, r) {
|
|
@@ -1974,9 +1974,9 @@ function Ia() {
|
|
|
1974
1974
|
}
|
|
1975
1975
|
}(), t.lib.WordArray;
|
|
1976
1976
|
});
|
|
1977
|
-
}(
|
|
1977
|
+
}($r)), $r.exports;
|
|
1978
1978
|
}
|
|
1979
|
-
var
|
|
1979
|
+
var Hr = { exports: {} }, vn;
|
|
1980
1980
|
function Ta() {
|
|
1981
1981
|
return vn || (vn = 1, function(i, e) {
|
|
1982
1982
|
(function(t, r) {
|
|
@@ -2068,9 +2068,9 @@ function Ta() {
|
|
|
2068
2068
|
}
|
|
2069
2069
|
}(), t.enc.Utf16;
|
|
2070
2070
|
});
|
|
2071
|
-
}(
|
|
2071
|
+
}(Hr)), Hr.exports;
|
|
2072
2072
|
}
|
|
2073
|
-
var
|
|
2073
|
+
var Ur = { exports: {} }, bn;
|
|
2074
2074
|
function kt() {
|
|
2075
2075
|
return bn || (bn = 1, function(i, e) {
|
|
2076
2076
|
(function(t, r) {
|
|
@@ -2143,9 +2143,9 @@ function kt() {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
}(), t.enc.Base64;
|
|
2145
2145
|
});
|
|
2146
|
-
}(
|
|
2146
|
+
}(Ur)), Ur.exports;
|
|
2147
2147
|
}
|
|
2148
|
-
var
|
|
2148
|
+
var Wr = { exports: {} }, pn;
|
|
2149
2149
|
function Oa() {
|
|
2150
2150
|
return pn || (pn = 1, function(i, e) {
|
|
2151
2151
|
(function(t, r) {
|
|
@@ -2225,9 +2225,9 @@ function Oa() {
|
|
|
2225
2225
|
}
|
|
2226
2226
|
}(), t.enc.Base64url;
|
|
2227
2227
|
});
|
|
2228
|
-
}(
|
|
2228
|
+
}(Wr)), Wr.exports;
|
|
2229
2229
|
}
|
|
2230
|
-
var
|
|
2230
|
+
var Yr = { exports: {} }, yn;
|
|
2231
2231
|
function Pt() {
|
|
2232
2232
|
return yn || (yn = 1, function(i, e) {
|
|
2233
2233
|
(function(t, r) {
|
|
@@ -2291,9 +2291,9 @@ function Pt() {
|
|
|
2291
2291
|
a.MD5 = x._createHelper(d), a.HmacMD5 = x._createHmacHelper(d);
|
|
2292
2292
|
}(Math), t.MD5;
|
|
2293
2293
|
});
|
|
2294
|
-
}(
|
|
2294
|
+
}(Yr)), Yr.exports;
|
|
2295
2295
|
}
|
|
2296
|
-
var
|
|
2296
|
+
var Kr = { exports: {} }, gn;
|
|
2297
2297
|
function _f() {
|
|
2298
2298
|
return gn || (gn = 1, function(i, e) {
|
|
2299
2299
|
(function(t, r) {
|
|
@@ -2335,9 +2335,9 @@ function _f() {
|
|
|
2335
2335
|
r.SHA1 = y._createHelper(c), r.HmacSHA1 = y._createHmacHelper(c);
|
|
2336
2336
|
}(), t.SHA1;
|
|
2337
2337
|
});
|
|
2338
|
-
}(
|
|
2338
|
+
}(Kr)), Kr.exports;
|
|
2339
2339
|
}
|
|
2340
|
-
var
|
|
2340
|
+
var jr = { exports: {} }, mn;
|
|
2341
2341
|
function Ui() {
|
|
2342
2342
|
return mn || (mn = 1, function(i, e) {
|
|
2343
2343
|
(function(t, r) {
|
|
@@ -2387,9 +2387,9 @@ function Ui() {
|
|
|
2387
2387
|
a.SHA256 = x._createHelper(b), a.HmacSHA256 = x._createHmacHelper(b);
|
|
2388
2388
|
}(Math), t.SHA256;
|
|
2389
2389
|
});
|
|
2390
|
-
}(
|
|
2390
|
+
}(jr)), jr.exports;
|
|
2391
2391
|
}
|
|
2392
|
-
var
|
|
2392
|
+
var Vr = { exports: {} }, _n;
|
|
2393
2393
|
function za() {
|
|
2394
2394
|
return _n || (_n = 1, function(i, e) {
|
|
2395
2395
|
(function(t, r, a) {
|
|
@@ -2417,13 +2417,13 @@ function za() {
|
|
|
2417
2417
|
r.SHA224 = x._createHelper(u), r.HmacSHA224 = x._createHmacHelper(u);
|
|
2418
2418
|
}(), t.SHA224;
|
|
2419
2419
|
});
|
|
2420
|
-
}(
|
|
2420
|
+
}(Vr)), Vr.exports;
|
|
2421
2421
|
}
|
|
2422
|
-
var
|
|
2422
|
+
var Xr = { exports: {} }, An;
|
|
2423
2423
|
function Af() {
|
|
2424
2424
|
return An || (An = 1, function(i, e) {
|
|
2425
2425
|
(function(t, r, a) {
|
|
2426
|
-
i.exports = r(We(),
|
|
2426
|
+
i.exports = r(We(), Cr());
|
|
2427
2427
|
})(ke, function(t) {
|
|
2428
2428
|
return function() {
|
|
2429
2429
|
var r = t, a = r.lib, n = a.Hasher, y = r.x64, x = y.Word, u = y.WordArray, c = r.algo;
|
|
@@ -2558,13 +2558,13 @@ function Af() {
|
|
|
2558
2558
|
r.SHA512 = n._createHelper(M), r.HmacSHA512 = n._createHmacHelper(M);
|
|
2559
2559
|
}(), t.SHA512;
|
|
2560
2560
|
});
|
|
2561
|
-
}(
|
|
2561
|
+
}(Xr)), Xr.exports;
|
|
2562
2562
|
}
|
|
2563
|
-
var
|
|
2563
|
+
var Zr = { exports: {} }, En;
|
|
2564
2564
|
function Na() {
|
|
2565
2565
|
return En || (En = 1, function(i, e) {
|
|
2566
2566
|
(function(t, r, a) {
|
|
2567
|
-
i.exports = r(We(),
|
|
2567
|
+
i.exports = r(We(), Cr(), Af());
|
|
2568
2568
|
})(ke, function(t) {
|
|
2569
2569
|
return function() {
|
|
2570
2570
|
var r = t, a = r.x64, n = a.Word, y = a.WordArray, x = r.algo, u = x.SHA512, c = x.SHA384 = u.extend({
|
|
@@ -2588,13 +2588,13 @@ function Na() {
|
|
|
2588
2588
|
r.SHA384 = u._createHelper(c), r.HmacSHA384 = u._createHmacHelper(c);
|
|
2589
2589
|
}(), t.SHA384;
|
|
2590
2590
|
});
|
|
2591
|
-
}(
|
|
2591
|
+
}(Zr)), Zr.exports;
|
|
2592
2592
|
}
|
|
2593
|
-
var
|
|
2593
|
+
var Gr = { exports: {} }, wn;
|
|
2594
2594
|
function qa() {
|
|
2595
2595
|
return wn || (wn = 1, function(i, e) {
|
|
2596
2596
|
(function(t, r, a) {
|
|
2597
|
-
i.exports = r(We(),
|
|
2597
|
+
i.exports = r(We(), Cr());
|
|
2598
2598
|
})(ke, function(t) {
|
|
2599
2599
|
return function(r) {
|
|
2600
2600
|
var a = t, n = a.lib, y = n.WordArray, x = n.Hasher, u = a.x64, c = u.Word, d = a.algo, v = [], b = [], M = [];
|
|
@@ -2698,9 +2698,9 @@ function qa() {
|
|
|
2698
2698
|
a.SHA3 = x._createHelper(R), a.HmacSHA3 = x._createHmacHelper(R);
|
|
2699
2699
|
}(Math), t.SHA3;
|
|
2700
2700
|
});
|
|
2701
|
-
}(
|
|
2701
|
+
}(Gr)), Gr.exports;
|
|
2702
2702
|
}
|
|
2703
|
-
var
|
|
2703
|
+
var Qr = { exports: {} }, Bn;
|
|
2704
2704
|
function La() {
|
|
2705
2705
|
return Bn || (Bn = 1, function(i, e) {
|
|
2706
2706
|
(function(t, r) {
|
|
@@ -3091,9 +3091,9 @@ function La() {
|
|
|
3091
3091
|
a.RIPEMD160 = x._createHelper(R), a.HmacRIPEMD160 = x._createHmacHelper(R);
|
|
3092
3092
|
}(), t.RIPEMD160;
|
|
3093
3093
|
});
|
|
3094
|
-
}(
|
|
3094
|
+
}(Qr)), Qr.exports;
|
|
3095
3095
|
}
|
|
3096
|
-
var
|
|
3096
|
+
var Jr = { exports: {} }, Cn;
|
|
3097
3097
|
function Wi() {
|
|
3098
3098
|
return Cn || (Cn = 1, function(i, e) {
|
|
3099
3099
|
(function(t, r) {
|
|
@@ -3169,9 +3169,9 @@ function Wi() {
|
|
|
3169
3169
|
});
|
|
3170
3170
|
})();
|
|
3171
3171
|
});
|
|
3172
|
-
}(
|
|
3172
|
+
}(Jr)), Jr.exports;
|
|
3173
3173
|
}
|
|
3174
|
-
var
|
|
3174
|
+
var ei = { exports: {} }, Mn;
|
|
3175
3175
|
function $a() {
|
|
3176
3176
|
return Mn || (Mn = 1, function(i, e) {
|
|
3177
3177
|
(function(t, r, a) {
|
|
@@ -3236,9 +3236,9 @@ function $a() {
|
|
|
3236
3236
|
};
|
|
3237
3237
|
}(), t.PBKDF2;
|
|
3238
3238
|
});
|
|
3239
|
-
}(
|
|
3239
|
+
}(ei)), ei.exports;
|
|
3240
3240
|
}
|
|
3241
|
-
var
|
|
3241
|
+
var ti = { exports: {} }, Sn;
|
|
3242
3242
|
function Et() {
|
|
3243
3243
|
return Sn || (Sn = 1, function(i, e) {
|
|
3244
3244
|
(function(t, r, a) {
|
|
@@ -3299,9 +3299,9 @@ function Et() {
|
|
|
3299
3299
|
};
|
|
3300
3300
|
}(), t.EvpKDF;
|
|
3301
3301
|
});
|
|
3302
|
-
}(
|
|
3302
|
+
}(ti)), ti.exports;
|
|
3303
3303
|
}
|
|
3304
|
-
var
|
|
3304
|
+
var ri = { exports: {} }, Dn;
|
|
3305
3305
|
function M0() {
|
|
3306
3306
|
return Dn || (Dn = 1, function(i, e) {
|
|
3307
3307
|
(function(t, r, a) {
|
|
@@ -3837,9 +3837,9 @@ function M0() {
|
|
|
3837
3837
|
});
|
|
3838
3838
|
}();
|
|
3839
3839
|
});
|
|
3840
|
-
}(
|
|
3840
|
+
}(ri)), ri.exports;
|
|
3841
3841
|
}
|
|
3842
|
-
var
|
|
3842
|
+
var ii = { exports: {} }, Fn;
|
|
3843
3843
|
function Ha() {
|
|
3844
3844
|
return Fn || (Fn = 1, function(i, e) {
|
|
3845
3845
|
(function(t, r, a) {
|
|
@@ -3867,9 +3867,9 @@ function Ha() {
|
|
|
3867
3867
|
return r;
|
|
3868
3868
|
}(), t.mode.CFB;
|
|
3869
3869
|
});
|
|
3870
|
-
}(
|
|
3870
|
+
}(ii)), ii.exports;
|
|
3871
3871
|
}
|
|
3872
|
-
var
|
|
3872
|
+
var ni = { exports: {} }, Rn;
|
|
3873
3873
|
function Ua() {
|
|
3874
3874
|
return Rn || (Rn = 1, function(i, e) {
|
|
3875
3875
|
(function(t, r, a) {
|
|
@@ -3889,9 +3889,9 @@ function Ua() {
|
|
|
3889
3889
|
return r.Decryptor = a, r;
|
|
3890
3890
|
}(), t.mode.CTR;
|
|
3891
3891
|
});
|
|
3892
|
-
}(
|
|
3892
|
+
}(ni)), ni.exports;
|
|
3893
3893
|
}
|
|
3894
|
-
var
|
|
3894
|
+
var fi = { exports: {} }, kn;
|
|
3895
3895
|
function Wa() {
|
|
3896
3896
|
return kn || (kn = 1, function(i, e) {
|
|
3897
3897
|
(function(t, r, a) {
|
|
@@ -3928,9 +3928,9 @@ function Wa() {
|
|
|
3928
3928
|
return r.Decryptor = y, r;
|
|
3929
3929
|
}(), t.mode.CTRGladman;
|
|
3930
3930
|
});
|
|
3931
|
-
}(
|
|
3931
|
+
}(fi)), fi.exports;
|
|
3932
3932
|
}
|
|
3933
|
-
var
|
|
3933
|
+
var ai = { exports: {} }, Pn;
|
|
3934
3934
|
function Ya() {
|
|
3935
3935
|
return Pn || (Pn = 1, function(i, e) {
|
|
3936
3936
|
(function(t, r, a) {
|
|
@@ -3948,9 +3948,9 @@ function Ya() {
|
|
|
3948
3948
|
return r.Decryptor = a, r;
|
|
3949
3949
|
}(), t.mode.OFB;
|
|
3950
3950
|
});
|
|
3951
|
-
}(
|
|
3951
|
+
}(ai)), ai.exports;
|
|
3952
3952
|
}
|
|
3953
|
-
var
|
|
3953
|
+
var si = { exports: {} }, In;
|
|
3954
3954
|
function Ka() {
|
|
3955
3955
|
return In || (In = 1, function(i, e) {
|
|
3956
3956
|
(function(t, r, a) {
|
|
@@ -3969,9 +3969,9 @@ function Ka() {
|
|
|
3969
3969
|
}), r;
|
|
3970
3970
|
}(), t.mode.ECB;
|
|
3971
3971
|
});
|
|
3972
|
-
}(
|
|
3972
|
+
}(si)), si.exports;
|
|
3973
3973
|
}
|
|
3974
|
-
var
|
|
3974
|
+
var oi = { exports: {} }, Tn;
|
|
3975
3975
|
function ja() {
|
|
3976
3976
|
return Tn || (Tn = 1, function(i, e) {
|
|
3977
3977
|
(function(t, r, a) {
|
|
@@ -3988,9 +3988,9 @@ function ja() {
|
|
|
3988
3988
|
}
|
|
3989
3989
|
}, t.pad.Ansix923;
|
|
3990
3990
|
});
|
|
3991
|
-
}(
|
|
3991
|
+
}(oi)), oi.exports;
|
|
3992
3992
|
}
|
|
3993
|
-
var
|
|
3993
|
+
var ci = { exports: {} }, On;
|
|
3994
3994
|
function Va() {
|
|
3995
3995
|
return On || (On = 1, function(i, e) {
|
|
3996
3996
|
(function(t, r, a) {
|
|
@@ -4007,9 +4007,9 @@ function Va() {
|
|
|
4007
4007
|
}
|
|
4008
4008
|
}, t.pad.Iso10126;
|
|
4009
4009
|
});
|
|
4010
|
-
}(
|
|
4010
|
+
}(ci)), ci.exports;
|
|
4011
4011
|
}
|
|
4012
|
-
var
|
|
4012
|
+
var di = { exports: {} }, zn;
|
|
4013
4013
|
function Xa() {
|
|
4014
4014
|
return zn || (zn = 1, function(i, e) {
|
|
4015
4015
|
(function(t, r, a) {
|
|
@@ -4024,9 +4024,9 @@ function Xa() {
|
|
|
4024
4024
|
}
|
|
4025
4025
|
}, t.pad.Iso97971;
|
|
4026
4026
|
});
|
|
4027
|
-
}(
|
|
4027
|
+
}(di)), di.exports;
|
|
4028
4028
|
}
|
|
4029
|
-
var
|
|
4029
|
+
var hi = { exports: {} }, Nn;
|
|
4030
4030
|
function Za() {
|
|
4031
4031
|
return Nn || (Nn = 1, function(i, e) {
|
|
4032
4032
|
(function(t, r, a) {
|
|
@@ -4046,9 +4046,9 @@ function Za() {
|
|
|
4046
4046
|
}
|
|
4047
4047
|
}, t.pad.ZeroPadding;
|
|
4048
4048
|
});
|
|
4049
|
-
}(
|
|
4049
|
+
}(hi)), hi.exports;
|
|
4050
4050
|
}
|
|
4051
|
-
var
|
|
4051
|
+
var ui = { exports: {} }, qn;
|
|
4052
4052
|
function Ga() {
|
|
4053
4053
|
return qn || (qn = 1, function(i, e) {
|
|
4054
4054
|
(function(t, r, a) {
|
|
@@ -4061,9 +4061,9 @@ function Ga() {
|
|
|
4061
4061
|
}
|
|
4062
4062
|
}, t.pad.NoPadding;
|
|
4063
4063
|
});
|
|
4064
|
-
}(
|
|
4064
|
+
}(ui)), ui.exports;
|
|
4065
4065
|
}
|
|
4066
|
-
var
|
|
4066
|
+
var li = { exports: {} }, Ln;
|
|
4067
4067
|
function Qa() {
|
|
4068
4068
|
return Ln || (Ln = 1, function(i, e) {
|
|
4069
4069
|
(function(t, r, a) {
|
|
@@ -4108,9 +4108,9 @@ function Qa() {
|
|
|
4108
4108
|
};
|
|
4109
4109
|
}(), t.format.Hex;
|
|
4110
4110
|
});
|
|
4111
|
-
}(
|
|
4111
|
+
}(li)), li.exports;
|
|
4112
4112
|
}
|
|
4113
|
-
var
|
|
4113
|
+
var xi = { exports: {} }, $n;
|
|
4114
4114
|
function Ja() {
|
|
4115
4115
|
return $n || ($n = 1, function(i, e) {
|
|
4116
4116
|
(function(t, r, a) {
|
|
@@ -4168,9 +4168,9 @@ function Ja() {
|
|
|
4168
4168
|
r.AES = n._createHelper(F);
|
|
4169
4169
|
}(), t.AES;
|
|
4170
4170
|
});
|
|
4171
|
-
}(
|
|
4171
|
+
}(xi)), xi.exports;
|
|
4172
4172
|
}
|
|
4173
|
-
var
|
|
4173
|
+
var vi = { exports: {} }, Hn;
|
|
4174
4174
|
function es() {
|
|
4175
4175
|
return Hn || (Hn = 1, function(i, e) {
|
|
4176
4176
|
(function(t, r, a) {
|
|
@@ -4888,9 +4888,9 @@ function es() {
|
|
|
4888
4888
|
r.TripleDES = y._createHelper(k);
|
|
4889
4889
|
}(), t.TripleDES;
|
|
4890
4890
|
});
|
|
4891
|
-
}(
|
|
4891
|
+
}(vi)), vi.exports;
|
|
4892
4892
|
}
|
|
4893
|
-
var
|
|
4893
|
+
var bi = { exports: {} }, Un;
|
|
4894
4894
|
function ts() {
|
|
4895
4895
|
return Un || (Un = 1, function(i, e) {
|
|
4896
4896
|
(function(t, r, a) {
|
|
@@ -4942,9 +4942,9 @@ function ts() {
|
|
|
4942
4942
|
r.RC4Drop = n._createHelper(c);
|
|
4943
4943
|
}(), t.RC4;
|
|
4944
4944
|
});
|
|
4945
|
-
}(
|
|
4945
|
+
}(bi)), bi.exports;
|
|
4946
4946
|
}
|
|
4947
|
-
var
|
|
4947
|
+
var pi = { exports: {} }, Wn;
|
|
4948
4948
|
function rs() {
|
|
4949
4949
|
return Wn || (Wn = 1, function(i, e) {
|
|
4950
4950
|
(function(t, r, a) {
|
|
@@ -5008,9 +5008,9 @@ function rs() {
|
|
|
5008
5008
|
r.Rabbit = n._createHelper(d);
|
|
5009
5009
|
}(), t.Rabbit;
|
|
5010
5010
|
});
|
|
5011
|
-
}(
|
|
5011
|
+
}(pi)), pi.exports;
|
|
5012
5012
|
}
|
|
5013
|
-
var
|
|
5013
|
+
var yi = { exports: {} }, Yn;
|
|
5014
5014
|
function is() {
|
|
5015
5015
|
return Yn || (Yn = 1, function(i, e) {
|
|
5016
5016
|
(function(t, r, a) {
|
|
@@ -5072,9 +5072,9 @@ function is() {
|
|
|
5072
5072
|
r.RabbitLegacy = n._createHelper(d);
|
|
5073
5073
|
}(), t.RabbitLegacy;
|
|
5074
5074
|
});
|
|
5075
|
-
}(
|
|
5075
|
+
}(yi)), yi.exports;
|
|
5076
5076
|
}
|
|
5077
|
-
var
|
|
5077
|
+
var gi = { exports: {} }, Kn;
|
|
5078
5078
|
function ns() {
|
|
5079
5079
|
return Kn || (Kn = 1, function(i, e) {
|
|
5080
5080
|
(function(t, r, a) {
|
|
@@ -6194,11 +6194,11 @@ function ns() {
|
|
|
6194
6194
|
r.Blowfish = n._createHelper(R);
|
|
6195
6195
|
}(), t.Blowfish;
|
|
6196
6196
|
});
|
|
6197
|
-
}(
|
|
6197
|
+
}(gi)), gi.exports;
|
|
6198
6198
|
}
|
|
6199
6199
|
(function(i, e) {
|
|
6200
6200
|
(function(t, r, a) {
|
|
6201
|
-
i.exports = r(We(),
|
|
6201
|
+
i.exports = r(We(), Cr(), Ia(), Ta(), kt(), Oa(), Pt(), _f(), Ui(), za(), Af(), Na(), qa(), La(), Wi(), $a(), Et(), M0(), Ha(), Ua(), Wa(), Ya(), Ka(), ja(), Va(), Xa(), Za(), Ga(), Qa(), Ja(), es(), ts(), rs(), is(), ns());
|
|
6202
6202
|
})(ke, function(t) {
|
|
6203
6203
|
return t;
|
|
6204
6204
|
});
|
|
@@ -6284,7 +6284,7 @@ Yi.exports;
|
|
|
6284
6284
|
typeof e == "object" ? e.exports = n : t.BN = n, n.BN = n, n.wordSize = 26;
|
|
6285
6285
|
var y;
|
|
6286
6286
|
try {
|
|
6287
|
-
typeof window < "u" && typeof window.Buffer < "u" ? y = window.Buffer : y =
|
|
6287
|
+
typeof window < "u" && typeof window.Buffer < "u" ? y = window.Buffer : y = Br.Buffer;
|
|
6288
6288
|
} catch {
|
|
6289
6289
|
}
|
|
6290
6290
|
n.isBN = function(f) {
|
|
@@ -7538,9 +7538,9 @@ var Ki = {};
|
|
|
7538
7538
|
}
|
|
7539
7539
|
e.intFromLE = c;
|
|
7540
7540
|
})(j0);
|
|
7541
|
-
var ji = { exports: {} },
|
|
7541
|
+
var ji = { exports: {} }, mi;
|
|
7542
7542
|
ji.exports = function(e) {
|
|
7543
|
-
return
|
|
7543
|
+
return mi || (mi = new mt(null)), mi.generate(e);
|
|
7544
7544
|
};
|
|
7545
7545
|
function mt(i) {
|
|
7546
7546
|
this.rand = i;
|
|
@@ -7568,7 +7568,7 @@ if (typeof self == "object")
|
|
|
7568
7568
|
});
|
|
7569
7569
|
else
|
|
7570
7570
|
try {
|
|
7571
|
-
var jn =
|
|
7571
|
+
var jn = Br;
|
|
7572
7572
|
if (typeof jn.randomBytes != "function")
|
|
7573
7573
|
throw new Error("Not supported");
|
|
7574
7574
|
mt.prototype._rand = function(e) {
|
|
@@ -7576,13 +7576,13 @@ else
|
|
|
7576
7576
|
};
|
|
7577
7577
|
} catch {
|
|
7578
7578
|
}
|
|
7579
|
-
var Bf = ji.exports, Vi = {}, Ct = pt, fr = j0,
|
|
7579
|
+
var Bf = ji.exports, Vi = {}, Ct = pt, fr = j0, _r = fr.getNAF, _s = fr.getJSF, Ar = fr.assert;
|
|
7580
7580
|
function wt(i, e) {
|
|
7581
7581
|
this.type = i, this.p = new Ct(e.p, 16), this.red = e.prime ? Ct.red(e.prime) : Ct.mont(this.p), this.zero = new Ct(0).toRed(this.red), this.one = new Ct(1).toRed(this.red), this.two = new Ct(2).toRed(this.red), this.n = e.n && new Ct(e.n, 16), this.g = e.g && this.pointFromJSON(e.g, e.gRed), this._wnafT1 = new Array(4), this._wnafT2 = new Array(4), this._wnafT3 = new Array(4), this._wnafT4 = new Array(4), this._bitLength = this.n ? this.n.bitLength() : 0;
|
|
7582
7582
|
var t = this.n && this.p.div(this.n);
|
|
7583
7583
|
!t || t.cmpn(100) > 0 ? this.redN = null : (this._maxwellTrick = !0, this.redN = this.n.toRed(this.red));
|
|
7584
7584
|
}
|
|
7585
|
-
var
|
|
7585
|
+
var Mr = wt;
|
|
7586
7586
|
wt.prototype.point = function() {
|
|
7587
7587
|
throw new Error("Not implemented");
|
|
7588
7588
|
};
|
|
@@ -7590,8 +7590,8 @@ wt.prototype.validate = function() {
|
|
|
7590
7590
|
throw new Error("Not implemented");
|
|
7591
7591
|
};
|
|
7592
7592
|
wt.prototype._fixedNafMul = function(e, t) {
|
|
7593
|
-
|
|
7594
|
-
var r = e._getDoubles(), a =
|
|
7593
|
+
Ar(e.precomputed);
|
|
7594
|
+
var r = e._getDoubles(), a = _r(t, 1, this._bitLength), n = (1 << r.step + 1) - (r.step % 2 === 0 ? 2 : 1);
|
|
7595
7595
|
n /= 3;
|
|
7596
7596
|
var y = [], x, u;
|
|
7597
7597
|
for (x = 0; x < a.length; x += r.step) {
|
|
@@ -7610,13 +7610,13 @@ wt.prototype._fixedNafMul = function(e, t) {
|
|
|
7610
7610
|
wt.prototype._wnafMul = function(e, t) {
|
|
7611
7611
|
var r = 4, a = e._getNAFPoints(r);
|
|
7612
7612
|
r = a.wnd;
|
|
7613
|
-
for (var n = a.points, y =
|
|
7613
|
+
for (var n = a.points, y = _r(t, r, this._bitLength), x = this.jpoint(null, null, null), u = y.length - 1; u >= 0; u--) {
|
|
7614
7614
|
for (var c = 0; u >= 0 && y[u] === 0; u--)
|
|
7615
7615
|
c++;
|
|
7616
7616
|
if (u >= 0 && c++, x = x.dblp(c), u < 0)
|
|
7617
7617
|
break;
|
|
7618
7618
|
var d = y[u];
|
|
7619
|
-
|
|
7619
|
+
Ar(d !== 0), e.type === "affine" ? d > 0 ? x = x.mixedAdd(n[d - 1 >> 1]) : x = x.mixedAdd(n[-d - 1 >> 1].neg()) : d > 0 ? x = x.add(n[d - 1 >> 1]) : x = x.add(n[-d - 1 >> 1].neg());
|
|
7620
7620
|
}
|
|
7621
7621
|
return e.type === "affine" ? x.toP() : x;
|
|
7622
7622
|
};
|
|
@@ -7630,7 +7630,7 @@ wt.prototype._wnafMulAdd = function(e, t, r, a, n) {
|
|
|
7630
7630
|
for (d = a - 1; d >= 1; d -= 2) {
|
|
7631
7631
|
var B = d - 1, R = d;
|
|
7632
7632
|
if (y[B] !== 1 || y[R] !== 1) {
|
|
7633
|
-
u[B] =
|
|
7633
|
+
u[B] = _r(r[B], y[B], this._bitLength), u[R] = _r(r[R], y[R], this._bitLength), c = Math.max(u[B].length, c), c = Math.max(u[R].length, c);
|
|
7634
7634
|
continue;
|
|
7635
7635
|
}
|
|
7636
7636
|
var k = [
|
|
@@ -7704,7 +7704,7 @@ wt.prototype.decodePoint = function(e, t) {
|
|
|
7704
7704
|
e = fr.toArray(e, t);
|
|
7705
7705
|
var r = this.p.byteLength();
|
|
7706
7706
|
if ((e[0] === 4 || e[0] === 6 || e[0] === 7) && e.length - 1 === 2 * r) {
|
|
7707
|
-
e[0] === 6 ?
|
|
7707
|
+
e[0] === 6 ? Ar(e[e.length - 1] % 2 === 0) : e[0] === 7 && Ar(e[e.length - 1] % 2 === 1);
|
|
7708
7708
|
var a = this.point(
|
|
7709
7709
|
e.slice(1, 1 + r),
|
|
7710
7710
|
e.slice(1 + r, 1 + 2 * r)
|
|
@@ -7789,7 +7789,7 @@ typeof Object.create == "function" ? Ri.exports = function(e, t) {
|
|
|
7789
7789
|
r.prototype = t.prototype, e.prototype = new r(), e.prototype.constructor = e;
|
|
7790
7790
|
}
|
|
7791
7791
|
};
|
|
7792
|
-
var
|
|
7792
|
+
var Sr = Ri.exports, As = j0, g0 = pt, Xi = Sr, Ht = Mr, Es = As.assert;
|
|
7793
7793
|
function G0(i) {
|
|
7794
7794
|
Ht.call(this, "short", i), this.a = new g0(i.a, 16).toRed(this.red), this.b = new g0(i.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = this.a.fromRed().cmpn(0) === 0, this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0, this.endo = this._getEndomorphism(i), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4);
|
|
7795
7795
|
}
|
|
@@ -8173,20 +8173,20 @@ k0.prototype.inspect = function() {
|
|
|
8173
8173
|
k0.prototype.isInfinity = function() {
|
|
8174
8174
|
return this.z.cmpn(0) === 0;
|
|
8175
8175
|
};
|
|
8176
|
-
var zt = pt, Cf =
|
|
8176
|
+
var zt = pt, Cf = Sr, Dr = Mr, Bs = j0;
|
|
8177
8177
|
function Ut(i) {
|
|
8178
|
-
|
|
8178
|
+
Dr.call(this, "mont", i), this.a = new zt(i.a, 16).toRed(this.red), this.b = new zt(i.b, 16).toRed(this.red), this.i4 = new zt(4).toRed(this.red).redInvm(), this.two = new zt(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
|
|
8179
8179
|
}
|
|
8180
|
-
Cf(Ut,
|
|
8180
|
+
Cf(Ut, Dr);
|
|
8181
8181
|
var Cs = Ut;
|
|
8182
8182
|
Ut.prototype.validate = function(e) {
|
|
8183
8183
|
var t = e.normalize().x, r = t.redSqr(), a = r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t), n = a.redSqrt();
|
|
8184
8184
|
return n.redSqr().cmp(a) === 0;
|
|
8185
8185
|
};
|
|
8186
8186
|
function C0(i, e, t) {
|
|
8187
|
-
|
|
8187
|
+
Dr.BasePoint.call(this, i, "projective"), e === null && t === null ? (this.x = this.curve.one, this.z = this.curve.zero) : (this.x = new zt(e, 16), this.z = new zt(t, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)));
|
|
8188
8188
|
}
|
|
8189
|
-
Cf(C0,
|
|
8189
|
+
Cf(C0, Dr.BasePoint);
|
|
8190
8190
|
Ut.prototype.decodePoint = function(e, t) {
|
|
8191
8191
|
return this.point(Bs.toArray(e, t), 1);
|
|
8192
8192
|
};
|
|
@@ -8243,11 +8243,11 @@ C0.prototype.normalize = function() {
|
|
|
8243
8243
|
C0.prototype.getX = function() {
|
|
8244
8244
|
return this.normalize(), this.x.fromRed();
|
|
8245
8245
|
};
|
|
8246
|
-
var Ms = j0, lt = pt, Mf =
|
|
8246
|
+
var Ms = j0, lt = pt, Mf = Sr, Fr = Mr, Ss = Ms.assert;
|
|
8247
8247
|
function ht(i) {
|
|
8248
|
-
this.twisted = (i.a | 0) !== 1, this.mOneA = this.twisted && (i.a | 0) === -1, this.extended = this.mOneA,
|
|
8248
|
+
this.twisted = (i.a | 0) !== 1, this.mOneA = this.twisted && (i.a | 0) === -1, this.extended = this.mOneA, Fr.call(this, "edwards", i), this.a = new lt(i.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new lt(i.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new lt(i.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), Ss(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (i.c | 0) === 1;
|
|
8249
8249
|
}
|
|
8250
|
-
Mf(ht,
|
|
8250
|
+
Mf(ht, Fr);
|
|
8251
8251
|
var Ds = ht;
|
|
8252
8252
|
ht.prototype._mulA = function(e) {
|
|
8253
8253
|
return this.mOneA ? e.redNeg() : this.a.redMul(e);
|
|
@@ -8287,9 +8287,9 @@ ht.prototype.validate = function(e) {
|
|
|
8287
8287
|
return a.cmp(n) === 0;
|
|
8288
8288
|
};
|
|
8289
8289
|
function v0(i, e, t, r, a) {
|
|
8290
|
-
|
|
8290
|
+
Fr.BasePoint.call(this, i, "projective"), e === null && t === null && r === null ? (this.x = this.curve.zero, this.y = this.curve.one, this.z = this.curve.one, this.t = this.curve.zero, this.zOne = !0) : (this.x = new lt(e, 16), this.y = new lt(t, 16), this.z = r ? new lt(r, 16) : this.curve.one, this.t = a && new lt(a, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.t && !this.t.red && (this.t = this.t.toRed(this.curve.red)), this.zOne = this.z === this.curve.one, this.curve.extended && !this.t && (this.t = this.x.redMul(this.y), this.zOne || (this.t = this.t.redMul(this.z.redInvm()))));
|
|
8291
8291
|
}
|
|
8292
|
-
Mf(v0,
|
|
8292
|
+
Mf(v0, Fr.BasePoint);
|
|
8293
8293
|
ht.prototype.pointFromJSON = function(e) {
|
|
8294
8294
|
return v0.fromJSON(this, e);
|
|
8295
8295
|
};
|
|
@@ -8382,9 +8382,9 @@ v0.prototype.toP = v0.prototype.normalize;
|
|
|
8382
8382
|
v0.prototype.mixedAdd = v0.prototype.add;
|
|
8383
8383
|
(function(i) {
|
|
8384
8384
|
var e = i;
|
|
8385
|
-
e.base =
|
|
8385
|
+
e.base = Mr, e.short = ws, e.mont = Cs, e.edwards = Ds;
|
|
8386
8386
|
})(Vi);
|
|
8387
|
-
var
|
|
8387
|
+
var Rr = {}, kr = {}, $e = {}, Fs = It, Rs = Sr;
|
|
8388
8388
|
$e.inherits = Rs;
|
|
8389
8389
|
function ks(i, e) {
|
|
8390
8390
|
return (i.charCodeAt(e) & 64512) !== 55296 || e < 0 || e + 1 >= i.length ? !1 : (i.charCodeAt(e + 1) & 64512) === 56320;
|
|
@@ -8539,11 +8539,11 @@ function eo(i, e, t) {
|
|
|
8539
8539
|
}
|
|
8540
8540
|
$e.shr64_lo = eo;
|
|
8541
8541
|
var Wt = {}, Vn = $e, to = It;
|
|
8542
|
-
function
|
|
8542
|
+
function Pr() {
|
|
8543
8543
|
this.pending = null, this.pendingTotal = 0, this.blockSize = this.constructor.blockSize, this.outSize = this.constructor.outSize, this.hmacStrength = this.constructor.hmacStrength, this.padLength = this.constructor.padLength / 8, this.endian = "big", this._delta8 = this.blockSize / 8, this._delta32 = this.blockSize / 32;
|
|
8544
8544
|
}
|
|
8545
|
-
Wt.BlockHash =
|
|
8546
|
-
|
|
8545
|
+
Wt.BlockHash = Pr;
|
|
8546
|
+
Pr.prototype.update = function(e, t) {
|
|
8547
8547
|
if (e = Vn.toArray(e, t), this.pending ? this.pending = this.pending.concat(e) : this.pending = e, this.pendingTotal += e.length, this.pending.length >= this._delta8) {
|
|
8548
8548
|
e = this.pending;
|
|
8549
8549
|
var r = e.length % this._delta8;
|
|
@@ -8553,10 +8553,10 @@ kr.prototype.update = function(e, t) {
|
|
|
8553
8553
|
}
|
|
8554
8554
|
return this;
|
|
8555
8555
|
};
|
|
8556
|
-
|
|
8556
|
+
Pr.prototype.digest = function(e) {
|
|
8557
8557
|
return this.update(this._pad()), to(this.pending === null), this._digest(e);
|
|
8558
8558
|
};
|
|
8559
|
-
|
|
8559
|
+
Pr.prototype._pad = function() {
|
|
8560
8560
|
var e = this.pendingTotal, t = this._delta8, r = t - (e + this.padLength) % t, a = new Array(r + this.padLength);
|
|
8561
8561
|
a[0] = 128;
|
|
8562
8562
|
for (var n = 1; n < r; n++)
|
|
@@ -8608,7 +8608,7 @@ function so(i) {
|
|
|
8608
8608
|
return it(i, 17) ^ it(i, 19) ^ i >>> 10;
|
|
8609
8609
|
}
|
|
8610
8610
|
ut.g1_256 = so;
|
|
8611
|
-
var Nt = $e, oo = Wt, co = ut,
|
|
8611
|
+
var Nt = $e, oo = Wt, co = ut, _i = Nt.rotl32, Gt = Nt.sum32, ho = Nt.sum32_5, uo = co.ft_1, If = oo.BlockHash, lo = [
|
|
8612
8612
|
1518500249,
|
|
8613
8613
|
1859775393,
|
|
8614
8614
|
2400959708,
|
|
@@ -8635,11 +8635,11 @@ st.prototype._update = function(e, t) {
|
|
|
8635
8635
|
for (var r = this.W, a = 0; a < 16; a++)
|
|
8636
8636
|
r[a] = e[t + a];
|
|
8637
8637
|
for (; a < r.length; a++)
|
|
8638
|
-
r[a] =
|
|
8638
|
+
r[a] = _i(r[a - 3] ^ r[a - 8] ^ r[a - 14] ^ r[a - 16], 1);
|
|
8639
8639
|
var n = this.h[0], y = this.h[1], x = this.h[2], u = this.h[3], c = this.h[4];
|
|
8640
8640
|
for (a = 0; a < r.length; a++) {
|
|
8641
|
-
var d = ~~(a / 20), v = ho(
|
|
8642
|
-
c = u, u = x, x =
|
|
8641
|
+
var d = ~~(a / 20), v = ho(_i(n, 5), uo(d, y, x, u), c, r[a], lo[d]);
|
|
8642
|
+
c = u, u = x, x = _i(y, 30), y = n, n = v;
|
|
8643
8643
|
}
|
|
8644
8644
|
this.h[0] = Gt(this.h[0], n), this.h[1] = Gt(this.h[1], y), this.h[2] = Gt(this.h[2], x), this.h[3] = Gt(this.h[3], u), this.h[4] = Gt(this.h[4], c);
|
|
8645
8645
|
};
|
|
@@ -8771,7 +8771,7 @@ vt.padLength = 64;
|
|
|
8771
8771
|
vt.prototype._digest = function(e) {
|
|
8772
8772
|
return e === "hex" ? ki.toHex32(this.h.slice(0, 7), "big") : ki.split32(this.h.slice(0, 7), "big");
|
|
8773
8773
|
};
|
|
8774
|
-
var H0 = $e, Mo = Wt, So = It, nt = H0.rotr64_hi, ft = H0.rotr64_lo, Nf = H0.shr64_hi, qf = H0.shr64_lo, gt = H0.sum64,
|
|
8774
|
+
var H0 = $e, Mo = Wt, So = It, nt = H0.rotr64_hi, ft = H0.rotr64_lo, Nf = H0.shr64_hi, qf = H0.shr64_lo, gt = H0.sum64, Ai = H0.sum64_hi, Ei = H0.sum64_lo, Do = H0.sum64_4_hi, Fo = H0.sum64_4_lo, Ro = H0.sum64_5_hi, ko = H0.sum64_5_lo, Lf = Mo.BlockHash, Po = [
|
|
8775
8775
|
1116352408,
|
|
8776
8776
|
3609767458,
|
|
8777
8777
|
1899447441,
|
|
@@ -9016,8 +9016,8 @@ tt.prototype._update = function(e, t) {
|
|
|
9016
9016
|
p
|
|
9017
9017
|
);
|
|
9018
9018
|
H = No(a, n), U = qo(a, n), j = Oo(a, n, y, x, u), X = zo(a, n, y, x, u, c);
|
|
9019
|
-
var I =
|
|
9020
|
-
F = k, P = q, k = B, q = R, B = b, R = M, b =
|
|
9019
|
+
var I = Ai(H, U, j, X), T = Ei(H, U, j, X);
|
|
9020
|
+
F = k, P = q, k = B, q = R, B = b, R = M, b = Ai(d, v, g, E), M = Ei(v, v, g, E), d = u, v = c, u = y, c = x, y = a, x = n, a = Ai(g, E, I, T), n = Ei(g, E, I, T);
|
|
9021
9021
|
}
|
|
9022
9022
|
gt(this.h, 0, a, n), gt(this.h, 2, y, x), gt(this.h, 4, u, c), gt(this.h, 6, d, v), gt(this.h, 8, b, M), gt(this.h, 10, B, R), gt(this.h, 12, k, q), gt(this.h, 14, F, P);
|
|
9023
9023
|
};
|
|
@@ -9502,10 +9502,10 @@ Lt.prototype.digest = function(e) {
|
|
|
9502
9502
|
(function(i) {
|
|
9503
9503
|
var e = i;
|
|
9504
9504
|
e.utils = $e, e.common = Wt, e.sha = Yt, e.ripemd = Uf, e.hmac = rc, e.sha1 = e.sha.sha1, e.sha256 = e.sha.sha256, e.sha224 = e.sha.sha224, e.sha384 = e.sha.sha384, e.sha512 = e.sha.sha512, e.ripemd160 = e.ripemd.ripemd160;
|
|
9505
|
-
})(
|
|
9506
|
-
var
|
|
9505
|
+
})(kr);
|
|
9506
|
+
var wi, Qn;
|
|
9507
9507
|
function ic() {
|
|
9508
|
-
return Qn || (Qn = 1,
|
|
9508
|
+
return Qn || (Qn = 1, wi = {
|
|
9509
9509
|
doubles: {
|
|
9510
9510
|
step: 4,
|
|
9511
9511
|
points: [
|
|
@@ -10284,10 +10284,10 @@ function ic() {
|
|
|
10284
10284
|
]
|
|
10285
10285
|
]
|
|
10286
10286
|
}
|
|
10287
|
-
}),
|
|
10287
|
+
}), wi;
|
|
10288
10288
|
}
|
|
10289
10289
|
(function(i) {
|
|
10290
|
-
var e = i, t =
|
|
10290
|
+
var e = i, t = kr, r = Vi, a = j0, n = a.assert;
|
|
10291
10291
|
function y(c) {
|
|
10292
10292
|
c.type === "short" ? this.curve = new r.short(c) : c.type === "edwards" ? this.curve = new r.edwards(c) : this.curve = new r.mont(c), this.g = this.curve.g, this.n = this.curve.n, this.hash = c.hash, n(this.g.validate(), "Invalid curve"), n(this.g.mul(this.n).isInfinity(), "Invalid curve, G*N != O");
|
|
10293
10293
|
}
|
|
@@ -10435,8 +10435,8 @@ function ic() {
|
|
|
10435
10435
|
u
|
|
10436
10436
|
]
|
|
10437
10437
|
});
|
|
10438
|
-
})(
|
|
10439
|
-
var nc =
|
|
10438
|
+
})(Rr);
|
|
10439
|
+
var nc = kr, St = Ki, Yf = It;
|
|
10440
10440
|
function At(i) {
|
|
10441
10441
|
if (!(this instanceof At))
|
|
10442
10442
|
return new At(i);
|
|
@@ -10526,17 +10526,17 @@ O0.prototype.verify = function(e, t) {
|
|
|
10526
10526
|
O0.prototype.inspect = function() {
|
|
10527
10527
|
return "<Key priv: " + (this.priv && this.priv.toString(16, 2)) + " pub: " + (this.pub && this.pub.inspect()) + " >";
|
|
10528
10528
|
};
|
|
10529
|
-
var
|
|
10530
|
-
function
|
|
10531
|
-
if (i instanceof
|
|
10529
|
+
var Er = pt, Zi = j0, cc = Zi.assert;
|
|
10530
|
+
function Ir(i, e) {
|
|
10531
|
+
if (i instanceof Ir)
|
|
10532
10532
|
return i;
|
|
10533
|
-
this._importDER(i, e) || (cc(i.r && i.s, "Signature without r or s"), this.r = new
|
|
10533
|
+
this._importDER(i, e) || (cc(i.r && i.s, "Signature without r or s"), this.r = new Er(i.r, 16), this.s = new Er(i.s, 16), i.recoveryParam === void 0 ? this.recoveryParam = null : this.recoveryParam = i.recoveryParam);
|
|
10534
10534
|
}
|
|
10535
|
-
var dc =
|
|
10535
|
+
var dc = Ir;
|
|
10536
10536
|
function hc() {
|
|
10537
10537
|
this.place = 0;
|
|
10538
10538
|
}
|
|
10539
|
-
function
|
|
10539
|
+
function Bi(i, e) {
|
|
10540
10540
|
var t = i[e.place++];
|
|
10541
10541
|
if (!(t & 128))
|
|
10542
10542
|
return t;
|
|
@@ -10552,21 +10552,21 @@ function Jn(i) {
|
|
|
10552
10552
|
e++;
|
|
10553
10553
|
return e === 0 ? i : i.slice(e);
|
|
10554
10554
|
}
|
|
10555
|
-
|
|
10555
|
+
Ir.prototype._importDER = function(e, t) {
|
|
10556
10556
|
e = Zi.toArray(e, t);
|
|
10557
10557
|
var r = new hc();
|
|
10558
10558
|
if (e[r.place++] !== 48)
|
|
10559
10559
|
return !1;
|
|
10560
|
-
var a =
|
|
10560
|
+
var a = Bi(e, r);
|
|
10561
10561
|
if (a === !1 || a + r.place !== e.length || e[r.place++] !== 2)
|
|
10562
10562
|
return !1;
|
|
10563
|
-
var n =
|
|
10563
|
+
var n = Bi(e, r);
|
|
10564
10564
|
if (n === !1)
|
|
10565
10565
|
return !1;
|
|
10566
10566
|
var y = e.slice(r.place, n + r.place);
|
|
10567
10567
|
if (r.place += n, e[r.place++] !== 2)
|
|
10568
10568
|
return !1;
|
|
10569
|
-
var x =
|
|
10569
|
+
var x = Bi(e, r);
|
|
10570
10570
|
if (x === !1 || e.length !== x + r.place)
|
|
10571
10571
|
return !1;
|
|
10572
10572
|
var u = e.slice(r.place, x + r.place);
|
|
@@ -10580,9 +10580,9 @@ Pr.prototype._importDER = function(e, t) {
|
|
|
10580
10580
|
u = u.slice(1);
|
|
10581
10581
|
else
|
|
10582
10582
|
return !1;
|
|
10583
|
-
return this.r = new
|
|
10583
|
+
return this.r = new Er(y), this.s = new Er(u), this.recoveryParam = null, !0;
|
|
10584
10584
|
};
|
|
10585
|
-
function
|
|
10585
|
+
function Ci(i, e) {
|
|
10586
10586
|
if (e < 128) {
|
|
10587
10587
|
i.push(e);
|
|
10588
10588
|
return;
|
|
@@ -10592,23 +10592,23 @@ function Bi(i, e) {
|
|
|
10592
10592
|
i.push(e >>> (t << 3) & 255);
|
|
10593
10593
|
i.push(e);
|
|
10594
10594
|
}
|
|
10595
|
-
|
|
10595
|
+
Ir.prototype.toDER = function(e) {
|
|
10596
10596
|
var t = this.r.toArray(), r = this.s.toArray();
|
|
10597
10597
|
for (t[0] & 128 && (t = [0].concat(t)), r[0] & 128 && (r = [0].concat(r)), t = Jn(t), r = Jn(r); !r[0] && !(r[1] & 128); )
|
|
10598
10598
|
r = r.slice(1);
|
|
10599
10599
|
var a = [2];
|
|
10600
|
-
|
|
10600
|
+
Ci(a, t.length), a = a.concat(t), a.push(2), Ci(a, r.length);
|
|
10601
10601
|
var n = a.concat(r), y = [48];
|
|
10602
|
-
return
|
|
10602
|
+
return Ci(y, n.length), y = y.concat(n), Zi.encode(y, e);
|
|
10603
10603
|
};
|
|
10604
|
-
var Dt = pt, Kf = fc, uc = j0,
|
|
10604
|
+
var Dt = pt, Kf = fc, uc = j0, Mi = Rr, lc = Bf, jf = uc.assert, Gi = oc, Tr = dc;
|
|
10605
10605
|
function X0(i) {
|
|
10606
10606
|
if (!(this instanceof X0))
|
|
10607
10607
|
return new X0(i);
|
|
10608
10608
|
typeof i == "string" && (jf(
|
|
10609
|
-
Object.prototype.hasOwnProperty.call(
|
|
10609
|
+
Object.prototype.hasOwnProperty.call(Mi, i),
|
|
10610
10610
|
"Unknown curve " + i
|
|
10611
|
-
), i =
|
|
10611
|
+
), i = Mi[i]), i instanceof Mi.PresetCurve && (i = { curve: i }), this.curve = i.curve.curve, this.n = this.curve.n, this.nh = this.n.ushrn(1), this.g = this.curve.g, this.g = i.curve.g, this.g.precompute(i.curve.n.bitLength() + 1), this.hash = i.hash || i.curve.hash;
|
|
10612
10612
|
}
|
|
10613
10613
|
var xc = X0;
|
|
10614
10614
|
X0.prototype.keyPair = function(e) {
|
|
@@ -10657,7 +10657,7 @@ X0.prototype.sign = function(e, t, r, a) {
|
|
|
10657
10657
|
var R = v.invm(this.n).mul(B.mul(t.getPrivate()).iadd(e));
|
|
10658
10658
|
if (R = R.umod(this.n), R.cmpn(0) !== 0) {
|
|
10659
10659
|
var k = (b.getY().isOdd() ? 1 : 0) | (M.cmp(B) !== 0 ? 2 : 0);
|
|
10660
|
-
return a.canonical && R.cmp(this.nh) > 0 && (R = this.n.sub(R), k ^= 1), new
|
|
10660
|
+
return a.canonical && R.cmp(this.nh) > 0 && (R = this.n.sub(R), k ^= 1), new Tr({ r: B, s: R, recoveryParam: k });
|
|
10661
10661
|
}
|
|
10662
10662
|
}
|
|
10663
10663
|
}
|
|
@@ -10665,7 +10665,7 @@ X0.prototype.sign = function(e, t, r, a) {
|
|
|
10665
10665
|
}
|
|
10666
10666
|
};
|
|
10667
10667
|
X0.prototype.verify = function(e, t, r, a) {
|
|
10668
|
-
e = this._truncateToN(new Dt(e, 16)), r = this.keyFromPublic(r, a), t = new
|
|
10668
|
+
e = this._truncateToN(new Dt(e, 16)), r = this.keyFromPublic(r, a), t = new Tr(t, "hex");
|
|
10669
10669
|
var n = t.r, y = t.s;
|
|
10670
10670
|
if (n.cmpn(1) < 0 || n.cmp(this.n) >= 0 || y.cmpn(1) < 0 || y.cmp(this.n) >= 0)
|
|
10671
10671
|
return !1;
|
|
@@ -10673,7 +10673,7 @@ X0.prototype.verify = function(e, t, r, a) {
|
|
|
10673
10673
|
return this.curve._maxwellTrick ? (d = this.g.jmulAdd(u, r.getPublic(), c), d.isInfinity() ? !1 : d.eqXToP(n)) : (d = this.g.mulAdd(u, r.getPublic(), c), d.isInfinity() ? !1 : d.getX().umod(this.n).cmp(n) === 0);
|
|
10674
10674
|
};
|
|
10675
10675
|
X0.prototype.recoverPubKey = function(i, e, t, r) {
|
|
10676
|
-
jf((3 & t) === t, "The recovery param is more than two bits"), e = new
|
|
10676
|
+
jf((3 & t) === t, "The recovery param is more than two bits"), e = new Tr(e, r);
|
|
10677
10677
|
var a = this.n, n = new Dt(i), y = e.r, x = e.s, u = t & 1, c = t >> 1;
|
|
10678
10678
|
if (y.cmp(this.curve.p.umod(this.curve.n)) >= 0 && c)
|
|
10679
10679
|
throw new Error("Unable to find sencond key candinate");
|
|
@@ -10682,7 +10682,7 @@ X0.prototype.recoverPubKey = function(i, e, t, r) {
|
|
|
10682
10682
|
return this.g.mulAdd(v, y, b);
|
|
10683
10683
|
};
|
|
10684
10684
|
X0.prototype.getKeyRecoveryParam = function(i, e, t, r) {
|
|
10685
|
-
if (e = new
|
|
10685
|
+
if (e = new Tr(e, r), e.recoveryParam !== null)
|
|
10686
10686
|
return e.recoveryParam;
|
|
10687
10687
|
for (var a = 0; a < 4; a++) {
|
|
10688
10688
|
var n;
|
|
@@ -10740,32 +10740,32 @@ B0.prototype.getSecret = function(e) {
|
|
|
10740
10740
|
B0.prototype.getPublic = function(e) {
|
|
10741
10741
|
return ar.encode(this.pubBytes(), e);
|
|
10742
10742
|
};
|
|
10743
|
-
var vc = B0, bc = pt,
|
|
10743
|
+
var vc = B0, bc = pt, Or = j0, pc = Or.assert, zr = Or.cachedProperty, yc = Or.parseBytes;
|
|
10744
10744
|
function Tt(i, e) {
|
|
10745
10745
|
this.eddsa = i, typeof e != "object" && (e = yc(e)), Array.isArray(e) && (e = {
|
|
10746
10746
|
R: e.slice(0, i.encodingLength),
|
|
10747
10747
|
S: e.slice(i.encodingLength)
|
|
10748
10748
|
}), pc(e.R && e.S, "Signature without R or S"), i.isPoint(e.R) && (this._R = e.R), e.S instanceof bc && (this._S = e.S), this._Rencoded = Array.isArray(e.R) ? e.R : e.Rencoded, this._Sencoded = Array.isArray(e.S) ? e.S : e.Sencoded;
|
|
10749
10749
|
}
|
|
10750
|
-
|
|
10750
|
+
zr(Tt, "S", function() {
|
|
10751
10751
|
return this.eddsa.decodeInt(this.Sencoded());
|
|
10752
10752
|
});
|
|
10753
|
-
|
|
10753
|
+
zr(Tt, "R", function() {
|
|
10754
10754
|
return this.eddsa.decodePoint(this.Rencoded());
|
|
10755
10755
|
});
|
|
10756
|
-
|
|
10756
|
+
zr(Tt, "Rencoded", function() {
|
|
10757
10757
|
return this.eddsa.encodePoint(this.R());
|
|
10758
10758
|
});
|
|
10759
|
-
|
|
10759
|
+
zr(Tt, "Sencoded", function() {
|
|
10760
10760
|
return this.eddsa.encodeInt(this.S());
|
|
10761
10761
|
});
|
|
10762
10762
|
Tt.prototype.toBytes = function() {
|
|
10763
10763
|
return this.Rencoded().concat(this.Sencoded());
|
|
10764
10764
|
};
|
|
10765
10765
|
Tt.prototype.toHex = function() {
|
|
10766
|
-
return
|
|
10766
|
+
return Or.encode(this.toBytes(), "hex").toUpperCase();
|
|
10767
10767
|
};
|
|
10768
|
-
var gc = Tt, mc =
|
|
10768
|
+
var gc = Tt, mc = kr, _c = Rr, $t = j0, Ac = $t.assert, Xf = $t.parseBytes, Zf = vc, tf = gc;
|
|
10769
10769
|
function U0(i) {
|
|
10770
10770
|
if (Ac(i === "ed25519", "only tested with ed25519 so far"), !(this instanceof U0))
|
|
10771
10771
|
return new U0(i);
|
|
@@ -10816,7 +10816,7 @@ U0.prototype.isPoint = function(e) {
|
|
|
10816
10816
|
};
|
|
10817
10817
|
(function(i) {
|
|
10818
10818
|
var e = i;
|
|
10819
|
-
e.version = ms.version, e.utils = j0, e.rand = Bf, e.curve = Vi, e.curves =
|
|
10819
|
+
e.version = ms.version, e.utils = j0, e.rand = Bf, e.curve = Vi, e.curves = Rr, e.ec = xc, e.eddsa = Ec;
|
|
10820
10820
|
})(Ef);
|
|
10821
10821
|
var Gf = { exports: {} };
|
|
10822
10822
|
(function(i) {
|
|
@@ -11545,7 +11545,7 @@ var Gf = { exports: {} };
|
|
|
11545
11545
|
Ie(m);
|
|
11546
11546
|
});
|
|
11547
11547
|
} else
|
|
11548
|
-
typeof mf < "u" && (l =
|
|
11548
|
+
typeof mf < "u" && (l = Br, l && l.randomBytes && e.setPRNG(function(w, s) {
|
|
11549
11549
|
var D, m = l.randomBytes(s);
|
|
11550
11550
|
for (D = 0; D < s; D++)
|
|
11551
11551
|
w[D] = m[D];
|
|
@@ -11650,17 +11650,17 @@ class Mc {
|
|
|
11650
11650
|
);
|
|
11651
11651
|
}
|
|
11652
11652
|
}
|
|
11653
|
-
const
|
|
11653
|
+
const wr = new Mc();
|
|
11654
11654
|
class Sc {
|
|
11655
11655
|
constructor() {
|
|
11656
11656
|
Bt(this, "ec");
|
|
11657
11657
|
this.ec = new Ef.ec("secp256k1");
|
|
11658
11658
|
}
|
|
11659
11659
|
xphereSign(e, t) {
|
|
11660
|
-
return
|
|
11660
|
+
return wr.signature(e, t);
|
|
11661
11661
|
}
|
|
11662
11662
|
xphereVerify(e, t, r) {
|
|
11663
|
-
return
|
|
11663
|
+
return wr.signatureValidity(e, t, r);
|
|
11664
11664
|
}
|
|
11665
11665
|
generateKeys() {
|
|
11666
11666
|
const e = this.ec.genKeyPair(), t = e.getPrivate("hex"), r = e.getPublic("hex");
|
|
@@ -11707,14 +11707,14 @@ const Ti = { type: "error", data: "parser error" }, Qf = typeof Blob == "functio
|
|
|
11707
11707
|
function nf(i) {
|
|
11708
11708
|
return i instanceof Uint8Array ? i : i instanceof ArrayBuffer ? new Uint8Array(i) : new Uint8Array(i.buffer, i.byteOffset, i.byteLength);
|
|
11709
11709
|
}
|
|
11710
|
-
let
|
|
11710
|
+
let Si;
|
|
11711
11711
|
function Dc(i, e) {
|
|
11712
11712
|
if (Qf && i.data instanceof Blob)
|
|
11713
11713
|
return i.data.arrayBuffer().then(nf).then(e);
|
|
11714
11714
|
if (Jf && (i.data instanceof ArrayBuffer || ea(i.data)))
|
|
11715
11715
|
return e(nf(i.data));
|
|
11716
11716
|
Ji(i, !1, (t) => {
|
|
11717
|
-
|
|
11717
|
+
Si || (Si = new TextEncoder()), e(Si.encode(t));
|
|
11718
11718
|
});
|
|
11719
11719
|
}
|
|
11720
11720
|
const ff = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", ir = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
|
|
@@ -11796,7 +11796,7 @@ function Tc() {
|
|
|
11796
11796
|
}
|
|
11797
11797
|
});
|
|
11798
11798
|
}
|
|
11799
|
-
let
|
|
11799
|
+
let Di;
|
|
11800
11800
|
function cr(i) {
|
|
11801
11801
|
return i.reduce((e, t) => e + t.length, 0);
|
|
11802
11802
|
}
|
|
@@ -11810,7 +11810,7 @@ function dr(i, e) {
|
|
|
11810
11810
|
return i.length && r < i[0].length && (i[0] = i[0].slice(r)), t;
|
|
11811
11811
|
}
|
|
11812
11812
|
function Oc(i, e) {
|
|
11813
|
-
|
|
11813
|
+
Di || (Di = new TextDecoder());
|
|
11814
11814
|
const t = [];
|
|
11815
11815
|
let r = 0, a = -1, n = !1;
|
|
11816
11816
|
return new TransformStream({
|
|
@@ -11839,7 +11839,7 @@ function Oc(i, e) {
|
|
|
11839
11839
|
if (cr(t) < a)
|
|
11840
11840
|
break;
|
|
11841
11841
|
const u = dr(t, a);
|
|
11842
|
-
x.enqueue(en(n ? u :
|
|
11842
|
+
x.enqueue(en(n ? u : Di.decode(u), e)), r = 0;
|
|
11843
11843
|
}
|
|
11844
11844
|
if (a === 0 || a > i) {
|
|
11845
11845
|
x.enqueue(Ti);
|
|
@@ -11906,7 +11906,7 @@ function na(i, ...e) {
|
|
|
11906
11906
|
return e.reduce((t, r) => (i.hasOwnProperty(r) && (t[r] = i[r]), t), {});
|
|
11907
11907
|
}
|
|
11908
11908
|
const Nc = V0.setTimeout, qc = V0.clearTimeout;
|
|
11909
|
-
function
|
|
11909
|
+
function Nr(i, e) {
|
|
11910
11910
|
e.useNativeTimers ? (i.setTimeoutFn = Nc.bind(V0), i.clearTimeoutFn = qc.bind(V0)) : (i.setTimeoutFn = V0.setTimeout.bind(V0), i.clearTimeoutFn = V0.clearTimeout.bind(V0));
|
|
11911
11911
|
}
|
|
11912
11912
|
const Lc = 1.33;
|
|
@@ -11946,7 +11946,7 @@ class tn extends E0 {
|
|
|
11946
11946
|
* @protected
|
|
11947
11947
|
*/
|
|
11948
11948
|
constructor(e) {
|
|
11949
|
-
super(), this.writable = !1,
|
|
11949
|
+
super(), this.writable = !1, Nr(this, e), this.opts = e, this.query = e.query, this.socket = e.socket;
|
|
11950
11950
|
}
|
|
11951
11951
|
/**
|
|
11952
11952
|
* Emits an error.
|
|
@@ -12225,7 +12225,7 @@ class at extends E0 {
|
|
|
12225
12225
|
* @package
|
|
12226
12226
|
*/
|
|
12227
12227
|
constructor(e, t) {
|
|
12228
|
-
super(),
|
|
12228
|
+
super(), Nr(this, t), this.opts = t, this.method = t.method || "GET", this.uri = e, this.data = t.data !== void 0 ? t.data : null, this.create();
|
|
12229
12229
|
}
|
|
12230
12230
|
/**
|
|
12231
12231
|
* Creates the XHR object and sends the request.
|
|
@@ -12491,7 +12491,7 @@ let ca = class Ot extends E0 {
|
|
|
12491
12491
|
* @param {Object} opts - options
|
|
12492
12492
|
*/
|
|
12493
12493
|
constructor(e, t = {}) {
|
|
12494
|
-
super(), this.binaryType = Gc, this.writeBuffer = [], e && typeof e == "object" && (t = e, e = null), e ? (e = zi(e), t.hostname = e.host, t.secure = e.protocol === "https" || e.protocol === "wss", t.port = e.port, e.query && (t.query = e.query)) : t.host && (t.hostname = zi(t.host).host),
|
|
12494
|
+
super(), this.binaryType = Gc, this.writeBuffer = [], e && typeof e == "object" && (t = e, e = null), e ? (e = zi(e), t.hostname = e.host, t.secure = e.protocol === "https" || e.protocol === "wss", t.port = e.port, e.query && (t.query = e.query)) : t.host && (t.hostname = zi(t.host).host), Nr(this, t), this.secure = t.secure != null ? t.secure : typeof location < "u" && location.protocol === "https:", t.hostname && !t.port && (t.port = this.secure ? "443" : "80"), this.hostname = t.hostname || (typeof location < "u" ? location.hostname : "localhost"), this.port = t.port || (typeof location < "u" && location.port ? location.port : this.secure ? "443" : "80"), this.transports = t.transports || [
|
|
12495
12495
|
"polling",
|
|
12496
12496
|
"websocket",
|
|
12497
12497
|
"webtransport"
|
|
@@ -13692,7 +13692,7 @@ Vt.prototype.setJitter = function(i) {
|
|
|
13692
13692
|
class Li extends E0 {
|
|
13693
13693
|
constructor(e, t) {
|
|
13694
13694
|
var r;
|
|
13695
|
-
super(), this.nsps = {}, this.subs = [], e && typeof e == "object" && (t = e, e = void 0), t = t || {}, t.path = t.path || "/socket.io", this.opts = t,
|
|
13695
|
+
super(), this.nsps = {}, this.subs = [], e && typeof e == "object" && (t = e, e = void 0), t = t || {}, t.path = t.path || "/socket.io", this.opts = t, Nr(this, t), this.reconnection(t.reconnection !== !1), this.reconnectionAttempts(t.reconnectionAttempts || 1 / 0), this.reconnectionDelay(t.reconnectionDelay || 1e3), this.reconnectionDelayMax(t.reconnectionDelayMax || 5e3), this.randomizationFactor((r = t.randomizationFactor) !== null && r !== void 0 ? r : 0.5), this.backoff = new Vt({
|
|
13696
13696
|
min: this.reconnectionDelay(),
|
|
13697
13697
|
max: this.reconnectionDelayMax(),
|
|
13698
13698
|
jitter: this.randomizationFactor()
|
|
@@ -14335,7 +14335,7 @@ var ua = { exports: {} };
|
|
|
14335
14335
|
});
|
|
14336
14336
|
})(ua);
|
|
14337
14337
|
var Ed = ua.exports;
|
|
14338
|
-
const br = /* @__PURE__ */ Hi(Ed), pr = "userInfo",
|
|
14338
|
+
const br = /* @__PURE__ */ Hi(Ed), pr = "userInfo", yr = "YYYY-MM-DD HH:mm:ss", Rd = () => {
|
|
14339
14339
|
const [i, e] = nr(void 0), [t, r] = nr(void 0);
|
|
14340
14340
|
_t(() => {
|
|
14341
14341
|
const n = localStorage.getItem(pr);
|
|
@@ -14345,8 +14345,8 @@ const br = /* @__PURE__ */ Hi(Ed), pr = "userInfo", Di = "YYYY-MM-DD HH:mm:ss",
|
|
|
14345
14345
|
}
|
|
14346
14346
|
}, []), _t(() => {
|
|
14347
14347
|
if (i && i.expire.type !== "NONE") {
|
|
14348
|
-
const { type: n, seconds: y } = i.expire, x = br().add(y, "seconds").format(
|
|
14349
|
-
r(c), br().format(
|
|
14348
|
+
const { type: n, seconds: y } = i.expire, x = br().add(y, "seconds").format(yr), u = br(i.issuedDateTime).add(y, "seconds").format(yr), c = n === "EXTEND" ? x : u;
|
|
14349
|
+
r(c), br().format(yr) > c && (localStorage.removeItem(pr), window.location.reload());
|
|
14350
14350
|
}
|
|
14351
14351
|
}, [i]);
|
|
14352
14352
|
const a = () => {
|
|
@@ -14382,12 +14382,12 @@ class wd {
|
|
|
14382
14382
|
throw new Error("Invalid token");
|
|
14383
14383
|
}
|
|
14384
14384
|
getAddress(e) {
|
|
14385
|
-
return
|
|
14385
|
+
return wr.address(e);
|
|
14386
14386
|
}
|
|
14387
14387
|
}
|
|
14388
14388
|
const Bd = new wd(), Cd = {
|
|
14389
14389
|
Enc: rr,
|
|
14390
|
-
Sign:
|
|
14390
|
+
Sign: wr,
|
|
14391
14391
|
Util: N0,
|
|
14392
14392
|
Validation: Bd
|
|
14393
14393
|
}, kd = ({
|
|
@@ -14422,7 +14422,7 @@ Nonce: ${b}`, F = u.type, P = u.seconds, O = {
|
|
|
14422
14422
|
network: k.network,
|
|
14423
14423
|
nickName: k.nickName,
|
|
14424
14424
|
token: Cd.Validation.createToken(O, k.signature),
|
|
14425
|
-
issuedDateTime: br().format(
|
|
14425
|
+
issuedDateTime: br().format(yr),
|
|
14426
14426
|
expire: F === "NONE" ? { type: F } : { type: F, seconds: P }
|
|
14427
14427
|
};
|
|
14428
14428
|
a({ isSuccess: !0 }), localStorage.setItem(pr, JSON.stringify(H));
|
|
@@ -14430,14 +14430,14 @@ Nonce: ${b}`, F = u.type, P = u.seconds, O = {
|
|
|
14430
14430
|
a({ isSuccess: !1 });
|
|
14431
14431
|
}
|
|
14432
14432
|
})();
|
|
14433
|
-
}, [a, r]), d ? /* @__PURE__ */
|
|
14433
|
+
}, [a, r]), d ? /* @__PURE__ */ gr.jsx(
|
|
14434
14434
|
yf,
|
|
14435
14435
|
{
|
|
14436
14436
|
value: M,
|
|
14437
14437
|
...y && { imageSettings: { src: la, width: x, height: x, excavate: !1 } },
|
|
14438
14438
|
...c
|
|
14439
14439
|
}
|
|
14440
|
-
) : /* @__PURE__ */
|
|
14440
|
+
) : /* @__PURE__ */ gr.jsx("div", { children: "QR loading error" });
|
|
14441
14441
|
};
|
|
14442
14442
|
class Md {
|
|
14443
14443
|
// 타입 가드 함수
|
|
@@ -14496,14 +14496,14 @@ const Sd = new Md(), Pd = ({
|
|
|
14496
14496
|
a({ isSuccess: !1 });
|
|
14497
14497
|
}
|
|
14498
14498
|
})();
|
|
14499
|
-
}, []), u ? /* @__PURE__ */
|
|
14499
|
+
}, []), u ? /* @__PURE__ */ gr.jsx(
|
|
14500
14500
|
yf,
|
|
14501
14501
|
{
|
|
14502
14502
|
value: d,
|
|
14503
14503
|
...n && { imageSettings: { src: la, width: y, height: y, excavate: !1 } },
|
|
14504
14504
|
...x
|
|
14505
14505
|
}
|
|
14506
|
-
) : /* @__PURE__ */
|
|
14506
|
+
) : /* @__PURE__ */ gr.jsx("div", { children: "QR loading error" });
|
|
14507
14507
|
}, Id = {
|
|
14508
14508
|
Qr: an
|
|
14509
14509
|
};
|