@hinkal/common 0.0.21 → 0.0.23
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/assets/{utxoWorkerLauncher-BEUpD_S3.js → snarkjsWorkerLauncher-DGyRhsnt.js} +2 -2
- package/assets/{snarkjsWorkerLogic-C0jhwQeU.js → snarkjsWorkerLogic-JVcROE0k.js} +1700 -1678
- package/assets/{snarkjsWorkerLogic-DbPzt8sK.js → snarkjsWorkerLogic-asV4ifKL.js} +3 -2
- package/assets/{snarkjsWorkerLauncher-Cxayz-rO.js → utxoWorkerLauncher-BHLbZZie.js} +2 -1
- package/assets/{utxoWorkerLogic-BFs3JZ0z.js → utxoWorkerLogic-B5nYEbpt.js} +7 -7
- package/assets/{utxoWorkerLogic-BIinmUe9.js → utxoWorkerLogic-DxfPxQs8.js} +26661 -26687
- package/assets/viteWorkerURL.constant-dLfAyCEb.js +11 -0
- package/assets/{zkProofWorkerLauncher-CkAXJL76.js → zkProofWorkerLauncher-D8OXlf5e.js} +23 -22
- package/assets/{zkProofWorkerLogic-DO1mhw9j.js → zkProofWorkerLogic-Ch0jn4N_.js} +69 -70
- package/{index-hawBcGgA.js → index-DcZZLkPF.js} +49593 -49625
- package/index.js +1 -1
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-BSQcU9Zo.js → snarkjsWorkerLogic-2nqMU9wj.js} +5 -4
- package/{utxoWorkerLogic-Ck6_gew5.js → utxoWorkerLogic-CLCVRQ27.js} +5 -5
- package/viteWorkerURL.constant-pxNQtpI_.js +9 -0
- package/{workerProxy-Bcp7Fkbp.js → workerProxy-u1IDSczf.js} +1 -1
- package/{zkProofWorkerLogic-DP4Ejyeo.js → zkProofWorkerLogic-CQqAq0cY.js} +20 -20
- package/assets/viteWorkerURL.constant-2FqFkgj-.js +0 -11
- package/viteWorkerURL.constant-CruO8mkG.js +0 -9
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { W as r } from "./zkProofWorkerLogic-Ch0jn4N_.js";
|
|
2
|
+
import "./zkProofWorkerLauncher-D8OXlf5e.js";
|
|
3
|
+
var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-DGyRhsnt.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-BHLbZZie.js", import.meta.url).href;
|
|
4
|
+
const n = {
|
|
5
|
+
[r.ZKProof]: o,
|
|
6
|
+
[r.SnarkJS]: e,
|
|
7
|
+
[r.UTXO]: a
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
n as workerViteURL
|
|
11
|
+
};
|
|
@@ -64,12 +64,12 @@ or.read = function(h, f, p, x, w) {
|
|
|
64
64
|
return (C ? -1 : 1) * l * Math.pow(2, s - x);
|
|
65
65
|
};
|
|
66
66
|
or.write = function(h, f, p, x, w, s) {
|
|
67
|
-
var l, I, B, A = s * 8 - w - 1, o = (1 << A) - 1, U = o >> 1, k = w === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, C = x ? 0 : s - 1,
|
|
68
|
-
for (f = Math.abs(f), isNaN(f) || f === 1 / 0 ? (I = isNaN(f) ? 1 : 0, l = o) : (l = Math.floor(Math.log(f) / Math.LN2), f * (B = Math.pow(2, -l)) < 1 && (l--, B *= 2), l + U >= 1 ? f += k / B : f += k * Math.pow(2, 1 - U), f * B >= 2 && (l++, B /= 2), l + U >= o ? (I = 0, l = o) : l + U >= 1 ? (I = (f * B - 1) * Math.pow(2, w), l = l + U) : (I = f * Math.pow(2, U - 1) * Math.pow(2, w), l = 0)); w >= 8; h[p + C] = I & 255, C +=
|
|
67
|
+
var l, I, B, A = s * 8 - w - 1, o = (1 << A) - 1, U = o >> 1, k = w === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, C = x ? 0 : s - 1, $ = x ? 1 : -1, J = f < 0 || f === 0 && 1 / f < 0 ? 1 : 0;
|
|
68
|
+
for (f = Math.abs(f), isNaN(f) || f === 1 / 0 ? (I = isNaN(f) ? 1 : 0, l = o) : (l = Math.floor(Math.log(f) / Math.LN2), f * (B = Math.pow(2, -l)) < 1 && (l--, B *= 2), l + U >= 1 ? f += k / B : f += k * Math.pow(2, 1 - U), f * B >= 2 && (l++, B /= 2), l + U >= o ? (I = 0, l = o) : l + U >= 1 ? (I = (f * B - 1) * Math.pow(2, w), l = l + U) : (I = f * Math.pow(2, U - 1) * Math.pow(2, w), l = 0)); w >= 8; h[p + C] = I & 255, C += $, I /= 256, w -= 8)
|
|
69
69
|
;
|
|
70
|
-
for (l = l << w | I, A += w; A > 0; h[p + C] = l & 255, C +=
|
|
70
|
+
for (l = l << w | I, A += w; A > 0; h[p + C] = l & 255, C += $, l /= 256, A -= 8)
|
|
71
71
|
;
|
|
72
|
-
h[p + C -
|
|
72
|
+
h[p + C - $] |= J * 128;
|
|
73
73
|
};
|
|
74
74
|
/*!
|
|
75
75
|
* The buffer module from node.js, for the browser.
|
|
@@ -121,7 +121,7 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
121
121
|
throw new TypeError(
|
|
122
122
|
'The "string" argument must be of type string. Received type number'
|
|
123
123
|
);
|
|
124
|
-
return
|
|
124
|
+
return $(e);
|
|
125
125
|
}
|
|
126
126
|
return U(e, r, t);
|
|
127
127
|
}
|
|
@@ -168,13 +168,13 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
168
168
|
o.alloc = function(e, r, t) {
|
|
169
169
|
return C(e, r, t);
|
|
170
170
|
};
|
|
171
|
-
function
|
|
171
|
+
function $(e) {
|
|
172
172
|
return k(e), A(e < 0 ? 0 : Z(e) | 0);
|
|
173
173
|
}
|
|
174
174
|
o.allocUnsafe = function(e) {
|
|
175
|
-
return
|
|
175
|
+
return $(e);
|
|
176
176
|
}, o.allocUnsafeSlow = function(e) {
|
|
177
|
-
return
|
|
177
|
+
return $(e);
|
|
178
178
|
};
|
|
179
179
|
function J(e, r) {
|
|
180
180
|
if ((typeof r != "string" || r === "") && (r = "utf8"), !o.isEncoding(r))
|
|
@@ -328,7 +328,7 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
328
328
|
for (e || (e = "utf8"); ; )
|
|
329
329
|
switch (e) {
|
|
330
330
|
case "hex":
|
|
331
|
-
return
|
|
331
|
+
return $r(this, r, t);
|
|
332
332
|
case "utf8":
|
|
333
333
|
case "utf-8":
|
|
334
334
|
return fr(this, r, t);
|
|
@@ -336,7 +336,7 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
336
336
|
return Dr(this, r, t);
|
|
337
337
|
case "latin1":
|
|
338
338
|
case "binary":
|
|
339
|
-
return
|
|
339
|
+
return Pr(this, r, t);
|
|
340
340
|
case "base64":
|
|
341
341
|
return kr(this, r, t);
|
|
342
342
|
case "ucs2":
|
|
@@ -590,14 +590,14 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
590
590
|
n += String.fromCharCode(e[i] & 127);
|
|
591
591
|
return n;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function Pr(e, r, t) {
|
|
594
594
|
let n = "";
|
|
595
595
|
t = Math.min(e.length, t);
|
|
596
596
|
for (let i = r; i < t; ++i)
|
|
597
597
|
n += String.fromCharCode(e[i]);
|
|
598
598
|
return n;
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function $r(e, r, t) {
|
|
601
601
|
const n = e.length;
|
|
602
602
|
(!r || r < 0) && (r = 0), (!t || t < 0 || t > n) && (t = n);
|
|
603
603
|
let i = "";
|
|
@@ -646,13 +646,13 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
646
646
|
return r = r >>> 0, t || T(r, 4, this.length), (this[r] | this[r + 1] << 8 | this[r + 2] << 16) + this[r + 3] * 16777216;
|
|
647
647
|
}, o.prototype.readUint32BE = o.prototype.readUInt32BE = function(r, t) {
|
|
648
648
|
return r = r >>> 0, t || T(r, 4, this.length), this[r] * 16777216 + (this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3]);
|
|
649
|
-
}, o.prototype.readBigUInt64LE =
|
|
649
|
+
}, o.prototype.readBigUInt64LE = P(function(r) {
|
|
650
650
|
r = r >>> 0, Y(r, "offset");
|
|
651
651
|
const t = this[r], n = this[r + 7];
|
|
652
652
|
(t === void 0 || n === void 0) && X(r, this.length - 8);
|
|
653
653
|
const i = t + this[++r] * 2 ** 8 + this[++r] * 2 ** 16 + this[++r] * 2 ** 24, u = this[++r] + this[++r] * 2 ** 8 + this[++r] * 2 ** 16 + n * 2 ** 24;
|
|
654
654
|
return BigInt(i) + (BigInt(u) << BigInt(32));
|
|
655
|
-
}), o.prototype.readBigUInt64BE =
|
|
655
|
+
}), o.prototype.readBigUInt64BE = P(function(r) {
|
|
656
656
|
r = r >>> 0, Y(r, "offset");
|
|
657
657
|
const t = this[r], n = this[r + 7];
|
|
658
658
|
(t === void 0 || n === void 0) && X(r, this.length - 8);
|
|
@@ -684,13 +684,13 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
684
684
|
return r = r >>> 0, t || T(r, 4, this.length), this[r] | this[r + 1] << 8 | this[r + 2] << 16 | this[r + 3] << 24;
|
|
685
685
|
}, o.prototype.readInt32BE = function(r, t) {
|
|
686
686
|
return r = r >>> 0, t || T(r, 4, this.length), this[r] << 24 | this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3];
|
|
687
|
-
}, o.prototype.readBigInt64LE =
|
|
687
|
+
}, o.prototype.readBigInt64LE = P(function(r) {
|
|
688
688
|
r = r >>> 0, Y(r, "offset");
|
|
689
689
|
const t = this[r], n = this[r + 7];
|
|
690
690
|
(t === void 0 || n === void 0) && X(r, this.length - 8);
|
|
691
691
|
const i = this[r + 4] + this[r + 5] * 2 ** 8 + this[r + 6] * 2 ** 16 + (n << 24);
|
|
692
692
|
return (BigInt(i) << BigInt(32)) + BigInt(t + this[++r] * 2 ** 8 + this[++r] * 2 ** 16 + this[++r] * 2 ** 24);
|
|
693
|
-
}), o.prototype.readBigInt64BE =
|
|
693
|
+
}), o.prototype.readBigInt64BE = P(function(r) {
|
|
694
694
|
r = r >>> 0, Y(r, "offset");
|
|
695
695
|
const t = this[r], n = this[r + 7];
|
|
696
696
|
(t === void 0 || n === void 0) && X(r, this.length - 8);
|
|
@@ -757,9 +757,9 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
757
757
|
let c = Number(r >> BigInt(32) & BigInt(4294967295));
|
|
758
758
|
return e[t + 3] = c, c = c >> 8, e[t + 2] = c, c = c >> 8, e[t + 1] = c, c = c >> 8, e[t] = c, t + 8;
|
|
759
759
|
}
|
|
760
|
-
o.prototype.writeBigUInt64LE =
|
|
760
|
+
o.prototype.writeBigUInt64LE = P(function(r, t = 0) {
|
|
761
761
|
return lr(this, r, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
762
|
-
}), o.prototype.writeBigUInt64BE =
|
|
762
|
+
}), o.prototype.writeBigUInt64BE = P(function(r, t = 0) {
|
|
763
763
|
return pr(this, r, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
764
764
|
}), o.prototype.writeIntLE = function(r, t, n, i) {
|
|
765
765
|
if (r = +r, t = t >>> 0, !i) {
|
|
@@ -789,9 +789,9 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
789
789
|
return r = +r, t = t >>> 0, n || R(this, r, t, 4, 2147483647, -2147483648), this[t] = r & 255, this[t + 1] = r >>> 8, this[t + 2] = r >>> 16, this[t + 3] = r >>> 24, t + 4;
|
|
790
790
|
}, o.prototype.writeInt32BE = function(r, t, n) {
|
|
791
791
|
return r = +r, t = t >>> 0, n || R(this, r, t, 4, 2147483647, -2147483648), r < 0 && (r = 4294967295 + r + 1), this[t] = r >>> 24, this[t + 1] = r >>> 16, this[t + 2] = r >>> 8, this[t + 3] = r & 255, t + 4;
|
|
792
|
-
}, o.prototype.writeBigInt64LE =
|
|
792
|
+
}, o.prototype.writeBigInt64LE = P(function(r, t = 0) {
|
|
793
793
|
return lr(this, r, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
794
|
-
}), o.prototype.writeBigInt64BE =
|
|
794
|
+
}), o.prototype.writeBigInt64BE = P(function(r, t = 0) {
|
|
795
795
|
return pr(this, r, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
796
796
|
});
|
|
797
797
|
function ar(e, r, t, n, i, u) {
|
|
@@ -1042,7 +1042,7 @@ or.write = function(h, f, p, x, w, s) {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
return r;
|
|
1044
1044
|
}();
|
|
1045
|
-
function
|
|
1045
|
+
function P(e) {
|
|
1046
1046
|
return typeof BigInt > "u" ? zr : e;
|
|
1047
1047
|
}
|
|
1048
1048
|
function zr() {
|
|
@@ -1192,10 +1192,11 @@ const It = /* @__PURE__ */ dt(mt), Ft = () => {
|
|
|
1192
1192
|
};
|
|
1193
1193
|
globalThis.process = It;
|
|
1194
1194
|
globalThis.Buffer = gr;
|
|
1195
|
-
const Tt = import("./zkProofWorkerLogic-
|
|
1195
|
+
const Tt = import("./zkProofWorkerLogic-Ch0jn4N_.js").then(function(h) {
|
|
1196
1196
|
return h.z;
|
|
1197
1197
|
});
|
|
1198
1198
|
addEventListener("message", async (h) => {
|
|
1199
|
+
console.log("addEventListener in zkProof Launcher starts");
|
|
1199
1200
|
const { onWorkerMessage: f } = await Tt;
|
|
1200
1201
|
f(h.data);
|
|
1201
1202
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-
|
|
1
|
+
import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-D8OXlf5e.js";
|
|
2
2
|
const hexLen = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
|
|
3
3
|
function fromString$1(a, d) {
|
|
4
4
|
if (!d || d == 10)
|
|
@@ -12204,26 +12204,25 @@ var tryTypedArrays = function(d) {
|
|
|
12204
12204
|
})(types$i);
|
|
12205
12205
|
var isBufferBrowser = function(d) {
|
|
12206
12206
|
return d && typeof d == "object" && typeof d.copy == "function" && typeof d.fill == "function" && typeof d.readUInt8 == "function";
|
|
12207
|
-
}, inherits_browser$1 = { exports: {} }
|
|
12208
|
-
function
|
|
12209
|
-
|
|
12210
|
-
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
|
|
12214
|
-
|
|
12215
|
-
configurable: !0
|
|
12216
|
-
}
|
|
12217
|
-
}));
|
|
12218
|
-
} : inherits_browser$1.exports = function(d, n) {
|
|
12219
|
-
if (n) {
|
|
12220
|
-
d.super_ = n;
|
|
12221
|
-
var c = function() {
|
|
12222
|
-
};
|
|
12223
|
-
c.prototype = n.prototype, d.prototype = new c(), d.prototype.constructor = d;
|
|
12207
|
+
}, inherits_browser$1 = { exports: {} };
|
|
12208
|
+
typeof Object.create == "function" ? inherits_browser$1.exports = function(d, n) {
|
|
12209
|
+
n && (d.super_ = n, d.prototype = Object.create(n.prototype, {
|
|
12210
|
+
constructor: {
|
|
12211
|
+
value: d,
|
|
12212
|
+
enumerable: !1,
|
|
12213
|
+
writable: !0,
|
|
12214
|
+
configurable: !0
|
|
12224
12215
|
}
|
|
12225
|
-
})
|
|
12226
|
-
}
|
|
12216
|
+
}));
|
|
12217
|
+
} : inherits_browser$1.exports = function(d, n) {
|
|
12218
|
+
if (n) {
|
|
12219
|
+
d.super_ = n;
|
|
12220
|
+
var c = function() {
|
|
12221
|
+
};
|
|
12222
|
+
c.prototype = n.prototype, d.prototype = new c(), d.prototype.constructor = d;
|
|
12223
|
+
}
|
|
12224
|
+
};
|
|
12225
|
+
var inherits_browserExports = inherits_browser$1.exports;
|
|
12227
12226
|
(function(a) {
|
|
12228
12227
|
var d = Object.getOwnPropertyDescriptors || function(ue) {
|
|
12229
12228
|
for (var he = Object.keys(ue), fe = {}, pe = 0; pe < he.length; pe++)
|
|
@@ -12533,7 +12532,7 @@ function requireInherits_browser() {
|
|
|
12533
12532
|
}
|
|
12534
12533
|
a.log = function() {
|
|
12535
12534
|
console.log("%s - %s", k(), a.format.apply(a, arguments));
|
|
12536
|
-
}, a.inherits =
|
|
12535
|
+
}, a.inherits = inherits_browserExports, a._extend = function(ce, ue) {
|
|
12537
12536
|
if (!ue || !K(ue))
|
|
12538
12537
|
return ce;
|
|
12539
12538
|
for (var he = Object.keys(ue), fe = he.length; fe--; )
|
|
@@ -12950,7 +12949,7 @@ function require_stream_writable$1() {
|
|
|
12950
12949
|
return u.isBuffer(pe) || pe instanceof l;
|
|
12951
12950
|
}
|
|
12952
12951
|
var H = destroy_1$1, U = state, F = U.getHighWaterMark, de = errorsBrowser.codes, B = de.ERR_INVALID_ARG_TYPE, ne = de.ERR_METHOD_NOT_IMPLEMENTED, be = de.ERR_MULTIPLE_CALLBACK, L = de.ERR_STREAM_CANNOT_PIPE, V = de.ERR_STREAM_DESTROYED, q = de.ERR_STREAM_NULL_VALUES, P = de.ERR_STREAM_WRITE_AFTER_END, G = de.ERR_UNKNOWN_ENCODING, ie = H.errorOrDestroy;
|
|
12953
|
-
|
|
12952
|
+
inherits_browserExports(ve, c);
|
|
12954
12953
|
function ye() {
|
|
12955
12954
|
}
|
|
12956
12955
|
function Be(pe, Ne, Ie) {
|
|
@@ -13171,7 +13170,7 @@ function require_stream_duplex$1() {
|
|
|
13171
13170
|
};
|
|
13172
13171
|
_stream_duplex$1 = y;
|
|
13173
13172
|
var d = require_stream_readable$1(), n = require_stream_writable$1();
|
|
13174
|
-
|
|
13173
|
+
inherits_browserExports(y, d);
|
|
13175
13174
|
for (var c = a(n.prototype), u = 0; u < c.length; u++) {
|
|
13176
13175
|
var l = c[u];
|
|
13177
13176
|
y.prototype[l] || (y.prototype[l] = n.prototype[l]);
|
|
@@ -13624,7 +13623,7 @@ function require_stream_readable$1() {
|
|
|
13624
13623
|
Q && Q.debuglog ? H = Q.debuglog("stream") : H = function() {
|
|
13625
13624
|
};
|
|
13626
13625
|
var U = requireBuffer_list(), F = destroy_1$1, de = state, B = de.getHighWaterMark, ne = errorsBrowser.codes, be = ne.ERR_INVALID_ARG_TYPE, L = ne.ERR_STREAM_PUSH_AFTER_EOF, V = ne.ERR_METHOD_NOT_IMPLEMENTED, q = ne.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, P, G, ie;
|
|
13627
|
-
|
|
13626
|
+
inherits_browserExports(K, n);
|
|
13628
13627
|
var ye = F.errorOrDestroy, Be = ["error", "close", "destroy", "pause", "resume"];
|
|
13629
13628
|
function j(We, la, Ue) {
|
|
13630
13629
|
if (typeof We.prependListener == "function")
|
|
@@ -13951,7 +13950,7 @@ function require_stream_readable$1() {
|
|
|
13951
13950
|
return _stream_readable$1;
|
|
13952
13951
|
}
|
|
13953
13952
|
var _stream_transform$1 = Transform$1, _require$codes$1 = errorsBrowser.codes, ERR_METHOD_NOT_IMPLEMENTED = _require$codes$1.ERR_METHOD_NOT_IMPLEMENTED, ERR_MULTIPLE_CALLBACK = _require$codes$1.ERR_MULTIPLE_CALLBACK, ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes$1.ERR_TRANSFORM_ALREADY_TRANSFORMING, ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes$1.ERR_TRANSFORM_WITH_LENGTH_0, Duplex = require_stream_duplex$1();
|
|
13954
|
-
|
|
13953
|
+
inherits_browserExports(Transform$1, Duplex);
|
|
13955
13954
|
function afterTransform(a, d) {
|
|
13956
13955
|
var n = this._transformState;
|
|
13957
13956
|
n.transforming = !1;
|
|
@@ -14012,7 +14011,7 @@ function done(a, d, n) {
|
|
|
14012
14011
|
return a.push(null);
|
|
14013
14012
|
}
|
|
14014
14013
|
var _stream_passthrough$1 = PassThrough, Transform = _stream_transform$1;
|
|
14015
|
-
|
|
14014
|
+
inherits_browserExports(PassThrough, Transform);
|
|
14016
14015
|
function PassThrough(a) {
|
|
14017
14016
|
if (!(this instanceof PassThrough))
|
|
14018
14017
|
return new PassThrough(a);
|
|
@@ -19219,7 +19218,7 @@ function requireUtils$3() {
|
|
|
19219
19218
|
if (hasRequiredUtils$3)
|
|
19220
19219
|
return utils$k;
|
|
19221
19220
|
hasRequiredUtils$3 = 1;
|
|
19222
|
-
var a = requireMinimalisticAssert(), d =
|
|
19221
|
+
var a = requireMinimalisticAssert(), d = inherits_browserExports;
|
|
19223
19222
|
utils$k.inherits = d;
|
|
19224
19223
|
function n(_, I) {
|
|
19225
19224
|
return (_.charCodeAt(I) & 64512) !== 55296 || I < 0 || I + 1 >= _.length ? !1 : (_.charCodeAt(I + 1) & 64512) === 56320;
|
|
@@ -55094,7 +55093,7 @@ function requireHashBase$1() {
|
|
|
55094
55093
|
if (hasRequiredHashBase$1)
|
|
55095
55094
|
return hashBase$1;
|
|
55096
55095
|
hasRequiredHashBase$1 = 1;
|
|
55097
|
-
var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n =
|
|
55096
|
+
var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = inherits_browserExports;
|
|
55098
55097
|
function c(l, y) {
|
|
55099
55098
|
if (!a.isBuffer(l) && typeof l != "string")
|
|
55100
55099
|
throw new TypeError(y + " must be a string or a buffer");
|
|
@@ -55152,7 +55151,7 @@ function requireMd5_js() {
|
|
|
55152
55151
|
if (hasRequiredMd5_js)
|
|
55153
55152
|
return md5_js;
|
|
55154
55153
|
hasRequiredMd5_js = 1;
|
|
55155
|
-
var a =
|
|
55154
|
+
var a = inherits_browserExports, d = requireHashBase$1(), n = requireSafeBuffer$1().Buffer, c = new Array(16);
|
|
55156
55155
|
function u() {
|
|
55157
55156
|
d.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878;
|
|
55158
55157
|
}
|
|
@@ -55188,7 +55187,7 @@ function requireHashBase() {
|
|
|
55188
55187
|
if (hasRequiredHashBase)
|
|
55189
55188
|
return hashBase;
|
|
55190
55189
|
hasRequiredHashBase = 1;
|
|
55191
|
-
var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n =
|
|
55190
|
+
var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = inherits_browserExports;
|
|
55192
55191
|
function c(l, y) {
|
|
55193
55192
|
if (!a.isBuffer(l) && typeof l != "string")
|
|
55194
55193
|
throw new TypeError(y + " must be a string or a buffer");
|
|
@@ -55246,7 +55245,7 @@ function requireRipemd160() {
|
|
|
55246
55245
|
if (hasRequiredRipemd160)
|
|
55247
55246
|
return ripemd160$3;
|
|
55248
55247
|
hasRequiredRipemd160 = 1;
|
|
55249
|
-
var a = require$$0$5.Buffer, d =
|
|
55248
|
+
var a = require$$0$5.Buffer, d = inherits_browserExports, n = requireHashBase(), c = new Array(16), u = [
|
|
55250
55249
|
0,
|
|
55251
55250
|
1,
|
|
55252
55251
|
2,
|
|
@@ -55647,7 +55646,7 @@ function requireSha() {
|
|
|
55647
55646
|
if (hasRequiredSha)
|
|
55648
55647
|
return sha$1;
|
|
55649
55648
|
hasRequiredSha = 1;
|
|
55650
|
-
var a =
|
|
55649
|
+
var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
|
|
55651
55650
|
1518500249,
|
|
55652
55651
|
1859775393,
|
|
55653
55652
|
-1894007588,
|
|
@@ -55688,7 +55687,7 @@ function requireSha1() {
|
|
|
55688
55687
|
if (hasRequiredSha1)
|
|
55689
55688
|
return sha1$1;
|
|
55690
55689
|
hasRequiredSha1 = 1;
|
|
55691
|
-
var a =
|
|
55690
|
+
var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
|
|
55692
55691
|
1518500249,
|
|
55693
55692
|
1859775393,
|
|
55694
55693
|
-1894007588,
|
|
@@ -55732,7 +55731,7 @@ function requireSha256() {
|
|
|
55732
55731
|
if (hasRequiredSha256)
|
|
55733
55732
|
return sha256$4;
|
|
55734
55733
|
hasRequiredSha256 = 1;
|
|
55735
|
-
var a =
|
|
55734
|
+
var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
|
|
55736
55735
|
1116352408,
|
|
55737
55736
|
1899447441,
|
|
55738
55737
|
3049323471,
|
|
@@ -55842,7 +55841,7 @@ function requireSha224() {
|
|
|
55842
55841
|
if (hasRequiredSha224)
|
|
55843
55842
|
return sha224$1;
|
|
55844
55843
|
hasRequiredSha224 = 1;
|
|
55845
|
-
var a =
|
|
55844
|
+
var a = inherits_browserExports, d = requireSha256(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(64);
|
|
55846
55845
|
function l() {
|
|
55847
55846
|
this.init(), this._w = u, n.call(this, 64, 56);
|
|
55848
55847
|
}
|
|
@@ -55858,7 +55857,7 @@ function requireSha512() {
|
|
|
55858
55857
|
if (hasRequiredSha512)
|
|
55859
55858
|
return sha512$4;
|
|
55860
55859
|
hasRequiredSha512 = 1;
|
|
55861
|
-
var a =
|
|
55860
|
+
var a = inherits_browserExports, d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
|
|
55862
55861
|
1116352408,
|
|
55863
55862
|
3609767458,
|
|
55864
55863
|
1899447441,
|
|
@@ -56083,7 +56082,7 @@ function requireSha384() {
|
|
|
56083
56082
|
if (hasRequiredSha384)
|
|
56084
56083
|
return sha384$1;
|
|
56085
56084
|
hasRequiredSha384 = 1;
|
|
56086
|
-
var a =
|
|
56085
|
+
var a = inherits_browserExports, d = requireSha512(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(160);
|
|
56087
56086
|
function l() {
|
|
56088
56087
|
this.init(), this._w = u, n.call(this, 128, 112);
|
|
56089
56088
|
}
|
|
@@ -56116,7 +56115,7 @@ function requireStreamBrowserify() {
|
|
|
56116
56115
|
if (hasRequiredStreamBrowserify)
|
|
56117
56116
|
return streamBrowserify;
|
|
56118
56117
|
hasRequiredStreamBrowserify = 1, streamBrowserify = n;
|
|
56119
|
-
var a = eventsExports.EventEmitter, d =
|
|
56118
|
+
var a = eventsExports.EventEmitter, d = inherits_browserExports;
|
|
56120
56119
|
d(n, a), n.Readable = require_stream_readable$1(), n.Writable = require_stream_writable$1(), n.Duplex = require_stream_duplex$1(), n.Transform = _stream_transform$1, n.PassThrough = _stream_passthrough$1, n.finished = endOfStream, n.pipeline = pipeline_1, n.Stream = n;
|
|
56121
56120
|
function n() {
|
|
56122
56121
|
a.call(this);
|
|
@@ -56154,7 +56153,7 @@ function requireCipherBase() {
|
|
|
56154
56153
|
if (hasRequiredCipherBase)
|
|
56155
56154
|
return cipherBase;
|
|
56156
56155
|
hasRequiredCipherBase = 1;
|
|
56157
|
-
var a = requireSafeBuffer$1().Buffer, d = requireStreamBrowserify().Transform, n = requireString_decoder().StringDecoder, c =
|
|
56156
|
+
var a = requireSafeBuffer$1().Buffer, d = requireStreamBrowserify().Transform, n = requireString_decoder().StringDecoder, c = inherits_browserExports;
|
|
56158
56157
|
function u(l) {
|
|
56159
56158
|
d.call(this), this.hashMode = typeof l == "string", this.hashMode ? this[l] = this._finalOrDigest : this.final = this._finalOrDigest, this._final && (this.__final = this._final, this._final = null), this._decoder = null, this._encoding = null;
|
|
56160
56159
|
}
|
|
@@ -56201,7 +56200,7 @@ function requireBrowser$9() {
|
|
|
56201
56200
|
if (hasRequiredBrowser$9)
|
|
56202
56201
|
return browser$c;
|
|
56203
56202
|
hasRequiredBrowser$9 = 1;
|
|
56204
|
-
var a =
|
|
56203
|
+
var a = inherits_browserExports, d = requireMd5_js(), n = requireRipemd160(), c = requireSha_js(), u = requireCipherBase();
|
|
56205
56204
|
function l(y) {
|
|
56206
56205
|
u.call(this, "digest"), this._hash = y;
|
|
56207
56206
|
}
|
|
@@ -56218,7 +56217,7 @@ function requireLegacy() {
|
|
|
56218
56217
|
if (hasRequiredLegacy)
|
|
56219
56218
|
return legacy;
|
|
56220
56219
|
hasRequiredLegacy = 1;
|
|
56221
|
-
var a =
|
|
56220
|
+
var a = inherits_browserExports, d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = d.alloc(128), u = 64;
|
|
56222
56221
|
function l(y, Q) {
|
|
56223
56222
|
n.call(this, "digest"), typeof Q == "string" && (Q = d.from(Q)), this._alg = y, this._key = Q, Q.length > u ? Q = y(Q) : Q.length < u && (Q = d.concat([Q, c], u));
|
|
56224
56223
|
for (var H = this._ipad = d.allocUnsafe(u), U = this._opad = d.allocUnsafe(u), F = 0; F < u; F++)
|
|
@@ -56247,7 +56246,7 @@ function requireBrowser$8() {
|
|
|
56247
56246
|
if (hasRequiredBrowser$8)
|
|
56248
56247
|
return browser$b;
|
|
56249
56248
|
hasRequiredBrowser$8 = 1;
|
|
56250
|
-
var a =
|
|
56249
|
+
var a = inherits_browserExports, d = requireLegacy(), n = requireCipherBase(), c = requireSafeBuffer$1().Buffer, u = requireMd5(), l = requireRipemd160(), y = requireSha_js(), Q = c.alloc(128);
|
|
56251
56250
|
function H(U, F) {
|
|
56252
56251
|
n.call(this, "digest"), typeof F == "string" && (F = c.from(F));
|
|
56253
56252
|
var de = U === "sha512" || U === "sha384" ? 128 : 64;
|
|
@@ -57366,7 +57365,7 @@ function requireDes$1() {
|
|
|
57366
57365
|
if (hasRequiredDes$1)
|
|
57367
57366
|
return des;
|
|
57368
57367
|
hasRequiredDes$1 = 1;
|
|
57369
|
-
var a = requireMinimalisticAssert(), d =
|
|
57368
|
+
var a = requireMinimalisticAssert(), d = inherits_browserExports, n = requireUtils$2(), c = requireCipher();
|
|
57370
57369
|
function u() {
|
|
57371
57370
|
this.tmp = new Array(2), this.keys = null;
|
|
57372
57371
|
}
|
|
@@ -57442,7 +57441,7 @@ function requireCbc$1() {
|
|
|
57442
57441
|
if (hasRequiredCbc$1)
|
|
57443
57442
|
return cbc$1;
|
|
57444
57443
|
hasRequiredCbc$1 = 1;
|
|
57445
|
-
var a = requireMinimalisticAssert(), d =
|
|
57444
|
+
var a = requireMinimalisticAssert(), d = inherits_browserExports, n = {};
|
|
57446
57445
|
function c(l) {
|
|
57447
57446
|
a.equal(l.length, 8, "Invalid IV length"), this.iv = new Array(8);
|
|
57448
57447
|
for (var y = 0; y < this.iv.length; y++)
|
|
@@ -57486,7 +57485,7 @@ function requireEde() {
|
|
|
57486
57485
|
if (hasRequiredEde)
|
|
57487
57486
|
return ede;
|
|
57488
57487
|
hasRequiredEde = 1;
|
|
57489
|
-
var a = requireMinimalisticAssert(), d =
|
|
57488
|
+
var a = requireMinimalisticAssert(), d = inherits_browserExports, n = requireCipher(), c = requireDes$1();
|
|
57490
57489
|
function u(y, Q) {
|
|
57491
57490
|
a.equal(Q.length, 24, "Invalid key length");
|
|
57492
57491
|
var H = Q.slice(0, 8), U = Q.slice(8, 16), F = Q.slice(16, 24);
|
|
@@ -57521,7 +57520,7 @@ function requireBrowserifyDes() {
|
|
|
57521
57520
|
if (hasRequiredBrowserifyDes)
|
|
57522
57521
|
return browserifyDes;
|
|
57523
57522
|
hasRequiredBrowserifyDes = 1;
|
|
57524
|
-
var a = requireCipherBase(), d = requireDes(), n =
|
|
57523
|
+
var a = requireCipherBase(), d = requireDes(), n = inherits_browserExports, c = requireSafeBuffer$1().Buffer, u = {
|
|
57525
57524
|
"des-ede3-cbc": d.CBC.instantiate(d.EDE),
|
|
57526
57525
|
"des-ede3": d.EDE,
|
|
57527
57526
|
"des-ede-cbc": d.CBC.instantiate(d.EDE),
|
|
@@ -58023,7 +58022,7 @@ function requireAuthCipher() {
|
|
|
58023
58022
|
if (hasRequiredAuthCipher)
|
|
58024
58023
|
return authCipher;
|
|
58025
58024
|
hasRequiredAuthCipher = 1;
|
|
58026
|
-
var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c =
|
|
58025
|
+
var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = inherits_browserExports, u = requireGhash(), l = requireBufferXor(), y = requireIncr32();
|
|
58027
58026
|
function Q(F, de) {
|
|
58028
58027
|
var B = 0;
|
|
58029
58028
|
F.length !== de.length && B++;
|
|
@@ -58082,7 +58081,7 @@ function requireStreamCipher() {
|
|
|
58082
58081
|
if (hasRequiredStreamCipher)
|
|
58083
58082
|
return streamCipher;
|
|
58084
58083
|
hasRequiredStreamCipher = 1;
|
|
58085
|
-
var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c =
|
|
58084
|
+
var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = inherits_browserExports;
|
|
58086
58085
|
function u(l, y, Q, H) {
|
|
58087
58086
|
n.call(this), this._cipher = new a.AES(y), this._prev = d.from(Q), this._cache = d.allocUnsafe(0), this._secCache = d.allocUnsafe(0), this._decrypt = H, this._mode = l;
|
|
58088
58087
|
}
|
|
@@ -58123,7 +58122,7 @@ function requireEncrypter() {
|
|
|
58123
58122
|
if (hasRequiredEncrypter)
|
|
58124
58123
|
return encrypter;
|
|
58125
58124
|
hasRequiredEncrypter = 1;
|
|
58126
|
-
var a = requireModes$1(), d = requireAuthCipher(), n = requireSafeBuffer$1().Buffer, c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q =
|
|
58125
|
+
var a = requireModes$1(), d = requireAuthCipher(), n = requireSafeBuffer$1().Buffer, c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = inherits_browserExports;
|
|
58127
58126
|
function H(ne, be, L) {
|
|
58128
58127
|
u.call(this), this._cache = new F(), this._cipher = new l.AES(be), this._prev = n.from(L), this._mode = ne, this._autopadding = !0;
|
|
58129
58128
|
}
|
|
@@ -58183,7 +58182,7 @@ function requireDecrypter() {
|
|
|
58183
58182
|
if (hasRequiredDecrypter)
|
|
58184
58183
|
return decrypter;
|
|
58185
58184
|
hasRequiredDecrypter = 1;
|
|
58186
|
-
var a = requireAuthCipher(), d = requireSafeBuffer$1().Buffer, n = requireModes$1(), c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q =
|
|
58185
|
+
var a = requireAuthCipher(), d = requireSafeBuffer$1().Buffer, n = requireModes$1(), c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = inherits_browserExports;
|
|
58187
58186
|
function H(ne, be, L) {
|
|
58188
58187
|
u.call(this), this._cache = new U(), this._last = void 0, this._cipher = new l.AES(be), this._prev = d.from(L), this._mode = ne, this._autopadding = !0;
|
|
58189
58188
|
}
|
|
@@ -61218,7 +61217,7 @@ function require_stream_writable() {
|
|
|
61218
61217
|
var n = !process$1.browser && ["v0.10", "v0.9."].indexOf(process$1.version.slice(0, 5)) > -1 ? setImmediate : a.nextTick, c;
|
|
61219
61218
|
L.WritableState = ne;
|
|
61220
61219
|
var u = Object.create(requireUtil());
|
|
61221
|
-
u.inherits =
|
|
61220
|
+
u.inherits = inherits_browserExports;
|
|
61222
61221
|
var l = {
|
|
61223
61222
|
deprecate: browser$e
|
|
61224
61223
|
}, y = requireStreamBrowser(), Q = requireSafeBuffer().Buffer, H = (typeof commonjsGlobal < "u" ? commonjsGlobal : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
@@ -61428,7 +61427,7 @@ function require_stream_duplex() {
|
|
|
61428
61427
|
};
|
|
61429
61428
|
_stream_duplex = H;
|
|
61430
61429
|
var n = Object.create(requireUtil());
|
|
61431
|
-
n.inherits =
|
|
61430
|
+
n.inherits = inherits_browserExports;
|
|
61432
61431
|
var c = require_stream_readable(), u = require_stream_writable();
|
|
61433
61432
|
n.inherits(H, c);
|
|
61434
61433
|
for (var l = d(u.prototype), y = 0; y < l.length; y++) {
|
|
@@ -61486,7 +61485,7 @@ function require_stream_readable() {
|
|
|
61486
61485
|
return l.isBuffer(Ne) || Ne instanceof y;
|
|
61487
61486
|
}
|
|
61488
61487
|
var U = Object.create(requireUtil());
|
|
61489
|
-
U.inherits =
|
|
61488
|
+
U.inherits = inherits_browserExports;
|
|
61490
61489
|
var F = util$c, de = void 0;
|
|
61491
61490
|
F && F.debuglog ? de = F.debuglog("stream") : de = function() {
|
|
61492
61491
|
};
|
|
@@ -61790,7 +61789,7 @@ function require_stream_transform() {
|
|
|
61790
61789
|
return _stream_transform;
|
|
61791
61790
|
hasRequired_stream_transform = 1, _stream_transform = c;
|
|
61792
61791
|
var a = require_stream_duplex(), d = Object.create(requireUtil());
|
|
61793
|
-
d.inherits =
|
|
61792
|
+
d.inherits = inherits_browserExports, d.inherits(c, a);
|
|
61794
61793
|
function n(y, Q) {
|
|
61795
61794
|
var H = this._transformState;
|
|
61796
61795
|
H.transforming = !1;
|
|
@@ -61855,7 +61854,7 @@ function require_stream_passthrough() {
|
|
|
61855
61854
|
return _stream_passthrough;
|
|
61856
61855
|
hasRequired_stream_passthrough = 1, _stream_passthrough = n;
|
|
61857
61856
|
var a = require_stream_transform(), d = Object.create(requireUtil());
|
|
61858
|
-
d.inherits =
|
|
61857
|
+
d.inherits = inherits_browserExports, d.inherits(n, a);
|
|
61859
61858
|
function n(c) {
|
|
61860
61859
|
if (!(this instanceof n))
|
|
61861
61860
|
return new n(c);
|
|
@@ -63415,7 +63414,7 @@ function requireShort() {
|
|
|
63415
63414
|
if (hasRequiredShort)
|
|
63416
63415
|
return short;
|
|
63417
63416
|
hasRequiredShort = 1;
|
|
63418
|
-
var a = requireUtils(), d = requireBn$3(), n =
|
|
63417
|
+
var a = requireUtils(), d = requireBn$3(), n = inherits_browserExports, c = requireBase$1(), u = a.assert;
|
|
63419
63418
|
function l(H) {
|
|
63420
63419
|
c.call(this, "short", H), this.a = new d(H.a, 16).toRed(this.red), this.b = new d(H.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(H), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4);
|
|
63421
63420
|
}
|
|
@@ -63764,7 +63763,7 @@ function requireMont() {
|
|
|
63764
63763
|
if (hasRequiredMont)
|
|
63765
63764
|
return mont;
|
|
63766
63765
|
hasRequiredMont = 1;
|
|
63767
|
-
var a = requireBn$3(), d =
|
|
63766
|
+
var a = requireBn$3(), d = inherits_browserExports, n = requireBase$1(), c = requireUtils();
|
|
63768
63767
|
function u(y) {
|
|
63769
63768
|
n.call(this, "mont", y), this.a = new a(y.a, 16).toRed(this.red), this.b = new a(y.b, 16).toRed(this.red), this.i4 = new a(4).toRed(this.red).redInvm(), this.two = new a(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
|
|
63770
63769
|
}
|
|
@@ -63821,7 +63820,7 @@ function requireEdwards() {
|
|
|
63821
63820
|
if (hasRequiredEdwards)
|
|
63822
63821
|
return edwards;
|
|
63823
63822
|
hasRequiredEdwards = 1;
|
|
63824
|
-
var a = requireUtils(), d = requireBn$3(), n =
|
|
63823
|
+
var a = requireUtils(), d = requireBn$3(), n = inherits_browserExports, c = requireBase$1(), u = a.assert;
|
|
63825
63824
|
function l(Q) {
|
|
63826
63825
|
this.twisted = (Q.a | 0) !== 1, this.mOneA = this.twisted && (Q.a | 0) === -1, this.extended = this.mOneA, c.call(this, "edwards", Q), this.a = new d(Q.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new d(Q.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new d(Q.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), u(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (Q.c | 0) === 1;
|
|
63827
63826
|
}
|
|
@@ -66552,7 +66551,7 @@ function requireVmBrowserify() {
|
|
|
66552
66551
|
var hasRequiredApi;
|
|
66553
66552
|
function requireApi() {
|
|
66554
66553
|
return hasRequiredApi || (hasRequiredApi = 1, function(a) {
|
|
66555
|
-
var d = requireAsn1$1(), n =
|
|
66554
|
+
var d = requireAsn1$1(), n = inherits_browserExports, c = a;
|
|
66556
66555
|
c.define = function(y, Q) {
|
|
66557
66556
|
return new u(y, Q);
|
|
66558
66557
|
};
|
|
@@ -66591,7 +66590,7 @@ function requireReporter() {
|
|
|
66591
66590
|
if (hasRequiredReporter)
|
|
66592
66591
|
return reporter;
|
|
66593
66592
|
hasRequiredReporter = 1;
|
|
66594
|
-
var a =
|
|
66593
|
+
var a = inherits_browserExports;
|
|
66595
66594
|
function d(c) {
|
|
66596
66595
|
this._reporterState = {
|
|
66597
66596
|
obj: null,
|
|
@@ -66656,7 +66655,7 @@ function requireBuffer() {
|
|
|
66656
66655
|
if (hasRequiredBuffer)
|
|
66657
66656
|
return buffer;
|
|
66658
66657
|
hasRequiredBuffer = 1;
|
|
66659
|
-
var a =
|
|
66658
|
+
var a = inherits_browserExports, d = requireBase().Reporter, n = require$$0$5.Buffer;
|
|
66660
66659
|
function c(l, y) {
|
|
66661
66660
|
if (d.call(this, y), !n.isBuffer(l)) {
|
|
66662
66661
|
this.error("Input not Buffer");
|
|
@@ -67096,7 +67095,7 @@ function requireDer$1() {
|
|
|
67096
67095
|
if (hasRequiredDer$1)
|
|
67097
67096
|
return der_1$1;
|
|
67098
67097
|
hasRequiredDer$1 = 1;
|
|
67099
|
-
var a =
|
|
67098
|
+
var a = inherits_browserExports, d = requireAsn1$1(), n = d.base, c = d.bignum, u = d.constants.der;
|
|
67100
67099
|
function l(U) {
|
|
67101
67100
|
this.enc = "der", this.name = U.name, this.entity = U, this.tree = new y(), this.tree._init(U.body);
|
|
67102
67101
|
}
|
|
@@ -67267,7 +67266,7 @@ function requirePem$1() {
|
|
|
67267
67266
|
if (hasRequiredPem$1)
|
|
67268
67267
|
return pem$1;
|
|
67269
67268
|
hasRequiredPem$1 = 1;
|
|
67270
|
-
var a =
|
|
67269
|
+
var a = inherits_browserExports, d = require$$0$5.Buffer, n = requireDer$1();
|
|
67271
67270
|
function c(u) {
|
|
67272
67271
|
n.call(this, u), this.enc = "pem";
|
|
67273
67272
|
}
|
|
@@ -67306,7 +67305,7 @@ function requireDer() {
|
|
|
67306
67305
|
if (hasRequiredDer)
|
|
67307
67306
|
return der_1;
|
|
67308
67307
|
hasRequiredDer = 1;
|
|
67309
|
-
var a =
|
|
67308
|
+
var a = inherits_browserExports, d = require$$0$5.Buffer, n = requireAsn1$1(), c = n.base, u = n.constants.der;
|
|
67310
67309
|
function l(U) {
|
|
67311
67310
|
this.enc = "der", this.name = U.name, this.entity = U, this.tree = new y(), this.tree._init(U.body);
|
|
67312
67311
|
}
|
|
@@ -67455,7 +67454,7 @@ function requirePem() {
|
|
|
67455
67454
|
if (hasRequiredPem)
|
|
67456
67455
|
return pem;
|
|
67457
67456
|
hasRequiredPem = 1;
|
|
67458
|
-
var a =
|
|
67457
|
+
var a = inherits_browserExports, d = requireDer();
|
|
67459
67458
|
function n(c) {
|
|
67460
67459
|
d.call(this, c), this.enc = "pem";
|
|
67461
67460
|
}
|
|
@@ -67918,7 +67917,7 @@ function requireBrowser$3() {
|
|
|
67918
67917
|
if (hasRequiredBrowser$3)
|
|
67919
67918
|
return browser$6;
|
|
67920
67919
|
hasRequiredBrowser$3 = 1;
|
|
67921
|
-
var a = requireSafeBuffer$1().Buffer, d = requireBrowser$9(), n = requireReadableBrowser(), c =
|
|
67920
|
+
var a = requireSafeBuffer$1().Buffer, d = requireBrowser$9(), n = requireReadableBrowser(), c = inherits_browserExports, u = requireSign(), l = requireVerify(), y = require$$6$1;
|
|
67922
67921
|
Object.keys(y).forEach(function(de) {
|
|
67923
67922
|
y[de].id = a.from(y[de].id, "hex"), y[de.toLowerCase()] = y[de];
|
|
67924
67923
|
});
|
|
@@ -161608,7 +161607,7 @@ class WorkerFactory {
|
|
|
161608
161607
|
constructor() {
|
|
161609
161608
|
}
|
|
161610
161609
|
static resolveWorkerURL = async (d) => {
|
|
161611
|
-
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-
|
|
161610
|
+
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-dLfAyCEb.js");
|
|
161612
161611
|
return new URL(c[d], n);
|
|
161613
161612
|
};
|
|
161614
161613
|
static createWorker = async (d) => {
|
|
@@ -161616,12 +161615,12 @@ class WorkerFactory {
|
|
|
161616
161615
|
let c;
|
|
161617
161616
|
return d === WorkerVariant.SnarkJS ? c = await import(
|
|
161618
161617
|
/* @vite-ignore */
|
|
161619
|
-
"./snarkjsWorkerLogic-
|
|
161618
|
+
"./snarkjsWorkerLogic-asV4ifKL.js"
|
|
161620
161619
|
) : d === WorkerVariant.ZKProof ? c = await Promise.resolve().then(function() {
|
|
161621
161620
|
return zkProofWorkerLogic;
|
|
161622
161621
|
}) : d === WorkerVariant.UTXO && (c = await import(
|
|
161623
161622
|
/* @vite-ignore */
|
|
161624
|
-
"./utxoWorkerLogic-
|
|
161623
|
+
"./utxoWorkerLogic-B5nYEbpt.js"
|
|
161625
161624
|
)), c.default;
|
|
161626
161625
|
}
|
|
161627
161626
|
const n = await WorkerFactory.resolveWorkerURL(d);
|
|
@@ -257971,7 +257970,7 @@ const workerProxy = new WorkerProxy(), handleCalcCommitmentsSiblingAndSides = (a
|
|
|
257971
257970
|
);
|
|
257972
257971
|
workerProxy.postMessageToMainThread(u);
|
|
257973
257972
|
}, onWorkerMessage = async (a) => {
|
|
257974
|
-
await preProcessing();
|
|
257973
|
+
console.log("onWorkerMessage zkProof starts"), await preProcessing();
|
|
257975
257974
|
const { type: d } = a.payload;
|
|
257976
257975
|
switch (d) {
|
|
257977
257976
|
case ZKProofWorkerActionType.CALC_COMMITMENTS_SIBLING_AND_SIDES:
|