@wirecat/drive-cli 0.71.0 → 0.72.0

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 (258) hide show
  1. package/README.md +150 -71
  2. package/contracts/wirecat.json +77 -8
  3. package/dist/bin/drive.js +2 -2
  4. package/dist/bundle/agent-23OB2NZP.js +46 -0
  5. package/dist/bundle/{all-profiles-3QJG2NAN.js → all-profiles-GXGDVNQJ.js} +67 -25
  6. package/dist/bundle/{anthropic-PSWTEU6G.js → anthropic-H5C4GQHC.js} +9 -9
  7. package/dist/bundle/{app-server-PVTA6ABR.js → app-server-EQ3UK4C7.js} +97 -79
  8. package/dist/bundle/{bun-LU5LP3JI.js → bun-DTJVSRY3.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-PYMKLBRU.js → bun-sqlite-JIFY7MAE.js} +9 -9
  10. package/dist/bundle/chunk-2Q325BBD.js +353 -0
  11. package/dist/bundle/chunk-35FIJGTT.js +52 -0
  12. package/dist/bundle/{chunk-RWDKMU74.js → chunk-3FRQ6V4T.js} +3 -3
  13. package/dist/bundle/chunk-47L262VI.js +340 -0
  14. package/dist/bundle/chunk-4HP6KGBI.js +32 -0
  15. package/dist/bundle/{chunk-YVI5SQPY.js → chunk-4HPXWYTE.js} +1 -1
  16. package/dist/bundle/{chunk-QETR5HIZ.js → chunk-4IUNYYYL.js} +4385 -2684
  17. package/dist/bundle/{chunk-I4RWW3UD.js → chunk-4JS32SRX.js} +20 -5
  18. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  19. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  20. package/dist/bundle/{chunk-3N2OFXB5.js → chunk-55FH6IEL.js} +5 -5
  21. package/dist/bundle/{chunk-6TNNT2MQ.js → chunk-5BNMWSU2.js} +483 -176
  22. package/dist/bundle/{chunk-6XFIITOG.js → chunk-5H747A76.js} +5532 -3265
  23. package/dist/bundle/{chunk-MNLL5YLM.js → chunk-5KWCO56H.js} +2 -2
  24. package/dist/bundle/{chunk-GZ2D4KXG.js → chunk-5U3NCE5R.js} +35 -12
  25. package/dist/bundle/{chunk-CJLVYIOP.js → chunk-6CCO3JCM.js} +30 -21
  26. package/dist/bundle/{chunk-26DHFMGZ.js → chunk-6ZW2ZJYC.js} +2 -2
  27. package/dist/bundle/{chunk-COJSWDNU.js → chunk-75DAHQOV.js} +3 -3
  28. package/dist/bundle/{chunk-Q7DOMFJ4.js → chunk-77OBW43F.js} +6 -6
  29. package/dist/bundle/{chunk-FCS26CYQ.js → chunk-7EFM6AW3.js} +4 -4
  30. package/dist/bundle/{chunk-XMMFBPGC.js → chunk-A3S7QM5L.js} +3 -3
  31. package/dist/bundle/{chunk-ASMMG72J.js → chunk-AA4LKC6W.js} +244 -565
  32. package/dist/bundle/chunk-ASTKHB6B.js +3233 -0
  33. package/dist/bundle/{chunk-LXKYKRHD.js → chunk-BM6V7456.js} +8 -227
  34. package/dist/bundle/chunk-BO6EDBYJ.js +50 -0
  35. package/dist/bundle/{chunk-YPFWNVHV.js → chunk-BPA3R4KN.js} +2 -100
  36. package/dist/bundle/chunk-CIFE4KPX.js +2159 -0
  37. package/dist/bundle/chunk-CKB4XZZJ.js +730 -0
  38. package/dist/bundle/{chunk-RJOQH5YY.js → chunk-COJTCEZP.js} +111 -859
  39. package/dist/bundle/{chunk-FJH7DJWK.js → chunk-CWPYDT73.js} +6 -6
  40. package/dist/bundle/{chunk-BKSQBBYG.js → chunk-D4JNCXS7.js} +9 -9
  41. package/dist/bundle/chunk-DCPWZIOV.js +696 -0
  42. package/dist/bundle/{chunk-PRW6SYA3.js → chunk-DHMNCOQI.js} +313 -257
  43. package/dist/bundle/chunk-DOQMH4DC.js +280 -0
  44. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  45. package/dist/bundle/{chunk-YJIGGUPI.js → chunk-DWRUOLBF.js} +4 -4
  46. package/dist/bundle/{chunk-6W763DZN.js → chunk-E3VWZC3K.js} +14 -13
  47. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  48. package/dist/bundle/{chunk-KGYVHPGE.js → chunk-EVG3AA5M.js} +2 -2
  49. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  50. package/dist/bundle/{chunk-Y2NWGNUB.js → chunk-FBEZSA76.js} +5 -5
  51. package/dist/bundle/{chunk-2BVVU7GG.js → chunk-FBQJN74J.js} +1 -1
  52. package/dist/bundle/{chunk-Z56QFOBR.js → chunk-FIZOPJYY.js} +1 -1
  53. package/dist/bundle/chunk-FNAYSZWK.js +783 -0
  54. package/dist/bundle/{chunk-GPQ44Y2R.js → chunk-FRCJHGZM.js} +2 -2
  55. package/dist/bundle/{chunk-35SCQ4VI.js → chunk-FTG5QBSD.js} +41 -33
  56. package/dist/bundle/{chunk-KYKW2W6X.js → chunk-FUDUXIVG.js} +1 -1
  57. package/dist/bundle/{chunk-NYECVHFH.js → chunk-G4NHRFS7.js} +755 -0
  58. package/dist/bundle/{chunk-FT3LN3HP.js → chunk-GIEZYBRC.js} +1 -1
  59. package/dist/bundle/chunk-GTPPUBYU.js +1876 -0
  60. package/dist/bundle/chunk-GU6ICH53.js +108 -0
  61. package/dist/bundle/{chunk-ACUAV6VX.js → chunk-GUMKKRE6.js} +107 -71
  62. package/dist/bundle/{chunk-KGERXYTV.js → chunk-GWCDOYSC.js} +1 -1
  63. package/dist/bundle/{chunk-OJSBWP3F.js → chunk-GXGSC622.js} +69 -7
  64. package/dist/bundle/chunk-HAGXTGJC.js +188 -0
  65. package/dist/bundle/{chunk-XF4EXO2C.js → chunk-IMAWQC5K.js} +6 -6
  66. package/dist/bundle/{chunk-HKY7X6NY.js → chunk-IVGVVSPW.js} +4 -4
  67. package/dist/bundle/{chunk-P7CUM5IB.js → chunk-J4NUHSM7.js} +1 -1
  68. package/dist/bundle/{chunk-MIA7P6FZ.js → chunk-K652FYCO.js} +6 -6
  69. package/dist/bundle/chunk-K6ZWNTXY.js +561 -0
  70. package/dist/bundle/{chunk-COOOO5B3.js → chunk-KF3ZBQJV.js} +4 -4
  71. package/dist/bundle/chunk-KFZCHJRT.js +80 -0
  72. package/dist/bundle/chunk-KLPFDFLI.js +221 -0
  73. package/dist/bundle/{chunk-EOEU3AZN.js → chunk-KP2XMCNT.js} +13 -13
  74. package/dist/bundle/{chunk-FP54WSIR.js → chunk-KWDZ3KVH.js} +4 -4
  75. package/dist/bundle/{chunk-QNRRK3CN.js → chunk-KX4C32WD.js} +2 -2
  76. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  77. package/dist/bundle/{chunk-2LHAVY4U.js → chunk-M2ZWYVWO.js} +1 -1
  78. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  79. package/dist/bundle/{chunk-3EBBLKIT.js → chunk-ML2QIWX2.js} +4 -4
  80. package/dist/bundle/{chunk-ZM63SUHG.js → chunk-MUFF2YTH.js} +2 -2
  81. package/dist/bundle/{chunk-2PUNKUYJ.js → chunk-N24YSLED.js} +9150 -9869
  82. package/dist/bundle/chunk-N4GTCPML.js +7 -0
  83. package/dist/bundle/{chunk-B5KSXHJ7.js → chunk-NBMGDRP4.js} +1 -1
  84. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  85. package/dist/bundle/{chunk-JDV7HNNQ.js → chunk-NNGA4QDR.js} +13 -26
  86. package/dist/bundle/{chunk-5DPV7X27.js → chunk-NTZWY5R3.js} +321 -0
  87. package/dist/bundle/chunk-O7CZZ36M.js +80 -0
  88. package/dist/bundle/{chunk-ICDCAQ6K.js → chunk-OAONP6KI.js} +13 -9
  89. package/dist/bundle/{chunk-WVDCCYS3.js → chunk-OESP4PHB.js} +17 -17
  90. package/dist/bundle/chunk-OHR6IZNH.js +116 -0
  91. package/dist/bundle/{chunk-4QNW4NK6.js → chunk-OLCU7Q2B.js} +1 -1
  92. package/dist/bundle/{chunk-SDKQNOL5.js → chunk-OLDQLEPA.js} +6 -6
  93. package/dist/bundle/{chunk-ZCR3IRZ2.js → chunk-OPIPG6AP.js} +16 -9
  94. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  95. package/dist/bundle/chunk-PRYMT3OG.js +30 -0
  96. package/dist/bundle/chunk-QDUIVMEW.js +36 -0
  97. package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-QKBPCX7Y.js} +1 -1
  98. package/dist/bundle/{chunk-QXC6IEH6.js → chunk-QSLOACDT.js} +201 -423
  99. package/dist/bundle/{chunk-7PDHGZN4.js → chunk-QUZFDU4K.js} +4 -4
  100. package/dist/bundle/{chunk-3UGYFXH6.js → chunk-R32DHS6J.js} +187 -379
  101. package/dist/bundle/{chunk-6SJOTNHF.js → chunk-R57QUYBG.js} +6 -28
  102. package/dist/bundle/{chunk-UTO2GO4P.js → chunk-R64OSDOD.js} +45 -66
  103. package/dist/bundle/{chunk-GBKNJWOZ.js → chunk-RSPBVKOC.js} +8 -8
  104. package/dist/bundle/{chunk-HL52XXZX.js → chunk-SPNPJ3FZ.js} +3 -4
  105. package/dist/bundle/chunk-SQHDSIFL.js +388 -0
  106. package/dist/bundle/{chunk-YPNWIB6H.js → chunk-ST35FIUG.js} +3 -3
  107. package/dist/bundle/{chunk-37MAA6F2.js → chunk-STUPCKAA.js} +11 -2221
  108. package/dist/bundle/chunk-SZ7XJZGH.js +2231 -0
  109. package/dist/bundle/chunk-TRYYWV7J.js +291 -0
  110. package/dist/bundle/{chunk-X4TIMMKJ.js → chunk-TTPWKTVR.js} +1 -1
  111. package/dist/bundle/{chunk-TAFHYHKA.js → chunk-U7VEJ3CW.js} +45 -27
  112. package/dist/bundle/{chunk-6Y2BYFXQ.js → chunk-UC7JLE6J.js} +0 -7
  113. package/dist/bundle/{chunk-4HWJOU7N.js → chunk-UIQ35CA5.js} +1 -1
  114. package/dist/bundle/{chunk-SAKO3P4H.js → chunk-UJY26HW4.js} +1 -1
  115. package/dist/bundle/{chunk-D5TGYUVU.js → chunk-UWG3PRY7.js} +9 -60
  116. package/dist/bundle/{chunk-JZHBZOJR.js → chunk-VAR3MJU6.js} +3 -3
  117. package/dist/bundle/{chunk-GOWXXYEF.js → chunk-VPQSI5IU.js} +4 -4
  118. package/dist/bundle/{chunk-QFR2PNJN.js → chunk-VQPT3Y7W.js} +12 -12
  119. package/dist/bundle/{chunk-Z3KUSRCF.js → chunk-WMG3H2VK.js} +2 -2
  120. package/dist/bundle/{chunk-4PA4DHYV.js → chunk-X5BGAZC5.js} +6 -6
  121. package/dist/bundle/{chunk-2UUWXPOB.js → chunk-XC6TRWLZ.js} +3 -3
  122. package/dist/bundle/{chunk-OF422U5D.js → chunk-XQZEMRCU.js} +402 -402
  123. package/dist/bundle/{chunk-72C4YOCH.js → chunk-XZ7MO6EU.js} +7 -7
  124. package/dist/bundle/{chunk-SERXSCN3.js → chunk-YAIOEPKU.js} +337 -390
  125. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  126. package/dist/bundle/{chunk-RESDD3Q4.js → chunk-YWOLQEDV.js} +16 -3
  127. package/dist/bundle/{chunk-YMJ6IDGT.js → chunk-ZFDSJ5YJ.js} +38 -8
  128. package/dist/bundle/{chunk-HMS6EEQL.js → chunk-ZFUZEFU6.js} +3 -3
  129. package/dist/bundle/{chunk-TAUBRNC5.js → chunk-ZJKXSMXK.js} +72 -59
  130. package/dist/bundle/{chunk-22QQUKWA.js → chunk-ZKWT6HXT.js} +1 -1
  131. package/dist/bundle/chunk-ZPUY3COZ.js +250 -0
  132. package/dist/bundle/{cli-556DERZL.js → cli-2P5FW2RL.js} +201 -98
  133. package/dist/bundle/command-contract-BMQT2G5X.js +45 -0
  134. package/dist/bundle/{command-server-entry-AYLGNZWD.js → command-server-entry-KP2UDGLA.js} +36 -34
  135. package/dist/bundle/{decode-QU24MWMN.js → decode-K2JZ5D6V.js} +10 -10
  136. package/dist/bundle/{dispatch-4KODNOXV.js → dispatch-KOQZA74A.js} +10 -10
  137. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  138. package/dist/bundle/drive.js +11 -11
  139. package/dist/bundle/{echarts-BXX4OQWC.js → echarts-URO3QGCG.js} +2 -2
  140. package/dist/bundle/{embed-KG27KG3D.js → embed-JLIPWTNN.js} +10 -10
  141. package/dist/bundle/{embedder-IPAVUQUV.js → embedder-LUTDO3HS.js} +15 -15
  142. package/dist/bundle/entry-AVF6LMG7.js +25 -0
  143. package/dist/bundle/{failure-ESL7ETL4.js → failure-GJMQLM7O.js} +4 -4
  144. package/dist/bundle/first-run-VYTIEUDA.js +31 -0
  145. package/dist/bundle/first-screen-QVZPF7KL.js +45 -0
  146. package/dist/bundle/google-VX7IPACN.js +46 -0
  147. package/dist/bundle/{google-api-VCDBSNOW.js → google-api-RFXKRLL4.js} +88 -73
  148. package/dist/bundle/grants-4XWJFVD6.js +133 -0
  149. package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
  150. package/dist/bundle/hast-util-to-html-VP6XLPKJ.js +998 -0
  151. package/dist/bundle/hast-util-to-mdast-IZ5PRX72.js +2272 -0
  152. package/dist/bundle/{identity-LOWMVGZY.js → identity-FXPB5EMT.js} +7 -6
  153. package/dist/bundle/{instructions-2VECIDXF.js → instructions-IROIUVZI.js} +1 -1
  154. package/dist/bundle/{login-7GBONT7V.js → login-WIY5VQU7.js} +96 -81
  155. package/dist/bundle/{mcp-O6ACR2DX.js → mcp-NJIOKW3E.js} +2 -2
  156. package/dist/bundle/{mdast-util-from-markdown-FXEPSNER.js → mdast-util-from-markdown-HEZF7KJ4.js} +137 -195
  157. package/dist/bundle/mdast-util-gfm-AQW6R6MG.js +925 -0
  158. package/dist/bundle/mdast-util-to-hast-DF2QVIRV.js +879 -0
  159. package/dist/bundle/mdast-util-to-markdown-XYLXB3Z3.js +18 -0
  160. package/dist/bundle/meeting-combined-JUNV35GM.js +28 -0
  161. package/dist/bundle/meeting-model-XY4UNWWK.js +29 -0
  162. package/dist/bundle/{meeting-semantic-G7PFOKU7.js → meeting-semantic-62QNQMOM.js} +10 -10
  163. package/dist/bundle/{micromark-extension-gfm-GRL24TU6.js → micromark-extension-gfm-OE2GBORZ.js} +11 -78
  164. package/dist/bundle/{node-MPEQSFI3.js → node-IACCI2CW.js} +2 -2
  165. package/dist/bundle/{node-sqlite-OLQMAYB4.js → node-sqlite-WYIRC7C7.js} +10 -10
  166. package/dist/bundle/notes-search-DEDUJKSN.js +70 -0
  167. package/dist/bundle/oauth-HXBXF4VI.js +22 -0
  168. package/dist/bundle/{open-OXTE672W.js → open-H32B6BCT.js} +8 -8
  169. package/dist/bundle/{openai-EB3TPIZY.js → openai-VHMPJJUG.js} +22 -21
  170. package/dist/bundle/{process-F6TKXWWA.js → process-RNHPF5OK.js} +1 -1
  171. package/dist/bundle/{program-4IFDZ7FM.js → program-GYMJ3DDH.js} +275 -1148
  172. package/dist/bundle/{prompt-F5RRHPN2.js → prompt-TOG2CRCE.js} +8 -8
  173. package/dist/bundle/{reasons-UORHJDHK.js → reasons-TLFQ45YX.js} +6 -5
  174. package/dist/bundle/{recognize-DAVNZND3.js → recognize-GYGY45EY.js} +7 -7
  175. package/dist/bundle/remote-6XN2QLI5.js +35 -0
  176. package/dist/bundle/{rerank-CND2GVLZ.js → rerank-HJO3O4TW.js} +11 -11
  177. package/dist/bundle/{serve-ZHSPUIGX.js → serve-XPCNLHCR.js} +19 -19
  178. package/dist/bundle/server-UBJZ66XE.js +97 -0
  179. package/dist/bundle/{server-YMAK4LHC.js → server-WPT3NC5B.js} +89 -70
  180. package/dist/bundle/{services-ZILSFJ6E.js → services-253KKKVU.js} +109 -89
  181. package/dist/bundle/{sqlite-runtime-S5VPMZQH.js → sqlite-runtime-EZASGJXW.js} +9 -9
  182. package/dist/bundle/{start-CR6X25RT.js → start-UHI35JFL.js} +7 -7
  183. package/dist/bundle/{state-YFPHVIIJ.js → state-KJTSPFGK.js} +9 -9
  184. package/dist/bundle/{store-UODRT6X4.js → store-62J2H2A3.js} +36 -25
  185. package/dist/bundle/{store-CL4ZJZRI.js → store-G5B7T7M7.js} +38 -23
  186. package/dist/bundle/store-maintenance-command-C6T4YLVF.js +85 -0
  187. package/dist/bundle/surface-3OT64BHS.js +83 -0
  188. package/dist/bundle/tokens-EHYO6D2X.js +133 -0
  189. package/dist/commands/documents.d.ts.map +1 -1
  190. package/dist/commands/documents.js +11 -1
  191. package/dist/commands/documents.js.map +1 -1
  192. package/dist/commands/remote.d.ts.map +1 -1
  193. package/dist/commands/remote.js +8 -22
  194. package/dist/commands/remote.js.map +1 -1
  195. package/dist/commands/sync.d.ts.map +1 -1
  196. package/dist/commands/sync.js +14 -4
  197. package/dist/commands/sync.js.map +1 -1
  198. package/dist/config.d.ts +5 -0
  199. package/dist/config.d.ts.map +1 -1
  200. package/dist/config.js +5 -0
  201. package/dist/config.js.map +1 -1
  202. package/dist/first-screen.d.ts.map +1 -1
  203. package/dist/first-screen.js +2 -1
  204. package/dist/first-screen.js.map +1 -1
  205. package/dist/generated/manifest.d.ts +2 -1
  206. package/dist/generated/manifest.d.ts.map +1 -1
  207. package/dist/generated/manifest.js +782 -0
  208. package/dist/generated/manifest.js.map +1 -1
  209. package/dist/generated/types.d.ts +262 -58
  210. package/dist/generated/types.d.ts.map +1 -1
  211. package/dist/google.d.ts.map +1 -1
  212. package/dist/google.js +5 -5
  213. package/dist/google.js.map +1 -1
  214. package/dist/model.d.ts +5 -2
  215. package/dist/model.d.ts.map +1 -1
  216. package/dist/model.js.map +1 -1
  217. package/dist/policy-keys.js +1 -1
  218. package/dist/policy-keys.js.map +1 -1
  219. package/dist/program.d.ts.map +1 -1
  220. package/dist/program.js +9 -4
  221. package/dist/program.js.map +1 -1
  222. package/dist/state.d.ts.map +1 -1
  223. package/dist/state.js +6 -1
  224. package/dist/state.js.map +1 -1
  225. package/dist/store.d.ts.map +1 -1
  226. package/dist/store.js +2 -7
  227. package/dist/store.js.map +1 -1
  228. package/dist/supported.d.ts +2 -2
  229. package/dist/supported.d.ts.map +1 -1
  230. package/dist/supported.js +2 -3
  231. package/dist/supported.js.map +1 -1
  232. package/dist/sync.d.ts +2 -1
  233. package/dist/sync.d.ts.map +1 -1
  234. package/dist/sync.js +5 -2
  235. package/dist/sync.js.map +1 -1
  236. package/dist/version.d.ts +1 -1
  237. package/dist/version.js +1 -1
  238. package/package.json +3 -3
  239. package/scenarios/find-decision.md +1 -1
  240. package/skills/drive-cli/SKILL.md +4 -2
  241. package/dist/bundle/chunk-J5Q5FS2N.js +0 -593
  242. package/dist/bundle/chunk-L46C6HQ7.js +0 -729
  243. package/dist/bundle/chunk-UDMNY63V.js +0 -899
  244. package/dist/bundle/chunk-VKE77B3F.js +0 -2
  245. package/dist/bundle/command-contract-VRTOAV6W.js +0 -43
  246. package/dist/bundle/entry-MVXQETWS.js +0 -25
  247. package/dist/bundle/first-run-4UVLW2WR.js +0 -31
  248. package/dist/bundle/first-screen-JAKAIINI.js +0 -41
  249. package/dist/bundle/google-22NXXJX5.js +0 -45
  250. package/dist/bundle/grants-MQMTVCRQ.js +0 -118
  251. package/dist/bundle/mdast-util-gfm-SZM5GBDF.js +0 -2103
  252. package/dist/bundle/meeting-combined-LVP4AZKA.js +0 -27
  253. package/dist/bundle/meeting-model-RAY5XDXZ.js +0 -29
  254. package/dist/bundle/oauth-SGH2I2BY.js +0 -22
  255. package/dist/bundle/remote-D5EYYIAU.js +0 -35
  256. package/dist/bundle/server-DUVJWP3Q.js +0 -80
  257. package/dist/bundle/store-maintenance-command-DY5XIBWR.js +0 -72
  258. package/dist/bundle/tokens-AF7QOFOF.js +0 -118
@@ -1,8 +1,5 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
- import {
4
- toString
5
- } from "./chunk-XFLCVHSQ.js";
6
3
  import {
7
4
  EditMap,
8
5
  attention,
@@ -16,7 +13,6 @@ import {
16
13
  codeText,
17
14
  combineExtensions,
18
15
  content,
19
- decodeNamedCharacterReference,
20
16
  definition,
21
17
  factorySpace,
22
18
  hardBreakEscape,
@@ -34,35 +30,31 @@ import {
34
30
  splice,
35
31
  subtokenize,
36
32
  thematicBreak
37
- } from "./chunk-37MAA6F2.js";
33
+ } from "./chunk-STUPCKAA.js";
34
+ import {
35
+ stringifyPosition
36
+ } from "./chunk-YHWFF6DN.js";
38
37
  import {
39
- markdownLineEnding,
40
38
  normalizeIdentifier
41
- } from "./chunk-6Y2BYFXQ.js";
39
+ } from "./chunk-F4BX7TH2.js";
40
+ import {
41
+ decodeNumericCharacterReference,
42
+ decodeString
43
+ } from "./chunk-35FIJGTT.js";
44
+ import {
45
+ decodeNamedCharacterReference
46
+ } from "./chunk-SZ7XJZGH.js";
47
+ import {
48
+ toString
49
+ } from "./chunk-XFLCVHSQ.js";
50
+ import {
51
+ markdownLineEnding
52
+ } from "./chunk-UC7JLE6J.js";
42
53
  import {
43
54
  __export,
44
55
  __name
45
56
  } from "./chunk-ZVVMGPBJ.js";
46
57
 
47
- // node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js
48
- function decodeNumericCharacterReference(value, base) {
49
- const code = Number.parseInt(value, base);
50
- if (
51
- // C0 except for HT, LF, FF, CR, space.
52
- code < 9 || code === 11 || code > 13 && code < 32 || // Control character (DEL) of C0, and C1 controls.
53
- code > 126 && code < 160 || // Lone high surrogates and low surrogates.
54
- code > 55295 && code < 57344 || // Noncharacters.
55
- code > 64975 && code < 65008 || /* eslint-disable no-bitwise */
56
- (code & 65535) === 65535 || (code & 65535) === 65534 || /* eslint-enable no-bitwise */
57
- // Out of range
58
- code > 1114111
59
- ) {
60
- return "\uFFFD";
61
- }
62
- return String.fromCodePoint(code);
63
- }
64
- __name(decodeNumericCharacterReference, "decodeNumericCharacterReference");
65
-
66
58
  // node_modules/.pnpm/micromark@4.0.3/node_modules/micromark/lib/initialize/content.js
67
59
  var content2 = {
68
60
  tokenize: initializeContent
@@ -151,24 +143,24 @@ function initializeDocument(effects) {
151
143
  }
152
144
  const indexBeforeExits = self.events.length;
153
145
  let indexBeforeFlow = indexBeforeExits;
154
- let point3;
146
+ let point2;
155
147
  while (indexBeforeFlow--) {
156
148
  if (self.events[indexBeforeFlow][0] === "exit" && self.events[indexBeforeFlow][1].type === "chunkFlow") {
157
- point3 = self.events[indexBeforeFlow][1].end;
149
+ point2 = self.events[indexBeforeFlow][1].end;
158
150
  break;
159
151
  }
160
152
  }
161
153
  exitContainers(continued);
162
- let index2 = indexBeforeExits;
163
- while (index2 < self.events.length) {
164
- self.events[index2][1].end = {
165
- ...point3
154
+ let index = indexBeforeExits;
155
+ while (index < self.events.length) {
156
+ self.events[index][1].end = {
157
+ ...point2
166
158
  };
167
- index2++;
159
+ index++;
168
160
  }
169
161
  const editMap = new EditMap();
170
162
  editMap.add(indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));
171
- editMap.add(indexBeforeExits, index2 - indexBeforeExits, []);
163
+ editMap.add(indexBeforeExits, index - indexBeforeExits, []);
172
164
  editMap.consume(self.events);
173
165
  return checkNewContainers(code);
174
166
  }
@@ -263,13 +255,13 @@ function initializeDocument(effects) {
263
255
  childFlow.defineSkip(token.start);
264
256
  childFlow.write(stream);
265
257
  if (self.parser.lazy[token.start.line]) {
266
- let index2 = childFlow.events.length;
267
- while (index2--) {
258
+ let index = childFlow.events.length;
259
+ while (index--) {
268
260
  if (
269
261
  // The token starts before the line ending…
270
- childFlow.events[index2][1].start.offset < lineStartOffset && // …and either is not ended yet…
271
- (!childFlow.events[index2][1].end || // …or ends after it.
272
- childFlow.events[index2][1].end.offset > lineStartOffset)
262
+ childFlow.events[index][1].start.offset < lineStartOffset && // …and either is not ended yet…
263
+ (!childFlow.events[index][1].end || // …or ends after it.
264
+ childFlow.events[index][1].end.offset > lineStartOffset)
273
265
  ) {
274
266
  return;
275
267
  }
@@ -277,35 +269,35 @@ function initializeDocument(effects) {
277
269
  const indexBeforeExits = self.events.length;
278
270
  let indexBeforeFlow = indexBeforeExits;
279
271
  let seen;
280
- let point3;
272
+ let point2;
281
273
  while (indexBeforeFlow--) {
282
274
  if (self.events[indexBeforeFlow][0] === "exit" && self.events[indexBeforeFlow][1].type === "chunkFlow") {
283
275
  if (seen) {
284
- point3 = self.events[indexBeforeFlow][1].end;
276
+ point2 = self.events[indexBeforeFlow][1].end;
285
277
  break;
286
278
  }
287
279
  seen = true;
288
280
  }
289
281
  }
290
282
  exitContainers(continued);
291
- index2 = indexBeforeExits;
292
- while (index2 < self.events.length) {
293
- self.events[index2][1].end = {
294
- ...point3
283
+ index = indexBeforeExits;
284
+ while (index < self.events.length) {
285
+ self.events[index][1].end = {
286
+ ...point2
295
287
  };
296
- index2++;
288
+ index++;
297
289
  }
298
290
  const editMap = new EditMap();
299
291
  editMap.add(indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));
300
- editMap.add(indexBeforeExits, index2 - indexBeforeExits, []);
292
+ editMap.add(indexBeforeExits, index - indexBeforeExits, []);
301
293
  editMap.consume(self.events);
302
294
  }
303
295
  }
304
296
  __name(writeToChild, "writeToChild");
305
297
  function exitContainers(size) {
306
- let index2 = stack.length;
307
- while (index2-- > size) {
308
- const entry = stack[index2];
298
+ let index = stack.length;
299
+ while (index-- > size) {
300
+ const entry = stack[index];
309
301
  self.containerState = entry[1];
310
302
  entry[0].exit.call(self, effects);
311
303
  }
@@ -411,10 +403,10 @@ function initializeFactory(field) {
411
403
  return true;
412
404
  }
413
405
  const list2 = constructs[code];
414
- let index2 = -1;
406
+ let index = -1;
415
407
  if (list2) {
416
- while (++index2 < list2.length) {
417
- const item = list2[index2];
408
+ while (++index < list2.length) {
409
+ const item = list2[index];
418
410
  if (!item.previous || item.previous.call(self, self.previous)) {
419
411
  return true;
420
412
  }
@@ -430,19 +422,19 @@ __name(initializeFactory, "initializeFactory");
430
422
  function createResolver(extraResolver) {
431
423
  return resolveAllText;
432
424
  function resolveAllText(events, context) {
433
- let index2 = -1;
425
+ let index = -1;
434
426
  let enter;
435
- while (++index2 <= events.length) {
427
+ while (++index <= events.length) {
436
428
  if (enter === void 0) {
437
- if (events[index2] && events[index2][1].type === "data") {
438
- enter = index2;
439
- index2++;
429
+ if (events[index] && events[index][1].type === "data") {
430
+ enter = index;
431
+ index++;
440
432
  }
441
- } else if (!events[index2] || events[index2][1].type !== "data") {
442
- if (index2 !== enter + 2) {
443
- events[enter][1].end = events[index2 - 1][1].end;
444
- events.splice(enter + 2, index2 - enter - 2);
445
- index2 = enter + 2;
433
+ } else if (!events[index] || events[index][1].type !== "data") {
434
+ if (index !== enter + 2) {
435
+ events[enter][1].end = events[index - 1][1].end;
436
+ events.splice(enter + 2, index - enter - 2);
437
+ index = enter + 2;
446
438
  }
447
439
  enter = void 0;
448
440
  }
@@ -459,12 +451,12 @@ function resolveAllLineSuffixes(events, context) {
459
451
  if ((eventIndex === events.length || events[eventIndex][1].type === "lineEnding") && events[eventIndex - 1][1].type === "data") {
460
452
  const data = events[eventIndex - 1][1];
461
453
  const chunks = context.sliceStream(data);
462
- let index2 = chunks.length;
454
+ let index = chunks.length;
463
455
  let bufferIndex = -1;
464
456
  let size = 0;
465
457
  let tabs;
466
- while (index2--) {
467
- const chunk = chunks[index2];
458
+ while (index--) {
459
+ const chunk = chunks[index];
468
460
  if (typeof chunk === "string") {
469
461
  bufferIndex = chunk.length;
470
462
  while (chunk.charCodeAt(bufferIndex - 1) === 32) {
@@ -480,7 +472,7 @@ function resolveAllLineSuffixes(events, context) {
480
472
  size++;
481
473
  } else if (chunk === -1) {
482
474
  } else {
483
- index2++;
475
+ index++;
484
476
  break;
485
477
  }
486
478
  }
@@ -491,8 +483,8 @@ function resolveAllLineSuffixes(events, context) {
491
483
  const token = {
492
484
  type: eventIndex === events.length || tabs || size < 2 ? "lineSuffix" : "hardBreakTrailing",
493
485
  start: {
494
- _bufferIndex: index2 ? bufferIndex : data.start._bufferIndex + bufferIndex,
495
- _index: data.start._index + index2,
486
+ _bufferIndex: index ? bufferIndex : data.start._bufferIndex + bufferIndex,
487
+ _index: data.start._index + index,
496
488
  line: data.end.line,
497
489
  column: data.end.column - size,
498
490
  offset: data.end.offset - size
@@ -595,7 +587,7 @@ var disable = {
595
587
 
596
588
  // node_modules/.pnpm/micromark@4.0.3/node_modules/micromark/lib/create-tokenizer.js
597
589
  function createTokenizer(parser, initialize, from) {
598
- let point3 = {
590
+ let point2 = {
599
591
  _bufferIndex: -1,
600
592
  _index: 0,
601
593
  line: from && from.line || 1,
@@ -661,7 +653,7 @@ function createTokenizer(parser, initialize, from) {
661
653
  line,
662
654
  column,
663
655
  offset
664
- } = point3;
656
+ } = point2;
665
657
  return {
666
658
  _bufferIndex,
667
659
  _index,
@@ -677,15 +669,15 @@ function createTokenizer(parser, initialize, from) {
677
669
  }
678
670
  __name(defineSkip, "defineSkip");
679
671
  function main() {
680
- while (point3._index < chunks.length) {
681
- const chunk = chunks[point3._index];
672
+ while (point2._index < chunks.length) {
673
+ const chunk = chunks[point2._index];
682
674
  if (typeof chunk === "string") {
683
- const chunkIndex = point3._index;
684
- if (point3._bufferIndex < 0) {
685
- point3._bufferIndex = 0;
675
+ const chunkIndex = point2._index;
676
+ if (point2._bufferIndex < 0) {
677
+ point2._bufferIndex = 0;
686
678
  }
687
- while (point3._index === chunkIndex && point3._bufferIndex < chunk.length) {
688
- go(chunk.charCodeAt(point3._bufferIndex));
679
+ while (point2._index === chunkIndex && point2._bufferIndex < chunk.length) {
680
+ go(chunk.charCodeAt(point2._bufferIndex));
689
681
  }
690
682
  } else {
691
683
  go(chunk);
@@ -701,24 +693,24 @@ function createTokenizer(parser, initialize, from) {
701
693
  __name(go, "go");
702
694
  function consume(code) {
703
695
  if (markdownLineEnding(code)) {
704
- point3.line++;
705
- point3.column = 1;
706
- point3.offset += code === -3 ? 2 : 1;
696
+ point2.line++;
697
+ point2.column = 1;
698
+ point2.offset += code === -3 ? 2 : 1;
707
699
  accountForPotentialSkip();
708
700
  } else if (code !== -1) {
709
- point3.column++;
710
- point3.offset++;
701
+ point2.column++;
702
+ point2.offset++;
711
703
  }
712
- if (point3._bufferIndex < 0) {
713
- point3._index++;
704
+ if (point2._bufferIndex < 0) {
705
+ point2._index++;
714
706
  } else {
715
- point3._bufferIndex++;
716
- if (point3._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
707
+ point2._bufferIndex++;
708
+ if (point2._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
717
709
  // strings.
718
710
  /** @type {string} */
719
- chunks[point3._index].length) {
720
- point3._bufferIndex = -1;
721
- point3._index++;
711
+ chunks[point2._index].length) {
712
+ point2._bufferIndex = -1;
713
+ point2._index++;
722
714
  }
723
715
  }
724
716
  context.previous = code;
@@ -857,7 +849,7 @@ function createTokenizer(parser, initialize, from) {
857
849
  restore
858
850
  };
859
851
  function restore() {
860
- point3 = startPoint;
852
+ point2 = startPoint;
861
853
  context.previous = startPrevious;
862
854
  context.currentConstruct = startCurrentConstruct;
863
855
  context.events.length = startEventsIndex;
@@ -868,9 +860,9 @@ function createTokenizer(parser, initialize, from) {
868
860
  }
869
861
  __name(store, "store");
870
862
  function accountForPotentialSkip() {
871
- if (point3.line in columnStart && point3.column < 2) {
872
- point3.column = columnStart[point3.line];
873
- point3.offset += columnStart[point3.line] - 1;
863
+ if (point2.line in columnStart && point2.column < 2) {
864
+ point2.column = columnStart[point2.line];
865
+ point2.offset += columnStart[point2.line] - 1;
874
866
  }
875
867
  }
876
868
  __name(accountForPotentialSkip, "accountForPotentialSkip");
@@ -902,11 +894,11 @@ function sliceChunks(chunks, token) {
902
894
  }
903
895
  __name(sliceChunks, "sliceChunks");
904
896
  function serializeChunks(chunks, expandTabs) {
905
- let index2 = -1;
897
+ let index = -1;
906
898
  const result = [];
907
899
  let atTab;
908
- while (++index2 < chunks.length) {
909
- const chunk = chunks[index2];
900
+ while (++index < chunks.length) {
901
+ const chunk = chunks[index];
910
902
  let value;
911
903
  if (typeof chunk === "string") {
912
904
  value = chunk;
@@ -1066,56 +1058,6 @@ function preprocess() {
1066
1058
  }
1067
1059
  __name(preprocess, "preprocess");
1068
1060
 
1069
- // node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js
1070
- var characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
1071
- function decodeString(value) {
1072
- return value.replace(characterEscapeOrReference, decode);
1073
- }
1074
- __name(decodeString, "decodeString");
1075
- function decode($0, $1, $2) {
1076
- if ($1) {
1077
- return $1;
1078
- }
1079
- const head = $2.charCodeAt(0);
1080
- if (head === 35) {
1081
- const head2 = $2.charCodeAt(1);
1082
- const hex = head2 === 120 || head2 === 88;
1083
- return decodeNumericCharacterReference($2.slice(hex ? 2 : 1), hex ? 16 : 10);
1084
- }
1085
- return decodeNamedCharacterReference($2) || $0;
1086
- }
1087
- __name(decode, "decode");
1088
-
1089
- // node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
1090
- function stringifyPosition(value) {
1091
- if (!value || typeof value !== "object") {
1092
- return "";
1093
- }
1094
- if ("position" in value || "type" in value) {
1095
- return position(value.position);
1096
- }
1097
- if ("start" in value || "end" in value) {
1098
- return position(value);
1099
- }
1100
- if ("line" in value || "column" in value) {
1101
- return point(value);
1102
- }
1103
- return "";
1104
- }
1105
- __name(stringifyPosition, "stringifyPosition");
1106
- function point(point3) {
1107
- return index(point3 && point3.line) + ":" + index(point3 && point3.column);
1108
- }
1109
- __name(point, "point");
1110
- function position(pos) {
1111
- return point(pos && pos.start) + "-" + point(pos && pos.end);
1112
- }
1113
- __name(position, "position");
1114
- function index(value) {
1115
- return value && typeof value === "number" ? value : 1;
1116
- }
1117
- __name(index, "index");
1118
-
1119
1061
  // node_modules/.pnpm/mdast-util-from-markdown@2.1.0/node_modules/mdast-util-from-markdown/lib/index.js
1120
1062
  var own = {}.hasOwnProperty;
1121
1063
  function fromMarkdown(value, encoding, options) {
@@ -1248,11 +1190,11 @@ function compiler(options) {
1248
1190
  };
1249
1191
  const listStack = [];
1250
1192
  const prepared = [];
1251
- let index2 = -1;
1252
- while (++index2 < events.length) {
1253
- prepared.push(events[index2]);
1254
- if (events[index2][1].type === "listOrdered" || events[index2][1].type === "listUnordered") {
1255
- if (events[index2][0] === "enter") {
1193
+ let index = -1;
1194
+ while (++index < events.length) {
1195
+ prepared.push(events[index]);
1196
+ if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered") {
1197
+ if (events[index][0] === "enter") {
1256
1198
  listStack.push(prepared.length - 1);
1257
1199
  } else {
1258
1200
  const tail = listStack.pop();
@@ -1261,26 +1203,26 @@ function compiler(options) {
1261
1203
  }
1262
1204
  }
1263
1205
  events = prepared;
1264
- index2 = -1;
1265
- while (++index2 < events.length) {
1266
- const handler = config[events[index2][0]];
1267
- if (events[index2][0] === "enter" && config.beforeEnter.length > 0) {
1206
+ index = -1;
1207
+ while (++index < events.length) {
1208
+ const handler = config[events[index][0]];
1209
+ if (events[index][0] === "enter" && config.beforeEnter.length > 0) {
1268
1210
  callListeners(config.beforeEnter, {
1269
1211
  ...context,
1270
- sliceSerialize: events[index2][2].sliceSerialize
1271
- }, events[index2][1]);
1212
+ sliceSerialize: events[index][2].sliceSerialize
1213
+ }, events[index][1]);
1272
1214
  }
1273
- if (own.call(handler, events[index2][1].type)) {
1274
- handler[events[index2][1].type].call({
1215
+ if (own.call(handler, events[index][1].type)) {
1216
+ handler[events[index][1].type].call({
1275
1217
  ...context,
1276
- sliceSerialize: events[index2][2].sliceSerialize
1277
- }, events[index2][1]);
1218
+ sliceSerialize: events[index][2].sliceSerialize
1219
+ }, events[index][1]);
1278
1220
  }
1279
- if (events[index2][0] === "exit" && config.afterExit.length > 0) {
1221
+ if (events[index][0] === "exit" && config.afterExit.length > 0) {
1280
1222
  callListeners(config.afterExit, {
1281
1223
  ...context,
1282
- sliceSerialize: events[index2][2].sliceSerialize
1283
- }, events[index2][1]);
1224
+ sliceSerialize: events[index][2].sliceSerialize
1225
+ }, events[index][1]);
1284
1226
  }
1285
1227
  }
1286
1228
  if (context.tokenStack.length > 0) {
@@ -1289,34 +1231,34 @@ function compiler(options) {
1289
1231
  handler.call(context, void 0, tail[0]);
1290
1232
  }
1291
1233
  tree.position = {
1292
- start: point2(events.length > 0 ? events[0][1].start : {
1234
+ start: point(events.length > 0 ? events[0][1].start : {
1293
1235
  line: 1,
1294
1236
  column: 1,
1295
1237
  offset: 0
1296
1238
  }),
1297
- end: point2(events.length > 0 ? events[events.length - 2][1].end : {
1239
+ end: point(events.length > 0 ? events[events.length - 2][1].end : {
1298
1240
  line: 1,
1299
1241
  column: 1,
1300
1242
  offset: 0
1301
1243
  })
1302
1244
  };
1303
- index2 = -1;
1304
- while (++index2 < config.transforms.length) {
1305
- tree = config.transforms[index2](tree) || tree;
1245
+ index = -1;
1246
+ while (++index < config.transforms.length) {
1247
+ tree = config.transforms[index](tree) || tree;
1306
1248
  }
1307
1249
  return tree;
1308
1250
  }
1309
1251
  __name(compile, "compile");
1310
1252
  function callListeners(listeners, context, token) {
1311
- let index2 = -1;
1312
- while (++index2 < listeners.length) {
1313
- listeners[index2].call(context, token);
1253
+ let index = -1;
1254
+ while (++index < listeners.length) {
1255
+ listeners[index].call(context, token);
1314
1256
  }
1315
1257
  }
1316
1258
  __name(callListeners, "callListeners");
1317
1259
  function prepareList(events, start) {
1318
1260
  const end = events.length - 1;
1319
- let index2 = start - 1;
1261
+ let index = start - 1;
1320
1262
  let containerBalance = -1;
1321
1263
  let listSpread = false;
1322
1264
  let listItem2;
@@ -1324,8 +1266,8 @@ function compiler(options) {
1324
1266
  let firstBlankLineIndex;
1325
1267
  let atMarker;
1326
1268
  const insertions = [];
1327
- while (++index2 <= end) {
1328
- const event = events[index2];
1269
+ while (++index <= end) {
1270
+ const event = events[index];
1329
1271
  switch (event[1].type) {
1330
1272
  case "listUnordered":
1331
1273
  case "listOrdered":
@@ -1341,7 +1283,7 @@ function compiler(options) {
1341
1283
  case "lineEndingBlank": {
1342
1284
  if (event[0] === "enter") {
1343
1285
  if (listItem2 && !atMarker && !containerBalance && !firstBlankLineIndex) {
1344
- firstBlankLineIndex = index2;
1286
+ firstBlankLineIndex = index;
1345
1287
  }
1346
1288
  atMarker = void 0;
1347
1289
  }
@@ -1360,7 +1302,7 @@ function compiler(options) {
1360
1302
  }
1361
1303
  if (!containerBalance && event[0] === "enter" && event[1].type === "listItemPrefix" || containerBalance === -1 && event[0] === "exit" && (event[1].type === "listUnordered" || event[1].type === "listOrdered")) {
1362
1304
  if (listItem2) {
1363
- let tailIndex = index2;
1305
+ let tailIndex = index;
1364
1306
  lineIndex = void 0;
1365
1307
  while (tailIndex--) {
1366
1308
  const tailEvent = events[tailIndex];
@@ -1382,7 +1324,7 @@ function compiler(options) {
1382
1324
  }
1383
1325
  listItem2.end = Object.assign({}, lineIndex ? events[lineIndex][1].start : event[1].end);
1384
1326
  insertions.push({
1385
- at: lineIndex || index2,
1327
+ at: lineIndex || index,
1386
1328
  event: ["exit", listItem2, event[2]]
1387
1329
  });
1388
1330
  }
@@ -1396,7 +1338,7 @@ function compiler(options) {
1396
1338
  };
1397
1339
  listItem2 = item;
1398
1340
  insertions.push({
1399
- at: index2,
1341
+ at: index,
1400
1342
  event: ["enter", item, event[2]]
1401
1343
  });
1402
1344
  firstBlankLineIndex = void 0;
@@ -1406,12 +1348,12 @@ function compiler(options) {
1406
1348
  }
1407
1349
  const listEvents = events.splice(start);
1408
1350
  let insertion = 0;
1409
- index2 = -1;
1410
- while (++index2 < listEvents.length) {
1411
- while (insertion < insertions.length && insertions[insertion].at === start + index2) {
1351
+ index = -1;
1352
+ while (++index < listEvents.length) {
1353
+ while (insertion < insertions.length && insertions[insertion].at === start + index) {
1412
1354
  events.push(insertions[insertion++].event);
1413
1355
  }
1414
- events.push(listEvents[index2]);
1356
+ events.push(listEvents[index]);
1415
1357
  }
1416
1358
  events[start][1]._spread = listSpread;
1417
1359
  }
@@ -1439,7 +1381,7 @@ function compiler(options) {
1439
1381
  this.stack.push(node);
1440
1382
  this.tokenStack.push([token, errorHandler || void 0]);
1441
1383
  node.position = {
1442
- start: point2(token.start),
1384
+ start: point(token.start),
1443
1385
  // @ts-expect-error: `end` will be patched later.
1444
1386
  end: void 0
1445
1387
  };
@@ -1471,7 +1413,7 @@ function compiler(options) {
1471
1413
  handler.call(this, token, open[0]);
1472
1414
  }
1473
1415
  }
1474
- node.position.end = point2(token.end);
1416
+ node.position.end = point(token.end);
1475
1417
  }
1476
1418
  __name(exit, "exit");
1477
1419
  function resume() {
@@ -1568,7 +1510,7 @@ function compiler(options) {
1568
1510
  if (!tail || tail.type !== "text") {
1569
1511
  tail = text3();
1570
1512
  tail.position = {
1571
- start: point2(token.start),
1513
+ start: point(token.start),
1572
1514
  // @ts-expect-error: we’ll add `end` later.
1573
1515
  end: void 0
1574
1516
  };
@@ -1580,14 +1522,14 @@ function compiler(options) {
1580
1522
  function onexitdata(token) {
1581
1523
  const tail = this.stack.pop();
1582
1524
  tail.value += this.sliceSerialize(token);
1583
- tail.position.end = point2(token.end);
1525
+ tail.position.end = point(token.end);
1584
1526
  }
1585
1527
  __name(onexitdata, "onexitdata");
1586
1528
  function onexitlineending(token) {
1587
1529
  const context = this.stack[this.stack.length - 1];
1588
1530
  if (this.data.atHardBreak) {
1589
1531
  const tail = context.children[context.children.length - 1];
1590
- tail.position.end = point2(token.end);
1532
+ tail.position.end = point(token.end);
1591
1533
  this.data.atHardBreak = void 0;
1592
1534
  return;
1593
1535
  }
@@ -1718,7 +1660,7 @@ function compiler(options) {
1718
1660
  __name(onexitcharacterreferencevalue, "onexitcharacterreferencevalue");
1719
1661
  function onexitcharacterreference(token) {
1720
1662
  const tail = this.stack.pop();
1721
- tail.position.end = point2(token.end);
1663
+ tail.position.end = point(token.end);
1722
1664
  }
1723
1665
  __name(onexitcharacterreference, "onexitcharacterreference");
1724
1666
  function onexitautolinkprotocol(token) {
@@ -1877,18 +1819,18 @@ function compiler(options) {
1877
1819
  __name(thematicBreak2, "thematicBreak");
1878
1820
  }
1879
1821
  __name(compiler, "compiler");
1880
- function point2(d) {
1822
+ function point(d) {
1881
1823
  return {
1882
1824
  line: d.line,
1883
1825
  column: d.column,
1884
1826
  offset: d.offset
1885
1827
  };
1886
1828
  }
1887
- __name(point2, "point");
1829
+ __name(point, "point");
1888
1830
  function configure(combined, extensions) {
1889
- let index2 = -1;
1890
- while (++index2 < extensions.length) {
1891
- const value = extensions[index2];
1831
+ let index = -1;
1832
+ while (++index < extensions.length) {
1833
+ const value = extensions[index];
1892
1834
  if (Array.isArray(value)) {
1893
1835
  configure(combined, value);
1894
1836
  } else {