@utoo/web 0.0.1-alpha.27 → 0.0.1-alpha.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/utoo/index.js CHANGED
@@ -6,17 +6,14 @@ function getUint8ArrayMemory0() {
6
6
  }
7
7
  return cachedUint8ArrayMemory0;
8
8
  }
9
- let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available'); } });
10
- if (typeof TextDecoder !== 'undefined') {
11
- cachedTextDecoder.decode();
12
- }
13
- ;
9
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
10
+ cachedTextDecoder.decode();
14
11
  const MAX_SAFARI_DECODE_BYTES = 2146435072;
15
12
  let numBytesDecoded = 0;
16
13
  function decodeText(ptr, len) {
17
14
  numBytesDecoded += len;
18
15
  if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
19
- cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available'); } });
16
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
20
17
  cachedTextDecoder.decode();
21
18
  numBytesDecoded = len;
22
19
  }
@@ -26,7 +23,7 @@ function getStringFromWasm0(ptr, len) {
26
23
  ptr = ptr >>> 0;
27
24
  return decodeText(ptr, len);
28
25
  }
29
- const heap = new Array(128).fill(undefined);
26
+ let heap = new Array(128).fill(undefined);
30
27
  heap.push(undefined, null, true, false);
31
28
  let heap_next = heap.length;
32
29
  function addHeapObject(obj) {
@@ -39,8 +36,8 @@ function addHeapObject(obj) {
39
36
  }
40
37
  function getObject(idx) { return heap[idx]; }
41
38
  let WASM_VECTOR_LEN = 0;
42
- const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available'); } });
43
- const encodeString = function (arg, view) {
39
+ const cachedTextEncoder = new TextEncoder();
40
+ cachedTextEncoder.encodeInto = function (arg, view) {
44
41
  const buf = cachedTextEncoder.encode(arg);
45
42
  view.set(buf);
46
43
  return {
@@ -72,7 +69,7 @@ function passStringToWasm0(arg, malloc, realloc) {
72
69
  }
73
70
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
74
71
  const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
75
- const ret = encodeString(arg, view);
72
+ const ret = cachedTextEncoder.encodeInto(arg, view);
76
73
  offset += ret.written;
77
74
  ptr = realloc(ptr, len, offset, 1) >>> 0;
78
75
  }
@@ -112,59 +109,6 @@ function getArrayU8FromWasm0(ptr, len) {
112
109
  function isLikeNone(x) {
113
110
  return x === undefined || x === null;
114
111
  }
115
- const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
116
- ? { register: () => { }, unregister: () => { } }
117
- : new FinalizationRegistry(state => {
118
- wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
119
- });
120
- function makeMutClosure(arg0, arg1, dtor, f) {
121
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
122
- const real = (...args) => {
123
- // First up with a closure we increment the internal reference
124
- // count. This ensures that the Rust closure environment won't
125
- // be deallocated while we're invoking it.
126
- state.cnt++;
127
- const a = state.a;
128
- state.a = 0;
129
- try {
130
- return f(a, state.b, ...args);
131
- }
132
- finally {
133
- if (--state.cnt === 0) {
134
- wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
135
- CLOSURE_DTORS.unregister(state);
136
- }
137
- else {
138
- state.a = a;
139
- }
140
- }
141
- };
142
- real.original = state;
143
- CLOSURE_DTORS.register(real, state, state);
144
- return real;
145
- }
146
- function makeClosure(arg0, arg1, dtor, f) {
147
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
148
- const real = (...args) => {
149
- // First up with a closure we increment the internal reference
150
- // count. This ensures that the Rust closure environment won't
151
- // be deallocated while we're invoking it.
152
- state.cnt++;
153
- try {
154
- return f(state.a, state.b, ...args);
155
- }
156
- finally {
157
- if (--state.cnt === 0) {
158
- wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
159
- state.a = 0;
160
- CLOSURE_DTORS.unregister(state);
161
- }
162
- }
163
- };
164
- real.original = state;
165
- CLOSURE_DTORS.register(real, state, state);
166
- return real;
167
- }
168
112
  function debugString(val) {
169
113
  // primitive types
170
114
  const type = typeof val;
@@ -233,15 +177,77 @@ function debugString(val) {
233
177
  // TODO we could test for more things here, like `Set`s and `Map`s.
234
178
  return className;
235
179
  }
180
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
181
+ ? { register: () => { }, unregister: () => { } }
182
+ : new FinalizationRegistry(state => {
183
+ wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
184
+ });
185
+ function makeMutClosure(arg0, arg1, dtor, f) {
186
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
187
+ const real = (...args) => {
188
+ // First up with a closure we increment the internal reference
189
+ // count. This ensures that the Rust closure environment won't
190
+ // be deallocated while we're invoking it.
191
+ state.cnt++;
192
+ const a = state.a;
193
+ state.a = 0;
194
+ try {
195
+ return f(a, state.b, ...args);
196
+ }
197
+ finally {
198
+ if (--state.cnt === 0) {
199
+ wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
200
+ CLOSURE_DTORS.unregister(state);
201
+ }
202
+ else {
203
+ state.a = a;
204
+ }
205
+ }
206
+ };
207
+ real.original = state;
208
+ CLOSURE_DTORS.register(real, state, state);
209
+ return real;
210
+ }
211
+ function getArrayJsValueFromWasm0(ptr, len) {
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) {
221
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
222
+ const real = (...args) => {
223
+ // First up with a closure we increment the internal reference
224
+ // count. This ensures that the Rust closure environment won't
225
+ // be deallocated while we're invoking it.
226
+ state.cnt++;
227
+ try {
228
+ return f(state.a, state.b, ...args);
229
+ }
230
+ finally {
231
+ if (--state.cnt === 0) {
232
+ wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
233
+ state.a = 0;
234
+ CLOSURE_DTORS.unregister(state);
235
+ }
236
+ }
237
+ };
238
+ real.original = state;
239
+ CLOSURE_DTORS.register(real, state, state);
240
+ return real;
241
+ }
242
+ export function init_pack() {
243
+ wasm.init_pack();
244
+ }
236
245
  function passArray8ToWasm0(arg, malloc) {
237
246
  const ptr = malloc(arg.length * 1, 1) >>> 0;
238
247
  getUint8ArrayMemory0().set(arg, ptr / 1);
239
248
  WASM_VECTOR_LEN = arg.length;
240
249
  return ptr;
241
250
  }
242
- export function init_pack() {
243
- wasm.init_pack();
244
- }
245
251
  /**
246
252
  * Entry point for web workers
247
253
  * @param {number} ptr
@@ -249,13 +255,13 @@ export function init_pack() {
249
255
  export function wasm_thread_entry_point(ptr) {
250
256
  wasm.wasm_thread_entry_point(ptr);
251
257
  }
252
- function __wbg_adapter_44(arg0, arg1, arg2) {
258
+ function __wbg_adapter_4(arg0, arg1, arg2) {
253
259
  wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
254
260
  }
255
- function __wbg_adapter_47(arg0, arg1) {
261
+ function __wbg_adapter_9(arg0, arg1) {
256
262
  wasm.__wbindgen_export_7(arg0, arg1);
257
263
  }
258
- function __wbg_adapter_50(arg0, arg1, arg2) {
264
+ function __wbg_adapter_20(arg0, arg1, arg2) {
259
265
  wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2));
260
266
  }
261
267
  let stack_pointer = 128;
@@ -265,7 +271,7 @@ function addBorrowedObject(obj) {
265
271
  heap[--stack_pointer] = obj;
266
272
  return stack_pointer;
267
273
  }
268
- function __wbg_adapter_57(arg0, arg1, arg2) {
274
+ function __wbg_adapter_29(arg0, arg1, arg2) {
269
275
  try {
270
276
  wasm.__wbindgen_export_9(arg0, arg1, addBorrowedObject(arg2));
271
277
  }
@@ -273,12 +279,13 @@ function __wbg_adapter_57(arg0, arg1, arg2) {
273
279
  heap[stack_pointer++] = undefined;
274
280
  }
275
281
  }
276
- function __wbg_adapter_110(arg0, arg1, arg2, arg3) {
282
+ function __wbg_adapter_92(arg0, arg1, arg2, arg3) {
277
283
  wasm.__wbindgen_export_10(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
278
284
  }
279
285
  const __wbindgen_enum_DirEntryType = ["file", "directory"];
280
286
  const __wbindgen_enum_FileSystemChangeRecordType = ["appeared", "disappeared", "errored", "modified", "moved", "unknown"];
281
287
  const __wbindgen_enum_FileSystemHandleKind = ["file", "directory"];
288
+ const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
282
289
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
283
290
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
284
291
  const __wbindgen_enum_WorkerType = ["classic", "module"];
@@ -304,6 +311,8 @@ export class CreateSyncAccessHandleOptions {
304
311
  wasm.__wbg_createsyncaccesshandleoptions_free(ptr, 0);
305
312
  }
306
313
  }
314
+ if (Symbol.dispose)
315
+ CreateSyncAccessHandleOptions.prototype[Symbol.dispose] = CreateSyncAccessHandleOptions.prototype.free;
307
316
  const DirEntryFinalization = (typeof FinalizationRegistry === 'undefined')
308
317
  ? { register: () => { }, unregister: () => { } }
309
318
  : new FinalizationRegistry(ptr => wasm.__wbg_direntry_free(ptr >>> 0, 1));
@@ -376,6 +385,8 @@ export class DirEntry {
376
385
  wasm.__wbg_set_direntry_type(this.__wbg_ptr, (__wbindgen_enum_DirEntryType.indexOf(arg0) + 1 || 3) - 1);
377
386
  }
378
387
  }
388
+ if (Symbol.dispose)
389
+ DirEntry.prototype[Symbol.dispose] = DirEntry.prototype.free;
379
390
  const MetadataFinalization = (typeof FinalizationRegistry === 'undefined')
380
391
  ? { register: () => { }, unregister: () => { } }
381
392
  : new FinalizationRegistry(ptr => wasm.__wbg_metadata_free(ptr >>> 0, 1));
@@ -404,6 +415,8 @@ export class Metadata {
404
415
  wasm.__wbg_metadata_free(ptr, 0);
405
416
  }
406
417
  }
418
+ if (Symbol.dispose)
419
+ Metadata.prototype[Symbol.dispose] = Metadata.prototype.free;
407
420
  const ProjectFinalization = (typeof FinalizationRegistry === 'undefined')
408
421
  ? { register: () => { }, unregister: () => { } }
409
422
  : new FinalizationRegistry(ptr => wasm.__wbg_project_free(ptr >>> 0, 1));
@@ -419,18 +432,68 @@ export class Project {
419
432
  wasm.__wbg_project_free(ptr, 0);
420
433
  }
421
434
  /**
422
- * @param {string} cwd
423
- * @param {string} thread_url
435
+ * @param {string} path
436
+ * @returns {Promise<void>}
424
437
  */
425
- constructor(cwd, thread_url) {
426
- const ptr0 = passStringToWasm0(cwd, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
438
+ createDir(path) {
439
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
427
440
  const len0 = WASM_VECTOR_LEN;
428
- const ptr1 = passStringToWasm0(thread_url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
441
+ const ret = wasm.project_createDir(this.__wbg_ptr, ptr0, len0);
442
+ return takeObject(ret);
443
+ }
444
+ /**
445
+ * @param {string} path
446
+ * @param {boolean} recursive
447
+ * @returns {Promise<void>}
448
+ */
449
+ removeDir(path, recursive) {
450
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
451
+ const len0 = WASM_VECTOR_LEN;
452
+ const ret = wasm.project_removeDir(this.__wbg_ptr, ptr0, len0, recursive);
453
+ return takeObject(ret);
454
+ }
455
+ /**
456
+ * @param {string} path
457
+ * @returns {Promise<void>}
458
+ */
459
+ removeFile(path) {
460
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
461
+ const len0 = WASM_VECTOR_LEN;
462
+ const ret = wasm.project_removeFile(this.__wbg_ptr, ptr0, len0);
463
+ return takeObject(ret);
464
+ }
465
+ /**
466
+ * @param {string} path
467
+ * @param {string} content
468
+ * @returns {Promise<void>}
469
+ */
470
+ writeString(path, content) {
471
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
472
+ const len0 = WASM_VECTOR_LEN;
473
+ const ptr1 = passStringToWasm0(content, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
429
474
  const len1 = WASM_VECTOR_LEN;
430
- const ret = wasm.project_new(ptr0, len0, ptr1, len1);
431
- this.__wbg_ptr = ret >>> 0;
432
- ProjectFinalization.register(this, this.__wbg_ptr, this);
433
- return this;
475
+ const ret = wasm.project_writeString(this.__wbg_ptr, ptr0, len0, ptr1, len1);
476
+ return takeObject(ret);
477
+ }
478
+ /**
479
+ * @param {string} path
480
+ * @returns {Promise<void>}
481
+ */
482
+ createDirAll(path) {
483
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
484
+ const len0 = WASM_VECTOR_LEN;
485
+ const ret = wasm.project_createDirAll(this.__wbg_ptr, ptr0, len0);
486
+ return takeObject(ret);
487
+ }
488
+ /**
489
+ * @param {string} path
490
+ * @returns {Promise<string>}
491
+ */
492
+ readToString(path) {
493
+ const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
494
+ const len0 = WASM_VECTOR_LEN;
495
+ const ret = wasm.project_readToString(this.__wbg_ptr, ptr0, len0);
496
+ return takeObject(ret);
434
497
  }
435
498
  /**
436
499
  * @returns {string}
@@ -453,21 +516,18 @@ export class Project {
453
516
  }
454
517
  }
455
518
  /**
456
- * @param {string} package_lock
457
- * @returns {Promise<void>}
519
+ * @param {string} cwd
520
+ * @param {string} thread_url
458
521
  */
459
- install(package_lock) {
460
- const ptr0 = passStringToWasm0(package_lock, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
522
+ constructor(cwd, thread_url) {
523
+ const ptr0 = passStringToWasm0(cwd, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
461
524
  const len0 = WASM_VECTOR_LEN;
462
- const ret = wasm.project_install(this.__wbg_ptr, ptr0, len0);
463
- return takeObject(ret);
464
- }
465
- /**
466
- * @returns {Promise<any>}
467
- */
468
- build() {
469
- const ret = wasm.project_build(this.__wbg_ptr);
470
- return takeObject(ret);
525
+ const ptr1 = passStringToWasm0(thread_url, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
526
+ const len1 = WASM_VECTOR_LEN;
527
+ const ret = wasm.project_new(ptr0, len0, ptr1, len1);
528
+ this.__wbg_ptr = ret >>> 0;
529
+ ProjectFinalization.register(this, this.__wbg_ptr, this);
530
+ return this;
471
531
  }
472
532
  /**
473
533
  * @param {string} path
@@ -480,13 +540,10 @@ export class Project {
480
540
  return takeObject(ret);
481
541
  }
482
542
  /**
483
- * @param {string} path
484
- * @returns {Promise<string>}
543
+ * @returns {Promise<any>}
485
544
  */
486
- readToString(path) {
487
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
488
- const len0 = WASM_VECTOR_LEN;
489
- const ret = wasm.project_readToString(this.__wbg_ptr, ptr0, len0);
545
+ build() {
546
+ const ret = wasm.project_build(this.__wbg_ptr);
490
547
  return takeObject(ret);
491
548
  }
492
549
  /**
@@ -503,46 +560,33 @@ export class Project {
503
560
  return takeObject(ret);
504
561
  }
505
562
  /**
506
- * @param {string} path
507
- * @param {string} content
563
+ * @param {string} package_lock
508
564
  * @returns {Promise<void>}
509
565
  */
510
- writeString(path, content) {
511
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
512
- const len0 = WASM_VECTOR_LEN;
513
- const ptr1 = passStringToWasm0(content, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
514
- const len1 = WASM_VECTOR_LEN;
515
- const ret = wasm.project_writeString(this.__wbg_ptr, ptr0, len0, ptr1, len1);
516
- return takeObject(ret);
517
- }
518
- /**
519
- * @param {string} path
520
- * @returns {Promise<DirEntry[]>}
521
- */
522
- readDir(path) {
523
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
566
+ install(package_lock) {
567
+ const ptr0 = passStringToWasm0(package_lock, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
524
568
  const len0 = WASM_VECTOR_LEN;
525
- const ret = wasm.project_readDir(this.__wbg_ptr, ptr0, len0);
569
+ const ret = wasm.project_install(this.__wbg_ptr, ptr0, len0);
526
570
  return takeObject(ret);
527
571
  }
528
572
  /**
529
573
  * @param {string} path
530
- * @returns {Promise<void>}
574
+ * @returns {Promise<Metadata>}
531
575
  */
532
- createDir(path) {
576
+ metadata(path) {
533
577
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
534
578
  const len0 = WASM_VECTOR_LEN;
535
- const ret = wasm.project_createDir(this.__wbg_ptr, ptr0, len0);
579
+ const ret = wasm.project_metadata(this.__wbg_ptr, ptr0, len0);
536
580
  return takeObject(ret);
537
581
  }
538
582
  /**
539
583
  * @param {string} path
540
- * @returns {Promise<void>}
584
+ * @returns {Promise<DirEntry[]>}
541
585
  */
542
- createDirAll(path) {
586
+ readDir(path) {
543
587
  const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
544
588
  const len0 = WASM_VECTOR_LEN;
545
- const ret = wasm.project_createDirAll(this.__wbg_ptr, ptr0, len0);
589
+ const ret = wasm.project_readDir(this.__wbg_ptr, ptr0, len0);
546
590
  return takeObject(ret);
547
591
  }
548
592
  /**
@@ -558,38 +602,9 @@ export class Project {
558
602
  const ret = wasm.project_copyFile(this.__wbg_ptr, ptr0, len0, ptr1, len1);
559
603
  return takeObject(ret);
560
604
  }
561
- /**
562
- * @param {string} path
563
- * @returns {Promise<void>}
564
- */
565
- removeFile(path) {
566
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
567
- const len0 = WASM_VECTOR_LEN;
568
- const ret = wasm.project_removeFile(this.__wbg_ptr, ptr0, len0);
569
- return takeObject(ret);
570
- }
571
- /**
572
- * @param {string} path
573
- * @param {boolean} recursive
574
- * @returns {Promise<void>}
575
- */
576
- removeDir(path, recursive) {
577
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
578
- const len0 = WASM_VECTOR_LEN;
579
- const ret = wasm.project_removeDir(this.__wbg_ptr, ptr0, len0, recursive);
580
- return takeObject(ret);
581
- }
582
- /**
583
- * @param {string} path
584
- * @returns {Promise<Metadata>}
585
- */
586
- metadata(path) {
587
- const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
588
- const len0 = WASM_VECTOR_LEN;
589
- const ret = wasm.project_metadata(this.__wbg_ptr, ptr0, len0);
590
- return takeObject(ret);
591
- }
592
605
  }
606
+ if (Symbol.dispose)
607
+ Project.prototype[Symbol.dispose] = Project.prototype.free;
593
608
  const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
594
609
  async function __wbg_load(module, imports) {
595
610
  if (typeof Response === 'function' && module instanceof Response) {
@@ -623,7 +638,7 @@ async function __wbg_load(module, imports) {
623
638
  function __wbg_get_imports() {
624
639
  const imports = {};
625
640
  imports.wbg = {};
626
- imports.wbg.__wbg_Error_0497d5bdba9362e5 = function (arg0, arg1) {
641
+ imports.wbg.__wbg_Error_e17e777aac105295 = function (arg0, arg1) {
627
642
  const ret = Error(getStringFromWasm0(arg0, arg1));
628
643
  return addHeapObject(ret);
629
644
  };
@@ -634,55 +649,55 @@ function __wbg_get_imports() {
634
649
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
635
650
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
636
651
  };
637
- imports.wbg.__wbg_abort_18ba44d46e13d7fe = function (arg0) {
652
+ imports.wbg.__wbg_abort_67e1b49bf6614565 = function (arg0) {
638
653
  getObject(arg0).abort();
639
654
  };
640
- imports.wbg.__wbg_abort_4198a1129c47f21a = function (arg0, arg1) {
655
+ imports.wbg.__wbg_abort_d830bf2e9aa6ec5b = function (arg0, arg1) {
641
656
  getObject(arg0).abort(getObject(arg1));
642
657
  };
643
- imports.wbg.__wbg_append_0342728346e47425 = function () {
658
+ imports.wbg.__wbg_append_72a3c0addd2bce38 = function () {
644
659
  return handleError(function (arg0, arg1, arg2, arg3, arg4) {
645
660
  getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
646
661
  }, arguments);
647
662
  };
648
- imports.wbg.__wbg_arrayBuffer_d58b858456021d7f = function () {
663
+ imports.wbg.__wbg_arrayBuffer_9c99b8e2809e8cbb = function () {
649
664
  return handleError(function (arg0) {
650
665
  const ret = getObject(arg0).arrayBuffer();
651
666
  return addHeapObject(ret);
652
667
  }, arguments);
653
668
  };
654
- imports.wbg.__wbg_async_89f8ca583cefeb81 = function (arg0) {
669
+ imports.wbg.__wbg_async_d65ec5b7c88f9d4a = function (arg0) {
655
670
  const ret = getObject(arg0).async;
656
671
  return ret;
657
672
  };
658
- imports.wbg.__wbg_buffer_a1a27a0dfa70165d = function (arg0) {
673
+ imports.wbg.__wbg_buffer_40c0928cc927f62a = function (arg0) {
659
674
  const ret = getObject(arg0).buffer;
660
675
  return addHeapObject(ret);
661
676
  };
662
- imports.wbg.__wbg_call_f2db6205e5c51dc8 = function () {
663
- return handleError(function (arg0, arg1, arg2) {
664
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
677
+ imports.wbg.__wbg_call_13410aac570ffff7 = function () {
678
+ return handleError(function (arg0, arg1) {
679
+ const ret = getObject(arg0).call(getObject(arg1));
665
680
  return addHeapObject(ret);
666
681
  }, arguments);
667
682
  };
668
- imports.wbg.__wbg_call_fbe8be8bf6436ce5 = function () {
669
- return handleError(function (arg0, arg1) {
670
- const ret = getObject(arg0).call(getObject(arg1));
683
+ imports.wbg.__wbg_call_a5400b25a865cfd8 = function () {
684
+ return handleError(function (arg0, arg1, arg2) {
685
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
671
686
  return addHeapObject(ret);
672
687
  }, arguments);
673
688
  };
674
- imports.wbg.__wbg_changedHandle_24722e4ff365763a = function (arg0) {
689
+ imports.wbg.__wbg_changedHandle_9c4d7f94c0b78c7d = function (arg0) {
675
690
  const ret = getObject(arg0).changedHandle;
676
691
  return addHeapObject(ret);
677
692
  };
678
- imports.wbg.__wbg_clearTimeout_0b53d391c1b94dda = function (arg0) {
693
+ imports.wbg.__wbg_clearTimeout_6222fede17abcb1a = function (arg0) {
679
694
  const ret = clearTimeout(takeObject(arg0));
680
695
  return addHeapObject(ret);
681
696
  };
682
- imports.wbg.__wbg_close_8d9e72339b45f6f5 = function (arg0) {
697
+ imports.wbg.__wbg_close_9870d6f25f3c1f31 = function (arg0) {
683
698
  getObject(arg0).close();
684
699
  };
685
- imports.wbg.__wbg_createObjectURL_1acd82bf8749f5a9 = function () {
700
+ imports.wbg.__wbg_createObjectURL_c80225986d2b928b = function () {
686
701
  return handleError(function (arg0, arg1) {
687
702
  const ret = URL.createObjectURL(getObject(arg1));
688
703
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
@@ -695,32 +710,29 @@ function __wbg_get_imports() {
695
710
  const ret = CreateSyncAccessHandleOptions.__wrap(arg0);
696
711
  return addHeapObject(ret);
697
712
  };
698
- imports.wbg.__wbg_data_fffd43bf0ca75fff = function (arg0) {
713
+ imports.wbg.__wbg_data_9ab529722bcc4e6c = function (arg0) {
699
714
  const ret = getObject(arg0).data;
700
715
  return addHeapObject(ret);
701
716
  };
702
- imports.wbg.__wbg_debug_103948ed4c500577 = function (arg0, arg1, arg2, arg3) {
717
+ imports.wbg.__wbg_debug_7f3000e7358ea482 = function (arg0, arg1, arg2, arg3) {
703
718
  console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
704
719
  };
705
- imports.wbg.__wbg_debug_58d16ea352cfbca1 = function (arg0) {
720
+ imports.wbg.__wbg_debug_c906769d2f88c17b = function (arg0) {
706
721
  console.debug(getObject(arg0));
707
722
  };
708
723
  imports.wbg.__wbg_direntry_new = function (arg0) {
709
724
  const ret = DirEntry.__wrap(arg0);
710
725
  return addHeapObject(ret);
711
726
  };
712
- imports.wbg.__wbg_done_4d01f352bade43b7 = function (arg0) {
727
+ imports.wbg.__wbg_done_75ed0ee6dd243d9d = function (arg0) {
713
728
  const ret = getObject(arg0).done;
714
729
  return ret;
715
730
  };
716
- imports.wbg.__wbg_entries_14bb5b0fa29e7393 = function (arg0) {
731
+ imports.wbg.__wbg_entries_1a3c3b9544532397 = function (arg0) {
717
732
  const ret = getObject(arg0).entries();
718
733
  return addHeapObject(ret);
719
734
  };
720
- imports.wbg.__wbg_error_51ecdd39ec054205 = function (arg0) {
721
- console.error(getObject(arg0));
722
- };
723
- imports.wbg.__wbg_error_624160881466fd69 = function (arg0, arg1, arg2, arg3) {
735
+ imports.wbg.__wbg_error_0889f151acea569e = function (arg0, arg1, arg2, arg3) {
724
736
  console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
725
737
  };
726
738
  imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function (arg0, arg1) {
@@ -735,33 +747,36 @@ function __wbg_get_imports() {
735
747
  wasm.__wbindgen_export_4(deferred0_0, deferred0_1, 1);
736
748
  }
737
749
  };
738
- imports.wbg.__wbg_eval_17f2fea482576acf = function () {
750
+ imports.wbg.__wbg_error_99981e16d476aa5c = function (arg0) {
751
+ console.error(getObject(arg0));
752
+ };
753
+ imports.wbg.__wbg_eval_631dc78d65611b94 = function () {
739
754
  return handleError(function (arg0, arg1) {
740
755
  const ret = eval(getStringFromWasm0(arg0, arg1));
741
756
  return addHeapObject(ret);
742
757
  }, arguments);
743
758
  };
744
- imports.wbg.__wbg_fetch_11bff8299d0ecd2b = function (arg0) {
745
- const ret = fetch(getObject(arg0));
759
+ imports.wbg.__wbg_fetch_87aed7f306ec6d63 = function (arg0, arg1) {
760
+ const ret = getObject(arg0).fetch(getObject(arg1));
746
761
  return addHeapObject(ret);
747
762
  };
748
- imports.wbg.__wbg_fetch_a8e43a4e138dfc93 = function (arg0, arg1) {
749
- const ret = getObject(arg0).fetch(getObject(arg1));
763
+ imports.wbg.__wbg_fetch_f156d10be9a5c88a = function (arg0) {
764
+ const ret = fetch(getObject(arg0));
750
765
  return addHeapObject(ret);
751
766
  };
752
- imports.wbg.__wbg_from_12ff8e47307bd4c7 = function (arg0) {
767
+ imports.wbg.__wbg_from_88bc52ce20ba6318 = function (arg0) {
753
768
  const ret = Array.from(getObject(arg0));
754
769
  return addHeapObject(ret);
755
770
  };
756
- imports.wbg.__wbg_getDirectoryHandle_812e88ca933e7f14 = function (arg0, arg1, arg2, arg3) {
771
+ imports.wbg.__wbg_getDirectoryHandle_0fb26677897f1e21 = function (arg0, arg1, arg2, arg3) {
757
772
  const ret = getObject(arg0).getDirectoryHandle(getStringFromWasm0(arg1, arg2), getObject(arg3));
758
773
  return addHeapObject(ret);
759
774
  };
760
- imports.wbg.__wbg_getDirectory_d1926c6af50076e5 = function (arg0) {
775
+ imports.wbg.__wbg_getDirectory_8564f4b4ae7ee35c = function (arg0) {
761
776
  const ret = getObject(arg0).getDirectory();
762
777
  return addHeapObject(ret);
763
778
  };
764
- imports.wbg.__wbg_getFileHandle_1cc9e8420629773c = function (arg0, arg1, arg2, arg3) {
779
+ imports.wbg.__wbg_getFileHandle_9f23d09c2497fa5f = function (arg0, arg1, arg2, arg3) {
765
780
  const ret = getObject(arg0).getFileHandle(getStringFromWasm0(arg1, arg2), getObject(arg3));
766
781
  return addHeapObject(ret);
767
782
  };
@@ -770,39 +785,39 @@ function __wbg_get_imports() {
770
785
  globalThis.crypto.getRandomValues(getObject(arg0));
771
786
  }, arguments);
772
787
  };
773
- imports.wbg.__wbg_getSize_a77eeeffdb4f3fc1 = function () {
788
+ imports.wbg.__wbg_getSize_56a06761973a6cd7 = function () {
774
789
  return handleError(function (arg0) {
775
790
  const ret = getObject(arg0).getSize();
776
791
  return ret;
777
792
  }, arguments);
778
793
  };
779
- imports.wbg.__wbg_get_92470be87867c2e5 = function () {
794
+ imports.wbg.__wbg_get_0da715ceaecea5c8 = function (arg0, arg1) {
795
+ const ret = getObject(arg0)[arg1 >>> 0];
796
+ return addHeapObject(ret);
797
+ };
798
+ imports.wbg.__wbg_get_458e874b43b18b25 = function () {
780
799
  return handleError(function (arg0, arg1) {
781
800
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
782
801
  return addHeapObject(ret);
783
802
  }, arguments);
784
803
  };
785
- imports.wbg.__wbg_get_a131a44bd1eb6979 = function (arg0, arg1) {
786
- const ret = getObject(arg0)[arg1 >>> 0];
787
- return addHeapObject(ret);
788
- };
789
- imports.wbg.__wbg_has_809e438ee9d787a7 = function () {
804
+ imports.wbg.__wbg_has_b89e451f638123e3 = function () {
790
805
  return handleError(function (arg0, arg1) {
791
806
  const ret = Reflect.has(getObject(arg0), getObject(arg1));
792
807
  return ret;
793
808
  }, arguments);
794
809
  };
795
- imports.wbg.__wbg_headers_0f0cbdc6290b6780 = function (arg0) {
810
+ imports.wbg.__wbg_headers_29fec3c72865cd75 = function (arg0) {
796
811
  const ret = getObject(arg0).headers;
797
812
  return addHeapObject(ret);
798
813
  };
799
- imports.wbg.__wbg_info_a1cc312ecc877319 = function (arg0, arg1, arg2, arg3) {
814
+ imports.wbg.__wbg_info_15c3631232fceddb = function (arg0, arg1, arg2, arg3) {
800
815
  console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
801
816
  };
802
- imports.wbg.__wbg_info_e56933705c348038 = function (arg0) {
817
+ imports.wbg.__wbg_info_6cf68c1a86a92f6a = function (arg0) {
803
818
  console.info(getObject(arg0));
804
819
  };
805
- imports.wbg.__wbg_instanceof_DedicatedWorkerGlobalScope_9eb2c65f95cfc6a7 = function (arg0) {
820
+ imports.wbg.__wbg_instanceof_DedicatedWorkerGlobalScope_a054a9af652220ba = function (arg0) {
806
821
  let result;
807
822
  try {
808
823
  result = getObject(arg0) instanceof DedicatedWorkerGlobalScope;
@@ -813,7 +828,7 @@ function __wbg_get_imports() {
813
828
  const ret = result;
814
829
  return ret;
815
830
  };
816
- imports.wbg.__wbg_instanceof_DomException_77720ed8752d7409 = function (arg0) {
831
+ imports.wbg.__wbg_instanceof_DomException_bd63c2a0e0b53ed5 = function (arg0) {
817
832
  let result;
818
833
  try {
819
834
  result = getObject(arg0) instanceof DOMException;
@@ -824,7 +839,7 @@ function __wbg_get_imports() {
824
839
  const ret = result;
825
840
  return ret;
826
841
  };
827
- imports.wbg.__wbg_instanceof_FileSystemDirectoryHandle_e85a318f5f7e994e = function (arg0) {
842
+ imports.wbg.__wbg_instanceof_FileSystemDirectoryHandle_ef2de8bfd438118c = function (arg0) {
828
843
  let result;
829
844
  try {
830
845
  result = getObject(arg0) instanceof FileSystemDirectoryHandle;
@@ -835,7 +850,7 @@ function __wbg_get_imports() {
835
850
  const ret = result;
836
851
  return ret;
837
852
  };
838
- imports.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2 = function (arg0) {
853
+ imports.wbg.__wbg_instanceof_Response_50fde2cd696850bf = function (arg0) {
839
854
  let result;
840
855
  try {
841
856
  result = getObject(arg0) instanceof Response;
@@ -846,23 +861,23 @@ function __wbg_get_imports() {
846
861
  const ret = result;
847
862
  return ret;
848
863
  };
849
- imports.wbg.__wbg_iterator_4068add5b2aef7a6 = function () {
864
+ imports.wbg.__wbg_iterator_f370b34483c71a1c = function () {
850
865
  const ret = Symbol.iterator;
851
866
  return addHeapObject(ret);
852
867
  };
853
- imports.wbg.__wbg_kind_cf2ba2f9fcc66870 = function (arg0) {
868
+ imports.wbg.__wbg_kind_56b64eb6cc62543d = function (arg0) {
854
869
  const ret = getObject(arg0).kind;
855
870
  return (__wbindgen_enum_FileSystemHandleKind.indexOf(ret) + 1 || 3) - 1;
856
871
  };
857
- imports.wbg.__wbg_length_ab6d22b5ead75c72 = function (arg0) {
872
+ imports.wbg.__wbg_length_186546c51cd61acd = function (arg0) {
858
873
  const ret = getObject(arg0).length;
859
874
  return ret;
860
875
  };
861
- imports.wbg.__wbg_length_f00ec12454a5d9fd = function (arg0) {
876
+ imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function (arg0) {
862
877
  const ret = getObject(arg0).length;
863
878
  return ret;
864
879
  };
865
- imports.wbg.__wbg_message_44ef9b801b7d8bc3 = function (arg0, arg1) {
880
+ imports.wbg.__wbg_message_702ebc62fa8b0c7c = function (arg0, arg1) {
866
881
  const ret = getObject(arg1).message;
867
882
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
868
883
  const len1 = WASM_VECTOR_LEN;
@@ -873,67 +888,37 @@ function __wbg_get_imports() {
873
888
  const ret = Metadata.__wrap(arg0);
874
889
  return addHeapObject(ret);
875
890
  };
876
- imports.wbg.__wbg_name_2acff1e83d9735f9 = function (arg0, arg1) {
891
+ imports.wbg.__wbg_name_f75f535832c8ea6b = function (arg0, arg1) {
877
892
  const ret = getObject(arg1).name;
878
893
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
879
894
  const len1 = WASM_VECTOR_LEN;
880
895
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
881
896
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
882
897
  };
883
- imports.wbg.__wbg_navigator_6db993f5ffeb46be = function (arg0) {
898
+ imports.wbg.__wbg_navigator_bfaf1b0b0eb48da2 = function (arg0) {
884
899
  const ret = getObject(arg0).navigator;
885
900
  return addHeapObject(ret);
886
901
  };
887
- imports.wbg.__wbg_new_07b483f72211fd66 = function () {
902
+ imports.wbg.__wbg_new_19c25a3f2fa63a02 = function () {
888
903
  const ret = new Object();
889
904
  return addHeapObject(ret);
890
905
  };
891
- imports.wbg.__wbg_new_181343b7eb238d99 = function (arg0) {
892
- const ret = new Int32Array(getObject(arg0));
893
- return addHeapObject(ret);
894
- };
895
- imports.wbg.__wbg_new_186abcfdff244e42 = function () {
896
- return handleError(function () {
897
- const ret = new AbortController();
898
- return addHeapObject(ret);
899
- }, arguments);
900
- };
901
- imports.wbg.__wbg_new_39fae4e38868373c = function () {
902
- return handleError(function (arg0, arg1) {
903
- const ret = new Worker(getStringFromWasm0(arg0, arg1));
904
- return addHeapObject(ret);
905
- }, arguments);
906
- };
907
- imports.wbg.__wbg_new_4796e1cd2eb9ea6d = function () {
908
- return handleError(function () {
909
- const ret = new Headers();
910
- return addHeapObject(ret);
911
- }, arguments);
912
- };
913
- imports.wbg.__wbg_new_58353953ad2097cc = function () {
906
+ imports.wbg.__wbg_new_1f3a344cf3123716 = function () {
914
907
  const ret = new Array();
915
908
  return addHeapObject(ret);
916
909
  };
917
- imports.wbg.__wbg_new_62e2442df40e8ea2 = function (arg0) {
918
- const ret = new FileSystemObserver(getObject(arg0));
919
- return addHeapObject(ret);
920
- };
921
- imports.wbg.__wbg_new_8a6f238a6ece86ea = function () {
922
- const ret = new Error();
923
- return addHeapObject(ret);
924
- };
925
- imports.wbg.__wbg_new_a979b4b45bd55c7f = function () {
926
- const ret = new Map();
910
+ imports.wbg.__wbg_new_2368e31ffa149431 = function (arg0) {
911
+ const ret = new Int32Array(getObject(arg0));
927
912
  return addHeapObject(ret);
928
913
  };
929
- imports.wbg.__wbg_new_e30c39c06edaabf2 = function (arg0, arg1) {
914
+ imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function (arg0, arg1) {
930
915
  try {
931
916
  var state0 = { a: arg0, b: arg1 };
932
917
  var cb0 = (arg0, arg1) => {
933
918
  const a = state0.a;
934
919
  state0.a = 0;
935
920
  try {
936
- return __wbg_adapter_110(a, state0.b, arg0, arg1);
921
+ return __wbg_adapter_92(a, state0.b, arg0, arg1);
937
922
  }
938
923
  finally {
939
924
  state0.a = a;
@@ -946,57 +931,87 @@ function __wbg_get_imports() {
946
931
  state0.a = state0.b = 0;
947
932
  }
948
933
  };
949
- imports.wbg.__wbg_new_e52b3efaaa774f96 = function (arg0) {
934
+ imports.wbg.__wbg_new_2ff1f68f3676ea53 = function () {
935
+ const ret = new Map();
936
+ return addHeapObject(ret);
937
+ };
938
+ imports.wbg.__wbg_new_3958f7343c57c948 = function (arg0) {
939
+ const ret = new FileSystemObserver(getObject(arg0));
940
+ return addHeapObject(ret);
941
+ };
942
+ imports.wbg.__wbg_new_638ebfaedbf32a5e = function (arg0) {
950
943
  const ret = new Uint8Array(getObject(arg0));
951
944
  return addHeapObject(ret);
952
945
  };
953
- imports.wbg.__wbg_newfromslice_7c05ab1297cb2d88 = function (arg0, arg1) {
946
+ imports.wbg.__wbg_new_66b9434b4e59b63e = function () {
947
+ return handleError(function () {
948
+ const ret = new AbortController();
949
+ return addHeapObject(ret);
950
+ }, arguments);
951
+ };
952
+ imports.wbg.__wbg_new_8a6f238a6ece86ea = function () {
953
+ const ret = new Error();
954
+ return addHeapObject(ret);
955
+ };
956
+ imports.wbg.__wbg_new_9d476835fd376de6 = function () {
957
+ return handleError(function (arg0, arg1) {
958
+ const ret = new Worker(getStringFromWasm0(arg0, arg1));
959
+ return addHeapObject(ret);
960
+ }, arguments);
961
+ };
962
+ imports.wbg.__wbg_new_f6e53210afea8e45 = function () {
963
+ return handleError(function () {
964
+ const ret = new Headers();
965
+ return addHeapObject(ret);
966
+ }, arguments);
967
+ };
968
+ imports.wbg.__wbg_newfromslice_074c56947bd43469 = function (arg0, arg1) {
954
969
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
955
970
  return addHeapObject(ret);
956
971
  };
957
- imports.wbg.__wbg_newnoargs_ff528e72d35de39a = function (arg0, arg1) {
972
+ imports.wbg.__wbg_newnoargs_254190557c45b4ec = function (arg0, arg1) {
958
973
  const ret = new Function(getStringFromWasm0(arg0, arg1));
959
974
  return addHeapObject(ret);
960
975
  };
961
- imports.wbg.__wbg_newwithlength_08f872dc1e3ada2e = function (arg0) {
976
+ imports.wbg.__wbg_newwithlength_a167dcc7aaa3ba77 = function (arg0) {
962
977
  const ret = new Uint8Array(arg0 >>> 0);
963
978
  return addHeapObject(ret);
964
979
  };
965
- imports.wbg.__wbg_newwithoptions_9931e161b714ebf9 = function () {
980
+ imports.wbg.__wbg_newwithoptions_4fd7ce7655102e6f = function () {
966
981
  return handleError(function (arg0, arg1, arg2) {
967
982
  const ret = new Worker(getStringFromWasm0(arg0, arg1), getObject(arg2));
968
983
  return addHeapObject(ret);
969
984
  }, arguments);
970
985
  };
971
- imports.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37 = function () {
986
+ imports.wbg.__wbg_newwithstrandinit_b5d168a29a3fd85f = function () {
972
987
  return handleError(function (arg0, arg1, arg2) {
973
988
  const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
974
989
  return addHeapObject(ret);
975
990
  }, arguments);
976
991
  };
977
- imports.wbg.__wbg_newwithstrsequence_782e4f9028dcd999 = function () {
992
+ imports.wbg.__wbg_newwithstrsequence_a1a92f1d042bca10 = function () {
978
993
  return handleError(function (arg0) {
979
994
  const ret = new Blob(getObject(arg0));
980
995
  return addHeapObject(ret);
981
996
  }, arguments);
982
997
  };
983
- imports.wbg.__wbg_newwithstrsequenceandoptions_3c68d739cf8f35ce = function () {
998
+ imports.wbg.__wbg_newwithstrsequenceandoptions_5b257525e688af7d = function () {
984
999
  return handleError(function (arg0, arg1) {
985
1000
  const ret = new Blob(getObject(arg0), getObject(arg1));
986
1001
  return addHeapObject(ret);
987
1002
  }, arguments);
988
1003
  };
989
- imports.wbg.__wbg_next_8bb824d217961b5d = function (arg0) {
990
- const ret = getObject(arg0).next;
991
- return addHeapObject(ret);
992
- };
993
- imports.wbg.__wbg_next_9eb6fe77da3db3a2 = function () {
1004
+ imports.wbg.__wbg_next_1142e1658f75ec63 = function () {
994
1005
  return handleError(function (arg0) {
995
1006
  const ret = getObject(arg0).next();
996
1007
  return addHeapObject(ret);
997
1008
  }, arguments);
998
1009
  };
999
- imports.wbg.__wbg_next_e2da48d8fff7439a = function () {
1010
+ imports.wbg.__wbg_next_5b3530e612fde77d = function (arg0) {
1011
+ const ret = getObject(arg0).next;
1012
+ return addHeapObject(ret);
1013
+ };
1014
+ imports.wbg.__wbg_next_692e82279131b03c = function () {
1000
1015
  return handleError(function (arg0) {
1001
1016
  const ret = getObject(arg0).next();
1002
1017
  return addHeapObject(ret);
@@ -1006,11 +1021,11 @@ function __wbg_get_imports() {
1006
1021
  const ret = getObject(arg0).now();
1007
1022
  return ret;
1008
1023
  };
1009
- imports.wbg.__wbg_observe_c6c0b23d17635d53 = function (arg0, arg1, arg2) {
1024
+ imports.wbg.__wbg_observe_23bf99c5799b428b = function (arg0, arg1, arg2) {
1010
1025
  const ret = getObject(arg0).observe(getObject(arg1), getObject(arg2));
1011
1026
  return addHeapObject(ret);
1012
1027
  };
1013
- imports.wbg.__wbg_of_995ab9c48c3965f1 = function (arg0, arg1, arg2) {
1028
+ imports.wbg.__wbg_of_26ef42cc9a4270a1 = function (arg0, arg1, arg2) {
1014
1029
  const ret = Array.of(getObject(arg0), getObject(arg1), getObject(arg2));
1015
1030
  return addHeapObject(ret);
1016
1031
  };
@@ -1018,140 +1033,143 @@ function __wbg_get_imports() {
1018
1033
  const ret = getObject(arg0).performance;
1019
1034
  return addHeapObject(ret);
1020
1035
  };
1021
- imports.wbg.__wbg_postMessage_54ce7f4b41ac732e = function () {
1036
+ imports.wbg.__wbg_postMessage_38909232d65f5870 = function () {
1022
1037
  return handleError(function (arg0, arg1) {
1023
1038
  getObject(arg0).postMessage(getObject(arg1));
1024
1039
  }, arguments);
1025
1040
  };
1026
- imports.wbg.__wbg_postMessage_95ef4554c6b7ca0c = function () {
1041
+ imports.wbg.__wbg_postMessage_50e57097ede408b9 = function () {
1027
1042
  return handleError(function (arg0, arg1) {
1028
1043
  getObject(arg0).postMessage(getObject(arg1));
1029
1044
  }, arguments);
1030
1045
  };
1031
- imports.wbg.__wbg_push_73fd7b5550ebf707 = function (arg0, arg1) {
1046
+ imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function (arg0, arg1, arg2) {
1047
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
1048
+ };
1049
+ imports.wbg.__wbg_push_330b2eb93e4e1212 = function (arg0, arg1) {
1032
1050
  const ret = getObject(arg0).push(getObject(arg1));
1033
1051
  return ret;
1034
1052
  };
1035
- imports.wbg.__wbg_queueMicrotask_46c1df247678729f = function (arg0) {
1053
+ imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function (arg0) {
1036
1054
  queueMicrotask(getObject(arg0));
1037
1055
  };
1038
- imports.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11 = function (arg0) {
1056
+ imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function (arg0) {
1039
1057
  const ret = getObject(arg0).queueMicrotask;
1040
1058
  return addHeapObject(ret);
1041
1059
  };
1042
- imports.wbg.__wbg_random_210bb7fbfa33591d = function () {
1060
+ imports.wbg.__wbg_random_7ed63a0b38ee3b75 = function () {
1043
1061
  const ret = Math.random();
1044
1062
  return ret;
1045
1063
  };
1046
- imports.wbg.__wbg_read_02bf0b6df2b205f0 = function () {
1047
- return handleError(function (arg0, arg1, arg2) {
1048
- const ret = getObject(arg0).read(getArrayU8FromWasm0(arg1, arg2));
1064
+ imports.wbg.__wbg_read_a43bb46027f02ee9 = function () {
1065
+ return handleError(function (arg0, arg1, arg2, arg3) {
1066
+ const ret = getObject(arg0).read(getArrayU8FromWasm0(arg1, arg2), getObject(arg3));
1049
1067
  return ret;
1050
1068
  }, arguments);
1051
1069
  };
1052
- imports.wbg.__wbg_read_4dbc5a78288c4eed = function () {
1053
- return handleError(function (arg0, arg1, arg2, arg3) {
1054
- const ret = getObject(arg0).read(getArrayU8FromWasm0(arg1, arg2), getObject(arg3));
1070
+ imports.wbg.__wbg_read_c8c5b5e1fd6b9760 = function () {
1071
+ return handleError(function (arg0, arg1, arg2) {
1072
+ const ret = getObject(arg0).read(getArrayU8FromWasm0(arg1, arg2));
1055
1073
  return ret;
1056
1074
  }, arguments);
1057
1075
  };
1058
- imports.wbg.__wbg_relativePathComponents_b4939b5e37fafeb6 = function (arg0) {
1076
+ imports.wbg.__wbg_relativePathComponents_35d81f85c00300f2 = function (arg0) {
1059
1077
  const ret = getObject(arg0).relativePathComponents;
1060
1078
  return addHeapObject(ret);
1061
1079
  };
1062
- imports.wbg.__wbg_removeEntry_408f2f50f22d8ed2 = function (arg0, arg1, arg2, arg3) {
1080
+ imports.wbg.__wbg_removeEntry_beea80e74f68ed5b = function (arg0, arg1, arg2, arg3) {
1063
1081
  const ret = getObject(arg0).removeEntry(getStringFromWasm0(arg1, arg2), getObject(arg3));
1064
1082
  return addHeapObject(ret);
1065
1083
  };
1066
- imports.wbg.__wbg_resolve_0dac8c580ffd4678 = function (arg0) {
1084
+ imports.wbg.__wbg_resolve_4055c623acdd6a1b = function (arg0) {
1067
1085
  const ret = Promise.resolve(getObject(arg0));
1068
1086
  return addHeapObject(ret);
1069
1087
  };
1070
- imports.wbg.__wbg_revokeObjectURL_ffb9ce9155dbedaf = function () {
1088
+ imports.wbg.__wbg_revokeObjectURL_651b859c81bf1af0 = function () {
1071
1089
  return handleError(function (arg0, arg1) {
1072
1090
  URL.revokeObjectURL(getStringFromWasm0(arg0, arg1));
1073
1091
  }, arguments);
1074
1092
  };
1093
+ imports.wbg.__wbg_setTimeout_2b339866a2aa3789 = function (arg0, arg1) {
1094
+ const ret = setTimeout(getObject(arg0), arg1);
1095
+ return addHeapObject(ret);
1096
+ };
1075
1097
  imports.wbg.__wbg_setTimeout_63008613644b07af = function () {
1076
1098
  return handleError(function (arg0, arg1, arg2) {
1077
1099
  const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
1078
1100
  return addHeapObject(ret);
1079
1101
  }, arguments);
1080
1102
  };
1081
- imports.wbg.__wbg_setTimeout_73ce8df12de4f2f2 = function (arg0, arg1) {
1082
- const ret = setTimeout(getObject(arg0), arg1);
1083
- return addHeapObject(ret);
1084
- };
1085
1103
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
1086
1104
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
1087
1105
  };
1088
- imports.wbg.__wbg_set_7422acbe992d64ab = function (arg0, arg1, arg2) {
1106
+ imports.wbg.__wbg_set_90f6c0f7bd8c0415 = function (arg0, arg1, arg2) {
1089
1107
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
1090
1108
  };
1091
- imports.wbg.__wbg_set_d6bdfd275fb8a4ce = function (arg0, arg1, arg2) {
1109
+ imports.wbg.__wbg_set_b7f1cf4fae26fe2a = function (arg0, arg1, arg2) {
1092
1110
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
1093
1111
  return addHeapObject(ret);
1094
1112
  };
1095
- imports.wbg.__wbg_set_fe4e79d1ed3b0e9b = function (arg0, arg1, arg2) {
1096
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
1097
- };
1098
- imports.wbg.__wbg_setat_2d0d9be3db4207a9 = function (arg0, arg1) {
1113
+ imports.wbg.__wbg_setat_f8fc70f546036b10 = function (arg0, arg1) {
1099
1114
  getObject(arg0).at = arg1;
1100
1115
  };
1101
- imports.wbg.__wbg_setbody_971ec015fc13d6b4 = function (arg0, arg1) {
1116
+ imports.wbg.__wbg_setbody_c8460bdf44147df8 = function (arg0, arg1) {
1102
1117
  getObject(arg0).body = getObject(arg1);
1103
1118
  };
1104
- imports.wbg.__wbg_setcreate_62b7d997a9936969 = function (arg0, arg1) {
1119
+ imports.wbg.__wbg_setcache_90ca4ad8a8ad40d3 = function (arg0, arg1) {
1120
+ getObject(arg0).cache = __wbindgen_enum_RequestCache[arg1];
1121
+ };
1122
+ imports.wbg.__wbg_setcreate_1eb73f4ea713c1ad = function (arg0, arg1) {
1105
1123
  getObject(arg0).create = arg1 !== 0;
1106
1124
  };
1107
- imports.wbg.__wbg_setcreate_dcf97058ed33f8f0 = function (arg0, arg1) {
1125
+ imports.wbg.__wbg_setcreate_2d32aa4bbcd1d7af = function (arg0, arg1) {
1108
1126
  getObject(arg0).create = arg1 !== 0;
1109
1127
  };
1110
- imports.wbg.__wbg_setcredentials_920d91fb5984c94a = function (arg0, arg1) {
1128
+ imports.wbg.__wbg_setcredentials_9cd60d632c9d5dfc = function (arg0, arg1) {
1111
1129
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
1112
1130
  };
1113
- imports.wbg.__wbg_setheaders_65a4eb4c0443ae61 = function (arg0, arg1) {
1131
+ imports.wbg.__wbg_setheaders_0052283e2f3503d1 = function (arg0, arg1) {
1114
1132
  getObject(arg0).headers = getObject(arg1);
1115
1133
  };
1116
- imports.wbg.__wbg_setmethod_8ce1be0b4d701b7c = function (arg0, arg1, arg2) {
1134
+ imports.wbg.__wbg_setmethod_9b504d5b855b329c = function (arg0, arg1, arg2) {
1117
1135
  getObject(arg0).method = getStringFromWasm0(arg1, arg2);
1118
1136
  };
1119
- imports.wbg.__wbg_setmode_bd35f026f55b6247 = function (arg0, arg1) {
1137
+ imports.wbg.__wbg_setmode_a23e1a2ad8b512f8 = function (arg0, arg1) {
1120
1138
  getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
1121
1139
  };
1122
- imports.wbg.__wbg_setname_9b01ac306adf8bfd = function (arg0, arg1, arg2) {
1140
+ imports.wbg.__wbg_setname_6c6a9da905405176 = function (arg0, arg1, arg2) {
1123
1141
  getObject(arg0).name = getStringFromWasm0(arg1, arg2);
1124
1142
  };
1125
- imports.wbg.__wbg_setonerror_890bfd1ff86e9c78 = function (arg0, arg1) {
1143
+ imports.wbg.__wbg_setonerror_d1f7d212a8fc3389 = function (arg0, arg1) {
1126
1144
  getObject(arg0).onerror = getObject(arg1);
1127
1145
  };
1128
- imports.wbg.__wbg_setonmessage_f6cf46183c427754 = function (arg0, arg1) {
1146
+ imports.wbg.__wbg_setonmessage_c943f7891405ab22 = function (arg0, arg1) {
1129
1147
  getObject(arg0).onmessage = getObject(arg1);
1130
1148
  };
1131
- imports.wbg.__wbg_setrecursive_16a58c23c57e3641 = function (arg0, arg1) {
1149
+ imports.wbg.__wbg_setrecursive_072599988d5f7e8d = function (arg0, arg1) {
1132
1150
  getObject(arg0).recursive = arg1 !== 0;
1133
1151
  };
1134
- imports.wbg.__wbg_setrecursive_a6894cbb4ee8f2ac = function (arg0, arg1) {
1152
+ imports.wbg.__wbg_setrecursive_2f6a071c98b6be16 = function (arg0, arg1) {
1135
1153
  getObject(arg0).recursive = arg1 !== 0;
1136
1154
  };
1137
- imports.wbg.__wbg_setsignal_8e72abfe7ee03c97 = function (arg0, arg1) {
1155
+ imports.wbg.__wbg_setsignal_8c45ad1247a74809 = function (arg0, arg1) {
1138
1156
  getObject(arg0).signal = getObject(arg1);
1139
1157
  };
1140
- imports.wbg.__wbg_settype_acc38e64fddb9e3f = function (arg0, arg1, arg2) {
1158
+ imports.wbg.__wbg_settype_298968e371b58a33 = function (arg0, arg1, arg2) {
1141
1159
  getObject(arg0).type = getStringFromWasm0(arg1, arg2);
1142
1160
  };
1143
- imports.wbg.__wbg_settype_ca83ae32b7117898 = function (arg0, arg1) {
1161
+ imports.wbg.__wbg_settype_3dc790721d11b6f5 = function (arg0, arg1) {
1144
1162
  getObject(arg0).type = __wbindgen_enum_WorkerType[arg1];
1145
1163
  };
1146
- imports.wbg.__wbg_signal_b96223519a041faa = function (arg0) {
1164
+ imports.wbg.__wbg_signal_da4d466ce86118b5 = function (arg0) {
1147
1165
  const ret = getObject(arg0).signal;
1148
1166
  return addHeapObject(ret);
1149
1167
  };
1150
- imports.wbg.__wbg_size_e2929e11261f04db = function (arg0) {
1168
+ imports.wbg.__wbg_size_8f84e7768fba0589 = function (arg0) {
1151
1169
  const ret = getObject(arg0).size;
1152
1170
  return ret;
1153
1171
  };
1154
- imports.wbg.__wbg_slice_7500cb4b1f1711c8 = function () {
1172
+ imports.wbg.__wbg_slice_337130a0e2389850 = function () {
1155
1173
  return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1156
1174
  const ret = getObject(arg0).slice(arg1, arg2, getStringFromWasm0(arg3, arg4));
1157
1175
  return addHeapObject(ret);
@@ -1164,119 +1182,92 @@ function __wbg_get_imports() {
1164
1182
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1165
1183
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1166
1184
  };
1167
- imports.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d = function () {
1185
+ imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function () {
1168
1186
  const ret = typeof global === 'undefined' ? null : global;
1169
1187
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
1170
1188
  };
1171
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291 = function () {
1189
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function () {
1172
1190
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1173
1191
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
1174
1192
  };
1175
- imports.wbg.__wbg_static_accessor_SELF_78c9e3071b912620 = function () {
1193
+ imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function () {
1176
1194
  const ret = typeof self === 'undefined' ? null : self;
1177
1195
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
1178
1196
  };
1179
- imports.wbg.__wbg_static_accessor_WINDOW_a093d21393777366 = function () {
1197
+ imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function () {
1180
1198
  const ret = typeof window === 'undefined' ? null : window;
1181
1199
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
1182
1200
  };
1183
- imports.wbg.__wbg_status_a54682bbe52f9058 = function (arg0) {
1201
+ imports.wbg.__wbg_status_3fea3036088621d6 = function (arg0) {
1184
1202
  const ret = getObject(arg0).status;
1185
1203
  return ret;
1186
1204
  };
1187
- imports.wbg.__wbg_storage_52b923037fa3d04c = function (arg0) {
1205
+ imports.wbg.__wbg_storage_32b4ac688c114c3d = function (arg0) {
1188
1206
  const ret = getObject(arg0).storage;
1189
1207
  return addHeapObject(ret);
1190
1208
  };
1191
- imports.wbg.__wbg_stringify_c242842b97f054cc = function () {
1209
+ imports.wbg.__wbg_stringify_b98c93d0a190446a = function () {
1192
1210
  return handleError(function (arg0) {
1193
1211
  const ret = JSON.stringify(getObject(arg0));
1194
1212
  return addHeapObject(ret);
1195
1213
  }, arguments);
1196
1214
  };
1197
- imports.wbg.__wbg_subarray_dd4ade7d53bd8e26 = function (arg0, arg1, arg2) {
1215
+ imports.wbg.__wbg_subarray_70fd07feefe14294 = function (arg0, arg1, arg2) {
1198
1216
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
1199
1217
  return addHeapObject(ret);
1200
1218
  };
1201
- imports.wbg.__wbg_then_82ab9fb4080f1707 = function (arg0, arg1, arg2) {
1219
+ imports.wbg.__wbg_then_b33a773d723afa3e = function (arg0, arg1, arg2) {
1202
1220
  const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
1203
1221
  return addHeapObject(ret);
1204
1222
  };
1205
- imports.wbg.__wbg_then_db882932c0c714c6 = function (arg0, arg1) {
1223
+ imports.wbg.__wbg_then_e22500defe16819f = function (arg0, arg1) {
1206
1224
  const ret = getObject(arg0).then(getObject(arg1));
1207
1225
  return addHeapObject(ret);
1208
1226
  };
1209
- imports.wbg.__wbg_toString_bc7a05a172b5cf14 = function (arg0) {
1227
+ imports.wbg.__wbg_toString_78df35411a4fd40c = function (arg0) {
1210
1228
  const ret = getObject(arg0).toString();
1211
1229
  return addHeapObject(ret);
1212
1230
  };
1213
- imports.wbg.__wbg_truncate_1b4fd52305f619d7 = function () {
1231
+ imports.wbg.__wbg_truncate_0fe935591188a14c = function () {
1214
1232
  return handleError(function (arg0, arg1) {
1215
1233
  getObject(arg0).truncate(arg1 >>> 0);
1216
1234
  }, arguments);
1217
1235
  };
1218
- imports.wbg.__wbg_type_4b8e99198ce30050 = function (arg0) {
1236
+ imports.wbg.__wbg_type_5f9dd3f303ae4dde = function (arg0) {
1219
1237
  const ret = getObject(arg0).type;
1220
1238
  return (__wbindgen_enum_FileSystemChangeRecordType.indexOf(ret) + 1 || 7) - 1;
1221
1239
  };
1222
- imports.wbg.__wbg_url_e6ed869ea05b7a71 = function (arg0, arg1) {
1240
+ imports.wbg.__wbg_url_e5720dfacf77b05e = function (arg0, arg1) {
1223
1241
  const ret = getObject(arg1).url;
1224
1242
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
1225
1243
  const len1 = WASM_VECTOR_LEN;
1226
1244
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1227
1245
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1228
1246
  };
1229
- imports.wbg.__wbg_value_17b896954e14f896 = function (arg0) {
1247
+ imports.wbg.__wbg_value_ade0f87d71d4aecc = function (arg0) {
1230
1248
  const ret = getObject(arg0).value;
1231
1249
  return addHeapObject(ret);
1232
1250
  };
1233
- imports.wbg.__wbg_value_f8fe3ce05407a213 = function (arg0) {
1251
+ imports.wbg.__wbg_value_dd9372230531eade = function (arg0) {
1234
1252
  const ret = getObject(arg0).value;
1235
1253
  return addHeapObject(ret);
1236
1254
  };
1237
- imports.wbg.__wbg_waitAsync_c3398694eaa5aeab = function (arg0, arg1, arg2) {
1238
- const ret = Atomics.waitAsync(getObject(arg0), arg1 >>> 0, arg2);
1255
+ imports.wbg.__wbg_waitAsync_213e79486ffecd82 = function () {
1256
+ const ret = Atomics.waitAsync;
1239
1257
  return addHeapObject(ret);
1240
1258
  };
1241
- imports.wbg.__wbg_waitAsync_e36f18e2e26c3b7d = function () {
1242
- const ret = Atomics.waitAsync;
1259
+ imports.wbg.__wbg_waitAsync_402c2db0645a44e0 = function (arg0, arg1, arg2) {
1260
+ const ret = Atomics.waitAsync(getObject(arg0), arg1 >>> 0, arg2);
1243
1261
  return addHeapObject(ret);
1244
1262
  };
1245
- imports.wbg.__wbg_warn_90607373221a6b1c = function (arg0, arg1, arg2, arg3) {
1263
+ imports.wbg.__wbg_warn_90eb15d986910fe9 = function (arg0, arg1, arg2, arg3) {
1246
1264
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
1247
1265
  };
1248
- imports.wbg.__wbg_warn_d89f6637da554c8d = function (arg0) {
1266
+ imports.wbg.__wbg_warn_e2ada06313f92f09 = function (arg0) {
1249
1267
  console.warn(getObject(arg0));
1250
1268
  };
1251
- imports.wbg.__wbg_write_20973b686f7a7721 = function () {
1252
- return handleError(function (arg0, arg1, arg2, arg3) {
1253
- const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2), getObject(arg3));
1254
- return ret;
1255
- }, arguments);
1256
- };
1257
- imports.wbg.__wbg_write_d6e7e2433208f1d6 = function () {
1258
- return handleError(function (arg0, arg1, arg2) {
1259
- const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2));
1260
- return ret;
1261
- }, arguments);
1262
- };
1263
- imports.wbg.__wbindgen_array_new = function () {
1264
- const ret = [];
1265
- return addHeapObject(ret);
1266
- };
1267
- imports.wbg.__wbindgen_array_push = function (arg0, arg1) {
1268
- getObject(arg0).push(takeObject(arg1));
1269
- };
1270
- imports.wbg.__wbindgen_bigint_from_i64 = function (arg0) {
1271
- const ret = arg0;
1272
- return addHeapObject(ret);
1273
- };
1274
- imports.wbg.__wbindgen_bigint_from_u64 = function (arg0) {
1275
- const ret = BigInt.asUintN(64, arg0);
1276
- return addHeapObject(ret);
1277
- };
1278
- imports.wbg.__wbindgen_cb_drop = function (arg0) {
1279
- const obj = takeObject(arg0).original;
1269
+ imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function (arg0) {
1270
+ const obj = getObject(arg0).original;
1280
1271
  if (obj.cnt-- == 1) {
1281
1272
  obj.a = 0;
1282
1273
  return true;
@@ -1284,101 +1275,48 @@ function __wbg_get_imports() {
1284
1275
  const ret = false;
1285
1276
  return ret;
1286
1277
  };
1287
- imports.wbg.__wbindgen_closure_wrapper157209 = function (arg0, arg1, arg2) {
1288
- const ret = makeMutClosure(arg0, arg1, 1982, __wbg_adapter_50);
1289
- return addHeapObject(ret);
1290
- };
1291
- imports.wbg.__wbindgen_closure_wrapper158241 = function (arg0, arg1, arg2) {
1292
- const ret = makeMutClosure(arg0, arg1, 1982, __wbg_adapter_50);
1293
- return addHeapObject(ret);
1294
- };
1295
- imports.wbg.__wbindgen_closure_wrapper163205 = function (arg0, arg1, arg2) {
1296
- const ret = makeMutClosure(arg0, arg1, 1982, __wbg_adapter_50);
1297
- return addHeapObject(ret);
1298
- };
1299
- imports.wbg.__wbindgen_closure_wrapper163243 = function (arg0, arg1, arg2) {
1300
- const ret = makeMutClosure(arg0, arg1, 8968, __wbg_adapter_57);
1301
- return addHeapObject(ret);
1302
- };
1303
- imports.wbg.__wbindgen_closure_wrapper163264 = function (arg0, arg1, arg2) {
1304
- const ret = makeMutClosure(arg0, arg1, 8971, __wbg_adapter_47);
1305
- return addHeapObject(ret);
1306
- };
1307
- imports.wbg.__wbindgen_closure_wrapper30617 = function (arg0, arg1, arg2) {
1308
- const ret = makeMutClosure(arg0, arg1, 1982, __wbg_adapter_47);
1309
- return addHeapObject(ret);
1310
- };
1311
- imports.wbg.__wbindgen_closure_wrapper324 = function (arg0, arg1, arg2) {
1312
- const ret = makeClosure(arg0, arg1, 42, __wbg_adapter_44);
1313
- return addHeapObject(ret);
1314
- };
1315
- imports.wbg.__wbindgen_debug_string = function (arg0, arg1) {
1278
+ imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function (arg0, arg1) {
1316
1279
  const ret = debugString(getObject(arg1));
1317
1280
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
1318
1281
  const len1 = WASM_VECTOR_LEN;
1319
1282
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1320
1283
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1321
1284
  };
1322
- imports.wbg.__wbindgen_is_function = function (arg0) {
1285
+ imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function (arg0) {
1323
1286
  const ret = typeof (getObject(arg0)) === 'function';
1324
1287
  return ret;
1325
1288
  };
1326
- imports.wbg.__wbindgen_is_object = function (arg0) {
1289
+ imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function (arg0) {
1327
1290
  const val = getObject(arg0);
1328
1291
  const ret = typeof (val) === 'object' && val !== null;
1329
1292
  return ret;
1330
1293
  };
1331
- imports.wbg.__wbindgen_is_string = function (arg0) {
1294
+ imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function (arg0) {
1332
1295
  const ret = typeof (getObject(arg0)) === 'string';
1333
1296
  return ret;
1334
1297
  };
1335
- imports.wbg.__wbindgen_is_undefined = function (arg0) {
1298
+ imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function (arg0) {
1336
1299
  const ret = getObject(arg0) === undefined;
1337
1300
  return ret;
1338
1301
  };
1339
- imports.wbg.__wbindgen_link_db87ac8434ca3f93 = function (arg0) {
1340
- const val = `onmessage = function (ev) {
1341
- let [ia, index, value] = ev.data;
1342
- ia = new Int32Array(ia.buffer);
1343
- let result = Atomics.wait(ia, index, value);
1344
- postMessage(result);
1345
- };
1346
- `;
1347
- const ret = typeof URL.createObjectURL === 'undefined' ? "data:application/javascript," + encodeURIComponent(val) : URL.createObjectURL(new Blob([val], { type: "text/javascript" }));
1348
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
1349
- const len1 = WASM_VECTOR_LEN;
1350
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1351
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1352
- };
1353
- imports.wbg.__wbindgen_memory = function () {
1302
+ imports.wbg.__wbg_wbindgenmemory_d84da70f7c42d172 = function () {
1354
1303
  const ret = wasm.memory;
1355
1304
  return addHeapObject(ret);
1356
1305
  };
1357
- imports.wbg.__wbindgen_module = function () {
1306
+ imports.wbg.__wbg_wbindgenmodule_7e59019f6366ff9c = function () {
1358
1307
  const ret = __wbg_init.__wbindgen_wasm_module;
1359
1308
  return addHeapObject(ret);
1360
1309
  };
1361
- imports.wbg.__wbindgen_number_get = function (arg0, arg1) {
1310
+ imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function (arg0, arg1) {
1362
1311
  const obj = getObject(arg1);
1363
1312
  const ret = typeof (obj) === 'number' ? obj : undefined;
1364
1313
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1365
1314
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1366
1315
  };
1367
- imports.wbg.__wbindgen_number_new = function (arg0) {
1368
- const ret = arg0;
1369
- return addHeapObject(ret);
1370
- };
1371
- imports.wbg.__wbindgen_object_clone_ref = function (arg0) {
1372
- const ret = getObject(arg0);
1373
- return addHeapObject(ret);
1374
- };
1375
- imports.wbg.__wbindgen_object_drop_ref = function (arg0) {
1376
- takeObject(arg0);
1377
- };
1378
- imports.wbg.__wbindgen_rethrow = function (arg0) {
1316
+ imports.wbg.__wbg_wbindgenrethrow_01815c9239d70cc2 = function (arg0) {
1379
1317
  throw takeObject(arg0);
1380
1318
  };
1381
- imports.wbg.__wbindgen_string_get = function (arg0, arg1) {
1319
+ imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function (arg0, arg1) {
1382
1320
  const obj = getObject(arg1);
1383
1321
  const ret = typeof (obj) === 'string' ? obj : undefined;
1384
1322
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
@@ -1386,23 +1324,115 @@ function __wbg_get_imports() {
1386
1324
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1387
1325
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1388
1326
  };
1389
- imports.wbg.__wbindgen_string_new = function (arg0, arg1) {
1327
+ imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function (arg0, arg1) {
1328
+ throw new Error(getStringFromWasm0(arg0, arg1));
1329
+ };
1330
+ imports.wbg.__wbg_write_9ac6a5f58a8c835c = function () {
1331
+ return handleError(function (arg0, arg1, arg2, arg3) {
1332
+ const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2), getObject(arg3));
1333
+ return ret;
1334
+ }, arguments);
1335
+ };
1336
+ imports.wbg.__wbg_write_b652d19332a4ce1e = function () {
1337
+ return handleError(function (arg0, arg1, arg2) {
1338
+ const ret = getObject(arg0).write(getArrayU8FromWasm0(arg1, arg2));
1339
+ return ret;
1340
+ }, arguments);
1341
+ };
1342
+ imports.wbg.__wbindgen_cast_025aed27710c2518 = function (arg0, arg1) {
1343
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 9056, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 9065, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1344
+ const ret = makeMutClosure(arg0, arg1, 9056, __wbg_adapter_29);
1345
+ return addHeapObject(ret);
1346
+ };
1347
+ imports.wbg.__wbindgen_cast_0e8130195cfa0680 = function (arg0, arg1) {
1348
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1993, function: Function { arguments: [], shim_idx: 1994, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1349
+ const ret = makeMutClosure(arg0, arg1, 1993, __wbg_adapter_9);
1350
+ return addHeapObject(ret);
1351
+ };
1352
+ imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
1353
+ // Cast intrinsic for `Ref(String) -> Externref`.
1390
1354
  const ret = getStringFromWasm0(arg0, arg1);
1391
1355
  return addHeapObject(ret);
1392
1356
  };
1393
- imports.wbg.__wbindgen_throw = function (arg0, arg1) {
1394
- throw new Error(getStringFromWasm0(arg0, arg1));
1357
+ imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
1358
+ // Cast intrinsic for `U64 -> Externref`.
1359
+ const ret = BigInt.asUintN(64, arg0);
1360
+ return addHeapObject(ret);
1361
+ };
1362
+ imports.wbg.__wbindgen_cast_4abc855908e61529 = function (arg0, arg1) {
1363
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 9067, function: Function { arguments: [], shim_idx: 1994, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1364
+ const ret = makeMutClosure(arg0, arg1, 9067, __wbg_adapter_9);
1365
+ return addHeapObject(ret);
1395
1366
  };
1396
- imports.wbg.__wbindgen_uint8_array_new = function (arg0, arg1) {
1367
+ imports.wbg.__wbindgen_cast_68a31acf4586c97f = function (arg0, arg1) {
1368
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8789, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8790, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1369
+ const ret = makeMutClosure(arg0, arg1, 8789, __wbg_adapter_4);
1370
+ return addHeapObject(ret);
1371
+ };
1372
+ imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
1373
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
1374
+ wasm.__wbindgen_export_4(arg0, arg1 * 4, 4);
1375
+ // Cast intrinsic for `Vector(NamedExternref("DirEntry")) -> Externref`.
1376
+ const ret = v0;
1377
+ return addHeapObject(ret);
1378
+ };
1379
+ imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function (arg0, arg1) {
1397
1380
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
1398
1381
  wasm.__wbindgen_export_4(arg0, arg1 * 1, 1);
1382
+ // Cast intrinsic for `Vector(U8) -> Externref`.
1399
1383
  const ret = v0;
1400
1384
  return addHeapObject(ret);
1401
1385
  };
1386
+ imports.wbg.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
1387
+ // Cast intrinsic for `I64 -> Externref`.
1388
+ const ret = arg0;
1389
+ return addHeapObject(ret);
1390
+ };
1391
+ imports.wbg.__wbindgen_cast_a01a04b45c08d0e8 = function (arg0, arg1) {
1392
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8789, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 8790, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1393
+ const ret = makeMutClosure(arg0, arg1, 8789, __wbg_adapter_4);
1394
+ return addHeapObject(ret);
1395
+ };
1396
+ imports.wbg.__wbindgen_cast_c0785ac30e0427e1 = function (arg0, arg1) {
1397
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8789, function: Function { arguments: [Externref], shim_idx: 8790, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1398
+ const ret = makeMutClosure(arg0, arg1, 8789, __wbg_adapter_4);
1399
+ return addHeapObject(ret);
1400
+ };
1401
+ imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
1402
+ // Cast intrinsic for `F64 -> Externref`.
1403
+ const ret = arg0;
1404
+ return addHeapObject(ret);
1405
+ };
1406
+ imports.wbg.__wbindgen_cast_ec0f8eccb37f735c = function (arg0, arg1) {
1407
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 9056, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 9057, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1408
+ const ret = makeClosure(arg0, arg1, 9056, __wbg_adapter_20);
1409
+ return addHeapObject(ret);
1410
+ };
1411
+ imports.wbg.__wbindgen_link_dd5153a359f2e504 = function (arg0) {
1412
+ const val = `onmessage = function (ev) {
1413
+ let [ia, index, value] = ev.data;
1414
+ ia = new Int32Array(ia.buffer);
1415
+ let result = Atomics.wait(ia, index, value);
1416
+ postMessage(result);
1417
+ };
1418
+ `;
1419
+ const ret = typeof URL.createObjectURL === 'undefined' ? "data:application/javascript," + encodeURIComponent(val) : URL.createObjectURL(new Blob([val], { type: "text/javascript" }));
1420
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
1421
+ const len1 = WASM_VECTOR_LEN;
1422
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1423
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1424
+ };
1425
+ imports.wbg.__wbindgen_object_clone_ref = function (arg0) {
1426
+ const ret = getObject(arg0);
1427
+ return addHeapObject(ret);
1428
+ };
1429
+ imports.wbg.__wbindgen_object_drop_ref = function (arg0) {
1430
+ takeObject(arg0);
1431
+ };
1402
1432
  return imports;
1403
1433
  }
1404
1434
  function __wbg_init_memory(imports, memory) {
1405
- imports.wbg.memory = memory || new WebAssembly.Memory({ initial: 172, maximum: 16384, shared: true });
1435
+ imports.wbg.memory = memory || new WebAssembly.Memory({ initial: 116, maximum: 16384, shared: true });
1406
1436
  }
1407
1437
  function __wbg_finalize_init(instance, module, thread_stack_size) {
1408
1438
  wasm = instance.exports;