@jackuait/blok 0.10.0-beta.5 → 0.10.0-beta.7

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 (471) hide show
  1. package/codemod/migrate-editorjs-to-blok.js +0 -2
  2. package/codemod/test.js +0 -6
  3. package/dist/blok.mjs +3 -3
  4. package/dist/chunks/_basePickBy-BHRNO12X.mjs +410 -0
  5. package/dist/chunks/_baseUniq-DtFPDBML.mjs +1045 -0
  6. package/dist/chunks/_getTag-ozrhqxk_.mjs +26 -0
  7. package/dist/chunks/arc-BEqJP9HX.mjs +80 -0
  8. package/dist/chunks/architecture-YZFGNWBL-Bcu-90pi.mjs +3 -0
  9. package/dist/chunks/architectureDiagram-Q4EWVU46-BMno5LCn.mjs +4066 -0
  10. package/dist/chunks/array-Cyf-61SV.mjs +6 -0
  11. package/dist/chunks/blockDiagram-DXYQGD6D-DlP_cPth.mjs +3259 -0
  12. package/dist/chunks/{blok-DH-WEcA8.mjs → blok-CiLRmoHI.mjs} +2030 -1996
  13. package/dist/chunks/c4Diagram-AHTNJAMY-BbVV8EXj.mjs +2956 -0
  14. package/dist/chunks/channel-DPcniO2B.mjs +5 -0
  15. package/dist/chunks/chunk-2KRD3SAO-CazES4VS.mjs +20 -0
  16. package/dist/chunks/chunk-336JU56O-heO72r_k.mjs +49 -0
  17. package/dist/chunks/chunk-426QAEUC-CmCcml1z.mjs +13 -0
  18. package/dist/chunks/chunk-4BX2VUAB-B10DxOza.mjs +19 -0
  19. package/dist/chunks/chunk-4TB4RGXK-B0snhZOU.mjs +3250 -0
  20. package/dist/chunks/chunk-55IACEB6-CGkn5ABd.mjs +8 -0
  21. package/dist/chunks/chunk-5FUZZQ4R-USdumo_u.mjs +3786 -0
  22. package/dist/chunks/chunk-5PVQY5BW-CxUGVzQL.mjs +1692 -0
  23. package/dist/chunks/chunk-67CJDMHE-Bvw55oRa.mjs +20 -0
  24. package/dist/chunks/chunk-7N4EOEYR-Bs2qDy88.mjs +29 -0
  25. package/dist/chunks/chunk-AA7GKIK3-Bss0LgrN.mjs +24 -0
  26. package/dist/chunks/chunk-BSJP7CBP-CpUW7gi5.mjs +83 -0
  27. package/dist/chunks/chunk-CIAEETIT-DlRbLLf3.mjs +20 -0
  28. package/dist/chunks/chunk-D6kmoKXy.mjs +20 -0
  29. package/dist/chunks/chunk-EDXVE4YY-DEcX4XWm.mjs +26 -0
  30. package/dist/chunks/chunk-ENJZ2VHE-B4THRZkR.mjs +566 -0
  31. package/dist/chunks/chunk-FMBD7UC4-CF6BKEiV.mjs +5 -0
  32. package/dist/chunks/chunk-FOC6F5B3--xuza7Yn.mjs +20 -0
  33. package/dist/chunks/chunk-ICPOFSXX-BMja8cuy.mjs +3290 -0
  34. package/dist/chunks/chunk-K5T4RW27-CHEqGHFS.mjs +16370 -0
  35. package/dist/chunks/chunk-KGLVRYIC-DHYYpR8v.mjs +20 -0
  36. package/dist/chunks/chunk-LIHQZDEY-AvbOvyLE.mjs +55 -0
  37. package/dist/chunks/chunk-ORNJ4GCN-38fbR5OS.mjs +25 -0
  38. package/dist/chunks/chunk-OYMX7WX6-BiqlATPA.mjs +2038 -0
  39. package/dist/chunks/chunk-QZHKN3VN-DitZIvj8.mjs +12 -0
  40. package/dist/chunks/chunk-U2HBQHQK-DJytnHmZ.mjs +1875 -0
  41. package/dist/chunks/chunk-X2U36JSP-DlOifw1K.mjs +68 -0
  42. package/dist/chunks/chunk-XPW4576I-s4fsi4XO.mjs +1146 -0
  43. package/dist/chunks/chunk-YZCP3GAM-Ch258bXC.mjs +60 -0
  44. package/dist/chunks/chunk-ZZ45TVLE-DWziaKxP.mjs +33 -0
  45. package/dist/chunks/classDiagram-6PBFFD2Q-BOkAe08u.mjs +30 -0
  46. package/dist/chunks/classDiagram-v2-HSJHXN6E-DeKatSvh.mjs +30 -0
  47. package/dist/chunks/clone-CJCz7VRp.mjs +8 -0
  48. package/dist/chunks/{constants-Ccno9NZS.mjs → constants-DFS8l39Y.mjs} +525 -552
  49. package/dist/chunks/cose-bilkent-S5V4N54A-CzLGVqvr.mjs +2246 -0
  50. package/dist/chunks/cytoscape.esm-D0iglm-M.mjs +18108 -0
  51. package/dist/chunks/dagre-KV5264BT-XbHSjleO.mjs +298 -0
  52. package/dist/chunks/dagre-XY8CZ1sg.mjs +1536 -0
  53. package/dist/chunks/default-DIfXCS2E.mjs +4 -0
  54. package/dist/chunks/defaultLocale-DFhS1600.mjs +201 -0
  55. package/dist/chunks/diagram-5BDNPKRD-CM7c3UTI.mjs +112 -0
  56. package/dist/chunks/diagram-G4DWMVQ6-Bhg4ps6b.mjs +546 -0
  57. package/dist/chunks/diagram-MMDJMWI5-C-UCVaxB.mjs +234 -0
  58. package/dist/chunks/diagram-TYMM5635-BOHSujSD.mjs +144 -0
  59. package/dist/chunks/dist-DHsXIYdd.mjs +59 -0
  60. package/dist/chunks/erDiagram-SMLLAGMA-CwKxXFMB.mjs +1712 -0
  61. package/dist/chunks/flowDiagram-DWJPFMVM-rQJKfyuO.mjs +4175 -0
  62. package/dist/chunks/ganttDiagram-T4ZO3ILL-DfaZirLX.mjs +3083 -0
  63. package/dist/chunks/gitGraph-7Q5UKJZL-BKG8cHGz.mjs +3 -0
  64. package/dist/chunks/gitGraphDiagram-UUTBAWPF-CRa-ymsI.mjs +792 -0
  65. package/dist/chunks/graphlib-CuDElSdG.mjs +223 -0
  66. package/dist/chunks/{i18next-G6FKbZqA.mjs → i18next-BBGW2sDE.mjs} +1 -1
  67. package/dist/chunks/{i18next-loader-CwNimni3.mjs → i18next-loader-CasQQb5s.mjs} +2 -2
  68. package/dist/chunks/info-OMHHGYJF-FKqYyUn9.mjs +3 -0
  69. package/dist/chunks/infoDiagram-42DDH7IO-CvyJU2nE.mjs +29 -0
  70. package/dist/chunks/init-JlKGZtuT.mjs +15 -0
  71. package/dist/chunks/ishikawaDiagram-UXIWVN3A-CIpbw1BK.mjs +719 -0
  72. package/dist/chunks/journeyDiagram-VCZTEJTY-H96UcUK9.mjs +885 -0
  73. package/dist/chunks/kanban-definition-6JOO6SKY-BYZT3srA.mjs +980 -0
  74. package/dist/chunks/katex-JyOgX6MW.mjs +22026 -0
  75. package/dist/chunks/{lightweight-i18n-DWCdzAw0.mjs → lightweight-i18n-Cvv8CWh4.mjs} +29 -18
  76. package/dist/chunks/line-B9xUUA7k.mjs +34 -0
  77. package/dist/chunks/linear-Dj-1yA_B.mjs +289 -0
  78. package/dist/chunks/mdast-util-math-CHYUxOHk.mjs +151 -0
  79. package/dist/chunks/mermaid-parser.core-D6OPAUtM.mjs +57 -0
  80. package/dist/chunks/mermaid.core-BPN9ZHKQ.mjs +989 -0
  81. package/dist/{messages-B-4fku2H2.mjs → chunks/messages--YKhFEDE.mjs} +30 -19
  82. package/dist/{messages-BCG_evLg.mjs → chunks/messages-0Uwu1AMJ2.mjs} +28 -17
  83. package/dist/{messages-CdlsTFB1.mjs → chunks/messages-1__0Ph4Q.mjs} +28 -17
  84. package/dist/chunks/{messages-wLSVQbsA2.mjs → messages-4sm9Pb0C.mjs} +28 -17
  85. package/dist/chunks/{messages-R2W_rGOo2.mjs → messages-4uxjtzKW.mjs} +28 -17
  86. package/dist/chunks/{messages-Dm4YVlrm.mjs → messages-B-SwLgkQ.mjs} +30 -19
  87. package/dist/{messages--S8_taOd2.mjs → chunks/messages-B1ylBxXQ.mjs} +28 -17
  88. package/dist/chunks/{messages-B7MIRzCa2.mjs → messages-B5m3dhKc.mjs} +28 -17
  89. package/dist/chunks/{messages-Dplnp19q.mjs → messages-B6n2zDtv.mjs} +29 -18
  90. package/dist/chunks/{messages-DD7BI6BK.mjs → messages-BC9w4zAT.mjs} +28 -17
  91. package/dist/chunks/{messages-BrFl5773.mjs → messages-BOj-7N3p.mjs} +28 -17
  92. package/dist/chunks/{messages-BbdNugdi.mjs → messages-BRYHTS18.mjs} +28 -17
  93. package/dist/chunks/{messages-JQKFJo7C.mjs → messages-BSBbVjor.mjs} +35 -24
  94. package/dist/{messages-CBzd_x7H.mjs → chunks/messages-BUUkmUGc.mjs} +28 -17
  95. package/dist/{messages-CjmSrt1D.mjs → chunks/messages-Bb3YEV2P.mjs} +33 -22
  96. package/dist/{messages-BvgXeMSL2.mjs → chunks/messages-Be_6YLzJ.mjs} +29 -18
  97. package/dist/{messages-pgPcitDH.mjs → chunks/messages-BevRhv5d.mjs} +28 -17
  98. package/dist/chunks/{messages-BW_7lfqG2.mjs → messages-Bhqr7Im2.mjs} +28 -17
  99. package/dist/chunks/{messages-LxumrNue2.mjs → messages-BpJFjSKa.mjs} +29 -18
  100. package/dist/{messages-xEI8gEDK.mjs → chunks/messages-BqYlq_Bn.mjs} +28 -17
  101. package/dist/{messages-CBdQ3XP9.mjs → chunks/messages-BtAwCUfD.mjs} +28 -17
  102. package/dist/{messages-D3cAcyzj.mjs → chunks/messages-Bthbp65G.mjs} +29 -18
  103. package/dist/{messages-CYX48nfg.mjs → chunks/messages-BvHMZ8Pi2.mjs} +28 -17
  104. package/dist/{messages-Dddxv8-f2.mjs → chunks/messages-Bw1BE9jW.mjs} +28 -17
  105. package/dist/chunks/{messages-d0Ky6QjR.mjs → messages-Bx6Wt285.mjs} +28 -17
  106. package/dist/chunks/{messages-BPog17132.mjs → messages-BzslJRYv.mjs} +29 -18
  107. package/dist/{messages-hTpeKUaW.mjs → chunks/messages-C02M0Tpw.mjs} +28 -17
  108. package/dist/chunks/{messages-C-b6tPad2.mjs → messages-C1u3E9qg.mjs} +28 -17
  109. package/dist/{messages-BJ7BuFZi.mjs → chunks/messages-C68WgSKk.mjs} +29 -18
  110. package/dist/chunks/{messages-Bpda_3PM2.mjs → messages-C8w8JCP0.mjs} +30 -19
  111. package/dist/chunks/{messages-CmrMwBv3.mjs → messages-CFOZdSk4.mjs} +28 -17
  112. package/dist/{messages-DVQNjdPk.mjs → chunks/messages-CGOY79lr.mjs} +28 -17
  113. package/dist/chunks/{messages-DAVsuDWh2.mjs → messages-CGaSMZPu.mjs} +28 -17
  114. package/dist/{messages-DtrSrdfE2.mjs → chunks/messages-CJJgQ0BH.mjs} +28 -17
  115. package/dist/{messages-CgzbJ8_l2.mjs → chunks/messages-CTD6rtQj2.mjs} +28 -17
  116. package/dist/chunks/{messages-p4byLfvR.mjs → messages-CZymJML9.mjs} +32 -21
  117. package/dist/{messages-CqkRG9mH.mjs → chunks/messages-CfeFJbiv.mjs} +32 -21
  118. package/dist/{messages-DjJQoYvP2.mjs → chunks/messages-Cgatzu_z.mjs} +30 -19
  119. package/dist/{messages-CM5fsPo02.mjs → chunks/messages-Ch2zBI602.mjs} +28 -17
  120. package/dist/chunks/{messages-CyNsByCY.mjs → messages-CiAHsUfO.mjs} +28 -17
  121. package/dist/{messages-BXI3qIos.mjs → chunks/messages-Cuzq-tNW.mjs} +28 -17
  122. package/dist/chunks/{messages-FHrCEJmY2.mjs → messages-Cw4qiMwb.mjs} +28 -17
  123. package/dist/chunks/{messages-xfjdrZmx.mjs → messages-Cyh-mz40.mjs} +28 -17
  124. package/dist/{messages-Bo_FUvVH.mjs → chunks/messages-D-I2QO8H.mjs} +28 -17
  125. package/dist/chunks/{messages-Ct7AMBS82.mjs → messages-D0D2gruy.mjs} +28 -17
  126. package/dist/chunks/{messages-CrMfiGu5.mjs → messages-D1BKxfLD.mjs} +29 -18
  127. package/dist/chunks/{messages-CmXADeab2.mjs → messages-D4eDs6R_.mjs} +28 -17
  128. package/dist/chunks/{messages-ClRHDxzh.mjs → messages-D9Xr-hES.mjs} +28 -17
  129. package/dist/{messages-tsHpMdDT2.mjs → chunks/messages-D9eJPHia.mjs} +30 -19
  130. package/dist/{messages-DUBHHfEt.mjs → chunks/messages-DBFWSzKY2.mjs} +28 -17
  131. package/dist/{messages-i4S6q64n2.mjs → chunks/messages-DC0wu2S7.mjs} +28 -17
  132. package/dist/chunks/{messages-BnznaKEP2.mjs → messages-DF9o19rG.mjs} +28 -17
  133. package/dist/{messages-DA-o8X3A.mjs → chunks/messages-DFS_n986.mjs} +51 -40
  134. package/dist/{messages-BGsDZTQp2.mjs → chunks/messages-DGS4H30T.mjs} +28 -17
  135. package/dist/chunks/{messages-Cdx4QMR1.mjs → messages-DKjddpzJ.mjs} +30 -19
  136. package/dist/chunks/{messages-B3s2vra72.mjs → messages-DMvTdUXC.mjs} +30 -19
  137. package/dist/{messages-Dcyrzdxa2.mjs → chunks/messages-DQUX-QYI2.mjs} +28 -17
  138. package/dist/chunks/{messages-BS1nOvZ-.mjs → messages-DUigq8FO2.mjs} +28 -17
  139. package/dist/{messages-BKjqW08U.mjs → chunks/messages-DY0FJdpH.mjs} +28 -17
  140. package/dist/{messages-BBvDbp62.mjs → chunks/messages-DfVXiqt-2.mjs} +28 -17
  141. package/dist/chunks/{messages-DHCVA7XQ.mjs → messages-DgZc9TJw.mjs} +28 -17
  142. package/dist/chunks/{messages-1Raf1IK82.mjs → messages-QD4BCUDP.mjs} +28 -17
  143. package/dist/{messages-JhoVMjfX2.mjs → chunks/messages-USmweex9.mjs} +28 -17
  144. package/dist/chunks/{messages-DBpXyvRe2.mjs → messages-a1JTi0Qm.mjs} +31 -20
  145. package/dist/chunks/{messages-D5IgUbBD2.mjs → messages-jcgCHPRn.mjs} +28 -17
  146. package/dist/chunks/{messages-Dfpi8pDY.mjs → messages-tnnqHpbd.mjs} +29 -18
  147. package/dist/{messages-DZEcrbmH.mjs → chunks/messages-vzWKPLJO.mjs} +28 -17
  148. package/dist/chunks/micromark-extension-math-Cz_ZZ_0Y.mjs +169 -0
  149. package/dist/chunks/micromark-factory-space-WwmyBO_J.mjs +36 -0
  150. package/dist/chunks/mindmap-definition-QFDTVHPH-BswFuNN6.mjs +1013 -0
  151. package/dist/chunks/{notifier-Butv4Dvo.mjs → notifier-B1zCi9G1.mjs} +1 -1
  152. package/dist/chunks/{objectSpread2-BY4mgzrQ.mjs → objectSpread2-CWwMYL_U.mjs} +1 -1
  153. package/dist/chunks/ordinal-D1_lEgAO.mjs +65 -0
  154. package/dist/chunks/packet-4T2RLAQJ-DTUW2U0C.mjs +3 -0
  155. package/dist/chunks/path-6nYPAvNb.mjs +85 -0
  156. package/dist/chunks/pie-ZZUOXDRM-D-umqvEM.mjs +3 -0
  157. package/dist/chunks/pieDiagram-DEJITSTG-1WJgvK1w.mjs +179 -0
  158. package/dist/chunks/quadrantDiagram-34T5L4WZ-B_YH8QGl.mjs +1960 -0
  159. package/dist/chunks/radar-PYXPWWZC-DkQelf08.mjs +3 -0
  160. package/dist/chunks/requirementDiagram-MS252O5E-DRl0YJRI.mjs +2224 -0
  161. package/dist/chunks/rough.esm-CSWJruu5.mjs +1353 -0
  162. package/dist/chunks/sankeyDiagram-XADWPNL6-B-8IrknH.mjs +909 -0
  163. package/dist/chunks/sequenceDiagram-FGHM5R23-DTLb8qmO.mjs +4181 -0
  164. package/dist/chunks/src-CRgEHLPW.mjs +2149 -0
  165. package/dist/chunks/stateDiagram-FHFEXIEX-B0JFjLFy.mjs +218 -0
  166. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-Co9CUU_z.mjs +28 -0
  167. package/dist/chunks/timeline-definition-GMOUNBTQ-CS9KTh-Q.mjs +1084 -0
  168. package/dist/chunks/{tools-C2_IVsQY.mjs → tools-CSYsrnud.mjs} +2846 -3098
  169. package/dist/chunks/treeView-SZITEDCU-DOOoyNP9.mjs +3 -0
  170. package/dist/chunks/treemap-W4RFUUIX-CsOoUA-u.mjs +3 -0
  171. package/dist/chunks/vennDiagram-DHZGUBPP-0BNu5Wna.mjs +1876 -0
  172. package/dist/chunks/wardley-RL74JXVD-CCzZcmEk.mjs +3 -0
  173. package/dist/chunks/wardleyDiagram-NUSXRM2D-Ca9XByNH.mjs +594 -0
  174. package/dist/chunks/xychartDiagram-5P7HB3ND-C8AyKUAE.mjs +2017 -0
  175. package/dist/cli.mjs +1 -1
  176. package/dist/full.mjs +14 -14
  177. package/dist/locales.mjs +95 -84
  178. package/dist/markdown.mjs +3962 -0
  179. package/dist/{chunks/messages-6mikOS4D2.mjs → messages-5jvKxQNu2.mjs} +28 -17
  180. package/dist/{messages-BAcH6PtT2.mjs → messages-7QD-X6XT2.mjs} +28 -17
  181. package/dist/{messages-DbxbxUiK2.mjs → messages-96iaAUds2.mjs} +29 -18
  182. package/dist/{messages-CVcQD-9u.mjs → messages-B19o-Teb.mjs} +30 -19
  183. package/dist/{messages-Ccd587Yn.mjs → messages-B1ZUQagA.mjs} +28 -17
  184. package/dist/{messages-upqrRZQH2.mjs → messages-B7ieAJBd2.mjs} +28 -17
  185. package/dist/{chunks/messages-Csvm4mtA.mjs → messages-BECMxmfX.mjs} +28 -17
  186. package/dist/{chunks/messages-DA7Zk-Cy.mjs → messages-BIHc0KHY.mjs} +29 -18
  187. package/dist/{chunks/messages-BdnSVKOw.mjs → messages-BIoeoik5.mjs} +28 -17
  188. package/dist/{chunks/messages-DQ5AyNCU.mjs → messages-BJeGJksD.mjs} +28 -17
  189. package/dist/{messages-C5XPUD9T2.mjs → messages-BRZX964b2.mjs} +29 -18
  190. package/dist/{messages-Dkg99bfr2.mjs → messages-BTQPpoM42.mjs} +31 -20
  191. package/dist/{messages-fLi0P2dP.mjs → messages-BYNcD6uR.mjs} +28 -17
  192. package/dist/{messages-BvgTQLf72.mjs → messages-BYmmMDrN2.mjs} +28 -17
  193. package/dist/{chunks/messages-CgRvtOEY.mjs → messages-BbYq1pk-.mjs} +28 -17
  194. package/dist/{chunks/messages-DUDgFEEe2.mjs → messages-BiUGXvYr2.mjs} +28 -17
  195. package/dist/{chunks/messages-DJkIeapn.mjs → messages-BiiongNz2.mjs} +28 -17
  196. package/dist/{messages-BBq0M604.mjs → messages-Bm0Feca1.mjs} +32 -21
  197. package/dist/{messages-eTourT12.mjs → messages-BmAn22OX.mjs} +28 -17
  198. package/dist/{messages-C6Y4Jv2N.mjs → messages-Bq3F2Tp_.mjs} +28 -17
  199. package/dist/{messages-DIRha_gg2.mjs → messages-BsycN_JI2.mjs} +28 -17
  200. package/dist/{chunks/messages-CljStrYi.mjs → messages-BwHs4cm1.mjs} +32 -21
  201. package/dist/{chunks/messages-Cs9XBt4T.mjs → messages-CJTy6JZt.mjs} +28 -17
  202. package/dist/{messages-BokEflKa.mjs → messages-CR_L_UtK.mjs} +28 -17
  203. package/dist/{chunks/messages-ZJ0b1C3a.mjs → messages-CSUHBs4c2.mjs} +28 -17
  204. package/dist/{messages-BcFQFcJ92.mjs → messages-CWIXvnDf2.mjs} +28 -17
  205. package/dist/{messages-DnatBKPm.mjs → messages-CcF4y-E4.mjs} +28 -17
  206. package/dist/{messages-BywbKcPC.mjs → messages-Ce6KVEbT.mjs} +29 -18
  207. package/dist/{messages-DOTJ2NvJ.mjs → messages-Ci0KqX-J.mjs} +35 -24
  208. package/dist/{messages-BtxaN-xx.mjs → messages-CjbnogEC.mjs} +28 -17
  209. package/dist/{messages-BSe3QDnQ.mjs → messages-CmB406HW.mjs} +30 -19
  210. package/dist/{messages-BVKZK-3t.mjs → messages-CqXtJTpU.mjs} +28 -17
  211. package/dist/{chunks/messages-DJA6fb_P2.mjs → messages-D0aw5_0k2.mjs} +30 -19
  212. package/dist/{chunks/messages-DPykxECP2.mjs → messages-D8FQWulF2.mjs} +28 -17
  213. package/dist/{chunks/messages-CpzO7KRA.mjs → messages-DBiVgUs2.mjs} +29 -18
  214. package/dist/{chunks/messages-B0ffBqzr.mjs → messages-DIJlIqlQ2.mjs} +28 -17
  215. package/dist/{chunks/messages-BaPZuLjN.mjs → messages-DLX_iBDJ.mjs} +28 -17
  216. package/dist/{chunks/messages-CvfKofOP.mjs → messages-DLlc9QPw.mjs} +28 -17
  217. package/dist/{chunks/messages-Czny5pPT2.mjs → messages-DMr62KiO2.mjs} +28 -17
  218. package/dist/{chunks/messages-IDEUsFhQ2.mjs → messages-DPA-mMWC2.mjs} +29 -18
  219. package/dist/{messages-BCuTVHBV.mjs → messages-DTh9a8mR.mjs} +28 -17
  220. package/dist/{chunks/messages-DT7fRpCy.mjs → messages-DY4IqlhY.mjs} +28 -17
  221. package/dist/{chunks/messages-BgVEGd4c.mjs → messages-DYTTu0O12.mjs} +28 -17
  222. package/dist/{messages-Bk984gRE2.mjs → messages-DbySKTKt2.mjs} +30 -19
  223. package/dist/{chunks/messages-ID1PHnMv.mjs → messages-Ddnj2iTG2.mjs} +28 -17
  224. package/dist/{messages-BmNaAyKS.mjs → messages-DkLU_rWm.mjs} +28 -17
  225. package/dist/{messages-C6OJvnJg2.mjs → messages-Dl3Sv6Rq2.mjs} +29 -18
  226. package/dist/{chunks/messages-C1OqT_nL.mjs → messages-Dl5Y2-Ia.mjs} +51 -40
  227. package/dist/{chunks/messages-Cqc-6rfh2.mjs → messages-DnG0ef8t2.mjs} +30 -19
  228. package/dist/{chunks/messages-BkCjgGxc.mjs → messages-DnGJD4TL.mjs} +28 -17
  229. package/dist/{messages-Bio7KYsr2.mjs → messages-Dnp9N6RU2.mjs} +28 -17
  230. package/dist/{chunks/messages-Df87zXXG.mjs → messages-Dvn35ksS.mjs} +28 -17
  231. package/dist/{messages-CHJ5SOZI.mjs → messages-Dw__BcTj.mjs} +28 -17
  232. package/dist/{chunks/messages-DC7TX-YT.mjs → messages-Dy-Y_nEI.mjs} +28 -17
  233. package/dist/{messages-DV9e1DW7.mjs → messages-E_ZuzGDt.mjs} +28 -17
  234. package/dist/{messages-DD5pW0zJ.mjs → messages-F2xRoY1w.mjs} +28 -17
  235. package/dist/{chunks/messages-BgsPQXfP.mjs → messages-Smt4GBbj.mjs} +33 -22
  236. package/dist/{messages-DJT4Bt_02.mjs → messages-aMXpHt5X2.mjs} +28 -17
  237. package/dist/{chunks/messages-B2pW6jO_.mjs → messages-aWZH50vu2.mjs} +30 -19
  238. package/dist/{chunks/messages-u2yxkNTE2.mjs → messages-dv19AkyJ.mjs} +28 -17
  239. package/dist/{messages-DJKLtW7u.mjs → messages-hWwSRF-2.mjs} +28 -17
  240. package/dist/{messages-tK67CBqn.mjs → messages-j7o5rT9s.mjs} +28 -17
  241. package/dist/{messages-DqyqEw1_.mjs → messages-nUVjeh7K.mjs} +29 -18
  242. package/dist/{chunks/messages-DSjXen8E.mjs → messages-nlhESX9t.mjs} +28 -17
  243. package/dist/{messages-C30Vz-UZ2.mjs → messages-rk-A1Wa42.mjs} +30 -19
  244. package/dist/{chunks/messages-DR09nkcZ.mjs → messages-xh2eOLvs.mjs} +28 -17
  245. package/dist/{chunks/messages-C11byid72.mjs → messages-ynAe7ewZ.mjs} +28 -17
  246. package/dist/react.mjs +3 -3
  247. package/dist/tools.mjs +3 -3
  248. package/dist/vendor.LICENSE.txt +4609 -212
  249. package/package.json +21 -3
  250. package/src/components/blocks.ts +26 -1
  251. package/src/components/constants/data-attributes.ts +0 -2
  252. package/src/components/i18n/locales/am/messages.json +28 -17
  253. package/src/components/i18n/locales/ar/messages.json +28 -17
  254. package/src/components/i18n/locales/az/messages.json +28 -17
  255. package/src/components/i18n/locales/bg/messages.json +28 -17
  256. package/src/components/i18n/locales/bn/messages.json +28 -17
  257. package/src/components/i18n/locales/bs/messages.json +30 -19
  258. package/src/components/i18n/locales/cs/messages.json +32 -21
  259. package/src/components/i18n/locales/da/messages.json +35 -24
  260. package/src/components/i18n/locales/de/messages.json +33 -22
  261. package/src/components/i18n/locales/dv/messages.json +28 -17
  262. package/src/components/i18n/locales/el/messages.json +28 -17
  263. package/src/components/i18n/locales/en/messages.json +28 -17
  264. package/src/components/i18n/locales/es/messages.json +29 -18
  265. package/src/components/i18n/locales/et/messages.json +32 -21
  266. package/src/components/i18n/locales/fa/messages.json +28 -17
  267. package/src/components/i18n/locales/fi/messages.json +28 -17
  268. package/src/components/i18n/locales/fil/messages.json +51 -40
  269. package/src/components/i18n/locales/fr/messages.json +29 -18
  270. package/src/components/i18n/locales/gu/messages.json +28 -17
  271. package/src/components/i18n/locales/he/messages.json +28 -17
  272. package/src/components/i18n/locales/hi/messages.json +28 -17
  273. package/src/components/i18n/locales/hr/messages.json +30 -19
  274. package/src/components/i18n/locales/hu/messages.json +29 -18
  275. package/src/components/i18n/locales/hy/messages.json +28 -17
  276. package/src/components/i18n/locales/id/messages.json +28 -17
  277. package/src/components/i18n/locales/it/messages.json +29 -18
  278. package/src/components/i18n/locales/ja/messages.json +28 -17
  279. package/src/components/i18n/locales/ka/messages.json +28 -17
  280. package/src/components/i18n/locales/km/messages.json +28 -17
  281. package/src/components/i18n/locales/kn/messages.json +28 -17
  282. package/src/components/i18n/locales/ko/messages.json +28 -17
  283. package/src/components/i18n/locales/ku/messages.json +28 -17
  284. package/src/components/i18n/locales/lo/messages.json +28 -17
  285. package/src/components/i18n/locales/lt/messages.json +28 -17
  286. package/src/components/i18n/locales/lv/messages.json +28 -17
  287. package/src/components/i18n/locales/mk/messages.json +28 -17
  288. package/src/components/i18n/locales/ml/messages.json +28 -17
  289. package/src/components/i18n/locales/mn/messages.json +28 -17
  290. package/src/components/i18n/locales/mr/messages.json +28 -17
  291. package/src/components/i18n/locales/ms/messages.json +30 -19
  292. package/src/components/i18n/locales/my/messages.json +28 -17
  293. package/src/components/i18n/locales/ne/messages.json +28 -17
  294. package/src/components/i18n/locales/nl/messages.json +30 -19
  295. package/src/components/i18n/locales/no/messages.json +31 -20
  296. package/src/components/i18n/locales/pa/messages.json +28 -17
  297. package/src/components/i18n/locales/pl/messages.json +29 -18
  298. package/src/components/i18n/locales/ps/messages.json +28 -17
  299. package/src/components/i18n/locales/pt/messages.json +29 -18
  300. package/src/components/i18n/locales/ro/messages.json +29 -18
  301. package/src/components/i18n/locales/ru/messages.json +28 -17
  302. package/src/components/i18n/locales/sd/messages.json +28 -17
  303. package/src/components/i18n/locales/si/messages.json +28 -17
  304. package/src/components/i18n/locales/sk/messages.json +30 -19
  305. package/src/components/i18n/locales/sl/messages.json +30 -19
  306. package/src/components/i18n/locales/sq/messages.json +29 -18
  307. package/src/components/i18n/locales/sr/messages.json +28 -17
  308. package/src/components/i18n/locales/sv/messages.json +30 -19
  309. package/src/components/i18n/locales/sw/messages.json +28 -17
  310. package/src/components/i18n/locales/ta/messages.json +28 -17
  311. package/src/components/i18n/locales/te/messages.json +28 -17
  312. package/src/components/i18n/locales/th/messages.json +28 -17
  313. package/src/components/i18n/locales/tr/messages.json +28 -17
  314. package/src/components/i18n/locales/ug/messages.json +28 -17
  315. package/src/components/i18n/locales/uk/messages.json +28 -17
  316. package/src/components/i18n/locales/ur/messages.json +28 -17
  317. package/src/components/i18n/locales/vi/messages.json +28 -17
  318. package/src/components/i18n/locales/yi/messages.json +28 -17
  319. package/src/components/i18n/locales/zh/messages.json +28 -17
  320. package/src/components/icons/index.ts +59 -47
  321. package/src/components/inline-tools/inline-tool-code.ts +399 -0
  322. package/src/components/modules/api/blocks.ts +17 -0
  323. package/src/components/modules/api/tools.ts +0 -19
  324. package/src/components/modules/blockEvents/composers/blockSelectionKeys.ts +20 -3
  325. package/src/components/modules/blockEvents/composers/keyboardNavigation.ts +5 -5
  326. package/src/components/modules/blockManager/blockManager.ts +0 -11
  327. package/src/components/modules/blockManager/event-binder.ts +1 -12
  328. package/src/components/modules/paste/handlers/html-handler.ts +13 -10
  329. package/src/components/modules/paste/handlers/index.ts +1 -0
  330. package/src/components/modules/paste/index.ts +6 -0
  331. package/src/components/modules/themeManager.ts +1 -3
  332. package/src/components/modules/toolbar/blockSettings.ts +1 -0
  333. package/src/components/modules/toolbar/inline/index.ts +3 -0
  334. package/src/components/modules/ui.ts +0 -13
  335. package/src/components/modules/uiControllers/controllers/keyboard.ts +0 -29
  336. package/src/components/modules/uiControllers/controllers/selection.ts +2 -14
  337. package/src/components/ui/toolbox.ts +1 -0
  338. package/src/components/utils/popover/popover-position.ts +2 -4
  339. package/src/markdown/index.ts +63 -0
  340. package/src/markdown/markdown-handler.ts +110 -0
  341. package/src/markdown/mdast-to-blocks.ts +418 -0
  342. package/src/markdown/phrasing-to-html.ts +60 -0
  343. package/src/markdown/types.ts +42 -0
  344. package/src/stories/EditorModes.stories.ts +0 -60
  345. package/src/styles/main.css +39 -1140
  346. package/src/tools/callout/emoji-picker/index.ts +3 -2
  347. package/src/tools/callout/index.ts +24 -0
  348. package/src/tools/code/code-keyboard.ts +142 -0
  349. package/src/tools/code/constants.ts +96 -0
  350. package/src/tools/code/dom-builder.ts +181 -0
  351. package/src/tools/code/highlight-applier.ts +229 -0
  352. package/src/tools/code/index.ts +462 -0
  353. package/src/tools/code/katex-loader.ts +50 -0
  354. package/src/tools/code/language-picker.ts +241 -0
  355. package/src/tools/code/mermaid-loader.ts +45 -0
  356. package/src/tools/code/shiki-loader.ts +135 -0
  357. package/src/tools/divider/index.ts +9 -1
  358. package/src/tools/index.ts +4 -2
  359. package/src/tools/list/block-operations.ts +3 -1
  360. package/src/tools/list/depth-validator.ts +4 -7
  361. package/src/tools/list/dom-builder.ts +5 -3
  362. package/src/tools/list/index.ts +21 -3
  363. package/src/tools/list/list-helpers.ts +9 -2
  364. package/src/tools/list/list-keyboard.ts +56 -14
  365. package/src/tools/list/list-lifecycle.ts +3 -1
  366. package/src/tools/list/marker-calculator.ts +37 -0
  367. package/src/tools/list/ordered-marker-manager.ts +4 -2
  368. package/src/tools/table/core/table-commands.ts +16 -0
  369. package/src/tools/table/core/table-controller.ts +29 -0
  370. package/src/tools/table/core/table-events.ts +17 -0
  371. package/src/tools/table/index.ts +196 -13
  372. package/src/tools/table/table-cell-blocks.ts +9 -6
  373. package/src/tools/table/table-cell-clipboard.ts +7 -2
  374. package/src/tools/table/table-cell-placement-picker.ts +133 -0
  375. package/src/tools/table/table-cell-selection.ts +174 -19
  376. package/src/tools/table/table-core.ts +321 -113
  377. package/src/tools/table/table-map.ts +279 -0
  378. package/src/tools/table/table-model.ts +901 -1
  379. package/src/tools/table/table-operations.ts +78 -44
  380. package/src/tools/table/table-resize.ts +19 -17
  381. package/src/tools/table/table-row-col-drag.ts +24 -10
  382. package/src/tools/table/types.ts +24 -2
  383. package/types/api/tools.d.ts +0 -18
  384. package/types/data-attributes.d.ts +0 -1
  385. package/types/index.d.ts +0 -16
  386. package/types/markdown.d.ts +2 -0
  387. package/types/tools/code.d.ts +13 -0
  388. package/src/tools/database/database-backend-sync.ts +0 -101
  389. package/src/tools/database/database-board-view.ts +0 -301
  390. package/src/tools/database/database-card-drag.ts +0 -306
  391. package/src/tools/database/database-card-drawer.ts +0 -546
  392. package/src/tools/database/database-column-controls.ts +0 -46
  393. package/src/tools/database/database-column-drag.ts +0 -262
  394. package/src/tools/database/database-keyboard.ts +0 -35
  395. package/src/tools/database/database-list-row-drag.ts +0 -245
  396. package/src/tools/database/database-list-view.ts +0 -333
  397. package/src/tools/database/database-model.ts +0 -246
  398. package/src/tools/database/database-property-type-popover.ts +0 -108
  399. package/src/tools/database/database-tab-bar.ts +0 -532
  400. package/src/tools/database/database-view-popover.ts +0 -109
  401. package/src/tools/database/database-view-renderer.ts +0 -25
  402. package/src/tools/database/index.ts +0 -948
  403. package/src/tools/database/types.ts +0 -144
  404. package/types/tools/database.d.ts +0 -145
  405. /package/dist/chunks/{am-CHDDMHkd.mjs → am-rVzV1W41.mjs} +0 -0
  406. /package/dist/chunks/{ar-DoqfNqut.mjs → ar-C710lkoH.mjs} +0 -0
  407. /package/dist/chunks/{az-C34P9iEa.mjs → az-BOp1pgua.mjs} +0 -0
  408. /package/dist/chunks/{bg-jroXLY8Y.mjs → bg-CL9p09ZD.mjs} +0 -0
  409. /package/dist/chunks/{bn-BRI-WqxY.mjs → bn-CNmSeyAy.mjs} +0 -0
  410. /package/dist/chunks/{bs-CCGUpNHu.mjs → bs-BRzMGqzk.mjs} +0 -0
  411. /package/dist/chunks/{cs-D5qZOGuc.mjs → cs-BYPBLmnF.mjs} +0 -0
  412. /package/dist/chunks/{da-DrJ7W37K.mjs → da-CBC_LR1c.mjs} +0 -0
  413. /package/dist/chunks/{de-BW6-kp2c.mjs → de-DxRFMoAj.mjs} +0 -0
  414. /package/dist/chunks/{el-C-Vc_Otu.mjs → el-Bk6YbySf.mjs} +0 -0
  415. /package/dist/chunks/{es-B6fI5K9i.mjs → es-DpT3FCMR.mjs} +0 -0
  416. /package/dist/chunks/{et-BhVlZ-Yz.mjs → et-DE9Dr_g9.mjs} +0 -0
  417. /package/dist/chunks/{fa-D55Ijdqa.mjs → fa-Banj1QUE.mjs} +0 -0
  418. /package/dist/chunks/{fi-jNLjhKUQ.mjs → fi-DfN3M5ER.mjs} +0 -0
  419. /package/dist/chunks/{fil-DYd0T5aX.mjs → fil-DbCsRS1d.mjs} +0 -0
  420. /package/dist/chunks/{fr-yxy5xWw_.mjs → fr-D1clKhgt.mjs} +0 -0
  421. /package/dist/chunks/{gu-CcY_LJe7.mjs → gu-1CsZyRwT.mjs} +0 -0
  422. /package/dist/chunks/{he-DL9s7wNw.mjs → he-qQdnL6eK.mjs} +0 -0
  423. /package/dist/chunks/{hi-C8eGXgw5.mjs → hi-DxM0Nff1.mjs} +0 -0
  424. /package/dist/chunks/{hr-DLpybOhU.mjs → hr-Onldyi-u.mjs} +0 -0
  425. /package/dist/chunks/{hu-BkT0gT00.mjs → hu-CAn3pBuY.mjs} +0 -0
  426. /package/dist/chunks/{hy-CVFDCp2S.mjs → hy-D43q7NxE.mjs} +0 -0
  427. /package/dist/chunks/{id-0P4W9Az0.mjs → id-Xrw5Dd0Y.mjs} +0 -0
  428. /package/dist/chunks/{it-mLY6_uoW.mjs → it-CA9ZDMSc.mjs} +0 -0
  429. /package/dist/chunks/{ja-7RkeRNWG.mjs → ja-D0J6WRFh.mjs} +0 -0
  430. /package/dist/chunks/{ka-C7Lx-Qsh.mjs → ka-BZL7xDuY.mjs} +0 -0
  431. /package/dist/chunks/{km-Q8udaraH.mjs → km-BimgQZVU.mjs} +0 -0
  432. /package/dist/chunks/{kn-BiETM-iq.mjs → kn-C2n2cPHK.mjs} +0 -0
  433. /package/dist/chunks/{ko-tiB80pF1.mjs → ko-n4Cn93D3.mjs} +0 -0
  434. /package/dist/chunks/{ku-CY-OABkR.mjs → ku-BYZCgT44.mjs} +0 -0
  435. /package/dist/chunks/{lo-CTBhEnyk.mjs → lo-DVXiAE4N.mjs} +0 -0
  436. /package/dist/chunks/{lt-BHKHEtqK.mjs → lt-B9KlQFnY.mjs} +0 -0
  437. /package/dist/chunks/{lv-DWxgtfUg.mjs → lv-BINeOdyx.mjs} +0 -0
  438. /package/dist/chunks/{mk-BjookGdx.mjs → mk-_-QrPrLN.mjs} +0 -0
  439. /package/dist/chunks/{ml-L-NnZcp9.mjs → ml-KvJSC1KT.mjs} +0 -0
  440. /package/dist/chunks/{mn-OMWi7Hl_.mjs → mn-CjFjWnRG.mjs} +0 -0
  441. /package/dist/chunks/{mr-B6JPzITo.mjs → mr-DqAZ7FRX.mjs} +0 -0
  442. /package/dist/chunks/{ms-CG3S-sPB.mjs → ms-BZcV4UG_.mjs} +0 -0
  443. /package/dist/chunks/{my-BLAmGfhT.mjs → my-97SC9jYN.mjs} +0 -0
  444. /package/dist/chunks/{native-BPcABu9z.mjs → native-CzYG0YgY.mjs} +0 -0
  445. /package/dist/chunks/{ne-D1JHLfYw.mjs → ne-Bs-M2TyF.mjs} +0 -0
  446. /package/dist/chunks/{nl-Ca7Q8FnY.mjs → nl-2ZwQilo-.mjs} +0 -0
  447. /package/dist/chunks/{no-Coxcohcz.mjs → no-fOQTpFq1.mjs} +0 -0
  448. /package/dist/chunks/{pa-CCaXqpaI.mjs → pa-DLOqkMi0.mjs} +0 -0
  449. /package/dist/chunks/{pl-Cl_fAZ84.mjs → pl-FYs9QrXU.mjs} +0 -0
  450. /package/dist/chunks/{ps-WD5qGAWy.mjs → ps-CTXe6pSe.mjs} +0 -0
  451. /package/dist/chunks/{pt-C4zvLfvq.mjs → pt-B1X4x7d1.mjs} +0 -0
  452. /package/dist/chunks/{ro-DbefHcmM.mjs → ro-Bf7S2FaR.mjs} +0 -0
  453. /package/dist/chunks/{ru-uU1J14jd.mjs → ru-B8lqnu_j.mjs} +0 -0
  454. /package/dist/chunks/{sd-DKu368Ip.mjs → sd-CHRYJm2r.mjs} +0 -0
  455. /package/dist/chunks/{si-BsJCiPkZ.mjs → si-CI0Hs6vH.mjs} +0 -0
  456. /package/dist/chunks/{sk-CD-a3SN6.mjs → sk-Bdvq1Kb_.mjs} +0 -0
  457. /package/dist/chunks/{sl-CXhrPJe_.mjs → sl-B_qiFTV5.mjs} +0 -0
  458. /package/dist/chunks/{sq-CTctCoFQ.mjs → sq-E0j1hysP.mjs} +0 -0
  459. /package/dist/chunks/{sr-BZkhBwXj.mjs → sr-VPpVNTZw.mjs} +0 -0
  460. /package/dist/chunks/{sv-NmRZb_xi.mjs → sv-gKmDSR3d.mjs} +0 -0
  461. /package/dist/chunks/{sw-Be5ik3H6.mjs → sw-zeFLiO23.mjs} +0 -0
  462. /package/dist/chunks/{ta-DsXh6neL.mjs → ta-Ci-j89hR.mjs} +0 -0
  463. /package/dist/chunks/{te-CwpCbM8M.mjs → te-qyMI0M7a.mjs} +0 -0
  464. /package/dist/chunks/{th-CcZ15OLk.mjs → th-DPxHtpdb.mjs} +0 -0
  465. /package/dist/chunks/{tr-q3bTgvhW.mjs → tr-CRV6GS-G.mjs} +0 -0
  466. /package/dist/chunks/{tw-DmW6-pCY.mjs → tw-CqxBf-1Y.mjs} +0 -0
  467. /package/dist/chunks/{ug-919EhLsL.mjs → ug-DW0YFpo5.mjs} +0 -0
  468. /package/dist/chunks/{uk-aNMEzd0Y.mjs → uk-ssteuphK.mjs} +0 -0
  469. /package/dist/chunks/{ur-BwQI77sh.mjs → ur-qhY3-jY7.mjs} +0 -0
  470. /package/dist/chunks/{vi-Dxq806-F.mjs → vi-CHriMMC8.mjs} +0 -0
  471. /package/dist/chunks/{zh-BcHuy1Ti.mjs → zh-BJktawVN.mjs} +0 -0
@@ -0,0 +1,3962 @@
1
+ import { r as e } from "./chunks/chunk-D6kmoKXy.mjs";
2
+ import { t } from "./chunks/objectSpread2-CWwMYL_U.mjs";
3
+ import { a as n, c as r, d as i, f as a, i as o, l as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./chunks/micromark-factory-space-WwmyBO_J.mjs";
4
+ import "./chunks/default-DIfXCS2E.mjs";
5
+ //#region node_modules/mdast-util-to-string/lib/index.js
6
+ var h = {};
7
+ function g(e, t) {
8
+ let n = t || h;
9
+ return _(e, typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, typeof n.includeHtml == "boolean" ? n.includeHtml : !0);
10
+ }
11
+ function _(e, t, n) {
12
+ if (y(e)) {
13
+ if ("value" in e) return e.type === "html" && !n ? "" : e.value;
14
+ if (t && "alt" in e && e.alt) return e.alt;
15
+ if ("children" in e) return v(e.children, t, n);
16
+ }
17
+ return Array.isArray(e) ? v(e, t, n) : "";
18
+ }
19
+ function v(e, t, n) {
20
+ let r = [], i = -1;
21
+ for (; ++i < e.length;) r[i] = _(e[i], t, n);
22
+ return r.join("");
23
+ }
24
+ function y(e) {
25
+ return !!(e && typeof e == "object");
26
+ }
27
+ //#endregion
28
+ //#region node_modules/decode-named-character-reference/index.dom.js
29
+ var b = document.createElement("i");
30
+ function x(e) {
31
+ let t = "&" + e + ";";
32
+ b.innerHTML = t;
33
+ let n = b.textContent;
34
+ return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
35
+ }
36
+ //#endregion
37
+ //#region node_modules/micromark-util-chunked/index.js
38
+ function S(e, t, n, r) {
39
+ let i = e.length, a = 0, o;
40
+ if (t = t < 0 ? -t > i ? 0 : i + t : t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4) o = Array.from(r), o.unshift(t, n), e.splice(...o);
41
+ else for (n && e.splice(t, n); a < r.length;) o = r.slice(a, a + 1e4), o.unshift(t, 0), e.splice(...o), a += 1e4, t += 1e4;
42
+ }
43
+ function C(e, t) {
44
+ return e.length > 0 ? (S(e, e.length, 0, t), e) : t;
45
+ }
46
+ //#endregion
47
+ //#region node_modules/micromark-util-combine-extensions/index.js
48
+ var w = {}.hasOwnProperty;
49
+ function T(e) {
50
+ let t = {}, n = -1;
51
+ for (; ++n < e.length;) E(t, e[n]);
52
+ return t;
53
+ }
54
+ function E(e, t) {
55
+ let n;
56
+ for (n in t) {
57
+ let r = (w.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n], a;
58
+ if (i) for (a in i) {
59
+ w.call(r, a) || (r[a] = []);
60
+ let e = i[a];
61
+ D(r[a], Array.isArray(e) ? e : e ? [e] : []);
62
+ }
63
+ }
64
+ }
65
+ function D(e, t) {
66
+ let n = -1, r = [];
67
+ for (; ++n < t.length;) (t[n].add === "after" ? e : r).push(t[n]);
68
+ S(e, 0, 0, r);
69
+ }
70
+ //#endregion
71
+ //#region node_modules/micromark-util-decode-numeric-character-reference/index.js
72
+ function O(e, t) {
73
+ let n = Number.parseInt(e, t);
74
+ return n < 9 || n === 11 || n > 13 && n < 32 || n > 126 && n < 160 || n > 55295 && n < 57344 || n > 64975 && n < 65008 || (n & 65535) == 65535 || (n & 65535) == 65534 || n > 1114111 ? "�" : String.fromCodePoint(n);
75
+ }
76
+ //#endregion
77
+ //#region node_modules/micromark-util-normalize-identifier/index.js
78
+ function k(e) {
79
+ return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
80
+ }
81
+ //#endregion
82
+ //#region node_modules/micromark/lib/initialize/content.js
83
+ var A = { tokenize: j };
84
+ function j(e) {
85
+ let t = e.attempt(this.parser.constructs.contentInitial, r, i), n;
86
+ return t;
87
+ function r(n) {
88
+ if (n === null) {
89
+ e.consume(n);
90
+ return;
91
+ }
92
+ return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), p(e, t, "linePrefix");
93
+ }
94
+ function i(t) {
95
+ return e.enter("paragraph"), a(t);
96
+ }
97
+ function a(t) {
98
+ let r = e.enter("chunkText", {
99
+ contentType: "text",
100
+ previous: n
101
+ });
102
+ return n && (n.next = r), n = r, o(t);
103
+ }
104
+ function o(t) {
105
+ if (t === null) {
106
+ e.exit("chunkText"), e.exit("paragraph"), e.consume(t);
107
+ return;
108
+ }
109
+ return s(t) ? (e.consume(t), e.exit("chunkText"), a) : (e.consume(t), o);
110
+ }
111
+ }
112
+ //#endregion
113
+ //#region node_modules/micromark/lib/initialize/document.js
114
+ var M = { tokenize: P }, N = { tokenize: F };
115
+ function P(e) {
116
+ let n = this, r = [], i = 0, a, o, c;
117
+ return l;
118
+ function l(t) {
119
+ if (i < r.length) {
120
+ let a = r[i];
121
+ return n.containerState = a[1], e.attempt(a[0].continuation, u, d)(t);
122
+ }
123
+ return d(t);
124
+ }
125
+ function u(e) {
126
+ if (i++, n.containerState._closeFlow) {
127
+ n.containerState._closeFlow = void 0, a && b();
128
+ let r = n.events.length, o = r, s;
129
+ for (; o--;) if (n.events[o][0] === "exit" && n.events[o][1].type === "chunkFlow") {
130
+ s = n.events[o][1].end;
131
+ break;
132
+ }
133
+ y(i);
134
+ let c = r;
135
+ for (; c < n.events.length;) n.events[c][1].end = t({}, s), c++;
136
+ return S(n.events, o + 1, 0, n.events.slice(r)), n.events.length = c, d(e);
137
+ }
138
+ return l(e);
139
+ }
140
+ function d(t) {
141
+ if (i === r.length) {
142
+ if (!a) return m(t);
143
+ if (a.currentConstruct && a.currentConstruct.concrete) return g(t);
144
+ n.interrupt = !!(a.currentConstruct && !a._gfmTableDynamicInterruptHack);
145
+ }
146
+ return n.containerState = {}, e.check(N, f, p)(t);
147
+ }
148
+ function f(e) {
149
+ return a && b(), y(i), m(e);
150
+ }
151
+ function p(e) {
152
+ return n.parser.lazy[n.now().line] = i !== r.length, c = n.now().offset, g(e);
153
+ }
154
+ function m(t) {
155
+ return n.containerState = {}, e.attempt(N, h, g)(t);
156
+ }
157
+ function h(e) {
158
+ return i++, r.push([n.currentConstruct, n.containerState]), m(e);
159
+ }
160
+ function g(t) {
161
+ if (t === null) {
162
+ a && b(), y(0), e.consume(t);
163
+ return;
164
+ }
165
+ return a = a || n.parser.flow(n.now()), e.enter("chunkFlow", {
166
+ _tokenizer: a,
167
+ contentType: "flow",
168
+ previous: o
169
+ }), _(t);
170
+ }
171
+ function _(t) {
172
+ if (t === null) {
173
+ v(e.exit("chunkFlow"), !0), y(0), e.consume(t);
174
+ return;
175
+ }
176
+ return s(t) ? (e.consume(t), v(e.exit("chunkFlow")), i = 0, n.interrupt = void 0, l) : (e.consume(t), _);
177
+ }
178
+ function v(e, r) {
179
+ let s = n.sliceStream(e);
180
+ if (r && s.push(null), e.previous = o, o && (o.next = e), o = e, a.defineSkip(e.start), a.write(s), n.parser.lazy[e.start.line]) {
181
+ let e = a.events.length;
182
+ for (; e--;) if (a.events[e][1].start.offset < c && (!a.events[e][1].end || a.events[e][1].end.offset > c)) return;
183
+ let r = n.events.length, o = r, s, l;
184
+ for (; o--;) if (n.events[o][0] === "exit" && n.events[o][1].type === "chunkFlow") {
185
+ if (s) {
186
+ l = n.events[o][1].end;
187
+ break;
188
+ }
189
+ s = !0;
190
+ }
191
+ for (y(i), e = r; e < n.events.length;) n.events[e][1].end = t({}, l), e++;
192
+ S(n.events, o + 1, 0, n.events.slice(r)), n.events.length = e;
193
+ }
194
+ }
195
+ function y(t) {
196
+ let i = r.length;
197
+ for (; i-- > t;) {
198
+ let t = r[i];
199
+ n.containerState = t[1], t[0].exit.call(n, e);
200
+ }
201
+ r.length = t;
202
+ }
203
+ function b() {
204
+ a.write([null]), o = void 0, a = void 0, n.containerState._closeFlow = void 0;
205
+ }
206
+ }
207
+ function F(e, t, n) {
208
+ return p(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
209
+ }
210
+ //#endregion
211
+ //#region node_modules/micromark-util-classify-character/index.js
212
+ function I(e) {
213
+ if (e === null || m(e) || u(e)) return 1;
214
+ if (a(e)) return 2;
215
+ }
216
+ //#endregion
217
+ //#region node_modules/micromark-util-resolve-all/index.js
218
+ function L(e, t, n) {
219
+ let r = [], i = -1;
220
+ for (; ++i < e.length;) {
221
+ let a = e[i].resolveAll;
222
+ a && !r.includes(a) && (t = a(t, n), r.push(a));
223
+ }
224
+ return t;
225
+ }
226
+ //#endregion
227
+ //#region node_modules/micromark-core-commonmark/lib/attention.js
228
+ var R = {
229
+ name: "attention",
230
+ resolveAll: z,
231
+ tokenize: ee
232
+ };
233
+ function z(e, n) {
234
+ let r = -1, i, a, o, s, c, l, u, d;
235
+ for (; ++r < e.length;) if (e[r][0] === "enter" && e[r][1].type === "attentionSequence" && e[r][1]._close) {
236
+ for (i = r; i--;) if (e[i][0] === "exit" && e[i][1].type === "attentionSequence" && e[i][1]._open && n.sliceSerialize(e[i][1]).charCodeAt(0) === n.sliceSerialize(e[r][1]).charCodeAt(0)) {
237
+ if ((e[i][1]._close || e[r][1]._open) && (e[r][1].end.offset - e[r][1].start.offset) % 3 && !((e[i][1].end.offset - e[i][1].start.offset + e[r][1].end.offset - e[r][1].start.offset) % 3)) continue;
238
+ l = e[i][1].end.offset - e[i][1].start.offset > 1 && e[r][1].end.offset - e[r][1].start.offset > 1 ? 2 : 1;
239
+ let f = t({}, e[i][1].end), p = t({}, e[r][1].start);
240
+ B(f, -l), B(p, l), s = {
241
+ type: l > 1 ? "strongSequence" : "emphasisSequence",
242
+ start: f,
243
+ end: t({}, e[i][1].end)
244
+ }, c = {
245
+ type: l > 1 ? "strongSequence" : "emphasisSequence",
246
+ start: t({}, e[r][1].start),
247
+ end: p
248
+ }, o = {
249
+ type: l > 1 ? "strongText" : "emphasisText",
250
+ start: t({}, e[i][1].end),
251
+ end: t({}, e[r][1].start)
252
+ }, a = {
253
+ type: l > 1 ? "strong" : "emphasis",
254
+ start: t({}, s.start),
255
+ end: t({}, c.end)
256
+ }, e[i][1].end = t({}, s.start), e[r][1].start = t({}, c.end), u = [], e[i][1].end.offset - e[i][1].start.offset && (u = C(u, [[
257
+ "enter",
258
+ e[i][1],
259
+ n
260
+ ], [
261
+ "exit",
262
+ e[i][1],
263
+ n
264
+ ]])), u = C(u, [
265
+ [
266
+ "enter",
267
+ a,
268
+ n
269
+ ],
270
+ [
271
+ "enter",
272
+ s,
273
+ n
274
+ ],
275
+ [
276
+ "exit",
277
+ s,
278
+ n
279
+ ],
280
+ [
281
+ "enter",
282
+ o,
283
+ n
284
+ ]
285
+ ]), u = C(u, L(n.parser.constructs.insideSpan.null, e.slice(i + 1, r), n)), u = C(u, [
286
+ [
287
+ "exit",
288
+ o,
289
+ n
290
+ ],
291
+ [
292
+ "enter",
293
+ c,
294
+ n
295
+ ],
296
+ [
297
+ "exit",
298
+ c,
299
+ n
300
+ ],
301
+ [
302
+ "exit",
303
+ a,
304
+ n
305
+ ]
306
+ ]), e[r][1].end.offset - e[r][1].start.offset ? (d = 2, u = C(u, [[
307
+ "enter",
308
+ e[r][1],
309
+ n
310
+ ], [
311
+ "exit",
312
+ e[r][1],
313
+ n
314
+ ]])) : d = 0, S(e, i - 1, r - i + 3, u), r = i + u.length - d - 2;
315
+ break;
316
+ }
317
+ }
318
+ for (r = -1; ++r < e.length;) e[r][1].type === "attentionSequence" && (e[r][1].type = "data");
319
+ return e;
320
+ }
321
+ function ee(e, t) {
322
+ let n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = I(r), a;
323
+ return o;
324
+ function o(t) {
325
+ return a = t, e.enter("attentionSequence"), s(t);
326
+ }
327
+ function s(o) {
328
+ if (o === a) return e.consume(o), s;
329
+ let c = e.exit("attentionSequence"), l = I(o), u = !l || l === 2 && i || n.includes(o), d = !i || i === 2 && l || n.includes(r);
330
+ return c._open = !!(a === 42 ? u : u && (i || !d)), c._close = !!(a === 42 ? d : d && (l || !u)), t(o);
331
+ }
332
+ }
333
+ function B(e, t) {
334
+ e.column += t, e.offset += t, e._bufferIndex += t;
335
+ }
336
+ //#endregion
337
+ //#region node_modules/micromark-core-commonmark/lib/autolink.js
338
+ var V = {
339
+ name: "autolink",
340
+ tokenize: te
341
+ };
342
+ function te(e, t, r) {
343
+ let i = 0;
344
+ return a;
345
+ function a(t) {
346
+ return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(t), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), s;
347
+ }
348
+ function s(t) {
349
+ return c(t) ? (e.consume(t), l) : t === 64 ? r(t) : p(t);
350
+ }
351
+ function l(e) {
352
+ return e === 43 || e === 45 || e === 46 || d(e) ? (i = 1, u(e)) : p(e);
353
+ }
354
+ function u(t) {
355
+ return t === 58 ? (e.consume(t), i = 0, f) : (t === 43 || t === 45 || t === 46 || d(t)) && i++ < 32 ? (e.consume(t), u) : (i = 0, p(t));
356
+ }
357
+ function f(i) {
358
+ return i === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(i), e.exit("autolinkMarker"), e.exit("autolink"), t) : i === null || i === 32 || i === 60 || n(i) ? r(i) : (e.consume(i), f);
359
+ }
360
+ function p(t) {
361
+ return t === 64 ? (e.consume(t), m) : o(t) ? (e.consume(t), p) : r(t);
362
+ }
363
+ function m(e) {
364
+ return d(e) ? h(e) : r(e);
365
+ }
366
+ function h(n) {
367
+ return n === 46 ? (e.consume(n), i = 0, m) : n === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(n), e.exit("autolinkMarker"), e.exit("autolink"), t) : g(n);
368
+ }
369
+ function g(t) {
370
+ if ((t === 45 || d(t)) && i++ < 63) {
371
+ let n = t === 45 ? g : h;
372
+ return e.consume(t), n;
373
+ }
374
+ return r(t);
375
+ }
376
+ }
377
+ //#endregion
378
+ //#region node_modules/micromark-core-commonmark/lib/blank-line.js
379
+ var H = {
380
+ partial: !0,
381
+ tokenize: ne
382
+ };
383
+ function ne(e, t, n) {
384
+ return r;
385
+ function r(t) {
386
+ return i(t) ? p(e, a, "linePrefix")(t) : a(t);
387
+ }
388
+ function a(e) {
389
+ return e === null || s(e) ? t(e) : n(e);
390
+ }
391
+ }
392
+ //#endregion
393
+ //#region node_modules/micromark-core-commonmark/lib/block-quote.js
394
+ var re = {
395
+ continuation: { tokenize: ae },
396
+ exit: oe,
397
+ name: "blockQuote",
398
+ tokenize: ie
399
+ };
400
+ function ie(e, t, n) {
401
+ let r = this;
402
+ return a;
403
+ function a(t) {
404
+ if (t === 62) {
405
+ let n = r.containerState;
406
+ return n.open || (e.enter("blockQuote", { _container: !0 }), n.open = !0), e.enter("blockQuotePrefix"), e.enter("blockQuoteMarker"), e.consume(t), e.exit("blockQuoteMarker"), o;
407
+ }
408
+ return n(t);
409
+ }
410
+ function o(n) {
411
+ return i(n) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(n), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(n));
412
+ }
413
+ }
414
+ function ae(e, t, n) {
415
+ let r = this;
416
+ return a;
417
+ function a(t) {
418
+ return i(t) ? p(e, o, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : o(t);
419
+ }
420
+ function o(r) {
421
+ return e.attempt(re, t, n)(r);
422
+ }
423
+ }
424
+ function oe(e) {
425
+ e.exit("blockQuote");
426
+ }
427
+ //#endregion
428
+ //#region node_modules/micromark-core-commonmark/lib/character-escape.js
429
+ var se = {
430
+ name: "characterEscape",
431
+ tokenize: ce
432
+ };
433
+ function ce(e, t, n) {
434
+ return i;
435
+ function i(t) {
436
+ return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(t), e.exit("escapeMarker"), a;
437
+ }
438
+ function a(i) {
439
+ return r(i) ? (e.enter("characterEscapeValue"), e.consume(i), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(i);
440
+ }
441
+ }
442
+ //#endregion
443
+ //#region node_modules/micromark-core-commonmark/lib/character-reference.js
444
+ var le = {
445
+ name: "characterReference",
446
+ tokenize: ue
447
+ };
448
+ function ue(e, t, n) {
449
+ let r = this, i = 0, a, o;
450
+ return s;
451
+ function s(t) {
452
+ return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(t), e.exit("characterReferenceMarker"), c;
453
+ }
454
+ function c(t) {
455
+ return t === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(t), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, o = d, p(t));
456
+ }
457
+ function u(t) {
458
+ return t === 88 || t === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(t), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, o = f, p) : (e.enter("characterReferenceValue"), a = 7, o = l, p(t));
459
+ }
460
+ function p(s) {
461
+ if (s === 59 && i) {
462
+ let i = e.exit("characterReferenceValue");
463
+ return o === d && !x(r.sliceSerialize(i)) ? n(s) : (e.enter("characterReferenceMarker"), e.consume(s), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
464
+ }
465
+ return o(s) && i++ < a ? (e.consume(s), p) : n(s);
466
+ }
467
+ }
468
+ //#endregion
469
+ //#region node_modules/micromark-core-commonmark/lib/code-fenced.js
470
+ var de = {
471
+ partial: !0,
472
+ tokenize: me
473
+ }, fe = {
474
+ concrete: !0,
475
+ name: "codeFenced",
476
+ tokenize: pe
477
+ };
478
+ function pe(e, t, n) {
479
+ let r = this, a = {
480
+ partial: !0,
481
+ tokenize: w
482
+ }, o = 0, c = 0, l;
483
+ return u;
484
+ function u(e) {
485
+ return d(e);
486
+ }
487
+ function d(t) {
488
+ let n = r.events[r.events.length - 1];
489
+ return o = n && n[1].type === "linePrefix" ? n[2].sliceSerialize(n[1], !0).length : 0, l = t, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), f(t);
490
+ }
491
+ function f(t) {
492
+ return t === l ? (c++, e.consume(t), f) : c < 3 ? n(t) : (e.exit("codeFencedFenceSequence"), i(t) ? p(e, m, "whitespace")(t) : m(t));
493
+ }
494
+ function m(n) {
495
+ return n === null || s(n) ? (e.exit("codeFencedFence"), r.interrupt ? t(n) : e.check(de, v, C)(n)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { contentType: "string" }), h(n));
496
+ }
497
+ function h(t) {
498
+ return t === null || s(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), m(t)) : i(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(e, g, "whitespace")(t)) : t === 96 && t === l ? n(t) : (e.consume(t), h);
499
+ }
500
+ function g(t) {
501
+ return t === null || s(t) ? m(t) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", { contentType: "string" }), _(t));
502
+ }
503
+ function _(t) {
504
+ return t === null || s(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), m(t)) : t === 96 && t === l ? n(t) : (e.consume(t), _);
505
+ }
506
+ function v(t) {
507
+ return e.attempt(a, C, y)(t);
508
+ }
509
+ function y(t) {
510
+ return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), b;
511
+ }
512
+ function b(t) {
513
+ return o > 0 && i(t) ? p(e, x, "linePrefix", o + 1)(t) : x(t);
514
+ }
515
+ function x(t) {
516
+ return t === null || s(t) ? e.check(de, v, C)(t) : (e.enter("codeFlowValue"), S(t));
517
+ }
518
+ function S(t) {
519
+ return t === null || s(t) ? (e.exit("codeFlowValue"), x(t)) : (e.consume(t), S);
520
+ }
521
+ function C(n) {
522
+ return e.exit("codeFenced"), t(n);
523
+ }
524
+ function w(e, t, n) {
525
+ let a = 0;
526
+ return o;
527
+ function o(t) {
528
+ return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), u;
529
+ }
530
+ function u(t) {
531
+ return e.enter("codeFencedFence"), i(t) ? p(e, d, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : d(t);
532
+ }
533
+ function d(t) {
534
+ return t === l ? (e.enter("codeFencedFenceSequence"), f(t)) : n(t);
535
+ }
536
+ function f(t) {
537
+ return t === l ? (a++, e.consume(t), f) : a >= c ? (e.exit("codeFencedFenceSequence"), i(t) ? p(e, m, "whitespace")(t) : m(t)) : n(t);
538
+ }
539
+ function m(r) {
540
+ return r === null || s(r) ? (e.exit("codeFencedFence"), t(r)) : n(r);
541
+ }
542
+ }
543
+ }
544
+ function me(e, t, n) {
545
+ let r = this;
546
+ return i;
547
+ function i(t) {
548
+ return t === null ? n(t) : (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), a);
549
+ }
550
+ function a(e) {
551
+ return r.parser.lazy[r.now().line] ? n(e) : t(e);
552
+ }
553
+ }
554
+ //#endregion
555
+ //#region node_modules/micromark-core-commonmark/lib/code-indented.js
556
+ var he = {
557
+ name: "codeIndented",
558
+ tokenize: _e
559
+ }, ge = {
560
+ partial: !0,
561
+ tokenize: ve
562
+ };
563
+ function _e(e, t, n) {
564
+ let r = this;
565
+ return i;
566
+ function i(t) {
567
+ return e.enter("codeIndented"), p(e, a, "linePrefix", 5)(t);
568
+ }
569
+ function a(e) {
570
+ let t = r.events[r.events.length - 1];
571
+ return t && t[1].type === "linePrefix" && t[2].sliceSerialize(t[1], !0).length >= 4 ? o(e) : n(e);
572
+ }
573
+ function o(t) {
574
+ return t === null ? l(t) : s(t) ? e.attempt(ge, o, l)(t) : (e.enter("codeFlowValue"), c(t));
575
+ }
576
+ function c(t) {
577
+ return t === null || s(t) ? (e.exit("codeFlowValue"), o(t)) : (e.consume(t), c);
578
+ }
579
+ function l(n) {
580
+ return e.exit("codeIndented"), t(n);
581
+ }
582
+ }
583
+ function ve(e, t, n) {
584
+ let r = this;
585
+ return i;
586
+ function i(t) {
587
+ return r.parser.lazy[r.now().line] ? n(t) : s(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), i) : p(e, a, "linePrefix", 5)(t);
588
+ }
589
+ function a(e) {
590
+ let a = r.events[r.events.length - 1];
591
+ return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(e) : s(e) ? i(e) : n(e);
592
+ }
593
+ }
594
+ //#endregion
595
+ //#region node_modules/micromark-core-commonmark/lib/code-text.js
596
+ var ye = {
597
+ name: "codeText",
598
+ previous: xe,
599
+ resolve: be,
600
+ tokenize: Se
601
+ };
602
+ function be(e) {
603
+ let t = e.length - 4, n = 3, r, i;
604
+ if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
605
+ for (r = n; ++r < t;) if (e[r][1].type === "codeTextData") {
606
+ e[n][1].type = "codeTextPadding", e[t][1].type = "codeTextPadding", n += 2, t -= 2;
607
+ break;
608
+ }
609
+ }
610
+ for (r = n - 1, t++; ++r <= t;) i === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (i = r) : (r === t || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), t -= r - i - 2, r = i + 2), i = void 0);
611
+ return e;
612
+ }
613
+ function xe(e) {
614
+ return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
615
+ }
616
+ function Se(e, t, n) {
617
+ let r = 0, i, a;
618
+ return o;
619
+ function o(t) {
620
+ return e.enter("codeText"), e.enter("codeTextSequence"), c(t);
621
+ }
622
+ function c(t) {
623
+ return t === 96 ? (e.consume(t), r++, c) : (e.exit("codeTextSequence"), l(t));
624
+ }
625
+ function l(t) {
626
+ return t === null ? n(t) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), l) : t === 96 ? (a = e.enter("codeTextSequence"), i = 0, d(t)) : s(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), l) : (e.enter("codeTextData"), u(t));
627
+ }
628
+ function u(t) {
629
+ return t === null || t === 32 || t === 96 || s(t) ? (e.exit("codeTextData"), l(t)) : (e.consume(t), u);
630
+ }
631
+ function d(n) {
632
+ return n === 96 ? (e.consume(n), i++, d) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(n)) : (a.type = "codeTextData", u(n));
633
+ }
634
+ }
635
+ //#endregion
636
+ //#region node_modules/micromark-util-subtokenize/lib/splice-buffer.js
637
+ var Ce = class {
638
+ constructor(e) {
639
+ this.left = e ? [...e] : [], this.right = [];
640
+ }
641
+ get(e) {
642
+ if (e < 0 || e >= this.left.length + this.right.length) throw RangeError("Cannot access index `" + e + "` in a splice buffer of size `" + (this.left.length + this.right.length) + "`");
643
+ return e < this.left.length ? this.left[e] : this.right[this.right.length - e + this.left.length - 1];
644
+ }
645
+ get length() {
646
+ return this.left.length + this.right.length;
647
+ }
648
+ shift() {
649
+ return this.setCursor(0), this.right.pop();
650
+ }
651
+ slice(e, t) {
652
+ let n = t == null ? Infinity : t;
653
+ return n < this.left.length ? this.left.slice(e, n) : e > this.left.length ? this.right.slice(this.right.length - n + this.left.length, this.right.length - e + this.left.length).reverse() : this.left.slice(e).concat(this.right.slice(this.right.length - n + this.left.length).reverse());
654
+ }
655
+ splice(e, t, n) {
656
+ let r = t || 0;
657
+ this.setCursor(Math.trunc(e));
658
+ let i = this.right.splice(this.right.length - r, Infinity);
659
+ return n && U(this.left, n), i.reverse();
660
+ }
661
+ pop() {
662
+ return this.setCursor(Infinity), this.left.pop();
663
+ }
664
+ push(e) {
665
+ this.setCursor(Infinity), this.left.push(e);
666
+ }
667
+ pushMany(e) {
668
+ this.setCursor(Infinity), U(this.left, e);
669
+ }
670
+ unshift(e) {
671
+ this.setCursor(0), this.right.push(e);
672
+ }
673
+ unshiftMany(e) {
674
+ this.setCursor(0), U(this.right, e.reverse());
675
+ }
676
+ setCursor(e) {
677
+ if (!(e === this.left.length || e > this.left.length && this.right.length === 0 || e < 0 && this.left.length === 0)) if (e < this.left.length) {
678
+ let t = this.left.splice(e, Infinity);
679
+ U(this.right, t.reverse());
680
+ } else {
681
+ let t = this.right.splice(this.left.length + this.right.length - e, Infinity);
682
+ U(this.left, t.reverse());
683
+ }
684
+ }
685
+ };
686
+ function U(e, t) {
687
+ let n = 0;
688
+ if (t.length < 1e4) e.push(...t);
689
+ else for (; n < t.length;) e.push(...t.slice(n, n + 1e4)), n += 1e4;
690
+ }
691
+ //#endregion
692
+ //#region node_modules/micromark-util-subtokenize/index.js
693
+ function we(e) {
694
+ let n = {}, r = -1, i, a, o, s, c, l, u, d = new Ce(e);
695
+ for (; ++r < d.length;) {
696
+ for (; r in n;) r = n[r];
697
+ if (i = d.get(r), r && i[1].type === "chunkFlow" && d.get(r - 1)[1].type === "listItemPrefix" && (l = i[1]._tokenizer.events, o = 0, o < l.length && l[o][1].type === "lineEndingBlank" && (o += 2), o < l.length && l[o][1].type === "content")) for (; ++o < l.length && l[o][1].type !== "content";) l[o][1].type === "chunkText" && (l[o][1]._isInFirstContentOfListItem = !0, o++);
698
+ if (i[0] === "enter") i[1].contentType && (Object.assign(n, Te(d, r)), r = n[r], u = !0);
699
+ else if (i[1]._container) {
700
+ for (o = r, a = void 0; o--;) if (s = d.get(o), s[1].type === "lineEnding" || s[1].type === "lineEndingBlank") s[0] === "enter" && (a && (d.get(a)[1].type = "lineEndingBlank"), s[1].type = "lineEnding", a = o);
701
+ else if (!(s[1].type === "linePrefix" || s[1].type === "listItemIndent")) break;
702
+ a && (i[1].end = t({}, d.get(a)[1].start), c = d.slice(a, r), c.unshift(i), d.splice(a, r - a + 1, c));
703
+ }
704
+ }
705
+ return S(e, 0, Infinity, d.slice(0)), !u;
706
+ }
707
+ function Te(e, t) {
708
+ let n = e.get(t)[1], r = e.get(t)[2], i = t - 1, a = [], o = n._tokenizer;
709
+ o || (o = r.parser[n.contentType](n.start), n._contentTypeTextTrailing && (o._contentTypeTextTrailing = !0));
710
+ let s = o.events, c = [], l = {}, u, d, f = -1, p = n, m = 0, h = 0, g = [h];
711
+ for (; p;) {
712
+ for (; e.get(++i)[1] !== p;);
713
+ a.push(i), p._tokenizer || (u = r.sliceStream(p), p.next || u.push(null), d && o.defineSkip(p.start), p._isInFirstContentOfListItem && (o._gfmTasklistFirstContentOfListItem = !0), o.write(u), p._isInFirstContentOfListItem && (o._gfmTasklistFirstContentOfListItem = void 0)), d = p, p = p.next;
714
+ }
715
+ for (p = n; ++f < s.length;) s[f][0] === "exit" && s[f - 1][0] === "enter" && s[f][1].type === s[f - 1][1].type && s[f][1].start.line !== s[f][1].end.line && (h = f + 1, g.push(h), p._tokenizer = void 0, p.previous = void 0, p = p.next);
716
+ for (o.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : g.pop(), f = g.length; f--;) {
717
+ let t = s.slice(g[f], g[f + 1]), n = a.pop();
718
+ c.push([n, n + t.length - 1]), e.splice(n, 2, t);
719
+ }
720
+ for (c.reverse(), f = -1; ++f < c.length;) l[m + c[f][0]] = m + c[f][1], m += c[f][1] - c[f][0] - 1;
721
+ return l;
722
+ }
723
+ //#endregion
724
+ //#region node_modules/micromark-core-commonmark/lib/content.js
725
+ var Ee = {
726
+ resolve: Oe,
727
+ tokenize: ke
728
+ }, De = {
729
+ partial: !0,
730
+ tokenize: Ae
731
+ };
732
+ function Oe(e) {
733
+ return we(e), e;
734
+ }
735
+ function ke(e, t) {
736
+ let n;
737
+ return r;
738
+ function r(t) {
739
+ return e.enter("content"), n = e.enter("chunkContent", { contentType: "content" }), i(t);
740
+ }
741
+ function i(t) {
742
+ return t === null ? a(t) : s(t) ? e.check(De, o, a)(t) : (e.consume(t), i);
743
+ }
744
+ function a(n) {
745
+ return e.exit("chunkContent"), e.exit("content"), t(n);
746
+ }
747
+ function o(t) {
748
+ return e.consume(t), e.exit("chunkContent"), n.next = e.enter("chunkContent", {
749
+ contentType: "content",
750
+ previous: n
751
+ }), n = n.next, i;
752
+ }
753
+ }
754
+ function Ae(e, t, n) {
755
+ let r = this;
756
+ return i;
757
+ function i(t) {
758
+ return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), p(e, a, "linePrefix");
759
+ }
760
+ function a(i) {
761
+ if (i === null || s(i)) return n(i);
762
+ let a = r.events[r.events.length - 1];
763
+ return !r.parser.constructs.disable.null.includes("codeIndented") && a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(i) : e.interrupt(r.parser.constructs.flow, n, t)(i);
764
+ }
765
+ }
766
+ //#endregion
767
+ //#region node_modules/micromark-factory-destination/index.js
768
+ function je(e, t, r, i, a, o, c, l, u) {
769
+ let d = u || Infinity, f = 0;
770
+ return p;
771
+ function p(t) {
772
+ return t === 60 ? (e.enter(i), e.enter(a), e.enter(o), e.consume(t), e.exit(o), h) : t === null || t === 32 || t === 41 || n(t) ? r(t) : (e.enter(i), e.enter(c), e.enter(l), e.enter("chunkString", { contentType: "string" }), v(t));
773
+ }
774
+ function h(n) {
775
+ return n === 62 ? (e.enter(o), e.consume(n), e.exit(o), e.exit(a), e.exit(i), t) : (e.enter(l), e.enter("chunkString", { contentType: "string" }), g(n));
776
+ }
777
+ function g(t) {
778
+ return t === 62 ? (e.exit("chunkString"), e.exit(l), h(t)) : t === null || t === 60 || s(t) ? r(t) : (e.consume(t), t === 92 ? _ : g);
779
+ }
780
+ function _(t) {
781
+ return t === 60 || t === 62 || t === 92 ? (e.consume(t), g) : g(t);
782
+ }
783
+ function v(a) {
784
+ return !f && (a === null || a === 41 || m(a)) ? (e.exit("chunkString"), e.exit(l), e.exit(c), e.exit(i), t(a)) : f < d && a === 40 ? (e.consume(a), f++, v) : a === 41 ? (e.consume(a), f--, v) : a === null || a === 32 || a === 40 || n(a) ? r(a) : (e.consume(a), a === 92 ? y : v);
785
+ }
786
+ function y(t) {
787
+ return t === 40 || t === 41 || t === 92 ? (e.consume(t), v) : v(t);
788
+ }
789
+ }
790
+ //#endregion
791
+ //#region node_modules/micromark-factory-label/index.js
792
+ function Me(e, t, n, r, a, o) {
793
+ let c = this, l = 0, u;
794
+ return d;
795
+ function d(t) {
796
+ return e.enter(r), e.enter(a), e.consume(t), e.exit(a), e.enter(o), f;
797
+ }
798
+ function f(i) {
799
+ return l > 999 || i === null || i === 91 || i === 93 && !u || i === 94 && !l && "_hiddenFootnoteSupport" in c.parser.constructs ? n(i) : i === 93 ? (e.exit(o), e.enter(a), e.consume(i), e.exit(a), e.exit(r), t) : s(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), f) : (e.enter("chunkString", { contentType: "string" }), p(i));
800
+ }
801
+ function p(t) {
802
+ return t === null || t === 91 || t === 93 || s(t) || l++ > 999 ? (e.exit("chunkString"), f(t)) : (e.consume(t), u || (u = !i(t)), t === 92 ? m : p);
803
+ }
804
+ function m(t) {
805
+ return t === 91 || t === 92 || t === 93 ? (e.consume(t), l++, p) : p(t);
806
+ }
807
+ }
808
+ //#endregion
809
+ //#region node_modules/micromark-factory-title/index.js
810
+ function Ne(e, t, n, r, i, a) {
811
+ let o;
812
+ return c;
813
+ function c(t) {
814
+ return t === 34 || t === 39 || t === 40 ? (e.enter(r), e.enter(i), e.consume(t), e.exit(i), o = t === 40 ? 41 : t, l) : n(t);
815
+ }
816
+ function l(n) {
817
+ return n === o ? (e.enter(i), e.consume(n), e.exit(i), e.exit(r), t) : (e.enter(a), u(n));
818
+ }
819
+ function u(t) {
820
+ return t === o ? (e.exit(a), l(o)) : t === null ? n(t) : s(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), p(e, u, "linePrefix")) : (e.enter("chunkString", { contentType: "string" }), d(t));
821
+ }
822
+ function d(t) {
823
+ return t === o || t === null || s(t) ? (e.exit("chunkString"), u(t)) : (e.consume(t), t === 92 ? f : d);
824
+ }
825
+ function f(t) {
826
+ return t === o || t === 92 ? (e.consume(t), d) : d(t);
827
+ }
828
+ }
829
+ //#endregion
830
+ //#region node_modules/micromark-factory-whitespace/index.js
831
+ function W(e, t) {
832
+ let n;
833
+ return r;
834
+ function r(a) {
835
+ return s(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : i(a) ? p(e, r, n ? "linePrefix" : "lineSuffix")(a) : t(a);
836
+ }
837
+ }
838
+ //#endregion
839
+ //#region node_modules/micromark-core-commonmark/lib/definition.js
840
+ var Pe = {
841
+ name: "definition",
842
+ tokenize: Ie
843
+ }, Fe = {
844
+ partial: !0,
845
+ tokenize: Le
846
+ };
847
+ function Ie(e, t, n) {
848
+ let r = this, a;
849
+ return o;
850
+ function o(t) {
851
+ return e.enter("definition"), c(t);
852
+ }
853
+ function c(t) {
854
+ return Me.call(r, e, l, n, "definitionLabel", "definitionLabelMarker", "definitionLabelString")(t);
855
+ }
856
+ function l(t) {
857
+ return a = k(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), u) : n(t);
858
+ }
859
+ function u(t) {
860
+ return m(t) ? W(e, d)(t) : d(t);
861
+ }
862
+ function d(t) {
863
+ return je(e, f, n, "definitionDestination", "definitionDestinationLiteral", "definitionDestinationLiteralMarker", "definitionDestinationRaw", "definitionDestinationString")(t);
864
+ }
865
+ function f(t) {
866
+ return e.attempt(Fe, h, h)(t);
867
+ }
868
+ function h(t) {
869
+ return i(t) ? p(e, g, "whitespace")(t) : g(t);
870
+ }
871
+ function g(i) {
872
+ return i === null || s(i) ? (e.exit("definition"), r.parser.defined.push(a), t(i)) : n(i);
873
+ }
874
+ }
875
+ function Le(e, t, n) {
876
+ return r;
877
+ function r(t) {
878
+ return m(t) ? W(e, a)(t) : n(t);
879
+ }
880
+ function a(t) {
881
+ return Ne(e, o, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(t);
882
+ }
883
+ function o(t) {
884
+ return i(t) ? p(e, c, "whitespace")(t) : c(t);
885
+ }
886
+ function c(e) {
887
+ return e === null || s(e) ? t(e) : n(e);
888
+ }
889
+ }
890
+ //#endregion
891
+ //#region node_modules/micromark-core-commonmark/lib/hard-break-escape.js
892
+ var Re = {
893
+ name: "hardBreakEscape",
894
+ tokenize: ze
895
+ };
896
+ function ze(e, t, n) {
897
+ return r;
898
+ function r(t) {
899
+ return e.enter("hardBreakEscape"), e.consume(t), i;
900
+ }
901
+ function i(r) {
902
+ return s(r) ? (e.exit("hardBreakEscape"), t(r)) : n(r);
903
+ }
904
+ }
905
+ //#endregion
906
+ //#region node_modules/micromark-core-commonmark/lib/heading-atx.js
907
+ var Be = {
908
+ name: "headingAtx",
909
+ resolve: Ve,
910
+ tokenize: He
911
+ };
912
+ function Ve(e, t) {
913
+ let n = e.length - 2, r = 3, i, a;
914
+ return e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r && (i = {
915
+ type: "atxHeadingText",
916
+ start: e[r][1].start,
917
+ end: e[n][1].end
918
+ }, a = {
919
+ type: "chunkText",
920
+ start: e[r][1].start,
921
+ end: e[n][1].end,
922
+ contentType: "text"
923
+ }, S(e, r, n - r + 1, [
924
+ [
925
+ "enter",
926
+ i,
927
+ t
928
+ ],
929
+ [
930
+ "enter",
931
+ a,
932
+ t
933
+ ],
934
+ [
935
+ "exit",
936
+ a,
937
+ t
938
+ ],
939
+ [
940
+ "exit",
941
+ i,
942
+ t
943
+ ]
944
+ ])), e;
945
+ }
946
+ function He(e, t, n) {
947
+ let r = 0;
948
+ return a;
949
+ function a(t) {
950
+ return e.enter("atxHeading"), o(t);
951
+ }
952
+ function o(t) {
953
+ return e.enter("atxHeadingSequence"), c(t);
954
+ }
955
+ function c(t) {
956
+ return t === 35 && r++ < 6 ? (e.consume(t), c) : t === null || m(t) ? (e.exit("atxHeadingSequence"), l(t)) : n(t);
957
+ }
958
+ function l(n) {
959
+ return n === 35 ? (e.enter("atxHeadingSequence"), u(n)) : n === null || s(n) ? (e.exit("atxHeading"), t(n)) : i(n) ? p(e, l, "whitespace")(n) : (e.enter("atxHeadingText"), d(n));
960
+ }
961
+ function u(t) {
962
+ return t === 35 ? (e.consume(t), u) : (e.exit("atxHeadingSequence"), l(t));
963
+ }
964
+ function d(t) {
965
+ return t === null || t === 35 || m(t) ? (e.exit("atxHeadingText"), l(t)) : (e.consume(t), d);
966
+ }
967
+ }
968
+ //#endregion
969
+ //#region node_modules/micromark-util-html-tag-name/index.js
970
+ var Ue = /* @__PURE__ */ "address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul".split("."), We = [
971
+ "pre",
972
+ "script",
973
+ "style",
974
+ "textarea"
975
+ ], Ge = {
976
+ concrete: !0,
977
+ name: "htmlFlow",
978
+ resolveTo: Je,
979
+ tokenize: Ye
980
+ }, Ke = {
981
+ partial: !0,
982
+ tokenize: Ze
983
+ }, qe = {
984
+ partial: !0,
985
+ tokenize: Xe
986
+ };
987
+ function Je(e) {
988
+ let t = e.length;
989
+ for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"););
990
+ return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e;
991
+ }
992
+ function Ye(e, t, n) {
993
+ let r = this, a, o, l, u, f;
994
+ return p;
995
+ function p(e) {
996
+ return h(e);
997
+ }
998
+ function h(t) {
999
+ return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(t), g;
1000
+ }
1001
+ function g(i) {
1002
+ return i === 33 ? (e.consume(i), _) : i === 47 ? (e.consume(i), o = !0, b) : i === 63 ? (e.consume(i), a = 3, r.interrupt ? t : B) : c(i) ? (e.consume(i), l = String.fromCharCode(i), x) : n(i);
1003
+ }
1004
+ function _(i) {
1005
+ return i === 45 ? (e.consume(i), a = 2, v) : i === 91 ? (e.consume(i), a = 5, u = 0, y) : c(i) ? (e.consume(i), a = 4, r.interrupt ? t : B) : n(i);
1006
+ }
1007
+ function v(i) {
1008
+ return i === 45 ? (e.consume(i), r.interrupt ? t : B) : n(i);
1009
+ }
1010
+ function y(i) {
1011
+ return i === "CDATA[".charCodeAt(u++) ? (e.consume(i), u === 6 ? r.interrupt ? t : N : y) : n(i);
1012
+ }
1013
+ function b(t) {
1014
+ return c(t) ? (e.consume(t), l = String.fromCharCode(t), x) : n(t);
1015
+ }
1016
+ function x(i) {
1017
+ if (i === null || i === 47 || i === 62 || m(i)) {
1018
+ let s = i === 47, c = l.toLowerCase();
1019
+ return !s && !o && We.includes(c) ? (a = 1, r.interrupt ? t(i) : N(i)) : Ue.includes(l.toLowerCase()) ? (a = 6, s ? (e.consume(i), S) : r.interrupt ? t(i) : N(i)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(i) : o ? C(i) : w(i));
1020
+ }
1021
+ return i === 45 || d(i) ? (e.consume(i), l += String.fromCharCode(i), x) : n(i);
1022
+ }
1023
+ function S(i) {
1024
+ return i === 62 ? (e.consume(i), r.interrupt ? t : N) : n(i);
1025
+ }
1026
+ function C(t) {
1027
+ return i(t) ? (e.consume(t), C) : j(t);
1028
+ }
1029
+ function w(t) {
1030
+ return t === 47 ? (e.consume(t), j) : t === 58 || t === 95 || c(t) ? (e.consume(t), T) : i(t) ? (e.consume(t), w) : j(t);
1031
+ }
1032
+ function T(t) {
1033
+ return t === 45 || t === 46 || t === 58 || t === 95 || d(t) ? (e.consume(t), T) : E(t);
1034
+ }
1035
+ function E(t) {
1036
+ return t === 61 ? (e.consume(t), D) : i(t) ? (e.consume(t), E) : w(t);
1037
+ }
1038
+ function D(t) {
1039
+ return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), f = t, O) : i(t) ? (e.consume(t), D) : k(t);
1040
+ }
1041
+ function O(t) {
1042
+ return t === f ? (e.consume(t), f = null, A) : t === null || s(t) ? n(t) : (e.consume(t), O);
1043
+ }
1044
+ function k(t) {
1045
+ return t === null || t === 34 || t === 39 || t === 47 || t === 60 || t === 61 || t === 62 || t === 96 || m(t) ? E(t) : (e.consume(t), k);
1046
+ }
1047
+ function A(e) {
1048
+ return e === 47 || e === 62 || i(e) ? w(e) : n(e);
1049
+ }
1050
+ function j(t) {
1051
+ return t === 62 ? (e.consume(t), M) : n(t);
1052
+ }
1053
+ function M(t) {
1054
+ return t === null || s(t) ? N(t) : i(t) ? (e.consume(t), M) : n(t);
1055
+ }
1056
+ function N(t) {
1057
+ return t === 45 && a === 2 ? (e.consume(t), L) : t === 60 && a === 1 ? (e.consume(t), R) : t === 62 && a === 4 ? (e.consume(t), V) : t === 63 && a === 3 ? (e.consume(t), B) : t === 93 && a === 5 ? (e.consume(t), ee) : s(t) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(Ke, te, P)(t)) : t === null || s(t) ? (e.exit("htmlFlowData"), P(t)) : (e.consume(t), N);
1058
+ }
1059
+ function P(t) {
1060
+ return e.check(qe, F, te)(t);
1061
+ }
1062
+ function F(t) {
1063
+ return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), I;
1064
+ }
1065
+ function I(t) {
1066
+ return t === null || s(t) ? P(t) : (e.enter("htmlFlowData"), N(t));
1067
+ }
1068
+ function L(t) {
1069
+ return t === 45 ? (e.consume(t), B) : N(t);
1070
+ }
1071
+ function R(t) {
1072
+ return t === 47 ? (e.consume(t), l = "", z) : N(t);
1073
+ }
1074
+ function z(t) {
1075
+ if (t === 62) {
1076
+ let n = l.toLowerCase();
1077
+ return We.includes(n) ? (e.consume(t), V) : N(t);
1078
+ }
1079
+ return c(t) && l.length < 8 ? (e.consume(t), l += String.fromCharCode(t), z) : N(t);
1080
+ }
1081
+ function ee(t) {
1082
+ return t === 93 ? (e.consume(t), B) : N(t);
1083
+ }
1084
+ function B(t) {
1085
+ return t === 62 ? (e.consume(t), V) : t === 45 && a === 2 ? (e.consume(t), B) : N(t);
1086
+ }
1087
+ function V(t) {
1088
+ return t === null || s(t) ? (e.exit("htmlFlowData"), te(t)) : (e.consume(t), V);
1089
+ }
1090
+ function te(n) {
1091
+ return e.exit("htmlFlow"), t(n);
1092
+ }
1093
+ }
1094
+ function Xe(e, t, n) {
1095
+ let r = this;
1096
+ return i;
1097
+ function i(t) {
1098
+ return s(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), a) : n(t);
1099
+ }
1100
+ function a(e) {
1101
+ return r.parser.lazy[r.now().line] ? n(e) : t(e);
1102
+ }
1103
+ }
1104
+ function Ze(e, t, n) {
1105
+ return r;
1106
+ function r(r) {
1107
+ return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(H, t, n);
1108
+ }
1109
+ }
1110
+ //#endregion
1111
+ //#region node_modules/micromark-core-commonmark/lib/html-text.js
1112
+ var Qe = {
1113
+ name: "htmlText",
1114
+ tokenize: $e
1115
+ };
1116
+ function $e(e, t, n) {
1117
+ let r = this, a, o, l;
1118
+ return u;
1119
+ function u(t) {
1120
+ return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(t), f;
1121
+ }
1122
+ function f(t) {
1123
+ return t === 33 ? (e.consume(t), h) : t === 47 ? (e.consume(t), D) : t === 63 ? (e.consume(t), T) : c(t) ? (e.consume(t), A) : n(t);
1124
+ }
1125
+ function h(t) {
1126
+ return t === 45 ? (e.consume(t), g) : t === 91 ? (e.consume(t), o = 0, b) : c(t) ? (e.consume(t), w) : n(t);
1127
+ }
1128
+ function g(t) {
1129
+ return t === 45 ? (e.consume(t), y) : n(t);
1130
+ }
1131
+ function _(t) {
1132
+ return t === null ? n(t) : t === 45 ? (e.consume(t), v) : s(t) ? (l = _, z(t)) : (e.consume(t), _);
1133
+ }
1134
+ function v(t) {
1135
+ return t === 45 ? (e.consume(t), y) : _(t);
1136
+ }
1137
+ function y(e) {
1138
+ return e === 62 ? R(e) : e === 45 ? v(e) : _(e);
1139
+ }
1140
+ function b(t) {
1141
+ return t === "CDATA[".charCodeAt(o++) ? (e.consume(t), o === 6 ? x : b) : n(t);
1142
+ }
1143
+ function x(t) {
1144
+ return t === null ? n(t) : t === 93 ? (e.consume(t), S) : s(t) ? (l = x, z(t)) : (e.consume(t), x);
1145
+ }
1146
+ function S(t) {
1147
+ return t === 93 ? (e.consume(t), C) : x(t);
1148
+ }
1149
+ function C(t) {
1150
+ return t === 62 ? R(t) : t === 93 ? (e.consume(t), C) : x(t);
1151
+ }
1152
+ function w(t) {
1153
+ return t === null || t === 62 ? R(t) : s(t) ? (l = w, z(t)) : (e.consume(t), w);
1154
+ }
1155
+ function T(t) {
1156
+ return t === null ? n(t) : t === 63 ? (e.consume(t), E) : s(t) ? (l = T, z(t)) : (e.consume(t), T);
1157
+ }
1158
+ function E(e) {
1159
+ return e === 62 ? R(e) : T(e);
1160
+ }
1161
+ function D(t) {
1162
+ return c(t) ? (e.consume(t), O) : n(t);
1163
+ }
1164
+ function O(t) {
1165
+ return t === 45 || d(t) ? (e.consume(t), O) : k(t);
1166
+ }
1167
+ function k(t) {
1168
+ return s(t) ? (l = k, z(t)) : i(t) ? (e.consume(t), k) : R(t);
1169
+ }
1170
+ function A(t) {
1171
+ return t === 45 || d(t) ? (e.consume(t), A) : t === 47 || t === 62 || m(t) ? j(t) : n(t);
1172
+ }
1173
+ function j(t) {
1174
+ return t === 47 ? (e.consume(t), R) : t === 58 || t === 95 || c(t) ? (e.consume(t), M) : s(t) ? (l = j, z(t)) : i(t) ? (e.consume(t), j) : R(t);
1175
+ }
1176
+ function M(t) {
1177
+ return t === 45 || t === 46 || t === 58 || t === 95 || d(t) ? (e.consume(t), M) : N(t);
1178
+ }
1179
+ function N(t) {
1180
+ return t === 61 ? (e.consume(t), P) : s(t) ? (l = N, z(t)) : i(t) ? (e.consume(t), N) : j(t);
1181
+ }
1182
+ function P(t) {
1183
+ return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), a = t, F) : s(t) ? (l = P, z(t)) : i(t) ? (e.consume(t), P) : (e.consume(t), I);
1184
+ }
1185
+ function F(t) {
1186
+ return t === a ? (e.consume(t), a = void 0, L) : t === null ? n(t) : s(t) ? (l = F, z(t)) : (e.consume(t), F);
1187
+ }
1188
+ function I(t) {
1189
+ return t === null || t === 34 || t === 39 || t === 60 || t === 61 || t === 96 ? n(t) : t === 47 || t === 62 || m(t) ? j(t) : (e.consume(t), I);
1190
+ }
1191
+ function L(e) {
1192
+ return e === 47 || e === 62 || m(e) ? j(e) : n(e);
1193
+ }
1194
+ function R(r) {
1195
+ return r === 62 ? (e.consume(r), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(r);
1196
+ }
1197
+ function z(t) {
1198
+ return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), ee;
1199
+ }
1200
+ function ee(t) {
1201
+ return i(t) ? p(e, B, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : B(t);
1202
+ }
1203
+ function B(t) {
1204
+ return e.enter("htmlTextData"), l(t);
1205
+ }
1206
+ }
1207
+ //#endregion
1208
+ //#region node_modules/micromark-core-commonmark/lib/label-end.js
1209
+ var et = {
1210
+ name: "labelEnd",
1211
+ resolveAll: it,
1212
+ resolveTo: at,
1213
+ tokenize: ot
1214
+ }, tt = { tokenize: st }, nt = { tokenize: ct }, rt = { tokenize: lt };
1215
+ function it(e) {
1216
+ let t = -1, n = [];
1217
+ for (; ++t < e.length;) {
1218
+ let r = e[t][1];
1219
+ if (n.push(e[t]), r.type === "labelImage" || r.type === "labelLink" || r.type === "labelEnd") {
1220
+ let e = r.type === "labelImage" ? 4 : 2;
1221
+ r.type = "data", t += e;
1222
+ }
1223
+ }
1224
+ return e.length !== n.length && S(e, 0, e.length, n), e;
1225
+ }
1226
+ function at(e, n) {
1227
+ let r = e.length, i = 0, a, o, s, c;
1228
+ for (; r--;) if (a = e[r][1], o) {
1229
+ if (a.type === "link" || a.type === "labelLink" && a._inactive) break;
1230
+ e[r][0] === "enter" && a.type === "labelLink" && (a._inactive = !0);
1231
+ } else if (s) {
1232
+ if (e[r][0] === "enter" && (a.type === "labelImage" || a.type === "labelLink") && !a._balanced && (o = r, a.type !== "labelLink")) {
1233
+ i = 2;
1234
+ break;
1235
+ }
1236
+ } else a.type === "labelEnd" && (s = r);
1237
+ let l = {
1238
+ type: e[o][1].type === "labelLink" ? "link" : "image",
1239
+ start: t({}, e[o][1].start),
1240
+ end: t({}, e[e.length - 1][1].end)
1241
+ }, u = {
1242
+ type: "label",
1243
+ start: t({}, e[o][1].start),
1244
+ end: t({}, e[s][1].end)
1245
+ }, d = {
1246
+ type: "labelText",
1247
+ start: t({}, e[o + i + 2][1].end),
1248
+ end: t({}, e[s - 2][1].start)
1249
+ };
1250
+ return c = [[
1251
+ "enter",
1252
+ l,
1253
+ n
1254
+ ], [
1255
+ "enter",
1256
+ u,
1257
+ n
1258
+ ]], c = C(c, e.slice(o + 1, o + i + 3)), c = C(c, [[
1259
+ "enter",
1260
+ d,
1261
+ n
1262
+ ]]), c = C(c, L(n.parser.constructs.insideSpan.null, e.slice(o + i + 4, s - 3), n)), c = C(c, [
1263
+ [
1264
+ "exit",
1265
+ d,
1266
+ n
1267
+ ],
1268
+ e[s - 2],
1269
+ e[s - 1],
1270
+ [
1271
+ "exit",
1272
+ u,
1273
+ n
1274
+ ]
1275
+ ]), c = C(c, e.slice(s + 1)), c = C(c, [[
1276
+ "exit",
1277
+ l,
1278
+ n
1279
+ ]]), S(e, o, e.length, c), e;
1280
+ }
1281
+ function ot(e, t, n) {
1282
+ let r = this, i = r.events.length, a, o;
1283
+ for (; i--;) if ((r.events[i][1].type === "labelImage" || r.events[i][1].type === "labelLink") && !r.events[i][1]._balanced) {
1284
+ a = r.events[i][1];
1285
+ break;
1286
+ }
1287
+ return s;
1288
+ function s(t) {
1289
+ return a ? a._inactive ? d(t) : (o = r.parser.defined.includes(k(r.sliceSerialize({
1290
+ start: a.end,
1291
+ end: r.now()
1292
+ }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), e.exit("labelEnd"), c) : n(t);
1293
+ }
1294
+ function c(t) {
1295
+ return t === 40 ? e.attempt(tt, u, o ? u : d)(t) : t === 91 ? e.attempt(nt, u, o ? l : d)(t) : o ? u(t) : d(t);
1296
+ }
1297
+ function l(t) {
1298
+ return e.attempt(rt, u, d)(t);
1299
+ }
1300
+ function u(e) {
1301
+ return t(e);
1302
+ }
1303
+ function d(e) {
1304
+ return a._balanced = !0, n(e);
1305
+ }
1306
+ }
1307
+ function st(e, t, n) {
1308
+ return r;
1309
+ function r(t) {
1310
+ return e.enter("resource"), e.enter("resourceMarker"), e.consume(t), e.exit("resourceMarker"), i;
1311
+ }
1312
+ function i(t) {
1313
+ return m(t) ? W(e, a)(t) : a(t);
1314
+ }
1315
+ function a(t) {
1316
+ return t === 41 ? u(t) : je(e, o, s, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(t);
1317
+ }
1318
+ function o(t) {
1319
+ return m(t) ? W(e, c)(t) : u(t);
1320
+ }
1321
+ function s(e) {
1322
+ return n(e);
1323
+ }
1324
+ function c(t) {
1325
+ return t === 34 || t === 39 || t === 40 ? Ne(e, l, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(t) : u(t);
1326
+ }
1327
+ function l(t) {
1328
+ return m(t) ? W(e, u)(t) : u(t);
1329
+ }
1330
+ function u(r) {
1331
+ return r === 41 ? (e.enter("resourceMarker"), e.consume(r), e.exit("resourceMarker"), e.exit("resource"), t) : n(r);
1332
+ }
1333
+ }
1334
+ function ct(e, t, n) {
1335
+ let r = this;
1336
+ return i;
1337
+ function i(t) {
1338
+ return Me.call(r, e, a, o, "reference", "referenceMarker", "referenceString")(t);
1339
+ }
1340
+ function a(e) {
1341
+ return r.parser.defined.includes(k(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(e) : n(e);
1342
+ }
1343
+ function o(e) {
1344
+ return n(e);
1345
+ }
1346
+ }
1347
+ function lt(e, t, n) {
1348
+ return r;
1349
+ function r(t) {
1350
+ return e.enter("reference"), e.enter("referenceMarker"), e.consume(t), e.exit("referenceMarker"), i;
1351
+ }
1352
+ function i(r) {
1353
+ return r === 93 ? (e.enter("referenceMarker"), e.consume(r), e.exit("referenceMarker"), e.exit("reference"), t) : n(r);
1354
+ }
1355
+ }
1356
+ //#endregion
1357
+ //#region node_modules/micromark-core-commonmark/lib/label-start-image.js
1358
+ var ut = {
1359
+ name: "labelStartImage",
1360
+ resolveAll: et.resolveAll,
1361
+ tokenize: dt
1362
+ };
1363
+ function dt(e, t, n) {
1364
+ let r = this;
1365
+ return i;
1366
+ function i(t) {
1367
+ return e.enter("labelImage"), e.enter("labelImageMarker"), e.consume(t), e.exit("labelImageMarker"), a;
1368
+ }
1369
+ function a(t) {
1370
+ return t === 91 ? (e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), e.exit("labelImage"), o) : n(t);
1371
+ }
1372
+ function o(e) {
1373
+ /* c8 ignore next 3 */
1374
+ return e === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(e) : t(e);
1375
+ }
1376
+ }
1377
+ //#endregion
1378
+ //#region node_modules/micromark-core-commonmark/lib/label-start-link.js
1379
+ var ft = {
1380
+ name: "labelStartLink",
1381
+ resolveAll: et.resolveAll,
1382
+ tokenize: pt
1383
+ };
1384
+ function pt(e, t, n) {
1385
+ let r = this;
1386
+ return i;
1387
+ function i(t) {
1388
+ return e.enter("labelLink"), e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), e.exit("labelLink"), a;
1389
+ }
1390
+ function a(e) {
1391
+ /* c8 ignore next 3 */
1392
+ return e === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(e) : t(e);
1393
+ }
1394
+ }
1395
+ //#endregion
1396
+ //#region node_modules/micromark-core-commonmark/lib/line-ending.js
1397
+ var mt = {
1398
+ name: "lineEnding",
1399
+ tokenize: ht
1400
+ };
1401
+ function ht(e, t) {
1402
+ return n;
1403
+ function n(n) {
1404
+ return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), p(e, t, "linePrefix");
1405
+ }
1406
+ }
1407
+ //#endregion
1408
+ //#region node_modules/micromark-core-commonmark/lib/thematic-break.js
1409
+ var gt = {
1410
+ name: "thematicBreak",
1411
+ tokenize: _t
1412
+ };
1413
+ function _t(e, t, n) {
1414
+ let r = 0, a;
1415
+ return o;
1416
+ function o(t) {
1417
+ return e.enter("thematicBreak"), c(t);
1418
+ }
1419
+ function c(e) {
1420
+ return a = e, l(e);
1421
+ }
1422
+ function l(i) {
1423
+ return i === a ? (e.enter("thematicBreakSequence"), u(i)) : r >= 3 && (i === null || s(i)) ? (e.exit("thematicBreak"), t(i)) : n(i);
1424
+ }
1425
+ function u(t) {
1426
+ return t === a ? (e.consume(t), r++, u) : (e.exit("thematicBreakSequence"), i(t) ? p(e, l, "whitespace")(t) : l(t));
1427
+ }
1428
+ }
1429
+ //#endregion
1430
+ //#region node_modules/micromark-core-commonmark/lib/list.js
1431
+ var G = {
1432
+ continuation: { tokenize: xt },
1433
+ exit: Ct,
1434
+ name: "list",
1435
+ tokenize: bt
1436
+ }, vt = {
1437
+ partial: !0,
1438
+ tokenize: wt
1439
+ }, yt = {
1440
+ partial: !0,
1441
+ tokenize: St
1442
+ };
1443
+ function bt(e, t, n) {
1444
+ let r = this, a = r.events[r.events.length - 1], o = a && a[1].type === "linePrefix" ? a[2].sliceSerialize(a[1], !0).length : 0, s = 0;
1445
+ return c;
1446
+ function c(t) {
1447
+ let i = r.containerState.type || (t === 42 || t === 43 || t === 45 ? "listUnordered" : "listOrdered");
1448
+ if (i === "listUnordered" ? !r.containerState.marker || t === r.containerState.marker : l(t)) {
1449
+ if (r.containerState.type || (r.containerState.type = i, e.enter(i, { _container: !0 })), i === "listUnordered") return e.enter("listItemPrefix"), t === 42 || t === 45 ? e.check(gt, n, d)(t) : d(t);
1450
+ if (!r.interrupt || t === 49) return e.enter("listItemPrefix"), e.enter("listItemValue"), u(t);
1451
+ }
1452
+ return n(t);
1453
+ }
1454
+ function u(t) {
1455
+ return l(t) && ++s < 10 ? (e.consume(t), u) : (!r.interrupt || s < 2) && (r.containerState.marker ? t === r.containerState.marker : t === 41 || t === 46) ? (e.exit("listItemValue"), d(t)) : n(t);
1456
+ }
1457
+ function d(t) {
1458
+ return e.enter("listItemMarker"), e.consume(t), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || t, e.check(H, r.interrupt ? n : f, e.attempt(vt, m, p));
1459
+ }
1460
+ function f(e) {
1461
+ return r.containerState.initialBlankLine = !0, o++, m(e);
1462
+ }
1463
+ function p(t) {
1464
+ return i(t) ? (e.enter("listItemPrefixWhitespace"), e.consume(t), e.exit("listItemPrefixWhitespace"), m) : n(t);
1465
+ }
1466
+ function m(n) {
1467
+ return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(n);
1468
+ }
1469
+ }
1470
+ function xt(e, t, n) {
1471
+ let r = this;
1472
+ return r.containerState._closeFlow = void 0, e.check(H, a, o);
1473
+ function a(n) {
1474
+ return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, p(e, t, "listItemIndent", r.containerState.size + 1)(n);
1475
+ }
1476
+ function o(n) {
1477
+ return r.containerState.furtherBlankLines || !i(n) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, s(n)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(yt, t, s)(n));
1478
+ }
1479
+ function s(i) {
1480
+ return r.containerState._closeFlow = !0, r.interrupt = void 0, p(e, e.attempt(G, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(i);
1481
+ }
1482
+ }
1483
+ function St(e, t, n) {
1484
+ let r = this;
1485
+ return p(e, i, "listItemIndent", r.containerState.size + 1);
1486
+ function i(e) {
1487
+ let i = r.events[r.events.length - 1];
1488
+ return i && i[1].type === "listItemIndent" && i[2].sliceSerialize(i[1], !0).length === r.containerState.size ? t(e) : n(e);
1489
+ }
1490
+ }
1491
+ function Ct(e) {
1492
+ e.exit(this.containerState.type);
1493
+ }
1494
+ function wt(e, t, n) {
1495
+ let r = this;
1496
+ return p(e, a, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
1497
+ function a(e) {
1498
+ let a = r.events[r.events.length - 1];
1499
+ return !i(e) && a && a[1].type === "listItemPrefixWhitespace" ? t(e) : n(e);
1500
+ }
1501
+ }
1502
+ //#endregion
1503
+ //#region node_modules/micromark-core-commonmark/lib/setext-underline.js
1504
+ var Tt = {
1505
+ name: "setextUnderline",
1506
+ resolveTo: Et,
1507
+ tokenize: Dt
1508
+ };
1509
+ function Et(e, n) {
1510
+ let r = e.length, i, a, o;
1511
+ for (; r--;) if (e[r][0] === "enter") {
1512
+ if (e[r][1].type === "content") {
1513
+ i = r;
1514
+ break;
1515
+ }
1516
+ e[r][1].type === "paragraph" && (a = r);
1517
+ } else e[r][1].type === "content" && e.splice(r, 1), !o && e[r][1].type === "definition" && (o = r);
1518
+ let s = {
1519
+ type: "setextHeading",
1520
+ start: t({}, e[i][1].start),
1521
+ end: t({}, e[e.length - 1][1].end)
1522
+ };
1523
+ return e[a][1].type = "setextHeadingText", o ? (e.splice(a, 0, [
1524
+ "enter",
1525
+ s,
1526
+ n
1527
+ ]), e.splice(o + 1, 0, [
1528
+ "exit",
1529
+ e[i][1],
1530
+ n
1531
+ ]), e[i][1].end = t({}, e[o][1].end)) : e[i][1] = s, e.push([
1532
+ "exit",
1533
+ s,
1534
+ n
1535
+ ]), e;
1536
+ }
1537
+ function Dt(e, t, n) {
1538
+ let r = this, a;
1539
+ return o;
1540
+ function o(t) {
1541
+ let i = r.events.length, o;
1542
+ for (; i--;) if (r.events[i][1].type !== "lineEnding" && r.events[i][1].type !== "linePrefix" && r.events[i][1].type !== "content") {
1543
+ o = r.events[i][1].type === "paragraph";
1544
+ break;
1545
+ }
1546
+ return !r.parser.lazy[r.now().line] && (r.interrupt || o) ? (e.enter("setextHeadingLine"), a = t, c(t)) : n(t);
1547
+ }
1548
+ function c(t) {
1549
+ return e.enter("setextHeadingLineSequence"), l(t);
1550
+ }
1551
+ function l(t) {
1552
+ return t === a ? (e.consume(t), l) : (e.exit("setextHeadingLineSequence"), i(t) ? p(e, u, "lineSuffix")(t) : u(t));
1553
+ }
1554
+ function u(r) {
1555
+ return r === null || s(r) ? (e.exit("setextHeadingLine"), t(r)) : n(r);
1556
+ }
1557
+ }
1558
+ //#endregion
1559
+ //#region node_modules/micromark/lib/initialize/flow.js
1560
+ var Ot = { tokenize: kt };
1561
+ function kt(e) {
1562
+ let t = this, n = e.attempt(H, r, e.attempt(this.parser.constructs.flowInitial, i, p(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Ee, i)), "linePrefix")));
1563
+ return n;
1564
+ function r(r) {
1565
+ if (r === null) {
1566
+ e.consume(r);
1567
+ return;
1568
+ }
1569
+ return e.enter("lineEndingBlank"), e.consume(r), e.exit("lineEndingBlank"), t.currentConstruct = void 0, n;
1570
+ }
1571
+ function i(r) {
1572
+ if (r === null) {
1573
+ e.consume(r);
1574
+ return;
1575
+ }
1576
+ return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), t.currentConstruct = void 0, n;
1577
+ }
1578
+ }
1579
+ //#endregion
1580
+ //#region node_modules/micromark/lib/initialize/text.js
1581
+ var At = { resolveAll: Pt() }, jt = Nt("string"), Mt = Nt("text");
1582
+ function Nt(e) {
1583
+ return {
1584
+ resolveAll: Pt(e === "text" ? Ft : void 0),
1585
+ tokenize: t
1586
+ };
1587
+ function t(t) {
1588
+ let n = this, r = this.parser.constructs[e], i = t.attempt(r, a, o);
1589
+ return a;
1590
+ function a(e) {
1591
+ return c(e) ? i(e) : o(e);
1592
+ }
1593
+ function o(e) {
1594
+ if (e === null) {
1595
+ t.consume(e);
1596
+ return;
1597
+ }
1598
+ return t.enter("data"), t.consume(e), s;
1599
+ }
1600
+ function s(e) {
1601
+ return c(e) ? (t.exit("data"), i(e)) : (t.consume(e), s);
1602
+ }
1603
+ function c(e) {
1604
+ if (e === null) return !0;
1605
+ let t = r[e], i = -1;
1606
+ if (t) for (; ++i < t.length;) {
1607
+ let e = t[i];
1608
+ if (!e.previous || e.previous.call(n, n.previous)) return !0;
1609
+ }
1610
+ return !1;
1611
+ }
1612
+ }
1613
+ }
1614
+ function Pt(e) {
1615
+ return t;
1616
+ function t(t, n) {
1617
+ let r = -1, i;
1618
+ for (; ++r <= t.length;) i === void 0 ? t[r] && t[r][1].type === "data" && (i = r, r++) : (!t[r] || t[r][1].type !== "data") && (r !== i + 2 && (t[i][1].end = t[r - 1][1].end, t.splice(i + 2, r - i - 2), r = i + 2), i = void 0);
1619
+ return e ? e(t, n) : t;
1620
+ }
1621
+ }
1622
+ function Ft(e, n) {
1623
+ let r = 0;
1624
+ for (; ++r <= e.length;) if ((r === e.length || e[r][1].type === "lineEnding") && e[r - 1][1].type === "data") {
1625
+ let i = e[r - 1][1], a = n.sliceStream(i), o = a.length, s = -1, c = 0, l;
1626
+ for (; o--;) {
1627
+ let e = a[o];
1628
+ if (typeof e == "string") {
1629
+ for (s = e.length; e.charCodeAt(s - 1) === 32;) c++, s--;
1630
+ if (s) break;
1631
+ s = -1;
1632
+ } else if (e === -2) l = !0, c++;
1633
+ else if (e !== -1) {
1634
+ o++;
1635
+ break;
1636
+ }
1637
+ }
1638
+ if (n._contentTypeTextTrailing && r === e.length && (c = 0), c) {
1639
+ let a = {
1640
+ type: r === e.length || l || c < 2 ? "lineSuffix" : "hardBreakTrailing",
1641
+ start: {
1642
+ _bufferIndex: o ? s : i.start._bufferIndex + s,
1643
+ _index: i.start._index + o,
1644
+ line: i.end.line,
1645
+ column: i.end.column - c,
1646
+ offset: i.end.offset - c
1647
+ },
1648
+ end: t({}, i.end)
1649
+ };
1650
+ i.end = t({}, a.start), i.start.offset === i.end.offset ? Object.assign(i, a) : (e.splice(r, 0, [
1651
+ "enter",
1652
+ a,
1653
+ n
1654
+ ], [
1655
+ "exit",
1656
+ a,
1657
+ n
1658
+ ]), r += 2);
1659
+ }
1660
+ r++;
1661
+ }
1662
+ return e;
1663
+ }
1664
+ //#endregion
1665
+ //#region node_modules/micromark/lib/constructs.js
1666
+ var It = /* @__PURE__ */ e({
1667
+ attentionMarkers: () => Wt,
1668
+ contentInitial: () => Rt,
1669
+ disable: () => Gt,
1670
+ document: () => Lt,
1671
+ flow: () => Bt,
1672
+ flowInitial: () => zt,
1673
+ insideSpan: () => Ut,
1674
+ string: () => Vt,
1675
+ text: () => Ht
1676
+ }), Lt = {
1677
+ 42: G,
1678
+ 43: G,
1679
+ 45: G,
1680
+ 48: G,
1681
+ 49: G,
1682
+ 50: G,
1683
+ 51: G,
1684
+ 52: G,
1685
+ 53: G,
1686
+ 54: G,
1687
+ 55: G,
1688
+ 56: G,
1689
+ 57: G,
1690
+ 62: re
1691
+ }, Rt = { 91: Pe }, zt = {
1692
+ [-2]: he,
1693
+ [-1]: he,
1694
+ 32: he
1695
+ }, Bt = {
1696
+ 35: Be,
1697
+ 42: gt,
1698
+ 45: [Tt, gt],
1699
+ 60: Ge,
1700
+ 61: Tt,
1701
+ 95: gt,
1702
+ 96: fe,
1703
+ 126: fe
1704
+ }, Vt = {
1705
+ 38: le,
1706
+ 92: se
1707
+ }, Ht = {
1708
+ [-5]: mt,
1709
+ [-4]: mt,
1710
+ [-3]: mt,
1711
+ 33: ut,
1712
+ 38: le,
1713
+ 42: R,
1714
+ 60: [V, Qe],
1715
+ 91: ft,
1716
+ 92: [Re, se],
1717
+ 93: et,
1718
+ 95: R,
1719
+ 96: ye
1720
+ }, Ut = { null: [R, At] }, Wt = { null: [42, 95] }, Gt = { null: [] };
1721
+ //#endregion
1722
+ //#region node_modules/micromark/lib/create-tokenizer.js
1723
+ function Kt(e, t, n) {
1724
+ let r = {
1725
+ _bufferIndex: -1,
1726
+ _index: 0,
1727
+ line: n && n.line || 1,
1728
+ column: n && n.column || 1,
1729
+ offset: n && n.offset || 0
1730
+ }, i = {}, a = [], o = [], c = [], l = {
1731
+ attempt: E(w),
1732
+ check: E(T),
1733
+ consume: y,
1734
+ enter: b,
1735
+ exit: x,
1736
+ interrupt: E(T, { interrupt: !0 })
1737
+ }, u = {
1738
+ code: null,
1739
+ containerState: {},
1740
+ defineSkip: g,
1741
+ events: [],
1742
+ now: h,
1743
+ parser: e,
1744
+ previous: null,
1745
+ sliceSerialize: p,
1746
+ sliceStream: m,
1747
+ write: f
1748
+ }, d = t.tokenize.call(u, l);
1749
+ return t.resolveAll && a.push(t), u;
1750
+ function f(e) {
1751
+ return o = C(o, e), _(), o[o.length - 1] === null ? (D(t, 0), u.events = L(a, u.events, u), u.events) : [];
1752
+ }
1753
+ function p(e, t) {
1754
+ return Jt(m(e), t);
1755
+ }
1756
+ function m(e) {
1757
+ return qt(o, e);
1758
+ }
1759
+ function h() {
1760
+ let { _bufferIndex: e, _index: t, line: n, column: i, offset: a } = r;
1761
+ return {
1762
+ _bufferIndex: e,
1763
+ _index: t,
1764
+ line: n,
1765
+ column: i,
1766
+ offset: a
1767
+ };
1768
+ }
1769
+ function g(e) {
1770
+ i[e.line] = e.column, k();
1771
+ }
1772
+ function _() {
1773
+ let e;
1774
+ for (; r._index < o.length;) {
1775
+ let t = o[r._index];
1776
+ if (typeof t == "string") for (e = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === e && r._bufferIndex < t.length;) v(t.charCodeAt(r._bufferIndex));
1777
+ else v(t);
1778
+ }
1779
+ }
1780
+ function v(e) {
1781
+ d = d(e);
1782
+ }
1783
+ function y(e) {
1784
+ s(e) ? (r.line++, r.column = 1, r.offset += e === -3 ? 2 : 1, k()) : e !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === o[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = e;
1785
+ }
1786
+ function b(e, t) {
1787
+ let n = t || {};
1788
+ return n.type = e, n.start = h(), u.events.push([
1789
+ "enter",
1790
+ n,
1791
+ u
1792
+ ]), c.push(n), n;
1793
+ }
1794
+ function x(e) {
1795
+ let t = c.pop();
1796
+ return t.end = h(), u.events.push([
1797
+ "exit",
1798
+ t,
1799
+ u
1800
+ ]), t;
1801
+ }
1802
+ function w(e, t) {
1803
+ D(e, t.from);
1804
+ }
1805
+ function T(e, t) {
1806
+ t.restore();
1807
+ }
1808
+ function E(e, t) {
1809
+ return n;
1810
+ function n(n, r, i) {
1811
+ let a, o, s, c;
1812
+ return Array.isArray(n) ? f(n) : "tokenize" in n ? f([n]) : d(n);
1813
+ function d(e) {
1814
+ return t;
1815
+ function t(t) {
1816
+ let n = t !== null && e[t], r = t !== null && e.null;
1817
+ return f([...Array.isArray(n) ? n : n ? [n] : [], ...Array.isArray(r) ? r : r ? [r] : []])(t);
1818
+ }
1819
+ }
1820
+ function f(e) {
1821
+ return a = e, o = 0, e.length === 0 ? i : p(e[o]);
1822
+ }
1823
+ function p(e) {
1824
+ return n;
1825
+ function n(n) {
1826
+ return c = O(), s = e, e.partial || (u.currentConstruct = e), e.name && u.parser.constructs.disable.null.includes(e.name) ? h(n) : e.tokenize.call(t ? Object.assign(Object.create(u), t) : u, l, m, h)(n);
1827
+ }
1828
+ }
1829
+ function m(t) {
1830
+ return e(s, c), r;
1831
+ }
1832
+ function h(e) {
1833
+ return c.restore(), ++o < a.length ? p(a[o]) : i;
1834
+ }
1835
+ }
1836
+ }
1837
+ function D(e, t) {
1838
+ e.resolveAll && !a.includes(e) && a.push(e), e.resolve && S(u.events, t, u.events.length - t, e.resolve(u.events.slice(t), u)), e.resolveTo && (u.events = e.resolveTo(u.events, u));
1839
+ }
1840
+ function O() {
1841
+ let e = h(), t = u.previous, n = u.currentConstruct, i = u.events.length, a = Array.from(c);
1842
+ return {
1843
+ from: i,
1844
+ restore: o
1845
+ };
1846
+ function o() {
1847
+ r = e, u.previous = t, u.currentConstruct = n, u.events.length = i, c = a, k();
1848
+ }
1849
+ }
1850
+ function k() {
1851
+ r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
1852
+ }
1853
+ }
1854
+ function qt(e, t) {
1855
+ let n = t.start._index, r = t.start._bufferIndex, i = t.end._index, a = t.end._bufferIndex, o;
1856
+ if (n === i) o = [e[n].slice(r, a)];
1857
+ else {
1858
+ if (o = e.slice(n, i), r > -1) {
1859
+ let e = o[0];
1860
+ typeof e == "string" ? o[0] = e.slice(r) : o.shift();
1861
+ }
1862
+ a > 0 && o.push(e[i].slice(0, a));
1863
+ }
1864
+ return o;
1865
+ }
1866
+ function Jt(e, t) {
1867
+ let n = -1, r = [], i;
1868
+ for (; ++n < e.length;) {
1869
+ let a = e[n], o;
1870
+ if (typeof a == "string") o = a;
1871
+ else switch (a) {
1872
+ case -5:
1873
+ o = "\r";
1874
+ break;
1875
+ case -4:
1876
+ o = "\n";
1877
+ break;
1878
+ case -3:
1879
+ o = "\r\n";
1880
+ break;
1881
+ case -2:
1882
+ o = t ? " " : " ";
1883
+ break;
1884
+ case -1:
1885
+ if (!t && i) continue;
1886
+ o = " ";
1887
+ break;
1888
+ default: o = String.fromCharCode(a);
1889
+ }
1890
+ i = a === -2, r.push(o);
1891
+ }
1892
+ return r.join("");
1893
+ }
1894
+ //#endregion
1895
+ //#region node_modules/micromark/lib/parse.js
1896
+ function Yt(e) {
1897
+ let t = {
1898
+ constructs: T([It, ...(e || {}).extensions || []]),
1899
+ content: n(A),
1900
+ defined: [],
1901
+ document: n(M),
1902
+ flow: n(Ot),
1903
+ lazy: {},
1904
+ string: n(jt),
1905
+ text: n(Mt)
1906
+ };
1907
+ return t;
1908
+ function n(e) {
1909
+ return n;
1910
+ function n(n) {
1911
+ return Kt(t, e, n);
1912
+ }
1913
+ }
1914
+ }
1915
+ //#endregion
1916
+ //#region node_modules/micromark/lib/postprocess.js
1917
+ function Xt(e) {
1918
+ for (; !we(e););
1919
+ return e;
1920
+ }
1921
+ //#endregion
1922
+ //#region node_modules/micromark/lib/preprocess.js
1923
+ var Zt = /[\0\t\n\r]/g;
1924
+ function Qt() {
1925
+ let e = 1, t = "", n = !0, r;
1926
+ return i;
1927
+ function i(i, a, o) {
1928
+ let s = [], c, l, u, d, f;
1929
+ for (i = t + (typeof i == "string" ? i.toString() : new TextDecoder(a || void 0).decode(i)), u = 0, t = "", n && (i.charCodeAt(0) === 65279 && u++, n = void 0); u < i.length;) {
1930
+ if (Zt.lastIndex = u, c = Zt.exec(i), d = c && c.index !== void 0 ? c.index : i.length, f = i.charCodeAt(d), !c) {
1931
+ t = i.slice(u);
1932
+ break;
1933
+ }
1934
+ if (f === 10 && u === d && r) s.push(-3), r = void 0;
1935
+ else switch (r && (s.push(-5), r = void 0), u < d && (s.push(i.slice(u, d)), e += d - u), f) {
1936
+ case 0:
1937
+ s.push(65533), e++;
1938
+ break;
1939
+ case 9:
1940
+ for (l = Math.ceil(e / 4) * 4, s.push(-2); e++ < l;) s.push(-1);
1941
+ break;
1942
+ case 10:
1943
+ s.push(-4), e = 1;
1944
+ break;
1945
+ default: r = !0, e = 1;
1946
+ }
1947
+ u = d + 1;
1948
+ }
1949
+ return o && (r && s.push(-5), t && s.push(t), s.push(null)), s;
1950
+ }
1951
+ }
1952
+ //#endregion
1953
+ //#region node_modules/micromark-util-decode-string/index.js
1954
+ var $t = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
1955
+ function en(e) {
1956
+ return e.replace($t, tn);
1957
+ }
1958
+ function tn(e, t, n) {
1959
+ if (t) return t;
1960
+ if (n.charCodeAt(0) === 35) {
1961
+ let e = n.charCodeAt(1), t = e === 120 || e === 88;
1962
+ return O(n.slice(t ? 2 : 1), t ? 16 : 10);
1963
+ }
1964
+ return x(n) || e;
1965
+ }
1966
+ //#endregion
1967
+ //#region node_modules/unist-util-stringify-position/lib/index.js
1968
+ function nn(e) {
1969
+ return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? an(e.position) : "start" in e || "end" in e ? an(e) : "line" in e || "column" in e ? rn(e) : "";
1970
+ }
1971
+ function rn(e) {
1972
+ return on(e && e.line) + ":" + on(e && e.column);
1973
+ }
1974
+ function an(e) {
1975
+ return rn(e && e.start) + "-" + rn(e && e.end);
1976
+ }
1977
+ function on(e) {
1978
+ return e && typeof e == "number" ? e : 1;
1979
+ }
1980
+ //#endregion
1981
+ //#region node_modules/mdast-util-from-markdown/lib/index.js
1982
+ var sn = {}.hasOwnProperty;
1983
+ function cn(e, t, n) {
1984
+ return t && typeof t == "object" && (n = t, t = void 0), ln(n)(Xt(Yt(n).document().write(Qt()(e, t, !0))));
1985
+ }
1986
+ function ln(e) {
1987
+ let t = {
1988
+ transforms: [],
1989
+ canContainEols: [
1990
+ "emphasis",
1991
+ "fragment",
1992
+ "heading",
1993
+ "paragraph",
1994
+ "strong"
1995
+ ],
1996
+ enter: {
1997
+ autolink: a(ge),
1998
+ autolinkProtocol: D,
1999
+ autolinkEmail: D,
2000
+ atxHeading: a(fe),
2001
+ blockQuote: a(se),
2002
+ characterEscape: D,
2003
+ characterReference: D,
2004
+ codeFenced: a(ce),
2005
+ codeFencedFenceInfo: o,
2006
+ codeFencedFenceMeta: o,
2007
+ codeIndented: a(ce, o),
2008
+ codeText: a(le, o),
2009
+ codeTextData: D,
2010
+ data: D,
2011
+ codeFlowValue: D,
2012
+ definition: a(ue),
2013
+ definitionDestinationString: o,
2014
+ definitionLabelString: o,
2015
+ definitionTitleString: o,
2016
+ emphasis: a(de),
2017
+ hardBreakEscape: a(pe),
2018
+ hardBreakTrailing: a(pe),
2019
+ htmlFlow: a(me, o),
2020
+ htmlFlowData: D,
2021
+ htmlText: a(me, o),
2022
+ htmlTextData: D,
2023
+ image: a(he),
2024
+ label: o,
2025
+ link: a(ge),
2026
+ listItem: a(ve),
2027
+ listItemValue: f,
2028
+ listOrdered: a(_e, d),
2029
+ listUnordered: a(_e),
2030
+ paragraph: a(ye),
2031
+ reference: te,
2032
+ referenceString: o,
2033
+ resourceDestinationString: o,
2034
+ resourceTitleString: o,
2035
+ setextHeading: a(fe),
2036
+ strong: a(be),
2037
+ thematicBreak: a(Se)
2038
+ },
2039
+ exit: {
2040
+ atxHeading: c(),
2041
+ atxHeadingSequence: C,
2042
+ autolink: c(),
2043
+ autolinkEmail: oe,
2044
+ autolinkProtocol: ae,
2045
+ blockQuote: c(),
2046
+ characterEscapeValue: A,
2047
+ characterReferenceMarkerHexadecimal: ne,
2048
+ characterReferenceMarkerNumeric: ne,
2049
+ characterReferenceValue: re,
2050
+ characterReference: ie,
2051
+ codeFenced: c(_),
2052
+ codeFencedFence: h,
2053
+ codeFencedFenceInfo: p,
2054
+ codeFencedFenceMeta: m,
2055
+ codeFlowValue: A,
2056
+ codeIndented: c(v),
2057
+ codeText: c(F),
2058
+ codeTextData: A,
2059
+ data: A,
2060
+ definition: c(),
2061
+ definitionDestinationString: S,
2062
+ definitionLabelString: y,
2063
+ definitionTitleString: b,
2064
+ emphasis: c(),
2065
+ hardBreakEscape: c(M),
2066
+ hardBreakTrailing: c(M),
2067
+ htmlFlow: c(N),
2068
+ htmlFlowData: A,
2069
+ htmlText: c(P),
2070
+ htmlTextData: A,
2071
+ image: c(L),
2072
+ label: z,
2073
+ labelText: R,
2074
+ lineEnding: j,
2075
+ link: c(I),
2076
+ listItem: c(),
2077
+ listOrdered: c(),
2078
+ listUnordered: c(),
2079
+ paragraph: c(),
2080
+ referenceString: H,
2081
+ resourceDestinationString: ee,
2082
+ resourceTitleString: B,
2083
+ resource: V,
2084
+ setextHeading: c(E),
2085
+ setextHeadingLineSequence: T,
2086
+ setextHeadingText: w,
2087
+ strong: c(),
2088
+ thematicBreak: c()
2089
+ }
2090
+ };
2091
+ un(t, (e || {}).mdastExtensions || []);
2092
+ let n = {};
2093
+ return r;
2094
+ function r(e) {
2095
+ let r = {
2096
+ type: "root",
2097
+ children: []
2098
+ }, a = {
2099
+ stack: [r],
2100
+ tokenStack: [],
2101
+ config: t,
2102
+ enter: s,
2103
+ exit: l,
2104
+ buffer: o,
2105
+ resume: u,
2106
+ data: n
2107
+ }, c = [], d = -1;
2108
+ for (; ++d < e.length;) (e[d][1].type === "listOrdered" || e[d][1].type === "listUnordered") && (e[d][0] === "enter" ? c.push(d) : d = i(e, c.pop(), d));
2109
+ for (d = -1; ++d < e.length;) {
2110
+ let n = t[e[d][0]];
2111
+ sn.call(n, e[d][1].type) && n[e[d][1].type].call(Object.assign({ sliceSerialize: e[d][2].sliceSerialize }, a), e[d][1]);
2112
+ }
2113
+ if (a.tokenStack.length > 0) {
2114
+ let e = a.tokenStack[a.tokenStack.length - 1];
2115
+ (e[1] || fn).call(a, void 0, e[0]);
2116
+ }
2117
+ for (r.position = {
2118
+ start: K(e.length > 0 ? e[0][1].start : {
2119
+ line: 1,
2120
+ column: 1,
2121
+ offset: 0
2122
+ }),
2123
+ end: K(e.length > 0 ? e[e.length - 2][1].end : {
2124
+ line: 1,
2125
+ column: 1,
2126
+ offset: 0
2127
+ })
2128
+ }, d = -1; ++d < t.transforms.length;) r = t.transforms[d](r) || r;
2129
+ return r;
2130
+ }
2131
+ function i(e, t, n) {
2132
+ let r = t - 1, i = -1, a = !1, o, s, c, l;
2133
+ for (; ++r <= n;) {
2134
+ let t = e[r];
2135
+ switch (t[1].type) {
2136
+ case "listUnordered":
2137
+ case "listOrdered":
2138
+ case "blockQuote":
2139
+ t[0] === "enter" ? i++ : i--, l = void 0;
2140
+ break;
2141
+ case "lineEndingBlank":
2142
+ t[0] === "enter" && (o && !l && !i && !c && (c = r), l = void 0);
2143
+ break;
2144
+ case "linePrefix":
2145
+ case "listItemValue":
2146
+ case "listItemMarker":
2147
+ case "listItemPrefix":
2148
+ case "listItemPrefixWhitespace": break;
2149
+ default: l = void 0;
2150
+ }
2151
+ if (!i && t[0] === "enter" && t[1].type === "listItemPrefix" || i === -1 && t[0] === "exit" && (t[1].type === "listUnordered" || t[1].type === "listOrdered")) {
2152
+ if (o) {
2153
+ let i = r;
2154
+ for (s = void 0; i--;) {
2155
+ let t = e[i];
2156
+ if (t[1].type === "lineEnding" || t[1].type === "lineEndingBlank") {
2157
+ if (t[0] === "exit") continue;
2158
+ s && (e[s][1].type = "lineEndingBlank", a = !0), t[1].type = "lineEnding", s = i;
2159
+ } else if (!(t[1].type === "linePrefix" || t[1].type === "blockQuotePrefix" || t[1].type === "blockQuotePrefixWhitespace" || t[1].type === "blockQuoteMarker" || t[1].type === "listItemIndent")) break;
2160
+ }
2161
+ c && (!s || c < s) && (o._spread = !0), o.end = Object.assign({}, s ? e[s][1].start : t[1].end), e.splice(s || r, 0, [
2162
+ "exit",
2163
+ o,
2164
+ t[2]
2165
+ ]), r++, n++;
2166
+ }
2167
+ if (t[1].type === "listItemPrefix") {
2168
+ let i = {
2169
+ type: "listItem",
2170
+ _spread: !1,
2171
+ start: Object.assign({}, t[1].start),
2172
+ end: void 0
2173
+ };
2174
+ o = i, e.splice(r, 0, [
2175
+ "enter",
2176
+ i,
2177
+ t[2]
2178
+ ]), r++, n++, c = void 0, l = !0;
2179
+ }
2180
+ }
2181
+ }
2182
+ return e[t][1]._spread = a, n;
2183
+ }
2184
+ function a(e, t) {
2185
+ return n;
2186
+ function n(n) {
2187
+ s.call(this, e(n), n), t && t.call(this, n);
2188
+ }
2189
+ }
2190
+ function o() {
2191
+ this.stack.push({
2192
+ type: "fragment",
2193
+ children: []
2194
+ });
2195
+ }
2196
+ function s(e, t, n) {
2197
+ this.stack[this.stack.length - 1].children.push(e), this.stack.push(e), this.tokenStack.push([t, n || void 0]), e.position = {
2198
+ start: K(t.start),
2199
+ end: void 0
2200
+ };
2201
+ }
2202
+ function c(e) {
2203
+ return t;
2204
+ function t(t) {
2205
+ e && e.call(this, t), l.call(this, t);
2206
+ }
2207
+ }
2208
+ function l(e, t) {
2209
+ let n = this.stack.pop(), r = this.tokenStack.pop();
2210
+ if (r) r[0].type !== e.type && (t ? t.call(this, e, r[0]) : (r[1] || fn).call(this, e, r[0]));
2211
+ else throw Error("Cannot close `" + e.type + "` (" + nn({
2212
+ start: e.start,
2213
+ end: e.end
2214
+ }) + "): it’s not open");
2215
+ n.position.end = K(e.end);
2216
+ }
2217
+ function u() {
2218
+ return g(this.stack.pop());
2219
+ }
2220
+ function d() {
2221
+ this.data.expectingFirstListItemValue = !0;
2222
+ }
2223
+ function f(e) {
2224
+ if (this.data.expectingFirstListItemValue) {
2225
+ let t = this.stack[this.stack.length - 2];
2226
+ t.start = Number.parseInt(this.sliceSerialize(e), 10), this.data.expectingFirstListItemValue = void 0;
2227
+ }
2228
+ }
2229
+ function p() {
2230
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2231
+ t.lang = e;
2232
+ }
2233
+ function m() {
2234
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2235
+ t.meta = e;
2236
+ }
2237
+ function h() {
2238
+ this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
2239
+ }
2240
+ function _() {
2241
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2242
+ t.value = e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
2243
+ }
2244
+ function v() {
2245
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2246
+ t.value = e.replace(/(\r?\n|\r)$/g, "");
2247
+ }
2248
+ function y(e) {
2249
+ let t = this.resume(), n = this.stack[this.stack.length - 1];
2250
+ n.label = t, n.identifier = k(this.sliceSerialize(e)).toLowerCase();
2251
+ }
2252
+ function b() {
2253
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2254
+ t.title = e;
2255
+ }
2256
+ function S() {
2257
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2258
+ t.url = e;
2259
+ }
2260
+ function C(e) {
2261
+ let t = this.stack[this.stack.length - 1];
2262
+ t.depth || (t.depth = this.sliceSerialize(e).length);
2263
+ }
2264
+ function w() {
2265
+ this.data.setextHeadingSlurpLineEnding = !0;
2266
+ }
2267
+ function T(e) {
2268
+ let t = this.stack[this.stack.length - 1];
2269
+ t.depth = this.sliceSerialize(e).codePointAt(0) === 61 ? 1 : 2;
2270
+ }
2271
+ function E() {
2272
+ this.data.setextHeadingSlurpLineEnding = void 0;
2273
+ }
2274
+ function D(e) {
2275
+ let t = this.stack[this.stack.length - 1].children, n = t[t.length - 1];
2276
+ (!n || n.type !== "text") && (n = xe(), n.position = {
2277
+ start: K(e.start),
2278
+ end: void 0
2279
+ }, t.push(n)), this.stack.push(n);
2280
+ }
2281
+ function A(e) {
2282
+ let t = this.stack.pop();
2283
+ t.value += this.sliceSerialize(e), t.position.end = K(e.end);
2284
+ }
2285
+ function j(e) {
2286
+ let n = this.stack[this.stack.length - 1];
2287
+ if (this.data.atHardBreak) {
2288
+ let t = n.children[n.children.length - 1];
2289
+ t.position.end = K(e.end), this.data.atHardBreak = void 0;
2290
+ return;
2291
+ }
2292
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(n.type) && (D.call(this, e), A.call(this, e));
2293
+ }
2294
+ function M() {
2295
+ this.data.atHardBreak = !0;
2296
+ }
2297
+ function N() {
2298
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2299
+ t.value = e;
2300
+ }
2301
+ function P() {
2302
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2303
+ t.value = e;
2304
+ }
2305
+ function F() {
2306
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2307
+ t.value = e;
2308
+ }
2309
+ function I() {
2310
+ let e = this.stack[this.stack.length - 1];
2311
+ if (this.data.inReference) {
2312
+ let t = this.data.referenceType || "shortcut";
2313
+ e.type += "Reference", e.referenceType = t, delete e.url, delete e.title;
2314
+ } else delete e.identifier, delete e.label;
2315
+ this.data.referenceType = void 0;
2316
+ }
2317
+ function L() {
2318
+ let e = this.stack[this.stack.length - 1];
2319
+ if (this.data.inReference) {
2320
+ let t = this.data.referenceType || "shortcut";
2321
+ e.type += "Reference", e.referenceType = t, delete e.url, delete e.title;
2322
+ } else delete e.identifier, delete e.label;
2323
+ this.data.referenceType = void 0;
2324
+ }
2325
+ function R(e) {
2326
+ let t = this.sliceSerialize(e), n = this.stack[this.stack.length - 2];
2327
+ n.label = en(t), n.identifier = k(t).toLowerCase();
2328
+ }
2329
+ function z() {
2330
+ let e = this.stack[this.stack.length - 1], t = this.resume(), n = this.stack[this.stack.length - 1];
2331
+ this.data.inReference = !0, n.type === "link" ? n.children = e.children : n.alt = t;
2332
+ }
2333
+ function ee() {
2334
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2335
+ t.url = e;
2336
+ }
2337
+ function B() {
2338
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
2339
+ t.title = e;
2340
+ }
2341
+ function V() {
2342
+ this.data.inReference = void 0;
2343
+ }
2344
+ function te() {
2345
+ this.data.referenceType = "collapsed";
2346
+ }
2347
+ function H(e) {
2348
+ let t = this.resume(), n = this.stack[this.stack.length - 1];
2349
+ n.label = t, n.identifier = k(this.sliceSerialize(e)).toLowerCase(), this.data.referenceType = "full";
2350
+ }
2351
+ function ne(e) {
2352
+ this.data.characterReferenceType = e.type;
2353
+ }
2354
+ function re(e) {
2355
+ let t = this.sliceSerialize(e), n = this.data.characterReferenceType, r;
2356
+ n ? (r = O(t, n === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : r = x(t);
2357
+ let i = this.stack[this.stack.length - 1];
2358
+ i.value += r;
2359
+ }
2360
+ function ie(e) {
2361
+ let t = this.stack.pop();
2362
+ t.position.end = K(e.end);
2363
+ }
2364
+ function ae(e) {
2365
+ A.call(this, e);
2366
+ let t = this.stack[this.stack.length - 1];
2367
+ t.url = this.sliceSerialize(e);
2368
+ }
2369
+ function oe(e) {
2370
+ A.call(this, e);
2371
+ let t = this.stack[this.stack.length - 1];
2372
+ t.url = "mailto:" + this.sliceSerialize(e);
2373
+ }
2374
+ function se() {
2375
+ return {
2376
+ type: "blockquote",
2377
+ children: []
2378
+ };
2379
+ }
2380
+ function ce() {
2381
+ return {
2382
+ type: "code",
2383
+ lang: null,
2384
+ meta: null,
2385
+ value: ""
2386
+ };
2387
+ }
2388
+ function le() {
2389
+ return {
2390
+ type: "inlineCode",
2391
+ value: ""
2392
+ };
2393
+ }
2394
+ function ue() {
2395
+ return {
2396
+ type: "definition",
2397
+ identifier: "",
2398
+ label: null,
2399
+ title: null,
2400
+ url: ""
2401
+ };
2402
+ }
2403
+ function de() {
2404
+ return {
2405
+ type: "emphasis",
2406
+ children: []
2407
+ };
2408
+ }
2409
+ function fe() {
2410
+ return {
2411
+ type: "heading",
2412
+ depth: 0,
2413
+ children: []
2414
+ };
2415
+ }
2416
+ function pe() {
2417
+ return { type: "break" };
2418
+ }
2419
+ function me() {
2420
+ return {
2421
+ type: "html",
2422
+ value: ""
2423
+ };
2424
+ }
2425
+ function he() {
2426
+ return {
2427
+ type: "image",
2428
+ title: null,
2429
+ url: "",
2430
+ alt: null
2431
+ };
2432
+ }
2433
+ function ge() {
2434
+ return {
2435
+ type: "link",
2436
+ title: null,
2437
+ url: "",
2438
+ children: []
2439
+ };
2440
+ }
2441
+ function _e(e) {
2442
+ return {
2443
+ type: "list",
2444
+ ordered: e.type === "listOrdered",
2445
+ start: null,
2446
+ spread: e._spread,
2447
+ children: []
2448
+ };
2449
+ }
2450
+ function ve(e) {
2451
+ return {
2452
+ type: "listItem",
2453
+ spread: e._spread,
2454
+ checked: null,
2455
+ children: []
2456
+ };
2457
+ }
2458
+ function ye() {
2459
+ return {
2460
+ type: "paragraph",
2461
+ children: []
2462
+ };
2463
+ }
2464
+ function be() {
2465
+ return {
2466
+ type: "strong",
2467
+ children: []
2468
+ };
2469
+ }
2470
+ function xe() {
2471
+ return {
2472
+ type: "text",
2473
+ value: ""
2474
+ };
2475
+ }
2476
+ function Se() {
2477
+ return { type: "thematicBreak" };
2478
+ }
2479
+ }
2480
+ function K(e) {
2481
+ return {
2482
+ line: e.line,
2483
+ column: e.column,
2484
+ offset: e.offset
2485
+ };
2486
+ }
2487
+ function un(e, t) {
2488
+ let n = -1;
2489
+ for (; ++n < t.length;) {
2490
+ let r = t[n];
2491
+ Array.isArray(r) ? un(e, r) : dn(e, r);
2492
+ }
2493
+ }
2494
+ function dn(e, t) {
2495
+ let n;
2496
+ for (n in t) if (sn.call(t, n)) switch (n) {
2497
+ case "canContainEols": {
2498
+ let r = t[n];
2499
+ r && e[n].push(...r);
2500
+ break;
2501
+ }
2502
+ case "transforms": {
2503
+ let r = t[n];
2504
+ r && e[n].push(...r);
2505
+ break;
2506
+ }
2507
+ case "enter":
2508
+ case "exit": {
2509
+ let r = t[n];
2510
+ r && Object.assign(e[n], r);
2511
+ break;
2512
+ }
2513
+ }
2514
+ }
2515
+ function fn(e, t) {
2516
+ throw e ? Error("Cannot close `" + e.type + "` (" + nn({
2517
+ start: e.start,
2518
+ end: e.end
2519
+ }) + "): a different token (`" + t.type + "`, " + nn({
2520
+ start: t.start,
2521
+ end: t.end
2522
+ }) + ") is open") : Error("Cannot close document, a token (`" + t.type + "`, " + nn({
2523
+ start: t.start,
2524
+ end: t.end
2525
+ }) + ") is still open");
2526
+ }
2527
+ //#endregion
2528
+ //#region node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
2529
+ var pn = {
2530
+ tokenize: wn,
2531
+ partial: !0
2532
+ }, mn = {
2533
+ tokenize: Tn,
2534
+ partial: !0
2535
+ }, hn = {
2536
+ tokenize: En,
2537
+ partial: !0
2538
+ }, gn = {
2539
+ tokenize: Dn,
2540
+ partial: !0
2541
+ }, _n = {
2542
+ tokenize: On,
2543
+ partial: !0
2544
+ }, vn = {
2545
+ name: "wwwAutolink",
2546
+ tokenize: Sn,
2547
+ previous: kn
2548
+ }, yn = {
2549
+ name: "protocolAutolink",
2550
+ tokenize: Cn,
2551
+ previous: An
2552
+ }, q = {
2553
+ name: "emailAutolink",
2554
+ tokenize: xn,
2555
+ previous: jn
2556
+ }, J = {};
2557
+ function bn() {
2558
+ return { text: J };
2559
+ }
2560
+ for (var Y = 48; Y < 123;) J[Y] = q, Y++, Y === 58 ? Y = 65 : Y === 91 && (Y = 97);
2561
+ J[43] = q, J[45] = q, J[46] = q, J[95] = q, J[72] = [q, yn], J[104] = [q, yn], J[87] = [q, vn], J[119] = [q, vn];
2562
+ function xn(e, t, n) {
2563
+ let r = this, i, a;
2564
+ return o;
2565
+ function o(t) {
2566
+ return !Mn(t) || !jn.call(r, r.previous) || Nn(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), s(t));
2567
+ }
2568
+ function s(t) {
2569
+ return Mn(t) ? (e.consume(t), s) : t === 64 ? (e.consume(t), l) : n(t);
2570
+ }
2571
+ function l(t) {
2572
+ return t === 46 ? e.check(_n, f, u)(t) : t === 45 || t === 95 || d(t) ? (a = !0, e.consume(t), l) : f(t);
2573
+ }
2574
+ function u(t) {
2575
+ return e.consume(t), i = !0, l;
2576
+ }
2577
+ function f(o) {
2578
+ return a && i && c(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(o)) : n(o);
2579
+ }
2580
+ }
2581
+ function Sn(e, t, n) {
2582
+ let r = this;
2583
+ return i;
2584
+ function i(t) {
2585
+ return t !== 87 && t !== 119 || !kn.call(r, r.previous) || Nn(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(pn, e.attempt(mn, e.attempt(hn, a), n), n)(t));
2586
+ }
2587
+ function a(n) {
2588
+ return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(n);
2589
+ }
2590
+ }
2591
+ function Cn(e, t, r) {
2592
+ let i = this, o = "", s = !1;
2593
+ return l;
2594
+ function l(t) {
2595
+ return (t === 72 || t === 104) && An.call(i, i.previous) && !Nn(i.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), o += String.fromCodePoint(t), e.consume(t), d) : r(t);
2596
+ }
2597
+ function d(t) {
2598
+ if (c(t) && o.length < 5) return o += String.fromCodePoint(t), e.consume(t), d;
2599
+ if (t === 58) {
2600
+ let n = o.toLowerCase();
2601
+ if (n === "http" || n === "https") return e.consume(t), f;
2602
+ }
2603
+ return r(t);
2604
+ }
2605
+ function f(t) {
2606
+ return t === 47 ? (e.consume(t), s ? p : (s = !0, f)) : r(t);
2607
+ }
2608
+ function p(t) {
2609
+ return t === null || n(t) || m(t) || u(t) || a(t) ? r(t) : e.attempt(mn, e.attempt(hn, h), r)(t);
2610
+ }
2611
+ function h(n) {
2612
+ return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(n);
2613
+ }
2614
+ }
2615
+ function wn(e, t, n) {
2616
+ let r = 0;
2617
+ return i;
2618
+ function i(t) {
2619
+ return (t === 87 || t === 119) && r < 3 ? (r++, e.consume(t), i) : t === 46 && r === 3 ? (e.consume(t), a) : n(t);
2620
+ }
2621
+ function a(e) {
2622
+ return e === null ? n(e) : t(e);
2623
+ }
2624
+ }
2625
+ function Tn(e, t, n) {
2626
+ let r, i, o;
2627
+ return s;
2628
+ function s(t) {
2629
+ return t === 46 || t === 95 ? e.check(gn, l, c)(t) : t === null || m(t) || u(t) || t !== 45 && a(t) ? l(t) : (o = !0, e.consume(t), s);
2630
+ }
2631
+ function c(t) {
2632
+ return t === 95 ? r = !0 : (i = r, r = void 0), e.consume(t), s;
2633
+ }
2634
+ function l(e) {
2635
+ return i || r || !o ? n(e) : t(e);
2636
+ }
2637
+ }
2638
+ function En(e, t) {
2639
+ let n = 0, r = 0;
2640
+ return i;
2641
+ function i(o) {
2642
+ return o === 40 ? (n++, e.consume(o), i) : o === 41 && r < n ? a(o) : o === 33 || o === 34 || o === 38 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 60 || o === 63 || o === 93 || o === 95 || o === 126 ? e.check(gn, t, a)(o) : o === null || m(o) || u(o) ? t(o) : (e.consume(o), i);
2643
+ }
2644
+ function a(t) {
2645
+ return t === 41 && r++, e.consume(t), i;
2646
+ }
2647
+ }
2648
+ function Dn(e, t, n) {
2649
+ return r;
2650
+ function r(o) {
2651
+ return o === 33 || o === 34 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 63 || o === 95 || o === 126 ? (e.consume(o), r) : o === 38 ? (e.consume(o), a) : o === 93 ? (e.consume(o), i) : o === 60 || o === null || m(o) || u(o) ? t(o) : n(o);
2652
+ }
2653
+ function i(e) {
2654
+ return e === null || e === 40 || e === 91 || m(e) || u(e) ? t(e) : r(e);
2655
+ }
2656
+ function a(e) {
2657
+ return c(e) ? o(e) : n(e);
2658
+ }
2659
+ function o(t) {
2660
+ return t === 59 ? (e.consume(t), r) : c(t) ? (e.consume(t), o) : n(t);
2661
+ }
2662
+ }
2663
+ function On(e, t, n) {
2664
+ return r;
2665
+ function r(t) {
2666
+ return e.consume(t), i;
2667
+ }
2668
+ function i(e) {
2669
+ return d(e) ? n(e) : t(e);
2670
+ }
2671
+ }
2672
+ function kn(e) {
2673
+ return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || m(e);
2674
+ }
2675
+ function An(e) {
2676
+ return !c(e);
2677
+ }
2678
+ function jn(e) {
2679
+ return !(e === 47 || Mn(e));
2680
+ }
2681
+ function Mn(e) {
2682
+ return e === 43 || e === 45 || e === 46 || e === 95 || d(e);
2683
+ }
2684
+ function Nn(e) {
2685
+ let t = e.length, n = !1;
2686
+ for (; t--;) {
2687
+ let r = e[t][1];
2688
+ if ((r.type === "labelLink" || r.type === "labelImage") && !r._balanced) {
2689
+ n = !0;
2690
+ break;
2691
+ }
2692
+ if (r._gfmAutolinkLiteralWalkedInto) {
2693
+ n = !1;
2694
+ break;
2695
+ }
2696
+ }
2697
+ return e.length > 0 && !n && (e[e.length - 1][1]._gfmAutolinkLiteralWalkedInto = !0), n;
2698
+ }
2699
+ //#endregion
2700
+ //#region node_modules/micromark-extension-gfm-footnote/lib/syntax.js
2701
+ var Pn = {
2702
+ tokenize: Hn,
2703
+ partial: !0
2704
+ };
2705
+ function Fn() {
2706
+ return {
2707
+ document: { 91: {
2708
+ name: "gfmFootnoteDefinition",
2709
+ tokenize: zn,
2710
+ continuation: { tokenize: Bn },
2711
+ exit: Vn
2712
+ } },
2713
+ text: {
2714
+ 91: {
2715
+ name: "gfmFootnoteCall",
2716
+ tokenize: Rn
2717
+ },
2718
+ 93: {
2719
+ name: "gfmPotentialFootnoteCall",
2720
+ add: "after",
2721
+ tokenize: In,
2722
+ resolveTo: Ln
2723
+ }
2724
+ }
2725
+ };
2726
+ }
2727
+ function In(e, t, n) {
2728
+ let r = this, i = r.events.length, a = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), o;
2729
+ for (; i--;) {
2730
+ let e = r.events[i][1];
2731
+ if (e.type === "labelImage") {
2732
+ o = e;
2733
+ break;
2734
+ }
2735
+ if (e.type === "gfmFootnoteCall" || e.type === "labelLink" || e.type === "label" || e.type === "image" || e.type === "link") break;
2736
+ }
2737
+ return s;
2738
+ function s(i) {
2739
+ if (!o || !o._balanced) return n(i);
2740
+ let s = k(r.sliceSerialize({
2741
+ start: o.end,
2742
+ end: r.now()
2743
+ }));
2744
+ return s.codePointAt(0) !== 94 || !a.includes(s.slice(1)) ? n(i) : (e.enter("gfmFootnoteCallLabelMarker"), e.consume(i), e.exit("gfmFootnoteCallLabelMarker"), t(i));
2745
+ }
2746
+ }
2747
+ function Ln(e, t) {
2748
+ let n = e.length;
2749
+ for (; n--;) if (e[n][1].type === "labelImage" && e[n][0] === "enter") {
2750
+ e[n][1];
2751
+ break;
2752
+ }
2753
+ e[n + 1][1].type = "data", e[n + 3][1].type = "gfmFootnoteCallLabelMarker";
2754
+ let r = {
2755
+ type: "gfmFootnoteCall",
2756
+ start: Object.assign({}, e[n + 3][1].start),
2757
+ end: Object.assign({}, e[e.length - 1][1].end)
2758
+ }, i = {
2759
+ type: "gfmFootnoteCallMarker",
2760
+ start: Object.assign({}, e[n + 3][1].end),
2761
+ end: Object.assign({}, e[n + 3][1].end)
2762
+ };
2763
+ i.end.column++, i.end.offset++, i.end._bufferIndex++;
2764
+ let a = {
2765
+ type: "gfmFootnoteCallString",
2766
+ start: Object.assign({}, i.end),
2767
+ end: Object.assign({}, e[e.length - 1][1].start)
2768
+ }, o = {
2769
+ type: "chunkString",
2770
+ contentType: "string",
2771
+ start: Object.assign({}, a.start),
2772
+ end: Object.assign({}, a.end)
2773
+ }, s = [
2774
+ e[n + 1],
2775
+ e[n + 2],
2776
+ [
2777
+ "enter",
2778
+ r,
2779
+ t
2780
+ ],
2781
+ e[n + 3],
2782
+ e[n + 4],
2783
+ [
2784
+ "enter",
2785
+ i,
2786
+ t
2787
+ ],
2788
+ [
2789
+ "exit",
2790
+ i,
2791
+ t
2792
+ ],
2793
+ [
2794
+ "enter",
2795
+ a,
2796
+ t
2797
+ ],
2798
+ [
2799
+ "enter",
2800
+ o,
2801
+ t
2802
+ ],
2803
+ [
2804
+ "exit",
2805
+ o,
2806
+ t
2807
+ ],
2808
+ [
2809
+ "exit",
2810
+ a,
2811
+ t
2812
+ ],
2813
+ e[e.length - 2],
2814
+ e[e.length - 1],
2815
+ [
2816
+ "exit",
2817
+ r,
2818
+ t
2819
+ ]
2820
+ ];
2821
+ return e.splice(n, e.length - n + 1, ...s), e;
2822
+ }
2823
+ function Rn(e, t, n) {
2824
+ let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a = 0, o;
2825
+ return s;
2826
+ function s(t) {
2827
+ return e.enter("gfmFootnoteCall"), e.enter("gfmFootnoteCallLabelMarker"), e.consume(t), e.exit("gfmFootnoteCallLabelMarker"), c;
2828
+ }
2829
+ function c(t) {
2830
+ return t === 94 ? (e.enter("gfmFootnoteCallMarker"), e.consume(t), e.exit("gfmFootnoteCallMarker"), e.enter("gfmFootnoteCallString"), e.enter("chunkString").contentType = "string", l) : n(t);
2831
+ }
2832
+ function l(s) {
2833
+ if (a > 999 || s === 93 && !o || s === null || s === 91 || m(s)) return n(s);
2834
+ if (s === 93) {
2835
+ e.exit("chunkString");
2836
+ let a = e.exit("gfmFootnoteCallString");
2837
+ return i.includes(k(r.sliceSerialize(a))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(s), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(s);
2838
+ }
2839
+ return m(s) || (o = !0), a++, e.consume(s), s === 92 ? u : l;
2840
+ }
2841
+ function u(t) {
2842
+ return t === 91 || t === 92 || t === 93 ? (e.consume(t), a++, l) : l(t);
2843
+ }
2844
+ }
2845
+ function zn(e, t, n) {
2846
+ let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a, o = 0, s;
2847
+ return c;
2848
+ function c(t) {
2849
+ return e.enter("gfmFootnoteDefinition")._container = !0, e.enter("gfmFootnoteDefinitionLabel"), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionLabelMarker"), l;
2850
+ }
2851
+ function l(t) {
2852
+ return t === 94 ? (e.enter("gfmFootnoteDefinitionMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionMarker"), e.enter("gfmFootnoteDefinitionLabelString"), e.enter("chunkString").contentType = "string", u) : n(t);
2853
+ }
2854
+ function u(t) {
2855
+ if (o > 999 || t === 93 && !s || t === null || t === 91 || m(t)) return n(t);
2856
+ if (t === 93) {
2857
+ e.exit("chunkString");
2858
+ let n = e.exit("gfmFootnoteDefinitionLabelString");
2859
+ return a = k(r.sliceSerialize(n)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), f;
2860
+ }
2861
+ return m(t) || (s = !0), o++, e.consume(t), t === 92 ? d : u;
2862
+ }
2863
+ function d(t) {
2864
+ return t === 91 || t === 92 || t === 93 ? (e.consume(t), o++, u) : u(t);
2865
+ }
2866
+ function f(t) {
2867
+ return t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), i.includes(a) || i.push(a), p(e, h, "gfmFootnoteDefinitionWhitespace")) : n(t);
2868
+ }
2869
+ function h(e) {
2870
+ return t(e);
2871
+ }
2872
+ }
2873
+ function Bn(e, t, n) {
2874
+ return e.check(H, t, e.attempt(Pn, t, n));
2875
+ }
2876
+ function Vn(e) {
2877
+ e.exit("gfmFootnoteDefinition");
2878
+ }
2879
+ function Hn(e, t, n) {
2880
+ let r = this;
2881
+ return p(e, i, "gfmFootnoteDefinitionIndent", 5);
2882
+ function i(e) {
2883
+ let i = r.events[r.events.length - 1];
2884
+ return i && i[1].type === "gfmFootnoteDefinitionIndent" && i[2].sliceSerialize(i[1], !0).length === 4 ? t(e) : n(e);
2885
+ }
2886
+ }
2887
+ //#endregion
2888
+ //#region node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
2889
+ function Un(e) {
2890
+ let t = (e || {}).singleTilde, n = {
2891
+ name: "strikethrough",
2892
+ tokenize: i,
2893
+ resolveAll: r
2894
+ };
2895
+ return t == null && (t = !0), {
2896
+ text: { 126: n },
2897
+ insideSpan: { null: [n] },
2898
+ attentionMarkers: { null: [126] }
2899
+ };
2900
+ function r(e, t) {
2901
+ let n = -1;
2902
+ for (; ++n < e.length;) if (e[n][0] === "enter" && e[n][1].type === "strikethroughSequenceTemporary" && e[n][1]._close) {
2903
+ let r = n;
2904
+ for (; r--;) if (e[r][0] === "exit" && e[r][1].type === "strikethroughSequenceTemporary" && e[r][1]._open && e[n][1].end.offset - e[n][1].start.offset === e[r][1].end.offset - e[r][1].start.offset) {
2905
+ e[n][1].type = "strikethroughSequence", e[r][1].type = "strikethroughSequence";
2906
+ let i = {
2907
+ type: "strikethrough",
2908
+ start: Object.assign({}, e[r][1].start),
2909
+ end: Object.assign({}, e[n][1].end)
2910
+ }, a = {
2911
+ type: "strikethroughText",
2912
+ start: Object.assign({}, e[r][1].end),
2913
+ end: Object.assign({}, e[n][1].start)
2914
+ }, o = [
2915
+ [
2916
+ "enter",
2917
+ i,
2918
+ t
2919
+ ],
2920
+ [
2921
+ "enter",
2922
+ e[r][1],
2923
+ t
2924
+ ],
2925
+ [
2926
+ "exit",
2927
+ e[r][1],
2928
+ t
2929
+ ],
2930
+ [
2931
+ "enter",
2932
+ a,
2933
+ t
2934
+ ]
2935
+ ], s = t.parser.constructs.insideSpan.null;
2936
+ s && S(o, o.length, 0, L(s, e.slice(r + 1, n), t)), S(o, o.length, 0, [
2937
+ [
2938
+ "exit",
2939
+ a,
2940
+ t
2941
+ ],
2942
+ [
2943
+ "enter",
2944
+ e[n][1],
2945
+ t
2946
+ ],
2947
+ [
2948
+ "exit",
2949
+ e[n][1],
2950
+ t
2951
+ ],
2952
+ [
2953
+ "exit",
2954
+ i,
2955
+ t
2956
+ ]
2957
+ ]), S(e, r - 1, n - r + 3, o), n = r + o.length - 2;
2958
+ break;
2959
+ }
2960
+ }
2961
+ for (n = -1; ++n < e.length;) e[n][1].type === "strikethroughSequenceTemporary" && (e[n][1].type = "data");
2962
+ return e;
2963
+ }
2964
+ function i(e, n, r) {
2965
+ let i = this.previous, a = this.events, o = 0;
2966
+ return s;
2967
+ function s(t) {
2968
+ return i === 126 && a[a.length - 1][1].type !== "characterEscape" ? r(t) : (e.enter("strikethroughSequenceTemporary"), c(t));
2969
+ }
2970
+ function c(a) {
2971
+ let s = I(i);
2972
+ if (a === 126) return o > 1 ? r(a) : (e.consume(a), o++, c);
2973
+ if (o < 2 && !t) return r(a);
2974
+ let l = e.exit("strikethroughSequenceTemporary"), u = I(a);
2975
+ return l._open = !u || u === 2 && !!s, l._close = !s || s === 2 && !!u, n(a);
2976
+ }
2977
+ }
2978
+ }
2979
+ //#endregion
2980
+ //#region node_modules/micromark-extension-gfm-table/lib/edit-map.js
2981
+ var Wn = class {
2982
+ constructor() {
2983
+ this.map = [];
2984
+ }
2985
+ add(e, t, n) {
2986
+ Gn(this, e, t, n);
2987
+ }
2988
+ consume(e) {
2989
+ /* c8 ignore next 3 -- `resolve` is never called without tables, so without edits. */
2990
+ if (this.map.sort(function(e, t) {
2991
+ return e[0] - t[0];
2992
+ }), this.map.length === 0) return;
2993
+ let t = this.map.length, n = [];
2994
+ for (; t > 0;) --t, n.push(e.slice(this.map[t][0] + this.map[t][1]), this.map[t][2]), e.length = this.map[t][0];
2995
+ n.push(e.slice()), e.length = 0;
2996
+ let r = n.pop();
2997
+ for (; r;) {
2998
+ for (let t of r) e.push(t);
2999
+ r = n.pop();
3000
+ }
3001
+ this.map.length = 0;
3002
+ }
3003
+ };
3004
+ function Gn(e, t, n, r) {
3005
+ let i = 0;
3006
+ if (!(n === 0 && r.length === 0)) {
3007
+ for (; i < e.map.length;) {
3008
+ if (e.map[i][0] === t) {
3009
+ e.map[i][1] += n, e.map[i][2].push(...r);
3010
+ return;
3011
+ }
3012
+ i += 1;
3013
+ }
3014
+ e.map.push([
3015
+ t,
3016
+ n,
3017
+ r
3018
+ ]);
3019
+ }
3020
+ }
3021
+ //#endregion
3022
+ //#region node_modules/micromark-extension-gfm-table/lib/infer.js
3023
+ function Kn(e, t) {
3024
+ let n = !1, r = [];
3025
+ for (; t < e.length;) {
3026
+ let i = e[t];
3027
+ if (n) {
3028
+ if (i[0] === "enter") i[1].type === "tableContent" && r.push(e[t + 1][1].type === "tableDelimiterMarker" ? "left" : "none");
3029
+ else if (i[1].type === "tableContent") {
3030
+ if (e[t - 1][1].type === "tableDelimiterMarker") {
3031
+ let e = r.length - 1;
3032
+ r[e] = r[e] === "left" ? "center" : "right";
3033
+ }
3034
+ } else if (i[1].type === "tableDelimiterRow") break;
3035
+ } else i[0] === "enter" && i[1].type === "tableDelimiterRow" && (n = !0);
3036
+ t += 1;
3037
+ }
3038
+ return r;
3039
+ }
3040
+ //#endregion
3041
+ //#region node_modules/micromark-extension-gfm-table/lib/syntax.js
3042
+ function qn() {
3043
+ return { flow: { null: {
3044
+ name: "table",
3045
+ tokenize: Jn,
3046
+ resolveAll: Yn
3047
+ } } };
3048
+ }
3049
+ function Jn(e, t, n) {
3050
+ let r = this, a = 0, o = 0, c;
3051
+ return l;
3052
+ function l(e) {
3053
+ let t = r.events.length - 1;
3054
+ for (; t > -1;) {
3055
+ let e = r.events[t][1].type;
3056
+ if (e === "lineEnding" || e === "linePrefix") t--;
3057
+ else break;
3058
+ }
3059
+ let i = t > -1 ? r.events[t][1].type : null, a = i === "tableHead" || i === "tableRow" ? E : u;
3060
+ return a === E && r.parser.lazy[r.now().line] ? n(e) : a(e);
3061
+ }
3062
+ function u(t) {
3063
+ return e.enter("tableHead"), e.enter("tableRow"), d(t);
3064
+ }
3065
+ function d(e) {
3066
+ return e === 124 ? f(e) : (c = !0, o += 1, f(e));
3067
+ }
3068
+ function f(t) {
3069
+ return t === null ? n(t) : s(t) ? o > 1 ? (o = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), _) : n(t) : i(t) ? p(e, f, "whitespace")(t) : (o += 1, c && (c = !1, a += 1), t === 124 ? (e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), c = !0, f) : (e.enter("data"), h(t)));
3070
+ }
3071
+ function h(t) {
3072
+ return t === null || t === 124 || m(t) ? (e.exit("data"), f(t)) : (e.consume(t), t === 92 ? g : h);
3073
+ }
3074
+ function g(t) {
3075
+ return t === 92 || t === 124 ? (e.consume(t), h) : h(t);
3076
+ }
3077
+ function _(t) {
3078
+ return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(t) : (e.enter("tableDelimiterRow"), c = !1, i(t) ? p(e, v, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : v(t));
3079
+ }
3080
+ function v(t) {
3081
+ return t === 45 || t === 58 ? b(t) : t === 124 ? (c = !0, e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), y) : T(t);
3082
+ }
3083
+ function y(t) {
3084
+ return i(t) ? p(e, b, "whitespace")(t) : b(t);
3085
+ }
3086
+ function b(t) {
3087
+ return t === 58 ? (o += 1, c = !0, e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), x) : t === 45 ? (o += 1, x(t)) : t === null || s(t) ? w(t) : T(t);
3088
+ }
3089
+ function x(t) {
3090
+ return t === 45 ? (e.enter("tableDelimiterFiller"), S(t)) : T(t);
3091
+ }
3092
+ function S(t) {
3093
+ return t === 45 ? (e.consume(t), S) : t === 58 ? (c = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), C) : (e.exit("tableDelimiterFiller"), C(t));
3094
+ }
3095
+ function C(t) {
3096
+ return i(t) ? p(e, w, "whitespace")(t) : w(t);
3097
+ }
3098
+ function w(n) {
3099
+ return n === 124 ? v(n) : n === null || s(n) ? !c || a !== o ? T(n) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(n)) : T(n);
3100
+ }
3101
+ function T(e) {
3102
+ return n(e);
3103
+ }
3104
+ function E(t) {
3105
+ return e.enter("tableRow"), D(t);
3106
+ }
3107
+ function D(n) {
3108
+ return n === 124 ? (e.enter("tableCellDivider"), e.consume(n), e.exit("tableCellDivider"), D) : n === null || s(n) ? (e.exit("tableRow"), t(n)) : i(n) ? p(e, D, "whitespace")(n) : (e.enter("data"), O(n));
3109
+ }
3110
+ function O(t) {
3111
+ return t === null || t === 124 || m(t) ? (e.exit("data"), D(t)) : (e.consume(t), t === 92 ? k : O);
3112
+ }
3113
+ function k(t) {
3114
+ return t === 92 || t === 124 ? (e.consume(t), O) : O(t);
3115
+ }
3116
+ }
3117
+ function Yn(e, t) {
3118
+ let n = -1, r = !0, i = 0, a = [
3119
+ 0,
3120
+ 0,
3121
+ 0,
3122
+ 0
3123
+ ], o = [
3124
+ 0,
3125
+ 0,
3126
+ 0,
3127
+ 0
3128
+ ], s = !1, c = 0, l, u, d, f = new Wn();
3129
+ for (; ++n < e.length;) {
3130
+ let p = e[n], m = p[1];
3131
+ p[0] === "enter" ? m.type === "tableHead" ? (s = !1, c !== 0 && (Zn(f, t, c, l, u), u = void 0, c = 0), l = {
3132
+ type: "table",
3133
+ start: Object.assign({}, m.start),
3134
+ end: Object.assign({}, m.end)
3135
+ }, f.add(n, 0, [[
3136
+ "enter",
3137
+ l,
3138
+ t
3139
+ ]])) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (r = !0, d = void 0, a = [
3140
+ 0,
3141
+ 0,
3142
+ 0,
3143
+ 0
3144
+ ], o = [
3145
+ 0,
3146
+ n + 1,
3147
+ 0,
3148
+ 0
3149
+ ], s && (s = !1, u = {
3150
+ type: "tableBody",
3151
+ start: Object.assign({}, m.start),
3152
+ end: Object.assign({}, m.end)
3153
+ }, f.add(n, 0, [[
3154
+ "enter",
3155
+ u,
3156
+ t
3157
+ ]])), i = m.type === "tableDelimiterRow" ? 2 : u ? 3 : 1) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") ? (r = !1, o[2] === 0 && (a[1] !== 0 && (o[0] = o[1], d = Xn(f, t, a, i, void 0, d), a = [
3158
+ 0,
3159
+ 0,
3160
+ 0,
3161
+ 0
3162
+ ]), o[2] = n)) : m.type === "tableCellDivider" && (r ? r = !1 : (a[1] !== 0 && (o[0] = o[1], d = Xn(f, t, a, i, void 0, d)), a = o, o = [
3163
+ a[1],
3164
+ n,
3165
+ 0,
3166
+ 0
3167
+ ])) : m.type === "tableHead" ? (s = !0, c = n) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (c = n, a[1] === 0 ? o[1] !== 0 && (d = Xn(f, t, o, i, n, d)) : (o[0] = o[1], d = Xn(f, t, a, i, n, d)), i = 0) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") && (o[3] = n);
3168
+ }
3169
+ for (c !== 0 && Zn(f, t, c, l, u), f.consume(t.events), n = -1; ++n < t.events.length;) {
3170
+ let e = t.events[n];
3171
+ e[0] === "enter" && e[1].type === "table" && (e[1]._align = Kn(t.events, n));
3172
+ }
3173
+ return e;
3174
+ }
3175
+ function Xn(e, t, n, r, i, a) {
3176
+ let o = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData";
3177
+ n[0] !== 0 && (a.end = Object.assign({}, X(t.events, n[0])), e.add(n[0], 0, [[
3178
+ "exit",
3179
+ a,
3180
+ t
3181
+ ]]));
3182
+ let s = X(t.events, n[1]);
3183
+ if (a = {
3184
+ type: o,
3185
+ start: Object.assign({}, s),
3186
+ end: Object.assign({}, s)
3187
+ }, e.add(n[1], 0, [[
3188
+ "enter",
3189
+ a,
3190
+ t
3191
+ ]]), n[2] !== 0) {
3192
+ let i = X(t.events, n[2]), a = X(t.events, n[3]), o = {
3193
+ type: "tableContent",
3194
+ start: Object.assign({}, i),
3195
+ end: Object.assign({}, a)
3196
+ };
3197
+ if (e.add(n[2], 0, [[
3198
+ "enter",
3199
+ o,
3200
+ t
3201
+ ]]), r !== 2) {
3202
+ let r = t.events[n[2]], i = t.events[n[3]];
3203
+ if (r[1].end = Object.assign({}, i[1].end), r[1].type = "chunkText", r[1].contentType = "text", n[3] > n[2] + 1) {
3204
+ let t = n[2] + 1, r = n[3] - n[2] - 1;
3205
+ e.add(t, r, []);
3206
+ }
3207
+ }
3208
+ e.add(n[3] + 1, 0, [[
3209
+ "exit",
3210
+ o,
3211
+ t
3212
+ ]]);
3213
+ }
3214
+ return i !== void 0 && (a.end = Object.assign({}, X(t.events, i)), e.add(i, 0, [[
3215
+ "exit",
3216
+ a,
3217
+ t
3218
+ ]]), a = void 0), a;
3219
+ }
3220
+ function Zn(e, t, n, r, i) {
3221
+ let a = [], o = X(t.events, n);
3222
+ i && (i.end = Object.assign({}, o), a.push([
3223
+ "exit",
3224
+ i,
3225
+ t
3226
+ ])), r.end = Object.assign({}, o), a.push([
3227
+ "exit",
3228
+ r,
3229
+ t
3230
+ ]), e.add(n + 1, 0, a);
3231
+ }
3232
+ function X(e, t) {
3233
+ let n = e[t], r = n[0] === "enter" ? "start" : "end";
3234
+ return n[1][r];
3235
+ }
3236
+ //#endregion
3237
+ //#region node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
3238
+ var Qn = {
3239
+ name: "tasklistCheck",
3240
+ tokenize: er
3241
+ };
3242
+ function $n() {
3243
+ return { text: { 91: Qn } };
3244
+ }
3245
+ function er(e, t, n) {
3246
+ let r = this;
3247
+ return a;
3248
+ function a(t) {
3249
+ return r.previous !== null || !r._gfmTasklistFirstContentOfListItem ? n(t) : (e.enter("taskListCheck"), e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), o);
3250
+ }
3251
+ function o(t) {
3252
+ return m(t) ? (e.enter("taskListCheckValueUnchecked"), e.consume(t), e.exit("taskListCheckValueUnchecked"), c) : t === 88 || t === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(t), e.exit("taskListCheckValueChecked"), c) : n(t);
3253
+ }
3254
+ function c(t) {
3255
+ return t === 93 ? (e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), l) : n(t);
3256
+ }
3257
+ function l(r) {
3258
+ return s(r) ? t(r) : i(r) ? e.check({ tokenize: tr }, t, n)(r) : n(r);
3259
+ }
3260
+ }
3261
+ function tr(e, t, n) {
3262
+ return p(e, r, "whitespace");
3263
+ function r(e) {
3264
+ return e === null ? n(e) : t(e);
3265
+ }
3266
+ }
3267
+ //#endregion
3268
+ //#region node_modules/micromark-extension-gfm/index.js
3269
+ function nr(e) {
3270
+ return T([
3271
+ bn(),
3272
+ Fn(),
3273
+ Un(e),
3274
+ qn(),
3275
+ $n()
3276
+ ]);
3277
+ }
3278
+ //#endregion
3279
+ //#region node_modules/ccount/index.js
3280
+ function rr(e, t) {
3281
+ let n = String(e);
3282
+ if (typeof t != "string") throw TypeError("Expected character");
3283
+ let r = 0, i = n.indexOf(t);
3284
+ for (; i !== -1;) r++, i = n.indexOf(t, i + t.length);
3285
+ return r;
3286
+ }
3287
+ //#endregion
3288
+ //#region node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js
3289
+ function ir(e) {
3290
+ if (typeof e != "string") throw TypeError("Expected a string");
3291
+ return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
3292
+ }
3293
+ //#endregion
3294
+ //#region node_modules/unist-util-is/lib/index.js
3295
+ var ar = (function(e) {
3296
+ if (e == null) return ur;
3297
+ if (typeof e == "function") return lr(e);
3298
+ if (typeof e == "object") return Array.isArray(e) ? or(e) : sr(e);
3299
+ if (typeof e == "string") return cr(e);
3300
+ throw Error("Expected function, string, or object as test");
3301
+ });
3302
+ function or(e) {
3303
+ let t = [], n = -1;
3304
+ for (; ++n < e.length;) t[n] = ar(e[n]);
3305
+ return lr(r);
3306
+ function r(...e) {
3307
+ let n = -1;
3308
+ for (; ++n < t.length;) if (t[n].apply(this, e)) return !0;
3309
+ return !1;
3310
+ }
3311
+ }
3312
+ function sr(e) {
3313
+ let t = e;
3314
+ return lr(n);
3315
+ function n(n) {
3316
+ let r = n, i;
3317
+ for (i in e) if (r[i] !== t[i]) return !1;
3318
+ return !0;
3319
+ }
3320
+ }
3321
+ function cr(e) {
3322
+ return lr(t);
3323
+ function t(t) {
3324
+ return t && t.type === e;
3325
+ }
3326
+ }
3327
+ function lr(e) {
3328
+ return t;
3329
+ function t(t, n, r) {
3330
+ return !!(dr(t) && e.call(this, t, typeof n == "number" ? n : void 0, r || void 0));
3331
+ }
3332
+ }
3333
+ function ur() {
3334
+ return !0;
3335
+ }
3336
+ function dr(e) {
3337
+ return typeof e == "object" && !!e && "type" in e;
3338
+ }
3339
+ //#endregion
3340
+ //#region node_modules/unist-util-visit-parents/lib/color.js
3341
+ function fr(e) {
3342
+ return e;
3343
+ }
3344
+ //#endregion
3345
+ //#region node_modules/unist-util-visit-parents/lib/index.js
3346
+ var pr = [];
3347
+ function mr(e, t, n, r) {
3348
+ let i;
3349
+ typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t;
3350
+ let a = ar(i), o = r ? -1 : 1;
3351
+ s(e, void 0, [])();
3352
+ function s(e, i, c) {
3353
+ let l = e && typeof e == "object" ? e : {};
3354
+ if (typeof l.type == "string") {
3355
+ let t = typeof l.tagName == "string" ? l.tagName : typeof l.name == "string" ? l.name : void 0;
3356
+ Object.defineProperty(u, "name", { value: "node (" + fr(e.type + (t ? "<" + t + ">" : "")) + ")" });
3357
+ }
3358
+ return u;
3359
+ function u() {
3360
+ let l = pr, u, d, f;
3361
+ if ((!t || a(e, i, c[c.length - 1] || void 0)) && (l = hr(n(e, c)), l[0] === !1)) return l;
3362
+ if ("children" in e && e.children) {
3363
+ let t = e;
3364
+ if (t.children && l[0] !== "skip") for (d = (r ? t.children.length : -1) + o, f = c.concat(t); d > -1 && d < t.children.length;) {
3365
+ let e = t.children[d];
3366
+ if (u = s(e, d, f)(), u[0] === !1) return u;
3367
+ d = typeof u[1] == "number" ? u[1] : d + o;
3368
+ }
3369
+ }
3370
+ return l;
3371
+ }
3372
+ }
3373
+ }
3374
+ function hr(e) {
3375
+ return Array.isArray(e) ? e : typeof e == "number" ? [!0, e] : e == null ? pr : [e];
3376
+ }
3377
+ //#endregion
3378
+ //#region node_modules/mdast-util-find-and-replace/lib/index.js
3379
+ function gr(e, t, n) {
3380
+ let r = ar((n || {}).ignore || []), i = _r(t), a = -1;
3381
+ for (; ++a < i.length;) mr(e, "text", o);
3382
+ function o(e, t) {
3383
+ let n = -1, i;
3384
+ for (; ++n < t.length;) {
3385
+ let e = t[n], a = i ? i.children : void 0;
3386
+ if (r(e, a ? a.indexOf(e) : void 0, i)) return;
3387
+ i = e;
3388
+ }
3389
+ if (i) return s(e, t);
3390
+ }
3391
+ function s(e, t) {
3392
+ let n = t[t.length - 1], r = i[a][0], o = i[a][1], s = 0, c = n.children.indexOf(e), l = !1, u = [];
3393
+ r.lastIndex = 0;
3394
+ let d = r.exec(e.value);
3395
+ for (; d;) {
3396
+ let n = d.index, i = {
3397
+ index: d.index,
3398
+ input: d.input,
3399
+ stack: [...t, e]
3400
+ }, a = o(...d, i);
3401
+ if (typeof a == "string" && (a = a.length > 0 ? {
3402
+ type: "text",
3403
+ value: a
3404
+ } : void 0), a === !1 ? r.lastIndex = n + 1 : (s !== n && u.push({
3405
+ type: "text",
3406
+ value: e.value.slice(s, n)
3407
+ }), Array.isArray(a) ? u.push(...a) : a && u.push(a), s = n + d[0].length, l = !0), !r.global) break;
3408
+ d = r.exec(e.value);
3409
+ }
3410
+ return l ? (s < e.value.length && u.push({
3411
+ type: "text",
3412
+ value: e.value.slice(s)
3413
+ }), n.children.splice(c, 1, ...u)) : u = [e], c + u.length;
3414
+ }
3415
+ }
3416
+ function _r(e) {
3417
+ let t = [];
3418
+ if (!Array.isArray(e)) throw TypeError("Expected find and replace tuple or list of tuples");
3419
+ let n = !e[0] || Array.isArray(e[0]) ? e : [e], r = -1;
3420
+ for (; ++r < n.length;) {
3421
+ let e = n[r];
3422
+ t.push([vr(e[0]), yr(e[1])]);
3423
+ }
3424
+ return t;
3425
+ }
3426
+ function vr(e) {
3427
+ return typeof e == "string" ? new RegExp(ir(e), "g") : e;
3428
+ }
3429
+ function yr(e) {
3430
+ return typeof e == "function" ? e : function() {
3431
+ return e;
3432
+ };
3433
+ }
3434
+ //#endregion
3435
+ //#region node_modules/mdast-util-gfm-autolink-literal/lib/index.js
3436
+ function br() {
3437
+ return {
3438
+ transforms: [Dr],
3439
+ enter: {
3440
+ literalAutolink: xr,
3441
+ literalAutolinkEmail: Sr,
3442
+ literalAutolinkHttp: Sr,
3443
+ literalAutolinkWww: Sr
3444
+ },
3445
+ exit: {
3446
+ literalAutolink: Er,
3447
+ literalAutolinkEmail: Tr,
3448
+ literalAutolinkHttp: Cr,
3449
+ literalAutolinkWww: wr
3450
+ }
3451
+ };
3452
+ }
3453
+ function xr(e) {
3454
+ this.enter({
3455
+ type: "link",
3456
+ title: null,
3457
+ url: "",
3458
+ children: []
3459
+ }, e);
3460
+ }
3461
+ function Sr(e) {
3462
+ this.config.enter.autolinkProtocol.call(this, e);
3463
+ }
3464
+ function Cr(e) {
3465
+ this.config.exit.autolinkProtocol.call(this, e);
3466
+ }
3467
+ function wr(e) {
3468
+ this.config.exit.data.call(this, e);
3469
+ let t = this.stack[this.stack.length - 1];
3470
+ t.type, t.url = "http://" + this.sliceSerialize(e);
3471
+ }
3472
+ function Tr(e) {
3473
+ this.config.exit.autolinkEmail.call(this, e);
3474
+ }
3475
+ function Er(e) {
3476
+ this.exit(e);
3477
+ }
3478
+ function Dr(e) {
3479
+ gr(e, [[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, Or], [/* @__PURE__ */ RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)", "gu"), kr]], { ignore: ["link", "linkReference"] });
3480
+ }
3481
+ function Or(e, t, n, r, i) {
3482
+ let a = "";
3483
+ if (!Mr(i) || (/^w/i.test(t) && (n = t + n, t = "", a = "http://"), !Ar(n))) return !1;
3484
+ let o = jr(n + r);
3485
+ if (!o[0]) return !1;
3486
+ let s = {
3487
+ type: "link",
3488
+ title: null,
3489
+ url: a + t + o[0],
3490
+ children: [{
3491
+ type: "text",
3492
+ value: t + o[0]
3493
+ }]
3494
+ };
3495
+ return o[1] ? [s, {
3496
+ type: "text",
3497
+ value: o[1]
3498
+ }] : s;
3499
+ }
3500
+ function kr(e, t, n, r) {
3501
+ return !Mr(r, !0) || /[-\d_]$/.test(n) ? !1 : {
3502
+ type: "link",
3503
+ title: null,
3504
+ url: "mailto:" + t + "@" + n,
3505
+ children: [{
3506
+ type: "text",
3507
+ value: t + "@" + n
3508
+ }]
3509
+ };
3510
+ }
3511
+ function Ar(e) {
3512
+ let t = e.split(".");
3513
+ return !(t.length < 2 || t[t.length - 1] && (/_/.test(t[t.length - 1]) || !/[a-zA-Z\d]/.test(t[t.length - 1])) || t[t.length - 2] && (/_/.test(t[t.length - 2]) || !/[a-zA-Z\d]/.test(t[t.length - 2])));
3514
+ }
3515
+ function jr(e) {
3516
+ let t = /[!"&'),.:;<>?\]}]+$/.exec(e);
3517
+ if (!t) return [e, void 0];
3518
+ e = e.slice(0, t.index);
3519
+ let n = t[0], r = n.indexOf(")"), i = rr(e, "("), a = rr(e, ")");
3520
+ for (; r !== -1 && i > a;) e += n.slice(0, r + 1), n = n.slice(r + 1), r = n.indexOf(")"), a++;
3521
+ return [e, n];
3522
+ }
3523
+ function Mr(e, t) {
3524
+ let n = e.input.charCodeAt(e.index - 1);
3525
+ return (e.index === 0 || u(n) || a(n)) && (!t || n !== 47);
3526
+ }
3527
+ //#endregion
3528
+ //#region node_modules/mdast-util-gfm-footnote/lib/index.js
3529
+ Hr.peek = Vr;
3530
+ function Nr() {
3531
+ this.buffer();
3532
+ }
3533
+ function Pr(e) {
3534
+ this.enter({
3535
+ type: "footnoteReference",
3536
+ identifier: "",
3537
+ label: ""
3538
+ }, e);
3539
+ }
3540
+ function Fr() {
3541
+ this.buffer();
3542
+ }
3543
+ function Ir(e) {
3544
+ this.enter({
3545
+ type: "footnoteDefinition",
3546
+ identifier: "",
3547
+ label: "",
3548
+ children: []
3549
+ }, e);
3550
+ }
3551
+ function Lr(e) {
3552
+ let t = this.resume(), n = this.stack[this.stack.length - 1];
3553
+ n.type, n.identifier = k(this.sliceSerialize(e)).toLowerCase(), n.label = t;
3554
+ }
3555
+ function Rr(e) {
3556
+ this.exit(e);
3557
+ }
3558
+ function zr(e) {
3559
+ let t = this.resume(), n = this.stack[this.stack.length - 1];
3560
+ n.type, n.identifier = k(this.sliceSerialize(e)).toLowerCase(), n.label = t;
3561
+ }
3562
+ function Br(e) {
3563
+ this.exit(e);
3564
+ }
3565
+ function Vr() {
3566
+ return "[";
3567
+ }
3568
+ function Hr(e, t, n, r) {
3569
+ let i = n.createTracker(r), a = i.move("[^"), o = n.enter("footnoteReference"), s = n.enter("reference");
3570
+ return a += i.move(n.safe(n.associationId(e), {
3571
+ after: "]",
3572
+ before: a
3573
+ })), s(), o(), a += i.move("]"), a;
3574
+ }
3575
+ function Ur() {
3576
+ return {
3577
+ enter: {
3578
+ gfmFootnoteCallString: Nr,
3579
+ gfmFootnoteCall: Pr,
3580
+ gfmFootnoteDefinitionLabelString: Fr,
3581
+ gfmFootnoteDefinition: Ir
3582
+ },
3583
+ exit: {
3584
+ gfmFootnoteCallString: Lr,
3585
+ gfmFootnoteCall: Rr,
3586
+ gfmFootnoteDefinitionLabelString: zr,
3587
+ gfmFootnoteDefinition: Br
3588
+ }
3589
+ };
3590
+ }
3591
+ //#endregion
3592
+ //#region node_modules/mdast-util-gfm-strikethrough/lib/index.js
3593
+ qr.peek = Jr;
3594
+ function Wr() {
3595
+ return {
3596
+ canContainEols: ["delete"],
3597
+ enter: { strikethrough: Gr },
3598
+ exit: { strikethrough: Kr }
3599
+ };
3600
+ }
3601
+ function Gr(e) {
3602
+ this.enter({
3603
+ type: "delete",
3604
+ children: []
3605
+ }, e);
3606
+ }
3607
+ function Kr(e) {
3608
+ this.exit(e);
3609
+ }
3610
+ function qr(e, n, r, i) {
3611
+ let a = r.createTracker(i), o = r.enter("strikethrough"), s = a.move("~~");
3612
+ return s += r.containerPhrasing(e, t(t({}, a.current()), {}, {
3613
+ before: s,
3614
+ after: "~"
3615
+ })), s += a.move("~~"), o(), s;
3616
+ }
3617
+ function Jr() {
3618
+ return "~";
3619
+ }
3620
+ //#endregion
3621
+ //#region node_modules/mdast-util-gfm-table/lib/index.js
3622
+ function Yr() {
3623
+ return {
3624
+ enter: {
3625
+ table: Xr,
3626
+ tableData: ei,
3627
+ tableHeader: ei,
3628
+ tableRow: Qr
3629
+ },
3630
+ exit: {
3631
+ codeText: ti,
3632
+ table: Zr,
3633
+ tableData: $r,
3634
+ tableHeader: $r,
3635
+ tableRow: $r
3636
+ }
3637
+ };
3638
+ }
3639
+ function Xr(e) {
3640
+ let t = e._align;
3641
+ this.enter({
3642
+ type: "table",
3643
+ align: t.map(function(e) {
3644
+ return e === "none" ? null : e;
3645
+ }),
3646
+ children: []
3647
+ }, e), this.data.inTable = !0;
3648
+ }
3649
+ function Zr(e) {
3650
+ this.exit(e), this.data.inTable = void 0;
3651
+ }
3652
+ function Qr(e) {
3653
+ this.enter({
3654
+ type: "tableRow",
3655
+ children: []
3656
+ }, e);
3657
+ }
3658
+ function $r(e) {
3659
+ this.exit(e);
3660
+ }
3661
+ function ei(e) {
3662
+ this.enter({
3663
+ type: "tableCell",
3664
+ children: []
3665
+ }, e);
3666
+ }
3667
+ function ti(e) {
3668
+ let t = this.resume();
3669
+ this.data.inTable && (t = t.replace(/\\([\\|])/g, ni));
3670
+ let n = this.stack[this.stack.length - 1];
3671
+ n.type, n.value = t, this.exit(e);
3672
+ }
3673
+ function ni(e, t) {
3674
+ return t === "|" ? t : e;
3675
+ }
3676
+ //#endregion
3677
+ //#region node_modules/mdast-util-gfm-task-list-item/lib/index.js
3678
+ function ri() {
3679
+ return { exit: {
3680
+ taskListCheckValueChecked: ii,
3681
+ taskListCheckValueUnchecked: ii,
3682
+ paragraph: ai
3683
+ } };
3684
+ }
3685
+ function ii(e) {
3686
+ let t = this.stack[this.stack.length - 2];
3687
+ t.type, t.checked = e.type === "taskListCheckValueChecked";
3688
+ }
3689
+ function ai(e) {
3690
+ let t = this.stack[this.stack.length - 2];
3691
+ if (t && t.type === "listItem" && typeof t.checked == "boolean") {
3692
+ let e = this.stack[this.stack.length - 1];
3693
+ e.type;
3694
+ let n = e.children[0];
3695
+ if (n && n.type === "text") {
3696
+ let r = t.children, i = -1, a;
3697
+ for (; ++i < r.length;) {
3698
+ let e = r[i];
3699
+ if (e.type === "paragraph") {
3700
+ a = e;
3701
+ break;
3702
+ }
3703
+ }
3704
+ a === e && (n.value = n.value.slice(1), n.value.length === 0 ? e.children.shift() : e.position && n.position && typeof n.position.start.offset == "number" && (n.position.start.column++, n.position.start.offset++, e.position.start = Object.assign({}, n.position.start)));
3705
+ }
3706
+ }
3707
+ this.exit(e);
3708
+ }
3709
+ //#endregion
3710
+ //#region node_modules/mdast-util-gfm/lib/index.js
3711
+ function oi() {
3712
+ return [
3713
+ br(),
3714
+ Ur(),
3715
+ Wr(),
3716
+ Yr(),
3717
+ ri()
3718
+ ];
3719
+ }
3720
+ //#endregion
3721
+ //#region src/markdown/phrasing-to-html.ts
3722
+ function Z(e) {
3723
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
3724
+ }
3725
+ function Q(e) {
3726
+ return e.map(si).join("");
3727
+ }
3728
+ function si(e) {
3729
+ switch (e.type) {
3730
+ case "text": return Z(e.value);
3731
+ case "strong": return `<strong>${Q(e.children)}</strong>`;
3732
+ case "emphasis": return `<i>${Q(e.children)}</i>`;
3733
+ case "delete": return `<s>${Q(e.children)}</s>`;
3734
+ case "inlineCode": return `<code>${Z(e.value)}</code>`;
3735
+ case "link": return `<a href="${Z(e.url)}" target="_blank" rel="nofollow">${Q(e.children)}</a>`;
3736
+ case "break": return "<br>";
3737
+ case "image":
3738
+ var t;
3739
+ return `<img src="${Z(e.url)}" alt="${Z((t = e.alt) == null ? "" : t)}">`;
3740
+ case "html": return e.value;
3741
+ case "inlineMath":
3742
+ case "footnoteReference":
3743
+ case "imageReference":
3744
+ case "linkReference": return "";
3745
+ default: return "";
3746
+ }
3747
+ }
3748
+ //#endregion
3749
+ //#region src/markdown/mdast-to-blocks.ts
3750
+ function ci() {
3751
+ let e = `md-${Date.now().toString(36)}`, t = { counter: 0 };
3752
+ return () => `${e}-${(t.counter++).toString(36)}`;
3753
+ }
3754
+ function li(e, t = {}) {
3755
+ let n = ci();
3756
+ return ui(e.children, t, 0, n);
3757
+ }
3758
+ function ui(e, t, n, r) {
3759
+ let i = [];
3760
+ for (let a of e) {
3761
+ let e = di(a, t, n, r);
3762
+ e && i.push(...e);
3763
+ }
3764
+ return i;
3765
+ }
3766
+ function di(e, t, n, r) {
3767
+ var i;
3768
+ if ((i = t.toolMap) != null && i[e.type]) return _i(e, t, r);
3769
+ let a = fi(e, t, n, r);
3770
+ return a === void 0 ? t.onUnknownNode ? gi(t.onUnknownNode, e) : "value" in e && typeof e.value == "string" ? [Ti(Ei(e.value), r)] : null : a;
3771
+ }
3772
+ function fi(e, t, n, r) {
3773
+ if (e.type === "paragraph") return pi(e.children, r);
3774
+ if (e.type === "heading") return [$("header", {
3775
+ text: Q(e.children),
3776
+ level: e.depth
3777
+ }, r)];
3778
+ if (e.type === "thematicBreak") return [$("divider", {}, r)];
3779
+ if (e.type === "list") return vi(e, t, n, r);
3780
+ if (e.type === "blockquote") return xi(e, r);
3781
+ if (e.type === "table") return Si(e, r);
3782
+ if (e.type === "code") {
3783
+ var i;
3784
+ return [$("code", {
3785
+ code: e.value,
3786
+ language: (i = e.lang) == null ? "plain text" : i
3787
+ }, r)];
3788
+ }
3789
+ if (e.type === "math") return [$("code", {
3790
+ code: e.value,
3791
+ language: "latex"
3792
+ }, r)];
3793
+ if (e.type === "html") return wi(e, t, Ei(e.value), r);
3794
+ }
3795
+ function pi(e, t) {
3796
+ return e.some((e) => e.type === "inlineMath") ? mi(e, t) : [Ti(Q(e), t)];
3797
+ }
3798
+ function mi(e, t) {
3799
+ let n = [], r = hi(e);
3800
+ for (let e of r) {
3801
+ if (e.type === "math") {
3802
+ n.push($("code", {
3803
+ code: e.value,
3804
+ language: "latex"
3805
+ }, t));
3806
+ continue;
3807
+ }
3808
+ let r = Q(e.nodes).trim();
3809
+ r && n.push(Ti(r, t));
3810
+ }
3811
+ return n;
3812
+ }
3813
+ function hi(e) {
3814
+ let t = [], n = [];
3815
+ for (let i of e) {
3816
+ var r;
3817
+ if (i.type !== "inlineMath") {
3818
+ n.push(i);
3819
+ continue;
3820
+ }
3821
+ n.length > 0 && (t.push({
3822
+ type: "text",
3823
+ nodes: [...n]
3824
+ }), n.length = 0), t.push({
3825
+ type: "math",
3826
+ value: (r = i.value) == null ? "" : r
3827
+ });
3828
+ }
3829
+ return n.length > 0 && t.push({
3830
+ type: "text",
3831
+ nodes: n
3832
+ }), t;
3833
+ }
3834
+ function gi(e, t) {
3835
+ try {
3836
+ return e(t);
3837
+ } catch (e) {
3838
+ return console.warn(`markdownToBlocks: onUnknownNode threw for node type "${t.type}"`, e), null;
3839
+ }
3840
+ }
3841
+ function _i(e, t, n) {
3842
+ let r = t.toolMap;
3843
+ if (!r) return [];
3844
+ let i = r[e.type];
3845
+ try {
3846
+ let r = {
3847
+ id: n(),
3848
+ type: i.tool,
3849
+ data: i.data(e)
3850
+ };
3851
+ return i.children ? [r, ...i.children(e, (e) => ui(e, t, 0, n))] : [r];
3852
+ } catch (t) {
3853
+ return console.warn(`markdownToBlocks: toolMap handler threw for node type "${e.type}"`, t), [];
3854
+ }
3855
+ }
3856
+ function vi(e, t, n, r) {
3857
+ let i = [];
3858
+ for (let [a, o] of e.children.entries()) i.push(...bi(o, e, t, n, a, r));
3859
+ return i;
3860
+ }
3861
+ function yi(e, t) {
3862
+ return e ? "checklist" : t ? "ordered" : "unordered";
3863
+ }
3864
+ function bi(e, t, n, r, i, a) {
3865
+ let o = [], s = e.checked !== null && e.checked !== void 0, c = yi(s, t.ordered), l = e.children.find((e) => e.type === "paragraph"), u = {
3866
+ text: l ? Q(l.children) : "",
3867
+ style: c,
3868
+ depth: r
3869
+ };
3870
+ s && (u.checked = e.checked), t.ordered && i === 0 && t.start !== null && t.start !== void 0 && t.start !== 1 && (u.start = t.start), o.push($("list", u, a));
3871
+ for (let t of e.children) t.type === "list" && o.push(...vi(t, n, r + 1, a));
3872
+ return o;
3873
+ }
3874
+ function xi(e, t) {
3875
+ let n = [];
3876
+ for (let t of e.children) {
3877
+ if (t.type === "paragraph") {
3878
+ n.push(Q(t.children));
3879
+ continue;
3880
+ }
3881
+ if (!("children" in t) || !Array.isArray(t.children)) continue;
3882
+ let e = t.children.filter((e) => "value" in e || "children" in e);
3883
+ e.length > 0 && n.push(Q(e));
3884
+ }
3885
+ return [$("quote", {
3886
+ text: n.join("<br>"),
3887
+ size: "default"
3888
+ }, t)];
3889
+ }
3890
+ function Si(e, t) {
3891
+ let n = [], r = t(), i = [];
3892
+ for (let a of e.children) {
3893
+ let e = Ci(a.children, r, n, t);
3894
+ i.push(e);
3895
+ }
3896
+ return [{
3897
+ id: r,
3898
+ type: "table",
3899
+ data: {
3900
+ withHeadings: e.children.length > 1,
3901
+ withHeadingColumn: !1,
3902
+ content: i
3903
+ }
3904
+ }, ...n];
3905
+ }
3906
+ function Ci(e, t, n, r) {
3907
+ let i = [];
3908
+ for (let a of e) {
3909
+ let e = Q(a.children), o = r();
3910
+ n.push({
3911
+ id: o,
3912
+ type: "paragraph",
3913
+ data: { text: e },
3914
+ parent: t
3915
+ }), i.push({ blocks: [o] });
3916
+ }
3917
+ return i;
3918
+ }
3919
+ function wi(e, t, n, r) {
3920
+ if (t.onUnknownNode) {
3921
+ let n = gi(t.onUnknownNode, e);
3922
+ return n === null ? null : n;
3923
+ }
3924
+ return [Ti(n, r)];
3925
+ }
3926
+ function Ti(e, t) {
3927
+ return $("paragraph", { text: e }, t);
3928
+ }
3929
+ function $(e, t, n) {
3930
+ return {
3931
+ id: n(),
3932
+ type: e,
3933
+ data: t
3934
+ };
3935
+ }
3936
+ function Ei(e) {
3937
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
3938
+ }
3939
+ //#endregion
3940
+ //#region src/markdown/index.ts
3941
+ var Di = /* @__PURE__ */ RegExp("\\$\\$[\\s\\S]+?\\$\\$|(?<!\\$)\\$(?!\\$)(?=\\S)[^$]+(?<=\\S)\\$(?!\\$)", "");
3942
+ async function Oi() {
3943
+ let [{ math: e }, { mathFromMarkdown: t }] = await Promise.all([import("./chunks/micromark-extension-math-Cz_ZZ_0Y.mjs"), import("./chunks/mdast-util-math-CHYUxOHk.mjs")]);
3944
+ return {
3945
+ mathSyntax: e(),
3946
+ mathFromMarkdown: t()
3947
+ };
3948
+ }
3949
+ async function ki(e, t = {}) {
3950
+ var n, r;
3951
+ let i = t.gfm !== !1, a = Di.test(e), o = [...i ? [nr()] : [], ...(n = t.extensions) == null ? [] : n], s = [...i ? [oi()] : [], ...(r = t.mdastExtensions) == null ? [] : r];
3952
+ if (a) {
3953
+ let { mathSyntax: e, mathFromMarkdown: t } = await Oi();
3954
+ o.push(e), s.push(t);
3955
+ }
3956
+ return li(cn(e, {
3957
+ extensions: o,
3958
+ mdastExtensions: s
3959
+ }), t);
3960
+ }
3961
+ //#endregion
3962
+ export { ki as markdownToBlocks };