@bytecodealliance/jco 1.17.5 → 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.
package/obj/wasm-tools.js CHANGED
@@ -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);
@@ -2550,7 +2552,7 @@ function _liftFlatResult(casesAndLiftFns) {
2550
2552
 
2551
2553
  function _liftFlatBorrow(componentTableIdx, size, memory, vals, storagePtr, storageLen) {
2552
2554
  _debugLog('[_liftFlatBorrow()] args', { size, memory, vals, storagePtr, storageLen });
2553
- throw new Error('flat lift for borrowed resources not yet implemented!');
2555
+ throw new Error('flat lift for borrowed resources is not supported!');
2554
2556
  }
2555
2557
 
2556
2558
  function _lowerFlatU8(ctx) {
@@ -2669,14 +2671,17 @@ function _lowerFlatVariant(lowerMetas) {
2669
2671
 
2670
2672
  ctx.resultPtr = originalPtr + payloadOffset32;
2671
2673
 
2672
- const payloadBytesWritten = lowerFn({
2673
- memory,
2674
- realloc,
2675
- vals: [val],
2676
- storagePtr,
2677
- storageLen,
2678
- componentIdx,
2679
- });
2674
+ let payloadBytesWritten = 0;
2675
+ if (lowerFn) {
2676
+ lowerFn({
2677
+ memory,
2678
+ realloc,
2679
+ vals: [val],
2680
+ storagePtr,
2681
+ storageLen,
2682
+ componentIdx,
2683
+ });
2684
+ }
2680
2685
  let bytesWritten = payloadOffset + payloadBytesWritten;
2681
2686
 
2682
2687
  const rem = ctx.storagePtr % align32;
@@ -3289,8 +3294,6 @@ const symbolRscHandle = Symbol('handle');
3289
3294
 
3290
3295
  const symbolRscRep = Symbol.for('cabiRep');
3291
3296
 
3292
- const symbolDispose = Symbol.dispose || Symbol.for('dispose');
3293
-
3294
3297
  const handleTables = [];
3295
3298
 
3296
3299
  class ComponentError extends Error {
@@ -8593,1510 +8596,346 @@ let postReturn0;
8593
8596
  let postReturn0Async;
8594
8597
  let postReturn1;
8595
8598
  let postReturn1Async;
8596
- function trampoline0(handle) {
8597
- const handleEntry = rscTableRemove(handleTable5, handle);
8598
- if (handleEntry.own) {
8599
-
8600
- const rsc = captureTable5.get(handleEntry.rep);
8601
- if (rsc) {
8602
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8603
- captureTable5.delete(handleEntry.rep);
8604
- } else if (DirectoryEntryStream[symbolCabiDispose]) {
8605
- DirectoryEntryStream[symbolCabiDispose](handleEntry.rep);
8599
+ let toolsParse;
8600
+
8601
+ function parse(arg0) {
8602
+ if (!_initialized) throwUninitialized();
8603
+
8604
+ var encodeRes = _utf8AllocateAndEncode(arg0, realloc1, memory0);
8605
+ var ptr0= encodeRes.ptr;
8606
+ var len0 = encodeRes.len;
8607
+
8608
+ _debugLog('[iface="local:wasm-tools/tools", function="parse"][Instruction::CallWasm] enter', {
8609
+ funcName: 'parse',
8610
+ paramCount: 2,
8611
+ async: false,
8612
+ postReturn: true,
8613
+ });
8614
+ const hostProvided = false;
8615
+
8616
+ const [task, _wasm_call_currentTaskID] = createNewCurrentTask({
8617
+ componentIdx: 0,
8618
+ isAsync: false,
8619
+ isManualAsync: false,
8620
+ entryFnName: 'toolsParse',
8621
+ getCallbackFn: () => null,
8622
+ callbackFnName: 'null',
8623
+ errHandling: 'throw-result-err',
8624
+ callingWasmExport: true,
8625
+ });
8626
+
8627
+ const started = task.enterSync();
8628
+ task.setReturnMemoryIdx(0);
8629
+ task.setReturnMemory(memory0);
8630
+ let ret = _withGlobalCurrentTaskMeta({
8631
+ taskID: task.id(),
8632
+ componentIdx: task.componentIdx(),
8633
+ fn: () => toolsParse(ptr0, len0),
8634
+ });
8635
+
8636
+ let variant3;
8637
+ switch (dataView(memory0).getUint8(ret + 0, true)) {
8638
+ case 0: {
8639
+ var ptr1 = dataView(memory0).getUint32(ret + 4, true);
8640
+ var len1 = dataView(memory0).getUint32(ret + 8, true);
8641
+ var result1 = new Uint8Array(memory0.buffer.slice(ptr1, ptr1 + len1 * 1));
8642
+ variant3= {
8643
+ tag: 'ok',
8644
+ val: result1
8645
+ };
8646
+ break;
8606
8647
  }
8607
- }
8608
- }
8609
- function trampoline1(handle) {
8610
- const handleEntry = rscTableRemove(handleTable2, handle);
8611
- if (handleEntry.own) {
8612
-
8613
- const rsc = captureTable2.get(handleEntry.rep);
8614
- if (rsc) {
8615
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8616
- captureTable2.delete(handleEntry.rep);
8617
- } else if (OutputStream[symbolCabiDispose]) {
8618
- OutputStream[symbolCabiDispose](handleEntry.rep);
8648
+ case 1: {
8649
+ var ptr2 = dataView(memory0).getUint32(ret + 4, true);
8650
+ var len2 = dataView(memory0).getUint32(ret + 8, true);
8651
+ var result2 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr2, len2));
8652
+ variant3= {
8653
+ tag: 'err',
8654
+ val: result2
8655
+ };
8656
+ break;
8619
8657
  }
8620
- }
8621
- }
8622
- function trampoline2(handle) {
8623
- const handleEntry = rscTableRemove(handleTable0, handle);
8624
- if (handleEntry.own) {
8625
-
8626
- const rsc = captureTable0.get(handleEntry.rep);
8627
- if (rsc) {
8628
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8629
- captureTable0.delete(handleEntry.rep);
8630
- } else if (Error$1[symbolCabiDispose]) {
8631
- Error$1[symbolCabiDispose](handleEntry.rep);
8658
+ default: {
8659
+ throw new TypeError('invalid variant discriminant for expected');
8632
8660
  }
8633
8661
  }
8662
+ _debugLog('[iface="local:wasm-tools/tools", function="parse"][Instruction::Return]', {
8663
+ funcName: 'parse',
8664
+ paramCount: 1,
8665
+ async: false,
8666
+ postReturn: true
8667
+ });
8668
+ const retCopy = variant3;
8669
+ task.resolve([retCopy.val]);
8670
+
8671
+ let cstate = getOrCreateAsyncState(0);
8672
+ cstate.mayLeave = false;
8673
+ postReturn0(ret);
8674
+ cstate.mayLeave = true;
8675
+ task.exit();
8676
+
8677
+
8678
+
8679
+ if (typeof retCopy === 'object' && retCopy.tag === 'err') {
8680
+ throw new ComponentError(retCopy.val);
8681
+ }
8682
+ return retCopy.val;
8683
+
8634
8684
  }
8635
- function trampoline3(handle) {
8636
- const handleEntry = rscTableRemove(handleTable1, handle);
8637
- if (handleEntry.own) {
8638
-
8639
- const rsc = captureTable1.get(handleEntry.rep);
8640
- if (rsc) {
8641
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8642
- captureTable1.delete(handleEntry.rep);
8643
- } else if (InputStream[symbolCabiDispose]) {
8644
- InputStream[symbolCabiDispose](handleEntry.rep);
8685
+ let toolsPrint;
8686
+
8687
+ function print(arg0) {
8688
+ if (!_initialized) throwUninitialized();
8689
+ var val0 = arg0;
8690
+ var len0 = Array.isArray(val0) ? val0.length : val0.byteLength;
8691
+ var ptr0 = realloc1(0, 0, 1, len0 * 1);
8692
+
8693
+ let valData0;
8694
+ const valLenBytes0 = len0 * 1;
8695
+ if (Array.isArray(val0)) {
8696
+ // Regular array likely containing numbers, write values to memory
8697
+ let offset = 0;
8698
+ const dv0 = new DataView(memory0.buffer);
8699
+ for (const v of val0) {
8700
+ dv0.setUint8(ptr0+ offset, v, true);
8701
+ offset += 1;
8645
8702
  }
8703
+ } else {
8704
+ // TypedArray / ArrayBuffer-like, direct copy
8705
+ valData0 = new Uint8Array(val0.buffer || val0, val0.byteOffset, valLenBytes0);
8706
+ const out0 = new Uint8Array(memory0.buffer, ptr0,valLenBytes0);
8707
+ out0.set(valData0);
8646
8708
  }
8647
- }
8648
- function trampoline4(handle) {
8649
- const handleEntry = rscTableRemove(handleTable6, handle);
8650
- if (handleEntry.own) {
8651
-
8652
- const rsc = captureTable6.get(handleEntry.rep);
8653
- if (rsc) {
8654
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8655
- captureTable6.delete(handleEntry.rep);
8656
- } else if (Descriptor[symbolCabiDispose]) {
8657
- Descriptor[symbolCabiDispose](handleEntry.rep);
8709
+
8710
+ _debugLog('[iface="local:wasm-tools/tools", function="print"][Instruction::CallWasm] enter', {
8711
+ funcName: 'print',
8712
+ paramCount: 2,
8713
+ async: false,
8714
+ postReturn: true,
8715
+ });
8716
+ const hostProvided = false;
8717
+
8718
+ const [task, _wasm_call_currentTaskID] = createNewCurrentTask({
8719
+ componentIdx: 0,
8720
+ isAsync: false,
8721
+ isManualAsync: false,
8722
+ entryFnName: 'toolsPrint',
8723
+ getCallbackFn: () => null,
8724
+ callbackFnName: 'null',
8725
+ errHandling: 'throw-result-err',
8726
+ callingWasmExport: true,
8727
+ });
8728
+
8729
+ const started = task.enterSync();
8730
+ task.setReturnMemoryIdx(0);
8731
+ task.setReturnMemory(memory0);
8732
+ let ret = _withGlobalCurrentTaskMeta({
8733
+ taskID: task.id(),
8734
+ componentIdx: task.componentIdx(),
8735
+ fn: () => toolsPrint(ptr0, len0),
8736
+ });
8737
+
8738
+ let variant3;
8739
+ switch (dataView(memory0).getUint8(ret + 0, true)) {
8740
+ case 0: {
8741
+ var ptr1 = dataView(memory0).getUint32(ret + 4, true);
8742
+ var len1 = dataView(memory0).getUint32(ret + 8, true);
8743
+ var result1 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr1, len1));
8744
+ variant3= {
8745
+ tag: 'ok',
8746
+ val: result1
8747
+ };
8748
+ break;
8749
+ }
8750
+ case 1: {
8751
+ var ptr2 = dataView(memory0).getUint32(ret + 4, true);
8752
+ var len2 = dataView(memory0).getUint32(ret + 8, true);
8753
+ var result2 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr2, len2));
8754
+ variant3= {
8755
+ tag: 'err',
8756
+ val: result2
8757
+ };
8758
+ break;
8658
8759
  }
8760
+ default: {
8761
+ throw new TypeError('invalid variant discriminant for expected');
8762
+ }
8763
+ }
8764
+ _debugLog('[iface="local:wasm-tools/tools", function="print"][Instruction::Return]', {
8765
+ funcName: 'print',
8766
+ paramCount: 1,
8767
+ async: false,
8768
+ postReturn: true
8769
+ });
8770
+ const retCopy = variant3;
8771
+ task.resolve([retCopy.val]);
8772
+
8773
+ let cstate = getOrCreateAsyncState(0);
8774
+ cstate.mayLeave = false;
8775
+ postReturn0(ret);
8776
+ cstate.mayLeave = true;
8777
+ task.exit();
8778
+
8779
+
8780
+
8781
+ if (typeof retCopy === 'object' && retCopy.tag === 'err') {
8782
+ throw new ComponentError(retCopy.val);
8659
8783
  }
8784
+ return retCopy.val;
8785
+
8660
8786
  }
8661
- let trampoline5 = _trampoline5.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8662
- null,
8663
- {
8664
- trampolineIdx: 5,
8665
- componentIdx: 0,
8666
- isAsync: false,
8667
- isManualAsync: _trampoline5.manuallyAsync,
8668
- paramLiftFns: [],
8669
- resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
8670
- funcTypeIsAsync: false,
8671
- getCallbackFn: () => null,
8672
- getPostReturnFn: () => null,
8673
- isCancellable: false,
8674
- memoryIdx: null,
8675
- getMemoryFn: () => null,
8676
- getReallocFn: () => null,
8677
- importFn: _trampoline5,
8678
- },
8679
- )) : _lowerImportBackwardsCompat.bind(
8680
- null,
8681
- {
8682
- trampolineIdx: 5,
8683
- componentIdx: 0,
8684
- isAsync: false,
8685
- isManualAsync: _trampoline5.manuallyAsync,
8686
- paramLiftFns: [],
8687
- resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
8688
- funcTypeIsAsync: false,
8689
- getCallbackFn: () => null,
8690
- getPostReturnFn: () => null,
8691
- isCancellable: false,
8692
- memoryIdx: null,
8693
- getMemoryFn: () => null,
8694
- getReallocFn: () => null,
8695
- importFn: _trampoline5,
8696
- },
8697
- );
8698
- function trampoline6(handle) {
8699
- const handleEntry = rscTableRemove(handleTable3, handle);
8700
- if (handleEntry.own) {
8701
-
8702
- const rsc = captureTable3.get(handleEntry.rep);
8703
- if (rsc) {
8704
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8705
- captureTable3.delete(handleEntry.rep);
8706
- } else if (TerminalInput[symbolCabiDispose]) {
8707
- TerminalInput[symbolCabiDispose](handleEntry.rep);
8787
+ let toolsComponentNew;
8788
+
8789
+ function componentNew(arg0, arg1) {
8790
+ if (!_initialized) throwUninitialized();
8791
+ var val0 = arg0;
8792
+ var len0 = Array.isArray(val0) ? val0.length : val0.byteLength;
8793
+ var ptr0 = realloc1(0, 0, 1, len0 * 1);
8794
+
8795
+ let valData0;
8796
+ const valLenBytes0 = len0 * 1;
8797
+ if (Array.isArray(val0)) {
8798
+ // Regular array likely containing numbers, write values to memory
8799
+ let offset = 0;
8800
+ const dv0 = new DataView(memory0.buffer);
8801
+ for (const v of val0) {
8802
+ dv0.setUint8(ptr0+ offset, v, true);
8803
+ offset += 1;
8708
8804
  }
8805
+ } else {
8806
+ // TypedArray / ArrayBuffer-like, direct copy
8807
+ valData0 = new Uint8Array(val0.buffer || val0, val0.byteOffset, valLenBytes0);
8808
+ const out0 = new Uint8Array(memory0.buffer, ptr0,valLenBytes0);
8809
+ out0.set(valData0);
8709
8810
  }
8710
- }
8711
- function trampoline7(handle) {
8712
- const handleEntry = rscTableRemove(handleTable4, handle);
8713
- if (handleEntry.own) {
8714
-
8715
- const rsc = captureTable4.get(handleEntry.rep);
8716
- if (rsc) {
8717
- if (rsc[symbolDispose]) rsc[symbolDispose]();
8718
- captureTable4.delete(handleEntry.rep);
8719
- } else if (TerminalOutput[symbolCabiDispose]) {
8720
- TerminalOutput[symbolCabiDispose](handleEntry.rep);
8811
+
8812
+ var variant5 = arg1;
8813
+ let variant5_0;
8814
+ let variant5_1;
8815
+ let variant5_2;
8816
+ if (variant5 === null || variant5=== undefined) {
8817
+ variant5_0 = 0;
8818
+ variant5_1 = 0;
8819
+ variant5_2 = 0;
8820
+ } else {
8821
+ const e = variant5;
8822
+ var vec4 = e;
8823
+ var len4 = vec4.length;
8824
+ var result4 = realloc1(0, 0, 4, len4 * 16);
8825
+ for (let i = 0; i < vec4.length; i++) {
8826
+ const e = vec4[i];
8827
+ const base = result4 + i * 16;var [tuple1_0, tuple1_1] = e;
8828
+
8829
+ var encodeRes = _utf8AllocateAndEncode(tuple1_0, realloc1, memory0);
8830
+ var ptr2= encodeRes.ptr;
8831
+ var len2 = encodeRes.len;
8832
+
8833
+ dataView(memory0).setUint32(base + 4, len2, true);
8834
+ dataView(memory0).setUint32(base + 0, ptr2, true);
8835
+ var val3 = tuple1_1;
8836
+ var len3 = Array.isArray(val3) ? val3.length : val3.byteLength;
8837
+ var ptr3 = realloc1(0, 0, 1, len3 * 1);
8838
+
8839
+ let valData3;
8840
+ const valLenBytes3 = len3 * 1;
8841
+ if (Array.isArray(val3)) {
8842
+ // Regular array likely containing numbers, write values to memory
8843
+ let offset = 0;
8844
+ const dv3 = new DataView(memory0.buffer);
8845
+ for (const v of val3) {
8846
+ dv3.setUint8(ptr3+ offset, v, true);
8847
+ offset += 1;
8848
+ }
8849
+ } else {
8850
+ // TypedArray / ArrayBuffer-like, direct copy
8851
+ valData3 = new Uint8Array(val3.buffer || val3, val3.byteOffset, valLenBytes3);
8852
+ const out3 = new Uint8Array(memory0.buffer, ptr3,valLenBytes3);
8853
+ out3.set(valData3);
8854
+ }
8855
+
8856
+ dataView(memory0).setUint32(base + 12, len3, true);
8857
+ dataView(memory0).setUint32(base + 8, ptr3, true);
8858
+ }
8859
+ variant5_0 = 1;
8860
+ variant5_1 = result4;
8861
+ variant5_2 = len4;
8862
+ }
8863
+ _debugLog('[iface="local:wasm-tools/tools", function="component-new"][Instruction::CallWasm] enter', {
8864
+ funcName: 'component-new',
8865
+ paramCount: 5,
8866
+ async: false,
8867
+ postReturn: true,
8868
+ });
8869
+ const hostProvided = false;
8870
+
8871
+ const [task, _wasm_call_currentTaskID] = createNewCurrentTask({
8872
+ componentIdx: 0,
8873
+ isAsync: false,
8874
+ isManualAsync: false,
8875
+ entryFnName: 'toolsComponentNew',
8876
+ getCallbackFn: () => null,
8877
+ callbackFnName: 'null',
8878
+ errHandling: 'throw-result-err',
8879
+ callingWasmExport: true,
8880
+ });
8881
+
8882
+ const started = task.enterSync();
8883
+ task.setReturnMemoryIdx(0);
8884
+ task.setReturnMemory(memory0);
8885
+ let ret = _withGlobalCurrentTaskMeta({
8886
+ taskID: task.id(),
8887
+ componentIdx: task.componentIdx(),
8888
+ fn: () => toolsComponentNew(ptr0, len0, variant5_0, variant5_1, variant5_2),
8889
+ });
8890
+
8891
+ let variant8;
8892
+ switch (dataView(memory0).getUint8(ret + 0, true)) {
8893
+ case 0: {
8894
+ var ptr6 = dataView(memory0).getUint32(ret + 4, true);
8895
+ var len6 = dataView(memory0).getUint32(ret + 8, true);
8896
+ var result6 = new Uint8Array(memory0.buffer.slice(ptr6, ptr6 + len6 * 1));
8897
+ variant8= {
8898
+ tag: 'ok',
8899
+ val: result6
8900
+ };
8901
+ break;
8721
8902
  }
8903
+ case 1: {
8904
+ var ptr7 = dataView(memory0).getUint32(ret + 4, true);
8905
+ var len7 = dataView(memory0).getUint32(ret + 8, true);
8906
+ var result7 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr7, len7));
8907
+ variant8= {
8908
+ tag: 'err',
8909
+ val: result7
8910
+ };
8911
+ break;
8912
+ }
8913
+ default: {
8914
+ throw new TypeError('invalid variant discriminant for expected');
8915
+ }
8916
+ }
8917
+ _debugLog('[iface="local:wasm-tools/tools", function="component-new"][Instruction::Return]', {
8918
+ funcName: 'component-new',
8919
+ paramCount: 1,
8920
+ async: false,
8921
+ postReturn: true
8922
+ });
8923
+ const retCopy = variant8;
8924
+ task.resolve([retCopy.val]);
8925
+
8926
+ let cstate = getOrCreateAsyncState(0);
8927
+ cstate.mayLeave = false;
8928
+ postReturn0(ret);
8929
+ cstate.mayLeave = true;
8930
+ task.exit();
8931
+
8932
+
8933
+
8934
+ if (typeof retCopy === 'object' && retCopy.tag === 'err') {
8935
+ throw new ComponentError(retCopy.val);
8722
8936
  }
8723
- }
8724
- let trampoline8 = _trampoline8.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8725
- null,
8726
- {
8727
- trampolineIdx: 8,
8728
- componentIdx: 0,
8729
- isAsync: false,
8730
- isManualAsync: _trampoline8.manuallyAsync,
8731
- paramLiftFns: [],
8732
- resultLowerFns: [_lowerFlatOwn.bind(null, 1)],
8733
- funcTypeIsAsync: false,
8734
- getCallbackFn: () => null,
8735
- getPostReturnFn: () => null,
8736
- isCancellable: false,
8737
- memoryIdx: null,
8738
- getMemoryFn: () => null,
8739
- getReallocFn: () => null,
8740
- importFn: _trampoline8,
8741
- },
8742
- )) : _lowerImportBackwardsCompat.bind(
8743
- null,
8744
- {
8745
- trampolineIdx: 8,
8746
- componentIdx: 0,
8747
- isAsync: false,
8748
- isManualAsync: _trampoline8.manuallyAsync,
8749
- paramLiftFns: [],
8750
- resultLowerFns: [_lowerFlatOwn.bind(null, 1)],
8751
- funcTypeIsAsync: false,
8752
- getCallbackFn: () => null,
8753
- getPostReturnFn: () => null,
8754
- isCancellable: false,
8755
- memoryIdx: null,
8756
- getMemoryFn: () => null,
8757
- getReallocFn: () => null,
8758
- importFn: _trampoline8,
8759
- },
8760
- );
8761
- let trampoline9 = _trampoline9.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8762
- null,
8763
- {
8764
- trampolineIdx: 9,
8765
- componentIdx: 0,
8766
- isAsync: false,
8767
- isManualAsync: _trampoline9.manuallyAsync,
8768
- paramLiftFns: [],
8769
- resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
8770
- funcTypeIsAsync: false,
8771
- getCallbackFn: () => null,
8772
- getPostReturnFn: () => null,
8773
- isCancellable: false,
8774
- memoryIdx: null,
8775
- getMemoryFn: () => null,
8776
- getReallocFn: () => null,
8777
- importFn: _trampoline9,
8778
- },
8779
- )) : _lowerImportBackwardsCompat.bind(
8780
- null,
8781
- {
8782
- trampolineIdx: 9,
8783
- componentIdx: 0,
8784
- isAsync: false,
8785
- isManualAsync: _trampoline9.manuallyAsync,
8786
- paramLiftFns: [],
8787
- resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
8788
- funcTypeIsAsync: false,
8789
- getCallbackFn: () => null,
8790
- getPostReturnFn: () => null,
8791
- isCancellable: false,
8792
- memoryIdx: null,
8793
- getMemoryFn: () => null,
8794
- getReallocFn: () => null,
8795
- importFn: _trampoline9,
8796
- },
8797
- );
8798
- let trampoline10 = _trampoline10.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8799
- null,
8800
- {
8801
- trampolineIdx: 10,
8802
- componentIdx: 0,
8803
- isAsync: false,
8804
- isManualAsync: _trampoline10.manuallyAsync,
8805
- paramLiftFns: [_liftFlatResult([['ok', null, 0, 0, 0],['err', null, 0, 0, 0],])],
8806
- resultLowerFns: [],
8807
- funcTypeIsAsync: false,
8808
- getCallbackFn: () => null,
8809
- getPostReturnFn: () => null,
8810
- isCancellable: false,
8811
- memoryIdx: null,
8812
- getMemoryFn: () => null,
8813
- getReallocFn: () => null,
8814
- importFn: _trampoline10,
8815
- },
8816
- )) : _lowerImportBackwardsCompat.bind(
8817
- null,
8818
- {
8819
- trampolineIdx: 10,
8820
- componentIdx: 0,
8821
- isAsync: false,
8822
- isManualAsync: _trampoline10.manuallyAsync,
8823
- paramLiftFns: [_liftFlatResult([['ok', null, 0, 0, 0],['err', null, 0, 0, 0],])],
8824
- resultLowerFns: [],
8825
- funcTypeIsAsync: false,
8826
- getCallbackFn: () => null,
8827
- getPostReturnFn: () => null,
8828
- isCancellable: false,
8829
- memoryIdx: null,
8830
- getMemoryFn: () => null,
8831
- getReallocFn: () => null,
8832
- importFn: _trampoline10,
8833
- },
8834
- );
8835
- let trampoline11 = _trampoline11.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8836
- null,
8837
- {
8838
- trampolineIdx: 11,
8839
- componentIdx: 0,
8840
- isAsync: false,
8841
- isManualAsync: _trampoline11.manuallyAsync,
8842
- paramLiftFns: [],
8843
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 0), typeIdx: 0 })],
8844
- funcTypeIsAsync: false,
8845
- getCallbackFn: () => null,
8846
- getPostReturnFn: () => null,
8847
- isCancellable: false,
8848
- memoryIdx: 0,
8849
- getMemoryFn: () => memory0,
8850
- getReallocFn: () => realloc0,
8851
- importFn: _trampoline11,
8852
- },
8853
- )) : _lowerImportBackwardsCompat.bind(
8854
- null,
8855
- {
8856
- trampolineIdx: 11,
8857
- componentIdx: 0,
8858
- isAsync: false,
8859
- isManualAsync: _trampoline11.manuallyAsync,
8860
- paramLiftFns: [],
8861
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 0), typeIdx: 0 })],
8862
- funcTypeIsAsync: false,
8863
- getCallbackFn: () => null,
8864
- getPostReturnFn: () => null,
8865
- isCancellable: false,
8866
- memoryIdx: 0,
8867
- getMemoryFn: () => memory0,
8868
- getReallocFn: () => realloc0,
8869
- importFn: _trampoline11,
8870
- },
8871
- );
8872
- let trampoline12 = _trampoline12.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8873
- null,
8874
- {
8875
- trampolineIdx: 12,
8876
- componentIdx: 0,
8877
- isAsync: false,
8878
- isManualAsync: _trampoline12.manuallyAsync,
8879
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8880
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatFlags.bind(null, 0), 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: _trampoline12,
8889
- },
8890
- )) : _lowerImportBackwardsCompat.bind(
8891
- null,
8892
- {
8893
- trampolineIdx: 12,
8894
- componentIdx: 0,
8895
- isAsync: false,
8896
- isManualAsync: _trampoline12.manuallyAsync,
8897
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8898
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatFlags.bind(null, 0), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
8899
- funcTypeIsAsync: false,
8900
- getCallbackFn: () => null,
8901
- getPostReturnFn: () => null,
8902
- isCancellable: false,
8903
- memoryIdx: 0,
8904
- getMemoryFn: () => memory0,
8905
- getReallocFn: () => null,
8906
- importFn: _trampoline12,
8907
- },
8908
- );
8909
- let trampoline13 = _trampoline13.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8910
- null,
8911
- {
8912
- trampolineIdx: 13,
8913
- componentIdx: 0,
8914
- isAsync: false,
8915
- isManualAsync: _trampoline13.manuallyAsync,
8916
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8917
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatEnum.bind(null, 1), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
8918
- funcTypeIsAsync: false,
8919
- getCallbackFn: () => null,
8920
- getPostReturnFn: () => null,
8921
- isCancellable: false,
8922
- memoryIdx: 0,
8923
- getMemoryFn: () => memory0,
8924
- getReallocFn: () => null,
8925
- importFn: _trampoline13,
8926
- },
8927
- )) : _lowerImportBackwardsCompat.bind(
8928
- null,
8929
- {
8930
- trampolineIdx: 13,
8931
- componentIdx: 0,
8932
- isAsync: false,
8933
- isManualAsync: _trampoline13.manuallyAsync,
8934
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8935
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatEnum.bind(null, 1), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
8936
- funcTypeIsAsync: false,
8937
- getCallbackFn: () => null,
8938
- getPostReturnFn: () => null,
8939
- isCancellable: false,
8940
- memoryIdx: 0,
8941
- getMemoryFn: () => memory0,
8942
- getReallocFn: () => null,
8943
- importFn: _trampoline13,
8944
- },
8945
- );
8946
- let trampoline14 = _trampoline14.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8947
- null,
8948
- {
8949
- trampolineIdx: 14,
8950
- componentIdx: 0,
8951
- isAsync: false,
8952
- isManualAsync: _trampoline14.manuallyAsync,
8953
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8954
- 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 ],])],
8955
- funcTypeIsAsync: false,
8956
- getCallbackFn: () => null,
8957
- getPostReturnFn: () => null,
8958
- isCancellable: false,
8959
- memoryIdx: 0,
8960
- getMemoryFn: () => memory0,
8961
- getReallocFn: () => null,
8962
- importFn: _trampoline14,
8963
- },
8964
- )) : _lowerImportBackwardsCompat.bind(
8965
- null,
8966
- {
8967
- trampolineIdx: 14,
8968
- componentIdx: 0,
8969
- isAsync: false,
8970
- isManualAsync: _trampoline14.manuallyAsync,
8971
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
8972
- 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 ],])],
8973
- funcTypeIsAsync: false,
8974
- getCallbackFn: () => null,
8975
- getPostReturnFn: () => null,
8976
- isCancellable: false,
8977
- memoryIdx: 0,
8978
- getMemoryFn: () => memory0,
8979
- getReallocFn: () => null,
8980
- importFn: _trampoline14,
8981
- },
8982
- );
8983
- let trampoline15 = _trampoline15.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
8984
- null,
8985
- {
8986
- trampolineIdx: 15,
8987
- componentIdx: 0,
8988
- isAsync: false,
8989
- isManualAsync: _trampoline15.manuallyAsync,
8990
- paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
8991
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],[ 'none', null, 2, 1, 1 ],])],
8992
- funcTypeIsAsync: false,
8993
- getCallbackFn: () => null,
8994
- getPostReturnFn: () => null,
8995
- isCancellable: false,
8996
- memoryIdx: 0,
8997
- getMemoryFn: () => memory0,
8998
- getReallocFn: () => null,
8999
- importFn: _trampoline15,
9000
- },
9001
- )) : _lowerImportBackwardsCompat.bind(
9002
- null,
9003
- {
9004
- trampolineIdx: 15,
9005
- componentIdx: 0,
9006
- isAsync: false,
9007
- isManualAsync: _trampoline15.manuallyAsync,
9008
- paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
9009
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],[ 'none', null, 2, 1, 1 ],])],
9010
- funcTypeIsAsync: false,
9011
- getCallbackFn: () => null,
9012
- getPostReturnFn: () => null,
9013
- isCancellable: false,
9014
- memoryIdx: 0,
9015
- getMemoryFn: () => memory0,
9016
- getReallocFn: () => null,
9017
- importFn: _trampoline15,
9018
- },
9019
- );
9020
- let trampoline16 = _trampoline16.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9021
- null,
9022
- {
9023
- trampolineIdx: 16,
9024
- componentIdx: 0,
9025
- isAsync: false,
9026
- isManualAsync: _trampoline16.manuallyAsync,
9027
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9028
- 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 ],])],
9029
- funcTypeIsAsync: false,
9030
- getCallbackFn: () => null,
9031
- getPostReturnFn: () => null,
9032
- isCancellable: false,
9033
- memoryIdx: 0,
9034
- getMemoryFn: () => memory0,
9035
- getReallocFn: () => null,
9036
- importFn: _trampoline16,
9037
- },
9038
- )) : _lowerImportBackwardsCompat.bind(
9039
- null,
9040
- {
9041
- trampolineIdx: 16,
9042
- componentIdx: 0,
9043
- isAsync: false,
9044
- isManualAsync: _trampoline16.manuallyAsync,
9045
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9046
- 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 ],])],
9047
- funcTypeIsAsync: false,
9048
- getCallbackFn: () => null,
9049
- getPostReturnFn: () => null,
9050
- isCancellable: false,
9051
- memoryIdx: 0,
9052
- getMemoryFn: () => memory0,
9053
- getReallocFn: () => null,
9054
- importFn: _trampoline16,
9055
- },
9056
- );
9057
- let trampoline17 = _trampoline17.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9058
- null,
9059
- {
9060
- trampolineIdx: 17,
9061
- componentIdx: 0,
9062
- isAsync: false,
9063
- isManualAsync: _trampoline17.manuallyAsync,
9064
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9065
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 1), 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: _trampoline17,
9074
- },
9075
- )) : _lowerImportBackwardsCompat.bind(
9076
- null,
9077
- {
9078
- trampolineIdx: 17,
9079
- componentIdx: 0,
9080
- isAsync: false,
9081
- isManualAsync: _trampoline17.manuallyAsync,
9082
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9083
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 1), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9084
- funcTypeIsAsync: false,
9085
- getCallbackFn: () => null,
9086
- getPostReturnFn: () => null,
9087
- isCancellable: false,
9088
- memoryIdx: 0,
9089
- getMemoryFn: () => memory0,
9090
- getReallocFn: () => null,
9091
- importFn: _trampoline17,
9092
- },
9093
- );
9094
- let trampoline18 = _trampoline18.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9095
- null,
9096
- {
9097
- trampolineIdx: 18,
9098
- componentIdx: 0,
9099
- isAsync: false,
9100
- isManualAsync: _trampoline18.manuallyAsync,
9101
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
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: _trampoline18,
9111
- },
9112
- )) : _lowerImportBackwardsCompat.bind(
9113
- null,
9114
- {
9115
- trampolineIdx: 18,
9116
- componentIdx: 0,
9117
- isAsync: false,
9118
- isManualAsync: _trampoline18.manuallyAsync,
9119
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
9120
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9121
- funcTypeIsAsync: false,
9122
- getCallbackFn: () => null,
9123
- getPostReturnFn: () => null,
9124
- isCancellable: false,
9125
- memoryIdx: 0,
9126
- getMemoryFn: () => memory0,
9127
- getReallocFn: () => null,
9128
- importFn: _trampoline18,
9129
- },
9130
- );
9131
- let trampoline19 = _trampoline19.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9132
- null,
9133
- {
9134
- trampolineIdx: 19,
9135
- componentIdx: 0,
9136
- isAsync: false,
9137
- isManualAsync: _trampoline19.manuallyAsync,
9138
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9139
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 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: _trampoline19,
9148
- },
9149
- )) : _lowerImportBackwardsCompat.bind(
9150
- null,
9151
- {
9152
- trampolineIdx: 19,
9153
- componentIdx: 0,
9154
- isAsync: false,
9155
- isManualAsync: _trampoline19.manuallyAsync,
9156
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9157
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9158
- funcTypeIsAsync: false,
9159
- getCallbackFn: () => null,
9160
- getPostReturnFn: () => null,
9161
- isCancellable: false,
9162
- memoryIdx: 0,
9163
- getMemoryFn: () => memory0,
9164
- getReallocFn: () => null,
9165
- importFn: _trampoline19,
9166
- },
9167
- );
9168
- let trampoline20 = _trampoline20.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9169
- null,
9170
- {
9171
- trampolineIdx: 20,
9172
- componentIdx: 0,
9173
- isAsync: false,
9174
- isManualAsync: _trampoline20.manuallyAsync,
9175
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9176
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 5), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9177
- funcTypeIsAsync: false,
9178
- getCallbackFn: () => null,
9179
- getPostReturnFn: () => null,
9180
- isCancellable: false,
9181
- memoryIdx: 0,
9182
- getMemoryFn: () => memory0,
9183
- getReallocFn: () => null,
9184
- importFn: _trampoline20,
9185
- },
9186
- )) : _lowerImportBackwardsCompat.bind(
9187
- null,
9188
- {
9189
- trampolineIdx: 20,
9190
- componentIdx: 0,
9191
- isAsync: false,
9192
- isManualAsync: _trampoline20.manuallyAsync,
9193
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9194
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 5), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9195
- funcTypeIsAsync: false,
9196
- getCallbackFn: () => null,
9197
- getPostReturnFn: () => null,
9198
- isCancellable: false,
9199
- memoryIdx: 0,
9200
- getMemoryFn: () => memory0,
9201
- getReallocFn: () => null,
9202
- importFn: _trampoline20,
9203
- },
9204
- );
9205
- let trampoline21 = _trampoline21.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9206
- null,
9207
- {
9208
- trampolineIdx: 21,
9209
- componentIdx: 0,
9210
- isAsync: false,
9211
- isManualAsync: _trampoline21.manuallyAsync,
9212
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
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: _trampoline21,
9222
- },
9223
- )) : _lowerImportBackwardsCompat.bind(
9224
- null,
9225
- {
9226
- trampolineIdx: 21,
9227
- componentIdx: 0,
9228
- isAsync: false,
9229
- isManualAsync: _trampoline21.manuallyAsync,
9230
- paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9231
- 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 ],])],
9232
- funcTypeIsAsync: false,
9233
- getCallbackFn: () => null,
9234
- getPostReturnFn: () => null,
9235
- isCancellable: false,
9236
- memoryIdx: 0,
9237
- getMemoryFn: () => memory0,
9238
- getReallocFn: () => null,
9239
- importFn: _trampoline21,
9240
- },
9241
- );
9242
- let trampoline22 = _trampoline22.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9243
- null,
9244
- {
9245
- trampolineIdx: 22,
9246
- componentIdx: 0,
9247
- isAsync: false,
9248
- isManualAsync: _trampoline22.manuallyAsync,
9249
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9250
- 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 ],])],
9251
- funcTypeIsAsync: false,
9252
- getCallbackFn: () => null,
9253
- getPostReturnFn: () => null,
9254
- isCancellable: false,
9255
- memoryIdx: 0,
9256
- getMemoryFn: () => memory0,
9257
- getReallocFn: () => null,
9258
- importFn: _trampoline22,
9259
- },
9260
- )) : _lowerImportBackwardsCompat.bind(
9261
- null,
9262
- {
9263
- trampolineIdx: 22,
9264
- componentIdx: 0,
9265
- isAsync: false,
9266
- isManualAsync: _trampoline22.manuallyAsync,
9267
- paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
9268
- 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 ],])],
9269
- funcTypeIsAsync: false,
9270
- getCallbackFn: () => null,
9271
- getPostReturnFn: () => null,
9272
- isCancellable: false,
9273
- memoryIdx: 0,
9274
- getMemoryFn: () => memory0,
9275
- getReallocFn: () => null,
9276
- importFn: _trampoline22,
9277
- },
9278
- );
9279
- let trampoline23 = _trampoline23.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9280
- null,
9281
- {
9282
- trampolineIdx: 23,
9283
- componentIdx: 0,
9284
- isAsync: false,
9285
- isManualAsync: _trampoline23.manuallyAsync,
9286
- 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 })],
9287
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 6), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9288
- funcTypeIsAsync: false,
9289
- getCallbackFn: () => null,
9290
- getPostReturnFn: () => null,
9291
- isCancellable: false,
9292
- memoryIdx: 0,
9293
- getMemoryFn: () => memory0,
9294
- getReallocFn: () => null,
9295
- importFn: _trampoline23,
9296
- },
9297
- )) : _lowerImportBackwardsCompat.bind(
9298
- null,
9299
- {
9300
- trampolineIdx: 23,
9301
- componentIdx: 0,
9302
- isAsync: false,
9303
- isManualAsync: _trampoline23.manuallyAsync,
9304
- 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 })],
9305
- resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 6), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
9306
- funcTypeIsAsync: false,
9307
- getCallbackFn: () => null,
9308
- getPostReturnFn: () => null,
9309
- isCancellable: false,
9310
- memoryIdx: 0,
9311
- getMemoryFn: () => memory0,
9312
- getReallocFn: () => null,
9313
- importFn: _trampoline23,
9314
- },
9315
- );
9316
- let trampoline24 = _trampoline24.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9317
- null,
9318
- {
9319
- trampolineIdx: 24,
9320
- componentIdx: 0,
9321
- isAsync: false,
9322
- isManualAsync: _trampoline24.manuallyAsync,
9323
- paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
9324
- 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 ],])],
9325
- funcTypeIsAsync: false,
9326
- getCallbackFn: () => null,
9327
- getPostReturnFn: () => null,
9328
- isCancellable: false,
9329
- memoryIdx: 0,
9330
- getMemoryFn: () => memory0,
9331
- getReallocFn: () => realloc0,
9332
- importFn: _trampoline24,
9333
- },
9334
- )) : _lowerImportBackwardsCompat.bind(
9335
- null,
9336
- {
9337
- trampolineIdx: 24,
9338
- componentIdx: 0,
9339
- isAsync: false,
9340
- isManualAsync: _trampoline24.manuallyAsync,
9341
- paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
9342
- 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 ],])],
9343
- funcTypeIsAsync: false,
9344
- getCallbackFn: () => null,
9345
- getPostReturnFn: () => null,
9346
- isCancellable: false,
9347
- memoryIdx: 0,
9348
- getMemoryFn: () => memory0,
9349
- getReallocFn: () => realloc0,
9350
- importFn: _trampoline24,
9351
- },
9352
- );
9353
- let trampoline25 = _trampoline25.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9354
- null,
9355
- {
9356
- trampolineIdx: 25,
9357
- componentIdx: 0,
9358
- isAsync: false,
9359
- isManualAsync: _trampoline25.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: _trampoline25,
9370
- },
9371
- )) : _lowerImportBackwardsCompat.bind(
9372
- null,
9373
- {
9374
- trampolineIdx: 25,
9375
- componentIdx: 0,
9376
- isAsync: false,
9377
- isManualAsync: _trampoline25.manuallyAsync,
9378
- paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
9379
- 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 ],])],
9380
- funcTypeIsAsync: false,
9381
- getCallbackFn: () => null,
9382
- getPostReturnFn: () => null,
9383
- isCancellable: false,
9384
- memoryIdx: 0,
9385
- getMemoryFn: () => memory0,
9386
- getReallocFn: () => realloc0,
9387
- importFn: _trampoline25,
9388
- },
9389
- );
9390
- let trampoline26 = _trampoline26.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9391
- null,
9392
- {
9393
- trampolineIdx: 26,
9394
- componentIdx: 0,
9395
- isAsync: false,
9396
- isManualAsync: _trampoline26.manuallyAsync,
9397
- paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
9398
- 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 ],])],
9399
- funcTypeIsAsync: false,
9400
- getCallbackFn: () => null,
9401
- getPostReturnFn: () => null,
9402
- isCancellable: false,
9403
- memoryIdx: 0,
9404
- getMemoryFn: () => memory0,
9405
- getReallocFn: () => realloc0,
9406
- importFn: _trampoline26,
9407
- },
9408
- )) : _lowerImportBackwardsCompat.bind(
9409
- null,
9410
- {
9411
- trampolineIdx: 26,
9412
- componentIdx: 0,
9413
- isAsync: false,
9414
- isManualAsync: _trampoline26.manuallyAsync,
9415
- paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
9416
- 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 ],])],
9417
- funcTypeIsAsync: false,
9418
- getCallbackFn: () => null,
9419
- getPostReturnFn: () => null,
9420
- isCancellable: false,
9421
- memoryIdx: 0,
9422
- getMemoryFn: () => memory0,
9423
- getReallocFn: () => realloc0,
9424
- importFn: _trampoline26,
9425
- },
9426
- );
9427
- let trampoline27 = _trampoline27.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9428
- null,
9429
- {
9430
- trampolineIdx: 27,
9431
- componentIdx: 0,
9432
- isAsync: false,
9433
- isManualAsync: _trampoline27.manuallyAsync,
9434
- paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
9435
- 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 ],])],
9436
- funcTypeIsAsync: false,
9437
- getCallbackFn: () => null,
9438
- getPostReturnFn: () => null,
9439
- isCancellable: false,
9440
- memoryIdx: 0,
9441
- getMemoryFn: () => memory0,
9442
- getReallocFn: () => null,
9443
- importFn: _trampoline27,
9444
- },
9445
- )) : _lowerImportBackwardsCompat.bind(
9446
- null,
9447
- {
9448
- trampolineIdx: 27,
9449
- componentIdx: 0,
9450
- isAsync: false,
9451
- isManualAsync: _trampoline27.manuallyAsync,
9452
- paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
9453
- 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 ],])],
9454
- funcTypeIsAsync: false,
9455
- getCallbackFn: () => null,
9456
- getPostReturnFn: () => null,
9457
- isCancellable: false,
9458
- memoryIdx: 0,
9459
- getMemoryFn: () => memory0,
9460
- getReallocFn: () => null,
9461
- importFn: _trampoline27,
9462
- },
9463
- );
9464
- let trampoline28 = _trampoline28.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9465
- null,
9466
- {
9467
- trampolineIdx: 28,
9468
- componentIdx: 0,
9469
- isAsync: false,
9470
- isManualAsync: _trampoline28.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: _trampoline28,
9481
- },
9482
- )) : _lowerImportBackwardsCompat.bind(
9483
- null,
9484
- {
9485
- trampolineIdx: 28,
9486
- componentIdx: 0,
9487
- isAsync: false,
9488
- isManualAsync: _trampoline28.manuallyAsync,
9489
- paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
9490
- 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 ],])],
9491
- funcTypeIsAsync: false,
9492
- getCallbackFn: () => null,
9493
- getPostReturnFn: () => null,
9494
- isCancellable: false,
9495
- memoryIdx: 0,
9496
- getMemoryFn: () => memory0,
9497
- getReallocFn: () => null,
9498
- importFn: _trampoline28,
9499
- },
9500
- );
9501
- let trampoline29 = _trampoline29.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9502
- null,
9503
- {
9504
- trampolineIdx: 29,
9505
- componentIdx: 0,
9506
- isAsync: false,
9507
- isManualAsync: _trampoline29.manuallyAsync,
9508
- paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
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: _trampoline29,
9518
- },
9519
- )) : _lowerImportBackwardsCompat.bind(
9520
- null,
9521
- {
9522
- trampolineIdx: 29,
9523
- componentIdx: 0,
9524
- isAsync: false,
9525
- isManualAsync: _trampoline29.manuallyAsync,
9526
- paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
9527
- 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 ],])],
9528
- funcTypeIsAsync: false,
9529
- getCallbackFn: () => null,
9530
- getPostReturnFn: () => null,
9531
- isCancellable: false,
9532
- memoryIdx: 0,
9533
- getMemoryFn: () => memory0,
9534
- getReallocFn: () => null,
9535
- importFn: _trampoline29,
9536
- },
9537
- );
9538
- let trampoline30 = _trampoline30.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9539
- null,
9540
- {
9541
- trampolineIdx: 30,
9542
- componentIdx: 0,
9543
- isAsync: false,
9544
- isManualAsync: _trampoline30.manuallyAsync,
9545
- paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
9546
- 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 ],])],
9547
- funcTypeIsAsync: false,
9548
- getCallbackFn: () => null,
9549
- getPostReturnFn: () => null,
9550
- isCancellable: false,
9551
- memoryIdx: 0,
9552
- getMemoryFn: () => memory0,
9553
- getReallocFn: () => null,
9554
- importFn: _trampoline30,
9555
- },
9556
- )) : _lowerImportBackwardsCompat.bind(
9557
- null,
9558
- {
9559
- trampolineIdx: 30,
9560
- componentIdx: 0,
9561
- isAsync: false,
9562
- isManualAsync: _trampoline30.manuallyAsync,
9563
- paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
9564
- 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 ],])],
9565
- funcTypeIsAsync: false,
9566
- getCallbackFn: () => null,
9567
- getPostReturnFn: () => null,
9568
- isCancellable: false,
9569
- memoryIdx: 0,
9570
- getMemoryFn: () => memory0,
9571
- getReallocFn: () => null,
9572
- importFn: _trampoline30,
9573
- },
9574
- );
9575
- let trampoline31 = _trampoline31.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9576
- null,
9577
- {
9578
- trampolineIdx: 31,
9579
- componentIdx: 0,
9580
- isAsync: false,
9581
- isManualAsync: _trampoline31.manuallyAsync,
9582
- paramLiftFns: [_liftFlatU64],
9583
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 })],
9584
- funcTypeIsAsync: false,
9585
- getCallbackFn: () => null,
9586
- getPostReturnFn: () => null,
9587
- isCancellable: false,
9588
- memoryIdx: 0,
9589
- getMemoryFn: () => memory0,
9590
- getReallocFn: () => realloc0,
9591
- importFn: _trampoline31,
9592
- },
9593
- )) : _lowerImportBackwardsCompat.bind(
9594
- null,
9595
- {
9596
- trampolineIdx: 31,
9597
- componentIdx: 0,
9598
- isAsync: false,
9599
- isManualAsync: _trampoline31.manuallyAsync,
9600
- paramLiftFns: [_liftFlatU64],
9601
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 })],
9602
- funcTypeIsAsync: false,
9603
- getCallbackFn: () => null,
9604
- getPostReturnFn: () => null,
9605
- isCancellable: false,
9606
- memoryIdx: 0,
9607
- getMemoryFn: () => memory0,
9608
- getReallocFn: () => realloc0,
9609
- importFn: _trampoline31,
9610
- },
9611
- );
9612
- let trampoline32 = _trampoline32.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9613
- null,
9614
- {
9615
- trampolineIdx: 32,
9616
- componentIdx: 0,
9617
- isAsync: false,
9618
- isManualAsync: _trampoline32.manuallyAsync,
9619
- paramLiftFns: [],
9620
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 30), typeIdx: 2 })],
9621
- funcTypeIsAsync: false,
9622
- getCallbackFn: () => null,
9623
- getPostReturnFn: () => null,
9624
- isCancellable: false,
9625
- memoryIdx: 0,
9626
- getMemoryFn: () => memory0,
9627
- getReallocFn: () => realloc0,
9628
- importFn: _trampoline32,
9629
- },
9630
- )) : _lowerImportBackwardsCompat.bind(
9631
- null,
9632
- {
9633
- trampolineIdx: 32,
9634
- componentIdx: 0,
9635
- isAsync: false,
9636
- isManualAsync: _trampoline32.manuallyAsync,
9637
- paramLiftFns: [],
9638
- resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 30), typeIdx: 2 })],
9639
- funcTypeIsAsync: false,
9640
- getCallbackFn: () => null,
9641
- getPostReturnFn: () => null,
9642
- isCancellable: false,
9643
- memoryIdx: 0,
9644
- getMemoryFn: () => memory0,
9645
- getReallocFn: () => realloc0,
9646
- importFn: _trampoline32,
9647
- },
9648
- );
9649
- let trampoline33 = _trampoline33.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9650
- null,
9651
- {
9652
- trampolineIdx: 33,
9653
- componentIdx: 0,
9654
- isAsync: false,
9655
- isManualAsync: _trampoline33.manuallyAsync,
9656
- paramLiftFns: [],
9657
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 3), 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: _trampoline33,
9666
- },
9667
- )) : _lowerImportBackwardsCompat.bind(
9668
- null,
9669
- {
9670
- trampolineIdx: 33,
9671
- componentIdx: 0,
9672
- isAsync: false,
9673
- isManualAsync: _trampoline33.manuallyAsync,
9674
- paramLiftFns: [],
9675
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 3), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9676
- funcTypeIsAsync: false,
9677
- getCallbackFn: () => null,
9678
- getPostReturnFn: () => null,
9679
- isCancellable: false,
9680
- memoryIdx: 0,
9681
- getMemoryFn: () => memory0,
9682
- getReallocFn: () => null,
9683
- importFn: _trampoline33,
9684
- },
9685
- );
9686
- let trampoline34 = _trampoline34.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9687
- null,
9688
- {
9689
- trampolineIdx: 34,
9690
- componentIdx: 0,
9691
- isAsync: false,
9692
- isManualAsync: _trampoline34.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: _trampoline34,
9703
- },
9704
- )) : _lowerImportBackwardsCompat.bind(
9705
- null,
9706
- {
9707
- trampolineIdx: 34,
9708
- componentIdx: 0,
9709
- isAsync: false,
9710
- isManualAsync: _trampoline34.manuallyAsync,
9711
- paramLiftFns: [],
9712
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9713
- funcTypeIsAsync: false,
9714
- getCallbackFn: () => null,
9715
- getPostReturnFn: () => null,
9716
- isCancellable: false,
9717
- memoryIdx: 0,
9718
- getMemoryFn: () => memory0,
9719
- getReallocFn: () => null,
9720
- importFn: _trampoline34,
9721
- },
9722
- );
9723
- let trampoline35 = _trampoline35.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9724
- null,
9725
- {
9726
- trampolineIdx: 35,
9727
- componentIdx: 0,
9728
- isAsync: false,
9729
- isManualAsync: _trampoline35.manuallyAsync,
9730
- paramLiftFns: [],
9731
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9732
- funcTypeIsAsync: false,
9733
- getCallbackFn: () => null,
9734
- getPostReturnFn: () => null,
9735
- isCancellable: false,
9736
- memoryIdx: 0,
9737
- getMemoryFn: () => memory0,
9738
- getReallocFn: () => null,
9739
- importFn: _trampoline35,
9740
- },
9741
- )) : _lowerImportBackwardsCompat.bind(
9742
- null,
9743
- {
9744
- trampolineIdx: 35,
9745
- componentIdx: 0,
9746
- isAsync: false,
9747
- isManualAsync: _trampoline35.manuallyAsync,
9748
- paramLiftFns: [],
9749
- resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
9750
- funcTypeIsAsync: false,
9751
- getCallbackFn: () => null,
9752
- getPostReturnFn: () => null,
9753
- isCancellable: false,
9754
- memoryIdx: 0,
9755
- getMemoryFn: () => memory0,
9756
- getReallocFn: () => null,
9757
- importFn: _trampoline35,
9758
- },
9759
- );
9760
- let toolsParse;
9761
-
9762
- function parse(arg0) {
9763
- if (!_initialized) throwUninitialized();
9764
-
9765
- var encodeRes = _utf8AllocateAndEncode(arg0, realloc1, memory0);
9766
- var ptr0= encodeRes.ptr;
9767
- var len0 = encodeRes.len;
9768
-
9769
- _debugLog('[iface="local:wasm-tools/tools", function="parse"][Instruction::CallWasm] enter', {
9770
- funcName: 'parse',
9771
- paramCount: 2,
9772
- async: false,
9773
- postReturn: true,
9774
- });
9775
- const hostProvided = false;
9776
-
9777
- const [task, _wasm_call_currentTaskID] = createNewCurrentTask({
9778
- componentIdx: 0,
9779
- isAsync: false,
9780
- isManualAsync: false,
9781
- entryFnName: 'toolsParse',
9782
- getCallbackFn: () => null,
9783
- callbackFnName: 'null',
9784
- errHandling: 'throw-result-err',
9785
- callingWasmExport: true,
9786
- });
9787
-
9788
- const started = task.enterSync();
9789
- task.setReturnMemoryIdx(0);
9790
- task.setReturnMemory(memory0);
9791
- let ret = _withGlobalCurrentTaskMeta({
9792
- taskID: task.id(),
9793
- componentIdx: task.componentIdx(),
9794
- fn: () => toolsParse(ptr0, len0),
9795
- });
9796
-
9797
- let variant3;
9798
- switch (dataView(memory0).getUint8(ret + 0, true)) {
9799
- case 0: {
9800
- var ptr1 = dataView(memory0).getUint32(ret + 4, true);
9801
- var len1 = dataView(memory0).getUint32(ret + 8, true);
9802
- var result1 = new Uint8Array(memory0.buffer.slice(ptr1, ptr1 + len1 * 1));
9803
- variant3= {
9804
- tag: 'ok',
9805
- val: result1
9806
- };
9807
- break;
9808
- }
9809
- case 1: {
9810
- var ptr2 = dataView(memory0).getUint32(ret + 4, true);
9811
- var len2 = dataView(memory0).getUint32(ret + 8, true);
9812
- var result2 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr2, len2));
9813
- variant3= {
9814
- tag: 'err',
9815
- val: result2
9816
- };
9817
- break;
9818
- }
9819
- default: {
9820
- throw new TypeError('invalid variant discriminant for expected');
9821
- }
9822
- }
9823
- _debugLog('[iface="local:wasm-tools/tools", function="parse"][Instruction::Return]', {
9824
- funcName: 'parse',
9825
- paramCount: 1,
9826
- async: false,
9827
- postReturn: true
9828
- });
9829
- const retCopy = variant3;
9830
- task.resolve([retCopy.val]);
9831
-
9832
- let cstate = getOrCreateAsyncState(0);
9833
- cstate.mayLeave = false;
9834
- postReturn0(ret);
9835
- cstate.mayLeave = true;
9836
- task.exit();
9837
-
9838
-
9839
-
9840
- if (typeof retCopy === 'object' && retCopy.tag === 'err') {
9841
- throw new ComponentError(retCopy.val);
9842
- }
9843
- return retCopy.val;
9844
-
9845
- }
9846
- let toolsPrint;
9847
-
9848
- function print(arg0) {
9849
- if (!_initialized) throwUninitialized();
9850
- var val0 = arg0;
9851
- var len0 = Array.isArray(val0) ? val0.length : val0.byteLength;
9852
- var ptr0 = realloc1(0, 0, 1, len0 * 1);
9853
-
9854
- let valData0;
9855
- const valLenBytes0 = len0 * 1;
9856
- if (Array.isArray(val0)) {
9857
- // Regular array likely containing numbers, write values to memory
9858
- let offset = 0;
9859
- const dv0 = new DataView(memory0.buffer);
9860
- for (const v of val0) {
9861
- dv0.setUint8(ptr0+ offset, v, true);
9862
- offset += 1;
9863
- }
9864
- } else {
9865
- // TypedArray / ArrayBuffer-like, direct copy
9866
- valData0 = new Uint8Array(val0.buffer || val0, val0.byteOffset, valLenBytes0);
9867
- const out0 = new Uint8Array(memory0.buffer, ptr0,valLenBytes0);
9868
- out0.set(valData0);
9869
- }
9870
-
9871
- _debugLog('[iface="local:wasm-tools/tools", function="print"][Instruction::CallWasm] enter', {
9872
- funcName: 'print',
9873
- paramCount: 2,
9874
- async: false,
9875
- postReturn: true,
9876
- });
9877
- const hostProvided = false;
9878
-
9879
- const [task, _wasm_call_currentTaskID] = createNewCurrentTask({
9880
- componentIdx: 0,
9881
- isAsync: false,
9882
- isManualAsync: false,
9883
- entryFnName: 'toolsPrint',
9884
- getCallbackFn: () => null,
9885
- callbackFnName: 'null',
9886
- errHandling: 'throw-result-err',
9887
- callingWasmExport: true,
9888
- });
9889
-
9890
- const started = task.enterSync();
9891
- task.setReturnMemoryIdx(0);
9892
- task.setReturnMemory(memory0);
9893
- let ret = _withGlobalCurrentTaskMeta({
9894
- taskID: task.id(),
9895
- componentIdx: task.componentIdx(),
9896
- fn: () => toolsPrint(ptr0, len0),
9897
- });
9898
-
9899
- let variant3;
9900
- switch (dataView(memory0).getUint8(ret + 0, true)) {
9901
- case 0: {
9902
- var ptr1 = dataView(memory0).getUint32(ret + 4, true);
9903
- var len1 = dataView(memory0).getUint32(ret + 8, true);
9904
- var result1 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr1, len1));
9905
- variant3= {
9906
- tag: 'ok',
9907
- val: result1
9908
- };
9909
- break;
9910
- }
9911
- case 1: {
9912
- var ptr2 = dataView(memory0).getUint32(ret + 4, true);
9913
- var len2 = dataView(memory0).getUint32(ret + 8, true);
9914
- var result2 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr2, len2));
9915
- variant3= {
9916
- tag: 'err',
9917
- val: result2
9918
- };
9919
- break;
9920
- }
9921
- default: {
9922
- throw new TypeError('invalid variant discriminant for expected');
9923
- }
9924
- }
9925
- _debugLog('[iface="local:wasm-tools/tools", function="print"][Instruction::Return]', {
9926
- funcName: 'print',
9927
- paramCount: 1,
9928
- async: false,
9929
- postReturn: true
9930
- });
9931
- const retCopy = variant3;
9932
- task.resolve([retCopy.val]);
9933
-
9934
- let cstate = getOrCreateAsyncState(0);
9935
- cstate.mayLeave = false;
9936
- postReturn0(ret);
9937
- cstate.mayLeave = true;
9938
- task.exit();
9939
-
9940
-
9941
-
9942
- if (typeof retCopy === 'object' && retCopy.tag === 'err') {
9943
- throw new ComponentError(retCopy.val);
9944
- }
9945
- return retCopy.val;
9946
-
9947
- }
9948
- let toolsComponentNew;
9949
-
9950
- function componentNew(arg0, arg1) {
9951
- if (!_initialized) throwUninitialized();
9952
- var val0 = arg0;
9953
- var len0 = Array.isArray(val0) ? val0.length : val0.byteLength;
9954
- var ptr0 = realloc1(0, 0, 1, len0 * 1);
9955
-
9956
- let valData0;
9957
- const valLenBytes0 = len0 * 1;
9958
- if (Array.isArray(val0)) {
9959
- // Regular array likely containing numbers, write values to memory
9960
- let offset = 0;
9961
- const dv0 = new DataView(memory0.buffer);
9962
- for (const v of val0) {
9963
- dv0.setUint8(ptr0+ offset, v, true);
9964
- offset += 1;
9965
- }
9966
- } else {
9967
- // TypedArray / ArrayBuffer-like, direct copy
9968
- valData0 = new Uint8Array(val0.buffer || val0, val0.byteOffset, valLenBytes0);
9969
- const out0 = new Uint8Array(memory0.buffer, ptr0,valLenBytes0);
9970
- out0.set(valData0);
9971
- }
9972
-
9973
- var variant5 = arg1;
9974
- let variant5_0;
9975
- let variant5_1;
9976
- let variant5_2;
9977
- if (variant5 === null || variant5=== undefined) {
9978
- variant5_0 = 0;
9979
- variant5_1 = 0;
9980
- variant5_2 = 0;
9981
- } else {
9982
- const e = variant5;
9983
- var vec4 = e;
9984
- var len4 = vec4.length;
9985
- var result4 = realloc1(0, 0, 4, len4 * 16);
9986
- for (let i = 0; i < vec4.length; i++) {
9987
- const e = vec4[i];
9988
- const base = result4 + i * 16;var [tuple1_0, tuple1_1] = e;
9989
-
9990
- var encodeRes = _utf8AllocateAndEncode(tuple1_0, realloc1, memory0);
9991
- var ptr2= encodeRes.ptr;
9992
- var len2 = encodeRes.len;
9993
-
9994
- dataView(memory0).setUint32(base + 4, len2, true);
9995
- dataView(memory0).setUint32(base + 0, ptr2, true);
9996
- var val3 = tuple1_1;
9997
- var len3 = Array.isArray(val3) ? val3.length : val3.byteLength;
9998
- var ptr3 = realloc1(0, 0, 1, len3 * 1);
9999
-
10000
- let valData3;
10001
- const valLenBytes3 = len3 * 1;
10002
- if (Array.isArray(val3)) {
10003
- // Regular array likely containing numbers, write values to memory
10004
- let offset = 0;
10005
- const dv3 = new DataView(memory0.buffer);
10006
- for (const v of val3) {
10007
- dv3.setUint8(ptr3+ offset, v, true);
10008
- offset += 1;
10009
- }
10010
- } else {
10011
- // TypedArray / ArrayBuffer-like, direct copy
10012
- valData3 = new Uint8Array(val3.buffer || val3, val3.byteOffset, valLenBytes3);
10013
- const out3 = new Uint8Array(memory0.buffer, ptr3,valLenBytes3);
10014
- out3.set(valData3);
10015
- }
10016
-
10017
- dataView(memory0).setUint32(base + 12, len3, true);
10018
- dataView(memory0).setUint32(base + 8, ptr3, true);
10019
- }
10020
- variant5_0 = 1;
10021
- variant5_1 = result4;
10022
- variant5_2 = len4;
10023
- }
10024
- _debugLog('[iface="local:wasm-tools/tools", function="component-new"][Instruction::CallWasm] enter', {
10025
- funcName: 'component-new',
10026
- paramCount: 5,
10027
- async: false,
10028
- postReturn: true,
10029
- });
10030
- const hostProvided = false;
10031
-
10032
- const [task, _wasm_call_currentTaskID] = createNewCurrentTask({
10033
- componentIdx: 0,
10034
- isAsync: false,
10035
- isManualAsync: false,
10036
- entryFnName: 'toolsComponentNew',
10037
- getCallbackFn: () => null,
10038
- callbackFnName: 'null',
10039
- errHandling: 'throw-result-err',
10040
- callingWasmExport: true,
10041
- });
10042
-
10043
- const started = task.enterSync();
10044
- task.setReturnMemoryIdx(0);
10045
- task.setReturnMemory(memory0);
10046
- let ret = _withGlobalCurrentTaskMeta({
10047
- taskID: task.id(),
10048
- componentIdx: task.componentIdx(),
10049
- fn: () => toolsComponentNew(ptr0, len0, variant5_0, variant5_1, variant5_2),
10050
- });
10051
-
10052
- let variant8;
10053
- switch (dataView(memory0).getUint8(ret + 0, true)) {
10054
- case 0: {
10055
- var ptr6 = dataView(memory0).getUint32(ret + 4, true);
10056
- var len6 = dataView(memory0).getUint32(ret + 8, true);
10057
- var result6 = new Uint8Array(memory0.buffer.slice(ptr6, ptr6 + len6 * 1));
10058
- variant8= {
10059
- tag: 'ok',
10060
- val: result6
10061
- };
10062
- break;
10063
- }
10064
- case 1: {
10065
- var ptr7 = dataView(memory0).getUint32(ret + 4, true);
10066
- var len7 = dataView(memory0).getUint32(ret + 8, true);
10067
- var result7 = TEXT_DECODER_UTF8.decode(new Uint8Array(memory0.buffer, ptr7, len7));
10068
- variant8= {
10069
- tag: 'err',
10070
- val: result7
10071
- };
10072
- break;
10073
- }
10074
- default: {
10075
- throw new TypeError('invalid variant discriminant for expected');
10076
- }
10077
- }
10078
- _debugLog('[iface="local:wasm-tools/tools", function="component-new"][Instruction::Return]', {
10079
- funcName: 'component-new',
10080
- paramCount: 1,
10081
- async: false,
10082
- postReturn: true
10083
- });
10084
- const retCopy = variant8;
10085
- task.resolve([retCopy.val]);
10086
-
10087
- let cstate = getOrCreateAsyncState(0);
10088
- cstate.mayLeave = false;
10089
- postReturn0(ret);
10090
- cstate.mayLeave = true;
10091
- task.exit();
10092
-
10093
-
10094
-
10095
- if (typeof retCopy === 'object' && retCopy.tag === 'err') {
10096
- throw new ComponentError(retCopy.val);
10097
- }
10098
- return retCopy.val;
10099
-
8937
+ return retCopy.val;
8938
+
10100
8939
  }
10101
8940
  let toolsComponentWit;
10102
8941
 
@@ -10801,6 +9640,1170 @@ function metadataAdd(arg0, arg1) {
10801
9640
  return retCopy.val;
10802
9641
 
10803
9642
  }
9643
+ function trampoline0(handle) {
9644
+ const handleEntry = rscTableRemove(handleTable5, handle);
9645
+ if (handleEntry.own) {
9646
+
9647
+ const rsc = captureTable5.get(handleEntry.rep);
9648
+ if (rsc) {
9649
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9650
+ captureTable5.delete(handleEntry.rep);
9651
+ } else if (DirectoryEntryStream[symbolCabiDispose]) {
9652
+ DirectoryEntryStream[symbolCabiDispose](handleEntry.rep);
9653
+ }
9654
+ }
9655
+ }
9656
+ function trampoline1(handle) {
9657
+ const handleEntry = rscTableRemove(handleTable2, handle);
9658
+ if (handleEntry.own) {
9659
+
9660
+ const rsc = captureTable2.get(handleEntry.rep);
9661
+ if (rsc) {
9662
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9663
+ captureTable2.delete(handleEntry.rep);
9664
+ } else if (OutputStream[symbolCabiDispose]) {
9665
+ OutputStream[symbolCabiDispose](handleEntry.rep);
9666
+ }
9667
+ }
9668
+ }
9669
+ function trampoline2(handle) {
9670
+ const handleEntry = rscTableRemove(handleTable0, handle);
9671
+ if (handleEntry.own) {
9672
+
9673
+ const rsc = captureTable0.get(handleEntry.rep);
9674
+ if (rsc) {
9675
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9676
+ captureTable0.delete(handleEntry.rep);
9677
+ } else if (Error$1[symbolCabiDispose]) {
9678
+ Error$1[symbolCabiDispose](handleEntry.rep);
9679
+ }
9680
+ }
9681
+ }
9682
+ function trampoline3(handle) {
9683
+ const handleEntry = rscTableRemove(handleTable1, handle);
9684
+ if (handleEntry.own) {
9685
+
9686
+ const rsc = captureTable1.get(handleEntry.rep);
9687
+ if (rsc) {
9688
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9689
+ captureTable1.delete(handleEntry.rep);
9690
+ } else if (InputStream[symbolCabiDispose]) {
9691
+ InputStream[symbolCabiDispose](handleEntry.rep);
9692
+ }
9693
+ }
9694
+ }
9695
+ function trampoline4(handle) {
9696
+ const handleEntry = rscTableRemove(handleTable6, handle);
9697
+ if (handleEntry.own) {
9698
+
9699
+ const rsc = captureTable6.get(handleEntry.rep);
9700
+ if (rsc) {
9701
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9702
+ captureTable6.delete(handleEntry.rep);
9703
+ } else if (Descriptor[symbolCabiDispose]) {
9704
+ Descriptor[symbolCabiDispose](handleEntry.rep);
9705
+ }
9706
+ }
9707
+ }
9708
+ let trampoline5 = _trampoline5.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9709
+ null,
9710
+ {
9711
+ trampolineIdx: 5,
9712
+ componentIdx: 0,
9713
+ isAsync: false,
9714
+ isManualAsync: _trampoline5.manuallyAsync,
9715
+ paramLiftFns: [],
9716
+ resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
9717
+ funcTypeIsAsync: false,
9718
+ getCallbackFn: () => null,
9719
+ getPostReturnFn: () => null,
9720
+ isCancellable: false,
9721
+ memoryIdx: null,
9722
+ getMemoryFn: () => null,
9723
+ getReallocFn: () => null,
9724
+ importFn: _trampoline5,
9725
+ },
9726
+ )) : _lowerImportBackwardsCompat.bind(
9727
+ null,
9728
+ {
9729
+ trampolineIdx: 5,
9730
+ componentIdx: 0,
9731
+ isAsync: false,
9732
+ isManualAsync: _trampoline5.manuallyAsync,
9733
+ paramLiftFns: [],
9734
+ resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
9735
+ funcTypeIsAsync: false,
9736
+ getCallbackFn: () => null,
9737
+ getPostReturnFn: () => null,
9738
+ isCancellable: false,
9739
+ memoryIdx: null,
9740
+ getMemoryFn: () => null,
9741
+ getReallocFn: () => null,
9742
+ importFn: _trampoline5,
9743
+ },
9744
+ );
9745
+ function trampoline6(handle) {
9746
+ const handleEntry = rscTableRemove(handleTable3, handle);
9747
+ if (handleEntry.own) {
9748
+
9749
+ const rsc = captureTable3.get(handleEntry.rep);
9750
+ if (rsc) {
9751
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9752
+ captureTable3.delete(handleEntry.rep);
9753
+ } else if (TerminalInput[symbolCabiDispose]) {
9754
+ TerminalInput[symbolCabiDispose](handleEntry.rep);
9755
+ }
9756
+ }
9757
+ }
9758
+ function trampoline7(handle) {
9759
+ const handleEntry = rscTableRemove(handleTable4, handle);
9760
+ if (handleEntry.own) {
9761
+
9762
+ const rsc = captureTable4.get(handleEntry.rep);
9763
+ if (rsc) {
9764
+ if (rsc[symbolDispose]) rsc[symbolDispose]();
9765
+ captureTable4.delete(handleEntry.rep);
9766
+ } else if (TerminalOutput[symbolCabiDispose]) {
9767
+ TerminalOutput[symbolCabiDispose](handleEntry.rep);
9768
+ }
9769
+ }
9770
+ }
9771
+ let trampoline8 = _trampoline8.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9772
+ null,
9773
+ {
9774
+ trampolineIdx: 8,
9775
+ componentIdx: 0,
9776
+ isAsync: false,
9777
+ isManualAsync: _trampoline8.manuallyAsync,
9778
+ paramLiftFns: [],
9779
+ resultLowerFns: [_lowerFlatOwn.bind(null, 1)],
9780
+ funcTypeIsAsync: false,
9781
+ getCallbackFn: () => null,
9782
+ getPostReturnFn: () => null,
9783
+ isCancellable: false,
9784
+ memoryIdx: null,
9785
+ getMemoryFn: () => null,
9786
+ getReallocFn: () => null,
9787
+ importFn: _trampoline8,
9788
+ },
9789
+ )) : _lowerImportBackwardsCompat.bind(
9790
+ null,
9791
+ {
9792
+ trampolineIdx: 8,
9793
+ componentIdx: 0,
9794
+ isAsync: false,
9795
+ isManualAsync: _trampoline8.manuallyAsync,
9796
+ paramLiftFns: [],
9797
+ resultLowerFns: [_lowerFlatOwn.bind(null, 1)],
9798
+ funcTypeIsAsync: false,
9799
+ getCallbackFn: () => null,
9800
+ getPostReturnFn: () => null,
9801
+ isCancellable: false,
9802
+ memoryIdx: null,
9803
+ getMemoryFn: () => null,
9804
+ getReallocFn: () => null,
9805
+ importFn: _trampoline8,
9806
+ },
9807
+ );
9808
+ let trampoline9 = _trampoline9.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9809
+ null,
9810
+ {
9811
+ trampolineIdx: 9,
9812
+ componentIdx: 0,
9813
+ isAsync: false,
9814
+ isManualAsync: _trampoline9.manuallyAsync,
9815
+ paramLiftFns: [],
9816
+ resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
9817
+ funcTypeIsAsync: false,
9818
+ getCallbackFn: () => null,
9819
+ getPostReturnFn: () => null,
9820
+ isCancellable: false,
9821
+ memoryIdx: null,
9822
+ getMemoryFn: () => null,
9823
+ getReallocFn: () => null,
9824
+ importFn: _trampoline9,
9825
+ },
9826
+ )) : _lowerImportBackwardsCompat.bind(
9827
+ null,
9828
+ {
9829
+ trampolineIdx: 9,
9830
+ componentIdx: 0,
9831
+ isAsync: false,
9832
+ isManualAsync: _trampoline9.manuallyAsync,
9833
+ paramLiftFns: [],
9834
+ resultLowerFns: [_lowerFlatOwn.bind(null, 2)],
9835
+ funcTypeIsAsync: false,
9836
+ getCallbackFn: () => null,
9837
+ getPostReturnFn: () => null,
9838
+ isCancellable: false,
9839
+ memoryIdx: null,
9840
+ getMemoryFn: () => null,
9841
+ getReallocFn: () => null,
9842
+ importFn: _trampoline9,
9843
+ },
9844
+ );
9845
+ let trampoline10 = _trampoline10.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9846
+ null,
9847
+ {
9848
+ trampolineIdx: 10,
9849
+ componentIdx: 0,
9850
+ isAsync: false,
9851
+ isManualAsync: _trampoline10.manuallyAsync,
9852
+ paramLiftFns: [_liftFlatResult([['ok', null, 0, 0, 0],['err', null, 0, 0, 0],])],
9853
+ resultLowerFns: [],
9854
+ funcTypeIsAsync: false,
9855
+ getCallbackFn: () => null,
9856
+ getPostReturnFn: () => null,
9857
+ isCancellable: false,
9858
+ memoryIdx: null,
9859
+ getMemoryFn: () => null,
9860
+ getReallocFn: () => null,
9861
+ importFn: _trampoline10,
9862
+ },
9863
+ )) : _lowerImportBackwardsCompat.bind(
9864
+ null,
9865
+ {
9866
+ trampolineIdx: 10,
9867
+ componentIdx: 0,
9868
+ isAsync: false,
9869
+ isManualAsync: _trampoline10.manuallyAsync,
9870
+ paramLiftFns: [_liftFlatResult([['ok', null, 0, 0, 0],['err', null, 0, 0, 0],])],
9871
+ resultLowerFns: [],
9872
+ funcTypeIsAsync: false,
9873
+ getCallbackFn: () => null,
9874
+ getPostReturnFn: () => null,
9875
+ isCancellable: false,
9876
+ memoryIdx: null,
9877
+ getMemoryFn: () => null,
9878
+ getReallocFn: () => null,
9879
+ importFn: _trampoline10,
9880
+ },
9881
+ );
9882
+ let trampoline11 = _trampoline11.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9883
+ null,
9884
+ {
9885
+ trampolineIdx: 11,
9886
+ componentIdx: 0,
9887
+ isAsync: false,
9888
+ isManualAsync: _trampoline11.manuallyAsync,
9889
+ paramLiftFns: [],
9890
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 0), typeIdx: 0 })],
9891
+ funcTypeIsAsync: false,
9892
+ getCallbackFn: () => null,
9893
+ getPostReturnFn: () => null,
9894
+ isCancellable: false,
9895
+ memoryIdx: 0,
9896
+ getMemoryFn: () => memory0,
9897
+ getReallocFn: () => realloc0,
9898
+ importFn: _trampoline11,
9899
+ },
9900
+ )) : _lowerImportBackwardsCompat.bind(
9901
+ null,
9902
+ {
9903
+ trampolineIdx: 11,
9904
+ componentIdx: 0,
9905
+ isAsync: false,
9906
+ isManualAsync: _trampoline11.manuallyAsync,
9907
+ paramLiftFns: [],
9908
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 0), typeIdx: 0 })],
9909
+ funcTypeIsAsync: false,
9910
+ getCallbackFn: () => null,
9911
+ getPostReturnFn: () => null,
9912
+ isCancellable: false,
9913
+ memoryIdx: 0,
9914
+ getMemoryFn: () => memory0,
9915
+ getReallocFn: () => realloc0,
9916
+ importFn: _trampoline11,
9917
+ },
9918
+ );
9919
+ let trampoline12 = _trampoline12.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9920
+ null,
9921
+ {
9922
+ trampolineIdx: 12,
9923
+ componentIdx: 0,
9924
+ isAsync: false,
9925
+ isManualAsync: _trampoline12.manuallyAsync,
9926
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9927
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatFlags.bind(null, 0), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
9928
+ funcTypeIsAsync: false,
9929
+ getCallbackFn: () => null,
9930
+ getPostReturnFn: () => null,
9931
+ isCancellable: false,
9932
+ memoryIdx: 0,
9933
+ getMemoryFn: () => memory0,
9934
+ getReallocFn: () => null,
9935
+ importFn: _trampoline12,
9936
+ },
9937
+ )) : _lowerImportBackwardsCompat.bind(
9938
+ null,
9939
+ {
9940
+ trampolineIdx: 12,
9941
+ componentIdx: 0,
9942
+ isAsync: false,
9943
+ isManualAsync: _trampoline12.manuallyAsync,
9944
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9945
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatFlags.bind(null, 0), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
9946
+ funcTypeIsAsync: false,
9947
+ getCallbackFn: () => null,
9948
+ getPostReturnFn: () => null,
9949
+ isCancellable: false,
9950
+ memoryIdx: 0,
9951
+ getMemoryFn: () => memory0,
9952
+ getReallocFn: () => null,
9953
+ importFn: _trampoline12,
9954
+ },
9955
+ );
9956
+ let trampoline13 = _trampoline13.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9957
+ null,
9958
+ {
9959
+ trampolineIdx: 13,
9960
+ componentIdx: 0,
9961
+ isAsync: false,
9962
+ isManualAsync: _trampoline13.manuallyAsync,
9963
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9964
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatEnum.bind(null, 1), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
9965
+ funcTypeIsAsync: false,
9966
+ getCallbackFn: () => null,
9967
+ getPostReturnFn: () => null,
9968
+ isCancellable: false,
9969
+ memoryIdx: 0,
9970
+ getMemoryFn: () => memory0,
9971
+ getReallocFn: () => null,
9972
+ importFn: _trampoline13,
9973
+ },
9974
+ )) : _lowerImportBackwardsCompat.bind(
9975
+ null,
9976
+ {
9977
+ trampolineIdx: 13,
9978
+ componentIdx: 0,
9979
+ isAsync: false,
9980
+ isManualAsync: _trampoline13.manuallyAsync,
9981
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
9982
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatEnum.bind(null, 1), 2, 1, 1 ],[ 'err', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],])],
9983
+ funcTypeIsAsync: false,
9984
+ getCallbackFn: () => null,
9985
+ getPostReturnFn: () => null,
9986
+ isCancellable: false,
9987
+ memoryIdx: 0,
9988
+ getMemoryFn: () => memory0,
9989
+ getReallocFn: () => null,
9990
+ importFn: _trampoline13,
9991
+ },
9992
+ );
9993
+ let trampoline14 = _trampoline14.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
9994
+ null,
9995
+ {
9996
+ trampolineIdx: 14,
9997
+ componentIdx: 0,
9998
+ isAsync: false,
9999
+ isManualAsync: _trampoline14.manuallyAsync,
10000
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10001
+ 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 ],])],
10002
+ funcTypeIsAsync: false,
10003
+ getCallbackFn: () => null,
10004
+ getPostReturnFn: () => null,
10005
+ isCancellable: false,
10006
+ memoryIdx: 0,
10007
+ getMemoryFn: () => memory0,
10008
+ getReallocFn: () => null,
10009
+ importFn: _trampoline14,
10010
+ },
10011
+ )) : _lowerImportBackwardsCompat.bind(
10012
+ null,
10013
+ {
10014
+ trampolineIdx: 14,
10015
+ componentIdx: 0,
10016
+ isAsync: false,
10017
+ isManualAsync: _trampoline14.manuallyAsync,
10018
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10019
+ 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 ],])],
10020
+ funcTypeIsAsync: false,
10021
+ getCallbackFn: () => null,
10022
+ getPostReturnFn: () => null,
10023
+ isCancellable: false,
10024
+ memoryIdx: 0,
10025
+ getMemoryFn: () => memory0,
10026
+ getReallocFn: () => null,
10027
+ importFn: _trampoline14,
10028
+ },
10029
+ );
10030
+ let trampoline15 = _trampoline15.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10031
+ null,
10032
+ {
10033
+ trampolineIdx: 15,
10034
+ componentIdx: 0,
10035
+ isAsync: false,
10036
+ isManualAsync: _trampoline15.manuallyAsync,
10037
+ paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
10038
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],[ 'none', null, 2, 1, 1 ],])],
10039
+ funcTypeIsAsync: false,
10040
+ getCallbackFn: () => null,
10041
+ getPostReturnFn: () => null,
10042
+ isCancellable: false,
10043
+ memoryIdx: 0,
10044
+ getMemoryFn: () => memory0,
10045
+ getReallocFn: () => null,
10046
+ importFn: _trampoline15,
10047
+ },
10048
+ )) : _lowerImportBackwardsCompat.bind(
10049
+ null,
10050
+ {
10051
+ trampolineIdx: 15,
10052
+ componentIdx: 0,
10053
+ isAsync: false,
10054
+ isManualAsync: _trampoline15.manuallyAsync,
10055
+ paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
10056
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatEnum.bind(null, 0), 2, 1, 1 ],[ 'none', null, 2, 1, 1 ],])],
10057
+ funcTypeIsAsync: false,
10058
+ getCallbackFn: () => null,
10059
+ getPostReturnFn: () => null,
10060
+ isCancellable: false,
10061
+ memoryIdx: 0,
10062
+ getMemoryFn: () => memory0,
10063
+ getReallocFn: () => null,
10064
+ importFn: _trampoline15,
10065
+ },
10066
+ );
10067
+ let trampoline16 = _trampoline16.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10068
+ null,
10069
+ {
10070
+ trampolineIdx: 16,
10071
+ componentIdx: 0,
10072
+ isAsync: false,
10073
+ isManualAsync: _trampoline16.manuallyAsync,
10074
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
10075
+ 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 ],])],
10076
+ funcTypeIsAsync: false,
10077
+ getCallbackFn: () => null,
10078
+ getPostReturnFn: () => null,
10079
+ isCancellable: false,
10080
+ memoryIdx: 0,
10081
+ getMemoryFn: () => memory0,
10082
+ getReallocFn: () => null,
10083
+ importFn: _trampoline16,
10084
+ },
10085
+ )) : _lowerImportBackwardsCompat.bind(
10086
+ null,
10087
+ {
10088
+ trampolineIdx: 16,
10089
+ componentIdx: 0,
10090
+ isAsync: false,
10091
+ isManualAsync: _trampoline16.manuallyAsync,
10092
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
10093
+ 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 ],])],
10094
+ funcTypeIsAsync: false,
10095
+ getCallbackFn: () => null,
10096
+ getPostReturnFn: () => null,
10097
+ isCancellable: false,
10098
+ memoryIdx: 0,
10099
+ getMemoryFn: () => memory0,
10100
+ getReallocFn: () => null,
10101
+ importFn: _trampoline16,
10102
+ },
10103
+ );
10104
+ let trampoline17 = _trampoline17.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10105
+ null,
10106
+ {
10107
+ trampolineIdx: 17,
10108
+ componentIdx: 0,
10109
+ isAsync: false,
10110
+ isManualAsync: _trampoline17.manuallyAsync,
10111
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
10112
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 1), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10113
+ funcTypeIsAsync: false,
10114
+ getCallbackFn: () => null,
10115
+ getPostReturnFn: () => null,
10116
+ isCancellable: false,
10117
+ memoryIdx: 0,
10118
+ getMemoryFn: () => memory0,
10119
+ getReallocFn: () => null,
10120
+ importFn: _trampoline17,
10121
+ },
10122
+ )) : _lowerImportBackwardsCompat.bind(
10123
+ null,
10124
+ {
10125
+ trampolineIdx: 17,
10126
+ componentIdx: 0,
10127
+ isAsync: false,
10128
+ isManualAsync: _trampoline17.manuallyAsync,
10129
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
10130
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 1), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10131
+ funcTypeIsAsync: false,
10132
+ getCallbackFn: () => null,
10133
+ getPostReturnFn: () => null,
10134
+ isCancellable: false,
10135
+ memoryIdx: 0,
10136
+ getMemoryFn: () => memory0,
10137
+ getReallocFn: () => null,
10138
+ importFn: _trampoline17,
10139
+ },
10140
+ );
10141
+ let trampoline18 = _trampoline18.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10142
+ null,
10143
+ {
10144
+ trampolineIdx: 18,
10145
+ componentIdx: 0,
10146
+ isAsync: false,
10147
+ isManualAsync: _trampoline18.manuallyAsync,
10148
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
10149
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10150
+ funcTypeIsAsync: false,
10151
+ getCallbackFn: () => null,
10152
+ getPostReturnFn: () => null,
10153
+ isCancellable: false,
10154
+ memoryIdx: 0,
10155
+ getMemoryFn: () => memory0,
10156
+ getReallocFn: () => null,
10157
+ importFn: _trampoline18,
10158
+ },
10159
+ )) : _lowerImportBackwardsCompat.bind(
10160
+ null,
10161
+ {
10162
+ trampolineIdx: 18,
10163
+ componentIdx: 0,
10164
+ isAsync: false,
10165
+ isManualAsync: _trampoline18.manuallyAsync,
10166
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
10167
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10168
+ funcTypeIsAsync: false,
10169
+ getCallbackFn: () => null,
10170
+ getPostReturnFn: () => null,
10171
+ isCancellable: false,
10172
+ memoryIdx: 0,
10173
+ getMemoryFn: () => memory0,
10174
+ getReallocFn: () => null,
10175
+ importFn: _trampoline18,
10176
+ },
10177
+ );
10178
+ let trampoline19 = _trampoline19.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10179
+ null,
10180
+ {
10181
+ trampolineIdx: 19,
10182
+ componentIdx: 0,
10183
+ isAsync: false,
10184
+ isManualAsync: _trampoline19.manuallyAsync,
10185
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10186
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10187
+ funcTypeIsAsync: false,
10188
+ getCallbackFn: () => null,
10189
+ getPostReturnFn: () => null,
10190
+ isCancellable: false,
10191
+ memoryIdx: 0,
10192
+ getMemoryFn: () => memory0,
10193
+ getReallocFn: () => null,
10194
+ importFn: _trampoline19,
10195
+ },
10196
+ )) : _lowerImportBackwardsCompat.bind(
10197
+ null,
10198
+ {
10199
+ trampolineIdx: 19,
10200
+ componentIdx: 0,
10201
+ isAsync: false,
10202
+ isManualAsync: _trampoline19.manuallyAsync,
10203
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10204
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 2), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10205
+ funcTypeIsAsync: false,
10206
+ getCallbackFn: () => null,
10207
+ getPostReturnFn: () => null,
10208
+ isCancellable: false,
10209
+ memoryIdx: 0,
10210
+ getMemoryFn: () => memory0,
10211
+ getReallocFn: () => null,
10212
+ importFn: _trampoline19,
10213
+ },
10214
+ );
10215
+ let trampoline20 = _trampoline20.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10216
+ null,
10217
+ {
10218
+ trampolineIdx: 20,
10219
+ componentIdx: 0,
10220
+ isAsync: false,
10221
+ isManualAsync: _trampoline20.manuallyAsync,
10222
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10223
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 5), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10224
+ funcTypeIsAsync: false,
10225
+ getCallbackFn: () => null,
10226
+ getPostReturnFn: () => null,
10227
+ isCancellable: false,
10228
+ memoryIdx: 0,
10229
+ getMemoryFn: () => memory0,
10230
+ getReallocFn: () => null,
10231
+ importFn: _trampoline20,
10232
+ },
10233
+ )) : _lowerImportBackwardsCompat.bind(
10234
+ null,
10235
+ {
10236
+ trampolineIdx: 20,
10237
+ componentIdx: 0,
10238
+ isAsync: false,
10239
+ isManualAsync: _trampoline20.manuallyAsync,
10240
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10241
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 5), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10242
+ funcTypeIsAsync: false,
10243
+ getCallbackFn: () => null,
10244
+ getPostReturnFn: () => null,
10245
+ isCancellable: false,
10246
+ memoryIdx: 0,
10247
+ getMemoryFn: () => memory0,
10248
+ getReallocFn: () => null,
10249
+ importFn: _trampoline20,
10250
+ },
10251
+ );
10252
+ let trampoline21 = _trampoline21.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10253
+ null,
10254
+ {
10255
+ trampolineIdx: 21,
10256
+ componentIdx: 0,
10257
+ isAsync: false,
10258
+ isManualAsync: _trampoline21.manuallyAsync,
10259
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10260
+ 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 ],])],
10261
+ funcTypeIsAsync: false,
10262
+ getCallbackFn: () => null,
10263
+ getPostReturnFn: () => null,
10264
+ isCancellable: false,
10265
+ memoryIdx: 0,
10266
+ getMemoryFn: () => memory0,
10267
+ getReallocFn: () => null,
10268
+ importFn: _trampoline21,
10269
+ },
10270
+ )) : _lowerImportBackwardsCompat.bind(
10271
+ null,
10272
+ {
10273
+ trampolineIdx: 21,
10274
+ componentIdx: 0,
10275
+ isAsync: false,
10276
+ isManualAsync: _trampoline21.manuallyAsync,
10277
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10278
+ 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 ],])],
10279
+ funcTypeIsAsync: false,
10280
+ getCallbackFn: () => null,
10281
+ getPostReturnFn: () => null,
10282
+ isCancellable: false,
10283
+ memoryIdx: 0,
10284
+ getMemoryFn: () => memory0,
10285
+ getReallocFn: () => null,
10286
+ importFn: _trampoline21,
10287
+ },
10288
+ );
10289
+ let trampoline22 = _trampoline22.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10290
+ null,
10291
+ {
10292
+ trampolineIdx: 22,
10293
+ componentIdx: 0,
10294
+ isAsync: false,
10295
+ isManualAsync: _trampoline22.manuallyAsync,
10296
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
10297
+ 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 ],])],
10298
+ funcTypeIsAsync: false,
10299
+ getCallbackFn: () => null,
10300
+ getPostReturnFn: () => null,
10301
+ isCancellable: false,
10302
+ memoryIdx: 0,
10303
+ getMemoryFn: () => memory0,
10304
+ getReallocFn: () => null,
10305
+ importFn: _trampoline22,
10306
+ },
10307
+ )) : _lowerImportBackwardsCompat.bind(
10308
+ null,
10309
+ {
10310
+ trampolineIdx: 22,
10311
+ componentIdx: 0,
10312
+ isAsync: false,
10313
+ isManualAsync: _trampoline22.manuallyAsync,
10314
+ paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlink-follow'], size32: 1, align32: 1, intSize: 1 }),_liftFlatStringUTF8],
10315
+ 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 ],])],
10316
+ funcTypeIsAsync: false,
10317
+ getCallbackFn: () => null,
10318
+ getPostReturnFn: () => null,
10319
+ isCancellable: false,
10320
+ memoryIdx: 0,
10321
+ getMemoryFn: () => memory0,
10322
+ getReallocFn: () => null,
10323
+ importFn: _trampoline22,
10324
+ },
10325
+ );
10326
+ let trampoline23 = _trampoline23.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10327
+ null,
10328
+ {
10329
+ trampolineIdx: 23,
10330
+ componentIdx: 0,
10331
+ isAsync: false,
10332
+ isManualAsync: _trampoline23.manuallyAsync,
10333
+ 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 })],
10334
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 6), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10335
+ funcTypeIsAsync: false,
10336
+ getCallbackFn: () => null,
10337
+ getPostReturnFn: () => null,
10338
+ isCancellable: false,
10339
+ memoryIdx: 0,
10340
+ getMemoryFn: () => memory0,
10341
+ getReallocFn: () => null,
10342
+ importFn: _trampoline23,
10343
+ },
10344
+ )) : _lowerImportBackwardsCompat.bind(
10345
+ null,
10346
+ {
10347
+ trampolineIdx: 23,
10348
+ componentIdx: 0,
10349
+ isAsync: false,
10350
+ isManualAsync: _trampoline23.manuallyAsync,
10351
+ 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 })],
10352
+ resultLowerFns: [_lowerFlatResult([[ 'ok', _lowerFlatOwn.bind(null, 6), 8, 4, 4 ],[ 'err', _lowerFlatEnum.bind(null, 0), 8, 4, 4 ],])],
10353
+ funcTypeIsAsync: false,
10354
+ getCallbackFn: () => null,
10355
+ getPostReturnFn: () => null,
10356
+ isCancellable: false,
10357
+ memoryIdx: 0,
10358
+ getMemoryFn: () => memory0,
10359
+ getReallocFn: () => null,
10360
+ importFn: _trampoline23,
10361
+ },
10362
+ );
10363
+ let trampoline24 = _trampoline24.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10364
+ null,
10365
+ {
10366
+ trampolineIdx: 24,
10367
+ componentIdx: 0,
10368
+ isAsync: false,
10369
+ isManualAsync: _trampoline24.manuallyAsync,
10370
+ paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
10371
+ 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 ],])],
10372
+ funcTypeIsAsync: false,
10373
+ getCallbackFn: () => null,
10374
+ getPostReturnFn: () => null,
10375
+ isCancellable: false,
10376
+ memoryIdx: 0,
10377
+ getMemoryFn: () => memory0,
10378
+ getReallocFn: () => realloc0,
10379
+ importFn: _trampoline24,
10380
+ },
10381
+ )) : _lowerImportBackwardsCompat.bind(
10382
+ null,
10383
+ {
10384
+ trampolineIdx: 24,
10385
+ componentIdx: 0,
10386
+ isAsync: false,
10387
+ isManualAsync: _trampoline24.manuallyAsync,
10388
+ paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
10389
+ 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 ],])],
10390
+ funcTypeIsAsync: false,
10391
+ getCallbackFn: () => null,
10392
+ getPostReturnFn: () => null,
10393
+ isCancellable: false,
10394
+ memoryIdx: 0,
10395
+ getMemoryFn: () => memory0,
10396
+ getReallocFn: () => realloc0,
10397
+ importFn: _trampoline24,
10398
+ },
10399
+ );
10400
+ let trampoline25 = _trampoline25.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10401
+ null,
10402
+ {
10403
+ trampolineIdx: 25,
10404
+ componentIdx: 0,
10405
+ isAsync: false,
10406
+ isManualAsync: _trampoline25.manuallyAsync,
10407
+ paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
10408
+ 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 ],])],
10409
+ funcTypeIsAsync: false,
10410
+ getCallbackFn: () => null,
10411
+ getPostReturnFn: () => null,
10412
+ isCancellable: false,
10413
+ memoryIdx: 0,
10414
+ getMemoryFn: () => memory0,
10415
+ getReallocFn: () => realloc0,
10416
+ importFn: _trampoline25,
10417
+ },
10418
+ )) : _lowerImportBackwardsCompat.bind(
10419
+ null,
10420
+ {
10421
+ trampolineIdx: 25,
10422
+ componentIdx: 0,
10423
+ isAsync: false,
10424
+ isManualAsync: _trampoline25.manuallyAsync,
10425
+ paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
10426
+ 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 ],])],
10427
+ funcTypeIsAsync: false,
10428
+ getCallbackFn: () => null,
10429
+ getPostReturnFn: () => null,
10430
+ isCancellable: false,
10431
+ memoryIdx: 0,
10432
+ getMemoryFn: () => memory0,
10433
+ getReallocFn: () => realloc0,
10434
+ importFn: _trampoline25,
10435
+ },
10436
+ );
10437
+ let trampoline26 = _trampoline26.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10438
+ null,
10439
+ {
10440
+ trampolineIdx: 26,
10441
+ componentIdx: 0,
10442
+ isAsync: false,
10443
+ isManualAsync: _trampoline26.manuallyAsync,
10444
+ paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
10445
+ 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 ],])],
10446
+ funcTypeIsAsync: false,
10447
+ getCallbackFn: () => null,
10448
+ getPostReturnFn: () => null,
10449
+ isCancellable: false,
10450
+ memoryIdx: 0,
10451
+ getMemoryFn: () => memory0,
10452
+ getReallocFn: () => realloc0,
10453
+ importFn: _trampoline26,
10454
+ },
10455
+ )) : _lowerImportBackwardsCompat.bind(
10456
+ null,
10457
+ {
10458
+ trampolineIdx: 26,
10459
+ componentIdx: 0,
10460
+ isAsync: false,
10461
+ isManualAsync: _trampoline26.manuallyAsync,
10462
+ paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
10463
+ 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 ],])],
10464
+ funcTypeIsAsync: false,
10465
+ getCallbackFn: () => null,
10466
+ getPostReturnFn: () => null,
10467
+ isCancellable: false,
10468
+ memoryIdx: 0,
10469
+ getMemoryFn: () => memory0,
10470
+ getReallocFn: () => realloc0,
10471
+ importFn: _trampoline26,
10472
+ },
10473
+ );
10474
+ let trampoline27 = _trampoline27.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10475
+ null,
10476
+ {
10477
+ trampolineIdx: 27,
10478
+ componentIdx: 0,
10479
+ isAsync: false,
10480
+ isManualAsync: _trampoline27.manuallyAsync,
10481
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
10482
+ 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 ],])],
10483
+ funcTypeIsAsync: false,
10484
+ getCallbackFn: () => null,
10485
+ getPostReturnFn: () => null,
10486
+ isCancellable: false,
10487
+ memoryIdx: 0,
10488
+ getMemoryFn: () => memory0,
10489
+ getReallocFn: () => null,
10490
+ importFn: _trampoline27,
10491
+ },
10492
+ )) : _lowerImportBackwardsCompat.bind(
10493
+ null,
10494
+ {
10495
+ trampolineIdx: 27,
10496
+ componentIdx: 0,
10497
+ isAsync: false,
10498
+ isManualAsync: _trampoline27.manuallyAsync,
10499
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
10500
+ 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 ],])],
10501
+ funcTypeIsAsync: false,
10502
+ getCallbackFn: () => null,
10503
+ getPostReturnFn: () => null,
10504
+ isCancellable: false,
10505
+ memoryIdx: 0,
10506
+ getMemoryFn: () => memory0,
10507
+ getReallocFn: () => null,
10508
+ importFn: _trampoline27,
10509
+ },
10510
+ );
10511
+ let trampoline28 = _trampoline28.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10512
+ null,
10513
+ {
10514
+ trampolineIdx: 28,
10515
+ componentIdx: 0,
10516
+ isAsync: false,
10517
+ isManualAsync: _trampoline28.manuallyAsync,
10518
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
10519
+ 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 ],])],
10520
+ funcTypeIsAsync: false,
10521
+ getCallbackFn: () => null,
10522
+ getPostReturnFn: () => null,
10523
+ isCancellable: false,
10524
+ memoryIdx: 0,
10525
+ getMemoryFn: () => memory0,
10526
+ getReallocFn: () => null,
10527
+ importFn: _trampoline28,
10528
+ },
10529
+ )) : _lowerImportBackwardsCompat.bind(
10530
+ null,
10531
+ {
10532
+ trampolineIdx: 28,
10533
+ componentIdx: 0,
10534
+ isAsync: false,
10535
+ isManualAsync: _trampoline28.manuallyAsync,
10536
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
10537
+ 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 ],])],
10538
+ funcTypeIsAsync: false,
10539
+ getCallbackFn: () => null,
10540
+ getPostReturnFn: () => null,
10541
+ isCancellable: false,
10542
+ memoryIdx: 0,
10543
+ getMemoryFn: () => memory0,
10544
+ getReallocFn: () => null,
10545
+ importFn: _trampoline28,
10546
+ },
10547
+ );
10548
+ let trampoline29 = _trampoline29.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10549
+ null,
10550
+ {
10551
+ trampolineIdx: 29,
10552
+ componentIdx: 0,
10553
+ isAsync: false,
10554
+ isManualAsync: _trampoline29.manuallyAsync,
10555
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
10556
+ 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 ],])],
10557
+ funcTypeIsAsync: false,
10558
+ getCallbackFn: () => null,
10559
+ getPostReturnFn: () => null,
10560
+ isCancellable: false,
10561
+ memoryIdx: 0,
10562
+ getMemoryFn: () => memory0,
10563
+ getReallocFn: () => null,
10564
+ importFn: _trampoline29,
10565
+ },
10566
+ )) : _lowerImportBackwardsCompat.bind(
10567
+ null,
10568
+ {
10569
+ trampolineIdx: 29,
10570
+ componentIdx: 0,
10571
+ isAsync: false,
10572
+ isManualAsync: _trampoline29.manuallyAsync,
10573
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2),_liftFlatList({ elemLiftFn: _liftFlatU8, align32: 1, size32: 1 })],
10574
+ 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 ],])],
10575
+ funcTypeIsAsync: false,
10576
+ getCallbackFn: () => null,
10577
+ getPostReturnFn: () => null,
10578
+ isCancellable: false,
10579
+ memoryIdx: 0,
10580
+ getMemoryFn: () => memory0,
10581
+ getReallocFn: () => null,
10582
+ importFn: _trampoline29,
10583
+ },
10584
+ );
10585
+ let trampoline30 = _trampoline30.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10586
+ null,
10587
+ {
10588
+ trampolineIdx: 30,
10589
+ componentIdx: 0,
10590
+ isAsync: false,
10591
+ isManualAsync: _trampoline30.manuallyAsync,
10592
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
10593
+ 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 ],])],
10594
+ funcTypeIsAsync: false,
10595
+ getCallbackFn: () => null,
10596
+ getPostReturnFn: () => null,
10597
+ isCancellable: false,
10598
+ memoryIdx: 0,
10599
+ getMemoryFn: () => memory0,
10600
+ getReallocFn: () => null,
10601
+ importFn: _trampoline30,
10602
+ },
10603
+ )) : _lowerImportBackwardsCompat.bind(
10604
+ null,
10605
+ {
10606
+ trampolineIdx: 30,
10607
+ componentIdx: 0,
10608
+ isAsync: false,
10609
+ isManualAsync: _trampoline30.manuallyAsync,
10610
+ paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
10611
+ 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 ],])],
10612
+ funcTypeIsAsync: false,
10613
+ getCallbackFn: () => null,
10614
+ getPostReturnFn: () => null,
10615
+ isCancellable: false,
10616
+ memoryIdx: 0,
10617
+ getMemoryFn: () => memory0,
10618
+ getReallocFn: () => null,
10619
+ importFn: _trampoline30,
10620
+ },
10621
+ );
10622
+ let trampoline31 = _trampoline31.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10623
+ null,
10624
+ {
10625
+ trampolineIdx: 31,
10626
+ componentIdx: 0,
10627
+ isAsync: false,
10628
+ isManualAsync: _trampoline31.manuallyAsync,
10629
+ paramLiftFns: [_liftFlatU64],
10630
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 })],
10631
+ funcTypeIsAsync: false,
10632
+ getCallbackFn: () => null,
10633
+ getPostReturnFn: () => null,
10634
+ isCancellable: false,
10635
+ memoryIdx: 0,
10636
+ getMemoryFn: () => memory0,
10637
+ getReallocFn: () => realloc0,
10638
+ importFn: _trampoline31,
10639
+ },
10640
+ )) : _lowerImportBackwardsCompat.bind(
10641
+ null,
10642
+ {
10643
+ trampolineIdx: 31,
10644
+ componentIdx: 0,
10645
+ isAsync: false,
10646
+ isManualAsync: _trampoline31.manuallyAsync,
10647
+ paramLiftFns: [_liftFlatU64],
10648
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatU8, typeIdx: 1 })],
10649
+ funcTypeIsAsync: false,
10650
+ getCallbackFn: () => null,
10651
+ getPostReturnFn: () => null,
10652
+ isCancellable: false,
10653
+ memoryIdx: 0,
10654
+ getMemoryFn: () => memory0,
10655
+ getReallocFn: () => realloc0,
10656
+ importFn: _trampoline31,
10657
+ },
10658
+ );
10659
+ let trampoline32 = _trampoline32.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10660
+ null,
10661
+ {
10662
+ trampolineIdx: 32,
10663
+ componentIdx: 0,
10664
+ isAsync: false,
10665
+ isManualAsync: _trampoline32.manuallyAsync,
10666
+ paramLiftFns: [],
10667
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 30), typeIdx: 2 })],
10668
+ funcTypeIsAsync: false,
10669
+ getCallbackFn: () => null,
10670
+ getPostReturnFn: () => null,
10671
+ isCancellable: false,
10672
+ memoryIdx: 0,
10673
+ getMemoryFn: () => memory0,
10674
+ getReallocFn: () => realloc0,
10675
+ importFn: _trampoline32,
10676
+ },
10677
+ )) : _lowerImportBackwardsCompat.bind(
10678
+ null,
10679
+ {
10680
+ trampolineIdx: 32,
10681
+ componentIdx: 0,
10682
+ isAsync: false,
10683
+ isManualAsync: _trampoline32.manuallyAsync,
10684
+ paramLiftFns: [],
10685
+ resultLowerFns: [_lowerFlatList({ elemLowerFn: _lowerFlatTuple.bind(null, 30), typeIdx: 2 })],
10686
+ funcTypeIsAsync: false,
10687
+ getCallbackFn: () => null,
10688
+ getPostReturnFn: () => null,
10689
+ isCancellable: false,
10690
+ memoryIdx: 0,
10691
+ getMemoryFn: () => memory0,
10692
+ getReallocFn: () => realloc0,
10693
+ importFn: _trampoline32,
10694
+ },
10695
+ );
10696
+ let trampoline33 = _trampoline33.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10697
+ null,
10698
+ {
10699
+ trampolineIdx: 33,
10700
+ componentIdx: 0,
10701
+ isAsync: false,
10702
+ isManualAsync: _trampoline33.manuallyAsync,
10703
+ paramLiftFns: [],
10704
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 3), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10705
+ funcTypeIsAsync: false,
10706
+ getCallbackFn: () => null,
10707
+ getPostReturnFn: () => null,
10708
+ isCancellable: false,
10709
+ memoryIdx: 0,
10710
+ getMemoryFn: () => memory0,
10711
+ getReallocFn: () => null,
10712
+ importFn: _trampoline33,
10713
+ },
10714
+ )) : _lowerImportBackwardsCompat.bind(
10715
+ null,
10716
+ {
10717
+ trampolineIdx: 33,
10718
+ componentIdx: 0,
10719
+ isAsync: false,
10720
+ isManualAsync: _trampoline33.manuallyAsync,
10721
+ paramLiftFns: [],
10722
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 3), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10723
+ funcTypeIsAsync: false,
10724
+ getCallbackFn: () => null,
10725
+ getPostReturnFn: () => null,
10726
+ isCancellable: false,
10727
+ memoryIdx: 0,
10728
+ getMemoryFn: () => memory0,
10729
+ getReallocFn: () => null,
10730
+ importFn: _trampoline33,
10731
+ },
10732
+ );
10733
+ let trampoline34 = _trampoline34.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10734
+ null,
10735
+ {
10736
+ trampolineIdx: 34,
10737
+ componentIdx: 0,
10738
+ isAsync: false,
10739
+ isManualAsync: _trampoline34.manuallyAsync,
10740
+ paramLiftFns: [],
10741
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10742
+ funcTypeIsAsync: false,
10743
+ getCallbackFn: () => null,
10744
+ getPostReturnFn: () => null,
10745
+ isCancellable: false,
10746
+ memoryIdx: 0,
10747
+ getMemoryFn: () => memory0,
10748
+ getReallocFn: () => null,
10749
+ importFn: _trampoline34,
10750
+ },
10751
+ )) : _lowerImportBackwardsCompat.bind(
10752
+ null,
10753
+ {
10754
+ trampolineIdx: 34,
10755
+ componentIdx: 0,
10756
+ isAsync: false,
10757
+ isManualAsync: _trampoline34.manuallyAsync,
10758
+ paramLiftFns: [],
10759
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10760
+ funcTypeIsAsync: false,
10761
+ getCallbackFn: () => null,
10762
+ getPostReturnFn: () => null,
10763
+ isCancellable: false,
10764
+ memoryIdx: 0,
10765
+ getMemoryFn: () => memory0,
10766
+ getReallocFn: () => null,
10767
+ importFn: _trampoline34,
10768
+ },
10769
+ );
10770
+ let trampoline35 = _trampoline35.manuallyAsync ? new WebAssembly.Suspending(_lowerImportBackwardsCompat.bind(
10771
+ null,
10772
+ {
10773
+ trampolineIdx: 35,
10774
+ componentIdx: 0,
10775
+ isAsync: false,
10776
+ isManualAsync: _trampoline35.manuallyAsync,
10777
+ paramLiftFns: [],
10778
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10779
+ funcTypeIsAsync: false,
10780
+ getCallbackFn: () => null,
10781
+ getPostReturnFn: () => null,
10782
+ isCancellable: false,
10783
+ memoryIdx: 0,
10784
+ getMemoryFn: () => memory0,
10785
+ getReallocFn: () => null,
10786
+ importFn: _trampoline35,
10787
+ },
10788
+ )) : _lowerImportBackwardsCompat.bind(
10789
+ null,
10790
+ {
10791
+ trampolineIdx: 35,
10792
+ componentIdx: 0,
10793
+ isAsync: false,
10794
+ isManualAsync: _trampoline35.manuallyAsync,
10795
+ paramLiftFns: [],
10796
+ resultLowerFns: [_lowerFlatOption([[ 'some', _lowerFlatOwn.bind(null, 4), 8, 4, 4 ],[ 'none', null, 8, 4, 4 ],])],
10797
+ funcTypeIsAsync: false,
10798
+ getCallbackFn: () => null,
10799
+ getPostReturnFn: () => null,
10800
+ isCancellable: false,
10801
+ memoryIdx: 0,
10802
+ getMemoryFn: () => memory0,
10803
+ getReallocFn: () => null,
10804
+ importFn: _trampoline35,
10805
+ },
10806
+ );
10804
10807
 
10805
10808
  let _initialized = false;
10806
10809
  export const $init = (() => {