@chainflip/processor 2.1.0-beta.1 → 2.1.0-beta.3

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 (1744) hide show
  1. package/dist/100/bitcoinBroadcaster/transactionFeeDeficitRecorded.d.cts +2 -2
  2. package/dist/100/bitcoinBroadcaster/transactionFeeDeficitRecorded.d.mts +2 -2
  3. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.cts +2 -2
  4. package/dist/100/bitcoinIngressEgress/depositFetchesScheduled.d.mts +2 -2
  5. package/dist/100/bitcoinIngressEgress/depositIgnored.d.cts +6 -6
  6. package/dist/100/bitcoinIngressEgress/depositIgnored.d.mts +6 -6
  7. package/dist/100/bitcoinIngressEgress/depositReceived.d.cts +6 -6
  8. package/dist/100/bitcoinIngressEgress/depositReceived.d.mts +6 -6
  9. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.cts +12 -12
  10. package/dist/100/bitcoinIngressEgress/depositWitnessRejected.d.mts +12 -12
  11. package/dist/100/bitcoinIngressEgress/egressScheduled.d.cts +2 -2
  12. package/dist/100/bitcoinIngressEgress/egressScheduled.d.mts +2 -2
  13. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.cts +2 -2
  14. package/dist/100/bitcoinIngressEgress/vaultTransferFailed.d.mts +2 -2
  15. package/dist/100/bitcoinThresholdSigner/failureReportProcessed.d.cts +2 -2
  16. package/dist/100/bitcoinThresholdSigner/failureReportProcessed.d.mts +2 -2
  17. package/dist/100/bitcoinThresholdSigner/retryRequested.d.cts +2 -2
  18. package/dist/100/bitcoinThresholdSigner/retryRequested.d.mts +2 -2
  19. package/dist/100/bitcoinThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  20. package/dist/100/bitcoinThresholdSigner/thresholdDispatchComplete.d.mts +2 -2
  21. package/dist/100/bitcoinThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  22. package/dist/100/bitcoinThresholdSigner/thresholdSignatureFailed.d.mts +2 -2
  23. package/dist/100/bitcoinThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  24. package/dist/100/bitcoinThresholdSigner/thresholdSignatureRequest.d.mts +2 -2
  25. package/dist/100/bitcoinThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  26. package/dist/100/bitcoinThresholdSigner/thresholdSignatureSuccess.d.mts +2 -2
  27. package/dist/100/common.d.cts +16 -16
  28. package/dist/100/common.d.mts +16 -16
  29. package/dist/100/ethereumBroadcaster/transactionFeeDeficitRecorded.d.cts +2 -2
  30. package/dist/100/ethereumBroadcaster/transactionFeeDeficitRecorded.d.mts +2 -2
  31. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  32. package/dist/100/ethereumIngressEgress/depositFetchesScheduled.d.mts +2 -2
  33. package/dist/100/ethereumIngressEgress/depositIgnored.d.cts +4 -4
  34. package/dist/100/ethereumIngressEgress/depositIgnored.d.mts +4 -4
  35. package/dist/100/ethereumIngressEgress/depositReceived.d.cts +4 -4
  36. package/dist/100/ethereumIngressEgress/depositReceived.d.mts +4 -4
  37. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.cts +8 -8
  38. package/dist/100/ethereumIngressEgress/depositWitnessRejected.d.mts +8 -8
  39. package/dist/100/ethereumIngressEgress/egressScheduled.d.cts +2 -2
  40. package/dist/100/ethereumIngressEgress/egressScheduled.d.mts +2 -2
  41. package/dist/100/ethereumIngressEgress/vaultTransferFailed.d.cts +2 -2
  42. package/dist/100/ethereumIngressEgress/vaultTransferFailed.d.mts +2 -2
  43. package/dist/100/ethereumThresholdSigner/failureReportProcessed.d.cts +2 -2
  44. package/dist/100/ethereumThresholdSigner/failureReportProcessed.d.mts +2 -2
  45. package/dist/100/ethereumThresholdSigner/retryRequested.d.cts +2 -2
  46. package/dist/100/ethereumThresholdSigner/retryRequested.d.mts +2 -2
  47. package/dist/100/ethereumThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  48. package/dist/100/ethereumThresholdSigner/thresholdDispatchComplete.d.mts +2 -2
  49. package/dist/100/ethereumThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  50. package/dist/100/ethereumThresholdSigner/thresholdSignatureFailed.d.mts +2 -2
  51. package/dist/100/ethereumThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  52. package/dist/100/ethereumThresholdSigner/thresholdSignatureRequest.d.mts +2 -2
  53. package/dist/100/ethereumThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  54. package/dist/100/ethereumThresholdSigner/thresholdSignatureSuccess.d.mts +2 -2
  55. package/dist/100/funding/boundExecutorAddress.d.cts +2 -2
  56. package/dist/100/funding/boundExecutorAddress.d.mts +2 -2
  57. package/dist/100/funding/boundRedeemAddress.d.cts +2 -2
  58. package/dist/100/funding/boundRedeemAddress.d.mts +2 -2
  59. package/dist/100/funding/funded.d.cts +2 -2
  60. package/dist/100/funding/funded.d.mts +2 -2
  61. package/dist/100/liquidityPools/limitOrderUpdated.d.cts +2 -2
  62. package/dist/100/liquidityPools/limitOrderUpdated.d.mts +2 -2
  63. package/dist/100/liquidityPools/rangeOrderUpdated.d.cts +10 -10
  64. package/dist/100/liquidityPools/rangeOrderUpdated.d.mts +10 -10
  65. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.cts +6 -6
  66. package/dist/100/liquidityProvider/liquidityDepositAddressReady.d.mts +6 -6
  67. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.cts +2 -2
  68. package/dist/100/liquidityProvider/liquidityRefundAddressRegistered.d.mts +2 -2
  69. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.cts +4 -4
  70. package/dist/100/liquidityProvider/withdrawalEgressScheduled.d.mts +4 -4
  71. package/dist/100/polkadotBroadcaster/transactionFeeDeficitRecorded.d.cts +2 -2
  72. package/dist/100/polkadotBroadcaster/transactionFeeDeficitRecorded.d.mts +2 -2
  73. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.cts +2 -2
  74. package/dist/100/polkadotIngressEgress/depositFetchesScheduled.d.mts +2 -2
  75. package/dist/100/polkadotIngressEgress/depositIgnored.d.cts +4 -4
  76. package/dist/100/polkadotIngressEgress/depositIgnored.d.mts +4 -4
  77. package/dist/100/polkadotIngressEgress/depositReceived.d.cts +4 -4
  78. package/dist/100/polkadotIngressEgress/depositReceived.d.mts +4 -4
  79. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.cts +8 -8
  80. package/dist/100/polkadotIngressEgress/depositWitnessRejected.d.mts +8 -8
  81. package/dist/100/polkadotIngressEgress/egressScheduled.d.cts +2 -2
  82. package/dist/100/polkadotIngressEgress/egressScheduled.d.mts +2 -2
  83. package/dist/100/polkadotIngressEgress/vaultTransferFailed.d.cts +2 -2
  84. package/dist/100/polkadotIngressEgress/vaultTransferFailed.d.mts +2 -2
  85. package/dist/100/polkadotThresholdSigner/failureReportProcessed.d.cts +2 -2
  86. package/dist/100/polkadotThresholdSigner/failureReportProcessed.d.mts +2 -2
  87. package/dist/100/polkadotThresholdSigner/retryRequested.d.cts +2 -2
  88. package/dist/100/polkadotThresholdSigner/retryRequested.d.mts +2 -2
  89. package/dist/100/polkadotThresholdSigner/thresholdDispatchComplete.d.cts +2 -2
  90. package/dist/100/polkadotThresholdSigner/thresholdDispatchComplete.d.mts +2 -2
  91. package/dist/100/polkadotThresholdSigner/thresholdSignatureFailed.d.cts +2 -2
  92. package/dist/100/polkadotThresholdSigner/thresholdSignatureFailed.d.mts +2 -2
  93. package/dist/100/polkadotThresholdSigner/thresholdSignatureRequest.d.cts +2 -2
  94. package/dist/100/polkadotThresholdSigner/thresholdSignatureRequest.d.mts +2 -2
  95. package/dist/100/polkadotThresholdSigner/thresholdSignatureSuccess.d.cts +2 -2
  96. package/dist/100/polkadotThresholdSigner/thresholdSignatureSuccess.d.mts +2 -2
  97. package/dist/100/swapping/batchSwapFailed.d.cts +2 -2
  98. package/dist/100/swapping/batchSwapFailed.d.mts +2 -2
  99. package/dist/100/swapping/ccmDepositReceived.d.cts +2 -2
  100. package/dist/100/swapping/ccmDepositReceived.d.mts +2 -2
  101. package/dist/100/swapping/ccmFailed.d.cts +4 -4
  102. package/dist/100/swapping/ccmFailed.d.mts +4 -4
  103. package/dist/100/swapping/minimumSwapAmountSet.d.cts +2 -2
  104. package/dist/100/swapping/minimumSwapAmountSet.d.mts +2 -2
  105. package/dist/100/swapping/swapAmountTooLow.d.cts +6 -6
  106. package/dist/100/swapping/swapAmountTooLow.d.mts +6 -6
  107. package/dist/100/swapping/swapDepositAddressReady.d.cts +6 -6
  108. package/dist/100/swapping/swapDepositAddressReady.d.mts +6 -6
  109. package/dist/100/swapping/swapEgressScheduled.d.cts +4 -4
  110. package/dist/100/swapping/swapEgressScheduled.d.mts +4 -4
  111. package/dist/100/swapping/swapScheduled.d.cts +4 -4
  112. package/dist/100/swapping/swapScheduled.d.mts +4 -4
  113. package/dist/11000/arbitrumIngressEgress/depositFailed.d.cts +46 -46
  114. package/dist/11000/arbitrumIngressEgress/depositFailed.d.mts +46 -46
  115. package/dist/11000/assethubIngressEgress/depositFailed.d.cts +40 -40
  116. package/dist/11000/assethubIngressEgress/depositFailed.d.mts +40 -40
  117. package/dist/11000/bitcoinIngressEgress/depositFailed.d.cts +104 -104
  118. package/dist/11000/bitcoinIngressEgress/depositFailed.d.mts +104 -104
  119. package/dist/11000/common.d.cts +495 -495
  120. package/dist/11000/common.d.mts +495 -495
  121. package/dist/11000/environment/runtimeSafeModeUpdated.d.cts +28 -28
  122. package/dist/11000/environment/runtimeSafeModeUpdated.d.mts +28 -28
  123. package/dist/11000/ethereumIngressEgress/depositFailed.d.cts +46 -46
  124. package/dist/11000/ethereumIngressEgress/depositFailed.d.mts +46 -46
  125. package/dist/11000/lendingPools/boostFundsAdded.d.cts +12 -12
  126. package/dist/11000/lendingPools/boostFundsAdded.d.mts +12 -12
  127. package/dist/11000/lendingPools/boostPoolCreated.d.cts +8 -8
  128. package/dist/11000/lendingPools/boostPoolCreated.d.mts +8 -8
  129. package/dist/11000/lendingPools/stoppedBoosting.d.cts +10 -10
  130. package/dist/11000/lendingPools/stoppedBoosting.d.mts +10 -10
  131. package/dist/11000/polkadotIngressEgress/depositFailed.d.cts +40 -40
  132. package/dist/11000/polkadotIngressEgress/depositFailed.d.mts +40 -40
  133. package/dist/11000/solanaIngressEgress/depositFailed.d.cts +37 -37
  134. package/dist/11000/solanaIngressEgress/depositFailed.d.mts +37 -37
  135. package/dist/11000/swapping/palletConfigUpdated.d.cts +32 -32
  136. package/dist/11000/swapping/palletConfigUpdated.d.mts +32 -32
  137. package/dist/11000/swapping/refundEgressScheduled.d.cts +13 -13
  138. package/dist/11000/swapping/refundEgressScheduled.d.mts +13 -13
  139. package/dist/11000/swapping/refundedOnChain.d.cts +8 -8
  140. package/dist/11000/swapping/refundedOnChain.d.mts +8 -8
  141. package/dist/11000/swapping/swapDepositAddressReady.d.cts +31 -31
  142. package/dist/11000/swapping/swapDepositAddressReady.d.mts +31 -31
  143. package/dist/11000/swapping/swapRequested.d.cts +36 -36
  144. package/dist/11000/swapping/swapRequested.d.mts +36 -36
  145. package/dist/11000/tradingStrategy/strategyDeployed.d.cts +24 -24
  146. package/dist/11000/tradingStrategy/strategyDeployed.d.mts +24 -24
  147. package/dist/11100/arbitrumIngressEgress/depositFailed.d.cts +170 -170
  148. package/dist/11100/arbitrumIngressEgress/depositFailed.d.mts +170 -170
  149. package/dist/11100/assethubIngressEgress/depositFailed.d.cts +188 -188
  150. package/dist/11100/assethubIngressEgress/depositFailed.d.mts +188 -188
  151. package/dist/11100/bitcoinIngressEgress/depositFailed.d.cts +300 -300
  152. package/dist/11100/bitcoinIngressEgress/depositFailed.d.mts +300 -300
  153. package/dist/11100/common.d.cts +2909 -2909
  154. package/dist/11100/common.d.mts +2909 -2909
  155. package/dist/11100/environment/runtimeSafeModeUpdated.d.cts +100 -100
  156. package/dist/11100/environment/runtimeSafeModeUpdated.d.mts +100 -100
  157. package/dist/11100/ethereumIngressEgress/depositFailed.d.cts +170 -170
  158. package/dist/11100/ethereumIngressEgress/depositFailed.d.mts +170 -170
  159. package/dist/11100/funding/sCCallCannotBeDecoded.d.cts +2 -2
  160. package/dist/11100/funding/sCCallCannotBeDecoded.d.mts +2 -2
  161. package/dist/11100/funding/sCCallCannotBeExecuted.d.cts +50 -50
  162. package/dist/11100/funding/sCCallCannotBeExecuted.d.mts +50 -50
  163. package/dist/11100/funding/sCCallExecuted.d.cts +26 -26
  164. package/dist/11100/funding/sCCallExecuted.d.mts +26 -26
  165. package/dist/11100/genericElections/electoralEvent.d.cts +16 -16
  166. package/dist/11100/genericElections/electoralEvent.d.mts +16 -16
  167. package/dist/11100/lendingPools/collateralAdded.d.cts +12 -12
  168. package/dist/11100/lendingPools/collateralAdded.d.mts +12 -12
  169. package/dist/11100/lendingPools/collateralRemoved.d.cts +12 -12
  170. package/dist/11100/lendingPools/collateralRemoved.d.mts +12 -12
  171. package/dist/11100/lendingPools/lendingFeeCollectionInitiated.d.cts +6 -6
  172. package/dist/11100/lendingPools/lendingFeeCollectionInitiated.d.mts +6 -6
  173. package/dist/11100/lendingPools/lendingFundsAdded.d.cts +6 -6
  174. package/dist/11100/lendingPools/lendingFundsAdded.d.mts +6 -6
  175. package/dist/11100/lendingPools/lendingFundsRemoved.d.cts +6 -6
  176. package/dist/11100/lendingPools/lendingFundsRemoved.d.mts +6 -6
  177. package/dist/11100/lendingPools/lendingPoolCreated.d.cts +6 -6
  178. package/dist/11100/lendingPools/lendingPoolCreated.d.mts +6 -6
  179. package/dist/11100/lendingPools/loanCreated.d.cts +8 -8
  180. package/dist/11100/lendingPools/loanCreated.d.mts +8 -8
  181. package/dist/11100/lendingPools/loanRepaid.d.cts +6 -6
  182. package/dist/11100/lendingPools/loanRepaid.d.mts +6 -6
  183. package/dist/11100/lendingPools/loanSettled.d.cts +6 -6
  184. package/dist/11100/lendingPools/loanSettled.d.mts +6 -6
  185. package/dist/11100/polkadotIngressEgress/depositFailed.d.cts +188 -188
  186. package/dist/11100/polkadotIngressEgress/depositFailed.d.mts +188 -188
  187. package/dist/11100/solanaIngressEgress/depositFailed.d.cts +170 -170
  188. package/dist/11100/solanaIngressEgress/depositFailed.d.mts +170 -170
  189. package/dist/11100/swapping/swapDepositAddressReady.d.cts +40 -40
  190. package/dist/11100/swapping/swapDepositAddressReady.d.mts +40 -40
  191. package/dist/11100/swapping/swapExecuted.d.cts +16 -16
  192. package/dist/11100/swapping/swapExecuted.d.mts +16 -16
  193. package/dist/11100/swapping/swapRequested.d.cts +405 -405
  194. package/dist/11100/swapping/swapRequested.d.mts +405 -405
  195. package/dist/11100/validator/delegated.d.cts +2 -2
  196. package/dist/11100/validator/delegated.d.mts +2 -2
  197. package/dist/11100/validator/delegatorAllowed.d.cts +2 -2
  198. package/dist/11100/validator/delegatorAllowed.d.mts +2 -2
  199. package/dist/11100/validator/delegatorBlocked.d.cts +2 -2
  200. package/dist/11100/validator/delegatorBlocked.d.mts +2 -2
  201. package/dist/11100/validator/maxBidUpdated.d.cts +8 -8
  202. package/dist/11100/validator/maxBidUpdated.d.mts +8 -8
  203. package/dist/11100/validator/rotationPhaseUpdated.d.cts +20 -20
  204. package/dist/11100/validator/rotationPhaseUpdated.d.mts +20 -20
  205. package/dist/11100/validator/undelegated.d.cts +2 -2
  206. package/dist/11100/validator/undelegated.d.mts +2 -2
  207. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.cts +12 -12
  208. package/dist/11200/arbitrumIngressEgress/depositBoosted.d.mts +12 -12
  209. package/dist/11200/arbitrumIngressEgress/depositFailed.d.cts +28 -28
  210. package/dist/11200/arbitrumIngressEgress/depositFailed.d.mts +28 -28
  211. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.cts +8 -8
  212. package/dist/11200/arbitrumIngressEgress/depositFinalised.d.mts +8 -8
  213. package/dist/11200/assethubIngressEgress/depositBoosted.d.cts +12 -12
  214. package/dist/11200/assethubIngressEgress/depositBoosted.d.mts +12 -12
  215. package/dist/11200/assethubIngressEgress/depositFailed.d.cts +28 -28
  216. package/dist/11200/assethubIngressEgress/depositFailed.d.mts +28 -28
  217. package/dist/11200/assethubIngressEgress/depositFinalised.d.cts +8 -8
  218. package/dist/11200/assethubIngressEgress/depositFinalised.d.mts +8 -8
  219. package/dist/11200/bitcoinIngressEgress/depositBoosted.d.cts +12 -12
  220. package/dist/11200/bitcoinIngressEgress/depositBoosted.d.mts +12 -12
  221. package/dist/11200/bitcoinIngressEgress/depositFailed.d.cts +28 -28
  222. package/dist/11200/bitcoinIngressEgress/depositFailed.d.mts +28 -28
  223. package/dist/11200/bitcoinIngressEgress/depositFinalised.d.cts +8 -8
  224. package/dist/11200/bitcoinIngressEgress/depositFinalised.d.mts +8 -8
  225. package/dist/11200/common.d.cts +259 -259
  226. package/dist/11200/common.d.mts +259 -259
  227. package/dist/11200/ethereumIngressEgress/depositBoosted.d.cts +12 -12
  228. package/dist/11200/ethereumIngressEgress/depositBoosted.d.mts +12 -12
  229. package/dist/11200/ethereumIngressEgress/depositFailed.d.cts +28 -28
  230. package/dist/11200/ethereumIngressEgress/depositFailed.d.mts +28 -28
  231. package/dist/11200/ethereumIngressEgress/depositFinalised.d.cts +8 -8
  232. package/dist/11200/ethereumIngressEgress/depositFinalised.d.mts +8 -8
  233. package/dist/11200/polkadotIngressEgress/depositBoosted.d.cts +12 -12
  234. package/dist/11200/polkadotIngressEgress/depositBoosted.d.mts +12 -12
  235. package/dist/11200/polkadotIngressEgress/depositFailed.d.cts +28 -28
  236. package/dist/11200/polkadotIngressEgress/depositFailed.d.mts +28 -28
  237. package/dist/11200/polkadotIngressEgress/depositFinalised.d.cts +8 -8
  238. package/dist/11200/polkadotIngressEgress/depositFinalised.d.mts +8 -8
  239. package/dist/11200/solanaIngressEgress/depositBoosted.d.cts +12 -12
  240. package/dist/11200/solanaIngressEgress/depositBoosted.d.mts +12 -12
  241. package/dist/11200/solanaIngressEgress/depositFailed.d.cts +28 -28
  242. package/dist/11200/solanaIngressEgress/depositFailed.d.mts +28 -28
  243. package/dist/11200/solanaIngressEgress/depositFinalised.d.cts +8 -8
  244. package/dist/11200/solanaIngressEgress/depositFinalised.d.mts +8 -8
  245. package/dist/11200/swapping/swapRequested.d.cts +34 -34
  246. package/dist/11200/swapping/swapRequested.d.mts +34 -34
  247. package/dist/120/common.d.cts +7 -7
  248. package/dist/120/common.d.mts +7 -7
  249. package/dist/120/liquidityProvider/liquidityDepositCredited.d.cts +6 -6
  250. package/dist/120/liquidityProvider/liquidityDepositCredited.d.mts +6 -6
  251. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.cts +10 -10
  252. package/dist/120/liquidityProvider/withdrawalEgressScheduled.d.mts +10 -10
  253. package/dist/120/swapping/ccmFailed.d.cts +4 -4
  254. package/dist/120/swapping/ccmFailed.d.mts +4 -4
  255. package/dist/120/swapping/swapEgressIgnored.d.cts +8 -8
  256. package/dist/120/swapping/swapEgressIgnored.d.mts +8 -8
  257. package/dist/120/swapping/swapEgressScheduled.d.cts +8 -8
  258. package/dist/120/swapping/swapEgressScheduled.d.mts +8 -8
  259. package/dist/120/swapping/swapExecuted.d.cts +12 -12
  260. package/dist/120/swapping/swapExecuted.d.mts +12 -12
  261. package/dist/120/swapping/withdrawalRequested.d.cts +4 -4
  262. package/dist/120/swapping/withdrawalRequested.d.mts +4 -4
  263. package/dist/131/common.d.cts +11 -11
  264. package/dist/131/common.d.mts +11 -11
  265. package/dist/131/ethereumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  266. package/dist/131/ethereumIngressEgress/depositFetchesScheduled.d.mts +2 -2
  267. package/dist/131/liquidityPools/assetSwapped.d.cts +12 -12
  268. package/dist/131/liquidityPools/assetSwapped.d.mts +12 -12
  269. package/dist/131/liquidityPools/limitOrderUpdated.d.cts +17 -17
  270. package/dist/131/liquidityPools/limitOrderUpdated.d.mts +17 -17
  271. package/dist/131/liquidityPools/newPoolCreated.d.cts +12 -12
  272. package/dist/131/liquidityPools/newPoolCreated.d.mts +12 -12
  273. package/dist/131/liquidityPools/poolFeeSet.d.cts +12 -12
  274. package/dist/131/liquidityPools/poolFeeSet.d.mts +12 -12
  275. package/dist/131/liquidityPools/rangeOrderUpdated.d.cts +21 -21
  276. package/dist/131/liquidityPools/rangeOrderUpdated.d.mts +21 -21
  277. package/dist/131/liquidityProvider/accountCredited.d.cts +6 -6
  278. package/dist/131/liquidityProvider/accountCredited.d.mts +6 -6
  279. package/dist/131/liquidityProvider/accountDebited.d.cts +6 -6
  280. package/dist/131/liquidityProvider/accountDebited.d.mts +6 -6
  281. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.cts +11 -11
  282. package/dist/131/liquidityProvider/liquidityDepositAddressReady.d.mts +11 -11
  283. package/dist/131/liquidityProvider/liquidityDepositCredited.d.cts +6 -6
  284. package/dist/131/liquidityProvider/liquidityDepositCredited.d.mts +6 -6
  285. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.cts +14 -14
  286. package/dist/131/liquidityProvider/withdrawalEgressScheduled.d.mts +14 -14
  287. package/dist/131/swapping/batchSwapFailed.d.cts +6 -6
  288. package/dist/131/swapping/batchSwapFailed.d.mts +6 -6
  289. package/dist/131/swapping/ccmFailed.d.cts +38 -38
  290. package/dist/131/swapping/ccmFailed.d.mts +38 -38
  291. package/dist/131/swapping/maximumSwapAmountSet.d.cts +6 -6
  292. package/dist/131/swapping/maximumSwapAmountSet.d.mts +6 -6
  293. package/dist/131/swapping/swapAmountConfiscated.d.cts +12 -12
  294. package/dist/131/swapping/swapAmountConfiscated.d.mts +12 -12
  295. package/dist/131/swapping/swapDepositAddressReady.d.cts +20 -20
  296. package/dist/131/swapping/swapDepositAddressReady.d.mts +20 -20
  297. package/dist/131/swapping/swapEgressIgnored.d.cts +8 -8
  298. package/dist/131/swapping/swapEgressIgnored.d.mts +8 -8
  299. package/dist/131/swapping/swapEgressScheduled.d.cts +8 -8
  300. package/dist/131/swapping/swapEgressScheduled.d.mts +8 -8
  301. package/dist/131/swapping/swapExecuted.d.cts +14 -14
  302. package/dist/131/swapping/swapExecuted.d.mts +14 -14
  303. package/dist/131/swapping/swapScheduled.d.cts +23 -23
  304. package/dist/131/swapping/swapScheduled.d.mts +23 -23
  305. package/dist/131/swapping/withdrawalRequested.d.cts +15 -15
  306. package/dist/131/swapping/withdrawalRequested.d.mts +15 -15
  307. package/dist/141/arbitrumBroadcaster/transactionBroadcastRequest.d.cts +8 -8
  308. package/dist/141/arbitrumBroadcaster/transactionBroadcastRequest.d.mts +8 -8
  309. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  310. package/dist/141/arbitrumIngressEgress/ccmEgressInvalid.d.mts +4 -4
  311. package/dist/141/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  312. package/dist/141/arbitrumIngressEgress/depositBoosted.d.mts +8 -8
  313. package/dist/141/arbitrumIngressEgress/depositFetchesScheduled.d.cts +2 -2
  314. package/dist/141/arbitrumIngressEgress/depositFetchesScheduled.d.mts +2 -2
  315. package/dist/141/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
  316. package/dist/141/arbitrumIngressEgress/depositFinalised.d.mts +2 -2
  317. package/dist/141/arbitrumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  318. package/dist/141/arbitrumIngressEgress/insufficientBoostLiquidity.d.mts +2 -2
  319. package/dist/141/arbitrumIngressEgress/transferFallbackRequested.d.cts +2 -2
  320. package/dist/141/arbitrumIngressEgress/transferFallbackRequested.d.mts +2 -2
  321. package/dist/141/bitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
  322. package/dist/141/bitcoinIngressEgress/ccmEgressInvalid.d.mts +4 -4
  323. package/dist/141/bitcoinIngressEgress/depositBoosted.d.cts +8 -8
  324. package/dist/141/bitcoinIngressEgress/depositBoosted.d.mts +8 -8
  325. package/dist/141/bitcoinIngressEgress/depositFinalised.d.cts +2 -2
  326. package/dist/141/bitcoinIngressEgress/depositFinalised.d.mts +2 -2
  327. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  328. package/dist/141/bitcoinIngressEgress/insufficientBoostLiquidity.d.mts +2 -2
  329. package/dist/141/common.d.cts +28 -28
  330. package/dist/141/common.d.mts +28 -28
  331. package/dist/141/environment/staleUtxosDiscarded.d.cts +15 -15
  332. package/dist/141/environment/staleUtxosDiscarded.d.mts +15 -15
  333. package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  334. package/dist/141/ethereumIngressEgress/ccmEgressInvalid.d.mts +4 -4
  335. package/dist/141/ethereumIngressEgress/depositBoosted.d.cts +8 -8
  336. package/dist/141/ethereumIngressEgress/depositBoosted.d.mts +8 -8
  337. package/dist/141/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  338. package/dist/141/ethereumIngressEgress/depositFinalised.d.mts +2 -2
  339. package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  340. package/dist/141/ethereumIngressEgress/insufficientBoostLiquidity.d.mts +2 -2
  341. package/dist/141/liquidityPools/assetSwapped.d.cts +12 -12
  342. package/dist/141/liquidityPools/assetSwapped.d.mts +12 -12
  343. package/dist/141/liquidityPools/limitOrderUpdated.d.cts +13 -13
  344. package/dist/141/liquidityPools/limitOrderUpdated.d.mts +13 -13
  345. package/dist/141/liquidityPools/newPoolCreated.d.cts +12 -12
  346. package/dist/141/liquidityPools/newPoolCreated.d.mts +12 -12
  347. package/dist/141/liquidityPools/poolFeeSet.d.cts +12 -12
  348. package/dist/141/liquidityPools/poolFeeSet.d.mts +12 -12
  349. package/dist/141/liquidityPools/rangeOrderUpdated.d.cts +25 -25
  350. package/dist/141/liquidityPools/rangeOrderUpdated.d.mts +25 -25
  351. package/dist/141/liquidityProvider/accountCredited.d.cts +6 -6
  352. package/dist/141/liquidityProvider/accountCredited.d.mts +6 -6
  353. package/dist/141/liquidityProvider/accountDebited.d.cts +6 -6
  354. package/dist/141/liquidityProvider/accountDebited.d.mts +6 -6
  355. package/dist/141/liquidityProvider/assetTransferred.d.cts +6 -6
  356. package/dist/141/liquidityProvider/assetTransferred.d.mts +6 -6
  357. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.cts +11 -11
  358. package/dist/141/liquidityProvider/liquidityDepositAddressReady.d.mts +11 -11
  359. package/dist/141/liquidityProvider/liquidityDepositCredited.d.cts +6 -6
  360. package/dist/141/liquidityProvider/liquidityDepositCredited.d.mts +6 -6
  361. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.cts +12 -12
  362. package/dist/141/liquidityProvider/withdrawalEgressScheduled.d.mts +12 -12
  363. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  364. package/dist/141/polkadotIngressEgress/ccmEgressInvalid.d.mts +4 -4
  365. package/dist/141/polkadotIngressEgress/depositBoosted.d.cts +8 -8
  366. package/dist/141/polkadotIngressEgress/depositBoosted.d.mts +8 -8
  367. package/dist/141/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  368. package/dist/141/polkadotIngressEgress/depositFinalised.d.mts +2 -2
  369. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +2 -2
  370. package/dist/141/polkadotIngressEgress/insufficientBoostLiquidity.d.mts +2 -2
  371. package/dist/141/swapping/batchSwapFailed.d.cts +6 -6
  372. package/dist/141/swapping/batchSwapFailed.d.mts +6 -6
  373. package/dist/141/swapping/ccmDepositReceived.d.cts +8 -8
  374. package/dist/141/swapping/ccmDepositReceived.d.mts +8 -8
  375. package/dist/141/swapping/ccmFailed.d.cts +9 -9
  376. package/dist/141/swapping/ccmFailed.d.mts +9 -9
  377. package/dist/141/swapping/maximumSwapAmountSet.d.cts +6 -6
  378. package/dist/141/swapping/maximumSwapAmountSet.d.mts +6 -6
  379. package/dist/141/swapping/swapAmountConfiscated.d.cts +12 -12
  380. package/dist/141/swapping/swapAmountConfiscated.d.mts +12 -12
  381. package/dist/141/swapping/swapDepositAddressReady.d.cts +21 -21
  382. package/dist/141/swapping/swapDepositAddressReady.d.mts +21 -21
  383. package/dist/141/swapping/swapEgressIgnored.d.cts +6 -6
  384. package/dist/141/swapping/swapEgressIgnored.d.mts +6 -6
  385. package/dist/141/swapping/swapEgressScheduled.d.cts +10 -10
  386. package/dist/141/swapping/swapEgressScheduled.d.mts +10 -10
  387. package/dist/141/swapping/swapExecuted.d.cts +19 -19
  388. package/dist/141/swapping/swapExecuted.d.mts +19 -19
  389. package/dist/141/swapping/swapScheduled.d.cts +27 -27
  390. package/dist/141/swapping/swapScheduled.d.mts +27 -27
  391. package/dist/141/swapping/withdrawalRequested.d.cts +10 -10
  392. package/dist/141/swapping/withdrawalRequested.d.mts +10 -10
  393. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  394. package/dist/150/arbitrumIngressEgress/ccmBroadcastRequested.d.mts +2 -2
  395. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  396. package/dist/150/arbitrumIngressEgress/ccmEgressInvalid.d.mts +4 -4
  397. package/dist/150/arbitrumIngressEgress/depositBoosted.d.cts +8 -8
  398. package/dist/150/arbitrumIngressEgress/depositBoosted.d.mts +8 -8
  399. package/dist/150/arbitrumIngressEgress/depositFinalised.d.cts +4 -4
  400. package/dist/150/arbitrumIngressEgress/depositFinalised.d.mts +4 -4
  401. package/dist/150/arbitrumIngressEgress/depositIgnored.d.cts +2 -2
  402. package/dist/150/arbitrumIngressEgress/depositIgnored.d.mts +2 -2
  403. package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.cts +4 -4
  404. package/dist/150/arbitrumIngressEgress/depositWitnessRejected.d.mts +4 -4
  405. package/dist/150/assetBalances/refundScheduled.d.cts +2 -2
  406. package/dist/150/assetBalances/refundScheduled.d.mts +2 -2
  407. package/dist/150/bitcoinIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  408. package/dist/150/bitcoinIngressEgress/ccmBroadcastRequested.d.mts +2 -2
  409. package/dist/150/bitcoinIngressEgress/ccmEgressInvalid.d.cts +4 -4
  410. package/dist/150/bitcoinIngressEgress/ccmEgressInvalid.d.mts +4 -4
  411. package/dist/150/bitcoinIngressEgress/depositBoosted.d.cts +8 -8
  412. package/dist/150/bitcoinIngressEgress/depositBoosted.d.mts +8 -8
  413. package/dist/150/bitcoinIngressEgress/depositFinalised.d.cts +4 -4
  414. package/dist/150/bitcoinIngressEgress/depositFinalised.d.mts +4 -4
  415. package/dist/150/common.d.cts +31 -31
  416. package/dist/150/common.d.mts +31 -31
  417. package/dist/150/emissions/networkFeeBurned.d.cts +2 -2
  418. package/dist/150/emissions/networkFeeBurned.d.mts +2 -2
  419. package/dist/150/ethereumIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  420. package/dist/150/ethereumIngressEgress/ccmBroadcastRequested.d.mts +2 -2
  421. package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.cts +4 -4
  422. package/dist/150/ethereumIngressEgress/ccmEgressInvalid.d.mts +4 -4
  423. package/dist/150/ethereumIngressEgress/depositBoosted.d.cts +8 -8
  424. package/dist/150/ethereumIngressEgress/depositBoosted.d.mts +8 -8
  425. package/dist/150/ethereumIngressEgress/depositFinalised.d.cts +4 -4
  426. package/dist/150/ethereumIngressEgress/depositFinalised.d.mts +4 -4
  427. package/dist/150/ethereumIngressEgress/depositIgnored.d.cts +2 -2
  428. package/dist/150/ethereumIngressEgress/depositIgnored.d.mts +2 -2
  429. package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.cts +4 -4
  430. package/dist/150/ethereumIngressEgress/depositWitnessRejected.d.mts +4 -4
  431. package/dist/150/liquidityPools/assetSwapped.d.cts +12 -12
  432. package/dist/150/liquidityPools/assetSwapped.d.mts +12 -12
  433. package/dist/150/liquidityPools/limitOrderUpdated.d.cts +17 -17
  434. package/dist/150/liquidityPools/limitOrderUpdated.d.mts +17 -17
  435. package/dist/150/liquidityPools/newPoolCreated.d.cts +12 -12
  436. package/dist/150/liquidityPools/newPoolCreated.d.mts +12 -12
  437. package/dist/150/liquidityPools/poolFeeSet.d.cts +12 -12
  438. package/dist/150/liquidityPools/poolFeeSet.d.mts +12 -12
  439. package/dist/150/liquidityPools/rangeOrderUpdated.d.cts +33 -33
  440. package/dist/150/liquidityPools/rangeOrderUpdated.d.mts +33 -33
  441. package/dist/150/liquidityProvider/accountCredited.d.cts +6 -6
  442. package/dist/150/liquidityProvider/accountCredited.d.mts +6 -6
  443. package/dist/150/liquidityProvider/accountDebited.d.cts +6 -6
  444. package/dist/150/liquidityProvider/accountDebited.d.mts +6 -6
  445. package/dist/150/liquidityProvider/assetTransferred.d.cts +6 -6
  446. package/dist/150/liquidityProvider/assetTransferred.d.mts +6 -6
  447. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.cts +11 -11
  448. package/dist/150/liquidityProvider/liquidityDepositAddressReady.d.mts +11 -11
  449. package/dist/150/liquidityProvider/liquidityDepositCredited.d.cts +6 -6
  450. package/dist/150/liquidityProvider/liquidityDepositCredited.d.mts +6 -6
  451. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.cts +16 -16
  452. package/dist/150/liquidityProvider/withdrawalEgressScheduled.d.mts +16 -16
  453. package/dist/150/polkadotIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  454. package/dist/150/polkadotIngressEgress/ccmBroadcastRequested.d.mts +2 -2
  455. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.cts +4 -4
  456. package/dist/150/polkadotIngressEgress/ccmEgressInvalid.d.mts +4 -4
  457. package/dist/150/polkadotIngressEgress/depositBoosted.d.cts +8 -8
  458. package/dist/150/polkadotIngressEgress/depositBoosted.d.mts +8 -8
  459. package/dist/150/polkadotIngressEgress/depositFinalised.d.cts +4 -4
  460. package/dist/150/polkadotIngressEgress/depositFinalised.d.mts +4 -4
  461. package/dist/150/polkadotIngressEgress/depositIgnored.d.cts +2 -2
  462. package/dist/150/polkadotIngressEgress/depositIgnored.d.mts +2 -2
  463. package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.cts +4 -4
  464. package/dist/150/polkadotIngressEgress/depositWitnessRejected.d.mts +4 -4
  465. package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.cts +2 -2
  466. package/dist/150/solanaBroadcaster/broadcastCallbackExecuted.d.mts +2 -2
  467. package/dist/150/solanaBroadcaster/transactionBroadcastRequest.d.cts +2 -2
  468. package/dist/150/solanaBroadcaster/transactionBroadcastRequest.d.mts +2 -2
  469. package/dist/150/solanaIngressEgress/boostFundsAdded.d.cts +2 -2
  470. package/dist/150/solanaIngressEgress/boostFundsAdded.d.mts +2 -2
  471. package/dist/150/solanaIngressEgress/ccmBroadcastRequested.d.cts +2 -2
  472. package/dist/150/solanaIngressEgress/ccmBroadcastRequested.d.mts +2 -2
  473. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.cts +4 -4
  474. package/dist/150/solanaIngressEgress/ccmEgressInvalid.d.mts +4 -4
  475. package/dist/150/solanaIngressEgress/depositBoosted.d.cts +8 -8
  476. package/dist/150/solanaIngressEgress/depositBoosted.d.mts +8 -8
  477. package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.cts +2 -2
  478. package/dist/150/solanaIngressEgress/depositFetchesScheduled.d.mts +2 -2
  479. package/dist/150/solanaIngressEgress/depositFinalised.d.cts +4 -4
  480. package/dist/150/solanaIngressEgress/depositFinalised.d.mts +4 -4
  481. package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.cts +4 -4
  482. package/dist/150/solanaIngressEgress/insufficientBoostLiquidity.d.mts +4 -4
  483. package/dist/150/solanaIngressEgress/stoppedBoosting.d.cts +2 -2
  484. package/dist/150/solanaIngressEgress/stoppedBoosting.d.mts +2 -2
  485. package/dist/150/solanaIngressEgress/transferFallbackRequested.d.cts +2 -2
  486. package/dist/150/solanaIngressEgress/transferFallbackRequested.d.mts +2 -2
  487. package/dist/150/swapping/batchSwapFailed.d.cts +6 -6
  488. package/dist/150/swapping/batchSwapFailed.d.mts +6 -6
  489. package/dist/150/swapping/ccmDepositReceived.d.cts +6 -6
  490. package/dist/150/swapping/ccmDepositReceived.d.mts +6 -6
  491. package/dist/150/swapping/ccmFailed.d.cts +9 -9
  492. package/dist/150/swapping/ccmFailed.d.mts +9 -9
  493. package/dist/150/swapping/maximumSwapAmountSet.d.cts +6 -6
  494. package/dist/150/swapping/maximumSwapAmountSet.d.mts +6 -6
  495. package/dist/150/swapping/refundEgressIgnored.d.cts +7 -7
  496. package/dist/150/swapping/refundEgressIgnored.d.mts +7 -7
  497. package/dist/150/swapping/refundEgressScheduled.d.cts +11 -11
  498. package/dist/150/swapping/refundEgressScheduled.d.mts +11 -11
  499. package/dist/150/swapping/swapAmountConfiscated.d.cts +12 -12
  500. package/dist/150/swapping/swapAmountConfiscated.d.mts +12 -12
  501. package/dist/150/swapping/swapDepositAddressReady.d.cts +27 -27
  502. package/dist/150/swapping/swapDepositAddressReady.d.mts +27 -27
  503. package/dist/150/swapping/swapEgressIgnored.d.cts +7 -7
  504. package/dist/150/swapping/swapEgressIgnored.d.mts +7 -7
  505. package/dist/150/swapping/swapEgressScheduled.d.cts +11 -11
  506. package/dist/150/swapping/swapEgressScheduled.d.mts +11 -11
  507. package/dist/150/swapping/swapExecuted.d.cts +13 -13
  508. package/dist/150/swapping/swapExecuted.d.mts +13 -13
  509. package/dist/150/swapping/swapScheduled.d.cts +24 -24
  510. package/dist/150/swapping/swapScheduled.d.mts +24 -24
  511. package/dist/150/swapping/withdrawalRequested.d.cts +12 -12
  512. package/dist/150/swapping/withdrawalRequested.d.mts +12 -12
  513. package/dist/160/assetBalances/accountCredited.d.cts +2 -2
  514. package/dist/160/assetBalances/accountCredited.d.mts +2 -2
  515. package/dist/160/assetBalances/accountDebited.d.cts +2 -2
  516. package/dist/160/assetBalances/accountDebited.d.mts +2 -2
  517. package/dist/160/common.d.cts +38 -38
  518. package/dist/160/common.d.mts +38 -38
  519. package/dist/160/environment/runtimeSafeModeUpdated.d.cts +28 -28
  520. package/dist/160/environment/runtimeSafeModeUpdated.d.mts +28 -28
  521. package/dist/160/liquidityPools/limitOrderUpdated.d.cts +2 -2
  522. package/dist/160/liquidityPools/limitOrderUpdated.d.mts +2 -2
  523. package/dist/160/liquidityPools/rangeOrderUpdated.d.cts +2 -2
  524. package/dist/160/liquidityPools/rangeOrderUpdated.d.mts +2 -2
  525. package/dist/160/swapping/swapDepositAddressReady.d.cts +2 -2
  526. package/dist/160/swapping/swapDepositAddressReady.d.mts +2 -2
  527. package/dist/160/swapping/swapExecuted.d.cts +2 -2
  528. package/dist/160/swapping/swapExecuted.d.mts +2 -2
  529. package/dist/170/arbitrumIngressEgress/ccmFailed.d.cts +37 -37
  530. package/dist/170/arbitrumIngressEgress/ccmFailed.d.mts +37 -37
  531. package/dist/170/arbitrumIngressEgress/depositIgnored.d.cts +6 -6
  532. package/dist/170/arbitrumIngressEgress/depositIgnored.d.mts +6 -6
  533. package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  534. package/dist/170/arbitrumIngressEgress/failedToBuildAllBatchCall.d.mts +50 -50
  535. package/dist/170/bitcoinIngressEgress/ccmFailed.d.cts +37 -37
  536. package/dist/170/bitcoinIngressEgress/ccmFailed.d.mts +37 -37
  537. package/dist/170/bitcoinIngressEgress/depositBoosted.d.cts +26 -26
  538. package/dist/170/bitcoinIngressEgress/depositBoosted.d.mts +26 -26
  539. package/dist/170/bitcoinIngressEgress/depositFinalised.d.cts +26 -26
  540. package/dist/170/bitcoinIngressEgress/depositFinalised.d.mts +26 -26
  541. package/dist/170/bitcoinIngressEgress/depositIgnored.d.cts +30 -30
  542. package/dist/170/bitcoinIngressEgress/depositIgnored.d.mts +30 -30
  543. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.cts +56 -56
  544. package/dist/170/bitcoinIngressEgress/depositWitnessRejected.d.mts +56 -56
  545. package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  546. package/dist/170/bitcoinIngressEgress/failedToBuildAllBatchCall.d.mts +50 -50
  547. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.cts +4 -4
  548. package/dist/170/bitcoinIngressEgress/transactionRejectedByBroker.d.mts +4 -4
  549. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.cts +4 -4
  550. package/dist/170/bitcoinIngressEgress/transactionRejectionFailed.d.mts +4 -4
  551. package/dist/170/common.d.cts +148 -148
  552. package/dist/170/common.d.mts +148 -148
  553. package/dist/170/ethereumIngressEgress/ccmFailed.d.cts +37 -37
  554. package/dist/170/ethereumIngressEgress/ccmFailed.d.mts +37 -37
  555. package/dist/170/ethereumIngressEgress/depositIgnored.d.cts +6 -6
  556. package/dist/170/ethereumIngressEgress/depositIgnored.d.mts +6 -6
  557. package/dist/170/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  558. package/dist/170/ethereumIngressEgress/failedToBuildAllBatchCall.d.mts +50 -50
  559. package/dist/170/polkadotIngressEgress/ccmFailed.d.cts +37 -37
  560. package/dist/170/polkadotIngressEgress/ccmFailed.d.mts +37 -37
  561. package/dist/170/polkadotIngressEgress/depositIgnored.d.cts +6 -6
  562. package/dist/170/polkadotIngressEgress/depositIgnored.d.mts +6 -6
  563. package/dist/170/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  564. package/dist/170/polkadotIngressEgress/failedToBuildAllBatchCall.d.mts +50 -50
  565. package/dist/170/reputation/offencePenalty.d.cts +4 -4
  566. package/dist/170/reputation/offencePenalty.d.mts +4 -4
  567. package/dist/170/reputation/penaltyUpdated.d.cts +4 -4
  568. package/dist/170/reputation/penaltyUpdated.d.mts +4 -4
  569. package/dist/170/solanaIngressEgress/ccmFailed.d.cts +37 -37
  570. package/dist/170/solanaIngressEgress/ccmFailed.d.mts +37 -37
  571. package/dist/170/solanaIngressEgress/depositIgnored.d.cts +6 -6
  572. package/dist/170/solanaIngressEgress/depositIgnored.d.mts +6 -6
  573. package/dist/170/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +50 -50
  574. package/dist/170/solanaIngressEgress/failedToBuildAllBatchCall.d.mts +50 -50
  575. package/dist/170/swapping/minimumChunkSizeSet.d.cts +7 -7
  576. package/dist/170/swapping/minimumChunkSizeSet.d.mts +7 -7
  577. package/dist/170/swapping/swapRequested.d.cts +53 -53
  578. package/dist/170/swapping/swapRequested.d.mts +53 -53
  579. package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.cts +57 -57
  580. package/dist/180/arbitrumIngressEgress/ccmEgressInvalid.d.mts +57 -57
  581. package/dist/180/arbitrumIngressEgress/depositBoosted.d.cts +16 -16
  582. package/dist/180/arbitrumIngressEgress/depositBoosted.d.mts +16 -16
  583. package/dist/180/arbitrumIngressEgress/depositFailed.d.cts +173 -173
  584. package/dist/180/arbitrumIngressEgress/depositFailed.d.mts +173 -173
  585. package/dist/180/arbitrumIngressEgress/depositFinalised.d.cts +10 -10
  586. package/dist/180/arbitrumIngressEgress/depositFinalised.d.mts +10 -10
  587. package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  588. package/dist/180/arbitrumIngressEgress/failedToBuildAllBatchCall.d.mts +57 -57
  589. package/dist/180/arbitrumIngressEgress/insufficientBoostLiquidity.d.cts +4 -4
  590. package/dist/180/arbitrumIngressEgress/insufficientBoostLiquidity.d.mts +4 -4
  591. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.cts +57 -57
  592. package/dist/180/bitcoinIngressEgress/ccmEgressInvalid.d.mts +57 -57
  593. package/dist/180/bitcoinIngressEgress/depositBoosted.d.cts +36 -36
  594. package/dist/180/bitcoinIngressEgress/depositBoosted.d.mts +36 -36
  595. package/dist/180/bitcoinIngressEgress/depositFailed.d.cts +303 -303
  596. package/dist/180/bitcoinIngressEgress/depositFailed.d.mts +303 -303
  597. package/dist/180/bitcoinIngressEgress/depositFinalised.d.cts +30 -30
  598. package/dist/180/bitcoinIngressEgress/depositFinalised.d.mts +30 -30
  599. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  600. package/dist/180/bitcoinIngressEgress/failedToBuildAllBatchCall.d.mts +57 -57
  601. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.cts +4 -4
  602. package/dist/180/bitcoinIngressEgress/insufficientBoostLiquidity.d.mts +4 -4
  603. package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.cts +20 -20
  604. package/dist/180/bitcoinIngressEgress/transferFallbackRequested.d.mts +20 -20
  605. package/dist/180/common.d.cts +1548 -1548
  606. package/dist/180/common.d.mts +1548 -1548
  607. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.cts +57 -57
  608. package/dist/180/ethereumIngressEgress/ccmEgressInvalid.d.mts +57 -57
  609. package/dist/180/ethereumIngressEgress/depositBoosted.d.cts +16 -16
  610. package/dist/180/ethereumIngressEgress/depositBoosted.d.mts +16 -16
  611. package/dist/180/ethereumIngressEgress/depositFailed.d.cts +173 -173
  612. package/dist/180/ethereumIngressEgress/depositFailed.d.mts +173 -173
  613. package/dist/180/ethereumIngressEgress/depositFinalised.d.cts +10 -10
  614. package/dist/180/ethereumIngressEgress/depositFinalised.d.mts +10 -10
  615. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  616. package/dist/180/ethereumIngressEgress/failedToBuildAllBatchCall.d.mts +57 -57
  617. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.cts +4 -4
  618. package/dist/180/ethereumIngressEgress/insufficientBoostLiquidity.d.mts +4 -4
  619. package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.cts +57 -57
  620. package/dist/180/polkadotIngressEgress/ccmEgressInvalid.d.mts +57 -57
  621. package/dist/180/polkadotIngressEgress/depositBoosted.d.cts +16 -16
  622. package/dist/180/polkadotIngressEgress/depositBoosted.d.mts +16 -16
  623. package/dist/180/polkadotIngressEgress/depositFailed.d.cts +173 -173
  624. package/dist/180/polkadotIngressEgress/depositFailed.d.mts +173 -173
  625. package/dist/180/polkadotIngressEgress/depositFinalised.d.cts +10 -10
  626. package/dist/180/polkadotIngressEgress/depositFinalised.d.mts +10 -10
  627. package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  628. package/dist/180/polkadotIngressEgress/failedToBuildAllBatchCall.d.mts +57 -57
  629. package/dist/180/polkadotIngressEgress/insufficientBoostLiquidity.d.cts +4 -4
  630. package/dist/180/polkadotIngressEgress/insufficientBoostLiquidity.d.mts +4 -4
  631. package/dist/180/solanaElections/unknownElection.d.cts +4 -4
  632. package/dist/180/solanaElections/unknownElection.d.mts +4 -4
  633. package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.cts +57 -57
  634. package/dist/180/solanaIngressEgress/ccmEgressInvalid.d.mts +57 -57
  635. package/dist/180/solanaIngressEgress/depositBoosted.d.cts +16 -16
  636. package/dist/180/solanaIngressEgress/depositBoosted.d.mts +16 -16
  637. package/dist/180/solanaIngressEgress/depositFailed.d.cts +173 -173
  638. package/dist/180/solanaIngressEgress/depositFailed.d.mts +173 -173
  639. package/dist/180/solanaIngressEgress/depositFinalised.d.cts +10 -10
  640. package/dist/180/solanaIngressEgress/depositFinalised.d.mts +10 -10
  641. package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.cts +57 -57
  642. package/dist/180/solanaIngressEgress/failedToBuildAllBatchCall.d.mts +57 -57
  643. package/dist/180/solanaIngressEgress/insufficientBoostLiquidity.d.cts +4 -4
  644. package/dist/180/solanaIngressEgress/insufficientBoostLiquidity.d.mts +4 -4
  645. package/dist/180/swapping/refundEgressScheduled.d.cts +12 -12
  646. package/dist/180/swapping/refundEgressScheduled.d.mts +12 -12
  647. package/dist/180/swapping/swapDepositAddressReady.d.cts +41 -41
  648. package/dist/180/swapping/swapDepositAddressReady.d.mts +41 -41
  649. package/dist/180/swapping/swapEgressScheduled.d.cts +12 -12
  650. package/dist/180/swapping/swapEgressScheduled.d.mts +12 -12
  651. package/dist/180/swapping/swapRequested.d.cts +65 -65
  652. package/dist/180/swapping/swapRequested.d.mts +65 -65
  653. package/dist/180/swapping/swapScheduled.d.cts +6 -6
  654. package/dist/180/swapping/swapScheduled.d.mts +6 -6
  655. package/dist/180/swapping/withdrawalRequested.d.cts +10 -10
  656. package/dist/180/swapping/withdrawalRequested.d.mts +10 -10
  657. package/dist/190/arbitrumIngressEgress/depositFailed.d.cts +22 -22
  658. package/dist/190/arbitrumIngressEgress/depositFailed.d.mts +22 -22
  659. package/dist/190/arbitrumIngressEgress/depositFinalised.d.cts +2 -2
  660. package/dist/190/arbitrumIngressEgress/depositFinalised.d.mts +2 -2
  661. package/dist/190/arbitrumIngressEgress/transferFallbackRequested.d.cts +2 -2
  662. package/dist/190/arbitrumIngressEgress/transferFallbackRequested.d.mts +2 -2
  663. package/dist/190/assetBalances/accountCredited.d.cts +6 -6
  664. package/dist/190/assetBalances/accountCredited.d.mts +6 -6
  665. package/dist/190/assetBalances/accountDebited.d.cts +6 -6
  666. package/dist/190/assetBalances/accountDebited.d.mts +6 -6
  667. package/dist/190/assetBalances/refundScheduled.d.cts +2 -2
  668. package/dist/190/assetBalances/refundScheduled.d.mts +2 -2
  669. package/dist/190/assethubIngressEgress/depositFailed.d.cts +22 -22
  670. package/dist/190/assethubIngressEgress/depositFailed.d.mts +22 -22
  671. package/dist/190/assethubIngressEgress/depositFinalised.d.cts +2 -2
  672. package/dist/190/assethubIngressEgress/depositFinalised.d.mts +2 -2
  673. package/dist/190/assethubIngressEgress/transferFallbackRequested.d.cts +2 -2
  674. package/dist/190/assethubIngressEgress/transferFallbackRequested.d.mts +2 -2
  675. package/dist/190/bitcoinIngressEgress/depositBoosted.d.cts +4 -4
  676. package/dist/190/bitcoinIngressEgress/depositBoosted.d.mts +4 -4
  677. package/dist/190/bitcoinIngressEgress/depositFailed.d.cts +38 -38
  678. package/dist/190/bitcoinIngressEgress/depositFailed.d.mts +38 -38
  679. package/dist/190/bitcoinIngressEgress/depositFinalised.d.cts +6 -6
  680. package/dist/190/bitcoinIngressEgress/depositFinalised.d.mts +6 -6
  681. package/dist/190/bitcoinIngressEgress/transferFallbackRequested.d.cts +2 -2
  682. package/dist/190/bitcoinIngressEgress/transferFallbackRequested.d.mts +2 -2
  683. package/dist/190/common.d.cts +312 -312
  684. package/dist/190/common.d.mts +312 -312
  685. package/dist/190/ethereumIngressEgress/depositFailed.d.cts +22 -22
  686. package/dist/190/ethereumIngressEgress/depositFailed.d.mts +22 -22
  687. package/dist/190/ethereumIngressEgress/depositFinalised.d.cts +2 -2
  688. package/dist/190/ethereumIngressEgress/depositFinalised.d.mts +2 -2
  689. package/dist/190/ethereumIngressEgress/transferFallbackRequested.d.cts +2 -2
  690. package/dist/190/ethereumIngressEgress/transferFallbackRequested.d.mts +2 -2
  691. package/dist/190/liquidityPools/assetSwapped.d.cts +12 -12
  692. package/dist/190/liquidityPools/assetSwapped.d.mts +12 -12
  693. package/dist/190/liquidityPools/limitOrderUpdated.d.cts +12 -12
  694. package/dist/190/liquidityPools/limitOrderUpdated.d.mts +12 -12
  695. package/dist/190/liquidityPools/newPoolCreated.d.cts +12 -12
  696. package/dist/190/liquidityPools/newPoolCreated.d.mts +12 -12
  697. package/dist/190/liquidityPools/orderDeletionFailed.d.cts +32 -32
  698. package/dist/190/liquidityPools/orderDeletionFailed.d.mts +32 -32
  699. package/dist/190/liquidityPools/palletConfigUpdated.d.cts +10 -10
  700. package/dist/190/liquidityPools/palletConfigUpdated.d.mts +10 -10
  701. package/dist/190/liquidityPools/poolFeeSet.d.cts +12 -12
  702. package/dist/190/liquidityPools/poolFeeSet.d.mts +12 -12
  703. package/dist/190/liquidityPools/rangeOrderUpdated.d.cts +12 -12
  704. package/dist/190/liquidityPools/rangeOrderUpdated.d.mts +12 -12
  705. package/dist/190/liquidityProvider/assetTransferred.d.cts +7 -7
  706. package/dist/190/liquidityProvider/assetTransferred.d.mts +7 -7
  707. package/dist/190/liquidityProvider/liquidityDepositAddressReady.d.cts +10 -10
  708. package/dist/190/liquidityProvider/liquidityDepositAddressReady.d.mts +10 -10
  709. package/dist/190/liquidityProvider/withdrawalEgressScheduled.d.cts +11 -11
  710. package/dist/190/liquidityProvider/withdrawalEgressScheduled.d.mts +11 -11
  711. package/dist/190/polkadotIngressEgress/depositFailed.d.cts +22 -22
  712. package/dist/190/polkadotIngressEgress/depositFailed.d.mts +22 -22
  713. package/dist/190/polkadotIngressEgress/depositFinalised.d.cts +2 -2
  714. package/dist/190/polkadotIngressEgress/depositFinalised.d.mts +2 -2
  715. package/dist/190/polkadotIngressEgress/transferFallbackRequested.d.cts +2 -2
  716. package/dist/190/polkadotIngressEgress/transferFallbackRequested.d.mts +2 -2
  717. package/dist/190/solanaIngressEgress/depositFailed.d.cts +22 -22
  718. package/dist/190/solanaIngressEgress/depositFailed.d.mts +22 -22
  719. package/dist/190/solanaIngressEgress/depositFinalised.d.cts +2 -2
  720. package/dist/190/solanaIngressEgress/depositFinalised.d.mts +2 -2
  721. package/dist/190/solanaIngressEgress/transferFallbackRequested.d.cts +2 -2
  722. package/dist/190/solanaIngressEgress/transferFallbackRequested.d.mts +2 -2
  723. package/dist/190/swapping/batchSwapFailed.d.cts +7 -7
  724. package/dist/190/swapping/batchSwapFailed.d.mts +7 -7
  725. package/dist/190/swapping/creditedOnChain.d.cts +8 -8
  726. package/dist/190/swapping/creditedOnChain.d.mts +8 -8
  727. package/dist/190/swapping/palletConfigUpdated.d.cts +16 -16
  728. package/dist/190/swapping/palletConfigUpdated.d.mts +16 -16
  729. package/dist/190/swapping/refundEgressIgnored.d.cts +7 -7
  730. package/dist/190/swapping/refundEgressIgnored.d.mts +7 -7
  731. package/dist/190/swapping/refundEgressScheduled.d.cts +13 -13
  732. package/dist/190/swapping/refundEgressScheduled.d.mts +13 -13
  733. package/dist/190/swapping/refundedOnChain.d.cts +8 -8
  734. package/dist/190/swapping/refundedOnChain.d.mts +8 -8
  735. package/dist/190/swapping/swapAmountConfiscated.d.cts +6 -6
  736. package/dist/190/swapping/swapAmountConfiscated.d.mts +6 -6
  737. package/dist/190/swapping/swapDepositAddressReady.d.cts +25 -25
  738. package/dist/190/swapping/swapDepositAddressReady.d.mts +25 -25
  739. package/dist/190/swapping/swapEgressIgnored.d.cts +7 -7
  740. package/dist/190/swapping/swapEgressIgnored.d.mts +7 -7
  741. package/dist/190/swapping/swapEgressScheduled.d.cts +13 -13
  742. package/dist/190/swapping/swapEgressScheduled.d.mts +13 -13
  743. package/dist/190/swapping/swapExecuted.d.cts +12 -12
  744. package/dist/190/swapping/swapExecuted.d.mts +12 -12
  745. package/dist/190/swapping/swapRequested.d.cts +36 -36
  746. package/dist/190/swapping/swapRequested.d.mts +36 -36
  747. package/dist/190/swapping/withdrawalRequested.d.cts +10 -10
  748. package/dist/190/swapping/withdrawalRequested.d.mts +10 -10
  749. package/dist/190/tradingStrategy/fundsAddedToStrategy.d.cts +6 -6
  750. package/dist/190/tradingStrategy/fundsAddedToStrategy.d.mts +6 -6
  751. package/dist/190/tradingStrategy/palletConfigUpdated.d.cts +26 -26
  752. package/dist/190/tradingStrategy/palletConfigUpdated.d.mts +26 -26
  753. package/dist/190/tradingStrategy/strategyDeployed.d.cts +8 -8
  754. package/dist/190/tradingStrategy/strategyDeployed.d.mts +8 -8
  755. package/dist/200/common.d.cts +36 -36
  756. package/dist/200/common.d.mts +36 -36
  757. package/dist/200/lendingPools/lendingFundsAdded.d.cts +2 -2
  758. package/dist/200/lendingPools/lendingFundsAdded.d.mts +2 -2
  759. package/dist/200/lendingPools/loanCreated.d.cts +2 -2
  760. package/dist/200/lendingPools/loanCreated.d.mts +2 -2
  761. package/dist/200/swapping/accountCreationDepositAddressReady.d.cts +2 -2
  762. package/dist/200/swapping/accountCreationDepositAddressReady.d.mts +2 -2
  763. package/dist/200/swapping/swapRequestCompleted.d.cts +2 -2
  764. package/dist/200/swapping/swapRequestCompleted.d.mts +2 -2
  765. package/dist/200/swapping/swapRequested.d.cts +32 -32
  766. package/dist/200/swapping/swapRequested.d.mts +32 -32
  767. package/dist/210/arbitrumElections/electoralEvent.cjs +1 -1
  768. package/dist/210/arbitrumElections/electoralEvent.mjs +2 -2
  769. package/dist/210/arbitrumIngressEgress/depositBoosted.d.cts +12 -12
  770. package/dist/210/arbitrumIngressEgress/depositBoosted.d.mts +12 -12
  771. package/dist/210/arbitrumIngressEgress/depositFailed.d.cts +60 -60
  772. package/dist/210/arbitrumIngressEgress/depositFailed.d.mts +60 -60
  773. package/dist/210/arbitrumIngressEgress/depositFinalised.d.cts +8 -8
  774. package/dist/210/arbitrumIngressEgress/depositFinalised.d.mts +8 -8
  775. package/dist/210/assetBalances/accountCredited.d.cts +6 -6
  776. package/dist/210/assetBalances/accountCredited.d.mts +6 -6
  777. package/dist/210/assetBalances/accountDebited.d.cts +6 -6
  778. package/dist/210/assetBalances/accountDebited.d.mts +6 -6
  779. package/dist/210/assethubIngressEgress/depositFailed.d.cts +69 -69
  780. package/dist/210/assethubIngressEgress/depositFailed.d.mts +69 -69
  781. package/dist/210/bitcoinIngressEgress/depositFailed.d.cts +82 -82
  782. package/dist/210/bitcoinIngressEgress/depositFailed.d.mts +82 -82
  783. package/dist/210/common.cjs +13 -13
  784. package/dist/210/common.d.cts +724 -724
  785. package/dist/210/common.d.mts +724 -724
  786. package/dist/210/common.mjs +9 -9
  787. package/dist/210/environment/runtimeSafeModeUpdated.d.cts +70 -70
  788. package/dist/210/environment/runtimeSafeModeUpdated.d.mts +70 -70
  789. package/dist/210/ethereumElections/electoralEvent.cjs +1 -1
  790. package/dist/210/ethereumElections/electoralEvent.mjs +2 -2
  791. package/dist/210/ethereumIngressEgress/depositBoosted.d.cts +12 -12
  792. package/dist/210/ethereumIngressEgress/depositBoosted.d.mts +12 -12
  793. package/dist/210/ethereumIngressEgress/depositFailed.d.cts +60 -60
  794. package/dist/210/ethereumIngressEgress/depositFailed.d.mts +60 -60
  795. package/dist/210/ethereumIngressEgress/depositFinalised.d.cts +8 -8
  796. package/dist/210/ethereumIngressEgress/depositFinalised.d.mts +8 -8
  797. package/dist/210/funding/funded.d.cts +8 -8
  798. package/dist/210/funding/funded.d.mts +8 -8
  799. package/dist/210/lendingPools/boostFundsAdded.d.cts +10 -10
  800. package/dist/210/lendingPools/boostFundsAdded.d.mts +10 -10
  801. package/dist/210/lendingPools/boostPoolCreated.d.cts +8 -8
  802. package/dist/210/lendingPools/boostPoolCreated.d.mts +8 -8
  803. package/dist/210/lendingPools/collateralAdded.d.cts +6 -6
  804. package/dist/210/lendingPools/collateralAdded.d.mts +6 -6
  805. package/dist/210/lendingPools/collateralRemoved.d.cts +6 -6
  806. package/dist/210/lendingPools/collateralRemoved.d.mts +6 -6
  807. package/dist/210/lendingPools/collateralTopupAssetUpdated.d.cts +6 -6
  808. package/dist/210/lendingPools/collateralTopupAssetUpdated.d.mts +6 -6
  809. package/dist/210/lendingPools/lendingFundsAdded.d.cts +6 -6
  810. package/dist/210/lendingPools/lendingFundsAdded.d.mts +6 -6
  811. package/dist/210/lendingPools/lendingFundsRemoved.d.cts +8 -8
  812. package/dist/210/lendingPools/lendingFundsRemoved.d.mts +8 -8
  813. package/dist/210/lendingPools/lendingPoolCreated.d.cts +6 -6
  814. package/dist/210/lendingPools/lendingPoolCreated.d.mts +6 -6
  815. package/dist/210/lendingPools/loanCreated.d.cts +6 -6
  816. package/dist/210/lendingPools/loanCreated.d.mts +6 -6
  817. package/dist/210/lendingPools/palletConfigUpdated.d.cts +18 -18
  818. package/dist/210/lendingPools/palletConfigUpdated.d.mts +18 -18
  819. package/dist/210/lendingPools/stoppedBoosting.d.cts +8 -8
  820. package/dist/210/lendingPools/stoppedBoosting.d.mts +8 -8
  821. package/dist/210/liquidityPools/assetSwapped.d.cts +12 -12
  822. package/dist/210/liquidityPools/assetSwapped.d.mts +12 -12
  823. package/dist/210/liquidityPools/limitOrderUpdated.d.cts +12 -12
  824. package/dist/210/liquidityPools/limitOrderUpdated.d.mts +12 -12
  825. package/dist/210/liquidityPools/newPoolCreated.d.cts +12 -12
  826. package/dist/210/liquidityPools/newPoolCreated.d.mts +12 -12
  827. package/dist/210/liquidityPools/orderDeletionFailed.d.cts +32 -32
  828. package/dist/210/liquidityPools/orderDeletionFailed.d.mts +32 -32
  829. package/dist/210/liquidityPools/palletConfigUpdated.d.cts +8 -8
  830. package/dist/210/liquidityPools/palletConfigUpdated.d.mts +8 -8
  831. package/dist/210/liquidityPools/poolFeeSet.d.cts +12 -12
  832. package/dist/210/liquidityPools/poolFeeSet.d.mts +12 -12
  833. package/dist/210/liquidityPools/rangeOrderUpdated.d.cts +24 -24
  834. package/dist/210/liquidityPools/rangeOrderUpdated.d.mts +24 -24
  835. package/dist/210/liquidityProvider/assetBalancePurgeFailed.cjs +14 -0
  836. package/dist/210/liquidityProvider/assetBalancePurgeFailed.d.cts +248 -0
  837. package/dist/210/liquidityProvider/assetBalancePurgeFailed.d.mts +248 -0
  838. package/dist/210/liquidityProvider/assetBalancePurgeFailed.mjs +13 -0
  839. package/dist/210/liquidityProvider/assetBalancePurged.cjs +16 -0
  840. package/dist/210/liquidityProvider/assetBalancePurged.d.cts +98 -0
  841. package/dist/210/liquidityProvider/assetBalancePurged.d.mts +98 -0
  842. package/dist/210/liquidityProvider/assetBalancePurged.mjs +15 -0
  843. package/dist/210/liquidityProvider/assetTransferred.d.cts +6 -6
  844. package/dist/210/liquidityProvider/assetTransferred.d.mts +6 -6
  845. package/dist/210/liquidityProvider/liquidityDepositAddressReady.d.cts +12 -12
  846. package/dist/210/liquidityProvider/liquidityDepositAddressReady.d.mts +12 -12
  847. package/dist/210/liquidityProvider/withdrawalEgressScheduled.d.cts +10 -10
  848. package/dist/210/liquidityProvider/withdrawalEgressScheduled.d.mts +10 -10
  849. package/dist/210/polkadotIngressEgress/depositFailed.d.cts +69 -69
  850. package/dist/210/polkadotIngressEgress/depositFailed.d.mts +69 -69
  851. package/dist/210/solanaIngressEgress/depositBoosted.d.cts +12 -12
  852. package/dist/210/solanaIngressEgress/depositBoosted.d.mts +12 -12
  853. package/dist/210/solanaIngressEgress/depositFailed.d.cts +60 -60
  854. package/dist/210/solanaIngressEgress/depositFailed.d.mts +60 -60
  855. package/dist/210/solanaIngressEgress/depositFinalised.d.cts +8 -8
  856. package/dist/210/solanaIngressEgress/depositFinalised.d.mts +8 -8
  857. package/dist/210/swapping/accountCreationDepositAddressReady.d.cts +16 -16
  858. package/dist/210/swapping/accountCreationDepositAddressReady.d.mts +16 -16
  859. package/dist/210/swapping/batchSwapFailed.d.cts +6 -6
  860. package/dist/210/swapping/batchSwapFailed.d.mts +6 -6
  861. package/dist/210/swapping/creditedOnChain.d.cts +8 -8
  862. package/dist/210/swapping/creditedOnChain.d.mts +8 -8
  863. package/dist/210/swapping/palletConfigUpdated.d.cts +32 -32
  864. package/dist/210/swapping/palletConfigUpdated.d.mts +32 -32
  865. package/dist/210/swapping/refundEgressIgnored.d.cts +8 -8
  866. package/dist/210/swapping/refundEgressIgnored.d.mts +8 -8
  867. package/dist/210/swapping/refundEgressScheduled.d.cts +14 -14
  868. package/dist/210/swapping/refundEgressScheduled.d.mts +14 -14
  869. package/dist/210/swapping/refundedOnChain.d.cts +8 -8
  870. package/dist/210/swapping/refundedOnChain.d.mts +8 -8
  871. package/dist/210/swapping/swapAmountConfiscated.d.cts +6 -6
  872. package/dist/210/swapping/swapAmountConfiscated.d.mts +6 -6
  873. package/dist/210/swapping/swapDepositAddressReady.d.cts +18 -18
  874. package/dist/210/swapping/swapDepositAddressReady.d.mts +18 -18
  875. package/dist/210/swapping/swapEgressIgnored.d.cts +8 -8
  876. package/dist/210/swapping/swapEgressIgnored.d.mts +8 -8
  877. package/dist/210/swapping/swapEgressScheduled.d.cts +14 -14
  878. package/dist/210/swapping/swapEgressScheduled.d.mts +14 -14
  879. package/dist/210/swapping/swapExecuted.d.cts +12 -12
  880. package/dist/210/swapping/swapExecuted.d.mts +12 -12
  881. package/dist/210/swapping/swapRequested.d.cts +16 -16
  882. package/dist/210/swapping/swapRequested.d.mts +16 -16
  883. package/dist/210/swapping/withdrawalRequested.d.cts +8 -8
  884. package/dist/210/swapping/withdrawalRequested.d.mts +8 -8
  885. package/dist/210/tradingStrategy/fundsAddedToStrategy.d.cts +6 -6
  886. package/dist/210/tradingStrategy/fundsAddedToStrategy.d.mts +6 -6
  887. package/dist/210/tradingStrategy/palletConfigUpdated.d.cts +24 -24
  888. package/dist/210/tradingStrategy/palletConfigUpdated.d.mts +24 -24
  889. package/dist/210/tradingStrategy/strategyDeployed.d.cts +24 -24
  890. package/dist/210/tradingStrategy/strategyDeployed.d.mts +24 -24
  891. package/dist/CodeGenerator.cjs +1 -1
  892. package/dist/CodeGenerator.mjs +1 -1
  893. package/dist/HandlerMap.cjs +3 -15
  894. package/dist/HandlerMap.d.cts +1 -3
  895. package/dist/HandlerMap.d.mts +1 -2
  896. package/dist/HandlerMap.mjs +3 -12
  897. package/dist/Parser.cjs +19 -19
  898. package/dist/Parser.mjs +3 -3
  899. package/dist/Processor.cjs +1 -1
  900. package/dist/_virtual/rolldown_runtime.cjs +0 -16
  901. package/dist/{packages/chainspec → chainspec}/src/BaseCodeGenerator.cjs +2 -2
  902. package/dist/{packages/chainspec → chainspec}/src/BaseCodeGenerator.mjs +1 -1
  903. package/dist/{packages/chainspec → chainspec}/src/BaseParser.cjs +19 -19
  904. package/dist/{packages/chainspec → chainspec}/src/BaseParser.mjs +3 -3
  905. package/dist/{packages/chainspec → chainspec}/src/Compiler.cjs +1 -1
  906. package/dist/{packages/chainspec → chainspec}/src/cache.cjs +7 -9
  907. package/dist/{packages/chainspec → chainspec}/src/cache.mjs +2 -4
  908. package/dist/{packages/chainspec → chainspec}/src/utils.cjs +4 -3
  909. package/dist/{packages/chainspec → chainspec}/src/utils.mjs +2 -2
  910. package/dist/generate.cjs +2 -2
  911. package/dist/generate.mjs +2 -2
  912. package/dist/index.cjs +1 -1
  913. package/dist/index.mjs +1 -1
  914. package/dist/utils.cjs +13 -1
  915. package/dist/utils.d.cts +4 -1
  916. package/dist/utils.d.mts +4 -1
  917. package/dist/utils.mjs +12 -1
  918. package/package.json +2 -2
  919. package/dist/_virtual/rolldown_runtime.mjs +0 -45
  920. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/Client.cjs +0 -76
  921. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/Client.mjs +0 -75
  922. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/HttpClient.cjs +0 -35
  923. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/HttpClient.mjs +0 -35
  924. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/WsClient.cjs +0 -4
  925. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/WsClient.mjs +0 -6
  926. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/common.cjs +0 -44
  927. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/common.mjs +0 -43
  928. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/index.cjs +0 -2
  929. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/index.mjs +0 -4
  930. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/parsers.cjs +0 -484
  931. package/dist/node_modules/.pnpm/@chainflip_rpc@1.9.3/node_modules/@chainflip/rpc/dist/parsers.mjs +0 -454
  932. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/_shortw_utils.cjs +0 -22
  933. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/_shortw_utils.mjs +0 -22
  934. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/curve.cjs +0 -324
  935. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/curve.mjs +0 -319
  936. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/hash-to-curve.cjs +0 -167
  937. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/hash-to-curve.mjs +0 -166
  938. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/modular.cjs +0 -394
  939. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/modular.mjs +0 -387
  940. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +0 -1195
  941. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/abstract/weierstrass.mjs +0 -1194
  942. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/secp256k1.cjs +0 -119
  943. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/secp256k1.mjs +0 -119
  944. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/utils.cjs +0 -203
  945. package/dist/node_modules/.pnpm/@noble_curves@1.9.7/node_modules/@noble/curves/esm/utils.mjs +0 -189
  946. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_blake.cjs +0 -267
  947. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_blake.mjs +0 -266
  948. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_md.cjs +0 -136
  949. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_md.mjs +0 -133
  950. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_u64.cjs +0 -65
  951. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_u64.mjs +0 -50
  952. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/blake2.cjs +0 -335
  953. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/blake2.mjs +0 -335
  954. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/blake2b.cjs +0 -13
  955. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/blake2b.mjs +0 -13
  956. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/cryptoNode.cjs +0 -16
  957. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/cryptoNode.mjs +0 -14
  958. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/hmac.cjs +0 -83
  959. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/hmac.mjs +0 -83
  960. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.cjs +0 -254
  961. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.mjs +0 -254
  962. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/sha3.cjs +0 -207
  963. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/sha3.mjs +0 -206
  964. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/utils.cjs +0 -207
  965. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/utils.mjs +0 -186
  966. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/defaults/genesis.cjs +0 -91
  967. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/defaults/genesis.mjs +0 -90
  968. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/defaults/icons.cjs +0 -14
  969. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/defaults/icons.mjs +0 -13
  970. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/defaults/ledger.cjs +0 -57
  971. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/defaults/ledger.mjs +0 -56
  972. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/defaults/testnets.cjs +0 -15
  973. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/defaults/testnets.mjs +0 -14
  974. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/interfaces.cjs +0 -41
  975. package/dist/node_modules/.pnpm/@polkadot_networks@14.0.1/node_modules/@polkadot/networks/interfaces.mjs +0 -41
  976. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/abstract/Array.cjs +0 -152
  977. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/abstract/Array.mjs +0 -152
  978. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/abstract/Base.cjs +0 -106
  979. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/abstract/Base.mjs +0 -105
  980. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/abstract/Int.cjs +0 -197
  981. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/abstract/Int.mjs +0 -197
  982. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Compact.cjs +0 -157
  983. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Compact.mjs +0 -157
  984. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/DoNotConstruct.cjs +0 -100
  985. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/DoNotConstruct.mjs +0 -99
  986. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Enum.cjs +0 -322
  987. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Enum.mjs +0 -322
  988. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Int.cjs +0 -31
  989. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Int.mjs +0 -31
  990. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Null.cjs +0 -82
  991. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Null.mjs +0 -82
  992. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Option.cjs +0 -196
  993. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Option.mjs +0 -196
  994. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Result.cjs +0 -65
  995. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Result.mjs +0 -65
  996. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Tuple.cjs +0 -101
  997. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Tuple.mjs +0 -101
  998. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/UInt.cjs +0 -28
  999. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/UInt.mjs +0 -28
  1000. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Vec.cjs +0 -104
  1001. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/Vec.mjs +0 -103
  1002. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/VecFixed.cjs +0 -67
  1003. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/base/VecFixed.mjs +0 -67
  1004. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/BTreeMap.cjs +0 -15
  1005. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/BTreeMap.mjs +0 -15
  1006. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/BTreeSet.cjs +0 -190
  1007. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/BTreeSet.mjs +0 -190
  1008. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/BitVec.cjs +0 -98
  1009. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/BitVec.mjs +0 -98
  1010. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/Bytes.cjs +0 -61
  1011. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/Bytes.mjs +0 -61
  1012. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/HashMap.cjs +0 -15
  1013. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/HashMap.mjs +0 -15
  1014. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/Map.cjs +0 -197
  1015. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/Map.mjs +0 -197
  1016. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/OptionBool.cjs +0 -61
  1017. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/OptionBool.mjs +0 -61
  1018. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/Range.cjs +0 -43
  1019. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/Range.mjs +0 -43
  1020. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/RangeInclusive.cjs +0 -18
  1021. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/RangeInclusive.mjs +0 -18
  1022. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/Type.cjs +0 -26
  1023. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/Type.mjs +0 -26
  1024. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/U8aFixed.cjs +0 -44
  1025. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/U8aFixed.mjs +0 -44
  1026. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/WrapperKeepOpaque.cjs +0 -102
  1027. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/WrapperKeepOpaque.mjs +0 -102
  1028. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/WrapperOpaque.cjs +0 -24
  1029. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/extended/WrapperOpaque.mjs +0 -24
  1030. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Bool.cjs +0 -107
  1031. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Bool.mjs +0 -107
  1032. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Float.cjs +0 -107
  1033. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Float.mjs +0 -107
  1034. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Json.cjs +0 -120
  1035. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Json.mjs +0 -120
  1036. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Raw.cjs +0 -140
  1037. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Raw.mjs +0 -140
  1038. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Set.cjs +0 -196
  1039. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Set.mjs +0 -196
  1040. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Struct.cjs +0 -233
  1041. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Struct.mjs +0 -233
  1042. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Text.cjs +0 -138
  1043. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/native/Text.mjs +0 -138
  1044. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/F32.cjs +0 -14
  1045. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/F32.mjs +0 -14
  1046. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/F64.cjs +0 -14
  1047. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/F64.mjs +0 -14
  1048. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I128.cjs +0 -14
  1049. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I128.mjs +0 -14
  1050. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I16.cjs +0 -14
  1051. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I16.mjs +0 -14
  1052. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I256.cjs +0 -14
  1053. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I256.mjs +0 -14
  1054. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I32.cjs +0 -14
  1055. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I32.mjs +0 -14
  1056. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I64.cjs +0 -14
  1057. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I64.mjs +0 -14
  1058. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I8.cjs +0 -14
  1059. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/I8.mjs +0 -14
  1060. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/ISize.cjs +0 -19
  1061. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/ISize.mjs +0 -19
  1062. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U128.cjs +0 -14
  1063. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U128.mjs +0 -14
  1064. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U16.cjs +0 -14
  1065. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U16.mjs +0 -14
  1066. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U256.cjs +0 -14
  1067. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U256.mjs +0 -14
  1068. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U32.cjs +0 -14
  1069. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U32.mjs +0 -14
  1070. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U64.cjs +0 -14
  1071. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U64.mjs +0 -14
  1072. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U8.cjs +0 -14
  1073. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/U8.mjs +0 -14
  1074. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/USize.cjs +0 -19
  1075. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/primitive/USize.mjs +0 -19
  1076. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/compareArray.cjs +0 -11
  1077. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/compareArray.mjs +0 -11
  1078. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/compareMap.cjs +0 -23
  1079. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/compareMap.mjs +0 -23
  1080. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/compareSet.cjs +0 -15
  1081. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/compareSet.mjs +0 -15
  1082. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/decodeU8a.cjs +0 -107
  1083. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/decodeU8a.mjs +0 -105
  1084. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/sanitize.cjs +0 -180
  1085. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/sanitize.mjs +0 -179
  1086. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/sortValues.cjs +0 -70
  1087. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/sortValues.mjs +0 -69
  1088. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/toConstructors.cjs +0 -38
  1089. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/toConstructors.mjs +0 -35
  1090. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/typesToMap.cjs +0 -10
  1091. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/typesToMap.mjs +0 -9
  1092. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/util.cjs +0 -9
  1093. package/dist/node_modules/.pnpm/@polkadot_types-codec@16.5.4/node_modules/@polkadot/types-codec/utils/util.mjs +0 -9
  1094. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/create/class.cjs +0 -147
  1095. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/create/class.mjs +0 -146
  1096. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/create/type.cjs +0 -47
  1097. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/create/type.mjs +0 -47
  1098. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/types/types.cjs +0 -36
  1099. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/types/types.mjs +0 -30
  1100. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/util/encodeTypes.cjs +0 -101
  1101. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/util/encodeTypes.mjs +0 -101
  1102. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/util/getTypeDef.cjs +0 -250
  1103. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/util/getTypeDef.mjs +0 -250
  1104. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/util/typeSplit.cjs +0 -48
  1105. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/util/typeSplit.mjs +0 -47
  1106. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/util/xcm.cjs +0 -23
  1107. package/dist/node_modules/.pnpm/@polkadot_types-create@16.5.4/node_modules/@polkadot/types-create/util/xcm.mjs +0 -23
  1108. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/create/lazy.cjs +0 -12
  1109. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/create/lazy.mjs +0 -12
  1110. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/create/registry.cjs +0 -378
  1111. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/create/registry.mjs +0 -378
  1112. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/ethereum/AccountId.cjs +0 -68
  1113. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/ethereum/AccountId.mjs +0 -68
  1114. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/ethereum/LookupSource.cjs +0 -80
  1115. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/ethereum/LookupSource.mjs +0 -80
  1116. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/Extrinsic.cjs +0 -320
  1117. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/Extrinsic.mjs +0 -320
  1118. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/ExtrinsicEra.cjs +0 -208
  1119. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/ExtrinsicEra.mjs +0 -206
  1120. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/ExtrinsicPayload.cjs +0 -163
  1121. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/ExtrinsicPayload.mjs +0 -162
  1122. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/ExtrinsicPayloadUnknown.cjs +0 -17
  1123. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/ExtrinsicPayloadUnknown.mjs +0 -17
  1124. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/ExtrinsicUnknown.cjs +0 -18
  1125. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/ExtrinsicUnknown.mjs +0 -18
  1126. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/SignerPayload.cjs +0 -131
  1127. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/SignerPayload.mjs +0 -131
  1128. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/constants.cjs +0 -28
  1129. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/constants.mjs +0 -16
  1130. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/emptyCheck.cjs +0 -9
  1131. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/emptyCheck.mjs +0 -8
  1132. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/index.cjs +0 -29
  1133. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/index.mjs +0 -27
  1134. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/polkadot.cjs +0 -14
  1135. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/polkadot.mjs +0 -14
  1136. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/shell.cjs +0 -7
  1137. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/shell.mjs +0 -7
  1138. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/statemint.cjs +0 -12
  1139. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/statemint.mjs +0 -11
  1140. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/substrate.cjs +0 -51
  1141. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/signedExtensions/substrate.mjs +0 -51
  1142. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/util.cjs +0 -10
  1143. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/util.mjs +0 -10
  1144. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v4/Extrinsic.cjs +0 -79
  1145. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v4/Extrinsic.mjs +0 -79
  1146. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v4/ExtrinsicPayload.cjs +0 -95
  1147. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v4/ExtrinsicPayload.mjs +0 -95
  1148. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v4/ExtrinsicSignature.cjs +0 -158
  1149. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v4/ExtrinsicSignature.mjs +0 -158
  1150. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v5/Extrinsic.cjs +0 -88
  1151. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v5/Extrinsic.mjs +0 -88
  1152. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v5/ExtrinsicPayload.cjs +0 -92
  1153. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v5/ExtrinsicPayload.mjs +0 -92
  1154. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v5/ExtrinsicSignature.cjs +0 -155
  1155. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v5/ExtrinsicSignature.mjs +0 -155
  1156. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v5/GeneralExtrinsic.cjs +0 -139
  1157. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/extrinsic/v5/GeneralExtrinsic.mjs +0 -139
  1158. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/AccountId.cjs +0 -84
  1159. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/AccountId.mjs +0 -83
  1160. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/AccountIndex.cjs +0 -99
  1161. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/AccountIndex.mjs +0 -99
  1162. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/Block.cjs +0 -43
  1163. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/Block.mjs +0 -43
  1164. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/Call.cjs +0 -180
  1165. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/Call.mjs +0 -180
  1166. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/ChainProperties.cjs +0 -56
  1167. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/ChainProperties.mjs +0 -56
  1168. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/ConsensusEngineId.cjs +0 -94
  1169. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/ConsensusEngineId.mjs +0 -94
  1170. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/Event.cjs +0 -149
  1171. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/Event.mjs +0 -148
  1172. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/LookupSource.cjs +0 -88
  1173. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/LookupSource.mjs +0 -88
  1174. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/MultiAddress.cjs +0 -54
  1175. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/MultiAddress.mjs +0 -54
  1176. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/Vote.cjs +0 -91
  1177. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/generic/Vote.mjs +0 -91
  1178. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/index.types.cjs +0 -136
  1179. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/index.types.mjs +0 -131
  1180. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/alias.cjs +0 -66
  1181. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/alias.mjs +0 -65
  1182. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/assetConversion/definitions.cjs +0 -11
  1183. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/assetConversion/definitions.mjs +0 -11
  1184. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/assetConversion/runtime.cjs +0 -65
  1185. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/assetConversion/runtime.mjs +0 -64
  1186. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/assets/definitions.cjs +0 -53
  1187. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/assets/definitions.mjs +0 -53
  1188. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/assets/runtime.cjs +0 -16
  1189. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/assets/runtime.mjs +0 -15
  1190. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/attestations/definitions.cjs +0 -23
  1191. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/attestations/definitions.mjs +0 -22
  1192. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/aura/definitions.cjs +0 -11
  1193. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/aura/definitions.mjs +0 -11
  1194. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/aura/runtime.cjs +0 -20
  1195. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/aura/runtime.mjs +0 -19
  1196. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/author/definitions.cjs +0 -27
  1197. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/author/definitions.mjs +0 -27
  1198. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/author/rpc.cjs +0 -90
  1199. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/author/rpc.mjs +0 -89
  1200. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/authorship/definitions.cjs +0 -12
  1201. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/authorship/definitions.mjs +0 -11
  1202. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/babe/definitions.cjs +0 -120
  1203. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/babe/definitions.mjs +0 -120
  1204. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/babe/rpc.cjs +0 -11
  1205. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/babe/rpc.mjs +0 -10
  1206. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/babe/runtime.cjs +0 -65
  1207. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/babe/runtime.mjs +0 -64
  1208. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/balances/definitions.cjs +0 -50
  1209. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/balances/definitions.mjs +0 -49
  1210. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/beefy/definitions.cjs +0 -60
  1211. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/beefy/definitions.mjs +0 -60
  1212. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/beefy/rpc.cjs +0 -22
  1213. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/beefy/rpc.mjs +0 -21
  1214. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/beefy/runtime.cjs +0 -92
  1215. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/beefy/runtime.mjs +0 -91
  1216. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/benchmark/definitions.cjs +0 -73
  1217. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/benchmark/definitions.mjs +0 -73
  1218. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/benchmark/runtime.cjs +0 -26
  1219. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/benchmark/runtime.mjs +0 -25
  1220. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/blockbuilder/definitions.cjs +0 -19
  1221. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/blockbuilder/definitions.mjs +0 -19
  1222. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/blockbuilder/runtime.cjs +0 -98
  1223. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/blockbuilder/runtime.mjs +0 -97
  1224. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/bridges/definitions.cjs +0 -88
  1225. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/bridges/definitions.mjs +0 -87
  1226. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/chain/definitions.cjs +0 -10
  1227. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/chain/definitions.mjs +0 -10
  1228. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/chain/rpc.cjs +0 -79
  1229. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/chain/rpc.mjs +0 -78
  1230. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/childstate/definitions.cjs +0 -10
  1231. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/childstate/definitions.mjs +0 -10
  1232. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/childstate/rpc.cjs +0 -137
  1233. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/childstate/rpc.mjs +0 -136
  1234. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/claims/definitions.cjs +0 -9
  1235. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/claims/definitions.mjs +0 -8
  1236. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/collective/definitions.cjs +0 -29
  1237. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/collective/definitions.mjs +0 -28
  1238. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/consensus/definitions.cjs +0 -12
  1239. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/consensus/definitions.mjs +0 -11
  1240. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/contracts/definitions.cjs +0 -412
  1241. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/contracts/definitions.mjs +0 -412
  1242. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/contracts/rpc.cjs +0 -85
  1243. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/contracts/rpc.mjs +0 -84
  1244. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/contracts/runtime.cjs +0 -175
  1245. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/contracts/runtime.mjs +0 -174
  1246. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/contractsAbi/definitions.cjs +0 -326
  1247. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/contractsAbi/definitions.mjs +0 -325
  1248. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/crowdloan/definitions.cjs +0 -29
  1249. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/crowdloan/definitions.mjs +0 -28
  1250. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/cumulus/definitions.cjs +0 -37
  1251. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/cumulus/definitions.mjs +0 -37
  1252. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/cumulus/runtime.cjs +0 -39
  1253. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/cumulus/runtime.mjs +0 -38
  1254. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/definitions.cjs +0 -167
  1255. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/definitions.mjs +0 -162
  1256. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/democracy/definitions.cjs +0 -98
  1257. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/democracy/definitions.mjs +0 -97
  1258. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/dev/definitions.cjs +0 -15
  1259. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/dev/definitions.mjs +0 -15
  1260. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/dev/rpc.cjs +0 -15
  1261. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/dev/rpc.mjs +0 -14
  1262. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/discovery/definitions.cjs +0 -11
  1263. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/discovery/definitions.mjs +0 -11
  1264. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/discovery/runtime.cjs +0 -13
  1265. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/discovery/runtime.mjs +0 -12
  1266. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/dryRunApi/definitions.cjs +0 -29
  1267. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/dryRunApi/definitions.mjs +0 -29
  1268. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/dryRunApi/runtime.cjs +0 -65
  1269. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/dryRunApi/runtime.mjs +0 -64
  1270. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/elections/definitions.cjs +0 -35
  1271. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/elections/definitions.mjs +0 -34
  1272. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/engine/definitions.cjs +0 -24
  1273. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/engine/definitions.mjs +0 -24
  1274. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/engine/rpc.cjs +0 -38
  1275. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/engine/rpc.mjs +0 -37
  1276. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/eth/definitions.cjs +0 -382
  1277. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/eth/definitions.mjs +0 -382
  1278. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/eth/rpc.cjs +0 -448
  1279. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/eth/rpc.mjs +0 -447
  1280. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/eth/runtime.cjs +0 -320
  1281. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/eth/runtime.mjs +0 -319
  1282. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/evm/definitions.cjs +0 -89
  1283. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/evm/definitions.mjs +0 -88
  1284. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/extrinsics/definitions.cjs +0 -36
  1285. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/extrinsics/definitions.mjs +0 -35
  1286. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/finality/definitions.cjs +0 -11
  1287. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/finality/definitions.mjs +0 -11
  1288. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/finality/runtime.cjs +0 -19
  1289. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/finality/runtime.mjs +0 -18
  1290. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/fungibles/definitions.cjs +0 -11
  1291. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/fungibles/definitions.mjs +0 -11
  1292. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/fungibles/runtime.cjs +0 -26
  1293. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/fungibles/runtime.mjs +0 -25
  1294. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/genericAsset/definitions.cjs +0 -25
  1295. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/genericAsset/definitions.mjs +0 -24
  1296. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/genesisBuilder/definitions.cjs +0 -11
  1297. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/genesisBuilder/definitions.mjs +0 -11
  1298. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/genesisBuilder/runtime.cjs +0 -23
  1299. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/genesisBuilder/runtime.mjs +0 -22
  1300. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/gilt/definitions.cjs +0 -27
  1301. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/gilt/definitions.mjs +0 -26
  1302. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/grandpa/definitions.cjs +0 -128
  1303. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/grandpa/definitions.mjs +0 -128
  1304. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/grandpa/rpc.cjs +0 -30
  1305. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/grandpa/rpc.mjs +0 -29
  1306. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/grandpa/runtime.cjs +0 -48
  1307. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/grandpa/runtime.mjs +0 -47
  1308. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/identity/definitions.cjs +0 -71
  1309. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/identity/definitions.mjs +0 -70
  1310. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/imOnline/definitions.cjs +0 -31
  1311. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/imOnline/definitions.mjs +0 -30
  1312. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/lottery/definitions.cjs +0 -18
  1313. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/lottery/definitions.mjs +0 -17
  1314. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/definitions.cjs +0 -69
  1315. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/definitions.mjs +0 -69
  1316. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/hashers.cjs +0 -14
  1317. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/hashers.mjs +0 -13
  1318. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/runtime.cjs +0 -32
  1319. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/runtime.mjs +0 -31
  1320. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v10.cjs +0 -57
  1321. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v10.mjs +0 -56
  1322. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v11.cjs +0 -58
  1323. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v11.mjs +0 -58
  1324. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v12.cjs +0 -31
  1325. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v12.mjs +0 -30
  1326. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v13.cjs +0 -60
  1327. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v13.mjs +0 -59
  1328. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v14.cjs +0 -84
  1329. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v14.mjs +0 -84
  1330. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v15.cjs +0 -59
  1331. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v15.mjs +0 -58
  1332. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v16.cjs +0 -116
  1333. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v16.mjs +0 -115
  1334. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v9.cjs +0 -79
  1335. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/metadata/v9.mjs +0 -78
  1336. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mixnet/definitions.cjs +0 -31
  1337. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mixnet/definitions.mjs +0 -31
  1338. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mixnet/runtime.cjs +0 -36
  1339. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mixnet/runtime.mjs +0 -35
  1340. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mmr/definitions.cjs +0 -49
  1341. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mmr/definitions.mjs +0 -49
  1342. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mmr/rpc.cjs +0 -57
  1343. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mmr/rpc.mjs +0 -56
  1344. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mmr/runtime.cjs +0 -145
  1345. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/mmr/runtime.mjs +0 -144
  1346. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nfts/definitions.cjs +0 -14
  1347. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nfts/definitions.mjs +0 -14
  1348. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nfts/runtime.cjs +0 -98
  1349. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nfts/runtime.mjs +0 -97
  1350. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nimbus/definitions.cjs +0 -11
  1351. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nimbus/definitions.mjs +0 -11
  1352. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nimbus/runtime.cjs +0 -62
  1353. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nimbus/runtime.mjs +0 -61
  1354. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nompools/definitions.cjs +0 -14
  1355. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nompools/definitions.mjs +0 -14
  1356. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nompools/runtime.cjs +0 -40
  1357. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/nompools/runtime.mjs +0 -39
  1358. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/offchain/definitions.cjs +0 -15
  1359. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/offchain/definitions.mjs +0 -15
  1360. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/offchain/rpc.cjs +0 -50
  1361. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/offchain/rpc.mjs +0 -49
  1362. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/offchain/runtime.cjs +0 -26
  1363. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/offchain/runtime.mjs +0 -25
  1364. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/offences/definitions.cjs +0 -20
  1365. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/offences/definitions.mjs +0 -19
  1366. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/ormlOracle/definitions.cjs +0 -11
  1367. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/ormlOracle/definitions.mjs +0 -11
  1368. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/ormlOracle/runtime.cjs +0 -29
  1369. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/ormlOracle/runtime.mjs +0 -28
  1370. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/ormlTokens/definitions.cjs +0 -11
  1371. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/ormlTokens/definitions.mjs +0 -11
  1372. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/ormlTokens/runtime.cjs +0 -16
  1373. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/ormlTokens/runtime.mjs +0 -15
  1374. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/parachains/definitions.cjs +0 -523
  1375. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/parachains/definitions.mjs +0 -523
  1376. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/parachains/hrmp.cjs +0 -29
  1377. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/parachains/hrmp.mjs +0 -28
  1378. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/parachains/runtime.cjs +0 -360
  1379. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/parachains/runtime.mjs +0 -359
  1380. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/parachains/slots.cjs +0 -95
  1381. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/parachains/slots.mjs +0 -94
  1382. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/payment/definitions.cjs +0 -34
  1383. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/payment/definitions.mjs +0 -34
  1384. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/payment/rpc.cjs +0 -35
  1385. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/payment/rpc.mjs +0 -34
  1386. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/payment/runtime.cjs +0 -145
  1387. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/payment/runtime.mjs +0 -144
  1388. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/poll/definitions.cjs +0 -9
  1389. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/poll/definitions.mjs +0 -8
  1390. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/pow/definitions.cjs +0 -11
  1391. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/pow/definitions.mjs +0 -11
  1392. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/pow/runtime.cjs +0 -23
  1393. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/pow/runtime.mjs +0 -22
  1394. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/proxy/definitions.cjs +0 -26
  1395. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/proxy/definitions.mjs +0 -25
  1396. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/purchase/definitions.cjs +0 -25
  1397. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/purchase/definitions.mjs +0 -24
  1398. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/recovery/definitions.cjs +0 -21
  1399. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/recovery/definitions.mjs +0 -20
  1400. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/rpc/definitions.cjs +0 -13
  1401. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/rpc/definitions.mjs +0 -13
  1402. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/rpc/rpc.cjs +0 -10
  1403. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/rpc/rpc.mjs +0 -9
  1404. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/runtime/definitions.cjs +0 -201
  1405. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/runtime/definitions.mjs +0 -200
  1406. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/runtime/runtime.cjs +0 -94
  1407. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/runtime/runtime.mjs +0 -93
  1408. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/scaleInfo/definitions.cjs +0 -29
  1409. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/scaleInfo/definitions.mjs +0 -29
  1410. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/scaleInfo/v0.cjs +0 -73
  1411. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/scaleInfo/v0.mjs +0 -72
  1412. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/scaleInfo/v1.cjs +0 -58
  1413. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/scaleInfo/v1.mjs +0 -56
  1414. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/scheduler/definitions.cjs +0 -28
  1415. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/scheduler/definitions.mjs +0 -27
  1416. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/session/definitions.cjs +0 -41
  1417. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/session/definitions.mjs +0 -41
  1418. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/session/runtime.cjs +0 -26
  1419. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/session/runtime.mjs +0 -25
  1420. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/society/definitions.cjs +0 -31
  1421. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/society/definitions.mjs +0 -30
  1422. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/staking/definitions.cjs +0 -293
  1423. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/staking/definitions.mjs +0 -293
  1424. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/staking/runtime.cjs +0 -16
  1425. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/staking/runtime.mjs +0 -15
  1426. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/state/definitions.cjs +0 -85
  1427. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/state/definitions.mjs +0 -85
  1428. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/state/rpc.cjs +0 -383
  1429. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/state/rpc.mjs +0 -382
  1430. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/statement/definitions.cjs +0 -26
  1431. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/statement/definitions.mjs +0 -26
  1432. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/statement/runtime.cjs +0 -19
  1433. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/statement/runtime.mjs +0 -18
  1434. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/support/definitions.cjs +0 -14
  1435. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/support/definitions.mjs +0 -13
  1436. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/syncstate/definitions.cjs +0 -10
  1437. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/syncstate/definitions.mjs +0 -10
  1438. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/syncstate/rpc.cjs +0 -14
  1439. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/syncstate/rpc.mjs +0 -13
  1440. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/system/definitions.cjs +0 -287
  1441. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/system/definitions.mjs +0 -287
  1442. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/system/rpc.cjs +0 -133
  1443. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/system/rpc.mjs +0 -132
  1444. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/system/runtime.cjs +0 -16
  1445. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/system/runtime.mjs +0 -15
  1446. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/treasury/definitions.cjs +0 -61
  1447. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/treasury/definitions.mjs +0 -60
  1448. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/txpayment/definitions.cjs +0 -9
  1449. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/txpayment/definitions.mjs +0 -8
  1450. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/txqueue/definitions.cjs +0 -25
  1451. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/txqueue/definitions.mjs +0 -25
  1452. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/txqueue/runtime.cjs +0 -53
  1453. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/txqueue/runtime.mjs +0 -52
  1454. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/uniques/definitions.cjs +0 -47
  1455. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/uniques/definitions.mjs +0 -46
  1456. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/utility/definitions.cjs +0 -20
  1457. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/utility/definitions.mjs +0 -19
  1458. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/vesting/definitions.cjs +0 -13
  1459. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/vesting/definitions.mjs +0 -12
  1460. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/definitions.cjs +0 -154
  1461. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/definitions.mjs +0 -154
  1462. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v0.cjs +0 -205
  1463. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v0.mjs +0 -204
  1464. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v1.cjs +0 -195
  1465. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v1.mjs +0 -194
  1466. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v2.cjs +0 -254
  1467. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v2.mjs +0 -253
  1468. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v3.cjs +0 -344
  1469. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v3.mjs +0 -343
  1470. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v4.cjs +0 -250
  1471. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v4.mjs +0 -249
  1472. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v5.cjs +0 -271
  1473. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcm/v5.mjs +0 -270
  1474. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcmPaymentApi/definitions.cjs +0 -17
  1475. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcmPaymentApi/definitions.mjs +0 -17
  1476. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcmPaymentApi/runtime.cjs +0 -37
  1477. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcmPaymentApi/runtime.mjs +0 -36
  1478. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcmRuntimeApi/definitions.cjs +0 -11
  1479. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcmRuntimeApi/definitions.mjs +0 -11
  1480. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcmRuntimeApi/runtime.cjs +0 -16
  1481. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/interfaces/xcmRuntimeApi/runtime.mjs +0 -15
  1482. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/MagicNumber.cjs +0 -13
  1483. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/MagicNumber.mjs +0 -13
  1484. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/Metadata.cjs +0 -37
  1485. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/Metadata.mjs +0 -37
  1486. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/MetadataVersioned.cjs +0 -139
  1487. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/MetadataVersioned.mjs +0 -139
  1488. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/PortableRegistry/PortableRegistry.cjs +0 -684
  1489. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/PortableRegistry/PortableRegistry.mjs +0 -684
  1490. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/constants/index.cjs +0 -22
  1491. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/constants/index.mjs +0 -22
  1492. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/events/index.cjs +0 -8
  1493. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/events/index.mjs +0 -7
  1494. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.cjs +0 -28
  1495. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.mjs +0 -28
  1496. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/extrinsics/index.cjs +0 -26
  1497. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/extrinsics/index.mjs +0 -25
  1498. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/util.cjs +0 -10
  1499. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/decorate/util.mjs +0 -10
  1500. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/extractTypes.cjs +0 -53
  1501. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/extractTypes.mjs +0 -53
  1502. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/flattenUniq.cjs +0 -14
  1503. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/flattenUniq.mjs +0 -13
  1504. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/getSiName.cjs +0 -9
  1505. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/getSiName.mjs +0 -8
  1506. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/getUniqTypes.cjs +0 -33
  1507. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/getUniqTypes.mjs +0 -33
  1508. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/toCallsOnly.cjs +0 -26
  1509. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/toCallsOnly.mjs +0 -26
  1510. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/validateTypes.cjs +0 -19
  1511. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/util/validateTypes.mjs +0 -19
  1512. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v10/toV11.cjs +0 -15
  1513. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v10/toV11.mjs +0 -14
  1514. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v11/toV12.cjs +0 -15
  1515. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v11/toV12.mjs +0 -15
  1516. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v12/toV13.cjs +0 -11
  1517. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v12/toV13.mjs +0 -10
  1518. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v13/toV14.cjs +0 -240
  1519. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v13/toV14.mjs +0 -240
  1520. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v14/toV15.cjs +0 -25
  1521. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v14/toV15.mjs +0 -25
  1522. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v15/toV16.cjs +0 -96
  1523. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v15/toV16.mjs +0 -96
  1524. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v16/toLatest.cjs +0 -12
  1525. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v16/toLatest.mjs +0 -11
  1526. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v9/toV10.cjs +0 -29
  1527. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/v9/toV10.mjs +0 -29
  1528. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/versions.cjs +0 -18
  1529. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/metadata/versions.mjs +0 -16
  1530. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/primitive/Data.cjs +0 -101
  1531. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/primitive/Data.mjs +0 -101
  1532. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/primitive/StorageKey.cjs +0 -165
  1533. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/primitive/StorageKey.mjs +0 -165
  1534. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/util/storage.cjs +0 -15
  1535. package/dist/node_modules/.pnpm/@polkadot_types@16.5.4/node_modules/@polkadot/types/util/storage.mjs +0 -15
  1536. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/checksum.cjs +0 -19
  1537. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/checksum.mjs +0 -19
  1538. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/decode.cjs +0 -25
  1539. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/decode.mjs +0 -25
  1540. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/defaults.cjs +0 -28
  1541. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/defaults.mjs +0 -28
  1542. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/encode.cjs +0 -18
  1543. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/encode.mjs +0 -18
  1544. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/sshash.cjs +0 -12
  1545. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/address/sshash.mjs +0 -12
  1546. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/base32/helpers.cjs +0 -32
  1547. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/base32/helpers.mjs +0 -30
  1548. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/base58/bs58.cjs +0 -35
  1549. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/base58/bs58.mjs +0 -34
  1550. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/blake2/asU8a.cjs +0 -31
  1551. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/blake2/asU8a.mjs +0 -31
  1552. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/bn.cjs +0 -9
  1553. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/bn.mjs +0 -8
  1554. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/ethereum/encode.cjs +0 -28
  1555. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/ethereum/encode.mjs +0 -28
  1556. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/ethereum/isAddress.cjs +0 -12
  1557. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/ethereum/isAddress.mjs +0 -12
  1558. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/ethereum/isChecksum.cjs +0 -16
  1559. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/ethereum/isChecksum.mjs +0 -16
  1560. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/helpers.cjs +0 -15
  1561. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/helpers.mjs +0 -15
  1562. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/keccak/asU8a.cjs +0 -29
  1563. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/keccak/asU8a.mjs +0 -29
  1564. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/secp256k1/expand.cjs +0 -18
  1565. package/dist/node_modules/.pnpm/@polkadot_util-crypto@14.0.1_@polkadot_util@14.0.1/node_modules/@polkadot/util-crypto/secp256k1/expand.mjs +0 -18
  1566. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/assert.cjs +0 -41
  1567. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/assert.mjs +0 -40
  1568. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/bn.cjs +0 -13
  1569. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/bn.mjs +0 -8
  1570. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/consts.cjs +0 -46
  1571. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/consts.mjs +0 -41
  1572. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/toBn.cjs +0 -30
  1573. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/toBn.mjs +0 -30
  1574. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/toHex.cjs +0 -29
  1575. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/toHex.mjs +0 -29
  1576. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/toU8a.cjs +0 -34
  1577. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/bn/toU8a.mjs +0 -34
  1578. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/compact/addLength.cjs +0 -22
  1579. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/compact/addLength.mjs +0 -22
  1580. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/compact/fromU8a.cjs +0 -57
  1581. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/compact/fromU8a.mjs +0 -56
  1582. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/compact/stripLength.cjs +0 -23
  1583. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/compact/stripLength.mjs +0 -23
  1584. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/compact/toU8a.cjs +0 -38
  1585. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/compact/toU8a.mjs +0 -38
  1586. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/float/toU8a.cjs +0 -18
  1587. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/float/toU8a.mjs +0 -17
  1588. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/formatBalance.cjs +0 -55
  1589. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/formatBalance.mjs +0 -55
  1590. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/formatDate.cjs +0 -16
  1591. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/formatDate.mjs +0 -15
  1592. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/formatDecimal.cjs +0 -15
  1593. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/formatDecimal.mjs +0 -14
  1594. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/formatNumber.cjs +0 -16
  1595. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/formatNumber.mjs +0 -16
  1596. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/getSeparator.cjs +0 -16
  1597. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/getSeparator.mjs +0 -15
  1598. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/si.cjs +0 -109
  1599. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/format/si.mjs +0 -105
  1600. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/has.cjs +0 -14
  1601. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/has.mjs +0 -13
  1602. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/hex/stripPrefix.cjs +0 -26
  1603. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/hex/stripPrefix.mjs +0 -26
  1604. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/hex/toBn.cjs +0 -31
  1605. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/hex/toBn.mjs +0 -31
  1606. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/hex/toU8a.cjs +0 -41
  1607. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/hex/toU8a.mjs +0 -40
  1608. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/ascii.cjs +0 -33
  1609. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/ascii.mjs +0 -33
  1610. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/bigInt.cjs +0 -22
  1611. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/bigInt.mjs +0 -21
  1612. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/bn.cjs +0 -24
  1613. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/bn.mjs +0 -24
  1614. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/boolean.cjs +0 -22
  1615. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/boolean.mjs +0 -21
  1616. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/buffer.cjs +0 -25
  1617. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/buffer.mjs +0 -25
  1618. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/codec.cjs +0 -11
  1619. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/codec.mjs +0 -11
  1620. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/function.cjs +0 -22
  1621. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/function.mjs +0 -21
  1622. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/helpers.cjs +0 -14
  1623. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/helpers.mjs +0 -13
  1624. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/hex.cjs +0 -27
  1625. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/hex.mjs +0 -24
  1626. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/null.cjs +0 -22
  1627. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/null.mjs +0 -21
  1628. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/number.cjs +0 -22
  1629. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/number.mjs +0 -21
  1630. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/object.cjs +0 -23
  1631. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/object.mjs +0 -22
  1632. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/string.cjs +0 -22
  1633. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/string.mjs +0 -21
  1634. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/toBigInt.cjs +0 -7
  1635. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/toBigInt.mjs +0 -7
  1636. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/toBn.cjs +0 -7
  1637. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/toBn.mjs +0 -7
  1638. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/u8a.cjs +0 -22
  1639. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/u8a.mjs +0 -21
  1640. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/undefined.cjs +0 -22
  1641. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/undefined.mjs +0 -21
  1642. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/utf8.cjs +0 -72
  1643. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/is/utf8.mjs +0 -72
  1644. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/lazy.cjs +0 -37
  1645. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/lazy.mjs +0 -35
  1646. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/logger.cjs +0 -90
  1647. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/logger.mjs +0 -90
  1648. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/noop.cjs +0 -16
  1649. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/noop.mjs +0 -14
  1650. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/object/property.cjs +0 -26
  1651. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/object/property.mjs +0 -24
  1652. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/object/spread.cjs +0 -28
  1653. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/object/spread.mjs +0 -27
  1654. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/string/camelCase.cjs +0 -51
  1655. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/string/camelCase.mjs +0 -49
  1656. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/string/toU8a.cjs +0 -24
  1657. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/string/toU8a.mjs +0 -24
  1658. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/stringify.cjs +0 -18
  1659. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/stringify.mjs +0 -18
  1660. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/concat.cjs +0 -49
  1661. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/concat.mjs +0 -48
  1662. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/eq.cjs +0 -34
  1663. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/eq.mjs +0 -34
  1664. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toBn.cjs +0 -48
  1665. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toBn.mjs +0 -48
  1666. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toFloat.cjs +0 -16
  1667. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toFloat.mjs +0 -15
  1668. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toHex.cjs +0 -43
  1669. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toHex.mjs +0 -42
  1670. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toNumber.cjs +0 -33
  1671. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toNumber.mjs +0 -32
  1672. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toString.cjs +0 -24
  1673. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toString.mjs +0 -24
  1674. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toU8a.cjs +0 -31
  1675. package/dist/node_modules/.pnpm/@polkadot_util@14.0.1/node_modules/@polkadot/util/u8a/toU8a.mjs +0 -31
  1676. package/dist/node_modules/.pnpm/@polkadot_wasm-bridge@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_9fba5ec88721cce0cc66dfcd9960a838/node_modules/@polkadot/wasm-bridge/bridge.cjs +0 -162
  1677. package/dist/node_modules/.pnpm/@polkadot_wasm-bridge@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_9fba5ec88721cce0cc66dfcd9960a838/node_modules/@polkadot/wasm-bridge/bridge.mjs +0 -162
  1678. package/dist/node_modules/.pnpm/@polkadot_wasm-bridge@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_9fba5ec88721cce0cc66dfcd9960a838/node_modules/@polkadot/wasm-bridge/init.cjs +0 -37
  1679. package/dist/node_modules/.pnpm/@polkadot_wasm-bridge@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_9fba5ec88721cce0cc66dfcd9960a838/node_modules/@polkadot/wasm-bridge/init.mjs +0 -36
  1680. package/dist/node_modules/.pnpm/@polkadot_wasm-bridge@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_9fba5ec88721cce0cc66dfcd9960a838/node_modules/@polkadot/wasm-bridge/wbg.cjs +0 -65
  1681. package/dist/node_modules/.pnpm/@polkadot_wasm-bridge@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_9fba5ec88721cce0cc66dfcd9960a838/node_modules/@polkadot/wasm-bridge/wbg.mjs +0 -65
  1682. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto-init@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1__02e742fd5476f0471e29709e28965abf/node_modules/@polkadot/wasm-crypto-init/wasm.cjs +0 -13
  1683. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto-init@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1__02e742fd5476f0471e29709e28965abf/node_modules/@polkadot/wasm-crypto-init/wasm.mjs +0 -13
  1684. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto-wasm@7.5.4_@polkadot_util@14.0.1/node_modules/@polkadot/wasm-crypto-wasm/bundle.cjs +0 -19
  1685. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto-wasm@7.5.4_@polkadot_util@14.0.1/node_modules/@polkadot/wasm-crypto-wasm/bundle.mjs +0 -19
  1686. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto-wasm@7.5.4_@polkadot_util@14.0.1/node_modules/@polkadot/wasm-crypto-wasm/cjs/bytes.cjs +0 -16
  1687. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto-wasm@7.5.4_@polkadot_util@14.0.1/node_modules/@polkadot/wasm-crypto-wasm/cjs/bytes.mjs +0 -13
  1688. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_66de4b6310fb21b1adaa456362dbc346/node_modules/@polkadot/wasm-crypto/bundle.cjs +0 -49
  1689. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_66de4b6310fb21b1adaa456362dbc346/node_modules/@polkadot/wasm-crypto/bundle.mjs +0 -45
  1690. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_66de4b6310fb21b1adaa456362dbc346/node_modules/@polkadot/wasm-crypto/init.cjs +0 -14
  1691. package/dist/node_modules/.pnpm/@polkadot_wasm-crypto@7.5.4_@polkadot_util@14.0.1_@polkadot_x-randomvalues@14.0.1_@polk_66de4b6310fb21b1adaa456362dbc346/node_modules/@polkadot/wasm-crypto/init.mjs +0 -14
  1692. package/dist/node_modules/.pnpm/@polkadot_wasm-util@7.5.4_@polkadot_util@14.0.1/node_modules/@polkadot/wasm-util/base64.cjs +0 -29
  1693. package/dist/node_modules/.pnpm/@polkadot_wasm-util@7.5.4_@polkadot_util@14.0.1/node_modules/@polkadot/wasm-util/base64.mjs +0 -28
  1694. package/dist/node_modules/.pnpm/@polkadot_wasm-util@7.5.4_@polkadot_util@14.0.1/node_modules/@polkadot/wasm-util/fflate.cjs +0 -287
  1695. package/dist/node_modules/.pnpm/@polkadot_wasm-util@7.5.4_@polkadot_util@14.0.1/node_modules/@polkadot/wasm-util/fflate.mjs +0 -286
  1696. package/dist/node_modules/.pnpm/@polkadot_x-bigint@14.0.1/node_modules/@polkadot/x-bigint/index.cjs +0 -20
  1697. package/dist/node_modules/.pnpm/@polkadot_x-bigint@14.0.1/node_modules/@polkadot/x-bigint/index.mjs +0 -20
  1698. package/dist/node_modules/.pnpm/@polkadot_x-global@14.0.1/node_modules/@polkadot/x-global/index.cjs +0 -20
  1699. package/dist/node_modules/.pnpm/@polkadot_x-global@14.0.1/node_modules/@polkadot/x-global/index.mjs +0 -18
  1700. package/dist/node_modules/.pnpm/@polkadot_x-randomvalues@14.0.1_@polkadot_util@14.0.1_@polkadot_wasm-util@7.5.4_@polkadot_util@14.0.1_/node_modules/@polkadot/x-randomvalues/node.cjs +0 -13
  1701. package/dist/node_modules/.pnpm/@polkadot_x-randomvalues@14.0.1_@polkadot_util@14.0.1_@polkadot_wasm-util@7.5.4_@polkadot_util@14.0.1_/node_modules/@polkadot/x-randomvalues/node.mjs +0 -11
  1702. package/dist/node_modules/.pnpm/@polkadot_x-textdecoder@14.0.1/node_modules/@polkadot/x-textdecoder/node.cjs +0 -10
  1703. package/dist/node_modules/.pnpm/@polkadot_x-textdecoder@14.0.1/node_modules/@polkadot/x-textdecoder/node.mjs +0 -8
  1704. package/dist/node_modules/.pnpm/@polkadot_x-textencoder@14.0.1/node_modules/@polkadot/x-textencoder/node.cjs +0 -19
  1705. package/dist/node_modules/.pnpm/@polkadot_x-textencoder@14.0.1/node_modules/@polkadot/x-textencoder/node.mjs +0 -17
  1706. package/dist/node_modules/.pnpm/@scure_base@1.2.6/node_modules/@scure/base/lib/esm/index.cjs +0 -537
  1707. package/dist/node_modules/.pnpm/@scure_base@1.2.6/node_modules/@scure/base/lib/esm/index.mjs +0 -536
  1708. package/dist/node_modules/.pnpm/@substrate_ss58-registry@1.51.0/node_modules/@substrate/ss58-registry/esm/index.cjs +0 -1364
  1709. package/dist/node_modules/.pnpm/@substrate_ss58-registry@1.51.0/node_modules/@substrate/ss58-registry/esm/index.mjs +0 -1363
  1710. package/dist/node_modules/.pnpm/bn.js@5.2.2/node_modules/bn.js/lib/bn.cjs +0 -2550
  1711. package/dist/node_modules/.pnpm/bn.js@5.2.2/node_modules/bn.js/lib/bn.mjs +0 -2547
  1712. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/doc.cjs +0 -1049
  1713. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/doc.mjs +0 -1041
  1714. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/index.cjs +0 -14559
  1715. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/index.mjs +0 -14554
  1716. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/acorn.cjs +0 -4971
  1717. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/acorn.mjs +0 -4969
  1718. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/angular.cjs +0 -3954
  1719. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/angular.mjs +0 -3952
  1720. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/babel.cjs +0 -9881
  1721. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/babel.mjs +0 -9879
  1722. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/estree.cjs +0 -7271
  1723. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/estree.mjs +0 -7267
  1724. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/flow.cjs +0 -52915
  1725. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/flow.mjs +0 -52913
  1726. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/glimmer.cjs +0 -7546
  1727. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/glimmer.mjs +0 -7542
  1728. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/graphql.cjs +0 -1947
  1729. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/graphql.mjs +0 -1942
  1730. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/html.cjs +0 -7041
  1731. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/html.mjs +0 -7036
  1732. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/markdown.cjs +0 -6882
  1733. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/markdown.mjs +0 -6877
  1734. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/meriyah.cjs +0 -7593
  1735. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/meriyah.mjs +0 -7591
  1736. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/postcss.cjs +0 -6780
  1737. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/postcss.mjs +0 -6775
  1738. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/typescript.cjs +0 -22937
  1739. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/typescript.mjs +0 -22935
  1740. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/yaml.cjs +0 -5273
  1741. package/dist/node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/yaml.mjs +0 -5267
  1742. /package/dist/{packages/chainspec → chainspec}/src/Compiler.mjs +0 -0
  1743. /package/dist/{packages/chainspec → chainspec}/src/SpecVersion.cjs +0 -0
  1744. /package/dist/{packages/chainspec → chainspec}/src/SpecVersion.mjs +0 -0
@@ -1,4969 +0,0 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/acorn.mjs
2
- var Ii = Object.create;
3
- var Be = Object.defineProperty;
4
- var Ni = Object.getOwnPropertyDescriptor;
5
- var Li = Object.getOwnPropertyNames;
6
- var Ri = Object.getPrototypeOf, Vi = Object.prototype.hasOwnProperty;
7
- var ot = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Oi = (e, t) => {
8
- for (var i in t) Be(e, i, {
9
- get: t[i],
10
- enumerable: !0
11
- });
12
- }, Bi = (e, t, i, s) => {
13
- if (t && typeof t == "object" || typeof t == "function") for (let r of Li(t)) !Vi.call(e, r) && r !== i && Be(e, r, {
14
- get: () => t[r],
15
- enumerable: !(s = Ni(t, r)) || s.enumerable
16
- });
17
- return e;
18
- };
19
- var ut = (e, t, i) => (i = e != null ? Ii(Ri(e)) : {}, Bi(t || !e || !e.__esModule ? Be(i, "default", {
20
- value: e,
21
- enumerable: !0
22
- }) : i, e));
23
- var Qt = ot((xr, zt) => {
24
- zt.exports = {};
25
- });
26
- var $e = ot((yr, Ye) => {
27
- "use strict";
28
- var _s = Qt(), Cs = /^[\da-fA-F]+$/, Ts = /^\d+$/, Yt = /* @__PURE__ */ new WeakMap();
29
- function $t(e) {
30
- e = e.Parser.acorn || e;
31
- let t = Yt.get(e);
32
- if (!t) {
33
- let i = e.tokTypes, s = e.TokContext, r = e.TokenType, o = new s("<tag", !1), u = new s("</tag", !1), p = new s("<tag>...</tag>", !0, !0), h = {
34
- tc_oTag: o,
35
- tc_cTag: u,
36
- tc_expr: p
37
- }, l = {
38
- jsxName: new r("jsxName"),
39
- jsxText: new r("jsxText", { beforeExpr: !0 }),
40
- jsxTagStart: new r("jsxTagStart", { startsExpr: !0 }),
41
- jsxTagEnd: new r("jsxTagEnd")
42
- };
43
- l.jsxTagStart.updateContext = function() {
44
- this.context.push(p), this.context.push(o), this.exprAllowed = !1;
45
- }, l.jsxTagEnd.updateContext = function(m) {
46
- let S = this.context.pop();
47
- S === o && m === i.slash || S === u ? (this.context.pop(), this.exprAllowed = this.curContext() === p) : this.exprAllowed = !0;
48
- }, t = {
49
- tokContexts: h,
50
- tokTypes: l
51
- }, Yt.set(e, t);
52
- }
53
- return t;
54
- }
55
- function pe(e) {
56
- if (!e) return e;
57
- if (e.type === "JSXIdentifier") return e.name;
58
- if (e.type === "JSXNamespacedName") return e.namespace.name + ":" + e.name.name;
59
- if (e.type === "JSXMemberExpression") return pe(e.object) + "." + pe(e.property);
60
- }
61
- Ye.exports = function(e) {
62
- return e = e || {}, function(t) {
63
- return Es({
64
- allowNamespaces: e.allowNamespaces !== !1,
65
- allowNamespacedObjects: !!e.allowNamespacedObjects
66
- }, t);
67
- };
68
- };
69
- Object.defineProperty(Ye.exports, "tokTypes", {
70
- get: function() {
71
- return $t(void 0).tokTypes;
72
- },
73
- configurable: !0,
74
- enumerable: !0
75
- });
76
- function Es(e, t) {
77
- let i = t.acorn || void 0, s = $t(i), r = i.tokTypes, o = s.tokTypes, u = i.tokContexts, p = s.tokContexts.tc_oTag, h = s.tokContexts.tc_cTag, l = s.tokContexts.tc_expr, m = i.isNewLine, S = i.isIdentifierStart, E = i.isIdentifierChar;
78
- return class extends t {
79
- static get acornJsx() {
80
- return s;
81
- }
82
- jsx_readToken() {
83
- let c = "", x = this.pos;
84
- for (;;) {
85
- this.pos >= this.input.length && this.raise(this.start, "Unterminated JSX contents");
86
- let y = this.input.charCodeAt(this.pos);
87
- switch (y) {
88
- case 60:
89
- case 123: return this.pos === this.start ? y === 60 && this.exprAllowed ? (++this.pos, this.finishToken(o.jsxTagStart)) : this.getTokenFromCode(y) : (c += this.input.slice(x, this.pos), this.finishToken(o.jsxText, c));
90
- case 38:
91
- c += this.input.slice(x, this.pos), c += this.jsx_readEntity(), x = this.pos;
92
- break;
93
- case 62:
94
- case 125: this.raise(this.pos, "Unexpected token `" + this.input[this.pos] + "`. Did you mean `" + (y === 62 ? "&gt;" : "&rbrace;") + "` or `{\"" + this.input[this.pos] + "\"}`?");
95
- default: m(y) ? (c += this.input.slice(x, this.pos), c += this.jsx_readNewLine(!0), x = this.pos) : ++this.pos;
96
- }
97
- }
98
- }
99
- jsx_readNewLine(c) {
100
- let x = this.input.charCodeAt(this.pos), y;
101
- return ++this.pos, x === 13 && this.input.charCodeAt(this.pos) === 10 ? (++this.pos, y = c ? `
102
- ` : `\r
103
- `) : y = String.fromCharCode(x), this.options.locations && (++this.curLine, this.lineStart = this.pos), y;
104
- }
105
- jsx_readString(c) {
106
- let x = "", y = ++this.pos;
107
- for (;;) {
108
- this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
109
- let v = this.input.charCodeAt(this.pos);
110
- if (v === c) break;
111
- v === 38 ? (x += this.input.slice(y, this.pos), x += this.jsx_readEntity(), y = this.pos) : m(v) ? (x += this.input.slice(y, this.pos), x += this.jsx_readNewLine(!1), y = this.pos) : ++this.pos;
112
- }
113
- return x += this.input.slice(y, this.pos++), this.finishToken(r.string, x);
114
- }
115
- jsx_readEntity() {
116
- let c = "", x = 0, y, v = this.input[this.pos];
117
- v !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
118
- let I = ++this.pos;
119
- for (; this.pos < this.input.length && x++ < 10;) {
120
- if (v = this.input[this.pos++], v === ";") {
121
- c[0] === "#" ? c[1] === "x" ? (c = c.substr(2), Cs.test(c) && (y = String.fromCharCode(parseInt(c, 16)))) : (c = c.substr(1), Ts.test(c) && (y = String.fromCharCode(parseInt(c, 10)))) : y = _s[c];
122
- break;
123
- }
124
- c += v;
125
- }
126
- return y || (this.pos = I, "&");
127
- }
128
- jsx_readWord() {
129
- let c, x = this.pos;
130
- do
131
- c = this.input.charCodeAt(++this.pos);
132
- while (E(c) || c === 45);
133
- return this.finishToken(o.jsxName, this.input.slice(x, this.pos));
134
- }
135
- jsx_parseIdentifier() {
136
- let c = this.startNode();
137
- return this.type === o.jsxName ? c.name = this.value : this.type.keyword ? c.name = this.type.keyword : this.unexpected(), this.next(), this.finishNode(c, "JSXIdentifier");
138
- }
139
- jsx_parseNamespacedName() {
140
- let c = this.start, x = this.startLoc, y = this.jsx_parseIdentifier();
141
- if (!e.allowNamespaces || !this.eat(r.colon)) return y;
142
- var v = this.startNodeAt(c, x);
143
- return v.namespace = y, v.name = this.jsx_parseIdentifier(), this.finishNode(v, "JSXNamespacedName");
144
- }
145
- jsx_parseElementName() {
146
- if (this.type === o.jsxTagEnd) return "";
147
- let c = this.start, x = this.startLoc, y = this.jsx_parseNamespacedName();
148
- for (this.type === r.dot && y.type === "JSXNamespacedName" && !e.allowNamespacedObjects && this.unexpected(); this.eat(r.dot);) {
149
- let v = this.startNodeAt(c, x);
150
- v.object = y, v.property = this.jsx_parseIdentifier(), y = this.finishNode(v, "JSXMemberExpression");
151
- }
152
- return y;
153
- }
154
- jsx_parseAttributeValue() {
155
- switch (this.type) {
156
- case r.braceL:
157
- let c = this.jsx_parseExpressionContainer();
158
- return c.expression.type === "JSXEmptyExpression" && this.raise(c.start, "JSX attributes must only be assigned a non-empty expression"), c;
159
- case o.jsxTagStart:
160
- case r.string: return this.parseExprAtom();
161
- default: this.raise(this.start, "JSX value should be either an expression or a quoted JSX text");
162
- }
163
- }
164
- jsx_parseEmptyExpression() {
165
- let c = this.startNodeAt(this.lastTokEnd, this.lastTokEndLoc);
166
- return this.finishNodeAt(c, "JSXEmptyExpression", this.start, this.startLoc);
167
- }
168
- jsx_parseExpressionContainer() {
169
- let c = this.startNode();
170
- return this.next(), c.expression = this.type === r.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(r.braceR), this.finishNode(c, "JSXExpressionContainer");
171
- }
172
- jsx_parseAttribute() {
173
- let c = this.startNode();
174
- return this.eat(r.braceL) ? (this.expect(r.ellipsis), c.argument = this.parseMaybeAssign(), this.expect(r.braceR), this.finishNode(c, "JSXSpreadAttribute")) : (c.name = this.jsx_parseNamespacedName(), c.value = this.eat(r.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(c, "JSXAttribute"));
175
- }
176
- jsx_parseOpeningElementAt(c, x) {
177
- let y = this.startNodeAt(c, x);
178
- y.attributes = [];
179
- let v = this.jsx_parseElementName();
180
- for (v && (y.name = v); this.type !== r.slash && this.type !== o.jsxTagEnd;) y.attributes.push(this.jsx_parseAttribute());
181
- return y.selfClosing = this.eat(r.slash), this.expect(o.jsxTagEnd), this.finishNode(y, v ? "JSXOpeningElement" : "JSXOpeningFragment");
182
- }
183
- jsx_parseClosingElementAt(c, x) {
184
- let y = this.startNodeAt(c, x), v = this.jsx_parseElementName();
185
- return v && (y.name = v), this.expect(o.jsxTagEnd), this.finishNode(y, v ? "JSXClosingElement" : "JSXClosingFragment");
186
- }
187
- jsx_parseElementAt(c, x) {
188
- let y = this.startNodeAt(c, x), v = [], I = this.jsx_parseOpeningElementAt(c, x), de = null;
189
- if (!I.selfClosing) {
190
- e: for (;;) switch (this.type) {
191
- case o.jsxTagStart:
192
- if (c = this.start, x = this.startLoc, this.next(), this.eat(r.slash)) {
193
- de = this.jsx_parseClosingElementAt(c, x);
194
- break e;
195
- }
196
- v.push(this.jsx_parseElementAt(c, x));
197
- break;
198
- case o.jsxText:
199
- v.push(this.parseExprAtom());
200
- break;
201
- case r.braceL:
202
- v.push(this.jsx_parseExpressionContainer());
203
- break;
204
- default: this.unexpected();
205
- }
206
- pe(de.name) !== pe(I.name) && this.raise(de.start, "Expected corresponding JSX closing tag for <" + pe(I.name) + ">");
207
- }
208
- let Oe = I.name ? "Element" : "Fragment";
209
- return y["opening" + Oe] = I, y["closing" + Oe] = de, y.children = v, this.type === r.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(y, "JSX" + Oe);
210
- }
211
- jsx_parseText() {
212
- let c = this.parseLiteral(this.value);
213
- return c.type = "JSXText", c;
214
- }
215
- jsx_parseElement() {
216
- let c = this.start, x = this.startLoc;
217
- return this.next(), this.jsx_parseElementAt(c, x);
218
- }
219
- parseExprAtom(c) {
220
- return this.type === o.jsxText ? this.jsx_parseText() : this.type === o.jsxTagStart ? this.jsx_parseElement() : super.parseExprAtom(c);
221
- }
222
- readToken(c) {
223
- let x = this.curContext();
224
- if (x === l) return this.jsx_readToken();
225
- if (x === p || x === h) {
226
- if (S(c)) return this.jsx_readWord();
227
- if (c == 62) return ++this.pos, this.finishToken(o.jsxTagEnd);
228
- if ((c === 34 || c === 39) && x == p) return this.jsx_readString(c);
229
- }
230
- return c === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33 ? (++this.pos, this.finishToken(o.jsxTagStart)) : super.readToken(c);
231
- }
232
- updateContext(c) {
233
- if (this.type == r.braceL) {
234
- var x = this.curContext();
235
- x == p ? this.context.push(u.b_expr) : x == l ? this.context.push(u.b_tmpl) : super.updateContext(c), this.exprAllowed = !0;
236
- } else if (this.type === r.slash && c === o.jsxTagStart) this.context.length -= 2, this.context.push(h), this.exprAllowed = !1;
237
- else return super.updateContext(c);
238
- }
239
- };
240
- }
241
- });
242
- var Pi = {};
243
- Oi(Pi, { parsers: () => dr });
244
- var Di = [
245
- 509,
246
- 0,
247
- 227,
248
- 0,
249
- 150,
250
- 4,
251
- 294,
252
- 9,
253
- 1368,
254
- 2,
255
- 2,
256
- 1,
257
- 6,
258
- 3,
259
- 41,
260
- 2,
261
- 5,
262
- 0,
263
- 166,
264
- 1,
265
- 574,
266
- 3,
267
- 9,
268
- 9,
269
- 7,
270
- 9,
271
- 32,
272
- 4,
273
- 318,
274
- 1,
275
- 80,
276
- 3,
277
- 71,
278
- 10,
279
- 50,
280
- 3,
281
- 123,
282
- 2,
283
- 54,
284
- 14,
285
- 32,
286
- 10,
287
- 3,
288
- 1,
289
- 11,
290
- 3,
291
- 46,
292
- 10,
293
- 8,
294
- 0,
295
- 46,
296
- 9,
297
- 7,
298
- 2,
299
- 37,
300
- 13,
301
- 2,
302
- 9,
303
- 6,
304
- 1,
305
- 45,
306
- 0,
307
- 13,
308
- 2,
309
- 49,
310
- 13,
311
- 9,
312
- 3,
313
- 2,
314
- 11,
315
- 83,
316
- 11,
317
- 7,
318
- 0,
319
- 3,
320
- 0,
321
- 158,
322
- 11,
323
- 6,
324
- 9,
325
- 7,
326
- 3,
327
- 56,
328
- 1,
329
- 2,
330
- 6,
331
- 3,
332
- 1,
333
- 3,
334
- 2,
335
- 10,
336
- 0,
337
- 11,
338
- 1,
339
- 3,
340
- 6,
341
- 4,
342
- 4,
343
- 68,
344
- 8,
345
- 2,
346
- 0,
347
- 3,
348
- 0,
349
- 2,
350
- 3,
351
- 2,
352
- 4,
353
- 2,
354
- 0,
355
- 15,
356
- 1,
357
- 83,
358
- 17,
359
- 10,
360
- 9,
361
- 5,
362
- 0,
363
- 82,
364
- 19,
365
- 13,
366
- 9,
367
- 214,
368
- 6,
369
- 3,
370
- 8,
371
- 28,
372
- 1,
373
- 83,
374
- 16,
375
- 16,
376
- 9,
377
- 82,
378
- 12,
379
- 9,
380
- 9,
381
- 7,
382
- 19,
383
- 58,
384
- 14,
385
- 5,
386
- 9,
387
- 243,
388
- 14,
389
- 166,
390
- 9,
391
- 71,
392
- 5,
393
- 2,
394
- 1,
395
- 3,
396
- 3,
397
- 2,
398
- 0,
399
- 2,
400
- 1,
401
- 13,
402
- 9,
403
- 120,
404
- 6,
405
- 3,
406
- 6,
407
- 4,
408
- 0,
409
- 29,
410
- 9,
411
- 41,
412
- 6,
413
- 2,
414
- 3,
415
- 9,
416
- 0,
417
- 10,
418
- 10,
419
- 47,
420
- 15,
421
- 343,
422
- 9,
423
- 54,
424
- 7,
425
- 2,
426
- 7,
427
- 17,
428
- 9,
429
- 57,
430
- 21,
431
- 2,
432
- 13,
433
- 123,
434
- 5,
435
- 4,
436
- 0,
437
- 2,
438
- 1,
439
- 2,
440
- 6,
441
- 2,
442
- 0,
443
- 9,
444
- 9,
445
- 49,
446
- 4,
447
- 2,
448
- 1,
449
- 2,
450
- 4,
451
- 9,
452
- 9,
453
- 330,
454
- 3,
455
- 10,
456
- 1,
457
- 2,
458
- 0,
459
- 49,
460
- 6,
461
- 4,
462
- 4,
463
- 14,
464
- 10,
465
- 5350,
466
- 0,
467
- 7,
468
- 14,
469
- 11465,
470
- 27,
471
- 2343,
472
- 9,
473
- 87,
474
- 9,
475
- 39,
476
- 4,
477
- 60,
478
- 6,
479
- 26,
480
- 9,
481
- 535,
482
- 9,
483
- 470,
484
- 0,
485
- 2,
486
- 54,
487
- 8,
488
- 3,
489
- 82,
490
- 0,
491
- 12,
492
- 1,
493
- 19628,
494
- 1,
495
- 4178,
496
- 9,
497
- 519,
498
- 45,
499
- 3,
500
- 22,
501
- 543,
502
- 4,
503
- 4,
504
- 5,
505
- 9,
506
- 7,
507
- 3,
508
- 6,
509
- 31,
510
- 3,
511
- 149,
512
- 2,
513
- 1418,
514
- 49,
515
- 513,
516
- 54,
517
- 5,
518
- 49,
519
- 9,
520
- 0,
521
- 15,
522
- 0,
523
- 23,
524
- 4,
525
- 2,
526
- 14,
527
- 1361,
528
- 6,
529
- 2,
530
- 16,
531
- 3,
532
- 6,
533
- 2,
534
- 1,
535
- 2,
536
- 4,
537
- 101,
538
- 0,
539
- 161,
540
- 6,
541
- 10,
542
- 9,
543
- 357,
544
- 0,
545
- 62,
546
- 13,
547
- 499,
548
- 13,
549
- 245,
550
- 1,
551
- 2,
552
- 9,
553
- 726,
554
- 6,
555
- 110,
556
- 6,
557
- 6,
558
- 9,
559
- 4759,
560
- 9,
561
- 787719,
562
- 239
563
- ], dt = [
564
- 0,
565
- 11,
566
- 2,
567
- 25,
568
- 2,
569
- 18,
570
- 2,
571
- 1,
572
- 2,
573
- 14,
574
- 3,
575
- 13,
576
- 35,
577
- 122,
578
- 70,
579
- 52,
580
- 268,
581
- 28,
582
- 4,
583
- 48,
584
- 48,
585
- 31,
586
- 14,
587
- 29,
588
- 6,
589
- 37,
590
- 11,
591
- 29,
592
- 3,
593
- 35,
594
- 5,
595
- 7,
596
- 2,
597
- 4,
598
- 43,
599
- 157,
600
- 19,
601
- 35,
602
- 5,
603
- 35,
604
- 5,
605
- 39,
606
- 9,
607
- 51,
608
- 13,
609
- 10,
610
- 2,
611
- 14,
612
- 2,
613
- 6,
614
- 2,
615
- 1,
616
- 2,
617
- 10,
618
- 2,
619
- 14,
620
- 2,
621
- 6,
622
- 2,
623
- 1,
624
- 4,
625
- 51,
626
- 13,
627
- 310,
628
- 10,
629
- 21,
630
- 11,
631
- 7,
632
- 25,
633
- 5,
634
- 2,
635
- 41,
636
- 2,
637
- 8,
638
- 70,
639
- 5,
640
- 3,
641
- 0,
642
- 2,
643
- 43,
644
- 2,
645
- 1,
646
- 4,
647
- 0,
648
- 3,
649
- 22,
650
- 11,
651
- 22,
652
- 10,
653
- 30,
654
- 66,
655
- 18,
656
- 2,
657
- 1,
658
- 11,
659
- 21,
660
- 11,
661
- 25,
662
- 71,
663
- 55,
664
- 7,
665
- 1,
666
- 65,
667
- 0,
668
- 16,
669
- 3,
670
- 2,
671
- 2,
672
- 2,
673
- 28,
674
- 43,
675
- 28,
676
- 4,
677
- 28,
678
- 36,
679
- 7,
680
- 2,
681
- 27,
682
- 28,
683
- 53,
684
- 11,
685
- 21,
686
- 11,
687
- 18,
688
- 14,
689
- 17,
690
- 111,
691
- 72,
692
- 56,
693
- 50,
694
- 14,
695
- 50,
696
- 14,
697
- 35,
698
- 39,
699
- 27,
700
- 10,
701
- 22,
702
- 251,
703
- 41,
704
- 7,
705
- 1,
706
- 17,
707
- 2,
708
- 60,
709
- 28,
710
- 11,
711
- 0,
712
- 9,
713
- 21,
714
- 43,
715
- 17,
716
- 47,
717
- 20,
718
- 28,
719
- 22,
720
- 13,
721
- 52,
722
- 58,
723
- 1,
724
- 3,
725
- 0,
726
- 14,
727
- 44,
728
- 33,
729
- 24,
730
- 27,
731
- 35,
732
- 30,
733
- 0,
734
- 3,
735
- 0,
736
- 9,
737
- 34,
738
- 4,
739
- 0,
740
- 13,
741
- 47,
742
- 15,
743
- 3,
744
- 22,
745
- 0,
746
- 2,
747
- 0,
748
- 36,
749
- 17,
750
- 2,
751
- 24,
752
- 20,
753
- 1,
754
- 64,
755
- 6,
756
- 2,
757
- 0,
758
- 2,
759
- 3,
760
- 2,
761
- 14,
762
- 2,
763
- 9,
764
- 8,
765
- 46,
766
- 39,
767
- 7,
768
- 3,
769
- 1,
770
- 3,
771
- 21,
772
- 2,
773
- 6,
774
- 2,
775
- 1,
776
- 2,
777
- 4,
778
- 4,
779
- 0,
780
- 19,
781
- 0,
782
- 13,
783
- 4,
784
- 31,
785
- 9,
786
- 2,
787
- 0,
788
- 3,
789
- 0,
790
- 2,
791
- 37,
792
- 2,
793
- 0,
794
- 26,
795
- 0,
796
- 2,
797
- 0,
798
- 45,
799
- 52,
800
- 19,
801
- 3,
802
- 21,
803
- 2,
804
- 31,
805
- 47,
806
- 21,
807
- 1,
808
- 2,
809
- 0,
810
- 185,
811
- 46,
812
- 42,
813
- 3,
814
- 37,
815
- 47,
816
- 21,
817
- 0,
818
- 60,
819
- 42,
820
- 14,
821
- 0,
822
- 72,
823
- 26,
824
- 38,
825
- 6,
826
- 186,
827
- 43,
828
- 117,
829
- 63,
830
- 32,
831
- 7,
832
- 3,
833
- 0,
834
- 3,
835
- 7,
836
- 2,
837
- 1,
838
- 2,
839
- 23,
840
- 16,
841
- 0,
842
- 2,
843
- 0,
844
- 95,
845
- 7,
846
- 3,
847
- 38,
848
- 17,
849
- 0,
850
- 2,
851
- 0,
852
- 29,
853
- 0,
854
- 11,
855
- 39,
856
- 8,
857
- 0,
858
- 22,
859
- 0,
860
- 12,
861
- 45,
862
- 20,
863
- 0,
864
- 19,
865
- 72,
866
- 200,
867
- 32,
868
- 32,
869
- 8,
870
- 2,
871
- 36,
872
- 18,
873
- 0,
874
- 50,
875
- 29,
876
- 113,
877
- 6,
878
- 2,
879
- 1,
880
- 2,
881
- 37,
882
- 22,
883
- 0,
884
- 26,
885
- 5,
886
- 2,
887
- 1,
888
- 2,
889
- 31,
890
- 15,
891
- 0,
892
- 328,
893
- 18,
894
- 16,
895
- 0,
896
- 2,
897
- 12,
898
- 2,
899
- 33,
900
- 125,
901
- 0,
902
- 80,
903
- 921,
904
- 103,
905
- 110,
906
- 18,
907
- 195,
908
- 2637,
909
- 96,
910
- 16,
911
- 1071,
912
- 18,
913
- 5,
914
- 26,
915
- 3994,
916
- 6,
917
- 582,
918
- 6842,
919
- 29,
920
- 1763,
921
- 568,
922
- 8,
923
- 30,
924
- 18,
925
- 78,
926
- 18,
927
- 29,
928
- 19,
929
- 47,
930
- 17,
931
- 3,
932
- 32,
933
- 20,
934
- 6,
935
- 18,
936
- 433,
937
- 44,
938
- 212,
939
- 63,
940
- 129,
941
- 74,
942
- 6,
943
- 0,
944
- 67,
945
- 12,
946
- 65,
947
- 1,
948
- 2,
949
- 0,
950
- 29,
951
- 6135,
952
- 9,
953
- 1237,
954
- 42,
955
- 9,
956
- 8936,
957
- 3,
958
- 2,
959
- 6,
960
- 2,
961
- 1,
962
- 2,
963
- 290,
964
- 16,
965
- 0,
966
- 30,
967
- 2,
968
- 3,
969
- 0,
970
- 15,
971
- 3,
972
- 9,
973
- 395,
974
- 2309,
975
- 106,
976
- 6,
977
- 12,
978
- 4,
979
- 8,
980
- 8,
981
- 9,
982
- 5991,
983
- 84,
984
- 2,
985
- 70,
986
- 2,
987
- 1,
988
- 3,
989
- 0,
990
- 3,
991
- 1,
992
- 3,
993
- 3,
994
- 2,
995
- 11,
996
- 2,
997
- 0,
998
- 2,
999
- 6,
1000
- 2,
1001
- 64,
1002
- 2,
1003
- 3,
1004
- 3,
1005
- 7,
1006
- 2,
1007
- 6,
1008
- 2,
1009
- 27,
1010
- 2,
1011
- 3,
1012
- 2,
1013
- 4,
1014
- 2,
1015
- 0,
1016
- 4,
1017
- 6,
1018
- 2,
1019
- 339,
1020
- 3,
1021
- 24,
1022
- 2,
1023
- 24,
1024
- 2,
1025
- 30,
1026
- 2,
1027
- 24,
1028
- 2,
1029
- 30,
1030
- 2,
1031
- 24,
1032
- 2,
1033
- 30,
1034
- 2,
1035
- 24,
1036
- 2,
1037
- 30,
1038
- 2,
1039
- 24,
1040
- 2,
1041
- 7,
1042
- 1845,
1043
- 30,
1044
- 7,
1045
- 5,
1046
- 262,
1047
- 61,
1048
- 147,
1049
- 44,
1050
- 11,
1051
- 6,
1052
- 17,
1053
- 0,
1054
- 322,
1055
- 29,
1056
- 19,
1057
- 43,
1058
- 485,
1059
- 27,
1060
- 229,
1061
- 29,
1062
- 3,
1063
- 0,
1064
- 496,
1065
- 6,
1066
- 2,
1067
- 3,
1068
- 2,
1069
- 1,
1070
- 2,
1071
- 14,
1072
- 2,
1073
- 196,
1074
- 60,
1075
- 67,
1076
- 8,
1077
- 0,
1078
- 1205,
1079
- 3,
1080
- 2,
1081
- 26,
1082
- 2,
1083
- 1,
1084
- 2,
1085
- 0,
1086
- 3,
1087
- 0,
1088
- 2,
1089
- 9,
1090
- 2,
1091
- 3,
1092
- 2,
1093
- 0,
1094
- 2,
1095
- 0,
1096
- 7,
1097
- 0,
1098
- 5,
1099
- 0,
1100
- 2,
1101
- 0,
1102
- 2,
1103
- 0,
1104
- 2,
1105
- 2,
1106
- 2,
1107
- 1,
1108
- 2,
1109
- 0,
1110
- 3,
1111
- 0,
1112
- 2,
1113
- 0,
1114
- 2,
1115
- 0,
1116
- 2,
1117
- 0,
1118
- 2,
1119
- 0,
1120
- 2,
1121
- 1,
1122
- 2,
1123
- 0,
1124
- 3,
1125
- 3,
1126
- 2,
1127
- 6,
1128
- 2,
1129
- 3,
1130
- 2,
1131
- 3,
1132
- 2,
1133
- 0,
1134
- 2,
1135
- 9,
1136
- 2,
1137
- 16,
1138
- 6,
1139
- 2,
1140
- 2,
1141
- 4,
1142
- 2,
1143
- 16,
1144
- 4421,
1145
- 42719,
1146
- 33,
1147
- 4153,
1148
- 7,
1149
- 221,
1150
- 3,
1151
- 5761,
1152
- 15,
1153
- 7472,
1154
- 16,
1155
- 621,
1156
- 2467,
1157
- 541,
1158
- 1507,
1159
- 4938,
1160
- 6,
1161
- 4191
1162
- ], Mi = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", mt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", De = {
1163
- 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
1164
- 5: "class enum extends super const export import",
1165
- 6: "enum",
1166
- strict: "implements interface let package private protected public static yield",
1167
- strictBind: "eval arguments"
1168
- }, Me = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", Fi = {
1169
- 5: Me,
1170
- "5module": Me + " export import",
1171
- 6: Me + " const class extends export import super"
1172
- }, ji = /^in(stanceof)?$/, Ui = new RegExp("[" + mt + "]"), Gi = new RegExp("[" + mt + Mi + "]");
1173
- function je(e, t) {
1174
- for (var i = 65536, s = 0; s < t.length; s += 2) {
1175
- if (i += t[s], i > e) return !1;
1176
- if (i += t[s + 1], i >= e) return !0;
1177
- }
1178
- return !1;
1179
- }
1180
- function j(e, t) {
1181
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Ui.test(String.fromCharCode(e)) : t === !1 ? !1 : je(e, dt);
1182
- }
1183
- function X(e, t) {
1184
- return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Gi.test(String.fromCharCode(e)) : t === !1 ? !1 : je(e, dt) || je(e, Di);
1185
- }
1186
- var C = function(t, i) {
1187
- i === void 0 && (i = {}), this.label = t, this.keyword = i.keyword, this.beforeExpr = !!i.beforeExpr, this.startsExpr = !!i.startsExpr, this.isLoop = !!i.isLoop, this.isAssign = !!i.isAssign, this.prefix = !!i.prefix, this.postfix = !!i.postfix, this.binop = i.binop || null, this.updateContext = null;
1188
- };
1189
- function V(e, t) {
1190
- return new C(e, {
1191
- beforeExpr: !0,
1192
- binop: t
1193
- });
1194
- }
1195
- var O = { beforeExpr: !0 }, N = { startsExpr: !0 }, Je = {};
1196
- function _(e, t) {
1197
- return t === void 0 && (t = {}), t.keyword = e, Je[e] = new C(e, t);
1198
- }
1199
- var a = {
1200
- num: new C("num", N),
1201
- regexp: new C("regexp", N),
1202
- string: new C("string", N),
1203
- name: new C("name", N),
1204
- privateId: new C("privateId", N),
1205
- eof: new C("eof"),
1206
- bracketL: new C("[", {
1207
- beforeExpr: !0,
1208
- startsExpr: !0
1209
- }),
1210
- bracketR: new C("]"),
1211
- braceL: new C("{", {
1212
- beforeExpr: !0,
1213
- startsExpr: !0
1214
- }),
1215
- braceR: new C("}"),
1216
- parenL: new C("(", {
1217
- beforeExpr: !0,
1218
- startsExpr: !0
1219
- }),
1220
- parenR: new C(")"),
1221
- comma: new C(",", O),
1222
- semi: new C(";", O),
1223
- colon: new C(":", O),
1224
- dot: new C("."),
1225
- question: new C("?", O),
1226
- questionDot: new C("?."),
1227
- arrow: new C("=>", O),
1228
- template: new C("template"),
1229
- invalidTemplate: new C("invalidTemplate"),
1230
- ellipsis: new C("...", O),
1231
- backQuote: new C("`", N),
1232
- dollarBraceL: new C("${", {
1233
- beforeExpr: !0,
1234
- startsExpr: !0
1235
- }),
1236
- eq: new C("=", {
1237
- beforeExpr: !0,
1238
- isAssign: !0
1239
- }),
1240
- assign: new C("_=", {
1241
- beforeExpr: !0,
1242
- isAssign: !0
1243
- }),
1244
- incDec: new C("++/--", {
1245
- prefix: !0,
1246
- postfix: !0,
1247
- startsExpr: !0
1248
- }),
1249
- prefix: new C("!/~", {
1250
- beforeExpr: !0,
1251
- prefix: !0,
1252
- startsExpr: !0
1253
- }),
1254
- logicalOR: V("||", 1),
1255
- logicalAND: V("&&", 2),
1256
- bitwiseOR: V("|", 3),
1257
- bitwiseXOR: V("^", 4),
1258
- bitwiseAND: V("&", 5),
1259
- equality: V("==/!=/===/!==", 6),
1260
- relational: V("</>/<=/>=", 7),
1261
- bitShift: V("<</>>/>>>", 8),
1262
- plusMin: new C("+/-", {
1263
- beforeExpr: !0,
1264
- binop: 9,
1265
- prefix: !0,
1266
- startsExpr: !0
1267
- }),
1268
- modulo: V("%", 10),
1269
- star: V("*", 10),
1270
- slash: V("/", 10),
1271
- starstar: new C("**", { beforeExpr: !0 }),
1272
- coalesce: V("??", 1),
1273
- _break: _("break"),
1274
- _case: _("case", O),
1275
- _catch: _("catch"),
1276
- _continue: _("continue"),
1277
- _debugger: _("debugger"),
1278
- _default: _("default", O),
1279
- _do: _("do", {
1280
- isLoop: !0,
1281
- beforeExpr: !0
1282
- }),
1283
- _else: _("else", O),
1284
- _finally: _("finally"),
1285
- _for: _("for", { isLoop: !0 }),
1286
- _function: _("function", N),
1287
- _if: _("if"),
1288
- _return: _("return", O),
1289
- _switch: _("switch"),
1290
- _throw: _("throw", O),
1291
- _try: _("try"),
1292
- _var: _("var"),
1293
- _const: _("const"),
1294
- _while: _("while", { isLoop: !0 }),
1295
- _with: _("with"),
1296
- _new: _("new", {
1297
- beforeExpr: !0,
1298
- startsExpr: !0
1299
- }),
1300
- _this: _("this", N),
1301
- _super: _("super", N),
1302
- _class: _("class", N),
1303
- _extends: _("extends", O),
1304
- _export: _("export"),
1305
- _import: _("import", N),
1306
- _null: _("null", N),
1307
- _true: _("true", N),
1308
- _false: _("false", N),
1309
- _in: _("in", {
1310
- beforeExpr: !0,
1311
- binop: 7
1312
- }),
1313
- _instanceof: _("instanceof", {
1314
- beforeExpr: !0,
1315
- binop: 7
1316
- }),
1317
- _typeof: _("typeof", {
1318
- beforeExpr: !0,
1319
- prefix: !0,
1320
- startsExpr: !0
1321
- }),
1322
- _void: _("void", {
1323
- beforeExpr: !0,
1324
- prefix: !0,
1325
- startsExpr: !0
1326
- }),
1327
- _delete: _("delete", {
1328
- beforeExpr: !0,
1329
- prefix: !0,
1330
- startsExpr: !0
1331
- })
1332
- }, L = /\r\n?|\n|\u2028|\u2029/, qi = new RegExp(L.source, "g");
1333
- function Y(e) {
1334
- return e === 10 || e === 13 || e === 8232 || e === 8233;
1335
- }
1336
- function xt(e, t, i) {
1337
- i === void 0 && (i = e.length);
1338
- for (var s = t; s < i; s++) {
1339
- var r = e.charCodeAt(s);
1340
- if (Y(r)) return s < i - 1 && r === 13 && e.charCodeAt(s + 1) === 10 ? s + 2 : s + 1;
1341
- }
1342
- return -1;
1343
- }
1344
- var yt = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, k = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, gt = Object.prototype, Ji = gt.hasOwnProperty, Ki = gt.toString, $ = Object.hasOwn || (function(e, t) {
1345
- return Ji.call(e, t);
1346
- }), ht = Array.isArray || (function(e) {
1347
- return Ki.call(e) === "[object Array]";
1348
- }), pt = Object.create(null);
1349
- function H(e) {
1350
- return pt[e] || (pt[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1351
- }
1352
- function q(e) {
1353
- return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
1354
- }
1355
- var Hi = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, ne = function(t, i) {
1356
- this.line = t, this.column = i;
1357
- };
1358
- ne.prototype.offset = function(t) {
1359
- return new ne(this.line, this.column + t);
1360
- };
1361
- var be = function(t, i, s) {
1362
- this.start = i, this.end = s, t.sourceFile !== null && (this.source = t.sourceFile);
1363
- };
1364
- function vt(e, t) {
1365
- for (var i = 1, s = 0;;) {
1366
- var r = xt(e, s, t);
1367
- if (r < 0) return new ne(i, t - s);
1368
- ++i, s = r;
1369
- }
1370
- }
1371
- var Ue = {
1372
- ecmaVersion: null,
1373
- sourceType: "script",
1374
- onInsertedSemicolon: null,
1375
- onTrailingComma: null,
1376
- allowReserved: null,
1377
- allowReturnOutsideFunction: !1,
1378
- allowImportExportEverywhere: !1,
1379
- allowAwaitOutsideFunction: null,
1380
- allowSuperOutsideMethod: null,
1381
- allowHashBang: !1,
1382
- checkPrivateFields: !0,
1383
- locations: !1,
1384
- onToken: null,
1385
- onComment: null,
1386
- ranges: !1,
1387
- program: null,
1388
- sourceFile: null,
1389
- directSourceFile: null,
1390
- preserveParens: !1
1391
- }, ct = !1;
1392
- function Xi(e) {
1393
- var t = {};
1394
- for (var i in Ue) t[i] = e && $(e, i) ? e[i] : Ue[i];
1395
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!ct && typeof console == "object" && console.warn && (ct = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
1396
- Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved ??= t.ecmaVersion < 5, (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), ht(t.onToken)) {
1397
- var s = t.onToken;
1398
- t.onToken = function(r) {
1399
- return s.push(r);
1400
- };
1401
- }
1402
- return ht(t.onComment) && (t.onComment = Wi(t, t.onComment)), t;
1403
- }
1404
- function Wi(e, t) {
1405
- return function(i, s, r, o, u, p) {
1406
- var h = {
1407
- type: i ? "Block" : "Line",
1408
- value: s,
1409
- start: r,
1410
- end: o
1411
- };
1412
- e.locations && (h.loc = new be(this, u, p)), e.ranges && (h.range = [r, o]), t.push(h);
1413
- };
1414
- }
1415
- var oe = 1, Z = 2, Ke = 4, bt = 8, He = 16, St = 32, Se = 64, _t = 128, z = 256, ue = 512, _e = oe | Z | z;
1416
- function Xe(e, t) {
1417
- return Z | (e ? Ke : 0) | (t ? bt : 0);
1418
- }
1419
- var xe = 0, We = 1, K = 2, Ct = 3, Tt = 4, Et = 5, A = function(t, i, s) {
1420
- this.options = t = Xi(t), this.sourceFile = t.sourceFile, this.keywords = H(Fi[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
1421
- var r = "";
1422
- t.allowReserved !== !0 && (r = De[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (r += " await")), this.reservedWords = H(r);
1423
- var o = (r ? r + " " : "") + De.strict;
1424
- this.reservedWordsStrict = H(o), this.reservedWordsStrictBind = H(o + " " + De.strictBind), this.input = String(i), this.containsEsc = !1, s ? (this.pos = s, this.lineStart = this.input.lastIndexOf(`
1425
- `, s - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(L).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = a.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(oe), this.regexpState = null, this.privateNameStack = [];
1426
- }, U = {
1427
- inFunction: { configurable: !0 },
1428
- inGenerator: { configurable: !0 },
1429
- inAsync: { configurable: !0 },
1430
- canAwait: { configurable: !0 },
1431
- allowSuper: { configurable: !0 },
1432
- allowDirectSuper: { configurable: !0 },
1433
- treatFunctionsAsVar: { configurable: !0 },
1434
- allowNewDotTarget: { configurable: !0 },
1435
- inClassStaticBlock: { configurable: !0 }
1436
- };
1437
- A.prototype.parse = function() {
1438
- var t = this.options.program || this.startNode();
1439
- return this.nextToken(), this.parseTopLevel(t);
1440
- };
1441
- U.inFunction.get = function() {
1442
- return (this.currentVarScope().flags & Z) > 0;
1443
- };
1444
- U.inGenerator.get = function() {
1445
- return (this.currentVarScope().flags & bt) > 0;
1446
- };
1447
- U.inAsync.get = function() {
1448
- return (this.currentVarScope().flags & Ke) > 0;
1449
- };
1450
- U.canAwait.get = function() {
1451
- for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1452
- var i = this.scopeStack[e].flags;
1453
- if (i & (z | ue)) return !1;
1454
- if (i & Z) return (i & Ke) > 0;
1455
- }
1456
- return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
1457
- };
1458
- U.allowSuper.get = function() {
1459
- return (this.currentThisScope().flags & Se) > 0 || this.options.allowSuperOutsideMethod;
1460
- };
1461
- U.allowDirectSuper.get = function() {
1462
- return (this.currentThisScope().flags & _t) > 0;
1463
- };
1464
- U.treatFunctionsAsVar.get = function() {
1465
- return this.treatFunctionsAsVarInScope(this.currentScope());
1466
- };
1467
- U.allowNewDotTarget.get = function() {
1468
- for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1469
- var i = this.scopeStack[e].flags;
1470
- if (i & (z | ue) || i & Z && !(i & He)) return !0;
1471
- }
1472
- return !1;
1473
- };
1474
- U.inClassStaticBlock.get = function() {
1475
- return (this.currentVarScope().flags & z) > 0;
1476
- };
1477
- A.extend = function() {
1478
- for (var t = [], i = arguments.length; i--;) t[i] = arguments[i];
1479
- for (var s = this, r = 0; r < t.length; r++) s = t[r](s);
1480
- return s;
1481
- };
1482
- A.parse = function(t, i) {
1483
- return new this(i, t).parse();
1484
- };
1485
- A.parseExpressionAt = function(t, i, s) {
1486
- var r = new this(s, t, i);
1487
- return r.nextToken(), r.parseExpression();
1488
- };
1489
- A.tokenizer = function(t, i) {
1490
- return new this(i, t);
1491
- };
1492
- Object.defineProperties(A.prototype, U);
1493
- var w = A.prototype, zi = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1494
- w.strictDirective = function(e) {
1495
- if (this.options.ecmaVersion < 5) return !1;
1496
- for (;;) {
1497
- k.lastIndex = e, e += k.exec(this.input)[0].length;
1498
- var t = zi.exec(this.input.slice(e));
1499
- if (!t) return !1;
1500
- if ((t[1] || t[2]) === "use strict") {
1501
- k.lastIndex = e + t[0].length;
1502
- var i = k.exec(this.input), s = i.index + i[0].length, r = this.input.charAt(s);
1503
- return r === ";" || r === "}" || L.test(i[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(r) || r === "!" && this.input.charAt(s + 1) === "=");
1504
- }
1505
- e += t[0].length, k.lastIndex = e, e += k.exec(this.input)[0].length, this.input[e] === ";" && e++;
1506
- }
1507
- };
1508
- w.eat = function(e) {
1509
- return this.type === e ? (this.next(), !0) : !1;
1510
- };
1511
- w.isContextual = function(e) {
1512
- return this.type === a.name && this.value === e && !this.containsEsc;
1513
- };
1514
- w.eatContextual = function(e) {
1515
- return this.isContextual(e) ? (this.next(), !0) : !1;
1516
- };
1517
- w.expectContextual = function(e) {
1518
- this.eatContextual(e) || this.unexpected();
1519
- };
1520
- w.canInsertSemicolon = function() {
1521
- return this.type === a.eof || this.type === a.braceR || L.test(this.input.slice(this.lastTokEnd, this.start));
1522
- };
1523
- w.insertSemicolon = function() {
1524
- if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
1525
- };
1526
- w.semicolon = function() {
1527
- !this.eat(a.semi) && !this.insertSemicolon() && this.unexpected();
1528
- };
1529
- w.afterTrailingComma = function(e, t) {
1530
- if (this.type === e) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t || this.next(), !0;
1531
- };
1532
- w.expect = function(e) {
1533
- this.eat(e) || this.unexpected();
1534
- };
1535
- w.unexpected = function(e) {
1536
- this.raise(e ?? this.start, "Unexpected token");
1537
- };
1538
- var Ce = function() {
1539
- this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
1540
- };
1541
- w.checkPatternErrors = function(e, t) {
1542
- if (e) {
1543
- e.trailingComma > -1 && this.raiseRecoverable(e.trailingComma, "Comma is not permitted after the rest element");
1544
- var i = t ? e.parenthesizedAssign : e.parenthesizedBind;
1545
- i > -1 && this.raiseRecoverable(i, t ? "Assigning to rvalue" : "Parenthesized pattern");
1546
- }
1547
- };
1548
- w.checkExpressionErrors = function(e, t) {
1549
- if (!e) return !1;
1550
- var i = e.shorthandAssign, s = e.doubleProto;
1551
- if (!t) return i >= 0 || s >= 0;
1552
- i >= 0 && this.raise(i, "Shorthand property assignments are valid only in destructuring patterns"), s >= 0 && this.raiseRecoverable(s, "Redefinition of __proto__ property");
1553
- };
1554
- w.checkYieldAwaitInDefaultParams = function() {
1555
- this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
1556
- };
1557
- w.isSimpleAssignTarget = function(e) {
1558
- return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExpression";
1559
- };
1560
- var d = A.prototype;
1561
- d.parseTopLevel = function(e) {
1562
- var t = Object.create(null);
1563
- for (e.body || (e.body = []); this.type !== a.eof;) {
1564
- var i = this.parseStatement(null, !0, t);
1565
- e.body.push(i);
1566
- }
1567
- if (this.inModule) for (var s = 0, r = Object.keys(this.undefinedExports); s < r.length; s += 1) {
1568
- var o = r[s];
1569
- this.raiseRecoverable(this.undefinedExports[o].start, "Export '" + o + "' is not defined");
1570
- }
1571
- return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType, this.finishNode(e, "Program");
1572
- };
1573
- var ze = { kind: "loop" }, Qi = { kind: "switch" };
1574
- d.isLet = function(e) {
1575
- if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
1576
- k.lastIndex = this.pos;
1577
- var t = k.exec(this.input), i = this.pos + t[0].length, s = this.input.charCodeAt(i);
1578
- if (s === 91 || s === 92) return !0;
1579
- if (e) return !1;
1580
- if (s === 123 || s > 55295 && s < 56320) return !0;
1581
- if (j(s, !0)) {
1582
- for (var r = i + 1; X(s = this.input.charCodeAt(r), !0);) ++r;
1583
- if (s === 92 || s > 55295 && s < 56320) return !0;
1584
- var o = this.input.slice(i, r);
1585
- if (!ji.test(o)) return !0;
1586
- }
1587
- return !1;
1588
- };
1589
- d.isAsyncFunction = function() {
1590
- if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return !1;
1591
- k.lastIndex = this.pos;
1592
- var e = k.exec(this.input), t = this.pos + e[0].length, i;
1593
- return !L.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(X(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
1594
- };
1595
- d.isUsingKeyword = function(e, t) {
1596
- if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using")) return !1;
1597
- k.lastIndex = this.pos;
1598
- var i = k.exec(this.input), s = this.pos + i[0].length;
1599
- if (L.test(this.input.slice(this.pos, s))) return !1;
1600
- if (e) {
1601
- var r = s + 5, o;
1602
- if (this.input.slice(s, r) !== "using" || r === this.input.length || X(o = this.input.charCodeAt(r)) || o > 55295 && o < 56320) return !1;
1603
- k.lastIndex = r;
1604
- var u = k.exec(this.input);
1605
- if (u && L.test(this.input.slice(r, r + u[0].length))) return !1;
1606
- }
1607
- if (t) {
1608
- var p = s + 2, h;
1609
- if (this.input.slice(s, p) === "of" && (p === this.input.length || !X(h = this.input.charCodeAt(p)) && !(h > 55295 && h < 56320))) return !1;
1610
- }
1611
- var l = this.input.charCodeAt(s);
1612
- return j(l, !0) || l === 92;
1613
- };
1614
- d.isAwaitUsing = function(e) {
1615
- return this.isUsingKeyword(!0, e);
1616
- };
1617
- d.isUsing = function(e) {
1618
- return this.isUsingKeyword(!1, e);
1619
- };
1620
- d.parseStatement = function(e, t, i) {
1621
- var s = this.type, r = this.startNode(), o;
1622
- switch (this.isLet(e) && (s = a._var, o = "let"), s) {
1623
- case a._break:
1624
- case a._continue: return this.parseBreakContinueStatement(r, s.keyword);
1625
- case a._debugger: return this.parseDebuggerStatement(r);
1626
- case a._do: return this.parseDoStatement(r);
1627
- case a._for: return this.parseForStatement(r);
1628
- case a._function: return e && (this.strict || e !== "if" && e !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(r, !1, !e);
1629
- case a._class: return e && this.unexpected(), this.parseClass(r, !0);
1630
- case a._if: return this.parseIfStatement(r);
1631
- case a._return: return this.parseReturnStatement(r);
1632
- case a._switch: return this.parseSwitchStatement(r);
1633
- case a._throw: return this.parseThrowStatement(r);
1634
- case a._try: return this.parseTryStatement(r);
1635
- case a._const:
1636
- case a._var: return o = o || this.value, e && o !== "var" && this.unexpected(), this.parseVarStatement(r, o);
1637
- case a._while: return this.parseWhileStatement(r);
1638
- case a._with: return this.parseWithStatement(r);
1639
- case a.braceL: return this.parseBlock(!0, r);
1640
- case a.semi: return this.parseEmptyStatement(r);
1641
- case a._export:
1642
- case a._import:
1643
- if (this.options.ecmaVersion > 10 && s === a._import) {
1644
- k.lastIndex = this.pos;
1645
- var u = k.exec(this.input), p = this.pos + u[0].length, h = this.input.charCodeAt(p);
1646
- if (h === 40 || h === 46) return this.parseExpressionStatement(r, this.parseExpression());
1647
- }
1648
- return this.options.allowImportExportEverywhere || (t || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), s === a._import ? this.parseImport(r) : this.parseExport(r, i);
1649
- default:
1650
- if (this.isAsyncFunction()) return e && this.unexpected(), this.next(), this.parseFunctionStatement(r, !0, !e);
1651
- var l = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
1652
- if (l) return t && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), l === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(r, !1, l), this.semicolon(), this.finishNode(r, "VariableDeclaration");
1653
- var m = this.value, S = this.parseExpression();
1654
- return s === a.name && S.type === "Identifier" && this.eat(a.colon) ? this.parseLabeledStatement(r, m, S, e) : this.parseExpressionStatement(r, S);
1655
- }
1656
- };
1657
- d.parseBreakContinueStatement = function(e, t) {
1658
- var i = t === "break";
1659
- this.next(), this.eat(a.semi) || this.insertSemicolon() ? e.label = null : this.type !== a.name ? this.unexpected() : (e.label = this.parseIdent(), this.semicolon());
1660
- for (var s = 0; s < this.labels.length; ++s) {
1661
- var r = this.labels[s];
1662
- if ((e.label == null || r.name === e.label.name) && (r.kind != null && (i || r.kind === "loop") || e.label && i)) break;
1663
- }
1664
- return s === this.labels.length && this.raise(e.start, "Unsyntactic " + t), this.finishNode(e, i ? "BreakStatement" : "ContinueStatement");
1665
- };
1666
- d.parseDebuggerStatement = function(e) {
1667
- return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
1668
- };
1669
- d.parseDoStatement = function(e) {
1670
- return this.next(), this.labels.push(ze), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(a._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(a.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
1671
- };
1672
- d.parseForStatement = function(e) {
1673
- this.next();
1674
- var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
1675
- if (this.labels.push(ze), this.enterScope(0), this.expect(a.parenL), this.type === a.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
1676
- var i = this.isLet();
1677
- if (this.type === a._var || this.type === a._const || i) {
1678
- var s = this.startNode(), r = i ? "let" : this.value;
1679
- return this.next(), this.parseVar(s, !0, r), this.finishNode(s, "VariableDeclaration"), this.parseForAfterInit(e, s, t);
1680
- }
1681
- var o = this.isContextual("let"), u = !1, p = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
1682
- if (p) {
1683
- var h = this.startNode();
1684
- return this.next(), p === "await using" && this.next(), this.parseVar(h, !0, p), this.finishNode(h, "VariableDeclaration"), this.parseForAfterInit(e, h, t);
1685
- }
1686
- var l = this.containsEsc, m = new Ce(), S = this.start, E = t > -1 ? this.parseExprSubscripts(m, "await") : this.parseExpression(!0, m);
1687
- return this.type === a._in || (u = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === a._in && this.unexpected(t), e.await = !0) : u && this.options.ecmaVersion >= 8 && (E.start === S && !l && E.type === "Identifier" && E.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), o && u && this.raise(E.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(E, !1, m), this.checkLValPattern(E), this.parseForIn(e, E)) : (this.checkExpressionErrors(m, !0), t > -1 && this.unexpected(t), this.parseFor(e, E));
1688
- };
1689
- d.parseForAfterInit = function(e, t, i) {
1690
- return (this.type === a._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === a._in ? i > -1 && this.unexpected(i) : e.await = i > -1), this.parseForIn(e, t)) : (i > -1 && this.unexpected(i), this.parseFor(e, t));
1691
- };
1692
- d.parseFunctionStatement = function(e, t, i) {
1693
- return this.next(), this.parseFunction(e, ae | (i ? 0 : Ge), !1, t);
1694
- };
1695
- d.parseIfStatement = function(e) {
1696
- return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(a._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
1697
- };
1698
- d.parseReturnStatement = function(e) {
1699
- return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(a.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
1700
- };
1701
- d.parseSwitchStatement = function(e) {
1702
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(a.braceL), this.labels.push(Qi), this.enterScope(0);
1703
- for (var t, i = !1; this.type !== a.braceR;) if (this.type === a._case || this.type === a._default) {
1704
- var s = this.type === a._case;
1705
- t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), s ? t.test = this.parseExpression() : (i && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i = !0, t.test = null), this.expect(a.colon);
1706
- } else t || this.unexpected(), t.consequent.push(this.parseStatement(null));
1707
- return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement");
1708
- };
1709
- d.parseThrowStatement = function(e) {
1710
- return this.next(), L.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e.argument = this.parseExpression(), this.semicolon(), this.finishNode(e, "ThrowStatement");
1711
- };
1712
- var Yi = [];
1713
- d.parseCatchClauseParam = function() {
1714
- var e = this.parseBindingAtom(), t = e.type === "Identifier";
1715
- return this.enterScope(t ? St : 0), this.checkLValPattern(e, t ? Tt : K), this.expect(a.parenR), e;
1716
- };
1717
- d.parseTryStatement = function(e) {
1718
- if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === a._catch) {
1719
- var t = this.startNode();
1720
- this.next(), this.eat(a.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(!1), this.exitScope(), e.handler = this.finishNode(t, "CatchClause");
1721
- }
1722
- return e.finalizer = this.eat(a._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch or finally clause"), this.finishNode(e, "TryStatement");
1723
- };
1724
- d.parseVarStatement = function(e, t, i) {
1725
- return this.next(), this.parseVar(e, !1, t, i), this.semicolon(), this.finishNode(e, "VariableDeclaration");
1726
- };
1727
- d.parseWhileStatement = function(e) {
1728
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(ze), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
1729
- };
1730
- d.parseWithStatement = function(e) {
1731
- return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e.object = this.parseParenExpression(), e.body = this.parseStatement("with"), this.finishNode(e, "WithStatement");
1732
- };
1733
- d.parseEmptyStatement = function(e) {
1734
- return this.next(), this.finishNode(e, "EmptyStatement");
1735
- };
1736
- d.parseLabeledStatement = function(e, t, i, s) {
1737
- for (var r = 0, o = this.labels; r < o.length; r += 1) o[r].name === t && this.raise(i.start, "Label '" + t + "' is already declared");
1738
- for (var p = this.type.isLoop ? "loop" : this.type === a._switch ? "switch" : null, h = this.labels.length - 1; h >= 0; h--) {
1739
- var l = this.labels[h];
1740
- if (l.statementStart === e.start) l.statementStart = this.start, l.kind = p;
1741
- else break;
1742
- }
1743
- return this.labels.push({
1744
- name: t,
1745
- kind: p,
1746
- statementStart: this.start
1747
- }), e.body = this.parseStatement(s ? s.indexOf("label") === -1 ? s + "label" : s : "label"), this.labels.pop(), e.label = i, this.finishNode(e, "LabeledStatement");
1748
- };
1749
- d.parseExpressionStatement = function(e, t) {
1750
- return e.expression = t, this.semicolon(), this.finishNode(e, "ExpressionStatement");
1751
- };
1752
- d.parseBlock = function(e, t, i) {
1753
- for (e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), t.body = [], this.expect(a.braceL), e && this.enterScope(0); this.type !== a.braceR;) {
1754
- var s = this.parseStatement(null);
1755
- t.body.push(s);
1756
- }
1757
- return i && (this.strict = !1), this.next(), e && this.exitScope(), this.finishNode(t, "BlockStatement");
1758
- };
1759
- d.parseFor = function(e, t) {
1760
- return e.init = t, this.expect(a.semi), e.test = this.type === a.semi ? null : this.parseExpression(), this.expect(a.semi), e.update = this.type === a.parenR ? null : this.parseExpression(), this.expect(a.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, "ForStatement");
1761
- };
1762
- d.parseForIn = function(e, t) {
1763
- var i = this.type === a._in;
1764
- return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!i || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise(t.start, (i ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e.left = t, e.right = i ? this.parseExpression() : this.parseMaybeAssign(), this.expect(a.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, i ? "ForInStatement" : "ForOfStatement");
1765
- };
1766
- d.parseVar = function(e, t, i, s) {
1767
- for (e.declarations = [], e.kind = i;;) {
1768
- var r = this.startNode();
1769
- if (this.parseVarId(r, i), this.eat(a.eq) ? r.init = this.parseMaybeAssign(t) : !s && i === "const" && !(this.type === a._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !s && (i === "using" || i === "await using") && this.options.ecmaVersion >= 17 && this.type !== a._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + i + " declaration") : !s && r.id.type !== "Identifier" && !(t && (this.type === a._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : r.init = null, e.declarations.push(this.finishNode(r, "VariableDeclarator")), !this.eat(a.comma)) break;
1770
- }
1771
- return e;
1772
- };
1773
- d.parseVarId = function(e, t) {
1774
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? We : K, !1);
1775
- };
1776
- var ae = 1, Ge = 2, At = 4;
1777
- d.parseFunction = function(e, t, i, s, r) {
1778
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s) && (this.type === a.star && t & Ge && this.unexpected(), e.generator = this.eat(a.star)), this.options.ecmaVersion >= 8 && (e.async = !!s), t & ae && (e.id = t & At && this.type !== a.name ? null : this.parseIdent(), e.id && !(t & Ge) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? We : K : Ct));
1779
- var o = this.yieldPos, u = this.awaitPos, p = this.awaitIdentPos;
1780
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Xe(e.async, e.generator)), t & ae || (e.id = this.type === a.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, i, !1, r), this.yieldPos = o, this.awaitPos = u, this.awaitIdentPos = p, this.finishNode(e, t & ae ? "FunctionDeclaration" : "FunctionExpression");
1781
- };
1782
- d.parseFunctionParams = function(e) {
1783
- this.expect(a.parenL), e.params = this.parseBindingList(a.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
1784
- };
1785
- d.parseClass = function(e, t) {
1786
- this.next();
1787
- var i = this.strict;
1788
- this.strict = !0, this.parseClassId(e, t), this.parseClassSuper(e);
1789
- var s = this.enterClassBody(), r = this.startNode(), o = !1;
1790
- for (r.body = [], this.expect(a.braceL); this.type !== a.braceR;) {
1791
- var u = this.parseClassElement(e.superClass !== null);
1792
- u && (r.body.push(u), u.type === "MethodDefinition" && u.kind === "constructor" ? (o && this.raiseRecoverable(u.start, "Duplicate constructor in the same class"), o = !0) : u.key && u.key.type === "PrivateIdentifier" && $i(s, u) && this.raiseRecoverable(u.key.start, "Identifier '#" + u.key.name + "' has already been declared"));
1793
- }
1794
- return this.strict = i, this.next(), e.body = this.finishNode(r, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
1795
- };
1796
- d.parseClassElement = function(e) {
1797
- if (this.eat(a.semi)) return null;
1798
- var t = this.options.ecmaVersion, i = this.startNode(), s = "", r = !1, o = !1, u = "method", p = !1;
1799
- if (this.eatContextual("static")) {
1800
- if (t >= 13 && this.eat(a.braceL)) return this.parseClassStaticBlock(i), i;
1801
- this.isClassElementNameStart() || this.type === a.star ? p = !0 : s = "static";
1802
- }
1803
- if (i.static = p, !s && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === a.star) && !this.canInsertSemicolon() ? o = !0 : s = "async"), !s && (t >= 9 || !o) && this.eat(a.star) && (r = !0), !s && !o && !r) {
1804
- var h = this.value;
1805
- (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? u = h : s = h);
1806
- }
1807
- if (s ? (i.computed = !1, i.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), i.key.name = s, this.finishNode(i.key, "Identifier")) : this.parseClassElementName(i), t < 13 || this.type === a.parenL || u !== "method" || r || o) {
1808
- var l = !i.static && ye(i, "constructor"), m = l && e;
1809
- l && u !== "method" && this.raise(i.key.start, "Constructor can't have get/set modifier"), i.kind = l ? "constructor" : u, this.parseClassMethod(i, r, o, m);
1810
- } else this.parseClassField(i);
1811
- return i;
1812
- };
1813
- d.isClassElementNameStart = function() {
1814
- return this.type === a.name || this.type === a.privateId || this.type === a.num || this.type === a.string || this.type === a.bracketL || this.type.keyword;
1815
- };
1816
- d.parseClassElementName = function(e) {
1817
- this.type === a.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
1818
- };
1819
- d.parseClassMethod = function(e, t, i, s) {
1820
- var r = e.key;
1821
- e.kind === "constructor" ? (t && this.raise(r.start, "Constructor can't be a generator"), i && this.raise(r.start, "Constructor can't be an async method")) : e.static && ye(e, "prototype") && this.raise(r.start, "Classes may not have a static property named prototype");
1822
- var o = e.value = this.parseMethod(t, i, s);
1823
- return e.kind === "get" && o.params.length !== 0 && this.raiseRecoverable(o.start, "getter should have no params"), e.kind === "set" && o.params.length !== 1 && this.raiseRecoverable(o.start, "setter should have exactly one param"), e.kind === "set" && o.params[0].type === "RestElement" && this.raiseRecoverable(o.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
1824
- };
1825
- d.parseClassField = function(e) {
1826
- return ye(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && ye(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(a.eq) ? (this.enterScope(ue | Se), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1827
- };
1828
- d.parseClassStaticBlock = function(e) {
1829
- e.body = [];
1830
- var t = this.labels;
1831
- for (this.labels = [], this.enterScope(z | Se); this.type !== a.braceR;) {
1832
- var i = this.parseStatement(null);
1833
- e.body.push(i);
1834
- }
1835
- return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
1836
- };
1837
- d.parseClassId = function(e, t) {
1838
- this.type === a.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, K, !1)) : (t === !0 && this.unexpected(), e.id = null);
1839
- };
1840
- d.parseClassSuper = function(e) {
1841
- e.superClass = this.eat(a._extends) ? this.parseExprSubscripts(null, !1) : null;
1842
- };
1843
- d.enterClassBody = function() {
1844
- var e = {
1845
- declared: Object.create(null),
1846
- used: []
1847
- };
1848
- return this.privateNameStack.push(e), e.declared;
1849
- };
1850
- d.exitClassBody = function() {
1851
- var e = this.privateNameStack.pop(), t = e.declared, i = e.used;
1852
- if (this.options.checkPrivateFields) for (var s = this.privateNameStack.length, r = s === 0 ? null : this.privateNameStack[s - 1], o = 0; o < i.length; ++o) {
1853
- var u = i[o];
1854
- $(t, u.name) || (r ? r.used.push(u) : this.raiseRecoverable(u.start, "Private field '#" + u.name + "' must be declared in an enclosing class"));
1855
- }
1856
- };
1857
- function $i(e, t) {
1858
- var i = t.key.name, s = e[i], r = "true";
1859
- return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (r = (t.static ? "s" : "i") + t.kind), s === "iget" && r === "iset" || s === "iset" && r === "iget" || s === "sget" && r === "sset" || s === "sset" && r === "sget" ? (e[i] = "true", !1) : s ? !0 : (e[i] = r, !1);
1860
- }
1861
- function ye(e, t) {
1862
- var i = e.computed, s = e.key;
1863
- return !i && (s.type === "Identifier" && s.name === t || s.type === "Literal" && s.value === t);
1864
- }
1865
- d.parseExportAllDeclaration = function(e, t) {
1866
- return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e.exported = this.parseModuleExportName(), this.checkExport(t, e.exported, this.lastTokStart)) : e.exported = null), this.expectContextual("from"), this.type !== a.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
1867
- };
1868
- d.parseExport = function(e, t) {
1869
- if (this.next(), this.eat(a.star)) return this.parseExportAllDeclaration(e, t);
1870
- if (this.eat(a._default)) return this.checkExport(t, "default", this.lastTokStart), e.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e, "ExportDefaultDeclaration");
1871
- if (this.shouldParseExportStatement()) e.declaration = this.parseExportDeclaration(e), e.declaration.type === "VariableDeclaration" ? this.checkVariableExport(t, e.declaration.declarations) : this.checkExport(t, e.declaration.id, e.declaration.id.start), e.specifiers = [], e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []);
1872
- else {
1873
- if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== a.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause());
1874
- else {
1875
- for (var i = 0, s = e.specifiers; i < s.length; i += 1) {
1876
- var r = s[i];
1877
- this.checkUnreserved(r.local), this.checkLocalExport(r.local), r.local.type === "Literal" && this.raise(r.local.start, "A string literal cannot be used as an exported binding without `from`.");
1878
- }
1879
- e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []);
1880
- }
1881
- this.semicolon();
1882
- }
1883
- return this.finishNode(e, "ExportNamedDeclaration");
1884
- };
1885
- d.parseExportDeclaration = function(e) {
1886
- return this.parseStatement(null);
1887
- };
1888
- d.parseExportDefaultDeclaration = function() {
1889
- var e;
1890
- if (this.type === a._function || (e = this.isAsyncFunction())) {
1891
- var t = this.startNode();
1892
- return this.next(), e && this.next(), this.parseFunction(t, ae | At, !1, e);
1893
- } else if (this.type === a._class) {
1894
- var i = this.startNode();
1895
- return this.parseClass(i, "nullableID");
1896
- } else {
1897
- var s = this.parseMaybeAssign();
1898
- return this.semicolon(), s;
1899
- }
1900
- };
1901
- d.checkExport = function(e, t, i) {
1902
- e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), $(e, t) && this.raiseRecoverable(i, "Duplicate export '" + t + "'"), e[t] = !0);
1903
- };
1904
- d.checkPatternExport = function(e, t) {
1905
- var i = t.type;
1906
- if (i === "Identifier") this.checkExport(e, t, t.start);
1907
- else if (i === "ObjectPattern") for (var s = 0, r = t.properties; s < r.length; s += 1) {
1908
- var o = r[s];
1909
- this.checkPatternExport(e, o);
1910
- }
1911
- else if (i === "ArrayPattern") for (var u = 0, p = t.elements; u < p.length; u += 1) {
1912
- var h = p[u];
1913
- h && this.checkPatternExport(e, h);
1914
- }
1915
- else i === "Property" ? this.checkPatternExport(e, t.value) : i === "AssignmentPattern" ? this.checkPatternExport(e, t.left) : i === "RestElement" && this.checkPatternExport(e, t.argument);
1916
- };
1917
- d.checkVariableExport = function(e, t) {
1918
- if (e) for (var i = 0, s = t; i < s.length; i += 1) {
1919
- var r = s[i];
1920
- this.checkPatternExport(e, r.id);
1921
- }
1922
- };
1923
- d.shouldParseExportStatement = function() {
1924
- return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
1925
- };
1926
- d.parseExportSpecifier = function(e) {
1927
- var t = this.startNode();
1928
- return t.local = this.parseModuleExportName(), t.exported = this.eatContextual("as") ? this.parseModuleExportName() : t.local, this.checkExport(e, t.exported, t.exported.start), this.finishNode(t, "ExportSpecifier");
1929
- };
1930
- d.parseExportSpecifiers = function(e) {
1931
- var t = [], i = !0;
1932
- for (this.expect(a.braceL); !this.eat(a.braceR);) {
1933
- if (i) i = !1;
1934
- else if (this.expect(a.comma), this.afterTrailingComma(a.braceR)) break;
1935
- t.push(this.parseExportSpecifier(e));
1936
- }
1937
- return t;
1938
- };
1939
- d.parseImport = function(e) {
1940
- return this.next(), this.type === a.string ? (e.specifiers = Yi, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === a.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1941
- };
1942
- d.parseImportSpecifier = function() {
1943
- var e = this.startNode();
1944
- return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, K), this.finishNode(e, "ImportSpecifier");
1945
- };
1946
- d.parseImportDefaultSpecifier = function() {
1947
- var e = this.startNode();
1948
- return e.local = this.parseIdent(), this.checkLValSimple(e.local, K), this.finishNode(e, "ImportDefaultSpecifier");
1949
- };
1950
- d.parseImportNamespaceSpecifier = function() {
1951
- var e = this.startNode();
1952
- return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, K), this.finishNode(e, "ImportNamespaceSpecifier");
1953
- };
1954
- d.parseImportSpecifiers = function() {
1955
- var e = [], t = !0;
1956
- if (this.type === a.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(a.comma))) return e;
1957
- if (this.type === a.star) return e.push(this.parseImportNamespaceSpecifier()), e;
1958
- for (this.expect(a.braceL); !this.eat(a.braceR);) {
1959
- if (t) t = !1;
1960
- else if (this.expect(a.comma), this.afterTrailingComma(a.braceR)) break;
1961
- e.push(this.parseImportSpecifier());
1962
- }
1963
- return e;
1964
- };
1965
- d.parseWithClause = function() {
1966
- var e = [];
1967
- if (!this.eat(a._with)) return e;
1968
- this.expect(a.braceL);
1969
- for (var t = {}, i = !0; !this.eat(a.braceR);) {
1970
- if (i) i = !1;
1971
- else if (this.expect(a.comma), this.afterTrailingComma(a.braceR)) break;
1972
- var s = this.parseImportAttribute(), r = s.key.type === "Identifier" ? s.key.name : s.key.value;
1973
- $(t, r) && this.raiseRecoverable(s.key.start, "Duplicate attribute key '" + r + "'"), t[r] = !0, e.push(s);
1974
- }
1975
- return e;
1976
- };
1977
- d.parseImportAttribute = function() {
1978
- var e = this.startNode();
1979
- return e.key = this.type === a.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(a.colon), this.type !== a.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute");
1980
- };
1981
- d.parseModuleExportName = function() {
1982
- if (this.options.ecmaVersion >= 13 && this.type === a.string) {
1983
- var e = this.parseLiteral(this.value);
1984
- return Hi.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1985
- }
1986
- return this.parseIdent(!0);
1987
- };
1988
- d.adaptDirectivePrologue = function(e) {
1989
- for (var t = 0; t < e.length && this.isDirectiveCandidate(e[t]); ++t) e[t].directive = e[t].expression.raw.slice(1, -1);
1990
- };
1991
- d.isDirectiveCandidate = function(e) {
1992
- return this.options.ecmaVersion >= 5 && e.type === "ExpressionStatement" && e.expression.type === "Literal" && typeof e.expression.value == "string" && (this.input[e.start] === "\"" || this.input[e.start] === "'");
1993
- };
1994
- var D = A.prototype;
1995
- D.toAssignable = function(e, t, i) {
1996
- if (this.options.ecmaVersion >= 6 && e) switch (e.type) {
1997
- case "Identifier":
1998
- this.inAsync && e.name === "await" && this.raise(e.start, "Cannot use 'await' as identifier inside an async function");
1999
- break;
2000
- case "ObjectPattern":
2001
- case "ArrayPattern":
2002
- case "AssignmentPattern":
2003
- case "RestElement": break;
2004
- case "ObjectExpression":
2005
- e.type = "ObjectPattern", i && this.checkPatternErrors(i, !0);
2006
- for (var s = 0, r = e.properties; s < r.length; s += 1) {
2007
- var o = r[s];
2008
- this.toAssignable(o, t), o.type === "RestElement" && (o.argument.type === "ArrayPattern" || o.argument.type === "ObjectPattern") && this.raise(o.argument.start, "Unexpected token");
2009
- }
2010
- break;
2011
- case "Property":
2012
- e.kind !== "init" && this.raise(e.key.start, "Object pattern can't contain getter or setter"), this.toAssignable(e.value, t);
2013
- break;
2014
- case "ArrayExpression":
2015
- e.type = "ArrayPattern", i && this.checkPatternErrors(i, !0), this.toAssignableList(e.elements, t);
2016
- break;
2017
- case "SpreadElement":
2018
- e.type = "RestElement", this.toAssignable(e.argument, t), e.argument.type === "AssignmentPattern" && this.raise(e.argument.start, "Rest elements cannot have a default value");
2019
- break;
2020
- case "AssignmentExpression":
2021
- e.operator !== "=" && this.raise(e.left.end, "Only '=' operator can be used for specifying default value."), e.type = "AssignmentPattern", delete e.operator, this.toAssignable(e.left, t);
2022
- break;
2023
- case "ParenthesizedExpression":
2024
- this.toAssignable(e.expression, t, i);
2025
- break;
2026
- case "ChainExpression":
2027
- this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
2028
- break;
2029
- case "MemberExpression": if (!t) break;
2030
- default: this.raise(e.start, "Assigning to rvalue");
2031
- }
2032
- else i && this.checkPatternErrors(i, !0);
2033
- return e;
2034
- };
2035
- D.toAssignableList = function(e, t) {
2036
- for (var i = e.length, s = 0; s < i; s++) {
2037
- var r = e[s];
2038
- r && this.toAssignable(r, t);
2039
- }
2040
- if (i) {
2041
- var o = e[i - 1];
2042
- this.options.ecmaVersion === 6 && t && o && o.type === "RestElement" && o.argument.type !== "Identifier" && this.unexpected(o.argument.start);
2043
- }
2044
- return e;
2045
- };
2046
- D.parseSpread = function(e) {
2047
- var t = this.startNode();
2048
- return this.next(), t.argument = this.parseMaybeAssign(!1, e), this.finishNode(t, "SpreadElement");
2049
- };
2050
- D.parseRestBinding = function() {
2051
- var e = this.startNode();
2052
- return this.next(), this.options.ecmaVersion === 6 && this.type !== a.name && this.unexpected(), e.argument = this.parseBindingAtom(), this.finishNode(e, "RestElement");
2053
- };
2054
- D.parseBindingAtom = function() {
2055
- if (this.options.ecmaVersion >= 6) switch (this.type) {
2056
- case a.bracketL:
2057
- var e = this.startNode();
2058
- return this.next(), e.elements = this.parseBindingList(a.bracketR, !0, !0), this.finishNode(e, "ArrayPattern");
2059
- case a.braceL: return this.parseObj(!0);
2060
- }
2061
- return this.parseIdent();
2062
- };
2063
- D.parseBindingList = function(e, t, i, s) {
2064
- for (var r = [], o = !0; !this.eat(e);) if (o ? o = !1 : this.expect(a.comma), t && this.type === a.comma) r.push(null);
2065
- else {
2066
- if (i && this.afterTrailingComma(e)) break;
2067
- if (this.type === a.ellipsis) {
2068
- var u = this.parseRestBinding();
2069
- this.parseBindingListItem(u), r.push(u), this.type === a.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(e);
2070
- break;
2071
- } else r.push(this.parseAssignableListItem(s));
2072
- }
2073
- return r;
2074
- };
2075
- D.parseAssignableListItem = function(e) {
2076
- var t = this.parseMaybeDefault(this.start, this.startLoc);
2077
- return this.parseBindingListItem(t), t;
2078
- };
2079
- D.parseBindingListItem = function(e) {
2080
- return e;
2081
- };
2082
- D.parseMaybeDefault = function(e, t, i) {
2083
- if (i = i || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(a.eq)) return i;
2084
- var s = this.startNodeAt(e, t);
2085
- return s.left = i, s.right = this.parseMaybeAssign(), this.finishNode(s, "AssignmentPattern");
2086
- };
2087
- D.checkLValSimple = function(e, t, i) {
2088
- t === void 0 && (t = xe);
2089
- var s = t !== xe;
2090
- switch (e.type) {
2091
- case "Identifier":
2092
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (s ? "Binding " : "Assigning to ") + e.name + " in strict mode"), s && (t === K && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && ($(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== Et && this.declareName(e.name, t, e.start));
2093
- break;
2094
- case "ChainExpression":
2095
- this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
2096
- break;
2097
- case "MemberExpression":
2098
- s && this.raiseRecoverable(e.start, "Binding member expression");
2099
- break;
2100
- case "ParenthesizedExpression": return s && this.raiseRecoverable(e.start, "Binding parenthesized expression"), this.checkLValSimple(e.expression, t, i);
2101
- default: this.raise(e.start, (s ? "Binding" : "Assigning to") + " rvalue");
2102
- }
2103
- };
2104
- D.checkLValPattern = function(e, t, i) {
2105
- switch (t === void 0 && (t = xe), e.type) {
2106
- case "ObjectPattern":
2107
- for (var s = 0, r = e.properties; s < r.length; s += 1) {
2108
- var o = r[s];
2109
- this.checkLValInnerPattern(o, t, i);
2110
- }
2111
- break;
2112
- case "ArrayPattern":
2113
- for (var u = 0, p = e.elements; u < p.length; u += 1) {
2114
- var h = p[u];
2115
- h && this.checkLValInnerPattern(h, t, i);
2116
- }
2117
- break;
2118
- default: this.checkLValSimple(e, t, i);
2119
- }
2120
- };
2121
- D.checkLValInnerPattern = function(e, t, i) {
2122
- switch (t === void 0 && (t = xe), e.type) {
2123
- case "Property":
2124
- this.checkLValInnerPattern(e.value, t, i);
2125
- break;
2126
- case "AssignmentPattern":
2127
- this.checkLValPattern(e.left, t, i);
2128
- break;
2129
- case "RestElement":
2130
- this.checkLValPattern(e.argument, t, i);
2131
- break;
2132
- default: this.checkLValPattern(e, t, i);
2133
- }
2134
- };
2135
- var F = function(t, i, s, r, o) {
2136
- this.token = t, this.isExpr = !!i, this.preserveSpace = !!s, this.override = r, this.generator = !!o;
2137
- }, T = {
2138
- b_stat: new F("{", !1),
2139
- b_expr: new F("{", !0),
2140
- b_tmpl: new F("${", !1),
2141
- p_stat: new F("(", !1),
2142
- p_expr: new F("(", !0),
2143
- q_tmpl: new F("`", !0, !0, function(e) {
2144
- return e.tryReadTemplateToken();
2145
- }),
2146
- f_stat: new F("function", !1),
2147
- f_expr: new F("function", !0),
2148
- f_expr_gen: new F("function", !0, !1, null, !0),
2149
- f_gen: new F("function", !1, !1, null, !0)
2150
- }, ee = A.prototype;
2151
- ee.initialContext = function() {
2152
- return [T.b_stat];
2153
- };
2154
- ee.curContext = function() {
2155
- return this.context[this.context.length - 1];
2156
- };
2157
- ee.braceIsBlock = function(e) {
2158
- var t = this.curContext();
2159
- return t === T.f_expr || t === T.f_stat ? !0 : e === a.colon && (t === T.b_stat || t === T.b_expr) ? !t.isExpr : e === a._return || e === a.name && this.exprAllowed ? L.test(this.input.slice(this.lastTokEnd, this.start)) : e === a._else || e === a.semi || e === a.eof || e === a.parenR || e === a.arrow ? !0 : e === a.braceL ? t === T.b_stat : e === a._var || e === a._const || e === a.name ? !1 : !this.exprAllowed;
2160
- };
2161
- ee.inGeneratorContext = function() {
2162
- for (var e = this.context.length - 1; e >= 1; e--) {
2163
- var t = this.context[e];
2164
- if (t.token === "function") return t.generator;
2165
- }
2166
- return !1;
2167
- };
2168
- ee.updateContext = function(e) {
2169
- var t, i = this.type;
2170
- i.keyword && e === a.dot ? this.exprAllowed = !1 : (t = i.updateContext) ? t.call(this, e) : this.exprAllowed = i.beforeExpr;
2171
- };
2172
- ee.overrideContext = function(e) {
2173
- this.curContext() !== e && (this.context[this.context.length - 1] = e);
2174
- };
2175
- a.parenR.updateContext = a.braceR.updateContext = function() {
2176
- if (this.context.length === 1) {
2177
- this.exprAllowed = !0;
2178
- return;
2179
- }
2180
- var e = this.context.pop();
2181
- e === T.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
2182
- };
2183
- a.braceL.updateContext = function(e) {
2184
- this.context.push(this.braceIsBlock(e) ? T.b_stat : T.b_expr), this.exprAllowed = !0;
2185
- };
2186
- a.dollarBraceL.updateContext = function() {
2187
- this.context.push(T.b_tmpl), this.exprAllowed = !0;
2188
- };
2189
- a.parenL.updateContext = function(e) {
2190
- var t = e === a._if || e === a._for || e === a._with || e === a._while;
2191
- this.context.push(t ? T.p_stat : T.p_expr), this.exprAllowed = !0;
2192
- };
2193
- a.incDec.updateContext = function() {};
2194
- a._function.updateContext = a._class.updateContext = function(e) {
2195
- e.beforeExpr && e !== a._else && !(e === a.semi && this.curContext() !== T.p_stat) && !(e === a._return && L.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === a.colon || e === a.braceL) && this.curContext() === T.b_stat) ? this.context.push(T.f_expr) : this.context.push(T.f_stat), this.exprAllowed = !1;
2196
- };
2197
- a.colon.updateContext = function() {
2198
- this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
2199
- };
2200
- a.backQuote.updateContext = function() {
2201
- this.curContext() === T.q_tmpl ? this.context.pop() : this.context.push(T.q_tmpl), this.exprAllowed = !1;
2202
- };
2203
- a.star.updateContext = function(e) {
2204
- if (e === a._function) {
2205
- var t = this.context.length - 1;
2206
- this.context[t] === T.f_expr ? this.context[t] = T.f_expr_gen : this.context[t] = T.f_gen;
2207
- }
2208
- this.exprAllowed = !0;
2209
- };
2210
- a.name.updateContext = function(e) {
2211
- var t = !1;
2212
- this.options.ecmaVersion >= 6 && e !== a.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (t = !0), this.exprAllowed = t;
2213
- };
2214
- var g = A.prototype;
2215
- g.checkPropClash = function(e, t, i) {
2216
- if (!(this.options.ecmaVersion >= 9 && e.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (e.computed || e.method || e.shorthand))) {
2217
- var s = e.key, r;
2218
- switch (s.type) {
2219
- case "Identifier":
2220
- r = s.name;
2221
- break;
2222
- case "Literal":
2223
- r = String(s.value);
2224
- break;
2225
- default: return;
2226
- }
2227
- var o = e.kind;
2228
- if (this.options.ecmaVersion >= 6) {
2229
- r === "__proto__" && o === "init" && (t.proto && (i ? i.doubleProto < 0 && (i.doubleProto = s.start) : this.raiseRecoverable(s.start, "Redefinition of __proto__ property")), t.proto = !0);
2230
- return;
2231
- }
2232
- r = "$" + r;
2233
- var u = t[r];
2234
- if (u) {
2235
- var p;
2236
- o === "init" ? p = this.strict && u.init || u.get || u.set : p = u.init || u[o], p && this.raiseRecoverable(s.start, "Redefinition of property");
2237
- } else u = t[r] = {
2238
- init: !1,
2239
- get: !1,
2240
- set: !1
2241
- };
2242
- u[o] = !0;
2243
- }
2244
- };
2245
- g.parseExpression = function(e, t) {
2246
- var i = this.start, s = this.startLoc, r = this.parseMaybeAssign(e, t);
2247
- if (this.type === a.comma) {
2248
- var o = this.startNodeAt(i, s);
2249
- for (o.expressions = [r]; this.eat(a.comma);) o.expressions.push(this.parseMaybeAssign(e, t));
2250
- return this.finishNode(o, "SequenceExpression");
2251
- }
2252
- return r;
2253
- };
2254
- g.parseMaybeAssign = function(e, t, i) {
2255
- if (this.isContextual("yield")) {
2256
- if (this.inGenerator) return this.parseYield(e);
2257
- this.exprAllowed = !1;
2258
- }
2259
- var s = !1, r = -1, o = -1, u = -1;
2260
- t ? (r = t.parenthesizedAssign, o = t.trailingComma, u = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Ce(), s = !0);
2261
- var p = this.start, h = this.startLoc;
2262
- (this.type === a.parenL || this.type === a.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2263
- var l = this.parseMaybeConditional(e, t);
2264
- if (i && (l = i.call(this, l, p, h)), this.type.isAssign) {
2265
- var m = this.startNodeAt(p, h);
2266
- return m.operator = this.value, this.type === a.eq && (l = this.toAssignable(l, !1, t)), s || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= l.start && (t.shorthandAssign = -1), this.type === a.eq ? this.checkLValPattern(l) : this.checkLValSimple(l), m.left = l, this.next(), m.right = this.parseMaybeAssign(e), u > -1 && (t.doubleProto = u), this.finishNode(m, "AssignmentExpression");
2267
- } else s && this.checkExpressionErrors(t, !0);
2268
- return r > -1 && (t.parenthesizedAssign = r), o > -1 && (t.trailingComma = o), l;
2269
- };
2270
- g.parseMaybeConditional = function(e, t) {
2271
- var i = this.start, s = this.startLoc, r = this.parseExprOps(e, t);
2272
- if (this.checkExpressionErrors(t)) return r;
2273
- if (this.eat(a.question)) {
2274
- var o = this.startNodeAt(i, s);
2275
- return o.test = r, o.consequent = this.parseMaybeAssign(), this.expect(a.colon), o.alternate = this.parseMaybeAssign(e), this.finishNode(o, "ConditionalExpression");
2276
- }
2277
- return r;
2278
- };
2279
- g.parseExprOps = function(e, t) {
2280
- var i = this.start, s = this.startLoc, r = this.parseMaybeUnary(t, !1, !1, e);
2281
- return this.checkExpressionErrors(t) || r.start === i && r.type === "ArrowFunctionExpression" ? r : this.parseExprOp(r, i, s, -1, e);
2282
- };
2283
- g.parseExprOp = function(e, t, i, s, r) {
2284
- var o = this.type.binop;
2285
- if (o != null && (!r || this.type !== a._in) && o > s) {
2286
- var u = this.type === a.logicalOR || this.type === a.logicalAND, p = this.type === a.coalesce;
2287
- p && (o = a.logicalAND.binop);
2288
- var h = this.value;
2289
- this.next();
2290
- var l = this.start, m = this.startLoc, S = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, r), l, m, o, r), E = this.buildBinary(t, i, e, S, h, u || p);
2291
- return (u && this.type === a.coalesce || p && (this.type === a.logicalOR || this.type === a.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(E, t, i, s, r);
2292
- }
2293
- return e;
2294
- };
2295
- g.buildBinary = function(e, t, i, s, r, o) {
2296
- s.type === "PrivateIdentifier" && this.raise(s.start, "Private identifier can only be left side of binary expression");
2297
- var u = this.startNodeAt(e, t);
2298
- return u.left = i, u.operator = r, u.right = s, this.finishNode(u, o ? "LogicalExpression" : "BinaryExpression");
2299
- };
2300
- g.parseMaybeUnary = function(e, t, i, s) {
2301
- var r = this.start, o = this.startLoc, u;
2302
- if (this.isContextual("await") && this.canAwait) u = this.parseAwait(s), t = !0;
2303
- else if (this.type.prefix) {
2304
- var p = this.startNode(), h = this.type === a.incDec;
2305
- p.operator = this.value, p.prefix = !0, this.next(), p.argument = this.parseMaybeUnary(null, !0, h, s), this.checkExpressionErrors(e, !0), h ? this.checkLValSimple(p.argument) : this.strict && p.operator === "delete" && kt(p.argument) ? this.raiseRecoverable(p.start, "Deleting local variable in strict mode") : p.operator === "delete" && qe(p.argument) ? this.raiseRecoverable(p.start, "Private fields can not be deleted") : t = !0, u = this.finishNode(p, h ? "UpdateExpression" : "UnaryExpression");
2306
- } else if (!t && this.type === a.privateId) (s || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), u = this.parsePrivateIdent(), this.type !== a._in && this.unexpected();
2307
- else {
2308
- if (u = this.parseExprSubscripts(e, s), this.checkExpressionErrors(e)) return u;
2309
- for (; this.type.postfix && !this.canInsertSemicolon();) {
2310
- var l = this.startNodeAt(r, o);
2311
- l.operator = this.value, l.prefix = !1, l.argument = u, this.checkLValSimple(u), this.next(), u = this.finishNode(l, "UpdateExpression");
2312
- }
2313
- }
2314
- if (!i && this.eat(a.starstar)) if (t) this.unexpected(this.lastTokStart);
2315
- else return this.buildBinary(r, o, u, this.parseMaybeUnary(null, !1, !1, s), "**", !1);
2316
- else return u;
2317
- };
2318
- function kt(e) {
2319
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && kt(e.expression);
2320
- }
2321
- function qe(e) {
2322
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && qe(e.expression) || e.type === "ParenthesizedExpression" && qe(e.expression);
2323
- }
2324
- g.parseExprSubscripts = function(e, t) {
2325
- var i = this.start, s = this.startLoc, r = this.parseExprAtom(e, t);
2326
- if (r.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")") return r;
2327
- var o = this.parseSubscripts(r, i, s, !1, t);
2328
- return e && o.type === "MemberExpression" && (e.parenthesizedAssign >= o.start && (e.parenthesizedAssign = -1), e.parenthesizedBind >= o.start && (e.parenthesizedBind = -1), e.trailingComma >= o.start && (e.trailingComma = -1)), o;
2329
- };
2330
- g.parseSubscripts = function(e, t, i, s, r) {
2331
- for (var o = this.options.ecmaVersion >= 8 && e.type === "Identifier" && e.name === "async" && this.lastTokEnd === e.end && !this.canInsertSemicolon() && e.end - e.start === 5 && this.potentialArrowAt === e.start, u = !1;;) {
2332
- var p = this.parseSubscript(e, t, i, s, o, u, r);
2333
- if (p.optional && (u = !0), p === e || p.type === "ArrowFunctionExpression") {
2334
- if (u) {
2335
- var h = this.startNodeAt(t, i);
2336
- h.expression = p, p = this.finishNode(h, "ChainExpression");
2337
- }
2338
- return p;
2339
- }
2340
- e = p;
2341
- }
2342
- };
2343
- g.shouldParseAsyncArrow = function() {
2344
- return !this.canInsertSemicolon() && this.eat(a.arrow);
2345
- };
2346
- g.parseSubscriptAsyncArrow = function(e, t, i, s) {
2347
- return this.parseArrowExpression(this.startNodeAt(e, t), i, !0, s);
2348
- };
2349
- g.parseSubscript = function(e, t, i, s, r, o, u) {
2350
- var p = this.options.ecmaVersion >= 11, h = p && this.eat(a.questionDot);
2351
- s && h && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
2352
- var l = this.eat(a.bracketL);
2353
- if (l || h && this.type !== a.parenL && this.type !== a.backQuote || this.eat(a.dot)) {
2354
- var m = this.startNodeAt(t, i);
2355
- m.object = e, l ? (m.property = this.parseExpression(), this.expect(a.bracketR)) : this.type === a.privateId && e.type !== "Super" ? m.property = this.parsePrivateIdent() : m.property = this.parseIdent(this.options.allowReserved !== "never"), m.computed = !!l, p && (m.optional = h), e = this.finishNode(m, "MemberExpression");
2356
- } else if (!s && this.eat(a.parenL)) {
2357
- var S = new Ce(), E = this.yieldPos, c = this.awaitPos, x = this.awaitIdentPos;
2358
- this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2359
- var y = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, !1, S);
2360
- if (r && !h && this.shouldParseAsyncArrow()) return this.checkPatternErrors(S, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = E, this.awaitPos = c, this.awaitIdentPos = x, this.parseSubscriptAsyncArrow(t, i, y, u);
2361
- this.checkExpressionErrors(S, !0), this.yieldPos = E || this.yieldPos, this.awaitPos = c || this.awaitPos, this.awaitIdentPos = x || this.awaitIdentPos;
2362
- var v = this.startNodeAt(t, i);
2363
- v.callee = e, v.arguments = y, p && (v.optional = h), e = this.finishNode(v, "CallExpression");
2364
- } else if (this.type === a.backQuote) {
2365
- (h || o) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
2366
- var I = this.startNodeAt(t, i);
2367
- I.tag = e, I.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(I, "TaggedTemplateExpression");
2368
- }
2369
- return e;
2370
- };
2371
- g.parseExprAtom = function(e, t, i) {
2372
- this.type === a.slash && this.readRegexp();
2373
- var s, r = this.potentialArrowAt === this.start;
2374
- switch (this.type) {
2375
- case a._super: return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), s = this.startNode(), this.next(), this.type === a.parenL && !this.allowDirectSuper && this.raise(s.start, "super() call outside constructor of a subclass"), this.type !== a.dot && this.type !== a.bracketL && this.type !== a.parenL && this.unexpected(), this.finishNode(s, "Super");
2376
- case a._this: return s = this.startNode(), this.next(), this.finishNode(s, "ThisExpression");
2377
- case a.name:
2378
- var o = this.start, u = this.startLoc, p = this.containsEsc, h = this.parseIdent(!1);
2379
- if (this.options.ecmaVersion >= 8 && !p && h.name === "async" && !this.canInsertSemicolon() && this.eat(a._function)) return this.overrideContext(T.f_expr), this.parseFunction(this.startNodeAt(o, u), 0, !1, !0, t);
2380
- if (r && !this.canInsertSemicolon()) {
2381
- if (this.eat(a.arrow)) return this.parseArrowExpression(this.startNodeAt(o, u), [h], !1, t);
2382
- if (this.options.ecmaVersion >= 8 && h.name === "async" && this.type === a.name && !p && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return h = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(a.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(o, u), [h], !0, t);
2383
- }
2384
- return h;
2385
- case a.regexp:
2386
- var l = this.value;
2387
- return s = this.parseLiteral(l.value), s.regex = {
2388
- pattern: l.pattern,
2389
- flags: l.flags
2390
- }, s;
2391
- case a.num:
2392
- case a.string: return this.parseLiteral(this.value);
2393
- case a._null:
2394
- case a._true:
2395
- case a._false: return s = this.startNode(), s.value = this.type === a._null ? null : this.type === a._true, s.raw = this.type.keyword, this.next(), this.finishNode(s, "Literal");
2396
- case a.parenL:
2397
- var m = this.start, S = this.parseParenAndDistinguishExpression(r, t);
2398
- return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(S) && (e.parenthesizedAssign = m), e.parenthesizedBind < 0 && (e.parenthesizedBind = m)), S;
2399
- case a.bracketL: return s = this.startNode(), this.next(), s.elements = this.parseExprList(a.bracketR, !0, !0, e), this.finishNode(s, "ArrayExpression");
2400
- case a.braceL: return this.overrideContext(T.b_expr), this.parseObj(!1, e);
2401
- case a._function: return s = this.startNode(), this.next(), this.parseFunction(s, 0);
2402
- case a._class: return this.parseClass(this.startNode(), !1);
2403
- case a._new: return this.parseNew();
2404
- case a.backQuote: return this.parseTemplate();
2405
- case a._import: return this.options.ecmaVersion >= 11 ? this.parseExprImport(i) : this.unexpected();
2406
- default: return this.parseExprAtomDefault();
2407
- }
2408
- };
2409
- g.parseExprAtomDefault = function() {
2410
- this.unexpected();
2411
- };
2412
- g.parseExprImport = function(e) {
2413
- var t = this.startNode();
2414
- if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === a.parenL && !e) return this.parseDynamicImport(t);
2415
- if (this.type === a.dot) {
2416
- var i = this.startNodeAt(t.start, t.loc && t.loc.start);
2417
- return i.name = "import", t.meta = this.finishNode(i, "Identifier"), this.parseImportMeta(t);
2418
- } else this.unexpected();
2419
- };
2420
- g.parseDynamicImport = function(e) {
2421
- if (this.next(), e.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(a.parenR) ? e.options = null : (this.expect(a.comma), this.afterTrailingComma(a.parenR) ? e.options = null : (e.options = this.parseMaybeAssign(), this.eat(a.parenR) || (this.expect(a.comma), this.afterTrailingComma(a.parenR) || this.unexpected())));
2422
- else if (!this.eat(a.parenR)) {
2423
- var t = this.start;
2424
- this.eat(a.comma) && this.eat(a.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
2425
- }
2426
- return this.finishNode(e, "ImportExpression");
2427
- };
2428
- g.parseImportMeta = function(e) {
2429
- this.next();
2430
- var t = this.containsEsc;
2431
- return e.property = this.parseIdent(!0), e.property.name !== "meta" && this.raiseRecoverable(e.property.start, "The only valid meta property for import is 'import.meta'"), t && this.raiseRecoverable(e.start, "'import.meta' must not contain escaped characters"), this.options.sourceType !== "module" && !this.options.allowImportExportEverywhere && this.raiseRecoverable(e.start, "Cannot use 'import.meta' outside a module"), this.finishNode(e, "MetaProperty");
2432
- };
2433
- g.parseLiteral = function(e) {
2434
- var t = this.startNode();
2435
- return t.value = e, t.raw = this.input.slice(this.start, this.end), t.raw.charCodeAt(t.raw.length - 1) === 110 && (t.bigint = t.value != null ? t.value.toString() : t.raw.slice(0, -1).replace(/_/g, "")), this.next(), this.finishNode(t, "Literal");
2436
- };
2437
- g.parseParenExpression = function() {
2438
- this.expect(a.parenL);
2439
- var e = this.parseExpression();
2440
- return this.expect(a.parenR), e;
2441
- };
2442
- g.shouldParseArrow = function(e) {
2443
- return !this.canInsertSemicolon();
2444
- };
2445
- g.parseParenAndDistinguishExpression = function(e, t) {
2446
- var i = this.start, s = this.startLoc, r, o = this.options.ecmaVersion >= 8;
2447
- if (this.options.ecmaVersion >= 6) {
2448
- this.next();
2449
- var u = this.start, p = this.startLoc, h = [], l = !0, m = !1, S = new Ce(), E = this.yieldPos, c = this.awaitPos, x;
2450
- for (this.yieldPos = 0, this.awaitPos = 0; this.type !== a.parenR;) if (l ? l = !1 : this.expect(a.comma), o && this.afterTrailingComma(a.parenR, !0)) {
2451
- m = !0;
2452
- break;
2453
- } else if (this.type === a.ellipsis) {
2454
- x = this.start, h.push(this.parseParenItem(this.parseRestBinding())), this.type === a.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2455
- break;
2456
- } else h.push(this.parseMaybeAssign(!1, S, this.parseParenItem));
2457
- var y = this.lastTokEnd, v = this.lastTokEndLoc;
2458
- if (this.expect(a.parenR), e && this.shouldParseArrow(h) && this.eat(a.arrow)) return this.checkPatternErrors(S, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = E, this.awaitPos = c, this.parseParenArrowList(i, s, h, t);
2459
- (!h.length || m) && this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(S, !0), this.yieldPos = E || this.yieldPos, this.awaitPos = c || this.awaitPos, h.length > 1 ? (r = this.startNodeAt(u, p), r.expressions = h, this.finishNodeAt(r, "SequenceExpression", y, v)) : r = h[0];
2460
- } else r = this.parseParenExpression();
2461
- if (this.options.preserveParens) {
2462
- var I = this.startNodeAt(i, s);
2463
- return I.expression = r, this.finishNode(I, "ParenthesizedExpression");
2464
- } else return r;
2465
- };
2466
- g.parseParenItem = function(e) {
2467
- return e;
2468
- };
2469
- g.parseParenArrowList = function(e, t, i, s) {
2470
- return this.parseArrowExpression(this.startNodeAt(e, t), i, !1, s);
2471
- };
2472
- var Zi = [];
2473
- g.parseNew = function() {
2474
- this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2475
- var e = this.startNode();
2476
- if (this.next(), this.options.ecmaVersion >= 6 && this.type === a.dot) {
2477
- var t = this.startNodeAt(e.start, e.loc && e.loc.start);
2478
- t.name = "new", e.meta = this.finishNode(t, "Identifier"), this.next();
2479
- var i = this.containsEsc;
2480
- return e.property = this.parseIdent(!0), e.property.name !== "target" && this.raiseRecoverable(e.property.start, "The only valid meta property for new is 'new.target'"), i && this.raiseRecoverable(e.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(e.start, "'new.target' can only be used in functions and class static block"), this.finishNode(e, "MetaProperty");
2481
- }
2482
- var s = this.start, r = this.startLoc;
2483
- return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), s, r, !0, !1), this.eat(a.parenL) ? e.arguments = this.parseExprList(a.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = Zi, this.finishNode(e, "NewExpression");
2484
- };
2485
- g.parseTemplateElement = function(e) {
2486
- var t = e.isTagged, i = this.startNode();
2487
- return this.type === a.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), i.value = {
2488
- raw: this.value.replace(/\r\n?/g, `
2489
- `),
2490
- cooked: null
2491
- }) : i.value = {
2492
- raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, `
2493
- `),
2494
- cooked: this.value
2495
- }, this.next(), i.tail = this.type === a.backQuote, this.finishNode(i, "TemplateElement");
2496
- };
2497
- g.parseTemplate = function(e) {
2498
- e === void 0 && (e = {});
2499
- var t = e.isTagged;
2500
- t === void 0 && (t = !1);
2501
- var i = this.startNode();
2502
- this.next(), i.expressions = [];
2503
- var s = this.parseTemplateElement({ isTagged: t });
2504
- for (i.quasis = [s]; !s.tail;) this.type === a.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(a.dollarBraceL), i.expressions.push(this.parseExpression()), this.expect(a.braceR), i.quasis.push(s = this.parseTemplateElement({ isTagged: t }));
2505
- return this.next(), this.finishNode(i, "TemplateLiteral");
2506
- };
2507
- g.isAsyncProp = function(e) {
2508
- return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === a.name || this.type === a.num || this.type === a.string || this.type === a.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === a.star) && !L.test(this.input.slice(this.lastTokEnd, this.start));
2509
- };
2510
- g.parseObj = function(e, t) {
2511
- var i = this.startNode(), s = !0, r = {};
2512
- for (i.properties = [], this.next(); !this.eat(a.braceR);) {
2513
- if (s) s = !1;
2514
- else if (this.expect(a.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(a.braceR)) break;
2515
- var o = this.parseProperty(e, t);
2516
- e || this.checkPropClash(o, r, t), i.properties.push(o);
2517
- }
2518
- return this.finishNode(i, e ? "ObjectPattern" : "ObjectExpression");
2519
- };
2520
- g.parseProperty = function(e, t) {
2521
- var i = this.startNode(), s, r, o, u;
2522
- if (this.options.ecmaVersion >= 9 && this.eat(a.ellipsis)) return e ? (i.argument = this.parseIdent(!1), this.type === a.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(i, "RestElement")) : (i.argument = this.parseMaybeAssign(!1, t), this.type === a.comma && t && t.trailingComma < 0 && (t.trailingComma = this.start), this.finishNode(i, "SpreadElement"));
2523
- this.options.ecmaVersion >= 6 && (i.method = !1, i.shorthand = !1, (e || t) && (o = this.start, u = this.startLoc), e || (s = this.eat(a.star)));
2524
- var p = this.containsEsc;
2525
- return this.parsePropertyName(i), !e && !p && this.options.ecmaVersion >= 8 && !s && this.isAsyncProp(i) ? (r = !0, s = this.options.ecmaVersion >= 9 && this.eat(a.star), this.parsePropertyName(i)) : r = !1, this.parsePropertyValue(i, e, s, r, o, u, t, p), this.finishNode(i, "Property");
2526
- };
2527
- g.parseGetterSetter = function(e) {
2528
- var t = e.key.name;
2529
- this.parsePropertyName(e), e.value = this.parseMethod(!1), e.kind = t;
2530
- var i = e.kind === "get" ? 0 : 1;
2531
- if (e.value.params.length !== i) {
2532
- var s = e.value.start;
2533
- e.kind === "get" ? this.raiseRecoverable(s, "getter should have no params") : this.raiseRecoverable(s, "setter should have exactly one param");
2534
- } else e.kind === "set" && e.value.params[0].type === "RestElement" && this.raiseRecoverable(e.value.params[0].start, "Setter cannot use rest params");
2535
- };
2536
- g.parsePropertyValue = function(e, t, i, s, r, o, u, p) {
2537
- (i || s) && this.type === a.colon && this.unexpected(), this.eat(a.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, u), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === a.parenL ? (t && this.unexpected(), e.method = !0, e.value = this.parseMethod(i, s), e.kind = "init") : !t && !p && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== a.comma && this.type !== a.braceR && this.type !== a.eq ? ((i || s) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((i || s) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = r), t ? e.value = this.parseMaybeDefault(r, o, this.copyNode(e.key)) : this.type === a.eq && u ? (u.shorthandAssign < 0 && (u.shorthandAssign = this.start), e.value = this.parseMaybeDefault(r, o, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.kind = "init", e.shorthand = !0) : this.unexpected();
2538
- };
2539
- g.parsePropertyName = function(e) {
2540
- if (this.options.ecmaVersion >= 6) {
2541
- if (this.eat(a.bracketL)) return e.computed = !0, e.key = this.parseMaybeAssign(), this.expect(a.bracketR), e.key;
2542
- e.computed = !1;
2543
- }
2544
- return e.key = this.type === a.num || this.type === a.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
2545
- };
2546
- g.initFunction = function(e) {
2547
- e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1);
2548
- };
2549
- g.parseMethod = function(e, t, i) {
2550
- var s = this.startNode(), r = this.yieldPos, o = this.awaitPos, u = this.awaitIdentPos;
2551
- return this.initFunction(s), this.options.ecmaVersion >= 6 && (s.generator = e), this.options.ecmaVersion >= 8 && (s.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Xe(t, s.generator) | Se | (i ? _t : 0)), this.expect(a.parenL), s.params = this.parseBindingList(a.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(s, !1, !0, !1), this.yieldPos = r, this.awaitPos = o, this.awaitIdentPos = u, this.finishNode(s, "FunctionExpression");
2552
- };
2553
- g.parseArrowExpression = function(e, t, i, s) {
2554
- var r = this.yieldPos, o = this.awaitPos, u = this.awaitIdentPos;
2555
- return this.enterScope(Xe(i, !1) | He), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!i), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, s), this.yieldPos = r, this.awaitPos = o, this.awaitIdentPos = u, this.finishNode(e, "ArrowFunctionExpression");
2556
- };
2557
- g.parseFunctionBody = function(e, t, i, s) {
2558
- var r = t && this.type !== a.braceL, o = this.strict, u = !1;
2559
- if (r) e.body = this.parseMaybeAssign(s), e.expression = !0, this.checkParams(e, !1);
2560
- else {
2561
- var p = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
2562
- (!o || p) && (u = this.strictDirective(this.end), u && p && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
2563
- var h = this.labels;
2564
- this.labels = [], u && (this.strict = !0), this.checkParams(e, !o && !u && !t && !i && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Et), e.body = this.parseBlock(!1, void 0, u && !o), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = h;
2565
- }
2566
- this.exitScope();
2567
- };
2568
- g.isSimpleParamList = function(e) {
2569
- for (var t = 0, i = e; t < i.length; t += 1) if (i[t].type !== "Identifier") return !1;
2570
- return !0;
2571
- };
2572
- g.checkParams = function(e, t) {
2573
- for (var i = Object.create(null), s = 0, r = e.params; s < r.length; s += 1) {
2574
- var o = r[s];
2575
- this.checkLValInnerPattern(o, We, t ? null : i);
2576
- }
2577
- };
2578
- g.parseExprList = function(e, t, i, s) {
2579
- for (var r = [], o = !0; !this.eat(e);) {
2580
- if (o) o = !1;
2581
- else if (this.expect(a.comma), t && this.afterTrailingComma(e)) break;
2582
- var u = void 0;
2583
- i && this.type === a.comma ? u = null : this.type === a.ellipsis ? (u = this.parseSpread(s), s && this.type === a.comma && s.trailingComma < 0 && (s.trailingComma = this.start)) : u = this.parseMaybeAssign(!1, s), r.push(u);
2584
- }
2585
- return r;
2586
- };
2587
- g.checkUnreserved = function(e) {
2588
- var t = e.start, i = e.end, s = e.name;
2589
- if (this.inGenerator && s === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && s === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & _e) && s === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (s === "arguments" || s === "await") && this.raise(t, "Cannot use " + s + " in class static initialization block"), this.keywords.test(s) && this.raise(t, "Unexpected keyword '" + s + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, i).indexOf("\\") !== -1)) (this.strict ? this.reservedWordsStrict : this.reservedWords).test(s) && (!this.inAsync && s === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + s + "' is reserved"));
2590
- };
2591
- g.parseIdent = function(e) {
2592
- var t = this.parseIdentNode();
2593
- return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = t.start)), t;
2594
- };
2595
- g.parseIdentNode = function() {
2596
- var e = this.startNode();
2597
- return this.type === a.name ? e.name = this.value : this.type.keyword ? (e.name = this.type.keyword, (e.name === "class" || e.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46) && this.context.pop(), this.type = a.name) : this.unexpected(), e;
2598
- };
2599
- g.parsePrivateIdent = function() {
2600
- var e = this.startNode();
2601
- return this.type === a.privateId ? e.name = this.value : this.unexpected(), this.next(), this.finishNode(e, "PrivateIdentifier"), this.options.checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(e.start, "Private field '#" + e.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e)), e;
2602
- };
2603
- g.parseYield = function(e) {
2604
- this.yieldPos || (this.yieldPos = this.start);
2605
- var t = this.startNode();
2606
- return this.next(), this.type === a.semi || this.canInsertSemicolon() || this.type !== a.star && !this.type.startsExpr ? (t.delegate = !1, t.argument = null) : (t.delegate = this.eat(a.star), t.argument = this.parseMaybeAssign(e)), this.finishNode(t, "YieldExpression");
2607
- };
2608
- g.parseAwait = function(e) {
2609
- this.awaitPos || (this.awaitPos = this.start);
2610
- var t = this.startNode();
2611
- return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
2612
- };
2613
- var ge = A.prototype;
2614
- ge.raise = function(e, t) {
2615
- var i = vt(this.input, e);
2616
- t += " (" + i.line + ":" + i.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
2617
- var s = new SyntaxError(t);
2618
- throw s.pos = e, s.loc = i, s.raisedAt = this.pos, s;
2619
- };
2620
- ge.raiseRecoverable = ge.raise;
2621
- ge.curPosition = function() {
2622
- if (this.options.locations) return new ne(this.curLine, this.pos - this.lineStart);
2623
- };
2624
- var W = A.prototype, es = function(t) {
2625
- this.flags = t, this.var = [], this.lexical = [], this.functions = [];
2626
- };
2627
- W.enterScope = function(e) {
2628
- this.scopeStack.push(new es(e));
2629
- };
2630
- W.exitScope = function() {
2631
- this.scopeStack.pop();
2632
- };
2633
- W.treatFunctionsAsVarInScope = function(e) {
2634
- return e.flags & Z || !this.inModule && e.flags & oe;
2635
- };
2636
- W.declareName = function(e, t, i) {
2637
- var s = !1;
2638
- if (t === K) {
2639
- var r = this.currentScope();
2640
- s = r.lexical.indexOf(e) > -1 || r.functions.indexOf(e) > -1 || r.var.indexOf(e) > -1, r.lexical.push(e), this.inModule && r.flags & oe && delete this.undefinedExports[e];
2641
- } else if (t === Tt) this.currentScope().lexical.push(e);
2642
- else if (t === Ct) {
2643
- var u = this.currentScope();
2644
- this.treatFunctionsAsVar ? s = u.lexical.indexOf(e) > -1 : s = u.lexical.indexOf(e) > -1 || u.var.indexOf(e) > -1, u.functions.push(e);
2645
- } else for (var p = this.scopeStack.length - 1; p >= 0; --p) {
2646
- var h = this.scopeStack[p];
2647
- if (h.lexical.indexOf(e) > -1 && !(h.flags & St && h.lexical[0] === e) || !this.treatFunctionsAsVarInScope(h) && h.functions.indexOf(e) > -1) {
2648
- s = !0;
2649
- break;
2650
- }
2651
- if (h.var.push(e), this.inModule && h.flags & oe && delete this.undefinedExports[e], h.flags & _e) break;
2652
- }
2653
- s && this.raiseRecoverable(i, "Identifier '" + e + "' has already been declared");
2654
- };
2655
- W.checkLocalExport = function(e) {
2656
- this.scopeStack[0].lexical.indexOf(e.name) === -1 && this.scopeStack[0].var.indexOf(e.name) === -1 && (this.undefinedExports[e.name] = e);
2657
- };
2658
- W.currentScope = function() {
2659
- return this.scopeStack[this.scopeStack.length - 1];
2660
- };
2661
- W.currentVarScope = function() {
2662
- for (var e = this.scopeStack.length - 1;; e--) {
2663
- var t = this.scopeStack[e];
2664
- if (t.flags & (_e | ue | z)) return t;
2665
- }
2666
- };
2667
- W.currentThisScope = function() {
2668
- for (var e = this.scopeStack.length - 1;; e--) {
2669
- var t = this.scopeStack[e];
2670
- if (t.flags & (_e | ue | z) && !(t.flags & He)) return t;
2671
- }
2672
- };
2673
- var Te = function(t, i, s) {
2674
- this.type = "", this.start = i, this.end = 0, t.options.locations && (this.loc = new be(t, s)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [i, 0]);
2675
- }, he = A.prototype;
2676
- he.startNode = function() {
2677
- return new Te(this, this.start, this.startLoc);
2678
- };
2679
- he.startNodeAt = function(e, t) {
2680
- return new Te(this, e, t);
2681
- };
2682
- function wt(e, t, i, s) {
2683
- return e.type = t, e.end = i, this.options.locations && (e.loc.end = s), this.options.ranges && (e.range[1] = i), e;
2684
- }
2685
- he.finishNode = function(e, t) {
2686
- return wt.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2687
- };
2688
- he.finishNodeAt = function(e, t, i, s) {
2689
- return wt.call(this, e, t, i, s);
2690
- };
2691
- he.copyNode = function(e) {
2692
- var t = new Te(this, e.start, this.startLoc);
2693
- for (var i in e) t[i] = e[i];
2694
- return t;
2695
- };
2696
- var ts = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", Pt = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", It = Pt + " Extended_Pictographic", Nt = It, Lt = Nt + " EBase EComp EMod EPres ExtPict", Rt = Lt, is = Rt, ss = {
2697
- 9: Pt,
2698
- 10: It,
2699
- 11: Nt,
2700
- 12: Lt,
2701
- 13: Rt,
2702
- 14: is
2703
- }, rs = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", as = {
2704
- 9: "",
2705
- 10: "",
2706
- 11: "",
2707
- 12: "",
2708
- 13: "",
2709
- 14: rs
2710
- }, lt = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Vt = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Ot = Vt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Bt = Ot + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Dt = Bt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Mt = Dt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", ns = Mt + " " + ts, os = {
2711
- 9: Vt,
2712
- 10: Ot,
2713
- 11: Bt,
2714
- 12: Dt,
2715
- 13: Mt,
2716
- 14: ns
2717
- }, Ft = {};
2718
- function us(e) {
2719
- var t = Ft[e] = {
2720
- binary: H(ss[e] + " " + lt),
2721
- binaryOfStrings: H(as[e]),
2722
- nonBinary: {
2723
- General_Category: H(lt),
2724
- Script: H(os[e])
2725
- }
2726
- };
2727
- t.nonBinary.Script_Extensions = t.nonBinary.Script, t.nonBinary.gc = t.nonBinary.General_Category, t.nonBinary.sc = t.nonBinary.Script, t.nonBinary.scx = t.nonBinary.Script_Extensions;
2728
- }
2729
- for (me = 0, Fe = [
2730
- 9,
2731
- 10,
2732
- 11,
2733
- 12,
2734
- 13,
2735
- 14
2736
- ]; me < Fe.length; me += 1) ft = Fe[me], us(ft);
2737
- var ft, me, Fe, f = A.prototype, ve = function(t, i) {
2738
- this.parent = t, this.base = i || this;
2739
- };
2740
- ve.prototype.separatedFrom = function(t) {
2741
- for (var i = this; i; i = i.parent) for (var s = t; s; s = s.parent) if (i.base === s.base && i !== s) return !0;
2742
- return !1;
2743
- };
2744
- ve.prototype.sibling = function() {
2745
- return new ve(this.parent, this.base);
2746
- };
2747
- var G = function(t) {
2748
- this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Ft[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
2749
- };
2750
- G.prototype.reset = function(t, i, s) {
2751
- var r = s.indexOf("v") !== -1, o = s.indexOf("u") !== -1;
2752
- this.start = t | 0, this.source = i + "", this.flags = s, r && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = o && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = o && this.parser.options.ecmaVersion >= 9);
2753
- };
2754
- G.prototype.raise = function(t) {
2755
- this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + t);
2756
- };
2757
- G.prototype.at = function(t, i) {
2758
- i === void 0 && (i = !1);
2759
- var s = this.source, r = s.length;
2760
- if (t >= r) return -1;
2761
- var o = s.charCodeAt(t);
2762
- if (!(i || this.switchU) || o <= 55295 || o >= 57344 || t + 1 >= r) return o;
2763
- var u = s.charCodeAt(t + 1);
2764
- return u >= 56320 && u <= 57343 ? (o << 10) + u - 56613888 : o;
2765
- };
2766
- G.prototype.nextIndex = function(t, i) {
2767
- i === void 0 && (i = !1);
2768
- var s = this.source, r = s.length;
2769
- if (t >= r) return r;
2770
- var o = s.charCodeAt(t), u;
2771
- return !(i || this.switchU) || o <= 55295 || o >= 57344 || t + 1 >= r || (u = s.charCodeAt(t + 1)) < 56320 || u > 57343 ? t + 1 : t + 2;
2772
- };
2773
- G.prototype.current = function(t) {
2774
- return t === void 0 && (t = !1), this.at(this.pos, t);
2775
- };
2776
- G.prototype.lookahead = function(t) {
2777
- return t === void 0 && (t = !1), this.at(this.nextIndex(this.pos, t), t);
2778
- };
2779
- G.prototype.advance = function(t) {
2780
- t === void 0 && (t = !1), this.pos = this.nextIndex(this.pos, t);
2781
- };
2782
- G.prototype.eat = function(t, i) {
2783
- return i === void 0 && (i = !1), this.current(i) === t ? (this.advance(i), !0) : !1;
2784
- };
2785
- G.prototype.eatChars = function(t, i) {
2786
- i === void 0 && (i = !1);
2787
- for (var s = this.pos, r = 0, o = t; r < o.length; r += 1) {
2788
- var u = o[r], p = this.at(s, i);
2789
- if (p === -1 || p !== u) return !1;
2790
- s = this.nextIndex(s, i);
2791
- }
2792
- return this.pos = s, !0;
2793
- };
2794
- f.validateRegExpFlags = function(e) {
2795
- for (var t = e.validFlags, i = e.flags, s = !1, r = !1, o = 0; o < i.length; o++) {
2796
- var u = i.charAt(o);
2797
- t.indexOf(u) === -1 && this.raise(e.start, "Invalid regular expression flag"), i.indexOf(u, o + 1) > -1 && this.raise(e.start, "Duplicate regular expression flag"), u === "u" && (s = !0), u === "v" && (r = !0);
2798
- }
2799
- this.options.ecmaVersion >= 15 && s && r && this.raise(e.start, "Invalid regular expression flag");
2800
- };
2801
- function hs(e) {
2802
- for (var t in e) return !0;
2803
- return !1;
2804
- }
2805
- f.validateRegExpPattern = function(e) {
2806
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && hs(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2807
- };
2808
- f.regexp_pattern = function(e) {
2809
- e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = !1, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = Object.create(null), e.backReferenceNames.length = 0, e.branchID = null, this.regexp_disjunction(e), e.pos !== e.source.length && (e.eat(41) && e.raise("Unmatched ')'"), (e.eat(93) || e.eat(125)) && e.raise("Lone quantifier brackets")), e.maxBackReference > e.numCapturingParens && e.raise("Invalid escape");
2810
- for (var t = 0, i = e.backReferenceNames; t < i.length; t += 1) {
2811
- var s = i[t];
2812
- e.groupNames[s] || e.raise("Invalid named capture referenced");
2813
- }
2814
- };
2815
- f.regexp_disjunction = function(e) {
2816
- var t = this.options.ecmaVersion >= 16;
2817
- for (t && (e.branchID = new ve(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2818
- t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
2819
- };
2820
- f.regexp_alternative = function(e) {
2821
- for (; e.pos < e.source.length && this.regexp_eatTerm(e););
2822
- };
2823
- f.regexp_eatTerm = function(e) {
2824
- return this.regexp_eatAssertion(e) ? (e.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(e) && e.switchU && e.raise("Invalid quantifier"), !0) : (e.switchU ? this.regexp_eatAtom(e) : this.regexp_eatExtendedAtom(e)) ? (this.regexp_eatQuantifier(e), !0) : !1;
2825
- };
2826
- f.regexp_eatAssertion = function(e) {
2827
- var t = e.pos;
2828
- if (e.lastAssertionIsQuantifiable = !1, e.eat(94) || e.eat(36)) return !0;
2829
- if (e.eat(92)) {
2830
- if (e.eat(66) || e.eat(98)) return !0;
2831
- e.pos = t;
2832
- }
2833
- if (e.eat(40) && e.eat(63)) {
2834
- var i = !1;
2835
- if (this.options.ecmaVersion >= 9 && (i = e.eat(60)), e.eat(61) || e.eat(33)) return this.regexp_disjunction(e), e.eat(41) || e.raise("Unterminated group"), e.lastAssertionIsQuantifiable = !i, !0;
2836
- }
2837
- return e.pos = t, !1;
2838
- };
2839
- f.regexp_eatQuantifier = function(e, t) {
2840
- return t === void 0 && (t = !1), this.regexp_eatQuantifierPrefix(e, t) ? (e.eat(63), !0) : !1;
2841
- };
2842
- f.regexp_eatQuantifierPrefix = function(e, t) {
2843
- return e.eat(42) || e.eat(43) || e.eat(63) || this.regexp_eatBracedQuantifier(e, t);
2844
- };
2845
- f.regexp_eatBracedQuantifier = function(e, t) {
2846
- var i = e.pos;
2847
- if (e.eat(123)) {
2848
- var s = 0, r = -1;
2849
- if (this.regexp_eatDecimalDigits(e) && (s = e.lastIntValue, e.eat(44) && this.regexp_eatDecimalDigits(e) && (r = e.lastIntValue), e.eat(125))) return r !== -1 && r < s && !t && e.raise("numbers out of order in {} quantifier"), !0;
2850
- e.switchU && !t && e.raise("Incomplete quantifier"), e.pos = i;
2851
- }
2852
- return !1;
2853
- };
2854
- f.regexp_eatAtom = function(e) {
2855
- return this.regexp_eatPatternCharacters(e) || e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e);
2856
- };
2857
- f.regexp_eatReverseSolidusAtomEscape = function(e) {
2858
- var t = e.pos;
2859
- if (e.eat(92)) {
2860
- if (this.regexp_eatAtomEscape(e)) return !0;
2861
- e.pos = t;
2862
- }
2863
- return !1;
2864
- };
2865
- f.regexp_eatUncapturingGroup = function(e) {
2866
- var t = e.pos;
2867
- if (e.eat(40)) {
2868
- if (e.eat(63)) {
2869
- if (this.options.ecmaVersion >= 16) {
2870
- var i = this.regexp_eatModifiers(e), s = e.eat(45);
2871
- if (i || s) {
2872
- for (var r = 0; r < i.length; r++) {
2873
- var o = i.charAt(r);
2874
- i.indexOf(o, r + 1) > -1 && e.raise("Duplicate regular expression modifiers");
2875
- }
2876
- if (s) {
2877
- var u = this.regexp_eatModifiers(e);
2878
- !i && !u && e.current() === 58 && e.raise("Invalid regular expression modifiers");
2879
- for (var p = 0; p < u.length; p++) {
2880
- var h = u.charAt(p);
2881
- (u.indexOf(h, p + 1) > -1 || i.indexOf(h) > -1) && e.raise("Duplicate regular expression modifiers");
2882
- }
2883
- }
2884
- }
2885
- }
2886
- if (e.eat(58)) {
2887
- if (this.regexp_disjunction(e), e.eat(41)) return !0;
2888
- e.raise("Unterminated group");
2889
- }
2890
- }
2891
- e.pos = t;
2892
- }
2893
- return !1;
2894
- };
2895
- f.regexp_eatCapturingGroup = function(e) {
2896
- if (e.eat(40)) {
2897
- if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(e) : e.current() === 63 && e.raise("Invalid group"), this.regexp_disjunction(e), e.eat(41)) return e.numCapturingParens += 1, !0;
2898
- e.raise("Unterminated group");
2899
- }
2900
- return !1;
2901
- };
2902
- f.regexp_eatModifiers = function(e) {
2903
- for (var t = "", i = 0; (i = e.current()) !== -1 && ps(i);) t += q(i), e.advance();
2904
- return t;
2905
- };
2906
- function ps(e) {
2907
- return e === 105 || e === 109 || e === 115;
2908
- }
2909
- f.regexp_eatExtendedAtom = function(e) {
2910
- return e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e) || this.regexp_eatInvalidBracedQuantifier(e) || this.regexp_eatExtendedPatternCharacter(e);
2911
- };
2912
- f.regexp_eatInvalidBracedQuantifier = function(e) {
2913
- return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1;
2914
- };
2915
- f.regexp_eatSyntaxCharacter = function(e) {
2916
- var t = e.current();
2917
- return jt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2918
- };
2919
- function jt(e) {
2920
- return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
2921
- }
2922
- f.regexp_eatPatternCharacters = function(e) {
2923
- for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !jt(i);) e.advance();
2924
- return e.pos !== t;
2925
- };
2926
- f.regexp_eatExtendedPatternCharacter = function(e) {
2927
- var t = e.current();
2928
- return t !== -1 && t !== 36 && !(t >= 40 && t <= 43) && t !== 46 && t !== 63 && t !== 91 && t !== 94 && t !== 124 ? (e.advance(), !0) : !1;
2929
- };
2930
- f.regexp_groupSpecifier = function(e) {
2931
- if (e.eat(63)) {
2932
- this.regexp_eatGroupName(e) || e.raise("Invalid group");
2933
- var t = this.options.ecmaVersion >= 16, i = e.groupNames[e.lastStringValue];
2934
- if (i) if (t) for (var s = 0, r = i; s < r.length; s += 1) r[s].separatedFrom(e.branchID) || e.raise("Duplicate capture group name");
2935
- else e.raise("Duplicate capture group name");
2936
- t ? (i || (e.groupNames[e.lastStringValue] = [])).push(e.branchID) : e.groupNames[e.lastStringValue] = !0;
2937
- }
2938
- };
2939
- f.regexp_eatGroupName = function(e) {
2940
- if (e.lastStringValue = "", e.eat(60)) {
2941
- if (this.regexp_eatRegExpIdentifierName(e) && e.eat(62)) return !0;
2942
- e.raise("Invalid capture group name");
2943
- }
2944
- return !1;
2945
- };
2946
- f.regexp_eatRegExpIdentifierName = function(e) {
2947
- if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
2948
- for (e.lastStringValue += q(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += q(e.lastIntValue);
2949
- return !0;
2950
- }
2951
- return !1;
2952
- };
2953
- f.regexp_eatRegExpIdentifierStart = function(e) {
2954
- var t = e.pos, i = this.options.ecmaVersion >= 11, s = e.current(i);
2955
- return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), cs(s) ? (e.lastIntValue = s, !0) : (e.pos = t, !1);
2956
- };
2957
- function cs(e) {
2958
- return j(e, !0) || e === 36 || e === 95;
2959
- }
2960
- f.regexp_eatRegExpIdentifierPart = function(e) {
2961
- var t = e.pos, i = this.options.ecmaVersion >= 11, s = e.current(i);
2962
- return e.advance(i), s === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (s = e.lastIntValue), ls(s) ? (e.lastIntValue = s, !0) : (e.pos = t, !1);
2963
- };
2964
- function ls(e) {
2965
- return X(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
2966
- }
2967
- f.regexp_eatAtomEscape = function(e) {
2968
- return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1);
2969
- };
2970
- f.regexp_eatBackReference = function(e) {
2971
- var t = e.pos;
2972
- if (this.regexp_eatDecimalEscape(e)) {
2973
- var i = e.lastIntValue;
2974
- if (e.switchU) return i > e.maxBackReference && (e.maxBackReference = i), !0;
2975
- if (i <= e.numCapturingParens) return !0;
2976
- e.pos = t;
2977
- }
2978
- return !1;
2979
- };
2980
- f.regexp_eatKGroupName = function(e) {
2981
- if (e.eat(107)) {
2982
- if (this.regexp_eatGroupName(e)) return e.backReferenceNames.push(e.lastStringValue), !0;
2983
- e.raise("Invalid named reference");
2984
- }
2985
- return !1;
2986
- };
2987
- f.regexp_eatCharacterEscape = function(e) {
2988
- return this.regexp_eatControlEscape(e) || this.regexp_eatCControlLetter(e) || this.regexp_eatZero(e) || this.regexp_eatHexEscapeSequence(e) || this.regexp_eatRegExpUnicodeEscapeSequence(e, !1) || !e.switchU && this.regexp_eatLegacyOctalEscapeSequence(e) || this.regexp_eatIdentityEscape(e);
2989
- };
2990
- f.regexp_eatCControlLetter = function(e) {
2991
- var t = e.pos;
2992
- if (e.eat(99)) {
2993
- if (this.regexp_eatControlLetter(e)) return !0;
2994
- e.pos = t;
2995
- }
2996
- return !1;
2997
- };
2998
- f.regexp_eatZero = function(e) {
2999
- return e.current() === 48 && !Ee(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
3000
- };
3001
- f.regexp_eatControlEscape = function(e) {
3002
- var t = e.current();
3003
- return t === 116 ? (e.lastIntValue = 9, e.advance(), !0) : t === 110 ? (e.lastIntValue = 10, e.advance(), !0) : t === 118 ? (e.lastIntValue = 11, e.advance(), !0) : t === 102 ? (e.lastIntValue = 12, e.advance(), !0) : t === 114 ? (e.lastIntValue = 13, e.advance(), !0) : !1;
3004
- };
3005
- f.regexp_eatControlLetter = function(e) {
3006
- var t = e.current();
3007
- return Ut(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3008
- };
3009
- function Ut(e) {
3010
- return e >= 65 && e <= 90 || e >= 97 && e <= 122;
3011
- }
3012
- f.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
3013
- t === void 0 && (t = !1);
3014
- var i = e.pos, s = t || e.switchU;
3015
- if (e.eat(117)) {
3016
- if (this.regexp_eatFixedHexDigits(e, 4)) {
3017
- var r = e.lastIntValue;
3018
- if (s && r >= 55296 && r <= 56319) {
3019
- var o = e.pos;
3020
- if (e.eat(92) && e.eat(117) && this.regexp_eatFixedHexDigits(e, 4)) {
3021
- var u = e.lastIntValue;
3022
- if (u >= 56320 && u <= 57343) return e.lastIntValue = (r - 55296) * 1024 + (u - 56320) + 65536, !0;
3023
- }
3024
- e.pos = o, e.lastIntValue = r;
3025
- }
3026
- return !0;
3027
- }
3028
- if (s && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && fs(e.lastIntValue)) return !0;
3029
- s && e.raise("Invalid unicode escape"), e.pos = i;
3030
- }
3031
- return !1;
3032
- };
3033
- function fs(e) {
3034
- return e >= 0 && e <= 1114111;
3035
- }
3036
- f.regexp_eatIdentityEscape = function(e) {
3037
- if (e.switchU) return this.regexp_eatSyntaxCharacter(e) ? !0 : e.eat(47) ? (e.lastIntValue = 47, !0) : !1;
3038
- var t = e.current();
3039
- return t !== 99 && (!e.switchN || t !== 107) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3040
- };
3041
- f.regexp_eatDecimalEscape = function(e) {
3042
- e.lastIntValue = 0;
3043
- var t = e.current();
3044
- if (t >= 49 && t <= 57) {
3045
- do
3046
- e.lastIntValue = 10 * e.lastIntValue + (t - 48), e.advance();
3047
- while ((t = e.current()) >= 48 && t <= 57);
3048
- return !0;
3049
- }
3050
- return !1;
3051
- };
3052
- var Gt = 0, J = 1, B = 2;
3053
- f.regexp_eatCharacterClassEscape = function(e) {
3054
- var t = e.current();
3055
- if (ds(t)) return e.lastIntValue = -1, e.advance(), J;
3056
- var i = !1;
3057
- if (e.switchU && this.options.ecmaVersion >= 9 && ((i = t === 80) || t === 112)) {
3058
- e.lastIntValue = -1, e.advance();
3059
- var s;
3060
- if (e.eat(123) && (s = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return i && s === B && e.raise("Invalid property name"), s;
3061
- e.raise("Invalid property name");
3062
- }
3063
- return Gt;
3064
- };
3065
- function ds(e) {
3066
- return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
3067
- }
3068
- f.regexp_eatUnicodePropertyValueExpression = function(e) {
3069
- var t = e.pos;
3070
- if (this.regexp_eatUnicodePropertyName(e) && e.eat(61)) {
3071
- var i = e.lastStringValue;
3072
- if (this.regexp_eatUnicodePropertyValue(e)) {
3073
- var s = e.lastStringValue;
3074
- return this.regexp_validateUnicodePropertyNameAndValue(e, i, s), J;
3075
- }
3076
- }
3077
- if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) {
3078
- var r = e.lastStringValue;
3079
- return this.regexp_validateUnicodePropertyNameOrValue(e, r);
3080
- }
3081
- return Gt;
3082
- };
3083
- f.regexp_validateUnicodePropertyNameAndValue = function(e, t, i) {
3084
- $(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(i) || e.raise("Invalid property value");
3085
- };
3086
- f.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
3087
- if (e.unicodeProperties.binary.test(t)) return J;
3088
- if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return B;
3089
- e.raise("Invalid property name");
3090
- };
3091
- f.regexp_eatUnicodePropertyName = function(e) {
3092
- var t = 0;
3093
- for (e.lastStringValue = ""; qt(t = e.current());) e.lastStringValue += q(t), e.advance();
3094
- return e.lastStringValue !== "";
3095
- };
3096
- function qt(e) {
3097
- return Ut(e) || e === 95;
3098
- }
3099
- f.regexp_eatUnicodePropertyValue = function(e) {
3100
- var t = 0;
3101
- for (e.lastStringValue = ""; ms(t = e.current());) e.lastStringValue += q(t), e.advance();
3102
- return e.lastStringValue !== "";
3103
- };
3104
- function ms(e) {
3105
- return qt(e) || Ee(e);
3106
- }
3107
- f.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3108
- return this.regexp_eatUnicodePropertyValue(e);
3109
- };
3110
- f.regexp_eatCharacterClass = function(e) {
3111
- if (e.eat(91)) {
3112
- var t = e.eat(94), i = this.regexp_classContents(e);
3113
- return e.eat(93) || e.raise("Unterminated character class"), t && i === B && e.raise("Negated character class may contain strings"), !0;
3114
- }
3115
- return !1;
3116
- };
3117
- f.regexp_classContents = function(e) {
3118
- return e.current() === 93 ? J : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), J);
3119
- };
3120
- f.regexp_nonEmptyClassRanges = function(e) {
3121
- for (; this.regexp_eatClassAtom(e);) {
3122
- var t = e.lastIntValue;
3123
- if (e.eat(45) && this.regexp_eatClassAtom(e)) {
3124
- var i = e.lastIntValue;
3125
- e.switchU && (t === -1 || i === -1) && e.raise("Invalid character class"), t !== -1 && i !== -1 && t > i && e.raise("Range out of order in character class");
3126
- }
3127
- }
3128
- };
3129
- f.regexp_eatClassAtom = function(e) {
3130
- var t = e.pos;
3131
- if (e.eat(92)) {
3132
- if (this.regexp_eatClassEscape(e)) return !0;
3133
- if (e.switchU) {
3134
- var i = e.current();
3135
- (i === 99 || Ht(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
3136
- }
3137
- e.pos = t;
3138
- }
3139
- var s = e.current();
3140
- return s !== 93 ? (e.lastIntValue = s, e.advance(), !0) : !1;
3141
- };
3142
- f.regexp_eatClassEscape = function(e) {
3143
- var t = e.pos;
3144
- if (e.eat(98)) return e.lastIntValue = 8, !0;
3145
- if (e.switchU && e.eat(45)) return e.lastIntValue = 45, !0;
3146
- if (!e.switchU && e.eat(99)) {
3147
- if (this.regexp_eatClassControlLetter(e)) return !0;
3148
- e.pos = t;
3149
- }
3150
- return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
3151
- };
3152
- f.regexp_classSetExpression = function(e) {
3153
- var t = J, i;
3154
- if (!this.regexp_eatClassSetRange(e)) if (i = this.regexp_eatClassSetOperand(e)) {
3155
- i === B && (t = B);
3156
- for (var s = e.pos; e.eatChars([38, 38]);) {
3157
- if (e.current() !== 38 && (i = this.regexp_eatClassSetOperand(e))) {
3158
- i !== B && (t = J);
3159
- continue;
3160
- }
3161
- e.raise("Invalid character in character class");
3162
- }
3163
- if (s !== e.pos) return t;
3164
- for (; e.eatChars([45, 45]);) this.regexp_eatClassSetOperand(e) || e.raise("Invalid character in character class");
3165
- if (s !== e.pos) return t;
3166
- } else e.raise("Invalid character in character class");
3167
- for (;;) if (!this.regexp_eatClassSetRange(e)) {
3168
- if (i = this.regexp_eatClassSetOperand(e), !i) return t;
3169
- i === B && (t = B);
3170
- }
3171
- };
3172
- f.regexp_eatClassSetRange = function(e) {
3173
- var t = e.pos;
3174
- if (this.regexp_eatClassSetCharacter(e)) {
3175
- var i = e.lastIntValue;
3176
- if (e.eat(45) && this.regexp_eatClassSetCharacter(e)) {
3177
- var s = e.lastIntValue;
3178
- return i !== -1 && s !== -1 && i > s && e.raise("Range out of order in character class"), !0;
3179
- }
3180
- e.pos = t;
3181
- }
3182
- return !1;
3183
- };
3184
- f.regexp_eatClassSetOperand = function(e) {
3185
- return this.regexp_eatClassSetCharacter(e) ? J : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
3186
- };
3187
- f.regexp_eatNestedClass = function(e) {
3188
- var t = e.pos;
3189
- if (e.eat(91)) {
3190
- var i = e.eat(94), s = this.regexp_classContents(e);
3191
- if (e.eat(93)) return i && s === B && e.raise("Negated character class may contain strings"), s;
3192
- e.pos = t;
3193
- }
3194
- if (e.eat(92)) {
3195
- var r = this.regexp_eatCharacterClassEscape(e);
3196
- if (r) return r;
3197
- e.pos = t;
3198
- }
3199
- return null;
3200
- };
3201
- f.regexp_eatClassStringDisjunction = function(e) {
3202
- var t = e.pos;
3203
- if (e.eatChars([92, 113])) {
3204
- if (e.eat(123)) {
3205
- var i = this.regexp_classStringDisjunctionContents(e);
3206
- if (e.eat(125)) return i;
3207
- } else e.raise("Invalid escape");
3208
- e.pos = t;
3209
- }
3210
- return null;
3211
- };
3212
- f.regexp_classStringDisjunctionContents = function(e) {
3213
- for (var t = this.regexp_classString(e); e.eat(124);) this.regexp_classString(e) === B && (t = B);
3214
- return t;
3215
- };
3216
- f.regexp_classString = function(e) {
3217
- for (var t = 0; this.regexp_eatClassSetCharacter(e);) t++;
3218
- return t === 1 ? J : B;
3219
- };
3220
- f.regexp_eatClassSetCharacter = function(e) {
3221
- var t = e.pos;
3222
- if (e.eat(92)) return this.regexp_eatCharacterEscape(e) || this.regexp_eatClassSetReservedPunctuator(e) ? !0 : e.eat(98) ? (e.lastIntValue = 8, !0) : (e.pos = t, !1);
3223
- var i = e.current();
3224
- return i < 0 || i === e.lookahead() && xs(i) || ys(i) ? !1 : (e.advance(), e.lastIntValue = i, !0);
3225
- };
3226
- function xs(e) {
3227
- return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
3228
- }
3229
- function ys(e) {
3230
- return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
3231
- }
3232
- f.regexp_eatClassSetReservedPunctuator = function(e) {
3233
- var t = e.current();
3234
- return gs(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3235
- };
3236
- function gs(e) {
3237
- return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
3238
- }
3239
- f.regexp_eatClassControlLetter = function(e) {
3240
- var t = e.current();
3241
- return Ee(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3242
- };
3243
- f.regexp_eatHexEscapeSequence = function(e) {
3244
- var t = e.pos;
3245
- if (e.eat(120)) {
3246
- if (this.regexp_eatFixedHexDigits(e, 2)) return !0;
3247
- e.switchU && e.raise("Invalid escape"), e.pos = t;
3248
- }
3249
- return !1;
3250
- };
3251
- f.regexp_eatDecimalDigits = function(e) {
3252
- var t = e.pos, i = 0;
3253
- for (e.lastIntValue = 0; Ee(i = e.current());) e.lastIntValue = 10 * e.lastIntValue + (i - 48), e.advance();
3254
- return e.pos !== t;
3255
- };
3256
- function Ee(e) {
3257
- return e >= 48 && e <= 57;
3258
- }
3259
- f.regexp_eatHexDigits = function(e) {
3260
- var t = e.pos, i = 0;
3261
- for (e.lastIntValue = 0; Jt(i = e.current());) e.lastIntValue = 16 * e.lastIntValue + Kt(i), e.advance();
3262
- return e.pos !== t;
3263
- };
3264
- function Jt(e) {
3265
- return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
3266
- }
3267
- function Kt(e) {
3268
- return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
3269
- }
3270
- f.regexp_eatLegacyOctalEscapeSequence = function(e) {
3271
- if (this.regexp_eatOctalDigit(e)) {
3272
- var t = e.lastIntValue;
3273
- if (this.regexp_eatOctalDigit(e)) {
3274
- var i = e.lastIntValue;
3275
- t <= 3 && this.regexp_eatOctalDigit(e) ? e.lastIntValue = t * 64 + i * 8 + e.lastIntValue : e.lastIntValue = t * 8 + i;
3276
- } else e.lastIntValue = t;
3277
- return !0;
3278
- }
3279
- return !1;
3280
- };
3281
- f.regexp_eatOctalDigit = function(e) {
3282
- var t = e.current();
3283
- return Ht(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
3284
- };
3285
- function Ht(e) {
3286
- return e >= 48 && e <= 55;
3287
- }
3288
- f.regexp_eatFixedHexDigits = function(e, t) {
3289
- var i = e.pos;
3290
- e.lastIntValue = 0;
3291
- for (var s = 0; s < t; ++s) {
3292
- var r = e.current();
3293
- if (!Jt(r)) return e.pos = i, !1;
3294
- e.lastIntValue = 16 * e.lastIntValue + Kt(r), e.advance();
3295
- }
3296
- return !0;
3297
- };
3298
- var Qe = function(t) {
3299
- this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new be(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
3300
- }, b = A.prototype;
3301
- b.next = function(e) {
3302
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Qe(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
3303
- };
3304
- b.getToken = function() {
3305
- return this.next(), new Qe(this);
3306
- };
3307
- typeof Symbol < "u" && (b[Symbol.iterator] = function() {
3308
- var e = this;
3309
- return { next: function() {
3310
- var t = e.getToken();
3311
- return {
3312
- done: t.type === a.eof,
3313
- value: t
3314
- };
3315
- } };
3316
- });
3317
- b.nextToken = function() {
3318
- var e = this.curContext();
3319
- if ((!e || !e.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length) return this.finishToken(a.eof);
3320
- if (e.override) return e.override(this);
3321
- this.readToken(this.fullCharCodeAtPos());
3322
- };
3323
- b.readToken = function(e) {
3324
- return j(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
3325
- };
3326
- b.fullCharCodeAtPos = function() {
3327
- var e = this.input.charCodeAt(this.pos);
3328
- if (e <= 55295 || e >= 56320) return e;
3329
- var t = this.input.charCodeAt(this.pos + 1);
3330
- return t <= 56319 || t >= 57344 ? e : (e << 10) + t - 56613888;
3331
- };
3332
- b.skipBlockComment = function() {
3333
- var e = this.options.onComment && this.curPosition(), t = this.pos, i = this.input.indexOf("*/", this.pos += 2);
3334
- if (i === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i + 2, this.options.locations) for (var s = void 0, r = t; (s = xt(this.input, r, this.pos)) > -1;) ++this.curLine, r = this.lineStart = s;
3335
- this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, i), t, this.pos, e, this.curPosition());
3336
- };
3337
- b.skipLineComment = function(e) {
3338
- for (var t = this.pos, i = this.options.onComment && this.curPosition(), s = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !Y(s);) s = this.input.charCodeAt(++this.pos);
3339
- this.options.onComment && this.options.onComment(!1, this.input.slice(t + e, this.pos), t, this.pos, i, this.curPosition());
3340
- };
3341
- b.skipSpace = function() {
3342
- e: for (; this.pos < this.input.length;) {
3343
- var e = this.input.charCodeAt(this.pos);
3344
- switch (e) {
3345
- case 32:
3346
- case 160:
3347
- ++this.pos;
3348
- break;
3349
- case 13: this.input.charCodeAt(this.pos + 1) === 10 && ++this.pos;
3350
- case 10:
3351
- case 8232:
3352
- case 8233:
3353
- ++this.pos, this.options.locations && (++this.curLine, this.lineStart = this.pos);
3354
- break;
3355
- case 47:
3356
- switch (this.input.charCodeAt(this.pos + 1)) {
3357
- case 42:
3358
- this.skipBlockComment();
3359
- break;
3360
- case 47:
3361
- this.skipLineComment(2);
3362
- break;
3363
- default: break e;
3364
- }
3365
- break;
3366
- default: if (e > 8 && e < 14 || e >= 5760 && yt.test(String.fromCharCode(e))) ++this.pos;
3367
- else break e;
3368
- }
3369
- }
3370
- };
3371
- b.finishToken = function(e, t) {
3372
- this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
3373
- var i = this.type;
3374
- this.type = e, this.value = t, this.updateContext(i);
3375
- };
3376
- b.readToken_dot = function() {
3377
- var e = this.input.charCodeAt(this.pos + 1);
3378
- if (e >= 48 && e <= 57) return this.readNumber(!0);
3379
- var t = this.input.charCodeAt(this.pos + 2);
3380
- return this.options.ecmaVersion >= 6 && e === 46 && t === 46 ? (this.pos += 3, this.finishToken(a.ellipsis)) : (++this.pos, this.finishToken(a.dot));
3381
- };
3382
- b.readToken_slash = function() {
3383
- var e = this.input.charCodeAt(this.pos + 1);
3384
- return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(a.assign, 2) : this.finishOp(a.slash, 1);
3385
- };
3386
- b.readToken_mult_modulo_exp = function(e) {
3387
- var t = this.input.charCodeAt(this.pos + 1), i = 1, s = e === 42 ? a.star : a.modulo;
3388
- return this.options.ecmaVersion >= 7 && e === 42 && t === 42 && (++i, s = a.starstar, t = this.input.charCodeAt(this.pos + 2)), t === 61 ? this.finishOp(a.assign, i + 1) : this.finishOp(s, i);
3389
- };
3390
- b.readToken_pipe_amp = function(e) {
3391
- var t = this.input.charCodeAt(this.pos + 1);
3392
- if (t === e) {
3393
- if (this.options.ecmaVersion >= 12) {
3394
- if (this.input.charCodeAt(this.pos + 2) === 61) return this.finishOp(a.assign, 3);
3395
- }
3396
- return this.finishOp(e === 124 ? a.logicalOR : a.logicalAND, 2);
3397
- }
3398
- return t === 61 ? this.finishOp(a.assign, 2) : this.finishOp(e === 124 ? a.bitwiseOR : a.bitwiseAND, 1);
3399
- };
3400
- b.readToken_caret = function() {
3401
- return this.input.charCodeAt(this.pos + 1) === 61 ? this.finishOp(a.assign, 2) : this.finishOp(a.bitwiseXOR, 1);
3402
- };
3403
- b.readToken_plus_min = function(e) {
3404
- var t = this.input.charCodeAt(this.pos + 1);
3405
- return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || L.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(a.incDec, 2) : t === 61 ? this.finishOp(a.assign, 2) : this.finishOp(a.plusMin, 1);
3406
- };
3407
- b.readToken_lt_gt = function(e) {
3408
- var t = this.input.charCodeAt(this.pos + 1), i = 1;
3409
- return t === e ? (i = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + i) === 61 ? this.finishOp(a.assign, i + 1) : this.finishOp(a.bitShift, i)) : t === 33 && e === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (t === 61 && (i = 2), this.finishOp(a.relational, i));
3410
- };
3411
- b.readToken_eq_excl = function(e) {
3412
- var t = this.input.charCodeAt(this.pos + 1);
3413
- return t === 61 ? this.finishOp(a.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && t === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(a.arrow)) : this.finishOp(e === 61 ? a.eq : a.prefix, 1);
3414
- };
3415
- b.readToken_question = function() {
3416
- var e = this.options.ecmaVersion;
3417
- if (e >= 11) {
3418
- var t = this.input.charCodeAt(this.pos + 1);
3419
- if (t === 46) {
3420
- var i = this.input.charCodeAt(this.pos + 2);
3421
- if (i < 48 || i > 57) return this.finishOp(a.questionDot, 2);
3422
- }
3423
- if (t === 63) {
3424
- if (e >= 12) {
3425
- if (this.input.charCodeAt(this.pos + 2) === 61) return this.finishOp(a.assign, 3);
3426
- }
3427
- return this.finishOp(a.coalesce, 2);
3428
- }
3429
- }
3430
- return this.finishOp(a.question, 1);
3431
- };
3432
- b.readToken_numberSign = function() {
3433
- var e = this.options.ecmaVersion, t = 35;
3434
- if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), j(t, !0) || t === 92)) return this.finishToken(a.privateId, this.readWord1());
3435
- this.raise(this.pos, "Unexpected character '" + q(t) + "'");
3436
- };
3437
- b.getTokenFromCode = function(e) {
3438
- switch (e) {
3439
- case 46: return this.readToken_dot();
3440
- case 40: return ++this.pos, this.finishToken(a.parenL);
3441
- case 41: return ++this.pos, this.finishToken(a.parenR);
3442
- case 59: return ++this.pos, this.finishToken(a.semi);
3443
- case 44: return ++this.pos, this.finishToken(a.comma);
3444
- case 91: return ++this.pos, this.finishToken(a.bracketL);
3445
- case 93: return ++this.pos, this.finishToken(a.bracketR);
3446
- case 123: return ++this.pos, this.finishToken(a.braceL);
3447
- case 125: return ++this.pos, this.finishToken(a.braceR);
3448
- case 58: return ++this.pos, this.finishToken(a.colon);
3449
- case 96:
3450
- if (this.options.ecmaVersion < 6) break;
3451
- return ++this.pos, this.finishToken(a.backQuote);
3452
- case 48:
3453
- var t = this.input.charCodeAt(this.pos + 1);
3454
- if (t === 120 || t === 88) return this.readRadixNumber(16);
3455
- if (this.options.ecmaVersion >= 6) {
3456
- if (t === 111 || t === 79) return this.readRadixNumber(8);
3457
- if (t === 98 || t === 66) return this.readRadixNumber(2);
3458
- }
3459
- case 49:
3460
- case 50:
3461
- case 51:
3462
- case 52:
3463
- case 53:
3464
- case 54:
3465
- case 55:
3466
- case 56:
3467
- case 57: return this.readNumber(!1);
3468
- case 34:
3469
- case 39: return this.readString(e);
3470
- case 47: return this.readToken_slash();
3471
- case 37:
3472
- case 42: return this.readToken_mult_modulo_exp(e);
3473
- case 124:
3474
- case 38: return this.readToken_pipe_amp(e);
3475
- case 94: return this.readToken_caret();
3476
- case 43:
3477
- case 45: return this.readToken_plus_min(e);
3478
- case 60:
3479
- case 62: return this.readToken_lt_gt(e);
3480
- case 61:
3481
- case 33: return this.readToken_eq_excl(e);
3482
- case 63: return this.readToken_question();
3483
- case 126: return this.finishOp(a.prefix, 1);
3484
- case 35: return this.readToken_numberSign();
3485
- }
3486
- this.raise(this.pos, "Unexpected character '" + q(e) + "'");
3487
- };
3488
- b.finishOp = function(e, t) {
3489
- var i = this.input.slice(this.pos, this.pos + t);
3490
- return this.pos += t, this.finishToken(e, i);
3491
- };
3492
- b.readRegexp = function() {
3493
- for (var e, t, i = this.pos;;) {
3494
- this.pos >= this.input.length && this.raise(i, "Unterminated regular expression");
3495
- var s = this.input.charAt(this.pos);
3496
- if (L.test(s) && this.raise(i, "Unterminated regular expression"), e) e = !1;
3497
- else {
3498
- if (s === "[") t = !0;
3499
- else if (s === "]" && t) t = !1;
3500
- else if (s === "/" && !t) break;
3501
- e = s === "\\";
3502
- }
3503
- ++this.pos;
3504
- }
3505
- var r = this.input.slice(i, this.pos);
3506
- ++this.pos;
3507
- var o = this.pos, u = this.readWord1();
3508
- this.containsEsc && this.unexpected(o);
3509
- var p = this.regexpState || (this.regexpState = new G(this));
3510
- p.reset(i, r, u), this.validateRegExpFlags(p), this.validateRegExpPattern(p);
3511
- var h = null;
3512
- try {
3513
- h = new RegExp(r, u);
3514
- } catch {}
3515
- return this.finishToken(a.regexp, {
3516
- pattern: r,
3517
- flags: u,
3518
- value: h
3519
- });
3520
- };
3521
- b.readInt = function(e, t, i) {
3522
- for (var s = this.options.ecmaVersion >= 12 && t === void 0, r = i && this.input.charCodeAt(this.pos) === 48, o = this.pos, u = 0, p = 0, h = 0, l = t ?? Infinity; h < l; ++h, ++this.pos) {
3523
- var m = this.input.charCodeAt(this.pos), S = void 0;
3524
- if (s && m === 95) {
3525
- r && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), p === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), h === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), p = m;
3526
- continue;
3527
- }
3528
- if (m >= 97 ? S = m - 97 + 10 : m >= 65 ? S = m - 65 + 10 : m >= 48 && m <= 57 ? S = m - 48 : S = Infinity, S >= e) break;
3529
- p = m, u = u * e + S;
3530
- }
3531
- return s && p === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === o || t != null && this.pos - o !== t ? null : u;
3532
- };
3533
- function vs(e, t) {
3534
- return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
3535
- }
3536
- function Xt(e) {
3537
- return typeof BigInt != "function" ? null : BigInt(e.replace(/_/g, ""));
3538
- }
3539
- b.readRadixNumber = function(e) {
3540
- var t = this.pos;
3541
- this.pos += 2;
3542
- var i = this.readInt(e);
3543
- return i ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = Xt(this.input.slice(t, this.pos)), ++this.pos) : j(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(a.num, i);
3544
- };
3545
- b.readNumber = function(e) {
3546
- var t = this.pos;
3547
- !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number");
3548
- var i = this.pos - t >= 2 && this.input.charCodeAt(t) === 48;
3549
- i && this.strict && this.raise(t, "Invalid number");
3550
- var s = this.input.charCodeAt(this.pos);
3551
- if (!i && !e && this.options.ecmaVersion >= 11 && s === 110) {
3552
- var r = Xt(this.input.slice(t, this.pos));
3553
- return ++this.pos, j(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(a.num, r);
3554
- }
3555
- i && /[89]/.test(this.input.slice(t, this.pos)) && (i = !1), s === 46 && !i && (++this.pos, this.readInt(10), s = this.input.charCodeAt(this.pos)), (s === 69 || s === 101) && !i && (s = this.input.charCodeAt(++this.pos), (s === 43 || s === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), j(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3556
- var o = vs(this.input.slice(t, this.pos), i);
3557
- return this.finishToken(a.num, o);
3558
- };
3559
- b.readCodePoint = function() {
3560
- var e = this.input.charCodeAt(this.pos), t;
3561
- if (e === 123) {
3562
- this.options.ecmaVersion < 6 && this.unexpected();
3563
- var i = ++this.pos;
3564
- t = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, t > 1114111 && this.invalidStringToken(i, "Code point out of bounds");
3565
- } else t = this.readHexChar(4);
3566
- return t;
3567
- };
3568
- b.readString = function(e) {
3569
- for (var t = "", i = ++this.pos;;) {
3570
- this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3571
- var s = this.input.charCodeAt(this.pos);
3572
- if (s === e) break;
3573
- s === 92 ? (t += this.input.slice(i, this.pos), t += this.readEscapedChar(!1), i = this.pos) : s === 8232 || s === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (Y(s) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3574
- }
3575
- return t += this.input.slice(i, this.pos++), this.finishToken(a.string, t);
3576
- };
3577
- var Wt = {};
3578
- b.tryReadTemplateToken = function() {
3579
- this.inTemplateElement = !0;
3580
- try {
3581
- this.readTmplToken();
3582
- } catch (e) {
3583
- if (e === Wt) this.readInvalidTemplateToken();
3584
- else throw e;
3585
- }
3586
- this.inTemplateElement = !1;
3587
- };
3588
- b.invalidStringToken = function(e, t) {
3589
- if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Wt;
3590
- this.raise(e, t);
3591
- };
3592
- b.readTmplToken = function() {
3593
- for (var e = "", t = this.pos;;) {
3594
- this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
3595
- var i = this.input.charCodeAt(this.pos);
3596
- if (i === 96 || i === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === a.template || this.type === a.invalidTemplate) ? i === 36 ? (this.pos += 2, this.finishToken(a.dollarBraceL)) : (++this.pos, this.finishToken(a.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(a.template, e));
3597
- if (i === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos;
3598
- else if (Y(i)) {
3599
- switch (e += this.input.slice(t, this.pos), ++this.pos, i) {
3600
- case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos;
3601
- case 10:
3602
- e += `
3603
- `;
3604
- break;
3605
- default:
3606
- e += String.fromCharCode(i);
3607
- break;
3608
- }
3609
- this.options.locations && (++this.curLine, this.lineStart = this.pos), t = this.pos;
3610
- } else ++this.pos;
3611
- }
3612
- };
3613
- b.readInvalidTemplateToken = function() {
3614
- for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
3615
- case "\\":
3616
- ++this.pos;
3617
- break;
3618
- case "$": if (this.input[this.pos + 1] !== "{") break;
3619
- case "`": return this.finishToken(a.invalidTemplate, this.input.slice(this.start, this.pos));
3620
- case "\r": this.input[this.pos + 1] === `
3621
- ` && ++this.pos;
3622
- case `
3623
- `:
3624
- case "\u2028":
3625
- case "\u2029":
3626
- ++this.curLine, this.lineStart = this.pos + 1;
3627
- break;
3628
- }
3629
- this.raise(this.start, "Unterminated template");
3630
- };
3631
- b.readEscapedChar = function(e) {
3632
- var t = this.input.charCodeAt(++this.pos);
3633
- switch (++this.pos, t) {
3634
- case 110: return `
3635
- `;
3636
- case 114: return "\r";
3637
- case 120: return String.fromCharCode(this.readHexChar(2));
3638
- case 117: return q(this.readCodePoint());
3639
- case 116: return " ";
3640
- case 98: return "\b";
3641
- case 118: return "\v";
3642
- case 102: return "\f";
3643
- case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos;
3644
- case 10: return this.options.locations && (this.lineStart = this.pos, ++this.curLine), "";
3645
- case 56:
3646
- case 57: if (this.strict && this.invalidStringToken(this.pos - 1, "Invalid escape sequence"), e) {
3647
- var i = this.pos - 1;
3648
- this.invalidStringToken(i, "Invalid escape sequence in template string");
3649
- }
3650
- default:
3651
- if (t >= 48 && t <= 55) {
3652
- var s = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], r = parseInt(s, 8);
3653
- return r > 255 && (s = s.slice(0, -1), r = parseInt(s, 8)), this.pos += s.length - 1, t = this.input.charCodeAt(this.pos), (s !== "0" || t === 56 || t === 57) && (this.strict || e) && this.invalidStringToken(this.pos - 1 - s.length, e ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(r);
3654
- }
3655
- return Y(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3656
- }
3657
- };
3658
- b.readHexChar = function(e) {
3659
- var t = this.pos, i = this.readInt(16, e);
3660
- return i === null && this.invalidStringToken(t, "Bad character escape sequence"), i;
3661
- };
3662
- b.readWord1 = function() {
3663
- this.containsEsc = !1;
3664
- for (var e = "", t = !0, i = this.pos, s = this.options.ecmaVersion >= 6; this.pos < this.input.length;) {
3665
- var r = this.fullCharCodeAtPos();
3666
- if (X(r, s)) this.pos += r <= 65535 ? 1 : 2;
3667
- else if (r === 92) {
3668
- this.containsEsc = !0, e += this.input.slice(i, this.pos);
3669
- var o = this.pos;
3670
- this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3671
- var u = this.readCodePoint();
3672
- (t ? j : X)(u, s) || this.invalidStringToken(o, "Invalid Unicode escape"), e += q(u), i = this.pos;
3673
- } else break;
3674
- t = !1;
3675
- }
3676
- return e + this.input.slice(i, this.pos);
3677
- };
3678
- b.readWord = function() {
3679
- var e = this.readWord1(), t = a.name;
3680
- return this.keywords.test(e) && (t = Je[e]), this.finishToken(t, e);
3681
- };
3682
- A.acorn = {
3683
- Parser: A,
3684
- version: "8.15.0",
3685
- defaultOptions: Ue,
3686
- Position: ne,
3687
- SourceLocation: be,
3688
- getLineInfo: vt,
3689
- Node: Te,
3690
- TokenType: C,
3691
- tokTypes: a,
3692
- keywordTypes: Je,
3693
- TokContext: F,
3694
- tokContexts: T,
3695
- isIdentifierChar: X,
3696
- isIdentifierStart: j,
3697
- Token: Qe,
3698
- isNewLine: Y,
3699
- lineBreak: L,
3700
- lineBreakG: qi,
3701
- nonASCIIwhitespace: yt
3702
- };
3703
- var Si = ut($e(), 1);
3704
- function As(e, t) {
3705
- let i = /* @__PURE__ */ new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
3706
- return Object.assign(i, t);
3707
- }
3708
- var Ae = As;
3709
- function ke(e) {
3710
- let t = [];
3711
- for (let i of e) try {
3712
- return i();
3713
- } catch (s) {
3714
- t.push(s);
3715
- }
3716
- throw Object.assign(/* @__PURE__ */ new Error("All combinations failed"), { errors: t });
3717
- }
3718
- var te = (e, t) => (i, s, ...r) => i | 1 && s == null ? void 0 : (t.call(s) ?? s[e]).apply(s, r);
3719
- var ks = Array.prototype.findLast ?? function(e) {
3720
- for (let t = this.length - 1; t >= 0; t--) {
3721
- let i = this[t];
3722
- if (e(i, t, this)) return i;
3723
- }
3724
- }, Zt = te("findLast", function() {
3725
- if (Array.isArray(this)) return ks;
3726
- });
3727
- function Ps(e) {
3728
- return this[e < 0 ? this.length + e : e];
3729
- }
3730
- var ie = te("at", function() {
3731
- if (Array.isArray(this) || typeof this == "string") return Ps;
3732
- });
3733
- function M(e) {
3734
- let t = e.range?.[0] ?? e.start, i = (e.declaration?.decorators ?? e.decorators)?.[0];
3735
- return i ? Math.min(M(i), t) : t;
3736
- }
3737
- function R(e) {
3738
- return e.range?.[1] ?? e.end;
3739
- }
3740
- function Ns(e) {
3741
- let t = new Set(e);
3742
- return (i) => t.has(i?.type);
3743
- }
3744
- var se = Ns;
3745
- var re = se([
3746
- "Block",
3747
- "CommentBlock",
3748
- "MultiLine"
3749
- ]);
3750
- var ei = se([
3751
- "Line",
3752
- "CommentLine",
3753
- "SingleLine",
3754
- "HashbangComment",
3755
- "HTMLOpen",
3756
- "HTMLClose",
3757
- "Hashbang",
3758
- "InterpreterDirective"
3759
- ]);
3760
- var Ze = /* @__PURE__ */ new WeakMap();
3761
- function Vs(e) {
3762
- return Ze.has(e) || Ze.set(e, re(e) && e.value[0] === "*" && /@(?:type|satisfies)\b/u.test(e.value)), Ze.get(e);
3763
- }
3764
- var ti = Vs;
3765
- function Os(e) {
3766
- if (!re(e)) return !1;
3767
- let t = `*${e.value}*`.split(`
3768
- `);
3769
- return t.length > 1 && t.every((i) => i.trimStart()[0] === "*");
3770
- }
3771
- var et = /* @__PURE__ */ new WeakMap();
3772
- function Bs(e) {
3773
- return et.has(e) || et.set(e, Os(e)), et.get(e);
3774
- }
3775
- var tt = Bs;
3776
- function Ds(e) {
3777
- if (e.length < 2) return;
3778
- let t;
3779
- for (let i = e.length - 1; i >= 0; i--) {
3780
- let s = e[i];
3781
- if (t && R(s) === M(t) && tt(s) && tt(t) && (e.splice(i + 1, 1), s.value += "*//*" + t.value, s.range = [M(s), R(t)]), !ei(s) && !re(s)) throw new TypeError(`Unknown comment type: "${s.type}".`);
3782
- t = s;
3783
- }
3784
- }
3785
- var ii = Ds;
3786
- function Ms(e) {
3787
- return e !== null && typeof e == "object";
3788
- }
3789
- var si = Ms;
3790
- var ce = null;
3791
- function le(e) {
3792
- if (ce !== null && typeof ce.property) {
3793
- let t = ce;
3794
- return ce = le.prototype = null, t;
3795
- }
3796
- return ce = le.prototype = e ?? Object.create(null), new le();
3797
- }
3798
- var Fs = 10;
3799
- for (let e = 0; e <= Fs; e++) le();
3800
- function it(e) {
3801
- return le(e);
3802
- }
3803
- function js(e, t = "type") {
3804
- it(e);
3805
- function i(s) {
3806
- let r = s[t], o = e[r];
3807
- if (!Array.isArray(o)) throw Object.assign(/* @__PURE__ */ new Error(`Missing visitor keys for '${r}'.`), { node: s });
3808
- return o;
3809
- }
3810
- return i;
3811
- }
3812
- var ri = js;
3813
- var n = [
3814
- [
3815
- "decorators",
3816
- "key",
3817
- "typeAnnotation",
3818
- "value"
3819
- ],
3820
- [],
3821
- ["elementType"],
3822
- ["expression"],
3823
- ["expression", "typeAnnotation"],
3824
- ["left", "right"],
3825
- ["argument"],
3826
- ["directives", "body"],
3827
- ["label"],
3828
- [
3829
- "callee",
3830
- "typeArguments",
3831
- "arguments"
3832
- ],
3833
- ["body"],
3834
- [
3835
- "decorators",
3836
- "id",
3837
- "typeParameters",
3838
- "superClass",
3839
- "superTypeArguments",
3840
- "mixins",
3841
- "implements",
3842
- "body",
3843
- "superTypeParameters"
3844
- ],
3845
- ["id", "typeParameters"],
3846
- [
3847
- "decorators",
3848
- "key",
3849
- "typeParameters",
3850
- "params",
3851
- "returnType",
3852
- "body"
3853
- ],
3854
- [
3855
- "decorators",
3856
- "variance",
3857
- "key",
3858
- "typeAnnotation",
3859
- "value"
3860
- ],
3861
- ["name", "typeAnnotation"],
3862
- [
3863
- "test",
3864
- "consequent",
3865
- "alternate"
3866
- ],
3867
- [
3868
- "checkType",
3869
- "extendsType",
3870
- "trueType",
3871
- "falseType"
3872
- ],
3873
- ["value"],
3874
- ["id", "body"],
3875
- [
3876
- "declaration",
3877
- "specifiers",
3878
- "source",
3879
- "attributes"
3880
- ],
3881
- ["id"],
3882
- [
3883
- "id",
3884
- "typeParameters",
3885
- "extends",
3886
- "body"
3887
- ],
3888
- ["typeAnnotation"],
3889
- [
3890
- "id",
3891
- "typeParameters",
3892
- "right"
3893
- ],
3894
- ["body", "test"],
3895
- ["members"],
3896
- ["id", "init"],
3897
- ["exported"],
3898
- [
3899
- "left",
3900
- "right",
3901
- "body"
3902
- ],
3903
- [
3904
- "id",
3905
- "typeParameters",
3906
- "params",
3907
- "predicate",
3908
- "returnType",
3909
- "body"
3910
- ],
3911
- [
3912
- "id",
3913
- "params",
3914
- "body",
3915
- "typeParameters",
3916
- "returnType"
3917
- ],
3918
- ["key", "value"],
3919
- ["local"],
3920
- ["objectType", "indexType"],
3921
- ["typeParameter"],
3922
- ["types"],
3923
- ["node"],
3924
- ["object", "property"],
3925
- ["argument", "cases"],
3926
- [
3927
- "pattern",
3928
- "body",
3929
- "guard"
3930
- ],
3931
- ["literal"],
3932
- [
3933
- "decorators",
3934
- "key",
3935
- "value"
3936
- ],
3937
- ["expressions"],
3938
- ["qualification", "id"],
3939
- [
3940
- "decorators",
3941
- "key",
3942
- "typeAnnotation"
3943
- ],
3944
- [
3945
- "typeParameters",
3946
- "params",
3947
- "returnType"
3948
- ],
3949
- ["expression", "typeArguments"],
3950
- ["params"],
3951
- ["parameterName", "typeAnnotation"]
3952
- ];
3953
- var ni = ri({
3954
- AccessorProperty: n[0],
3955
- AnyTypeAnnotation: n[1],
3956
- ArgumentPlaceholder: n[1],
3957
- ArrayExpression: ["elements"],
3958
- ArrayPattern: [
3959
- "elements",
3960
- "typeAnnotation",
3961
- "decorators"
3962
- ],
3963
- ArrayTypeAnnotation: n[2],
3964
- ArrowFunctionExpression: [
3965
- "typeParameters",
3966
- "params",
3967
- "predicate",
3968
- "returnType",
3969
- "body"
3970
- ],
3971
- AsConstExpression: n[3],
3972
- AsExpression: n[4],
3973
- AssignmentExpression: n[5],
3974
- AssignmentPattern: [
3975
- "left",
3976
- "right",
3977
- "decorators",
3978
- "typeAnnotation"
3979
- ],
3980
- AwaitExpression: n[6],
3981
- BigIntLiteral: n[1],
3982
- BigIntLiteralTypeAnnotation: n[1],
3983
- BigIntTypeAnnotation: n[1],
3984
- BinaryExpression: n[5],
3985
- BindExpression: ["object", "callee"],
3986
- BlockStatement: n[7],
3987
- BooleanLiteral: n[1],
3988
- BooleanLiteralTypeAnnotation: n[1],
3989
- BooleanTypeAnnotation: n[1],
3990
- BreakStatement: n[8],
3991
- CallExpression: n[9],
3992
- CatchClause: ["param", "body"],
3993
- ChainExpression: n[3],
3994
- ClassAccessorProperty: n[0],
3995
- ClassBody: n[10],
3996
- ClassDeclaration: n[11],
3997
- ClassExpression: n[11],
3998
- ClassImplements: n[12],
3999
- ClassMethod: n[13],
4000
- ClassPrivateMethod: n[13],
4001
- ClassPrivateProperty: n[14],
4002
- ClassProperty: n[14],
4003
- ComponentDeclaration: [
4004
- "id",
4005
- "params",
4006
- "body",
4007
- "typeParameters",
4008
- "rendersType"
4009
- ],
4010
- ComponentParameter: ["name", "local"],
4011
- ComponentTypeAnnotation: [
4012
- "params",
4013
- "rest",
4014
- "typeParameters",
4015
- "rendersType"
4016
- ],
4017
- ComponentTypeParameter: n[15],
4018
- ConditionalExpression: n[16],
4019
- ConditionalTypeAnnotation: n[17],
4020
- ContinueStatement: n[8],
4021
- DebuggerStatement: n[1],
4022
- DeclareClass: [
4023
- "id",
4024
- "typeParameters",
4025
- "extends",
4026
- "mixins",
4027
- "implements",
4028
- "body"
4029
- ],
4030
- DeclareComponent: [
4031
- "id",
4032
- "params",
4033
- "rest",
4034
- "typeParameters",
4035
- "rendersType"
4036
- ],
4037
- DeclaredPredicate: n[18],
4038
- DeclareEnum: n[19],
4039
- DeclareExportAllDeclaration: ["source", "attributes"],
4040
- DeclareExportDeclaration: n[20],
4041
- DeclareFunction: ["id", "predicate"],
4042
- DeclareHook: n[21],
4043
- DeclareInterface: n[22],
4044
- DeclareModule: n[19],
4045
- DeclareModuleExports: n[23],
4046
- DeclareNamespace: n[19],
4047
- DeclareOpaqueType: [
4048
- "id",
4049
- "typeParameters",
4050
- "supertype",
4051
- "lowerBound",
4052
- "upperBound"
4053
- ],
4054
- DeclareTypeAlias: n[24],
4055
- DeclareVariable: n[21],
4056
- Decorator: n[3],
4057
- Directive: n[18],
4058
- DirectiveLiteral: n[1],
4059
- DoExpression: n[10],
4060
- DoWhileStatement: n[25],
4061
- EmptyStatement: n[1],
4062
- EmptyTypeAnnotation: n[1],
4063
- EnumBigIntBody: n[26],
4064
- EnumBigIntMember: n[27],
4065
- EnumBooleanBody: n[26],
4066
- EnumBooleanMember: n[27],
4067
- EnumDeclaration: n[19],
4068
- EnumDefaultedMember: n[21],
4069
- EnumNumberBody: n[26],
4070
- EnumNumberMember: n[27],
4071
- EnumStringBody: n[26],
4072
- EnumStringMember: n[27],
4073
- EnumSymbolBody: n[26],
4074
- ExistsTypeAnnotation: n[1],
4075
- ExperimentalRestProperty: n[6],
4076
- ExperimentalSpreadProperty: n[6],
4077
- ExportAllDeclaration: [
4078
- "source",
4079
- "attributes",
4080
- "exported"
4081
- ],
4082
- ExportDefaultDeclaration: ["declaration"],
4083
- ExportDefaultSpecifier: n[28],
4084
- ExportNamedDeclaration: n[20],
4085
- ExportNamespaceSpecifier: n[28],
4086
- ExportSpecifier: ["local", "exported"],
4087
- ExpressionStatement: n[3],
4088
- File: ["program"],
4089
- ForInStatement: n[29],
4090
- ForOfStatement: n[29],
4091
- ForStatement: [
4092
- "init",
4093
- "test",
4094
- "update",
4095
- "body"
4096
- ],
4097
- FunctionDeclaration: n[30],
4098
- FunctionExpression: n[30],
4099
- FunctionTypeAnnotation: [
4100
- "typeParameters",
4101
- "this",
4102
- "params",
4103
- "rest",
4104
- "returnType"
4105
- ],
4106
- FunctionTypeParam: n[15],
4107
- GenericTypeAnnotation: n[12],
4108
- HookDeclaration: n[31],
4109
- HookTypeAnnotation: [
4110
- "params",
4111
- "returnType",
4112
- "rest",
4113
- "typeParameters"
4114
- ],
4115
- Identifier: ["typeAnnotation", "decorators"],
4116
- IfStatement: n[16],
4117
- ImportAttribute: n[32],
4118
- ImportDeclaration: [
4119
- "specifiers",
4120
- "source",
4121
- "attributes"
4122
- ],
4123
- ImportDefaultSpecifier: n[33],
4124
- ImportExpression: ["source", "options"],
4125
- ImportNamespaceSpecifier: n[33],
4126
- ImportSpecifier: ["imported", "local"],
4127
- IndexedAccessType: n[34],
4128
- InferredPredicate: n[1],
4129
- InferTypeAnnotation: n[35],
4130
- InterfaceDeclaration: n[22],
4131
- InterfaceExtends: n[12],
4132
- InterfaceTypeAnnotation: ["extends", "body"],
4133
- InterpreterDirective: n[1],
4134
- IntersectionTypeAnnotation: n[36],
4135
- JsExpressionRoot: n[37],
4136
- JsonRoot: n[37],
4137
- JSXAttribute: ["name", "value"],
4138
- JSXClosingElement: ["name"],
4139
- JSXClosingFragment: n[1],
4140
- JSXElement: [
4141
- "openingElement",
4142
- "children",
4143
- "closingElement"
4144
- ],
4145
- JSXEmptyExpression: n[1],
4146
- JSXExpressionContainer: n[3],
4147
- JSXFragment: [
4148
- "openingFragment",
4149
- "children",
4150
- "closingFragment"
4151
- ],
4152
- JSXIdentifier: n[1],
4153
- JSXMemberExpression: n[38],
4154
- JSXNamespacedName: ["namespace", "name"],
4155
- JSXOpeningElement: [
4156
- "name",
4157
- "typeArguments",
4158
- "attributes"
4159
- ],
4160
- JSXOpeningFragment: n[1],
4161
- JSXSpreadAttribute: n[6],
4162
- JSXSpreadChild: n[3],
4163
- JSXText: n[1],
4164
- KeyofTypeAnnotation: n[6],
4165
- LabeledStatement: ["label", "body"],
4166
- Literal: n[1],
4167
- LogicalExpression: n[5],
4168
- MatchArrayPattern: ["elements", "rest"],
4169
- MatchAsPattern: ["pattern", "target"],
4170
- MatchBindingPattern: n[21],
4171
- MatchExpression: n[39],
4172
- MatchExpressionCase: n[40],
4173
- MatchIdentifierPattern: n[21],
4174
- MatchLiteralPattern: n[41],
4175
- MatchMemberPattern: ["base", "property"],
4176
- MatchObjectPattern: ["properties", "rest"],
4177
- MatchObjectPatternProperty: ["key", "pattern"],
4178
- MatchOrPattern: ["patterns"],
4179
- MatchRestPattern: n[6],
4180
- MatchStatement: n[39],
4181
- MatchStatementCase: n[40],
4182
- MatchUnaryPattern: n[6],
4183
- MatchWildcardPattern: n[1],
4184
- MemberExpression: n[38],
4185
- MetaProperty: ["meta", "property"],
4186
- MethodDefinition: n[42],
4187
- MixedTypeAnnotation: n[1],
4188
- ModuleExpression: n[10],
4189
- NeverTypeAnnotation: n[1],
4190
- NewExpression: n[9],
4191
- NGChainedExpression: n[43],
4192
- NGEmptyExpression: n[1],
4193
- NGMicrosyntax: n[10],
4194
- NGMicrosyntaxAs: ["key", "alias"],
4195
- NGMicrosyntaxExpression: ["expression", "alias"],
4196
- NGMicrosyntaxKey: n[1],
4197
- NGMicrosyntaxKeyedExpression: ["key", "expression"],
4198
- NGMicrosyntaxLet: n[32],
4199
- NGPipeExpression: [
4200
- "left",
4201
- "right",
4202
- "arguments"
4203
- ],
4204
- NGRoot: n[37],
4205
- NullableTypeAnnotation: n[23],
4206
- NullLiteral: n[1],
4207
- NullLiteralTypeAnnotation: n[1],
4208
- NumberLiteralTypeAnnotation: n[1],
4209
- NumberTypeAnnotation: n[1],
4210
- NumericLiteral: n[1],
4211
- ObjectExpression: ["properties"],
4212
- ObjectMethod: n[13],
4213
- ObjectPattern: [
4214
- "decorators",
4215
- "properties",
4216
- "typeAnnotation"
4217
- ],
4218
- ObjectProperty: n[42],
4219
- ObjectTypeAnnotation: [
4220
- "properties",
4221
- "indexers",
4222
- "callProperties",
4223
- "internalSlots"
4224
- ],
4225
- ObjectTypeCallProperty: n[18],
4226
- ObjectTypeIndexer: [
4227
- "variance",
4228
- "id",
4229
- "key",
4230
- "value"
4231
- ],
4232
- ObjectTypeInternalSlot: ["id", "value"],
4233
- ObjectTypeMappedTypeProperty: [
4234
- "keyTparam",
4235
- "propType",
4236
- "sourceType",
4237
- "variance"
4238
- ],
4239
- ObjectTypeProperty: [
4240
- "key",
4241
- "value",
4242
- "variance"
4243
- ],
4244
- ObjectTypeSpreadProperty: n[6],
4245
- OpaqueType: [
4246
- "id",
4247
- "typeParameters",
4248
- "supertype",
4249
- "impltype",
4250
- "lowerBound",
4251
- "upperBound"
4252
- ],
4253
- OptionalCallExpression: n[9],
4254
- OptionalIndexedAccessType: n[34],
4255
- OptionalMemberExpression: n[38],
4256
- ParenthesizedExpression: n[3],
4257
- PipelineBareFunction: ["callee"],
4258
- PipelinePrimaryTopicReference: n[1],
4259
- PipelineTopicExpression: n[3],
4260
- Placeholder: n[1],
4261
- PrivateIdentifier: n[1],
4262
- PrivateName: n[21],
4263
- Program: n[7],
4264
- Property: n[32],
4265
- PropertyDefinition: n[14],
4266
- QualifiedTypeIdentifier: n[44],
4267
- QualifiedTypeofIdentifier: n[44],
4268
- RegExpLiteral: n[1],
4269
- RestElement: [
4270
- "argument",
4271
- "typeAnnotation",
4272
- "decorators"
4273
- ],
4274
- ReturnStatement: n[6],
4275
- SatisfiesExpression: n[4],
4276
- SequenceExpression: n[43],
4277
- SpreadElement: n[6],
4278
- StaticBlock: n[10],
4279
- StringLiteral: n[1],
4280
- StringLiteralTypeAnnotation: n[1],
4281
- StringTypeAnnotation: n[1],
4282
- Super: n[1],
4283
- SwitchCase: ["test", "consequent"],
4284
- SwitchStatement: ["discriminant", "cases"],
4285
- SymbolTypeAnnotation: n[1],
4286
- TaggedTemplateExpression: [
4287
- "tag",
4288
- "typeArguments",
4289
- "quasi"
4290
- ],
4291
- TemplateElement: n[1],
4292
- TemplateLiteral: ["quasis", "expressions"],
4293
- ThisExpression: n[1],
4294
- ThisTypeAnnotation: n[1],
4295
- ThrowStatement: n[6],
4296
- TopicReference: n[1],
4297
- TryStatement: [
4298
- "block",
4299
- "handler",
4300
- "finalizer"
4301
- ],
4302
- TSAbstractAccessorProperty: n[45],
4303
- TSAbstractKeyword: n[1],
4304
- TSAbstractMethodDefinition: n[32],
4305
- TSAbstractPropertyDefinition: n[45],
4306
- TSAnyKeyword: n[1],
4307
- TSArrayType: n[2],
4308
- TSAsExpression: n[4],
4309
- TSAsyncKeyword: n[1],
4310
- TSBigIntKeyword: n[1],
4311
- TSBooleanKeyword: n[1],
4312
- TSCallSignatureDeclaration: n[46],
4313
- TSClassImplements: n[47],
4314
- TSConditionalType: n[17],
4315
- TSConstructorType: n[46],
4316
- TSConstructSignatureDeclaration: n[46],
4317
- TSDeclareFunction: n[31],
4318
- TSDeclareKeyword: n[1],
4319
- TSDeclareMethod: [
4320
- "decorators",
4321
- "key",
4322
- "typeParameters",
4323
- "params",
4324
- "returnType"
4325
- ],
4326
- TSEmptyBodyFunctionExpression: [
4327
- "id",
4328
- "typeParameters",
4329
- "params",
4330
- "returnType"
4331
- ],
4332
- TSEnumBody: n[26],
4333
- TSEnumDeclaration: n[19],
4334
- TSEnumMember: ["id", "initializer"],
4335
- TSExportAssignment: n[3],
4336
- TSExportKeyword: n[1],
4337
- TSExternalModuleReference: n[3],
4338
- TSFunctionType: n[46],
4339
- TSImportEqualsDeclaration: ["id", "moduleReference"],
4340
- TSImportType: [
4341
- "options",
4342
- "qualifier",
4343
- "typeArguments",
4344
- "source"
4345
- ],
4346
- TSIndexedAccessType: n[34],
4347
- TSIndexSignature: ["parameters", "typeAnnotation"],
4348
- TSInferType: n[35],
4349
- TSInstantiationExpression: n[47],
4350
- TSInterfaceBody: n[10],
4351
- TSInterfaceDeclaration: n[22],
4352
- TSInterfaceHeritage: n[47],
4353
- TSIntersectionType: n[36],
4354
- TSIntrinsicKeyword: n[1],
4355
- TSJSDocAllType: n[1],
4356
- TSJSDocNonNullableType: n[23],
4357
- TSJSDocNullableType: n[23],
4358
- TSJSDocUnknownType: n[1],
4359
- TSLiteralType: n[41],
4360
- TSMappedType: [
4361
- "key",
4362
- "constraint",
4363
- "nameType",
4364
- "typeAnnotation"
4365
- ],
4366
- TSMethodSignature: [
4367
- "key",
4368
- "typeParameters",
4369
- "params",
4370
- "returnType"
4371
- ],
4372
- TSModuleBlock: n[10],
4373
- TSModuleDeclaration: n[19],
4374
- TSNamedTupleMember: ["label", "elementType"],
4375
- TSNamespaceExportDeclaration: n[21],
4376
- TSNeverKeyword: n[1],
4377
- TSNonNullExpression: n[3],
4378
- TSNullKeyword: n[1],
4379
- TSNumberKeyword: n[1],
4380
- TSObjectKeyword: n[1],
4381
- TSOptionalType: n[23],
4382
- TSParameterProperty: ["parameter", "decorators"],
4383
- TSParenthesizedType: n[23],
4384
- TSPrivateKeyword: n[1],
4385
- TSPropertySignature: ["key", "typeAnnotation"],
4386
- TSProtectedKeyword: n[1],
4387
- TSPublicKeyword: n[1],
4388
- TSQualifiedName: n[5],
4389
- TSReadonlyKeyword: n[1],
4390
- TSRestType: n[23],
4391
- TSSatisfiesExpression: n[4],
4392
- TSStaticKeyword: n[1],
4393
- TSStringKeyword: n[1],
4394
- TSSymbolKeyword: n[1],
4395
- TSTemplateLiteralType: ["quasis", "types"],
4396
- TSThisType: n[1],
4397
- TSTupleType: ["elementTypes"],
4398
- TSTypeAliasDeclaration: [
4399
- "id",
4400
- "typeParameters",
4401
- "typeAnnotation"
4402
- ],
4403
- TSTypeAnnotation: n[23],
4404
- TSTypeAssertion: n[4],
4405
- TSTypeLiteral: n[26],
4406
- TSTypeOperator: n[23],
4407
- TSTypeParameter: [
4408
- "name",
4409
- "constraint",
4410
- "default"
4411
- ],
4412
- TSTypeParameterDeclaration: n[48],
4413
- TSTypeParameterInstantiation: n[48],
4414
- TSTypePredicate: n[49],
4415
- TSTypeQuery: ["exprName", "typeArguments"],
4416
- TSTypeReference: ["typeName", "typeArguments"],
4417
- TSUndefinedKeyword: n[1],
4418
- TSUnionType: n[36],
4419
- TSUnknownKeyword: n[1],
4420
- TSVoidKeyword: n[1],
4421
- TupleTypeAnnotation: ["types", "elementTypes"],
4422
- TupleTypeLabeledElement: [
4423
- "label",
4424
- "elementType",
4425
- "variance"
4426
- ],
4427
- TupleTypeSpreadElement: ["label", "typeAnnotation"],
4428
- TypeAlias: n[24],
4429
- TypeAnnotation: n[23],
4430
- TypeCastExpression: n[4],
4431
- TypeofTypeAnnotation: ["argument", "typeArguments"],
4432
- TypeOperator: n[23],
4433
- TypeParameter: [
4434
- "bound",
4435
- "default",
4436
- "variance"
4437
- ],
4438
- TypeParameterDeclaration: n[48],
4439
- TypeParameterInstantiation: n[48],
4440
- TypePredicate: n[49],
4441
- UnaryExpression: n[6],
4442
- UndefinedTypeAnnotation: n[1],
4443
- UnionTypeAnnotation: n[36],
4444
- UnknownTypeAnnotation: n[1],
4445
- UpdateExpression: n[6],
4446
- V8IntrinsicIdentifier: n[1],
4447
- VariableDeclaration: ["declarations"],
4448
- VariableDeclarator: n[27],
4449
- Variance: n[1],
4450
- VoidPattern: n[1],
4451
- VoidTypeAnnotation: n[1],
4452
- WhileStatement: n[25],
4453
- WithStatement: ["object", "body"],
4454
- YieldExpression: n[6]
4455
- });
4456
- function we(e, t) {
4457
- if (!si(e)) return e;
4458
- if (Array.isArray(e)) {
4459
- for (let s = 0; s < e.length; s++) e[s] = we(e[s], t);
4460
- return e;
4461
- }
4462
- if (t.onEnter) {
4463
- let s = t.onEnter(e) ?? e;
4464
- if (s !== e) return we(s, t);
4465
- e = s;
4466
- }
4467
- let i = ni(e);
4468
- for (let s = 0; s < i.length; s++) e[i[s]] = we(e[i[s]], t);
4469
- return t.onLeave && (e = t.onLeave(e) || e), e;
4470
- }
4471
- var oi = we;
4472
- se([
4473
- "RegExpLiteral",
4474
- "BigIntLiteral",
4475
- "NumericLiteral",
4476
- "StringLiteral",
4477
- "DirectiveLiteral",
4478
- "Literal",
4479
- "JSXText",
4480
- "TemplateElement",
4481
- "StringLiteralTypeAnnotation",
4482
- "NumberLiteralTypeAnnotation",
4483
- "BigIntLiteralTypeAnnotation"
4484
- ]);
4485
- function Gs(e, t) {
4486
- let { parser: i, text: s } = t, { comments: r } = e, o = i === "oxc" && t.oxcAstType === "ts";
4487
- ii(r);
4488
- let u = e.type === "File" ? e.program : e;
4489
- u.interpreter && (r.unshift(u.interpreter), delete u.interpreter), o && e.hashbang && (r.unshift(e.hashbang), delete e.hashbang), e.type === "Program" && (e.range = [0, s.length]);
4490
- let p;
4491
- return e = oi(e, {
4492
- onEnter(h) {
4493
- switch (h.type) {
4494
- case "ParenthesizedExpression": {
4495
- let { expression: l } = h, m = M(h);
4496
- if (l.type === "TypeCastExpression") return l.range = [m, R(h)], l;
4497
- let S = !1;
4498
- if (!o) {
4499
- if (!p) {
4500
- p = [];
4501
- for (let c of r) ti(c) && p.push(R(c));
4502
- }
4503
- let E = Zt(0, p, (c) => c <= m);
4504
- S = E && s.slice(E, m).trim().length === 0;
4505
- }
4506
- return S ? void 0 : (l.extra = {
4507
- ...l.extra,
4508
- parenthesized: !0
4509
- }, l);
4510
- }
4511
- case "TemplateLiteral":
4512
- if (h.expressions.length !== h.quasis.length - 1) throw new Error("Malformed template literal.");
4513
- break;
4514
- case "TemplateElement":
4515
- if (i === "flow" || i === "hermes" || i === "espree" || i === "typescript" || o) h.range = [M(h) + 1, R(h) - (h.tail ? 1 : 2)];
4516
- break;
4517
- case "VariableDeclaration": {
4518
- let l = ie(0, h.declarations, -1);
4519
- l?.init && s[R(l)] !== ";" && (h.range = [M(h), R(l)]);
4520
- break;
4521
- }
4522
- case "TSParenthesizedType": return h.typeAnnotation;
4523
- case "TopicReference":
4524
- e.extra = {
4525
- ...e.extra,
4526
- __isUsingHackPipeline: !0
4527
- };
4528
- break;
4529
- case "TSUnionType":
4530
- case "TSIntersectionType":
4531
- if (h.types.length === 1) return h.types[0];
4532
- break;
4533
- case "ImportExpression":
4534
- i === "hermes" && h.attributes && !h.options && (h.options = h.attributes);
4535
- break;
4536
- }
4537
- },
4538
- onLeave(h) {
4539
- switch (h.type) {
4540
- case "LogicalExpression":
4541
- if (ui(h)) return st(h);
4542
- break;
4543
- case "TSImportType":
4544
- !h.source && h.argument.type === "TSLiteralType" && (h.source = h.argument.literal, delete h.argument);
4545
- break;
4546
- }
4547
- }
4548
- }), e;
4549
- }
4550
- function ui(e) {
4551
- return e.type === "LogicalExpression" && e.right.type === "LogicalExpression" && e.operator === e.right.operator;
4552
- }
4553
- function st(e) {
4554
- return ui(e) ? st({
4555
- type: "LogicalExpression",
4556
- operator: e.operator,
4557
- left: st({
4558
- type: "LogicalExpression",
4559
- operator: e.operator,
4560
- left: e.left,
4561
- right: e.right.left,
4562
- range: [M(e.left), R(e.right.left)]
4563
- }),
4564
- right: e.right.right,
4565
- range: [M(e), R(e)]
4566
- }) : e;
4567
- }
4568
- var Pe = Gs;
4569
- var qs = String.prototype.replaceAll ?? function(e, t) {
4570
- return e.global ? this.replace(e, t) : this.split(e).join(t);
4571
- }, fe = te("replaceAll", function() {
4572
- if (typeof this == "string") return qs;
4573
- });
4574
- var Ks = /\*\/$/, Hs = /^\/\*\*?/, Xs = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/, Ws = /(^|\s+)\/\/([^\n\r]*)/g, hi = /^(\r?\n)+/, zs = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g, pi = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g, Qs = /(\r?\n|^) *\* ?/g, Ys = [];
4575
- function ci(e) {
4576
- let t = e.match(Xs);
4577
- return t ? t[0].trimStart() : "";
4578
- }
4579
- function li(e) {
4580
- e = fe(0, e.replace(Hs, "").replace(Ks, ""), Qs, "$1");
4581
- let i = "";
4582
- for (; i !== e;) i = e, e = fe(0, e, zs, `
4583
- $1 $2
4584
- `);
4585
- e = e.replace(hi, "").trimEnd();
4586
- let s = Object.create(null), r = fe(0, e, pi, "").replace(hi, "").trimEnd(), o;
4587
- for (; o = pi.exec(e);) {
4588
- let u = fe(0, o[2], Ws, "");
4589
- if (typeof s[o[1]] == "string" || Array.isArray(s[o[1]])) {
4590
- let p = s[o[1]];
4591
- s[o[1]] = [
4592
- ...Ys,
4593
- ...Array.isArray(p) ? p : [p],
4594
- u
4595
- ];
4596
- } else s[o[1]] = u;
4597
- }
4598
- return {
4599
- comments: r,
4600
- pragmas: s
4601
- };
4602
- }
4603
- var fi = ["noformat", "noprettier"], di = ["format", "prettier"];
4604
- function $s(e) {
4605
- if (!e.startsWith("#!")) return "";
4606
- let t = e.indexOf(`
4607
- `);
4608
- return t === -1 ? e : e.slice(0, t);
4609
- }
4610
- var mi = $s;
4611
- function xi(e) {
4612
- let t = mi(e);
4613
- t && (e = e.slice(t.length + 1));
4614
- let { pragmas: s, comments: r } = li(ci(e));
4615
- return {
4616
- shebang: t,
4617
- text: e,
4618
- pragmas: s,
4619
- comments: r
4620
- };
4621
- }
4622
- function yi(e) {
4623
- let { pragmas: t } = xi(e);
4624
- return di.some((i) => Object.prototype.hasOwnProperty.call(t, i));
4625
- }
4626
- function gi(e) {
4627
- let { pragmas: t } = xi(e);
4628
- return fi.some((i) => Object.prototype.hasOwnProperty.call(t, i));
4629
- }
4630
- function Zs(e) {
4631
- return e = typeof e == "function" ? { parse: e } : e, {
4632
- astFormat: "estree",
4633
- hasPragma: yi,
4634
- hasIgnorePragma: gi,
4635
- locStart: M,
4636
- locEnd: R,
4637
- ...e
4638
- };
4639
- }
4640
- var Ie = Zs;
4641
- var Ne = "module", vi = "script", Le = "commonjs", Re = [Ne, Le];
4642
- function Ve(e) {
4643
- if (typeof e == "string") {
4644
- if (e = e.toLowerCase(), /\.(?:mjs|mts)$/iu.test(e)) return Ne;
4645
- if (/\.(?:cjs|cts)$/iu.test(e)) return Le;
4646
- }
4647
- }
4648
- var er = {
4649
- ecmaVersion: "latest",
4650
- allowReserved: !0,
4651
- allowReturnOutsideFunction: !0,
4652
- allowSuperOutsideMethod: !0,
4653
- checkPrivateFields: !1,
4654
- locations: !1,
4655
- ranges: !0,
4656
- preserveParens: !0
4657
- };
4658
- function tr(e) {
4659
- let { message: t, loc: i } = e;
4660
- if (!i) return e;
4661
- let { line: s, column: r } = i;
4662
- return Ae(t.replace(/ \(\d+:\d+\)$/u, ""), {
4663
- loc: { start: {
4664
- line: s,
4665
- column: r + 1
4666
- } },
4667
- cause: e
4668
- });
4669
- }
4670
- var bi, ir = () => (bi ?? (bi = A.extend((0, Si.default)())), bi);
4671
- function sr(e, t) {
4672
- let i = ir(), s = [], r = i.parse(e, {
4673
- ...er,
4674
- sourceType: t === Le ? vi : t,
4675
- allowImportExportEverywhere: t === Ne,
4676
- onComment: s
4677
- });
4678
- return r.comments = s, r;
4679
- }
4680
- function rr(e, t) {
4681
- let i = Ve(t?.filepath), s = (i ? [i] : Re).map((o) => () => sr(e, o)), r;
4682
- try {
4683
- r = ke(s);
4684
- } catch ({ errors: [o] }) {
4685
- throw tr(o);
4686
- }
4687
- return Pe(r, { text: e });
4688
- }
4689
- var _i = Ie(rr);
4690
- var Ai = ut($e(), 1);
4691
- var P = {
4692
- Boolean: "Boolean",
4693
- EOF: "<end>",
4694
- Identifier: "Identifier",
4695
- PrivateIdentifier: "PrivateIdentifier",
4696
- Keyword: "Keyword",
4697
- Null: "Null",
4698
- Numeric: "Numeric",
4699
- Punctuator: "Punctuator",
4700
- String: "String",
4701
- RegularExpression: "RegularExpression",
4702
- Template: "Template",
4703
- JSXIdentifier: "JSXIdentifier",
4704
- JSXText: "JSXText"
4705
- };
4706
- function ar(e, t) {
4707
- let i = e[0], s = ie(0, e, -1), r = {
4708
- type: P.Template,
4709
- value: t.slice(i.start, s.end)
4710
- };
4711
- return i.loc && (r.loc = {
4712
- start: i.loc.start,
4713
- end: s.loc.end
4714
- }), i.range && (r.start = i.range[0], r.end = s.range[1], r.range = [r.start, r.end]), r;
4715
- }
4716
- function rt(e, t) {
4717
- this._acornTokTypes = e, this._tokens = [], this._curlyBrace = null, this._code = t;
4718
- }
4719
- rt.prototype = {
4720
- constructor: rt,
4721
- translate(e, t) {
4722
- let i = e.type, s = this._acornTokTypes;
4723
- if (i === s.name) e.type = P.Identifier, e.value === "static" && (e.type = P.Keyword), t.ecmaVersion > 5 && (e.value === "yield" || e.value === "let") && (e.type = P.Keyword);
4724
- else if (i === s.privateId) e.type = P.PrivateIdentifier;
4725
- else if (i === s.semi || i === s.comma || i === s.parenL || i === s.parenR || i === s.braceL || i === s.braceR || i === s.dot || i === s.bracketL || i === s.colon || i === s.question || i === s.bracketR || i === s.ellipsis || i === s.arrow || i === s.jsxTagStart || i === s.incDec || i === s.starstar || i === s.jsxTagEnd || i === s.prefix || i === s.questionDot || i.binop && !i.keyword || i.isAssign) e.type = P.Punctuator, e.value = this._code.slice(e.start, e.end);
4726
- else if (i === s.jsxName) e.type = P.JSXIdentifier;
4727
- else if (i.label === "jsxText" || i === s.jsxAttrValueToken) e.type = P.JSXText;
4728
- else if (i.keyword) i.keyword === "true" || i.keyword === "false" ? e.type = P.Boolean : i.keyword === "null" ? e.type = P.Null : e.type = P.Keyword;
4729
- else if (i === s.num) e.type = P.Numeric, e.value = this._code.slice(e.start, e.end);
4730
- else if (i === s.string) t.jsxAttrValueToken ? (t.jsxAttrValueToken = !1, e.type = P.JSXText) : e.type = P.String, e.value = this._code.slice(e.start, e.end);
4731
- else if (i === s.regexp) {
4732
- e.type = P.RegularExpression;
4733
- let r = e.value;
4734
- e.regex = {
4735
- flags: r.flags,
4736
- pattern: r.pattern
4737
- }, e.value = `/${r.pattern}/${r.flags}`;
4738
- }
4739
- return e;
4740
- },
4741
- onToken(e, t) {
4742
- let i = this._acornTokTypes, s = t.tokens, r = this._tokens, o = () => {
4743
- s.push(ar(this._tokens, this._code)), this._tokens = [];
4744
- };
4745
- if (e.type === i.eof) {
4746
- this._curlyBrace && s.push(this.translate(this._curlyBrace, t));
4747
- return;
4748
- }
4749
- if (e.type === i.backQuote) {
4750
- this._curlyBrace && (s.push(this.translate(this._curlyBrace, t)), this._curlyBrace = null), r.push(e), r.length > 1 && o();
4751
- return;
4752
- }
4753
- if (e.type === i.dollarBraceL) {
4754
- r.push(e), o();
4755
- return;
4756
- }
4757
- if (e.type === i.braceR) {
4758
- this._curlyBrace && s.push(this.translate(this._curlyBrace, t)), this._curlyBrace = e;
4759
- return;
4760
- }
4761
- if (e.type === i.template || e.type === i.invalidTemplate) {
4762
- this._curlyBrace && (r.push(this._curlyBrace), this._curlyBrace = null), r.push(e);
4763
- return;
4764
- }
4765
- this._curlyBrace && (s.push(this.translate(this._curlyBrace, t)), this._curlyBrace = null), s.push(this.translate(e, t));
4766
- }
4767
- };
4768
- var Ci = rt;
4769
- var Ti = [
4770
- 3,
4771
- 5,
4772
- 6,
4773
- 7,
4774
- 8,
4775
- 9,
4776
- 10,
4777
- 11,
4778
- 12,
4779
- 13,
4780
- 14,
4781
- 15,
4782
- 16,
4783
- 17
4784
- ];
4785
- function nr() {
4786
- return ie(0, Ti, -1);
4787
- }
4788
- function or(e = 5) {
4789
- let t = e === "latest" ? nr() : e;
4790
- if (typeof t != "number") throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e} instead.`);
4791
- if (t >= 2015 && (t -= 2009), !Ti.includes(t)) throw new Error("Invalid ecmaVersion.");
4792
- return t;
4793
- }
4794
- function ur(e = "script") {
4795
- if (e === "script" || e === "module") return e;
4796
- if (e === "commonjs") return "script";
4797
- throw new Error("Invalid sourceType.");
4798
- }
4799
- function Ei(e) {
4800
- let t = or(e.ecmaVersion), i = ur(e.sourceType), s = e.range === !0, r = e.loc === !0;
4801
- if (t !== 3 && e.allowReserved) throw new Error("`allowReserved` is only supported when ecmaVersion is 3");
4802
- if (typeof e.allowReserved < "u" && typeof e.allowReserved != "boolean") throw new Error("`allowReserved`, when present, must be `true` or `false`");
4803
- let o = t === 3 ? e.allowReserved || "never" : !1, u = e.ecmaFeatures || {}, p = e.sourceType === "commonjs" || !!u.globalReturn;
4804
- if (i === "module" && t < 6) throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");
4805
- return Object.assign({}, e, {
4806
- ecmaVersion: t,
4807
- sourceType: i,
4808
- ranges: s,
4809
- locations: r,
4810
- allowReserved: o,
4811
- allowReturnOutsideFunction: p
4812
- });
4813
- }
4814
- var Q = Symbol("espree's internal state"), at = Symbol("espree's esprimaFinishNode");
4815
- function hr(e, t, i, s, r, o, u) {
4816
- let p;
4817
- e ? p = "Block" : u.slice(i, i + 2) === "#!" ? p = "Hashbang" : p = "Line";
4818
- let h = {
4819
- type: p,
4820
- value: t
4821
- };
4822
- return typeof i == "number" && (h.start = i, h.end = s, h.range = [i, s]), typeof r == "object" && (h.loc = {
4823
- start: r,
4824
- end: o
4825
- }), h;
4826
- }
4827
- var nt = () => (e) => {
4828
- let t = Object.assign({}, e.acorn.tokTypes);
4829
- return e.acornJsx && Object.assign(t, e.acornJsx.tokTypes), class extends e {
4830
- constructor(s, r) {
4831
- (typeof s != "object" || s === null) && (s = {}), typeof r != "string" && !(r instanceof String) && (r = String(r));
4832
- let o = s.sourceType, u = Ei(s), p = u.ecmaFeatures || {}, h = u.tokens === !0 ? new Ci(t, r) : null, l = {
4833
- originalSourceType: o || u.sourceType,
4834
- tokens: h ? [] : null,
4835
- comments: u.comment === !0 ? [] : null,
4836
- impliedStrict: p.impliedStrict === !0 && u.ecmaVersion >= 5,
4837
- ecmaVersion: u.ecmaVersion,
4838
- jsxAttrValueToken: !1,
4839
- lastToken: null,
4840
- templateElements: []
4841
- };
4842
- super({
4843
- ecmaVersion: u.ecmaVersion,
4844
- sourceType: u.sourceType,
4845
- ranges: u.ranges,
4846
- locations: u.locations,
4847
- allowReserved: u.allowReserved,
4848
- allowReturnOutsideFunction: u.allowReturnOutsideFunction,
4849
- onToken(m) {
4850
- h && h.onToken(m, l), m.type !== t.eof && (l.lastToken = m);
4851
- },
4852
- onComment(m, S, E, c, x, y) {
4853
- if (l.comments) {
4854
- let v = hr(m, S, E, c, x, y, r);
4855
- l.comments.push(v);
4856
- }
4857
- }
4858
- }, r), this[Q] = l;
4859
- }
4860
- tokenize() {
4861
- do
4862
- this.next();
4863
- while (this.type !== t.eof);
4864
- this.next();
4865
- let s = this[Q], r = s.tokens;
4866
- return s.comments && (r.comments = s.comments), r;
4867
- }
4868
- finishNode(...s) {
4869
- let r = super.finishNode(...s);
4870
- return this[at](r);
4871
- }
4872
- finishNodeAt(...s) {
4873
- let r = super.finishNodeAt(...s);
4874
- return this[at](r);
4875
- }
4876
- parse() {
4877
- let s = this[Q], r = super.parse();
4878
- return r.sourceType = s.originalSourceType, s.comments && (r.comments = s.comments), s.tokens && (r.tokens = s.tokens), this[Q].templateElements.forEach((o) => {
4879
- let p = o.tail ? 1 : 2;
4880
- o.start += -1, o.end += p, o.range && (o.range[0] += -1, o.range[1] += p), o.loc && (o.loc.start.column += -1, o.loc.end.column += p);
4881
- }), r;
4882
- }
4883
- parseTopLevel(s) {
4884
- return this[Q].impliedStrict && (this.strict = !0), super.parseTopLevel(s);
4885
- }
4886
- raise(s, r) {
4887
- let o = e.acorn.getLineInfo(this.input, s), u = new SyntaxError(r);
4888
- throw u.index = s, u.lineNumber = o.line, u.column = o.column + 1, u;
4889
- }
4890
- raiseRecoverable(s, r) {
4891
- this.raise(s, r);
4892
- }
4893
- unexpected(s) {
4894
- let r = "Unexpected token";
4895
- if (s != null) {
4896
- if (this.pos = s, this.options.locations) for (; this.pos < this.lineStart;) this.lineStart = this.input.lastIndexOf(`
4897
- `, this.lineStart - 2) + 1, --this.curLine;
4898
- this.nextToken();
4899
- }
4900
- this.end > this.start && (r += ` ${this.input.slice(this.start, this.end)}`), this.raise(this.start, r);
4901
- }
4902
- jsx_readString(s) {
4903
- let r = super.jsx_readString(s);
4904
- return this.type === t.string && (this[Q].jsxAttrValueToken = !0), r;
4905
- }
4906
- [at](s) {
4907
- return s.type === "TemplateElement" && this[Q].templateElements.push(s), s.type.includes("Function") && !s.generator && (s.generator = !1), s;
4908
- }
4909
- };
4910
- };
4911
- var pr = {
4912
- _regular: null,
4913
- _jsx: null,
4914
- get regular() {
4915
- return this._regular === null && (this._regular = A.extend(nt())), this._regular;
4916
- },
4917
- get jsx() {
4918
- return this._jsx === null && (this._jsx = A.extend((0, Ai.default)(), nt())), this._jsx;
4919
- },
4920
- get(e) {
4921
- return !!(e && e.ecmaFeatures && e.ecmaFeatures.jsx) ? this.jsx : this.regular;
4922
- }
4923
- };
4924
- function ki(e, t) {
4925
- return new (pr.get(t))(t, e).parse();
4926
- }
4927
- var cr = {
4928
- ecmaVersion: "latest",
4929
- range: !0,
4930
- loc: !1,
4931
- comment: !0,
4932
- tokens: !1,
4933
- ecmaFeatures: {
4934
- jsx: !0,
4935
- impliedStrict: !1
4936
- }
4937
- };
4938
- function lr(e) {
4939
- let { message: t, lineNumber: i, column: s } = e;
4940
- return typeof i != "number" ? e : Ae(t, {
4941
- loc: { start: {
4942
- line: i,
4943
- column: s
4944
- } },
4945
- cause: e
4946
- });
4947
- }
4948
- function fr(e, t) {
4949
- let i = Ve(t?.filepath), s = (i ? [i] : Re).map((o) => () => ki(e, {
4950
- ...cr,
4951
- sourceType: o
4952
- })), r;
4953
- try {
4954
- r = ke(s);
4955
- } catch ({ errors: [o] }) {
4956
- throw lr(o);
4957
- }
4958
- return Pe(r, {
4959
- parser: "espree",
4960
- text: e
4961
- });
4962
- }
4963
- var dr = {
4964
- acorn: _i,
4965
- espree: Ie(fr)
4966
- };
4967
-
4968
- //#endregion
4969
- export { Pi as default, dr as parsers };