@kuncat/avoidant 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +26 -0
  2. package/dist/components/AvoidantGame.svelte +226 -137
  3. package/dist/components/IdleBillboard.svelte +27 -0
  4. package/dist/components/IdleBillboard.svelte.d.ts +8 -0
  5. package/dist/components/board.svelte +245 -99
  6. package/dist/components/board.svelte.d.ts +3 -0
  7. package/dist/components/fragment.glsl +29 -19
  8. package/dist/components/terrain-depth-sort.d.ts +17 -0
  9. package/dist/components/terrain-depth-sort.js +63 -0
  10. package/dist/components/vertex.glsl +12 -7
  11. package/dist/generated/shared-constants.d.ts +0 -3
  12. package/dist/generated/shared-constants.js +0 -3
  13. package/dist/paraglide/messages/_index.d.ts +14 -0
  14. package/dist/paraglide/messages/_index.js +15 -1
  15. package/dist/paraglide/messages/cells_per_face.d.ts +18 -0
  16. package/dist/paraglide/messages/cells_per_face.js +29 -0
  17. package/dist/paraglide/messages/faces_count.d.ts +18 -0
  18. package/dist/paraglide/messages/faces_count.js +29 -0
  19. package/dist/paraglide/messages/field_cell_density.d.ts +16 -0
  20. package/dist/paraglide/messages/field_cell_density.js +29 -0
  21. package/dist/paraglide/messages/field_map_shape.d.ts +16 -0
  22. package/dist/paraglide/messages/field_map_shape.js +29 -0
  23. package/dist/paraglide/messages/field_radius.d.ts +16 -0
  24. package/dist/paraglide/messages/field_radius.js +29 -0
  25. package/dist/paraglide/messages/field_radius_x.d.ts +16 -0
  26. package/dist/paraglide/messages/field_radius_x.js +29 -0
  27. package/dist/paraglide/messages/field_radius_y.d.ts +16 -0
  28. package/dist/paraglide/messages/field_radius_y.js +29 -0
  29. package/dist/paraglide/messages/field_radius_z.d.ts +16 -0
  30. package/dist/paraglide/messages/field_radius_z.js +29 -0
  31. package/dist/paraglide/messages/field_spikiness.d.ts +16 -0
  32. package/dist/paraglide/messages/field_spikiness.js +29 -0
  33. package/dist/paraglide/messages/field_subdivisions.d.ts +16 -0
  34. package/dist/paraglide/messages/field_subdivisions.js +29 -0
  35. package/dist/paraglide/messages/field_surface_detail.d.ts +16 -0
  36. package/dist/paraglide/messages/field_surface_detail.js +29 -0
  37. package/dist/paraglide/messages/shape_label.d.ts +26 -0
  38. package/dist/paraglide/messages/shape_label.js +55 -0
  39. package/dist/paraglide/messages/text_density_summary.d.ts +19 -0
  40. package/dist/paraglide/messages/text_density_summary.js +29 -0
  41. package/dist/paraglide/messages/text_invite_after_opening.d.ts +16 -0
  42. package/dist/paraglide/messages/text_invite_after_opening.js +29 -0
  43. package/dist/troika-webgl2-atlas.d.ts +33 -0
  44. package/dist/troika-webgl2-atlas.js +65 -0
  45. package/dist/wasm/avoidant_wasm.d.ts +77 -35
  46. package/dist/wasm/avoidant_wasm.js +236 -223
  47. package/dist/wasm/avoidant_wasm_bg.wasm +0 -0
  48. package/dist/wasm/avoidant_wasm_bg.wasm.d.ts +27 -27
  49. package/dist/workers/mapgen-client.js +2 -0
  50. package/dist/workers/mapgen.worker.d.ts +2 -0
  51. package/dist/workers/mapgen.worker.js +3 -0
  52. package/package.json +1 -1
@@ -40,7 +40,7 @@ export class Channel {
40
40
  */
41
41
  neighbors() {
42
42
  const ret = wasm.channel_neighbors(this.__wbg_ptr);
43
- var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
43
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
44
44
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
45
45
  return v1;
46
46
  }
@@ -181,7 +181,7 @@ export class GameState {
181
181
  const ret = wasm.gamestate_endpointId(this.__wbg_ptr);
182
182
  let v1;
183
183
  if (ret[0] !== 0) {
184
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
184
+ v1 = getStringFromWasm0(ret[0], ret[1]);
185
185
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
186
186
  }
187
187
  return v1;
@@ -220,7 +220,7 @@ export class GameState {
220
220
  *
221
221
  * The caller is responsible for having populated the map cells (typically
222
222
  * via [`GameState::apply_map_cells`]) before invoking this; the function
223
- * only concerns itself with bringing the network layer online.
223
+ * waits for an authoritative snapshot before allowing gameplay.
224
224
  * @param {string} ticket
225
225
  * @param {string} nickname
226
226
  * @returns {Promise<void>}
@@ -259,7 +259,7 @@ export class GameState {
259
259
  */
260
260
  get networkPeers() {
261
261
  const ret = wasm.gamestate_networkPeers(this.__wbg_ptr);
262
- var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
262
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]);
263
263
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
264
264
  return v1;
265
265
  }
@@ -308,7 +308,7 @@ export class GameState {
308
308
  }
309
309
  }
310
310
  /**
311
- * TODO(peer-join-sync): when peer-join state sync is implemented, the inviter should snapshot this store and send it alongside `cell_metadata` so a joining peer starts with the correct score, streak, and counters.
311
+ * Canonical score, synchronized from the host independently of reveal animations.
312
312
  * @returns {Readable<ScoreState>}
313
313
  */
314
314
  get score() {
@@ -322,7 +322,7 @@ export class GameState {
322
322
  const ret = wasm.gamestate_topicId(this.__wbg_ptr);
323
323
  let v1;
324
324
  if (ret[0] !== 0) {
325
- v1 = getStringFromWasm0(ret[0], ret[1]).slice();
325
+ v1 = getStringFromWasm0(ret[0], ret[1]);
326
326
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
327
327
  }
328
328
  return v1;
@@ -627,7 +627,7 @@ export class UiState {
627
627
  if (Symbol.dispose) UiState.prototype[Symbol.dispose] = UiState.prototype.free;
628
628
 
629
629
  /**
630
- * Build map cells and a subdivided terrain triangle mesh.
630
+ * Build map cells and the subdivided terrain triangle mesh.
631
631
  * @param {GameOptions} options
632
632
  * @returns {MapData}
633
633
  */
@@ -645,11 +645,11 @@ export function start() {
645
645
  function __wbg_get_imports() {
646
646
  const import0 = {
647
647
  __proto__: null,
648
- __wbg_Error_ef53bc310eb298a0: function(arg0, arg1) {
648
+ __wbg_Error_67e7344beaa85059: function(arg0, arg1) {
649
649
  const ret = Error(getStringFromWasm0(arg0, arg1));
650
650
  return ret;
651
651
  },
652
- __wbg_Number_6b506e6536831eaa: function(arg0) {
652
+ __wbg_Number_c54e7112a3fa7e3e: function(arg0) {
653
653
  const ret = Number(arg0);
654
654
  return ret;
655
655
  },
@@ -660,68 +660,68 @@ function __wbg_get_imports() {
660
660
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
661
661
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
662
662
  },
663
- __wbg___wbindgen_bigint_get_as_i64_38130e98eecd467d: function(arg0, arg1) {
663
+ __wbg___wbindgen_bigint_get_as_i64_b482365c149396c8: function(arg0, arg1) {
664
664
  const v = arg1;
665
665
  const ret = typeof(v) === 'bigint' ? v : undefined;
666
666
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
667
667
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
668
668
  },
669
- __wbg___wbindgen_boolean_get_1a45e2c38d4d41b9: function(arg0) {
669
+ __wbg___wbindgen_boolean_get_7a12af2b3f899c5a: function(arg0) {
670
670
  const v = arg0;
671
671
  const ret = typeof(v) === 'boolean' ? v : undefined;
672
672
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
673
673
  },
674
- __wbg___wbindgen_debug_string_0accd80f45e5faa2: function(arg0, arg1) {
674
+ __wbg___wbindgen_debug_string_0e68cf47c9cbd9b0: function(arg0, arg1) {
675
675
  const ret = debugString(arg1);
676
676
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
677
677
  const len1 = WASM_VECTOR_LEN;
678
678
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
679
679
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
680
680
  },
681
- __wbg___wbindgen_in_70a403a56e771704: function(arg0, arg1) {
681
+ __wbg___wbindgen_in_50072d4d6e45c193: function(arg0, arg1) {
682
682
  const ret = arg0 in arg1;
683
683
  return ret;
684
684
  },
685
- __wbg___wbindgen_is_bigint_6ffd6468a9bc44b9: function(arg0) {
685
+ __wbg___wbindgen_is_bigint_60fc0336cb14f5d7: function(arg0) {
686
686
  const ret = typeof(arg0) === 'bigint';
687
687
  return ret;
688
688
  },
689
- __wbg___wbindgen_is_function_754e9f305ff6029e: function(arg0) {
689
+ __wbg___wbindgen_is_function_fcda5e3902d732fe: function(arg0) {
690
690
  const ret = typeof(arg0) === 'function';
691
691
  return ret;
692
692
  },
693
- __wbg___wbindgen_is_null_87c3bfe968c6a5ad: function(arg0) {
693
+ __wbg___wbindgen_is_null_5160b3e381865372: function(arg0) {
694
694
  const ret = arg0 === null;
695
695
  return ret;
696
696
  },
697
- __wbg___wbindgen_is_object_56732c2bc353f41d: function(arg0) {
697
+ __wbg___wbindgen_is_object_edb6b15aa3afe12e: function(arg0) {
698
698
  const val = arg0;
699
699
  const ret = typeof(val) === 'object' && val !== null;
700
700
  return ret;
701
701
  },
702
- __wbg___wbindgen_is_string_c236cabd84a4d769: function(arg0) {
702
+ __wbg___wbindgen_is_string_c4f7cb494a2a21f1: function(arg0) {
703
703
  const ret = typeof(arg0) === 'string';
704
704
  return ret;
705
705
  },
706
- __wbg___wbindgen_is_undefined_67b456be8673d3d7: function(arg0) {
706
+ __wbg___wbindgen_is_undefined_8c687d0b90d5b524: function(arg0) {
707
707
  const ret = arg0 === undefined;
708
708
  return ret;
709
709
  },
710
- __wbg___wbindgen_jsval_eq_1068e624fa87f6ab: function(arg0, arg1) {
710
+ __wbg___wbindgen_jsval_eq_9fdcd3c0a860dd3b: function(arg0, arg1) {
711
711
  const ret = arg0 === arg1;
712
712
  return ret;
713
713
  },
714
- __wbg___wbindgen_jsval_loose_eq_2c56564c75129511: function(arg0, arg1) {
714
+ __wbg___wbindgen_jsval_loose_eq_3c30021c243b64cd: function(arg0, arg1) {
715
715
  const ret = arg0 == arg1;
716
716
  return ret;
717
717
  },
718
- __wbg___wbindgen_number_get_9bb1761122181af2: function(arg0, arg1) {
718
+ __wbg___wbindgen_number_get_1dc732b810cb937c: function(arg0, arg1) {
719
719
  const obj = arg1;
720
720
  const ret = typeof(obj) === 'number' ? obj : undefined;
721
721
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
722
722
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
723
723
  },
724
- __wbg___wbindgen_string_get_72bdf95d3ae505b1: function(arg0, arg1) {
724
+ __wbg___wbindgen_string_get_92ab86bb19cbc12f: function(arg0, arg1) {
725
725
  const obj = arg1;
726
726
  const ret = typeof(obj) === 'string' ? obj : undefined;
727
727
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -729,61 +729,61 @@ function __wbg_get_imports() {
729
729
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
730
730
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
731
731
  },
732
- __wbg___wbindgen_throw_1506f2235d1bdba0: function(arg0, arg1) {
732
+ __wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
733
733
  throw new Error(getStringFromWasm0(arg0, arg1));
734
734
  },
735
- __wbg__wbg_cb_unref_61db23ac97f16c31: function(arg0) {
735
+ __wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
736
736
  arg0._wbg_cb_unref();
737
737
  },
738
- __wbg_abort_2ec46222bf378517: function(arg0) {
739
- arg0.abort();
740
- },
741
- __wbg_abort_b29d719932441c95: function(arg0, arg1) {
738
+ __wbg_abort_03f8c5804715cb9a: function(arg0, arg1) {
742
739
  arg0.abort(arg1);
743
740
  },
744
- __wbg_addEventListener_b8b20954e04ea19f: function() { return handleError(function (arg0, arg1, arg2, arg3) {
741
+ __wbg_abort_76dea11221098ae5: function(arg0) {
742
+ arg0.abort();
743
+ },
744
+ __wbg_addEventListener_ca7d80a9d782e9ac: function() { return handleError(function (arg0, arg1, arg2, arg3) {
745
745
  arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
746
746
  }, arguments); },
747
- __wbg_append_e1746995edcb0170: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
747
+ __wbg_append_8e87c13f0f08f8cd: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
748
748
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
749
749
  }, arguments); },
750
- __wbg_arrayBuffer_05927079aabe6d46: function() { return handleError(function (arg0) {
750
+ __wbg_arrayBuffer_06f3da76f071d37f: function() { return handleError(function (arg0) {
751
751
  const ret = arg0.arrayBuffer();
752
752
  return ret;
753
753
  }, arguments); },
754
- __wbg_body_61a0827da5b6d2bc: function(arg0) {
754
+ __wbg_body_9ee03724e9ad0639: function(arg0) {
755
755
  const ret = arg0.body;
756
756
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
757
757
  },
758
- __wbg_buffer_d370c8cae5692933: function(arg0) {
758
+ __wbg_buffer_4a989bded7035f57: function(arg0) {
759
759
  const ret = arg0.buffer;
760
760
  return ret;
761
761
  },
762
- __wbg_byobRequest_2c89fb4ab478fa09: function(arg0) {
762
+ __wbg_byobRequest_f161fc37241dd3d4: function(arg0) {
763
763
  const ret = arg0.byobRequest;
764
764
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
765
765
  },
766
- __wbg_byteLength_2c6dc3b4b85d3547: function(arg0) {
766
+ __wbg_byteLength_0ddb1795e2c7e689: function(arg0) {
767
767
  const ret = arg0.byteLength;
768
768
  return ret;
769
769
  },
770
- __wbg_byteOffset_349aa9bf0a183eca: function(arg0) {
770
+ __wbg_byteOffset_46eb015f52b6ad7d: function(arg0) {
771
771
  const ret = arg0.byteOffset;
772
772
  return ret;
773
773
  },
774
- __wbg_call_8a89609d89f6608a: function() { return handleError(function (arg0, arg1) {
774
+ __wbg_call_269c5566fbede3eb: function() { return handleError(function (arg0, arg1) {
775
775
  const ret = arg0.call(arg1);
776
776
  return ret;
777
777
  }, arguments); },
778
- __wbg_call_9c758de292015997: function() { return handleError(function (arg0, arg1, arg2) {
778
+ __wbg_call_6bcf8d3e20937e46: function() { return handleError(function (arg0, arg1, arg2) {
779
779
  const ret = arg0.call(arg1, arg2);
780
780
  return ret;
781
781
  }, arguments); },
782
- __wbg_cancel_3dedc1c2245a59d4: function(arg0) {
782
+ __wbg_cancel_c076350a7e8954be: function(arg0) {
783
783
  const ret = arg0.cancel();
784
784
  return ret;
785
785
  },
786
- __wbg_catch_17ae9c6dfb88ad8a: function(arg0, arg1) {
786
+ __wbg_catch_e2134ef6dcdb69ed: function(arg0, arg1) {
787
787
  const ret = arg0.catch(arg1);
788
788
  return ret;
789
789
  },
@@ -791,27 +791,27 @@ function __wbg_get_imports() {
791
791
  const ret = Channel.__wrap(arg0);
792
792
  return ret;
793
793
  },
794
- __wbg_clearTimeout_333bba87532ab9d3: function(arg0) {
794
+ __wbg_clearTimeout_1daad5c6ee4fcd3b: function(arg0) {
795
795
  const ret = clearTimeout(arg0);
796
796
  return ret;
797
797
  },
798
798
  __wbg_clearTimeout_47a40e3be01ed7a3: function() { return handleError(function (arg0, arg1) {
799
799
  arg0.clearTimeout(arg1);
800
800
  }, arguments); },
801
- __wbg_close_4859304bbf0f8208: function() { return handleError(function (arg0) {
801
+ __wbg_close_22882088c136df25: function() { return handleError(function (arg0) {
802
802
  arg0.close();
803
803
  }, arguments); },
804
- __wbg_close_6f12196fe155e8d2: function() { return handleError(function (arg0) {
804
+ __wbg_close_8b609460dd26e367: function() { return handleError(function (arg0) {
805
805
  arg0.close();
806
806
  }, arguments); },
807
- __wbg_close_9acc00cbca310439: function() { return handleError(function (arg0) {
807
+ __wbg_close_a009f540ff811039: function() { return handleError(function (arg0) {
808
808
  arg0.close();
809
809
  }, arguments); },
810
- __wbg_code_27a1f220ebdc7c36: function(arg0) {
810
+ __wbg_code_0589939084228780: function(arg0) {
811
811
  const ret = arg0.code;
812
812
  return ret;
813
813
  },
814
- __wbg_code_dcc2ccc631d1fc5c: function(arg0) {
814
+ __wbg_code_6bc89190cbffee9e: function(arg0) {
815
815
  const ret = arg0.code;
816
816
  return ret;
817
817
  },
@@ -819,36 +819,36 @@ function __wbg_get_imports() {
819
819
  const ret = arg0.crypto;
820
820
  return ret;
821
821
  },
822
- __wbg_data_bd354b70c783c66e: function(arg0) {
822
+ __wbg_data_aa7ba49b34c0d883: function(arg0) {
823
823
  const ret = arg0.data;
824
824
  return ret;
825
825
  },
826
- __wbg_debug_eaef3b49d572d680: function(arg0, arg1) {
827
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
826
+ __wbg_debug_d3d0e490f96087b4: function(arg0, arg1) {
827
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1);
828
828
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
829
- console.debug(...v0);
829
+ console.debug(...(v0));
830
830
  },
831
- __wbg_done_60cf307fcc680536: function(arg0) {
831
+ __wbg_done_cffed884d87aa22e: function(arg0) {
832
832
  const ret = arg0.done;
833
833
  return ret;
834
834
  },
835
- __wbg_enqueue_09035479e2081625: function() { return handleError(function (arg0, arg1) {
835
+ __wbg_enqueue_6cb545d22db14f33: function() { return handleError(function (arg0, arg1) {
836
836
  arg0.enqueue(arg1);
837
837
  }, arguments); },
838
- __wbg_entries_04b37a02507f1713: function(arg0) {
838
+ __wbg_entries_972a87586902cf87: function(arg0) {
839
839
  const ret = Object.entries(arg0);
840
840
  return ret;
841
841
  },
842
- __wbg_entries_18ec04521d5991e6: function(arg0) {
842
+ __wbg_entries_f9de04c09a57314e: function(arg0) {
843
843
  const ret = arg0.entries();
844
844
  return ret;
845
845
  },
846
- __wbg_error_71b0e71161a5f3a0: function(arg0, arg1) {
847
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
846
+ __wbg_error_2509b4a5fa2a453c: function(arg0, arg1) {
847
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1);
848
848
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
849
- console.error(...v0);
849
+ console.error(...(v0));
850
850
  },
851
- __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
851
+ __wbg_error_757e9472f8410341: function(arg0, arg1) {
852
852
  let deferred0_0;
853
853
  let deferred0_1;
854
854
  try {
@@ -859,15 +859,15 @@ function __wbg_get_imports() {
859
859
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
860
860
  }
861
861
  },
862
- __wbg_fetch_074561c3e313c86f: function(arg0) {
862
+ __wbg_fetch_7a37768ab67c5bd8: function(arg0) {
863
863
  const ret = fetch(arg0);
864
864
  return ret;
865
865
  },
866
- __wbg_fetch_344c8d3849002659: function(arg0, arg1) {
866
+ __wbg_fetch_920242d59bac2026: function(arg0, arg1) {
867
867
  const ret = arg0.fetch(arg1);
868
868
  return ret;
869
869
  },
870
- __wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
870
+ __wbg_getRandomValues_436a51d0629d84e1: function() { return handleError(function (arg0, arg1) {
871
871
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
872
872
  }, arguments); },
873
873
  __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
@@ -877,27 +877,27 @@ function __wbg_get_imports() {
877
877
  const ret = arg0.getReader();
878
878
  return ret;
879
879
  }, arguments); },
880
- __wbg_get_1f8f054ddbaa7db2: function() { return handleError(function (arg0, arg1) {
880
+ __wbg_get_6cf5a4d4d8ad3c5a: function() { return handleError(function (arg0, arg1) {
881
881
  const ret = Reflect.get(arg0, arg1);
882
882
  return ret;
883
883
  }, arguments); },
884
- __wbg_get_2b48c7d0d006a781: function(arg0, arg1) {
885
- const ret = arg0[arg1 >>> 0];
886
- return ret;
887
- },
888
- __wbg_get_de6a0f7d4d18a304: function() { return handleError(function (arg0, arg1) {
884
+ __wbg_get_989d0a1309644f2b: function() { return handleError(function (arg0, arg1) {
889
885
  const ret = Reflect.get(arg0, arg1);
890
886
  return ret;
891
887
  }, arguments); },
892
- __wbg_get_done_ea9eb315d4ec1e81: function(arg0) {
888
+ __wbg_get_b1f0ab13c737f856: function(arg0, arg1) {
889
+ const ret = arg0[arg1 >>> 0];
890
+ return ret;
891
+ },
892
+ __wbg_get_done_a668aa62d81fad70: function(arg0) {
893
893
  const ret = arg0.done;
894
894
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
895
895
  },
896
- __wbg_get_unchecked_33f6e5c9e2f2d6b2: function(arg0, arg1) {
896
+ __wbg_get_unchecked_363572bdd397d473: function(arg0, arg1) {
897
897
  const ret = arg0[arg1 >>> 0];
898
898
  return ret;
899
899
  },
900
- __wbg_get_value_c68fe2e1a76c69ca: function(arg0) {
900
+ __wbg_get_value_6c62a77c168d825a: function(arg0) {
901
901
  const ret = arg0.value;
902
902
  return ret;
903
903
  },
@@ -905,15 +905,15 @@ function __wbg_get_imports() {
905
905
  const ret = arg0[arg1];
906
906
  return ret;
907
907
  },
908
- __wbg_has_73740b27f436fed3: function() { return handleError(function (arg0, arg1) {
908
+ __wbg_has_464f8b9416279d65: function() { return handleError(function (arg0, arg1) {
909
909
  const ret = Reflect.has(arg0, arg1);
910
910
  return ret;
911
911
  }, arguments); },
912
- __wbg_headers_0feb63d2d374b44a: function(arg0) {
912
+ __wbg_headers_2594464ff62969f3: function(arg0) {
913
913
  const ret = arg0.headers;
914
914
  return ret;
915
915
  },
916
- __wbg_instanceof_ArrayBuffer_8f49811467741499: function(arg0) {
916
+ __wbg_instanceof_ArrayBuffer_d4ff01f8247925ae: function(arg0) {
917
917
  let result;
918
918
  try {
919
919
  result = arg0 instanceof ArrayBuffer;
@@ -923,7 +923,7 @@ function __wbg_get_imports() {
923
923
  const ret = result;
924
924
  return ret;
925
925
  },
926
- __wbg_instanceof_Blob_f6321ce92d2740fd: function(arg0) {
926
+ __wbg_instanceof_Blob_38df052cf775f822: function(arg0) {
927
927
  let result;
928
928
  try {
929
929
  result = arg0 instanceof Blob;
@@ -933,7 +933,7 @@ function __wbg_get_imports() {
933
933
  const ret = result;
934
934
  return ret;
935
935
  },
936
- __wbg_instanceof_Map_9fc06d9a951bcee6: function(arg0) {
936
+ __wbg_instanceof_Map_1ff6a2b54c899f0d: function(arg0) {
937
937
  let result;
938
938
  try {
939
939
  result = arg0 instanceof Map;
@@ -943,7 +943,7 @@ function __wbg_get_imports() {
943
943
  const ret = result;
944
944
  return ret;
945
945
  },
946
- __wbg_instanceof_Response_cb984bd66d7bd408: function(arg0) {
946
+ __wbg_instanceof_Response_6366a785e400039b: function(arg0) {
947
947
  let result;
948
948
  try {
949
949
  result = arg0 instanceof Response;
@@ -953,7 +953,7 @@ function __wbg_get_imports() {
953
953
  const ret = result;
954
954
  return ret;
955
955
  },
956
- __wbg_instanceof_Uint8Array_86f30649f63ef9c2: function(arg0) {
956
+ __wbg_instanceof_Uint8Array_598adc0fef426aa8: function(arg0) {
957
957
  let result;
958
958
  try {
959
959
  result = arg0 instanceof Uint8Array;
@@ -963,32 +963,32 @@ function __wbg_get_imports() {
963
963
  const ret = result;
964
964
  return ret;
965
965
  },
966
- __wbg_isArray_67c2c9c4313f4448: function(arg0) {
966
+ __wbg_isArray_5674713bb7b79043: function(arg0) {
967
967
  const ret = Array.isArray(arg0);
968
968
  return ret;
969
969
  },
970
- __wbg_isSafeInteger_66acec27e09e99a7: function(arg0) {
970
+ __wbg_isSafeInteger_8f51c743827d1ec5: function(arg0) {
971
971
  const ret = Number.isSafeInteger(arg0);
972
972
  return ret;
973
973
  },
974
- __wbg_iterator_8732428d309e270e: function() {
974
+ __wbg_iterator_22ddeb808cf55a6f: function() {
975
975
  const ret = Symbol.iterator;
976
976
  return ret;
977
977
  },
978
- __wbg_length_4a591ecaa01354d9: function(arg0) {
978
+ __wbg_length_31bdaf014f5fbde2: function(arg0) {
979
979
  const ret = arg0.length;
980
980
  return ret;
981
981
  },
982
- __wbg_length_66f1a4b2e9026940: function(arg0) {
982
+ __wbg_length_4e1adc0d42e23620: function(arg0) {
983
983
  const ret = arg0.length;
984
984
  return ret;
985
985
  },
986
- __wbg_log_7a0760e115750083: function(arg0, arg1) {
987
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
986
+ __wbg_log_c62f48ee85b1639e: function(arg0, arg1) {
987
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1);
988
988
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
989
- console.log(...v0);
989
+ console.log(...(v0));
990
990
  },
991
- __wbg_message_60b50f96f056eb26: function(arg0, arg1) {
991
+ __wbg_message_d6ab3d8a5aedce1c: function(arg0, arg1) {
992
992
  const ret = arg1.message;
993
993
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
994
994
  const len1 = WASM_VECTOR_LEN;
@@ -1003,50 +1003,50 @@ function __wbg_get_imports() {
1003
1003
  const ret = NetworkNode.__wrap(arg0);
1004
1004
  return ret;
1005
1005
  },
1006
- __wbg_new_0d09705104e164af: function() { return handleError(function () {
1007
- const ret = new AbortController();
1006
+ __wbg_new_0afe64b4dc16ab74: function() { return handleError(function () {
1007
+ const ret = new Headers();
1008
1008
  return ret;
1009
1009
  }, arguments); },
1010
+ __wbg_new_1da3429bc3c4541c: function(arg0) {
1011
+ const ret = new Uint8Array(arg0);
1012
+ return ret;
1013
+ },
1010
1014
  __wbg_new_227d7c05414eb861: function() {
1011
1015
  const ret = new Error();
1012
1016
  return ret;
1013
1017
  },
1014
- __wbg_new_50bb5ebeecef71a8: function(arg0, arg1) {
1018
+ __wbg_new_82926b2a4d30e175: function() { return handleError(function (arg0, arg1) {
1019
+ const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
1020
+ return ret;
1021
+ }, arguments); },
1022
+ __wbg_new_a32a1ab6c6655abe: function(arg0, arg1) {
1015
1023
  const ret = new Error(getStringFromWasm0(arg0, arg1));
1016
1024
  return ret;
1017
1025
  },
1018
- __wbg_new_578aeef4b6b94378: function(arg0) {
1019
- const ret = new Uint8Array(arg0);
1026
+ __wbg_new_baa0a0207935dd43: function() { return handleError(function () {
1027
+ const ret = new AbortController();
1020
1028
  return ret;
1021
- },
1022
- __wbg_new_ce1ab61c1c2b300d: function() {
1029
+ }, arguments); },
1030
+ __wbg_new_bebc3f4757acf305: function() {
1023
1031
  const ret = new Object();
1024
1032
  return ret;
1025
1033
  },
1026
- __wbg_new_d7e476b433a26bea: function() { return handleError(function (arg0, arg1) {
1027
- const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
1028
- return ret;
1029
- }, arguments); },
1030
- __wbg_new_d90091b82fdf5b91: function() {
1034
+ __wbg_new_ffa92086ea89f79c: function() {
1031
1035
  const ret = new Array();
1032
1036
  return ret;
1033
1037
  },
1034
- __wbg_new_e436d06bc8e77460: function() { return handleError(function () {
1035
- const ret = new Headers();
1036
- return ret;
1037
- }, arguments); },
1038
- __wbg_new_from_slice_18fa1f71286d66b8: function(arg0, arg1) {
1038
+ __wbg_new_from_slice_4ee02165f9de919e: function(arg0, arg1) {
1039
1039
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1040
1040
  return ret;
1041
1041
  },
1042
- __wbg_new_typed_bf31d18f92484486: function(arg0, arg1) {
1042
+ __wbg_new_typed_6f8b0d724fe26c07: function(arg0, arg1) {
1043
1043
  try {
1044
1044
  var state0 = {a: arg0, b: arg1};
1045
1045
  var cb0 = (arg0, arg1) => {
1046
1046
  const a = state0.a;
1047
1047
  state0.a = 0;
1048
1048
  try {
1049
- return wasm_bindgen__convert__closures_____invoke__h299fd98c162ada8d(a, state0.b, arg0, arg1);
1049
+ return wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___js_sys_2872832c11c194f9___Function_fn_wasm_bindgen_6ded4d2ca8032970___JsValue_____wasm_bindgen_6ded4d2ca8032970___sys__Undefined___js_sys_2872832c11c194f9___Function_fn_wasm_bindgen_6ded4d2ca8032970___JsValue_____wasm_bindgen_6ded4d2ca8032970___sys__Undefined_______true_(a, state0.b, arg0, arg1);
1050
1050
  } finally {
1051
1051
  state0.a = a;
1052
1052
  }
@@ -1057,7 +1057,7 @@ function __wbg_get_imports() {
1057
1057
  state0.a = 0;
1058
1058
  }
1059
1059
  },
1060
- __wbg_new_with_byte_offset_and_length_d836f26d916dd9ad: function(arg0, arg1, arg2) {
1060
+ __wbg_new_with_byte_offset_and_length_492c969e8b5da8a4: function(arg0, arg1, arg2) {
1061
1061
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1062
1062
  return ret;
1063
1063
  },
@@ -1065,23 +1065,23 @@ function __wbg_get_imports() {
1065
1065
  const ret = new ReadableStream(IntoUnderlyingSource.__wrap(arg0), arg1);
1066
1066
  return ret;
1067
1067
  },
1068
- __wbg_new_with_length_36a4998e27b014c5: function(arg0) {
1068
+ __wbg_new_with_length_5ffeddb9d9fbb96f: function(arg0) {
1069
1069
  const ret = new Uint8Array(arg0 >>> 0);
1070
1070
  return ret;
1071
1071
  },
1072
- __wbg_new_with_str_and_init_bcd02b79a793d27f: function() { return handleError(function (arg0, arg1, arg2) {
1072
+ __wbg_new_with_str_and_init_2f31a77deda127fd: function() { return handleError(function (arg0, arg1, arg2) {
1073
1073
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
1074
1074
  return ret;
1075
1075
  }, arguments); },
1076
- __wbg_new_with_str_sequence_9ed2327430efed8d: function() { return handleError(function (arg0, arg1, arg2) {
1076
+ __wbg_new_with_str_sequence_9ab4875494df9d99: function() { return handleError(function (arg0, arg1, arg2) {
1077
1077
  const ret = new WebSocket(getStringFromWasm0(arg0, arg1), arg2);
1078
1078
  return ret;
1079
1079
  }, arguments); },
1080
- __wbg_next_9e03acdf51c4960d: function(arg0) {
1080
+ __wbg_next_95053e306b1c3aed: function(arg0) {
1081
1081
  const ret = arg0.next;
1082
1082
  return ret;
1083
1083
  },
1084
- __wbg_next_eb8ca7351fa27906: function() { return handleError(function (arg0) {
1084
+ __wbg_next_f31ecb8646d2c605: function() { return handleError(function (arg0) {
1085
1085
  const ret = arg0.next();
1086
1086
  return ret;
1087
1087
  }, arguments); },
@@ -1089,7 +1089,7 @@ function __wbg_get_imports() {
1089
1089
  const ret = arg0.node;
1090
1090
  return ret;
1091
1091
  },
1092
- __wbg_now_190933fa139cc119: function() {
1092
+ __wbg_now_d1fb6650485d7f3e: function() {
1093
1093
  const ret = Date.now();
1094
1094
  return ret;
1095
1095
  },
@@ -1097,7 +1097,7 @@ function __wbg_get_imports() {
1097
1097
  const ret = arg0.now();
1098
1098
  return ret;
1099
1099
  },
1100
- __wbg_parse_03863847d06c4e89: function() { return handleError(function (arg0, arg1) {
1100
+ __wbg_parse_6937a9050adfb0e1: function() { return handleError(function (arg0, arg1) {
1101
1101
  const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
1102
1102
  return ret;
1103
1103
  }, arguments); },
@@ -1109,135 +1109,141 @@ function __wbg_get_imports() {
1109
1109
  const ret = arg0.process;
1110
1110
  return ret;
1111
1111
  },
1112
- __wbg_protocol_563b94a4dcfb4d0d: function(arg0, arg1) {
1112
+ __wbg_protocol_b76b26f89befc411: function(arg0, arg1) {
1113
1113
  const ret = arg1.protocol;
1114
1114
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1115
1115
  const len1 = WASM_VECTOR_LEN;
1116
1116
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1117
1117
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1118
1118
  },
1119
- __wbg_prototypesetcall_3249fc62a0fafa30: function(arg0, arg1, arg2) {
1119
+ __wbg_prototypesetcall_ae9f5e7459250748: function(arg0, arg1, arg2) {
1120
1120
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1121
1121
  },
1122
1122
  __wbg_pulse_new: function(arg0) {
1123
1123
  const ret = Pulse.__wrap(arg0);
1124
1124
  return ret;
1125
1125
  },
1126
- __wbg_push_a6822215aa43e71c: function(arg0, arg1) {
1126
+ __wbg_push_bfdf956ba476f65b: function(arg0, arg1) {
1127
1127
  const ret = arg0.push(arg1);
1128
1128
  return ret;
1129
1129
  },
1130
- __wbg_queueMicrotask_35c611f4a14830b2: function(arg0) {
1131
- queueMicrotask(arg0);
1132
- },
1133
- __wbg_queueMicrotask_404ed0a58e0b63cc: function(arg0) {
1130
+ __wbg_queueMicrotask_85c90f6987555d65: function(arg0) {
1134
1131
  const ret = arg0.queueMicrotask;
1135
1132
  return ret;
1136
1133
  },
1134
+ __wbg_queueMicrotask_f6a1fa10b81d1fc0: function(arg0) {
1135
+ queueMicrotask(arg0);
1136
+ },
1137
1137
  __wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
1138
1138
  arg0.randomFillSync(arg1);
1139
1139
  }, arguments); },
1140
- __wbg_read_282e152a24fd0856: function(arg0) {
1140
+ __wbg_read_31091533ffadf971: function(arg0) {
1141
1141
  const ret = arg0.read();
1142
1142
  return ret;
1143
1143
  },
1144
- __wbg_readyState_490503c1fa8f8dd6: function(arg0) {
1144
+ __wbg_readyState_83df235b27cf257f: function(arg0) {
1145
1145
  const ret = arg0.readyState;
1146
1146
  return ret;
1147
1147
  },
1148
- __wbg_reason_4624d424a130e5b2: function(arg0, arg1) {
1148
+ __wbg_reason_9b593bf440970929: function(arg0, arg1) {
1149
1149
  const ret = arg1.reason;
1150
1150
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1151
1151
  const len1 = WASM_VECTOR_LEN;
1152
1152
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1153
1153
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1154
1154
  },
1155
- __wbg_releaseLock_cd76770b7f82a961: function(arg0) {
1155
+ __wbg_releaseLock_1538945f5f183d9f: function(arg0) {
1156
1156
  arg0.releaseLock();
1157
1157
  },
1158
- __wbg_removeEventListener_2da8e9960f90ab27: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1158
+ __wbg_removeEventListener_a14fb03179f66dcd: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1159
1159
  arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
1160
1160
  }, arguments); },
1161
1161
  __wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
1162
1162
  const ret = module.require;
1163
1163
  return ret;
1164
1164
  }, arguments); },
1165
- __wbg_resolve_25a7e548d5881dca: function(arg0) {
1165
+ __wbg_resolve_35ec7e0c6af4c82c: function(arg0) {
1166
1166
  const ret = Promise.resolve(arg0);
1167
1167
  return ret;
1168
1168
  },
1169
- __wbg_respond_33b6f330b6d299fd: function() { return handleError(function (arg0, arg1) {
1169
+ __wbg_respond_83a71686e927ca32: function() { return handleError(function (arg0, arg1) {
1170
1170
  arg0.respond(arg1 >>> 0);
1171
1171
  }, arguments); },
1172
- __wbg_send_35647f35f8bdac5d: function() { return handleError(function (arg0, arg1, arg2) {
1172
+ __wbg_send_2bc0d66d884817ad: function() { return handleError(function (arg0, arg1, arg2) {
1173
1173
  arg0.send(getStringFromWasm0(arg1, arg2));
1174
1174
  }, arguments); },
1175
- __wbg_send_4a773f523104d75e: function() { return handleError(function (arg0, arg1, arg2) {
1175
+ __wbg_send_af811d92e7aea5c4: function() { return handleError(function (arg0, arg1, arg2) {
1176
1176
  arg0.send(getArrayU8FromWasm0(arg1, arg2));
1177
1177
  }, arguments); },
1178
- __wbg_setTimeout_3a808dd861dd3c12: function(arg0, arg1) {
1179
- const ret = setTimeout(arg0, arg1);
1180
- return ret;
1181
- },
1182
1178
  __wbg_setTimeout_6613a51400c1bf9f: function() { return handleError(function (arg0, arg1, arg2) {
1183
1179
  const ret = arg0.setTimeout(arg1, arg2);
1184
1180
  return ret;
1185
1181
  }, arguments); },
1186
- __wbg_set_29c99a8aac1c01e5: function(arg0, arg1, arg2) {
1182
+ __wbg_setTimeout_b4a9096784635514: function(arg0, arg1) {
1183
+ const ret = setTimeout(arg0, arg1);
1184
+ return ret;
1185
+ },
1186
+ __wbg_set_13d25b81ab403f5e: function(arg0, arg1, arg2) {
1187
+ arg0[arg1 >>> 0] = arg2;
1188
+ },
1189
+ __wbg_set_5f2ad37e5e02dc7b: function(arg0, arg1, arg2) {
1187
1190
  arg0.set(getArrayU8FromWasm0(arg1, arg2));
1188
1191
  },
1189
1192
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
1190
1193
  arg0[arg1] = arg2;
1191
1194
  },
1192
- __wbg_set_binaryType_41994c453b95bdd2: function(arg0, arg1) {
1195
+ __wbg_set_binaryType_f88804219cea0f9e: function(arg0, arg1) {
1193
1196
  arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
1194
1197
  },
1195
- __wbg_set_body_36614c7e61546809: function(arg0, arg1) {
1198
+ __wbg_set_body_f39cee72c74a5b02: function(arg0, arg1) {
1196
1199
  arg0.body = arg1;
1197
1200
  },
1198
- __wbg_set_cache_488ea16c11cbf20d: function(arg0, arg1) {
1201
+ __wbg_set_cache_6e8c35a5ed76edb1: function(arg0, arg1) {
1199
1202
  arg0.cache = __wbindgen_enum_RequestCache[arg1];
1200
1203
  },
1201
- __wbg_set_credentials_fa9c491a27c4bdf0: function(arg0, arg1) {
1204
+ __wbg_set_credentials_bf1d3e014213a571: function(arg0, arg1) {
1202
1205
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1203
1206
  },
1204
- __wbg_set_dca99999bba88a9a: function(arg0, arg1, arg2) {
1205
- arg0[arg1 >>> 0] = arg2;
1206
- },
1207
1207
  __wbg_set_eca238efa99478e2: function(arg0, arg1) {
1208
1208
  arg0.set(arg1);
1209
1209
  },
1210
- __wbg_set_handle_event_ae2ef577ff53b168: function(arg0, arg1) {
1210
+ __wbg_set_handle_event_8e892f11ab732c99: function(arg0, arg1) {
1211
1211
  arg0.handleEvent = arg1;
1212
1212
  },
1213
- __wbg_set_headers_7c1e39ece7826bec: function(arg0, arg1) {
1213
+ __wbg_set_headers_31d373f68f28bf76: function(arg0, arg1) {
1214
1214
  arg0.headers = arg1;
1215
1215
  },
1216
- __wbg_set_high_water_mark_cf5739ae16ac842f: function(arg0, arg1) {
1216
+ __wbg_set_high_water_mark_089e3476522036ad: function(arg0, arg1) {
1217
1217
  arg0.highWaterMark = arg1;
1218
1218
  },
1219
- __wbg_set_method_7a6811dec7a4feff: function(arg0, arg1, arg2) {
1219
+ __wbg_set_method_82e6c3c083da0734: function(arg0, arg1, arg2) {
1220
1220
  arg0.method = getStringFromWasm0(arg1, arg2);
1221
1221
  },
1222
- __wbg_set_mode_c90e3667002857d4: function(arg0, arg1) {
1222
+ __wbg_set_mode_f7e56ed768d0ade0: function(arg0, arg1) {
1223
1223
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1224
1224
  },
1225
- __wbg_set_onclose_13787fb31ae8aefd: function(arg0, arg1) {
1225
+ __wbg_set_onclose_97aab74a1c2662f7: function(arg0, arg1) {
1226
1226
  arg0.onclose = arg1;
1227
1227
  },
1228
- __wbg_set_onerror_5a45265839edf1b1: function(arg0, arg1) {
1228
+ __wbg_set_onerror_88cb2134dca3aba2: function(arg0, arg1) {
1229
1229
  arg0.onerror = arg1;
1230
1230
  },
1231
- __wbg_set_onmessage_9c6b4cb14e244b7f: function(arg0, arg1) {
1231
+ __wbg_set_onmessage_0f0d391465909a45: function(arg0, arg1) {
1232
1232
  arg0.onmessage = arg1;
1233
1233
  },
1234
- __wbg_set_onopen_db452f4233e99d7d: function(arg0, arg1) {
1234
+ __wbg_set_onopen_e91e64af99b7966d: function(arg0, arg1) {
1235
1235
  arg0.onopen = arg1;
1236
1236
  },
1237
- __wbg_set_signal_d9da62b3f215c821: function(arg0, arg1) {
1237
+ __wbg_set_referrer_13cf56bbccbb2ceb: function(arg0, arg1, arg2) {
1238
+ arg0.referrer = getStringFromWasm0(arg1, arg2);
1239
+ },
1240
+ __wbg_set_referrer_policy_dac1caa6e937479a: function(arg0, arg1) {
1241
+ arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
1242
+ },
1243
+ __wbg_set_signal_f4b32f40f19786f4: function(arg0, arg1) {
1238
1244
  arg0.signal = arg1;
1239
1245
  },
1240
- __wbg_signal_e03304a84df9ed09: function(arg0) {
1246
+ __wbg_signal_45367c6c2255877a: function(arg0) {
1241
1247
  const ret = arg0.signal;
1242
1248
  return ret;
1243
1249
  },
@@ -1248,57 +1254,57 @@ function __wbg_get_imports() {
1248
1254
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1249
1255
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1250
1256
  },
1251
- __wbg_static_accessor_GLOBAL_9d53f2689e622ca1: function() {
1257
+ __wbg_static_accessor_GLOBAL_8eb4cd83130a11a0: function() {
1252
1258
  const ret = typeof global === 'undefined' ? null : global;
1253
1259
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1254
1260
  },
1255
- __wbg_static_accessor_GLOBAL_THIS_a1a35cec07001a8a: function() {
1261
+ __wbg_static_accessor_GLOBAL_THIS_1e7044f654e934db: function() {
1256
1262
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1257
1263
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1258
1264
  },
1259
- __wbg_static_accessor_SELF_4c59f6c7ea29a144: function() {
1265
+ __wbg_static_accessor_SELF_d8b50611246a6d92: function() {
1260
1266
  const ret = typeof self === 'undefined' ? null : self;
1261
1267
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1262
1268
  },
1263
- __wbg_static_accessor_WINDOW_e70ae9f2eb052253: function() {
1269
+ __wbg_static_accessor_WINDOW_fd0bc376bf0f8b42: function() {
1264
1270
  const ret = typeof window === 'undefined' ? null : window;
1265
1271
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1266
1272
  },
1267
- __wbg_status_00549d55b78d949e: function(arg0) {
1273
+ __wbg_status_88ccc72fe7bea621: function(arg0) {
1268
1274
  const ret = arg0.status;
1269
1275
  return ret;
1270
1276
  },
1271
- __wbg_stringify_8286df6dcc591521: function() { return handleError(function (arg0) {
1277
+ __wbg_stringify_54b3d9b61602aee6: function() { return handleError(function (arg0) {
1272
1278
  const ret = JSON.stringify(arg0);
1273
1279
  return ret;
1274
1280
  }, arguments); },
1275
- __wbg_subarray_4aa221f6a4f5ab22: function(arg0, arg1, arg2) {
1281
+ __wbg_subarray_1daff70dde20c145: function(arg0, arg1, arg2) {
1276
1282
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1277
1283
  return ret;
1278
1284
  },
1279
- __wbg_then_18f476d590e58992: function(arg0, arg1, arg2) {
1285
+ __wbg_then_7a850dae4493f353: function(arg0, arg1, arg2) {
1280
1286
  const ret = arg0.then(arg1, arg2);
1281
1287
  return ret;
1282
1288
  },
1283
- __wbg_then_ac7b025999b52837: function(arg0, arg1) {
1289
+ __wbg_then_b830475380919203: function(arg0, arg1) {
1284
1290
  const ret = arg0.then(arg1);
1285
1291
  return ret;
1286
1292
  },
1287
- __wbg_url_6808f1c468f2d0cd: function(arg0, arg1) {
1293
+ __wbg_url_7f0f98717f509a2c: function(arg0, arg1) {
1288
1294
  const ret = arg1.url;
1289
1295
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1290
1296
  const len1 = WASM_VECTOR_LEN;
1291
1297
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1292
1298
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1293
1299
  },
1294
- __wbg_url_8b9d120d9dc02d8f: function(arg0, arg1) {
1300
+ __wbg_url_f1948b0d7f881e02: function(arg0, arg1) {
1295
1301
  const ret = arg1.url;
1296
1302
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1297
1303
  const len1 = WASM_VECTOR_LEN;
1298
1304
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1299
1305
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1300
1306
  },
1301
- __wbg_value_f3625092ee4b37f4: function(arg0) {
1307
+ __wbg_value_c227f843d21da141: function(arg0) {
1302
1308
  const ret = arg0.value;
1303
1309
  return ret;
1304
1310
  },
@@ -1306,85 +1312,85 @@ function __wbg_get_imports() {
1306
1312
  const ret = arg0.versions;
1307
1313
  return ret;
1308
1314
  },
1309
- __wbg_view_d523e3b92648b62c: function(arg0) {
1315
+ __wbg_view_d8c7b26e4d4650f1: function(arg0) {
1310
1316
  const ret = arg0.view;
1311
1317
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1312
1318
  },
1313
- __wbg_warn_3a37cdd7216f1479: function(arg0, arg1) {
1314
- var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
1319
+ __wbg_warn_3d4c70cb13f09ea9: function(arg0, arg1) {
1320
+ var v0 = getArrayJsValueFromWasm0(arg0, arg1);
1315
1321
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
1316
- console.warn(...v0);
1322
+ console.warn(...(v0));
1317
1323
  },
1318
- __wbg_wasClean_9636ab9b65f5dbb9: function(arg0) {
1324
+ __wbg_wasClean_a32ef5f1fd90161e: function(arg0) {
1319
1325
  const ret = arg0.wasClean;
1320
1326
  return ret;
1321
1327
  },
1322
- __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1323
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2264, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1324
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h364282c46f736e9f);
1328
+ __wbindgen_generic_0000000000000001: function(arg0, arg1) {
1329
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2336, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1330
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___wasm_bindgen_6ded4d2ca8032970___JsValue______true_);
1325
1331
  return ret;
1326
1332
  },
1327
- __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1328
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3861, ret: Externref, inner_ret: Some(Externref) }, mutable: true }) -> Externref`.
1329
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h1d3d8bbcf4bb9647);
1333
+ __wbindgen_generic_0000000000000002: function(arg0, arg1) {
1334
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3994, ret: Externref, inner_ret: Some(Externref) }, mutable: true }) -> Externref`.
1335
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___wasm_bindgen_6ded4d2ca8032970___JsValue__wasm_bindgen_6ded4d2ca8032970___JsValue__true_);
1330
1336
  return ret;
1331
1337
  },
1332
- __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1333
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3862, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1334
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h00c6858f5875acdf);
1338
+ __wbindgen_generic_0000000000000003: function(arg0, arg1) {
1339
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 3999, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1340
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___wasm_bindgen_6ded4d2ca8032970___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_6ded4d2ca8032970___JsError___true_);
1335
1341
  return ret;
1336
1342
  },
1337
- __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1338
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1063, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1339
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hdc004ac269f592e8);
1343
+ __wbindgen_generic_0000000000000004: function(arg0, arg1) {
1344
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1118, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1345
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___web_sys_1a344eaec6f2c168___features__gen_CloseEvent__CloseEvent______true_);
1340
1346
  return ret;
1341
1347
  },
1342
- __wbindgen_cast_0000000000000005: function(arg0, arg1) {
1343
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2655, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1344
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3ed8ec9c74648bb3);
1348
+ __wbindgen_generic_0000000000000005: function(arg0, arg1) {
1349
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2743, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1350
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___web_sys_1a344eaec6f2c168___features__gen_MessageEvent__MessageEvent______true_);
1345
1351
  return ret;
1346
1352
  },
1347
- __wbindgen_cast_0000000000000006: function(arg0, arg1) {
1348
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2224, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1349
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hac60de05c959eab5);
1353
+ __wbindgen_generic_0000000000000006: function(arg0, arg1) {
1354
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2295, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1355
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true_);
1350
1356
  return ret;
1351
1357
  },
1352
- __wbindgen_cast_0000000000000007: function(arg0, arg1) {
1353
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2405, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1354
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h863ae91844dca7d2);
1358
+ __wbindgen_generic_0000000000000007: function(arg0, arg1) {
1359
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2475, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1360
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true__1_);
1355
1361
  return ret;
1356
1362
  },
1357
- __wbindgen_cast_0000000000000008: function(arg0, arg1) {
1358
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2407, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1359
- const ret = makeClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb73c005341827ffa);
1363
+ __wbindgen_generic_0000000000000008: function(arg0, arg1) {
1364
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2477, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1365
+ const ret = makeClosure(arg0, arg1, wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true__2_);
1360
1366
  return ret;
1361
1367
  },
1362
- __wbindgen_cast_0000000000000009: function(arg0, arg1) {
1363
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 3736, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1364
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h5b21f331a86ab3b0);
1368
+ __wbindgen_generic_0000000000000009: function(arg0, arg1) {
1369
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 3863, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1370
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true__3_);
1365
1371
  return ret;
1366
1372
  },
1367
- __wbindgen_cast_000000000000000a: function(arg0) {
1373
+ __wbindgen_generic_000000000000000a: function(arg0) {
1368
1374
  // Cast intrinsic for `F64 -> Externref`.
1369
1375
  const ret = arg0;
1370
1376
  return ret;
1371
1377
  },
1372
- __wbindgen_cast_000000000000000b: function(arg0) {
1378
+ __wbindgen_generic_000000000000000b: function(arg0) {
1373
1379
  // Cast intrinsic for `I64 -> Externref`.
1374
1380
  const ret = arg0;
1375
1381
  return ret;
1376
1382
  },
1377
- __wbindgen_cast_000000000000000c: function(arg0, arg1) {
1383
+ __wbindgen_generic_000000000000000c: function(arg0, arg1) {
1378
1384
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1379
1385
  const ret = getArrayU8FromWasm0(arg0, arg1);
1380
1386
  return ret;
1381
1387
  },
1382
- __wbindgen_cast_000000000000000d: function(arg0, arg1) {
1388
+ __wbindgen_generic_000000000000000d: function(arg0, arg1) {
1383
1389
  // Cast intrinsic for `Ref(String) -> Externref`.
1384
1390
  const ret = getStringFromWasm0(arg0, arg1);
1385
1391
  return ret;
1386
1392
  },
1387
- __wbindgen_cast_000000000000000e: function(arg0) {
1393
+ __wbindgen_generic_000000000000000e: function(arg0) {
1388
1394
  // Cast intrinsic for `U64 -> Externref`.
1389
1395
  const ret = BigInt.asUintN(64, arg0);
1390
1396
  return ret;
@@ -1407,48 +1413,48 @@ function __wbg_get_imports() {
1407
1413
  };
1408
1414
  }
1409
1415
 
1410
- function wasm_bindgen__convert__closures_____invoke__hac60de05c959eab5(arg0, arg1) {
1411
- wasm.wasm_bindgen__convert__closures_____invoke__hac60de05c959eab5(arg0, arg1);
1416
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true_(arg0, arg1) {
1417
+ wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true_(arg0, arg1);
1412
1418
  }
1413
1419
 
1414
- function wasm_bindgen__convert__closures_____invoke__h863ae91844dca7d2(arg0, arg1) {
1415
- wasm.wasm_bindgen__convert__closures_____invoke__h863ae91844dca7d2(arg0, arg1);
1420
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true__1_(arg0, arg1) {
1421
+ wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true__1_(arg0, arg1);
1416
1422
  }
1417
1423
 
1418
- function wasm_bindgen__convert__closures_____invoke__hb73c005341827ffa(arg0, arg1) {
1419
- wasm.wasm_bindgen__convert__closures_____invoke__hb73c005341827ffa(arg0, arg1);
1424
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true__2_(arg0, arg1) {
1425
+ wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true__2_(arg0, arg1);
1420
1426
  }
1421
1427
 
1422
- function wasm_bindgen__convert__closures_____invoke__h5b21f331a86ab3b0(arg0, arg1) {
1423
- wasm.wasm_bindgen__convert__closures_____invoke__h5b21f331a86ab3b0(arg0, arg1);
1428
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true__3_(arg0, arg1) {
1429
+ wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke_______true__3_(arg0, arg1);
1424
1430
  }
1425
1431
 
1426
- function wasm_bindgen__convert__closures_____invoke__h364282c46f736e9f(arg0, arg1, arg2) {
1427
- wasm.wasm_bindgen__convert__closures_____invoke__h364282c46f736e9f(arg0, arg1, arg2);
1432
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___wasm_bindgen_6ded4d2ca8032970___JsValue______true_(arg0, arg1, arg2) {
1433
+ wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___wasm_bindgen_6ded4d2ca8032970___JsValue______true_(arg0, arg1, arg2);
1428
1434
  }
1429
1435
 
1430
- function wasm_bindgen__convert__closures_____invoke__hdc004ac269f592e8(arg0, arg1, arg2) {
1431
- wasm.wasm_bindgen__convert__closures_____invoke__hdc004ac269f592e8(arg0, arg1, arg2);
1436
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___web_sys_1a344eaec6f2c168___features__gen_CloseEvent__CloseEvent______true_(arg0, arg1, arg2) {
1437
+ wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___web_sys_1a344eaec6f2c168___features__gen_CloseEvent__CloseEvent______true_(arg0, arg1, arg2);
1432
1438
  }
1433
1439
 
1434
- function wasm_bindgen__convert__closures_____invoke__h3ed8ec9c74648bb3(arg0, arg1, arg2) {
1435
- wasm.wasm_bindgen__convert__closures_____invoke__h3ed8ec9c74648bb3(arg0, arg1, arg2);
1440
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___web_sys_1a344eaec6f2c168___features__gen_MessageEvent__MessageEvent______true_(arg0, arg1, arg2) {
1441
+ wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___web_sys_1a344eaec6f2c168___features__gen_MessageEvent__MessageEvent______true_(arg0, arg1, arg2);
1436
1442
  }
1437
1443
 
1438
- function wasm_bindgen__convert__closures_____invoke__h1d3d8bbcf4bb9647(arg0, arg1, arg2) {
1439
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__h1d3d8bbcf4bb9647(arg0, arg1, arg2);
1444
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___wasm_bindgen_6ded4d2ca8032970___JsValue__wasm_bindgen_6ded4d2ca8032970___JsValue__true_(arg0, arg1, arg2) {
1445
+ const ret = wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___wasm_bindgen_6ded4d2ca8032970___JsValue__wasm_bindgen_6ded4d2ca8032970___JsValue__true_(arg0, arg1, arg2);
1440
1446
  return ret;
1441
1447
  }
1442
1448
 
1443
- function wasm_bindgen__convert__closures_____invoke__h00c6858f5875acdf(arg0, arg1, arg2) {
1444
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__h00c6858f5875acdf(arg0, arg1, arg2);
1449
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___wasm_bindgen_6ded4d2ca8032970___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_6ded4d2ca8032970___JsError___true_(arg0, arg1, arg2) {
1450
+ const ret = wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___wasm_bindgen_6ded4d2ca8032970___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_6ded4d2ca8032970___JsError___true_(arg0, arg1, arg2);
1445
1451
  if (ret[1]) {
1446
1452
  throw takeFromExternrefTable0(ret[0]);
1447
1453
  }
1448
1454
  }
1449
1455
 
1450
- function wasm_bindgen__convert__closures_____invoke__h299fd98c162ada8d(arg0, arg1, arg2, arg3) {
1451
- wasm.wasm_bindgen__convert__closures_____invoke__h299fd98c162ada8d(arg0, arg1, arg2, arg3);
1456
+ function wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___js_sys_2872832c11c194f9___Function_fn_wasm_bindgen_6ded4d2ca8032970___JsValue_____wasm_bindgen_6ded4d2ca8032970___sys__Undefined___js_sys_2872832c11c194f9___Function_fn_wasm_bindgen_6ded4d2ca8032970___JsValue_____wasm_bindgen_6ded4d2ca8032970___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
1457
+ wasm.wasm_bindgen_6ded4d2ca8032970___convert__closures_____invoke___js_sys_2872832c11c194f9___Function_fn_wasm_bindgen_6ded4d2ca8032970___JsValue_____wasm_bindgen_6ded4d2ca8032970___sys__Undefined___js_sys_2872832c11c194f9___Function_fn_wasm_bindgen_6ded4d2ca8032970___JsValue_____wasm_bindgen_6ded4d2ca8032970___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
1452
1458
  }
1453
1459
 
1454
1460
 
@@ -1458,6 +1464,9 @@ const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
1458
1464
  const __wbindgen_enum_ReadableStreamType = ["bytes"];
1459
1465
 
1460
1466
 
1467
+ const __wbindgen_enum_ReferrerPolicy = ["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "unsafe-url", "same-origin", "strict-origin", "strict-origin-when-cross-origin"];
1468
+
1469
+
1461
1470
  const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
1462
1471
 
1463
1472
 
@@ -1769,11 +1778,15 @@ function __wbg_finalize_init(instance, module) {
1769
1778
 
1770
1779
  async function __wbg_load(module, imports) {
1771
1780
  if (typeof Response === 'function' && module instanceof Response) {
1781
+ if (!module.ok) {
1782
+ throw new Error(`failed to fetch Wasm: ${module.status} ${module.statusText} fetching '${module.url}'`);
1783
+ }
1784
+
1772
1785
  if (typeof WebAssembly.instantiateStreaming === 'function') {
1773
1786
  try {
1774
1787
  return await WebAssembly.instantiateStreaming(module, imports);
1775
1788
  } catch (e) {
1776
- const validResponse = module.ok && expectedResponseType(module.type);
1789
+ const validResponse = expectedResponseType(module.type);
1777
1790
 
1778
1791
  if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
1779
1792
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);