@datalayer/agent-runtimes 1.5.20 → 1.5.21

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 (277) hide show
  1. package/dist-embed/chunks/{AgentDetails-DZyyuD5F.js → AgentDetails-C7tCazwB.js} +1 -1
  2. package/dist-embed/chunks/{AgentDetailsDialog-DaQyQxlm.js → AgentDetailsDialog-Cwps4GeH.js} +1 -1
  3. package/dist-embed/chunks/{AgentInspector-CBNiiRtv.js → AgentInspector-Gk7jbg8t.js} +1 -1
  4. package/dist-embed/chunks/{AgentInspectorDialog-BxMOAc7K.js → AgentInspectorDialog-BSSDOFrT.js} +1 -1
  5. package/dist-embed/chunks/{CellSidebarExtension-Dwe7PfXi.js → CellSidebarExtension-p2BAkwis.js} +9 -9
  6. package/dist-embed/chunks/ChatView-fHb_i4kH.js +32 -0
  7. package/dist-embed/chunks/{ContextPie-n1y886z-.js → ContextPie-bd_YOjzP.js} +1 -1
  8. package/dist-embed/chunks/{DeckComponent-BSeEBNHt.js → DeckComponent-4gxuEH4A.js} +2 -2
  9. package/dist-embed/chunks/{DocumentView-OIdQEk_n.js → DocumentView-BZSYqTh_.js} +1 -1
  10. package/dist-embed/chunks/{EphemeralDocument-C-uLD1W7.js → EphemeralDocument-Cevnk5OF.js} +1 -1
  11. package/dist-embed/chunks/{EphemeralNotebook-C_peDfqf.js → EphemeralNotebook-JvALIbK2.js} +1 -1
  12. package/dist-embed/chunks/{ExcalidrawComponent-DHSxnPc9.js → ExcalidrawComponent-CbghNk-F.js} +1 -1
  13. package/dist-embed/chunks/{ExcalidrawModal-BpsfNG-u.js → ExcalidrawModal-BOVvWzYQ.js} +1 -1
  14. package/dist-embed/chunks/{JupyterLexicalExtension-BUSLnJVL.js → JupyterLexicalExtension-CRccZ2h7.js} +29 -29
  15. package/dist-embed/chunks/{KernelVariables-Cu7UeFhT.js → KernelVariables-ompObBEM.js} +1 -1
  16. package/dist-embed/chunks/{LexicalToolRegistry-CNg1T5sQ.js → LexicalToolRegistry-BlBEZPP4.js} +4 -4
  17. package/dist-embed/chunks/{NotebookToolSurfaces-Cm6-oE_W.js → NotebookToolSurfaces-DP8sWqVy.js} +1 -1
  18. package/dist-embed/chunks/{NotebookView-Be2lNZjS.js → NotebookView-DC6BDVEp.js} +1 -1
  19. package/dist-embed/chunks/{Output-OIgTyxpD.js → Output-C4hBhZ5k.js} +1 -1
  20. package/dist-embed/chunks/{SandboxDetailsDialog-BMq0tlcE.js → SandboxDetailsDialog-CX8wvCLJ.js} +1 -1
  21. package/dist-embed/chunks/{SchemaForm-D3mmq2C1.js → SchemaForm-BuhXDyz6.js} +1 -1
  22. package/dist-embed/chunks/{WidgetVariableView-DnuwkCHl.js → WidgetVariableView-C2X5Ehcg.js} +1 -1
  23. package/dist-embed/chunks/{YouTubePlugin-Bum16ua6.js → YouTubePlugin-CjgOnMCz.js} +1 -1
  24. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-BMkFygW4.js → abnfDiagram-VCTEODGH-kzVu7pzT.js} +1 -1
  25. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-Dac38D-P.js → abnfDiagram-VCTEODGH-wvUaPpVC.js} +1 -1
  26. package/dist-embed/chunks/{ar-SA-G6X2FPQ2-JDFjD_Dk.js → ar-SA-G6X2FPQ2-ArgZTGSp.js} +1 -1
  27. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DXJTBh9S.js → architectureDiagram-5GKGNRK7-CwbfxDHw.js} +1 -1
  28. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-D7VBU0uf.js → architectureDiagram-5GKGNRK7-DVZUrWEx.js} +1 -1
  29. package/dist-embed/chunks/{az-AZ-76LH7QW2-AbN1w5Zy.js → az-AZ-76LH7QW2-DQgz6n32.js} +1 -1
  30. package/dist-embed/chunks/{bg-BG-XCXSNQG7-BULkJsTf.js → bg-BG-XCXSNQG7-Cx0dPt6-.js} +1 -1
  31. package/dist-embed/chunks/{blockDiagram-868be97b-Bk9MNjmt.js → blockDiagram-868be97b-DEQh5CUO.js} +1 -1
  32. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-CKjKQ6Dq.js → blockDiagram-I7D4REHJ-C6gbEBfg.js} +1 -1
  33. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-BwenaP7n.js → blockDiagram-I7D4REHJ-DUIcpkIN.js} +1 -1
  34. package/dist-embed/chunks/{bn-BD-2XOGV67Q-B6EtUyIk.js → bn-BD-2XOGV67Q-BkekmuYO.js} +1 -1
  35. package/dist-embed/chunks/{c4Diagram-3f4bdde3-BGoSdP5p.js → c4Diagram-3f4bdde3-CUcRctJE.js} +1 -1
  36. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-DlkcVfDa.js → c4Diagram-7LVT6UL2-DSQiEaxC.js} +1 -1
  37. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-BZRokUDB.js → c4Diagram-7LVT6UL2-f7UaZWVg.js} +1 -1
  38. package/dist-embed/chunks/{ca-ES-6MX7JW3Y-BZ0wzUck.js → ca-ES-6MX7JW3Y-Yr14RtMP.js} +1 -1
  39. package/dist-embed/chunks/{celltoolbartracker-CCRqu43G.js → celltoolbartracker-Bx9x9aeh.js} +1 -1
  40. package/dist-embed/chunks/{chunk-2Q5K7J3B-CfYiHpfd.js → chunk-2Q5K7J3B-BBPiCQqO.js} +1 -1
  41. package/dist-embed/chunks/{chunk-2Q5K7J3B-DLu9zZx0.js → chunk-2Q5K7J3B-DbzMjK_L.js} +1 -1
  42. package/dist-embed/chunks/{chunk-5VM5RSS4-yHAygNq4.js → chunk-5VM5RSS4-CcNPo9qP.js} +1 -1
  43. package/dist-embed/chunks/{chunk-5VM5RSS4-dV5IUPYK.js → chunk-5VM5RSS4-rEZEdbpi.js} +1 -1
  44. package/dist-embed/chunks/{chunk-F27PBJKO-BeY8iI19.js → chunk-F27PBJKO-BH7lDumP.js} +1 -1
  45. package/dist-embed/chunks/{chunk-F27PBJKO-BArvzx7H.js → chunk-F27PBJKO-DTgjd0wN.js} +1 -1
  46. package/dist-embed/chunks/{chunk-IMKFNOWR-iUeFNxCU.js → chunk-IMKFNOWR-BA-vmq_V.js} +1 -1
  47. package/dist-embed/chunks/{chunk-IMKFNOWR-BJRUyuXy.js → chunk-IMKFNOWR-DuzpuE1w.js} +1 -1
  48. package/dist-embed/chunks/{chunk-JWPE2WC7-BDUBU4vN.js → chunk-JWPE2WC7-BfRI4eJ2.js} +1 -1
  49. package/dist-embed/chunks/{chunk-JWPE2WC7-Djk-1JPJ.js → chunk-JWPE2WC7-CAdvd3EQ.js} +1 -1
  50. package/dist-embed/chunks/{chunk-POPQ4Y6H-E4731IOt.js → chunk-POPQ4Y6H-B7pT6rUf.js} +1 -1
  51. package/dist-embed/chunks/{chunk-POPQ4Y6H-CibXbz_c.js → chunk-POPQ4Y6H-Dw1h_9lT.js} +1 -1
  52. package/dist-embed/chunks/{chunk-SVP7TREG-DeRyA6Ek.js → chunk-SVP7TREG-BxpYXJab.js} +1 -1
  53. package/dist-embed/chunks/{chunk-SVP7TREG-o7JviCXQ.js → chunk-SVP7TREG-VsO48dck.js} +1 -1
  54. package/dist-embed/chunks/{chunk-TICWLB2K-BIhZcpwn.js → chunk-TICWLB2K-CU2oQRJ9.js} +1 -1
  55. package/dist-embed/chunks/{chunk-TICWLB2K-Zk_gUXIu.js → chunk-TICWLB2K-LCiyX33a.js} +1 -1
  56. package/dist-embed/chunks/{chunk-XXDRQBXY-DATpHkZD.js → chunk-XXDRQBXY-CL1cUI4w.js} +1 -1
  57. package/dist-embed/chunks/{chunk-XXDRQBXY-Cp6f69YK.js → chunk-XXDRQBXY-islJGiCO.js} +1 -1
  58. package/dist-embed/chunks/{classDiagram-ZZMXUADV-DcutslOq.js → classDiagram-ZZMXUADV-C7-Ca_nP.js} +1 -1
  59. package/dist-embed/chunks/{classDiagram-ZZMXUADV-BfpWJKcC.js → classDiagram-ZZMXUADV-Ctw7VU-m.js} +1 -1
  60. package/dist-embed/chunks/{classDiagram-f62afe4f-BVLyWZwA.js → classDiagram-f62afe4f-BaJUb6H9.js} +1 -1
  61. package/dist-embed/chunks/{classDiagram-v2-604399ef-CgcAzr_L.js → classDiagram-v2-604399ef-s6LKeK41.js} +1 -1
  62. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-DcutslOq.js → classDiagram-v2-VYDZK3BY-C7-Ca_nP.js} +1 -1
  63. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-BfpWJKcC.js → classDiagram-v2-VYDZK3BY-Ctw7VU-m.js} +1 -1
  64. package/dist-embed/chunks/{code-block-IT6T5CEO-D5_yhrdD.js → code-block-IT6T5CEO-BieLU8ls.js} +1 -1
  65. package/dist-embed/chunks/{component-DoyMsR16.js → component-p2xkjXeh.js} +3 -3
  66. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-B-LvsoyE.js → cose-bilkent-JH36ORCC-BkezndW_.js} +1 -1
  67. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-DhPsWJev.js → cose-bilkent-JH36ORCC-DrOmRWVI.js} +1 -1
  68. package/dist-embed/chunks/{createText-aed3d8b3-CnP7VdTn.js → createText-aed3d8b3-Dw8k7JC8.js} +1 -1
  69. package/dist-embed/chunks/{cs-CZ-2BRQDIVT-CHIiQJ-9.js → cs-CZ-2BRQDIVT-DYR-S6bD.js} +1 -1
  70. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-D4zzGd7W.js → cynefinDiagram-5FMLGOSQ-DqoI6t3s.js} +1 -1
  71. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-B4k-OykO.js → cynefinDiagram-5FMLGOSQ-qZ6StjuY.js} +1 -1
  72. package/dist-embed/chunks/{da-DK-5WZEPLOC-dfN2SAKQ.js → da-DK-5WZEPLOC-DhaHIgKI.js} +1 -1
  73. package/dist-embed/chunks/{dagre-GXQ25YYZ-DUrWhbsC.js → dagre-GXQ25YYZ-Bb0_WA3x.js} +1 -1
  74. package/dist-embed/chunks/{dagre-GXQ25YYZ-BlWkzzlo.js → dagre-GXQ25YYZ-pcAHu_bK.js} +1 -1
  75. package/dist-embed/chunks/{de-DE-XR44H4JA-BKsKfmfo.js → de-DE-XR44H4JA-CJpRH2Fy.js} +1 -1
  76. package/dist-embed/chunks/{diagram-S7CK7UJ4-FxHXDIYr.js → diagram-S7CK7UJ4-CwINt91M.js} +1 -1
  77. package/dist-embed/chunks/{diagram-S7CK7UJ4-BuRBzTwI.js → diagram-S7CK7UJ4-W17wgXHY.js} +1 -1
  78. package/dist-embed/chunks/{diagram-UQ7AKVKN-FxYHrvzF.js → diagram-UQ7AKVKN-CXRpfLBt.js} +1 -1
  79. package/dist-embed/chunks/{diagram-UQ7AKVKN-CeDT8Vz4.js → diagram-UQ7AKVKN-mH7QBO8y.js} +1 -1
  80. package/dist-embed/chunks/{diagram-VSXAHHWV-Cv0WAiv8.js → diagram-VSXAHHWV-Bg68Bv82.js} +1 -1
  81. package/dist-embed/chunks/{diagram-VSXAHHWV-C2icUdkA.js → diagram-VSXAHHWV-CFHqpDaB.js} +1 -1
  82. package/dist-embed/chunks/{diagram-VX7I27RA-D6VPVMhu.js → diagram-VX7I27RA-BEO0D7jE.js} +1 -1
  83. package/dist-embed/chunks/{diagram-VX7I27RA-AoxkG7BW.js → diagram-VX7I27RA-DQ6XlKLw.js} +1 -1
  84. package/dist-embed/chunks/{diagram-Z3DM3KII-DxunLDOr.js → diagram-Z3DM3KII-BLJQK61P.js} +1 -1
  85. package/dist-embed/chunks/{diagram-Z3DM3KII-CHxtPQ6F.js → diagram-Z3DM3KII-Cenqf76m.js} +1 -1
  86. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-CfsTBJc5.js → ebnfDiagram-PWID7BFC-6H6OSebp.js} +1 -1
  87. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-CmJlfM6d.js → ebnfDiagram-PWID7BFC-Cqmnghct.js} +1 -1
  88. package/dist-embed/chunks/{edges-b2856ca0-Cl5rq6T8.js → edges-b2856ca0-ChO7JKaP.js} +1 -1
  89. package/dist-embed/chunks/{el-GR-BZB4AONW-Cs0zPSU1.js → el-GR-BZB4AONW-DPGB1p8K.js} +1 -1
  90. package/dist-embed/chunks/{erDiagram-5d81789a-C0jmz-br.js → erDiagram-5d81789a-jzhAXdZi.js} +1 -1
  91. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-Dyljy6tN.js → erDiagram-RLTQ6QDP-DEAWMrMT.js} +1 -1
  92. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-FFD_URlX.js → erDiagram-RLTQ6QDP-hAbP0vV0.js} +1 -1
  93. package/dist-embed/chunks/{es-ES-U4NZUMDT-fGOqRf0o.js → es-ES-U4NZUMDT-CLztgM3g.js} +1 -1
  94. package/dist-embed/chunks/{eu-ES-A7QVB2H4-CLZ09rVe.js → eu-ES-A7QVB2H4--ffZf65_.js} +1 -1
  95. package/dist-embed/chunks/{fa-IR-HGAKTJCU-Cjimbc8n.js → fa-IR-HGAKTJCU-Cwwej6FC.js} +1 -1
  96. package/dist-embed/chunks/{fi-FI-Z5N7JZ37-ZXNEW916.js → fi-FI-Z5N7JZ37-Tw-dUSxy.js} +1 -1
  97. package/dist-embed/chunks/{flowDb-185abca5-Cden9aoH.js → flowDb-185abca5-DDUaXZ_Q.js} +1 -1
  98. package/dist-embed/chunks/{flowDiagram-1629c991-Bar9YxSW.js → flowDiagram-1629c991-DpvDtFPK.js} +1 -1
  99. package/dist-embed/chunks/{flowDiagram-HODETNUW-bg09n0_F.js → flowDiagram-HODETNUW-DENY4Bvt.js} +1 -1
  100. package/dist-embed/chunks/{flowDiagram-HODETNUW-02Xo2-6n.js → flowDiagram-HODETNUW-Hr-elwWq.js} +1 -1
  101. package/dist-embed/chunks/{flowDiagram-v2-1d953310-C6FnOAb2.js → flowDiagram-v2-1d953310-TxFSXMN7.js} +1 -1
  102. package/dist-embed/chunks/{flowchart-elk-definition-6df44142-DcmMV2Wi.js → flowchart-elk-definition-6df44142-BGFxwidp.js} +1 -1
  103. package/dist-embed/chunks/{fr-FR-RHASNOE6-DQaq_g67.js → fr-FR-RHASNOE6-CT1NyjSV.js} +1 -1
  104. package/dist-embed/chunks/{ganttDiagram-3b0b3873-BN61xNrz.js → ganttDiagram-3b0b3873-DJqKtGUz.js} +1 -1
  105. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-BCLyiaOJ.js → ganttDiagram-EL5Y4UJY-3bErrKpg.js} +1 -1
  106. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-JviVPOnF.js → ganttDiagram-EL5Y4UJY-Ddh9hVkO.js} +1 -1
  107. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-CzBMuAvA.js → gitGraphDiagram-WWUBYQGX-B3BVHs36.js} +1 -1
  108. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-CNc3l-2t.js → gitGraphDiagram-WWUBYQGX-BiEolUQH.js} +1 -1
  109. package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-7ecaKDp7.js → gitGraphDiagram-f01e8bc2-vOvP_sU8.js} +1 -1
  110. package/dist-embed/chunks/{gl-ES-HMX3MZ6V-BlrLF7Sk.js → gl-ES-HMX3MZ6V-BKTaXj_2.js} +1 -1
  111. package/dist-embed/chunks/{he-IL-6SHJWFNN-DLfo2nov.js → he-IL-6SHJWFNN-BJ5SwTG5.js} +1 -1
  112. package/dist-embed/chunks/{hi-IN-IWLTKZ5I-BcbS0I1h.js → hi-IN-IWLTKZ5I-D5ZQxogx.js} +1 -1
  113. package/dist-embed/chunks/{hu-HU-A5ZG7DT2-B_-3TehM.js → hu-HU-A5ZG7DT2-CoAAAzpy.js} +1 -1
  114. package/dist-embed/chunks/{id-ID-SAP4L64H-C920eBs5.js → id-ID-SAP4L64H-DFWbGjYj.js} +1 -1
  115. package/dist-embed/chunks/{index-D_-7qr4x.js → index-1MXuxaax.js} +1 -1
  116. package/dist-embed/chunks/{index-CGhVy6OJ.js → index-6feFd5AZ.js} +1 -1
  117. package/dist-embed/chunks/{index-MNZ1LVAM.js → index-8Jy3Vws8.js} +6 -6
  118. package/dist-embed/chunks/{index-9bae90f3-_mZDJyzh.js → index-9bae90f3-YA-Pbv-C.js} +1 -1
  119. package/dist-embed/chunks/{index-C2UmIEOV.js → index-B0MhQWhs.js} +1 -1
  120. package/dist-embed/chunks/{index-DcbXB4Ou.js → index-B0omKuYl.js} +1 -1
  121. package/dist-embed/chunks/{index-CLojGXLe.js → index-B8y71UkT.js} +1 -1
  122. package/dist-embed/chunks/{index-DmKOrT_f.js → index-B9vBhR-p.js} +1 -1
  123. package/dist-embed/chunks/{index-B3qU5V3s.js → index-BL4KuFQP.js} +1 -1
  124. package/dist-embed/chunks/{index-BMqDh5WU.js → index-BNFZYAJT.js} +1 -1
  125. package/dist-embed/chunks/{index-BVkaRzYN.js → index-BTeNnRc_.js} +1 -1
  126. package/dist-embed/chunks/{index-W-qUA31l.js → index-BVzIb3Wy.js} +1 -1
  127. package/dist-embed/chunks/{index-D1CRwrf9.js → index-BfMo5nXi.js} +2 -2
  128. package/dist-embed/chunks/{index-C3p2Hbbg.js → index-BgWf1G8H.js} +1 -1
  129. package/dist-embed/chunks/{index-C3zGthUI.js → index-BuyZwxeT.js} +1 -1
  130. package/dist-embed/chunks/{index-7V4MgoX0.js → index-BzQxauhZ.js} +1 -1
  131. package/dist-embed/chunks/{index-Dyv67BU9.js → index-C7os26P7.js} +2 -2
  132. package/dist-embed/chunks/{index-BbtA7ppb.js → index-CCA_V9Td.js} +1 -1
  133. package/dist-embed/chunks/{index-oJ3M8HYJ.js → index-CIDdX0nc.js} +1 -1
  134. package/dist-embed/chunks/{index-C8N5z7FZ.js → index-CkOZcvYl.js} +1 -1
  135. package/dist-embed/chunks/{index-DV2fNvY7.js → index-CxIZHPCc.js} +1 -1
  136. package/dist-embed/chunks/{index-BST3vALX.js → index-D62kZnWZ.js} +3 -3
  137. package/dist-embed/chunks/{index-CuqMWXgT.js → index-DMf0f7ny.js} +3 -3
  138. package/dist-embed/chunks/{index-OZDJ7kli.js → index-DPzPvDBn.js} +1 -1
  139. package/dist-embed/chunks/{index-B0VC_nl2.js → index-DSgHh0-i.js} +1 -1
  140. package/dist-embed/chunks/{index-DmYrjwOw.js → index-DTCcg1ap.js} +1 -1
  141. package/dist-embed/chunks/{index-D95mZTII.js → index-DTbF6Y7O.js} +1 -1
  142. package/dist-embed/chunks/{index-DbHMJ-IM.js → index-Db1qHC1a.js} +1 -1
  143. package/dist-embed/chunks/{index--rbc1jdS.js → index-DiBcWu6d.js} +1 -1
  144. package/dist-embed/chunks/{index-DSts8s_N.js → index-DpJpQnPn.js} +1 -1
  145. package/dist-embed/chunks/{index-DqwL86GY.js → index-Dw1P-H6s.js} +12 -12
  146. package/dist-embed/chunks/{index-k3ISgWrJ.js → index-FbZJIbu_.js} +1 -1
  147. package/dist-embed/chunks/{index-DMTXHmrU.js → index-JhvHCMRQ.js} +1 -1
  148. package/dist-embed/chunks/{index-BVdp0AG7.js → index-TDpnbl90.js} +4 -4
  149. package/dist-embed/chunks/{index-CW0DxnfF.js → index-fQxrRXLD.js} +1 -1
  150. package/dist-embed/chunks/{index.esm-Dy7cyZyH.js → index.esm-B6P80s3J.js} +1 -1
  151. package/dist-embed/chunks/{index.esm-jFa95d0B.js → index.esm-z-R1Ypx2.js} +1 -1
  152. package/dist-embed/chunks/{infoDiagram-27XIBGKW-CuQ0a02I.js → infoDiagram-27XIBGKW-8DlnjSdf.js} +1 -1
  153. package/dist-embed/chunks/{infoDiagram-27XIBGKW-CDc0DV-6.js → infoDiagram-27XIBGKW-CZPNcDbH.js} +1 -1
  154. package/dist-embed/chunks/{infoDiagram-a29d40f1-BKWmVk4B.js → infoDiagram-a29d40f1-Di_kmyTC.js} +1 -1
  155. package/dist-embed/chunks/{isEqual-SWNqZJZT.js → isEqual-D0eOPSLC.js} +1 -1
  156. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-BY7eKNmA.js → ishikawaDiagram-5VMMS53U-DD5TaPvH.js} +1 -1
  157. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-CPu6wHAG.js → ishikawaDiagram-5VMMS53U-ri4cvaWs.js} +1 -1
  158. package/dist-embed/chunks/{it-IT-JPQ66NNP-CsJELR-H.js → it-IT-JPQ66NNP-C7p9bCWQ.js} +1 -1
  159. package/dist-embed/chunks/{ja-JP-DBVTYXUO-Bh4bW0cv.js → ja-JP-DBVTYXUO-DupAM7Cv.js} +1 -1
  160. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-6CRYfcQL.js → journeyDiagram-3NMN7TZE-1NqbTyL4.js} +1 -1
  161. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-Cv_KZqY3.js → journeyDiagram-3NMN7TZE-BpYgEBLO.js} +1 -1
  162. package/dist-embed/chunks/{journeyDiagram-95396277-yJruA0Fm.js → journeyDiagram-95396277-xr9Xk_mL.js} +1 -1
  163. package/dist-embed/chunks/{kaa-6HZHGXH3-BmDtc0g0.js → kaa-6HZHGXH3-DrthOcPY.js} +1 -1
  164. package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-Bluox3dD.js → kab-KAB-ZGHBKWFO-C4hr0kbU.js} +1 -1
  165. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-Dps45ZlJ.js → kanban-definition-UXKFOSKX-B5nUu45Q.js} +1 -1
  166. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-Biauy1A4.js → kanban-definition-UXKFOSKX-DlSwjr3b.js} +1 -1
  167. package/dist-embed/chunks/{kk-KZ-P5N5QNE5-EZjFhsK8.js → kk-KZ-P5N5QNE5-CrjDkh9r.js} +1 -1
  168. package/dist-embed/chunks/{km-KH-HSX4SM5Z-BpZu76AC.js → km-KH-HSX4SM5Z-JHWf7VZ6.js} +1 -1
  169. package/dist-embed/chunks/{ko-KR-MTYHY66A-C5JZPTHd.js → ko-KR-MTYHY66A-CJ4JxKMG.js} +1 -1
  170. package/dist-embed/chunks/{ku-TR-6OUDTVRD-BUaf6TOB.js → ku-TR-6OUDTVRD-YSlLPag_.js} +1 -1
  171. package/dist-embed/chunks/{layout-C8INuwYa.js → layout-5FOjTADt.js} +1 -1
  172. package/dist-embed/chunks/{layout-CEbgEIwd.js → layout-Bdtul_rg.js} +1 -1
  173. package/dist-embed/chunks/{lexicalHooks-DFMSPigW.js → lexicalHooks-eqXJbnX9.js} +1 -1
  174. package/dist-embed/chunks/{lt-LT-XHIRWOB4-CuGmKRQr.js → lt-LT-XHIRWOB4-2v6r2YYq.js} +1 -1
  175. package/dist-embed/chunks/{lv-LV-5QDEKY6T-EYERw_NP.js → lv-LV-5QDEKY6T-DVGd68q4.js} +1 -1
  176. package/dist-embed/chunks/{mermaid.core-hzdTpjmh.js → mermaid.core-BU1Nkb56.js} +5 -5
  177. package/dist-embed/chunks/{mermaid.core-BeAq5EQp.js → mermaid.core-DY5DKOtx.js} +3 -3
  178. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX--O06aygF.js → mindmap-definition-YA3MSWOX-CEuIjXO2.js} +1 -1
  179. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-iB7eW5x9.js → mindmap-definition-YA3MSWOX-sSfUfKt8.js} +1 -1
  180. package/dist-embed/chunks/{mindmap-definition-e4c1d938-DCwgMhNw.js → mindmap-definition-e4c1d938-btrk6STt.js} +1 -1
  181. package/dist-embed/chunks/{mr-IN-CRQNXWMA-SKx4bMeU.js → mr-IN-CRQNXWMA-D1q8zjMr.js} +1 -1
  182. package/dist-embed/chunks/{my-MM-5M5IBNSE-BG-vgEXz.js → my-MM-5M5IBNSE-CCWuEpIN.js} +1 -1
  183. package/dist-embed/chunks/{nb-NO-T6EIAALU-BbW-11AI.js → nb-NO-T6EIAALU-eJ92wx2h.js} +1 -1
  184. package/dist-embed/chunks/{nl-NL-IS3SIHDZ-CSKGpuSJ.js → nl-NL-IS3SIHDZ-DmkMgsvp.js} +1 -1
  185. package/dist-embed/chunks/{nn-NO-6E72VCQL-P1tnp9TQ.js → nn-NO-6E72VCQL-CWYEaXBn.js} +1 -1
  186. package/dist-embed/chunks/{oc-FR-POXYY2M6-vpu8tuQT.js → oc-FR-POXYY2M6-CayriaEZ.js} +1 -1
  187. package/dist-embed/chunks/{pa-IN-N4M65BXN-CIpdGll2.js → pa-IN-N4M65BXN-CydiKcR8.js} +1 -1
  188. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-ZPizxhEX.js → pegDiagram-XKGWAZYB--dcG-x2B.js} +1 -1
  189. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-Bon6jQ3L.js → pegDiagram-XKGWAZYB-CqRRvKft.js} +1 -1
  190. package/dist-embed/chunks/{percentages-BXMCSKIN-hVEpOtFm.js → percentages-BXMCSKIN-fzYCDL7m.js} +5 -5
  191. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-C0Pc9GUi.js → pieDiagram-E7YTZNPT-CkHpKSua.js} +1 -1
  192. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-Di8dEHt9.js → pieDiagram-E7YTZNPT-D-uncTun.js} +1 -1
  193. package/dist-embed/chunks/{pieDiagram-c941bede-C--hwbRv.js → pieDiagram-c941bede-BoVaJIdw.js} +1 -1
  194. package/dist-embed/chunks/{pl-PL-T2D74RX3-Ckyj0Mzv.js → pl-PL-T2D74RX3-DhiK4YSC.js} +1 -1
  195. package/dist-embed/chunks/{pt-BR-5N22H2LF-3jDc9_Aa.js → pt-BR-5N22H2LF-CwSVxIqs.js} +1 -1
  196. package/dist-embed/chunks/{pt-PT-UZXXM6DQ-lhLbXf7Q.js → pt-PT-UZXXM6DQ-BnxquNJT.js} +1 -1
  197. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-Ffo3hgR0.js → quadrantDiagram-AXDQQJYC-ClE_bWPS.js} +1 -1
  198. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-D0QYtpIp.js → quadrantDiagram-AXDQQJYC-nOA8Q9nG.js} +1 -1
  199. package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-Bqmed-0s.js → quadrantDiagram-cf8b8fe0-V_e2KgDu.js} +1 -1
  200. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-BMC9Ldnh.js → railroadDiagram-O6MQD6OU-CkhmY0tS.js} +1 -1
  201. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-aTc7bF4I.js → railroadDiagram-O6MQD6OU-D-SNyKIn.js} +1 -1
  202. package/dist-embed/chunks/{renderer-CR6Lxa3d.js → renderer-BwlsmtXF.js} +1 -1
  203. package/dist-embed/chunks/{requirementDiagram-53bda41b-DExdw0ey.js → requirementDiagram-53bda41b-BZw7Ipej.js} +1 -1
  204. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-mBFLHcqA.js → requirementDiagram-BXWQKSXE-1A97ivzl.js} +1 -1
  205. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-DBj1iVv5.js → requirementDiagram-BXWQKSXE-BXwXUXrr.js} +1 -1
  206. package/dist-embed/chunks/{ro-RO-JPDTUUEW-Dy9oeW3b.js → ro-RO-JPDTUUEW-D3G2f_fQ.js} +1 -1
  207. package/dist-embed/chunks/{ru-RU-B4JR7IUQ-CK16-wfD.js → ru-RU-B4JR7IUQ-SnVfNwaW.js} +1 -1
  208. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-DzaadHXz.js → sankeyDiagram-P5KCCOFB-0B_Kvjm2.js} +1 -1
  209. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-9W9X5V7a.js → sankeyDiagram-P5KCCOFB-ktT6v9aY.js} +1 -1
  210. package/dist-embed/chunks/{sankeyDiagram-c3ef121a-B6u8wnkU.js → sankeyDiagram-c3ef121a-e1QLivkZ.js} +1 -1
  211. package/dist-embed/chunks/{sequenceDiagram-82a5b84f-Bq8bvLh8.js → sequenceDiagram-82a5b84f-N-16oABv.js} +1 -1
  212. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-BNfJw8_y.js → sequenceDiagram-WJ2MYXX4-CtbkJYCv.js} +1 -1
  213. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-B76NTf4c.js → sequenceDiagram-WJ2MYXX4-DYY-dZgX.js} +1 -1
  214. package/dist-embed/chunks/{sessions-XxjScqnJ.js → sessions-C9DBCyZI.js} +1 -1
  215. package/dist-embed/chunks/{si-LK-N5RQ5JYF-AJdaUbzl.js → si-LK-N5RQ5JYF-Da7Bfexz.js} +1 -1
  216. package/dist-embed/chunks/{sizeCapture-INFHLROL-KZBUxNmb.js → sizeCapture-INFHLROL-B3xt8UaI.js} +1 -1
  217. package/dist-embed/chunks/{sizeCapture-INFHLROL-DQ5s0TIW.js → sizeCapture-INFHLROL-DJOph387.js} +1 -1
  218. package/dist-embed/chunks/{sk-SK-C5VTKIMK-Bk82hIVU.js → sk-SK-C5VTKIMK-BB-Ks1b-.js} +1 -1
  219. package/dist-embed/chunks/{sl-SI-NN7IZMDC-DSFcvf6W.js → sl-SI-NN7IZMDC-DF3fUKHX.js} +1 -1
  220. package/dist-embed/chunks/{stateDiagram-43e79a5f-BiTTNI1Z.js → stateDiagram-43e79a5f-BJcJNr41.js} +1 -1
  221. package/dist-embed/chunks/{stateDiagram-D77RDMKH-D4hQpdZ2.js → stateDiagram-D77RDMKH-DVd0MOrg.js} +1 -1
  222. package/dist-embed/chunks/{stateDiagram-D77RDMKH-lndPMO3D.js → stateDiagram-D77RDMKH-LjWP-fRB.js} +1 -1
  223. package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-BbFiQEfG.js → stateDiagram-v2-2041ed4f-DTEruWg2.js} +1 -1
  224. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-pqcRT12A.js → stateDiagram-v2-MP3YSRHH-CJD5_Eji.js} +1 -1
  225. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-C-kIBdBJ.js → stateDiagram-v2-MP3YSRHH-_xCQcvgo.js} +1 -1
  226. package/dist-embed/chunks/{styles-455b33cd-U9lx7mAf.js → styles-455b33cd-OIhmfs6N.js} +1 -1
  227. package/dist-embed/chunks/{styles-f932cba9-S-lYZYdK.js → styles-f932cba9-CwLjreIv.js} +1 -1
  228. package/dist-embed/chunks/{styles-fcc2142b-DfudfB3j.js → styles-fcc2142b-DP74dQpR.js} +1 -1
  229. package/dist-embed/chunks/{subset-shared.chunk-f2gmZjeG.js → subset-shared.chunk-Cf9zgTA9.js} +1 -1
  230. package/dist-embed/chunks/{subset-worker.chunk-De1CPIQ6.js → subset-worker.chunk-WYW3AHku.js} +1 -1
  231. package/dist-embed/chunks/{sv-SE-XGPEYMSR-BbGfLHIi.js → sv-SE-XGPEYMSR-CeR-pJHy.js} +1 -1
  232. package/dist-embed/chunks/{svgDrawCommon-148a3cd9-ClgHG0vb.js → svgDrawCommon-148a3cd9-CgE5QJIv.js} +1 -1
  233. package/dist-embed/chunks/{swimlanes-42K2YHIH-OqZ4t-07.js → swimlanes-42K2YHIH-CZyflHYJ.js} +1 -1
  234. package/dist-embed/chunks/{swimlanes-42K2YHIH-CjV1bdPk.js → swimlanes-42K2YHIH-Cj4fdAYa.js} +1 -1
  235. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-9twpvQtj.js → swimlanesDiagram-VR7AAH4N-B2gk37ys.js} +1 -1
  236. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BdS4NGOx.js → swimlanesDiagram-VR7AAH4N-Bmr6N4fj.js} +1 -1
  237. package/dist-embed/chunks/{ta-IN-2NMHFXQM-BWMJgnI2.js → ta-IN-2NMHFXQM-lmsodGuU.js} +1 -1
  238. package/dist-embed/chunks/{th-TH-HPSO5L25-DiP_CZXl.js → th-TH-HPSO5L25-DQCWr96I.js} +1 -1
  239. package/dist-embed/chunks/{timeline-definition-24CTP7MA-Cs4Bwobu.js → timeline-definition-24CTP7MA-D5dMAy5U.js} +1 -1
  240. package/dist-embed/chunks/{timeline-definition-24CTP7MA-B7uSaXDu.js → timeline-definition-24CTP7MA-DqY5EM6p.js} +1 -1
  241. package/dist-embed/chunks/{timeline-definition-7545f45a-CHrBluu1.js → timeline-definition-7545f45a-B8wMEyZY.js} +1 -1
  242. package/dist-embed/chunks/{tr-TR-DEFEU3FU-CKMBvOkr.js → tr-TR-DEFEU3FU-CqnvlGZW.js} +1 -1
  243. package/dist-embed/chunks/{uk-UA-QMV73CPH-CQL0E0jU.js → uk-UA-QMV73CPH-DdWFjbHe.js} +1 -1
  244. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-uwWpr4uC.js → vennDiagram-4TSXK5OY-63-O_xI8.js} +1 -1
  245. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-CHSyRZN_.js → vennDiagram-4TSXK5OY-BMg6wc5A.js} +1 -1
  246. package/dist-embed/chunks/{vi-VN-M7AON7JQ-BpvEBNJo.js → vi-VN-M7AON7JQ-CydTT0Fi.js} +1 -1
  247. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-0UuvD-IO.js → wardleyDiagram-VM6X3IG4-C5wMQ_qe.js} +1 -1
  248. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-zIfOyYBf.js → wardleyDiagram-VM6X3IG4-C9vLUvHf.js} +1 -1
  249. package/dist-embed/chunks/{xychartDiagram-3f383b91-ChbRPzo8.js → xychartDiagram-3f383b91-BfoQg8n9.js} +1 -1
  250. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-hCGgyjir.js → xychartDiagram-S5SC5T6Z-BZr3T3n_.js} +1 -1
  251. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-q9gcUSF1.js → xychartDiagram-S5SC5T6Z-DthHDnAV.js} +1 -1
  252. package/dist-embed/chunks/{zh-CN-LNUGB5OW-DWmzAIjK.js → zh-CN-LNUGB5OW-DEn1TFfK.js} +1 -1
  253. package/dist-embed/chunks/{zh-HK-E62DVLB3-CQ-xPzHX.js → zh-HK-E62DVLB3-DJQRmOHH.js} +1 -1
  254. package/dist-embed/chunks/{zh-TW-RAJ6MFWO-DvlSTykD.js → zh-TW-RAJ6MFWO-B7s9vmSf.js} +1 -1
  255. package/dist-embed/datalayer-app-main.js +52 -52
  256. package/lib/apps/embed/visitorApp.d.ts +1 -1
  257. package/lib/apps/embed/visitorApp.js +1 -1
  258. package/lib/apps/plugins/chat/ChatView.js +13 -2
  259. package/lib/chat/ChatFloating.js +4 -1
  260. package/lib/chat/base/ChatBase.js +11 -3
  261. package/lib/chat/prompt/InputPrompt.d.ts +6 -1
  262. package/lib/chat/prompt/InputPrompt.js +12 -2
  263. package/lib/voice/ComposerVoice.d.ts +15 -2
  264. package/lib/voice/ComposerVoice.js +23 -17
  265. package/lib/voice/VoiceMenu.d.ts +27 -0
  266. package/lib/voice/VoiceMenu.js +32 -0
  267. package/lib/voice/chatVoice.js +2 -2
  268. package/lib/voice/choices.d.ts +33 -0
  269. package/lib/voice/choices.js +70 -0
  270. package/lib/voice/index.d.ts +4 -0
  271. package/lib/voice/index.js +3 -0
  272. package/lib/voice/settings.d.ts +17 -1
  273. package/lib/voice/settings.js +64 -1
  274. package/lib/voice/useVoiceSettings.d.ts +6 -0
  275. package/lib/voice/useVoiceSettings.js +25 -0
  276. package/package.json +1 -1
  277. package/dist-embed/chunks/ChatView-C2La9033.js +0 -32
@@ -1 +1 @@
1
- import{c1 as S,v as i,ak as E,da as Z,db as ee,dc as J,dd as te,c8 as oe,c2 as ne,an as ie,de as re,c4 as ae,df as le,b$ as se,ai as x,dg as de,dh as ce,di as me,dj as ue,dk as pe,dl as I,dm as O,dn as B,dp as R,dq as fe,dr as he,ds as ge,dt as be,bx as ve,du as ye,dv as G,_ as N,dw as _e,dx as Ee,W as Ce,dy as je,dz as $,dA as A,dB as Fe,dC as Se}from"../datalayer-app-main.js";import{T as xe,b as ke}from"./index-CuqMWXgT.js";import{I as Ie}from"./tokens-BHMD_ju9.js";import{I as Te}from"./tokens-CydTkiyv.js";import{C as we,a as Ne}from"./index-Dyv67BU9.js";import{I as z,a as H,b as M}from"./token-BRjncM66.js";import{F as Ae,c as Me,A as Le,g as W,v as Pe}from"./index-7V4MgoX0.js";import{I as De}from"./tokens-BHLmeqjP.js";import{a as Oe}from"./tokens-_fLcuFXz.js";import{c as Be}from"./index-D1CRwrf9.js";import{s as Re}from"./hover-oeJgWZ71.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-SWNqZJZT.js";import"./Output-OIgTyxpD.js";import"./index-DSts8s_N.js";import"./color-CG7_7V2-.js";import"./defaultLocale-5voVPcsN.js";import"./index-DbMBnR4l.js";import"./KebabHorizontalIcon-CXDXtkuL.js";import"./PaintbrushIcon-CLU8RilX.js";import"./index-BJhxZF_K.js";import"./RestartIcon-Ca6_HoK0.js";import"./CellSidebarExtension-Dwe7PfXi.js";import"./NotebookSkeleton-CI7ovjNW.js";import"./Avatar-9MpXENSs.js";import"./renderer-CR6Lxa3d.js";import"./SquareIcon-e3ygcjpv.js";import"./SortAscIcon-CVKVWIWQ.js";import"./url-DuKx0yk0.js";/* empty css */import"./index-Dro44tIm.js";/* empty css *//* 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-Y3PTljcl.js";import"./SkubbleIcon-tlg17jBG.js";import"./usePrimerThemeBridge-CoHussa9.js";import"./index-C3p2Hbbg.js";import"./KernelVariables-Cu7UeFhT.js";import"./index-BvgsWH_d.js";import"./SortDescIcon-CS4EzHeS.js";import"./NotebookToolbar-rtMQZWHQ.js";import"./RepoPushIcon-Cm8g9NuL.js";import"./Toolbar-CGQDY041.js";import"./sessions-XxjScqnJ.js";import"./tokens-DTIgYcNS.js";import"./drivecontents-CxwZz_5W.js";import"./kernel-BI-BLP-K.js";const Ge={submitButtonOptions:{norender:!0}},V=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:E).load("jupyterlab");let a;const l=()=>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 d={tag:"span",elementPosition:"center"};return a=t.direction==="up"?i.createElement(Z.react,{...d}):i.createElement(ee.react,{...d}),i.createElement(J,{className:"jp-ArrayOperationsButton",onClick:t.item.onReorderClick(t.item.index,u),disabled:l(),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:l()},t.direction==="up"?r.__("Move up"):r.__("Move down"))},$e=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:E).load("jupyterlab");let a;return t.buttonStyle==="icons"?(a=i.createElement(te.react,{tag:"span",elementPosition:"center"}),i.createElement(J,{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"))},K=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:E).load("jupyterlab");let a;return t.buttonStyle==="icons"?a=i.createElement(oe.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 L(t){const{component:e,name:r,buttonStyle:a,compact:l,showModifiedFromDefault:u,translator:d}=t,s=l??!1,m=a??(s?"icons":"text"),f=o=>e({...o,buttonStyle:m,compact:s,showModifiedFromDefault:u??!0,translator:d??E});return r&&(f.displayName=r),f}function Y(t,e){const r=W("TitleFieldTemplate",t,e),a=W("DescriptionFieldTemplate",t,e);return{TitleField:r,DescriptionField:a}}const We=t=>L({...t,name:"JupyterLabArrayTemplate",component:e=>{var r;const{schema:a,registry:l,uiSchema:u,required:d}=e,s={schema:a,registry:l,uiSchema:u,required:d},{TitleField:m,DescriptionField:f}=Y(l,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(m,{...s,title:e.title,id:`${e.idSchema.$id}-title`}),i.createElement(f,{...s,id:`${e.idSchema.$id}-description`,description:(r=e.schema.description)!==null&&r!==void 0?r:""})),e.items.map(o=>i.createElement("div",{key:o.key,className:o.className},o.children,i.createElement("div",{className:"jp-ArrayOperations"},i.createElement(V,{buttonStyle:e.buttonStyle,translator:e.translator,item:o,direction:"up"}),i.createElement(V,{buttonStyle:e.buttonStyle,translator:e.translator,item:o,direction:"down"}),i.createElement($e,{buttonStyle:e.buttonStyle,translator:e.translator,item:o})))),e.canAdd&&i.createElement(K,{onAddClick:e.onAddClick,buttonStyle:e.buttonStyle,translator:e.translator}))}}),Ve=t=>L({...t,name:"JupyterLabObjectTemplate",component:e=>{var r;const{schema:a,registry:l,uiSchema:u,required:d}=e,s={schema:a,registry:l,uiSchema:u,required:d},{TitleField:m,DescriptionField:f}=Y(l,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||S.emptyObject)["ui:title"])&&i.createElement(m,{...s,id:`${e.idSchema.$id}__title`,title:e.title||`${(e.uiSchema||S.emptyObject)["ui:title"]}`||""}),i.createElement(f,{...s,id:`${e.idSchema.$id}__description`,description:(r=e.schema.description)!==null&&r!==void 0?r:""})),e.properties.map(o=>o.content),Me(e.schema,e.uiSchema,e.formData)&&i.createElement(K,{onAddClick:e.onAddClick(e.schema),buttonStyle:e.buttonStyle,translator:e.translator}))}}),qe=t=>L({...t,name:"JupyterLabFieldTemplate",component:e=>{var r;const a=((r=e.translator)!==null&&r!==void 0?r:E).load("jupyterlab");let l=!1,u;const{formData:d,schema:s,label:m,displayLabel:f,id:o,formContext:n,errors:c,rawErrors:p,children:h,onKeyChange:b,onDropPropertyClick:v}=e,{defaultFormData:j}=n,_=o.split("_");_.shift();const C=_.join("."),y=C==="",F=C===(e.uiSchema||S.emptyObject)["ui:field"];e.showModifiedFromDefault&&(u=_.reduce((k,X)=>k?.[X],j),l=!y&&d!==void 0&&u!==void 0&&!s.properties&&s.type!=="array"&&!S.deepEqual(d,u));const P=!y&&s.type!="object"&&o!="jp-SettingsEditor-@jupyterlab/shortcuts-extension:shortcuts_shortcuts",w=s.hasOwnProperty(Le),D=!(s.type==="object"||s.type==="array");return i.createElement("div",{className:`form-group ${f||s.type==="boolean"?"small-field":""}`},!F&&(p?.length?i.createElement("div",{className:"jp-modifiedIndicator jp-errorIndicator"}):l&&i.createElement("div",{className:"jp-modifiedIndicator"})),i.createElement("div",{className:`jp-FormGroup-content ${e.compact?"jp-FormGroup-contentCompact":"jp-FormGroup-contentNormal"}`},D&&f&&!y&&m&&!w?e.compact?i.createElement("div",{className:"jp-FormGroup-compactTitle"},i.createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},m),D&&s.description&&P&&i.createElement("div",{className:"jp-FormGroup-description"},s.description)):i.createElement("h3",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},m):i.createElement(i.Fragment,null),w&&i.createElement("input",{className:"jp-FormGroup-contentItem jp-mod-styled",type:"text",onBlur:k=>b(k.target.value),defaultValue:m}),i.createElement("div",{className:`${y?"jp-root":s.type==="object"?"jp-objectFieldWrapper":s.type==="array"?"jp-arrayFieldWrapper":"jp-inputFieldWrapper jp-FormGroup-contentItem"}`},h),w&&i.createElement("button",{className:"jp-FormGroup-contentItem jp-mod-styled jp-mod-warn jp-FormGroup-removeButton",onClick:v(m)},a.__("Remove")),!e.compact&&s.description&&P&&i.createElement("div",{className:"jp-FormGroup-description"},s.description),l&&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"},c)))}});function Ue(t){const{buttonStyle:e,compact:r,showModifiedFromDefault:a,translator:l,formContext:u,...d}=t,s={...d.uiSchema||S.emptyObject};s["ui:options"]={...Ge,...s["ui:options"]},d.uiSchema=s;const{FieldTemplate:m,ArrayFieldTemplate:f,ObjectFieldTemplate:o}=t.templates||S.emptyObject,n={buttonStyle:e,compact:r,showModifiedFromDefault:a,translator:l},c=i.useMemo(()=>m??qe(n),[m,e,r,a,l]),p=i.useMemo(()=>f??We(n),[f,e,r,a,l]),h=i.useMemo(()=>o??Ve(n),[o,e,r,a,l]),b={FieldTemplate:c,ArrayFieldTemplate:p,ObjectFieldTemplate:h};return i.createElement(Ae,{templates:b,formContext:u,...d})}class Je 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||E,this._trans=this.translator.load("jupyterlab"),this.state={value:"",hasFocus:!1,textInputId:re.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:ae("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(le.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 ze(t){const r=(t.translator||E).load("jupyterlab"),a=l=>{if(l.key==="Enter"||l.key==="Spacebar"||l.key===" ")l.preventDefault(),l.stopPropagation(),t.handleClick();else return};return i.createElement(xe,{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 T extends ne{constructor(e){super(new T.Model),this._popup=null,this.addClass("jp-mod-highlighted"),this.translator=e||E}render(){return this.model===null?null:i.createElement(ze,{line:this.model.line,column:this.model.column,translator:this.translator,handleClick:()=>this._handleClick()})}_handleClick(){this._popup&&this._popup.dispose();const e=ie.create(i.createElement(Je,{handleSubmit:r=>this._handleSubmit(r),currentLine:this.model.line,maxLine:this.model.editor.lineCount,translator:this.translator}));this._popup=Re({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 se{constructor(){super(...arguments),this._onSelectionChanged=()=>{const a=this._getAllState(),l=this.editor.getCursorPosition();this._line=l.line+1,this._column=l.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 l;const u=this._editor;!((l=u?.model)===null||l===void 0)&&l.selections&&u.model.selections.changed.disconnect(this._onSelectionChanged);const d=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(d,this._getAllState())}get line(){return this._line}get column(){return this._column}_getAllState(){return[this._line,this._column]}_triggerChange(a,l){(a[0]!==l[0]||a[1]!==l[1])&&this.stateChanged.emit(void 0)}}t.Model=e})(T||(T={}));var g;(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.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"})(g||(g={}));const q=".cm-content",He={id:"@jupyterlab/codemirror-extension:commands",description:"Registers commands acting on selected/active CodeMirror editor.",autoStart:!0,requires:[Te],optional:[x,ke],activate:(t,e,r,a)=>{r=r??E;const l=r.load("jupyterlab"),u=o=>o.classList.contains(q),d=()=>{var o,n;const c=(o=t.contextMenuHitTest(u))!==null&&o!==void 0?o:(n=document.activeElement)===null||n===void 0?void 0:n.closest(q);if(c)return ve.findFromDOM(c)},s=()=>!!d(),m=()=>{var o,n;const c=t.shell.currentWidget,p=(o=e.currentWidget)===null||o===void 0?void 0:o.content;if(e.currentWidget!==null&&e.currentWidget===c&&p&&p.activeCell)return{type:"notebook",widget:c,notebook:p,isEnabled:!0};const h=c;return h&&h.content&&typeof((n=h.content.editor)===null||n===void 0?void 0:n.focus)=="function"?{type:"fileEditor",widget:h,isEnabled:!0}:{type:"none",widget:null,isEnabled:!1}},f=()=>m().isEnabled;if(t.commands.addCommand(g.deleteLine,{label:l.__("Delete the current line"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&de(o)},isEnabled:s}),t.commands.addCommand(g.toggleBlockComment,{label:l.__("Toggle Block Comment"),caption:l.__("Toggles block comments in languages which support it (e.g. C, JavaScript)"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&ce(o)},isEnabled:s}),t.commands.addCommand(g.toggleComment,{label:l.__("Toggle Comment"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&me(o)},isEnabled:s}),t.commands.addCommand(g.toggleTabFocusMode,{label:l.__("Toggle Tab Focus Mode"),caption:l.__("Toggles behavior of Tab key between inserting indentation and moving to next focusable element"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&ue(o)},isEnabled:s}),t.commands.addCommand(g.selectNextOccurrence,{label:l.__("Select Next Occurrence"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&pe(o)},isEnabled:s}),t.commands.addCommand(g.foldCurrent,{label:l.__("Fold Current Region"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(!c)return;const{state:p}=c,h=p.selection.main.head,b=p.doc.lineAt(h);I(p,b.from,b.to)&&O(c)},isEnabled:f}),t.commands.addCommand(g.unfoldCurrent,{label:l.__("Unfold Current Region"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(!c)return;const{state:p}=c,h=p.selection.main.head,b=p.doc.lineAt(h);I(p,b.from,b.to)&&B(c)},isEnabled:f}),t.commands.addCommand(g.foldSubregions,{label:l.__("Fold All Subregions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(c)try{const{state:p}=c,h=p.selection.main.head,b=p.doc.lineAt(h),v=I(p,b.from,b.to);let j=!1;try{j=p.field(R,!1)!==void 0}catch{j=!1}if(j||(O(c),B(c)),!v)return;const _=[];let C=v.from+1;for(;C<v.to;){const y=p.doc.lineAt(C),F=I(p,y.from,y.to);F&&F.from>v.from&&F.to<=v.to?(_.push(fe.of(F)),C=F.to):C=y.to+1}_.length>0&&c.dispatch({effects:_})}catch{}},isEnabled:f}),t.commands.addCommand(g.unfoldSubregions,{label:l.__("Unfold All Subregions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(c)try{const{state:p}=c,h=p.selection.main.head,b=p.doc.lineAt(h),v=I(p,b.from,b.to);if(!v)return;const j=p.field(R,!1);if(!j)return;const _=[];j.between(v.from+1,v.to,(C,y)=>{C>v.from&&y<=v.to&&_.push(he.of({from:C,to:y}))}),_.length>0&&c.dispatch({effects:_})}catch{}},isEnabled:f}),t.commands.addCommand(g.foldAll,{label:l.__("Fold All Regions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(c)try{ge(c)}catch{}},isEnabled:f}),t.commands.addCommand(g.unfoldAll,{label:l.__("Unfold All Regions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(c)try{be(c)}catch{}},isEnabled:f}),a){const o=l.__("File Operations");[g.foldCurrent,g.unfoldCurrent,g.foldSubregions,g.unfoldSubregions,g.foldAll,g.unfoldAll].forEach(n=>{a.addItem({command:n,category:o})})}}},U="@jupyterlab/codemirror-extension:plugin",Ke={id:"@jupyterlab/codemirror-extension:languages",description:"Provides the CodeMirror languages registry.",provides:z,optional:[x],activate:(t,e)=>{const r=new G;for(const a of G.getDefaultLanguages(e))r.addLanguage(a);return r.addLanguage({name:"ipythongfm",mime:"text/x-ipythongfm",load:async()=>{const[a,l,u]=await Promise.all([N(()=>import("./index-7F_pA42X.js"),[],import.meta.url),N(()=>import("./index-DbMBnR4l.js"),[],import.meta.url),N(()=>import("./stex-C3f8Ysf7.js"),[],import.meta.url)]),d=a.markdown({base:a.markdownLanguage,codeLanguages:s=>r.findBest(s),extensions:[_e(Ee.define(u.stexMath).parser)]});return new Ce(d.language,[d.support,je(l.pythonLanguage)])}}),r}},Ye={id:"@jupyterlab/codemirror-extension:themes",description:"Provides the CodeMirror theme registry",provides:H,optional:[x],activate:(t,e)=>{const r=new $;for(const a of $.getDefaultThemes(e))r.addTheme(a);return r}},Qe={id:"@jupyterlab/codemirror-extension:extensions",description:"Provides the CodeMirror extension factory registry.",provides:M,requires:[H],optional:[x,De,Oe],activate:(t,e,r,a,l)=>{const u=new A;for(const d of A.getDefaultExtensions({themes:e,translator:r}))u.addExtension(d);if(a){const d=s=>{var m;u.baseConfiguration=(m=s.get("defaultConfig").composite)!==null&&m!==void 0?m:{}};Promise.all([a.load(U),t.restored]).then(([s])=>{d(s),s.changed.connect(d)}),l?.addRenderer(`${U}.defaultConfig`,{fieldRenderer:s=>{let m;const f=i.useMemo(()=>u.settingsSchema,[]);s.name in s.formContext.defaultFormData?m=s.formContext.defaultFormData[s.name]:m={};for(const[o,n]of Object.entries(u.defaultConfiguration))typeof f[o]<"u"&&!(o in m)&&(m[o]=n);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(Ue,{schema:{title:s.schema.title,description:s.schema.description,type:"object",properties:f,additionalProperties:!1},validator:Pe,formData:{...m,...s.formData},formContext:{defaultFormData:m},liveValidate:!0,onChange:o=>{var n;const c={};for(const[p,h]of Object.entries((n=o.formData)!==null&&n!==void 0?n:{})){const b=m[p];(b===void 0||!S.deepEqual(h,b))&&(c[p]=h)}s.onChange(c)},tagName:"div",translator:r??E}))}})}return u}},Xe={id:"@jupyterlab/codemirror-extension:binding",description:"Register the CodeMirror extension factory binding the editor and the shared model.",autoStart:!0,requires:[M],activate:(t,e)=>{e.addExtension({name:"shared-model-binding",factory:r=>{var a;const l=r.model.sharedModel;return A.createImmutableExtension(Fe({ytext:l.ysource,undoManager:(a=l.undoManager)!==null&&a!==void 0?a:void 0}))}})}},Ze={id:"@jupyterlab/codemirror-extension:services",description:"Provides the service to instantiate CodeMirror editors.",provides:ye,requires:[z,M],optional:[x],activate:(t,e,r,a)=>({factoryService:new we({extensions:r,languages:e,translator:a??E}),mimeTypeService:new Ne(e)})},Q={id:"@jupyterlab/codemirror-extension:line-col-status",description:"Provides the code editor cursor position model.",autoStart:!0,requires:[x],optional:[Be,Ie],provides:Se,activate:(t,e,r,a)=>{const l=new T(e),u=new Set;a&&a.registerStatusItem(Q.id,{priority:1,item:l,align:"right",rank:2,isActive:()=>!!l.model.editor});const d=f=>{u.add(f),t.shell.currentWidget&&m(t.shell,{newValue:t.shell.currentWidget})},s=()=>{m(t.shell,{oldValue:t.shell.currentWidget,newValue:t.shell.currentWidget})};function m(f,o){Promise.all([...u].map(n=>n(o.newValue))).then(n=>{var c;l.model.editor=(c=n.filter(p=>p!==null)[0])!==null&&c!==void 0?c:null}).catch(n=>{console.error("Get editors",n)})}return r&&r.currentChanged.connect(m),{addEditorProvider:d,update:s}}},uo=[He,Ke,Ye,Xe,Qe,Ze,Q];export{uo as default,Q as lineColItem};
1
+ import{c1 as S,v as i,ak as E,da as Z,db as ee,dc as J,dd as te,c8 as oe,c2 as ne,an as ie,de as re,c4 as ae,df as le,b$ as se,ai as x,dg as de,dh as ce,di as me,dj as ue,dk as pe,dl as I,dm as O,dn as B,dp as R,dq as fe,dr as he,ds as ge,dt as be,bx as ve,du as ye,dv as G,_ as N,dw as _e,dx as Ee,W as Ce,dy as je,dz as $,dA as A,dB as Fe,dC as Se}from"../datalayer-app-main.js";import{T as xe,b as ke}from"./index-DMf0f7ny.js";import{I as Ie}from"./tokens-BHMD_ju9.js";import{I as Te}from"./tokens-CydTkiyv.js";import{C as we,a as Ne}from"./index-C7os26P7.js";import{I as z,a as H,b as M}from"./token-BRjncM66.js";import{F as Ae,c as Me,A as Le,g as W,v as Pe}from"./index-BzQxauhZ.js";import{I as De}from"./tokens-BHLmeqjP.js";import{a as Oe}from"./tokens-_fLcuFXz.js";import{c as Be}from"./index-BfMo5nXi.js";import{s as Re}from"./hover-oeJgWZ71.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-D0eOPSLC.js";import"./Output-C4hBhZ5k.js";import"./index-DpJpQnPn.js";import"./color-CG7_7V2-.js";import"./defaultLocale-5voVPcsN.js";import"./index-DbMBnR4l.js";import"./KebabHorizontalIcon-CXDXtkuL.js";import"./PaintbrushIcon-CLU8RilX.js";import"./index-BJhxZF_K.js";import"./RestartIcon-Ca6_HoK0.js";import"./CellSidebarExtension-p2BAkwis.js";import"./NotebookSkeleton-CI7ovjNW.js";import"./Avatar-9MpXENSs.js";import"./renderer-BwlsmtXF.js";import"./SquareIcon-e3ygcjpv.js";import"./SortAscIcon-CVKVWIWQ.js";import"./url-DuKx0yk0.js";/* empty css */import"./index-Dro44tIm.js";/* empty css *//* 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-Y3PTljcl.js";import"./SkubbleIcon-tlg17jBG.js";import"./usePrimerThemeBridge-CoHussa9.js";import"./index-BgWf1G8H.js";import"./KernelVariables-ompObBEM.js";import"./index-BvgsWH_d.js";import"./SortDescIcon-CS4EzHeS.js";import"./NotebookToolbar-rtMQZWHQ.js";import"./RepoPushIcon-Cm8g9NuL.js";import"./Toolbar-CGQDY041.js";import"./sessions-C9DBCyZI.js";import"./tokens-DTIgYcNS.js";import"./drivecontents-CxwZz_5W.js";import"./kernel-BI-BLP-K.js";const Ge={submitButtonOptions:{norender:!0}},V=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:E).load("jupyterlab");let a;const l=()=>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 d={tag:"span",elementPosition:"center"};return a=t.direction==="up"?i.createElement(Z.react,{...d}):i.createElement(ee.react,{...d}),i.createElement(J,{className:"jp-ArrayOperationsButton",onClick:t.item.onReorderClick(t.item.index,u),disabled:l(),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:l()},t.direction==="up"?r.__("Move up"):r.__("Move down"))},$e=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:E).load("jupyterlab");let a;return t.buttonStyle==="icons"?(a=i.createElement(te.react,{tag:"span",elementPosition:"center"}),i.createElement(J,{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"))},K=t=>{var e;const r=((e=t.translator)!==null&&e!==void 0?e:E).load("jupyterlab");let a;return t.buttonStyle==="icons"?a=i.createElement(oe.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 L(t){const{component:e,name:r,buttonStyle:a,compact:l,showModifiedFromDefault:u,translator:d}=t,s=l??!1,m=a??(s?"icons":"text"),f=o=>e({...o,buttonStyle:m,compact:s,showModifiedFromDefault:u??!0,translator:d??E});return r&&(f.displayName=r),f}function Y(t,e){const r=W("TitleFieldTemplate",t,e),a=W("DescriptionFieldTemplate",t,e);return{TitleField:r,DescriptionField:a}}const We=t=>L({...t,name:"JupyterLabArrayTemplate",component:e=>{var r;const{schema:a,registry:l,uiSchema:u,required:d}=e,s={schema:a,registry:l,uiSchema:u,required:d},{TitleField:m,DescriptionField:f}=Y(l,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(m,{...s,title:e.title,id:`${e.idSchema.$id}-title`}),i.createElement(f,{...s,id:`${e.idSchema.$id}-description`,description:(r=e.schema.description)!==null&&r!==void 0?r:""})),e.items.map(o=>i.createElement("div",{key:o.key,className:o.className},o.children,i.createElement("div",{className:"jp-ArrayOperations"},i.createElement(V,{buttonStyle:e.buttonStyle,translator:e.translator,item:o,direction:"up"}),i.createElement(V,{buttonStyle:e.buttonStyle,translator:e.translator,item:o,direction:"down"}),i.createElement($e,{buttonStyle:e.buttonStyle,translator:e.translator,item:o})))),e.canAdd&&i.createElement(K,{onAddClick:e.onAddClick,buttonStyle:e.buttonStyle,translator:e.translator}))}}),Ve=t=>L({...t,name:"JupyterLabObjectTemplate",component:e=>{var r;const{schema:a,registry:l,uiSchema:u,required:d}=e,s={schema:a,registry:l,uiSchema:u,required:d},{TitleField:m,DescriptionField:f}=Y(l,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||S.emptyObject)["ui:title"])&&i.createElement(m,{...s,id:`${e.idSchema.$id}__title`,title:e.title||`${(e.uiSchema||S.emptyObject)["ui:title"]}`||""}),i.createElement(f,{...s,id:`${e.idSchema.$id}__description`,description:(r=e.schema.description)!==null&&r!==void 0?r:""})),e.properties.map(o=>o.content),Me(e.schema,e.uiSchema,e.formData)&&i.createElement(K,{onAddClick:e.onAddClick(e.schema),buttonStyle:e.buttonStyle,translator:e.translator}))}}),qe=t=>L({...t,name:"JupyterLabFieldTemplate",component:e=>{var r;const a=((r=e.translator)!==null&&r!==void 0?r:E).load("jupyterlab");let l=!1,u;const{formData:d,schema:s,label:m,displayLabel:f,id:o,formContext:n,errors:c,rawErrors:p,children:h,onKeyChange:b,onDropPropertyClick:v}=e,{defaultFormData:j}=n,_=o.split("_");_.shift();const C=_.join("."),y=C==="",F=C===(e.uiSchema||S.emptyObject)["ui:field"];e.showModifiedFromDefault&&(u=_.reduce((k,X)=>k?.[X],j),l=!y&&d!==void 0&&u!==void 0&&!s.properties&&s.type!=="array"&&!S.deepEqual(d,u));const P=!y&&s.type!="object"&&o!="jp-SettingsEditor-@jupyterlab/shortcuts-extension:shortcuts_shortcuts",w=s.hasOwnProperty(Le),D=!(s.type==="object"||s.type==="array");return i.createElement("div",{className:`form-group ${f||s.type==="boolean"?"small-field":""}`},!F&&(p?.length?i.createElement("div",{className:"jp-modifiedIndicator jp-errorIndicator"}):l&&i.createElement("div",{className:"jp-modifiedIndicator"})),i.createElement("div",{className:`jp-FormGroup-content ${e.compact?"jp-FormGroup-contentCompact":"jp-FormGroup-contentNormal"}`},D&&f&&!y&&m&&!w?e.compact?i.createElement("div",{className:"jp-FormGroup-compactTitle"},i.createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},m),D&&s.description&&P&&i.createElement("div",{className:"jp-FormGroup-description"},s.description)):i.createElement("h3",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},m):i.createElement(i.Fragment,null),w&&i.createElement("input",{className:"jp-FormGroup-contentItem jp-mod-styled",type:"text",onBlur:k=>b(k.target.value),defaultValue:m}),i.createElement("div",{className:`${y?"jp-root":s.type==="object"?"jp-objectFieldWrapper":s.type==="array"?"jp-arrayFieldWrapper":"jp-inputFieldWrapper jp-FormGroup-contentItem"}`},h),w&&i.createElement("button",{className:"jp-FormGroup-contentItem jp-mod-styled jp-mod-warn jp-FormGroup-removeButton",onClick:v(m)},a.__("Remove")),!e.compact&&s.description&&P&&i.createElement("div",{className:"jp-FormGroup-description"},s.description),l&&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"},c)))}});function Ue(t){const{buttonStyle:e,compact:r,showModifiedFromDefault:a,translator:l,formContext:u,...d}=t,s={...d.uiSchema||S.emptyObject};s["ui:options"]={...Ge,...s["ui:options"]},d.uiSchema=s;const{FieldTemplate:m,ArrayFieldTemplate:f,ObjectFieldTemplate:o}=t.templates||S.emptyObject,n={buttonStyle:e,compact:r,showModifiedFromDefault:a,translator:l},c=i.useMemo(()=>m??qe(n),[m,e,r,a,l]),p=i.useMemo(()=>f??We(n),[f,e,r,a,l]),h=i.useMemo(()=>o??Ve(n),[o,e,r,a,l]),b={FieldTemplate:c,ArrayFieldTemplate:p,ObjectFieldTemplate:h};return i.createElement(Ae,{templates:b,formContext:u,...d})}class Je 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||E,this._trans=this.translator.load("jupyterlab"),this.state={value:"",hasFocus:!1,textInputId:re.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:ae("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(le.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 ze(t){const r=(t.translator||E).load("jupyterlab"),a=l=>{if(l.key==="Enter"||l.key==="Spacebar"||l.key===" ")l.preventDefault(),l.stopPropagation(),t.handleClick();else return};return i.createElement(xe,{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 T extends ne{constructor(e){super(new T.Model),this._popup=null,this.addClass("jp-mod-highlighted"),this.translator=e||E}render(){return this.model===null?null:i.createElement(ze,{line:this.model.line,column:this.model.column,translator:this.translator,handleClick:()=>this._handleClick()})}_handleClick(){this._popup&&this._popup.dispose();const e=ie.create(i.createElement(Je,{handleSubmit:r=>this._handleSubmit(r),currentLine:this.model.line,maxLine:this.model.editor.lineCount,translator:this.translator}));this._popup=Re({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 se{constructor(){super(...arguments),this._onSelectionChanged=()=>{const a=this._getAllState(),l=this.editor.getCursorPosition();this._line=l.line+1,this._column=l.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 l;const u=this._editor;!((l=u?.model)===null||l===void 0)&&l.selections&&u.model.selections.changed.disconnect(this._onSelectionChanged);const d=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(d,this._getAllState())}get line(){return this._line}get column(){return this._column}_getAllState(){return[this._line,this._column]}_triggerChange(a,l){(a[0]!==l[0]||a[1]!==l[1])&&this.stateChanged.emit(void 0)}}t.Model=e})(T||(T={}));var g;(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.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"})(g||(g={}));const q=".cm-content",He={id:"@jupyterlab/codemirror-extension:commands",description:"Registers commands acting on selected/active CodeMirror editor.",autoStart:!0,requires:[Te],optional:[x,ke],activate:(t,e,r,a)=>{r=r??E;const l=r.load("jupyterlab"),u=o=>o.classList.contains(q),d=()=>{var o,n;const c=(o=t.contextMenuHitTest(u))!==null&&o!==void 0?o:(n=document.activeElement)===null||n===void 0?void 0:n.closest(q);if(c)return ve.findFromDOM(c)},s=()=>!!d(),m=()=>{var o,n;const c=t.shell.currentWidget,p=(o=e.currentWidget)===null||o===void 0?void 0:o.content;if(e.currentWidget!==null&&e.currentWidget===c&&p&&p.activeCell)return{type:"notebook",widget:c,notebook:p,isEnabled:!0};const h=c;return h&&h.content&&typeof((n=h.content.editor)===null||n===void 0?void 0:n.focus)=="function"?{type:"fileEditor",widget:h,isEnabled:!0}:{type:"none",widget:null,isEnabled:!1}},f=()=>m().isEnabled;if(t.commands.addCommand(g.deleteLine,{label:l.__("Delete the current line"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&de(o)},isEnabled:s}),t.commands.addCommand(g.toggleBlockComment,{label:l.__("Toggle Block Comment"),caption:l.__("Toggles block comments in languages which support it (e.g. C, JavaScript)"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&ce(o)},isEnabled:s}),t.commands.addCommand(g.toggleComment,{label:l.__("Toggle Comment"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&me(o)},isEnabled:s}),t.commands.addCommand(g.toggleTabFocusMode,{label:l.__("Toggle Tab Focus Mode"),caption:l.__("Toggles behavior of Tab key between inserting indentation and moving to next focusable element"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&ue(o)},isEnabled:s}),t.commands.addCommand(g.selectNextOccurrence,{label:l.__("Select Next Occurrence"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{const o=d();o&&pe(o)},isEnabled:s}),t.commands.addCommand(g.foldCurrent,{label:l.__("Fold Current Region"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(!c)return;const{state:p}=c,h=p.selection.main.head,b=p.doc.lineAt(h);I(p,b.from,b.to)&&O(c)},isEnabled:f}),t.commands.addCommand(g.unfoldCurrent,{label:l.__("Unfold Current Region"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(!c)return;const{state:p}=c,h=p.selection.main.head,b=p.doc.lineAt(h);I(p,b.from,b.to)&&B(c)},isEnabled:f}),t.commands.addCommand(g.foldSubregions,{label:l.__("Fold All Subregions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(c)try{const{state:p}=c,h=p.selection.main.head,b=p.doc.lineAt(h),v=I(p,b.from,b.to);let j=!1;try{j=p.field(R,!1)!==void 0}catch{j=!1}if(j||(O(c),B(c)),!v)return;const _=[];let C=v.from+1;for(;C<v.to;){const y=p.doc.lineAt(C),F=I(p,y.from,y.to);F&&F.from>v.from&&F.to<=v.to?(_.push(fe.of(F)),C=F.to):C=y.to+1}_.length>0&&c.dispatch({effects:_})}catch{}},isEnabled:f}),t.commands.addCommand(g.unfoldSubregions,{label:l.__("Unfold All Subregions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(c)try{const{state:p}=c,h=p.selection.main.head,b=p.doc.lineAt(h),v=I(p,b.from,b.to);if(!v)return;const j=p.field(R,!1);if(!j)return;const _=[];j.between(v.from+1,v.to,(C,y)=>{C>v.from&&y<=v.to&&_.push(he.of({from:C,to:y}))}),_.length>0&&c.dispatch({effects:_})}catch{}},isEnabled:f}),t.commands.addCommand(g.foldAll,{label:l.__("Fold All Regions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(c)try{ge(c)}catch{}},isEnabled:f}),t.commands.addCommand(g.unfoldAll,{label:l.__("Unfold All Regions"),describedBy:{args:{type:"object",properties:{}}},execute:()=>{var o;const n=m();n.type==="notebook"?(n.notebook.mode="edit",n.notebook.activeCell&&((o=n.notebook.activeCell.editor)===null||o===void 0||o.focus())):n.type==="fileEditor"&&n.widget.content.editor.focus();const c=d();if(c)try{be(c)}catch{}},isEnabled:f}),a){const o=l.__("File Operations");[g.foldCurrent,g.unfoldCurrent,g.foldSubregions,g.unfoldSubregions,g.foldAll,g.unfoldAll].forEach(n=>{a.addItem({command:n,category:o})})}}},U="@jupyterlab/codemirror-extension:plugin",Ke={id:"@jupyterlab/codemirror-extension:languages",description:"Provides the CodeMirror languages registry.",provides:z,optional:[x],activate:(t,e)=>{const r=new G;for(const a of G.getDefaultLanguages(e))r.addLanguage(a);return r.addLanguage({name:"ipythongfm",mime:"text/x-ipythongfm",load:async()=>{const[a,l,u]=await Promise.all([N(()=>import("./index-7F_pA42X.js"),[],import.meta.url),N(()=>import("./index-DbMBnR4l.js"),[],import.meta.url),N(()=>import("./stex-C3f8Ysf7.js"),[],import.meta.url)]),d=a.markdown({base:a.markdownLanguage,codeLanguages:s=>r.findBest(s),extensions:[_e(Ee.define(u.stexMath).parser)]});return new Ce(d.language,[d.support,je(l.pythonLanguage)])}}),r}},Ye={id:"@jupyterlab/codemirror-extension:themes",description:"Provides the CodeMirror theme registry",provides:H,optional:[x],activate:(t,e)=>{const r=new $;for(const a of $.getDefaultThemes(e))r.addTheme(a);return r}},Qe={id:"@jupyterlab/codemirror-extension:extensions",description:"Provides the CodeMirror extension factory registry.",provides:M,requires:[H],optional:[x,De,Oe],activate:(t,e,r,a,l)=>{const u=new A;for(const d of A.getDefaultExtensions({themes:e,translator:r}))u.addExtension(d);if(a){const d=s=>{var m;u.baseConfiguration=(m=s.get("defaultConfig").composite)!==null&&m!==void 0?m:{}};Promise.all([a.load(U),t.restored]).then(([s])=>{d(s),s.changed.connect(d)}),l?.addRenderer(`${U}.defaultConfig`,{fieldRenderer:s=>{let m;const f=i.useMemo(()=>u.settingsSchema,[]);s.name in s.formContext.defaultFormData?m=s.formContext.defaultFormData[s.name]:m={};for(const[o,n]of Object.entries(u.defaultConfiguration))typeof f[o]<"u"&&!(o in m)&&(m[o]=n);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(Ue,{schema:{title:s.schema.title,description:s.schema.description,type:"object",properties:f,additionalProperties:!1},validator:Pe,formData:{...m,...s.formData},formContext:{defaultFormData:m},liveValidate:!0,onChange:o=>{var n;const c={};for(const[p,h]of Object.entries((n=o.formData)!==null&&n!==void 0?n:{})){const b=m[p];(b===void 0||!S.deepEqual(h,b))&&(c[p]=h)}s.onChange(c)},tagName:"div",translator:r??E}))}})}return u}},Xe={id:"@jupyterlab/codemirror-extension:binding",description:"Register the CodeMirror extension factory binding the editor and the shared model.",autoStart:!0,requires:[M],activate:(t,e)=>{e.addExtension({name:"shared-model-binding",factory:r=>{var a;const l=r.model.sharedModel;return A.createImmutableExtension(Fe({ytext:l.ysource,undoManager:(a=l.undoManager)!==null&&a!==void 0?a:void 0}))}})}},Ze={id:"@jupyterlab/codemirror-extension:services",description:"Provides the service to instantiate CodeMirror editors.",provides:ye,requires:[z,M],optional:[x],activate:(t,e,r,a)=>({factoryService:new we({extensions:r,languages:e,translator:a??E}),mimeTypeService:new Ne(e)})},Q={id:"@jupyterlab/codemirror-extension:line-col-status",description:"Provides the code editor cursor position model.",autoStart:!0,requires:[x],optional:[Be,Ie],provides:Se,activate:(t,e,r,a)=>{const l=new T(e),u=new Set;a&&a.registerStatusItem(Q.id,{priority:1,item:l,align:"right",rank:2,isActive:()=>!!l.model.editor});const d=f=>{u.add(f),t.shell.currentWidget&&m(t.shell,{newValue:t.shell.currentWidget})},s=()=>{m(t.shell,{oldValue:t.shell.currentWidget,newValue:t.shell.currentWidget})};function m(f,o){Promise.all([...u].map(n=>n(o.newValue))).then(n=>{var c;l.model.editor=(c=n.filter(p=>p!==null)[0])!==null&&c!==void 0?c:null}).catch(n=>{console.error("Get editors",n)})}return r&&r.currentChanged.connect(m),{addEditorProvider:d,update:s}}},uo=[He,Ke,Ye,Xe,Qe,Ze,Q];export{uo as default,Q as lineColItem};
@@ -1 +1 @@
1
- import{dP as s,dQ as a,dR as m}from"../datalayer-app-main.js";import{dS as b,dT as _,dU as E,dV as T,dW as Y,dX as j,dY as q,dZ as x,d_ as D}from"../datalayer-app-main.js";import{organizationStore as K,runStore as M,surveysStore as z,teamStore as C,useOrganizationStore as J,useRunStore as N,useSurveysStore as O,useTeamStore as U}from"./index-CW0DxnfF.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 d=s((e,o)=>({saveRequest:{counter:-1},save:t=>e(r=>({saveRequest:t}))}));function l(e){return a(d,e)}const c=s((e,o)=>({jupyterLabAdapter:void 0,setJupyterLabAdapter:t=>e(r=>({jupyterLabAdapter:t})),plugin:t=>o().jupyterLabAdapter?.plugin(t)}));function v(e){return a(c,e)}const i=s((e,o)=>({spaces:[],updateSpaces:t=>e(r=>({spaces:t}))}));function y(e){return a(i,e)}export{b as DATALAYER_IAM_TOKEN_KEY,_ as DATALAYER_IAM_USER_KEY,u as cellStore,E as coreStore,n as documentStore,S as gradeStore,T as iamStore,c as jupyterLabStore,Y as layoutStore,d as nbformatStore,K as organizationStore,M as runStore,m as runtimesStore,i as spaceStore,z as surveysStore,C as teamStore,g as useCellStore,j as useCoreStore,A as useDocumentStore,f as useGradeStore,q as useIAMStore,v as useJupyterLabStore,x as useLayoutStore,l as useNbformatStore,J as useOrganizationStore,N as useRunStore,D as useRuntimesStore,y as useSpaceStore,O as useSurveysStore,U as useTeamStore};
1
+ import{dP as s,dQ as a,dR as m}from"../datalayer-app-main.js";import{dS as b,dT as _,dU as E,dV as T,dW as Y,dX as j,dY as q,dZ as x,d_ as D}from"../datalayer-app-main.js";import{organizationStore as K,runStore as M,surveysStore as z,teamStore as C,useOrganizationStore as J,useRunStore as N,useSurveysStore as O,useTeamStore as U}from"./index-fQxrRXLD.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 d=s((e,o)=>({saveRequest:{counter:-1},save:t=>e(r=>({saveRequest:t}))}));function l(e){return a(d,e)}const c=s((e,o)=>({jupyterLabAdapter:void 0,setJupyterLabAdapter:t=>e(r=>({jupyterLabAdapter:t})),plugin:t=>o().jupyterLabAdapter?.plugin(t)}));function v(e){return a(c,e)}const i=s((e,o)=>({spaces:[],updateSpaces:t=>e(r=>({spaces:t}))}));function y(e){return a(i,e)}export{b as DATALAYER_IAM_TOKEN_KEY,_ as DATALAYER_IAM_USER_KEY,u as cellStore,E as coreStore,n as documentStore,S as gradeStore,T as iamStore,c as jupyterLabStore,Y as layoutStore,d as nbformatStore,K as organizationStore,M as runStore,m as runtimesStore,i as spaceStore,z as surveysStore,C as teamStore,g as useCellStore,j as useCoreStore,A as useDocumentStore,f as useGradeStore,q as useIAMStore,v as useJupyterLabStore,x as useLayoutStore,l as useNbformatStore,J as useOrganizationStore,N as useRunStore,D as useRuntimesStore,y as useSpaceStore,O as useSurveysStore,U as useTeamStore};