@marimo-team/islands 0.25.3-dev21 → 0.25.3-dev211

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 (717) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DfG3PRaJ.js → ConnectedDataExplorerComponent-D6RHJV8D.js} +120 -116
  2. package/dist/{ErrorBoundary-ttSr7_91.js → ErrorBoundary-BpGAot_X.js} +16 -16
  3. package/dist/{abnfDiagram-VCTEODGH-B3w-XWX8.js → abnfDiagram-VCTEODGH-0q7Lbmii.js} +2 -2
  4. package/dist/any-language-editor-jGaR0EAo.js +75 -0
  5. package/dist/{architectureDiagram-5GKGNRK7-C18U9A6k.js → architectureDiagram-5GKGNRK7-1PydKPmE.js} +1 -1
  6. package/dist/{arrays-CN1djC4k.js → arrays-DoQ-AILx.js} +15 -27
  7. package/dist/assets/__vite-browser-external-CBRgnYY0.js +1 -0
  8. package/dist/assets/worker-DiPNP__U.js +113 -0
  9. package/dist/{button-CvjkwdSk.js → button-B6RjDKJx.js} +227 -217
  10. package/dist/{capabilities-CQ5IjhzL.js → capabilities-CkVzWJEX.js} +2 -2
  11. package/dist/{chat-ui-w8SVynkn.js → chat-ui-B5pH_aXk.js} +1277 -1275
  12. package/dist/{check-BMKBBrdc.js → check-Z_vtI3OL.js} +1 -1
  13. package/dist/{chunk-IMKFNOWR-CrS5bzqW.js → chunk-IMKFNOWR-DEzZZ1Zc.js} +1 -1
  14. package/dist/{chunk-SHT3W25Y-StpvPvUG.js → chunk-SHT3W25Y-CuHj-hnn.js} +1 -1
  15. package/dist/{chunk-SVP7TREG-CBXjbYZC.js → chunk-SVP7TREG-BPiZK2bA.js} +1 -1
  16. package/dist/{chunk-TICWLB2K-Dp6bIb-q.js → chunk-TICWLB2K-DF6XcIjM.js} +1 -1
  17. package/dist/{chunk-YOKDWASO-DPZk8vhS.js → chunk-YOKDWASO-DKplTrBY.js} +20 -20
  18. package/dist/{classDiagram-ZZMXUADV-BFYuxV5g.js → classDiagram-ZZMXUADV-CMdR-cP4.js} +2 -2
  19. package/dist/{classDiagram-v2-VYDZK3BY-D_tjXVMl.js → classDiagram-v2-VYDZK3BY-DRvc3_7Y.js} +2 -2
  20. package/dist/code-visibility-B5trOyTh.js +134 -0
  21. package/dist/{common-CeebhhhO.js → common-BiM3Xm_d.js} +9837 -9658
  22. package/dist/config-DbjzjwxX.js +636 -0
  23. package/dist/{copy-icon-BgUO8jsi.js → copy-icon-CG57cxwb.js} +3 -3
  24. package/dist/createReducer-DePYJ0F3.js +63 -0
  25. package/dist/{cynefinDiagram-5FMLGOSQ-DSgYrHB2.js → cynefinDiagram-5FMLGOSQ-BkBjEY9l.js} +1 -1
  26. package/dist/{dagre-GXQ25YYZ-GYlruCBf.js → dagre-GXQ25YYZ-D-HEaW4I.js} +1 -1
  27. package/dist/{data-grid-overlay-editor-vxQ4E6k1.js → data-grid-overlay-editor-GxGkM-Al.js} +5 -5
  28. package/dist/{data-grid-types-BH_r7g7l.js → data-grid-types-0PJ-9N5n.js} +1 -1
  29. package/dist/{diagram-S7CK7UJ4-DRu5LX5_.js → diagram-S7CK7UJ4-Bn-oF-rB.js} +1 -1
  30. package/dist/{diagram-UQ7AKVKN-DD7uiejP.js → diagram-UQ7AKVKN-BpzzXWBj.js} +1 -1
  31. package/dist/{diagram-VX7I27RA-ByH9KAJJ.js → diagram-VX7I27RA-COOtvfBP.js} +1 -1
  32. package/dist/{diagram-Z3DM3KII-BsQHPRke.js → diagram-Z3DM3KII-K5cXvbrl.js} +1 -1
  33. package/dist/{dialog-Cc479ZEH.js → dialog-DsZ49mmU.js} +26 -26
  34. package/dist/{dist-Bvs24R_E.js → dist-11T5wq3_.js} +31 -30
  35. package/dist/{dist-F8Ep36rk.js → dist-17ugwGZc.js} +59 -58
  36. package/dist/{dist-BMQf5zIS.js → dist-7cRjf--y.js} +123 -122
  37. package/dist/{dist-diIx5qJW.js → dist-B8pkfkzc.js} +31 -30
  38. package/dist/{dist-CN_BeG2I.js → dist-B9UoM_wq.js} +58 -57
  39. package/dist/{dist-CLdpGQVr.js → dist-BGuMTs1i.js} +118 -117
  40. package/dist/{dist-BK4Oj99o.js → dist-BHW11fni.js} +18 -17
  41. package/dist/dist-BLY4m1Wi.js +850 -0
  42. package/dist/{dist-PXYI_yuP.js → dist-BNlcVoxs.js} +24 -23
  43. package/dist/{dist-D6d86eNJ.js → dist-BQYe5Bju.js} +47 -46
  44. package/dist/{dist-CkTTIdBe.js → dist-BX1mn8na.js} +337 -337
  45. package/dist/{dist-DiDibOYr.js → dist-Bh0PTKUW.js} +151 -150
  46. package/dist/{dist-CSJ0MDRw.js → dist-CKaXK92p.js} +56 -55
  47. package/dist/{dist-C8fAKSH1.js → dist-CLhwfhpJ.js} +53 -52
  48. package/dist/{dist-DoE4XJBC.js → dist-CYeqK4Xw.js} +9801 -10649
  49. package/dist/{dist-BLfKmR-l.js → dist-Cxlp3WH6.js} +16 -15
  50. package/dist/{dist-D-wwqlzJ.js → dist-DSJPGj42.js} +158 -157
  51. package/dist/{dist-BorMD-uX.js → dist-DU9ICsWZ.js} +75 -74
  52. package/dist/{dist-DBtSl3sf.js → dist-DWv0ALBi.js} +47 -46
  53. package/dist/{dist-OR1OnN-y.js → dist-DiBpWEsB.js} +31 -30
  54. package/dist/{dist-CrSP_H1M.js → dist-DiLFTlnl.js} +242 -242
  55. package/dist/{dist-DpBpA_n1.js → dist-Lm-D-Vr6.js} +3 -3
  56. package/dist/{dist-CSbh1PNP.js → dist-cVDV5IuI.js} +23 -22
  57. package/dist/{dist-BuaRHxOc.js → dist-fRfaOoq8.js} +44 -43
  58. package/dist/{dist-Cg7gzw-a.js → dist-gTTI-9Px.js} +78 -77
  59. package/dist/dropdown-menu-CSNdPSnS.js +6083 -0
  60. package/dist/{ebnfDiagram-PWID7BFC-CQRK5_eT.js → ebnfDiagram-PWID7BFC-BI1ZmjVm.js} +2 -2
  61. package/dist/{erDiagram-RLTQ6QDP-BKtWrDVh.js → erDiagram-RLTQ6QDP-BtWjj9xy.js} +1 -1
  62. package/dist/{error-banner-CFPHFw4h.js → error-banner-IsonnvA0.js} +84 -83
  63. package/dist/error-entries-CRPfxMqm.js +2505 -0
  64. package/dist/{esm-D2gTsXEV.js → esm-BgKjMvWw.js} +530 -529
  65. package/dist/{esm-AMFssoNp.js → esm-CHjVSexr.js} +328 -329
  66. package/dist/feedback-button-CAxVqhvl.js +374 -0
  67. package/dist/{flowDiagram-HODETNUW-1IN-ih2E.js → flowDiagram-HODETNUW-DQvZh96A.js} +2 -2
  68. package/dist/{formats-X4mMQWzX.js → formats-BK4VefeF.js} +6 -6
  69. package/dist/{ganttDiagram-EL5Y4UJY-BQT16JSc.js → ganttDiagram-EL5Y4UJY-Dh_4cBJZ.js} +2 -2
  70. package/dist/{glide-data-editor-CSYHMRDu.js → glide-data-editor-CBX2wLtn.js} +417 -415
  71. package/dist/{glide-utils-DM9zBO4W.js → glide-utils-CQddGpa-.js} +16 -16
  72. package/dist/{globals-Fpiwkv4D.js → globals-DuCA4LSq.js} +3 -3
  73. package/dist/{highlighted-body-KPVGNVTW-zwjq21tf.js → highlighted-body-KPVGNVTW-3Ziwfz-V.js} +2 -2
  74. package/dist/{error-entries-Damuuclv.js → html-to-image-CgAnxFi8.js} +26911 -26769
  75. package/dist/{infoDiagram-27XIBGKW-CkB-zr4p.js → infoDiagram-27XIBGKW-BdAObnc_.js} +1 -1
  76. package/dist/{ishikawaDiagram-5VMMS53U-wlyLjBmM.js → ishikawaDiagram-5VMMS53U-DP-jE8dw.js} +1 -1
  77. package/dist/{kanban-definition-UXKFOSKX-C2usY0i-.js → kanban-definition-UXKFOSKX-BkMgPjfm.js} +1 -1
  78. package/dist/{linear-Cnaq3Tfb.js → linear-DWERh7eI.js} +121 -73
  79. package/dist/{loader-BQOfjTIJ.js → loader-BisjOLiW.js} +12 -12
  80. package/dist/main.js +10128 -8127
  81. package/dist/{mermaid-BA-Z6wGL.js → mermaid-B-OFqheA.js} +52 -52
  82. package/dist/mermaid-HWGCJPDP-Du3-HPQA.js +2 -0
  83. package/dist/{mindmap-definition-YA3MSWOX-nKOWS8RR.js → mindmap-definition-YA3MSWOX-Du7toAZX.js} +1 -1
  84. package/dist/{number-overlay-editor-BOjqsq7D.js → number-overlay-editor-KvS7Rgw9.js} +3 -3
  85. package/dist/{dist-CN8zI-XC.js → objectWithoutPropertiesLoose-ai5NUqGa.js} +262 -240
  86. package/dist/{objects-CzUgoMIF.js → objects-DCmMvZtn.js} +1 -3
  87. package/dist/{once-BtE-wKRL.js → once-NnpX_HnX.js} +1 -1
  88. package/dist/{pegDiagram-XKGWAZYB-Dac9EIKD.js → pegDiagram-XKGWAZYB-CX_729j0.js} +2 -2
  89. package/dist/{pieDiagram-E7YTZNPT-B7S-DsW_.js → pieDiagram-E7YTZNPT-dtTFJcVI.js} +1 -1
  90. package/dist/precisionRound-DhAzeRcm.js +49 -0
  91. package/dist/{process-output-CTPTtxXB.js → process-output-Bmev5azU.js} +4 -4
  92. package/dist/{quadrantDiagram-AXDQQJYC-Ccw0xMjN.js → quadrantDiagram-AXDQQJYC-Blrm7V7_.js} +1 -1
  93. package/dist/{railroadDiagram-O6MQD6OU-Cfa5Q-hr.js → railroadDiagram-O6MQD6OU-Dsc2Cf4c.js} +2 -2
  94. package/dist/{react-vega-BED0DjiB.js → react-vega-C4T9Rb_w.js} +12284 -12270
  95. package/dist/{requirementDiagram-BXWQKSXE-d8zXCJIk.js → requirementDiagram-BXWQKSXE-D3g0c60I.js} +1 -1
  96. package/dist/{reveal-component-Brpo7CP8.js → reveal-component-CqBvRKJz.js} +426 -403
  97. package/dist/schemas-CdscWNy_.js +4747 -0
  98. package/dist/select-BSxlITBo.js +1200 -0
  99. package/dist/{sequenceDiagram-WJ2MYXX4-b6pei3lJ.js → sequenceDiagram-WJ2MYXX4-w1pWbIpk.js} +1 -1
  100. package/dist/{spec-BJzgmvVa.js → spec-Dq8RNplp.js} +41 -11
  101. package/dist/{stateDiagram-D77RDMKH-Be-xSpaZ.js → stateDiagram-D77RDMKH-BCv7kP4H.js} +2 -2
  102. package/dist/{stateDiagram-v2-MP3YSRHH-5Y-FxesJ.js → stateDiagram-v2-MP3YSRHH-D1cTOt0x.js} +2 -2
  103. package/dist/static-state-BldGd99T.js +72 -0
  104. package/dist/strings-BGW-fXVJ.js +507 -0
  105. package/dist/style.css +1 -1
  106. package/dist/{swimlanes-42K2YHIH-nRRl4NU0.js → swimlanes-42K2YHIH-DNO6jDnd.js} +1 -1
  107. package/dist/{swimlanesDiagram-VR7AAH4N-BS79510V.js → swimlanesDiagram-VR7AAH4N-CkSWsxYJ.js} +2 -2
  108. package/dist/{swiper-component-DKntyn8p.js → swiper-component-Dir1o8ml.js} +2 -2
  109. package/dist/{time-BieKwdYS.js → time-BaMbJs4z.js} +18 -18
  110. package/dist/{timeline-definition-24CTP7MA-Cfzf8WPf.js → timeline-definition-24CTP7MA-DQvqGFM9.js} +1 -1
  111. package/dist/toast-BWIPi3aF.js +491 -0
  112. package/dist/{tooltip-CtBZ5q8p.js → tooltip-C3UnvsRe.js} +329 -305
  113. package/dist/use-restore-focus-BWO0z1lo.js +1672 -0
  114. package/dist/{useAsyncData-BD534XmW.js → useAsyncData-DsZMvNXn.js} +15 -14
  115. package/dist/{useDateFormatter-DkajGwwd.js → useDateFormatter-ChB4eyim.js} +2 -2
  116. package/dist/{useDeepCompareMemoize-C72_RNsu.js → useDeepCompareMemoize-KMBBux8C.js} +1 -1
  117. package/dist/{useIframeCapabilities-DBETvvPl.js → useIframeCapabilities-cMNQ80CK.js} +1 -1
  118. package/dist/useLifecycle-BquH9ET-.js +112 -0
  119. package/dist/useTheme-B9C1JIy9.js +307 -0
  120. package/dist/utils-DXkj82sK.js +813 -0
  121. package/dist/{vega-component-DfcYgj-Y.js → vega-component-9NOEITbg.js} +170 -169
  122. package/dist/{vega-embed-container-BNHE18G9.js → vega-embed-container--LYZqguO.js} +2 -2
  123. package/dist/{vega-loader.browser-DNST6uVf.js → vega-loader.browser-B9Pz0EGP.js} +298 -507
  124. package/dist/{vennDiagram-4TSXK5OY-CeY6Z1xZ.js → vennDiagram-4TSXK5OY-BfzXp4SH.js} +1 -1
  125. package/dist/{wardleyDiagram-VM6X3IG4-Cxs9NtVi.js → wardleyDiagram-VM6X3IG4-CiqEE8eq.js} +1 -1
  126. package/dist/{xychartDiagram-S5SC5T6Z-DNWbvPK7.js → xychartDiagram-S5SC5T6Z-BTIHCVOI.js} +2 -2
  127. package/package.json +16 -20
  128. package/src/__mocks__/document.tsx +63 -0
  129. package/src/__mocks__/notebook.ts +3 -4
  130. package/src/__mocks__/partial.ts +26 -0
  131. package/src/__mocks__/requests.ts +1 -4
  132. package/src/__tests__/main.test.tsx +24 -1
  133. package/src/__tests__/module-entry.test.ts +44 -0
  134. package/src/__tests__/mount.test.ts +1 -21
  135. package/src/__tests__/{host-imports.test.ts → replica-imports.test.ts} +12 -11
  136. package/src/components/ai/__tests__/ai-model-dropdown.test.tsx +63 -0
  137. package/src/components/ai/ai-model-dropdown.tsx +11 -6
  138. package/src/components/app-config/ai-config.tsx +7 -2
  139. package/src/components/app-config/app-config-form.tsx +5 -9
  140. package/src/components/app-config/user-config-form.tsx +35 -56
  141. package/src/components/chat/__tests__/message-queue.test.tsx +17 -0
  142. package/src/components/chat/__tests__/notebook-access-selector.test.tsx +64 -0
  143. package/src/components/chat/acp/__tests__/session-tabs.test.tsx +43 -0
  144. package/src/components/chat/acp/__tests__/state.test.ts +2 -2
  145. package/src/components/chat/acp/blocks.tsx +3 -2
  146. package/src/components/chat/acp/session-tabs.tsx +8 -3
  147. package/src/components/chat/chat-components.tsx +2 -0
  148. package/src/components/chat/chat-panel.tsx +20 -101
  149. package/src/components/chat/chat-utils.ts +4 -8
  150. package/src/components/chat/notebook-access-selector.stories.tsx +22 -0
  151. package/src/components/chat/notebook-access-selector.tsx +100 -0
  152. package/src/components/data-table/TableBottomBar.tsx +4 -1
  153. package/src/components/data-table/TableTopBar.tsx +2 -0
  154. package/src/components/data-table/__tests__/chart-spec-model.test.ts +195 -195
  155. package/src/components/data-table/__tests__/column-explorer.test.tsx +27 -1
  156. package/src/components/data-table/__tests__/columns.test.tsx +105 -0
  157. package/src/components/data-table/__tests__/context-menu-interaction.test.tsx +130 -0
  158. package/src/components/data-table/__tests__/data-table.test.tsx +1 -0
  159. package/src/components/data-table/__tests__/date-popover.test.tsx +72 -0
  160. package/src/components/data-table/__tests__/export-actions.test.tsx +105 -0
  161. package/src/components/data-table/__tests__/keyboard-selection.test.tsx +188 -0
  162. package/src/components/data-table/__tests__/pagination.test.tsx +28 -1
  163. package/src/components/data-table/__tests__/search-highlight.test.tsx +109 -0
  164. package/src/components/data-table/__tests__/url-detector.test.tsx +74 -0
  165. package/src/components/data-table/cell-selection/feature.ts +2 -2
  166. package/src/components/data-table/cell-selection/types.ts +2 -2
  167. package/src/components/data-table/charts/__tests__/chart-panel.test.tsx +74 -1
  168. package/src/components/data-table/charts/__tests__/spec-snapshot.test.ts +20 -20
  169. package/src/components/data-table/charts/__tests__/spec.test.ts +78 -52
  170. package/src/components/data-table/charts/__tests__/storage.test.ts +4 -1
  171. package/src/components/data-table/charts/chart-spec/spec.ts +68 -43
  172. package/src/components/data-table/charts/charts.tsx +40 -30
  173. package/src/components/data-table/charts/storage.ts +16 -5
  174. package/src/components/data-table/column-explorer-panel/column-explorer.tsx +1 -1
  175. package/src/components/data-table/column-summary/chart-spec-model.tsx +23 -16
  176. package/src/components/data-table/column-summary/column-summary.tsx +2 -4
  177. package/src/components/data-table/column-visibility-dropdown.tsx +8 -13
  178. package/src/components/data-table/columns.tsx +45 -46
  179. package/src/components/data-table/context-menu.tsx +36 -20
  180. package/src/components/data-table/data-table.tsx +17 -1
  181. package/src/components/data-table/date-popover.tsx +6 -4
  182. package/src/components/data-table/export-actions.tsx +76 -48
  183. package/src/components/data-table/pagination.tsx +44 -33
  184. package/src/components/data-table/range-focus/atoms.ts +4 -6
  185. package/src/components/data-table/range-focus/use-cell-range-selection.ts +65 -38
  186. package/src/components/data-table/range-focus/use-scroll-into-view.ts +21 -2
  187. package/src/components/data-table/renderers.tsx +16 -7
  188. package/src/components/data-table/row-viewer-panel/__tests__/row-viewer.test.tsx +24 -1
  189. package/src/components/data-table/row-viewer-panel/row-viewer.tsx +4 -4
  190. package/src/components/data-table/search-highlight.tsx +79 -0
  191. package/src/components/data-table/types.ts +1 -0
  192. package/src/components/data-table/url-detector.tsx +49 -9
  193. package/src/components/datasources/__tests__/column-actions.test.tsx +97 -0
  194. package/src/components/datasources/__tests__/column-preview.test.tsx +96 -5
  195. package/src/components/datasources/__tests__/datasources-interactions.test.tsx +181 -0
  196. package/src/components/datasources/__tests__/table-list.test.tsx +118 -0
  197. package/src/components/datasources/__tests__/utils.test.ts +57 -6
  198. package/src/components/datasources/column-preview.tsx +17 -12
  199. package/src/components/datasources/datasources.tsx +56 -43
  200. package/src/components/datasources/utils.ts +32 -23
  201. package/src/components/debugger/debugger-code.tsx +5 -0
  202. package/src/components/dependency-graph/custom-node.tsx +1 -1
  203. package/src/components/dependency-graph/dependency-graph-tree.tsx +8 -8
  204. package/src/components/dependency-graph/elements.ts +24 -21
  205. package/src/components/dependency-graph/minimap-content.tsx +13 -19
  206. package/src/components/dependency-graph/panels.tsx +4 -2
  207. package/src/components/dependency-graph/utils/__tests__/layout.test.ts +18 -11
  208. package/src/components/editor/SortableCell.tsx +1 -3
  209. package/src/components/editor/__tests__/Output.test.tsx +50 -32
  210. package/src/{core/attachments/__tests__/toast.test.tsx → components/editor/__tests__/agent-toast.test.tsx} +1 -1
  211. package/src/components/editor/__tests__/data-attributes.test.tsx +28 -14
  212. package/src/components/editor/__tests__/dynamic-favicon.test.tsx +111 -18
  213. package/src/components/editor/__tests__/output-persistence.test.tsx +6 -2
  214. package/src/components/editor/__tests__/package-alert.test.tsx +22 -1
  215. package/src/components/editor/actions/__tests__/name-cell-input.test.tsx +69 -0
  216. package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +34 -8
  217. package/src/components/editor/actions/__tests__/pair-with-agent.test.tsx +2 -6
  218. package/src/components/editor/actions/__tests__/useCellActionButton.test.tsx +113 -0
  219. package/src/components/editor/actions/name-cell-input.tsx +4 -3
  220. package/src/components/editor/actions/pair-with-agent-commands.ts +2 -2
  221. package/src/components/editor/actions/pair-with-agent-modal.tsx +19 -16
  222. package/src/components/editor/actions/useCellActionButton.tsx +36 -31
  223. package/src/components/editor/actions/useConfigActions.tsx +3 -4
  224. package/src/components/editor/actions/useNotebookActions.tsx +19 -23
  225. package/src/components/editor/actions/useRestartKernel.tsx +1 -1
  226. package/src/components/editor/actions/useSetCodeVisibility.ts +11 -12
  227. package/src/components/editor/actions/useSetOutputsExpanded.ts +14 -19
  228. package/src/components/editor/ai/add-cell-with-ai.tsx +3 -3
  229. package/src/components/editor/ai/ai-completion-editor.tsx +1 -0
  230. package/src/components/editor/alerts/__tests__/connection-notice.test.tsx +1 -1
  231. package/src/components/editor/alerts/connection-notice.tsx +1 -1
  232. package/src/components/editor/alerts/startup-logs-alert.tsx +1 -0
  233. package/src/components/editor/alerts/stdin-blocking-alert.tsx +1 -1
  234. package/src/components/editor/app-container.tsx +1 -1
  235. package/src/components/editor/boundary/__tests__/ErrorBoundary.test.tsx +1 -1
  236. package/src/components/editor/cell/CreateCellButton.tsx +15 -21
  237. package/src/components/editor/cell/DeleteButton.tsx +3 -2
  238. package/src/components/editor/cell/RunButton.tsx +2 -2
  239. package/src/components/editor/cell/StagedAICell.tsx +10 -2
  240. package/src/components/editor/cell/StopButton.tsx +2 -2
  241. package/src/components/editor/cell/__tests__/StagedAICell.test.tsx +4 -2
  242. package/src/components/editor/cell/__tests__/useShouldShowInterrupt.test.ts +39 -0
  243. package/src/components/editor/cell/cell-actions.tsx +12 -1
  244. package/src/components/editor/cell/code/__tests__/language-toggle.test.tsx +54 -0
  245. package/src/components/editor/cell/code/cell-editor.tsx +46 -165
  246. package/src/components/editor/cell/code/language-toggle.tsx +8 -7
  247. package/src/components/editor/cell/collapse.tsx +11 -4
  248. package/src/components/editor/cell/useAddCell.ts +4 -8
  249. package/src/components/editor/cell/useDeleteCell.tsx +10 -36
  250. package/src/components/editor/cell/useRunCells.ts +2 -5
  251. package/src/components/editor/cell/useShouldShowInterrupt.ts +2 -12
  252. package/src/components/editor/cell/useSplitCell.tsx +10 -6
  253. package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +1 -1
  254. package/src/components/editor/chrome/components/feedback-button.tsx +2 -8
  255. package/src/components/editor/chrome/panels/__tests__/packages-panel.test.tsx +31 -2
  256. package/src/components/editor/chrome/panels/__tests__/runtime-details.test.tsx +1 -1
  257. package/src/components/editor/chrome/panels/__tests__/sandbox-recovery.test.tsx +1 -1
  258. package/src/components/editor/chrome/panels/cache-panel.tsx +1 -0
  259. package/src/components/editor/chrome/panels/dependency-graph-panel.tsx +1 -1
  260. package/src/components/editor/chrome/panels/logs-panel.tsx +2 -1
  261. package/src/components/editor/chrome/panels/outline/__tests__/outline-keyboard.test.tsx +84 -0
  262. package/src/components/editor/chrome/panels/outline/floating-outline.tsx +39 -14
  263. package/src/components/editor/chrome/panels/outline/useActiveOutline.tsx +3 -2
  264. package/src/components/editor/chrome/panels/packages-panel.tsx +4 -7
  265. package/src/components/editor/chrome/panels/secrets-panel.tsx +1 -0
  266. package/src/components/editor/chrome/panels/session-panel.tsx +1 -1
  267. package/src/components/editor/chrome/panels/snippets-panel.tsx +10 -12
  268. package/src/components/editor/chrome/panels/variable-panel.tsx +1 -5
  269. package/src/components/editor/chrome/wrapper/__tests__/attachment-status.test.tsx +6 -9
  270. package/src/components/editor/chrome/wrapper/__tests__/document-sync-status.test.tsx +92 -0
  271. package/src/components/editor/chrome/wrapper/__tests__/pending-ai-cells.test.tsx +62 -3
  272. package/src/components/editor/chrome/wrapper/footer-items/attachment-status.tsx +4 -4
  273. package/src/components/editor/chrome/wrapper/footer-items/backend-status.tsx +1 -1
  274. package/src/components/editor/chrome/wrapper/footer-items/document-sync-status.tsx +54 -0
  275. package/src/components/editor/chrome/wrapper/footer-items/lsp-status.tsx +1 -1
  276. package/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx +1 -1
  277. package/src/components/editor/chrome/wrapper/footer-items/runtime-settings.tsx +1 -7
  278. package/src/components/editor/chrome/wrapper/footer.tsx +2 -2
  279. package/src/components/editor/chrome/wrapper/minimap-state.ts +1 -1
  280. package/src/components/editor/chrome/wrapper/pending-ai-cells.tsx +12 -2
  281. package/src/components/editor/chrome/wrapper/storage.ts +1 -1
  282. package/src/components/editor/columns/__tests__/cell-column.test.tsx +1 -1
  283. package/src/components/editor/columns/cell-column.tsx +1 -1
  284. package/src/components/editor/columns/sortable-column.tsx +2 -2
  285. package/src/components/editor/connections/components.tsx +5 -10
  286. package/src/components/editor/controls/Controls.tsx +4 -4
  287. package/src/components/editor/controls/__tests__/command-palette.test.tsx +53 -0
  288. package/src/components/editor/controls/__tests__/keyboard-shortcuts.test.tsx +61 -0
  289. package/src/components/editor/controls/__tests__/notebook-menu-dropdown.test.tsx +10 -4
  290. package/src/components/editor/controls/command-palette.tsx +22 -10
  291. package/src/components/editor/controls/keyboard-shortcuts.tsx +14 -5
  292. package/src/components/editor/documentation.css +34 -11
  293. package/src/components/editor/dynamic-favicon.tsx +21 -40
  294. package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +25 -20
  295. package/src/components/editor/errors/auto-fix.tsx +4 -8
  296. package/src/components/editor/errors/send-error-report-button.tsx +3 -6
  297. package/src/components/editor/file-tree/__tests__/file-explorer-interactions.test.tsx +6 -0
  298. package/src/components/editor/file-tree/__tests__/file-explorer-navigation.test.tsx +47 -0
  299. package/src/components/editor/file-tree/__tests__/use-file-search.test.tsx +91 -0
  300. package/src/components/editor/file-tree/file-explorer.tsx +48 -15
  301. package/src/components/editor/file-tree/file-name-input.tsx +1 -0
  302. package/src/components/editor/file-tree/file-viewer.tsx +4 -2
  303. package/src/components/editor/file-tree/use-file-search.ts +35 -21
  304. package/src/components/editor/header/__tests__/filename-form.test.tsx +1 -4
  305. package/src/components/editor/header/__tests__/status.test.tsx +5 -3
  306. package/src/components/editor/header/app-header.tsx +1 -1
  307. package/src/components/editor/header/filename-form.tsx +1 -1
  308. package/src/components/editor/header/status.tsx +40 -20
  309. package/src/components/editor/links/__tests__/cell-link.test.tsx +148 -0
  310. package/src/components/editor/links/cell-link-list.tsx +1 -1
  311. package/src/components/editor/links/cell-link.tsx +17 -7
  312. package/src/components/editor/navigation/__tests__/clipboard.test.ts +60 -38
  313. package/src/components/editor/navigation/__tests__/navigation.test.ts +108 -85
  314. package/src/components/editor/navigation/__tests__/selection.test.ts +43 -21
  315. package/src/components/editor/navigation/clipboard.ts +17 -14
  316. package/src/components/editor/navigation/focus-utils.ts +23 -4
  317. package/src/components/editor/navigation/multi-cell-action-toolbar.tsx +17 -33
  318. package/src/components/editor/navigation/navigation.ts +71 -70
  319. package/src/components/editor/navigation/selection.ts +30 -29
  320. package/src/components/editor/notebook-banner.tsx +1 -0
  321. package/src/components/editor/notebook-cell.tsx +29 -32
  322. package/src/components/editor/output/MarimoErrorOutput.tsx +2 -1
  323. package/src/components/editor/output/MarimoTracebackOutput.tsx +19 -17
  324. package/src/components/editor/output/Outputs.css +8 -0
  325. package/src/components/editor/output/__tests__/traceback.test.tsx +27 -1
  326. package/src/components/editor/output/ansi-reduce.ts +33 -20
  327. package/src/components/editor/output/console/ConsoleOutput.tsx +19 -25
  328. package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +125 -69
  329. package/src/components/editor/package-alert.tsx +14 -7
  330. package/src/components/editor/renderers/cell-array.tsx +22 -33
  331. package/src/components/editor/renderers/grid-layout/grid-layout.tsx +12 -6
  332. package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +0 -1
  333. package/src/components/editor/renderers/slides-layout/slides-layout.tsx +1 -1
  334. package/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts +4 -4
  335. package/src/components/editor/renderers/vertical-layout/sidebar/toggle.tsx +7 -1
  336. package/src/components/editor/renderers/vertical-layout/useFocusFirstEditor.ts +1 -1
  337. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +1 -1
  338. package/src/components/editor/stdin-blocking-alert.tsx +1 -1
  339. package/src/components/home/components.tsx +17 -31
  340. package/src/components/icons/__tests__/large-spinner.test.tsx +39 -0
  341. package/src/components/icons/large-spinner.tsx +3 -14
  342. package/src/components/icons/spinner.tsx +1 -1
  343. package/src/components/markdown/markdown-renderer.tsx +4 -8
  344. package/src/components/mcp/mcp-status-indicator.tsx +1 -1
  345. package/src/components/pages/__tests__/home-page.test.tsx +116 -0
  346. package/src/components/pages/edit-page.tsx +19 -17
  347. package/src/components/pages/home-page.tsx +164 -91
  348. package/src/components/scratchpad/scratchpad.test.tsx +89 -0
  349. package/src/components/scratchpad/scratchpad.tsx +43 -32
  350. package/src/components/scratchpad/state.ts +7 -0
  351. package/src/components/slides/__tests__/minimap-actions.test.tsx +22 -29
  352. package/src/components/slides/__tests__/minimap.test.ts +38 -19
  353. package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +37 -0
  354. package/src/components/slides/minimap.tsx +17 -12
  355. package/src/components/slides/reveal-component.tsx +58 -26
  356. package/src/components/slides/reveal-slides.css +5 -4
  357. package/src/components/slides/slide-cell-view.tsx +4 -5
  358. package/src/components/slides/slide-form.tsx +1 -0
  359. package/src/components/slides/slide-scroll-hint.tsx +3 -1
  360. package/src/components/sort/SortableCellsProvider.tsx +8 -25
  361. package/src/components/tracing/tracing-keyboard.test.tsx +85 -0
  362. package/src/components/tracing/tracing.tsx +46 -42
  363. package/src/components/ui/__tests__/draggable-popover.test.tsx +24 -0
  364. package/src/components/ui/__tests__/range-slider.test.tsx +165 -0
  365. package/src/components/ui/alert-dialog.tsx +1 -1
  366. package/src/components/ui/draggable-popover.tsx +24 -2
  367. package/src/components/ui/range-slider.tsx +22 -9
  368. package/src/core/MarimoApp.tsx +1 -1
  369. package/src/core/ai/__tests__/staged-cells.test.ts +32 -33
  370. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +8 -12
  371. package/src/core/ai/context/providers/cell-output.ts +2 -2
  372. package/src/core/ai/context/providers/datasource.ts +6 -2
  373. package/src/core/ai/staged-cells.ts +18 -19
  374. package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +40 -88
  375. package/src/core/ai/tools/__tests__/registry.test.ts +17 -0
  376. package/src/core/ai/tools/base.ts +18 -15
  377. package/src/core/ai/tools/edit-notebook-tool.ts +86 -80
  378. package/src/core/ai/tools/registry.ts +13 -10
  379. package/src/core/ai/tools/sample-tool.ts +6 -7
  380. package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +4 -37
  381. package/src/core/cells/__tests__/actions.test.ts +624 -35
  382. package/src/core/cells/__tests__/add-missing-import.test.ts +7 -8
  383. package/src/core/cells/__tests__/arrange.test.ts +432 -0
  384. package/src/core/cells/__tests__/cell.test.ts +39 -0
  385. package/src/core/cells/__tests__/cells.test.ts +251 -2540
  386. package/src/core/cells/__tests__/collapseConsoleOutputs.test.ts +54 -0
  387. package/src/core/cells/__tests__/document.test.ts +164 -0
  388. package/src/core/cells/__tests__/editor.test.ts +57 -0
  389. package/src/core/cells/__tests__/flush-document.test.ts +40 -0
  390. package/src/core/cells/__tests__/harness.ts +106 -0
  391. package/src/core/cells/__tests__/layout.test.ts +177 -0
  392. package/src/core/cells/__tests__/notebook-outline.test.ts +122 -0
  393. package/src/core/cells/__tests__/outputs.test.tsx +71 -53
  394. package/src/core/cells/__tests__/session.test.ts +445 -211
  395. package/src/core/cells/__tests__/utils.test.ts +9 -108
  396. package/src/core/cells/actions.ts +675 -6
  397. package/src/core/cells/add-missing-import.ts +47 -43
  398. package/src/core/cells/arrange.ts +529 -0
  399. package/src/core/cells/cell.ts +14 -3
  400. package/src/core/cells/cells.ts +126 -1363
  401. package/src/core/cells/columns.ts +38 -0
  402. package/src/core/cells/document.ts +178 -0
  403. package/src/core/cells/edit.ts +30 -0
  404. package/src/core/cells/editor.ts +82 -0
  405. package/src/core/cells/layout.ts +221 -0
  406. package/src/core/cells/outputs.ts +12 -28
  407. package/src/core/cells/pending-delete-service.ts +3 -7
  408. package/src/core/cells/session.ts +76 -53
  409. package/src/core/cells/types.ts +22 -6
  410. package/src/core/cells/utils.ts +10 -8
  411. package/src/core/codemirror/__tests__/format.test.ts +0 -34
  412. package/src/core/codemirror/__tests__/setup.test.ts +29 -29
  413. package/src/core/codemirror/ai/__tests__/resources.test.ts +117 -0
  414. package/src/core/codemirror/ai/resources.ts +1 -1
  415. package/src/core/codemirror/cells/__tests__/extensions.test.ts +2 -6
  416. package/src/core/codemirror/cells/extensions.ts +30 -28
  417. package/src/core/codemirror/cells/state.ts +1 -6
  418. package/src/core/codemirror/copilot/__tests__/getCodes.test.ts +6 -7
  419. package/src/core/codemirror/copilot/getCodes.ts +2 -2
  420. package/src/core/codemirror/format.ts +6 -23
  421. package/src/core/codemirror/keymaps/vim.ts +4 -8
  422. package/src/core/codemirror/language/__tests__/sql.test.ts +22 -20
  423. package/src/core/codemirror/language/__tests__/utils.test.ts +187 -15
  424. package/src/core/codemirror/language/cell-code.ts +114 -0
  425. package/src/core/codemirror/language/extension.ts +52 -35
  426. package/src/core/codemirror/language/languages/markdown.ts +8 -6
  427. package/src/core/codemirror/language/languages/python.ts +16 -10
  428. package/src/core/codemirror/language/languages/sql/sql.ts +16 -24
  429. package/src/core/codemirror/language/panel/panel.tsx +1 -0
  430. package/src/core/codemirror/language/types.ts +7 -7
  431. package/src/core/codemirror/language/utils.ts +9 -39
  432. package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +1 -2
  433. package/src/core/codemirror/lsp/notebook-lsp.ts +6 -5
  434. package/src/core/codemirror/lsp/utils.ts +1 -1
  435. package/src/core/codemirror/misc/__tests__/paste.test.ts +3 -1
  436. package/src/core/codemirror/misc/paste.ts +1 -1
  437. package/src/core/codemirror/readonly/__tests__/extension.test.ts +1 -1
  438. package/src/core/codemirror/readonly/extension.ts +2 -2
  439. package/src/core/codemirror/utils.ts +1 -0
  440. package/src/core/config/__tests__/app-config.test.ts +64 -0
  441. package/src/core/config/__tests__/config-schema.test.ts +13 -6
  442. package/src/core/config/config-schema.ts +13 -4
  443. package/src/core/config/config.ts +26 -12
  444. package/src/core/config/feature-flag.tsx +0 -2
  445. package/src/core/datasets/__tests__/data-source-discovery.test.ts +5 -5
  446. package/src/core/datasets/data-source-discovery.ts +4 -6
  447. package/src/core/documentation/doc-lookup.ts +1 -1
  448. package/src/core/edit-app.tsx +21 -28
  449. package/src/core/errors/error-entries.ts +4 -1
  450. package/src/core/export/hooks.ts +1 -1
  451. package/src/core/export/layout.ts +2 -2
  452. package/src/core/hotkeys/actions.ts +2 -4
  453. package/src/core/islands/__tests__/bootstrap.test.ts +69 -17
  454. package/src/core/islands/__tests__/bridge.test.ts +72 -25
  455. package/src/core/islands/bootstrap.ts +46 -53
  456. package/src/core/islands/bridge.ts +75 -24
  457. package/src/core/islands/components/__tests__/IslandControls.test.tsx +7 -5
  458. package/src/core/islands/components/web-components.tsx +1 -1
  459. package/src/core/islands/worker/__tests__/controller.test.ts +62 -4
  460. package/src/core/islands/worker/controller.ts +4 -10
  461. package/src/core/islands/worker/worker.tsx +33 -33
  462. package/src/core/kernel/__tests__/RuntimeState.test.ts +1 -1
  463. package/src/core/kernel/__tests__/handlers.test.ts +7 -153
  464. package/src/core/kernel/handlers.ts +19 -72
  465. package/src/core/meta/__tests__/code-visibility.test.tsx +78 -70
  466. package/src/core/meta/code-visibility.ts +18 -9
  467. package/src/core/network/__tests__/connection.test.ts +1 -1
  468. package/src/core/network/__tests__/requests-lazy.test.ts +1 -3
  469. package/src/core/network/connection-notice.ts +1 -1
  470. package/src/core/network/connection.ts +1 -1
  471. package/src/core/network/requests-lazy.ts +2 -5
  472. package/src/core/network/requests-network.ts +5 -31
  473. package/src/core/network/requests-static.ts +1 -4
  474. package/src/core/network/requests-toasting.tsx +1 -4
  475. package/src/core/network/types.ts +6 -14
  476. package/src/core/network/useConnectionNotice.ts +8 -2
  477. package/src/core/notebook/__tests__/operations.test.ts +51 -0
  478. package/src/core/notebook/attachments.ts +38 -0
  479. package/src/core/notebook/document/__tests__/codemirror.test.ts +758 -0
  480. package/src/core/notebook/document/__tests__/draft.test.ts +363 -0
  481. package/src/core/notebook/document/__tests__/fixtures.ts +92 -0
  482. package/src/core/notebook/document/__tests__/hooks.test.tsx +391 -0
  483. package/src/core/notebook/document/__tests__/lifecycle-scenarios.test.ts +61 -0
  484. package/src/core/notebook/document/__tests__/model.test.ts +247 -0
  485. package/src/core/notebook/document/__tests__/protocol-fixtures.ts +38 -0
  486. package/src/core/notebook/document/__tests__/recovery-scenarios.test.ts +230 -0
  487. package/src/core/notebook/document/__tests__/scenario-fixture.ts +43 -0
  488. package/src/core/notebook/document/__tests__/scenarios.test.ts +205 -0
  489. package/src/core/notebook/document/__tests__/state.test.ts +459 -0
  490. package/src/core/notebook/document/__tests__/submission.test.ts +203 -0
  491. package/src/core/notebook/document/__tests__/test-host.test.ts +92 -0
  492. package/src/core/notebook/document/__tests__/test-host.ts +247 -0
  493. package/src/core/notebook/document/__tests__/test-notebook.ts +149 -0
  494. package/src/core/notebook/document/__tests__/user.ts +61 -0
  495. package/src/core/notebook/document/codemirror.ts +216 -0
  496. package/src/core/notebook/document/draft.ts +502 -0
  497. package/src/core/notebook/document/hooks.tsx +118 -0
  498. package/src/core/notebook/document/index.ts +24 -0
  499. package/src/core/notebook/document/model.ts +102 -0
  500. package/src/core/notebook/document/select.ts +41 -0
  501. package/src/core/notebook/document/state.ts +378 -0
  502. package/src/core/notebook/document/sync.ts +369 -0
  503. package/src/core/notebook/index.ts +19 -0
  504. package/src/core/notebook/operations.ts +30 -0
  505. package/src/core/notebook/replica/AGENTS.md +11 -0
  506. package/src/core/{host → notebook/replica}/__tests__/attachments.test.ts +9 -10
  507. package/src/core/{host → notebook/replica}/__tests__/document.test.ts +18 -16
  508. package/src/core/notebook/replica/__tests__/fixtures.ts +79 -0
  509. package/src/core/notebook/replica/__tests__/replica.test.ts +550 -0
  510. package/src/core/notebook/replica/backend.ts +19 -0
  511. package/src/core/notebook/replica/connection.ts +42 -0
  512. package/src/core/notebook/replica/index.ts +13 -0
  513. package/src/core/notebook/replica/replica.ts +286 -0
  514. package/src/core/{host → notebook/replica}/resources/attachments.ts +6 -3
  515. package/src/core/{host → notebook/replica}/resources/document.ts +4 -4
  516. package/src/core/packages/__tests__/useSandboxController.test.tsx +1 -1
  517. package/src/core/packages/useSandboxController.ts +1 -1
  518. package/src/core/run-app.tsx +48 -51
  519. package/src/core/runtime/__tests__/adapter.test.ts +1 -1
  520. package/src/core/runtime/__tests__/createWsUrl.test.ts +77 -7
  521. package/src/core/runtime/__tests__/runtime.test.ts +32 -74
  522. package/src/core/runtime/adapter.ts +1 -1
  523. package/src/core/runtime/config.ts +2 -2
  524. package/src/core/runtime/runtime.ts +33 -46
  525. package/src/core/runtime/types.ts +0 -2
  526. package/src/core/saving/__tests__/document.test.tsx +123 -0
  527. package/src/core/saving/__tests__/state.test.ts +111 -0
  528. package/src/core/saving/__tests__/useAutoSave.test.tsx +67 -0
  529. package/src/core/saving/document.ts +33 -0
  530. package/src/core/saving/filename.ts +1 -1
  531. package/src/core/saving/save-component.tsx +39 -60
  532. package/src/core/saving/state.ts +38 -39
  533. package/src/core/saving/useAutoSave.ts +17 -53
  534. package/src/core/session/__tests__/backend.test.ts +236 -0
  535. package/src/core/session/__tests__/useNotebookReplica.hook.test.tsx +184 -0
  536. package/src/core/{websocket → session}/__tests__/useNotebookSession.hook.test.tsx +213 -262
  537. package/src/core/session/active-notebook.ts +28 -0
  538. package/src/core/session/backend.ts +123 -0
  539. package/src/core/session/embedded.ts +7 -0
  540. package/src/core/{websocket → session}/types.ts +2 -2
  541. package/src/core/session/useNotebookReplica.ts +74 -0
  542. package/src/core/{websocket → session}/useNotebookSession.tsx +77 -64
  543. package/src/core/state/__tests__/jotai.test.tsx +108 -0
  544. package/src/core/state/jotai.ts +1 -1
  545. package/src/core/static/__tests__/files.test.ts +38 -10
  546. package/src/core/static/files.ts +2 -0
  547. package/src/core/{websocket → transports}/__tests__/connection-state.test.ts +1 -13
  548. package/src/core/transports/__tests__/server.test.ts +408 -0
  549. package/src/core/transports/__tests__/static.test.ts +306 -0
  550. package/src/core/transports/__tests__/wasm.test.ts +166 -0
  551. package/src/core/{websocket → transports}/connection-state.ts +9 -16
  552. package/src/core/transports/server.ts +152 -0
  553. package/src/core/transports/static.ts +166 -0
  554. package/src/core/transports/wasm.ts +97 -0
  555. package/src/core/wasm/__tests__/bridge.test.ts +105 -65
  556. package/src/core/wasm/__tests__/worker.test.ts +187 -0
  557. package/src/core/wasm/bridge.ts +60 -71
  558. package/src/core/wasm/rpc.ts +15 -3
  559. package/src/core/wasm/store.ts +3 -3
  560. package/src/core/wasm/worker/bootstrap.ts +55 -51
  561. package/src/core/wasm/worker/getMarimoWheel.ts +1 -1
  562. package/src/core/wasm/worker/save-worker.ts +9 -10
  563. package/src/core/wasm/worker/types.ts +29 -18
  564. package/src/core/wasm/worker/worker.ts +89 -45
  565. package/src/css/app/codemirror.css +1 -1
  566. package/src/css/globals.css +66 -22
  567. package/src/hooks/__tests__/useAsyncData.test.tsx +148 -0
  568. package/src/hooks/__tests__/useDebounce.test.tsx +51 -0
  569. package/src/hooks/__tests__/useDeepCompareMemoize.test.tsx +39 -0
  570. package/src/hooks/__tests__/useDelayElapsed.test.tsx +28 -0
  571. package/src/hooks/__tests__/useInternalStateWithSync.test.tsx +20 -0
  572. package/src/hooks/__tests__/useScript.test.tsx +77 -0
  573. package/src/hooks/__tests__/useStateForKey.test.tsx +257 -0
  574. package/src/hooks/useAsyncData.ts +3 -3
  575. package/src/hooks/useDataSourceDiscovery.ts +6 -4
  576. package/src/hooks/useDebounce.ts +6 -10
  577. package/src/hooks/useDeepCompareMemoize.ts +1 -1
  578. package/src/hooks/useDelayElapsed.ts +14 -10
  579. package/src/hooks/useElapsedTime.ts +3 -3
  580. package/src/hooks/useEventListener.ts +1 -2
  581. package/src/hooks/useInputHistory.ts +4 -7
  582. package/src/hooks/useInternalStateWithSync.ts +6 -6
  583. package/src/hooks/useResizeObserver.ts +4 -7
  584. package/src/hooks/useScript.ts +67 -70
  585. package/src/hooks/useStateForKey.ts +93 -0
  586. package/src/mount.tsx +20 -15
  587. package/src/plugins/__tests__/plugin-object-schemas.test.ts +104 -0
  588. package/src/plugins/core/registerReactComponent.tsx +1 -1
  589. package/src/plugins/impl/CodeEditorPlugin.tsx +1 -1
  590. package/src/plugins/impl/DataEditorPlugin.tsx +1 -1
  591. package/src/plugins/impl/DataTablePlugin.tsx +69 -37
  592. package/src/plugins/impl/DropdownPlugin.tsx +2 -6
  593. package/src/plugins/impl/FileBrowserPlugin.tsx +4 -16
  594. package/src/plugins/impl/FormPlugin.tsx +1 -1
  595. package/src/plugins/impl/RangeSliderPlugin.tsx +16 -2
  596. package/src/plugins/impl/RefreshPlugin.tsx +1 -0
  597. package/src/plugins/impl/SliderPlugin.tsx +6 -8
  598. package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +387 -1
  599. package/src/plugins/impl/__tests__/FileBrowserPlugin.test.tsx +45 -0
  600. package/src/plugins/impl/__tests__/RangeSliderPlugin.test.tsx +109 -0
  601. package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +24 -3
  602. package/src/plugins/impl/anywidget/__tests__/registry.test.ts +153 -0
  603. package/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts +241 -2
  604. package/src/plugins/impl/anywidget/model.ts +3 -1
  605. package/src/plugins/impl/anywidget/registry.ts +18 -14
  606. package/src/plugins/impl/anywidget/runtime.ts +21 -9
  607. package/src/plugins/impl/anywidget/widget-binding.ts +160 -82
  608. package/src/plugins/impl/chat/__tests__/chat-prompts.test.tsx +93 -0
  609. package/src/plugins/impl/chat/chat-ui.tsx +14 -11
  610. package/src/plugins/impl/code/any-language-editor.tsx +2 -2
  611. package/src/plugins/impl/data-editor/glide-data-editor.tsx +8 -5
  612. package/src/plugins/impl/data-editor/glide-utils.ts +3 -1
  613. package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +1 -1
  614. package/src/plugins/impl/data-explorer/components/column-summary.tsx +4 -2
  615. package/src/plugins/impl/data-explorer/state/reducer.ts +1 -1
  616. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +1 -2
  617. package/src/plugins/impl/data-frames/__tests__/sidebar.test.tsx +160 -0
  618. package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +66 -66
  619. package/src/plugins/impl/data-frames/panel.tsx +43 -16
  620. package/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx +5 -3
  621. package/src/plugins/impl/panel/PanelPlugin.tsx +16 -17
  622. package/src/plugins/impl/panel/__tests__/utils.test.ts +39 -1
  623. package/src/plugins/impl/panel/utils.ts +17 -0
  624. package/src/plugins/impl/plotly/PlotlyPlugin.tsx +2 -5
  625. package/src/plugins/impl/plotly/selection.ts +25 -19
  626. package/src/plugins/impl/vega/VegaPlugin.tsx +2 -3
  627. package/src/plugins/impl/vega/make-selectable.ts +4 -7
  628. package/src/plugins/layout/RoutesPlugin.tsx +1 -1
  629. package/src/stories/__tests__/editor-story.test.tsx +33 -0
  630. package/src/stories/button.stories.tsx +1 -0
  631. package/src/stories/cell.stories.tsx +2 -5
  632. package/src/stories/data-table.stories.tsx +31 -0
  633. package/src/stories/editor.stories.tsx +24 -17
  634. package/src/stories/form-wrapper.stories.tsx +2 -2
  635. package/src/stories/layout/vertical/one-column.stories.tsx +28 -23
  636. package/src/stories/runtime-story.tsx +23 -17
  637. package/src/stories/select.stories.tsx +2 -2
  638. package/src/stories/switchable-multi-select.stories.tsx +1 -1
  639. package/src/utils/__tests__/arrays.test.ts +35 -0
  640. package/src/utils/__tests__/batch-requests.test.ts +3 -3
  641. package/src/utils/__tests__/{createReducer.test.ts → createReducer.test.tsx} +29 -0
  642. package/src/utils/__tests__/numbers.test.ts +105 -1
  643. package/src/utils/__tests__/objects.test.ts +21 -0
  644. package/src/utils/arrays.ts +11 -2
  645. package/src/utils/blob.ts +1 -1
  646. package/src/utils/createReducer.ts +53 -26
  647. package/src/utils/maps.ts +0 -3
  648. package/src/utils/numbers.ts +79 -18
  649. package/src/utils/objects.ts +4 -9
  650. package/src/utils/once.ts +19 -19
  651. package/src/utils/tracer.ts +9 -5
  652. package/src/utils/zod-utils.ts +1 -3
  653. package/dist/any-language-editor-D4q-IFcM.js +0 -76
  654. package/dist/assets/__vite-browser-external-BXYkiFsk.js +0 -1
  655. package/dist/assets/worker-HPY9fbhz.js +0 -114
  656. package/dist/code-visibility-DPm4oWK1.js +0 -138
  657. package/dist/dropdown-menu-DHP9P4VE.js +0 -4678
  658. package/dist/feedback-button-DVgw4Y7F.js +0 -379
  659. package/dist/html-to-image-BdA59IUD.js +0 -3251
  660. package/dist/label-DoysmLMW.js +0 -281
  661. package/dist/mermaid-HWGCJPDP-ByCsZnYF.js +0 -2
  662. package/dist/objectWithoutPropertiesLoose-BRDcTsfB.js +0 -23
  663. package/dist/precisionRound-DMIVQrt2.js +0 -97
  664. package/dist/select-DemoKT4G.js +0 -1344
  665. package/dist/toDate-B5mIgxwZ.js +0 -1185
  666. package/dist/toast-PkdZraM8.js +0 -1830
  667. package/dist/use-restore-focus-CKjfFjLM.js +0 -6369
  668. package/dist/useLifecycle-BGWzTwHK.js +0 -169
  669. package/dist/useTheme-BhQvec43.js +0 -904
  670. package/src/components/editor/cell/code/__tests__/rtc-editor-config.test.ts +0 -50
  671. package/src/components/editor/chrome/wrapper/footer-items/rtc-status.tsx +0 -65
  672. package/src/components/editor/navigation/__tests__/state.test.ts +0 -81
  673. package/src/components/editor/navigation/state.ts +0 -65
  674. package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +0 -656
  675. package/src/core/ai/tools/run-cells-tool.ts +0 -303
  676. package/src/core/attachments/state.ts +0 -18
  677. package/src/core/cells/__tests__/apply-transaction.test.ts +0 -991
  678. package/src/core/cells/__tests__/document-changes.test.ts +0 -1140
  679. package/src/core/cells/__tests__/document-roundtrip.test.ts +0 -392
  680. package/src/core/cells/document-changes.ts +0 -944
  681. package/src/core/codemirror/rtc/extension.ts +0 -453
  682. package/src/core/codemirror/rtc/loro/__tests__/sync.test.ts +0 -52
  683. package/src/core/codemirror/rtc/loro/awareness.ts +0 -531
  684. package/src/core/codemirror/rtc/loro/colors.ts +0 -38
  685. package/src/core/codemirror/rtc/loro/sync.ts +0 -168
  686. package/src/core/host/AGENTS.md +0 -11
  687. package/src/core/host/__tests__/events.test.ts +0 -46
  688. package/src/core/host/__tests__/fixtures.ts +0 -39
  689. package/src/core/host/__tests__/notebook-client.test.ts +0 -433
  690. package/src/core/host/__tests__/protocol.test.ts +0 -214
  691. package/src/core/host/__tests__/stream.test.ts +0 -211
  692. package/src/core/host/connection.ts +0 -81
  693. package/src/core/host/events.ts +0 -61
  694. package/src/core/host/notebook-client.ts +0 -290
  695. package/src/core/host/protocol.ts +0 -1943
  696. package/src/core/host/resources/resource.ts +0 -59
  697. package/src/core/host/stream.ts +0 -213
  698. package/src/core/rtc/state.ts +0 -34
  699. package/src/core/state/__tests__/jotai.test.ts +0 -25
  700. package/src/core/wasm/worker/message-buffer.ts +0 -33
  701. package/src/core/websocket/__tests__/createConnectionTransport.test.ts +0 -49
  702. package/src/core/websocket/__tests__/useNotebookClient.hook.test.tsx +0 -170
  703. package/src/core/websocket/state.ts +0 -7
  704. package/src/core/websocket/transports/__tests__/basic.test.ts +0 -275
  705. package/src/core/websocket/transports/__tests__/sse.test.ts +0 -335
  706. package/src/core/websocket/transports/__tests__/transport.test.ts +0 -308
  707. package/src/core/websocket/transports/__tests__/ws.test.ts +0 -125
  708. package/src/core/websocket/transports/basic.ts +0 -102
  709. package/src/core/websocket/transports/create.ts +0 -31
  710. package/src/core/websocket/transports/sse.ts +0 -308
  711. package/src/core/websocket/transports/transport.ts +0 -50
  712. package/src/core/websocket/transports/ws.ts +0 -98
  713. package/src/core/websocket/useNotebookClient.ts +0 -88
  714. package/src/utils/__tests__/id-tree.test.ts +0 -2145
  715. package/src/utils/id-tree.tsx +0 -1134
  716. /package/src/{core/attachments/toast.ts → components/editor/agent-toast.ts} +0 -0
  717. /package/src/core/{websocket → session}/connection-utils.ts +0 -0
@@ -1,144 +1,145 @@
1
- import { $ as e, At as t, H as n, I as r, O as i, R as a, S as o, V as s, X as c, f as l, h as ee, n as u, r as te, s as ne, t as re, u as d, v as f, w as ie } from "./dist-DoE4XJBC.js";
2
- import { f as ae, l as oe, s as se } from "./dist-CkTTIdBe.js";
3
- import { a as ce, l as le, p, t as ue } from "./dist-diIx5qJW.js";
4
- import { n as m } from "./dist-CrSP_H1M.js";
5
- import { n as h, r as de } from "./dist-BMQf5zIS.js";
6
- import { n as fe, t as pe } from "./dist-CN_BeG2I.js";
7
- import { n as g, o as me, r as he, s as ge } from "./dist-DiDibOYr.js";
8
- import { i as _ } from "./dist-BorMD-uX.js";
9
- import { t as v } from "./stex-Btf3omL8.js";
10
- import { t as y } from "./dist-F8Ep36rk.js";
11
- import { n as _e } from "./dist-Cg7gzw-a.js";
12
- import { n as ve } from "./dist-D6d86eNJ.js";
13
- import { n as b } from "./dist-Bvs24R_E.js";
14
- import { n as ye } from "./dist-BK4Oj99o.js";
15
- import { n as be } from "./dist-BuaRHxOc.js";
16
- import { n as xe } from "./dist-OR1OnN-y.js";
17
- import { n as x } from "./dist-D-wwqlzJ.js";
18
- import { n as Se } from "./dist-CSJ0MDRw.js";
19
- import { n as Ce } from "./dist-CLdpGQVr.js";
20
- import { n as we } from "./dist-BLfKmR-l.js";
21
- import { n as S } from "./dist-C8fAKSH1.js";
22
- import { n as Te } from "./dist-DBtSl3sf.js";
23
- import { t as Ee } from "./apl-GEW9-ZP1.js";
24
- import { t as De } from "./asciiarmor-BWNxzkG7.js";
25
- import { t as Oe } from "./asn1-Bcn2QutK.js";
26
- import { t as ke } from "./brainfuck-BQCYDheZ.js";
27
- import { t as Ae } from "./cobol-DC3g37Kq.js";
28
- import { a as je, i as Me, n as Ne, o as Pe, r as Fe, s as Ie } from "./clike-CxK9W55Z.js";
29
- import { t as C } from "./clojure-Dzcvwpxk.js";
30
- import { n as Le } from "./css-CN_wP7_R.js";
31
- import { t as Re } from "./cmake-DYr-71zp.js";
32
- import { t as ze } from "./coffeescript-C-eFwH5N.js";
33
- import { t as w } from "./commonlisp-CyaNXrJR.js";
34
- import { t as Be } from "./cypher-CqGRcmZo.js";
35
- import { t as T } from "./python-DREjAV__.js";
36
- import { t as Ve } from "./crystal-ih5ax5tQ.js";
37
- import { t as He } from "./d-Cj0sOW2z.js";
38
- import { t as Ue } from "./diff-B_hUkiat.js";
39
- import { t as We } from "./dtd-B8FGSWWe.js";
40
- import { t as E } from "./dylan-DbIBYIrw.js";
41
- import { t as Ge } from "./ecl-DBmkdWAd.js";
42
- import { t as Ke } from "./eiffel-CcWSDDzK.js";
43
- import { t as qe } from "./elm-MC-b8a6C.js";
44
- import { t as Je } from "./erlang-AdO1-xtV.js";
45
- import { t as Ye } from "./factor-Ys-13HOP.js";
46
- import { t as D } from "./forth-DiMuIXFe.js";
47
- import { t as O } from "./fortran-hkrF2eM4.js";
48
- import { i as k, r as A, t as Xe } from "./mllike-BbugeaY_.js";
49
- import { t as Ze } from "./gas-DlhqN9k8.js";
50
- import { t as Qe } from "./gherkin-0SlhEZ3t.js";
51
- import { t as $e } from "./groovy-YhcTMyvX.js";
52
- import { t as et } from "./haskell-CodLxrtT.js";
53
- import { r as tt, t as nt } from "./haxe-CiRWNFkH.js";
54
- import { t as rt } from "./idl-DZgBq75I.js";
55
- import { r as it } from "./javascript-BfNytHiM.js";
56
- import { t as at } from "./julia--tLIAG7q.js";
57
- import { t as ot } from "./livescript-CVPfYnY_.js";
58
- import { t as st } from "./lua-4Fa-T-qq.js";
59
- import { t as ct } from "./mirc-De9aSAZM.js";
60
- import { t as j } from "./mathematica-CtYAy6GG.js";
61
- import { t as lt } from "./modelica-BjJwWw1F.js";
62
- import { t as ut } from "./mumps--plbDM9o.js";
63
- import { t as dt } from "./mbox-D0w9Ah1C.js";
64
- import { t as ft } from "./nsis-fiiOqLc3.js";
65
- import { t as pt } from "./ntriples-jV77I4k8.js";
66
- import { t as mt } from "./octave-Cztd01tF.js";
67
- import { t as ht } from "./oz-Bl8o3BDl.js";
68
- import { t as gt } from "./pascal-BO5JqysR.js";
69
- import { t as _t } from "./perl-Drlh9s6m.js";
70
- import { t as vt } from "./pig-BWGR8wZw.js";
71
- import { t as M } from "./powershell-DT99xlz_.js";
72
- import { t as N } from "./properties-Q-rkxld0.js";
73
- import { t as yt } from "./protobuf-DKyWZbs7.js";
74
- import { t as bt } from "./pug-42ZJUbEC.js";
75
- import { t as xt } from "./puppet-B4UozHhh.js";
76
- import { t as St } from "./q-Bi63IpBO.js";
77
- import { t as Ct } from "./r-DSwXWKMR.js";
78
- import { t as wt } from "./rpm-DPb1DeKM.js";
79
- import { t as Tt } from "./ruby-U7fZA4DP.js";
80
- import { t as Et } from "./sas-CLk1JpTn.js";
81
- import { t as Dt } from "./scheme-CT-2k2Tl.js";
82
- import { t as P } from "./shell-BLO7fcsk.js";
83
- import { t as Ot } from "./sieve-nG3C7WNH.js";
84
- import { t as kt } from "./smalltalk-BROcZybA.js";
85
- import { t as At } from "./sparql-Cv1Ksr4v.js";
86
- import { t as jt } from "./stylus-Dt4VvLXL.js";
87
- import { t as Mt } from "./swift-DHsn_CVI.js";
88
- import { t as F } from "./verilog-DqQTzVn8.js";
89
- import { t as Nt } from "./tcl-CV0OLBOl.js";
90
- import { t as Pt } from "./textile-D320oKVM.js";
91
- import { t as Ft } from "./toml-CaUN7UHo.js";
92
- import { t as I } from "./troff-DQUFcClZ.js";
93
- import { t as L } from "./ttcn-CQL1duJS.js";
94
- import { t as It } from "./ttcn-cfg-BMmEFJPu.js";
95
- import { t as Lt } from "./turtle-C3esgsRr.js";
96
- import { t as Rt } from "./webidl-DzX7N40e.js";
97
- import { t as zt } from "./vb-RK1eDXRl.js";
98
- import { t as Bt } from "./vbscript-BCOeM0de.js";
99
- import { t as Vt } from "./velocity-CZKOFbOI.js";
100
- import { t as Ht } from "./vhdl-vQr2bfmi.js";
101
- import { t as R } from "./xquery-Cw_Q_hGR.js";
102
- import { t as Ut } from "./yacas-DiC4jJBE.js";
103
- import { t as Wt } from "./z80-CUOQDEJO.js";
104
- import { i as Gt, r as Kt, t as z } from "./mscgen-DwiRH5ma.js";
105
- import { n as qt } from "./dist-CSbh1PNP.js";
1
+ import { L as e, M as t, P as n, R as r, V as i, Wt as a, b as o, c as s, d as ee, m as c, o as l, r as te, v as ne, vt as re, w as ie } from "./dist-CYeqK4Xw.js";
2
+ import { f as ae, l as oe, s as se } from "./dist-BX1mn8na.js";
3
+ import { n as u } from "./dist-DiLFTlnl.js";
4
+ import { n as d, r as ce, t as le } from "./dist-BLY4m1Wi.js";
5
+ import { n as f, r as ue } from "./dist-7cRjf--y.js";
6
+ import { n as de, t as fe } from "./dist-B9UoM_wq.js";
7
+ import { n as p, o as pe, r as me, s as he } from "./dist-Bh0PTKUW.js";
8
+ import { i as m } from "./dist-DU9ICsWZ.js";
9
+ import { t as h } from "./stex-Btf3omL8.js";
10
+ import { a as ge, l as _e, p as g, t as ve } from "./dist-B8pkfkzc.js";
11
+ import { t as _ } from "./dist-17ugwGZc.js";
12
+ import { n as ye } from "./dist-gTTI-9Px.js";
13
+ import { n as be } from "./dist-BQYe5Bju.js";
14
+ import { n as v } from "./dist-11T5wq3_.js";
15
+ import { n as xe } from "./dist-BHW11fni.js";
16
+ import { n as Se } from "./dist-fRfaOoq8.js";
17
+ import { n as Ce } from "./dist-DiBpWEsB.js";
18
+ import { n as y } from "./dist-DSJPGj42.js";
19
+ import { n as we } from "./dist-CKaXK92p.js";
20
+ import { n as Te } from "./dist-BGuMTs1i.js";
21
+ import { n as Ee } from "./dist-Cxlp3WH6.js";
22
+ import { n as b } from "./dist-CLhwfhpJ.js";
23
+ import { n as De } from "./dist-DWv0ALBi.js";
24
+ import { t as Oe } from "./apl-GEW9-ZP1.js";
25
+ import { t as ke } from "./asciiarmor-BWNxzkG7.js";
26
+ import { t as Ae } from "./asn1-Bcn2QutK.js";
27
+ import { t as je } from "./brainfuck-BQCYDheZ.js";
28
+ import { t as Me } from "./cobol-DC3g37Kq.js";
29
+ import { a as Ne, i as Pe, n as Fe, o as Ie, r as Le, s as Re } from "./clike-CxK9W55Z.js";
30
+ import { t as x } from "./clojure-Dzcvwpxk.js";
31
+ import { n as ze } from "./css-CN_wP7_R.js";
32
+ import { t as Be } from "./cmake-DYr-71zp.js";
33
+ import { t as Ve } from "./coffeescript-C-eFwH5N.js";
34
+ import { t as S } from "./commonlisp-CyaNXrJR.js";
35
+ import { t as He } from "./cypher-CqGRcmZo.js";
36
+ import { t as C } from "./python-DREjAV__.js";
37
+ import { t as Ue } from "./crystal-ih5ax5tQ.js";
38
+ import { t as We } from "./d-Cj0sOW2z.js";
39
+ import { t as Ge } from "./diff-B_hUkiat.js";
40
+ import { t as Ke } from "./dtd-B8FGSWWe.js";
41
+ import { t as w } from "./dylan-DbIBYIrw.js";
42
+ import { t as qe } from "./ecl-DBmkdWAd.js";
43
+ import { t as Je } from "./eiffel-CcWSDDzK.js";
44
+ import { t as Ye } from "./elm-MC-b8a6C.js";
45
+ import { t as Xe } from "./erlang-AdO1-xtV.js";
46
+ import { t as Ze } from "./factor-Ys-13HOP.js";
47
+ import { t as T } from "./forth-DiMuIXFe.js";
48
+ import { t as E } from "./fortran-hkrF2eM4.js";
49
+ import { i as D, r as O, t as Qe } from "./mllike-BbugeaY_.js";
50
+ import { t as $e } from "./gas-DlhqN9k8.js";
51
+ import { t as et } from "./gherkin-0SlhEZ3t.js";
52
+ import { t as tt } from "./groovy-YhcTMyvX.js";
53
+ import { t as nt } from "./haskell-CodLxrtT.js";
54
+ import { r as rt, t as it } from "./haxe-CiRWNFkH.js";
55
+ import { t as at } from "./idl-DZgBq75I.js";
56
+ import { r as ot } from "./javascript-BfNytHiM.js";
57
+ import { t as st } from "./julia--tLIAG7q.js";
58
+ import { t as ct } from "./livescript-CVPfYnY_.js";
59
+ import { t as lt } from "./lua-4Fa-T-qq.js";
60
+ import { t as ut } from "./mirc-De9aSAZM.js";
61
+ import { t as k } from "./mathematica-CtYAy6GG.js";
62
+ import { t as dt } from "./modelica-BjJwWw1F.js";
63
+ import { t as ft } from "./mumps--plbDM9o.js";
64
+ import { t as pt } from "./mbox-D0w9Ah1C.js";
65
+ import { t as mt } from "./nsis-fiiOqLc3.js";
66
+ import { t as ht } from "./ntriples-jV77I4k8.js";
67
+ import { t as gt } from "./octave-Cztd01tF.js";
68
+ import { t as _t } from "./oz-Bl8o3BDl.js";
69
+ import { t as vt } from "./pascal-BO5JqysR.js";
70
+ import { t as yt } from "./perl-Drlh9s6m.js";
71
+ import { t as bt } from "./pig-BWGR8wZw.js";
72
+ import { t as A } from "./powershell-DT99xlz_.js";
73
+ import { t as j } from "./properties-Q-rkxld0.js";
74
+ import { t as xt } from "./protobuf-DKyWZbs7.js";
75
+ import { t as St } from "./pug-42ZJUbEC.js";
76
+ import { t as Ct } from "./puppet-B4UozHhh.js";
77
+ import { t as wt } from "./q-Bi63IpBO.js";
78
+ import { t as Tt } from "./r-DSwXWKMR.js";
79
+ import { t as Et } from "./rpm-DPb1DeKM.js";
80
+ import { t as Dt } from "./ruby-U7fZA4DP.js";
81
+ import { t as Ot } from "./sas-CLk1JpTn.js";
82
+ import { t as kt } from "./scheme-CT-2k2Tl.js";
83
+ import { t as M } from "./shell-BLO7fcsk.js";
84
+ import { t as At } from "./sieve-nG3C7WNH.js";
85
+ import { t as jt } from "./smalltalk-BROcZybA.js";
86
+ import { t as Mt } from "./sparql-Cv1Ksr4v.js";
87
+ import { t as Nt } from "./stylus-Dt4VvLXL.js";
88
+ import { t as Pt } from "./swift-DHsn_CVI.js";
89
+ import { t as N } from "./verilog-DqQTzVn8.js";
90
+ import { t as Ft } from "./tcl-CV0OLBOl.js";
91
+ import { t as It } from "./textile-D320oKVM.js";
92
+ import { t as Lt } from "./toml-CaUN7UHo.js";
93
+ import { t as P } from "./troff-DQUFcClZ.js";
94
+ import { t as F } from "./ttcn-CQL1duJS.js";
95
+ import { t as Rt } from "./ttcn-cfg-BMmEFJPu.js";
96
+ import { t as zt } from "./turtle-C3esgsRr.js";
97
+ import { t as Bt } from "./webidl-DzX7N40e.js";
98
+ import { t as Vt } from "./vb-RK1eDXRl.js";
99
+ import { t as Ht } from "./vbscript-BCOeM0de.js";
100
+ import { t as Ut } from "./velocity-CZKOFbOI.js";
101
+ import { t as Wt } from "./vhdl-vQr2bfmi.js";
102
+ import { t as I } from "./xquery-Cw_Q_hGR.js";
103
+ import { t as Gt } from "./yacas-DiC4jJBE.js";
104
+ import { t as Kt } from "./z80-CUOQDEJO.js";
105
+ import { i as qt, r as Jt, t as L } from "./mscgen-DwiRH5ma.js";
106
+ import { n as Yt } from "./dist-cVDV5IuI.js";
106
107
  //#region ../node_modules/.pnpm/@replit+codemirror-lang-nix@6.0.1_@codemirror+autocomplete@6.20.3_@codemirror+language@_06eb306fb859a97771bc47a7fd4eed5d/node_modules/@replit/codemirror-lang-nix/dist/index.js
107
- var B = 63, Jt = 64, Yt = 65, Xt = 66, V = 67, Zt = 68, Qt = 69, $t = 70, en = 34, tn = 92, nn = 123, rn = 36, an = 39, on = /*@__PURE__*/ new u((e) => {
108
+ var R = 63, Xt = 64, Zt = 65, Qt = 66, z = 67, $t = 68, en = 69, tn = 70, nn = 34, rn = 92, an = 123, on = 36, sn = 39, cn = /*@__PURE__*/ new d((e) => {
108
109
  for (let t = !1, n = 0;; n++) {
109
110
  let { next: r } = e;
110
111
  if (r < 0) {
111
- n > 0 && e.acceptToken(B);
112
+ n > 0 && e.acceptToken(R);
112
113
  break;
113
114
  }
114
- if (r === en) {
115
- n > 0 ? e.acceptToken(B) : e.acceptToken(Yt, 1);
115
+ if (r === nn) {
116
+ n > 0 ? e.acceptToken(R) : e.acceptToken(Zt, 1);
116
117
  break;
117
118
  }
118
- if (r === nn && t) {
119
- n == 1 ? e.acceptToken(Jt, 1) : e.acceptToken(B, -1);
119
+ if (r === an && t) {
120
+ n == 1 ? e.acceptToken(Xt, 1) : e.acceptToken(R, -1);
120
121
  break;
121
122
  }
122
- r === tn && (e.advance(), e.acceptToken(Xt, 1)), t = r === rn, e.advance();
123
+ r === rn && (e.advance(), e.acceptToken(Qt, 1)), t = r === on, e.advance();
123
124
  }
124
- }), sn = /*@__PURE__*/ new u((e) => {
125
+ }), ln = /*@__PURE__*/ new d((e) => {
125
126
  for (let t = !1, n = !1, r = 0;; r++) {
126
127
  let { next: i } = e;
127
128
  if (i < 0) {
128
- r > 0 && e.acceptToken(V);
129
+ r > 0 && e.acceptToken(z);
129
130
  break;
130
131
  }
131
- if (i === an && n) {
132
- r > 1 ? e.acceptToken(V, -1) : e.acceptToken(Qt, 1);
132
+ if (i === sn && n) {
133
+ r > 1 ? e.acceptToken(z, -1) : e.acceptToken(en, 1);
133
134
  break;
134
135
  }
135
- if (i === nn && t) {
136
- r == 1 ? e.acceptToken(Zt, 1) : e.acceptToken(V, -1);
136
+ if (i === an && t) {
137
+ r == 1 ? e.acceptToken($t, 1) : e.acceptToken(z, -1);
137
138
  break;
138
139
  }
139
- i === tn && (e.advance(), e.acceptToken($t, 1)), t = i === rn, n = i === an, e.advance();
140
+ i === rn && (e.advance(), e.acceptToken(tn, 1)), t = i === on, n = i === sn, e.advance();
140
141
  }
141
- }), cn = {
142
+ }), un = {
142
143
  __proto__: null,
143
144
  assert: 22,
144
145
  with: 26,
@@ -154,7 +155,7 @@ var B = 63, Jt = 64, Yt = 65, Xt = 66, V = 67, Zt = 68, Qt = 69, $t = 70, en = 3
154
155
  false: 216,
155
156
  rec: 100,
156
157
  or: 108
157
- }, ln = /* @__PURE__ */ te.deserialize({
158
+ }, dn = /* @__PURE__ */ ce.deserialize({
158
159
  version: 14,
159
160
  states: "7QO]QSOOO!sQWO'#DyO#XQ`O'#EjO&QQSO'#C`O&YQTO'#CnO'lQWO'#EWO(VQSO'#C|O(VQSO'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<v~<{W{~{|<v}!O<v!O!P<v!P!Q=e!Q![<v!c!}<v#R#S<v#T#o<v~=jV{~{|<v}!O<v!O!P<v!Q![<v!c!}<v#R#S<v#T#o<v",
188
189
  tokenizers: [
189
- on,
190
- sn,
190
+ cn,
191
+ ln,
191
192
  0,
192
193
  1,
193
194
  2
@@ -195,21 +196,21 @@ var B = 63, Jt = 64, Yt = 65, Xt = 66, V = 67, Zt = 68, Qt = 69, $t = 70, en = 3
195
196
  topRules: { Program: [0, 3] },
196
197
  specialized: [{
197
198
  term: 5,
198
- get: (e) => cn[e] || -1
199
+ get: (e) => un[e] || -1
199
200
  }],
200
201
  tokenPrec: 2290
201
- }), un = /*@__PURE__*/ ne.define({
202
+ }), fn = /*@__PURE__*/ te.define({
202
203
  name: "Nix",
203
- parser: /*@__PURE__*/ ln.configure({ props: [
204
- /*@__PURE__*/ i.add({
205
- Parenthesized: /*@__PURE__*/ f({ closing: ")" }),
206
- AttrSet: /*@__PURE__*/ f({ closing: "}" }),
207
- List: /*@__PURE__*/ f({ closing: "]" }),
204
+ parser: /*@__PURE__*/ dn.configure({ props: [
205
+ /*@__PURE__*/ ie.add({
206
+ Parenthesized: /*@__PURE__*/ c({ closing: ")" }),
207
+ AttrSet: /*@__PURE__*/ c({ closing: "}" }),
208
+ List: /*@__PURE__*/ c({ closing: "]" }),
208
209
  Let: /*@__PURE__*/ ee({ except: /^\s*in\b/ })
209
210
  }),
210
- /*@__PURE__*/ ie.add({
211
- AttrSet: o,
212
- List: o,
211
+ /*@__PURE__*/ o.add({
212
+ AttrSet: ne,
213
+ List: ne,
213
214
  Let(e) {
214
215
  let t = e.getChild("let"), n = e.getChild("in");
215
216
  return !t || !n ? null : {
@@ -218,24 +219,24 @@ var B = 63, Jt = 64, Yt = 65, Xt = 66, V = 67, Zt = 68, Qt = 69, $t = 70, en = 3
218
219
  };
219
220
  }
220
221
  }),
221
- /*@__PURE__*/ s({
222
- Identifier: n.propertyName,
223
- Boolean: n.bool,
224
- String: n.string,
225
- IndentedString: n.string,
226
- LineComment: n.lineComment,
227
- BlockComment: n.blockComment,
228
- Float: n.float,
229
- Integer: n.integer,
230
- Null: n.null,
231
- URI: n.url,
232
- SPath: n.literal,
233
- Path: n.literal,
234
- "( )": n.paren,
235
- "{ }": n.brace,
236
- "[ ]": n.squareBracket,
237
- "if then else": n.controlKeyword,
238
- "import with let in rec builtins inherit assert or": n.keyword
222
+ /*@__PURE__*/ e({
223
+ Identifier: r.propertyName,
224
+ Boolean: r.bool,
225
+ String: r.string,
226
+ IndentedString: r.string,
227
+ LineComment: r.lineComment,
228
+ BlockComment: r.blockComment,
229
+ Float: r.float,
230
+ Integer: r.integer,
231
+ Null: r.null,
232
+ URI: r.url,
233
+ SPath: r.literal,
234
+ Path: r.literal,
235
+ "( )": r.paren,
236
+ "{ }": r.brace,
237
+ "[ ]": r.squareBracket,
238
+ "if then else": r.controlKeyword,
239
+ "import with let in rec builtins inherit assert or": r.keyword
239
240
  })
240
241
  ] }),
241
242
  languageData: {
@@ -255,7 +256,7 @@ var B = 63, Jt = 64, Yt = 65, Xt = 66, V = 67, Zt = 68, Qt = 69, $t = 70, en = 3
255
256
  ] },
256
257
  indentOnInput: /^\s*(in|\}|\)|\])$/
257
258
  }
258
- }), dn = [/*@__PURE__*/ ae("let ${binds} in ${expression}", {
259
+ }), pn = [/*@__PURE__*/ ae("let ${binds} in ${expression}", {
259
260
  label: "let",
260
261
  detail: "Let ... in statement",
261
262
  type: "keyword"
@@ -264,17 +265,17 @@ var B = 63, Jt = 64, Yt = 65, Xt = 66, V = 67, Zt = 68, Qt = 69, $t = 70, en = 3
264
265
  detail: "With statement",
265
266
  type: "keyword"
266
267
  })];
267
- function fn() {
268
- return new d(un, un.data.of({ autocomplete: oe([
268
+ function mn() {
269
+ return new l(fn, fn.data.of({ autocomplete: oe([
269
270
  "LineComment",
270
271
  "BlockComment",
271
272
  "String",
272
273
  "IndentedString"
273
- ], se(dn)) }));
274
+ ], se(pn)) }));
274
275
  }
275
276
  //#endregion
276
277
  //#region ../node_modules/.pnpm/@replit+codemirror-lang-svelte@6.0.0_@codemirror+autocomplete@6.20.3_@codemirror+lang-c_3c1146d7c181b0abf30b2437f0dbb2a3/node_modules/@replit/codemirror-lang-svelte/dist/index.js
277
- var pn = 145, mn = 1, hn = 146, gn = 2, _n = 147, vn = 3, H = 4, yn = 5, bn = 6, xn = 7, Sn = 8, Cn = 9, wn = 11, U = 148, Tn = 12, En = 149, W = 13, G = 14, Dn = 67, On = 110, kn = 113, An = 116, jn = 118, Mn = {
278
+ var hn = 145, gn = 1, _n = 146, vn = 2, yn = 147, bn = 3, B = 4, xn = 5, Sn = 6, Cn = 7, wn = 8, Tn = 9, En = 11, V = 148, Dn = 12, On = 149, H = 13, U = 14, kn = 67, An = 110, jn = 113, Mn = 116, Nn = 118, Pn = {
278
279
  area: !0,
279
280
  base: !0,
280
281
  br: !0,
@@ -293,7 +294,7 @@ var pn = 145, mn = 1, hn = 146, gn = 2, _n = 147, vn = 3, H = 4, yn = 5, bn = 6,
293
294
  track: !0,
294
295
  wbr: !0,
295
296
  menuitem: !0
296
- }, Nn = {
297
+ }, Fn = {
297
298
  dd: !0,
298
299
  li: !0,
299
300
  optgroup: !0,
@@ -306,7 +307,7 @@ var pn = 145, mn = 1, hn = 146, gn = 2, _n = 147, vn = 3, H = 4, yn = 5, bn = 6,
306
307
  tfoot: !0,
307
308
  th: !0,
308
309
  tr: !0
309
- }, Pn = {
310
+ }, In = {
310
311
  dd: {
311
312
  dd: !0,
312
313
  dt: !0
@@ -377,85 +378,85 @@ var pn = 145, mn = 1, hn = 146, gn = 2, _n = 147, vn = 3, H = 4, yn = 5, bn = 6,
377
378
  },
378
379
  tr: { tr: !0 }
379
380
  };
380
- function Fn(e) {
381
+ function Ln(e) {
381
382
  return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
382
383
  }
383
- function In(e) {
384
+ function Rn(e) {
384
385
  return e == 9 || e == 10 || e == 13 || e == 32;
385
386
  }
386
- var Ln = null, Rn = null, zn = 0;
387
- function Bn(e, t) {
387
+ var zn = null, Bn = null, Vn = 0;
388
+ function W(e, t) {
388
389
  let n = e.pos + t;
389
- if (zn == n && Rn == e) return Ln;
390
+ if (Vn == n && Bn == e) return zn;
390
391
  let r = e.peek(t);
391
- for (; In(r);) r = e.peek(++t);
392
+ for (; Rn(r);) r = e.peek(++t);
392
393
  let i = "";
393
- for (; Fn(r);) i += String.fromCharCode(r), r = e.peek(++t);
394
- return Rn = e, zn = n, Ln = i ? i.toLowerCase() : r == Wn || r == Gn ? void 0 : null;
394
+ for (; Ln(r);) i += String.fromCharCode(r), r = e.peek(++t);
395
+ return Bn = e, Vn = n, zn = i ? i.toLowerCase() : r == Gn || r == Kn ? void 0 : null;
395
396
  }
396
- var Vn = 60, Hn = 62, Un = 47, Wn = 63, Gn = 33;
397
- function Kn(e, t) {
397
+ var Hn = 60, Un = 62, Wn = 47, Gn = 63, Kn = 33;
398
+ function qn(e, t) {
398
399
  this.name = e, this.parent = t, this.hash = t ? t.hash : 0;
399
400
  for (let t = 0; t < e.length; t++) this.hash += (this.hash << 4) + e.charCodeAt(t) + (e.charCodeAt(t) << 8);
400
401
  }
401
- var qn = [
402
- H,
402
+ var Jn = [
403
+ B,
404
+ wn,
405
+ xn,
403
406
  Sn,
404
- yn,
405
- bn,
406
- xn
407
- ], Jn = /*@__PURE__*/ new re({
407
+ Cn
408
+ ], Yn = /*@__PURE__*/ new le({
408
409
  start: null,
409
410
  shift(e, t, n, r) {
410
- return qn.indexOf(t) > -1 ? new Kn(Bn(r, 1) || "", e) : e;
411
+ return Jn.indexOf(t) > -1 ? new qn(W(r, 1) || "", e) : e;
411
412
  },
412
413
  reduce(e, t) {
413
- return t == Dn && e ? e.parent : e;
414
+ return t == kn && e ? e.parent : e;
414
415
  },
415
416
  reuse(e, t, n, r) {
416
417
  let i = t.type.id;
417
- return i == H || i == jn ? new Kn(Bn(r, 1) || "", e) : e;
418
+ return i == B || i == Nn ? new qn(W(r, 1) || "", e) : e;
418
419
  },
419
420
  hash(e) {
420
421
  return e ? e.hash : 0;
421
422
  },
422
423
  strict: !1
423
- }), Yn = /*@__PURE__*/ new u((e, t) => {
424
- if (e.next != Vn) {
425
- e.next < 0 && t.context && e.acceptToken(U);
424
+ }), Xn = /*@__PURE__*/ new d((e, t) => {
425
+ if (e.next != Hn) {
426
+ e.next < 0 && t.context && e.acceptToken(V);
426
427
  return;
427
428
  }
428
429
  e.advance();
429
- let n = e.next == Un;
430
+ let n = e.next == Wn;
430
431
  n && e.advance();
431
- let r = Bn(e, 0);
432
+ let r = W(e, 0);
432
433
  if (r === void 0) return;
433
- if (!r) return e.acceptToken(n ? Tn : H);
434
+ if (!r) return e.acceptToken(n ? Dn : B);
434
435
  let i = t.context ? t.context.name : null;
435
436
  if (n) {
436
- if (r == i) return e.acceptToken(Cn);
437
- if (i && Nn[i]) return e.acceptToken(U, -2);
437
+ if (r == i) return e.acceptToken(Tn);
438
+ if (i && Fn[i]) return e.acceptToken(V, -2);
438
439
  for (let e = t.context; e; e = e.parent) if (e.name == r) return;
439
- e.acceptToken(wn);
440
+ e.acceptToken(En);
440
441
  } else {
441
- if (r == "script") return e.acceptToken(yn);
442
- if (r == "style") return e.acceptToken(bn);
443
- if (r == "textarea") return e.acceptToken(xn);
444
- if (Mn.hasOwnProperty(r)) return e.acceptToken(Sn);
445
- i && Pn[i] && Pn[i][r] ? e.acceptToken(U, -1) : e.acceptToken(H);
442
+ if (r == "script") return e.acceptToken(xn);
443
+ if (r == "style") return e.acceptToken(Sn);
444
+ if (r == "textarea") return e.acceptToken(Cn);
445
+ if (Pn.hasOwnProperty(r)) return e.acceptToken(wn);
446
+ i && In[i] && In[i][r] ? e.acceptToken(V, -1) : e.acceptToken(B);
446
447
  }
447
448
  }, { contextual: !0 });
448
- function Xn(e, t, n) {
449
+ function G(e, t, n) {
449
450
  let r = 2 + e.length;
450
- return new u((i) => {
451
+ return new d((i) => {
451
452
  for (let a = 0, o = 0, s = 0;; s++) {
452
453
  if (i.next < 0) {
453
454
  s && i.acceptToken(t);
454
455
  break;
455
456
  }
456
- if (a == 0 && i.next == Vn || a == 1 && i.next == Un || a >= 2 && a < r && i.next == e.charCodeAt(a - 2)) a++, o++;
457
- else if ((a == 2 || a == r) && In(i.next)) o++;
458
- else if (a == r && i.next == Hn) {
457
+ if (a == 0 && i.next == Hn || a == 1 && i.next == Wn || a >= 2 && a < r && i.next == e.charCodeAt(a - 2)) a++, o++;
458
+ else if ((a == 2 || a == r) && Rn(i.next)) o++;
459
+ else if (a == r && i.next == Un) {
459
460
  s > o ? i.acceptToken(t, -o) : i.acceptToken(n, -(o - 2));
460
461
  break;
461
462
  } else if ((i.next == 10 || i.next == 13) && s) {
@@ -466,7 +467,7 @@ function Xn(e, t, n) {
466
467
  }
467
468
  });
468
469
  }
469
- var Zn = /*@__PURE__*/ Xn("script", pn, mn), Qn = /*@__PURE__*/ Xn("style", hn, gn), $n = /*@__PURE__*/ Xn("textarea", _n, vn), er = [
470
+ var Zn = /*@__PURE__*/ G("script", hn, gn), Qn = /*@__PURE__*/ G("style", _n, vn), $n = /*@__PURE__*/ G("textarea", yn, bn), er = [
470
471
  9,
471
472
  10,
472
473
  11,
@@ -497,15 +498,15 @@ var Zn = /*@__PURE__*/ Xn("script", pn, mn), Qn = /*@__PURE__*/ Xn("style", hn,
497
498
  or,
498
499
  sr,
499
500
  Y
500
- ], _r = /*@__PURE__*/ new u((e) => {
501
+ ], _r = /*@__PURE__*/ new d((e) => {
501
502
  for (let t = 0, n = 0;; n++) {
502
503
  if (e.next < 0) {
503
- n && e.acceptToken(En);
504
+ n && e.acceptToken(On);
504
505
  break;
505
506
  }
506
507
  if (e.next == lr) t++;
507
508
  else if (e.next == cr && t >= 2) {
508
- n > 3 && e.acceptToken(En, -2);
509
+ n > 3 && e.acceptToken(On, -2);
509
510
  break;
510
511
  } else t = 0;
511
512
  e.advance();
@@ -519,7 +520,7 @@ function yr(e) {
519
520
  let t = !1, n = !1;
520
521
  return () => t ? (e.next === pr && (t = !1), !0) : n ? (e.next === mr && e.peek(1) === Y && (n = !1), !0) : e.next === Y && e.peek(1) === Y ? (t = !0, !0) : e.next === Y && e.peek(1) === mr && (n = !0, !0);
521
522
  }
522
- var br = /*@__PURE__*/ new u((e) => {
523
+ var br = /*@__PURE__*/ new d((e) => {
523
524
  if (gr.includes(e.next)) return;
524
525
  let t = yr(e), n = vr(e), r = [], i = (e) => {
525
526
  let t = r.lastIndexOf(e);
@@ -527,7 +528,7 @@ var br = /*@__PURE__*/ new u((e) => {
527
528
  };
528
529
  for (let a = 0;; a++) {
529
530
  if (e.next < 0) {
530
- a > 0 && e.acceptToken(W);
531
+ a > 0 && e.acceptToken(H);
531
532
  break;
532
533
  }
533
534
  if (t() || n()) {
@@ -535,7 +536,7 @@ var br = /*@__PURE__*/ new u((e) => {
535
536
  continue;
536
537
  }
537
538
  if (r.length === 0 && (e.next === J || e.next === K || e.next === q)) {
538
- e.acceptToken(W);
539
+ e.acceptToken(H);
539
540
  break;
540
541
  }
541
542
  switch (e.next) {
@@ -558,7 +559,7 @@ var br = /*@__PURE__*/ new u((e) => {
558
559
  }
559
560
  e.advance();
560
561
  }
561
- }), xr = /*@__PURE__*/ new u((e) => {
562
+ }), xr = /*@__PURE__*/ new d((e) => {
562
563
  if (gr.includes(e.peek(0))) return;
563
564
  let t = yr(e), n = vr(e), r = [], i = (e) => {
564
565
  let t = r.lastIndexOf(e);
@@ -566,7 +567,7 @@ var br = /*@__PURE__*/ new u((e) => {
566
567
  };
567
568
  for (let a = 0;; a++) {
568
569
  if (e.next < 0) {
569
- a > 0 && e.acceptToken(G);
570
+ a > 0 && e.acceptToken(U);
570
571
  break;
571
572
  }
572
573
  if (t() || n()) {
@@ -574,7 +575,7 @@ var br = /*@__PURE__*/ new u((e) => {
574
575
  continue;
575
576
  }
576
577
  if (r.length === 0 && (e.next === J || e.next === K || e.next === q || e.next === ir)) {
577
- e.acceptToken(G);
578
+ e.acceptToken(U);
578
579
  break;
579
580
  }
580
581
  switch (e.next) {
@@ -596,62 +597,62 @@ var br = /*@__PURE__*/ new u((e) => {
596
597
  case J: i("{");
597
598
  }
598
599
  if (a !== 0 && r.length === 0 && er.includes(e.next)) {
599
- e.acceptToken(G);
600
+ e.acceptToken(U);
600
601
  break;
601
602
  }
602
603
  e.advance();
603
604
  }
604
- }), Sr = /*@__PURE__*/ s({
605
- "Text RawText": n.content,
606
- "StartTag StartCloseTag SelfClosingEndTag EndTag": n.angleBracket,
607
- TagName: n.tagName,
608
- "MismatchedCloseTag/TagName": [n.tagName, n.invalid],
609
- AttributeName: n.attributeName,
610
- UnquotedAttributeValue: n.attributeValue,
611
- "DoubleQuote SingleQuote AttributeValueContent": n.attributeValue,
612
- Is: n.definitionOperator,
613
- "EntityReference CharacterReference": n.character,
614
- Comment: n.blockComment,
615
- ProcessingInst: n.processingInstruction,
616
- DoctypeDecl: n.documentMeta,
617
- "{ }": n.bracket,
618
- "[ ]": n.squareBracket,
619
- "( )": n.paren,
620
- "| , :": n.punctuation,
621
- "...": n.derefOperator,
622
- ComponentName: n.className,
623
- SvelteElementNamespace: n.namespace,
624
- SvelteElementType: n.tagName,
625
- StyleAttributeName: n.propertyName,
626
- BlockType: n.controlKeyword,
627
- BlockPrefix: n.typeOperator,
628
- "UnknownBlock/BlockType": n.invalid,
629
- UnknownBlockContent: n.invalid,
630
- "if then catch": n.controlKeyword,
631
- as: n.definitionOperator,
632
- Variable: n.variableName,
633
- Modifier: n.modifier,
634
- DirectlyInterpolatedAttributeValue: n.attributeValue,
635
- "DirectiveOn/DirectiveName": n.controlKeyword,
636
- "DirectiveOn/DirectiveTarget": n.typeName,
637
- "DirectiveUse/DirectiveName": n.controlKeyword,
638
- "DirectiveUse/DirectiveTarget": /*@__PURE__*/ n.function(n.variableName),
639
- "DirectiveBind/DirectiveName": n.controlKeyword,
640
- "DirectiveBind/DirectiveTarget": n.variableName,
641
- "DirectiveLet/DirectiveName": n.definitionKeyword,
642
- "DirectiveLet/DirectiveTarget": /*@__PURE__*/ n.definition(n.variableName),
643
- "DirectiveTransition/DirectiveName": n.operatorKeyword,
644
- "DirectiveTransition/DirectiveTarget": /*@__PURE__*/ n.function(n.variableName),
645
- "DirectiveIn/DirectiveName": n.operatorKeyword,
646
- "DirectiveIn/DirectiveTarget": /*@__PURE__*/ n.function(n.variableName),
647
- "DirectiveOut/DirectiveName": n.operatorKeyword,
648
- "DirectiveOut/DirectiveTarget": /*@__PURE__*/ n.function(n.variableName),
649
- "DirectiveAnimate/DirectiveName": n.operatorKeyword,
650
- "DirectiveAnimate/DirectiveTarget": /*@__PURE__*/ n.function(n.variableName),
651
- "DirectiveClass/DirectiveName": n.attributeName,
652
- "DirectiveClass/DirectiveTarget": n.variableName,
653
- "DirectiveStyle/DirectiveName": n.attributeName,
654
- "DirectiveStyle/DirectiveTarget": n.propertyName
605
+ }), Sr = /*@__PURE__*/ e({
606
+ "Text RawText": r.content,
607
+ "StartTag StartCloseTag SelfClosingEndTag EndTag": r.angleBracket,
608
+ TagName: r.tagName,
609
+ "MismatchedCloseTag/TagName": [r.tagName, r.invalid],
610
+ AttributeName: r.attributeName,
611
+ UnquotedAttributeValue: r.attributeValue,
612
+ "DoubleQuote SingleQuote AttributeValueContent": r.attributeValue,
613
+ Is: r.definitionOperator,
614
+ "EntityReference CharacterReference": r.character,
615
+ Comment: r.blockComment,
616
+ ProcessingInst: r.processingInstruction,
617
+ DoctypeDecl: r.documentMeta,
618
+ "{ }": r.bracket,
619
+ "[ ]": r.squareBracket,
620
+ "( )": r.paren,
621
+ "| , :": r.punctuation,
622
+ "...": r.derefOperator,
623
+ ComponentName: r.className,
624
+ SvelteElementNamespace: r.namespace,
625
+ SvelteElementType: r.tagName,
626
+ StyleAttributeName: r.propertyName,
627
+ BlockType: r.controlKeyword,
628
+ BlockPrefix: r.typeOperator,
629
+ "UnknownBlock/BlockType": r.invalid,
630
+ UnknownBlockContent: r.invalid,
631
+ "if then catch": r.controlKeyword,
632
+ as: r.definitionOperator,
633
+ Variable: r.variableName,
634
+ Modifier: r.modifier,
635
+ DirectlyInterpolatedAttributeValue: r.attributeValue,
636
+ "DirectiveOn/DirectiveName": r.controlKeyword,
637
+ "DirectiveOn/DirectiveTarget": r.typeName,
638
+ "DirectiveUse/DirectiveName": r.controlKeyword,
639
+ "DirectiveUse/DirectiveTarget": /*@__PURE__*/ r.function(r.variableName),
640
+ "DirectiveBind/DirectiveName": r.controlKeyword,
641
+ "DirectiveBind/DirectiveTarget": r.variableName,
642
+ "DirectiveLet/DirectiveName": r.definitionKeyword,
643
+ "DirectiveLet/DirectiveTarget": /*@__PURE__*/ r.definition(r.variableName),
644
+ "DirectiveTransition/DirectiveName": r.operatorKeyword,
645
+ "DirectiveTransition/DirectiveTarget": /*@__PURE__*/ r.function(r.variableName),
646
+ "DirectiveIn/DirectiveName": r.operatorKeyword,
647
+ "DirectiveIn/DirectiveTarget": /*@__PURE__*/ r.function(r.variableName),
648
+ "DirectiveOut/DirectiveName": r.operatorKeyword,
649
+ "DirectiveOut/DirectiveTarget": /*@__PURE__*/ r.function(r.variableName),
650
+ "DirectiveAnimate/DirectiveName": r.operatorKeyword,
651
+ "DirectiveAnimate/DirectiveTarget": /*@__PURE__*/ r.function(r.variableName),
652
+ "DirectiveClass/DirectiveName": r.attributeName,
653
+ "DirectiveClass/DirectiveTarget": r.variableName,
654
+ "DirectiveStyle/DirectiveName": r.attributeName,
655
+ "DirectiveStyle/DirectiveTarget": r.propertyName
655
656
  }), Cr = {
656
657
  __proto__: null,
657
658
  "#": 41,
@@ -691,14 +692,14 @@ var br = /*@__PURE__*/ new u((e) => {
691
692
  }, Dr = {
692
693
  __proto__: null,
693
694
  svelte: 243
694
- }, Or = /*@__PURE__*/ te.deserialize({
695
+ }, Or = /*@__PURE__*/ ce.deserialize({
695
696
  version: 14,
696
697
  states: "DxQVO#|OOO!ZO#|O'#ClO#[O#|O'#CzO$]O#|O'#D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ZR#t!Si[OPQRS^egjnr!ZR!V[R#t!Vi]OPQRS^egjnr!ZR!Y]R#t!Yi^OPQRS^egjnr!ZX}Xab![Q!]^R#t!Zi_OPQRS^egjnr!ZQeOR!ceQgPQjQT!dgjQnRR!jnQrSQ!Z^T!nr!ZQ%e$`R&Y%eQ#fyQ#izQ#k{Q#n!OQ#q!PZ$v#f#i#k#n#qQ$q#aQ$t#cT%u$q$tQ&`%yR&l&`Q&d%zR&n&dQ!RZR#r!RQ!U[R#u!UQ!X]R#w!XQ!_`R#z!_SdOeWfPQgjSmRnXqS^r!Ze#eyz{!O!P#f#i#k#n#qe#ayz{!O!P#f#i#k#n#qS&_%y&`T&c%z&dQ!OXQ!aaQ!bbR#y![",
699
700
  nodeNames: "⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag LongExpression ShortExpression Document IfBlock IfBlockOpen { BlockPrefix BlockPrefix BlockType BlockType } ElseBlock BlockPrefix BlockType if IfBlockClose BlockPrefix EachBlock EachBlockOpen BlockType as ( ) , Variable EachBlockClose AwaitBlock AwaitBlockOpen BlockType then catch ThenBlock BlockType CatchBlock BlockType AwaitBlockClose KeyBlock KeyBlockOpen BlockType KeyBlockClose RawHTMLBlock BlockPrefix BlockType DebugBlock BlockType ConstBlock BlockType Interpolation UnknownBlock UnknownBlockContent Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName DirectlyInterpolatedAttribute DirectlyInterpolatedAttributeValue SpreadInterpolatedAttribute ... Directive DirectiveOn DirectiveName AttributeName DirectiveTarget DirectiveBind DirectiveName DirectiveLet DirectiveName DirectiveClass DirectiveName DirectiveStyle DirectiveName DirectiveUse DirectiveName DirectiveTransition DirectiveName DirectiveIn DirectiveName DirectiveOut DirectiveName DirectiveAnimate DirectiveName | Modifier Is AttributeValue DoubleQuote AttributeValueContent SingleQuote AttributeValueContent UnquotedAttributeValue StyleAttribute StyleAttributeName Attribute EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag ComponentName SvelteElementName SvelteElementNamespace SvelteElementType CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",
700
701
  maxTerm: 172,
701
- context: Jn,
702
+ context: Yn,
702
703
  nodeProps: [
703
704
  [
704
705
  "closedBy",
@@ -828,7 +829,7 @@ var br = /*@__PURE__*/ new u((e) => {
828
829
  Zn,
829
830
  Qn,
830
831
  $n,
831
- Yn,
832
+ Xn,
832
833
  _r,
833
834
  br,
834
835
  xr,
@@ -884,7 +885,7 @@ function Ar(e, t, n) {
884
885
  for (let i of n) if (!i.attrs || i.attrs(r ||= kr(e.node.parent, t))) return { parser: i.parser };
885
886
  return null;
886
887
  }
887
- var jr = /*@__PURE__*/ ge.configure({ top: "SingleExpression" });
888
+ var jr = /*@__PURE__*/ he.configure({ top: "SingleExpression" });
888
889
  function Mr(e) {
889
890
  let t = [], n = [], r = [];
890
891
  for (let i of e) {
@@ -892,35 +893,35 @@ function Mr(e) {
892
893
  if (!e) throw RangeError("Only script, style, and textarea tags can host nested parsers");
893
894
  e.push(i);
894
895
  }
895
- return c((e, i) => {
896
+ return a((e, i) => {
896
897
  let a = e.type.id;
897
- return a === W || a === G ? { parser: jr } : a === On ? Ar(e, i, t) : a === kn ? Ar(e, i, n) : a === An ? Ar(e, i, r) : null;
898
+ return a === H || a === U ? { parser: jr } : a === An ? Ar(e, i, t) : a === jn ? Ar(e, i, n) : a === Mn ? Ar(e, i, r) : null;
898
899
  });
899
900
  }
900
901
  var Nr = [
901
902
  {
902
903
  tag: "script",
903
904
  attrs: (e) => e.type === "text/typescript" || e.lang === "ts",
904
- parser: me.parser
905
+ parser: pe.parser
905
906
  },
906
907
  {
907
908
  tag: "script",
908
909
  attrs(e) {
909
910
  return !e.type || /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type);
910
911
  },
911
- parser: he.parser
912
+ parser: me.parser
912
913
  },
913
914
  {
914
915
  tag: "style",
915
916
  attrs(e) {
916
917
  return (!e.lang || e.lang === "css" || e.lang === "scss") && (!e.type || /^(text\/)?(x-)?(stylesheet|css|scss)$/i.test(e.type));
917
918
  },
918
- parser: fe.parser
919
+ parser: de.parser
919
920
  }
920
- ], Pr = /*@__PURE__*/ ne.define({
921
+ ], Pr = /*@__PURE__*/ te.define({
921
922
  parser: /*@__PURE__*/ Or.configure({
922
923
  wrap: /*@__PURE__*/ Mr(Nr),
923
- props: [/*@__PURE__*/ i.add({
924
+ props: [/*@__PURE__*/ ie.add({
924
925
  Element: (e) => {
925
926
  let t = /^(\s*)(<\/)?/.exec(e.textAfter);
926
927
  return e.node.to <= e.pos + t[0].length ? e.continue() : e.lineIndent(e.node.from) + (t[2] ? 0 : e.unit);
@@ -949,7 +950,7 @@ var Nr = [
949
950
  }
950
951
  return t && !((n = t.lastChild) && (n.name === "CloseTag" || n.name === "SelfClosingTag")) ? e.lineIndent(t.from) + e.unit : null;
951
952
  }
952
- }), /*@__PURE__*/ ie.add({
953
+ }), /*@__PURE__*/ o.add({
953
954
  Block: (e) => {
954
955
  let t = `${e.name}Open`, n = `${e.name}Close`, r = e.firstChild, i = e.lastChild;
955
956
  return !r || r.name !== t ? null : {
@@ -973,13 +974,13 @@ var Nr = [
973
974
  } },
974
975
  indentOnInput: /^\s*((<\/\w+\W)|(\{:(else|then|catch))|(\{\/(if|each|await|key)))$/,
975
976
  wordChars: "-._",
976
- autocomplete: de
977
+ autocomplete: ue
977
978
  }
978
979
  });
979
980
  function Fr() {
980
- return new d(Pr, [
981
- g().support,
982
- pe().support,
981
+ return new l(Pr, [
982
+ p().support,
983
+ fe().support,
983
984
  Lr
984
985
  ]);
985
986
  }
@@ -988,37 +989,37 @@ function Ir(e, t, n = e.length) {
988
989
  let r = t.firstChild, i = r && (r.getChild("TagName") || r.getChild("ComponentName") || r.getChild("SvelteElementName"));
989
990
  return i ? e.sliceString(i.from, Math.min(i.to, n)) : "";
990
991
  }
991
- var Lr = /*@__PURE__*/ e.inputHandler.of((e, n, i, a) => {
992
- if (e.composing || e.state.readOnly || n != i || a != ">" && a != "/" || !Pr.isActiveAt(e.state, n, -1)) return !1;
993
- let { state: o } = e, s = o.changeByRange((n) => {
994
- let { head: i } = n, s = r(o).resolveInner(i, -1), c;
995
- if ((s.name === "TagName" || s.name === "ComponentName" || s.name === "SvelteElementName" || s.name === "StartTag") && (s = s.parent), a === ">" && s.name === "OpenTag") {
996
- if (s.parent?.lastChild?.name != "CloseTag" && (c = Ir(o.doc, s.parent, i))) {
997
- let n = e.state.doc.sliceString(i, i + 1) === ">", r = `${n ? "" : ">"}</${c}>`;
992
+ var Lr = /*@__PURE__*/ i.inputHandler.of((e, n, r, i) => {
993
+ if (e.composing || e.state.readOnly || n != r || i != ">" && i != "/" || !Pr.isActiveAt(e.state, n, -1)) return !1;
994
+ let { state: a } = e, o = a.changeByRange((n) => {
995
+ let { head: r } = n, o = t(a).resolveInner(r, -1), s;
996
+ if ((o.name === "TagName" || o.name === "ComponentName" || o.name === "SvelteElementName" || o.name === "StartTag") && (o = o.parent), i === ">" && o.name === "OpenTag") {
997
+ if (o.parent?.lastChild?.name != "CloseTag" && (s = Ir(a.doc, o.parent, r))) {
998
+ let t = e.state.doc.sliceString(r, r + 1) === ">", n = `${t ? "" : ">"}</${s}>`;
998
999
  return {
999
- range: t.cursor(i + 1),
1000
+ range: re.cursor(r + 1),
1000
1001
  changes: {
1001
- from: i + +!!n,
1002
- insert: r
1002
+ from: r + +!!t,
1003
+ insert: n
1003
1004
  }
1004
1005
  };
1005
1006
  }
1006
- } else if (a === "/" && s.name === "OpenTag") {
1007
- let n = s.parent, r = n?.parent;
1008
- if (n.from == i - 1 && r.lastChild?.name != "CloseTag" && (c = Ir(o.doc, r, i))) {
1009
- let n = e.state.doc.sliceString(i, i + 1) === ">", r = `/${c}${n ? "" : ">"}`, a = i + r.length + +!!n;
1007
+ } else if (i === "/" && o.name === "OpenTag") {
1008
+ let t = o.parent, n = t?.parent;
1009
+ if (t.from == r - 1 && n.lastChild?.name != "CloseTag" && (s = Ir(a.doc, n, r))) {
1010
+ let t = e.state.doc.sliceString(r, r + 1) === ">", n = `/${s}${t ? "" : ">"}`, i = r + n.length + +!!t;
1010
1011
  return {
1011
- range: t.cursor(a),
1012
+ range: re.cursor(i),
1012
1013
  changes: {
1013
- from: i,
1014
- insert: r
1014
+ from: r,
1015
+ insert: n
1015
1016
  }
1016
1017
  };
1017
1018
  }
1018
1019
  }
1019
1020
  return { range: n };
1020
1021
  });
1021
- return !s.changes.empty && (e.dispatch(s, {
1022
+ return !o.changes.empty && (e.dispatch(o, {
1022
1023
  userEvent: "input.type",
1023
1024
  scrollIntoView: !0
1024
1025
  }), !0);
@@ -1337,249 +1338,249 @@ var hi = {
1337
1338
  blockCommentEnd: "*/",
1338
1339
  lineComment: "//",
1339
1340
  tokenTable: {
1340
- functionName: /*@__PURE__*/ a.define(),
1341
- parameterValue: /*@__PURE__*/ a.define(),
1342
- addressFunction: /*@__PURE__*/ a.define(),
1343
- errorHandling: /*@__PURE__*/ a.define(),
1344
- contractRelated: /*@__PURE__*/ a.define(),
1345
- version: /*@__PURE__*/ a.define(),
1346
- etherUnit: /*@__PURE__*/ a.define(),
1347
- doc: /*@__PURE__*/ a.define(),
1348
- mathematicalAndCryptographic: /*@__PURE__*/ a.define(),
1349
- abi: /*@__PURE__*/ a.define()
1341
+ functionName: /*@__PURE__*/ n.define(),
1342
+ parameterValue: /*@__PURE__*/ n.define(),
1343
+ addressFunction: /*@__PURE__*/ n.define(),
1344
+ errorHandling: /*@__PURE__*/ n.define(),
1345
+ contractRelated: /*@__PURE__*/ n.define(),
1346
+ version: /*@__PURE__*/ n.define(),
1347
+ etherUnit: /*@__PURE__*/ n.define(),
1348
+ doc: /*@__PURE__*/ n.define(),
1349
+ mathematicalAndCryptographic: /*@__PURE__*/ n.define(),
1350
+ abi: /*@__PURE__*/ n.define()
1350
1351
  }
1351
- }, gi = /*@__PURE__*/ new d(/*@__PURE__*/ l.define(hi)), $ = {
1352
- 1: () => l.define(I),
1353
- 2: () => l.define(I),
1354
- 3: () => l.define(I),
1355
- 4: () => l.define(I),
1356
- "4th": () => l.define(D),
1357
- 5: () => l.define(I),
1358
- 6: () => l.define(I),
1359
- 7: () => l.define(I),
1360
- 8: () => l.define(I),
1361
- 9: () => l.define(I),
1362
- apl: () => l.define(Ee),
1363
- asc: () => l.define(De),
1364
- asn: () => l.define(Oe({})),
1365
- asn1: () => l.define(Oe({})),
1366
- b: () => l.define(ke),
1367
- bash: () => l.define(P),
1368
- bf: () => l.define(ke),
1369
- BUILD: () => _(),
1370
- bzl: () => _(),
1371
- c: () => y(),
1372
- "c++": () => y(),
1373
- cc: () => y(),
1374
- cfg: () => l.define(It),
1375
- cjs: () => g(),
1376
- cl: () => l.define(w),
1377
- clj: () => l.define(C),
1378
- cljc: () => l.define(C),
1379
- cljs: () => l.define(C),
1380
- cljx: () => l.define(C),
1381
- cmake: () => l.define(Re),
1382
- "cmake.in": () => l.define(Re),
1383
- cob: () => l.define(Ae),
1384
- coffee: () => l.define(ze),
1385
- cpp: () => y(),
1386
- cpy: () => l.define(Ae),
1387
- cql: () => p({ dialect: ue }),
1388
- cr: () => l.define(Ve),
1389
- cs: () => l.define(Ne),
1390
- css: () => pe(),
1391
- cts: () => g({ typescript: !0 }),
1392
- cxx: () => y(),
1393
- cyp: () => l.define(Be),
1394
- cypher: () => l.define(Be),
1395
- d: () => l.define(He),
1396
- dart: () => l.define(Fe),
1397
- diff: () => l.define(Ue),
1398
- dtd: () => l.define(We),
1399
- dyalog: () => l.define(Ee),
1400
- dyl: () => l.define(E),
1401
- dylan: () => l.define(E),
1402
- e: () => l.define(Ke),
1403
- ecl: () => l.define(Ge),
1404
- edn: () => l.define(C),
1405
- el: () => l.define(w),
1406
- elm: () => l.define(qe),
1407
- erl: () => l.define(Je),
1408
- f: () => l.define(O),
1409
- f77: () => l.define(O),
1410
- f90: () => l.define(O),
1411
- f95: () => l.define(O),
1412
- factor: () => l.define(Ye),
1413
- feature: () => l.define(Qe),
1414
- for: () => l.define(O),
1415
- forth: () => l.define(D),
1416
- fs: () => l.define(Xe),
1417
- fth: () => l.define(D),
1418
- fun: () => l.define(k),
1419
- go: () => _e(),
1420
- gradle: () => l.define($e),
1421
- groovy: () => l.define($e),
1422
- gss: () => l.define(Le),
1423
- h: () => y(),
1424
- "h++": () => y(),
1425
- handlebars: () => h(),
1426
- hbs: () => h(),
1427
- hh: () => y(),
1428
- hpp: () => y(),
1429
- hs: () => l.define(et),
1430
- htm: () => h(),
1431
- html: () => h(),
1432
- hx: () => l.define(nt),
1433
- hxml: () => l.define(tt),
1434
- hxx: () => y(),
1435
- in: () => l.define(N),
1436
- ini: () => l.define(N),
1437
- ino: () => y(),
1438
- intr: () => l.define(E),
1439
- j2: () => b(),
1440
- jade: () => l.define(bt),
1441
- java: () => ve(),
1442
- jinja: () => b(),
1443
- jinja2: () => b(),
1444
- jl: () => l.define(at),
1445
- js: () => g(),
1446
- json: () => ye(),
1447
- jsonld: () => l.define(it),
1448
- jsx: () => g({ jsx: !0 }),
1449
- ksh: () => l.define(P),
1450
- kt: () => l.define(Me),
1451
- kts: () => l.define(Me),
1452
- less: () => be(),
1453
- liquid: () => xe(),
1454
- lisp: () => l.define(w),
1455
- ls: () => l.define(ot),
1456
- ltx: () => l.define(v),
1457
- lua: () => l.define(st),
1458
- m: () => l.define(mt),
1459
- map: () => ye(),
1460
- markdown: () => m(),
1461
- mbox: () => l.define(dt),
1462
- md: () => m(),
1463
- mjs: () => g(),
1464
- mkd: () => m(),
1465
- ml: () => l.define(A),
1466
- mli: () => l.define(A),
1467
- mll: () => l.define(A),
1468
- mly: () => l.define(A),
1469
- mm: () => l.define(je),
1470
- mo: () => l.define(lt),
1471
- mps: () => l.define(ut),
1472
- mrc: () => l.define(ct),
1473
- msc: () => l.define(z),
1474
- mscgen: () => l.define(z),
1475
- mscin: () => l.define(z),
1476
- msgenny: () => l.define(Kt),
1477
- mts: () => g({ typescript: !0 }),
1478
- nb: () => l.define(j),
1479
- nix: () => fn(),
1480
- nq: () => l.define(pt),
1481
- nsh: () => l.define(ft),
1482
- nsi: () => l.define(ft),
1483
- nt: () => l.define(pt),
1484
- nut: () => l.define(Ie),
1485
- oz: () => l.define(ht),
1486
- p: () => l.define(gt),
1487
- pas: () => l.define(gt),
1488
- patch: () => l.define(Ue),
1489
- pgp: () => l.define(De),
1490
- php: () => x(),
1491
- php3: () => x(),
1492
- php4: () => x(),
1493
- php5: () => x(),
1494
- php7: () => x(),
1495
- phtml: () => x(),
1496
- pig: () => l.define(vt),
1497
- pl: () => l.define(_t),
1498
- pls: () => p({ dialect: ce }),
1499
- pm: () => l.define(_t),
1500
- pp: () => l.define(xt),
1501
- pro: () => l.define(rt),
1502
- properties: () => l.define(N),
1503
- proto: () => l.define(yt),
1504
- ps1: () => l.define(M),
1505
- psd1: () => l.define(M),
1506
- psm1: () => l.define(M),
1507
- pug: () => l.define(bt),
1508
- pxd: () => l.define(T),
1509
- pxi: () => l.define(T),
1510
- py: () => _(),
1511
- python: () => _(),
1512
- pyw: () => _(),
1513
- pyx: () => l.define(T),
1514
- q: () => l.define(St),
1515
- r: () => l.define(Ct),
1516
- R: () => l.define(Ct),
1517
- rb: () => l.define(Tt),
1518
- rq: () => l.define(At),
1519
- rs: () => Se(),
1520
- s: () => l.define(Ze),
1521
- sas: () => l.define(Et),
1522
- sass: () => Ce({ indented: !0 }),
1523
- scala: () => l.define(Pe),
1524
- scm: () => l.define(Dt),
1525
- scss: () => Ce(),
1526
- sh: () => l.define(P),
1527
- sieve: () => l.define(Ot),
1528
- sig: () => l.define(k),
1529
- siv: () => l.define(Ot),
1530
- smackspec: () => l.define(k),
1531
- sml: () => l.define(k),
1352
+ }, gi = /*@__PURE__*/ new l(/*@__PURE__*/ s.define(hi)), $ = {
1353
+ 1: () => s.define(P),
1354
+ 2: () => s.define(P),
1355
+ 3: () => s.define(P),
1356
+ 4: () => s.define(P),
1357
+ "4th": () => s.define(T),
1358
+ 5: () => s.define(P),
1359
+ 6: () => s.define(P),
1360
+ 7: () => s.define(P),
1361
+ 8: () => s.define(P),
1362
+ 9: () => s.define(P),
1363
+ apl: () => s.define(Oe),
1364
+ asc: () => s.define(ke),
1365
+ asn: () => s.define(Ae({})),
1366
+ asn1: () => s.define(Ae({})),
1367
+ b: () => s.define(je),
1368
+ bash: () => s.define(M),
1369
+ bf: () => s.define(je),
1370
+ BUILD: () => m(),
1371
+ bzl: () => m(),
1372
+ c: () => _(),
1373
+ "c++": () => _(),
1374
+ cc: () => _(),
1375
+ cfg: () => s.define(Rt),
1376
+ cjs: () => p(),
1377
+ cl: () => s.define(S),
1378
+ clj: () => s.define(x),
1379
+ cljc: () => s.define(x),
1380
+ cljs: () => s.define(x),
1381
+ cljx: () => s.define(x),
1382
+ cmake: () => s.define(Be),
1383
+ "cmake.in": () => s.define(Be),
1384
+ cob: () => s.define(Me),
1385
+ coffee: () => s.define(Ve),
1386
+ cpp: () => _(),
1387
+ cpy: () => s.define(Me),
1388
+ cql: () => g({ dialect: ve }),
1389
+ cr: () => s.define(Ue),
1390
+ cs: () => s.define(Fe),
1391
+ css: () => fe(),
1392
+ cts: () => p({ typescript: !0 }),
1393
+ cxx: () => _(),
1394
+ cyp: () => s.define(He),
1395
+ cypher: () => s.define(He),
1396
+ d: () => s.define(We),
1397
+ dart: () => s.define(Le),
1398
+ diff: () => s.define(Ge),
1399
+ dtd: () => s.define(Ke),
1400
+ dyalog: () => s.define(Oe),
1401
+ dyl: () => s.define(w),
1402
+ dylan: () => s.define(w),
1403
+ e: () => s.define(Je),
1404
+ ecl: () => s.define(qe),
1405
+ edn: () => s.define(x),
1406
+ el: () => s.define(S),
1407
+ elm: () => s.define(Ye),
1408
+ erl: () => s.define(Xe),
1409
+ f: () => s.define(E),
1410
+ f77: () => s.define(E),
1411
+ f90: () => s.define(E),
1412
+ f95: () => s.define(E),
1413
+ factor: () => s.define(Ze),
1414
+ feature: () => s.define(et),
1415
+ for: () => s.define(E),
1416
+ forth: () => s.define(T),
1417
+ fs: () => s.define(Qe),
1418
+ fth: () => s.define(T),
1419
+ fun: () => s.define(D),
1420
+ go: () => ye(),
1421
+ gradle: () => s.define(tt),
1422
+ groovy: () => s.define(tt),
1423
+ gss: () => s.define(ze),
1424
+ h: () => _(),
1425
+ "h++": () => _(),
1426
+ handlebars: () => f(),
1427
+ hbs: () => f(),
1428
+ hh: () => _(),
1429
+ hpp: () => _(),
1430
+ hs: () => s.define(nt),
1431
+ htm: () => f(),
1432
+ html: () => f(),
1433
+ hx: () => s.define(it),
1434
+ hxml: () => s.define(rt),
1435
+ hxx: () => _(),
1436
+ in: () => s.define(j),
1437
+ ini: () => s.define(j),
1438
+ ino: () => _(),
1439
+ intr: () => s.define(w),
1440
+ j2: () => v(),
1441
+ jade: () => s.define(St),
1442
+ java: () => be(),
1443
+ jinja: () => v(),
1444
+ jinja2: () => v(),
1445
+ jl: () => s.define(st),
1446
+ js: () => p(),
1447
+ json: () => xe(),
1448
+ jsonld: () => s.define(ot),
1449
+ jsx: () => p({ jsx: !0 }),
1450
+ ksh: () => s.define(M),
1451
+ kt: () => s.define(Pe),
1452
+ kts: () => s.define(Pe),
1453
+ less: () => Se(),
1454
+ liquid: () => Ce(),
1455
+ lisp: () => s.define(S),
1456
+ ls: () => s.define(ct),
1457
+ ltx: () => s.define(h),
1458
+ lua: () => s.define(lt),
1459
+ m: () => s.define(gt),
1460
+ map: () => xe(),
1461
+ markdown: () => u(),
1462
+ mbox: () => s.define(pt),
1463
+ md: () => u(),
1464
+ mjs: () => p(),
1465
+ mkd: () => u(),
1466
+ ml: () => s.define(O),
1467
+ mli: () => s.define(O),
1468
+ mll: () => s.define(O),
1469
+ mly: () => s.define(O),
1470
+ mm: () => s.define(Ne),
1471
+ mo: () => s.define(dt),
1472
+ mps: () => s.define(ft),
1473
+ mrc: () => s.define(ut),
1474
+ msc: () => s.define(L),
1475
+ mscgen: () => s.define(L),
1476
+ mscin: () => s.define(L),
1477
+ msgenny: () => s.define(Jt),
1478
+ mts: () => p({ typescript: !0 }),
1479
+ nb: () => s.define(k),
1480
+ nix: () => mn(),
1481
+ nq: () => s.define(ht),
1482
+ nsh: () => s.define(mt),
1483
+ nsi: () => s.define(mt),
1484
+ nt: () => s.define(ht),
1485
+ nut: () => s.define(Re),
1486
+ oz: () => s.define(_t),
1487
+ p: () => s.define(vt),
1488
+ pas: () => s.define(vt),
1489
+ patch: () => s.define(Ge),
1490
+ pgp: () => s.define(ke),
1491
+ php: () => y(),
1492
+ php3: () => y(),
1493
+ php4: () => y(),
1494
+ php5: () => y(),
1495
+ php7: () => y(),
1496
+ phtml: () => y(),
1497
+ pig: () => s.define(bt),
1498
+ pl: () => s.define(yt),
1499
+ pls: () => g({ dialect: ge }),
1500
+ pm: () => s.define(yt),
1501
+ pp: () => s.define(Ct),
1502
+ pro: () => s.define(at),
1503
+ properties: () => s.define(j),
1504
+ proto: () => s.define(xt),
1505
+ ps1: () => s.define(A),
1506
+ psd1: () => s.define(A),
1507
+ psm1: () => s.define(A),
1508
+ pug: () => s.define(St),
1509
+ pxd: () => s.define(C),
1510
+ pxi: () => s.define(C),
1511
+ py: () => m(),
1512
+ python: () => m(),
1513
+ pyw: () => m(),
1514
+ pyx: () => s.define(C),
1515
+ q: () => s.define(wt),
1516
+ r: () => s.define(Tt),
1517
+ R: () => s.define(Tt),
1518
+ rb: () => s.define(Dt),
1519
+ rq: () => s.define(Mt),
1520
+ rs: () => we(),
1521
+ s: () => s.define($e),
1522
+ sas: () => s.define(Ot),
1523
+ sass: () => Te({ indented: !0 }),
1524
+ scala: () => s.define(Ie),
1525
+ scm: () => s.define(kt),
1526
+ scss: () => Te(),
1527
+ sh: () => s.define(M),
1528
+ sieve: () => s.define(At),
1529
+ sig: () => s.define(D),
1530
+ siv: () => s.define(At),
1531
+ smackspec: () => s.define(D),
1532
+ sml: () => s.define(D),
1532
1533
  solidity: () => gi,
1533
- sparql: () => l.define(At),
1534
- spec: () => l.define(wt),
1535
- sql: () => p({ dialect: le }),
1536
- ss: () => l.define(Dt),
1537
- st: () => l.define(kt),
1538
- styl: () => l.define(jt),
1539
- sv: () => l.define(F),
1534
+ sparql: () => s.define(Mt),
1535
+ spec: () => s.define(Et),
1536
+ sql: () => g({ dialect: _e }),
1537
+ ss: () => s.define(kt),
1538
+ st: () => s.define(jt),
1539
+ styl: () => s.define(Nt),
1540
+ sv: () => s.define(N),
1540
1541
  svelte: () => Fr(),
1541
- svg: () => S(),
1542
- svh: () => l.define(F),
1543
- swift: () => l.define(Mt),
1544
- tcl: () => l.define(Nt),
1545
- tex: () => l.define(v),
1546
- text: () => l.define(v),
1547
- textile: () => l.define(Pt),
1548
- toml: () => l.define(Ft),
1549
- ts: () => g({ typescript: !0 }),
1550
- tsx: () => g({
1542
+ svg: () => b(),
1543
+ svh: () => s.define(N),
1544
+ swift: () => s.define(Pt),
1545
+ tcl: () => s.define(Ft),
1546
+ tex: () => s.define(h),
1547
+ text: () => s.define(h),
1548
+ textile: () => s.define(It),
1549
+ toml: () => s.define(Lt),
1550
+ ts: () => p({ typescript: !0 }),
1551
+ tsx: () => p({
1551
1552
  jsx: !0,
1552
1553
  typescript: !0
1553
1554
  }),
1554
- ttcn: () => l.define(L),
1555
- ttcn3: () => l.define(L),
1556
- ttcnpp: () => l.define(L),
1557
- ttl: () => l.define(Lt),
1558
- v: () => l.define(F),
1559
- vb: () => l.define(zt),
1560
- vbs: () => l.define(Bt),
1561
- vhd: () => l.define(Ht),
1562
- vhdl: () => l.define(Ht),
1563
- vtl: () => l.define(Vt),
1564
- vue: () => qt(),
1565
- wast: () => we(),
1566
- wat: () => we(),
1567
- webidl: () => l.define(Rt),
1568
- wl: () => l.define(j),
1569
- wls: () => l.define(j),
1570
- xml: () => S(),
1571
- xq: () => l.define(R),
1572
- xqm: () => l.define(R),
1573
- xquery: () => l.define(R),
1574
- xqy: () => l.define(R),
1575
- xsd: () => S(),
1576
- xsl: () => S(),
1577
- xu: () => l.define(Gt),
1578
- xy: () => l.define(R),
1579
- yaml: () => Te(),
1580
- yml: () => Te(),
1581
- ys: () => l.define(Ut),
1582
- z80: () => l.define(Wt)
1555
+ ttcn: () => s.define(F),
1556
+ ttcn3: () => s.define(F),
1557
+ ttcnpp: () => s.define(F),
1558
+ ttl: () => s.define(zt),
1559
+ v: () => s.define(N),
1560
+ vb: () => s.define(Vt),
1561
+ vbs: () => s.define(Ht),
1562
+ vhd: () => s.define(Wt),
1563
+ vhdl: () => s.define(Wt),
1564
+ vtl: () => s.define(Ut),
1565
+ vue: () => Yt(),
1566
+ wast: () => Ee(),
1567
+ wat: () => Ee(),
1568
+ webidl: () => s.define(Bt),
1569
+ wl: () => s.define(k),
1570
+ wls: () => s.define(k),
1571
+ xml: () => b(),
1572
+ xq: () => s.define(I),
1573
+ xqm: () => s.define(I),
1574
+ xquery: () => s.define(I),
1575
+ xqy: () => s.define(I),
1576
+ xsd: () => b(),
1577
+ xsl: () => b(),
1578
+ xu: () => s.define(qt),
1579
+ xy: () => s.define(I),
1580
+ yaml: () => De(),
1581
+ yml: () => De(),
1582
+ ys: () => s.define(Gt),
1583
+ z80: () => s.define(Kt)
1583
1584
  };
1584
1585
  Object.keys($);
1585
1586
  function _i(e) {