qsharp-lang 1.8.1-dev → 1.8.2-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/dist/compiler/worker-browser.d.ts +1 -1
  2. package/dist/debug-service/worker-browser.d.ts +1 -1
  3. package/dist/katas-content.generated.js +73 -73
  4. package/dist/katas-content.generated.md.js +80 -80
  5. package/dist/language-service/worker-browser.d.ts +1 -1
  6. package/dist/samples.generated.js +3 -3
  7. package/dist/workers/common.js +1 -2
  8. package/dist/workers/node.js +1 -1
  9. package/docs/Microsoft.Quantum.Arrays/All.md +1 -1
  10. package/docs/Microsoft.Quantum.Arrays/Any.md +1 -1
  11. package/docs/Microsoft.Quantum.Arrays/Chunks.md +1 -1
  12. package/docs/Microsoft.Quantum.Arrays/CircularlyShifted.md +1 -1
  13. package/docs/Microsoft.Quantum.Arrays/ColumnAt.md +1 -1
  14. package/docs/Microsoft.Quantum.Arrays/Count.md +1 -1
  15. package/docs/Microsoft.Quantum.Arrays/Diagonal.md +1 -1
  16. package/docs/Microsoft.Quantum.Arrays/DrawMany.md +1 -1
  17. package/docs/Microsoft.Quantum.Arrays/Enumerated.md +1 -1
  18. package/docs/Microsoft.Quantum.Arrays/Excluding.md +1 -1
  19. package/docs/Microsoft.Quantum.Arrays/Filtered.md +1 -1
  20. package/docs/Microsoft.Quantum.Arrays/FlatMapped.md +1 -1
  21. package/docs/Microsoft.Quantum.Arrays/Flattened.md +1 -1
  22. package/docs/Microsoft.Quantum.Arrays/Fold.md +1 -1
  23. package/docs/Microsoft.Quantum.Arrays/ForEach.md +1 -1
  24. package/docs/Microsoft.Quantum.Arrays/Head.md +1 -1
  25. package/docs/Microsoft.Quantum.Arrays/HeadAndRest.md +1 -1
  26. package/docs/Microsoft.Quantum.Arrays/IndexOf.md +1 -1
  27. package/docs/Microsoft.Quantum.Arrays/IndexRange.md +1 -1
  28. package/docs/Microsoft.Quantum.Arrays/Interleaved.md +1 -1
  29. package/docs/Microsoft.Quantum.Arrays/IsEmpty.md +1 -1
  30. package/docs/Microsoft.Quantum.Arrays/IsRectangularArray.md +1 -1
  31. package/docs/Microsoft.Quantum.Arrays/IsSorted.md +1 -1
  32. package/docs/Microsoft.Quantum.Arrays/IsSquareArray.md +1 -1
  33. package/docs/Microsoft.Quantum.Arrays/Mapped.md +1 -1
  34. package/docs/Microsoft.Quantum.Arrays/MappedByIndex.md +1 -1
  35. package/docs/Microsoft.Quantum.Arrays/MappedOverRange.md +1 -1
  36. package/docs/Microsoft.Quantum.Arrays/Most.md +1 -1
  37. package/docs/Microsoft.Quantum.Arrays/MostAndTail.md +1 -1
  38. package/docs/Microsoft.Quantum.Arrays/Padded.md +1 -1
  39. package/docs/Microsoft.Quantum.Arrays/Partitioned.md +1 -1
  40. package/docs/Microsoft.Quantum.Arrays/Rest.md +1 -1
  41. package/docs/Microsoft.Quantum.Arrays/Reversed.md +1 -1
  42. package/docs/Microsoft.Quantum.Arrays/SequenceI.md +1 -1
  43. package/docs/Microsoft.Quantum.Arrays/SequenceL.md +1 -1
  44. package/docs/Microsoft.Quantum.Arrays/Sorted.md +1 -1
  45. package/docs/Microsoft.Quantum.Arrays/Subarray.md +1 -1
  46. package/docs/Microsoft.Quantum.Arrays/Swapped.md +1 -1
  47. package/docs/Microsoft.Quantum.Arrays/Tail.md +1 -1
  48. package/docs/Microsoft.Quantum.Arrays/Transposed.md +1 -1
  49. package/docs/Microsoft.Quantum.Arrays/Unzipped.md +1 -1
  50. package/docs/Microsoft.Quantum.Arrays/Where.md +1 -1
  51. package/docs/Microsoft.Quantum.Arrays/Windows.md +1 -1
  52. package/docs/Microsoft.Quantum.Arrays/Zipped.md +1 -1
  53. package/docs/Microsoft.Quantum.Canon/ApplyCNOTChain.md +1 -1
  54. package/docs/Microsoft.Quantum.Canon/ApplyControlledOnBitString.md +1 -1
  55. package/docs/Microsoft.Quantum.Canon/ApplyControlledOnInt.md +1 -1
  56. package/docs/Microsoft.Quantum.Canon/ApplyP.md +1 -1
  57. package/docs/Microsoft.Quantum.Canon/ApplyPauli.md +1 -1
  58. package/docs/Microsoft.Quantum.Canon/ApplyPauliFromBitString.md +1 -1
  59. package/docs/Microsoft.Quantum.Canon/ApplyPauliFromInt.md +1 -1
  60. package/docs/Microsoft.Quantum.Canon/ApplyQFT.md +1 -1
  61. package/docs/Microsoft.Quantum.Canon/ApplyToEach.md +1 -1
  62. package/docs/Microsoft.Quantum.Canon/ApplyToEachA.md +1 -1
  63. package/docs/Microsoft.Quantum.Canon/ApplyToEachC.md +1 -1
  64. package/docs/Microsoft.Quantum.Canon/ApplyToEachCA.md +1 -1
  65. package/docs/Microsoft.Quantum.Canon/ApplyXorInPlace.md +1 -1
  66. package/docs/Microsoft.Quantum.Canon/ApplyXorInPlaceL.md +1 -1
  67. package/docs/Microsoft.Quantum.Canon/CX.md +1 -1
  68. package/docs/Microsoft.Quantum.Canon/CY.md +1 -1
  69. package/docs/Microsoft.Quantum.Canon/CZ.md +1 -1
  70. package/docs/Microsoft.Quantum.Canon/Fst.md +1 -1
  71. package/docs/Microsoft.Quantum.Canon/Snd.md +1 -1
  72. package/docs/Microsoft.Quantum.Canon/SwapReverseRegister.md +1 -1
  73. package/docs/Microsoft.Quantum.Convert/BigIntAsBoolArray.md +1 -1
  74. package/docs/Microsoft.Quantum.Convert/BoolArrayAsBigInt.md +1 -1
  75. package/docs/Microsoft.Quantum.Convert/BoolArrayAsInt.md +1 -1
  76. package/docs/Microsoft.Quantum.Convert/BoolArrayAsResultArray.md +1 -1
  77. package/docs/Microsoft.Quantum.Convert/BoolAsResult.md +1 -1
  78. package/docs/Microsoft.Quantum.Convert/ComplexAsComplexPolar.md +1 -1
  79. package/docs/Microsoft.Quantum.Convert/ComplexPolarAsComplex.md +1 -1
  80. package/docs/Microsoft.Quantum.Convert/DoubleAsStringWithPrecision.md +1 -1
  81. package/docs/Microsoft.Quantum.Convert/IntAsBigInt.md +1 -1
  82. package/docs/Microsoft.Quantum.Convert/IntAsBoolArray.md +1 -1
  83. package/docs/Microsoft.Quantum.Convert/IntAsDouble.md +1 -1
  84. package/docs/Microsoft.Quantum.Convert/ResultArrayAsBoolArray.md +1 -1
  85. package/docs/Microsoft.Quantum.Convert/ResultArrayAsInt.md +1 -1
  86. package/docs/Microsoft.Quantum.Convert/ResultAsBool.md +1 -1
  87. package/docs/Microsoft.Quantum.Core/IsRangeEmpty.md +1 -1
  88. package/docs/Microsoft.Quantum.Core/Length.md +1 -1
  89. package/docs/Microsoft.Quantum.Core/RangeEnd.md +1 -1
  90. package/docs/Microsoft.Quantum.Core/RangeReverse.md +1 -1
  91. package/docs/Microsoft.Quantum.Core/RangeStart.md +1 -1
  92. package/docs/Microsoft.Quantum.Core/RangeStep.md +1 -1
  93. package/docs/Microsoft.Quantum.Core/Repeated.md +1 -1
  94. package/docs/Microsoft.Quantum.Diagnostics/DumpMachine.md +1 -1
  95. package/docs/Microsoft.Quantum.Diagnostics/DumpRegister.md +1 -1
  96. package/docs/Microsoft.Quantum.Diagnostics/Fact.md +1 -1
  97. package/docs/Microsoft.Quantum.Intrinsic/AND.md +1 -1
  98. package/docs/Microsoft.Quantum.Intrinsic/CCNOT.md +1 -1
  99. package/docs/Microsoft.Quantum.Intrinsic/CNOT.md +1 -1
  100. package/docs/Microsoft.Quantum.Intrinsic/Exp.md +1 -1
  101. package/docs/Microsoft.Quantum.Intrinsic/H.md +1 -1
  102. package/docs/Microsoft.Quantum.Intrinsic/I.md +1 -1
  103. package/docs/Microsoft.Quantum.Intrinsic/M.md +1 -1
  104. package/docs/Microsoft.Quantum.Intrinsic/Measure.md +1 -1
  105. package/docs/Microsoft.Quantum.Intrinsic/Message.md +1 -1
  106. package/docs/Microsoft.Quantum.Intrinsic/R.md +1 -1
  107. package/docs/Microsoft.Quantum.Intrinsic/R1.md +1 -1
  108. package/docs/Microsoft.Quantum.Intrinsic/R1Frac.md +1 -1
  109. package/docs/Microsoft.Quantum.Intrinsic/RFrac.md +1 -1
  110. package/docs/Microsoft.Quantum.Intrinsic/Reset.md +1 -1
  111. package/docs/Microsoft.Quantum.Intrinsic/ResetAll.md +1 -1
  112. package/docs/Microsoft.Quantum.Intrinsic/Rx.md +1 -1
  113. package/docs/Microsoft.Quantum.Intrinsic/Rxx.md +1 -1
  114. package/docs/Microsoft.Quantum.Intrinsic/Ry.md +1 -1
  115. package/docs/Microsoft.Quantum.Intrinsic/Ryy.md +1 -1
  116. package/docs/Microsoft.Quantum.Intrinsic/Rz.md +1 -1
  117. package/docs/Microsoft.Quantum.Intrinsic/Rzz.md +1 -1
  118. package/docs/Microsoft.Quantum.Intrinsic/S.md +1 -1
  119. package/docs/Microsoft.Quantum.Intrinsic/SWAP.md +1 -1
  120. package/docs/Microsoft.Quantum.Intrinsic/T.md +1 -1
  121. package/docs/Microsoft.Quantum.Intrinsic/X.md +1 -1
  122. package/docs/Microsoft.Quantum.Intrinsic/Y.md +1 -1
  123. package/docs/Microsoft.Quantum.Intrinsic/Z.md +1 -1
  124. package/docs/Microsoft.Quantum.Logical/Xor.md +1 -1
  125. package/docs/Microsoft.Quantum.Math/AbsComplex.md +1 -1
  126. package/docs/Microsoft.Quantum.Math/AbsComplexPolar.md +1 -1
  127. package/docs/Microsoft.Quantum.Math/AbsD.md +1 -1
  128. package/docs/Microsoft.Quantum.Math/AbsI.md +1 -1
  129. package/docs/Microsoft.Quantum.Math/AbsL.md +1 -1
  130. package/docs/Microsoft.Quantum.Math/AbsSquaredComplex.md +1 -1
  131. package/docs/Microsoft.Quantum.Math/AbsSquaredComplexPolar.md +1 -1
  132. package/docs/Microsoft.Quantum.Math/ApproximateFactorial.md +1 -1
  133. package/docs/Microsoft.Quantum.Math/ArcCos.md +1 -1
  134. package/docs/Microsoft.Quantum.Math/ArcCosh.md +1 -1
  135. package/docs/Microsoft.Quantum.Math/ArcSin.md +1 -1
  136. package/docs/Microsoft.Quantum.Math/ArcSinh.md +1 -1
  137. package/docs/Microsoft.Quantum.Math/ArcTan.md +1 -1
  138. package/docs/Microsoft.Quantum.Math/ArcTan2.md +1 -1
  139. package/docs/Microsoft.Quantum.Math/ArcTanh.md +1 -1
  140. package/docs/Microsoft.Quantum.Math/ArgComplex.md +1 -1
  141. package/docs/Microsoft.Quantum.Math/ArgComplexPolar.md +1 -1
  142. package/docs/Microsoft.Quantum.Math/Binom.md +1 -1
  143. package/docs/Microsoft.Quantum.Math/BitSizeI.md +1 -1
  144. package/docs/Microsoft.Quantum.Math/BitSizeL.md +1 -1
  145. package/docs/Microsoft.Quantum.Math/Ceiling.md +1 -1
  146. package/docs/Microsoft.Quantum.Math/Complex.md +1 -1
  147. package/docs/Microsoft.Quantum.Math/ComplexPolar.md +1 -1
  148. package/docs/Microsoft.Quantum.Math/ContinuedFractionConvergentI.md +1 -1
  149. package/docs/Microsoft.Quantum.Math/ContinuedFractionConvergentL.md +1 -1
  150. package/docs/Microsoft.Quantum.Math/Cos.md +1 -1
  151. package/docs/Microsoft.Quantum.Math/Cosh.md +1 -1
  152. package/docs/Microsoft.Quantum.Math/DivRemI.md +1 -1
  153. package/docs/Microsoft.Quantum.Math/DivRemL.md +1 -1
  154. package/docs/Microsoft.Quantum.Math/DividedByC.md +1 -1
  155. package/docs/Microsoft.Quantum.Math/DividedByCP.md +1 -1
  156. package/docs/Microsoft.Quantum.Math/E.md +1 -1
  157. package/docs/Microsoft.Quantum.Math/ExpModI.md +1 -1
  158. package/docs/Microsoft.Quantum.Math/ExpModL.md +1 -1
  159. package/docs/Microsoft.Quantum.Math/ExtendedGreatestCommonDivisorI.md +1 -1
  160. package/docs/Microsoft.Quantum.Math/ExtendedGreatestCommonDivisorL.md +1 -1
  161. package/docs/Microsoft.Quantum.Math/FactorialI.md +1 -1
  162. package/docs/Microsoft.Quantum.Math/FactorialL.md +1 -1
  163. package/docs/Microsoft.Quantum.Math/Floor.md +1 -1
  164. package/docs/Microsoft.Quantum.Math/GreatestCommonDivisorI.md +1 -1
  165. package/docs/Microsoft.Quantum.Math/GreatestCommonDivisorL.md +1 -1
  166. package/docs/Microsoft.Quantum.Math/HammingWeightI.md +1 -1
  167. package/docs/Microsoft.Quantum.Math/InverseModI.md +1 -1
  168. package/docs/Microsoft.Quantum.Math/InverseModL.md +1 -1
  169. package/docs/Microsoft.Quantum.Math/IsCoprimeI.md +1 -1
  170. package/docs/Microsoft.Quantum.Math/IsCoprimeL.md +1 -1
  171. package/docs/Microsoft.Quantum.Math/IsInfinite.md +1 -1
  172. package/docs/Microsoft.Quantum.Math/IsNaN.md +1 -1
  173. package/docs/Microsoft.Quantum.Math/LargestFixedPoint.md +1 -1
  174. package/docs/Microsoft.Quantum.Math/Lg.md +1 -1
  175. package/docs/Microsoft.Quantum.Math/Log.md +1 -1
  176. package/docs/Microsoft.Quantum.Math/Log10.md +1 -1
  177. package/docs/Microsoft.Quantum.Math/LogFactorialD.md +1 -1
  178. package/docs/Microsoft.Quantum.Math/LogGammaD.md +1 -1
  179. package/docs/Microsoft.Quantum.Math/LogOf2.md +1 -1
  180. package/docs/Microsoft.Quantum.Math/Max.md +1 -1
  181. package/docs/Microsoft.Quantum.Math/MaxD.md +1 -1
  182. package/docs/Microsoft.Quantum.Math/MaxI.md +1 -1
  183. package/docs/Microsoft.Quantum.Math/MaxL.md +1 -1
  184. package/docs/Microsoft.Quantum.Math/Min.md +1 -1
  185. package/docs/Microsoft.Quantum.Math/MinD.md +1 -1
  186. package/docs/Microsoft.Quantum.Math/MinI.md +1 -1
  187. package/docs/Microsoft.Quantum.Math/MinL.md +1 -1
  188. package/docs/Microsoft.Quantum.Math/MinusC.md +1 -1
  189. package/docs/Microsoft.Quantum.Math/MinusCP.md +1 -1
  190. package/docs/Microsoft.Quantum.Math/ModulusI.md +1 -1
  191. package/docs/Microsoft.Quantum.Math/ModulusL.md +1 -1
  192. package/docs/Microsoft.Quantum.Math/NegationC.md +1 -1
  193. package/docs/Microsoft.Quantum.Math/NegationCP.md +1 -1
  194. package/docs/Microsoft.Quantum.Math/PI.md +1 -1
  195. package/docs/Microsoft.Quantum.Math/PNorm.md +1 -1
  196. package/docs/Microsoft.Quantum.Math/PNormalized.md +1 -1
  197. package/docs/Microsoft.Quantum.Math/PlusC.md +1 -1
  198. package/docs/Microsoft.Quantum.Math/PlusCP.md +1 -1
  199. package/docs/Microsoft.Quantum.Math/PowC.md +1 -1
  200. package/docs/Microsoft.Quantum.Math/PowCP.md +1 -1
  201. package/docs/Microsoft.Quantum.Math/RealMod.md +1 -1
  202. package/docs/Microsoft.Quantum.Math/Round.md +1 -1
  203. package/docs/Microsoft.Quantum.Math/SignD.md +1 -1
  204. package/docs/Microsoft.Quantum.Math/SignI.md +1 -1
  205. package/docs/Microsoft.Quantum.Math/SignL.md +1 -1
  206. package/docs/Microsoft.Quantum.Math/Sin.md +1 -1
  207. package/docs/Microsoft.Quantum.Math/Sinh.md +1 -1
  208. package/docs/Microsoft.Quantum.Math/SmallestFixedPoint.md +1 -1
  209. package/docs/Microsoft.Quantum.Math/Sqrt.md +1 -1
  210. package/docs/Microsoft.Quantum.Math/SquaredNorm.md +1 -1
  211. package/docs/Microsoft.Quantum.Math/Tan.md +1 -1
  212. package/docs/Microsoft.Quantum.Math/Tanh.md +1 -1
  213. package/docs/Microsoft.Quantum.Math/TimesC.md +1 -1
  214. package/docs/Microsoft.Quantum.Math/TimesCP.md +1 -1
  215. package/docs/Microsoft.Quantum.Math/TrailingZeroCountI.md +1 -1
  216. package/docs/Microsoft.Quantum.Math/TrailingZeroCountL.md +1 -1
  217. package/docs/Microsoft.Quantum.Math/Truncate.md +1 -1
  218. package/docs/Microsoft.Quantum.Measurement/MResetEachZ.md +1 -1
  219. package/docs/Microsoft.Quantum.Measurement/MResetX.md +1 -1
  220. package/docs/Microsoft.Quantum.Measurement/MResetY.md +1 -1
  221. package/docs/Microsoft.Quantum.Measurement/MResetZ.md +1 -1
  222. package/docs/Microsoft.Quantum.Measurement/MeasureAllZ.md +1 -1
  223. package/docs/Microsoft.Quantum.Measurement/MeasureEachZ.md +1 -1
  224. package/docs/Microsoft.Quantum.Measurement/MeasureInteger.md +1 -1
  225. package/docs/Microsoft.Quantum.ResourceEstimation/AccountForEstimates.md +1 -1
  226. package/docs/Microsoft.Quantum.ResourceEstimation/AuxQubitCount.md +1 -1
  227. package/docs/Microsoft.Quantum.ResourceEstimation/BeginEstimateCaching.md +1 -1
  228. package/docs/Microsoft.Quantum.ResourceEstimation/BeginRepeatEstimates.md +1 -1
  229. package/docs/Microsoft.Quantum.ResourceEstimation/CczCount.md +1 -1
  230. package/docs/Microsoft.Quantum.ResourceEstimation/EndEstimateCaching.md +1 -1
  231. package/docs/Microsoft.Quantum.ResourceEstimation/EndRepeatEstimates.md +1 -1
  232. package/docs/Microsoft.Quantum.ResourceEstimation/MeasurementCount.md +1 -1
  233. package/docs/Microsoft.Quantum.ResourceEstimation/PSSPCLayout.md +1 -1
  234. package/docs/Microsoft.Quantum.ResourceEstimation/RepeatEstimates.md +1 -1
  235. package/docs/Microsoft.Quantum.ResourceEstimation/RotationCount.md +1 -1
  236. package/docs/Microsoft.Quantum.ResourceEstimation/RotationDepth.md +1 -1
  237. package/docs/Microsoft.Quantum.ResourceEstimation/SingleVariant.md +1 -1
  238. package/docs/Microsoft.Quantum.ResourceEstimation/TCount.md +1 -1
  239. package/docs/Microsoft.Quantum.Unstable.Arithmetic/AddLE.md +1 -1
  240. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfEqualL.md +1 -1
  241. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfEqualLE.md +1 -1
  242. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterL.md +1 -1
  243. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterLE.md +1 -1
  244. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterOrEqualL.md +1 -1
  245. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfGreaterOrEqualLE.md +1 -1
  246. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessL.md +1 -1
  247. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessLE.md +1 -1
  248. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessOrEqualL.md +1 -1
  249. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ApplyIfLessOrEqualLE.md +1 -1
  250. package/docs/Microsoft.Quantum.Unstable.Arithmetic/FourierTDIncByLE.md +1 -1
  251. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByI.md +1 -1
  252. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByIUsingIncByLE.md +1 -1
  253. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByL.md +1 -1
  254. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLE.md +1 -1
  255. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLEUsingAddLE.md +1 -1
  256. package/docs/Microsoft.Quantum.Unstable.Arithmetic/IncByLUsingIncByLE.md +1 -1
  257. package/docs/Microsoft.Quantum.Unstable.Arithmetic/LookAheadDKRSAddLE.md +1 -1
  258. package/docs/Microsoft.Quantum.Unstable.Arithmetic/MAJ.md +1 -1
  259. package/docs/Microsoft.Quantum.Unstable.Arithmetic/ReflectAboutInteger.md +1 -1
  260. package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryCGAddLE.md +1 -1
  261. package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryCGIncByLE.md +1 -1
  262. package/docs/Microsoft.Quantum.Unstable.Arithmetic/RippleCarryTTKIncByLE.md +1 -1
  263. package/docs/Microsoft.Quantum.Unstable.StatePreparation/ApproximatelyPreparePureStateCP.md +1 -1
  264. package/docs/Microsoft.Quantum.Unstable.StatePreparation/PreparePureStateD.md +1 -1
  265. package/docs/Microsoft.Quantum.Unstable.TableLookup/Select.md +1 -1
  266. package/lib/node/qsc_wasm.cjs +150 -165
  267. package/lib/node/qsc_wasm_bg.wasm +0 -0
  268. package/lib/web/qsc_wasm.d.ts +7 -7
  269. package/lib/web/qsc_wasm.js +173 -178
  270. package/lib/web/qsc_wasm_bg.wasm +0 -0
  271. package/package.json +1 -1
  272. package/ux/histogram.tsx +2 -3
@@ -1,3 +1,4 @@
1
+
1
2
  let imports = {};
2
3
  imports['__wbindgen_placeholder__'] = module.exports;
3
4
  let wasm;
@@ -11,13 +12,13 @@ function getObject(idx) { return heap[idx]; }
11
12
 
12
13
  let WASM_VECTOR_LEN = 0;
13
14
 
14
- let cachedUint8Memory0 = null;
15
+ let cachedUint8ArrayMemory0 = null;
15
16
 
16
- function getUint8Memory0() {
17
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
18
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
17
+ function getUint8ArrayMemory0() {
18
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
19
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
19
20
  }
20
- return cachedUint8Memory0;
21
+ return cachedUint8ArrayMemory0;
21
22
  }
22
23
 
23
24
  let cachedTextEncoder = new TextEncoder('utf-8');
@@ -40,7 +41,7 @@ function passStringToWasm0(arg, malloc, realloc) {
40
41
  if (realloc === undefined) {
41
42
  const buf = cachedTextEncoder.encode(arg);
42
43
  const ptr = malloc(buf.length, 1) >>> 0;
43
- getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
44
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
44
45
  WASM_VECTOR_LEN = buf.length;
45
46
  return ptr;
46
47
  }
@@ -48,7 +49,7 @@ function passStringToWasm0(arg, malloc, realloc) {
48
49
  let len = arg.length;
49
50
  let ptr = malloc(len, 1) >>> 0;
50
51
 
51
- const mem = getUint8Memory0();
52
+ const mem = getUint8ArrayMemory0();
52
53
 
53
54
  let offset = 0;
54
55
 
@@ -63,7 +64,7 @@ function passStringToWasm0(arg, malloc, realloc) {
63
64
  arg = arg.slice(offset);
64
65
  }
65
66
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
66
- const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
67
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
67
68
  const ret = encodeString(arg, view);
68
69
 
69
70
  offset += ret.written;
@@ -78,22 +79,13 @@ function isLikeNone(x) {
78
79
  return x === undefined || x === null;
79
80
  }
80
81
 
81
- let cachedInt32Memory0 = null;
82
-
83
- function getInt32Memory0() {
84
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
85
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
86
- }
87
- return cachedInt32Memory0;
88
- }
89
-
90
- let cachedFloat64Memory0 = null;
82
+ let cachedDataViewMemory0 = null;
91
83
 
92
- function getFloat64Memory0() {
93
- if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
94
- cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
84
+ function getDataViewMemory0() {
85
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
86
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
95
87
  }
96
- return cachedFloat64Memory0;
88
+ return cachedDataViewMemory0;
97
89
  }
98
90
 
99
91
  let heap_next = heap.length;
@@ -116,7 +108,7 @@ cachedTextDecoder.decode();
116
108
 
117
109
  function getStringFromWasm0(ptr, len) {
118
110
  ptr = ptr >>> 0;
119
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
111
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
120
112
  }
121
113
 
122
114
  function addHeapObject(obj) {
@@ -128,15 +120,6 @@ function addHeapObject(obj) {
128
120
  return idx;
129
121
  }
130
122
 
131
- let cachedBigInt64Memory0 = null;
132
-
133
- function getBigInt64Memory0() {
134
- if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
135
- cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
136
- }
137
- return cachedBigInt64Memory0;
138
- }
139
-
140
123
  function debugString(val) {
141
124
  // primitive types
142
125
  const type = typeof val;
@@ -244,27 +227,27 @@ function addBorrowedObject(obj) {
244
227
  return stack_pointer;
245
228
  }
246
229
 
247
- let cachedUint32Memory0 = null;
230
+ let cachedUint32ArrayMemory0 = null;
248
231
 
249
- function getUint32Memory0() {
250
- if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
251
- cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
232
+ function getUint32ArrayMemory0() {
233
+ if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
234
+ cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
252
235
  }
253
- return cachedUint32Memory0;
236
+ return cachedUint32ArrayMemory0;
254
237
  }
255
238
 
256
239
  function passArray32ToWasm0(arg, malloc) {
257
240
  const ptr = malloc(arg.length * 4, 4) >>> 0;
258
- getUint32Memory0().set(arg, ptr / 4);
241
+ getUint32ArrayMemory0().set(arg, ptr / 4);
259
242
  WASM_VECTOR_LEN = arg.length;
260
243
  return ptr;
261
244
  }
262
245
 
263
246
  function passArrayJsValueToWasm0(array, malloc) {
264
247
  const ptr = malloc(array.length * 4, 4) >>> 0;
265
- const mem = getUint32Memory0();
248
+ const mem = getDataViewMemory0();
266
249
  for (let i = 0; i < array.length; i++) {
267
- mem[ptr / 4 + i] = addHeapObject(array[i]);
250
+ mem.setUint32(ptr + 4 * i, addHeapObject(array[i]), true);
268
251
  }
269
252
  WASM_VECTOR_LEN = array.length;
270
253
  return ptr;
@@ -272,11 +255,10 @@ function passArrayJsValueToWasm0(array, malloc) {
272
255
 
273
256
  function getArrayJsValueFromWasm0(ptr, len) {
274
257
  ptr = ptr >>> 0;
275
- const mem = getUint32Memory0();
276
- const slice = mem.subarray(ptr / 4, ptr / 4 + len);
258
+ const mem = getDataViewMemory0();
277
259
  const result = [];
278
- for (let i = 0; i < slice.length; i++) {
279
- result.push(takeObject(slice[i]));
260
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
261
+ result.push(takeObject(mem.getUint32(i, true)));
280
262
  }
281
263
  return result;
282
264
  }
@@ -288,8 +270,8 @@ module.exports.initLogging = function(callback, level) {
288
270
  try {
289
271
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
290
272
  wasm.initLogging(retptr, addHeapObject(callback), level);
291
- var r0 = getInt32Memory0()[retptr / 4 + 0];
292
- var r1 = getInt32Memory0()[retptr / 4 + 1];
273
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
274
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
293
275
  if (r1) {
294
276
  throw takeObject(r0);
295
277
  }
@@ -321,8 +303,8 @@ module.exports.git_hash = function() {
321
303
  try {
322
304
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
323
305
  wasm.git_hash(retptr);
324
- var r0 = getInt32Memory0()[retptr / 4 + 0];
325
- var r1 = getInt32Memory0()[retptr / 4 + 1];
306
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
307
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
326
308
  deferred1_0 = r0;
327
309
  deferred1_1 = r1;
328
310
  return getStringFromWasm0(r0, r1);
@@ -342,10 +324,10 @@ module.exports.get_qir = function(program) {
342
324
  try {
343
325
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
344
326
  wasm.get_qir(retptr, addHeapObject(program));
345
- var r0 = getInt32Memory0()[retptr / 4 + 0];
346
- var r1 = getInt32Memory0()[retptr / 4 + 1];
347
- var r2 = getInt32Memory0()[retptr / 4 + 2];
348
- var r3 = getInt32Memory0()[retptr / 4 + 3];
327
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
328
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
329
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
330
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
349
331
  var ptr1 = r0;
350
332
  var len1 = r1;
351
333
  if (r3) {
@@ -374,10 +356,10 @@ module.exports.get_estimates = function(program, params) {
374
356
  const ptr0 = passStringToWasm0(params, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
375
357
  const len0 = WASM_VECTOR_LEN;
376
358
  wasm.get_estimates(retptr, addHeapObject(program), ptr0, len0);
377
- var r0 = getInt32Memory0()[retptr / 4 + 0];
378
- var r1 = getInt32Memory0()[retptr / 4 + 1];
379
- var r2 = getInt32Memory0()[retptr / 4 + 2];
380
- var r3 = getInt32Memory0()[retptr / 4 + 3];
359
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
360
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
361
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
362
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
381
363
  var ptr2 = r0;
382
364
  var len2 = r1;
383
365
  if (r3) {
@@ -403,9 +385,9 @@ module.exports.get_circuit = function(program, simulate, operation) {
403
385
  try {
404
386
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
405
387
  wasm.get_circuit(retptr, addHeapObject(program), simulate, isLikeNone(operation) ? 0 : addHeapObject(operation));
406
- var r0 = getInt32Memory0()[retptr / 4 + 0];
407
- var r1 = getInt32Memory0()[retptr / 4 + 1];
408
- var r2 = getInt32Memory0()[retptr / 4 + 2];
388
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
389
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
390
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
409
391
  if (r2) {
410
392
  throw takeObject(r1);
411
393
  }
@@ -425,8 +407,8 @@ module.exports.get_library_source_content = function(name) {
425
407
  const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
426
408
  const len0 = WASM_VECTOR_LEN;
427
409
  wasm.get_library_source_content(retptr, ptr0, len0);
428
- var r0 = getInt32Memory0()[retptr / 4 + 0];
429
- var r1 = getInt32Memory0()[retptr / 4 + 1];
410
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
411
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
430
412
  let v2;
431
413
  if (r0 !== 0) {
432
414
  v2 = getStringFromWasm0(r0, r1).slice();
@@ -456,10 +438,10 @@ module.exports.get_ast = function(code, language_features, profile) {
456
438
  const ptr2 = passStringToWasm0(profile, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
457
439
  const len2 = WASM_VECTOR_LEN;
458
440
  wasm.get_ast(retptr, ptr0, len0, ptr1, len1, ptr2, len2);
459
- var r0 = getInt32Memory0()[retptr / 4 + 0];
460
- var r1 = getInt32Memory0()[retptr / 4 + 1];
461
- var r2 = getInt32Memory0()[retptr / 4 + 2];
462
- var r3 = getInt32Memory0()[retptr / 4 + 3];
441
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
442
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
443
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
444
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
463
445
  var ptr4 = r0;
464
446
  var len4 = r1;
465
447
  if (r3) {
@@ -493,10 +475,10 @@ module.exports.get_hir = function(code, language_features, profile) {
493
475
  const ptr2 = passStringToWasm0(profile, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
494
476
  const len2 = WASM_VECTOR_LEN;
495
477
  wasm.get_hir(retptr, ptr0, len0, ptr1, len1, ptr2, len2);
496
- var r0 = getInt32Memory0()[retptr / 4 + 0];
497
- var r1 = getInt32Memory0()[retptr / 4 + 1];
498
- var r2 = getInt32Memory0()[retptr / 4 + 2];
499
- var r3 = getInt32Memory0()[retptr / 4 + 3];
478
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
479
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
480
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
481
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
500
482
  var ptr4 = r0;
501
483
  var len4 = r1;
502
484
  if (r3) {
@@ -525,9 +507,9 @@ module.exports.run = function(program, expr, event_cb, shots) {
525
507
  const ptr0 = passStringToWasm0(expr, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
526
508
  const len0 = WASM_VECTOR_LEN;
527
509
  wasm.run(retptr, addHeapObject(program), ptr0, len0, addBorrowedObject(event_cb), shots);
528
- var r0 = getInt32Memory0()[retptr / 4 + 0];
529
- var r1 = getInt32Memory0()[retptr / 4 + 1];
530
- var r2 = getInt32Memory0()[retptr / 4 + 2];
510
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
511
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
512
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
531
513
  if (r2) {
532
514
  throw takeObject(r1);
533
515
  }
@@ -563,8 +545,8 @@ module.exports.generate_docs = function(additional_program) {
563
545
  try {
564
546
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
565
547
  wasm.generate_docs(retptr, isLikeNone(additional_program) ? 0 : addHeapObject(additional_program));
566
- var r0 = getInt32Memory0()[retptr / 4 + 0];
567
- var r1 = getInt32Memory0()[retptr / 4 + 1];
548
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
549
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
568
550
  var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
569
551
  wasm.__wbindgen_export_4(r0, r1 * 4, 4);
570
552
  return v1;
@@ -583,7 +565,7 @@ module.exports.StepResultId = Object.freeze({ BreakpointHit:0,"0":"BreakpointHit
583
565
 
584
566
  const DebugServiceFinalization = (typeof FinalizationRegistry === 'undefined')
585
567
  ? { register: () => {}, unregister: () => {} }
586
- : new FinalizationRegistry(ptr => wasm.__wbg_debugservice_free(ptr >>> 0));
568
+ : new FinalizationRegistry(ptr => wasm.__wbg_debugservice_free(ptr >>> 0, 1));
587
569
  /**
588
570
  */
589
571
  class DebugService {
@@ -597,13 +579,14 @@ class DebugService {
597
579
 
598
580
  free() {
599
581
  const ptr = this.__destroy_into_raw();
600
- wasm.__wbg_debugservice_free(ptr);
582
+ wasm.__wbg_debugservice_free(ptr, 0);
601
583
  }
602
584
  /**
603
585
  */
604
586
  constructor() {
605
587
  const ret = wasm.debugservice_new();
606
588
  this.__wbg_ptr = ret >>> 0;
589
+ DebugServiceFinalization.register(this, this.__wbg_ptr, this);
607
590
  return this;
608
591
  }
609
592
  /**
@@ -619,8 +602,8 @@ class DebugService {
619
602
  var ptr0 = isLikeNone(entry) ? 0 : passStringToWasm0(entry, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
620
603
  var len0 = WASM_VECTOR_LEN;
621
604
  wasm.debugservice_load_program(retptr, this.__wbg_ptr, addHeapObject(program), ptr0, len0);
622
- var r0 = getInt32Memory0()[retptr / 4 + 0];
623
- var r1 = getInt32Memory0()[retptr / 4 + 1];
605
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
606
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
624
607
  deferred2_0 = r0;
625
608
  deferred2_1 = r1;
626
609
  return getStringFromWasm0(r0, r1);
@@ -643,9 +626,9 @@ class DebugService {
643
626
  try {
644
627
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
645
628
  wasm.debugservice_get_circuit(retptr, this.__wbg_ptr);
646
- var r0 = getInt32Memory0()[retptr / 4 + 0];
647
- var r1 = getInt32Memory0()[retptr / 4 + 1];
648
- var r2 = getInt32Memory0()[retptr / 4 + 2];
629
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
630
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
631
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
649
632
  if (r2) {
650
633
  throw takeObject(r1);
651
634
  }
@@ -672,9 +655,9 @@ class DebugService {
672
655
  const ptr0 = passArray32ToWasm0(ids, wasm.__wbindgen_export_0);
673
656
  const len0 = WASM_VECTOR_LEN;
674
657
  wasm.debugservice_eval_next(retptr, this.__wbg_ptr, addBorrowedObject(event_cb), ptr0, len0);
675
- var r0 = getInt32Memory0()[retptr / 4 + 0];
676
- var r1 = getInt32Memory0()[retptr / 4 + 1];
677
- var r2 = getInt32Memory0()[retptr / 4 + 2];
658
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
659
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
660
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
678
661
  if (r2) {
679
662
  throw takeObject(r1);
680
663
  }
@@ -695,9 +678,9 @@ class DebugService {
695
678
  const ptr0 = passArray32ToWasm0(ids, wasm.__wbindgen_export_0);
696
679
  const len0 = WASM_VECTOR_LEN;
697
680
  wasm.debugservice_eval_continue(retptr, this.__wbg_ptr, addBorrowedObject(event_cb), ptr0, len0);
698
- var r0 = getInt32Memory0()[retptr / 4 + 0];
699
- var r1 = getInt32Memory0()[retptr / 4 + 1];
700
- var r2 = getInt32Memory0()[retptr / 4 + 2];
681
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
682
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
683
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
701
684
  if (r2) {
702
685
  throw takeObject(r1);
703
686
  }
@@ -718,9 +701,9 @@ class DebugService {
718
701
  const ptr0 = passArray32ToWasm0(ids, wasm.__wbindgen_export_0);
719
702
  const len0 = WASM_VECTOR_LEN;
720
703
  wasm.debugservice_eval_step_in(retptr, this.__wbg_ptr, addBorrowedObject(event_cb), ptr0, len0);
721
- var r0 = getInt32Memory0()[retptr / 4 + 0];
722
- var r1 = getInt32Memory0()[retptr / 4 + 1];
723
- var r2 = getInt32Memory0()[retptr / 4 + 2];
704
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
705
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
706
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
724
707
  if (r2) {
725
708
  throw takeObject(r1);
726
709
  }
@@ -741,9 +724,9 @@ class DebugService {
741
724
  const ptr0 = passArray32ToWasm0(ids, wasm.__wbindgen_export_0);
742
725
  const len0 = WASM_VECTOR_LEN;
743
726
  wasm.debugservice_eval_step_out(retptr, this.__wbg_ptr, addBorrowedObject(event_cb), ptr0, len0);
744
- var r0 = getInt32Memory0()[retptr / 4 + 0];
745
- var r1 = getInt32Memory0()[retptr / 4 + 1];
746
- var r2 = getInt32Memory0()[retptr / 4 + 2];
727
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
728
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
729
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
747
730
  if (r2) {
748
731
  throw takeObject(r1);
749
732
  }
@@ -775,7 +758,7 @@ module.exports.DebugService = DebugService;
775
758
 
776
759
  const LanguageServiceFinalization = (typeof FinalizationRegistry === 'undefined')
777
760
  ? { register: () => {}, unregister: () => {} }
778
- : new FinalizationRegistry(ptr => wasm.__wbg_languageservice_free(ptr >>> 0));
761
+ : new FinalizationRegistry(ptr => wasm.__wbg_languageservice_free(ptr >>> 0, 1));
779
762
  /**
780
763
  */
781
764
  class LanguageService {
@@ -789,13 +772,14 @@ class LanguageService {
789
772
 
790
773
  free() {
791
774
  const ptr = this.__destroy_into_raw();
792
- wasm.__wbg_languageservice_free(ptr);
775
+ wasm.__wbg_languageservice_free(ptr, 0);
793
776
  }
794
777
  /**
795
778
  */
796
779
  constructor() {
797
780
  const ret = wasm.languageservice_new();
798
781
  this.__wbg_ptr = ret >>> 0;
782
+ LanguageServiceFinalization.register(this, this.__wbg_ptr, this);
799
783
  return this;
800
784
  }
801
785
  /**
@@ -869,8 +853,8 @@ class LanguageService {
869
853
  const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
870
854
  const len0 = WASM_VECTOR_LEN;
871
855
  wasm.languageservice_get_code_actions(retptr, this.__wbg_ptr, ptr0, len0, addHeapObject(range));
872
- var r0 = getInt32Memory0()[retptr / 4 + 0];
873
- var r1 = getInt32Memory0()[retptr / 4 + 1];
856
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
857
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
874
858
  var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
875
859
  wasm.__wbindgen_export_4(r0, r1 * 4, 4);
876
860
  return v2;
@@ -912,8 +896,8 @@ class LanguageService {
912
896
  const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
913
897
  const len0 = WASM_VECTOR_LEN;
914
898
  wasm.languageservice_get_references(retptr, this.__wbg_ptr, ptr0, len0, addHeapObject(position), include_declaration);
915
- var r0 = getInt32Memory0()[retptr / 4 + 0];
916
- var r1 = getInt32Memory0()[retptr / 4 + 1];
899
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
900
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
917
901
  var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
918
902
  wasm.__wbindgen_export_4(r0, r1 * 4, 4);
919
903
  return v2;
@@ -931,8 +915,8 @@ class LanguageService {
931
915
  const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
932
916
  const len0 = WASM_VECTOR_LEN;
933
917
  wasm.languageservice_get_format_changes(retptr, this.__wbg_ptr, ptr0, len0);
934
- var r0 = getInt32Memory0()[retptr / 4 + 0];
935
- var r1 = getInt32Memory0()[retptr / 4 + 1];
918
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
919
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
936
920
  var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
937
921
  wasm.__wbindgen_export_4(r0, r1 * 4, 4);
938
922
  return v2;
@@ -997,8 +981,8 @@ class LanguageService {
997
981
  const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
998
982
  const len0 = WASM_VECTOR_LEN;
999
983
  wasm.languageservice_get_code_lenses(retptr, this.__wbg_ptr, ptr0, len0);
1000
- var r0 = getInt32Memory0()[retptr / 4 + 0];
1001
- var r1 = getInt32Memory0()[retptr / 4 + 1];
984
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
985
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1002
986
  var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
1003
987
  wasm.__wbindgen_export_4(r0, r1 * 4, 4);
1004
988
  return v2;
@@ -1011,7 +995,7 @@ module.exports.LanguageService = LanguageService;
1011
995
 
1012
996
  const ProjectLoaderFinalization = (typeof FinalizationRegistry === 'undefined')
1013
997
  ? { register: () => {}, unregister: () => {} }
1014
- : new FinalizationRegistry(ptr => wasm.__wbg_projectloader_free(ptr >>> 0));
998
+ : new FinalizationRegistry(ptr => wasm.__wbg_projectloader_free(ptr >>> 0, 1));
1015
999
  /**
1016
1000
  * a minimal implementation for interacting with async JS filesystem callbacks to
1017
1001
  * load project files
@@ -1027,7 +1011,7 @@ class ProjectLoader {
1027
1011
 
1028
1012
  free() {
1029
1013
  const ptr = this.__destroy_into_raw();
1030
- wasm.__wbg_projectloader_free(ptr);
1014
+ wasm.__wbg_projectloader_free(ptr, 0);
1031
1015
  }
1032
1016
  /**
1033
1017
  * @param {IProjectHost} project_host
@@ -1035,6 +1019,7 @@ class ProjectLoader {
1035
1019
  constructor(project_host) {
1036
1020
  const ret = wasm.projectloader_new(addHeapObject(project_host));
1037
1021
  this.__wbg_ptr = ret >>> 0;
1022
+ ProjectLoaderFinalization.register(this, this.__wbg_ptr, this);
1038
1023
  return this;
1039
1024
  }
1040
1025
  /**
@@ -1055,15 +1040,15 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
1055
1040
  const ret = typeof(obj) === 'string' ? obj : undefined;
1056
1041
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1057
1042
  var len1 = WASM_VECTOR_LEN;
1058
- getInt32Memory0()[arg0 / 4 + 1] = len1;
1059
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1043
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1044
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1060
1045
  };
1061
1046
 
1062
1047
  module.exports.__wbindgen_number_get = function(arg0, arg1) {
1063
1048
  const obj = getObject(arg1);
1064
1049
  const ret = typeof(obj) === 'number' ? obj : undefined;
1065
- getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
1066
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
1050
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1051
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1067
1052
  };
1068
1053
 
1069
1054
  module.exports.__wbindgen_object_drop_ref = function(arg0) {
@@ -1144,8 +1129,8 @@ module.exports.__wbindgen_number_new = function(arg0) {
1144
1129
 
1145
1130
  module.exports.__wbg_getstacktracelimit_1795d5c8573c0904 = function(arg0) {
1146
1131
  const ret = Error.stackTraceLimit;
1147
- getInt32Memory0()[arg0 / 4 + 1] = isLikeNone(ret) ? 0 : ret;
1148
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
1132
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, isLikeNone(ret) ? 0 : ret, true);
1133
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1149
1134
  };
1150
1135
 
1151
1136
  module.exports.__wbg_setstacktracelimit_11f38865cc4ff17c = function(arg0) {
@@ -1161,16 +1146,16 @@ module.exports.__wbg_stack_3090cd8fd3702c6e = function(arg0, arg1) {
1161
1146
  const ret = getObject(arg1).stack;
1162
1147
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1163
1148
  const len1 = WASM_VECTOR_LEN;
1164
- getInt32Memory0()[arg0 / 4 + 1] = len1;
1165
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1149
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1150
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1166
1151
  };
1167
1152
 
1168
1153
  module.exports.__wbg_profile_431ee5e29ff55ee3 = function(arg0, arg1) {
1169
1154
  const ret = getObject(arg1).profile;
1170
1155
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1171
1156
  const len1 = WASM_VECTOR_LEN;
1172
- getInt32Memory0()[arg0 / 4 + 1] = len1;
1173
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1157
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1158
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1174
1159
  };
1175
1160
 
1176
1161
  module.exports.__wbg_packageGraphSources_612f292bc2b31ff9 = function(arg0) {
@@ -1232,8 +1217,8 @@ module.exports.__wbg_String_b9412f8799faab3e = function(arg0, arg1) {
1232
1217
  const ret = String(getObject(arg1));
1233
1218
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1234
1219
  const len1 = WASM_VECTOR_LEN;
1235
- getInt32Memory0()[arg0 / 4 + 1] = len1;
1236
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1220
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1221
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1237
1222
  };
1238
1223
 
1239
1224
  module.exports.__wbg_getwithrefkey_edc2c8960f0f1191 = function(arg0, arg1) {
@@ -1245,12 +1230,12 @@ module.exports.__wbg_set_f975102236d3c502 = function(arg0, arg1, arg2) {
1245
1230
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
1246
1231
  };
1247
1232
 
1248
- module.exports.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) {
1233
+ module.exports.__wbg_queueMicrotask_48421b3cc9052b68 = function(arg0) {
1249
1234
  const ret = getObject(arg0).queueMicrotask;
1250
1235
  return addHeapObject(ret);
1251
1236
  };
1252
1237
 
1253
- module.exports.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) {
1238
+ module.exports.__wbg_queueMicrotask_12a30234db4045d3 = function(arg0) {
1254
1239
  queueMicrotask(getObject(arg0));
1255
1240
  };
1256
1241
 
@@ -1292,101 +1277,101 @@ module.exports.__wbg_getRandomValues_3aa56aa6edec874c = function() { return hand
1292
1277
  getObject(arg0).getRandomValues(getObject(arg1));
1293
1278
  }, arguments) };
1294
1279
 
1295
- module.exports.__wbg_self_ce0dbfc45cf2f5be = function() { return handleError(function () {
1280
+ module.exports.__wbg_self_3093d5d1f7bcb682 = function() { return handleError(function () {
1296
1281
  const ret = self.self;
1297
1282
  return addHeapObject(ret);
1298
1283
  }, arguments) };
1299
1284
 
1300
- module.exports.__wbg_window_c6fb939a7f436783 = function() { return handleError(function () {
1285
+ module.exports.__wbg_window_3bcfc4d31bc012f8 = function() { return handleError(function () {
1301
1286
  const ret = window.window;
1302
1287
  return addHeapObject(ret);
1303
1288
  }, arguments) };
1304
1289
 
1305
- module.exports.__wbg_globalThis_d1e6af4856ba331b = function() { return handleError(function () {
1290
+ module.exports.__wbg_globalThis_86b222e13bdf32ed = function() { return handleError(function () {
1306
1291
  const ret = globalThis.globalThis;
1307
1292
  return addHeapObject(ret);
1308
1293
  }, arguments) };
1309
1294
 
1310
- module.exports.__wbg_global_207b558942527489 = function() { return handleError(function () {
1295
+ module.exports.__wbg_global_e5a3fe56f8be9485 = function() { return handleError(function () {
1311
1296
  const ret = global.global;
1312
1297
  return addHeapObject(ret);
1313
1298
  }, arguments) };
1314
1299
 
1315
- module.exports.__wbg_newnoargs_e258087cd0daa0ea = function(arg0, arg1) {
1300
+ module.exports.__wbg_newnoargs_76313bd6ff35d0f2 = function(arg0, arg1) {
1316
1301
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1317
1302
  return addHeapObject(ret);
1318
1303
  };
1319
1304
 
1320
- module.exports.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) {
1305
+ module.exports.__wbg_call_1084a111329e68ce = function() { return handleError(function (arg0, arg1) {
1321
1306
  const ret = getObject(arg0).call(getObject(arg1));
1322
1307
  return addHeapObject(ret);
1323
1308
  }, arguments) };
1324
1309
 
1325
- module.exports.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
1310
+ module.exports.__wbg_get_3baa728f9d58d3f6 = function(arg0, arg1) {
1326
1311
  const ret = getObject(arg0)[arg1 >>> 0];
1327
1312
  return addHeapObject(ret);
1328
1313
  };
1329
1314
 
1330
- module.exports.__wbg_length_cd7af8117672b8b8 = function(arg0) {
1315
+ module.exports.__wbg_length_ae22078168b726f5 = function(arg0) {
1331
1316
  const ret = getObject(arg0).length;
1332
1317
  return ret;
1333
1318
  };
1334
1319
 
1335
- module.exports.__wbg_new_16b304a2cfa7ff4a = function() {
1320
+ module.exports.__wbg_new_a220cf903aa02ca2 = function() {
1336
1321
  const ret = new Array();
1337
1322
  return addHeapObject(ret);
1338
1323
  };
1339
1324
 
1340
- module.exports.__wbg_new_d9bc3a0147634640 = function() {
1325
+ module.exports.__wbg_new_8608a2b51a5f6737 = function() {
1341
1326
  const ret = new Map();
1342
1327
  return addHeapObject(ret);
1343
1328
  };
1344
1329
 
1345
- module.exports.__wbg_next_40fc327bfc8770e6 = function(arg0) {
1330
+ module.exports.__wbg_next_de3e9db4440638b2 = function(arg0) {
1346
1331
  const ret = getObject(arg0).next;
1347
1332
  return addHeapObject(ret);
1348
1333
  };
1349
1334
 
1350
- module.exports.__wbg_next_196c84450b364254 = function() { return handleError(function (arg0) {
1335
+ module.exports.__wbg_next_f9cb570345655b9a = function() { return handleError(function (arg0) {
1351
1336
  const ret = getObject(arg0).next();
1352
1337
  return addHeapObject(ret);
1353
1338
  }, arguments) };
1354
1339
 
1355
- module.exports.__wbg_done_298b57d23c0fc80c = function(arg0) {
1340
+ module.exports.__wbg_done_bfda7aa8f252b39f = function(arg0) {
1356
1341
  const ret = getObject(arg0).done;
1357
1342
  return ret;
1358
1343
  };
1359
1344
 
1360
- module.exports.__wbg_value_d93c65011f51a456 = function(arg0) {
1345
+ module.exports.__wbg_value_6d39332ab4788d86 = function(arg0) {
1361
1346
  const ret = getObject(arg0).value;
1362
1347
  return addHeapObject(ret);
1363
1348
  };
1364
1349
 
1365
- module.exports.__wbg_iterator_2cee6dadfd956dfa = function() {
1350
+ module.exports.__wbg_iterator_888179a48810a9fe = function() {
1366
1351
  const ret = Symbol.iterator;
1367
1352
  return addHeapObject(ret);
1368
1353
  };
1369
1354
 
1370
- module.exports.__wbg_get_e3c254076557e348 = function() { return handleError(function (arg0, arg1) {
1355
+ module.exports.__wbg_get_224d16597dbbfd96 = function() { return handleError(function (arg0, arg1) {
1371
1356
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
1372
1357
  return addHeapObject(ret);
1373
1358
  }, arguments) };
1374
1359
 
1375
- module.exports.__wbg_new_72fb9a18b5ae2624 = function() {
1360
+ module.exports.__wbg_new_525245e2b9901204 = function() {
1376
1361
  const ret = new Object();
1377
1362
  return addHeapObject(ret);
1378
1363
  };
1379
1364
 
1380
- module.exports.__wbg_set_d4638f722068f043 = function(arg0, arg1, arg2) {
1365
+ module.exports.__wbg_set_673dda6c73d19609 = function(arg0, arg1, arg2) {
1381
1366
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
1382
1367
  };
1383
1368
 
1384
- module.exports.__wbg_isArray_2ab64d95e09ea0ae = function(arg0) {
1369
+ module.exports.__wbg_isArray_8364a5371e9737d8 = function(arg0) {
1385
1370
  const ret = Array.isArray(getObject(arg0));
1386
1371
  return ret;
1387
1372
  };
1388
1373
 
1389
- module.exports.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
1374
+ module.exports.__wbg_instanceof_ArrayBuffer_61dfc3198373c902 = function(arg0) {
1390
1375
  let result;
1391
1376
  try {
1392
1377
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -1397,7 +1382,7 @@ module.exports.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
1397
1382
  return ret;
1398
1383
  };
1399
1384
 
1400
- module.exports.__wbg_instanceof_Error_e20bb56fd5591a93 = function(arg0) {
1385
+ module.exports.__wbg_instanceof_Error_69bde193b0cc95e3 = function(arg0) {
1401
1386
  let result;
1402
1387
  try {
1403
1388
  result = getObject(arg0) instanceof Error;
@@ -1408,22 +1393,22 @@ module.exports.__wbg_instanceof_Error_e20bb56fd5591a93 = function(arg0) {
1408
1393
  return ret;
1409
1394
  };
1410
1395
 
1411
- module.exports.__wbg_message_5bf28016c2b49cfb = function(arg0) {
1396
+ module.exports.__wbg_message_e18bae0a0e2c097a = function(arg0) {
1412
1397
  const ret = getObject(arg0).message;
1413
1398
  return addHeapObject(ret);
1414
1399
  };
1415
1400
 
1416
- module.exports.__wbg_call_b3ca7c6051f9bec1 = function() { return handleError(function (arg0, arg1, arg2) {
1401
+ module.exports.__wbg_call_89af060b4e1523f2 = function() { return handleError(function (arg0, arg1, arg2) {
1417
1402
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
1418
1403
  return addHeapObject(ret);
1419
1404
  }, arguments) };
1420
1405
 
1421
- module.exports.__wbg_call_938992c832f74314 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1406
+ module.exports.__wbg_call_7de908392845a9a5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1422
1407
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4));
1423
1408
  return addHeapObject(ret);
1424
1409
  }, arguments) };
1425
1410
 
1426
- module.exports.__wbg_instanceof_Map_87917e0a7aaf4012 = function(arg0) {
1411
+ module.exports.__wbg_instanceof_Map_763ce0e95960d55e = function(arg0) {
1427
1412
  let result;
1428
1413
  try {
1429
1414
  result = getObject(arg0) instanceof Map;
@@ -1434,27 +1419,27 @@ module.exports.__wbg_instanceof_Map_87917e0a7aaf4012 = function(arg0) {
1434
1419
  return ret;
1435
1420
  };
1436
1421
 
1437
- module.exports.__wbg_set_8417257aaedc936b = function(arg0, arg1, arg2) {
1422
+ module.exports.__wbg_set_49185437f0ab06f8 = function(arg0, arg1, arg2) {
1438
1423
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
1439
1424
  return addHeapObject(ret);
1440
1425
  };
1441
1426
 
1442
- module.exports.__wbg_isSafeInteger_f7b04ef02296c4d2 = function(arg0) {
1427
+ module.exports.__wbg_isSafeInteger_7f1ed56200d90674 = function(arg0) {
1443
1428
  const ret = Number.isSafeInteger(getObject(arg0));
1444
1429
  return ret;
1445
1430
  };
1446
1431
 
1447
- module.exports.__wbg_entries_95cc2c823b285a09 = function(arg0) {
1432
+ module.exports.__wbg_entries_7a0e06255456ebcd = function(arg0) {
1448
1433
  const ret = Object.entries(getObject(arg0));
1449
1434
  return addHeapObject(ret);
1450
1435
  };
1451
1436
 
1452
- module.exports.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
1437
+ module.exports.__wbg_buffer_b7b08af79b0b0974 = function(arg0) {
1453
1438
  const ret = getObject(arg0).buffer;
1454
1439
  return addHeapObject(ret);
1455
1440
  };
1456
1441
 
1457
- module.exports.__wbg_new_81740750da40724f = function(arg0, arg1) {
1442
+ module.exports.__wbg_new_b85e72ed1bfd57f9 = function(arg0, arg1) {
1458
1443
  try {
1459
1444
  var state0 = {a: arg0, b: arg1};
1460
1445
  var cb0 = (arg0, arg1) => {
@@ -1473,41 +1458,41 @@ module.exports.__wbg_new_81740750da40724f = function(arg0, arg1) {
1473
1458
  }
1474
1459
  };
1475
1460
 
1476
- module.exports.__wbg_resolve_b0083a7967828ec8 = function(arg0) {
1461
+ module.exports.__wbg_resolve_570458cb99d56a43 = function(arg0) {
1477
1462
  const ret = Promise.resolve(getObject(arg0));
1478
1463
  return addHeapObject(ret);
1479
1464
  };
1480
1465
 
1481
- module.exports.__wbg_then_0c86a60e8fcfe9f6 = function(arg0, arg1) {
1466
+ module.exports.__wbg_then_95e6edc0f89b73b1 = function(arg0, arg1) {
1482
1467
  const ret = getObject(arg0).then(getObject(arg1));
1483
1468
  return addHeapObject(ret);
1484
1469
  };
1485
1470
 
1486
- module.exports.__wbg_then_a73caa9a87991566 = function(arg0, arg1, arg2) {
1471
+ module.exports.__wbg_then_876bb3c633745cc6 = function(arg0, arg1, arg2) {
1487
1472
  const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
1488
1473
  return addHeapObject(ret);
1489
1474
  };
1490
1475
 
1491
- module.exports.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb = function(arg0, arg1, arg2) {
1476
+ module.exports.__wbg_newwithbyteoffsetandlength_8a2cb9ca96b27ec9 = function(arg0, arg1, arg2) {
1492
1477
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
1493
1478
  return addHeapObject(ret);
1494
1479
  };
1495
1480
 
1496
- module.exports.__wbg_new_63b92bc8671ed464 = function(arg0) {
1481
+ module.exports.__wbg_new_ea1883e1e5e86686 = function(arg0) {
1497
1482
  const ret = new Uint8Array(getObject(arg0));
1498
1483
  return addHeapObject(ret);
1499
1484
  };
1500
1485
 
1501
- module.exports.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
1486
+ module.exports.__wbg_set_d1e79e2388520f18 = function(arg0, arg1, arg2) {
1502
1487
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
1503
1488
  };
1504
1489
 
1505
- module.exports.__wbg_length_c20a40f15020d68a = function(arg0) {
1490
+ module.exports.__wbg_length_8339fcf5d8ecd12e = function(arg0) {
1506
1491
  const ret = getObject(arg0).length;
1507
1492
  return ret;
1508
1493
  };
1509
1494
 
1510
- module.exports.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6 = function(arg0) {
1495
+ module.exports.__wbg_instanceof_Uint8Array_247a91427532499e = function(arg0) {
1511
1496
  let result;
1512
1497
  try {
1513
1498
  result = getObject(arg0) instanceof Uint8Array;
@@ -1518,12 +1503,12 @@ module.exports.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6 = function(arg0) {
1518
1503
  return ret;
1519
1504
  };
1520
1505
 
1521
- module.exports.__wbg_newwithlength_e9b4878cebadb3d3 = function(arg0) {
1506
+ module.exports.__wbg_newwithlength_ec548f448387c968 = function(arg0) {
1522
1507
  const ret = new Uint8Array(arg0 >>> 0);
1523
1508
  return addHeapObject(ret);
1524
1509
  };
1525
1510
 
1526
- module.exports.__wbg_subarray_a1f73cd4b5b42fe1 = function(arg0, arg1, arg2) {
1511
+ module.exports.__wbg_subarray_7c2e3576afe181d1 = function(arg0, arg1, arg2) {
1527
1512
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
1528
1513
  return addHeapObject(ret);
1529
1514
  };
@@ -1531,16 +1516,16 @@ module.exports.__wbg_subarray_a1f73cd4b5b42fe1 = function(arg0, arg1, arg2) {
1531
1516
  module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
1532
1517
  const v = getObject(arg1);
1533
1518
  const ret = typeof(v) === 'bigint' ? v : undefined;
1534
- getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
1535
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
1519
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1520
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1536
1521
  };
1537
1522
 
1538
1523
  module.exports.__wbindgen_debug_string = function(arg0, arg1) {
1539
1524
  const ret = debugString(getObject(arg1));
1540
1525
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
1541
1526
  const len1 = WASM_VECTOR_LEN;
1542
- getInt32Memory0()[arg0 / 4 + 1] = len1;
1543
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
1527
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1528
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1544
1529
  };
1545
1530
 
1546
1531
  module.exports.__wbindgen_throw = function(arg0, arg1) {
@@ -1552,8 +1537,8 @@ module.exports.__wbindgen_memory = function() {
1552
1537
  return addHeapObject(ret);
1553
1538
  };
1554
1539
 
1555
- module.exports.__wbindgen_closure_wrapper895 = function(arg0, arg1, arg2) {
1556
- const ret = makeMutClosure(arg0, arg1, 360, __wbg_adapter_52);
1540
+ module.exports.__wbindgen_closure_wrapper897 = function(arg0, arg1, arg2) {
1541
+ const ret = makeMutClosure(arg0, arg1, 361, __wbg_adapter_52);
1557
1542
  return addHeapObject(ret);
1558
1543
  };
1559
1544