@utoo/web 0.0.1-alpha.24 → 0.0.1-alpha.25
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/esm/utoo/index.js +231 -218
- package/esm/utoo/index_bg.wasm +0 -0
- package/package.json +1 -1
package/esm/utoo/index.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
let wasm;
|
|
2
|
-
const heap = new Array(128).fill(undefined);
|
|
3
|
-
heap.push(undefined, null, true, false);
|
|
4
|
-
function getObject(idx) { return heap[idx]; }
|
|
5
|
-
let WASM_VECTOR_LEN = 0;
|
|
6
2
|
let cachedUint8ArrayMemory0 = null;
|
|
7
3
|
function getUint8ArrayMemory0() {
|
|
8
4
|
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.buffer !== wasm.memory.buffer) {
|
|
@@ -10,6 +6,39 @@ function getUint8ArrayMemory0() {
|
|
|
10
6
|
}
|
|
11
7
|
return cachedUint8ArrayMemory0;
|
|
12
8
|
}
|
|
9
|
+
let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available'); } });
|
|
10
|
+
if (typeof TextDecoder !== 'undefined') {
|
|
11
|
+
cachedTextDecoder.decode();
|
|
12
|
+
}
|
|
13
|
+
;
|
|
14
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
15
|
+
let numBytesDecoded = 0;
|
|
16
|
+
function decodeText(ptr, len) {
|
|
17
|
+
numBytesDecoded += len;
|
|
18
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
19
|
+
cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available'); } });
|
|
20
|
+
cachedTextDecoder.decode();
|
|
21
|
+
numBytesDecoded = len;
|
|
22
|
+
}
|
|
23
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().slice(ptr, ptr + len));
|
|
24
|
+
}
|
|
25
|
+
function getStringFromWasm0(ptr, len) {
|
|
26
|
+
ptr = ptr >>> 0;
|
|
27
|
+
return decodeText(ptr, len);
|
|
28
|
+
}
|
|
29
|
+
const heap = new Array(128).fill(undefined);
|
|
30
|
+
heap.push(undefined, null, true, false);
|
|
31
|
+
let heap_next = heap.length;
|
|
32
|
+
function addHeapObject(obj) {
|
|
33
|
+
if (heap_next === heap.length)
|
|
34
|
+
heap.push(heap.length + 1);
|
|
35
|
+
const idx = heap_next;
|
|
36
|
+
heap_next = heap[idx];
|
|
37
|
+
heap[idx] = obj;
|
|
38
|
+
return idx;
|
|
39
|
+
}
|
|
40
|
+
function getObject(idx) { return heap[idx]; }
|
|
41
|
+
let WASM_VECTOR_LEN = 0;
|
|
13
42
|
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available'); } });
|
|
14
43
|
const encodeString = function (arg, view) {
|
|
15
44
|
const buf = cachedTextEncoder.encode(arg);
|
|
@@ -57,24 +86,6 @@ function getDataViewMemory0() {
|
|
|
57
86
|
}
|
|
58
87
|
return cachedDataViewMemory0;
|
|
59
88
|
}
|
|
60
|
-
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available'); } });
|
|
61
|
-
if (typeof TextDecoder !== 'undefined') {
|
|
62
|
-
cachedTextDecoder.decode();
|
|
63
|
-
}
|
|
64
|
-
;
|
|
65
|
-
function getStringFromWasm0(ptr, len) {
|
|
66
|
-
ptr = ptr >>> 0;
|
|
67
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().slice(ptr, ptr + len));
|
|
68
|
-
}
|
|
69
|
-
let heap_next = heap.length;
|
|
70
|
-
function addHeapObject(obj) {
|
|
71
|
-
if (heap_next === heap.length)
|
|
72
|
-
heap.push(heap.length + 1);
|
|
73
|
-
const idx = heap_next;
|
|
74
|
-
heap_next = heap[idx];
|
|
75
|
-
heap[idx] = obj;
|
|
76
|
-
return idx;
|
|
77
|
-
}
|
|
78
89
|
function handleError(f, args) {
|
|
79
90
|
try {
|
|
80
91
|
return f.apply(this, args);
|
|
@@ -222,15 +233,15 @@ function debugString(val) {
|
|
|
222
233
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
223
234
|
return className;
|
|
224
235
|
}
|
|
236
|
+
export function init_pack() {
|
|
237
|
+
wasm.init_pack();
|
|
238
|
+
}
|
|
225
239
|
function passArray8ToWasm0(arg, malloc) {
|
|
226
240
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
227
241
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
228
242
|
WASM_VECTOR_LEN = arg.length;
|
|
229
243
|
return ptr;
|
|
230
244
|
}
|
|
231
|
-
export function init_pack() {
|
|
232
|
-
wasm.init_pack();
|
|
233
|
-
}
|
|
234
245
|
/**
|
|
235
246
|
* Entry point for web workers
|
|
236
247
|
* @param {number} ptr
|
|
@@ -238,13 +249,13 @@ export function init_pack() {
|
|
|
238
249
|
export function wasm_thread_entry_point(ptr) {
|
|
239
250
|
wasm.wasm_thread_entry_point(ptr);
|
|
240
251
|
}
|
|
241
|
-
function
|
|
252
|
+
function __wbg_adapter_44(arg0, arg1) {
|
|
242
253
|
wasm.__wbindgen_export_6(arg0, arg1);
|
|
243
254
|
}
|
|
244
|
-
function
|
|
255
|
+
function __wbg_adapter_47(arg0, arg1, arg2) {
|
|
245
256
|
wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2));
|
|
246
257
|
}
|
|
247
|
-
function
|
|
258
|
+
function __wbg_adapter_52(arg0, arg1, arg2) {
|
|
248
259
|
wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2));
|
|
249
260
|
}
|
|
250
261
|
let stack_pointer = 128;
|
|
@@ -254,7 +265,7 @@ function addBorrowedObject(obj) {
|
|
|
254
265
|
heap[--stack_pointer] = obj;
|
|
255
266
|
return stack_pointer;
|
|
256
267
|
}
|
|
257
|
-
function
|
|
268
|
+
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
258
269
|
try {
|
|
259
270
|
wasm.__wbindgen_export_9(arg0, arg1, addBorrowedObject(arg2));
|
|
260
271
|
}
|
|
@@ -262,7 +273,7 @@ function __wbg_adapter_59(arg0, arg1, arg2) {
|
|
|
262
273
|
heap[stack_pointer++] = undefined;
|
|
263
274
|
}
|
|
264
275
|
}
|
|
265
|
-
function
|
|
276
|
+
function __wbg_adapter_110(arg0, arg1, arg2, arg3) {
|
|
266
277
|
wasm.__wbindgen_export_10(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
267
278
|
}
|
|
268
279
|
const __wbindgen_enum_DirEntryType = ["file", "directory"];
|
|
@@ -579,6 +590,7 @@ export class Project {
|
|
|
579
590
|
return takeObject(ret);
|
|
580
591
|
}
|
|
581
592
|
}
|
|
593
|
+
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
582
594
|
async function __wbg_load(module, imports) {
|
|
583
595
|
if (typeof Response === 'function' && module instanceof Response) {
|
|
584
596
|
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
@@ -586,7 +598,8 @@ async function __wbg_load(module, imports) {
|
|
|
586
598
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
587
599
|
}
|
|
588
600
|
catch (e) {
|
|
589
|
-
|
|
601
|
+
const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
|
|
602
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
590
603
|
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
591
604
|
}
|
|
592
605
|
else {
|
|
@@ -610,6 +623,10 @@ async function __wbg_load(module, imports) {
|
|
|
610
623
|
function __wbg_get_imports() {
|
|
611
624
|
const imports = {};
|
|
612
625
|
imports.wbg = {};
|
|
626
|
+
imports.wbg.__wbg_Error_0497d5bdba9362e5 = function (arg0, arg1) {
|
|
627
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
628
|
+
return addHeapObject(ret);
|
|
629
|
+
};
|
|
613
630
|
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
614
631
|
const ret = String(getObject(arg1));
|
|
615
632
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
|
|
@@ -617,44 +634,44 @@ function __wbg_get_imports() {
|
|
|
617
634
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
618
635
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
619
636
|
};
|
|
620
|
-
imports.wbg.
|
|
621
|
-
getObject(arg0).abort(getObject(arg1));
|
|
622
|
-
};
|
|
623
|
-
imports.wbg.__wbg_abort_775ef1d17fc65868 = function (arg0) {
|
|
637
|
+
imports.wbg.__wbg_abort_18ba44d46e13d7fe = function (arg0) {
|
|
624
638
|
getObject(arg0).abort();
|
|
625
639
|
};
|
|
626
|
-
imports.wbg.
|
|
640
|
+
imports.wbg.__wbg_abort_4198a1129c47f21a = function (arg0, arg1) {
|
|
641
|
+
getObject(arg0).abort(getObject(arg1));
|
|
642
|
+
};
|
|
643
|
+
imports.wbg.__wbg_append_0342728346e47425 = function () {
|
|
627
644
|
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
628
645
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
629
646
|
}, arguments);
|
|
630
647
|
};
|
|
631
|
-
imports.wbg.
|
|
648
|
+
imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function () {
|
|
632
649
|
return handleError(function (arg0) {
|
|
633
650
|
const ret = getObject(arg0).arrayBuffer();
|
|
634
651
|
return addHeapObject(ret);
|
|
635
652
|
}, arguments);
|
|
636
653
|
};
|
|
637
|
-
imports.wbg.
|
|
654
|
+
imports.wbg.__wbg_async_89f8ca583cefeb81 = function (arg0) {
|
|
638
655
|
const ret = getObject(arg0).async;
|
|
639
656
|
return ret;
|
|
640
657
|
};
|
|
641
|
-
imports.wbg.
|
|
658
|
+
imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function (arg0) {
|
|
642
659
|
const ret = getObject(arg0).buffer;
|
|
643
660
|
return addHeapObject(ret);
|
|
644
661
|
};
|
|
645
|
-
imports.wbg.
|
|
646
|
-
return handleError(function (arg0, arg1) {
|
|
647
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
662
|
+
imports.wbg.__wbg_call_f2db6205e5c51dc8 = function () {
|
|
663
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
664
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
648
665
|
return addHeapObject(ret);
|
|
649
666
|
}, arguments);
|
|
650
667
|
};
|
|
651
|
-
imports.wbg.
|
|
652
|
-
return handleError(function (arg0, arg1
|
|
653
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
668
|
+
imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function () {
|
|
669
|
+
return handleError(function (arg0, arg1) {
|
|
670
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
654
671
|
return addHeapObject(ret);
|
|
655
672
|
}, arguments);
|
|
656
673
|
};
|
|
657
|
-
imports.wbg.
|
|
674
|
+
imports.wbg.__wbg_changedHandle_24722e4ff365763a = function (arg0) {
|
|
658
675
|
const ret = getObject(arg0).changedHandle;
|
|
659
676
|
return addHeapObject(ret);
|
|
660
677
|
};
|
|
@@ -662,10 +679,10 @@ function __wbg_get_imports() {
|
|
|
662
679
|
const ret = clearTimeout(takeObject(arg0));
|
|
663
680
|
return addHeapObject(ret);
|
|
664
681
|
};
|
|
665
|
-
imports.wbg.
|
|
682
|
+
imports.wbg.__wbg_close_8d9e72339b45f6f5 = function (arg0) {
|
|
666
683
|
getObject(arg0).close();
|
|
667
684
|
};
|
|
668
|
-
imports.wbg.
|
|
685
|
+
imports.wbg.__wbg_createObjectURL_1acd82bf8749f5a9 = function () {
|
|
669
686
|
return handleError(function (arg0, arg1) {
|
|
670
687
|
const ret = URL.createObjectURL(getObject(arg1));
|
|
671
688
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
|
|
@@ -678,31 +695,34 @@ function __wbg_get_imports() {
|
|
|
678
695
|
const ret = CreateSyncAccessHandleOptions.__wrap(arg0);
|
|
679
696
|
return addHeapObject(ret);
|
|
680
697
|
};
|
|
681
|
-
imports.wbg.
|
|
698
|
+
imports.wbg.__wbg_data_fffd43bf0ca75fff = function (arg0) {
|
|
682
699
|
const ret = getObject(arg0).data;
|
|
683
700
|
return addHeapObject(ret);
|
|
684
701
|
};
|
|
685
|
-
imports.wbg.
|
|
686
|
-
console.debug(getObject(arg0));
|
|
687
|
-
};
|
|
688
|
-
imports.wbg.__wbg_debug_e17b51583ca6a632 = function (arg0, arg1, arg2, arg3) {
|
|
702
|
+
imports.wbg.__wbg_debug_103948ed4c500577 = function (arg0, arg1, arg2, arg3) {
|
|
689
703
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
690
704
|
};
|
|
705
|
+
imports.wbg.__wbg_debug_58d16ea352cfbca1 = function (arg0) {
|
|
706
|
+
console.debug(getObject(arg0));
|
|
707
|
+
};
|
|
691
708
|
imports.wbg.__wbg_direntry_new = function (arg0) {
|
|
692
709
|
const ret = DirEntry.__wrap(arg0);
|
|
693
710
|
return addHeapObject(ret);
|
|
694
711
|
};
|
|
695
|
-
imports.wbg.
|
|
712
|
+
imports.wbg.__wbg_done_4d01f352bade43b7 = function (arg0) {
|
|
696
713
|
const ret = getObject(arg0).done;
|
|
697
714
|
return ret;
|
|
698
715
|
};
|
|
699
|
-
imports.wbg.
|
|
716
|
+
imports.wbg.__wbg_entries_14bb5b0fa29e7393 = function (arg0) {
|
|
700
717
|
const ret = getObject(arg0).entries();
|
|
701
718
|
return addHeapObject(ret);
|
|
702
719
|
};
|
|
703
|
-
imports.wbg.
|
|
720
|
+
imports.wbg.__wbg_error_51ecdd39ec054205 = function (arg0) {
|
|
704
721
|
console.error(getObject(arg0));
|
|
705
722
|
};
|
|
723
|
+
imports.wbg.__wbg_error_624160881466fd69 = function (arg0, arg1, arg2, arg3) {
|
|
724
|
+
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
725
|
+
};
|
|
706
726
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
707
727
|
let deferred0_0;
|
|
708
728
|
let deferred0_1;
|
|
@@ -715,10 +735,7 @@ function __wbg_get_imports() {
|
|
|
715
735
|
wasm.__wbindgen_export_4(deferred0_0, deferred0_1, 1);
|
|
716
736
|
}
|
|
717
737
|
};
|
|
718
|
-
imports.wbg.
|
|
719
|
-
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
720
|
-
};
|
|
721
|
-
imports.wbg.__wbg_eval_e10dc02e9547f640 = function () {
|
|
738
|
+
imports.wbg.__wbg_eval_17f2fea482576acf = function () {
|
|
722
739
|
return handleError(function (arg0, arg1) {
|
|
723
740
|
const ret = eval(getStringFromWasm0(arg0, arg1));
|
|
724
741
|
return addHeapObject(ret);
|
|
@@ -728,23 +745,23 @@ function __wbg_get_imports() {
|
|
|
728
745
|
const ret = fetch(getObject(arg0));
|
|
729
746
|
return addHeapObject(ret);
|
|
730
747
|
};
|
|
731
|
-
imports.wbg.
|
|
748
|
+
imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function (arg0, arg1) {
|
|
732
749
|
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
733
750
|
return addHeapObject(ret);
|
|
734
751
|
};
|
|
735
|
-
imports.wbg.
|
|
752
|
+
imports.wbg.__wbg_from_12ff8e47307bd4c7 = function (arg0) {
|
|
736
753
|
const ret = Array.from(getObject(arg0));
|
|
737
754
|
return addHeapObject(ret);
|
|
738
755
|
};
|
|
739
|
-
imports.wbg.
|
|
756
|
+
imports.wbg.__wbg_getDirectoryHandle_812e88ca933e7f14 = function (arg0, arg1, arg2, arg3) {
|
|
740
757
|
const ret = getObject(arg0).getDirectoryHandle(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
741
758
|
return addHeapObject(ret);
|
|
742
759
|
};
|
|
743
|
-
imports.wbg.
|
|
760
|
+
imports.wbg.__wbg_getDirectory_d1926c6af50076e5 = function (arg0) {
|
|
744
761
|
const ret = getObject(arg0).getDirectory();
|
|
745
762
|
return addHeapObject(ret);
|
|
746
763
|
};
|
|
747
|
-
imports.wbg.
|
|
764
|
+
imports.wbg.__wbg_getFileHandle_1cc9e8420629773c = function (arg0, arg1, arg2, arg3) {
|
|
748
765
|
const ret = getObject(arg0).getFileHandle(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
749
766
|
return addHeapObject(ret);
|
|
750
767
|
};
|
|
@@ -753,39 +770,39 @@ function __wbg_get_imports() {
|
|
|
753
770
|
globalThis.crypto.getRandomValues(getObject(arg0));
|
|
754
771
|
}, arguments);
|
|
755
772
|
};
|
|
756
|
-
imports.wbg.
|
|
773
|
+
imports.wbg.__wbg_getSize_a77eeeffdb4f3fc1 = function () {
|
|
757
774
|
return handleError(function (arg0) {
|
|
758
775
|
const ret = getObject(arg0).getSize();
|
|
759
776
|
return ret;
|
|
760
777
|
}, arguments);
|
|
761
778
|
};
|
|
762
|
-
imports.wbg.
|
|
779
|
+
imports.wbg.__wbg_get_92470be87867c2e5 = function () {
|
|
763
780
|
return handleError(function (arg0, arg1) {
|
|
764
781
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
765
782
|
return addHeapObject(ret);
|
|
766
783
|
}, arguments);
|
|
767
784
|
};
|
|
768
|
-
imports.wbg.
|
|
785
|
+
imports.wbg.__wbg_get_a131a44bd1eb6979 = function (arg0, arg1) {
|
|
769
786
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
770
787
|
return addHeapObject(ret);
|
|
771
788
|
};
|
|
772
|
-
imports.wbg.
|
|
789
|
+
imports.wbg.__wbg_has_809e438ee9d787a7 = function () {
|
|
773
790
|
return handleError(function (arg0, arg1) {
|
|
774
791
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
775
792
|
return ret;
|
|
776
793
|
}, arguments);
|
|
777
794
|
};
|
|
778
|
-
imports.wbg.
|
|
795
|
+
imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function (arg0) {
|
|
779
796
|
const ret = getObject(arg0).headers;
|
|
780
797
|
return addHeapObject(ret);
|
|
781
798
|
};
|
|
782
|
-
imports.wbg.
|
|
799
|
+
imports.wbg.__wbg_info_a1cc312ecc877319 = function (arg0, arg1, arg2, arg3) {
|
|
783
800
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
784
801
|
};
|
|
785
|
-
imports.wbg.
|
|
802
|
+
imports.wbg.__wbg_info_e56933705c348038 = function (arg0) {
|
|
786
803
|
console.info(getObject(arg0));
|
|
787
804
|
};
|
|
788
|
-
imports.wbg.
|
|
805
|
+
imports.wbg.__wbg_instanceof_DedicatedWorkerGlobalScope_9eb2c65f95cfc6a7 = function (arg0) {
|
|
789
806
|
let result;
|
|
790
807
|
try {
|
|
791
808
|
result = getObject(arg0) instanceof DedicatedWorkerGlobalScope;
|
|
@@ -796,7 +813,7 @@ function __wbg_get_imports() {
|
|
|
796
813
|
const ret = result;
|
|
797
814
|
return ret;
|
|
798
815
|
};
|
|
799
|
-
imports.wbg.
|
|
816
|
+
imports.wbg.__wbg_instanceof_DomException_77720ed8752d7409 = function (arg0) {
|
|
800
817
|
let result;
|
|
801
818
|
try {
|
|
802
819
|
result = getObject(arg0) instanceof DOMException;
|
|
@@ -807,7 +824,7 @@ function __wbg_get_imports() {
|
|
|
807
824
|
const ret = result;
|
|
808
825
|
return ret;
|
|
809
826
|
};
|
|
810
|
-
imports.wbg.
|
|
827
|
+
imports.wbg.__wbg_instanceof_FileSystemDirectoryHandle_e85a318f5f7e994e = function (arg0) {
|
|
811
828
|
let result;
|
|
812
829
|
try {
|
|
813
830
|
result = getObject(arg0) instanceof FileSystemDirectoryHandle;
|
|
@@ -818,7 +835,7 @@ function __wbg_get_imports() {
|
|
|
818
835
|
const ret = result;
|
|
819
836
|
return ret;
|
|
820
837
|
};
|
|
821
|
-
imports.wbg.
|
|
838
|
+
imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function (arg0) {
|
|
822
839
|
let result;
|
|
823
840
|
try {
|
|
824
841
|
result = getObject(arg0) instanceof Response;
|
|
@@ -829,23 +846,23 @@ function __wbg_get_imports() {
|
|
|
829
846
|
const ret = result;
|
|
830
847
|
return ret;
|
|
831
848
|
};
|
|
832
|
-
imports.wbg.
|
|
849
|
+
imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function () {
|
|
833
850
|
const ret = Symbol.iterator;
|
|
834
851
|
return addHeapObject(ret);
|
|
835
852
|
};
|
|
836
|
-
imports.wbg.
|
|
853
|
+
imports.wbg.__wbg_kind_cf2ba2f9fcc66870 = function (arg0) {
|
|
837
854
|
const ret = getObject(arg0).kind;
|
|
838
855
|
return (__wbindgen_enum_FileSystemHandleKind.indexOf(ret) + 1 || 3) - 1;
|
|
839
856
|
};
|
|
840
|
-
imports.wbg.
|
|
857
|
+
imports.wbg.__wbg_length_ab6d22b5ead75c72 = function (arg0) {
|
|
841
858
|
const ret = getObject(arg0).length;
|
|
842
859
|
return ret;
|
|
843
860
|
};
|
|
844
|
-
imports.wbg.
|
|
861
|
+
imports.wbg.__wbg_length_f00ec12454a5d9fd = function (arg0) {
|
|
845
862
|
const ret = getObject(arg0).length;
|
|
846
863
|
return ret;
|
|
847
864
|
};
|
|
848
|
-
imports.wbg.
|
|
865
|
+
imports.wbg.__wbg_message_44ef9b801b7d8bc3 = function (arg0, arg1) {
|
|
849
866
|
const ret = getObject(arg1).message;
|
|
850
867
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
|
|
851
868
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -856,31 +873,67 @@ function __wbg_get_imports() {
|
|
|
856
873
|
const ret = Metadata.__wrap(arg0);
|
|
857
874
|
return addHeapObject(ret);
|
|
858
875
|
};
|
|
859
|
-
imports.wbg.
|
|
876
|
+
imports.wbg.__wbg_name_2acff1e83d9735f9 = function (arg0, arg1) {
|
|
860
877
|
const ret = getObject(arg1).name;
|
|
861
878
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
|
|
862
879
|
const len1 = WASM_VECTOR_LEN;
|
|
863
880
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
864
881
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
865
882
|
};
|
|
866
|
-
imports.wbg.
|
|
883
|
+
imports.wbg.__wbg_navigator_6db993f5ffeb46be = function (arg0) {
|
|
867
884
|
const ret = getObject(arg0).navigator;
|
|
868
885
|
return addHeapObject(ret);
|
|
869
886
|
};
|
|
870
|
-
imports.wbg.
|
|
887
|
+
imports.wbg.__wbg_new_07b483f72211fd66 = function () {
|
|
888
|
+
const ret = new Object();
|
|
889
|
+
return addHeapObject(ret);
|
|
890
|
+
};
|
|
891
|
+
imports.wbg.__wbg_new_181343b7eb238d99 = function (arg0) {
|
|
892
|
+
const ret = new Int32Array(getObject(arg0));
|
|
893
|
+
return addHeapObject(ret);
|
|
894
|
+
};
|
|
895
|
+
imports.wbg.__wbg_new_186abcfdff244e42 = function () {
|
|
896
|
+
return handleError(function () {
|
|
897
|
+
const ret = new AbortController();
|
|
898
|
+
return addHeapObject(ret);
|
|
899
|
+
}, arguments);
|
|
900
|
+
};
|
|
901
|
+
imports.wbg.__wbg_new_39fae4e38868373c = function () {
|
|
902
|
+
return handleError(function (arg0, arg1) {
|
|
903
|
+
const ret = new Worker(getStringFromWasm0(arg0, arg1));
|
|
904
|
+
return addHeapObject(ret);
|
|
905
|
+
}, arguments);
|
|
906
|
+
};
|
|
907
|
+
imports.wbg.__wbg_new_4796e1cd2eb9ea6d = function () {
|
|
871
908
|
return handleError(function () {
|
|
872
909
|
const ret = new Headers();
|
|
873
910
|
return addHeapObject(ret);
|
|
874
911
|
}, arguments);
|
|
875
912
|
};
|
|
876
|
-
imports.wbg.
|
|
913
|
+
imports.wbg.__wbg_new_58353953ad2097cc = function () {
|
|
914
|
+
const ret = new Array();
|
|
915
|
+
return addHeapObject(ret);
|
|
916
|
+
};
|
|
917
|
+
imports.wbg.__wbg_new_62e2442df40e8ea2 = function (arg0) {
|
|
918
|
+
const ret = new FileSystemObserver(getObject(arg0));
|
|
919
|
+
return addHeapObject(ret);
|
|
920
|
+
};
|
|
921
|
+
imports.wbg.__wbg_new_8a6f238a6ece86ea = function () {
|
|
922
|
+
const ret = new Error();
|
|
923
|
+
return addHeapObject(ret);
|
|
924
|
+
};
|
|
925
|
+
imports.wbg.__wbg_new_a979b4b45bd55c7f = function () {
|
|
926
|
+
const ret = new Map();
|
|
927
|
+
return addHeapObject(ret);
|
|
928
|
+
};
|
|
929
|
+
imports.wbg.__wbg_new_e30c39c06edaabf2 = function (arg0, arg1) {
|
|
877
930
|
try {
|
|
878
931
|
var state0 = { a: arg0, b: arg1 };
|
|
879
932
|
var cb0 = (arg0, arg1) => {
|
|
880
933
|
const a = state0.a;
|
|
881
934
|
state0.a = 0;
|
|
882
935
|
try {
|
|
883
|
-
return
|
|
936
|
+
return __wbg_adapter_110(a, state0.b, arg0, arg1);
|
|
884
937
|
}
|
|
885
938
|
finally {
|
|
886
939
|
state0.a = a;
|
|
@@ -893,93 +946,57 @@ function __wbg_get_imports() {
|
|
|
893
946
|
state0.a = state0.b = 0;
|
|
894
947
|
}
|
|
895
948
|
};
|
|
896
|
-
imports.wbg.
|
|
897
|
-
const ret = new Object();
|
|
898
|
-
return addHeapObject(ret);
|
|
899
|
-
};
|
|
900
|
-
imports.wbg.__wbg_new_463228a21ad48ea7 = function (arg0) {
|
|
901
|
-
const ret = new FileSystemObserver(getObject(arg0));
|
|
902
|
-
return addHeapObject(ret);
|
|
903
|
-
};
|
|
904
|
-
imports.wbg.__wbg_new_5e0be73521bc8c17 = function () {
|
|
905
|
-
const ret = new Map();
|
|
906
|
-
return addHeapObject(ret);
|
|
907
|
-
};
|
|
908
|
-
imports.wbg.__wbg_new_78feb108b6472713 = function () {
|
|
909
|
-
const ret = new Array();
|
|
910
|
-
return addHeapObject(ret);
|
|
911
|
-
};
|
|
912
|
-
imports.wbg.__wbg_new_8a6f238a6ece86ea = function () {
|
|
913
|
-
const ret = new Error();
|
|
914
|
-
return addHeapObject(ret);
|
|
915
|
-
};
|
|
916
|
-
imports.wbg.__wbg_new_a12002a7f91c75be = function (arg0) {
|
|
949
|
+
imports.wbg.__wbg_new_e52b3efaaa774f96 = function (arg0) {
|
|
917
950
|
const ret = new Uint8Array(getObject(arg0));
|
|
918
951
|
return addHeapObject(ret);
|
|
919
952
|
};
|
|
920
|
-
imports.wbg.
|
|
921
|
-
|
|
922
|
-
const ret = new Worker(getStringFromWasm0(arg0, arg1));
|
|
923
|
-
return addHeapObject(ret);
|
|
924
|
-
}, arguments);
|
|
925
|
-
};
|
|
926
|
-
imports.wbg.__wbg_new_e25e5aab09ff45db = function () {
|
|
927
|
-
return handleError(function () {
|
|
928
|
-
const ret = new AbortController();
|
|
929
|
-
return addHeapObject(ret);
|
|
930
|
-
}, arguments);
|
|
931
|
-
};
|
|
932
|
-
imports.wbg.__wbg_new_e9a4a67dbababe57 = function (arg0) {
|
|
933
|
-
const ret = new Int32Array(getObject(arg0));
|
|
953
|
+
imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function (arg0, arg1) {
|
|
954
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
934
955
|
return addHeapObject(ret);
|
|
935
956
|
};
|
|
936
|
-
imports.wbg.
|
|
957
|
+
imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function (arg0, arg1) {
|
|
937
958
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
938
959
|
return addHeapObject(ret);
|
|
939
960
|
};
|
|
940
|
-
imports.wbg.
|
|
941
|
-
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
942
|
-
return addHeapObject(ret);
|
|
943
|
-
};
|
|
944
|
-
imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function (arg0) {
|
|
961
|
+
imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function (arg0) {
|
|
945
962
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
946
963
|
return addHeapObject(ret);
|
|
947
964
|
};
|
|
948
|
-
imports.wbg.
|
|
965
|
+
imports.wbg.__wbg_newwithoptions_9931e161b714ebf9 = function () {
|
|
949
966
|
return handleError(function (arg0, arg1, arg2) {
|
|
950
967
|
const ret = new Worker(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
951
968
|
return addHeapObject(ret);
|
|
952
969
|
}, arguments);
|
|
953
970
|
};
|
|
954
|
-
imports.wbg.
|
|
971
|
+
imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function () {
|
|
955
972
|
return handleError(function (arg0, arg1, arg2) {
|
|
956
973
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
957
974
|
return addHeapObject(ret);
|
|
958
975
|
}, arguments);
|
|
959
976
|
};
|
|
960
|
-
imports.wbg.
|
|
977
|
+
imports.wbg.__wbg_newwithstrsequence_782e4f9028dcd999 = function () {
|
|
961
978
|
return handleError(function (arg0) {
|
|
962
979
|
const ret = new Blob(getObject(arg0));
|
|
963
980
|
return addHeapObject(ret);
|
|
964
981
|
}, arguments);
|
|
965
982
|
};
|
|
966
|
-
imports.wbg.
|
|
983
|
+
imports.wbg.__wbg_newwithstrsequenceandoptions_3c68d739cf8f35ce = function () {
|
|
967
984
|
return handleError(function (arg0, arg1) {
|
|
968
985
|
const ret = new Blob(getObject(arg0), getObject(arg1));
|
|
969
986
|
return addHeapObject(ret);
|
|
970
987
|
}, arguments);
|
|
971
988
|
};
|
|
972
|
-
imports.wbg.
|
|
989
|
+
imports.wbg.__wbg_next_8bb824d217961b5d = function (arg0) {
|
|
973
990
|
const ret = getObject(arg0).next;
|
|
974
991
|
return addHeapObject(ret);
|
|
975
992
|
};
|
|
976
|
-
imports.wbg.
|
|
993
|
+
imports.wbg.__wbg_next_9eb6fe77da3db3a2 = function () {
|
|
977
994
|
return handleError(function (arg0) {
|
|
978
995
|
const ret = getObject(arg0).next();
|
|
979
996
|
return addHeapObject(ret);
|
|
980
997
|
}, arguments);
|
|
981
998
|
};
|
|
982
|
-
imports.wbg.
|
|
999
|
+
imports.wbg.__wbg_next_e2da48d8fff7439a = function () {
|
|
983
1000
|
return handleError(function (arg0) {
|
|
984
1001
|
const ret = getObject(arg0).next();
|
|
985
1002
|
return addHeapObject(ret);
|
|
@@ -989,11 +1006,11 @@ function __wbg_get_imports() {
|
|
|
989
1006
|
const ret = getObject(arg0).now();
|
|
990
1007
|
return ret;
|
|
991
1008
|
};
|
|
992
|
-
imports.wbg.
|
|
1009
|
+
imports.wbg.__wbg_observe_c6c0b23d17635d53 = function (arg0, arg1, arg2) {
|
|
993
1010
|
const ret = getObject(arg0).observe(getObject(arg1), getObject(arg2));
|
|
994
1011
|
return addHeapObject(ret);
|
|
995
1012
|
};
|
|
996
|
-
imports.wbg.
|
|
1013
|
+
imports.wbg.__wbg_of_995ab9c48c3965f1 = function (arg0, arg1, arg2) {
|
|
997
1014
|
const ret = Array.of(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
998
1015
|
return addHeapObject(ret);
|
|
999
1016
|
};
|
|
@@ -1001,56 +1018,56 @@ function __wbg_get_imports() {
|
|
|
1001
1018
|
const ret = getObject(arg0).performance;
|
|
1002
1019
|
return addHeapObject(ret);
|
|
1003
1020
|
};
|
|
1004
|
-
imports.wbg.
|
|
1021
|
+
imports.wbg.__wbg_postMessage_54ce7f4b41ac732e = function () {
|
|
1005
1022
|
return handleError(function (arg0, arg1) {
|
|
1006
1023
|
getObject(arg0).postMessage(getObject(arg1));
|
|
1007
1024
|
}, arguments);
|
|
1008
1025
|
};
|
|
1009
|
-
imports.wbg.
|
|
1026
|
+
imports.wbg.__wbg_postMessage_95ef4554c6b7ca0c = function () {
|
|
1010
1027
|
return handleError(function (arg0, arg1) {
|
|
1011
1028
|
getObject(arg0).postMessage(getObject(arg1));
|
|
1012
1029
|
}, arguments);
|
|
1013
1030
|
};
|
|
1014
|
-
imports.wbg.
|
|
1031
|
+
imports.wbg.__wbg_push_73fd7b5550ebf707 = function (arg0, arg1) {
|
|
1015
1032
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
1016
1033
|
return ret;
|
|
1017
1034
|
};
|
|
1018
|
-
imports.wbg.
|
|
1035
|
+
imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function (arg0) {
|
|
1019
1036
|
queueMicrotask(getObject(arg0));
|
|
1020
1037
|
};
|
|
1021
|
-
imports.wbg.
|
|
1038
|
+
imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function (arg0) {
|
|
1022
1039
|
const ret = getObject(arg0).queueMicrotask;
|
|
1023
1040
|
return addHeapObject(ret);
|
|
1024
1041
|
};
|
|
1025
|
-
imports.wbg.
|
|
1042
|
+
imports.wbg.__wbg_random_210bb7fbfa33591d = function () {
|
|
1026
1043
|
const ret = Math.random();
|
|
1027
1044
|
return ret;
|
|
1028
1045
|
};
|
|
1029
|
-
imports.wbg.
|
|
1046
|
+
imports.wbg.__wbg_read_02bf0b6df2b205f0 = function () {
|
|
1030
1047
|
return handleError(function (arg0, arg1, arg2) {
|
|
1031
1048
|
const ret = getObject(arg0).read(getArrayU8FromWasm0(arg1, arg2));
|
|
1032
1049
|
return ret;
|
|
1033
1050
|
}, arguments);
|
|
1034
1051
|
};
|
|
1035
|
-
imports.wbg.
|
|
1052
|
+
imports.wbg.__wbg_read_4dbc5a78288c4eed = function () {
|
|
1036
1053
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1037
1054
|
const ret = getObject(arg0).read(getArrayU8FromWasm0(arg1, arg2), getObject(arg3));
|
|
1038
1055
|
return ret;
|
|
1039
1056
|
}, arguments);
|
|
1040
1057
|
};
|
|
1041
|
-
imports.wbg.
|
|
1058
|
+
imports.wbg.__wbg_relativePathComponents_b4939b5e37fafeb6 = function (arg0) {
|
|
1042
1059
|
const ret = getObject(arg0).relativePathComponents;
|
|
1043
1060
|
return addHeapObject(ret);
|
|
1044
1061
|
};
|
|
1045
|
-
imports.wbg.
|
|
1062
|
+
imports.wbg.__wbg_removeEntry_408f2f50f22d8ed2 = function (arg0, arg1, arg2, arg3) {
|
|
1046
1063
|
const ret = getObject(arg0).removeEntry(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
1047
1064
|
return addHeapObject(ret);
|
|
1048
1065
|
};
|
|
1049
|
-
imports.wbg.
|
|
1066
|
+
imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function (arg0) {
|
|
1050
1067
|
const ret = Promise.resolve(getObject(arg0));
|
|
1051
1068
|
return addHeapObject(ret);
|
|
1052
1069
|
};
|
|
1053
|
-
imports.wbg.
|
|
1070
|
+
imports.wbg.__wbg_revokeObjectURL_ffb9ce9155dbedaf = function () {
|
|
1054
1071
|
return handleError(function (arg0, arg1) {
|
|
1055
1072
|
URL.revokeObjectURL(getStringFromWasm0(arg0, arg1));
|
|
1056
1073
|
}, arguments);
|
|
@@ -1065,76 +1082,76 @@ function __wbg_get_imports() {
|
|
|
1065
1082
|
const ret = setTimeout(getObject(arg0), arg1);
|
|
1066
1083
|
return addHeapObject(ret);
|
|
1067
1084
|
};
|
|
1068
|
-
imports.wbg.__wbg_set_37837023f3d740e8 = function (arg0, arg1, arg2) {
|
|
1069
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
1070
|
-
};
|
|
1071
1085
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
1072
1086
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
1073
1087
|
};
|
|
1074
|
-
imports.wbg.
|
|
1075
|
-
getObject(arg0)
|
|
1088
|
+
imports.wbg.__wbg_set_7422acbe992d64ab = function (arg0, arg1, arg2) {
|
|
1089
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
1076
1090
|
};
|
|
1077
|
-
imports.wbg.
|
|
1091
|
+
imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function (arg0, arg1, arg2) {
|
|
1078
1092
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
1079
1093
|
return addHeapObject(ret);
|
|
1080
1094
|
};
|
|
1081
|
-
imports.wbg.
|
|
1095
|
+
imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function (arg0, arg1, arg2) {
|
|
1096
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
1097
|
+
};
|
|
1098
|
+
imports.wbg.__wbg_setat_2d0d9be3db4207a9 = function (arg0, arg1) {
|
|
1082
1099
|
getObject(arg0).at = arg1;
|
|
1083
1100
|
};
|
|
1084
|
-
imports.wbg.
|
|
1101
|
+
imports.wbg.__wbg_setbody_971ec015fc13d6b4 = function (arg0, arg1) {
|
|
1085
1102
|
getObject(arg0).body = getObject(arg1);
|
|
1086
1103
|
};
|
|
1087
|
-
imports.wbg.
|
|
1104
|
+
imports.wbg.__wbg_setcreate_62b7d997a9936969 = function (arg0, arg1) {
|
|
1088
1105
|
getObject(arg0).create = arg1 !== 0;
|
|
1089
1106
|
};
|
|
1090
|
-
imports.wbg.
|
|
1107
|
+
imports.wbg.__wbg_setcreate_dcf97058ed33f8f0 = function (arg0, arg1) {
|
|
1091
1108
|
getObject(arg0).create = arg1 !== 0;
|
|
1092
1109
|
};
|
|
1093
|
-
imports.wbg.
|
|
1110
|
+
imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function (arg0, arg1) {
|
|
1094
1111
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1095
1112
|
};
|
|
1096
|
-
imports.wbg.
|
|
1113
|
+
imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function (arg0, arg1) {
|
|
1097
1114
|
getObject(arg0).headers = getObject(arg1);
|
|
1098
1115
|
};
|
|
1099
|
-
imports.wbg.
|
|
1116
|
+
imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function (arg0, arg1, arg2) {
|
|
1100
1117
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
1101
1118
|
};
|
|
1102
|
-
imports.wbg.
|
|
1119
|
+
imports.wbg.__wbg_setmode_bd35f026f55b6247 = function (arg0, arg1) {
|
|
1103
1120
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
1104
1121
|
};
|
|
1105
|
-
imports.wbg.
|
|
1122
|
+
imports.wbg.__wbg_setname_9b01ac306adf8bfd = function (arg0, arg1, arg2) {
|
|
1106
1123
|
getObject(arg0).name = getStringFromWasm0(arg1, arg2);
|
|
1107
1124
|
};
|
|
1108
|
-
imports.wbg.
|
|
1125
|
+
imports.wbg.__wbg_setonerror_890bfd1ff86e9c78 = function (arg0, arg1) {
|
|
1109
1126
|
getObject(arg0).onerror = getObject(arg1);
|
|
1110
1127
|
};
|
|
1111
|
-
imports.wbg.
|
|
1128
|
+
imports.wbg.__wbg_setonmessage_f6cf46183c427754 = function (arg0, arg1) {
|
|
1112
1129
|
getObject(arg0).onmessage = getObject(arg1);
|
|
1113
1130
|
};
|
|
1114
|
-
imports.wbg.
|
|
1131
|
+
imports.wbg.__wbg_setrecursive_16a58c23c57e3641 = function (arg0, arg1) {
|
|
1115
1132
|
getObject(arg0).recursive = arg1 !== 0;
|
|
1116
1133
|
};
|
|
1117
|
-
imports.wbg.
|
|
1134
|
+
imports.wbg.__wbg_setrecursive_a6894cbb4ee8f2ac = function (arg0, arg1) {
|
|
1118
1135
|
getObject(arg0).recursive = arg1 !== 0;
|
|
1119
1136
|
};
|
|
1120
|
-
imports.wbg.
|
|
1137
|
+
imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function (arg0, arg1) {
|
|
1121
1138
|
getObject(arg0).signal = getObject(arg1);
|
|
1122
1139
|
};
|
|
1123
|
-
imports.wbg.
|
|
1140
|
+
imports.wbg.__wbg_settype_acc38e64fddb9e3f = function (arg0, arg1, arg2) {
|
|
1124
1141
|
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
1125
1142
|
};
|
|
1126
|
-
imports.wbg.
|
|
1143
|
+
imports.wbg.__wbg_settype_ca83ae32b7117898 = function (arg0, arg1) {
|
|
1127
1144
|
getObject(arg0).type = __wbindgen_enum_WorkerType[arg1];
|
|
1128
1145
|
};
|
|
1129
|
-
imports.wbg.
|
|
1146
|
+
imports.wbg.__wbg_signal_b96223519a041faa = function (arg0) {
|
|
1130
1147
|
const ret = getObject(arg0).signal;
|
|
1131
1148
|
return addHeapObject(ret);
|
|
1132
1149
|
};
|
|
1133
|
-
imports.wbg.
|
|
1150
|
+
imports.wbg.__wbg_size_e2929e11261f04db = function (arg0) {
|
|
1134
1151
|
const ret = getObject(arg0).size;
|
|
1135
1152
|
return ret;
|
|
1136
1153
|
};
|
|
1137
|
-
imports.wbg.
|
|
1154
|
+
imports.wbg.__wbg_slice_7500cb4b1f1711c8 = function () {
|
|
1138
1155
|
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1139
1156
|
const ret = getObject(arg0).slice(arg1, arg2, getStringFromWasm0(arg3, arg4));
|
|
1140
1157
|
return addHeapObject(ret);
|
|
@@ -1147,97 +1164,97 @@ function __wbg_get_imports() {
|
|
|
1147
1164
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1148
1165
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1149
1166
|
};
|
|
1150
|
-
imports.wbg.
|
|
1167
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function () {
|
|
1151
1168
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1152
1169
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1153
1170
|
};
|
|
1154
|
-
imports.wbg.
|
|
1171
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function () {
|
|
1155
1172
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1156
1173
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1157
1174
|
};
|
|
1158
|
-
imports.wbg.
|
|
1175
|
+
imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function () {
|
|
1159
1176
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1160
1177
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1161
1178
|
};
|
|
1162
|
-
imports.wbg.
|
|
1179
|
+
imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function () {
|
|
1163
1180
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1164
1181
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1165
1182
|
};
|
|
1166
|
-
imports.wbg.
|
|
1183
|
+
imports.wbg.__wbg_status_a54682bbe52f9058 = function (arg0) {
|
|
1167
1184
|
const ret = getObject(arg0).status;
|
|
1168
1185
|
return ret;
|
|
1169
1186
|
};
|
|
1170
|
-
imports.wbg.
|
|
1187
|
+
imports.wbg.__wbg_storage_52b923037fa3d04c = function (arg0) {
|
|
1171
1188
|
const ret = getObject(arg0).storage;
|
|
1172
1189
|
return addHeapObject(ret);
|
|
1173
1190
|
};
|
|
1174
|
-
imports.wbg.
|
|
1191
|
+
imports.wbg.__wbg_stringify_c242842b97f054cc = function () {
|
|
1175
1192
|
return handleError(function (arg0) {
|
|
1176
1193
|
const ret = JSON.stringify(getObject(arg0));
|
|
1177
1194
|
return addHeapObject(ret);
|
|
1178
1195
|
}, arguments);
|
|
1179
1196
|
};
|
|
1180
|
-
imports.wbg.
|
|
1197
|
+
imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function (arg0, arg1, arg2) {
|
|
1181
1198
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1182
1199
|
return addHeapObject(ret);
|
|
1183
1200
|
};
|
|
1184
|
-
imports.wbg.
|
|
1185
|
-
const ret = getObject(arg0).then(getObject(arg1));
|
|
1201
|
+
imports.wbg.__wbg_then_82ab9fb4080f1707 = function (arg0, arg1, arg2) {
|
|
1202
|
+
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
1186
1203
|
return addHeapObject(ret);
|
|
1187
1204
|
};
|
|
1188
|
-
imports.wbg.
|
|
1189
|
-
const ret = getObject(arg0).then(getObject(arg1)
|
|
1205
|
+
imports.wbg.__wbg_then_db882932c0c714c6 = function (arg0, arg1) {
|
|
1206
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
1190
1207
|
return addHeapObject(ret);
|
|
1191
1208
|
};
|
|
1192
|
-
imports.wbg.
|
|
1209
|
+
imports.wbg.__wbg_toString_bc7a05a172b5cf14 = function (arg0) {
|
|
1193
1210
|
const ret = getObject(arg0).toString();
|
|
1194
1211
|
return addHeapObject(ret);
|
|
1195
1212
|
};
|
|
1196
|
-
imports.wbg.
|
|
1213
|
+
imports.wbg.__wbg_truncate_1b4fd52305f619d7 = function () {
|
|
1197
1214
|
return handleError(function (arg0, arg1) {
|
|
1198
1215
|
getObject(arg0).truncate(arg1 >>> 0);
|
|
1199
1216
|
}, arguments);
|
|
1200
1217
|
};
|
|
1201
|
-
imports.wbg.
|
|
1218
|
+
imports.wbg.__wbg_type_4b8e99198ce30050 = function (arg0) {
|
|
1202
1219
|
const ret = getObject(arg0).type;
|
|
1203
1220
|
return (__wbindgen_enum_FileSystemChangeRecordType.indexOf(ret) + 1 || 7) - 1;
|
|
1204
1221
|
};
|
|
1205
|
-
imports.wbg.
|
|
1222
|
+
imports.wbg.__wbg_url_e6ed869ea05b7a71 = function (arg0, arg1) {
|
|
1206
1223
|
const ret = getObject(arg1).url;
|
|
1207
1224
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
|
|
1208
1225
|
const len1 = WASM_VECTOR_LEN;
|
|
1209
1226
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1210
1227
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1211
1228
|
};
|
|
1212
|
-
imports.wbg.
|
|
1229
|
+
imports.wbg.__wbg_value_17b896954e14f896 = function (arg0) {
|
|
1213
1230
|
const ret = getObject(arg0).value;
|
|
1214
1231
|
return addHeapObject(ret);
|
|
1215
1232
|
};
|
|
1216
|
-
imports.wbg.
|
|
1233
|
+
imports.wbg.__wbg_value_f8fe3ce05407a213 = function (arg0) {
|
|
1217
1234
|
const ret = getObject(arg0).value;
|
|
1218
1235
|
return addHeapObject(ret);
|
|
1219
1236
|
};
|
|
1220
|
-
imports.wbg.
|
|
1237
|
+
imports.wbg.__wbg_waitAsync_c3398694eaa5aeab = function (arg0, arg1, arg2) {
|
|
1221
1238
|
const ret = Atomics.waitAsync(getObject(arg0), arg1 >>> 0, arg2);
|
|
1222
1239
|
return addHeapObject(ret);
|
|
1223
1240
|
};
|
|
1224
|
-
imports.wbg.
|
|
1241
|
+
imports.wbg.__wbg_waitAsync_e36f18e2e26c3b7d = function () {
|
|
1225
1242
|
const ret = Atomics.waitAsync;
|
|
1226
1243
|
return addHeapObject(ret);
|
|
1227
1244
|
};
|
|
1228
|
-
imports.wbg.
|
|
1229
|
-
console.warn(getObject(arg0));
|
|
1230
|
-
};
|
|
1231
|
-
imports.wbg.__wbg_warn_aaf1f4664a035bd6 = function (arg0, arg1, arg2, arg3) {
|
|
1245
|
+
imports.wbg.__wbg_warn_90607373221a6b1c = function (arg0, arg1, arg2, arg3) {
|
|
1232
1246
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1233
1247
|
};
|
|
1234
|
-
imports.wbg.
|
|
1248
|
+
imports.wbg.__wbg_warn_d89f6637da554c8d = function (arg0) {
|
|
1249
|
+
console.warn(getObject(arg0));
|
|
1250
|
+
};
|
|
1251
|
+
imports.wbg.__wbg_write_20973b686f7a7721 = function () {
|
|
1235
1252
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1236
1253
|
const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2), getObject(arg3));
|
|
1237
1254
|
return ret;
|
|
1238
1255
|
}, arguments);
|
|
1239
1256
|
};
|
|
1240
|
-
imports.wbg.
|
|
1257
|
+
imports.wbg.__wbg_write_d6e7e2433208f1d6 = function () {
|
|
1241
1258
|
return handleError(function (arg0, arg1, arg2) {
|
|
1242
1259
|
const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2));
|
|
1243
1260
|
return ret;
|
|
@@ -1267,32 +1284,32 @@ function __wbg_get_imports() {
|
|
|
1267
1284
|
const ret = false;
|
|
1268
1285
|
return ret;
|
|
1269
1286
|
};
|
|
1270
|
-
imports.wbg.
|
|
1271
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1287
|
+
imports.wbg.__wbindgen_closure_wrapper162054 = function (arg0, arg1, arg2) {
|
|
1288
|
+
const ret = makeMutClosure(arg0, arg1, 1977, __wbg_adapter_47);
|
|
1272
1289
|
return addHeapObject(ret);
|
|
1273
1290
|
};
|
|
1274
|
-
imports.wbg.
|
|
1275
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1291
|
+
imports.wbg.__wbindgen_closure_wrapper162634 = function (arg0, arg1, arg2) {
|
|
1292
|
+
const ret = makeMutClosure(arg0, arg1, 1977, __wbg_adapter_47);
|
|
1276
1293
|
return addHeapObject(ret);
|
|
1277
1294
|
};
|
|
1278
|
-
imports.wbg.
|
|
1279
|
-
const ret = makeClosure(arg0, arg1,
|
|
1295
|
+
imports.wbg.__wbindgen_closure_wrapper166961 = function (arg0, arg1, arg2) {
|
|
1296
|
+
const ret = makeClosure(arg0, arg1, 9460, __wbg_adapter_52);
|
|
1280
1297
|
return addHeapObject(ret);
|
|
1281
1298
|
};
|
|
1282
|
-
imports.wbg.
|
|
1283
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1299
|
+
imports.wbg.__wbindgen_closure_wrapper167283 = function (arg0, arg1, arg2) {
|
|
1300
|
+
const ret = makeMutClosure(arg0, arg1, 1977, __wbg_adapter_47);
|
|
1284
1301
|
return addHeapObject(ret);
|
|
1285
1302
|
};
|
|
1286
|
-
imports.wbg.
|
|
1287
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1303
|
+
imports.wbg.__wbindgen_closure_wrapper167321 = function (arg0, arg1, arg2) {
|
|
1304
|
+
const ret = makeMutClosure(arg0, arg1, 9465, __wbg_adapter_57);
|
|
1288
1305
|
return addHeapObject(ret);
|
|
1289
1306
|
};
|
|
1290
|
-
imports.wbg.
|
|
1291
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1307
|
+
imports.wbg.__wbindgen_closure_wrapper167342 = function (arg0, arg1, arg2) {
|
|
1308
|
+
const ret = makeMutClosure(arg0, arg1, 9468, __wbg_adapter_44);
|
|
1292
1309
|
return addHeapObject(ret);
|
|
1293
1310
|
};
|
|
1294
|
-
imports.wbg.
|
|
1295
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1311
|
+
imports.wbg.__wbindgen_closure_wrapper29880 = function (arg0, arg1, arg2) {
|
|
1312
|
+
const ret = makeMutClosure(arg0, arg1, 1977, __wbg_adapter_44);
|
|
1296
1313
|
return addHeapObject(ret);
|
|
1297
1314
|
};
|
|
1298
1315
|
imports.wbg.__wbindgen_debug_string = function (arg0, arg1) {
|
|
@@ -1302,10 +1319,6 @@ function __wbg_get_imports() {
|
|
|
1302
1319
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1303
1320
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1304
1321
|
};
|
|
1305
|
-
imports.wbg.__wbindgen_error_new = function (arg0, arg1) {
|
|
1306
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1307
|
-
return addHeapObject(ret);
|
|
1308
|
-
};
|
|
1309
1322
|
imports.wbg.__wbindgen_is_function = function (arg0) {
|
|
1310
1323
|
const ret = typeof (getObject(arg0)) === 'function';
|
|
1311
1324
|
return ret;
|
|
@@ -1323,7 +1336,7 @@ function __wbg_get_imports() {
|
|
|
1323
1336
|
const ret = getObject(arg0) === undefined;
|
|
1324
1337
|
return ret;
|
|
1325
1338
|
};
|
|
1326
|
-
imports.wbg.
|
|
1339
|
+
imports.wbg.__wbindgen_link_db87ac8434ca3f93 = function (arg0) {
|
|
1327
1340
|
const val = `onmessage = function (ev) {
|
|
1328
1341
|
let [ia, index, value] = ev.data;
|
|
1329
1342
|
ia = new Int32Array(ia.buffer);
|
package/esm/utoo/index_bg.wasm
CHANGED
|
Binary file
|