@wirecat/notion-cli 0.4.0 → 0.6.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 (229) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +5 -0
  3. package/contracts/wirecat.json +55 -2
  4. package/dist/bin/notion.js +2 -2
  5. package/dist/bundle/agent-ILG6AH7S.js +42 -0
  6. package/dist/bundle/{all-profiles-4IONYZB6.js → all-profiles-AELHUTFU.js} +64 -21
  7. package/dist/bundle/{anthropic-OXF74J4P.js → anthropic-3CCYAGO3.js} +6 -6
  8. package/dist/bundle/{app-server-M2VF6ABM.js → app-server-DJ6P4NY4.js} +86 -65
  9. package/dist/bundle/{bun-DLA6QRLL.js → bun-2FLR4IV4.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-F4BYLW3F.js → bun-sqlite-QB6CU6TH.js} +7 -7
  11. package/dist/bundle/chunk-2CMLY2X3.js +72 -0
  12. package/dist/bundle/{chunk-TZ2QJ53V.js → chunk-2XUV7HNE.js} +2 -2
  13. package/dist/bundle/{chunk-6JBLIQQN.js → chunk-2Z7UOXFC.js} +1 -1
  14. package/dist/bundle/{chunk-6GN7KU7X.js → chunk-3LMW7U7F.js} +22 -10
  15. package/dist/bundle/chunk-3MYN2RMG.js +398 -0
  16. package/dist/bundle/{chunk-YFWLHTNO.js → chunk-3UX4VJWD.js} +1 -1
  17. package/dist/bundle/chunk-4HP6KGBI.js +32 -0
  18. package/dist/bundle/{chunk-4KUJTSHG.js → chunk-4RFR4J2O.js} +2 -2
  19. package/dist/bundle/{chunk-OCDJ4FFA.js → chunk-4VXXOJ2F.js} +4 -4
  20. package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
  21. package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
  22. package/dist/bundle/{chunk-P3P6DA6K.js → chunk-5OJLUUOJ.js} +6 -6
  23. package/dist/bundle/{chunk-T5UNSFES.js → chunk-5XPHFV7H.js} +35 -12
  24. package/dist/bundle/{chunk-KL3P5TQK.js → chunk-6EJCI47L.js} +4 -4
  25. package/dist/bundle/chunk-6VPC5Z56.js +2145 -0
  26. package/dist/bundle/{chunk-IJMFG7HB.js → chunk-6YOMPW7Y.js} +10 -8
  27. package/dist/bundle/{chunk-7NF3V5L2.js → chunk-7JVKQ6NM.js} +4 -4
  28. package/dist/bundle/chunk-7L2XOKDZ.js +353 -0
  29. package/dist/bundle/{chunk-TXONV3HW.js → chunk-A42T4YX7.js} +3 -3
  30. package/dist/bundle/chunk-AE4VW4NB.js +50 -0
  31. package/dist/bundle/chunk-AV2ZJ4WX.js +7 -0
  32. package/dist/bundle/{chunk-L6H7PY4X.js → chunk-AZLDR36U.js} +3 -3
  33. package/dist/bundle/{chunk-TFNRCCGR.js → chunk-BAXNAOOL.js} +4 -4
  34. package/dist/bundle/{chunk-QX3TPFEX.js → chunk-BEV5LO4D.js} +110 -862
  35. package/dist/bundle/{chunk-UROEWCOG.js → chunk-BQBC2WIG.js} +1 -65
  36. package/dist/bundle/{chunk-NO2LIHWA.js → chunk-CFQQTDSA.js} +1 -1
  37. package/dist/bundle/chunk-CHPWBQUK.js +39 -0
  38. package/dist/bundle/chunk-CL3YNUCC.js +388 -0
  39. package/dist/bundle/{chunk-WHJWURZB.js → chunk-DGMTSDKB.js} +6 -6
  40. package/dist/bundle/{chunk-HTKSCSJU.js → chunk-DHVVXQEL.js} +4 -4
  41. package/dist/bundle/chunk-DIU2QJJF.js +785 -0
  42. package/dist/bundle/chunk-DQSOYH6N.js +20 -0
  43. package/dist/bundle/chunk-ECYOTDJM.js +14 -0
  44. package/dist/bundle/{chunk-Z53LYX4M.js → chunk-EHW45LLT.js} +3 -3
  45. package/dist/bundle/{chunk-XCTOCVMW.js → chunk-ERN53B3Z.js} +32 -24
  46. package/dist/bundle/{chunk-CDGZZNGY.js → chunk-ESZHGC4Q.js} +38 -8
  47. package/dist/bundle/{chunk-RMJMID5D.js → chunk-EZMG5QXB.js} +8 -8
  48. package/dist/bundle/chunk-F4BX7TH2.js +15 -0
  49. package/dist/bundle/{chunk-Y5LAJWR5.js → chunk-F5ZAN7OC.js} +1 -1
  50. package/dist/bundle/{chunk-2MHMKNWD.js → chunk-FMMYBVCH.js} +1 -1
  51. package/dist/bundle/{chunk-WZEEEQGC.js → chunk-FRB2L7OE.js} +3 -3
  52. package/dist/bundle/chunk-FV4WTZCU.js +561 -0
  53. package/dist/bundle/{chunk-BEPFGITI.js → chunk-G4ZU73SD.js} +101 -80
  54. package/dist/bundle/{chunk-5XP4KQ2F.js → chunk-GCAJW4SR.js} +1 -1
  55. package/dist/bundle/{chunk-FEMHUSGO.js → chunk-GPRJXJC7.js} +15 -1
  56. package/dist/bundle/chunk-GUIQJUJV.js +340 -0
  57. package/dist/bundle/{chunk-M2EEIYBU.js → chunk-HHEWTLAT.js} +2 -2
  58. package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-HM6AMYHR.js} +2 -2
  59. package/dist/bundle/{chunk-TJCPTRYD.js → chunk-HOVHE3A3.js} +7 -7
  60. package/dist/bundle/{chunk-YAPDU3SV.js → chunk-HVXOA4FO.js} +1 -1
  61. package/dist/bundle/{chunk-D6RCRBDH.js → chunk-IJVTN5L3.js} +2 -2
  62. package/dist/bundle/{chunk-CIVXTBJY.js → chunk-IURYZSG3.js} +39 -52
  63. package/dist/bundle/chunk-JFSVAOA7.js +108 -0
  64. package/dist/bundle/{chunk-FSJHASRQ.js → chunk-JVESLS7B.js} +611 -572
  65. package/dist/bundle/chunk-K5IC4FZN.js +36 -0
  66. package/dist/bundle/chunk-KB35BVTG.js +30 -0
  67. package/dist/bundle/chunk-KGAUINBO.js +594 -0
  68. package/dist/bundle/{chunk-AYU5TFDU.js → chunk-KNCPBX5P.js} +85 -76
  69. package/dist/bundle/{chunk-GSNE7OB4.js → chunk-KZJQPJK5.js} +4 -4
  70. package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
  71. package/dist/bundle/{chunk-M6DGZ2O6.js → chunk-LC6WE6JS.js} +9 -9
  72. package/dist/bundle/{chunk-YGCI3DHS.js → chunk-LECMHK2F.js} +1 -1
  73. package/dist/bundle/chunk-LQVDFD65.js +72 -0
  74. package/dist/bundle/chunk-MEYYH47C.js +25 -0
  75. package/dist/bundle/chunk-NMQRSEZM.js +37 -0
  76. package/dist/bundle/{chunk-K5I64ZVI.js → chunk-NSR43UEW.js} +7 -64
  77. package/dist/bundle/{chunk-GK4GLPG2.js → chunk-OEQNP56V.js} +2 -100
  78. package/dist/bundle/{chunk-MGUEZYFA.js → chunk-OLAGFJDM.js} +13 -2143
  79. package/dist/bundle/{chunk-MRA62W5K.js → chunk-P27NDZQR.js} +255 -563
  80. package/dist/bundle/{chunk-GBFEEHQC.js → chunk-PHKED7AG.js} +8 -225
  81. package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
  82. package/dist/bundle/{chunk-JODE2XED.js → chunk-Q7EIL6VU.js} +43 -33
  83. package/dist/bundle/{chunk-4TQVZXOV.js → chunk-QEJFBORC.js} +3 -3
  84. package/dist/bundle/{chunk-ZC6ZQQ55.js → chunk-QGGRFRMP.js} +65 -49
  85. package/dist/bundle/{chunk-JIRRF6BM.js → chunk-RD7BKTWV.js} +4 -4
  86. package/dist/bundle/chunk-RXU5T5NM.js +714 -0
  87. package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
  88. package/dist/bundle/{chunk-7NGFGFE5.js → chunk-SAPP2LEH.js} +10 -10
  89. package/dist/bundle/{chunk-COH7OEER.js → chunk-SEAGUFBX.js} +12 -12
  90. package/dist/bundle/{chunk-5LBJNTEJ.js → chunk-STTO2MSY.js} +43 -64
  91. package/dist/bundle/{chunk-5UA2TYMI.js → chunk-T37TAXVL.js} +2 -2
  92. package/dist/bundle/{chunk-R6SDRSZK.js → chunk-T6XIBULH.js} +139 -571
  93. package/dist/bundle/chunk-TFT4FVRU.js +67 -0
  94. package/dist/bundle/chunk-TRYYWV7J.js +291 -0
  95. package/dist/bundle/{chunk-KFVDL2QS.js → chunk-UC7JLE6J.js} +1 -89
  96. package/dist/bundle/{chunk-SGBS5QCU.js → chunk-UOC52GCB.js} +4 -4
  97. package/dist/bundle/chunk-UPL474OW.js +94 -0
  98. package/dist/bundle/chunk-VH7526NL.js +80 -0
  99. package/dist/bundle/chunk-VNWF4I7E.js +34 -0
  100. package/dist/bundle/chunk-W2VQDIU5.js +221 -0
  101. package/dist/bundle/{chunk-EQPAZ33O.js → chunk-WAGADES3.js} +19 -19
  102. package/dist/bundle/{chunk-WU3XHGOB.js → chunk-WAU5LSHP.js} +81 -438
  103. package/dist/bundle/{chunk-FIHXADRF.js → chunk-WB2KSQIP.js} +4 -4
  104. package/dist/bundle/{chunk-OI5DWZJG.js → chunk-WGZH2M64.js} +3 -3
  105. package/dist/bundle/chunk-WVN2KTNS.js +52 -0
  106. package/dist/bundle/{chunk-UKE3CGHK.js → chunk-XYQVVW4R.js} +1 -1
  107. package/dist/bundle/{chunk-7NVPM55S.js → chunk-YDDI4QIT.js} +2203 -1808
  108. package/dist/bundle/chunk-YHWFF6DN.js +39 -0
  109. package/dist/bundle/{chunk-7YZPBAQX.js → chunk-YUDVRFXN.js} +1 -1
  110. package/dist/bundle/{chunk-EY6S7FV3.js → chunk-YXYZAWWW.js} +6 -6
  111. package/dist/bundle/{chunk-GCCPFKSU.js → chunk-YYQ5GKAI.js} +9532 -10735
  112. package/dist/bundle/chunk-ZDYEOE7L.js +2366 -0
  113. package/dist/bundle/command-contract-L2FASWD6.js +41 -0
  114. package/dist/bundle/{command-server-entry-2SORMVRM.js → command-server-entry-VUR6WL77.js} +30 -27
  115. package/dist/bundle/{decode-5O7IEFPN.js → decode-I64PF2RM.js} +6 -6
  116. package/dist/bundle/{definitions-M3U4UYHN.js → definitions-MB65223J.js} +72 -18
  117. package/dist/bundle/{dispatch-YHQX6FEJ.js → dispatch-JQBAZWCL.js} +8 -8
  118. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  119. package/dist/bundle/{echarts-ARLMVQC7.js → echarts-YRRVLEX3.js} +2 -2
  120. package/dist/bundle/{embed-FUDUKQ3K.js → embed-BLXLKMK2.js} +7 -7
  121. package/dist/bundle/{embedder-HDRV7GX3.js → embedder-JYGF6R7I.js} +10 -10
  122. package/dist/bundle/{failure-JHXICWIL.js → failure-I6AAF5R5.js} +3 -3
  123. package/dist/bundle/first-run-YLDOZGY6.js +29 -0
  124. package/dist/bundle/first-screen-GZH3LMLZ.js +41 -0
  125. package/dist/bundle/hast-util-from-html-X2DCPS3T.js +10531 -0
  126. package/dist/bundle/hast-util-to-html-IIFHILP5.js +998 -0
  127. package/dist/bundle/hast-util-to-mdast-3CSMIWK2.js +2272 -0
  128. package/dist/bundle/{instructions-MEFIKCDI.js → instructions-AG7SRWTR.js} +1 -1
  129. package/dist/bundle/{mcp-VMS6PBCU.js → mcp-YGOAUNC3.js} +2 -2
  130. package/dist/bundle/{mdast-util-from-markdown-R66F4HZA.js → mdast-util-from-markdown-XCR5KW5S.js} +138 -195
  131. package/dist/bundle/{mdast-util-gfm-LN2ELINH.js → mdast-util-gfm-JO7PHUIB.js} +28 -357
  132. package/dist/bundle/mdast-util-to-hast-AYJV7KAE.js +879 -0
  133. package/dist/bundle/mdast-util-to-markdown-DOXGHRI7.js +1854 -0
  134. package/dist/bundle/meeting-combined-OFQSGKBG.js +25 -0
  135. package/dist/bundle/meeting-model-K6NSX3O5.js +27 -0
  136. package/dist/bundle/{meeting-semantic-R4CSLVRG.js → meeting-semantic-3DZPHM7L.js} +7 -7
  137. package/dist/bundle/{micromark-extension-gfm-5X7YT43T.js → micromark-extension-gfm-PQ7DWZM7.js} +12 -78
  138. package/dist/bundle/{node-MAQALPLA.js → node-GJQYN4FT.js} +2 -2
  139. package/dist/bundle/{node-sqlite-J7IJYNBO.js → node-sqlite-7VXIRQPH.js} +8 -8
  140. package/dist/bundle/notes-search-ACDOPTNH.js +64 -0
  141. package/dist/bundle/notion.js +14 -14
  142. package/dist/bundle/oauth-N67CH2TK.js +20 -0
  143. package/dist/bundle/{open-AB27MTGR.js → open-JGXVHIKO.js} +6 -6
  144. package/dist/bundle/{openai-D77MU5XV.js → openai-PFQJTF4H.js} +21 -18
  145. package/dist/bundle/{process-SIOWTRJ6.js → process-MEKCZMX3.js} +1 -1
  146. package/dist/bundle/{program-7K34KI27.js → program-DUJYLJH5.js} +6947 -6532
  147. package/dist/bundle/{prompt-W77YDHA6.js → prompt-FW44QDHD.js} +6 -6
  148. package/dist/bundle/{recognize-3JAXQQ36.js → recognize-62TDQ6A7.js} +5 -5
  149. package/dist/bundle/{remote-PSOJXCXO.js → remote-7ONFD7GG.js} +12 -11
  150. package/dist/bundle/{rerank-EE44ZTGL.js → rerank-YOHQQJS4.js} +8 -8
  151. package/dist/bundle/{schemas-LBYUMBC6.js → schemas-IIGJ7DOP.js} +39 -60
  152. package/dist/bundle/{serve-XJMGAMFW.js → serve-ZCXGT5RB.js} +11 -11
  153. package/dist/bundle/{server-ASU6CP5R.js → server-RQ74M637.js} +78 -56
  154. package/dist/bundle/server-XMZF57WM.js +90 -0
  155. package/dist/bundle/{services-PT4PA4J6.js → services-FWBRZ57M.js} +105 -90
  156. package/dist/bundle/{sqlite-runtime-YHXRTVXE.js → sqlite-runtime-ZZBNGV5L.js} +7 -7
  157. package/dist/bundle/{state-T6ZKFWGD.js → state-GDDFO62Y.js} +7 -7
  158. package/dist/bundle/{store-E5EE25FY.js → store-D2LRIWEI.js} +24 -20
  159. package/dist/bundle/{store-3MUCZEI3.js → store-KQCLR57N.js} +32 -18
  160. package/dist/bundle/store-maintenance-command-CK2MU5M6.js +77 -0
  161. package/dist/bundle/surface-K4TPIQW7.js +76 -0
  162. package/dist/commands/account.d.ts +3 -0
  163. package/dist/commands/account.d.ts.map +1 -0
  164. package/dist/commands/account.js +22 -0
  165. package/dist/commands/account.js.map +1 -0
  166. package/dist/commands/api.d.ts +7 -2
  167. package/dist/commands/api.d.ts.map +1 -1
  168. package/dist/commands/api.js +19 -119
  169. package/dist/commands/api.js.map +1 -1
  170. package/dist/commands/library.d.ts.map +1 -1
  171. package/dist/commands/library.js +16 -5
  172. package/dist/commands/library.js.map +1 -1
  173. package/dist/config.d.ts +11 -13
  174. package/dist/config.d.ts.map +1 -1
  175. package/dist/config.js +63 -54
  176. package/dist/config.js.map +1 -1
  177. package/dist/generated/definitions.d.ts.map +1 -1
  178. package/dist/generated/definitions.js +72 -18
  179. package/dist/generated/definitions.js.map +1 -1
  180. package/dist/generated/manifest.d.ts +4 -1
  181. package/dist/generated/manifest.d.ts.map +1 -1
  182. package/dist/generated/manifest.js +69 -0
  183. package/dist/generated/manifest.js.map +1 -1
  184. package/dist/generated/schemas.d.ts.map +1 -1
  185. package/dist/generated/schemas.js +32 -32
  186. package/dist/generated/schemas.js.map +1 -1
  187. package/dist/generated/types.d.ts +125 -25
  188. package/dist/generated/types.d.ts.map +1 -1
  189. package/dist/knowledge.d.ts +1 -0
  190. package/dist/knowledge.d.ts.map +1 -1
  191. package/dist/knowledge.js +68 -2
  192. package/dist/knowledge.js.map +1 -1
  193. package/dist/library.d.ts +12 -1
  194. package/dist/library.d.ts.map +1 -1
  195. package/dist/library.js +35 -1
  196. package/dist/library.js.map +1 -1
  197. package/dist/notion/port.d.ts.map +1 -1
  198. package/dist/notion/port.js +1 -0
  199. package/dist/notion/port.js.map +1 -1
  200. package/dist/notion/reads.d.ts +13 -1
  201. package/dist/notion/reads.d.ts.map +1 -1
  202. package/dist/notion/reads.js +1 -1
  203. package/dist/program.d.ts.map +1 -1
  204. package/dist/program.js +19 -2
  205. package/dist/program.js.map +1 -1
  206. package/dist/sync/files.d.ts +19 -0
  207. package/dist/sync/files.d.ts.map +1 -1
  208. package/dist/sync/files.js.map +1 -1
  209. package/dist/sync/source.d.ts +1 -1
  210. package/dist/sync/source.d.ts.map +1 -1
  211. package/dist/sync/source.js +60 -55
  212. package/dist/sync/source.js.map +1 -1
  213. package/dist/sync/users.d.ts +22 -0
  214. package/dist/sync/users.d.ts.map +1 -0
  215. package/dist/sync/users.js +111 -0
  216. package/dist/sync/users.js.map +1 -0
  217. package/dist/version.d.ts +1 -1
  218. package/dist/version.js +1 -1
  219. package/package.json +4 -4
  220. package/dist/bundle/chunk-L62XTC7N.js +0 -726
  221. package/dist/bundle/chunk-SHTHNBHG.js +0 -2
  222. package/dist/bundle/command-contract-UBXS6NHI.js +0 -38
  223. package/dist/bundle/first-run-BGEFTXOE.js +0 -29
  224. package/dist/bundle/first-screen-F5F3VS6Y.js +0 -38
  225. package/dist/bundle/meeting-combined-HNSS3FQY.js +0 -24
  226. package/dist/bundle/meeting-model-REZVYGQW.js +0 -26
  227. package/dist/bundle/oauth-AMV4YGJD.js +0 -20
  228. package/dist/bundle/server-WSPQ5EOA.js +0 -72
  229. package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +0 -63
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-5XP4KQ2F.js";
6
+ } from "./chunk-GCAJW4SR.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-NO2LIHWA.js";
6
+ } from "./chunk-CFQQTDSA.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
@@ -12,7 +12,7 @@ import {
12
12
  __toESM
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
15
+ // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
16
16
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
17
17
  var realRun = /* @__PURE__ */ __name((file, args) => {
18
18
  const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
@@ -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,32 @@ import {
34
30
  splice,
35
31
  subtokenize,
36
32
  thematicBreak
37
- } from "./chunk-MGUEZYFA.js";
33
+ } from "./chunk-OLAGFJDM.js";
38
34
  import {
39
- markdownLineEnding,
40
35
  normalizeIdentifier
41
- } from "./chunk-KFVDL2QS.js";
36
+ } from "./chunk-F4BX7TH2.js";
37
+ import {
38
+ stringifyPosition
39
+ } from "./chunk-YHWFF6DN.js";
40
+ import {
41
+ decodeNumericCharacterReference,
42
+ decodeString
43
+ } from "./chunk-WVN2KTNS.js";
44
+ import {
45
+ decodeNamedCharacterReference
46
+ } from "./chunk-6VPC5Z56.js";
47
+ import "./chunk-UPL474OW.js";
48
+ import {
49
+ toString
50
+ } from "./chunk-XFLCVHSQ.js";
51
+ import {
52
+ markdownLineEnding
53
+ } from "./chunk-UC7JLE6J.js";
42
54
  import {
43
55
  __export,
44
56
  __name
45
57
  } from "./chunk-ZVVMGPBJ.js";
46
58
 
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
59
  // node_modules/.pnpm/micromark@4.0.3/node_modules/micromark/lib/initialize/content.js
67
60
  var content2 = {
68
61
  tokenize: initializeContent
@@ -151,24 +144,24 @@ function initializeDocument(effects) {
151
144
  }
152
145
  const indexBeforeExits = self.events.length;
153
146
  let indexBeforeFlow = indexBeforeExits;
154
- let point3;
147
+ let point2;
155
148
  while (indexBeforeFlow--) {
156
149
  if (self.events[indexBeforeFlow][0] === "exit" && self.events[indexBeforeFlow][1].type === "chunkFlow") {
157
- point3 = self.events[indexBeforeFlow][1].end;
150
+ point2 = self.events[indexBeforeFlow][1].end;
158
151
  break;
159
152
  }
160
153
  }
161
154
  exitContainers(continued);
162
- let index2 = indexBeforeExits;
163
- while (index2 < self.events.length) {
164
- self.events[index2][1].end = {
165
- ...point3
155
+ let index = indexBeforeExits;
156
+ while (index < self.events.length) {
157
+ self.events[index][1].end = {
158
+ ...point2
166
159
  };
167
- index2++;
160
+ index++;
168
161
  }
169
162
  const editMap = new EditMap();
170
163
  editMap.add(indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));
171
- editMap.add(indexBeforeExits, index2 - indexBeforeExits, []);
164
+ editMap.add(indexBeforeExits, index - indexBeforeExits, []);
172
165
  editMap.consume(self.events);
173
166
  return checkNewContainers(code);
174
167
  }
@@ -263,13 +256,13 @@ function initializeDocument(effects) {
263
256
  childFlow.defineSkip(token.start);
264
257
  childFlow.write(stream);
265
258
  if (self.parser.lazy[token.start.line]) {
266
- let index2 = childFlow.events.length;
267
- while (index2--) {
259
+ let index = childFlow.events.length;
260
+ while (index--) {
268
261
  if (
269
262
  // 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)
263
+ childFlow.events[index][1].start.offset < lineStartOffset && // …and either is not ended yet…
264
+ (!childFlow.events[index][1].end || // …or ends after it.
265
+ childFlow.events[index][1].end.offset > lineStartOffset)
273
266
  ) {
274
267
  return;
275
268
  }
@@ -277,35 +270,35 @@ function initializeDocument(effects) {
277
270
  const indexBeforeExits = self.events.length;
278
271
  let indexBeforeFlow = indexBeforeExits;
279
272
  let seen;
280
- let point3;
273
+ let point2;
281
274
  while (indexBeforeFlow--) {
282
275
  if (self.events[indexBeforeFlow][0] === "exit" && self.events[indexBeforeFlow][1].type === "chunkFlow") {
283
276
  if (seen) {
284
- point3 = self.events[indexBeforeFlow][1].end;
277
+ point2 = self.events[indexBeforeFlow][1].end;
285
278
  break;
286
279
  }
287
280
  seen = true;
288
281
  }
289
282
  }
290
283
  exitContainers(continued);
291
- index2 = indexBeforeExits;
292
- while (index2 < self.events.length) {
293
- self.events[index2][1].end = {
294
- ...point3
284
+ index = indexBeforeExits;
285
+ while (index < self.events.length) {
286
+ self.events[index][1].end = {
287
+ ...point2
295
288
  };
296
- index2++;
289
+ index++;
297
290
  }
298
291
  const editMap = new EditMap();
299
292
  editMap.add(indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));
300
- editMap.add(indexBeforeExits, index2 - indexBeforeExits, []);
293
+ editMap.add(indexBeforeExits, index - indexBeforeExits, []);
301
294
  editMap.consume(self.events);
302
295
  }
303
296
  }
304
297
  __name(writeToChild, "writeToChild");
305
298
  function exitContainers(size) {
306
- let index2 = stack.length;
307
- while (index2-- > size) {
308
- const entry = stack[index2];
299
+ let index = stack.length;
300
+ while (index-- > size) {
301
+ const entry = stack[index];
309
302
  self.containerState = entry[1];
310
303
  entry[0].exit.call(self, effects);
311
304
  }
@@ -411,10 +404,10 @@ function initializeFactory(field) {
411
404
  return true;
412
405
  }
413
406
  const list2 = constructs[code];
414
- let index2 = -1;
407
+ let index = -1;
415
408
  if (list2) {
416
- while (++index2 < list2.length) {
417
- const item = list2[index2];
409
+ while (++index < list2.length) {
410
+ const item = list2[index];
418
411
  if (!item.previous || item.previous.call(self, self.previous)) {
419
412
  return true;
420
413
  }
@@ -430,19 +423,19 @@ __name(initializeFactory, "initializeFactory");
430
423
  function createResolver(extraResolver) {
431
424
  return resolveAllText;
432
425
  function resolveAllText(events, context) {
433
- let index2 = -1;
426
+ let index = -1;
434
427
  let enter;
435
- while (++index2 <= events.length) {
428
+ while (++index <= events.length) {
436
429
  if (enter === void 0) {
437
- if (events[index2] && events[index2][1].type === "data") {
438
- enter = index2;
439
- index2++;
430
+ if (events[index] && events[index][1].type === "data") {
431
+ enter = index;
432
+ index++;
440
433
  }
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;
434
+ } else if (!events[index] || events[index][1].type !== "data") {
435
+ if (index !== enter + 2) {
436
+ events[enter][1].end = events[index - 1][1].end;
437
+ events.splice(enter + 2, index - enter - 2);
438
+ index = enter + 2;
446
439
  }
447
440
  enter = void 0;
448
441
  }
@@ -459,12 +452,12 @@ function resolveAllLineSuffixes(events, context) {
459
452
  if ((eventIndex === events.length || events[eventIndex][1].type === "lineEnding") && events[eventIndex - 1][1].type === "data") {
460
453
  const data = events[eventIndex - 1][1];
461
454
  const chunks = context.sliceStream(data);
462
- let index2 = chunks.length;
455
+ let index = chunks.length;
463
456
  let bufferIndex = -1;
464
457
  let size = 0;
465
458
  let tabs;
466
- while (index2--) {
467
- const chunk = chunks[index2];
459
+ while (index--) {
460
+ const chunk = chunks[index];
468
461
  if (typeof chunk === "string") {
469
462
  bufferIndex = chunk.length;
470
463
  while (chunk.charCodeAt(bufferIndex - 1) === 32) {
@@ -480,7 +473,7 @@ function resolveAllLineSuffixes(events, context) {
480
473
  size++;
481
474
  } else if (chunk === -1) {
482
475
  } else {
483
- index2++;
476
+ index++;
484
477
  break;
485
478
  }
486
479
  }
@@ -491,8 +484,8 @@ function resolveAllLineSuffixes(events, context) {
491
484
  const token = {
492
485
  type: eventIndex === events.length || tabs || size < 2 ? "lineSuffix" : "hardBreakTrailing",
493
486
  start: {
494
- _bufferIndex: index2 ? bufferIndex : data.start._bufferIndex + bufferIndex,
495
- _index: data.start._index + index2,
487
+ _bufferIndex: index ? bufferIndex : data.start._bufferIndex + bufferIndex,
488
+ _index: data.start._index + index,
496
489
  line: data.end.line,
497
490
  column: data.end.column - size,
498
491
  offset: data.end.offset - size
@@ -595,7 +588,7 @@ var disable = {
595
588
 
596
589
  // node_modules/.pnpm/micromark@4.0.3/node_modules/micromark/lib/create-tokenizer.js
597
590
  function createTokenizer(parser, initialize, from) {
598
- let point3 = {
591
+ let point2 = {
599
592
  _bufferIndex: -1,
600
593
  _index: 0,
601
594
  line: from && from.line || 1,
@@ -661,7 +654,7 @@ function createTokenizer(parser, initialize, from) {
661
654
  line,
662
655
  column,
663
656
  offset
664
- } = point3;
657
+ } = point2;
665
658
  return {
666
659
  _bufferIndex,
667
660
  _index,
@@ -677,15 +670,15 @@ function createTokenizer(parser, initialize, from) {
677
670
  }
678
671
  __name(defineSkip, "defineSkip");
679
672
  function main() {
680
- while (point3._index < chunks.length) {
681
- const chunk = chunks[point3._index];
673
+ while (point2._index < chunks.length) {
674
+ const chunk = chunks[point2._index];
682
675
  if (typeof chunk === "string") {
683
- const chunkIndex = point3._index;
684
- if (point3._bufferIndex < 0) {
685
- point3._bufferIndex = 0;
676
+ const chunkIndex = point2._index;
677
+ if (point2._bufferIndex < 0) {
678
+ point2._bufferIndex = 0;
686
679
  }
687
- while (point3._index === chunkIndex && point3._bufferIndex < chunk.length) {
688
- go(chunk.charCodeAt(point3._bufferIndex));
680
+ while (point2._index === chunkIndex && point2._bufferIndex < chunk.length) {
681
+ go(chunk.charCodeAt(point2._bufferIndex));
689
682
  }
690
683
  } else {
691
684
  go(chunk);
@@ -701,24 +694,24 @@ function createTokenizer(parser, initialize, from) {
701
694
  __name(go, "go");
702
695
  function consume(code) {
703
696
  if (markdownLineEnding(code)) {
704
- point3.line++;
705
- point3.column = 1;
706
- point3.offset += code === -3 ? 2 : 1;
697
+ point2.line++;
698
+ point2.column = 1;
699
+ point2.offset += code === -3 ? 2 : 1;
707
700
  accountForPotentialSkip();
708
701
  } else if (code !== -1) {
709
- point3.column++;
710
- point3.offset++;
702
+ point2.column++;
703
+ point2.offset++;
711
704
  }
712
- if (point3._bufferIndex < 0) {
713
- point3._index++;
705
+ if (point2._bufferIndex < 0) {
706
+ point2._index++;
714
707
  } else {
715
- point3._bufferIndex++;
716
- if (point3._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
708
+ point2._bufferIndex++;
709
+ if (point2._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
717
710
  // strings.
718
711
  /** @type {string} */
719
- chunks[point3._index].length) {
720
- point3._bufferIndex = -1;
721
- point3._index++;
712
+ chunks[point2._index].length) {
713
+ point2._bufferIndex = -1;
714
+ point2._index++;
722
715
  }
723
716
  }
724
717
  context.previous = code;
@@ -857,7 +850,7 @@ function createTokenizer(parser, initialize, from) {
857
850
  restore
858
851
  };
859
852
  function restore() {
860
- point3 = startPoint;
853
+ point2 = startPoint;
861
854
  context.previous = startPrevious;
862
855
  context.currentConstruct = startCurrentConstruct;
863
856
  context.events.length = startEventsIndex;
@@ -868,9 +861,9 @@ function createTokenizer(parser, initialize, from) {
868
861
  }
869
862
  __name(store, "store");
870
863
  function accountForPotentialSkip() {
871
- if (point3.line in columnStart && point3.column < 2) {
872
- point3.column = columnStart[point3.line];
873
- point3.offset += columnStart[point3.line] - 1;
864
+ if (point2.line in columnStart && point2.column < 2) {
865
+ point2.column = columnStart[point2.line];
866
+ point2.offset += columnStart[point2.line] - 1;
874
867
  }
875
868
  }
876
869
  __name(accountForPotentialSkip, "accountForPotentialSkip");
@@ -902,11 +895,11 @@ function sliceChunks(chunks, token) {
902
895
  }
903
896
  __name(sliceChunks, "sliceChunks");
904
897
  function serializeChunks(chunks, expandTabs) {
905
- let index2 = -1;
898
+ let index = -1;
906
899
  const result = [];
907
900
  let atTab;
908
- while (++index2 < chunks.length) {
909
- const chunk = chunks[index2];
901
+ while (++index < chunks.length) {
902
+ const chunk = chunks[index];
910
903
  let value;
911
904
  if (typeof chunk === "string") {
912
905
  value = chunk;
@@ -1066,56 +1059,6 @@ function preprocess() {
1066
1059
  }
1067
1060
  __name(preprocess, "preprocess");
1068
1061
 
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
1062
  // node_modules/.pnpm/mdast-util-from-markdown@2.1.0/node_modules/mdast-util-from-markdown/lib/index.js
1120
1063
  var own = {}.hasOwnProperty;
1121
1064
  function fromMarkdown(value, encoding, options) {
@@ -1248,11 +1191,11 @@ function compiler(options) {
1248
1191
  };
1249
1192
  const listStack = [];
1250
1193
  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") {
1194
+ let index = -1;
1195
+ while (++index < events.length) {
1196
+ prepared.push(events[index]);
1197
+ if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered") {
1198
+ if (events[index][0] === "enter") {
1256
1199
  listStack.push(prepared.length - 1);
1257
1200
  } else {
1258
1201
  const tail = listStack.pop();
@@ -1261,26 +1204,26 @@ function compiler(options) {
1261
1204
  }
1262
1205
  }
1263
1206
  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) {
1207
+ index = -1;
1208
+ while (++index < events.length) {
1209
+ const handler = config[events[index][0]];
1210
+ if (events[index][0] === "enter" && config.beforeEnter.length > 0) {
1268
1211
  callListeners(config.beforeEnter, {
1269
1212
  ...context,
1270
- sliceSerialize: events[index2][2].sliceSerialize
1271
- }, events[index2][1]);
1213
+ sliceSerialize: events[index][2].sliceSerialize
1214
+ }, events[index][1]);
1272
1215
  }
1273
- if (own.call(handler, events[index2][1].type)) {
1274
- handler[events[index2][1].type].call({
1216
+ if (own.call(handler, events[index][1].type)) {
1217
+ handler[events[index][1].type].call({
1275
1218
  ...context,
1276
- sliceSerialize: events[index2][2].sliceSerialize
1277
- }, events[index2][1]);
1219
+ sliceSerialize: events[index][2].sliceSerialize
1220
+ }, events[index][1]);
1278
1221
  }
1279
- if (events[index2][0] === "exit" && config.afterExit.length > 0) {
1222
+ if (events[index][0] === "exit" && config.afterExit.length > 0) {
1280
1223
  callListeners(config.afterExit, {
1281
1224
  ...context,
1282
- sliceSerialize: events[index2][2].sliceSerialize
1283
- }, events[index2][1]);
1225
+ sliceSerialize: events[index][2].sliceSerialize
1226
+ }, events[index][1]);
1284
1227
  }
1285
1228
  }
1286
1229
  if (context.tokenStack.length > 0) {
@@ -1289,34 +1232,34 @@ function compiler(options) {
1289
1232
  handler.call(context, void 0, tail[0]);
1290
1233
  }
1291
1234
  tree.position = {
1292
- start: point2(events.length > 0 ? events[0][1].start : {
1235
+ start: point(events.length > 0 ? events[0][1].start : {
1293
1236
  line: 1,
1294
1237
  column: 1,
1295
1238
  offset: 0
1296
1239
  }),
1297
- end: point2(events.length > 0 ? events[events.length - 2][1].end : {
1240
+ end: point(events.length > 0 ? events[events.length - 2][1].end : {
1298
1241
  line: 1,
1299
1242
  column: 1,
1300
1243
  offset: 0
1301
1244
  })
1302
1245
  };
1303
- index2 = -1;
1304
- while (++index2 < config.transforms.length) {
1305
- tree = config.transforms[index2](tree) || tree;
1246
+ index = -1;
1247
+ while (++index < config.transforms.length) {
1248
+ tree = config.transforms[index](tree) || tree;
1306
1249
  }
1307
1250
  return tree;
1308
1251
  }
1309
1252
  __name(compile, "compile");
1310
1253
  function callListeners(listeners, context, token) {
1311
- let index2 = -1;
1312
- while (++index2 < listeners.length) {
1313
- listeners[index2].call(context, token);
1254
+ let index = -1;
1255
+ while (++index < listeners.length) {
1256
+ listeners[index].call(context, token);
1314
1257
  }
1315
1258
  }
1316
1259
  __name(callListeners, "callListeners");
1317
1260
  function prepareList(events, start) {
1318
1261
  const end = events.length - 1;
1319
- let index2 = start - 1;
1262
+ let index = start - 1;
1320
1263
  let containerBalance = -1;
1321
1264
  let listSpread = false;
1322
1265
  let listItem2;
@@ -1324,8 +1267,8 @@ function compiler(options) {
1324
1267
  let firstBlankLineIndex;
1325
1268
  let atMarker;
1326
1269
  const insertions = [];
1327
- while (++index2 <= end) {
1328
- const event = events[index2];
1270
+ while (++index <= end) {
1271
+ const event = events[index];
1329
1272
  switch (event[1].type) {
1330
1273
  case "listUnordered":
1331
1274
  case "listOrdered":
@@ -1341,7 +1284,7 @@ function compiler(options) {
1341
1284
  case "lineEndingBlank": {
1342
1285
  if (event[0] === "enter") {
1343
1286
  if (listItem2 && !atMarker && !containerBalance && !firstBlankLineIndex) {
1344
- firstBlankLineIndex = index2;
1287
+ firstBlankLineIndex = index;
1345
1288
  }
1346
1289
  atMarker = void 0;
1347
1290
  }
@@ -1360,7 +1303,7 @@ function compiler(options) {
1360
1303
  }
1361
1304
  if (!containerBalance && event[0] === "enter" && event[1].type === "listItemPrefix" || containerBalance === -1 && event[0] === "exit" && (event[1].type === "listUnordered" || event[1].type === "listOrdered")) {
1362
1305
  if (listItem2) {
1363
- let tailIndex = index2;
1306
+ let tailIndex = index;
1364
1307
  lineIndex = void 0;
1365
1308
  while (tailIndex--) {
1366
1309
  const tailEvent = events[tailIndex];
@@ -1382,7 +1325,7 @@ function compiler(options) {
1382
1325
  }
1383
1326
  listItem2.end = Object.assign({}, lineIndex ? events[lineIndex][1].start : event[1].end);
1384
1327
  insertions.push({
1385
- at: lineIndex || index2,
1328
+ at: lineIndex || index,
1386
1329
  event: ["exit", listItem2, event[2]]
1387
1330
  });
1388
1331
  }
@@ -1396,7 +1339,7 @@ function compiler(options) {
1396
1339
  };
1397
1340
  listItem2 = item;
1398
1341
  insertions.push({
1399
- at: index2,
1342
+ at: index,
1400
1343
  event: ["enter", item, event[2]]
1401
1344
  });
1402
1345
  firstBlankLineIndex = void 0;
@@ -1406,12 +1349,12 @@ function compiler(options) {
1406
1349
  }
1407
1350
  const listEvents = events.splice(start);
1408
1351
  let insertion = 0;
1409
- index2 = -1;
1410
- while (++index2 < listEvents.length) {
1411
- while (insertion < insertions.length && insertions[insertion].at === start + index2) {
1352
+ index = -1;
1353
+ while (++index < listEvents.length) {
1354
+ while (insertion < insertions.length && insertions[insertion].at === start + index) {
1412
1355
  events.push(insertions[insertion++].event);
1413
1356
  }
1414
- events.push(listEvents[index2]);
1357
+ events.push(listEvents[index]);
1415
1358
  }
1416
1359
  events[start][1]._spread = listSpread;
1417
1360
  }
@@ -1439,7 +1382,7 @@ function compiler(options) {
1439
1382
  this.stack.push(node);
1440
1383
  this.tokenStack.push([token, errorHandler || void 0]);
1441
1384
  node.position = {
1442
- start: point2(token.start),
1385
+ start: point(token.start),
1443
1386
  // @ts-expect-error: `end` will be patched later.
1444
1387
  end: void 0
1445
1388
  };
@@ -1471,7 +1414,7 @@ function compiler(options) {
1471
1414
  handler.call(this, token, open[0]);
1472
1415
  }
1473
1416
  }
1474
- node.position.end = point2(token.end);
1417
+ node.position.end = point(token.end);
1475
1418
  }
1476
1419
  __name(exit, "exit");
1477
1420
  function resume() {
@@ -1568,7 +1511,7 @@ function compiler(options) {
1568
1511
  if (!tail || tail.type !== "text") {
1569
1512
  tail = text3();
1570
1513
  tail.position = {
1571
- start: point2(token.start),
1514
+ start: point(token.start),
1572
1515
  // @ts-expect-error: we’ll add `end` later.
1573
1516
  end: void 0
1574
1517
  };
@@ -1580,14 +1523,14 @@ function compiler(options) {
1580
1523
  function onexitdata(token) {
1581
1524
  const tail = this.stack.pop();
1582
1525
  tail.value += this.sliceSerialize(token);
1583
- tail.position.end = point2(token.end);
1526
+ tail.position.end = point(token.end);
1584
1527
  }
1585
1528
  __name(onexitdata, "onexitdata");
1586
1529
  function onexitlineending(token) {
1587
1530
  const context = this.stack[this.stack.length - 1];
1588
1531
  if (this.data.atHardBreak) {
1589
1532
  const tail = context.children[context.children.length - 1];
1590
- tail.position.end = point2(token.end);
1533
+ tail.position.end = point(token.end);
1591
1534
  this.data.atHardBreak = void 0;
1592
1535
  return;
1593
1536
  }
@@ -1718,7 +1661,7 @@ function compiler(options) {
1718
1661
  __name(onexitcharacterreferencevalue, "onexitcharacterreferencevalue");
1719
1662
  function onexitcharacterreference(token) {
1720
1663
  const tail = this.stack.pop();
1721
- tail.position.end = point2(token.end);
1664
+ tail.position.end = point(token.end);
1722
1665
  }
1723
1666
  __name(onexitcharacterreference, "onexitcharacterreference");
1724
1667
  function onexitautolinkprotocol(token) {
@@ -1877,18 +1820,18 @@ function compiler(options) {
1877
1820
  __name(thematicBreak2, "thematicBreak");
1878
1821
  }
1879
1822
  __name(compiler, "compiler");
1880
- function point2(d) {
1823
+ function point(d) {
1881
1824
  return {
1882
1825
  line: d.line,
1883
1826
  column: d.column,
1884
1827
  offset: d.offset
1885
1828
  };
1886
1829
  }
1887
- __name(point2, "point");
1830
+ __name(point, "point");
1888
1831
  function configure(combined, extensions) {
1889
- let index2 = -1;
1890
- while (++index2 < extensions.length) {
1891
- const value = extensions[index2];
1832
+ let index = -1;
1833
+ while (++index < extensions.length) {
1834
+ const value = extensions[index];
1892
1835
  if (Array.isArray(value)) {
1893
1836
  configure(combined, value);
1894
1837
  } else {