@swc/wasm 1.3.65 → 1.3.70
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/package.json +1 -1
- package/wasm.js +241 -188
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
let imports = {};
|
|
2
2
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
3
|
let wasm;
|
|
4
|
-
const {
|
|
4
|
+
const { TextDecoder, TextEncoder } = require(`util`);
|
|
5
5
|
|
|
6
6
|
const heap = new Array(128).fill(undefined);
|
|
7
7
|
|
|
@@ -9,39 +9,8 @@ heap.push(undefined, null, true, false);
|
|
|
9
9
|
|
|
10
10
|
function getObject(idx) { return heap[idx]; }
|
|
11
11
|
|
|
12
|
-
function isLikeNone(x) {
|
|
13
|
-
return x === undefined || x === null;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
let cachedBigInt64Memory0 = null;
|
|
17
|
-
|
|
18
|
-
function getBigInt64Memory0() {
|
|
19
|
-
if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
|
|
20
|
-
cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
|
|
21
|
-
}
|
|
22
|
-
return cachedBigInt64Memory0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
let cachedInt32Memory0 = null;
|
|
26
|
-
|
|
27
|
-
function getInt32Memory0() {
|
|
28
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
29
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
30
|
-
}
|
|
31
|
-
return cachedInt32Memory0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
12
|
let heap_next = heap.length;
|
|
35
13
|
|
|
36
|
-
function addHeapObject(obj) {
|
|
37
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
38
|
-
const idx = heap_next;
|
|
39
|
-
heap_next = heap[idx];
|
|
40
|
-
|
|
41
|
-
heap[idx] = obj;
|
|
42
|
-
return idx;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
14
|
function dropObject(idx) {
|
|
46
15
|
if (idx < 132) return;
|
|
47
16
|
heap[idx] = heap_next;
|
|
@@ -54,16 +23,9 @@ function takeObject(idx) {
|
|
|
54
23
|
return ret;
|
|
55
24
|
}
|
|
56
25
|
|
|
57
|
-
let
|
|
58
|
-
|
|
59
|
-
function getFloat64Memory0() {
|
|
60
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
61
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
62
|
-
}
|
|
63
|
-
return cachedFloat64Memory0;
|
|
64
|
-
}
|
|
26
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
65
27
|
|
|
66
|
-
|
|
28
|
+
cachedTextDecoder.decode();
|
|
67
29
|
|
|
68
30
|
let cachedUint8Memory0 = null;
|
|
69
31
|
|
|
@@ -74,6 +36,21 @@ function getUint8Memory0() {
|
|
|
74
36
|
return cachedUint8Memory0;
|
|
75
37
|
}
|
|
76
38
|
|
|
39
|
+
function getStringFromWasm0(ptr, len) {
|
|
40
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function addHeapObject(obj) {
|
|
44
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
45
|
+
const idx = heap_next;
|
|
46
|
+
heap_next = heap[idx];
|
|
47
|
+
|
|
48
|
+
heap[idx] = obj;
|
|
49
|
+
return idx;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
let WASM_VECTOR_LEN = 0;
|
|
53
|
+
|
|
77
54
|
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
78
55
|
|
|
79
56
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
@@ -127,12 +104,35 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
127
104
|
return ptr;
|
|
128
105
|
}
|
|
129
106
|
|
|
130
|
-
|
|
107
|
+
function isLikeNone(x) {
|
|
108
|
+
return x === undefined || x === null;
|
|
109
|
+
}
|
|
131
110
|
|
|
132
|
-
|
|
111
|
+
let cachedInt32Memory0 = null;
|
|
133
112
|
|
|
134
|
-
function
|
|
135
|
-
|
|
113
|
+
function getInt32Memory0() {
|
|
114
|
+
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
115
|
+
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
116
|
+
}
|
|
117
|
+
return cachedInt32Memory0;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
let cachedBigInt64Memory0 = null;
|
|
121
|
+
|
|
122
|
+
function getBigInt64Memory0() {
|
|
123
|
+
if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
|
|
124
|
+
cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
|
|
125
|
+
}
|
|
126
|
+
return cachedBigInt64Memory0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
let cachedFloat64Memory0 = null;
|
|
130
|
+
|
|
131
|
+
function getFloat64Memory0() {
|
|
132
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
133
|
+
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
134
|
+
}
|
|
135
|
+
return cachedFloat64Memory0;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
function debugString(val) {
|
|
@@ -392,56 +392,69 @@ function handleError(f, args) {
|
|
|
392
392
|
wasm.__wbindgen_export_5(addHeapObject(e));
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function __wbg_adapter_126(arg0, arg1, arg2, arg3) {
|
|
396
396
|
wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
-
module.exports.
|
|
400
|
-
|
|
401
|
-
return ret;
|
|
399
|
+
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
400
|
+
takeObject(arg0);
|
|
402
401
|
};
|
|
403
402
|
|
|
404
|
-
module.exports.
|
|
405
|
-
const
|
|
406
|
-
|
|
403
|
+
module.exports.__wbg_next_88560ec06a094dea = function() { return handleError(function (arg0) {
|
|
404
|
+
const ret = getObject(arg0).next();
|
|
405
|
+
return addHeapObject(ret);
|
|
406
|
+
}, arguments) };
|
|
407
|
+
|
|
408
|
+
module.exports.__wbg_done_1ebec03bbd919843 = function(arg0) {
|
|
409
|
+
const ret = getObject(arg0).done;
|
|
407
410
|
return ret;
|
|
408
411
|
};
|
|
409
412
|
|
|
410
|
-
module.exports.
|
|
411
|
-
const ret =
|
|
412
|
-
return ret;
|
|
413
|
+
module.exports.__wbg_value_6ac8da5cc5b3efda = function(arg0) {
|
|
414
|
+
const ret = getObject(arg0).value;
|
|
415
|
+
return addHeapObject(ret);
|
|
413
416
|
};
|
|
414
417
|
|
|
415
|
-
module.exports.
|
|
416
|
-
const
|
|
417
|
-
|
|
418
|
-
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
419
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
418
|
+
module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) {
|
|
419
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
420
|
+
return addHeapObject(ret);
|
|
420
421
|
};
|
|
421
422
|
|
|
422
|
-
module.exports.
|
|
423
|
-
const ret =
|
|
423
|
+
module.exports.__wbg_new_f9876326328f45ed = function() {
|
|
424
|
+
const ret = new Object();
|
|
424
425
|
return addHeapObject(ret);
|
|
425
426
|
};
|
|
426
427
|
|
|
427
|
-
module.exports.
|
|
428
|
-
const ret =
|
|
429
|
-
return ret;
|
|
428
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
429
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
430
|
+
return addHeapObject(ret);
|
|
430
431
|
};
|
|
431
432
|
|
|
432
|
-
module.exports.
|
|
433
|
-
|
|
433
|
+
module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
|
|
434
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
434
435
|
};
|
|
435
436
|
|
|
436
|
-
module.exports.
|
|
437
|
-
const
|
|
438
|
-
|
|
439
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
440
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
437
|
+
module.exports.__wbg_new_b525de17f44a8943 = function() {
|
|
438
|
+
const ret = new Array();
|
|
439
|
+
return addHeapObject(ret);
|
|
441
440
|
};
|
|
442
441
|
|
|
443
|
-
module.exports.
|
|
444
|
-
|
|
442
|
+
module.exports.__wbg_set_17224bc548dd1d7b = function(arg0, arg1, arg2) {
|
|
443
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
module.exports.__wbg_new_f841cc6f2098f4b5 = function() {
|
|
447
|
+
const ret = new Map();
|
|
448
|
+
return addHeapObject(ret);
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
module.exports.__wbg_set_388c4c6422704173 = function(arg0, arg1, arg2) {
|
|
452
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
453
|
+
return addHeapObject(ret);
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
457
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
445
458
|
return ret;
|
|
446
459
|
};
|
|
447
460
|
|
|
@@ -454,8 +467,8 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
|
454
467
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
455
468
|
};
|
|
456
469
|
|
|
457
|
-
module.exports.
|
|
458
|
-
const ret =
|
|
470
|
+
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
471
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
459
472
|
return ret;
|
|
460
473
|
};
|
|
461
474
|
|
|
@@ -465,86 +478,88 @@ module.exports.__wbindgen_is_object = function(arg0) {
|
|
|
465
478
|
return ret;
|
|
466
479
|
};
|
|
467
480
|
|
|
481
|
+
module.exports.__wbg_entries_4e1315b774245952 = function(arg0) {
|
|
482
|
+
const ret = Object.entries(getObject(arg0));
|
|
483
|
+
return addHeapObject(ret);
|
|
484
|
+
};
|
|
485
|
+
|
|
468
486
|
module.exports.__wbg_length_e498fbc24f9c1d4f = function(arg0) {
|
|
469
487
|
const ret = getObject(arg0).length;
|
|
470
488
|
return ret;
|
|
471
489
|
};
|
|
472
490
|
|
|
473
|
-
module.exports.
|
|
474
|
-
const ret =
|
|
491
|
+
module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
|
|
492
|
+
const ret = getObject(arg0)[getObject(arg1)];
|
|
475
493
|
return addHeapObject(ret);
|
|
476
494
|
};
|
|
477
495
|
|
|
478
|
-
module.exports.
|
|
479
|
-
const ret = getObject(arg0)
|
|
496
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
497
|
+
const ret = getObject(arg0) === undefined;
|
|
480
498
|
return ret;
|
|
481
499
|
};
|
|
482
500
|
|
|
483
|
-
module.exports.
|
|
484
|
-
const ret =
|
|
485
|
-
return
|
|
501
|
+
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
502
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
503
|
+
return ret;
|
|
486
504
|
};
|
|
487
505
|
|
|
488
|
-
module.exports.
|
|
489
|
-
const
|
|
490
|
-
|
|
491
|
-
}, arguments) };
|
|
492
|
-
|
|
493
|
-
module.exports.__wbg_done_1ebec03bbd919843 = function(arg0) {
|
|
494
|
-
const ret = getObject(arg0).done;
|
|
506
|
+
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
507
|
+
const v = getObject(arg0);
|
|
508
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
495
509
|
return ret;
|
|
496
510
|
};
|
|
497
511
|
|
|
498
|
-
module.exports.
|
|
499
|
-
const ret = getObject(arg0)
|
|
500
|
-
return
|
|
512
|
+
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
513
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
514
|
+
return ret;
|
|
501
515
|
};
|
|
502
516
|
|
|
503
|
-
module.exports.
|
|
504
|
-
const
|
|
505
|
-
|
|
517
|
+
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
518
|
+
const v = getObject(arg1);
|
|
519
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
520
|
+
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
521
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
506
522
|
};
|
|
507
523
|
|
|
508
|
-
module.exports.
|
|
509
|
-
const ret =
|
|
524
|
+
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
525
|
+
const ret = arg0;
|
|
510
526
|
return addHeapObject(ret);
|
|
511
527
|
};
|
|
512
528
|
|
|
513
|
-
module.exports.
|
|
514
|
-
const ret =
|
|
515
|
-
return
|
|
529
|
+
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
530
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
531
|
+
return ret;
|
|
516
532
|
};
|
|
517
533
|
|
|
518
|
-
module.exports.
|
|
519
|
-
const ret =
|
|
534
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
535
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
520
536
|
return addHeapObject(ret);
|
|
521
537
|
};
|
|
522
538
|
|
|
523
|
-
module.exports.
|
|
524
|
-
|
|
539
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
540
|
+
const obj = getObject(arg1);
|
|
541
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
542
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
543
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
525
544
|
};
|
|
526
545
|
|
|
527
|
-
module.exports.
|
|
528
|
-
const ret =
|
|
546
|
+
module.exports.__wbg_isSafeInteger_8c4789029e885159 = function(arg0) {
|
|
547
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
|
529
548
|
return ret;
|
|
530
549
|
};
|
|
531
550
|
|
|
532
|
-
module.exports.
|
|
533
|
-
const ret =
|
|
534
|
-
return
|
|
535
|
-
};
|
|
536
|
-
|
|
537
|
-
module.exports.__wbg_set_17224bc548dd1d7b = function(arg0, arg1, arg2) {
|
|
538
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
551
|
+
module.exports.__wbg_isArray_39d28997bf6b96b4 = function(arg0) {
|
|
552
|
+
const ret = Array.isArray(getObject(arg0));
|
|
553
|
+
return ret;
|
|
539
554
|
};
|
|
540
555
|
|
|
541
|
-
module.exports.
|
|
542
|
-
const ret =
|
|
556
|
+
module.exports.__wbg_iterator_55f114446221aa5a = function() {
|
|
557
|
+
const ret = Symbol.iterator;
|
|
543
558
|
return addHeapObject(ret);
|
|
544
559
|
};
|
|
545
560
|
|
|
546
|
-
module.exports.
|
|
547
|
-
const ret =
|
|
561
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
562
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
548
563
|
return addHeapObject(ret);
|
|
549
564
|
};
|
|
550
565
|
|
|
@@ -553,11 +568,6 @@ module.exports.__wbindgen_is_null = function(arg0) {
|
|
|
553
568
|
return ret;
|
|
554
569
|
};
|
|
555
570
|
|
|
556
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
557
|
-
const ret = getObject(arg0) === undefined;
|
|
558
|
-
return ret;
|
|
559
|
-
};
|
|
560
|
-
|
|
561
571
|
module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
562
572
|
try {
|
|
563
573
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -565,7 +575,7 @@ module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
|
565
575
|
const a = state0.a;
|
|
566
576
|
state0.a = 0;
|
|
567
577
|
try {
|
|
568
|
-
return
|
|
578
|
+
return __wbg_adapter_126(a, state0.b, arg0, arg1);
|
|
569
579
|
} finally {
|
|
570
580
|
state0.a = a;
|
|
571
581
|
}
|
|
@@ -577,16 +587,6 @@ module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
|
577
587
|
}
|
|
578
588
|
};
|
|
579
589
|
|
|
580
|
-
module.exports.__wbg_entries_4e1315b774245952 = function(arg0) {
|
|
581
|
-
const ret = Object.entries(getObject(arg0));
|
|
582
|
-
return addHeapObject(ret);
|
|
583
|
-
};
|
|
584
|
-
|
|
585
|
-
module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
|
|
586
|
-
const ret = getObject(arg0)[getObject(arg1)];
|
|
587
|
-
return addHeapObject(ret);
|
|
588
|
-
};
|
|
589
|
-
|
|
590
590
|
module.exports.__wbindgen_number_new = function(arg0) {
|
|
591
591
|
const ret = arg0;
|
|
592
592
|
return addHeapObject(ret);
|
|
@@ -607,42 +607,6 @@ module.exports.__wbg_getTimezoneOffset_2a6b27fb18493a56 = function(arg0) {
|
|
|
607
607
|
return ret;
|
|
608
608
|
};
|
|
609
609
|
|
|
610
|
-
module.exports.__wbg_self_e7c1f827057f6584 = function() { return handleError(function () {
|
|
611
|
-
const ret = self.self;
|
|
612
|
-
return addHeapObject(ret);
|
|
613
|
-
}, arguments) };
|
|
614
|
-
|
|
615
|
-
module.exports.__wbg_window_a09ec664e14b1b81 = function() { return handleError(function () {
|
|
616
|
-
const ret = window.window;
|
|
617
|
-
return addHeapObject(ret);
|
|
618
|
-
}, arguments) };
|
|
619
|
-
|
|
620
|
-
module.exports.__wbg_globalThis_87cbb8506fecf3a9 = function() { return handleError(function () {
|
|
621
|
-
const ret = globalThis.globalThis;
|
|
622
|
-
return addHeapObject(ret);
|
|
623
|
-
}, arguments) };
|
|
624
|
-
|
|
625
|
-
module.exports.__wbg_global_c85a9259e621f3db = function() { return handleError(function () {
|
|
626
|
-
const ret = global.global;
|
|
627
|
-
return addHeapObject(ret);
|
|
628
|
-
}, arguments) };
|
|
629
|
-
|
|
630
|
-
module.exports.__wbg_newnoargs_2b8b6bd7753c76ba = function(arg0, arg1) {
|
|
631
|
-
var v0 = getCachedStringFromWasm0(arg0, arg1);
|
|
632
|
-
const ret = new Function(v0);
|
|
633
|
-
return addHeapObject(ret);
|
|
634
|
-
};
|
|
635
|
-
|
|
636
|
-
module.exports.__wbg_call_95d1ea488d03e4e8 = function() { return handleError(function (arg0, arg1) {
|
|
637
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
638
|
-
return addHeapObject(ret);
|
|
639
|
-
}, arguments) };
|
|
640
|
-
|
|
641
|
-
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
642
|
-
const ret = getObject(arg0);
|
|
643
|
-
return addHeapObject(ret);
|
|
644
|
-
};
|
|
645
|
-
|
|
646
610
|
module.exports.__wbg_get_baf4855f9a986186 = function() { return handleError(function (arg0, arg1) {
|
|
647
611
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
648
612
|
return addHeapObject(ret);
|
|
@@ -672,20 +636,14 @@ if (arg0 !== 0) { wasm.__wbindgen_export_4(arg0, arg1); }
|
|
|
672
636
|
console.error(v0);
|
|
673
637
|
};
|
|
674
638
|
|
|
675
|
-
module.exports.
|
|
676
|
-
const ret =
|
|
677
|
-
return ret;
|
|
678
|
-
};
|
|
679
|
-
|
|
680
|
-
module.exports.__wbg_next_b7d530c04fd8b217 = function(arg0) {
|
|
681
|
-
const ret = getObject(arg0).next;
|
|
639
|
+
module.exports.__wbg_subarray_7526649b91a252a6 = function(arg0, arg1, arg2) {
|
|
640
|
+
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
682
641
|
return addHeapObject(ret);
|
|
683
642
|
};
|
|
684
643
|
|
|
685
|
-
module.exports.
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
};
|
|
644
|
+
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
645
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
646
|
+
}, arguments) };
|
|
689
647
|
|
|
690
648
|
module.exports.__wbindgen_memory = function() {
|
|
691
649
|
const ret = wasm.memory;
|
|
@@ -697,6 +655,15 @@ module.exports.__wbg_buffer_cf65c07de34b9a08 = function(arg0) {
|
|
|
697
655
|
return addHeapObject(ret);
|
|
698
656
|
};
|
|
699
657
|
|
|
658
|
+
module.exports.__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5 = function(arg0, arg1, arg2) {
|
|
659
|
+
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
660
|
+
return addHeapObject(ret);
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
664
|
+
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
665
|
+
}, arguments) };
|
|
666
|
+
|
|
700
667
|
module.exports.__wbg_new_537b7341ce90bb31 = function(arg0) {
|
|
701
668
|
const ret = new Uint8Array(getObject(arg0));
|
|
702
669
|
return addHeapObject(ret);
|
|
@@ -706,6 +673,92 @@ module.exports.__wbg_set_17499e8aa4003ebd = function(arg0, arg1, arg2) {
|
|
|
706
673
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
707
674
|
};
|
|
708
675
|
|
|
676
|
+
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
677
|
+
const ret = getObject(arg0).crypto;
|
|
678
|
+
return addHeapObject(ret);
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
module.exports.__wbg_process_298734cf255a885d = function(arg0) {
|
|
682
|
+
const ret = getObject(arg0).process;
|
|
683
|
+
return addHeapObject(ret);
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
module.exports.__wbg_versions_e2e78e134e3e5d01 = function(arg0) {
|
|
687
|
+
const ret = getObject(arg0).versions;
|
|
688
|
+
return addHeapObject(ret);
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
|
|
692
|
+
const ret = getObject(arg0).node;
|
|
693
|
+
return addHeapObject(ret);
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
697
|
+
const ret = getObject(arg0).msCrypto;
|
|
698
|
+
return addHeapObject(ret);
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
module.exports.__wbg_newwithlength_b56c882b57805732 = function(arg0) {
|
|
702
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
703
|
+
return addHeapObject(ret);
|
|
704
|
+
};
|
|
705
|
+
|
|
706
|
+
module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
|
|
707
|
+
const ret = module.require;
|
|
708
|
+
return addHeapObject(ret);
|
|
709
|
+
}, arguments) };
|
|
710
|
+
|
|
711
|
+
module.exports.__wbindgen_is_function = function(arg0) {
|
|
712
|
+
const ret = typeof(getObject(arg0)) === 'function';
|
|
713
|
+
return ret;
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
module.exports.__wbg_call_95d1ea488d03e4e8 = function() { return handleError(function (arg0, arg1) {
|
|
717
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
718
|
+
return addHeapObject(ret);
|
|
719
|
+
}, arguments) };
|
|
720
|
+
|
|
721
|
+
module.exports.__wbg_next_b7d530c04fd8b217 = function(arg0) {
|
|
722
|
+
const ret = getObject(arg0).next;
|
|
723
|
+
return addHeapObject(ret);
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
module.exports.__wbg_self_e7c1f827057f6584 = function() { return handleError(function () {
|
|
727
|
+
const ret = self.self;
|
|
728
|
+
return addHeapObject(ret);
|
|
729
|
+
}, arguments) };
|
|
730
|
+
|
|
731
|
+
module.exports.__wbg_window_a09ec664e14b1b81 = function() { return handleError(function () {
|
|
732
|
+
const ret = window.window;
|
|
733
|
+
return addHeapObject(ret);
|
|
734
|
+
}, arguments) };
|
|
735
|
+
|
|
736
|
+
module.exports.__wbg_globalThis_87cbb8506fecf3a9 = function() { return handleError(function () {
|
|
737
|
+
const ret = globalThis.globalThis;
|
|
738
|
+
return addHeapObject(ret);
|
|
739
|
+
}, arguments) };
|
|
740
|
+
|
|
741
|
+
module.exports.__wbg_global_c85a9259e621f3db = function() { return handleError(function () {
|
|
742
|
+
const ret = global.global;
|
|
743
|
+
return addHeapObject(ret);
|
|
744
|
+
}, arguments) };
|
|
745
|
+
|
|
746
|
+
module.exports.__wbg_newnoargs_2b8b6bd7753c76ba = function(arg0, arg1) {
|
|
747
|
+
var v0 = getCachedStringFromWasm0(arg0, arg1);
|
|
748
|
+
const ret = new Function(v0);
|
|
749
|
+
return addHeapObject(ret);
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
753
|
+
const ret = getObject(arg0);
|
|
754
|
+
return addHeapObject(ret);
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
module.exports.__wbg_length_27a2afe8ab42b09f = function(arg0) {
|
|
758
|
+
const ret = getObject(arg0).length;
|
|
759
|
+
return ret;
|
|
760
|
+
};
|
|
761
|
+
|
|
709
762
|
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
710
763
|
const ret = debugString(getObject(arg1));
|
|
711
764
|
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
@@ -748,11 +801,6 @@ module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
|
748
801
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
749
802
|
};
|
|
750
803
|
|
|
751
|
-
module.exports.__wbg_then_ec5db6d509eb475f = function(arg0, arg1) {
|
|
752
|
-
const ret = getObject(arg0).then(getObject(arg1));
|
|
753
|
-
return addHeapObject(ret);
|
|
754
|
-
};
|
|
755
|
-
|
|
756
804
|
module.exports.__wbg_resolve_fd40f858d9db1a04 = function(arg0) {
|
|
757
805
|
const ret = Promise.resolve(getObject(arg0));
|
|
758
806
|
return addHeapObject(ret);
|
|
@@ -768,8 +816,13 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
768
816
|
return ret;
|
|
769
817
|
};
|
|
770
818
|
|
|
771
|
-
module.exports.
|
|
772
|
-
const ret =
|
|
819
|
+
module.exports.__wbg_then_ec5db6d509eb475f = function(arg0, arg1) {
|
|
820
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
821
|
+
return addHeapObject(ret);
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
module.exports.__wbindgen_closure_wrapper14991 = function(arg0, arg1, arg2) {
|
|
825
|
+
const ret = makeMutClosure(arg0, arg1, 221, __wbg_adapter_50);
|
|
773
826
|
return addHeapObject(ret);
|
|
774
827
|
};
|
|
775
828
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|