markdown-flow-ui 0.3.4 → 0.3.6

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 (1211) hide show
  1. package/dist/_virtual/{advancedFormat.es2.js → advancedFormat2.es.js} +1 -1
  2. package/dist/_virtual/advancedFormat2.es.js.map +1 -0
  3. package/dist/_virtual/core.cjs +1 -1
  4. package/dist/_virtual/core.es.js +1 -1
  5. package/dist/_virtual/{cose-base.es2.js → cose-base2.es.js} +1 -1
  6. package/dist/_virtual/cose-base2.es.js.map +1 -0
  7. package/dist/_virtual/{customParseFormat.es2.js → customParseFormat2.es.js} +1 -1
  8. package/dist/_virtual/customParseFormat2.es.js.map +1 -0
  9. package/dist/_virtual/cytoscape-cose-bilkent2.es.js +5 -0
  10. package/dist/_virtual/cytoscape-cose-bilkent2.es.js.map +1 -0
  11. package/dist/_virtual/{cytoscape-fcose.es2.js → cytoscape-fcose2.es.js} +1 -1
  12. package/dist/_virtual/cytoscape-fcose2.es.js.map +1 -0
  13. package/dist/_virtual/{dayjs.min2.cjs → dayjs2.min.cjs} +1 -1
  14. package/dist/_virtual/dayjs2.min.cjs.map +1 -0
  15. package/dist/_virtual/{dayjs.min.es2.js → dayjs2.min.es.js} +1 -1
  16. package/dist/_virtual/dayjs2.min.es.js.map +1 -0
  17. package/dist/_virtual/{duration.es2.js → duration2.es.js} +1 -1
  18. package/dist/_virtual/duration2.es.js.map +1 -0
  19. package/dist/_virtual/{index.es10.js → index10.es.js} +1 -1
  20. package/dist/_virtual/index10.es.js.map +1 -0
  21. package/dist/_virtual/{index.es11.js → index11.es.js} +1 -1
  22. package/dist/_virtual/index11.es.js.map +1 -0
  23. package/dist/_virtual/{index.es12.js → index12.es.js} +1 -1
  24. package/dist/_virtual/index12.es.js.map +1 -0
  25. package/dist/_virtual/{index.es9.js → index2.es.js} +1 -1
  26. package/dist/_virtual/index2.es.js.map +1 -0
  27. package/dist/_virtual/index3.cjs +1 -1
  28. package/dist/_virtual/{index.es4.js → index3.es.js} +1 -1
  29. package/dist/_virtual/index3.es.js.map +1 -0
  30. package/dist/_virtual/index4.cjs +1 -1
  31. package/dist/_virtual/{index.es3.js → index4.es.js} +1 -1
  32. package/dist/_virtual/index4.es.js.map +1 -0
  33. package/dist/_virtual/{index.es5.js → index5.es.js} +1 -1
  34. package/dist/_virtual/index5.es.js.map +1 -0
  35. package/dist/_virtual/index6.cjs +1 -1
  36. package/dist/_virtual/{index.es7.js → index6.es.js} +1 -1
  37. package/dist/_virtual/index6.es.js.map +1 -0
  38. package/dist/_virtual/index7.cjs +1 -1
  39. package/dist/_virtual/{index.es6.js → index7.es.js} +1 -1
  40. package/dist/_virtual/index7.es.js.map +1 -0
  41. package/dist/_virtual/{index.es8.js → index8.es.js} +1 -1
  42. package/dist/_virtual/index8.es.js.map +1 -0
  43. package/dist/_virtual/{index.es2.js → index9.es.js} +1 -1
  44. package/dist/_virtual/index9.es.js.map +1 -0
  45. package/dist/_virtual/{isoWeek.es2.js → isoWeek2.es.js} +1 -1
  46. package/dist/_virtual/isoWeek2.es.js.map +1 -0
  47. package/dist/_virtual/{layout-base.es2.js → layout-base2.es.js} +1 -1
  48. package/dist/_virtual/layout-base2.es.js.map +1 -0
  49. package/dist/components/ContentRender/ContentRender.cjs +2 -2
  50. package/dist/components/ContentRender/ContentRender.cjs.map +1 -1
  51. package/dist/components/ContentRender/ContentRender.d.ts +2 -0
  52. package/dist/components/ContentRender/ContentRender.es.js +513 -509
  53. package/dist/components/ContentRender/ContentRender.es.js.map +1 -1
  54. package/dist/components/ContentRender/IframeSandbox.es.js +1 -1
  55. package/dist/components/ContentRender/MarkdownFlowInput.cjs +1 -1
  56. package/dist/components/ContentRender/MarkdownFlowInput.cjs.map +1 -1
  57. package/dist/components/ContentRender/MarkdownFlowInput.d.ts +2 -0
  58. package/dist/components/ContentRender/MarkdownFlowInput.es.js +40 -38
  59. package/dist/components/ContentRender/MarkdownFlowInput.es.js.map +1 -1
  60. package/dist/components/ContentRender/plugins/CustomVariable.cjs +1 -1
  61. package/dist/components/ContentRender/plugins/CustomVariable.cjs.map +1 -1
  62. package/dist/components/ContentRender/plugins/CustomVariable.d.ts +2 -1
  63. package/dist/components/ContentRender/plugins/CustomVariable.es.js +110 -90
  64. package/dist/components/ContentRender/plugins/CustomVariable.es.js.map +1 -1
  65. package/dist/components/ContentRender/plugins/MermaidChart.cjs.map +1 -1
  66. package/dist/components/ContentRender/utils/accept-placeholder.cjs +2 -0
  67. package/dist/components/ContentRender/utils/accept-placeholder.cjs.map +1 -0
  68. package/dist/components/ContentRender/utils/accept-placeholder.d.ts +3 -0
  69. package/dist/components/ContentRender/utils/accept-placeholder.es.js +10 -0
  70. package/dist/components/ContentRender/utils/accept-placeholder.es.js.map +1 -0
  71. package/dist/components/ContentRender/utils/video-markdown-run.es.js +2 -2
  72. package/dist/components/MarkdownFlow/MarkdownFlow.cjs +1 -1
  73. package/dist/components/MarkdownFlow/MarkdownFlow.cjs.map +1 -1
  74. package/dist/components/MarkdownFlow/MarkdownFlow.d.ts +2 -0
  75. package/dist/components/MarkdownFlow/MarkdownFlow.es.js +23 -21
  76. package/dist/components/MarkdownFlow/MarkdownFlow.es.js.map +1 -1
  77. package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs +1 -1
  78. package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs.map +1 -1
  79. package/dist/components/MarkdownFlow/ScrollToBottomControl.es.js +1 -1
  80. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs.map +1 -1
  81. package/dist/components/Slide/Slide.cjs +1 -1
  82. package/dist/components/Slide/Slide.cjs.map +1 -1
  83. package/dist/components/Slide/Slide.d.ts +2 -0
  84. package/dist/components/Slide/Slide.es.js +347 -343
  85. package/dist/components/Slide/Slide.es.js.map +1 -1
  86. package/dist/components/ui/inputGroup/input-group.d.ts +1 -1
  87. package/dist/components/ui/inputGroup/textarea.cjs +1 -1
  88. package/dist/components/ui/inputGroup/textarea.es.js +1 -1
  89. package/dist/components/ui/tooltip.cjs +1 -1
  90. package/dist/components/ui/tooltip.cjs.map +1 -1
  91. package/dist/components/ui/tooltip.es.js +12 -12
  92. package/dist/index.cjs +1 -1
  93. package/dist/index.es.js +3 -3
  94. package/dist/markdown-flow-ui-lib.css +2 -2
  95. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
  96. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs.map +1 -1
  97. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js +4 -4
  98. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js.map +1 -1
  99. package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
  100. package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs +1 -1
  101. package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs.map +1 -1
  102. package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js +172 -159
  103. package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js.map +1 -1
  104. package/dist/node_modules/@codemirror/commands/dist/index.cjs +1 -1
  105. package/dist/node_modules/@codemirror/commands/dist/index.cjs.map +1 -1
  106. package/dist/node_modules/@codemirror/commands/dist/index.es.js +376 -333
  107. package/dist/node_modules/@codemirror/commands/dist/index.es.js.map +1 -1
  108. package/dist/node_modules/@codemirror/lang-css/dist/index.es.js +3 -3
  109. package/dist/node_modules/@codemirror/lang-html/dist/index.cjs +1 -1
  110. package/dist/node_modules/@codemirror/lang-html/dist/index.cjs.map +1 -1
  111. package/dist/node_modules/@codemirror/lang-html/dist/index.es.js +238 -228
  112. package/dist/node_modules/@codemirror/lang-html/dist/index.es.js.map +1 -1
  113. package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs +4 -4
  114. package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs.map +1 -1
  115. package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js +62 -50
  116. package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js.map +1 -1
  117. package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs +1 -1
  118. package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs.map +1 -1
  119. package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js +237 -207
  120. package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js.map +1 -1
  121. package/dist/node_modules/@codemirror/language/dist/index.cjs +1 -1
  122. package/dist/node_modules/@codemirror/language/dist/index.cjs.map +1 -1
  123. package/dist/node_modules/@codemirror/language/dist/index.es.js +302 -296
  124. package/dist/node_modules/@codemirror/language/dist/index.es.js.map +1 -1
  125. package/dist/node_modules/@codemirror/lint/dist/index.cjs +1 -1
  126. package/dist/node_modules/@codemirror/lint/dist/index.cjs.map +1 -1
  127. package/dist/node_modules/@codemirror/lint/dist/index.es.js +281 -236
  128. package/dist/node_modules/@codemirror/lint/dist/index.es.js.map +1 -1
  129. package/dist/node_modules/@codemirror/search/dist/index.cjs +2 -2
  130. package/dist/node_modules/@codemirror/search/dist/index.cjs.map +1 -1
  131. package/dist/node_modules/@codemirror/search/dist/index.es.js +427 -454
  132. package/dist/node_modules/@codemirror/search/dist/index.es.js.map +1 -1
  133. package/dist/node_modules/@codemirror/state/dist/index.cjs +5 -5
  134. package/dist/node_modules/@codemirror/state/dist/index.cjs.map +1 -1
  135. package/dist/node_modules/@codemirror/state/dist/index.es.js +556 -509
  136. package/dist/node_modules/@codemirror/state/dist/index.es.js.map +1 -1
  137. package/dist/node_modules/@codemirror/view/dist/index.cjs +5 -5
  138. package/dist/node_modules/@codemirror/view/dist/index.cjs.map +1 -1
  139. package/dist/node_modules/@codemirror/view/dist/index.es.js +3982 -3507
  140. package/dist/node_modules/@codemirror/view/dist/index.es.js.map +1 -1
  141. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -1
  142. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.map +1 -1
  143. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js +288 -309
  144. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js.map +1 -1
  145. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -1
  146. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.map +1 -1
  147. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +244 -252
  148. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js.map +1 -1
  149. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +1 -1
  150. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.map +1 -1
  151. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +1 -1
  152. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.map +1 -1
  153. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js +8 -8
  154. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js.map +1 -1
  155. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +47 -47
  156. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js.map +1 -1
  157. package/dist/node_modules/@lezer/common/dist/index.cjs +1 -1
  158. package/dist/node_modules/@lezer/common/dist/index.cjs.map +1 -1
  159. package/dist/node_modules/@lezer/common/dist/index.es.js +266 -253
  160. package/dist/node_modules/@lezer/common/dist/index.es.js.map +1 -1
  161. package/dist/node_modules/@lezer/css/dist/index.cjs +1 -1
  162. package/dist/node_modules/@lezer/css/dist/index.cjs.map +1 -1
  163. package/dist/node_modules/@lezer/css/dist/index.es.js +95 -87
  164. package/dist/node_modules/@lezer/css/dist/index.es.js.map +1 -1
  165. package/dist/node_modules/@lezer/highlight/dist/index.cjs +1 -1
  166. package/dist/node_modules/@lezer/highlight/dist/index.cjs.map +1 -1
  167. package/dist/node_modules/@lezer/highlight/dist/index.es.js +150 -139
  168. package/dist/node_modules/@lezer/highlight/dist/index.es.js.map +1 -1
  169. package/dist/node_modules/@lezer/html/dist/index.cjs +1 -1
  170. package/dist/node_modules/@lezer/html/dist/index.cjs.map +1 -1
  171. package/dist/node_modules/@lezer/html/dist/index.es.js +88 -95
  172. package/dist/node_modules/@lezer/html/dist/index.es.js.map +1 -1
  173. package/dist/node_modules/@lezer/javascript/dist/index.cjs +1 -1
  174. package/dist/node_modules/@lezer/javascript/dist/index.cjs.map +1 -1
  175. package/dist/node_modules/@lezer/javascript/dist/index.es.js +49 -49
  176. package/dist/node_modules/@lezer/javascript/dist/index.es.js.map +1 -1
  177. package/dist/node_modules/@lezer/lr/dist/index.cjs +1 -1
  178. package/dist/node_modules/@lezer/lr/dist/index.cjs.map +1 -1
  179. package/dist/node_modules/@lezer/lr/dist/index.es.js +148 -137
  180. package/dist/node_modules/@lezer/lr/dist/index.es.js.map +1 -1
  181. package/dist/node_modules/@lezer/markdown/dist/index.cjs +5 -5
  182. package/dist/node_modules/@lezer/markdown/dist/index.cjs.map +1 -1
  183. package/dist/node_modules/@lezer/markdown/dist/index.es.js +305 -269
  184. package/dist/node_modules/@lezer/markdown/dist/index.es.js.map +1 -1
  185. package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs +1 -1
  186. package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs.map +1 -1
  187. package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js +31 -31
  188. package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js.map +1 -1
  189. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js +4 -3
  190. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js.map +1 -1
  191. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2ZTRR5NV.es.js +1 -1
  192. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-3Z5EZCMW.es.js +1 -1
  193. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5V3GS4D5.es.js +1 -1
  194. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6AZGARVD.es.js +1 -1
  195. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6EIED4P4.es.js +1 -1
  196. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6K3QC6MW.es.js +1 -1
  197. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6TQVIW2G.es.js +1 -1
  198. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-747NJXEK.es.js +1 -1
  199. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-I5DQTOEV.es.js +1 -1
  200. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ICYGCRZG.es.js +1 -1
  201. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-IH6LHLGP.es.js +1 -1
  202. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KI3K4JFJ.es.js +1 -1
  203. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OUJLGHUK.es.js +1 -1
  204. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UY3FDG6J.es.js +1 -1
  205. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XHIXRSVI.es.js +1 -1
  206. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js +4 -3
  207. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js.map +1 -1
  208. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js +4 -3
  209. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js.map +1 -1
  210. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js +3 -2
  211. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js.map +1 -1
  212. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js +4 -3
  213. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js.map +1 -1
  214. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js +4 -3
  215. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js.map +1 -1
  216. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js +4 -3
  217. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js.map +1 -1
  218. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js +4 -3
  219. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js.map +1 -1
  220. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js +4 -3
  221. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js.map +1 -1
  222. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js +4 -3
  223. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js.map +1 -1
  224. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js +4 -3
  225. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js.map +1 -1
  226. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js +4 -3
  227. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js.map +1 -1
  228. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js +4 -3
  229. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js.map +1 -1
  230. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js +4 -3
  231. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js.map +1 -1
  232. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js +4 -3
  233. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js.map +1 -1
  234. package/dist/node_modules/@radix-ui/primitive/dist/index.cjs +1 -1
  235. package/dist/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -1
  236. package/dist/node_modules/@radix-ui/primitive/dist/index.es.js +46 -6
  237. package/dist/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -1
  238. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -1
  239. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -1
  240. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +20 -16
  241. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -1
  242. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
  243. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
  244. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js +71 -43
  245. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -1
  246. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs +1 -1
  247. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
  248. package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js +16 -16
  249. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -1
  250. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
  251. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +184 -96
  252. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -1
  253. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
  254. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
  255. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +3 -3
  256. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +1 -1
  257. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -1
  258. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js +10 -9
  259. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -1
  260. package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -1
  261. package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
  262. package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js +14 -12
  263. package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -1
  264. package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -1
  265. package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs.map +1 -1
  266. package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js +70 -37
  267. package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -1
  268. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
  269. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
  270. package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js +16 -14
  271. package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -1
  272. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  273. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  274. package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js +1 -1
  275. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
  276. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
  277. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js +261 -250
  278. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +1 -1
  279. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -0
  280. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
  281. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs +2 -0
  282. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -0
  283. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js +25 -0
  284. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -0
  285. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -0
  286. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
  287. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +2 -0
  288. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -0
  289. package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +1 -1
  290. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -0
  291. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +2 -0
  292. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -0
  293. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +105 -0
  294. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -0
  295. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs +2 -0
  296. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -0
  297. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js +271 -0
  298. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -0
  299. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs +2 -0
  300. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -0
  301. package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-portal/dist/index.es.js +1 -1
  302. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
  303. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  304. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  305. package/dist/node_modules/@radix-ui/{react-focus-scope → react-tooltip}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  306. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  307. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  308. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  309. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js +94 -7
  310. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
  311. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
  312. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
  313. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +16 -0
  314. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
  315. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +2 -0
  316. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -0
  317. package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +2 -2
  318. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -0
  319. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -1
  320. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -1
  321. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +8 -6
  322. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -1
  323. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -1
  324. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -1
  325. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +56 -39
  326. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -1
  327. package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +1 -0
  328. package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +1 -0
  329. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +1 -1
  330. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -1
  331. package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -1
  332. package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +1 -1
  333. package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js +28 -21
  334. package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js.map +1 -1
  335. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -1
  336. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
  337. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +15 -15
  338. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +1 -1
  339. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  340. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  341. package/dist/node_modules/@radix-ui/{react-dialog → react-visually-hidden}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  342. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  343. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
  344. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
  345. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js +99 -0
  346. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  347. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs +1 -1
  348. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs.map +1 -1
  349. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js +11 -13
  350. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js.map +1 -1
  351. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs +1 -1
  352. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs.map +1 -1
  353. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js +20 -27
  354. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js.map +1 -1
  355. package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs +1 -1
  356. package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs.map +1 -1
  357. package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js +51 -80
  358. package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js.map +1 -1
  359. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs +2 -0
  360. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs.map +1 -0
  361. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js +33 -0
  362. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js.map +1 -0
  363. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs +1 -1
  364. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs.map +1 -1
  365. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js +64 -98
  366. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js.map +1 -1
  367. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs +1 -1
  368. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +1 -1
  369. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js +65 -42
  370. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js.map +1 -1
  371. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs +1 -1
  372. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs.map +1 -1
  373. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js +62 -58
  374. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js.map +1 -1
  375. package/dist/node_modules/classnames/index.es.js +1 -1
  376. package/dist/node_modules/clsx/dist/clsx.cjs +1 -1
  377. package/dist/node_modules/clsx/dist/clsx.cjs.map +1 -1
  378. package/dist/node_modules/clsx/dist/clsx.es.js +7 -8
  379. package/dist/node_modules/clsx/dist/clsx.es.js.map +1 -1
  380. package/dist/node_modules/cose-base/cose-base.es.js +1 -1
  381. package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.es.js +1 -1
  382. package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.es.js +1 -1
  383. package/dist/node_modules/d3-color/src/lab.cjs +1 -1
  384. package/dist/node_modules/d3-color/src/lab.cjs.map +1 -1
  385. package/dist/node_modules/d3-color/src/lab.es.js +4 -5
  386. package/dist/node_modules/d3-format/src/defaultLocale.cjs +1 -1
  387. package/dist/node_modules/d3-format/src/defaultLocale.cjs.map +1 -1
  388. package/dist/node_modules/d3-format/src/defaultLocale.es.js +3 -4
  389. package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +1 -1
  390. package/dist/node_modules/d3-time-format/src/defaultLocale.cjs.map +1 -1
  391. package/dist/node_modules/d3-time-format/src/defaultLocale.es.js +2 -3
  392. package/dist/node_modules/d3-time-format/src/locale.es.js +14 -14
  393. package/dist/node_modules/d3-transition/src/selection/transition.cjs +1 -1
  394. package/dist/node_modules/d3-transition/src/selection/transition.es.js +4 -4
  395. package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +1 -1
  396. package/dist/node_modules/d3-transition/src/transition/interpolate.es.js +3 -3
  397. package/dist/node_modules/dagre-d3-es/src/dagre/layout.cjs +1 -1
  398. package/dist/node_modules/dagre-d3-es/src/dagre/layout.es.js +7 -7
  399. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.cjs +1 -1
  400. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.es.js +4 -4
  401. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.cjs +1 -1
  402. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.es.js +14 -14
  403. package/dist/node_modules/dagre-d3-es/src/dagre/util.cjs +1 -1
  404. package/dist/node_modules/dagre-d3-es/src/dagre/util.es.js +7 -7
  405. package/dist/node_modules/dayjs/dayjs.min.cjs +1 -1
  406. package/dist/node_modules/dayjs/dayjs.min.es.js +1 -1
  407. package/dist/node_modules/dayjs/plugin/advancedFormat.es.js +1 -1
  408. package/dist/node_modules/dayjs/plugin/customParseFormat.es.js +1 -1
  409. package/dist/node_modules/dayjs/plugin/duration.es.js +1 -1
  410. package/dist/node_modules/dayjs/plugin/isoWeek.es.js +1 -1
  411. package/dist/node_modules/decode-named-character-reference/index.dom.cjs.map +1 -1
  412. package/dist/node_modules/decode-named-character-reference/index.dom.es.js +1 -5
  413. package/dist/node_modules/decode-named-character-reference/index.dom.es.js.map +1 -1
  414. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.cjs +1 -1
  415. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
  416. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs +1 -1
  417. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs.map +1 -1
  418. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js +2 -2
  419. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js.map +1 -1
  420. package/dist/node_modules/hast-util-to-text/lib/index.cjs +3 -3
  421. package/dist/node_modules/hast-util-to-text/lib/index.cjs.map +1 -1
  422. package/dist/node_modules/hast-util-to-text/lib/index.es.js +136 -84
  423. package/dist/node_modules/hast-util-to-text/lib/index.es.js.map +1 -1
  424. package/dist/node_modules/highlight.js/es/languages/c.cjs +1 -1
  425. package/dist/node_modules/highlight.js/es/languages/c.cjs.map +1 -1
  426. package/dist/node_modules/highlight.js/es/languages/c.es.js +122 -63
  427. package/dist/node_modules/highlight.js/es/languages/c.es.js.map +1 -1
  428. package/dist/node_modules/highlight.js/es/languages/cpp.cjs +1 -1
  429. package/dist/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -1
  430. package/dist/node_modules/highlight.js/es/languages/cpp.es.js +65 -48
  431. package/dist/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -1
  432. package/dist/node_modules/highlight.js/es/languages/css.cjs +1 -1
  433. package/dist/node_modules/highlight.js/es/languages/css.cjs.map +1 -1
  434. package/dist/node_modules/highlight.js/es/languages/css.es.js +17 -6
  435. package/dist/node_modules/highlight.js/es/languages/css.es.js.map +1 -1
  436. package/dist/node_modules/highlight.js/es/languages/go.cjs +1 -1
  437. package/dist/node_modules/highlight.js/es/languages/go.cjs.map +1 -1
  438. package/dist/node_modules/highlight.js/es/languages/go.es.js +7 -2
  439. package/dist/node_modules/highlight.js/es/languages/go.es.js.map +1 -1
  440. package/dist/node_modules/highlight.js/es/languages/java.cjs +1 -1
  441. package/dist/node_modules/highlight.js/es/languages/java.cjs.map +1 -1
  442. package/dist/node_modules/highlight.js/es/languages/java.es.js +48 -39
  443. package/dist/node_modules/highlight.js/es/languages/java.es.js.map +1 -1
  444. package/dist/node_modules/highlight.js/es/languages/javascript.cjs +1 -1
  445. package/dist/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -1
  446. package/dist/node_modules/highlight.js/es/languages/javascript.es.js +4 -2
  447. package/dist/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -1
  448. package/dist/node_modules/highlight.js/es/languages/json.cjs +1 -1
  449. package/dist/node_modules/highlight.js/es/languages/json.cjs.map +1 -1
  450. package/dist/node_modules/highlight.js/es/languages/json.es.js +15 -9
  451. package/dist/node_modules/highlight.js/es/languages/json.es.js.map +1 -1
  452. package/dist/node_modules/highlight.js/es/languages/lua.cjs +1 -1
  453. package/dist/node_modules/highlight.js/es/languages/lua.cjs.map +1 -1
  454. package/dist/node_modules/highlight.js/es/languages/lua.es.js +1 -1
  455. package/dist/node_modules/highlight.js/es/languages/lua.es.js.map +1 -1
  456. package/dist/node_modules/highlight.js/es/languages/markdown.cjs +1 -1
  457. package/dist/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -1
  458. package/dist/node_modules/highlight.js/es/languages/markdown.es.js +9 -10
  459. package/dist/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -1
  460. package/dist/node_modules/highlight.js/es/languages/php.cjs +2 -2
  461. package/dist/node_modules/highlight.js/es/languages/php.cjs.map +1 -1
  462. package/dist/node_modules/highlight.js/es/languages/php.es.js +39 -33
  463. package/dist/node_modules/highlight.js/es/languages/php.es.js.map +1 -1
  464. package/dist/node_modules/highlight.js/es/languages/python.cjs +1 -1
  465. package/dist/node_modules/highlight.js/es/languages/python.cjs.map +1 -1
  466. package/dist/node_modules/highlight.js/es/languages/python.es.js +20 -15
  467. package/dist/node_modules/highlight.js/es/languages/python.es.js.map +1 -1
  468. package/dist/node_modules/highlight.js/es/languages/rust.cjs +1 -1
  469. package/dist/node_modules/highlight.js/es/languages/rust.cjs.map +1 -1
  470. package/dist/node_modules/highlight.js/es/languages/rust.es.js +40 -26
  471. package/dist/node_modules/highlight.js/es/languages/rust.es.js.map +1 -1
  472. package/dist/node_modules/highlight.js/es/languages/scss.cjs +1 -1
  473. package/dist/node_modules/highlight.js/es/languages/scss.cjs.map +1 -1
  474. package/dist/node_modules/highlight.js/es/languages/scss.es.js +36 -25
  475. package/dist/node_modules/highlight.js/es/languages/scss.es.js.map +1 -1
  476. package/dist/node_modules/highlight.js/es/languages/shell.cjs +1 -1
  477. package/dist/node_modules/highlight.js/es/languages/shell.cjs.map +1 -1
  478. package/dist/node_modules/highlight.js/es/languages/shell.es.js +1 -1
  479. package/dist/node_modules/highlight.js/es/languages/shell.es.js.map +1 -1
  480. package/dist/node_modules/highlight.js/es/languages/typescript.cjs +1 -1
  481. package/dist/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -1
  482. package/dist/node_modules/highlight.js/es/languages/typescript.es.js +4 -2
  483. package/dist/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -1
  484. package/dist/node_modules/highlight.js/es/languages/xml.cjs +1 -1
  485. package/dist/node_modules/highlight.js/es/languages/xml.cjs.map +1 -1
  486. package/dist/node_modules/highlight.js/es/languages/xml.es.js +9 -16
  487. package/dist/node_modules/highlight.js/es/languages/xml.es.js.map +1 -1
  488. package/dist/node_modules/inline-style-parser/cjs/index.cjs +3 -0
  489. package/dist/node_modules/inline-style-parser/cjs/index.cjs.map +1 -0
  490. package/dist/node_modules/inline-style-parser/{index.es.js → cjs/index.es.js} +24 -24
  491. package/dist/node_modules/inline-style-parser/cjs/index.es.js.map +1 -0
  492. package/dist/node_modules/layout-base/layout-base.es.js +1 -1
  493. package/dist/node_modules/lowlight/lib/common.cjs +1 -1
  494. package/dist/node_modules/lowlight/lib/common.cjs.map +1 -1
  495. package/dist/node_modules/lowlight/lib/common.es.js +37 -37
  496. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs +1 -1
  497. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js +1 -1
  498. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs +2 -0
  499. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs.map +1 -0
  500. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/arduino.es.js +10 -14
  501. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.es.js.map +1 -0
  502. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs +2 -0
  503. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs.map +1 -0
  504. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js +378 -0
  505. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js.map +1 -0
  506. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs +2 -0
  507. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs.map +1 -0
  508. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js +278 -0
  509. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js.map +1 -0
  510. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs +2 -0
  511. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -0
  512. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js +518 -0
  513. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -0
  514. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs +2 -0
  515. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs.map +1 -0
  516. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/csharp.es.js +1 -1
  517. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.es.js.map +1 -0
  518. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs +2 -0
  519. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs.map +1 -0
  520. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js +930 -0
  521. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js.map +1 -0
  522. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs +2 -0
  523. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs.map +1 -0
  524. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/diff.es.js +10 -3
  525. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.es.js.map +1 -0
  526. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs +2 -0
  527. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs.map +1 -0
  528. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js +152 -0
  529. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js.map +1 -0
  530. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.cjs.map +1 -0
  531. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.es.js.map +1 -0
  532. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.cjs.map +1 -0
  533. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.es.js.map +1 -0
  534. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs +2 -0
  535. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs.map +1 -0
  536. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js +241 -0
  537. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js.map +1 -0
  538. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs +2 -0
  539. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -0
  540. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js +660 -0
  541. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -0
  542. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs +2 -0
  543. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs.map +1 -0
  544. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js +45 -0
  545. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js.map +1 -0
  546. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.cjs.map +1 -0
  547. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.es.js.map +1 -0
  548. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs +2 -0
  549. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs.map +1 -0
  550. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/less.es.js +10 -4
  551. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.es.js.map +1 -0
  552. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs +2 -0
  553. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs.map +1 -0
  554. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js +60 -0
  555. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js.map +1 -0
  556. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.cjs.map +1 -0
  557. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.es.js.map +1 -0
  558. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs +2 -0
  559. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -0
  560. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js +217 -0
  561. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -0
  562. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.cjs.map +1 -0
  563. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.es.js.map +1 -0
  564. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.cjs.map +1 -0
  565. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.es.js.map +1 -0
  566. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.cjs.map +1 -0
  567. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.es.js.map +1 -0
  568. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs +3 -0
  569. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs.map +1 -0
  570. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js +573 -0
  571. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js.map +1 -0
  572. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs +2 -0
  573. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs.map +1 -0
  574. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js +14 -0
  575. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js.map +1 -0
  576. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.cjs.map +1 -0
  577. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.es.js.map +1 -0
  578. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs +2 -0
  579. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs.map +1 -0
  580. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js +400 -0
  581. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js.map +1 -0
  582. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.cjs.map +1 -0
  583. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.es.js.map +1 -0
  584. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.cjs.map +1 -0
  585. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.es.js.map +1 -0
  586. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs +2 -0
  587. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs.map +1 -0
  588. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js +306 -0
  589. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js.map +1 -0
  590. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs +2 -0
  591. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs.map +1 -0
  592. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js +915 -0
  593. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js.map +1 -0
  594. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs +2 -0
  595. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs.map +1 -0
  596. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js +26 -0
  597. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js.map +1 -0
  598. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs +2 -0
  599. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs.map +1 -0
  600. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js +616 -0
  601. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js.map +1 -0
  602. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.cjs.map +1 -0
  603. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.es.js.map +1 -0
  604. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs +2 -0
  605. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -0
  606. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js +755 -0
  607. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -0
  608. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.cjs.map +1 -0
  609. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.es.js.map +1 -0
  610. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.cjs.map +1 -0
  611. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.es.js.map +1 -0
  612. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs +2 -0
  613. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs.map +1 -0
  614. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js +220 -0
  615. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js.map +1 -0
  616. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs +2 -0
  617. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs.map +1 -0
  618. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js +184 -0
  619. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js.map +1 -0
  620. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.cjs +3 -3
  621. package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.cjs.map +1 -0
  622. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.es.js +66 -66
  623. package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.es.js.map +1 -0
  624. package/dist/node_modules/lucide-react/dist/esm/Icon.es.js +3 -3
  625. package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs +1 -1
  626. package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs.map +1 -1
  627. package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js +58 -56
  628. package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js.map +1 -1
  629. package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs +1 -1
  630. package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs.map +1 -1
  631. package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js +274 -223
  632. package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js.map +1 -1
  633. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs +1 -1
  634. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs.map +1 -1
  635. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js +21 -17
  636. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js.map +1 -1
  637. package/dist/node_modules/mdast-util-to-hast/lib/footer.cjs.map +1 -1
  638. package/dist/node_modules/mdast-util-to-hast/lib/footer.es.js.map +1 -1
  639. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +1 -1
  640. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.es.js.map +1 -1
  641. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +1 -1
  642. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.es.js.map +1 -1
  643. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs +2 -2
  644. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +1 -1
  645. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js +7 -7
  646. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js.map +1 -1
  647. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +1 -1
  648. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.es.js.map +1 -1
  649. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +1 -1
  650. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.es.js.map +1 -1
  651. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +1 -1
  652. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.es.js.map +1 -1
  653. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +1 -1
  654. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.es.js.map +1 -1
  655. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +1 -1
  656. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.es.js.map +1 -1
  657. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +1 -1
  658. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.es.js.map +1 -1
  659. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +1 -1
  660. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.es.js.map +1 -1
  661. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +1 -1
  662. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.es.js.map +1 -1
  663. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +1 -1
  664. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.es.js.map +1 -1
  665. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +1 -1
  666. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.es.js.map +1 -1
  667. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +1 -1
  668. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.es.js.map +1 -1
  669. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +1 -1
  670. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.es.js.map +1 -1
  671. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +1 -1
  672. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.es.js.map +1 -1
  673. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +1 -1
  674. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.es.js.map +1 -1
  675. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +1 -1
  676. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.es.js.map +1 -1
  677. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +1 -1
  678. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.es.js.map +1 -1
  679. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +1 -1
  680. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.es.js.map +1 -1
  681. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +1 -1
  682. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.es.js.map +1 -1
  683. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +1 -1
  684. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.es.js.map +1 -1
  685. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +1 -1
  686. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.es.js.map +1 -1
  687. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +1 -1
  688. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.es.js.map +1 -1
  689. package/dist/node_modules/mdast-util-to-hast/lib/index.cjs.map +1 -1
  690. package/dist/node_modules/mdast-util-to-hast/lib/index.es.js.map +1 -1
  691. package/dist/node_modules/mdast-util-to-hast/lib/revert.cjs.map +1 -1
  692. package/dist/node_modules/mdast-util-to-hast/lib/revert.es.js.map +1 -1
  693. package/dist/node_modules/mdast-util-to-hast/lib/state.cjs.map +1 -1
  694. package/dist/node_modules/mdast-util-to-hast/lib/state.es.js.map +1 -1
  695. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.cjs.map +1 -1
  696. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.es.js.map +1 -1
  697. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs +3 -3
  698. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs.map +1 -1
  699. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js +9 -7
  700. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js.map +1 -1
  701. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs +2 -2
  702. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs.map +1 -1
  703. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js +6 -6
  704. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js.map +1 -1
  705. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.cjs.map +1 -1
  706. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.es.js.map +1 -1
  707. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs +1 -1
  708. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs.map +1 -1
  709. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js +17 -29
  710. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js.map +1 -1
  711. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs +5 -5
  712. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs.map +1 -1
  713. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js +12 -11
  714. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js.map +1 -1
  715. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.cjs.map +1 -1
  716. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.es.js.map +1 -1
  717. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs +1 -1
  718. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs.map +1 -1
  719. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js +14 -12
  720. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js.map +1 -1
  721. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.cjs.map +1 -1
  722. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.es.js.map +1 -1
  723. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs +1 -1
  724. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs.map +1 -1
  725. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js +6 -6
  726. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js.map +1 -1
  727. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs +1 -1
  728. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs.map +1 -1
  729. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js +15 -13
  730. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js.map +1 -1
  731. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs +2 -1
  732. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs.map +1 -1
  733. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js +42 -32
  734. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js.map +1 -1
  735. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.cjs.map +1 -1
  736. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.es.js.map +1 -1
  737. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.cjs.map +1 -1
  738. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.es.js.map +1 -1
  739. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.cjs.map +1 -1
  740. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.es.js.map +1 -1
  741. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs +1 -1
  742. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs.map +1 -1
  743. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js +8 -6
  744. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js.map +1 -1
  745. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs +1 -1
  746. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs.map +1 -1
  747. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js +17 -29
  748. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js.map +1 -1
  749. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs +1 -1
  750. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs.map +1 -1
  751. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js +8 -3
  752. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js.map +1 -1
  753. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.cjs.map +1 -1
  754. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.es.js.map +1 -1
  755. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs +2 -0
  756. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs.map +1 -0
  757. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js +13 -0
  758. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js.map +1 -0
  759. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.cjs.map +1 -1
  760. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.es.js.map +1 -1
  761. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.cjs.map +1 -1
  762. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.es.js.map +1 -1
  763. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.cjs.map +1 -1
  764. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.es.js.map +1 -1
  765. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.cjs.map +1 -1
  766. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.es.js.map +1 -1
  767. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.cjs.map +1 -1
  768. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.es.js.map +1 -1
  769. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.cjs.map +1 -1
  770. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.es.js.map +1 -1
  771. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.cjs.map +1 -1
  772. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.es.js.map +1 -1
  773. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.cjs.map +1 -1
  774. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.es.js.map +1 -1
  775. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.cjs.map +1 -1
  776. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.es.js.map +1 -1
  777. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.cjs.map +1 -1
  778. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.es.js.map +1 -1
  779. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs +4 -0
  780. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs.map +1 -0
  781. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js +263 -0
  782. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js.map +1 -0
  783. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.cjs.map +1 -1
  784. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.es.js.map +1 -1
  785. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs +1 -1
  786. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs.map +1 -1
  787. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js +2 -2
  788. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js.map +1 -1
  789. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.cjs.map +1 -1
  790. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.es.js.map +1 -1
  791. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs +1 -1
  792. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs.map +1 -1
  793. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js +2 -2
  794. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js.map +1 -1
  795. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs +2 -0
  796. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs.map +1 -0
  797. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js +22 -0
  798. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js.map +1 -0
  799. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.cjs.map +1 -1
  800. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.es.js.map +1 -1
  801. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.cjs +2 -2
  802. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.es.js +4 -4
  803. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.cjs +1 -1
  804. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.es.js +1 -1
  805. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.cjs +1 -1
  806. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.es.js +1 -1
  807. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.cjs +2 -2
  808. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.es.js +4 -4
  809. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.cjs +1 -1
  810. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.es.js +1 -1
  811. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WRU74C26.es.js +3 -3
  812. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.cjs +1 -1
  813. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.es.js +1 -1
  814. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.cjs +1 -1
  815. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.es.js +1 -1
  816. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.cjs +3 -3
  817. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.es.js +4 -4
  818. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.cjs +2 -2
  819. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.es.js +4 -4
  820. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.cjs +1 -1
  821. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js +5 -4
  822. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js.map +1 -1
  823. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.cjs +1 -1
  824. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.es.js +2 -2
  825. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs +1 -1
  826. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs.map +1 -1
  827. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.es.js +1 -1
  828. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.cjs +1 -1
  829. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.es.js +4 -4
  830. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.cjs +1 -1
  831. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.es.js +1 -1
  832. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.cjs +1 -1
  833. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.es.js +1 -1
  834. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.cjs +1 -1
  835. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.es.js +1 -1
  836. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.cjs +1 -1
  837. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.es.js +1 -1
  838. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.cjs +1 -1
  839. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.es.js +1 -1
  840. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.cjs +1 -1
  841. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.es.js +2 -2
  842. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-ELKLHX3M.es.js +4 -4
  843. package/dist/node_modules/mermaid/dist/mermaid.core.cjs +1 -1
  844. package/dist/node_modules/mermaid/dist/mermaid.core.es.js +1 -1
  845. package/dist/node_modules/micromark/lib/constructs.cjs +1 -1
  846. package/dist/node_modules/micromark/lib/constructs.es.js +13 -13
  847. package/dist/node_modules/micromark-factory-space/index.cjs +1 -1
  848. package/dist/node_modules/micromark-factory-space/index.cjs.map +1 -1
  849. package/dist/node_modules/micromark-factory-space/index.es.js +9 -9
  850. package/dist/node_modules/micromark-factory-space/index.es.js.map +1 -1
  851. package/dist/node_modules/parse5/dist/parser/index.es.js +1 -1
  852. package/dist/node_modules/parse5/dist/tokenizer/index.cjs +1 -1
  853. package/dist/node_modules/parse5/dist/tokenizer/index.cjs.map +1 -1
  854. package/dist/node_modules/parse5/dist/tokenizer/index.es.js +2 -2
  855. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.cjs.map +1 -0
  856. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.es.js.map +1 -0
  857. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.cjs.map +1 -0
  858. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.es.js.map +1 -0
  859. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +1 -0
  860. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +1 -0
  861. package/dist/node_modules/property-information/lib/html.cjs +1 -1
  862. package/dist/node_modules/property-information/lib/html.cjs.map +1 -1
  863. package/dist/node_modules/property-information/lib/html.es.js +16 -6
  864. package/dist/node_modules/property-information/lib/html.es.js.map +1 -1
  865. package/dist/node_modules/property-information/lib/svg.cjs +1 -1
  866. package/dist/node_modules/property-information/lib/svg.cjs.map +1 -1
  867. package/dist/node_modules/property-information/lib/svg.es.js +4 -2
  868. package/dist/node_modules/property-information/lib/svg.es.js.map +1 -1
  869. package/dist/node_modules/rc-input/es/BaseInput.cjs +1 -1
  870. package/dist/node_modules/rc-input/es/BaseInput.es.js +1 -1
  871. package/dist/node_modules/rc-textarea/es/ResizableTextArea.cjs +1 -1
  872. package/dist/node_modules/rc-textarea/es/ResizableTextArea.es.js +1 -1
  873. package/dist/node_modules/rc-textarea/es/TextArea.cjs +1 -1
  874. package/dist/node_modules/rc-textarea/es/TextArea.es.js +1 -1
  875. package/dist/node_modules/rc-textarea/es/index.cjs +1 -1
  876. package/dist/node_modules/rc-textarea/es/index.es.js +1 -1
  877. package/dist/node_modules/rc-util/es/ref.es.js +1 -1
  878. package/dist/node_modules/rc-util/node_modules/react-is/index.es.js +1 -1
  879. package/dist/node_modules/react-i18next/dist/es/useTranslation.cjs +1 -1
  880. package/dist/node_modules/react-i18next/dist/es/useTranslation.es.js +7 -7
  881. package/dist/node_modules/remark-flow/dist/index.es.js +1 -1
  882. package/dist/node_modules/remark-flow/dist/interaction-parser.cjs.map +1 -1
  883. package/dist/node_modules/remark-flow/dist/interaction-parser.es.js +2 -2
  884. package/dist/node_modules/remark-flow/dist/interaction-parser.es.js.map +1 -1
  885. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.cjs +1 -1
  886. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.es.js +1 -1
  887. package/dist/node_modules/style-mod/src/style-mod.cjs +3 -3
  888. package/dist/node_modules/style-mod/src/style-mod.cjs.map +1 -1
  889. package/dist/node_modules/style-mod/src/style-mod.es.js +37 -35
  890. package/dist/node_modules/style-mod/src/style-mod.es.js.map +1 -1
  891. package/dist/node_modules/style-to-object/cjs/index.cjs +1 -1
  892. package/dist/node_modules/style-to-object/cjs/index.cjs.map +1 -1
  893. package/dist/node_modules/style-to-object/cjs/index.es.js +15 -15
  894. package/dist/node_modules/style-to-object/cjs/index.es.js.map +1 -1
  895. package/dist/node_modules/stylis/src/Parser.cjs +1 -1
  896. package/dist/node_modules/stylis/src/Parser.cjs.map +1 -1
  897. package/dist/node_modules/stylis/src/Parser.es.js +63 -52
  898. package/dist/node_modules/stylis/src/Parser.es.js.map +1 -1
  899. package/dist/node_modules/stylis/src/Utility.cjs +1 -1
  900. package/dist/node_modules/stylis/src/Utility.cjs.map +1 -1
  901. package/dist/node_modules/stylis/src/Utility.es.js +20 -24
  902. package/dist/node_modules/stylis/src/Utility.es.js.map +1 -1
  903. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1 -1
  904. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.map +1 -1
  905. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js +828 -561
  906. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js.map +1 -1
  907. package/dist/node_modules/ts-dedent/esm/index.cjs +5 -5
  908. package/dist/node_modules/ts-dedent/esm/index.cjs.map +1 -1
  909. package/dist/node_modules/ts-dedent/esm/index.es.js +20 -21
  910. package/dist/node_modules/ts-dedent/esm/index.es.js.map +1 -1
  911. package/dist/node_modules/unified/lib/index.es.js +1 -1
  912. package/dist/node_modules/unist-util-is/lib/index.cjs.map +1 -1
  913. package/dist/node_modules/unist-util-is/lib/index.es.js +8 -1
  914. package/dist/node_modules/unist-util-is/lib/index.es.js.map +1 -1
  915. package/dist/node_modules/unist-util-visit/lib/index.cjs +1 -1
  916. package/dist/node_modules/unist-util-visit/lib/index.cjs.map +1 -1
  917. package/dist/node_modules/unist-util-visit/lib/index.es.js +22 -12
  918. package/dist/node_modules/unist-util-visit/lib/index.es.js.map +1 -1
  919. package/dist/node_modules/unist-util-visit-parents/lib/color.cjs.map +1 -1
  920. package/dist/node_modules/unist-util-visit-parents/lib/color.es.js.map +1 -1
  921. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs +1 -1
  922. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -1
  923. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js +72 -37
  924. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js.map +1 -1
  925. package/dist/node_modules/uuid/dist/rng.cjs +2 -0
  926. package/dist/node_modules/uuid/dist/rng.cjs.map +1 -0
  927. package/dist/node_modules/uuid/dist/rng.es.js +8 -0
  928. package/dist/node_modules/uuid/dist/rng.es.js.map +1 -0
  929. package/dist/node_modules/uuid/dist/stringify.cjs.map +1 -0
  930. package/dist/node_modules/uuid/dist/stringify.es.js.map +1 -0
  931. package/dist/node_modules/uuid/dist/v4.cjs +2 -0
  932. package/dist/node_modules/uuid/dist/v4.cjs.map +1 -0
  933. package/dist/node_modules/uuid/dist/v4.es.js +16 -0
  934. package/dist/node_modules/uuid/dist/v4.es.js.map +1 -0
  935. package/dist/renderer.cjs +1 -1
  936. package/dist/renderer.es.js +3 -3
  937. package/dist/scroll.cjs +1 -1
  938. package/dist/scroll.es.js +2 -2
  939. package/package.json +18 -14
  940. package/dist/_virtual/advancedFormat.es2.js.map +0 -1
  941. package/dist/_virtual/cose-base.es2.js.map +0 -1
  942. package/dist/_virtual/customParseFormat.es2.js.map +0 -1
  943. package/dist/_virtual/cytoscape-cose-bilkent.es2.js +0 -5
  944. package/dist/_virtual/cytoscape-cose-bilkent.es2.js.map +0 -1
  945. package/dist/_virtual/cytoscape-fcose.es2.js.map +0 -1
  946. package/dist/_virtual/dayjs.min.es2.js.map +0 -1
  947. package/dist/_virtual/dayjs.min2.cjs.map +0 -1
  948. package/dist/_virtual/duration.es2.js.map +0 -1
  949. package/dist/_virtual/index.es10.js.map +0 -1
  950. package/dist/_virtual/index.es11.js.map +0 -1
  951. package/dist/_virtual/index.es12.js.map +0 -1
  952. package/dist/_virtual/index.es2.js.map +0 -1
  953. package/dist/_virtual/index.es3.js.map +0 -1
  954. package/dist/_virtual/index.es4.js.map +0 -1
  955. package/dist/_virtual/index.es5.js.map +0 -1
  956. package/dist/_virtual/index.es6.js.map +0 -1
  957. package/dist/_virtual/index.es7.js.map +0 -1
  958. package/dist/_virtual/index.es8.js.map +0 -1
  959. package/dist/_virtual/index.es9.js.map +0 -1
  960. package/dist/_virtual/isoWeek.es2.js.map +0 -1
  961. package/dist/_virtual/layout-base.es2.js.map +0 -1
  962. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +0 -2
  963. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +0 -1
  964. package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js +0 -25
  965. package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +0 -1
  966. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.cjs.map +0 -1
  967. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.es.js.map +0 -1
  968. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
  969. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
  970. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
  971. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  972. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.cjs.map +0 -1
  973. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
  974. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -2
  975. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +0 -1
  976. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +0 -1
  977. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs +0 -2
  978. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs.map +0 -1
  979. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js +0 -15
  980. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js.map +0 -1
  981. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -2
  982. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs.map +0 -1
  983. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.es.js.map +0 -1
  984. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -2
  985. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs.map +0 -1
  986. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js +0 -104
  987. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js.map +0 -1
  988. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
  989. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
  990. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  991. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
  992. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
  993. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
  994. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  995. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -2
  996. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +0 -1
  997. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
  998. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +0 -1
  999. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +0 -1
  1000. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -2
  1001. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +0 -1
  1002. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +0 -7
  1003. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +0 -1
  1004. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
  1005. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
  1006. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
  1007. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  1008. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
  1009. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
  1010. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  1011. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
  1012. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
  1013. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
  1014. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  1015. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -2
  1016. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs.map +0 -1
  1017. package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js +0 -220
  1018. package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js.map +0 -1
  1019. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -2
  1020. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
  1021. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js +0 -50
  1022. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
  1023. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
  1024. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
  1025. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
  1026. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  1027. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +0 -2
  1028. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.map +0 -1
  1029. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js +0 -15
  1030. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map +0 -1
  1031. package/dist/node_modules/entities/dist/esm/decode-codepoint.cjs.map +0 -1
  1032. package/dist/node_modules/entities/dist/esm/decode-codepoint.es.js.map +0 -1
  1033. package/dist/node_modules/entities/dist/esm/decode.cjs.map +0 -1
  1034. package/dist/node_modules/entities/dist/esm/decode.es.js.map +0 -1
  1035. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +0 -1
  1036. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +0 -1
  1037. package/dist/node_modules/hast-util-is-element/lib/index.cjs +0 -2
  1038. package/dist/node_modules/hast-util-is-element/lib/index.cjs.map +0 -1
  1039. package/dist/node_modules/hast-util-is-element/lib/index.es.js +0 -66
  1040. package/dist/node_modules/hast-util-is-element/lib/index.es.js.map +0 -1
  1041. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs +0 -2
  1042. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs.map +0 -1
  1043. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js +0 -13
  1044. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js.map +0 -1
  1045. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs +0 -2
  1046. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs.map +0 -1
  1047. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js +0 -62
  1048. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js.map +0 -1
  1049. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs +0 -2
  1050. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs.map +0 -1
  1051. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js +0 -34
  1052. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js.map +0 -1
  1053. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs +0 -2
  1054. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs.map +0 -1
  1055. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js +0 -369
  1056. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js.map +0 -1
  1057. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs +0 -2
  1058. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs.map +0 -1
  1059. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js +0 -7
  1060. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js.map +0 -1
  1061. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs +0 -2
  1062. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs.map +0 -1
  1063. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js +0 -567
  1064. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js.map +0 -1
  1065. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs +0 -2
  1066. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +0 -1
  1067. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js +0 -8
  1068. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js.map +0 -1
  1069. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs +0 -2
  1070. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +0 -1
  1071. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js +0 -7
  1072. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js.map +0 -1
  1073. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs +0 -2
  1074. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs.map +0 -1
  1075. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js +0 -23
  1076. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js.map +0 -1
  1077. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs +0 -2
  1078. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs.map +0 -1
  1079. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js +0 -28
  1080. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js.map +0 -1
  1081. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs +0 -2
  1082. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs.map +0 -1
  1083. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js +0 -24
  1084. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js.map +0 -1
  1085. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs +0 -2
  1086. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs.map +0 -1
  1087. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js +0 -12
  1088. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js.map +0 -1
  1089. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs +0 -2
  1090. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs.map +0 -1
  1091. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js +0 -18
  1092. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js.map +0 -1
  1093. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs +0 -2
  1094. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs.map +0 -1
  1095. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js +0 -15
  1096. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js.map +0 -1
  1097. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs +0 -2
  1098. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs.map +0 -1
  1099. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js +0 -20
  1100. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js.map +0 -1
  1101. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs +0 -2
  1102. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs.map +0 -1
  1103. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js +0 -12
  1104. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js.map +0 -1
  1105. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs +0 -2
  1106. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs.map +0 -1
  1107. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js +0 -12
  1108. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js.map +0 -1
  1109. package/dist/node_modules/highlight.js/es/languages/arduino.cjs +0 -2
  1110. package/dist/node_modules/highlight.js/es/languages/arduino.cjs.map +0 -1
  1111. package/dist/node_modules/highlight.js/es/languages/arduino.es.js.map +0 -1
  1112. package/dist/node_modules/highlight.js/es/languages/csharp.cjs +0 -2
  1113. package/dist/node_modules/highlight.js/es/languages/csharp.cjs.map +0 -1
  1114. package/dist/node_modules/highlight.js/es/languages/csharp.es.js.map +0 -1
  1115. package/dist/node_modules/highlight.js/es/languages/diff.cjs +0 -2
  1116. package/dist/node_modules/highlight.js/es/languages/diff.cjs.map +0 -1
  1117. package/dist/node_modules/highlight.js/es/languages/diff.es.js.map +0 -1
  1118. package/dist/node_modules/highlight.js/es/languages/graphql.cjs.map +0 -1
  1119. package/dist/node_modules/highlight.js/es/languages/graphql.es.js.map +0 -1
  1120. package/dist/node_modules/highlight.js/es/languages/ini.cjs.map +0 -1
  1121. package/dist/node_modules/highlight.js/es/languages/ini.es.js.map +0 -1
  1122. package/dist/node_modules/highlight.js/es/languages/kotlin.cjs.map +0 -1
  1123. package/dist/node_modules/highlight.js/es/languages/kotlin.es.js.map +0 -1
  1124. package/dist/node_modules/highlight.js/es/languages/less.cjs +0 -2
  1125. package/dist/node_modules/highlight.js/es/languages/less.cjs.map +0 -1
  1126. package/dist/node_modules/highlight.js/es/languages/less.es.js.map +0 -1
  1127. package/dist/node_modules/highlight.js/es/languages/makefile.cjs.map +0 -1
  1128. package/dist/node_modules/highlight.js/es/languages/makefile.es.js.map +0 -1
  1129. package/dist/node_modules/highlight.js/es/languages/objectivec.cjs.map +0 -1
  1130. package/dist/node_modules/highlight.js/es/languages/objectivec.es.js.map +0 -1
  1131. package/dist/node_modules/highlight.js/es/languages/perl.cjs.map +0 -1
  1132. package/dist/node_modules/highlight.js/es/languages/perl.es.js.map +0 -1
  1133. package/dist/node_modules/highlight.js/es/languages/php-template.cjs.map +0 -1
  1134. package/dist/node_modules/highlight.js/es/languages/php-template.es.js.map +0 -1
  1135. package/dist/node_modules/highlight.js/es/languages/python-repl.cjs.map +0 -1
  1136. package/dist/node_modules/highlight.js/es/languages/python-repl.es.js.map +0 -1
  1137. package/dist/node_modules/highlight.js/es/languages/r.cjs.map +0 -1
  1138. package/dist/node_modules/highlight.js/es/languages/r.es.js.map +0 -1
  1139. package/dist/node_modules/highlight.js/es/languages/ruby.cjs.map +0 -1
  1140. package/dist/node_modules/highlight.js/es/languages/ruby.es.js.map +0 -1
  1141. package/dist/node_modules/highlight.js/es/languages/swift.cjs.map +0 -1
  1142. package/dist/node_modules/highlight.js/es/languages/swift.es.js.map +0 -1
  1143. package/dist/node_modules/highlight.js/es/languages/vbnet.cjs.map +0 -1
  1144. package/dist/node_modules/highlight.js/es/languages/vbnet.es.js.map +0 -1
  1145. package/dist/node_modules/highlight.js/es/languages/wasm.cjs.map +0 -1
  1146. package/dist/node_modules/highlight.js/es/languages/wasm.es.js.map +0 -1
  1147. package/dist/node_modules/highlight.js/lib/core.cjs.map +0 -1
  1148. package/dist/node_modules/highlight.js/lib/core.es.js.map +0 -1
  1149. package/dist/node_modules/inline-style-parser/index.cjs +0 -3
  1150. package/dist/node_modules/inline-style-parser/index.cjs.map +0 -1
  1151. package/dist/node_modules/inline-style-parser/index.es.js.map +0 -1
  1152. package/dist/node_modules/unist-util-find-after/lib/index.cjs +0 -2
  1153. package/dist/node_modules/unist-util-find-after/lib/index.cjs.map +0 -1
  1154. package/dist/node_modules/unist-util-find-after/lib/index.es.js +0 -33
  1155. package/dist/node_modules/unist-util-find-after/lib/index.es.js.map +0 -1
  1156. package/dist/node_modules/uuid/dist/esm-browser/native.cjs +0 -2
  1157. package/dist/node_modules/uuid/dist/esm-browser/native.cjs.map +0 -1
  1158. package/dist/node_modules/uuid/dist/esm-browser/native.es.js +0 -5
  1159. package/dist/node_modules/uuid/dist/esm-browser/native.es.js.map +0 -1
  1160. package/dist/node_modules/uuid/dist/esm-browser/rng.cjs +0 -2
  1161. package/dist/node_modules/uuid/dist/esm-browser/rng.cjs.map +0 -1
  1162. package/dist/node_modules/uuid/dist/esm-browser/rng.es.js +0 -14
  1163. package/dist/node_modules/uuid/dist/esm-browser/rng.es.js.map +0 -1
  1164. package/dist/node_modules/uuid/dist/esm-browser/stringify.cjs.map +0 -1
  1165. package/dist/node_modules/uuid/dist/esm-browser/stringify.es.js.map +0 -1
  1166. package/dist/node_modules/uuid/dist/esm-browser/v4.cjs +0 -2
  1167. package/dist/node_modules/uuid/dist/esm-browser/v4.cjs.map +0 -1
  1168. package/dist/node_modules/uuid/dist/esm-browser/v4.es.js +0 -16
  1169. package/dist/node_modules/uuid/dist/esm-browser/v4.es.js.map +0 -1
  1170. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.cjs +0 -0
  1171. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.es.js +0 -0
  1172. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.cjs +0 -0
  1173. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.es.js +0 -0
  1174. /package/dist/node_modules/@radix-ui/{react-dialog/node_modules/@radix-ui/react-use-effect-event → react-use-effect-event}/dist/index.cjs +0 -0
  1175. /package/dist/node_modules/@radix-ui/{react-dialog/node_modules/@radix-ui/react-use-effect-event → react-use-effect-event}/dist/index.es.js +0 -0
  1176. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs.map +0 -0
  1177. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js.map +0 -0
  1178. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.cjs +0 -0
  1179. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.es.js +0 -0
  1180. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.cjs +0 -0
  1181. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.es.js +0 -0
  1182. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.cjs +0 -0
  1183. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.es.js +0 -0
  1184. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.cjs +0 -0
  1185. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.es.js +0 -0
  1186. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.cjs +0 -0
  1187. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.es.js +0 -0
  1188. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.cjs +0 -0
  1189. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.es.js +0 -0
  1190. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.cjs +0 -0
  1191. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.es.js +0 -0
  1192. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.cjs +0 -0
  1193. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.es.js +0 -0
  1194. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.cjs +0 -0
  1195. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.es.js +0 -0
  1196. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.cjs +0 -0
  1197. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.es.js +0 -0
  1198. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.cjs +0 -0
  1199. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.es.js +0 -0
  1200. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.cjs +0 -0
  1201. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.es.js +0 -0
  1202. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.cjs +0 -0
  1203. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.es.js +0 -0
  1204. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.cjs +0 -0
  1205. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.es.js +0 -0
  1206. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.cjs +0 -0
  1207. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.es.js +0 -0
  1208. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.cjs +0 -0
  1209. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.es.js +0 -0
  1210. /package/dist/node_modules/uuid/dist/{esm-browser/stringify.cjs → stringify.cjs} +0 -0
  1211. /package/dist/node_modules/uuid/dist/{esm-browser/stringify.es.js → stringify.es.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../../../../node_modules/mdast-util-from-markdown/lib/index.js"],"sourcesContent":["/**\n * @import {\n * Break,\n * Blockquote,\n * Code,\n * Definition,\n * Emphasis,\n * Heading,\n * Html,\n * Image,\n * InlineCode,\n * Link,\n * ListItem,\n * List,\n * Nodes,\n * Paragraph,\n * PhrasingContent,\n * ReferenceType,\n * Root,\n * Strong,\n * Text,\n * ThematicBreak\n * } from 'mdast'\n * @import {\n * Encoding,\n * Event,\n * Token,\n * Value\n * } from 'micromark-util-types'\n * @import {Point} from 'unist'\n * @import {\n * CompileContext,\n * CompileData,\n * Config,\n * Extension,\n * Handle,\n * OnEnterError,\n * Options\n * } from './types.js'\n */\n\nimport { toString } from 'mdast-util-to-string';\nimport { parse, postprocess, preprocess } from 'micromark';\nimport { decodeNumericCharacterReference } from 'micromark-util-decode-numeric-character-reference';\nimport { decodeString } from 'micromark-util-decode-string';\nimport { normalizeIdentifier } from 'micromark-util-normalize-identifier';\nimport { decodeNamedCharacterReference } from 'decode-named-character-reference';\nimport { stringifyPosition } from 'unist-util-stringify-position';\nconst own = {}.hasOwnProperty;\n\n/**\n * Turn markdown into a syntax tree.\n *\n * @overload\n * @param {Value} value\n * @param {Encoding | null | undefined} [encoding]\n * @param {Options | null | undefined} [options]\n * @returns {Root}\n *\n * @overload\n * @param {Value} value\n * @param {Options | null | undefined} [options]\n * @returns {Root}\n *\n * @param {Value} value\n * Markdown to parse.\n * @param {Encoding | Options | null | undefined} [encoding]\n * Character encoding for when `value` is `Buffer`.\n * @param {Options | null | undefined} [options]\n * Configuration.\n * @returns {Root}\n * mdast tree.\n */\nexport function fromMarkdown(value, encoding, options) {\n if (typeof encoding !== 'string') {\n options = encoding;\n encoding = undefined;\n }\n return compiler(options)(postprocess(parse(options).document().write(preprocess()(value, encoding, true))));\n}\n\n/**\n * Note this compiler only understand complete buffering, not streaming.\n *\n * @param {Options | null | undefined} [options]\n */\nfunction compiler(options) {\n /** @type {Config} */\n const config = {\n transforms: [],\n canContainEols: ['emphasis', 'fragment', 'heading', 'paragraph', 'strong'],\n enter: {\n autolink: opener(link),\n autolinkProtocol: onenterdata,\n autolinkEmail: onenterdata,\n atxHeading: opener(heading),\n blockQuote: opener(blockQuote),\n characterEscape: onenterdata,\n characterReference: onenterdata,\n codeFenced: opener(codeFlow),\n codeFencedFenceInfo: buffer,\n codeFencedFenceMeta: buffer,\n codeIndented: opener(codeFlow, buffer),\n codeText: opener(codeText, buffer),\n codeTextData: onenterdata,\n data: onenterdata,\n codeFlowValue: onenterdata,\n definition: opener(definition),\n definitionDestinationString: buffer,\n definitionLabelString: buffer,\n definitionTitleString: buffer,\n emphasis: opener(emphasis),\n hardBreakEscape: opener(hardBreak),\n hardBreakTrailing: opener(hardBreak),\n htmlFlow: opener(html, buffer),\n htmlFlowData: onenterdata,\n htmlText: opener(html, buffer),\n htmlTextData: onenterdata,\n image: opener(image),\n label: buffer,\n link: opener(link),\n listItem: opener(listItem),\n listItemValue: onenterlistitemvalue,\n listOrdered: opener(list, onenterlistordered),\n listUnordered: opener(list),\n paragraph: opener(paragraph),\n reference: onenterreference,\n referenceString: buffer,\n resourceDestinationString: buffer,\n resourceTitleString: buffer,\n setextHeading: opener(heading),\n strong: opener(strong),\n thematicBreak: opener(thematicBreak)\n },\n exit: {\n atxHeading: closer(),\n atxHeadingSequence: onexitatxheadingsequence,\n autolink: closer(),\n autolinkEmail: onexitautolinkemail,\n autolinkProtocol: onexitautolinkprotocol,\n blockQuote: closer(),\n characterEscapeValue: onexitdata,\n characterReferenceMarkerHexadecimal: onexitcharacterreferencemarker,\n characterReferenceMarkerNumeric: onexitcharacterreferencemarker,\n characterReferenceValue: onexitcharacterreferencevalue,\n characterReference: onexitcharacterreference,\n codeFenced: closer(onexitcodefenced),\n codeFencedFence: onexitcodefencedfence,\n codeFencedFenceInfo: onexitcodefencedfenceinfo,\n codeFencedFenceMeta: onexitcodefencedfencemeta,\n codeFlowValue: onexitdata,\n codeIndented: closer(onexitcodeindented),\n codeText: closer(onexitcodetext),\n codeTextData: onexitdata,\n data: onexitdata,\n definition: closer(),\n definitionDestinationString: onexitdefinitiondestinationstring,\n definitionLabelString: onexitdefinitionlabelstring,\n definitionTitleString: onexitdefinitiontitlestring,\n emphasis: closer(),\n hardBreakEscape: closer(onexithardbreak),\n hardBreakTrailing: closer(onexithardbreak),\n htmlFlow: closer(onexithtmlflow),\n htmlFlowData: onexitdata,\n htmlText: closer(onexithtmltext),\n htmlTextData: onexitdata,\n image: closer(onexitimage),\n label: onexitlabel,\n labelText: onexitlabeltext,\n lineEnding: onexitlineending,\n link: closer(onexitlink),\n listItem: closer(),\n listOrdered: closer(),\n listUnordered: closer(),\n paragraph: closer(),\n referenceString: onexitreferencestring,\n resourceDestinationString: onexitresourcedestinationstring,\n resourceTitleString: onexitresourcetitlestring,\n resource: onexitresource,\n setextHeading: closer(onexitsetextheading),\n setextHeadingLineSequence: onexitsetextheadinglinesequence,\n setextHeadingText: onexitsetextheadingtext,\n strong: closer(),\n thematicBreak: closer()\n }\n };\n configure(config, (options || {}).mdastExtensions || []);\n\n /** @type {CompileData} */\n const data = {};\n return compile;\n\n /**\n * Turn micromark events into an mdast tree.\n *\n * @param {Array<Event>} events\n * Events.\n * @returns {Root}\n * mdast tree.\n */\n function compile(events) {\n /** @type {Root} */\n let tree = {\n type: 'root',\n children: []\n };\n /** @type {Omit<CompileContext, 'sliceSerialize'>} */\n const context = {\n stack: [tree],\n tokenStack: [],\n config,\n enter,\n exit,\n buffer,\n resume,\n data\n };\n /** @type {Array<number>} */\n const listStack = [];\n let index = -1;\n while (++index < events.length) {\n // We preprocess lists to add `listItem` tokens, and to infer whether\n // items the list itself are spread out.\n if (events[index][1].type === \"listOrdered\" || events[index][1].type === \"listUnordered\") {\n if (events[index][0] === 'enter') {\n listStack.push(index);\n } else {\n const tail = listStack.pop();\n index = prepareList(events, tail, index);\n }\n }\n }\n index = -1;\n while (++index < events.length) {\n const handler = config[events[index][0]];\n if (own.call(handler, events[index][1].type)) {\n handler[events[index][1].type].call(Object.assign({\n sliceSerialize: events[index][2].sliceSerialize\n }, context), events[index][1]);\n }\n }\n\n // Handle tokens still being open.\n if (context.tokenStack.length > 0) {\n const tail = context.tokenStack[context.tokenStack.length - 1];\n const handler = tail[1] || defaultOnError;\n handler.call(context, undefined, tail[0]);\n }\n\n // Figure out `root` position.\n tree.position = {\n start: point(events.length > 0 ? events[0][1].start : {\n line: 1,\n column: 1,\n offset: 0\n }),\n end: point(events.length > 0 ? events[events.length - 2][1].end : {\n line: 1,\n column: 1,\n offset: 0\n })\n };\n\n // Call transforms.\n index = -1;\n while (++index < config.transforms.length) {\n tree = config.transforms[index](tree) || tree;\n }\n return tree;\n }\n\n /**\n * @param {Array<Event>} events\n * @param {number} start\n * @param {number} length\n * @returns {number}\n */\n function prepareList(events, start, length) {\n let index = start - 1;\n let containerBalance = -1;\n let listSpread = false;\n /** @type {Token | undefined} */\n let listItem;\n /** @type {number | undefined} */\n let lineIndex;\n /** @type {number | undefined} */\n let firstBlankLineIndex;\n /** @type {boolean | undefined} */\n let atMarker;\n while (++index <= length) {\n const event = events[index];\n switch (event[1].type) {\n case \"listUnordered\":\n case \"listOrdered\":\n case \"blockQuote\":\n {\n if (event[0] === 'enter') {\n containerBalance++;\n } else {\n containerBalance--;\n }\n atMarker = undefined;\n break;\n }\n case \"lineEndingBlank\":\n {\n if (event[0] === 'enter') {\n if (listItem && !atMarker && !containerBalance && !firstBlankLineIndex) {\n firstBlankLineIndex = index;\n }\n atMarker = undefined;\n }\n break;\n }\n case \"linePrefix\":\n case \"listItemValue\":\n case \"listItemMarker\":\n case \"listItemPrefix\":\n case \"listItemPrefixWhitespace\":\n {\n // Empty.\n\n break;\n }\n default:\n {\n atMarker = undefined;\n }\n }\n if (!containerBalance && event[0] === 'enter' && event[1].type === \"listItemPrefix\" || containerBalance === -1 && event[0] === 'exit' && (event[1].type === \"listUnordered\" || event[1].type === \"listOrdered\")) {\n if (listItem) {\n let tailIndex = index;\n lineIndex = undefined;\n while (tailIndex--) {\n const tailEvent = events[tailIndex];\n if (tailEvent[1].type === \"lineEnding\" || tailEvent[1].type === \"lineEndingBlank\") {\n if (tailEvent[0] === 'exit') continue;\n if (lineIndex) {\n events[lineIndex][1].type = \"lineEndingBlank\";\n listSpread = true;\n }\n tailEvent[1].type = \"lineEnding\";\n lineIndex = tailIndex;\n } else if (tailEvent[1].type === \"linePrefix\" || tailEvent[1].type === \"blockQuotePrefix\" || tailEvent[1].type === \"blockQuotePrefixWhitespace\" || tailEvent[1].type === \"blockQuoteMarker\" || tailEvent[1].type === \"listItemIndent\") {\n // Empty\n } else {\n break;\n }\n }\n if (firstBlankLineIndex && (!lineIndex || firstBlankLineIndex < lineIndex)) {\n listItem._spread = true;\n }\n\n // Fix position.\n listItem.end = Object.assign({}, lineIndex ? events[lineIndex][1].start : event[1].end);\n events.splice(lineIndex || index, 0, ['exit', listItem, event[2]]);\n index++;\n length++;\n }\n\n // Create a new list item.\n if (event[1].type === \"listItemPrefix\") {\n /** @type {Token} */\n const item = {\n type: 'listItem',\n _spread: false,\n start: Object.assign({}, event[1].start),\n // @ts-expect-error: we’ll add `end` in a second.\n end: undefined\n };\n listItem = item;\n events.splice(index, 0, ['enter', item, event[2]]);\n index++;\n length++;\n firstBlankLineIndex = undefined;\n atMarker = true;\n }\n }\n }\n events[start][1]._spread = listSpread;\n return length;\n }\n\n /**\n * Create an opener handle.\n *\n * @param {(token: Token) => Nodes} create\n * Create a node.\n * @param {Handle | undefined} [and]\n * Optional function to also run.\n * @returns {Handle}\n * Handle.\n */\n function opener(create, and) {\n return open;\n\n /**\n * @this {CompileContext}\n * @param {Token} token\n * @returns {undefined}\n */\n function open(token) {\n enter.call(this, create(token), token);\n if (and) and.call(this, token);\n }\n }\n\n /**\n * @type {CompileContext['buffer']}\n */\n function buffer() {\n this.stack.push({\n type: 'fragment',\n children: []\n });\n }\n\n /**\n * @type {CompileContext['enter']}\n */\n function enter(node, token, errorHandler) {\n const parent = this.stack[this.stack.length - 1];\n /** @type {Array<Nodes>} */\n const siblings = parent.children;\n siblings.push(node);\n this.stack.push(node);\n this.tokenStack.push([token, errorHandler || undefined]);\n node.position = {\n start: point(token.start),\n // @ts-expect-error: `end` will be patched later.\n end: undefined\n };\n }\n\n /**\n * Create a closer handle.\n *\n * @param {Handle | undefined} [and]\n * Optional function to also run.\n * @returns {Handle}\n * Handle.\n */\n function closer(and) {\n return close;\n\n /**\n * @this {CompileContext}\n * @param {Token} token\n * @returns {undefined}\n */\n function close(token) {\n if (and) and.call(this, token);\n exit.call(this, token);\n }\n }\n\n /**\n * @type {CompileContext['exit']}\n */\n function exit(token, onExitError) {\n const node = this.stack.pop();\n const open = this.tokenStack.pop();\n if (!open) {\n throw new Error('Cannot close `' + token.type + '` (' + stringifyPosition({\n start: token.start,\n end: token.end\n }) + '): it’s not open');\n } else if (open[0].type !== token.type) {\n if (onExitError) {\n onExitError.call(this, token, open[0]);\n } else {\n const handler = open[1] || defaultOnError;\n handler.call(this, token, open[0]);\n }\n }\n node.position.end = point(token.end);\n }\n\n /**\n * @type {CompileContext['resume']}\n */\n function resume() {\n return toString(this.stack.pop());\n }\n\n //\n // Handlers.\n //\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onenterlistordered() {\n this.data.expectingFirstListItemValue = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onenterlistitemvalue(token) {\n if (this.data.expectingFirstListItemValue) {\n const ancestor = this.stack[this.stack.length - 2];\n ancestor.start = Number.parseInt(this.sliceSerialize(token), 10);\n this.data.expectingFirstListItemValue = undefined;\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefencedfenceinfo() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.lang = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefencedfencemeta() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.meta = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefencedfence() {\n // Exit if this is the closing fence.\n if (this.data.flowCodeInside) return;\n this.buffer();\n this.data.flowCodeInside = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefenced() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data.replace(/^(\\r?\\n|\\r)|(\\r?\\n|\\r)$/g, '');\n this.data.flowCodeInside = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodeindented() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data.replace(/(\\r?\\n|\\r)$/g, '');\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitdefinitionlabelstring(token) {\n const label = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.label = label;\n node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitdefinitiontitlestring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.title = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitdefinitiondestinationstring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.url = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitatxheadingsequence(token) {\n const node = this.stack[this.stack.length - 1];\n if (!node.depth) {\n const depth = this.sliceSerialize(token).length;\n node.depth = depth;\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitsetextheadingtext() {\n this.data.setextHeadingSlurpLineEnding = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitsetextheadinglinesequence(token) {\n const node = this.stack[this.stack.length - 1];\n node.depth = this.sliceSerialize(token).codePointAt(0) === 61 ? 1 : 2;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitsetextheading() {\n this.data.setextHeadingSlurpLineEnding = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onenterdata(token) {\n const node = this.stack[this.stack.length - 1];\n /** @type {Array<Nodes>} */\n const siblings = node.children;\n let tail = siblings[siblings.length - 1];\n if (!tail || tail.type !== 'text') {\n // Add a new text node.\n tail = text();\n tail.position = {\n start: point(token.start),\n // @ts-expect-error: we’ll add `end` later.\n end: undefined\n };\n siblings.push(tail);\n }\n this.stack.push(tail);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitdata(token) {\n const tail = this.stack.pop();\n tail.value += this.sliceSerialize(token);\n tail.position.end = point(token.end);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlineending(token) {\n const context = this.stack[this.stack.length - 1];\n // If we’re at a hard break, include the line ending in there.\n if (this.data.atHardBreak) {\n const tail = context.children[context.children.length - 1];\n tail.position.end = point(token.end);\n this.data.atHardBreak = undefined;\n return;\n }\n if (!this.data.setextHeadingSlurpLineEnding && config.canContainEols.includes(context.type)) {\n onenterdata.call(this, token);\n onexitdata.call(this, token);\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexithardbreak() {\n this.data.atHardBreak = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexithtmlflow() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexithtmltext() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitcodetext() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlink() {\n const node = this.stack[this.stack.length - 1];\n // Note: there are also `identifier` and `label` fields on this link node!\n // These are used / cleaned here.\n\n // To do: clean.\n if (this.data.inReference) {\n /** @type {ReferenceType} */\n const referenceType = this.data.referenceType || 'shortcut';\n node.type += 'Reference';\n // @ts-expect-error: mutate.\n node.referenceType = referenceType;\n // @ts-expect-error: mutate.\n delete node.url;\n delete node.title;\n } else {\n // @ts-expect-error: mutate.\n delete node.identifier;\n // @ts-expect-error: mutate.\n delete node.label;\n }\n this.data.referenceType = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitimage() {\n const node = this.stack[this.stack.length - 1];\n // Note: there are also `identifier` and `label` fields on this link node!\n // These are used / cleaned here.\n\n // To do: clean.\n if (this.data.inReference) {\n /** @type {ReferenceType} */\n const referenceType = this.data.referenceType || 'shortcut';\n node.type += 'Reference';\n // @ts-expect-error: mutate.\n node.referenceType = referenceType;\n // @ts-expect-error: mutate.\n delete node.url;\n delete node.title;\n } else {\n // @ts-expect-error: mutate.\n delete node.identifier;\n // @ts-expect-error: mutate.\n delete node.label;\n }\n this.data.referenceType = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlabeltext(token) {\n const string = this.sliceSerialize(token);\n const ancestor = this.stack[this.stack.length - 2];\n // @ts-expect-error: stash this on the node, as it might become a reference\n // later.\n ancestor.label = decodeString(string);\n // @ts-expect-error: same as above.\n ancestor.identifier = normalizeIdentifier(string).toLowerCase();\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlabel() {\n const fragment = this.stack[this.stack.length - 1];\n const value = this.resume();\n const node = this.stack[this.stack.length - 1];\n // Assume a reference.\n this.data.inReference = true;\n if (node.type === 'link') {\n /** @type {Array<PhrasingContent>} */\n const children = fragment.children;\n node.children = children;\n } else {\n node.alt = value;\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitresourcedestinationstring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.url = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitresourcetitlestring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.title = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitresource() {\n this.data.inReference = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onenterreference() {\n this.data.referenceType = 'collapsed';\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitreferencestring(token) {\n const label = this.resume();\n const node = this.stack[this.stack.length - 1];\n // @ts-expect-error: stash this on the node, as it might become a reference\n // later.\n node.label = label;\n // @ts-expect-error: same as above.\n node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();\n this.data.referenceType = 'full';\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitcharacterreferencemarker(token) {\n this.data.characterReferenceType = token.type;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcharacterreferencevalue(token) {\n const data = this.sliceSerialize(token);\n const type = this.data.characterReferenceType;\n /** @type {string} */\n let value;\n if (type) {\n value = decodeNumericCharacterReference(data, type === \"characterReferenceMarkerNumeric\" ? 10 : 16);\n this.data.characterReferenceType = undefined;\n } else {\n const result = decodeNamedCharacterReference(data);\n value = result;\n }\n const tail = this.stack[this.stack.length - 1];\n tail.value += value;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcharacterreference(token) {\n const tail = this.stack.pop();\n tail.position.end = point(token.end);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitautolinkprotocol(token) {\n onexitdata.call(this, token);\n const node = this.stack[this.stack.length - 1];\n node.url = this.sliceSerialize(token);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitautolinkemail(token) {\n onexitdata.call(this, token);\n const node = this.stack[this.stack.length - 1];\n node.url = 'mailto:' + this.sliceSerialize(token);\n }\n\n //\n // Creaters.\n //\n\n /** @returns {Blockquote} */\n function blockQuote() {\n return {\n type: 'blockquote',\n children: []\n };\n }\n\n /** @returns {Code} */\n function codeFlow() {\n return {\n type: 'code',\n lang: null,\n meta: null,\n value: ''\n };\n }\n\n /** @returns {InlineCode} */\n function codeText() {\n return {\n type: 'inlineCode',\n value: ''\n };\n }\n\n /** @returns {Definition} */\n function definition() {\n return {\n type: 'definition',\n identifier: '',\n label: null,\n title: null,\n url: ''\n };\n }\n\n /** @returns {Emphasis} */\n function emphasis() {\n return {\n type: 'emphasis',\n children: []\n };\n }\n\n /** @returns {Heading} */\n function heading() {\n return {\n type: 'heading',\n // @ts-expect-error `depth` will be set later.\n depth: 0,\n children: []\n };\n }\n\n /** @returns {Break} */\n function hardBreak() {\n return {\n type: 'break'\n };\n }\n\n /** @returns {Html} */\n function html() {\n return {\n type: 'html',\n value: ''\n };\n }\n\n /** @returns {Image} */\n function image() {\n return {\n type: 'image',\n title: null,\n url: '',\n alt: null\n };\n }\n\n /** @returns {Link} */\n function link() {\n return {\n type: 'link',\n title: null,\n url: '',\n children: []\n };\n }\n\n /**\n * @param {Token} token\n * @returns {List}\n */\n function list(token) {\n return {\n type: 'list',\n ordered: token.type === 'listOrdered',\n start: null,\n spread: token._spread,\n children: []\n };\n }\n\n /**\n * @param {Token} token\n * @returns {ListItem}\n */\n function listItem(token) {\n return {\n type: 'listItem',\n spread: token._spread,\n checked: null,\n children: []\n };\n }\n\n /** @returns {Paragraph} */\n function paragraph() {\n return {\n type: 'paragraph',\n children: []\n };\n }\n\n /** @returns {Strong} */\n function strong() {\n return {\n type: 'strong',\n children: []\n };\n }\n\n /** @returns {Text} */\n function text() {\n return {\n type: 'text',\n value: ''\n };\n }\n\n /** @returns {ThematicBreak} */\n function thematicBreak() {\n return {\n type: 'thematicBreak'\n };\n }\n}\n\n/**\n * Copy a point-like value.\n *\n * @param {Point} d\n * Point-like value.\n * @returns {Point}\n * unist point.\n */\nfunction point(d) {\n return {\n line: d.line,\n column: d.column,\n offset: d.offset\n };\n}\n\n/**\n * @param {Config} combined\n * @param {Array<Array<Extension> | Extension>} extensions\n * @returns {undefined}\n */\nfunction configure(combined, extensions) {\n let index = -1;\n while (++index < extensions.length) {\n const value = extensions[index];\n if (Array.isArray(value)) {\n configure(combined, value);\n } else {\n extension(combined, value);\n }\n }\n}\n\n/**\n * @param {Config} combined\n * @param {Extension} extension\n * @returns {undefined}\n */\nfunction extension(combined, extension) {\n /** @type {keyof Extension} */\n let key;\n for (key in extension) {\n if (own.call(extension, key)) {\n switch (key) {\n case 'canContainEols':\n {\n const right = extension[key];\n if (right) {\n combined[key].push(...right);\n }\n break;\n }\n case 'transforms':\n {\n const right = extension[key];\n if (right) {\n combined[key].push(...right);\n }\n break;\n }\n case 'enter':\n case 'exit':\n {\n const right = extension[key];\n if (right) {\n Object.assign(combined[key], right);\n }\n break;\n }\n // No default\n }\n }\n }\n}\n\n/** @type {OnEnterError} */\nfunction defaultOnError(left, right) {\n if (left) {\n throw new Error('Cannot close `' + left.type + '` (' + stringifyPosition({\n start: left.start,\n end: left.end\n }) + '): a different token (`' + right.type + '`, ' + stringifyPosition({\n start: right.start,\n end: right.end\n }) + ') is open');\n } else {\n throw new Error('Cannot close document, a token (`' + right.type + '`, ' + stringifyPosition({\n start: right.start,\n end: right.end\n }) + ') is still open');\n }\n}"],"names":["own","fromMarkdown","value","encoding","options","compiler","postprocess","parse","preprocess","config","opener","link","onenterdata","heading","blockQuote","codeFlow","buffer","codeText","definition","emphasis","hardBreak","html","image","listItem","onenterlistitemvalue","list","onenterlistordered","paragraph","onenterreference","strong","thematicBreak","closer","onexitatxheadingsequence","onexitautolinkemail","onexitautolinkprotocol","onexitdata","onexitcharacterreferencemarker","onexitcharacterreferencevalue","onexitcharacterreference","onexitcodefenced","onexitcodefencedfence","onexitcodefencedfenceinfo","onexitcodefencedfencemeta","onexitcodeindented","onexitcodetext","onexitdefinitiondestinationstring","onexitdefinitionlabelstring","onexitdefinitiontitlestring","onexithardbreak","onexithtmlflow","onexithtmltext","onexitimage","onexitlabel","onexitlabeltext","onexitlineending","onexitlink","onexitreferencestring","onexitresourcedestinationstring","onexitresourcetitlestring","onexitresource","onexitsetextheading","onexitsetextheadinglinesequence","onexitsetextheadingtext","configure","data","compile","events","tree","context","enter","exit","resume","listStack","index","tail","prepareList","handler","defaultOnError","point","start","length","containerBalance","listSpread","lineIndex","firstBlankLineIndex","atMarker","event","tailIndex","tailEvent","item","create","and","open","token","node","errorHandler","close","onExitError","stringifyPosition","toString","ancestor","label","normalizeIdentifier","depth","siblings","text","referenceType","string","decodeString","fragment","children","type","decodeNumericCharacterReference","decodeNamedCharacterReference","d","combined","extensions","extension","key","right","left"],"mappings":";;;;;;;;;AAgDA,MAAMA,IAAM,CAAA,EAAG;AAyBR,SAASC,GAAaC,GAAOC,GAAUC,GAAS;AACrD,SAAI,OAAOD,KAAa,aACtBC,IAAUD,GACVA,IAAW,SAENE,GAASD,CAAO,EAAEE,GAAYC,GAAMH,CAAO,EAAE,SAAQ,EAAG,MAAMI,GAAU,EAAGN,GAAOC,GAAU,EAAI,CAAC,CAAC,CAAC;AAC5G;AAOA,SAASE,GAASD,GAAS;AAEzB,QAAMK,IAAS;AAAA,IACb,YAAY,CAAA;AAAA,IACZ,gBAAgB,CAAC,YAAY,YAAY,WAAW,aAAa,QAAQ;AAAA,IACzE,OAAO;AAAA,MACL,UAAUC,EAAOC,CAAI;AAAA,MACrB,kBAAkBC;AAAA,MAClB,eAAeA;AAAA,MACf,YAAYF,EA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EzBmH,GAAUF,GAAUjH,CAAK;AAAA,EAE7B;AACF;AAOA,SAASmH,GAAUF,GAAUE,GAAW;AAEtC,MAAIC;AACJ,OAAKA,KAAOD;AACV,QAAIrH,EAAI,KAAKqH,GAAWC,CAAG;AACzB,cAAQA,GAAG;AAAA,QACT,KAAK,kBACH;AACE,gBAAMC,IAAQF,EAAUC,CAAG;AAC3B,UAAIC,KACFJ,EAASG,CAAG,EAAE,KAAK,GAAGC,CAAK;AAE7B;AAAA,QACF;AAAA,QACF,KAAK,cACH;AACE,gBAAMA,IAAQF,EAAUC,CAAG;AAC3B,UAAIC,KACFJ,EAASG,CAAG,EAAE,KAAK,GAAGC,CAAK;AAE7B;AAAA,QACF;AAAA,QACF,KAAK;AAAA,QACL,KAAK,QACH;AACE,gBAAMA,IAAQF,EAAUC,CAAG;AAC3B,UAAIC,KACF,OAAO,OAAOJ,EAASG,CAAG,GAAGC,CAAK;AAEpC;AAAA,QACF;AAAA,MAEV;AAGA;AAGA,SAAS1C,EAAe2C,GAAMD,GAAO;AACnC,QAAIC,IACI,IAAI,MAAM,mBAAmBA,EAAK,OAAO,QAAQtB,EAAkB;AAAA,IACvE,OAAOsB,EAAK;AAAA,IACZ,KAAKA,EAAK;AAAA,EAChB,CAAK,IAAI,4BAA4BD,EAAM,OAAO,QAAQrB,EAAkB;AAAA,IACtE,OAAOqB,EAAM;AAAA,IACb,KAAKA,EAAM;AAAA,EACjB,CAAK,IAAI,WAAW,IAEV,IAAI,MAAM,sCAAsCA,EAAM,OAAO,QAAQrB,EAAkB;AAAA,IAC3F,OAAOqB,EAAM;AAAA,IACb,KAAKA,EAAM;AAAA,EACjB,CAAK,IAAI,iBAAiB;AAE1B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es.js","sources":["../../../../node_modules/mdast-util-from-markdown/lib/index.js"],"sourcesContent":["/**\n * @import {\n * Break,\n * Blockquote,\n * Code,\n * Definition,\n * Emphasis,\n * Heading,\n * Html,\n * Image,\n * InlineCode,\n * Link,\n * ListItem,\n * List,\n * Nodes,\n * Paragraph,\n * PhrasingContent,\n * ReferenceType,\n * Root,\n * Strong,\n * Text,\n * ThematicBreak\n * } from 'mdast'\n * @import {\n * Encoding,\n * Event,\n * Token,\n * Value\n * } from 'micromark-util-types'\n * @import {Point} from 'unist'\n * @import {\n * CompileContext,\n * CompileData,\n * Config,\n * Extension,\n * Handle,\n * OnEnterError,\n * Options\n * } from './types.js'\n */\n\nimport { toString } from 'mdast-util-to-string';\nimport { parse, postprocess, preprocess } from 'micromark';\nimport { decodeNumericCharacterReference } from 'micromark-util-decode-numeric-character-reference';\nimport { decodeString } from 'micromark-util-decode-string';\nimport { normalizeIdentifier } from 'micromark-util-normalize-identifier';\nimport { decodeNamedCharacterReference } from 'decode-named-character-reference';\nimport { stringifyPosition } from 'unist-util-stringify-position';\nconst own = {}.hasOwnProperty;\n\n/**\n * Turn markdown into a syntax tree.\n *\n * @overload\n * @param {Value} value\n * @param {Encoding | null | undefined} [encoding]\n * @param {Options | null | undefined} [options]\n * @returns {Root}\n *\n * @overload\n * @param {Value} value\n * @param {Options | null | undefined} [options]\n * @returns {Root}\n *\n * @param {Value} value\n * Markdown to parse.\n * @param {Encoding | Options | null | undefined} [encoding]\n * Character encoding for when `value` is `Buffer`.\n * @param {Options | null | undefined} [options]\n * Configuration.\n * @returns {Root}\n * mdast tree.\n */\nexport function fromMarkdown(value, encoding, options) {\n if (encoding && typeof encoding === 'object') {\n options = encoding;\n encoding = undefined;\n }\n return compiler(options)(postprocess(parse(options).document().write(preprocess()(value, encoding, true))));\n}\n\n/**\n * Note this compiler only understand complete buffering, not streaming.\n *\n * @param {Options | null | undefined} [options]\n */\nfunction compiler(options) {\n /** @type {Config} */\n const config = {\n afterExit: [],\n beforeEnter: [],\n transforms: [],\n canContainEols: ['emphasis', 'fragment', 'heading', 'paragraph', 'strong'],\n enter: {\n autolink: opener(link),\n autolinkProtocol: onenterdata,\n autolinkEmail: onenterdata,\n atxHeading: opener(heading),\n blockQuote: opener(blockQuote),\n characterEscape: onenterdata,\n characterReference: onenterdata,\n codeFenced: opener(codeFlow),\n codeFencedFenceInfo: buffer,\n codeFencedFenceMeta: buffer,\n codeIndented: opener(codeFlow, buffer),\n codeText: opener(codeText, buffer),\n codeTextData: onenterdata,\n data: onenterdata,\n codeFlowValue: onenterdata,\n definition: opener(definition),\n definitionDestinationString: buffer,\n definitionLabelString: buffer,\n definitionTitleString: buffer,\n emphasis: opener(emphasis),\n hardBreakEscape: opener(hardBreak),\n hardBreakTrailing: opener(hardBreak),\n htmlFlow: opener(html, buffer),\n htmlFlowData: onenterdata,\n htmlText: opener(html, buffer),\n htmlTextData: onenterdata,\n image: opener(image),\n label: buffer,\n link: opener(link),\n listItem: opener(listItem),\n listItemValue: onenterlistitemvalue,\n listOrdered: opener(list, onenterlistordered),\n listUnordered: opener(list),\n paragraph: opener(paragraph),\n reference: onenterreference,\n referenceString: buffer,\n resourceDestinationString: buffer,\n resourceTitleString: buffer,\n setextHeading: opener(heading),\n strong: opener(strong),\n thematicBreak: opener(thematicBreak)\n },\n exit: {\n atxHeading: closer(),\n atxHeadingSequence: onexitatxheadingsequence,\n autolink: closer(),\n autolinkEmail: onexitautolinkemail,\n autolinkProtocol: onexitautolinkprotocol,\n blockQuote: closer(),\n characterEscapeValue: onexitdata,\n characterReferenceMarkerHexadecimal: onexitcharacterreferencemarker,\n characterReferenceMarkerNumeric: onexitcharacterreferencemarker,\n characterReferenceValue: onexitcharacterreferencevalue,\n characterReference: onexitcharacterreference,\n codeFenced: closer(onexitcodefenced),\n codeFencedFence: onexitcodefencedfence,\n codeFencedFenceInfo: onexitcodefencedfenceinfo,\n codeFencedFenceMeta: onexitcodefencedfencemeta,\n codeFlowValue: onexitdata,\n codeIndented: closer(onexitcodeindented),\n codeText: closer(onexitcodetext),\n codeTextData: onexitdata,\n data: onexitdata,\n definition: closer(),\n definitionDestinationString: onexitdefinitiondestinationstring,\n definitionLabelString: onexitdefinitionlabelstring,\n definitionTitleString: onexitdefinitiontitlestring,\n emphasis: closer(),\n hardBreakEscape: closer(onexithardbreak),\n hardBreakTrailing: closer(onexithardbreak),\n htmlFlow: closer(onexithtmlflow),\n htmlFlowData: onexitdata,\n htmlText: closer(onexithtmltext),\n htmlTextData: onexitdata,\n image: closer(onexitimage),\n label: onexitlabel,\n labelText: onexitlabeltext,\n lineEnding: onexitlineending,\n link: closer(onexitlink),\n listItem: closer(),\n listOrdered: closer(),\n listUnordered: closer(),\n paragraph: closer(),\n referenceString: onexitreferencestring,\n resourceDestinationString: onexitresourcedestinationstring,\n resourceTitleString: onexitresourcetitlestring,\n resource: onexitresource,\n setextHeading: closer(onexitsetextheading),\n setextHeadingLineSequence: onexitsetextheadinglinesequence,\n setextHeadingText: onexitsetextheadingtext,\n strong: closer(),\n thematicBreak: closer()\n }\n };\n configure(config, (options || {}).mdastExtensions || []);\n\n /** @type {CompileData} */\n const data = {};\n return compile;\n\n /**\n * Turn micromark events into an mdast tree.\n *\n * @param {Array<Event>} events\n * Events.\n * @returns {Root}\n * mdast tree.\n */\n function compile(events) {\n /** @type {Root} */\n let tree = {\n type: 'root',\n children: [],\n position: undefined\n };\n /** @type {Omit<CompileContext, 'sliceSerialize'>} */\n const context = {\n stack: [tree],\n tokenStack: [],\n config,\n enter,\n exit,\n buffer,\n resume,\n data\n };\n /** @type {Array<number>} */\n const listStack = [];\n /** @type {Array<Event>} */\n const prepared = [];\n let index = -1;\n\n // Add `listItem` tokens and infer spread.\n // Each list is prepared while it is last in `prepared`, so nothing shifts.\n while (++index < events.length) {\n prepared.push(events[index]);\n if (events[index][1].type === \"listOrdered\" || events[index][1].type === \"listUnordered\") {\n if (events[index][0] === 'enter') {\n listStack.push(prepared.length - 1);\n } else {\n const tail = listStack.pop();\n prepareList(prepared, tail);\n }\n }\n }\n events = prepared;\n index = -1;\n while (++index < events.length) {\n const handler = config[events[index][0]];\n if (events[index][0] === 'enter' && config.beforeEnter.length > 0) {\n callListeners(config.beforeEnter, {\n ...context,\n sliceSerialize: events[index][2].sliceSerialize\n }, events[index][1]);\n }\n if (own.call(handler, events[index][1].type)) {\n // Note: spread first, V8 has optimizations for object shape cloning.\n handler[events[index][1].type].call({\n ...context,\n sliceSerialize: events[index][2].sliceSerialize\n }, events[index][1]);\n }\n if (events[index][0] === 'exit' && config.afterExit.length > 0) {\n callListeners(config.afterExit, {\n ...context,\n sliceSerialize: events[index][2].sliceSerialize\n }, events[index][1]);\n }\n }\n\n // Handle tokens still being open.\n if (context.tokenStack.length > 0) {\n const tail = context.tokenStack[context.tokenStack.length - 1];\n const handler = tail[1] || defaultOnError;\n handler.call(context, undefined, tail[0]);\n }\n\n // Figure out `root` position.\n tree.position = {\n start: point(events.length > 0 ? events[0][1].start : {\n line: 1,\n column: 1,\n offset: 0\n }),\n end: point(events.length > 0 ? events[events.length - 2][1].end : {\n line: 1,\n column: 1,\n offset: 0\n })\n };\n\n // Call transforms.\n index = -1;\n while (++index < config.transforms.length) {\n tree = config.transforms[index](tree) || tree;\n }\n return tree;\n }\n\n /**\n * @param {Array<Handle>} listeners\n * Listeners.\n * @param {CompileContext} context\n * Context.\n * @param {Token} token\n * Token.\n * @returns {undefined}\n * Nothing.\n */\n function callListeners(listeners, context, token) {\n let index = -1;\n while (++index < listeners.length) {\n listeners[index].call(context, token);\n }\n }\n\n /**\n * @param {Array<Event>} events\n * Events, ending with the list to prepare.\n * @param {number} start\n * Index of the list enter.\n * @returns {undefined}\n */\n function prepareList(events, start) {\n const end = events.length - 1;\n let index = start - 1;\n let containerBalance = -1;\n let listSpread = false;\n /** @type {Token | undefined} */\n let listItem;\n /** @type {number | undefined} */\n let lineIndex;\n /** @type {number | undefined} */\n let firstBlankLineIndex;\n /** @type {boolean | undefined} */\n let atMarker;\n /**\n * `listItem` events to insert before the event at `at`, in walk order.\n * Merged in after the walk, as inserting while walking would shift the\n * rest of the list once per item.\n * @type {Array<{at: number, event: Event}>}\n */\n const insertions = [];\n while (++index <= end) {\n const event = events[index];\n switch (event[1].type) {\n case \"listUnordered\":\n case \"listOrdered\":\n case \"blockQuote\":\n {\n if (event[0] === 'enter') {\n containerBalance++;\n } else {\n containerBalance--;\n }\n atMarker = undefined;\n break;\n }\n case \"lineEndingBlank\":\n {\n if (event[0] === 'enter') {\n if (listItem && !atMarker && !containerBalance && !firstBlankLineIndex) {\n firstBlankLineIndex = index;\n }\n atMarker = undefined;\n }\n break;\n }\n case \"linePrefix\":\n case \"listItemValue\":\n case \"listItemMarker\":\n case \"listItemPrefix\":\n case \"listItemPrefixWhitespace\":\n {\n // Empty.\n\n break;\n }\n default:\n {\n atMarker = undefined;\n }\n }\n if (!containerBalance && event[0] === 'enter' && event[1].type === \"listItemPrefix\" || containerBalance === -1 && event[0] === 'exit' && (event[1].type === \"listUnordered\" || event[1].type === \"listOrdered\")) {\n if (listItem) {\n let tailIndex = index;\n lineIndex = undefined;\n while (tailIndex--) {\n const tailEvent = events[tailIndex];\n if (tailEvent[1].type === \"lineEnding\" || tailEvent[1].type === \"lineEndingBlank\") {\n if (tailEvent[0] === 'exit') continue;\n if (lineIndex) {\n events[lineIndex][1].type = \"lineEndingBlank\";\n listSpread = true;\n }\n tailEvent[1].type = \"lineEnding\";\n lineIndex = tailIndex;\n } else if (tailEvent[1].type === \"linePrefix\" || tailEvent[1].type === \"blockQuotePrefix\" || tailEvent[1].type === \"blockQuotePrefixWhitespace\" || tailEvent[1].type === \"blockQuoteMarker\" || tailEvent[1].type === \"listItemIndent\") {\n // Empty\n } else {\n break;\n }\n }\n if (firstBlankLineIndex && (!lineIndex || firstBlankLineIndex < lineIndex)) {\n listItem._spread = true;\n }\n\n // Fix position.\n listItem.end = Object.assign({}, lineIndex ? events[lineIndex][1].start : event[1].end);\n insertions.push({\n at: lineIndex || index,\n event: ['exit', listItem, event[2]]\n });\n }\n\n // Create a new list item.\n if (event[1].type === \"listItemPrefix\") {\n /** @type {Token} */\n const item = {\n type: 'listItem',\n _spread: false,\n start: Object.assign({}, event[1].start),\n // @ts-expect-error: we’ll add `end` in a second.\n end: undefined\n };\n listItem = item;\n insertions.push({\n at: index,\n event: ['enter', item, event[2]]\n });\n firstBlankLineIndex = undefined;\n atMarker = true;\n }\n }\n }\n\n // The list is at the end of `events`: take it off, then push it back with\n // the insertions merged in.\n // Nothing follows the list, so nothing shifts.\n const listEvents = events.splice(start);\n let insertion = 0;\n index = -1;\n while (++index < listEvents.length) {\n while (insertion < insertions.length && insertions[insertion].at === start + index) {\n events.push(insertions[insertion++].event);\n }\n events.push(listEvents[index]);\n }\n events[start][1]._spread = listSpread;\n }\n\n /**\n * Create an opener handle.\n *\n * @param {(token: Token) => Nodes} create\n * Create a node.\n * @param {Handle | undefined} [and]\n * Optional function to also run.\n * @returns {Handle}\n * Handle.\n */\n function opener(create, and) {\n return open;\n\n /**\n * @this {CompileContext}\n * @param {Token} token\n * @returns {undefined}\n */\n function open(token) {\n enter.call(this, create(token), token);\n if (and) and.call(this, token);\n }\n }\n\n /**\n * @type {CompileContext['buffer']}\n */\n function buffer() {\n this.stack.push({\n type: 'fragment',\n children: []\n });\n }\n\n /**\n * @type {CompileContext['enter']}\n */\n function enter(node, token, errorHandler) {\n const parent = this.stack[this.stack.length - 1];\n /** @type {Array<Nodes>} */\n const siblings = parent.children;\n siblings.push(node);\n this.stack.push(node);\n this.tokenStack.push([token, errorHandler || undefined]);\n node.position = {\n start: point(token.start),\n // @ts-expect-error: `end` will be patched later.\n end: undefined\n };\n }\n\n /**\n * Create a closer handle.\n *\n * @param {Handle | undefined} [and]\n * Optional function to also run.\n * @returns {Handle}\n * Handle.\n */\n function closer(and) {\n return close;\n\n /**\n * @this {CompileContext}\n * @param {Token} token\n * @returns {undefined}\n */\n function close(token) {\n if (and) and.call(this, token);\n exit.call(this, token);\n }\n }\n\n /**\n * @type {CompileContext['exit']}\n */\n function exit(token, onExitError) {\n const node = this.stack.pop();\n const open = this.tokenStack.pop();\n if (!open) {\n throw new Error('Cannot close `' + token.type + '` (' + stringifyPosition({\n start: token.start,\n end: token.end\n }) + '): it’s not open');\n }\n if (open[0].type !== token.type) {\n if (onExitError) {\n onExitError.call(this, token, open[0]);\n } else {\n const handler = open[1] || defaultOnError;\n handler.call(this, token, open[0]);\n }\n }\n node.position.end = point(token.end);\n }\n\n /**\n * @type {CompileContext['resume']}\n */\n function resume() {\n return toString(this.stack.pop());\n }\n\n //\n // Handlers.\n //\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onenterlistordered() {\n this.data.expectingFirstListItemValue = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onenterlistitemvalue(token) {\n if (this.data.expectingFirstListItemValue) {\n const ancestor = this.stack[this.stack.length - 2];\n ancestor.start = Number.parseInt(this.sliceSerialize(token), 10);\n this.data.expectingFirstListItemValue = undefined;\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefencedfenceinfo() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.lang = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefencedfencemeta() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.meta = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefencedfence() {\n // Exit if this is the closing fence.\n if (this.data.flowCodeInside) return;\n this.buffer();\n this.data.flowCodeInside = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodefenced() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data.replace(/^(\\r?\\n|\\r)|(\\r?\\n|\\r)$/g, '');\n this.data.flowCodeInside = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcodeindented() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data.replace(/(\\r?\\n|\\r)$/g, '');\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitdefinitionlabelstring(token) {\n const label = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.label = label;\n node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitdefinitiontitlestring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.title = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitdefinitiondestinationstring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.url = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitatxheadingsequence(token) {\n const node = this.stack[this.stack.length - 1];\n if (!node.depth) {\n const depth = this.sliceSerialize(token).length;\n node.depth = depth;\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitsetextheadingtext() {\n this.data.setextHeadingSlurpLineEnding = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitsetextheadinglinesequence(token) {\n const node = this.stack[this.stack.length - 1];\n node.depth = this.sliceSerialize(token).codePointAt(0) === 61 ? 1 : 2;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitsetextheading() {\n this.data.setextHeadingSlurpLineEnding = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onenterdata(token) {\n const node = this.stack[this.stack.length - 1];\n /** @type {Array<Nodes>} */\n const siblings = node.children;\n let tail = siblings[siblings.length - 1];\n if (!tail || tail.type !== 'text') {\n // Add a new text node.\n tail = text();\n tail.position = {\n start: point(token.start),\n // @ts-expect-error: we’ll add `end` later.\n end: undefined\n };\n siblings.push(tail);\n }\n this.stack.push(tail);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitdata(token) {\n const tail = this.stack.pop();\n tail.value += this.sliceSerialize(token);\n tail.position.end = point(token.end);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlineending(token) {\n const context = this.stack[this.stack.length - 1];\n // If we’re at a hard break, include the line ending in there.\n if (this.data.atHardBreak) {\n const tail = context.children[context.children.length - 1];\n tail.position.end = point(token.end);\n this.data.atHardBreak = undefined;\n return;\n }\n if (!this.data.setextHeadingSlurpLineEnding && config.canContainEols.includes(context.type)) {\n onenterdata.call(this, token);\n onexitdata.call(this, token);\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexithardbreak() {\n this.data.atHardBreak = true;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexithtmlflow() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexithtmltext() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitcodetext() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.value = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlink() {\n const node = this.stack[this.stack.length - 1];\n // Note: there are also `identifier` and `label` fields on this link node!\n // These are used / cleaned here.\n\n // To do: clean.\n if (this.data.inReference) {\n /** @type {ReferenceType} */\n const referenceType = this.data.referenceType || 'shortcut';\n node.type += 'Reference';\n // @ts-expect-error: mutate.\n node.referenceType = referenceType;\n // @ts-expect-error: mutate.\n delete node.url;\n delete node.title;\n } else {\n // @ts-expect-error: mutate.\n delete node.identifier;\n // @ts-expect-error: mutate.\n delete node.label;\n }\n this.data.referenceType = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitimage() {\n const node = this.stack[this.stack.length - 1];\n // Note: there are also `identifier` and `label` fields on this link node!\n // These are used / cleaned here.\n\n // To do: clean.\n if (this.data.inReference) {\n /** @type {ReferenceType} */\n const referenceType = this.data.referenceType || 'shortcut';\n node.type += 'Reference';\n // @ts-expect-error: mutate.\n node.referenceType = referenceType;\n // @ts-expect-error: mutate.\n delete node.url;\n delete node.title;\n } else {\n // @ts-expect-error: mutate.\n delete node.identifier;\n // @ts-expect-error: mutate.\n delete node.label;\n }\n this.data.referenceType = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlabeltext(token) {\n const string = this.sliceSerialize(token);\n const ancestor = this.stack[this.stack.length - 2];\n // @ts-expect-error: stash this on the node, as it might become a reference\n // later.\n ancestor.label = decodeString(string);\n // @ts-expect-error: same as above.\n ancestor.identifier = normalizeIdentifier(string).toLowerCase();\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitlabel() {\n const fragment = this.stack[this.stack.length - 1];\n const value = this.resume();\n const node = this.stack[this.stack.length - 1];\n // Assume a reference.\n this.data.inReference = true;\n if (node.type === 'link') {\n /** @type {Array<PhrasingContent>} */\n const children = fragment.children;\n node.children = children;\n } else {\n node.alt = value;\n }\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitresourcedestinationstring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.url = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitresourcetitlestring() {\n const data = this.resume();\n const node = this.stack[this.stack.length - 1];\n node.title = data;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitresource() {\n this.data.inReference = undefined;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onenterreference() {\n this.data.referenceType = 'collapsed';\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitreferencestring(token) {\n const label = this.resume();\n const node = this.stack[this.stack.length - 1];\n // @ts-expect-error: stash this on the node, as it might become a reference\n // later.\n node.label = label;\n // @ts-expect-error: same as above.\n node.identifier = normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();\n this.data.referenceType = 'full';\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n\n function onexitcharacterreferencemarker(token) {\n this.data.characterReferenceType = token.type;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcharacterreferencevalue(token) {\n const data = this.sliceSerialize(token);\n const type = this.data.characterReferenceType;\n /** @type {string} */\n let value;\n if (type) {\n value = decodeNumericCharacterReference(data, type === \"characterReferenceMarkerNumeric\" ? 10 : 16);\n this.data.characterReferenceType = undefined;\n } else {\n const result = decodeNamedCharacterReference(data);\n value = result;\n }\n const tail = this.stack[this.stack.length - 1];\n tail.value += value;\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitcharacterreference(token) {\n const tail = this.stack.pop();\n tail.position.end = point(token.end);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitautolinkprotocol(token) {\n onexitdata.call(this, token);\n const node = this.stack[this.stack.length - 1];\n node.url = this.sliceSerialize(token);\n }\n\n /**\n * @this {CompileContext}\n * @type {Handle}\n */\n function onexitautolinkemail(token) {\n onexitdata.call(this, token);\n const node = this.stack[this.stack.length - 1];\n node.url = 'mailto:' + this.sliceSerialize(token);\n }\n\n //\n // Creaters.\n //\n\n // Each node factory pre-declares `position` as undefined as the trailing\n // property. enter() patches it to a real value, but the property already\n // exists, so V8 sees a single hidden class for each node type from\n // construction through the rest of the pipeline. Without the pre-declare,\n // each node took a hidden-class transition when enter() added position.\n\n /** @returns {Blockquote} */\n function blockQuote() {\n return {\n type: 'blockquote',\n children: [],\n position: undefined\n };\n }\n\n /** @returns {Code} */\n function codeFlow() {\n return {\n type: 'code',\n lang: null,\n meta: null,\n value: '',\n position: undefined\n };\n }\n\n /** @returns {InlineCode} */\n function codeText() {\n return {\n type: 'inlineCode',\n value: '',\n position: undefined\n };\n }\n\n /** @returns {Definition} */\n function definition() {\n return {\n type: 'definition',\n identifier: '',\n label: null,\n title: null,\n url: '',\n position: undefined\n };\n }\n\n /** @returns {Emphasis} */\n function emphasis() {\n return {\n type: 'emphasis',\n children: [],\n position: undefined\n };\n }\n\n /** @returns {Heading} */\n function heading() {\n return {\n type: 'heading',\n // @ts-expect-error `depth` will be set later.\n depth: 0,\n children: [],\n position: undefined\n };\n }\n\n /** @returns {Break} */\n function hardBreak() {\n return {\n type: 'break',\n position: undefined\n };\n }\n\n /** @returns {Html} */\n function html() {\n return {\n type: 'html',\n value: '',\n position: undefined\n };\n }\n\n /** @returns {Image} */\n function image() {\n return {\n type: 'image',\n title: null,\n url: '',\n alt: null,\n position: undefined\n };\n }\n\n /** @returns {Link} */\n function link() {\n return {\n type: 'link',\n title: null,\n url: '',\n children: [],\n position: undefined\n };\n }\n\n /**\n * @param {Token} token\n * @returns {List}\n */\n function list(token) {\n return {\n type: 'list',\n ordered: token.type === 'listOrdered',\n start: null,\n spread: token._spread,\n children: [],\n position: undefined\n };\n }\n\n /**\n * @param {Token} token\n * @returns {ListItem}\n */\n function listItem(token) {\n return {\n type: 'listItem',\n spread: token._spread,\n checked: null,\n children: [],\n position: undefined\n };\n }\n\n /** @returns {Paragraph} */\n function paragraph() {\n return {\n type: 'paragraph',\n children: [],\n position: undefined\n };\n }\n\n /** @returns {Strong} */\n function strong() {\n return {\n type: 'strong',\n children: [],\n position: undefined\n };\n }\n\n /** @returns {Text} */\n function text() {\n return {\n type: 'text',\n value: '',\n position: undefined\n };\n }\n\n /** @returns {ThematicBreak} */\n function thematicBreak() {\n return {\n type: 'thematicBreak',\n position: undefined\n };\n }\n}\n\n/**\n * Copy a point-like value.\n *\n * @param {Point} d\n * Point-like value.\n * @returns {Point}\n * unist point.\n */\nfunction point(d) {\n return {\n line: d.line,\n column: d.column,\n offset: d.offset\n };\n}\n\n/**\n * @param {Config} combined\n * @param {Array<Array<Extension> | Extension>} extensions\n * @returns {undefined}\n */\nfunction configure(combined, extensions) {\n let index = -1;\n while (++index < extensions.length) {\n const value = extensions[index];\n if (Array.isArray(value)) {\n configure(combined, value);\n } else {\n extension(combined, value);\n }\n }\n}\n\n/**\n * @param {Config} combined\n * @param {Extension} extension\n * @returns {undefined}\n */\nfunction extension(combined, extension) {\n /** @type {keyof Extension} */\n let key;\n for (key in extension) {\n if (own.call(extension, key)) {\n switch (key) {\n case 'canContainEols':\n {\n const right = extension[key];\n if (right) {\n combined[key].push(...right);\n }\n break;\n }\n case 'transforms':\n {\n const right = extension[key];\n if (right) {\n combined[key].push(...right);\n }\n break;\n }\n case 'afterExit':\n case 'beforeEnter':\n {\n const right = extension[key];\n if (right) {\n combined[key].push(right);\n }\n break;\n }\n case 'enter':\n case 'exit':\n {\n const right = extension[key];\n if (right) {\n Object.assign(combined[key], right);\n }\n break;\n }\n // No default\n }\n }\n }\n}\n\n/** @type {OnEnterError} */\nfunction defaultOnError(left, right) {\n if (left) {\n throw new Error('Cannot close `' + left.type + '` (' + stringifyPosition({\n start: left.start,\n end: left.end\n }) + '): a different token (`' + right.type + '`, ' + stringifyPosition({\n start: right.start,\n end: right.end\n }) + ') is open');\n }\n throw new Error('Cannot close document, a token (`' + right.type + '`, ' + stringifyPosition({\n start: right.start,\n end: right.end\n }) + ') is still open');\n}"],"names":["own","fromMarkdown","value","encoding","options","compiler","postprocess","parse","preprocess","config","opener","link","onenterdata","heading","blockQuote","codeFlow","buffer","codeText","definition","emphasis","hardBreak","html","image","listItem","onenterlistitemvalue","list","onenterlistordered","paragraph","onenterreference","strong","thematicBreak","closer","onexitatxheadingsequence","onexitautolinkemail","onexitautolinkprotocol","onexitdata","onexitcharacterreferencemarker","onexitcharacterreferencevalue","onexitcharacterreference","onexitcodefenced","onexitcodefencedfence","onexitcodefencedfenceinfo","onexitcodefencedfencemeta","onexitcodeindented","onexitcodetext","onexitdefinitiondestinationstring","onexitdefinitionlabelstring","onexitdefinitiontitlestring","onexithardbreak","onexithtmlflow","onexithtmltext","onexitimage","onexitlabel","onexitlabeltext","onexitlineending","onexitlink","onexitreferencestring","onexitresourcedestinationstring","onexitresourcetitlestring","onexitresource","onexitsetextheading","onexitsetextheadinglinesequence","onexitsetextheadingtext","configure","data","compile","events","tree","context","enter","exit","resume","listStack","prepared","index","tail","prepareList","handler","callListeners","defaultOnError","point","listeners","token","start","end","containerBalance","listSpread","lineIndex","firstBlankLineIndex","atMarker","insertions","event","tailIndex","tailEvent","item","listEvents","insertion","create","and","open","node","errorHandler","close","onExitError","stringifyPosition","toString","ancestor","label","normalizeIdentifier","depth","siblings","text","referenceType","string","decodeString","fragment","children","type","decodeNumericCharacterReference","decodeNamedCharacterReference","d","combined","extensions","extension","key","right","left"],"mappings":";;;;;;;;;AAgDA,MAAMA,IAAM,CAAA,EAAG;AAyBR,SAASC,GAAaC,GAAOC,GAAUC,GAAS;AACrD,SAAID,KAAY,OAAOA,KAAa,aAClCC,IAAUD,GACVA,IAAW,SAENE,GAASD,CAAO,EAAEE,GAAYC,GAAMH,CAAO,EAAE,SAAQ,EAAG,MAAMI,GAAU,EAAGN,GAAOC,GAAU,EAAI,CAAC,CAAC,CAAC;AAC5G;AAOA,SAASE,GAASD,GAAS;AAEzB,QAAMK,IAAS;AAAA,IACb,WAAW,CAAA;AAAA,IACX,aAAa,CAAA;AAAA,IACb,YAAY,CAAA;AAAA,IACZ,gBAAgB,CAAC,YAAY,YAAY,WAAW,aAAa,QAAQ;AAAA,IACzE,OAAO;AAAA,MACL,UAAUC,EAAOC,CAAI;AAAA,MACrB,kBAAkBC;AAAA,MAClB,eAAeA;AAAA,MACf,YAAYF,EAAOG,CAAO;AAAA,MAC1B,YAAYH,EAAOI,EAAU;AAAA,MAC7B,iBAAiBF;AAAA,MACjB,oBAAoBA;AAAA,MACpB,YAAYF,EAAOK,CAAQ;AAAA,MAC3B,qBAAqBC;AAAA,MACrB,qBAAqBA;AAAA,MACrB,cAAcN,EAAOK,GAAUC,CAAM;AAAA,MACrC,UAAUN,EAAOO,IAAUD,CAAM;AAAA,MACjC,cAAcJ;AAAA,MACd,MAAMA;AAAA,MACN,eAAeA;AAAA,MACf,YAAYF,EAAOQ,EAAU;AAAA,MAC7B,6BAA6BF;AAAA,MAC7B,uBAAuBA;AAAA,MACvB,uBAAuBA;AAAA,MACvB,UAAUN,EAAOS,EAAQ;AAAA,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F;AAAA,QACF,KAAK,cACH;AACE,gBAAMA,IAAQF,EAAUC,CAAG;AAC3B,UAAIC,KACFJ,EAASG,CAAG,EAAE,KAAK,GAAGC,CAAK;AAE7B;AAAA,QACF;AAAA,QACF,KAAK;AAAA,QACL,KAAK,eACH;AACE,gBAAMA,IAAQF,EAAUC,CAAG;AAC3B,UAAIC,KACFJ,EAASG,CAAG,EAAE,KAAKC,CAAK;AAE1B;AAAA,QACF;AAAA,QACF,KAAK;AAAA,QACL,KAAK,QACH;AACE,gBAAMA,IAAQF,EAAUC,CAAG;AAC3B,UAAIC,KACF,OAAO,OAAOJ,EAASG,CAAG,GAAGC,CAAK;AAEpC;AAAA,QACF;AAAA,MAEV;AAGA;AAGA,SAAS9C,EAAe+C,GAAMD,GAAO;AACnC,QAAIC,IACI,IAAI,MAAM,mBAAmBA,EAAK,OAAO,QAAQtB,EAAkB;AAAA,IACvE,OAAOsB,EAAK;AAAA,IACZ,KAAKA,EAAK;AAAA,EAChB,CAAK,IAAI,4BAA4BD,EAAM,OAAO,QAAQrB,EAAkB;AAAA,IACtE,OAAOqB,EAAM;AAAA,IACb,KAAKA,EAAM;AAAA,EACjB,CAAK,IAAI,WAAW,IAEZ,IAAI,MAAM,sCAAsCA,EAAM,OAAO,QAAQrB,EAAkB;AAAA,IAC3F,OAAOqB,EAAM;AAAA,IACb,KAAKA,EAAM;AAAA,EACf,CAAG,IAAI,iBAAiB;AACxB;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];o.peek=g;function c(){return{canContainEols:["delete"],enter:{strikethrough:s},exit:{strikethrough:k}}}function a(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:h}],handlers:{delete:o}}}function s(e){this.enter({type:"delete",children:[]},e)}function k(e){this.exit(e)}function o(e,l,r,i){const n=r.createTracker(i),u=r.enter("strikethrough");let t=n.move("~~");return t+=r.containerPhrasing(e,{...n.current(),before:t,after:"~"}),t+=n.move("~~"),u(),t}function g(){return"~"}exports.gfmStrikethroughFromMarkdown=c;exports.gfmStrikethroughToMarkdown=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];o.attention=l;o.peek=d;function s(){return{canContainEols:["delete"],enter:{strikethrough:k},exit:{strikethrough:g}}}function a(){return{handlers:{delete:o},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:c}]}}function k(t){this.enter({type:"delete",children:[],position:void 0},t)}function g(t){this.exit(t)}function o(t,f,e,u){const n=e.createTracker(u),i=e.stack.includes("strikethrough")?"~":"~~",h=e.enter("strikethrough");let r=n.move(i);return r+=e.containerPhrasing(t,{...n.current(),before:r,after:"~"}),r+=n.move(i),h(),r}function l(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function d(){return"~"}exports.gfmStrikethroughFromMarkdown=s;exports.gfmStrikethroughToMarkdown=a;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../node_modules/mdast-util-gfm-strikethrough/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('mdast').Delete} Delete\n *\n * @typedef {import('mdast-util-from-markdown').CompileContext} CompileContext\n * @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension\n * @typedef {import('mdast-util-from-markdown').Handle} FromMarkdownHandle\n *\n * @typedef {import('mdast-util-to-markdown').ConstructName} ConstructName\n * @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle\n * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension\n */\n\n/**\n * List of constructs that occur in phrasing (paragraphs, headings), but cannot\n * contain strikethrough.\n * So they sort of cancel each other out.\n * Note: could use a better name.\n *\n * Note: keep in sync with: <https://github.com/syntax-tree/mdast-util-to-markdown/blob/8ce8dbf/lib/unsafe.js#L14>\n *\n * @type {Array<ConstructName>}\n */\nconst constructsWithoutStrikethrough = [\n 'autolink',\n 'destinationLiteral',\n 'destinationRaw',\n 'reference',\n 'titleQuote',\n 'titleApostrophe'\n]\n\nhandleDelete.peek = peekDelete\n\n/**\n * Create an extension for `mdast-util-from-markdown` to enable GFM\n * strikethrough in markdown.\n *\n * @returns {FromMarkdownExtension}\n * Extension for `mdast-util-from-markdown` to enable GFM strikethrough.\n */\nexport function gfmStrikethroughFromMarkdown() {\n return {\n canContainEols: ['delete'],\n enter: {strikethrough: enterStrikethrough},\n exit: {strikethrough: exitStrikethrough}\n }\n}\n\n/**\n * Create an extension for `mdast-util-to-markdown` to enable GFM\n * strikethrough in markdown.\n *\n * @returns {ToMarkdownExtension}\n * Extension for `mdast-util-to-markdown` to enable GFM strikethrough.\n */\nexport function gfmStrikethroughToMarkdown() {\n return {\n unsafe: [\n {\n character: '~',\n inConstruct: 'phrasing',\n notInConstruct: constructsWithoutStrikethrough\n }\n ],\n handlers: {delete: handleDelete}\n }\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterStrikethrough(token) {\n this.enter({type: 'delete', children: []}, token)\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitStrikethrough(token) {\n this.exit(token)\n}\n\n/**\n * @type {ToMarkdownHandle}\n * @param {Delete} node\n */\nfunction handleDelete(node, _, state, info) {\n const tracker = state.createTracker(info)\n const exit = state.enter('strikethrough')\n let value = tracker.move('~~')\n value += state.containerPhrasing(node, {\n ...tracker.current(),\n before: value,\n after: '~'\n })\n value += tracker.move('~~')\n exit()\n return value\n}\n\n/** @type {ToMarkdownHandle} */\nfunction peekDelete() {\n return '~'\n}\n"],"names":["constructsWithoutStrikethrough","handleDelete","peekDelete","gfmStrikethroughFromMarkdown","enterStrikethrough","exitStrikethrough","gfmStrikethroughToMarkdown","token","node","_","state","info","tracker","exit","value"],"mappings":"gFAsBA,MAAMA,EAAiC,CACrC,WACA,qBACA,iBACA,YACA,aACA,iBACF,EAEAC,EAAa,KAAOC,EASb,SAASC,GAA+B,CAC7C,MAAO,CACL,eAAgB,CAAC,QAAQ,EACzB,MAAO,CAAC,cAAeC,CAAkB,EACzC,KAAM,CAAC,cAAeC,CAAiB,CAC3C,CACA,CASO,SAASC,GAA6B,CAC3C,MAAO,CACL,OAAQ,CACN,CACE,UAAW,IACX,YAAa,WACb,eAAgBN,CACxB,CACA,EACI,SAAU,CAAC,OAAQC,CAAY,CACnC,CACA,CAMA,SAASG,EAAmBG,EAAO,CACjC,KAAK,MAAM,CAAC,KAAM,SAAU,SAAU,CAAA,CAAE,EAAGA,CAAK,CAClD,CAMA,SAASF,EAAkBE,EAAO,CAChC,KAAK,KAAKA,CAAK,CACjB,CAMA,SAASN,EAAaO,EAAMC,EAAGC,EAAOC,EAAM,CAC1C,MAAMC,EAAUF,EAAM,cAAcC,CAAI,EAClCE,EAAOH,EAAM,MAAM,eAAe,EACxC,IAAII,EAAQF,EAAQ,KAAK,IAAI,EAC7B,OAAAE,GAASJ,EAAM,kBAAkBF,EAAM,CACrC,GAAGI,EAAQ,QAAO,EAClB,OAAQE,EACR,MAAO,GACX,CAAG,EACDA,GAASF,EAAQ,KAAK,IAAI,EAC1BC,EAAI,EACGC,CACT,CAGA,SAASZ,GAAa,CACpB,MAAO,GACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../node_modules/mdast-util-gfm-strikethrough/lib/index.js"],"sourcesContent":["/**\n * @import {Delete} from 'mdast'\n * @import {\n * CompileContext,\n * Extension as FromMarkdownExtension,\n * Handle as FromMarkdownHandle\n * } from 'mdast-util-from-markdown'\n * @import {\n * Attention,\n * ConstructName,\n * Handle as ToMarkdownHandle,\n * Options as ToMarkdownExtension\n * } from 'mdast-util-to-markdown'\n */\n\n/**\n * List of constructs that occur in phrasing (paragraphs, headings), but cannot\n * contain strikethrough.\n * So they sort of cancel each other out.\n * Note: could use a better name.\n *\n * Note: keep in sync with: <https://github.com/syntax-tree/mdast-util-to-markdown/blob/8ce8dbf/lib/unsafe.js#L14>\n *\n * @type {Array<ConstructName>}\n */\nconst constructsWithoutStrikethrough = [\n 'autolink',\n 'destinationLiteral',\n 'destinationRaw',\n 'reference',\n 'titleQuote',\n 'titleApostrophe'\n]\n\nhandleDelete.attention = attentionDelete\nhandleDelete.peek = peekDelete\n\n/**\n * Create an extension for `mdast-util-from-markdown` to enable GFM\n * strikethrough in markdown.\n *\n * @returns {FromMarkdownExtension}\n * Extension for `mdast-util-from-markdown` to enable GFM strikethrough.\n */\nexport function gfmStrikethroughFromMarkdown() {\n return {\n canContainEols: ['delete'],\n enter: {strikethrough: enterStrikethrough},\n exit: {strikethrough: exitStrikethrough}\n }\n}\n\n/**\n * Create an extension for `mdast-util-to-markdown` to enable GFM\n * strikethrough in markdown.\n *\n * @returns {ToMarkdownExtension}\n * Extension for `mdast-util-to-markdown` to enable GFM strikethrough.\n */\nexport function gfmStrikethroughToMarkdown() {\n return {\n handlers: {delete: handleDelete},\n unsafe: [\n {\n character: '~',\n inConstruct: 'phrasing',\n notInConstruct: constructsWithoutStrikethrough\n }\n ]\n }\n}\n\n/**\n * Enter strikethrough.\n *\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterStrikethrough(token) {\n this.enter({type: 'delete', children: [], position: undefined}, token)\n}\n\n/**\n * Exit strikethrough.\n *\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitStrikethrough(token) {\n this.exit(token)\n}\n\n/**\n * Serialize a delete node.\n *\n * @type {ToMarkdownHandle}\n * @param {Delete} node\n * Node to serialize.\n */\nfunction handleDelete(node, _, state, info) {\n // To do: next major: empty this function, like emphasis and strong handlers,\n // this is no longer needed.\n const tracker = state.createTracker(info)\n const sequence = state.stack.includes('strikethrough') ? '~' : '~~'\n const exit = state.enter('strikethrough')\n let value = tracker.move(sequence)\n value += state.containerPhrasing(node, {\n ...tracker.current(),\n before: value,\n after: '~'\n })\n value += tracker.move(sequence)\n exit()\n return value\n}\n\n/**\n * Serialize a delete node as attention.\n *\n * @type {Attention}\n */\nfunction attentionDelete() {\n return {construct: 'strikethrough', markers: ['~'], sizes: [2, 1]}\n}\n\n/**\n * Peek the first character of a delete node.\n *\n * @type {ToMarkdownHandle}\n */\nfunction peekDelete() {\n return '~'\n}\n"],"names":["constructsWithoutStrikethrough","handleDelete","attentionDelete","peekDelete","gfmStrikethroughFromMarkdown","enterStrikethrough","exitStrikethrough","gfmStrikethroughToMarkdown","token","node","_","state","info","tracker","sequence","exit","value"],"mappings":"gFAyBA,MAAMA,EAAiC,CACrC,WACA,qBACA,iBACA,YACA,aACA,iBACF,EAEAC,EAAa,UAAYC,EACzBD,EAAa,KAAOE,EASb,SAASC,GAA+B,CAC7C,MAAO,CACL,eAAgB,CAAC,QAAQ,EACzB,MAAO,CAAC,cAAeC,CAAkB,EACzC,KAAM,CAAC,cAAeC,CAAiB,CAC3C,CACA,CASO,SAASC,GAA6B,CAC3C,MAAO,CACL,SAAU,CAAC,OAAQN,CAAY,EAC/B,OAAQ,CACN,CACE,UAAW,IACX,YAAa,WACb,eAAgBD,CACxB,CACA,CACA,CACA,CAQA,SAASK,EAAmBG,EAAO,CACjC,KAAK,MAAM,CAAC,KAAM,SAAU,SAAU,GAAI,SAAU,MAAS,EAAGA,CAAK,CACvE,CAQA,SAASF,EAAkBE,EAAO,CAChC,KAAK,KAAKA,CAAK,CACjB,CASA,SAASP,EAAaQ,EAAMC,EAAGC,EAAOC,EAAM,CAG1C,MAAMC,EAAUF,EAAM,cAAcC,CAAI,EAClCE,EAAWH,EAAM,MAAM,SAAS,eAAe,EAAI,IAAM,KACzDI,EAAOJ,EAAM,MAAM,eAAe,EACxC,IAAIK,EAAQH,EAAQ,KAAKC,CAAQ,EACjC,OAAAE,GAASL,EAAM,kBAAkBF,EAAM,CACrC,GAAGI,EAAQ,QAAO,EAClB,OAAQG,EACR,MAAO,GACX,CAAG,EACDA,GAASH,EAAQ,KAAKC,CAAQ,EAC9BC,EAAI,EACGC,CACT,CAOA,SAASd,GAAkB,CACzB,MAAO,CAAC,UAAW,gBAAiB,QAAS,CAAC,GAAG,EAAG,MAAO,CAAC,EAAG,CAAC,CAAC,CACnE,CAOA,SAASC,GAAa,CACpB,MAAO,GACT","x_google_ignoreList":[0]}
@@ -6,46 +6,50 @@ const h = [
6
6
  "titleQuote",
7
7
  "titleApostrophe"
8
8
  ];
9
- o.peek = s;
10
- function l() {
9
+ o.attention = k;
10
+ o.peek = l;
11
+ function g() {
11
12
  return {
12
13
  canContainEols: ["delete"],
13
- enter: { strikethrough: c },
14
+ enter: { strikethrough: s },
14
15
  exit: { strikethrough: a }
15
16
  };
16
17
  }
17
- function f() {
18
+ function d() {
18
19
  return {
20
+ handlers: { delete: o },
19
21
  unsafe: [
20
22
  {
21
23
  character: "~",
22
24
  inConstruct: "phrasing",
23
25
  notInConstruct: h
24
26
  }
25
- ],
26
- handlers: { delete: o }
27
+ ]
27
28
  };
28
29
  }
29
- function c(e) {
30
- this.enter({ type: "delete", children: [] }, e);
30
+ function s(e) {
31
+ this.enter({ type: "delete", children: [], position: void 0 }, e);
31
32
  }
32
33
  function a(e) {
33
34
  this.exit(e);
34
35
  }
35
- function o(e, k, r, i) {
36
- const n = r.createTracker(i), u = r.enter("strikethrough");
37
- let t = n.move("~~");
38
- return t += r.containerPhrasing(e, {
36
+ function o(e, f, t, u) {
37
+ const n = t.createTracker(u), i = t.stack.includes("strikethrough") ? "~" : "~~", c = t.enter("strikethrough");
38
+ let r = n.move(i);
39
+ return r += t.containerPhrasing(e, {
39
40
  ...n.current(),
40
- before: t,
41
+ before: r,
41
42
  after: "~"
42
- }), t += n.move("~~"), u(), t;
43
+ }), r += n.move(i), c(), r;
44
+ }
45
+ function k() {
46
+ return { construct: "strikethrough", markers: ["~"], sizes: [2, 1] };
43
47
  }
44
- function s() {
48
+ function l() {
45
49
  return "~";
46
50
  }
47
51
  export {
48
- l as gfmStrikethroughFromMarkdown,
49
- f as gfmStrikethroughToMarkdown
52
+ g as gfmStrikethroughFromMarkdown,
53
+ d as gfmStrikethroughToMarkdown
50
54
  };
51
55
  //# sourceMappingURL=index.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../../../../node_modules/mdast-util-gfm-strikethrough/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('mdast').Delete} Delete\n *\n * @typedef {import('mdast-util-from-markdown').CompileContext} CompileContext\n * @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension\n * @typedef {import('mdast-util-from-markdown').Handle} FromMarkdownHandle\n *\n * @typedef {import('mdast-util-to-markdown').ConstructName} ConstructName\n * @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle\n * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension\n */\n\n/**\n * List of constructs that occur in phrasing (paragraphs, headings), but cannot\n * contain strikethrough.\n * So they sort of cancel each other out.\n * Note: could use a better name.\n *\n * Note: keep in sync with: <https://github.com/syntax-tree/mdast-util-to-markdown/blob/8ce8dbf/lib/unsafe.js#L14>\n *\n * @type {Array<ConstructName>}\n */\nconst constructsWithoutStrikethrough = [\n 'autolink',\n 'destinationLiteral',\n 'destinationRaw',\n 'reference',\n 'titleQuote',\n 'titleApostrophe'\n]\n\nhandleDelete.peek = peekDelete\n\n/**\n * Create an extension for `mdast-util-from-markdown` to enable GFM\n * strikethrough in markdown.\n *\n * @returns {FromMarkdownExtension}\n * Extension for `mdast-util-from-markdown` to enable GFM strikethrough.\n */\nexport function gfmStrikethroughFromMarkdown() {\n return {\n canContainEols: ['delete'],\n enter: {strikethrough: enterStrikethrough},\n exit: {strikethrough: exitStrikethrough}\n }\n}\n\n/**\n * Create an extension for `mdast-util-to-markdown` to enable GFM\n * strikethrough in markdown.\n *\n * @returns {ToMarkdownExtension}\n * Extension for `mdast-util-to-markdown` to enable GFM strikethrough.\n */\nexport function gfmStrikethroughToMarkdown() {\n return {\n unsafe: [\n {\n character: '~',\n inConstruct: 'phrasing',\n notInConstruct: constructsWithoutStrikethrough\n }\n ],\n handlers: {delete: handleDelete}\n }\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterStrikethrough(token) {\n this.enter({type: 'delete', children: []}, token)\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitStrikethrough(token) {\n this.exit(token)\n}\n\n/**\n * @type {ToMarkdownHandle}\n * @param {Delete} node\n */\nfunction handleDelete(node, _, state, info) {\n const tracker = state.createTracker(info)\n const exit = state.enter('strikethrough')\n let value = tracker.move('~~')\n value += state.containerPhrasing(node, {\n ...tracker.current(),\n before: value,\n after: '~'\n })\n value += tracker.move('~~')\n exit()\n return value\n}\n\n/** @type {ToMarkdownHandle} */\nfunction peekDelete() {\n return '~'\n}\n"],"names":["constructsWithoutStrikethrough","handleDelete","peekDelete","gfmStrikethroughFromMarkdown","enterStrikethrough","exitStrikethrough","gfmStrikethroughToMarkdown","token","node","_","state","info","tracker","exit","value"],"mappings":"AAsBA,MAAMA,IAAiC;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEAC,EAAa,OAAOC;AASb,SAASC,IAA+B;AAC7C,SAAO;AAAA,IACL,gBAAgB,CAAC,QAAQ;AAAA,IACzB,OAAO,EAAC,eAAeC,EAAkB;AAAA,IACzC,MAAM,EAAC,eAAeC,EAAiB;AAAA,EAC3C;AACA;AASO,SAASC,IAA6B;AAC3C,SAAO;AAAA,IACL,QAAQ;AAAA,MACN;AAAA,QACE,WAAW;AAAA,QACX,aAAa;AAAA,QACb,gBAAgBN;AAAA,MACxB;AAAA,IACA;AAAA,IACI,UAAU,EAAC,QAAQC,EAAY;AAAA,EACnC;AACA;AAMA,SAASG,EAAmBG,GAAO;AACjC,OAAK,MAAM,EAAC,MAAM,UAAU,UAAU,CAAA,EAAE,GAAGA,CAAK;AAClD;AAMA,SAASF,EAAkBE,GAAO;AAChC,OAAK,KAAKA,CAAK;AACjB;AAMA,SAASN,EAAaO,GAAMC,GAAGC,GAAOC,GAAM;AAC1C,QAAMC,IAAUF,EAAM,cAAcC,CAAI,GAClCE,IAAOH,EAAM,MAAM,eAAe;AACxC,MAAII,IAAQF,EAAQ,KAAK,IAAI;AAC7B,SAAAE,KAASJ,EAAM,kBAAkBF,GAAM;AAAA,IACrC,GAAGI,EAAQ,QAAO;AAAA,IAClB,QAAQE;AAAA,IACR,OAAO;AAAA,EACX,CAAG,GACDA,KAASF,EAAQ,KAAK,IAAI,GAC1BC,EAAI,GACGC;AACT;AAGA,SAASZ,IAAa;AACpB,SAAO;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es.js","sources":["../../../../node_modules/mdast-util-gfm-strikethrough/lib/index.js"],"sourcesContent":["/**\n * @import {Delete} from 'mdast'\n * @import {\n * CompileContext,\n * Extension as FromMarkdownExtension,\n * Handle as FromMarkdownHandle\n * } from 'mdast-util-from-markdown'\n * @import {\n * Attention,\n * ConstructName,\n * Handle as ToMarkdownHandle,\n * Options as ToMarkdownExtension\n * } from 'mdast-util-to-markdown'\n */\n\n/**\n * List of constructs that occur in phrasing (paragraphs, headings), but cannot\n * contain strikethrough.\n * So they sort of cancel each other out.\n * Note: could use a better name.\n *\n * Note: keep in sync with: <https://github.com/syntax-tree/mdast-util-to-markdown/blob/8ce8dbf/lib/unsafe.js#L14>\n *\n * @type {Array<ConstructName>}\n */\nconst constructsWithoutStrikethrough = [\n 'autolink',\n 'destinationLiteral',\n 'destinationRaw',\n 'reference',\n 'titleQuote',\n 'titleApostrophe'\n]\n\nhandleDelete.attention = attentionDelete\nhandleDelete.peek = peekDelete\n\n/**\n * Create an extension for `mdast-util-from-markdown` to enable GFM\n * strikethrough in markdown.\n *\n * @returns {FromMarkdownExtension}\n * Extension for `mdast-util-from-markdown` to enable GFM strikethrough.\n */\nexport function gfmStrikethroughFromMarkdown() {\n return {\n canContainEols: ['delete'],\n enter: {strikethrough: enterStrikethrough},\n exit: {strikethrough: exitStrikethrough}\n }\n}\n\n/**\n * Create an extension for `mdast-util-to-markdown` to enable GFM\n * strikethrough in markdown.\n *\n * @returns {ToMarkdownExtension}\n * Extension for `mdast-util-to-markdown` to enable GFM strikethrough.\n */\nexport function gfmStrikethroughToMarkdown() {\n return {\n handlers: {delete: handleDelete},\n unsafe: [\n {\n character: '~',\n inConstruct: 'phrasing',\n notInConstruct: constructsWithoutStrikethrough\n }\n ]\n }\n}\n\n/**\n * Enter strikethrough.\n *\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction enterStrikethrough(token) {\n this.enter({type: 'delete', children: [], position: undefined}, token)\n}\n\n/**\n * Exit strikethrough.\n *\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitStrikethrough(token) {\n this.exit(token)\n}\n\n/**\n * Serialize a delete node.\n *\n * @type {ToMarkdownHandle}\n * @param {Delete} node\n * Node to serialize.\n */\nfunction handleDelete(node, _, state, info) {\n // To do: next major: empty this function, like emphasis and strong handlers,\n // this is no longer needed.\n const tracker = state.createTracker(info)\n const sequence = state.stack.includes('strikethrough') ? '~' : '~~'\n const exit = state.enter('strikethrough')\n let value = tracker.move(sequence)\n value += state.containerPhrasing(node, {\n ...tracker.current(),\n before: value,\n after: '~'\n })\n value += tracker.move(sequence)\n exit()\n return value\n}\n\n/**\n * Serialize a delete node as attention.\n *\n * @type {Attention}\n */\nfunction attentionDelete() {\n return {construct: 'strikethrough', markers: ['~'], sizes: [2, 1]}\n}\n\n/**\n * Peek the first character of a delete node.\n *\n * @type {ToMarkdownHandle}\n */\nfunction peekDelete() {\n return '~'\n}\n"],"names":["constructsWithoutStrikethrough","handleDelete","attentionDelete","peekDelete","gfmStrikethroughFromMarkdown","enterStrikethrough","exitStrikethrough","gfmStrikethroughToMarkdown","token","node","_","state","info","tracker","sequence","exit","value"],"mappings":"AAyBA,MAAMA,IAAiC;AAAA,EACrC;AAAA,EACA;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hast/lib/footer.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n *\n * @typedef {import('./state.js').State} State\n */\n\n/**\n * @callback FootnoteBackContentTemplate\n * Generate content for the backreference dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent> | ElementContent | string}\n * Content for the backreference when linking back from definitions to their\n * reference.\n *\n * @callback FootnoteBackLabelTemplate\n * Generate a back label dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Back label to use when linking back from definitions to their reference.\n */\n\nimport structuredClone from '@ungap/structured-clone'\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Generate the default content that GitHub uses on backreferences.\n *\n * @param {number} _\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent>}\n * Content.\n */\nexport function defaultFootnoteBackContent(_, rereferenceIndex) {\n /** @type {Array<ElementContent>} */\n const result = [{type: 'text', value: '↩'}]\n\n if (rereferenceIndex > 1) {\n result.push({\n type: 'element',\n tagName: 'sup',\n properties: {},\n children: [{type: 'text', value: String(rereferenceIndex)}]\n })\n }\n\n return result\n}\n\n/**\n * Generate the default label that GitHub uses on backreferences.\n *\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Label.\n */\nexport function defaultFootnoteBackLabel(referenceIndex, rereferenceIndex) {\n return (\n 'Back to reference ' +\n (referenceIndex + 1) +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : '')\n )\n}\n\n/**\n * Generate a hast footer for called footnote definitions.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Element | undefined}\n * `section` element or `undefined`.\n */\n// eslint-disable-next-line complexity\nexport function footer(state) {\n const clobberPrefix =\n typeof state.options.clobberPrefix === 'string'\n ? state.options.clobberPrefix\n : 'user-content-'\n const footnoteBackContent =\n state.options.footnoteBackContent || defaultFootnoteBackContent\n const footnoteBackLabel =\n state.options.footnoteBackLabel || defaultFootnoteBackLabel\n const footnoteLabel = state.options.footnoteLabel || 'Footnotes'\n const footnoteLabelTagName = state.options.footnoteLabelTagName || 'h2'\n const footnoteLabelProperties = state.options.footnoteLabelProperties || {\n className: ['sr-only']\n }\n /** @type {Array<ElementContent>} */\n const listItems = []\n let referenceIndex = -1\n\n while (++referenceIndex < state.footnoteOrder.length) {\n const definition = state.footnoteById.get(\n state.footnoteOrder[referenceIndex]\n )\n\n if (!definition) {\n continue\n }\n\n const content = state.all(definition)\n const id = String(definition.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n let rereferenceIndex = 0\n /** @type {Array<ElementContent>} */\n const backReferences = []\n const counts = state.footnoteCounts.get(id)\n\n // eslint-disable-next-line no-unmodified-loop-condition\n while (counts !== undefined && ++rereferenceIndex <= counts) {\n if (backReferences.length > 0) {\n backReferences.push({type: 'text', value: ' '})\n }\n\n let children =\n typeof footnoteBackContent === 'string'\n ? footnoteBackContent\n : footnoteBackContent(referenceIndex, rereferenceIndex)\n\n if (typeof children === 'string') {\n children = {type: 'text', value: children}\n }\n\n backReferences.push({\n type: 'element',\n tagName: 'a',\n properties: {\n href:\n '#' +\n clobberPrefix +\n 'fnref-' +\n safeId +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : ''),\n dataFootnoteBackref: '',\n ariaLabel:\n typeof footnoteBackLabel === 'string'\n ? footnoteBackLabel\n : footnoteBackLabel(referenceIndex, rereferenceIndex),\n className: ['data-footnote-backref']\n },\n children: Array.isArray(children) ? children : [children]\n })\n }\n\n const tail = content[content.length - 1]\n\n if (tail && tail.type === 'element' && tail.tagName === 'p') {\n const tailTail = tail.children[tail.children.length - 1]\n if (tailTail && tailTail.type === 'text') {\n tailTail.value += ' '\n } else {\n tail.children.push({type: 'text', value: ' '})\n }\n\n tail.children.push(...backReferences)\n } else {\n content.push(...backReferences)\n }\n\n /** @type {Element} */\n const listItem = {\n type: 'element',\n tagName: 'li',\n properties: {id: clobberPrefix + 'fn-' + safeId},\n children: state.wrap(content, true)\n }\n\n state.patch(definition, listItem)\n\n listItems.push(listItem)\n }\n\n if (listItems.length === 0) {\n return\n }\n\n return {\n type: 'element',\n tagName: 'section',\n properties: {dataFootnotes: true, className: ['footnotes']},\n children: [\n {\n type: 'element',\n tagName: footnoteLabelTagName,\n properties: {\n ...structuredClone(footnoteLabelProperties),\n id: 'footnote-label'\n },\n children: [{type: 'text', value: footnoteLabel}]\n },\n {type: 'text', value: '\\n'},\n {\n type: 'element',\n tagName: 'ol',\n properties: {},\n children: state.wrap(listItems, true)\n },\n {type: 'text', value: '\\n'}\n ]\n }\n}\n"],"names":["defaultFootnoteBackContent","_","rereferenceIndex","result","defaultFootnoteBackLabel","referenceIndex","footer","state","clobberPrefix","footnoteBackContent","footnoteBackLabel","footnoteLabel","footnoteLabelTagName","footnoteLabelProperties","listItems","definition","content","id","safeId","normalizeUri","backReferences","counts","children","tail","tailTail","listItem","structuredClone"],"mappings":"wMAgFO,SAASA,EAA2BC,EAAGC,EAAkB,CAE9D,MAAMC,EAAS,CAAC,CAAC,KAAM,OAAQ,MAAO,GAAG,CAAC,EAE1C,OAAID,EAAmB,GACrBC,EAAO,KAAK,CACV,KAAM,UACN,QAAS,MACT,WAAY,CAAA,EACZ,SAAU,CAAC,CAAC,KAAM,OAAQ,MAAO,OAAOD,CAAgB,CAAC,CAAC,CAChE,CAAK,EAGIC,CACT,CAaO,SAASC,EAAyBC,EAAgBH,EAAkB,CACzE,MACE,sBACCG,EAAiB,IACjBH,EAAmB,EAAI,IAAMA,EAAmB,GAErD,CAWO,SAASI,EAAOC,EAAO,CAC5B,MAAMC,EACJ,OAAOD,EAAM,QAAQ,eAAkB,SACnCA,EAAM,QAAQ,cACd,gBACAE,EACJF,EAAM,QAAQ,qBAAuBP,EACjCU,EACJH,EAAM,QAAQ,mBAAqBH,EAC/BO,EAAgBJ,EAAM,QAAQ,eAAiB,YAC/CK,EAAuBL,EAAM,QAAQ,sBAAwB,KAC7DM,EAA0BN,EAAM,QAAQ,yBAA2B,CACvE,UAAW,CAAC,SAAS,CACzB,EAEQO,EAAY,CAAA,EAClB,IAAIT,EAAiB,GAErB,KAAO,EAAEA,EAAiBE,EAAM,cAAc,QAAQ,CACpD,MAAMQ,EAAaR,EAAM,aAAa,IACpCA,EAAM,cAAcF,CAAc,CACxC,EAEI,GAAI,CAACU,EACH,SAGF,MAAMC,EAAUT,EAAM,IAAIQ,CAAU,EAC9BE,EAAK,OAAOF,EAAW,UAAU,EAAE,YAAW,EAC9CG,EAASC,EAAAA,aAAaF,EAAG,YAAW,CAAE,EAC5C,IAAIf,EAAmB,EAEvB,MAAMkB,EA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N,QAAS,UACT,WAAY,CAAC,cAAe,GAAM,UAAW,CAAC,WAAW,CAAC,EAC1D,SAAU,CACR,CACE,KAAM,UACN,QAASF,EACT,WAAY,CACV,GAAGc,EAAAA,QAAgBb,CAAuB,EAC1C,GAAI,gBACd,EACQ,SAAU,CAAC,CAAC,KAAM,OAAQ,MAAOF,CAAa,CAAC,CACvD,EACM,CAAC,KAAM,OAAQ,MAAO;AAAA,CAAI,EAC1B,CACE,KAAM,UACN,QAAS,KACT,WAAY,CAAA,EACZ,SAAUJ,EAAM,KAAKO,EAAW,EAAI,CAC5C,EACM,CAAC,KAAM,OAAQ,MAAO;AAAA,CAAI,CAChC,CACA,CACA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"footer.cjs","sources":["../../../../node_modules/mdast-util-to-hast/lib/footer.js"],"sourcesContent":["/**\n * @import {ElementContent, Element} from 'hast'\n * @import {State} from './state.js'\n */\n\n/**\n * @callback FootnoteBackContentTemplate\n * Generate content for the backreference dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent> | ElementContent | string}\n * Content for the backreference when linking back from definitions to their\n * reference.\n *\n * @callback FootnoteBackLabelTemplate\n * Generate a back label dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Back label to use when linking back from definitions to their reference.\n */\n\nimport structuredClone from '@ungap/structured-clone'\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Generate the default content that GitHub uses on backreferences.\n *\n * @param {number} _\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent>}\n * Content.\n */\nexport function defaultFootnoteBackContent(_, rereferenceIndex) {\n /** @type {Array<ElementContent>} */\n const result = [{type: 'text', value: '↩'}]\n\n if (rereferenceIndex > 1) {\n result.push({\n type: 'element',\n tagName: 'sup',\n properties: {},\n children: [{type: 'text', value: String(rereferenceIndex)}]\n })\n }\n\n return result\n}\n\n/**\n * Generate the default label that GitHub uses on backreferences.\n *\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Label.\n */\nexport function defaultFootnoteBackLabel(referenceIndex, rereferenceIndex) {\n return (\n 'Back to reference ' +\n (referenceIndex + 1) +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : '')\n )\n}\n\n/**\n * Generate a hast footer for called footnote definitions.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Element | undefined}\n * `section` element or `undefined`.\n */\n// eslint-disable-next-line complexity\nexport function footer(state) {\n const clobberPrefix =\n typeof state.options.clobberPrefix === 'string'\n ? state.options.clobberPrefix\n : 'user-content-'\n const footnoteBackContent =\n state.options.footnoteBackContent || defaultFootnoteBackContent\n const footnoteBackLabel =\n state.options.footnoteBackLabel || defaultFootnoteBackLabel\n const footnoteLabel = state.options.footnoteLabel || 'Footnotes'\n const footnoteLabelTagName = state.options.footnoteLabelTagName || 'h2'\n const footnoteLabelProperties = state.options.footnoteLabelProperties || {\n className: ['sr-only']\n }\n /** @type {Array<ElementContent>} */\n const listItems = []\n let referenceIndex = -1\n\n while (++referenceIndex < state.footnoteOrder.length) {\n const definition = state.footnoteById.get(\n state.footnoteOrder[referenceIndex]\n )\n\n if (!definition) {\n continue\n }\n\n const content = state.all(definition)\n const id = String(definition.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n let rereferenceIndex = 0\n /** @type {Array<ElementContent>} */\n const backReferences = []\n const counts = state.footnoteCounts.get(id)\n\n // eslint-disable-next-line no-unmodified-loop-condition\n while (counts !== undefined && ++rereferenceIndex <= counts) {\n if (backReferences.length > 0) {\n backReferences.push({type: 'text', value: ' '})\n }\n\n let children =\n typeof footnoteBackContent === 'string'\n ? footnoteBackContent\n : footnoteBackContent(referenceIndex, rereferenceIndex)\n\n if (typeof children === 'string') {\n children = {type: 'text', value: children}\n }\n\n backReferences.push({\n type: 'element',\n tagName: 'a',\n properties: {\n href:\n '#' +\n clobberPrefix +\n 'fnref-' +\n safeId +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : ''),\n dataFootnoteBackref: '',\n ariaLabel:\n typeof footnoteBackLabel === 'string'\n ? footnoteBackLabel\n : footnoteBackLabel(referenceIndex, rereferenceIndex),\n className: ['data-footnote-backref']\n },\n children: Array.isArray(children) ? children : [children]\n })\n }\n\n const tail = content[content.length - 1]\n\n if (tail && tail.type === 'element' && tail.tagName === 'p') {\n const tailTail = tail.children[tail.children.length - 1]\n if (tailTail && tailTail.type === 'text') {\n tailTail.value += ' '\n } else {\n tail.children.push({type: 'text', value: ' '})\n }\n\n tail.children.push(...backReferences)\n } else {\n content.push(...backReferences)\n }\n\n /** @type {Element} */\n const listItem = {\n type: 'element',\n tagName: 'li',\n properties: {id: clobberPrefix + 'fn-' + safeId},\n children: state.wrap(content, true)\n }\n\n state.patch(definition, listItem)\n\n listItems.push(listItem)\n }\n\n if (listItems.length === 0) {\n return\n }\n\n return {\n type: 'element',\n tagName: 'section',\n properties: {dataFootnotes: true, className: ['footnotes']},\n children: [\n {\n type: 'element',\n tagName: footnoteLabelTagName,\n properties: {\n ...structuredClone(footnoteLabelProperties),\n id: 'footnote-label'\n },\n children: [{type: 'text', value: footnoteLabel}]\n },\n {type: 'text', value: '\\n'},\n {\n type: 'element',\n tagName: 'ol',\n properties: {},\n children: state.wrap(listItems, true)\n },\n {type: 'text', value: '\\n'}\n ]\n }\n}\n"],"names":["defaultFootnoteBackContent","_","rereferenceIndex","result","defaultFootnoteBackLabel","referenceIndex","footer","state","clobberPrefix","footnoteBackContent","footnoteBackLabel","footnoteLabel","footnoteLabelTagName","footnoteLabelProperties","listItems","definition","content","id","safeId","normalizeUri","backReferences","counts","children","tail","tailTail","listItem","structuredClone"],"mappings":"wMA8EO,SAASA,EAA2BC,EAAGC,EAAkB,CAE9D,MAAMC,EAAS,CAAC,CAAC,KAAM,OAAQ,MAAO,GAAG,CAAC,EAE1C,OAAID,EAAmB,GACrBC,EAAO,KAAK,CACV,KAAM,UACN,QAAS,MACT,WAAY,CAAA,EACZ,SAAU,CAAC,CAAC,KAAM,OAAQ,MAAO,OAAOD,CAAgB,CAAC,CAAC,CAChE,CAAK,EAGIC,CACT,CAaO,SAASC,EAAyBC,EAAgBH,EAAkB,CACzE,MACE,sBACCG,EAAiB,IACjBH,EAAmB,EAAI,IAAMA,EAAmB,GAErD,CAWO,SAASI,EAAOC,EAAO,CAC5B,MAAMC,EACJ,OAAOD,EAAM,QAAQ,eAAkB,SACnCA,EAAM,QAAQ,cACd,gBACAE,EACJF,EAAM,QAAQ,qBAAuBP,EACjCU,EACJH,EAAM,QAAQ,mBAAqBH,EAC/BO,EAAgBJ,EAAM,QAAQ,eAAiB,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OAAS,CAAC,EACnDC,GAAYA,EAAS,OAAS,OAChCA,EAAS,OAAS,IAElBD,EAAK,SAAS,KAAK,CAAC,KAAM,OAAQ,MAAO,GAAG,CAAC,EAG/CA,EAAK,SAAS,KAAK,GAAGH,CAAc,CACtC,MACEJ,EAAQ,KAAK,GAAGI,CAAc,EAIhC,MAAMK,EAAW,CACf,KAAM,UACN,QAAS,KACT,WAAY,CAAC,GAAIjB,EAAgB,MAAQU,CAAM,EAC/C,SAAUX,EAAM,KAAKS,EAAS,EAAI,CACxC,EAEIT,EAAM,MAAMQ,EAAYU,CAAQ,EAEhCX,EAAU,KAAKW,CAAQ,CACzB,CAEA,GAAIX,EAAU,SAAW,EAIzB,MAAO,CACL,KAAM,UACN,QAAS,UACT,WAAY,CAAC,cAAe,GAAM,UAAW,CAAC,WAAW,CAAC,EAC1D,SAAU,CACR,CACE,KAAM,UACN,QAASF,EACT,WAAY,CACV,GAAGc,EAAAA,QAAgBb,CAAuB,EAC1C,GAAI,gBACd,EACQ,SAAU,CAAC,CAAC,KAAM,OAAQ,MAAOF,CAAa,CAAC,CACvD,EACM,CAAC,KAAM,OAAQ,MAAO;AAAA,CAAI,EAC1B,CACE,KAAM,UACN,QAAS,KACT,WAAY,CAAA,EACZ,SAAUJ,EAAM,KAAKO,EAAW,EAAI,CAC5C,EACM,CAAC,KAAM,OAAQ,MAAO;AAAA,CAAI,CAChC,CACA,CACA","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"footer.es.js","sources":["../../../../node_modules/mdast-util-to-hast/lib/footer.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n *\n * @typedef {import('./state.js').State} State\n */\n\n/**\n * @callback FootnoteBackContentTemplate\n * Generate content for the backreference dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent> | ElementContent | string}\n * Content for the backreference when linking back from definitions to their\n * reference.\n *\n * @callback FootnoteBackLabelTemplate\n * Generate a back label dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Back label to use when linking back from definitions to their reference.\n */\n\nimport structuredClone from '@ungap/structured-clone'\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Generate the default content that GitHub uses on backreferences.\n *\n * @param {number} _\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent>}\n * Content.\n */\nexport function defaultFootnoteBackContent(_, rereferenceIndex) {\n /** @type {Array<ElementContent>} */\n const result = [{type: 'text', value: '↩'}]\n\n if (rereferenceIndex > 1) {\n result.push({\n type: 'element',\n tagName: 'sup',\n properties: {},\n children: [{type: 'text', value: String(rereferenceIndex)}]\n })\n }\n\n return result\n}\n\n/**\n * Generate the default label that GitHub uses on backreferences.\n *\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Label.\n */\nexport function defaultFootnoteBackLabel(referenceIndex, rereferenceIndex) {\n return (\n 'Back to reference ' +\n (referenceIndex + 1) +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : '')\n )\n}\n\n/**\n * Generate a hast footer for called footnote definitions.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Element | undefined}\n * `section` element or `undefined`.\n */\n// eslint-disable-next-line complexity\nexport function footer(state) {\n const clobberPrefix =\n typeof state.options.clobberPrefix === 'string'\n ? state.options.clobberPrefix\n : 'user-content-'\n const footnoteBackContent =\n state.options.footnoteBackContent || defaultFootnoteBackContent\n const footnoteBackLabel =\n state.options.footnoteBackLabel || defaultFootnoteBackLabel\n const footnoteLabel = state.options.footnoteLabel || 'Footnotes'\n const footnoteLabelTagName = state.options.footnoteLabelTagName || 'h2'\n const footnoteLabelProperties = state.options.footnoteLabelProperties || {\n className: ['sr-only']\n }\n /** @type {Array<ElementContent>} */\n const listItems = []\n let referenceIndex = -1\n\n while (++referenceIndex < state.footnoteOrder.length) {\n const definition = state.footnoteById.get(\n state.footnoteOrder[referenceIndex]\n )\n\n if (!definition) {\n continue\n }\n\n const content = state.all(definition)\n const id = String(definition.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n let rereferenceIndex = 0\n /** @type {Array<ElementContent>} */\n const backReferences = []\n const counts = state.footnoteCounts.get(id)\n\n // eslint-disable-next-line no-unmodified-loop-condition\n while (counts !== undefined && ++rereferenceIndex <= counts) {\n if (backReferences.length > 0) {\n backReferences.push({type: 'text', value: ' '})\n }\n\n let children =\n typeof footnoteBackContent === 'string'\n ? footnoteBackContent\n : footnoteBackContent(referenceIndex, rereferenceIndex)\n\n if (typeof children === 'string') {\n children = {type: 'text', value: children}\n }\n\n backReferences.push({\n type: 'element',\n tagName: 'a',\n properties: {\n href:\n '#' +\n clobberPrefix +\n 'fnref-' +\n safeId +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : ''),\n dataFootnoteBackref: '',\n ariaLabel:\n typeof footnoteBackLabel === 'string'\n ? footnoteBackLabel\n : footnoteBackLabel(referenceIndex, rereferenceIndex),\n className: ['data-footnote-backref']\n },\n children: Array.isArray(children) ? children : [children]\n })\n }\n\n const tail = content[content.length - 1]\n\n if (tail && tail.type === 'element' && tail.tagName === 'p') {\n const tailTail = tail.children[tail.children.length - 1]\n if (tailTail && tailTail.type === 'text') {\n tailTail.value += ' '\n } else {\n tail.children.push({type: 'text', value: ' '})\n }\n\n tail.children.push(...backReferences)\n } else {\n content.push(...backReferences)\n }\n\n /** @type {Element} */\n const listItem = {\n type: 'element',\n tagName: 'li',\n properties: {id: clobberPrefix + 'fn-' + safeId},\n children: state.wrap(content, true)\n }\n\n state.patch(definition, listItem)\n\n listItems.push(listItem)\n }\n\n if (listItems.length === 0) {\n return\n }\n\n return {\n type: 'element',\n tagName: 'section',\n properties: {dataFootnotes: true, className: ['footnotes']},\n children: [\n {\n type: 'element',\n tagName: footnoteLabelTagName,\n properties: {\n ...structuredClone(footnoteLabelProperties),\n id: 'footnote-label'\n },\n children: [{type: 'text', value: footnoteLabel}]\n },\n {type: 'text', value: '\\n'},\n {\n type: 'element',\n tagName: 'ol',\n properties: {},\n children: state.wrap(listItems, true)\n },\n {type: 'text', value: '\\n'}\n ]\n }\n}\n"],"names":["defaultFootnoteBackContent","_","rereferenceIndex","result","defaultFootnoteBackLabel","referenceIndex","footer","state","clobberPrefix","footnoteBackContent","footnoteBackLabel","footnoteLabel","footnoteLabelTagName","footnoteLabelProperties","listItems","definition","content","id","safeId","normalizeUri","backReferences","counts","children","tail","tailTail","listItem","structuredClone"],"mappings":";;AAgFO,SAASA,EAA2BC,GAAGC,GAAkB;AAE9D,QAAMC,IAAS,CAAC,EAAC,MAAM,QAAQ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,MAC1D,UAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA,UACN,SAASF;AAAA,UACT,YAAY;AAAA,YACV,GAAGc,EAAgBb,CAAuB;AAAA,YAC1C,IAAI;AAAA,UACd;AAAA,UACQ,UAAU,CAAC,EAAC,MAAM,QAAQ,OAAOF,EAAa,CAAC;AAAA,QACvD;AAAA,QACM,EAAC,MAAM,QAAQ,OAAO;AAAA,EAAI;AAAA,QAC1B;AAAA,UACE,MAAM;AAAA,UACN,SAAS;AAAA,UACT,YAAY,CAAA;AAAA,UACZ,UAAUJ,EAAM,KAAKO,GAAW,EAAI;AAAA,QAC5C;AAAA,QACM,EAAC,MAAM,QAAQ,OAAO;AAAA,EAAI;AAAA,MAChC;AAAA,IACA;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"footer.es.js","sources":["../../../../node_modules/mdast-util-to-hast/lib/footer.js"],"sourcesContent":["/**\n * @import {ElementContent, Element} from 'hast'\n * @import {State} from './state.js'\n */\n\n/**\n * @callback FootnoteBackContentTemplate\n * Generate content for the backreference dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent> | ElementContent | string}\n * Content for the backreference when linking back from definitions to their\n * reference.\n *\n * @callback FootnoteBackLabelTemplate\n * Generate a back label dynamically.\n *\n * For the following markdown:\n *\n * ```markdown\n * Alpha[^micromark], bravo[^micromark], and charlie[^remark].\n *\n * [^remark]: things about remark\n * [^micromark]: things about micromark\n * ```\n *\n * This function will be called with:\n *\n * * `0` and `0` for the backreference from `things about micromark` to\n * `alpha`, as it is the first used definition, and the first call to it\n * * `0` and `1` for the backreference from `things about micromark` to\n * `bravo`, as it is the first used definition, and the second call to it\n * * `1` and `0` for the backreference from `things about remark` to\n * `charlie`, as it is the second used definition\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Back label to use when linking back from definitions to their reference.\n */\n\nimport structuredClone from '@ungap/structured-clone'\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Generate the default content that GitHub uses on backreferences.\n *\n * @param {number} _\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {Array<ElementContent>}\n * Content.\n */\nexport function defaultFootnoteBackContent(_, rereferenceIndex) {\n /** @type {Array<ElementContent>} */\n const result = [{type: 'text', value: '↩'}]\n\n if (rereferenceIndex > 1) {\n result.push({\n type: 'element',\n tagName: 'sup',\n properties: {},\n children: [{type: 'text', value: String(rereferenceIndex)}]\n })\n }\n\n return result\n}\n\n/**\n * Generate the default label that GitHub uses on backreferences.\n *\n * @param {number} referenceIndex\n * Index of the definition in the order that they are first referenced,\n * 0-indexed.\n * @param {number} rereferenceIndex\n * Index of calls to the same definition, 0-indexed.\n * @returns {string}\n * Label.\n */\nexport function defaultFootnoteBackLabel(referenceIndex, rereferenceIndex) {\n return (\n 'Back to reference ' +\n (referenceIndex + 1) +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : '')\n )\n}\n\n/**\n * Generate a hast footer for called footnote definitions.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Element | undefined}\n * `section` element or `undefined`.\n */\n// eslint-disable-next-line complexity\nexport function footer(state) {\n const clobberPrefix =\n typeof state.options.clobberPrefix === 'string'\n ? state.options.clobberPrefix\n : 'user-content-'\n const footnoteBackContent =\n state.options.footnoteBackContent || defaultFootnoteBackContent\n const footnoteBackLabel =\n state.options.footnoteBackLabel || defaultFootnoteBackLabel\n const footnoteLabel = state.options.footnoteLabel || 'Footnotes'\n const footnoteLabelTagName = state.options.footnoteLabelTagName || 'h2'\n const footnoteLabelProperties = state.options.footnoteLabelProperties || {\n className: ['sr-only']\n }\n /** @type {Array<ElementContent>} */\n const listItems = []\n let referenceIndex = -1\n\n while (++referenceIndex < state.footnoteOrder.length) {\n const definition = state.footnoteById.get(\n state.footnoteOrder[referenceIndex]\n )\n\n if (!definition) {\n continue\n }\n\n const content = state.all(definition)\n const id = String(definition.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n let rereferenceIndex = 0\n /** @type {Array<ElementContent>} */\n const backReferences = []\n const counts = state.footnoteCounts.get(id)\n\n // eslint-disable-next-line no-unmodified-loop-condition\n while (counts !== undefined && ++rereferenceIndex <= counts) {\n if (backReferences.length > 0) {\n backReferences.push({type: 'text', value: ' '})\n }\n\n let children =\n typeof footnoteBackContent === 'string'\n ? footnoteBackContent\n : footnoteBackContent(referenceIndex, rereferenceIndex)\n\n if (typeof children === 'string') {\n children = {type: 'text', value: children}\n }\n\n backReferences.push({\n type: 'element',\n tagName: 'a',\n properties: {\n href:\n '#' +\n clobberPrefix +\n 'fnref-' +\n safeId +\n (rereferenceIndex > 1 ? '-' + rereferenceIndex : ''),\n dataFootnoteBackref: '',\n ariaLabel:\n typeof footnoteBackLabel === 'string'\n ? footnoteBackLabel\n : footnoteBackLabel(referenceIndex, rereferenceIndex),\n className: ['data-footnote-backref']\n },\n children: Array.isArray(children) ? children : [children]\n })\n }\n\n const tail = content[content.length - 1]\n\n if (tail && tail.type === 'element' && tail.tagName === 'p') {\n const tailTail = tail.children[tail.children.length - 1]\n if (tailTail && tailTail.type === 'text') {\n tailTail.value += ' '\n } else {\n tail.children.push({type: 'text', value: ' '})\n }\n\n tail.children.push(...backReferences)\n } else {\n content.push(...backReferences)\n }\n\n /** @type {Element} */\n const listItem = {\n type: 'element',\n tagName: 'li',\n properties: {id: clobberPrefix + 'fn-' + safeId},\n children: state.wrap(content, true)\n }\n\n state.patch(definition, listItem)\n\n listItems.push(listItem)\n }\n\n if (listItems.length === 0) {\n return\n }\n\n return {\n type: 'element',\n tagName: 'section',\n properties: {dataFootnotes: true, className: ['footnotes']},\n children: [\n {\n type: 'element',\n tagName: footnoteLabelTagName,\n properties: {\n ...structuredClone(footnoteLabelProperties),\n id: 'footnote-label'\n },\n children: [{type: 'text', value: footnoteLabel}]\n },\n {type: 'text', value: '\\n'},\n {\n type: 'element',\n tagName: 'ol',\n properties: {},\n children: state.wrap(listItems, true)\n },\n {type: 'text', value: '\\n'}\n ]\n }\n}\n"],"names":["defaultFootnoteBackContent","_","rereferenceIndex","result","defaultFootnoteBackLabel","referenceIndex","footer","state","clobberPrefix","footnoteBackContent","footnoteBackLabel","footnoteLabel","footnoteLabelTagName","footnoteLabelProperties","listItems","definition","content","id","safeId","normalizeUri","backReferences","counts","children","tail","tailTail","listItem","structuredClone"],"mappings":";;AA8EO,SAASA,EAA2BC,GAAGC,GAAkB;AAE9D,QAAMC,IAAS,CAAC,EAAC,MAAM,QAAQ,OAAO,IAAG,CAAC;AAE1C,SAAID,IAAmB,KACrBC,EAAO,KAAK;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,IACT,YAAY,CAAA;AAAA,IACZ,UAAU,CAAC,EAAC,MAAM,QAAQ,OAAO,OAAOD,CAAgB,EAAC,CAAC;AAAA,EAChE,CAAK,GAGIC;AACT;AAaO,SAASC,EAAyBC,GAAgBH,GAAkB;AACzE,SACE,wBACCG,IAAiB,MACjBH,IAAmB,IAAI,MAAMA,IAAmB;AAErD;AAWO,SAASI,EAAOC,GAAO;AAC5B,QAAMC,IACJ,OAAOD,EAAM,QAAQ,iBAAkB,WACnCA,EAAM,QAAQ,gBACd,iBACAE,IACJF,EAAM,QAAQ,uBAA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,IACA;AACA;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.cjs","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Blockquote} Blockquote\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `blockquote` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Blockquote} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function blockquote(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'blockquote',\n properties: {},\n children: state.wrap(state.all(node), true)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["blockquote","state","node","result"],"mappings":"gFAmBO,SAASA,EAAWC,EAAOC,EAAM,CAEtC,MAAMC,EAAS,CACb,KAAM,UACN,QAAS,aACT,WAAY,CAAA,EACZ,SAAUF,EAAM,KAAKA,EAAM,IAAIC,CAAI,EAAG,EAAI,CAC9C,EACE,OAAAD,EAAM,MAAMC,EAAMC,CAAM,EACjBF,EAAM,UAAUC,EAAMC,CAAM,CACrC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"blockquote.cjs","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {Blockquote} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `blockquote` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Blockquote} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function blockquote(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'blockquote',\n properties: {},\n children: state.wrap(state.all(node), true)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["blockquote","state","node","result"],"mappings":"gFAgBO,SAASA,EAAWC,EAAOC,EAAM,CAEtC,MAAMC,EAAS,CACb,KAAM,UACN,QAAS,aACT,WAAY,CAAA,EACZ,SAAUF,EAAM,KAAKA,EAAM,IAAIC,CAAI,EAAG,EAAI,CAC9C,EACE,OAAAD,EAAM,MAAMC,EAAMC,CAAM,EACjBF,EAAM,UAAUC,EAAMC,CAAM,CACrC","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"blockquote.es.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Blockquote} Blockquote\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `blockquote` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Blockquote} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function blockquote(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'blockquote',\n properties: {},\n children: state.wrap(state.all(node), true)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["blockquote","state","node","result"],"mappings":"AAmBO,SAASA,EAAWC,GAAOC,GAAM;AAEtC,QAAMC,IAAS;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,YAAY,CAAA;AAAA,IACZ,UAAUF,EAAM,KAAKA,EAAM,IAAIC,CAAI,GAAG,EAAI;AAAA,EAC9C;AACE,SAAAD,EAAM,MAAMC,GAAMC,CAAM,GACjBF,EAAM,UAAUC,GAAMC,CAAM;AACrC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"blockquote.es.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js"],"sourcesContent":["/**\n * @import {Element} from 'hast'\n * @import {Blockquote} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `blockquote` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Blockquote} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function blockquote(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'blockquote',\n properties: {},\n children: state.wrap(state.all(node), true)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["blockquote","state","node","result"],"mappings":"AAgBO,SAASA,EAAWC,GAAOC,GAAM;AAEtC,QAAMC,IAAS;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,YAAY,CAAA;AAAA,IACZ,UAAUF,EAAM,KAAKA,EAAM,IAAIC,CAAI,GAAG,EAAI;AAAA,EAC9C;AACE,SAAAD,EAAM,MAAMC,GAAMC,CAAM,GACjBF,EAAM,UAAUC,GAAMC,CAAM;AACrC;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"break.cjs","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/break.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Text} Text\n * @typedef {import('mdast').Break} Break\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `break` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Break} node\n * mdast node.\n * @returns {Array<Element | Text>}\n * hast element content.\n */\nexport function hardBreak(state, node) {\n /** @type {Element} */\n const result = {type: 'element', tagName: 'br', properties: {}, children: []}\n state.patch(node, result)\n return [state.applyData(node, result), {type: 'text', value: '\\n'}]\n}\n"],"names":["hardBreak","state","node","result"],"mappings":"gFAoBO,SAASA,EAAUC,EAAOC,EAAM,CAErC,MAAMC,EAAS,CAAC,KAAM,UAAW,QAAS,KAAM,WAAY,GAAI,SAAU,CAAA,CAAE,EAC5E,OAAAF,EAAM,MAAMC,EAAMC,CAAM,EACjB,CAACF,EAAM,UAAUC,EAAMC,CAAM,EAAG,CAAC,KAAM,OAAQ,MAAO;AAAA,CAAI,CAAC,CACpE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"break.cjs","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/break.js"],"sourcesContent":["/**\n * @import {Element, Text} from 'hast'\n * @import {Break} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `break` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Break} node\n * mdast node.\n * @returns {Array<Element | Text>}\n * hast element content.\n */\nexport function hardBreak(state, node) {\n /** @type {Element} */\n const result = {type: 'element', tagName: 'br', properties: {}, children: []}\n state.patch(node, result)\n return [state.applyData(node, result), {type: 'text', value: '\\n'}]\n}\n"],"names":["hardBreak","state","node","result"],"mappings":"gFAgBO,SAASA,EAAUC,EAAOC,EAAM,CAErC,MAAMC,EAAS,CAAC,KAAM,UAAW,QAAS,KAAM,WAAY,GAAI,SAAU,CAAA,CAAE,EAC5E,OAAAF,EAAM,MAAMC,EAAMC,CAAM,EACjB,CAACF,EAAM,UAAUC,EAAMC,CAAM,EAAG,CAAC,KAAM,OAAQ,MAAO;AAAA,CAAI,CAAC,CACpE","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"break.es.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/break.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Text} Text\n * @typedef {import('mdast').Break} Break\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `break` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Break} node\n * mdast node.\n * @returns {Array<Element | Text>}\n * hast element content.\n */\nexport function hardBreak(state, node) {\n /** @type {Element} */\n const result = {type: 'element', tagName: 'br', properties: {}, children: []}\n state.patch(node, result)\n return [state.applyData(node, result), {type: 'text', value: '\\n'}]\n}\n"],"names":["hardBreak","state","node","result"],"mappings":"AAoBO,SAASA,EAAUC,GAAOC,GAAM;AAErC,QAAMC,IAAS,EAAC,MAAM,WAAW,SAAS,MAAM,YAAY,IAAI,UAAU,CAAA,EAAE;AAC5E,SAAAF,EAAM,MAAMC,GAAMC,CAAM,GACjB,CAACF,EAAM,UAAUC,GAAMC,CAAM,GAAG,EAAC,MAAM,QAAQ,OAAO;AAAA,EAAI,CAAC;AACpE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"break.es.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/break.js"],"sourcesContent":["/**\n * @import {Element, Text} from 'hast'\n * @import {Break} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `break` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Break} node\n * mdast node.\n * @returns {Array<Element | Text>}\n * hast element content.\n */\nexport function hardBreak(state, node) {\n /** @type {Element} */\n const result = {type: 'element', tagName: 'br', properties: {}, children: []}\n state.patch(node, result)\n return [state.applyData(node, result), {type: 'text', value: '\\n'}]\n}\n"],"names":["hardBreak","state","node","result"],"mappings":"AAgBO,SAASA,EAAUC,GAAOC,GAAM;AAErC,QAAMC,IAAS,EAAC,MAAM,WAAW,SAAS,MAAM,YAAY,IAAI,UAAU,CAAA,EAAE;AAC5E,SAAAF,EAAM,MAAMC,GAAMC,CAAM,GACjB,CAACF,EAAM,UAAUC,GAAMC,CAAM,GAAG,EAAC,MAAM,QAAQ,OAAO;AAAA,EAAI,CAAC;AACpE;","x_google_ignoreList":[0]}
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(a,e){const r=e.value?e.value+`
2
- `:"",l={};e.lang&&(l.className=["language-"+e.lang]);let t={type:"element",tagName:"code",properties:l,children:[{type:"text",value:r}]};return e.meta&&(t.data={meta:e.meta}),a.patch(e,t),t=a.applyData(e,t),t={type:"element",tagName:"pre",properties:{},children:[t]},a.patch(e,t),t}exports.code=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(a,e){const p=e.value?e.value+`
2
+ `:"",l={},c=e.lang?e.lang.split(/\s+/):[];c.length>0&&(l.className=["language-"+c[0]]);let t={type:"element",tagName:"code",properties:l,children:[{type:"text",value:p}]};return e.meta&&(t.data={meta:e.meta}),a.patch(e,t),t=a.applyData(e,t),t={type:"element",tagName:"pre",properties:{},children:[t]},a.patch(e,t),t}exports.code=r;
3
3
  //# sourceMappingURL=code.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"code.cjs","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/code.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Code} Code\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `code` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Code} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function code(state, node) {\n const value = node.value ? node.value + '\\n' : ''\n /** @type {Properties} */\n const properties = {}\n\n if (node.lang) {\n properties.className = ['language-' + node.lang]\n }\n\n // Create `<code>`.\n /** @type {Element} */\n let result = {\n type: 'element',\n tagName: 'code',\n properties,\n children: [{type: 'text', value}]\n }\n\n if (node.meta) {\n result.data = {meta: node.meta}\n }\n\n state.patch(node, result)\n result = state.applyData(node, result)\n\n // Create `<pre>`.\n result = {type: 'element', tagName: 'pre', properties: {}, children: [result]}\n state.patch(node, result)\n return result\n}\n"],"names":["code","state","node","value","properties","result"],"mappings":"gFAoBO,SAASA,EAAKC,EAAOC,EAAM,CAChC,MAAMC,EAAQD,EAAK,MAAQA,EAAK,MAAQ;AAAA,EAAO,GAEzCE,EAAa,CAAA,EAEfF,EAAK,OACPE,EAAW,UAAY,CAAC,YAAcF,EAAK,IAAI,GAKjD,IAAIG,EAAS,CACX,KAAM,UACN,QAAS,OACT,WAAAD,EACA,SAAU,CAAC,CAAC,KAAM,OAAQ,MAAAD,CAAK,CAAC,CACpC,EAEE,OAAID,EAAK,OACPG,EAAO,KAAO,CAAC,KAAMH,EAAK,IAAI,GAGhCD,EAAM,MAAMC,EAAMG,CAAM,EACxBA,EAASJ,EAAM,UAAUC,EAAMG,CAAM,EAGrCA,EAAS,CAAC,KAAM,UAAW,QAAS,MAAO,WAAY,CAAA,EAAI,SAAU,CAACA,CAAM,CAAC,EAC7EJ,EAAM,MAAMC,EAAMG,CAAM,EACjBA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"code.cjs","sources":["../../../../../node_modules/mdast-util-to-hast/lib/handlers/code.js"],"sourcesContent":["/**\n * @import {Element, Properties} from 'hast'\n * @import {Code} from 'mdast'\n * @import {State} from '../state.js'\n */\n\n/**\n * Turn an mdast `code` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Code} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function code(state, node) {\n const value = node.value ? node.value + '\\n' : ''\n /** @type {Properties} */\n const properties = {}\n // Someone can write `js&#x20;python&#x9;ruby`.\n const language = node.lang ? node.lang.split(/\\s+/) : []\n\n // GH/CM still drop the non-first languages.\n if (language.length > 0) {\n properties.className = ['language-' + language[0]]\n }\n\n // Create `<code>`.\n /** @type {Element} */\n let result = {\n type: 'element',\n tagName: 'code',\n properties,\n children: [{type: 'text', value}]\n }\n\n if (node.meta) {\n result.data = {meta: node.meta}\n }\n\n state.patch(node, result)\n result = state.applyData(node, result)\n\n // Create `<pre>`.\n result = {type: 'element', tagName: 'pre', properties: {}, children: [result]}\n state.patch(node, result)\n return result\n}\n"],"names":["code","state","node","value","properties","language","result"],"mappings":"gFAgBO,SAASA,EAAKC,EAAOC,EAAM,CAChC,MAAMC,EAAQD,EAAK,MAAQA,EAAK,MAAQ;AAAA,EAAO,GAEzCE,EAAa,CAAA,EAEbC,EAAWH,EAAK,KAAOA,EAAK,KAAK,MAAM,KAAK,EAAI,CAAA,EAGlDG,EAAS,OAAS,IACpBD,EAAW,UAAY,CAAC,YAAcC,EAAS,CAAC,CAAC,GAKnD,IAAIC,EAAS,CACX,KAAM,UACN,QAAS,OACT,WAAAF,EACA,SAAU,CAAC,CAAC,KAAM,OAAQ,MAAAD,CAAK,CAAC,CACpC,EAEE,OAAID,EAAK,OACPI,EAAO,KAAO,CAAC,KAAMJ,EAAK,IAAI,GAGhCD,EAAM,MAAMC,EAAMI,CAAM,EACxBA,EAASL,EAAM,UAAUC,EAAMI,CAAM,EAGrCA,EAAS,CAAC,KAAM,UAAW,QAAS,MAAO,WAAY,CAAA,EAAI,SAAU,CAACA,CAAM,CAAC,EAC7EL,EAAM,MAAMC,EAAMI,CAAM,EACjBA,CACT","x_google_ignoreList":[0]}
@@ -1,14 +1,14 @@
1
- function r(t, e) {
2
- const p = e.value ? e.value + `
3
- ` : "", l = {};
4
- e.lang && (l.className = ["language-" + e.lang]);
5
- let a = {
1
+ function r(a, e) {
2
+ const c = e.value ? e.value + `
3
+ ` : "", l = {}, p = e.lang ? e.lang.split(/\s+/) : [];
4
+ p.length > 0 && (l.className = ["language-" + p[0]]);
5
+ let t = {
6
6
  type: "element",
7
7
  tagName: "code",
8
8
  properties: l,
9
- children: [{ type: "text", value: p }]
9
+ children: [{ type: "text", value: c }]
10
10
  };
11
- return e.meta && (a.data = { meta: e.meta }), t.patch(e, a), a = t.applyData(e, a), a = { type: "element", tagName: "pre", properties: {}, children: [a] }, t.patch(e, a), a;
11
+ return e.meta && (t.data = { meta: e.meta }), a.patch(e, t), t = a.applyData(e, t), t = { type: "element", tagName: "pre", properties: {}, children: [t] }, a.patch(e, t), t;
12
12
  }
13
13
  export {
14
14
  r as code