@utoo/web 1.2.0 → 1.2.2
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/loaderWorker.js +1 -1
- package/esm/utoo/index.d.ts +16 -20
- package/esm/utoo/index.js +536 -575
- package/esm/utoo/index_bg.wasm +0 -0
- package/package.json +4 -4
- package/esm/cb25445c9f3a2acfc918.wasm +0 -0
package/esm/utoo/index.js
CHANGED
|
@@ -1,31 +1,4 @@
|
|
|
1
1
|
let wasm;
|
|
2
|
-
let cachedUint8ArrayMemory0 = null;
|
|
3
|
-
function getUint8ArrayMemory0() {
|
|
4
|
-
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.buffer !== wasm.memory.buffer) {
|
|
5
|
-
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
6
|
-
}
|
|
7
|
-
return cachedUint8ArrayMemory0;
|
|
8
|
-
}
|
|
9
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
10
|
-
cachedTextDecoder.decode();
|
|
11
|
-
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
12
|
-
let numBytesDecoded = 0;
|
|
13
|
-
function decodeText(ptr, len) {
|
|
14
|
-
numBytesDecoded += len;
|
|
15
|
-
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
16
|
-
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
17
|
-
cachedTextDecoder.decode();
|
|
18
|
-
numBytesDecoded = len;
|
|
19
|
-
}
|
|
20
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().slice(ptr, ptr + len));
|
|
21
|
-
}
|
|
22
|
-
function getStringFromWasm0(ptr, len) {
|
|
23
|
-
ptr = ptr >>> 0;
|
|
24
|
-
return decodeText(ptr, len);
|
|
25
|
-
}
|
|
26
|
-
let heap = new Array(128).fill(undefined);
|
|
27
|
-
heap.push(undefined, null, true, false);
|
|
28
|
-
let heap_next = heap.length;
|
|
29
2
|
function addHeapObject(obj) {
|
|
30
3
|
if (heap_next === heap.length)
|
|
31
4
|
heap.push(heap.length + 1);
|
|
@@ -34,81 +7,20 @@ function addHeapObject(obj) {
|
|
|
34
7
|
heap[idx] = obj;
|
|
35
8
|
return idx;
|
|
36
9
|
}
|
|
37
|
-
function
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
41
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
42
|
-
view.set(buf);
|
|
43
|
-
return {
|
|
44
|
-
read: arg.length,
|
|
45
|
-
written: buf.length
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
function passStringToWasm0(arg, malloc, realloc) {
|
|
49
|
-
if (realloc === undefined) {
|
|
50
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
51
|
-
const ptr = malloc(buf.length, 1) >>> 0;
|
|
52
|
-
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
53
|
-
WASM_VECTOR_LEN = buf.length;
|
|
54
|
-
return ptr;
|
|
55
|
-
}
|
|
56
|
-
let len = arg.length;
|
|
57
|
-
let ptr = malloc(len, 1) >>> 0;
|
|
58
|
-
const mem = getUint8ArrayMemory0();
|
|
59
|
-
let offset = 0;
|
|
60
|
-
for (; offset < len; offset++) {
|
|
61
|
-
const code = arg.charCodeAt(offset);
|
|
62
|
-
if (code > 0x7F)
|
|
63
|
-
break;
|
|
64
|
-
mem[ptr + offset] = code;
|
|
65
|
-
}
|
|
66
|
-
if (offset !== len) {
|
|
67
|
-
if (offset !== 0) {
|
|
68
|
-
arg = arg.slice(offset);
|
|
69
|
-
}
|
|
70
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
71
|
-
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
72
|
-
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
73
|
-
offset += ret.written;
|
|
74
|
-
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
75
|
-
}
|
|
76
|
-
WASM_VECTOR_LEN = offset;
|
|
77
|
-
return ptr;
|
|
78
|
-
}
|
|
79
|
-
let cachedDataViewMemory0 = null;
|
|
80
|
-
function getDataViewMemory0() {
|
|
81
|
-
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer !== wasm.memory.buffer) {
|
|
82
|
-
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
83
|
-
}
|
|
84
|
-
return cachedDataViewMemory0;
|
|
85
|
-
}
|
|
86
|
-
function handleError(f, args) {
|
|
87
|
-
try {
|
|
88
|
-
return f.apply(this, args);
|
|
89
|
-
}
|
|
90
|
-
catch (e) {
|
|
91
|
-
wasm.__wbindgen_export_3(addHeapObject(e));
|
|
10
|
+
function _assertClass(instance, klass) {
|
|
11
|
+
if (!(instance instanceof klass)) {
|
|
12
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
92
13
|
}
|
|
93
14
|
}
|
|
94
|
-
function
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
return;
|
|
100
|
-
heap[idx] = heap_next;
|
|
101
|
-
heap_next = idx;
|
|
102
|
-
}
|
|
103
|
-
function takeObject(idx) {
|
|
104
|
-
const ret = getObject(idx);
|
|
105
|
-
dropObject(idx);
|
|
106
|
-
return ret;
|
|
107
|
-
}
|
|
108
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
109
|
-
ptr = ptr >>> 0;
|
|
110
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
15
|
+
function addBorrowedObject(obj) {
|
|
16
|
+
if (stack_pointer == 1)
|
|
17
|
+
throw new Error('out of js stack');
|
|
18
|
+
heap[--stack_pointer] = obj;
|
|
19
|
+
return stack_pointer;
|
|
111
20
|
}
|
|
21
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
22
|
+
? { register: () => { }, unregister: () => { } }
|
|
23
|
+
: new FinalizationRegistry(state => state.dtor(state.a, state.b));
|
|
112
24
|
function debugString(val) {
|
|
113
25
|
// primitive types
|
|
114
26
|
const type = typeof val;
|
|
@@ -177,152 +89,191 @@ function debugString(val) {
|
|
|
177
89
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
178
90
|
return className;
|
|
179
91
|
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
92
|
+
function dropObject(idx) {
|
|
93
|
+
if (idx < 132)
|
|
94
|
+
return;
|
|
95
|
+
heap[idx] = heap_next;
|
|
96
|
+
heap_next = idx;
|
|
97
|
+
}
|
|
98
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
99
|
+
ptr = ptr >>> 0;
|
|
100
|
+
const mem = getDataViewMemory0();
|
|
101
|
+
const result = [];
|
|
102
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
103
|
+
result.push(takeObject(mem.getUint32(i, true)));
|
|
104
|
+
}
|
|
105
|
+
return result;
|
|
106
|
+
}
|
|
107
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
108
|
+
ptr = ptr >>> 0;
|
|
109
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
110
|
+
}
|
|
111
|
+
let cachedDataViewMemory0 = null;
|
|
112
|
+
function getDataViewMemory0() {
|
|
113
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer !== wasm.memory.buffer) {
|
|
114
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
115
|
+
}
|
|
116
|
+
return cachedDataViewMemory0;
|
|
117
|
+
}
|
|
118
|
+
function getStringFromWasm0(ptr, len) {
|
|
119
|
+
ptr = ptr >>> 0;
|
|
120
|
+
return decodeText(ptr, len);
|
|
121
|
+
}
|
|
122
|
+
let cachedUint8ArrayMemory0 = null;
|
|
123
|
+
function getUint8ArrayMemory0() {
|
|
124
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.buffer !== wasm.memory.buffer) {
|
|
125
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
126
|
+
}
|
|
127
|
+
return cachedUint8ArrayMemory0;
|
|
128
|
+
}
|
|
129
|
+
function getObject(idx) { return heap[idx]; }
|
|
130
|
+
function handleError(f, args) {
|
|
131
|
+
try {
|
|
132
|
+
return f.apply(this, args);
|
|
133
|
+
}
|
|
134
|
+
catch (e) {
|
|
135
|
+
wasm.__wbindgen_export3(addHeapObject(e));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
let heap = new Array(128).fill(undefined);
|
|
139
|
+
heap.push(undefined, null, true, false);
|
|
140
|
+
let heap_next = heap.length;
|
|
141
|
+
function isLikeNone(x) {
|
|
142
|
+
return x === undefined || x === null;
|
|
143
|
+
}
|
|
144
|
+
function makeClosure(arg0, arg1, dtor, f) {
|
|
186
145
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
187
146
|
const real = (...args) => {
|
|
188
147
|
// First up with a closure we increment the internal reference
|
|
189
148
|
// count. This ensures that the Rust closure environment won't
|
|
190
149
|
// be deallocated while we're invoking it.
|
|
191
150
|
state.cnt++;
|
|
192
|
-
const a = state.a;
|
|
193
|
-
state.a = 0;
|
|
194
151
|
try {
|
|
195
|
-
return f(a, state.b, ...args);
|
|
152
|
+
return f(state.a, state.b, ...args);
|
|
196
153
|
}
|
|
197
154
|
finally {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
155
|
+
real._wbg_cb_unref();
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
real._wbg_cb_unref = () => {
|
|
159
|
+
if (--state.cnt === 0) {
|
|
160
|
+
state.dtor(state.a, state.b);
|
|
161
|
+
state.a = 0;
|
|
162
|
+
CLOSURE_DTORS.unregister(state);
|
|
205
163
|
}
|
|
206
164
|
};
|
|
207
|
-
real.original = state;
|
|
208
165
|
CLOSURE_DTORS.register(real, state, state);
|
|
209
166
|
return real;
|
|
210
167
|
}
|
|
211
|
-
function
|
|
212
|
-
ptr = ptr >>> 0;
|
|
213
|
-
const mem = getDataViewMemory0();
|
|
214
|
-
const result = [];
|
|
215
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
216
|
-
result.push(takeObject(mem.getUint32(i, true)));
|
|
217
|
-
}
|
|
218
|
-
return result;
|
|
219
|
-
}
|
|
220
|
-
function makeClosure(arg0, arg1, dtor, f) {
|
|
168
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
221
169
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
222
170
|
const real = (...args) => {
|
|
223
171
|
// First up with a closure we increment the internal reference
|
|
224
172
|
// count. This ensures that the Rust closure environment won't
|
|
225
173
|
// be deallocated while we're invoking it.
|
|
226
174
|
state.cnt++;
|
|
175
|
+
const a = state.a;
|
|
176
|
+
state.a = 0;
|
|
227
177
|
try {
|
|
228
|
-
return f(
|
|
178
|
+
return f(a, state.b, ...args);
|
|
229
179
|
}
|
|
230
180
|
finally {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
181
|
+
state.a = a;
|
|
182
|
+
real._wbg_cb_unref();
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
real._wbg_cb_unref = () => {
|
|
186
|
+
if (--state.cnt === 0) {
|
|
187
|
+
state.dtor(state.a, state.b);
|
|
188
|
+
state.a = 0;
|
|
189
|
+
CLOSURE_DTORS.unregister(state);
|
|
236
190
|
}
|
|
237
191
|
};
|
|
238
|
-
real.original = state;
|
|
239
192
|
CLOSURE_DTORS.register(real, state, state);
|
|
240
193
|
return real;
|
|
241
194
|
}
|
|
242
|
-
function
|
|
243
|
-
if (
|
|
244
|
-
|
|
195
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
196
|
+
if (realloc === undefined) {
|
|
197
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
198
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
199
|
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
200
|
+
WASM_VECTOR_LEN = buf.length;
|
|
201
|
+
return ptr;
|
|
245
202
|
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
WASM_VECTOR_LEN =
|
|
203
|
+
let len = arg.length;
|
|
204
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
205
|
+
const mem = getUint8ArrayMemory0();
|
|
206
|
+
let offset = 0;
|
|
207
|
+
for (; offset < len; offset++) {
|
|
208
|
+
const code = arg.charCodeAt(offset);
|
|
209
|
+
if (code > 0x7F)
|
|
210
|
+
break;
|
|
211
|
+
mem[ptr + offset] = code;
|
|
212
|
+
}
|
|
213
|
+
if (offset !== len) {
|
|
214
|
+
if (offset !== 0) {
|
|
215
|
+
arg = arg.slice(offset);
|
|
216
|
+
}
|
|
217
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
218
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
219
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
220
|
+
offset += ret.written;
|
|
221
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
222
|
+
}
|
|
223
|
+
WASM_VECTOR_LEN = offset;
|
|
267
224
|
return ptr;
|
|
268
225
|
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
wasm.registerWorkerScheduler(addHeapObject(creator), addHeapObject(terminator));
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* @param {number} worker_id
|
|
278
|
-
*/
|
|
279
|
-
export function workerCreated(worker_id) {
|
|
280
|
-
wasm.workerCreated(worker_id);
|
|
281
|
-
}
|
|
282
|
-
export function init_pack() {
|
|
283
|
-
wasm.init_pack();
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* @param {string} filter
|
|
287
|
-
*/
|
|
288
|
-
export function initLogFilter(filter) {
|
|
289
|
-
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
|
|
290
|
-
const len0 = WASM_VECTOR_LEN;
|
|
291
|
-
wasm.initLogFilter(ptr0, len0);
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* Entry point for web workers
|
|
295
|
-
* @param {number} ptr
|
|
296
|
-
*/
|
|
297
|
-
export function wasm_thread_entry_point(ptr) {
|
|
298
|
-
wasm.wasm_thread_entry_point(ptr);
|
|
299
|
-
}
|
|
300
|
-
function __wbg_adapter_4(arg0, arg1, arg2) {
|
|
301
|
-
wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
|
|
226
|
+
let stack_pointer = 128;
|
|
227
|
+
function takeObject(idx) {
|
|
228
|
+
const ret = getObject(idx);
|
|
229
|
+
dropObject(idx);
|
|
230
|
+
return ret;
|
|
302
231
|
}
|
|
303
|
-
|
|
304
|
-
|
|
232
|
+
let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : undefined);
|
|
233
|
+
if (cachedTextDecoder)
|
|
234
|
+
cachedTextDecoder.decode();
|
|
235
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
236
|
+
let numBytesDecoded = 0;
|
|
237
|
+
function decodeText(ptr, len) {
|
|
238
|
+
numBytesDecoded += len;
|
|
239
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
240
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
241
|
+
cachedTextDecoder.decode();
|
|
242
|
+
numBytesDecoded = len;
|
|
243
|
+
}
|
|
244
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().slice(ptr, ptr + len));
|
|
305
245
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
246
|
+
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder() : undefined);
|
|
247
|
+
if (cachedTextEncoder) {
|
|
248
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
249
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
250
|
+
view.set(buf);
|
|
251
|
+
return {
|
|
252
|
+
read: arg.length,
|
|
253
|
+
written: buf.length
|
|
254
|
+
};
|
|
255
|
+
};
|
|
312
256
|
}
|
|
313
|
-
|
|
257
|
+
let WASM_VECTOR_LEN = 0;
|
|
258
|
+
function __wasm_bindgen_func_elem_152832(arg0, arg1, arg2) {
|
|
314
259
|
try {
|
|
315
|
-
wasm.
|
|
260
|
+
wasm.__wasm_bindgen_func_elem_152832(arg0, arg1, addBorrowedObject(arg2));
|
|
316
261
|
}
|
|
317
262
|
finally {
|
|
318
263
|
heap[stack_pointer++] = undefined;
|
|
319
264
|
}
|
|
320
265
|
}
|
|
321
|
-
function
|
|
322
|
-
wasm.
|
|
266
|
+
function __wasm_bindgen_func_elem_29354(arg0, arg1) {
|
|
267
|
+
wasm.__wasm_bindgen_func_elem_29354(arg0, arg1);
|
|
268
|
+
}
|
|
269
|
+
function __wasm_bindgen_func_elem_152568(arg0, arg1, arg2) {
|
|
270
|
+
wasm.__wasm_bindgen_func_elem_152568(arg0, arg1, addHeapObject(arg2));
|
|
271
|
+
}
|
|
272
|
+
function __wasm_bindgen_func_elem_152777(arg0, arg1, arg2) {
|
|
273
|
+
wasm.__wasm_bindgen_func_elem_152777(arg0, arg1, addHeapObject(arg2));
|
|
323
274
|
}
|
|
324
|
-
function
|
|
325
|
-
wasm.
|
|
275
|
+
function __wasm_bindgen_func_elem_3390(arg0, arg1, arg2, arg3) {
|
|
276
|
+
wasm.__wasm_bindgen_func_elem_3390(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
326
277
|
}
|
|
327
278
|
const __wbindgen_enum_DirEntryType = ["file", "directory"];
|
|
328
279
|
const __wbindgen_enum_FileSystemChangeRecordType = ["appeared", "disappeared", "errored", "modified", "moved", "unknown"];
|
|
@@ -334,6 +285,27 @@ const __wbindgen_enum_WorkerType = ["classic", "module"];
|
|
|
334
285
|
const CreateSyncAccessHandleOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
335
286
|
? { register: () => { }, unregister: () => { } }
|
|
336
287
|
: new FinalizationRegistry(ptr => wasm.__wbg_createsyncaccesshandleoptions_free(ptr >>> 0, 1));
|
|
288
|
+
const DirEntryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
289
|
+
? { register: () => { }, unregister: () => { } }
|
|
290
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_direntry_free(ptr >>> 0, 1));
|
|
291
|
+
const MetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
292
|
+
? { register: () => { }, unregister: () => { } }
|
|
293
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_metadata_free(ptr >>> 0, 1));
|
|
294
|
+
const ProjectFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
295
|
+
? { register: () => { }, unregister: () => { } }
|
|
296
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_project_free(ptr >>> 0, 1));
|
|
297
|
+
const WasmTaskMessageFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
298
|
+
? { register: () => { }, unregister: () => { } }
|
|
299
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtaskmessage_free(ptr >>> 0, 1));
|
|
300
|
+
const WebWorkerCreationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
301
|
+
? { register: () => { }, unregister: () => { } }
|
|
302
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_webworkercreation_free(ptr >>> 0, 1));
|
|
303
|
+
const WebWorkerOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
304
|
+
? { register: () => { }, unregister: () => { } }
|
|
305
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_webworkeroptions_free(ptr >>> 0, 1));
|
|
306
|
+
const WebWorkerTerminationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
307
|
+
? { register: () => { }, unregister: () => { } }
|
|
308
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_webworkertermination_free(ptr >>> 0, 1));
|
|
337
309
|
export class CreateSyncAccessHandleOptions {
|
|
338
310
|
static __wrap(ptr) {
|
|
339
311
|
ptr = ptr >>> 0;
|
|
@@ -355,9 +327,6 @@ export class CreateSyncAccessHandleOptions {
|
|
|
355
327
|
}
|
|
356
328
|
if (Symbol.dispose)
|
|
357
329
|
CreateSyncAccessHandleOptions.prototype[Symbol.dispose] = CreateSyncAccessHandleOptions.prototype.free;
|
|
358
|
-
const DirEntryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
359
|
-
? { register: () => { }, unregister: () => { } }
|
|
360
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_direntry_free(ptr >>> 0, 1));
|
|
361
330
|
export class DirEntry {
|
|
362
331
|
static __wrap(ptr) {
|
|
363
332
|
ptr = ptr >>> 0;
|
|
@@ -402,14 +371,14 @@ export class DirEntry {
|
|
|
402
371
|
}
|
|
403
372
|
finally {
|
|
404
373
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
405
|
-
wasm.
|
|
374
|
+
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
406
375
|
}
|
|
407
376
|
}
|
|
408
377
|
/**
|
|
409
378
|
* @param {string} arg0
|
|
410
379
|
*/
|
|
411
380
|
set name(arg0) {
|
|
412
|
-
const ptr0 = passStringToWasm0(arg0, wasm.
|
|
381
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
413
382
|
const len0 = WASM_VECTOR_LEN;
|
|
414
383
|
wasm.__wbg_set_direntry_name(this.__wbg_ptr, ptr0, len0);
|
|
415
384
|
}
|
|
@@ -429,9 +398,6 @@ export class DirEntry {
|
|
|
429
398
|
}
|
|
430
399
|
if (Symbol.dispose)
|
|
431
400
|
DirEntry.prototype[Symbol.dispose] = DirEntry.prototype.free;
|
|
432
|
-
const MetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
433
|
-
? { register: () => { }, unregister: () => { } }
|
|
434
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_metadata_free(ptr >>> 0, 1));
|
|
435
401
|
export class Metadata {
|
|
436
402
|
static __wrap(ptr) {
|
|
437
403
|
ptr = ptr >>> 0;
|
|
@@ -488,9 +454,6 @@ export class Metadata {
|
|
|
488
454
|
}
|
|
489
455
|
if (Symbol.dispose)
|
|
490
456
|
Metadata.prototype[Symbol.dispose] = Metadata.prototype.free;
|
|
491
|
-
const ProjectFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
492
|
-
? { register: () => { }, unregister: () => { } }
|
|
493
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_project_free(ptr >>> 0, 1));
|
|
494
457
|
export class Project {
|
|
495
458
|
__destroy_into_raw() {
|
|
496
459
|
const ptr = this.__wbg_ptr;
|
|
@@ -507,7 +470,7 @@ export class Project {
|
|
|
507
470
|
* @returns {Promise<void>}
|
|
508
471
|
*/
|
|
509
472
|
static createDir(path) {
|
|
510
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
473
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
511
474
|
const len0 = WASM_VECTOR_LEN;
|
|
512
475
|
const ret = wasm.project_createDir(ptr0, len0);
|
|
513
476
|
return takeObject(ret);
|
|
@@ -518,7 +481,7 @@ export class Project {
|
|
|
518
481
|
* @returns {Promise<void>}
|
|
519
482
|
*/
|
|
520
483
|
static removeDir(path, recursive) {
|
|
521
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
484
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
522
485
|
const len0 = WASM_VECTOR_LEN;
|
|
523
486
|
const ret = wasm.project_removeDir(ptr0, len0, recursive);
|
|
524
487
|
return takeObject(ret);
|
|
@@ -530,11 +493,9 @@ export class Project {
|
|
|
530
493
|
static writeSync(path, content) {
|
|
531
494
|
try {
|
|
532
495
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
533
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
496
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
534
497
|
const len0 = WASM_VECTOR_LEN;
|
|
535
|
-
|
|
536
|
-
const len1 = WASM_VECTOR_LEN;
|
|
537
|
-
wasm.project_writeSync(retptr, ptr0, len0, ptr1, len1);
|
|
498
|
+
wasm.project_writeSync(retptr, ptr0, len0, addHeapObject(content));
|
|
538
499
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
539
500
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
540
501
|
if (r1) {
|
|
@@ -550,7 +511,7 @@ export class Project {
|
|
|
550
511
|
* @returns {Promise<void>}
|
|
551
512
|
*/
|
|
552
513
|
static removeFile(path) {
|
|
553
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
514
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
554
515
|
const len0 = WASM_VECTOR_LEN;
|
|
555
516
|
const ret = wasm.project_removeFile(ptr0, len0);
|
|
556
517
|
return takeObject(ret);
|
|
@@ -561,9 +522,9 @@ export class Project {
|
|
|
561
522
|
* @returns {Promise<void>}
|
|
562
523
|
*/
|
|
563
524
|
static writeString(path, content) {
|
|
564
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
525
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
565
526
|
const len0 = WASM_VECTOR_LEN;
|
|
566
|
-
const ptr1 = passStringToWasm0(content, wasm.
|
|
527
|
+
const ptr1 = passStringToWasm0(content, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
567
528
|
const len1 = WASM_VECTOR_LEN;
|
|
568
529
|
const ret = wasm.project_writeString(ptr0, len0, ptr1, len1);
|
|
569
530
|
return takeObject(ret);
|
|
@@ -575,7 +536,7 @@ export class Project {
|
|
|
575
536
|
static metadataSync(path) {
|
|
576
537
|
try {
|
|
577
538
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
578
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
539
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
579
540
|
const len0 = WASM_VECTOR_LEN;
|
|
580
541
|
wasm.project_metadataSync(retptr, ptr0, len0);
|
|
581
542
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
@@ -597,7 +558,7 @@ export class Project {
|
|
|
597
558
|
static readDirSync(path) {
|
|
598
559
|
try {
|
|
599
560
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
600
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
561
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
601
562
|
const len0 = WASM_VECTOR_LEN;
|
|
602
563
|
wasm.project_readDirSync(retptr, ptr0, len0);
|
|
603
564
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
@@ -608,7 +569,7 @@ export class Project {
|
|
|
608
569
|
throw takeObject(r2);
|
|
609
570
|
}
|
|
610
571
|
var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
611
|
-
wasm.
|
|
572
|
+
wasm.__wbindgen_export4(r0, r1 * 4, 4);
|
|
612
573
|
return v2;
|
|
613
574
|
}
|
|
614
575
|
finally {
|
|
@@ -622,9 +583,9 @@ export class Project {
|
|
|
622
583
|
static copyFileSync(src, dst) {
|
|
623
584
|
try {
|
|
624
585
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
625
|
-
const ptr0 = passStringToWasm0(src, wasm.
|
|
586
|
+
const ptr0 = passStringToWasm0(src, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
626
587
|
const len0 = WASM_VECTOR_LEN;
|
|
627
|
-
const ptr1 = passStringToWasm0(dst, wasm.
|
|
588
|
+
const ptr1 = passStringToWasm0(dst, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
628
589
|
const len1 = WASM_VECTOR_LEN;
|
|
629
590
|
wasm.project_copyFileSync(retptr, ptr0, len0, ptr1, len1);
|
|
630
591
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
@@ -642,7 +603,7 @@ export class Project {
|
|
|
642
603
|
* @returns {Promise<void>}
|
|
643
604
|
*/
|
|
644
605
|
static createDirAll(path) {
|
|
645
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
606
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
646
607
|
const len0 = WASM_VECTOR_LEN;
|
|
647
608
|
const ret = wasm.project_createDirAll(ptr0, len0);
|
|
648
609
|
return takeObject(ret);
|
|
@@ -652,7 +613,7 @@ export class Project {
|
|
|
652
613
|
* @returns {Promise<string>}
|
|
653
614
|
*/
|
|
654
615
|
static readToString(path) {
|
|
655
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
616
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
656
617
|
const len0 = WASM_VECTOR_LEN;
|
|
657
618
|
const ret = wasm.project_readToString(ptr0, len0);
|
|
658
619
|
return takeObject(ret);
|
|
@@ -663,7 +624,7 @@ export class Project {
|
|
|
663
624
|
static createDirSync(path) {
|
|
664
625
|
try {
|
|
665
626
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
666
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
627
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
667
628
|
const len0 = WASM_VECTOR_LEN;
|
|
668
629
|
wasm.project_createDirSync(retptr, ptr0, len0);
|
|
669
630
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
@@ -683,7 +644,7 @@ export class Project {
|
|
|
683
644
|
static removeDirSync(path, recursive) {
|
|
684
645
|
try {
|
|
685
646
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
686
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
647
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
687
648
|
const len0 = WASM_VECTOR_LEN;
|
|
688
649
|
wasm.project_removeDirSync(retptr, ptr0, len0, recursive);
|
|
689
650
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
@@ -702,7 +663,7 @@ export class Project {
|
|
|
702
663
|
static removeFileSync(path) {
|
|
703
664
|
try {
|
|
704
665
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
705
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
666
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
706
667
|
const len0 = WASM_VECTOR_LEN;
|
|
707
668
|
wasm.project_removeFileSync(retptr, ptr0, len0);
|
|
708
669
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
@@ -721,7 +682,7 @@ export class Project {
|
|
|
721
682
|
static createDirAllSync(path) {
|
|
722
683
|
try {
|
|
723
684
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
724
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
685
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
725
686
|
const len0 = WASM_VECTOR_LEN;
|
|
726
687
|
wasm.project_createDirAllSync(retptr, ptr0, len0);
|
|
727
688
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
@@ -751,7 +712,7 @@ export class Project {
|
|
|
751
712
|
}
|
|
752
713
|
finally {
|
|
753
714
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
754
|
-
wasm.
|
|
715
|
+
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
755
716
|
}
|
|
756
717
|
}
|
|
757
718
|
/**
|
|
@@ -767,7 +728,7 @@ export class Project {
|
|
|
767
728
|
* @returns {Promise<string>}
|
|
768
729
|
*/
|
|
769
730
|
static deps(registry, concurrency) {
|
|
770
|
-
var ptr0 = isLikeNone(registry) ? 0 : passStringToWasm0(registry, wasm.
|
|
731
|
+
var ptr0 = isLikeNone(registry) ? 0 : passStringToWasm0(registry, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
771
732
|
var len0 = WASM_VECTOR_LEN;
|
|
772
733
|
const ret = wasm.project_deps(ptr0, len0, isLikeNone(concurrency) ? 0x100000001 : (concurrency) >>> 0);
|
|
773
734
|
return takeObject(ret);
|
|
@@ -786,7 +747,7 @@ export class Project {
|
|
|
786
747
|
* @param {string} thread_url
|
|
787
748
|
*/
|
|
788
749
|
static init(thread_url) {
|
|
789
|
-
const ptr0 = passStringToWasm0(thread_url, wasm.
|
|
750
|
+
const ptr0 = passStringToWasm0(thread_url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
790
751
|
const len0 = WASM_VECTOR_LEN;
|
|
791
752
|
wasm.project_init(ptr0, len0);
|
|
792
753
|
}
|
|
@@ -795,7 +756,7 @@ export class Project {
|
|
|
795
756
|
* @returns {Promise<Uint8Array>}
|
|
796
757
|
*/
|
|
797
758
|
static read(path) {
|
|
798
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
759
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
799
760
|
const len0 = WASM_VECTOR_LEN;
|
|
800
761
|
const ret = wasm.project_read(ptr0, len0);
|
|
801
762
|
return takeObject(ret);
|
|
@@ -813,11 +774,9 @@ export class Project {
|
|
|
813
774
|
* @returns {Promise<void>}
|
|
814
775
|
*/
|
|
815
776
|
static write(path, content) {
|
|
816
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
777
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
817
778
|
const len0 = WASM_VECTOR_LEN;
|
|
818
|
-
const
|
|
819
|
-
const len1 = WASM_VECTOR_LEN;
|
|
820
|
-
const ret = wasm.project_write(ptr0, len0, ptr1, len1);
|
|
779
|
+
const ret = wasm.project_write(ptr0, len0, addHeapObject(content));
|
|
821
780
|
return takeObject(ret);
|
|
822
781
|
}
|
|
823
782
|
/**
|
|
@@ -826,7 +785,7 @@ export class Project {
|
|
|
826
785
|
* @returns {Promise<void>}
|
|
827
786
|
*/
|
|
828
787
|
static install(package_lock, max_concurrent_downloads) {
|
|
829
|
-
const ptr0 = passStringToWasm0(package_lock, wasm.
|
|
788
|
+
const ptr0 = passStringToWasm0(package_lock, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
830
789
|
const len0 = WASM_VECTOR_LEN;
|
|
831
790
|
const ret = wasm.project_install(ptr0, len0, isLikeNone(max_concurrent_downloads) ? 0x100000001 : (max_concurrent_downloads) >>> 0);
|
|
832
791
|
return takeObject(ret);
|
|
@@ -835,7 +794,7 @@ export class Project {
|
|
|
835
794
|
* @param {string} path
|
|
836
795
|
*/
|
|
837
796
|
static setCwd(path) {
|
|
838
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
797
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
839
798
|
const len0 = WASM_VECTOR_LEN;
|
|
840
799
|
wasm.project_setCwd(ptr0, len0);
|
|
841
800
|
}
|
|
@@ -845,9 +804,7 @@ export class Project {
|
|
|
845
804
|
* @returns {Promise<string>}
|
|
846
805
|
*/
|
|
847
806
|
static sigMd5(content) {
|
|
848
|
-
const
|
|
849
|
-
const len0 = WASM_VECTOR_LEN;
|
|
850
|
-
const ret = wasm.project_sigMd5(ptr0, len0);
|
|
807
|
+
const ret = wasm.project_sigMd5(addHeapObject(content));
|
|
851
808
|
return takeObject(ret);
|
|
852
809
|
}
|
|
853
810
|
/**
|
|
@@ -855,7 +812,7 @@ export class Project {
|
|
|
855
812
|
* @returns {Promise<Metadata>}
|
|
856
813
|
*/
|
|
857
814
|
static metadata(path) {
|
|
858
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
815
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
859
816
|
const len0 = WASM_VECTOR_LEN;
|
|
860
817
|
const ret = wasm.project_metadata(ptr0, len0);
|
|
861
818
|
return takeObject(ret);
|
|
@@ -865,7 +822,7 @@ export class Project {
|
|
|
865
822
|
* @returns {Promise<DirEntry[]>}
|
|
866
823
|
*/
|
|
867
824
|
static readDir(path) {
|
|
868
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
825
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
869
826
|
const len0 = WASM_VECTOR_LEN;
|
|
870
827
|
const ret = wasm.project_readDir(ptr0, len0);
|
|
871
828
|
return takeObject(ret);
|
|
@@ -876,9 +833,9 @@ export class Project {
|
|
|
876
833
|
* @returns {Promise<void>}
|
|
877
834
|
*/
|
|
878
835
|
static copyFile(src, dst) {
|
|
879
|
-
const ptr0 = passStringToWasm0(src, wasm.
|
|
836
|
+
const ptr0 = passStringToWasm0(src, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
880
837
|
const len0 = WASM_VECTOR_LEN;
|
|
881
|
-
const ptr1 = passStringToWasm0(dst, wasm.
|
|
838
|
+
const ptr1 = passStringToWasm0(dst, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
882
839
|
const len1 = WASM_VECTOR_LEN;
|
|
883
840
|
const ret = wasm.project_copyFile(ptr0, len0, ptr1, len1);
|
|
884
841
|
return takeObject(ret);
|
|
@@ -890,7 +847,7 @@ export class Project {
|
|
|
890
847
|
static readSync(path) {
|
|
891
848
|
try {
|
|
892
849
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
893
|
-
const ptr0 = passStringToWasm0(path, wasm.
|
|
850
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
894
851
|
const len0 = WASM_VECTOR_LEN;
|
|
895
852
|
wasm.project_readSync(retptr, ptr0, len0);
|
|
896
853
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
@@ -908,9 +865,6 @@ export class Project {
|
|
|
908
865
|
}
|
|
909
866
|
if (Symbol.dispose)
|
|
910
867
|
Project.prototype[Symbol.dispose] = Project.prototype.free;
|
|
911
|
-
const WasmTaskMessageFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
912
|
-
? { register: () => { }, unregister: () => { } }
|
|
913
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtaskmessage_free(ptr >>> 0, 1));
|
|
914
868
|
export class WasmTaskMessage {
|
|
915
869
|
static __wrap(ptr) {
|
|
916
870
|
ptr = ptr >>> 0;
|
|
@@ -930,52 +884,28 @@ export class WasmTaskMessage {
|
|
|
930
884
|
wasm.__wbg_wasmtaskmessage_free(ptr, 0);
|
|
931
885
|
}
|
|
932
886
|
/**
|
|
933
|
-
* @returns {
|
|
934
|
-
*/
|
|
935
|
-
get taskId() {
|
|
936
|
-
const ret = wasm.__wbg_get_wasmtaskmessage_taskId(this.__wbg_ptr);
|
|
937
|
-
return ret >>> 0;
|
|
938
|
-
}
|
|
939
|
-
/**
|
|
940
|
-
* @param {number} arg0
|
|
887
|
+
* @returns {Uint8Array}
|
|
941
888
|
*/
|
|
942
|
-
|
|
943
|
-
wasm.
|
|
889
|
+
get data() {
|
|
890
|
+
const ret = wasm.wasmtaskmessage_data(this.__wbg_ptr);
|
|
891
|
+
return takeObject(ret);
|
|
944
892
|
}
|
|
945
893
|
/**
|
|
946
|
-
* @returns {
|
|
947
|
-
*/
|
|
948
|
-
get
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
try {
|
|
952
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
953
|
-
wasm.__wbg_get_wasmtaskmessage_data(retptr, this.__wbg_ptr);
|
|
954
|
-
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
955
|
-
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
956
|
-
deferred1_0 = r0;
|
|
957
|
-
deferred1_1 = r1;
|
|
958
|
-
return getStringFromWasm0(r0, r1);
|
|
959
|
-
}
|
|
960
|
-
finally {
|
|
961
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
962
|
-
wasm.__wbindgen_export_4(deferred1_0, deferred1_1, 1);
|
|
963
|
-
}
|
|
894
|
+
* @returns {number}
|
|
895
|
+
*/
|
|
896
|
+
get taskId() {
|
|
897
|
+
const ret = wasm.__wbg_get_wasmtaskmessage_taskId(this.__wbg_ptr);
|
|
898
|
+
return ret >>> 0;
|
|
964
899
|
}
|
|
965
900
|
/**
|
|
966
|
-
* @param {
|
|
901
|
+
* @param {number} arg0
|
|
967
902
|
*/
|
|
968
|
-
set
|
|
969
|
-
|
|
970
|
-
const len0 = WASM_VECTOR_LEN;
|
|
971
|
-
wasm.__wbg_set_wasmtaskmessage_data(this.__wbg_ptr, ptr0, len0);
|
|
903
|
+
set taskId(arg0) {
|
|
904
|
+
wasm.__wbg_set_wasmtaskmessage_taskId(this.__wbg_ptr, arg0);
|
|
972
905
|
}
|
|
973
906
|
}
|
|
974
907
|
if (Symbol.dispose)
|
|
975
908
|
WasmTaskMessage.prototype[Symbol.dispose] = WasmTaskMessage.prototype.free;
|
|
976
|
-
const WebWorkerCreationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
977
|
-
? { register: () => { }, unregister: () => { } }
|
|
978
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_webworkercreation_free(ptr >>> 0, 1));
|
|
979
909
|
export class WebWorkerCreation {
|
|
980
910
|
static __wrap(ptr) {
|
|
981
911
|
ptr = ptr >>> 0;
|
|
@@ -1012,9 +942,6 @@ export class WebWorkerCreation {
|
|
|
1012
942
|
}
|
|
1013
943
|
if (Symbol.dispose)
|
|
1014
944
|
WebWorkerCreation.prototype[Symbol.dispose] = WebWorkerCreation.prototype.free;
|
|
1015
|
-
const WebWorkerOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1016
|
-
? { register: () => { }, unregister: () => { } }
|
|
1017
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_webworkeroptions_free(ptr >>> 0, 1));
|
|
1018
945
|
export class WebWorkerOptions {
|
|
1019
946
|
static __wrap(ptr) {
|
|
1020
947
|
ptr = ptr >>> 0;
|
|
@@ -1041,7 +968,7 @@ export class WebWorkerOptions {
|
|
|
1041
968
|
let deferred1_1;
|
|
1042
969
|
try {
|
|
1043
970
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1044
|
-
wasm.
|
|
971
|
+
wasm.__wbg_get_webworkeroptions_filename(retptr, this.__wbg_ptr);
|
|
1045
972
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1046
973
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1047
974
|
deferred1_0 = r0;
|
|
@@ -1050,16 +977,16 @@ export class WebWorkerOptions {
|
|
|
1050
977
|
}
|
|
1051
978
|
finally {
|
|
1052
979
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1053
|
-
wasm.
|
|
980
|
+
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
1054
981
|
}
|
|
1055
982
|
}
|
|
1056
983
|
/**
|
|
1057
984
|
* @param {string} arg0
|
|
1058
985
|
*/
|
|
1059
986
|
set filename(arg0) {
|
|
1060
|
-
const ptr0 = passStringToWasm0(arg0, wasm.
|
|
987
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1061
988
|
const len0 = WASM_VECTOR_LEN;
|
|
1062
|
-
wasm.
|
|
989
|
+
wasm.__wbg_set_webworkeroptions_filename(this.__wbg_ptr, ptr0, len0);
|
|
1063
990
|
}
|
|
1064
991
|
/**
|
|
1065
992
|
* @returns {string}
|
|
@@ -1078,23 +1005,20 @@ export class WebWorkerOptions {
|
|
|
1078
1005
|
}
|
|
1079
1006
|
finally {
|
|
1080
1007
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1081
|
-
wasm.
|
|
1008
|
+
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
1082
1009
|
}
|
|
1083
1010
|
}
|
|
1084
1011
|
/**
|
|
1085
1012
|
* @param {string} arg0
|
|
1086
1013
|
*/
|
|
1087
1014
|
set cwd(arg0) {
|
|
1088
|
-
const ptr0 = passStringToWasm0(arg0, wasm.
|
|
1015
|
+
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1089
1016
|
const len0 = WASM_VECTOR_LEN;
|
|
1090
1017
|
wasm.__wbg_set_webworkeroptions_cwd(this.__wbg_ptr, ptr0, len0);
|
|
1091
1018
|
}
|
|
1092
1019
|
}
|
|
1093
1020
|
if (Symbol.dispose)
|
|
1094
1021
|
WebWorkerOptions.prototype[Symbol.dispose] = WebWorkerOptions.prototype.free;
|
|
1095
|
-
const WebWorkerTerminationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1096
|
-
? { register: () => { }, unregister: () => { } }
|
|
1097
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_webworkertermination_free(ptr >>> 0, 1));
|
|
1098
1022
|
export class WebWorkerTermination {
|
|
1099
1023
|
static __wrap(ptr) {
|
|
1100
1024
|
ptr = ptr >>> 0;
|
|
@@ -1144,6 +1068,53 @@ export class WebWorkerTermination {
|
|
|
1144
1068
|
}
|
|
1145
1069
|
if (Symbol.dispose)
|
|
1146
1070
|
WebWorkerTermination.prototype[Symbol.dispose] = WebWorkerTermination.prototype.free;
|
|
1071
|
+
/**
|
|
1072
|
+
* @param {string} filter
|
|
1073
|
+
*/
|
|
1074
|
+
export function initLogFilter(filter) {
|
|
1075
|
+
const ptr0 = passStringToWasm0(filter, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1076
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1077
|
+
wasm.initLogFilter(ptr0, len0);
|
|
1078
|
+
}
|
|
1079
|
+
export function init_pack() {
|
|
1080
|
+
wasm.init_pack();
|
|
1081
|
+
}
|
|
1082
|
+
/**
|
|
1083
|
+
* @param {number} worker_id
|
|
1084
|
+
* @returns {Promise<WasmTaskMessage>}
|
|
1085
|
+
*/
|
|
1086
|
+
export function recvTaskMessageInWorker(worker_id) {
|
|
1087
|
+
const ret = wasm.recvTaskMessageInWorker(worker_id);
|
|
1088
|
+
return takeObject(ret);
|
|
1089
|
+
}
|
|
1090
|
+
/**
|
|
1091
|
+
* @param {Function} creator
|
|
1092
|
+
* @param {Function} terminator
|
|
1093
|
+
*/
|
|
1094
|
+
export function registerWorkerScheduler(creator, terminator) {
|
|
1095
|
+
wasm.registerWorkerScheduler(addHeapObject(creator), addHeapObject(terminator));
|
|
1096
|
+
}
|
|
1097
|
+
/**
|
|
1098
|
+
* @param {any} message
|
|
1099
|
+
* @returns {Promise<void>}
|
|
1100
|
+
*/
|
|
1101
|
+
export function sendTaskMessage(message) {
|
|
1102
|
+
const ret = wasm.sendTaskMessage(addHeapObject(message));
|
|
1103
|
+
return takeObject(ret);
|
|
1104
|
+
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Entry point for web workers
|
|
1107
|
+
* @param {number} ptr
|
|
1108
|
+
*/
|
|
1109
|
+
export function wasm_thread_entry_point(ptr) {
|
|
1110
|
+
wasm.wasm_thread_entry_point(ptr);
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* @param {number} worker_id
|
|
1114
|
+
*/
|
|
1115
|
+
export function workerCreated(worker_id) {
|
|
1116
|
+
wasm.workerCreated(worker_id);
|
|
1117
|
+
}
|
|
1147
1118
|
const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
|
|
1148
1119
|
async function __wbg_load(module, imports) {
|
|
1149
1120
|
if (typeof Response === 'function' && module instanceof Response) {
|
|
@@ -1174,58 +1145,113 @@ async function __wbg_load(module, imports) {
|
|
|
1174
1145
|
}
|
|
1175
1146
|
}
|
|
1176
1147
|
}
|
|
1177
|
-
function __wbg_get_imports() {
|
|
1148
|
+
function __wbg_get_imports(memory) {
|
|
1178
1149
|
const imports = {};
|
|
1179
1150
|
imports.wbg = {};
|
|
1180
|
-
imports.wbg.
|
|
1151
|
+
imports.wbg.__wbg_Error_52673b7de5a0ca89 = function (arg0, arg1) {
|
|
1181
1152
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1182
1153
|
return addHeapObject(ret);
|
|
1183
1154
|
};
|
|
1184
1155
|
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function (arg0, arg1) {
|
|
1185
1156
|
const ret = String(getObject(arg1));
|
|
1186
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1157
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1158
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1159
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1160
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1161
|
+
};
|
|
1162
|
+
imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function (arg0, arg1) {
|
|
1163
|
+
const ret = debugString(getObject(arg1));
|
|
1164
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1187
1165
|
const len1 = WASM_VECTOR_LEN;
|
|
1188
1166
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1189
1167
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1190
1168
|
};
|
|
1191
|
-
imports.wbg.
|
|
1169
|
+
imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function (arg0) {
|
|
1170
|
+
const ret = typeof (getObject(arg0)) === 'function';
|
|
1171
|
+
return ret;
|
|
1172
|
+
};
|
|
1173
|
+
imports.wbg.__wbg___wbindgen_is_object_ce774f3490692386 = function (arg0) {
|
|
1174
|
+
const val = getObject(arg0);
|
|
1175
|
+
const ret = typeof (val) === 'object' && val !== null;
|
|
1176
|
+
return ret;
|
|
1177
|
+
};
|
|
1178
|
+
imports.wbg.__wbg___wbindgen_is_string_704ef9c8fc131030 = function (arg0) {
|
|
1179
|
+
const ret = typeof (getObject(arg0)) === 'string';
|
|
1180
|
+
return ret;
|
|
1181
|
+
};
|
|
1182
|
+
imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function (arg0) {
|
|
1183
|
+
const ret = getObject(arg0) === undefined;
|
|
1184
|
+
return ret;
|
|
1185
|
+
};
|
|
1186
|
+
imports.wbg.__wbg___wbindgen_memory_a342e963fbcabd68 = function () {
|
|
1187
|
+
const ret = wasm.memory;
|
|
1188
|
+
return addHeapObject(ret);
|
|
1189
|
+
};
|
|
1190
|
+
imports.wbg.__wbg___wbindgen_module_967adef62ea6cbf8 = function () {
|
|
1191
|
+
const ret = __wbg_init.__wbindgen_wasm_module;
|
|
1192
|
+
return addHeapObject(ret);
|
|
1193
|
+
};
|
|
1194
|
+
imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function (arg0, arg1) {
|
|
1195
|
+
const obj = getObject(arg1);
|
|
1196
|
+
const ret = typeof (obj) === 'number' ? obj : undefined;
|
|
1197
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1198
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1199
|
+
};
|
|
1200
|
+
imports.wbg.__wbg___wbindgen_rethrow_78714972834ecdf1 = function (arg0) {
|
|
1201
|
+
throw takeObject(arg0);
|
|
1202
|
+
};
|
|
1203
|
+
imports.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function (arg0, arg1) {
|
|
1204
|
+
const obj = getObject(arg1);
|
|
1205
|
+
const ret = typeof (obj) === 'string' ? obj : undefined;
|
|
1206
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1207
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1208
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1209
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1210
|
+
};
|
|
1211
|
+
imports.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function (arg0, arg1) {
|
|
1212
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1213
|
+
};
|
|
1214
|
+
imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function (arg0) {
|
|
1215
|
+
getObject(arg0)._wbg_cb_unref();
|
|
1216
|
+
};
|
|
1217
|
+
imports.wbg.__wbg_abort_07646c894ebbf2bd = function (arg0) {
|
|
1192
1218
|
getObject(arg0).abort();
|
|
1193
1219
|
};
|
|
1194
|
-
imports.wbg.
|
|
1220
|
+
imports.wbg.__wbg_abort_399ecbcfd6ef3c8e = function (arg0, arg1) {
|
|
1195
1221
|
getObject(arg0).abort(getObject(arg1));
|
|
1196
1222
|
};
|
|
1197
|
-
imports.wbg.
|
|
1223
|
+
imports.wbg.__wbg_append_c5cbdf46455cc776 = function () {
|
|
1198
1224
|
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1199
1225
|
getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1200
1226
|
}, arguments);
|
|
1201
1227
|
};
|
|
1202
|
-
imports.wbg.
|
|
1228
|
+
imports.wbg.__wbg_arrayBuffer_c04af4fce566092d = function () {
|
|
1203
1229
|
return handleError(function (arg0) {
|
|
1204
1230
|
const ret = getObject(arg0).arrayBuffer();
|
|
1205
1231
|
return addHeapObject(ret);
|
|
1206
1232
|
}, arguments);
|
|
1207
1233
|
};
|
|
1208
|
-
imports.wbg.
|
|
1234
|
+
imports.wbg.__wbg_async_bba5a2ac54b734df = function (arg0) {
|
|
1209
1235
|
const ret = getObject(arg0).async;
|
|
1210
1236
|
return ret;
|
|
1211
1237
|
};
|
|
1212
|
-
imports.wbg.
|
|
1238
|
+
imports.wbg.__wbg_buffer_063cd102cc769a1c = function (arg0) {
|
|
1213
1239
|
const ret = getObject(arg0).buffer;
|
|
1214
1240
|
return addHeapObject(ret);
|
|
1215
1241
|
};
|
|
1216
|
-
imports.wbg.
|
|
1217
|
-
return handleError(function (arg0, arg1) {
|
|
1218
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
1242
|
+
imports.wbg.__wbg_call_3020136f7a2d6e44 = function () {
|
|
1243
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
1244
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
1219
1245
|
return addHeapObject(ret);
|
|
1220
1246
|
}, arguments);
|
|
1221
1247
|
};
|
|
1222
|
-
imports.wbg.
|
|
1223
|
-
return handleError(function (arg0, arg1
|
|
1224
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
1248
|
+
imports.wbg.__wbg_call_abb4ff46ce38be40 = function () {
|
|
1249
|
+
return handleError(function (arg0, arg1) {
|
|
1250
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
1225
1251
|
return addHeapObject(ret);
|
|
1226
1252
|
}, arguments);
|
|
1227
1253
|
};
|
|
1228
|
-
imports.wbg.
|
|
1254
|
+
imports.wbg.__wbg_changedHandle_351098b912fb3009 = function (arg0) {
|
|
1229
1255
|
const ret = getObject(arg0).changedHandle;
|
|
1230
1256
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1231
1257
|
};
|
|
@@ -1233,13 +1259,13 @@ function __wbg_get_imports() {
|
|
|
1233
1259
|
const ret = clearTimeout(takeObject(arg0));
|
|
1234
1260
|
return addHeapObject(ret);
|
|
1235
1261
|
};
|
|
1236
|
-
imports.wbg.
|
|
1262
|
+
imports.wbg.__wbg_close_e350fad820f0e4f1 = function (arg0) {
|
|
1237
1263
|
getObject(arg0).close();
|
|
1238
1264
|
};
|
|
1239
|
-
imports.wbg.
|
|
1265
|
+
imports.wbg.__wbg_createObjectURL_7d9f7f8f41373850 = function () {
|
|
1240
1266
|
return handleError(function (arg0, arg1) {
|
|
1241
1267
|
const ret = URL.createObjectURL(getObject(arg1));
|
|
1242
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1268
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1243
1269
|
const len1 = WASM_VECTOR_LEN;
|
|
1244
1270
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1245
1271
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
@@ -1249,31 +1275,28 @@ function __wbg_get_imports() {
|
|
|
1249
1275
|
const ret = CreateSyncAccessHandleOptions.__wrap(arg0);
|
|
1250
1276
|
return addHeapObject(ret);
|
|
1251
1277
|
};
|
|
1252
|
-
imports.wbg.
|
|
1278
|
+
imports.wbg.__wbg_data_8bf4ae669a78a688 = function (arg0) {
|
|
1253
1279
|
const ret = getObject(arg0).data;
|
|
1254
1280
|
return addHeapObject(ret);
|
|
1255
1281
|
};
|
|
1256
|
-
imports.wbg.
|
|
1282
|
+
imports.wbg.__wbg_debug_9ad80675faf0c9cf = function (arg0, arg1, arg2, arg3) {
|
|
1257
1283
|
console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1258
1284
|
};
|
|
1259
|
-
imports.wbg.
|
|
1285
|
+
imports.wbg.__wbg_debug_9d0c87ddda3dc485 = function (arg0) {
|
|
1260
1286
|
console.debug(getObject(arg0));
|
|
1261
1287
|
};
|
|
1262
1288
|
imports.wbg.__wbg_direntry_new = function (arg0) {
|
|
1263
1289
|
const ret = DirEntry.__wrap(arg0);
|
|
1264
1290
|
return addHeapObject(ret);
|
|
1265
1291
|
};
|
|
1266
|
-
imports.wbg.
|
|
1292
|
+
imports.wbg.__wbg_done_62ea16af4ce34b24 = function (arg0) {
|
|
1267
1293
|
const ret = getObject(arg0).done;
|
|
1268
1294
|
return ret;
|
|
1269
1295
|
};
|
|
1270
|
-
imports.wbg.
|
|
1296
|
+
imports.wbg.__wbg_entries_7de5c9edd116e219 = function (arg0) {
|
|
1271
1297
|
const ret = getObject(arg0).entries();
|
|
1272
1298
|
return addHeapObject(ret);
|
|
1273
1299
|
};
|
|
1274
|
-
imports.wbg.__wbg_error_0889f151acea569e = function (arg0, arg1, arg2, arg3) {
|
|
1275
|
-
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1276
|
-
};
|
|
1277
1300
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
|
|
1278
1301
|
let deferred0_0;
|
|
1279
1302
|
let deferred0_1;
|
|
@@ -1283,13 +1306,16 @@ function __wbg_get_imports() {
|
|
|
1283
1306
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
1284
1307
|
}
|
|
1285
1308
|
finally {
|
|
1286
|
-
wasm.
|
|
1309
|
+
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
1287
1310
|
}
|
|
1288
1311
|
};
|
|
1289
|
-
imports.wbg.
|
|
1312
|
+
imports.wbg.__wbg_error_7bc7d576a6aaf855 = function (arg0) {
|
|
1290
1313
|
console.error(getObject(arg0));
|
|
1291
1314
|
};
|
|
1292
|
-
imports.wbg.
|
|
1315
|
+
imports.wbg.__wbg_error_ad1ecdacd1bb600d = function (arg0, arg1, arg2, arg3) {
|
|
1316
|
+
console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1317
|
+
};
|
|
1318
|
+
imports.wbg.__wbg_eval_aa18aa048f37d16d = function () {
|
|
1293
1319
|
return handleError(function (arg0, arg1) {
|
|
1294
1320
|
const ret = eval(getStringFromWasm0(arg0, arg1));
|
|
1295
1321
|
return addHeapObject(ret);
|
|
@@ -1299,28 +1325,28 @@ function __wbg_get_imports() {
|
|
|
1299
1325
|
const ret = fetch(getObject(arg0));
|
|
1300
1326
|
return addHeapObject(ret);
|
|
1301
1327
|
};
|
|
1302
|
-
imports.wbg.
|
|
1328
|
+
imports.wbg.__wbg_fetch_90447c28cc0b095e = function (arg0, arg1) {
|
|
1303
1329
|
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
1304
1330
|
return addHeapObject(ret);
|
|
1305
1331
|
};
|
|
1306
|
-
imports.wbg.
|
|
1332
|
+
imports.wbg.__wbg_flush_554f5177ae6f76cb = function () {
|
|
1307
1333
|
return handleError(function (arg0) {
|
|
1308
1334
|
getObject(arg0).flush();
|
|
1309
1335
|
}, arguments);
|
|
1310
1336
|
};
|
|
1311
|
-
imports.wbg.
|
|
1337
|
+
imports.wbg.__wbg_from_29a8414a7a7cd19d = function (arg0) {
|
|
1312
1338
|
const ret = Array.from(getObject(arg0));
|
|
1313
1339
|
return addHeapObject(ret);
|
|
1314
1340
|
};
|
|
1315
|
-
imports.wbg.
|
|
1341
|
+
imports.wbg.__wbg_getDirectoryHandle_edea923e1d89a19d = function (arg0, arg1, arg2, arg3) {
|
|
1316
1342
|
const ret = getObject(arg0).getDirectoryHandle(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
1317
1343
|
return addHeapObject(ret);
|
|
1318
1344
|
};
|
|
1319
|
-
imports.wbg.
|
|
1345
|
+
imports.wbg.__wbg_getDirectory_9beed6c83b6861f5 = function (arg0) {
|
|
1320
1346
|
const ret = getObject(arg0).getDirectory();
|
|
1321
1347
|
return addHeapObject(ret);
|
|
1322
1348
|
};
|
|
1323
|
-
imports.wbg.
|
|
1349
|
+
imports.wbg.__wbg_getFileHandle_298ee7a4e5a85f84 = function (arg0, arg1, arg2, arg3) {
|
|
1324
1350
|
const ret = getObject(arg0).getFileHandle(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
1325
1351
|
return addHeapObject(ret);
|
|
1326
1352
|
};
|
|
@@ -1329,39 +1355,39 @@ function __wbg_get_imports() {
|
|
|
1329
1355
|
globalThis.crypto.getRandomValues(getObject(arg0));
|
|
1330
1356
|
}, arguments);
|
|
1331
1357
|
};
|
|
1332
|
-
imports.wbg.
|
|
1358
|
+
imports.wbg.__wbg_getSize_1bf196c4094d8f7b = function () {
|
|
1333
1359
|
return handleError(function (arg0) {
|
|
1334
1360
|
const ret = getObject(arg0).getSize();
|
|
1335
1361
|
return ret;
|
|
1336
1362
|
}, arguments);
|
|
1337
1363
|
};
|
|
1338
|
-
imports.wbg.
|
|
1364
|
+
imports.wbg.__wbg_get_6b7bd52aca3f9671 = function (arg0, arg1) {
|
|
1339
1365
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
1340
1366
|
return addHeapObject(ret);
|
|
1341
1367
|
};
|
|
1342
|
-
imports.wbg.
|
|
1368
|
+
imports.wbg.__wbg_get_af9dab7e9603ea93 = function () {
|
|
1343
1369
|
return handleError(function (arg0, arg1) {
|
|
1344
1370
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
1345
1371
|
return addHeapObject(ret);
|
|
1346
1372
|
}, arguments);
|
|
1347
1373
|
};
|
|
1348
|
-
imports.wbg.
|
|
1374
|
+
imports.wbg.__wbg_has_0e670569d65d3a45 = function () {
|
|
1349
1375
|
return handleError(function (arg0, arg1) {
|
|
1350
1376
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
1351
1377
|
return ret;
|
|
1352
1378
|
}, arguments);
|
|
1353
1379
|
};
|
|
1354
|
-
imports.wbg.
|
|
1380
|
+
imports.wbg.__wbg_headers_654c30e1bcccc552 = function (arg0) {
|
|
1355
1381
|
const ret = getObject(arg0).headers;
|
|
1356
1382
|
return addHeapObject(ret);
|
|
1357
1383
|
};
|
|
1358
|
-
imports.wbg.
|
|
1384
|
+
imports.wbg.__wbg_info_b7fa8ce2e59d29c6 = function (arg0, arg1, arg2, arg3) {
|
|
1359
1385
|
console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1360
1386
|
};
|
|
1361
|
-
imports.wbg.
|
|
1387
|
+
imports.wbg.__wbg_info_ce6bcc489c22f6f0 = function (arg0) {
|
|
1362
1388
|
console.info(getObject(arg0));
|
|
1363
1389
|
};
|
|
1364
|
-
imports.wbg.
|
|
1390
|
+
imports.wbg.__wbg_instanceof_DedicatedWorkerGlobalScope_1fad9829936e95d2 = function (arg0) {
|
|
1365
1391
|
let result;
|
|
1366
1392
|
try {
|
|
1367
1393
|
result = getObject(arg0) instanceof DedicatedWorkerGlobalScope;
|
|
@@ -1372,7 +1398,7 @@ function __wbg_get_imports() {
|
|
|
1372
1398
|
const ret = result;
|
|
1373
1399
|
return ret;
|
|
1374
1400
|
};
|
|
1375
|
-
imports.wbg.
|
|
1401
|
+
imports.wbg.__wbg_instanceof_DomException_d430cd4fb5284a83 = function (arg0) {
|
|
1376
1402
|
let result;
|
|
1377
1403
|
try {
|
|
1378
1404
|
result = getObject(arg0) instanceof DOMException;
|
|
@@ -1383,7 +1409,7 @@ function __wbg_get_imports() {
|
|
|
1383
1409
|
const ret = result;
|
|
1384
1410
|
return ret;
|
|
1385
1411
|
};
|
|
1386
|
-
imports.wbg.
|
|
1412
|
+
imports.wbg.__wbg_instanceof_FileSystemDirectoryHandle_264085cadc86679a = function (arg0) {
|
|
1387
1413
|
let result;
|
|
1388
1414
|
try {
|
|
1389
1415
|
result = getObject(arg0) instanceof FileSystemDirectoryHandle;
|
|
@@ -1394,7 +1420,7 @@ function __wbg_get_imports() {
|
|
|
1394
1420
|
const ret = result;
|
|
1395
1421
|
return ret;
|
|
1396
1422
|
};
|
|
1397
|
-
imports.wbg.
|
|
1423
|
+
imports.wbg.__wbg_instanceof_Response_cd74d1c2ac92cb0b = function (arg0) {
|
|
1398
1424
|
let result;
|
|
1399
1425
|
try {
|
|
1400
1426
|
result = getObject(arg0) instanceof Response;
|
|
@@ -1405,7 +1431,7 @@ function __wbg_get_imports() {
|
|
|
1405
1431
|
const ret = result;
|
|
1406
1432
|
return ret;
|
|
1407
1433
|
};
|
|
1408
|
-
imports.wbg.
|
|
1434
|
+
imports.wbg.__wbg_instanceof_Uint8Array_da54ccc9d3e09434 = function (arg0) {
|
|
1409
1435
|
let result;
|
|
1410
1436
|
try {
|
|
1411
1437
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -1416,23 +1442,23 @@ function __wbg_get_imports() {
|
|
|
1416
1442
|
const ret = result;
|
|
1417
1443
|
return ret;
|
|
1418
1444
|
};
|
|
1419
|
-
imports.wbg.
|
|
1445
|
+
imports.wbg.__wbg_isArray_51fd9e6422c0a395 = function (arg0) {
|
|
1420
1446
|
const ret = Array.isArray(getObject(arg0));
|
|
1421
1447
|
return ret;
|
|
1422
1448
|
};
|
|
1423
|
-
imports.wbg.
|
|
1449
|
+
imports.wbg.__wbg_iterator_27b7c8b35ab3e86b = function () {
|
|
1424
1450
|
const ret = Symbol.iterator;
|
|
1425
1451
|
return addHeapObject(ret);
|
|
1426
1452
|
};
|
|
1427
|
-
imports.wbg.
|
|
1453
|
+
imports.wbg.__wbg_kind_537a771004f87998 = function (arg0) {
|
|
1428
1454
|
const ret = getObject(arg0).kind;
|
|
1429
1455
|
return (__wbindgen_enum_FileSystemHandleKind.indexOf(ret) + 1 || 3) - 1;
|
|
1430
1456
|
};
|
|
1431
|
-
imports.wbg.
|
|
1457
|
+
imports.wbg.__wbg_length_22ac23eaec9d8053 = function (arg0) {
|
|
1432
1458
|
const ret = getObject(arg0).length;
|
|
1433
1459
|
return ret;
|
|
1434
1460
|
};
|
|
1435
|
-
imports.wbg.
|
|
1461
|
+
imports.wbg.__wbg_length_d45040a40c570362 = function (arg0) {
|
|
1436
1462
|
const ret = getObject(arg0).length;
|
|
1437
1463
|
return ret;
|
|
1438
1464
|
};
|
|
@@ -1440,58 +1466,42 @@ function __wbg_get_imports() {
|
|
|
1440
1466
|
const ret = Metadata.__wrap(arg0);
|
|
1441
1467
|
return addHeapObject(ret);
|
|
1442
1468
|
};
|
|
1443
|
-
imports.wbg.
|
|
1469
|
+
imports.wbg.__wbg_name_9136863a055402ff = function (arg0, arg1) {
|
|
1444
1470
|
const ret = getObject(arg1).name;
|
|
1445
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1471
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1446
1472
|
const len1 = WASM_VECTOR_LEN;
|
|
1447
1473
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1448
1474
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1449
1475
|
};
|
|
1450
|
-
imports.wbg.
|
|
1476
|
+
imports.wbg.__wbg_navigator_11b7299bb7886507 = function (arg0) {
|
|
1451
1477
|
const ret = getObject(arg0).navigator;
|
|
1452
1478
|
return addHeapObject(ret);
|
|
1453
1479
|
};
|
|
1454
|
-
imports.wbg.
|
|
1480
|
+
imports.wbg.__wbg_new_1ba21ce319a06297 = function () {
|
|
1455
1481
|
const ret = new Object();
|
|
1456
1482
|
return addHeapObject(ret);
|
|
1457
1483
|
};
|
|
1458
|
-
imports.wbg.
|
|
1484
|
+
imports.wbg.__wbg_new_25f239778d6112b9 = function () {
|
|
1459
1485
|
const ret = new Array();
|
|
1460
1486
|
return addHeapObject(ret);
|
|
1461
1487
|
};
|
|
1462
|
-
imports.wbg.
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
};
|
|
1466
|
-
imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function (arg0, arg1) {
|
|
1467
|
-
try {
|
|
1468
|
-
var state0 = { a: arg0, b: arg1 };
|
|
1469
|
-
var cb0 = (arg0, arg1) => {
|
|
1470
|
-
const a = state0.a;
|
|
1471
|
-
state0.a = 0;
|
|
1472
|
-
try {
|
|
1473
|
-
return __wbg_adapter_90(a, state0.b, arg0, arg1);
|
|
1474
|
-
}
|
|
1475
|
-
finally {
|
|
1476
|
-
state0.a = a;
|
|
1477
|
-
}
|
|
1478
|
-
};
|
|
1479
|
-
const ret = new Promise(cb0);
|
|
1488
|
+
imports.wbg.__wbg_new_3c79b3bb1b32b7d3 = function () {
|
|
1489
|
+
return handleError(function () {
|
|
1490
|
+
const ret = new Headers();
|
|
1480
1491
|
return addHeapObject(ret);
|
|
1481
|
-
}
|
|
1482
|
-
finally {
|
|
1483
|
-
state0.a = state0.b = 0;
|
|
1484
|
-
}
|
|
1492
|
+
}, arguments);
|
|
1485
1493
|
};
|
|
1486
|
-
imports.wbg.
|
|
1487
|
-
|
|
1488
|
-
|
|
1494
|
+
imports.wbg.__wbg_new_53cb1e86c1ef5d2a = function () {
|
|
1495
|
+
return handleError(function (arg0, arg1) {
|
|
1496
|
+
const ret = new Worker(getStringFromWasm0(arg0, arg1));
|
|
1497
|
+
return addHeapObject(ret);
|
|
1498
|
+
}, arguments);
|
|
1489
1499
|
};
|
|
1490
|
-
imports.wbg.
|
|
1500
|
+
imports.wbg.__wbg_new_6421f6084cc5bc5a = function (arg0) {
|
|
1491
1501
|
const ret = new Uint8Array(getObject(arg0));
|
|
1492
1502
|
return addHeapObject(ret);
|
|
1493
1503
|
};
|
|
1494
|
-
imports.wbg.
|
|
1504
|
+
imports.wbg.__wbg_new_881a222c65f168fc = function () {
|
|
1495
1505
|
return handleError(function () {
|
|
1496
1506
|
const ret = new AbortController();
|
|
1497
1507
|
return addHeapObject(ret);
|
|
@@ -1501,63 +1511,79 @@ function __wbg_get_imports() {
|
|
|
1501
1511
|
const ret = new Error();
|
|
1502
1512
|
return addHeapObject(ret);
|
|
1503
1513
|
};
|
|
1504
|
-
imports.wbg.
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
return addHeapObject(ret);
|
|
1508
|
-
}, arguments);
|
|
1514
|
+
imports.wbg.__wbg_new_b546ae120718850e = function () {
|
|
1515
|
+
const ret = new Map();
|
|
1516
|
+
return addHeapObject(ret);
|
|
1509
1517
|
};
|
|
1510
|
-
imports.wbg.
|
|
1518
|
+
imports.wbg.__wbg_new_c9c263f8e50c1faf = function (arg0) {
|
|
1511
1519
|
const ret = new FileSystemObserver(getObject(arg0));
|
|
1512
1520
|
return addHeapObject(ret);
|
|
1513
1521
|
};
|
|
1514
|
-
imports.wbg.
|
|
1515
|
-
|
|
1516
|
-
|
|
1522
|
+
imports.wbg.__wbg_new_de1e660b88fc921f = function (arg0) {
|
|
1523
|
+
const ret = new Int32Array(getObject(arg0));
|
|
1524
|
+
return addHeapObject(ret);
|
|
1525
|
+
};
|
|
1526
|
+
imports.wbg.__wbg_new_ff12d2b041fb48f1 = function (arg0, arg1) {
|
|
1527
|
+
try {
|
|
1528
|
+
var state0 = { a: arg0, b: arg1 };
|
|
1529
|
+
var cb0 = (arg0, arg1) => {
|
|
1530
|
+
const a = state0.a;
|
|
1531
|
+
state0.a = 0;
|
|
1532
|
+
try {
|
|
1533
|
+
return __wasm_bindgen_func_elem_3390(a, state0.b, arg0, arg1);
|
|
1534
|
+
}
|
|
1535
|
+
finally {
|
|
1536
|
+
state0.a = a;
|
|
1537
|
+
}
|
|
1538
|
+
};
|
|
1539
|
+
const ret = new Promise(cb0);
|
|
1517
1540
|
return addHeapObject(ret);
|
|
1518
|
-
}
|
|
1541
|
+
}
|
|
1542
|
+
finally {
|
|
1543
|
+
state0.a = state0.b = 0;
|
|
1544
|
+
}
|
|
1519
1545
|
};
|
|
1520
|
-
imports.wbg.
|
|
1546
|
+
imports.wbg.__wbg_new_from_slice_f9c22b9153b26992 = function (arg0, arg1) {
|
|
1521
1547
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1522
1548
|
return addHeapObject(ret);
|
|
1523
1549
|
};
|
|
1524
|
-
imports.wbg.
|
|
1550
|
+
imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function (arg0, arg1) {
|
|
1525
1551
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1526
1552
|
return addHeapObject(ret);
|
|
1527
1553
|
};
|
|
1528
|
-
imports.wbg.
|
|
1554
|
+
imports.wbg.__wbg_new_with_length_aa5eaf41d35235e5 = function (arg0) {
|
|
1529
1555
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1530
1556
|
return addHeapObject(ret);
|
|
1531
1557
|
};
|
|
1532
|
-
imports.wbg.
|
|
1558
|
+
imports.wbg.__wbg_new_with_options_2978557c2c268ef3 = function () {
|
|
1533
1559
|
return handleError(function (arg0, arg1, arg2) {
|
|
1534
1560
|
const ret = new Worker(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
1535
1561
|
return addHeapObject(ret);
|
|
1536
1562
|
}, arguments);
|
|
1537
1563
|
};
|
|
1538
|
-
imports.wbg.
|
|
1564
|
+
imports.wbg.__wbg_new_with_str_and_init_c5748f76f5108934 = function () {
|
|
1539
1565
|
return handleError(function (arg0, arg1, arg2) {
|
|
1540
1566
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
1541
1567
|
return addHeapObject(ret);
|
|
1542
1568
|
}, arguments);
|
|
1543
1569
|
};
|
|
1544
|
-
imports.wbg.
|
|
1570
|
+
imports.wbg.__wbg_new_with_str_sequence_d016b9add23bf7ce = function () {
|
|
1545
1571
|
return handleError(function (arg0) {
|
|
1546
1572
|
const ret = new Blob(getObject(arg0));
|
|
1547
1573
|
return addHeapObject(ret);
|
|
1548
1574
|
}, arguments);
|
|
1549
1575
|
};
|
|
1550
|
-
imports.wbg.
|
|
1576
|
+
imports.wbg.__wbg_next_138a17bbf04e926c = function (arg0) {
|
|
1577
|
+
const ret = getObject(arg0).next;
|
|
1578
|
+
return addHeapObject(ret);
|
|
1579
|
+
};
|
|
1580
|
+
imports.wbg.__wbg_next_3cfe5c0fe2a4cc53 = function () {
|
|
1551
1581
|
return handleError(function (arg0) {
|
|
1552
1582
|
const ret = getObject(arg0).next();
|
|
1553
1583
|
return addHeapObject(ret);
|
|
1554
1584
|
}, arguments);
|
|
1555
1585
|
};
|
|
1556
|
-
imports.wbg.
|
|
1557
|
-
const ret = getObject(arg0).next;
|
|
1558
|
-
return addHeapObject(ret);
|
|
1559
|
-
};
|
|
1560
|
-
imports.wbg.__wbg_next_692e82279131b03c = function () {
|
|
1586
|
+
imports.wbg.__wbg_next_b34c09a202bf4424 = function () {
|
|
1561
1587
|
return handleError(function (arg0) {
|
|
1562
1588
|
const ret = getObject(arg0).next();
|
|
1563
1589
|
return addHeapObject(ret);
|
|
@@ -1567,15 +1593,15 @@ function __wbg_get_imports() {
|
|
|
1567
1593
|
const ret = getObject(arg0).now();
|
|
1568
1594
|
return ret;
|
|
1569
1595
|
};
|
|
1570
|
-
imports.wbg.
|
|
1596
|
+
imports.wbg.__wbg_now_69d776cd24f5215b = function () {
|
|
1571
1597
|
const ret = Date.now();
|
|
1572
1598
|
return ret;
|
|
1573
1599
|
};
|
|
1574
|
-
imports.wbg.
|
|
1600
|
+
imports.wbg.__wbg_observe_ebe4ca8634f9653e = function (arg0, arg1, arg2) {
|
|
1575
1601
|
const ret = getObject(arg0).observe(getObject(arg1), getObject(arg2));
|
|
1576
1602
|
return addHeapObject(ret);
|
|
1577
1603
|
};
|
|
1578
|
-
imports.wbg.
|
|
1604
|
+
imports.wbg.__wbg_of_7779827fa663eec8 = function (arg0, arg1, arg2) {
|
|
1579
1605
|
const ret = Array.of(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
1580
1606
|
return addHeapObject(ret);
|
|
1581
1607
|
};
|
|
@@ -1583,55 +1609,55 @@ function __wbg_get_imports() {
|
|
|
1583
1609
|
const ret = getObject(arg0).performance;
|
|
1584
1610
|
return addHeapObject(ret);
|
|
1585
1611
|
};
|
|
1586
|
-
imports.wbg.
|
|
1612
|
+
imports.wbg.__wbg_postMessage_07504dbe15265d5c = function () {
|
|
1587
1613
|
return handleError(function (arg0, arg1) {
|
|
1588
1614
|
getObject(arg0).postMessage(getObject(arg1));
|
|
1589
1615
|
}, arguments);
|
|
1590
1616
|
};
|
|
1591
|
-
imports.wbg.
|
|
1617
|
+
imports.wbg.__wbg_postMessage_7243f814e0cfb266 = function () {
|
|
1592
1618
|
return handleError(function (arg0, arg1) {
|
|
1593
1619
|
getObject(arg0).postMessage(getObject(arg1));
|
|
1594
1620
|
}, arguments);
|
|
1595
1621
|
};
|
|
1596
|
-
imports.wbg.
|
|
1622
|
+
imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function (arg0, arg1, arg2) {
|
|
1597
1623
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
1598
1624
|
};
|
|
1599
|
-
imports.wbg.
|
|
1625
|
+
imports.wbg.__wbg_push_7d9be8f38fc13975 = function (arg0, arg1) {
|
|
1600
1626
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
1601
1627
|
return ret;
|
|
1602
1628
|
};
|
|
1603
|
-
imports.wbg.
|
|
1604
|
-
queueMicrotask(getObject(arg0));
|
|
1605
|
-
};
|
|
1606
|
-
imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function (arg0) {
|
|
1629
|
+
imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function (arg0) {
|
|
1607
1630
|
const ret = getObject(arg0).queueMicrotask;
|
|
1608
1631
|
return addHeapObject(ret);
|
|
1609
1632
|
};
|
|
1610
|
-
imports.wbg.
|
|
1633
|
+
imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function (arg0) {
|
|
1634
|
+
queueMicrotask(getObject(arg0));
|
|
1635
|
+
};
|
|
1636
|
+
imports.wbg.__wbg_random_cc1f9237d866d212 = function () {
|
|
1611
1637
|
const ret = Math.random();
|
|
1612
1638
|
return ret;
|
|
1613
1639
|
};
|
|
1614
|
-
imports.wbg.
|
|
1640
|
+
imports.wbg.__wbg_read_0063be96fda4ddbb = function () {
|
|
1615
1641
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1616
1642
|
const ret = getObject(arg0).read(getArrayU8FromWasm0(arg1, arg2), getObject(arg3));
|
|
1617
1643
|
return ret;
|
|
1618
1644
|
}, arguments);
|
|
1619
1645
|
};
|
|
1620
|
-
imports.wbg.
|
|
1646
|
+
imports.wbg.__wbg_read_f7fc3494244667a2 = function () {
|
|
1621
1647
|
return handleError(function (arg0, arg1, arg2) {
|
|
1622
1648
|
const ret = getObject(arg0).read(getArrayU8FromWasm0(arg1, arg2));
|
|
1623
1649
|
return ret;
|
|
1624
1650
|
}, arguments);
|
|
1625
1651
|
};
|
|
1626
|
-
imports.wbg.
|
|
1652
|
+
imports.wbg.__wbg_relativePathComponents_84b0ffdf8a944179 = function (arg0) {
|
|
1627
1653
|
const ret = getObject(arg0).relativePathComponents;
|
|
1628
1654
|
return addHeapObject(ret);
|
|
1629
1655
|
};
|
|
1630
|
-
imports.wbg.
|
|
1656
|
+
imports.wbg.__wbg_removeEntry_e055e728cc398139 = function (arg0, arg1, arg2, arg3) {
|
|
1631
1657
|
const ret = getObject(arg0).removeEntry(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
1632
1658
|
return addHeapObject(ret);
|
|
1633
1659
|
};
|
|
1634
|
-
imports.wbg.
|
|
1660
|
+
imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function (arg0) {
|
|
1635
1661
|
const ret = Promise.resolve(getObject(arg0));
|
|
1636
1662
|
return addHeapObject(ret);
|
|
1637
1663
|
};
|
|
@@ -1648,67 +1674,67 @@ function __wbg_get_imports() {
|
|
|
1648
1674
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
1649
1675
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
1650
1676
|
};
|
|
1651
|
-
imports.wbg.
|
|
1677
|
+
imports.wbg.__wbg_set_7df433eea03a5c14 = function (arg0, arg1, arg2) {
|
|
1652
1678
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
1653
1679
|
};
|
|
1654
|
-
imports.wbg.
|
|
1655
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
1656
|
-
return addHeapObject(ret);
|
|
1657
|
-
};
|
|
1658
|
-
imports.wbg.__wbg_setat_f8fc70f546036b10 = function (arg0, arg1) {
|
|
1680
|
+
imports.wbg.__wbg_set_at_8ed309b95b9da8e8 = function (arg0, arg1) {
|
|
1659
1681
|
getObject(arg0).at = arg1;
|
|
1660
1682
|
};
|
|
1661
|
-
imports.wbg.
|
|
1683
|
+
imports.wbg.__wbg_set_body_8e743242d6076a4f = function (arg0, arg1) {
|
|
1662
1684
|
getObject(arg0).body = getObject(arg1);
|
|
1663
1685
|
};
|
|
1664
|
-
imports.wbg.
|
|
1686
|
+
imports.wbg.__wbg_set_cache_0e437c7c8e838b9b = function (arg0, arg1) {
|
|
1665
1687
|
getObject(arg0).cache = __wbindgen_enum_RequestCache[arg1];
|
|
1666
1688
|
};
|
|
1667
|
-
imports.wbg.
|
|
1689
|
+
imports.wbg.__wbg_set_create_a7fa115dfd714480 = function (arg0, arg1) {
|
|
1668
1690
|
getObject(arg0).create = arg1 !== 0;
|
|
1669
1691
|
};
|
|
1670
|
-
imports.wbg.
|
|
1692
|
+
imports.wbg.__wbg_set_create_c87a4965b38c1564 = function (arg0, arg1) {
|
|
1671
1693
|
getObject(arg0).create = arg1 !== 0;
|
|
1672
1694
|
};
|
|
1673
|
-
imports.wbg.
|
|
1695
|
+
imports.wbg.__wbg_set_credentials_55ae7c3c106fd5be = function (arg0, arg1) {
|
|
1674
1696
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1675
1697
|
};
|
|
1676
|
-
imports.wbg.
|
|
1698
|
+
imports.wbg.__wbg_set_efaaf145b9377369 = function (arg0, arg1, arg2) {
|
|
1699
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
1700
|
+
return addHeapObject(ret);
|
|
1701
|
+
};
|
|
1702
|
+
imports.wbg.__wbg_set_headers_5671cf088e114d2b = function (arg0, arg1) {
|
|
1677
1703
|
getObject(arg0).headers = getObject(arg1);
|
|
1678
1704
|
};
|
|
1679
|
-
imports.wbg.
|
|
1705
|
+
imports.wbg.__wbg_set_method_76c69e41b3570627 = function (arg0, arg1, arg2) {
|
|
1680
1706
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
1681
1707
|
};
|
|
1682
|
-
imports.wbg.
|
|
1708
|
+
imports.wbg.__wbg_set_mode_611016a6818fc690 = function (arg0, arg1) {
|
|
1683
1709
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
1684
1710
|
};
|
|
1685
|
-
imports.wbg.
|
|
1711
|
+
imports.wbg.__wbg_set_name_5399dd71553bb72d = function (arg0, arg1, arg2) {
|
|
1686
1712
|
getObject(arg0).name = getStringFromWasm0(arg1, arg2);
|
|
1687
1713
|
};
|
|
1688
|
-
imports.wbg.
|
|
1714
|
+
imports.wbg.__wbg_set_onmessage_deb94985de696ac7 = function (arg0, arg1) {
|
|
1689
1715
|
getObject(arg0).onmessage = getObject(arg1);
|
|
1690
1716
|
};
|
|
1691
|
-
imports.wbg.
|
|
1717
|
+
imports.wbg.__wbg_set_recursive_5a8f2fa22a1d9d48 = function (arg0, arg1) {
|
|
1692
1718
|
getObject(arg0).recursive = arg1 !== 0;
|
|
1693
1719
|
};
|
|
1694
|
-
imports.wbg.
|
|
1720
|
+
imports.wbg.__wbg_set_recursive_7ac0b14755335bfb = function (arg0, arg1) {
|
|
1695
1721
|
getObject(arg0).recursive = arg1 !== 0;
|
|
1696
1722
|
};
|
|
1697
|
-
imports.wbg.
|
|
1723
|
+
imports.wbg.__wbg_set_signal_e89be862d0091009 = function (arg0, arg1) {
|
|
1698
1724
|
getObject(arg0).signal = getObject(arg1);
|
|
1699
1725
|
};
|
|
1700
|
-
imports.wbg.
|
|
1726
|
+
imports.wbg.__wbg_set_type_c2eb2929316959f4 = function (arg0, arg1) {
|
|
1701
1727
|
getObject(arg0).type = __wbindgen_enum_WorkerType[arg1];
|
|
1702
1728
|
};
|
|
1703
|
-
imports.wbg.
|
|
1729
|
+
imports.wbg.__wbg_signal_3c14fbdc89694b39 = function (arg0) {
|
|
1704
1730
|
const ret = getObject(arg0).signal;
|
|
1705
1731
|
return addHeapObject(ret);
|
|
1706
1732
|
};
|
|
1707
|
-
imports.wbg.
|
|
1733
|
+
imports.wbg.__wbg_size_82fbdb656de23326 = function (arg0) {
|
|
1708
1734
|
const ret = getObject(arg0).size;
|
|
1709
1735
|
return ret;
|
|
1710
1736
|
};
|
|
1711
|
-
imports.wbg.
|
|
1737
|
+
imports.wbg.__wbg_slice_f3670679f8730340 = function () {
|
|
1712
1738
|
return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1713
1739
|
const ret = getObject(arg0).slice(arg1, arg2, getStringFromWasm0(arg3, arg4));
|
|
1714
1740
|
return addHeapObject(ret);
|
|
@@ -1716,160 +1742,99 @@ function __wbg_get_imports() {
|
|
|
1716
1742
|
};
|
|
1717
1743
|
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function (arg0, arg1) {
|
|
1718
1744
|
const ret = getObject(arg1).stack;
|
|
1719
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1745
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1720
1746
|
const len1 = WASM_VECTOR_LEN;
|
|
1721
1747
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1722
1748
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1723
1749
|
};
|
|
1724
|
-
imports.wbg.
|
|
1750
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function () {
|
|
1725
1751
|
const ret = typeof global === 'undefined' ? null : global;
|
|
1726
1752
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1727
1753
|
};
|
|
1728
|
-
imports.wbg.
|
|
1754
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function () {
|
|
1729
1755
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1730
1756
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1731
1757
|
};
|
|
1732
|
-
imports.wbg.
|
|
1758
|
+
imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function () {
|
|
1733
1759
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1734
1760
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1735
1761
|
};
|
|
1736
|
-
imports.wbg.
|
|
1762
|
+
imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function () {
|
|
1737
1763
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1738
1764
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1739
1765
|
};
|
|
1740
|
-
imports.wbg.
|
|
1766
|
+
imports.wbg.__wbg_status_9bfc680efca4bdfd = function (arg0) {
|
|
1741
1767
|
const ret = getObject(arg0).status;
|
|
1742
1768
|
return ret;
|
|
1743
1769
|
};
|
|
1744
|
-
imports.wbg.
|
|
1770
|
+
imports.wbg.__wbg_storage_7db24ea4f9f4aa79 = function (arg0) {
|
|
1745
1771
|
const ret = getObject(arg0).storage;
|
|
1746
1772
|
return addHeapObject(ret);
|
|
1747
1773
|
};
|
|
1748
|
-
imports.wbg.
|
|
1774
|
+
imports.wbg.__wbg_stringify_655a6390e1f5eb6b = function () {
|
|
1749
1775
|
return handleError(function (arg0) {
|
|
1750
1776
|
const ret = JSON.stringify(getObject(arg0));
|
|
1751
1777
|
return addHeapObject(ret);
|
|
1752
1778
|
}, arguments);
|
|
1753
1779
|
};
|
|
1754
|
-
imports.wbg.
|
|
1780
|
+
imports.wbg.__wbg_subarray_845f2f5bce7d061a = function (arg0, arg1, arg2) {
|
|
1755
1781
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1756
1782
|
return addHeapObject(ret);
|
|
1757
1783
|
};
|
|
1758
|
-
imports.wbg.
|
|
1784
|
+
imports.wbg.__wbg_then_429f7caf1026411d = function (arg0, arg1, arg2) {
|
|
1759
1785
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
1760
1786
|
return addHeapObject(ret);
|
|
1761
1787
|
};
|
|
1762
|
-
imports.wbg.
|
|
1788
|
+
imports.wbg.__wbg_then_4f95312d68691235 = function (arg0, arg1) {
|
|
1763
1789
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
1764
1790
|
return addHeapObject(ret);
|
|
1765
1791
|
};
|
|
1766
|
-
imports.wbg.
|
|
1792
|
+
imports.wbg.__wbg_toString_f07112df359c997f = function (arg0) {
|
|
1767
1793
|
const ret = getObject(arg0).toString();
|
|
1768
1794
|
return addHeapObject(ret);
|
|
1769
1795
|
};
|
|
1770
|
-
imports.wbg.
|
|
1796
|
+
imports.wbg.__wbg_truncate_9e72c83b9fc1d156 = function () {
|
|
1771
1797
|
return handleError(function (arg0, arg1) {
|
|
1772
1798
|
getObject(arg0).truncate(arg1 >>> 0);
|
|
1773
1799
|
}, arguments);
|
|
1774
1800
|
};
|
|
1775
|
-
imports.wbg.
|
|
1801
|
+
imports.wbg.__wbg_type_7927e500427dce19 = function (arg0) {
|
|
1776
1802
|
const ret = getObject(arg0).type;
|
|
1777
1803
|
return (__wbindgen_enum_FileSystemChangeRecordType.indexOf(ret) + 1 || 7) - 1;
|
|
1778
1804
|
};
|
|
1779
|
-
imports.wbg.
|
|
1805
|
+
imports.wbg.__wbg_url_b6d11838a4f95198 = function (arg0, arg1) {
|
|
1780
1806
|
const ret = getObject(arg1).url;
|
|
1781
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1807
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1782
1808
|
const len1 = WASM_VECTOR_LEN;
|
|
1783
1809
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1784
1810
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1785
1811
|
};
|
|
1786
|
-
imports.wbg.
|
|
1812
|
+
imports.wbg.__wbg_value_4cd497eeadba94bd = function (arg0) {
|
|
1787
1813
|
const ret = getObject(arg0).value;
|
|
1788
1814
|
return addHeapObject(ret);
|
|
1789
1815
|
};
|
|
1790
|
-
imports.wbg.
|
|
1816
|
+
imports.wbg.__wbg_value_57b7b035e117f7ee = function (arg0) {
|
|
1791
1817
|
const ret = getObject(arg0).value;
|
|
1792
1818
|
return addHeapObject(ret);
|
|
1793
1819
|
};
|
|
1794
|
-
imports.wbg.
|
|
1795
|
-
const ret = Atomics.waitAsync;
|
|
1820
|
+
imports.wbg.__wbg_waitAsync_8afec80ffd213eca = function (arg0, arg1, arg2) {
|
|
1821
|
+
const ret = Atomics.waitAsync(getObject(arg0), arg1 >>> 0, arg2);
|
|
1796
1822
|
return addHeapObject(ret);
|
|
1797
1823
|
};
|
|
1798
|
-
imports.wbg.
|
|
1799
|
-
const ret = Atomics.waitAsync
|
|
1824
|
+
imports.wbg.__wbg_waitAsync_c186cb97ffacd552 = function () {
|
|
1825
|
+
const ret = Atomics.waitAsync;
|
|
1800
1826
|
return addHeapObject(ret);
|
|
1801
1827
|
};
|
|
1802
|
-
imports.wbg.
|
|
1828
|
+
imports.wbg.__wbg_warn_165ef4f6bcfc05e7 = function (arg0, arg1, arg2, arg3) {
|
|
1803
1829
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1804
1830
|
};
|
|
1805
|
-
imports.wbg.
|
|
1831
|
+
imports.wbg.__wbg_warn_6e567d0d926ff881 = function (arg0) {
|
|
1806
1832
|
console.warn(getObject(arg0));
|
|
1807
1833
|
};
|
|
1808
1834
|
imports.wbg.__wbg_wasmtaskmessage_new = function (arg0) {
|
|
1809
1835
|
const ret = WasmTaskMessage.__wrap(arg0);
|
|
1810
1836
|
return addHeapObject(ret);
|
|
1811
1837
|
};
|
|
1812
|
-
imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function (arg0) {
|
|
1813
|
-
const obj = getObject(arg0).original;
|
|
1814
|
-
if (obj.cnt-- == 1) {
|
|
1815
|
-
obj.a = 0;
|
|
1816
|
-
return true;
|
|
1817
|
-
}
|
|
1818
|
-
const ret = false;
|
|
1819
|
-
return ret;
|
|
1820
|
-
};
|
|
1821
|
-
imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function (arg0, arg1) {
|
|
1822
|
-
const ret = debugString(getObject(arg1));
|
|
1823
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
|
|
1824
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1825
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1826
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1827
|
-
};
|
|
1828
|
-
imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function (arg0) {
|
|
1829
|
-
const ret = typeof (getObject(arg0)) === 'function';
|
|
1830
|
-
return ret;
|
|
1831
|
-
};
|
|
1832
|
-
imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function (arg0) {
|
|
1833
|
-
const val = getObject(arg0);
|
|
1834
|
-
const ret = typeof (val) === 'object' && val !== null;
|
|
1835
|
-
return ret;
|
|
1836
|
-
};
|
|
1837
|
-
imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function (arg0) {
|
|
1838
|
-
const ret = typeof (getObject(arg0)) === 'string';
|
|
1839
|
-
return ret;
|
|
1840
|
-
};
|
|
1841
|
-
imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function (arg0) {
|
|
1842
|
-
const ret = getObject(arg0) === undefined;
|
|
1843
|
-
return ret;
|
|
1844
|
-
};
|
|
1845
|
-
imports.wbg.__wbg_wbindgenmemory_d84da70f7c42d172 = function () {
|
|
1846
|
-
const ret = wasm.memory;
|
|
1847
|
-
return addHeapObject(ret);
|
|
1848
|
-
};
|
|
1849
|
-
imports.wbg.__wbg_wbindgenmodule_7e59019f6366ff9c = function () {
|
|
1850
|
-
const ret = __wbg_init.__wbindgen_wasm_module;
|
|
1851
|
-
return addHeapObject(ret);
|
|
1852
|
-
};
|
|
1853
|
-
imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function (arg0, arg1) {
|
|
1854
|
-
const obj = getObject(arg1);
|
|
1855
|
-
const ret = typeof (obj) === 'number' ? obj : undefined;
|
|
1856
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1857
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1858
|
-
};
|
|
1859
|
-
imports.wbg.__wbg_wbindgenrethrow_01815c9239d70cc2 = function (arg0) {
|
|
1860
|
-
throw takeObject(arg0);
|
|
1861
|
-
};
|
|
1862
|
-
imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function (arg0, arg1) {
|
|
1863
|
-
const obj = getObject(arg1);
|
|
1864
|
-
const ret = typeof (obj) === 'string' ? obj : undefined;
|
|
1865
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
|
|
1866
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1867
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1868
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1869
|
-
};
|
|
1870
|
-
imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function (arg0, arg1) {
|
|
1871
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1872
|
-
};
|
|
1873
1838
|
imports.wbg.__wbg_webworkercreation_new = function (arg0) {
|
|
1874
1839
|
const ret = WebWorkerCreation.__wrap(arg0);
|
|
1875
1840
|
return addHeapObject(ret);
|
|
@@ -1878,48 +1843,53 @@ function __wbg_get_imports() {
|
|
|
1878
1843
|
const ret = WebWorkerTermination.__wrap(arg0);
|
|
1879
1844
|
return addHeapObject(ret);
|
|
1880
1845
|
};
|
|
1881
|
-
imports.wbg.
|
|
1882
|
-
return handleError(function (arg0, arg1, arg2
|
|
1883
|
-
const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2)
|
|
1846
|
+
imports.wbg.__wbg_write_168f9ac956b6841e = function () {
|
|
1847
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
1848
|
+
const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2));
|
|
1884
1849
|
return ret;
|
|
1885
1850
|
}, arguments);
|
|
1886
1851
|
};
|
|
1887
|
-
imports.wbg.
|
|
1888
|
-
return handleError(function (arg0, arg1, arg2) {
|
|
1889
|
-
const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2));
|
|
1852
|
+
imports.wbg.__wbg_write_f87f327ea3e1dd4b = function () {
|
|
1853
|
+
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1854
|
+
const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2), getObject(arg3));
|
|
1890
1855
|
return ret;
|
|
1891
1856
|
}, arguments);
|
|
1892
1857
|
};
|
|
1858
|
+
imports.wbg.__wbindgen_cast_128d904901c806b6 = function (arg0, arg1) {
|
|
1859
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 8667, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 8668, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1860
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152831, __wasm_bindgen_func_elem_152832);
|
|
1861
|
+
return addHeapObject(ret);
|
|
1862
|
+
};
|
|
1893
1863
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
1894
1864
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1895
1865
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1896
1866
|
return addHeapObject(ret);
|
|
1897
1867
|
};
|
|
1898
|
-
imports.wbg.
|
|
1899
|
-
// Cast intrinsic for `
|
|
1900
|
-
const ret =
|
|
1868
|
+
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
|
|
1869
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
1870
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
1901
1871
|
return addHeapObject(ret);
|
|
1902
1872
|
};
|
|
1903
|
-
imports.wbg.
|
|
1904
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1905
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1873
|
+
imports.wbg.__wbindgen_cast_526f2cc3d412e0a4 = function (arg0, arg1) {
|
|
1874
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 8662, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8663, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1875
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152776, __wasm_bindgen_func_elem_152777);
|
|
1906
1876
|
return addHeapObject(ret);
|
|
1907
1877
|
};
|
|
1908
|
-
imports.wbg.
|
|
1909
|
-
// Cast intrinsic for `
|
|
1910
|
-
const ret =
|
|
1878
|
+
imports.wbg.__wbindgen_cast_5ba20501db8214d0 = function (arg0, arg1) {
|
|
1879
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 8670, function: Function { arguments: [], shim_idx: 1967, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1880
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152839, __wasm_bindgen_func_elem_29354);
|
|
1911
1881
|
return addHeapObject(ret);
|
|
1912
1882
|
};
|
|
1913
1883
|
imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
|
|
1914
1884
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
1915
|
-
wasm.
|
|
1885
|
+
wasm.__wbindgen_export4(arg0, arg1 * 4, 4);
|
|
1916
1886
|
// Cast intrinsic for `Vector(NamedExternref("DirEntry")) -> Externref`.
|
|
1917
1887
|
const ret = v0;
|
|
1918
1888
|
return addHeapObject(ret);
|
|
1919
1889
|
};
|
|
1920
|
-
imports.wbg.
|
|
1921
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1922
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1890
|
+
imports.wbg.__wbindgen_cast_7eab25ba5d0f4e21 = function (arg0, arg1) {
|
|
1891
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1966, function: Function { arguments: [], shim_idx: 1967, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1892
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_29352, __wasm_bindgen_func_elem_29354);
|
|
1923
1893
|
return addHeapObject(ret);
|
|
1924
1894
|
};
|
|
1925
1895
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
@@ -1927,14 +1897,14 @@ function __wbg_get_imports() {
|
|
|
1927
1897
|
const ret = arg0;
|
|
1928
1898
|
return addHeapObject(ret);
|
|
1929
1899
|
};
|
|
1930
|
-
imports.wbg.
|
|
1931
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1932
|
-
const ret = makeClosure(arg0, arg1,
|
|
1900
|
+
imports.wbg.__wbindgen_cast_a981ffcb4ade917e = function (arg0, arg1) {
|
|
1901
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 8643, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 8644, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
1902
|
+
const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152399, __wasm_bindgen_func_elem_152568);
|
|
1933
1903
|
return addHeapObject(ret);
|
|
1934
1904
|
};
|
|
1935
|
-
imports.wbg.
|
|
1936
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1937
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1905
|
+
imports.wbg.__wbindgen_cast_bfef43f7beb609f0 = function (arg0, arg1) {
|
|
1906
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 8662, function: Function { arguments: [Externref], shim_idx: 8663, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1907
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152776, __wasm_bindgen_func_elem_152777);
|
|
1938
1908
|
return addHeapObject(ret);
|
|
1939
1909
|
};
|
|
1940
1910
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
@@ -1942,12 +1912,7 @@ function __wbg_get_imports() {
|
|
|
1942
1912
|
const ret = arg0;
|
|
1943
1913
|
return addHeapObject(ret);
|
|
1944
1914
|
};
|
|
1945
|
-
imports.wbg.
|
|
1946
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 8671, function: Function { arguments: [], shim_idx: 1972, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1947
|
-
const ret = makeMutClosure(arg0, arg1, 8671, __wbg_adapter_21);
|
|
1948
|
-
return addHeapObject(ret);
|
|
1949
|
-
};
|
|
1950
|
-
imports.wbg.__wbindgen_link_dd5153a359f2e504 = function (arg0) {
|
|
1915
|
+
imports.wbg.__wbindgen_link_203404ece0e9bab9 = function (arg0) {
|
|
1951
1916
|
const val = `onmessage = function (ev) {
|
|
1952
1917
|
let [ia, index, value] = ev.data;
|
|
1953
1918
|
ia = new Int32Array(ia.buffer);
|
|
@@ -1956,7 +1921,7 @@ function __wbg_get_imports() {
|
|
|
1956
1921
|
};
|
|
1957
1922
|
`;
|
|
1958
1923
|
const ret = typeof URL.createObjectURL === 'undefined' ? "data:application/javascript," + encodeURIComponent(val) : URL.createObjectURL(new Blob([val], { type: "text/javascript" }));
|
|
1959
|
-
const ptr1 = passStringToWasm0(ret, wasm.
|
|
1924
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1960
1925
|
const len1 = WASM_VECTOR_LEN;
|
|
1961
1926
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1962
1927
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
@@ -1968,10 +1933,8 @@ function __wbg_get_imports() {
|
|
|
1968
1933
|
imports.wbg.__wbindgen_object_drop_ref = function (arg0) {
|
|
1969
1934
|
takeObject(arg0);
|
|
1970
1935
|
};
|
|
1971
|
-
return imports;
|
|
1972
|
-
}
|
|
1973
|
-
function __wbg_init_memory(imports, memory) {
|
|
1974
1936
|
imports.wbg.memory = memory || new WebAssembly.Memory({ initial: 1025, maximum: 65536, shared: true });
|
|
1937
|
+
return imports;
|
|
1975
1938
|
}
|
|
1976
1939
|
function __wbg_finalize_init(instance, module, thread_stack_size) {
|
|
1977
1940
|
wasm = instance.exports;
|
|
@@ -1996,8 +1959,7 @@ function initSync(module, memory) {
|
|
|
1996
1959
|
console.warn('using deprecated parameters for `initSync()`; pass a single object instead');
|
|
1997
1960
|
}
|
|
1998
1961
|
}
|
|
1999
|
-
const imports = __wbg_get_imports();
|
|
2000
|
-
__wbg_init_memory(imports, memory);
|
|
1962
|
+
const imports = __wbg_get_imports(memory);
|
|
2001
1963
|
if (!(module instanceof WebAssembly.Module)) {
|
|
2002
1964
|
module = new WebAssembly.Module(module);
|
|
2003
1965
|
}
|
|
@@ -2019,11 +1981,10 @@ async function __wbg_init(module_or_path, memory) {
|
|
|
2019
1981
|
if (typeof module_or_path === 'undefined') {
|
|
2020
1982
|
module_or_path = new URL('index_bg.wasm', import.meta.url);
|
|
2021
1983
|
}
|
|
2022
|
-
const imports = __wbg_get_imports();
|
|
1984
|
+
const imports = __wbg_get_imports(memory);
|
|
2023
1985
|
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
|
|
2024
1986
|
module_or_path = fetch(module_or_path);
|
|
2025
1987
|
}
|
|
2026
|
-
__wbg_init_memory(imports, memory);
|
|
2027
1988
|
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
2028
1989
|
return __wbg_finalize_init(instance, module, thread_stack_size);
|
|
2029
1990
|
}
|