@loopstack/loopstack-studio 0.25.1 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1691) hide show
  1. package/dist/_virtual/rolldown_runtime.js +20 -0
  2. package/dist/api/auth.js +2 -4
  3. package/dist/api/client.js +7 -9
  4. package/dist/api/config.js +2 -4
  5. package/dist/api/dashboard.js +2 -4
  6. package/dist/api/documents.js +2 -4
  7. package/dist/api/environments.js +4 -0
  8. package/dist/api/index.js +23 -21
  9. package/dist/api/processor.js +2 -4
  10. package/dist/api/secrets.js +2 -4
  11. package/dist/api/workflows.js +2 -4
  12. package/dist/api/workspaces.js +2 -4
  13. package/dist/app/EnvironmentEmbedRoot.js +41 -24
  14. package/dist/components/ai-elements/code-block.js +71 -53
  15. package/dist/components/ai-elements/message.js +82 -41
  16. package/dist/components/ai-elements/prompt-input.js +253 -162
  17. package/dist/components/ai-elements/reasoning.js +116 -78
  18. package/dist/components/ai-elements/shimmer.js +35 -23
  19. package/dist/components/ai-elements/sources.js +58 -29
  20. package/dist/components/data-table/ConfirmDialog.js +30 -14
  21. package/dist/components/data-table/DataList.js +200 -138
  22. package/dist/components/data-table/DataTable.js +236 -168
  23. package/dist/components/data-table/DataTableBatchAction.js +27 -18
  24. package/dist/components/data-table/DataTableFilters.js +78 -53
  25. package/dist/components/data-table/DataTablePagination.js +104 -72
  26. package/dist/components/data-table/DataTableToolbar.js +65 -53
  27. package/dist/components/dynamic-form/ArrayController.js +103 -85
  28. package/dist/components/dynamic-form/CodeContent.js +36 -28
  29. package/dist/components/dynamic-form/Form.js +56 -43
  30. package/dist/components/dynamic-form/FormBody.js +10 -12
  31. package/dist/components/dynamic-form/FormElement.js +41 -31
  32. package/dist/components/dynamic-form/FormElementHeader.js +20 -12
  33. package/dist/components/dynamic-form/InputController.js +38 -36
  34. package/dist/components/dynamic-form/MarkdownContent.js +74 -53
  35. package/dist/components/dynamic-form/MermaidDiagram.js +24 -22
  36. package/dist/components/dynamic-form/ObjectController.js +32 -24
  37. package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -35
  38. package/dist/components/dynamic-form/fields/CheckboxField.js +48 -39
  39. package/dist/components/dynamic-form/fields/CodeViewField.js +50 -42
  40. package/dist/components/dynamic-form/fields/InputField.js +90 -62
  41. package/dist/components/dynamic-form/fields/MarkdownViewField.js +19 -16
  42. package/dist/components/dynamic-form/fields/RadioField.js +62 -46
  43. package/dist/components/dynamic-form/fields/SelectField.js +58 -40
  44. package/dist/components/dynamic-form/fields/SliderField.js +100 -94
  45. package/dist/components/dynamic-form/fields/SwitchField.js +61 -42
  46. package/dist/components/dynamic-form/fields/TextareaField.js +72 -53
  47. package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +2 -4
  48. package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +5 -6
  49. package/dist/components/dynamic-form/hooks/useFieldConfig.js +20 -19
  50. package/dist/components/dynamic-form/hooks/useMergeParentKey.js +2 -4
  51. package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +2 -4
  52. package/dist/components/feedback/ErrorAlert.js +17 -11
  53. package/dist/components/feedback/ErrorBoundary.js +14 -16
  54. package/dist/components/feedback/ErrorSnackbar.js +30 -13
  55. package/dist/components/feedback/LoadingCentered.js +28 -15
  56. package/dist/components/feedback/Snackbar.js +44 -43
  57. package/dist/components/feedback/index.js +5 -5
  58. package/dist/components/index.js +47 -47
  59. package/dist/components/layout/MainLayout.js +25 -17
  60. package/dist/components/layout/StudioSidebar.js +203 -140
  61. package/dist/components/lists/CustomListView.js +74 -49
  62. package/dist/components/lists/ListView.js +102 -66
  63. package/dist/components/loopstack-elements/link.js +104 -65
  64. package/dist/components/loopstack-elements/tool.js +142 -70
  65. package/dist/components/messages/CompletionMessagePaper.js +85 -53
  66. package/dist/components/page/PageBreadcrumbs.js +83 -64
  67. package/dist/components/ui/DiscordLogo.js +22 -16
  68. package/dist/components/ui/GoogleLogo.js +44 -40
  69. package/dist/components/ui/accordion.js +52 -31
  70. package/dist/components/ui/alert-dialog.js +109 -59
  71. package/dist/components/ui/alert.js +36 -22
  72. package/dist/components/ui/avatar.js +35 -21
  73. package/dist/components/ui/badge.js +17 -13
  74. package/dist/components/ui/breadcrumb.js +82 -46
  75. package/dist/components/ui/button-group.js +5 -5
  76. package/dist/components/ui/button.js +21 -17
  77. package/dist/components/ui/card.js +74 -40
  78. package/dist/components/ui/checkbox.js +23 -17
  79. package/dist/components/ui/collapsible.js +25 -17
  80. package/dist/components/ui/command.js +2 -1
  81. package/dist/components/ui/context-menu.js +52 -32
  82. package/dist/components/ui/dialog.js +107 -62
  83. package/dist/components/ui/drawer.js +99 -54
  84. package/dist/components/ui/dropdown-menu.js +159 -91
  85. package/dist/components/ui/hover-card.js +2 -1
  86. package/dist/components/ui/input-group.js +56 -36
  87. package/dist/components/ui/input.js +15 -11
  88. package/dist/components/ui/label.js +15 -11
  89. package/dist/components/ui/popover.js +38 -25
  90. package/dist/components/ui/radio-group.js +33 -22
  91. package/dist/components/ui/scroll-area.js +43 -28
  92. package/dist/components/ui/select.js +134 -73
  93. package/dist/components/ui/separator.js +17 -13
  94. package/dist/components/ui/sheet.js +105 -60
  95. package/dist/components/ui/sidebar.js +451 -269
  96. package/dist/components/ui/skeleton.js +14 -10
  97. package/dist/components/ui/slider.js +41 -32
  98. package/dist/components/ui/switch.js +21 -15
  99. package/dist/components/ui/table.js +85 -46
  100. package/dist/components/ui/tabs.js +45 -26
  101. package/dist/components/ui/textarea.js +14 -10
  102. package/dist/components/ui/tooltip.js +41 -26
  103. package/dist/components/ui-widgets/UiActions.js +37 -30
  104. package/dist/components/ui-widgets/UiWidget.js +46 -34
  105. package/dist/components/ui-widgets/widgets/AiPromptInput.js +42 -28
  106. package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +21 -16
  107. package/dist/components/ui-widgets/widgets/SandboxRun.js +28 -19
  108. package/dist/components/ui-widgets/widgets/SubmitButton.js +20 -15
  109. package/dist/events/api-client-events.js +2 -4
  110. package/dist/events/sse-client-events.js +2 -4
  111. package/dist/features/code-explorer/CodeExplorer.js +2 -1
  112. package/dist/features/code-explorer/components/CodeExplorerTree.js +3 -2
  113. package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +29 -31
  114. package/dist/features/code-explorer/components/FileContentViewer.js +148 -108
  115. package/dist/features/code-explorer/components/FileTabsBar.js +2 -1
  116. package/dist/features/code-explorer/components/FileTabsBarBase.js +169 -134
  117. package/dist/features/code-explorer/index.js +1 -1
  118. package/dist/features/code-explorer/providers/CodeExplorerProvider.js +4 -4
  119. package/dist/features/code-explorer/utils/fileIcons.js +39 -41
  120. package/dist/features/dashboard/Dashboard.js +121 -79
  121. package/dist/features/dashboard/RunItem.js +70 -50
  122. package/dist/features/dashboard/RunList.js +28 -17
  123. package/dist/features/debug/components/ConfigFlowViewer.js +67 -49
  124. package/dist/features/debug/components/WorkflowDebugHeader.js +46 -30
  125. package/dist/features/debug/components/WorkflowDebugLegend.js +68 -56
  126. package/dist/features/debug/components/WorkflowFlowViewer.js +96 -76
  127. package/dist/features/debug/components/workflow-flow/StateNode.js +102 -73
  128. package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +40 -35
  129. package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +94 -61
  130. package/dist/features/debug/index.js +3 -3
  131. package/dist/features/debug/lib/edge-paths.js +31 -33
  132. package/dist/features/debug/lib/flow-utils.js +145 -147
  133. package/dist/features/documents/DocumentRenderer.js +73 -68
  134. package/dist/features/documents/components/DocumentItem.js +24 -21
  135. package/dist/features/documents/components/DocumentList.js +45 -39
  136. package/dist/features/documents/components/DocumentMetadataPills.js +59 -44
  137. package/dist/features/documents/document-details/DocumentDetails.js +413 -298
  138. package/dist/features/documents/document-details/PromptDetails.js +142 -105
  139. package/dist/features/documents/index.js +4 -4
  140. package/dist/features/documents/renderers/AiMessage.js +48 -39
  141. package/dist/features/documents/renderers/AiMessageContent.js +164 -108
  142. package/dist/features/documents/renderers/ChoicesRenderer.js +89 -77
  143. package/dist/features/documents/renderers/ClaudeMessage.js +91 -74
  144. package/dist/features/documents/renderers/ConfirmPromptRenderer.js +53 -44
  145. package/dist/features/documents/renderers/DocumentDebugRenderer.js +30 -26
  146. package/dist/features/documents/renderers/DocumentFormRenderer.js +85 -69
  147. package/dist/features/documents/renderers/DocumentMessageRenderer.js +9 -10
  148. package/dist/features/documents/renderers/ErrorMessageRenderer.js +13 -11
  149. package/dist/features/documents/renderers/LinkMessageRenderer.js +14 -15
  150. package/dist/features/documents/renderers/MarkdownMessageRenderer.js +10 -8
  151. package/dist/features/documents/renderers/PlainMessageRenderer.js +9 -7
  152. package/dist/features/documents/renderers/TextPromptRenderer.js +54 -45
  153. package/dist/features/documents/renderers/useDocumentTransition.js +33 -30
  154. package/dist/features/feature-registry/FeatureRegistryProvider.js +17 -0
  155. package/dist/features/feature-registry/index.js +1 -0
  156. package/dist/features/file-explorer/api/files.js +7 -0
  157. package/dist/features/file-explorer/components/FileExplorerPanel.js +95 -0
  158. package/dist/features/file-explorer/components/FileTabsBar.js +18 -0
  159. package/dist/features/file-explorer/components/FileTree.js +90 -0
  160. package/dist/features/file-explorer/file-explorer-feature.js +12 -0
  161. package/dist/features/file-explorer/hooks/useFileExplorer.js +44 -0
  162. package/dist/features/file-explorer/index.js +2 -0
  163. package/dist/features/file-explorer/providers/FileExplorerProvider.js +112 -0
  164. package/dist/features/health/LocalHealthCheck.js +53 -54
  165. package/dist/features/health/index.js +1 -1
  166. package/dist/features/oauth/OAuthCallbackPage.js +2 -2
  167. package/dist/features/oauth/OAuthPromptRenderer.js +235 -156
  168. package/dist/features/oauth/index.js +2 -2
  169. package/dist/features/oauth/useOAuthPopup.js +71 -52
  170. package/dist/features/runs/Runs.js +187 -145
  171. package/dist/features/secrets/components/WorkbenchSecretsPanel.js +178 -0
  172. package/dist/features/secrets/index.js +1 -0
  173. package/dist/features/secrets/renderers/SecretInputRenderer.js +87 -0
  174. package/dist/features/secrets/secrets-feature.js +14 -0
  175. package/dist/features/workbench/Workbench.js +50 -74
  176. package/dist/features/workbench/WorkflowItem.js +68 -49
  177. package/dist/features/workbench/WorkflowList.js +127 -49
  178. package/dist/features/workbench/components/NewRunDialog.js +309 -212
  179. package/dist/features/workbench/components/SidebarPanel.js +155 -0
  180. package/dist/features/workbench/components/WorkbenchEnvironmentPanel.js +82 -0
  181. package/dist/features/workbench/components/WorkbenchIconSidebar.js +137 -51
  182. package/dist/features/workbench/components/WorkbenchPreviewPanel.js +134 -123
  183. package/dist/features/workbench/components/WorkbenchRunsPanel.js +32 -0
  184. package/dist/features/workbench/components/WorkbenchSettingsModal.js +60 -49
  185. package/dist/features/workbench/components/WorkbenchSidebarShell.js +80 -0
  186. package/dist/features/workbench/components/WorkflowForms.js +23 -17
  187. package/dist/features/workbench/components/WorkflowHistoryItem.js +122 -96
  188. package/dist/features/workbench/components/WorkflowHistoryList.js +54 -31
  189. package/dist/features/workbench/components/buttons/WorkflowButtons.js +99 -70
  190. package/dist/features/workbench/hooks/useAutoScrollBottom.js +25 -21
  191. package/dist/features/workbench/hooks/useScrollToListItem.js +21 -20
  192. package/dist/features/workbench/hooks/useWorkflowData.js +44 -31
  193. package/dist/features/workbench/hooks/useWorkflowListState.js +12 -13
  194. package/dist/features/workbench/index.js +8 -7
  195. package/dist/features/workbench/providers/ScrollProvider.js +19 -15
  196. package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +75 -78
  197. package/dist/features/workspaces/Workspaces.js +226 -161
  198. package/dist/features/workspaces/components/CreateWorkspace.js +194 -137
  199. package/dist/features/workspaces/components/EnvironmentSlotSelector.js +75 -60
  200. package/dist/features/workspaces/components/ExecutionTimeline.js +185 -143
  201. package/dist/features/workspaces/components/NewWorkflowRunDialog.js +26 -18
  202. package/dist/features/workspaces/components/WorkflowRunForm.js +133 -85
  203. package/dist/features/workspaces/components/WorkspaceHomePage.js +81 -60
  204. package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +69 -52
  205. package/dist/features/workspaces/components/workflow-form/HeaderSection.js +41 -27
  206. package/dist/features/workspaces/components/workflow-form/SelectionView.js +103 -64
  207. package/dist/features/workspaces/index.js +3 -3
  208. package/dist/frontend/studio/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1968 -0
  209. package/dist/hooks/index.js +6 -6
  210. package/dist/hooks/query-keys.js +31 -33
  211. package/dist/hooks/use-mobile.js +11 -12
  212. package/dist/hooks/useApi.js +14 -16
  213. package/dist/hooks/useAuth.js +53 -38
  214. package/dist/hooks/useConfig.js +37 -26
  215. package/dist/hooks/useDashboard.js +15 -12
  216. package/dist/hooks/useDebounce.js +11 -12
  217. package/dist/hooks/useDocuments.js +35 -23
  218. package/dist/hooks/useEnvironmentPreviewUrl.js +13 -0
  219. package/dist/hooks/useEnvironments.js +8 -0
  220. package/dist/hooks/useFiles.js +2 -1
  221. package/dist/hooks/useProcessor.js +17 -14
  222. package/dist/hooks/useSecrets.js +64 -45
  223. package/dist/hooks/useWorkflows.js +163 -109
  224. package/dist/hooks/useWorkspaces.js +125 -83
  225. package/dist/index.d.ts +1395 -0
  226. package/dist/index.js +87 -80
  227. package/dist/lib/requireParam.js +2 -4
  228. package/dist/lib/utils.js +5 -7
  229. package/dist/loopstack-studio.css +1 -1
  230. package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +4 -6
  231. package/dist/node_modules/@braintree/sanitize-url/dist/index.js +6 -8
  232. package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +17 -19
  233. package/dist/node_modules/@chevrotain/gast/lib/src/model.js +71 -73
  234. package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +13 -16
  235. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -2
  236. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +2 -4
  237. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +34 -36
  238. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +110 -138
  239. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +11 -13
  240. package/dist/node_modules/@chevrotain/utils/lib/src/print.js +3 -5
  241. package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +2 -4
  242. package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +2 -4
  243. package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +6 -8
  244. package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +8 -10
  245. package/dist/node_modules/@iconify/utils/lib/icon/merge.js +6 -8
  246. package/dist/node_modules/@iconify/utils/lib/icon/name.js +6 -8
  247. package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +2 -4
  248. package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +10 -12
  249. package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +2 -4
  250. package/dist/node_modules/@iconify/utils/lib/svg/build.js +18 -20
  251. package/dist/node_modules/@iconify/utils/lib/svg/defs.js +6 -8
  252. package/dist/node_modules/@iconify/utils/lib/svg/html.js +2 -4
  253. package/dist/node_modules/@iconify/utils/lib/svg/id.js +8 -10
  254. package/dist/node_modules/@iconify/utils/lib/svg/size.js +5 -7
  255. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +2 -2
  256. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +17 -20
  257. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +17 -20
  258. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +23 -28
  259. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +21 -26
  260. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +17 -20
  261. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +17 -20
  262. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +425 -436
  263. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +17 -20
  264. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +38 -45
  265. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +22 -27
  266. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +2 -2
  267. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +2 -2
  268. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +2 -2
  269. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +2 -2
  270. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +2 -2
  271. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +2 -2
  272. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +2 -2
  273. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +2 -2
  274. package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +52 -56
  275. package/dist/node_modules/@shikijs/core/dist/index.js +575 -577
  276. package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +157 -159
  277. package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +2 -4
  278. package/dist/node_modules/@shikijs/langs/dist/abap.js +2 -3
  279. package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +2 -3
  280. package/dist/node_modules/@shikijs/langs/dist/ada.js +2 -3
  281. package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +2 -3
  282. package/dist/node_modules/@shikijs/langs/dist/angular-html.js +13 -15
  283. package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +3 -5
  284. package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +7 -9
  285. package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +3 -5
  286. package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +7 -9
  287. package/dist/node_modules/@shikijs/langs/dist/angular-template.js +3 -5
  288. package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +15 -17
  289. package/dist/node_modules/@shikijs/langs/dist/apache.js +2 -3
  290. package/dist/node_modules/@shikijs/langs/dist/apex.js +2 -3
  291. package/dist/node_modules/@shikijs/langs/dist/apl.js +13 -15
  292. package/dist/node_modules/@shikijs/langs/dist/applescript.js +2 -3
  293. package/dist/node_modules/@shikijs/langs/dist/ara.js +2 -3
  294. package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -3
  295. package/dist/node_modules/@shikijs/langs/dist/asm.js +2 -3
  296. package/dist/node_modules/@shikijs/langs/dist/astro.js +15 -17
  297. package/dist/node_modules/@shikijs/langs/dist/awk.js +2 -3
  298. package/dist/node_modules/@shikijs/langs/dist/ballerina.js +2 -3
  299. package/dist/node_modules/@shikijs/langs/dist/bat.js +2 -3
  300. package/dist/node_modules/@shikijs/langs/dist/beancount.js +2 -3
  301. package/dist/node_modules/@shikijs/langs/dist/berry.js +2 -3
  302. package/dist/node_modules/@shikijs/langs/dist/bibtex.js +2 -3
  303. package/dist/node_modules/@shikijs/langs/dist/bicep.js +2 -3
  304. package/dist/node_modules/@shikijs/langs/dist/bird2.js +2 -3
  305. package/dist/node_modules/@shikijs/langs/dist/blade.js +17 -19
  306. package/dist/node_modules/@shikijs/langs/dist/bsl.js +3 -5
  307. package/dist/node_modules/@shikijs/langs/dist/c.js +2 -3
  308. package/dist/node_modules/@shikijs/langs/dist/c3.js +2 -3
  309. package/dist/node_modules/@shikijs/langs/dist/cadence.js +2 -3
  310. package/dist/node_modules/@shikijs/langs/dist/cairo.js +3 -5
  311. package/dist/node_modules/@shikijs/langs/dist/clarity.js +2 -3
  312. package/dist/node_modules/@shikijs/langs/dist/clojure.js +2 -3
  313. package/dist/node_modules/@shikijs/langs/dist/cmake.js +2 -3
  314. package/dist/node_modules/@shikijs/langs/dist/cobol.js +7 -9
  315. package/dist/node_modules/@shikijs/langs/dist/codeowners.js +2 -3
  316. package/dist/node_modules/@shikijs/langs/dist/codeql.js +2 -3
  317. package/dist/node_modules/@shikijs/langs/dist/coffee.js +3 -5
  318. package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +2 -3
  319. package/dist/node_modules/@shikijs/langs/dist/coq.js +2 -3
  320. package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +9 -11
  321. package/dist/node_modules/@shikijs/langs/dist/cpp.js +11 -13
  322. package/dist/node_modules/@shikijs/langs/dist/crystal.js +15 -17
  323. package/dist/node_modules/@shikijs/langs/dist/csharp.js +2 -3
  324. package/dist/node_modules/@shikijs/langs/dist/css.js +2 -3
  325. package/dist/node_modules/@shikijs/langs/dist/csv.js +2 -3
  326. package/dist/node_modules/@shikijs/langs/dist/cue.js +2 -3
  327. package/dist/node_modules/@shikijs/langs/dist/cypher.js +2 -3
  328. package/dist/node_modules/@shikijs/langs/dist/d.js +2 -3
  329. package/dist/node_modules/@shikijs/langs/dist/dart.js +2 -3
  330. package/dist/node_modules/@shikijs/langs/dist/dax.js +2 -3
  331. package/dist/node_modules/@shikijs/langs/dist/desktop.js +2 -3
  332. package/dist/node_modules/@shikijs/langs/dist/diff.js +2 -3
  333. package/dist/node_modules/@shikijs/langs/dist/docker.js +2 -3
  334. package/dist/node_modules/@shikijs/langs/dist/dotenv.js +2 -3
  335. package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +2 -3
  336. package/dist/node_modules/@shikijs/langs/dist/edge.js +9 -11
  337. package/dist/node_modules/@shikijs/langs/dist/elixir.js +3 -5
  338. package/dist/node_modules/@shikijs/langs/dist/elm.js +3 -5
  339. package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +2 -3
  340. package/dist/node_modules/@shikijs/langs/dist/erb.js +7 -9
  341. package/dist/node_modules/@shikijs/langs/dist/erlang.js +3 -5
  342. package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +9 -11
  343. package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +9 -11
  344. package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +9 -11
  345. package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +7 -9
  346. package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +3 -5
  347. package/dist/node_modules/@shikijs/langs/dist/fennel.js +2 -3
  348. package/dist/node_modules/@shikijs/langs/dist/fish.js +2 -3
  349. package/dist/node_modules/@shikijs/langs/dist/fluent.js +2 -3
  350. package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +3 -5
  351. package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +2 -3
  352. package/dist/node_modules/@shikijs/langs/dist/fsharp.js +3 -5
  353. package/dist/node_modules/@shikijs/langs/dist/gdresource.js +7 -9
  354. package/dist/node_modules/@shikijs/langs/dist/gdscript.js +2 -3
  355. package/dist/node_modules/@shikijs/langs/dist/gdshader.js +2 -3
  356. package/dist/node_modules/@shikijs/langs/dist/genie.js +2 -3
  357. package/dist/node_modules/@shikijs/langs/dist/gherkin.js +2 -3
  358. package/dist/node_modules/@shikijs/langs/dist/git-commit.js +3 -5
  359. package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +3 -5
  360. package/dist/node_modules/@shikijs/langs/dist/gleam.js +2 -3
  361. package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +11 -13
  362. package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +11 -13
  363. package/dist/node_modules/@shikijs/langs/dist/glsl.js +3 -5
  364. package/dist/node_modules/@shikijs/langs/dist/gn.js +2 -3
  365. package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +2 -3
  366. package/dist/node_modules/@shikijs/langs/dist/go.js +2 -3
  367. package/dist/node_modules/@shikijs/langs/dist/graphql.js +11 -13
  368. package/dist/node_modules/@shikijs/langs/dist/groovy.js +2 -3
  369. package/dist/node_modules/@shikijs/langs/dist/hack.js +7 -9
  370. package/dist/node_modules/@shikijs/langs/dist/haml.js +7 -9
  371. package/dist/node_modules/@shikijs/langs/dist/handlebars.js +11 -13
  372. package/dist/node_modules/@shikijs/langs/dist/haskell.js +2 -3
  373. package/dist/node_modules/@shikijs/langs/dist/haxe.js +2 -3
  374. package/dist/node_modules/@shikijs/langs/dist/hcl.js +2 -3
  375. package/dist/node_modules/@shikijs/langs/dist/hjson.js +2 -3
  376. package/dist/node_modules/@shikijs/langs/dist/hlsl.js +2 -3
  377. package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +3 -5
  378. package/dist/node_modules/@shikijs/langs/dist/html.js +7 -9
  379. package/dist/node_modules/@shikijs/langs/dist/http.js +11 -13
  380. package/dist/node_modules/@shikijs/langs/dist/hurl.js +9 -11
  381. package/dist/node_modules/@shikijs/langs/dist/hxml.js +3 -5
  382. package/dist/node_modules/@shikijs/langs/dist/hy.js +2 -3
  383. package/dist/node_modules/@shikijs/langs/dist/imba.js +2 -3
  384. package/dist/node_modules/@shikijs/langs/dist/ini.js +2 -3
  385. package/dist/node_modules/@shikijs/langs/dist/java.js +2 -3
  386. package/dist/node_modules/@shikijs/langs/dist/javascript.js +2 -3
  387. package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +3 -5
  388. package/dist/node_modules/@shikijs/langs/dist/jinja.js +3 -5
  389. package/dist/node_modules/@shikijs/langs/dist/jison.js +3 -5
  390. package/dist/node_modules/@shikijs/langs/dist/json.js +2 -3
  391. package/dist/node_modules/@shikijs/langs/dist/json5.js +2 -3
  392. package/dist/node_modules/@shikijs/langs/dist/jsonc.js +2 -3
  393. package/dist/node_modules/@shikijs/langs/dist/jsonl.js +2 -3
  394. package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +2 -3
  395. package/dist/node_modules/@shikijs/langs/dist/jssm.js +2 -3
  396. package/dist/node_modules/@shikijs/langs/dist/jsx.js +2 -3
  397. package/dist/node_modules/@shikijs/langs/dist/julia.js +13 -15
  398. package/dist/node_modules/@shikijs/langs/dist/just.js +15 -17
  399. package/dist/node_modules/@shikijs/langs/dist/kdl.js +2 -3
  400. package/dist/node_modules/@shikijs/langs/dist/kotlin.js +2 -3
  401. package/dist/node_modules/@shikijs/langs/dist/kusto.js +2 -3
  402. package/dist/node_modules/@shikijs/langs/dist/latex.js +3 -5
  403. package/dist/node_modules/@shikijs/langs/dist/lean.js +2 -3
  404. package/dist/node_modules/@shikijs/langs/dist/less.js +2 -3
  405. package/dist/node_modules/@shikijs/langs/dist/liquid.js +11 -13
  406. package/dist/node_modules/@shikijs/langs/dist/llvm.js +2 -3
  407. package/dist/node_modules/@shikijs/langs/dist/log.js +2 -3
  408. package/dist/node_modules/@shikijs/langs/dist/logo.js +2 -3
  409. package/dist/node_modules/@shikijs/langs/dist/lua.js +3 -5
  410. package/dist/node_modules/@shikijs/langs/dist/luau.js +2 -3
  411. package/dist/node_modules/@shikijs/langs/dist/make.js +2 -3
  412. package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +2 -3
  413. package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +2 -3
  414. package/dist/node_modules/@shikijs/langs/dist/markdown.js +2 -3
  415. package/dist/node_modules/@shikijs/langs/dist/marko.js +11 -13
  416. package/dist/node_modules/@shikijs/langs/dist/matlab.js +2 -3
  417. package/dist/node_modules/@shikijs/langs/dist/mdc.js +9 -11
  418. package/dist/node_modules/@shikijs/langs/dist/mdx.js +2 -3
  419. package/dist/node_modules/@shikijs/langs/dist/mermaid.js +2 -3
  420. package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +2 -3
  421. package/dist/node_modules/@shikijs/langs/dist/mojo.js +2 -3
  422. package/dist/node_modules/@shikijs/langs/dist/moonbit.js +2 -3
  423. package/dist/node_modules/@shikijs/langs/dist/move.js +2 -3
  424. package/dist/node_modules/@shikijs/langs/dist/narrat.js +2 -3
  425. package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +2 -3
  426. package/dist/node_modules/@shikijs/langs/dist/nextflow.js +3 -5
  427. package/dist/node_modules/@shikijs/langs/dist/nginx.js +3 -5
  428. package/dist/node_modules/@shikijs/langs/dist/nim.js +17 -19
  429. package/dist/node_modules/@shikijs/langs/dist/nix.js +3 -5
  430. package/dist/node_modules/@shikijs/langs/dist/nushell.js +2 -3
  431. package/dist/node_modules/@shikijs/langs/dist/objective-c.js +2 -3
  432. package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +2 -3
  433. package/dist/node_modules/@shikijs/langs/dist/ocaml.js +2 -3
  434. package/dist/node_modules/@shikijs/langs/dist/odin.js +2 -3
  435. package/dist/node_modules/@shikijs/langs/dist/openscad.js +2 -3
  436. package/dist/node_modules/@shikijs/langs/dist/pascal.js +2 -3
  437. package/dist/node_modules/@shikijs/langs/dist/perl.js +13 -15
  438. package/dist/node_modules/@shikijs/langs/dist/php.js +15 -17
  439. package/dist/node_modules/@shikijs/langs/dist/pkl.js +2 -3
  440. package/dist/node_modules/@shikijs/langs/dist/plsql.js +2 -3
  441. package/dist/node_modules/@shikijs/langs/dist/po.js +2 -3
  442. package/dist/node_modules/@shikijs/langs/dist/polar.js +2 -3
  443. package/dist/node_modules/@shikijs/langs/dist/postcss.js +2 -3
  444. package/dist/node_modules/@shikijs/langs/dist/powerquery.js +2 -3
  445. package/dist/node_modules/@shikijs/langs/dist/powershell.js +2 -3
  446. package/dist/node_modules/@shikijs/langs/dist/prisma.js +2 -3
  447. package/dist/node_modules/@shikijs/langs/dist/prolog.js +2 -3
  448. package/dist/node_modules/@shikijs/langs/dist/proto.js +2 -3
  449. package/dist/node_modules/@shikijs/langs/dist/pug.js +9 -11
  450. package/dist/node_modules/@shikijs/langs/dist/puppet.js +2 -3
  451. package/dist/node_modules/@shikijs/langs/dist/purescript.js +2 -3
  452. package/dist/node_modules/@shikijs/langs/dist/python.js +2 -3
  453. package/dist/node_modules/@shikijs/langs/dist/qml.js +3 -5
  454. package/dist/node_modules/@shikijs/langs/dist/qmldir.js +2 -3
  455. package/dist/node_modules/@shikijs/langs/dist/qss.js +2 -3
  456. package/dist/node_modules/@shikijs/langs/dist/r.js +2 -3
  457. package/dist/node_modules/@shikijs/langs/dist/racket.js +2 -3
  458. package/dist/node_modules/@shikijs/langs/dist/raku.js +2 -3
  459. package/dist/node_modules/@shikijs/langs/dist/razor.js +7 -9
  460. package/dist/node_modules/@shikijs/langs/dist/reg.js +2 -3
  461. package/dist/node_modules/@shikijs/langs/dist/regexp.js +2 -3
  462. package/dist/node_modules/@shikijs/langs/dist/rel.js +2 -3
  463. package/dist/node_modules/@shikijs/langs/dist/riscv.js +2 -3
  464. package/dist/node_modules/@shikijs/langs/dist/ron.js +2 -3
  465. package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +2 -3
  466. package/dist/node_modules/@shikijs/langs/dist/rst.js +19 -21
  467. package/dist/node_modules/@shikijs/langs/dist/ruby.js +27 -29
  468. package/dist/node_modules/@shikijs/langs/dist/rust.js +2 -3
  469. package/dist/node_modules/@shikijs/langs/dist/sas.js +3 -5
  470. package/dist/node_modules/@shikijs/langs/dist/sass.js +2 -3
  471. package/dist/node_modules/@shikijs/langs/dist/scala.js +2 -3
  472. package/dist/node_modules/@shikijs/langs/dist/scheme.js +2 -3
  473. package/dist/node_modules/@shikijs/langs/dist/scss.js +3 -5
  474. package/dist/node_modules/@shikijs/langs/dist/sdbl.js +2 -3
  475. package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +3 -5
  476. package/dist/node_modules/@shikijs/langs/dist/shellscript.js +2 -3
  477. package/dist/node_modules/@shikijs/langs/dist/shellsession.js +3 -5
  478. package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +2 -3
  479. package/dist/node_modules/@shikijs/langs/dist/solidity.js +2 -3
  480. package/dist/node_modules/@shikijs/langs/dist/soy.js +3 -5
  481. package/dist/node_modules/@shikijs/langs/dist/sparql.js +3 -5
  482. package/dist/node_modules/@shikijs/langs/dist/splunk.js +2 -3
  483. package/dist/node_modules/@shikijs/langs/dist/sql.js +2 -3
  484. package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +2 -3
  485. package/dist/node_modules/@shikijs/langs/dist/stata.js +3 -5
  486. package/dist/node_modules/@shikijs/langs/dist/stylus.js +2 -3
  487. package/dist/node_modules/@shikijs/langs/dist/surrealql.js +3 -5
  488. package/dist/node_modules/@shikijs/langs/dist/svelte.js +11 -13
  489. package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -3
  490. package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +2 -3
  491. package/dist/node_modules/@shikijs/langs/dist/systemd.js +2 -3
  492. package/dist/node_modules/@shikijs/langs/dist/talonscript.js +2 -3
  493. package/dist/node_modules/@shikijs/langs/dist/tasl.js +2 -3
  494. package/dist/node_modules/@shikijs/langs/dist/tcl.js +2 -3
  495. package/dist/node_modules/@shikijs/langs/dist/templ.js +9 -11
  496. package/dist/node_modules/@shikijs/langs/dist/terraform.js +2 -3
  497. package/dist/node_modules/@shikijs/langs/dist/tex.js +3 -5
  498. package/dist/node_modules/@shikijs/langs/dist/toml.js +2 -3
  499. package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +15 -17
  500. package/dist/node_modules/@shikijs/langs/dist/tsv.js +2 -3
  501. package/dist/node_modules/@shikijs/langs/dist/tsx.js +2 -3
  502. package/dist/node_modules/@shikijs/langs/dist/turtle.js +2 -3
  503. package/dist/node_modules/@shikijs/langs/dist/twig.js +15 -17
  504. package/dist/node_modules/@shikijs/langs/dist/typescript.js +2 -3
  505. package/dist/node_modules/@shikijs/langs/dist/typespec.js +2 -3
  506. package/dist/node_modules/@shikijs/langs/dist/typst.js +2 -3
  507. package/dist/node_modules/@shikijs/langs/dist/v.js +2 -3
  508. package/dist/node_modules/@shikijs/langs/dist/vala.js +2 -3
  509. package/dist/node_modules/@shikijs/langs/dist/vb.js +2 -3
  510. package/dist/node_modules/@shikijs/langs/dist/verilog.js +2 -3
  511. package/dist/node_modules/@shikijs/langs/dist/vhdl.js +2 -3
  512. package/dist/node_modules/@shikijs/langs/dist/viml.js +2 -3
  513. package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +2 -3
  514. package/dist/node_modules/@shikijs/langs/dist/vue-html.js +3 -5
  515. package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +2 -3
  516. package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +3 -5
  517. package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +15 -17
  518. package/dist/node_modules/@shikijs/langs/dist/vue.js +23 -25
  519. package/dist/node_modules/@shikijs/langs/dist/vyper.js +2 -3
  520. package/dist/node_modules/@shikijs/langs/dist/wasm.js +2 -3
  521. package/dist/node_modules/@shikijs/langs/dist/wenyan.js +2 -3
  522. package/dist/node_modules/@shikijs/langs/dist/wgsl.js +2 -3
  523. package/dist/node_modules/@shikijs/langs/dist/wikitext.js +2 -3
  524. package/dist/node_modules/@shikijs/langs/dist/wit.js +2 -3
  525. package/dist/node_modules/@shikijs/langs/dist/wolfram.js +2 -3
  526. package/dist/node_modules/@shikijs/langs/dist/xml.js +3 -5
  527. package/dist/node_modules/@shikijs/langs/dist/xsl.js +3 -5
  528. package/dist/node_modules/@shikijs/langs/dist/yaml.js +2 -3
  529. package/dist/node_modules/@shikijs/langs/dist/zenscript.js +2 -3
  530. package/dist/node_modules/@shikijs/langs/dist/zig.js +2 -3
  531. package/dist/node_modules/@shikijs/primitive/dist/index.js +319 -321
  532. package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +2 -4
  533. package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +2 -4
  534. package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +2 -4
  535. package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +2 -4
  536. package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +2 -4
  537. package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +2 -4
  538. package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +2 -4
  539. package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +2 -4
  540. package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +2 -4
  541. package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +2 -4
  542. package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +2 -4
  543. package/dist/node_modules/@shikijs/themes/dist/dracula.js +2 -4
  544. package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +2 -4
  545. package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +2 -4
  546. package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +2 -4
  547. package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +2 -4
  548. package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +2 -4
  549. package/dist/node_modules/@shikijs/themes/dist/github-dark.js +2 -4
  550. package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +2 -4
  551. package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +2 -4
  552. package/dist/node_modules/@shikijs/themes/dist/github-light.js +2 -4
  553. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +2 -4
  554. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +2 -4
  555. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +2 -4
  556. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +2 -4
  557. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +2 -4
  558. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +2 -4
  559. package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +2 -4
  560. package/dist/node_modules/@shikijs/themes/dist/horizon.js +2 -4
  561. package/dist/node_modules/@shikijs/themes/dist/houston.js +2 -4
  562. package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +2 -4
  563. package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +2 -4
  564. package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +2 -4
  565. package/dist/node_modules/@shikijs/themes/dist/laserwave.js +2 -4
  566. package/dist/node_modules/@shikijs/themes/dist/light-plus.js +2 -4
  567. package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +2 -4
  568. package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +2 -4
  569. package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +2 -4
  570. package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +2 -4
  571. package/dist/node_modules/@shikijs/themes/dist/material-theme.js +2 -4
  572. package/dist/node_modules/@shikijs/themes/dist/min-dark.js +2 -4
  573. package/dist/node_modules/@shikijs/themes/dist/min-light.js +2 -4
  574. package/dist/node_modules/@shikijs/themes/dist/monokai.js +2 -4
  575. package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +2 -4
  576. package/dist/node_modules/@shikijs/themes/dist/night-owl.js +2 -4
  577. package/dist/node_modules/@shikijs/themes/dist/nord.js +2 -4
  578. package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +2 -4
  579. package/dist/node_modules/@shikijs/themes/dist/one-light.js +2 -4
  580. package/dist/node_modules/@shikijs/themes/dist/plastic.js +2 -4
  581. package/dist/node_modules/@shikijs/themes/dist/poimandres.js +2 -4
  582. package/dist/node_modules/@shikijs/themes/dist/red.js +2 -4
  583. package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +2 -4
  584. package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +2 -4
  585. package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +2 -4
  586. package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +2 -4
  587. package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +2 -4
  588. package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +2 -4
  589. package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +2 -4
  590. package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +2 -4
  591. package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +2 -4
  592. package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +2 -4
  593. package/dist/node_modules/@shikijs/themes/dist/vesper.js +2 -4
  594. package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +2 -4
  595. package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +2 -4
  596. package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +2 -4
  597. package/dist/node_modules/@shikijs/types/dist/index.js +2 -4
  598. package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +947 -949
  599. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
  600. package/dist/node_modules/@ungap/structured-clone/esm/index.js +4 -6
  601. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
  602. package/dist/node_modules/@ungap/structured-clone/esm/types.js +2 -0
  603. package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +693 -695
  604. package/dist/node_modules/@xyflow/react/dist/esm/index.js +881 -883
  605. package/dist/node_modules/@xyflow/system/dist/esm/index.js +1221 -1223
  606. package/dist/node_modules/bail/index.js +2 -4
  607. package/dist/node_modules/ccount/index.js +2 -4
  608. package/dist/node_modules/character-entities-html4/index.js +2 -4
  609. package/dist/node_modules/character-entities-legacy/index.js +2 -4
  610. package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
  611. package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +4 -6
  612. package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -4
  613. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +9 -11
  614. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +15 -17
  615. package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +17 -19
  616. package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +24 -26
  617. package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +201 -203
  618. package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +16 -18
  619. package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +17 -19
  620. package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +12 -14
  621. package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +140 -142
  622. package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +4 -5
  623. package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +25 -27
  624. package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +149 -151
  625. package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +14 -16
  626. package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +38 -40
  627. package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +64 -65
  628. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +11 -13
  629. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +101 -103
  630. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +5 -7
  631. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +45 -47
  632. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +6 -8
  633. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +73 -75
  634. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +180 -182
  635. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +23 -24
  636. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +26 -28
  637. package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +2 -4
  638. package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +246 -246
  639. package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +2 -4
  640. package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +31 -33
  641. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +64 -67
  642. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +10 -12
  643. package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +35 -36
  644. package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +26 -28
  645. package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +240 -242
  646. package/dist/node_modules/chevrotain-allstar/lib/atn.js +133 -134
  647. package/dist/node_modules/chevrotain-allstar/lib/dfa.js +10 -11
  648. package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
  649. package/dist/node_modules/classcat/index.js +3 -5
  650. package/dist/node_modules/comma-separated-tokens/index.js +3 -5
  651. package/dist/node_modules/cose-base/cose-base.js +21 -21
  652. package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7940 -7937
  653. package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +6 -8
  654. package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +6 -8
  655. package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +20 -20
  656. package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +4 -6
  657. package/dist/node_modules/d3/src/index.js +95 -95
  658. package/dist/node_modules/d3-array/src/ascending.js +2 -4
  659. package/dist/node_modules/d3-array/src/bisect.js +8 -8
  660. package/dist/node_modules/d3-array/src/bisector.js +6 -8
  661. package/dist/node_modules/d3-array/src/descending.js +2 -4
  662. package/dist/node_modules/d3-array/src/max.js +2 -4
  663. package/dist/node_modules/d3-array/src/min.js +2 -4
  664. package/dist/node_modules/d3-array/src/number.js +2 -4
  665. package/dist/node_modules/d3-array/src/range.js +2 -4
  666. package/dist/node_modules/d3-array/src/ticks.js +11 -13
  667. package/dist/node_modules/d3-axis/src/axis.js +46 -48
  668. package/dist/node_modules/d3-axis/src/identity.js +2 -4
  669. package/dist/node_modules/d3-brush/src/brush.js +4 -6
  670. package/dist/node_modules/d3-color/src/color.js +84 -86
  671. package/dist/node_modules/d3-color/src/define.js +3 -5
  672. package/dist/node_modules/d3-color/src/lab.js +43 -45
  673. package/dist/node_modules/d3-color/src/math.js +2 -4
  674. package/dist/node_modules/d3-dispatch/src/dispatch.js +17 -18
  675. package/dist/node_modules/d3-drag/src/constant.js +2 -4
  676. package/dist/node_modules/d3-drag/src/drag.js +75 -77
  677. package/dist/node_modules/d3-drag/src/event.js +3 -5
  678. package/dist/node_modules/d3-drag/src/nodrag.js +9 -11
  679. package/dist/node_modules/d3-drag/src/noevent.js +4 -6
  680. package/dist/node_modules/d3-ease/src/cubic.js +2 -4
  681. package/dist/node_modules/d3-format/src/defaultLocale.js +6 -8
  682. package/dist/node_modules/d3-format/src/exponent.js +4 -6
  683. package/dist/node_modules/d3-format/src/formatDecimal.js +3 -5
  684. package/dist/node_modules/d3-format/src/formatGroup.js +2 -4
  685. package/dist/node_modules/d3-format/src/formatNumerals.js +2 -4
  686. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +8 -10
  687. package/dist/node_modules/d3-format/src/formatRounded.js +4 -6
  688. package/dist/node_modules/d3-format/src/formatSpecifier.js +8 -10
  689. package/dist/node_modules/d3-format/src/formatTrim.js +2 -4
  690. package/dist/node_modules/d3-format/src/formatTypes.js +13 -15
  691. package/dist/node_modules/d3-format/src/identity.js +2 -4
  692. package/dist/node_modules/d3-format/src/locale.js +31 -33
  693. package/dist/node_modules/d3-format/src/precisionFixed.js +4 -6
  694. package/dist/node_modules/d3-format/src/precisionPrefix.js +4 -6
  695. package/dist/node_modules/d3-format/src/precisionRound.js +4 -6
  696. package/dist/node_modules/d3-hierarchy/src/accessors.js +2 -4
  697. package/dist/node_modules/d3-hierarchy/src/constant.js +3 -5
  698. package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +2 -4
  699. package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +4 -6
  700. package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +2 -4
  701. package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +2 -4
  702. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +2 -4
  703. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +2 -4
  704. package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +2 -4
  705. package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +44 -46
  706. package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +2 -4
  707. package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +2 -4
  708. package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +2 -4
  709. package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +4 -6
  710. package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +2 -4
  711. package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +2 -4
  712. package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +2 -4
  713. package/dist/node_modules/d3-hierarchy/src/treemap/index.js +14 -16
  714. package/dist/node_modules/d3-hierarchy/src/treemap/round.js +2 -4
  715. package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +2 -4
  716. package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +9 -11
  717. package/dist/node_modules/d3-interpolate/src/array.js +4 -6
  718. package/dist/node_modules/d3-interpolate/src/basis.js +4 -6
  719. package/dist/node_modules/d3-interpolate/src/basisClosed.js +4 -6
  720. package/dist/node_modules/d3-interpolate/src/color.js +17 -19
  721. package/dist/node_modules/d3-interpolate/src/constant.js +2 -4
  722. package/dist/node_modules/d3-interpolate/src/date.js +2 -4
  723. package/dist/node_modules/d3-interpolate/src/hcl.js +6 -8
  724. package/dist/node_modules/d3-interpolate/src/number.js +2 -4
  725. package/dist/node_modules/d3-interpolate/src/numberArray.js +3 -5
  726. package/dist/node_modules/d3-interpolate/src/object.js +4 -6
  727. package/dist/node_modules/d3-interpolate/src/rgb.js +9 -11
  728. package/dist/node_modules/d3-interpolate/src/round.js +2 -4
  729. package/dist/node_modules/d3-interpolate/src/string.js +14 -16
  730. package/dist/node_modules/d3-interpolate/src/transform/decompose.js +5 -7
  731. package/dist/node_modules/d3-interpolate/src/transform/index.js +11 -13
  732. package/dist/node_modules/d3-interpolate/src/transform/parse.js +8 -10
  733. package/dist/node_modules/d3-interpolate/src/value.js +12 -14
  734. package/dist/node_modules/d3-interpolate/src/zoom.js +11 -13
  735. package/dist/node_modules/d3-path/src/path.js +14 -16
  736. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +2 -4
  737. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +2 -4
  738. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +2 -4
  739. package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +12 -13
  740. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -4
  741. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +2 -4
  742. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +17 -19
  743. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +3 -5
  744. package/dist/node_modules/d3-sankey/src/align.js +10 -12
  745. package/dist/node_modules/d3-sankey/src/constant.js +2 -4
  746. package/dist/node_modules/d3-sankey/src/sankey.js +168 -170
  747. package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +6 -8
  748. package/dist/node_modules/d3-scale/src/band.js +9 -11
  749. package/dist/node_modules/d3-scale/src/constant.js +2 -4
  750. package/dist/node_modules/d3-scale/src/continuous.js +47 -49
  751. package/dist/node_modules/d3-scale/src/init.js +2 -4
  752. package/dist/node_modules/d3-scale/src/linear.js +13 -15
  753. package/dist/node_modules/d3-scale/src/nice.js +2 -4
  754. package/dist/node_modules/d3-scale/src/number.js +2 -4
  755. package/dist/node_modules/d3-scale/src/ordinal.js +16 -18
  756. package/dist/node_modules/d3-scale/src/tickFormat.js +14 -16
  757. package/dist/node_modules/d3-scale/src/time.js +34 -36
  758. package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -5
  759. package/dist/node_modules/d3-scale-chromatic/src/colors.js +2 -4
  760. package/dist/node_modules/d3-selection/src/array.js +2 -4
  761. package/dist/node_modules/d3-selection/src/constant.js +2 -4
  762. package/dist/node_modules/d3-selection/src/creator.js +10 -12
  763. package/dist/node_modules/d3-selection/src/matcher.js +3 -5
  764. package/dist/node_modules/d3-selection/src/namespace.js +5 -7
  765. package/dist/node_modules/d3-selection/src/namespaces.js +3 -5
  766. package/dist/node_modules/d3-selection/src/pointer.js +4 -6
  767. package/dist/node_modules/d3-selection/src/select.js +4 -6
  768. package/dist/node_modules/d3-selection/src/selection/append.js +4 -6
  769. package/dist/node_modules/d3-selection/src/selection/attr.js +17 -19
  770. package/dist/node_modules/d3-selection/src/selection/call.js +2 -4
  771. package/dist/node_modules/d3-selection/src/selection/classed.js +23 -25
  772. package/dist/node_modules/d3-selection/src/selection/clone.js +5 -7
  773. package/dist/node_modules/d3-selection/src/selection/data.js +16 -18
  774. package/dist/node_modules/d3-selection/src/selection/datum.js +2 -4
  775. package/dist/node_modules/d3-selection/src/selection/dispatch.js +10 -12
  776. package/dist/node_modules/d3-selection/src/selection/each.js +2 -4
  777. package/dist/node_modules/d3-selection/src/selection/empty.js +2 -4
  778. package/dist/node_modules/d3-selection/src/selection/enter.js +11 -13
  779. package/dist/node_modules/d3-selection/src/selection/exit.js +5 -7
  780. package/dist/node_modules/d3-selection/src/selection/filter.js +6 -8
  781. package/dist/node_modules/d3-selection/src/selection/html.js +6 -8
  782. package/dist/node_modules/d3-selection/src/selection/index.js +79 -80
  783. package/dist/node_modules/d3-selection/src/selection/insert.js +6 -8
  784. package/dist/node_modules/d3-selection/src/selection/iterator.js +2 -4
  785. package/dist/node_modules/d3-selection/src/selection/join.js +2 -4
  786. package/dist/node_modules/d3-selection/src/selection/lower.js +4 -6
  787. package/dist/node_modules/d3-selection/src/selection/merge.js +4 -6
  788. package/dist/node_modules/d3-selection/src/selection/node.js +2 -4
  789. package/dist/node_modules/d3-selection/src/selection/nodes.js +2 -4
  790. package/dist/node_modules/d3-selection/src/selection/on.js +9 -11
  791. package/dist/node_modules/d3-selection/src/selection/order.js +2 -4
  792. package/dist/node_modules/d3-selection/src/selection/property.js +6 -8
  793. package/dist/node_modules/d3-selection/src/selection/raise.js +4 -6
  794. package/dist/node_modules/d3-selection/src/selection/remove.js +4 -6
  795. package/dist/node_modules/d3-selection/src/selection/select.js +6 -8
  796. package/dist/node_modules/d3-selection/src/selection/selectAll.js +9 -11
  797. package/dist/node_modules/d3-selection/src/selection/selectChild.js +8 -10
  798. package/dist/node_modules/d3-selection/src/selection/selectChildren.js +8 -10
  799. package/dist/node_modules/d3-selection/src/selection/size.js +2 -4
  800. package/dist/node_modules/d3-selection/src/selection/sort.js +6 -8
  801. package/dist/node_modules/d3-selection/src/selection/sparse.js +2 -4
  802. package/dist/node_modules/d3-selection/src/selection/style.js +12 -14
  803. package/dist/node_modules/d3-selection/src/selection/text.js +6 -8
  804. package/dist/node_modules/d3-selection/src/selector.js +4 -6
  805. package/dist/node_modules/d3-selection/src/selectorAll.js +4 -6
  806. package/dist/node_modules/d3-selection/src/sourceEvent.js +2 -4
  807. package/dist/node_modules/d3-selection/src/window.js +2 -4
  808. package/dist/node_modules/d3-shape/src/arc.js +36 -38
  809. package/dist/node_modules/d3-shape/src/array.js +2 -3
  810. package/dist/node_modules/d3-shape/src/constant.js +2 -4
  811. package/dist/node_modules/d3-shape/src/curve/basis.js +8 -10
  812. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +16 -18
  813. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +7 -9
  814. package/dist/node_modules/d3-shape/src/curve/bump.js +13 -15
  815. package/dist/node_modules/d3-shape/src/curve/bundle.js +7 -9
  816. package/dist/node_modules/d3-shape/src/curve/cardinal.js +8 -10
  817. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +10 -12
  818. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +7 -9
  819. package/dist/node_modules/d3-shape/src/curve/catmullRom.js +17 -19
  820. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +11 -13
  821. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +8 -10
  822. package/dist/node_modules/d3-shape/src/curve/linear.js +5 -7
  823. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +10 -12
  824. package/dist/node_modules/d3-shape/src/curve/monotone.js +21 -23
  825. package/dist/node_modules/d3-shape/src/curve/natural.js +7 -9
  826. package/dist/node_modules/d3-shape/src/curve/step.js +17 -19
  827. package/dist/node_modules/d3-shape/src/descending.js +2 -4
  828. package/dist/node_modules/d3-shape/src/identity.js +2 -4
  829. package/dist/node_modules/d3-shape/src/line.js +17 -19
  830. package/dist/node_modules/d3-shape/src/math.js +6 -8
  831. package/dist/node_modules/d3-shape/src/noop.js +2 -4
  832. package/dist/node_modules/d3-shape/src/path.js +4 -6
  833. package/dist/node_modules/d3-shape/src/pie.js +13 -15
  834. package/dist/node_modules/d3-shape/src/point.js +3 -5
  835. package/dist/node_modules/d3-time/src/day.js +15 -17
  836. package/dist/node_modules/d3-time/src/duration.js +2 -4
  837. package/dist/node_modules/d3-time/src/hour.js +14 -16
  838. package/dist/node_modules/d3-time/src/interval.js +5 -7
  839. package/dist/node_modules/d3-time/src/millisecond.js +5 -7
  840. package/dist/node_modules/d3-time/src/minute.js +14 -16
  841. package/dist/node_modules/d3-time/src/month.js +12 -14
  842. package/dist/node_modules/d3-time/src/second.js +7 -9
  843. package/dist/node_modules/d3-time/src/ticks.js +64 -66
  844. package/dist/node_modules/d3-time/src/week.js +19 -21
  845. package/dist/node_modules/d3-time/src/year.js +8 -10
  846. package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -8
  847. package/dist/node_modules/d3-time-format/src/locale.js +344 -346
  848. package/dist/node_modules/d3-timer/src/timeout.js +4 -6
  849. package/dist/node_modules/d3-timer/src/timer.js +31 -33
  850. package/dist/node_modules/d3-transition/src/index.js +2 -2
  851. package/dist/node_modules/d3-transition/src/interrupt.js +3 -4
  852. package/dist/node_modules/d3-transition/src/selection/index.js +4 -5
  853. package/dist/node_modules/d3-transition/src/selection/interrupt.js +4 -6
  854. package/dist/node_modules/d3-transition/src/selection/transition.js +14 -16
  855. package/dist/node_modules/d3-transition/src/transition/attr.js +26 -28
  856. package/dist/node_modules/d3-transition/src/transition/attrTween.js +11 -13
  857. package/dist/node_modules/d3-transition/src/transition/delay.js +9 -11
  858. package/dist/node_modules/d3-transition/src/transition/duration.js +9 -11
  859. package/dist/node_modules/d3-transition/src/transition/ease.js +6 -8
  860. package/dist/node_modules/d3-transition/src/transition/easeVarying.js +6 -8
  861. package/dist/node_modules/d3-transition/src/transition/end.js +4 -6
  862. package/dist/node_modules/d3-transition/src/transition/filter.js +6 -8
  863. package/dist/node_modules/d3-transition/src/transition/index.js +61 -63
  864. package/dist/node_modules/d3-transition/src/transition/interpolate.js +7 -9
  865. package/dist/node_modules/d3-transition/src/transition/merge.js +4 -6
  866. package/dist/node_modules/d3-transition/src/transition/on.js +7 -9
  867. package/dist/node_modules/d3-transition/src/transition/remove.js +4 -6
  868. package/dist/node_modules/d3-transition/src/transition/schedule.js +18 -20
  869. package/dist/node_modules/d3-transition/src/transition/select.js +8 -10
  870. package/dist/node_modules/d3-transition/src/transition/selectAll.js +8 -10
  871. package/dist/node_modules/d3-transition/src/transition/selection.js +5 -7
  872. package/dist/node_modules/d3-transition/src/transition/style.js +19 -21
  873. package/dist/node_modules/d3-transition/src/transition/styleTween.js +6 -8
  874. package/dist/node_modules/d3-transition/src/transition/text.js +6 -8
  875. package/dist/node_modules/d3-transition/src/transition/textTween.js +6 -8
  876. package/dist/node_modules/d3-transition/src/transition/transition.js +8 -10
  877. package/dist/node_modules/d3-transition/src/transition/tween.js +12 -14
  878. package/dist/node_modules/d3-zoom/src/constant.js +2 -4
  879. package/dist/node_modules/d3-zoom/src/event.js +2 -4
  880. package/dist/node_modules/d3-zoom/src/index.js +2 -2
  881. package/dist/node_modules/d3-zoom/src/noevent.js +3 -5
  882. package/dist/node_modules/d3-zoom/src/transform.js +10 -12
  883. package/dist/node_modules/d3-zoom/src/zoom.js +114 -116
  884. package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +12 -14
  885. package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +9 -11
  886. package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +34 -36
  887. package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +7 -9
  888. package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +49 -51
  889. package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
  890. package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +163 -165
  891. package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +43 -45
  892. package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +10 -12
  893. package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +4 -6
  894. package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +6 -8
  895. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +12 -14
  896. package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +20 -22
  897. package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +34 -36
  898. package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +13 -15
  899. package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +30 -32
  900. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +28 -30
  901. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +18 -20
  902. package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +10 -12
  903. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +148 -150
  904. package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +18 -20
  905. package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +17 -19
  906. package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +14 -16
  907. package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +63 -64
  908. package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +8 -10
  909. package/dist/node_modules/dagre-d3-es/src/dagre/util.js +82 -84
  910. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +13 -15
  911. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -3
  912. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -3
  913. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +3 -3
  914. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +4 -6
  915. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +4 -6
  916. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +11 -13
  917. package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +129 -131
  918. package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
  919. package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +16 -18
  920. package/dist/node_modules/dayjs/dayjs.min.js +4 -6
  921. package/dist/node_modules/dayjs/plugin/advancedFormat.js +4 -6
  922. package/dist/node_modules/dayjs/plugin/customParseFormat.js +4 -6
  923. package/dist/node_modules/dayjs/plugin/duration.js +4 -6
  924. package/dist/node_modules/dayjs/plugin/isoWeek.js +4 -6
  925. package/dist/node_modules/decode-named-character-reference/index.dom.js +5 -7
  926. package/dist/node_modules/devlop/lib/default.js +2 -4
  927. package/dist/node_modules/dompurify/dist/purify.es.js +180 -182
  928. package/dist/node_modules/entities/dist/esm/decode-codepoint.js +4 -6
  929. package/dist/node_modules/entities/dist/esm/decode.js +85 -87
  930. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +2 -4
  931. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +4 -6
  932. package/dist/node_modules/extend/index.js +6 -9
  933. package/dist/node_modules/hast-util-from-dom/lib/index.js +30 -32
  934. package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +8 -10
  935. package/dist/node_modules/hast-util-from-parse5/lib/index.js +80 -82
  936. package/dist/node_modules/hast-util-is-element/lib/index.js +15 -17
  937. package/dist/node_modules/hast-util-parse-selector/lib/index.js +5 -7
  938. package/dist/node_modules/hast-util-raw/lib/index.js +134 -136
  939. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +21 -23
  940. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +3 -5
  941. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +89 -89
  942. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +249 -250
  943. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +4 -6
  944. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +14 -14
  945. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +4 -4
  946. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +15 -17
  947. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1495 -1497
  948. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +146 -148
  949. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +19 -20
  950. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +798 -800
  951. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +31 -33
  952. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +8 -10
  953. package/dist/node_modules/hast-util-sanitize/lib/index.js +104 -106
  954. package/dist/node_modules/hast-util-sanitize/lib/schema.js +11 -12
  955. package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +7 -9
  956. package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +2 -4
  957. package/dist/node_modules/hast-util-to-html/lib/handle/element.js +23 -25
  958. package/dist/node_modules/hast-util-to-html/lib/handle/index.js +21 -22
  959. package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +4 -6
  960. package/dist/node_modules/hast-util-to-html/lib/handle/root.js +2 -4
  961. package/dist/node_modules/hast-util-to-html/lib/handle/text.js +5 -7
  962. package/dist/node_modules/hast-util-to-html/lib/index.js +36 -38
  963. package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +68 -70
  964. package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +4 -6
  965. package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +30 -32
  966. package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +9 -10
  967. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +190 -192
  968. package/dist/node_modules/hast-util-to-parse5/lib/index.js +69 -71
  969. package/dist/node_modules/hast-util-to-text/lib/index.js +59 -61
  970. package/dist/node_modules/hast-util-whitespace/lib/index.js +6 -8
  971. package/dist/node_modules/hastscript/lib/create-h.js +24 -26
  972. package/dist/node_modules/hastscript/lib/index.js +5 -7
  973. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -4
  974. package/dist/node_modules/html-url-attributes/lib/index.js +2 -4
  975. package/dist/node_modules/html-void-elements/index.js +2 -4
  976. package/dist/node_modules/inline-style-parser/cjs/index.js +4 -6
  977. package/dist/node_modules/internmap/src/index.js +20 -22
  978. package/dist/node_modules/katex/dist/katex.js +2307 -2301
  979. package/dist/node_modules/khroma/dist/channels/index.js +21 -23
  980. package/dist/node_modules/khroma/dist/channels/reusable.js +3 -5
  981. package/dist/node_modules/khroma/dist/channels/type.js +5 -7
  982. package/dist/node_modules/khroma/dist/color/hex.js +8 -10
  983. package/dist/node_modules/khroma/dist/color/hsl.js +17 -19
  984. package/dist/node_modules/khroma/dist/color/index.js +15 -17
  985. package/dist/node_modules/khroma/dist/color/keyword.js +8 -10
  986. package/dist/node_modules/khroma/dist/color/rgb.js +12 -14
  987. package/dist/node_modules/khroma/dist/constants.js +5 -7
  988. package/dist/node_modules/khroma/dist/methods/adjust.js +6 -8
  989. package/dist/node_modules/khroma/dist/methods/adjust_channel.js +6 -8
  990. package/dist/node_modules/khroma/dist/methods/change.js +7 -9
  991. package/dist/node_modules/khroma/dist/methods/channel.js +4 -6
  992. package/dist/node_modules/khroma/dist/methods/darken.js +3 -5
  993. package/dist/node_modules/khroma/dist/methods/invert.js +6 -8
  994. package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -5
  995. package/dist/node_modules/khroma/dist/methods/is_light.js +3 -5
  996. package/dist/node_modules/khroma/dist/methods/lighten.js +3 -5
  997. package/dist/node_modules/khroma/dist/methods/luminance.js +6 -8
  998. package/dist/node_modules/khroma/dist/methods/mix.js +6 -8
  999. package/dist/node_modules/khroma/dist/methods/rgba.js +13 -15
  1000. package/dist/node_modules/khroma/dist/methods/transparentize.js +3 -5
  1001. package/dist/node_modules/khroma/dist/utils/channel.js +6 -8
  1002. package/dist/node_modules/khroma/dist/utils/index.js +8 -10
  1003. package/dist/node_modules/khroma/dist/utils/lang.js +2 -4
  1004. package/dist/node_modules/khroma/dist/utils/unit.js +2 -4
  1005. package/dist/node_modules/langium/lib/default-module.js +64 -66
  1006. package/dist/node_modules/langium/lib/dependency-injection.js +39 -37
  1007. package/dist/node_modules/langium/lib/documentation/comment-provider.js +5 -7
  1008. package/dist/node_modules/langium/lib/documentation/documentation-provider.js +6 -8
  1009. package/dist/node_modules/langium/lib/documentation/jsdoc.js +202 -204
  1010. package/dist/node_modules/langium/lib/index.js +182 -0
  1011. package/dist/node_modules/langium/lib/languages/generated/ast.js +534 -343
  1012. package/dist/node_modules/langium/lib/languages/grammar-config.js +8 -10
  1013. package/dist/node_modules/langium/lib/parser/async-parser.js +76 -4
  1014. package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +6 -8
  1015. package/dist/node_modules/langium/lib/parser/cst-node-builder.js +54 -56
  1016. package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
  1017. package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +7 -9
  1018. package/dist/node_modules/langium/lib/parser/langium-parser.js +188 -190
  1019. package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
  1020. package/dist/node_modules/langium/lib/parser/parser-builder-base.js +203 -204
  1021. package/dist/node_modules/langium/lib/parser/token-builder.js +30 -32
  1022. package/dist/node_modules/langium/lib/parser/value-converter.js +15 -17
  1023. package/dist/node_modules/langium/lib/references/linker.js +103 -104
  1024. package/dist/node_modules/langium/lib/references/name-provider.js +7 -9
  1025. package/dist/node_modules/langium/lib/references/references.js +51 -53
  1026. package/dist/node_modules/langium/lib/references/scope-computation.js +12 -14
  1027. package/dist/node_modules/langium/lib/references/scope-provider.js +11 -13
  1028. package/dist/node_modules/langium/lib/references/scope.js +56 -27
  1029. package/dist/node_modules/langium/lib/serializer/hydrator.js +69 -71
  1030. package/dist/node_modules/langium/lib/serializer/json-serializer.js +21 -23
  1031. package/dist/node_modules/langium/lib/service-registry.js +5 -7
  1032. package/dist/node_modules/langium/lib/syntax-tree.js +31 -33
  1033. package/dist/node_modules/langium/lib/utils/ast-utils.js +112 -77
  1034. package/dist/node_modules/langium/lib/utils/caching.js +42 -33
  1035. package/dist/node_modules/langium/lib/utils/cancellation.js +5 -7
  1036. package/dist/node_modules/langium/lib/utils/collections.js +33 -35
  1037. package/dist/node_modules/langium/lib/utils/cst-utils.js +161 -46
  1038. package/dist/node_modules/langium/lib/utils/disposable.js +3 -5
  1039. package/dist/node_modules/langium/lib/utils/errors.js +9 -8
  1040. package/dist/node_modules/langium/lib/utils/event.js +5 -7
  1041. package/dist/node_modules/langium/lib/utils/grammar-loader.js +14 -16
  1042. package/dist/node_modules/langium/lib/utils/grammar-utils.js +249 -172
  1043. package/dist/node_modules/langium/lib/utils/index.js +53 -0
  1044. package/dist/node_modules/langium/lib/utils/promise-utils.js +19 -18
  1045. package/dist/node_modules/langium/lib/utils/regexp-utils.js +76 -53
  1046. package/dist/node_modules/langium/lib/utils/stream.js +153 -155
  1047. package/dist/node_modules/langium/lib/utils/uri-utils.js +12 -14
  1048. package/dist/node_modules/langium/lib/validation/document-validator.js +103 -104
  1049. package/dist/node_modules/langium/lib/validation/validation-registry.js +14 -15
  1050. package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +17 -19
  1051. package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +2 -4
  1052. package/dist/node_modules/langium/lib/workspace/configuration.js +5 -7
  1053. package/dist/node_modules/langium/lib/workspace/document-builder.js +134 -131
  1054. package/dist/node_modules/langium/lib/workspace/documents.js +83 -85
  1055. package/dist/node_modules/langium/lib/workspace/file-system-provider.js +4 -5
  1056. package/dist/node_modules/langium/lib/workspace/index-manager.js +14 -16
  1057. package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
  1058. package/dist/node_modules/langium/lib/workspace/workspace-lock.js +9 -11
  1059. package/dist/node_modules/langium/lib/workspace/workspace-manager.js +33 -35
  1060. package/dist/node_modules/layout-base/layout-base.js +4 -6
  1061. package/dist/node_modules/lodash/_Symbol.js +7 -0
  1062. package/dist/node_modules/lodash/_baseGetTag.js +13 -0
  1063. package/dist/node_modules/lodash/_baseTrim.js +11 -0
  1064. package/dist/node_modules/lodash/_freeGlobal.js +6 -0
  1065. package/dist/node_modules/lodash/_getRawTag.js +17 -0
  1066. package/dist/node_modules/lodash/_objectToString.js +10 -0
  1067. package/dist/node_modules/lodash/_root.js +8 -0
  1068. package/dist/node_modules/lodash/_trimmedEndIndex.js +11 -0
  1069. package/dist/{frontend/studio/node_modules → node_modules}/lodash/debounce.js +8 -10
  1070. package/dist/node_modules/lodash/isObject.js +10 -0
  1071. package/dist/node_modules/lodash/isObjectLike.js +9 -0
  1072. package/dist/node_modules/lodash/isSymbol.js +12 -0
  1073. package/dist/node_modules/lodash/now.js +10 -0
  1074. package/dist/node_modules/lodash/toNumber.js +22 -0
  1075. package/dist/node_modules/lodash-es/_DataView.js +4 -6
  1076. package/dist/node_modules/lodash-es/_Hash.js +13 -14
  1077. package/dist/node_modules/lodash-es/_ListCache.js +13 -14
  1078. package/dist/node_modules/lodash-es/_Map.js +4 -6
  1079. package/dist/node_modules/lodash-es/_MapCache.js +13 -14
  1080. package/dist/node_modules/lodash-es/_Promise.js +4 -6
  1081. package/dist/node_modules/lodash-es/_Set.js +4 -6
  1082. package/dist/node_modules/lodash-es/_SetCache.js +9 -10
  1083. package/dist/node_modules/lodash-es/_Stack.js +11 -12
  1084. package/dist/node_modules/lodash-es/_Symbol.js +3 -5
  1085. package/dist/node_modules/lodash-es/_Uint8Array.js +3 -5
  1086. package/dist/node_modules/lodash-es/_WeakMap.js +4 -6
  1087. package/dist/node_modules/lodash-es/_apply.js +3 -4
  1088. package/dist/node_modules/lodash-es/_arrayEach.js +3 -4
  1089. package/dist/node_modules/lodash-es/_arrayFilter.js +3 -4
  1090. package/dist/node_modules/lodash-es/_arrayIncludes.js +5 -6
  1091. package/dist/node_modules/lodash-es/_arrayIncludesWith.js +3 -4
  1092. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +12 -13
  1093. package/dist/node_modules/lodash-es/_arrayMap.js +3 -4
  1094. package/dist/node_modules/lodash-es/_arrayPush.js +3 -4
  1095. package/dist/node_modules/lodash-es/_arrayReduce.js +3 -4
  1096. package/dist/node_modules/lodash-es/_arraySome.js +3 -4
  1097. package/dist/node_modules/lodash-es/_asciiSize.js +3 -5
  1098. package/dist/node_modules/lodash-es/_assignMergeValue.js +6 -7
  1099. package/dist/node_modules/lodash-es/_assignValue.js +7 -8
  1100. package/dist/node_modules/lodash-es/_assocIndexOf.js +5 -6
  1101. package/dist/node_modules/lodash-es/_baseAssign.js +6 -7
  1102. package/dist/node_modules/lodash-es/_baseAssignIn.js +6 -7
  1103. package/dist/node_modules/lodash-es/_baseAssignValue.js +5 -6
  1104. package/dist/node_modules/lodash-es/_baseClone.js +50 -51
  1105. package/dist/node_modules/lodash-es/_baseCreate.js +5 -7
  1106. package/dist/node_modules/lodash-es/_baseEach.js +4 -6
  1107. package/dist/node_modules/lodash-es/_baseExtremum.js +5 -6
  1108. package/dist/node_modules/lodash-es/_baseFilter.js +5 -6
  1109. package/dist/node_modules/lodash-es/_baseFindIndex.js +3 -4
  1110. package/dist/node_modules/lodash-es/_baseFlatten.js +7 -8
  1111. package/dist/node_modules/lodash-es/_baseFor.js +3 -5
  1112. package/dist/node_modules/lodash-es/_baseForOwn.js +6 -7
  1113. package/dist/node_modules/lodash-es/_baseGet.js +7 -8
  1114. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +6 -7
  1115. package/dist/node_modules/lodash-es/_baseGetTag.js +8 -9
  1116. package/dist/node_modules/lodash-es/_baseGt.js +3 -4
  1117. package/dist/node_modules/lodash-es/_baseHas.js +5 -6
  1118. package/dist/node_modules/lodash-es/_baseHasIn.js +3 -4
  1119. package/dist/node_modules/lodash-es/_baseIndexOf.js +7 -8
  1120. package/dist/node_modules/lodash-es/_baseIsArguments.js +7 -8
  1121. package/dist/node_modules/lodash-es/_baseIsEqual.js +6 -7
  1122. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +22 -23
  1123. package/dist/node_modules/lodash-es/_baseIsMap.js +7 -8
  1124. package/dist/node_modules/lodash-es/_baseIsMatch.js +8 -9
  1125. package/dist/node_modules/lodash-es/_baseIsNaN.js +3 -4
  1126. package/dist/node_modules/lodash-es/_baseIsNative.js +9 -10
  1127. package/dist/node_modules/lodash-es/_baseIsSet.js +7 -8
  1128. package/dist/node_modules/lodash-es/_baseIsTypedArray.js +9 -10
  1129. package/dist/node_modules/lodash-es/_baseIteratee.js +9 -10
  1130. package/dist/node_modules/lodash-es/_baseKeys.js +8 -9
  1131. package/dist/node_modules/lodash-es/_baseKeysIn.js +10 -11
  1132. package/dist/node_modules/lodash-es/_baseLt.js +3 -4
  1133. package/dist/node_modules/lodash-es/_baseMap.js +7 -8
  1134. package/dist/node_modules/lodash-es/_baseMatches.js +9 -10
  1135. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +14 -15
  1136. package/dist/node_modules/lodash-es/_baseMerge.js +15 -16
  1137. package/dist/node_modules/lodash-es/_baseMergeDeep.js +23 -24
  1138. package/dist/node_modules/lodash-es/_baseOrderBy.js +22 -23
  1139. package/dist/node_modules/lodash-es/_basePick.js +7 -8
  1140. package/dist/node_modules/lodash-es/_basePickBy.js +8 -9
  1141. package/dist/node_modules/lodash-es/_baseProperty.js +3 -4
  1142. package/dist/node_modules/lodash-es/_basePropertyDeep.js +5 -6
  1143. package/dist/node_modules/lodash-es/_baseRange.js +5 -6
  1144. package/dist/node_modules/lodash-es/_baseReduce.js +3 -4
  1145. package/dist/node_modules/lodash-es/_baseRest.js +7 -8
  1146. package/dist/node_modules/lodash-es/_baseSet.js +13 -14
  1147. package/dist/node_modules/lodash-es/_baseSetToString.js +8 -10
  1148. package/dist/node_modules/lodash-es/_baseSortBy.js +3 -4
  1149. package/dist/node_modules/lodash-es/_baseTimes.js +3 -4
  1150. package/dist/node_modules/lodash-es/_baseToString.js +12 -13
  1151. package/dist/node_modules/lodash-es/_baseTrim.js +6 -7
  1152. package/dist/node_modules/lodash-es/_baseUnary.js +3 -4
  1153. package/dist/node_modules/lodash-es/_baseUniq.js +16 -17
  1154. package/dist/node_modules/lodash-es/_baseValues.js +5 -6
  1155. package/dist/node_modules/lodash-es/_baseZipObject.js +3 -4
  1156. package/dist/node_modules/lodash-es/_cacheHas.js +3 -4
  1157. package/dist/node_modules/lodash-es/_castFunction.js +5 -6
  1158. package/dist/node_modules/lodash-es/_castPath.js +8 -9
  1159. package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +5 -6
  1160. package/dist/node_modules/lodash-es/_cloneBuffer.js +8 -9
  1161. package/dist/node_modules/lodash-es/_cloneDataView.js +5 -6
  1162. package/dist/node_modules/lodash-es/_cloneRegExp.js +5 -6
  1163. package/dist/node_modules/lodash-es/_cloneSymbol.js +6 -7
  1164. package/dist/node_modules/lodash-es/_cloneTypedArray.js +5 -6
  1165. package/dist/node_modules/lodash-es/_compareAscending.js +5 -6
  1166. package/dist/node_modules/lodash-es/_compareMultiple.js +5 -6
  1167. package/dist/node_modules/lodash-es/_copyArray.js +3 -4
  1168. package/dist/node_modules/lodash-es/_copyObject.js +6 -7
  1169. package/dist/node_modules/lodash-es/_copySymbols.js +6 -7
  1170. package/dist/node_modules/lodash-es/_copySymbolsIn.js +6 -7
  1171. package/dist/node_modules/lodash-es/_coreJsData.js +3 -5
  1172. package/dist/node_modules/lodash-es/_createAssigner.js +7 -8
  1173. package/dist/node_modules/lodash-es/_createBaseEach.js +5 -6
  1174. package/dist/node_modules/lodash-es/_createBaseFor.js +3 -4
  1175. package/dist/node_modules/lodash-es/_createFind.js +9 -10
  1176. package/dist/node_modules/lodash-es/_createRange.js +7 -8
  1177. package/dist/node_modules/lodash-es/_createSet.js +7 -9
  1178. package/dist/node_modules/lodash-es/_defineProperty.js +4 -6
  1179. package/dist/node_modules/lodash-es/_equalArrays.js +11 -12
  1180. package/dist/node_modules/lodash-es/_equalByTag.js +28 -29
  1181. package/dist/node_modules/lodash-es/_equalObjects.js +8 -9
  1182. package/dist/node_modules/lodash-es/_flatRest.js +7 -8
  1183. package/dist/node_modules/lodash-es/_freeGlobal.js +2 -4
  1184. package/dist/node_modules/lodash-es/_getAllKeys.js +7 -8
  1185. package/dist/node_modules/lodash-es/_getAllKeysIn.js +7 -8
  1186. package/dist/node_modules/lodash-es/_getMapData.js +5 -6
  1187. package/dist/node_modules/lodash-es/_getMatchData.js +7 -8
  1188. package/dist/node_modules/lodash-es/_getNative.js +7 -8
  1189. package/dist/node_modules/lodash-es/_getPrototype.js +3 -5
  1190. package/dist/node_modules/lodash-es/_getRawTag.js +9 -10
  1191. package/dist/node_modules/lodash-es/_getSymbols.js +7 -9
  1192. package/dist/node_modules/lodash-es/_getSymbolsIn.js +8 -10
  1193. package/dist/node_modules/lodash-es/_getTag.js +19 -21
  1194. package/dist/node_modules/lodash-es/_getValue.js +3 -4
  1195. package/dist/node_modules/lodash-es/_hasPath.js +12 -13
  1196. package/dist/node_modules/lodash-es/_hasUnicode.js +5 -6
  1197. package/dist/node_modules/lodash-es/_hashClear.js +5 -6
  1198. package/dist/node_modules/lodash-es/_hashDelete.js +4 -5
  1199. package/dist/node_modules/lodash-es/_hashGet.js +8 -9
  1200. package/dist/node_modules/lodash-es/_hashHas.js +6 -7
  1201. package/dist/node_modules/lodash-es/_hashSet.js +6 -7
  1202. package/dist/node_modules/lodash-es/_initCloneArray.js +5 -6
  1203. package/dist/node_modules/lodash-es/_initCloneByTag.js +28 -29
  1204. package/dist/node_modules/lodash-es/_initCloneObject.js +7 -8
  1205. package/dist/node_modules/lodash-es/_isFlattenable.js +8 -9
  1206. package/dist/node_modules/lodash-es/_isIndex.js +5 -6
  1207. package/dist/node_modules/lodash-es/_isIterateeCall.js +9 -10
  1208. package/dist/node_modules/lodash-es/_isKey.js +8 -9
  1209. package/dist/node_modules/lodash-es/_isKeyable.js +3 -4
  1210. package/dist/node_modules/lodash-es/_isMasked.js +8 -9
  1211. package/dist/node_modules/lodash-es/_isPrototype.js +5 -6
  1212. package/dist/node_modules/lodash-es/_isStrictComparable.js +5 -6
  1213. package/dist/node_modules/lodash-es/_listCacheClear.js +3 -4
  1214. package/dist/node_modules/lodash-es/_listCacheDelete.js +7 -8
  1215. package/dist/node_modules/lodash-es/_listCacheGet.js +5 -6
  1216. package/dist/node_modules/lodash-es/_listCacheHas.js +5 -6
  1217. package/dist/node_modules/lodash-es/_listCacheSet.js +5 -6
  1218. package/dist/node_modules/lodash-es/_mapCacheClear.js +9 -10
  1219. package/dist/node_modules/lodash-es/_mapCacheDelete.js +6 -7
  1220. package/dist/node_modules/lodash-es/_mapCacheGet.js +5 -6
  1221. package/dist/node_modules/lodash-es/_mapCacheHas.js +5 -6
  1222. package/dist/node_modules/lodash-es/_mapCacheSet.js +5 -6
  1223. package/dist/node_modules/lodash-es/_mapToArray.js +3 -4
  1224. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +3 -4
  1225. package/dist/node_modules/lodash-es/_memoizeCapped.js +7 -8
  1226. package/dist/node_modules/lodash-es/_nativeCreate.js +3 -5
  1227. package/dist/node_modules/lodash-es/_nativeKeys.js +3 -5
  1228. package/dist/node_modules/lodash-es/_nativeKeysIn.js +3 -4
  1229. package/dist/node_modules/lodash-es/_nodeUtil.js +4 -6
  1230. package/dist/node_modules/lodash-es/_objectToString.js +5 -6
  1231. package/dist/node_modules/lodash-es/_overArg.js +3 -4
  1232. package/dist/node_modules/lodash-es/_overRest.js +8 -9
  1233. package/dist/node_modules/lodash-es/_root.js +3 -5
  1234. package/dist/node_modules/lodash-es/_safeGet.js +3 -4
  1235. package/dist/node_modules/lodash-es/_setCacheAdd.js +5 -6
  1236. package/dist/node_modules/lodash-es/_setCacheHas.js +3 -4
  1237. package/dist/node_modules/lodash-es/_setToArray.js +3 -4
  1238. package/dist/node_modules/lodash-es/_setToString.js +4 -6
  1239. package/dist/node_modules/lodash-es/_shortOut.js +6 -7
  1240. package/dist/node_modules/lodash-es/_stackClear.js +5 -6
  1241. package/dist/node_modules/lodash-es/_stackDelete.js +3 -4
  1242. package/dist/node_modules/lodash-es/_stackGet.js +3 -4
  1243. package/dist/node_modules/lodash-es/_stackHas.js +3 -4
  1244. package/dist/node_modules/lodash-es/_stackSet.js +10 -11
  1245. package/dist/node_modules/lodash-es/_strictIndexOf.js +3 -4
  1246. package/dist/node_modules/lodash-es/_stringSize.js +7 -8
  1247. package/dist/node_modules/lodash-es/_stringToPath.js +5 -7
  1248. package/dist/node_modules/lodash-es/_toKey.js +7 -8
  1249. package/dist/node_modules/lodash-es/_toSource.js +7 -8
  1250. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +5 -6
  1251. package/dist/node_modules/lodash-es/_unicodeSize.js +16 -17
  1252. package/dist/node_modules/lodash-es/clone.js +6 -7
  1253. package/dist/node_modules/lodash-es/cloneDeep.js +6 -7
  1254. package/dist/node_modules/lodash-es/constant.js +3 -4
  1255. package/dist/node_modules/lodash-es/defaults.js +11 -13
  1256. package/dist/node_modules/lodash-es/eq.js +3 -4
  1257. package/dist/node_modules/lodash-es/filter.js +8 -9
  1258. package/dist/node_modules/lodash-es/find.js +4 -6
  1259. package/dist/node_modules/lodash-es/findIndex.js +9 -10
  1260. package/dist/node_modules/lodash-es/flatMap.js +6 -7
  1261. package/dist/node_modules/lodash-es/flatten.js +5 -6
  1262. package/dist/node_modules/lodash-es/forEach.js +8 -9
  1263. package/dist/node_modules/lodash-es/forIn.js +7 -8
  1264. package/dist/node_modules/lodash-es/forOwn.js +6 -7
  1265. package/dist/node_modules/lodash-es/get.js +5 -6
  1266. package/dist/node_modules/lodash-es/has.js +6 -7
  1267. package/dist/node_modules/lodash-es/hasIn.js +6 -7
  1268. package/dist/node_modules/lodash-es/identity.js +3 -4
  1269. package/dist/node_modules/lodash-es/isArguments.js +6 -8
  1270. package/dist/node_modules/lodash-es/isArray.js +2 -4
  1271. package/dist/node_modules/lodash-es/isArrayLike.js +6 -7
  1272. package/dist/node_modules/lodash-es/isArrayLikeObject.js +6 -7
  1273. package/dist/node_modules/lodash-es/isBuffer.js +4 -6
  1274. package/dist/node_modules/lodash-es/isEmpty.js +17 -18
  1275. package/dist/node_modules/lodash-es/isFunction.js +9 -10
  1276. package/dist/node_modules/lodash-es/isLength.js +5 -6
  1277. package/dist/node_modules/lodash-es/isMap.js +5 -7
  1278. package/dist/node_modules/lodash-es/isObject.js +3 -4
  1279. package/dist/node_modules/lodash-es/isObjectLike.js +3 -4
  1280. package/dist/node_modules/lodash-es/isPlainObject.js +12 -13
  1281. package/dist/node_modules/lodash-es/isSet.js +5 -7
  1282. package/dist/node_modules/lodash-es/isString.js +8 -9
  1283. package/dist/node_modules/lodash-es/isSymbol.js +7 -8
  1284. package/dist/node_modules/lodash-es/isTypedArray.js +5 -7
  1285. package/dist/node_modules/lodash-es/isUndefined.js +3 -4
  1286. package/dist/node_modules/lodash-es/keys.js +7 -8
  1287. package/dist/node_modules/lodash-es/keysIn.js +7 -8
  1288. package/dist/node_modules/lodash-es/last.js +3 -4
  1289. package/dist/node_modules/lodash-es/map.js +8 -9
  1290. package/dist/node_modules/lodash-es/mapValues.js +8 -9
  1291. package/dist/node_modules/lodash-es/max.js +7 -8
  1292. package/dist/node_modules/lodash-es/memoize.js +8 -9
  1293. package/dist/node_modules/lodash-es/merge.js +5 -7
  1294. package/dist/node_modules/lodash-es/min.js +7 -8
  1295. package/dist/node_modules/lodash-es/minBy.js +7 -8
  1296. package/dist/node_modules/lodash-es/noop.js +3 -4
  1297. package/dist/node_modules/lodash-es/now.js +4 -6
  1298. package/dist/node_modules/lodash-es/pick.js +5 -7
  1299. package/dist/node_modules/lodash-es/property.js +8 -9
  1300. package/dist/node_modules/lodash-es/range.js +3 -5
  1301. package/dist/node_modules/lodash-es/reduce.js +10 -11
  1302. package/dist/node_modules/lodash-es/size.js +12 -13
  1303. package/dist/node_modules/lodash-es/sortBy.js +7 -9
  1304. package/dist/node_modules/lodash-es/stubArray.js +3 -4
  1305. package/dist/node_modules/lodash-es/stubFalse.js +3 -4
  1306. package/dist/node_modules/lodash-es/toFinite.js +6 -7
  1307. package/dist/node_modules/lodash-es/toInteger.js +5 -6
  1308. package/dist/node_modules/lodash-es/toNumber.js +13 -14
  1309. package/dist/node_modules/lodash-es/toPlainObject.js +6 -7
  1310. package/dist/node_modules/lodash-es/toString.js +5 -6
  1311. package/dist/node_modules/lodash-es/union.js +7 -9
  1312. package/dist/node_modules/lodash-es/uniqBy.js +6 -7
  1313. package/dist/node_modules/lodash-es/uniqueId.js +7 -8
  1314. package/dist/node_modules/lodash-es/values.js +6 -7
  1315. package/dist/node_modules/lodash-es/zipObject.js +6 -7
  1316. package/dist/node_modules/longest-streak/index.js +2 -4
  1317. package/dist/node_modules/markdown-table/index.js +9 -11
  1318. package/dist/node_modules/marked/lib/marked.esm.js +685 -687
  1319. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +12 -14
  1320. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +2 -4
  1321. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +180 -182
  1322. package/dist/node_modules/mdast-util-gfm/lib/index.js +18 -20
  1323. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +67 -69
  1324. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +45 -47
  1325. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +13 -15
  1326. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +28 -30
  1327. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +14 -16
  1328. package/dist/node_modules/mdast-util-math/lib/index.js +13 -15
  1329. package/dist/node_modules/mdast-util-phrasing/lib/index.js +3 -5
  1330. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +9 -11
  1331. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -4
  1332. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -4
  1333. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -4
  1334. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -4
  1335. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -4
  1336. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +4 -6
  1337. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -4
  1338. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -4
  1339. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +6 -8
  1340. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +4 -6
  1341. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +53 -55
  1342. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -4
  1343. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +6 -8
  1344. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +4 -6
  1345. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +13 -15
  1346. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -4
  1347. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -4
  1348. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -4
  1349. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -4
  1350. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -4
  1351. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -4
  1352. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +4 -6
  1353. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +4 -6
  1354. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -4
  1355. package/dist/node_modules/mdast-util-to-hast/lib/index.js +6 -8
  1356. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -4
  1357. package/dist/node_modules/mdast-util-to-hast/lib/state.js +59 -61
  1358. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +4 -6
  1359. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +4 -6
  1360. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +16 -18
  1361. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +4 -6
  1362. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +12 -14
  1363. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +6 -8
  1364. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +4 -6
  1365. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +4 -6
  1366. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +6 -8
  1367. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +41 -43
  1368. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +5 -7
  1369. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +4 -6
  1370. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +9 -11
  1371. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +5 -7
  1372. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +10 -12
  1373. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +2 -4
  1374. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +4 -6
  1375. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +12 -14
  1376. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +2 -4
  1377. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +5 -7
  1378. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +2 -4
  1379. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +4 -6
  1380. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +2 -4
  1381. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +2 -4
  1382. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +2 -4
  1383. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +2 -4
  1384. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +2 -4
  1385. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +2 -4
  1386. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +2 -4
  1387. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +2 -4
  1388. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +2 -4
  1389. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +4 -6
  1390. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +2 -4
  1391. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +7 -8
  1392. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +4 -6
  1393. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +4 -6
  1394. package/dist/node_modules/mdast-util-to-string/lib/index.js +12 -14
  1395. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +374 -378
  1396. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +1347 -1349
  1397. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AHTNJAMY.js +549 -555
  1398. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +38 -40
  1399. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +7 -9
  1400. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +4 -6
  1401. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4TB4RGXK.js +198 -204
  1402. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +5 -7
  1403. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +2345 -2347
  1404. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +253 -257
  1405. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +20 -22
  1406. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +35 -37
  1407. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +15 -17
  1408. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +344 -346
  1409. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -5
  1410. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +718 -746
  1411. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +588 -594
  1412. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +4 -8
  1413. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +204 -206
  1414. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +37 -39
  1415. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +891 -893
  1416. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +37 -39
  1417. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +13 -15
  1418. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +9 -11
  1419. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +9 -11
  1420. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +114 -116
  1421. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +188 -190
  1422. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +70 -72
  1423. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +185 -189
  1424. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +154 -156
  1425. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +72 -76
  1426. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-SMLLAGMA.js +75 -79
  1427. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-DWJPFMVM.js +896 -900
  1428. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +685 -687
  1429. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +569 -571
  1430. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +15 -17
  1431. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +304 -308
  1432. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +377 -379
  1433. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-6JOO6SKY.js +114 -116
  1434. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-QFDTVHPH.js +87 -91
  1435. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +94 -96
  1436. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-34T5L4WZ.js +273 -279
  1437. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-MS252O5E.js +59 -63
  1438. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +202 -212
  1439. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +564 -568
  1440. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +155 -157
  1441. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +9 -11
  1442. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +559 -561
  1443. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +370 -372
  1444. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +450 -454
  1445. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +658 -680
  1446. package/dist/node_modules/mermaid/dist/mermaid.core.js +430 -434
  1447. package/dist/node_modules/micromark/lib/constructs.js +79 -80
  1448. package/dist/node_modules/micromark/lib/create-tokenizer.js +12 -14
  1449. package/dist/node_modules/micromark/lib/initialize/content.js +7 -9
  1450. package/dist/node_modules/micromark/lib/initialize/document.js +14 -15
  1451. package/dist/node_modules/micromark/lib/initialize/flow.js +7 -9
  1452. package/dist/node_modules/micromark/lib/initialize/text.js +6 -8
  1453. package/dist/node_modules/micromark/lib/parse.js +18 -20
  1454. package/dist/node_modules/micromark/lib/postprocess.js +4 -6
  1455. package/dist/node_modules/micromark/lib/preprocess.js +4 -6
  1456. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +18 -20
  1457. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +15 -17
  1458. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +9 -11
  1459. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +13 -15
  1460. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +6 -8
  1461. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +14 -16
  1462. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +21 -22
  1463. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +15 -16
  1464. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +11 -13
  1465. package/dist/node_modules/micromark-core-commonmark/lib/content.js +17 -18
  1466. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +29 -30
  1467. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +6 -8
  1468. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +13 -15
  1469. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +67 -68
  1470. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +64 -66
  1471. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +111 -112
  1472. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +6 -8
  1473. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +6 -8
  1474. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +6 -8
  1475. package/dist/node_modules/micromark-core-commonmark/lib/list.js +31 -32
  1476. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +10 -12
  1477. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +9 -11
  1478. package/dist/node_modules/micromark-extension-gfm/index.js +14 -16
  1479. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +120 -122
  1480. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +31 -33
  1481. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +9 -11
  1482. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +4 -6
  1483. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +2 -4
  1484. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +34 -36
  1485. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +18 -20
  1486. package/dist/node_modules/micromark-extension-math/lib/math-flow.js +20 -21
  1487. package/dist/node_modules/micromark-extension-math/lib/math-text.js +9 -11
  1488. package/dist/node_modules/micromark-extension-math/lib/syntax.js +6 -8
  1489. package/dist/node_modules/micromark-factory-destination/index.js +8 -10
  1490. package/dist/node_modules/micromark-factory-label/index.js +5 -7
  1491. package/dist/node_modules/micromark-factory-space/index.js +5 -7
  1492. package/dist/node_modules/micromark-factory-title/index.js +6 -8
  1493. package/dist/node_modules/micromark-factory-whitespace/index.js +5 -7
  1494. package/dist/node_modules/micromark-util-character/index.js +12 -14
  1495. package/dist/node_modules/micromark-util-chunked/index.js +4 -6
  1496. package/dist/node_modules/micromark-util-classify-character/index.js +5 -7
  1497. package/dist/node_modules/micromark-util-combine-extensions/index.js +11 -13
  1498. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -4
  1499. package/dist/node_modules/micromark-util-decode-string/index.js +9 -11
  1500. package/dist/node_modules/micromark-util-html-tag-name/index.js +2 -4
  1501. package/dist/node_modules/micromark-util-normalize-identifier/index.js +2 -4
  1502. package/dist/node_modules/micromark-util-resolve-all/index.js +2 -4
  1503. package/dist/node_modules/micromark-util-sanitize-uri/index.js +4 -6
  1504. package/dist/node_modules/micromark-util-subtokenize/index.js +8 -10
  1505. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +8 -10
  1506. package/dist/node_modules/motion/dist/es/react.js +2 -2
  1507. package/dist/node_modules/nanoid/index.browser.js +4 -6
  1508. package/dist/node_modules/nanoid/url-alphabet/index.js +2 -4
  1509. package/dist/node_modules/property-information/index.js +23 -25
  1510. package/dist/node_modules/property-information/lib/aria.js +39 -41
  1511. package/dist/node_modules/property-information/lib/find.js +16 -18
  1512. package/dist/node_modules/property-information/lib/hast-to-react.js +2 -4
  1513. package/dist/node_modules/property-information/lib/html.js +94 -96
  1514. package/dist/node_modules/property-information/lib/normalize.js +2 -4
  1515. package/dist/node_modules/property-information/lib/svg.js +77 -79
  1516. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +4 -6
  1517. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -4
  1518. package/dist/node_modules/property-information/lib/util/create.js +8 -10
  1519. package/dist/node_modules/property-information/lib/util/defined-info.js +11 -13
  1520. package/dist/node_modules/property-information/lib/util/info.js +3 -5
  1521. package/dist/node_modules/property-information/lib/util/merge.js +4 -6
  1522. package/dist/node_modules/property-information/lib/util/schema.js +3 -5
  1523. package/dist/node_modules/property-information/lib/util/types.js +14 -15
  1524. package/dist/node_modules/property-information/lib/xlink.js +3 -5
  1525. package/dist/node_modules/property-information/lib/xml.js +3 -5
  1526. package/dist/node_modules/property-information/lib/xmlns.js +5 -7
  1527. package/dist/node_modules/rehype-harden/dist/index.js +45 -47
  1528. package/dist/node_modules/rehype-katex/lib/index.js +23 -25
  1529. package/dist/node_modules/rehype-raw/lib/index.js +4 -6
  1530. package/dist/node_modules/rehype-sanitize/lib/index.js +4 -6
  1531. package/dist/node_modules/remark-gfm/lib/index.js +7 -9
  1532. package/dist/node_modules/remark-math/lib/index.js +7 -9
  1533. package/dist/node_modules/remark-parse/lib/index.js +4 -6
  1534. package/dist/node_modules/remark-rehype/lib/index.js +5 -7
  1535. package/dist/node_modules/remend/dist/index.js +324 -326
  1536. package/dist/node_modules/roughjs/bundled/rough.esm.js +875 -877
  1537. package/dist/node_modules/shiki/dist/bundle-full.js +12 -13
  1538. package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +8 -10
  1539. package/dist/node_modules/shiki/dist/engine-oniguruma.js +5 -7
  1540. package/dist/node_modules/shiki/dist/langs-bundle-full-DfKZStlK.js +5 -7
  1541. package/dist/node_modules/shiki/dist/themes.js +3 -5
  1542. package/dist/node_modules/shiki/dist/wasm.js +2 -2
  1543. package/dist/node_modules/space-separated-tokens/index.js +3 -5
  1544. package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +699 -701
  1545. package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +8 -10
  1546. package/dist/node_modules/streamdown/dist/index.js +1 -1
  1547. package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +2 -2
  1548. package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +712 -709
  1549. package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +2 -4
  1550. package/dist/node_modules/stringify-entities/lib/core.js +16 -18
  1551. package/dist/node_modules/stringify-entities/lib/index.js +5 -7
  1552. package/dist/node_modules/stringify-entities/lib/util/format-smart.js +8 -10
  1553. package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +4 -6
  1554. package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +4 -6
  1555. package/dist/node_modules/stringify-entities/lib/util/to-named.js +12 -14
  1556. package/dist/node_modules/style-to-js/cjs/index.js +7 -9
  1557. package/dist/node_modules/style-to-js/cjs/utilities.js +4 -6
  1558. package/dist/node_modules/style-to-object/cjs/index.js +6 -8
  1559. package/dist/node_modules/stylis/src/Enum.js +2 -4
  1560. package/dist/node_modules/stylis/src/Parser.js +36 -38
  1561. package/dist/node_modules/stylis/src/Serializer.js +15 -17
  1562. package/dist/node_modules/stylis/src/Tokenizer.js +51 -53
  1563. package/dist/node_modules/stylis/src/Utility.js +15 -17
  1564. package/dist/node_modules/trim-lines/index.js +8 -10
  1565. package/dist/node_modules/trough/lib/index.js +4 -6
  1566. package/dist/node_modules/ts-dedent/esm/index.js +2 -4
  1567. package/dist/node_modules/unified/lib/callable-instance.js +2 -4
  1568. package/dist/node_modules/unified/lib/index.js +101 -102
  1569. package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +2 -4
  1570. package/dist/node_modules/unist-util-find-after/lib/index.js +4 -6
  1571. package/dist/node_modules/unist-util-is/lib/index.js +29 -31
  1572. package/dist/node_modules/unist-util-position/lib/index.js +5 -7
  1573. package/dist/node_modules/unist-util-stringify-position/lib/index.js +8 -10
  1574. package/dist/node_modules/unist-util-visit/lib/index.js +4 -6
  1575. package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -4
  1576. package/dist/node_modules/unist-util-visit-parents/lib/index.js +20 -21
  1577. package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -3
  1578. package/dist/node_modules/uuid/dist/esm-browser/rng.js +6 -8
  1579. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +5 -7
  1580. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -10
  1581. package/dist/node_modules/vaul/dist/index.js +274 -276
  1582. package/dist/node_modules/vfile/lib/index.js +42 -44
  1583. package/dist/node_modules/vfile/lib/minpath.browser.js +20 -22
  1584. package/dist/node_modules/vfile/lib/minproc.browser.js +3 -5
  1585. package/dist/node_modules/vfile/lib/minurl.browser.js +6 -8
  1586. package/dist/node_modules/vfile/lib/minurl.shared.js +2 -4
  1587. package/dist/node_modules/vfile-location/lib/index.js +5 -7
  1588. package/dist/node_modules/vfile-message/lib/index.js +5 -7
  1589. package/dist/node_modules/vscode-jsonrpc/browser.js +6 -8
  1590. package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +9 -11
  1591. package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +6 -8
  1592. package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +26 -28
  1593. package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +15 -17
  1594. package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +11 -13
  1595. package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +4 -6
  1596. package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +6 -8
  1597. package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +4 -6
  1598. package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +4 -6
  1599. package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +4 -6
  1600. package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +9 -11
  1601. package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +29 -31
  1602. package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +6 -8
  1603. package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +4 -6
  1604. package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +6 -8
  1605. package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +6 -8
  1606. package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +8 -10
  1607. package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +21 -23
  1608. package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +6 -8
  1609. package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +6 -8
  1610. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +6 -8
  1611. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +6 -8
  1612. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +6 -8
  1613. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +6 -8
  1614. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +12 -14
  1615. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +6 -8
  1616. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +6 -8
  1617. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +6 -8
  1618. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +6 -8
  1619. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +6 -8
  1620. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +6 -8
  1621. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +53 -55
  1622. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +6 -8
  1623. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +6 -8
  1624. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +8 -10
  1625. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +10 -12
  1626. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +6 -8
  1627. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +6 -8
  1628. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +6 -8
  1629. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +6 -8
  1630. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +6 -8
  1631. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +6 -8
  1632. package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +4 -6
  1633. package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +19 -21
  1634. package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +847 -849
  1635. package/dist/node_modules/vscode-uri/lib/esm/index.js +4 -6
  1636. package/dist/node_modules/web-namespaces/index.js +2 -4
  1637. package/dist/node_modules/zwitch/index.js +5 -7
  1638. package/dist/packages/contracts/dist/enums/index.js +12 -14
  1639. package/dist/packages/contracts/dist/enums/registry.enum.js +4 -6
  1640. package/dist/packages/contracts/dist/enums/sort-order.enum.js +4 -6
  1641. package/dist/packages/contracts/dist/enums/user-type.enum.js +4 -6
  1642. package/dist/packages/contracts/dist/enums/workflow-state.enum.js +4 -6
  1643. package/dist/pages/DashboardPage.js +78 -59
  1644. package/dist/pages/DebugPage.js +17 -12
  1645. package/dist/pages/DebugWorkflowDetailsPage.js +105 -91
  1646. package/dist/pages/DebugWorkflowsPage.js +162 -125
  1647. package/dist/pages/EmbedWorkbenchPage.js +63 -48
  1648. package/dist/pages/PreviewWorkbenchPage.js +370 -271
  1649. package/dist/pages/RunsListPage.js +46 -43
  1650. package/dist/pages/RunsPage.js +33 -31
  1651. package/dist/pages/StudioLandingPage.js +132 -97
  1652. package/dist/pages/WorkbenchPage.js +65 -57
  1653. package/dist/pages/WorkflowDebugPage.js +96 -74
  1654. package/dist/pages/WorkspacePage.js +88 -72
  1655. package/dist/pages/WorkspaceRunsPage.js +75 -43
  1656. package/dist/pages/WorkspacesPage.js +17 -22
  1657. package/dist/providers/ComponentOverridesProvider.js +12 -9
  1658. package/dist/providers/InvalidationEventsProvider.js +35 -33
  1659. package/dist/providers/QueryProvider.js +18 -14
  1660. package/dist/providers/SseProvider.js +29 -28
  1661. package/dist/providers/StudioPreferencesProvider.js +54 -0
  1662. package/dist/providers/StudioProvider.js +19 -14
  1663. package/dist/routing/LocalRouter.js +9 -6
  1664. package/dist/services/createApiClient.js +5 -7
  1665. package/dist/services/eventEmitter.js +2 -3
  1666. package/dist/services/index.js +2 -2
  1667. package/dist/types/ai.types.js +5 -7
  1668. package/package.json +8 -8
  1669. package/dist/_virtual/_rolldown/runtime.js +0 -20
  1670. package/dist/features/documents/renderers/SecretInputRenderer.js +0 -89
  1671. package/dist/features/workbench/components/RemoteFileTabsBar.js +0 -19
  1672. package/dist/features/workbench/components/RemoteFileTree.js +0 -59
  1673. package/dist/features/workbench/components/WorkbenchFilesPanel.js +0 -56
  1674. package/dist/features/workbench/components/WorkbenchFloatingPanel.js +0 -40
  1675. package/dist/features/workbench/components/WorkbenchFlowPanel.js +0 -38
  1676. package/dist/features/workbench/components/WorkbenchSecretsPanel.js +0 -153
  1677. package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +0 -145
  1678. package/dist/frontend/studio/node_modules/lodash/_Symbol.js +0 -9
  1679. package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +0 -15
  1680. package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +0 -13
  1681. package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +0 -8
  1682. package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +0 -19
  1683. package/dist/frontend/studio/node_modules/lodash/_objectToString.js +0 -12
  1684. package/dist/frontend/studio/node_modules/lodash/_root.js +0 -10
  1685. package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +0 -13
  1686. package/dist/frontend/studio/node_modules/lodash/isObject.js +0 -12
  1687. package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +0 -11
  1688. package/dist/frontend/studio/node_modules/lodash/isSymbol.js +0 -14
  1689. package/dist/frontend/studio/node_modules/lodash/now.js +0 -12
  1690. package/dist/frontend/studio/node_modules/lodash/toNumber.js +0 -24
  1691. package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +0 -1867
@@ -1,5 +1,4 @@
1
- //#region ../../node_modules/marked/lib/marked.esm.js
2
- function e() {
1
+ function L() {
3
2
  return {
4
3
  async: !1,
5
4
  breaks: !1,
@@ -13,28 +12,28 @@ function e() {
13
12
  walkTokens: null
14
13
  };
15
14
  }
16
- var t = e();
17
- function n(e) {
18
- t = e;
15
+ var T = L();
16
+ function G(e) {
17
+ T = e;
19
18
  }
20
- var r = { exec: () => null };
21
- function i(e, t = "") {
22
- let n = typeof e == "string" ? e : e.source, r = {
23
- replace: (e, t) => {
24
- let i = typeof t == "string" ? t : t.source;
25
- return i = i.replace(o.caret, "$1"), n = n.replace(e, i), r;
19
+ var E = { exec: () => null };
20
+ function d(e, l = "") {
21
+ let u = typeof e == "string" ? e : e.source, f = {
22
+ replace: (e, l) => {
23
+ let p = typeof l == "string" ? l : l.source;
24
+ return p = p.replace(m.caret, "$1"), u = u.replace(e, p), f;
26
25
  },
27
- getRegex: () => new RegExp(n, t)
26
+ getRegex: () => new RegExp(u, l)
28
27
  };
29
- return r;
28
+ return f;
30
29
  }
31
- var a = (() => {
30
+ var be = (() => {
32
31
  try {
33
32
  return !0;
34
33
  } catch {
35
34
  return !1;
36
35
  }
37
- })(), o = {
36
+ })(), m = {
38
37
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
39
38
  outputLinkReplace: /\\([\[\]])/g,
40
39
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -85,526 +84,526 @@ var a = (() => {
85
84
  spaceLine: /^ +$/gm,
86
85
  notSpaceStart: /^\S*/,
87
86
  endingNewline: /\n$/,
88
- listItemRegex: (e) => RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
89
- nextBulletRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),
90
- hrRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),
91
- fencesBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`),
92
- headingBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
87
+ listItemRegex: (e) => /* @__PURE__ */ RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
88
+ nextBulletRegex: (e) => /* @__PURE__ */ RegExp(`^ {0,${Math.min(3, e - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),
89
+ hrRegex: (e) => /* @__PURE__ */ RegExp(`^ {0,${Math.min(3, e - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),
90
+ fencesBeginRegex: (e) => /* @__PURE__ */ RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`),
91
+ headingBeginRegex: (e) => /* @__PURE__ */ RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
93
92
  htmlBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i")
94
- }, s = /^(?:[ \t]*(?:\n|$))+/, c = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, l = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, u = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, d = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, f = /(?:[*+-]|\d{1,9}[.)])/, p = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, m = i(p).replace(/bull/g, f).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), h = i(p).replace(/bull/g, f).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), g = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ee = /^[^\n]+/, _ = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, te = i(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", _).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), ne = i(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, f).getRegex(), v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", y = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, re = i("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", y).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), b = i(g).replace("hr", u).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), x = {
95
- blockquote: i(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", b).getRegex(),
96
- code: c,
97
- def: te,
98
- fences: l,
99
- heading: d,
100
- hr: u,
101
- html: re,
102
- lheading: m,
103
- list: ne,
104
- newline: s,
105
- paragraph: b,
106
- table: r,
107
- text: ee
108
- }, S = i("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", u).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), ie = {
109
- ...x,
110
- lheading: h,
111
- table: S,
112
- paragraph: i(g).replace("hr", u).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", S).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex()
113
- }, ae = {
114
- ...x,
115
- html: i("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", y).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
93
+ }, Re = /^(?:[ \t]*(?:\n|$))+/, Te = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Oe = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, I = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, we = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = /(?:[*+-]|\d{1,9}[.)])/, ie = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = d(ie).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), ye = d(ie).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), j = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pe = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Se = d(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), $e = d(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, _e = d("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ae = d(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), K = {
94
+ blockquote: d(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ae).getRegex(),
95
+ code: Te,
96
+ def: Se,
97
+ fences: Oe,
98
+ heading: we,
99
+ hr: I,
100
+ html: _e,
101
+ lheading: oe,
102
+ list: $e,
103
+ newline: Re,
104
+ paragraph: ae,
105
+ table: E,
106
+ text: Pe
107
+ }, re = d("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), Me = {
108
+ ...K,
109
+ lheading: ye,
110
+ table: re,
111
+ paragraph: d(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex()
112
+ }, ze = {
113
+ ...K,
114
+ html: d("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", U).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
116
115
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
117
116
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
118
- fences: r,
117
+ fences: E,
119
118
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
120
- paragraph: i(g).replace("hr", u).replace("heading", " *#{1,6} *[^\n]").replace("lheading", m).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
121
- }, oe = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, C = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, w = /^( {2,}|\\)\n(?!\s*$)/, se = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, T = /[\p{P}\p{S}]/u, E = /[\s\p{P}\p{S}]/u, D = /[^\s\p{P}\p{S}]/u, ce = i(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, E).getRegex(), O = /(?!~)[\p{P}\p{S}]/u, le = /(?!~)[\s\p{P}\p{S}]/u, ue = /(?:[^\s\p{P}\p{S}]|~)/u, de = i(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", a ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), k = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, fe = i(k, "u").replace(/punct/g, T).getRegex(), pe = i(k, "u").replace(/punct/g, O).getRegex(), A = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", me = i(A, "gu").replace(/notPunctSpace/g, D).replace(/punctSpace/g, E).replace(/punct/g, T).getRegex(), he = i(A, "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, le).replace(/punct/g, O).getRegex(), ge = i("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, D).replace(/punctSpace/g, E).replace(/punct/g, T).getRegex(), _e = i(/\\(punct)/, "gu").replace(/punct/g, T).getRegex(), ve = i(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), ye = i(y).replace("(?:-->|$)", "-->").getRegex(), be = i("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", ye).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), j = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, M = i(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", j).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), N = i(/^!?\[(label)\]\[(ref)\]/).replace("label", j).replace("ref", _).getRegex(), P = i(/^!?\[(ref)\](?:\[\])?/).replace("ref", _).getRegex(), xe = i("reflink|nolink(?!\\()", "g").replace("reflink", N).replace("nolink", P).getRegex(), F = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, I = {
122
- _backpedal: r,
123
- anyPunctuation: _e,
124
- autolink: ve,
125
- blockSkip: de,
126
- br: w,
127
- code: C,
128
- del: r,
129
- emStrongLDelim: fe,
130
- emStrongRDelimAst: me,
131
- emStrongRDelimUnd: ge,
132
- escape: oe,
133
- link: M,
134
- nolink: P,
135
- punctuation: ce,
136
- reflink: N,
137
- reflinkSearch: xe,
138
- tag: be,
139
- text: se,
140
- url: r
141
- }, Se = {
142
- ...I,
143
- link: i(/^!?\[(label)\]\((.*?)\)/).replace("label", j).getRegex(),
144
- reflink: i(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", j).getRegex()
145
- }, L = {
146
- ...I,
147
- emStrongRDelimAst: he,
148
- emStrongLDelim: pe,
149
- url: i(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", F).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
119
+ paragraph: d(j).replace("hr", I).replace("heading", " *#{1,6} *[^\n]").replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
120
+ }, Ae = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ee = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le = /^( {2,}|\\)\n(?!\s*$)/, Ie = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ce = d(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), pe = /(?!~)[\p{P}\p{S}]/u, Be = /(?!~)[\s\p{P}\p{S}]/u, qe = /(?:[^\s\p{P}\p{S}]|~)/u, ve = d(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", be ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ce = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, De = d(ce, "u").replace(/punct/g, D).getRegex(), He = d(ce, "u").replace(/punct/g, pe).getRegex(), he = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ze = d(he, "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ge = d(he, "gu").replace(/notPunctSpace/g, qe).replace(/punctSpace/g, Be).replace(/punct/g, pe).getRegex(), Ne = d("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Fe = d(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), je = d(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Qe = d(U).replace("(?:-->|$)", "-->").getRegex(), Ue = d("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Qe).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ke = d(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), de = d(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), ke = d(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), We = d("reflink|nolink(?!\\()", "g").replace("reflink", de).replace("nolink", ke).getRegex(), se = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, X = {
121
+ _backpedal: E,
122
+ anyPunctuation: Fe,
123
+ autolink: je,
124
+ blockSkip: ve,
125
+ br: le,
126
+ code: Ee,
127
+ del: E,
128
+ emStrongLDelim: De,
129
+ emStrongRDelimAst: Ze,
130
+ emStrongRDelimUnd: Ne,
131
+ escape: Ae,
132
+ link: Ke,
133
+ nolink: ke,
134
+ punctuation: Ce,
135
+ reflink: de,
136
+ reflinkSearch: We,
137
+ tag: Ue,
138
+ text: Ie,
139
+ url: E
140
+ }, Xe = {
141
+ ...X,
142
+ link: d(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(),
143
+ reflink: d(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex()
144
+ }, N = {
145
+ ...X,
146
+ emStrongRDelimAst: Ge,
147
+ emStrongLDelim: He,
148
+ url: d(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", se).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
150
149
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
151
150
  del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
152
- text: i(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", F).getRegex()
153
- }, Ce = {
154
- ...L,
155
- br: i(w).replace("{2,}", "*").getRegex(),
156
- text: i(L.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
157
- }, R = {
158
- normal: x,
159
- gfm: ie,
160
- pedantic: ae
161
- }, z = {
162
- normal: I,
163
- gfm: L,
164
- breaks: Ce,
165
- pedantic: Se
166
- }, we = {
151
+ text: d(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", se).getRegex()
152
+ }, Je = {
153
+ ...N,
154
+ br: d(le).replace("{2,}", "*").getRegex(),
155
+ text: d(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
156
+ }, C = {
157
+ normal: K,
158
+ gfm: Me,
159
+ pedantic: ze
160
+ }, M = {
161
+ normal: X,
162
+ gfm: N,
163
+ breaks: Je,
164
+ pedantic: Xe
165
+ }, Ve = {
167
166
  "&": "&amp;",
168
167
  "<": "&lt;",
169
168
  ">": "&gt;",
170
169
  "\"": "&quot;",
171
170
  "'": "&#39;"
172
- }, B = (e) => we[e];
173
- function V(e, t) {
174
- if (t) {
175
- if (o.escapeTest.test(e)) return e.replace(o.escapeReplace, B);
176
- } else if (o.escapeTestNoEncode.test(e)) return e.replace(o.escapeReplaceNoEncode, B);
171
+ }, ge = (e) => Ve[e];
172
+ function w(e, l) {
173
+ if (l) {
174
+ if (m.escapeTest.test(e)) return e.replace(m.escapeReplace, ge);
175
+ } else if (m.escapeTestNoEncode.test(e)) return e.replace(m.escapeReplaceNoEncode, ge);
177
176
  return e;
178
177
  }
179
- function H(e) {
178
+ function J(e) {
180
179
  try {
181
- e = encodeURI(e).replace(o.percentDecode, "%");
180
+ e = encodeURI(e).replace(m.percentDecode, "%");
182
181
  } catch {
183
182
  return null;
184
183
  }
185
184
  return e;
186
185
  }
187
- function U(e, t) {
188
- let n = e.replace(o.findPipe, (e, t, n) => {
189
- let r = !1, i = t;
190
- for (; --i >= 0 && n[i] === "\\";) r = !r;
191
- return r ? "|" : " |";
192
- }).split(o.splitPipe), r = 0;
193
- if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) if (n.length > t) n.splice(t);
194
- else for (; n.length < t;) n.push("");
195
- for (; r < n.length; r++) n[r] = n[r].trim().replace(o.slashPipe, "|");
196
- return n;
186
+ function V(e, l) {
187
+ let u = e.replace(m.findPipe, (e, l, u) => {
188
+ let f = !1, p = l;
189
+ for (; --p >= 0 && u[p] === "\\";) f = !f;
190
+ return f ? "|" : " |";
191
+ }).split(m.splitPipe), f = 0;
192
+ if (u[0].trim() || u.shift(), u.length > 0 && !u.at(-1)?.trim() && u.pop(), l) if (u.length > l) u.splice(l);
193
+ else for (; u.length < l;) u.push("");
194
+ for (; f < u.length; f++) u[f] = u[f].trim().replace(m.slashPipe, "|");
195
+ return u;
197
196
  }
198
- function W(e, t, n) {
199
- let r = e.length;
200
- if (r === 0) return "";
201
- let i = 0;
202
- for (; i < r;) {
203
- let a = e.charAt(r - i - 1);
204
- if (a === t && !n) i++;
205
- else if (a !== t && n) i++;
197
+ function z(e, l, u) {
198
+ let f = e.length;
199
+ if (f === 0) return "";
200
+ let p = 0;
201
+ for (; p < f;) {
202
+ let h = e.charAt(f - p - 1);
203
+ if (h === l && !u) p++;
204
+ else if (h !== l && u) p++;
206
205
  else break;
207
206
  }
208
- return e.slice(0, r - i);
207
+ return e.slice(0, f - p);
209
208
  }
210
- function Te(e, t) {
211
- if (e.indexOf(t[1]) === -1) return -1;
212
- let n = 0;
213
- for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
214
- else if (e[r] === t[0]) n++;
215
- else if (e[r] === t[1] && (n--, n < 0)) return r;
216
- return n > 0 ? -2 : -1;
209
+ function fe(e, l) {
210
+ if (e.indexOf(l[1]) === -1) return -1;
211
+ let u = 0;
212
+ for (let f = 0; f < e.length; f++) if (e[f] === "\\") f++;
213
+ else if (e[f] === l[0]) u++;
214
+ else if (e[f] === l[1] && (u--, u < 0)) return f;
215
+ return u > 0 ? -2 : -1;
217
216
  }
218
- function G(e, t, n, r, i) {
219
- let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1");
220
- r.state.inLink = !0;
221
- let c = {
217
+ function me(e, l, u, f, p) {
218
+ let h = l.href, g = l.title || null, O = e[1].replace(p.other.outputLinkReplace, "$1");
219
+ f.state.inLink = !0;
220
+ let A = {
222
221
  type: e[0].charAt(0) === "!" ? "image" : "link",
223
- raw: n,
224
- href: a,
225
- title: o,
226
- text: s,
227
- tokens: r.inlineTokens(s)
222
+ raw: u,
223
+ href: h,
224
+ title: g,
225
+ text: O,
226
+ tokens: f.inlineTokens(O)
228
227
  };
229
- return r.state.inLink = !1, c;
228
+ return f.state.inLink = !1, A;
230
229
  }
231
- function Ee(e, t, n) {
232
- let r = e.match(n.other.indentCodeCompensation);
233
- if (r === null) return t;
234
- let i = r[1];
235
- return t.split("\n").map((e) => {
236
- let t = e.match(n.other.beginningSpace);
237
- if (t === null) return e;
238
- let [r] = t;
239
- return r.length >= i.length ? e.slice(i.length) : e;
230
+ function Ye(e, l, u) {
231
+ let f = e.match(u.other.indentCodeCompensation);
232
+ if (f === null) return l;
233
+ let p = f[1];
234
+ return l.split("\n").map((e) => {
235
+ let l = e.match(u.other.beginningSpace);
236
+ if (l === null) return e;
237
+ let [f] = l;
238
+ return f.length >= p.length ? e.slice(p.length) : e;
240
239
  }).join("\n");
241
240
  }
242
- var K = class {
241
+ var y = class {
243
242
  options;
244
243
  rules;
245
244
  lexer;
246
245
  constructor(e) {
247
- this.options = e || t;
246
+ this.options = e || T;
248
247
  }
249
248
  space(e) {
250
- let t = this.rules.block.newline.exec(e);
251
- if (t && t[0].length > 0) return {
249
+ let l = this.rules.block.newline.exec(e);
250
+ if (l && l[0].length > 0) return {
252
251
  type: "space",
253
- raw: t[0]
252
+ raw: l[0]
254
253
  };
255
254
  }
256
255
  code(e) {
257
- let t = this.rules.block.code.exec(e);
258
- if (t) {
259
- let e = t[0].replace(this.rules.other.codeRemoveIndent, "");
256
+ let l = this.rules.block.code.exec(e);
257
+ if (l) {
258
+ let e = l[0].replace(this.rules.other.codeRemoveIndent, "");
260
259
  return {
261
260
  type: "code",
262
- raw: t[0],
261
+ raw: l[0],
263
262
  codeBlockStyle: "indented",
264
- text: this.options.pedantic ? e : W(e, "\n")
263
+ text: this.options.pedantic ? e : z(e, "\n")
265
264
  };
266
265
  }
267
266
  }
268
267
  fences(e) {
269
- let t = this.rules.block.fences.exec(e);
270
- if (t) {
271
- let e = t[0], n = Ee(e, t[3] || "", this.rules);
268
+ let l = this.rules.block.fences.exec(e);
269
+ if (l) {
270
+ let e = l[0], u = Ye(e, l[3] || "", this.rules);
272
271
  return {
273
272
  type: "code",
274
273
  raw: e,
275
- lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2],
276
- text: n
274
+ lang: l[2] ? l[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : l[2],
275
+ text: u
277
276
  };
278
277
  }
279
278
  }
280
279
  heading(e) {
281
- let t = this.rules.block.heading.exec(e);
282
- if (t) {
283
- let e = t[2].trim();
280
+ let l = this.rules.block.heading.exec(e);
281
+ if (l) {
282
+ let e = l[2].trim();
284
283
  if (this.rules.other.endingHash.test(e)) {
285
- let t = W(e, "#");
286
- (this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
284
+ let l = z(e, "#");
285
+ (this.options.pedantic || !l || this.rules.other.endingSpaceChar.test(l)) && (e = l.trim());
287
286
  }
288
287
  return {
289
288
  type: "heading",
290
- raw: t[0],
291
- depth: t[1].length,
289
+ raw: l[0],
290
+ depth: l[1].length,
292
291
  text: e,
293
292
  tokens: this.lexer.inline(e)
294
293
  };
295
294
  }
296
295
  }
297
296
  hr(e) {
298
- let t = this.rules.block.hr.exec(e);
299
- if (t) return {
297
+ let l = this.rules.block.hr.exec(e);
298
+ if (l) return {
300
299
  type: "hr",
301
- raw: W(t[0], "\n")
300
+ raw: z(l[0], "\n")
302
301
  };
303
302
  }
304
303
  blockquote(e) {
305
- let t = this.rules.block.blockquote.exec(e);
306
- if (t) {
307
- let e = W(t[0], "\n").split("\n"), n = "", r = "", i = [];
304
+ let l = this.rules.block.blockquote.exec(e);
305
+ if (l) {
306
+ let e = z(l[0], "\n").split("\n"), u = "", f = "", p = [];
308
307
  for (; e.length > 0;) {
309
- let t = !1, a = [], o;
310
- for (o = 0; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
311
- else if (!t) a.push(e[o]);
308
+ let l = !1, h = [], g;
309
+ for (g = 0; g < e.length; g++) if (this.rules.other.blockquoteStart.test(e[g])) h.push(e[g]), l = !0;
310
+ else if (!l) h.push(e[g]);
312
311
  else break;
313
- e = e.slice(o);
314
- let s = a.join("\n"), c = s.replace(this.rules.other.blockquoteSetextReplace, "\n $1").replace(this.rules.other.blockquoteSetextReplace2, "");
315
- n = n ? `${n}
316
- ${s}` : s, r = r ? `${r}
317
- ${c}` : c;
318
- let l = this.lexer.state.top;
319
- if (this.lexer.state.top = !0, this.lexer.blockTokens(c, i, !0), this.lexer.state.top = l, e.length === 0) break;
320
- let u = i.at(-1);
321
- if (u?.type === "code") break;
322
- if (u?.type === "blockquote") {
323
- let t = u, a = t.raw + "\n" + e.join("\n"), o = this.blockquote(a);
324
- i[i.length - 1] = o, n = n.substring(0, n.length - t.raw.length) + o.raw, r = r.substring(0, r.length - t.text.length) + o.text;
312
+ e = e.slice(g);
313
+ let O = h.join("\n"), A = O.replace(this.rules.other.blockquoteSetextReplace, "\n $1").replace(this.rules.other.blockquoteSetextReplace2, "");
314
+ u = u ? `${u}
315
+ ${O}` : O, f = f ? `${f}
316
+ ${A}` : A;
317
+ let R = this.lexer.state.top;
318
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(A, p, !0), this.lexer.state.top = R, e.length === 0) break;
319
+ let B = p.at(-1);
320
+ if (B?.type === "code") break;
321
+ if (B?.type === "blockquote") {
322
+ let l = B, h = l.raw + "\n" + e.join("\n"), g = this.blockquote(h);
323
+ p[p.length - 1] = g, u = u.substring(0, u.length - l.raw.length) + g.raw, f = f.substring(0, f.length - l.text.length) + g.text;
325
324
  break;
326
- } else if (u?.type === "list") {
327
- let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
328
- i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i.at(-1).raw.length).split("\n");
325
+ } else if (B?.type === "list") {
326
+ let l = B, h = l.raw + "\n" + e.join("\n"), g = this.list(h);
327
+ p[p.length - 1] = g, u = u.substring(0, u.length - B.raw.length) + g.raw, f = f.substring(0, f.length - l.raw.length) + g.raw, e = h.substring(p.at(-1).raw.length).split("\n");
329
328
  continue;
330
329
  }
331
330
  }
332
331
  return {
333
332
  type: "blockquote",
334
- raw: n,
335
- tokens: i,
336
- text: r
333
+ raw: u,
334
+ tokens: p,
335
+ text: f
337
336
  };
338
337
  }
339
338
  }
340
339
  list(e) {
341
- let t = this.rules.block.list.exec(e);
342
- if (t) {
343
- let n = t[1].trim(), r = n.length > 1, i = {
340
+ let l = this.rules.block.list.exec(e);
341
+ if (l) {
342
+ let u = l[1].trim(), f = u.length > 1, p = {
344
343
  type: "list",
345
344
  raw: "",
346
- ordered: r,
347
- start: r ? +n.slice(0, -1) : "",
345
+ ordered: f,
346
+ start: f ? +u.slice(0, -1) : "",
348
347
  loose: !1,
349
348
  items: []
350
349
  };
351
- n = r ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r ? n : "[*+-]");
352
- let a = this.rules.other.listItemRegex(n), o = !1;
350
+ u = f ? `\\d{1,9}\\${u.slice(-1)}` : `\\${u}`, this.options.pedantic && (u = f ? u : "[*+-]");
351
+ let h = this.rules.other.listItemRegex(u), g = !1;
353
352
  for (; e;) {
354
- let n = !1, r = "", s = "";
355
- if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
356
- r = t[0], e = e.substring(r.length);
357
- let c = t[2].split("\n", 1)[0].replace(this.rules.other.listReplaceTabs, (e) => " ".repeat(3 * e.length)), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
358
- if (this.options.pedantic ? (d = 2, s = c.trimStart()) : u ? d = t[1].length + 1 : (d = t[2].search(this.rules.other.nonSpaceChar), d = d > 4 ? 1 : d, s = c.slice(d), d += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
359
- let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d);
353
+ let u = !1, f = "", O = "";
354
+ if (!(l = h.exec(e)) || this.rules.block.hr.test(e)) break;
355
+ f = l[0], e = e.substring(f.length);
356
+ let A = l[2].split("\n", 1)[0].replace(this.rules.other.listReplaceTabs, (e) => " ".repeat(3 * e.length)), R = e.split("\n", 1)[0], B = !A.trim(), H = 0;
357
+ if (this.options.pedantic ? (H = 2, O = A.trimStart()) : B ? H = l[1].length + 1 : (H = l[2].search(this.rules.other.nonSpaceChar), H = H > 4 ? 1 : H, O = A.slice(H), H += l[1].length), B && this.rules.other.blankLine.test(R) && (f += R + "\n", e = e.substring(R.length + 1), u = !0), !u) {
358
+ let l = this.rules.other.nextBulletRegex(H), u = this.rules.other.hrRegex(H), p = this.rules.other.fencesBeginRegex(H), h = this.rules.other.headingBeginRegex(H), g = this.rules.other.htmlBeginRegex(H);
360
359
  for (; e;) {
361
- let f = e.split("\n", 1)[0], p;
362
- if (l = f, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || t.test(l) || n.test(l)) break;
363
- if (p.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + p.slice(d);
360
+ let Y = e.split("\n", 1)[0], Z;
361
+ if (R = Y, this.options.pedantic ? (R = R.replace(this.rules.other.listReplaceNesting, " "), Z = R) : Z = R.replace(this.rules.other.tabCharGlobal, " "), p.test(R) || h.test(R) || g.test(R) || l.test(R) || u.test(R)) break;
362
+ if (Z.search(this.rules.other.nonSpaceChar) >= H || !R.trim()) O += "\n" + Z.slice(H);
364
363
  else {
365
- if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(c) || a.test(c) || n.test(c)) break;
366
- s += "\n" + l;
364
+ if (B || A.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || p.test(A) || h.test(A) || u.test(A)) break;
365
+ O += "\n" + R;
367
366
  }
368
- !u && !l.trim() && (u = !0), r += f + "\n", e = e.substring(f.length + 1), c = p.slice(d);
367
+ !B && !R.trim() && (B = !0), f += Y + "\n", e = e.substring(Y.length + 1), A = Z.slice(H);
369
368
  }
370
369
  }
371
- i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0));
372
- let f = null, p;
373
- this.options.gfm && (f = this.rules.other.listIsTask.exec(s), f && (p = f[0] !== "[ ] ", s = s.replace(this.rules.other.listReplaceTask, ""))), i.items.push({
370
+ p.loose || (g ? p.loose = !0 : this.rules.other.doubleBlankLine.test(f) && (g = !0));
371
+ let Y = null, Z;
372
+ this.options.gfm && (Y = this.rules.other.listIsTask.exec(O), Y && (Z = Y[0] !== "[ ] ", O = O.replace(this.rules.other.listReplaceTask, ""))), p.items.push({
374
373
  type: "list_item",
375
- raw: r,
376
- task: !!f,
377
- checked: p,
374
+ raw: f,
375
+ task: !!Y,
376
+ checked: Z,
378
377
  loose: !1,
379
- text: s,
378
+ text: O,
380
379
  tokens: []
381
- }), i.raw += r;
380
+ }), p.raw += f;
382
381
  }
383
- let s = i.items.at(-1);
384
- if (s) s.raw = s.raw.trimEnd(), s.text = s.text.trimEnd();
382
+ let O = p.items.at(-1);
383
+ if (O) O.raw = O.raw.trimEnd(), O.text = O.text.trimEnd();
385
384
  else return;
386
- i.raw = i.raw.trimEnd();
387
- for (let e = 0; e < i.items.length; e++) if (this.lexer.state.top = !1, i.items[e].tokens = this.lexer.blockTokens(i.items[e].text, []), !i.loose) {
388
- let t = i.items[e].tokens.filter((e) => e.type === "space");
389
- i.loose = t.length > 0 && t.some((e) => this.rules.other.anyLine.test(e.raw));
385
+ p.raw = p.raw.trimEnd();
386
+ for (let e = 0; e < p.items.length; e++) if (this.lexer.state.top = !1, p.items[e].tokens = this.lexer.blockTokens(p.items[e].text, []), !p.loose) {
387
+ let l = p.items[e].tokens.filter((e) => e.type === "space");
388
+ p.loose = l.length > 0 && l.some((e) => this.rules.other.anyLine.test(e.raw));
390
389
  }
391
- if (i.loose) for (let e = 0; e < i.items.length; e++) i.items[e].loose = !0;
392
- return i;
390
+ if (p.loose) for (let e = 0; e < p.items.length; e++) p.items[e].loose = !0;
391
+ return p;
393
392
  }
394
393
  }
395
394
  html(e) {
396
- let t = this.rules.block.html.exec(e);
397
- if (t) return {
395
+ let l = this.rules.block.html.exec(e);
396
+ if (l) return {
398
397
  type: "html",
399
398
  block: !0,
400
- raw: t[0],
401
- pre: t[1] === "pre" || t[1] === "script" || t[1] === "style",
402
- text: t[0]
399
+ raw: l[0],
400
+ pre: l[1] === "pre" || l[1] === "script" || l[1] === "style",
401
+ text: l[0]
403
402
  };
404
403
  }
405
404
  def(e) {
406
- let t = this.rules.block.def.exec(e);
407
- if (t) {
408
- let e = t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal, " "), n = t[2] ? t[2].replace(this.rules.other.hrefBrackets, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", r = t[3] ? t[3].substring(1, t[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : t[3];
405
+ let l = this.rules.block.def.exec(e);
406
+ if (l) {
407
+ let e = l[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal, " "), u = l[2] ? l[2].replace(this.rules.other.hrefBrackets, "$1").replace(this.rules.inline.anyPunctuation, "$1") : "", f = l[3] ? l[3].substring(1, l[3].length - 1).replace(this.rules.inline.anyPunctuation, "$1") : l[3];
409
408
  return {
410
409
  type: "def",
411
410
  tag: e,
412
- raw: t[0],
413
- href: n,
414
- title: r
411
+ raw: l[0],
412
+ href: u,
413
+ title: f
415
414
  };
416
415
  }
417
416
  }
418
417
  table(e) {
419
- let t = this.rules.block.table.exec(e);
420
- if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
421
- let n = U(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
418
+ let l = this.rules.block.table.exec(e);
419
+ if (!l || !this.rules.other.tableDelimiter.test(l[2])) return;
420
+ let u = V(l[1]), f = l[2].replace(this.rules.other.tableAlignChars, "").split("|"), p = l[3]?.trim() ? l[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], h = {
422
421
  type: "table",
423
- raw: t[0],
422
+ raw: l[0],
424
423
  header: [],
425
424
  align: [],
426
425
  rows: []
427
426
  };
428
- if (n.length === r.length) {
429
- for (let e of r) this.rules.other.tableAlignRight.test(e) ? a.align.push("right") : this.rules.other.tableAlignCenter.test(e) ? a.align.push("center") : this.rules.other.tableAlignLeft.test(e) ? a.align.push("left") : a.align.push(null);
430
- for (let e = 0; e < n.length; e++) a.header.push({
431
- text: n[e],
432
- tokens: this.lexer.inline(n[e]),
427
+ if (u.length === f.length) {
428
+ for (let e of f) this.rules.other.tableAlignRight.test(e) ? h.align.push("right") : this.rules.other.tableAlignCenter.test(e) ? h.align.push("center") : this.rules.other.tableAlignLeft.test(e) ? h.align.push("left") : h.align.push(null);
429
+ for (let e = 0; e < u.length; e++) h.header.push({
430
+ text: u[e],
431
+ tokens: this.lexer.inline(u[e]),
433
432
  header: !0,
434
- align: a.align[e]
433
+ align: h.align[e]
435
434
  });
436
- for (let e of i) a.rows.push(U(e, a.header.length).map((e, t) => ({
435
+ for (let e of p) h.rows.push(V(e, h.header.length).map((e, l) => ({
437
436
  text: e,
438
437
  tokens: this.lexer.inline(e),
439
438
  header: !1,
440
- align: a.align[t]
439
+ align: h.align[l]
441
440
  })));
442
- return a;
441
+ return h;
443
442
  }
444
443
  }
445
444
  lheading(e) {
446
- let t = this.rules.block.lheading.exec(e);
447
- if (t) return {
445
+ let l = this.rules.block.lheading.exec(e);
446
+ if (l) return {
448
447
  type: "heading",
449
- raw: t[0],
450
- depth: t[2].charAt(0) === "=" ? 1 : 2,
451
- text: t[1],
452
- tokens: this.lexer.inline(t[1])
448
+ raw: l[0],
449
+ depth: l[2].charAt(0) === "=" ? 1 : 2,
450
+ text: l[1],
451
+ tokens: this.lexer.inline(l[1])
453
452
  };
454
453
  }
455
454
  paragraph(e) {
456
- let t = this.rules.block.paragraph.exec(e);
457
- if (t) {
458
- let e = t[1].charAt(t[1].length - 1) === "\n" ? t[1].slice(0, -1) : t[1];
455
+ let l = this.rules.block.paragraph.exec(e);
456
+ if (l) {
457
+ let e = l[1].charAt(l[1].length - 1) === "\n" ? l[1].slice(0, -1) : l[1];
459
458
  return {
460
459
  type: "paragraph",
461
- raw: t[0],
460
+ raw: l[0],
462
461
  text: e,
463
462
  tokens: this.lexer.inline(e)
464
463
  };
465
464
  }
466
465
  }
467
466
  text(e) {
468
- let t = this.rules.block.text.exec(e);
469
- if (t) return {
467
+ let l = this.rules.block.text.exec(e);
468
+ if (l) return {
470
469
  type: "text",
471
- raw: t[0],
472
- text: t[0],
473
- tokens: this.lexer.inline(t[0])
470
+ raw: l[0],
471
+ text: l[0],
472
+ tokens: this.lexer.inline(l[0])
474
473
  };
475
474
  }
476
475
  escape(e) {
477
- let t = this.rules.inline.escape.exec(e);
478
- if (t) return {
476
+ let l = this.rules.inline.escape.exec(e);
477
+ if (l) return {
479
478
  type: "escape",
480
- raw: t[0],
481
- text: t[1]
479
+ raw: l[0],
480
+ text: l[1]
482
481
  };
483
482
  }
484
483
  tag(e) {
485
- let t = this.rules.inline.tag.exec(e);
486
- if (t) return !this.lexer.state.inLink && this.rules.other.startATag.test(t[0]) ? this.lexer.state.inLink = !0 : this.lexer.state.inLink && this.rules.other.endATag.test(t[0]) && (this.lexer.state.inLink = !1), !this.lexer.state.inRawBlock && this.rules.other.startPreScriptTag.test(t[0]) ? this.lexer.state.inRawBlock = !0 : this.lexer.state.inRawBlock && this.rules.other.endPreScriptTag.test(t[0]) && (this.lexer.state.inRawBlock = !1), {
484
+ let l = this.rules.inline.tag.exec(e);
485
+ if (l) return !this.lexer.state.inLink && this.rules.other.startATag.test(l[0]) ? this.lexer.state.inLink = !0 : this.lexer.state.inLink && this.rules.other.endATag.test(l[0]) && (this.lexer.state.inLink = !1), !this.lexer.state.inRawBlock && this.rules.other.startPreScriptTag.test(l[0]) ? this.lexer.state.inRawBlock = !0 : this.lexer.state.inRawBlock && this.rules.other.endPreScriptTag.test(l[0]) && (this.lexer.state.inRawBlock = !1), {
487
486
  type: "html",
488
- raw: t[0],
487
+ raw: l[0],
489
488
  inLink: this.lexer.state.inLink,
490
489
  inRawBlock: this.lexer.state.inRawBlock,
491
490
  block: !1,
492
- text: t[0]
491
+ text: l[0]
493
492
  };
494
493
  }
495
494
  link(e) {
496
- let t = this.rules.inline.link.exec(e);
497
- if (t) {
498
- let e = t[2].trim();
495
+ let l = this.rules.inline.link.exec(e);
496
+ if (l) {
497
+ let e = l[2].trim();
499
498
  if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
500
499
  if (!this.rules.other.endAngleBracket.test(e)) return;
501
- let t = W(e.slice(0, -1), "\\");
502
- if ((e.length - t.length) % 2 == 0) return;
500
+ let l = z(e.slice(0, -1), "\\");
501
+ if ((e.length - l.length) % 2 == 0) return;
503
502
  } else {
504
- let e = Te(t[2], "()");
503
+ let e = fe(l[2], "()");
505
504
  if (e === -2) return;
506
505
  if (e > -1) {
507
- let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
508
- t[2] = t[2].substring(0, e), t[0] = t[0].substring(0, n).trim(), t[3] = "";
506
+ let u = (l[0].indexOf("!") === 0 ? 5 : 4) + l[1].length + e;
507
+ l[2] = l[2].substring(0, e), l[0] = l[0].substring(0, u).trim(), l[3] = "";
509
508
  }
510
509
  }
511
- let n = t[2], r = "";
510
+ let u = l[2], f = "";
512
511
  if (this.options.pedantic) {
513
- let e = this.rules.other.pedanticHrefTitle.exec(n);
514
- e && (n = e[1], r = e[3]);
515
- } else r = t[3] ? t[3].slice(1, -1) : "";
516
- return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), G(t, {
517
- href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
518
- title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
519
- }, t[0], this.lexer, this.rules);
512
+ let e = this.rules.other.pedanticHrefTitle.exec(u);
513
+ e && (u = e[1], f = e[3]);
514
+ } else f = l[3] ? l[3].slice(1, -1) : "";
515
+ return u = u.trim(), this.rules.other.startAngleBracket.test(u) && (u = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? u.slice(1) : u.slice(1, -1)), me(l, {
516
+ href: u && u.replace(this.rules.inline.anyPunctuation, "$1"),
517
+ title: f && f.replace(this.rules.inline.anyPunctuation, "$1")
518
+ }, l[0], this.lexer, this.rules);
520
519
  }
521
520
  }
522
- reflink(e, t) {
523
- let n;
524
- if ((n = this.rules.inline.reflink.exec(e)) || (n = this.rules.inline.nolink.exec(e))) {
525
- let e = t[(n[2] || n[1]).replace(this.rules.other.multipleSpaceGlobal, " ").toLowerCase()];
521
+ reflink(e, l) {
522
+ let u;
523
+ if ((u = this.rules.inline.reflink.exec(e)) || (u = this.rules.inline.nolink.exec(e))) {
524
+ let e = l[(u[2] || u[1]).replace(this.rules.other.multipleSpaceGlobal, " ").toLowerCase()];
526
525
  if (!e) {
527
- let e = n[0].charAt(0);
526
+ let e = u[0].charAt(0);
528
527
  return {
529
528
  type: "text",
530
529
  raw: e,
531
530
  text: e
532
531
  };
533
532
  }
534
- return G(n, e, n[0], this.lexer, this.rules);
533
+ return me(u, e, u[0], this.lexer, this.rules);
535
534
  }
536
535
  }
537
- emStrong(e, t, n = "") {
538
- let r = this.rules.inline.emStrongLDelim.exec(e);
539
- if (!(!r || r[3] && n.match(this.rules.other.unicodeAlphaNumeric)) && (!(r[1] || r[2]) || !n || this.rules.inline.punctuation.exec(n))) {
540
- let n = [...r[0]].length - 1, i, a, o = n, s = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
541
- for (c.lastIndex = 0, t = t.slice(-1 * e.length + n); (r = c.exec(t)) != null;) {
542
- if (i = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !i) continue;
543
- if (a = [...i].length, r[3] || r[4]) {
544
- o += a;
536
+ emStrong(e, l, u = "") {
537
+ let f = this.rules.inline.emStrongLDelim.exec(e);
538
+ if (!(!f || f[3] && u.match(this.rules.other.unicodeAlphaNumeric)) && (!(f[1] || f[2]) || !u || this.rules.inline.punctuation.exec(u))) {
539
+ let u = [...f[0]].length - 1, p, h, g = u, O = 0, A = f[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
540
+ for (A.lastIndex = 0, l = l.slice(-1 * e.length + u); (f = A.exec(l)) != null;) {
541
+ if (p = f[1] || f[2] || f[3] || f[4] || f[5] || f[6], !p) continue;
542
+ if (h = [...p].length, f[3] || f[4]) {
543
+ g += h;
545
544
  continue;
546
- } else if ((r[5] || r[6]) && n % 3 && !((n + a) % 3)) {
547
- s += a;
545
+ } else if ((f[5] || f[6]) && u % 3 && !((u + h) % 3)) {
546
+ O += h;
548
547
  continue;
549
548
  }
550
- if (o -= a, o > 0) continue;
551
- a = Math.min(a, a + o + s);
552
- let t = [...r[0]][0].length, c = e.slice(0, n + r.index + t + a);
553
- if (Math.min(n, a) % 2) {
554
- let e = c.slice(1, -1);
549
+ if (g -= h, g > 0) continue;
550
+ h = Math.min(h, h + g + O);
551
+ let l = [...f[0]][0].length, A = e.slice(0, u + f.index + l + h);
552
+ if (Math.min(u, h) % 2) {
553
+ let e = A.slice(1, -1);
555
554
  return {
556
555
  type: "em",
557
- raw: c,
556
+ raw: A,
558
557
  text: e,
559
558
  tokens: this.lexer.inlineTokens(e)
560
559
  };
561
560
  }
562
- let l = c.slice(2, -2);
561
+ let R = A.slice(2, -2);
563
562
  return {
564
563
  type: "strong",
565
- raw: c,
566
- text: l,
567
- tokens: this.lexer.inlineTokens(l)
564
+ raw: A,
565
+ text: R,
566
+ tokens: this.lexer.inlineTokens(R)
568
567
  };
569
568
  }
570
569
  }
571
570
  }
572
571
  codespan(e) {
573
- let t = this.rules.inline.code.exec(e);
574
- if (t) {
575
- let e = t[2].replace(this.rules.other.newLineCharGlobal, " "), n = this.rules.other.nonSpaceChar.test(e), r = this.rules.other.startingSpaceChar.test(e) && this.rules.other.endingSpaceChar.test(e);
576
- return n && r && (e = e.substring(1, e.length - 1)), {
572
+ let l = this.rules.inline.code.exec(e);
573
+ if (l) {
574
+ let e = l[2].replace(this.rules.other.newLineCharGlobal, " "), u = this.rules.other.nonSpaceChar.test(e), f = this.rules.other.startingSpaceChar.test(e) && this.rules.other.endingSpaceChar.test(e);
575
+ return u && f && (e = e.substring(1, e.length - 1)), {
577
576
  type: "codespan",
578
- raw: t[0],
577
+ raw: l[0],
579
578
  text: e
580
579
  };
581
580
  }
582
581
  }
583
582
  br(e) {
584
- let t = this.rules.inline.br.exec(e);
585
- if (t) return {
583
+ let l = this.rules.inline.br.exec(e);
584
+ if (l) return {
586
585
  type: "br",
587
- raw: t[0]
586
+ raw: l[0]
588
587
  };
589
588
  }
590
589
  del(e) {
591
- let t = this.rules.inline.del.exec(e);
592
- if (t) return {
590
+ let l = this.rules.inline.del.exec(e);
591
+ if (l) return {
593
592
  type: "del",
594
- raw: t[0],
595
- text: t[2],
596
- tokens: this.lexer.inlineTokens(t[2])
593
+ raw: l[0],
594
+ text: l[2],
595
+ tokens: this.lexer.inlineTokens(l[2])
597
596
  };
598
597
  }
599
598
  autolink(e) {
600
- let t = this.rules.inline.autolink.exec(e);
601
- if (t) {
602
- let e, n;
603
- return t[2] === "@" ? (e = t[1], n = "mailto:" + e) : (e = t[1], n = e), {
599
+ let l = this.rules.inline.autolink.exec(e);
600
+ if (l) {
601
+ let e, u;
602
+ return l[2] === "@" ? (e = l[1], u = "mailto:" + e) : (e = l[1], u = e), {
604
603
  type: "link",
605
- raw: t[0],
604
+ raw: l[0],
606
605
  text: e,
607
- href: n,
606
+ href: u,
608
607
  tokens: [{
609
608
  type: "text",
610
609
  raw: e,
@@ -614,22 +613,22 @@ ${c}` : c;
614
613
  }
615
614
  }
616
615
  url(e) {
617
- let t;
618
- if (t = this.rules.inline.url.exec(e)) {
619
- let e, n;
620
- if (t[2] === "@") e = t[0], n = "mailto:" + e;
616
+ let l;
617
+ if (l = this.rules.inline.url.exec(e)) {
618
+ let e, u;
619
+ if (l[2] === "@") e = l[0], u = "mailto:" + e;
621
620
  else {
622
- let r;
621
+ let f;
623
622
  do
624
- r = t[0], t[0] = this.rules.inline._backpedal.exec(t[0])?.[0] ?? "";
625
- while (r !== t[0]);
626
- e = t[0], n = t[1] === "www." ? "http://" + t[0] : t[0];
623
+ f = l[0], l[0] = this.rules.inline._backpedal.exec(l[0])?.[0] ?? "";
624
+ while (f !== l[0]);
625
+ e = l[0], u = l[1] === "www." ? "http://" + l[0] : l[0];
627
626
  }
628
627
  return {
629
628
  type: "link",
630
- raw: t[0],
629
+ raw: l[0],
631
630
  text: e,
632
- href: n,
631
+ href: u,
633
632
  tokens: [{
634
633
  type: "text",
635
634
  raw: e,
@@ -639,239 +638,239 @@ ${c}` : c;
639
638
  }
640
639
  }
641
640
  inlineText(e) {
642
- let t = this.rules.inline.text.exec(e);
643
- if (t) {
641
+ let l = this.rules.inline.text.exec(e);
642
+ if (l) {
644
643
  let e = this.lexer.state.inRawBlock;
645
644
  return {
646
645
  type: "text",
647
- raw: t[0],
648
- text: t[0],
646
+ raw: l[0],
647
+ text: l[0],
649
648
  escaped: e
650
649
  };
651
650
  }
652
651
  }
653
- }, q = class e {
652
+ }, x = class e {
654
653
  tokens;
655
654
  options;
656
655
  state;
657
656
  tokenizer;
658
657
  inlineQueue;
659
658
  constructor(e) {
660
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || t, this.options.tokenizer = this.options.tokenizer || new K(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
659
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || T, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
661
660
  inLink: !1,
662
661
  inRawBlock: !1,
663
662
  top: !0
664
663
  };
665
- let n = {
666
- other: o,
667
- block: R.normal,
668
- inline: z.normal
664
+ let u = {
665
+ other: m,
666
+ block: C.normal,
667
+ inline: M.normal
669
668
  };
670
- this.options.pedantic ? (n.block = R.pedantic, n.inline = z.pedantic) : this.options.gfm && (n.block = R.gfm, this.options.breaks ? n.inline = z.breaks : n.inline = z.gfm), this.tokenizer.rules = n;
669
+ this.options.pedantic ? (u.block = C.pedantic, u.inline = M.pedantic) : this.options.gfm && (u.block = C.gfm, this.options.breaks ? u.inline = M.breaks : u.inline = M.gfm), this.tokenizer.rules = u;
671
670
  }
672
671
  static get rules() {
673
672
  return {
674
- block: R,
675
- inline: z
673
+ block: C,
674
+ inline: M
676
675
  };
677
676
  }
678
- static lex(t, n) {
679
- return new e(n).lex(t);
677
+ static lex(l, u) {
678
+ return new e(u).lex(l);
680
679
  }
681
- static lexInline(t, n) {
682
- return new e(n).inlineTokens(t);
680
+ static lexInline(l, u) {
681
+ return new e(u).inlineTokens(l);
683
682
  }
684
683
  lex(e) {
685
- e = e.replace(o.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
684
+ e = e.replace(m.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
686
685
  for (let e = 0; e < this.inlineQueue.length; e++) {
687
- let t = this.inlineQueue[e];
688
- this.inlineTokens(t.src, t.tokens);
686
+ let l = this.inlineQueue[e];
687
+ this.inlineTokens(l.src, l.tokens);
689
688
  }
690
689
  return this.inlineQueue = [], this.tokens;
691
690
  }
692
- blockTokens(e, t = [], n = !1) {
693
- for (this.options.pedantic && (e = e.replace(o.tabCharGlobal, " ").replace(o.spaceLine, "")); e;) {
694
- let r;
695
- if (this.options.extensions?.block?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
696
- if (r = this.tokenizer.space(e)) {
697
- e = e.substring(r.raw.length);
698
- let n = t.at(-1);
699
- r.raw.length === 1 && n !== void 0 ? n.raw += "\n" : t.push(r);
691
+ blockTokens(e, l = [], u = !1) {
692
+ for (this.options.pedantic && (e = e.replace(m.tabCharGlobal, " ").replace(m.spaceLine, "")); e;) {
693
+ let f;
694
+ if (this.options.extensions?.block?.some((u) => (f = u.call({ lexer: this }, e, l)) ? (e = e.substring(f.raw.length), l.push(f), !0) : !1)) continue;
695
+ if (f = this.tokenizer.space(e)) {
696
+ e = e.substring(f.raw.length);
697
+ let u = l.at(-1);
698
+ f.raw.length === 1 && u !== void 0 ? u.raw += "\n" : l.push(f);
700
699
  continue;
701
700
  }
702
- if (r = this.tokenizer.code(e)) {
703
- e = e.substring(r.raw.length);
704
- let n = t.at(-1);
705
- n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.at(-1).src = n.text) : t.push(r);
701
+ if (f = this.tokenizer.code(e)) {
702
+ e = e.substring(f.raw.length);
703
+ let u = l.at(-1);
704
+ u?.type === "paragraph" || u?.type === "text" ? (u.raw += (u.raw.endsWith("\n") ? "" : "\n") + f.raw, u.text += "\n" + f.text, this.inlineQueue.at(-1).src = u.text) : l.push(f);
706
705
  continue;
707
706
  }
708
- if (r = this.tokenizer.fences(e)) {
709
- e = e.substring(r.raw.length), t.push(r);
707
+ if (f = this.tokenizer.fences(e)) {
708
+ e = e.substring(f.raw.length), l.push(f);
710
709
  continue;
711
710
  }
712
- if (r = this.tokenizer.heading(e)) {
713
- e = e.substring(r.raw.length), t.push(r);
711
+ if (f = this.tokenizer.heading(e)) {
712
+ e = e.substring(f.raw.length), l.push(f);
714
713
  continue;
715
714
  }
716
- if (r = this.tokenizer.hr(e)) {
717
- e = e.substring(r.raw.length), t.push(r);
715
+ if (f = this.tokenizer.hr(e)) {
716
+ e = e.substring(f.raw.length), l.push(f);
718
717
  continue;
719
718
  }
720
- if (r = this.tokenizer.blockquote(e)) {
721
- e = e.substring(r.raw.length), t.push(r);
719
+ if (f = this.tokenizer.blockquote(e)) {
720
+ e = e.substring(f.raw.length), l.push(f);
722
721
  continue;
723
722
  }
724
- if (r = this.tokenizer.list(e)) {
725
- e = e.substring(r.raw.length), t.push(r);
723
+ if (f = this.tokenizer.list(e)) {
724
+ e = e.substring(f.raw.length), l.push(f);
726
725
  continue;
727
726
  }
728
- if (r = this.tokenizer.html(e)) {
729
- e = e.substring(r.raw.length), t.push(r);
727
+ if (f = this.tokenizer.html(e)) {
728
+ e = e.substring(f.raw.length), l.push(f);
730
729
  continue;
731
730
  }
732
- if (r = this.tokenizer.def(e)) {
733
- e = e.substring(r.raw.length);
734
- let n = t.at(-1);
735
- n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.raw, this.inlineQueue.at(-1).src = n.text) : this.tokens.links[r.tag] || (this.tokens.links[r.tag] = {
736
- href: r.href,
737
- title: r.title
738
- }, t.push(r));
731
+ if (f = this.tokenizer.def(e)) {
732
+ e = e.substring(f.raw.length);
733
+ let u = l.at(-1);
734
+ u?.type === "paragraph" || u?.type === "text" ? (u.raw += (u.raw.endsWith("\n") ? "" : "\n") + f.raw, u.text += "\n" + f.raw, this.inlineQueue.at(-1).src = u.text) : this.tokens.links[f.tag] || (this.tokens.links[f.tag] = {
735
+ href: f.href,
736
+ title: f.title
737
+ }, l.push(f));
739
738
  continue;
740
739
  }
741
- if (r = this.tokenizer.table(e)) {
742
- e = e.substring(r.raw.length), t.push(r);
740
+ if (f = this.tokenizer.table(e)) {
741
+ e = e.substring(f.raw.length), l.push(f);
743
742
  continue;
744
743
  }
745
- if (r = this.tokenizer.lheading(e)) {
746
- e = e.substring(r.raw.length), t.push(r);
744
+ if (f = this.tokenizer.lheading(e)) {
745
+ e = e.substring(f.raw.length), l.push(f);
747
746
  continue;
748
747
  }
749
- let i = e;
748
+ let p = e;
750
749
  if (this.options.extensions?.startBlock) {
751
- let t = Infinity, n = e.slice(1), r;
750
+ let l = Infinity, u = e.slice(1), f;
752
751
  this.options.extensions.startBlock.forEach((e) => {
753
- r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
754
- }), t < Infinity && t >= 0 && (i = e.substring(0, t + 1));
752
+ f = e.call({ lexer: this }, u), typeof f == "number" && f >= 0 && (l = Math.min(l, f));
753
+ }), l < Infinity && l >= 0 && (p = e.substring(0, l + 1));
755
754
  }
756
- if (this.state.top && (r = this.tokenizer.paragraph(i))) {
757
- let a = t.at(-1);
758
- n && a?.type === "paragraph" ? (a.raw += (a.raw.endsWith("\n") ? "" : "\n") + r.raw, a.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = a.text) : t.push(r), n = i.length !== e.length, e = e.substring(r.raw.length);
755
+ if (this.state.top && (f = this.tokenizer.paragraph(p))) {
756
+ let h = l.at(-1);
757
+ u && h?.type === "paragraph" ? (h.raw += (h.raw.endsWith("\n") ? "" : "\n") + f.raw, h.text += "\n" + f.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = h.text) : l.push(f), u = p.length !== e.length, e = e.substring(f.raw.length);
759
758
  continue;
760
759
  }
761
- if (r = this.tokenizer.text(e)) {
762
- e = e.substring(r.raw.length);
763
- let n = t.at(-1);
764
- n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = n.text) : t.push(r);
760
+ if (f = this.tokenizer.text(e)) {
761
+ e = e.substring(f.raw.length);
762
+ let u = l.at(-1);
763
+ u?.type === "text" ? (u.raw += (u.raw.endsWith("\n") ? "" : "\n") + f.raw, u.text += "\n" + f.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = u.text) : l.push(f);
765
764
  continue;
766
765
  }
767
766
  if (e) {
768
- let t = "Infinite loop on byte: " + e.charCodeAt(0);
767
+ let l = "Infinite loop on byte: " + e.charCodeAt(0);
769
768
  if (this.options.silent) {
770
- console.error(t);
769
+ console.error(l);
771
770
  break;
772
- } else throw Error(t);
771
+ } else throw Error(l);
773
772
  }
774
773
  }
775
- return this.state.top = !0, t;
774
+ return this.state.top = !0, l;
776
775
  }
777
- inline(e, t = []) {
776
+ inline(e, l = []) {
778
777
  return this.inlineQueue.push({
779
778
  src: e,
780
- tokens: t
781
- }), t;
779
+ tokens: l
780
+ }), l;
782
781
  }
783
- inlineTokens(e, t = []) {
784
- let n = e, r = null;
782
+ inlineTokens(e, l = []) {
783
+ let u = e, f = null;
785
784
  if (this.tokens.links) {
786
785
  let e = Object.keys(this.tokens.links);
787
- if (e.length > 0) for (; (r = this.tokenizer.rules.inline.reflinkSearch.exec(n)) != null;) e.includes(r[0].slice(r[0].lastIndexOf("[") + 1, -1)) && (n = n.slice(0, r.index) + "[" + "a".repeat(r[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
786
+ if (e.length > 0) for (; (f = this.tokenizer.rules.inline.reflinkSearch.exec(u)) != null;) e.includes(f[0].slice(f[0].lastIndexOf("[") + 1, -1)) && (u = u.slice(0, f.index) + "[" + "a".repeat(f[0].length - 2) + "]" + u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
788
787
  }
789
- for (; (r = this.tokenizer.rules.inline.anyPunctuation.exec(n)) != null;) n = n.slice(0, r.index) + "++" + n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
790
- let i;
791
- for (; (r = this.tokenizer.rules.inline.blockSkip.exec(n)) != null;) i = r[2] ? r[2].length : 0, n = n.slice(0, r.index + i) + "[" + "a".repeat(r[0].length - i - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
792
- n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
793
- let a = !1, o = "";
788
+ for (; (f = this.tokenizer.rules.inline.anyPunctuation.exec(u)) != null;) u = u.slice(0, f.index) + "++" + u.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
789
+ let p;
790
+ for (; (f = this.tokenizer.rules.inline.blockSkip.exec(u)) != null;) p = f[2] ? f[2].length : 0, u = u.slice(0, f.index + p) + "[" + "a".repeat(f[0].length - p - 2) + "]" + u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
791
+ u = this.options.hooks?.emStrongMask?.call({ lexer: this }, u) ?? u;
792
+ let h = !1, g = "";
794
793
  for (; e;) {
795
- a || (o = ""), a = !1;
796
- let r;
797
- if (this.options.extensions?.inline?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
798
- if (r = this.tokenizer.escape(e)) {
799
- e = e.substring(r.raw.length), t.push(r);
794
+ h || (g = ""), h = !1;
795
+ let f;
796
+ if (this.options.extensions?.inline?.some((u) => (f = u.call({ lexer: this }, e, l)) ? (e = e.substring(f.raw.length), l.push(f), !0) : !1)) continue;
797
+ if (f = this.tokenizer.escape(e)) {
798
+ e = e.substring(f.raw.length), l.push(f);
800
799
  continue;
801
800
  }
802
- if (r = this.tokenizer.tag(e)) {
803
- e = e.substring(r.raw.length), t.push(r);
801
+ if (f = this.tokenizer.tag(e)) {
802
+ e = e.substring(f.raw.length), l.push(f);
804
803
  continue;
805
804
  }
806
- if (r = this.tokenizer.link(e)) {
807
- e = e.substring(r.raw.length), t.push(r);
805
+ if (f = this.tokenizer.link(e)) {
806
+ e = e.substring(f.raw.length), l.push(f);
808
807
  continue;
809
808
  }
810
- if (r = this.tokenizer.reflink(e, this.tokens.links)) {
811
- e = e.substring(r.raw.length);
812
- let n = t.at(-1);
813
- r.type === "text" && n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
809
+ if (f = this.tokenizer.reflink(e, this.tokens.links)) {
810
+ e = e.substring(f.raw.length);
811
+ let u = l.at(-1);
812
+ f.type === "text" && u?.type === "text" ? (u.raw += f.raw, u.text += f.text) : l.push(f);
814
813
  continue;
815
814
  }
816
- if (r = this.tokenizer.emStrong(e, n, o)) {
817
- e = e.substring(r.raw.length), t.push(r);
815
+ if (f = this.tokenizer.emStrong(e, u, g)) {
816
+ e = e.substring(f.raw.length), l.push(f);
818
817
  continue;
819
818
  }
820
- if (r = this.tokenizer.codespan(e)) {
821
- e = e.substring(r.raw.length), t.push(r);
819
+ if (f = this.tokenizer.codespan(e)) {
820
+ e = e.substring(f.raw.length), l.push(f);
822
821
  continue;
823
822
  }
824
- if (r = this.tokenizer.br(e)) {
825
- e = e.substring(r.raw.length), t.push(r);
823
+ if (f = this.tokenizer.br(e)) {
824
+ e = e.substring(f.raw.length), l.push(f);
826
825
  continue;
827
826
  }
828
- if (r = this.tokenizer.del(e)) {
829
- e = e.substring(r.raw.length), t.push(r);
827
+ if (f = this.tokenizer.del(e)) {
828
+ e = e.substring(f.raw.length), l.push(f);
830
829
  continue;
831
830
  }
832
- if (r = this.tokenizer.autolink(e)) {
833
- e = e.substring(r.raw.length), t.push(r);
831
+ if (f = this.tokenizer.autolink(e)) {
832
+ e = e.substring(f.raw.length), l.push(f);
834
833
  continue;
835
834
  }
836
- if (!this.state.inLink && (r = this.tokenizer.url(e))) {
837
- e = e.substring(r.raw.length), t.push(r);
835
+ if (!this.state.inLink && (f = this.tokenizer.url(e))) {
836
+ e = e.substring(f.raw.length), l.push(f);
838
837
  continue;
839
838
  }
840
- let i = e;
839
+ let p = e;
841
840
  if (this.options.extensions?.startInline) {
842
- let t = Infinity, n = e.slice(1), r;
841
+ let l = Infinity, u = e.slice(1), f;
843
842
  this.options.extensions.startInline.forEach((e) => {
844
- r = e.call({ lexer: this }, n), typeof r == "number" && r >= 0 && (t = Math.min(t, r));
845
- }), t < Infinity && t >= 0 && (i = e.substring(0, t + 1));
843
+ f = e.call({ lexer: this }, u), typeof f == "number" && f >= 0 && (l = Math.min(l, f));
844
+ }), l < Infinity && l >= 0 && (p = e.substring(0, l + 1));
846
845
  }
847
- if (r = this.tokenizer.inlineText(i)) {
848
- e = e.substring(r.raw.length), r.raw.slice(-1) !== "_" && (o = r.raw.slice(-1)), a = !0;
849
- let n = t.at(-1);
850
- n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
846
+ if (f = this.tokenizer.inlineText(p)) {
847
+ e = e.substring(f.raw.length), f.raw.slice(-1) !== "_" && (g = f.raw.slice(-1)), h = !0;
848
+ let u = l.at(-1);
849
+ u?.type === "text" ? (u.raw += f.raw, u.text += f.text) : l.push(f);
851
850
  continue;
852
851
  }
853
852
  if (e) {
854
- let t = "Infinite loop on byte: " + e.charCodeAt(0);
853
+ let l = "Infinite loop on byte: " + e.charCodeAt(0);
855
854
  if (this.options.silent) {
856
- console.error(t);
855
+ console.error(l);
857
856
  break;
858
- } else throw Error(t);
857
+ } else throw Error(l);
859
858
  }
860
859
  }
861
- return t;
860
+ return l;
862
861
  }
863
- }, J = class {
862
+ }, P = class {
864
863
  options;
865
864
  parser;
866
865
  constructor(e) {
867
- this.options = e || t;
866
+ this.options = e || T;
868
867
  }
869
868
  space(e) {
870
869
  return "";
871
870
  }
872
- code({ text: e, lang: t, escaped: n }) {
873
- let r = (t || "").match(o.notSpaceStart)?.[0], i = e.replace(o.endingNewline, "") + "\n";
874
- return r ? "<pre><code class=\"language-" + V(r) + "\">" + (n ? i : V(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : V(i, !0)) + "</code></pre>\n";
871
+ code({ text: e, lang: l, escaped: u }) {
872
+ let f = (l || "").match(m.notSpaceStart)?.[0], p = e.replace(m.endingNewline, "") + "\n";
873
+ return f ? "<pre><code class=\"language-" + w(f) + "\">" + (u ? p : w(p, !0)) + "</code></pre>\n" : "<pre><code>" + (u ? p : w(p, !0)) + "</code></pre>\n";
875
874
  }
876
875
  blockquote({ tokens: e }) {
877
876
  return `<blockquote>
@@ -884,34 +883,34 @@ ${this.parser.parse(e)}</blockquote>
884
883
  def(e) {
885
884
  return "";
886
885
  }
887
- heading({ tokens: e, depth: t }) {
888
- return `<h${t}>${this.parser.parseInline(e)}</h${t}>
886
+ heading({ tokens: e, depth: l }) {
887
+ return `<h${l}>${this.parser.parseInline(e)}</h${l}>
889
888
  `;
890
889
  }
891
890
  hr(e) {
892
891
  return "<hr>\n";
893
892
  }
894
893
  list(e) {
895
- let t = e.ordered, n = e.start, r = "";
896
- for (let t = 0; t < e.items.length; t++) {
897
- let n = e.items[t];
898
- r += this.listitem(n);
894
+ let l = e.ordered, u = e.start, f = "";
895
+ for (let l = 0; l < e.items.length; l++) {
896
+ let u = e.items[l];
897
+ f += this.listitem(u);
899
898
  }
900
- let i = t ? "ol" : "ul", a = t && n !== 1 ? " start=\"" + n + "\"" : "";
901
- return "<" + i + a + ">\n" + r + "</" + i + ">\n";
899
+ let p = l ? "ol" : "ul", h = l && u !== 1 ? " start=\"" + u + "\"" : "";
900
+ return "<" + p + h + ">\n" + f + "</" + p + ">\n";
902
901
  }
903
902
  listitem(e) {
904
- let t = "";
903
+ let l = "";
905
904
  if (e.task) {
906
- let n = this.checkbox({ checked: !!e.checked });
907
- e.loose ? e.tokens[0]?.type === "paragraph" ? (e.tokens[0].text = n + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = n + " " + V(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
905
+ let u = this.checkbox({ checked: !!e.checked });
906
+ e.loose ? e.tokens[0]?.type === "paragraph" ? (e.tokens[0].text = u + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = u + " " + w(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
908
907
  type: "text",
909
- raw: n + " ",
910
- text: n + " ",
908
+ raw: u + " ",
909
+ text: u + " ",
911
910
  escaped: !0
912
- }) : t += n + " ";
911
+ }) : l += u + " ";
913
912
  }
914
- return t += this.parser.parse(e.tokens, !!e.loose), `<li>${t}</li>
913
+ return l += this.parser.parse(e.tokens, !!e.loose), `<li>${l}</li>
915
914
  `;
916
915
  }
917
916
  checkbox({ checked: e }) {
@@ -922,17 +921,17 @@ ${this.parser.parse(e)}</blockquote>
922
921
  `;
923
922
  }
924
923
  table(e) {
925
- let t = "", n = "";
926
- for (let t = 0; t < e.header.length; t++) n += this.tablecell(e.header[t]);
927
- t += this.tablerow({ text: n });
928
- let r = "";
929
- for (let t = 0; t < e.rows.length; t++) {
930
- let i = e.rows[t];
931
- n = "";
932
- for (let e = 0; e < i.length; e++) n += this.tablecell(i[e]);
933
- r += this.tablerow({ text: n });
924
+ let l = "", u = "";
925
+ for (let l = 0; l < e.header.length; l++) u += this.tablecell(e.header[l]);
926
+ l += this.tablerow({ text: u });
927
+ let f = "";
928
+ for (let l = 0; l < e.rows.length; l++) {
929
+ let p = e.rows[l];
930
+ u = "";
931
+ for (let e = 0; e < p.length; e++) u += this.tablecell(p[e]);
932
+ f += this.tablerow({ text: u });
934
933
  }
935
- return r &&= `<tbody>${r}</tbody>`, "<table>\n<thead>\n" + t + "</thead>\n" + r + "</table>\n";
934
+ return f &&= `<tbody>${f}</tbody>`, "<table>\n<thead>\n" + l + "</thead>\n" + f + "</table>\n";
936
935
  }
937
936
  tablerow({ text: e }) {
938
937
  return `<tr>
@@ -940,8 +939,8 @@ ${e}</tr>
940
939
  `;
941
940
  }
942
941
  tablecell(e) {
943
- let t = this.parser.parseInline(e.tokens), n = e.header ? "th" : "td";
944
- return (e.align ? `<${n} align="${e.align}">` : `<${n}>`) + t + `</${n}>
942
+ let l = this.parser.parseInline(e.tokens), u = e.header ? "th" : "td";
943
+ return (e.align ? `<${u} align="${e.align}">` : `<${u}>`) + l + `</${u}>
945
944
  `;
946
945
  }
947
946
  strong({ tokens: e }) {
@@ -951,7 +950,7 @@ ${e}</tr>
951
950
  return `<em>${this.parser.parseInline(e)}</em>`;
952
951
  }
953
952
  codespan({ text: e }) {
954
- return `<code>${V(e, !0)}</code>`;
953
+ return `<code>${w(e, !0)}</code>`;
955
954
  }
956
955
  br(e) {
957
956
  return "<br>";
@@ -959,25 +958,25 @@ ${e}</tr>
959
958
  del({ tokens: e }) {
960
959
  return `<del>${this.parser.parseInline(e)}</del>`;
961
960
  }
962
- link({ href: e, title: t, tokens: n }) {
963
- let r = this.parser.parseInline(n), i = H(e);
964
- if (i === null) return r;
965
- e = i;
966
- let a = "<a href=\"" + e + "\"";
967
- return t && (a += " title=\"" + V(t) + "\""), a += ">" + r + "</a>", a;
968
- }
969
- image({ href: e, title: t, text: n, tokens: r }) {
970
- r && (n = this.parser.parseInline(r, this.parser.textRenderer));
971
- let i = H(e);
972
- if (i === null) return V(n);
973
- e = i;
974
- let a = `<img src="${e}" alt="${n}"`;
975
- return t && (a += ` title="${V(t)}"`), a += ">", a;
961
+ link({ href: e, title: l, tokens: u }) {
962
+ let f = this.parser.parseInline(u), p = J(e);
963
+ if (p === null) return f;
964
+ e = p;
965
+ let h = "<a href=\"" + e + "\"";
966
+ return l && (h += " title=\"" + w(l) + "\""), h += ">" + f + "</a>", h;
967
+ }
968
+ image({ href: e, title: l, text: u, tokens: f }) {
969
+ f && (u = this.parser.parseInline(f, this.parser.textRenderer));
970
+ let p = J(e);
971
+ if (p === null) return w(u);
972
+ e = p;
973
+ let h = `<img src="${e}" alt="${u}"`;
974
+ return l && (h += ` title="${w(l)}"`), h += ">", h;
976
975
  }
977
976
  text(e) {
978
- return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : V(e.text);
977
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : w(e.text);
979
978
  }
980
- }, Y = class {
979
+ }, $ = class {
981
980
  strong({ text: e }) {
982
981
  return e;
983
982
  }
@@ -1005,26 +1004,26 @@ ${e}</tr>
1005
1004
  br() {
1006
1005
  return "";
1007
1006
  }
1008
- }, X = class e {
1007
+ }, b = class e {
1009
1008
  options;
1010
1009
  renderer;
1011
1010
  textRenderer;
1012
1011
  constructor(e) {
1013
- this.options = e || t, this.options.renderer = this.options.renderer || new J(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Y();
1012
+ this.options = e || T, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new $();
1014
1013
  }
1015
- static parse(t, n) {
1016
- return new e(n).parse(t);
1014
+ static parse(l, u) {
1015
+ return new e(u).parse(l);
1017
1016
  }
1018
- static parseInline(t, n) {
1019
- return new e(n).parseInline(t);
1017
+ static parseInline(l, u) {
1018
+ return new e(u).parseInline(l);
1020
1019
  }
1021
- parse(e, t = !0) {
1022
- let n = "";
1023
- for (let r = 0; r < e.length; r++) {
1024
- let i = e[r];
1025
- if (this.options.extensions?.renderers?.[i.type]) {
1026
- let e = i, t = this.options.extensions.renderers[e.type].call({ parser: this }, e);
1027
- if (t !== !1 || ![
1020
+ parse(e, l = !0) {
1021
+ let u = "";
1022
+ for (let f = 0; f < e.length; f++) {
1023
+ let p = e[f];
1024
+ if (this.options.extensions?.renderers?.[p.type]) {
1025
+ let e = p, l = this.options.extensions.renderers[e.type].call({ parser: this }, e);
1026
+ if (l !== !1 || ![
1028
1027
  "space",
1029
1028
  "hr",
1030
1029
  "heading",
@@ -1037,73 +1036,73 @@ ${e}</tr>
1037
1036
  "paragraph",
1038
1037
  "text"
1039
1038
  ].includes(e.type)) {
1040
- n += t || "";
1039
+ u += l || "";
1041
1040
  continue;
1042
1041
  }
1043
1042
  }
1044
- let a = i;
1045
- switch (a.type) {
1043
+ let h = p;
1044
+ switch (h.type) {
1046
1045
  case "space":
1047
- n += this.renderer.space(a);
1046
+ u += this.renderer.space(h);
1048
1047
  continue;
1049
1048
  case "hr":
1050
- n += this.renderer.hr(a);
1049
+ u += this.renderer.hr(h);
1051
1050
  continue;
1052
1051
  case "heading":
1053
- n += this.renderer.heading(a);
1052
+ u += this.renderer.heading(h);
1054
1053
  continue;
1055
1054
  case "code":
1056
- n += this.renderer.code(a);
1055
+ u += this.renderer.code(h);
1057
1056
  continue;
1058
1057
  case "table":
1059
- n += this.renderer.table(a);
1058
+ u += this.renderer.table(h);
1060
1059
  continue;
1061
1060
  case "blockquote":
1062
- n += this.renderer.blockquote(a);
1061
+ u += this.renderer.blockquote(h);
1063
1062
  continue;
1064
1063
  case "list":
1065
- n += this.renderer.list(a);
1064
+ u += this.renderer.list(h);
1066
1065
  continue;
1067
1066
  case "html":
1068
- n += this.renderer.html(a);
1067
+ u += this.renderer.html(h);
1069
1068
  continue;
1070
1069
  case "def":
1071
- n += this.renderer.def(a);
1070
+ u += this.renderer.def(h);
1072
1071
  continue;
1073
1072
  case "paragraph":
1074
- n += this.renderer.paragraph(a);
1073
+ u += this.renderer.paragraph(h);
1075
1074
  continue;
1076
1075
  case "text": {
1077
- let i = a, o = this.renderer.text(i);
1078
- for (; r + 1 < e.length && e[r + 1].type === "text";) i = e[++r], o += "\n" + this.renderer.text(i);
1079
- t ? n += this.renderer.paragraph({
1076
+ let p = h, g = this.renderer.text(p);
1077
+ for (; f + 1 < e.length && e[f + 1].type === "text";) p = e[++f], g += "\n" + this.renderer.text(p);
1078
+ l ? u += this.renderer.paragraph({
1080
1079
  type: "paragraph",
1081
- raw: o,
1082
- text: o,
1080
+ raw: g,
1081
+ text: g,
1083
1082
  tokens: [{
1084
1083
  type: "text",
1085
- raw: o,
1086
- text: o,
1084
+ raw: g,
1085
+ text: g,
1087
1086
  escaped: !0
1088
1087
  }]
1089
- }) : n += o;
1088
+ }) : u += g;
1090
1089
  continue;
1091
1090
  }
1092
1091
  default: {
1093
- let e = "Token with \"" + a.type + "\" type was not found.";
1092
+ let e = "Token with \"" + h.type + "\" type was not found.";
1094
1093
  if (this.options.silent) return console.error(e), "";
1095
1094
  throw Error(e);
1096
1095
  }
1097
1096
  }
1098
1097
  }
1099
- return n;
1100
- }
1101
- parseInline(e, t = this.renderer) {
1102
- let n = "";
1103
- for (let r = 0; r < e.length; r++) {
1104
- let i = e[r];
1105
- if (this.options.extensions?.renderers?.[i.type]) {
1106
- let e = this.options.extensions.renderers[i.type].call({ parser: this }, i);
1098
+ return u;
1099
+ }
1100
+ parseInline(e, l = this.renderer) {
1101
+ let u = "";
1102
+ for (let f = 0; f < e.length; f++) {
1103
+ let p = e[f];
1104
+ if (this.options.extensions?.renderers?.[p.type]) {
1105
+ let e = this.options.extensions.renderers[p.type].call({ parser: this }, p);
1107
1106
  if (e !== !1 || ![
1108
1107
  "escape",
1109
1108
  "html",
@@ -1115,57 +1114,57 @@ ${e}</tr>
1115
1114
  "br",
1116
1115
  "del",
1117
1116
  "text"
1118
- ].includes(i.type)) {
1119
- n += e || "";
1117
+ ].includes(p.type)) {
1118
+ u += e || "";
1120
1119
  continue;
1121
1120
  }
1122
1121
  }
1123
- let a = i;
1124
- switch (a.type) {
1122
+ let h = p;
1123
+ switch (h.type) {
1125
1124
  case "escape":
1126
- n += t.text(a);
1125
+ u += l.text(h);
1127
1126
  break;
1128
1127
  case "html":
1129
- n += t.html(a);
1128
+ u += l.html(h);
1130
1129
  break;
1131
1130
  case "link":
1132
- n += t.link(a);
1131
+ u += l.link(h);
1133
1132
  break;
1134
1133
  case "image":
1135
- n += t.image(a);
1134
+ u += l.image(h);
1136
1135
  break;
1137
1136
  case "strong":
1138
- n += t.strong(a);
1137
+ u += l.strong(h);
1139
1138
  break;
1140
1139
  case "em":
1141
- n += t.em(a);
1140
+ u += l.em(h);
1142
1141
  break;
1143
1142
  case "codespan":
1144
- n += t.codespan(a);
1143
+ u += l.codespan(h);
1145
1144
  break;
1146
1145
  case "br":
1147
- n += t.br(a);
1146
+ u += l.br(h);
1148
1147
  break;
1149
1148
  case "del":
1150
- n += t.del(a);
1149
+ u += l.del(h);
1151
1150
  break;
1152
1151
  case "text":
1153
- n += t.text(a);
1152
+ u += l.text(h);
1154
1153
  break;
1155
1154
  default: {
1156
- let e = "Token with \"" + a.type + "\" type was not found.";
1155
+ let e = "Token with \"" + h.type + "\" type was not found.";
1157
1156
  if (this.options.silent) return console.error(e), "";
1158
1157
  throw Error(e);
1159
1158
  }
1160
1159
  }
1161
1160
  }
1162
- return n;
1161
+ return u;
1163
1162
  }
1164
- }, Z = class {
1163
+ }, S = class {
1165
1164
  options;
1166
1165
  block;
1167
1166
  constructor(e) {
1168
- this.options = e || t;
1167
+ this.options = e || T;
1169
1168
  }
1170
1169
  static passThroughHooks = new Set([
1171
1170
  "preprocess",
@@ -1191,135 +1190,135 @@ ${e}</tr>
1191
1190
  return e;
1192
1191
  }
1193
1192
  provideLexer() {
1194
- return this.block ? q.lex : q.lexInline;
1193
+ return this.block ? x.lex : x.lexInline;
1195
1194
  }
1196
1195
  provideParser() {
1197
- return this.block ? X.parse : X.parseInline;
1196
+ return this.block ? b.parse : b.parseInline;
1198
1197
  }
1199
- }, Q = new class {
1200
- defaults = e();
1198
+ }, _ = new class {
1199
+ defaults = L();
1201
1200
  options = this.setOptions;
1202
1201
  parse = this.parseMarkdown(!0);
1203
1202
  parseInline = this.parseMarkdown(!1);
1204
- Parser = X;
1205
- Renderer = J;
1206
- TextRenderer = Y;
1207
- Lexer = q;
1208
- Tokenizer = K;
1209
- Hooks = Z;
1203
+ Parser = b;
1204
+ Renderer = P;
1205
+ TextRenderer = $;
1206
+ Lexer = x;
1207
+ Tokenizer = y;
1208
+ Hooks = S;
1210
1209
  constructor(...e) {
1211
1210
  this.use(...e);
1212
1211
  }
1213
- walkTokens(e, t) {
1214
- let n = [];
1215
- for (let r of e) switch (n = n.concat(t.call(this, r)), r.type) {
1212
+ walkTokens(e, l) {
1213
+ let u = [];
1214
+ for (let f of e) switch (u = u.concat(l.call(this, f)), f.type) {
1216
1215
  case "table": {
1217
- let e = r;
1218
- for (let r of e.header) n = n.concat(this.walkTokens(r.tokens, t));
1219
- for (let r of e.rows) for (let e of r) n = n.concat(this.walkTokens(e.tokens, t));
1216
+ let e = f;
1217
+ for (let f of e.header) u = u.concat(this.walkTokens(f.tokens, l));
1218
+ for (let f of e.rows) for (let e of f) u = u.concat(this.walkTokens(e.tokens, l));
1220
1219
  break;
1221
1220
  }
1222
1221
  case "list": {
1223
- let e = r;
1224
- n = n.concat(this.walkTokens(e.items, t));
1222
+ let e = f;
1223
+ u = u.concat(this.walkTokens(e.items, l));
1225
1224
  break;
1226
1225
  }
1227
1226
  default: {
1228
- let e = r;
1229
- this.defaults.extensions?.childTokens?.[e.type] ? this.defaults.extensions.childTokens[e.type].forEach((r) => {
1230
- let i = e[r].flat(Infinity);
1231
- n = n.concat(this.walkTokens(i, t));
1232
- }) : e.tokens && (n = n.concat(this.walkTokens(e.tokens, t)));
1227
+ let e = f;
1228
+ this.defaults.extensions?.childTokens?.[e.type] ? this.defaults.extensions.childTokens[e.type].forEach((f) => {
1229
+ let p = e[f].flat(Infinity);
1230
+ u = u.concat(this.walkTokens(p, l));
1231
+ }) : e.tokens && (u = u.concat(this.walkTokens(e.tokens, l)));
1233
1232
  }
1234
1233
  }
1235
- return n;
1234
+ return u;
1236
1235
  }
1237
1236
  use(...e) {
1238
- let t = this.defaults.extensions || {
1237
+ let l = this.defaults.extensions || {
1239
1238
  renderers: {},
1240
1239
  childTokens: {}
1241
1240
  };
1242
1241
  return e.forEach((e) => {
1243
- let n = { ...e };
1244
- if (n.async = this.defaults.async || n.async || !1, e.extensions && (e.extensions.forEach((e) => {
1242
+ let u = { ...e };
1243
+ if (u.async = this.defaults.async || u.async || !1, e.extensions && (e.extensions.forEach((e) => {
1245
1244
  if (!e.name) throw Error("extension name required");
1246
1245
  if ("renderer" in e) {
1247
- let n = t.renderers[e.name];
1248
- n ? t.renderers[e.name] = function(...t) {
1249
- let r = e.renderer.apply(this, t);
1250
- return r === !1 && (r = n.apply(this, t)), r;
1251
- } : t.renderers[e.name] = e.renderer;
1246
+ let u = l.renderers[e.name];
1247
+ u ? l.renderers[e.name] = function(...l) {
1248
+ let f = e.renderer.apply(this, l);
1249
+ return f === !1 && (f = u.apply(this, l)), f;
1250
+ } : l.renderers[e.name] = e.renderer;
1252
1251
  }
1253
1252
  if ("tokenizer" in e) {
1254
1253
  if (!e.level || e.level !== "block" && e.level !== "inline") throw Error("extension level must be 'block' or 'inline'");
1255
- let n = t[e.level];
1256
- n ? n.unshift(e.tokenizer) : t[e.level] = [e.tokenizer], e.start && (e.level === "block" ? t.startBlock ? t.startBlock.push(e.start) : t.startBlock = [e.start] : e.level === "inline" && (t.startInline ? t.startInline.push(e.start) : t.startInline = [e.start]));
1254
+ let u = l[e.level];
1255
+ u ? u.unshift(e.tokenizer) : l[e.level] = [e.tokenizer], e.start && (e.level === "block" ? l.startBlock ? l.startBlock.push(e.start) : l.startBlock = [e.start] : e.level === "inline" && (l.startInline ? l.startInline.push(e.start) : l.startInline = [e.start]));
1257
1256
  }
1258
- "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
1259
- }), n.extensions = t), e.renderer) {
1260
- let t = this.defaults.renderer || new J(this.defaults);
1261
- for (let n in e.renderer) {
1262
- if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
1263
- if (["options", "parser"].includes(n)) continue;
1264
- let r = n, i = e.renderer[r], a = t[r];
1265
- t[r] = (...e) => {
1266
- let n = i.apply(t, e);
1267
- return n === !1 && (n = a.apply(t, e)), n || "";
1257
+ "childTokens" in e && e.childTokens && (l.childTokens[e.name] = e.childTokens);
1258
+ }), u.extensions = l), e.renderer) {
1259
+ let l = this.defaults.renderer || new P(this.defaults);
1260
+ for (let u in e.renderer) {
1261
+ if (!(u in l)) throw Error(`renderer '${u}' does not exist`);
1262
+ if (["options", "parser"].includes(u)) continue;
1263
+ let f = u, p = e.renderer[f], h = l[f];
1264
+ l[f] = (...e) => {
1265
+ let u = p.apply(l, e);
1266
+ return u === !1 && (u = h.apply(l, e)), u || "";
1268
1267
  };
1269
1268
  }
1270
- n.renderer = t;
1269
+ u.renderer = l;
1271
1270
  }
1272
1271
  if (e.tokenizer) {
1273
- let t = this.defaults.tokenizer || new K(this.defaults);
1274
- for (let n in e.tokenizer) {
1275
- if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
1272
+ let l = this.defaults.tokenizer || new y(this.defaults);
1273
+ for (let u in e.tokenizer) {
1274
+ if (!(u in l)) throw Error(`tokenizer '${u}' does not exist`);
1276
1275
  if ([
1277
1276
  "options",
1278
1277
  "rules",
1279
1278
  "lexer"
1280
- ].includes(n)) continue;
1281
- let r = n, i = e.tokenizer[r], a = t[r];
1282
- t[r] = (...e) => {
1283
- let n = i.apply(t, e);
1284
- return n === !1 && (n = a.apply(t, e)), n;
1279
+ ].includes(u)) continue;
1280
+ let f = u, p = e.tokenizer[f], h = l[f];
1281
+ l[f] = (...e) => {
1282
+ let u = p.apply(l, e);
1283
+ return u === !1 && (u = h.apply(l, e)), u;
1285
1284
  };
1286
1285
  }
1287
- n.tokenizer = t;
1286
+ u.tokenizer = l;
1288
1287
  }
1289
1288
  if (e.hooks) {
1290
- let t = this.defaults.hooks || new Z();
1291
- for (let n in e.hooks) {
1292
- if (!(n in t)) throw Error(`hook '${n}' does not exist`);
1293
- if (["options", "block"].includes(n)) continue;
1294
- let r = n, i = e.hooks[r], a = t[r];
1295
- Z.passThroughHooks.has(n) ? t[r] = (e) => {
1296
- if (this.defaults.async && Z.passThroughHooksRespectAsync.has(n)) return (async () => {
1297
- let n = await i.call(t, e);
1298
- return a.call(t, n);
1289
+ let l = this.defaults.hooks || new S();
1290
+ for (let u in e.hooks) {
1291
+ if (!(u in l)) throw Error(`hook '${u}' does not exist`);
1292
+ if (["options", "block"].includes(u)) continue;
1293
+ let f = u, p = e.hooks[f], h = l[f];
1294
+ S.passThroughHooks.has(u) ? l[f] = (e) => {
1295
+ if (this.defaults.async && S.passThroughHooksRespectAsync.has(u)) return (async () => {
1296
+ let u = await p.call(l, e);
1297
+ return h.call(l, u);
1299
1298
  })();
1300
- let r = i.call(t, e);
1301
- return a.call(t, r);
1302
- } : t[r] = (...e) => {
1299
+ let f = p.call(l, e);
1300
+ return h.call(l, f);
1301
+ } : l[f] = (...e) => {
1303
1302
  if (this.defaults.async) return (async () => {
1304
- let n = await i.apply(t, e);
1305
- return n === !1 && (n = await a.apply(t, e)), n;
1303
+ let u = await p.apply(l, e);
1304
+ return u === !1 && (u = await h.apply(l, e)), u;
1306
1305
  })();
1307
- let n = i.apply(t, e);
1308
- return n === !1 && (n = a.apply(t, e)), n;
1306
+ let u = p.apply(l, e);
1307
+ return u === !1 && (u = h.apply(l, e)), u;
1309
1308
  };
1310
1309
  }
1311
- n.hooks = t;
1310
+ u.hooks = l;
1312
1311
  }
1313
1312
  if (e.walkTokens) {
1314
- let t = this.defaults.walkTokens, r = e.walkTokens;
1315
- n.walkTokens = function(e) {
1316
- let n = [];
1317
- return n.push(r.call(this, e)), t && (n = n.concat(t.call(this, e))), n;
1313
+ let l = this.defaults.walkTokens, f = e.walkTokens;
1314
+ u.walkTokens = function(e) {
1315
+ let u = [];
1316
+ return u.push(f.call(this, e)), l && (u = u.concat(l.call(this, e))), u;
1318
1317
  };
1319
1318
  }
1320
1319
  this.defaults = {
1321
1320
  ...this.defaults,
1322
- ...n
1321
+ ...u
1323
1322
  };
1324
1323
  }), this;
1325
1324
  }
@@ -1329,58 +1328,57 @@ ${e}</tr>
1329
1328
  ...e
1330
1329
  }, this;
1331
1330
  }
1332
- lexer(e, t) {
1333
- return q.lex(e, t ?? this.defaults);
1331
+ lexer(e, l) {
1332
+ return x.lex(e, l ?? this.defaults);
1334
1333
  }
1335
- parser(e, t) {
1336
- return X.parse(e, t ?? this.defaults);
1334
+ parser(e, l) {
1335
+ return b.parse(e, l ?? this.defaults);
1337
1336
  }
1338
1337
  parseMarkdown(e) {
1339
- return (t, n) => {
1340
- let r = { ...n }, i = {
1338
+ return (l, u) => {
1339
+ let f = { ...u }, p = {
1341
1340
  ...this.defaults,
1342
- ...r
1343
- }, a = this.onError(!!i.silent, !!i.async);
1344
- if (this.defaults.async === !0 && r.async === !1) return a(/* @__PURE__ */ Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
1345
- if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
1346
- if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
1347
- if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
1348
- let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? q.lex : q.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
1349
- i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
1350
- let o = await (i.hooks ? await i.hooks.provideParser() : e ? X.parse : X.parseInline)(a, i);
1351
- return i.hooks ? await i.hooks.postprocess(o) : o;
1352
- })().catch(a);
1341
+ ...f
1342
+ }, h = this.onError(!!p.silent, !!p.async);
1343
+ if (this.defaults.async === !0 && f.async === !1) return h(/* @__PURE__ */ Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
1344
+ if (typeof l > "u" || l === null) return h(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
1345
+ if (typeof l != "string") return h(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(l) + ", string expected"));
1346
+ if (p.hooks && (p.hooks.options = p, p.hooks.block = e), p.async) return (async () => {
1347
+ let u = p.hooks ? await p.hooks.preprocess(l) : l, f = await (p.hooks ? await p.hooks.provideLexer() : e ? x.lex : x.lexInline)(u, p), h = p.hooks ? await p.hooks.processAllTokens(f) : f;
1348
+ p.walkTokens && await Promise.all(this.walkTokens(h, p.walkTokens));
1349
+ let g = await (p.hooks ? await p.hooks.provideParser() : e ? b.parse : b.parseInline)(h, p);
1350
+ return p.hooks ? await p.hooks.postprocess(g) : g;
1351
+ })().catch(h);
1353
1352
  try {
1354
- i.hooks && (t = i.hooks.preprocess(t));
1355
- let n = (i.hooks ? i.hooks.provideLexer() : e ? q.lex : q.lexInline)(t, i);
1356
- i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
1357
- let r = (i.hooks ? i.hooks.provideParser() : e ? X.parse : X.parseInline)(n, i);
1358
- return i.hooks && (r = i.hooks.postprocess(r)), r;
1353
+ p.hooks && (l = p.hooks.preprocess(l));
1354
+ let u = (p.hooks ? p.hooks.provideLexer() : e ? x.lex : x.lexInline)(l, p);
1355
+ p.hooks && (u = p.hooks.processAllTokens(u)), p.walkTokens && this.walkTokens(u, p.walkTokens);
1356
+ let f = (p.hooks ? p.hooks.provideParser() : e ? b.parse : b.parseInline)(u, p);
1357
+ return p.hooks && (f = p.hooks.postprocess(f)), f;
1359
1358
  } catch (e) {
1360
- return a(e);
1359
+ return h(e);
1361
1360
  }
1362
1361
  };
1363
1362
  }
1364
- onError(e, t) {
1365
- return (n) => {
1366
- if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
1367
- let e = "<p>An error occurred:</p><pre>" + V(n.message + "", !0) + "</pre>";
1368
- return t ? Promise.resolve(e) : e;
1363
+ onError(e, l) {
1364
+ return (u) => {
1365
+ if (u.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
1366
+ let e = "<p>An error occurred:</p><pre>" + w(u.message + "", !0) + "</pre>";
1367
+ return l ? Promise.resolve(e) : e;
1369
1368
  }
1370
- if (t) return Promise.reject(n);
1371
- throw n;
1369
+ if (l) return Promise.reject(u);
1370
+ throw u;
1372
1371
  };
1373
1372
  }
1374
1373
  }();
1375
- function $(e, t) {
1376
- return Q.parse(e, t);
1374
+ function k(e, l) {
1375
+ return _.parse(e, l);
1377
1376
  }
1378
- $.options = $.setOptions = function(e) {
1379
- return Q.setOptions(e), $.defaults = Q.defaults, n($.defaults), $;
1380
- }, $.getDefaults = e, $.defaults = t, $.use = function(...e) {
1381
- return Q.use(...e), $.defaults = Q.defaults, n($.defaults), $;
1382
- }, $.walkTokens = function(e, t) {
1383
- return Q.walkTokens(e, t);
1384
- }, $.parseInline = Q.parseInline, $.Parser = X, $.parser = X.parse, $.Renderer = J, $.TextRenderer = Y, $.Lexer = q, $.lexer = q.lex, $.Tokenizer = K, $.Hooks = Z, $.parse = $, $.options, $.setOptions, $.use, $.walkTokens, $.parseInline, X.parse, q.lex;
1385
- //#endregion
1386
- export { $ as k };
1377
+ k.options = k.setOptions = function(e) {
1378
+ return _.setOptions(e), k.defaults = _.defaults, G(k.defaults), k;
1379
+ }, k.getDefaults = L, k.defaults = T, k.use = function(...e) {
1380
+ return _.use(...e), k.defaults = _.defaults, G(k.defaults), k;
1381
+ }, k.walkTokens = function(e, l) {
1382
+ return _.walkTokens(e, l);
1383
+ }, k.parseInline = _.parseInline, k.Parser = b, k.parser = b.parse, k.Renderer = P, k.TextRenderer = $, k.Lexer = x, k.lexer = x.lex, k.Tokenizer = y, k.Hooks = S, k.parse = k, k.options, k.setOptions, k.use, k.walkTokens, k.parseInline, b.parse, x.lex;
1384
+ export { k };