@janssenproject/cedarling_wasm 2.3.0 → 2.4.0-nodejs

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cedarling_wasm.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * A WASM wrapper for the Rust `cedarling::AuthorizeResult` struct.
5
5
  * Represents the result of an authorization request.
6
6
  */
7
- export class AuthorizeResult {
7
+ class AuthorizeResult {
8
8
  static __wrap(ptr) {
9
9
  const obj = Object.create(AuthorizeResult.prototype);
10
10
  obj.__wbg_ptr = ptr;
@@ -112,12 +112,13 @@ export class AuthorizeResult {
112
112
  }
113
113
  }
114
114
  if (Symbol.dispose) AuthorizeResult.prototype[Symbol.dispose] = AuthorizeResult.prototype.free;
115
+ exports.AuthorizeResult = AuthorizeResult;
115
116
 
116
117
  /**
117
118
  * A WASM wrapper for the Rust `cedar_policy::Response` struct.
118
119
  * Represents the result of an authorization request.
119
120
  */
120
- export class AuthorizeResultResponse {
121
+ class AuthorizeResultResponse {
121
122
  static __wrap(ptr) {
122
123
  const obj = Object.create(AuthorizeResultResponse.prototype);
123
124
  obj.__wbg_ptr = ptr;
@@ -152,13 +153,14 @@ export class AuthorizeResultResponse {
152
153
  }
153
154
  }
154
155
  if (Symbol.dispose) AuthorizeResultResponse.prototype[Symbol.dispose] = AuthorizeResultResponse.prototype.free;
156
+ exports.AuthorizeResultResponse = AuthorizeResultResponse;
155
157
 
156
158
  /**
157
159
  * WASM wrapper for
158
160
  * `cedarling::BatchAuthorizeResponse<Result<MultiIssuerAuthorizeResult, BatchItemError>>`.
159
161
  * Same shape as [`BatchAuthorizeUnsignedResponse`] with multi-issuer results.
160
162
  */
161
- export class BatchAuthorizeMultiIssuerResponse {
163
+ class BatchAuthorizeMultiIssuerResponse {
162
164
  static __wrap(ptr) {
163
165
  const obj = Object.create(BatchAuthorizeMultiIssuerResponse.prototype);
164
166
  obj.__wbg_ptr = ptr;
@@ -206,7 +208,7 @@ export class BatchAuthorizeMultiIssuerResponse {
206
208
  wasm.batchauthorizemultiissuerresponse_results(retptr, this.__wbg_ptr);
207
209
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
208
210
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
209
- var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
211
+ var v1 = getArrayJsValueFromWasm0(r0, r1);
210
212
  wasm.__wbindgen_export5(r0, r1 * 4, 4);
211
213
  return v1;
212
214
  } finally {
@@ -215,6 +217,7 @@ export class BatchAuthorizeMultiIssuerResponse {
215
217
  }
216
218
  }
217
219
  if (Symbol.dispose) BatchAuthorizeMultiIssuerResponse.prototype[Symbol.dispose] = BatchAuthorizeMultiIssuerResponse.prototype.free;
220
+ exports.BatchAuthorizeMultiIssuerResponse = BatchAuthorizeMultiIssuerResponse;
218
221
 
219
222
  /**
220
223
  * WASM wrapper for `cedarling::BatchAuthorizeResponse<Result<AuthorizeResult, BatchItemError>>`.
@@ -223,7 +226,7 @@ if (Symbol.dispose) BatchAuthorizeMultiIssuerResponse.prototype[Symbol.dispose]
223
226
  * is a [`BatchItemUnsignedResult`] — Cedar decision on `is_ok()`, per-item
224
227
  * build failure on `error`. `results[i]` corresponds to `items[i]`.
225
228
  */
226
- export class BatchAuthorizeUnsignedResponse {
229
+ class BatchAuthorizeUnsignedResponse {
227
230
  static __wrap(ptr) {
228
231
  const obj = Object.create(BatchAuthorizeUnsignedResponse.prototype);
229
232
  obj.__wbg_ptr = ptr;
@@ -271,7 +274,7 @@ export class BatchAuthorizeUnsignedResponse {
271
274
  wasm.batchauthorizeunsignedresponse_results(retptr, this.__wbg_ptr);
272
275
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
273
276
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
274
- var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
277
+ var v1 = getArrayJsValueFromWasm0(r0, r1);
275
278
  wasm.__wbindgen_export5(r0, r1 * 4, 4);
276
279
  return v1;
277
280
  } finally {
@@ -280,12 +283,13 @@ export class BatchAuthorizeUnsignedResponse {
280
283
  }
281
284
  }
282
285
  if (Symbol.dispose) BatchAuthorizeUnsignedResponse.prototype[Symbol.dispose] = BatchAuthorizeUnsignedResponse.prototype.free;
286
+ exports.BatchAuthorizeUnsignedResponse = BatchAuthorizeUnsignedResponse;
283
287
 
284
288
  /**
285
289
  * Per-item build failure surfaced inside a batch response at `results[i]`
286
290
  * when Cedar couldn't be reached for that item.
287
291
  */
288
- export class BatchItemError {
292
+ class BatchItemError {
289
293
  static __wrap(ptr) {
290
294
  const obj = Object.create(BatchItemError.prototype);
291
295
  obj.__wbg_ptr = ptr;
@@ -354,11 +358,12 @@ export class BatchItemError {
354
358
  }
355
359
  }
356
360
  if (Symbol.dispose) BatchItemError.prototype[Symbol.dispose] = BatchItemError.prototype.free;
361
+ exports.BatchItemError = BatchItemError;
357
362
 
358
363
  /**
359
364
  * Multi-issuer analog of [`BatchItemUnsignedResult`].
360
365
  */
361
- export class BatchItemMultiIssuerResult {
366
+ class BatchItemMultiIssuerResult {
362
367
  static __wrap(ptr) {
363
368
  const obj = Object.create(BatchItemMultiIssuerResult.prototype);
364
369
  obj.__wbg_ptr = ptr;
@@ -412,12 +417,13 @@ export class BatchItemMultiIssuerResult {
412
417
  }
413
418
  }
414
419
  if (Symbol.dispose) BatchItemMultiIssuerResult.prototype[Symbol.dispose] = BatchItemMultiIssuerResult.prototype.free;
420
+ exports.BatchItemMultiIssuerResult = BatchItemMultiIssuerResult;
415
421
 
416
422
  /**
417
423
  * One slot in a batch response's `results` array. Callers switch on
418
424
  * `is_ok()` — on `true`, read `unwrap()`; on `false`, read `error()`.
419
425
  */
420
- export class BatchItemUnsignedResult {
426
+ class BatchItemUnsignedResult {
421
427
  static __wrap(ptr) {
422
428
  const obj = Object.create(BatchItemUnsignedResult.prototype);
423
429
  obj.__wbg_ptr = ptr;
@@ -472,11 +478,12 @@ export class BatchItemUnsignedResult {
472
478
  }
473
479
  }
474
480
  if (Symbol.dispose) BatchItemUnsignedResult.prototype[Symbol.dispose] = BatchItemUnsignedResult.prototype.free;
481
+ exports.BatchItemUnsignedResult = BatchItemUnsignedResult;
475
482
 
476
483
  /**
477
484
  * The instance of the Cedarling application.
478
485
  */
479
- export class Cedarling {
486
+ class Cedarling {
480
487
  static __wrap(ptr) {
481
488
  const obj = Object.create(Cedarling.prototype);
482
489
  obj.__wbg_ptr = ptr;
@@ -523,7 +530,7 @@ export class Cedarling {
523
530
  wasm.cedarling_annotation_values(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
524
531
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
525
532
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
526
- var v3 = getArrayJsValueFromWasm0(r0, r1).slice();
533
+ var v3 = getArrayJsValueFromWasm0(r0, r1);
527
534
  wasm.__wbindgen_export5(r0, r1 * 4, 4);
528
535
  return v3;
529
536
  } finally {
@@ -878,7 +885,7 @@ export class Cedarling {
878
885
  if (r3) {
879
886
  throw takeObject(r2);
880
887
  }
881
- var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
888
+ var v2 = getArrayJsValueFromWasm0(r0, r1);
882
889
  wasm.__wbindgen_export5(r0, r1 * 4, 4);
883
890
  return v2;
884
891
  } finally {
@@ -908,7 +915,7 @@ export class Cedarling {
908
915
  if (r3) {
909
916
  throw takeObject(r2);
910
917
  }
911
- var v3 = getArrayJsValueFromWasm0(r0, r1).slice();
918
+ var v3 = getArrayJsValueFromWasm0(r0, r1);
912
919
  wasm.__wbindgen_export5(r0, r1 * 4, 4);
913
920
  return v3;
914
921
  } finally {
@@ -934,7 +941,7 @@ export class Cedarling {
934
941
  if (r3) {
935
942
  throw takeObject(r2);
936
943
  }
937
- var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
944
+ var v2 = getArrayJsValueFromWasm0(r0, r1);
938
945
  wasm.__wbindgen_export5(r0, r1 * 4, 4);
939
946
  return v2;
940
947
  } finally {
@@ -1204,12 +1211,13 @@ export class Cedarling {
1204
1211
  }
1205
1212
  }
1206
1213
  if (Symbol.dispose) Cedarling.prototype[Symbol.dispose] = Cedarling.prototype.free;
1214
+ exports.Cedarling = Cedarling;
1207
1215
 
1208
1216
  /**
1209
1217
  * A WASM wrapper for the Rust `cedarling::DataEntry` struct.
1210
1218
  * Represents a data entry in the DataStore with value and metadata.
1211
1219
  */
1212
- export class DataEntry {
1220
+ class DataEntry {
1213
1221
  static __wrap(ptr) {
1214
1222
  const obj = Object.create(DataEntry.prototype);
1215
1223
  obj.__wbg_ptr = ptr;
@@ -1325,7 +1333,7 @@ export class DataEntry {
1325
1333
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1326
1334
  let v1;
1327
1335
  if (r0 !== 0) {
1328
- v1 = getStringFromWasm0(r0, r1).slice();
1336
+ v1 = getStringFromWasm0(r0, r1);
1329
1337
  wasm.__wbindgen_export5(r0, r1 * 1, 1);
1330
1338
  }
1331
1339
  return v1;
@@ -1398,12 +1406,13 @@ export class DataEntry {
1398
1406
  }
1399
1407
  }
1400
1408
  if (Symbol.dispose) DataEntry.prototype[Symbol.dispose] = DataEntry.prototype.free;
1409
+ exports.DataEntry = DataEntry;
1401
1410
 
1402
1411
  /**
1403
1412
  * A WASM wrapper for the Rust `cedarling::DataStoreStats` struct.
1404
1413
  * Statistics about the DataStore.
1405
1414
  */
1406
- export class DataStoreStats {
1415
+ class DataStoreStats {
1407
1416
  static __wrap(ptr) {
1408
1417
  const obj = Object.create(DataStoreStats.prototype);
1409
1418
  obj.__wbg_ptr = ptr;
@@ -1577,6 +1586,7 @@ export class DataStoreStats {
1577
1586
  }
1578
1587
  }
1579
1588
  if (Symbol.dispose) DataStoreStats.prototype[Symbol.dispose] = DataStoreStats.prototype.free;
1589
+ exports.DataStoreStats = DataStoreStats;
1580
1590
 
1581
1591
  /**
1582
1592
  * Diagnostics
@@ -1584,7 +1594,7 @@ if (Symbol.dispose) DataStoreStats.prototype[Symbol.dispose] = DataStoreStats.pr
1584
1594
  *
1585
1595
  * Provides detailed information about how a policy decision was made, including policies that contributed to the decision and any errors encountered during evaluation.
1586
1596
  */
1587
- export class Diagnostics {
1597
+ class Diagnostics {
1588
1598
  static __wrap(ptr) {
1589
1599
  const obj = Object.create(Diagnostics.prototype);
1590
1600
  obj.__wbg_ptr = ptr;
@@ -1612,7 +1622,7 @@ export class Diagnostics {
1612
1622
  wasm.diagnostics_errors(retptr, this.__wbg_ptr);
1613
1623
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1614
1624
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1615
- var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
1625
+ var v1 = getArrayJsValueFromWasm0(r0, r1);
1616
1626
  wasm.__wbindgen_export5(r0, r1 * 4, 4);
1617
1627
  return v1;
1618
1628
  } finally {
@@ -1632,7 +1642,7 @@ export class Diagnostics {
1632
1642
  wasm.diagnostics_reason(retptr, this.__wbg_ptr);
1633
1643
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1634
1644
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1635
- var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
1645
+ var v1 = getArrayJsValueFromWasm0(r0, r1);
1636
1646
  wasm.__wbindgen_export5(r0, r1 * 4, 4);
1637
1647
  return v1;
1638
1648
  } finally {
@@ -1641,8 +1651,9 @@ export class Diagnostics {
1641
1651
  }
1642
1652
  }
1643
1653
  if (Symbol.dispose) Diagnostics.prototype[Symbol.dispose] = Diagnostics.prototype.free;
1654
+ exports.Diagnostics = Diagnostics;
1644
1655
 
1645
- export class IntoUnderlyingByteSource {
1656
+ class IntoUnderlyingByteSource {
1646
1657
  __destroy_into_raw() {
1647
1658
  const ptr = this.__wbg_ptr;
1648
1659
  this.__wbg_ptr = 0;
@@ -1687,8 +1698,9 @@ export class IntoUnderlyingByteSource {
1687
1698
  }
1688
1699
  }
1689
1700
  if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free;
1701
+ exports.IntoUnderlyingByteSource = IntoUnderlyingByteSource;
1690
1702
 
1691
- export class IntoUnderlyingSink {
1703
+ class IntoUnderlyingSink {
1692
1704
  __destroy_into_raw() {
1693
1705
  const ptr = this.__wbg_ptr;
1694
1706
  this.__wbg_ptr = 0;
@@ -1726,8 +1738,9 @@ export class IntoUnderlyingSink {
1726
1738
  }
1727
1739
  }
1728
1740
  if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free;
1741
+ exports.IntoUnderlyingSink = IntoUnderlyingSink;
1729
1742
 
1730
- export class IntoUnderlyingSource {
1743
+ class IntoUnderlyingSource {
1731
1744
  __destroy_into_raw() {
1732
1745
  const ptr = this.__wbg_ptr;
1733
1746
  this.__wbg_ptr = 0;
@@ -1752,12 +1765,13 @@ export class IntoUnderlyingSource {
1752
1765
  }
1753
1766
  }
1754
1767
  if (Symbol.dispose) IntoUnderlyingSource.prototype[Symbol.dispose] = IntoUnderlyingSource.prototype.free;
1768
+ exports.IntoUnderlyingSource = IntoUnderlyingSource;
1755
1769
 
1756
1770
  /**
1757
1771
  * A WASM wrapper for the Rust `cedarling::MultiIssuerAuthorizeResult` struct.
1758
1772
  * Represents the result of a multi-issuer authorization request.
1759
1773
  */
1760
- export class MultiIssuerAuthorizeResult {
1774
+ class MultiIssuerAuthorizeResult {
1761
1775
  static __wrap(ptr) {
1762
1776
  const obj = Object.create(MultiIssuerAuthorizeResult.prototype);
1763
1777
  obj.__wbg_ptr = ptr;
@@ -1861,6 +1875,7 @@ export class MultiIssuerAuthorizeResult {
1861
1875
  }
1862
1876
  }
1863
1877
  if (Symbol.dispose) MultiIssuerAuthorizeResult.prototype[Symbol.dispose] = MultiIssuerAuthorizeResult.prototype.free;
1878
+ exports.MultiIssuerAuthorizeResult = MultiIssuerAuthorizeResult;
1864
1879
 
1865
1880
  /**
1866
1881
  * PolicyEvaluationError
@@ -1868,7 +1883,7 @@ if (Symbol.dispose) MultiIssuerAuthorizeResult.prototype[Symbol.dispose] = Multi
1868
1883
  *
1869
1884
  * Represents an error that occurred when evaluating a Cedar policy.
1870
1885
  */
1871
- export class PolicyEvaluationError {
1886
+ class PolicyEvaluationError {
1872
1887
  static __wrap(ptr) {
1873
1888
  const obj = Object.create(PolicyEvaluationError.prototype);
1874
1889
  obj.__wbg_ptr = ptr;
@@ -1927,6 +1942,7 @@ export class PolicyEvaluationError {
1927
1942
  }
1928
1943
  }
1929
1944
  if (Symbol.dispose) PolicyEvaluationError.prototype[Symbol.dispose] = PolicyEvaluationError.prototype.free;
1945
+ exports.PolicyEvaluationError = PolicyEvaluationError;
1930
1946
 
1931
1947
  /**
1932
1948
  * Create a new instance of the Cedarling application.
@@ -1934,10 +1950,11 @@ if (Symbol.dispose) PolicyEvaluationError.prototype[Symbol.dispose] = PolicyEval
1934
1950
  * @param {any} config
1935
1951
  * @returns {Promise<Cedarling>}
1936
1952
  */
1937
- export function init(config) {
1953
+ function init(config) {
1938
1954
  const ret = wasm.init(addHeapObject(config));
1939
1955
  return takeObject(ret);
1940
1956
  }
1957
+ exports.init = init;
1941
1958
 
1942
1959
  /**
1943
1960
  * Create a new instance of the Cedarling application from archive bytes.
@@ -1959,79 +1976,80 @@ export function init(config) {
1959
1976
  * @param {Uint8Array} archive_bytes
1960
1977
  * @returns {Promise<Cedarling>}
1961
1978
  */
1962
- export function init_from_archive_bytes(config, archive_bytes) {
1979
+ function init_from_archive_bytes(config, archive_bytes) {
1963
1980
  const ret = wasm.init_from_archive_bytes(addHeapObject(config), addHeapObject(archive_bytes));
1964
1981
  return takeObject(ret);
1965
1982
  }
1983
+ exports.init_from_archive_bytes = init_from_archive_bytes;
1966
1984
  function __wbg_get_imports() {
1967
1985
  const import0 = {
1968
1986
  __proto__: null,
1969
- __wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
1987
+ __wbg_Error_408e67f47ca7b58b: function(arg0, arg1) {
1970
1988
  const ret = Error(getStringFromWasm0(arg0, arg1));
1971
1989
  return addHeapObject(ret);
1972
1990
  },
1973
- __wbg_Number_9a4e0ecb0fa16705: function(arg0) {
1991
+ __wbg_Number_3890faa6d3ff057d: function(arg0) {
1974
1992
  const ret = Number(getObject(arg0));
1975
1993
  return ret;
1976
1994
  },
1977
- __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
1995
+ __wbg___wbindgen_bigint_get_as_i64_c4ecf48528083721: function(arg0, arg1) {
1978
1996
  const v = getObject(arg1);
1979
1997
  const ret = typeof(v) === 'bigint' ? v : undefined;
1980
1998
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1981
1999
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1982
2000
  },
1983
- __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
2001
+ __wbg___wbindgen_boolean_get_c9c83ebd41b34df3: function(arg0) {
1984
2002
  const v = getObject(arg0);
1985
2003
  const ret = typeof(v) === 'boolean' ? v : undefined;
1986
2004
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1987
2005
  },
1988
- __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
2006
+ __wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(arg0, arg1) {
1989
2007
  const ret = debugString(getObject(arg1));
1990
2008
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1991
2009
  const len1 = WASM_VECTOR_LEN;
1992
2010
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1993
2011
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1994
2012
  },
1995
- __wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
2013
+ __wbg___wbindgen_in_ac983077f137f2e6: function(arg0, arg1) {
1996
2014
  const ret = getObject(arg0) in getObject(arg1);
1997
2015
  return ret;
1998
2016
  },
1999
- __wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
2017
+ __wbg___wbindgen_is_bigint_8ffbbef442139384: function(arg0) {
2000
2018
  const ret = typeof(getObject(arg0)) === 'bigint';
2001
2019
  return ret;
2002
2020
  },
2003
- __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
2021
+ __wbg___wbindgen_is_function_5e4570eb24ffa122: function(arg0) {
2004
2022
  const ret = typeof(getObject(arg0)) === 'function';
2005
2023
  return ret;
2006
2024
  },
2007
- __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
2025
+ __wbg___wbindgen_is_object_a2790eb24c211ea0: function(arg0) {
2008
2026
  const val = getObject(arg0);
2009
2027
  const ret = typeof(val) === 'object' && val !== null;
2010
2028
  return ret;
2011
2029
  },
2012
- __wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
2030
+ __wbg___wbindgen_is_string_e6f02f0ea5f20a32: function(arg0) {
2013
2031
  const ret = typeof(getObject(arg0)) === 'string';
2014
2032
  return ret;
2015
2033
  },
2016
- __wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
2034
+ __wbg___wbindgen_is_undefined_6cff064c44e0d823: function(arg0) {
2017
2035
  const ret = getObject(arg0) === undefined;
2018
2036
  return ret;
2019
2037
  },
2020
- __wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
2038
+ __wbg___wbindgen_jsval_eq_0a18949a61670320: function(arg0, arg1) {
2021
2039
  const ret = getObject(arg0) === getObject(arg1);
2022
2040
  return ret;
2023
2041
  },
2024
- __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
2042
+ __wbg___wbindgen_jsval_loose_eq_acf2776254a8d832: function(arg0, arg1) {
2025
2043
  const ret = getObject(arg0) == getObject(arg1);
2026
2044
  return ret;
2027
2045
  },
2028
- __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
2046
+ __wbg___wbindgen_number_get_136b9679cab35cfb: function(arg0, arg1) {
2029
2047
  const obj = getObject(arg1);
2030
2048
  const ret = typeof(obj) === 'number' ? obj : undefined;
2031
2049
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
2032
2050
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
2033
2051
  },
2034
- __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
2052
+ __wbg___wbindgen_string_get_d154f1e671052120: function(arg0, arg1) {
2035
2053
  const obj = getObject(arg1);
2036
2054
  const ret = typeof(obj) === 'string' ? obj : undefined;
2037
2055
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -2039,22 +2057,22 @@ function __wbg_get_imports() {
2039
2057
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2040
2058
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2041
2059
  },
2042
- __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
2060
+ __wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
2043
2061
  throw new Error(getStringFromWasm0(arg0, arg1));
2044
2062
  },
2045
- __wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
2063
+ __wbg__wbg_cb_unref_be22cc64ae6946a0: function(arg0) {
2046
2064
  getObject(arg0)._wbg_cb_unref();
2047
2065
  },
2048
- __wbg_abort_8bae0f33e7833997: function(arg0) {
2049
- getObject(arg0).abort();
2050
- },
2051
- __wbg_abort_eee9248a6d680839: function(arg0, arg1) {
2066
+ __wbg_abort_1254fe4ac5695dc0: function(arg0, arg1) {
2052
2067
  getObject(arg0).abort(getObject(arg1));
2053
2068
  },
2054
- __wbg_append_01c74e5c6b58aa64: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2069
+ __wbg_abort_d8615b5857e112b3: function(arg0) {
2070
+ getObject(arg0).abort();
2071
+ },
2072
+ __wbg_append_acad6a3f39a3e778: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2055
2073
  getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
2056
2074
  }, arguments); },
2057
- __wbg_arrayBuffer_3b637f0fa65c5351: function() { return handleError(function (arg0) {
2075
+ __wbg_arrayBuffer_16433f17fbd74397: function() { return handleError(function (arg0) {
2058
2076
  const ret = getObject(arg0).arrayBuffer();
2059
2077
  return addHeapObject(ret);
2060
2078
  }, arguments); },
@@ -2078,39 +2096,39 @@ function __wbg_get_imports() {
2078
2096
  const ret = BatchItemUnsignedResult.__wrap(arg0);
2079
2097
  return addHeapObject(ret);
2080
2098
  },
2081
- __wbg_body_18c9f2ac15ead4b2: function(arg0) {
2099
+ __wbg_body_eb2e7e7701fa47ae: function(arg0) {
2082
2100
  const ret = getObject(arg0).body;
2083
2101
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2084
2102
  },
2085
- __wbg_buffer_54b87055582c8a81: function(arg0) {
2103
+ __wbg_buffer_78291c0e094ccf99: function(arg0) {
2086
2104
  const ret = getObject(arg0).buffer;
2087
2105
  return addHeapObject(ret);
2088
2106
  },
2089
- __wbg_byobRequest_06b654bb15590436: function(arg0) {
2107
+ __wbg_byobRequest_f8b1c89429b77545: function(arg0) {
2090
2108
  const ret = getObject(arg0).byobRequest;
2091
2109
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2092
2110
  },
2093
- __wbg_byteLength_41862ca4020b9c43: function(arg0) {
2111
+ __wbg_byteLength_336bc7d303511ba0: function(arg0) {
2094
2112
  const ret = getObject(arg0).byteLength;
2095
2113
  return ret;
2096
2114
  },
2097
- __wbg_byteOffset_d42e18c4441f628b: function(arg0) {
2115
+ __wbg_byteOffset_2b1d5b10453ce198: function(arg0) {
2098
2116
  const ret = getObject(arg0).byteOffset;
2099
2117
  return ret;
2100
2118
  },
2101
- __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
2119
+ __wbg_call_1c5886ab9c57d1c7: function() { return handleError(function (arg0, arg1) {
2102
2120
  const ret = getObject(arg0).call(getObject(arg1));
2103
2121
  return addHeapObject(ret);
2104
2122
  }, arguments); },
2105
- __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
2123
+ __wbg_call_35dba3c747ad7521: function() { return handleError(function (arg0, arg1, arg2) {
2106
2124
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
2107
2125
  return addHeapObject(ret);
2108
2126
  }, arguments); },
2109
- __wbg_cancel_3983a93e24cc66b3: function(arg0) {
2127
+ __wbg_cancel_9610ed0dbe990e64: function(arg0) {
2110
2128
  const ret = getObject(arg0).cancel();
2111
2129
  return addHeapObject(ret);
2112
2130
  },
2113
- __wbg_catch_c1a60df4c30d76d3: function(arg0, arg1) {
2131
+ __wbg_catch_8094577c3f159ad5: function(arg0, arg1) {
2114
2132
  const ret = getObject(arg0).catch(getObject(arg1));
2115
2133
  return addHeapObject(ret);
2116
2134
  },
@@ -2130,10 +2148,10 @@ function __wbg_get_imports() {
2130
2148
  const ret = clearTimeout(takeObject(arg0));
2131
2149
  return addHeapObject(ret);
2132
2150
  },
2133
- __wbg_close_249a23304523681b: function() { return handleError(function (arg0) {
2151
+ __wbg_close_72f69f5f2de2bc73: function() { return handleError(function (arg0) {
2134
2152
  getObject(arg0).close();
2135
2153
  }, arguments); },
2136
- __wbg_close_72d318d9c16e83ef: function() { return handleError(function (arg0) {
2154
+ __wbg_close_97cdb44c3a7878f6: function() { return handleError(function (arg0) {
2137
2155
  getObject(arg0).close();
2138
2156
  }, arguments); },
2139
2157
  __wbg_crypto_38df2bab126b63dc: function(arg0) {
@@ -2144,29 +2162,29 @@ function __wbg_get_imports() {
2144
2162
  const ret = DataEntry.__wrap(arg0);
2145
2163
  return addHeapObject(ret);
2146
2164
  },
2147
- __wbg_debug_42a6fcd9d74e106e: function(arg0) {
2165
+ __wbg_debug_5f9689ee1e1c839f: function(arg0) {
2148
2166
  console.debug(...getObject(arg0));
2149
2167
  },
2150
- __wbg_done_89b2b13e91a60321: function(arg0) {
2168
+ __wbg_done_669171204c3dcae2: function(arg0) {
2151
2169
  const ret = getObject(arg0).done;
2152
2170
  return ret;
2153
2171
  },
2154
- __wbg_enqueue_6d83b4c6281bafd6: function() { return handleError(function (arg0, arg1) {
2172
+ __wbg_enqueue_7d68a21eda78e72f: function() { return handleError(function (arg0, arg1) {
2155
2173
  getObject(arg0).enqueue(getObject(arg1));
2156
2174
  }, arguments); },
2157
- __wbg_entries_00d7283394649868: function(arg0) {
2175
+ __wbg_entries_2c710161cbd65b89: function(arg0) {
2158
2176
  const ret = getObject(arg0).entries();
2159
2177
  return addHeapObject(ret);
2160
2178
  },
2161
- __wbg_entries_015dc610cd81ede0: function(arg0) {
2162
- const ret = Object.entries(getObject(arg0));
2179
+ __wbg_entries_71601bcb707d5078: function(arg0) {
2180
+ const ret = getObject(arg0).entries();
2163
2181
  return addHeapObject(ret);
2164
2182
  },
2165
- __wbg_entries_900cefd6f70eb290: function(arg0) {
2166
- const ret = getObject(arg0).entries();
2183
+ __wbg_entries_7774d489e1da5f4f: function(arg0) {
2184
+ const ret = Object.entries(getObject(arg0));
2167
2185
  return addHeapObject(ret);
2168
2186
  },
2169
- __wbg_error_5847f49bc6527dd7: function(arg0) {
2187
+ __wbg_error_64ffb537ec0eda86: function(arg0) {
2170
2188
  console.error(...getObject(arg0));
2171
2189
  },
2172
2190
  __wbg_fetch_074561c3e313c86f: function(arg0) {
@@ -2177,57 +2195,57 @@ function __wbg_get_imports() {
2177
2195
  const ret = fetch(getObject(arg0), getObject(arg1));
2178
2196
  return addHeapObject(ret);
2179
2197
  },
2180
- __wbg_fetch_b5951fc96f52f786: function(arg0, arg1) {
2181
- const ret = getObject(arg0).fetch(getObject(arg1));
2198
+ __wbg_fetch_75234d52fb417eb2: function(arg0, arg1, arg2) {
2199
+ const ret = getObject(arg0).fetch(getObject(arg1), getObject(arg2));
2182
2200
  return addHeapObject(ret);
2183
2201
  },
2184
- __wbg_fetch_fadfd227089fdf80: function(arg0, arg1, arg2) {
2185
- const ret = getObject(arg0).fetch(getObject(arg1), getObject(arg2));
2202
+ __wbg_fetch_d752d93f5b259503: function(arg0, arg1) {
2203
+ const ret = getObject(arg0).fetch(getObject(arg1));
2186
2204
  return addHeapObject(ret);
2187
2205
  },
2188
- __wbg_fromEntries_0eddbdac354a0a78: function() { return handleError(function (arg0) {
2206
+ __wbg_fromEntries_464704b0ede47aaf: function() { return handleError(function (arg0) {
2189
2207
  const ret = Object.fromEntries(getObject(arg0));
2190
2208
  return addHeapObject(ret);
2191
2209
  }, arguments); },
2210
+ __wbg_getRandomValues_436a51d0629d84e1: function() { return handleError(function (arg0, arg1) {
2211
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
2212
+ }, arguments); },
2192
2213
  __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
2193
2214
  getObject(arg0).getRandomValues(getObject(arg1));
2194
2215
  }, arguments); },
2195
- __wbg_getRandomValues_cc7f052a444bb2ce: function() { return handleError(function (arg0, arg1) {
2196
- globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
2197
- }, arguments); },
2198
2216
  __wbg_getReader_9facd4f899beac89: function() { return handleError(function (arg0) {
2199
2217
  const ret = getObject(arg0).getReader();
2200
2218
  return addHeapObject(ret);
2201
2219
  }, arguments); },
2202
- __wbg_getTime_d6f070c088c9b5ed: function(arg0) {
2220
+ __wbg_getTime_63fb0332e6c4ec17: function(arg0) {
2203
2221
  const ret = getObject(arg0).getTime();
2204
2222
  return ret;
2205
2223
  },
2206
- __wbg_getTimezoneOffset_dc9862c79e5a81a3: function(arg0) {
2224
+ __wbg_getTimezoneOffset_4baa793e0d3962a8: function(arg0) {
2207
2225
  const ret = getObject(arg0).getTimezoneOffset();
2208
2226
  return ret;
2209
2227
  },
2210
- __wbg_get_507a50627bffa49b: function(arg0, arg1) {
2211
- const ret = getObject(arg0)[arg1 >>> 0];
2212
- return addHeapObject(ret);
2213
- },
2214
- __wbg_get_78f252d074a84d0b: function() { return handleError(function (arg0, arg1) {
2228
+ __wbg_get_971a0c45d172643f: function() { return handleError(function (arg0, arg1) {
2215
2229
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
2216
2230
  return addHeapObject(ret);
2217
2231
  }, arguments); },
2218
- __wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
2232
+ __wbg_get_c0c8f8d7da0c03dd: function(arg0, arg1) {
2233
+ const ret = getObject(arg0)[arg1 >>> 0];
2234
+ return addHeapObject(ret);
2235
+ },
2236
+ __wbg_get_d173c0308df22d37: function() { return handleError(function (arg0, arg1) {
2219
2237
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
2220
2238
  return addHeapObject(ret);
2221
2239
  }, arguments); },
2222
- __wbg_get_done_670108eb06ecbe46: function(arg0) {
2240
+ __wbg_get_done_ce5b5691b59c07f2: function(arg0) {
2223
2241
  const ret = getObject(arg0).done;
2224
2242
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
2225
2243
  },
2226
- __wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
2244
+ __wbg_get_unchecked_e20b893aeafc3fca: function(arg0, arg1) {
2227
2245
  const ret = getObject(arg0)[arg1 >>> 0];
2228
2246
  return addHeapObject(ret);
2229
2247
  },
2230
- __wbg_get_value_f465f5be30aa0963: function(arg0) {
2248
+ __wbg_get_value_58309ba057b715e1: function(arg0) {
2231
2249
  const ret = getObject(arg0).value;
2232
2250
  return addHeapObject(ret);
2233
2251
  },
@@ -2235,18 +2253,18 @@ function __wbg_get_imports() {
2235
2253
  const ret = getObject(arg0)[getObject(arg1)];
2236
2254
  return addHeapObject(ret);
2237
2255
  },
2238
- __wbg_has_8374cf06984d8bfc: function() { return handleError(function (arg0, arg1) {
2256
+ __wbg_has_b3a6e6d0d28295fa: function() { return handleError(function (arg0, arg1) {
2239
2257
  const ret = Reflect.has(getObject(arg0), getObject(arg1));
2240
2258
  return ret;
2241
2259
  }, arguments); },
2242
- __wbg_headers_cf9c80f30e2a4eff: function(arg0) {
2260
+ __wbg_headers_92567b07014384b9: function(arg0) {
2243
2261
  const ret = getObject(arg0).headers;
2244
2262
  return addHeapObject(ret);
2245
2263
  },
2246
- __wbg_info_45ebac60f2b820a4: function(arg0) {
2264
+ __wbg_info_1fa281be98acfc08: function(arg0) {
2247
2265
  console.info(...getObject(arg0));
2248
2266
  },
2249
- __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
2267
+ __wbg_instanceof_ArrayBuffer_993d02d2d254cad1: function(arg0) {
2250
2268
  let result;
2251
2269
  try {
2252
2270
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -2256,7 +2274,7 @@ function __wbg_get_imports() {
2256
2274
  const ret = result;
2257
2275
  return ret;
2258
2276
  },
2259
- __wbg_instanceof_Array_de0fa65266a8c7c0: function(arg0) {
2277
+ __wbg_instanceof_Array_20c759966d2a22c8: function(arg0) {
2260
2278
  let result;
2261
2279
  try {
2262
2280
  result = getObject(arg0) instanceof Array;
@@ -2266,7 +2284,7 @@ function __wbg_get_imports() {
2266
2284
  const ret = result;
2267
2285
  return ret;
2268
2286
  },
2269
- __wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
2287
+ __wbg_instanceof_Map_9a4d6ead180ae3a9: function(arg0) {
2270
2288
  let result;
2271
2289
  try {
2272
2290
  result = getObject(arg0) instanceof Map;
@@ -2276,7 +2294,7 @@ function __wbg_get_imports() {
2276
2294
  const ret = result;
2277
2295
  return ret;
2278
2296
  },
2279
- __wbg_instanceof_Response_c8b64b2256f01bec: function(arg0) {
2297
+ __wbg_instanceof_Response_8f49efbd4bfd76d6: function(arg0) {
2280
2298
  let result;
2281
2299
  try {
2282
2300
  result = getObject(arg0) instanceof Response;
@@ -2286,7 +2304,7 @@ function __wbg_get_imports() {
2286
2304
  const ret = result;
2287
2305
  return ret;
2288
2306
  },
2289
- __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
2307
+ __wbg_instanceof_Uint8Array_f935dbb0aa7cdeed: function(arg0) {
2290
2308
  let result;
2291
2309
  try {
2292
2310
  result = getObject(arg0) instanceof Uint8Array;
@@ -2296,31 +2314,31 @@ function __wbg_get_imports() {
2296
2314
  const ret = result;
2297
2315
  return ret;
2298
2316
  },
2299
- __wbg_isArray_0677c962b281d01a: function(arg0) {
2317
+ __wbg_isArray_6339f732981044bf: function(arg0) {
2300
2318
  const ret = Array.isArray(getObject(arg0));
2301
2319
  return ret;
2302
2320
  },
2303
- __wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
2321
+ __wbg_isSafeInteger_f3d6cd19ccfe4512: function(arg0) {
2304
2322
  const ret = Number.isSafeInteger(getObject(arg0));
2305
2323
  return ret;
2306
2324
  },
2307
- __wbg_iterator_6f722e4a93058b71: function() {
2325
+ __wbg_iterator_5cebbb86e33c6dd6: function() {
2308
2326
  const ret = Symbol.iterator;
2309
2327
  return addHeapObject(ret);
2310
2328
  },
2311
- __wbg_keys_58421f8f96795607: function(arg0) {
2329
+ __wbg_keys_ec7f8c0c2370d91d: function(arg0) {
2312
2330
  const ret = Object.keys(getObject(arg0));
2313
2331
  return addHeapObject(ret);
2314
2332
  },
2315
- __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
2333
+ __wbg_length_36bd29c6848c2144: function(arg0) {
2316
2334
  const ret = getObject(arg0).length;
2317
2335
  return ret;
2318
2336
  },
2319
- __wbg_length_370319915dc99107: function(arg0) {
2337
+ __wbg_length_ecfa2c63d3d0d82c: function(arg0) {
2320
2338
  const ret = getObject(arg0).length;
2321
2339
  return ret;
2322
2340
  },
2323
- __wbg_log_ff0e9e235d10713d: function(arg0) {
2341
+ __wbg_log_3432c886933c2c5f: function(arg0) {
2324
2342
  console.log(...getObject(arg0));
2325
2343
  },
2326
2344
  __wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
@@ -2331,54 +2349,54 @@ function __wbg_get_imports() {
2331
2349
  const ret = MultiIssuerAuthorizeResult.__wrap(arg0);
2332
2350
  return addHeapObject(ret);
2333
2351
  },
2334
- __wbg_new_0_3da9e97f24fc69be: function() {
2352
+ __wbg_new_0_f117d868b403dc07: function() {
2335
2353
  const ret = new Date();
2336
2354
  return addHeapObject(ret);
2337
2355
  },
2338
- __wbg_new_0d809930cd1354c6: function() { return handleError(function () {
2339
- const ret = new Headers();
2340
- return addHeapObject(ret);
2341
- }, arguments); },
2342
- __wbg_new_32b398fb48b6d94a: function() {
2356
+ __wbg_new_116be93542d39019: function() {
2343
2357
  const ret = new Array();
2344
2358
  return addHeapObject(ret);
2345
2359
  },
2346
- __wbg_new_4339b2a2675a03e3: function() { return handleError(function () {
2347
- const ret = new AbortController();
2348
- return addHeapObject(ret);
2349
- }, arguments); },
2350
- __wbg_new_7796ffc7ed656783: function() {
2351
- const ret = new Map();
2352
- return addHeapObject(ret);
2353
- },
2354
- __wbg_new_b667d279fd5aa943: function(arg0, arg1) {
2360
+ __wbg_new_358857d90afd5a2d: function(arg0, arg1) {
2355
2361
  const ret = new Error(getStringFromWasm0(arg0, arg1));
2356
2362
  return addHeapObject(ret);
2357
2363
  },
2358
- __wbg_new_cc984128914cfc6f: function(arg0) {
2359
- const ret = new Date(getObject(arg0));
2364
+ __wbg_new_77cc4f4f472aeb81: function(arg0) {
2365
+ const ret = new Uint8Array(getObject(arg0));
2360
2366
  return addHeapObject(ret);
2361
2367
  },
2362
- __wbg_new_cd45aabdf6073e84: function(arg0) {
2363
- const ret = new Uint8Array(getObject(arg0));
2368
+ __wbg_new_95039e162b0c4466: function() { return handleError(function () {
2369
+ const ret = new Headers();
2370
+ return addHeapObject(ret);
2371
+ }, arguments); },
2372
+ __wbg_new_cdf041679ded4c5f: function() {
2373
+ const ret = new Map();
2364
2374
  return addHeapObject(ret);
2365
2375
  },
2366
- __wbg_new_da52cf8fe3429cb2: function() {
2376
+ __wbg_new_ebe3e0f6837f0879: function() {
2367
2377
  const ret = new Object();
2368
2378
  return addHeapObject(ret);
2369
2379
  },
2370
- __wbg_new_from_slice_77cdfb7977362f3c: function(arg0, arg1) {
2380
+ __wbg_new_f5712de39c931ddf: function() { return handleError(function () {
2381
+ const ret = new AbortController();
2382
+ return addHeapObject(ret);
2383
+ }, arguments); },
2384
+ __wbg_new_f9d6489212f3b2b3: function(arg0) {
2385
+ const ret = new Date(getObject(arg0));
2386
+ return addHeapObject(ret);
2387
+ },
2388
+ __wbg_new_from_slice_3eea173078478cfe: function(arg0, arg1) {
2371
2389
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
2372
2390
  return addHeapObject(ret);
2373
2391
  },
2374
- __wbg_new_typed_1824d93f294193e5: function(arg0, arg1) {
2392
+ __wbg_new_typed_cceaf62d8d95e9f2: function(arg0, arg1) {
2375
2393
  try {
2376
2394
  var state0 = {a: arg0, b: arg1};
2377
2395
  var cb0 = (arg0, arg1) => {
2378
2396
  const a = state0.a;
2379
2397
  state0.a = 0;
2380
2398
  try {
2381
- return __wasm_bindgen_func_elem_8835(a, state0.b, arg0, arg1);
2399
+ return __wasm_bindgen_func_elem_8974(a, state0.b, arg0, arg1);
2382
2400
  } finally {
2383
2401
  state0.a = a;
2384
2402
  }
@@ -2389,26 +2407,26 @@ function __wbg_get_imports() {
2389
2407
  state0.a = 0;
2390
2408
  }
2391
2409
  },
2392
- __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
2410
+ __wbg_new_with_byte_offset_and_length_ff6e927f8d72f0c3: function(arg0, arg1, arg2) {
2393
2411
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
2394
2412
  return addHeapObject(ret);
2395
2413
  },
2396
- __wbg_new_with_length_e6785c33c8e4cce8: function(arg0) {
2414
+ __wbg_new_with_length_3ffc1c56427c525c: function(arg0) {
2397
2415
  const ret = new Uint8Array(arg0 >>> 0);
2398
2416
  return addHeapObject(ret);
2399
2417
  },
2400
- __wbg_new_with_str_and_init_d95cbe11ce28e65e: function() { return handleError(function (arg0, arg1, arg2) {
2418
+ __wbg_new_with_str_and_init_5a37d576dec75a86: function() { return handleError(function (arg0, arg1, arg2) {
2401
2419
  const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
2402
2420
  return addHeapObject(ret);
2403
2421
  }, arguments); },
2404
- __wbg_next_6dbf2c0ac8cde20f: function(arg0) {
2405
- const ret = getObject(arg0).next;
2406
- return addHeapObject(ret);
2407
- },
2408
- __wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
2422
+ __wbg_next_42cf16ee0dafc9e2: function() { return handleError(function (arg0) {
2409
2423
  const ret = getObject(arg0).next();
2410
2424
  return addHeapObject(ret);
2411
2425
  }, arguments); },
2426
+ __wbg_next_8f26b64fa5e9f64b: function(arg0) {
2427
+ const ret = getObject(arg0).next;
2428
+ return addHeapObject(ret);
2429
+ },
2412
2430
  __wbg_node_84ea875411254db1: function(arg0) {
2413
2431
  const ret = getObject(arg0).node;
2414
2432
  return addHeapObject(ret);
@@ -2421,39 +2439,39 @@ function __wbg_get_imports() {
2421
2439
  const ret = getObject(arg0).process;
2422
2440
  return addHeapObject(ret);
2423
2441
  },
2424
- __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
2442
+ __wbg_prototypesetcall_de8e0d9553586985: function(arg0, arg1, arg2) {
2425
2443
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
2426
2444
  },
2427
- __wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
2445
+ __wbg_push_adb0107829f02d75: function(arg0, arg1) {
2428
2446
  const ret = getObject(arg0).push(getObject(arg1));
2429
2447
  return ret;
2430
2448
  },
2431
- __wbg_queueMicrotask_0ab5b2d2393e99b9: function(arg0) {
2449
+ __wbg_queueMicrotask_ac694eae12e92dfb: function(arg0) {
2450
+ queueMicrotask(getObject(arg0));
2451
+ },
2452
+ __wbg_queueMicrotask_be5fe34a8f4cad4d: function(arg0) {
2432
2453
  const ret = getObject(arg0).queueMicrotask;
2433
2454
  return addHeapObject(ret);
2434
2455
  },
2435
- __wbg_queueMicrotask_6a09b7bc46549209: function(arg0) {
2436
- queueMicrotask(getObject(arg0));
2437
- },
2438
2456
  __wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
2439
2457
  getObject(arg0).randomFillSync(takeObject(arg1));
2440
2458
  }, arguments); },
2441
- __wbg_read_8afa15f12a160ef8: function(arg0) {
2459
+ __wbg_read_ae34ffedeb11f034: function(arg0) {
2442
2460
  const ret = getObject(arg0).read();
2443
2461
  return addHeapObject(ret);
2444
2462
  },
2445
- __wbg_releaseLock_5b92874cad775644: function(arg0) {
2463
+ __wbg_releaseLock_f38d2d1c08212a8a: function(arg0) {
2446
2464
  getObject(arg0).releaseLock();
2447
2465
  },
2448
2466
  __wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
2449
2467
  const ret = module.require;
2450
2468
  return addHeapObject(ret);
2451
2469
  }, arguments); },
2452
- __wbg_resolve_2191a4dfe481c25b: function(arg0) {
2470
+ __wbg_resolve_020f95d838c6ef25: function(arg0) {
2453
2471
  const ret = Promise.resolve(getObject(arg0));
2454
2472
  return addHeapObject(ret);
2455
2473
  },
2456
- __wbg_respond_510e32df8aeb6817: function() { return handleError(function (arg0, arg1) {
2474
+ __wbg_respond_f88cbcebace42068: function() { return handleError(function (arg0, arg1) {
2457
2475
  getObject(arg0).respond(arg1 >>> 0);
2458
2476
  }, arguments); },
2459
2477
  __wbg_setTimeout_3a808dd861dd3c12: function(arg0, arg1) {
@@ -2468,110 +2486,110 @@ function __wbg_get_imports() {
2468
2486
  const ret = setTimeout(getObject(arg0), arg1);
2469
2487
  return addHeapObject(ret);
2470
2488
  },
2471
- __wbg_set_0de9c62c23d04ad5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2472
- getObject(arg0).set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
2473
- }, arguments); },
2474
- __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
2475
- getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
2476
- },
2477
- __wbg_set_575dd786d51585f8: function(arg0, arg1, arg2) {
2489
+ __wbg_set_014226dfeca53178: function(arg0, arg1, arg2) {
2478
2490
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
2479
2491
  return addHeapObject(ret);
2480
2492
  },
2481
2493
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
2482
2494
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
2483
2495
  },
2484
- __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
2496
+ __wbg_set_8155bb79a948541b: function() { return handleError(function (arg0, arg1, arg2) {
2485
2497
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
2486
2498
  return ret;
2487
2499
  }, arguments); },
2488
- __wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
2500
+ __wbg_set_a80955eb93b145c6: function(arg0, arg1, arg2) {
2489
2501
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
2490
2502
  },
2491
- __wbg_set_body_029f2d171e0a005f: function(arg0, arg1) {
2503
+ __wbg_set_b9b5b5cb7b495037: function(arg0, arg1, arg2) {
2504
+ getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
2505
+ },
2506
+ __wbg_set_body_f301b68bff45f419: function(arg0, arg1) {
2492
2507
  getObject(arg0).body = getObject(arg1);
2493
2508
  },
2494
- __wbg_set_cache_b4a740b195c051f4: function(arg0, arg1) {
2509
+ __wbg_set_cache_ab8f11813716fe29: function(arg0, arg1) {
2495
2510
  getObject(arg0).cache = __wbindgen_enum_RequestCache[arg1];
2496
2511
  },
2497
- __wbg_set_credentials_bb34a40189e3b43b: function(arg0, arg1) {
2512
+ __wbg_set_credentials_d7f3b810cbf191e1: function(arg0, arg1) {
2498
2513
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
2499
2514
  },
2500
- __wbg_set_headers_9c61d123c3ee1f10: function(arg0, arg1) {
2515
+ __wbg_set_e92392c4b44c5de1: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2516
+ getObject(arg0).set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
2517
+ }, arguments); },
2518
+ __wbg_set_headers_805555608daf7f2a: function(arg0, arg1) {
2501
2519
  getObject(arg0).headers = getObject(arg1);
2502
2520
  },
2503
- __wbg_set_integrity_13c390f33acee59c: function(arg0, arg1, arg2) {
2521
+ __wbg_set_integrity_c05dca79461dfe0a: function(arg0, arg1, arg2) {
2504
2522
  getObject(arg0).integrity = getStringFromWasm0(arg1, arg2);
2505
2523
  },
2506
- __wbg_set_method_5532d59b92d76467: function(arg0, arg1, arg2) {
2524
+ __wbg_set_method_cf2b992b9a610bc3: function(arg0, arg1, arg2) {
2507
2525
  getObject(arg0).method = getStringFromWasm0(arg1, arg2);
2508
2526
  },
2509
- __wbg_set_mode_66c79886ad78fc05: function(arg0, arg1) {
2527
+ __wbg_set_mode_d6479dfd6696c8d3: function(arg0, arg1) {
2510
2528
  getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
2511
2529
  },
2512
- __wbg_set_redirect_badd73a0bcb765e3: function(arg0, arg1) {
2530
+ __wbg_set_redirect_9d53fb52143d8ea4: function(arg0, arg1) {
2513
2531
  getObject(arg0).redirect = __wbindgen_enum_RequestRedirect[arg1];
2514
2532
  },
2515
- __wbg_set_referrer_02890bb2de855af1: function(arg0, arg1, arg2) {
2533
+ __wbg_set_referrer_de24582cadb58b95: function(arg0, arg1, arg2) {
2516
2534
  getObject(arg0).referrer = getStringFromWasm0(arg1, arg2);
2517
2535
  },
2518
- __wbg_set_referrer_policy_e49a6d0d7473fd16: function(arg0, arg1) {
2536
+ __wbg_set_referrer_policy_3f990097931e92b7: function(arg0, arg1) {
2519
2537
  getObject(arg0).referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
2520
2538
  },
2521
- __wbg_set_signal_c4ef8faddb4c1446: function(arg0, arg1) {
2539
+ __wbg_set_signal_115b9e9423652e66: function(arg0, arg1) {
2522
2540
  getObject(arg0).signal = getObject(arg1);
2523
2541
  },
2524
- __wbg_signal_dad7cb35193abd31: function(arg0) {
2542
+ __wbg_signal_58449b7eb331d1be: function(arg0) {
2525
2543
  const ret = getObject(arg0).signal;
2526
2544
  return addHeapObject(ret);
2527
2545
  },
2528
- __wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
2529
- const ret = typeof global === 'undefined' ? null : global;
2546
+ __wbg_static_accessor_GLOBAL_THIS_466428f93b4eaa76: function() {
2547
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
2530
2548
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2531
2549
  },
2532
- __wbg_static_accessor_GLOBAL_THIS_8d1badc68b5a74f4: function() {
2533
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
2550
+ __wbg_static_accessor_GLOBAL_c7aea38d4de089bc: function() {
2551
+ const ret = typeof global === 'undefined' ? null : global;
2534
2552
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2535
2553
  },
2536
- __wbg_static_accessor_SELF_146583524fe1469b: function() {
2554
+ __wbg_static_accessor_SELF_42d4fae05e59267a: function() {
2537
2555
  const ret = typeof self === 'undefined' ? null : self;
2538
2556
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2539
2557
  },
2540
- __wbg_static_accessor_WINDOW_f2829a2234d7819e: function() {
2558
+ __wbg_static_accessor_WINDOW_e0db14a0eba6a812: function() {
2541
2559
  const ret = typeof window === 'undefined' ? null : window;
2542
2560
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2543
2561
  },
2544
- __wbg_status_c45b3b9b3033184a: function(arg0) {
2562
+ __wbg_status_b0de02a07fd7d927: function(arg0) {
2545
2563
  const ret = getObject(arg0).status;
2546
2564
  return ret;
2547
2565
  },
2548
- __wbg_subarray_3ed232c8a6baee09: function(arg0, arg1, arg2) {
2566
+ __wbg_subarray_a4cc58201c7359fd: function(arg0, arg1, arg2) {
2549
2567
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
2550
2568
  return addHeapObject(ret);
2551
2569
  },
2552
- __wbg_then_16d107c451e9905d: function(arg0, arg1, arg2) {
2553
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
2570
+ __wbg_then_7026b513a94278a8: function(arg0, arg1) {
2571
+ const ret = getObject(arg0).then(getObject(arg1));
2554
2572
  return addHeapObject(ret);
2555
2573
  },
2556
- __wbg_then_6ec10ae38b3e92f7: function(arg0, arg1) {
2557
- const ret = getObject(arg0).then(getObject(arg1));
2574
+ __wbg_then_72819b8d4e081fb5: function(arg0, arg1, arg2) {
2575
+ const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
2558
2576
  return addHeapObject(ret);
2559
2577
  },
2560
- __wbg_toString_b201c2690bbe445a: function(arg0) {
2578
+ __wbg_toString_2f0b0aec069cb718: function(arg0) {
2561
2579
  const ret = getObject(arg0).toString();
2562
2580
  return addHeapObject(ret);
2563
2581
  },
2564
- __wbg_trace_11b7832abd361806: function(arg0) {
2582
+ __wbg_trace_f39eacb57667b538: function(arg0) {
2565
2583
  console.trace(...getObject(arg0));
2566
2584
  },
2567
- __wbg_url_abdb8fb08377f8c0: function(arg0, arg1) {
2585
+ __wbg_url_82c95d5d2e2ba977: function(arg0, arg1) {
2568
2586
  const ret = getObject(arg1).url;
2569
2587
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2570
2588
  const len1 = WASM_VECTOR_LEN;
2571
2589
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2572
2590
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2573
2591
  },
2574
- __wbg_value_a5d5488a9589444a: function(arg0) {
2592
+ __wbg_value_1e2369fab29b420e: function(arg0) {
2575
2593
  const ret = getObject(arg0).value;
2576
2594
  return addHeapObject(ret);
2577
2595
  },
@@ -2579,26 +2597,26 @@ function __wbg_get_imports() {
2579
2597
  const ret = getObject(arg0).versions;
2580
2598
  return addHeapObject(ret);
2581
2599
  },
2582
- __wbg_view_21f1d4a4f175dfa9: function(arg0) {
2600
+ __wbg_view_7685fe4b2845c5b6: function(arg0) {
2583
2601
  const ret = getObject(arg0).view;
2584
2602
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
2585
2603
  },
2586
- __wbg_warn_5b6b926b392ba289: function(arg0) {
2604
+ __wbg_warn_f0d66a42df9a1e7b: function(arg0) {
2587
2605
  console.warn(...getObject(arg0));
2588
2606
  },
2589
2607
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
2590
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1193, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2591
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_12259);
2608
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1007, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2609
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_8908);
2592
2610
  return addHeapObject(ret);
2593
2611
  },
2594
2612
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
2595
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 992, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2596
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_8780);
2613
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1203, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2614
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_12458);
2597
2615
  return addHeapObject(ret);
2598
2616
  },
2599
2617
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
2600
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 876, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2601
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_8615);
2618
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1000, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2619
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_8743);
2602
2620
  return addHeapObject(ret);
2603
2621
  },
2604
2622
  __wbindgen_cast_0000000000000004: function(arg0) {
@@ -2640,18 +2658,18 @@ function __wbg_get_imports() {
2640
2658
  };
2641
2659
  }
2642
2660
 
2643
- function __wasm_bindgen_func_elem_8615(arg0, arg1) {
2644
- wasm.__wasm_bindgen_func_elem_8615(arg0, arg1);
2661
+ function __wasm_bindgen_func_elem_8743(arg0, arg1) {
2662
+ wasm.__wasm_bindgen_func_elem_8743(arg0, arg1);
2645
2663
  }
2646
2664
 
2647
- function __wasm_bindgen_func_elem_12259(arg0, arg1, arg2) {
2648
- wasm.__wasm_bindgen_func_elem_12259(arg0, arg1, addHeapObject(arg2));
2665
+ function __wasm_bindgen_func_elem_12458(arg0, arg1, arg2) {
2666
+ wasm.__wasm_bindgen_func_elem_12458(arg0, arg1, addHeapObject(arg2));
2649
2667
  }
2650
2668
 
2651
- function __wasm_bindgen_func_elem_8780(arg0, arg1, arg2) {
2669
+ function __wasm_bindgen_func_elem_8908(arg0, arg1, arg2) {
2652
2670
  try {
2653
2671
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2654
- wasm.__wasm_bindgen_func_elem_8780(retptr, arg0, arg1, addHeapObject(arg2));
2672
+ wasm.__wasm_bindgen_func_elem_8908(retptr, arg0, arg1, addHeapObject(arg2));
2655
2673
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2656
2674
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
2657
2675
  if (r1) {
@@ -2662,8 +2680,8 @@ function __wasm_bindgen_func_elem_8780(arg0, arg1, arg2) {
2662
2680
  }
2663
2681
  }
2664
2682
 
2665
- function __wasm_bindgen_func_elem_8835(arg0, arg1, arg2, arg3) {
2666
- wasm.__wasm_bindgen_func_elem_8835(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
2683
+ function __wasm_bindgen_func_elem_8974(arg0, arg1, arg2, arg3) {
2684
+ wasm.__wasm_bindgen_func_elem_8974(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
2667
2685
  }
2668
2686
 
2669
2687
 
@@ -2959,15 +2977,7 @@ function takeObject(idx) {
2959
2977
 
2960
2978
  let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
2961
2979
  cachedTextDecoder.decode();
2962
- const MAX_SAFARI_DECODE_BYTES = 2146435072;
2963
- let numBytesDecoded = 0;
2964
2980
  function decodeText(ptr, len) {
2965
- numBytesDecoded += len;
2966
- if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
2967
- cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
2968
- cachedTextDecoder.decode();
2969
- numBytesDecoded = len;
2970
- }
2971
2981
  return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
2972
2982
  }
2973
2983
 
@@ -2986,95 +2996,8 @@ if (!('encodeInto' in cachedTextEncoder)) {
2986
2996
 
2987
2997
  let WASM_VECTOR_LEN = 0;
2988
2998
 
2989
- let wasmModule, wasmInstance, wasm;
2990
- function __wbg_finalize_init(instance, module) {
2991
- wasmInstance = instance;
2992
- wasm = instance.exports;
2993
- wasmModule = module;
2994
- cachedDataViewMemory0 = null;
2995
- cachedUint8ArrayMemory0 = null;
2996
- return wasm;
2997
- }
2998
-
2999
- async function __wbg_load(module, imports) {
3000
- if (typeof Response === 'function' && module instanceof Response) {
3001
- if (typeof WebAssembly.instantiateStreaming === 'function') {
3002
- try {
3003
- return await WebAssembly.instantiateStreaming(module, imports);
3004
- } catch (e) {
3005
- const validResponse = module.ok && expectedResponseType(module.type);
3006
-
3007
- if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
3008
- 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);
3009
-
3010
- } else { throw e; }
3011
- }
3012
- }
3013
-
3014
- const bytes = await module.arrayBuffer();
3015
- return await WebAssembly.instantiate(bytes, imports);
3016
- } else {
3017
- const instance = await WebAssembly.instantiate(module, imports);
3018
-
3019
- if (instance instanceof WebAssembly.Instance) {
3020
- return { instance, module };
3021
- } else {
3022
- return instance;
3023
- }
3024
- }
3025
-
3026
- function expectedResponseType(type) {
3027
- switch (type) {
3028
- case 'basic': case 'cors': case 'default': return true;
3029
- }
3030
- return false;
3031
- }
3032
- }
3033
-
3034
- function initSync(module) {
3035
- if (wasm !== undefined) return wasm;
3036
-
3037
-
3038
- if (module !== undefined) {
3039
- if (Object.getPrototypeOf(module) === Object.prototype) {
3040
- ({module} = module)
3041
- } else {
3042
- console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
3043
- }
3044
- }
3045
-
3046
- const imports = __wbg_get_imports();
3047
- if (!(module instanceof WebAssembly.Module)) {
3048
- module = new WebAssembly.Module(module);
3049
- }
3050
- const instance = new WebAssembly.Instance(module, imports);
3051
- return __wbg_finalize_init(instance, module);
3052
- }
3053
-
3054
- async function __wbg_init(module_or_path) {
3055
- if (wasm !== undefined) return wasm;
3056
-
3057
-
3058
- if (module_or_path !== undefined) {
3059
- if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
3060
- ({module_or_path} = module_or_path)
3061
- } else {
3062
- console.warn('using deprecated parameters for the initialization function; pass a single object instead')
3063
- }
3064
- }
3065
-
3066
- if (module_or_path === undefined) {
3067
- module_or_path = new URL('cedarling_wasm_bg.wasm', import.meta.url);
3068
- }
3069
- const imports = __wbg_get_imports();
3070
-
3071
- if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
3072
- module_or_path = fetch(module_or_path);
3073
- }
3074
-
3075
- const { instance, module } = await __wbg_load(await module_or_path, imports);
3076
-
3077
- return __wbg_finalize_init(instance, module);
3078
- }
3079
-
3080
- export { initSync, __wbg_init as default };
2999
+ const wasmPath = `${__dirname}/cedarling_wasm_bg.wasm`;
3000
+ const wasmBytes = require('fs').readFileSync(wasmPath);
3001
+ const wasmModule = new WebAssembly.Module(wasmBytes);
3002
+ let wasmInstance = new WebAssembly.Instance(wasmModule, __wbg_get_imports());
3003
+ let wasm = wasmInstance.exports;