markdown-flow-ui 0.3.4-dev.2 → 0.3.5

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 (1168) hide show
  1. package/README.md +8 -4
  2. package/dist/_virtual/{advancedFormat.es2.js → advancedFormat2.es.js} +1 -1
  3. package/dist/_virtual/advancedFormat2.es.js.map +1 -0
  4. package/dist/_virtual/core.cjs +1 -1
  5. package/dist/_virtual/core.es.js +1 -1
  6. package/dist/_virtual/{cose-base.es2.js → cose-base2.es.js} +1 -1
  7. package/dist/_virtual/cose-base2.es.js.map +1 -0
  8. package/dist/_virtual/{customParseFormat.es2.js → customParseFormat2.es.js} +1 -1
  9. package/dist/_virtual/customParseFormat2.es.js.map +1 -0
  10. package/dist/_virtual/cytoscape-cose-bilkent2.es.js +5 -0
  11. package/dist/_virtual/cytoscape-cose-bilkent2.es.js.map +1 -0
  12. package/dist/_virtual/{cytoscape-fcose.es2.js → cytoscape-fcose2.es.js} +1 -1
  13. package/dist/_virtual/cytoscape-fcose2.es.js.map +1 -0
  14. package/dist/_virtual/{dayjs.min2.cjs → dayjs2.min.cjs} +1 -1
  15. package/dist/_virtual/dayjs2.min.cjs.map +1 -0
  16. package/dist/_virtual/{dayjs.min.es2.js → dayjs2.min.es.js} +1 -1
  17. package/dist/_virtual/dayjs2.min.es.js.map +1 -0
  18. package/dist/_virtual/{duration.es2.js → duration2.es.js} +1 -1
  19. package/dist/_virtual/duration2.es.js.map +1 -0
  20. package/dist/_virtual/{index.es10.js → index10.es.js} +1 -1
  21. package/dist/_virtual/index10.es.js.map +1 -0
  22. package/dist/_virtual/{index.es11.js → index11.es.js} +1 -1
  23. package/dist/_virtual/index11.es.js.map +1 -0
  24. package/dist/_virtual/{index.es12.js → index12.es.js} +1 -1
  25. package/dist/_virtual/index12.es.js.map +1 -0
  26. package/dist/_virtual/{index.es9.js → index2.es.js} +1 -1
  27. package/dist/_virtual/index2.es.js.map +1 -0
  28. package/dist/_virtual/{index.es3.js → index3.es.js} +1 -1
  29. package/dist/_virtual/index3.es.js.map +1 -0
  30. package/dist/_virtual/{index.es4.js → index4.es.js} +1 -1
  31. package/dist/_virtual/index4.es.js.map +1 -0
  32. package/dist/_virtual/{index.es5.js → index5.es.js} +1 -1
  33. package/dist/_virtual/index5.es.js.map +1 -0
  34. package/dist/_virtual/{index.es6.js → index6.es.js} +1 -1
  35. package/dist/_virtual/index6.es.js.map +1 -0
  36. package/dist/_virtual/{index.es7.js → index7.es.js} +1 -1
  37. package/dist/_virtual/index7.es.js.map +1 -0
  38. package/dist/_virtual/{index.es8.js → index8.es.js} +1 -1
  39. package/dist/_virtual/index8.es.js.map +1 -0
  40. package/dist/_virtual/{index.es2.js → index9.es.js} +1 -1
  41. package/dist/_virtual/index9.es.js.map +1 -0
  42. package/dist/_virtual/{isoWeek.es2.js → isoWeek2.es.js} +1 -1
  43. package/dist/_virtual/isoWeek2.es.js.map +1 -0
  44. package/dist/_virtual/{layout-base.es2.js → layout-base2.es.js} +1 -1
  45. package/dist/_virtual/layout-base2.es.js.map +1 -0
  46. package/dist/components/ContentRender/ContentRender.cjs.map +1 -1
  47. package/dist/components/ContentRender/ContentRender.es.js.map +1 -1
  48. package/dist/components/ContentRender/IframeSandbox.es.js +1 -1
  49. package/dist/components/ContentRender/plugins/MermaidChart.cjs.map +1 -1
  50. package/dist/components/ContentRender/utils/video-markdown-run.es.js +2 -2
  51. package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs +1 -1
  52. package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs.map +1 -1
  53. package/dist/components/MarkdownFlow/ScrollToBottomControl.es.js +1 -1
  54. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs +1 -1
  55. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs.map +1 -1
  56. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js +6 -6
  57. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js.map +1 -1
  58. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs.map +1 -1
  59. package/dist/components/Slide/Slide.es.js +3 -3
  60. package/dist/components/ui/inputGroup/input-group.d.ts +1 -1
  61. package/dist/components/ui/inputGroup/textarea.es.js +1 -1
  62. package/dist/components/ui/tooltip.cjs +1 -1
  63. package/dist/components/ui/tooltip.cjs.map +1 -1
  64. package/dist/components/ui/tooltip.es.js +12 -12
  65. package/dist/index.cjs +1 -1
  66. package/dist/index.es.js +3 -3
  67. package/dist/markdown-flow-ui-lib.css +2 -2
  68. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
  69. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs.map +1 -1
  70. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js +4 -4
  71. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.es.js.map +1 -1
  72. package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
  73. package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs +1 -1
  74. package/dist/node_modules/@codemirror/autocomplete/dist/index.cjs.map +1 -1
  75. package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js +172 -159
  76. package/dist/node_modules/@codemirror/autocomplete/dist/index.es.js.map +1 -1
  77. package/dist/node_modules/@codemirror/commands/dist/index.cjs +1 -1
  78. package/dist/node_modules/@codemirror/commands/dist/index.cjs.map +1 -1
  79. package/dist/node_modules/@codemirror/commands/dist/index.es.js +376 -333
  80. package/dist/node_modules/@codemirror/commands/dist/index.es.js.map +1 -1
  81. package/dist/node_modules/@codemirror/lang-css/dist/index.es.js +3 -3
  82. package/dist/node_modules/@codemirror/lang-html/dist/index.cjs +1 -1
  83. package/dist/node_modules/@codemirror/lang-html/dist/index.cjs.map +1 -1
  84. package/dist/node_modules/@codemirror/lang-html/dist/index.es.js +238 -228
  85. package/dist/node_modules/@codemirror/lang-html/dist/index.es.js.map +1 -1
  86. package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs +4 -4
  87. package/dist/node_modules/@codemirror/lang-javascript/dist/index.cjs.map +1 -1
  88. package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js +62 -50
  89. package/dist/node_modules/@codemirror/lang-javascript/dist/index.es.js.map +1 -1
  90. package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs +1 -1
  91. package/dist/node_modules/@codemirror/lang-markdown/dist/index.cjs.map +1 -1
  92. package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js +237 -207
  93. package/dist/node_modules/@codemirror/lang-markdown/dist/index.es.js.map +1 -1
  94. package/dist/node_modules/@codemirror/language/dist/index.cjs +1 -1
  95. package/dist/node_modules/@codemirror/language/dist/index.cjs.map +1 -1
  96. package/dist/node_modules/@codemirror/language/dist/index.es.js +302 -296
  97. package/dist/node_modules/@codemirror/language/dist/index.es.js.map +1 -1
  98. package/dist/node_modules/@codemirror/lint/dist/index.cjs +1 -1
  99. package/dist/node_modules/@codemirror/lint/dist/index.cjs.map +1 -1
  100. package/dist/node_modules/@codemirror/lint/dist/index.es.js +281 -236
  101. package/dist/node_modules/@codemirror/lint/dist/index.es.js.map +1 -1
  102. package/dist/node_modules/@codemirror/search/dist/index.cjs +2 -2
  103. package/dist/node_modules/@codemirror/search/dist/index.cjs.map +1 -1
  104. package/dist/node_modules/@codemirror/search/dist/index.es.js +427 -454
  105. package/dist/node_modules/@codemirror/search/dist/index.es.js.map +1 -1
  106. package/dist/node_modules/@codemirror/state/dist/index.cjs +5 -5
  107. package/dist/node_modules/@codemirror/state/dist/index.cjs.map +1 -1
  108. package/dist/node_modules/@codemirror/state/dist/index.es.js +556 -509
  109. package/dist/node_modules/@codemirror/state/dist/index.es.js.map +1 -1
  110. package/dist/node_modules/@codemirror/view/dist/index.cjs +5 -5
  111. package/dist/node_modules/@codemirror/view/dist/index.cjs.map +1 -1
  112. package/dist/node_modules/@codemirror/view/dist/index.es.js +3982 -3507
  113. package/dist/node_modules/@codemirror/view/dist/index.es.js.map +1 -1
  114. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -1
  115. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.map +1 -1
  116. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js +288 -309
  117. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.es.js.map +1 -1
  118. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -1
  119. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.map +1 -1
  120. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +244 -252
  121. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js.map +1 -1
  122. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +1 -1
  123. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.map +1 -1
  124. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +1 -1
  125. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.map +1 -1
  126. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js +8 -8
  127. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js.map +1 -1
  128. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +47 -47
  129. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js.map +1 -1
  130. package/dist/node_modules/@lezer/common/dist/index.cjs +1 -1
  131. package/dist/node_modules/@lezer/common/dist/index.cjs.map +1 -1
  132. package/dist/node_modules/@lezer/common/dist/index.es.js +266 -253
  133. package/dist/node_modules/@lezer/common/dist/index.es.js.map +1 -1
  134. package/dist/node_modules/@lezer/css/dist/index.cjs +1 -1
  135. package/dist/node_modules/@lezer/css/dist/index.cjs.map +1 -1
  136. package/dist/node_modules/@lezer/css/dist/index.es.js +95 -87
  137. package/dist/node_modules/@lezer/css/dist/index.es.js.map +1 -1
  138. package/dist/node_modules/@lezer/highlight/dist/index.cjs +1 -1
  139. package/dist/node_modules/@lezer/highlight/dist/index.cjs.map +1 -1
  140. package/dist/node_modules/@lezer/highlight/dist/index.es.js +150 -139
  141. package/dist/node_modules/@lezer/highlight/dist/index.es.js.map +1 -1
  142. package/dist/node_modules/@lezer/html/dist/index.cjs +1 -1
  143. package/dist/node_modules/@lezer/html/dist/index.cjs.map +1 -1
  144. package/dist/node_modules/@lezer/html/dist/index.es.js +88 -95
  145. package/dist/node_modules/@lezer/html/dist/index.es.js.map +1 -1
  146. package/dist/node_modules/@lezer/javascript/dist/index.cjs +1 -1
  147. package/dist/node_modules/@lezer/javascript/dist/index.cjs.map +1 -1
  148. package/dist/node_modules/@lezer/javascript/dist/index.es.js +49 -49
  149. package/dist/node_modules/@lezer/javascript/dist/index.es.js.map +1 -1
  150. package/dist/node_modules/@lezer/lr/dist/index.cjs +1 -1
  151. package/dist/node_modules/@lezer/lr/dist/index.cjs.map +1 -1
  152. package/dist/node_modules/@lezer/lr/dist/index.es.js +148 -137
  153. package/dist/node_modules/@lezer/lr/dist/index.es.js.map +1 -1
  154. package/dist/node_modules/@lezer/markdown/dist/index.cjs +5 -5
  155. package/dist/node_modules/@lezer/markdown/dist/index.cjs.map +1 -1
  156. package/dist/node_modules/@lezer/markdown/dist/index.es.js +305 -269
  157. package/dist/node_modules/@lezer/markdown/dist/index.es.js.map +1 -1
  158. package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs +1 -1
  159. package/dist/node_modules/@marijn/find-cluster-break/src/index.cjs.map +1 -1
  160. package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js +31 -31
  161. package/dist/node_modules/@marijn/find-cluster-break/src/index.es.js.map +1 -1
  162. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js +4 -3
  163. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-7GRP2DOG.es.js.map +1 -1
  164. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2ZTRR5NV.es.js +1 -1
  165. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-3Z5EZCMW.es.js +1 -1
  166. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5V3GS4D5.es.js +1 -1
  167. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6AZGARVD.es.js +1 -1
  168. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6EIED4P4.es.js +1 -1
  169. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6K3QC6MW.es.js +1 -1
  170. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-6TQVIW2G.es.js +1 -1
  171. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-747NJXEK.es.js +1 -1
  172. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-I5DQTOEV.es.js +1 -1
  173. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ICYGCRZG.es.js +1 -1
  174. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-IH6LHLGP.es.js +1 -1
  175. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KI3K4JFJ.es.js +1 -1
  176. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OUJLGHUK.es.js +1 -1
  177. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-UY3FDG6J.es.js +1 -1
  178. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XHIXRSVI.es.js +1 -1
  179. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js +4 -3
  180. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-OW5HDTMX.es.js.map +1 -1
  181. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js +4 -3
  182. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-NTZA5JFV.es.js.map +1 -1
  183. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js +3 -2
  184. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-4MIJSDKK.es.js.map +1 -1
  185. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js +4 -3
  186. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-A6RAGUB7.es.js.map +1 -1
  187. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js +4 -3
  188. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-AYTQ26CC.es.js.map +1 -1
  189. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js +4 -3
  190. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WAS4IAKB.es.js.map +1 -1
  191. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js +4 -3
  192. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-RG4KPBEZ.es.js.map +1 -1
  193. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js +4 -3
  194. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-74A4TZTK.es.js.map +1 -1
  195. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js +4 -3
  196. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-HS5TGJTU.es.js.map +1 -1
  197. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js +4 -3
  198. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-LZEXJU2U.es.js.map +1 -1
  199. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js +4 -3
  200. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-WCYAUIDC.es.js.map +1 -1
  201. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js +4 -3
  202. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-Q6P3EWNA.es.js.map +1 -1
  203. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js +4 -3
  204. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-WGGIJYW6.es.js.map +1 -1
  205. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js +4 -3
  206. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-WFR3VGLG.es.js.map +1 -1
  207. package/dist/node_modules/@radix-ui/primitive/dist/index.cjs +1 -1
  208. package/dist/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -1
  209. package/dist/node_modules/@radix-ui/primitive/dist/index.es.js +46 -6
  210. package/dist/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -1
  211. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -1
  212. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -1
  213. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +20 -16
  214. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -1
  215. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
  216. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
  217. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js +71 -43
  218. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -1
  219. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs +1 -1
  220. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
  221. package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js +16 -16
  222. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -1
  223. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
  224. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +184 -96
  225. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -1
  226. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
  227. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
  228. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +3 -3
  229. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +1 -1
  230. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -1
  231. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js +10 -9
  232. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -1
  233. package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -1
  234. package/dist/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
  235. package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js +14 -12
  236. package/dist/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -1
  237. package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -1
  238. package/dist/node_modules/@radix-ui/react-presence/dist/index.cjs.map +1 -1
  239. package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js +70 -37
  240. package/dist/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -1
  241. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
  242. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
  243. package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js +16 -14
  244. package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -1
  245. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  246. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  247. package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js +1 -1
  248. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
  249. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
  250. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js +261 -250
  251. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js.map +1 -1
  252. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -0
  253. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
  254. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs +2 -0
  255. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -0
  256. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js +25 -0
  257. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -0
  258. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -0
  259. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
  260. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +2 -0
  261. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -0
  262. package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +1 -1
  263. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -0
  264. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +2 -0
  265. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -0
  266. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +105 -0
  267. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -0
  268. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs +2 -0
  269. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -0
  270. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js +271 -0
  271. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -0
  272. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs +2 -0
  273. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -0
  274. package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-portal/dist/index.es.js +1 -1
  275. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
  276. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  277. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  278. package/dist/node_modules/@radix-ui/{react-focus-scope → react-tooltip}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  279. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  280. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  281. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  282. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js +94 -7
  283. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
  284. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
  285. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
  286. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +16 -0
  287. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
  288. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +2 -0
  289. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -0
  290. package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +2 -2
  291. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -0
  292. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -1
  293. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -1
  294. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +8 -6
  295. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -1
  296. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -1
  297. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -1
  298. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +56 -39
  299. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -1
  300. package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +1 -0
  301. package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +1 -0
  302. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +1 -1
  303. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -1
  304. package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -1
  305. package/dist/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +1 -1
  306. package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js +28 -21
  307. package/dist/node_modules/@radix-ui/react-use-size/dist/index.es.js.map +1 -1
  308. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -1
  309. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
  310. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +15 -15
  311. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js.map +1 -1
  312. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  313. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  314. package/dist/node_modules/@radix-ui/{react-dialog → react-visually-hidden}/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  315. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  316. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
  317. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
  318. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js +99 -0
  319. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  320. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs +1 -1
  321. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.cjs.map +1 -1
  322. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js +11 -13
  323. package/dist/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.es.js.map +1 -1
  324. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs +1 -1
  325. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.cjs.map +1 -1
  326. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js +20 -27
  327. package/dist/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.es.js.map +1 -1
  328. package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs +1 -1
  329. package/dist/node_modules/@uiw/react-codemirror/esm/index.cjs.map +1 -1
  330. package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js +51 -80
  331. package/dist/node_modules/@uiw/react-codemirror/esm/index.es.js.map +1 -1
  332. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs +2 -0
  333. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.cjs.map +1 -0
  334. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js +33 -0
  335. package/dist/node_modules/@uiw/react-codemirror/esm/theme/dimensionTheme.es.js.map +1 -0
  336. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs +1 -1
  337. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.cjs.map +1 -1
  338. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js +64 -98
  339. package/dist/node_modules/@uiw/react-codemirror/esm/useCodeMirror.es.js.map +1 -1
  340. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs +1 -1
  341. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +1 -1
  342. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js +65 -42
  343. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.es.js.map +1 -1
  344. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs +1 -1
  345. package/dist/node_modules/@ungap/structured-clone/esm/serialize.cjs.map +1 -1
  346. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js +62 -58
  347. package/dist/node_modules/@ungap/structured-clone/esm/serialize.es.js.map +1 -1
  348. package/dist/node_modules/classnames/index.es.js +1 -1
  349. package/dist/node_modules/clsx/dist/clsx.cjs +1 -1
  350. package/dist/node_modules/clsx/dist/clsx.cjs.map +1 -1
  351. package/dist/node_modules/clsx/dist/clsx.es.js +7 -8
  352. package/dist/node_modules/clsx/dist/clsx.es.js.map +1 -1
  353. package/dist/node_modules/cose-base/cose-base.es.js +1 -1
  354. package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.es.js +1 -1
  355. package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.es.js +1 -1
  356. package/dist/node_modules/d3-color/src/lab.cjs +1 -1
  357. package/dist/node_modules/d3-color/src/lab.cjs.map +1 -1
  358. package/dist/node_modules/d3-color/src/lab.es.js +4 -5
  359. package/dist/node_modules/d3-format/src/defaultLocale.cjs +1 -1
  360. package/dist/node_modules/d3-format/src/defaultLocale.cjs.map +1 -1
  361. package/dist/node_modules/d3-format/src/defaultLocale.es.js +3 -4
  362. package/dist/node_modules/d3-time-format/src/defaultLocale.cjs +1 -1
  363. package/dist/node_modules/d3-time-format/src/defaultLocale.cjs.map +1 -1
  364. package/dist/node_modules/d3-time-format/src/defaultLocale.es.js +2 -3
  365. package/dist/node_modules/d3-time-format/src/locale.es.js +14 -14
  366. package/dist/node_modules/d3-transition/src/selection/transition.cjs +1 -1
  367. package/dist/node_modules/d3-transition/src/selection/transition.es.js +4 -4
  368. package/dist/node_modules/d3-transition/src/transition/interpolate.cjs +1 -1
  369. package/dist/node_modules/d3-transition/src/transition/interpolate.es.js +3 -3
  370. package/dist/node_modules/dagre-d3-es/src/dagre/layout.cjs +1 -1
  371. package/dist/node_modules/dagre-d3-es/src/dagre/layout.es.js +7 -7
  372. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.cjs +1 -1
  373. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.es.js +4 -4
  374. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.cjs +1 -1
  375. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.es.js +14 -14
  376. package/dist/node_modules/dagre-d3-es/src/dagre/util.cjs +1 -1
  377. package/dist/node_modules/dagre-d3-es/src/dagre/util.es.js +7 -7
  378. package/dist/node_modules/dayjs/dayjs.min.cjs +1 -1
  379. package/dist/node_modules/dayjs/dayjs.min.es.js +1 -1
  380. package/dist/node_modules/dayjs/plugin/advancedFormat.es.js +1 -1
  381. package/dist/node_modules/dayjs/plugin/customParseFormat.es.js +1 -1
  382. package/dist/node_modules/dayjs/plugin/duration.es.js +1 -1
  383. package/dist/node_modules/dayjs/plugin/isoWeek.es.js +1 -1
  384. package/dist/node_modules/decode-named-character-reference/index.dom.cjs.map +1 -1
  385. package/dist/node_modules/decode-named-character-reference/index.dom.es.js +1 -5
  386. package/dist/node_modules/decode-named-character-reference/index.dom.es.js.map +1 -1
  387. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
  388. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs +1 -1
  389. package/dist/node_modules/hast-util-to-parse5/lib/index.cjs.map +1 -1
  390. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js +2 -2
  391. package/dist/node_modules/hast-util-to-parse5/lib/index.es.js.map +1 -1
  392. package/dist/node_modules/hast-util-to-text/lib/index.cjs +3 -3
  393. package/dist/node_modules/hast-util-to-text/lib/index.cjs.map +1 -1
  394. package/dist/node_modules/hast-util-to-text/lib/index.es.js +136 -84
  395. package/dist/node_modules/hast-util-to-text/lib/index.es.js.map +1 -1
  396. package/dist/node_modules/highlight.js/es/languages/c.cjs +1 -1
  397. package/dist/node_modules/highlight.js/es/languages/c.cjs.map +1 -1
  398. package/dist/node_modules/highlight.js/es/languages/c.es.js +122 -63
  399. package/dist/node_modules/highlight.js/es/languages/c.es.js.map +1 -1
  400. package/dist/node_modules/highlight.js/es/languages/cpp.cjs +1 -1
  401. package/dist/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -1
  402. package/dist/node_modules/highlight.js/es/languages/cpp.es.js +65 -48
  403. package/dist/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -1
  404. package/dist/node_modules/highlight.js/es/languages/css.cjs +1 -1
  405. package/dist/node_modules/highlight.js/es/languages/css.cjs.map +1 -1
  406. package/dist/node_modules/highlight.js/es/languages/css.es.js +17 -6
  407. package/dist/node_modules/highlight.js/es/languages/css.es.js.map +1 -1
  408. package/dist/node_modules/highlight.js/es/languages/go.cjs +1 -1
  409. package/dist/node_modules/highlight.js/es/languages/go.cjs.map +1 -1
  410. package/dist/node_modules/highlight.js/es/languages/go.es.js +7 -2
  411. package/dist/node_modules/highlight.js/es/languages/go.es.js.map +1 -1
  412. package/dist/node_modules/highlight.js/es/languages/java.cjs +1 -1
  413. package/dist/node_modules/highlight.js/es/languages/java.cjs.map +1 -1
  414. package/dist/node_modules/highlight.js/es/languages/java.es.js +48 -39
  415. package/dist/node_modules/highlight.js/es/languages/java.es.js.map +1 -1
  416. package/dist/node_modules/highlight.js/es/languages/javascript.cjs +1 -1
  417. package/dist/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -1
  418. package/dist/node_modules/highlight.js/es/languages/javascript.es.js +4 -2
  419. package/dist/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -1
  420. package/dist/node_modules/highlight.js/es/languages/json.cjs +1 -1
  421. package/dist/node_modules/highlight.js/es/languages/json.cjs.map +1 -1
  422. package/dist/node_modules/highlight.js/es/languages/json.es.js +15 -9
  423. package/dist/node_modules/highlight.js/es/languages/json.es.js.map +1 -1
  424. package/dist/node_modules/highlight.js/es/languages/lua.cjs +1 -1
  425. package/dist/node_modules/highlight.js/es/languages/lua.cjs.map +1 -1
  426. package/dist/node_modules/highlight.js/es/languages/lua.es.js +1 -1
  427. package/dist/node_modules/highlight.js/es/languages/lua.es.js.map +1 -1
  428. package/dist/node_modules/highlight.js/es/languages/markdown.cjs +1 -1
  429. package/dist/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -1
  430. package/dist/node_modules/highlight.js/es/languages/markdown.es.js +9 -10
  431. package/dist/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -1
  432. package/dist/node_modules/highlight.js/es/languages/php.cjs +2 -2
  433. package/dist/node_modules/highlight.js/es/languages/php.cjs.map +1 -1
  434. package/dist/node_modules/highlight.js/es/languages/php.es.js +39 -33
  435. package/dist/node_modules/highlight.js/es/languages/php.es.js.map +1 -1
  436. package/dist/node_modules/highlight.js/es/languages/python.cjs +1 -1
  437. package/dist/node_modules/highlight.js/es/languages/python.cjs.map +1 -1
  438. package/dist/node_modules/highlight.js/es/languages/python.es.js +20 -15
  439. package/dist/node_modules/highlight.js/es/languages/python.es.js.map +1 -1
  440. package/dist/node_modules/highlight.js/es/languages/rust.cjs +1 -1
  441. package/dist/node_modules/highlight.js/es/languages/rust.cjs.map +1 -1
  442. package/dist/node_modules/highlight.js/es/languages/rust.es.js +40 -26
  443. package/dist/node_modules/highlight.js/es/languages/rust.es.js.map +1 -1
  444. package/dist/node_modules/highlight.js/es/languages/scss.cjs +1 -1
  445. package/dist/node_modules/highlight.js/es/languages/scss.cjs.map +1 -1
  446. package/dist/node_modules/highlight.js/es/languages/scss.es.js +36 -25
  447. package/dist/node_modules/highlight.js/es/languages/scss.es.js.map +1 -1
  448. package/dist/node_modules/highlight.js/es/languages/shell.cjs +1 -1
  449. package/dist/node_modules/highlight.js/es/languages/shell.cjs.map +1 -1
  450. package/dist/node_modules/highlight.js/es/languages/shell.es.js +1 -1
  451. package/dist/node_modules/highlight.js/es/languages/shell.es.js.map +1 -1
  452. package/dist/node_modules/highlight.js/es/languages/typescript.cjs +1 -1
  453. package/dist/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -1
  454. package/dist/node_modules/highlight.js/es/languages/typescript.es.js +4 -2
  455. package/dist/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -1
  456. package/dist/node_modules/highlight.js/es/languages/xml.cjs +1 -1
  457. package/dist/node_modules/highlight.js/es/languages/xml.cjs.map +1 -1
  458. package/dist/node_modules/highlight.js/es/languages/xml.es.js +9 -16
  459. package/dist/node_modules/highlight.js/es/languages/xml.es.js.map +1 -1
  460. package/dist/node_modules/inline-style-parser/cjs/index.cjs +3 -0
  461. package/dist/node_modules/inline-style-parser/cjs/index.cjs.map +1 -0
  462. package/dist/node_modules/inline-style-parser/{index.es.js → cjs/index.es.js} +24 -24
  463. package/dist/node_modules/inline-style-parser/cjs/index.es.js.map +1 -0
  464. package/dist/node_modules/layout-base/layout-base.es.js +1 -1
  465. package/dist/node_modules/lowlight/lib/common.cjs +1 -1
  466. package/dist/node_modules/lowlight/lib/common.cjs.map +1 -1
  467. package/dist/node_modules/lowlight/lib/common.es.js +37 -37
  468. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs +1 -1
  469. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js +1 -1
  470. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs +2 -0
  471. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.cjs.map +1 -0
  472. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/arduino.es.js +10 -14
  473. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/arduino.es.js.map +1 -0
  474. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs +2 -0
  475. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.cjs.map +1 -0
  476. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js +378 -0
  477. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/bash.es.js.map +1 -0
  478. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs +2 -0
  479. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.cjs.map +1 -0
  480. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js +278 -0
  481. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/c.es.js.map +1 -0
  482. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs +2 -0
  483. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.cjs.map +1 -0
  484. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js +518 -0
  485. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/cpp.es.js.map +1 -0
  486. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs +2 -0
  487. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.cjs.map +1 -0
  488. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/csharp.es.js +1 -1
  489. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/csharp.es.js.map +1 -0
  490. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs +2 -0
  491. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.cjs.map +1 -0
  492. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js +930 -0
  493. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/css.es.js.map +1 -0
  494. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs +2 -0
  495. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.cjs.map +1 -0
  496. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/diff.es.js +10 -3
  497. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/diff.es.js.map +1 -0
  498. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs +2 -0
  499. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.cjs.map +1 -0
  500. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js +152 -0
  501. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/go.es.js.map +1 -0
  502. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.cjs.map +1 -0
  503. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/graphql.es.js.map +1 -0
  504. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.cjs.map +1 -0
  505. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ini.es.js.map +1 -0
  506. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs +2 -0
  507. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.cjs.map +1 -0
  508. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js +241 -0
  509. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/java.es.js.map +1 -0
  510. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs +2 -0
  511. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.cjs.map +1 -0
  512. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js +660 -0
  513. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/javascript.es.js.map +1 -0
  514. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs +2 -0
  515. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.cjs.map +1 -0
  516. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js +45 -0
  517. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/json.es.js.map +1 -0
  518. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.cjs.map +1 -0
  519. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/kotlin.es.js.map +1 -0
  520. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs +2 -0
  521. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.cjs.map +1 -0
  522. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/less.es.js +10 -4
  523. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/less.es.js.map +1 -0
  524. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs +2 -0
  525. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.cjs.map +1 -0
  526. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js +60 -0
  527. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/lua.es.js.map +1 -0
  528. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.cjs.map +1 -0
  529. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/makefile.es.js.map +1 -0
  530. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs +2 -0
  531. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.cjs.map +1 -0
  532. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js +217 -0
  533. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/markdown.es.js.map +1 -0
  534. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.cjs.map +1 -0
  535. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/objectivec.es.js.map +1 -0
  536. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.cjs.map +1 -0
  537. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/perl.es.js.map +1 -0
  538. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.cjs.map +1 -0
  539. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php-template.es.js.map +1 -0
  540. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs +3 -0
  541. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.cjs.map +1 -0
  542. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js +573 -0
  543. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/php.es.js.map +1 -0
  544. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs +2 -0
  545. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.cjs.map +1 -0
  546. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js +14 -0
  547. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/plaintext.es.js.map +1 -0
  548. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.cjs.map +1 -0
  549. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python-repl.es.js.map +1 -0
  550. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs +2 -0
  551. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.cjs.map +1 -0
  552. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js +400 -0
  553. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/python.es.js.map +1 -0
  554. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.cjs.map +1 -0
  555. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/r.es.js.map +1 -0
  556. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.cjs.map +1 -0
  557. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/ruby.es.js.map +1 -0
  558. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs +2 -0
  559. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.cjs.map +1 -0
  560. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js +306 -0
  561. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/rust.es.js.map +1 -0
  562. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs +2 -0
  563. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.cjs.map +1 -0
  564. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js +915 -0
  565. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/scss.es.js.map +1 -0
  566. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs +2 -0
  567. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.cjs.map +1 -0
  568. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js +26 -0
  569. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/shell.es.js.map +1 -0
  570. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs +2 -0
  571. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.cjs.map +1 -0
  572. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js +616 -0
  573. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/sql.es.js.map +1 -0
  574. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.cjs.map +1 -0
  575. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/swift.es.js.map +1 -0
  576. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs +2 -0
  577. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.cjs.map +1 -0
  578. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js +755 -0
  579. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/typescript.es.js.map +1 -0
  580. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.cjs.map +1 -0
  581. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/vbnet.es.js.map +1 -0
  582. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.cjs.map +1 -0
  583. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/wasm.es.js.map +1 -0
  584. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs +2 -0
  585. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.cjs.map +1 -0
  586. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js +220 -0
  587. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/xml.es.js.map +1 -0
  588. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs +2 -0
  589. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.cjs.map +1 -0
  590. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js +184 -0
  591. package/dist/node_modules/lowlight/node_modules/highlight.js/es/languages/yaml.es.js.map +1 -0
  592. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.cjs +3 -3
  593. package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.cjs.map +1 -0
  594. package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/lib/core.es.js +66 -66
  595. package/dist/node_modules/lowlight/node_modules/highlight.js/lib/core.es.js.map +1 -0
  596. package/dist/node_modules/lucide-react/dist/esm/Icon.es.js +3 -3
  597. package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs +1 -1
  598. package/dist/node_modules/mdast-util-find-and-replace/lib/index.cjs.map +1 -1
  599. package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js +58 -56
  600. package/dist/node_modules/mdast-util-find-and-replace/lib/index.es.js.map +1 -1
  601. package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs +1 -1
  602. package/dist/node_modules/mdast-util-from-markdown/lib/index.cjs.map +1 -1
  603. package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js +274 -223
  604. package/dist/node_modules/mdast-util-from-markdown/lib/index.es.js.map +1 -1
  605. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs +1 -1
  606. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.cjs.map +1 -1
  607. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js +21 -17
  608. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.es.js.map +1 -1
  609. package/dist/node_modules/mdast-util-to-hast/lib/footer.cjs.map +1 -1
  610. package/dist/node_modules/mdast-util-to-hast/lib/footer.es.js.map +1 -1
  611. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +1 -1
  612. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.es.js.map +1 -1
  613. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +1 -1
  614. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.es.js.map +1 -1
  615. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs +2 -2
  616. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +1 -1
  617. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js +7 -7
  618. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.es.js.map +1 -1
  619. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +1 -1
  620. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.es.js.map +1 -1
  621. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +1 -1
  622. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.es.js.map +1 -1
  623. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +1 -1
  624. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.es.js.map +1 -1
  625. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +1 -1
  626. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.es.js.map +1 -1
  627. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +1 -1
  628. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.es.js.map +1 -1
  629. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +1 -1
  630. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.es.js.map +1 -1
  631. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +1 -1
  632. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.es.js.map +1 -1
  633. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +1 -1
  634. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.es.js.map +1 -1
  635. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +1 -1
  636. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.es.js.map +1 -1
  637. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +1 -1
  638. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.es.js.map +1 -1
  639. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +1 -1
  640. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.es.js.map +1 -1
  641. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +1 -1
  642. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.es.js.map +1 -1
  643. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +1 -1
  644. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.es.js.map +1 -1
  645. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +1 -1
  646. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.es.js.map +1 -1
  647. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +1 -1
  648. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.es.js.map +1 -1
  649. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +1 -1
  650. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.es.js.map +1 -1
  651. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +1 -1
  652. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.es.js.map +1 -1
  653. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +1 -1
  654. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.es.js.map +1 -1
  655. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +1 -1
  656. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.es.js.map +1 -1
  657. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +1 -1
  658. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.es.js.map +1 -1
  659. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +1 -1
  660. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.es.js.map +1 -1
  661. package/dist/node_modules/mdast-util-to-hast/lib/index.cjs.map +1 -1
  662. package/dist/node_modules/mdast-util-to-hast/lib/index.es.js.map +1 -1
  663. package/dist/node_modules/mdast-util-to-hast/lib/revert.cjs.map +1 -1
  664. package/dist/node_modules/mdast-util-to-hast/lib/revert.es.js.map +1 -1
  665. package/dist/node_modules/mdast-util-to-hast/lib/state.cjs.map +1 -1
  666. package/dist/node_modules/mdast-util-to-hast/lib/state.es.js.map +1 -1
  667. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.cjs.map +1 -1
  668. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.es.js.map +1 -1
  669. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs +3 -3
  670. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.cjs.map +1 -1
  671. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js +9 -7
  672. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.es.js.map +1 -1
  673. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs +2 -2
  674. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.cjs.map +1 -1
  675. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js +6 -6
  676. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.es.js.map +1 -1
  677. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.cjs.map +1 -1
  678. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.es.js.map +1 -1
  679. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs +1 -1
  680. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.cjs.map +1 -1
  681. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js +17 -29
  682. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.es.js.map +1 -1
  683. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs +5 -5
  684. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.cjs.map +1 -1
  685. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js +12 -11
  686. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.es.js.map +1 -1
  687. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.cjs.map +1 -1
  688. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.es.js.map +1 -1
  689. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs +1 -1
  690. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.cjs.map +1 -1
  691. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js +14 -12
  692. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.es.js.map +1 -1
  693. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.cjs.map +1 -1
  694. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.es.js.map +1 -1
  695. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs +1 -1
  696. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.cjs.map +1 -1
  697. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js +6 -6
  698. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.es.js.map +1 -1
  699. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs +1 -1
  700. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.cjs.map +1 -1
  701. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js +15 -13
  702. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.es.js.map +1 -1
  703. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs +2 -1
  704. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.cjs.map +1 -1
  705. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js +42 -32
  706. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.es.js.map +1 -1
  707. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.cjs.map +1 -1
  708. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.es.js.map +1 -1
  709. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.cjs.map +1 -1
  710. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.es.js.map +1 -1
  711. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.cjs.map +1 -1
  712. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.es.js.map +1 -1
  713. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs +1 -1
  714. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.cjs.map +1 -1
  715. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js +8 -6
  716. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.es.js.map +1 -1
  717. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs +1 -1
  718. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.cjs.map +1 -1
  719. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js +17 -29
  720. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.es.js.map +1 -1
  721. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs +1 -1
  722. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.cjs.map +1 -1
  723. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js +8 -3
  724. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.es.js.map +1 -1
  725. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.cjs.map +1 -1
  726. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.es.js.map +1 -1
  727. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs +2 -0
  728. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.cjs.map +1 -0
  729. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js +13 -0
  730. package/dist/node_modules/mdast-util-to-markdown/lib/util/character.es.js.map +1 -0
  731. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.cjs.map +1 -1
  732. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.es.js.map +1 -1
  733. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.cjs.map +1 -1
  734. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.es.js.map +1 -1
  735. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.cjs.map +1 -1
  736. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.es.js.map +1 -1
  737. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.cjs.map +1 -1
  738. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.es.js.map +1 -1
  739. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.cjs.map +1 -1
  740. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.es.js.map +1 -1
  741. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.cjs.map +1 -1
  742. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.es.js.map +1 -1
  743. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.cjs.map +1 -1
  744. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.es.js.map +1 -1
  745. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.cjs.map +1 -1
  746. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.es.js.map +1 -1
  747. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.cjs.map +1 -1
  748. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.es.js.map +1 -1
  749. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.cjs.map +1 -1
  750. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.es.js.map +1 -1
  751. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs +4 -0
  752. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.cjs.map +1 -0
  753. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js +263 -0
  754. package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.es.js.map +1 -0
  755. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.cjs.map +1 -1
  756. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.es.js.map +1 -1
  757. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs +1 -1
  758. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.cjs.map +1 -1
  759. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js +2 -2
  760. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.es.js.map +1 -1
  761. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.cjs.map +1 -1
  762. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.es.js.map +1 -1
  763. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs +1 -1
  764. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.cjs.map +1 -1
  765. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js +2 -2
  766. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.es.js.map +1 -1
  767. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs +2 -0
  768. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.cjs.map +1 -0
  769. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js +22 -0
  770. package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.es.js.map +1 -0
  771. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.cjs.map +1 -1
  772. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.es.js.map +1 -1
  773. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.cjs +2 -2
  774. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.es.js +4 -4
  775. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.es.js +1 -1
  776. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.es.js +1 -1
  777. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.cjs +2 -2
  778. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JQJVKLGR.es.js +4 -4
  779. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.es.js +1 -1
  780. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WRU74C26.es.js +3 -3
  781. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.es.js +1 -1
  782. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.es.js +1 -1
  783. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.cjs +3 -3
  784. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.es.js +4 -4
  785. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.cjs +2 -2
  786. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-JOGREHBK.es.js +4 -4
  787. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js +5 -4
  788. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js.map +1 -1
  789. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.cjs +1 -1
  790. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.es.js +2 -2
  791. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs +1 -1
  792. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.cjs.map +1 -1
  793. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-FAOFIHXS.es.js +1 -1
  794. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.cjs +1 -1
  795. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.es.js +4 -4
  796. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.cjs +1 -1
  797. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-W5VNT64P.es.js +1 -1
  798. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.es.js +1 -1
  799. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.es.js +1 -1
  800. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.es.js +1 -1
  801. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.es.js +1 -1
  802. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.cjs +1 -1
  803. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-T6HMQDX7.es.js +2 -2
  804. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-ELKLHX3M.es.js +4 -4
  805. package/dist/node_modules/mermaid/dist/mermaid.core.cjs +1 -1
  806. package/dist/node_modules/mermaid/dist/mermaid.core.es.js +1 -1
  807. package/dist/node_modules/micromark/lib/constructs.cjs +1 -1
  808. package/dist/node_modules/micromark/lib/constructs.es.js +13 -13
  809. package/dist/node_modules/micromark-factory-space/index.cjs +1 -1
  810. package/dist/node_modules/micromark-factory-space/index.cjs.map +1 -1
  811. package/dist/node_modules/micromark-factory-space/index.es.js +9 -9
  812. package/dist/node_modules/micromark-factory-space/index.es.js.map +1 -1
  813. package/dist/node_modules/parse5/dist/parser/index.es.js +1 -1
  814. package/dist/node_modules/parse5/dist/tokenizer/index.cjs +1 -1
  815. package/dist/node_modules/parse5/dist/tokenizer/index.cjs.map +1 -1
  816. package/dist/node_modules/parse5/dist/tokenizer/index.es.js +2 -2
  817. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.cjs.map +1 -0
  818. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.es.js.map +1 -0
  819. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.cjs.map +1 -0
  820. package/dist/node_modules/parse5/node_modules/entities/dist/esm/decode.es.js.map +1 -0
  821. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +1 -0
  822. package/dist/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +1 -0
  823. package/dist/node_modules/property-information/lib/html.cjs +1 -1
  824. package/dist/node_modules/property-information/lib/html.cjs.map +1 -1
  825. package/dist/node_modules/property-information/lib/html.es.js +16 -6
  826. package/dist/node_modules/property-information/lib/html.es.js.map +1 -1
  827. package/dist/node_modules/property-information/lib/svg.cjs +1 -1
  828. package/dist/node_modules/property-information/lib/svg.cjs.map +1 -1
  829. package/dist/node_modules/property-information/lib/svg.es.js +4 -2
  830. package/dist/node_modules/property-information/lib/svg.es.js.map +1 -1
  831. package/dist/node_modules/rc-input/es/BaseInput.es.js +1 -1
  832. package/dist/node_modules/rc-textarea/es/ResizableTextArea.es.js +1 -1
  833. package/dist/node_modules/rc-textarea/es/TextArea.es.js +1 -1
  834. package/dist/node_modules/rc-textarea/es/index.es.js +1 -1
  835. package/dist/node_modules/rc-util/es/ref.es.js +1 -1
  836. package/dist/node_modules/rc-util/node_modules/react-is/index.es.js +1 -1
  837. package/dist/node_modules/react-i18next/dist/es/useTranslation.cjs +1 -1
  838. package/dist/node_modules/react-i18next/dist/es/useTranslation.es.js +7 -7
  839. package/dist/node_modules/remark-flow/dist/index.es.js +1 -1
  840. package/dist/node_modules/remark-flow/dist/interaction-parser.cjs.map +1 -1
  841. package/dist/node_modules/remark-flow/dist/interaction-parser.es.js +2 -2
  842. package/dist/node_modules/remark-flow/dist/interaction-parser.es.js.map +1 -1
  843. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.es.js +1 -1
  844. package/dist/node_modules/style-mod/src/style-mod.cjs +3 -3
  845. package/dist/node_modules/style-mod/src/style-mod.cjs.map +1 -1
  846. package/dist/node_modules/style-mod/src/style-mod.es.js +37 -35
  847. package/dist/node_modules/style-mod/src/style-mod.es.js.map +1 -1
  848. package/dist/node_modules/style-to-object/cjs/index.cjs +1 -1
  849. package/dist/node_modules/style-to-object/cjs/index.cjs.map +1 -1
  850. package/dist/node_modules/style-to-object/cjs/index.es.js +15 -15
  851. package/dist/node_modules/style-to-object/cjs/index.es.js.map +1 -1
  852. package/dist/node_modules/stylis/src/Parser.cjs +1 -1
  853. package/dist/node_modules/stylis/src/Parser.cjs.map +1 -1
  854. package/dist/node_modules/stylis/src/Parser.es.js +63 -52
  855. package/dist/node_modules/stylis/src/Parser.es.js.map +1 -1
  856. package/dist/node_modules/stylis/src/Utility.cjs +1 -1
  857. package/dist/node_modules/stylis/src/Utility.cjs.map +1 -1
  858. package/dist/node_modules/stylis/src/Utility.es.js +20 -24
  859. package/dist/node_modules/stylis/src/Utility.es.js.map +1 -1
  860. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1 -1
  861. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.map +1 -1
  862. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js +828 -561
  863. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js.map +1 -1
  864. package/dist/node_modules/ts-dedent/esm/index.cjs +5 -5
  865. package/dist/node_modules/ts-dedent/esm/index.cjs.map +1 -1
  866. package/dist/node_modules/ts-dedent/esm/index.es.js +20 -21
  867. package/dist/node_modules/ts-dedent/esm/index.es.js.map +1 -1
  868. package/dist/node_modules/unified/lib/index.es.js +1 -1
  869. package/dist/node_modules/unist-util-is/lib/index.cjs.map +1 -1
  870. package/dist/node_modules/unist-util-is/lib/index.es.js +8 -1
  871. package/dist/node_modules/unist-util-is/lib/index.es.js.map +1 -1
  872. package/dist/node_modules/unist-util-visit/lib/index.cjs +1 -1
  873. package/dist/node_modules/unist-util-visit/lib/index.cjs.map +1 -1
  874. package/dist/node_modules/unist-util-visit/lib/index.es.js +22 -12
  875. package/dist/node_modules/unist-util-visit/lib/index.es.js.map +1 -1
  876. package/dist/node_modules/unist-util-visit-parents/lib/color.cjs.map +1 -1
  877. package/dist/node_modules/unist-util-visit-parents/lib/color.es.js.map +1 -1
  878. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs +1 -1
  879. package/dist/node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -1
  880. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js +72 -37
  881. package/dist/node_modules/unist-util-visit-parents/lib/index.es.js.map +1 -1
  882. package/dist/node_modules/uuid/dist/rng.cjs +2 -0
  883. package/dist/node_modules/uuid/dist/rng.cjs.map +1 -0
  884. package/dist/node_modules/uuid/dist/rng.es.js +8 -0
  885. package/dist/node_modules/uuid/dist/rng.es.js.map +1 -0
  886. package/dist/node_modules/uuid/dist/stringify.cjs.map +1 -0
  887. package/dist/node_modules/uuid/dist/stringify.es.js.map +1 -0
  888. package/dist/node_modules/uuid/dist/v4.cjs +2 -0
  889. package/dist/node_modules/uuid/dist/v4.cjs.map +1 -0
  890. package/dist/node_modules/uuid/dist/v4.es.js +16 -0
  891. package/dist/node_modules/uuid/dist/v4.es.js.map +1 -0
  892. package/dist/renderer.cjs +1 -1
  893. package/dist/renderer.es.js +3 -3
  894. package/dist/scroll.cjs +1 -1
  895. package/dist/scroll.es.js +2 -2
  896. package/package.json +18 -14
  897. package/dist/_virtual/advancedFormat.es2.js.map +0 -1
  898. package/dist/_virtual/cose-base.es2.js.map +0 -1
  899. package/dist/_virtual/customParseFormat.es2.js.map +0 -1
  900. package/dist/_virtual/cytoscape-cose-bilkent.es2.js +0 -5
  901. package/dist/_virtual/cytoscape-cose-bilkent.es2.js.map +0 -1
  902. package/dist/_virtual/cytoscape-fcose.es2.js.map +0 -1
  903. package/dist/_virtual/dayjs.min.es2.js.map +0 -1
  904. package/dist/_virtual/dayjs.min2.cjs.map +0 -1
  905. package/dist/_virtual/duration.es2.js.map +0 -1
  906. package/dist/_virtual/index.es10.js.map +0 -1
  907. package/dist/_virtual/index.es11.js.map +0 -1
  908. package/dist/_virtual/index.es12.js.map +0 -1
  909. package/dist/_virtual/index.es2.js.map +0 -1
  910. package/dist/_virtual/index.es3.js.map +0 -1
  911. package/dist/_virtual/index.es4.js.map +0 -1
  912. package/dist/_virtual/index.es5.js.map +0 -1
  913. package/dist/_virtual/index.es6.js.map +0 -1
  914. package/dist/_virtual/index.es7.js.map +0 -1
  915. package/dist/_virtual/index.es8.js.map +0 -1
  916. package/dist/_virtual/index.es9.js.map +0 -1
  917. package/dist/_virtual/isoWeek.es2.js.map +0 -1
  918. package/dist/_virtual/layout-base.es2.js.map +0 -1
  919. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs +0 -2
  920. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +0 -1
  921. package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js +0 -25
  922. package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +0 -1
  923. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.cjs.map +0 -1
  924. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.es.js.map +0 -1
  925. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
  926. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
  927. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
  928. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  929. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.cjs.map +0 -1
  930. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
  931. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -2
  932. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +0 -1
  933. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +0 -1
  934. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs +0 -2
  935. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs.map +0 -1
  936. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js +0 -15
  937. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js.map +0 -1
  938. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -2
  939. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs.map +0 -1
  940. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.es.js.map +0 -1
  941. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -2
  942. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs.map +0 -1
  943. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js +0 -104
  944. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js.map +0 -1
  945. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
  946. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
  947. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  948. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
  949. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
  950. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
  951. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  952. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -2
  953. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +0 -1
  954. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
  955. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +0 -1
  956. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +0 -1
  957. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -2
  958. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +0 -1
  959. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +0 -7
  960. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +0 -1
  961. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
  962. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
  963. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
  964. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  965. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
  966. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
  967. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  968. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
  969. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
  970. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -13
  971. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  972. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -2
  973. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs.map +0 -1
  974. package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js +0 -220
  975. package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js.map +0 -1
  976. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -2
  977. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
  978. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js +0 -50
  979. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
  980. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -2
  981. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
  982. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +0 -34
  983. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +0 -1
  984. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +0 -2
  985. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.map +0 -1
  986. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js +0 -15
  987. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.es.js.map +0 -1
  988. package/dist/node_modules/entities/dist/esm/decode-codepoint.cjs.map +0 -1
  989. package/dist/node_modules/entities/dist/esm/decode-codepoint.es.js.map +0 -1
  990. package/dist/node_modules/entities/dist/esm/decode.cjs.map +0 -1
  991. package/dist/node_modules/entities/dist/esm/decode.es.js.map +0 -1
  992. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.cjs.map +0 -1
  993. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.es.js.map +0 -1
  994. package/dist/node_modules/hast-util-is-element/lib/index.cjs +0 -2
  995. package/dist/node_modules/hast-util-is-element/lib/index.cjs.map +0 -1
  996. package/dist/node_modules/hast-util-is-element/lib/index.es.js +0 -66
  997. package/dist/node_modules/hast-util-is-element/lib/index.es.js.map +0 -1
  998. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs +0 -2
  999. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.cjs.map +0 -1
  1000. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js +0 -13
  1001. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/index.es.js.map +0 -1
  1002. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs +0 -2
  1003. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.cjs.map +0 -1
  1004. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js +0 -62
  1005. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/aria.es.js.map +0 -1
  1006. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs +0 -2
  1007. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.cjs.map +0 -1
  1008. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js +0 -34
  1009. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/find.es.js.map +0 -1
  1010. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs +0 -2
  1011. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.cjs.map +0 -1
  1012. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js +0 -369
  1013. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/html.es.js.map +0 -1
  1014. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs +0 -2
  1015. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.cjs.map +0 -1
  1016. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js +0 -7
  1017. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/normalize.es.js.map +0 -1
  1018. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs +0 -2
  1019. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.cjs.map +0 -1
  1020. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js +0 -567
  1021. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/svg.es.js.map +0 -1
  1022. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs +0 -2
  1023. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +0 -1
  1024. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js +0 -8
  1025. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-insensitive-transform.es.js.map +0 -1
  1026. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs +0 -2
  1027. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +0 -1
  1028. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js +0 -7
  1029. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/case-sensitive-transform.es.js.map +0 -1
  1030. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs +0 -2
  1031. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.cjs.map +0 -1
  1032. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js +0 -23
  1033. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/create.es.js.map +0 -1
  1034. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs +0 -2
  1035. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.cjs.map +0 -1
  1036. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js +0 -28
  1037. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/defined-info.es.js.map +0 -1
  1038. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs +0 -2
  1039. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.cjs.map +0 -1
  1040. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js +0 -24
  1041. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/info.es.js.map +0 -1
  1042. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs +0 -2
  1043. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.cjs.map +0 -1
  1044. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js +0 -12
  1045. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/merge.es.js.map +0 -1
  1046. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs +0 -2
  1047. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.cjs.map +0 -1
  1048. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js +0 -18
  1049. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/schema.es.js.map +0 -1
  1050. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs +0 -2
  1051. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.cjs.map +0 -1
  1052. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js +0 -15
  1053. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/util/types.es.js.map +0 -1
  1054. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs +0 -2
  1055. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.cjs.map +0 -1
  1056. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js +0 -20
  1057. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xlink.es.js.map +0 -1
  1058. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs +0 -2
  1059. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.cjs.map +0 -1
  1060. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js +0 -12
  1061. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xml.es.js.map +0 -1
  1062. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs +0 -2
  1063. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.cjs.map +0 -1
  1064. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js +0 -12
  1065. package/dist/node_modules/hast-util-to-parse5/node_modules/property-information/lib/xmlns.es.js.map +0 -1
  1066. package/dist/node_modules/highlight.js/es/languages/arduino.cjs +0 -2
  1067. package/dist/node_modules/highlight.js/es/languages/arduino.cjs.map +0 -1
  1068. package/dist/node_modules/highlight.js/es/languages/arduino.es.js.map +0 -1
  1069. package/dist/node_modules/highlight.js/es/languages/csharp.cjs +0 -2
  1070. package/dist/node_modules/highlight.js/es/languages/csharp.cjs.map +0 -1
  1071. package/dist/node_modules/highlight.js/es/languages/csharp.es.js.map +0 -1
  1072. package/dist/node_modules/highlight.js/es/languages/diff.cjs +0 -2
  1073. package/dist/node_modules/highlight.js/es/languages/diff.cjs.map +0 -1
  1074. package/dist/node_modules/highlight.js/es/languages/diff.es.js.map +0 -1
  1075. package/dist/node_modules/highlight.js/es/languages/graphql.cjs.map +0 -1
  1076. package/dist/node_modules/highlight.js/es/languages/graphql.es.js.map +0 -1
  1077. package/dist/node_modules/highlight.js/es/languages/ini.cjs.map +0 -1
  1078. package/dist/node_modules/highlight.js/es/languages/ini.es.js.map +0 -1
  1079. package/dist/node_modules/highlight.js/es/languages/kotlin.cjs.map +0 -1
  1080. package/dist/node_modules/highlight.js/es/languages/kotlin.es.js.map +0 -1
  1081. package/dist/node_modules/highlight.js/es/languages/less.cjs +0 -2
  1082. package/dist/node_modules/highlight.js/es/languages/less.cjs.map +0 -1
  1083. package/dist/node_modules/highlight.js/es/languages/less.es.js.map +0 -1
  1084. package/dist/node_modules/highlight.js/es/languages/makefile.cjs.map +0 -1
  1085. package/dist/node_modules/highlight.js/es/languages/makefile.es.js.map +0 -1
  1086. package/dist/node_modules/highlight.js/es/languages/objectivec.cjs.map +0 -1
  1087. package/dist/node_modules/highlight.js/es/languages/objectivec.es.js.map +0 -1
  1088. package/dist/node_modules/highlight.js/es/languages/perl.cjs.map +0 -1
  1089. package/dist/node_modules/highlight.js/es/languages/perl.es.js.map +0 -1
  1090. package/dist/node_modules/highlight.js/es/languages/php-template.cjs.map +0 -1
  1091. package/dist/node_modules/highlight.js/es/languages/php-template.es.js.map +0 -1
  1092. package/dist/node_modules/highlight.js/es/languages/python-repl.cjs.map +0 -1
  1093. package/dist/node_modules/highlight.js/es/languages/python-repl.es.js.map +0 -1
  1094. package/dist/node_modules/highlight.js/es/languages/r.cjs.map +0 -1
  1095. package/dist/node_modules/highlight.js/es/languages/r.es.js.map +0 -1
  1096. package/dist/node_modules/highlight.js/es/languages/ruby.cjs.map +0 -1
  1097. package/dist/node_modules/highlight.js/es/languages/ruby.es.js.map +0 -1
  1098. package/dist/node_modules/highlight.js/es/languages/swift.cjs.map +0 -1
  1099. package/dist/node_modules/highlight.js/es/languages/swift.es.js.map +0 -1
  1100. package/dist/node_modules/highlight.js/es/languages/vbnet.cjs.map +0 -1
  1101. package/dist/node_modules/highlight.js/es/languages/vbnet.es.js.map +0 -1
  1102. package/dist/node_modules/highlight.js/es/languages/wasm.cjs.map +0 -1
  1103. package/dist/node_modules/highlight.js/es/languages/wasm.es.js.map +0 -1
  1104. package/dist/node_modules/highlight.js/lib/core.cjs.map +0 -1
  1105. package/dist/node_modules/highlight.js/lib/core.es.js.map +0 -1
  1106. package/dist/node_modules/inline-style-parser/index.cjs +0 -3
  1107. package/dist/node_modules/inline-style-parser/index.cjs.map +0 -1
  1108. package/dist/node_modules/inline-style-parser/index.es.js.map +0 -1
  1109. package/dist/node_modules/unist-util-find-after/lib/index.cjs +0 -2
  1110. package/dist/node_modules/unist-util-find-after/lib/index.cjs.map +0 -1
  1111. package/dist/node_modules/unist-util-find-after/lib/index.es.js +0 -33
  1112. package/dist/node_modules/unist-util-find-after/lib/index.es.js.map +0 -1
  1113. package/dist/node_modules/uuid/dist/esm-browser/native.cjs +0 -2
  1114. package/dist/node_modules/uuid/dist/esm-browser/native.cjs.map +0 -1
  1115. package/dist/node_modules/uuid/dist/esm-browser/native.es.js +0 -5
  1116. package/dist/node_modules/uuid/dist/esm-browser/native.es.js.map +0 -1
  1117. package/dist/node_modules/uuid/dist/esm-browser/rng.cjs +0 -2
  1118. package/dist/node_modules/uuid/dist/esm-browser/rng.cjs.map +0 -1
  1119. package/dist/node_modules/uuid/dist/esm-browser/rng.es.js +0 -14
  1120. package/dist/node_modules/uuid/dist/esm-browser/rng.es.js.map +0 -1
  1121. package/dist/node_modules/uuid/dist/esm-browser/stringify.cjs.map +0 -1
  1122. package/dist/node_modules/uuid/dist/esm-browser/stringify.es.js.map +0 -1
  1123. package/dist/node_modules/uuid/dist/esm-browser/v4.cjs +0 -2
  1124. package/dist/node_modules/uuid/dist/esm-browser/v4.cjs.map +0 -1
  1125. package/dist/node_modules/uuid/dist/esm-browser/v4.es.js +0 -16
  1126. package/dist/node_modules/uuid/dist/esm-browser/v4.es.js.map +0 -1
  1127. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.cjs +0 -0
  1128. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/primitive/dist/index.es.js +0 -0
  1129. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.cjs +0 -0
  1130. /package/dist/node_modules/@radix-ui/{react-dialog → react-tooltip}/node_modules/@radix-ui/react-context/dist/index.es.js +0 -0
  1131. /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
  1132. /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
  1133. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.cjs.map +0 -0
  1134. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/core.es.js.map +0 -0
  1135. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.cjs +0 -0
  1136. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/graphql.es.js +0 -0
  1137. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.cjs +0 -0
  1138. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ini.es.js +0 -0
  1139. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.cjs +0 -0
  1140. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/kotlin.es.js +0 -0
  1141. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.cjs +0 -0
  1142. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/makefile.es.js +0 -0
  1143. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.cjs +0 -0
  1144. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/objectivec.es.js +0 -0
  1145. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.cjs +0 -0
  1146. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/perl.es.js +0 -0
  1147. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.cjs +0 -0
  1148. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/php-template.es.js +0 -0
  1149. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.cjs +0 -0
  1150. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/python-repl.es.js +0 -0
  1151. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.cjs +0 -0
  1152. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/r.es.js +0 -0
  1153. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.cjs +0 -0
  1154. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/ruby.es.js +0 -0
  1155. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.cjs +0 -0
  1156. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/swift.es.js +0 -0
  1157. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.cjs +0 -0
  1158. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/vbnet.es.js +0 -0
  1159. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.cjs +0 -0
  1160. /package/dist/node_modules/{highlight.js → lowlight/node_modules/highlight.js}/es/languages/wasm.es.js +0 -0
  1161. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.cjs +0 -0
  1162. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode-codepoint.es.js +0 -0
  1163. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.cjs +0 -0
  1164. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/decode.es.js +0 -0
  1165. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.cjs +0 -0
  1166. /package/dist/node_modules/{entities → parse5/node_modules/entities}/dist/esm/generated/decode-data-html.es.js +0 -0
  1167. /package/dist/node_modules/uuid/dist/{esm-browser/stringify.cjs → stringify.cjs} +0 -0
  1168. /package/dist/node_modules/uuid/dist/{esm-browser/stringify.es.js → stringify.es.js} +0 -0
@@ -1,8 +1,8 @@
1
- import { parser as x } from "../../../@lezer/javascript/dist/index.es.js";
2
- import { LRLanguage as B, indentNodeProp as F, foldNodeProp as j, continuedIndent as b, delimitedIndent as L, flatIndent as N, foldInside as O, sublanguageProp as T, defineLanguageFacet as P, LanguageSupport as V, syntaxTree as C } from "../../language/dist/index.es.js";
3
- import { EditorSelection as M } from "../../state/dist/index.es.js";
4
- import { EditorView as _ } from "../../view/dist/index.es.js";
5
- import { snippetCompletion as r, ifNotIn as R, completeFromList as W } from "../../autocomplete/dist/index.es.js";
1
+ import { parser as A } from "../../../@lezer/javascript/dist/index.es.js";
2
+ import { sublanguageProp as w, LRLanguage as B, indentNodeProp as F, flatIndent as j, continuedIndent as b, delimitedIndent as L, foldNodeProp as N, foldInside as O, LanguageSupport as P, defineLanguageFacet as V, syntaxTree as C } from "../../language/dist/index.es.js";
3
+ import { EditorSelection as _ } from "../../state/dist/index.es.js";
4
+ import { EditorView as M } from "../../view/dist/index.es.js";
5
+ import { ifNotIn as R, completeFromList as W, snippetCompletion as r } from "../../autocomplete/dist/index.es.js";
6
6
  import { NodeWeakMap as H, IterMode as K } from "../../../@lezer/common/dist/index.es.js";
7
7
  const J = [
8
8
  /* @__PURE__ */ r("function ${name}(${params}) {\n ${}\n}", {
@@ -98,9 +98,9 @@ const J = [
98
98
  "ForStatement"
99
99
  ]);
100
100
  function d(e) {
101
- return (t, o) => {
101
+ return (t, a) => {
102
102
  let n = t.node.getChild("VariableDefinition");
103
- return n && o(n, e), !0;
103
+ return n && a(n, e), !0;
104
104
  };
105
105
  }
106
106
  const z = ["FunctionDeclaration"], G = {
@@ -118,30 +118,30 @@ const z = ["FunctionDeclaration"], G = {
118
118
  },
119
119
  __proto__: null
120
120
  };
121
- function I(e, t) {
122
- let o = h.get(t);
123
- if (o)
124
- return o;
121
+ function v(e, t) {
122
+ let a = h.get(t);
123
+ if (a)
124
+ return a;
125
125
  let n = [], l = !0;
126
- function u(a, s) {
127
- let f = e.sliceString(a.from, a.to);
126
+ function u(o, s) {
127
+ let f = e.sliceString(o.from, o.to);
128
128
  n.push({ label: f, type: s });
129
129
  }
130
- return t.cursor(K.IncludeAnonymous).iterate((a) => {
130
+ return t.cursor(K.IncludeAnonymous).iterate((o) => {
131
131
  if (l)
132
132
  l = !1;
133
- else if (a.name) {
134
- let s = G[a.name];
135
- if (s && s(a, u) || X.has(a.name))
133
+ else if (o.name) {
134
+ let s = G[o.name];
135
+ if (s && s(o, u) || X.has(o.name))
136
136
  return !1;
137
- } else if (a.to - a.from > 8192) {
138
- for (let s of I(e, a.node))
137
+ } else if (o.to - o.from > 8192) {
138
+ for (let s of v(e, o.node))
139
139
  n.push(s);
140
140
  return !1;
141
141
  }
142
142
  }), h.set(t, n), n;
143
143
  }
144
- const k = /^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/, D = [
144
+ const k = /^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/, I = [
145
145
  "TemplateString",
146
146
  "String",
147
147
  "RegExp",
@@ -164,31 +164,31 @@ const k = /^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/, D = [
164
164
  ];
165
165
  function Q(e) {
166
166
  let t = C(e.state).resolveInner(e.pos, -1);
167
- if (D.indexOf(t.name) > -1)
167
+ if (I.indexOf(t.name) > -1)
168
168
  return null;
169
- let o = t.name == "VariableName" || t.to - t.from < 20 && k.test(e.state.sliceDoc(t.from, t.to));
170
- if (!o && !e.explicit)
169
+ let a = t.name == "VariableName" || t.to - t.from < 20 && k.test(e.state.sliceDoc(t.from, t.to));
170
+ if (!a && !e.explicit)
171
171
  return null;
172
172
  let n = [];
173
173
  for (let l = t; l; l = l.parent)
174
- X.has(l.name) && (n = n.concat(I(e.state.doc, l)));
174
+ X.has(l.name) && (n = n.concat(v(e.state.doc, l)));
175
175
  return {
176
176
  options: n,
177
- from: o ? t.from : e.pos,
177
+ from: a ? t.from : e.pos,
178
178
  validFor: k
179
179
  };
180
180
  }
181
181
  const c = /* @__PURE__ */ B.define({
182
182
  name: "javascript",
183
- parser: /* @__PURE__ */ x.configure({
183
+ parser: /* @__PURE__ */ A.configure({
184
184
  props: [
185
185
  /* @__PURE__ */ F.add({
186
186
  IfStatement: /* @__PURE__ */ b({ except: /^\s*({|else\b)/ }),
187
187
  TryStatement: /* @__PURE__ */ b({ except: /^\s*({|catch\b|finally\b)/ }),
188
- LabeledStatement: N,
188
+ LabeledStatement: j,
189
189
  SwitchBody: (e) => {
190
- let t = e.textAfter, o = /^\s*\}/.test(t), n = /^\s*(case|default)\b/.test(t);
191
- return e.baseIndent + (o ? 0 : n ? 1 : 2) * e.unit;
190
+ let t = e.textAfter, a = /^\s*\}/.test(t), n = /^\s*(case|default)\b/.test(t);
191
+ return e.baseIndent + (a ? 0 : n ? 1 : 2) * e.unit;
192
192
  },
193
193
  Block: /* @__PURE__ */ L({ closing: "}" }),
194
194
  ArrowFunction: (e) => e.baseIndent + e.unit,
@@ -206,10 +206,22 @@ const c = /* @__PURE__ */ B.define({
206
206
  return e.column(e.node.from) + e.unit;
207
207
  }
208
208
  }),
209
- /* @__PURE__ */ j.add({
209
+ /* @__PURE__ */ N.add({
210
210
  "Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType": O,
211
211
  BlockComment(e) {
212
212
  return { from: e.from + 2, to: e.to - 2 };
213
+ },
214
+ JSXElement(e) {
215
+ let t = e.firstChild;
216
+ if (!t || t.name == "JSXSelfClosingTag")
217
+ return null;
218
+ let a = e.lastChild;
219
+ return { from: t.to, to: a.type.isError ? e.to : a.from };
220
+ },
221
+ "JSXSelfClosingTag JSXOpenTag"(e) {
222
+ var t;
223
+ let a = (t = e.firstChild) === null || t === void 0 ? void 0 : t.nextSibling, n = e.lastChild;
224
+ return !a || a.type.isError ? null : { from: a.to, to: n.type.isError ? e.to : n.from };
213
225
  }
214
226
  })
215
227
  ]
@@ -220,23 +232,23 @@ const c = /* @__PURE__ */ B.define({
220
232
  indentOnInput: /^\s*(?:case |default:|\{|\}|<\/)$/,
221
233
  wordChars: "$"
222
234
  }
223
- }), v = {
235
+ }), D = {
224
236
  test: (e) => /^JSX/.test(e.name),
225
- facet: /* @__PURE__ */ P({ commentTokens: { block: { open: "{/*", close: "*/}" } } })
237
+ facet: /* @__PURE__ */ V({ commentTokens: { block: { open: "{/*", close: "*/}" } } })
226
238
  }, U = /* @__PURE__ */ c.configure({ dialect: "ts" }, "typescript"), Y = /* @__PURE__ */ c.configure({
227
239
  dialect: "jsx",
228
- props: [/* @__PURE__ */ T.add((e) => e.isTop ? [v] : void 0)]
240
+ props: [/* @__PURE__ */ w.add((e) => e.isTop ? [D] : void 0)]
229
241
  }), Z = /* @__PURE__ */ c.configure({
230
242
  dialect: "jsx ts",
231
- props: [/* @__PURE__ */ T.add((e) => e.isTop ? [v] : void 0)]
243
+ props: [/* @__PURE__ */ w.add((e) => e.isTop ? [D] : void 0)]
232
244
  }, "typescript");
233
- let A = (e) => ({ label: e, type: "keyword" });
234
- const E = /* @__PURE__ */ "break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(A), ee = /* @__PURE__ */ E.concat(/* @__PURE__ */ ["declare", "implements", "private", "protected", "public"].map(A));
245
+ let E = (e) => ({ label: e, type: "keyword" });
246
+ const x = /* @__PURE__ */ "break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(E), ee = /* @__PURE__ */ x.concat(/* @__PURE__ */ ["declare", "implements", "private", "protected", "public"].map(E));
235
247
  function ce(e = {}) {
236
- let t = e.jsx ? e.typescript ? Z : Y : e.typescript ? U : c, o = e.typescript ? q.concat(ee) : J.concat(E);
237
- return new V(t, [
248
+ let t = e.jsx ? e.typescript ? Z : Y : e.typescript ? U : c, a = e.typescript ? q.concat(ee) : J.concat(x);
249
+ return new P(t, [
238
250
  c.data.of({
239
- autocomplete: R(D, W(o))
251
+ autocomplete: R(I, W(a))
240
252
  }),
241
253
  c.data.of({
242
254
  autocomplete: Q
@@ -253,30 +265,30 @@ function te(e) {
253
265
  e = e.parent;
254
266
  }
255
267
  }
256
- function w(e, t, o = e.length) {
268
+ function T(e, t, a = e.length) {
257
269
  for (let n = t?.firstChild; n; n = n.nextSibling)
258
270
  if (n.name == "JSXIdentifier" || n.name == "JSXBuiltin" || n.name == "JSXNamespacedName" || n.name == "JSXMemberExpression")
259
- return e.sliceString(n.from, Math.min(n.to, o));
271
+ return e.sliceString(n.from, Math.min(n.to, a));
260
272
  return "";
261
273
  }
262
- const ne = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), ae = /* @__PURE__ */ _.inputHandler.of((e, t, o, n, l) => {
263
- if ((ne ? e.composing : e.compositionStarted) || e.state.readOnly || t != o || n != ">" && n != "/" || !c.isActiveAt(e.state, t, -1))
274
+ const ne = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), ae = /* @__PURE__ */ M.inputHandler.of((e, t, a, n, l) => {
275
+ if ((ne ? e.composing : e.compositionStarted) || e.state.readOnly || t != a || n != ">" && n != "/" || !c.isActiveAt(e.state, t, -1))
264
276
  return !1;
265
- let u = l(), { state: a } = u, s = a.changeByRange((f) => {
277
+ let u = l(), { state: o } = u, s = o.changeByRange((f) => {
266
278
  var g;
267
- let { head: i } = f, p = C(a).resolveInner(i - 1, -1), y;
268
- if (p.name == "JSXStartTag" && (p = p.parent), !(a.doc.sliceString(i - 1, i) != n || p.name == "JSXAttributeValue" && p.to > i)) {
279
+ let { head: i } = f, p = C(o).resolveInner(i - 1, -1), y;
280
+ if (p.name == "JSXStartTag" && (p = p.parent), !(o.doc.sliceString(i - 1, i) != n || p.name == "JSXAttributeValue" && p.to > i)) {
269
281
  if (n == ">" && p.name == "JSXFragmentTag")
270
282
  return { range: f, changes: { from: i, insert: "</>" } };
271
283
  if (n == "/" && p.name == "JSXStartCloseTag") {
272
284
  let m = p.parent, S = m.parent;
273
- if (S && m.from == i - 2 && ((y = w(a.doc, S.firstChild, i)) || ((g = S.firstChild) === null || g === void 0 ? void 0 : g.name) == "JSXFragmentTag")) {
285
+ if (S && m.from == i - 2 && ((y = T(o.doc, S.firstChild, i)) || ((g = S.firstChild) === null || g === void 0 ? void 0 : g.name) == "JSXFragmentTag")) {
274
286
  let $ = `${y}>`;
275
- return { range: M.cursor(i + $.length, -1), changes: { from: i, insert: $ } };
287
+ return { range: _.cursor(i + $.length, -1), changes: { from: i, insert: $ } };
276
288
  }
277
289
  } else if (n == ">") {
278
290
  let m = te(p);
279
- if (m && m.name == "JSXOpenTag" && !/^\/?>|^<\//.test(a.doc.sliceString(i, i + 2)) && (y = w(a.doc, m, i)))
291
+ if (m && m.name == "JSXOpenTag" && !/^\/?>|^<\//.test(o.doc.sliceString(i, i + 2)) && (y = T(o.doc, m, i)))
280
292
  return { range: f, changes: { from: i, insert: `</${y}>` } };
281
293
  }
282
294
  }
@@ -284,7 +296,7 @@ const ne = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navi
284
296
  });
285
297
  return s.changes.empty ? !1 : (e.dispatch([
286
298
  u,
287
- a.update(s, { userEvent: "input.complete", scrollIntoView: !0 })
299
+ o.update(s, { userEvent: "input.complete", scrollIntoView: !0 })
288
300
  ]), !0);
289
301
  });
290
302
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../../../../../node_modules/@codemirror/lang-javascript/dist/index.js"],"sourcesContent":["import { parser } from '@lezer/javascript';\nimport { syntaxTree, LRLanguage, indentNodeProp, continuedIndent, flatIndent, delimitedIndent, foldNodeProp, foldInside, defineLanguageFacet, sublanguageProp, LanguageSupport } from '@codemirror/language';\nimport { EditorSelection } from '@codemirror/state';\nimport { EditorView } from '@codemirror/view';\nimport { snippetCompletion, ifNotIn, completeFromList } from '@codemirror/autocomplete';\nimport { NodeWeakMap, IterMode } from '@lezer/common';\n\n/**\nA collection of JavaScript-related\n[snippets](https://codemirror.net/6/docs/ref/#autocomplete.snippet).\n*/\nconst snippets = [\n /*@__PURE__*/snippetCompletion(\"function ${name}(${params}) {\\n\\t${}\\n}\", {\n label: \"function\",\n detail: \"definition\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\\n\\t${}\\n}\", {\n label: \"for\",\n detail: \"loop\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"for (let ${name} of ${collection}) {\\n\\t${}\\n}\", {\n label: \"for\",\n detail: \"of loop\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"do {\\n\\t${}\\n} while (${})\", {\n label: \"do\",\n detail: \"loop\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"while (${}) {\\n\\t${}\\n}\", {\n label: \"while\",\n detail: \"loop\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"try {\\n\\t${}\\n} catch (${error}) {\\n\\t${}\\n}\", {\n label: \"try\",\n detail: \"/ catch block\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"if (${}) {\\n\\t${}\\n}\", {\n label: \"if\",\n detail: \"block\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"if (${}) {\\n\\t${}\\n} else {\\n\\t${}\\n}\", {\n label: \"if\",\n detail: \"/ else block\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"class ${name} {\\n\\tconstructor(${params}) {\\n\\t\\t${}\\n\\t}\\n}\", {\n label: \"class\",\n detail: \"definition\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"import {${names}} from \\\"${module}\\\"\\n${}\", {\n label: \"import\",\n detail: \"named\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"import ${name} from \\\"${module}\\\"\\n${}\", {\n label: \"import\",\n detail: \"default\",\n type: \"keyword\"\n })\n];\n/**\nA collection of snippet completions for TypeScript. Includes the\nJavaScript [snippets](https://codemirror.net/6/docs/ref/#lang-javascript.snippets).\n*/\nconst typescriptSnippets = /*@__PURE__*/snippets.concat([\n /*@__PURE__*/snippetCompletion(\"interface ${name} {\\n\\t${}\\n}\", {\n label: \"interface\",\n detail: \"definition\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"type ${name} = ${type}\", {\n label: \"type\",\n detail: \"definition\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"enum ${name} {\\n\\t${}\\n}\", {\n label: \"enum\",\n detail: \"definition\",\n type: \"keyword\"\n })\n]);\n\nconst cache = /*@__PURE__*/new NodeWeakMap();\nconst ScopeNodes = /*@__PURE__*/new Set([\n \"Script\", \"Block\",\n \"FunctionExpression\", \"FunctionDeclaration\", \"ArrowFunction\", \"MethodDeclaration\",\n \"ForStatement\"\n]);\nfunction defID(type) {\n return (node, def) => {\n let id = node.node.getChild(\"VariableDefinition\");\n if (id)\n def(id, type);\n return true;\n };\n}\nconst functionContext = [\"FunctionDeclaration\"];\nconst gatherCompletions = {\n FunctionDeclaration: /*@__PURE__*/defID(\"function\"),\n ClassDeclaration: /*@__PURE__*/defID(\"class\"),\n ClassExpression: () => true,\n EnumDeclaration: /*@__PURE__*/defID(\"constant\"),\n TypeAliasDeclaration: /*@__PURE__*/defID(\"type\"),\n NamespaceDeclaration: /*@__PURE__*/defID(\"namespace\"),\n VariableDefinition(node, def) { if (!node.matchContext(functionContext))\n def(node, \"variable\"); },\n TypeDefinition(node, def) { def(node, \"type\"); },\n __proto__: null\n};\nfunction getScope(doc, node) {\n let cached = cache.get(node);\n if (cached)\n return cached;\n let completions = [], top = true;\n function def(node, type) {\n let name = doc.sliceString(node.from, node.to);\n completions.push({ label: name, type });\n }\n node.cursor(IterMode.IncludeAnonymous).iterate(node => {\n if (top) {\n top = false;\n }\n else if (node.name) {\n let gather = gatherCompletions[node.name];\n if (gather && gather(node, def) || ScopeNodes.has(node.name))\n return false;\n }\n else if (node.to - node.from > 8192) {\n // Allow caching for bigger internal nodes\n for (let c of getScope(doc, node.node))\n completions.push(c);\n return false;\n }\n });\n cache.set(node, completions);\n return completions;\n}\nconst Identifier = /^[\\w$\\xa1-\\uffff][\\w$\\d\\xa1-\\uffff]*$/;\nconst dontComplete = [\n \"TemplateString\", \"String\", \"RegExp\",\n \"LineComment\", \"BlockComment\",\n \"VariableDefinition\", \"TypeDefinition\", \"Label\",\n \"PropertyDefinition\", \"PropertyName\",\n \"PrivatePropertyDefinition\", \"PrivatePropertyName\",\n \"JSXText\", \"JSXAttributeValue\", \"JSXOpenTag\", \"JSXCloseTag\", \"JSXSelfClosingTag\",\n \".\", \"?.\"\n];\n/**\nCompletion source that looks up locally defined names in\nJavaScript code.\n*/\nfunction localCompletionSource(context) {\n let inner = syntaxTree(context.state).resolveInner(context.pos, -1);\n if (dontComplete.indexOf(inner.name) > -1)\n return null;\n let isWord = inner.name == \"VariableName\" ||\n inner.to - inner.from < 20 && Identifier.test(context.state.sliceDoc(inner.from, inner.to));\n if (!isWord && !context.explicit)\n return null;\n let options = [];\n for (let pos = inner; pos; pos = pos.parent) {\n if (ScopeNodes.has(pos.name))\n options = options.concat(getScope(context.state.doc, pos));\n }\n return {\n options,\n from: isWord ? inner.from : context.pos,\n validFor: Identifier\n };\n}\nfunction pathFor(read, member, name) {\n var _a;\n let path = [];\n for (;;) {\n let obj = member.firstChild, prop;\n if ((obj === null || obj === void 0 ? void 0 : obj.name) == \"VariableName\") {\n path.push(read(obj));\n return { path: path.reverse(), name };\n }\n else if ((obj === null || obj === void 0 ? void 0 : obj.name) == \"MemberExpression\" && ((_a = (prop = obj.lastChild)) === null || _a === void 0 ? void 0 : _a.name) == \"PropertyName\") {\n path.push(read(prop));\n member = obj;\n }\n else {\n return null;\n }\n }\n}\n/**\nHelper function for defining JavaScript completion sources. It\nreturns the completable name and object path for a completion\ncontext, or null if no name/property completion should happen at\nthat position. For example, when completing after `a.b.c` it will\nreturn `{path: [\"a\", \"b\"], name: \"c\"}`. When completing after `x`\nit will return `{path: [], name: \"x\"}`. When not in a property or\nname, it will return null if `context.explicit` is false, and\n`{path: [], name: \"\"}` otherwise.\n*/\nfunction completionPath(context) {\n let read = (node) => context.state.doc.sliceString(node.from, node.to);\n let inner = syntaxTree(context.state).resolveInner(context.pos, -1);\n if (inner.name == \"PropertyName\") {\n return pathFor(read, inner.parent, read(inner));\n }\n else if ((inner.name == \".\" || inner.name == \"?.\") && inner.parent.name == \"MemberExpression\") {\n return pathFor(read, inner.parent, \"\");\n }\n else if (dontComplete.indexOf(inner.name) > -1) {\n return null;\n }\n else if (inner.name == \"VariableName\" || inner.to - inner.from < 20 && Identifier.test(read(inner))) {\n return { path: [], name: read(inner) };\n }\n else if (inner.name == \"MemberExpression\") {\n return pathFor(read, inner, \"\");\n }\n else {\n return context.explicit ? { path: [], name: \"\" } : null;\n }\n}\nfunction enumeratePropertyCompletions(obj, top) {\n let options = [], seen = new Set;\n for (let depth = 0;; depth++) {\n for (let name of (Object.getOwnPropertyNames || Object.keys)(obj)) {\n if (!/^[a-zA-Z_$\\xaa-\\uffdc][\\w$\\xaa-\\uffdc]*$/.test(name) || seen.has(name))\n continue;\n seen.add(name);\n let value;\n try {\n value = obj[name];\n }\n catch (_) {\n continue;\n }\n options.push({\n label: name,\n type: typeof value == \"function\" ? (/^[A-Z]/.test(name) ? \"class\" : top ? \"function\" : \"method\")\n : top ? \"variable\" : \"property\",\n boost: -depth\n });\n }\n let next = Object.getPrototypeOf(obj);\n if (!next)\n return options;\n obj = next;\n }\n}\n/**\nDefines a [completion source](https://codemirror.net/6/docs/ref/#autocomplete.CompletionSource) that\ncompletes from the given scope object (for example `globalThis`).\nWill enter properties of the object when completing properties on\na directly-named path.\n*/\nfunction scopeCompletionSource(scope) {\n let cache = new Map;\n return (context) => {\n let path = completionPath(context);\n if (!path)\n return null;\n let target = scope;\n for (let step of path.path) {\n target = target[step];\n if (!target)\n return null;\n }\n let options = cache.get(target);\n if (!options)\n cache.set(target, options = enumeratePropertyCompletions(target, !path.path.length));\n return {\n from: context.pos - path.name.length,\n options,\n validFor: Identifier\n };\n };\n}\n\n/**\nA language provider based on the [Lezer JavaScript\nparser](https://github.com/lezer-parser/javascript), extended with\nhighlighting and indentation information.\n*/\nconst javascriptLanguage = /*@__PURE__*/LRLanguage.define({\n name: \"javascript\",\n parser: /*@__PURE__*/parser.configure({\n props: [\n /*@__PURE__*/indentNodeProp.add({\n IfStatement: /*@__PURE__*/continuedIndent({ except: /^\\s*({|else\\b)/ }),\n TryStatement: /*@__PURE__*/continuedIndent({ except: /^\\s*({|catch\\b|finally\\b)/ }),\n LabeledStatement: flatIndent,\n SwitchBody: context => {\n let after = context.textAfter, closed = /^\\s*\\}/.test(after), isCase = /^\\s*(case|default)\\b/.test(after);\n return context.baseIndent + (closed ? 0 : isCase ? 1 : 2) * context.unit;\n },\n Block: /*@__PURE__*/delimitedIndent({ closing: \"}\" }),\n ArrowFunction: cx => cx.baseIndent + cx.unit,\n \"TemplateString BlockComment\": () => null,\n \"Statement Property\": /*@__PURE__*/continuedIndent({ except: /^\\s*{/ }),\n JSXElement(context) {\n let closed = /^\\s*<\\//.test(context.textAfter);\n return context.lineIndent(context.node.from) + (closed ? 0 : context.unit);\n },\n JSXEscape(context) {\n let closed = /\\s*\\}/.test(context.textAfter);\n return context.lineIndent(context.node.from) + (closed ? 0 : context.unit);\n },\n \"JSXOpenTag JSXSelfClosingTag\"(context) {\n return context.column(context.node.from) + context.unit;\n }\n }),\n /*@__PURE__*/foldNodeProp.add({\n \"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType\": foldInside,\n BlockComment(tree) { return { from: tree.from + 2, to: tree.to - 2 }; }\n })\n ]\n }),\n languageData: {\n closeBrackets: { brackets: [\"(\", \"[\", \"{\", \"'\", '\"', \"`\"] },\n commentTokens: { line: \"//\", block: { open: \"/*\", close: \"*/\" } },\n indentOnInput: /^\\s*(?:case |default:|\\{|\\}|<\\/)$/,\n wordChars: \"$\"\n }\n});\nconst jsxSublanguage = {\n test: node => /^JSX/.test(node.name),\n facet: /*@__PURE__*/defineLanguageFacet({ commentTokens: { block: { open: \"{/*\", close: \"*/}\" } } })\n};\n/**\nA language provider for TypeScript.\n*/\nconst typescriptLanguage = /*@__PURE__*/javascriptLanguage.configure({ dialect: \"ts\" }, \"typescript\");\n/**\nLanguage provider for JSX.\n*/\nconst jsxLanguage = /*@__PURE__*/javascriptLanguage.configure({\n dialect: \"jsx\",\n props: [/*@__PURE__*/sublanguageProp.add(n => n.isTop ? [jsxSublanguage] : undefined)]\n});\n/**\nLanguage provider for JSX + TypeScript.\n*/\nconst tsxLanguage = /*@__PURE__*/javascriptLanguage.configure({\n dialect: \"jsx ts\",\n props: [/*@__PURE__*/sublanguageProp.add(n => n.isTop ? [jsxSublanguage] : undefined)]\n}, \"typescript\");\nlet kwCompletion = (name) => ({ label: name, type: \"keyword\" });\nconst keywords = /*@__PURE__*/\"break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield\".split(\" \").map(kwCompletion);\nconst typescriptKeywords = /*@__PURE__*/keywords.concat(/*@__PURE__*/[\"declare\", \"implements\", \"private\", \"protected\", \"public\"].map(kwCompletion));\n/**\nJavaScript support. Includes [snippet](https://codemirror.net/6/docs/ref/#lang-javascript.snippets)\nand local variable completion.\n*/\nfunction javascript(config = {}) {\n let lang = config.jsx ? (config.typescript ? tsxLanguage : jsxLanguage)\n : config.typescript ? typescriptLanguage : javascriptLanguage;\n let completions = config.typescript ? typescriptSnippets.concat(typescriptKeywords) : snippets.concat(keywords);\n return new LanguageSupport(lang, [\n javascriptLanguage.data.of({\n autocomplete: ifNotIn(dontComplete, completeFromList(completions))\n }),\n javascriptLanguage.data.of({\n autocomplete: localCompletionSource\n }),\n config.jsx ? autoCloseTags : [],\n ]);\n}\nfunction findOpenTag(node) {\n for (;;) {\n if (node.name == \"JSXOpenTag\" || node.name == \"JSXSelfClosingTag\" || node.name == \"JSXFragmentTag\")\n return node;\n if (node.name == \"JSXEscape\" || !node.parent)\n return null;\n node = node.parent;\n }\n}\nfunction elementName(doc, tree, max = doc.length) {\n for (let ch = tree === null || tree === void 0 ? void 0 : tree.firstChild; ch; ch = ch.nextSibling) {\n if (ch.name == \"JSXIdentifier\" || ch.name == \"JSXBuiltin\" || ch.name == \"JSXNamespacedName\" ||\n ch.name == \"JSXMemberExpression\")\n return doc.sliceString(ch.from, Math.min(ch.to, max));\n }\n return \"\";\n}\nconst android = typeof navigator == \"object\" && /*@__PURE__*//Android\\b/.test(navigator.userAgent);\n/**\nExtension that will automatically insert JSX close tags when a `>` or\n`/` is typed.\n*/\nconst autoCloseTags = /*@__PURE__*/EditorView.inputHandler.of((view, from, to, text, defaultInsert) => {\n if ((android ? view.composing : view.compositionStarted) || view.state.readOnly ||\n from != to || (text != \">\" && text != \"/\") ||\n !javascriptLanguage.isActiveAt(view.state, from, -1))\n return false;\n let base = defaultInsert(), { state } = base;\n let closeTags = state.changeByRange(range => {\n var _a;\n let { head } = range, around = syntaxTree(state).resolveInner(head - 1, -1), name;\n if (around.name == \"JSXStartTag\")\n around = around.parent;\n if (state.doc.sliceString(head - 1, head) != text || around.name == \"JSXAttributeValue\" && around.to > head) ;\n else if (text == \">\" && around.name == \"JSXFragmentTag\") {\n return { range, changes: { from: head, insert: `</>` } };\n }\n else if (text == \"/\" && around.name == \"JSXStartCloseTag\") {\n let empty = around.parent, base = empty.parent;\n if (base && empty.from == head - 2 &&\n ((name = elementName(state.doc, base.firstChild, head)) || ((_a = base.firstChild) === null || _a === void 0 ? void 0 : _a.name) == \"JSXFragmentTag\")) {\n let insert = `${name}>`;\n return { range: EditorSelection.cursor(head + insert.length, -1), changes: { from: head, insert } };\n }\n }\n else if (text == \">\") {\n let openTag = findOpenTag(around);\n if (openTag && openTag.name == \"JSXOpenTag\" &&\n !/^\\/?>|^<\\//.test(state.doc.sliceString(head, head + 2)) &&\n (name = elementName(state.doc, openTag, head)))\n return { range, changes: { from: head, insert: `</${name}>` } };\n }\n return { range };\n });\n if (closeTags.changes.empty)\n return false;\n view.dispatch([\n base,\n state.update(closeTags, { userEvent: \"input.complete\", scrollIntoView: true })\n ]);\n return true;\n});\n\n/**\nConnects an [ESLint](https://eslint.org/) linter to CodeMirror's\n[lint](https://codemirror.net/6/docs/ref/#lint) integration. `eslint` should be an instance of the\n[`Linter`](https://eslint.org/docs/developer-guide/nodejs-api#linter)\nclass, and `config` an optional ESLint configuration. The return\nvalue of this function can be passed to [`linter`](https://codemirror.net/6/docs/ref/#lint.linter)\nto create a JavaScript linting extension.\n\nNote that ESLint targets node, and is tricky to run in the\nbrowser. The\n[eslint-linter-browserify](https://github.com/UziTech/eslint-linter-browserify)\npackage may help with that (see\n[example](https://github.com/UziTech/eslint-linter-browserify/blob/master/example/script.js)).\n*/\nfunction esLint(eslint, config) {\n if (!config) {\n config = {\n parserOptions: { ecmaVersion: 2019, sourceType: \"module\" },\n env: { browser: true, node: true, es6: true, es2015: true, es2017: true, es2020: true },\n rules: {}\n };\n eslint.getRules().forEach((desc, name) => {\n var _a;\n if ((_a = desc.meta.docs) === null || _a === void 0 ? void 0 : _a.recommended)\n config.rules[name] = 2;\n });\n }\n return (view) => {\n let { state } = view, found = [];\n for (let { from, to } of javascriptLanguage.findRegions(state)) {\n let fromLine = state.doc.lineAt(from), offset = { line: fromLine.number - 1, col: from - fromLine.from, pos: from };\n for (let d of eslint.verify(state.sliceDoc(from, to), config))\n found.push(translateDiagnostic(d, state.doc, offset));\n }\n return found;\n };\n}\nfunction mapPos(line, col, doc, offset) {\n return doc.line(line + offset.line).from + col + (line == 1 ? offset.col - 1 : -1);\n}\nfunction translateDiagnostic(input, doc, offset) {\n let start = mapPos(input.line, input.column, doc, offset);\n let result = {\n from: start,\n to: input.endLine != null && input.endColumn != 1 ? mapPos(input.endLine, input.endColumn, doc, offset) : start,\n message: input.message,\n source: input.ruleId ? \"eslint:\" + input.ruleId : \"eslint\",\n severity: input.severity == 1 ? \"warning\" : \"error\",\n };\n if (input.fix) {\n let { range, text } = input.fix, from = range[0] + offset.pos - start, to = range[1] + offset.pos - start;\n result.actions = [{\n name: \"fix\",\n apply(view, start) {\n view.dispatch({ changes: { from: start + from, to: start + to, insert: text }, scrollIntoView: true });\n }\n }];\n }\n return result;\n}\n\nexport { autoCloseTags, completionPath, esLint, javascript, javascriptLanguage, jsxLanguage, localCompletionSource, scopeCompletionSource, snippets, tsxLanguage, typescriptLanguage, typescriptSnippets };\n"],"names":["snippets","snippetCompletion","typescriptSnippets","cache","NodeWeakMap","ScopeNodes","defID","type","node","def","id","functionContext","gatherCompletions","getScope","doc","cached","completions","top","name","IterMode","gather","c","Identifier","dontComplete","localCompletionSource","context","inner","syntaxTree","isWord","options","pos","javascriptLanguage","LRLanguage","parser","indentNodeProp","continuedIndent","flatIndent","after","closed","isCase","delimitedIndent","cx","foldNodeProp","foldInside","tree","jsxSublanguage","defineLanguageFacet","typescriptLanguage","jsxLanguage","sublanguageProp","n","tsxLanguage","kwCompletion","keywords","typescriptKeywords","javascript","config","lang","LanguageSupport","ifNotIn","completeFromList","autoCloseTags","findOpenTag","elementName","max","ch","android","EditorView","view","from","to","text","defaultInsert","base","state","closeTags","range","_a","head","around","empty","insert","EditorSelection","openTag"],"mappings":";;;;;;AAWK,MAACA,IAAW;AAAA,EACA,gBAAAC,EAAkB,0CAA2C;AAAA,IACtE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,CAAK;AAAA,EACY,gBAAAA,EAAkB,sEAAuE;AAAA,IAClG,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,CAAK;AAAA,EACY,gBAAAA,EAAkB,iDAAkD;AAAA,IAC7E,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,CAAK;AAAA,EACY,gBAAAA,EAAkB,6BAA8B;AAAA,IACzD,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,CAAK;AAAA,EACY,gBAAAA,EAAkB,0BAA2B;AAAA,IACtD,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,CAAK;AAAA,EACY,gBAAAA,EAAkB;AAAA;AAAA;AAAA;AAAA,IAAgD;AAAA,IAC3E,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,CAAK;AAAA,EACY,gBAAAA,EAAkB,uBAAwB;AAAA,IACnD,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,CAAK;AAAA,EACY,gBAAAA,EAAkB;AAAA;AAAA;AAAA;AAAA,IAAyC;AAAA,IACpE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,CAAK;AAAA,EACY,gBAAAA,EAAkB;AAAA;AAAA;AAAA;AAAA,IAAgE;AAAA,IAC3F,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,CAA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QF,IAAO,OAC3B5D,IAAO6C,EAAYW,EAAM,KAAKD,EAAK,YAAYK,CAAI,QAAQD,IAAKJ,EAAK,gBAAgB,QAAQI,MAAO,SAAS,SAASA,EAAG,SAAS,mBAAmB;AACvJ,cAAII,IAAS,GAAG/D,CAAI;AACpB,iBAAO,EAAE,OAAOgE,EAAgB,OAAOJ,IAAOG,EAAO,QAAQ,EAAE,GAAG,SAAS,EAAE,MAAMH,GAAM,QAAAG,EAAM,EAAE;AAAA,QACrG;AAAA,MACJ,WACSV,KAAQ,KAAK;AAClB,YAAIY,IAAUrB,GAAYiB,CAAM;AAChC,YAAII,KAAWA,EAAQ,QAAQ,gBAC3B,CAAC,aAAa,KAAKT,EAAM,IAAI,YAAYI,GAAMA,IAAO,CAAC,CAAC,MACvD5D,IAAO6C,EAAYW,EAAM,KAAKS,GAASL,CAAI;AAC5C,iBAAO,EAAE,OAAAF,GAAO,SAAS,EAAE,MAAME,GAAM,QAAQ,KAAK5D,CAAI,IAAG,EAAE;AAAA,MACrE;AAAA;AACA,WAAO,EAAE,OAAA0D,EAAK;AAAA,EAClB,CAAC;AACD,SAAID,EAAU,QAAQ,QACX,MACXP,EAAK,SAAS;AAAA,IACVK;AAAA,IACAC,EAAM,OAAOC,GAAW,EAAE,WAAW,kBAAkB,gBAAgB,GAAI,CAAE;AAAA,EACrF,CAAK,GACM;AACX,CAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es.js","sources":["../../../../../node_modules/@codemirror/lang-javascript/dist/index.js"],"sourcesContent":["import { parser } from '@lezer/javascript';\nimport { syntaxTree, LRLanguage, indentNodeProp, continuedIndent, flatIndent, delimitedIndent, foldNodeProp, foldInside, defineLanguageFacet, sublanguageProp, LanguageSupport } from '@codemirror/language';\nimport { EditorSelection } from '@codemirror/state';\nimport { EditorView } from '@codemirror/view';\nimport { snippetCompletion, ifNotIn, completeFromList } from '@codemirror/autocomplete';\nimport { NodeWeakMap, IterMode } from '@lezer/common';\n\n/**\nA collection of JavaScript-related\n[snippets](https://codemirror.net/6/docs/ref/#autocomplete.snippet).\n*/\nconst snippets = [\n /*@__PURE__*/snippetCompletion(\"function ${name}(${params}) {\\n\\t${}\\n}\", {\n label: \"function\",\n detail: \"definition\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\\n\\t${}\\n}\", {\n label: \"for\",\n detail: \"loop\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"for (let ${name} of ${collection}) {\\n\\t${}\\n}\", {\n label: \"for\",\n detail: \"of loop\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"do {\\n\\t${}\\n} while (${})\", {\n label: \"do\",\n detail: \"loop\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"while (${}) {\\n\\t${}\\n}\", {\n label: \"while\",\n detail: \"loop\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"try {\\n\\t${}\\n} catch (${error}) {\\n\\t${}\\n}\", {\n label: \"try\",\n detail: \"/ catch block\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"if (${}) {\\n\\t${}\\n}\", {\n label: \"if\",\n detail: \"block\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"if (${}) {\\n\\t${}\\n} else {\\n\\t${}\\n}\", {\n label: \"if\",\n detail: \"/ else block\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"class ${name} {\\n\\tconstructor(${params}) {\\n\\t\\t${}\\n\\t}\\n}\", {\n label: \"class\",\n detail: \"definition\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"import {${names}} from \\\"${module}\\\"\\n${}\", {\n label: \"import\",\n detail: \"named\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"import ${name} from \\\"${module}\\\"\\n${}\", {\n label: \"import\",\n detail: \"default\",\n type: \"keyword\"\n })\n];\n/**\nA collection of snippet completions for TypeScript. Includes the\nJavaScript [snippets](https://codemirror.net/6/docs/ref/#lang-javascript.snippets).\n*/\nconst typescriptSnippets = /*@__PURE__*/snippets.concat([\n /*@__PURE__*/snippetCompletion(\"interface ${name} {\\n\\t${}\\n}\", {\n label: \"interface\",\n detail: \"definition\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"type ${name} = ${type}\", {\n label: \"type\",\n detail: \"definition\",\n type: \"keyword\"\n }),\n /*@__PURE__*/snippetCompletion(\"enum ${name} {\\n\\t${}\\n}\", {\n label: \"enum\",\n detail: \"definition\",\n type: \"keyword\"\n })\n]);\n\nconst cache = /*@__PURE__*/new NodeWeakMap();\nconst ScopeNodes = /*@__PURE__*/new Set([\n \"Script\", \"Block\",\n \"FunctionExpression\", \"FunctionDeclaration\", \"ArrowFunction\", \"MethodDeclaration\",\n \"ForStatement\"\n]);\nfunction defID(type) {\n return (node, def) => {\n let id = node.node.getChild(\"VariableDefinition\");\n if (id)\n def(id, type);\n return true;\n };\n}\nconst functionContext = [\"FunctionDeclaration\"];\nconst gatherCompletions = {\n FunctionDeclaration: /*@__PURE__*/defID(\"function\"),\n ClassDeclaration: /*@__PURE__*/defID(\"class\"),\n ClassExpression: () => true,\n EnumDeclaration: /*@__PURE__*/defID(\"constant\"),\n TypeAliasDeclaration: /*@__PURE__*/defID(\"type\"),\n NamespaceDeclaration: /*@__PURE__*/defID(\"namespace\"),\n VariableDefinition(node, def) { if (!node.matchContext(functionContext))\n def(node, \"variable\"); },\n TypeDefinition(node, def) { def(node, \"type\"); },\n __proto__: null\n};\nfunction getScope(doc, node) {\n let cached = cache.get(node);\n if (cached)\n return cached;\n let completions = [], top = true;\n function def(node, type) {\n let name = doc.sliceString(node.from, node.to);\n completions.push({ label: name, type });\n }\n node.cursor(IterMode.IncludeAnonymous).iterate(node => {\n if (top) {\n top = false;\n }\n else if (node.name) {\n let gather = gatherCompletions[node.name];\n if (gather && gather(node, def) || ScopeNodes.has(node.name))\n return false;\n }\n else if (node.to - node.from > 8192) {\n // Allow caching for bigger internal nodes\n for (let c of getScope(doc, node.node))\n completions.push(c);\n return false;\n }\n });\n cache.set(node, completions);\n return completions;\n}\nconst Identifier = /^[\\w$\\xa1-\\uffff][\\w$\\d\\xa1-\\uffff]*$/;\nconst dontComplete = [\n \"TemplateString\", \"String\", \"RegExp\",\n \"LineComment\", \"BlockComment\",\n \"VariableDefinition\", \"TypeDefinition\", \"Label\",\n \"PropertyDefinition\", \"PropertyName\",\n \"PrivatePropertyDefinition\", \"PrivatePropertyName\",\n \"JSXText\", \"JSXAttributeValue\", \"JSXOpenTag\", \"JSXCloseTag\", \"JSXSelfClosingTag\",\n \".\", \"?.\"\n];\n/**\nCompletion source that looks up locally defined names in\nJavaScript code.\n*/\nfunction localCompletionSource(context) {\n let inner = syntaxTree(context.state).resolveInner(context.pos, -1);\n if (dontComplete.indexOf(inner.name) > -1)\n return null;\n let isWord = inner.name == \"VariableName\" ||\n inner.to - inner.from < 20 && Identifier.test(context.state.sliceDoc(inner.from, inner.to));\n if (!isWord && !context.explicit)\n return null;\n let options = [];\n for (let pos = inner; pos; pos = pos.parent) {\n if (ScopeNodes.has(pos.name))\n options = options.concat(getScope(context.state.doc, pos));\n }\n return {\n options,\n from: isWord ? inner.from : context.pos,\n validFor: Identifier\n };\n}\nfunction pathFor(read, member, name) {\n var _a;\n let path = [];\n for (;;) {\n let obj = member.firstChild, prop;\n if ((obj === null || obj === void 0 ? void 0 : obj.name) == \"VariableName\") {\n path.push(read(obj));\n return { path: path.reverse(), name };\n }\n else if ((obj === null || obj === void 0 ? void 0 : obj.name) == \"MemberExpression\" && ((_a = (prop = obj.lastChild)) === null || _a === void 0 ? void 0 : _a.name) == \"PropertyName\") {\n path.push(read(prop));\n member = obj;\n }\n else {\n return null;\n }\n }\n}\n/**\nHelper function for defining JavaScript completion sources. It\nreturns the completable name and object path for a completion\ncontext, or null if no name/property completion should happen at\nthat position. For example, when completing after `a.b.c` it will\nreturn `{path: [\"a\", \"b\"], name: \"c\"}`. When completing after `x`\nit will return `{path: [], name: \"x\"}`. When not in a property or\nname, it will return null if `context.explicit` is false, and\n`{path: [], name: \"\"}` otherwise.\n*/\nfunction completionPath(context) {\n let read = (node) => context.state.doc.sliceString(node.from, node.to);\n let inner = syntaxTree(context.state).resolveInner(context.pos, -1);\n if (inner.name == \"PropertyName\") {\n return pathFor(read, inner.parent, read(inner));\n }\n else if ((inner.name == \".\" || inner.name == \"?.\") && inner.parent.name == \"MemberExpression\") {\n return pathFor(read, inner.parent, \"\");\n }\n else if (dontComplete.indexOf(inner.name) > -1) {\n return null;\n }\n else if (inner.name == \"VariableName\" || inner.to - inner.from < 20 && Identifier.test(read(inner))) {\n return { path: [], name: read(inner) };\n }\n else if (inner.name == \"MemberExpression\") {\n return pathFor(read, inner, \"\");\n }\n else {\n return context.explicit ? { path: [], name: \"\" } : null;\n }\n}\nfunction enumeratePropertyCompletions(obj, top) {\n let originalObj = obj;\n let options = [], seen = new Set;\n for (let depth = 0;; depth++) {\n for (let name of (Object.getOwnPropertyNames || Object.keys)(obj)) {\n if (!/^[a-zA-Z_$\\xaa-\\uffdc][\\w$\\xaa-\\uffdc]*$/.test(name) || seen.has(name))\n continue;\n seen.add(name);\n let value;\n try {\n value = originalObj[name];\n }\n catch (_) {\n continue;\n }\n options.push({\n label: name,\n type: typeof value == \"function\" ? (/^[A-Z]/.test(name) ? \"class\" : top ? \"function\" : \"method\")\n : top ? \"variable\" : \"property\",\n boost: -depth\n });\n }\n let next = Object.getPrototypeOf(obj);\n if (!next)\n return options;\n obj = next;\n }\n}\n/**\nDefines a [completion source](https://codemirror.net/6/docs/ref/#autocomplete.CompletionSource) that\ncompletes from the given scope object (for example `globalThis`).\nWill enter properties of the object when completing properties on\na directly-named path.\n*/\nfunction scopeCompletionSource(scope) {\n let cache = new Map;\n return (context) => {\n let path = completionPath(context);\n if (!path)\n return null;\n let target = scope;\n for (let step of path.path) {\n target = target[step];\n if (!target)\n return null;\n }\n let options = cache.get(target);\n if (!options)\n cache.set(target, options = enumeratePropertyCompletions(target, !path.path.length));\n return {\n from: context.pos - path.name.length,\n options,\n validFor: Identifier\n };\n };\n}\n\n/**\nA language provider based on the [Lezer JavaScript\nparser](https://github.com/lezer-parser/javascript), extended with\nhighlighting and indentation information.\n*/\nconst javascriptLanguage = /*@__PURE__*/LRLanguage.define({\n name: \"javascript\",\n parser: /*@__PURE__*/parser.configure({\n props: [\n /*@__PURE__*/indentNodeProp.add({\n IfStatement: /*@__PURE__*/continuedIndent({ except: /^\\s*({|else\\b)/ }),\n TryStatement: /*@__PURE__*/continuedIndent({ except: /^\\s*({|catch\\b|finally\\b)/ }),\n LabeledStatement: flatIndent,\n SwitchBody: context => {\n let after = context.textAfter, closed = /^\\s*\\}/.test(after), isCase = /^\\s*(case|default)\\b/.test(after);\n return context.baseIndent + (closed ? 0 : isCase ? 1 : 2) * context.unit;\n },\n Block: /*@__PURE__*/delimitedIndent({ closing: \"}\" }),\n ArrowFunction: cx => cx.baseIndent + cx.unit,\n \"TemplateString BlockComment\": () => null,\n \"Statement Property\": /*@__PURE__*/continuedIndent({ except: /^\\s*{/ }),\n JSXElement(context) {\n let closed = /^\\s*<\\//.test(context.textAfter);\n return context.lineIndent(context.node.from) + (closed ? 0 : context.unit);\n },\n JSXEscape(context) {\n let closed = /\\s*\\}/.test(context.textAfter);\n return context.lineIndent(context.node.from) + (closed ? 0 : context.unit);\n },\n \"JSXOpenTag JSXSelfClosingTag\"(context) {\n return context.column(context.node.from) + context.unit;\n }\n }),\n /*@__PURE__*/foldNodeProp.add({\n \"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType\": foldInside,\n BlockComment(tree) { return { from: tree.from + 2, to: tree.to - 2 }; },\n JSXElement(tree) {\n let open = tree.firstChild;\n if (!open || open.name == \"JSXSelfClosingTag\")\n return null;\n let close = tree.lastChild;\n return { from: open.to, to: close.type.isError ? tree.to : close.from };\n },\n \"JSXSelfClosingTag JSXOpenTag\"(tree) {\n var _a;\n let name = (_a = tree.firstChild) === null || _a === void 0 ? void 0 : _a.nextSibling, close = tree.lastChild;\n if (!name || name.type.isError)\n return null;\n return { from: name.to, to: close.type.isError ? tree.to : close.from };\n }\n })\n ]\n }),\n languageData: {\n closeBrackets: { brackets: [\"(\", \"[\", \"{\", \"'\", '\"', \"`\"] },\n commentTokens: { line: \"//\", block: { open: \"/*\", close: \"*/\" } },\n indentOnInput: /^\\s*(?:case |default:|\\{|\\}|<\\/)$/,\n wordChars: \"$\"\n }\n});\nconst jsxSublanguage = {\n test: node => /^JSX/.test(node.name),\n facet: /*@__PURE__*/defineLanguageFacet({ commentTokens: { block: { open: \"{/*\", close: \"*/}\" } } })\n};\n/**\nA language provider for TypeScript.\n*/\nconst typescriptLanguage = /*@__PURE__*/javascriptLanguage.configure({ dialect: \"ts\" }, \"typescript\");\n/**\nLanguage provider for JSX.\n*/\nconst jsxLanguage = /*@__PURE__*/javascriptLanguage.configure({\n dialect: \"jsx\",\n props: [/*@__PURE__*/sublanguageProp.add(n => n.isTop ? [jsxSublanguage] : undefined)]\n});\n/**\nLanguage provider for JSX + TypeScript.\n*/\nconst tsxLanguage = /*@__PURE__*/javascriptLanguage.configure({\n dialect: \"jsx ts\",\n props: [/*@__PURE__*/sublanguageProp.add(n => n.isTop ? [jsxSublanguage] : undefined)]\n}, \"typescript\");\nlet kwCompletion = (name) => ({ label: name, type: \"keyword\" });\nconst keywords = /*@__PURE__*/\"break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield\".split(\" \").map(kwCompletion);\nconst typescriptKeywords = /*@__PURE__*/keywords.concat(/*@__PURE__*/[\"declare\", \"implements\", \"private\", \"protected\", \"public\"].map(kwCompletion));\n/**\nJavaScript support. Includes [snippet](https://codemirror.net/6/docs/ref/#lang-javascript.snippets)\nand local variable completion.\n*/\nfunction javascript(config = {}) {\n let lang = config.jsx ? (config.typescript ? tsxLanguage : jsxLanguage)\n : config.typescript ? typescriptLanguage : javascriptLanguage;\n let completions = config.typescript ? typescriptSnippets.concat(typescriptKeywords) : snippets.concat(keywords);\n return new LanguageSupport(lang, [\n javascriptLanguage.data.of({\n autocomplete: ifNotIn(dontComplete, completeFromList(completions))\n }),\n javascriptLanguage.data.of({\n autocomplete: localCompletionSource\n }),\n config.jsx ? autoCloseTags : [],\n ]);\n}\nfunction findOpenTag(node) {\n for (;;) {\n if (node.name == \"JSXOpenTag\" || node.name == \"JSXSelfClosingTag\" || node.name == \"JSXFragmentTag\")\n return node;\n if (node.name == \"JSXEscape\" || !node.parent)\n return null;\n node = node.parent;\n }\n}\nfunction elementName(doc, tree, max = doc.length) {\n for (let ch = tree === null || tree === void 0 ? void 0 : tree.firstChild; ch; ch = ch.nextSibling) {\n if (ch.name == \"JSXIdentifier\" || ch.name == \"JSXBuiltin\" || ch.name == \"JSXNamespacedName\" ||\n ch.name == \"JSXMemberExpression\")\n return doc.sliceString(ch.from, Math.min(ch.to, max));\n }\n return \"\";\n}\nconst android = typeof navigator == \"object\" && /*@__PURE__*//Android\\b/.test(navigator.userAgent);\n/**\nExtension that will automatically insert JSX close tags when a `>` or\n`/` is typed.\n*/\nconst autoCloseTags = /*@__PURE__*/EditorView.inputHandler.of((view, from, to, text, defaultInsert) => {\n if ((android ? view.composing : view.compositionStarted) || view.state.readOnly ||\n from != to || (text != \">\" && text != \"/\") ||\n !javascriptLanguage.isActiveAt(view.state, from, -1))\n return false;\n let base = defaultInsert(), { state } = base;\n let closeTags = state.changeByRange(range => {\n var _a;\n let { head } = range, around = syntaxTree(state).resolveInner(head - 1, -1), name;\n if (around.name == \"JSXStartTag\")\n around = around.parent;\n if (state.doc.sliceString(head - 1, head) != text || around.name == \"JSXAttributeValue\" && around.to > head) ;\n else if (text == \">\" && around.name == \"JSXFragmentTag\") {\n return { range, changes: { from: head, insert: `</>` } };\n }\n else if (text == \"/\" && around.name == \"JSXStartCloseTag\") {\n let empty = around.parent, base = empty.parent;\n if (base && empty.from == head - 2 &&\n ((name = elementName(state.doc, base.firstChild, head)) || ((_a = base.firstChild) === null || _a === void 0 ? void 0 : _a.name) == \"JSXFragmentTag\")) {\n let insert = `${name}>`;\n return { range: EditorSelection.cursor(head + insert.length, -1), changes: { from: head, insert } };\n }\n }\n else if (text == \">\") {\n let openTag = findOpenTag(around);\n if (openTag && openTag.name == \"JSXOpenTag\" &&\n !/^\\/?>|^<\\//.test(state.doc.sliceString(head, head + 2)) &&\n (name = elementName(state.doc, openTag, head)))\n return { range, changes: { from: head, insert: `</${name}>` } };\n }\n return { range };\n });\n if (closeTags.changes.empty)\n return false;\n view.dispatch([\n base,\n state.update(closeTags, { userEvent: \"input.complete\", scrollIntoView: true })\n ]);\n return true;\n});\n\n/**\nConnects an [ESLint](https://eslint.org/) linter to CodeMirror's\n[lint](https://codemirror.net/6/docs/ref/#lint) integration. `eslint` should be an instance of the\n[`Linter`](https://eslint.org/docs/developer-guide/nodejs-api#linter)\nclass, and `config` an optional ESLint configuration. The return\nvalue of this function can be passed to [`linter`](https://codemirror.net/6/docs/ref/#lint.linter)\nto create a JavaScript linting extension.\n\nNote that ESLint targets node, and is tricky to run in the\nbrowser. The\n[eslint-linter-browserify](https://github.com/UziTech/eslint-linter-browserify)\npackage may help with that (see\n[example](https://github.com/UziTech/eslint-linter-browserify/blob/master/example/script.js)).\n*/\nfunction esLint(eslint, config) {\n if (!config) {\n config = {\n parserOptions: { ecmaVersion: 2019, sourceType: \"module\" },\n env: { browser: true, node: true, es6: true, es2015: true, es2017: true, es2020: true },\n rules: {}\n };\n eslint.getRules().forEach((desc, name) => {\n var _a;\n if ((_a = desc.meta.docs) === null || _a === void 0 ? void 0 : _a.recommended)\n config.rules[name] = 2;\n });\n }\n return (view) => {\n let { state } = view, found = [];\n for (let { from, to } of javascriptLanguage.findRegions(state)) {\n let fromLine = state.doc.lineAt(from), offset = { line: fromLine.number - 1, col: from - fromLine.from, pos: from };\n for (let d of eslint.verify(state.sliceDoc(from, to), config))\n found.push(translateDiagnostic(d, state.doc, offset));\n }\n return found;\n };\n}\nfunction mapPos(line, col, doc, offset) {\n return doc.line(line + offset.line).from + col + (line == 1 ? offset.col - 1 : -1);\n}\nfunction translateDiagnostic(input, doc, offset) {\n let start = mapPos(input.line, input.column, doc, offset);\n let result = {\n from: start,\n to: input.endLine != null && input.endColumn != 1 ? mapPos(input.endLine, input.endColumn, doc, offset) : start,\n message: input.message,\n source: input.ruleId ? \"eslint:\" + input.ruleId : \"eslint\",\n severity: input.severity == 1 ? \"warning\" : \"error\",\n };\n if (input.fix) {\n let { range, text } = input.fix, from = range[0] + offset.pos - start, to = range[1] + offset.pos - start;\n result.actions = [{\n name: \"fix\",\n apply(view, start) {\n view.dispatch({ changes: { from: start + from, to: start + to, insert: text }, scrollIntoView: true });\n }\n }];\n }\n return result;\n}\n\nexport { autoCloseTags, completionPath, esLint, javascript, javascriptLanguage, jsxLanguage, localCompletionSource, scopeCompletionSource, snippets, tsxLanguage, typescriptLanguage, typescriptSnippets };\n"],"names":["snippets","snippetCompletion","typescriptSnippets","cache","NodeWeakMap","ScopeNodes","defID","type","node","def","id","functionContext","gatherCompletions","getScope","doc","cached","completions","top","name","IterMode","gather","c","Identifier","dontComplete","localCompletionSource","context","inner","syntaxTree","isWord","options","pos","javascriptLanguage","LRLanguage","parser","indentNodeProp","continuedIndent","flatIndent","after","closed","isCase","delimitedIndent","cx","foldNodeProp","foldInside","tree","open","close","_a","jsxSublanguage","defineLanguageFacet","typescriptLanguage","jsxLanguage","sublanguageProp","n","tsxLanguage","kwCompletion","keywords","typescriptKeywords","javascript","config","lang","LanguageSupport","ifNotIn","completeFromList","autoCloseTags","findOpenTag","elementName","max","ch","android","EditorView","view","from","to","text","defaultInsert","base","state","closeTags","range","head","around","empty","insert","EditorSelection","openTag"],"mappings":";;;;;;AAWK,MAACA,IAAW;AAAA,EACA,gBAAAC,EAAkB,0CAA2C;AAAA,IACtE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,MAAM;AAAA,EACd,C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AACnC,eAAO,EAAE,OAAAF,GAAO,SAAS,EAAE,MAAMC,GAAM,QAAQ,QAAO;AAErD,UAAIN,KAAQ,OAAOO,EAAO,QAAQ,oBAAoB;AACvD,YAAIC,IAAQD,EAAO,QAAQL,IAAOM,EAAM;AACxC,YAAIN,KAAQM,EAAM,QAAQF,IAAO,OAC3B9D,IAAOgD,EAAYW,EAAM,KAAKD,EAAK,YAAYI,CAAI,QAAQjC,IAAK6B,EAAK,gBAAgB,QAAQ7B,MAAO,SAAS,SAASA,EAAG,SAAS,mBAAmB;AACvJ,cAAIoC,IAAS,GAAGjE,CAAI;AACpB,iBAAO,EAAE,OAAOkE,EAAgB,OAAOJ,IAAOG,EAAO,QAAQ,EAAE,GAAG,SAAS,EAAE,MAAMH,GAAM,QAAAG,EAAM,EAAE;AAAA,QACrG;AAAA,MACJ,WACST,KAAQ,KAAK;AAClB,YAAIW,IAAUpB,GAAYgB,CAAM;AAChC,YAAII,KAAWA,EAAQ,QAAQ,gBAC3B,CAAC,aAAa,KAAKR,EAAM,IAAI,YAAYG,GAAMA,IAAO,CAAC,CAAC,MACvD9D,IAAOgD,EAAYW,EAAM,KAAKQ,GAASL,CAAI;AAC5C,iBAAO,EAAE,OAAAD,GAAO,SAAS,EAAE,MAAMC,GAAM,QAAQ,KAAK9D,CAAI,IAAG,EAAE;AAAA,MACrE;AAAA;AACA,WAAO,EAAE,OAAA6D,EAAK;AAAA,EAClB,CAAC;AACD,SAAID,EAAU,QAAQ,QACX,MACXP,EAAK,SAAS;AAAA,IACVK;AAAA,IACAC,EAAM,OAAOC,GAAW,EAAE,WAAW,kBAAkB,gBAAgB,GAAI,CAAE;AAAA,EACrF,CAAK,GACM;AACX,CAAC;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../../state/dist/index.cjs"),z=require("../../view/dist/index.cjs"),m=require("../../language/dist/index.cjs"),G=require("../../autocomplete/dist/index.cjs"),w=require("../../../@lezer/markdown/dist/index.cjs"),$=require("../../lang-html/dist/index.cjs"),Q=require("../../../@lezer/common/dist/index.cjs"),N=m.defineLanguageFacet({commentTokens:{block:{open:"<!--",close:"-->"}}}),O=new Q.NodeProp,D=w.parser.configure({props:[m.foldNodeProp.add(e=>!e.is("Block")||e.is("Document")||v(e)!=null||U(e)?void 0:(i,r)=>({from:r.doc.lineAt(i.from).to,to:i.to})),O.add(v),m.indentNodeProp.add({Document:()=>null}),m.languageDataProp.add({Document:N})]});function v(e){let i=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return i?+i[1]:void 0}function U(e){return e.name=="OrderedList"||e.name=="BulletList"}function _(e,i){let r=e;for(;;){let t=r.nextSibling,n;if(!t||(n=v(t.type))!=null&&n<=i)break;r=t}return r.to}const J=m.foldService.of((e,i,r)=>{for(let t=m.syntaxTree(e).resolveInner(r,-1);t&&!(t.from<i);t=t.parent){let n=t.type.prop(O);if(n==null)continue;let l=_(t,n);if(l>r)return{from:r,to:l}}return null});function P(e){return new m.Language(N,e,[],"markdown")}const F=P(D),Y=D.configure([w.GFM,w.Subscript,w.Superscript,w.Emoji,{props:[m.foldNodeProp.add({Table:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})})]}]),b=P(Y);function Z(e,i){return r=>{if(r&&e){let t=null;if(r=/\S*/.exec(r)[0],typeof e=="function"?t=e(r):t=m.LanguageDescription.matchLanguageName(e,r,!0),t instanceof m.LanguageDescription)return t.support?t.support.language.parser:m.ParseContext.getSkippingParser(t.load());if(t)return t.parser}return i?i.parser:null}}class y{constructor(i,r,t,n,l,a,f){this.node=i,this.from=r,this.to=t,this.spaceBefore=n,this.spaceAfter=l,this.type=a,this.item=f}blank(i,r=!0){let t=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(i!=null){for(;t.length<i;)t+=" ";return t}else{for(let n=this.to-this.from-t.length-this.spaceAfter.length;n>0;n--)t+=" ";return t+(r?this.spaceAfter:"")}}marker(i,r){let t=this.node.name=="OrderedList"?String(+K(this.item,i)[2]+r):"";return this.spaceBefore+t+this.type+this.spaceAfter}}function H(e,i){let r=[],t=[];for(let n=e;n;n=n.parent){if(n.name=="FencedCode")return t;(n.name=="ListItem"||n.name=="Blockquote")&&r.push(n)}for(let n=r.length-1;n>=0;n--){let l=r[n],a,f=i.lineAt(l.from),o=l.from-f.from;if(l.name=="Blockquote"&&(a=/^ *>( ?)/.exec(f.text.slice(o))))t.push(new y(l,o,o+a[0].length,"",a[1],">",null));else if(l.name=="ListItem"&&l.parent.name=="OrderedList"&&(a=/^( *)\d+([.)])( *)/.exec(f.text.slice(o)))){let u=a[3],s=a[0].length;u.length>=4&&(u=u.slice(0,u.length-4),s-=4),t.push(new y(l.parent,o,o+s,a[1],u,a[2],l))}else if(l.name=="ListItem"&&l.parent.name=="BulletList"&&(a=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(f.text.slice(o)))){let u=a[4],s=a[0].length;u.length>4&&(u=u.slice(0,u.length-4),s-=4);let d=a[2];a[3]&&(d+=a[3].replace(/[xX]/," ")),t.push(new y(l.parent,o,o+s,a[1],u,d,l))}}return t}function K(e,i){return/^(\s*)(\d+)(?=[.)])/.exec(i.sliceString(e.from,e.from+10))}function I(e,i,r,t=0){for(let n=-1,l=e;;){if(l.name=="ListItem"){let f=K(l,i),o=+f[2];if(n>=0){if(o!=n+1)return;r.push({from:l.from+f[1].length,to:l.from+f[0].length,insert:String(n+2+t)})}n=o}let a=l.nextSibling;if(!a)break;l=a}}function E(e,i){let r=/^[ \t]*/.exec(e)[0].length;if(!r||i.facet(m.indentUnit)!=" ")return e;let t=g.countColumn(e,4,r),n="";for(let l=t;l>0;)l>=4?(n+=" ",l-=4):(n+=" ",l--);return n+e.slice(r)}const R=({state:e,dispatch:i})=>{let r=m.syntaxTree(e),{doc:t}=e,n=null,l=e.changeByRange(a=>{if(!a.empty||!b.isActiveAt(e,a.from,-1)&&!b.isActiveAt(e,a.from,1))return n={range:a};let f=a.from,o=t.lineAt(f),u=H(r.resolveInner(f,-1),t);for(;u.length&&u[u.length-1].from>f-o.from;)u.pop();if(!u.length)return n={range:a};let s=u[u.length-1];if(s.to-s.spaceAfter.length>f-o.from)return n={range:a};let d=f>=s.to-s.spaceAfter.length&&!/\S/.test(o.text.slice(s.to));if(s.item&&d){let p=s.node.firstChild,x=s.node.getChild("ListItem","ListItem");if(p.to>=f||x&&x.to<f||o.from>0&&!/[^\s>]/.test(t.lineAt(o.from-1).text)){let c=u.length>1?u[u.length-2]:null,S,A="";c&&c.item?(S=o.from+c.from,A=c.marker(t,1)):S=o.from+(c?c.to:0);let B=[{from:S,to:f,insert:A}];return s.node.name=="OrderedList"&&I(s.item,t,B,-2),c&&c.node.name=="OrderedList"&&I(c.item,t,B),{range:g.EditorSelection.cursor(S+A.length),changes:B}}else{let c=q(u,e,o);return{range:g.EditorSelection.cursor(f+c.length+1),changes:{from:o.from,insert:c+e.lineBreak}}}}if(s.node.name=="Blockquote"&&d&&o.from){let p=t.lineAt(o.from-1),x=/>\s*$/.exec(p.text);if(x&&x.index==s.from){let c=e.changes([{from:p.from+x.index,to:p.to},{from:o.from+s.from,to:o.to}]);return{range:a.map(c),changes:c}}}let h=[];s.node.name=="OrderedList"&&I(s.item,t,h);let L=s.item&&s.item.from<o.from,k="";if(!L||/^[\s\d.)\-+*>]*/.exec(o.text)[0].length>=s.to)for(let p=0,x=u.length-1;p<=x;p++)k+=p==x&&!L?u[p].marker(t,1):u[p].blank(p<x?g.countColumn(o.text,4,u[p+1].from)-k.length:null);let C=f;for(;C>o.from&&/\s/.test(o.text.charAt(C-o.from-1));)C--;return k=E(k,e),W(s.node,e.doc)&&(k=q(u,e,o)+e.lineBreak+k),h.push({from:C,to:f,insert:e.lineBreak+k}),{range:g.EditorSelection.cursor(C+k.length+1),changes:h}});return n?!1:(i(e.update(l,{scrollIntoView:!0,userEvent:"input"})),!0)};function M(e){return e.name=="QuoteMark"||e.name=="ListMark"}function W(e,i){if(e.name!="OrderedList"&&e.name!="BulletList")return!1;let r=e.firstChild,t=e.getChild("ListItem","ListItem");if(!t)return!1;let n=i.lineAt(r.to),l=i.lineAt(t.from),a=/^[\s>]*$/.test(n.text);return n.number+(a?0:1)<l.number}function q(e,i,r){let t="";for(let n=0,l=e.length-2;n<=l;n++)t+=e[n].blank(n<l?g.countColumn(r.text,4,e[n+1].from)-t.length:null,n<l);return E(t,i)}function ee(e,i){let r=e.resolveInner(i,-1),t=i;M(r)&&(t=r.from,r=r.parent);for(let n;n=r.childBefore(t);)if(M(n))t=n.from;else if(n.name=="OrderedList"||n.name=="BulletList")r=n.lastChild,t=r.to;else break;return r}const X=({state:e,dispatch:i})=>{let r=m.syntaxTree(e),t=null,n=e.changeByRange(l=>{let a=l.from,{doc:f}=e;if(l.empty&&b.isActiveAt(e,l.from)){let o=f.lineAt(a),u=H(ee(r,a),f);if(u.length){let s=u[u.length-1],d=s.to-s.spaceAfter.length+(s.spaceAfter?1:0);if(a-o.from>d&&!/\S/.test(o.text.slice(d,a-o.from)))return{range:g.EditorSelection.cursor(o.from+d),changes:{from:o.from+d,to:a}};if(a-o.from==d&&(!s.item||o.from<=s.item.from||!/\S/.test(o.text.slice(0,s.to)))){let h=o.from+s.from;if(s.item&&s.node.from<s.item.from&&/\S/.test(o.text.slice(s.from,s.to))){let L=s.blank(g.countColumn(o.text,4,s.to)-g.countColumn(o.text,4,s.from));return h==o.from&&(L=E(L,e)),{range:g.EditorSelection.cursor(h+L.length),changes:{from:h,to:o.from+s.to,insert:L}}}if(h<a)return{range:g.EditorSelection.cursor(h),changes:{from:h,to:a}}}}}return t={range:l}});return t?!1:(i(e.update(n,{scrollIntoView:!0,userEvent:"delete"})),!0)},j=[{key:"Enter",run:R},{key:"Backspace",run:X}],V=$.html({matchClosingTags:!1});function te(e={}){let{codeLanguages:i,defaultCodeLanguage:r,addKeymap:t=!0,base:{parser:n}=F,completeHTMLTags:l=!0,htmlTagLanguage:a=V}=e;if(!(n instanceof w.MarkdownParser))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let f=e.extensions?[e.extensions]:[],o=[a.support,J],u;r instanceof m.LanguageSupport?(o.push(r.support),u=r.language):r&&(u=r);let s=i||u?Z(i,u):void 0;f.push(w.parseCode({codeParser:s,htmlParser:a.language.parser})),t&&o.push(g.Prec.high(z.keymap.of(j)));let d=P(n.configure(f));return l&&o.push(d.data.of({autocomplete:ne})),new m.LanguageSupport(d,o)}function ne(e){let{state:i,pos:r}=e,t=/<[:\-\.\w\u00b7-\uffff]*$/.exec(i.sliceDoc(r-25,r));if(!t)return null;let n=m.syntaxTree(i).resolveInner(r,-1);for(;n&&!n.type.isTop;){if(n.name=="CodeBlock"||n.name=="FencedCode"||n.name=="ProcessingInstructionBlock"||n.name=="CommentBlock"||n.name=="Link"||n.name=="Image")return null;n=n.parent}return{from:r-t[0].length,to:r,options:re(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let T=null;function re(){if(T)return T;let e=$.htmlCompletionSource(new G.CompletionContext(g.EditorState.create({extensions:V}),0,!0));return T=e?e.options:[]}exports.commonmarkLanguage=F;exports.deleteMarkupBackward=X;exports.insertNewlineContinueMarkup=R;exports.markdown=te;exports.markdownKeymap=j;exports.markdownLanguage=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("../../state/dist/index.cjs"),q=require("../../view/dist/index.cjs"),c=require("../../language/dist/index.cjs"),Q=require("../../autocomplete/dist/index.cjs"),w=require("../../../@lezer/markdown/dist/index.cjs"),D=require("../../lang-html/dist/index.cjs"),J=require("../../../@lezer/common/dist/index.cjs"),O=c.defineLanguageFacet({commentTokens:{block:{open:"<!--",close:"-->"}}}),R=new J.NodeProp,F=w.parser.configure({props:[c.foldNodeProp.add(n=>!n.is("Block")||n.is("Document")||I(n)!=null||Y(n)?void 0:(r,o)=>({from:o.doc.lineAt(r.from).to,to:r.to})),R.add(I),c.indentNodeProp.add({Document:()=>null}),c.languageDataProp.add({Document:O})]});function I(n){let r=/^(?:ATX|Setext)Heading(\d)$/.exec(n.name);return r?+r[1]:void 0}function Y(n){return n.name=="OrderedList"||n.name=="BulletList"}function Z(n,r){let o=n;for(;;){let t=o.nextSibling,e;if(!t||(e=I(t.type))!=null&&e<=r)break;o=t}return o.to}const W=c.foldService.of((n,r,o)=>{for(let t=c.syntaxTree(n).resolveInner(o,-1);t&&!(t.from<r);t=t.parent){let e=t.type.prop(R);if(e==null)continue;let i=Z(t,e);if(i>o)return{from:o,to:i}}return null});function E(n){return new c.Language(O,n,[],"markdown")}const U=E(F),ee=F.configure([w.GFM,w.Subscript,w.Superscript,w.Emoji,{props:[c.foldNodeProp.add({Table:(n,r)=>({from:r.doc.lineAt(n.from).to,to:n.to})})]}]),A=E(ee);function te(n,r){return o=>{if(o&&n){let t=null;if(o=/\S*/.exec(o)[0],typeof n=="function"?t=n(o):t=c.LanguageDescription.matchLanguageName(n,o,!0),t instanceof c.LanguageDescription)return t.support?t.support.language.parser:c.ParseContext.getSkippingParser(t.load());if(t)return t.parser}return r?r.parser:null}}class y{constructor(r,o,t,e,i,f,m){this.node=r,this.from=o,this.to=t,this.spaceBefore=e,this.spaceAfter=i,this.type=f,this.item=m}blank(r,o=!0){let t=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(r!=null){for(;t.length<r;)t+=" ";return t}else{for(let e=this.to-this.from-t.length-this.spaceAfter.length;e>0;e--)t+=" ";return t+(o?this.spaceAfter:"")}}marker(r,o){let t=this.node.name=="OrderedList"?String(+V(this.item,r)[2]+o):"";return this.spaceBefore+t+this.type+this.spaceAfter}}function H(n,r){let o=[],t=[];for(let e=n;e;e=e.parent){if(e.name=="FencedCode")return t;(e.name=="ListItem"||e.name=="Blockquote")&&o.push(e)}for(let e=o.length-1;e>=0;e--){let i=o[e],f,m=r.lineAt(i.from),a=i.from-m.from;if(i.name=="Blockquote"&&(f=/^ *>( ?)/.exec(m.text.slice(a))))t.push(new y(i,a,a+f[0].length,"",f[1],">",null));else if(i.name=="ListItem"&&i.parent.name=="OrderedList"&&(f=/^( *)\d+([.)])( *)/.exec(m.text.slice(a)))){let l=f[3],s=f[0].length;l.length>=4&&(l=l.slice(0,l.length-4),s-=4),t.push(new y(i.parent,a,a+s,f[1],l,f[2],i))}else if(i.name=="ListItem"&&i.parent.name=="BulletList"&&(f=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(m.text.slice(a)))){let l=f[4],s=f[0].length;l.length>4&&(l=l.slice(0,l.length-4),s-=4);let u=f[2];f[3]&&(u+=f[3].replace(/[xX]/," ")),t.push(new y(i.parent,a,a+s,f[1],l,u,i))}}return t}function V(n,r){return/^(\s*)(\d+)(?=[.)])/.exec(r.sliceString(n.from,n.from+10))}function v(n,r,o,t=0){for(let e=-1,i=n;;){if(i.name=="ListItem"){let m=V(i,r),a=+m[2];if(e>=0){if(a!=e+1)return;o.push({from:i.from+m[1].length,to:i.from+m[0].length,insert:String(e+2+t)})}e=a}let f=i.nextSibling;if(!f)break;i=f}}function P(n,r){let o=/^[ \t]*/.exec(n)[0].length;if(!o||r.facet(c.indentUnit)!=" ")return n;let t=h.countColumn(n,4,o),e="";for(let i=t;i>0;)i>=4?(e+=" ",i-=4):(e+=" ",i--);return e+n.slice(o)}const K=(n={})=>({state:r,dispatch:o})=>{let t=c.syntaxTree(r),{doc:e}=r,i=null,f=r.changeByRange(m=>{if(!m.empty||!A.isActiveAt(r,m.from,-1)&&!A.isActiveAt(r,m.from,1))return i={range:m};let a=m.from,l=e.lineAt(a),s=H(t.resolveInner(a,-1),e);for(;s.length&&s[s.length-1].from>a-l.from;)s.pop();if(!s.length)return i={range:m};let u=s[s.length-1];if(u.to-u.spaceAfter.length>a-l.from)return i={range:m};let g=a>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&g){if(u.item.from<l.from&&!/^[\s>]*$/.test(l.text.slice(0,u.to)))return i={range:m};let p=u.node.firstChild,k=u.node.getChild("ListItem","ListItem");if(p.to>=a||k&&k.to<a||l.from>0&&!/[^\s>]/.test(e.lineAt(l.from-1).text)||n.nonTightLists===!1){let d=s.length>1?s[s.length-2]:null,b,S="";d&&d.item?(b=l.from+d.from,S=d.marker(e,1)):b=l.from+(d?d.to:0);let B=[{from:b,to:a,insert:S}];return u.node.name=="OrderedList"&&v(u.item,e,B,-2),d&&d.node.name=="OrderedList"&&v(d.item,e,B),{range:h.EditorSelection.cursor(b+S.length),changes:B}}else{let d=N(s,r,l);return{range:h.EditorSelection.cursor(a+d.length+1),changes:{from:l.from,insert:d+r.lineBreak}}}}if(u.node.name=="Blockquote"&&g&&l.from){let p=e.lineAt(l.from-1),k=/>\s*$/.exec(p.text);if(k&&k.index==u.from){let d=r.changes([{from:p.from+k.index,to:p.to},{from:l.from+u.from,to:l.to}]);return{range:m.map(d),changes:d}}}let x=[];u.node.name=="OrderedList"&&v(u.item,e,x);let M=u.item&&u.item.from<l.from,L="";if(!M||/^[\s\d.)\-+*>]*/.exec(l.text)[0].length>=u.to)for(let p=0,k=s.length-1;p<=k;p++)L+=p==k&&!M?s[p].marker(e,1):s[p].blank(p<k?h.countColumn(l.text,4,s[p+1].from)-L.length:null);let C=a;for(;C>l.from&&/\s/.test(l.text.charAt(C-l.from-1));)C--;return L=P(L,r),ne(u.node,r.doc)&&(L=N(s,r,l)+r.lineBreak+L),x.push({from:C,to:a,insert:r.lineBreak+L}),{range:h.EditorSelection.cursor(C+L.length+1),changes:x}});return i?!1:(o(r.update(f,{scrollIntoView:!0,userEvent:"input"})),!0)},X=K();function $(n){return n.name=="QuoteMark"||n.name=="ListMark"}function ne(n,r){if(n.name!="OrderedList"&&n.name!="BulletList")return!1;let o=n.firstChild,t=n.getChild("ListItem","ListItem");if(!t)return!1;let e=r.lineAt(o.to),i=r.lineAt(t.from),f=/^[\s>]*$/.test(e.text);return e.number+(f?0:1)<i.number}function N(n,r,o){let t="";for(let e=0,i=n.length-2;e<=i;e++)t+=n[e].blank(e<i?h.countColumn(o.text,4,n[e+1].from)-t.length:null,e<i);return P(t,r)}function re(n,r){let o=n.resolveInner(r,-1),t=r;$(o)&&(t=o.from,o=o.parent);for(let e;e=o.childBefore(t);)if($(e))t=e.from;else if(e.name=="OrderedList"||e.name=="BulletList")o=e.lastChild,t=o.to;else break;return o}const j=({state:n,dispatch:r})=>{let o=c.syntaxTree(n),t=null,e=n.changeByRange(i=>{let f=i.from,{doc:m}=n;if(i.empty&&A.isActiveAt(n,i.from)){let a=m.lineAt(f),l=H(re(o,f),m);if(l.length){let s=l[l.length-1],u=s.to-s.spaceAfter.length+(s.spaceAfter?1:0);if(f-a.from>u&&!/\S/.test(a.text.slice(u,f-a.from)))return{range:h.EditorSelection.cursor(a.from+u),changes:{from:a.from+u,to:f}};if(f-a.from==u&&(s.item&&a.from<=s.item.from||/^[\s>]*$/.test(a.text.slice(0,s.to)))){let g=a.from+s.from;if(s.item&&s.node.from<s.item.from&&/\S/.test(a.text.slice(s.from,s.to))){let x=s.blank(h.countColumn(a.text,4,s.to)-h.countColumn(a.text,4,s.from));return g==a.from&&(x=P(x,n)),{range:h.EditorSelection.cursor(g+x.length),changes:{from:g,to:a.from+s.to,insert:x}}}if(g<f)return{range:h.EditorSelection.cursor(g),changes:{from:g,to:f}}}}}return t={range:i}});return t?!1:(r(n.update(e,{scrollIntoView:!0,userEvent:"delete"})),!0)},z=[{key:"Enter",run:X},{key:"Backspace",run:j}],_=D.html({matchClosingTags:!1});function oe(n={}){let{codeLanguages:r,defaultCodeLanguage:o,addKeymap:t=!0,base:{parser:e}=U,completeHTMLTags:i=!0,pasteURLAsLink:f=!0,htmlTagLanguage:m=_}=n;if(!(e instanceof w.MarkdownParser))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let a=n.extensions?[n.extensions]:[],l=[m.support,W],s;f&&l.push(G),o instanceof c.LanguageSupport?(l.push(o.support),s=o.language):o&&(s=o);let u=r||s?te(r,s):void 0;a.push(w.parseCode({codeParser:u,htmlParser:m.language.parser})),t&&l.push(h.Prec.high(q.keymap.of(z)));let g=E(e.configure(a));return i&&l.push(g.data.of({autocomplete:ie})),new c.LanguageSupport(g,l)}function ie(n){let{state:r,pos:o}=n,t=/<[:\-\.\w\u00b7-\uffff]*$/.exec(r.sliceDoc(o-25,o));if(!t)return null;let e=c.syntaxTree(r).resolveInner(o,-1);for(;e&&!e.type.isTop;){if(e.name=="CodeBlock"||e.name=="FencedCode"||e.name=="ProcessingInstructionBlock"||e.name=="CommentBlock"||e.name=="Link"||e.name=="Image")return null;e=e.parent}return{from:o-t[0].length,to:o,options:le(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let T=null;function le(){if(T)return T;let n=D.htmlCompletionSource(new Q.CompletionContext(h.EditorState.create({extensions:_}),0,!0));return T=n?n.options:[]}const se=/code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i,G=q.EditorView.domEventHandlers({paste:(n,r)=>{var o;let{main:t}=r.state.selection;if(t.empty)return!1;let e=(o=n.clipboardData)===null||o===void 0?void 0:o.getData("text/plain");if(!e||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(e)||(/^www\./.test(e)&&(e="https://"+e),!A.isActiveAt(r.state,t.from,1)))return!1;let i=c.syntaxTree(r.state),f=!1;return i.iterate({from:t.from,to:t.to,enter:m=>{(m.from>t.from||se.test(m.name))&&(f=!0)},leave:m=>{m.to<t.to&&(f=!0)}}),f?!1:(r.dispatch({changes:[{from:t.from,insert:"["},{from:t.to,insert:`](${e})`}],userEvent:"input.paste",scrollIntoView:!0}),!0)}});exports.commonmarkLanguage=U;exports.deleteMarkupBackward=j;exports.insertNewlineContinueMarkup=X;exports.insertNewlineContinueMarkupCommand=K;exports.markdown=oe;exports.markdownKeymap=z;exports.markdownLanguage=A;exports.pasteURLAsLink=G;
2
2
  //# sourceMappingURL=index.cjs.map