bry-biometric-collector 2.3.1-RC01 → 2.3.1-RC03
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/DocumentCollector_130d8bdf_2.3.1-RC03.js +1063 -0
- package/dist/FaceCollector_9f7ed73a_2.3.1-RC03.js +1992 -0
- package/dist/TakePictureBtn_ceb87be5_2.3.1-RC03.js +900 -0
- package/dist/___vite-browser-external_commonjs-proxy_8148ebce_2.3.1-RC03.js +699 -0
- package/dist/bry-biometric-collector-main.js +1 -2
- package/dist/{en-us_d35c0560_2.3.1-RC01.js → en-us_6bd969ac_2.3.1-RC03.js} +14 -13
- package/dist/{es-cl_735652e7_2.3.1-RC01.js → es-cl_892f6a0f_2.3.1-RC03.js} +3 -2
- package/dist/face_api_0e3ce8c8_2.3.1-RC03.js +36288 -0
- package/dist/fingersApi_bcc26b6f_2.3.1-RC03.js +131 -0
- package/dist/index-no-detector_4b302e78_2.3.1-RC03.js +10414 -0
- package/dist/index-no-detector_b6972e40_2.3.1-RC03.js +5739 -0
- package/dist/index.js +1 -2
- package/dist/index_7355d006_2.3.1-RC03.js +49176 -0
- package/dist/index_da10d83d_2.3.1-RC03.js +13389 -0
- package/dist/main_6705c823_2.3.1-RC03.js +23954 -0
- package/dist/{pt-br_cf90e78b_2.3.1-RC01.js → pt-br_45d223b5_2.3.1-RC03.js} +3 -2
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/dist/DocumentCollector_4544d312_2.3.1-RC01.js +0 -1351
- package/dist/FaceCollector_3bc9d354_2.3.1-RC01.js +0 -2525
- package/dist/TakePictureBtn_ea35191d_2.3.1-RC01.js +0 -1066
- package/dist/face_api_0e3ce8c8_2.3.1-RC01.js +0 -36289
- package/dist/fingersApi_a9cae0ec_2.3.1-RC01.js +0 -132
- package/dist/index-no-detector_4b302e78_2.3.1-RC01.js +0 -10415
- package/dist/main_72a0926e_2.3.1-RC01.js +0 -25675
@@ -0,0 +1,699 @@
|
|
1
|
+
import { bh as D, bi as V } from "./main_6705c823_2.3.1-RC03.js";
|
2
|
+
function H(e, t) {
|
3
|
+
for (var n = 0; n < t.length; n++) {
|
4
|
+
const r = t[n];
|
5
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
6
|
+
for (const s in r)
|
7
|
+
if (s !== "default" && !(s in e)) {
|
8
|
+
const h = Object.getOwnPropertyDescriptor(r, s);
|
9
|
+
h && Object.defineProperty(e, s, h.get ? h : {
|
10
|
+
enumerable: !0,
|
11
|
+
get: () => r[s]
|
12
|
+
});
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
17
|
+
}
|
18
|
+
var W = f, v = null;
|
19
|
+
try {
|
20
|
+
v = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([
|
21
|
+
0,
|
22
|
+
97,
|
23
|
+
115,
|
24
|
+
109,
|
25
|
+
1,
|
26
|
+
0,
|
27
|
+
0,
|
28
|
+
0,
|
29
|
+
1,
|
30
|
+
13,
|
31
|
+
2,
|
32
|
+
96,
|
33
|
+
0,
|
34
|
+
1,
|
35
|
+
127,
|
36
|
+
96,
|
37
|
+
4,
|
38
|
+
127,
|
39
|
+
127,
|
40
|
+
127,
|
41
|
+
127,
|
42
|
+
1,
|
43
|
+
127,
|
44
|
+
3,
|
45
|
+
7,
|
46
|
+
6,
|
47
|
+
0,
|
48
|
+
1,
|
49
|
+
1,
|
50
|
+
1,
|
51
|
+
1,
|
52
|
+
1,
|
53
|
+
6,
|
54
|
+
6,
|
55
|
+
1,
|
56
|
+
127,
|
57
|
+
1,
|
58
|
+
65,
|
59
|
+
0,
|
60
|
+
11,
|
61
|
+
7,
|
62
|
+
50,
|
63
|
+
6,
|
64
|
+
3,
|
65
|
+
109,
|
66
|
+
117,
|
67
|
+
108,
|
68
|
+
0,
|
69
|
+
1,
|
70
|
+
5,
|
71
|
+
100,
|
72
|
+
105,
|
73
|
+
118,
|
74
|
+
95,
|
75
|
+
115,
|
76
|
+
0,
|
77
|
+
2,
|
78
|
+
5,
|
79
|
+
100,
|
80
|
+
105,
|
81
|
+
118,
|
82
|
+
95,
|
83
|
+
117,
|
84
|
+
0,
|
85
|
+
3,
|
86
|
+
5,
|
87
|
+
114,
|
88
|
+
101,
|
89
|
+
109,
|
90
|
+
95,
|
91
|
+
115,
|
92
|
+
0,
|
93
|
+
4,
|
94
|
+
5,
|
95
|
+
114,
|
96
|
+
101,
|
97
|
+
109,
|
98
|
+
95,
|
99
|
+
117,
|
100
|
+
0,
|
101
|
+
5,
|
102
|
+
8,
|
103
|
+
103,
|
104
|
+
101,
|
105
|
+
116,
|
106
|
+
95,
|
107
|
+
104,
|
108
|
+
105,
|
109
|
+
103,
|
110
|
+
104,
|
111
|
+
0,
|
112
|
+
0,
|
113
|
+
10,
|
114
|
+
191,
|
115
|
+
1,
|
116
|
+
6,
|
117
|
+
4,
|
118
|
+
0,
|
119
|
+
35,
|
120
|
+
0,
|
121
|
+
11,
|
122
|
+
36,
|
123
|
+
1,
|
124
|
+
1,
|
125
|
+
126,
|
126
|
+
32,
|
127
|
+
0,
|
128
|
+
173,
|
129
|
+
32,
|
130
|
+
1,
|
131
|
+
173,
|
132
|
+
66,
|
133
|
+
32,
|
134
|
+
134,
|
135
|
+
132,
|
136
|
+
32,
|
137
|
+
2,
|
138
|
+
173,
|
139
|
+
32,
|
140
|
+
3,
|
141
|
+
173,
|
142
|
+
66,
|
143
|
+
32,
|
144
|
+
134,
|
145
|
+
132,
|
146
|
+
126,
|
147
|
+
34,
|
148
|
+
4,
|
149
|
+
66,
|
150
|
+
32,
|
151
|
+
135,
|
152
|
+
167,
|
153
|
+
36,
|
154
|
+
0,
|
155
|
+
32,
|
156
|
+
4,
|
157
|
+
167,
|
158
|
+
11,
|
159
|
+
36,
|
160
|
+
1,
|
161
|
+
1,
|
162
|
+
126,
|
163
|
+
32,
|
164
|
+
0,
|
165
|
+
173,
|
166
|
+
32,
|
167
|
+
1,
|
168
|
+
173,
|
169
|
+
66,
|
170
|
+
32,
|
171
|
+
134,
|
172
|
+
132,
|
173
|
+
32,
|
174
|
+
2,
|
175
|
+
173,
|
176
|
+
32,
|
177
|
+
3,
|
178
|
+
173,
|
179
|
+
66,
|
180
|
+
32,
|
181
|
+
134,
|
182
|
+
132,
|
183
|
+
127,
|
184
|
+
34,
|
185
|
+
4,
|
186
|
+
66,
|
187
|
+
32,
|
188
|
+
135,
|
189
|
+
167,
|
190
|
+
36,
|
191
|
+
0,
|
192
|
+
32,
|
193
|
+
4,
|
194
|
+
167,
|
195
|
+
11,
|
196
|
+
36,
|
197
|
+
1,
|
198
|
+
1,
|
199
|
+
126,
|
200
|
+
32,
|
201
|
+
0,
|
202
|
+
173,
|
203
|
+
32,
|
204
|
+
1,
|
205
|
+
173,
|
206
|
+
66,
|
207
|
+
32,
|
208
|
+
134,
|
209
|
+
132,
|
210
|
+
32,
|
211
|
+
2,
|
212
|
+
173,
|
213
|
+
32,
|
214
|
+
3,
|
215
|
+
173,
|
216
|
+
66,
|
217
|
+
32,
|
218
|
+
134,
|
219
|
+
132,
|
220
|
+
128,
|
221
|
+
34,
|
222
|
+
4,
|
223
|
+
66,
|
224
|
+
32,
|
225
|
+
135,
|
226
|
+
167,
|
227
|
+
36,
|
228
|
+
0,
|
229
|
+
32,
|
230
|
+
4,
|
231
|
+
167,
|
232
|
+
11,
|
233
|
+
36,
|
234
|
+
1,
|
235
|
+
1,
|
236
|
+
126,
|
237
|
+
32,
|
238
|
+
0,
|
239
|
+
173,
|
240
|
+
32,
|
241
|
+
1,
|
242
|
+
173,
|
243
|
+
66,
|
244
|
+
32,
|
245
|
+
134,
|
246
|
+
132,
|
247
|
+
32,
|
248
|
+
2,
|
249
|
+
173,
|
250
|
+
32,
|
251
|
+
3,
|
252
|
+
173,
|
253
|
+
66,
|
254
|
+
32,
|
255
|
+
134,
|
256
|
+
132,
|
257
|
+
129,
|
258
|
+
34,
|
259
|
+
4,
|
260
|
+
66,
|
261
|
+
32,
|
262
|
+
135,
|
263
|
+
167,
|
264
|
+
36,
|
265
|
+
0,
|
266
|
+
32,
|
267
|
+
4,
|
268
|
+
167,
|
269
|
+
11,
|
270
|
+
36,
|
271
|
+
1,
|
272
|
+
1,
|
273
|
+
126,
|
274
|
+
32,
|
275
|
+
0,
|
276
|
+
173,
|
277
|
+
32,
|
278
|
+
1,
|
279
|
+
173,
|
280
|
+
66,
|
281
|
+
32,
|
282
|
+
134,
|
283
|
+
132,
|
284
|
+
32,
|
285
|
+
2,
|
286
|
+
173,
|
287
|
+
32,
|
288
|
+
3,
|
289
|
+
173,
|
290
|
+
66,
|
291
|
+
32,
|
292
|
+
134,
|
293
|
+
132,
|
294
|
+
130,
|
295
|
+
34,
|
296
|
+
4,
|
297
|
+
66,
|
298
|
+
32,
|
299
|
+
135,
|
300
|
+
167,
|
301
|
+
36,
|
302
|
+
0,
|
303
|
+
32,
|
304
|
+
4,
|
305
|
+
167,
|
306
|
+
11
|
307
|
+
])), {}).exports;
|
308
|
+
} catch {
|
309
|
+
}
|
310
|
+
function f(e, t, n) {
|
311
|
+
this.low = e | 0, this.high = t | 0, this.unsigned = !!n;
|
312
|
+
}
|
313
|
+
f.prototype.__isLong__;
|
314
|
+
Object.defineProperty(f.prototype, "__isLong__", { value: !0 });
|
315
|
+
function w(e) {
|
316
|
+
return (e && e.__isLong__) === !0;
|
317
|
+
}
|
318
|
+
f.isLong = w;
|
319
|
+
var I = {}, B = {};
|
320
|
+
function q(e, t) {
|
321
|
+
var n, r, s;
|
322
|
+
return t ? (e >>>= 0, (s = 0 <= e && e < 256) && (r = B[e], r) ? r : (n = o(e, (e | 0) < 0 ? -1 : 0, !0), s && (B[e] = n), n)) : (e |= 0, (s = -128 <= e && e < 128) && (r = I[e], r) ? r : (n = o(e, e < 0 ? -1 : 0, !1), s && (I[e] = n), n));
|
323
|
+
}
|
324
|
+
f.fromInt = q;
|
325
|
+
function O(e, t) {
|
326
|
+
if (isNaN(e))
|
327
|
+
return t ? m : L;
|
328
|
+
if (t) {
|
329
|
+
if (e < 0)
|
330
|
+
return m;
|
331
|
+
if (e >= Z)
|
332
|
+
return j;
|
333
|
+
} else {
|
334
|
+
if (e <= -P)
|
335
|
+
return c;
|
336
|
+
if (e + 1 >= P)
|
337
|
+
return R;
|
338
|
+
}
|
339
|
+
return e < 0 ? O(-e, t).neg() : o(e % d | 0, e / d | 0, t);
|
340
|
+
}
|
341
|
+
f.fromNumber = O;
|
342
|
+
function o(e, t, n) {
|
343
|
+
return new f(e, t, n);
|
344
|
+
}
|
345
|
+
f.fromBits = o;
|
346
|
+
var T = Math.pow;
|
347
|
+
function A(e, t, n) {
|
348
|
+
if (e.length === 0)
|
349
|
+
throw Error("empty string");
|
350
|
+
if (e === "NaN" || e === "Infinity" || e === "+Infinity" || e === "-Infinity")
|
351
|
+
return L;
|
352
|
+
if (typeof t == "number" ? (n = t, t = !1) : t = !!t, n = n || 10, n < 2 || 36 < n)
|
353
|
+
throw RangeError("radix");
|
354
|
+
var r;
|
355
|
+
if ((r = e.indexOf("-")) > 0)
|
356
|
+
throw Error("interior hyphen");
|
357
|
+
if (r === 0)
|
358
|
+
return A(e.substring(1), t, n).neg();
|
359
|
+
for (var s = O(T(n, 8)), h = L, u = 0; u < e.length; u += 8) {
|
360
|
+
var F = Math.min(8, e.length - u), E = parseInt(e.substring(u, u + F), n);
|
361
|
+
if (F < 8) {
|
362
|
+
var l = O(T(n, F));
|
363
|
+
h = h.mul(l).add(O(E));
|
364
|
+
} else
|
365
|
+
h = h.mul(s), h = h.add(O(E));
|
366
|
+
}
|
367
|
+
return h.unsigned = t, h;
|
368
|
+
}
|
369
|
+
f.fromString = A;
|
370
|
+
function b(e, t) {
|
371
|
+
return typeof e == "number" ? O(e, t) : typeof e == "string" ? A(e, t) : o(e.low, e.high, typeof t == "boolean" ? t : e.unsigned);
|
372
|
+
}
|
373
|
+
f.fromValue = b;
|
374
|
+
var M = 65536, C = 1 << 24, d = M * M, Z = d * d, P = Z / 2, S = q(C), L = q(0);
|
375
|
+
f.ZERO = L;
|
376
|
+
var m = q(0, !0);
|
377
|
+
f.UZERO = m;
|
378
|
+
var y = q(1);
|
379
|
+
f.ONE = y;
|
380
|
+
var p = q(1, !0);
|
381
|
+
f.UONE = p;
|
382
|
+
var U = q(-1);
|
383
|
+
f.NEG_ONE = U;
|
384
|
+
var R = o(-1, 2147483647, !1);
|
385
|
+
f.MAX_VALUE = R;
|
386
|
+
var j = o(-1, -1, !0);
|
387
|
+
f.MAX_UNSIGNED_VALUE = j;
|
388
|
+
var c = o(0, -2147483648, !1);
|
389
|
+
f.MIN_VALUE = c;
|
390
|
+
var i = f.prototype;
|
391
|
+
i.toInt = function() {
|
392
|
+
return this.unsigned ? this.low >>> 0 : this.low;
|
393
|
+
};
|
394
|
+
i.toNumber = function() {
|
395
|
+
return this.unsigned ? (this.high >>> 0) * d + (this.low >>> 0) : this.high * d + (this.low >>> 0);
|
396
|
+
};
|
397
|
+
i.toString = function(t) {
|
398
|
+
if (t = t || 10, t < 2 || 36 < t)
|
399
|
+
throw RangeError("radix");
|
400
|
+
if (this.isZero())
|
401
|
+
return "0";
|
402
|
+
if (this.isNegative())
|
403
|
+
if (this.eq(c)) {
|
404
|
+
var n = O(t), r = this.div(n), s = r.mul(n).sub(this);
|
405
|
+
return r.toString(t) + s.toInt().toString(t);
|
406
|
+
} else
|
407
|
+
return "-" + this.neg().toString(t);
|
408
|
+
for (var h = O(T(t, 6), this.unsigned), u = this, F = ""; ; ) {
|
409
|
+
var E = u.div(h), l = u.sub(E.mul(h)).toInt() >>> 0, g = l.toString(t);
|
410
|
+
if (u = E, u.isZero())
|
411
|
+
return g + F;
|
412
|
+
for (; g.length < 6; )
|
413
|
+
g = "0" + g;
|
414
|
+
F = "" + g + F;
|
415
|
+
}
|
416
|
+
};
|
417
|
+
i.getHighBits = function() {
|
418
|
+
return this.high;
|
419
|
+
};
|
420
|
+
i.getHighBitsUnsigned = function() {
|
421
|
+
return this.high >>> 0;
|
422
|
+
};
|
423
|
+
i.getLowBits = function() {
|
424
|
+
return this.low;
|
425
|
+
};
|
426
|
+
i.getLowBitsUnsigned = function() {
|
427
|
+
return this.low >>> 0;
|
428
|
+
};
|
429
|
+
i.getNumBitsAbs = function() {
|
430
|
+
if (this.isNegative())
|
431
|
+
return this.eq(c) ? 64 : this.neg().getNumBitsAbs();
|
432
|
+
for (var t = this.high != 0 ? this.high : this.low, n = 31; n > 0 && !(t & 1 << n); n--)
|
433
|
+
;
|
434
|
+
return this.high != 0 ? n + 33 : n + 1;
|
435
|
+
};
|
436
|
+
i.isZero = function() {
|
437
|
+
return this.high === 0 && this.low === 0;
|
438
|
+
};
|
439
|
+
i.eqz = i.isZero;
|
440
|
+
i.isNegative = function() {
|
441
|
+
return !this.unsigned && this.high < 0;
|
442
|
+
};
|
443
|
+
i.isPositive = function() {
|
444
|
+
return this.unsigned || this.high >= 0;
|
445
|
+
};
|
446
|
+
i.isOdd = function() {
|
447
|
+
return (this.low & 1) === 1;
|
448
|
+
};
|
449
|
+
i.isEven = function() {
|
450
|
+
return (this.low & 1) === 0;
|
451
|
+
};
|
452
|
+
i.equals = function(t) {
|
453
|
+
return w(t) || (t = b(t)), this.unsigned !== t.unsigned && this.high >>> 31 === 1 && t.high >>> 31 === 1 ? !1 : this.high === t.high && this.low === t.low;
|
454
|
+
};
|
455
|
+
i.eq = i.equals;
|
456
|
+
i.notEquals = function(t) {
|
457
|
+
return !this.eq(
|
458
|
+
/* validates */
|
459
|
+
t
|
460
|
+
);
|
461
|
+
};
|
462
|
+
i.neq = i.notEquals;
|
463
|
+
i.ne = i.notEquals;
|
464
|
+
i.lessThan = function(t) {
|
465
|
+
return this.comp(
|
466
|
+
/* validates */
|
467
|
+
t
|
468
|
+
) < 0;
|
469
|
+
};
|
470
|
+
i.lt = i.lessThan;
|
471
|
+
i.lessThanOrEqual = function(t) {
|
472
|
+
return this.comp(
|
473
|
+
/* validates */
|
474
|
+
t
|
475
|
+
) <= 0;
|
476
|
+
};
|
477
|
+
i.lte = i.lessThanOrEqual;
|
478
|
+
i.le = i.lessThanOrEqual;
|
479
|
+
i.greaterThan = function(t) {
|
480
|
+
return this.comp(
|
481
|
+
/* validates */
|
482
|
+
t
|
483
|
+
) > 0;
|
484
|
+
};
|
485
|
+
i.gt = i.greaterThan;
|
486
|
+
i.greaterThanOrEqual = function(t) {
|
487
|
+
return this.comp(
|
488
|
+
/* validates */
|
489
|
+
t
|
490
|
+
) >= 0;
|
491
|
+
};
|
492
|
+
i.gte = i.greaterThanOrEqual;
|
493
|
+
i.ge = i.greaterThanOrEqual;
|
494
|
+
i.compare = function(t) {
|
495
|
+
if (w(t) || (t = b(t)), this.eq(t))
|
496
|
+
return 0;
|
497
|
+
var n = this.isNegative(), r = t.isNegative();
|
498
|
+
return n && !r ? -1 : !n && r ? 1 : this.unsigned ? t.high >>> 0 > this.high >>> 0 || t.high === this.high && t.low >>> 0 > this.low >>> 0 ? -1 : 1 : this.sub(t).isNegative() ? -1 : 1;
|
499
|
+
};
|
500
|
+
i.comp = i.compare;
|
501
|
+
i.negate = function() {
|
502
|
+
return !this.unsigned && this.eq(c) ? c : this.not().add(y);
|
503
|
+
};
|
504
|
+
i.neg = i.negate;
|
505
|
+
i.add = function(t) {
|
506
|
+
w(t) || (t = b(t));
|
507
|
+
var n = this.high >>> 16, r = this.high & 65535, s = this.low >>> 16, h = this.low & 65535, u = t.high >>> 16, F = t.high & 65535, E = t.low >>> 16, l = t.low & 65535, g = 0, N = 0, a = 0, _ = 0;
|
508
|
+
return _ += h + l, a += _ >>> 16, _ &= 65535, a += s + E, N += a >>> 16, a &= 65535, N += r + F, g += N >>> 16, N &= 65535, g += n + u, g &= 65535, o(a << 16 | _, g << 16 | N, this.unsigned);
|
509
|
+
};
|
510
|
+
i.subtract = function(t) {
|
511
|
+
return w(t) || (t = b(t)), this.add(t.neg());
|
512
|
+
};
|
513
|
+
i.sub = i.subtract;
|
514
|
+
i.multiply = function(t) {
|
515
|
+
if (this.isZero())
|
516
|
+
return L;
|
517
|
+
if (w(t) || (t = b(t)), v) {
|
518
|
+
var n = v.mul(
|
519
|
+
this.low,
|
520
|
+
this.high,
|
521
|
+
t.low,
|
522
|
+
t.high
|
523
|
+
);
|
524
|
+
return o(n, v.get_high(), this.unsigned);
|
525
|
+
}
|
526
|
+
if (t.isZero())
|
527
|
+
return L;
|
528
|
+
if (this.eq(c))
|
529
|
+
return t.isOdd() ? c : L;
|
530
|
+
if (t.eq(c))
|
531
|
+
return this.isOdd() ? c : L;
|
532
|
+
if (this.isNegative())
|
533
|
+
return t.isNegative() ? this.neg().mul(t.neg()) : this.neg().mul(t).neg();
|
534
|
+
if (t.isNegative())
|
535
|
+
return this.mul(t.neg()).neg();
|
536
|
+
if (this.lt(S) && t.lt(S))
|
537
|
+
return O(this.toNumber() * t.toNumber(), this.unsigned);
|
538
|
+
var r = this.high >>> 16, s = this.high & 65535, h = this.low >>> 16, u = this.low & 65535, F = t.high >>> 16, E = t.high & 65535, l = t.low >>> 16, g = t.low & 65535, N = 0, a = 0, _ = 0, x = 0;
|
539
|
+
return x += u * g, _ += x >>> 16, x &= 65535, _ += h * g, a += _ >>> 16, _ &= 65535, _ += u * l, a += _ >>> 16, _ &= 65535, a += s * g, N += a >>> 16, a &= 65535, a += h * l, N += a >>> 16, a &= 65535, a += u * E, N += a >>> 16, a &= 65535, N += r * g + s * l + h * E + u * F, N &= 65535, o(_ << 16 | x, N << 16 | a, this.unsigned);
|
540
|
+
};
|
541
|
+
i.mul = i.multiply;
|
542
|
+
i.divide = function(t) {
|
543
|
+
if (w(t) || (t = b(t)), t.isZero())
|
544
|
+
throw Error("division by zero");
|
545
|
+
if (v) {
|
546
|
+
if (!this.unsigned && this.high === -2147483648 && t.low === -1 && t.high === -1)
|
547
|
+
return this;
|
548
|
+
var n = (this.unsigned ? v.div_u : v.div_s)(
|
549
|
+
this.low,
|
550
|
+
this.high,
|
551
|
+
t.low,
|
552
|
+
t.high
|
553
|
+
);
|
554
|
+
return o(n, v.get_high(), this.unsigned);
|
555
|
+
}
|
556
|
+
if (this.isZero())
|
557
|
+
return this.unsigned ? m : L;
|
558
|
+
var r, s, h;
|
559
|
+
if (this.unsigned) {
|
560
|
+
if (t.unsigned || (t = t.toUnsigned()), t.gt(this))
|
561
|
+
return m;
|
562
|
+
if (t.gt(this.shru(1)))
|
563
|
+
return p;
|
564
|
+
h = m;
|
565
|
+
} else {
|
566
|
+
if (this.eq(c)) {
|
567
|
+
if (t.eq(y) || t.eq(U))
|
568
|
+
return c;
|
569
|
+
if (t.eq(c))
|
570
|
+
return y;
|
571
|
+
var u = this.shr(1);
|
572
|
+
return r = u.div(t).shl(1), r.eq(L) ? t.isNegative() ? y : U : (s = this.sub(t.mul(r)), h = r.add(s.div(t)), h);
|
573
|
+
} else if (t.eq(c))
|
574
|
+
return this.unsigned ? m : L;
|
575
|
+
if (this.isNegative())
|
576
|
+
return t.isNegative() ? this.neg().div(t.neg()) : this.neg().div(t).neg();
|
577
|
+
if (t.isNegative())
|
578
|
+
return this.div(t.neg()).neg();
|
579
|
+
h = L;
|
580
|
+
}
|
581
|
+
for (s = this; s.gte(t); ) {
|
582
|
+
r = Math.max(1, Math.floor(s.toNumber() / t.toNumber()));
|
583
|
+
for (var F = Math.ceil(Math.log(r) / Math.LN2), E = F <= 48 ? 1 : T(2, F - 48), l = O(r), g = l.mul(t); g.isNegative() || g.gt(s); )
|
584
|
+
r -= E, l = O(r, this.unsigned), g = l.mul(t);
|
585
|
+
l.isZero() && (l = y), h = h.add(l), s = s.sub(g);
|
586
|
+
}
|
587
|
+
return h;
|
588
|
+
};
|
589
|
+
i.div = i.divide;
|
590
|
+
i.modulo = function(t) {
|
591
|
+
if (w(t) || (t = b(t)), v) {
|
592
|
+
var n = (this.unsigned ? v.rem_u : v.rem_s)(
|
593
|
+
this.low,
|
594
|
+
this.high,
|
595
|
+
t.low,
|
596
|
+
t.high
|
597
|
+
);
|
598
|
+
return o(n, v.get_high(), this.unsigned);
|
599
|
+
}
|
600
|
+
return this.sub(this.div(t).mul(t));
|
601
|
+
};
|
602
|
+
i.mod = i.modulo;
|
603
|
+
i.rem = i.modulo;
|
604
|
+
i.not = function() {
|
605
|
+
return o(~this.low, ~this.high, this.unsigned);
|
606
|
+
};
|
607
|
+
i.and = function(t) {
|
608
|
+
return w(t) || (t = b(t)), o(this.low & t.low, this.high & t.high, this.unsigned);
|
609
|
+
};
|
610
|
+
i.or = function(t) {
|
611
|
+
return w(t) || (t = b(t)), o(this.low | t.low, this.high | t.high, this.unsigned);
|
612
|
+
};
|
613
|
+
i.xor = function(t) {
|
614
|
+
return w(t) || (t = b(t)), o(this.low ^ t.low, this.high ^ t.high, this.unsigned);
|
615
|
+
};
|
616
|
+
i.shiftLeft = function(t) {
|
617
|
+
return w(t) && (t = t.toInt()), (t &= 63) === 0 ? this : t < 32 ? o(this.low << t, this.high << t | this.low >>> 32 - t, this.unsigned) : o(0, this.low << t - 32, this.unsigned);
|
618
|
+
};
|
619
|
+
i.shl = i.shiftLeft;
|
620
|
+
i.shiftRight = function(t) {
|
621
|
+
return w(t) && (t = t.toInt()), (t &= 63) === 0 ? this : t < 32 ? o(this.low >>> t | this.high << 32 - t, this.high >> t, this.unsigned) : o(this.high >> t - 32, this.high >= 0 ? 0 : -1, this.unsigned);
|
622
|
+
};
|
623
|
+
i.shr = i.shiftRight;
|
624
|
+
i.shiftRightUnsigned = function(t) {
|
625
|
+
if (w(t) && (t = t.toInt()), t &= 63, t === 0)
|
626
|
+
return this;
|
627
|
+
var n = this.high;
|
628
|
+
if (t < 32) {
|
629
|
+
var r = this.low;
|
630
|
+
return o(r >>> t | n << 32 - t, n >>> t, this.unsigned);
|
631
|
+
} else
|
632
|
+
return t === 32 ? o(n, 0, this.unsigned) : o(n >>> t - 32, 0, this.unsigned);
|
633
|
+
};
|
634
|
+
i.shru = i.shiftRightUnsigned;
|
635
|
+
i.shr_u = i.shiftRightUnsigned;
|
636
|
+
i.toSigned = function() {
|
637
|
+
return this.unsigned ? o(this.low, this.high, !1) : this;
|
638
|
+
};
|
639
|
+
i.toUnsigned = function() {
|
640
|
+
return this.unsigned ? this : o(this.low, this.high, !0);
|
641
|
+
};
|
642
|
+
i.toBytes = function(t) {
|
643
|
+
return t ? this.toBytesLE() : this.toBytesBE();
|
644
|
+
};
|
645
|
+
i.toBytesLE = function() {
|
646
|
+
var t = this.high, n = this.low;
|
647
|
+
return [
|
648
|
+
n & 255,
|
649
|
+
n >>> 8 & 255,
|
650
|
+
n >>> 16 & 255,
|
651
|
+
n >>> 24,
|
652
|
+
t & 255,
|
653
|
+
t >>> 8 & 255,
|
654
|
+
t >>> 16 & 255,
|
655
|
+
t >>> 24
|
656
|
+
];
|
657
|
+
};
|
658
|
+
i.toBytesBE = function() {
|
659
|
+
var t = this.high, n = this.low;
|
660
|
+
return [
|
661
|
+
t >>> 24,
|
662
|
+
t >>> 16 & 255,
|
663
|
+
t >>> 8 & 255,
|
664
|
+
t & 255,
|
665
|
+
n >>> 24,
|
666
|
+
n >>> 16 & 255,
|
667
|
+
n >>> 8 & 255,
|
668
|
+
n & 255
|
669
|
+
];
|
670
|
+
};
|
671
|
+
f.fromBytes = function(t, n, r) {
|
672
|
+
return r ? f.fromBytesLE(t, n) : f.fromBytesBE(t, n);
|
673
|
+
};
|
674
|
+
f.fromBytesLE = function(t, n) {
|
675
|
+
return new f(
|
676
|
+
t[0] | t[1] << 8 | t[2] << 16 | t[3] << 24,
|
677
|
+
t[4] | t[5] << 8 | t[6] << 16 | t[7] << 24,
|
678
|
+
n
|
679
|
+
);
|
680
|
+
};
|
681
|
+
f.fromBytesBE = function(t, n) {
|
682
|
+
return new f(
|
683
|
+
t[4] << 24 | t[5] << 16 | t[6] << 8 | t[7],
|
684
|
+
t[0] << 24 | t[1] << 16 | t[2] << 8 | t[3],
|
685
|
+
n
|
686
|
+
);
|
687
|
+
};
|
688
|
+
const G = /* @__PURE__ */ D(W), z = /* @__PURE__ */ H({
|
689
|
+
__proto__: null,
|
690
|
+
default: G
|
691
|
+
}, [W]), X = {}, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
692
|
+
__proto__: null,
|
693
|
+
default: X
|
694
|
+
}, Symbol.toStringTag, { value: "Module" })), J = /* @__PURE__ */ V($);
|
695
|
+
export {
|
696
|
+
z as L,
|
697
|
+
G as l,
|
698
|
+
J as r
|
699
|
+
};
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { bj as f } from "./main_6705c823_2.3.1-RC03.js";
|
2
2
|
export {
|
3
3
|
f as default
|
4
4
|
};
|
5
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJ5LWJpb21ldHJpYy1jb2xsZWN0b3ItbWFpbi5qcyIsInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W10sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7In0=
|