@datalayer/agent-runtimes 1.5.94 → 1.5.96

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 (359) hide show
  1. package/dist-embed/chunks/{AgentDetails-zWhn8VbU.js → AgentDetails-Bi0s0fAV.js} +4 -4
  2. package/dist-embed/chunks/{AgentDetailsDialog-BJ9tHQwo.js → AgentDetailsDialog-DcHJB-46.js} +1 -1
  3. package/dist-embed/chunks/{AgentInspector-BQfnFy0r.js → AgentInspector-BoLztEWM.js} +1 -1
  4. package/dist-embed/chunks/{AgentInspectorDialog-BiiiVFrn.js → AgentInspectorDialog-BQbJv6BQ.js} +1 -1
  5. package/dist-embed/chunks/{CellSidebarExtension-FjKdLUTo.js → CellSidebarExtension-I1K60vh4.js} +8 -8
  6. package/dist-embed/chunks/{ChatView-DcNJrPAa.js → ChatView-CS0QVQQ5.js} +1 -1
  7. package/dist-embed/chunks/{ContextPie-aeACuSE7.js → ContextPie-BlO8HMfv.js} +1 -1
  8. package/dist-embed/chunks/{DeckComponent-CUOfVxcw.js → DeckComponent-pNpyII0x.js} +2 -2
  9. package/dist-embed/chunks/{DocumentView-DWwnXQS6.js → DocumentView-DH3V3gQj.js} +1 -1
  10. package/dist-embed/chunks/{EphemeralDocument-BweYum6-.js → EphemeralDocument-MgLvMU4F.js} +1 -1
  11. package/dist-embed/chunks/{EphemeralNotebook-Dv3ooyEA.js → EphemeralNotebook-DRNUs2CY.js} +2 -2
  12. package/dist-embed/chunks/{ExcalidrawComponent-CA8OqyVA.js → ExcalidrawComponent-CFCkypGk.js} +1 -1
  13. package/dist-embed/chunks/{ExcalidrawModal-DQXmoNLV.js → ExcalidrawModal-Cb2Vho79.js} +1 -1
  14. package/dist-embed/chunks/{JupyterLexicalExtension-CqTlhiP6.js → JupyterLexicalExtension-IRPTy6fp.js} +9 -9
  15. package/dist-embed/chunks/{KernelVariables-C_f1RIys.js → KernelVariables-DKDFwfHn.js} +2 -2
  16. package/dist-embed/chunks/{LexicalToolRegistry-Cpg7_Rx1.js → LexicalToolRegistry-DSuihTus.js} +2 -2
  17. package/dist-embed/chunks/{NotebookSkeleton-b2FuNWEZ.js → NotebookSkeleton-D1ewE63E.js} +1 -1
  18. package/dist-embed/chunks/{NotebookToolSurfaces-DmXn7Kor.js → NotebookToolSurfaces-B04CoSFo.js} +1 -1
  19. package/dist-embed/chunks/{NotebookToolbar-emEpc3HB.js → NotebookToolbar-Ddg2JwS8.js} +1 -1
  20. package/dist-embed/chunks/{NotebookView-Bixz7_sD.js → NotebookView-D-Lsg7D7.js} +1 -1
  21. package/dist-embed/chunks/{Output-DQqgiXji.js → Output-nrXVDS-d.js} +1 -1
  22. package/dist-embed/chunks/{SandboxDetailsDialog-DYMkoPaQ.js → SandboxDetailsDialog-DMKJZFoP.js} +1 -1
  23. package/dist-embed/chunks/{SchemaForm-BJFajfde.js → SchemaForm-DZ0DKlG1.js} +1 -1
  24. package/dist-embed/chunks/{SheetTabs-PEVltw0u.js → SheetTabs-D6IAdDy0.js} +3 -3
  25. package/dist-embed/chunks/{SpreadsheetPreviewView-DD3QxWwS.js → SpreadsheetPreviewView-Dl3kr0Bb.js} +1 -1
  26. package/dist-embed/chunks/{SpreadsheetView-BO8hcxRz.js → SpreadsheetView-nspmk7vr.js} +1 -1
  27. package/dist-embed/chunks/{Toolbar-DmDwwFcU.js → Toolbar-BDrBbL69.js} +1 -1
  28. package/dist-embed/chunks/{WidgetVariableView-BUIkjdXe.js → WidgetVariableView-DQbR4tlr.js} +1 -1
  29. package/dist-embed/chunks/{YouTubePlugin-CzVIvki8.js → YouTubePlugin-Vcoo9cJt.js} +1 -1
  30. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-DJCY5YDG.js → abnfDiagram-VCTEODGH-BnR307LJ.js} +1 -1
  31. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-B_3Z10oX.js → abnfDiagram-VCTEODGH-CVbtYf4Z.js} +1 -1
  32. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-CtAR02W1.js → abnfDiagram-VCTEODGH-DMM-4z2i.js} +1 -1
  33. package/dist-embed/chunks/{ar-SA-G6X2FPQ2-BmTCZ5Mw.js → ar-SA-G6X2FPQ2-BSgmpt5-.js} +1 -1
  34. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DTH4cK6d.js → architectureDiagram-5GKGNRK7-Bt2FCLqZ.js} +1 -1
  35. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-BaXccVfI.js → architectureDiagram-5GKGNRK7-Dtz5vgdG.js} +1 -1
  36. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DRjjB28b.js → architectureDiagram-5GKGNRK7-ZkhoS04q.js} +1 -1
  37. package/dist-embed/chunks/{az-AZ-76LH7QW2-Bg2AsLUk.js → az-AZ-76LH7QW2-DdJYOut1.js} +1 -1
  38. package/dist-embed/chunks/{bg-BG-XCXSNQG7-DVQg12Gk.js → bg-BG-XCXSNQG7-CqyLLUxV.js} +1 -1
  39. package/dist-embed/chunks/{blockDiagram-868be97b-Cpnhv2XE.js → blockDiagram-868be97b-Coa_jxC5.js} +1 -1
  40. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-DJz-PaS1.js → blockDiagram-I7D4REHJ-DQ8iRsgf.js} +1 -1
  41. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-DUEdJIdt.js → blockDiagram-I7D4REHJ-DXMyZCA-.js} +1 -1
  42. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-Cxcbuqhe.js → blockDiagram-I7D4REHJ-G6aFEbTM.js} +1 -1
  43. package/dist-embed/chunks/{bn-BD-2XOGV67Q-CBXmr4Ua.js → bn-BD-2XOGV67Q-DkvkFbHE.js} +1 -1
  44. package/dist-embed/chunks/{c4Diagram-3f4bdde3-CSM7myPZ.js → c4Diagram-3f4bdde3-DrlpIJhH.js} +1 -1
  45. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-B1PU4a3-.js → c4Diagram-7LVT6UL2-BGIfXVGs.js} +1 -1
  46. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-CHsjn7C0.js → c4Diagram-7LVT6UL2-Cb_4lbrT.js} +1 -1
  47. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-DWNgu9wc.js → c4Diagram-7LVT6UL2-cpEH7bse.js} +1 -1
  48. package/dist-embed/chunks/{ca-ES-6MX7JW3Y-zD7sFb3S.js → ca-ES-6MX7JW3Y-BGbo8RKg.js} +1 -1
  49. package/dist-embed/chunks/{celltoolbartracker-CUVLSakK.js → celltoolbartracker-Cw0z7did.js} +1 -1
  50. package/dist-embed/chunks/{chunk-2Q5K7J3B-B0vEpe5p.js → chunk-2Q5K7J3B-Wncj3lvJ.js} +1 -1
  51. package/dist-embed/chunks/{chunk-2Q5K7J3B-BHPppWfi.js → chunk-2Q5K7J3B-hFGnBugV.js} +1 -1
  52. package/dist-embed/chunks/{chunk-2Q5K7J3B-ChHYQA8V.js → chunk-2Q5K7J3B-n5Wh4T7i.js} +1 -1
  53. package/dist-embed/chunks/{chunk-5VM5RSS4-CfhMD1Pr.js → chunk-5VM5RSS4-1iG33qxM.js} +1 -1
  54. package/dist-embed/chunks/{chunk-5VM5RSS4-CVX97Wzj.js → chunk-5VM5RSS4-BPZ17Fvc.js} +1 -1
  55. package/dist-embed/chunks/{chunk-5VM5RSS4-Ds64UIBJ.js → chunk-5VM5RSS4-C0qOJhaZ.js} +1 -1
  56. package/dist-embed/chunks/{chunk-F27PBJKO--dd6Raku.js → chunk-F27PBJKO-BZvchzhT.js} +1 -1
  57. package/dist-embed/chunks/{chunk-F27PBJKO-JXJC4xFQ.js → chunk-F27PBJKO-FQuOLMts.js} +1 -1
  58. package/dist-embed/chunks/{chunk-F27PBJKO-CsMm8LRY.js → chunk-F27PBJKO-gaxXTTyt.js} +1 -1
  59. package/dist-embed/chunks/{chunk-IMKFNOWR-ChIkVUNl.js → chunk-IMKFNOWR-Ah6SL0XE.js} +1 -1
  60. package/dist-embed/chunks/{chunk-IMKFNOWR-DnOFGl3o.js → chunk-IMKFNOWR-Ce8Jl1Cu.js} +1 -1
  61. package/dist-embed/chunks/{chunk-IMKFNOWR-BQr2SQ1D.js → chunk-IMKFNOWR-D6WqThtx.js} +1 -1
  62. package/dist-embed/chunks/{chunk-JWPE2WC7-IGZTfAqZ.js → chunk-JWPE2WC7-BiLuWg0V.js} +1 -1
  63. package/dist-embed/chunks/{chunk-JWPE2WC7-BP4iQz9X.js → chunk-JWPE2WC7-DjfDnLXf.js} +1 -1
  64. package/dist-embed/chunks/{chunk-JWPE2WC7-wWOspwt8.js → chunk-JWPE2WC7-WEMpWwN6.js} +1 -1
  65. package/dist-embed/chunks/{chunk-POPQ4Y6H-B62L0CKD.js → chunk-POPQ4Y6H-Ci1ORfKB.js} +1 -1
  66. package/dist-embed/chunks/{chunk-POPQ4Y6H-Bw3Acvcv.js → chunk-POPQ4Y6H-D1zcv3TO.js} +1 -1
  67. package/dist-embed/chunks/{chunk-POPQ4Y6H-Daj2aQX7.js → chunk-POPQ4Y6H-DGo-c1gA.js} +1 -1
  68. package/dist-embed/chunks/{chunk-SVP7TREG-DfE4zWGL.js → chunk-SVP7TREG-BNbFIqtk.js} +1 -1
  69. package/dist-embed/chunks/{chunk-SVP7TREG-BmzVOqOi.js → chunk-SVP7TREG-Dp25klfn.js} +1 -1
  70. package/dist-embed/chunks/{chunk-SVP7TREG-CsDJ43fo.js → chunk-SVP7TREG-Dw-r79VX.js} +1 -1
  71. package/dist-embed/chunks/{chunk-TICWLB2K-DNtjNDty.js → chunk-TICWLB2K-BGlpRZHG.js} +1 -1
  72. package/dist-embed/chunks/{chunk-TICWLB2K-D4Z6a5tZ.js → chunk-TICWLB2K-Cdu1LH0d.js} +1 -1
  73. package/dist-embed/chunks/{chunk-TICWLB2K-DqqbHq6H.js → chunk-TICWLB2K-mR6tLG7x.js} +1 -1
  74. package/dist-embed/chunks/{chunk-XXDRQBXY-8Iy52v96.js → chunk-XXDRQBXY-Frt_zuHl.js} +1 -1
  75. package/dist-embed/chunks/{chunk-XXDRQBXY-CgdyGwP0.js → chunk-XXDRQBXY-Qb6D0SQd.js} +1 -1
  76. package/dist-embed/chunks/{chunk-XXDRQBXY-IFnSvNyf.js → chunk-XXDRQBXY-THCdSzRs.js} +1 -1
  77. package/dist-embed/chunks/{classDiagram-ZZMXUADV-Cq0pfC8N.js → classDiagram-ZZMXUADV-DQkKVwjv.js} +1 -1
  78. package/dist-embed/chunks/{classDiagram-ZZMXUADV-BJGOVdtk.js → classDiagram-ZZMXUADV-DVQyGWdi.js} +1 -1
  79. package/dist-embed/chunks/{classDiagram-ZZMXUADV-BqJJaF-F.js → classDiagram-ZZMXUADV-MmqdRe8H.js} +1 -1
  80. package/dist-embed/chunks/{classDiagram-f62afe4f-DWWYXHVw.js → classDiagram-f62afe4f-D5_ocBdB.js} +1 -1
  81. package/dist-embed/chunks/{classDiagram-v2-604399ef-DDQJlSCd.js → classDiagram-v2-604399ef-DW4EPvpW.js} +1 -1
  82. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-Cq0pfC8N.js → classDiagram-v2-VYDZK3BY-DQkKVwjv.js} +1 -1
  83. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-BJGOVdtk.js → classDiagram-v2-VYDZK3BY-DVQyGWdi.js} +1 -1
  84. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-BqJJaF-F.js → classDiagram-v2-VYDZK3BY-MmqdRe8H.js} +1 -1
  85. package/dist-embed/chunks/{code-block-IT6T5CEO-BG9nTZfk.js → code-block-IT6T5CEO-JFor4YAD.js} +1 -1
  86. package/dist-embed/chunks/{component-B-Z2wxoX.js → component-C8C1Quml.js} +1 -1
  87. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-B9LR7A5e.js → cose-bilkent-JH36ORCC-BQyw1y1U.js} +1 -1
  88. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-DVbhW4d6.js → cose-bilkent-JH36ORCC-C_tMYGtf.js} +1 -1
  89. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-Bn_bUKxa.js → cose-bilkent-JH36ORCC-CsAENBdP.js} +1 -1
  90. package/dist-embed/chunks/{createText-aed3d8b3-DlE4oIZ9.js → createText-aed3d8b3-CMnWQblC.js} +1 -1
  91. package/dist-embed/chunks/{cs-CZ-2BRQDIVT-D45-n1qX.js → cs-CZ-2BRQDIVT-CDANWU11.js} +1 -1
  92. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-CKpvl-b4.js → cynefinDiagram-5FMLGOSQ-6YzZCz6x.js} +1 -1
  93. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-DFRNXRSb.js → cynefinDiagram-5FMLGOSQ-Cq4XKqVa.js} +1 -1
  94. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-Bml1hn2J.js → cynefinDiagram-5FMLGOSQ-DIkKdCg7.js} +1 -1
  95. package/dist-embed/chunks/{da-DK-5WZEPLOC-B2tW8S5P.js → da-DK-5WZEPLOC-DwmgcOxN.js} +1 -1
  96. package/dist-embed/chunks/{dagre-GXQ25YYZ-DRX7Xgxg.js → dagre-GXQ25YYZ-BkueS0KV.js} +1 -1
  97. package/dist-embed/chunks/{dagre-GXQ25YYZ-BR6LUNaJ.js → dagre-GXQ25YYZ-CPco-SxY.js} +1 -1
  98. package/dist-embed/chunks/{dagre-GXQ25YYZ-sw0dVYun.js → dagre-GXQ25YYZ-n9sjDOqg.js} +1 -1
  99. package/dist-embed/chunks/{de-DE-XR44H4JA-C0l4YWe4.js → de-DE-XR44H4JA-l2943EP0.js} +1 -1
  100. package/dist-embed/chunks/{diagram-S7CK7UJ4-DCht8UFm.js → diagram-S7CK7UJ4-CrcfBLvv.js} +1 -1
  101. package/dist-embed/chunks/{diagram-S7CK7UJ4-C7kqshyQ.js → diagram-S7CK7UJ4-DYtNkxjk.js} +1 -1
  102. package/dist-embed/chunks/{diagram-S7CK7UJ4-BwQD-PwU.js → diagram-S7CK7UJ4-jZdRq6wu.js} +1 -1
  103. package/dist-embed/chunks/{diagram-UQ7AKVKN-BmyN5XI8.js → diagram-UQ7AKVKN-B9ZTK0Te.js} +1 -1
  104. package/dist-embed/chunks/{diagram-UQ7AKVKN-BmTWzWzZ.js → diagram-UQ7AKVKN-BdRY39AK.js} +1 -1
  105. package/dist-embed/chunks/{diagram-UQ7AKVKN-BaBnGmVS.js → diagram-UQ7AKVKN-CAYDX7Bd.js} +1 -1
  106. package/dist-embed/chunks/{diagram-VSXAHHWV-DWCHK-43.js → diagram-VSXAHHWV-CcaaK20P.js} +1 -1
  107. package/dist-embed/chunks/{diagram-VSXAHHWV-DVYBtYtK.js → diagram-VSXAHHWV-CxMii8H2.js} +1 -1
  108. package/dist-embed/chunks/{diagram-VSXAHHWV-BzDVUwzb.js → diagram-VSXAHHWV-Dt-I1eKY.js} +1 -1
  109. package/dist-embed/chunks/{diagram-VX7I27RA-DZw1ijDZ.js → diagram-VX7I27RA-D8bhlh3r.js} +1 -1
  110. package/dist-embed/chunks/{diagram-VX7I27RA-BIn5zbHp.js → diagram-VX7I27RA-DcbG7Tne.js} +1 -1
  111. package/dist-embed/chunks/{diagram-VX7I27RA-D_ubgMFK.js → diagram-VX7I27RA-DwX1uaCx.js} +1 -1
  112. package/dist-embed/chunks/{diagram-Z3DM3KII-DV4GXIB9.js → diagram-Z3DM3KII-C9dar5bS.js} +1 -1
  113. package/dist-embed/chunks/{diagram-Z3DM3KII-dMZ7Fpuw.js → diagram-Z3DM3KII-CeM42DVq.js} +1 -1
  114. package/dist-embed/chunks/{diagram-Z3DM3KII-C4EhNhYj.js → diagram-Z3DM3KII-fyF7IFt-.js} +1 -1
  115. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-DGE5iEf-.js → ebnfDiagram-PWID7BFC-B0F4iy5P.js} +1 -1
  116. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-BX3-evby.js → ebnfDiagram-PWID7BFC-COj5ulCD.js} +1 -1
  117. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-CT2xQQba.js → ebnfDiagram-PWID7BFC-Df0coz-U.js} +1 -1
  118. package/dist-embed/chunks/{edges-b2856ca0-0fbzACg6.js → edges-b2856ca0-ZiofUaoz.js} +1 -1
  119. package/dist-embed/chunks/{el-GR-BZB4AONW-B_YulamW.js → el-GR-BZB4AONW-Csfuo4E5.js} +1 -1
  120. package/dist-embed/chunks/{erDiagram-5d81789a-DXW16wCs.js → erDiagram-5d81789a-RepZY3NM.js} +1 -1
  121. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-C2Zh71Nb.js → erDiagram-RLTQ6QDP-B5eHyTSb.js} +1 -1
  122. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-Bru5UKrT.js → erDiagram-RLTQ6QDP-BulLtxKT.js} +1 -1
  123. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BzECyujy.js → erDiagram-RLTQ6QDP-CdBi4-uF.js} +1 -1
  124. package/dist-embed/chunks/{es-ES-U4NZUMDT-guNHUX4D.js → es-ES-U4NZUMDT-Barmg8lW.js} +1 -1
  125. package/dist-embed/chunks/{eu-ES-A7QVB2H4-BLG84_zR.js → eu-ES-A7QVB2H4-bSfPMjGm.js} +1 -1
  126. package/dist-embed/chunks/{fa-IR-HGAKTJCU-BtJ9p_Hg.js → fa-IR-HGAKTJCU-9wWNbyPp.js} +1 -1
  127. package/dist-embed/chunks/{fi-FI-Z5N7JZ37-CBa7Oegw.js → fi-FI-Z5N7JZ37-BwYpCx0e.js} +1 -1
  128. package/dist-embed/chunks/{flowDb-185abca5-5lj6SWgz.js → flowDb-185abca5-DjN9NKb1.js} +1 -1
  129. package/dist-embed/chunks/{flowDiagram-1629c991-DGzm4nlk.js → flowDiagram-1629c991-BvOM7G2N.js} +1 -1
  130. package/dist-embed/chunks/{flowDiagram-HODETNUW-DRH2E3xm.js → flowDiagram-HODETNUW-3KNlQIm_.js} +1 -1
  131. package/dist-embed/chunks/{flowDiagram-HODETNUW-DXQP-if5.js → flowDiagram-HODETNUW-BCEPp4ad.js} +1 -1
  132. package/dist-embed/chunks/{flowDiagram-HODETNUW-BjYGpRc0.js → flowDiagram-HODETNUW-CXD13cZH.js} +1 -1
  133. package/dist-embed/chunks/{flowDiagram-v2-1d953310-B4d06-22.js → flowDiagram-v2-1d953310-DhnQn8Nr.js} +1 -1
  134. package/dist-embed/chunks/{flowchart-elk-definition-6df44142-Bc6Dt1HZ.js → flowchart-elk-definition-6df44142-BqgdASPv.js} +1 -1
  135. package/dist-embed/chunks/{fr-FR-RHASNOE6-SpBaTvic.js → fr-FR-RHASNOE6-BDJ0uslp.js} +1 -1
  136. package/dist-embed/chunks/{ganttDiagram-3b0b3873-p5V6eFY7.js → ganttDiagram-3b0b3873-qKAuWTsd.js} +1 -1
  137. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Bpn47wNG.js → ganttDiagram-EL5Y4UJY-CI7N1FH6.js} +1 -1
  138. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-D4tDthvl.js → ganttDiagram-EL5Y4UJY-Dk94wE3f.js} +1 -1
  139. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-B4P4PMdh.js → ganttDiagram-EL5Y4UJY-dHpetUk-.js} +1 -1
  140. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-wYIzu2Xn.js → gitGraphDiagram-WWUBYQGX-2qOrIdt0.js} +1 -1
  141. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-aPF9w3Ye.js → gitGraphDiagram-WWUBYQGX-BODb2uT3.js} +1 -1
  142. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-DCycanv0.js → gitGraphDiagram-WWUBYQGX-D57Klnd8.js} +1 -1
  143. package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-Be27j7Xc.js → gitGraphDiagram-f01e8bc2-CB6fU3iE.js} +1 -1
  144. package/dist-embed/chunks/{gl-ES-HMX3MZ6V-C_CVQKTZ.js → gl-ES-HMX3MZ6V-Jphst371.js} +1 -1
  145. package/dist-embed/chunks/{he-IL-6SHJWFNN-CdeB6V7Y.js → he-IL-6SHJWFNN-Dq3r101K.js} +1 -1
  146. package/dist-embed/chunks/{hi-IN-IWLTKZ5I-CV6PUMLG.js → hi-IN-IWLTKZ5I-8B89dnMh.js} +1 -1
  147. package/dist-embed/chunks/{hu-HU-A5ZG7DT2-B8zqWAqi.js → hu-HU-A5ZG7DT2-CW5VclQQ.js} +1 -1
  148. package/dist-embed/chunks/{id-ID-SAP4L64H-BGEGnVxZ.js → id-ID-SAP4L64H-glKtNYpe.js} +1 -1
  149. package/dist-embed/chunks/{index-B1gxsONw.js → index-23xUfUK3.js} +1 -1
  150. package/dist-embed/chunks/{index-9bae90f3-kp9m9pOo.js → index-9bae90f3-CNczxBwD.js} +1 -1
  151. package/dist-embed/chunks/{index-vP7XtLT3.js → index-B1hVcCeL.js} +4 -4
  152. package/dist-embed/chunks/{index-DeyObBPy.js → index-B5Ar2C76.js} +1 -1
  153. package/dist-embed/chunks/{index-Dd3vBS-q.js → index-B5qB2n6R.js} +1 -1
  154. package/dist-embed/chunks/{index-CPwLAUDD.js → index-B6pSvSsm.js} +4 -4
  155. package/dist-embed/chunks/{index-CdapZifU.js → index-BDTquNK1.js} +1 -1
  156. package/dist-embed/chunks/{index-cHhthoh9.js → index-BEHCLH59.js} +1 -1
  157. package/dist-embed/chunks/{index-Dd5YgCU7.js → index-BFH1nmiJ.js} +1 -1
  158. package/dist-embed/chunks/{index-4t0OAxoh.js → index-BHHOSjZo.js} +2 -2
  159. package/dist-embed/chunks/{index-D-cPydK0.js → index-BM2hYh8Q.js} +1 -1
  160. package/dist-embed/chunks/{index-CJ9gXzDP.js → index-BW_-m6b-.js} +1 -1
  161. package/dist-embed/chunks/{index-D2QeDbAK.js → index-BWuVbZWH.js} +2 -2
  162. package/dist-embed/chunks/{index-DSw0yPWI.js → index-BgxqJ9_L.js} +1 -1
  163. package/dist-embed/chunks/{index-C7nrczhK.js → index-Bq90Fbc4.js} +1 -1
  164. package/dist-embed/chunks/{index-CBSdkrZu.js → index-BuNU8ABo.js} +1 -1
  165. package/dist-embed/chunks/{index-Dxmji156.js → index-C66Vbs6F.js} +1 -1
  166. package/dist-embed/chunks/{index-C8fVAzpb.js → index-CTr6-SsV.js} +1 -1
  167. package/dist-embed/chunks/{index-DbGATA2k.js → index-CYAoF-g4.js} +1 -1
  168. package/dist-embed/chunks/{index-DsioLFJS.js → index-CYUvojfN.js} +2 -2
  169. package/dist-embed/chunks/{index-DtlCGyVw.js → index-CZGjZxFf.js} +1 -1
  170. package/dist-embed/chunks/{index-Cc3y4dMQ.js → index-CgItmZMM.js} +4 -4
  171. package/dist-embed/chunks/{index-CWieStDj.js → index-CkFaHglB.js} +4 -4
  172. package/dist-embed/chunks/{index-B9zmTK3l.js → index-CnIHrGr-.js} +1 -1
  173. package/dist-embed/chunks/{index-Bzz7SUQ8.js → index-CtOE7MGN.js} +6 -6
  174. package/dist-embed/chunks/{index-DTYRIj8A.js → index-D3C4W1e1.js} +1 -1
  175. package/dist-embed/chunks/{index-xsqU1Upe.js → index-DIaoQxKH.js} +1 -1
  176. package/dist-embed/chunks/{index-Cq5HA4MJ.js → index-DKiNGAN5.js} +1 -1
  177. package/dist-embed/chunks/{index-aWBgejNs.js → index-DPr4u5vQ.js} +2 -2
  178. package/dist-embed/chunks/{index-Fh2BKjEJ.js → index-DckpK9sw.js} +1 -1
  179. package/dist-embed/chunks/{index-CCvelf1K.js → index-DtDFBOl9.js} +1 -1
  180. package/dist-embed/chunks/{index-Bh8xHTp_.js → index-H4p_UVsf.js} +5 -5
  181. package/dist-embed/chunks/{index-B-0wzsZj.js → index-kIY4bTgE.js} +1 -1
  182. package/dist-embed/chunks/{index-CQPzQ05p.js → index-nOhqCuwU.js} +4 -4
  183. package/dist-embed/chunks/{index-DGx1w2FG.js → index-w0c9DMN0.js} +1 -1
  184. package/dist-embed/chunks/{index-oh85LAjq.js → index-xmcTHVsH.js} +14 -14
  185. package/dist-embed/chunks/{index-MbAP6rXZ.js → index-zYmeKXxb.js} +1 -1
  186. package/dist-embed/chunks/{index.esm-LnnLBihr.js → index.esm-CWcjqNjR.js} +1 -1
  187. package/dist-embed/chunks/{index.esm-xikWUBGf.js → index.esm-zOy6kFPv.js} +1 -1
  188. package/dist-embed/chunks/{infoDiagram-27XIBGKW-06T_Gyg3.js → infoDiagram-27XIBGKW-CF4qMRpl.js} +1 -1
  189. package/dist-embed/chunks/{infoDiagram-27XIBGKW-BTgF7bPF.js → infoDiagram-27XIBGKW-drOzO4SB.js} +1 -1
  190. package/dist-embed/chunks/{infoDiagram-27XIBGKW-D-ROTMNL.js → infoDiagram-27XIBGKW-wn3LxC14.js} +1 -1
  191. package/dist-embed/chunks/{infoDiagram-a29d40f1-BWkxuHa5.js → infoDiagram-a29d40f1-REMs6KOr.js} +1 -1
  192. package/dist-embed/chunks/{isEqual-DitljbGA.js → isEqual-zPmcQAke.js} +1 -1
  193. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-itmt4k-4.js → ishikawaDiagram-5VMMS53U-atVe3g88.js} +1 -1
  194. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-Bjxh2IeU.js → ishikawaDiagram-5VMMS53U-g9P7XeQ7.js} +1 -1
  195. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-CyQlbAkf.js → ishikawaDiagram-5VMMS53U-ykVOWtHE.js} +1 -1
  196. package/dist-embed/chunks/{it-IT-JPQ66NNP-BuDOnC-Y.js → it-IT-JPQ66NNP-B-ahG0CB.js} +1 -1
  197. package/dist-embed/chunks/{ja-JP-DBVTYXUO-ZiJPJg_x.js → ja-JP-DBVTYXUO-5JyLIwOs.js} +1 -1
  198. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-B_i8vEMe.js → journeyDiagram-3NMN7TZE-BMXUCxse.js} +1 -1
  199. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-C4oK4cQV.js → journeyDiagram-3NMN7TZE-Bjti-927.js} +1 -1
  200. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-DjbHb60A.js → journeyDiagram-3NMN7TZE-DUyUItoc.js} +1 -1
  201. package/dist-embed/chunks/{journeyDiagram-95396277-NGLK0sv9.js → journeyDiagram-95396277-B9L_UQQW.js} +1 -1
  202. package/dist-embed/chunks/{kaa-6HZHGXH3-B05Co2_0.js → kaa-6HZHGXH3-BIVYWYQP.js} +1 -1
  203. package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-BFWwUTFX.js → kab-KAB-ZGHBKWFO-DVL8cRgk.js} +1 -1
  204. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-CQHol1Ib.js → kanban-definition-UXKFOSKX-BcbVekZs.js} +1 -1
  205. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-7MVHSdeg.js → kanban-definition-UXKFOSKX-ClVtSIhc.js} +1 -1
  206. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-Ctj8o_cm.js → kanban-definition-UXKFOSKX-CmWGlZ0H.js} +1 -1
  207. package/dist-embed/chunks/{kk-KZ-P5N5QNE5-DqqZtsBn.js → kk-KZ-P5N5QNE5-KOEMwerS.js} +1 -1
  208. package/dist-embed/chunks/{km-KH-HSX4SM5Z-tXdj73d6.js → km-KH-HSX4SM5Z-CDH3ezLN.js} +1 -1
  209. package/dist-embed/chunks/{ko-KR-MTYHY66A-ZzVvd33o.js → ko-KR-MTYHY66A-Bmb-D285.js} +1 -1
  210. package/dist-embed/chunks/{ku-TR-6OUDTVRD-Cmo7xpcx.js → ku-TR-6OUDTVRD-BuhkTBbp.js} +1 -1
  211. package/dist-embed/chunks/{layout-CMavZfEN.js → layout-CIqBEWvO.js} +1 -1
  212. package/dist-embed/chunks/{layout-CVXurUAo.js → layout-DAiowMz2.js} +1 -1
  213. package/dist-embed/chunks/{layout-D6vp03y-.js → layout-LTmWPIeE.js} +1 -1
  214. package/dist-embed/chunks/{lexicalHooks-DY7QAcah.js → lexicalHooks-CKdIdyZ8.js} +1 -1
  215. package/dist-embed/chunks/{lt-LT-XHIRWOB4-xELzKp5t.js → lt-LT-XHIRWOB4-584bUjqP.js} +1 -1
  216. package/dist-embed/chunks/{lv-LV-5QDEKY6T-BzJDkdYT.js → lv-LV-5QDEKY6T-CkTBsD-R.js} +1 -1
  217. package/dist-embed/chunks/{mermaid.core-DoHaKouU.js → mermaid.core-CIytoWBO.js} +3 -3
  218. package/dist-embed/chunks/{mermaid.core-BrTwjZHj.js → mermaid.core-RXtCLUM0.js} +5 -5
  219. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-DJKalBH_.js → mindmap-definition-YA3MSWOX-B11GPGu3.js} +1 -1
  220. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-oSF-ay7t.js → mindmap-definition-YA3MSWOX-CGIHCY64.js} +1 -1
  221. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-C1GAPhx9.js → mindmap-definition-YA3MSWOX-MoPLOrcw.js} +1 -1
  222. package/dist-embed/chunks/{mindmap-definition-e4c1d938-pfMk2crv.js → mindmap-definition-e4c1d938-D_grZmp7.js} +1 -1
  223. package/dist-embed/chunks/{mr-IN-CRQNXWMA-CjOV2Fgl.js → mr-IN-CRQNXWMA-0Xba6kSJ.js} +1 -1
  224. package/dist-embed/chunks/{my-MM-5M5IBNSE-Cu1gYEx6.js → my-MM-5M5IBNSE-B09FZKSd.js} +1 -1
  225. package/dist-embed/chunks/{nb-NO-T6EIAALU-BEvsHGE0.js → nb-NO-T6EIAALU-BpCjfVUo.js} +1 -1
  226. package/dist-embed/chunks/{nl-NL-IS3SIHDZ-DKA6CYS6.js → nl-NL-IS3SIHDZ-IMA72Wj7.js} +1 -1
  227. package/dist-embed/chunks/{nn-NO-6E72VCQL-CAxiSlw0.js → nn-NO-6E72VCQL-BvFt5eEP.js} +1 -1
  228. package/dist-embed/chunks/{oc-FR-POXYY2M6-Cnw3_UEL.js → oc-FR-POXYY2M6-QMGUoXMd.js} +1 -1
  229. package/dist-embed/chunks/{pa-IN-N4M65BXN-B95dVQXb.js → pa-IN-N4M65BXN-a8dOum4D.js} +1 -1
  230. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-snSGi40-.js → pegDiagram-XKGWAZYB-CXd1v4RS.js} +1 -1
  231. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-C4BPuZD3.js → pegDiagram-XKGWAZYB-DTT8e_Vu.js} +1 -1
  232. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-Daqlobjl.js → pegDiagram-XKGWAZYB-DkCI0q8Y.js} +1 -1
  233. package/dist-embed/chunks/{percentages-BXMCSKIN-B0ORTdXz.js → percentages-BXMCSKIN-Ck3DaSng.js} +6 -6
  234. package/dist-embed/chunks/{pica-D5t8EAkp.js → pica-io9rFAcX.js} +1 -1
  235. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-CbUWXjCK.js → pieDiagram-E7YTZNPT-2Glo3MKw.js} +1 -1
  236. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-BDGAjNk2.js → pieDiagram-E7YTZNPT-B4P8wCma.js} +1 -1
  237. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-X2wS3_bC.js → pieDiagram-E7YTZNPT-D6zxicZn.js} +1 -1
  238. package/dist-embed/chunks/{pieDiagram-c941bede-BItRZOJx.js → pieDiagram-c941bede-Cqi77jMu.js} +1 -1
  239. package/dist-embed/chunks/{pl-PL-T2D74RX3-CBpTbSVL.js → pl-PL-T2D74RX3-BS06UMKK.js} +1 -1
  240. package/dist-embed/chunks/{plugin-BH7Rtuwm.js → plugin-DE0vZ9p3.js} +1 -1
  241. package/dist-embed/chunks/{plugin-B3LgqnRn.js → plugin-ihQPqJPB.js} +1 -1
  242. package/dist-embed/chunks/portable-DeuNvN1G.js +1 -0
  243. package/dist-embed/chunks/{pt-BR-5N22H2LF-CddNlro1.js → pt-BR-5N22H2LF-BIO1KViR.js} +1 -1
  244. package/dist-embed/chunks/{pt-PT-UZXXM6DQ-BBP4-9-R.js → pt-PT-UZXXM6DQ-BZuZ9OiO.js} +1 -1
  245. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-Ca20yCfd.js → quadrantDiagram-AXDQQJYC-C_CEGa46.js} +1 -1
  246. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DPM18rUD.js → quadrantDiagram-AXDQQJYC-DSBKUuiq.js} +1 -1
  247. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-B-lUCUO_.js → quadrantDiagram-AXDQQJYC-xiPOrF1K.js} +1 -1
  248. package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-CNyFHMHt.js → quadrantDiagram-cf8b8fe0-BMOuDGDF.js} +1 -1
  249. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-1C5f6wZm.js → railroadDiagram-O6MQD6OU-BgrbSE40.js} +1 -1
  250. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-DgZE9w0R.js → railroadDiagram-O6MQD6OU-CSD5KLnV.js} +1 -1
  251. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-UAOTUQFl.js → railroadDiagram-O6MQD6OU-DjTUEumb.js} +1 -1
  252. package/dist-embed/chunks/{renderer-DgyUd7NL.js → renderer-BU04-DkJ.js} +1 -1
  253. package/dist-embed/chunks/{requirementDiagram-53bda41b-B9QIXB-0.js → requirementDiagram-53bda41b-DKlphVxw.js} +1 -1
  254. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-u5T3XPNu.js → requirementDiagram-BXWQKSXE-BXaCAhpq.js} +1 -1
  255. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-B8vOAmrx.js → requirementDiagram-BXWQKSXE-CnRk1roG.js} +1 -1
  256. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-Ce83Z3oz.js → requirementDiagram-BXWQKSXE-DMdw9yP9.js} +1 -1
  257. package/dist-embed/chunks/{ro-RO-JPDTUUEW-BHCc25-Q.js → ro-RO-JPDTUUEW-Cr8vd9Pv.js} +1 -1
  258. package/dist-embed/chunks/{ru-RU-B4JR7IUQ-D0Fd3ren.js → ru-RU-B4JR7IUQ-Dht1kDyT.js} +1 -1
  259. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-DE-aB_Xz.js → sankeyDiagram-P5KCCOFB-BS7hu1AF.js} +1 -1
  260. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-C1mHPY7k.js → sankeyDiagram-P5KCCOFB-CzrCH920.js} +1 -1
  261. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-BPeSLev7.js → sankeyDiagram-P5KCCOFB-okgEVTpa.js} +1 -1
  262. package/dist-embed/chunks/{sankeyDiagram-c3ef121a-CnWhSjKH.js → sankeyDiagram-c3ef121a-Dg6SbJjG.js} +1 -1
  263. package/dist-embed/chunks/{sequenceDiagram-82a5b84f-CTQ0WQxj.js → sequenceDiagram-82a5b84f-DE09oDEu.js} +1 -1
  264. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-IgZn-nni.js → sequenceDiagram-WJ2MYXX4-Bb3A79mo.js} +1 -1
  265. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-DsWgJxIQ.js → sequenceDiagram-WJ2MYXX4-C7v6HXxx.js} +1 -1
  266. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-DfGaDzPn.js → sequenceDiagram-WJ2MYXX4-CtR3Mxli.js} +1 -1
  267. package/dist-embed/chunks/{sessions-jGahwF6o.js → sessions-CnTFUfGi.js} +1 -1
  268. package/dist-embed/chunks/{si-LK-N5RQ5JYF-CkzbO-53.js → si-LK-N5RQ5JYF-B2xq7Zbi.js} +1 -1
  269. package/dist-embed/chunks/{sizeCapture-INFHLROL-B3GqP69B.js → sizeCapture-INFHLROL-CU32UBMk.js} +1 -1
  270. package/dist-embed/chunks/{sizeCapture-INFHLROL-VNiMzW-9.js → sizeCapture-INFHLROL-D5hzqzwD.js} +1 -1
  271. package/dist-embed/chunks/{sizeCapture-INFHLROL-CDhcfQR9.js → sizeCapture-INFHLROL-TdDsBg4W.js} +1 -1
  272. package/dist-embed/chunks/{sk-SK-C5VTKIMK-DgdXop0H.js → sk-SK-C5VTKIMK-Sw5YFSH1.js} +1 -1
  273. package/dist-embed/chunks/{sl-SI-NN7IZMDC-BMzYr7mj.js → sl-SI-NN7IZMDC-DZin2Uyg.js} +1 -1
  274. package/dist-embed/chunks/{stateDiagram-43e79a5f-yo7m95H6.js → stateDiagram-43e79a5f-uKY_K58g.js} +1 -1
  275. package/dist-embed/chunks/{stateDiagram-D77RDMKH-C2ft8KQa.js → stateDiagram-D77RDMKH-CY5udAKA.js} +1 -1
  276. package/dist-embed/chunks/{stateDiagram-D77RDMKH-CQHhs9El.js → stateDiagram-D77RDMKH-Cd_HasWU.js} +1 -1
  277. package/dist-embed/chunks/{stateDiagram-D77RDMKH-w3LtGTs_.js → stateDiagram-D77RDMKH-mOMKyP5U.js} +1 -1
  278. package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-BWbH2lJG.js → stateDiagram-v2-2041ed4f-Cz97TKZ0.js} +1 -1
  279. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-IyUF4GcX.js → stateDiagram-v2-MP3YSRHH-2ASMATIX.js} +1 -1
  280. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-BWh1UldZ.js → stateDiagram-v2-MP3YSRHH-BJVCwCLk.js} +1 -1
  281. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-DOnaFq36.js → stateDiagram-v2-MP3YSRHH-hXyOMGYK.js} +1 -1
  282. package/dist-embed/chunks/{styles-455b33cd-B3UABG-p.js → styles-455b33cd-QxOIl59n.js} +1 -1
  283. package/dist-embed/chunks/{styles-f932cba9-CSFx2lve.js → styles-f932cba9-CRW7ybKl.js} +1 -1
  284. package/dist-embed/chunks/{styles-fcc2142b-COoZpTHz.js → styles-fcc2142b-lNkMjC8Z.js} +1 -1
  285. package/dist-embed/chunks/{subset-shared.chunk-BV_IsKIh.js → subset-shared.chunk-C8kMR6Ea.js} +1 -1
  286. package/dist-embed/chunks/{subset-worker.chunk-DOQj3F8p.js → subset-worker.chunk-BeXpWPn3.js} +1 -1
  287. package/dist-embed/chunks/{sv-SE-XGPEYMSR-DbCiTLoB.js → sv-SE-XGPEYMSR-XX8MI0nA.js} +1 -1
  288. package/dist-embed/chunks/{svgDrawCommon-148a3cd9-DPsjuono.js → svgDrawCommon-148a3cd9-DrX92bA5.js} +1 -1
  289. package/dist-embed/chunks/{swimlanes-42K2YHIH-BuZNdiWN.js → swimlanes-42K2YHIH-0MJvexik.js} +1 -1
  290. package/dist-embed/chunks/{swimlanes-42K2YHIH-BVp5t5cb.js → swimlanes-42K2YHIH-BUwYYg5o.js} +1 -1
  291. package/dist-embed/chunks/{swimlanes-42K2YHIH-DALRvUJV.js → swimlanes-42K2YHIH-CmWAxVZ_.js} +1 -1
  292. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BOs_rwH9.js → swimlanesDiagram-VR7AAH4N-BuFLmgBx.js} +1 -1
  293. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-Cq4Txw-s.js → swimlanesDiagram-VR7AAH4N-DwTgKjIi.js} +1 -1
  294. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-DKdPzO9j.js → swimlanesDiagram-VR7AAH4N-vzU4YzHa.js} +1 -1
  295. package/dist-embed/chunks/{ta-IN-2NMHFXQM-CXc4mXhz.js → ta-IN-2NMHFXQM-Cm2c3FMf.js} +1 -1
  296. package/dist-embed/chunks/{th-TH-HPSO5L25-BT_dDTtq.js → th-TH-HPSO5L25-DD76ndfY.js} +1 -1
  297. package/dist-embed/chunks/{timeline-definition-24CTP7MA-s7PWneCh.js → timeline-definition-24CTP7MA-DxAxZYKP.js} +1 -1
  298. package/dist-embed/chunks/{timeline-definition-24CTP7MA-MzC7WabN.js → timeline-definition-24CTP7MA-SfVzoC7E.js} +1 -1
  299. package/dist-embed/chunks/{timeline-definition-24CTP7MA-BayCBe0U.js → timeline-definition-24CTP7MA-a0E0wu89.js} +1 -1
  300. package/dist-embed/chunks/{timeline-definition-7545f45a-CvG64YlJ.js → timeline-definition-7545f45a-CqsiZe-C.js} +1 -1
  301. package/dist-embed/chunks/{tr-TR-DEFEU3FU-cY-BrOYD.js → tr-TR-DEFEU3FU-CkX69g80.js} +1 -1
  302. package/dist-embed/chunks/{uk-UA-QMV73CPH-Rc2Y0Ge7.js → uk-UA-QMV73CPH-DILlpWB0.js} +1 -1
  303. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-BJQtpN9d.js → vennDiagram-4TSXK5OY-BDOrQK88.js} +1 -1
  304. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-BAHHfe64.js → vennDiagram-4TSXK5OY-BxUbBn7b.js} +1 -1
  305. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-BK8QiwTB.js → vennDiagram-4TSXK5OY-C8SwZKm-.js} +1 -1
  306. package/dist-embed/chunks/{vi-VN-M7AON7JQ-CxcPrWvC.js → vi-VN-M7AON7JQ-D0REMGYG.js} +1 -1
  307. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-DYAhYSyu.js → wardleyDiagram-VM6X3IG4-BZssbJ10.js} +1 -1
  308. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-Pv8X1wgF.js → wardleyDiagram-VM6X3IG4-DQI20vwb.js} +1 -1
  309. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CFNgnKTi.js → wardleyDiagram-VM6X3IG4-DY5BAim8.js} +1 -1
  310. package/dist-embed/chunks/{xychartDiagram-3f383b91-DaQk0skw.js → xychartDiagram-3f383b91-DnD8gcm_.js} +1 -1
  311. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-iMYvupUx.js → xychartDiagram-S5SC5T6Z-BO4MDqrK.js} +1 -1
  312. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-BtjF1Dxw.js → xychartDiagram-S5SC5T6Z-CDXKKZoM.js} +1 -1
  313. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-FKExWp2n.js → xychartDiagram-S5SC5T6Z-DfsjHT0Y.js} +1 -1
  314. package/dist-embed/chunks/{zh-CN-LNUGB5OW-Bpd1cqNl.js → zh-CN-LNUGB5OW-BmSYUWcq.js} +1 -1
  315. package/dist-embed/chunks/{zh-HK-E62DVLB3-LKyAMUX_.js → zh-HK-E62DVLB3-BqISOUKV.js} +1 -1
  316. package/dist-embed/chunks/{zh-TW-RAJ6MFWO-z36Cw8j8.js → zh-TW-RAJ6MFWO-DACyIjvO.js} +1 -1
  317. package/dist-embed/datalayer-app-main.js +71 -71
  318. package/lib/chat/assistant/orbCharacters.d.ts +5 -0
  319. package/lib/chat/assistant/orbCharacters.js +5 -1
  320. package/lib/components/inspector/a2aSpans.d.ts +7 -0
  321. package/lib/components/inspector/a2aSpans.js +34 -2
  322. package/lib/components/inspector/agentSpans.d.ts +1 -1
  323. package/lib/components/inspector/agentSpans.js +1 -0
  324. package/lib/components/teams/A2ATeamGraph.d.ts +11 -3
  325. package/lib/components/teams/A2ATeamGraph.js +27 -6
  326. package/lib/components/teams/backdrops/catalogue.d.ts +2 -2
  327. package/lib/components/teams/backdrops/catalogue.js +11 -1
  328. package/lib/components/teams/backdrops/hero.js +24 -3
  329. package/lib/components/teams/backdrops/index.d.ts +2 -2
  330. package/lib/components/teams/backdrops/index.js +5 -1
  331. package/lib/components/teams/backdrops/minimal.d.ts +14 -0
  332. package/lib/components/teams/backdrops/minimal.js +163 -0
  333. package/lib/components/teams/backdrops/nodes.d.ts +19 -10
  334. package/lib/components/teams/backdrops/nodes.js +85 -50
  335. package/lib/components/teams/backdrops/orb.d.ts +10 -0
  336. package/lib/components/teams/backdrops/orb.js +134 -0
  337. package/lib/components/teams/backdrops/plain.js +2 -1
  338. package/lib/components/teams/backdrops/space.d.ts +13 -2
  339. package/lib/components/teams/backdrops/space.js +44 -33
  340. package/lib/components/teams/backdrops/types.d.ts +17 -4
  341. package/lib/components/teams/sceneStage.d.ts +6 -0
  342. package/lib/components/teams/sceneStage.js +9 -0
  343. package/lib/examples/AgentA2ATeamExample.js +3 -1
  344. package/lib/examples/ScenesExample.js +4 -2
  345. package/lib/specs/agents/agents.js +168 -168
  346. package/lib/specs/apps.js +1 -1
  347. package/lib/specs/cogs.js +3 -3
  348. package/lib/specs/ops.js +1 -1
  349. package/lib/specs/sceneRecordings.js +132 -0
  350. package/lib/specs/sceneSchema.js +2 -2
  351. package/lib/specs/scenes.js +26 -0
  352. package/lib/specs/teams/teams.js +16 -16
  353. package/lib/types/agentspecs.d.ts +1 -1
  354. package/lib/types/scenes.d.ts +4 -2
  355. package/lib/types/teams.d.ts +1 -1
  356. package/package.json +2 -2
  357. package/scripts/codegen/generate_sandbox_agents.py +1 -1
  358. package/scripts/codegen/generate_teams.py +2 -2
  359. package/dist-embed/chunks/portable-CiQthkEs.js +0 -1
@@ -1 +1 @@
1
- import{eJ as s,eK as a,eL as m}from"../datalayer-app-main.js";import{eM as b,eN as E,eO as _,eP as T,eQ as K,eR as M,eS as Y,eT as j,eU as q}from"../datalayer-app-main.js";import{organizationStore as D,runStore as I,surveysStore as J,teamStore as N,useOrganizationStore as O,useRunStore as z,useSurveysStore as C,useTeamStore as U}from"./index-DGx1w2FG.js";const u=s((e,o)=>({cell:void 0,create:t=>e(r=>({cell:t})),update:t=>e(r=>({cell:t?{...r.cell,...t}:void 0}))}));function g(e){return a(u,e)}const n=s((e,o)=>({documentSaveRequest:void 0,save:t=>e(r=>({documentSaveRequest:t}))}));function A(e){return a(n,e)}const S=s((e,o)=>({gradeRequest:void 0,grade:t=>e(r=>({gradeRequest:t}))}));function f(e){return a(S,e)}const c=s((e,o)=>({saveRequest:{counter:-1},save:t=>e(r=>({saveRequest:t}))}));function l(e){return a(c,e)}const i=s((e,o)=>({jupyterLabAdapter:void 0,setJupyterLabAdapter:t=>e(r=>({jupyterLabAdapter:t})),plugin:t=>o().jupyterLabAdapter?.plugin(t)}));function v(e){return a(i,e)}const p=s((e,o)=>({spaces:[],updateSpaces:t=>e(r=>({spaces:t}))}));function y(e){return a(p,e)}export{b as DATALAYER_IAM_TOKEN_KEY,E as DATALAYER_IAM_USER_KEY,u as cellStore,_ as coreStore,n as documentStore,S as gradeStore,T as iamStore,i as jupyterLabStore,K as layoutStore,c as nbformatStore,D as organizationStore,I as runStore,m as runtimesStore,p as spaceStore,J as surveysStore,N as teamStore,g as useCellStore,M as useCoreStore,A as useDocumentStore,f as useGradeStore,Y as useIAMStore,v as useJupyterLabStore,j as useLayoutStore,l as useNbformatStore,O as useOrganizationStore,z as useRunStore,q as useRuntimesStore,y as useSpaceStore,C as useSurveysStore,U as useTeamStore};
1
+ import{eM as s,eN as a,eO as m}from"../datalayer-app-main.js";import{eP as b,eQ as E,eR as _,eS as T,eT as M,eU as Y,eV as j,eW as q,eX as x}from"../datalayer-app-main.js";import{organizationStore as I,runStore as K,surveysStore as N,teamStore as O,useOrganizationStore as z,useRunStore as C,useSurveysStore as J,useTeamStore as U}from"./index-w0c9DMN0.js";const u=s((e,o)=>({cell:void 0,create:t=>e(r=>({cell:t})),update:t=>e(r=>({cell:t?{...r.cell,...t}:void 0}))}));function g(e){return a(u,e)}const n=s((e,o)=>({documentSaveRequest:void 0,save:t=>e(r=>({documentSaveRequest:t}))}));function A(e){return a(n,e)}const S=s((e,o)=>({gradeRequest:void 0,grade:t=>e(r=>({gradeRequest:t}))}));function f(e){return a(S,e)}const c=s((e,o)=>({saveRequest:{counter:-1},save:t=>e(r=>({saveRequest:t}))}));function l(e){return a(c,e)}const i=s((e,o)=>({jupyterLabAdapter:void 0,setJupyterLabAdapter:t=>e(r=>({jupyterLabAdapter:t})),plugin:t=>o().jupyterLabAdapter?.plugin(t)}));function v(e){return a(i,e)}const p=s((e,o)=>({spaces:[],updateSpaces:t=>e(r=>({spaces:t}))}));function y(e){return a(p,e)}export{b as DATALAYER_IAM_TOKEN_KEY,E as DATALAYER_IAM_USER_KEY,u as cellStore,_ as coreStore,n as documentStore,S as gradeStore,T as iamStore,i as jupyterLabStore,M as layoutStore,c as nbformatStore,I as organizationStore,K as runStore,m as runtimesStore,p as spaceStore,N as surveysStore,O as teamStore,g as useCellStore,Y as useCoreStore,A as useDocumentStore,f as useGradeStore,j as useIAMStore,v as useJupyterLabStore,q as useLayoutStore,l as useNbformatStore,z as useOrganizationStore,C as useRunStore,x as useRuntimesStore,y as useSpaceStore,J as useSurveysStore,U as useTeamStore};
@@ -1,4 +1,4 @@
1
- import{iL as ge,iM as oe,iN as H,iO as fe,iP as be,iQ as ne,iR as ve,iS as se,iT as ie,iU as b,iV as V,iW as C,iX as xe,iY as ye,iZ as Ce,i_ as $e,i$ as Te,j0 as we,j1 as _e,j2 as Ie,j3 as je,j4 as ke,j5 as Fe,j6 as P,j7 as U,j8 as q,j9 as Se,ja as G,jb as J,jc as R,jd as K,je as X,jf as O,jg as Ee,jh as Ne,ji as I,jj as Oe,jk as He,jl as y,jm as Z,jn as Ae,jo as Be,jp as j,jq as Ve,jr as De,js as Me,jt as Pe,ju as ae,jv as k,jw as Le,jx as p,jy as Re,jz as le,jA as re,jB as We,r as h,jC as Q,jD as A,J as de,jE as ce,co as ze,bf as Ue,aA as qe,ay as Ge,dX as he,aC as Je,jF as Ke,aD as Xe,cm as Ze,jG as Qe,jH as Ye,jI as et,jJ as tt,ey as Y,aI as ot,du as nt,jK as st}from"../datalayer-app-main.js";import{S as it,f as at,c as lt,M as rt}from"./index-4t0OAxoh.js";import{I as dt}from"./tokens-DY_UrMLq.js";import"./Output-DQqgiXji.js";import"./index-Bh8xHTp_.js";import"./hoverbox-CStlKQWE.js";import"./index-DsioLFJS.js";import"./index-xsqU1Upe.js";import"./color-CG7_7V2-.js";import"./isEqual-DitljbGA.js";import"./defaultLocale-5voVPcsN.js";import"./index-BrUAt6vF.js";import"./KebabHorizontalIcon-D6AY8pIS.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./index-DYBgss-E.js";import"./RestartIcon-Ca6_HoK0.js";import"./CellSidebarExtension-FjKdLUTo.js";import"./NotebookSkeleton-b2FuNWEZ.js";import"./Avatar-DvWrRG_3.js";import"./renderer-DgyUd7NL.js";import"./SquareIcon-Dy3l3VdH.js";import"./FileDirectoryOpenFillIcon-jGhuRcP3.js";import"./url-C6fJII94.js";/* empty css *//* empty css */import"./index-Dro44tIm.js";/* empty css */import"./index-DsG9xhMj.js";/* empty css */import"./index-CNU-WVhQ.js";import"./index--OLIX362.js";import"./index-DYGslHkf.js";import"./index-BSRVX3UN.js";import"./index-BH2OX5l8.js";import"./index-C3vDfO5_.js";import"./index-Ko8lxXFd.js";import"./index-CB9u17_J.js";import"./index-BUVtc_FV.js";import"./ArrowLeftIcon-sX3iNMG1.js";import"./SkubbleIcon-tlg17jBG.js";import"./usePrimerThemeBridge-DyX4EYyN.js";import"./index-CCvelf1K.js";import"./KernelVariables-C_f1RIys.js";import"./index-C0d-d3s4.js";import"./SortAscIcon-CmH04s3F.js";import"./SortDescIcon-Qif6E10I.js";import"./NotebookToolbar-emEpc3HB.js";import"./RepoPushIcon-BtXQRhLa.js";import"./Toolbar-DmDwwFcU.js";import"./sessions-jGahwF6o.js";import"./tokens-CBhRbpQP.js";import"./drivecontents-D1HzL7Fi.js";import"./kernel-BmfZmtIo.js";const ue=o=>typeof o=="function",ct=()=>null;function ee(o){return o===void 0?ct:ue(o)?o:()=>o}function te(o,t,e){const n=ue(o)?o:()=>o,d=ee(t),m=ee(e);return(r,l)=>n(r,l)?d(r,l):m(r,l)}const ht=(o,t)=>H`
1
+ import{iO as ge,iP as oe,iQ as H,iR as fe,iS as be,iT as ne,iU as ve,iV as se,iW as ie,iX as b,iY as V,iZ as C,i_ as xe,i$ as ye,j0 as Ce,j1 as $e,j2 as Te,j3 as we,j4 as _e,j5 as Ie,j6 as je,j7 as ke,j8 as Fe,j9 as P,ja as U,jb as q,jc as Se,jd as G,je as J,jf as R,jg as K,jh as Z,ji as O,jj as Ee,jk as Ne,jl as I,jm as Oe,jn as He,jo as y,jp as Q,jq as Ae,jr as Be,js as j,jt as Ve,ju as De,jv as Me,jw as Pe,jx as ae,jy as k,jz as Le,jA as p,jB as Re,jC as le,jD as re,jE as We,r as h,jF as X,jG as A,J as de,jH as ce,co as ze,bf as Ue,aA as qe,ay as Ge,d_ as he,aC as Je,jI as Ke,aD as Ze,cm as Qe,jJ as Xe,jK as Ye,jL as et,jM as tt,eB as Y,aI as ot,dx as nt,jN as st}from"../datalayer-app-main.js";import{S as it,f as at,c as lt,M as rt}from"./index-BHHOSjZo.js";import{I as dt}from"./tokens-DY_UrMLq.js";import"./Output-nrXVDS-d.js";import"./index-H4p_UVsf.js";import"./hoverbox-CStlKQWE.js";import"./index-CYUvojfN.js";import"./index-DIaoQxKH.js";import"./color-CG7_7V2-.js";import"./isEqual-zPmcQAke.js";import"./defaultLocale-5voVPcsN.js";import"./index-BrUAt6vF.js";import"./KebabHorizontalIcon-D6AY8pIS.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./index-DYBgss-E.js";import"./RestartIcon-Ca6_HoK0.js";import"./CellSidebarExtension-I1K60vh4.js";import"./NotebookSkeleton-D1ewE63E.js";import"./Avatar-DvWrRG_3.js";import"./renderer-BU04-DkJ.js";import"./SquareIcon-Dy3l3VdH.js";import"./FileDirectoryOpenFillIcon-jGhuRcP3.js";import"./url-C6fJII94.js";/* empty css *//* empty css */import"./index-Dro44tIm.js";/* empty css */import"./index-DsG9xhMj.js";/* empty css */import"./index-CNU-WVhQ.js";import"./index--OLIX362.js";import"./index-DYGslHkf.js";import"./index-BSRVX3UN.js";import"./index-BH2OX5l8.js";import"./index-C3vDfO5_.js";import"./index-Ko8lxXFd.js";import"./index-CB9u17_J.js";import"./index-BUVtc_FV.js";import"./ArrowLeftIcon-sX3iNMG1.js";import"./SkubbleIcon-tlg17jBG.js";import"./usePrimerThemeBridge-DyX4EYyN.js";import"./index-DtDFBOl9.js";import"./KernelVariables-DKDFwfHn.js";import"./index-C0d-d3s4.js";import"./SortAscIcon-CmH04s3F.js";import"./SortDescIcon-Qif6E10I.js";import"./NotebookToolbar-Ddg2JwS8.js";import"./RepoPushIcon-BtXQRhLa.js";import"./Toolbar-BDrBbL69.js";import"./sessions-CnTFUfGi.js";import"./tokens-CBhRbpQP.js";import"./drivecontents-D1HzL7Fi.js";import"./kernel-BmfZmtIo.js";const ue=o=>typeof o=="function",ct=()=>null;function ee(o){return o===void 0?ct:ue(o)?o:()=>o}function te(o,t,e){const n=ue(o)?o:()=>o,d=ee(t),m=ee(e);return(r,l)=>n(r,l)?d(r,l):m(r,l)}const ht=(o,t)=>H`
2
2
  <template
3
3
  role="treeitem"
4
4
  slot="${e=>e.isNestedItem()?"item":void 0}"
@@ -139,7 +139,7 @@ import{iL as ge,iM as oe,iN as H,iO as fe,iP as be,iQ as ne,iR as ve,iS as se,iT
139
139
  box-sizing: border-box;
140
140
  background: ${q};
141
141
  border: transparent calc(${K} * 1px) solid;
142
- border-radius: calc(${X} * 1px);
142
+ border-radius: calc(${Z} * 1px);
143
143
  height: calc((${O} + 1) * 1px);
144
144
  }
145
145
 
@@ -216,8 +216,8 @@ import{iL as ge,iM as oe,iN as H,iO as fe,iP as be,iQ as ne,iR as ve,iS as se,iT
216
216
 
217
217
  /* Something like that would do if the typography is adaptive
218
218
  font-size: inherit;
219
- width: ${Z};
220
- height: ${Z};
219
+ width: ${Q};
220
+ height: ${Q};
221
221
  */
222
222
  }
223
223
 
@@ -282,7 +282,7 @@ import{iL as ge,iM as oe,iN as H,iO as fe,iP as be,iQ as ne,iR as ve,iS as se,iT
282
282
  for this control. We currently have no way of changing that, so setting to
283
283
  accent-foreground-rest for the time being */
284
284
  background: ${Pe};
285
- border-radius: calc(${X} * 1px);
285
+ border-radius: calc(${Z} * 1px);
286
286
  content: '';
287
287
  display: block;
288
288
  position: absolute;
@@ -385,6 +385,6 @@ import{iL as ge,iM as oe,iN as H,iO as fe,iP as be,iQ as ne,iR as ve,iS as se,iT
385
385
  :host:focus-visible {
386
386
  outline: none;
387
387
  }
388
- `;class Tt extends F{handleClick(t){if(t.defaultPrevented)return;if(!(t.target instanceof Element))return!0;let e=t.target;for(;e&&!v(e);)e=e.parentElement,e===this&&(e=null);e&&!e.disabled&&(e.selected=!0)}}const wt=Tt.compose({baseName:"tree-view",baseClass:F,template:ut,styles:$t});ce().register(Ct());const _t=h.forwardRef((o,t)=>{const e=h.useRef(null),{className:n,expanded:d,selected:m,disabled:r,...l}=o;Q(e,"expanded-change",o.onExpand),Q(e,"selected-change",o.onSelect),A(e,"expanded",o.expanded),A(e,"selected",o.selected),A(e,"disabled",o.disabled),h.useImperativeHandle(t,()=>e.current,[e.current]);let s=n??"";return e.current?.nested&&(s+=" nested"),de.createElement("jp-tree-item",{ref:e,...l,class:s.trim(),exportparts:o.exportparts,for:o.htmlFor,part:o.part,tabindex:o.tabIndex,style:{...o.style}},o.children)});ce().register(wt());const It=h.forwardRef((o,t)=>{const e=h.useRef(null),{className:n,renderCollapsedNodes:d,currentSelected:m,...r}=o;return h.useLayoutEffect(()=>{e.current?.setItems()},[e.current]),A(e,"currentSelected",o.currentSelected),h.useImperativeHandle(t,()=>e.current,[e.current]),de.createElement("jp-tree-view",{ref:e,...r,class:o.className,exportparts:o.exportparts,for:o.htmlFor,part:o.part,tabindex:o.tabIndex,"render-collapsed-nodes":o.renderCollapsedNodes?"":void 0,style:{...o.style}},o.children)});class jt extends h.PureComponent{render(){const{children:t,isActive:e,heading:n,onCollapse:d,onMouseDown:m}=this.props,r=l=>{!l.defaultPrevented&&l.target.expanded!==!n.collapsed&&(l.preventDefault(),d(n))};return h.createElement(_t,{className:"jp-tocItem jp-TreeItem nested",selected:e,expanded:!n.collapsed,onExpand:r,onMouseDown:l=>{l.defaultPrevented||(l.preventDefault(),m(n))},onKeyUp:l=>{!l.defaultPrevented&&l.key==="Enter"&&!e&&(l.preventDefault(),m(n))}},h.createElement("div",{className:"jp-tocItem-heading"},h.createElement("span",{className:"jp-tocItem-content",title:n.text,...n.dataset},n.prefix,n.text)),t)}}class kt extends h.PureComponent{render(){const{documentType:t}=this.props;return h.createElement(It,{className:"jp-TableOfContents-content jp-TreeView","data-document-type":t},this.buildTree())}buildTree(){if(this.props.headings.length===0)return[];const t=d=>{const m=this.props.headings,r=new Array,l=m[d];let s=d+1;for(;s<m.length&&!(m[s].level<=l.level);){const[T,E]=t(s);r.push(T),s=E}return[h.createElement(jt,{key:`${l.level}-${d}-${l.text}`,isActive:!!this.props.activeHeading&&l===this.props.activeHeading,heading:l,onMouseDown:this.props.setActiveHeading,onCollapse:this.props.onCollapseChange},r.length?r:null),s]},e=new Array;let n=0;for(;n<this.props.headings.length;){const[d,m]=t(n);e.push(d),n=m}return e}}class Ft extends ze{constructor(t){super(t.model),this._placeholderHeadline=t.placeholderHeadline,this._placeholderText=t.placeholderText}render(){return!this.model||this.model.headings.length===0?h.createElement("div",{className:"jp-TableOfContents-placeholder"},h.createElement("div",{className:"jp-TableOfContents-placeholderContent"},h.createElement("h3",null,this._placeholderHeadline),h.createElement("p",null,this._placeholderText))):h.createElement(kt,{activeHeading:this.model.activeHeading,documentType:this.model.documentType,headings:this.model.headings,onCollapseChange:t=>{this.model.toggleCollapse({heading:t})},setActiveHeading:t=>{this.model.setActiveHeading(t)}})}}class St extends it{constructor(t){super({content:new Ue,translator:t}),this._model=null,this.addClass("jp-TableOfContents"),this._title=new L.Header(this._trans.__("Table of Contents")),this.header.addWidget(this._title),this._treeview=new Ft({placeholderHeadline:this._trans.__("No Headings"),placeholderText:this._trans.__("The table of contents shows headings in notebooks and supported files.")}),this._treeview.addClass("jp-TableOfContents-tree"),this.content.addWidget(this._treeview)}get model(){return this._model}set model(t){var e,n;this._model!==t&&((e=this._model)===null||e===void 0||e.stateChanged.disconnect(this._onTitleChanged,this),this._model=t,this._model&&(this._model.isActive=this.isVisible),(n=this._model)===null||n===void 0||n.stateChanged.connect(this._onTitleChanged,this),this._onTitleChanged(),this._treeview.model=this._model)}onAfterHide(t){super.onAfterHide(t),this._model&&(this._model.isActive=!1)}onBeforeShow(t){super.onBeforeShow(t),this._model&&(this._model.isActive=!0)}_onTitleChanged(){var t,e;this._title.setTitle((e=(t=this._model)===null||t===void 0?void 0:t.title)!==null&&e!==void 0?e:this._trans.__("Table of Contents"))}}var L;(function(o){class t extends qe{constructor(n){const d=document.createElement("h2");d.textContent=n,d.classList.add("jp-text-truncated"),super({node:d}),this._title=d}setTitle(n){this._title.textContent=n}}o.Header=t})(L||(L={}));class Et{constructor(){this._generators=new Map,this._idCounter=0}getModel(t,e){for(const n of this._generators.values())if(n.isApplicable(t))return n.createNew(t,e)}getToolbarItems(t){for(const e of this._generators.values())if(e.isApplicable(t)){if(e.getToolbarItems)return e.getToolbarItems(t);break}}add(t){const e=this._idCounter++;return this._generators.set(e,t),new Ge(()=>{this._generators.delete(e)})}}class Nt{constructor(){this.modelMapping=new WeakMap}add(t,e){this.modelMapping.set(t,e)}get(t){const e=this.modelMapping.get(t);return!e||e.isDisposed?null:e}}var g;(function(o){o.displayNumbering="toc:display-numbering",o.displayH1Numbering="toc:display-h1-numbering",o.displayOutputNumbering="toc:display-outputs-numbering",o.showPanel="toc:show-panel",o.toggleCollapse="toc:toggle-collapse"})(g||(g={}));var B;(function(o){o.collapseAll="collapse-all"})(B||(B={}));async function Ot(o,t,e,n,d,m){const r=(e??Xe).load("jupyterlab");let l={...Ze.defaultConfig};const s=new St(e??void 0);s.title.icon=Qe,s.title.dataset={...s.title.dataset,jpTabLabel:r.__("Table of Contents")},s.title.caption=r.__("Table of Contents"),s.id="table-of-contents",s.node.setAttribute("role","region"),s.node.setAttribute("aria-label",r.__("Table of Contents section")),o.commands.addCommand(g.displayH1Numbering,{label:r.__("Show first-level heading number"),execute:()=>{s.model&&s.model.setConfiguration({numberingH1:!s.model.configuration.numberingH1})},isEnabled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.supportedOptions.includes("numberingH1"))!==null&&a!==void 0?a:!1},isToggled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.configuration.numberingH1)!==null&&a!==void 0?a:!1},describedBy:{args:{type:"object",properties:{}}}}),o.commands.addCommand(g.displayNumbering,{label:r.__("Show heading number in the document"),icon:i=>i.toolbar?Ye:void 0,execute:()=>{s.model&&(s.model.setConfiguration({numberHeaders:!s.model.configuration.numberHeaders}),o.commands.notifyCommandChanged(g.displayNumbering))},isEnabled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.supportedOptions.includes("numberHeaders"))!==null&&a!==void 0?a:!1},isToggled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.configuration.numberHeaders)!==null&&a!==void 0?a:!1},describedBy:{args:{type:"object",properties:{toolbar:{type:"boolean",description:r.__("Whether the command is called from toolbar")}}}}}),o.commands.addCommand(g.displayOutputNumbering,{label:r.__("Show output headings"),execute:()=>{s.model&&s.model.setConfiguration({includeOutput:!s.model.configuration.includeOutput})},isEnabled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.supportedOptions.includes("includeOutput"))!==null&&a!==void 0?a:!1},isToggled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.configuration.includeOutput)!==null&&a!==void 0?a:!1},describedBy:{args:{type:"object",properties:{}}}}),o.commands.addCommand(g.showPanel,{label:r.__("Table of Contents"),execute:()=>{o.shell.activateById(s.id)},describedBy:{args:{type:"object",properties:{}}}});function S(i){return i.headings.some(a=>{var f;return!((f=a.collapsed)!==null&&f!==void 0&&f)})}o.commands.addCommand(g.toggleCollapse,{label:()=>s.model&&!S(s.model)?r.__("Expand All Headings"):r.__("Collapse All Headings"),icon:i=>i.toolbar?s.model&&!S(s.model)?et:tt:void 0,execute:()=>{s.model&&(S(s.model)?s.model.toggleCollapse({collapsed:!0}):s.model.toggleCollapse({collapsed:!1}))},isEnabled:()=>s.model!==null,describedBy:{args:{type:"object",properties:{toolbar:{type:"boolean",description:r.__("Whether the command is called from toolbar")}}}}});const $=new Nt;n&&n.add(s,"@jupyterlab/toc:plugin");let T;if(m)try{T=await m.load(pe.id);const i=a=>{const f=a.composite;for(const u of[...Object.keys(l)]){const x=f[u];x!==void 0&&(l[u]=x)}if(d)for(const u of d.widgets("main")){const x=$.get(u);x&&x.setConfiguration(l)}else if(o.shell.currentWidget){const u=$.get(o.shell.currentWidget);u&&u.setConfiguration(l)}};T&&(T.changed.connect(i),i(T))}catch(i){console.error(`Failed to load settings for the Table of Contents extension.
388
+ `;class Tt extends F{handleClick(t){if(t.defaultPrevented)return;if(!(t.target instanceof Element))return!0;let e=t.target;for(;e&&!v(e);)e=e.parentElement,e===this&&(e=null);e&&!e.disabled&&(e.selected=!0)}}const wt=Tt.compose({baseName:"tree-view",baseClass:F,template:ut,styles:$t});ce().register(Ct());const _t=h.forwardRef((o,t)=>{const e=h.useRef(null),{className:n,expanded:d,selected:m,disabled:r,...l}=o;X(e,"expanded-change",o.onExpand),X(e,"selected-change",o.onSelect),A(e,"expanded",o.expanded),A(e,"selected",o.selected),A(e,"disabled",o.disabled),h.useImperativeHandle(t,()=>e.current,[e.current]);let s=n??"";return e.current?.nested&&(s+=" nested"),de.createElement("jp-tree-item",{ref:e,...l,class:s.trim(),exportparts:o.exportparts,for:o.htmlFor,part:o.part,tabindex:o.tabIndex,style:{...o.style}},o.children)});ce().register(wt());const It=h.forwardRef((o,t)=>{const e=h.useRef(null),{className:n,renderCollapsedNodes:d,currentSelected:m,...r}=o;return h.useLayoutEffect(()=>{e.current?.setItems()},[e.current]),A(e,"currentSelected",o.currentSelected),h.useImperativeHandle(t,()=>e.current,[e.current]),de.createElement("jp-tree-view",{ref:e,...r,class:o.className,exportparts:o.exportparts,for:o.htmlFor,part:o.part,tabindex:o.tabIndex,"render-collapsed-nodes":o.renderCollapsedNodes?"":void 0,style:{...o.style}},o.children)});class jt extends h.PureComponent{render(){const{children:t,isActive:e,heading:n,onCollapse:d,onMouseDown:m}=this.props,r=l=>{!l.defaultPrevented&&l.target.expanded!==!n.collapsed&&(l.preventDefault(),d(n))};return h.createElement(_t,{className:"jp-tocItem jp-TreeItem nested",selected:e,expanded:!n.collapsed,onExpand:r,onMouseDown:l=>{l.defaultPrevented||(l.preventDefault(),m(n))},onKeyUp:l=>{!l.defaultPrevented&&l.key==="Enter"&&!e&&(l.preventDefault(),m(n))}},h.createElement("div",{className:"jp-tocItem-heading"},h.createElement("span",{className:"jp-tocItem-content",title:n.text,...n.dataset},n.prefix,n.text)),t)}}class kt extends h.PureComponent{render(){const{documentType:t}=this.props;return h.createElement(It,{className:"jp-TableOfContents-content jp-TreeView","data-document-type":t},this.buildTree())}buildTree(){if(this.props.headings.length===0)return[];const t=d=>{const m=this.props.headings,r=new Array,l=m[d];let s=d+1;for(;s<m.length&&!(m[s].level<=l.level);){const[T,E]=t(s);r.push(T),s=E}return[h.createElement(jt,{key:`${l.level}-${d}-${l.text}`,isActive:!!this.props.activeHeading&&l===this.props.activeHeading,heading:l,onMouseDown:this.props.setActiveHeading,onCollapse:this.props.onCollapseChange},r.length?r:null),s]},e=new Array;let n=0;for(;n<this.props.headings.length;){const[d,m]=t(n);e.push(d),n=m}return e}}class Ft extends ze{constructor(t){super(t.model),this._placeholderHeadline=t.placeholderHeadline,this._placeholderText=t.placeholderText}render(){return!this.model||this.model.headings.length===0?h.createElement("div",{className:"jp-TableOfContents-placeholder"},h.createElement("div",{className:"jp-TableOfContents-placeholderContent"},h.createElement("h3",null,this._placeholderHeadline),h.createElement("p",null,this._placeholderText))):h.createElement(kt,{activeHeading:this.model.activeHeading,documentType:this.model.documentType,headings:this.model.headings,onCollapseChange:t=>{this.model.toggleCollapse({heading:t})},setActiveHeading:t=>{this.model.setActiveHeading(t)}})}}class St extends it{constructor(t){super({content:new Ue,translator:t}),this._model=null,this.addClass("jp-TableOfContents"),this._title=new L.Header(this._trans.__("Table of Contents")),this.header.addWidget(this._title),this._treeview=new Ft({placeholderHeadline:this._trans.__("No Headings"),placeholderText:this._trans.__("The table of contents shows headings in notebooks and supported files.")}),this._treeview.addClass("jp-TableOfContents-tree"),this.content.addWidget(this._treeview)}get model(){return this._model}set model(t){var e,n;this._model!==t&&((e=this._model)===null||e===void 0||e.stateChanged.disconnect(this._onTitleChanged,this),this._model=t,this._model&&(this._model.isActive=this.isVisible),(n=this._model)===null||n===void 0||n.stateChanged.connect(this._onTitleChanged,this),this._onTitleChanged(),this._treeview.model=this._model)}onAfterHide(t){super.onAfterHide(t),this._model&&(this._model.isActive=!1)}onBeforeShow(t){super.onBeforeShow(t),this._model&&(this._model.isActive=!0)}_onTitleChanged(){var t,e;this._title.setTitle((e=(t=this._model)===null||t===void 0?void 0:t.title)!==null&&e!==void 0?e:this._trans.__("Table of Contents"))}}var L;(function(o){class t extends qe{constructor(n){const d=document.createElement("h2");d.textContent=n,d.classList.add("jp-text-truncated"),super({node:d}),this._title=d}setTitle(n){this._title.textContent=n}}o.Header=t})(L||(L={}));class Et{constructor(){this._generators=new Map,this._idCounter=0}getModel(t,e){for(const n of this._generators.values())if(n.isApplicable(t))return n.createNew(t,e)}getToolbarItems(t){for(const e of this._generators.values())if(e.isApplicable(t)){if(e.getToolbarItems)return e.getToolbarItems(t);break}}add(t){const e=this._idCounter++;return this._generators.set(e,t),new Ge(()=>{this._generators.delete(e)})}}class Nt{constructor(){this.modelMapping=new WeakMap}add(t,e){this.modelMapping.set(t,e)}get(t){const e=this.modelMapping.get(t);return!e||e.isDisposed?null:e}}var g;(function(o){o.displayNumbering="toc:display-numbering",o.displayH1Numbering="toc:display-h1-numbering",o.displayOutputNumbering="toc:display-outputs-numbering",o.showPanel="toc:show-panel",o.toggleCollapse="toc:toggle-collapse"})(g||(g={}));var B;(function(o){o.collapseAll="collapse-all"})(B||(B={}));async function Ot(o,t,e,n,d,m){const r=(e??Ze).load("jupyterlab");let l={...Qe.defaultConfig};const s=new St(e??void 0);s.title.icon=Xe,s.title.dataset={...s.title.dataset,jpTabLabel:r.__("Table of Contents")},s.title.caption=r.__("Table of Contents"),s.id="table-of-contents",s.node.setAttribute("role","region"),s.node.setAttribute("aria-label",r.__("Table of Contents section")),o.commands.addCommand(g.displayH1Numbering,{label:r.__("Show first-level heading number"),execute:()=>{s.model&&s.model.setConfiguration({numberingH1:!s.model.configuration.numberingH1})},isEnabled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.supportedOptions.includes("numberingH1"))!==null&&a!==void 0?a:!1},isToggled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.configuration.numberingH1)!==null&&a!==void 0?a:!1},describedBy:{args:{type:"object",properties:{}}}}),o.commands.addCommand(g.displayNumbering,{label:r.__("Show heading number in the document"),icon:i=>i.toolbar?Ye:void 0,execute:()=>{s.model&&(s.model.setConfiguration({numberHeaders:!s.model.configuration.numberHeaders}),o.commands.notifyCommandChanged(g.displayNumbering))},isEnabled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.supportedOptions.includes("numberHeaders"))!==null&&a!==void 0?a:!1},isToggled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.configuration.numberHeaders)!==null&&a!==void 0?a:!1},describedBy:{args:{type:"object",properties:{toolbar:{type:"boolean",description:r.__("Whether the command is called from toolbar")}}}}}),o.commands.addCommand(g.displayOutputNumbering,{label:r.__("Show output headings"),execute:()=>{s.model&&s.model.setConfiguration({includeOutput:!s.model.configuration.includeOutput})},isEnabled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.supportedOptions.includes("includeOutput"))!==null&&a!==void 0?a:!1},isToggled:()=>{var i,a;return(a=(i=s.model)===null||i===void 0?void 0:i.configuration.includeOutput)!==null&&a!==void 0?a:!1},describedBy:{args:{type:"object",properties:{}}}}),o.commands.addCommand(g.showPanel,{label:r.__("Table of Contents"),execute:()=>{o.shell.activateById(s.id)},describedBy:{args:{type:"object",properties:{}}}});function S(i){return i.headings.some(a=>{var f;return!((f=a.collapsed)!==null&&f!==void 0&&f)})}o.commands.addCommand(g.toggleCollapse,{label:()=>s.model&&!S(s.model)?r.__("Expand All Headings"):r.__("Collapse All Headings"),icon:i=>i.toolbar?s.model&&!S(s.model)?et:tt:void 0,execute:()=>{s.model&&(S(s.model)?s.model.toggleCollapse({collapsed:!0}):s.model.toggleCollapse({collapsed:!1}))},isEnabled:()=>s.model!==null,describedBy:{args:{type:"object",properties:{toolbar:{type:"boolean",description:r.__("Whether the command is called from toolbar")}}}}});const $=new Nt;n&&n.add(s,"@jupyterlab/toc:plugin");let T;if(m)try{T=await m.load(pe.id);const i=a=>{const f=a.composite;for(const u of[...Object.keys(l)]){const x=f[u];x!==void 0&&(l[u]=x)}if(d)for(const u of d.widgets("main")){const x=$.get(u);x&&x.setConfiguration(l)}else if(o.shell.currentWidget){const u=$.get(o.shell.currentWidget);u&&u.setConfiguration(l)}};T&&(T.changed.connect(i),i(T))}catch(i){console.error(`Failed to load settings for the Table of Contents extension.
389
389
 
390
390
  ${i}`)}const E=new Y({commands:o.commands,id:g.displayNumbering,args:{toolbar:!0},label:""});E.addClass("jp-toc-numberingButton"),s.toolbar.node.setAttribute("aria-label",r.__("Table of contents sidepanel toolbar")),s.toolbar.addItem("display-numbering",E),s.toolbar.addItem("spacer",ot.createSpacerItem()),s.toolbar.addItem(B.collapseAll,new Y({commands:o.commands,id:g.toggleCollapse,args:{toolbar:!0},label:""}));const D=new rt({commands:o.commands});D.addItem({command:g.displayH1Numbering}),D.addItem({command:g.displayOutputNumbering});const W=new nt({tooltip:r.__("More actions…"),icon:st,noFocusOnClick:!1,onClick:()=>{const i=W.node.getBoundingClientRect();D.open(i.x,i.bottom)}});s.toolbar.addItem("submenu",W),o.shell.add(s,"left",{rank:400,type:"Table of Contents"});let M=[];return d&&d.currentChanged.connect(z),o.restored.then(()=>{z()}),$;function z(){var i,a;let f=o.shell.currentWidget;if(!f)return;let u=$.get(f);u||(u=(i=t.getModel(f,l))!==null&&i!==void 0?i:null,u&&$.add(f,u),f.disposed.connect(()=>{u?.dispose()})),s.model&&(s.model.headingsChanged.disconnect(N),s.model.collapseChanged.disconnect(N)),s.model=u,s.model&&(s.model.headingsChanged.connect(N),s.model.collapseChanged.connect(N)),M.forEach(_=>{_.dispose()}),M=[];const x=(a=t.getToolbarItems)===null||a===void 0?void 0:a.call(t,f);x&&x.forEach(_=>{s.toolbar.insertBefore(B.collapseAll,`toc-item-${_.name}`,_.widget),M.push(_.widget)}),me()}function me(){o.commands.notifyCommandChanged(g.displayNumbering),o.commands.notifyCommandChanged(g.toggleCollapse)}function N(){o.commands.notifyCommandChanged(g.toggleCollapse)}}const pe={id:"@jupyterlab/toc-extension:registry",description:"Provides the table of contents registry.",autoStart:!0,provides:he,activate:()=>new Et},Ht={id:"@jupyterlab/toc-extension:tracker",description:"Adds the table of content widget and provides its tracker.",autoStart:!0,provides:Ke,requires:[he],optional:[Je,at,lt,dt],activate:Ot},Vo=[pe,Ht];export{Vo as default};
@@ -1 +1 @@
1
- import{cn as I,J as i,aD as F,e5 as ae,e6 as le,e7 as Y,e8 as se,cu as ce,co as de,aJ as me,e9 as ue,cq as pe,ea as fe,cl as he,aC as w,eb as ge,ec as Q,ed as be,ee as ve,ef as M,eg as $,eh as W,ei as V,ej as ye,ek as _e,el as Ee,em as Ce,bT as je,en as Fe,bU as Se,eo as xe,ep as q,_ as D,eq as ke,er as Ie,af as Te,es as we,et as U,eu as O,ev as Ne,ew as Ae}from"../datalayer-app-main.js";import{T as Me,b as Le}from"./index-Bh8xHTp_.js";import{I as Be}from"./tokens-Dyd4wiX6.js";import{I as Pe}from"./tokens-DiDi0Nkm.js";import{C as De,a as Oe}from"./index-DsioLFJS.js";import{I as X,a as Z,b as R}from"./token-d9po19EN.js";import{F as Re,c as Ge,A as $e,g as J,v as We}from"./index-Dd3vBS-q.js";import{I as Ve}from"./tokens-DY_UrMLq.js";import{a as qe}from"./tokens-BYcJtuKD.js";import{c as Ue}from"./index-4t0OAxoh.js";import{s as Je}from"./hover-B3uFmZ-0.js";import"./hoverbox-CStlKQWE.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./uniqueId-BVuTZY3F.js";import"./toNumber-B1wj8-wx.js";import"./_baseClone-ByJL1tkX.js";import"./merge-B_wcPK4Y.js";import"./isEqual-DitljbGA.js";import"./Output-DQqgiXji.js";import"./index-xsqU1Upe.js";import"./color-CG7_7V2-.js";import"./defaultLocale-5voVPcsN.js";import"./index-BrUAt6vF.js";import"./KebabHorizontalIcon-D6AY8pIS.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./index-DYBgss-E.js";import"./RestartIcon-Ca6_HoK0.js";import"./CellSidebarExtension-FjKdLUTo.js";import"./NotebookSkeleton-b2FuNWEZ.js";import"./Avatar-DvWrRG_3.js";import"./renderer-DgyUd7NL.js";import"./SquareIcon-Dy3l3VdH.js";import"./FileDirectoryOpenFillIcon-jGhuRcP3.js";import"./url-C6fJII94.js";/* empty css *//* empty css */import"./index-Dro44tIm.js";/* empty css */import"./index-DsG9xhMj.js";/* empty css */import"./index-CNU-WVhQ.js";import"./index--OLIX362.js";import"./index-DYGslHkf.js";import"./index-BSRVX3UN.js";import"./index-BH2OX5l8.js";import"./index-C3vDfO5_.js";import"./index-Ko8lxXFd.js";import"./index-CB9u17_J.js";import"./index-BUVtc_FV.js";import"./ArrowLeftIcon-sX3iNMG1.js";import"./SkubbleIcon-tlg17jBG.js";import"./usePrimerThemeBridge-DyX4EYyN.js";import"./index-CCvelf1K.js";import"./KernelVariables-C_f1RIys.js";import"./index-C0d-d3s4.js";import"./SortAscIcon-CmH04s3F.js";import"./SortDescIcon-Qif6E10I.js";import"./NotebookToolbar-emEpc3HB.js";import"./RepoPushIcon-BtXQRhLa.js";import"./Toolbar-DmDwwFcU.js";import"./sessions-jGahwF6o.js";import"./tokens-CBhRbpQP.js";import"./drivecontents-D1HzL7Fi.js";import"./kernel-BmfZmtIo.js";const ze={submitButtonOptions:{norender:!0}},z=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:F).load("jupyterlab");let a;const n=()=>t.direction==="up"?!t.item.hasMoveUp:!t.item.hasMoveDown,u=t.direction==="up"?t.item.index-1:t.item.index+1;if(t.buttonStyle==="icons"){const m={tag:"span",elementPosition:"center"};return a=t.direction==="up"?i.createElement(ae.react,{...m}):i.createElement(le.react,{...m}),i.createElement(Y,{className:"jp-ArrayOperationsButton",onClick:t.item.onReorderClick(t.item.index,u),disabled:n(),appearance:"stealth",title:r.__("Move item %1",t.direction)},a)}else return i.createElement("button",{className:"jp-mod-styled jp-mod-reject jp-ArrayOperationsButton",onClick:t.item.onReorderClick(t.item.index,u),disabled:n()},t.direction==="up"?r.__("Move up"):r.__("Move down"))},He=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:F).load("jupyterlab");let a;return t.buttonStyle==="icons"?(a=i.createElement(se.react,{tag:"span",elementPosition:"center"}),i.createElement(Y,{className:"jp-mod-styled jp-mod-warn jp-ArrayOperationsButton",onClick:t.item.onDropIndexClick(t.item.index),appearance:"stealth",title:r.__("Remove item")},a)):i.createElement("button",{className:"jp-mod-styled jp-mod-warn jp-ArrayOperationsButton",onClick:t.item.onDropIndexClick(t.item.index)},r.__("Remove"))},ee=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:F).load("jupyterlab");let a;return t.buttonStyle==="icons"?a=i.createElement(ce.react,{tag:"span",elementSize:"xlarge",elementPosition:"center"}):a=r.__("Add"),i.createElement("button",{className:"jp-mod-styled jp-mod-accept jp-ArrayOperationsButton",onClick:t.onAddClick,title:r.__("Add item")},a)};function G(t){const{component:e,name:r,buttonStyle:a,compact:n,showModifiedFromDefault:u,translator:m}=t,s=n??!1,p=a??(s?"icons":"text"),h=f=>e({...f,buttonStyle:p,compact:s,showModifiedFromDefault:u??!0,translator:m??F});return r&&(h.displayName=r),h}function te(t,e){const r=J("TitleFieldTemplate",t,e),a=J("DescriptionFieldTemplate",t,e);return{TitleField:r,DescriptionField:a}}const Ke=t=>G({...t,name:"JupyterLabArrayTemplate",component:e=>{var r;const{schema:a,registry:n,uiSchema:u,required:m}=e,s={schema:a,registry:n,uiSchema:u,required:m},{TitleField:p,DescriptionField:h}=te(n,u);return i.createElement("div",{className:e.className},e.compact?i.createElement("div",{className:"jp-FormGroup-compactTitle"},i.createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),i.createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}-description`},e.schema.description||"")):i.createElement(i.Fragment,null,e.title&&i.createElement(p,{...s,title:e.title,id:`${e.idSchema.$id}-title`}),i.createElement(h,{...s,id:`${e.idSchema.$id}-description`,description:(r=e.schema.description)!==null&&r!==void 0?r:""})),e.items.map(f=>i.createElement("div",{key:f.key,className:f.className},f.children,i.createElement("div",{className:"jp-ArrayOperations"},i.createElement(z,{buttonStyle:e.buttonStyle,translator:e.translator,item:f,direction:"up"}),i.createElement(z,{buttonStyle:e.buttonStyle,translator:e.translator,item:f,direction:"down"}),i.createElement(He,{buttonStyle:e.buttonStyle,translator:e.translator,item:f})))),e.canAdd&&i.createElement(ee,{onAddClick:e.onAddClick,buttonStyle:e.buttonStyle,translator:e.translator}))}}),Ye=t=>G({...t,name:"JupyterLabObjectTemplate",component:e=>{var r;const{schema:a,registry:n,uiSchema:u,required:m}=e,s={schema:a,registry:n,uiSchema:u,required:m},{TitleField:p,DescriptionField:h}=te(n,u);return i.createElement("fieldset",{id:e.idSchema.$id},e.compact?i.createElement("div",{className:"jp-FormGroup-compactTitle"},i.createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),i.createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}__description`},e.schema.description||"")):i.createElement(i.Fragment,null,(e.title||(e.uiSchema||I.emptyObject)["ui:title"])&&i.createElement(p,{...s,id:`${e.idSchema.$id}__title`,title:e.title||`${(e.uiSchema||I.emptyObject)["ui:title"]}`||""}),i.createElement(h,{...s,id:`${e.idSchema.$id}__description`,description:(r=e.schema.description)!==null&&r!==void 0?r:""})),e.properties.map(f=>f.content),Ge(e.schema,e.uiSchema,e.formData)&&i.createElement(ee,{onAddClick:e.onAddClick(e.schema),buttonStyle:e.buttonStyle,translator:e.translator}))}}),Qe=t=>G({...t,name:"JupyterLabFieldTemplate",component:e=>{var r;const a=((r=e.translator)!==null&&r!==void 0?r:F).load("jupyterlab");let n=!1,u;const{formData:m,schema:s,label:p,displayLabel:h,id:f,formContext:o,errors:l,rawErrors:d,children:c,onKeyChange:g,onDropPropertyClick:_}=e,{defaultFormData:y}=o,C=f.split("_");C.shift();const E=C.join("."),v=E==="",j=E===(e.uiSchema||I.emptyObject)["ui:field"];e.showModifiedFromDefault&&(u=C.reduce((x,P)=>x?.[P],y),n=!v&&m!==void 0&&u!==void 0&&!s.properties&&s.type!=="array"&&!I.deepEqual(m,u));const S=!v&&s.type!="object"&&f!="jp-SettingsEditor-@jupyterlab/shortcuts-extension:shortcuts_shortcuts",N=s.hasOwnProperty($e),B=!(s.type==="object"||s.type==="array");return i.createElement("div",{className:`form-group ${h||s.type==="boolean"?"small-field":""}`},!j&&(d?.length?i.createElement("div",{className:"jp-modifiedIndicator jp-errorIndicator"}):n&&i.createElement("div",{className:"jp-modifiedIndicator"})),i.createElement("div",{className:`jp-FormGroup-content ${e.compact?"jp-FormGroup-contentCompact":"jp-FormGroup-contentNormal"}`},B&&h&&!v&&p&&!N?e.compact?i.createElement("div",{className:"jp-FormGroup-compactTitle"},i.createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},p),B&&s.description&&S&&i.createElement("div",{className:"jp-FormGroup-description"},s.description)):i.createElement("h3",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},p):i.createElement(i.Fragment,null),N&&i.createElement("input",{className:"jp-FormGroup-contentItem jp-mod-styled",type:"text",onBlur:x=>g(x.target.value),defaultValue:p}),i.createElement("div",{className:`${v?"jp-root":s.type==="object"?"jp-objectFieldWrapper":s.type==="array"?"jp-arrayFieldWrapper":"jp-inputFieldWrapper jp-FormGroup-contentItem"}`},c),N&&i.createElement("button",{className:"jp-FormGroup-contentItem jp-mod-styled jp-mod-warn jp-FormGroup-removeButton",onClick:_(p)},a.__("Remove")),!e.compact&&s.description&&S&&i.createElement("div",{className:"jp-FormGroup-description"},s.description),n&&u!==void 0&&s.type!=="object"&&i.createElement("div",{className:"jp-FormGroup-default"},a.__("Default: %1",u!==null?u.toLocaleString():"null")),i.createElement("div",{className:"validationErrors"},l)))}});function Xe(t){const{buttonStyle:e,compact:r,showModifiedFromDefault:a,translator:n,formContext:u,...m}=t,s={...m.uiSchema||I.emptyObject};s["ui:options"]={...ze,...s["ui:options"]},m.uiSchema=s;const{FieldTemplate:p,ArrayFieldTemplate:h,ObjectFieldTemplate:f}=t.templates||I.emptyObject,o={buttonStyle:e,compact:r,showModifiedFromDefault:a,translator:n},l=i.useMemo(()=>p??Qe(o),[p,e,r,a,n]),d=i.useMemo(()=>h??Ke(o),[h,e,r,a,n]),c=i.useMemo(()=>f??Ye(o),[f,e,r,a,n]),g={FieldTemplate:l,ArrayFieldTemplate:d,ObjectFieldTemplate:c};return i.createElement(Re,{templates:g,formContext:u,...m})}class Ze extends i.Component{constructor(e){super(e),this._handleChange=r=>{this.setState({value:r.currentTarget.value})},this._handleSubmit=r=>{r.preventDefault();const a=parseInt(this._textInput.value,10);return!isNaN(a)&&isFinite(a)&&1<=a&&a<=this.props.maxLine&&this.props.handleSubmit(a),!1},this._handleFocus=()=>{this.setState({hasFocus:!0})},this._handleBlur=()=>{this.setState({hasFocus:!1})},this._textInput=null,this.translator=e.translator||F,this._trans=this.translator.load("jupyterlab"),this.state={value:"",hasFocus:!1,textInputId:ue.createDomID()+"-line-number-input"}}componentDidMount(){this._textInput.focus()}render(){return i.createElement("div",{className:"jp-lineFormSearch"},i.createElement("form",{name:"lineColumnForm",onSubmit:this._handleSubmit,noValidate:!0},i.createElement("div",{className:pe("jp-lineFormWrapper","lm-lineForm-wrapper",this.state.hasFocus?"jp-lineFormWrapperFocusWithin":void 0)},i.createElement("input",{type:"text",id:this.state.textInputId,className:"jp-lineFormInput",onChange:this._handleChange,onFocus:this._handleFocus,onBlur:this._handleBlur,value:this.state.value,ref:e=>{this._textInput=e}}),i.createElement("div",{className:"jp-baseLineForm jp-lineFormButtonContainer"},i.createElement(fe.react,{className:"jp-baseLineForm jp-lineFormButtonIcon",elementPosition:"center"}),i.createElement("input",{type:"submit",className:"jp-baseLineForm jp-lineFormButton",value:""}))),i.createElement("label",{className:"jp-lineFormCaption",htmlFor:this.state.textInputId},this._trans.__("Go to line number between 1 and %1",this.props.maxLine))))}}function et(t){const r=(t.translator||F).load("jupyterlab"),a=n=>{if(n.key==="Enter"||n.key==="Spacebar"||n.key===" ")n.preventDefault(),n.stopPropagation(),t.handleClick();else return};return i.createElement(Me,{role:"button","aria-haspopup":!0,onClick:t.handleClick,source:r.__("Ln %1, Col %2",t.line,t.column),title:r.__("Go to line number…"),tabIndex:0,onKeyDown:a})}class L extends de{constructor(e){super(new L.Model),this._popup=null,this.addClass("jp-mod-highlighted"),this.translator=e||F}render(){return this.model===null?null:i.createElement(et,{line:this.model.line,column:this.model.column,translator:this.translator,handleClick:()=>this._handleClick()})}_handleClick(){this._popup&&this._popup.dispose();const e=me.create(i.createElement(Ze,{handleSubmit:r=>this._handleSubmit(r),currentLine:this.model.line,maxLine:this.model.editor.lineCount,translator:this.translator}));this._popup=Je({body:e,anchor:this,align:"right"})}_handleSubmit(e){this.model.editor.setCursorPosition({line:e-1,column:0}),this._popup.dispose(),this.model.editor.focus()}}(function(t){class e extends he{constructor(){super(...arguments),this._onSelectionChanged=()=>{const a=this._getAllState(),n=this.editor.getCursorPosition();this._line=n.line+1,this._column=n.column+1,this._triggerChange(a,this._getAllState())},this._line=1,this._column=1,this._editor=null}get editor(){return this._editor}set editor(a){var n;const u=this._editor;!((n=u?.model)===null||n===void 0)&&n.selections&&u.model.selections.changed.disconnect(this._onSelectionChanged);const m=this._getAllState();if(this._editor=a,!this._editor)this._column=1,this._line=1;else{this._editor.model.selections.changed.connect(this._onSelectionChanged);const s=this._editor.getCursorPosition();this._column=s.column+1,this._line=s.line+1}this._triggerChange(m,this._getAllState())}get line(){return this._line}get column(){return this._column}_getAllState(){return[this._line,this._column]}_triggerChange(a,n){(a[0]!==n[0]||a[1]!==n[1])&&this.stateChanged.emit(void 0)}}t.Model=e})(L||(L={}));var b;(function(t){t.deleteLine="codemirror:delete-line",t.toggleBlockComment="codemirror:toggle-block-comment",t.toggleComment="codemirror:toggle-comment",t.selectNextOccurrence="codemirror:select-next-occurrence",t.toggleTabFocusMode="codemirror:toggle-tab-focus-mode",t.toggleBold="codemirror:markdown-toggle-bold",t.foldCurrent="codemirror:fold-current",t.unfoldCurrent="codemirror:unfold-current",t.foldSubregions="codemirror:fold-subregions",t.unfoldSubregions="codemirror:unfold-subregions",t.foldAll="codemirror:fold-all",t.unfoldAll="codemirror:unfold-all"})(b||(b={}));function tt(t){return Fe(t)||Q(t)}const H=".cm-content",ot={id:"@jupyterlab/codemirror-extension:commands",description:"Registers commands acting on selected/active CodeMirror editor.",autoStart:!0,requires:[Pe],optional:[w,Le],activate:(t,e,r,a)=>{r=r??F;const n=r.load("jupyterlab"),u=o=>o.classList.contains(H),m=()=>{var o,l;const d=(o=t.contextMenuHitTest(u))!==null&&o!==void 0?o:(l=document.activeElement)===null||l===void 0?void 0:l.closest(H);if(d)return je.findFromDOM(d)},s=()=>!!m(),p=o=>{const{state:l}=o,{main:d}=l.selection;if(d.empty)return!1;const{from:c,to:g,anchor:_,head:y}=d,C=_>y,E=l.doc,v=E.sliceString(c,g),j=c>=2&&E.sliceString(c-2,c)==="**",S=E.sliceString(g,g+2)==="**",N=v.startsWith("**"),B=v.endsWith("**"),x=(k,T)=>{const A=C?T:k,re=C?k:T;return Se.single(A,re)};if(j&&S){const k=c-2,T=g+2,A=g-c;return o.dispatch({changes:{from:k,to:T,insert:v},selection:x(k,k+A)}),!0}if(N&&B&&v.length>=4){const k=v.slice(2,-2),T=c,A=c+k.length;return o.dispatch({changes:{from:c,to:g,insert:k},selection:x(T,A)}),!0}const P=`**${v}**`,ne=c+2,ie=g+2;return o.dispatch({changes:{from:c,to:g,insert:P},selection:x(ne,ie)}),!0},h=()=>{var o,l;const d=t.shell.currentWidget,c=(o=e.currentWidget)===null||o===void 0?void 0:o.content;if(e.currentWidget!==null&&e.currentWidget===d&&c&&c.activeCell)return{type:"notebook",widget:d,notebook:c,isEnabled:!0};const g=d;return g&&g.content&&typeof((l=g.content.editor)===null||l===void 0?void 0:l.focus)=="function"?{type:"fileEditor",widget:g,isEnabled:!0}:{type:"none",widget:null,isEnabled:!1}},f=()=>h().isEnabled;if(t.commands.addCommand(b.deleteLine,{label:n.__("Delete the current line"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&ge(o)},isEnabled:s}),t.commands.addCommand(b.toggleBlockComment,{label:n.__("Toggle Block Comment"),caption:n.__("Toggles block comments; falls back to regular comment toggle when block comment syntax is unavailable"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&tt(o)},isEnabled:s}),t.commands.addCommand(b.toggleComment,{label:n.__("Toggle Comment"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&Q(o)},isEnabled:s}),t.commands.addCommand(b.toggleTabFocusMode,{label:n.__("Toggle Tab Focus Mode"),caption:n.__("Toggles behavior of Tab key between inserting indentation and moving to next focusable element"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&be(o)},isEnabled:s}),t.commands.addCommand(b.selectNextOccurrence,{label:n.__("Select Next Occurrence"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&ve(o)},isEnabled:s}),t.commands.addCommand(b.toggleBold,{label:n.__("Toggle Bold"),caption:n.__("Toggle bold formatting by wrapping/unwrapping selected text with **"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&p(o)},isEnabled:s}),t.commands.addCommand(b.foldCurrent,{label:n.__("Fold Current Region"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(!d)return;const{state:c}=d,g=c.selection.main.head,_=c.doc.lineAt(g);M(c,_.from,_.to)&&$(d)},isEnabled:f}),t.commands.addCommand(b.unfoldCurrent,{label:n.__("Unfold Current Region"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(!d)return;const{state:c}=d,g=c.selection.main.head,_=c.doc.lineAt(g);M(c,_.from,_.to)&&W(d)},isEnabled:f}),t.commands.addCommand(b.foldSubregions,{label:n.__("Fold All Subregions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(d)try{const{state:c}=d,g=c.selection.main.head,_=c.doc.lineAt(g),y=M(c,_.from,_.to);let C=!1;try{C=c.field(V,!1)!==void 0}catch{C=!1}if(C||($(d),W(d)),!y)return;const E=[];let v=y.from+1;for(;v<y.to;){const j=c.doc.lineAt(v),S=M(c,j.from,j.to);S&&S.from>y.from&&S.to<=y.to?(E.push(ye.of(S)),v=S.to):v=j.to+1}E.length>0&&d.dispatch({effects:E})}catch{}},isEnabled:f}),t.commands.addCommand(b.unfoldSubregions,{label:n.__("Unfold All Subregions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(d)try{const{state:c}=d,g=c.selection.main.head,_=c.doc.lineAt(g),y=M(c,_.from,_.to);if(!y)return;const C=c.field(V,!1);if(!C)return;const E=[];C.between(y.from+1,y.to,(v,j)=>{v>y.from&&j<=y.to&&E.push(_e.of({from:v,to:j}))}),E.length>0&&d.dispatch({effects:E})}catch{}},isEnabled:f}),t.commands.addCommand(b.foldAll,{label:n.__("Fold All Regions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(d)try{Ee(d)}catch{}},isEnabled:f}),t.commands.addCommand(b.unfoldAll,{label:n.__("Unfold All Regions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(d)try{Ce(d)}catch{}},isEnabled:f}),a){const o=n.__("File Operations");[b.foldCurrent,b.unfoldCurrent,b.foldSubregions,b.unfoldSubregions,b.foldAll,b.unfoldAll].forEach(l=>{a.addItem({command:l,category:o})})}}},K="@jupyterlab/codemirror-extension:plugin",nt={id:"@jupyterlab/codemirror-extension:languages",description:"Provides the CodeMirror languages registry.",provides:X,optional:[w],activate:(t,e)=>{const r=new q;for(const a of q.getDefaultLanguages(e,n=>r.findBest(n)))r.addLanguage(a);return r.addLanguage({name:"ipythongfm",mime:"text/x-ipythongfm",load:async()=>{const[a,n,u]=await Promise.all([D(()=>import("./index-CtnliCDl.js"),[],import.meta.url),D(()=>import("./index-BrUAt6vF.js"),[],import.meta.url),D(()=>import("./stex-C3f8Ysf7.js"),[],import.meta.url)]),m=a.markdown({base:a.markdownLanguage,codeLanguages:s=>r.findBest(s),extensions:[ke(Ie.define(u.stexMath).parser)]});return new Te(m.language,[m.support,we(n.pythonLanguage)])}}),r}},it={id:"@jupyterlab/codemirror-extension:themes",description:"Provides the CodeMirror theme registry",provides:Z,optional:[w],activate:(t,e)=>{const r=new U;for(const a of U.getDefaultThemes(e))r.addTheme(a);return r}},rt={id:"@jupyterlab/codemirror-extension:extensions",description:"Provides the CodeMirror extension factory registry.",provides:R,requires:[Z],optional:[w,Ve,qe],activate:(t,e,r,a,n)=>{const u=new O;for(const m of O.getDefaultExtensions({themes:e,translator:r}))u.addExtension(m);if(a){const m=s=>{var p;u.baseConfiguration=(p=s.get("defaultConfig").composite)!==null&&p!==void 0?p:{}};Promise.all([a.load(K),t.restored]).then(([s])=>{m(s),s.changed.connect(m)}),n?.addRenderer(`${K}.defaultConfig`,{fieldRenderer:s=>{let p;const h=i.useMemo(()=>u.settingsSchema,[]);s.name in s.formContext.defaultFormData?p=s.formContext.defaultFormData[s.name]:p={};for(const[f,o]of Object.entries(u.defaultConfiguration))typeof h[f]<"u"&&!(f in p)&&(p[f]=o);return i.createElement("div",{className:"jp-FormGroup-contentNormal"},i.createElement("h3",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},s.schema.title),s.schema.description&&i.createElement("div",{className:"jp-FormGroup-description"},s.schema.description),i.createElement(Xe,{schema:{title:s.schema.title,description:s.schema.description,type:"object",properties:h,additionalProperties:!1},validator:We,formData:{...p,...s.formData},formContext:{defaultFormData:p},liveValidate:!0,onChange:f=>{var o;const l={};for(const[d,c]of Object.entries((o=f.formData)!==null&&o!==void 0?o:{})){const g=p[d];(g===void 0||!I.deepEqual(c,g))&&(l[d]=c)}s.onChange(l)},tagName:"div",translator:r??F,buttonStyle:"icons"}))}})}return u}},at={id:"@jupyterlab/codemirror-extension:binding",description:"Register the CodeMirror extension factory binding the editor and the shared model.",autoStart:!0,requires:[R],activate:(t,e)=>{e.addExtension({name:"shared-model-binding",factory:r=>{var a;const n=r.model.sharedModel;return O.createImmutableExtension(Ne({ytext:n.ysource,undoManager:(a=n.undoManager)!==null&&a!==void 0?a:void 0}))}})}},lt={id:"@jupyterlab/codemirror-extension:services",description:"Provides the service to instantiate CodeMirror editors.",provides:xe,requires:[X,R],optional:[w],activate:(t,e,r,a)=>({factoryService:new De({extensions:r,languages:e,translator:a??F}),mimeTypeService:new Oe(e)})},oe={id:"@jupyterlab/codemirror-extension:line-col-status",description:"Provides the code editor cursor position model.",autoStart:!0,requires:[w],optional:[Ue,Be],provides:Ae,activate:(t,e,r,a)=>{const n=new L(e),u=new Set;a&&a.registerStatusItem(oe.id,{priority:1,item:n,align:"right",rank:2,isActive:()=>!!n.model.editor});const m=h=>{u.add(h),t.shell.currentWidget&&p(t.shell,{newValue:t.shell.currentWidget})},s=()=>{p(t.shell,{oldValue:t.shell.currentWidget,newValue:t.shell.currentWidget})};function p(h,f){Promise.all([...u].map(o=>o(f.newValue))).then(o=>{var l;n.model.editor=(l=o.filter(d=>d!==null)[0])!==null&&l!==void 0?l:null}).catch(o=>{console.error("Get editors",o)})}return r&&r.currentChanged.connect(p),{addEditorProvider:m,update:s}}},Eo=[ot,nt,it,at,rt,lt,oe];export{Eo as default,oe as lineColItem};
1
+ import{cn as I,J as i,aD as F,e8 as ae,e9 as le,ea as Y,eb as se,cu as ce,co as de,aJ as me,ec as ue,cq as pe,ed as fe,cl as he,aC as w,ee as ge,ef as Q,eg as be,eh as ve,ei as M,ej as $,ek as W,el as V,em as ye,en as _e,eo as Ee,ep as Ce,bT as je,eq as Fe,bU as Se,er as xe,es as q,_ as D,et as ke,eu as Ie,af as Te,ev as we,ew as U,ex as O,ey as Ne,ez as Ae}from"../datalayer-app-main.js";import{T as Me,b as Le}from"./index-H4p_UVsf.js";import{I as Be}from"./tokens-Dyd4wiX6.js";import{I as Pe}from"./tokens-DiDi0Nkm.js";import{C as De,a as Oe}from"./index-CYUvojfN.js";import{I as X,a as Z,b as R}from"./token-d9po19EN.js";import{F as Re,c as Ge,A as $e,g as J,v as We}from"./index-B5qB2n6R.js";import{I as Ve}from"./tokens-DY_UrMLq.js";import{a as qe}from"./tokens-BYcJtuKD.js";import{c as Ue}from"./index-BHHOSjZo.js";import{s as Je}from"./hover-B3uFmZ-0.js";import"./hoverbox-CStlKQWE.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./uniqueId-BVuTZY3F.js";import"./toNumber-B1wj8-wx.js";import"./_baseClone-ByJL1tkX.js";import"./merge-B_wcPK4Y.js";import"./isEqual-zPmcQAke.js";import"./Output-nrXVDS-d.js";import"./index-DIaoQxKH.js";import"./color-CG7_7V2-.js";import"./defaultLocale-5voVPcsN.js";import"./index-BrUAt6vF.js";import"./KebabHorizontalIcon-D6AY8pIS.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./index-DYBgss-E.js";import"./RestartIcon-Ca6_HoK0.js";import"./CellSidebarExtension-I1K60vh4.js";import"./NotebookSkeleton-D1ewE63E.js";import"./Avatar-DvWrRG_3.js";import"./renderer-BU04-DkJ.js";import"./SquareIcon-Dy3l3VdH.js";import"./FileDirectoryOpenFillIcon-jGhuRcP3.js";import"./url-C6fJII94.js";/* empty css *//* empty css */import"./index-Dro44tIm.js";/* empty css */import"./index-DsG9xhMj.js";/* empty css */import"./index-CNU-WVhQ.js";import"./index--OLIX362.js";import"./index-DYGslHkf.js";import"./index-BSRVX3UN.js";import"./index-BH2OX5l8.js";import"./index-C3vDfO5_.js";import"./index-Ko8lxXFd.js";import"./index-CB9u17_J.js";import"./index-BUVtc_FV.js";import"./ArrowLeftIcon-sX3iNMG1.js";import"./SkubbleIcon-tlg17jBG.js";import"./usePrimerThemeBridge-DyX4EYyN.js";import"./index-DtDFBOl9.js";import"./KernelVariables-DKDFwfHn.js";import"./index-C0d-d3s4.js";import"./SortAscIcon-CmH04s3F.js";import"./SortDescIcon-Qif6E10I.js";import"./NotebookToolbar-Ddg2JwS8.js";import"./RepoPushIcon-BtXQRhLa.js";import"./Toolbar-BDrBbL69.js";import"./sessions-CnTFUfGi.js";import"./tokens-CBhRbpQP.js";import"./drivecontents-D1HzL7Fi.js";import"./kernel-BmfZmtIo.js";const ze={submitButtonOptions:{norender:!0}},z=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:F).load("jupyterlab");let a;const n=()=>t.direction==="up"?!t.item.hasMoveUp:!t.item.hasMoveDown,u=t.direction==="up"?t.item.index-1:t.item.index+1;if(t.buttonStyle==="icons"){const m={tag:"span",elementPosition:"center"};return a=t.direction==="up"?i.createElement(ae.react,{...m}):i.createElement(le.react,{...m}),i.createElement(Y,{className:"jp-ArrayOperationsButton",onClick:t.item.onReorderClick(t.item.index,u),disabled:n(),appearance:"stealth",title:r.__("Move item %1",t.direction)},a)}else return i.createElement("button",{className:"jp-mod-styled jp-mod-reject jp-ArrayOperationsButton",onClick:t.item.onReorderClick(t.item.index,u),disabled:n()},t.direction==="up"?r.__("Move up"):r.__("Move down"))},He=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:F).load("jupyterlab");let a;return t.buttonStyle==="icons"?(a=i.createElement(se.react,{tag:"span",elementPosition:"center"}),i.createElement(Y,{className:"jp-mod-styled jp-mod-warn jp-ArrayOperationsButton",onClick:t.item.onDropIndexClick(t.item.index),appearance:"stealth",title:r.__("Remove item")},a)):i.createElement("button",{className:"jp-mod-styled jp-mod-warn jp-ArrayOperationsButton",onClick:t.item.onDropIndexClick(t.item.index)},r.__("Remove"))},ee=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:F).load("jupyterlab");let a;return t.buttonStyle==="icons"?a=i.createElement(ce.react,{tag:"span",elementSize:"xlarge",elementPosition:"center"}):a=r.__("Add"),i.createElement("button",{className:"jp-mod-styled jp-mod-accept jp-ArrayOperationsButton",onClick:t.onAddClick,title:r.__("Add item")},a)};function G(t){const{component:e,name:r,buttonStyle:a,compact:n,showModifiedFromDefault:u,translator:m}=t,s=n??!1,p=a??(s?"icons":"text"),h=f=>e({...f,buttonStyle:p,compact:s,showModifiedFromDefault:u??!0,translator:m??F});return r&&(h.displayName=r),h}function te(t,e){const r=J("TitleFieldTemplate",t,e),a=J("DescriptionFieldTemplate",t,e);return{TitleField:r,DescriptionField:a}}const Ke=t=>G({...t,name:"JupyterLabArrayTemplate",component:e=>{var r;const{schema:a,registry:n,uiSchema:u,required:m}=e,s={schema:a,registry:n,uiSchema:u,required:m},{TitleField:p,DescriptionField:h}=te(n,u);return i.createElement("div",{className:e.className},e.compact?i.createElement("div",{className:"jp-FormGroup-compactTitle"},i.createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),i.createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}-description`},e.schema.description||"")):i.createElement(i.Fragment,null,e.title&&i.createElement(p,{...s,title:e.title,id:`${e.idSchema.$id}-title`}),i.createElement(h,{...s,id:`${e.idSchema.$id}-description`,description:(r=e.schema.description)!==null&&r!==void 0?r:""})),e.items.map(f=>i.createElement("div",{key:f.key,className:f.className},f.children,i.createElement("div",{className:"jp-ArrayOperations"},i.createElement(z,{buttonStyle:e.buttonStyle,translator:e.translator,item:f,direction:"up"}),i.createElement(z,{buttonStyle:e.buttonStyle,translator:e.translator,item:f,direction:"down"}),i.createElement(He,{buttonStyle:e.buttonStyle,translator:e.translator,item:f})))),e.canAdd&&i.createElement(ee,{onAddClick:e.onAddClick,buttonStyle:e.buttonStyle,translator:e.translator}))}}),Ye=t=>G({...t,name:"JupyterLabObjectTemplate",component:e=>{var r;const{schema:a,registry:n,uiSchema:u,required:m}=e,s={schema:a,registry:n,uiSchema:u,required:m},{TitleField:p,DescriptionField:h}=te(n,u);return i.createElement("fieldset",{id:e.idSchema.$id},e.compact?i.createElement("div",{className:"jp-FormGroup-compactTitle"},i.createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),i.createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}__description`},e.schema.description||"")):i.createElement(i.Fragment,null,(e.title||(e.uiSchema||I.emptyObject)["ui:title"])&&i.createElement(p,{...s,id:`${e.idSchema.$id}__title`,title:e.title||`${(e.uiSchema||I.emptyObject)["ui:title"]}`||""}),i.createElement(h,{...s,id:`${e.idSchema.$id}__description`,description:(r=e.schema.description)!==null&&r!==void 0?r:""})),e.properties.map(f=>f.content),Ge(e.schema,e.uiSchema,e.formData)&&i.createElement(ee,{onAddClick:e.onAddClick(e.schema),buttonStyle:e.buttonStyle,translator:e.translator}))}}),Qe=t=>G({...t,name:"JupyterLabFieldTemplate",component:e=>{var r;const a=((r=e.translator)!==null&&r!==void 0?r:F).load("jupyterlab");let n=!1,u;const{formData:m,schema:s,label:p,displayLabel:h,id:f,formContext:o,errors:l,rawErrors:d,children:c,onKeyChange:g,onDropPropertyClick:_}=e,{defaultFormData:y}=o,C=f.split("_");C.shift();const E=C.join("."),v=E==="",j=E===(e.uiSchema||I.emptyObject)["ui:field"];e.showModifiedFromDefault&&(u=C.reduce((x,P)=>x?.[P],y),n=!v&&m!==void 0&&u!==void 0&&!s.properties&&s.type!=="array"&&!I.deepEqual(m,u));const S=!v&&s.type!="object"&&f!="jp-SettingsEditor-@jupyterlab/shortcuts-extension:shortcuts_shortcuts",N=s.hasOwnProperty($e),B=!(s.type==="object"||s.type==="array");return i.createElement("div",{className:`form-group ${h||s.type==="boolean"?"small-field":""}`},!j&&(d?.length?i.createElement("div",{className:"jp-modifiedIndicator jp-errorIndicator"}):n&&i.createElement("div",{className:"jp-modifiedIndicator"})),i.createElement("div",{className:`jp-FormGroup-content ${e.compact?"jp-FormGroup-contentCompact":"jp-FormGroup-contentNormal"}`},B&&h&&!v&&p&&!N?e.compact?i.createElement("div",{className:"jp-FormGroup-compactTitle"},i.createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},p),B&&s.description&&S&&i.createElement("div",{className:"jp-FormGroup-description"},s.description)):i.createElement("h3",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},p):i.createElement(i.Fragment,null),N&&i.createElement("input",{className:"jp-FormGroup-contentItem jp-mod-styled",type:"text",onBlur:x=>g(x.target.value),defaultValue:p}),i.createElement("div",{className:`${v?"jp-root":s.type==="object"?"jp-objectFieldWrapper":s.type==="array"?"jp-arrayFieldWrapper":"jp-inputFieldWrapper jp-FormGroup-contentItem"}`},c),N&&i.createElement("button",{className:"jp-FormGroup-contentItem jp-mod-styled jp-mod-warn jp-FormGroup-removeButton",onClick:_(p)},a.__("Remove")),!e.compact&&s.description&&S&&i.createElement("div",{className:"jp-FormGroup-description"},s.description),n&&u!==void 0&&s.type!=="object"&&i.createElement("div",{className:"jp-FormGroup-default"},a.__("Default: %1",u!==null?u.toLocaleString():"null")),i.createElement("div",{className:"validationErrors"},l)))}});function Xe(t){const{buttonStyle:e,compact:r,showModifiedFromDefault:a,translator:n,formContext:u,...m}=t,s={...m.uiSchema||I.emptyObject};s["ui:options"]={...ze,...s["ui:options"]},m.uiSchema=s;const{FieldTemplate:p,ArrayFieldTemplate:h,ObjectFieldTemplate:f}=t.templates||I.emptyObject,o={buttonStyle:e,compact:r,showModifiedFromDefault:a,translator:n},l=i.useMemo(()=>p??Qe(o),[p,e,r,a,n]),d=i.useMemo(()=>h??Ke(o),[h,e,r,a,n]),c=i.useMemo(()=>f??Ye(o),[f,e,r,a,n]),g={FieldTemplate:l,ArrayFieldTemplate:d,ObjectFieldTemplate:c};return i.createElement(Re,{templates:g,formContext:u,...m})}class Ze extends i.Component{constructor(e){super(e),this._handleChange=r=>{this.setState({value:r.currentTarget.value})},this._handleSubmit=r=>{r.preventDefault();const a=parseInt(this._textInput.value,10);return!isNaN(a)&&isFinite(a)&&1<=a&&a<=this.props.maxLine&&this.props.handleSubmit(a),!1},this._handleFocus=()=>{this.setState({hasFocus:!0})},this._handleBlur=()=>{this.setState({hasFocus:!1})},this._textInput=null,this.translator=e.translator||F,this._trans=this.translator.load("jupyterlab"),this.state={value:"",hasFocus:!1,textInputId:ue.createDomID()+"-line-number-input"}}componentDidMount(){this._textInput.focus()}render(){return i.createElement("div",{className:"jp-lineFormSearch"},i.createElement("form",{name:"lineColumnForm",onSubmit:this._handleSubmit,noValidate:!0},i.createElement("div",{className:pe("jp-lineFormWrapper","lm-lineForm-wrapper",this.state.hasFocus?"jp-lineFormWrapperFocusWithin":void 0)},i.createElement("input",{type:"text",id:this.state.textInputId,className:"jp-lineFormInput",onChange:this._handleChange,onFocus:this._handleFocus,onBlur:this._handleBlur,value:this.state.value,ref:e=>{this._textInput=e}}),i.createElement("div",{className:"jp-baseLineForm jp-lineFormButtonContainer"},i.createElement(fe.react,{className:"jp-baseLineForm jp-lineFormButtonIcon",elementPosition:"center"}),i.createElement("input",{type:"submit",className:"jp-baseLineForm jp-lineFormButton",value:""}))),i.createElement("label",{className:"jp-lineFormCaption",htmlFor:this.state.textInputId},this._trans.__("Go to line number between 1 and %1",this.props.maxLine))))}}function et(t){const r=(t.translator||F).load("jupyterlab"),a=n=>{if(n.key==="Enter"||n.key==="Spacebar"||n.key===" ")n.preventDefault(),n.stopPropagation(),t.handleClick();else return};return i.createElement(Me,{role:"button","aria-haspopup":!0,onClick:t.handleClick,source:r.__("Ln %1, Col %2",t.line,t.column),title:r.__("Go to line number…"),tabIndex:0,onKeyDown:a})}class L extends de{constructor(e){super(new L.Model),this._popup=null,this.addClass("jp-mod-highlighted"),this.translator=e||F}render(){return this.model===null?null:i.createElement(et,{line:this.model.line,column:this.model.column,translator:this.translator,handleClick:()=>this._handleClick()})}_handleClick(){this._popup&&this._popup.dispose();const e=me.create(i.createElement(Ze,{handleSubmit:r=>this._handleSubmit(r),currentLine:this.model.line,maxLine:this.model.editor.lineCount,translator:this.translator}));this._popup=Je({body:e,anchor:this,align:"right"})}_handleSubmit(e){this.model.editor.setCursorPosition({line:e-1,column:0}),this._popup.dispose(),this.model.editor.focus()}}(function(t){class e extends he{constructor(){super(...arguments),this._onSelectionChanged=()=>{const a=this._getAllState(),n=this.editor.getCursorPosition();this._line=n.line+1,this._column=n.column+1,this._triggerChange(a,this._getAllState())},this._line=1,this._column=1,this._editor=null}get editor(){return this._editor}set editor(a){var n;const u=this._editor;!((n=u?.model)===null||n===void 0)&&n.selections&&u.model.selections.changed.disconnect(this._onSelectionChanged);const m=this._getAllState();if(this._editor=a,!this._editor)this._column=1,this._line=1;else{this._editor.model.selections.changed.connect(this._onSelectionChanged);const s=this._editor.getCursorPosition();this._column=s.column+1,this._line=s.line+1}this._triggerChange(m,this._getAllState())}get line(){return this._line}get column(){return this._column}_getAllState(){return[this._line,this._column]}_triggerChange(a,n){(a[0]!==n[0]||a[1]!==n[1])&&this.stateChanged.emit(void 0)}}t.Model=e})(L||(L={}));var b;(function(t){t.deleteLine="codemirror:delete-line",t.toggleBlockComment="codemirror:toggle-block-comment",t.toggleComment="codemirror:toggle-comment",t.selectNextOccurrence="codemirror:select-next-occurrence",t.toggleTabFocusMode="codemirror:toggle-tab-focus-mode",t.toggleBold="codemirror:markdown-toggle-bold",t.foldCurrent="codemirror:fold-current",t.unfoldCurrent="codemirror:unfold-current",t.foldSubregions="codemirror:fold-subregions",t.unfoldSubregions="codemirror:unfold-subregions",t.foldAll="codemirror:fold-all",t.unfoldAll="codemirror:unfold-all"})(b||(b={}));function tt(t){return Fe(t)||Q(t)}const H=".cm-content",ot={id:"@jupyterlab/codemirror-extension:commands",description:"Registers commands acting on selected/active CodeMirror editor.",autoStart:!0,requires:[Pe],optional:[w,Le],activate:(t,e,r,a)=>{r=r??F;const n=r.load("jupyterlab"),u=o=>o.classList.contains(H),m=()=>{var o,l;const d=(o=t.contextMenuHitTest(u))!==null&&o!==void 0?o:(l=document.activeElement)===null||l===void 0?void 0:l.closest(H);if(d)return je.findFromDOM(d)},s=()=>!!m(),p=o=>{const{state:l}=o,{main:d}=l.selection;if(d.empty)return!1;const{from:c,to:g,anchor:_,head:y}=d,C=_>y,E=l.doc,v=E.sliceString(c,g),j=c>=2&&E.sliceString(c-2,c)==="**",S=E.sliceString(g,g+2)==="**",N=v.startsWith("**"),B=v.endsWith("**"),x=(k,T)=>{const A=C?T:k,re=C?k:T;return Se.single(A,re)};if(j&&S){const k=c-2,T=g+2,A=g-c;return o.dispatch({changes:{from:k,to:T,insert:v},selection:x(k,k+A)}),!0}if(N&&B&&v.length>=4){const k=v.slice(2,-2),T=c,A=c+k.length;return o.dispatch({changes:{from:c,to:g,insert:k},selection:x(T,A)}),!0}const P=`**${v}**`,ne=c+2,ie=g+2;return o.dispatch({changes:{from:c,to:g,insert:P},selection:x(ne,ie)}),!0},h=()=>{var o,l;const d=t.shell.currentWidget,c=(o=e.currentWidget)===null||o===void 0?void 0:o.content;if(e.currentWidget!==null&&e.currentWidget===d&&c&&c.activeCell)return{type:"notebook",widget:d,notebook:c,isEnabled:!0};const g=d;return g&&g.content&&typeof((l=g.content.editor)===null||l===void 0?void 0:l.focus)=="function"?{type:"fileEditor",widget:g,isEnabled:!0}:{type:"none",widget:null,isEnabled:!1}},f=()=>h().isEnabled;if(t.commands.addCommand(b.deleteLine,{label:n.__("Delete the current line"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&ge(o)},isEnabled:s}),t.commands.addCommand(b.toggleBlockComment,{label:n.__("Toggle Block Comment"),caption:n.__("Toggles block comments; falls back to regular comment toggle when block comment syntax is unavailable"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&tt(o)},isEnabled:s}),t.commands.addCommand(b.toggleComment,{label:n.__("Toggle Comment"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&Q(o)},isEnabled:s}),t.commands.addCommand(b.toggleTabFocusMode,{label:n.__("Toggle Tab Focus Mode"),caption:n.__("Toggles behavior of Tab key between inserting indentation and moving to next focusable element"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&be(o)},isEnabled:s}),t.commands.addCommand(b.selectNextOccurrence,{label:n.__("Select Next Occurrence"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&ve(o)},isEnabled:s}),t.commands.addCommand(b.toggleBold,{label:n.__("Toggle Bold"),caption:n.__("Toggle bold formatting by wrapping/unwrapping selected text with **"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=m();o&&p(o)},isEnabled:s}),t.commands.addCommand(b.foldCurrent,{label:n.__("Fold Current Region"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(!d)return;const{state:c}=d,g=c.selection.main.head,_=c.doc.lineAt(g);M(c,_.from,_.to)&&$(d)},isEnabled:f}),t.commands.addCommand(b.unfoldCurrent,{label:n.__("Unfold Current Region"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(!d)return;const{state:c}=d,g=c.selection.main.head,_=c.doc.lineAt(g);M(c,_.from,_.to)&&W(d)},isEnabled:f}),t.commands.addCommand(b.foldSubregions,{label:n.__("Fold All Subregions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(d)try{const{state:c}=d,g=c.selection.main.head,_=c.doc.lineAt(g),y=M(c,_.from,_.to);let C=!1;try{C=c.field(V,!1)!==void 0}catch{C=!1}if(C||($(d),W(d)),!y)return;const E=[];let v=y.from+1;for(;v<y.to;){const j=c.doc.lineAt(v),S=M(c,j.from,j.to);S&&S.from>y.from&&S.to<=y.to?(E.push(ye.of(S)),v=S.to):v=j.to+1}E.length>0&&d.dispatch({effects:E})}catch{}},isEnabled:f}),t.commands.addCommand(b.unfoldSubregions,{label:n.__("Unfold All Subregions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(d)try{const{state:c}=d,g=c.selection.main.head,_=c.doc.lineAt(g),y=M(c,_.from,_.to);if(!y)return;const C=c.field(V,!1);if(!C)return;const E=[];C.between(y.from+1,y.to,(v,j)=>{v>y.from&&j<=y.to&&E.push(_e.of({from:v,to:j}))}),E.length>0&&d.dispatch({effects:E})}catch{}},isEnabled:f}),t.commands.addCommand(b.foldAll,{label:n.__("Fold All Regions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(d)try{Ee(d)}catch{}},isEnabled:f}),t.commands.addCommand(b.unfoldAll,{label:n.__("Unfold All Regions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const l=h();l.type==="notebook"?(l.notebook.mode="edit",l.notebook.activeCell&&((o=l.notebook.activeCell.editor)===null||o===void 0||o.focus())):l.type==="fileEditor"&&l.widget.content.editor.focus();const d=m();if(d)try{Ce(d)}catch{}},isEnabled:f}),a){const o=n.__("File Operations");[b.foldCurrent,b.unfoldCurrent,b.foldSubregions,b.unfoldSubregions,b.foldAll,b.unfoldAll].forEach(l=>{a.addItem({command:l,category:o})})}}},K="@jupyterlab/codemirror-extension:plugin",nt={id:"@jupyterlab/codemirror-extension:languages",description:"Provides the CodeMirror languages registry.",provides:X,optional:[w],activate:(t,e)=>{const r=new q;for(const a of q.getDefaultLanguages(e,n=>r.findBest(n)))r.addLanguage(a);return r.addLanguage({name:"ipythongfm",mime:"text/x-ipythongfm",load:async()=>{const[a,n,u]=await Promise.all([D(()=>import("./index-CtnliCDl.js"),[],import.meta.url),D(()=>import("./index-BrUAt6vF.js"),[],import.meta.url),D(()=>import("./stex-C3f8Ysf7.js"),[],import.meta.url)]),m=a.markdown({base:a.markdownLanguage,codeLanguages:s=>r.findBest(s),extensions:[ke(Ie.define(u.stexMath).parser)]});return new Te(m.language,[m.support,we(n.pythonLanguage)])}}),r}},it={id:"@jupyterlab/codemirror-extension:themes",description:"Provides the CodeMirror theme registry",provides:Z,optional:[w],activate:(t,e)=>{const r=new U;for(const a of U.getDefaultThemes(e))r.addTheme(a);return r}},rt={id:"@jupyterlab/codemirror-extension:extensions",description:"Provides the CodeMirror extension factory registry.",provides:R,requires:[Z],optional:[w,Ve,qe],activate:(t,e,r,a,n)=>{const u=new O;for(const m of O.getDefaultExtensions({themes:e,translator:r}))u.addExtension(m);if(a){const m=s=>{var p;u.baseConfiguration=(p=s.get("defaultConfig").composite)!==null&&p!==void 0?p:{}};Promise.all([a.load(K),t.restored]).then(([s])=>{m(s),s.changed.connect(m)}),n?.addRenderer(`${K}.defaultConfig`,{fieldRenderer:s=>{let p;const h=i.useMemo(()=>u.settingsSchema,[]);s.name in s.formContext.defaultFormData?p=s.formContext.defaultFormData[s.name]:p={};for(const[f,o]of Object.entries(u.defaultConfiguration))typeof h[f]<"u"&&!(f in p)&&(p[f]=o);return i.createElement("div",{className:"jp-FormGroup-contentNormal"},i.createElement("h3",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},s.schema.title),s.schema.description&&i.createElement("div",{className:"jp-FormGroup-description"},s.schema.description),i.createElement(Xe,{schema:{title:s.schema.title,description:s.schema.description,type:"object",properties:h,additionalProperties:!1},validator:We,formData:{...p,...s.formData},formContext:{defaultFormData:p},liveValidate:!0,onChange:f=>{var o;const l={};for(const[d,c]of Object.entries((o=f.formData)!==null&&o!==void 0?o:{})){const g=p[d];(g===void 0||!I.deepEqual(c,g))&&(l[d]=c)}s.onChange(l)},tagName:"div",translator:r??F,buttonStyle:"icons"}))}})}return u}},at={id:"@jupyterlab/codemirror-extension:binding",description:"Register the CodeMirror extension factory binding the editor and the shared model.",autoStart:!0,requires:[R],activate:(t,e)=>{e.addExtension({name:"shared-model-binding",factory:r=>{var a;const n=r.model.sharedModel;return O.createImmutableExtension(Ne({ytext:n.ysource,undoManager:(a=n.undoManager)!==null&&a!==void 0?a:void 0}))}})}},lt={id:"@jupyterlab/codemirror-extension:services",description:"Provides the service to instantiate CodeMirror editors.",provides:xe,requires:[X,R],optional:[w],activate:(t,e,r,a)=>({factoryService:new De({extensions:r,languages:e,translator:a??F}),mimeTypeService:new Oe(e)})},oe={id:"@jupyterlab/codemirror-extension:line-col-status",description:"Provides the code editor cursor position model.",autoStart:!0,requires:[w],optional:[Ue,Be],provides:Ae,activate:(t,e,r,a)=>{const n=new L(e),u=new Set;a&&a.registerStatusItem(oe.id,{priority:1,item:n,align:"right",rank:2,isActive:()=>!!n.model.editor});const m=h=>{u.add(h),t.shell.currentWidget&&p(t.shell,{newValue:t.shell.currentWidget})},s=()=>{p(t.shell,{oldValue:t.shell.currentWidget,newValue:t.shell.currentWidget})};function p(h,f){Promise.all([...u].map(o=>o(f.newValue))).then(o=>{var l;n.model.editor=(l=o.filter(d=>d!==null)[0])!==null&&l!==void 0?l:null}).catch(o=>{console.error("Get editors",o)})}return r&&r.currentChanged.connect(p),{addEditorProvider:m,update:s}}},Eo=[ot,nt,it,at,rt,lt,oe];export{Eo as default,oe as lineColItem};