@acala-network/chopsticks-executor 0.9.0 → 0.9.1-1
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.
|
@@ -6,7 +6,23 @@ heap.push(undefined, null, true, false);
|
|
|
6
6
|
|
|
7
7
|
function getObject(idx) { return heap[idx]; }
|
|
8
8
|
|
|
9
|
-
let
|
|
9
|
+
let heap_next = heap.length;
|
|
10
|
+
|
|
11
|
+
function dropObject(idx) {
|
|
12
|
+
if (idx < 132) return;
|
|
13
|
+
heap[idx] = heap_next;
|
|
14
|
+
heap_next = idx;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function takeObject(idx) {
|
|
18
|
+
const ret = getObject(idx);
|
|
19
|
+
dropObject(idx);
|
|
20
|
+
return ret;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
24
|
+
|
|
25
|
+
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
10
26
|
|
|
11
27
|
let cachedUint8Memory0 = null;
|
|
12
28
|
|
|
@@ -17,6 +33,44 @@ function getUint8Memory0() {
|
|
|
17
33
|
return cachedUint8Memory0;
|
|
18
34
|
}
|
|
19
35
|
|
|
36
|
+
function getStringFromWasm0(ptr, len) {
|
|
37
|
+
ptr = ptr >>> 0;
|
|
38
|
+
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function addHeapObject(obj) {
|
|
42
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
43
|
+
const idx = heap_next;
|
|
44
|
+
heap_next = heap[idx];
|
|
45
|
+
|
|
46
|
+
heap[idx] = obj;
|
|
47
|
+
return idx;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function isLikeNone(x) {
|
|
51
|
+
return x === undefined || x === null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
let cachedFloat64Memory0 = null;
|
|
55
|
+
|
|
56
|
+
function getFloat64Memory0() {
|
|
57
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
58
|
+
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
59
|
+
}
|
|
60
|
+
return cachedFloat64Memory0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
let cachedInt32Memory0 = null;
|
|
64
|
+
|
|
65
|
+
function getInt32Memory0() {
|
|
66
|
+
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
67
|
+
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
68
|
+
}
|
|
69
|
+
return cachedInt32Memory0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
let WASM_VECTOR_LEN = 0;
|
|
73
|
+
|
|
20
74
|
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
|
|
21
75
|
|
|
22
76
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
@@ -70,60 +124,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
70
124
|
return ptr;
|
|
71
125
|
}
|
|
72
126
|
|
|
73
|
-
function isLikeNone(x) {
|
|
74
|
-
return x === undefined || x === null;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
let cachedInt32Memory0 = null;
|
|
78
|
-
|
|
79
|
-
function getInt32Memory0() {
|
|
80
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
81
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
82
|
-
}
|
|
83
|
-
return cachedInt32Memory0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
let heap_next = heap.length;
|
|
87
|
-
|
|
88
|
-
function dropObject(idx) {
|
|
89
|
-
if (idx < 132) return;
|
|
90
|
-
heap[idx] = heap_next;
|
|
91
|
-
heap_next = idx;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
function takeObject(idx) {
|
|
95
|
-
const ret = getObject(idx);
|
|
96
|
-
dropObject(idx);
|
|
97
|
-
return ret;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
101
|
-
|
|
102
|
-
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
103
|
-
|
|
104
|
-
function getStringFromWasm0(ptr, len) {
|
|
105
|
-
ptr = ptr >>> 0;
|
|
106
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
function addHeapObject(obj) {
|
|
110
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
111
|
-
const idx = heap_next;
|
|
112
|
-
heap_next = heap[idx];
|
|
113
|
-
|
|
114
|
-
heap[idx] = obj;
|
|
115
|
-
return idx;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
let cachedFloat64Memory0 = null;
|
|
119
|
-
|
|
120
|
-
function getFloat64Memory0() {
|
|
121
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
122
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
123
|
-
}
|
|
124
|
-
return cachedFloat64Memory0;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
127
|
let cachedBigInt64Memory0 = null;
|
|
128
128
|
|
|
129
129
|
function getBigInt64Memory0() {
|
|
@@ -223,7 +223,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
223
223
|
return real;
|
|
224
224
|
}
|
|
225
225
|
function __wbg_adapter_46(arg0, arg1, arg2) {
|
|
226
|
-
wasm.
|
|
226
|
+
wasm.wasm_bindgen__convert__closures__invoke1_mut__h84425a3baffea565(arg0, arg1, addHeapObject(arg2));
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
/**
|
|
@@ -269,7 +269,7 @@ export function create_proof(nodes, entries) {
|
|
|
269
269
|
/**
|
|
270
270
|
* @param {any} task
|
|
271
271
|
* @param {JsCallback} js
|
|
272
|
-
* @param {string | undefined} log_level
|
|
272
|
+
* @param {string | undefined} [log_level]
|
|
273
273
|
* @returns {Promise<any>}
|
|
274
274
|
*/
|
|
275
275
|
export function run_task(task, js, log_level) {
|
|
@@ -286,8 +286,8 @@ function handleError(f, args) {
|
|
|
286
286
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
function
|
|
290
|
-
wasm.
|
|
289
|
+
function __wbg_adapter_108(arg0, arg1, arg2, arg3) {
|
|
290
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h59e4ab6c95dba127(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
async function __wbg_load(module, imports) {
|
|
@@ -324,70 +324,48 @@ async function __wbg_load(module, imports) {
|
|
|
324
324
|
function __wbg_get_imports() {
|
|
325
325
|
const imports = {};
|
|
326
326
|
imports.wbg = {};
|
|
327
|
-
imports.wbg.
|
|
328
|
-
const obj = getObject(arg1);
|
|
329
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
330
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
331
|
-
var len1 = WASM_VECTOR_LEN;
|
|
332
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
333
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
334
|
-
};
|
|
335
|
-
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
336
|
-
takeObject(arg0);
|
|
337
|
-
};
|
|
338
|
-
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
339
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
340
|
-
return addHeapObject(ret);
|
|
341
|
-
};
|
|
342
|
-
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
343
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
344
|
-
return addHeapObject(ret);
|
|
345
|
-
};
|
|
346
|
-
imports.wbg.__wbg_call_01734de55d61e11d = function() { return handleError(function (arg0, arg1, arg2) {
|
|
347
|
-
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
348
|
-
return addHeapObject(ret);
|
|
349
|
-
}, arguments) };
|
|
350
|
-
imports.wbg.__wbg_isArray_4c24b343cb13cfb1 = function(arg0) {
|
|
327
|
+
imports.wbg.__wbg_isArray_38525be7442aa21e = function(arg0) {
|
|
351
328
|
const ret = Array.isArray(getObject(arg0));
|
|
352
329
|
return ret;
|
|
353
330
|
};
|
|
354
|
-
imports.wbg.
|
|
331
|
+
imports.wbg.__wbg_length_cace2e0b3ddc0502 = function(arg0) {
|
|
355
332
|
const ret = getObject(arg0).length;
|
|
356
333
|
return ret;
|
|
357
334
|
};
|
|
358
|
-
imports.wbg.
|
|
335
|
+
imports.wbg.__wbg_get_4a9aa5157afeb382 = function(arg0, arg1) {
|
|
359
336
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
360
337
|
return addHeapObject(ret);
|
|
361
338
|
};
|
|
362
|
-
imports.wbg.
|
|
339
|
+
imports.wbg.__wbg_next_1989a20442400aaa = function() { return handleError(function (arg0) {
|
|
363
340
|
const ret = getObject(arg0).next();
|
|
364
341
|
return addHeapObject(ret);
|
|
365
342
|
}, arguments) };
|
|
366
|
-
imports.wbg.
|
|
343
|
+
imports.wbg.__wbg_done_bc26bf4ada718266 = function(arg0) {
|
|
367
344
|
const ret = getObject(arg0).done;
|
|
368
345
|
return ret;
|
|
369
346
|
};
|
|
370
|
-
imports.wbg.
|
|
347
|
+
imports.wbg.__wbg_value_0570714ff7d75f35 = function(arg0) {
|
|
371
348
|
const ret = getObject(arg0).value;
|
|
372
349
|
return addHeapObject(ret);
|
|
373
350
|
};
|
|
374
|
-
imports.wbg.
|
|
351
|
+
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
352
|
+
takeObject(arg0);
|
|
353
|
+
};
|
|
354
|
+
imports.wbg.__wbg_new_08236689f0afb357 = function() {
|
|
375
355
|
const ret = new Array();
|
|
376
356
|
return addHeapObject(ret);
|
|
377
357
|
};
|
|
378
|
-
imports.wbg.
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
382
|
-
const obj = getObject(arg1);
|
|
383
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
384
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
385
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
358
|
+
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
359
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
360
|
+
return addHeapObject(ret);
|
|
386
361
|
};
|
|
387
|
-
imports.wbg.
|
|
388
|
-
|
|
389
|
-
return ret;
|
|
362
|
+
imports.wbg.__wbg_set_0ac78a2bc07da03c = function(arg0, arg1, arg2) {
|
|
363
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
390
364
|
};
|
|
365
|
+
imports.wbg.__wbg_call_53fc3abd42e24ec8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
366
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
367
|
+
return addHeapObject(ret);
|
|
368
|
+
}, arguments) };
|
|
391
369
|
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
392
370
|
const val = getObject(arg0);
|
|
393
371
|
const ret = typeof(val) === 'object' && val !== null;
|
|
@@ -410,7 +388,17 @@ function __wbg_get_imports() {
|
|
|
410
388
|
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
411
389
|
return ret;
|
|
412
390
|
};
|
|
413
|
-
imports.wbg.
|
|
391
|
+
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
392
|
+
const obj = getObject(arg1);
|
|
393
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
394
|
+
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
395
|
+
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
396
|
+
};
|
|
397
|
+
imports.wbg.__wbg_isSafeInteger_c38b0a16d0c7cef7 = function(arg0) {
|
|
398
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
|
399
|
+
return ret;
|
|
400
|
+
};
|
|
401
|
+
imports.wbg.__wbg_new_c728d68b8b34487e = function() {
|
|
414
402
|
const ret = new Object();
|
|
415
403
|
return addHeapObject(ret);
|
|
416
404
|
};
|
|
@@ -421,6 +409,18 @@ function __wbg_get_imports() {
|
|
|
421
409
|
const ret = arg0;
|
|
422
410
|
return addHeapObject(ret);
|
|
423
411
|
};
|
|
412
|
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
413
|
+
const obj = getObject(arg1);
|
|
414
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
415
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
416
|
+
var len1 = WASM_VECTOR_LEN;
|
|
417
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
418
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
419
|
+
};
|
|
420
|
+
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
421
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
422
|
+
return addHeapObject(ret);
|
|
423
|
+
};
|
|
424
424
|
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
425
425
|
const obj = takeObject(arg0).original;
|
|
426
426
|
if (obj.cnt-- == 1) {
|
|
@@ -445,31 +445,31 @@ function __wbg_get_imports() {
|
|
|
445
445
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
446
446
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
447
447
|
};
|
|
448
|
-
imports.wbg.
|
|
448
|
+
imports.wbg.__wbg_getStorage_ea0119cf5c7612c8 = function(arg0, arg1) {
|
|
449
449
|
const ret = getObject(arg0).getStorage(takeObject(arg1));
|
|
450
450
|
return addHeapObject(ret);
|
|
451
451
|
};
|
|
452
|
-
imports.wbg.
|
|
452
|
+
imports.wbg.__wbg_getStateRoot_2756975e58be65b1 = function(arg0) {
|
|
453
453
|
const ret = getObject(arg0).getStateRoot();
|
|
454
454
|
return addHeapObject(ret);
|
|
455
455
|
};
|
|
456
|
-
imports.wbg.
|
|
456
|
+
imports.wbg.__wbg_getNextKey_8b926c1fdde961b1 = function(arg0, arg1, arg2) {
|
|
457
457
|
const ret = getObject(arg0).getNextKey(takeObject(arg1), takeObject(arg2));
|
|
458
458
|
return addHeapObject(ret);
|
|
459
459
|
};
|
|
460
|
-
imports.wbg.
|
|
460
|
+
imports.wbg.__wbg_offchainGetStorage_304817641b6cf8fd = function(arg0, arg1) {
|
|
461
461
|
const ret = getObject(arg0).offchainGetStorage(takeObject(arg1));
|
|
462
462
|
return addHeapObject(ret);
|
|
463
463
|
};
|
|
464
|
-
imports.wbg.
|
|
464
|
+
imports.wbg.__wbg_offchainTimestamp_8aa7e8ff255567d5 = function(arg0) {
|
|
465
465
|
const ret = getObject(arg0).offchainTimestamp();
|
|
466
466
|
return addHeapObject(ret);
|
|
467
467
|
};
|
|
468
|
-
imports.wbg.
|
|
468
|
+
imports.wbg.__wbg_offchainRandomSeed_a333792055e7366b = function(arg0) {
|
|
469
469
|
const ret = getObject(arg0).offchainRandomSeed();
|
|
470
470
|
return addHeapObject(ret);
|
|
471
471
|
};
|
|
472
|
-
imports.wbg.
|
|
472
|
+
imports.wbg.__wbg_offchainSubmitTransaction_69073e0088e2866a = function(arg0, arg1) {
|
|
473
473
|
const ret = getObject(arg0).offchainSubmitTransaction(takeObject(arg1));
|
|
474
474
|
return addHeapObject(ret);
|
|
475
475
|
};
|
|
@@ -491,14 +491,14 @@ function __wbg_get_imports() {
|
|
|
491
491
|
const ret = getObject(arg0) === getObject(arg1);
|
|
492
492
|
return ret;
|
|
493
493
|
};
|
|
494
|
-
imports.wbg.
|
|
494
|
+
imports.wbg.__wbg_new_feb65b865d980ae2 = function(arg0, arg1) {
|
|
495
495
|
try {
|
|
496
496
|
var state0 = {a: arg0, b: arg1};
|
|
497
497
|
var cb0 = (arg0, arg1) => {
|
|
498
498
|
const a = state0.a;
|
|
499
499
|
state0.a = 0;
|
|
500
500
|
try {
|
|
501
|
-
return
|
|
501
|
+
return __wbg_adapter_108(a, state0.b, arg0, arg1);
|
|
502
502
|
} finally {
|
|
503
503
|
state0.a = a;
|
|
504
504
|
}
|
|
@@ -531,11 +531,11 @@ function __wbg_get_imports() {
|
|
|
531
531
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
532
532
|
}
|
|
533
533
|
};
|
|
534
|
-
imports.wbg.
|
|
534
|
+
imports.wbg.__wbg_iterator_7ee1a391d310f8e4 = function() {
|
|
535
535
|
const ret = Symbol.iterator;
|
|
536
536
|
return addHeapObject(ret);
|
|
537
537
|
};
|
|
538
|
-
imports.wbg.
|
|
538
|
+
imports.wbg.__wbg_get_2aff440840bb6202 = function() { return handleError(function (arg0, arg1) {
|
|
539
539
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
540
540
|
return addHeapObject(ret);
|
|
541
541
|
}, arguments) };
|
|
@@ -543,15 +543,15 @@ function __wbg_get_imports() {
|
|
|
543
543
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
544
544
|
return ret;
|
|
545
545
|
};
|
|
546
|
-
imports.wbg.
|
|
546
|
+
imports.wbg.__wbg_call_669127b9d730c650 = function() { return handleError(function (arg0, arg1) {
|
|
547
547
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
548
548
|
return addHeapObject(ret);
|
|
549
549
|
}, arguments) };
|
|
550
|
-
imports.wbg.
|
|
550
|
+
imports.wbg.__wbg_next_15da6a3df9290720 = function(arg0) {
|
|
551
551
|
const ret = getObject(arg0).next;
|
|
552
552
|
return addHeapObject(ret);
|
|
553
553
|
};
|
|
554
|
-
imports.wbg.
|
|
554
|
+
imports.wbg.__wbg_length_a5587d6cd79ab197 = function(arg0) {
|
|
555
555
|
const ret = getObject(arg0).length;
|
|
556
556
|
return ret;
|
|
557
557
|
};
|
|
@@ -559,32 +559,32 @@ function __wbg_get_imports() {
|
|
|
559
559
|
const ret = wasm.memory;
|
|
560
560
|
return addHeapObject(ret);
|
|
561
561
|
};
|
|
562
|
-
imports.wbg.
|
|
562
|
+
imports.wbg.__wbg_buffer_344d9b41efe96da7 = function(arg0) {
|
|
563
563
|
const ret = getObject(arg0).buffer;
|
|
564
564
|
return addHeapObject(ret);
|
|
565
565
|
};
|
|
566
|
-
imports.wbg.
|
|
566
|
+
imports.wbg.__wbg_new_d8a000788389a31e = function(arg0) {
|
|
567
567
|
const ret = new Uint8Array(getObject(arg0));
|
|
568
568
|
return addHeapObject(ret);
|
|
569
569
|
};
|
|
570
|
-
imports.wbg.
|
|
570
|
+
imports.wbg.__wbg_set_dcfd613a3420f908 = function(arg0, arg1, arg2) {
|
|
571
571
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
572
572
|
};
|
|
573
|
-
imports.wbg.
|
|
573
|
+
imports.wbg.__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1 = function(arg0) {
|
|
574
574
|
let result;
|
|
575
575
|
try {
|
|
576
576
|
result = getObject(arg0) instanceof Uint8Array;
|
|
577
|
-
} catch {
|
|
577
|
+
} catch (_) {
|
|
578
578
|
result = false;
|
|
579
579
|
}
|
|
580
580
|
const ret = result;
|
|
581
581
|
return ret;
|
|
582
582
|
};
|
|
583
|
-
imports.wbg.
|
|
583
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d = function(arg0) {
|
|
584
584
|
let result;
|
|
585
585
|
try {
|
|
586
586
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
587
|
-
} catch {
|
|
587
|
+
} catch (_) {
|
|
588
588
|
result = false;
|
|
589
589
|
}
|
|
590
590
|
const ret = result;
|
|
@@ -604,35 +604,62 @@ function __wbg_get_imports() {
|
|
|
604
604
|
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
605
605
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
606
606
|
};
|
|
607
|
-
imports.wbg.
|
|
607
|
+
imports.wbg.__wbg_then_1bbc9edafd859b06 = function(arg0, arg1, arg2) {
|
|
608
608
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
609
609
|
return addHeapObject(ret);
|
|
610
610
|
};
|
|
611
|
-
imports.wbg.
|
|
611
|
+
imports.wbg.__wbg_self_3fad056edded10bd = function() { return handleError(function () {
|
|
612
|
+
const ret = self.self;
|
|
613
|
+
return addHeapObject(ret);
|
|
614
|
+
}, arguments) };
|
|
615
|
+
imports.wbg.__wbg_window_a4f46c98a61d4089 = function() { return handleError(function () {
|
|
616
|
+
const ret = window.window;
|
|
617
|
+
return addHeapObject(ret);
|
|
618
|
+
}, arguments) };
|
|
619
|
+
imports.wbg.__wbg_globalThis_17eff828815f7d84 = function() { return handleError(function () {
|
|
620
|
+
const ret = globalThis.globalThis;
|
|
621
|
+
return addHeapObject(ret);
|
|
622
|
+
}, arguments) };
|
|
623
|
+
imports.wbg.__wbg_global_46f939f6541643c5 = function() { return handleError(function () {
|
|
624
|
+
const ret = global.global;
|
|
625
|
+
return addHeapObject(ret);
|
|
626
|
+
}, arguments) };
|
|
627
|
+
imports.wbg.__wbg_newnoargs_ccdcae30fd002262 = function(arg0, arg1) {
|
|
628
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
629
|
+
return addHeapObject(ret);
|
|
630
|
+
};
|
|
631
|
+
imports.wbg.__wbg_queueMicrotask_2be8b97a81fe4d00 = function(arg0) {
|
|
632
|
+
const ret = getObject(arg0).queueMicrotask;
|
|
633
|
+
return addHeapObject(ret);
|
|
634
|
+
};
|
|
635
|
+
imports.wbg.__wbg_resolve_a3252b2860f0a09e = function(arg0) {
|
|
612
636
|
const ret = Promise.resolve(getObject(arg0));
|
|
613
637
|
return addHeapObject(ret);
|
|
614
638
|
};
|
|
615
|
-
imports.wbg.
|
|
639
|
+
imports.wbg.__wbg_then_89e1c559530b85cf = function(arg0, arg1) {
|
|
616
640
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
617
641
|
return addHeapObject(ret);
|
|
618
642
|
};
|
|
619
|
-
imports.wbg.
|
|
643
|
+
imports.wbg.__wbg_queueMicrotask_e5949c35d772a669 = function(arg0) {
|
|
644
|
+
queueMicrotask(getObject(arg0));
|
|
645
|
+
};
|
|
646
|
+
imports.wbg.__wbg_debug_2ef5d777cf4811fa = function(arg0) {
|
|
620
647
|
console.debug(getObject(arg0));
|
|
621
648
|
};
|
|
622
|
-
imports.wbg.
|
|
649
|
+
imports.wbg.__wbg_error_f0a6627f4b23c19d = function(arg0) {
|
|
623
650
|
console.error(getObject(arg0));
|
|
624
651
|
};
|
|
625
|
-
imports.wbg.
|
|
652
|
+
imports.wbg.__wbg_info_3ca7870690403fee = function(arg0) {
|
|
626
653
|
console.info(getObject(arg0));
|
|
627
654
|
};
|
|
628
|
-
imports.wbg.
|
|
655
|
+
imports.wbg.__wbg_log_7811587c4c6d2844 = function(arg0) {
|
|
629
656
|
console.log(getObject(arg0));
|
|
630
657
|
};
|
|
631
|
-
imports.wbg.
|
|
658
|
+
imports.wbg.__wbg_warn_4affe1093892a4ef = function(arg0) {
|
|
632
659
|
console.warn(getObject(arg0));
|
|
633
660
|
};
|
|
634
|
-
imports.wbg.
|
|
635
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
661
|
+
imports.wbg.__wbindgen_closure_wrapper1333 = function(arg0, arg1, arg2) {
|
|
662
|
+
const ret = makeMutClosure(arg0, arg1, 122, __wbg_adapter_46);
|
|
636
663
|
return addHeapObject(ret);
|
|
637
664
|
};
|
|
638
665
|
|