@marimo-team/islands 0.25.1-dev90 → 0.25.1

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 (294) hide show
  1. package/dist/{ConnectedDataExplorerComponent-KVhjDMSe.js → ConnectedDataExplorerComponent-C2d9ysUI.js} +8 -9
  2. package/dist/{ErrorBoundary-D7_peFI9.js → ErrorBoundary-1wHWKFoG.js} +1 -1
  3. package/dist/{ImageComparisonComponent-Dlm5aWnH.js → ImageComparisonComponent-Cpfz30OZ.js} +51 -52
  4. package/dist/{abnfDiagram-VCTEODGH-CpN0FRda.js → abnfDiagram-VCTEODGH-AFhOQTt8.js} +3 -3
  5. package/dist/{architectureDiagram-5GKGNRK7-DDyj5SRB.js → architectureDiagram-5GKGNRK7-BngksAAQ.js} +5 -5
  6. package/dist/{blockDiagram-I7D4REHJ-BbXEXJRu.js → blockDiagram-I7D4REHJ-CvBmppdy.js} +9 -9
  7. package/dist/{c4Diagram-7LVT6UL2-DcLsbQmR.js → c4Diagram-7LVT6UL2-EceL4_jH.js} +7 -7
  8. package/dist/{cells-DYIkSxs6.js → cells-Cv93oav_.js} +4124 -4151
  9. package/dist/{channel-B5XnTarr.js → channel-z7HZXHwv.js} +1 -1
  10. package/dist/{chat-ui-BXj3uYjy.js → chat-ui-fVyVOhYN.js} +47 -47
  11. package/dist/{chunk-4HAMMTFA-D2qv8E0X.js → chunk-4HAMMTFA-BPTTOOC5.js} +5 -5
  12. package/dist/{chunk-75Z2AOVW-5_HsvXwr.js → chunk-75Z2AOVW-C4AOleKf.js} +1 -1
  13. package/dist/{chunk-DU6HZSFF-BUgAHvnM.js → chunk-DU6HZSFF-1TwWR6gh.js} +1 -1
  14. package/dist/{chunk-F27PBJKO-DHmYWZXr.js → chunk-F27PBJKO-DMI1PBe4.js} +1 -1
  15. package/dist/{chunk-GMAD6QVW-Czynz8aA.js → chunk-GMAD6QVW-vStrMz2P.js} +3 -3
  16. package/dist/{chunk-GVQU2GXP-yQEdulRS.js → chunk-GVQU2GXP-2HwWgs4u.js} +2 -2
  17. package/dist/{chunk-IMKFNOWR-BfwTebD0.js → chunk-IMKFNOWR-UOVZuZVn.js} +5 -5
  18. package/dist/{chunk-L3NEJ4N5-DwRWnDDK.js → chunk-L3NEJ4N5-RhC7i0I2.js} +5 -5
  19. package/dist/{chunk-OSK3NFVY-BBKU_Ign.js → chunk-OSK3NFVY-CZV09N-U.js} +6 -6
  20. package/dist/{chunk-P2QGCYS3-C0iGU29N.js → chunk-P2QGCYS3-0TAWai9C.js} +1 -1
  21. package/dist/{chunk-POPQ4Y6H-BCbS3Ozc.js → chunk-POPQ4Y6H-Cc3_56GX.js} +1 -1
  22. package/dist/{chunk-PWAF6VOD-CTFCL0jI.js → chunk-PWAF6VOD-lNxB9k8z.js} +1 -1
  23. package/dist/{chunk-SHT3W25Y-BspJEJ5H.js → chunk-SHT3W25Y-CrEPyWy1.js} +7 -7
  24. package/dist/{chunk-SVP7TREG-DX3rFNTe.js → chunk-SVP7TREG-uIyyySp6.js} +2 -2
  25. package/dist/{chunk-TICWLB2K-fVF7Uujg.js → chunk-TICWLB2K-DdXM3eg6.js} +5 -5
  26. package/dist/classDiagram-ZZMXUADV-BiATbBE4.js +30 -0
  27. package/dist/classDiagram-v2-VYDZK3BY-JnH97GYw.js +30 -0
  28. package/dist/{code-visibility-Cv2cG11L.js → code-visibility-DMcT7AsU.js} +17 -17
  29. package/dist/{common-DVOYsne0.js → common-B58G5YN_.js} +6726 -6430
  30. package/dist/{cynefinDiagram-5FMLGOSQ-CFQrqzSX.js → cynefinDiagram-5FMLGOSQ-zknaAsGy.js} +3 -3
  31. package/dist/{dagre-GXQ25YYZ-xHNAUTyG.js → dagre-GXQ25YYZ-BhMOoMGJ.js} +10 -10
  32. package/dist/{data-grid-overlay-editor--Egdzm1k.js → data-grid-overlay-editor-DUWqrgYI.js} +1 -1
  33. package/dist/{diagram-S7CK7UJ4-Bt1rPbAx.js → diagram-S7CK7UJ4-V5-Z-EDY.js} +4 -4
  34. package/dist/{diagram-UQ7AKVKN-D1sq5FoZ.js → diagram-UQ7AKVKN-qw8AjDal.js} +3 -3
  35. package/dist/{diagram-VSXAHHWV-BKpmG23x.js → diagram-VSXAHHWV-CR7BJygZ.js} +2 -2
  36. package/dist/{diagram-VX7I27RA-BMwGFVD6.js → diagram-VX7I27RA-DfuqFb1E.js} +5 -5
  37. package/dist/{diagram-Z3DM3KII--KLDR9Pl.js → diagram-Z3DM3KII-DpWwlYZB.js} +3 -3
  38. package/dist/{dist-BaHjhkpZ.js → dist-CcyKTBTF.js} +1 -1
  39. package/dist/{dropdown-menu-CZgjYSAh.js → dropdown-menu-CZy06LAq.js} +12 -12
  40. package/dist/{ebnfDiagram-PWID7BFC-WnG4cvSQ.js → ebnfDiagram-PWID7BFC-C20OnNMZ.js} +3 -3
  41. package/dist/{erDiagram-RLTQ6QDP-DhzKiYHc.js → erDiagram-RLTQ6QDP-DBXLWO9v.js} +12 -12
  42. package/dist/{error-entries-C0NsUqXl.js → error-entries-DLl0XqoW.js} +18 -18
  43. package/dist/{feedback-button-WVepiUsI.js → feedback-button-BmlXbdJI.js} +19 -19
  44. package/dist/flowDiagram-HODETNUW-DL52nMkt.js +16 -0
  45. package/dist/{formats-BR5iGb4s.js → formats-Cl_67ghI.js} +2 -2
  46. package/dist/{ganttDiagram-EL5Y4UJY-DbzEBLbl.js → ganttDiagram-EL5Y4UJY-cRRaDt88.js} +2 -2
  47. package/dist/{gitGraphDiagram-WWUBYQGX-BMf0iKi1.js → gitGraphDiagram-WWUBYQGX-Pox5k9-Y.js} +2 -2
  48. package/dist/{glide-data-editor-S0WTUxUP.js → glide-data-editor-DnxrqL3c.js} +5 -5
  49. package/dist/{globals-B0NGznoE.js → globals-C6IYCw1c.js} +1 -1
  50. package/dist/{html-to-image-CeYYvQNb.js → html-to-image-CmkwfNkf.js} +32 -31
  51. package/dist/{infoDiagram-27XIBGKW-BagtCX_5.js → infoDiagram-27XIBGKW-ntpxMfrq.js} +2 -2
  52. package/dist/{ishikawaDiagram-5VMMS53U-DByDehYy.js → ishikawaDiagram-5VMMS53U-BllIlHE5.js} +3 -3
  53. package/dist/{journeyDiagram-3NMN7TZE-D2LcKDUO.js → journeyDiagram-3NMN7TZE-EPJDPlt0.js} +2 -2
  54. package/dist/{kanban-definition-UXKFOSKX-BxwkbBI_.js → kanban-definition-UXKFOSKX-GYtNMjtS.js} +9 -9
  55. package/dist/{katex-C6D4cX_N.js → katex-BNCmKUol.js} +983 -1120
  56. package/dist/{useNumberFormatter-BfDpa21j.js → label-BslhXqL6.js} +108 -81
  57. package/dist/{loader-D2W4oM-3.js → loader-DEZSzvma.js} +253 -248
  58. package/dist/main.js +670 -661
  59. package/dist/{mermaid-DPNuhemn.js → mermaid-Dnzoxjt1.js} +49 -49
  60. package/dist/{mhchem-DWCF06w9.js → mhchem-BEc7A1or.js} +1 -1
  61. package/dist/{mindmap-definition-YA3MSWOX-Cgvojw3y.js → mindmap-definition-YA3MSWOX-Cth76xgH.js} +11 -11
  62. package/dist/{number-overlay-editor-5uyVnQ6u.js → number-overlay-editor-BO78Sr4W.js} +1 -1
  63. package/dist/{pegDiagram-XKGWAZYB-DahHhYyN.js → pegDiagram-XKGWAZYB-Cu4uOXii.js} +3 -3
  64. package/dist/{pieDiagram-E7YTZNPT-CCtX0oCK.js → pieDiagram-E7YTZNPT-Bh3eDa9s.js} +3 -3
  65. package/dist/{process-output-BCTjlyuH.js → process-output-CYN5E-iO.js} +2 -2
  66. package/dist/{quadrantDiagram-AXDQQJYC-DftINo6g.js → quadrantDiagram-AXDQQJYC--kqzFC3w.js} +1 -1
  67. package/dist/{railroadDiagram-O6MQD6OU-Du5NsPUb.js → railroadDiagram-O6MQD6OU-DG-M6Rnc.js} +3 -3
  68. package/dist/{react-vega-5AcMW8gG.js → react-vega-ewj7q_U5.js} +1 -1
  69. package/dist/{requirementDiagram-BXWQKSXE-0pmmxL6_.js → requirementDiagram-BXWQKSXE-DCwsThh0.js} +11 -11
  70. package/dist/{reveal-component-CKpvbtfe.js → reveal-component-C1yOCuj8.js} +744 -743
  71. package/dist/{sankeyDiagram-P5KCCOFB-CDKR5TJH.js → sankeyDiagram-P5KCCOFB-BdzhT0BM.js} +1 -1
  72. package/dist/{sequenceDiagram-WJ2MYXX4-DB-ChWwU.js → sequenceDiagram-WJ2MYXX4-CbXB1_PU.js} +4 -4
  73. package/dist/{spec-CAYwFeV6.js → spec-DQBRQSba.js} +123 -102
  74. package/dist/{stateDiagram-D77RDMKH-orN6AwMx.js → stateDiagram-D77RDMKH-A-Zf3Sb2.js} +13 -13
  75. package/dist/stateDiagram-v2-MP3YSRHH-D9YMnUGx.js +30 -0
  76. package/dist/style.css +1 -1
  77. package/dist/{swimlanes-42K2YHIH-BkSDcqDT.js → swimlanes-42K2YHIH-B_pMf0J4.js} +10 -10
  78. package/dist/swimlanesDiagram-VR7AAH4N-Ctgy-yGP.js +30 -0
  79. package/dist/{timeline-definition-24CTP7MA-BuqJUIRZ.js → timeline-definition-24CTP7MA-DTXFjTTM.js} +3 -3
  80. package/dist/{toDate-WXg1yLcI.js → toDate-C67bxMWn.js} +139 -111
  81. package/dist/{useDateFormatter-BRTPsUK7.js → useDateFormatter-BXQGu86d.js} +28 -49
  82. package/dist/{vega-component-D0QXopU8.js → vega-component-tFOzgarw.js} +12 -12
  83. package/dist/{vega-embed-container-CbnTccZi.js → vega-embed-container-sSR5hAsy.js} +2 -2
  84. package/dist/{vega-loader.browser-D95WfUcj.js → vega-loader.browser-DNST6uVf.js} +2 -2
  85. package/dist/{vennDiagram-4TSXK5OY-CTUlJ2PK.js → vennDiagram-4TSXK5OY-BPHjZo0R.js} +3 -3
  86. package/dist/{wardleyDiagram-VM6X3IG4-3evLUb0M.js → wardleyDiagram-VM6X3IG4-6fTLYBuD.js} +3 -3
  87. package/dist/{xychartDiagram-S5SC5T6Z-DL2E3K8-.js → xychartDiagram-S5SC5T6Z-BYjwjrzE.js} +5 -5
  88. package/package.json +1 -2
  89. package/src/__mocks__/common.ts +3 -3
  90. package/src/__tests__/CellStatus.test.tsx +1 -1
  91. package/src/__tests__/setup.ts +7 -7
  92. package/src/components/app-config/ai-config.tsx +2 -0
  93. package/src/components/app-config/optional-features.tsx +1 -1
  94. package/src/components/chat/chat-panel.tsx +19 -8
  95. package/src/components/data-table/TableTopBar.tsx +2 -2
  96. package/src/components/data-table/__tests__/export-actions.test.tsx +662 -0
  97. package/src/components/data-table/charts/__tests__/chart-panel.test.tsx +286 -0
  98. package/src/components/data-table/charts/charts.tsx +26 -13
  99. package/src/components/data-table/column-summary/chart-spec-model.tsx +4 -4
  100. package/src/components/data-table/data-table.tsx +1 -1
  101. package/src/components/data-table/export-actions.tsx +642 -176
  102. package/src/components/data-table/schemas.ts +25 -3
  103. package/src/components/dependency-graph/elements.ts +2 -2
  104. package/src/components/editor/__tests__/package-alert.test.tsx +140 -0
  105. package/src/components/editor/actions/__tests__/pair-with-agent.test.tsx +107 -0
  106. package/src/components/editor/actions/pair-with-agent.tsx +119 -0
  107. package/src/components/editor/actions/useNotebookActions.tsx +2 -1
  108. package/src/components/editor/ai/add-cell-with-ai.tsx +2 -0
  109. package/src/components/editor/ai/staged-cell-submission.ts +2 -2
  110. package/src/components/editor/ai/transport/chat-transport.tsx +1 -1
  111. package/src/components/editor/chrome/components/contribute-snippet-button.tsx +6 -1
  112. package/src/components/editor/connections/database/as-code.ts +44 -44
  113. package/src/components/editor/connections/storage/as-code.ts +3 -3
  114. package/src/components/editor/file-tree/requesting-tree.tsx +16 -13
  115. package/src/components/editor/navigation/clipboard.ts +2 -2
  116. package/src/components/editor/notebook-cell.tsx +2 -2
  117. package/src/components/editor/output/MarimoTracebackOutput.tsx +1 -1
  118. package/src/components/editor/output/VideoOutput.tsx +1 -1
  119. package/src/components/editor/output/ansi-reduce.ts +21 -17
  120. package/src/components/editor/output/console/ConsoleOutput.tsx +3 -3
  121. package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +59 -0
  122. package/src/components/editor/output/console/text-rendering.tsx +3 -1
  123. package/src/components/editor/package-alert.tsx +20 -7
  124. package/src/components/home/components.tsx +1 -0
  125. package/src/components/markdown/markdown-renderer.css +1 -1
  126. package/src/components/pages/run-page.tsx +1 -0
  127. package/src/components/slides/__tests__/minimap-actions.test.tsx +7 -7
  128. package/src/components/slides/__tests__/minimap.test.ts +12 -12
  129. package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +8 -8
  130. package/src/components/static-html/__tests__/share-modal.test.tsx +154 -0
  131. package/src/components/static-html/__tests__/stage-for-publish.test.ts +111 -0
  132. package/src/components/static-html/share-modal.tsx +114 -144
  133. package/src/components/static-html/stage-for-publish.ts +56 -0
  134. package/src/components/static-html/static-banner.tsx +2 -2
  135. package/src/components/ui/links.tsx +6 -1
  136. package/src/components/ui/typography.tsx +16 -8
  137. package/src/core/ai/context/__tests__/registry.test.ts +31 -28
  138. package/src/core/ai/context/providers/cell-output.ts +8 -8
  139. package/src/core/ai/context/providers/datasource.ts +10 -7
  140. package/src/core/ai/context/providers/error.ts +7 -7
  141. package/src/core/ai/context/providers/file.ts +8 -8
  142. package/src/core/ai/context/providers/tables.ts +7 -7
  143. package/src/core/ai/context/providers/variable.ts +7 -7
  144. package/src/core/ai/context/registry.ts +18 -18
  145. package/src/core/ai/ids/ids.ts +5 -5
  146. package/src/core/ai/model-registry.ts +12 -9
  147. package/src/core/ai/staged-cells.ts +6 -6
  148. package/src/core/ai/tools/base.ts +6 -6
  149. package/src/core/ai/tools/edit-notebook-tool.ts +6 -6
  150. package/src/core/ai/tools/registry.ts +4 -4
  151. package/src/core/ai/tools/run-cells-tool.ts +7 -7
  152. package/src/core/ai/tools/sample-tool.ts +6 -6
  153. package/src/core/cells/__tests__/cells.test.ts +27 -0
  154. package/src/core/cells/cells.ts +2 -1
  155. package/src/core/codemirror/cells/debugger-decorations.ts +13 -7
  156. package/src/core/codemirror/cells/line-timing-decorations.ts +9 -9
  157. package/src/core/codemirror/cells/traceback-decorations.ts +7 -4
  158. package/src/core/codemirror/code-lens/extension.ts +13 -13
  159. package/src/core/codemirror/copilot/__tests__/language-server.test.ts +6 -6
  160. package/src/core/codemirror/copilot/__tests__/transport.test.ts +12 -12
  161. package/src/core/codemirror/copilot/language-server.ts +13 -13
  162. package/src/core/codemirror/copilot/transport.ts +1 -1
  163. package/src/core/codemirror/find-replace/search-highlight.ts +5 -5
  164. package/src/core/codemirror/go-to-definition/underline.ts +3 -3
  165. package/src/core/codemirror/keymaps/vim.ts +3 -3
  166. package/src/core/codemirror/language/languages/markdown.ts +8 -8
  167. package/src/core/codemirror/language/languages/python.ts +7 -7
  168. package/src/core/codemirror/language/languages/sql/completion-builder.ts +5 -5
  169. package/src/core/codemirror/language/languages/sql/completion-store.ts +4 -4
  170. package/src/core/codemirror/language/languages/sql/sql.ts +21 -21
  171. package/src/core/codemirror/lsp/__tests__/transports.test.ts +10 -10
  172. package/src/core/codemirror/lsp/federated-lsp.ts +29 -27
  173. package/src/core/codemirror/lsp/notebook-lsp.ts +21 -21
  174. package/src/core/codemirror/misc/__tests__/dnd.test.ts +10 -10
  175. package/src/core/codemirror/misc/__tests__/paste.test.ts +7 -4
  176. package/src/core/codemirror/reactive-references/extension.ts +3 -3
  177. package/src/core/codemirror/rtc/loro/awareness.ts +12 -12
  178. package/src/core/codemirror/rtc/loro/sync.ts +5 -5
  179. package/src/core/codemirror/vim/cursor-visibility.ts +3 -3
  180. package/src/core/dom/ui-element.ts +5 -5
  181. package/src/core/dom/uiregistry.ts +10 -10
  182. package/src/core/hotkeys/hotkeys.ts +9 -9
  183. package/src/core/islands/__tests__/bridge.test.ts +4 -4
  184. package/src/core/islands/__tests__/test-utils.tsx +4 -4
  185. package/src/core/islands/bridge.ts +85 -82
  186. package/src/core/islands/components/web-components.tsx +7 -7
  187. package/src/core/islands/worker/__tests__/controller.test.ts +1 -1
  188. package/src/core/islands/worker/controller.ts +6 -3
  189. package/src/core/islands/worker-factory.ts +2 -2
  190. package/src/core/kernel/RuntimeState.ts +4 -4
  191. package/src/core/kernel/__tests__/session.test.ts +110 -1
  192. package/src/core/kernel/session.ts +46 -15
  193. package/src/core/lsp/__tests__/transport.test.ts +19 -19
  194. package/src/core/lsp/transport.ts +5 -5
  195. package/src/core/network/CachingRequestRegistry.ts +2 -2
  196. package/src/core/network/DeferredRequestRegistry.ts +4 -4
  197. package/src/core/network/__tests__/export-asset-url.test.ts +45 -0
  198. package/src/core/network/export-asset-url.ts +19 -0
  199. package/src/core/network/requests-network.ts +2 -7
  200. package/src/core/runtime/runtime.ts +25 -20
  201. package/src/core/static/virtual-file-tracker.ts +5 -5
  202. package/src/core/wasm/__tests__/bridge.test.ts +2 -2
  203. package/src/core/wasm/bridge.ts +132 -133
  204. package/src/core/wasm/router.ts +5 -5
  205. package/src/core/wasm/store.ts +4 -4
  206. package/src/core/wasm/worker/bootstrap.ts +8 -5
  207. package/src/core/wasm/worker/message-buffer.ts +3 -3
  208. package/src/core/websocket/transports/__tests__/ws.test.ts +8 -8
  209. package/src/core/websocket/transports/basic.ts +15 -8
  210. package/src/core/websocket/transports/sse.ts +7 -7
  211. package/src/core/websocket/transports/transport.ts +3 -3
  212. package/src/core/websocket/transports/ws.ts +9 -7
  213. package/src/css/globals.css +18 -21
  214. package/src/css/katex.min.css +260 -241
  215. package/src/hooks/__tests__/useOverflowDetection.test.tsx +5 -5
  216. package/src/hooks/__tests__/useResizeObserver.test.tsx +12 -12
  217. package/src/plugins/core/registerReactComponent.tsx +5 -5
  218. package/src/plugins/core/sidebar-element.tsx +2 -2
  219. package/src/plugins/impl/ButtonPlugin.tsx +3 -3
  220. package/src/plugins/impl/CheckboxPlugin.tsx +3 -3
  221. package/src/plugins/impl/CodeEditorPlugin.tsx +3 -3
  222. package/src/plugins/impl/DatePickerPlugin.tsx +3 -3
  223. package/src/plugins/impl/DateRangePlugin.tsx +3 -3
  224. package/src/plugins/impl/DateTimePickerPlugin.tsx +3 -3
  225. package/src/plugins/impl/DictPlugin.tsx +3 -3
  226. package/src/plugins/impl/DropdownPlugin.tsx +3 -3
  227. package/src/plugins/impl/FileUploadPlugin.tsx +3 -3
  228. package/src/plugins/impl/MatrixPlugin.tsx +4 -4
  229. package/src/plugins/impl/MicrophonePlugin.tsx +3 -3
  230. package/src/plugins/impl/MultiselectPlugin.tsx +3 -3
  231. package/src/plugins/impl/NumberPlugin.tsx +3 -3
  232. package/src/plugins/impl/RadioPlugin.tsx +9 -5
  233. package/src/plugins/impl/RangeSliderPlugin.tsx +3 -3
  234. package/src/plugins/impl/RefreshPlugin.tsx +3 -3
  235. package/src/plugins/impl/SliderPlugin.tsx +3 -3
  236. package/src/plugins/impl/SwitchPlugin.tsx +3 -3
  237. package/src/plugins/impl/TabsPlugin.tsx +3 -3
  238. package/src/plugins/impl/TextAreaPlugin.tsx +3 -3
  239. package/src/plugins/impl/TextInputPlugin.tsx +3 -3
  240. package/src/plugins/impl/__tests__/MatrixPlugin.test.tsx +2 -2
  241. package/src/plugins/impl/anywidget/model.ts +10 -10
  242. package/src/plugins/impl/anywidget/registry.ts +12 -9
  243. package/src/plugins/impl/anywidget/runtime.ts +11 -9
  244. package/src/plugins/impl/anywidget/widget-binding.ts +6 -6
  245. package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +7 -6
  246. package/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx +3 -3
  247. package/src/plugins/impl/matplotlib/__tests__/matplotlib-renderer.test.ts +2 -2
  248. package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +2 -2
  249. package/src/plugins/impl/mpl-interactive/mpl-websocket-shim.ts +10 -10
  250. package/src/plugins/impl/panel/utils.ts +5 -5
  251. package/src/plugins/impl/plotly/PlotlyPlugin.tsx +3 -3
  252. package/src/plugins/impl/vega/VegaPlugin.tsx +3 -3
  253. package/src/plugins/impl/vega/__tests__/use-vega-container-remeasure.test.ts +7 -7
  254. package/src/plugins/impl/vega/__tests__/utils.test.ts +16 -1
  255. package/src/plugins/impl/vega/__tests__/vega.test.ts +37 -0
  256. package/src/plugins/impl/vega/loader.ts +23 -1
  257. package/src/plugins/impl/vega/utils.ts +5 -4
  258. package/src/plugins/layout/AccordionPlugin.tsx +3 -3
  259. package/src/plugins/layout/CalloutPlugin.tsx +3 -3
  260. package/src/plugins/layout/ImageComparisonPlugin.tsx +5 -3
  261. package/src/plugins/layout/JsonOutputPlugin.tsx +3 -3
  262. package/src/plugins/layout/MimeRenderPlugin.tsx +3 -3
  263. package/src/plugins/layout/NavigationMenuPlugin.tsx +3 -3
  264. package/src/plugins/layout/OutlinePlugin.tsx +3 -3
  265. package/src/plugins/layout/ProgressPlugin.tsx +3 -3
  266. package/src/plugins/layout/RoutesPlugin.tsx +6 -8
  267. package/src/plugins/layout/StatPlugin.tsx +3 -3
  268. package/src/plugins/layout/TexPlugin.tsx +3 -3
  269. package/src/plugins/layout/carousel/CarouselPlugin.tsx +4 -4
  270. package/src/plugins/layout/mermaid/MermaidPlugin.tsx +3 -3
  271. package/src/utils/Deferred.ts +6 -6
  272. package/src/utils/async-capture-tracker.ts +10 -7
  273. package/src/utils/errors.ts +5 -5
  274. package/src/utils/id-tree.tsx +83 -80
  275. package/src/utils/lru.ts +1 -1
  276. package/src/utils/multi-map.ts +14 -12
  277. package/src/utils/paths.ts +6 -6
  278. package/src/utils/pluralize.ts +3 -3
  279. package/src/utils/progress.ts +6 -6
  280. package/src/utils/python-poet/poet.ts +14 -14
  281. package/src/utils/routes.ts +4 -2
  282. package/src/utils/semaphore.ts +6 -6
  283. package/src/utils/storage/storage.ts +6 -6
  284. package/src/utils/storage/typed.ts +16 -12
  285. package/src/utils/time.ts +9 -9
  286. package/src/utils/timed-cache.ts +4 -4
  287. package/src/utils/tracer.ts +9 -6
  288. package/dist/classDiagram-ZZMXUADV-Fe-V14Sc.js +0 -30
  289. package/dist/classDiagram-v2-VYDZK3BY-xTDg7lOs.js +0 -30
  290. package/dist/flowDiagram-HODETNUW-6dMdB8pR.js +0 -16
  291. package/dist/katex-DFBiSucW.js +0 -21840
  292. package/dist/label-BJ49YTvk.js +0 -30
  293. package/dist/stateDiagram-v2-MP3YSRHH-o05_rJN8.js +0 -30
  294. package/dist/swimlanesDiagram-VR7AAH4N-D_nFQfRc.js +0 -30
@@ -1,4 +1,4 @@
1
- import { at as e, it as t } from "./chunk-DU6HZSFF-BUgAHvnM.js";
1
+ import { at as e, it as t } from "./chunk-DU6HZSFF-1TwWR6gh.js";
2
2
  //#region ../node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.js
3
3
  var n = (n, r) => e.lang.round(t.parse(n)[r]);
4
4
  //#endregion
@@ -3,17 +3,17 @@ import { c as n, g as r, h as i, t as a } from "./button-DdXAm8iz.js";
3
3
  import { t as o } from "./react-ofJbxM4x.js";
4
4
  import { t as s } from "./compiler-runtime-Cj8ZWiNS.js";
5
5
  import { i as c, t as l } from "./copy-icon-CLdENY__.js";
6
- import { F as u, H as d, U as f, V as p, X as m, Y as h, Z as g, _, a as v, c as y, d as b, f as x, g as S, h as C, l as w, m as T, n as E, p as D, r as O, t as k, v as A, x as ee, y as te, z as ne } from "./html-to-image-CeYYvQNb.js";
6
+ import { F as u, H as d, U as f, V as p, X as m, Y as h, Z as g, _, a as v, c as y, d as b, f as x, g as S, h as C, l as w, m as T, n as E, p as D, r as O, t as k, v as A, x as ee, y as te, z as ne } from "./html-to-image-CmkwfNkf.js";
7
7
  import { g as j, t as re } from "./tooltip-qB8NlSqV.js";
8
- import { Ct as ie, Dt as ae, Kt as oe, Lt as se, N as ce, St as le, Vt as ue, Z as de, b as fe, ct as pe, d as me, fn as he, hn as ge, ht as _e, in as ve, it as ye, lt as be, pn as xe, tt as Se, vn as Ce, wt as we } from "./cells-DYIkSxs6.js";
8
+ import { $ as ie, $t as ae, It as oe, K as se, Mt as ce, N as le, St as ue, Vt as de, X as fe, _t as pe, b as me, cn as he, d as ge, it as _e, pn as ve, rt as ye, sn as be, un as xe, ut as Se, vt as Ce, yt as we } from "./cells-Cv93oav_.js";
9
9
  import { A as Te, C as Ee, M as De, b as Oe } from "./select-C6plhmZr.js";
10
- import { _ as ke, f as Ae, h as je, i as Me, n as Ne, t as Pe } from "./dropdown-menu-CZgjYSAh.js";
11
- import { p as Fe, v as Ie } from "./toDate-WXg1yLcI.js";
12
- import { d as Le, f as Re, i as ze, n as Be, t as Ve, u as He } from "./process-output-BCTjlyuH.js";
10
+ import { _ as ke, f as Ae, h as je, i as Me, n as Ne, t as Pe } from "./dropdown-menu-CZy06LAq.js";
11
+ import { T as Fe, p as Ie } from "./toDate-C67bxMWn.js";
12
+ import { d as Le, f as Re, i as ze, n as Be, t as Ve, u as He } from "./process-output-CYN5E-iO.js";
13
13
  import { t as Ue } from "./jsx-runtime-DgDPJV9S.js";
14
14
  import { A as We, C as Ge, D as Ke, E as qe, F as Je, L as Ye, M as Xe, O as Ze, P as Qe, R as $e, S as et, T as tt, V as nt, b as rt, j as it, v as at, w as ot, x as st, y as ct, z as lt } from "./use-restore-focus-D5D9xEjZ.js";
15
15
  import { n as ut } from "./error-banner-B94dcDmP.js";
16
- import { t as dt } from "./label-BJ49YTvk.js";
16
+ import { t as dt } from "./label-BslhXqL6.js";
17
17
  import { t as ft } from "./isEmpty-BSZ1LaUo.js";
18
18
  import { A as pt, T as mt, n as ht } from "./useTheme-DzXmYZ5V.js";
19
19
  import { $ as gt, At as _t, Bt as vt, Lt as yt, Nt as bt, Rt as xt, Z as St, jt as Ct, mt as wt, nt as Tt, pt as Et, tt as Dt } from "./dist-Kxgjxakw.js";
@@ -22,7 +22,7 @@ import { n as kt, o as At, r as jt } from "./dist-B1vYLK28.js";
22
22
  import { n as Mt } from "./dist-BRxfaJgs.js";
23
23
  import { n as Nt, t as Pt } from "./esm-h8f7-1CJ.js";
24
24
  import { t as Ft } from "./useAsyncData-BD6AStMt.js";
25
- import { i as It, r as Lt, t as Rt } from "./error-entries-C0NsUqXl.js";
25
+ import { i as It, r as Lt, t as Rt } from "./error-entries-DLl0XqoW.js";
26
26
  var zt = j("ban", [["circle", {
27
27
  cx: "12",
28
28
  cy: "12",
@@ -3383,7 +3383,7 @@ var Ea = class extends T {
3383
3383
  super(), this.store = e;
3384
3384
  }
3385
3385
  getItems() {
3386
- let e = this.store.get(me), t = [];
3386
+ let e = this.store.get(ge), t = [];
3387
3387
  for (let n of e.cellIds.inOrderIds) {
3388
3388
  let r = ka(n, e), i = r.cellOutput;
3389
3389
  if (!i) continue;
@@ -3461,7 +3461,7 @@ async function Da(e, t, n) {
3461
3461
  let i = e.filter((e) => e.shouldDownloadImage && e.outputType === "media");
3462
3462
  if (i.length === 0) return [];
3463
3463
  let a = i.flatMap((e) => {
3464
- let i = document.getElementById(oe.create(t));
3464
+ let i = document.getElementById(de.create(t));
3465
3465
  return i ? {
3466
3466
  cellId: t,
3467
3467
  cellName: n,
@@ -3492,7 +3492,7 @@ function Oa(e) {
3492
3492
  };
3493
3493
  }
3494
3494
  function ka(e, t, n) {
3495
- let { includeConsoleOutput: r = !1 } = n || {}, i = t.cellRuntime[e], a = t.cellData[e], o = t.cellIds.inOrderIds.indexOf(e), s = ce(a.name, o), c;
3495
+ let { includeConsoleOutput: r = !1 } = n || {}, i = t.cellRuntime[e], a = t.cellData[e], o = t.cellIds.inOrderIds.indexOf(e), s = le(a.name, o), c;
3496
3496
  r && (c = i.consoleOutputs.map((e) => Oa(e)).filter((e) => e !== null));
3497
3497
  let l, u = i.output;
3498
3498
  return u && !v(u) && (l = Oa(u) ?? void 0), {
@@ -3507,7 +3507,7 @@ function ka(e, t, n) {
3507
3507
  //#region src/core/ai/context/providers/error.ts
3508
3508
  function Aa(e, t) {
3509
3509
  let n = [`Code:\n${e.cellCode}`];
3510
- if (e.tracebackHtml && n.push(`Traceback:\n${fe(e.tracebackHtml)}`), e.errorData.length > 0 && n.push(e.errorData.map((e) => Lt(e)).join("\n\n")), e.errorData.some((e) => e.type === "sql-error")) {
3510
+ if (e.tracebackHtml && n.push(`Traceback:\n${me(e.tracebackHtml)}`), e.errorData.length > 0 && n.push(e.errorData.map((e) => Lt(e)).join("\n\n")), e.errorData.some((e) => e.type === "sql-error")) {
3511
3511
  let r = w(e.cellId, t);
3512
3512
  r && n.push(`Database schema:\n${r}`);
3513
3513
  }
@@ -3524,12 +3524,12 @@ function ja(e, t) {
3524
3524
  });
3525
3525
  }
3526
3526
  function Ma(e) {
3527
- return e.errorData.length === 1 ? Rt(e.errorData[0]) : e.errorData.length > 1 ? `${e.errorData.length} errors` : e.tracebackHtml ? fe(e.tracebackHtml).trim().split("\n").find((e) => e.trim())?.trim() || "traceback" : "error";
3527
+ return e.errorData.length === 1 ? Rt(e.errorData[0]) : e.errorData.length > 1 ? `${e.errorData.length} errors` : e.tracebackHtml ? me(e.tracebackHtml).trim().split("\n").find((e) => e.trim())?.trim() || "traceback" : "error";
3528
3528
  }
3529
3529
  function Na(e) {
3530
3530
  return `Error: ${e.cellName || `Cell ${e.cellId}`}`;
3531
3531
  }
3532
- var Pa = new _e("error", "errors"), Fa = class extends T {
3532
+ var Pa = new Se("error", "errors"), Fa = class extends T {
3533
3533
  title = "Errors";
3534
3534
  mentionPrefix = "@";
3535
3535
  contextType = "error";
@@ -3603,7 +3603,7 @@ var Pa = new _e("error", "errors"), Fa = class extends T {
3603
3603
  formatContext(e) {
3604
3604
  return (e.data.type === "all-errors" ? e.data.errors : [e.data.error]).map((e) => ja(e, this.store)).join("\n\n");
3605
3605
  }
3606
- }, Ia = se(), La = {
3606
+ }, Ia = ce(), La = {
3607
3607
  maxDepth: 3,
3608
3608
  maxResults: 20,
3609
3609
  defaultResultsLimit: 5,
@@ -3894,7 +3894,7 @@ var Pa = new _e("error", "errors"), Fa = class extends T {
3894
3894
  detail: n.dataType ?? "",
3895
3895
  type: this.contextType,
3896
3896
  section: x.VARIABLE,
3897
- info: () => de(n)
3897
+ info: () => se(n)
3898
3898
  };
3899
3899
  }
3900
3900
  formatContext(e) {
@@ -3912,11 +3912,11 @@ var Pa = new _e("error", "errors"), Fa = class extends T {
3912
3912
  //#endregion
3913
3913
  //#region src/core/ai/context/context.ts
3914
3914
  function Va(e) {
3915
- let t = e.get(ie), n = e.get(le), r = e.get(be);
3915
+ let t = e.get(Ce), n = e.get(pe), r = e.get(_e);
3916
3916
  return new C().register(new za(n)).register(new Ba(r, n)).register(new Fa(e)).register(new Ea(e)).register(new y(t.connectionsMap, n));
3917
3917
  }
3918
3918
  function Ha() {
3919
- return new Ra(ae());
3919
+ return new Ra(ue());
3920
3920
  }
3921
3921
  //#endregion
3922
3922
  //#region src/components/editor/ai/completion-utils.ts
@@ -3986,7 +3986,7 @@ var Ka = (e) => {
3986
3986
  s
3987
3987
  ] }), t[4] = n, t[5] = o, t[6] = s, t[7] = c) : c = t[7];
3988
3988
  let l = c;
3989
- if (a && Fe(a)) {
3989
+ if (a && Ie(a)) {
3990
3990
  let e = i ?? r, n;
3991
3991
  return t[8] !== l || t[9] !== a || t[10] !== e ? (n = /* @__PURE__ */ (0, q.jsx)("a", {
3992
3992
  href: a,
@@ -4150,7 +4150,7 @@ var Xa = (e) => {
4150
4150
  let m;
4151
4151
  t[5] === Symbol.for("react.memo_cache_sentinel") ? (m = () => l($a), t[5] = m) : m = t[5];
4152
4152
  let h;
4153
- t[6] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, q.jsx)(Ce, { className: "h-3.5 w-3.5 shrink-0" }), t[6] = h) : h = t[6];
4153
+ t[6] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, q.jsx)(ve, { className: "h-3.5 w-3.5 shrink-0" }), t[6] = h) : h = t[6];
4154
4154
  let g;
4155
4155
  t[7] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ (0, q.jsx)("span", {
4156
4156
  className: "font-semibold",
@@ -4247,7 +4247,7 @@ var to = Ze({
4247
4247
  let m;
4248
4248
  t[10] === c ? m = t[11] : (m = c && /* @__PURE__ */ (0, q.jsxs)("div", {
4249
4249
  className: "flex items-start gap-2",
4250
- children: [/* @__PURE__ */ (0, q.jsx)(he, { className: "h-3 w-3 text-(--blue-11) mt-0.5 shrink-0" }), /* @__PURE__ */ (0, q.jsx)("div", {
4250
+ children: [/* @__PURE__ */ (0, q.jsx)(be, { className: "h-3 w-3 text-(--blue-11) mt-0.5 shrink-0" }), /* @__PURE__ */ (0, q.jsx)("div", {
4251
4251
  className: "text-xs text-foreground",
4252
4252
  children: c
4253
4253
  })]
@@ -4531,12 +4531,12 @@ var lo = (e) => {
4531
4531
  isActive: i
4532
4532
  }, s);
4533
4533
  case "source-document": return /* @__PURE__ */ (0, q.jsx)(qa, {
4534
- icon: /* @__PURE__ */ (0, q.jsx)(xe, { className: "h-3 w-3 shrink-0" }),
4534
+ icon: /* @__PURE__ */ (0, q.jsx)(he, { className: "h-3 w-3 shrink-0" }),
4535
4535
  title: o.title,
4536
4536
  subtitle: o.filename
4537
4537
  }, s);
4538
4538
  case "source-url": return /* @__PURE__ */ (0, q.jsx)(qa, {
4539
- icon: /* @__PURE__ */ (0, q.jsx)(ge, { className: "h-3 w-3 shrink-0" }),
4539
+ icon: /* @__PURE__ */ (0, q.jsx)(xe, { className: "h-3 w-3 shrink-0" }),
4540
4540
  title: o.title ?? o.url,
4541
4541
  subtitle: o.title ? o.url : void 0,
4542
4542
  href: o.url
@@ -5111,8 +5111,8 @@ function ns(e) {
5111
5111
  let t = document.createElement("div");
5112
5112
  return t.innerHTML = e, { dom: t };
5113
5113
  }
5114
- ve("marimo:ai-language", "python", pe);
5115
- var rs = "marimo:ai-prompt-history", is = new ue(et(Je()), () => []), as = (e) => {
5114
+ ae("marimo:ai-language", "python", ye);
5115
+ var rs = "marimo:ai-prompt-history", is = new oe(et(Je()), () => []), as = (e) => {
5116
5116
  let t = (0, M.c)(35), { value: n, placeholder: r, inputRef: a, className: o, onChange: s, onSubmit: c, onKeyDown: l, onClose: u, onAddFiles: d, additionalCompletions: f, maxHeight: p } = e, m = c, h = u, g = mt(), { theme: _ } = ht(), v;
5117
5117
  t[0] === f ? v = t[1] : (v = (e) => f ? Ua([f.triggerCompletionRegex], f.completions)(e) : null, t[0] = f, t[1] = v);
5118
5118
  let y = pt(v), b, x, S, C;
@@ -5221,7 +5221,7 @@ var ds = (e) => {
5221
5221
  y.current = s;
5222
5222
  let b = (0, K.useRef)(null), x = (0, K.useRef)(null), S = (0, K.useRef)(null), [C, w] = (0, K.useState)(null), T = () => {
5223
5223
  S.current = null, w(null);
5224
- }, { data: D } = Ft(async () => (await e.get_chat_history({})).messages, []), O = e.value.length > 0 ? e.value : D, { messages: k, sendMessage: A, setMessages: ee, status: te, stop: ne, error: j, regenerate: ie, clearError: ae, addToolApprovalResponse: oe } = ba({
5224
+ }, { data: D } = Ft(async () => (await e.get_chat_history({})).messages, []), O = e.value.length > 0 ? e.value : D, { messages: k, sendMessage: A, setMessages: ee, status: te, stop: ne, error: j, regenerate: ae, clearError: oe, addToolApprovalResponse: se } = ba({
5225
5225
  sendAutomaticallyWhen: ({ messages: e }) => Ga(e),
5226
5226
  transport: new ea({ fetch: async (t, n) => {
5227
5227
  if (n === void 0) return fetch(t);
@@ -5237,7 +5237,7 @@ var ds = (e) => {
5237
5237
  let t = i.messages.map((e) => ({
5238
5238
  ...e,
5239
5239
  content: e.parts?.map((e) => "text" in e ? e.text : "").join("\n")
5240
- })), n = ye();
5240
+ })), n = ie();
5241
5241
  T();
5242
5242
  let s = new ReadableStream({
5243
5243
  start(t) {
@@ -5310,30 +5310,30 @@ var ds = (e) => {
5310
5310
  });
5311
5311
  }
5312
5312
  });
5313
- let se = te === "submitted" || te === "streaming", ce = (t) => {
5313
+ let ce = te === "submitted" || te === "streaming", le = (t) => {
5314
5314
  let n = k.findIndex((e) => e.id === t);
5315
5315
  if (n !== -1) {
5316
5316
  let r = k.filter((e) => e.id !== t);
5317
5317
  e.delete_chat_message({ index: n }), ee(r), e.setValue(r), r.length === 0 && T();
5318
5318
  }
5319
- }, le = Array.isArray(e.allowAttachments) && e.allowAttachments.length > 0 || e.allowAttachments === !0, ue = {
5319
+ }, ue = Array.isArray(e.allowAttachments) && e.allowAttachments.length > 0 || e.allowAttachments === !0, de = {
5320
5320
  triggerCompletionRegex: /^\/(\w+)?/,
5321
5321
  completions: e.prompts.map((e) => ({
5322
5322
  label: `/${e}`,
5323
5323
  displayLabel: e,
5324
5324
  apply: e
5325
5325
  }))
5326
- }, de = e.prompts.length > 0 ? "Type your message here, / for prompts" : "Type your message here...";
5326
+ }, pe = e.prompts.length > 0 ? "Type your message here, / for prompts" : "Type your message here...";
5327
5327
  (0, K.useEffect)(() => {
5328
5328
  v.current?.scrollTo({
5329
5329
  top: v.current.scrollHeight,
5330
5330
  behavior: "smooth"
5331
5331
  });
5332
5332
  }, [k.length, v]);
5333
- let fe = _.current?.view, pe = () => {
5334
- if (fe) {
5335
- let e = fe.state.doc.length;
5336
- fe.dispatch({ changes: {
5333
+ let me = _.current?.view, he = () => {
5334
+ if (me) {
5335
+ let e = me.state.doc.length;
5336
+ me.dispatch({ changes: {
5337
5337
  from: 0,
5338
5338
  to: e,
5339
5339
  insert: ""
@@ -5352,7 +5352,7 @@ var ds = (e) => {
5352
5352
  size: "icon",
5353
5353
  disabled: k.length === 0,
5354
5354
  onClick: () => {
5355
- ee([]), e.setValue([]), e.delete_chat_history({}), ae(), T();
5355
+ ee([]), e.setValue([]), e.delete_chat_history({}), oe(), T();
5356
5356
  },
5357
5357
  children: /* @__PURE__ */ (0, q.jsx)(Wt, { className: "h-3 w-3" })
5358
5358
  })
@@ -5385,8 +5385,8 @@ var ds = (e) => {
5385
5385
  message: e,
5386
5386
  isStreamingReasoning: te === "streaming",
5387
5387
  isLast: r,
5388
- isActive: se,
5389
- addToolApprovalResponse: r ? oe : void 0
5388
+ isActive: ce,
5389
+ addToolApprovalResponse: r ? se : void 0
5390
5390
  })
5391
5391
  }), /* @__PURE__ */ (0, q.jsxs)("div", {
5392
5392
  className: "flex justify-end text-xs gap-2 invisible group-hover:visible",
@@ -5396,14 +5396,14 @@ var ds = (e) => {
5396
5396
  buttonClassName: "text-xs text-(--slate-9) hover:text-(--slate-11)"
5397
5397
  }), /* @__PURE__ */ (0, q.jsx)("button", {
5398
5398
  type: "button",
5399
- onClick: () => ce(e.id),
5399
+ onClick: () => le(e.id),
5400
5400
  className: "text-xs text-(--slate-9) hover:text-(--slate-11)",
5401
5401
  children: /* @__PURE__ */ (0, q.jsx)(m, { className: "h-3 w-3 text-(--red-9)" })
5402
5402
  })]
5403
5403
  })]
5404
5404
  }, `${e.id}-${t}`);
5405
5405
  }),
5406
- se && /* @__PURE__ */ (0, q.jsx)("div", {
5406
+ ce && /* @__PURE__ */ (0, q.jsx)("div", {
5407
5407
  className: "flex items-center justify-center mb-4",
5408
5408
  children: /* @__PURE__ */ (0, q.jsx)(E, { size: "small" })
5409
5409
  }),
@@ -5412,11 +5412,11 @@ var ds = (e) => {
5412
5412
  children: [/* @__PURE__ */ (0, q.jsx)(ut, { error: j }), /* @__PURE__ */ (0, q.jsx)(a, {
5413
5413
  variant: "outline",
5414
5414
  size: "sm",
5415
- onClick: () => ie(),
5415
+ onClick: () => ae(),
5416
5416
  children: "Retry"
5417
5417
  })]
5418
5418
  }),
5419
- C && !se && !j && /* @__PURE__ */ (0, q.jsx)("div", {
5419
+ C && !ce && !j && /* @__PURE__ */ (0, q.jsx)("div", {
5420
5420
  className: "flex justify-center py-2",
5421
5421
  children: /* @__PURE__ */ (0, q.jsx)("span", {
5422
5422
  className: "text-xs text-muted-foreground",
@@ -5435,7 +5435,7 @@ var ds = (e) => {
5435
5435
  type: "text",
5436
5436
  text: t
5437
5437
  }, ...r ?? []]
5438
- }), pe();
5438
+ }), he();
5439
5439
  },
5440
5440
  ref: g,
5441
5441
  inert: e.disabled || void 0,
@@ -5449,13 +5449,13 @@ var ds = (e) => {
5449
5449
  prompts: e.prompts,
5450
5450
  onSelect: (e) => {
5451
5451
  o(e), requestAnimationFrame(() => {
5452
- fe?.focus(), Se(fe);
5452
+ me?.focus(), fe(me);
5453
5453
  });
5454
5454
  }
5455
5455
  }),
5456
5456
  /* @__PURE__ */ (0, q.jsx)(as, {
5457
5457
  className: "rounded-sm mr-2",
5458
- placeholder: de,
5458
+ placeholder: pe,
5459
5459
  value: t,
5460
5460
  inputRef: _,
5461
5461
  maxHeight: e.maxHeight ? `${e.maxHeight / 2}px` : void 0,
@@ -5464,7 +5464,7 @@ var ds = (e) => {
5464
5464
  t.trim() && g.current?.requestSubmit();
5465
5465
  },
5466
5466
  onClose: () => {},
5467
- additionalCompletions: ue
5467
+ additionalCompletions: de
5468
5468
  }),
5469
5469
  f && f.length === 1 && /* @__PURE__ */ (0, q.jsx)("span", {
5470
5470
  title: f[0].name,
@@ -5485,7 +5485,7 @@ var ds = (e) => {
5485
5485
  },
5486
5486
  children: /* @__PURE__ */ (0, q.jsx)(Te, { className: "size-3" })
5487
5487
  }),
5488
- le && /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [/* @__PURE__ */ (0, q.jsx)(a, {
5488
+ ue && /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [/* @__PURE__ */ (0, q.jsx)(a, {
5489
5489
  type: "button",
5490
5490
  variant: "text",
5491
5491
  size: "sm",
@@ -5501,7 +5501,7 @@ var ds = (e) => {
5501
5501
  e.target.files && p([...e.target.files]);
5502
5502
  }
5503
5503
  })] }),
5504
- se ? /* @__PURE__ */ (0, q.jsx)(re, {
5504
+ ce ? /* @__PURE__ */ (0, q.jsx)(re, {
5505
5505
  content: "Stop generating",
5506
5506
  children: /* @__PURE__ */ (0, q.jsx)(a, {
5507
5507
  type: "button",
@@ -5610,7 +5610,7 @@ var ds = (e) => {
5610
5610
  className: "text-xs flex flex-col",
5611
5611
  children: fs[t].description
5612
5612
  }),
5613
- children: /* @__PURE__ */ (0, q.jsx)(Ie, { className: "h-3 w-3 cursor-help text-muted-foreground hover:text-foreground" })
5613
+ children: /* @__PURE__ */ (0, q.jsx)(Fe, { className: "h-3 w-3 cursor-help text-muted-foreground hover:text-foreground" })
5614
5614
  })]
5615
5615
  }), /* @__PURE__ */ (0, q.jsx)(ke, {
5616
5616
  id: t,
@@ -1,10 +1,10 @@
1
- import { a as e, p as t, r as n, u as r } from "./chunk-75Z2AOVW-5_HsvXwr.js";
1
+ import { a as e, p as t, r as n, u as r } from "./chunk-75Z2AOVW-C4AOleKf.js";
2
2
  import { n as i, t as a } from "./src-CA_m4ONl.js";
3
3
  import { n as o } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
- import { A as s, B as c, M as l, T as u, b as d, f, g as p, x as m, z as h } from "./chunk-DU6HZSFF-BUgAHvnM.js";
5
- import { a as g, i as _, r as v, t as y } from "./chunk-P2QGCYS3-C0iGU29N.js";
6
- import { t as b } from "./chunk-PWAF6VOD-CTFCL0jI.js";
7
- import { n as x, r as S } from "./chunk-GMAD6QVW-Czynz8aA.js";
4
+ import { A as s, B as c, M as l, T as u, b as d, f, g as p, x as m, z as h } from "./chunk-DU6HZSFF-1TwWR6gh.js";
5
+ import { a as g, i as _, r as v, t as y } from "./chunk-P2QGCYS3-0TAWai9C.js";
6
+ import { t as b } from "./chunk-PWAF6VOD-lNxB9k8z.js";
7
+ import { n as x, r as S } from "./chunk-GMAD6QVW-vStrMz2P.js";
8
8
  import { t as C } from "./rough.esm-CtV9AnV1.js";
9
9
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4HAMMTFA.mjs
10
10
  var w = 1, T = 3;
@@ -1,7 +1,7 @@
1
1
  import { A as e, B as t, F as n, G as r, H as i, I as a, K as o, L as s, M as c, N as l, P as u, R as ee, U as te, V as ne, W as re, X as ie, j as ae, z as oe } from "./cubic-OaEBhQPK.js";
2
2
  import { n as d, t as se } from "./src-CA_m4ONl.js";
3
3
  import { n as f } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
- import { R as ce, h as p, p as le, r as m, s as h } from "./chunk-DU6HZSFF-BUgAHvnM.js";
4
+ import { R as ce, h as p, p as le, r as m, s as h } from "./chunk-DU6HZSFF-1TwWR6gh.js";
5
5
  import { t as ue } from "./dist-DUAh96QY.js";
6
6
  //#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.js
7
7
  var de = class {
@@ -2831,7 +2831,7 @@ var nt = /* @__PURE__ */ r((t) => (et(), e.sanitize(t)), "removeScript"), rt = /
2831
2831
  if (!G(e)) return e;
2832
2832
  if (!(ht() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(W, "MathML is unsupported in this environment.");
2833
2833
  {
2834
- let { default: n } = await import("./katex-C6D4cX_N.js").then((e) => e.n), r = t.forceLegacyMathML || !ht() && t.legacyMathML ? "htmlAndMathml" : "mathml";
2834
+ let { default: n } = await import("./katex-BNCmKUol.js").then((e) => e.n), r = t.forceLegacyMathML || !ht() && t.legacyMathML ? "htmlAndMathml" : "mathml";
2835
2835
  return e.split(V).map((e) => G(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(W, (e, t) => n.renderToString(t, {
2836
2836
  throwOnError: !0,
2837
2837
  displayMode: !0,
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./src-CA_m4ONl.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
3
- import { j as n } from "./chunk-DU6HZSFF-BUgAHvnM.js";
3
+ import { j as n } from "./chunk-DU6HZSFF-1TwWR6gh.js";
4
4
  import { t as r } from "./dist-DUAh96QY.js";
5
5
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-F27PBJKO.mjs
6
6
  var i = r(), a = /* @__PURE__ */ t((e, t) => {
@@ -1,9 +1,9 @@
1
1
  import { a as e, t } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { a as n } from "./chunk-75Z2AOVW-5_HsvXwr.js";
2
+ import { a as n } from "./chunk-75Z2AOVW-C4AOleKf.js";
3
3
  import { n as r, t as i } from "./src-CA_m4ONl.js";
4
4
  import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
- import { A as o, F as s, b as c, s as l, z as u } from "./chunk-DU6HZSFF-BUgAHvnM.js";
6
- import { n as d, t as f } from "./chunk-PWAF6VOD-CTFCL0jI.js";
5
+ import { A as o, F as s, b as c, s as l, z as u } from "./chunk-DU6HZSFF-1TwWR6gh.js";
6
+ import { n as d, t as f } from "./chunk-PWAF6VOD-lNxB9k8z.js";
7
7
  //#region ../node_modules/.pnpm/fastdom@1.0.12/node_modules/fastdom/fastdom.js
8
8
  var p = /* @__PURE__ */ t(((e, t) => {
9
9
  (function(e) {
@@ -1,7 +1,7 @@
1
- import { u as e } from "./chunk-75Z2AOVW-5_HsvXwr.js";
1
+ import { u as e } from "./chunk-75Z2AOVW-C4AOleKf.js";
2
2
  import { n as t } from "./src-CA_m4ONl.js";
3
3
  import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
- import { o as r } from "./chunk-4HAMMTFA-D2qv8E0X.js";
4
+ import { o as r } from "./chunk-4HAMMTFA-BPTTOOC5.js";
5
5
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-GVQU2GXP.mjs
6
6
  var i = /* @__PURE__ */ n(({ flowchart: e }) => {
7
7
  let t = e?.subGraphTitleMargin?.top ?? 0, n = e?.subGraphTitleMargin?.bottom ?? 0;
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./purify.es-DgKyQviY.js";
2
- import { g as t, s as n } from "./chunk-75Z2AOVW-5_HsvXwr.js";
2
+ import { g as t, s as n } from "./chunk-75Z2AOVW-C4AOleKf.js";
3
3
  import { n as r, t as i } from "./src-CA_m4ONl.js";
4
4
  import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
- import { H as o, K as s, U as c, a as l, s as u, v as d, w as f, x as p, y as m } from "./chunk-DU6HZSFF-BUgAHvnM.js";
6
- import { r as h } from "./mermaid-DPNuhemn.js";
7
- import { t as g } from "./chunk-F27PBJKO-DHmYWZXr.js";
5
+ import { H as o, K as s, U as c, a as l, s as u, v as d, w as f, x as p, y as m } from "./chunk-DU6HZSFF-1TwWR6gh.js";
6
+ import { r as h } from "./mermaid-Dnzoxjt1.js";
7
+ import { t as g } from "./chunk-F27PBJKO-DMI1PBe4.js";
8
8
  import { t as _ } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
9
- import { t as v } from "./chunk-POPQ4Y6H-BCbS3Ozc.js";
9
+ import { t as v } from "./chunk-POPQ4Y6H-Cc3_56GX.js";
10
10
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IMKFNOWR.mjs
11
11
  var y = (function() {
12
12
  var e = /* @__PURE__ */ a(function(e, t, n, r) {
@@ -1,11 +1,11 @@
1
1
  import { n as e, t } from "./src-CA_m4ONl.js";
2
2
  import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
3
- import { T as r, g as i, x as a } from "./chunk-DU6HZSFF-BUgAHvnM.js";
4
- import { a as o, i as s } from "./chunk-P2QGCYS3-C0iGU29N.js";
5
- import { n as c } from "./chunk-GMAD6QVW-Czynz8aA.js";
3
+ import { T as r, g as i, x as a } from "./chunk-DU6HZSFF-1TwWR6gh.js";
4
+ import { a as o, i as s } from "./chunk-P2QGCYS3-0TAWai9C.js";
5
+ import { n as c } from "./chunk-GMAD6QVW-vStrMz2P.js";
6
6
  import { t as l } from "./rough.esm-CtV9AnV1.js";
7
- import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-D2qv8E0X.js";
8
- import { n as p } from "./chunk-GVQU2GXP-yQEdulRS.js";
7
+ import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-BPTTOOC5.js";
8
+ import { n as p } from "./chunk-GVQU2GXP-2HwWgs4u.js";
9
9
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-L3NEJ4N5.mjs
10
10
  var m = /* @__PURE__ */ n(async (n, r) => {
11
11
  let u = a(), { themeVariables: f, handDrawnSeed: p } = u, { clusterBkg: m, clusterBorder: h } = f, g = h, { labelStyles: _, nodeStyles: v, borderStyles: y, backgroundStyles: b } = s(r), x = n.insert("g").attr("class", "cluster swimlane " + (r.cssClasses || "")).attr("id", r.id).attr("data-id", r.id).attr("data-et", "cluster").attr("data-look", r.look), S = i(u.flowchart.htmlLabels), C = r.direction === "LR", w = x.insert("g").attr("class", "cluster-label swimlane-label"), T = await c(w, r.label, {
@@ -1,13 +1,13 @@
1
1
  import { A as e, F as t, H as n, K as r, M as i, N as a, P as o, X as s, j as c, q as l, z as u } from "./cubic-OaEBhQPK.js";
2
- import { K as d, g as f, q as p, u as m } from "./chunk-75Z2AOVW-5_HsvXwr.js";
2
+ import { K as d, g as f, q as p, u as m } from "./chunk-75Z2AOVW-C4AOleKf.js";
3
3
  import { n as h, t as g } from "./src-CA_m4ONl.js";
4
4
  import { n as _ } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
- import { T as v, b as y, x as b } from "./chunk-DU6HZSFF-BUgAHvnM.js";
6
- import { i as x, n as S } from "./chunk-P2QGCYS3-C0iGU29N.js";
7
- import { n as ee, r as C } from "./chunk-GMAD6QVW-Czynz8aA.js";
5
+ import { T as v, b as y, x as b } from "./chunk-DU6HZSFF-1TwWR6gh.js";
6
+ import { i as x, n as S } from "./chunk-P2QGCYS3-0TAWai9C.js";
7
+ import { n as ee, r as C } from "./chunk-GMAD6QVW-vStrMz2P.js";
8
8
  import { t as te } from "./rough.esm-CtV9AnV1.js";
9
- import { t as w } from "./chunk-4HAMMTFA-D2qv8E0X.js";
10
- import { n as T } from "./chunk-GVQU2GXP-yQEdulRS.js";
9
+ import { t as w } from "./chunk-4HAMMTFA-BPTTOOC5.js";
10
+ import { n as T } from "./chunk-GVQU2GXP-2HwWgs4u.js";
11
11
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OSK3NFVY.mjs
12
12
  var E = /* @__PURE__ */ _((e, t) => {
13
13
  if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
2
- import { x as t } from "./chunk-DU6HZSFF-BUgAHvnM.js";
2
+ import { x as t } from "./chunk-DU6HZSFF-1TwWR6gh.js";
3
3
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-P2QGCYS3.mjs
4
4
  var n = /* @__PURE__ */ e((e) => {
5
5
  let { handDrawnSeed: n } = t();
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./src-CA_m4ONl.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
3
- import { c as n } from "./chunk-DU6HZSFF-BUgAHvnM.js";
3
+ import { c as n } from "./chunk-DU6HZSFF-1TwWR6gh.js";
4
4
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-POPQ4Y6H.mjs
5
5
  var r = /* @__PURE__ */ t((t, r, o, s) => {
6
6
  t.attr("class", o);
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./src-CA_m4ONl.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
3
- import { b as n, z as r } from "./chunk-DU6HZSFF-BUgAHvnM.js";
3
+ import { b as n, z as r } from "./chunk-DU6HZSFF-1TwWR6gh.js";
4
4
  //#region ../node_modules/.pnpm/@iconify+utils@3.1.4/node_modules/@iconify/utils/lib/icon/defaults.js
5
5
  var i = Object.freeze({
6
6
  left: 0,
@@ -1,15 +1,15 @@
1
1
  import { t as e } from "./purify.es-DgKyQviY.js";
2
- import { c as t, g as n } from "./chunk-75Z2AOVW-5_HsvXwr.js";
2
+ import { c as t, g as n } from "./chunk-75Z2AOVW-C4AOleKf.js";
3
3
  import { n as r, t as i } from "./src-CA_m4ONl.js";
4
4
  import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
- import { G as o, H as s, K as c, U as l, a as u, d, k as f, rt as p, s as ee, v as m, w as h, x as g, y as _ } from "./chunk-DU6HZSFF-BUgAHvnM.js";
6
- import { t as te } from "./channel-B5XnTarr.js";
7
- import { i as ne } from "./chunk-4HAMMTFA-D2qv8E0X.js";
8
- import { a as re, i as v, n as y, r as b } from "./mermaid-DPNuhemn.js";
5
+ import { G as o, H as s, K as c, U as l, a as u, d, k as f, rt as p, s as ee, v as m, w as h, x as g, y as _ } from "./chunk-DU6HZSFF-1TwWR6gh.js";
6
+ import { t as te } from "./channel-z7HZXHwv.js";
7
+ import { i as ne } from "./chunk-4HAMMTFA-BPTTOOC5.js";
8
+ import { a as re, i as v, n as y, r as b } from "./mermaid-Dnzoxjt1.js";
9
9
  import { t as x } from "./chunk-5VM5RSS4-DKsmPCL6.js";
10
- import { t as S } from "./chunk-F27PBJKO-DHmYWZXr.js";
10
+ import { t as S } from "./chunk-F27PBJKO-DMI1PBe4.js";
11
11
  import { t as C } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
12
- import { t as w } from "./chunk-POPQ4Y6H-BCbS3Ozc.js";
12
+ import { t as w } from "./chunk-POPQ4Y6H-Cc3_56GX.js";
13
13
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SHT3W25Y.mjs
14
14
  var T = "flowchart-", E = class {
15
15
  constructor() {
@@ -1,7 +1,7 @@
1
1
  import { n as e } from "./src-CA_m4ONl.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
3
- import { D as n, a as r, b as i, c as a, x as o, z as s } from "./chunk-DU6HZSFF-BUgAHvnM.js";
4
- import { p as c } from "./mermaid-DPNuhemn.js";
3
+ import { D as n, a as r, b as i, c as a, x as o, z as s } from "./chunk-DU6HZSFF-1TwWR6gh.js";
4
+ import { p as c } from "./mermaid-Dnzoxjt1.js";
5
5
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SVP7TREG.mjs
6
6
  var l = "", u = "", d = "", f = [], p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ t((e) => s(e, o()), "sanitizeText"), h = /* @__PURE__ */ t((e) => {
7
7
  switch (e.type) {
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./purify.es-DgKyQviY.js";
2
- import { c as t, g as n } from "./chunk-75Z2AOVW-5_HsvXwr.js";
2
+ import { c as t, g as n } from "./chunk-75Z2AOVW-C4AOleKf.js";
3
3
  import { n as r, t as i } from "./src-CA_m4ONl.js";
4
4
  import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
- import { H as o, K as s, M as c, U as l, a as u, s as d, v as f, w as p, x as m, y as h, z as g } from "./chunk-DU6HZSFF-BUgAHvnM.js";
6
- import { n as _, r as v } from "./mermaid-DPNuhemn.js";
5
+ import { H as o, K as s, M as c, U as l, a as u, s as d, v as f, w as p, x as m, y as h, z as g } from "./chunk-DU6HZSFF-1TwWR6gh.js";
6
+ import { n as _, r as v } from "./mermaid-Dnzoxjt1.js";
7
7
  import { t as y } from "./chunk-5VM5RSS4-DKsmPCL6.js";
8
- import { t as b } from "./chunk-F27PBJKO-DHmYWZXr.js";
8
+ import { t as b } from "./chunk-F27PBJKO-DMI1PBe4.js";
9
9
  import { t as x } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
10
- import { t as S } from "./chunk-POPQ4Y6H-BCbS3Ozc.js";
10
+ import { t as S } from "./chunk-POPQ4Y6H-Cc3_56GX.js";
11
11
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TICWLB2K.mjs
12
12
  var C = (function() {
13
13
  var e = /* @__PURE__ */ a(function(e, t, n, r) {
@@ -0,0 +1,30 @@
1
+ import "./chunk-75Z2AOVW-C4AOleKf.js";
2
+ import "./src-CA_m4ONl.js";
3
+ import { n as e } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
+ import "./chunk-DU6HZSFF-1TwWR6gh.js";
5
+ import "./chunk-P2QGCYS3-0TAWai9C.js";
6
+ import "./chunk-PWAF6VOD-lNxB9k8z.js";
7
+ import "./chunk-GMAD6QVW-vStrMz2P.js";
8
+ import "./chunk-4HAMMTFA-BPTTOOC5.js";
9
+ import "./chunk-GVQU2GXP-2HwWgs4u.js";
10
+ import "./chunk-L3NEJ4N5-RhC7i0I2.js";
11
+ import "./chunk-OSK3NFVY-CZV09N-U.js";
12
+ import "./mermaid-Dnzoxjt1.js";
13
+ import "./chunk-F27PBJKO-DMI1PBe4.js";
14
+ import "./chunk-XXDRQBXY-Dnl5VBqG.js";
15
+ import "./chunk-POPQ4Y6H-Cc3_56GX.js";
16
+ import { i as t, n, r, t as i } from "./chunk-TICWLB2K-DdXM3eg6.js";
17
+ //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-ZZMXUADV.mjs
18
+ var a = {
19
+ parser: n,
20
+ get db() {
21
+ return new i();
22
+ },
23
+ renderer: r,
24
+ styles: t,
25
+ init: /* @__PURE__ */ e((e) => {
26
+ e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
27
+ }, "init")
28
+ };
29
+ //#endregion
30
+ export { a as diagram };
@@ -0,0 +1,30 @@
1
+ import "./chunk-75Z2AOVW-C4AOleKf.js";
2
+ import "./src-CA_m4ONl.js";
3
+ import { n as e } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
+ import "./chunk-DU6HZSFF-1TwWR6gh.js";
5
+ import "./chunk-P2QGCYS3-0TAWai9C.js";
6
+ import "./chunk-PWAF6VOD-lNxB9k8z.js";
7
+ import "./chunk-GMAD6QVW-vStrMz2P.js";
8
+ import "./chunk-4HAMMTFA-BPTTOOC5.js";
9
+ import "./chunk-GVQU2GXP-2HwWgs4u.js";
10
+ import "./chunk-L3NEJ4N5-RhC7i0I2.js";
11
+ import "./chunk-OSK3NFVY-CZV09N-U.js";
12
+ import "./mermaid-Dnzoxjt1.js";
13
+ import "./chunk-F27PBJKO-DMI1PBe4.js";
14
+ import "./chunk-XXDRQBXY-Dnl5VBqG.js";
15
+ import "./chunk-POPQ4Y6H-Cc3_56GX.js";
16
+ import { i as t, n, r, t as i } from "./chunk-TICWLB2K-DdXM3eg6.js";
17
+ //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-VYDZK3BY.mjs
18
+ var a = {
19
+ parser: n,
20
+ get db() {
21
+ return new i();
22
+ },
23
+ renderer: r,
24
+ styles: t,
25
+ init: /* @__PURE__ */ e((e) => {
26
+ e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
27
+ }, "init")
28
+ };
29
+ //#endregion
30
+ export { a as diagram };