u-space 0.0.16 → 0.0.18
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 +3 -3
- package/dist/index.js +165 -140
- package/dist/plugins/atmosphere/Atmosphere.d.ts +47 -3
- package/dist/plugins/atmosphere/index.cjs +1 -1
- package/dist/plugins/atmosphere/index.js +299 -3
- package/dist/plugins/u-manager/index.cjs +1 -1
- package/dist/plugins/u-manager/index.js +577 -580
- package/dist/plugins/u-manager/semantics/FloorMesh.d.ts +24 -3
- package/dist/src/viewers/RenderPipeline.d.ts +8 -0
- package/docs/api-objects.md +2 -0
- package/docs/api-plugin-atmosphere.md +94 -2
- package/docs/api-render-pipeline.md +20 -4
- package/docs/changelog.md +12 -0
- package/docs/mcp.md +1 -1
- package/package.json +2 -3
|
@@ -98,10 +98,10 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
98
98
|
);
|
|
99
99
|
function a() {
|
|
100
100
|
try {
|
|
101
|
-
const
|
|
101
|
+
const U = new r(1), I = { foo: function() {
|
|
102
102
|
return 42;
|
|
103
103
|
} };
|
|
104
|
-
return Object.setPrototypeOf(I, r.prototype), Object.setPrototypeOf(
|
|
104
|
+
return Object.setPrototypeOf(I, r.prototype), Object.setPrototypeOf(U, I), U.foo() === 42;
|
|
105
105
|
} catch {
|
|
106
106
|
return !1;
|
|
107
107
|
}
|
|
@@ -119,118 +119,118 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
119
119
|
return this.byteOffset;
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
|
-
function n(
|
|
123
|
-
if (
|
|
124
|
-
throw new RangeError('The value "' +
|
|
125
|
-
const I = new r(
|
|
122
|
+
function n(U) {
|
|
123
|
+
if (U > d)
|
|
124
|
+
throw new RangeError('The value "' + U + '" is invalid for option "size"');
|
|
125
|
+
const I = new r(U);
|
|
126
126
|
return Object.setPrototypeOf(I, e.prototype), I;
|
|
127
127
|
}
|
|
128
|
-
function e(
|
|
129
|
-
if (typeof
|
|
128
|
+
function e(U, I, C) {
|
|
129
|
+
if (typeof U == "number") {
|
|
130
130
|
if (typeof I == "string")
|
|
131
131
|
throw new TypeError(
|
|
132
132
|
'The "string" argument must be of type string. Received type number'
|
|
133
133
|
);
|
|
134
|
-
return b(
|
|
134
|
+
return b(U);
|
|
135
135
|
}
|
|
136
|
-
return s(
|
|
136
|
+
return s(U, I, C);
|
|
137
137
|
}
|
|
138
138
|
e.poolSize = 8192;
|
|
139
|
-
function s(
|
|
140
|
-
if (typeof
|
|
141
|
-
return m(
|
|
142
|
-
if (h.isView(
|
|
143
|
-
return E(
|
|
144
|
-
if (
|
|
139
|
+
function s(U, I, C) {
|
|
140
|
+
if (typeof U == "string")
|
|
141
|
+
return m(U, I);
|
|
142
|
+
if (h.isView(U))
|
|
143
|
+
return E(U);
|
|
144
|
+
if (U == null)
|
|
145
145
|
throw new TypeError(
|
|
146
|
-
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof
|
|
146
|
+
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof U
|
|
147
147
|
);
|
|
148
|
-
if (ce(
|
|
149
|
-
return S(
|
|
150
|
-
if (typeof
|
|
148
|
+
if (ce(U, h) || U && ce(U.buffer, h) || typeof f < "u" && (ce(U, f) || U && ce(U.buffer, f)))
|
|
149
|
+
return S(U, I, C);
|
|
150
|
+
if (typeof U == "number")
|
|
151
151
|
throw new TypeError(
|
|
152
152
|
'The "value" argument must not be of type number. Received type number'
|
|
153
153
|
);
|
|
154
|
-
const X =
|
|
155
|
-
if (X != null && X !==
|
|
154
|
+
const X = U.valueOf && U.valueOf();
|
|
155
|
+
if (X != null && X !== U)
|
|
156
156
|
return e.from(X, I, C);
|
|
157
|
-
const se = O(
|
|
157
|
+
const se = O(U);
|
|
158
158
|
if (se) return se;
|
|
159
|
-
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof
|
|
160
|
-
return e.from(
|
|
159
|
+
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof U[Symbol.toPrimitive] == "function")
|
|
160
|
+
return e.from(U[Symbol.toPrimitive]("string"), I, C);
|
|
161
161
|
throw new TypeError(
|
|
162
|
-
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof
|
|
162
|
+
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof U
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
|
-
e.from = function(
|
|
166
|
-
return s(
|
|
165
|
+
e.from = function(U, I, C) {
|
|
166
|
+
return s(U, I, C);
|
|
167
167
|
}, Object.setPrototypeOf(e.prototype, r.prototype), Object.setPrototypeOf(e, r);
|
|
168
|
-
function l(
|
|
169
|
-
if (typeof
|
|
168
|
+
function l(U) {
|
|
169
|
+
if (typeof U != "number")
|
|
170
170
|
throw new TypeError('"size" argument must be of type number');
|
|
171
|
-
if (
|
|
172
|
-
throw new RangeError('The value "' +
|
|
171
|
+
if (U < 0)
|
|
172
|
+
throw new RangeError('The value "' + U + '" is invalid for option "size"');
|
|
173
173
|
}
|
|
174
|
-
function v(
|
|
175
|
-
return l(
|
|
174
|
+
function v(U, I, C) {
|
|
175
|
+
return l(U), U <= 0 ? n(U) : I !== void 0 ? typeof C == "string" ? n(U).fill(I, C) : n(U).fill(I) : n(U);
|
|
176
176
|
}
|
|
177
|
-
e.alloc = function(
|
|
178
|
-
return v(
|
|
177
|
+
e.alloc = function(U, I, C) {
|
|
178
|
+
return v(U, I, C);
|
|
179
179
|
};
|
|
180
|
-
function b(
|
|
181
|
-
return l(
|
|
180
|
+
function b(U) {
|
|
181
|
+
return l(U), n(U < 0 ? 0 : D(U) | 0);
|
|
182
182
|
}
|
|
183
|
-
e.allocUnsafe = function(
|
|
184
|
-
return b(
|
|
185
|
-
}, e.allocUnsafeSlow = function(
|
|
186
|
-
return b(
|
|
183
|
+
e.allocUnsafe = function(U) {
|
|
184
|
+
return b(U);
|
|
185
|
+
}, e.allocUnsafeSlow = function(U) {
|
|
186
|
+
return b(U);
|
|
187
187
|
};
|
|
188
|
-
function m(
|
|
188
|
+
function m(U, I) {
|
|
189
189
|
if ((typeof I != "string" || I === "") && (I = "utf8"), !e.isEncoding(I))
|
|
190
190
|
throw new TypeError("Unknown encoding: " + I);
|
|
191
|
-
const C = U
|
|
191
|
+
const C = j(U, I) | 0;
|
|
192
192
|
let X = n(C);
|
|
193
|
-
const se = X.write(
|
|
193
|
+
const se = X.write(U, I);
|
|
194
194
|
return se !== C && (X = X.slice(0, se)), X;
|
|
195
195
|
}
|
|
196
|
-
function q(
|
|
197
|
-
const I =
|
|
196
|
+
function q(U) {
|
|
197
|
+
const I = U.length < 0 ? 0 : D(U.length) | 0, C = n(I);
|
|
198
198
|
for (let X = 0; X < I; X += 1)
|
|
199
|
-
C[X] =
|
|
199
|
+
C[X] = U[X] & 255;
|
|
200
200
|
return C;
|
|
201
201
|
}
|
|
202
|
-
function E(
|
|
203
|
-
if (ce(
|
|
204
|
-
const I = new r(
|
|
202
|
+
function E(U) {
|
|
203
|
+
if (ce(U, r)) {
|
|
204
|
+
const I = new r(U);
|
|
205
205
|
return S(I.buffer, I.byteOffset, I.byteLength);
|
|
206
206
|
}
|
|
207
|
-
return q(
|
|
207
|
+
return q(U);
|
|
208
208
|
}
|
|
209
|
-
function S(
|
|
210
|
-
if (I < 0 ||
|
|
209
|
+
function S(U, I, C) {
|
|
210
|
+
if (I < 0 || U.byteLength < I)
|
|
211
211
|
throw new RangeError('"offset" is outside of buffer bounds');
|
|
212
|
-
if (
|
|
212
|
+
if (U.byteLength < I + (C || 0))
|
|
213
213
|
throw new RangeError('"length" is outside of buffer bounds');
|
|
214
214
|
let X;
|
|
215
|
-
return I === void 0 && C === void 0 ? X = new r(
|
|
215
|
+
return I === void 0 && C === void 0 ? X = new r(U) : C === void 0 ? X = new r(U, I) : X = new r(U, I, C), Object.setPrototypeOf(X, e.prototype), X;
|
|
216
216
|
}
|
|
217
|
-
function O(
|
|
218
|
-
if (e.isBuffer(
|
|
219
|
-
const I = D(
|
|
220
|
-
return C.length === 0 ||
|
|
217
|
+
function O(U) {
|
|
218
|
+
if (e.isBuffer(U)) {
|
|
219
|
+
const I = D(U.length) | 0, C = n(I);
|
|
220
|
+
return C.length === 0 || U.copy(C, 0, 0, I), C;
|
|
221
221
|
}
|
|
222
|
-
if (
|
|
223
|
-
return typeof
|
|
224
|
-
if (
|
|
225
|
-
return q(
|
|
222
|
+
if (U.length !== void 0)
|
|
223
|
+
return typeof U.length != "number" || ge(U.length) ? n(0) : q(U);
|
|
224
|
+
if (U.type === "Buffer" && Array.isArray(U.data))
|
|
225
|
+
return q(U.data);
|
|
226
226
|
}
|
|
227
|
-
function D(
|
|
228
|
-
if (
|
|
227
|
+
function D(U) {
|
|
228
|
+
if (U >= d)
|
|
229
229
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + d.toString(16) + " bytes");
|
|
230
|
-
return
|
|
230
|
+
return U | 0;
|
|
231
231
|
}
|
|
232
|
-
function $(
|
|
233
|
-
return +
|
|
232
|
+
function $(U) {
|
|
233
|
+
return +U != U && (U = 0), e.alloc(+U);
|
|
234
234
|
}
|
|
235
235
|
e.isBuffer = function(I) {
|
|
236
236
|
return I != null && I._isBuffer === !0 && I !== e.prototype;
|
|
@@ -291,16 +291,16 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
291
291
|
}
|
|
292
292
|
return se;
|
|
293
293
|
};
|
|
294
|
-
function U
|
|
295
|
-
if (e.isBuffer(
|
|
296
|
-
return
|
|
297
|
-
if (h.isView(
|
|
298
|
-
return
|
|
299
|
-
if (typeof
|
|
294
|
+
function j(U, I) {
|
|
295
|
+
if (e.isBuffer(U))
|
|
296
|
+
return U.length;
|
|
297
|
+
if (h.isView(U) || ce(U, h))
|
|
298
|
+
return U.byteLength;
|
|
299
|
+
if (typeof U != "string")
|
|
300
300
|
throw new TypeError(
|
|
301
|
-
'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof
|
|
301
|
+
'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof U
|
|
302
302
|
);
|
|
303
|
-
const C =
|
|
303
|
+
const C = U.length, X = arguments.length > 2 && arguments[2] === !0;
|
|
304
304
|
if (!X && C === 0) return 0;
|
|
305
305
|
let se = !1;
|
|
306
306
|
for (; ; )
|
|
@@ -311,7 +311,7 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
311
311
|
return C;
|
|
312
312
|
case "utf8":
|
|
313
313
|
case "utf-8":
|
|
314
|
-
return Fe(
|
|
314
|
+
return Fe(U).length;
|
|
315
315
|
case "ucs2":
|
|
316
316
|
case "ucs-2":
|
|
317
317
|
case "utf16le":
|
|
@@ -320,20 +320,20 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
320
320
|
case "hex":
|
|
321
321
|
return C >>> 1;
|
|
322
322
|
case "base64":
|
|
323
|
-
return Te(
|
|
323
|
+
return Te(U).length;
|
|
324
324
|
default:
|
|
325
325
|
if (se)
|
|
326
|
-
return X ? -1 : Fe(
|
|
326
|
+
return X ? -1 : Fe(U).length;
|
|
327
327
|
I = ("" + I).toLowerCase(), se = !0;
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
e.byteLength =
|
|
331
|
-
function J(
|
|
330
|
+
e.byteLength = j;
|
|
331
|
+
function J(U, I, C) {
|
|
332
332
|
let X = !1;
|
|
333
333
|
if ((I === void 0 || I < 0) && (I = 0), I > this.length || ((C === void 0 || C > this.length) && (C = this.length), C <= 0) || (C >>>= 0, I >>>= 0, C <= I))
|
|
334
334
|
return "";
|
|
335
|
-
for (
|
|
336
|
-
switch (
|
|
335
|
+
for (U || (U = "utf8"); ; )
|
|
336
|
+
switch (U) {
|
|
337
337
|
case "hex":
|
|
338
338
|
return x(this, I, C);
|
|
339
339
|
case "utf8":
|
|
@@ -352,14 +352,14 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
352
352
|
case "utf-16le":
|
|
353
353
|
return L(this, I, C);
|
|
354
354
|
default:
|
|
355
|
-
if (X) throw new TypeError("Unknown encoding: " +
|
|
356
|
-
|
|
355
|
+
if (X) throw new TypeError("Unknown encoding: " + U);
|
|
356
|
+
U = (U + "").toLowerCase(), X = !0;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
e.prototype._isBuffer = !0;
|
|
360
|
-
function ie(
|
|
361
|
-
const X =
|
|
362
|
-
|
|
360
|
+
function ie(U, I, C) {
|
|
361
|
+
const X = U[I];
|
|
362
|
+
U[I] = U[C], U[C] = X;
|
|
363
363
|
}
|
|
364
364
|
e.prototype.swap16 = function() {
|
|
365
365
|
const I = this.length;
|
|
@@ -407,55 +407,55 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
407
407
|
return 1;
|
|
408
408
|
if (C >>>= 0, X >>>= 0, se >>>= 0, le >>>= 0, this === I) return 0;
|
|
409
409
|
let ve = le - se, Ce = X - C;
|
|
410
|
-
const Le = Math.min(ve, Ce), Ie = this.slice(se, le),
|
|
410
|
+
const Le = Math.min(ve, Ce), Ie = this.slice(se, le), je = I.slice(C, X);
|
|
411
411
|
for (let $e = 0; $e < Le; ++$e)
|
|
412
|
-
if (Ie[$e] !==
|
|
413
|
-
ve = Ie[$e], Ce =
|
|
412
|
+
if (Ie[$e] !== je[$e]) {
|
|
413
|
+
ve = Ie[$e], Ce = je[$e];
|
|
414
414
|
break;
|
|
415
415
|
}
|
|
416
416
|
return ve < Ce ? -1 : Ce < ve ? 1 : 0;
|
|
417
417
|
};
|
|
418
|
-
function ne(
|
|
419
|
-
if (
|
|
420
|
-
if (typeof C == "string" ? (X = C, C = 0) : C > 2147483647 ? C = 2147483647 : C < -2147483648 && (C = -2147483648), C = +C, ge(C) && (C = se ? 0 :
|
|
418
|
+
function ne(U, I, C, X, se) {
|
|
419
|
+
if (U.length === 0) return -1;
|
|
420
|
+
if (typeof C == "string" ? (X = C, C = 0) : C > 2147483647 ? C = 2147483647 : C < -2147483648 && (C = -2147483648), C = +C, ge(C) && (C = se ? 0 : U.length - 1), C < 0 && (C = U.length + C), C >= U.length) {
|
|
421
421
|
if (se) return -1;
|
|
422
|
-
C =
|
|
422
|
+
C = U.length - 1;
|
|
423
423
|
} else if (C < 0)
|
|
424
424
|
if (se) C = 0;
|
|
425
425
|
else return -1;
|
|
426
426
|
if (typeof I == "string" && (I = e.from(I, X)), e.isBuffer(I))
|
|
427
|
-
return I.length === 0 ? -1 : de(
|
|
427
|
+
return I.length === 0 ? -1 : de(U, I, C, X, se);
|
|
428
428
|
if (typeof I == "number")
|
|
429
|
-
return I = I & 255, typeof r.prototype.indexOf == "function" ? se ? r.prototype.indexOf.call(
|
|
429
|
+
return I = I & 255, typeof r.prototype.indexOf == "function" ? se ? r.prototype.indexOf.call(U, I, C) : r.prototype.lastIndexOf.call(U, I, C) : de(U, [I], C, X, se);
|
|
430
430
|
throw new TypeError("val must be string, number or Buffer");
|
|
431
431
|
}
|
|
432
|
-
function de(
|
|
433
|
-
let le = 1, ve =
|
|
432
|
+
function de(U, I, C, X, se) {
|
|
433
|
+
let le = 1, ve = U.length, Ce = I.length;
|
|
434
434
|
if (X !== void 0 && (X = String(X).toLowerCase(), X === "ucs2" || X === "ucs-2" || X === "utf16le" || X === "utf-16le")) {
|
|
435
|
-
if (
|
|
435
|
+
if (U.length < 2 || I.length < 2)
|
|
436
436
|
return -1;
|
|
437
437
|
le = 2, ve /= 2, Ce /= 2, C /= 2;
|
|
438
438
|
}
|
|
439
|
-
function Le(
|
|
440
|
-
return le === 1 ?
|
|
439
|
+
function Le(je, $e) {
|
|
440
|
+
return le === 1 ? je[$e] : je.readUInt16BE($e * le);
|
|
441
441
|
}
|
|
442
442
|
let Ie;
|
|
443
443
|
if (se) {
|
|
444
|
-
let
|
|
444
|
+
let je = -1;
|
|
445
445
|
for (Ie = C; Ie < ve; Ie++)
|
|
446
|
-
if (Le(
|
|
447
|
-
if (
|
|
446
|
+
if (Le(U, Ie) === Le(I, je === -1 ? 0 : Ie - je)) {
|
|
447
|
+
if (je === -1 && (je = Ie), Ie - je + 1 === Ce) return je * le;
|
|
448
448
|
} else
|
|
449
|
-
|
|
449
|
+
je !== -1 && (Ie -= Ie - je), je = -1;
|
|
450
450
|
} else
|
|
451
451
|
for (C + Ce > ve && (C = ve - Ce), Ie = C; Ie >= 0; Ie--) {
|
|
452
|
-
let
|
|
452
|
+
let je = !0;
|
|
453
453
|
for (let $e = 0; $e < Ce; $e++)
|
|
454
|
-
if (Le(
|
|
455
|
-
|
|
454
|
+
if (Le(U, Ie + $e) !== Le(I, $e)) {
|
|
455
|
+
je = !1;
|
|
456
456
|
break;
|
|
457
457
|
}
|
|
458
|
-
if (
|
|
458
|
+
if (je) return Ie;
|
|
459
459
|
}
|
|
460
460
|
return -1;
|
|
461
461
|
}
|
|
@@ -466,9 +466,9 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
466
466
|
}, e.prototype.lastIndexOf = function(I, C, X) {
|
|
467
467
|
return ne(this, I, C, X, !1);
|
|
468
468
|
};
|
|
469
|
-
function Z(
|
|
469
|
+
function Z(U, I, C, X) {
|
|
470
470
|
C = Number(C) || 0;
|
|
471
|
-
const se =
|
|
471
|
+
const se = U.length - C;
|
|
472
472
|
X ? (X = Number(X), X > se && (X = se)) : X = se;
|
|
473
473
|
const le = I.length;
|
|
474
474
|
X > le / 2 && (X = le / 2);
|
|
@@ -476,21 +476,21 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
476
476
|
for (ve = 0; ve < X; ++ve) {
|
|
477
477
|
const Ce = parseInt(I.substr(ve * 2, 2), 16);
|
|
478
478
|
if (ge(Ce)) return ve;
|
|
479
|
-
|
|
479
|
+
U[C + ve] = Ce;
|
|
480
480
|
}
|
|
481
481
|
return ve;
|
|
482
482
|
}
|
|
483
|
-
function y(
|
|
484
|
-
return oe(Fe(I,
|
|
483
|
+
function y(U, I, C, X) {
|
|
484
|
+
return oe(Fe(I, U.length - C), U, C, X);
|
|
485
485
|
}
|
|
486
|
-
function g(
|
|
487
|
-
return oe(Be(I),
|
|
486
|
+
function g(U, I, C, X) {
|
|
487
|
+
return oe(Be(I), U, C, X);
|
|
488
488
|
}
|
|
489
|
-
function p(
|
|
490
|
-
return oe(Te(I),
|
|
489
|
+
function p(U, I, C, X) {
|
|
490
|
+
return oe(Te(I), U, C, X);
|
|
491
491
|
}
|
|
492
|
-
function _(
|
|
493
|
-
return oe(Me(I,
|
|
492
|
+
function _(U, I, C, X) {
|
|
493
|
+
return oe(Me(I, U.length - C), U, C, X);
|
|
494
494
|
}
|
|
495
495
|
e.prototype.write = function(I, C, X, se) {
|
|
496
496
|
if (C === void 0)
|
|
@@ -536,30 +536,30 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
536
536
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
537
537
|
};
|
|
538
538
|
};
|
|
539
|
-
function R(
|
|
540
|
-
return I === 0 && C ===
|
|
539
|
+
function R(U, I, C) {
|
|
540
|
+
return I === 0 && C === U.length ? t.fromByteArray(U) : t.fromByteArray(U.slice(I, C));
|
|
541
541
|
}
|
|
542
|
-
function B(
|
|
543
|
-
C = Math.min(
|
|
542
|
+
function B(U, I, C) {
|
|
543
|
+
C = Math.min(U.length, C);
|
|
544
544
|
const X = [];
|
|
545
545
|
let se = I;
|
|
546
546
|
for (; se < C; ) {
|
|
547
|
-
const le =
|
|
547
|
+
const le = U[se];
|
|
548
548
|
let ve = null, Ce = le > 239 ? 4 : le > 223 ? 3 : le > 191 ? 2 : 1;
|
|
549
549
|
if (se + Ce <= C) {
|
|
550
|
-
let Le, Ie,
|
|
550
|
+
let Le, Ie, je, $e;
|
|
551
551
|
switch (Ce) {
|
|
552
552
|
case 1:
|
|
553
553
|
le < 128 && (ve = le);
|
|
554
554
|
break;
|
|
555
555
|
case 2:
|
|
556
|
-
Le =
|
|
556
|
+
Le = U[se + 1], (Le & 192) === 128 && ($e = (le & 31) << 6 | Le & 63, $e > 127 && (ve = $e));
|
|
557
557
|
break;
|
|
558
558
|
case 3:
|
|
559
|
-
Le =
|
|
559
|
+
Le = U[se + 1], Ie = U[se + 2], (Le & 192) === 128 && (Ie & 192) === 128 && ($e = (le & 15) << 12 | (Le & 63) << 6 | Ie & 63, $e > 2047 && ($e < 55296 || $e > 57343) && (ve = $e));
|
|
560
560
|
break;
|
|
561
561
|
case 4:
|
|
562
|
-
Le =
|
|
562
|
+
Le = U[se + 1], Ie = U[se + 2], je = U[se + 3], (Le & 192) === 128 && (Ie & 192) === 128 && (je & 192) === 128 && ($e = (le & 15) << 18 | (Le & 63) << 12 | (Ie & 63) << 6 | je & 63, $e > 65535 && $e < 1114112 && (ve = $e));
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
ve === null ? (ve = 65533, Ce = 1) : ve > 65535 && (ve -= 65536, X.push(ve >>> 10 & 1023 | 55296), ve = 56320 | ve & 1023), X.push(ve), se += Ce;
|
|
@@ -567,42 +567,42 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
567
567
|
return A(X);
|
|
568
568
|
}
|
|
569
569
|
const P = 4096;
|
|
570
|
-
function A(
|
|
571
|
-
const I =
|
|
570
|
+
function A(U) {
|
|
571
|
+
const I = U.length;
|
|
572
572
|
if (I <= P)
|
|
573
|
-
return String.fromCharCode.apply(String,
|
|
573
|
+
return String.fromCharCode.apply(String, U);
|
|
574
574
|
let C = "", X = 0;
|
|
575
575
|
for (; X < I; )
|
|
576
576
|
C += String.fromCharCode.apply(
|
|
577
577
|
String,
|
|
578
|
-
|
|
578
|
+
U.slice(X, X += P)
|
|
579
579
|
);
|
|
580
580
|
return C;
|
|
581
581
|
}
|
|
582
|
-
function w(
|
|
582
|
+
function w(U, I, C) {
|
|
583
583
|
let X = "";
|
|
584
|
-
C = Math.min(
|
|
584
|
+
C = Math.min(U.length, C);
|
|
585
585
|
for (let se = I; se < C; ++se)
|
|
586
|
-
X += String.fromCharCode(
|
|
586
|
+
X += String.fromCharCode(U[se] & 127);
|
|
587
587
|
return X;
|
|
588
588
|
}
|
|
589
|
-
function M(
|
|
589
|
+
function M(U, I, C) {
|
|
590
590
|
let X = "";
|
|
591
|
-
C = Math.min(
|
|
591
|
+
C = Math.min(U.length, C);
|
|
592
592
|
for (let se = I; se < C; ++se)
|
|
593
|
-
X += String.fromCharCode(
|
|
593
|
+
X += String.fromCharCode(U[se]);
|
|
594
594
|
return X;
|
|
595
595
|
}
|
|
596
|
-
function x(
|
|
597
|
-
const X =
|
|
596
|
+
function x(U, I, C) {
|
|
597
|
+
const X = U.length;
|
|
598
598
|
(!I || I < 0) && (I = 0), (!C || C < 0 || C > X) && (C = X);
|
|
599
599
|
let se = "";
|
|
600
600
|
for (let le = I; le < C; ++le)
|
|
601
|
-
se += we[
|
|
601
|
+
se += we[U[le]];
|
|
602
602
|
return se;
|
|
603
603
|
}
|
|
604
|
-
function L(
|
|
605
|
-
const X =
|
|
604
|
+
function L(U, I, C) {
|
|
605
|
+
const X = U.slice(I, C);
|
|
606
606
|
let se = "";
|
|
607
607
|
for (let le = 0; le < X.length - 1; le += 2)
|
|
608
608
|
se += String.fromCharCode(X[le] + X[le + 1] * 256);
|
|
@@ -614,9 +614,9 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
614
614
|
const se = this.subarray(I, C);
|
|
615
615
|
return Object.setPrototypeOf(se, e.prototype), se;
|
|
616
616
|
};
|
|
617
|
-
function K(
|
|
618
|
-
if (
|
|
619
|
-
if (
|
|
617
|
+
function K(U, I, C) {
|
|
618
|
+
if (U % 1 !== 0 || U < 0) throw new RangeError("offset is not uint");
|
|
619
|
+
if (U + I > C) throw new RangeError("Trying to access beyond buffer length");
|
|
620
620
|
}
|
|
621
621
|
e.prototype.readUintLE = e.prototype.readUIntLE = function(I, C, X) {
|
|
622
622
|
I = I >>> 0, C = C >>> 0, X || K(I, C, this.length);
|
|
@@ -700,10 +700,10 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
700
700
|
}, e.prototype.readDoubleBE = function(I, C) {
|
|
701
701
|
return I = I >>> 0, C || K(I, 8, this.length), u.read(this, I, !1, 52, 8);
|
|
702
702
|
};
|
|
703
|
-
function Q(
|
|
704
|
-
if (!e.isBuffer(
|
|
703
|
+
function Q(U, I, C, X, se, le) {
|
|
704
|
+
if (!e.isBuffer(U)) throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
705
705
|
if (I > se || I < le) throw new RangeError('"value" argument is out of bounds');
|
|
706
|
-
if (C + X >
|
|
706
|
+
if (C + X > U.length) throw new RangeError("Index out of range");
|
|
707
707
|
}
|
|
708
708
|
e.prototype.writeUintLE = e.prototype.writeUIntLE = function(I, C, X, se) {
|
|
709
709
|
if (I = +I, C = C >>> 0, X = X >>> 0, !se) {
|
|
@@ -734,19 +734,19 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
734
734
|
}, e.prototype.writeUint32BE = e.prototype.writeUInt32BE = function(I, C, X) {
|
|
735
735
|
return I = +I, C = C >>> 0, X || Q(this, I, C, 4, 4294967295, 0), this[C] = I >>> 24, this[C + 1] = I >>> 16, this[C + 2] = I >>> 8, this[C + 3] = I & 255, C + 4;
|
|
736
736
|
};
|
|
737
|
-
function H(
|
|
738
|
-
xe(I, X, se,
|
|
737
|
+
function H(U, I, C, X, se) {
|
|
738
|
+
xe(I, X, se, U, C, 7);
|
|
739
739
|
let le = Number(I & BigInt(4294967295));
|
|
740
|
-
|
|
740
|
+
U[C++] = le, le = le >> 8, U[C++] = le, le = le >> 8, U[C++] = le, le = le >> 8, U[C++] = le;
|
|
741
741
|
let ve = Number(I >> BigInt(32) & BigInt(4294967295));
|
|
742
|
-
return
|
|
742
|
+
return U[C++] = ve, ve = ve >> 8, U[C++] = ve, ve = ve >> 8, U[C++] = ve, ve = ve >> 8, U[C++] = ve, C;
|
|
743
743
|
}
|
|
744
|
-
function N(
|
|
745
|
-
xe(I, X, se,
|
|
744
|
+
function N(U, I, C, X, se) {
|
|
745
|
+
xe(I, X, se, U, C, 7);
|
|
746
746
|
let le = Number(I & BigInt(4294967295));
|
|
747
|
-
|
|
747
|
+
U[C + 7] = le, le = le >> 8, U[C + 6] = le, le = le >> 8, U[C + 5] = le, le = le >> 8, U[C + 4] = le;
|
|
748
748
|
let ve = Number(I >> BigInt(32) & BigInt(4294967295));
|
|
749
|
-
return
|
|
749
|
+
return U[C + 3] = ve, ve = ve >> 8, U[C + 2] = ve, ve = ve >> 8, U[C + 1] = ve, ve = ve >> 8, U[C] = ve, C + 8;
|
|
750
750
|
}
|
|
751
751
|
e.prototype.writeBigUInt64LE = Se(function(I, C = 0) {
|
|
752
752
|
return H(this, I, C, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
@@ -785,20 +785,20 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
785
785
|
}), e.prototype.writeBigInt64BE = Se(function(I, C = 0) {
|
|
786
786
|
return N(this, I, C, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
787
787
|
});
|
|
788
|
-
function F(
|
|
789
|
-
if (C + X >
|
|
788
|
+
function F(U, I, C, X, se, le) {
|
|
789
|
+
if (C + X > U.length) throw new RangeError("Index out of range");
|
|
790
790
|
if (C < 0) throw new RangeError("Index out of range");
|
|
791
791
|
}
|
|
792
|
-
function ee(
|
|
793
|
-
return I = +I, C = C >>> 0, se || F(
|
|
792
|
+
function ee(U, I, C, X, se) {
|
|
793
|
+
return I = +I, C = C >>> 0, se || F(U, I, C, 4), u.write(U, I, C, X, 23, 4), C + 4;
|
|
794
794
|
}
|
|
795
795
|
e.prototype.writeFloatLE = function(I, C, X) {
|
|
796
796
|
return ee(this, I, C, !0, X);
|
|
797
797
|
}, e.prototype.writeFloatBE = function(I, C, X) {
|
|
798
798
|
return ee(this, I, C, !1, X);
|
|
799
799
|
};
|
|
800
|
-
function ae(
|
|
801
|
-
return I = +I, C = C >>> 0, se || F(
|
|
800
|
+
function ae(U, I, C, X, se) {
|
|
801
|
+
return I = +I, C = C >>> 0, se || F(U, I, C, 8), u.write(U, I, C, X, 52, 8), C + 8;
|
|
802
802
|
}
|
|
803
803
|
e.prototype.writeDoubleLE = function(I, C, X) {
|
|
804
804
|
return ae(this, I, C, !0, X);
|
|
@@ -848,17 +848,17 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
848
848
|
return this;
|
|
849
849
|
};
|
|
850
850
|
const z = {};
|
|
851
|
-
function G(
|
|
852
|
-
z[
|
|
851
|
+
function G(U, I, C) {
|
|
852
|
+
z[U] = class extends C {
|
|
853
853
|
constructor() {
|
|
854
854
|
super(), Object.defineProperty(this, "message", {
|
|
855
855
|
value: I.apply(this, arguments),
|
|
856
856
|
writable: !0,
|
|
857
857
|
configurable: !0
|
|
858
|
-
}), this.name = `${this.name} [${
|
|
858
|
+
}), this.name = `${this.name} [${U}]`, this.stack, delete this.name;
|
|
859
859
|
}
|
|
860
860
|
get code() {
|
|
861
|
-
return
|
|
861
|
+
return U;
|
|
862
862
|
}
|
|
863
863
|
set code(se) {
|
|
864
864
|
Object.defineProperty(this, "code", {
|
|
@@ -869,74 +869,74 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
869
869
|
});
|
|
870
870
|
}
|
|
871
871
|
toString() {
|
|
872
|
-
return `${this.name} [${
|
|
872
|
+
return `${this.name} [${U}]: ${this.message}`;
|
|
873
873
|
}
|
|
874
874
|
};
|
|
875
875
|
}
|
|
876
876
|
G(
|
|
877
877
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
878
|
-
function(
|
|
879
|
-
return
|
|
878
|
+
function(U) {
|
|
879
|
+
return U ? `${U} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
880
880
|
},
|
|
881
881
|
RangeError
|
|
882
882
|
), G(
|
|
883
883
|
"ERR_INVALID_ARG_TYPE",
|
|
884
|
-
function(
|
|
885
|
-
return `The "${
|
|
884
|
+
function(U, I) {
|
|
885
|
+
return `The "${U}" argument must be of type number. Received type ${typeof I}`;
|
|
886
886
|
},
|
|
887
887
|
TypeError
|
|
888
888
|
), G(
|
|
889
889
|
"ERR_OUT_OF_RANGE",
|
|
890
|
-
function(
|
|
891
|
-
let X = `The value of "${
|
|
890
|
+
function(U, I, C) {
|
|
891
|
+
let X = `The value of "${U}" is out of range.`, se = C;
|
|
892
892
|
return Number.isInteger(C) && Math.abs(C) > 2 ** 32 ? se = fe(String(C)) : typeof C == "bigint" && (se = String(C), (C > BigInt(2) ** BigInt(32) || C < -(BigInt(2) ** BigInt(32))) && (se = fe(se)), se += "n"), X += ` It must be ${I}. Received ${se}`, X;
|
|
893
893
|
},
|
|
894
894
|
RangeError
|
|
895
895
|
);
|
|
896
|
-
function fe(
|
|
897
|
-
let I = "", C =
|
|
898
|
-
const X =
|
|
896
|
+
function fe(U) {
|
|
897
|
+
let I = "", C = U.length;
|
|
898
|
+
const X = U[0] === "-" ? 1 : 0;
|
|
899
899
|
for (; C >= X + 4; C -= 3)
|
|
900
|
-
I = `_${
|
|
901
|
-
return `${
|
|
900
|
+
I = `_${U.slice(C - 3, C)}${I}`;
|
|
901
|
+
return `${U.slice(0, C)}${I}`;
|
|
902
902
|
}
|
|
903
|
-
function me(
|
|
904
|
-
_e(I, "offset"), (
|
|
903
|
+
function me(U, I, C) {
|
|
904
|
+
_e(I, "offset"), (U[I] === void 0 || U[I + C] === void 0) && qe(I, U.length - (C + 1));
|
|
905
905
|
}
|
|
906
|
-
function xe(
|
|
907
|
-
if (
|
|
906
|
+
function xe(U, I, C, X, se, le) {
|
|
907
|
+
if (U > C || U < I) {
|
|
908
908
|
const ve = typeof I == "bigint" ? "n" : "";
|
|
909
909
|
let Ce;
|
|
910
|
-
throw I === 0 || I === BigInt(0) ? Ce = `>= 0${ve} and < 2${ve} ** ${(le + 1) * 8}${ve}` : Ce = `>= -(2${ve} ** ${(le + 1) * 8 - 1}${ve}) and < 2 ** ${(le + 1) * 8 - 1}${ve}`, new z.ERR_OUT_OF_RANGE("value", Ce,
|
|
910
|
+
throw I === 0 || I === BigInt(0) ? Ce = `>= 0${ve} and < 2${ve} ** ${(le + 1) * 8}${ve}` : Ce = `>= -(2${ve} ** ${(le + 1) * 8 - 1}${ve}) and < 2 ** ${(le + 1) * 8 - 1}${ve}`, new z.ERR_OUT_OF_RANGE("value", Ce, U);
|
|
911
911
|
}
|
|
912
912
|
me(X, se, le);
|
|
913
913
|
}
|
|
914
|
-
function _e(
|
|
915
|
-
if (typeof
|
|
916
|
-
throw new z.ERR_INVALID_ARG_TYPE(I, "number",
|
|
914
|
+
function _e(U, I) {
|
|
915
|
+
if (typeof U != "number")
|
|
916
|
+
throw new z.ERR_INVALID_ARG_TYPE(I, "number", U);
|
|
917
917
|
}
|
|
918
|
-
function qe(
|
|
919
|
-
throw Math.floor(
|
|
918
|
+
function qe(U, I, C) {
|
|
919
|
+
throw Math.floor(U) !== U ? (_e(U, C), new z.ERR_OUT_OF_RANGE("offset", "an integer", U)) : I < 0 ? new z.ERR_BUFFER_OUT_OF_BOUNDS() : new z.ERR_OUT_OF_RANGE(
|
|
920
920
|
"offset",
|
|
921
921
|
`>= 0 and <= ${I}`,
|
|
922
|
-
|
|
922
|
+
U
|
|
923
923
|
);
|
|
924
924
|
}
|
|
925
925
|
const Re = /[^+/0-9A-Za-z-_]/g;
|
|
926
|
-
function be(
|
|
927
|
-
if (
|
|
928
|
-
for (;
|
|
929
|
-
|
|
930
|
-
return
|
|
926
|
+
function be(U) {
|
|
927
|
+
if (U = U.split("=")[0], U = U.trim().replace(Re, ""), U.length < 2) return "";
|
|
928
|
+
for (; U.length % 4 !== 0; )
|
|
929
|
+
U = U + "=";
|
|
930
|
+
return U;
|
|
931
931
|
}
|
|
932
|
-
function Fe(
|
|
932
|
+
function Fe(U, I) {
|
|
933
933
|
I = I || 1 / 0;
|
|
934
934
|
let C;
|
|
935
|
-
const X =
|
|
935
|
+
const X = U.length;
|
|
936
936
|
let se = null;
|
|
937
937
|
const le = [];
|
|
938
938
|
for (let ve = 0; ve < X; ++ve) {
|
|
939
|
-
if (C =
|
|
939
|
+
if (C = U.charCodeAt(ve), C > 55295 && C < 57344) {
|
|
940
940
|
if (!se) {
|
|
941
941
|
if (C > 56319) {
|
|
942
942
|
(I -= 3) > -1 && le.push(239, 191, 189);
|
|
@@ -983,45 +983,45 @@ ieee754.write = function(c, t, u, o, d, r) {
|
|
|
983
983
|
}
|
|
984
984
|
return le;
|
|
985
985
|
}
|
|
986
|
-
function Be(
|
|
986
|
+
function Be(U) {
|
|
987
987
|
const I = [];
|
|
988
|
-
for (let C = 0; C <
|
|
989
|
-
I.push(
|
|
988
|
+
for (let C = 0; C < U.length; ++C)
|
|
989
|
+
I.push(U.charCodeAt(C) & 255);
|
|
990
990
|
return I;
|
|
991
991
|
}
|
|
992
|
-
function Me(
|
|
992
|
+
function Me(U, I) {
|
|
993
993
|
let C, X, se;
|
|
994
994
|
const le = [];
|
|
995
|
-
for (let ve = 0; ve <
|
|
996
|
-
C =
|
|
995
|
+
for (let ve = 0; ve < U.length && !((I -= 2) < 0); ++ve)
|
|
996
|
+
C = U.charCodeAt(ve), X = C >> 8, se = C % 256, le.push(se), le.push(X);
|
|
997
997
|
return le;
|
|
998
998
|
}
|
|
999
|
-
function Te(
|
|
1000
|
-
return t.toByteArray(be(
|
|
999
|
+
function Te(U) {
|
|
1000
|
+
return t.toByteArray(be(U));
|
|
1001
1001
|
}
|
|
1002
|
-
function oe(
|
|
1002
|
+
function oe(U, I, C, X) {
|
|
1003
1003
|
let se;
|
|
1004
|
-
for (se = 0; se < X && !(se + C >= I.length || se >=
|
|
1005
|
-
I[se + C] =
|
|
1004
|
+
for (se = 0; se < X && !(se + C >= I.length || se >= U.length); ++se)
|
|
1005
|
+
I[se + C] = U[se];
|
|
1006
1006
|
return se;
|
|
1007
1007
|
}
|
|
1008
|
-
function ce(
|
|
1009
|
-
return
|
|
1008
|
+
function ce(U, I) {
|
|
1009
|
+
return U instanceof I || U != null && U.constructor != null && U.constructor.name != null && U.constructor.name === I.name;
|
|
1010
1010
|
}
|
|
1011
|
-
function ge(
|
|
1012
|
-
return
|
|
1011
|
+
function ge(U) {
|
|
1012
|
+
return U !== U;
|
|
1013
1013
|
}
|
|
1014
1014
|
const we = (function() {
|
|
1015
|
-
const
|
|
1015
|
+
const U = "0123456789abcdef", I = new Array(256);
|
|
1016
1016
|
for (let C = 0; C < 16; ++C) {
|
|
1017
1017
|
const X = C * 16;
|
|
1018
1018
|
for (let se = 0; se < 16; ++se)
|
|
1019
|
-
I[X + se] =
|
|
1019
|
+
I[X + se] = U[C] + U[se];
|
|
1020
1020
|
}
|
|
1021
1021
|
return I;
|
|
1022
1022
|
})();
|
|
1023
|
-
function Se(
|
|
1024
|
-
return typeof BigInt > "u" ? Oe :
|
|
1023
|
+
function Se(U) {
|
|
1024
|
+
return typeof BigInt > "u" ? Oe : U;
|
|
1025
1025
|
}
|
|
1026
1026
|
function Oe() {
|
|
1027
1027
|
throw new Error("BigInt not supported");
|
|
@@ -1174,31 +1174,31 @@ function requireDist() {
|
|
|
1174
1174
|
return (O + D) * 3 / 4 - D;
|
|
1175
1175
|
}
|
|
1176
1176
|
function l(S) {
|
|
1177
|
-
var O, D = n(S), $ = D[0],
|
|
1177
|
+
var O, D = n(S), $ = D[0], j = D[1], J = new r(s(S, $, j)), ie = 0, ne = j > 0 ? $ - 4 : $, de;
|
|
1178
1178
|
for (de = 0; de < ne; de += 4)
|
|
1179
1179
|
O = d[S.charCodeAt(de)] << 18 | d[S.charCodeAt(de + 1)] << 12 | d[S.charCodeAt(de + 2)] << 6 | d[S.charCodeAt(de + 3)], J[ie++] = O >> 16 & 255, J[ie++] = O >> 8 & 255, J[ie++] = O & 255;
|
|
1180
|
-
return
|
|
1180
|
+
return j === 2 && (O = d[S.charCodeAt(de)] << 2 | d[S.charCodeAt(de + 1)] >> 4, J[ie++] = O & 255), j === 1 && (O = d[S.charCodeAt(de)] << 10 | d[S.charCodeAt(de + 1)] << 4 | d[S.charCodeAt(de + 2)] >> 2, J[ie++] = O >> 8 & 255, J[ie++] = O & 255), J;
|
|
1181
1181
|
}
|
|
1182
1182
|
function v(S) {
|
|
1183
1183
|
return o[S >> 18 & 63] + o[S >> 12 & 63] + o[S >> 6 & 63] + o[S & 63];
|
|
1184
1184
|
}
|
|
1185
1185
|
function b(S, O, D) {
|
|
1186
|
-
for (var $,
|
|
1187
|
-
$ = (S[J] << 16 & 16711680) + (S[J + 1] << 8 & 65280) + (S[J + 2] & 255),
|
|
1188
|
-
return
|
|
1186
|
+
for (var $, j = [], J = O; J < D; J += 3)
|
|
1187
|
+
$ = (S[J] << 16 & 16711680) + (S[J + 1] << 8 & 65280) + (S[J + 2] & 255), j.push(v($));
|
|
1188
|
+
return j.join("");
|
|
1189
1189
|
}
|
|
1190
1190
|
function m(S) {
|
|
1191
|
-
for (var O, D = S.length, $ = D % 3,
|
|
1192
|
-
|
|
1193
|
-
return $ === 1 ? (O = S[D - 1],
|
|
1191
|
+
for (var O, D = S.length, $ = D % 3, j = [], J = 16383, ie = 0, ne = D - $; ie < ne; ie += J)
|
|
1192
|
+
j.push(b(S, ie, ie + J > ne ? ne : ie + J));
|
|
1193
|
+
return $ === 1 ? (O = S[D - 1], j.push(
|
|
1194
1194
|
o[O >> 2] + o[O << 4 & 63] + "=="
|
|
1195
|
-
)) : $ === 2 && (O = (S[D - 2] << 8) + S[D - 1],
|
|
1195
|
+
)) : $ === 2 && (O = (S[D - 2] << 8) + S[D - 1], j.push(
|
|
1196
1196
|
o[O >> 10] + o[O >> 4 & 63] + o[O << 2 & 63] + "="
|
|
1197
|
-
)),
|
|
1197
|
+
)), j.join("");
|
|
1198
1198
|
}
|
|
1199
1199
|
var q = {};
|
|
1200
|
-
q.read = function(S, O, D, $,
|
|
1201
|
-
var J, ie, ne =
|
|
1200
|
+
q.read = function(S, O, D, $, j) {
|
|
1201
|
+
var J, ie, ne = j * 8 - $ - 1, de = (1 << ne) - 1, Z = de >> 1, y = -7, g = D ? j - 1 : 0, p = D ? -1 : 1, _ = S[O + g];
|
|
1202
1202
|
for (g += p, J = _ & (1 << -y) - 1, _ >>= -y, y += ne; y > 0; J = J * 256 + S[O + g], g += p, y -= 8)
|
|
1203
1203
|
;
|
|
1204
1204
|
for (ie = J & (1 << -y) - 1, J >>= -y, y += $; y > 0; ie = ie * 256 + S[O + g], g += p, y -= 8)
|
|
@@ -1211,19 +1211,19 @@ function requireDist() {
|
|
|
1211
1211
|
ie = ie + Math.pow(2, $), J = J - Z;
|
|
1212
1212
|
}
|
|
1213
1213
|
return (_ ? -1 : 1) * ie * Math.pow(2, J - $);
|
|
1214
|
-
}, q.write = function(S, O, D, $,
|
|
1215
|
-
var ie, ne, de, Z = J * 8 -
|
|
1216
|
-
for (O = Math.abs(O), isNaN(O) || O === 1 / 0 ? (ne = isNaN(O) ? 1 : 0, ie = y) : (ie = Math.floor(Math.log(O) / Math.LN2), O * (de = Math.pow(2, -ie)) < 1 && (ie--, de *= 2), ie + g >= 1 ? O += p / de : O += p * Math.pow(2, 1 - g), O * de >= 2 && (ie++, de /= 2), ie + g >= y ? (ne = 0, ie = y) : ie + g >= 1 ? (ne = (O * de - 1) * Math.pow(2,
|
|
1214
|
+
}, q.write = function(S, O, D, $, j, J) {
|
|
1215
|
+
var ie, ne, de, Z = J * 8 - j - 1, y = (1 << Z) - 1, g = y >> 1, p = j === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, _ = $ ? 0 : J - 1, R = $ ? 1 : -1, B = O < 0 || O === 0 && 1 / O < 0 ? 1 : 0;
|
|
1216
|
+
for (O = Math.abs(O), isNaN(O) || O === 1 / 0 ? (ne = isNaN(O) ? 1 : 0, ie = y) : (ie = Math.floor(Math.log(O) / Math.LN2), O * (de = Math.pow(2, -ie)) < 1 && (ie--, de *= 2), ie + g >= 1 ? O += p / de : O += p * Math.pow(2, 1 - g), O * de >= 2 && (ie++, de /= 2), ie + g >= y ? (ne = 0, ie = y) : ie + g >= 1 ? (ne = (O * de - 1) * Math.pow(2, j), ie = ie + g) : (ne = O * Math.pow(2, g - 1) * Math.pow(2, j), ie = 0)); j >= 8; S[D + _] = ne & 255, _ += R, ne /= 256, j -= 8)
|
|
1217
1217
|
;
|
|
1218
|
-
for (ie = ie <<
|
|
1218
|
+
for (ie = ie << j | ne, Z += j; Z > 0; S[D + _] = ie & 255, _ += R, ie /= 256, Z -= 8)
|
|
1219
1219
|
;
|
|
1220
1220
|
S[D + _ - R] |= B * 128;
|
|
1221
1221
|
};
|
|
1222
1222
|
(function(S) {
|
|
1223
1223
|
const O = u, D = q, $ = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
|
|
1224
1224
|
S.Buffer = y, S.SlowBuffer = L, S.INSPECT_MAX_BYTES = 50;
|
|
1225
|
-
const
|
|
1226
|
-
S.kMaxLength =
|
|
1225
|
+
const j = 2147483647;
|
|
1226
|
+
S.kMaxLength = j;
|
|
1227
1227
|
const { Uint8Array: J, ArrayBuffer: ie, SharedArrayBuffer: ne } = globalThis;
|
|
1228
1228
|
y.TYPED_ARRAY_SUPPORT = de(), !y.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
1229
1229
|
"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
|
|
@@ -1252,7 +1252,7 @@ function requireDist() {
|
|
|
1252
1252
|
}
|
|
1253
1253
|
});
|
|
1254
1254
|
function Z(W) {
|
|
1255
|
-
if (W >
|
|
1255
|
+
if (W > j)
|
|
1256
1256
|
throw new RangeError('The value "' + W + '" is invalid for option "size"');
|
|
1257
1257
|
const T = new J(W);
|
|
1258
1258
|
return Object.setPrototypeOf(T, y.prototype), T;
|
|
@@ -1357,8 +1357,8 @@ function requireDist() {
|
|
|
1357
1357
|
return P(W.data);
|
|
1358
1358
|
}
|
|
1359
1359
|
function x(W) {
|
|
1360
|
-
if (W >=
|
|
1361
|
-
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" +
|
|
1360
|
+
if (W >= j)
|
|
1361
|
+
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + j.toString(16) + " bytes");
|
|
1362
1362
|
return W | 0;
|
|
1363
1363
|
}
|
|
1364
1364
|
function L(W) {
|
|
@@ -1540,9 +1540,9 @@ function requireDist() {
|
|
|
1540
1540
|
if (k >>>= 0, re >>>= 0, ue >>>= 0, pe >>>= 0, this === T) return 0;
|
|
1541
1541
|
let ye = pe - ue, ke = re - k;
|
|
1542
1542
|
const Ve = Math.min(ye, ke), Ne = this.slice(ue, pe), Ge = T.slice(k, re);
|
|
1543
|
-
for (let
|
|
1544
|
-
if (Ne[
|
|
1545
|
-
ye = Ne[
|
|
1543
|
+
for (let Ue = 0; Ue < Ve; ++Ue)
|
|
1544
|
+
if (Ne[Ue] !== Ge[Ue]) {
|
|
1545
|
+
ye = Ne[Ue], ke = Ge[Ue];
|
|
1546
1546
|
break;
|
|
1547
1547
|
}
|
|
1548
1548
|
return ye < ke ? -1 : ke < ye ? 1 : 0;
|
|
@@ -1568,8 +1568,8 @@ function requireDist() {
|
|
|
1568
1568
|
return -1;
|
|
1569
1569
|
pe = 2, ye /= 2, ke /= 2, k /= 2;
|
|
1570
1570
|
}
|
|
1571
|
-
function Ve(Ge,
|
|
1572
|
-
return pe === 1 ? Ge[
|
|
1571
|
+
function Ve(Ge, Ue) {
|
|
1572
|
+
return pe === 1 ? Ge[Ue] : Ge.readUInt16BE(Ue * pe);
|
|
1573
1573
|
}
|
|
1574
1574
|
let Ne;
|
|
1575
1575
|
if (ue) {
|
|
@@ -1582,8 +1582,8 @@ function requireDist() {
|
|
|
1582
1582
|
} else
|
|
1583
1583
|
for (k + ke > ye && (k = ye - ke), Ne = k; Ne >= 0; Ne--) {
|
|
1584
1584
|
let Ge = !0;
|
|
1585
|
-
for (let
|
|
1586
|
-
if (Ve(W, Ne +
|
|
1585
|
+
for (let Ue = 0; Ue < ke; Ue++)
|
|
1586
|
+
if (Ve(W, Ne + Ue) !== Ve(T, Ue)) {
|
|
1587
1587
|
Ge = !1;
|
|
1588
1588
|
break;
|
|
1589
1589
|
}
|
|
@@ -1622,7 +1622,7 @@ function requireDist() {
|
|
|
1622
1622
|
return He($e(T), W, k, re);
|
|
1623
1623
|
}
|
|
1624
1624
|
function fe(W, T, k, re) {
|
|
1625
|
-
return He(
|
|
1625
|
+
return He(je(T, W.length - k), W, k, re);
|
|
1626
1626
|
}
|
|
1627
1627
|
y.prototype.write = function(T, k, re, ue) {
|
|
1628
1628
|
if (k === void 0)
|
|
@@ -1679,19 +1679,19 @@ function requireDist() {
|
|
|
1679
1679
|
const pe = W[ue];
|
|
1680
1680
|
let ye = null, ke = pe > 239 ? 4 : pe > 223 ? 3 : pe > 191 ? 2 : 1;
|
|
1681
1681
|
if (ue + ke <= k) {
|
|
1682
|
-
let Ve, Ne, Ge,
|
|
1682
|
+
let Ve, Ne, Ge, Ue;
|
|
1683
1683
|
switch (ke) {
|
|
1684
1684
|
case 1:
|
|
1685
1685
|
pe < 128 && (ye = pe);
|
|
1686
1686
|
break;
|
|
1687
1687
|
case 2:
|
|
1688
|
-
Ve = W[ue + 1], (Ve & 192) === 128 && (
|
|
1688
|
+
Ve = W[ue + 1], (Ve & 192) === 128 && (Ue = (pe & 31) << 6 | Ve & 63, Ue > 127 && (ye = Ue));
|
|
1689
1689
|
break;
|
|
1690
1690
|
case 3:
|
|
1691
|
-
Ve = W[ue + 1], Ne = W[ue + 2], (Ve & 192) === 128 && (Ne & 192) === 128 && (
|
|
1691
|
+
Ve = W[ue + 1], Ne = W[ue + 2], (Ve & 192) === 128 && (Ne & 192) === 128 && (Ue = (pe & 15) << 12 | (Ve & 63) << 6 | Ne & 63, Ue > 2047 && (Ue < 55296 || Ue > 57343) && (ye = Ue));
|
|
1692
1692
|
break;
|
|
1693
1693
|
case 4:
|
|
1694
|
-
Ve = W[ue + 1], Ne = W[ue + 2], Ge = W[ue + 3], (Ve & 192) === 128 && (Ne & 192) === 128 && (Ge & 192) === 128 && (
|
|
1694
|
+
Ve = W[ue + 1], Ne = W[ue + 2], Ge = W[ue + 3], (Ve & 192) === 128 && (Ne & 192) === 128 && (Ge & 192) === 128 && (Ue = (pe & 15) << 18 | (Ve & 63) << 12 | (Ne & 63) << 6 | Ge & 63, Ue > 65535 && Ue < 1114112 && (ye = Ue));
|
|
1695
1695
|
}
|
|
1696
1696
|
}
|
|
1697
1697
|
ye === null ? (ye = 65533, ke = 1) : ye > 65535 && (ye -= 65536, re.push(ye >>> 10 & 1023 | 55296), ye = 56320 | ye & 1023), re.push(ye), ue += ke;
|
|
@@ -1980,7 +1980,7 @@ function requireDist() {
|
|
|
1980
1980
|
return this;
|
|
1981
1981
|
};
|
|
1982
1982
|
const Oe = {};
|
|
1983
|
-
function
|
|
1983
|
+
function U(W, T, k) {
|
|
1984
1984
|
Oe[W] = class extends k {
|
|
1985
1985
|
constructor() {
|
|
1986
1986
|
super(), Object.defineProperty(this, "message", {
|
|
@@ -2005,19 +2005,19 @@ function requireDist() {
|
|
|
2005
2005
|
}
|
|
2006
2006
|
};
|
|
2007
2007
|
}
|
|
2008
|
-
|
|
2008
|
+
U(
|
|
2009
2009
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
2010
2010
|
function(W) {
|
|
2011
2011
|
return W ? `${W} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
2012
2012
|
},
|
|
2013
2013
|
RangeError
|
|
2014
|
-
),
|
|
2014
|
+
), U(
|
|
2015
2015
|
"ERR_INVALID_ARG_TYPE",
|
|
2016
2016
|
function(W, T) {
|
|
2017
2017
|
return `The "${W}" argument must be of type number. Received type ${typeof T}`;
|
|
2018
2018
|
},
|
|
2019
2019
|
TypeError
|
|
2020
|
-
),
|
|
2020
|
+
), U(
|
|
2021
2021
|
"ERR_OUT_OF_RANGE",
|
|
2022
2022
|
function(W, T, k) {
|
|
2023
2023
|
let re = `The value of "${W}" is out of range.`, ue = k;
|
|
@@ -2121,7 +2121,7 @@ function requireDist() {
|
|
|
2121
2121
|
T.push(W.charCodeAt(k) & 255);
|
|
2122
2122
|
return T;
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2124
|
+
function je(W, T) {
|
|
2125
2125
|
let k, re, ue;
|
|
2126
2126
|
const pe = [];
|
|
2127
2127
|
for (let ye = 0; ye < W.length && !((T -= 2) < 0); ++ye)
|
|
@@ -2245,8 +2245,8 @@ var events = { exports: {} }, hasRequiredEvents;
|
|
|
2245
2245
|
function requireEvents() {
|
|
2246
2246
|
if (hasRequiredEvents) return events.exports;
|
|
2247
2247
|
hasRequiredEvents = 1;
|
|
2248
|
-
var c = typeof Reflect == "object" ? Reflect : null, t = c && typeof c.apply == "function" ? c.apply : function($,
|
|
2249
|
-
return Function.prototype.apply.call($,
|
|
2248
|
+
var c = typeof Reflect == "object" ? Reflect : null, t = c && typeof c.apply == "function" ? c.apply : function($, j, J) {
|
|
2249
|
+
return Function.prototype.apply.call($, j, J);
|
|
2250
2250
|
}, u;
|
|
2251
2251
|
c && typeof c.ownKeys == "function" ? u = c.ownKeys : Object.getOwnPropertySymbols ? u = function($) {
|
|
2252
2252
|
return Object.getOwnPropertyNames($).concat(Object.getOwnPropertySymbols($));
|
|
@@ -2291,7 +2291,7 @@ function requireEvents() {
|
|
|
2291
2291
|
r.prototype.getMaxListeners = function() {
|
|
2292
2292
|
return a(this);
|
|
2293
2293
|
}, r.prototype.emit = function($) {
|
|
2294
|
-
for (var
|
|
2294
|
+
for (var j = [], J = 1; J < arguments.length; J++) j.push(arguments[J]);
|
|
2295
2295
|
var ie = $ === "error", ne = this._events;
|
|
2296
2296
|
if (ne !== void 0)
|
|
2297
2297
|
ie = ie && ne.error === void 0;
|
|
@@ -2299,7 +2299,7 @@ function requireEvents() {
|
|
|
2299
2299
|
return !1;
|
|
2300
2300
|
if (ie) {
|
|
2301
2301
|
var de;
|
|
2302
|
-
if (
|
|
2302
|
+
if (j.length > 0 && (de = j[0]), de instanceof Error)
|
|
2303
2303
|
throw de;
|
|
2304
2304
|
var Z = new Error("Unhandled error." + (de ? " (" + de.message + ")" : ""));
|
|
2305
2305
|
throw Z.context = de, Z;
|
|
@@ -2308,65 +2308,65 @@ function requireEvents() {
|
|
|
2308
2308
|
if (y === void 0)
|
|
2309
2309
|
return !1;
|
|
2310
2310
|
if (typeof y == "function")
|
|
2311
|
-
t(y, this,
|
|
2311
|
+
t(y, this, j);
|
|
2312
2312
|
else
|
|
2313
2313
|
for (var g = y.length, p = b(y, g), J = 0; J < g; ++J)
|
|
2314
|
-
t(p[J], this,
|
|
2314
|
+
t(p[J], this, j);
|
|
2315
2315
|
return !0;
|
|
2316
2316
|
};
|
|
2317
|
-
function n(D, $,
|
|
2317
|
+
function n(D, $, j, J) {
|
|
2318
2318
|
var ie, ne, de;
|
|
2319
|
-
if (f(
|
|
2319
|
+
if (f(j), ne = D._events, ne === void 0 ? (ne = D._events = /* @__PURE__ */ Object.create(null), D._eventsCount = 0) : (ne.newListener !== void 0 && (D.emit(
|
|
2320
2320
|
"newListener",
|
|
2321
2321
|
$,
|
|
2322
|
-
|
|
2322
|
+
j.listener ? j.listener : j
|
|
2323
2323
|
), ne = D._events), de = ne[$]), de === void 0)
|
|
2324
|
-
de = ne[$] =
|
|
2325
|
-
else if (typeof de == "function" ? de = ne[$] = J ? [
|
|
2324
|
+
de = ne[$] = j, ++D._eventsCount;
|
|
2325
|
+
else if (typeof de == "function" ? de = ne[$] = J ? [j, de] : [de, j] : J ? de.unshift(j) : de.push(j), ie = a(D), ie > 0 && de.length > ie && !de.warned) {
|
|
2326
2326
|
de.warned = !0;
|
|
2327
2327
|
var Z = new Error("Possible EventEmitter memory leak detected. " + de.length + " " + String($) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
2328
2328
|
Z.name = "MaxListenersExceededWarning", Z.emitter = D, Z.type = $, Z.count = de.length, o(Z);
|
|
2329
2329
|
}
|
|
2330
2330
|
return D;
|
|
2331
2331
|
}
|
|
2332
|
-
r.prototype.addListener = function($,
|
|
2333
|
-
return n(this, $,
|
|
2334
|
-
}, r.prototype.on = r.prototype.addListener, r.prototype.prependListener = function($,
|
|
2335
|
-
return n(this, $,
|
|
2332
|
+
r.prototype.addListener = function($, j) {
|
|
2333
|
+
return n(this, $, j, !1);
|
|
2334
|
+
}, r.prototype.on = r.prototype.addListener, r.prototype.prependListener = function($, j) {
|
|
2335
|
+
return n(this, $, j, !0);
|
|
2336
2336
|
};
|
|
2337
2337
|
function e() {
|
|
2338
2338
|
if (!this.fired)
|
|
2339
2339
|
return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
2340
2340
|
}
|
|
2341
|
-
function s(D, $,
|
|
2342
|
-
var J = { fired: !1, wrapFn: void 0, target: D, type: $, listener:
|
|
2343
|
-
return ie.listener =
|
|
2341
|
+
function s(D, $, j) {
|
|
2342
|
+
var J = { fired: !1, wrapFn: void 0, target: D, type: $, listener: j }, ie = e.bind(J);
|
|
2343
|
+
return ie.listener = j, J.wrapFn = ie, ie;
|
|
2344
2344
|
}
|
|
2345
|
-
r.prototype.once = function($,
|
|
2346
|
-
return f(
|
|
2347
|
-
}, r.prototype.prependOnceListener = function($,
|
|
2348
|
-
return f(
|
|
2349
|
-
}, r.prototype.removeListener = function($,
|
|
2345
|
+
r.prototype.once = function($, j) {
|
|
2346
|
+
return f(j), this.on($, s(this, $, j)), this;
|
|
2347
|
+
}, r.prototype.prependOnceListener = function($, j) {
|
|
2348
|
+
return f(j), this.prependListener($, s(this, $, j)), this;
|
|
2349
|
+
}, r.prototype.removeListener = function($, j) {
|
|
2350
2350
|
var J, ie, ne, de, Z;
|
|
2351
|
-
if (f(
|
|
2351
|
+
if (f(j), ie = this._events, ie === void 0)
|
|
2352
2352
|
return this;
|
|
2353
2353
|
if (J = ie[$], J === void 0)
|
|
2354
2354
|
return this;
|
|
2355
|
-
if (J ===
|
|
2356
|
-
--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete ie[$], ie.removeListener && this.emit("removeListener", $, J.listener ||
|
|
2355
|
+
if (J === j || J.listener === j)
|
|
2356
|
+
--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete ie[$], ie.removeListener && this.emit("removeListener", $, J.listener || j));
|
|
2357
2357
|
else if (typeof J != "function") {
|
|
2358
2358
|
for (ne = -1, de = J.length - 1; de >= 0; de--)
|
|
2359
|
-
if (J[de] ===
|
|
2359
|
+
if (J[de] === j || J[de].listener === j) {
|
|
2360
2360
|
Z = J[de].listener, ne = de;
|
|
2361
2361
|
break;
|
|
2362
2362
|
}
|
|
2363
2363
|
if (ne < 0)
|
|
2364
2364
|
return this;
|
|
2365
|
-
ne === 0 ? J.shift() : m(J, ne), J.length === 1 && (ie[$] = J[0]), ie.removeListener !== void 0 && this.emit("removeListener", $, Z ||
|
|
2365
|
+
ne === 0 ? J.shift() : m(J, ne), J.length === 1 && (ie[$] = J[0]), ie.removeListener !== void 0 && this.emit("removeListener", $, Z || j);
|
|
2366
2366
|
}
|
|
2367
2367
|
return this;
|
|
2368
2368
|
}, r.prototype.off = r.prototype.removeListener, r.prototype.removeAllListeners = function($) {
|
|
2369
|
-
var
|
|
2369
|
+
var j, J, ie;
|
|
2370
2370
|
if (J = this._events, J === void 0)
|
|
2371
2371
|
return this;
|
|
2372
2372
|
if (J.removeListener === void 0)
|
|
@@ -2377,19 +2377,19 @@ function requireEvents() {
|
|
|
2377
2377
|
de = ne[ie], de !== "removeListener" && this.removeAllListeners(de);
|
|
2378
2378
|
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
|
2379
2379
|
}
|
|
2380
|
-
if (
|
|
2381
|
-
this.removeListener($,
|
|
2382
|
-
else if (
|
|
2383
|
-
for (ie =
|
|
2384
|
-
this.removeListener($,
|
|
2380
|
+
if (j = J[$], typeof j == "function")
|
|
2381
|
+
this.removeListener($, j);
|
|
2382
|
+
else if (j !== void 0)
|
|
2383
|
+
for (ie = j.length - 1; ie >= 0; ie--)
|
|
2384
|
+
this.removeListener($, j[ie]);
|
|
2385
2385
|
return this;
|
|
2386
2386
|
};
|
|
2387
|
-
function l(D, $,
|
|
2387
|
+
function l(D, $, j) {
|
|
2388
2388
|
var J = D._events;
|
|
2389
2389
|
if (J === void 0)
|
|
2390
2390
|
return [];
|
|
2391
2391
|
var ie = J[$];
|
|
2392
|
-
return ie === void 0 ? [] : typeof ie == "function" ?
|
|
2392
|
+
return ie === void 0 ? [] : typeof ie == "function" ? j ? [ie.listener || ie] : [ie] : j ? q(ie) : b(ie, ie.length);
|
|
2393
2393
|
}
|
|
2394
2394
|
r.prototype.listeners = function($) {
|
|
2395
2395
|
return l(this, $, !0);
|
|
@@ -2401,11 +2401,11 @@ function requireEvents() {
|
|
|
2401
2401
|
function v(D) {
|
|
2402
2402
|
var $ = this._events;
|
|
2403
2403
|
if ($ !== void 0) {
|
|
2404
|
-
var
|
|
2405
|
-
if (typeof
|
|
2404
|
+
var j = $[D];
|
|
2405
|
+
if (typeof j == "function")
|
|
2406
2406
|
return 1;
|
|
2407
|
-
if (
|
|
2408
|
-
return
|
|
2407
|
+
if (j !== void 0)
|
|
2408
|
+
return j.length;
|
|
2409
2409
|
}
|
|
2410
2410
|
return 0;
|
|
2411
2411
|
}
|
|
@@ -2413,9 +2413,9 @@ function requireEvents() {
|
|
|
2413
2413
|
return this._eventsCount > 0 ? u(this._events) : [];
|
|
2414
2414
|
};
|
|
2415
2415
|
function b(D, $) {
|
|
2416
|
-
for (var
|
|
2417
|
-
|
|
2418
|
-
return
|
|
2416
|
+
for (var j = new Array($), J = 0; J < $; ++J)
|
|
2417
|
+
j[J] = D[J];
|
|
2418
|
+
return j;
|
|
2419
2419
|
}
|
|
2420
2420
|
function m(D, $) {
|
|
2421
2421
|
for (; $ + 1 < D.length; $++)
|
|
@@ -2423,30 +2423,30 @@ function requireEvents() {
|
|
|
2423
2423
|
D.pop();
|
|
2424
2424
|
}
|
|
2425
2425
|
function q(D) {
|
|
2426
|
-
for (var $ = new Array(D.length),
|
|
2427
|
-
$[
|
|
2426
|
+
for (var $ = new Array(D.length), j = 0; j < $.length; ++j)
|
|
2427
|
+
$[j] = D[j].listener || D[j];
|
|
2428
2428
|
return $;
|
|
2429
2429
|
}
|
|
2430
2430
|
function E(D, $) {
|
|
2431
|
-
return new Promise(function(
|
|
2431
|
+
return new Promise(function(j, J) {
|
|
2432
2432
|
function ie(de) {
|
|
2433
2433
|
D.removeListener($, ne), J(de);
|
|
2434
2434
|
}
|
|
2435
2435
|
function ne() {
|
|
2436
|
-
typeof D.removeListener == "function" && D.removeListener("error", ie),
|
|
2436
|
+
typeof D.removeListener == "function" && D.removeListener("error", ie), j([].slice.call(arguments));
|
|
2437
2437
|
}
|
|
2438
2438
|
O(D, $, ne, { once: !0 }), $ !== "error" && S(D, ie, { once: !0 });
|
|
2439
2439
|
});
|
|
2440
2440
|
}
|
|
2441
|
-
function S(D, $,
|
|
2442
|
-
typeof D.on == "function" && O(D, "error", $,
|
|
2441
|
+
function S(D, $, j) {
|
|
2442
|
+
typeof D.on == "function" && O(D, "error", $, j);
|
|
2443
2443
|
}
|
|
2444
|
-
function O(D, $,
|
|
2444
|
+
function O(D, $, j, J) {
|
|
2445
2445
|
if (typeof D.on == "function")
|
|
2446
|
-
J.once ? D.once($,
|
|
2446
|
+
J.once ? D.once($, j) : D.on($, j);
|
|
2447
2447
|
else if (typeof D.addEventListener == "function")
|
|
2448
2448
|
D.addEventListener($, function ie(ne) {
|
|
2449
|
-
J.once && D.removeEventListener($, ie),
|
|
2449
|
+
J.once && D.removeEventListener($, ie), j(ne);
|
|
2450
2450
|
});
|
|
2451
2451
|
else
|
|
2452
2452
|
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof D);
|
|
@@ -2766,12 +2766,12 @@ function requireGetIntrinsic() {
|
|
|
2766
2766
|
return D;
|
|
2767
2767
|
}
|
|
2768
2768
|
}
|
|
2769
|
-
})() : D,
|
|
2769
|
+
})() : D, j = requireHasSymbols()(), J = requireGetProto(), ie = requireObject_getPrototypeOf(), ne = requireReflect_getPrototypeOf(), de = requireFunctionApply(), Z = requireFunctionCall(), y = {}, g = typeof Uint8Array > "u" || !J ? c : J(Uint8Array), p = {
|
|
2770
2770
|
__proto__: null,
|
|
2771
2771
|
"%AggregateError%": typeof AggregateError > "u" ? c : AggregateError,
|
|
2772
2772
|
"%Array%": Array,
|
|
2773
2773
|
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? c : ArrayBuffer,
|
|
2774
|
-
"%ArrayIteratorPrototype%":
|
|
2774
|
+
"%ArrayIteratorPrototype%": j && J ? J([][Symbol.iterator]()) : c,
|
|
2775
2775
|
"%AsyncFromSyncIteratorPrototype%": c,
|
|
2776
2776
|
"%AsyncFunction%": y,
|
|
2777
2777
|
"%AsyncGenerator%": y,
|
|
@@ -2803,10 +2803,10 @@ function requireGetIntrinsic() {
|
|
|
2803
2803
|
"%Int32Array%": typeof Int32Array > "u" ? c : Int32Array,
|
|
2804
2804
|
"%isFinite%": isFinite,
|
|
2805
2805
|
"%isNaN%": isNaN,
|
|
2806
|
-
"%IteratorPrototype%":
|
|
2806
|
+
"%IteratorPrototype%": j && J ? J(J([][Symbol.iterator]())) : c,
|
|
2807
2807
|
"%JSON%": typeof JSON == "object" ? JSON : c,
|
|
2808
2808
|
"%Map%": typeof Map > "u" ? c : Map,
|
|
2809
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !
|
|
2809
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !j || !J ? c : J((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
2810
2810
|
"%Math%": Math,
|
|
2811
2811
|
"%Number%": Number,
|
|
2812
2812
|
"%Object%": t,
|
|
@@ -2820,11 +2820,11 @@ function requireGetIntrinsic() {
|
|
|
2820
2820
|
"%Reflect%": typeof Reflect > "u" ? c : Reflect,
|
|
2821
2821
|
"%RegExp%": RegExp,
|
|
2822
2822
|
"%Set%": typeof Set > "u" ? c : Set,
|
|
2823
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !
|
|
2823
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !j || !J ? c : J((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
2824
2824
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? c : SharedArrayBuffer,
|
|
2825
2825
|
"%String%": String,
|
|
2826
|
-
"%StringIteratorPrototype%":
|
|
2827
|
-
"%Symbol%":
|
|
2826
|
+
"%StringIteratorPrototype%": j && J ? J(""[Symbol.iterator]()) : c,
|
|
2827
|
+
"%Symbol%": j ? Symbol : c,
|
|
2828
2828
|
"%SyntaxError%": h,
|
|
2829
2829
|
"%ThrowTypeError%": $,
|
|
2830
2830
|
"%TypedArray%": g,
|
|
@@ -3465,10 +3465,10 @@ function requireTypes$1() {
|
|
|
3465
3465
|
return o(be) === "Int8Array";
|
|
3466
3466
|
}
|
|
3467
3467
|
c.isInt8Array = $;
|
|
3468
|
-
function
|
|
3468
|
+
function j(be) {
|
|
3469
3469
|
return o(be) === "Int16Array";
|
|
3470
3470
|
}
|
|
3471
|
-
c.isInt16Array =
|
|
3471
|
+
c.isInt16Array = j;
|
|
3472
3472
|
function J(be) {
|
|
3473
3473
|
return o(be) === "Int32Array";
|
|
3474
3474
|
}
|
|
@@ -3854,10 +3854,10 @@ function requireUtil$1() {
|
|
|
3854
3854
|
return typeof x == "string";
|
|
3855
3855
|
}
|
|
3856
3856
|
c.isString = $;
|
|
3857
|
-
function
|
|
3857
|
+
function j(x) {
|
|
3858
3858
|
return typeof x == "symbol";
|
|
3859
3859
|
}
|
|
3860
|
-
c.isSymbol =
|
|
3860
|
+
c.isSymbol = j;
|
|
3861
3861
|
function J(x) {
|
|
3862
3862
|
return x === void 0;
|
|
3863
3863
|
}
|
|
@@ -4323,7 +4323,7 @@ function require_stream_writable$1() {
|
|
|
4323
4323
|
};
|
|
4324
4324
|
}
|
|
4325
4325
|
var t;
|
|
4326
|
-
ie.WritableState =
|
|
4326
|
+
ie.WritableState = j;
|
|
4327
4327
|
var u = {
|
|
4328
4328
|
deprecate: requireBrowser$a()
|
|
4329
4329
|
}, o = requireStreamBrowser$1(), d = requireDist().Buffer, r = (typeof commonjsGlobal < "u" ? commonjsGlobal : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
@@ -4338,20 +4338,20 @@ function require_stream_writable$1() {
|
|
|
4338
4338
|
requireInherits_browser()(ie, o);
|
|
4339
4339
|
function $() {
|
|
4340
4340
|
}
|
|
4341
|
-
function
|
|
4341
|
+
function j(H, N, F) {
|
|
4342
4342
|
t = t || require_stream_duplex$1(), H = H || {}, typeof F != "boolean" && (F = N instanceof t), this.objectMode = !!H.objectMode, F && (this.objectMode = this.objectMode || !!H.writableObjectMode), this.highWaterMark = e(this, H, "writableHighWaterMark", F), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
|
|
4343
4343
|
var ee = H.decodeStrings === !1;
|
|
4344
4344
|
this.decodeStrings = !ee, this.defaultEncoding = H.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(ae) {
|
|
4345
4345
|
R(N, ae);
|
|
4346
4346
|
}, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = H.emitClose !== !1, this.autoDestroy = !!H.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new c(this);
|
|
4347
4347
|
}
|
|
4348
|
-
|
|
4348
|
+
j.prototype.getBuffer = function() {
|
|
4349
4349
|
for (var N = this.bufferedRequest, F = []; N; )
|
|
4350
4350
|
F.push(N), N = N.next;
|
|
4351
4351
|
return F;
|
|
4352
4352
|
}, (function() {
|
|
4353
4353
|
try {
|
|
4354
|
-
Object.defineProperty(
|
|
4354
|
+
Object.defineProperty(j.prototype, "buffer", {
|
|
4355
4355
|
get: u.deprecate(function() {
|
|
4356
4356
|
return this.getBuffer();
|
|
4357
4357
|
}, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003")
|
|
@@ -4362,7 +4362,7 @@ function require_stream_writable$1() {
|
|
|
4362
4362
|
var J;
|
|
4363
4363
|
typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (J = Function.prototype[Symbol.hasInstance], Object.defineProperty(ie, Symbol.hasInstance, {
|
|
4364
4364
|
value: function(N) {
|
|
4365
|
-
return J.call(this, N) ? !0 : this !== ie ? !1 : N && N._writableState instanceof
|
|
4365
|
+
return J.call(this, N) ? !0 : this !== ie ? !1 : N && N._writableState instanceof j;
|
|
4366
4366
|
}
|
|
4367
4367
|
})) : J = function(N) {
|
|
4368
4368
|
return N instanceof this;
|
|
@@ -4371,7 +4371,7 @@ function require_stream_writable$1() {
|
|
|
4371
4371
|
t = t || require_stream_duplex$1();
|
|
4372
4372
|
var N = this instanceof t;
|
|
4373
4373
|
if (!N && !J.call(ie, this)) return new ie(H);
|
|
4374
|
-
this._writableState = new
|
|
4374
|
+
this._writableState = new j(H, this, N), this.writable = !0, H && (typeof H.write == "function" && (this._write = H.write), typeof H.writev == "function" && (this._writev = H.writev), typeof H.destroy == "function" && (this._destroy = H.destroy), typeof H.final == "function" && (this._final = H.final)), o.call(this);
|
|
4375
4375
|
}
|
|
4376
4376
|
ie.prototype.pipe = function() {
|
|
4377
4377
|
D(this, new m());
|
|
@@ -4824,8 +4824,8 @@ function requireAsync_iterator() {
|
|
|
4824
4824
|
if (typeof O != "object" || O === null) return O;
|
|
4825
4825
|
var $ = O[Symbol.toPrimitive];
|
|
4826
4826
|
if ($ !== void 0) {
|
|
4827
|
-
var
|
|
4828
|
-
if (typeof
|
|
4827
|
+
var j = $.call(O, D);
|
|
4828
|
+
if (typeof j != "object") return j;
|
|
4829
4829
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4830
4830
|
}
|
|
4831
4831
|
return (D === "string" ? String : Number)(O);
|
|
@@ -4848,14 +4848,14 @@ function requireAsync_iterator() {
|
|
|
4848
4848
|
process$1.nextTick(v, O);
|
|
4849
4849
|
}
|
|
4850
4850
|
function m(O, D) {
|
|
4851
|
-
return function($,
|
|
4851
|
+
return function($, j) {
|
|
4852
4852
|
O.then(function() {
|
|
4853
4853
|
if (D[a]) {
|
|
4854
4854
|
$(l(void 0, !0));
|
|
4855
4855
|
return;
|
|
4856
4856
|
}
|
|
4857
|
-
D[e]($,
|
|
4858
|
-
},
|
|
4857
|
+
D[e]($, j);
|
|
4858
|
+
}, j);
|
|
4859
4859
|
};
|
|
4860
4860
|
}
|
|
4861
4861
|
var q = Object.getPrototypeOf(function() {
|
|
@@ -4875,9 +4875,9 @@ function requireAsync_iterator() {
|
|
|
4875
4875
|
D[f] ? de(D[f]) : ne(l(void 0, !0));
|
|
4876
4876
|
});
|
|
4877
4877
|
});
|
|
4878
|
-
var
|
|
4879
|
-
if (
|
|
4880
|
-
J = new Promise(m(
|
|
4878
|
+
var j = this[n], J;
|
|
4879
|
+
if (j)
|
|
4880
|
+
J = new Promise(m(j, this));
|
|
4881
4881
|
else {
|
|
4882
4882
|
var ie = this[s].read();
|
|
4883
4883
|
if (ie !== null)
|
|
@@ -4890,17 +4890,17 @@ function requireAsync_iterator() {
|
|
|
4890
4890
|
return this;
|
|
4891
4891
|
}), t(c, "return", function() {
|
|
4892
4892
|
var D = this;
|
|
4893
|
-
return new Promise(function($,
|
|
4893
|
+
return new Promise(function($, j) {
|
|
4894
4894
|
D[s].destroy(null, function(J) {
|
|
4895
4895
|
if (J) {
|
|
4896
|
-
|
|
4896
|
+
j(J);
|
|
4897
4897
|
return;
|
|
4898
4898
|
}
|
|
4899
4899
|
$(l(void 0, !0));
|
|
4900
4900
|
});
|
|
4901
4901
|
});
|
|
4902
4902
|
}), c), q), S = function(D) {
|
|
4903
|
-
var $,
|
|
4903
|
+
var $, j = Object.create(E, ($ = {}, t($, s, {
|
|
4904
4904
|
value: D,
|
|
4905
4905
|
writable: !0
|
|
4906
4906
|
}), t($, r, {
|
|
@@ -4917,20 +4917,20 @@ function requireAsync_iterator() {
|
|
|
4917
4917
|
writable: !0
|
|
4918
4918
|
}), t($, e, {
|
|
4919
4919
|
value: function(ie, ne) {
|
|
4920
|
-
var de =
|
|
4921
|
-
de ? (
|
|
4920
|
+
var de = j[s].read();
|
|
4921
|
+
de ? (j[n] = null, j[r] = null, j[h] = null, ie(l(de, !1))) : (j[r] = ie, j[h] = ne);
|
|
4922
4922
|
},
|
|
4923
4923
|
writable: !0
|
|
4924
4924
|
}), $));
|
|
4925
|
-
return
|
|
4925
|
+
return j[n] = null, d(D, function(J) {
|
|
4926
4926
|
if (J && J.code !== "ERR_STREAM_PREMATURE_CLOSE") {
|
|
4927
|
-
var ie =
|
|
4928
|
-
ie !== null && (
|
|
4927
|
+
var ie = j[h];
|
|
4928
|
+
ie !== null && (j[n] = null, j[r] = null, j[h] = null, ie(J)), j[f] = J;
|
|
4929
4929
|
return;
|
|
4930
4930
|
}
|
|
4931
|
-
var ne =
|
|
4932
|
-
ne !== null && (
|
|
4933
|
-
}), D.on("readable", b.bind(null,
|
|
4931
|
+
var ne = j[r];
|
|
4932
|
+
ne !== null && (j[n] = null, j[r] = null, j[h] = null, ne(l(void 0, !0))), j[a] = !0;
|
|
4933
|
+
}), D.on("readable", b.bind(null, j)), j;
|
|
4934
4934
|
};
|
|
4935
4935
|
return async_iterator = S, async_iterator;
|
|
4936
4936
|
}
|
|
@@ -4961,7 +4961,7 @@ function require_stream_readable$1() {
|
|
|
4961
4961
|
};
|
|
4962
4962
|
var n = requireBuffer_list(), e = requireDestroy$1(), s = requireState(), l = s.getHighWaterMark, v = requireErrorsBrowser().codes, b = v.ERR_INVALID_ARG_TYPE, m = v.ERR_STREAM_PUSH_AFTER_EOF, q = v.ERR_METHOD_NOT_IMPLEMENTED, E = v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, S, O, D;
|
|
4963
4963
|
requireInherits_browser()(ne, u);
|
|
4964
|
-
var $ = e.errorOrDestroy,
|
|
4964
|
+
var $ = e.errorOrDestroy, j = ["error", "close", "destroy", "pause", "resume"];
|
|
4965
4965
|
function J(z, G, fe) {
|
|
4966
4966
|
if (typeof z.prependListener == "function") return z.prependListener(G, fe);
|
|
4967
4967
|
!z._events || !z._events[G] ? z.on(G, fe) : Array.isArray(z._events[G]) ? z._events[G].unshift(fe) : z._events[G] = [fe, z._events[G]];
|
|
@@ -5210,8 +5210,8 @@ function require_stream_readable$1() {
|
|
|
5210
5210
|
return z[Re].apply(z, arguments);
|
|
5211
5211
|
};
|
|
5212
5212
|
})(xe));
|
|
5213
|
-
for (var _e = 0; _e <
|
|
5214
|
-
z.on(
|
|
5213
|
+
for (var _e = 0; _e < j.length; _e++)
|
|
5214
|
+
z.on(j[_e], this.emit.bind(this, j[_e]));
|
|
5215
5215
|
return this._read = function(qe) {
|
|
5216
5216
|
a("wrapped _read", qe), me && (me = !1, z.resume());
|
|
5217
5217
|
}, this;
|
|
@@ -5407,8 +5407,8 @@ function requirePipeline() {
|
|
|
5407
5407
|
throw new o("streams");
|
|
5408
5408
|
var q, E = v.map(function(S, O) {
|
|
5409
5409
|
var D = O < v.length - 1, $ = O > 0;
|
|
5410
|
-
return f(S, D, $, function(
|
|
5411
|
-
q || (q =
|
|
5410
|
+
return f(S, D, $, function(j) {
|
|
5411
|
+
q || (q = j), j && E.forEach(a), !D && (E.forEach(a), m(q));
|
|
5412
5412
|
});
|
|
5413
5413
|
});
|
|
5414
5414
|
return v.reduce(n);
|
|
@@ -5964,12 +5964,12 @@ function require_stream_writable() {
|
|
|
5964
5964
|
function $(B, P, A, w, M) {
|
|
5965
5965
|
--P.pendingcb, A ? (c.nextTick(M, w), c.nextTick(p, B, P), B._writableState.errorEmitted = !0, B.emit("error", w)) : (M(w), B._writableState.errorEmitted = !0, B.emit("error", w), p(B, P));
|
|
5966
5966
|
}
|
|
5967
|
-
function
|
|
5967
|
+
function j(B) {
|
|
5968
5968
|
B.writing = !1, B.writecb = null, B.length -= B.writelen, B.writelen = 0;
|
|
5969
5969
|
}
|
|
5970
5970
|
function J(B, P) {
|
|
5971
5971
|
var A = B._writableState, w = A.sync, M = A.writecb;
|
|
5972
|
-
if (
|
|
5972
|
+
if (j(A), P) $(B, A, w, P, M);
|
|
5973
5973
|
else {
|
|
5974
5974
|
var x = Z(A);
|
|
5975
5975
|
!x && !A.corked && !A.bufferProcessing && A.bufferedRequest && de(B, A), w ? u(ie, B, A, x, M) : ie(B, A, x, M);
|
|
@@ -6156,7 +6156,7 @@ function require_stream_readable() {
|
|
|
6156
6156
|
var fe;
|
|
6157
6157
|
z || (fe = $(G, F)), fe ? N.emit("error", fe) : G.objectMode || F && F.length > 0 ? (typeof F != "string" && !G.objectMode && Object.getPrototypeOf(F) !== r.prototype && (F = f(F)), ae ? G.endEmitted ? N.emit("error", new Error("stream.unshift() after end event")) : D(N, G, F, !0) : G.ended ? N.emit("error", new Error("stream.push() after EOF")) : (G.reading = !1, G.decoder && !ee ? (F = G.decoder.write(F), G.objectMode || F.length !== 0 ? D(N, G, F, !1) : g(N, G)) : D(N, G, F, !1))) : ae || (G.reading = !1);
|
|
6158
6158
|
}
|
|
6159
|
-
return
|
|
6159
|
+
return j(G);
|
|
6160
6160
|
}
|
|
6161
6161
|
function D(N, F, ee, ae) {
|
|
6162
6162
|
F.flowing && F.length === 0 && !F.sync ? (N.emit("data", ee), N.read(0)) : (F.length += F.objectMode ? 1 : ee.length, ae ? F.buffer.unshift(ee) : F.buffer.push(ee), F.needReadable && Z(N)), g(N, F);
|
|
@@ -6165,7 +6165,7 @@ function require_stream_readable() {
|
|
|
6165
6165
|
var ee;
|
|
6166
6166
|
return !a(F) && typeof F != "string" && F !== void 0 && !N.objectMode && (ee = new TypeError("Invalid non-string/buffer chunk")), ee;
|
|
6167
6167
|
}
|
|
6168
|
-
function
|
|
6168
|
+
function j(N) {
|
|
6169
6169
|
return !N.ended && (N.needReadable || N.length < N.highWaterMark || N.length === 0);
|
|
6170
6170
|
}
|
|
6171
6171
|
S.prototype.isPaused = function() {
|
|
@@ -6867,20 +6867,20 @@ function requireRipemd160() {
|
|
|
6867
6867
|
function e(E, S) {
|
|
6868
6868
|
return E << S | E >>> 32 - S;
|
|
6869
6869
|
}
|
|
6870
|
-
function s(E, S, O, D, $,
|
|
6871
|
-
return e(E + (S ^ O ^ D) +
|
|
6870
|
+
function s(E, S, O, D, $, j, J, ie) {
|
|
6871
|
+
return e(E + (S ^ O ^ D) + j + J | 0, ie) + $ | 0;
|
|
6872
6872
|
}
|
|
6873
|
-
function l(E, S, O, D, $,
|
|
6874
|
-
return e(E + (S & O | ~S & D) +
|
|
6873
|
+
function l(E, S, O, D, $, j, J, ie) {
|
|
6874
|
+
return e(E + (S & O | ~S & D) + j + J | 0, ie) + $ | 0;
|
|
6875
6875
|
}
|
|
6876
|
-
function v(E, S, O, D, $,
|
|
6877
|
-
return e(E + ((S | ~O) ^ D) +
|
|
6876
|
+
function v(E, S, O, D, $, j, J, ie) {
|
|
6877
|
+
return e(E + ((S | ~O) ^ D) + j + J | 0, ie) + $ | 0;
|
|
6878
6878
|
}
|
|
6879
|
-
function b(E, S, O, D, $,
|
|
6880
|
-
return e(E + (S & D | O & ~D) +
|
|
6879
|
+
function b(E, S, O, D, $, j, J, ie) {
|
|
6880
|
+
return e(E + (S & D | O & ~D) + j + J | 0, ie) + $ | 0;
|
|
6881
6881
|
}
|
|
6882
|
-
function m(E, S, O, D, $,
|
|
6883
|
-
return e(E + (S ^ (O | ~D)) +
|
|
6882
|
+
function m(E, S, O, D, $, j, J, ie) {
|
|
6883
|
+
return e(E + (S ^ (O | ~D)) + j + J | 0, ie) + $ | 0;
|
|
6884
6884
|
}
|
|
6885
6885
|
function q() {
|
|
6886
6886
|
u.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520;
|
|
@@ -6888,12 +6888,12 @@ function requireRipemd160() {
|
|
|
6888
6888
|
return t(q, u), q.prototype._update = function() {
|
|
6889
6889
|
for (var E = o, S = 0; S < 16; ++S)
|
|
6890
6890
|
E[S] = this._block.readInt32LE(S * 4);
|
|
6891
|
-
for (var O = this._a | 0, D = this._b | 0, $ = this._c | 0,
|
|
6891
|
+
for (var O = this._a | 0, D = this._b | 0, $ = this._c | 0, j = this._d | 0, J = this._e | 0, ie = this._a | 0, ne = this._b | 0, de = this._c | 0, Z = this._d | 0, y = this._e | 0, g = 0; g < 80; g += 1) {
|
|
6892
6892
|
var p, _;
|
|
6893
|
-
g < 16 ? (p = s(O, D, $,
|
|
6893
|
+
g < 16 ? (p = s(O, D, $, j, J, E[d[g]], a[0], h[g]), _ = m(ie, ne, de, Z, y, E[r[g]], n[0], f[g])) : g < 32 ? (p = l(O, D, $, j, J, E[d[g]], a[1], h[g]), _ = b(ie, ne, de, Z, y, E[r[g]], n[1], f[g])) : g < 48 ? (p = v(O, D, $, j, J, E[d[g]], a[2], h[g]), _ = v(ie, ne, de, Z, y, E[r[g]], n[2], f[g])) : g < 64 ? (p = b(O, D, $, j, J, E[d[g]], a[3], h[g]), _ = l(ie, ne, de, Z, y, E[r[g]], n[3], f[g])) : (p = m(O, D, $, j, J, E[d[g]], a[4], h[g]), _ = s(ie, ne, de, Z, y, E[r[g]], n[4], f[g])), O = J, J = j, j = e($, 10), $ = D, D = p, ie = y, y = Z, Z = e(de, 10), de = ne, ne = _;
|
|
6894
6894
|
}
|
|
6895
6895
|
var R = this._b + $ + Z | 0;
|
|
6896
|
-
this._b = this._c +
|
|
6896
|
+
this._b = this._c + j + y | 0, this._c = this._d + J + ie | 0, this._d = this._e + O + ne | 0, this._e = this._a + D + de | 0, this._a = R;
|
|
6897
6897
|
}, q.prototype._digest = function() {
|
|
6898
6898
|
this._block[this._blockOffset] = 128, this._blockOffset += 1, this._blockOffset > 56 && (this._block.fill(0, this._blockOffset, 64), this._update(), this._blockOffset = 0), this._block.fill(0, this._blockOffset, 56), this._block.writeUInt32LE(this._length[0], 56), this._block.writeUInt32LE(this._length[1], 60), this._update();
|
|
6899
6899
|
var E = c.alloc ? c.alloc(20) : new c(20);
|
|
@@ -7111,10 +7111,10 @@ function requireSha256() {
|
|
|
7111
7111
|
return (l >>> 17 | l << 15) ^ (l >>> 19 | l << 13) ^ l >>> 10;
|
|
7112
7112
|
}
|
|
7113
7113
|
return r.prototype._update = function(l) {
|
|
7114
|
-
for (var v = this._w, b = this._a | 0, m = this._b | 0, q = this._c | 0, E = this._d | 0, S = this._e | 0, O = this._f | 0, D = this._g | 0, $ = this._h | 0,
|
|
7115
|
-
v[
|
|
7116
|
-
for (;
|
|
7117
|
-
v[
|
|
7114
|
+
for (var v = this._w, b = this._a | 0, m = this._b | 0, q = this._c | 0, E = this._d | 0, S = this._e | 0, O = this._f | 0, D = this._g | 0, $ = this._h | 0, j = 0; j < 16; ++j)
|
|
7115
|
+
v[j] = l.readInt32BE(j * 4);
|
|
7116
|
+
for (; j < 64; ++j)
|
|
7117
|
+
v[j] = s(v[j - 2]) + v[j - 7] + e(v[j - 15]) + v[j - 16] | 0;
|
|
7118
7118
|
for (var J = 0; J < 64; ++J) {
|
|
7119
7119
|
var ie = $ + n(S) + h(S, O, D) + o[J] + v[J] | 0, ne = a(b) + f(b, m, q) | 0;
|
|
7120
7120
|
$ = D, D = O, O = S, S = E + ie | 0, E = q, q = m, m = b, b = ie + ne | 0;
|
|
@@ -7340,7 +7340,7 @@ function requireSha512() {
|
|
|
7340
7340
|
return m >>> 0 < q >>> 0 ? 1 : 0;
|
|
7341
7341
|
}
|
|
7342
7342
|
return r.prototype._update = function(m) {
|
|
7343
|
-
for (var q = this._w, E = this._ah | 0, S = this._bh | 0, O = this._ch | 0, D = this._dh | 0, $ = this._eh | 0,
|
|
7343
|
+
for (var q = this._w, E = this._ah | 0, S = this._bh | 0, O = this._ch | 0, D = this._dh | 0, $ = this._eh | 0, j = this._fh | 0, J = this._gh | 0, ie = this._hh | 0, ne = this._al | 0, de = this._bl | 0, Z = this._cl | 0, y = this._dl | 0, g = this._el | 0, p = this._fl | 0, _ = this._gl | 0, R = this._hl | 0, B = 0; B < 32; B += 2)
|
|
7344
7344
|
q[B] = m.readInt32BE(B * 4), q[B + 1] = m.readInt32BE(B * 4 + 4);
|
|
7345
7345
|
for (; B < 160; B += 2) {
|
|
7346
7346
|
var P = q[B - 30], A = q[B - 30 + 1], w = e(P, A), M = s(A, P);
|
|
@@ -7350,12 +7350,12 @@ function requireSha512() {
|
|
|
7350
7350
|
}
|
|
7351
7351
|
for (var ae = 0; ae < 160; ae += 2) {
|
|
7352
7352
|
ee = q[ae], F = q[ae + 1];
|
|
7353
|
-
var z = f(E, S, O), G = f(ne, de, Z), fe = a(E, ne), me = a(ne, E), xe = n($, g), _e = n(g, $), qe = o[ae], Re = o[ae + 1], be = h($,
|
|
7353
|
+
var z = f(E, S, O), G = f(ne, de, Z), fe = a(E, ne), me = a(ne, E), xe = n($, g), _e = n(g, $), qe = o[ae], Re = o[ae + 1], be = h($, j, J), Fe = h(g, p, _), Be = R + _e | 0, Me = ie + xe + b(Be, R) | 0;
|
|
7354
7354
|
Be = Be + Fe | 0, Me = Me + be + b(Be, Fe) | 0, Be = Be + Re | 0, Me = Me + qe + b(Be, Re) | 0, Be = Be + F | 0, Me = Me + ee + b(Be, F) | 0;
|
|
7355
7355
|
var Te = me + G | 0, oe = fe + z + b(Te, me) | 0;
|
|
7356
|
-
ie = J, R = _, J =
|
|
7356
|
+
ie = J, R = _, J = j, _ = p, j = $, p = g, g = y + Be | 0, $ = D + Me + b(g, y) | 0, D = O, y = Z, O = S, Z = de, S = E, de = ne, ne = Be + Te | 0, E = Me + oe + b(ne, Be) | 0;
|
|
7357
7357
|
}
|
|
7358
|
-
this._al = this._al + ne | 0, this._bl = this._bl + de | 0, this._cl = this._cl + Z | 0, this._dl = this._dl + y | 0, this._el = this._el + g | 0, this._fl = this._fl + p | 0, this._gl = this._gl + _ | 0, this._hl = this._hl + R | 0, this._ah = this._ah + E + b(this._al, ne) | 0, this._bh = this._bh + S + b(this._bl, de) | 0, this._ch = this._ch + O + b(this._cl, Z) | 0, this._dh = this._dh + D + b(this._dl, y) | 0, this._eh = this._eh + $ + b(this._el, g) | 0, this._fh = this._fh +
|
|
7358
|
+
this._al = this._al + ne | 0, this._bl = this._bl + de | 0, this._cl = this._cl + Z | 0, this._dl = this._dl + y | 0, this._el = this._el + g | 0, this._fl = this._fl + p | 0, this._gl = this._gl + _ | 0, this._hl = this._hl + R | 0, this._ah = this._ah + E + b(this._al, ne) | 0, this._bh = this._bh + S + b(this._bl, de) | 0, this._ch = this._ch + O + b(this._cl, Z) | 0, this._dh = this._dh + D + b(this._dl, y) | 0, this._eh = this._eh + $ + b(this._el, g) | 0, this._fh = this._fh + j + b(this._fl, p) | 0, this._gh = this._gh + J + b(this._gl, _) | 0, this._hh = this._hh + ie + b(this._hl, R) | 0;
|
|
7359
7359
|
}, r.prototype._hash = function() {
|
|
7360
7360
|
var m = u.allocUnsafe(64);
|
|
7361
7361
|
function q(E, S, O) {
|
|
@@ -7621,8 +7621,8 @@ function requireSyncBrowser() {
|
|
|
7621
7621
|
m.length > S ? m = E(m) : m.length < S && (m = o.concat([m, f], S));
|
|
7622
7622
|
for (var O = o.allocUnsafe(S + a[b]), D = o.allocUnsafe(S + a[b]), $ = 0; $ < S; $++)
|
|
7623
7623
|
O[$] = m[$] ^ 54, D[$] = m[$] ^ 92;
|
|
7624
|
-
var
|
|
7625
|
-
O.copy(
|
|
7624
|
+
var j = o.allocUnsafe(S + q + 4);
|
|
7625
|
+
O.copy(j, 0, 0, S), this.ipad1 = j, this.ipad2 = O, this.opad = D, this.alg = b, this.blocksize = S, this.hash = E, this.size = a[b];
|
|
7626
7626
|
}
|
|
7627
7627
|
l.prototype.run = function(b, m) {
|
|
7628
7628
|
b.copy(m, this.blocksize);
|
|
@@ -7634,12 +7634,12 @@ function requireSyncBrowser() {
|
|
|
7634
7634
|
var O = (S || "sha1").toLowerCase(), D = n[O] || O, $ = a[D];
|
|
7635
7635
|
if (typeof $ != "number" || !$)
|
|
7636
7636
|
throw new TypeError("Digest algorithm not supported: " + S);
|
|
7637
|
-
var
|
|
7637
|
+
var j = new l(D, b, m.length), J = o.allocUnsafe(E), ie = o.allocUnsafe(m.length + 4);
|
|
7638
7638
|
m.copy(ie, 0, 0, m.length);
|
|
7639
7639
|
for (var ne = 0, de = $, Z = Math.ceil(E / de), y = 1; y <= Z; y++) {
|
|
7640
7640
|
ie.writeUInt32BE(y, m.length);
|
|
7641
|
-
for (var g =
|
|
7642
|
-
p =
|
|
7641
|
+
for (var g = j.run(ie, j.ipad1), p = g, _ = 1; _ < q; _++) {
|
|
7642
|
+
p = j.run(p, j.ipad2);
|
|
7643
7643
|
for (var R = 0; R < de; R++)
|
|
7644
7644
|
g[R] ^= p[R];
|
|
7645
7645
|
}
|
|
@@ -7718,8 +7718,8 @@ function requireAsync() {
|
|
|
7718
7718
|
var $;
|
|
7719
7719
|
try {
|
|
7720
7720
|
$ = o(b, m, q, E, S);
|
|
7721
|
-
} catch (
|
|
7722
|
-
O(
|
|
7721
|
+
} catch (j) {
|
|
7722
|
+
O(j);
|
|
7723
7723
|
return;
|
|
7724
7724
|
}
|
|
7725
7725
|
O(null, $);
|
|
@@ -8882,9 +8882,9 @@ function requireAes() {
|
|
|
8882
8882
|
f[a] = 0;
|
|
8883
8883
|
}
|
|
8884
8884
|
function o(f, a, n, e, s) {
|
|
8885
|
-
for (var l = n[0], v = n[1], b = n[2], m = n[3], q = f[0] ^ a[0], E = f[1] ^ a[1], S = f[2] ^ a[2], O = f[3] ^ a[3], D, $,
|
|
8886
|
-
D = l[q >>> 24] ^ v[E >>> 16 & 255] ^ b[S >>> 8 & 255] ^ m[O & 255] ^ a[ie++], $ = l[E >>> 24] ^ v[S >>> 16 & 255] ^ b[O >>> 8 & 255] ^ m[q & 255] ^ a[ie++],
|
|
8887
|
-
return D = (e[q >>> 24] << 24 | e[E >>> 16 & 255] << 16 | e[S >>> 8 & 255] << 8 | e[O & 255]) ^ a[ie++], $ = (e[E >>> 24] << 24 | e[S >>> 16 & 255] << 16 | e[O >>> 8 & 255] << 8 | e[q & 255]) ^ a[ie++],
|
|
8885
|
+
for (var l = n[0], v = n[1], b = n[2], m = n[3], q = f[0] ^ a[0], E = f[1] ^ a[1], S = f[2] ^ a[2], O = f[3] ^ a[3], D, $, j, J, ie = 4, ne = 1; ne < s; ne++)
|
|
8886
|
+
D = l[q >>> 24] ^ v[E >>> 16 & 255] ^ b[S >>> 8 & 255] ^ m[O & 255] ^ a[ie++], $ = l[E >>> 24] ^ v[S >>> 16 & 255] ^ b[O >>> 8 & 255] ^ m[q & 255] ^ a[ie++], j = l[S >>> 24] ^ v[O >>> 16 & 255] ^ b[q >>> 8 & 255] ^ m[E & 255] ^ a[ie++], J = l[O >>> 24] ^ v[q >>> 16 & 255] ^ b[E >>> 8 & 255] ^ m[S & 255] ^ a[ie++], q = D, E = $, S = j, O = J;
|
|
8887
|
+
return D = (e[q >>> 24] << 24 | e[E >>> 16 & 255] << 16 | e[S >>> 8 & 255] << 8 | e[O & 255]) ^ a[ie++], $ = (e[E >>> 24] << 24 | e[S >>> 16 & 255] << 16 | e[O >>> 8 & 255] << 8 | e[q & 255]) ^ a[ie++], j = (e[S >>> 24] << 24 | e[O >>> 16 & 255] << 16 | e[q >>> 8 & 255] << 8 | e[E & 255]) ^ a[ie++], J = (e[O >>> 24] << 24 | e[q >>> 16 & 255] << 16 | e[E >>> 8 & 255] << 8 | e[S & 255]) ^ a[ie++], D = D >>> 0, $ = $ >>> 0, j = j >>> 0, J = J >>> 0, [D, $, j, J];
|
|
8888
8888
|
}
|
|
8889
8889
|
var d = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], r = (function() {
|
|
8890
8890
|
for (var f = new Array(256), a = 0; a < 256; a++)
|
|
@@ -9692,44 +9692,44 @@ function requireBn$1() {
|
|
|
9692
9692
|
return A !== 0 ? g.words[w] = A | 0 : g.length--, g.strip();
|
|
9693
9693
|
}
|
|
9694
9694
|
var m = function(y, g, p) {
|
|
9695
|
-
var _ = y.words, R = g.words, B = p.words, P = 0, A, w, M, x = _[0] | 0, L = x & 8191, K = x >>> 13, Q = _[1] | 0, H = Q & 8191, N = Q >>> 13, F = _[2] | 0, ee = F & 8191, ae = F >>> 13, z = _[3] | 0, G = z & 8191, fe = z >>> 13, me = _[4] | 0, xe = me & 8191, _e = me >>> 13, qe = _[5] | 0, Re = qe & 8191, be = qe >>> 13, Fe = _[6] | 0, Be = Fe & 8191, Me = Fe >>> 13, Te = _[7] | 0, oe = Te & 8191, ce = Te >>> 13, ge = _[8] | 0, we = ge & 8191, Se = ge >>> 13, Oe = _[9] | 0,
|
|
9695
|
+
var _ = y.words, R = g.words, B = p.words, P = 0, A, w, M, x = _[0] | 0, L = x & 8191, K = x >>> 13, Q = _[1] | 0, H = Q & 8191, N = Q >>> 13, F = _[2] | 0, ee = F & 8191, ae = F >>> 13, z = _[3] | 0, G = z & 8191, fe = z >>> 13, me = _[4] | 0, xe = me & 8191, _e = me >>> 13, qe = _[5] | 0, Re = qe & 8191, be = qe >>> 13, Fe = _[6] | 0, Be = Fe & 8191, Me = Fe >>> 13, Te = _[7] | 0, oe = Te & 8191, ce = Te >>> 13, ge = _[8] | 0, we = ge & 8191, Se = ge >>> 13, Oe = _[9] | 0, U = Oe & 8191, I = Oe >>> 13, C = R[0] | 0, X = C & 8191, se = C >>> 13, le = R[1] | 0, ve = le & 8191, Ce = le >>> 13, Le = R[2] | 0, Ie = Le & 8191, je = Le >>> 13, $e = R[3] | 0, He = $e & 8191, Ke = $e >>> 13, Ze = R[4] | 0, We = Ze & 8191, Ye = Ze >>> 13, Xe = R[5] | 0, W = Xe & 8191, T = Xe >>> 13, k = R[6] | 0, re = k & 8191, ue = k >>> 13, pe = R[7] | 0, ye = pe & 8191, ke = pe >>> 13, Ve = R[8] | 0, Ne = Ve & 8191, Ge = Ve >>> 13, Ue = R[9] | 0, ze = Ue & 8191, Je = Ue >>> 13;
|
|
9696
9696
|
p.negative = y.negative ^ g.negative, p.length = 19, A = Math.imul(L, X), w = Math.imul(L, se), w = w + Math.imul(K, X) | 0, M = Math.imul(K, se);
|
|
9697
9697
|
var Qe = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9698
9698
|
P = (M + (w >>> 13) | 0) + (Qe >>> 26) | 0, Qe &= 67108863, A = Math.imul(H, X), w = Math.imul(H, se), w = w + Math.imul(N, X) | 0, M = Math.imul(N, se), A = A + Math.imul(L, ve) | 0, w = w + Math.imul(L, Ce) | 0, w = w + Math.imul(K, ve) | 0, M = M + Math.imul(K, Ce) | 0;
|
|
9699
9699
|
var er = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9700
|
-
P = (M + (w >>> 13) | 0) + (er >>> 26) | 0, er &= 67108863, A = Math.imul(ee, X), w = Math.imul(ee, se), w = w + Math.imul(ae, X) | 0, M = Math.imul(ae, se), A = A + Math.imul(H, ve) | 0, w = w + Math.imul(H, Ce) | 0, w = w + Math.imul(N, ve) | 0, M = M + Math.imul(N, Ce) | 0, A = A + Math.imul(L, Ie) | 0, w = w + Math.imul(L,
|
|
9700
|
+
P = (M + (w >>> 13) | 0) + (er >>> 26) | 0, er &= 67108863, A = Math.imul(ee, X), w = Math.imul(ee, se), w = w + Math.imul(ae, X) | 0, M = Math.imul(ae, se), A = A + Math.imul(H, ve) | 0, w = w + Math.imul(H, Ce) | 0, w = w + Math.imul(N, ve) | 0, M = M + Math.imul(N, Ce) | 0, A = A + Math.imul(L, Ie) | 0, w = w + Math.imul(L, je) | 0, w = w + Math.imul(K, Ie) | 0, M = M + Math.imul(K, je) | 0;
|
|
9701
9701
|
var fr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9702
|
-
P = (M + (w >>> 13) | 0) + (fr >>> 26) | 0, fr &= 67108863, A = Math.imul(G, X), w = Math.imul(G, se), w = w + Math.imul(fe, X) | 0, M = Math.imul(fe, se), A = A + Math.imul(ee, ve) | 0, w = w + Math.imul(ee, Ce) | 0, w = w + Math.imul(ae, ve) | 0, M = M + Math.imul(ae, Ce) | 0, A = A + Math.imul(H, Ie) | 0, w = w + Math.imul(H,
|
|
9702
|
+
P = (M + (w >>> 13) | 0) + (fr >>> 26) | 0, fr &= 67108863, A = Math.imul(G, X), w = Math.imul(G, se), w = w + Math.imul(fe, X) | 0, M = Math.imul(fe, se), A = A + Math.imul(ee, ve) | 0, w = w + Math.imul(ee, Ce) | 0, w = w + Math.imul(ae, ve) | 0, M = M + Math.imul(ae, Ce) | 0, A = A + Math.imul(H, Ie) | 0, w = w + Math.imul(H, je) | 0, w = w + Math.imul(N, Ie) | 0, M = M + Math.imul(N, je) | 0, A = A + Math.imul(L, He) | 0, w = w + Math.imul(L, Ke) | 0, w = w + Math.imul(K, He) | 0, M = M + Math.imul(K, Ke) | 0;
|
|
9703
9703
|
var ur = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9704
|
-
P = (M + (w >>> 13) | 0) + (ur >>> 26) | 0, ur &= 67108863, A = Math.imul(xe, X), w = Math.imul(xe, se), w = w + Math.imul(_e, X) | 0, M = Math.imul(_e, se), A = A + Math.imul(G, ve) | 0, w = w + Math.imul(G, Ce) | 0, w = w + Math.imul(fe, ve) | 0, M = M + Math.imul(fe, Ce) | 0, A = A + Math.imul(ee, Ie) | 0, w = w + Math.imul(ee,
|
|
9704
|
+
P = (M + (w >>> 13) | 0) + (ur >>> 26) | 0, ur &= 67108863, A = Math.imul(xe, X), w = Math.imul(xe, se), w = w + Math.imul(_e, X) | 0, M = Math.imul(_e, se), A = A + Math.imul(G, ve) | 0, w = w + Math.imul(G, Ce) | 0, w = w + Math.imul(fe, ve) | 0, M = M + Math.imul(fe, Ce) | 0, A = A + Math.imul(ee, Ie) | 0, w = w + Math.imul(ee, je) | 0, w = w + Math.imul(ae, Ie) | 0, M = M + Math.imul(ae, je) | 0, A = A + Math.imul(H, He) | 0, w = w + Math.imul(H, Ke) | 0, w = w + Math.imul(N, He) | 0, M = M + Math.imul(N, Ke) | 0, A = A + Math.imul(L, We) | 0, w = w + Math.imul(L, Ye) | 0, w = w + Math.imul(K, We) | 0, M = M + Math.imul(K, Ye) | 0;
|
|
9705
9705
|
var cr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9706
|
-
P = (M + (w >>> 13) | 0) + (cr >>> 26) | 0, cr &= 67108863, A = Math.imul(Re, X), w = Math.imul(Re, se), w = w + Math.imul(be, X) | 0, M = Math.imul(be, se), A = A + Math.imul(xe, ve) | 0, w = w + Math.imul(xe, Ce) | 0, w = w + Math.imul(_e, ve) | 0, M = M + Math.imul(_e, Ce) | 0, A = A + Math.imul(G, Ie) | 0, w = w + Math.imul(G,
|
|
9706
|
+
P = (M + (w >>> 13) | 0) + (cr >>> 26) | 0, cr &= 67108863, A = Math.imul(Re, X), w = Math.imul(Re, se), w = w + Math.imul(be, X) | 0, M = Math.imul(be, se), A = A + Math.imul(xe, ve) | 0, w = w + Math.imul(xe, Ce) | 0, w = w + Math.imul(_e, ve) | 0, M = M + Math.imul(_e, Ce) | 0, A = A + Math.imul(G, Ie) | 0, w = w + Math.imul(G, je) | 0, w = w + Math.imul(fe, Ie) | 0, M = M + Math.imul(fe, je) | 0, A = A + Math.imul(ee, He) | 0, w = w + Math.imul(ee, Ke) | 0, w = w + Math.imul(ae, He) | 0, M = M + Math.imul(ae, Ke) | 0, A = A + Math.imul(H, We) | 0, w = w + Math.imul(H, Ye) | 0, w = w + Math.imul(N, We) | 0, M = M + Math.imul(N, Ye) | 0, A = A + Math.imul(L, W) | 0, w = w + Math.imul(L, T) | 0, w = w + Math.imul(K, W) | 0, M = M + Math.imul(K, T) | 0;
|
|
9707
9707
|
var nr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9708
|
-
P = (M + (w >>> 13) | 0) + (nr >>> 26) | 0, nr &= 67108863, A = Math.imul(Be, X), w = Math.imul(Be, se), w = w + Math.imul(Me, X) | 0, M = Math.imul(Me, se), A = A + Math.imul(Re, ve) | 0, w = w + Math.imul(Re, Ce) | 0, w = w + Math.imul(be, ve) | 0, M = M + Math.imul(be, Ce) | 0, A = A + Math.imul(xe, Ie) | 0, w = w + Math.imul(xe,
|
|
9708
|
+
P = (M + (w >>> 13) | 0) + (nr >>> 26) | 0, nr &= 67108863, A = Math.imul(Be, X), w = Math.imul(Be, se), w = w + Math.imul(Me, X) | 0, M = Math.imul(Me, se), A = A + Math.imul(Re, ve) | 0, w = w + Math.imul(Re, Ce) | 0, w = w + Math.imul(be, ve) | 0, M = M + Math.imul(be, Ce) | 0, A = A + Math.imul(xe, Ie) | 0, w = w + Math.imul(xe, je) | 0, w = w + Math.imul(_e, Ie) | 0, M = M + Math.imul(_e, je) | 0, A = A + Math.imul(G, He) | 0, w = w + Math.imul(G, Ke) | 0, w = w + Math.imul(fe, He) | 0, M = M + Math.imul(fe, Ke) | 0, A = A + Math.imul(ee, We) | 0, w = w + Math.imul(ee, Ye) | 0, w = w + Math.imul(ae, We) | 0, M = M + Math.imul(ae, Ye) | 0, A = A + Math.imul(H, W) | 0, w = w + Math.imul(H, T) | 0, w = w + Math.imul(N, W) | 0, M = M + Math.imul(N, T) | 0, A = A + Math.imul(L, re) | 0, w = w + Math.imul(L, ue) | 0, w = w + Math.imul(K, re) | 0, M = M + Math.imul(K, ue) | 0;
|
|
9709
9709
|
var hr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9710
|
-
P = (M + (w >>> 13) | 0) + (hr >>> 26) | 0, hr &= 67108863, A = Math.imul(oe, X), w = Math.imul(oe, se), w = w + Math.imul(ce, X) | 0, M = Math.imul(ce, se), A = A + Math.imul(Be, ve) | 0, w = w + Math.imul(Be, Ce) | 0, w = w + Math.imul(Me, ve) | 0, M = M + Math.imul(Me, Ce) | 0, A = A + Math.imul(Re, Ie) | 0, w = w + Math.imul(Re,
|
|
9710
|
+
P = (M + (w >>> 13) | 0) + (hr >>> 26) | 0, hr &= 67108863, A = Math.imul(oe, X), w = Math.imul(oe, se), w = w + Math.imul(ce, X) | 0, M = Math.imul(ce, se), A = A + Math.imul(Be, ve) | 0, w = w + Math.imul(Be, Ce) | 0, w = w + Math.imul(Me, ve) | 0, M = M + Math.imul(Me, Ce) | 0, A = A + Math.imul(Re, Ie) | 0, w = w + Math.imul(Re, je) | 0, w = w + Math.imul(be, Ie) | 0, M = M + Math.imul(be, je) | 0, A = A + Math.imul(xe, He) | 0, w = w + Math.imul(xe, Ke) | 0, w = w + Math.imul(_e, He) | 0, M = M + Math.imul(_e, Ke) | 0, A = A + Math.imul(G, We) | 0, w = w + Math.imul(G, Ye) | 0, w = w + Math.imul(fe, We) | 0, M = M + Math.imul(fe, Ye) | 0, A = A + Math.imul(ee, W) | 0, w = w + Math.imul(ee, T) | 0, w = w + Math.imul(ae, W) | 0, M = M + Math.imul(ae, T) | 0, A = A + Math.imul(H, re) | 0, w = w + Math.imul(H, ue) | 0, w = w + Math.imul(N, re) | 0, M = M + Math.imul(N, ue) | 0, A = A + Math.imul(L, ye) | 0, w = w + Math.imul(L, ke) | 0, w = w + Math.imul(K, ye) | 0, M = M + Math.imul(K, ke) | 0;
|
|
9711
9711
|
var lr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9712
|
-
P = (M + (w >>> 13) | 0) + (lr >>> 26) | 0, lr &= 67108863, A = Math.imul(we, X), w = Math.imul(we, se), w = w + Math.imul(Se, X) | 0, M = Math.imul(Se, se), A = A + Math.imul(oe, ve) | 0, w = w + Math.imul(oe, Ce) | 0, w = w + Math.imul(ce, ve) | 0, M = M + Math.imul(ce, Ce) | 0, A = A + Math.imul(Be, Ie) | 0, w = w + Math.imul(Be,
|
|
9712
|
+
P = (M + (w >>> 13) | 0) + (lr >>> 26) | 0, lr &= 67108863, A = Math.imul(we, X), w = Math.imul(we, se), w = w + Math.imul(Se, X) | 0, M = Math.imul(Se, se), A = A + Math.imul(oe, ve) | 0, w = w + Math.imul(oe, Ce) | 0, w = w + Math.imul(ce, ve) | 0, M = M + Math.imul(ce, Ce) | 0, A = A + Math.imul(Be, Ie) | 0, w = w + Math.imul(Be, je) | 0, w = w + Math.imul(Me, Ie) | 0, M = M + Math.imul(Me, je) | 0, A = A + Math.imul(Re, He) | 0, w = w + Math.imul(Re, Ke) | 0, w = w + Math.imul(be, He) | 0, M = M + Math.imul(be, Ke) | 0, A = A + Math.imul(xe, We) | 0, w = w + Math.imul(xe, Ye) | 0, w = w + Math.imul(_e, We) | 0, M = M + Math.imul(_e, Ye) | 0, A = A + Math.imul(G, W) | 0, w = w + Math.imul(G, T) | 0, w = w + Math.imul(fe, W) | 0, M = M + Math.imul(fe, T) | 0, A = A + Math.imul(ee, re) | 0, w = w + Math.imul(ee, ue) | 0, w = w + Math.imul(ae, re) | 0, M = M + Math.imul(ae, ue) | 0, A = A + Math.imul(H, ye) | 0, w = w + Math.imul(H, ke) | 0, w = w + Math.imul(N, ye) | 0, M = M + Math.imul(N, ke) | 0, A = A + Math.imul(L, Ne) | 0, w = w + Math.imul(L, Ge) | 0, w = w + Math.imul(K, Ne) | 0, M = M + Math.imul(K, Ge) | 0;
|
|
9713
9713
|
var dr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9714
|
-
P = (M + (w >>> 13) | 0) + (dr >>> 26) | 0, dr &= 67108863, A = Math.imul(
|
|
9714
|
+
P = (M + (w >>> 13) | 0) + (dr >>> 26) | 0, dr &= 67108863, A = Math.imul(U, X), w = Math.imul(U, se), w = w + Math.imul(I, X) | 0, M = Math.imul(I, se), A = A + Math.imul(we, ve) | 0, w = w + Math.imul(we, Ce) | 0, w = w + Math.imul(Se, ve) | 0, M = M + Math.imul(Se, Ce) | 0, A = A + Math.imul(oe, Ie) | 0, w = w + Math.imul(oe, je) | 0, w = w + Math.imul(ce, Ie) | 0, M = M + Math.imul(ce, je) | 0, A = A + Math.imul(Be, He) | 0, w = w + Math.imul(Be, Ke) | 0, w = w + Math.imul(Me, He) | 0, M = M + Math.imul(Me, Ke) | 0, A = A + Math.imul(Re, We) | 0, w = w + Math.imul(Re, Ye) | 0, w = w + Math.imul(be, We) | 0, M = M + Math.imul(be, Ye) | 0, A = A + Math.imul(xe, W) | 0, w = w + Math.imul(xe, T) | 0, w = w + Math.imul(_e, W) | 0, M = M + Math.imul(_e, T) | 0, A = A + Math.imul(G, re) | 0, w = w + Math.imul(G, ue) | 0, w = w + Math.imul(fe, re) | 0, M = M + Math.imul(fe, ue) | 0, A = A + Math.imul(ee, ye) | 0, w = w + Math.imul(ee, ke) | 0, w = w + Math.imul(ae, ye) | 0, M = M + Math.imul(ae, ke) | 0, A = A + Math.imul(H, Ne) | 0, w = w + Math.imul(H, Ge) | 0, w = w + Math.imul(N, Ne) | 0, M = M + Math.imul(N, Ge) | 0, A = A + Math.imul(L, ze) | 0, w = w + Math.imul(L, Je) | 0, w = w + Math.imul(K, ze) | 0, M = M + Math.imul(K, Je) | 0;
|
|
9715
9715
|
var pr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9716
|
-
P = (M + (w >>> 13) | 0) + (pr >>> 26) | 0, pr &= 67108863, A = Math.imul(
|
|
9716
|
+
P = (M + (w >>> 13) | 0) + (pr >>> 26) | 0, pr &= 67108863, A = Math.imul(U, ve), w = Math.imul(U, Ce), w = w + Math.imul(I, ve) | 0, M = Math.imul(I, Ce), A = A + Math.imul(we, Ie) | 0, w = w + Math.imul(we, je) | 0, w = w + Math.imul(Se, Ie) | 0, M = M + Math.imul(Se, je) | 0, A = A + Math.imul(oe, He) | 0, w = w + Math.imul(oe, Ke) | 0, w = w + Math.imul(ce, He) | 0, M = M + Math.imul(ce, Ke) | 0, A = A + Math.imul(Be, We) | 0, w = w + Math.imul(Be, Ye) | 0, w = w + Math.imul(Me, We) | 0, M = M + Math.imul(Me, Ye) | 0, A = A + Math.imul(Re, W) | 0, w = w + Math.imul(Re, T) | 0, w = w + Math.imul(be, W) | 0, M = M + Math.imul(be, T) | 0, A = A + Math.imul(xe, re) | 0, w = w + Math.imul(xe, ue) | 0, w = w + Math.imul(_e, re) | 0, M = M + Math.imul(_e, ue) | 0, A = A + Math.imul(G, ye) | 0, w = w + Math.imul(G, ke) | 0, w = w + Math.imul(fe, ye) | 0, M = M + Math.imul(fe, ke) | 0, A = A + Math.imul(ee, Ne) | 0, w = w + Math.imul(ee, Ge) | 0, w = w + Math.imul(ae, Ne) | 0, M = M + Math.imul(ae, Ge) | 0, A = A + Math.imul(H, ze) | 0, w = w + Math.imul(H, Je) | 0, w = w + Math.imul(N, ze) | 0, M = M + Math.imul(N, Je) | 0;
|
|
9717
9717
|
var vr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9718
|
-
P = (M + (w >>> 13) | 0) + (vr >>> 26) | 0, vr &= 67108863, A = Math.imul(
|
|
9718
|
+
P = (M + (w >>> 13) | 0) + (vr >>> 26) | 0, vr &= 67108863, A = Math.imul(U, Ie), w = Math.imul(U, je), w = w + Math.imul(I, Ie) | 0, M = Math.imul(I, je), A = A + Math.imul(we, He) | 0, w = w + Math.imul(we, Ke) | 0, w = w + Math.imul(Se, He) | 0, M = M + Math.imul(Se, Ke) | 0, A = A + Math.imul(oe, We) | 0, w = w + Math.imul(oe, Ye) | 0, w = w + Math.imul(ce, We) | 0, M = M + Math.imul(ce, Ye) | 0, A = A + Math.imul(Be, W) | 0, w = w + Math.imul(Be, T) | 0, w = w + Math.imul(Me, W) | 0, M = M + Math.imul(Me, T) | 0, A = A + Math.imul(Re, re) | 0, w = w + Math.imul(Re, ue) | 0, w = w + Math.imul(be, re) | 0, M = M + Math.imul(be, ue) | 0, A = A + Math.imul(xe, ye) | 0, w = w + Math.imul(xe, ke) | 0, w = w + Math.imul(_e, ye) | 0, M = M + Math.imul(_e, ke) | 0, A = A + Math.imul(G, Ne) | 0, w = w + Math.imul(G, Ge) | 0, w = w + Math.imul(fe, Ne) | 0, M = M + Math.imul(fe, Ge) | 0, A = A + Math.imul(ee, ze) | 0, w = w + Math.imul(ee, Je) | 0, w = w + Math.imul(ae, ze) | 0, M = M + Math.imul(ae, Je) | 0;
|
|
9719
9719
|
var br = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9720
|
-
P = (M + (w >>> 13) | 0) + (br >>> 26) | 0, br &= 67108863, A = Math.imul(
|
|
9720
|
+
P = (M + (w >>> 13) | 0) + (br >>> 26) | 0, br &= 67108863, A = Math.imul(U, He), w = Math.imul(U, Ke), w = w + Math.imul(I, He) | 0, M = Math.imul(I, Ke), A = A + Math.imul(we, We) | 0, w = w + Math.imul(we, Ye) | 0, w = w + Math.imul(Se, We) | 0, M = M + Math.imul(Se, Ye) | 0, A = A + Math.imul(oe, W) | 0, w = w + Math.imul(oe, T) | 0, w = w + Math.imul(ce, W) | 0, M = M + Math.imul(ce, T) | 0, A = A + Math.imul(Be, re) | 0, w = w + Math.imul(Be, ue) | 0, w = w + Math.imul(Me, re) | 0, M = M + Math.imul(Me, ue) | 0, A = A + Math.imul(Re, ye) | 0, w = w + Math.imul(Re, ke) | 0, w = w + Math.imul(be, ye) | 0, M = M + Math.imul(be, ke) | 0, A = A + Math.imul(xe, Ne) | 0, w = w + Math.imul(xe, Ge) | 0, w = w + Math.imul(_e, Ne) | 0, M = M + Math.imul(_e, Ge) | 0, A = A + Math.imul(G, ze) | 0, w = w + Math.imul(G, Je) | 0, w = w + Math.imul(fe, ze) | 0, M = M + Math.imul(fe, Je) | 0;
|
|
9721
9721
|
var yr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9722
|
-
P = (M + (w >>> 13) | 0) + (yr >>> 26) | 0, yr &= 67108863, A = Math.imul(
|
|
9722
|
+
P = (M + (w >>> 13) | 0) + (yr >>> 26) | 0, yr &= 67108863, A = Math.imul(U, We), w = Math.imul(U, Ye), w = w + Math.imul(I, We) | 0, M = Math.imul(I, Ye), A = A + Math.imul(we, W) | 0, w = w + Math.imul(we, T) | 0, w = w + Math.imul(Se, W) | 0, M = M + Math.imul(Se, T) | 0, A = A + Math.imul(oe, re) | 0, w = w + Math.imul(oe, ue) | 0, w = w + Math.imul(ce, re) | 0, M = M + Math.imul(ce, ue) | 0, A = A + Math.imul(Be, ye) | 0, w = w + Math.imul(Be, ke) | 0, w = w + Math.imul(Me, ye) | 0, M = M + Math.imul(Me, ke) | 0, A = A + Math.imul(Re, Ne) | 0, w = w + Math.imul(Re, Ge) | 0, w = w + Math.imul(be, Ne) | 0, M = M + Math.imul(be, Ge) | 0, A = A + Math.imul(xe, ze) | 0, w = w + Math.imul(xe, Je) | 0, w = w + Math.imul(_e, ze) | 0, M = M + Math.imul(_e, Je) | 0;
|
|
9723
9723
|
var gr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9724
|
-
P = (M + (w >>> 13) | 0) + (gr >>> 26) | 0, gr &= 67108863, A = Math.imul(
|
|
9724
|
+
P = (M + (w >>> 13) | 0) + (gr >>> 26) | 0, gr &= 67108863, A = Math.imul(U, W), w = Math.imul(U, T), w = w + Math.imul(I, W) | 0, M = Math.imul(I, T), A = A + Math.imul(we, re) | 0, w = w + Math.imul(we, ue) | 0, w = w + Math.imul(Se, re) | 0, M = M + Math.imul(Se, ue) | 0, A = A + Math.imul(oe, ye) | 0, w = w + Math.imul(oe, ke) | 0, w = w + Math.imul(ce, ye) | 0, M = M + Math.imul(ce, ke) | 0, A = A + Math.imul(Be, Ne) | 0, w = w + Math.imul(Be, Ge) | 0, w = w + Math.imul(Me, Ne) | 0, M = M + Math.imul(Me, Ge) | 0, A = A + Math.imul(Re, ze) | 0, w = w + Math.imul(Re, Je) | 0, w = w + Math.imul(be, ze) | 0, M = M + Math.imul(be, Je) | 0;
|
|
9725
9725
|
var wr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9726
|
-
P = (M + (w >>> 13) | 0) + (wr >>> 26) | 0, wr &= 67108863, A = Math.imul(
|
|
9726
|
+
P = (M + (w >>> 13) | 0) + (wr >>> 26) | 0, wr &= 67108863, A = Math.imul(U, re), w = Math.imul(U, ue), w = w + Math.imul(I, re) | 0, M = Math.imul(I, ue), A = A + Math.imul(we, ye) | 0, w = w + Math.imul(we, ke) | 0, w = w + Math.imul(Se, ye) | 0, M = M + Math.imul(Se, ke) | 0, A = A + Math.imul(oe, Ne) | 0, w = w + Math.imul(oe, Ge) | 0, w = w + Math.imul(ce, Ne) | 0, M = M + Math.imul(ce, Ge) | 0, A = A + Math.imul(Be, ze) | 0, w = w + Math.imul(Be, Je) | 0, w = w + Math.imul(Me, ze) | 0, M = M + Math.imul(Me, Je) | 0;
|
|
9727
9727
|
var rr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9728
|
-
P = (M + (w >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, A = Math.imul(
|
|
9728
|
+
P = (M + (w >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, A = Math.imul(U, ye), w = Math.imul(U, ke), w = w + Math.imul(I, ye) | 0, M = Math.imul(I, ke), A = A + Math.imul(we, Ne) | 0, w = w + Math.imul(we, Ge) | 0, w = w + Math.imul(Se, Ne) | 0, M = M + Math.imul(Se, Ge) | 0, A = A + Math.imul(oe, ze) | 0, w = w + Math.imul(oe, Je) | 0, w = w + Math.imul(ce, ze) | 0, M = M + Math.imul(ce, Je) | 0;
|
|
9729
9729
|
var _r = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9730
|
-
P = (M + (w >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, A = Math.imul(
|
|
9730
|
+
P = (M + (w >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, A = Math.imul(U, Ne), w = Math.imul(U, Ge), w = w + Math.imul(I, Ne) | 0, M = Math.imul(I, Ge), A = A + Math.imul(we, ze) | 0, w = w + Math.imul(we, Je) | 0, w = w + Math.imul(Se, ze) | 0, M = M + Math.imul(Se, Je) | 0;
|
|
9731
9731
|
var xr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9732
|
-
P = (M + (w >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, A = Math.imul(
|
|
9732
|
+
P = (M + (w >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, A = Math.imul(U, ze), w = Math.imul(U, Je), w = w + Math.imul(I, ze) | 0, M = Math.imul(I, Je);
|
|
9733
9733
|
var Sr = (P + A | 0) + ((w & 8191) << 13) | 0;
|
|
9734
9734
|
return P = (M + (w >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, B[0] = Qe, B[1] = er, B[2] = fr, B[3] = ur, B[4] = cr, B[5] = nr, B[6] = hr, B[7] = lr, B[8] = dr, B[9] = pr, B[10] = vr, B[11] = br, B[12] = yr, B[13] = gr, B[14] = wr, B[15] = rr, B[16] = _r, B[17] = xr, B[18] = Sr, P !== 0 && (B[19] = P, p.length++), p;
|
|
9735
9735
|
};
|
|
@@ -10247,14 +10247,14 @@ function requireBn$1() {
|
|
|
10247
10247
|
}
|
|
10248
10248
|
return y.words[y.length - 1] === 0 && (y.length--, y.words[y.length - 1] === 0 && y.length--), y;
|
|
10249
10249
|
};
|
|
10250
|
-
function
|
|
10250
|
+
function j() {
|
|
10251
10251
|
D.call(
|
|
10252
10252
|
this,
|
|
10253
10253
|
"p224",
|
|
10254
10254
|
"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"
|
|
10255
10255
|
);
|
|
10256
10256
|
}
|
|
10257
|
-
d(
|
|
10257
|
+
d(j, D);
|
|
10258
10258
|
function J() {
|
|
10259
10259
|
D.call(
|
|
10260
10260
|
this,
|
|
@@ -10282,7 +10282,7 @@ function requireBn$1() {
|
|
|
10282
10282
|
if (y === "k256")
|
|
10283
10283
|
g = new $();
|
|
10284
10284
|
else if (y === "p224")
|
|
10285
|
-
g = new
|
|
10285
|
+
g = new j();
|
|
10286
10286
|
else if (y === "p192")
|
|
10287
10287
|
g = new J();
|
|
10288
10288
|
else if (y === "p25519")
|
|
@@ -10536,9 +10536,9 @@ function requireGeneratePrime() {
|
|
|
10536
10536
|
var E = 1048576, S = [];
|
|
10537
10537
|
S[0] = 2;
|
|
10538
10538
|
for (var O = 1, D = 3; D < E; D += 2) {
|
|
10539
|
-
for (var $ = Math.ceil(Math.sqrt(D)),
|
|
10539
|
+
for (var $ = Math.ceil(Math.sqrt(D)), j = 0; j < O && S[j] <= $ && D % S[j] !== 0; j++)
|
|
10540
10540
|
;
|
|
10541
|
-
O !==
|
|
10541
|
+
O !== j && S[j] <= $ || (S[O++] = D);
|
|
10542
10542
|
}
|
|
10543
10543
|
return l = S, S;
|
|
10544
10544
|
}
|
|
@@ -11132,7 +11132,7 @@ function requireBn() {
|
|
|
11132
11132
|
return M !== 0 ? _.words[x] = M | 0 : _.length--, _._strip();
|
|
11133
11133
|
}
|
|
11134
11134
|
var S = function(p, _, R) {
|
|
11135
|
-
var B = p.words, P = _.words, A = R.words, w = 0, M, x, L, K = B[0] | 0, Q = K & 8191, H = K >>> 13, N = B[1] | 0, F = N & 8191, ee = N >>> 13, ae = B[2] | 0, z = ae & 8191, G = ae >>> 13, fe = B[3] | 0, me = fe & 8191, xe = fe >>> 13, _e = B[4] | 0, qe = _e & 8191, Re = _e >>> 13, be = B[5] | 0, Fe = be & 8191, Be = be >>> 13, Me = B[6] | 0, Te = Me & 8191, oe = Me >>> 13, ce = B[7] | 0, ge = ce & 8191, we = ce >>> 13, Se = B[8] | 0, Oe = Se & 8191,
|
|
11135
|
+
var B = p.words, P = _.words, A = R.words, w = 0, M, x, L, K = B[0] | 0, Q = K & 8191, H = K >>> 13, N = B[1] | 0, F = N & 8191, ee = N >>> 13, ae = B[2] | 0, z = ae & 8191, G = ae >>> 13, fe = B[3] | 0, me = fe & 8191, xe = fe >>> 13, _e = B[4] | 0, qe = _e & 8191, Re = _e >>> 13, be = B[5] | 0, Fe = be & 8191, Be = be >>> 13, Me = B[6] | 0, Te = Me & 8191, oe = Me >>> 13, ce = B[7] | 0, ge = ce & 8191, we = ce >>> 13, Se = B[8] | 0, Oe = Se & 8191, U = Se >>> 13, I = B[9] | 0, C = I & 8191, X = I >>> 13, se = P[0] | 0, le = se & 8191, ve = se >>> 13, Ce = P[1] | 0, Le = Ce & 8191, Ie = Ce >>> 13, je = P[2] | 0, $e = je & 8191, He = je >>> 13, Ke = P[3] | 0, Ze = Ke & 8191, We = Ke >>> 13, Ye = P[4] | 0, Xe = Ye & 8191, W = Ye >>> 13, T = P[5] | 0, k = T & 8191, re = T >>> 13, ue = P[6] | 0, pe = ue & 8191, ye = ue >>> 13, ke = P[7] | 0, Ve = ke & 8191, Ne = ke >>> 13, Ge = P[8] | 0, Ue = Ge & 8191, ze = Ge >>> 13, Je = P[9] | 0, Qe = Je & 8191, er = Je >>> 13;
|
|
11136
11136
|
R.negative = p.negative ^ _.negative, R.length = 19, M = Math.imul(Q, le), x = Math.imul(Q, ve), x = x + Math.imul(H, le) | 0, L = Math.imul(H, ve);
|
|
11137
11137
|
var fr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11138
11138
|
w = (L + (x >>> 13) | 0) + (fr >>> 26) | 0, fr &= 67108863, M = Math.imul(F, le), x = Math.imul(F, ve), x = x + Math.imul(ee, le) | 0, L = Math.imul(ee, ve), M = M + Math.imul(Q, Le) | 0, x = x + Math.imul(Q, Ie) | 0, x = x + Math.imul(H, Le) | 0, L = L + Math.imul(H, Ie) | 0;
|
|
@@ -11149,25 +11149,25 @@ function requireBn() {
|
|
|
11149
11149
|
var dr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11150
11150
|
w = (L + (x >>> 13) | 0) + (dr >>> 26) | 0, dr &= 67108863, M = Math.imul(ge, le), x = Math.imul(ge, ve), x = x + Math.imul(we, le) | 0, L = Math.imul(we, ve), M = M + Math.imul(Te, Le) | 0, x = x + Math.imul(Te, Ie) | 0, x = x + Math.imul(oe, Le) | 0, L = L + Math.imul(oe, Ie) | 0, M = M + Math.imul(Fe, $e) | 0, x = x + Math.imul(Fe, He) | 0, x = x + Math.imul(Be, $e) | 0, L = L + Math.imul(Be, He) | 0, M = M + Math.imul(qe, Ze) | 0, x = x + Math.imul(qe, We) | 0, x = x + Math.imul(Re, Ze) | 0, L = L + Math.imul(Re, We) | 0, M = M + Math.imul(me, Xe) | 0, x = x + Math.imul(me, W) | 0, x = x + Math.imul(xe, Xe) | 0, L = L + Math.imul(xe, W) | 0, M = M + Math.imul(z, k) | 0, x = x + Math.imul(z, re) | 0, x = x + Math.imul(G, k) | 0, L = L + Math.imul(G, re) | 0, M = M + Math.imul(F, pe) | 0, x = x + Math.imul(F, ye) | 0, x = x + Math.imul(ee, pe) | 0, L = L + Math.imul(ee, ye) | 0, M = M + Math.imul(Q, Ve) | 0, x = x + Math.imul(Q, Ne) | 0, x = x + Math.imul(H, Ve) | 0, L = L + Math.imul(H, Ne) | 0;
|
|
11151
11151
|
var pr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11152
|
-
w = (L + (x >>> 13) | 0) + (pr >>> 26) | 0, pr &= 67108863, M = Math.imul(Oe, le), x = Math.imul(Oe, ve), x = x + Math.imul(
|
|
11152
|
+
w = (L + (x >>> 13) | 0) + (pr >>> 26) | 0, pr &= 67108863, M = Math.imul(Oe, le), x = Math.imul(Oe, ve), x = x + Math.imul(U, le) | 0, L = Math.imul(U, ve), M = M + Math.imul(ge, Le) | 0, x = x + Math.imul(ge, Ie) | 0, x = x + Math.imul(we, Le) | 0, L = L + Math.imul(we, Ie) | 0, M = M + Math.imul(Te, $e) | 0, x = x + Math.imul(Te, He) | 0, x = x + Math.imul(oe, $e) | 0, L = L + Math.imul(oe, He) | 0, M = M + Math.imul(Fe, Ze) | 0, x = x + Math.imul(Fe, We) | 0, x = x + Math.imul(Be, Ze) | 0, L = L + Math.imul(Be, We) | 0, M = M + Math.imul(qe, Xe) | 0, x = x + Math.imul(qe, W) | 0, x = x + Math.imul(Re, Xe) | 0, L = L + Math.imul(Re, W) | 0, M = M + Math.imul(me, k) | 0, x = x + Math.imul(me, re) | 0, x = x + Math.imul(xe, k) | 0, L = L + Math.imul(xe, re) | 0, M = M + Math.imul(z, pe) | 0, x = x + Math.imul(z, ye) | 0, x = x + Math.imul(G, pe) | 0, L = L + Math.imul(G, ye) | 0, M = M + Math.imul(F, Ve) | 0, x = x + Math.imul(F, Ne) | 0, x = x + Math.imul(ee, Ve) | 0, L = L + Math.imul(ee, Ne) | 0, M = M + Math.imul(Q, Ue) | 0, x = x + Math.imul(Q, ze) | 0, x = x + Math.imul(H, Ue) | 0, L = L + Math.imul(H, ze) | 0;
|
|
11153
11153
|
var vr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11154
|
-
w = (L + (x >>> 13) | 0) + (vr >>> 26) | 0, vr &= 67108863, M = Math.imul(C, le), x = Math.imul(C, ve), x = x + Math.imul(X, le) | 0, L = Math.imul(X, ve), M = M + Math.imul(Oe, Le) | 0, x = x + Math.imul(Oe, Ie) | 0, x = x + Math.imul(
|
|
11154
|
+
w = (L + (x >>> 13) | 0) + (vr >>> 26) | 0, vr &= 67108863, M = Math.imul(C, le), x = Math.imul(C, ve), x = x + Math.imul(X, le) | 0, L = Math.imul(X, ve), M = M + Math.imul(Oe, Le) | 0, x = x + Math.imul(Oe, Ie) | 0, x = x + Math.imul(U, Le) | 0, L = L + Math.imul(U, Ie) | 0, M = M + Math.imul(ge, $e) | 0, x = x + Math.imul(ge, He) | 0, x = x + Math.imul(we, $e) | 0, L = L + Math.imul(we, He) | 0, M = M + Math.imul(Te, Ze) | 0, x = x + Math.imul(Te, We) | 0, x = x + Math.imul(oe, Ze) | 0, L = L + Math.imul(oe, We) | 0, M = M + Math.imul(Fe, Xe) | 0, x = x + Math.imul(Fe, W) | 0, x = x + Math.imul(Be, Xe) | 0, L = L + Math.imul(Be, W) | 0, M = M + Math.imul(qe, k) | 0, x = x + Math.imul(qe, re) | 0, x = x + Math.imul(Re, k) | 0, L = L + Math.imul(Re, re) | 0, M = M + Math.imul(me, pe) | 0, x = x + Math.imul(me, ye) | 0, x = x + Math.imul(xe, pe) | 0, L = L + Math.imul(xe, ye) | 0, M = M + Math.imul(z, Ve) | 0, x = x + Math.imul(z, Ne) | 0, x = x + Math.imul(G, Ve) | 0, L = L + Math.imul(G, Ne) | 0, M = M + Math.imul(F, Ue) | 0, x = x + Math.imul(F, ze) | 0, x = x + Math.imul(ee, Ue) | 0, L = L + Math.imul(ee, ze) | 0, M = M + Math.imul(Q, Qe) | 0, x = x + Math.imul(Q, er) | 0, x = x + Math.imul(H, Qe) | 0, L = L + Math.imul(H, er) | 0;
|
|
11155
11155
|
var br = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11156
|
-
w = (L + (x >>> 13) | 0) + (br >>> 26) | 0, br &= 67108863, M = Math.imul(C, Le), x = Math.imul(C, Ie), x = x + Math.imul(X, Le) | 0, L = Math.imul(X, Ie), M = M + Math.imul(Oe, $e) | 0, x = x + Math.imul(Oe, He) | 0, x = x + Math.imul(
|
|
11156
|
+
w = (L + (x >>> 13) | 0) + (br >>> 26) | 0, br &= 67108863, M = Math.imul(C, Le), x = Math.imul(C, Ie), x = x + Math.imul(X, Le) | 0, L = Math.imul(X, Ie), M = M + Math.imul(Oe, $e) | 0, x = x + Math.imul(Oe, He) | 0, x = x + Math.imul(U, $e) | 0, L = L + Math.imul(U, He) | 0, M = M + Math.imul(ge, Ze) | 0, x = x + Math.imul(ge, We) | 0, x = x + Math.imul(we, Ze) | 0, L = L + Math.imul(we, We) | 0, M = M + Math.imul(Te, Xe) | 0, x = x + Math.imul(Te, W) | 0, x = x + Math.imul(oe, Xe) | 0, L = L + Math.imul(oe, W) | 0, M = M + Math.imul(Fe, k) | 0, x = x + Math.imul(Fe, re) | 0, x = x + Math.imul(Be, k) | 0, L = L + Math.imul(Be, re) | 0, M = M + Math.imul(qe, pe) | 0, x = x + Math.imul(qe, ye) | 0, x = x + Math.imul(Re, pe) | 0, L = L + Math.imul(Re, ye) | 0, M = M + Math.imul(me, Ve) | 0, x = x + Math.imul(me, Ne) | 0, x = x + Math.imul(xe, Ve) | 0, L = L + Math.imul(xe, Ne) | 0, M = M + Math.imul(z, Ue) | 0, x = x + Math.imul(z, ze) | 0, x = x + Math.imul(G, Ue) | 0, L = L + Math.imul(G, ze) | 0, M = M + Math.imul(F, Qe) | 0, x = x + Math.imul(F, er) | 0, x = x + Math.imul(ee, Qe) | 0, L = L + Math.imul(ee, er) | 0;
|
|
11157
11157
|
var yr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11158
|
-
w = (L + (x >>> 13) | 0) + (yr >>> 26) | 0, yr &= 67108863, M = Math.imul(C, $e), x = Math.imul(C, He), x = x + Math.imul(X, $e) | 0, L = Math.imul(X, He), M = M + Math.imul(Oe, Ze) | 0, x = x + Math.imul(Oe, We) | 0, x = x + Math.imul(
|
|
11158
|
+
w = (L + (x >>> 13) | 0) + (yr >>> 26) | 0, yr &= 67108863, M = Math.imul(C, $e), x = Math.imul(C, He), x = x + Math.imul(X, $e) | 0, L = Math.imul(X, He), M = M + Math.imul(Oe, Ze) | 0, x = x + Math.imul(Oe, We) | 0, x = x + Math.imul(U, Ze) | 0, L = L + Math.imul(U, We) | 0, M = M + Math.imul(ge, Xe) | 0, x = x + Math.imul(ge, W) | 0, x = x + Math.imul(we, Xe) | 0, L = L + Math.imul(we, W) | 0, M = M + Math.imul(Te, k) | 0, x = x + Math.imul(Te, re) | 0, x = x + Math.imul(oe, k) | 0, L = L + Math.imul(oe, re) | 0, M = M + Math.imul(Fe, pe) | 0, x = x + Math.imul(Fe, ye) | 0, x = x + Math.imul(Be, pe) | 0, L = L + Math.imul(Be, ye) | 0, M = M + Math.imul(qe, Ve) | 0, x = x + Math.imul(qe, Ne) | 0, x = x + Math.imul(Re, Ve) | 0, L = L + Math.imul(Re, Ne) | 0, M = M + Math.imul(me, Ue) | 0, x = x + Math.imul(me, ze) | 0, x = x + Math.imul(xe, Ue) | 0, L = L + Math.imul(xe, ze) | 0, M = M + Math.imul(z, Qe) | 0, x = x + Math.imul(z, er) | 0, x = x + Math.imul(G, Qe) | 0, L = L + Math.imul(G, er) | 0;
|
|
11159
11159
|
var gr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11160
|
-
w = (L + (x >>> 13) | 0) + (gr >>> 26) | 0, gr &= 67108863, M = Math.imul(C, Ze), x = Math.imul(C, We), x = x + Math.imul(X, Ze) | 0, L = Math.imul(X, We), M = M + Math.imul(Oe, Xe) | 0, x = x + Math.imul(Oe, W) | 0, x = x + Math.imul(
|
|
11160
|
+
w = (L + (x >>> 13) | 0) + (gr >>> 26) | 0, gr &= 67108863, M = Math.imul(C, Ze), x = Math.imul(C, We), x = x + Math.imul(X, Ze) | 0, L = Math.imul(X, We), M = M + Math.imul(Oe, Xe) | 0, x = x + Math.imul(Oe, W) | 0, x = x + Math.imul(U, Xe) | 0, L = L + Math.imul(U, W) | 0, M = M + Math.imul(ge, k) | 0, x = x + Math.imul(ge, re) | 0, x = x + Math.imul(we, k) | 0, L = L + Math.imul(we, re) | 0, M = M + Math.imul(Te, pe) | 0, x = x + Math.imul(Te, ye) | 0, x = x + Math.imul(oe, pe) | 0, L = L + Math.imul(oe, ye) | 0, M = M + Math.imul(Fe, Ve) | 0, x = x + Math.imul(Fe, Ne) | 0, x = x + Math.imul(Be, Ve) | 0, L = L + Math.imul(Be, Ne) | 0, M = M + Math.imul(qe, Ue) | 0, x = x + Math.imul(qe, ze) | 0, x = x + Math.imul(Re, Ue) | 0, L = L + Math.imul(Re, ze) | 0, M = M + Math.imul(me, Qe) | 0, x = x + Math.imul(me, er) | 0, x = x + Math.imul(xe, Qe) | 0, L = L + Math.imul(xe, er) | 0;
|
|
11161
11161
|
var wr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11162
|
-
w = (L + (x >>> 13) | 0) + (wr >>> 26) | 0, wr &= 67108863, M = Math.imul(C, Xe), x = Math.imul(C, W), x = x + Math.imul(X, Xe) | 0, L = Math.imul(X, W), M = M + Math.imul(Oe, k) | 0, x = x + Math.imul(Oe, re) | 0, x = x + Math.imul(
|
|
11162
|
+
w = (L + (x >>> 13) | 0) + (wr >>> 26) | 0, wr &= 67108863, M = Math.imul(C, Xe), x = Math.imul(C, W), x = x + Math.imul(X, Xe) | 0, L = Math.imul(X, W), M = M + Math.imul(Oe, k) | 0, x = x + Math.imul(Oe, re) | 0, x = x + Math.imul(U, k) | 0, L = L + Math.imul(U, re) | 0, M = M + Math.imul(ge, pe) | 0, x = x + Math.imul(ge, ye) | 0, x = x + Math.imul(we, pe) | 0, L = L + Math.imul(we, ye) | 0, M = M + Math.imul(Te, Ve) | 0, x = x + Math.imul(Te, Ne) | 0, x = x + Math.imul(oe, Ve) | 0, L = L + Math.imul(oe, Ne) | 0, M = M + Math.imul(Fe, Ue) | 0, x = x + Math.imul(Fe, ze) | 0, x = x + Math.imul(Be, Ue) | 0, L = L + Math.imul(Be, ze) | 0, M = M + Math.imul(qe, Qe) | 0, x = x + Math.imul(qe, er) | 0, x = x + Math.imul(Re, Qe) | 0, L = L + Math.imul(Re, er) | 0;
|
|
11163
11163
|
var rr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11164
|
-
w = (L + (x >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, M = Math.imul(C, k), x = Math.imul(C, re), x = x + Math.imul(X, k) | 0, L = Math.imul(X, re), M = M + Math.imul(Oe, pe) | 0, x = x + Math.imul(Oe, ye) | 0, x = x + Math.imul(
|
|
11164
|
+
w = (L + (x >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, M = Math.imul(C, k), x = Math.imul(C, re), x = x + Math.imul(X, k) | 0, L = Math.imul(X, re), M = M + Math.imul(Oe, pe) | 0, x = x + Math.imul(Oe, ye) | 0, x = x + Math.imul(U, pe) | 0, L = L + Math.imul(U, ye) | 0, M = M + Math.imul(ge, Ve) | 0, x = x + Math.imul(ge, Ne) | 0, x = x + Math.imul(we, Ve) | 0, L = L + Math.imul(we, Ne) | 0, M = M + Math.imul(Te, Ue) | 0, x = x + Math.imul(Te, ze) | 0, x = x + Math.imul(oe, Ue) | 0, L = L + Math.imul(oe, ze) | 0, M = M + Math.imul(Fe, Qe) | 0, x = x + Math.imul(Fe, er) | 0, x = x + Math.imul(Be, Qe) | 0, L = L + Math.imul(Be, er) | 0;
|
|
11165
11165
|
var _r = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11166
|
-
w = (L + (x >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, M = Math.imul(C, pe), x = Math.imul(C, ye), x = x + Math.imul(X, pe) | 0, L = Math.imul(X, ye), M = M + Math.imul(Oe, Ve) | 0, x = x + Math.imul(Oe, Ne) | 0, x = x + Math.imul(
|
|
11166
|
+
w = (L + (x >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, M = Math.imul(C, pe), x = Math.imul(C, ye), x = x + Math.imul(X, pe) | 0, L = Math.imul(X, ye), M = M + Math.imul(Oe, Ve) | 0, x = x + Math.imul(Oe, Ne) | 0, x = x + Math.imul(U, Ve) | 0, L = L + Math.imul(U, Ne) | 0, M = M + Math.imul(ge, Ue) | 0, x = x + Math.imul(ge, ze) | 0, x = x + Math.imul(we, Ue) | 0, L = L + Math.imul(we, ze) | 0, M = M + Math.imul(Te, Qe) | 0, x = x + Math.imul(Te, er) | 0, x = x + Math.imul(oe, Qe) | 0, L = L + Math.imul(oe, er) | 0;
|
|
11167
11167
|
var xr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11168
|
-
w = (L + (x >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, M = Math.imul(C, Ve), x = Math.imul(C, Ne), x = x + Math.imul(X, Ve) | 0, L = Math.imul(X, Ne), M = M + Math.imul(Oe,
|
|
11168
|
+
w = (L + (x >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, M = Math.imul(C, Ve), x = Math.imul(C, Ne), x = x + Math.imul(X, Ve) | 0, L = Math.imul(X, Ne), M = M + Math.imul(Oe, Ue) | 0, x = x + Math.imul(Oe, ze) | 0, x = x + Math.imul(U, Ue) | 0, L = L + Math.imul(U, ze) | 0, M = M + Math.imul(ge, Qe) | 0, x = x + Math.imul(ge, er) | 0, x = x + Math.imul(we, Qe) | 0, L = L + Math.imul(we, er) | 0;
|
|
11169
11169
|
var Sr = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11170
|
-
w = (L + (x >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, M = Math.imul(C,
|
|
11170
|
+
w = (L + (x >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, M = Math.imul(C, Ue), x = Math.imul(C, ze), x = x + Math.imul(X, Ue) | 0, L = Math.imul(X, ze), M = M + Math.imul(Oe, Qe) | 0, x = x + Math.imul(Oe, er) | 0, x = x + Math.imul(U, Qe) | 0, L = L + Math.imul(U, er) | 0;
|
|
11171
11171
|
var V = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
11172
11172
|
w = (L + (x >>> 13) | 0) + (V >>> 26) | 0, V &= 67108863, M = Math.imul(C, Qe), x = Math.imul(C, er), x = x + Math.imul(X, Qe) | 0, L = Math.imul(X, er);
|
|
11173
11173
|
var Y = (w + M | 0) + ((x & 8191) << 13) | 0;
|
|
@@ -11586,32 +11586,32 @@ function requireBn() {
|
|
|
11586
11586
|
p192: null,
|
|
11587
11587
|
p25519: null
|
|
11588
11588
|
};
|
|
11589
|
-
function
|
|
11589
|
+
function j(g, p) {
|
|
11590
11590
|
this.name = g, this.p = new r(p, 16), this.n = this.p.bitLength(), this.k = new r(1).iushln(this.n).isub(this.p), this.tmp = this._tmp();
|
|
11591
11591
|
}
|
|
11592
|
-
|
|
11592
|
+
j.prototype._tmp = function() {
|
|
11593
11593
|
var p = new r(null);
|
|
11594
11594
|
return p.words = new Array(Math.ceil(this.n / 13)), p;
|
|
11595
|
-
},
|
|
11595
|
+
}, j.prototype.ireduce = function(p) {
|
|
11596
11596
|
var _ = p, R;
|
|
11597
11597
|
do
|
|
11598
11598
|
this.split(_, this.tmp), _ = this.imulK(_), _ = _.iadd(this.tmp), R = _.bitLength();
|
|
11599
11599
|
while (R > this.n);
|
|
11600
11600
|
var B = R < this.n ? -1 : _.ucmp(this.p);
|
|
11601
11601
|
return B === 0 ? (_.words[0] = 0, _.length = 1) : B > 0 ? _.isub(this.p) : _.strip !== void 0 ? _.strip() : _._strip(), _;
|
|
11602
|
-
},
|
|
11602
|
+
}, j.prototype.split = function(p, _) {
|
|
11603
11603
|
p.iushrn(this.n, 0, _);
|
|
11604
|
-
},
|
|
11604
|
+
}, j.prototype.imulK = function(p) {
|
|
11605
11605
|
return p.imul(this.k);
|
|
11606
11606
|
};
|
|
11607
11607
|
function J() {
|
|
11608
|
-
|
|
11608
|
+
j.call(
|
|
11609
11609
|
this,
|
|
11610
11610
|
"k256",
|
|
11611
11611
|
"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"
|
|
11612
11612
|
);
|
|
11613
11613
|
}
|
|
11614
|
-
d(J,
|
|
11614
|
+
d(J, j), J.prototype.split = function(p, _) {
|
|
11615
11615
|
for (var R = 4194303, B = Math.min(p.length, 9), P = 0; P < B; P++)
|
|
11616
11616
|
_.words[P] = p.words[P];
|
|
11617
11617
|
if (_.length = B, p.length <= 9) {
|
|
@@ -11633,29 +11633,29 @@ function requireBn() {
|
|
|
11633
11633
|
return p.words[p.length - 1] === 0 && (p.length--, p.words[p.length - 1] === 0 && p.length--), p;
|
|
11634
11634
|
};
|
|
11635
11635
|
function ie() {
|
|
11636
|
-
|
|
11636
|
+
j.call(
|
|
11637
11637
|
this,
|
|
11638
11638
|
"p224",
|
|
11639
11639
|
"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"
|
|
11640
11640
|
);
|
|
11641
11641
|
}
|
|
11642
|
-
d(ie,
|
|
11642
|
+
d(ie, j);
|
|
11643
11643
|
function ne() {
|
|
11644
|
-
|
|
11644
|
+
j.call(
|
|
11645
11645
|
this,
|
|
11646
11646
|
"p192",
|
|
11647
11647
|
"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"
|
|
11648
11648
|
);
|
|
11649
11649
|
}
|
|
11650
|
-
d(ne,
|
|
11650
|
+
d(ne, j);
|
|
11651
11651
|
function de() {
|
|
11652
|
-
|
|
11652
|
+
j.call(
|
|
11653
11653
|
this,
|
|
11654
11654
|
"25519",
|
|
11655
11655
|
"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"
|
|
11656
11656
|
);
|
|
11657
11657
|
}
|
|
11658
|
-
d(de,
|
|
11658
|
+
d(de, j), de.prototype.imulK = function(p) {
|
|
11659
11659
|
for (var _ = 0, R = 0; R < p.length; R++) {
|
|
11660
11660
|
var B = (p.words[R] | 0) * 19 + _, P = B & 67108863;
|
|
11661
11661
|
B >>>= 26, p.words[R] = P, _ = B;
|
|
@@ -11966,9 +11966,9 @@ function requireBase$1() {
|
|
|
11966
11966
|
v[E] = D.wnd, b[E] = D.points;
|
|
11967
11967
|
}
|
|
11968
11968
|
for (E = s - 1; E >= 1; E -= 2) {
|
|
11969
|
-
var $ = E - 1,
|
|
11970
|
-
if (v[$] !== 1 || v[
|
|
11971
|
-
m[$] = u(e[$], v[$], this._bitLength), m[
|
|
11969
|
+
var $ = E - 1, j = E;
|
|
11970
|
+
if (v[$] !== 1 || v[j] !== 1) {
|
|
11971
|
+
m[$] = u(e[$], v[$], this._bitLength), m[j] = u(e[j], v[j], this._bitLength), q = Math.max(m[$].length, q), q = Math.max(m[j].length, q);
|
|
11972
11972
|
continue;
|
|
11973
11973
|
}
|
|
11974
11974
|
var J = [
|
|
@@ -11978,10 +11978,10 @@ function requireBase$1() {
|
|
|
11978
11978
|
/* 3 */
|
|
11979
11979
|
null,
|
|
11980
11980
|
/* 5 */
|
|
11981
|
-
n[
|
|
11981
|
+
n[j]
|
|
11982
11982
|
/* 7 */
|
|
11983
11983
|
];
|
|
11984
|
-
n[$].y.cmp(n[
|
|
11984
|
+
n[$].y.cmp(n[j].y) === 0 ? (J[1] = n[$].add(n[j]), J[2] = n[$].toJ().mixedAdd(n[j].neg())) : n[$].y.cmp(n[j].y.redNeg()) === 0 ? (J[1] = n[$].toJ().mixedAdd(n[j]), J[2] = n[$].add(n[j].neg())) : (J[1] = n[$].toJ().mixedAdd(n[j]), J[2] = n[$].toJ().mixedAdd(n[j].neg()));
|
|
11985
11985
|
var ie = [
|
|
11986
11986
|
-3,
|
|
11987
11987
|
/* -1 -1 */
|
|
@@ -12001,10 +12001,10 @@ function requireBase$1() {
|
|
|
12001
12001
|
/* 1 0 */
|
|
12002
12002
|
3
|
|
12003
12003
|
/* 1 1 */
|
|
12004
|
-
], ne = o(e[$], e[
|
|
12005
|
-
for (q = Math.max(ne[0].length, q), m[$] = new Array(q), m[
|
|
12004
|
+
], ne = o(e[$], e[j]);
|
|
12005
|
+
for (q = Math.max(ne[0].length, q), m[$] = new Array(q), m[j] = new Array(q), S = 0; S < q; S++) {
|
|
12006
12006
|
var de = ne[0][S] | 0, Z = ne[1][S] | 0;
|
|
12007
|
-
m[$][S] = ie[(de + 1) * 3 + (Z + 1)], m[
|
|
12007
|
+
m[$][S] = ie[(de + 1) * 3 + (Z + 1)], m[j][S] = 0, b[$] = J;
|
|
12008
12008
|
}
|
|
12009
12009
|
}
|
|
12010
12010
|
var y = this.jpoint(null, null, null), g = this._wnafT4;
|
|
@@ -12137,7 +12137,7 @@ function requireShort() {
|
|
|
12137
12137
|
var e = n === this.p ? this.red : t.mont(n), s = new t(2).toRed(e).redInvm(), l = s.redNeg(), v = new t(3).toRed(e).redNeg().redSqrt().redMul(s), b = l.redAdd(v).fromRed(), m = l.redSub(v).fromRed();
|
|
12138
12138
|
return [b, m];
|
|
12139
12139
|
}, r.prototype._getEndoBasis = function(n) {
|
|
12140
|
-
for (var e = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), s = n, l = this.n.clone(), v = new t(1), b = new t(0), m = new t(0), q = new t(1), E, S, O, D, $,
|
|
12140
|
+
for (var e = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), s = n, l = this.n.clone(), v = new t(1), b = new t(0), m = new t(0), q = new t(1), E, S, O, D, $, j, J, ie = 0, ne, de; s.cmpn(0) !== 0; ) {
|
|
12141
12141
|
var Z = l.div(s);
|
|
12142
12142
|
ne = l.sub(Z.mul(s)), de = m.sub(Z.mul(v));
|
|
12143
12143
|
var y = q.sub(Z.mul(b));
|
|
@@ -12147,11 +12147,11 @@ function requireShort() {
|
|
|
12147
12147
|
break;
|
|
12148
12148
|
J = ne, l = s, s = ne, m = v, v = de, q = b, b = y;
|
|
12149
12149
|
}
|
|
12150
|
-
$ = ne.neg(),
|
|
12151
|
-
var g = O.sqr().add(D.sqr()), p = $.sqr().add(
|
|
12152
|
-
return p.cmp(g) >= 0 && ($ = E,
|
|
12150
|
+
$ = ne.neg(), j = de;
|
|
12151
|
+
var g = O.sqr().add(D.sqr()), p = $.sqr().add(j.sqr());
|
|
12152
|
+
return p.cmp(g) >= 0 && ($ = E, j = S), O.negative && (O = O.neg(), D = D.neg()), $.negative && ($ = $.neg(), j = j.neg()), [
|
|
12153
12153
|
{ a: O, b: D },
|
|
12154
|
-
{ a: $, b:
|
|
12154
|
+
{ a: $, b: j }
|
|
12155
12155
|
];
|
|
12156
12156
|
}, r.prototype._endoSplit = function(n) {
|
|
12157
12157
|
var e = this.endo.basis, s = e[0], l = e[1], v = l.b.mul(n).divRound(this.n), b = s.b.neg().mul(n).divRound(this.n), m = v.mul(s.a), q = b.mul(l.a), E = v.mul(s.b), S = b.mul(l.b), O = n.sub(m).sub(q), D = E.add(S).neg();
|
|
@@ -12326,8 +12326,8 @@ function requireShort() {
|
|
|
12326
12326
|
var e = n.z.redSqr(), s = this.z.redSqr(), l = this.x.redMul(e), v = n.x.redMul(s), b = this.y.redMul(e.redMul(n.z)), m = n.y.redMul(s.redMul(this.z)), q = l.redSub(v), E = b.redSub(m);
|
|
12327
12327
|
if (q.cmpn(0) === 0)
|
|
12328
12328
|
return E.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
|
|
12329
|
-
var S = q.redSqr(), O = S.redMul(q), D = l.redMul(S), $ = E.redSqr().redIAdd(O).redISub(D).redISub(D),
|
|
12330
|
-
return this.curve.jpoint($,
|
|
12329
|
+
var S = q.redSqr(), O = S.redMul(q), D = l.redMul(S), $ = E.redSqr().redIAdd(O).redISub(D).redISub(D), j = E.redMul(D.redISub($)).redISub(b.redMul(O)), J = this.z.redMul(n.z).redMul(q);
|
|
12330
|
+
return this.curve.jpoint($, j, J);
|
|
12331
12331
|
}, f.prototype.mixedAdd = function(n) {
|
|
12332
12332
|
if (this.isInfinity())
|
|
12333
12333
|
return n.toJ();
|
|
@@ -12336,8 +12336,8 @@ function requireShort() {
|
|
|
12336
12336
|
var e = this.z.redSqr(), s = this.x, l = n.x.redMul(e), v = this.y, b = n.y.redMul(e).redMul(this.z), m = s.redSub(l), q = v.redSub(b);
|
|
12337
12337
|
if (m.cmpn(0) === 0)
|
|
12338
12338
|
return q.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
|
|
12339
|
-
var E = m.redSqr(), S = E.redMul(m), O = s.redMul(E), D = q.redSqr().redIAdd(S).redISub(O).redISub(O), $ = q.redMul(O.redISub(D)).redISub(v.redMul(S)),
|
|
12340
|
-
return this.curve.jpoint(D, $,
|
|
12339
|
+
var E = m.redSqr(), S = E.redMul(m), O = s.redMul(E), D = q.redSqr().redIAdd(S).redISub(O).redISub(O), $ = q.redMul(O.redISub(D)).redISub(v.redMul(S)), j = this.z.redMul(m);
|
|
12340
|
+
return this.curve.jpoint(D, $, j);
|
|
12341
12341
|
}, f.prototype.dblp = function(n) {
|
|
12342
12342
|
if (n === 0)
|
|
12343
12343
|
return this;
|
|
@@ -12354,7 +12354,7 @@ function requireShort() {
|
|
|
12354
12354
|
}
|
|
12355
12355
|
var l = this.curve.a, v = this.curve.tinv, b = this.x, m = this.y, q = this.z, E = q.redSqr().redSqr(), S = m.redAdd(m);
|
|
12356
12356
|
for (e = 0; e < n; e++) {
|
|
12357
|
-
var O = b.redSqr(), D = S.redSqr(), $ = D.redSqr(),
|
|
12357
|
+
var O = b.redSqr(), D = S.redSqr(), $ = D.redSqr(), j = O.redAdd(O).redIAdd(O).redIAdd(l.redMul(E)), J = b.redMul(D), ie = j.redSqr().redISub(J.redAdd(J)), ne = J.redISub(ie), de = j.redMul(ne);
|
|
12358
12358
|
de = de.redIAdd(de).redISub($);
|
|
12359
12359
|
var Z = S.redMul(q);
|
|
12360
12360
|
e + 1 < n && (E = E.redMul($)), b = ie, q = Z, S = de;
|
|
@@ -12370,10 +12370,10 @@ function requireShort() {
|
|
|
12370
12370
|
var q = l.redAdd(l).redIAdd(l), E = q.redSqr().redISub(m).redISub(m), S = b.redIAdd(b);
|
|
12371
12371
|
S = S.redIAdd(S), S = S.redIAdd(S), n = E, e = q.redMul(m.redISub(E)).redISub(S), s = this.y.redAdd(this.y);
|
|
12372
12372
|
} else {
|
|
12373
|
-
var O = this.x.redSqr(), D = this.y.redSqr(), $ = D.redSqr(),
|
|
12374
|
-
|
|
12373
|
+
var O = this.x.redSqr(), D = this.y.redSqr(), $ = D.redSqr(), j = this.x.redAdd(D).redSqr().redISub(O).redISub($);
|
|
12374
|
+
j = j.redIAdd(j);
|
|
12375
12375
|
var J = O.redAdd(O).redIAdd(O), ie = J.redSqr(), ne = $.redIAdd($);
|
|
12376
|
-
ne = ne.redIAdd(ne), ne = ne.redIAdd(ne), n = ie.redISub(
|
|
12376
|
+
ne = ne.redIAdd(ne), ne = ne.redIAdd(ne), n = ie.redISub(j).redISub(j), e = J.redMul(j.redISub(n)).redISub(ne), s = this.y.redMul(this.z), s = s.redIAdd(s);
|
|
12377
12377
|
}
|
|
12378
12378
|
return this.curve.jpoint(n, e, s);
|
|
12379
12379
|
}, f.prototype._threeDbl = function() {
|
|
@@ -12386,14 +12386,14 @@ function requireShort() {
|
|
|
12386
12386
|
var S = b.redIAdd(b);
|
|
12387
12387
|
S = S.redIAdd(S), S = S.redIAdd(S), e = q.redMul(m.redISub(E)).redISub(S), s = this.y.redAdd(this.y);
|
|
12388
12388
|
} else {
|
|
12389
|
-
var O = this.z.redSqr(), D = this.y.redSqr(), $ = this.x.redMul(D),
|
|
12390
|
-
|
|
12389
|
+
var O = this.z.redSqr(), D = this.y.redSqr(), $ = this.x.redMul(D), j = this.x.redSub(O).redMul(this.x.redAdd(O));
|
|
12390
|
+
j = j.redAdd(j).redIAdd(j);
|
|
12391
12391
|
var J = $.redIAdd($);
|
|
12392
12392
|
J = J.redIAdd(J);
|
|
12393
12393
|
var ie = J.redAdd(J);
|
|
12394
|
-
n =
|
|
12394
|
+
n = j.redSqr().redISub(ie), s = this.y.redAdd(this.z).redSqr().redISub(D).redISub(O);
|
|
12395
12395
|
var ne = D.redSqr();
|
|
12396
|
-
ne = ne.redIAdd(ne), ne = ne.redIAdd(ne), ne = ne.redIAdd(ne), e =
|
|
12396
|
+
ne = ne.redIAdd(ne), ne = ne.redIAdd(ne), ne = ne.redIAdd(ne), e = j.redMul(J.redISub(n)).redISub(ne);
|
|
12397
12397
|
}
|
|
12398
12398
|
return this.curve.jpoint(n, e, s);
|
|
12399
12399
|
}, f.prototype._dbl = function() {
|
|
@@ -12401,8 +12401,8 @@ function requireShort() {
|
|
|
12401
12401
|
E = E.redIAdd(E);
|
|
12402
12402
|
var S = E.redMul(m), O = q.redSqr().redISub(S.redAdd(S)), D = S.redISub(O), $ = m.redSqr();
|
|
12403
12403
|
$ = $.redIAdd($), $ = $.redIAdd($), $ = $.redIAdd($);
|
|
12404
|
-
var
|
|
12405
|
-
return this.curve.jpoint(O,
|
|
12404
|
+
var j = q.redMul(D).redISub($), J = s.redAdd(s).redMul(l);
|
|
12405
|
+
return this.curve.jpoint(O, j, J);
|
|
12406
12406
|
}, f.prototype.trpl = function() {
|
|
12407
12407
|
if (!this.curve.zeroA)
|
|
12408
12408
|
return this.dbl().add(this);
|
|
@@ -12416,8 +12416,8 @@ function requireShort() {
|
|
|
12416
12416
|
D = D.redIAdd(D), D = D.redIAdd(D);
|
|
12417
12417
|
var $ = this.y.redMul(S.redMul(E.redISub(S)).redISub(m.redMul(q)));
|
|
12418
12418
|
$ = $.redIAdd($), $ = $.redIAdd($), $ = $.redIAdd($);
|
|
12419
|
-
var
|
|
12420
|
-
return this.curve.jpoint(D, $,
|
|
12419
|
+
var j = this.z.redAdd(m).redSqr().redISub(s).redISub(q);
|
|
12420
|
+
return this.curve.jpoint(D, $, j);
|
|
12421
12421
|
}, f.prototype.mul = function(n, e) {
|
|
12422
12422
|
return n = new t(n, e), this.curve._wnafMul(this, n);
|
|
12423
12423
|
}, f.prototype.eq = function(n) {
|
|
@@ -12748,13 +12748,13 @@ function requireUtils$1() {
|
|
|
12748
12748
|
return w >>> 0;
|
|
12749
12749
|
}
|
|
12750
12750
|
utils.sum64_4_lo = $;
|
|
12751
|
-
function
|
|
12751
|
+
function j(y, g, p, _, R, B, P, A, w, M) {
|
|
12752
12752
|
var x = 0, L = g;
|
|
12753
12753
|
L = L + _ >>> 0, x += L < g ? 1 : 0, L = L + B >>> 0, x += L < B ? 1 : 0, L = L + A >>> 0, x += L < A ? 1 : 0, L = L + M >>> 0, x += L < M ? 1 : 0;
|
|
12754
12754
|
var K = y + p + R + P + w + x;
|
|
12755
12755
|
return K >>> 0;
|
|
12756
12756
|
}
|
|
12757
|
-
utils.sum64_5_hi =
|
|
12757
|
+
utils.sum64_5_hi = j;
|
|
12758
12758
|
function J(y, g, p, _, R, B, P, A, w, M) {
|
|
12759
12759
|
var x = g + _ + B + A + M;
|
|
12760
12760
|
return x >>> 0;
|
|
@@ -12982,12 +12982,12 @@ function require_256() {
|
|
|
12982
12982
|
O[D] = E[S + D];
|
|
12983
12983
|
for (; D < O.length; D++)
|
|
12984
12984
|
O[D] = r(l(O[D - 2]), O[D - 7], s(O[D - 15]), O[D - 16]);
|
|
12985
|
-
var $ = this.h[0],
|
|
12985
|
+
var $ = this.h[0], j = this.h[1], J = this.h[2], ie = this.h[3], ne = this.h[4], de = this.h[5], Z = this.h[6], y = this.h[7];
|
|
12986
12986
|
for (o(this.k.length === O.length), D = 0; D < O.length; D++) {
|
|
12987
|
-
var g = h(y, e(ne), f(ne, de, Z), this.k[D], O[D]), p = d(n($), a($,
|
|
12988
|
-
y = Z, Z = de, de = ne, ne = d(ie, g), ie = J, J =
|
|
12987
|
+
var g = h(y, e(ne), f(ne, de, Z), this.k[D], O[D]), p = d(n($), a($, j, J));
|
|
12988
|
+
y = Z, Z = de, de = ne, ne = d(ie, g), ie = J, J = j, j = $, $ = d(g, p);
|
|
12989
12989
|
}
|
|
12990
|
-
this.h[0] = d(this.h[0], $), this.h[1] = d(this.h[1],
|
|
12990
|
+
this.h[0] = d(this.h[0], $), this.h[1] = d(this.h[1], j), this.h[2] = d(this.h[2], J), this.h[3] = d(this.h[3], ie), this.h[4] = d(this.h[4], ne), this.h[5] = d(this.h[5], de), this.h[6] = d(this.h[6], Z), this.h[7] = d(this.h[7], y);
|
|
12991
12991
|
}, m.prototype._digest = function(E) {
|
|
12992
12992
|
return E === "hex" ? c.toHex32(this.h, "big") : c.split32(this.h, "big");
|
|
12993
12993
|
}, _256;
|
|
@@ -13256,7 +13256,7 @@ function require_512() {
|
|
|
13256
13256
|
Me,
|
|
13257
13257
|
Te
|
|
13258
13258
|
);
|
|
13259
|
-
me = $(B, P), xe =
|
|
13259
|
+
me = $(B, P), xe = j(B, P), _e = O(B, P, A, w, M), qe = D(B, P, A, w, M, x);
|
|
13260
13260
|
var ge = a(me, xe, _e, qe), we = n(me, xe, _e, qe);
|
|
13261
13261
|
z = ee, G = ae, ee = N, ae = F, N = Q, F = H, Q = a(L, K, oe, ce), H = n(K, K, oe, ce), L = M, K = x, M = A, x = w, A = B, w = P, B = a(oe, ce, ge, we), P = n(oe, ce, ge, we);
|
|
13262
13262
|
}
|
|
@@ -13284,7 +13284,7 @@ function require_512() {
|
|
|
13284
13284
|
var _ = o(g, p, 28), R = o(p, g, 2), B = o(p, g, 7), P = _ ^ R ^ B;
|
|
13285
13285
|
return P < 0 && (P += 4294967296), P;
|
|
13286
13286
|
}
|
|
13287
|
-
function
|
|
13287
|
+
function j(g, p) {
|
|
13288
13288
|
var _ = d(g, p, 28), R = d(p, g, 2), B = d(p, g, 7), P = _ ^ R ^ B;
|
|
13289
13289
|
return P < 0 && (P += 4294967296), P;
|
|
13290
13290
|
}
|
|
@@ -13360,15 +13360,15 @@ function requireRipemd() {
|
|
|
13360
13360
|
h.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little";
|
|
13361
13361
|
}
|
|
13362
13362
|
c.inherits(f, h), ripemd.ripemd160 = f, f.blockSize = 512, f.outSize = 160, f.hmacStrength = 192, f.padLength = 64, f.prototype._update = function(q, E) {
|
|
13363
|
-
for (var S = this.h[0], O = this.h[1], D = this.h[2], $ = this.h[3],
|
|
13363
|
+
for (var S = this.h[0], O = this.h[1], D = this.h[2], $ = this.h[3], j = this.h[4], J = S, ie = O, ne = D, de = $, Z = j, y = 0; y < 80; y++) {
|
|
13364
13364
|
var g = o(
|
|
13365
13365
|
u(
|
|
13366
13366
|
r(S, a(y, O, D, $), q[s[y] + E], n(y)),
|
|
13367
13367
|
v[y]
|
|
13368
13368
|
),
|
|
13369
|
-
|
|
13369
|
+
j
|
|
13370
13370
|
);
|
|
13371
|
-
S =
|
|
13371
|
+
S = j, j = $, $ = u(D, 10), D = O, O = g, g = o(
|
|
13372
13372
|
u(
|
|
13373
13373
|
r(J, a(79 - y, ie, ne, de), q[l[y] + E], e(y)),
|
|
13374
13374
|
b[y]
|
|
@@ -13376,7 +13376,7 @@ function requireRipemd() {
|
|
|
13376
13376
|
Z
|
|
13377
13377
|
), J = Z, Z = de, de = u(ne, 10), ne = ie, ie = g;
|
|
13378
13378
|
}
|
|
13379
|
-
g = d(this.h[1], D, de), this.h[1] = d(this.h[2], $, Z), this.h[2] = d(this.h[3],
|
|
13379
|
+
g = d(this.h[1], D, de), this.h[1] = d(this.h[2], $, Z), this.h[2] = d(this.h[3], j, J), this.h[3] = d(this.h[4], S, ie), this.h[4] = d(this.h[0], O, ne), this.h[0] = g;
|
|
13380
13380
|
}, f.prototype._digest = function(q) {
|
|
13381
13381
|
return q === "hex" ? c.toHex32(this.h, "little") : c.split32(this.h, "little");
|
|
13382
13382
|
};
|
|
@@ -14914,13 +14914,13 @@ function requireEc() {
|
|
|
14914
14914
|
}), O = this.n.sub(new c(1)), D = 0; ; D++) {
|
|
14915
14915
|
var $ = v.k ? v.k(D) : new c(S.generate(this.n.byteLength()));
|
|
14916
14916
|
if ($ = this._truncateToN($, !0), !($.cmpn(1) <= 0 || $.cmp(O) >= 0)) {
|
|
14917
|
-
var
|
|
14918
|
-
if (!
|
|
14919
|
-
var J =
|
|
14917
|
+
var j = this.g.mul($);
|
|
14918
|
+
if (!j.isInfinity()) {
|
|
14919
|
+
var J = j.getX(), ie = J.umod(this.n);
|
|
14920
14920
|
if (ie.cmpn(0) !== 0) {
|
|
14921
14921
|
var ne = $.invm(this.n).mul(ie.mul(s.getPrivate()).iadd(e));
|
|
14922
14922
|
if (ne = ne.umod(this.n), ne.cmpn(0) !== 0) {
|
|
14923
|
-
var de = (
|
|
14923
|
+
var de = (j.getY().isOdd() ? 1 : 0) | (J.cmp(ie) !== 0 ? 2 : 0);
|
|
14924
14924
|
return v.canonical && ne.cmp(this.nh) > 0 && (ne = this.n.sub(ne), de ^= 1), new f({ r: ie, s: ne, recoveryParam: de });
|
|
14925
14925
|
}
|
|
14926
14926
|
}
|
|
@@ -15546,8 +15546,8 @@ function requireNode() {
|
|
|
15546
15546
|
if (!l.any && l.choice === null && l.children !== null && l.children.forEach(function(ie) {
|
|
15547
15547
|
ie._decode(e, s);
|
|
15548
15548
|
}), l.contains && (l.tag === "octstr" || l.tag === "bitstr")) {
|
|
15549
|
-
var
|
|
15550
|
-
v = this._getUse(l.contains, e._reporterState.obj)._decode(
|
|
15549
|
+
var j = new u(v);
|
|
15550
|
+
v = this._getUse(l.contains, e._reporterState.obj)._decode(j, s);
|
|
15551
15551
|
}
|
|
15552
15552
|
}
|
|
15553
15553
|
return l.obj && b && (v = e.leaveObject(S)), l.key !== null && (v !== null || b === !0) ? e.leaveKey(m, l.key, v) : m !== null && e.exitKey(m), v;
|
|
@@ -15606,8 +15606,8 @@ function requireNode() {
|
|
|
15606
15606
|
var $ = s.enterKey(D._baseState.key);
|
|
15607
15607
|
if (typeof e != "object")
|
|
15608
15608
|
return s.error("Child expected, but input is not object");
|
|
15609
|
-
var
|
|
15610
|
-
return s.leaveKey($),
|
|
15609
|
+
var j = D._encode(e[D._baseState.key], s, e);
|
|
15610
|
+
return s.leaveKey($), j;
|
|
15611
15611
|
}, this).filter(function(D) {
|
|
15612
15612
|
return D;
|
|
15613
15613
|
}), b = this._createEncoderBuffer(b);
|
|
@@ -16403,39 +16403,39 @@ function requireSign() {
|
|
|
16403
16403
|
hasRequiredSign = 1;
|
|
16404
16404
|
var c = requireSafeBuffer$1().Buffer, t = requireBrowser$8(), u = /* @__PURE__ */ requireBrowserifyRsa(), o = requireElliptic().ec, d = requireBn(), r = requireParseAsn1(), h = require$$4, f = 1;
|
|
16405
16405
|
function a(E, S, O, D, $) {
|
|
16406
|
-
var
|
|
16407
|
-
if (
|
|
16406
|
+
var j = r(S);
|
|
16407
|
+
if (j.curve) {
|
|
16408
16408
|
if (D !== "ecdsa" && D !== "ecdsa/rsa")
|
|
16409
16409
|
throw new Error("wrong private key type");
|
|
16410
|
-
return n(E,
|
|
16411
|
-
} else if (
|
|
16410
|
+
return n(E, j);
|
|
16411
|
+
} else if (j.type === "dsa") {
|
|
16412
16412
|
if (D !== "dsa")
|
|
16413
16413
|
throw new Error("wrong private key type");
|
|
16414
|
-
return e(E,
|
|
16414
|
+
return e(E, j, O);
|
|
16415
16415
|
}
|
|
16416
16416
|
if (D !== "rsa" && D !== "ecdsa/rsa")
|
|
16417
16417
|
throw new Error("wrong private key type");
|
|
16418
16418
|
if (S.padding !== void 0 && S.padding !== f)
|
|
16419
16419
|
throw new Error("illegal or unsupported padding mode");
|
|
16420
16420
|
E = c.concat([$, E]);
|
|
16421
|
-
for (var J =
|
|
16421
|
+
for (var J = j.modulus.byteLength(), ie = [0, 1]; E.length + ie.length + 1 < J; )
|
|
16422
16422
|
ie.push(255);
|
|
16423
16423
|
ie.push(0);
|
|
16424
16424
|
for (var ne = -1; ++ne < E.length; )
|
|
16425
16425
|
ie.push(E[ne]);
|
|
16426
|
-
var de = u(ie,
|
|
16426
|
+
var de = u(ie, j);
|
|
16427
16427
|
return de;
|
|
16428
16428
|
}
|
|
16429
16429
|
function n(E, S) {
|
|
16430
16430
|
var O = h[S.curve.join(".")];
|
|
16431
16431
|
if (!O)
|
|
16432
16432
|
throw new Error("unknown curve " + S.curve.join("."));
|
|
16433
|
-
var D = new o(O), $ = D.keyFromPrivate(S.privateKey),
|
|
16434
|
-
return c.from(
|
|
16433
|
+
var D = new o(O), $ = D.keyFromPrivate(S.privateKey), j = $.sign(E);
|
|
16434
|
+
return c.from(j.toDER());
|
|
16435
16435
|
}
|
|
16436
16436
|
function e(E, S, O) {
|
|
16437
|
-
for (var D = S.params.priv_key, $ = S.params.p,
|
|
16438
|
-
ne = m(
|
|
16437
|
+
for (var D = S.params.priv_key, $ = S.params.p, j = S.params.q, J = S.params.g, ie = new d(0), ne, de = v(E, j).mod(j), Z = !1, y = l(D, j, E, O); Z === !1; )
|
|
16438
|
+
ne = m(j, y, O), ie = q(J, ne, $, j), Z = ne.invm(j).imul(de.add(D.mul(ie))).mod(j), Z.cmpn(0) === 0 && (Z = !1, ie = new d(0));
|
|
16439
16439
|
return s(ie, Z);
|
|
16440
16440
|
}
|
|
16441
16441
|
function s(E, S) {
|
|
@@ -16453,9 +16453,9 @@ function requireSign() {
|
|
|
16453
16453
|
var $ = c.alloc(S.byteLength() - E.length);
|
|
16454
16454
|
E = c.concat([$, E]);
|
|
16455
16455
|
}
|
|
16456
|
-
var
|
|
16456
|
+
var j = O.length, J = b(O, S), ie = c.alloc(j);
|
|
16457
16457
|
ie.fill(1);
|
|
16458
|
-
var ne = c.alloc(
|
|
16458
|
+
var ne = c.alloc(j);
|
|
16459
16459
|
return ne = t(D, ne).update(ie).update(c.from([0])).update(E).update(J).digest(), ie = t(D, ne).update(ie).digest(), ne = t(D, ne).update(ie).update(c.from([1])).update(E).update(J).digest(), ie = t(D, ne).update(ie).digest(), { k: ne, v: ie };
|
|
16460
16460
|
}
|
|
16461
16461
|
function v(E, S) {
|
|
@@ -16723,8 +16723,8 @@ function requirePublicEncrypt() {
|
|
|
16723
16723
|
var b = l.modulus.byteLength(), m = v.length, q = u("sha1").update(a.alloc(0)).digest(), E = q.length, S = 2 * E;
|
|
16724
16724
|
if (m > b - S - 2)
|
|
16725
16725
|
throw new Error("message too long");
|
|
16726
|
-
var O = a.alloc(b - m - S - 2), D = b - E - 1, $ = t(E),
|
|
16727
|
-
return new r(a.concat([a.alloc(1), J,
|
|
16726
|
+
var O = a.alloc(b - m - S - 2), D = b - E - 1, $ = t(E), j = d(a.concat([q, O, a.alloc(1, 1), v], D), o($, D)), J = d($, o(j, E));
|
|
16727
|
+
return new r(a.concat([a.alloc(1), J, j], b));
|
|
16728
16728
|
}
|
|
16729
16729
|
function e(l, v, b) {
|
|
16730
16730
|
var m = v.length, q = l.modulus.byteLength();
|
|
@@ -17078,7 +17078,7 @@ function requireJsbn() {
|
|
|
17078
17078
|
var V = d();
|
|
17079
17079
|
return o.ZERO.subTo(this, V), V;
|
|
17080
17080
|
}
|
|
17081
|
-
function
|
|
17081
|
+
function j() {
|
|
17082
17082
|
return this.s < 0 ? this.negate() : this;
|
|
17083
17083
|
}
|
|
17084
17084
|
function J(V) {
|
|
@@ -17357,12 +17357,12 @@ function requireJsbn() {
|
|
|
17357
17357
|
}
|
|
17358
17358
|
te.s = Y(this.s, V.s), te.clamp();
|
|
17359
17359
|
}
|
|
17360
|
-
function
|
|
17360
|
+
function U(V, Y) {
|
|
17361
17361
|
return V & Y;
|
|
17362
17362
|
}
|
|
17363
17363
|
function I(V) {
|
|
17364
17364
|
var Y = d();
|
|
17365
|
-
return this.bitwiseTo(V,
|
|
17365
|
+
return this.bitwiseTo(V, U, Y), Y;
|
|
17366
17366
|
}
|
|
17367
17367
|
function C(V, Y) {
|
|
17368
17368
|
return V | Y;
|
|
@@ -17393,7 +17393,7 @@ function requireJsbn() {
|
|
|
17393
17393
|
var Y = d();
|
|
17394
17394
|
return V < 0 ? this.rShiftTo(-V, Y) : this.lShiftTo(V, Y), Y;
|
|
17395
17395
|
}
|
|
17396
|
-
function
|
|
17396
|
+
function je(V) {
|
|
17397
17397
|
var Y = d();
|
|
17398
17398
|
return V < 0 ? this.lShiftTo(-V, Y) : this.rShiftTo(V, Y), Y;
|
|
17399
17399
|
}
|
|
@@ -17478,7 +17478,7 @@ function requireJsbn() {
|
|
|
17478
17478
|
function Ge(V) {
|
|
17479
17479
|
this[this.t] = this.am(0, V - 1, this, 0, 0, this.t), ++this.t, this.clamp();
|
|
17480
17480
|
}
|
|
17481
|
-
function
|
|
17481
|
+
function Ue(V, Y) {
|
|
17482
17482
|
if (V !== 0) {
|
|
17483
17483
|
for (; this.t <= Y; ) this[this.t++] = 0;
|
|
17484
17484
|
for (this[Y] += V; this[Y] >= this.DV; )
|
|
@@ -17632,7 +17632,7 @@ function requireJsbn() {
|
|
|
17632
17632
|
}
|
|
17633
17633
|
return !0;
|
|
17634
17634
|
}
|
|
17635
|
-
return o.prototype.copyTo = v, o.prototype.fromInt = b, o.prototype.fromString = q, o.prototype.fromByteArray = E, o.prototype.fromBuffer = S, o.prototype.clamp = O, o.prototype.dlShiftTo = de, o.prototype.drShiftTo = Z, o.prototype.lShiftTo = y, o.prototype.rShiftTo = g, o.prototype.subTo = p, o.prototype.multiplyTo = _, o.prototype.squareTo = R, o.prototype.divRemTo = B, o.prototype.invDigit = Q, o.prototype.isEven = G, o.prototype.exp = fe, o.prototype.chunkSize = be, o.prototype.toRadix = Be, o.prototype.fromRadix = Me, o.prototype.fromNumber = Te, o.prototype.bitwiseTo = Oe, o.prototype.changeBit = Ye, o.prototype.addTo = k, o.prototype.dMultiply = Ge, o.prototype.dAddOffset =
|
|
17635
|
+
return o.prototype.copyTo = v, o.prototype.fromInt = b, o.prototype.fromString = q, o.prototype.fromByteArray = E, o.prototype.fromBuffer = S, o.prototype.clamp = O, o.prototype.dlShiftTo = de, o.prototype.drShiftTo = Z, o.prototype.lShiftTo = y, o.prototype.rShiftTo = g, o.prototype.subTo = p, o.prototype.multiplyTo = _, o.prototype.squareTo = R, o.prototype.divRemTo = B, o.prototype.invDigit = Q, o.prototype.isEven = G, o.prototype.exp = fe, o.prototype.chunkSize = be, o.prototype.toRadix = Be, o.prototype.fromRadix = Me, o.prototype.fromNumber = Te, o.prototype.bitwiseTo = Oe, o.prototype.changeBit = Ye, o.prototype.addTo = k, o.prototype.dMultiply = Ge, o.prototype.dAddOffset = Ue, o.prototype.multiplyLowerTo = ur, o.prototype.multiplyUpperTo = cr, o.prototype.modInt = gr, o.prototype.millerRabin = Sr, o.prototype.toString = D, o.prototype.negate = $, o.prototype.abs = j, o.prototype.compareTo = J, o.prototype.bitLength = ne, o.prototype.mod = P, o.prototype.modPowInt = me, o.prototype.clone = xe, o.prototype.intValue = _e, o.prototype.byteValue = qe, o.prototype.shortValue = Re, o.prototype.signum = Fe, o.prototype.toByteArray = oe, o.prototype.toBuffer = ce, o.prototype.equals = ge, o.prototype.min = we, o.prototype.max = Se, o.prototype.and = I, o.prototype.or = X, o.prototype.xor = le, o.prototype.andNot = Ce, o.prototype.not = Le, o.prototype.shiftLeft = Ie, o.prototype.shiftRight = je, o.prototype.getLowestSetBit = He, o.prototype.bitCount = Ze, o.prototype.testBit = We, o.prototype.setBit = Xe, o.prototype.clearBit = W, o.prototype.flipBit = T, o.prototype.add = re, o.prototype.subtract = ue, o.prototype.multiply = pe, o.prototype.divide = ke, o.prototype.remainder = Ve, o.prototype.divideAndRemainder = Ne, o.prototype.modPow = br, o.prototype.modInverse = wr, o.prototype.pow = fr, o.prototype.gcd = yr, o.prototype.isProbablePrime = xr, o.int2char = s, o.ZERO = m(0), o.ONE = m(1), o.prototype.square = ye, jsbn = o, jsbn;
|
|
17636
17636
|
}
|
|
17637
17637
|
var schemes = { exports: {} }, pkcs1$1 = { exports: {} }, hasRequiredPkcs1$1;
|
|
17638
17638
|
function requirePkcs1$1() {
|
|
@@ -17851,8 +17851,8 @@ function requirePss() {
|
|
|
17851
17851
|
S.fill(0);
|
|
17852
17852
|
var O = Buffer.alloc(S.length + 1 + m.length);
|
|
17853
17853
|
S.copy(O), O[S.length] = 1, m.copy(O, S.length + 1);
|
|
17854
|
-
for (var D = s(E, O.length, e), $ = Buffer.alloc(O.length),
|
|
17855
|
-
$[
|
|
17854
|
+
for (var D = s(E, O.length, e), $ = Buffer.alloc(O.length), j = 0; j < D.length; j++)
|
|
17855
|
+
$[j] = O[j] ^ D[j];
|
|
17856
17856
|
var J = 8 * b - n, ie = 255 ^ 255 >> 8 - J << 8 - J;
|
|
17857
17857
|
$[0] = $[0] & ie;
|
|
17858
17858
|
var ne = Buffer.alloc($.length + E.length + 1);
|
|
@@ -17873,8 +17873,8 @@ function requirePss() {
|
|
|
17873
17873
|
for (O = 8 * m - e, E = 255 ^ 255 >> 8 - O << 8 - O, q[0] = q[0] & E, S = 0; q[S] === 0 && S < q.length; S++) ;
|
|
17874
17874
|
if (q[S] != 1)
|
|
17875
17875
|
return !1;
|
|
17876
|
-
var
|
|
17877
|
-
J.fill(0, 0, 8), a.copy(J, 8),
|
|
17876
|
+
var j = q.slice(q.length - v), J = Buffer.alloc(8 + b + v);
|
|
17877
|
+
J.fill(0, 0, 8), a.copy(J, 8), j.copy(J, 8 + a.length);
|
|
17878
17878
|
var ie = t.createHash(s);
|
|
17879
17879
|
return ie.update(J), ie = ie.digest(), D.toString("hex") === ie.toString("hex");
|
|
17880
17880
|
}, new f(d, r);
|
|
@@ -18174,20 +18174,20 @@ function requireErrors() {
|
|
|
18174
18174
|
S.prototype = Object.create(O && O.prototype, { constructor: { value: S, writable: !0, configurable: !0 } }), Object.defineProperty(S, "prototype", { writable: !1 }), O && d(S, O);
|
|
18175
18175
|
}
|
|
18176
18176
|
function d(S, O) {
|
|
18177
|
-
return d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function($,
|
|
18178
|
-
return $.__proto__ =
|
|
18177
|
+
return d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function($, j) {
|
|
18178
|
+
return $.__proto__ = j, $;
|
|
18179
18179
|
}, d(S, O);
|
|
18180
18180
|
}
|
|
18181
18181
|
function r(S) {
|
|
18182
18182
|
var O = a();
|
|
18183
18183
|
return function() {
|
|
18184
|
-
var $ = n(S),
|
|
18184
|
+
var $ = n(S), j;
|
|
18185
18185
|
if (O) {
|
|
18186
18186
|
var J = n(this).constructor;
|
|
18187
|
-
|
|
18187
|
+
j = Reflect.construct($, arguments, J);
|
|
18188
18188
|
} else
|
|
18189
|
-
|
|
18190
|
-
return h(this,
|
|
18189
|
+
j = $.apply(this, arguments);
|
|
18190
|
+
return h(this, j);
|
|
18191
18191
|
};
|
|
18192
18192
|
}
|
|
18193
18193
|
function h(S, O) {
|
|
@@ -18223,7 +18223,7 @@ function requireErrors() {
|
|
|
18223
18223
|
function $(J, ie, ne) {
|
|
18224
18224
|
return typeof O == "string" ? O : O(J, ie, ne);
|
|
18225
18225
|
}
|
|
18226
|
-
var
|
|
18226
|
+
var j = /* @__PURE__ */ (function(J) {
|
|
18227
18227
|
o(ne, J);
|
|
18228
18228
|
var ie = r(ne);
|
|
18229
18229
|
function ne(de, Z, y) {
|
|
@@ -18232,7 +18232,7 @@ function requireErrors() {
|
|
|
18232
18232
|
}
|
|
18233
18233
|
return t(ne);
|
|
18234
18234
|
})(D);
|
|
18235
|
-
e[S] =
|
|
18235
|
+
e[S] = j;
|
|
18236
18236
|
}
|
|
18237
18237
|
function b(S, O) {
|
|
18238
18238
|
if (Array.isArray(S)) {
|
|
@@ -18256,14 +18256,14 @@ function requireErrors() {
|
|
|
18256
18256
|
s === void 0 && (s = requireAssert()), s(typeof S == "string", "'name' must be a string");
|
|
18257
18257
|
var $;
|
|
18258
18258
|
typeof O == "string" && m(O, "not ") ? ($ = "must not be", O = O.replace(/^not /, "")) : $ = "must be";
|
|
18259
|
-
var
|
|
18259
|
+
var j;
|
|
18260
18260
|
if (q(S, " argument"))
|
|
18261
|
-
|
|
18261
|
+
j = "The ".concat(S, " ").concat($, " ").concat(b(O, "type"));
|
|
18262
18262
|
else {
|
|
18263
18263
|
var J = E(S, ".") ? "property" : "argument";
|
|
18264
|
-
|
|
18264
|
+
j = 'The "'.concat(S, '" ').concat(J, " ").concat($, " ").concat(b(O, "type"));
|
|
18265
18265
|
}
|
|
18266
|
-
return
|
|
18266
|
+
return j += ". Received type ".concat(c(D)), j;
|
|
18267
18267
|
}, TypeError), v("ERR_INVALID_ARG_VALUE", function(S, O) {
|
|
18268
18268
|
var D = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "is invalid";
|
|
18269
18269
|
l === void 0 && (l = requireUtil$1());
|
|
@@ -18276,10 +18276,10 @@ function requireErrors() {
|
|
|
18276
18276
|
for (var S = arguments.length, O = new Array(S), D = 0; D < S; D++)
|
|
18277
18277
|
O[D] = arguments[D];
|
|
18278
18278
|
s === void 0 && (s = requireAssert()), s(O.length > 0, "At least one arg needs to be specified");
|
|
18279
|
-
var $ = "The ",
|
|
18279
|
+
var $ = "The ", j = O.length;
|
|
18280
18280
|
switch (O = O.map(function(J) {
|
|
18281
18281
|
return '"'.concat(J, '"');
|
|
18282
|
-
}),
|
|
18282
|
+
}), j) {
|
|
18283
18283
|
case 1:
|
|
18284
18284
|
$ += "".concat(O[0], " argument");
|
|
18285
18285
|
break;
|
|
@@ -18287,7 +18287,7 @@ function requireErrors() {
|
|
|
18287
18287
|
$ += "".concat(O[0], " and ").concat(O[1], " arguments");
|
|
18288
18288
|
break;
|
|
18289
18289
|
default:
|
|
18290
|
-
$ += O.slice(0,
|
|
18290
|
+
$ += O.slice(0, j - 1).join(", "), $ += ", and ".concat(O[j - 1], " arguments");
|
|
18291
18291
|
break;
|
|
18292
18292
|
}
|
|
18293
18293
|
return "".concat($, " must be specified");
|
|
@@ -18432,7 +18432,7 @@ function requireAssertion_error() {
|
|
|
18432
18432
|
return w && typeof Symbol == "function" && w.constructor === Symbol && w !== Symbol.prototype ? "symbol" : typeof w;
|
|
18433
18433
|
}, S(A);
|
|
18434
18434
|
}
|
|
18435
|
-
var O = requireUtil$1(), D = O.inspect, $ = requireErrors(),
|
|
18435
|
+
var O = requireUtil$1(), D = O.inspect, $ = requireErrors(), j = $.codes.ERR_INVALID_ARG_TYPE;
|
|
18436
18436
|
function J(A, w, M) {
|
|
18437
18437
|
return (M === void 0 || M > A.length) && (M = A.length), A.substring(M - w.length, M) === w;
|
|
18438
18438
|
}
|
|
@@ -18567,7 +18567,7 @@ function requireAssertion_error() {
|
|
|
18567
18567
|
function x(L) {
|
|
18568
18568
|
var K;
|
|
18569
18569
|
if (o(this, x), S(L) !== "object" || L === null)
|
|
18570
|
-
throw new
|
|
18570
|
+
throw new j("options", "Object", L);
|
|
18571
18571
|
var Q = L.message, H = L.operator, N = L.stackStartFn, F = L.actual, ee = L.expected, ae = Error.stackTraceLimit;
|
|
18572
18572
|
if (Error.stackTraceLimit = 0, Q != null)
|
|
18573
18573
|
K = M.call(this, String(Q));
|
|
@@ -18708,8 +18708,8 @@ function requireImplementation$3() {
|
|
|
18708
18708
|
for (var $ = 0; $ < v.length; ++$)
|
|
18709
18709
|
S.push(String($));
|
|
18710
18710
|
else
|
|
18711
|
-
for (var
|
|
18712
|
-
!(O &&
|
|
18711
|
+
for (var j in v)
|
|
18712
|
+
!(O && j === "prototype") && t.call(v, j) && S.push(String(j));
|
|
18713
18713
|
if (r)
|
|
18714
18714
|
for (var J = s(v), ie = 0; ie < f.length; ++ie)
|
|
18715
18715
|
!(J && f[ie] === "constructor") && t.call(v, f[ie]) && S.push(f[ie]);
|
|
@@ -18941,14 +18941,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
18941
18941
|
function d(oe, ce) {
|
|
18942
18942
|
var ge = oe == null ? null : typeof Symbol < "u" && oe[Symbol.iterator] || oe["@@iterator"];
|
|
18943
18943
|
if (ge != null) {
|
|
18944
|
-
var we, Se, Oe,
|
|
18944
|
+
var we, Se, Oe, U, I = [], C = !0, X = !1;
|
|
18945
18945
|
try {
|
|
18946
18946
|
if (Oe = (ge = ge.call(oe)).next, ce !== 0) for (; !(C = (we = Oe.call(ge)).done) && (I.push(we.value), I.length !== ce); C = !0) ;
|
|
18947
18947
|
} catch (se) {
|
|
18948
18948
|
X = !0, Se = se;
|
|
18949
18949
|
} finally {
|
|
18950
18950
|
try {
|
|
18951
|
-
if (!C && ge.return != null && (
|
|
18951
|
+
if (!C && ge.return != null && (U = ge.return(), Object(U) !== U)) return;
|
|
18952
18952
|
} finally {
|
|
18953
18953
|
if (X) throw Se;
|
|
18954
18954
|
}
|
|
@@ -18983,7 +18983,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
18983
18983
|
function v(oe) {
|
|
18984
18984
|
return oe.call.bind(oe);
|
|
18985
18985
|
}
|
|
18986
|
-
var b = v(Object.prototype.hasOwnProperty), m = v(Object.prototype.propertyIsEnumerable), q = v(Object.prototype.toString), E = requireUtil$1().types, S = E.isAnyArrayBuffer, O = E.isArrayBufferView, D = E.isDate, $ = E.isMap,
|
|
18986
|
+
var b = v(Object.prototype.hasOwnProperty), m = v(Object.prototype.propertyIsEnumerable), q = v(Object.prototype.toString), E = requireUtil$1().types, S = E.isAnyArrayBuffer, O = E.isArrayBufferView, D = E.isDate, $ = E.isMap, j = E.isRegExp, J = E.isSet, ie = E.isNativeError, ne = E.isBoxedPrimitive, de = E.isNumberObject, Z = E.isStringObject, y = E.isBooleanObject, g = E.isBigIntObject, p = E.isSymbolObject, _ = E.isFloat32Array, R = E.isFloat64Array;
|
|
18987
18987
|
function B(oe) {
|
|
18988
18988
|
if (oe.length === 0 || oe.length > 10) return !0;
|
|
18989
18989
|
for (var ce = 0; ce < oe.length; ce++) {
|
|
@@ -19046,16 +19046,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
19046
19046
|
if (Array.isArray(oe)) {
|
|
19047
19047
|
if (oe.length !== ce.length)
|
|
19048
19048
|
return !1;
|
|
19049
|
-
var
|
|
19050
|
-
return
|
|
19049
|
+
var U = P(oe), I = P(ce);
|
|
19050
|
+
return U.length !== I.length ? !1 : fe(oe, ce, ge, we, L, U);
|
|
19051
19051
|
}
|
|
19052
19052
|
if (Se === "[object Object]" && (!$(oe) && $(ce) || !J(oe) && J(ce)))
|
|
19053
19053
|
return !1;
|
|
19054
19054
|
if (D(oe)) {
|
|
19055
19055
|
if (!D(ce) || Date.prototype.getTime.call(oe) !== Date.prototype.getTime.call(ce))
|
|
19056
19056
|
return !1;
|
|
19057
|
-
} else if (
|
|
19058
|
-
if (!
|
|
19057
|
+
} else if (j(oe)) {
|
|
19058
|
+
if (!j(ce) || !H(oe, ce))
|
|
19059
19059
|
return !1;
|
|
19060
19060
|
} else if (ie(oe) || oe instanceof Error) {
|
|
19061
19061
|
if (oe.message !== ce.message || oe.name !== ce.name)
|
|
@@ -19089,8 +19089,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
19089
19089
|
function fe(oe, ce, ge, we, Se, Oe) {
|
|
19090
19090
|
if (arguments.length === 5) {
|
|
19091
19091
|
Oe = Object.keys(oe);
|
|
19092
|
-
var
|
|
19093
|
-
if (Oe.length !==
|
|
19092
|
+
var U = Object.keys(ce);
|
|
19093
|
+
if (Oe.length !== U.length)
|
|
19094
19094
|
return !1;
|
|
19095
19095
|
}
|
|
19096
19096
|
for (var I = 0; I < Oe.length; I++)
|
|
@@ -19141,9 +19141,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
19141
19141
|
}
|
|
19142
19142
|
function me(oe, ce, ge, we) {
|
|
19143
19143
|
for (var Se = a(oe), Oe = 0; Oe < Se.length; Oe++) {
|
|
19144
|
-
var
|
|
19145
|
-
if (z(ce,
|
|
19146
|
-
return oe.delete(
|
|
19144
|
+
var U = Se[Oe];
|
|
19145
|
+
if (z(ce, U, ge, we))
|
|
19146
|
+
return oe.delete(U), !0;
|
|
19147
19147
|
}
|
|
19148
19148
|
return !1;
|
|
19149
19149
|
}
|
|
@@ -19174,12 +19174,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
19174
19174
|
var Oe = xe(ge);
|
|
19175
19175
|
if (Oe != null)
|
|
19176
19176
|
return Oe;
|
|
19177
|
-
var
|
|
19178
|
-
return
|
|
19177
|
+
var U = ce.get(Oe);
|
|
19178
|
+
return U === void 0 && !ce.has(Oe) || !z(we, U, !1, Se) ? !1 : !oe.has(Oe) && z(we, U, !1, Se);
|
|
19179
19179
|
}
|
|
19180
19180
|
function Re(oe, ce, ge, we) {
|
|
19181
|
-
for (var Se = null, Oe = a(oe),
|
|
19182
|
-
var I = Oe[
|
|
19181
|
+
for (var Se = null, Oe = a(oe), U = 0; U < Oe.length; U++) {
|
|
19182
|
+
var I = Oe[U];
|
|
19183
19183
|
if (h(I) === "object" && I !== null)
|
|
19184
19184
|
Se === null && (Se = /* @__PURE__ */ new Set()), Se.add(I);
|
|
19185
19185
|
else if (!ce.has(I)) {
|
|
@@ -19201,16 +19201,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
19201
19201
|
return !0;
|
|
19202
19202
|
}
|
|
19203
19203
|
function be(oe, ce, ge, we, Se, Oe) {
|
|
19204
|
-
for (var
|
|
19205
|
-
var C =
|
|
19204
|
+
for (var U = a(oe), I = 0; I < U.length; I++) {
|
|
19205
|
+
var C = U[I];
|
|
19206
19206
|
if (z(ge, C, Se, Oe) && z(we, ce.get(C), Se, Oe))
|
|
19207
19207
|
return oe.delete(C), !0;
|
|
19208
19208
|
}
|
|
19209
19209
|
return !1;
|
|
19210
19210
|
}
|
|
19211
19211
|
function Fe(oe, ce, ge, we) {
|
|
19212
|
-
for (var Se = null, Oe = n(oe),
|
|
19213
|
-
var I = c(Oe[
|
|
19212
|
+
for (var Se = null, Oe = n(oe), U = 0; U < Oe.length; U++) {
|
|
19213
|
+
var I = c(Oe[U], 2), C = I[0], X = I[1];
|
|
19214
19214
|
if (h(C) === "object" && C !== null)
|
|
19215
19215
|
Se === null && (Se = /* @__PURE__ */ new Set()), Se.add(C);
|
|
19216
19216
|
else {
|
|
@@ -19234,7 +19234,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
19234
19234
|
return !0;
|
|
19235
19235
|
}
|
|
19236
19236
|
function Be(oe, ce, ge, we, Se, Oe) {
|
|
19237
|
-
var
|
|
19237
|
+
var U = 0;
|
|
19238
19238
|
if (Oe === K) {
|
|
19239
19239
|
if (!Re(oe, ce, ge, Se))
|
|
19240
19240
|
return !1;
|
|
@@ -19242,22 +19242,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
19242
19242
|
if (!Fe(oe, ce, ge, Se))
|
|
19243
19243
|
return !1;
|
|
19244
19244
|
} else if (Oe === L)
|
|
19245
|
-
for (;
|
|
19246
|
-
if (b(oe,
|
|
19247
|
-
if (!b(ce,
|
|
19245
|
+
for (; U < oe.length; U++)
|
|
19246
|
+
if (b(oe, U)) {
|
|
19247
|
+
if (!b(ce, U) || !z(oe[U], ce[U], ge, Se))
|
|
19248
19248
|
return !1;
|
|
19249
19249
|
} else {
|
|
19250
|
-
if (b(ce,
|
|
19250
|
+
if (b(ce, U))
|
|
19251
19251
|
return !1;
|
|
19252
|
-
for (var I = Object.keys(oe);
|
|
19253
|
-
var C = I[
|
|
19252
|
+
for (var I = Object.keys(oe); U < I.length; U++) {
|
|
19253
|
+
var C = I[U];
|
|
19254
19254
|
if (!b(ce, C) || !z(oe[C], ce[C], ge, Se))
|
|
19255
19255
|
return !1;
|
|
19256
19256
|
}
|
|
19257
19257
|
return I.length === Object.keys(ce).length;
|
|
19258
19258
|
}
|
|
19259
|
-
for (
|
|
19260
|
-
var X = we[
|
|
19259
|
+
for (U = 0; U < we.length; U++) {
|
|
19260
|
+
var X = we[U];
|
|
19261
19261
|
if (!z(oe[X], ce[X], ge, Se))
|
|
19262
19262
|
return !1;
|
|
19263
19263
|
}
|
|
@@ -19298,7 +19298,7 @@ function requireAssert() {
|
|
|
19298
19298
|
var K = requireComparisons();
|
|
19299
19299
|
O = K.isDeepEqual, D = K.isDeepStrictEqual;
|
|
19300
19300
|
}
|
|
19301
|
-
var
|
|
19301
|
+
var j = !1, J = assert.exports = y, ie = {};
|
|
19302
19302
|
function ne(K) {
|
|
19303
19303
|
throw K.message instanceof Error ? K.message : new e(K);
|
|
19304
19304
|
}
|
|
@@ -19309,8 +19309,8 @@ function requireAssert() {
|
|
|
19309
19309
|
else if (ee === 1)
|
|
19310
19310
|
H = K, K = void 0;
|
|
19311
19311
|
else {
|
|
19312
|
-
if (
|
|
19313
|
-
|
|
19312
|
+
if (j === !1) {
|
|
19313
|
+
j = !0;
|
|
19314
19314
|
var z = process$1.emitWarning ? process$1.emitWarning : console.warn.bind(console);
|
|
19315
19315
|
z("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.", "DeprecationWarning", "DEP0094");
|
|
19316
19316
|
}
|
|
@@ -20201,15 +20201,15 @@ function requireOpenssh() {
|
|
|
20201
20201
|
S;
|
|
20202
20202
|
const D = Math.ceil(S / 8) * 8 - S;
|
|
20203
20203
|
O += D;
|
|
20204
|
-
const $ = Buffer.alloc(O),
|
|
20205
|
-
$.write("openssh-key-v1", "utf8"), $.writeUInt8(0, 14),
|
|
20204
|
+
const $ = Buffer.alloc(O), j = { buf: $, off: 0 };
|
|
20205
|
+
$.write("openssh-key-v1", "utf8"), $.writeUInt8(0, 14), j.off += 15, f(j, Buffer.from("none")), f(j, Buffer.from("none")), f(j, Buffer.from("")), j.off = j.buf.writeUInt32BE(1, j.off), j.off = j.buf.writeUInt32BE(E, j.off), f(j, Buffer.from("ssh-rsa")), f(j, s), f(j, e), j.off = j.buf.writeUInt32BE(
|
|
20206
20206
|
O - 47 - E,
|
|
20207
|
-
|
|
20208
|
-
),
|
|
20207
|
+
j.off
|
|
20208
|
+
), j.off += 8, f(j, Buffer.from("ssh-rsa")), f(j, e), f(j, s), f(j, l), f(j, v), f(j, b), f(j, m), f(j, q);
|
|
20209
20209
|
let J = 1;
|
|
20210
|
-
for (;
|
|
20211
|
-
|
|
20212
|
-
return n.type === "der" ?
|
|
20210
|
+
for (; j.off < O; )
|
|
20211
|
+
j.off = j.buf.writeUInt8(J++, j.off);
|
|
20212
|
+
return n.type === "der" ? j.buf : d + `
|
|
20213
20213
|
` + u.linebrk($.toString("base64"), 70) + `
|
|
20214
20214
|
` + r + `
|
|
20215
20215
|
`;
|
|
@@ -20232,7 +20232,7 @@ function requireOpenssh() {
|
|
|
20232
20232
|
throw "Invalid file format.";
|
|
20233
20233
|
if (v.off += 15, h(v).toString("ascii") !== "none" || h(v).toString("ascii") !== "none" || h(v).toString("ascii") !== "" || (v.off += 4, v.off += 4, h(v).toString("ascii") !== "ssh-rsa") || (h(v), h(v), v.off += 12, h(v).toString("ascii") !== "ssh-rsa"))
|
|
20234
20234
|
throw Error("Unsupported key type");
|
|
20235
|
-
const b = h(v), m = h(v), q = h(v), E = h(v), S = h(v), O = h(v), D = new o(q), $ = new o(O),
|
|
20235
|
+
const b = h(v), m = h(v), q = h(v), E = h(v), S = h(v), O = h(v), D = new o(q), $ = new o(O), j = new o(S), J = D.mod(j.subtract(o.ONE)), ie = D.mod($.subtract(o.ONE));
|
|
20236
20236
|
a.setPrivate(
|
|
20237
20237
|
b,
|
|
20238
20238
|
// modulus
|
|
@@ -20946,18 +20946,18 @@ function buildMergedSemanticGeometry(c) {
|
|
|
20946
20946
|
if (!s) return;
|
|
20947
20947
|
e.computeBoundingBox(), _box.copy(e.boundingBox ?? _box.makeEmpty()), _box.getCenter(_pivot), _pivot.y = _box.min.y;
|
|
20948
20948
|
const m = t.length / 3, q = [], E = [], S = [], O = [];
|
|
20949
|
-
for (let
|
|
20950
|
-
const J = s.getX(
|
|
20951
|
-
t.push(J, ie, ne), q.push(J, ie, ne), d.push(n), copyAttributeComponents(l,
|
|
20949
|
+
for (let j = 0; j < s.count; j++) {
|
|
20950
|
+
const J = s.getX(j) - _pivot.x, ie = s.getY(j) - _pivot.y, ne = s.getZ(j) - _pivot.z;
|
|
20951
|
+
t.push(J, ie, ne), q.push(J, ie, ne), d.push(n), copyAttributeComponents(l, j, 3, u), copyAttributeComponents(l, j, 3, E), copyAttributeComponents(v, j, 2, o), copyAttributeComponents(v, j, 2, S);
|
|
20952
20952
|
}
|
|
20953
20953
|
if (b)
|
|
20954
|
-
for (let
|
|
20955
|
-
const J = b.getX(
|
|
20954
|
+
for (let j = 0; j < b.count; j++) {
|
|
20955
|
+
const J = b.getX(j);
|
|
20956
20956
|
r.push(m + J), O.push(J);
|
|
20957
20957
|
}
|
|
20958
20958
|
else
|
|
20959
|
-
for (let
|
|
20960
|
-
r.push(m +
|
|
20959
|
+
for (let j = 0; j < s.count; j++)
|
|
20960
|
+
r.push(m + j), O.push(j);
|
|
20961
20961
|
const D = new BufferGeometry();
|
|
20962
20962
|
D.setAttribute("position", new Float32BufferAttribute(q, 3)), l && D.setAttribute("normal", new Float32BufferAttribute(E, 3)), v && D.setAttribute("uv", new Float32BufferAttribute(S, 2)), D.setIndex(O), D.computeBoundingBox(), D.computeBoundingSphere();
|
|
20963
20963
|
const $ = new Matrix4().makeTranslation(_pivot.x, _pivot.y, _pivot.z);
|
|
@@ -21097,13 +21097,10 @@ class FloorMesh extends BaseMesh {
|
|
|
21097
21097
|
for (const o of this.#r)
|
|
21098
21098
|
if (!(!o.visible || o.color.w <= 1e-3)) {
|
|
21099
21099
|
this.#n.geometry = o.geometry, this.#n.matrixWorld.multiplyMatrices(this.matrixWorld, o.finalMatrix), _raycastHits.length = 0, this.#n.raycast(t, _raycastHits);
|
|
21100
|
-
for (const d of _raycastHits)
|
|
21101
|
-
|
|
21102
|
-
|
|
21103
|
-
|
|
21104
|
-
semanticName: o.name,
|
|
21105
|
-
semanticIndex: o.index
|
|
21106
|
-
}), u.push(d);
|
|
21100
|
+
for (const d of _raycastHits) {
|
|
21101
|
+
const r = d;
|
|
21102
|
+
r.object = this, r.instanceId = o.index, r.semanticId = o.id, r.semanticKind = o.kind, r.semanticName = o.name, r.semanticIndex = o.index, u.push(r);
|
|
21103
|
+
}
|
|
21107
21104
|
}
|
|
21108
21105
|
}
|
|
21109
21106
|
dispose() {
|