@kreuzberg/wasm 4.3.7 → 4.4.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.
@@ -26,7 +26,7 @@ export class ModuleInfo {
26
26
  name() {
27
27
  const ret = wasm.moduleinfo_name(this.__wbg_ptr);
28
28
  var v1 = getCachedStringFromWasm0(ret[0], ret[1]);
29
- if (ret[0] !== 0) { wasm.__wbindgen_free(ret[0], ret[1], 1); }
29
+ if (ret[0] !== 0) { wasm.__wbindgen_free_command_export(ret[0], ret[1], 1); }
30
30
  return v1;
31
31
  }
32
32
  /**
@@ -36,7 +36,7 @@ export class ModuleInfo {
36
36
  version() {
37
37
  const ret = wasm.moduleinfo_version(this.__wbg_ptr);
38
38
  var v1 = getCachedStringFromWasm0(ret[0], ret[1]);
39
- if (ret[0] !== 0) { wasm.__wbindgen_free(ret[0], ret[1], 1); }
39
+ if (ret[0] !== 0) { wasm.__wbindgen_free_command_export(ret[0], ret[1], 1); }
40
40
  return v1;
41
41
  }
42
42
  }
@@ -88,9 +88,9 @@ if (Symbol.dispose) ModuleInfo.prototype[Symbol.dispose] = ModuleInfo.prototype.
88
88
  * @returns {Promise<any>}
89
89
  */
90
90
  export function batchExtractBytes(data_list, mime_types, config) {
91
- const ptr0 = passArrayJsValueToWasm0(data_list, wasm.__wbindgen_malloc);
91
+ const ptr0 = passArrayJsValueToWasm0(data_list, wasm.__wbindgen_malloc_command_export);
92
92
  const len0 = WASM_VECTOR_LEN;
93
- const ptr1 = passArrayJsValueToWasm0(mime_types, wasm.__wbindgen_malloc);
93
+ const ptr1 = passArrayJsValueToWasm0(mime_types, wasm.__wbindgen_malloc_command_export);
94
94
  const len1 = WASM_VECTOR_LEN;
95
95
  const ret = wasm.batchExtractBytes(ptr0, len0, ptr1, len1, isLikeNone(config) ? 0 : addToExternrefTable0(config));
96
96
  return ret;
@@ -135,9 +135,9 @@ export function batchExtractBytes(data_list, mime_types, config) {
135
135
  * @returns {any}
136
136
  */
137
137
  export function batchExtractBytesSync(data_list, mime_types, config) {
138
- const ptr0 = passArrayJsValueToWasm0(data_list, wasm.__wbindgen_malloc);
138
+ const ptr0 = passArrayJsValueToWasm0(data_list, wasm.__wbindgen_malloc_command_export);
139
139
  const len0 = WASM_VECTOR_LEN;
140
- const ptr1 = passArrayJsValueToWasm0(mime_types, wasm.__wbindgen_malloc);
140
+ const ptr1 = passArrayJsValueToWasm0(mime_types, wasm.__wbindgen_malloc_command_export);
141
141
  const len1 = WASM_VECTOR_LEN;
142
142
  const ret = wasm.batchExtractBytesSync(ptr0, len0, ptr1, len1, isLikeNone(config) ? 0 : addToExternrefTable0(config));
143
143
  if (ret[2]) {
@@ -179,7 +179,7 @@ export function batchExtractBytesSync(data_list, mime_types, config) {
179
179
  * @returns {Promise<any>}
180
180
  */
181
181
  export function batchExtractFiles(files, config) {
182
- const ptr0 = passArrayJsValueToWasm0(files, wasm.__wbindgen_malloc);
182
+ const ptr0 = passArrayJsValueToWasm0(files, wasm.__wbindgen_malloc_command_export);
183
183
  const len0 = WASM_VECTOR_LEN;
184
184
  const ret = wasm.batchExtractFiles(ptr0, len0, isLikeNone(config) ? 0 : addToExternrefTable0(config));
185
185
  return ret;
@@ -264,6 +264,54 @@ export function clear_validators() {
264
264
  }
265
265
  }
266
266
 
267
+ /**
268
+ * Compresses multiple entries into a 7z archive in WebAssembly environment.
269
+ *
270
+ * This function creates a compressed archive from multiple file entries,
271
+ * designed specifically for WASM targets.
272
+ *
273
+ * # Arguments
274
+ * * `entries` - Vector of JavaScript strings representing file names/paths
275
+ * * `datas` - Vector of Uint8Arrays containing the file data corresponding to entries
276
+ * @param {string[]} entries
277
+ * @param {Uint8Array[]} datas
278
+ * @returns {Uint8Array}
279
+ */
280
+ export function compress(entries, datas) {
281
+ const ptr0 = passArrayJsValueToWasm0(entries, wasm.__wbindgen_malloc_command_export);
282
+ const len0 = WASM_VECTOR_LEN;
283
+ const ptr1 = passArrayJsValueToWasm0(datas, wasm.__wbindgen_malloc_command_export);
284
+ const len1 = WASM_VECTOR_LEN;
285
+ const ret = wasm.compress(ptr0, len0, ptr1, len1);
286
+ if (ret[2]) {
287
+ throw takeFromExternrefTable0(ret[1]);
288
+ }
289
+ return takeFromExternrefTable0(ret[0]);
290
+ }
291
+
292
+ /**
293
+ * Decompresses a 7z archive in WebAssembly environment.
294
+ *
295
+ * This function is specifically designed for WASM targets and uses JavaScript interop
296
+ * to handle the decompression process with a callback function.
297
+ *
298
+ * # Arguments
299
+ * * `src` - Uint8Array containing the compressed archive data
300
+ * * `pwd` - Password string for encrypted archives (use empty string for unencrypted)
301
+ * * `f` - JavaScript callback function to handle extracted entries
302
+ * @param {Uint8Array} src
303
+ * @param {string} pwd
304
+ * @param {Function} f
305
+ */
306
+ export function decompress(src, pwd, f) {
307
+ const ptr0 = passStringToWasm0(pwd, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
308
+ const len0 = WASM_VECTOR_LEN;
309
+ const ret = wasm.decompress(src, ptr0, len0, f);
310
+ if (ret[1]) {
311
+ throw takeFromExternrefTable0(ret[0]);
312
+ }
313
+ }
314
+
267
315
  /**
268
316
  * Detect MIME type from raw file bytes.
269
317
  *
@@ -302,7 +350,7 @@ export function detectMimeFromBytes(data) {
302
350
  throw takeFromExternrefTable0(ret[2]);
303
351
  }
304
352
  var v1 = getCachedStringFromWasm0(ret[0], ret[1]);
305
- if (ret[0] !== 0) { wasm.__wbindgen_free(ret[0], ret[1], 1); }
353
+ if (ret[0] !== 0) { wasm.__wbindgen_free_command_export(ret[0], ret[1], 1); }
306
354
  return v1;
307
355
  }
308
356
 
@@ -389,7 +437,7 @@ export function discoverConfig() {
389
437
  * @returns {Promise<any>}
390
438
  */
391
439
  export function extractBytes(data, mime_type, config) {
392
- const ptr0 = passStringToWasm0(mime_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
440
+ const ptr0 = passStringToWasm0(mime_type, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
393
441
  const len0 = WASM_VECTOR_LEN;
394
442
  const ret = wasm.extractBytes(data, ptr0, len0, isLikeNone(config) ? 0 : addToExternrefTable0(config));
395
443
  return ret;
@@ -433,7 +481,7 @@ export function extractBytes(data, mime_type, config) {
433
481
  * @returns {any}
434
482
  */
435
483
  export function extractBytesSync(data, mime_type, config) {
436
- const ptr0 = passStringToWasm0(mime_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
484
+ const ptr0 = passStringToWasm0(mime_type, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
437
485
  const len0 = WASM_VECTOR_LEN;
438
486
  const ret = wasm.extractBytesSync(data, ptr0, len0, isLikeNone(config) ? 0 : addToExternrefTable0(config));
439
487
  if (ret[2]) {
@@ -481,7 +529,7 @@ export function extractBytesSync(data, mime_type, config) {
481
529
  * @returns {Promise<any>}
482
530
  */
483
531
  export function extractFile(file, mime_type, config) {
484
- var ptr0 = isLikeNone(mime_type) ? 0 : passStringToWasm0(mime_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
532
+ var ptr0 = isLikeNone(mime_type) ? 0 : passStringToWasm0(mime_type, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
485
533
  var len0 = WASM_VECTOR_LEN;
486
534
  const ret = wasm.extractFile(file, ptr0, len0, isLikeNone(config) ? 0 : addToExternrefTable0(config));
487
535
  return ret;
@@ -539,7 +587,7 @@ export function extractFileSync() {
539
587
  * @returns {Array<any>}
540
588
  */
541
589
  export function getExtensionsForMime(mime_type) {
542
- const ptr0 = passStringToWasm0(mime_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
590
+ const ptr0 = passStringToWasm0(mime_type, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
543
591
  const len0 = WASM_VECTOR_LEN;
544
592
  const ret = wasm.getExtensionsForMime(ptr0, len0);
545
593
  if (ret[2]) {
@@ -580,11 +628,11 @@ export function getExtensionsForMime(mime_type) {
580
628
  * @returns {string}
581
629
  */
582
630
  export function getMimeFromExtension(extension) {
583
- const ptr0 = passStringToWasm0(extension, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
631
+ const ptr0 = passStringToWasm0(extension, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
584
632
  const len0 = WASM_VECTOR_LEN;
585
633
  const ret = wasm.getMimeFromExtension(ptr0, len0);
586
634
  var v2 = getCachedStringFromWasm0(ret[0], ret[1]);
587
- if (ret[0] !== 0) { wasm.__wbindgen_free(ret[0], ret[1], 1); }
635
+ if (ret[0] !== 0) { wasm.__wbindgen_free_command_export(ret[0], ret[1], 1); }
588
636
  return v2;
589
637
  }
590
638
 
@@ -768,9 +816,9 @@ export function list_validators() {
768
816
  * @returns {any}
769
817
  */
770
818
  export function loadConfigFromString(content, format) {
771
- const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
819
+ const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
772
820
  const len0 = WASM_VECTOR_LEN;
773
- const ptr1 = passStringToWasm0(format, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
821
+ const ptr1 = passStringToWasm0(format, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
774
822
  const len1 = WASM_VECTOR_LEN;
775
823
  const ret = wasm.loadConfigFromString(ptr0, len0, ptr1, len1);
776
824
  if (ret[2]) {
@@ -812,14 +860,119 @@ export function loadConfigFromString(content, format) {
812
860
  * @returns {string}
813
861
  */
814
862
  export function normalizeMimeType(mime_type) {
815
- const ptr0 = passStringToWasm0(mime_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
863
+ const ptr0 = passStringToWasm0(mime_type, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
816
864
  const len0 = WASM_VECTOR_LEN;
817
865
  const ret = wasm.normalizeMimeType(ptr0, len0);
818
866
  var v2 = getCachedStringFromWasm0(ret[0], ret[1]);
819
- if (ret[0] !== 0) { wasm.__wbindgen_free(ret[0], ret[1], 1); }
867
+ if (ret[0] !== 0) { wasm.__wbindgen_free_command_export(ret[0], ret[1], 1); }
820
868
  return v2;
821
869
  }
822
870
 
871
+ /**
872
+ * Check if OCR support is available in this WASM build.
873
+ *
874
+ * Returns `true` if the `ocr-wasm` feature was enabled at build time.
875
+ * @returns {boolean}
876
+ */
877
+ export function ocrIsAvailable() {
878
+ const ret = wasm.ocrIsAvailable();
879
+ return ret !== 0;
880
+ }
881
+
882
+ /**
883
+ * Perform OCR on encoded image bytes (PNG, JPEG, BMP, GIF, TIFF).
884
+ *
885
+ * Automatically decodes the image to RGB pixels before running Tesseract.
886
+ * This is the primary function for OCR in WASM - it handles image decoding
887
+ * internally so the caller doesn't need browser APIs like `createImageBitmap`.
888
+ *
889
+ * # Arguments
890
+ *
891
+ * * `image_bytes` - Encoded image data (PNG, JPEG, BMP, GIF, TIFF)
892
+ * * `tessdata` - Raw `.traineddata` file content loaded into memory
893
+ * * `language` - Tesseract language code (e.g., "eng")
894
+ *
895
+ * # Returns
896
+ *
897
+ * The recognized text as a string.
898
+ * @param {Uint8Array} image_bytes
899
+ * @param {Uint8Array} tessdata
900
+ * @param {string} language
901
+ * @returns {string}
902
+ */
903
+ export function ocrRecognize(image_bytes, tessdata, language) {
904
+ const ptr0 = passArray8ToWasm0(image_bytes, wasm.__wbindgen_malloc_command_export);
905
+ const len0 = WASM_VECTOR_LEN;
906
+ const ptr1 = passArray8ToWasm0(tessdata, wasm.__wbindgen_malloc_command_export);
907
+ const len1 = WASM_VECTOR_LEN;
908
+ const ptr2 = passStringToWasm0(language, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
909
+ const len2 = WASM_VECTOR_LEN;
910
+ const ret = wasm.ocrRecognize(ptr0, len0, ptr1, len1, ptr2, len2);
911
+ if (ret[3]) {
912
+ throw takeFromExternrefTable0(ret[2]);
913
+ }
914
+ var v4 = getCachedStringFromWasm0(ret[0], ret[1]);
915
+ if (ret[0] !== 0) { wasm.__wbindgen_free_command_export(ret[0], ret[1], 1); }
916
+ return v4;
917
+ }
918
+
919
+ /**
920
+ * Perform OCR on raw image pixel data using Tesseract.
921
+ *
922
+ * This function accepts pre-decoded image pixels (RGB format) along with
923
+ * tessdata loaded into memory. No filesystem access is needed.
924
+ *
925
+ * # Arguments
926
+ *
927
+ * * `image_data` - Raw pixel data in RGB format (3 bytes per pixel)
928
+ * * `width` - Image width in pixels
929
+ * * `height` - Image height in pixels
930
+ * * `bytes_per_pixel` - Bytes per pixel (typically 3 for RGB, 1 for grayscale)
931
+ * * `bytes_per_line` - Bytes per scan line (typically width * bytes_per_pixel)
932
+ * * `tessdata` - Raw `.traineddata` file content loaded into memory
933
+ * * `language` - Tesseract language code (e.g., "eng")
934
+ *
935
+ * # Returns
936
+ *
937
+ * The recognized text as a string.
938
+ * @param {Uint8Array} image_data
939
+ * @param {number} width
940
+ * @param {number} height
941
+ * @param {number} bytes_per_pixel
942
+ * @param {number} bytes_per_line
943
+ * @param {Uint8Array} tessdata
944
+ * @param {string} language
945
+ * @returns {string}
946
+ */
947
+ export function ocrRecognizeRaw(image_data, width, height, bytes_per_pixel, bytes_per_line, tessdata, language) {
948
+ const ptr0 = passArray8ToWasm0(image_data, wasm.__wbindgen_malloc_command_export);
949
+ const len0 = WASM_VECTOR_LEN;
950
+ const ptr1 = passArray8ToWasm0(tessdata, wasm.__wbindgen_malloc_command_export);
951
+ const len1 = WASM_VECTOR_LEN;
952
+ const ptr2 = passStringToWasm0(language, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
953
+ const len2 = WASM_VECTOR_LEN;
954
+ const ret = wasm.ocrRecognizeRaw(ptr0, len0, width, height, bytes_per_pixel, bytes_per_line, ptr1, len1, ptr2, len2);
955
+ if (ret[3]) {
956
+ throw takeFromExternrefTable0(ret[2]);
957
+ }
958
+ var v4 = getCachedStringFromWasm0(ret[0], ret[1]);
959
+ if (ret[0] !== 0) { wasm.__wbindgen_free_command_export(ret[0], ret[1], 1); }
960
+ return v4;
961
+ }
962
+
963
+ /**
964
+ * Get the Tesseract version string compiled into this WASM binary.
965
+ *
966
+ * Returns the version of the statically linked Tesseract library.
967
+ * @returns {string}
968
+ */
969
+ export function ocrTesseractVersion() {
970
+ const ret = wasm.ocrTesseractVersion();
971
+ var v1 = getCachedStringFromWasm0(ret[0], ret[1]);
972
+ if (ret[0] !== 0) { wasm.__wbindgen_free_command_export(ret[0], ret[1], 1); }
973
+ return v1;
974
+ }
975
+
823
976
  /**
824
977
  * A callback function that can be invoked by Pdfium's `FPDF_LoadCustomDocument()` function,
825
978
  * wrapping around `crate::utils::files::read_block_from_callback()` to shuffle data buffers
@@ -970,7 +1123,7 @@ export function register_validator(validator) {
970
1123
  * @param {string} name
971
1124
  */
972
1125
  export function unregister_ocr_backend(name) {
973
- const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1126
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
974
1127
  const len0 = WASM_VECTOR_LEN;
975
1128
  const ret = wasm.unregister_ocr_backend(ptr0, len0);
976
1129
  if (ret[1]) {
@@ -997,7 +1150,7 @@ export function unregister_ocr_backend(name) {
997
1150
  * @param {string} name
998
1151
  */
999
1152
  export function unregister_post_processor(name) {
1000
- const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1153
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1001
1154
  const len0 = WASM_VECTOR_LEN;
1002
1155
  const ret = wasm.unregister_post_processor(ptr0, len0);
1003
1156
  if (ret[1]) {
@@ -1024,7 +1177,7 @@ export function unregister_post_processor(name) {
1024
1177
  * @param {string} name
1025
1178
  */
1026
1179
  export function unregister_validator(name) {
1027
- const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1180
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1028
1181
  const len0 = WASM_VECTOR_LEN;
1029
1182
  const ret = wasm.unregister_validator(ptr0, len0);
1030
1183
  if (ret[1]) {
@@ -1039,7 +1192,7 @@ export function unregister_validator(name) {
1039
1192
  export function version() {
1040
1193
  const ret = wasm.version();
1041
1194
  var v1 = getCachedStringFromWasm0(ret[0], ret[1]);
1042
- if (ret[0] !== 0) { wasm.__wbindgen_free(ret[0], ret[1], 1); }
1195
+ if (ret[0] !== 0) { wasm.__wbindgen_free_command_export(ret[0], ret[1], 1); }
1043
1196
  return v1;
1044
1197
  }
1045
1198
 
@@ -1056,187 +1209,195 @@ export function write_block_from_callback_wasm(param, buf, size) {
1056
1209
  const ret = wasm.write_block_from_callback_wasm(param, buf, size);
1057
1210
  return ret;
1058
1211
  }
1059
- export function __wbg_Error_8c4e43fe74559d73(arg0, arg1) {
1212
+ export function __wbg_Error_83742b46f01ce22d(arg0, arg1) {
1060
1213
  var v0 = getCachedStringFromWasm0(arg0, arg1);
1061
1214
  const ret = Error(v0);
1062
1215
  return ret;
1063
1216
  }
1064
- export function __wbg_Number_04624de7d0e8332d(arg0) {
1217
+ export function __wbg_Number_a5a435bd7bbec835(arg0) {
1065
1218
  const ret = Number(arg0);
1066
1219
  return ret;
1067
1220
  }
1068
- export function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) {
1221
+ export function __wbg_String_8564e559799eccda(arg0, arg1) {
1069
1222
  const ret = String(arg1);
1070
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1223
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1071
1224
  const len1 = WASM_VECTOR_LEN;
1072
1225
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1073
1226
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1074
1227
  }
1075
- export function __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2(arg0, arg1) {
1228
+ export function __wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda(arg0, arg1) {
1076
1229
  const v = arg1;
1077
1230
  const ret = typeof(v) === 'bigint' ? v : undefined;
1078
1231
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1079
1232
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1080
1233
  }
1081
- export function __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25(arg0) {
1234
+ export function __wbg___wbindgen_boolean_get_c0f3f60bac5a78d1(arg0) {
1082
1235
  const v = arg0;
1083
1236
  const ret = typeof(v) === 'boolean' ? v : undefined;
1084
1237
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1085
1238
  }
1086
- export function __wbg___wbindgen_debug_string_0bc8482c6e3508ae(arg0, arg1) {
1239
+ export function __wbg___wbindgen_debug_string_5398f5bb970e0daa(arg0, arg1) {
1087
1240
  const ret = debugString(arg1);
1088
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1241
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1089
1242
  const len1 = WASM_VECTOR_LEN;
1090
1243
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1091
1244
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1092
1245
  }
1093
- export function __wbg___wbindgen_in_47fa6863be6f2f25(arg0, arg1) {
1246
+ export function __wbg___wbindgen_in_41dbb8413020e076(arg0, arg1) {
1094
1247
  const ret = arg0 in arg1;
1095
1248
  return ret;
1096
1249
  }
1097
- export function __wbg___wbindgen_is_bigint_31b12575b56f32fc(arg0) {
1250
+ export function __wbg___wbindgen_is_bigint_e2141d4f045b7eda(arg0) {
1098
1251
  const ret = typeof(arg0) === 'bigint';
1099
1252
  return ret;
1100
1253
  }
1101
- export function __wbg___wbindgen_is_function_0095a73b8b156f76(arg0) {
1254
+ export function __wbg___wbindgen_is_function_3c846841762788c1(arg0) {
1102
1255
  const ret = typeof(arg0) === 'function';
1103
1256
  return ret;
1104
1257
  }
1105
- export function __wbg___wbindgen_is_object_5ae8e5880f2c1fbd(arg0) {
1258
+ export function __wbg___wbindgen_is_object_781bc9f159099513(arg0) {
1106
1259
  const val = arg0;
1107
1260
  const ret = typeof(val) === 'object' && val !== null;
1108
1261
  return ret;
1109
1262
  }
1110
- export function __wbg___wbindgen_is_string_cd444516edc5b180(arg0) {
1263
+ export function __wbg___wbindgen_is_string_7ef6b97b02428fae(arg0) {
1111
1264
  const ret = typeof(arg0) === 'string';
1112
1265
  return ret;
1113
1266
  }
1114
- export function __wbg___wbindgen_is_undefined_9e4d92534c42d778(arg0) {
1267
+ export function __wbg___wbindgen_is_undefined_52709e72fb9f179c(arg0) {
1115
1268
  const ret = arg0 === undefined;
1116
1269
  return ret;
1117
1270
  }
1118
- export function __wbg___wbindgen_jsval_eq_11888390b0186270(arg0, arg1) {
1271
+ export function __wbg___wbindgen_jsval_eq_ee31bfad3e536463(arg0, arg1) {
1119
1272
  const ret = arg0 === arg1;
1120
1273
  return ret;
1121
1274
  }
1122
- export function __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811(arg0, arg1) {
1275
+ export function __wbg___wbindgen_jsval_loose_eq_5bcc3bed3c69e72b(arg0, arg1) {
1123
1276
  const ret = arg0 == arg1;
1124
1277
  return ret;
1125
1278
  }
1126
- export function __wbg___wbindgen_number_get_8ff4255516ccad3e(arg0, arg1) {
1279
+ export function __wbg___wbindgen_number_get_34bb9d9dcfa21373(arg0, arg1) {
1127
1280
  const obj = arg1;
1128
1281
  const ret = typeof(obj) === 'number' ? obj : undefined;
1129
1282
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1130
1283
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1131
1284
  }
1132
- export function __wbg___wbindgen_string_get_72fb696202c56729(arg0, arg1) {
1285
+ export function __wbg___wbindgen_string_get_395e606bd0ee4427(arg0, arg1) {
1133
1286
  const obj = arg1;
1134
1287
  const ret = typeof(obj) === 'string' ? obj : undefined;
1135
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1288
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1136
1289
  var len1 = WASM_VECTOR_LEN;
1137
1290
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1138
1291
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1139
1292
  }
1140
- export function __wbg___wbindgen_throw_be289d5034ed271b(arg0, arg1) {
1293
+ export function __wbg___wbindgen_throw_6ddd609b62940d55(arg0, arg1) {
1141
1294
  var v0 = getCachedStringFromWasm0(arg0, arg1);
1142
1295
  throw new Error(v0);
1143
1296
  }
1144
- export function __wbg__wbg_cb_unref_d9b87ff7982e3b21(arg0) {
1297
+ export function __wbg__wbg_cb_unref_6b5b6b8576d35cb1(arg0) {
1145
1298
  arg0._wbg_cb_unref();
1146
1299
  }
1147
- export function __wbg_addEventListener_3acb0aad4483804c() { return handleError(function (arg0, arg1, arg2, arg3) {
1300
+ export function __wbg_addEventListener_2d985aa8a656f6dc() { return handleError(function (arg0, arg1, arg2, arg3) {
1148
1301
  var v0 = getCachedStringFromWasm0(arg1, arg2);
1149
1302
  arg0.addEventListener(v0, arg3);
1150
1303
  }, arguments); }
1151
- export function __wbg_apply_ada2ee1a60ac7b3c() { return handleError(function (arg0, arg1, arg2) {
1304
+ export function __wbg_apply_ac9afb97ca32f169() { return handleError(function (arg0, arg1, arg2) {
1152
1305
  const ret = arg0.apply(arg1, arg2);
1153
1306
  return ret;
1154
1307
  }, arguments); }
1155
- export function __wbg_call_389efe28435a9388() { return handleError(function (arg0, arg1) {
1156
- const ret = arg0.call(arg1);
1157
- return ret;
1158
- }, arguments); }
1159
- export function __wbg_call_4708e0c13bdc8e95() { return handleError(function (arg0, arg1, arg2) {
1308
+ export function __wbg_call_2d781c1f4d5c0ef8() { return handleError(function (arg0, arg1, arg2) {
1160
1309
  const ret = arg0.call(arg1, arg2);
1161
1310
  return ret;
1162
1311
  }, arguments); }
1163
- export function __wbg_call_812d25f1510c13c8() { return handleError(function (arg0, arg1, arg2, arg3) {
1312
+ export function __wbg_call_dcc2662fa17a72cf() { return handleError(function (arg0, arg1, arg2, arg3) {
1164
1313
  const ret = arg0.call(arg1, arg2, arg3);
1165
1314
  return ret;
1166
1315
  }, arguments); }
1167
- export function __wbg_codePointAt_bf59dbf74d8db275(arg0, arg1) {
1316
+ export function __wbg_call_e133b57c9155d22c() { return handleError(function (arg0, arg1) {
1317
+ const ret = arg0.call(arg1);
1318
+ return ret;
1319
+ }, arguments); }
1320
+ export function __wbg_codePointAt_3925396be3b2c733(arg0, arg1) {
1168
1321
  const ret = arg0.codePointAt(arg1 >>> 0);
1169
1322
  return ret;
1170
1323
  }
1171
- export function __wbg_construct_86626e847de3b629() { return handleError(function (arg0, arg1) {
1324
+ export function __wbg_construct_526a6dedb187eba9() { return handleError(function (arg0, arg1) {
1172
1325
  const ret = Reflect.construct(arg0, arg1);
1173
1326
  return ret;
1174
1327
  }, arguments); }
1175
- export function __wbg_debug_a4099fa12db6cd61(arg0) {
1328
+ export function __wbg_debug_4b9b1a2d5972be57(arg0) {
1176
1329
  console.debug(arg0);
1177
1330
  }
1178
- export function __wbg_decode_9cea5b72e50871c4() { return handleError(function (arg0, arg1, arg2, arg3) {
1331
+ export function __wbg_decode_0e9a915643d7b97b() { return handleError(function (arg0, arg1, arg2, arg3) {
1179
1332
  const ret = arg1.decode(getArrayU8FromWasm0(arg2, arg3));
1180
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1333
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1181
1334
  const len1 = WASM_VECTOR_LEN;
1182
1335
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1183
1336
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1184
1337
  }, arguments); }
1185
- export function __wbg_done_57b39ecd9addfe81(arg0) {
1338
+ export function __wbg_done_08ce71ee07e3bd17(arg0) {
1186
1339
  const ret = arg0.done;
1187
1340
  return ret;
1188
1341
  }
1189
- export function __wbg_entries_58c7934c745daac7(arg0) {
1342
+ export function __wbg_entries_e8a20ff8c9757101(arg0) {
1190
1343
  const ret = Object.entries(arg0);
1191
1344
  return ret;
1192
1345
  }
1193
- export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
1346
+ export function __wbg_error_8d9a8e04cd1d3588(arg0) {
1347
+ console.error(arg0);
1348
+ }
1349
+ export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
1194
1350
  var v0 = getCachedStringFromWasm0(arg0, arg1);
1195
- if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1, 1); }
1351
+ if (arg0 !== 0) { wasm.__wbindgen_free_command_export(arg0, arg1, 1); }
1196
1352
  console.error(v0);
1197
1353
  }
1198
- export function __wbg_error_9a7fe3f932034cde(arg0) {
1199
- console.error(arg0);
1200
- }
1201
- export function __wbg_fromCodePoint_22365db7b7d6ac39() { return handleError(function (arg0) {
1354
+ export function __wbg_fromCodePoint_4a02c6dcced1d233() { return handleError(function (arg0) {
1202
1355
  const ret = String.fromCodePoint(arg0 >>> 0);
1203
1356
  return ret;
1204
1357
  }, arguments); }
1205
- export function __wbg_from_bddd64e7d5ff6941(arg0) {
1358
+ export function __wbg_from_4bdf88943703fd48(arg0) {
1206
1359
  const ret = Array.from(arg0);
1207
1360
  return ret;
1208
1361
  }
1209
- export function __wbg_getRandomValues_1c61fac11405ffdc() { return handleError(function (arg0, arg1) {
1362
+ export function __wbg_getRandomValues_3f44b700395062e5() { return handleError(function (arg0, arg1) {
1210
1363
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
1211
1364
  }, arguments); }
1212
- export function __wbg_getTime_1e3cd1391c5c3995(arg0) {
1365
+ export function __wbg_getTime_1dad7b5386ddd2d9(arg0) {
1213
1366
  const ret = arg0.getTime();
1214
1367
  return ret;
1215
1368
  }
1216
- export function __wbg_get_7efbcc3819719b0f() { return handleError(function (arg0, arg1) {
1217
- const ret = arg0.get(arg1 >>> 0);
1369
+ export function __wbg_get_326e41e095fb2575() { return handleError(function (arg0, arg1) {
1370
+ const ret = Reflect.get(arg0, arg1);
1371
+ return ret;
1372
+ }, arguments); }
1373
+ export function __wbg_get_3ef1eba1850ade27() { return handleError(function (arg0, arg1) {
1374
+ const ret = Reflect.get(arg0, arg1);
1218
1375
  return ret;
1219
1376
  }, arguments); }
1220
- export function __wbg_get_9b94d73e6221f75c(arg0, arg1) {
1377
+ export function __wbg_get_a8ee5c45dabc1b3b(arg0, arg1) {
1221
1378
  const ret = arg0[arg1 >>> 0];
1222
1379
  return ret;
1223
1380
  }
1224
- export function __wbg_get_b3ed3ad4be2bc8ac() { return handleError(function (arg0, arg1) {
1225
- const ret = Reflect.get(arg0, arg1);
1381
+ export function __wbg_get_bc0da515bc47196d() { return handleError(function (arg0, arg1) {
1382
+ const ret = arg0.get(arg1 >>> 0);
1226
1383
  return ret;
1227
1384
  }, arguments); }
1228
- export function __wbg_get_index_9a5bfdd2ca49c65f(arg0, arg1) {
1385
+ export function __wbg_get_index_87179971b8d350e4(arg0, arg1) {
1229
1386
  const ret = arg0[arg1 >>> 0];
1230
1387
  return ret;
1231
1388
  }
1232
- export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0, arg1) {
1389
+ export function __wbg_get_unchecked_329cfe50afab7352(arg0, arg1) {
1390
+ const ret = arg0[arg1 >>> 0];
1391
+ return ret;
1392
+ }
1393
+ export function __wbg_get_with_ref_key_6412cf3094599694(arg0, arg1) {
1233
1394
  const ret = arg0[arg1];
1234
1395
  return ret;
1235
1396
  }
1236
- export function __wbg_info_148d043840582012(arg0) {
1397
+ export function __wbg_info_7d4e223bb1a7e671(arg0) {
1237
1398
  console.info(arg0);
1238
1399
  }
1239
- export function __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04(arg0) {
1400
+ export function __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6(arg0) {
1240
1401
  let result;
1241
1402
  try {
1242
1403
  result = arg0 instanceof ArrayBuffer;
@@ -1246,7 +1407,7 @@ export function __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04(arg0) {
1246
1407
  const ret = result;
1247
1408
  return ret;
1248
1409
  }
1249
- export function __wbg_instanceof_Map_53af74335dec57f4(arg0) {
1410
+ export function __wbg_instanceof_Map_f194b366846aca0c(arg0) {
1250
1411
  let result;
1251
1412
  try {
1252
1413
  result = arg0 instanceof Map;
@@ -1256,7 +1417,7 @@ export function __wbg_instanceof_Map_53af74335dec57f4(arg0) {
1256
1417
  const ret = result;
1257
1418
  return ret;
1258
1419
  }
1259
- export function __wbg_instanceof_Uint8Array_9b9075935c74707c(arg0) {
1420
+ export function __wbg_instanceof_Uint8Array_740438561a5b956d(arg0) {
1260
1421
  let result;
1261
1422
  try {
1262
1423
  result = arg0 instanceof Uint8Array;
@@ -1266,65 +1427,77 @@ export function __wbg_instanceof_Uint8Array_9b9075935c74707c(arg0) {
1266
1427
  const ret = result;
1267
1428
  return ret;
1268
1429
  }
1269
- export function __wbg_isArray_d314bb98fcf08331(arg0) {
1430
+ export function __wbg_isArray_33b91feb269ff46e(arg0) {
1270
1431
  const ret = Array.isArray(arg0);
1271
1432
  return ret;
1272
1433
  }
1273
- export function __wbg_isSafeInteger_bfbc7332a9768d2a(arg0) {
1434
+ export function __wbg_isSafeInteger_ecd6a7f9c3e053cd(arg0) {
1274
1435
  const ret = Number.isSafeInteger(arg0);
1275
1436
  return ret;
1276
1437
  }
1277
- export function __wbg_iterator_6ff6560ca1568e55() {
1438
+ export function __wbg_iterator_d8f549ec8fb061b1() {
1278
1439
  const ret = Symbol.iterator;
1279
1440
  return ret;
1280
1441
  }
1281
- export function __wbg_length_32ed9a279acd054c(arg0) {
1442
+ export function __wbg_length_15d3fc853a68bbbc(arg0) {
1282
1443
  const ret = arg0.length;
1283
1444
  return ret;
1284
1445
  }
1285
- export function __wbg_length_35a7bace40f36eac(arg0) {
1446
+ export function __wbg_length_74a17482fb9756fe(arg0) {
1286
1447
  const ret = arg0.length;
1287
1448
  return ret;
1288
1449
  }
1289
- export function __wbg_length_68dc7c5cf1b6d349(arg0) {
1450
+ export function __wbg_length_b3416cf66a5452c8(arg0) {
1290
1451
  const ret = arg0.length;
1291
1452
  return ret;
1292
1453
  }
1293
- export function __wbg_length_aeb94ff17a8a8556(arg0) {
1454
+ export function __wbg_length_cc4db358f624b4bc(arg0) {
1294
1455
  const ret = arg0.length;
1295
1456
  return ret;
1296
1457
  }
1297
- export function __wbg_length_c8c85e3b2adbc8be(arg0) {
1458
+ export function __wbg_length_ea16607d7b61445b(arg0) {
1298
1459
  const ret = arg0.length;
1299
1460
  return ret;
1300
1461
  }
1301
- export function __wbg_log_6b5ca2e6124b2808(arg0) {
1462
+ export function __wbg_log_524eedafa26daa59(arg0) {
1302
1463
  console.log(arg0);
1303
1464
  }
1304
- export function __wbg_new_0_73afc35eb544e539() {
1465
+ export function __wbg_new_0_1dcafdf5e786e876() {
1305
1466
  const ret = new Date();
1306
1467
  return ret;
1307
1468
  }
1308
- export function __wbg_new_361308b2356cecd0() {
1309
- const ret = new Object();
1469
+ export function __wbg_new_227d7c05414eb861() {
1470
+ const ret = new Error();
1471
+ return ret;
1472
+ }
1473
+ export function __wbg_new_4503a92ca6e5898d() { return handleError(function () {
1474
+ const ret = new FileReader();
1475
+ return ret;
1476
+ }, arguments); }
1477
+ export function __wbg_new_49d5571bd3f0c4d4() {
1478
+ const ret = new Map();
1310
1479
  return ret;
1311
1480
  }
1312
- export function __wbg_new_3eb36ae241fe6f44() {
1481
+ export function __wbg_new_5f486cdf45a04d78(arg0) {
1482
+ const ret = new Uint8Array(arg0);
1483
+ return ret;
1484
+ }
1485
+ export function __wbg_new_a70fbab9066b301f() {
1313
1486
  const ret = new Array();
1314
1487
  return ret;
1315
1488
  }
1316
- export function __wbg_new_8a6f238a6ece86ea() {
1317
- const ret = new Error();
1489
+ export function __wbg_new_ab79df5bd7c26067() {
1490
+ const ret = new Object();
1318
1491
  return ret;
1319
1492
  }
1320
- export function __wbg_new_b5d9e2fb389fef91(arg0, arg1) {
1493
+ export function __wbg_new_d098e265629cd10f(arg0, arg1) {
1321
1494
  try {
1322
1495
  var state0 = {a: arg0, b: arg1};
1323
1496
  var cb0 = (arg0, arg1) => {
1324
1497
  const a = state0.a;
1325
1498
  state0.a = 0;
1326
1499
  try {
1327
- return wasm_bindgen_4587cefd3cbf2d35___convert__closures_____invoke___wasm_bindgen_4587cefd3cbf2d35___JsValue__wasm_bindgen_4587cefd3cbf2d35___JsValue_____(a, state0.b, arg0, arg1);
1500
+ return wasm_bindgen_89530350b11b428b___convert__closures_____invoke___js_sys_fbcf4f1800dfb855___Function_fn_wasm_bindgen_89530350b11b428b___JsValue_____wasm_bindgen_89530350b11b428b___sys__Undefined___js_sys_fbcf4f1800dfb855___Function_fn_wasm_bindgen_89530350b11b428b___JsValue_____wasm_bindgen_89530350b11b428b___sys__Undefined_______true_(a, state0.b, arg0, arg1);
1328
1501
  } finally {
1329
1502
  state0.a = a;
1330
1503
  }
@@ -1335,184 +1508,205 @@ export function __wbg_new_b5d9e2fb389fef91(arg0, arg1) {
1335
1508
  state0.a = state0.b = 0;
1336
1509
  }
1337
1510
  }
1338
- export function __wbg_new_c1eaab32d813ec69() { return handleError(function () {
1339
- const ret = new FileReader();
1340
- return ret;
1341
- }, arguments); }
1342
- export function __wbg_new_dca287b076112a51() {
1343
- const ret = new Map();
1511
+ export function __wbg_new_from_slice_22da9388ac046e50(arg0, arg1) {
1512
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1344
1513
  return ret;
1345
1514
  }
1346
- export function __wbg_new_dd2b680c8bf6ae29(arg0) {
1347
- const ret = new Uint8Array(arg0);
1348
- return ret;
1515
+ export function __wbg_new_typed_aaaeaf29cf802876(arg0, arg1) {
1516
+ try {
1517
+ var state0 = {a: arg0, b: arg1};
1518
+ var cb0 = (arg0, arg1) => {
1519
+ const a = state0.a;
1520
+ state0.a = 0;
1521
+ try {
1522
+ return wasm_bindgen_89530350b11b428b___convert__closures_____invoke___js_sys_fbcf4f1800dfb855___Function_fn_wasm_bindgen_89530350b11b428b___JsValue_____wasm_bindgen_89530350b11b428b___sys__Undefined___js_sys_fbcf4f1800dfb855___Function_fn_wasm_bindgen_89530350b11b428b___JsValue_____wasm_bindgen_89530350b11b428b___sys__Undefined_______true_(a, state0.b, arg0, arg1);
1523
+ } finally {
1524
+ state0.a = a;
1525
+ }
1526
+ };
1527
+ const ret = new Promise(cb0);
1528
+ return ret;
1529
+ } finally {
1530
+ state0.a = state0.b = 0;
1531
+ }
1349
1532
  }
1350
- export function __wbg_new_no_args_1c7c842f08d00ebb(arg0, arg1) {
1351
- var v0 = getCachedStringFromWasm0(arg0, arg1);
1352
- const ret = new Function(v0);
1533
+ export function __wbg_new_typed_bccac67128ed885a() {
1534
+ const ret = new Array();
1353
1535
  return ret;
1354
1536
  }
1355
- export function __wbg_new_with_label_868725b8d51e8ff3() { return handleError(function (arg0, arg1) {
1537
+ export function __wbg_new_with_label_4ef7ad3ba8414280() { return handleError(function (arg0, arg1) {
1356
1538
  var v0 = getCachedStringFromWasm0(arg0, arg1);
1357
1539
  const ret = new TextDecoder(v0);
1358
1540
  return ret;
1359
1541
  }, arguments); }
1360
- export function __wbg_new_with_length_1763c527b2923202(arg0) {
1542
+ export function __wbg_new_with_length_3259a525196bd8cc(arg0) {
1361
1543
  const ret = new Array(arg0 >>> 0);
1362
1544
  return ret;
1363
1545
  }
1364
- export function __wbg_next_3482f54c49e8af19() { return handleError(function (arg0) {
1546
+ export function __wbg_new_with_length_825018a1616e9e55(arg0) {
1547
+ const ret = new Uint8Array(arg0 >>> 0);
1548
+ return ret;
1549
+ }
1550
+ export function __wbg_next_11b99ee6237339e3() { return handleError(function (arg0) {
1365
1551
  const ret = arg0.next();
1366
1552
  return ret;
1367
1553
  }, arguments); }
1368
- export function __wbg_next_418f80d8f5303233(arg0) {
1554
+ export function __wbg_next_e01a967809d1aa68(arg0) {
1369
1555
  const ret = arg0.next;
1370
1556
  return ret;
1371
1557
  }
1372
- export function __wbg_of_0774a9663fb93da1(arg0, arg1, arg2, arg3) {
1558
+ export function __wbg_of_4a6892ab933301c3(arg0, arg1, arg2, arg3) {
1373
1559
  const ret = Array.of(arg0, arg1, arg2, arg3);
1374
1560
  return ret;
1375
1561
  }
1376
- export function __wbg_of_9ab14f9d4bfb5040(arg0, arg1) {
1377
- const ret = Array.of(arg0, arg1);
1562
+ export function __wbg_of_8bf7ed3eca00ea43(arg0) {
1563
+ const ret = Array.of(arg0);
1378
1564
  return ret;
1379
1565
  }
1380
- export function __wbg_of_ab479ddbf595c4a7(arg0, arg1, arg2, arg3, arg4) {
1381
- const ret = Array.of(arg0, arg1, arg2, arg3, arg4);
1566
+ export function __wbg_of_8fd5dd402bc67165(arg0, arg1, arg2) {
1567
+ const ret = Array.of(arg0, arg1, arg2);
1382
1568
  return ret;
1383
1569
  }
1384
- export function __wbg_of_ddc0942b0dce16a1(arg0, arg1, arg2) {
1385
- const ret = Array.of(arg0, arg1, arg2);
1570
+ export function __wbg_of_bccc72834fbc1287(arg0, arg1, arg2, arg3, arg4) {
1571
+ const ret = Array.of(arg0, arg1, arg2, arg3, arg4);
1386
1572
  return ret;
1387
1573
  }
1388
- export function __wbg_of_f915f7cd925b21a5(arg0) {
1389
- const ret = Array.of(arg0);
1574
+ export function __wbg_of_d6376e3774c51f89(arg0, arg1) {
1575
+ const ret = Array.of(arg0, arg1);
1390
1576
  return ret;
1391
1577
  }
1392
- export function __wbg_prototypesetcall_bdcdcc5842e4d77d(arg0, arg1, arg2) {
1578
+ export function __wbg_parse_e9eddd2a82c706eb() { return handleError(function (arg0, arg1) {
1579
+ var v0 = getCachedStringFromWasm0(arg0, arg1);
1580
+ const ret = JSON.parse(v0);
1581
+ return ret;
1582
+ }, arguments); }
1583
+ export function __wbg_prototypesetcall_d62e5099504357e6(arg0, arg1, arg2) {
1393
1584
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1394
1585
  }
1395
- export function __wbg_push_8ffdcb2063340ba5(arg0, arg1) {
1586
+ export function __wbg_push_e87b0e732085a946(arg0, arg1) {
1396
1587
  const ret = arg0.push(arg1);
1397
1588
  return ret;
1398
1589
  }
1399
- export function __wbg_queueMicrotask_0aa0a927f78f5d98(arg0) {
1590
+ export function __wbg_queueMicrotask_0c399741342fb10f(arg0) {
1400
1591
  const ret = arg0.queueMicrotask;
1401
1592
  return ret;
1402
1593
  }
1403
- export function __wbg_queueMicrotask_5bb536982f78a56f(arg0) {
1594
+ export function __wbg_queueMicrotask_a082d78ce798393e(arg0) {
1404
1595
  queueMicrotask(arg0);
1405
1596
  }
1406
- export function __wbg_readAsArrayBuffer_7dda4bab363b1552() { return handleError(function (arg0, arg1) {
1597
+ export function __wbg_readAsArrayBuffer_42e72fd798694e26() { return handleError(function (arg0, arg1) {
1407
1598
  arg0.readAsArrayBuffer(arg1);
1408
1599
  }, arguments); }
1409
- export function __wbg_reject_a2176de7f1212be5(arg0) {
1600
+ export function __wbg_reject_452b6409a2fde3cd(arg0) {
1410
1601
  const ret = Promise.reject(arg0);
1411
1602
  return ret;
1412
1603
  }
1413
- export function __wbg_resolve_002c4b7d9d8f6b64(arg0) {
1604
+ export function __wbg_resolve_ae8d83246e5bcc12(arg0) {
1414
1605
  const ret = Promise.resolve(arg0);
1415
1606
  return ret;
1416
1607
  }
1417
- export function __wbg_result_a9f41cf43ff6e60f() { return handleError(function (arg0) {
1608
+ export function __wbg_result_e9e044267b3f176a() { return handleError(function (arg0) {
1418
1609
  const ret = arg0.result;
1419
1610
  return ret;
1420
1611
  }, arguments); }
1421
- export function __wbg_set_0af2522656c2a71b() { return handleError(function (arg0, arg1, arg2) {
1612
+ export function __wbg_set_282384002438957f(arg0, arg1, arg2) {
1613
+ arg0[arg1 >>> 0] = arg2;
1614
+ }
1615
+ export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
1616
+ arg0[arg1] = arg2;
1617
+ }
1618
+ export function __wbg_set_726a6b65926212b5() { return handleError(function (arg0, arg1, arg2) {
1422
1619
  arg0.set(arg1 >>> 0, arg2);
1423
1620
  }, arguments); }
1424
- export function __wbg_set_1eb0999cf5d27fc8(arg0, arg1, arg2) {
1621
+ export function __wbg_set_8c0b3ffcf05d61c2(arg0, arg1, arg2) {
1622
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
1623
+ }
1624
+ export function __wbg_set_bf7251625df30a02(arg0, arg1, arg2) {
1425
1625
  const ret = arg0.set(arg1, arg2);
1426
1626
  return ret;
1427
1627
  }
1428
- export function __wbg_set_25cf9deff6bf0ea8(arg0, arg1, arg2) {
1628
+ export function __wbg_set_e80615d7a9a43981(arg0, arg1, arg2) {
1429
1629
  arg0.set(arg1, arg2 >>> 0);
1430
1630
  }
1431
- export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
1432
- arg0[arg1] = arg2;
1433
- }
1434
- export function __wbg_set_f43e577aea94465b(arg0, arg1, arg2) {
1435
- arg0[arg1 >>> 0] = arg2;
1436
- }
1437
- export function __wbg_slice_8bbd46adb2100583(arg0, arg1, arg2) {
1631
+ export function __wbg_slice_f3fd3c2bec9310f6(arg0, arg1, arg2) {
1438
1632
  const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
1439
1633
  return ret;
1440
1634
  }
1441
- export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
1635
+ export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
1442
1636
  const ret = arg1.stack;
1443
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1637
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1444
1638
  const len1 = WASM_VECTOR_LEN;
1445
1639
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1446
1640
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1447
1641
  }
1448
- export function __wbg_static_accessor_GLOBAL_12837167ad935116() {
1642
+ export function __wbg_static_accessor_GLOBAL_8adb955bd33fac2f() {
1449
1643
  const ret = typeof global === 'undefined' ? null : global;
1450
1644
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1451
1645
  }
1452
- export function __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f() {
1646
+ export function __wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913() {
1453
1647
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1454
1648
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1455
1649
  }
1456
- export function __wbg_static_accessor_SELF_a621d3dfbb60d0ce() {
1650
+ export function __wbg_static_accessor_SELF_f207c857566db248() {
1457
1651
  const ret = typeof self === 'undefined' ? null : self;
1458
1652
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1459
1653
  }
1460
- export function __wbg_static_accessor_WINDOW_f8727f0cf888e0bd() {
1654
+ export function __wbg_static_accessor_WINDOW_bb9f1ba69d61b386() {
1461
1655
  const ret = typeof window === 'undefined' ? null : window;
1462
1656
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1463
1657
  }
1464
- export function __wbg_subarray_a96e1fef17ed23cb(arg0, arg1, arg2) {
1658
+ export function __wbg_subarray_a068d24e39478a8a(arg0, arg1, arg2) {
1465
1659
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1466
1660
  return ret;
1467
1661
  }
1468
- export function __wbg_then_0d9fe2c7b1857d32(arg0, arg1, arg2) {
1469
- const ret = arg0.then(arg1, arg2);
1662
+ export function __wbg_then_098abe61755d12f6(arg0, arg1) {
1663
+ const ret = arg0.then(arg1);
1470
1664
  return ret;
1471
1665
  }
1472
- export function __wbg_then_b9e7b3b5f1a9e1b5(arg0, arg1) {
1473
- const ret = arg0.then(arg1);
1666
+ export function __wbg_then_9e335f6dd892bc11(arg0, arg1, arg2) {
1667
+ const ret = arg0.then(arg1, arg2);
1474
1668
  return ret;
1475
1669
  }
1476
- export function __wbg_type_e8c7fade6d73451b(arg0, arg1) {
1670
+ export function __wbg_type_7a6bb36555a59d6d(arg0, arg1) {
1477
1671
  const ret = arg1.type;
1478
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1672
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc_command_export, wasm.__wbindgen_realloc_command_export);
1479
1673
  const len1 = WASM_VECTOR_LEN;
1480
1674
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1481
1675
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1482
1676
  }
1483
- export function __wbg_value_0546255b415e96c1(arg0) {
1677
+ export function __wbg_value_21fc78aab0322612(arg0) {
1484
1678
  const ret = arg0.value;
1485
1679
  return ret;
1486
1680
  }
1487
- export function __wbg_warn_f7ae1b2e66ccb930(arg0) {
1681
+ export function __wbg_warn_69424c2d92a2fa73(arg0) {
1488
1682
  console.warn(arg0);
1489
1683
  }
1490
1684
  export function __wbindgen_cast_0000000000000001(arg0, arg1) {
1491
- // Cast intrinsic for `Closure(Closure { dtor_idx: 2189, function: Function { arguments: [Externref], shim_idx: 2190, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1492
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_4587cefd3cbf2d35___closure__destroy___dyn_core_dde6c4b55a98adc4___ops__function__FnMut__wasm_bindgen_4587cefd3cbf2d35___JsValue____Output_______, wasm_bindgen_4587cefd3cbf2d35___convert__closures_____invoke___wasm_bindgen_4587cefd3cbf2d35___JsValue_____);
1685
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 22, function: Function { arguments: [Externref], shim_idx: 24, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1686
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_89530350b11b428b___closure__destroy___dyn_core_dde6c4b55a98adc4___ops__function__FnMut__wasm_bindgen_89530350b11b428b___JsValue____Output_______, wasm_bindgen_89530350b11b428b___convert__closures_____invoke___wasm_bindgen_89530350b11b428b___JsValue______true_);
1687
+ return ret;
1688
+ }
1689
+ export function __wbindgen_cast_0000000000000002(arg0, arg1) {
1690
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 3507, function: Function { arguments: [Externref], shim_idx: 3508, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1691
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_89530350b11b428b___closure__destroy___dyn_core_dde6c4b55a98adc4___ops__function__FnMut__wasm_bindgen_89530350b11b428b___JsValue____Output___core_dde6c4b55a98adc4___result__Result_____wasm_bindgen_89530350b11b428b___JsError___, wasm_bindgen_89530350b11b428b___convert__closures_____invoke___wasm_bindgen_89530350b11b428b___JsValue__core_dde6c4b55a98adc4___result__Result_____wasm_bindgen_89530350b11b428b___JsError___true_);
1493
1692
  return ret;
1494
1693
  }
1495
- export function __wbindgen_cast_0000000000000002(arg0) {
1694
+ export function __wbindgen_cast_0000000000000003(arg0) {
1496
1695
  // Cast intrinsic for `F64 -> Externref`.
1497
1696
  const ret = arg0;
1498
1697
  return ret;
1499
1698
  }
1500
- export function __wbindgen_cast_0000000000000003(arg0) {
1699
+ export function __wbindgen_cast_0000000000000004(arg0) {
1501
1700
  // Cast intrinsic for `I64 -> Externref`.
1502
1701
  const ret = arg0;
1503
1702
  return ret;
1504
1703
  }
1505
- export function __wbindgen_cast_0000000000000004(arg0, arg1) {
1704
+ export function __wbindgen_cast_0000000000000005(arg0, arg1) {
1506
1705
  var v0 = getCachedStringFromWasm0(arg0, arg1);
1507
1706
  // Cast intrinsic for `Ref(CachedString) -> Externref`.
1508
1707
  const ret = v0;
1509
1708
  return ret;
1510
1709
  }
1511
- export function __wbindgen_cast_0000000000000005(arg0, arg1) {
1512
- // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1513
- const ret = getArrayU8FromWasm0(arg0, arg1);
1514
- return ret;
1515
- }
1516
1710
  export function __wbindgen_cast_0000000000000006(arg0) {
1517
1711
  // Cast intrinsic for `U64 -> Externref`.
1518
1712
  const ret = BigInt.asUintN(64, arg0);
@@ -1527,16 +1721,19 @@ export function __wbindgen_init_externref_table() {
1527
1721
  table.set(offset + 2, true);
1528
1722
  table.set(offset + 3, false);
1529
1723
  }
1530
- export function __wbindgen_object_is_undefined(arg0) {
1531
- const ret = arg0 === undefined;
1532
- return ret;
1724
+ function wasm_bindgen_89530350b11b428b___convert__closures_____invoke___wasm_bindgen_89530350b11b428b___JsValue______true_(arg0, arg1, arg2) {
1725
+ wasm.wasm_bindgen_89530350b11b428b___convert__closures_____invoke___wasm_bindgen_89530350b11b428b___JsValue______true_(arg0, arg1, arg2);
1533
1726
  }
1534
- function wasm_bindgen_4587cefd3cbf2d35___convert__closures_____invoke___wasm_bindgen_4587cefd3cbf2d35___JsValue_____(arg0, arg1, arg2) {
1535
- wasm.wasm_bindgen_4587cefd3cbf2d35___convert__closures_____invoke___wasm_bindgen_4587cefd3cbf2d35___JsValue_____(arg0, arg1, arg2);
1727
+
1728
+ function wasm_bindgen_89530350b11b428b___convert__closures_____invoke___wasm_bindgen_89530350b11b428b___JsValue__core_dde6c4b55a98adc4___result__Result_____wasm_bindgen_89530350b11b428b___JsError___true_(arg0, arg1, arg2) {
1729
+ const ret = wasm.wasm_bindgen_89530350b11b428b___convert__closures_____invoke___wasm_bindgen_89530350b11b428b___JsValue__core_dde6c4b55a98adc4___result__Result_____wasm_bindgen_89530350b11b428b___JsError___true_(arg0, arg1, arg2);
1730
+ if (ret[1]) {
1731
+ throw takeFromExternrefTable0(ret[0]);
1732
+ }
1536
1733
  }
1537
1734
 
1538
- function wasm_bindgen_4587cefd3cbf2d35___convert__closures_____invoke___wasm_bindgen_4587cefd3cbf2d35___JsValue__wasm_bindgen_4587cefd3cbf2d35___JsValue_____(arg0, arg1, arg2, arg3) {
1539
- wasm.wasm_bindgen_4587cefd3cbf2d35___convert__closures_____invoke___wasm_bindgen_4587cefd3cbf2d35___JsValue__wasm_bindgen_4587cefd3cbf2d35___JsValue_____(arg0, arg1, arg2, arg3);
1735
+ function wasm_bindgen_89530350b11b428b___convert__closures_____invoke___js_sys_fbcf4f1800dfb855___Function_fn_wasm_bindgen_89530350b11b428b___JsValue_____wasm_bindgen_89530350b11b428b___sys__Undefined___js_sys_fbcf4f1800dfb855___Function_fn_wasm_bindgen_89530350b11b428b___JsValue_____wasm_bindgen_89530350b11b428b___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
1736
+ wasm.wasm_bindgen_89530350b11b428b___convert__closures_____invoke___js_sys_fbcf4f1800dfb855___Function_fn_wasm_bindgen_89530350b11b428b___JsValue_____wasm_bindgen_89530350b11b428b___sys__Undefined___js_sys_fbcf4f1800dfb855___Function_fn_wasm_bindgen_89530350b11b428b___JsValue_____wasm_bindgen_89530350b11b428b___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
1540
1737
  }
1541
1738
 
1542
1739
  const ModuleInfoFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -1544,7 +1741,7 @@ const ModuleInfoFinalization = (typeof FinalizationRegistry === 'undefined')
1544
1741
  : new FinalizationRegistry(ptr => wasm.__wbg_moduleinfo_free(ptr >>> 0, 1));
1545
1742
 
1546
1743
  function addToExternrefTable0(obj) {
1547
- const idx = wasm.__externref_table_alloc();
1744
+ const idx = wasm.__externref_table_alloc_command_export();
1548
1745
  wasm.__wbindgen_externrefs.set(idx, obj);
1549
1746
  return idx;
1550
1747
  }
@@ -1659,7 +1856,7 @@ function handleError(f, args) {
1659
1856
  return f.apply(this, args);
1660
1857
  } catch (e) {
1661
1858
  const idx = addToExternrefTable0(e);
1662
- wasm.__wbindgen_exn_store(idx);
1859
+ wasm.__wbindgen_exn_store_command_export(idx);
1663
1860
  }
1664
1861
  }
1665
1862
 
@@ -1695,6 +1892,13 @@ function makeMutClosure(arg0, arg1, dtor, f) {
1695
1892
  return real;
1696
1893
  }
1697
1894
 
1895
+ function passArray8ToWasm0(arg, malloc) {
1896
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
1897
+ getUint8ArrayMemory0().set(arg, ptr / 1);
1898
+ WASM_VECTOR_LEN = arg.length;
1899
+ return ptr;
1900
+ }
1901
+
1698
1902
  function passArrayJsValueToWasm0(array, malloc) {
1699
1903
  const ptr = malloc(array.length * 4, 4) >>> 0;
1700
1904
  for (let i = 0; i < array.length; i++) {
@@ -1744,7 +1948,7 @@ function passStringToWasm0(arg, malloc, realloc) {
1744
1948
 
1745
1949
  function takeFromExternrefTable0(idx) {
1746
1950
  const value = wasm.__wbindgen_externrefs.get(idx);
1747
- wasm.__externref_table_dealloc(idx);
1951
+ wasm.__externref_table_dealloc_command_export(idx);
1748
1952
  return value;
1749
1953
  }
1750
1954