@next/swc-wasm-nodejs 14.1.1-canary.9 → 14.1.2-canary.0
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 +305 -288
- 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 { TextEncoder, TextDecoder } = require(`util`);
|
|
5
5
|
|
|
6
6
|
const heap = new Array(128).fill(undefined);
|
|
7
7
|
|
|
@@ -23,18 +23,7 @@ function takeObject(idx) {
|
|
|
23
23
|
return ret;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
28
|
-
const idx = heap_next;
|
|
29
|
-
heap_next = heap[idx];
|
|
30
|
-
|
|
31
|
-
heap[idx] = obj;
|
|
32
|
-
return idx;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
36
|
-
|
|
37
|
-
cachedTextDecoder.decode();
|
|
26
|
+
let WASM_VECTOR_LEN = 0;
|
|
38
27
|
|
|
39
28
|
let cachedUint8Memory0 = null;
|
|
40
29
|
|
|
@@ -45,34 +34,6 @@ function getUint8Memory0() {
|
|
|
45
34
|
return cachedUint8Memory0;
|
|
46
35
|
}
|
|
47
36
|
|
|
48
|
-
function getStringFromWasm0(ptr, len) {
|
|
49
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function isLikeNone(x) {
|
|
53
|
-
return x === undefined || x === null;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
let cachedFloat64Memory0 = null;
|
|
57
|
-
|
|
58
|
-
function getFloat64Memory0() {
|
|
59
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
60
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
61
|
-
}
|
|
62
|
-
return cachedFloat64Memory0;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
let cachedInt32Memory0 = null;
|
|
66
|
-
|
|
67
|
-
function getInt32Memory0() {
|
|
68
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
69
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
70
|
-
}
|
|
71
|
-
return cachedInt32Memory0;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
let WASM_VECTOR_LEN = 0;
|
|
75
|
-
|
|
76
37
|
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
77
38
|
|
|
78
39
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
@@ -92,14 +53,14 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
92
53
|
|
|
93
54
|
if (realloc === undefined) {
|
|
94
55
|
const buf = cachedTextEncoder.encode(arg);
|
|
95
|
-
const ptr = malloc(buf.length);
|
|
56
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
96
57
|
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
97
58
|
WASM_VECTOR_LEN = buf.length;
|
|
98
59
|
return ptr;
|
|
99
60
|
}
|
|
100
61
|
|
|
101
62
|
let len = arg.length;
|
|
102
|
-
let ptr = malloc(len);
|
|
63
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
103
64
|
|
|
104
65
|
const mem = getUint8Memory0();
|
|
105
66
|
|
|
@@ -115,17 +76,58 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
115
76
|
if (offset !== 0) {
|
|
116
77
|
arg = arg.slice(offset);
|
|
117
78
|
}
|
|
118
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3);
|
|
79
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
119
80
|
const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
|
|
120
81
|
const ret = encodeString(arg, view);
|
|
121
82
|
|
|
122
83
|
offset += ret.written;
|
|
84
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
123
85
|
}
|
|
124
86
|
|
|
125
87
|
WASM_VECTOR_LEN = offset;
|
|
126
88
|
return ptr;
|
|
127
89
|
}
|
|
128
90
|
|
|
91
|
+
function isLikeNone(x) {
|
|
92
|
+
return x === undefined || x === null;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
let cachedInt32Memory0 = null;
|
|
96
|
+
|
|
97
|
+
function getInt32Memory0() {
|
|
98
|
+
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
99
|
+
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
100
|
+
}
|
|
101
|
+
return cachedInt32Memory0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function addHeapObject(obj) {
|
|
105
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
106
|
+
const idx = heap_next;
|
|
107
|
+
heap_next = heap[idx];
|
|
108
|
+
|
|
109
|
+
heap[idx] = obj;
|
|
110
|
+
return idx;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
let cachedFloat64Memory0 = null;
|
|
114
|
+
|
|
115
|
+
function getFloat64Memory0() {
|
|
116
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
117
|
+
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
118
|
+
}
|
|
119
|
+
return cachedFloat64Memory0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
123
|
+
|
|
124
|
+
cachedTextDecoder.decode();
|
|
125
|
+
|
|
126
|
+
function getStringFromWasm0(ptr, len) {
|
|
127
|
+
ptr = ptr >>> 0;
|
|
128
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
129
|
+
}
|
|
130
|
+
|
|
129
131
|
let cachedBigInt64Memory0 = null;
|
|
130
132
|
|
|
131
133
|
function getBigInt64Memory0() {
|
|
@@ -200,6 +202,12 @@ function debugString(val) {
|
|
|
200
202
|
return className;
|
|
201
203
|
}
|
|
202
204
|
|
|
205
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
206
|
+
? { register: () => {}, unregister: () => {} }
|
|
207
|
+
: new FinalizationRegistry(state => {
|
|
208
|
+
wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b)
|
|
209
|
+
});
|
|
210
|
+
|
|
203
211
|
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
204
212
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
205
213
|
const real = (...args) => {
|
|
@@ -214,37 +222,18 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
214
222
|
} finally {
|
|
215
223
|
if (--state.cnt === 0) {
|
|
216
224
|
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
|
|
217
|
-
|
|
225
|
+
CLOSURE_DTORS.unregister(state);
|
|
218
226
|
} else {
|
|
219
227
|
state.a = a;
|
|
220
228
|
}
|
|
221
229
|
}
|
|
222
230
|
};
|
|
223
231
|
real.original = state;
|
|
224
|
-
|
|
232
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
225
233
|
return real;
|
|
226
234
|
}
|
|
227
235
|
function __wbg_adapter_48(arg0, arg1, arg2) {
|
|
228
|
-
wasm.
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
function getCachedStringFromWasm0(ptr, len) {
|
|
232
|
-
if (ptr === 0) {
|
|
233
|
-
return getObject(len);
|
|
234
|
-
} else {
|
|
235
|
-
return getStringFromWasm0(ptr, len);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
function handleError(f, args) {
|
|
240
|
-
try {
|
|
241
|
-
return f.apply(this, args);
|
|
242
|
-
} catch (e) {
|
|
243
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
function __wbg_adapter_109(arg0, arg1, arg2, arg3) {
|
|
247
|
-
wasm.wasm_bindgen_39630e0829e5c267___convert__closures__invoke2_mut___wasm_bindgen_39630e0829e5c267___JsValue__wasm_bindgen_39630e0829e5c267___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
236
|
+
wasm._dyn_core_80dd73c7ef3d55e5___ops__function__FnMut_______Output______as_wasm_bindgen_19194eebc680be5___closure__WasmClosure___describe__invoke___wasm_bindgen_19194eebc680be5___JsValue_____(arg0, arg1, addHeapObject(arg2));
|
|
248
237
|
}
|
|
249
238
|
|
|
250
239
|
/**
|
|
@@ -371,130 +360,167 @@ module.exports.parse = function(s, opts) {
|
|
|
371
360
|
return takeObject(ret);
|
|
372
361
|
};
|
|
373
362
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
}
|
|
363
|
+
function getCachedStringFromWasm0(ptr, len) {
|
|
364
|
+
if (ptr === 0) {
|
|
365
|
+
return getObject(len);
|
|
366
|
+
} else {
|
|
367
|
+
return getStringFromWasm0(ptr, len);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
function handleError(f, args) {
|
|
372
|
+
try {
|
|
373
|
+
return f.apply(this, args);
|
|
374
|
+
} catch (e) {
|
|
375
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
function __wbg_adapter_125(arg0, arg1, arg2, arg3) {
|
|
379
|
+
wasm.wasm_bindgen_19194eebc680be5___convert__closures__invoke2_mut___wasm_bindgen_19194eebc680be5___JsValue__wasm_bindgen_19194eebc680be5___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
380
|
+
}
|
|
378
381
|
|
|
379
382
|
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
380
383
|
takeObject(arg0);
|
|
381
384
|
};
|
|
382
385
|
|
|
383
|
-
module.exports.
|
|
386
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
387
|
+
const obj = getObject(arg1);
|
|
388
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
389
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
390
|
+
var len1 = WASM_VECTOR_LEN;
|
|
391
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
392
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
396
|
+
const v = getObject(arg0);
|
|
397
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
398
|
+
return ret;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
402
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
403
|
+
return ret;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
384
407
|
const ret = arg0;
|
|
385
408
|
return addHeapObject(ret);
|
|
386
409
|
};
|
|
387
410
|
|
|
388
|
-
module.exports.
|
|
389
|
-
const ret =
|
|
411
|
+
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
412
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
413
|
+
return ret;
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
417
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
390
418
|
return addHeapObject(ret);
|
|
391
419
|
};
|
|
392
420
|
|
|
393
|
-
module.exports.
|
|
394
|
-
const
|
|
395
|
-
|
|
421
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
422
|
+
const obj = getObject(arg1);
|
|
423
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
424
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
425
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
396
426
|
};
|
|
397
427
|
|
|
398
|
-
module.exports.
|
|
399
|
-
const
|
|
428
|
+
module.exports.__wbindgen_is_object = function(arg0) {
|
|
429
|
+
const val = getObject(arg0);
|
|
430
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
400
431
|
return ret;
|
|
401
432
|
};
|
|
402
433
|
|
|
403
|
-
module.exports.
|
|
404
|
-
const ret =
|
|
405
|
-
return
|
|
434
|
+
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
435
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
436
|
+
return ret;
|
|
406
437
|
};
|
|
407
438
|
|
|
408
|
-
module.exports.
|
|
409
|
-
const ret = getObject(
|
|
410
|
-
|
|
411
|
-
const len0 = WASM_VECTOR_LEN;
|
|
412
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
413
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
439
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
440
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
441
|
+
return ret;
|
|
414
442
|
};
|
|
415
443
|
|
|
416
|
-
module.exports.
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
console.error(v0);
|
|
444
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
445
|
+
const ret = getObject(arg0) === undefined;
|
|
446
|
+
return ret;
|
|
420
447
|
};
|
|
421
448
|
|
|
422
|
-
module.exports.
|
|
423
|
-
const ret =
|
|
449
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
450
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
424
451
|
return addHeapObject(ret);
|
|
425
452
|
};
|
|
426
453
|
|
|
427
|
-
module.exports.
|
|
428
|
-
const ret =
|
|
454
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
455
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
429
456
|
return addHeapObject(ret);
|
|
430
457
|
};
|
|
431
458
|
|
|
432
|
-
module.exports.
|
|
433
|
-
const ret = new
|
|
459
|
+
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
460
|
+
const ret = new Error();
|
|
434
461
|
return addHeapObject(ret);
|
|
435
462
|
};
|
|
436
463
|
|
|
437
|
-
module.exports.
|
|
438
|
-
getObject(
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
return addHeapObject(ret);
|
|
464
|
+
module.exports.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
|
|
465
|
+
const ret = getObject(arg1).stack;
|
|
466
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
467
|
+
const len1 = WASM_VECTOR_LEN;
|
|
468
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
469
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
444
470
|
};
|
|
445
471
|
|
|
446
|
-
module.exports.
|
|
447
|
-
|
|
448
|
-
|
|
472
|
+
module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
473
|
+
var v0 = getCachedStringFromWasm0(arg0, arg1);
|
|
474
|
+
if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1, 1); }
|
|
475
|
+
console.error(v0);
|
|
476
|
+
};
|
|
449
477
|
|
|
450
|
-
module.exports.
|
|
451
|
-
const ret =
|
|
478
|
+
module.exports.__wbg_queueMicrotask_f82fc5d1e8f816ae = function(arg0) {
|
|
479
|
+
const ret = getObject(arg0).queueMicrotask;
|
|
452
480
|
return addHeapObject(ret);
|
|
453
481
|
};
|
|
454
482
|
|
|
455
|
-
module.exports.
|
|
456
|
-
getObject(arg0)
|
|
483
|
+
module.exports.__wbindgen_is_function = function(arg0) {
|
|
484
|
+
const ret = typeof(getObject(arg0)) === 'function';
|
|
485
|
+
return ret;
|
|
457
486
|
};
|
|
458
487
|
|
|
459
|
-
module.exports.
|
|
460
|
-
const
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
const ret =
|
|
466
|
-
return
|
|
467
|
-
}
|
|
488
|
+
module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
489
|
+
const obj = takeObject(arg0).original;
|
|
490
|
+
if (obj.cnt-- == 1) {
|
|
491
|
+
obj.a = 0;
|
|
492
|
+
return true;
|
|
493
|
+
}
|
|
494
|
+
const ret = false;
|
|
495
|
+
return ret;
|
|
496
|
+
};
|
|
468
497
|
|
|
469
|
-
module.exports.
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}, arguments) };
|
|
498
|
+
module.exports.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) {
|
|
499
|
+
queueMicrotask(getObject(arg0));
|
|
500
|
+
};
|
|
473
501
|
|
|
474
|
-
module.exports.
|
|
475
|
-
const ret =
|
|
502
|
+
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
503
|
+
const ret = getObject(arg0);
|
|
476
504
|
return addHeapObject(ret);
|
|
477
|
-
}
|
|
505
|
+
};
|
|
478
506
|
|
|
479
|
-
module.exports.
|
|
480
|
-
const ret = getObject(arg0)
|
|
507
|
+
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
508
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
481
509
|
return ret;
|
|
482
510
|
};
|
|
483
511
|
|
|
484
|
-
module.exports.
|
|
485
|
-
|
|
486
|
-
const ret = new Function(v0);
|
|
512
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
513
|
+
const ret = arg0;
|
|
487
514
|
return addHeapObject(ret);
|
|
488
515
|
};
|
|
489
516
|
|
|
490
|
-
module.exports.
|
|
491
|
-
const ret = getObject(arg0)
|
|
517
|
+
module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
|
|
518
|
+
const ret = getObject(arg0)[getObject(arg1)];
|
|
492
519
|
return addHeapObject(ret);
|
|
493
|
-
}
|
|
520
|
+
};
|
|
494
521
|
|
|
495
|
-
module.exports.
|
|
496
|
-
|
|
497
|
-
return addHeapObject(ret);
|
|
522
|
+
module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
|
|
523
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
498
524
|
};
|
|
499
525
|
|
|
500
526
|
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
@@ -502,12 +528,6 @@ module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
|
502
528
|
return addHeapObject(ret);
|
|
503
529
|
};
|
|
504
530
|
|
|
505
|
-
module.exports.__wbindgen_is_object = function(arg0) {
|
|
506
|
-
const val = getObject(arg0);
|
|
507
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
508
|
-
return ret;
|
|
509
|
-
};
|
|
510
|
-
|
|
511
531
|
module.exports.__wbg_process_298734cf255a885d = function(arg0) {
|
|
512
532
|
const ret = getObject(arg0).process;
|
|
513
533
|
return addHeapObject(ret);
|
|
@@ -523,208 +543,159 @@ module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
|
|
|
523
543
|
return addHeapObject(ret);
|
|
524
544
|
};
|
|
525
545
|
|
|
526
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
527
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
528
|
-
return ret;
|
|
529
|
-
};
|
|
530
|
-
|
|
531
546
|
module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
532
547
|
const ret = getObject(arg0).msCrypto;
|
|
533
548
|
return addHeapObject(ret);
|
|
534
549
|
};
|
|
535
550
|
|
|
536
|
-
module.exports.__wbg_newwithlength_b56c882b57805732 = function(arg0) {
|
|
537
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
538
|
-
return addHeapObject(ret);
|
|
539
|
-
};
|
|
540
|
-
|
|
541
551
|
module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
|
|
542
552
|
const ret = module.require;
|
|
543
553
|
return addHeapObject(ret);
|
|
544
554
|
}, arguments) };
|
|
545
555
|
|
|
546
|
-
module.exports.
|
|
547
|
-
|
|
548
|
-
return ret;
|
|
549
|
-
};
|
|
550
|
-
|
|
551
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
552
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
553
|
-
return addHeapObject(ret);
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
module.exports.__wbg_call_9495de66fdbe016b = function() { return handleError(function (arg0, arg1, arg2) {
|
|
557
|
-
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
558
|
-
return addHeapObject(ret);
|
|
556
|
+
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
557
|
+
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
559
558
|
}, arguments) };
|
|
560
559
|
|
|
561
|
-
module.exports.
|
|
562
|
-
|
|
563
|
-
return addHeapObject(ret);
|
|
564
|
-
};
|
|
565
|
-
|
|
566
|
-
module.exports.__wbg_get_baf4855f9a986186 = function() { return handleError(function (arg0, arg1) {
|
|
567
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
568
|
-
return addHeapObject(ret);
|
|
560
|
+
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
561
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
569
562
|
}, arguments) };
|
|
570
563
|
|
|
571
|
-
module.exports.
|
|
572
|
-
const ret = getObject(arg0)
|
|
564
|
+
module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
|
|
565
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
573
566
|
return addHeapObject(ret);
|
|
574
567
|
};
|
|
575
568
|
|
|
576
|
-
module.exports.
|
|
569
|
+
module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) {
|
|
577
570
|
const ret = getObject(arg0).length;
|
|
578
571
|
return ret;
|
|
579
572
|
};
|
|
580
573
|
|
|
581
|
-
module.exports.
|
|
582
|
-
|
|
574
|
+
module.exports.__wbg_newnoargs_cfecb3965268594c = function(arg0, arg1) {
|
|
575
|
+
var v0 = getCachedStringFromWasm0(arg0, arg1);
|
|
576
|
+
const ret = new Function(v0);
|
|
583
577
|
return addHeapObject(ret);
|
|
584
578
|
};
|
|
585
579
|
|
|
586
|
-
module.exports.
|
|
587
|
-
const ret =
|
|
580
|
+
module.exports.__wbg_next_586204376d2ed373 = function(arg0) {
|
|
581
|
+
const ret = getObject(arg0).next;
|
|
588
582
|
return addHeapObject(ret);
|
|
589
583
|
};
|
|
590
584
|
|
|
591
|
-
module.exports.
|
|
592
|
-
const ret = getObject(arg0)
|
|
593
|
-
return ret;
|
|
594
|
-
};
|
|
585
|
+
module.exports.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
|
|
586
|
+
const ret = getObject(arg0).next();
|
|
587
|
+
return addHeapObject(ret);
|
|
588
|
+
}, arguments) };
|
|
595
589
|
|
|
596
|
-
module.exports.
|
|
597
|
-
const
|
|
598
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
590
|
+
module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
|
|
591
|
+
const ret = getObject(arg0).done;
|
|
599
592
|
return ret;
|
|
600
593
|
};
|
|
601
594
|
|
|
602
|
-
module.exports.
|
|
603
|
-
const
|
|
604
|
-
|
|
605
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
606
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
595
|
+
module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
|
|
596
|
+
const ret = getObject(arg0).value;
|
|
597
|
+
return addHeapObject(ret);
|
|
607
598
|
};
|
|
608
599
|
|
|
609
|
-
module.exports.
|
|
610
|
-
const
|
|
611
|
-
|
|
612
|
-
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
613
|
-
var len0 = WASM_VECTOR_LEN;
|
|
614
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
615
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
600
|
+
module.exports.__wbg_iterator_40027cdd598da26b = function() {
|
|
601
|
+
const ret = Symbol.iterator;
|
|
602
|
+
return addHeapObject(ret);
|
|
616
603
|
};
|
|
617
604
|
|
|
618
|
-
module.exports.
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
} catch {
|
|
623
|
-
result = false;
|
|
624
|
-
}
|
|
625
|
-
const ret = result;
|
|
626
|
-
return ret;
|
|
627
|
-
};
|
|
605
|
+
module.exports.__wbg_get_3fddfed2c83f434c = function() { return handleError(function (arg0, arg1) {
|
|
606
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
607
|
+
return addHeapObject(ret);
|
|
608
|
+
}, arguments) };
|
|
628
609
|
|
|
629
|
-
module.exports.
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
} catch {
|
|
634
|
-
result = false;
|
|
635
|
-
}
|
|
636
|
-
const ret = result;
|
|
637
|
-
return ret;
|
|
638
|
-
};
|
|
610
|
+
module.exports.__wbg_call_3f093dd26d5569f8 = function() { return handleError(function (arg0, arg1) {
|
|
611
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
612
|
+
return addHeapObject(ret);
|
|
613
|
+
}, arguments) };
|
|
639
614
|
|
|
640
|
-
module.exports.
|
|
641
|
-
const ret =
|
|
615
|
+
module.exports.__wbg_self_05040bd9523805b9 = function() { return handleError(function () {
|
|
616
|
+
const ret = self.self;
|
|
642
617
|
return addHeapObject(ret);
|
|
643
|
-
};
|
|
618
|
+
}, arguments) };
|
|
644
619
|
|
|
645
|
-
module.exports.
|
|
646
|
-
const ret =
|
|
620
|
+
module.exports.__wbg_window_adc720039f2cb14f = function() { return handleError(function () {
|
|
621
|
+
const ret = window.window;
|
|
647
622
|
return addHeapObject(ret);
|
|
648
623
|
}, arguments) };
|
|
649
624
|
|
|
650
|
-
module.exports.
|
|
651
|
-
const ret =
|
|
652
|
-
return ret;
|
|
653
|
-
};
|
|
625
|
+
module.exports.__wbg_globalThis_622105db80c1457d = function() { return handleError(function () {
|
|
626
|
+
const ret = globalThis.globalThis;
|
|
627
|
+
return addHeapObject(ret);
|
|
628
|
+
}, arguments) };
|
|
654
629
|
|
|
655
|
-
module.exports.
|
|
656
|
-
const ret =
|
|
630
|
+
module.exports.__wbg_global_f56b013ed9bcf359 = function() { return handleError(function () {
|
|
631
|
+
const ret = global.global;
|
|
657
632
|
return addHeapObject(ret);
|
|
658
|
-
};
|
|
633
|
+
}, arguments) };
|
|
659
634
|
|
|
660
|
-
module.exports.
|
|
661
|
-
const ret =
|
|
635
|
+
module.exports.__wbg_isArray_e783c41d0dd19b44 = function(arg0) {
|
|
636
|
+
const ret = Array.isArray(getObject(arg0));
|
|
662
637
|
return ret;
|
|
663
638
|
};
|
|
664
639
|
|
|
665
|
-
module.exports.
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
const ret = arg0;
|
|
674
|
-
return addHeapObject(ret);
|
|
675
|
-
};
|
|
676
|
-
|
|
677
|
-
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
678
|
-
const ret = getObject(arg0) === getObject(arg1);
|
|
640
|
+
module.exports.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) {
|
|
641
|
+
let result;
|
|
642
|
+
try {
|
|
643
|
+
result = getObject(arg0) instanceof ArrayBuffer;
|
|
644
|
+
} catch (_) {
|
|
645
|
+
result = false;
|
|
646
|
+
}
|
|
647
|
+
const ret = result;
|
|
679
648
|
return ret;
|
|
680
649
|
};
|
|
681
650
|
|
|
682
|
-
module.exports.
|
|
683
|
-
const ret =
|
|
651
|
+
module.exports.__wbg_call_67f2111acd2dfdb6 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
652
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
684
653
|
return addHeapObject(ret);
|
|
685
|
-
};
|
|
654
|
+
}, arguments) };
|
|
686
655
|
|
|
687
|
-
module.exports.
|
|
656
|
+
module.exports.__wbg_isSafeInteger_a23a66ee7c41b273 = function(arg0) {
|
|
688
657
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
689
658
|
return ret;
|
|
690
659
|
};
|
|
691
660
|
|
|
692
|
-
module.exports.
|
|
693
|
-
const ret =
|
|
661
|
+
module.exports.__wbg_getTime_0e03c3f524be31ef = function(arg0) {
|
|
662
|
+
const ret = getObject(arg0).getTime();
|
|
694
663
|
return ret;
|
|
695
664
|
};
|
|
696
665
|
|
|
697
|
-
module.exports.
|
|
698
|
-
const ret = getObject(arg0)
|
|
666
|
+
module.exports.__wbg_getTimezoneOffset_840b552f34917133 = function(arg0) {
|
|
667
|
+
const ret = getObject(arg0).getTimezoneOffset();
|
|
699
668
|
return ret;
|
|
700
669
|
};
|
|
701
670
|
|
|
702
|
-
module.exports.
|
|
703
|
-
const ret = getObject(arg0)
|
|
704
|
-
return ret;
|
|
671
|
+
module.exports.__wbg_new_a9d80688888b4894 = function(arg0) {
|
|
672
|
+
const ret = new Date(getObject(arg0));
|
|
673
|
+
return addHeapObject(ret);
|
|
705
674
|
};
|
|
706
675
|
|
|
707
|
-
module.exports.
|
|
708
|
-
const ret =
|
|
676
|
+
module.exports.__wbg_new0_7a6141101f2206da = function() {
|
|
677
|
+
const ret = new Date();
|
|
709
678
|
return addHeapObject(ret);
|
|
710
679
|
};
|
|
711
680
|
|
|
712
|
-
module.exports.
|
|
713
|
-
const ret =
|
|
714
|
-
|
|
715
|
-
const len0 = WASM_VECTOR_LEN;
|
|
716
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
717
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
681
|
+
module.exports.__wbg_entries_488960b196cfb6a5 = function(arg0) {
|
|
682
|
+
const ret = Object.entries(getObject(arg0));
|
|
683
|
+
return addHeapObject(ret);
|
|
718
684
|
};
|
|
719
685
|
|
|
720
|
-
module.exports.
|
|
686
|
+
module.exports.__wbg_new_632630b5cec17f21 = function() {
|
|
687
|
+
const ret = new Object();
|
|
688
|
+
return addHeapObject(ret);
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
|
|
721
692
|
try {
|
|
722
693
|
var state0 = {a: arg0, b: arg1};
|
|
723
694
|
var cb0 = (arg0, arg1) => {
|
|
724
695
|
const a = state0.a;
|
|
725
696
|
state0.a = 0;
|
|
726
697
|
try {
|
|
727
|
-
return
|
|
698
|
+
return __wbg_adapter_125(a, state0.b, arg0, arg1);
|
|
728
699
|
} finally {
|
|
729
700
|
state0.a = a;
|
|
730
701
|
}
|
|
@@ -736,41 +707,87 @@ module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
|
|
|
736
707
|
}
|
|
737
708
|
};
|
|
738
709
|
|
|
739
|
-
module.exports.
|
|
740
|
-
const ret =
|
|
710
|
+
module.exports.__wbg_resolve_5da6faf2c96fd1d5 = function(arg0) {
|
|
711
|
+
const ret = Promise.resolve(getObject(arg0));
|
|
741
712
|
return addHeapObject(ret);
|
|
742
713
|
};
|
|
743
714
|
|
|
744
|
-
module.exports.
|
|
745
|
-
getObject(arg0)
|
|
715
|
+
module.exports.__wbg_then_f9e58f5a50f43eae = function(arg0, arg1) {
|
|
716
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
717
|
+
return addHeapObject(ret);
|
|
746
718
|
};
|
|
747
719
|
|
|
748
|
-
module.exports.
|
|
749
|
-
|
|
720
|
+
module.exports.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) {
|
|
721
|
+
const ret = getObject(arg0).buffer;
|
|
722
|
+
return addHeapObject(ret);
|
|
750
723
|
};
|
|
751
724
|
|
|
752
|
-
module.exports.
|
|
753
|
-
const ret = getObject(arg0)
|
|
725
|
+
module.exports.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) {
|
|
726
|
+
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
754
727
|
return addHeapObject(ret);
|
|
755
728
|
};
|
|
756
729
|
|
|
757
|
-
module.exports.
|
|
758
|
-
const ret =
|
|
730
|
+
module.exports.__wbg_new_b1f2d6842d615181 = function(arg0) {
|
|
731
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
759
732
|
return addHeapObject(ret);
|
|
760
733
|
};
|
|
761
734
|
|
|
762
|
-
module.exports.
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
735
|
+
module.exports.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) {
|
|
736
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
module.exports.__wbg_length_21c4b0ae73cba59d = function(arg0) {
|
|
740
|
+
const ret = getObject(arg0).length;
|
|
741
|
+
return ret;
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
module.exports.__wbg_instanceof_Uint8Array_c299a4ee232e76ba = function(arg0) {
|
|
745
|
+
let result;
|
|
746
|
+
try {
|
|
747
|
+
result = getObject(arg0) instanceof Uint8Array;
|
|
748
|
+
} catch (_) {
|
|
749
|
+
result = false;
|
|
767
750
|
}
|
|
768
|
-
const ret =
|
|
751
|
+
const ret = result;
|
|
769
752
|
return ret;
|
|
770
753
|
};
|
|
771
754
|
|
|
772
|
-
module.exports.
|
|
773
|
-
const ret =
|
|
755
|
+
module.exports.__wbg_newwithlength_0d03cef43b68a530 = function(arg0) {
|
|
756
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
757
|
+
return addHeapObject(ret);
|
|
758
|
+
};
|
|
759
|
+
|
|
760
|
+
module.exports.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
|
|
761
|
+
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
762
|
+
return addHeapObject(ret);
|
|
763
|
+
};
|
|
764
|
+
|
|
765
|
+
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
766
|
+
const v = getObject(arg1);
|
|
767
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
768
|
+
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
769
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
773
|
+
const ret = debugString(getObject(arg1));
|
|
774
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
775
|
+
const len1 = WASM_VECTOR_LEN;
|
|
776
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
777
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
781
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
module.exports.__wbindgen_memory = function() {
|
|
785
|
+
const ret = wasm.memory;
|
|
786
|
+
return addHeapObject(ret);
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
module.exports.__wbindgen_closure_wrapper15367 = function(arg0, arg1, arg2) {
|
|
790
|
+
const ret = makeMutClosure(arg0, arg1, 3593, __wbg_adapter_48);
|
|
774
791
|
return addHeapObject(ret);
|
|
775
792
|
};
|
|
776
793
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|