@bytecodealliance/jco 1.17.4 → 1.17.6

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.
@@ -180,6 +180,8 @@ function promiseWithResolvers() {
180
180
  }
181
181
  }
182
182
 
183
+ const symbolDispose = Symbol.dispose || Symbol.for('dispose');
184
+
183
185
  const _debugLog = (...args) => {
184
186
  if (!globalThis?.process?.env?.JCO_DEBUG) { return; }
185
187
  console.debug(...args);
@@ -2051,10 +2053,52 @@ function _lowerImportBackwardsCompat(args) {
2051
2053
  importFn,
2052
2054
  } = args;
2053
2055
 
2054
- const { taskID } = _getGlobalCurrentTaskMeta(componentIdx);
2056
+ let meta = _getGlobalCurrentTaskMeta(componentIdx);
2057
+ let createdTask;
2058
+
2059
+ // Some components depend on initialization logic (i.e. `_initialize` or some such
2060
+ // core wasm export) that is embedded in the component, but is not executed or wizer'd
2061
+ // away before the transpiled component is attempted to be used.
2062
+ //
2063
+ // These components execut their initialization logic *when they are imported* in the
2064
+ // transpiled context -- so we may get a call to an export that is lowered without going
2065
+ // through `CallWasm` or `CallInterface`.
2066
+ //
2067
+ if (!meta) {
2068
+ if (funcTypeIsAsync || (isAsync && !isManualAsync)) {
2069
+ throw new Error('p3 async wasm exports cannot use backwards compat auto-task init');
2070
+ }
2071
+
2072
+ const [newTask, newTaskID] = createNewCurrentTask({
2073
+ componentIdx,
2074
+ isAsync,
2075
+ isManualAsync,
2076
+ callingWasmExport: false,
2077
+ });
2078
+ createdTask = newTask;
2079
+
2080
+ // Since we're managing the task creation ourselves we must clear ourselves
2081
+ createdTask.registerOnResolveHandler(() => {
2082
+ _clearCurrentTask({
2083
+ taskID: task.id(),
2084
+ componentIdx: task.componentIdx(),
2085
+ });
2086
+ });
2087
+
2088
+ _setGlobalCurrentTaskMeta({
2089
+ componentIdx,
2090
+ taskID: newTaskID,
2091
+ });
2092
+
2093
+ meta = _getGlobalCurrentTaskMeta(componentIdx);
2094
+ }
2095
+
2096
+ const { taskID } = meta;
2055
2097
 
2056
2098
  const taskMeta = getCurrentTask(componentIdx, taskID);
2057
- if (!taskMeta) { throw new Error('invalid/missing async task meta'); }
2099
+ if (!taskMeta) {
2100
+ throw new Error('invalid/missing async task meta');
2101
+ }
2058
2102
 
2059
2103
  const task = taskMeta.task;
2060
2104
  if (!task) { throw new Error('invalid/missing async task'); }
@@ -2098,13 +2142,20 @@ function _lowerImportBackwardsCompat(args) {
2098
2142
  // TODO(breaking): remove once we get rid of manual async import specification,
2099
2143
  // as func types cannot be detected in that case only (and we don't need that w/ p3)
2100
2144
  if (!isManualAsync && !isAsync && !funcTypeIsAsync) {
2145
+ if (createdTask) { createdTask.enterSync(); }
2146
+
2101
2147
  const res = importFn(...params);
2148
+
2102
2149
  // TODO(breaking): remove once we get rid of manual async import specification,
2103
2150
  // as func types cannot be detected in that case only (and we don't need that w/ p3)
2104
2151
  if (!funcTypeIsAsync && !subtask.isReturned()) {
2105
2152
  throw new Error('post-execution subtasks must either be async or returned');
2106
2153
  }
2107
- return subtask.getResult();
2154
+
2155
+ const syncRes = subtask.getResult();
2156
+ if (createdTask) { createdTask.resolve([syncRes]); }
2157
+
2158
+ return syncRes;
2108
2159
  }
2109
2160
 
2110
2161
  // Sync-lowered async functions requires async behavior because the callee *can* block,
@@ -2173,10 +2224,16 @@ function _lowerImportBackwardsCompat(args) {
2173
2224
  queueMicrotask(async () => {
2174
2225
  try {
2175
2226
  _debugLog('[_lowerImportBackwardsCompat()] calling lowered import', { importFn, params });
2176
- const res = await importFn(...params);
2227
+ if (createdTask) { await createdTask.enter(); }
2228
+
2229
+ const asyncRes = await importFn(...params);
2177
2230
  if (requiresManualAsyncResult) {
2178
2231
  manualAsyncResult.resolve(subtask.getResult());
2179
2232
  }
2233
+
2234
+ if (createdTask) { createdTask.resolve([asyncRes]); }
2235
+
2236
+
2180
2237
  } catch (err) {
2181
2238
  _debugLog("[_lowerImportBackwardsCompat()] import fn error:", err);
2182
2239
  if (requiresManualAsyncResult) {
@@ -2495,7 +2552,7 @@ function _liftFlatResult(casesAndLiftFns) {
2495
2552
 
2496
2553
  function _liftFlatBorrow(componentTableIdx, size, memory, vals, storagePtr, storageLen) {
2497
2554
  _debugLog('[_liftFlatBorrow()] args', { size, memory, vals, storagePtr, storageLen });
2498
- throw new Error('flat lift for borrowed resources not yet implemented!');
2555
+ throw new Error('flat lift for borrowed resources is not supported!');
2499
2556
  }
2500
2557
 
2501
2558
  function _lowerFlatU8(ctx) {
@@ -2614,14 +2671,17 @@ function _lowerFlatVariant(lowerMetas) {
2614
2671
 
2615
2672
  ctx.resultPtr = originalPtr + payloadOffset32;
2616
2673
 
2617
- const payloadBytesWritten = lowerFn({
2618
- memory,
2619
- realloc,
2620
- vals: [val],
2621
- storagePtr,
2622
- storageLen,
2623
- componentIdx,
2624
- });
2674
+ let payloadBytesWritten = 0;
2675
+ if (lowerFn) {
2676
+ lowerFn({
2677
+ memory,
2678
+ realloc,
2679
+ vals: [val],
2680
+ storagePtr,
2681
+ storageLen,
2682
+ componentIdx,
2683
+ });
2684
+ }
2625
2685
  let bytesWritten = payloadOffset + payloadBytesWritten;
2626
2686
 
2627
2687
  const rem = ctx.storagePtr % align32;
@@ -3234,8 +3294,6 @@ const symbolRscHandle = Symbol('handle');
3234
3294
 
3235
3295
  const symbolRscRep = Symbol.for('cabiRep');
3236
3296
 
3237
- const symbolDispose = Symbol.dispose || Symbol.for('dispose');
3238
-
3239
3297
  const handleTables = [];
3240
3298
 
3241
3299
  class ComponentError extends Error {
@@ -8538,1519 +8596,355 @@ let postReturn0;
8538
8596
  let postReturn0Async;
8539
8597
  let postReturn1;
8540
8598
  let postReturn1Async;
8541
- function trampoline0(handle) {
8542
- const handleEntry = rscTableRemove(handleTable5, handle);
8543
- if (handleEntry.own) {
8544
-
8545
- const rsc = captureTable5.get(handleEntry.rep);
8546
- if (rsc) {
8547
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8548
- captureTable5.delete(handleEntry.rep);
8549
- } else if (DirectoryEntryStream[symbolCabiDispose]) {
8550
- DirectoryEntryStream[symbolCabiDispose](handleEntry.rep);
8599
+ let exports1Generate;
8600
+
8601
+ function generate(arg0, arg1) {
8602
+ if (!_initialized) throwUninitialized();
8603
+ var ptr0 = realloc1(0, 0, 4, 84);
8604
+ var val1 = arg0;
8605
+ var len1 = Array.isArray(val1) ? val1.length : val1.byteLength;
8606
+ var ptr1 = realloc1(0, 0, 1, len1 * 1);
8607
+
8608
+ let valData1;
8609
+ const valLenBytes1 = len1 * 1;
8610
+ if (Array.isArray(val1)) {
8611
+ // Regular array likely containing numbers, write values to memory
8612
+ let offset = 0;
8613
+ const dv1 = new DataView(memory0.buffer);
8614
+ for (const v of val1) {
8615
+ dv1.setUint8(ptr1+ offset, v, true);
8616
+ offset += 1;
8551
8617
  }
8618
+ } else {
8619
+ // TypedArray / ArrayBuffer-like, direct copy
8620
+ valData1 = new Uint8Array(val1.buffer || val1, val1.byteOffset, valLenBytes1);
8621
+ const out1 = new Uint8Array(memory0.buffer, ptr1,valLenBytes1);
8622
+ out1.set(valData1);
8552
8623
  }
8553
- }
8554
- function trampoline1(handle) {
8555
- const handleEntry = rscTableRemove(handleTable2, handle);
8556
- if (handleEntry.own) {
8557
-
8558
- const rsc = captureTable2.get(handleEntry.rep);
8559
- if (rsc) {
8560
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8561
- captureTable2.delete(handleEntry.rep);
8562
- } else if (OutputStream[symbolCabiDispose]) {
8563
- OutputStream[symbolCabiDispose](handleEntry.rep);
8564
- }
8624
+
8625
+ dataView(memory0).setUint32(ptr0 + 4, len1, true);
8626
+ dataView(memory0).setUint32(ptr0 + 0, ptr1, true);
8627
+ var {name: v2_0, noTypescript: v2_1, instantiation: v2_2, importBindings: v2_3, map: v2_4, compat: v2_5, noNodejsCompat: v2_6, base64Cutoff: v2_7, tlaCompat: v2_8, validLiftingOptimization: v2_9, tracing: v2_10, noNamespacedExports: v2_11, guest: v2_12, multiMemory: v2_13, asyncMode: v2_14 } = arg1;
8628
+
8629
+ var encodeRes = _utf8AllocateAndEncode(v2_0, realloc1, memory0);
8630
+ var ptr3= encodeRes.ptr;
8631
+ var len3 = encodeRes.len;
8632
+
8633
+ dataView(memory0).setUint32(ptr0 + 12, len3, true);
8634
+ dataView(memory0).setUint32(ptr0 + 8, ptr3, true);
8635
+ var variant4 = v2_1;
8636
+ if (variant4 === null || variant4=== undefined) {
8637
+ dataView(memory0).setInt8(ptr0 + 16, 0, true);
8638
+ } else {
8639
+ const e = variant4;
8640
+ dataView(memory0).setInt8(ptr0 + 16, 1, true);
8641
+ dataView(memory0).setInt8(ptr0 + 17, e ? 1 : 0, true);
8565
8642
  }
8566
- }
8567
- function trampoline2(handle) {
8568
- const handleEntry = rscTableRemove(handleTable0, handle);
8569
- if (handleEntry.own) {
8570
-
8571
- const rsc = captureTable0.get(handleEntry.rep);
8572
- if (rsc) {
8573
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8574
- captureTable0.delete(handleEntry.rep);
8575
- } else if (Error$1[symbolCabiDispose]) {
8576
- Error$1[symbolCabiDispose](handleEntry.rep);
8643
+ var variant6 = v2_2;
8644
+ if (variant6 === null || variant6=== undefined) {
8645
+ dataView(memory0).setInt8(ptr0 + 18, 0, true);
8646
+ } else {
8647
+ const e = variant6;
8648
+ dataView(memory0).setInt8(ptr0 + 18, 1, true);
8649
+ var variant5 = e;
8650
+ switch (variant5.tag) {
8651
+ case 'async': {
8652
+ dataView(memory0).setInt8(ptr0 + 19, 0, true);
8653
+ break;
8654
+ }
8655
+ case 'sync': {
8656
+ dataView(memory0).setInt8(ptr0 + 19, 1, true);
8657
+ break;
8658
+ }
8659
+ default: {
8660
+ throw new TypeError(`invalid variant tag value \`${JSON.stringify(variant5.tag)}\` (received \`${variant5}\`) specified for \`InstantiationMode\``);
8661
+ }
8577
8662
  }
8578
8663
  }
8579
- }
8580
- function trampoline3(handle) {
8581
- const handleEntry = rscTableRemove(handleTable1, handle);
8582
- if (handleEntry.own) {
8583
-
8584
- const rsc = captureTable1.get(handleEntry.rep);
8585
- if (rsc) {
8586
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8587
- captureTable1.delete(handleEntry.rep);
8588
- } else if (InputStream[symbolCabiDispose]) {
8589
- InputStream[symbolCabiDispose](handleEntry.rep);
8664
+ var variant8 = v2_3;
8665
+ if (variant8 === null || variant8=== undefined) {
8666
+ dataView(memory0).setInt8(ptr0 + 20, 0, true);
8667
+ } else {
8668
+ const e = variant8;
8669
+ dataView(memory0).setInt8(ptr0 + 20, 1, true);
8670
+ var variant7 = e;
8671
+ switch (variant7.tag) {
8672
+ case 'js': {
8673
+ dataView(memory0).setInt8(ptr0 + 21, 0, true);
8674
+ break;
8675
+ }
8676
+ case 'hybrid': {
8677
+ dataView(memory0).setInt8(ptr0 + 21, 1, true);
8678
+ break;
8679
+ }
8680
+ case 'optimized': {
8681
+ dataView(memory0).setInt8(ptr0 + 21, 2, true);
8682
+ break;
8683
+ }
8684
+ case 'direct-optimized': {
8685
+ dataView(memory0).setInt8(ptr0 + 21, 3, true);
8686
+ break;
8687
+ }
8688
+ default: {
8689
+ throw new TypeError(`invalid variant tag value \`${JSON.stringify(variant7.tag)}\` (received \`${variant7}\`) specified for \`BindingsMode\``);
8690
+ }
8590
8691
  }
8591
8692
  }
8592
- }
8593
- function trampoline4(handle) {
8594
- const handleEntry = rscTableRemove(handleTable6, handle);
8595
- if (handleEntry.own) {
8596
-
8597
- const rsc = captureTable6.get(handleEntry.rep);
8598
- if (rsc) {
8599
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8600
- captureTable6.delete(handleEntry.rep);
8601
- } else if (Descriptor[symbolCabiDispose]) {
8602
- Descriptor[symbolCabiDispose](handleEntry.rep);
8693
+ var variant13 = v2_4;
8694
+ if (variant13 === null || variant13=== undefined) {
8695
+ dataView(memory0).setInt8(ptr0 + 24, 0, true);
8696
+ } else {
8697
+ const e = variant13;
8698
+ dataView(memory0).setInt8(ptr0 + 24, 1, true);
8699
+ var vec12 = e;
8700
+ var len12 = vec12.length;
8701
+ var result12 = realloc1(0, 0, 4, len12 * 16);
8702
+ for (let i = 0; i < vec12.length; i++) {
8703
+ const e = vec12[i];
8704
+ const base = result12 + i * 16;var [tuple9_0, tuple9_1] = e;
8705
+
8706
+ var encodeRes = _utf8AllocateAndEncode(tuple9_0, realloc1, memory0);
8707
+ var ptr10= encodeRes.ptr;
8708
+ var len10 = encodeRes.len;
8709
+
8710
+ dataView(memory0).setUint32(base + 4, len10, true);
8711
+ dataView(memory0).setUint32(base + 0, ptr10, true);
8712
+
8713
+ var encodeRes = _utf8AllocateAndEncode(tuple9_1, realloc1, memory0);
8714
+ var ptr11= encodeRes.ptr;
8715
+ var len11 = encodeRes.len;
8716
+
8717
+ dataView(memory0).setUint32(base + 12, len11, true);
8718
+ dataView(memory0).setUint32(base + 8, ptr11, true);
8603
8719
  }
8720
+ dataView(memory0).setUint32(ptr0 + 32, len12, true);
8721
+ dataView(memory0).setUint32(ptr0 + 28, result12, true);
8604
8722
  }
8605
- }
8606
- let trampoline5 = _trampoline5.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8607
- null,
8608
- {
8609
- trampolineIdx: 5,
8610
- componentIdx: 0,
8611
- isAsync: false,
8612
- isManualAsync: _trampoline5.manuallyAsync,
8613
- paramLiftFns: [],
8614
- resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
8615
- funcTypeIsAsync: false,
8616
- getCallbackFn: () => null,
8617
- getPostReturnFn: () => null,
8618
- isCancellable: false,
8619
- memoryIdx: null,
8620
- getMemoryFn: () => null,
8621
- getReallocFn: () => null,
8622
- importFn: _trampoline5,
8623
- },
8624
- )) : _lowerImportBackwardsCompat.bind(
8625
- null,
8626
- {
8627
- trampolineIdx: 5,
8628
- componentIdx: 0,
8629
- isAsync: false,
8630
- isManualAsync: _trampoline5.manuallyAsync,
8631
- paramLiftFns: [],
8632
- resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
8633
- funcTypeIsAsync: false,
8634
- getCallbackFn: () => null,
8635
- getPostReturnFn: () => null,
8636
- isCancellable: false,
8637
- memoryIdx: null,
8638
- getMemoryFn: () => null,
8639
- getReallocFn: () => null,
8640
- importFn: _trampoline5,
8641
- },
8642
- );
8643
- function trampoline6(handle) {
8644
- const handleEntry = rscTableRemove(handleTable3, handle);
8645
- if (handleEntry.own) {
8646
-
8647
- const rsc = captureTable3.get(handleEntry.rep);
8648
- if (rsc) {
8649
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8650
- captureTable3.delete(handleEntry.rep);
8651
- } else if (TerminalInput[symbolCabiDispose]) {
8652
- TerminalInput[symbolCabiDispose](handleEntry.rep);
8723
+ var variant14 = v2_5;
8724
+ if (variant14 === null || variant14=== undefined) {
8725
+ dataView(memory0).setInt8(ptr0 + 36, 0, true);
8726
+ } else {
8727
+ const e = variant14;
8728
+ dataView(memory0).setInt8(ptr0 + 36, 1, true);
8729
+ dataView(memory0).setInt8(ptr0 + 37, e ? 1 : 0, true);
8730
+ }
8731
+ var variant15 = v2_6;
8732
+ if (variant15 === null || variant15=== undefined) {
8733
+ dataView(memory0).setInt8(ptr0 + 38, 0, true);
8734
+ } else {
8735
+ const e = variant15;
8736
+ dataView(memory0).setInt8(ptr0 + 38, 1, true);
8737
+ dataView(memory0).setInt8(ptr0 + 39, e ? 1 : 0, true);
8738
+ }
8739
+ var variant16 = v2_7;
8740
+ if (variant16 === null || variant16=== undefined) {
8741
+ dataView(memory0).setInt8(ptr0 + 40, 0, true);
8742
+ } else {
8743
+ const e = variant16;
8744
+ dataView(memory0).setInt8(ptr0 + 40, 1, true);
8745
+ dataView(memory0).setInt32(ptr0 + 44, toUint32(e), true);
8746
+ }
8747
+ var variant17 = v2_8;
8748
+ if (variant17 === null || variant17=== undefined) {
8749
+ dataView(memory0).setInt8(ptr0 + 48, 0, true);
8750
+ } else {
8751
+ const e = variant17;
8752
+ dataView(memory0).setInt8(ptr0 + 48, 1, true);
8753
+ dataView(memory0).setInt8(ptr0 + 49, e ? 1 : 0, true);
8754
+ }
8755
+ var variant18 = v2_9;
8756
+ if (variant18 === null || variant18=== undefined) {
8757
+ dataView(memory0).setInt8(ptr0 + 50, 0, true);
8758
+ } else {
8759
+ const e = variant18;
8760
+ dataView(memory0).setInt8(ptr0 + 50, 1, true);
8761
+ dataView(memory0).setInt8(ptr0 + 51, e ? 1 : 0, true);
8762
+ }
8763
+ var variant19 = v2_10;
8764
+ if (variant19 === null || variant19=== undefined) {
8765
+ dataView(memory0).setInt8(ptr0 + 52, 0, true);
8766
+ } else {
8767
+ const e = variant19;
8768
+ dataView(memory0).setInt8(ptr0 + 52, 1, true);
8769
+ dataView(memory0).setInt8(ptr0 + 53, e ? 1 : 0, true);
8770
+ }
8771
+ var variant20 = v2_11;
8772
+ if (variant20 === null || variant20=== undefined) {
8773
+ dataView(memory0).setInt8(ptr0 + 54, 0, true);
8774
+ } else {
8775
+ const e = variant20;
8776
+ dataView(memory0).setInt8(ptr0 + 54, 1, true);
8777
+ dataView(memory0).setInt8(ptr0 + 55, e ? 1 : 0, true);
8778
+ }
8779
+ var variant21 = v2_12;
8780
+ if (variant21 === null || variant21=== undefined) {
8781
+ dataView(memory0).setInt8(ptr0 + 56, 0, true);
8782
+ } else {
8783
+ const e = variant21;
8784
+ dataView(memory0).setInt8(ptr0 + 56, 1, true);
8785
+ dataView(memory0).setInt8(ptr0 + 57, e ? 1 : 0, true);
8786
+ }
8787
+ var variant22 = v2_13;
8788
+ if (variant22 === null || variant22=== undefined) {
8789
+ dataView(memory0).setInt8(ptr0 + 58, 0, true);
8790
+ } else {
8791
+ const e = variant22;
8792
+ dataView(memory0).setInt8(ptr0 + 58, 1, true);
8793
+ dataView(memory0).setInt8(ptr0 + 59, e ? 1 : 0, true);
8794
+ }
8795
+ var variant29 = v2_14;
8796
+ if (variant29 === null || variant29=== undefined) {
8797
+ dataView(memory0).setInt8(ptr0 + 60, 0, true);
8798
+ } else {
8799
+ const e = variant29;
8800
+ dataView(memory0).setInt8(ptr0 + 60, 1, true);
8801
+ var variant28 = e;
8802
+ switch (variant28.tag) {
8803
+ case 'sync': {
8804
+ dataView(memory0).setInt8(ptr0 + 64, 0, true);
8805
+ break;
8806
+ }
8807
+ case 'jspi': {
8808
+ const e = variant28.val;
8809
+ dataView(memory0).setInt8(ptr0 + 64, 1, true);
8810
+ var {imports: v23_0, exports: v23_1 } = e;
8811
+ var vec25 = v23_0;
8812
+ var len25 = vec25.length;
8813
+ var result25 = realloc1(0, 0, 4, len25 * 8);
8814
+ for (let i = 0; i < vec25.length; i++) {
8815
+ const e = vec25[i];
8816
+ const base = result25 + i * 8;
8817
+ var encodeRes = _utf8AllocateAndEncode(e, realloc1, memory0);
8818
+ var ptr24= encodeRes.ptr;
8819
+ var len24 = encodeRes.len;
8820
+
8821
+ dataView(memory0).setUint32(base + 4, len24, true);
8822
+ dataView(memory0).setUint32(base + 0, ptr24, true);
8823
+ }
8824
+ dataView(memory0).setUint32(ptr0 + 72, len25, true);
8825
+ dataView(memory0).setUint32(ptr0 + 68, result25, true);
8826
+ var vec27 = v23_1;
8827
+ var len27 = vec27.length;
8828
+ var result27 = realloc1(0, 0, 4, len27 * 8);
8829
+ for (let i = 0; i < vec27.length; i++) {
8830
+ const e = vec27[i];
8831
+ const base = result27 + i * 8;
8832
+ var encodeRes = _utf8AllocateAndEncode(e, realloc1, memory0);
8833
+ var ptr26= encodeRes.ptr;
8834
+ var len26 = encodeRes.len;
8835
+
8836
+ dataView(memory0).setUint32(base + 4, len26, true);
8837
+ dataView(memory0).setUint32(base + 0, ptr26, true);
8838
+ }
8839
+ dataView(memory0).setUint32(ptr0 + 80, len27, true);
8840
+ dataView(memory0).setUint32(ptr0 + 76, result27, true);
8841
+ break;
8842
+ }
8843
+ default: {
8844
+ throw new TypeError(`invalid variant tag value \`${JSON.stringify(variant28.tag)}\` (received \`${variant28}\`) specified for \`AsyncMode\``);
8845
+ }
8653
8846
  }
8654
8847
  }
8655
- }
8656
- function trampoline7(handle) {
8657
- const handleEntry = rscTableRemove(handleTable4, handle);
8658
- if (handleEntry.own) {
8659
-
8660
- const rsc = captureTable4.get(handleEntry.rep);
8661
- if (rsc) {
8662
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8663
- captureTable4.delete(handleEntry.rep);
8664
- } else if (TerminalOutput[symbolCabiDispose]) {
8665
- TerminalOutput[symbolCabiDispose](handleEntry.rep);
8666
- }
8667
- }
8668
- }
8669
- let trampoline8 = _trampoline8.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8670
- null,
8671
- {
8672
- trampolineIdx: 8,
8673
- componentIdx: 0,
8674
- isAsync: false,
8675
- isManualAsync: _trampoline8.manuallyAsync,
8676
- paramLiftFns: [],
8677
- resultLowerFns: [_lowerFlatOwn.bind(null, 1)],
8678
- funcTypeIsAsync: false,
8679
- getCallbackFn: () => null,
8680
- getPostReturnFn: () => null,
8681
- isCancellable: false,
8682
- memoryIdx: null,
8683
- getMemoryFn: () => null,
8684
- getReallocFn: () => null,
8685
- importFn: _trampoline8,
8686
- },
8687
- )) : _lowerImportBackwardsCompat.bind(
8688
- null,
8689
- {
8690
- trampolineIdx: 8,
8691
- componentIdx: 0,
8692
- isAsync: false,
8693
- isManualAsync: _trampoline8.manuallyAsync,
8694
- paramLiftFns: [],
8695
- resultLowerFns: [_lowerFlatOwn.bind(null, 1)],
8696
- funcTypeIsAsync: false,
8697
- getCallbackFn: () => null,
8698
- getPostReturnFn: () => null,
8699
- isCancellable: false,
8700
- memoryIdx: null,
8701
- getMemoryFn: () => null,
8702
- getReallocFn: () => null,
8703
- importFn: _trampoline8,
8704
- },
8705
- );
8706
- let trampoline9 = _trampoline9.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8707
- null,
8708
- {
8709
- trampolineIdx: 9,
8710
- componentIdx: 0,
8711
- isAsync: false,
8712
- isManualAsync: _trampoline9.manuallyAsync,
8713
- paramLiftFns: [],
8714
- resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
8715
- funcTypeIsAsync: false,
8716
- getCallbackFn: () => null,
8717
- getPostReturnFn: () => null,
8718
- isCancellable: false,
8719
- memoryIdx: null,
8720
- getMemoryFn: () => null,
8721
- getReallocFn: () => null,
8722
- importFn: _trampoline9,
8723
- },
8724
- )) : _lowerImportBackwardsCompat.bind(
8725
- null,
8726
- {
8727
- trampolineIdx: 9,
8728
- componentIdx: 0,
8729
- isAsync: false,
8730
- isManualAsync: _trampoline9.manuallyAsync,
8731
- paramLiftFns: [],
8732
- resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
8733
- funcTypeIsAsync: false,
8734
- getCallbackFn: () => null,
8735
- getPostReturnFn: () => null,
8736
- isCancellable: false,
8737
- memoryIdx: null,
8738
- getMemoryFn: () => null,
8739
- getReallocFn: () => null,
8740
- importFn: _trampoline9,
8741
- },
8742
- );
8743
- let trampoline10 = _trampoline10.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8744
- null,
8745
- {
8746
- trampolineIdx: 10,
8747
- componentIdx: 0,
8748
- isAsync: false,
8749
- isManualAsync: _trampoline10.manuallyAsync,
8750
- paramLiftFns: [_liftFlatResult([['ok', null, 0, 0, 0],['err', null, 0, 0, 0],])],
8751
- resultLowerFns: [],
8752
- funcTypeIsAsync: false,
8753
- getCallbackFn: () => null,
8754
- getPostReturnFn: () => null,
8755
- isCancellable: false,
8756
- memoryIdx: null,
8757
- getMemoryFn: () => null,
8758
- getReallocFn: () => null,
8759
- importFn: _trampoline10,
8760
- },
8761
- )) : _lowerImportBackwardsCompat.bind(
8762
- null,
8763
- {
8764
- trampolineIdx: 10,
8765
- componentIdx: 0,
8766
- isAsync: false,
8767
- isManualAsync: _trampoline10.manuallyAsync,
8768
- paramLiftFns: [_liftFlatResult([['ok', null, 0, 0, 0],['err', null, 0, 0, 0],])],
8769
- resultLowerFns: [],
8770
- funcTypeIsAsync: false,
8771
- getCallbackFn: () => null,
8772
- getPostReturnFn: () => null,
8773
- isCancellable: false,
8774
- memoryIdx: null,
8775
- getMemoryFn: () => null,
8776
- getReallocFn: () => null,
8777
- importFn: _trampoline10,
8778
- },
8779
- );
8780
- let trampoline11 = _trampoline11.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8781
- null,
8782
- {
8783
- trampolineIdx: 11,
8784
- componentIdx: 0,
8785
- isAsync: false,
8786
- isManualAsync: _trampoline11.manuallyAsync,
8787
- paramLiftFns: [],
8788
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 0), typeIdx: 0 })],
8789
- funcTypeIsAsync: false,
8790
- getCallbackFn: () => null,
8791
- getPostReturnFn: () => null,
8792
- isCancellable: false,
8793
- memoryIdx: 0,
8794
- getMemoryFn: () => memory0,
8795
- getReallocFn: () => realloc0,
8796
- importFn: _trampoline11,
8797
- },
8798
- )) : _lowerImportBackwardsCompat.bind(
8799
- null,
8800
- {
8801
- trampolineIdx: 11,
8802
- componentIdx: 0,
8803
- isAsync: false,
8804
- isManualAsync: _trampoline11.manuallyAsync,
8805
- paramLiftFns: [],
8806
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 0), typeIdx: 0 })],
8807
- funcTypeIsAsync: false,
8808
- getCallbackFn: () => null,
8809
- getPostReturnFn: () => null,
8810
- isCancellable: false,
8811
- memoryIdx: 0,
8812
- getMemoryFn: () => memory0,
8813
- getReallocFn: () => realloc0,
8814
- importFn: _trampoline11,
8815
- },
8816
- );
8817
- let trampoline12 = _trampoline12.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8818
- null,
8819
- {
8820
- trampolineIdx: 12,
8821
- componentIdx: 0,
8822
- isAsync: false,
8823
- isManualAsync: _trampoline12.manuallyAsync,
8824
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8825
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatFlags.bind(null, 0), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
8826
- funcTypeIsAsync: false,
8827
- getCallbackFn: () => null,
8828
- getPostReturnFn: () => null,
8829
- isCancellable: false,
8830
- memoryIdx: 0,
8831
- getMemoryFn: () => memory0,
8832
- getReallocFn: () => null,
8833
- importFn: _trampoline12,
8834
- },
8835
- )) : _lowerImportBackwardsCompat.bind(
8836
- null,
8837
- {
8838
- trampolineIdx: 12,
8839
- componentIdx: 0,
8840
- isAsync: false,
8841
- isManualAsync: _trampoline12.manuallyAsync,
8842
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8843
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatFlags.bind(null, 0), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
8844
- funcTypeIsAsync: false,
8845
- getCallbackFn: () => null,
8846
- getPostReturnFn: () => null,
8847
- isCancellable: false,
8848
- memoryIdx: 0,
8849
- getMemoryFn: () => memory0,
8850
- getReallocFn: () => null,
8851
- importFn: _trampoline12,
8852
- },
8853
- );
8854
- let trampoline13 = _trampoline13.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8855
- null,
8856
- {
8857
- trampolineIdx: 13,
8858
- componentIdx: 0,
8859
- isAsync: false,
8860
- isManualAsync: _trampoline13.manuallyAsync,
8861
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8862
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatEnum.bind(null, 1), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
8863
- funcTypeIsAsync: false,
8864
- getCallbackFn: () => null,
8865
- getPostReturnFn: () => null,
8866
- isCancellable: false,
8867
- memoryIdx: 0,
8868
- getMemoryFn: () => memory0,
8869
- getReallocFn: () => null,
8870
- importFn: _trampoline13,
8871
- },
8872
- )) : _lowerImportBackwardsCompat.bind(
8873
- null,
8874
- {
8875
- trampolineIdx: 13,
8876
- componentIdx: 0,
8877
- isAsync: false,
8878
- isManualAsync: _trampoline13.manuallyAsync,
8879
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8880
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatEnum.bind(null, 1), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
8881
- funcTypeIsAsync: false,
8882
- getCallbackFn: () => null,
8883
- getPostReturnFn: () => null,
8884
- isCancellable: false,
8885
- memoryIdx: 0,
8886
- getMemoryFn: () => memory0,
8887
- getReallocFn: () => null,
8888
- importFn: _trampoline13,
8889
- },
8890
- );
8891
- let trampoline14 = _trampoline14.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8892
- null,
8893
- {
8894
- trampolineIdx: 14,
8895
- componentIdx: 0,
8896
- isAsync: false,
8897
- isManualAsync: _trampoline14.manuallyAsync,
8898
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8899
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['lower', _lowerFlatU64, 16, 8 ],['upper', _lowerFlatU64, 16, 8 ],]), 24, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 24, 8, 8 ],])],
8900
- funcTypeIsAsync: false,
8901
- getCallbackFn: () => null,
8902
- getPostReturnFn: () => null,
8903
- isCancellable: false,
8904
- memoryIdx: 0,
8905
- getMemoryFn: () => memory0,
8906
- getReallocFn: () => null,
8907
- importFn: _trampoline14,
8908
- },
8909
- )) : _lowerImportBackwardsCompat.bind(
8910
- null,
8911
- {
8912
- trampolineIdx: 14,
8913
- componentIdx: 0,
8914
- isAsync: false,
8915
- isManualAsync: _trampoline14.manuallyAsync,
8916
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8917
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['lower', _lowerFlatU64, 16, 8 ],['upper', _lowerFlatU64, 16, 8 ],]), 24, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 24, 8, 8 ],])],
8918
- funcTypeIsAsync: false,
8919
- getCallbackFn: () => null,
8920
- getPostReturnFn: () => null,
8921
- isCancellable: false,
8922
- memoryIdx: 0,
8923
- getMemoryFn: () => memory0,
8924
- getReallocFn: () => null,
8925
- importFn: _trampoline14,
8926
- },
8927
- );
8928
- let trampoline15 = _trampoline15.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8929
- null,
8930
- {
8931
- trampolineIdx: 15,
8932
- componentIdx: 0,
8933
- isAsync: false,
8934
- isManualAsync: _trampoline15.manuallyAsync,
8935
- paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
8936
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],[ 'none', null, 2, 1, 1 ],])],
8937
- funcTypeIsAsync: false,
8938
- getCallbackFn: () => null,
8939
- getPostReturnFn: () => null,
8940
- isCancellable: false,
8941
- memoryIdx: 0,
8942
- getMemoryFn: () => memory0,
8943
- getReallocFn: () => null,
8944
- importFn: _trampoline15,
8945
- },
8946
- )) : _lowerImportBackwardsCompat.bind(
8947
- null,
8948
- {
8949
- trampolineIdx: 15,
8950
- componentIdx: 0,
8951
- isAsync: false,
8952
- isManualAsync: _trampoline15.manuallyAsync,
8953
- paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
8954
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],[ 'none', null, 2, 1, 1 ],])],
8955
- funcTypeIsAsync: false,
8956
- getCallbackFn: () => null,
8957
- getPostReturnFn: () => null,
8958
- isCancellable: false,
8959
- memoryIdx: 0,
8960
- getMemoryFn: () => memory0,
8961
- getReallocFn: () => null,
8962
- importFn: _trampoline15,
8963
- },
8964
- );
8965
- let trampoline16 = _trampoline16.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8966
- null,
8967
- {
8968
- trampolineIdx: 16,
8969
- componentIdx: 0,
8970
- isAsync: false,
8971
- isManualAsync: _trampoline16.manuallyAsync,
8972
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
8973
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['lower', _lowerFlatU64, 16, 8 ],['upper', _lowerFlatU64, 16, 8 ],]), 24, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 24, 8, 8 ],])],
8974
- funcTypeIsAsync: false,
8975
- getCallbackFn: () => null,
8976
- getPostReturnFn: () => null,
8977
- isCancellable: false,
8978
- memoryIdx: 0,
8979
- getMemoryFn: () => memory0,
8980
- getReallocFn: () => null,
8981
- importFn: _trampoline16,
8982
- },
8983
- )) : _lowerImportBackwardsCompat.bind(
8984
- null,
8985
- {
8986
- trampolineIdx: 16,
8987
- componentIdx: 0,
8988
- isAsync: false,
8989
- isManualAsync: _trampoline16.manuallyAsync,
8990
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
8991
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['lower', _lowerFlatU64, 16, 8 ],['upper', _lowerFlatU64, 16, 8 ],]), 24, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 24, 8, 8 ],])],
8992
- funcTypeIsAsync: false,
8993
- getCallbackFn: () => null,
8994
- getPostReturnFn: () => null,
8995
- isCancellable: false,
8996
- memoryIdx: 0,
8997
- getMemoryFn: () => memory0,
8998
- getReallocFn: () => null,
8999
- importFn: _trampoline16,
9000
- },
9001
- );
9002
- let trampoline17 = _trampoline17.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9003
- null,
9004
- {
9005
- trampolineIdx: 17,
9006
- componentIdx: 0,
9007
- isAsync: false,
9008
- isManualAsync: _trampoline17.manuallyAsync,
9009
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9010
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 1), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9011
- funcTypeIsAsync: false,
9012
- getCallbackFn: () => null,
9013
- getPostReturnFn: () => null,
9014
- isCancellable: false,
9015
- memoryIdx: 0,
9016
- getMemoryFn: () => memory0,
9017
- getReallocFn: () => null,
9018
- importFn: _trampoline17,
9019
- },
9020
- )) : _lowerImportBackwardsCompat.bind(
9021
- null,
9022
- {
9023
- trampolineIdx: 17,
9024
- componentIdx: 0,
9025
- isAsync: false,
9026
- isManualAsync: _trampoline17.manuallyAsync,
9027
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9028
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 1), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9029
- funcTypeIsAsync: false,
9030
- getCallbackFn: () => null,
9031
- getPostReturnFn: () => null,
9032
- isCancellable: false,
9033
- memoryIdx: 0,
9034
- getMemoryFn: () => memory0,
9035
- getReallocFn: () => null,
9036
- importFn: _trampoline17,
9037
- },
9038
- );
9039
- let trampoline18 = _trampoline18.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9040
- null,
9041
- {
9042
- trampolineIdx: 18,
9043
- componentIdx: 0,
9044
- isAsync: false,
9045
- isManualAsync: _trampoline18.manuallyAsync,
9046
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9047
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9048
- funcTypeIsAsync: false,
9049
- getCallbackFn: () => null,
9050
- getPostReturnFn: () => null,
9051
- isCancellable: false,
9052
- memoryIdx: 0,
9053
- getMemoryFn: () => memory0,
9054
- getReallocFn: () => null,
9055
- importFn: _trampoline18,
9056
- },
9057
- )) : _lowerImportBackwardsCompat.bind(
9058
- null,
9059
- {
9060
- trampolineIdx: 18,
9061
- componentIdx: 0,
9062
- isAsync: false,
9063
- isManualAsync: _trampoline18.manuallyAsync,
9064
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9065
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9066
- funcTypeIsAsync: false,
9067
- getCallbackFn: () => null,
9068
- getPostReturnFn: () => null,
9069
- isCancellable: false,
9070
- memoryIdx: 0,
9071
- getMemoryFn: () => memory0,
9072
- getReallocFn: () => null,
9073
- importFn: _trampoline18,
9074
- },
9075
- );
9076
- let trampoline19 = _trampoline19.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9077
- null,
9078
- {
9079
- trampolineIdx: 19,
9080
- componentIdx: 0,
9081
- isAsync: false,
9082
- isManualAsync: _trampoline19.manuallyAsync,
9083
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9084
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9085
- funcTypeIsAsync: false,
9086
- getCallbackFn: () => null,
9087
- getPostReturnFn: () => null,
9088
- isCancellable: false,
9089
- memoryIdx: 0,
9090
- getMemoryFn: () => memory0,
9091
- getReallocFn: () => null,
9092
- importFn: _trampoline19,
9093
- },
9094
- )) : _lowerImportBackwardsCompat.bind(
9095
- null,
9096
- {
9097
- trampolineIdx: 19,
9098
- componentIdx: 0,
9099
- isAsync: false,
9100
- isManualAsync: _trampoline19.manuallyAsync,
9101
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9102
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9103
- funcTypeIsAsync: false,
9104
- getCallbackFn: () => null,
9105
- getPostReturnFn: () => null,
9106
- isCancellable: false,
9107
- memoryIdx: 0,
9108
- getMemoryFn: () => memory0,
9109
- getReallocFn: () => null,
9110
- importFn: _trampoline19,
9111
- },
9112
- );
9113
- let trampoline20 = _trampoline20.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9114
- null,
9115
- {
9116
- trampolineIdx: 20,
9117
- componentIdx: 0,
9118
- isAsync: false,
9119
- isManualAsync: _trampoline20.manuallyAsync,
9120
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9121
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 5), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9122
- funcTypeIsAsync: false,
9123
- getCallbackFn: () => null,
9124
- getPostReturnFn: () => null,
9125
- isCancellable: false,
9126
- memoryIdx: 0,
9127
- getMemoryFn: () => memory0,
9128
- getReallocFn: () => null,
9129
- importFn: _trampoline20,
9130
- },
9131
- )) : _lowerImportBackwardsCompat.bind(
9132
- null,
9133
- {
9134
- trampolineIdx: 20,
9135
- componentIdx: 0,
9136
- isAsync: false,
9137
- isManualAsync: _trampoline20.manuallyAsync,
9138
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9139
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 5), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9140
- funcTypeIsAsync: false,
9141
- getCallbackFn: () => null,
9142
- getPostReturnFn: () => null,
9143
- isCancellable: false,
9144
- memoryIdx: 0,
9145
- getMemoryFn: () => memory0,
9146
- getReallocFn: () => null,
9147
- importFn: _trampoline20,
9148
- },
9149
- );
9150
- let trampoline21 = _trampoline21.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9151
- null,
9152
- {
9153
- trampolineIdx: 21,
9154
- componentIdx: 0,
9155
- isAsync: false,
9156
- isManualAsync: _trampoline21.manuallyAsync,
9157
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9158
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 96, 8 ],['linkCount', _lowerFlatU64, 96, 8 ],['size', _lowerFlatU64, 96, 8 ],['dataAccessTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['dataModificationTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['statusChangeTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],]), 104, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 104, 8, 8 ],])],
9159
- funcTypeIsAsync: false,
9160
- getCallbackFn: () => null,
9161
- getPostReturnFn: () => null,
9162
- isCancellable: false,
9163
- memoryIdx: 0,
9164
- getMemoryFn: () => memory0,
9165
- getReallocFn: () => null,
9166
- importFn: _trampoline21,
9167
- },
9168
- )) : _lowerImportBackwardsCompat.bind(
9169
- null,
9170
- {
9171
- trampolineIdx: 21,
9172
- componentIdx: 0,
9173
- isAsync: false,
9174
- isManualAsync: _trampoline21.manuallyAsync,
9175
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9176
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 96, 8 ],['linkCount', _lowerFlatU64, 96, 8 ],['size', _lowerFlatU64, 96, 8 ],['dataAccessTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['dataModificationTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['statusChangeTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],]), 104, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 104, 8, 8 ],])],
9177
- funcTypeIsAsync: false,
9178
- getCallbackFn: () => null,
9179
- getPostReturnFn: () => null,
9180
- isCancellable: false,
9181
- memoryIdx: 0,
9182
- getMemoryFn: () => memory0,
9183
- getReallocFn: () => null,
9184
- importFn: _trampoline21,
9185
- },
9186
- );
9187
- let trampoline22 = _trampoline22.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9188
- null,
9189
- {
9190
- trampolineIdx: 22,
9191
- componentIdx: 0,
9192
- isAsync: false,
9193
- isManualAsync: _trampoline22.manuallyAsync,
9194
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9195
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 96, 8 ],['linkCount', _lowerFlatU64, 96, 8 ],['size', _lowerFlatU64, 96, 8 ],['dataAccessTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['dataModificationTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['statusChangeTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],]), 104, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 104, 8, 8 ],])],
9196
- funcTypeIsAsync: false,
9197
- getCallbackFn: () => null,
9198
- getPostReturnFn: () => null,
9199
- isCancellable: false,
9200
- memoryIdx: 0,
9201
- getMemoryFn: () => memory0,
9202
- getReallocFn: () => null,
9203
- importFn: _trampoline22,
9204
- },
9205
- )) : _lowerImportBackwardsCompat.bind(
9206
- null,
9207
- {
9208
- trampolineIdx: 22,
9209
- componentIdx: 0,
9210
- isAsync: false,
9211
- isManualAsync: _trampoline22.manuallyAsync,
9212
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9213
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 96, 8 ],['linkCount', _lowerFlatU64, 96, 8 ],['size', _lowerFlatU64, 96, 8 ],['dataAccessTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['dataModificationTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['statusChangeTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],]), 104, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 104, 8, 8 ],])],
9214
- funcTypeIsAsync: false,
9215
- getCallbackFn: () => null,
9216
- getPostReturnFn: () => null,
9217
- isCancellable: false,
9218
- memoryIdx: 0,
9219
- getMemoryFn: () => memory0,
9220
- getReallocFn: () => null,
9221
- importFn: _trampoline22,
9222
- },
9223
- );
9224
- let trampoline23 = _trampoline23.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9225
- null,
9226
- {
9227
- trampolineIdx: 23,
9228
- componentIdx: 0,
9229
- isAsync: false,
9230
- isManualAsync: _trampoline23.manuallyAsync,
9231
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSize: 1 }),_liftFlatFlags({ names: ['read','write','file-integrity-sync','data-integrity-sync','requested-write-sync','mutate-directory'], size32: 1, align32: 1, intSize: 1 })],
9232
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 6), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9233
- funcTypeIsAsync: false,
9234
- getCallbackFn: () => null,
9235
- getPostReturnFn: () => null,
9236
- isCancellable: false,
9237
- memoryIdx: 0,
9238
- getMemoryFn: () => memory0,
9239
- getReallocFn: () => null,
9240
- importFn: _trampoline23,
9241
- },
9242
- )) : _lowerImportBackwardsCompat.bind(
9243
- null,
9244
- {
9245
- trampolineIdx: 23,
9246
- componentIdx: 0,
9247
- isAsync: false,
9248
- isManualAsync: _trampoline23.manuallyAsync,
9249
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSize: 1 }),_liftFlatFlags({ names: ['read','write','file-integrity-sync','data-integrity-sync','requested-write-sync','mutate-directory'], size32: 1, align32: 1, intSize: 1 })],
9250
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 6), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9251
- funcTypeIsAsync: false,
9252
- getCallbackFn: () => null,
9253
- getPostReturnFn: () => null,
9254
- isCancellable: false,
9255
- memoryIdx: 0,
9256
- getMemoryFn: () => memory0,
9257
- getReallocFn: () => null,
9258
- importFn: _trampoline23,
9259
- },
9260
- );
9261
- let trampoline24 = _trampoline24.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9262
- null,
9263
- {
9264
- trampolineIdx: 24,
9265
- componentIdx: 0,
9266
- isAsync: false,
9267
- isManualAsync: _trampoline24.manuallyAsync,
9268
- paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
9269
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 12, 4 ],['name', _lowerFlatStringUTF8, 12, 4 ],]), 16, 4, 4 ],[ 'none', null, 16, 4, 4 ],]), 20, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 20, 4, 4 ],])],
9270
- funcTypeIsAsync: false,
9271
- getCallbackFn: () => null,
9272
- getPostReturnFn: () => null,
9273
- isCancellable: false,
9274
- memoryIdx: 0,
9275
- getMemoryFn: () => memory0,
9276
- getReallocFn: () => realloc0,
9277
- importFn: _trampoline24,
9278
- },
9279
- )) : _lowerImportBackwardsCompat.bind(
9280
- null,
9281
- {
9282
- trampolineIdx: 24,
9283
- componentIdx: 0,
9284
- isAsync: false,
9285
- isManualAsync: _trampoline24.manuallyAsync,
9286
- paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
9287
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 12, 4 ],['name', _lowerFlatStringUTF8, 12, 4 ],]), 16, 4, 4 ],[ 'none', null, 16, 4, 4 ],]), 20, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 20, 4, 4 ],])],
9288
- funcTypeIsAsync: false,
9289
- getCallbackFn: () => null,
9290
- getPostReturnFn: () => null,
9291
- isCancellable: false,
9292
- memoryIdx: 0,
9293
- getMemoryFn: () => memory0,
9294
- getReallocFn: () => realloc0,
9295
- importFn: _trampoline24,
9296
- },
9297
- );
9298
- let trampoline25 = _trampoline25.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9299
- null,
9300
- {
9301
- trampolineIdx: 25,
9302
- componentIdx: 0,
9303
- isAsync: false,
9304
- isManualAsync: _trampoline25.manuallyAsync,
9305
- paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
9306
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 }), 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9307
- funcTypeIsAsync: false,
9308
- getCallbackFn: () => null,
9309
- getPostReturnFn: () => null,
9310
- isCancellable: false,
9311
- memoryIdx: 0,
9312
- getMemoryFn: () => memory0,
9313
- getReallocFn: () => realloc0,
9314
- importFn: _trampoline25,
9315
- },
9316
- )) : _lowerImportBackwardsCompat.bind(
9317
- null,
9318
- {
9319
- trampolineIdx: 25,
9320
- componentIdx: 0,
9321
- isAsync: false,
9322
- isManualAsync: _trampoline25.manuallyAsync,
9323
- paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
9324
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 }), 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9325
- funcTypeIsAsync: false,
9326
- getCallbackFn: () => null,
9327
- getPostReturnFn: () => null,
9328
- isCancellable: false,
9329
- memoryIdx: 0,
9330
- getMemoryFn: () => memory0,
9331
- getReallocFn: () => realloc0,
9332
- importFn: _trampoline25,
9333
- },
9334
- );
9335
- let trampoline26 = _trampoline26.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9336
- null,
9337
- {
9338
- trampolineIdx: 26,
9339
- componentIdx: 0,
9340
- isAsync: false,
9341
- isManualAsync: _trampoline26.manuallyAsync,
9342
- paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
9343
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 }), 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9344
- funcTypeIsAsync: false,
9345
- getCallbackFn: () => null,
9346
- getPostReturnFn: () => null,
9347
- isCancellable: false,
9348
- memoryIdx: 0,
9349
- getMemoryFn: () => memory0,
9350
- getReallocFn: () => realloc0,
9351
- importFn: _trampoline26,
9352
- },
9353
- )) : _lowerImportBackwardsCompat.bind(
9354
- null,
9355
- {
9356
- trampolineIdx: 26,
9357
- componentIdx: 0,
9358
- isAsync: false,
9359
- isManualAsync: _trampoline26.manuallyAsync,
9360
- paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
9361
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 }), 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9362
- funcTypeIsAsync: false,
9363
- getCallbackFn: () => null,
9364
- getPostReturnFn: () => null,
9365
- isCancellable: false,
9366
- memoryIdx: 0,
9367
- getMemoryFn: () => memory0,
9368
- getReallocFn: () => realloc0,
9369
- importFn: _trampoline26,
9370
- },
9371
- );
9372
- let trampoline27 = _trampoline27.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9373
- null,
9374
- {
9375
- trampolineIdx: 27,
9376
- componentIdx: 0,
9377
- isAsync: false,
9378
- isManualAsync: _trampoline27.manuallyAsync,
9379
- paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
9380
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatU64, 16, 8, 8 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],])],
9381
- funcTypeIsAsync: false,
9382
- getCallbackFn: () => null,
9383
- getPostReturnFn: () => null,
9384
- isCancellable: false,
9385
- memoryIdx: 0,
9386
- getMemoryFn: () => memory0,
9387
- getReallocFn: () => null,
9388
- importFn: _trampoline27,
9389
- },
9390
- )) : _lowerImportBackwardsCompat.bind(
9391
- null,
9392
- {
9393
- trampolineIdx: 27,
9394
- componentIdx: 0,
9395
- isAsync: false,
9396
- isManualAsync: _trampoline27.manuallyAsync,
9397
- paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
9398
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatU64, 16, 8, 8 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],])],
9399
- funcTypeIsAsync: false,
9400
- getCallbackFn: () => null,
9401
- getPostReturnFn: () => null,
9402
- isCancellable: false,
9403
- memoryIdx: 0,
9404
- getMemoryFn: () => memory0,
9405
- getReallocFn: () => null,
9406
- importFn: _trampoline27,
9407
- },
9408
- );
9409
- let trampoline28 = _trampoline28.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9410
- null,
9411
- {
9412
- trampolineIdx: 28,
9413
- componentIdx: 0,
9414
- isAsync: false,
9415
- isManualAsync: _trampoline28.manuallyAsync,
9416
- paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
9417
- resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9418
- funcTypeIsAsync: false,
9419
- getCallbackFn: () => null,
9420
- getPostReturnFn: () => null,
9421
- isCancellable: false,
9422
- memoryIdx: 0,
9423
- getMemoryFn: () => memory0,
9424
- getReallocFn: () => null,
9425
- importFn: _trampoline28,
9426
- },
9427
- )) : _lowerImportBackwardsCompat.bind(
9428
- null,
9429
- {
9430
- trampolineIdx: 28,
9431
- componentIdx: 0,
9432
- isAsync: false,
9433
- isManualAsync: _trampoline28.manuallyAsync,
9434
- paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
9435
- resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9436
- funcTypeIsAsync: false,
9437
- getCallbackFn: () => null,
9438
- getPostReturnFn: () => null,
9439
- isCancellable: false,
9440
- memoryIdx: 0,
9441
- getMemoryFn: () => memory0,
9442
- getReallocFn: () => null,
9443
- importFn: _trampoline28,
9444
- },
9445
- );
9446
- let trampoline29 = _trampoline29.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9447
- null,
9448
- {
9449
- trampolineIdx: 29,
9450
- componentIdx: 0,
9451
- isAsync: false,
9452
- isManualAsync: _trampoline29.manuallyAsync,
9453
- paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
9454
- resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9455
- funcTypeIsAsync: false,
9456
- getCallbackFn: () => null,
9457
- getPostReturnFn: () => null,
9458
- isCancellable: false,
9459
- memoryIdx: 0,
9460
- getMemoryFn: () => memory0,
9461
- getReallocFn: () => null,
9462
- importFn: _trampoline29,
9463
- },
9464
- )) : _lowerImportBackwardsCompat.bind(
9465
- null,
9466
- {
9467
- trampolineIdx: 29,
9468
- componentIdx: 0,
9469
- isAsync: false,
9470
- isManualAsync: _trampoline29.manuallyAsync,
9471
- paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
9472
- resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9473
- funcTypeIsAsync: false,
9474
- getCallbackFn: () => null,
9475
- getPostReturnFn: () => null,
9476
- isCancellable: false,
9477
- memoryIdx: 0,
9478
- getMemoryFn: () => memory0,
9479
- getReallocFn: () => null,
9480
- importFn: _trampoline29,
9481
- },
9482
- );
9483
- let trampoline30 = _trampoline30.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9484
- null,
9485
- {
9486
- trampolineIdx: 30,
9487
- componentIdx: 0,
9488
- isAsync: false,
9489
- isManualAsync: _trampoline30.manuallyAsync,
9490
- paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
9491
- resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9492
- funcTypeIsAsync: false,
9493
- getCallbackFn: () => null,
9494
- getPostReturnFn: () => null,
9495
- isCancellable: false,
9496
- memoryIdx: 0,
9497
- getMemoryFn: () => memory0,
9498
- getReallocFn: () => null,
9499
- importFn: _trampoline30,
9500
- },
9501
- )) : _lowerImportBackwardsCompat.bind(
9502
- null,
9503
- {
9504
- trampolineIdx: 30,
9505
- componentIdx: 0,
9506
- isAsync: false,
9507
- isManualAsync: _trampoline30.manuallyAsync,
9508
- paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
9509
- resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
9510
- funcTypeIsAsync: false,
9511
- getCallbackFn: () => null,
9512
- getPostReturnFn: () => null,
9513
- isCancellable: false,
9514
- memoryIdx: 0,
9515
- getMemoryFn: () => memory0,
9516
- getReallocFn: () => null,
9517
- importFn: _trampoline30,
9518
- },
9519
- );
9520
- let trampoline31 = _trampoline31.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9521
- null,
9522
- {
9523
- trampolineIdx: 31,
9524
- componentIdx: 0,
9525
- isAsync: false,
9526
- isManualAsync: _trampoline31.manuallyAsync,
9527
- paramLiftFns: [_liftFlatU64],
9528
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 })],
9529
- funcTypeIsAsync: false,
9530
- getCallbackFn: () => null,
9531
- getPostReturnFn: () => null,
9532
- isCancellable: false,
9533
- memoryIdx: 0,
9534
- getMemoryFn: () => memory0,
9535
- getReallocFn: () => realloc0,
9536
- importFn: _trampoline31,
9537
- },
9538
- )) : _lowerImportBackwardsCompat.bind(
9539
- null,
9540
- {
9541
- trampolineIdx: 31,
9542
- componentIdx: 0,
9543
- isAsync: false,
9544
- isManualAsync: _trampoline31.manuallyAsync,
9545
- paramLiftFns: [_liftFlatU64],
9546
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 })],
9547
- funcTypeIsAsync: false,
9548
- getCallbackFn: () => null,
9549
- getPostReturnFn: () => null,
9550
- isCancellable: false,
9551
- memoryIdx: 0,
9552
- getMemoryFn: () => memory0,
9553
- getReallocFn: () => realloc0,
9554
- importFn: _trampoline31,
9555
- },
9556
- );
9557
- let trampoline32 = _trampoline32.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9558
- null,
9559
- {
9560
- trampolineIdx: 32,
9561
- componentIdx: 0,
9562
- isAsync: false,
9563
- isManualAsync: _trampoline32.manuallyAsync,
9564
- paramLiftFns: [],
9565
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 30), typeIdx: 2 })],
9566
- funcTypeIsAsync: false,
9567
- getCallbackFn: () => null,
9568
- getPostReturnFn: () => null,
9569
- isCancellable: false,
9570
- memoryIdx: 0,
9571
- getMemoryFn: () => memory0,
9572
- getReallocFn: () => realloc0,
9573
- importFn: _trampoline32,
9574
- },
9575
- )) : _lowerImportBackwardsCompat.bind(
9576
- null,
9577
- {
9578
- trampolineIdx: 32,
9579
- componentIdx: 0,
9580
- isAsync: false,
9581
- isManualAsync: _trampoline32.manuallyAsync,
9582
- paramLiftFns: [],
9583
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 30), typeIdx: 2 })],
9584
- funcTypeIsAsync: false,
9585
- getCallbackFn: () => null,
9586
- getPostReturnFn: () => null,
9587
- isCancellable: false,
9588
- memoryIdx: 0,
9589
- getMemoryFn: () => memory0,
9590
- getReallocFn: () => realloc0,
9591
- importFn: _trampoline32,
9592
- },
9593
- );
9594
- let trampoline33 = _trampoline33.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9595
- null,
9596
- {
9597
- trampolineIdx: 33,
9598
- componentIdx: 0,
9599
- isAsync: false,
9600
- isManualAsync: _trampoline33.manuallyAsync,
9601
- paramLiftFns: [],
9602
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 3), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9603
- funcTypeIsAsync: false,
9604
- getCallbackFn: () => null,
9605
- getPostReturnFn: () => null,
9606
- isCancellable: false,
9607
- memoryIdx: 0,
9608
- getMemoryFn: () => memory0,
9609
- getReallocFn: () => null,
9610
- importFn: _trampoline33,
9611
- },
9612
- )) : _lowerImportBackwardsCompat.bind(
9613
- null,
9614
- {
9615
- trampolineIdx: 33,
9616
- componentIdx: 0,
9617
- isAsync: false,
9618
- isManualAsync: _trampoline33.manuallyAsync,
9619
- paramLiftFns: [],
9620
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 3), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9621
- funcTypeIsAsync: false,
9622
- getCallbackFn: () => null,
9623
- getPostReturnFn: () => null,
9624
- isCancellable: false,
9625
- memoryIdx: 0,
9626
- getMemoryFn: () => memory0,
9627
- getReallocFn: () => null,
9628
- importFn: _trampoline33,
9629
- },
9630
- );
9631
- let trampoline34 = _trampoline34.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9632
- null,
9633
- {
9634
- trampolineIdx: 34,
9635
- componentIdx: 0,
9636
- isAsync: false,
9637
- isManualAsync: _trampoline34.manuallyAsync,
9638
- paramLiftFns: [],
9639
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9640
- funcTypeIsAsync: false,
9641
- getCallbackFn: () => null,
9642
- getPostReturnFn: () => null,
9643
- isCancellable: false,
9644
- memoryIdx: 0,
9645
- getMemoryFn: () => memory0,
9646
- getReallocFn: () => null,
9647
- importFn: _trampoline34,
9648
- },
9649
- )) : _lowerImportBackwardsCompat.bind(
9650
- null,
9651
- {
9652
- trampolineIdx: 34,
9653
- componentIdx: 0,
9654
- isAsync: false,
9655
- isManualAsync: _trampoline34.manuallyAsync,
9656
- paramLiftFns: [],
9657
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9658
- funcTypeIsAsync: false,
9659
- getCallbackFn: () => null,
9660
- getPostReturnFn: () => null,
9661
- isCancellable: false,
9662
- memoryIdx: 0,
9663
- getMemoryFn: () => memory0,
9664
- getReallocFn: () => null,
9665
- importFn: _trampoline34,
9666
- },
9667
- );
9668
- let trampoline35 = _trampoline35.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9669
- null,
9670
- {
9671
- trampolineIdx: 35,
9672
- componentIdx: 0,
9673
- isAsync: false,
9674
- isManualAsync: _trampoline35.manuallyAsync,
9675
- paramLiftFns: [],
9676
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9677
- funcTypeIsAsync: false,
9678
- getCallbackFn: () => null,
9679
- getPostReturnFn: () => null,
9680
- isCancellable: false,
9681
- memoryIdx: 0,
9682
- getMemoryFn: () => memory0,
9683
- getReallocFn: () => null,
9684
- importFn: _trampoline35,
9685
- },
9686
- )) : _lowerImportBackwardsCompat.bind(
9687
- null,
9688
- {
9689
- trampolineIdx: 35,
9690
- componentIdx: 0,
9691
- isAsync: false,
9692
- isManualAsync: _trampoline35.manuallyAsync,
9693
- paramLiftFns: [],
9694
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9695
- funcTypeIsAsync: false,
9696
- getCallbackFn: () => null,
9697
- getPostReturnFn: () => null,
9698
- isCancellable: false,
9699
- memoryIdx: 0,
9700
- getMemoryFn: () => memory0,
9701
- getReallocFn: () => null,
9702
- importFn: _trampoline35,
9703
- },
9704
- );
9705
- let exports1Generate;
9706
-
9707
- function generate(arg0, arg1) {
9708
- if (!_initialized) throwUninitialized();
9709
- var ptr0 = realloc1(0, 0, 4, 84);
9710
- var val1 = arg0;
9711
- var len1 = Array.isArray(val1) ? val1.length : val1.byteLength;
9712
- var ptr1 = realloc1(0, 0, 1, len1 * 1);
9713
-
9714
- let valData1;
9715
- const valLenBytes1 = len1 * 1;
9716
- if (Array.isArray(val1)) {
9717
- // Regular array likely containing numbers, write values to memory
9718
- let offset = 0;
9719
- const dv1 = new DataView(memory0.buffer);
9720
- for (const v of val1) {
9721
- dv1.setUint8(ptr1+ offset, v, true);
9722
- offset += 1;
9723
- }
9724
- } else {
9725
- // TypedArray / ArrayBuffer-like, direct copy
9726
- valData1 = new Uint8Array(val1.buffer || val1, val1.byteOffset, valLenBytes1);
9727
- const out1 = new Uint8Array(memory0.buffer, ptr1,valLenBytes1);
9728
- out1.set(valData1);
9729
- }
9730
-
9731
- dataView(memory0).setUint32(ptr0 + 4, len1, true);
9732
- dataView(memory0).setUint32(ptr0 + 0, ptr1, true);
9733
- var {name: v2_0, noTypescript: v2_1, instantiation: v2_2, importBindings: v2_3, map: v2_4, compat: v2_5, noNodejsCompat: v2_6, base64Cutoff: v2_7, tlaCompat: v2_8, validLiftingOptimization: v2_9, tracing: v2_10, noNamespacedExports: v2_11, guest: v2_12, multiMemory: v2_13, asyncMode: v2_14 } = arg1;
9734
-
9735
- var encodeRes = _utf8AllocateAndEncode(v2_0, realloc1, memory0);
9736
- var ptr3= encodeRes.ptr;
9737
- var len3 = encodeRes.len;
9738
-
9739
- dataView(memory0).setUint32(ptr0 + 12, len3, true);
9740
- dataView(memory0).setUint32(ptr0 + 8, ptr3, true);
9741
- var variant4 = v2_1;
9742
- if (variant4 === null || variant4=== undefined) {
9743
- dataView(memory0).setInt8(ptr0 + 16, 0, true);
9744
- } else {
9745
- const e = variant4;
9746
- dataView(memory0).setInt8(ptr0 + 16, 1, true);
9747
- dataView(memory0).setInt8(ptr0 + 17, e ? 1 : 0, true);
9748
- }
9749
- var variant6 = v2_2;
9750
- if (variant6 === null || variant6=== undefined) {
9751
- dataView(memory0).setInt8(ptr0 + 18, 0, true);
9752
- } else {
9753
- const e = variant6;
9754
- dataView(memory0).setInt8(ptr0 + 18, 1, true);
9755
- var variant5 = e;
9756
- switch (variant5.tag) {
9757
- case 'async': {
9758
- dataView(memory0).setInt8(ptr0 + 19, 0, true);
9759
- break;
9760
- }
9761
- case 'sync': {
9762
- dataView(memory0).setInt8(ptr0 + 19, 1, true);
9763
- break;
9764
- }
9765
- default: {
9766
- throw new TypeError(`invalid variant tag value \`${JSON.stringify(variant5.tag)}\` (received \`${variant5}\`) specified for \`InstantiationMode\``);
9767
- }
9768
- }
9769
- }
9770
- var variant8 = v2_3;
9771
- if (variant8 === null || variant8=== undefined) {
9772
- dataView(memory0).setInt8(ptr0 + 20, 0, true);
9773
- } else {
9774
- const e = variant8;
9775
- dataView(memory0).setInt8(ptr0 + 20, 1, true);
9776
- var variant7 = e;
9777
- switch (variant7.tag) {
9778
- case 'js': {
9779
- dataView(memory0).setInt8(ptr0 + 21, 0, true);
9780
- break;
9781
- }
9782
- case 'hybrid': {
9783
- dataView(memory0).setInt8(ptr0 + 21, 1, true);
9784
- break;
9785
- }
9786
- case 'optimized': {
9787
- dataView(memory0).setInt8(ptr0 + 21, 2, true);
9788
- break;
9789
- }
9790
- case 'direct-optimized': {
9791
- dataView(memory0).setInt8(ptr0 + 21, 3, true);
9792
- break;
9793
- }
9794
- default: {
9795
- throw new TypeError(`invalid variant tag value \`${JSON.stringify(variant7.tag)}\` (received \`${variant7}\`) specified for \`BindingsMode\``);
9796
- }
9797
- }
9798
- }
9799
- var variant13 = v2_4;
9800
- if (variant13 === null || variant13=== undefined) {
9801
- dataView(memory0).setInt8(ptr0 + 24, 0, true);
9802
- } else {
9803
- const e = variant13;
9804
- dataView(memory0).setInt8(ptr0 + 24, 1, true);
9805
- var vec12 = e;
9806
- var len12 = vec12.length;
9807
- var result12 = realloc1(0, 0, 4, len12 * 16);
9808
- for (let i = 0; i < vec12.length; i++) {
9809
- const e = vec12[i];
9810
- const base = result12 + i * 16;var [tuple9_0, tuple9_1] = e;
9811
-
9812
- var encodeRes = _utf8AllocateAndEncode(tuple9_0, realloc1, memory0);
9813
- var ptr10= encodeRes.ptr;
9814
- var len10 = encodeRes.len;
9815
-
9816
- dataView(memory0).setUint32(base + 4, len10, true);
9817
- dataView(memory0).setUint32(base + 0, ptr10, true);
9818
-
9819
- var encodeRes = _utf8AllocateAndEncode(tuple9_1, realloc1, memory0);
9820
- var ptr11= encodeRes.ptr;
9821
- var len11 = encodeRes.len;
9822
-
9823
- dataView(memory0).setUint32(base + 12, len11, true);
9824
- dataView(memory0).setUint32(base + 8, ptr11, true);
9825
- }
9826
- dataView(memory0).setUint32(ptr0 + 32, len12, true);
9827
- dataView(memory0).setUint32(ptr0 + 28, result12, true);
9828
- }
9829
- var variant14 = v2_5;
9830
- if (variant14 === null || variant14=== undefined) {
9831
- dataView(memory0).setInt8(ptr0 + 36, 0, true);
9832
- } else {
9833
- const e = variant14;
9834
- dataView(memory0).setInt8(ptr0 + 36, 1, true);
9835
- dataView(memory0).setInt8(ptr0 + 37, e ? 1 : 0, true);
9836
- }
9837
- var variant15 = v2_6;
9838
- if (variant15 === null || variant15=== undefined) {
9839
- dataView(memory0).setInt8(ptr0 + 38, 0, true);
9840
- } else {
9841
- const e = variant15;
9842
- dataView(memory0).setInt8(ptr0 + 38, 1, true);
9843
- dataView(memory0).setInt8(ptr0 + 39, e ? 1 : 0, true);
9844
- }
9845
- var variant16 = v2_7;
9846
- if (variant16 === null || variant16=== undefined) {
9847
- dataView(memory0).setInt8(ptr0 + 40, 0, true);
9848
- } else {
9849
- const e = variant16;
9850
- dataView(memory0).setInt8(ptr0 + 40, 1, true);
9851
- dataView(memory0).setInt32(ptr0 + 44, toUint32(e), true);
9852
- }
9853
- var variant17 = v2_8;
9854
- if (variant17 === null || variant17=== undefined) {
9855
- dataView(memory0).setInt8(ptr0 + 48, 0, true);
9856
- } else {
9857
- const e = variant17;
9858
- dataView(memory0).setInt8(ptr0 + 48, 1, true);
9859
- dataView(memory0).setInt8(ptr0 + 49, e ? 1 : 0, true);
9860
- }
9861
- var variant18 = v2_9;
9862
- if (variant18 === null || variant18=== undefined) {
9863
- dataView(memory0).setInt8(ptr0 + 50, 0, true);
9864
- } else {
9865
- const e = variant18;
9866
- dataView(memory0).setInt8(ptr0 + 50, 1, true);
9867
- dataView(memory0).setInt8(ptr0 + 51, e ? 1 : 0, true);
9868
- }
9869
- var variant19 = v2_10;
9870
- if (variant19 === null || variant19=== undefined) {
9871
- dataView(memory0).setInt8(ptr0 + 52, 0, true);
9872
- } else {
9873
- const e = variant19;
9874
- dataView(memory0).setInt8(ptr0 + 52, 1, true);
9875
- dataView(memory0).setInt8(ptr0 + 53, e ? 1 : 0, true);
9876
- }
9877
- var variant20 = v2_11;
9878
- if (variant20 === null || variant20=== undefined) {
9879
- dataView(memory0).setInt8(ptr0 + 54, 0, true);
9880
- } else {
9881
- const e = variant20;
9882
- dataView(memory0).setInt8(ptr0 + 54, 1, true);
9883
- dataView(memory0).setInt8(ptr0 + 55, e ? 1 : 0, true);
9884
- }
9885
- var variant21 = v2_12;
9886
- if (variant21 === null || variant21=== undefined) {
9887
- dataView(memory0).setInt8(ptr0 + 56, 0, true);
9888
- } else {
9889
- const e = variant21;
9890
- dataView(memory0).setInt8(ptr0 + 56, 1, true);
9891
- dataView(memory0).setInt8(ptr0 + 57, e ? 1 : 0, true);
9892
- }
9893
- var variant22 = v2_13;
9894
- if (variant22 === null || variant22=== undefined) {
9895
- dataView(memory0).setInt8(ptr0 + 58, 0, true);
9896
- } else {
9897
- const e = variant22;
9898
- dataView(memory0).setInt8(ptr0 + 58, 1, true);
9899
- dataView(memory0).setInt8(ptr0 + 59, e ? 1 : 0, true);
9900
- }
9901
- var variant29 = v2_14;
9902
- if (variant29 === null || variant29=== undefined) {
9903
- dataView(memory0).setInt8(ptr0 + 60, 0, true);
9904
- } else {
9905
- const e = variant29;
9906
- dataView(memory0).setInt8(ptr0 + 60, 1, true);
9907
- var variant28 = e;
9908
- switch (variant28.tag) {
9909
- case 'sync': {
9910
- dataView(memory0).setInt8(ptr0 + 64, 0, true);
9911
- break;
9912
- }
9913
- case 'jspi': {
9914
- const e = variant28.val;
9915
- dataView(memory0).setInt8(ptr0 + 64, 1, true);
9916
- var {imports: v23_0, exports: v23_1 } = e;
9917
- var vec25 = v23_0;
9918
- var len25 = vec25.length;
9919
- var result25 = realloc1(0, 0, 4, len25 * 8);
9920
- for (let i = 0; i < vec25.length; i++) {
9921
- const e = vec25[i];
9922
- const base = result25 + i * 8;
9923
- var encodeRes = _utf8AllocateAndEncode(e, realloc1, memory0);
9924
- var ptr24= encodeRes.ptr;
9925
- var len24 = encodeRes.len;
9926
-
9927
- dataView(memory0).setUint32(base + 4, len24, true);
9928
- dataView(memory0).setUint32(base + 0, ptr24, true);
9929
- }
9930
- dataView(memory0).setUint32(ptr0 + 72, len25, true);
9931
- dataView(memory0).setUint32(ptr0 + 68, result25, true);
9932
- var vec27 = v23_1;
9933
- var len27 = vec27.length;
9934
- var result27 = realloc1(0, 0, 4, len27 * 8);
9935
- for (let i = 0; i < vec27.length; i++) {
9936
- const e = vec27[i];
9937
- const base = result27 + i * 8;
9938
- var encodeRes = _utf8AllocateAndEncode(e, realloc1, memory0);
9939
- var ptr26= encodeRes.ptr;
9940
- var len26 = encodeRes.len;
9941
-
9942
- dataView(memory0).setUint32(base + 4, len26, true);
9943
- dataView(memory0).setUint32(base + 0, ptr26, true);
9944
- }
9945
- dataView(memory0).setUint32(ptr0 + 80, len27, true);
9946
- dataView(memory0).setUint32(ptr0 + 76, result27, true);
9947
- break;
9948
- }
9949
- default: {
9950
- throw new TypeError(`invalid variant tag value \`${JSON.stringify(variant28.tag)}\` (received \`${variant28}\`) specified for \`AsyncMode\``);
9951
- }
9952
- }
9953
- }
9954
- _debugLog('[iface="generate", function="generate"][Instruction::CallWasm] enter', {
9955
- funcName: 'generate',
9956
- paramCount: 1,
9957
- async: false,
9958
- postReturn: true,
9959
- });
9960
- const hostProvided = false;
9961
-
9962
- const [task, _wasm_call_currentTaskID] = createNewCurrentTask({
9963
- componentIdx: 0,
9964
- isAsync: false,
9965
- isManualAsync: false,
9966
- entryFnName: 'exports1Generate',
9967
- getCallbackFn: () => null,
9968
- callbackFnName: 'null',
9969
- errHandling: 'throw-result-err',
9970
- callingWasmExport: true,
9971
- });
9972
-
9973
- const started = task.enterSync();
9974
- task.setReturnMemoryIdx(0);
9975
- task.setReturnMemory(memory0);
9976
- let ret = _withGlobalCurrentTaskMeta({
9977
- taskID: task.id(),
9978
- componentIdx: task.componentIdx(),
9979
- fn: () => exports1Generate(ptr0),
9980
- });
9981
-
9982
- let variant39;
9983
- switch (dataView(memory0).getUint8(ret + 0, true)) {
9984
- case 0: {
9985
- var len32 = dataView(memory0).getUint32(ret + 8, true);
9986
- var base32 = dataView(memory0).getUint32(ret + 4, true);
9987
- var result32 = [];
9988
- for (let i = 0; i < len32; i++) {
9989
- const base = base32 + i * 16;
9990
- var ptr30 = dataView(memory0).getUint32(base + 0, true);
9991
- var len30 = dataView(memory0).getUint32(base + 4, true);
9992
- var result30 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr30, len30));
9993
- var ptr31 = dataView(memory0).getUint32(base + 8, true);
9994
- var len31 = dataView(memory0).getUint32(base + 12, true);
9995
- var result31 = new Uint8Array(memory0.buffer.slice(ptr31, ptr31 + len31 * 1));
9996
- result32.push([result30, result31]);
9997
- }
9998
- var len34 = dataView(memory0).getUint32(ret + 16, true);
9999
- var base34 = dataView(memory0).getUint32(ret + 12, true);
10000
- var result34 = [];
10001
- for (let i = 0; i < len34; i++) {
10002
- const base = base34 + i * 8;
10003
- var ptr33 = dataView(memory0).getUint32(base + 0, true);
10004
- var len33 = dataView(memory0).getUint32(base + 4, true);
10005
- var result33 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr33, len33));
10006
- result34.push(result33);
10007
- }
10008
- var len37 = dataView(memory0).getUint32(ret + 24, true);
10009
- var base37 = dataView(memory0).getUint32(ret + 20, true);
10010
- var result37 = [];
10011
- for (let i = 0; i < len37; i++) {
10012
- const base = base37 + i * 12;
10013
- var ptr35 = dataView(memory0).getUint32(base + 0, true);
10014
- var len35 = dataView(memory0).getUint32(base + 4, true);
10015
- var result35 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr35, len35));
10016
- let enum36;
10017
- switch (dataView(memory0).getUint8(base + 8, true)) {
10018
- case 0: {
10019
- enum36 = 'function';
10020
- break;
10021
- }
10022
- case 1: {
10023
- enum36 = 'instance';
10024
- break;
10025
- }
10026
- default: {
10027
- throw new TypeError('invalid discriminant specified for ExportType');
10028
- }
10029
- }
10030
- result37.push([result35, enum36]);
10031
- }
10032
- variant39= {
10033
- tag: 'ok',
10034
- val: {
10035
- files: result32,
10036
- imports: result34,
10037
- exports: result37,
10038
- }
10039
- };
10040
- break;
10041
- }
10042
- case 1: {
10043
- var ptr38 = dataView(memory0).getUint32(ret + 4, true);
10044
- var len38 = dataView(memory0).getUint32(ret + 8, true);
10045
- var result38 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr38, len38));
10046
- variant39= {
10047
- tag: 'err',
10048
- val: result38
10049
- };
10050
- break;
10051
- }
10052
- default: {
10053
- throw new TypeError('invalid variant discriminant for expected');
8848
+ _debugLog('[iface="generate", function="generate"][Instruction::CallWasm] enter', {
8849
+ funcName: 'generate',
8850
+ paramCount: 1,
8851
+ async: false,
8852
+ postReturn: true,
8853
+ });
8854
+ const hostProvided = false;
8855
+
8856
+ const [task, _wasm_call_currentTaskID] = createNewCurrentTask({
8857
+ componentIdx: 0,
8858
+ isAsync: false,
8859
+ isManualAsync: false,
8860
+ entryFnName: 'exports1Generate',
8861
+ getCallbackFn: () => null,
8862
+ callbackFnName: 'null',
8863
+ errHandling: 'throw-result-err',
8864
+ callingWasmExport: true,
8865
+ });
8866
+
8867
+ const started = task.enterSync();
8868
+ task.setReturnMemoryIdx(0);
8869
+ task.setReturnMemory(memory0);
8870
+ let ret = _withGlobalCurrentTaskMeta({
8871
+ taskID: task.id(),
8872
+ componentIdx: task.componentIdx(),
8873
+ fn: () => exports1Generate(ptr0),
8874
+ });
8875
+
8876
+ let variant39;
8877
+ switch (dataView(memory0).getUint8(ret + 0, true)) {
8878
+ case 0: {
8879
+ var len32 = dataView(memory0).getUint32(ret + 8, true);
8880
+ var base32 = dataView(memory0).getUint32(ret + 4, true);
8881
+ var result32 = [];
8882
+ for (let i = 0; i < len32; i++) {
8883
+ const base = base32 + i * 16;
8884
+ var ptr30 = dataView(memory0).getUint32(base + 0, true);
8885
+ var len30 = dataView(memory0).getUint32(base + 4, true);
8886
+ var result30 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr30, len30));
8887
+ var ptr31 = dataView(memory0).getUint32(base + 8, true);
8888
+ var len31 = dataView(memory0).getUint32(base + 12, true);
8889
+ var result31 = new Uint8Array(memory0.buffer.slice(ptr31, ptr31 + len31 * 1));
8890
+ result32.push([result30, result31]);
8891
+ }
8892
+ var len34 = dataView(memory0).getUint32(ret + 16, true);
8893
+ var base34 = dataView(memory0).getUint32(ret + 12, true);
8894
+ var result34 = [];
8895
+ for (let i = 0; i < len34; i++) {
8896
+ const base = base34 + i * 8;
8897
+ var ptr33 = dataView(memory0).getUint32(base + 0, true);
8898
+ var len33 = dataView(memory0).getUint32(base + 4, true);
8899
+ var result33 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr33, len33));
8900
+ result34.push(result33);
8901
+ }
8902
+ var len37 = dataView(memory0).getUint32(ret + 24, true);
8903
+ var base37 = dataView(memory0).getUint32(ret + 20, true);
8904
+ var result37 = [];
8905
+ for (let i = 0; i < len37; i++) {
8906
+ const base = base37 + i * 12;
8907
+ var ptr35 = dataView(memory0).getUint32(base + 0, true);
8908
+ var len35 = dataView(memory0).getUint32(base + 4, true);
8909
+ var result35 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr35, len35));
8910
+ let enum36;
8911
+ switch (dataView(memory0).getUint8(base + 8, true)) {
8912
+ case 0: {
8913
+ enum36 = 'function';
8914
+ break;
8915
+ }
8916
+ case 1: {
8917
+ enum36 = 'instance';
8918
+ break;
8919
+ }
8920
+ default: {
8921
+ throw new TypeError('invalid discriminant specified for ExportType');
8922
+ }
8923
+ }
8924
+ result37.push([result35, enum36]);
8925
+ }
8926
+ variant39= {
8927
+ tag: 'ok',
8928
+ val: {
8929
+ files: result32,
8930
+ imports: result34,
8931
+ exports: result37,
8932
+ }
8933
+ };
8934
+ break;
8935
+ }
8936
+ case 1: {
8937
+ var ptr38 = dataView(memory0).getUint32(ret + 4, true);
8938
+ var len38 = dataView(memory0).getUint32(ret + 8, true);
8939
+ var result38 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr38, len38));
8940
+ variant39= {
8941
+ tag: 'err',
8942
+ val: result38
8943
+ };
8944
+ break;
8945
+ }
8946
+ default: {
8947
+ throw new TypeError('invalid variant discriminant for expected');
10054
8948
  }
10055
8949
  }
10056
8950
  _debugLog('[iface="generate", function="generate"][Instruction::Return]', {
@@ -10405,6 +9299,1170 @@ function generateTypes(arg0, arg1) {
10405
9299
  return retCopy.val;
10406
9300
 
10407
9301
  }
9302
+ function trampoline0(handle) {
9303
+ const handleEntry = rscTableRemove(handleTable5, handle);
9304
+ if (handleEntry.own) {
9305
+
9306
+ const rsc = captureTable5.get(handleEntry.rep);
9307
+ if (rsc) {
9308
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9309
+ captureTable5.delete(handleEntry.rep);
9310
+ } else if (DirectoryEntryStream[symbolCabiDispose]) {
9311
+ DirectoryEntryStream[symbolCabiDispose](handleEntry.rep);
9312
+ }
9313
+ }
9314
+ }
9315
+ function trampoline1(handle) {
9316
+ const handleEntry = rscTableRemove(handleTable2, handle);
9317
+ if (handleEntry.own) {
9318
+
9319
+ const rsc = captureTable2.get(handleEntry.rep);
9320
+ if (rsc) {
9321
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9322
+ captureTable2.delete(handleEntry.rep);
9323
+ } else if (OutputStream[symbolCabiDispose]) {
9324
+ OutputStream[symbolCabiDispose](handleEntry.rep);
9325
+ }
9326
+ }
9327
+ }
9328
+ function trampoline2(handle) {
9329
+ const handleEntry = rscTableRemove(handleTable0, handle);
9330
+ if (handleEntry.own) {
9331
+
9332
+ const rsc = captureTable0.get(handleEntry.rep);
9333
+ if (rsc) {
9334
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9335
+ captureTable0.delete(handleEntry.rep);
9336
+ } else if (Error$1[symbolCabiDispose]) {
9337
+ Error$1[symbolCabiDispose](handleEntry.rep);
9338
+ }
9339
+ }
9340
+ }
9341
+ function trampoline3(handle) {
9342
+ const handleEntry = rscTableRemove(handleTable1, handle);
9343
+ if (handleEntry.own) {
9344
+
9345
+ const rsc = captureTable1.get(handleEntry.rep);
9346
+ if (rsc) {
9347
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9348
+ captureTable1.delete(handleEntry.rep);
9349
+ } else if (InputStream[symbolCabiDispose]) {
9350
+ InputStream[symbolCabiDispose](handleEntry.rep);
9351
+ }
9352
+ }
9353
+ }
9354
+ function trampoline4(handle) {
9355
+ const handleEntry = rscTableRemove(handleTable6, handle);
9356
+ if (handleEntry.own) {
9357
+
9358
+ const rsc = captureTable6.get(handleEntry.rep);
9359
+ if (rsc) {
9360
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9361
+ captureTable6.delete(handleEntry.rep);
9362
+ } else if (Descriptor[symbolCabiDispose]) {
9363
+ Descriptor[symbolCabiDispose](handleEntry.rep);
9364
+ }
9365
+ }
9366
+ }
9367
+ let trampoline5 = _trampoline5.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9368
+ null,
9369
+ {
9370
+ trampolineIdx: 5,
9371
+ componentIdx: 0,
9372
+ isAsync: false,
9373
+ isManualAsync: _trampoline5.manuallyAsync,
9374
+ paramLiftFns: [],
9375
+ resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
9376
+ funcTypeIsAsync: false,
9377
+ getCallbackFn: () => null,
9378
+ getPostReturnFn: () => null,
9379
+ isCancellable: false,
9380
+ memoryIdx: null,
9381
+ getMemoryFn: () => null,
9382
+ getReallocFn: () => null,
9383
+ importFn: _trampoline5,
9384
+ },
9385
+ )) : _lowerImportBackwardsCompat.bind(
9386
+ null,
9387
+ {
9388
+ trampolineIdx: 5,
9389
+ componentIdx: 0,
9390
+ isAsync: false,
9391
+ isManualAsync: _trampoline5.manuallyAsync,
9392
+ paramLiftFns: [],
9393
+ resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
9394
+ funcTypeIsAsync: false,
9395
+ getCallbackFn: () => null,
9396
+ getPostReturnFn: () => null,
9397
+ isCancellable: false,
9398
+ memoryIdx: null,
9399
+ getMemoryFn: () => null,
9400
+ getReallocFn: () => null,
9401
+ importFn: _trampoline5,
9402
+ },
9403
+ );
9404
+ function trampoline6(handle) {
9405
+ const handleEntry = rscTableRemove(handleTable3, handle);
9406
+ if (handleEntry.own) {
9407
+
9408
+ const rsc = captureTable3.get(handleEntry.rep);
9409
+ if (rsc) {
9410
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9411
+ captureTable3.delete(handleEntry.rep);
9412
+ } else if (TerminalInput[symbolCabiDispose]) {
9413
+ TerminalInput[symbolCabiDispose](handleEntry.rep);
9414
+ }
9415
+ }
9416
+ }
9417
+ function trampoline7(handle) {
9418
+ const handleEntry = rscTableRemove(handleTable4, handle);
9419
+ if (handleEntry.own) {
9420
+
9421
+ const rsc = captureTable4.get(handleEntry.rep);
9422
+ if (rsc) {
9423
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9424
+ captureTable4.delete(handleEntry.rep);
9425
+ } else if (TerminalOutput[symbolCabiDispose]) {
9426
+ TerminalOutput[symbolCabiDispose](handleEntry.rep);
9427
+ }
9428
+ }
9429
+ }
9430
+ let trampoline8 = _trampoline8.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9431
+ null,
9432
+ {
9433
+ trampolineIdx: 8,
9434
+ componentIdx: 0,
9435
+ isAsync: false,
9436
+ isManualAsync: _trampoline8.manuallyAsync,
9437
+ paramLiftFns: [],
9438
+ resultLowerFns: [_lowerFlatOwn.bind(null, 1)],
9439
+ funcTypeIsAsync: false,
9440
+ getCallbackFn: () => null,
9441
+ getPostReturnFn: () => null,
9442
+ isCancellable: false,
9443
+ memoryIdx: null,
9444
+ getMemoryFn: () => null,
9445
+ getReallocFn: () => null,
9446
+ importFn: _trampoline8,
9447
+ },
9448
+ )) : _lowerImportBackwardsCompat.bind(
9449
+ null,
9450
+ {
9451
+ trampolineIdx: 8,
9452
+ componentIdx: 0,
9453
+ isAsync: false,
9454
+ isManualAsync: _trampoline8.manuallyAsync,
9455
+ paramLiftFns: [],
9456
+ resultLowerFns: [_lowerFlatOwn.bind(null, 1)],
9457
+ funcTypeIsAsync: false,
9458
+ getCallbackFn: () => null,
9459
+ getPostReturnFn: () => null,
9460
+ isCancellable: false,
9461
+ memoryIdx: null,
9462
+ getMemoryFn: () => null,
9463
+ getReallocFn: () => null,
9464
+ importFn: _trampoline8,
9465
+ },
9466
+ );
9467
+ let trampoline9 = _trampoline9.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9468
+ null,
9469
+ {
9470
+ trampolineIdx: 9,
9471
+ componentIdx: 0,
9472
+ isAsync: false,
9473
+ isManualAsync: _trampoline9.manuallyAsync,
9474
+ paramLiftFns: [],
9475
+ resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
9476
+ funcTypeIsAsync: false,
9477
+ getCallbackFn: () => null,
9478
+ getPostReturnFn: () => null,
9479
+ isCancellable: false,
9480
+ memoryIdx: null,
9481
+ getMemoryFn: () => null,
9482
+ getReallocFn: () => null,
9483
+ importFn: _trampoline9,
9484
+ },
9485
+ )) : _lowerImportBackwardsCompat.bind(
9486
+ null,
9487
+ {
9488
+ trampolineIdx: 9,
9489
+ componentIdx: 0,
9490
+ isAsync: false,
9491
+ isManualAsync: _trampoline9.manuallyAsync,
9492
+ paramLiftFns: [],
9493
+ resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
9494
+ funcTypeIsAsync: false,
9495
+ getCallbackFn: () => null,
9496
+ getPostReturnFn: () => null,
9497
+ isCancellable: false,
9498
+ memoryIdx: null,
9499
+ getMemoryFn: () => null,
9500
+ getReallocFn: () => null,
9501
+ importFn: _trampoline9,
9502
+ },
9503
+ );
9504
+ let trampoline10 = _trampoline10.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9505
+ null,
9506
+ {
9507
+ trampolineIdx: 10,
9508
+ componentIdx: 0,
9509
+ isAsync: false,
9510
+ isManualAsync: _trampoline10.manuallyAsync,
9511
+ paramLiftFns: [_liftFlatResult([['ok', null, 0, 0, 0],['err', null, 0, 0, 0],])],
9512
+ resultLowerFns: [],
9513
+ funcTypeIsAsync: false,
9514
+ getCallbackFn: () => null,
9515
+ getPostReturnFn: () => null,
9516
+ isCancellable: false,
9517
+ memoryIdx: null,
9518
+ getMemoryFn: () => null,
9519
+ getReallocFn: () => null,
9520
+ importFn: _trampoline10,
9521
+ },
9522
+ )) : _lowerImportBackwardsCompat.bind(
9523
+ null,
9524
+ {
9525
+ trampolineIdx: 10,
9526
+ componentIdx: 0,
9527
+ isAsync: false,
9528
+ isManualAsync: _trampoline10.manuallyAsync,
9529
+ paramLiftFns: [_liftFlatResult([['ok', null, 0, 0, 0],['err', null, 0, 0, 0],])],
9530
+ resultLowerFns: [],
9531
+ funcTypeIsAsync: false,
9532
+ getCallbackFn: () => null,
9533
+ getPostReturnFn: () => null,
9534
+ isCancellable: false,
9535
+ memoryIdx: null,
9536
+ getMemoryFn: () => null,
9537
+ getReallocFn: () => null,
9538
+ importFn: _trampoline10,
9539
+ },
9540
+ );
9541
+ let trampoline11 = _trampoline11.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9542
+ null,
9543
+ {
9544
+ trampolineIdx: 11,
9545
+ componentIdx: 0,
9546
+ isAsync: false,
9547
+ isManualAsync: _trampoline11.manuallyAsync,
9548
+ paramLiftFns: [],
9549
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 0), typeIdx: 0 })],
9550
+ funcTypeIsAsync: false,
9551
+ getCallbackFn: () => null,
9552
+ getPostReturnFn: () => null,
9553
+ isCancellable: false,
9554
+ memoryIdx: 0,
9555
+ getMemoryFn: () => memory0,
9556
+ getReallocFn: () => realloc0,
9557
+ importFn: _trampoline11,
9558
+ },
9559
+ )) : _lowerImportBackwardsCompat.bind(
9560
+ null,
9561
+ {
9562
+ trampolineIdx: 11,
9563
+ componentIdx: 0,
9564
+ isAsync: false,
9565
+ isManualAsync: _trampoline11.manuallyAsync,
9566
+ paramLiftFns: [],
9567
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 0), typeIdx: 0 })],
9568
+ funcTypeIsAsync: false,
9569
+ getCallbackFn: () => null,
9570
+ getPostReturnFn: () => null,
9571
+ isCancellable: false,
9572
+ memoryIdx: 0,
9573
+ getMemoryFn: () => memory0,
9574
+ getReallocFn: () => realloc0,
9575
+ importFn: _trampoline11,
9576
+ },
9577
+ );
9578
+ let trampoline12 = _trampoline12.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9579
+ null,
9580
+ {
9581
+ trampolineIdx: 12,
9582
+ componentIdx: 0,
9583
+ isAsync: false,
9584
+ isManualAsync: _trampoline12.manuallyAsync,
9585
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9586
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatFlags.bind(null, 0), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
9587
+ funcTypeIsAsync: false,
9588
+ getCallbackFn: () => null,
9589
+ getPostReturnFn: () => null,
9590
+ isCancellable: false,
9591
+ memoryIdx: 0,
9592
+ getMemoryFn: () => memory0,
9593
+ getReallocFn: () => null,
9594
+ importFn: _trampoline12,
9595
+ },
9596
+ )) : _lowerImportBackwardsCompat.bind(
9597
+ null,
9598
+ {
9599
+ trampolineIdx: 12,
9600
+ componentIdx: 0,
9601
+ isAsync: false,
9602
+ isManualAsync: _trampoline12.manuallyAsync,
9603
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9604
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatFlags.bind(null, 0), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
9605
+ funcTypeIsAsync: false,
9606
+ getCallbackFn: () => null,
9607
+ getPostReturnFn: () => null,
9608
+ isCancellable: false,
9609
+ memoryIdx: 0,
9610
+ getMemoryFn: () => memory0,
9611
+ getReallocFn: () => null,
9612
+ importFn: _trampoline12,
9613
+ },
9614
+ );
9615
+ let trampoline13 = _trampoline13.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9616
+ null,
9617
+ {
9618
+ trampolineIdx: 13,
9619
+ componentIdx: 0,
9620
+ isAsync: false,
9621
+ isManualAsync: _trampoline13.manuallyAsync,
9622
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9623
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatEnum.bind(null, 1), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
9624
+ funcTypeIsAsync: false,
9625
+ getCallbackFn: () => null,
9626
+ getPostReturnFn: () => null,
9627
+ isCancellable: false,
9628
+ memoryIdx: 0,
9629
+ getMemoryFn: () => memory0,
9630
+ getReallocFn: () => null,
9631
+ importFn: _trampoline13,
9632
+ },
9633
+ )) : _lowerImportBackwardsCompat.bind(
9634
+ null,
9635
+ {
9636
+ trampolineIdx: 13,
9637
+ componentIdx: 0,
9638
+ isAsync: false,
9639
+ isManualAsync: _trampoline13.manuallyAsync,
9640
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9641
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatEnum.bind(null, 1), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
9642
+ funcTypeIsAsync: false,
9643
+ getCallbackFn: () => null,
9644
+ getPostReturnFn: () => null,
9645
+ isCancellable: false,
9646
+ memoryIdx: 0,
9647
+ getMemoryFn: () => memory0,
9648
+ getReallocFn: () => null,
9649
+ importFn: _trampoline13,
9650
+ },
9651
+ );
9652
+ let trampoline14 = _trampoline14.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9653
+ null,
9654
+ {
9655
+ trampolineIdx: 14,
9656
+ componentIdx: 0,
9657
+ isAsync: false,
9658
+ isManualAsync: _trampoline14.manuallyAsync,
9659
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9660
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['lower', _lowerFlatU64, 16, 8 ],['upper', _lowerFlatU64, 16, 8 ],]), 24, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 24, 8, 8 ],])],
9661
+ funcTypeIsAsync: false,
9662
+ getCallbackFn: () => null,
9663
+ getPostReturnFn: () => null,
9664
+ isCancellable: false,
9665
+ memoryIdx: 0,
9666
+ getMemoryFn: () => memory0,
9667
+ getReallocFn: () => null,
9668
+ importFn: _trampoline14,
9669
+ },
9670
+ )) : _lowerImportBackwardsCompat.bind(
9671
+ null,
9672
+ {
9673
+ trampolineIdx: 14,
9674
+ componentIdx: 0,
9675
+ isAsync: false,
9676
+ isManualAsync: _trampoline14.manuallyAsync,
9677
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9678
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['lower', _lowerFlatU64, 16, 8 ],['upper', _lowerFlatU64, 16, 8 ],]), 24, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 24, 8, 8 ],])],
9679
+ funcTypeIsAsync: false,
9680
+ getCallbackFn: () => null,
9681
+ getPostReturnFn: () => null,
9682
+ isCancellable: false,
9683
+ memoryIdx: 0,
9684
+ getMemoryFn: () => memory0,
9685
+ getReallocFn: () => null,
9686
+ importFn: _trampoline14,
9687
+ },
9688
+ );
9689
+ let trampoline15 = _trampoline15.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9690
+ null,
9691
+ {
9692
+ trampolineIdx: 15,
9693
+ componentIdx: 0,
9694
+ isAsync: false,
9695
+ isManualAsync: _trampoline15.manuallyAsync,
9696
+ paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
9697
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],[ 'none', null, 2, 1, 1 ],])],
9698
+ funcTypeIsAsync: false,
9699
+ getCallbackFn: () => null,
9700
+ getPostReturnFn: () => null,
9701
+ isCancellable: false,
9702
+ memoryIdx: 0,
9703
+ getMemoryFn: () => memory0,
9704
+ getReallocFn: () => null,
9705
+ importFn: _trampoline15,
9706
+ },
9707
+ )) : _lowerImportBackwardsCompat.bind(
9708
+ null,
9709
+ {
9710
+ trampolineIdx: 15,
9711
+ componentIdx: 0,
9712
+ isAsync: false,
9713
+ isManualAsync: _trampoline15.manuallyAsync,
9714
+ paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
9715
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],[ 'none', null, 2, 1, 1 ],])],
9716
+ funcTypeIsAsync: false,
9717
+ getCallbackFn: () => null,
9718
+ getPostReturnFn: () => null,
9719
+ isCancellable: false,
9720
+ memoryIdx: 0,
9721
+ getMemoryFn: () => memory0,
9722
+ getReallocFn: () => null,
9723
+ importFn: _trampoline15,
9724
+ },
9725
+ );
9726
+ let trampoline16 = _trampoline16.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9727
+ null,
9728
+ {
9729
+ trampolineIdx: 16,
9730
+ componentIdx: 0,
9731
+ isAsync: false,
9732
+ isManualAsync: _trampoline16.manuallyAsync,
9733
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9734
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['lower', _lowerFlatU64, 16, 8 ],['upper', _lowerFlatU64, 16, 8 ],]), 24, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 24, 8, 8 ],])],
9735
+ funcTypeIsAsync: false,
9736
+ getCallbackFn: () => null,
9737
+ getPostReturnFn: () => null,
9738
+ isCancellable: false,
9739
+ memoryIdx: 0,
9740
+ getMemoryFn: () => memory0,
9741
+ getReallocFn: () => null,
9742
+ importFn: _trampoline16,
9743
+ },
9744
+ )) : _lowerImportBackwardsCompat.bind(
9745
+ null,
9746
+ {
9747
+ trampolineIdx: 16,
9748
+ componentIdx: 0,
9749
+ isAsync: false,
9750
+ isManualAsync: _trampoline16.manuallyAsync,
9751
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9752
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['lower', _lowerFlatU64, 16, 8 ],['upper', _lowerFlatU64, 16, 8 ],]), 24, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 24, 8, 8 ],])],
9753
+ funcTypeIsAsync: false,
9754
+ getCallbackFn: () => null,
9755
+ getPostReturnFn: () => null,
9756
+ isCancellable: false,
9757
+ memoryIdx: 0,
9758
+ getMemoryFn: () => memory0,
9759
+ getReallocFn: () => null,
9760
+ importFn: _trampoline16,
9761
+ },
9762
+ );
9763
+ let trampoline17 = _trampoline17.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9764
+ null,
9765
+ {
9766
+ trampolineIdx: 17,
9767
+ componentIdx: 0,
9768
+ isAsync: false,
9769
+ isManualAsync: _trampoline17.manuallyAsync,
9770
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9771
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 1), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9772
+ funcTypeIsAsync: false,
9773
+ getCallbackFn: () => null,
9774
+ getPostReturnFn: () => null,
9775
+ isCancellable: false,
9776
+ memoryIdx: 0,
9777
+ getMemoryFn: () => memory0,
9778
+ getReallocFn: () => null,
9779
+ importFn: _trampoline17,
9780
+ },
9781
+ )) : _lowerImportBackwardsCompat.bind(
9782
+ null,
9783
+ {
9784
+ trampolineIdx: 17,
9785
+ componentIdx: 0,
9786
+ isAsync: false,
9787
+ isManualAsync: _trampoline17.manuallyAsync,
9788
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9789
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 1), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9790
+ funcTypeIsAsync: false,
9791
+ getCallbackFn: () => null,
9792
+ getPostReturnFn: () => null,
9793
+ isCancellable: false,
9794
+ memoryIdx: 0,
9795
+ getMemoryFn: () => memory0,
9796
+ getReallocFn: () => null,
9797
+ importFn: _trampoline17,
9798
+ },
9799
+ );
9800
+ let trampoline18 = _trampoline18.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9801
+ null,
9802
+ {
9803
+ trampolineIdx: 18,
9804
+ componentIdx: 0,
9805
+ isAsync: false,
9806
+ isManualAsync: _trampoline18.manuallyAsync,
9807
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9808
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9809
+ funcTypeIsAsync: false,
9810
+ getCallbackFn: () => null,
9811
+ getPostReturnFn: () => null,
9812
+ isCancellable: false,
9813
+ memoryIdx: 0,
9814
+ getMemoryFn: () => memory0,
9815
+ getReallocFn: () => null,
9816
+ importFn: _trampoline18,
9817
+ },
9818
+ )) : _lowerImportBackwardsCompat.bind(
9819
+ null,
9820
+ {
9821
+ trampolineIdx: 18,
9822
+ componentIdx: 0,
9823
+ isAsync: false,
9824
+ isManualAsync: _trampoline18.manuallyAsync,
9825
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9826
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9827
+ funcTypeIsAsync: false,
9828
+ getCallbackFn: () => null,
9829
+ getPostReturnFn: () => null,
9830
+ isCancellable: false,
9831
+ memoryIdx: 0,
9832
+ getMemoryFn: () => memory0,
9833
+ getReallocFn: () => null,
9834
+ importFn: _trampoline18,
9835
+ },
9836
+ );
9837
+ let trampoline19 = _trampoline19.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9838
+ null,
9839
+ {
9840
+ trampolineIdx: 19,
9841
+ componentIdx: 0,
9842
+ isAsync: false,
9843
+ isManualAsync: _trampoline19.manuallyAsync,
9844
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9845
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9846
+ funcTypeIsAsync: false,
9847
+ getCallbackFn: () => null,
9848
+ getPostReturnFn: () => null,
9849
+ isCancellable: false,
9850
+ memoryIdx: 0,
9851
+ getMemoryFn: () => memory0,
9852
+ getReallocFn: () => null,
9853
+ importFn: _trampoline19,
9854
+ },
9855
+ )) : _lowerImportBackwardsCompat.bind(
9856
+ null,
9857
+ {
9858
+ trampolineIdx: 19,
9859
+ componentIdx: 0,
9860
+ isAsync: false,
9861
+ isManualAsync: _trampoline19.manuallyAsync,
9862
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9863
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9864
+ funcTypeIsAsync: false,
9865
+ getCallbackFn: () => null,
9866
+ getPostReturnFn: () => null,
9867
+ isCancellable: false,
9868
+ memoryIdx: 0,
9869
+ getMemoryFn: () => memory0,
9870
+ getReallocFn: () => null,
9871
+ importFn: _trampoline19,
9872
+ },
9873
+ );
9874
+ let trampoline20 = _trampoline20.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9875
+ null,
9876
+ {
9877
+ trampolineIdx: 20,
9878
+ componentIdx: 0,
9879
+ isAsync: false,
9880
+ isManualAsync: _trampoline20.manuallyAsync,
9881
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9882
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 5), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9883
+ funcTypeIsAsync: false,
9884
+ getCallbackFn: () => null,
9885
+ getPostReturnFn: () => null,
9886
+ isCancellable: false,
9887
+ memoryIdx: 0,
9888
+ getMemoryFn: () => memory0,
9889
+ getReallocFn: () => null,
9890
+ importFn: _trampoline20,
9891
+ },
9892
+ )) : _lowerImportBackwardsCompat.bind(
9893
+ null,
9894
+ {
9895
+ trampolineIdx: 20,
9896
+ componentIdx: 0,
9897
+ isAsync: false,
9898
+ isManualAsync: _trampoline20.manuallyAsync,
9899
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9900
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 5), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9901
+ funcTypeIsAsync: false,
9902
+ getCallbackFn: () => null,
9903
+ getPostReturnFn: () => null,
9904
+ isCancellable: false,
9905
+ memoryIdx: 0,
9906
+ getMemoryFn: () => memory0,
9907
+ getReallocFn: () => null,
9908
+ importFn: _trampoline20,
9909
+ },
9910
+ );
9911
+ let trampoline21 = _trampoline21.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9912
+ null,
9913
+ {
9914
+ trampolineIdx: 21,
9915
+ componentIdx: 0,
9916
+ isAsync: false,
9917
+ isManualAsync: _trampoline21.manuallyAsync,
9918
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9919
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 96, 8 ],['linkCount', _lowerFlatU64, 96, 8 ],['size', _lowerFlatU64, 96, 8 ],['dataAccessTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['dataModificationTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['statusChangeTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],]), 104, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 104, 8, 8 ],])],
9920
+ funcTypeIsAsync: false,
9921
+ getCallbackFn: () => null,
9922
+ getPostReturnFn: () => null,
9923
+ isCancellable: false,
9924
+ memoryIdx: 0,
9925
+ getMemoryFn: () => memory0,
9926
+ getReallocFn: () => null,
9927
+ importFn: _trampoline21,
9928
+ },
9929
+ )) : _lowerImportBackwardsCompat.bind(
9930
+ null,
9931
+ {
9932
+ trampolineIdx: 21,
9933
+ componentIdx: 0,
9934
+ isAsync: false,
9935
+ isManualAsync: _trampoline21.manuallyAsync,
9936
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9937
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 96, 8 ],['linkCount', _lowerFlatU64, 96, 8 ],['size', _lowerFlatU64, 96, 8 ],['dataAccessTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['dataModificationTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['statusChangeTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],]), 104, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 104, 8, 8 ],])],
9938
+ funcTypeIsAsync: false,
9939
+ getCallbackFn: () => null,
9940
+ getPostReturnFn: () => null,
9941
+ isCancellable: false,
9942
+ memoryIdx: 0,
9943
+ getMemoryFn: () => memory0,
9944
+ getReallocFn: () => null,
9945
+ importFn: _trampoline21,
9946
+ },
9947
+ );
9948
+ let trampoline22 = _trampoline22.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9949
+ null,
9950
+ {
9951
+ trampolineIdx: 22,
9952
+ componentIdx: 0,
9953
+ isAsync: false,
9954
+ isManualAsync: _trampoline22.manuallyAsync,
9955
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9956
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 96, 8 ],['linkCount', _lowerFlatU64, 96, 8 ],['size', _lowerFlatU64, 96, 8 ],['dataAccessTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['dataModificationTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['statusChangeTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],]), 104, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 104, 8, 8 ],])],
9957
+ funcTypeIsAsync: false,
9958
+ getCallbackFn: () => null,
9959
+ getPostReturnFn: () => null,
9960
+ isCancellable: false,
9961
+ memoryIdx: 0,
9962
+ getMemoryFn: () => memory0,
9963
+ getReallocFn: () => null,
9964
+ importFn: _trampoline22,
9965
+ },
9966
+ )) : _lowerImportBackwardsCompat.bind(
9967
+ null,
9968
+ {
9969
+ trampolineIdx: 22,
9970
+ componentIdx: 0,
9971
+ isAsync: false,
9972
+ isManualAsync: _trampoline22.manuallyAsync,
9973
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9974
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 96, 8 ],['linkCount', _lowerFlatU64, 96, 8 ],['size', _lowerFlatU64, 96, 8 ],['dataAccessTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['dataModificationTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],['statusChangeTimestamp', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['seconds', _lowerFlatU64, 16, 8 ],['nanoseconds', _lowerFlatU32, 16, 8 ],]), 24, 8, 8 ],[ 'none', null, 24, 8, 8 ],]), 96, 8 ],]), 104, 8, 8 ],[ 'err', _lowerFlatEnum.bind(null, 0), 104, 8, 8 ],])],
9975
+ funcTypeIsAsync: false,
9976
+ getCallbackFn: () => null,
9977
+ getPostReturnFn: () => null,
9978
+ isCancellable: false,
9979
+ memoryIdx: 0,
9980
+ getMemoryFn: () => memory0,
9981
+ getReallocFn: () => null,
9982
+ importFn: _trampoline22,
9983
+ },
9984
+ );
9985
+ let trampoline23 = _trampoline23.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9986
+ null,
9987
+ {
9988
+ trampolineIdx: 23,
9989
+ componentIdx: 0,
9990
+ isAsync: false,
9991
+ isManualAsync: _trampoline23.manuallyAsync,
9992
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSize: 1 }),_liftFlatFlags({ names: ['read','write','file-integrity-sync','data-integrity-sync','requested-write-sync','mutate-directory'], size32: 1, align32: 1, intSize: 1 })],
9993
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 6), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9994
+ funcTypeIsAsync: false,
9995
+ getCallbackFn: () => null,
9996
+ getPostReturnFn: () => null,
9997
+ isCancellable: false,
9998
+ memoryIdx: 0,
9999
+ getMemoryFn: () => memory0,
10000
+ getReallocFn: () => null,
10001
+ importFn: _trampoline23,
10002
+ },
10003
+ )) : _lowerImportBackwardsCompat.bind(
10004
+ null,
10005
+ {
10006
+ trampolineIdx: 23,
10007
+ componentIdx: 0,
10008
+ isAsync: false,
10009
+ isManualAsync: _trampoline23.manuallyAsync,
10010
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSize: 1 }),_liftFlatFlags({ names: ['read','write','file-integrity-sync','data-integrity-sync','requested-write-sync','mutate-directory'], size32: 1, align32: 1, intSize: 1 })],
10011
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 6), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10012
+ funcTypeIsAsync: false,
10013
+ getCallbackFn: () => null,
10014
+ getPostReturnFn: () => null,
10015
+ isCancellable: false,
10016
+ memoryIdx: 0,
10017
+ getMemoryFn: () => memory0,
10018
+ getReallocFn: () => null,
10019
+ importFn: _trampoline23,
10020
+ },
10021
+ );
10022
+ let trampoline24 = _trampoline24.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10023
+ null,
10024
+ {
10025
+ trampolineIdx: 24,
10026
+ componentIdx: 0,
10027
+ isAsync: false,
10028
+ isManualAsync: _trampoline24.manuallyAsync,
10029
+ paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
10030
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 12, 4 ],['name', _lowerFlatStringUTF8, 12, 4 ],]), 16, 4, 4 ],[ 'none', null, 16, 4, 4 ],]), 20, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 20, 4, 4 ],])],
10031
+ funcTypeIsAsync: false,
10032
+ getCallbackFn: () => null,
10033
+ getPostReturnFn: () => null,
10034
+ isCancellable: false,
10035
+ memoryIdx: 0,
10036
+ getMemoryFn: () => memory0,
10037
+ getReallocFn: () => realloc0,
10038
+ importFn: _trampoline24,
10039
+ },
10040
+ )) : _lowerImportBackwardsCompat.bind(
10041
+ null,
10042
+ {
10043
+ trampolineIdx: 24,
10044
+ componentIdx: 0,
10045
+ isAsync: false,
10046
+ isManualAsync: _trampoline24.manuallyAsync,
10047
+ paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
10048
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOption([[ 'some', _lowerFlatRecord.bind(null, [['type', _lowerFlatEnum.bind(null, 1), 12, 4 ],['name', _lowerFlatStringUTF8, 12, 4 ],]), 16, 4, 4 ],[ 'none', null, 16, 4, 4 ],]), 20, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 20, 4, 4 ],])],
10049
+ funcTypeIsAsync: false,
10050
+ getCallbackFn: () => null,
10051
+ getPostReturnFn: () => null,
10052
+ isCancellable: false,
10053
+ memoryIdx: 0,
10054
+ getMemoryFn: () => memory0,
10055
+ getReallocFn: () => realloc0,
10056
+ importFn: _trampoline24,
10057
+ },
10058
+ );
10059
+ let trampoline25 = _trampoline25.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10060
+ null,
10061
+ {
10062
+ trampolineIdx: 25,
10063
+ componentIdx: 0,
10064
+ isAsync: false,
10065
+ isManualAsync: _trampoline25.manuallyAsync,
10066
+ paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
10067
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 }), 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10068
+ funcTypeIsAsync: false,
10069
+ getCallbackFn: () => null,
10070
+ getPostReturnFn: () => null,
10071
+ isCancellable: false,
10072
+ memoryIdx: 0,
10073
+ getMemoryFn: () => memory0,
10074
+ getReallocFn: () => realloc0,
10075
+ importFn: _trampoline25,
10076
+ },
10077
+ )) : _lowerImportBackwardsCompat.bind(
10078
+ null,
10079
+ {
10080
+ trampolineIdx: 25,
10081
+ componentIdx: 0,
10082
+ isAsync: false,
10083
+ isManualAsync: _trampoline25.manuallyAsync,
10084
+ paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
10085
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 }), 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10086
+ funcTypeIsAsync: false,
10087
+ getCallbackFn: () => null,
10088
+ getPostReturnFn: () => null,
10089
+ isCancellable: false,
10090
+ memoryIdx: 0,
10091
+ getMemoryFn: () => memory0,
10092
+ getReallocFn: () => realloc0,
10093
+ importFn: _trampoline25,
10094
+ },
10095
+ );
10096
+ let trampoline26 = _trampoline26.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10097
+ null,
10098
+ {
10099
+ trampolineIdx: 26,
10100
+ componentIdx: 0,
10101
+ isAsync: false,
10102
+ isManualAsync: _trampoline26.manuallyAsync,
10103
+ paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
10104
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 }), 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10105
+ funcTypeIsAsync: false,
10106
+ getCallbackFn: () => null,
10107
+ getPostReturnFn: () => null,
10108
+ isCancellable: false,
10109
+ memoryIdx: 0,
10110
+ getMemoryFn: () => memory0,
10111
+ getReallocFn: () => realloc0,
10112
+ importFn: _trampoline26,
10113
+ },
10114
+ )) : _lowerImportBackwardsCompat.bind(
10115
+ null,
10116
+ {
10117
+ trampolineIdx: 26,
10118
+ componentIdx: 0,
10119
+ isAsync: false,
10120
+ isManualAsync: _trampoline26.manuallyAsync,
10121
+ paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
10122
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 }), 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10123
+ funcTypeIsAsync: false,
10124
+ getCallbackFn: () => null,
10125
+ getPostReturnFn: () => null,
10126
+ isCancellable: false,
10127
+ memoryIdx: 0,
10128
+ getMemoryFn: () => memory0,
10129
+ getReallocFn: () => realloc0,
10130
+ importFn: _trampoline26,
10131
+ },
10132
+ );
10133
+ let trampoline27 = _trampoline27.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10134
+ null,
10135
+ {
10136
+ trampolineIdx: 27,
10137
+ componentIdx: 0,
10138
+ isAsync: false,
10139
+ isManualAsync: _trampoline27.manuallyAsync,
10140
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
10141
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatU64, 16, 8, 8 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],])],
10142
+ funcTypeIsAsync: false,
10143
+ getCallbackFn: () => null,
10144
+ getPostReturnFn: () => null,
10145
+ isCancellable: false,
10146
+ memoryIdx: 0,
10147
+ getMemoryFn: () => memory0,
10148
+ getReallocFn: () => null,
10149
+ importFn: _trampoline27,
10150
+ },
10151
+ )) : _lowerImportBackwardsCompat.bind(
10152
+ null,
10153
+ {
10154
+ trampolineIdx: 27,
10155
+ componentIdx: 0,
10156
+ isAsync: false,
10157
+ isManualAsync: _trampoline27.manuallyAsync,
10158
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
10159
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatU64, 16, 8, 8 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],])],
10160
+ funcTypeIsAsync: false,
10161
+ getCallbackFn: () => null,
10162
+ getPostReturnFn: () => null,
10163
+ isCancellable: false,
10164
+ memoryIdx: 0,
10165
+ getMemoryFn: () => memory0,
10166
+ getReallocFn: () => null,
10167
+ importFn: _trampoline27,
10168
+ },
10169
+ );
10170
+ let trampoline28 = _trampoline28.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10171
+ null,
10172
+ {
10173
+ trampolineIdx: 28,
10174
+ componentIdx: 0,
10175
+ isAsync: false,
10176
+ isManualAsync: _trampoline28.manuallyAsync,
10177
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
10178
+ resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10179
+ funcTypeIsAsync: false,
10180
+ getCallbackFn: () => null,
10181
+ getPostReturnFn: () => null,
10182
+ isCancellable: false,
10183
+ memoryIdx: 0,
10184
+ getMemoryFn: () => memory0,
10185
+ getReallocFn: () => null,
10186
+ importFn: _trampoline28,
10187
+ },
10188
+ )) : _lowerImportBackwardsCompat.bind(
10189
+ null,
10190
+ {
10191
+ trampolineIdx: 28,
10192
+ componentIdx: 0,
10193
+ isAsync: false,
10194
+ isManualAsync: _trampoline28.manuallyAsync,
10195
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
10196
+ resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10197
+ funcTypeIsAsync: false,
10198
+ getCallbackFn: () => null,
10199
+ getPostReturnFn: () => null,
10200
+ isCancellable: false,
10201
+ memoryIdx: 0,
10202
+ getMemoryFn: () => memory0,
10203
+ getReallocFn: () => null,
10204
+ importFn: _trampoline28,
10205
+ },
10206
+ );
10207
+ let trampoline29 = _trampoline29.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10208
+ null,
10209
+ {
10210
+ trampolineIdx: 29,
10211
+ componentIdx: 0,
10212
+ isAsync: false,
10213
+ isManualAsync: _trampoline29.manuallyAsync,
10214
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
10215
+ resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10216
+ funcTypeIsAsync: false,
10217
+ getCallbackFn: () => null,
10218
+ getPostReturnFn: () => null,
10219
+ isCancellable: false,
10220
+ memoryIdx: 0,
10221
+ getMemoryFn: () => memory0,
10222
+ getReallocFn: () => null,
10223
+ importFn: _trampoline29,
10224
+ },
10225
+ )) : _lowerImportBackwardsCompat.bind(
10226
+ null,
10227
+ {
10228
+ trampolineIdx: 29,
10229
+ componentIdx: 0,
10230
+ isAsync: false,
10231
+ isManualAsync: _trampoline29.manuallyAsync,
10232
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
10233
+ resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10234
+ funcTypeIsAsync: false,
10235
+ getCallbackFn: () => null,
10236
+ getPostReturnFn: () => null,
10237
+ isCancellable: false,
10238
+ memoryIdx: 0,
10239
+ getMemoryFn: () => memory0,
10240
+ getReallocFn: () => null,
10241
+ importFn: _trampoline29,
10242
+ },
10243
+ );
10244
+ let trampoline30 = _trampoline30.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10245
+ null,
10246
+ {
10247
+ trampolineIdx: 30,
10248
+ componentIdx: 0,
10249
+ isAsync: false,
10250
+ isManualAsync: _trampoline30.manuallyAsync,
10251
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
10252
+ resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10253
+ funcTypeIsAsync: false,
10254
+ getCallbackFn: () => null,
10255
+ getPostReturnFn: () => null,
10256
+ isCancellable: false,
10257
+ memoryIdx: 0,
10258
+ getMemoryFn: () => memory0,
10259
+ getReallocFn: () => null,
10260
+ importFn: _trampoline30,
10261
+ },
10262
+ )) : _lowerImportBackwardsCompat.bind(
10263
+ null,
10264
+ {
10265
+ trampolineIdx: 30,
10266
+ componentIdx: 0,
10267
+ isAsync: false,
10268
+ isManualAsync: _trampoline30.manuallyAsync,
10269
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
10270
+ resultLowerFns: [_lowerFlatResult([[ 'ok', null, 12, 4, 4 ],[ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn.bind(null, 0), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],])],
10271
+ funcTypeIsAsync: false,
10272
+ getCallbackFn: () => null,
10273
+ getPostReturnFn: () => null,
10274
+ isCancellable: false,
10275
+ memoryIdx: 0,
10276
+ getMemoryFn: () => memory0,
10277
+ getReallocFn: () => null,
10278
+ importFn: _trampoline30,
10279
+ },
10280
+ );
10281
+ let trampoline31 = _trampoline31.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10282
+ null,
10283
+ {
10284
+ trampolineIdx: 31,
10285
+ componentIdx: 0,
10286
+ isAsync: false,
10287
+ isManualAsync: _trampoline31.manuallyAsync,
10288
+ paramLiftFns: [_liftFlatU64],
10289
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 })],
10290
+ funcTypeIsAsync: false,
10291
+ getCallbackFn: () => null,
10292
+ getPostReturnFn: () => null,
10293
+ isCancellable: false,
10294
+ memoryIdx: 0,
10295
+ getMemoryFn: () => memory0,
10296
+ getReallocFn: () => realloc0,
10297
+ importFn: _trampoline31,
10298
+ },
10299
+ )) : _lowerImportBackwardsCompat.bind(
10300
+ null,
10301
+ {
10302
+ trampolineIdx: 31,
10303
+ componentIdx: 0,
10304
+ isAsync: false,
10305
+ isManualAsync: _trampoline31.manuallyAsync,
10306
+ paramLiftFns: [_liftFlatU64],
10307
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 })],
10308
+ funcTypeIsAsync: false,
10309
+ getCallbackFn: () => null,
10310
+ getPostReturnFn: () => null,
10311
+ isCancellable: false,
10312
+ memoryIdx: 0,
10313
+ getMemoryFn: () => memory0,
10314
+ getReallocFn: () => realloc0,
10315
+ importFn: _trampoline31,
10316
+ },
10317
+ );
10318
+ let trampoline32 = _trampoline32.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10319
+ null,
10320
+ {
10321
+ trampolineIdx: 32,
10322
+ componentIdx: 0,
10323
+ isAsync: false,
10324
+ isManualAsync: _trampoline32.manuallyAsync,
10325
+ paramLiftFns: [],
10326
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 30), typeIdx: 2 })],
10327
+ funcTypeIsAsync: false,
10328
+ getCallbackFn: () => null,
10329
+ getPostReturnFn: () => null,
10330
+ isCancellable: false,
10331
+ memoryIdx: 0,
10332
+ getMemoryFn: () => memory0,
10333
+ getReallocFn: () => realloc0,
10334
+ importFn: _trampoline32,
10335
+ },
10336
+ )) : _lowerImportBackwardsCompat.bind(
10337
+ null,
10338
+ {
10339
+ trampolineIdx: 32,
10340
+ componentIdx: 0,
10341
+ isAsync: false,
10342
+ isManualAsync: _trampoline32.manuallyAsync,
10343
+ paramLiftFns: [],
10344
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 30), typeIdx: 2 })],
10345
+ funcTypeIsAsync: false,
10346
+ getCallbackFn: () => null,
10347
+ getPostReturnFn: () => null,
10348
+ isCancellable: false,
10349
+ memoryIdx: 0,
10350
+ getMemoryFn: () => memory0,
10351
+ getReallocFn: () => realloc0,
10352
+ importFn: _trampoline32,
10353
+ },
10354
+ );
10355
+ let trampoline33 = _trampoline33.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10356
+ null,
10357
+ {
10358
+ trampolineIdx: 33,
10359
+ componentIdx: 0,
10360
+ isAsync: false,
10361
+ isManualAsync: _trampoline33.manuallyAsync,
10362
+ paramLiftFns: [],
10363
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 3), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10364
+ funcTypeIsAsync: false,
10365
+ getCallbackFn: () => null,
10366
+ getPostReturnFn: () => null,
10367
+ isCancellable: false,
10368
+ memoryIdx: 0,
10369
+ getMemoryFn: () => memory0,
10370
+ getReallocFn: () => null,
10371
+ importFn: _trampoline33,
10372
+ },
10373
+ )) : _lowerImportBackwardsCompat.bind(
10374
+ null,
10375
+ {
10376
+ trampolineIdx: 33,
10377
+ componentIdx: 0,
10378
+ isAsync: false,
10379
+ isManualAsync: _trampoline33.manuallyAsync,
10380
+ paramLiftFns: [],
10381
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 3), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10382
+ funcTypeIsAsync: false,
10383
+ getCallbackFn: () => null,
10384
+ getPostReturnFn: () => null,
10385
+ isCancellable: false,
10386
+ memoryIdx: 0,
10387
+ getMemoryFn: () => memory0,
10388
+ getReallocFn: () => null,
10389
+ importFn: _trampoline33,
10390
+ },
10391
+ );
10392
+ let trampoline34 = _trampoline34.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10393
+ null,
10394
+ {
10395
+ trampolineIdx: 34,
10396
+ componentIdx: 0,
10397
+ isAsync: false,
10398
+ isManualAsync: _trampoline34.manuallyAsync,
10399
+ paramLiftFns: [],
10400
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10401
+ funcTypeIsAsync: false,
10402
+ getCallbackFn: () => null,
10403
+ getPostReturnFn: () => null,
10404
+ isCancellable: false,
10405
+ memoryIdx: 0,
10406
+ getMemoryFn: () => memory0,
10407
+ getReallocFn: () => null,
10408
+ importFn: _trampoline34,
10409
+ },
10410
+ )) : _lowerImportBackwardsCompat.bind(
10411
+ null,
10412
+ {
10413
+ trampolineIdx: 34,
10414
+ componentIdx: 0,
10415
+ isAsync: false,
10416
+ isManualAsync: _trampoline34.manuallyAsync,
10417
+ paramLiftFns: [],
10418
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10419
+ funcTypeIsAsync: false,
10420
+ getCallbackFn: () => null,
10421
+ getPostReturnFn: () => null,
10422
+ isCancellable: false,
10423
+ memoryIdx: 0,
10424
+ getMemoryFn: () => memory0,
10425
+ getReallocFn: () => null,
10426
+ importFn: _trampoline34,
10427
+ },
10428
+ );
10429
+ let trampoline35 = _trampoline35.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10430
+ null,
10431
+ {
10432
+ trampolineIdx: 35,
10433
+ componentIdx: 0,
10434
+ isAsync: false,
10435
+ isManualAsync: _trampoline35.manuallyAsync,
10436
+ paramLiftFns: [],
10437
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10438
+ funcTypeIsAsync: false,
10439
+ getCallbackFn: () => null,
10440
+ getPostReturnFn: () => null,
10441
+ isCancellable: false,
10442
+ memoryIdx: 0,
10443
+ getMemoryFn: () => memory0,
10444
+ getReallocFn: () => null,
10445
+ importFn: _trampoline35,
10446
+ },
10447
+ )) : _lowerImportBackwardsCompat.bind(
10448
+ null,
10449
+ {
10450
+ trampolineIdx: 35,
10451
+ componentIdx: 0,
10452
+ isAsync: false,
10453
+ isManualAsync: _trampoline35.manuallyAsync,
10454
+ paramLiftFns: [],
10455
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10456
+ funcTypeIsAsync: false,
10457
+ getCallbackFn: () => null,
10458
+ getPostReturnFn: () => null,
10459
+ isCancellable: false,
10460
+ memoryIdx: 0,
10461
+ getMemoryFn: () => memory0,
10462
+ getReallocFn: () => null,
10463
+ importFn: _trampoline35,
10464
+ },
10465
+ );
10408
10466
 
10409
10467
  let _initialized = false;
10410
10468
  export const $init = (() => {