jupyterlab 4.2.0a0__py3-none-any.whl → 4.2.0a2__py3-none-any.whl

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 (560) hide show
  1. jupyterlab/_version.py +1 -1
  2. jupyterlab/browser-test.js +4 -3
  3. jupyterlab/browser_check.py +1 -0
  4. jupyterlab/commands.py +18 -10
  5. jupyterlab/debuglog.py +1 -3
  6. jupyterlab/federated_labextensions.py +0 -1
  7. jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +106 -97
  8. jupyterlab/galata/@jupyterlab/galata-extension/package.json +11 -11
  9. jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.c4758ba7b6d2dbe74d17.js → remoteEntry.557502a4db342d307bff.js} +3 -3
  10. jupyterlab/galata/__init__.py +3 -1
  11. jupyterlab/labapp.py +1 -1
  12. jupyterlab/labextensions.py +9 -0
  13. jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +10 -10
  14. jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +14 -14
  15. jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
  16. jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
  17. jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +12 -12
  18. jupyterlab/schemas/@jupyterlab/completer-extension/inline-completer.json +2 -1
  19. jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +6 -6
  20. jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +13 -13
  21. jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +10 -10
  22. jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -17
  23. jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +12 -11
  24. jupyterlab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
  25. jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +6 -6
  26. jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -7
  27. jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +13 -13
  28. jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +25 -25
  29. jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +8 -8
  30. jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
  31. jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
  32. jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -6
  33. jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +9 -9
  34. jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +7 -7
  35. jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +10 -10
  36. jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
  37. jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -9
  38. jupyterlab/schemas/@jupyterlab/mainmenu-extension/plugin.json +5 -0
  39. jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -9
  40. jupyterlab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -3
  41. jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
  42. jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +31 -31
  43. jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +14 -10
  44. jupyterlab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
  45. jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
  46. jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +6 -6
  47. jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -6
  48. jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +11 -11
  49. jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -6
  50. jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +11 -11
  51. jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
  52. jupyterlab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
  53. jupyterlab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
  54. jupyterlab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
  55. jupyterlab/staging/package.json +155 -151
  56. jupyterlab/staging/webpack.config.js +1 -1
  57. jupyterlab/staging/yarn.lock +1356 -1538
  58. jupyterlab/static/{1036.a604793cab1f57135325.js → 1036.b7aaba381aaa04073a6b.js} +2 -2
  59. jupyterlab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
  60. jupyterlab/static/2091.0ad2070604beb93b34c5.js +1 -0
  61. jupyterlab/static/2104.96885e414ee656615c2b.js +1 -0
  62. jupyterlab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
  63. jupyterlab/static/2995.334184c36a45c82ad564.js +1 -0
  64. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/3056.db19b5c2cb8b4718c11f.js → jupyterlab/static/3056.8a73f6aacd8ca45f84f9.js +1 -1
  65. jupyterlab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
  66. jupyterlab/static/3783.36bf783a511cc87997c0.js +1 -0
  67. jupyterlab/static/4043.c57e85faf640ba37b87c.js +1 -0
  68. jupyterlab/static/4405.196dd63db3761b4bb7fe.js +1 -0
  69. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/49.7233f68f95d10b85a83e.js → jupyterlab/static/49.43ad810fe0adbd6be564.js +1 -1
  70. jupyterlab/static/4986.c819184e09e1e15ef06b.js +1 -0
  71. jupyterlab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
  72. jupyterlab/static/6532.598324868e83c4cbe4e4.js +1 -0
  73. jupyterlab/static/{5497.9f29f6ecf50c3fd03611.js → 6699.ca2a6f21674753716453.js} +1 -1
  74. jupyterlab/static/6888.f71353e198bce9c2f409.js +1 -0
  75. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js → jupyterlab/static/7313.9db22121563e1a8e0516.js +2 -2
  76. jupyterlab/static/{7318.397bf8e913e825b2be27.js → 7318.f5a0db6dd94488328be5.js} +1 -1
  77. jupyterlab/static/7508.b902347f820c70cd386a.js +1 -0
  78. jupyterlab/static/7823.f3c8154418bc214dc89a.js +1 -0
  79. jupyterlab/static/795.c780bf11bb08527e3c84.js +1 -0
  80. jupyterlab/static/812.c967203ebe8bf68d9cad.js +1 -0
  81. jupyterlab/static/8771.ac4c870ed77005ec8e34.js +1 -0
  82. jupyterlab/static/9.82c3bf54739d037b7bd1.js +1 -0
  83. jupyterlab/static/9030.61b135ed4411056792ab.js +1 -0
  84. jupyterlab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
  85. jupyterlab/static/942.68bd92fc10c9f9d7004f.js +1 -0
  86. jupyterlab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
  87. jupyterlab/static/9826.406d2a71dc45995bc549.js +2 -0
  88. jupyterlab/static/9870.714b869d9320ef3fe065.js +1 -0
  89. jupyterlab/static/build_log.json +107 -101
  90. jupyterlab/static/index.html +1 -1
  91. jupyterlab/static/index.out.js +11 -0
  92. jupyterlab/static/jlab_core.5cdbad1e68776b99256a.js +1 -0
  93. jupyterlab/static/main.2ba872a4c08e4530e097.js +1 -0
  94. jupyterlab/static/package.json +155 -151
  95. jupyterlab/static/style.js +1 -0
  96. jupyterlab/static/third-party-licenses.json +134 -128
  97. jupyterlab/style.js +1 -0
  98. jupyterlab/tests/mock_packages/extension/package.json +3 -3
  99. jupyterlab/tests/mock_packages/interop/consumer/package.json +3 -3
  100. jupyterlab/tests/mock_packages/interop/provider/package.json +3 -3
  101. jupyterlab/tests/mock_packages/interop/token/package.json +1 -1
  102. jupyterlab/tests/mock_packages/test-hyphens-underscore/package.json +2 -2
  103. jupyterlab/tests/mock_packages/test-hyphens-underscore/pyproject.toml +1 -1
  104. jupyterlab/tests/mock_packages/test-hyphens-underscore/yarn.lock +2803 -0
  105. jupyterlab/tests/mock_packages/test_no_hyphens/package.json +2 -2
  106. jupyterlab/tests/mock_packages/test_no_hyphens/pyproject.toml +1 -1
  107. jupyterlab/tests/mock_packages/test_no_hyphens/yarn.lock +2803 -0
  108. jupyterlab/tests/test_build_api.py +1 -0
  109. jupyterlab/themes/@jupyterlab/theme-dark-extension/index.css +84 -84
  110. jupyterlab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
  111. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +10 -10
  112. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +14 -14
  113. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
  114. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
  115. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +12 -12
  116. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/inline-completer.json +2 -1
  117. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +6 -6
  118. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +13 -13
  119. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +10 -10
  120. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -17
  121. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +12 -11
  122. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
  123. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +6 -6
  124. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -7
  125. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +13 -13
  126. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +25 -25
  127. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +8 -8
  128. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
  129. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
  130. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -6
  131. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +9 -9
  132. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +7 -7
  133. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +10 -10
  134. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
  135. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -9
  136. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +5 -0
  137. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -9
  138. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -3
  139. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
  140. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +31 -31
  141. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +14 -10
  142. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
  143. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
  144. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +6 -6
  145. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -6
  146. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +11 -11
  147. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -6
  148. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +11 -11
  149. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
  150. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
  151. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
  152. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
  153. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/1036.a604793cab1f57135325.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/1036.b7aaba381aaa04073a6b.js +2 -2
  154. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
  155. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2091.0ad2070604beb93b34c5.js +1 -0
  156. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2104.96885e414ee656615c2b.js +1 -0
  157. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
  158. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2995.334184c36a45c82ad564.js +1 -0
  159. jupyterlab/static/3056.db19b5c2cb8b4718c11f.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/3056.8a73f6aacd8ca45f84f9.js +1 -1
  160. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
  161. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/3783.36bf783a511cc87997c0.js +1 -0
  162. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/4043.c57e85faf640ba37b87c.js +1 -0
  163. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/4405.196dd63db3761b4bb7fe.js +1 -0
  164. jupyterlab/static/49.7233f68f95d10b85a83e.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/49.43ad810fe0adbd6be564.js +1 -1
  165. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/4986.c819184e09e1e15ef06b.js +1 -0
  166. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
  167. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/6532.598324868e83c4cbe4e4.js +1 -0
  168. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/5497.9f29f6ecf50c3fd03611.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/6699.ca2a6f21674753716453.js +1 -1
  169. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/6888.f71353e198bce9c2f409.js +1 -0
  170. jupyterlab/static/7313.4a8a9a1eee6f7ef15ee1.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/7313.9db22121563e1a8e0516.js +2 -2
  171. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/7318.397bf8e913e825b2be27.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/7318.f5a0db6dd94488328be5.js +1 -1
  172. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/7508.b902347f820c70cd386a.js +1 -0
  173. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/7823.f3c8154418bc214dc89a.js +1 -0
  174. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/795.c780bf11bb08527e3c84.js +1 -0
  175. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/812.c967203ebe8bf68d9cad.js +1 -0
  176. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/8771.ac4c870ed77005ec8e34.js +1 -0
  177. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9.82c3bf54739d037b7bd1.js +1 -0
  178. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9030.61b135ed4411056792ab.js +1 -0
  179. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
  180. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/942.68bd92fc10c9f9d7004f.js +1 -0
  181. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
  182. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js +2 -0
  183. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9870.714b869d9320ef3fe065.js +1 -0
  184. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/build_log.json +107 -101
  185. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/index.html +1 -1
  186. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/index.out.js +11 -0
  187. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/jlab_core.5cdbad1e68776b99256a.js +1 -0
  188. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/main.2ba872a4c08e4530e097.js +1 -0
  189. jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/package.json +354 -0
  190. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/style.js +1 -0
  191. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/third-party-licenses.json +134 -128
  192. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +84 -84
  193. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
  194. {jupyterlab-4.2.0a0.dist-info → jupyterlab-4.2.0a2.dist-info}/METADATA +11 -8
  195. {jupyterlab-4.2.0a0.dist-info → jupyterlab-4.2.0a2.dist-info}/RECORD +503 -499
  196. {jupyterlab-4.2.0a0.dist-info → jupyterlab-4.2.0a2.dist-info}/WHEEL +1 -1
  197. jupyterlab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
  198. jupyterlab/static/1410.e2302ff5f564d6e596bb.js +0 -1
  199. jupyterlab/static/2091.600b1c32af186f6405f9.js +0 -1
  200. jupyterlab/static/2104.296346db0067b4883fbf.js +0 -1
  201. jupyterlab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
  202. jupyterlab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
  203. jupyterlab/static/3547.bd90e90bfe79911486e8.js +0 -1
  204. jupyterlab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
  205. jupyterlab/static/4043.aa012978c41d1d1b2f14.js +0 -1
  206. jupyterlab/static/4405.43dab120fea32f30bbb9.js +0 -1
  207. jupyterlab/static/4986.a497cdda4b7152902568.js +0 -1
  208. jupyterlab/static/5201.8866042bae350659528a.js +0 -1
  209. jupyterlab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
  210. jupyterlab/static/6888.9d3914817f3290827a64.js +0 -1
  211. jupyterlab/static/7508.59b56154104efe2b732f.js +0 -1
  212. jupyterlab/static/7823.817687f13e9a6781fdd3.js +0 -1
  213. jupyterlab/static/795.47ab66037ef33f808f09.js +0 -1
  214. jupyterlab/static/812.d4c1d8444acab0afbd0d.js +0 -1
  215. jupyterlab/static/8771.327a202178f82f3b15b8.js +0 -1
  216. jupyterlab/static/9.0e0cba0ccc2a4b670600.js +0 -1
  217. jupyterlab/static/9030.260bc05e28eccff70ae8.js +0 -1
  218. jupyterlab/static/9041.df39043656c7233552e4.js +0 -1
  219. jupyterlab/static/942.93c8de61ea9ea08ec097.js +0 -1
  220. jupyterlab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
  221. jupyterlab/static/9826.d9f65134a6fe2206e6df.js +0 -2
  222. jupyterlab/static/9870.70b2b59cc96c3a97c489.js +0 -1
  223. jupyterlab/static/jlab_core.a52eec007d95f4910a4a.js +0 -1
  224. jupyterlab/static/main.e9a6c44e7c05346fe632.js +0 -1
  225. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
  226. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/1410.e2302ff5f564d6e596bb.js +0 -1
  227. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/2091.600b1c32af186f6405f9.js +0 -1
  228. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/2104.296346db0067b4883fbf.js +0 -1
  229. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
  230. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
  231. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/3547.bd90e90bfe79911486e8.js +0 -1
  232. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
  233. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/4043.aa012978c41d1d1b2f14.js +0 -1
  234. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/4405.43dab120fea32f30bbb9.js +0 -1
  235. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/4986.a497cdda4b7152902568.js +0 -1
  236. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/5201.8866042bae350659528a.js +0 -1
  237. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
  238. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/6888.9d3914817f3290827a64.js +0 -1
  239. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/7508.59b56154104efe2b732f.js +0 -1
  240. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/7823.817687f13e9a6781fdd3.js +0 -1
  241. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/795.47ab66037ef33f808f09.js +0 -1
  242. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/812.d4c1d8444acab0afbd0d.js +0 -1
  243. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/8771.327a202178f82f3b15b8.js +0 -1
  244. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/9.0e0cba0ccc2a4b670600.js +0 -1
  245. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/9030.260bc05e28eccff70ae8.js +0 -1
  246. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/9041.df39043656c7233552e4.js +0 -1
  247. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/942.93c8de61ea9ea08ec097.js +0 -1
  248. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
  249. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/9826.d9f65134a6fe2206e6df.js +0 -2
  250. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/9870.70b2b59cc96c3a97c489.js +0 -1
  251. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/jlab_core.a52eec007d95f4910a4a.js +0 -1
  252. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/main.e9a6c44e7c05346fe632.js +0 -1
  253. jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/package.json +0 -350
  254. /jupyterlab/static/{1036.a604793cab1f57135325.js.LICENSE.txt → 1036.b7aaba381aaa04073a6b.js.LICENSE.txt} +0 -0
  255. /jupyterlab/static/{7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt → 7313.9db22121563e1a8e0516.js.LICENSE.txt} +0 -0
  256. /jupyterlab/static/{9826.d9f65134a6fe2206e6df.js.LICENSE.txt → 9826.406d2a71dc45995bc549.js.LICENSE.txt} +0 -0
  257. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
  258. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
  259. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/applications/jupyterlab.desktop +0 -0
  260. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/icons/hicolor/scalable/apps/jupyterlab.svg +0 -0
  261. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
  262. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
  263. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
  264. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
  265. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
  266. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
  267. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
  268. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
  269. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +0 -0
  270. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
  271. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/utilityCommands.json +0 -0
  272. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
  273. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +0 -0
  274. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -0
  275. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
  276. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
  277. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
  278. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +0 -0
  279. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
  280. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
  281. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
  282. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
  283. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
  284. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
  285. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +0 -0
  286. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
  287. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
  288. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
  289. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
  290. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
  291. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
  292. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
  293. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
  294. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
  295. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
  296. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
  297. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
  298. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
  299. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
  300. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
  301. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
  302. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
  303. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
  304. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
  305. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +0 -0
  306. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
  307. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
  308. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
  309. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +0 -0
  310. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +0 -0
  311. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +0 -0
  312. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
  313. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
  314. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +0 -0
  315. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
  316. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
  317. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
  318. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
  319. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
  320. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
  321. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
  322. /jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/1036.a604793cab1f57135325.js.LICENSE.txt → /jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/1036.b7aaba381aaa04073a6b.js.LICENSE.txt +0 -0
  323. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1085.0b67f0736d85ec41fdd4.js +0 -0
  324. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1142.d5442a459b18907c1f91.js +0 -0
  325. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1166.08f9e1fd722f61c9b69c.js +0 -0
  326. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1168.0a95b9c93afe61ceb527.js +0 -0
  327. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1294.9d27be1098bc8abebe3f.js +0 -0
  328. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1420.e8486ed074346bc629ca.js +0 -0
  329. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1448.c391061d8a8344f9d177.js +0 -0
  330. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1452.4cc17f31511d1f9c6052.js +0 -0
  331. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1467.dcd89539f6477c1367af.js +0 -0
  332. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1550.09375e869bc25429b07a.js +0 -0
  333. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js +0 -0
  334. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js.LICENSE.txt +0 -0
  335. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1608.61240f3db67d3d952790.js +0 -0
  336. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1716.a6bbe1ae8a1986a73623.js +0 -0
  337. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1760.9a71f4501e9bbaa4c4d8.js +0 -0
  338. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1776.4f9305d35480467b23c9.js +0 -0
  339. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1861.4fc7b4afe2b09eb6b5c0.js +0 -0
  340. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1903.3b452e8ec30e57dbaba5.js +0 -0
  341. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1917.05d73322caab1f77e3bf.js +0 -0
  342. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1929.96e62233aa6f2a8363d4.js +0 -0
  343. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1945.0fbbfe93a4aedd91875c.js +0 -0
  344. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1954.07d96e4020ed6e543d25.js +0 -0
  345. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1993.f8c5682f95ffa75cbaf6.js +0 -0
  346. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1cb1c39ea642f26a4dfe.woff +0 -0
  347. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2039.aa079dac5c520f93b234.js +0 -0
  348. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2090.abc86741318f76c3d726.js +0 -0
  349. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2145.be9ec610f29703694fcf.js +0 -0
  350. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2254.55c69210925ec9b28dd9.js +0 -0
  351. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/226.5dc3528c008170b37b21.js +0 -0
  352. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2295.cda0f7182bf2a1a03c5a.js +0 -0
  353. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2320.04abae549b19363c2fdd.js +0 -0
  354. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2363.6eef078cb37c32d7fbc3.js +0 -0
  355. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2459.9f9cb02561de1bec73ff.js +0 -0
  356. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2485.dab750ed66209df61fe1.js +0 -0
  357. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2551.b07d561a12360c38c589.js +0 -0
  358. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2579.b19edefeb9ee4daed4bd.js +0 -0
  359. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2617.9c299e26785f7646cb39.js +0 -0
  360. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2646.0864fb63d7ab1ed16893.js +0 -0
  361. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2655.71a94960aa4ab2040d8f.js +0 -0
  362. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/26683bf201fb258a2237.woff +0 -0
  363. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2727.6925b8cf1c5363f40138.js +0 -0
  364. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2755.696bab6bdca0d9a78131.js +0 -0
  365. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2857.27a6e85f5c4c092ab8a2.js +0 -0
  366. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2909.e190307f7f84c7691068.js +0 -0
  367. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/292.3f7844a129f16ec1ffbc.js +0 -0
  368. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2929.b88233153dbf33f40b29.js +0 -0
  369. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2953.92ff8f12bad6ee06859c.js +0 -0
  370. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2990.ea15322a41d3f133989b.js +0 -0
  371. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/30e889b58cbc51adfbb0.woff +0 -0
  372. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3123.85cea4be2e2ed3f9654f.js +0 -0
  373. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/32792104b5ef69eded90.woff +0 -0
  374. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3306.8bdc49ad1a7ca593a838.js +0 -0
  375. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3308.764d71af7e591cdb1345.js +0 -0
  376. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3520.3495b98946de6960ace8.js +0 -0
  377. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3528.3b5ef5f31d460b5fcd01.js +0 -0
  378. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3549.24f2fe646d8128bc9db0.js +0 -0
  379. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/355254db9ca10a09a3b5.woff +0 -0
  380. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3601.5c17c015d71b69ddcab3.js +0 -0
  381. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/36e0d72d8a7afc696a3e.woff +0 -0
  382. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3711.150292a21fd47be1c05f.js +0 -0
  383. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3724.a4657dc16be2ffc49282.js +0 -0
  384. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
  385. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/378.6d0f0fc4c8a2eb80ac43.js +0 -0
  386. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3807.08a8fd824036c30b3746.js +0 -0
  387. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/383.db345dbeef5ef774e50c.js +0 -0
  388. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3871.ba96e5b53bb16df56618.js +0 -0
  389. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3923.f29c06abdcb560130471.js +0 -0
  390. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js +0 -0
  391. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js.LICENSE.txt +0 -0
  392. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3962.50786e3ed9a01329a4a0.js +0 -0
  393. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
  394. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3de784d07b9fa8f104c1.woff +0 -0
  395. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
  396. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js +0 -0
  397. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js.LICENSE.txt +0 -0
  398. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4017.096a74a538e031b6d346.js +0 -0
  399. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/406.81906f96059e31e907a2.js +0 -0
  400. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4086.3087c0abed5ca45b823b.js +0 -0
  401. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js +0 -0
  402. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js.LICENSE.txt +0 -0
  403. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4139.303ee7374c742287be85.js +0 -0
  404. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4155.5a8d6736017097028d78.js +0 -0
  405. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4283.f6092d8b7f2e53118d1b.js +0 -0
  406. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4291.e5d8997127541f75fdaf.js +0 -0
  407. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4419.93938494f456cd76a7e3.js +0 -0
  408. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4452.2f8819684b96ecff5231.js +0 -0
  409. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4519.6b784d052db42e93eff2.js +0 -0
  410. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4562.72444a09f5f092646490.js +0 -0
  411. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4591.428531724f49fe824ffa.js +0 -0
  412. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/46.fb119c5e5b1e0c72a00f.js +0 -0
  413. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4743.d4e9658ea25301e15a94.js +0 -0
  414. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4765.093b4f8b3cee1251db8d.js +0 -0
  415. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/481e39042508ae313a60.woff +0 -0
  416. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4878.73004381601237a3ef9c.js +0 -0
  417. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5041.cdc120bda0a0dec4cfc2.js +0 -0
  418. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5157.9c77dc27a251d4135876.js +0 -0
  419. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5203.c002d40ac647dc6e1d61.js +0 -0
  420. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/526.601d8ddd8347cd7790b9.js +0 -0
  421. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5331.0cd3f010bb08983ec3fd.js +0 -0
  422. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5440.2541fcda12b661665148.js +0 -0
  423. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5521.ce4a0274596e0325374c.js +0 -0
  424. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5746.e4434ef2027bcc5ed0c9.js +0 -0
  425. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5794.3cb2bcd1a3e23d0c084e.js +0 -0
  426. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/581.2b878ed37172aced15b5.js +0 -0
  427. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5881.3946238aa4afdcf4f964.js +0 -0
  428. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5959.a6b1fd3b03d3649ea8b1.js +0 -0
  429. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5cda41563a095bd70c78.woff +0 -0
  430. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6001.963601fcecb8b4c1d1f1.js +0 -0
  431. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6059.d83e7323b2ee1aa16009.js +0 -0
  432. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6163.f5b51a9f0df4846ba40f.js +0 -0
  433. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6207.a8079c8d8a61039dd530.js +0 -0
  434. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6243.2efd673d1304c43b7b78.js +0 -0
  435. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6267.1def2916929e185ab9fc.js +0 -0
  436. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js +0 -0
  437. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js.LICENSE.txt +0 -0
  438. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6359.4b994bfd6b1dea2d6fe3.js +0 -0
  439. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6436.8d9ba427de4ab1053871.js +0 -0
  440. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6443.e6b52d3732b3e8513a71.js +0 -0
  441. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6515.56c63929fb079a820cbc.js +0 -0
  442. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6560.f42276a0b1b92aea515b.js +0 -0
  443. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6595.6a1d7e1abbf186dd119b.js +0 -0
  444. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6686.3c518aa6e5f9785fb486.js +0 -0
  445. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6770.fd7084bb2f4b7622401d.js +0 -0
  446. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6778.345e6ac9818e30317310.js +0 -0
  447. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6815.0b699f0c162a24b0dbe3.js +0 -0
  448. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6898.742a7062fa979fb68a80.js +0 -0
  449. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7080.1330328bb6f46b4da81e.js +0 -0
  450. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7112.d5120c85ebd17620dda0.js +0 -0
  451. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7161.353c3ab960df72e6f1ea.js +0 -0
  452. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7173.e28f63dbd553818e07d3.js +0 -0
  453. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js +0 -0
  454. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js.LICENSE.txt +0 -0
  455. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/721921bab0d001ebff02.woff +0 -0
  456. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7245.c0cae8787dcd00b991b7.js +0 -0
  457. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7272.72081c10e0f645b0631a.js +0 -0
  458. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js +0 -0
  459. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js.LICENSE.txt +0 -0
  460. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/72bc573386dd1d48c5bb.woff +0 -0
  461. /jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt → /jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/7313.9db22121563e1a8e0516.js.LICENSE.txt +0 -0
  462. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7317.af8a7da0f881a22752c1.js +0 -0
  463. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7363.abe8e31a91e113753bae.js +0 -0
  464. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7384.60351e008d8f687e8fcc.js +0 -0
  465. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7390.8253478b90f756692702.js +0 -0
  466. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js +0 -0
  467. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js.LICENSE.txt +0 -0
  468. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/745.85516a9bb83bcd94d00d.js +0 -0
  469. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js +0 -0
  470. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js.LICENSE.txt +0 -0
  471. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7472.58ba8647a489d019c2ef.js +0 -0
  472. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7473.5012397d10d3b945ecaa.js +0 -0
  473. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7511.b381a696cf806983c654.js +0 -0
  474. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7517.f3e5d420f4af90d442dd.js +0 -0
  475. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7629.1f295461ebf56a48c197.js +0 -0
  476. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7669.343e259c4c8269479f5b.js +0 -0
  477. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7702.c479c69f7a532f7b3fd5.js +0 -0
  478. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7730.7e3a9fb140d2d55a51fc.js +0 -0
  479. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7731.26db150e967313b7a7e2.js +0 -0
  480. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7734.b08c15e9f538f44d0f52.js +0 -0
  481. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js +0 -0
  482. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js.LICENSE.txt +0 -0
  483. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7775.3e0dee729369fe3d5008.js +0 -0
  484. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7827.e36d073d947bf02a05e3.js +0 -0
  485. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7848.e83aa4b90ae87209abb8.js +0 -0
  486. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/786.8a99ee7dbd7bd0eb9dce.js +0 -0
  487. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7877.a4c46a784149533b91d4.js +0 -0
  488. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7887.128a155df5d25e88c0ce.js +0 -0
  489. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7946.7fe46d47492e459b7cb5.js +0 -0
  490. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
  491. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8002.25f64485372af5158c83.js +0 -0
  492. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8010.1cf8237e9def8404f355.js +0 -0
  493. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8012.40cb006f0c180ebafa91.js +0 -0
  494. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8152.5baac73844a065f34284.js +0 -0
  495. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8285.1eac7b7582569be1c3a8.js +0 -0
  496. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8302.5c5e5a2da7fe74b12a1d.js +0 -0
  497. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8319.80fcbc832e1eb20b71e7.js +0 -0
  498. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8322.288af285dac9cb9a8800.js +0 -0
  499. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8347.573b699e3590729bfa8a.js +0 -0
  500. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8405.154ba4b17a2dec22a355.js +0 -0
  501. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8462.74d5f5afd4f9d7825eed.js +0 -0
  502. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8493.fc635229db38e6fc6aa2.js +0 -0
  503. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8498.27a245b23921914bf5c2.js +0 -0
  504. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8512.1af96655287fd124877b.js +0 -0
  505. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8678.dcd3dab9025b13eb9be8.js +0 -0
  506. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/870673df72e70f87c91a.woff +0 -0
  507. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8710.5fc5ecb762fb4494db02.js +0 -0
  508. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8738.782816e9072ac38762b4.js +0 -0
  509. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8787.4d36d28dcf94bf59cbfe.js +0 -0
  510. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8805.0f14a91b024b59c039a7.js +0 -0
  511. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/881.972f79365eed0f77378e.js +0 -0
  512. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8823.2ff947bcd96cc0723058.js +0 -0
  513. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8875.88988caaba1e33edad5b.js +0 -0
  514. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/88b98cad3688915e50da.woff +0 -0
  515. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
  516. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8ea8dbb1b02e6f730f55.woff +0 -0
  517. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9055.bd710a8db8883a836b59.js +0 -0
  518. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9109.fa3ee74a5c0f378f4d51.js +0 -0
  519. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9192.db4337a516b7f38d1f89.js +0 -0
  520. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9222.1c2a8e69a2de57dd1984.js +0 -0
  521. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9230.58b8c42b730e1a56e69b.js +0 -0
  522. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9265.bc2b66a4502cdfcfc14f.js +0 -0
  523. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9362.823dcfac216f8057452d.js +0 -0
  524. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9395.b59dceae72715c9f885c.js +0 -0
  525. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9409.34c33ed11e2d6f318480.js +0 -0
  526. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9421.022dc7b4e9a2c80c32c2.js +0 -0
  527. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9440.04751e25c9cde059ff37.js +0 -0
  528. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9445.fe5e9e5b728de8d15873.js +0 -0
  529. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9545.f0f7a2959bdd17ee3448.js +0 -0
  530. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js +0 -0
  531. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js.LICENSE.txt +0 -0
  532. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9621.9cbfa52c42927bb398b4.js +0 -0
  533. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
  534. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9738.c0234a1f7f6ac262f560.js +0 -0
  535. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js +0 -0
  536. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js.LICENSE.txt +0 -0
  537. /jupyterlab-4.2.0a0.data/data/share/jupyter/lab/static/9826.d9f65134a6fe2206e6df.js.LICENSE.txt → /jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js.LICENSE.txt +0 -0
  538. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
  539. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9984.6ba5355e0d5487d5ac63.js +0 -0
  540. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/a009bea404f7a500ded4.woff +0 -0
  541. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
  542. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/af04542b29eaac04550a.woff +0 -0
  543. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
  544. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/af96f67d7accf5fd2a4a.woff +0 -0
  545. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/b418136e3b384baaadec.woff +0 -0
  546. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
  547. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
  548. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/c49810b53ecc0d87d802.woff +0 -0
  549. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/c56da8d69f1a0208b8e0.woff +0 -0
  550. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
  551. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
  552. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
  553. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
  554. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
  555. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
  556. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/fc6ddf5df402b263cfb1.woff +0 -0
  557. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
  558. {jupyterlab-4.2.0a0.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
  559. {jupyterlab-4.2.0a0.dist-info → jupyterlab-4.2.0a2.dist-info}/entry_points.txt +0 -0
  560. {jupyterlab-4.2.0a0.dist-info → jupyterlab-4.2.0a2.dist-info}/licenses/LICENSE +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[2800],{52800:(e,t,i)=>{i.r(t);i.d(t,{RegExpCursor:()=>u,SearchCursor:()=>a,SearchQuery:()=>V,closeSearchPanel:()=>ue,findNext:()=>ie,findPrevious:()=>re,getSearchQuery:()=>U,gotoLine:()=>w,highlightSelectionMatches:()=>k,openSearchPanel:()=>he,replaceAll:()=>le,replaceNext:()=>oe,search:()=>I,searchKeymap:()=>fe,searchPanelOpen:()=>J,selectMatches:()=>ne,selectNextOccurrence:()=>F,selectSelectionMatches:()=>se,setSearchQuery:()=>K});var r=i(66143);var n=i(37496);function s(){var e=arguments[0];if(typeof e=="string")e=document.createElement(e);var t=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var n=i[r];if(typeof n=="string")e.setAttribute(r,n);else if(n!=null)e[r]=n}t++}for(;t<arguments.length;t++)o(e,arguments[t]);return e}function o(e,t){if(typeof t=="string"){e.appendChild(document.createTextNode(t))}else if(t==null){}else if(t.nodeType!=null){e.appendChild(t)}else if(Array.isArray(t)){for(var i=0;i<t.length;i++)o(e,t[i])}else{throw new RangeError("Unsupported child node: "+t)}}const l=typeof String.prototype.normalize=="function"?e=>e.normalize("NFKD"):e=>e;class a{constructor(e,t,i=0,r=e.length,n,s){this.test=s;this.value={from:0,to:0};this.done=false;this.matches=[];this.buffer="";this.bufferPos=0;this.iter=e.iterRange(i,r);this.bufferStart=i;this.normalize=n?e=>n(l(e)):l;this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){this.bufferStart+=this.buffer.length;this.iter.next();if(this.iter.done)return-1;this.bufferPos=0;this.buffer=this.iter.value}return(0,n.codePointAt)(this.buffer,this.bufferPos)}next(){while(this.matches.length)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0){this.done=true;return this}let t=(0,n.fromCodePoint)(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=(0,n.codePointSize)(e);let r=this.normalize(t);for(let n=0,s=i;;n++){let e=r.charCodeAt(n);let o=this.match(e,s);if(o){this.value=o;return this}if(n==r.length-1)break;if(s==i&&n<t.length&&t.charCodeAt(n)==e)s++}}}match(e,t){let i=null;for(let r=0;r<this.matches.length;r+=2){let n=this.matches[r],s=false;if(this.query.charCodeAt(n)==e){if(n==this.query.length-1){i={from:this.matches[r+1],to:t+1}}else{this.matches[r]++;s=true}}if(!s){this.matches.splice(r,2);r-=2}}if(this.query.charCodeAt(0)==e){if(this.query.length==1)i={from:t,to:t+1};else this.matches.push(1,t)}if(i&&this.test&&!this.test(i.from,i.to,this.buffer,this.bufferPos))i=null;return i}}if(typeof Symbol!="undefined")a.prototype[Symbol.iterator]=function(){return this};const c={from:-1,to:-1,match:/.*/.exec("")};const h="gm"+(/x/.unicode==null?"":"u");class u{constructor(e,t,i,r=0,n=e.length){this.text=e;this.to=n;this.curLine="";this.done=false;this.value=c;if(/\\[sWDnr]|\n|\r|\[\^/.test(t))return new p(e,t,i,r,n);this.re=new RegExp(t,h+((i===null||i===void 0?void 0:i.ignoreCase)?"i":""));this.test=i===null||i===void 0?void 0:i.test;this.iter=e.iter();let s=e.lineAt(r);this.curLineStart=s.from;this.matchPos=g(e,r);this.getLine(this.curLineStart)}getLine(e){this.iter.next(e);if(this.iter.lineBreak){this.curLine=""}else{this.curLine=this.iter.value;if(this.curLineStart+this.curLine.length>this.to)this.curLine=this.curLine.slice(0,this.to-this.curLineStart);this.iter.next()}}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1;if(this.curLineStart>this.to)this.curLine="";else this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let i=this.curLineStart+t.index,r=i+t[0].length;this.matchPos=g(this.text,r+(i==r?1:0));if(i==this.curLineStart+this.curLine.length)this.nextLine();if((i<r||i>this.value.to)&&(!this.test||this.test(i,r,t))){this.value={from:i,to:r,match:t};return this}e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to){this.nextLine();e=0}else{this.done=true;return this}}}}const f=new WeakMap;class d{constructor(e,t){this.from=e;this.text=t}get to(){return this.from+this.text.length}static get(e,t,i){let r=f.get(e);if(!r||r.from>=i||r.to<=t){let r=new d(t,e.sliceString(t,i));f.set(e,r);return r}if(r.from==t&&r.to==i)return r;let{text:n,from:s}=r;if(s>t){n=e.sliceString(t,s)+n;s=t}if(r.to<i)n+=e.sliceString(r.to,i);f.set(e,new d(s,n));return new d(t,n.slice(t-s,i-s))}}class p{constructor(e,t,i,r,n){this.text=e;this.to=n;this.done=false;this.value=c;this.matchPos=g(e,r);this.re=new RegExp(t,h+((i===null||i===void 0?void 0:i.ignoreCase)?"i":""));this.test=i===null||i===void 0?void 0:i.test;this.flat=d.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from;let t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e){this.re.lastIndex=e+1;t=this.re.exec(this.flat.text)}if(t){let e=this.flat.from+t.index,i=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,i,t))){this.value={from:e,to:i,match:t};this.matchPos=g(this.text,i+(e==i?1:0));return this}}if(this.flat.to==this.to){this.done=true;return this}this.flat=d.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}if(typeof Symbol!="undefined"){u.prototype[Symbol.iterator]=p.prototype[Symbol.iterator]=function(){return this}}function m(e){try{new RegExp(e,h);return true}catch(t){return false}}function g(e,t){if(t>=e.length)return t;let i=e.lineAt(t),r;while(t<i.to&&(r=i.text.charCodeAt(t-i.from))>=56320&&r<57344)t++;return t}function v(e){let t=s("input",{class:"cm-textfield",name:"line"});let i=s("form",{class:"cm-gotoLine",onkeydown:t=>{if(t.keyCode==27){t.preventDefault();e.dispatch({effects:x.of(false)});e.focus()}else if(t.keyCode==13){t.preventDefault();r()}},onsubmit:e=>{e.preventDefault();r()}},s("label",e.state.phrase("Go to line"),": ",t)," ",s("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function r(){let i=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!i)return;let{state:r}=e,s=r.doc.lineAt(r.selection.main.head);let[,o,l,a,c]=i;let h=a?+a.slice(1):0;let u=l?+l:s.number;if(l&&c){let e=u/100;if(o)e=e*(o=="-"?-1:1)+s.number/r.doc.lines;u=Math.round(r.doc.lines*e)}else if(l&&o){u=u*(o=="-"?-1:1)+s.number}let f=r.doc.line(Math.max(1,Math.min(r.doc.lines,u)));e.dispatch({effects:x.of(false),selection:n.EditorSelection.cursor(f.from+Math.max(0,Math.min(h,f.length))),scrollIntoView:true});e.focus()}return{dom:i}}const x=n.StateEffect.define();const y=n.StateField.define({create(){return true},update(e,t){for(let i of t.effects)if(i.is(x))e=i.value;return e},provide:e=>r.showPanel.from(e,(e=>e?v:null))});const w=e=>{let t=(0,r.getPanel)(e,v);if(!t){let i=[x.of(true)];if(e.state.field(y,false)==null)i.push(n.StateEffect.appendConfig.of([y,b]));e.dispatch({effects:i});t=(0,r.getPanel)(e,v)}if(t)t.dom.querySelector("input").focus();return true};const b=r.EditorView.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}});const S={highlightWordAroundCursor:false,minSelectionLength:1,maxMatches:100,wholeWords:false};const C=n.Facet.define({combine(e){return(0,n.combineConfig)(e,S,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function k(e){let t=[P,L];if(e)t.push(C.of(e));return t}const M=r.Decoration.mark({class:"cm-selectionMatch"});const E=r.Decoration.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function D(e,t,i,r){return(i==0||e(t.sliceDoc(i-1,i))!=n.CharCategory.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=n.CharCategory.Word)}function q(e,t,i,r){return e(t.sliceDoc(i,i+1))==n.CharCategory.Word&&e(t.sliceDoc(r-1,r))==n.CharCategory.Word}const L=r.ViewPlugin.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){if(e.selectionSet||e.docChanged||e.viewportChanged)this.decorations=this.getDeco(e.view)}getDeco(e){let t=e.state.facet(C);let{state:i}=e,n=i.selection;if(n.ranges.length>1)return r.Decoration.none;let s=n.main,o,l=null;if(s.empty){if(!t.highlightWordAroundCursor)return r.Decoration.none;let e=i.wordAt(s.head);if(!e)return r.Decoration.none;l=i.charCategorizer(s.head);o=i.sliceDoc(e.from,e.to)}else{let e=s.to-s.from;if(e<t.minSelectionLength||e>200)return r.Decoration.none;if(t.wholeWords){o=i.sliceDoc(s.from,s.to);l=i.charCategorizer(s.head);if(!(D(l,i,s.from,s.to)&&q(l,i,s.from,s.to)))return r.Decoration.none}else{o=i.sliceDoc(s.from,s.to).trim();if(!o)return r.Decoration.none}}let c=[];for(let h of e.visibleRanges){let e=new a(i.doc,o,h.from,h.to);while(!e.next().done){let{from:n,to:o}=e.value;if(!l||D(l,i,n,o)){if(s.empty&&n<=s.from&&o>=s.to)c.push(E.range(n,o));else if(n>=s.to||o<=s.from)c.push(M.range(n,o));if(c.length>t.maxMatches)return r.Decoration.none}}}return r.Decoration.set(c)}},{decorations:e=>e.decorations});const P=r.EditorView.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});const A=({state:e,dispatch:t})=>{let{selection:i}=e;let r=n.EditorSelection.create(i.ranges.map((t=>e.wordAt(t.head)||n.EditorSelection.cursor(t.head))),i.mainIndex);if(r.eq(i))return false;t(e.update({selection:r}));return true};function W(e,t){let{main:i,ranges:r}=e.selection;let n=e.wordAt(i.head),s=n&&n.from==i.from&&n.to==i.to;for(let o=false,l=new a(e.doc,t,r[r.length-1].to);;){l.next();if(l.done){if(o)return null;l=new a(e.doc,t,0,Math.max(0,r[r.length-1].from-1));o=true}else{if(o&&r.some((e=>e.from==l.value.from)))continue;if(s){let t=e.wordAt(l.value.from);if(!t||t.from!=l.value.from||t.to!=l.value.to)continue}return l.value}}}const F=({state:e,dispatch:t})=>{let{ranges:i}=e.selection;if(i.some((e=>e.from===e.to)))return A({state:e,dispatch:t});let s=e.sliceDoc(i[0].from,i[0].to);if(e.selection.ranges.some((t=>e.sliceDoc(t.from,t.to)!=s)))return false;let o=W(e,s);if(!o)return false;t(e.update({selection:e.selection.addRange(n.EditorSelection.range(o.from,o.to),false),effects:r.EditorView.scrollIntoView(o.to)}));return true};const R=n.Facet.define({combine(e){return(0,n.combineConfig)(e,{top:false,caseSensitive:false,literal:false,wholeWord:false,createPanel:e=>new de(e),scrollToMatch:e=>r.EditorView.scrollIntoView(e)})}});function I(e){return e?[R.of(e),ye]:ye}class V{constructor(e){this.search=e.search;this.caseSensitive=!!e.caseSensitive;this.literal=!!e.literal;this.regexp=!!e.regexp;this.replace=e.replace||"";this.valid=!!this.search&&(!this.regexp||m(this.search));this.unquoted=this.unquote(this.search);this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,((e,t)=>t=="n"?"\n":t=="r"?"\r":t=="t"?"\t":"\\"))}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new B(this):new $(this)}getCursor(e,t=0,i){let r=e.doc?e:n.EditorState.create({doc:e});if(i==null)i=r.doc.length;return this.regexp?_(this,r,t,i):O(this,r,t,i)}}class z{constructor(e){this.spec=e}}function O(e,t,i,r){return new a(t.doc,e.unquoted,i,r,e.caseSensitive?undefined:e=>e.toLowerCase(),e.wholeWord?T(t.doc,t.charCategorizer(t.selection.main.head)):undefined)}function T(e,t){return(i,r,s,o)=>{if(o>i||o+s.length<r){o=Math.max(0,i-2);s=e.sliceString(o,Math.min(e.length,r+2))}return(t(N(s,i-o))!=n.CharCategory.Word||t(Q(s,i-o))!=n.CharCategory.Word)&&(t(Q(s,r-o))!=n.CharCategory.Word||t(N(s,r-o))!=n.CharCategory.Word)}}class $ extends z{constructor(e){super(e)}nextMatch(e,t,i){let r=O(this.spec,e,i,e.doc.length).nextOverlapping();if(r.done)r=O(this.spec,e,0,t).nextOverlapping();return r.done?null:r.value}prevMatchInRange(e,t,i){for(let r=i;;){let i=Math.max(t,r-1e4-this.spec.unquoted.length);let n=O(this.spec,e,i,r),s=null;while(!n.nextOverlapping().done)s=n.value;if(s)return s;if(i==t)return null;r-=1e4}}prevMatch(e,t,i){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let i=O(this.spec,e,0,e.doc.length),r=[];while(!i.next().done){if(r.length>=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let n=O(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.doc.length));while(!n.next().done)r(n.value.from,n.value.to)}}function _(e,t,i,r){return new u(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?j(t.charCategorizer(t.selection.main.head)):undefined},i,r)}function N(e,t){return e.slice((0,n.findClusterBreak)(e,t,false),t)}function Q(e,t){return e.slice(t,(0,n.findClusterBreak)(e,t))}function j(e){return(t,i,r)=>!r[0].length||(e(N(r.input,r.index))!=n.CharCategory.Word||e(Q(r.input,r.index))!=n.CharCategory.Word)&&(e(Q(r.input,r.index+r[0].length))!=n.CharCategory.Word||e(N(r.input,r.index+r[0].length))!=n.CharCategory.Word)}class B extends z{nextMatch(e,t,i){let r=_(this.spec,e,i,e.doc.length).next();if(r.done)r=_(this.spec,e,0,t).next();return r.done?null:r.value}prevMatchInRange(e,t,i){for(let r=1;;r++){let n=Math.max(t,i-r*1e4);let s=_(this.spec,e,n,i),o=null;while(!s.next().done)o=s.value;if(o&&(n==t||o.from>n+10))return o;if(n==t)return null}}prevMatch(e,t,i){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,((t,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i<e.match.length?e.match[i]:t)))}matchAll(e,t){let i=_(this.spec,e,0,e.doc.length),r=[];while(!i.next().done){if(r.length>=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let n=_(this.spec,e,Math.max(0,t-250),Math.min(i+250,e.doc.length));while(!n.next().done)r(n.value.from,n.value.to)}}const K=n.StateEffect.define();const G=n.StateEffect.define();const H=n.StateField.define({create(e){return new X(ce(e).create(),null)},update(e,t){for(let i of t.effects){if(i.is(K))e=new X(i.value.create(),e.panel);else if(i.is(G))e=new X(e.query,i.value?ae:null)}return e},provide:e=>r.showPanel.from(e,(e=>e.panel))});function U(e){let t=e.field(H,false);return t?t.query.spec:ce(e)}function J(e){var t;return((t=e.field(H,false))===null||t===void 0?void 0:t.panel)!=null}class X{constructor(e,t){this.query=e;this.panel=t}}const Y=r.Decoration.mark({class:"cm-searchMatch"}),Z=r.Decoration.mark({class:"cm-searchMatch cm-searchMatch-selected"});const ee=r.ViewPlugin.fromClass(class{constructor(e){this.view=e;this.decorations=this.highlight(e.state.field(H))}update(e){let t=e.state.field(H);if(t!=e.startState.field(H)||e.docChanged||e.selectionSet||e.viewportChanged)this.decorations=this.highlight(t)}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return r.Decoration.none;let{view:i}=this;let s=new n.RangeSetBuilder;for(let r=0,n=i.visibleRanges,o=n.length;r<o;r++){let{from:t,to:l}=n[r];while(r<o-1&&l>n[r+1].from-2*250)l=n[++r].to;e.highlight(i.state,t,l,((e,t)=>{let r=i.state.selection.ranges.some((i=>i.from==e&&i.to==t));s.add(e,t,r?Z:Y)}))}return s.finish()}},{decorations:e=>e.decorations});function te(e){return t=>{let i=t.state.field(H,false);return i&&i.query.spec.valid?e(t,i):he(t)}}const ie=te(((e,{query:t})=>{let{to:i}=e.state.selection.main;let r=t.nextMatch(e.state,i,i);if(!r)return false;let s=n.EditorSelection.single(r.from,r.to);let o=e.state.facet(R);e.dispatch({selection:s,effects:[ve(e,r),o.scrollToMatch(s.main)],userEvent:"select.search"});return true}));const re=te(((e,{query:t})=>{let{state:i}=e,{from:r}=i.selection.main;let s=t.prevMatch(i,r,r);if(!s)return false;let o=n.EditorSelection.single(s.from,s.to);let l=e.state.facet(R);e.dispatch({selection:o,effects:[ve(e,s),l.scrollToMatch(o.main)],userEvent:"select.search"});return true}));const ne=te(((e,{query:t})=>{let i=t.matchAll(e.state,1e3);if(!i||!i.length)return false;e.dispatch({selection:n.EditorSelection.create(i.map((e=>n.EditorSelection.range(e.from,e.to)))),userEvent:"select.search.matches"});return true}));const se=({state:e,dispatch:t})=>{let i=e.selection;if(i.ranges.length>1||i.main.empty)return false;let{from:r,to:s}=i.main;let o=[],l=0;for(let c=new a(e.doc,e.sliceDoc(r,s));!c.next().done;){if(o.length>1e3)return false;if(c.value.from==r)l=o.length;o.push(n.EditorSelection.range(c.value.from,c.value.to))}t(e.update({selection:n.EditorSelection.create(o,l),userEvent:"select.search.matches"}));return true};const oe=te(((e,{query:t})=>{let{state:i}=e,{from:s,to:o}=i.selection.main;if(i.readOnly)return false;let l=t.nextMatch(i,s,s);if(!l)return false;let a=[],c,h;let u=[];if(l.from==s&&l.to==o){h=i.toText(t.getReplacement(l));a.push({from:l.from,to:l.to,insert:h});l=t.nextMatch(i,l.from,l.to);u.push(r.EditorView.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(s).number)+"."))}if(l){let t=a.length==0||a[0].from>=l.to?0:l.to-l.from-h.length;c=n.EditorSelection.single(l.from-t,l.to-t);u.push(ve(e,l));u.push(i.facet(R).scrollToMatch(c.main))}e.dispatch({changes:a,selection:c,effects:u,userEvent:"input.replace"});return true}));const le=te(((e,{query:t})=>{if(e.state.readOnly)return false;let i=t.matchAll(e.state,1e9).map((e=>{let{from:i,to:r}=e;return{from:i,to:r,insert:t.getReplacement(e)}}));if(!i.length)return false;let n=e.state.phrase("replaced $ matches",i.length)+".";e.dispatch({changes:i,effects:r.EditorView.announce.of(n),userEvent:"input.replace.all"});return true}));function ae(e){return e.state.facet(R).createPanel(e)}function ce(e,t){var i,r,n,s;let o=e.selection.main;let l=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!l)return t;let a=e.facet(R);return new V({search:((i=t===null||t===void 0?void 0:t.literal)!==null&&i!==void 0?i:a.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(r=t===null||t===void 0?void 0:t.caseSensitive)!==null&&r!==void 0?r:a.caseSensitive,literal:(n=t===null||t===void 0?void 0:t.literal)!==null&&n!==void 0?n:a.literal,wholeWord:(s=t===null||t===void 0?void 0:t.wholeWord)!==null&&s!==void 0?s:a.wholeWord})}const he=e=>{let t=e.state.field(H,false);if(t&&t.panel){let i=(0,r.getPanel)(e,ae);if(!i)return false;let n=i.dom.querySelector("[main-field]");if(n&&n!=e.root.activeElement){let i=ce(e.state,t.query.spec);if(i.valid)e.dispatch({effects:K.of(i)});n.focus();n.select()}}else{e.dispatch({effects:[G.of(true),t?K.of(ce(e.state,t.query.spec)):n.StateEffect.appendConfig.of(ye)]})}return true};const ue=e=>{let t=e.state.field(H,false);if(!t||!t.panel)return false;let i=(0,r.getPanel)(e,ae);if(i&&i.dom.contains(e.root.activeElement))e.focus();e.dispatch({effects:G.of(false)});return true};const fe=[{key:"Mod-f",run:he,scope:"editor search-panel"},{key:"F3",run:ie,shift:re,scope:"editor search-panel",preventDefault:true},{key:"Mod-g",run:ie,shift:re,scope:"editor search-panel",preventDefault:true},{key:"Escape",run:ue,scope:"editor search-panel"},{key:"Mod-Shift-l",run:se},{key:"Alt-g",run:w},{key:"Mod-d",run:F,preventDefault:true}];class de{constructor(e){this.view=e;let t=this.query=e.state.field(H).query.spec;this.commit=this.commit.bind(this);this.searchField=s("input",{value:t.search,placeholder:pe(e,"Find"),"aria-label":pe(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit});this.replaceField=s("input",{value:t.replace,placeholder:pe(e,"Replace"),"aria-label":pe(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit});this.caseField=s("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit});this.reField=s("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit});this.wordField=s("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function i(e,t,i){return s("button",{class:"cm-button",name:e,onclick:t,type:"button"},i)}this.dom=s("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,i("next",(()=>ie(e)),[pe(e,"next")]),i("prev",(()=>re(e)),[pe(e,"previous")]),i("select",(()=>ne(e)),[pe(e,"all")]),s("label",null,[this.caseField,pe(e,"match case")]),s("label",null,[this.reField,pe(e,"regexp")]),s("label",null,[this.wordField,pe(e,"by word")]),...e.state.readOnly?[]:[s("br"),this.replaceField,i("replace",(()=>oe(e)),[pe(e,"replace")]),i("replaceAll",(()=>le(e)),[pe(e,"replace all")])],s("button",{name:"close",onclick:()=>ue(e),"aria-label":pe(e,"close"),type:"button"},["×"])])}commit(){let e=new V({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});if(!e.eq(this.query)){this.query=e;this.view.dispatch({effects:K.of(e)})}}keydown(e){if((0,r.runScopeHandlers)(this.view,e,"search-panel")){e.preventDefault()}else if(e.keyCode==13&&e.target==this.searchField){e.preventDefault();(e.shiftKey?re:ie)(this.view)}else if(e.keyCode==13&&e.target==this.replaceField){e.preventDefault();oe(this.view)}}update(e){for(let t of e.transactions)for(let e of t.effects){if(e.is(K)&&!e.value.eq(this.query))this.setQuery(e.value)}}setQuery(e){this.query=e;this.searchField.value=e.search;this.replaceField.value=e.replace;this.caseField.checked=e.caseSensitive;this.reField.checked=e.regexp;this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(R).top}}function pe(e,t){return e.state.phrase(t)}const me=30;const ge=/[\s\.,:;?!]/;function ve(e,{from:t,to:i}){let n=e.state.doc.lineAt(t),s=e.state.doc.lineAt(i).to;let o=Math.max(n.from,t-me),l=Math.min(s,i+me);let a=e.state.sliceDoc(o,l);if(o!=n.from){for(let e=0;e<me;e++)if(!ge.test(a[e+1])&&ge.test(a[e])){a=a.slice(e);break}}if(l!=s){for(let e=a.length-1;e>a.length-me;e--)if(!ge.test(a[e-1])&&ge.test(a[e])){a=a.slice(0,e);break}}return r.EditorView.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${n.number}.`)}const xe=r.EditorView.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}});const ye=[H,n.Prec.lowest(ee),xe]}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[2995],{2995:(e,t,n)=>{n.r(t);n.d(t,{sparql:()=>d});var r;function a(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var i=a(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]);var u=a(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]);var o=/[*+\-<>=&|\^\/!\?]/;function s(e,t){var n=e.next();r=null;if(n=="$"||n=="?"){if(n=="?"&&e.match(/\s/,false)){return"operator"}e.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/);return"variableName.local"}else if(n=="<"&&!e.match(/^[\s\u00a0=]/,false)){e.match(/^[^\s\u00a0>]*>?/);return"atom"}else if(n=='"'||n=="'"){t.tokenize=c(n);return t.tokenize(e,t)}else if(/[{}\(\),\.;\[\]]/.test(n)){r=n;return"bracket"}else if(n=="#"){e.skipToEnd();return"comment"}else if(o.test(n)){return"operator"}else if(n==":"){l(e);return"atom"}else if(n=="@"){e.eatWhile(/[a-z\d\-]/i);return"meta"}else{e.eatWhile(/[_\w\d]/);if(e.eat(":")){l(e);return"atom"}var a=e.current();if(i.test(a))return"builtin";else if(u.test(a))return"keyword";else return"variable"}}function l(e){e.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function c(e){return function(t,n){var r=false,a;while((a=t.next())!=null){if(a==e&&!r){n.tokenize=s;break}r=!r&&a=="\\"}return"string"}}function f(e,t,n){e.context={prev:e.context,indent:e.indent,col:n,type:t}}function p(e){e.indent=e.context.indent;e.context=e.context.prev}const d={name:"sparql",startState:function(){return{tokenize:s,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()){if(t.context&&t.context.align==null)t.context.align=false;t.indent=e.indentation()}if(e.eatSpace())return null;var n=t.tokenize(e,t);if(n!="comment"&&t.context&&t.context.align==null&&t.context.type!="pattern"){t.context.align=true}if(r=="(")f(t,")",e.column());else if(r=="[")f(t,"]",e.column());else if(r=="{")f(t,"}",e.column());else if(/[\]\}\)]/.test(r)){while(t.context&&t.context.type=="pattern")p(t);if(t.context&&r==t.context.type){p(t);if(r=="}"&&t.context&&t.context.type=="pattern")p(t)}}else if(r=="."&&t.context&&t.context.type=="pattern")p(t);else if(/atom|string|variable/.test(n)&&t.context){if(/[\}\]]/.test(t.context.type))f(t,"pattern",e.column());else if(t.context.type=="pattern"&&!t.context.align){t.context.align=true;t.context.col=e.column()}}return n},indent:function(e,t,n){var r=t&&t.charAt(0);var a=e.context;if(/[\]\}]/.test(r))while(a&&a.type=="pattern")a=a.prev;var i=a&&r==a.type;if(!a)return 0;else if(a.type=="pattern")return a.col;else if(a.align)return a.col+(i?0:1);else return a.indent+(i?0:n.unit)},languageData:{commentTokens:{line:"#"}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[3547],{43547:(e,t,n)=>{n.r(t);n.d(t,{blockComment:()=>y,blockUncomment:()=>k,copyLineDown:()=>zt,copyLineUp:()=>Ht,cursorCharBackward:()=>fe,cursorCharForward:()=>ue,cursorCharLeft:()=>ae,cursorCharRight:()=>ce,cursorDocEnd:()=>yt,cursorDocStart:()=>gt,cursorGroupBackward:()=>ge,cursorGroupForward:()=>pe,cursorGroupLeft:()=>he,cursorGroupRight:()=>me,cursorLineBoundaryBackward:()=>Re,cursorLineBoundaryForward:()=>Ie,cursorLineBoundaryLeft:()=>Ve,cursorLineBoundaryRight:()=>Ue,cursorLineDown:()=>xe,cursorLineEnd:()=>Ge,cursorLineStart:()=>Ne,cursorLineUp:()=>De,cursorMatchingBracket:()=>Fe,cursorPageDown:()=>Oe,cursorPageUp:()=>be,cursorSubwordBackward:()=>ve,cursorSubwordForward:()=>we,cursorSyntaxLeft:()=>Ce,cursorSyntaxRight:()=>Be,defaultKeymap:()=>rn,deleteCharBackward:()=>xt,deleteCharForward:()=>Lt,deleteGroupBackward:()=>bt,deleteGroupForward:()=>Ot,deleteLine:()=>jt,deleteToLineEnd:()=>Tt,deleteToLineStart:()=>It,deleteTrailingWhitespace:()=>Rt,emacsStyleKeymap:()=>tn,history:()=>T,historyField:()=>I,historyKeymap:()=>te,indentLess:()=>Zt,indentMore:()=>Yt,indentSelection:()=>Xt,indentWithTab:()=>on,insertBlankLine:()=>Kt,insertNewline:()=>_t,insertNewlineAndIndent:()=>qt,insertTab:()=>en,invertedEffects:()=>L,isolateHistory:()=>x,lineComment:()=>m,lineUncomment:()=>p,moveLineDown:()=>Ft,moveLineUp:()=>Jt,redo:()=>U,redoDepth:()=>P,redoSelection:()=>G,selectAll:()=>vt,selectCharBackward:()=>qe,selectCharForward:()=>$e,selectCharLeft:()=>je,selectCharRight:()=>_e,selectDocEnd:()=>wt,selectDocStart:()=>kt,selectGroupBackward:()=>Ye,selectGroupForward:()=>Xe,selectGroupLeft:()=>We,selectGroupRight:()=>Qe,selectLine:()=>St,selectLineBoundaryBackward:()=>ft,selectLineBoundaryForward:()=>ut,selectLineBoundaryLeft:()=>dt,selectLineBoundaryRight:()=>ht,selectLineDown:()=>st,selectLineEnd:()=>pt,selectLineStart:()=>mt,selectLineUp:()=>lt,selectMatchingBracket:()=>Pe,selectPageDown:()=>ct,selectPageUp:()=>at,selectParentSyntax:()=>At,selectSubwordBackward:()=>tt,selectSubwordForward:()=>et,selectSyntaxLeft:()=>nt,selectSyntaxRight:()=>rt,simplifySelection:()=>Ct,splitLine:()=>Vt,standardKeymap:()=>nn,toggleBlockComment:()=>g,toggleBlockCommentByLine:()=>w,toggleComment:()=>f,toggleLineComment:()=>h,transposeChars:()=>Ut,undo:()=>V,undoDepth:()=>F,undoSelection:()=>N});var r=n(37496);var o=n.n(r);var l=n(66143);var s=n.n(l);var i=n(24104);var a=n.n(i);var c=n(73265);var u=n.n(c);const f=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=v(e.state,n.from);return r.line?h(e):r.block?w(e):false};function d(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return false;let o=e(t,n);if(!o)return false;r(n.update(o));return true}}const h=d(E,0);const m=d(E,1);const p=d(E,2);const g=d(B,0);const y=d(B,1);const k=d(B,2);const w=d(((e,t)=>B(e,t,C(t))),0);function v(e,t){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}const S=50;function A(e,{open:t,close:n},r,o){let l=e.sliceDoc(r-S,r);let s=e.sliceDoc(o,o+S);let i=/\s*$/.exec(l)[0].length,a=/^\s*/.exec(s)[0].length;let c=l.length-i;if(l.slice(c-t.length,c)==t&&s.slice(a,a+n.length)==n){return{open:{pos:r-i,margin:i&&1},close:{pos:o+a,margin:a&&1}}}let u,f;if(o-r<=2*S){u=f=e.sliceDoc(r,o)}else{u=e.sliceDoc(r,r+S);f=e.sliceDoc(o-S,o)}let d=/^\s*/.exec(u)[0].length,h=/\s*$/.exec(f)[0].length;let m=f.length-h-n.length;if(u.slice(d,d+t.length)==t&&f.slice(m,m+n.length)==n){return{open:{pos:r+d+t.length,margin:/\s/.test(u.charAt(d+t.length))?1:0},close:{pos:o-h-n.length,margin:/\s/.test(f.charAt(m-1))?1:0}}}return null}function C(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from);let o=n.to<=r.to?r:e.doc.lineAt(n.to);let l=t.length-1;if(l>=0&&t[l].to>r.from)t[l].to=o.to;else t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:o.to})}return t}function B(e,t,n=t.selection.ranges){let r=n.map((e=>v(t,e.from).block));if(!r.every((e=>e)))return null;let o=n.map(((e,n)=>A(t,r[n],e.from,e.to)));if(e!=2&&!o.every((e=>e))){return{changes:t.changes(n.map(((e,t)=>{if(o[t])return[];return[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]})))}}else if(e!=1&&o.some((e=>e))){let e=[];for(let t=0,n;t<o.length;t++)if(n=o[t]){let o=r[t],{open:l,close:s}=n;e.push({from:l.pos-o.open.length,to:l.pos+l.margin},{from:s.pos-s.margin,to:s.pos+o.close.length})}return{changes:e}}return null}function E(e,t,n=t.selection.ranges){let r=[];let o=-1;for(let{from:l,to:s}of n){let e=r.length,n=1e9;let i=v(t,l).line;if(!i)continue;for(let a=l;a<=s;){let e=t.doc.lineAt(a);if(e.from>o&&(l==s||s>e.from)){o=e.from;let t=/^\s*/.exec(e.text)[0].length;let l=t==e.length;let s=e.text.slice(t,t+i.length)==i?t:-1;if(t<e.text.length&&t<n)n=t;r.push({line:e,comment:s,token:i,indent:t,empty:l,single:false})}a=e.to+1}if(n<1e9)for(let t=e;t<r.length;t++)if(r[t].indent<r[t].line.text.length)r[t].indent=n;if(r.length==e+1)r[e].single=true}if(e!=2&&r.some((e=>e.comment<0&&(!e.empty||e.single)))){let e=[];for(let{line:t,token:o,indent:l,empty:s,single:i}of r)if(i||!s)e.push({from:t.from+l,insert:o+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}else if(e!=1&&r.some((e=>e.comment>=0))){let e=[];for(let{line:t,comment:n,token:o}of r)if(n>=0){let r=t.from+n,l=r+o.length;if(t.text[l-t.from]==" ")l++;e.push({from:r,to:l})}return{changes:e}}return null}const D=r.Annotation.define();const x=r.Annotation.define();const L=r.Facet.define();const M=r.Facet.define({combine(e){return(0,r.combineConfig)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}});function b(e){let t=0;e.iterChangedRanges(((e,n)=>t=n));return t}const O=r.StateField.define({create(){return ee.empty},update(e,t){let n=t.state.facet(M);let o=t.annotation(D);if(o){let l=t.docChanged?r.EditorSelection.single(b(t.changes)):undefined;let s=H.fromTransaction(t,l),i=o.side;let a=i==0?e.undone:e.done;if(s)a=z(a,a.length,n.minDepth,s);else a=W(a,t.startState.selection);return new ee(i==0?o.rest:a,i==0?a:o.rest)}let l=t.annotation(x);if(l=="full"||l=="before")e=e.isolate();if(t.annotation(r.Transaction.addToHistory)===false)return!t.changes.empty?e.addMapping(t.changes.desc):e;let s=H.fromTransaction(t);let i=t.annotation(r.Transaction.time),a=t.annotation(r.Transaction.userEvent);if(s)e=e.addChanges(s,i,a,n,t);else if(t.selection)e=e.addSelection(t.startState.selection,i,a,n.newGroupDelay);if(l=="full"||l=="after")e=e.isolate();return e},toJSON(e){return{done:e.done.map((e=>e.toJSON())),undone:e.undone.map((e=>e.toJSON()))}},fromJSON(e){return new ee(e.done.map(H.fromJSON),e.undone.map(H.fromJSON))}});function T(e={}){return[O,M.of(e),l.EditorView.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?V:e.inputType=="historyRedo"?U:null;if(!n)return false;e.preventDefault();return n(t)}})]}const I=O;function R(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return false;let o=n.field(O,false);if(!o)return false;let l=o.pop(e,n,t);if(!l)return false;r(l);return true}}const V=R(0,false);const U=R(1,false);const N=R(0,true);const G=R(1,true);function J(e){return function(t){let n=t.field(O,false);if(!n)return 0;let r=e==0?n.done:n.undone;return r.length-(r.length&&!r[0].changes?1:0)}}const F=J(0);const P=J(1);class H{constructor(e,t,n,r,o){this.changes=e;this.effects=t;this.mapped=n;this.startSelection=r;this.selectionsAfter=o}setSelAfter(e){return new H(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map((e=>e.toJSON()))}}static fromJSON(e){return new H(e.changes&&r.ChangeSet.fromJSON(e.changes),[],e.mapped&&r.ChangeDesc.fromJSON(e.mapped),e.startSelection&&r.EditorSelection.fromJSON(e.startSelection),e.selectionsAfter.map(r.EditorSelection.fromJSON))}static fromTransaction(e,t){let n=q;for(let r of e.startState.facet(L)){let t=r(e);if(t.length)n=n.concat(t)}if(!n.length&&e.changes.empty)return null;return new H(e.changes.invert(e.startState.doc),n,undefined,t||e.startState.selection,q)}static selection(e){return new H(undefined,q,undefined,undefined,e)}}function z(e,t,n,r){let o=t+1>n+20?t-n-1:0;let l=e.slice(o,t);l.push(r);return l}function j(e,t){let n=[],r=false;e.iterChangedRanges(((e,t)=>n.push(e,t)));t.iterChangedRanges(((e,t,o,l)=>{for(let s=0;s<n.length;){let e=n[s++],t=n[s++];if(l>=e&&o<=t)r=true}}));return r}function _(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter(((e,n)=>e.empty!=t.ranges[n].empty)).length===0}function $(e,t){return!e.length?t:!t.length?e:e.concat(t)}const q=[];const K=200;function W(e,t){if(!e.length){return[H.selection([t])]}else{let n=e[e.length-1];let r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-K));if(r.length&&r[r.length-1].eq(t))return e;r.push(t);return z(e,e.length-1,1e9,n.setSelAfter(r))}}function Q(e){let t=e[e.length-1];let n=e.slice();n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1));return n}function X(e,t){if(!e.length)return e;let n=e.length,r=q;while(n){let o=Y(e[n-1],t,r);if(o.changes&&!o.changes.empty||o.effects.length){let t=e.slice(0,n);t[n-1]=o;return t}else{t=o.mapped;n--;r=o.selectionsAfter}}return r.length?[H.selection(r)]:q}function Y(e,t,n){let o=$(e.selectionsAfter.length?e.selectionsAfter.map((e=>e.map(t))):q,n);if(!e.changes)return H.selection(o);let l=e.changes.map(t),s=t.mapDesc(e.changes,true);let i=e.mapped?e.mapped.composeDesc(s):s;return new H(l,r.StateEffect.mapEffects(e.effects,t),i,e.startSelection.map(s),o)}const Z=/^(input\.type|delete)($|\.)/;class ee{constructor(e,t,n=0,r=undefined){this.done=e;this.undone=t;this.prevTime=n;this.prevUserEvent=r}isolate(){return this.prevTime?new ee(this.done,this.undone):this}addChanges(e,t,n,r,o){let l=this.done,s=l[l.length-1];if(s&&s.changes&&!s.changes.empty&&e.changes&&(!n||Z.test(n))&&(!s.selectionsAfter.length&&t-this.prevTime<r.newGroupDelay&&r.joinToEvent(o,j(s.changes,e.changes))||n=="input.type.compose")){l=z(l,l.length-1,r.minDepth,new H(e.changes.compose(s.changes),$(e.effects,s.effects),s.mapped,s.startSelection,q))}else{l=z(l,l.length,r.minDepth,e)}return new ee(l,q,t,n)}addSelection(e,t,n,r){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:q;if(o.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&_(o[o.length-1],e))return this;return new ee(W(this.done,e),this.undone,t,n)}addMapping(e){return new ee(X(this.done,e),X(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=e==0?this.done:this.undone;if(r.length==0)return null;let o=r[r.length-1];if(n&&o.selectionsAfter.length){return t.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:D.of({side:e,rest:Q(r)}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:true})}else if(!o.changes){return null}else{let n=r.length==1?q:r.slice(0,r.length-1);if(o.mapped)n=X(n,o.mapped);return t.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:D.of({side:e,rest:n}),filter:false,userEvent:e==0?"undo":"redo",scrollIntoView:true})}}}ee.empty=new ee(q,q);const te=[{key:"Mod-z",run:V,preventDefault:true},{key:"Mod-y",mac:"Mod-Shift-z",run:U,preventDefault:true},{linux:"Ctrl-Shift-z",run:U,preventDefault:true},{key:"Mod-u",run:N,preventDefault:true},{key:"Alt-u",mac:"Mod-Shift-u",run:G,preventDefault:true}];function ne(e,t){return r.EditorSelection.create(e.ranges.map(t),e.mainIndex)}function re(e,t){return e.update({selection:t,scrollIntoView:true,userEvent:"select"})}function oe({state:e,dispatch:t},n){let r=ne(e.selection,n);if(r.eq(e.selection))return false;t(re(e,r));return true}function le(e,t){return r.EditorSelection.cursor(t?e.to:e.from)}function se(e,t){return oe(e,(n=>n.empty?e.moveByChar(n,t):le(n,t)))}function ie(e){return e.textDirectionAt(e.state.selection.main.head)==l.Direction.LTR}const ae=e=>se(e,!ie(e));const ce=e=>se(e,ie(e));const ue=e=>se(e,true);const fe=e=>se(e,false);function de(e,t){return oe(e,(n=>n.empty?e.moveByGroup(n,t):le(n,t)))}const he=e=>de(e,!ie(e));const me=e=>de(e,ie(e));const pe=e=>de(e,true);const ge=e=>de(e,false);function ye(e,t,n){let o=e.state.charCategorizer(t.from);return e.moveByChar(t,n,(l=>{let s=r.CharCategory.Space,i=t.from;let a=false,c=false,u=false;let f=t=>{if(a)return false;i+=n?t.length:-t.length;let l=o(t),f;if(s==r.CharCategory.Space)s=l;if(s!=l)return false;if(s==r.CharCategory.Word){if(t.toLowerCase()==t){if(!n&&c)return false;u=true}else if(u){if(n)return false;a=true}else{if(c&&n&&o(f=e.state.sliceDoc(i,i+1))==r.CharCategory.Word&&f.toLowerCase()==f)return false;c=true}}return true};f(l);return f}))}function ke(e,t){return oe(e,(n=>n.empty?ye(e,n,t):le(n,t)))}const we=e=>ke(e,true);const ve=e=>ke(e,false);function Se(e,t,n){if(t.type.prop(n))return true;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function Ae(e,t,n){let o=(0,i.syntaxTree)(e).resolveInner(t.head);let l=n?c.NodeProp.closedBy:c.NodeProp.openedBy;for(let r=t.head;;){let t=n?o.childAfter(r):o.childBefore(r);if(!t)break;if(Se(e,t,l))o=t;else r=n?t.to:t.from}let s=o.type.prop(l),a,u;if(s&&(a=n?(0,i.matchBrackets)(e,o.from,1):(0,i.matchBrackets)(e,o.to,-1))&&a.matched)u=n?a.end.to:a.end.from;else u=n?o.to:o.from;return r.EditorSelection.cursor(u,n?-1:1)}const Ce=e=>oe(e,(t=>Ae(e.state,t,!ie(e))));const Be=e=>oe(e,(t=>Ae(e.state,t,ie(e))));function Ee(e,t){return oe(e,(n=>{if(!n.empty)return le(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)}))}const De=e=>Ee(e,false);const xe=e=>Ee(e,true);function Le(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2;let n=0,r=0,o;if(t){for(let t of e.state.facet(l.EditorView.scrollMargins)){let o=t(e);if(o===null||o===void 0?void 0:o.top)n=Math.max(o===null||o===void 0?void 0:o.top,n);if(o===null||o===void 0?void 0:o.bottom)r=Math.max(o===null||o===void 0?void 0:o.bottom,r)}o=e.scrollDOM.clientHeight-n-r}else{o=(e.dom.ownerDocument.defaultView||window).innerHeight}return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,o-5)}}function Me(e,t){let n=Le(e);let{state:r}=e,o=ne(r.selection,(r=>r.empty?e.moveVertically(r,t,n.height):le(r,t)));if(o.eq(r.selection))return false;let s;if(n.selfScroll){let t=e.coordsAtPos(r.selection.main.head);let i=e.scrollDOM.getBoundingClientRect();let a=i.top+n.marginTop,c=i.bottom-n.marginBottom;if(t&&t.top>a&&t.bottom<c)s=l.EditorView.scrollIntoView(o.main.head,{y:"start",yMargin:t.top-a})}e.dispatch(re(r,o),{effects:s});return true}const be=e=>Me(e,false);const Oe=e=>Me(e,true);function Te(e,t,n){let o=e.lineBlockAt(t.head),l=e.moveToLineBoundary(t,n);if(l.head==t.head&&l.head!=(n?o.to:o.from))l=e.moveToLineBoundary(t,n,false);if(!n&&l.head==o.from&&o.length){let n=/^\s*/.exec(e.state.sliceDoc(o.from,Math.min(o.from+100,o.to)))[0].length;if(n&&t.head!=o.from+n)l=r.EditorSelection.cursor(o.from+n)}return l}const Ie=e=>oe(e,(t=>Te(e,t,true)));const Re=e=>oe(e,(t=>Te(e,t,false)));const Ve=e=>oe(e,(t=>Te(e,t,!ie(e))));const Ue=e=>oe(e,(t=>Te(e,t,ie(e))));const Ne=e=>oe(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).from,1)));const Ge=e=>oe(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).to,-1)));function Je(e,t,n){let o=false,l=ne(e.selection,(t=>{let l=(0,i.matchBrackets)(e,t.head,-1)||(0,i.matchBrackets)(e,t.head,1)||t.head>0&&(0,i.matchBrackets)(e,t.head-1,1)||t.head<e.doc.length&&(0,i.matchBrackets)(e,t.head+1,-1);if(!l||!l.end)return t;o=true;let s=l.start.from==t.head?l.end.to:l.end.from;return n?r.EditorSelection.range(t.anchor,s):r.EditorSelection.cursor(s)}));if(!o)return false;t(re(e,l));return true}const Fe=({state:e,dispatch:t})=>Je(e,t,false);const Pe=({state:e,dispatch:t})=>Je(e,t,true);function He(e,t){let n=ne(e.state.selection,(e=>{let n=t(e);return r.EditorSelection.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||undefined)}));if(n.eq(e.state.selection))return false;e.dispatch(re(e.state,n));return true}function ze(e,t){return He(e,(n=>e.moveByChar(n,t)))}const je=e=>ze(e,!ie(e));const _e=e=>ze(e,ie(e));const $e=e=>ze(e,true);const qe=e=>ze(e,false);function Ke(e,t){return He(e,(n=>e.moveByGroup(n,t)))}const We=e=>Ke(e,!ie(e));const Qe=e=>Ke(e,ie(e));const Xe=e=>Ke(e,true);const Ye=e=>Ke(e,false);function Ze(e,t){return He(e,(n=>ye(e,n,t)))}const et=e=>Ze(e,true);const tt=e=>Ze(e,false);const nt=e=>He(e,(t=>Ae(e.state,t,!ie(e))));const rt=e=>He(e,(t=>Ae(e.state,t,ie(e))));function ot(e,t){return He(e,(n=>e.moveVertically(n,t)))}const lt=e=>ot(e,false);const st=e=>ot(e,true);function it(e,t){return He(e,(n=>e.moveVertically(n,t,Le(e).height)))}const at=e=>it(e,false);const ct=e=>it(e,true);const ut=e=>He(e,(t=>Te(e,t,true)));const ft=e=>He(e,(t=>Te(e,t,false)));const dt=e=>He(e,(t=>Te(e,t,!ie(e))));const ht=e=>He(e,(t=>Te(e,t,ie(e))));const mt=e=>He(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).from)));const pt=e=>He(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).to)));const gt=({state:e,dispatch:t})=>{t(re(e,{anchor:0}));return true};const yt=({state:e,dispatch:t})=>{t(re(e,{anchor:e.doc.length}));return true};const kt=({state:e,dispatch:t})=>{t(re(e,{anchor:e.selection.main.anchor,head:0}));return true};const wt=({state:e,dispatch:t})=>{t(re(e,{anchor:e.selection.main.anchor,head:e.doc.length}));return true};const vt=({state:e,dispatch:t})=>{t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"}));return true};const St=({state:e,dispatch:t})=>{let n=Nt(e).map((({from:t,to:n})=>r.EditorSelection.range(t,Math.min(n+1,e.doc.length))));t(e.update({selection:r.EditorSelection.create(n),userEvent:"select"}));return true};const At=({state:e,dispatch:t})=>{let n=ne(e.selection,(t=>{var n;let o=(0,i.syntaxTree)(e).resolveInner(t.head,1);while(!(o.from<t.from&&o.to>=t.to||o.to>t.to&&o.from<=t.from||!((n=o.parent)===null||n===void 0?void 0:n.parent)))o=o.parent;return r.EditorSelection.range(o.to,o.from)}));t(re(e,n));return true};const Ct=({state:e,dispatch:t})=>{let n=e.selection,o=null;if(n.ranges.length>1)o=r.EditorSelection.create([n.main]);else if(!n.main.empty)o=r.EditorSelection.create([r.EditorSelection.cursor(n.main.head)]);if(!o)return false;t(re(e,o));return true};function Bt(e,t){if(e.state.readOnly)return false;let n="delete.selection",{state:o}=e;let s=o.changeByRange((o=>{let{from:l,to:s}=o;if(l==s){let r=t(l);if(r<l){n="delete.backward";r=Et(e,r,false)}else if(r>l){n="delete.forward";r=Et(e,r,true)}l=Math.min(l,r);s=Math.max(s,r)}else{l=Et(e,l,false);s=Et(e,s,true)}return l==s?{range:o}:{changes:{from:l,to:s},range:r.EditorSelection.cursor(l)}}));if(s.changes.empty)return false;e.dispatch(o.update(s,{scrollIntoView:true,userEvent:n,effects:n=="delete.selection"?l.EditorView.announce.of(o.phrase("Selection deleted")):undefined}));return true}function Et(e,t,n){if(e instanceof l.EditorView)for(let r of e.state.facet(l.EditorView.atomicRanges).map((t=>t(e))))r.between(t,t,((e,r)=>{if(e<t&&r>t)t=n?r:e}));return t}const Dt=(e,t)=>Bt(e,(n=>{let{state:o}=e,l=o.doc.lineAt(n),s,a;if(!t&&n>l.from&&n<l.from+200&&!/[^ \t]/.test(s=l.text.slice(0,n-l.from))){if(s[s.length-1]=="\t")return n-1;let e=(0,r.countColumn)(s,o.tabSize),t=e%(0,i.getIndentUnit)(o)||(0,i.getIndentUnit)(o);for(let r=0;r<t&&s[s.length-1-r]==" ";r++)n--;a=n}else{a=(0,r.findClusterBreak)(l.text,n-l.from,t,t)+l.from;if(a==n&&l.number!=(t?o.doc.lines:1))a+=t?1:-1}return a}));const xt=e=>Dt(e,false);const Lt=e=>Dt(e,true);const Mt=(e,t)=>Bt(e,(n=>{let o=n,{state:l}=e,s=l.doc.lineAt(o);let i=l.charCategorizer(o);for(let e=null;;){if(o==(t?s.to:s.from)){if(o==n&&s.number!=(t?l.doc.lines:1))o+=t?1:-1;break}let a=(0,r.findClusterBreak)(s.text,o-s.from,t)+s.from;let c=s.text.slice(Math.min(o,a)-s.from,Math.max(o,a)-s.from);let u=i(c);if(e!=null&&u!=e)break;if(c!=" "||o!=n)e=u;o=a}return o}));const bt=e=>Mt(e,false);const Ot=e=>Mt(e,true);const Tt=e=>Bt(e,(t=>{let n=e.lineBlockAt(t).to;return t<n?n:Math.min(e.state.doc.length,t+1)}));const It=e=>Bt(e,(t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}));const Rt=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=[];for(let r=0,o="",l=e.doc.iter();;){l.next();if(l.lineBreak||l.done){let e=o.search(/\s+$/);if(e>-1)n.push({from:r-(o.length-e),to:r});if(l.done)break;o=""}else{o=l.value}r+=l.value.length}if(!n.length)return false;t(e.update({changes:n,userEvent:"delete"}));return true};const Vt=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=e.changeByRange((e=>({changes:{from:e.from,to:e.to,insert:r.Text.of(["",""])},range:r.EditorSelection.cursor(e.from)})));t(e.update(n,{scrollIntoView:true,userEvent:"input"}));return true};const Ut=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=e.changeByRange((t=>{if(!t.empty||t.from==0||t.from==e.doc.length)return{range:t};let n=t.from,o=e.doc.lineAt(n);let l=n==o.from?n-1:(0,r.findClusterBreak)(o.text,n-o.from,false)+o.from;let s=n==o.to?n+1:(0,r.findClusterBreak)(o.text,n-o.from,true)+o.from;return{changes:{from:l,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(l,n))},range:r.EditorSelection.cursor(s)}}));if(n.changes.empty)return false;t(e.update(n,{scrollIntoView:true,userEvent:"move.character"}));return true};function Nt(e){let t=[],n=-1;for(let r of e.selection.ranges){let o=e.doc.lineAt(r.from),l=e.doc.lineAt(r.to);if(!r.empty&&r.to==l.from)l=e.doc.lineAt(r.to-1);if(n>=o.number){let e=t[t.length-1];e.to=l.to;e.ranges.push(r)}else{t.push({from:o.from,to:l.to,ranges:[r]})}n=l.number+1}return t}function Gt(e,t,n){if(e.readOnly)return false;let o=[],l=[];for(let s of Nt(e)){if(n?s.to==e.doc.length:s.from==0)continue;let t=e.doc.lineAt(n?s.to+1:s.from-1);let i=t.length+1;if(n){o.push({from:s.to,to:t.to},{from:s.from,insert:t.text+e.lineBreak});for(let t of s.ranges)l.push(r.EditorSelection.range(Math.min(e.doc.length,t.anchor+i),Math.min(e.doc.length,t.head+i)))}else{o.push({from:t.from,to:s.from},{from:s.to,insert:e.lineBreak+t.text});for(let e of s.ranges)l.push(r.EditorSelection.range(e.anchor-i,e.head-i))}}if(!o.length)return false;t(e.update({changes:o,scrollIntoView:true,selection:r.EditorSelection.create(l,e.selection.mainIndex),userEvent:"move.line"}));return true}const Jt=({state:e,dispatch:t})=>Gt(e,t,false);const Ft=({state:e,dispatch:t})=>Gt(e,t,true);function Pt(e,t,n){if(e.readOnly)return false;let r=[];for(let o of Nt(e)){if(n)r.push({from:o.from,insert:e.doc.slice(o.from,o.to)+e.lineBreak});else r.push({from:o.to,insert:e.lineBreak+e.doc.slice(o.from,o.to)})}t(e.update({changes:r,scrollIntoView:true,userEvent:"input.copyline"}));return true}const Ht=({state:e,dispatch:t})=>Pt(e,t,false);const zt=({state:e,dispatch:t})=>Pt(e,t,true);const jt=e=>{if(e.state.readOnly)return false;let{state:t}=e,n=t.changes(Nt(t).map((({from:e,to:n})=>{if(e>0)e--;else if(n<t.doc.length)n++;return{from:e,to:n}})));let r=ne(t.selection,(t=>e.moveVertically(t,true))).map(n);e.dispatch({changes:n,selection:r,scrollIntoView:true,userEvent:"delete.line"});return true};const _t=({state:e,dispatch:t})=>{t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:true,userEvent:"input"}));return true};function $t(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,i.syntaxTree)(e).resolveInner(t);let r=n.childBefore(t),o=n.childAfter(t),l;if(r&&o&&r.to<=t&&o.from>=t&&(l=r.type.prop(c.NodeProp.closedBy))&&l.indexOf(o.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(o.from).from)return{from:r.to,to:o.from};return null}const qt=Wt(false);const Kt=Wt(true);function Wt(e){return({state:t,dispatch:n})=>{if(t.readOnly)return false;let o=t.changeByRange((n=>{let{from:o,to:l}=n,s=t.doc.lineAt(o);let a=!e&&o==l&&$t(t,o);if(e)o=l=(l<=s.to?s:t.doc.lineAt(l)).to;let c=new i.IndentContext(t,{simulateBreak:o,simulateDoubleBreak:!!a});let u=(0,i.getIndentation)(c,o);if(u==null)u=/^\s*/.exec(t.doc.lineAt(o).text)[0].length;while(l<s.to&&/\s/.test(s.text[l-s.from]))l++;if(a)({from:o,to:l}=a);else if(o>s.from&&o<s.from+100&&!/\S/.test(s.text.slice(0,o)))o=s.from;let f=["",(0,i.indentString)(t,u)];if(a)f.push((0,i.indentString)(t,c.lineIndent(s.from,-1)));return{changes:{from:o,to:l,insert:r.Text.of(f)},range:r.EditorSelection.cursor(o+1+f[1].length)}}));n(t.update(o,{scrollIntoView:true,userEvent:"input"}));return true}}function Qt(e,t){let n=-1;return e.changeByRange((o=>{let l=[];for(let r=o.from;r<=o.to;){let s=e.doc.lineAt(r);if(s.number>n&&(o.empty||o.to>s.from)){t(s,l,o);n=s.number}r=s.to+1}let s=e.changes(l);return{changes:l,range:r.EditorSelection.range(s.mapPos(o.anchor,1),s.mapPos(o.head,1))}}))}const Xt=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=Object.create(null);let r=new i.IndentContext(e,{overrideIndentation:e=>{let t=n[e];return t==null?-1:t}});let o=Qt(e,((t,o,l)=>{let s=(0,i.getIndentation)(r,t.from);if(s==null)return;if(!/\S/.test(t.text))s=0;let a=/^\s*/.exec(t.text)[0];let c=(0,i.indentString)(e,s);if(a!=c||l.from<t.from+a.length){n[t.from]=s;o.push({from:t.from,to:t.from+a.length,insert:c})}}));if(!o.changes.empty)t(e.update(o,{userEvent:"indent"}));return true};const Yt=({state:e,dispatch:t})=>{if(e.readOnly)return false;t(e.update(Qt(e,((t,n)=>{n.push({from:t.from,insert:e.facet(i.indentUnit)})})),{userEvent:"input.indent"}));return true};const Zt=({state:e,dispatch:t})=>{if(e.readOnly)return false;t(e.update(Qt(e,((t,n)=>{let o=/^\s*/.exec(t.text)[0];if(!o)return;let l=(0,r.countColumn)(o,e.tabSize),s=0;let a=(0,i.indentString)(e,Math.max(0,l-(0,i.getIndentUnit)(e)));while(s<o.length&&s<a.length&&o.charCodeAt(s)==a.charCodeAt(s))s++;n.push({from:t.from+s,to:t.from+o.length,insert:a.slice(s)})})),{userEvent:"delete.dedent"}));return true};const en=({state:e,dispatch:t})=>{if(e.selection.ranges.some((e=>!e.empty)))return Yt({state:e,dispatch:t});t(e.update(e.replaceSelection("\t"),{scrollIntoView:true,userEvent:"input"}));return true};const tn=[{key:"Ctrl-b",run:ae,shift:je,preventDefault:true},{key:"Ctrl-f",run:ce,shift:_e},{key:"Ctrl-p",run:De,shift:lt},{key:"Ctrl-n",run:xe,shift:st},{key:"Ctrl-a",run:Ne,shift:mt},{key:"Ctrl-e",run:Ge,shift:pt},{key:"Ctrl-d",run:Lt},{key:"Ctrl-h",run:xt},{key:"Ctrl-k",run:Tt},{key:"Ctrl-Alt-h",run:bt},{key:"Ctrl-o",run:Vt},{key:"Ctrl-t",run:Ut},{key:"Ctrl-v",run:Oe}];const nn=[{key:"ArrowLeft",run:ae,shift:je,preventDefault:true},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:he,shift:We,preventDefault:true},{mac:"Cmd-ArrowLeft",run:Ve,shift:dt,preventDefault:true},{key:"ArrowRight",run:ce,shift:_e,preventDefault:true},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:me,shift:Qe,preventDefault:true},{mac:"Cmd-ArrowRight",run:Ue,shift:ht,preventDefault:true},{key:"ArrowUp",run:De,shift:lt,preventDefault:true},{mac:"Cmd-ArrowUp",run:gt,shift:kt},{mac:"Ctrl-ArrowUp",run:be,shift:at},{key:"ArrowDown",run:xe,shift:st,preventDefault:true},{mac:"Cmd-ArrowDown",run:yt,shift:wt},{mac:"Ctrl-ArrowDown",run:Oe,shift:ct},{key:"PageUp",run:be,shift:at},{key:"PageDown",run:Oe,shift:ct},{key:"Home",run:Re,shift:ft,preventDefault:true},{key:"Mod-Home",run:gt,shift:kt},{key:"End",run:Ie,shift:ut,preventDefault:true},{key:"Mod-End",run:yt,shift:wt},{key:"Enter",run:qt},{key:"Mod-a",run:vt},{key:"Backspace",run:xt,shift:xt},{key:"Delete",run:Lt},{key:"Mod-Backspace",mac:"Alt-Backspace",run:bt},{key:"Mod-Delete",mac:"Alt-Delete",run:Ot},{mac:"Mod-Backspace",run:It},{mac:"Mod-Delete",run:Tt}].concat(tn.map((e=>({mac:e.key,run:e.run,shift:e.shift}))));const rn=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Ce,shift:nt},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Be,shift:rt},{key:"Alt-ArrowUp",run:Jt},{key:"Shift-Alt-ArrowUp",run:Ht},{key:"Alt-ArrowDown",run:Ft},{key:"Shift-Alt-ArrowDown",run:zt},{key:"Escape",run:Ct},{key:"Mod-Enter",run:Kt},{key:"Alt-l",mac:"Ctrl-l",run:St},{key:"Mod-i",run:At,preventDefault:true},{key:"Mod-[",run:Zt},{key:"Mod-]",run:Yt},{key:"Mod-Alt-\\",run:Xt},{key:"Shift-Mod-k",run:jt},{key:"Shift-Mod-\\",run:Fe},{key:"Mod-/",run:f},{key:"Alt-A",run:g}].concat(nn);const on={key:"Tab",run:Yt,shift:Zt}}}]);
@@ -1 +0,0 @@
1
- (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[3783,4155],{1065:(t,e,s)=>{"use strict";s.d(e,{GA:()=>qt,Gn:()=>St,Mb:()=>u,eC:()=>d,vQ:()=>Bt});var i=s(37496);var n=s.n(i);var o=s(66143);var r=s.n(o);var l=s(24104);var a=s.n(l);class h{constructor(t,e,s){this.state=t;this.pos=e;this.explicit=s;this.abortListeners=[]}tokenBefore(t){let e=(0,l.syntaxTree)(this.state).resolveInner(this.pos,-1);while(e&&t.indexOf(e.name)<0)e=e.parent;return e?{from:e.from,to:this.pos,text:this.state.sliceDoc(e.from,this.pos),type:e.type}:null}matchBefore(t){let e=this.state.doc.lineAt(this.pos);let s=Math.max(e.from,this.pos-250);let i=e.text.slice(s-e.from,this.pos-e.from);let n=i.search(k(t,false));return n<0?null:{from:s+n,to:this.pos,text:i.slice(n)}}get aborted(){return this.abortListeners==null}addEventListener(t,e){if(t=="abort"&&this.abortListeners)this.abortListeners.push(e)}}function c(t){let e=Object.keys(t).join("");let s=/\w/.test(e);if(s)e=e.replace(/\w/g,"");return`[${s?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function f(t){let e=Object.create(null),s=Object.create(null);for(let{label:n}of t){e[n[0]]=true;for(let t=1;t<n.length;t++)s[n[t]]=true}let i=c(e)+c(s)+"*$";return[new RegExp("^"+i),new RegExp(i)]}function u(t){let e=t.map((t=>typeof t=="string"?{label:t}:t));let[s,i]=e.every((t=>/^\w+$/.test(t.label)))?[/\w*$/,/\w+$/]:f(e);return t=>{let n=t.matchBefore(i);return n||t.explicit?{from:n?n.from:t.pos,options:e,validFor:s}:null}}function p(t,e){return s=>{for(let i=syntaxTree(s.state).resolveInner(s.pos,-1);i;i=i.parent){if(t.indexOf(i.name)>-1)return e(s);if(i.type.isTop)break}return null}}function d(t,e){return s=>{for(let e=(0,l.syntaxTree)(s.state).resolveInner(s.pos,-1);e;e=e.parent){if(t.indexOf(e.name)>-1)return null;if(e.type.isTop)break}return e(s)}}class m{constructor(t,e,s,i){this.completion=t;this.source=e;this.match=s;this.score=i}}function g(t){return t.selection.main.from}function k(t,e){var s;let{source:i}=t;let n=e&&i[0]!="^",o=i[i.length-1]!="$";if(!n&&!o)return t;return new RegExp(`${n?"^":""}(?:${i})${o?"$":""}`,(s=t.flags)!==null&&s!==void 0?s:t.ignoreCase?"i":"")}const x=i.Annotation.define();function b(t,e,s,n){let{main:o}=t.selection,r=n-s;return Object.assign(Object.assign({},t.changeByRange((l=>{if(l!=o&&r&&t.sliceDoc(l.from-r,l.from+n-o.from)!=t.sliceDoc(s,n))return{range:l};return{changes:{from:l.from-r,to:n==o.from?l.to:l.from+n-o.from,insert:e},range:i.EditorSelection.cursor(l.from-r+e.length)}}))),{userEvent:"input.complete"})}function v(t,e){const s=e.completion.apply||e.completion.label;let i=e.source;if(typeof s=="string")t.dispatch(Object.assign(Object.assign({},b(t.state,s,i.from,i.to)),{annotations:x.of(e.completion)}));else s(t,e.completion,i.from,i.to)}const w=new WeakMap;function y(t){if(!Array.isArray(t))return t;let e=w.get(t);if(!e)w.set(t,e=u(t));return e}const S=i.StateEffect.define();const C=i.StateEffect.define();class P{constructor(t){this.pattern=t;this.chars=[];this.folded=[];this.any=[];this.precise=[];this.byWord=[];for(let e=0;e<t.length;){let s=(0,i.codePointAt)(t,e),n=(0,i.codePointSize)(s);this.chars.push(s);let o=t.slice(e,e+n),r=o.toUpperCase();this.folded.push((0,i.codePointAt)(r==o?o.toLowerCase():r,0));e+=n}this.astral=t.length!=this.chars.length}match(t){if(this.pattern.length==0)return[0];if(t.length<this.pattern.length)return null;let{chars:e,folded:s,any:n,precise:o,byWord:r}=this;if(e.length==1){let n=(0,i.codePointAt)(t,0),o=(0,i.codePointSize)(n);let r=o==t.length?0:-100;if(n==e[0]);else if(n==s[0])r+=-200;else return null;return[r,0,o]}let l=t.indexOf(this.pattern);if(l==0)return[t.length==this.pattern.length?0:-100,0,this.pattern.length];let a=e.length,h=0;if(l<0){for(let o=0,r=Math.min(t.length,200);o<r&&h<a;){let r=(0,i.codePointAt)(t,o);if(r==e[h]||r==s[h])n[h++]=o;o+=(0,i.codePointSize)(r)}if(h<a)return null}let c=0;let f=0,u=false;let p=0,d=-1,m=-1;let g=/[a-z]/.test(t),k=true;for(let x=0,b=Math.min(t.length,200),v=0;x<b&&f<a;){let n=(0,i.codePointAt)(t,x);if(l<0){if(c<a&&n==e[c])o[c++]=x;if(p<a){if(n==e[p]||n==s[p]){if(p==0)d=x;m=x+1;p++}else{p=0}}}let h,b=n<255?n>=48&&n<=57||n>=97&&n<=122?2:n>=65&&n<=90?1:0:(h=(0,i.fromCodePoint)(n))!=h.toLowerCase()?1:h!=h.toUpperCase()?2:0;if(!x||b==1&&g||v==0&&b!=0){if(e[f]==n||s[f]==n&&(u=true))r[f++]=x;else if(r.length)k=false}v=b;x+=(0,i.codePointSize)(n)}if(f==a&&r[0]==0&&k)return this.result(-100+(u?-200:0),r,t);if(p==a&&d==0)return[-200-t.length+(m==t.length?0:-100),0,m];if(l>-1)return[-700-t.length,l,l+this.pattern.length];if(p==a)return[-200+-700-t.length,d,m];if(f==a)return this.result(-100+(u?-200:0)+-700+(k?0:-1100),r,t);return e.length==2?null:this.result((n[0]?-700:0)+-200+-1100,n,t)}result(t,e,s){let n=[t-s.length],o=1;for(let r of e){let t=r+(this.astral?(0,i.codePointSize)((0,i.codePointAt)(s,r)):1);if(o>1&&n[o-1]==r)n[o-1]=t;else{n[o++]=r;n[o++]=t}}return n}}const A=i.Facet.define({combine(t){return(0,i.combineConfig)(t,{activateOnTyping:true,selectOnOpen:true,override:null,closeOnBlur:true,maxRenderedOptions:100,defaultKeymap:true,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:false,icons:true,addToOptions:[],positionInfo:I,compareCompletions:(t,e)=>t.label.localeCompare(e.label),interactionDelay:75},{defaultKeymap:(t,e)=>t&&e,closeOnBlur:(t,e)=>t&&e,icons:(t,e)=>t&&e,tooltipClass:(t,e)=>s=>T(t(s),e(s)),optionClass:(t,e)=>s=>T(t(s),e(s)),addToOptions:(t,e)=>t.concat(e)})}});function T(t,e){return t?e?t+" "+e:t:e}function I(t,e,s,i,n){let r=t.textDirection==o.Direction.RTL,l=r,a=false;let h="top",c,f;let u=e.left-n.left,p=n.right-e.right;let d=i.right-i.left,m=i.bottom-i.top;if(l&&u<Math.min(d,p))l=false;else if(!l&&p<Math.min(d,u))l=true;if(d<=(l?u:p)){c=Math.max(n.top,Math.min(s.top,n.bottom-m))-e.top;f=Math.min(400,l?u:p)}else{a=true;f=Math.min(400,(r?e.right:n.right-e.left)-30);let t=n.bottom-e.bottom;if(t>=m||t>e.top){c=s.bottom-e.top}else{h="bottom";c=e.bottom-s.top}}return{style:`${h}: ${c}px; max-width: ${f}px`,class:"cm-completionInfo-"+(a?r?"left-narrow":"right-narrow":l?"left":"right")}}function R(t){let e=t.addToOptions.slice();if(t.icons)e.push({render(t){let e=document.createElement("div");e.classList.add("cm-completionIcon");if(t.type)e.classList.add(...t.type.split(/\s+/g).map((t=>"cm-completionIcon-"+t)));e.setAttribute("aria-hidden","true");return e},position:20});e.push({render(t,e,s){let i=document.createElement("span");i.className="cm-completionLabel";let{label:n}=t,o=0;for(let r=1;r<s.length;){let t=s[r++],e=s[r++];if(t>o)i.appendChild(document.createTextNode(n.slice(o,t)));let l=i.appendChild(document.createElement("span"));l.appendChild(document.createTextNode(n.slice(t,e)));l.className="cm-completionMatchedText";o=e}if(o<n.length)i.appendChild(document.createTextNode(n.slice(o)));return i},position:50},{render(t){if(!t.detail)return null;let e=document.createElement("span");e.className="cm-completionDetail";e.textContent=t.detail;return e},position:80});return e.sort(((t,e)=>t.position-e.position)).map((t=>t.render))}function E(t,e,s){if(t<=s)return{from:0,to:t};if(e<0)e=0;if(e<=t>>1){let t=Math.floor(e/s);return{from:t*s,to:(t+1)*s}}let i=Math.floor((t-e)/s);return{from:t-(i+1)*s,to:t-i*s}}class D{constructor(t,e){this.view=t;this.stateField=e;this.info=null;this.placeInfoReq={read:()=>this.measureInfo(),write:t=>this.placeInfo(t),key:this};this.space=null;this.currentClass="";let s=t.state.field(e);let{options:i,selected:n}=s.open;let o=t.state.facet(A);this.optionContent=R(o);this.optionClass=o.optionClass;this.tooltipClass=o.tooltipClass;this.range=E(i.length,n,o.maxRenderedOptions);this.dom=document.createElement("div");this.dom.className="cm-tooltip-autocomplete";this.updateTooltipClass(t.state);this.dom.addEventListener("mousedown",(e=>{for(let s=e.target,n;s&&s!=this.dom;s=s.parentNode){if(s.nodeName=="LI"&&(n=/-(\d+)$/.exec(s.id))&&+n[1]<i.length){v(t,i[+n[1]]);e.preventDefault();return}}}));this.dom.addEventListener("focusout",(e=>{let s=t.state.field(this.stateField,false);if(s&&s.tooltip&&t.state.facet(A).closeOnBlur&&e.relatedTarget!=t.contentDOM)t.dispatch({effects:C.of(null)})}));this.list=this.dom.appendChild(this.createListBox(i,s.id,this.range));this.list.addEventListener("scroll",(()=>{if(this.info)this.view.requestMeasure(this.placeInfoReq)}))}mount(){this.updateSel()}update(t){var e,s,i;let n=t.state.field(this.stateField);let o=t.startState.field(this.stateField);this.updateTooltipClass(t.state);if(n!=o){this.updateSel();if(((e=n.open)===null||e===void 0?void 0:e.disabled)!=((s=o.open)===null||s===void 0?void 0:s.disabled))this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!((i=n.open)===null||i===void 0?void 0:i.disabled))}}updateTooltipClass(t){let e=this.tooltipClass(t);if(e!=this.currentClass){for(let t of this.currentClass.split(" "))if(t)this.dom.classList.remove(t);for(let t of e.split(" "))if(t)this.dom.classList.add(t);this.currentClass=e}}positioned(t){this.space=t;if(this.info)this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),e=t.open;if(e.selected>-1&&e.selected<this.range.from||e.selected>=this.range.to){this.range=E(e.options.length,e.selected,this.view.state.facet(A).maxRenderedOptions);this.list.remove();this.list=this.dom.appendChild(this.createListBox(e.options,t.id,this.range));this.list.addEventListener("scroll",(()=>{if(this.info)this.view.requestMeasure(this.placeInfoReq)}))}if(this.updateSelectedOption(e.selected)){if(this.info){this.info.remove();this.info=null}let{completion:s}=e.options[e.selected];let{info:i}=s;if(!i)return;let n=typeof i==="string"?document.createTextNode(i):i(s);if(!n)return;if("then"in n){n.then((e=>{if(e&&this.view.state.field(this.stateField,false)==t)this.addInfoPane(e)})).catch((t=>(0,o.logException)(this.view.state,t,"completion info")))}else{this.addInfoPane(n)}}}addInfoPane(t){let e=this.info=document.createElement("div");e.className="cm-tooltip cm-completionInfo";e.appendChild(t);this.dom.appendChild(e);this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let e=null;for(let s=this.list.firstChild,i=this.range.from;s;s=s.nextSibling,i++){if(s.nodeName!="LI"||!s.id){i--}else if(i==t){if(!s.hasAttribute("aria-selected")){s.setAttribute("aria-selected","true");e=s}}else{if(s.hasAttribute("aria-selected"))s.removeAttribute("aria-selected")}}if(e)M(this.list,e);return e}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let e=this.dom.getBoundingClientRect();let s=this.info.getBoundingClientRect();let i=t.getBoundingClientRect();let n=this.space;if(!n){let t=this.dom.ownerDocument.defaultView||window;n={left:0,top:0,right:t.innerWidth,bottom:t.innerHeight}}if(i.top>Math.min(n.bottom,e.bottom)-10||i.bottom<Math.max(n.top,e.top)+10)return null;return this.view.state.facet(A).positionInfo(this.view,e,i,s,n)}placeInfo(t){if(this.info){if(t){if(t.style)this.info.style.cssText=t.style;this.info.className="cm-tooltip cm-completionInfo "+(t.class||"")}else{this.info.style.cssText="top: -1e6px"}}}createListBox(t,e,s){const i=document.createElement("ul");i.id=e;i.setAttribute("role","listbox");i.setAttribute("aria-expanded","true");i.setAttribute("aria-label",this.view.state.phrase("Completions"));let n=null;for(let o=s.from;o<s.to;o++){let{completion:r,match:l}=t[o],{section:a}=r;if(a){let t=typeof a=="string"?a:a.name;if(t!=n&&(o>s.from||s.from==0)){n=t;if(typeof a!="string"&&a.header){i.appendChild(a.header(a))}else{let e=i.appendChild(document.createElement("completion-section"));e.textContent=t}}}const h=i.appendChild(document.createElement("li"));h.id=e+"-"+o;h.setAttribute("role","option");let c=this.optionClass(r);if(c)h.className=c;for(let t of this.optionContent){let e=t(r,this.view.state,l);if(e)h.appendChild(e)}}if(s.from)i.classList.add("cm-completionListIncompleteTop");if(s.to<t.length)i.classList.add("cm-completionListIncompleteBottom");return i}}function O(t){return e=>new D(e,t)}function M(t,e){let s=t.getBoundingClientRect();let i=e.getBoundingClientRect();if(i.top<s.top)t.scrollTop-=s.top-i.top;else if(i.bottom>s.bottom)t.scrollTop+=i.bottom-s.bottom}function N(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function L(t,e){let s=[];let i=null;let n=t=>{s.push(t);let{section:e}=t.completion;if(e){if(!i)i=[];let t=typeof e=="string"?e:e.name;if(!i.some((e=>e.name==t)))i.push(typeof e=="string"?{name:t}:e)}};for(let a of t)if(a.hasResult()){if(a.result.filter===false){let t=a.result.getMatch;for(let e of a.result.options){let i=[1e9-s.length];if(t)for(let s of t(e))i.push(s);n(new m(e,a,i,i[0]))}}else{let t=new P(e.sliceDoc(a.from,a.to)),s;for(let e of a.result.options)if(s=t.match(e.label)){n(new m(e,a,s,s[0]+(e.boost||0)))}}}if(i){let t=Object.create(null),e=0;let n=(t,e)=>{var s,i;return((s=t.rank)!==null&&s!==void 0?s:1e9)-((i=e.rank)!==null&&i!==void 0?i:1e9)||(t.name<e.name?-1:1)};for(let s of i.sort(n)){e-=1e5;t[s.name]=e}for(let i of s){let{section:e}=i.completion;if(e)i.score+=t[typeof e=="string"?e:e.name]}}let o=[],r=null;let l=e.facet(A).compareCompletions;for(let a of s.sort(((t,e)=>e.score-t.score||l(t.completion,e.completion)))){if(!r||r.label!=a.completion.label||r.detail!=a.completion.detail||r.type!=null&&a.completion.type!=null&&r.type!=a.completion.type||r.apply!=a.completion.apply)o.push(a);else if(N(a.completion)>N(r))o[o.length-1]=a;r=a.completion}return o}class B{constructor(t,e,s,i,n,o){this.options=t;this.attrs=e;this.tooltip=s;this.timestamp=i;this.selected=n;this.disabled=o}setSelected(t,e){return t==this.selected||t>=this.options.length?this:new B(this.options,j(e,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,e,s,i,n){let o=L(t,e);if(!o.length){return i&&t.some((t=>t.state==1))?new B(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,true):null}let r=e.facet(A).selectOnOpen?0:-1;if(i&&i.selected!=r&&i.selected!=-1){let t=i.options[i.selected].completion;for(let e=0;e<o.length;e++)if(o[e].completion==t){r=e;break}}return new B(o,j(s,r),{pos:t.reduce(((t,e)=>e.hasResult()?Math.min(t,e.from):t),1e8),create:O(Q),above:n.aboveCursor},i?i.timestamp:Date.now(),r,false)}map(t){return new B(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class z{constructor(t,e,s){this.active=t;this.id=e;this.open=s}static start(){return new z(U,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:e}=t,s=e.facet(A);let i=s.override||e.languageDataAt("autocomplete",g(e)).map(y);let n=i.map((e=>{let i=this.active.find((t=>t.source==e))||new q(e,this.active.some((t=>t.state!=0))?1:0);return i.update(t,s)}));if(n.length==this.active.length&&n.every(((t,e)=>t==this.active[e])))n=this.active;let o=this.open;if(o&&t.docChanged)o=o.map(t.changes);if(t.selection||n.some((e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to)))||!F(n,this.active))o=B.build(n,e,this.id,o,s);else if(o&&o.disabled&&!n.some((t=>t.state==1)))o=null;if(!o&&n.every((t=>t.state!=1))&&n.some((t=>t.hasResult())))n=n.map((t=>t.hasResult()?new q(t.source,0):t));for(let r of t.effects)if(r.is(_))o=o&&o.setSelected(r.value,this.id);return n==this.active&&o==this.open?this:new z(n,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:$}}function F(t,e){if(t==e)return true;for(let s=0,i=0;;){while(s<t.length&&!t[s].hasResult)s++;while(i<e.length&&!e[i].hasResult)i++;let n=s==t.length,o=i==e.length;if(n||o)return n==o;if(t[s++].result!=e[i++].result)return false}}const $={"aria-autocomplete":"list"};function j(t,e){let s={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};if(e>-1)s["aria-activedescendant"]=t+"-"+e;return s}const U=[];function W(t){return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}class q{constructor(t,e,s=-1){this.source=t;this.state=e;this.explicitPos=s}hasResult(){return false}update(t,e){let s=W(t),i=this;if(s)i=i.handleUserEvent(t,s,e);else if(t.docChanged)i=i.handleChange(t);else if(t.selection&&i.state!=0)i=new q(i.source,0);for(let n of t.effects){if(n.is(S))i=new q(i.source,1,n.value?g(t.state):-1);else if(n.is(C))i=new q(i.source,0);else if(n.is(H))for(let t of n.value)if(t.source==i.source)i=t}return i}handleUserEvent(t,e,s){return e=="delete"||!s.activateOnTyping?this.map(t.changes):new q(this.source,1)}handleChange(t){return t.changes.touchesRange(g(t.startState))?new q(this.source,0):this.map(t.changes)}map(t){return t.empty||this.explicitPos<0?this:new q(this.source,this.state,t.mapPos(this.explicitPos))}}class V extends q{constructor(t,e,s,i,n){super(t,2,e);this.result=s;this.from=i;this.to=n}hasResult(){return true}handleUserEvent(t,e,s){var i;let n=t.changes.mapPos(this.from),o=t.changes.mapPos(this.to,1);let r=g(t.state);if((this.explicitPos<0?r<=n:r<this.from)||r>o||e=="delete"&&g(t.startState)==this.from)return new q(this.source,e=="input"&&s.activateOnTyping?1:0);let l=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos),a;if(G(this.result.validFor,t.state,n,o))return new V(this.source,l,this.result,n,o);if(this.result.update&&(a=this.result.update(this.result,n,o,new h(t.state,r,l>=0))))return new V(this.source,l,a,a.from,(i=a.to)!==null&&i!==void 0?i:g(t.state));return new q(this.source,1,l)}handleChange(t){return t.changes.touchesRange(this.from,this.to)?new q(this.source,0):this.map(t.changes)}map(t){return t.empty?this:new V(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1))}}function G(t,e,s,i){if(!t)return false;let n=e.sliceDoc(s,i);return typeof t=="function"?t(n,s,i,e):k(t,true).test(n)}const H=i.StateEffect.define({map(t,e){return t.map((t=>t.map(e)))}});const _=i.StateEffect.define();const Q=i.StateField.define({create(){return z.start()},update(t,e){return t.update(e)},provide:t=>[o.showTooltip.from(t,(t=>t.tooltip)),o.EditorView.contentAttributes.from(t,(t=>t.attrs))]});function K(t,e="option"){return s=>{let i=s.state.field(Q,false);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp<s.state.facet(A).interactionDelay)return false;let n=1,r;if(e=="page"&&(r=(0,o.getTooltip)(s,i.open.tooltip)))n=Math.max(2,Math.floor(r.dom.offsetHeight/r.dom.querySelector("li").offsetHeight)-1);let{length:l}=i.open.options;let a=i.open.selected>-1?i.open.selected+n*(t?1:-1):t?0:l-1;if(a<0)a=e=="page"?0:l-1;else if(a>=l)a=e=="page"?l-1:0;s.dispatch({effects:_.of(a)});return true}}const X=t=>{let e=t.state.field(Q,false);if(t.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestamp<t.state.facet(A).interactionDelay)return false;if(!e.open.disabled)v(t,e.open.options[e.open.selected]);return true};const J=t=>{let e=t.state.field(Q,false);if(!e)return false;t.dispatch({effects:S.of(true)});return true};const Y=t=>{let e=t.state.field(Q,false);if(!e||!e.active.some((t=>t.state!=0)))return false;t.dispatch({effects:C.of(null)});return true};class Z{constructor(t,e){this.active=t;this.context=e;this.time=Date.now();this.updates=[];this.done=undefined}}const tt=50,et=50,st=1e3;const it=o.ViewPlugin.fromClass(class{constructor(t){this.view=t;this.debounceUpdate=-1;this.running=[];this.debounceAccept=-1;this.composing=0;for(let e of t.state.field(Q).active)if(e.state==1)this.startQuery(e)}update(t){let e=t.state.field(Q);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Q)==e)return;let s=t.transactions.some((t=>(t.selection||t.docChanged)&&!W(t)));for(let n=0;n<this.running.length;n++){let e=this.running[n];if(s||e.updates.length+t.transactions.length>et&&Date.now()-e.time>st){for(let t of e.context.abortListeners){try{t()}catch(i){(0,o.logException)(this.view.state,i)}}e.context.abortListeners=null;this.running.splice(n--,1)}else{e.updates.push(...t.transactions)}}if(this.debounceUpdate>-1)clearTimeout(this.debounceUpdate);this.debounceUpdate=e.active.some((t=>t.state==1&&!this.running.some((e=>e.active.source==t.source))))?setTimeout((()=>this.startUpdate()),tt):-1;if(this.composing!=0)for(let n of t.transactions){if(W(n)=="input")this.composing=2;else if(this.composing==2&&n.selection)this.composing=3}}startUpdate(){this.debounceUpdate=-1;let{state:t}=this.view,e=t.field(Q);for(let s of e.active){if(s.state==1&&!this.running.some((t=>t.active.source==s.source)))this.startQuery(s)}}startQuery(t){let{state:e}=this.view,s=g(e);let i=new h(e,s,t.explicitPos==s);let n=new Z(t,i);this.running.push(n);Promise.resolve(t.source(i)).then((t=>{if(!n.context.aborted){n.done=t||null;this.scheduleAccept()}}),(t=>{this.view.dispatch({effects:C.of(null)});(0,o.logException)(this.view.state,t)}))}scheduleAccept(){if(this.running.every((t=>t.done!==undefined)))this.accept();else if(this.debounceAccept<0)this.debounceAccept=setTimeout((()=>this.accept()),tt)}accept(){var t;if(this.debounceAccept>-1)clearTimeout(this.debounceAccept);this.debounceAccept=-1;let e=[];let s=this.view.state.facet(A);for(let i=0;i<this.running.length;i++){let n=this.running[i];if(n.done===undefined)continue;this.running.splice(i--,1);if(n.done){let i=new V(n.active.source,n.active.explicitPos,n.done,n.done.from,(t=n.done.to)!==null&&t!==void 0?t:g(n.updates.length?n.updates[0].startState:this.view.state));for(let t of n.updates)i=i.update(t,s);if(i.hasResult()){e.push(i);continue}}let o=this.view.state.field(Q).active.find((t=>t.source==n.active.source));if(o&&o.state==1){if(n.done==null){let t=new q(n.active.source,0);for(let e of n.updates)t=t.update(e,s);if(t.state!=1)e.push(t)}else{this.startQuery(o)}}}if(e.length)this.view.dispatch({effects:H.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Q,false);if(e&&e.tooltip&&this.view.state.facet(A).closeOnBlur){let s=e.open&&(0,o.getTooltip)(this.view,e.open.tooltip);if(!s||!s.dom.contains(t.relatedTarget))this.view.dispatch({effects:C.of(null)})}},compositionstart(){this.composing=1},compositionend(){if(this.composing==3){setTimeout((()=>this.view.dispatch({effects:S.of(false)})),20)}this.composing=0}}});const nt=o.EditorView.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:`${400}px`,boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`${30}px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`${30}px`},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class ot{constructor(t,e,s,i){this.field=t;this.line=e;this.from=s;this.to=i}}class rt{constructor(t,e,s){this.field=t;this.from=e;this.to=s}map(t){let e=t.mapPos(this.from,-1,i.MapMode.TrackDel);let s=t.mapPos(this.to,1,i.MapMode.TrackDel);return e==null||s==null?null:new rt(this.field,e,s)}}class lt{constructor(t,e){this.lines=t;this.fieldPositions=e}instantiate(t,e){let s=[],i=[e];let n=t.doc.lineAt(e),o=/^\s*/.exec(n.text)[0];for(let a of this.lines){if(s.length){let s=o,n=/^\t*/.exec(a)[0].length;for(let e=0;e<n;e++)s+=t.facet(l.indentUnit);i.push(e+s.length-n);a=s+a.slice(n)}s.push(a);e+=a.length+1}let r=this.fieldPositions.map((t=>new rt(t.field,i[t.line]+t.from,i[t.line]+t.to)));return{text:s,ranges:r}}static parse(t){let e=[];let s=[],i=[],n;for(let o of t.split(/\r\n?|\n/)){while(n=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(o)){let t=n[1]?+n[1]:null,r=n[2]||n[3]||"",l=-1;for(let s=0;s<e.length;s++){if(t!=null?e[s].seq==t:r?e[s].name==r:false)l=s}if(l<0){let s=0;while(s<e.length&&(t==null||e[s].seq!=null&&e[s].seq<t))s++;e.splice(s,0,{seq:t,name:r});l=s;for(let t of i)if(t.field>=l)t.field++}i.push(new ot(l,s.length,n.index,n.index+r.length));o=o.slice(0,n.index)+r+o.slice(n.index+n[0].length)}for(let t;t=/\\([{}])/.exec(o);){o=o.slice(0,t.index)+t[1]+o.slice(t.index+t[0].length);for(let e of i)if(e.line==s.length&&e.from>t.index){e.from--;e.to--}}s.push(o)}return new lt(s,i)}}let at=o.Decoration.widget({widget:new class extends o.WidgetType{toDOM(){let t=document.createElement("span");t.className="cm-snippetFieldPosition";return t}ignoreEvent(){return false}}});let ht=o.Decoration.mark({class:"cm-snippetField"});class ct{constructor(t,e){this.ranges=t;this.active=e;this.deco=o.Decoration.set(t.map((t=>(t.from==t.to?at:ht).range(t.from,t.to))))}map(t){let e=[];for(let s of this.ranges){let i=s.map(t);if(!i)return null;e.push(i)}return new ct(e,this.active)}selectionInsideField(t){return t.ranges.every((t=>this.ranges.some((e=>e.field==this.active&&e.from<=t.from&&e.to>=t.to))))}}const ft=i.StateEffect.define({map(t,e){return t&&t.map(e)}});const ut=i.StateEffect.define();const pt=i.StateField.define({create(){return null},update(t,e){for(let s of e.effects){if(s.is(ft))return s.value;if(s.is(ut)&&t)return new ct(t.ranges,s.value)}if(t&&e.docChanged)t=t.map(e.changes);if(t&&e.selection&&!t.selectionInsideField(e.selection))t=null;return t},provide:t=>o.EditorView.decorations.from(t,(t=>t?t.deco:o.Decoration.none))});function dt(t,e){return i.EditorSelection.create(t.filter((t=>t.field==e)).map((t=>i.EditorSelection.range(t.from,t.to))))}function mt(t){let e=lt.parse(t);return(t,s,n,o)=>{let{text:r,ranges:l}=e.instantiate(t.state,n);let a={changes:{from:n,to:o,insert:i.Text.of(r)},scrollIntoView:true,annotations:x.of(s)};if(l.length)a.selection=dt(l,0);if(l.length>1){let e=new ct(l,0);let s=a.effects=[ft.of(e)];if(t.state.field(pt,false)===undefined)s.push(i.StateEffect.appendConfig.of([pt,yt,Ct,nt]))}t.dispatch(t.state.update(a))}}function gt(t){return({state:e,dispatch:s})=>{let i=e.field(pt,false);if(!i||t<0&&i.active==0)return false;let n=i.active+t,o=t>0&&!i.ranges.some((e=>e.field==n+t));s(e.update({selection:dt(i.ranges,n),effects:ft.of(o?null:new ct(i.ranges,n))}));return true}}const kt=({state:t,dispatch:e})=>{let s=t.field(pt,false);if(!s)return false;e(t.update({effects:ft.of(null)}));return true};const xt=gt(1);const bt=gt(-1);const vt=[{key:"Tab",run:xt,shift:bt},{key:"Escape",run:kt}];const wt=i.Facet.define({combine(t){return t.length?t[0]:vt}});const yt=i.Prec.highest(o.keymap.compute([wt],(t=>t.facet(wt))));function St(t,e){return Object.assign(Object.assign({},e),{apply:mt(t)})}const Ct=o.EditorView.domEventHandlers({mousedown(t,e){let s=e.state.field(pt,false),i;if(!s||(i=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return false;let n=s.ranges.find((t=>t.from<=i&&t.to>=i));if(!n||n.field==s.active)return false;e.dispatch({selection:dt(s.ranges,n.field),effects:ft.of(s.ranges.some((t=>t.field>n.field))?new ct(s.ranges,n.field):null)});return true}});function Pt(t){let e=t.replace(/[\\[.+*?(){|^$]/g,"\\$&");try{return new RegExp(`[\\p{Alphabetic}\\p{Number}_${e}]+`,"ug")}catch(s){return new RegExp(`[w${e}]`,"g")}}function At(t,e){return new RegExp(e(t.source),t.unicode?"u":"")}const Tt=null&&Object.create(null);function It(t){return Tt[t]||(Tt[t]=new WeakMap)}function Rt(t,e,s,i,n){for(let o=t.iterLines(),r=0;!o.next().done;){let{value:t}=o,l;e.lastIndex=0;while(l=e.exec(t)){if(!i[l[0]]&&r+l.index!=n){s.push({type:"text",label:l[0]});i[l[0]]=true;if(s.length>=2e3)return}}r+=t.length+1}}function Et(t,e,s,i,n){let o=t.length>=1e3;let r=o&&e.get(t);if(r)return r;let l=[],a=Object.create(null);if(t.children){let o=0;for(let r of t.children){if(r.length>=1e3){for(let t of Et(r,e,s,i-o,n-o)){if(!a[t.label]){a[t.label]=true;l.push(t)}}}else{Rt(r,s,l,a,n-o)}o+=r.length+1}}else{Rt(t,s,l,a,n)}if(o&&l.length<2e3)e.set(t,l);return l}const Dt=t=>{let e=t.state.languageDataAt("wordChars",t.pos).join("");let s=Pt(e);let i=t.matchBefore(At(s,(t=>t+"$")));if(!i&&!t.explicit)return null;let n=i?i.from:t.pos;let o=Et(t.state.doc,It(e),s,5e4,n);return{from:n,options:o,validFor:At(s,(t=>"^"+t))}};const Ot={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]};const Mt=i.StateEffect.define({map(t,e){let s=e.mapPos(t,-1,i.MapMode.TrackAfter);return s==null?undefined:s}});const Nt=new class extends i.RangeValue{};Nt.startSide=1;Nt.endSide=-1;const Lt=i.StateField.define({create(){return i.RangeSet.empty},update(t,e){if(e.selection){let s=e.state.doc.lineAt(e.selection.main.head).from;let n=e.startState.doc.lineAt(e.startState.selection.main.head).from;if(s!=e.changes.mapPos(n,-1))t=i.RangeSet.empty}t=t.map(e.changes);for(let s of e.effects)if(s.is(Mt))t=t.update({add:[Nt.range(s.value,s.value+1)]});return t}});function Bt(){return[Ut,Lt]}const zt="()[]{}<>";function Ft(t){for(let e=0;e<zt.length;e+=2)if(zt.charCodeAt(e)==t)return zt.charAt(e+1);return(0,i.fromCodePoint)(t<128?t:t+1)}function $t(t,e){return t.languageDataAt("closeBrackets",e)[0]||Ot}const jt=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent);const Ut=o.EditorView.inputHandler.of(((t,e,s,n)=>{if((jt?t.composing:t.compositionStarted)||t.state.readOnly)return false;let o=t.state.selection.main;if(n.length>2||n.length==2&&(0,i.codePointSize)((0,i.codePointAt)(n,0))==1||e!=o.from||s!=o.to)return false;let r=Vt(t.state,n);if(!r)return false;t.dispatch(r);return true}));const Wt=({state:t,dispatch:e})=>{if(t.readOnly)return false;let s=$t(t,t.selection.main.head);let n=s.brackets||Ot.brackets;let o=null,r=t.changeByRange((e=>{if(e.empty){let s=_t(t.doc,e.head);for(let o of n){if(o==s&&Ht(t.doc,e.head)==Ft((0,i.codePointAt)(o,0)))return{changes:{from:e.head-o.length,to:e.head+o.length},range:i.EditorSelection.cursor(e.head-o.length)}}}return{range:o=e}}));if(!o)e(t.update(r,{scrollIntoView:true,userEvent:"delete.backward"}));return!o};const qt=[{key:"Backspace",run:Wt}];function Vt(t,e){let s=$t(t,t.selection.main.head);let n=s.brackets||Ot.brackets;for(let o of n){let r=Ft((0,i.codePointAt)(o,0));if(e==o)return r==o?Xt(t,o,n.indexOf(o+o+o)>-1,s):Qt(t,o,r,s.before||Ot.before);if(e==r&&Gt(t,t.selection.main.from))return Kt(t,o,r)}return null}function Gt(t,e){let s=false;t.field(Lt).between(0,t.doc.length,(t=>{if(t==e)s=true}));return s}function Ht(t,e){let s=t.sliceString(e,e+2);return s.slice(0,(0,i.codePointSize)((0,i.codePointAt)(s,0)))}function _t(t,e){let s=t.sliceString(e-2,e);return(0,i.codePointSize)((0,i.codePointAt)(s,0))==s.length?s:s.slice(1)}function Qt(t,e,s,n){let o=null,r=t.changeByRange((r=>{if(!r.empty)return{changes:[{insert:e,from:r.from},{insert:s,from:r.to}],effects:Mt.of(r.to+e.length),range:i.EditorSelection.range(r.anchor+e.length,r.head+e.length)};let l=Ht(t.doc,r.head);if(!l||/\s/.test(l)||n.indexOf(l)>-1)return{changes:{insert:e+s,from:r.head},effects:Mt.of(r.head+e.length),range:i.EditorSelection.cursor(r.head+e.length)};return{range:o=r}}));return o?null:t.update(r,{scrollIntoView:true,userEvent:"input.type"})}function Kt(t,e,s){let n=null,o=t.changeByRange((e=>{if(e.empty&&Ht(t.doc,e.head)==s)return{changes:{from:e.head,to:e.head+s.length,insert:s},range:i.EditorSelection.cursor(e.head+s.length)};return n={range:e}}));return n?null:t.update(o,{scrollIntoView:true,userEvent:"input.type"})}function Xt(t,e,s,n){let o=n.stringPrefixes||Ot.stringPrefixes;let r=null,l=t.changeByRange((n=>{if(!n.empty)return{changes:[{insert:e,from:n.from},{insert:e,from:n.to}],effects:Mt.of(n.to+e.length),range:i.EditorSelection.range(n.anchor+e.length,n.head+e.length)};let l=n.head,a=Ht(t.doc,l),h;if(a==e){if(Jt(t,l)){return{changes:{insert:e+e,from:l},effects:Mt.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(Gt(t,l)){let n=s&&t.sliceDoc(l,l+e.length*3)==e+e+e;let o=n?e+e+e:e;return{changes:{from:l,to:l+o.length,insert:o},range:i.EditorSelection.cursor(l+o.length)}}}else if(s&&t.sliceDoc(l-2*e.length,l)==e+e&&(h=Zt(t,l-2*e.length,o))>-1&&Jt(t,h)){return{changes:{insert:e+e+e+e,from:l},effects:Mt.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(t.charCategorizer(l)(a)!=i.CharCategory.Word){if(Zt(t,l,o)>-1&&!Yt(t,l,e,o))return{changes:{insert:e+e,from:l},effects:Mt.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}return{range:r=n}}));return r?null:t.update(l,{scrollIntoView:true,userEvent:"input.type"})}function Jt(t,e){let s=(0,l.syntaxTree)(t).resolveInner(e+1);return s.parent&&s.from==e}function Yt(t,e,s,i){let n=(0,l.syntaxTree)(t).resolveInner(e,-1);let o=i.reduce(((t,e)=>Math.max(t,e.length)),0);for(let r=0;r<5;r++){let r=t.sliceDoc(n.from,Math.min(n.to,n.from+s.length+o));let l=r.indexOf(s);if(!l||l>-1&&i.indexOf(r.slice(0,l))>-1){let e=n.firstChild;while(e&&e.from==n.from&&e.to-e.from>s.length+l){if(t.sliceDoc(e.to-s.length,e.to)==s)return false;e=e.firstChild}return true}let a=n.to==e&&n.parent;if(!a)break;n=a}return false}function Zt(t,e,s){let n=t.charCategorizer(e);if(n(t.sliceDoc(e-1,e))!=i.CharCategory.Word)return e;for(let o of s){let s=e-o.length;if(t.sliceDoc(s,e)==o&&n(t.sliceDoc(s-1,s))!=i.CharCategory.Word)return s}return-1}function te(t={}){return[Q,A.of(t),it,se,nt]}const ee=[{key:"Ctrl-Space",run:J},{key:"Escape",run:Y},{key:"ArrowDown",run:K(true)},{key:"ArrowUp",run:K(false)},{key:"PageDown",run:K(true,"page")},{key:"PageUp",run:K(false,"page")},{key:"Enter",run:X}];const se=i.Prec.highest(o.keymap.computeN([A],(t=>t.facet(A).defaultKeymap?[ee]:[])));function ie(t){let e=t.field(Q,false);return e&&e.active.some((t=>t.state==1))?"pending":e&&e.active.some((t=>t.state!=0))?"active":null}const ne=new WeakMap;function oe(t){var e;let s=(e=t.field(Q,false))===null||e===void 0?void 0:e.open;if(!s||s.disabled)return[];let i=ne.get(s.options);if(!i)ne.set(s.options,i=s.options.map((t=>t.completion)));return i}function re(t){var e;let s=(e=t.field(Q,false))===null||e===void 0?void 0:e.open;return s&&!s.disabled&&s.selected>=0?s.options[s.selected].completion:null}function le(t){var e;let s=(e=t.field(Q,false))===null||e===void 0?void 0:e.open;return s&&!s.disabled&&s.selected>=0?s.selected:null}function ae(t){return _.of(t)}},11705:(t,e,s)=>{"use strict";s.d(e,{IK:()=>O,Jq:()=>k,RA:()=>g,WQ:()=>M});var i=s(73265);var n=s.n(i);var o=s(34155);class r{constructor(t,e,s,i,n,o,r,l,a,h=0,c){this.p=t;this.stack=e;this.state=s;this.reducePos=i;this.pos=n;this.score=o;this.buffer=r;this.bufferBase=l;this.curContext=a;this.lookAhead=h;this.parent=c}toString(){return`[${this.stack.filter(((t,e)=>e%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,e,s=0){let i=t.parser.context;return new r(t,[],e,s,s,0,[],0,i?new l(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffer.length);this.state=t}reduce(t){var e;let s=t>>19,i=t&65535;let{parser:n}=this.p;let o=n.dynamicPrecedence(i);if(o)this.score+=o;if(s==0){this.pushState(n.getGoto(this.state,i,true),this.reducePos);if(i<n.minRepeatTerm)this.storeNode(i,this.reducePos,this.reducePos,4,true);this.reduceContext(i,this.reducePos);return}let r=this.stack.length-(s-1)*3-(t&262144?6:0);let l=r?this.stack[r-2]:this.p.ranges[0].from,a=this.reducePos-l;if(a>=2e3&&!((e=this.p.parser.nodeSet.types[i])===null||e===void 0?void 0:e.isAnonymous)){if(l==this.p.lastBigReductionStart){this.p.bigReductionCount++;this.p.lastBigReductionSize=a}else if(this.p.lastBigReductionSize<a){this.p.bigReductionCount=1;this.p.lastBigReductionStart=l;this.p.lastBigReductionSize=a}}let h=r?this.stack[r-1]:0,c=this.bufferBase+this.buffer.length-h;if(i<n.minRepeatTerm||t&131072){let t=n.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,t,c+4,true)}if(t&262144){this.state=this.stack[r]}else{let t=this.stack[r-3];this.state=n.getGoto(t,i,true)}while(this.stack.length>r)this.stack.pop();this.reduceContext(i,l)}storeNode(t,e,s,i=4,n=false){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let t=this,i=this.buffer.length;if(i==0&&t.parent){i=t.bufferBase-t.parent.bufferBase;t=t.parent}if(i>0&&t.buffer[i-4]==0&&t.buffer[i-1]>-1){if(e==s)return;if(t.buffer[i-2]>=e){t.buffer[i-2]=s;return}}}if(!n||this.pos==s){this.buffer.push(t,e,s,i)}else{let n=this.buffer.length;if(n>0&&this.buffer[n-4]!=0)while(n>0&&this.buffer[n-2]>s){this.buffer[n]=this.buffer[n-4];this.buffer[n+1]=this.buffer[n-3];this.buffer[n+2]=this.buffer[n-2];this.buffer[n+3]=this.buffer[n-1];n-=4;if(i>4)i-=4}this.buffer[n]=t;this.buffer[n+1]=e;this.buffer[n+2]=s;this.buffer[n+3]=i}}shift(t,e,s){let i=this.pos;if(t&131072){this.pushState(t&65535,this.pos)}else if((t&262144)==0){let n=t,{parser:o}=this.p;if(s>this.pos||e<=o.maxNode){this.pos=s;if(!o.stateFlag(n,1))this.reducePos=s}this.pushState(n,i);this.shiftContext(e,i);if(e<=o.maxNode)this.buffer.push(e,i,s,4)}else{this.pos=s;this.shiftContext(e,i);if(e<=this.p.parser.maxNode)this.buffer.push(e,i,s,4)}}apply(t,e,s){if(t&65536)this.reduce(t);else this.shift(t,e,s)}useNode(t,e){let s=this.p.reused.length-1;if(s<0||this.p.reused[s]!=t){this.p.reused.push(t);s++}let i=this.pos;this.reducePos=this.pos=i+t.length;this.pushState(e,i);this.buffer.push(s,i,this.reducePos,-1);if(this.curContext)this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this;let e=t.buffer.length;while(e>0&&t.buffer[e-2]>t.reducePos)e-=4;let s=t.buffer.slice(e),i=t.bufferBase+e;while(t&&i==t.bufferBase)t=t.parent;return new r(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,s,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,e){let s=t<=this.p.parser.maxNode;if(s)this.storeNode(t,this.pos,e,4);this.storeNode(0,this.pos,e,s?8:4);this.pos=this.reducePos=e;this.score-=190}canShift(t){for(let e=new h(this);;){let s=this.p.parser.stateSlot(e.state,4)||this.p.parser.hasAction(e.state,t);if(s==0)return false;if((s&65536)==0)return true;e.reduce(s)}}recoverByInsert(t){if(this.stack.length>=300)return[];let e=this.p.parser.nextStates(this.state);if(e.length>4<<1||this.stack.length>=120){let s=[];for(let i=0,n;i<e.length;i+=2){if((n=e[i+1])!=this.state&&this.p.parser.hasAction(n,t))s.push(e[i],n)}if(this.stack.length<120)for(let t=0;s.length<4<<1&&t<e.length;t+=2){let i=e[t+1];if(!s.some(((t,e)=>e&1&&t==i)))s.push(e[t],i)}e=s}let s=[];for(let i=0;i<e.length&&s.length<4;i+=2){let t=e[i+1];if(t==this.state)continue;let n=this.split();n.pushState(t,this.pos);n.storeNode(0,n.pos,n.pos,4,true);n.shiftContext(e[i],this.pos);n.score-=200;s.push(n)}return s}forceReduce(){let t=this.p.parser.stateSlot(this.state,5);if((t&65536)==0)return false;let{parser:e}=this.p;if(!e.validAction(this.state,t)){let s=t>>19,i=t&65535;let n=this.stack.length-s*3;if(n<0||e.getGoto(this.stack[n],i,false)<0)return false;this.storeNode(0,this.reducePos,this.reducePos,4,true);this.score-=100}this.reducePos=this.pos;this.reduce(t);return true}forceAll(){while(!this.p.parser.stateFlag(this.state,2)){if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,true);break}}return this}get deadEnd(){if(this.stack.length!=3)return false;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.state=this.stack[0];this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return false;for(let e=0;e<this.stack.length;e+=3)if(this.stack[e]!=t.stack[e])return false;return true}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,e){if(this.curContext)this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(e)))}reduceContext(t,e){if(this.curContext)this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(e)))}emitContext(){let t=this.buffer.length-1;if(t<0||this.buffer[t]!=-3)this.buffer.push(this.curContext.hash,this.reducePos,this.reducePos,-3)}emitLookAhead(){let t=this.buffer.length-1;if(t<0||this.buffer[t]!=-4)this.buffer.push(this.lookAhead,this.reducePos,this.reducePos,-4)}updateContext(t){if(t!=this.curContext.context){let e=new l(this.curContext.tracker,t);if(e.hash!=this.curContext.hash)this.emitContext();this.curContext=e}}setLookAhead(t){if(t>this.lookAhead){this.emitLookAhead();this.lookAhead=t}}close(){if(this.curContext&&this.curContext.tracker.strict)this.emitContext();if(this.lookAhead>0)this.emitLookAhead()}}class l{constructor(t,e){this.tracker=t;this.context=e;this.hash=t.strict?t.hash(e):0}}var a;(function(t){t[t["Insert"]=200]="Insert";t[t["Delete"]=190]="Delete";t[t["Reduce"]=100]="Reduce";t[t["MaxNext"]=4]="MaxNext";t[t["MaxInsertStackDepth"]=300]="MaxInsertStackDepth";t[t["DampenInsertStackDepth"]=120]="DampenInsertStackDepth";t[t["MinBigReduction"]=2e3]="MinBigReduction"})(a||(a={}));class h{constructor(t){this.start=t;this.state=t.state;this.stack=t.stack;this.base=this.stack.length}reduce(t){let e=t&65535,s=t>>19;if(s==0){if(this.stack==this.start.stack)this.stack=this.stack.slice();this.stack.push(this.state,0,0);this.base+=3}else{this.base-=(s-1)*3}let i=this.start.p.parser.getGoto(this.stack[this.base-3],e,true);this.state=i}}class c{constructor(t,e,s){this.stack=t;this.pos=e;this.index=s;this.buffer=t.buffer;if(this.index==0)this.maybeNext()}static create(t,e=t.bufferBase+t.buffer.length){return new c(t,e,e-t.bufferBase)}maybeNext(){let t=this.stack.parent;if(t!=null){this.index=this.stack.bufferBase-t.bufferBase;this.stack=t;this.buffer=t.buffer}}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4;this.pos-=4;if(this.index==0)this.maybeNext()}fork(){return new c(this.stack,this.pos,this.index)}}function f(t,e=Uint16Array){if(typeof t!="string")return t;let s=null;for(let i=0,n=0;i<t.length;){let o=0;for(;;){let e=t.charCodeAt(i++),s=false;if(e==126){o=65535;break}if(e>=92)e--;if(e>=34)e--;let n=e-32;if(n>=46){n-=46;s=true}o+=n;if(s)break;o*=46}if(s)s[n++]=o;else s=new e(o)}return s}class u{constructor(){this.start=-1;this.value=-1;this.end=-1;this.extended=-1;this.lookAhead=0;this.mask=0;this.context=0}}const p=new u;class d{constructor(t,e){this.input=t;this.ranges=e;this.chunk="";this.chunkOff=0;this.chunk2="";this.chunk2Pos=0;this.next=-1;this.token=p;this.rangeIndex=0;this.pos=this.chunkPos=e[0].from;this.range=e[0];this.end=e[e.length-1].to;this.readNext()}resolveOffset(t,e){let s=this.range,i=this.rangeIndex;let n=this.pos+t;while(n<s.from){if(!i)return null;let t=this.ranges[--i];n-=s.from-t.to;s=t}while(e<0?n>s.to:n>=s.to){if(i==this.ranges.length-1)return null;let t=this.ranges[++i];n+=t.from-s.to;s=t}return n}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let e of this.ranges)if(e.to>t)return Math.max(t,e.from);return this.end}peek(t){let e=this.chunkOff+t,s,i;if(e>=0&&e<this.chunk.length){s=this.pos+t;i=this.chunk.charCodeAt(e)}else{let e=this.resolveOffset(t,1);if(e==null)return-1;s=e;if(s>=this.chunk2Pos&&s<this.chunk2Pos+this.chunk2.length){i=this.chunk2.charCodeAt(s-this.chunk2Pos)}else{let t=this.rangeIndex,e=this.range;while(e.to<=s)e=this.ranges[++t];this.chunk2=this.input.chunk(this.chunk2Pos=s);if(s+this.chunk2.length>e.to)this.chunk2=this.chunk2.slice(0,e.to-s);i=this.chunk2.charCodeAt(0)}}if(s>=this.token.lookAhead)this.token.lookAhead=s+1;return i}acceptToken(t,e=0){let s=e?this.resolveOffset(e,-1):this.pos;if(s==null||s<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t;this.token.end=s}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:e}=this;this.chunk=this.chunk2;this.chunkPos=this.chunk2Pos;this.chunk2=t;this.chunk2Pos=e;this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk;this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos);let e=this.pos+t.length;this.chunk=e>this.range.to?t.slice(0,this.range.to-this.pos):t;this.chunkPos=this.pos;this.chunkOff=0}}readNext(){if(this.chunkOff>=this.chunk.length){this.getChunk();if(this.chunkOff==this.chunk.length)return this.next=-1}return this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){this.chunkOff+=t;while(this.pos+t>=this.range.to){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos;this.range=this.ranges[++this.rangeIndex];this.pos=this.range.from}this.pos+=t;if(this.pos>=this.token.lookAhead)this.token.lookAhead=this.pos+1;return this.readNext()}setDone(){this.pos=this.chunkPos=this.end;this.range=this.ranges[this.rangeIndex=this.ranges.length-1];this.chunk="";return this.next=-1}reset(t,e){if(e){this.token=e;e.start=t;e.lookAhead=t+1;e.value=e.extended=-1}else{this.token=p}if(this.pos!=t){this.pos=t;if(t==this.end){this.setDone();return this}while(t<this.range.from)this.range=this.ranges[--this.rangeIndex];while(t>=this.range.to)this.range=this.ranges[++this.rangeIndex];if(t>=this.chunkPos&&t<this.chunkPos+this.chunk.length){this.chunkOff=t-this.chunkPos}else{this.chunk="";this.chunkOff=0}this.readNext()}return this}read(t,e){if(t>=this.chunkPos&&e<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,e-this.chunkPos);if(t>=this.chunk2Pos&&e<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,e-this.chunk2Pos);if(t>=this.range.from&&e<=this.range.to)return this.input.read(t,e);let s="";for(let i of this.ranges){if(i.from>=e)break;if(i.to>t)s+=this.input.read(Math.max(i.from,t),Math.min(i.to,e))}return s}}class m{constructor(t,e){this.data=t;this.id=e}token(t,e){let{parser:s}=e.p;x(this.data,t,e,this.id,s.data,s.tokenPrecTable)}}m.prototype.contextual=m.prototype.fallback=m.prototype.extend=false;class g{constructor(t,e,s){this.precTable=e;this.elseToken=s;this.data=typeof t=="string"?f(t):t}token(t,e){let s=t.pos,i;for(;;){i=t.pos;x(this.data,t,e,0,this.data,this.precTable);if(t.token.value>-1)break;if(this.elseToken==null)return;if(t.next<0)break;t.advance();t.reset(i+1,t.token)}if(i>s){t.reset(s,t.token);t.acceptToken(this.elseToken,i-s)}}}g.prototype.contextual=m.prototype.fallback=m.prototype.extend=false;class k{constructor(t,e={}){this.token=t;this.contextual=!!e.contextual;this.fallback=!!e.fallback;this.extend=!!e.extend}}function x(t,e,s,i,n,o){let r=0,l=1<<i,{dialect:a}=s.p.parser;t:for(;;){if((l&t[r])==0)break;let s=t[r+1];for(let f=r+3;f<s;f+=2)if((t[f+1]&l)>0){let s=t[f];if(a.allows(s)&&(e.token.value==-1||e.token.value==s||v(s,e.token.value,n,o))){e.acceptToken(s);break}}let i=e.next,h=0,c=t[r+2];if(e.next<0&&c>h&&t[s+c*3-3]==65535&&t[s+c*3-3]==65535){r=t[s+c*3-1];continue t}for(;h<c;){let n=h+c>>1;let o=s+n+(n<<1);let l=t[o],a=t[o+1]||65536;if(i<l)c=n;else if(i>=a)h=n+1;else{r=t[o+2];e.advance();continue t}}break}}function b(t,e,s){for(let i=e,n;(n=t[i])!=65535;i++)if(n==s)return i-e;return-1}function v(t,e,s,i){let n=b(s,i,e);return n<0||b(s,i,t)<n}const w=typeof o!="undefined"&&o.env&&/\bparse\b/.test(o.env.LOG);let y=null;var S;(function(t){t[t["Margin"]=25]="Margin"})(S||(S={}));function C(t,e,s){let n=t.cursor(i.IterMode.IncludeAnonymous);n.moveTo(e);for(;;){if(!(s<0?n.childBefore(e):n.childAfter(e)))for(;;){if((s<0?n.to<e:n.from>e)&&!n.type.isError)return s<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(s<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return s<0?0:t.length}}}class P{constructor(t,e){this.fragments=t;this.nodeSet=e;this.i=0;this.fragment=null;this.safeFrom=-1;this.safeTo=-1;this.trees=[];this.start=[];this.index=[];this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){this.safeFrom=t.openStart?C(t.tree,t.from+t.offset,1)-t.offset:t.from;this.safeTo=t.openEnd?C(t.tree,t.to+t.offset,-1)-t.offset:t.to;while(this.trees.length){this.trees.pop();this.start.pop();this.index.pop()}this.trees.push(t.tree);this.start.push(-t.offset);this.index.push(0);this.nextStart=this.safeFrom}else{this.nextStart=1e9}}nodeAt(t){if(t<this.nextStart)return null;while(this.fragment&&this.safeTo<=t)this.nextFragment();if(!this.fragment)return null;for(;;){let e=this.trees.length-1;if(e<0){this.nextFragment();return null}let s=this.trees[e],n=this.index[e];if(n==s.children.length){this.trees.pop();this.start.pop();this.index.pop();continue}let o=s.children[n];let r=this.start[e]+s.positions[n];if(r>t){this.nextStart=r;return null}if(o instanceof i.Tree){if(r==t){if(r<this.safeFrom)return null;let t=r+o.length;if(t<=this.safeTo){let e=o.prop(i.NodeProp.lookAhead);if(!e||t+e<this.fragment.to)return o}}this.index[e]++;if(r+o.length>=Math.max(this.safeFrom,t)){this.trees.push(o);this.start.push(r);this.index.push(0)}}else{this.index[e]++;this.nextStart=r+o.length}}}}class A{constructor(t,e){this.stream=e;this.tokens=[];this.mainToken=null;this.actions=[];this.tokens=t.tokenizers.map((t=>new u))}getActions(t){let e=0;let s=null;let{parser:i}=t.p,{tokenizers:n}=i;let o=i.stateSlot(t.state,3);let r=t.curContext?t.curContext.hash:0;let l=0;for(let a=0;a<n.length;a++){if((1<<a&o)==0)continue;let i=n[a],h=this.tokens[a];if(s&&!i.fallback)continue;if(i.contextual||h.start!=t.pos||h.mask!=o||h.context!=r){this.updateCachedToken(h,i,t);h.mask=o;h.context=r}if(h.lookAhead>h.end+25)l=Math.max(h.lookAhead,l);if(h.value!=0){let n=e;if(h.extended>-1)e=this.addActions(t,h.extended,h.end,e);e=this.addActions(t,h.value,h.end,e);if(!i.extend){s=h;if(e>n)break}}}while(this.actions.length>e)this.actions.pop();if(l)t.setLookAhead(l);if(!s&&t.pos==this.stream.end){s=new u;s.value=t.p.parser.eofTerm;s.start=s.end=t.pos;e=this.addActions(t,s.value,s.end,e)}this.mainToken=s;return this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let e=new u,{pos:s,p:i}=t;e.start=s;e.end=Math.min(s+1,i.stream.end);e.value=s==i.stream.end?i.parser.eofTerm:0;return e}updateCachedToken(t,e,s){let i=this.stream.clipPos(s.pos);e.token(this.stream.reset(i,t),s);if(t.value>-1){let{parser:e}=s.p;for(let i=0;i<e.specialized.length;i++)if(e.specialized[i]==t.value){let n=e.specializers[i](this.stream.read(t.start,t.end),s);if(n>=0&&s.p.parser.dialect.allows(n>>1)){if((n&1)==0)t.value=n>>1;else t.extended=n>>1;break}}}else{t.value=0;t.end=this.stream.clipPos(i+1)}}putAction(t,e,s,i){for(let n=0;n<i;n+=3)if(this.actions[n]==t)return i;this.actions[i++]=t;this.actions[i++]=e;this.actions[i++]=s;return i}addActions(t,e,s,i){let{state:n}=t,{parser:o}=t.p,{data:r}=o;for(let l=0;l<2;l++){for(let t=o.stateSlot(n,l?2:1);;t+=3){if(r[t]==65535){if(r[t+1]==1){t=N(r,t+2)}else{if(i==0&&r[t+1]==2)i=this.putAction(N(r,t+2),e,s,i);break}}if(r[t]==e)i=this.putAction(N(r,t+1),e,s,i)}}return i}}var T;(function(t){t[t["Distance"]=5]="Distance";t[t["MaxRemainingPerStep"]=3]="MaxRemainingPerStep";t[t["MinBufferLengthPrune"]=500]="MinBufferLengthPrune";t[t["ForceReduceLimit"]=10]="ForceReduceLimit";t[t["CutDepth"]=15e3]="CutDepth";t[t["CutTo"]=9e3]="CutTo";t[t["MaxLeftAssociativeReductionCount"]=300]="MaxLeftAssociativeReductionCount";t[t["MaxStackCount"]=12]="MaxStackCount"})(T||(T={}));class I{constructor(t,e,s,i){this.parser=t;this.input=e;this.ranges=i;this.recovering=0;this.nextStackID=9812;this.minStackPos=0;this.reused=[];this.stoppedAt=null;this.lastBigReductionStart=-1;this.lastBigReductionSize=0;this.bigReductionCount=0;this.stream=new d(e,i);this.tokens=new A(t,this.stream);this.topTerm=t.top[1];let{from:n}=i[0];this.stacks=[r.start(this,t.top[0],n)];this.fragments=s.length&&this.stream.end-n>t.bufferLength*4?new P(s,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,e=this.minStackPos;let s=this.stacks=[];let i,n;if(this.bigReductionCount>300&&t.length==1){let[e]=t;while(e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart){}this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<t.length;o++){let r=t[o];for(;;){this.tokens.mainToken=null;if(r.pos>e){s.push(r)}else if(this.advanceStack(r,s,t)){continue}else{if(!i){i=[];n=[]}i.push(r);let t=this.tokens.getMainToken(r);n.push(t.value,t.end)}break}}if(!s.length){let t=i&&L(i);if(t)return this.stackToTree(t);if(this.parser.strict){if(w&&i)console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none"));throw new SyntaxError("No parse at "+e)}if(!this.recovering)this.recovering=5}if(this.recovering&&i){let t=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,n,s);if(t)return this.stackToTree(t.forceAll())}if(this.recovering){let t=this.recovering==1?1:this.recovering*3;if(s.length>t){s.sort(((t,e)=>e.score-t.score));while(s.length>t)s.pop()}if(s.some((t=>t.reducePos>e)))this.recovering--}else if(s.length>1){t:for(let t=0;t<s.length-1;t++){let e=s[t];for(let i=t+1;i<s.length;i++){let n=s[i];if(e.sameState(n)||e.buffer.length>500&&n.buffer.length>500){if((e.score-n.score||e.buffer.length-n.buffer.length)>0){s.splice(i--,1)}else{s.splice(t--,1);continue t}}}}if(s.length>12)s.splice(12,s.length-12)}this.minStackPos=s[0].pos;for(let o=1;o<s.length;o++)if(s[o].pos<this.minStackPos)this.minStackPos=s[o].pos;return null}stopAt(t){if(this.stoppedAt!=null&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,e,s){let n=t.pos,{parser:o}=this;let r=w?this.stackID(t)+" -> ":"";if(this.stoppedAt!=null&&n>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let e=t.curContext&&t.curContext.tracker.strict,s=e?t.curContext.hash:0;for(let l=this.fragments.nodeAt(n);l;){let n=this.parser.nodeSet.types[l.type.id]==l.type?o.getGoto(t.state,l.type.id):-1;if(n>-1&&l.length&&(!e||(l.prop(i.NodeProp.contextHash)||0)==s)){t.useNode(l,n);if(w)console.log(r+this.stackID(t)+` (via reuse of ${o.getName(l.type.id)})`);return true}if(!(l instanceof i.Tree)||l.children.length==0||l.positions[0]>0)break;let a=l.children[0];if(a instanceof i.Tree&&l.positions[0]==0)l=a;else break}}let l=o.stateSlot(t.state,4);if(l>0){t.reduce(l);if(w)console.log(r+this.stackID(t)+` (via always-reduce ${o.getName(l&65535)})`);return true}if(t.stack.length>=15e3){while(t.stack.length>9e3&&t.forceReduce()){}}let a=this.tokens.getActions(t);for(let i=0;i<a.length;){let l=a[i++],h=a[i++],c=a[i++];let f=i==a.length||!s;let u=f?t:t.split();u.apply(l,h,c);if(w)console.log(r+this.stackID(u)+` (via ${(l&65536)==0?"shift":`reduce of ${o.getName(l&65535)}`} for ${o.getName(h)} @ ${n}${u==t?"":", split"})`);if(f)return true;else if(u.pos>n)e.push(u);else s.push(u)}return false}advanceFully(t,e){let s=t.pos;for(;;){if(!this.advanceStack(t,null,null))return false;if(t.pos>s){R(t,e);return true}}}runRecovery(t,e,s){let i=null,n=false;for(let o=0;o<t.length;o++){let r=t[o],l=e[o<<1],a=e[(o<<1)+1];let h=w?this.stackID(r)+" -> ":"";if(r.deadEnd){if(n)continue;n=true;r.restart();if(w)console.log(h+this.stackID(r)+" (restarted)");let t=this.advanceFully(r,s);if(t)continue}let c=r.split(),f=h;for(let t=0;c.forceReduce()&&t<10;t++){if(w)console.log(f+this.stackID(c)+" (via force-reduce)");let t=this.advanceFully(c,s);if(t)break;if(w)f=this.stackID(c)+" -> "}for(let t of r.recoverByInsert(l)){if(w)console.log(h+this.stackID(t)+" (via recover-insert)");this.advanceFully(t,s)}if(this.stream.end>r.pos){if(a==r.pos){a++;l=0}r.recoverByDelete(l,a);if(w)console.log(h+this.stackID(r)+` (via recover-delete ${this.parser.getName(l)})`);R(r,s)}else if(!i||i.score<r.score){i=r}}return i}stackToTree(t){t.close();return i.Tree.build({buffer:c.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let e=(y||(y=new WeakMap)).get(t);if(!e)y.set(t,e=String.fromCodePoint(this.nextStackID++));return e+t}}function R(t,e){for(let s=0;s<e.length;s++){let i=e[s];if(i.pos==t.pos&&i.sameState(t)){if(e[s].score<t.score)e[s]=t;return}}e.push(t)}class E{constructor(t,e,s){this.source=t;this.flags=e;this.disabled=s}allows(t){return!this.disabled||this.disabled[t]==0}}const D=t=>t;class O{constructor(t){this.start=t.start;this.shift=t.shift||D;this.reduce=t.reduce||D;this.reuse=t.reuse||D;this.hash=t.hash||(()=>0);this.strict=t.strict!==false}}class M extends i.Parser{constructor(t){super();this.wrappers=[];if(t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (${14})`);let e=t.nodeNames.split(" ");this.minRepeatTerm=e.length;for(let i=0;i<t.repeatNodeCount;i++)e.push("");let s=Object.keys(t.topRules).map((e=>t.topRules[e][1]));let n=[];for(let i=0;i<e.length;i++)n.push([]);function o(t,e,s){n[t].push([e,e.deserialize(String(s))])}if(t.nodeProps)for(let l of t.nodeProps){let t=l[0];if(typeof t=="string")t=i.NodeProp[t];for(let e=1;e<l.length;){let s=l[e++];if(s>=0){o(s,t,l[e++])}else{let i=l[e+-s];for(let n=-s;n>0;n--)o(l[e++],t,i);e++}}}this.nodeSet=new i.NodeSet(e.map(((e,o)=>i.NodeType.define({name:o>=this.minRepeatTerm?undefined:e,id:o,props:n[o],top:s.indexOf(o)>-1,error:o==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(o)>-1}))));if(t.propSources)this.nodeSet=this.nodeSet.extend(...t.propSources);this.strict=false;this.bufferLength=i.DefaultBufferLength;let r=f(t.tokenData);this.context=t.context;this.specializerSpecs=t.specialized||[];this.specialized=new Uint16Array(this.specializerSpecs.length);for(let i=0;i<this.specializerSpecs.length;i++)this.specialized[i]=this.specializerSpecs[i].term;this.specializers=this.specializerSpecs.map(B);this.states=f(t.states,Uint32Array);this.data=f(t.stateData);this.goto=f(t.goto);this.maxTerm=t.maxTerm;this.tokenizers=t.tokenizers.map((t=>typeof t=="number"?new m(r,t):t));this.topRules=t.topRules;this.dialects=t.dialects||{};this.dynamicPrecedences=t.dynamicPrecedences||null;this.tokenPrecTable=t.tokenPrec;this.termNames=t.termNames||null;this.maxNode=this.nodeSet.types.length-1;this.dialect=this.parseDialect();this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,e,s){let i=new I(this,t,e,s);for(let n of this.wrappers)i=n(i,t,e,s);return i}getGoto(t,e,s=false){let i=this.goto;if(e>=i[0])return-1;for(let n=i[e+1];;){let e=i[n++],o=e&1;let r=i[n++];if(o&&s)return r;for(let s=n+(e>>1);n<s;n++)if(i[n]==t)return r;if(o)return-1}}hasAction(t,e){let s=this.data;for(let i=0;i<2;i++){for(let n=this.stateSlot(t,i?2:1),o;;n+=3){if((o=s[n])==65535){if(s[n+1]==1)o=s[n=N(s,n+2)];else if(s[n+1]==2)return N(s,n+2);else break}if(o==e||o==0)return N(s,n+1)}}return 0}stateSlot(t,e){return this.states[t*6+e]}stateFlag(t,e){return(this.stateSlot(t,0)&e)>0}validAction(t,e){if(e==this.stateSlot(t,4))return true;for(let s=this.stateSlot(t,1);;s+=3){if(this.data[s]==65535){if(this.data[s+1]==1)s=N(this.data,s+2);else return false}if(e==N(this.data,s+1))return true}}nextStates(t){let e=[];for(let s=this.stateSlot(t,1);;s+=3){if(this.data[s]==65535){if(this.data[s+1]==1)s=N(this.data,s+2);else break}if((this.data[s+2]&65536>>16)==0){let t=this.data[s+1];if(!e.some(((e,s)=>s&1&&e==t)))e.push(this.data[s],t)}}return e}configure(t){let e=Object.assign(Object.create(M.prototype),this);if(t.props)e.nodeSet=this.nodeSet.extend(...t.props);if(t.top){let s=this.topRules[t.top];if(!s)throw new RangeError(`Invalid top rule name ${t.top}`);e.top=s}if(t.tokenizers)e.tokenizers=this.tokenizers.map((e=>{let s=t.tokenizers.find((t=>t.from==e));return s?s.to:e}));if(t.specializers){e.specializers=this.specializers.slice();e.specializerSpecs=this.specializerSpecs.map(((s,i)=>{let n=t.specializers.find((t=>t.from==s.external));if(!n)return s;let o=Object.assign(Object.assign({},s),{external:n.to});e.specializers[i]=B(o);return o}))}if(t.contextTracker)e.context=t.contextTracker;if(t.dialect)e.dialect=this.parseDialect(t.dialect);if(t.strict!=null)e.strict=t.strict;if(t.wrap)e.wrappers=e.wrappers.concat(t.wrap);if(t.bufferLength!=null)e.bufferLength=t.bufferLength;return e}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let e=this.dynamicPrecedences;return e==null?0:e[t]||0}parseDialect(t){let e=Object.keys(this.dialects),s=e.map((()=>false));if(t)for(let n of t.split(" ")){let t=e.indexOf(n);if(t>=0)s[t]=true}let i=null;for(let n=0;n<e.length;n++)if(!s[n]){for(let t=this.dialects[e[n]],s;(s=this.data[t++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[s]=1}return new E(t,s,i)}static deserialize(t){return new M(t)}}function N(t,e){return t[e]|t[e+1]<<16}function L(t){let e=null;for(let s of t){let t=s.p.stoppedAt;if((s.pos==s.p.stream.end||t!=null&&s.pos>t)&&s.p.parser.stateFlag(s.state,2)&&(!e||e.score<s.score))e=s}return e}function B(t){if(t.external){let e=t.extend?1:0;return(s,i)=>t.external(s,i)<<1|e}return t.get}},34155:t=>{var e=t.exports={};var s;var i;function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){s=setTimeout}else{s=n}}catch(t){s=n}try{if(typeof clearTimeout==="function"){i=clearTimeout}else{i=o}}catch(t){i=o}})();function r(t){if(s===setTimeout){return setTimeout(t,0)}if((s===n||!s)&&setTimeout){s=setTimeout;return setTimeout(t,0)}try{return s(t,0)}catch(e){try{return s.call(null,t,0)}catch(e){return s.call(this,t,0)}}}function l(t){if(i===clearTimeout){return clearTimeout(t)}if((i===o||!i)&&clearTimeout){i=clearTimeout;return clearTimeout(t)}try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}var a=[];var h=false;var c;var f=-1;function u(){if(!h||!c){return}h=false;if(c.length){a=c.concat(a)}else{f=-1}if(a.length){p()}}function p(){if(h){return}var t=r(u);h=true;var e=a.length;while(e){c=a;a=[];while(++f<e){if(c){c[f].run()}}f=-1;e=a.length}c=null;h=false;l(t)}e.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1){for(var s=1;s<arguments.length;s++){e[s-1]=arguments[s]}}a.push(new d(t,e));if(a.length===1&&!h){r(p)}};function d(t,e){this.fun=t;this.array=e}d.prototype.run=function(){this.fun.apply(null,this.array)};e.title="browser";e.browser=true;e.env={};e.argv=[];e.version="";e.versions={};function m(){}e.on=m;e.addListener=m;e.once=m;e.off=m;e.removeListener=m;e.removeAllListeners=m;e.emit=m;e.prependListener=m;e.prependOnceListener=m;e.listeners=function(t){return[]};e.binding=function(t){throw new Error("process.binding is not supported")};e.cwd=function(){return"/"};e.chdir=function(t){throw new Error("process.chdir is not supported")};e.umask=function(){return 0}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4043],{14043:(e,t,l)=>{l.r(t);l.d(t,{StyleModule:()=>r});const s="ͼ";const o=typeof Symbol=="undefined"?"__"+s:Symbol.for(s);const i=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet");const n=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{};class r{constructor(e,t){this.rules=[];let{finish:l}=t||{};function s(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function o(e,t,i,n){let r=[],h=/^@(\w+)\b/.exec(e[0]),u=h&&h[1]=="keyframes";if(h&&t==null)return i.push(e[0]+";");for(let l in t){let n=t[l];if(/&/.test(l)){o(l.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),n,i)}else if(n&&typeof n=="object"){if(!h)throw new RangeError("The value of a property ("+l+") should be a primitive value.");o(s(l),n,r,u)}else if(n!=null){r.push(l.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+n+";")}}if(r.length||u){i.push((l&&!h&&!n?e.map(l):e).join(", ")+" {"+r.join(" ")+"}")}}for(let i in e)o(s(i),e[i],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=n[o]||1;n[o]=e+1;return s+e.toString(36)}static mount(e,t){(e[i]||new u(e)).mount(Array.isArray(t)?t:[t])}}let h=null;class u{constructor(e){if(!e.head&&e.adoptedStyleSheets&&typeof CSSStyleSheet!="undefined"){if(h){e.adoptedStyleSheets=[h.sheet].concat(e.adoptedStyleSheets);return e[i]=h}this.sheet=new CSSStyleSheet;e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets);h=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[];e[i]=this}mount(e){let t=this.sheet;let l=0,s=0;for(let o=0;o<e.length;o++){let i=e[o],n=this.modules.indexOf(i);if(n<s&&n>-1){this.modules.splice(n,1);s--;n=-1}if(n==-1){this.modules.splice(s++,0,i);if(t)for(let e=0;e<i.rules.length;e++)t.insertRule(i.rules[e],l++)}else{while(s<n)l+=this.modules[s++].rules.length;l+=i.rules.length;s++}}if(!t){let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4405],{74405:(t,e,n)=>{n.r(e);n.d(e,{Annotation:()=>ft,AnnotationType:()=>ct,ChangeDesc:()=>A,ChangeSet:()=>M,CharCategory:()=>It,Compartment:()=>X,EditorSelection:()=>D,EditorState:()=>Mt,Facet:()=>j,Line:()=>u,MapMode:()=>E,Prec:()=>K,Range:()=>Ot,RangeSet:()=>Nt,RangeSetBuilder:()=>Dt,RangeValue:()=>Rt,SelectionRange:()=>B,StateEffect:()=>dt,StateEffectType:()=>ut,StateField:()=>U,Text:()=>i,Transaction:()=>gt,codePointAt:()=>S,codePointSize:()=>b,combineConfig:()=>Ct,countColumn:()=>Gt,findClusterBreak:()=>w,findColumn:()=>Ht,fromCodePoint:()=>I});class i{constructor(){}lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,false,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,true,1,0)}replace(t,e,n){let i=[];this.decompose(0,t,i,2);if(n.length)n.decompose(0,n.length,i,1|2);this.decompose(e,this.length,i,1);return r.from(i,this.length-(e-t)+n.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,e=this.length){let n=[];this.decompose(t,e,n,0);return r.from(n,e-t)}eq(t){if(t==this)return true;if(t.length!=this.length||t.lines!=this.lines)return false;let e=this.scanIdentical(t,1),n=this.length-this.scanIdentical(t,-1);let i=new a(this),s=new a(t);for(let r=e,l=e;;){i.next(r);s.next(r);r=0;if(i.lineBreak!=s.lineBreak||i.done!=s.done||i.value!=s.value)return false;l+=i.value.length;if(i.done||l>=n)return true}}iter(t=1){return new a(this,t)}iterRange(t,e=this.length){return new f(this,t,e)}iterLines(t,e){let n;if(t==null){n=this.iter()}else{if(e==null)e=this.lines+1;let i=this.line(t).from;n=this.iterRange(i,Math.max(i,e==this.lines+1?this.length:e<=1?0:this.line(e-1).to))}return new c(n)}toString(){return this.sliceString(0)}toJSON(){let t=[];this.flatten(t);return t}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");if(t.length==1&&!t[0])return i.empty;return t.length<=32?new s(t):r.from(s.split(t,[]))}}class s extends i{constructor(t,e=l(t)){super();this.text=t;this.length=e}get lines(){return this.text.length}get children(){return null}lineInner(t,e,n,i){for(let s=0;;s++){let r=this.text[s],l=i+r.length;if((e?n:l)>=t)return new u(i,l,n,r);i=l+1;n++}}decompose(t,e,n,i){let r=t<=0&&e>=this.length?this:new s(o(this.text,t,e),Math.min(e,this.length)-Math.max(0,t));if(i&1){let t=n.pop();let e=h(r.text,t.text.slice(),0,r.length);if(e.length<=32){n.push(new s(e,t.length+r.length))}else{let t=e.length>>1;n.push(new s(e.slice(0,t)),new s(e.slice(t)))}}else{n.push(r)}}replace(t,e,n){if(!(n instanceof s))return super.replace(t,e,n);let i=h(this.text,h(n.text,o(this.text,0,t)),e);let l=this.length+n.length-(e-t);if(i.length<=32)return new s(i,l);return r.from(s.split(i,[]),l)}sliceString(t,e=this.length,n="\n"){let i="";for(let s=0,r=0;s<=e&&r<this.text.length;r++){let l=this.text[r],h=s+l.length;if(s>t&&r)i+=n;if(t<h&&e>s)i+=l.slice(Math.max(0,t-s),e-s);s=h+1}return i}flatten(t){for(let e of this.text)t.push(e)}scanIdentical(){return 0}static split(t,e){let n=[],i=-1;for(let r of t){n.push(r);i+=r.length+1;if(n.length==32){e.push(new s(n,i));n=[];i=-1}}if(i>-1)e.push(new s(n,i));return e}}class r extends i{constructor(t,e){super();this.children=t;this.length=e;this.lines=0;for(let n of t)this.lines+=n.lines}lineInner(t,e,n,i){for(let s=0;;s++){let r=this.children[s],l=i+r.length,h=n+r.lines-1;if((e?h:l)>=t)return r.lineInner(t,e,n,i);i=l+1;n=h+1}}decompose(t,e,n,i){for(let s=0,r=0;r<=e&&s<this.children.length;s++){let l=this.children[s],h=r+l.length;if(t<=h&&e>=r){let s=i&((r<=t?1:0)|(h>=e?2:0));if(r>=t&&h<=e&&!s)n.push(l);else l.decompose(t-r,e-r,n,s)}r=h+1}}replace(t,e,n){if(n.lines<this.lines)for(let i=0,s=0;i<this.children.length;i++){let l=this.children[i],h=s+l.length;if(t>=s&&e<=h){let o=l.replace(t-s,e-s,n);let a=this.lines-l.lines+o.lines;if(o.lines<a>>5-1&&o.lines>a>>5+1){let s=this.children.slice();s[i]=o;return new r(s,this.length-(e-t)+n.length)}return super.replace(s,h,o)}s=h+1}return super.replace(t,e,n)}sliceString(t,e=this.length,n="\n"){let i="";for(let s=0,r=0;s<this.children.length&&r<=e;s++){let l=this.children[s],h=r+l.length;if(r>t&&s)i+=n;if(t<h&&e>r)i+=l.sliceString(t-r,e-r,n);r=h+1}return i}flatten(t){for(let e of this.children)e.flatten(t)}scanIdentical(t,e){if(!(t instanceof r))return 0;let n=0;let[i,s,l,h]=e>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;i+=e,s+=e){if(i==l||s==h)return n;let r=this.children[i],o=t.children[s];if(r!=o)return n+r.scanIdentical(o,e);n+=r.length+1}}static from(t,e=t.reduce(((t,e)=>t+e.length+1),-1)){let n=0;for(let s of t)n+=s.lines;if(n<32){let n=[];for(let e of t)e.flatten(n);return new s(n,e)}let i=Math.max(32,n>>5),l=i<<1,h=i>>1;let o=[],a=0,f=-1,c=[];function u(t){let e;if(t.lines>l&&t instanceof r){for(let e of t.children)u(e)}else if(t.lines>h&&(a>h||!a)){d();o.push(t)}else if(t instanceof s&&a&&(e=c[c.length-1])instanceof s&&t.lines+e.lines<=32){a+=t.lines;f+=t.length+1;c[c.length-1]=new s(e.text.concat(t.text),e.length+1+t.length)}else{if(a+t.lines>i)d();a+=t.lines;f+=t.length+1;c.push(t)}}function d(){if(a==0)return;o.push(c.length==1?c[0]:r.from(c,f));f=-1;a=c.length=0}for(let s of t)u(s);d();return o.length==1?o[0]:new r(o,e)}}i.empty=new s([""],0);function l(t){let e=-1;for(let n of t)e+=n.length+1;return e}function h(t,e,n=0,i=1e9){for(let s=0,r=0,l=true;r<t.length&&s<=i;r++){let h=t[r],o=s+h.length;if(o>=n){if(o>i)h=h.slice(0,i-s);if(s<n)h=h.slice(n-s);if(l){e[e.length-1]+=h;l=false}else e.push(h)}s=o+1}return e}function o(t,e,n){return h(t,[""],e,n)}class a{constructor(t,e=1){this.dir=e;this.done=false;this.lineBreak=false;this.value="";this.nodes=[t];this.offsets=[e>0?1:(t instanceof s?t.text.length:t.children.length)<<1]}nextInner(t,e){this.done=this.lineBreak=false;for(;;){let n=this.nodes.length-1;let i=this.nodes[n],r=this.offsets[n],l=r>>1;let h=i instanceof s?i.text.length:i.children.length;if(l==(e>0?h:0)){if(n==0){this.done=true;this.value="";return this}if(e>0)this.offsets[n-1]++;this.nodes.pop();this.offsets.pop()}else if((r&1)==(e>0?0:1)){this.offsets[n]+=e;if(t==0){this.lineBreak=true;this.value="\n";return this}t--}else if(i instanceof s){let s=i.text[l+(e<0?-1:0)];this.offsets[n]+=e;if(s.length>Math.max(0,t)){this.value=t==0?s:e>0?s.slice(t):s.slice(0,s.length-t);return this}t-=s.length}else{let r=i.children[l+(e<0?-1:0)];if(t>r.length){t-=r.length;this.offsets[n]+=e}else{if(e<0)this.offsets[n]--;this.nodes.push(r);this.offsets.push(e>0?1:(r instanceof s?r.text.length:r.children.length)<<1)}}}}next(t=0){if(t<0){this.nextInner(-t,-this.dir);t=this.value.length}return this.nextInner(t,this.dir)}}class f{constructor(t,e,n){this.value="";this.done=false;this.cursor=new a(t,e>n?-1:1);this.pos=e>n?t.length:0;this.from=Math.min(e,n);this.to=Math.max(e,n)}nextInner(t,e){if(e<0?this.pos<=this.from:this.pos>=this.to){this.value="";this.done=true;return this}t+=Math.max(0,e<0?this.pos-this.to:this.from-this.pos);let n=e<0?this.pos-this.from:this.to-this.pos;if(t>n)t=n;n-=t;let{value:i}=this.cursor.next(t);this.pos+=(i.length+t)*e;this.value=i.length<=n?i:e<0?i.slice(i.length-n):i.slice(0,n);this.done=!this.value;return this}next(t=0){if(t<0)t=Math.max(t,this.from-this.pos);else if(t>0)t=Math.min(t,this.to-this.pos);return this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class c{constructor(t){this.inner=t;this.afterBreak=true;this.value="";this.done=false}next(t=0){let{done:e,lineBreak:n,value:i}=this.inner.next(t);if(e){this.done=true;this.value=""}else if(n){if(this.afterBreak){this.value=""}else{this.afterBreak=true;this.next()}}else{this.value=i;this.afterBreak=false}return this}get lineBreak(){return false}}if(typeof Symbol!="undefined"){i.prototype[Symbol.iterator]=function(){return this.iter()};a.prototype[Symbol.iterator]=f.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=function(){return this}}class u{constructor(t,e,n,i){this.from=t;this.to=e;this.number=n;this.text=i}get length(){return this.to-this.from}}let d="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((t=>t?parseInt(t,36):1));for(let Qt=1;Qt<d.length;Qt++)d[Qt]+=d[Qt-1];function g(t){for(let e=1;e<d.length;e+=2)if(d[e]>t)return d[e-1]<=t;return false}function p(t){return t>=127462&&t<=127487}const m=8205;function w(t,e,n=true,i=true){return(n?v:x)(t,e,i)}function v(t,e,n){if(e==t.length)return e;if(e&&k(t.charCodeAt(e))&&y(t.charCodeAt(e-1)))e--;let i=S(t,e);e+=b(i);while(e<t.length){let s=S(t,e);if(i==m||s==m||n&&g(s)){e+=b(s);i=s}else if(p(s)){let n=0,i=e-2;while(i>=0&&p(S(t,i))){n++;i-=2}if(n%2==0)break;else e+=2}else{break}}return e}function x(t,e,n){while(e>0){let i=v(t,e-2,n);if(i<e)return i;e--}return 0}function k(t){return t>=56320&&t<57344}function y(t){return t>=55296&&t<56320}function S(t,e){let n=t.charCodeAt(e);if(!y(n)||e+1==t.length)return n;let i=t.charCodeAt(e+1);if(!k(i))return n;return(n-55296<<10)+(i-56320)+65536}function I(t){if(t<=65535)return String.fromCharCode(t);t-=65536;return String.fromCharCode((t>>10)+55296,(t&1023)+56320)}function b(t){return t<65536?1:2}const P=/\r\n?|\n/;var E=function(t){t[t["Simple"]=0]="Simple";t[t["TrackDel"]=1]="TrackDel";t[t["TrackBefore"]=2]="TrackBefore";t[t["TrackAfter"]=3]="TrackAfter";return t}(E||(E={}));class A{constructor(t){this.sections=t}get length(){let t=0;for(let e=0;e<this.sections.length;e+=2)t+=this.sections[e];return t}get newLength(){let t=0;for(let e=0;e<this.sections.length;e+=2){let n=this.sections[e+1];t+=n<0?this.sections[e]:n}return t}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(t){for(let e=0,n=0,i=0;e<this.sections.length;){let s=this.sections[e++],r=this.sections[e++];if(r<0){t(n,i,s);i+=s}else{i+=r}n+=s}}iterChangedRanges(t,e=false){O(this,t,e)}get invertedDesc(){let t=[];for(let e=0;e<this.sections.length;){let n=this.sections[e++],i=this.sections[e++];if(i<0)t.push(n,i);else t.push(i,n)}return new A(t)}composeDesc(t){return this.empty?t:t.empty?this:F(this,t)}mapDesc(t,e=false){return t.empty?this:T(this,t,e)}mapPos(t,e=-1,n=E.Simple){let i=0,s=0;for(let r=0;r<this.sections.length;){let l=this.sections[r++],h=this.sections[r++],o=i+l;if(h<0){if(o>t)return s+(t-i);s+=l}else{if(n!=E.Simple&&o>=t&&(n==E.TrackDel&&i<t&&o>t||n==E.TrackBefore&&i<t||n==E.TrackAfter&&o>t))return null;if(o>t||o==t&&e<0&&!l)return t==i||e<0?s:s+h;s+=h}i=o}if(t>i)throw new RangeError(`Position ${t} is out of range for changeset of length ${i}`);return s}touchesRange(t,e=t){for(let n=0,i=0;n<this.sections.length&&i<=e;){let s=this.sections[n++],r=this.sections[n++],l=i+s;if(r>=0&&i<=e&&l>=t)return i<t&&l>e?"cover":true;i=l}return false}toString(){let t="";for(let e=0;e<this.sections.length;){let n=this.sections[e++],i=this.sections[e++];t+=(t?" ":"")+n+(i>=0?":"+i:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some((t=>typeof t!="number")))throw new RangeError("Invalid JSON representation of ChangeDesc");return new A(t)}static create(t){return new A(t)}}class M extends A{constructor(t,e){super(t);this.inserted=e}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");O(this,((e,n,i,s,r)=>t=t.replace(i,i+(n-e),r)),false);return t}mapDesc(t,e=false){return T(this,t,e,true)}invert(t){let e=this.sections.slice(),n=[];for(let s=0,r=0;s<e.length;s+=2){let l=e[s],h=e[s+1];if(h>=0){e[s]=h;e[s+1]=l;let o=s>>1;while(n.length<o)n.push(i.empty);n.push(l?t.slice(r,r+l):i.empty)}r+=l}return new M(e,n)}compose(t){return this.empty?t:t.empty?this:F(this,t,true)}map(t,e=false){return t.empty?this:T(this,t,e,true)}iterChanges(t,e=false){O(this,t,e)}get desc(){return A.create(this.sections)}filter(t){let e=[],n=[],i=[];let s=new N(this);t:for(let r=0,l=0;;){let h=r==t.length?1e9:t[r++];while(l<h||l==h&&s.len==0){if(s.done)break t;let t=Math.min(s.len,h-l);C(i,t,-1);let r=s.ins==-1?-1:s.off==0?s.ins:0;C(e,t,r);if(r>0)R(n,e,s.text);s.forward(t);l+=t}let o=t[r++];while(l<o){if(s.done)break t;let t=Math.min(s.len,o-l);C(e,t,-1);C(i,t,s.ins==-1?-1:s.off==0?s.ins:0);s.forward(t);l+=t}}return{changes:new M(e,n),filtered:A.create(i)}}toJSON(){let t=[];for(let e=0;e<this.sections.length;e+=2){let n=this.sections[e],i=this.sections[e+1];if(i<0)t.push(n);else if(i==0)t.push([n]);else t.push([n].concat(this.inserted[e>>1].toJSON()))}return t}static of(t,e,n){let s=[],r=[],l=0;let h=null;function o(t=false){if(!t&&!s.length)return;if(l<e)C(s,e-l,-1);let n=new M(s,r);h=h?h.compose(n.map(h)):n;s=[];r=[];l=0}function a(t){if(Array.isArray(t)){for(let e of t)a(e)}else if(t instanceof M){if(t.length!=e)throw new RangeError(`Mismatched change set length (got ${t.length}, expected ${e})`);o();h=h?h.compose(t.map(h)):t}else{let{from:h,to:a=h,insert:f}=t;if(h>a||h<0||a>e)throw new RangeError(`Invalid change range ${h} to ${a} (in doc of length ${e})`);let c=!f?i.empty:typeof f=="string"?i.of(f.split(n||P)):f;let u=c.length;if(h==a&&u==0)return;if(h<l)o();if(h>l)C(s,h-l,-1);C(s,a-h,u);R(r,s,c);l=a}}a(t);o(!h);return h}static empty(t){return new M(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let e=[],n=[];for(let s=0;s<t.length;s++){let r=t[s];if(typeof r=="number"){e.push(r,-1)}else if(!Array.isArray(r)||typeof r[0]!="number"||r.some(((t,e)=>e&&typeof t!="string"))){throw new RangeError("Invalid JSON representation of ChangeSet")}else if(r.length==1){e.push(r[0],0)}else{while(n.length<s)n.push(i.empty);n[s]=i.of(r.slice(1));e.push(r[0],n[s].length)}}return new M(e,n)}static createSet(t,e){return new M(t,e)}}function C(t,e,n,i=false){if(e==0&&n<=0)return;let s=t.length-2;if(s>=0&&n<=0&&n==t[s+1])t[s]+=e;else if(e==0&&t[s]==0)t[s+1]+=n;else if(i){t[s]+=e;t[s+1]+=n}else t.push(e,n)}function R(t,e,n){if(n.length==0)return;let s=e.length-2>>1;if(s<t.length){t[t.length-1]=t[t.length-1].append(n)}else{while(t.length<s)t.push(i.empty);t.push(n)}}function O(t,e,n){let s=t.inserted;for(let r=0,l=0,h=0;h<t.sections.length;){let o=t.sections[h++],a=t.sections[h++];if(a<0){r+=o;l+=o}else{let f=r,c=l,u=i.empty;for(;;){f+=o;c+=a;if(a&&s)u=u.append(s[h-2>>1]);if(n||h==t.sections.length||t.sections[h+1]<0)break;o=t.sections[h++];a=t.sections[h++]}e(r,f,l,c,u);r=f;l=c}}}function T(t,e,n,i=false){let s=[],r=i?[]:null;let l=new N(t),h=new N(e);for(let o=-1;;){if(l.ins==-1&&h.ins==-1){let t=Math.min(l.len,h.len);C(s,t,-1);l.forward(t);h.forward(t)}else if(h.ins>=0&&(l.ins<0||o==l.i||l.off==0&&(h.len<l.len||h.len==l.len&&!n))){let t=h.len;C(s,h.ins,-1);while(t){let e=Math.min(l.len,t);if(l.ins>=0&&o<l.i&&l.len<=e){C(s,0,l.ins);if(r)R(r,s,l.text);o=l.i}l.forward(e);t-=e}h.next()}else if(l.ins>=0){let t=0,e=l.len;while(e){if(h.ins==-1){let n=Math.min(e,h.len);t+=n;e-=n;h.forward(n)}else if(h.ins==0&&h.len<e){e-=h.len;h.next()}else{break}}C(s,t,o<l.i?l.ins:0);if(r&&o<l.i)R(r,s,l.text);o=l.i;l.forward(l.len-e)}else if(l.done&&h.done){return r?M.createSet(s,r):A.create(s)}else{throw new Error("Mismatched change set lengths")}}}function F(t,e,n=false){let i=[];let s=n?[]:null;let r=new N(t),l=new N(e);for(let h=false;;){if(r.done&&l.done){return s?M.createSet(i,s):A.create(i)}else if(r.ins==0){C(i,r.len,0,h);r.next()}else if(l.len==0&&!l.done){C(i,0,l.ins,h);if(s)R(s,i,l.text);l.next()}else if(r.done||l.done){throw new Error("Mismatched change set lengths")}else{let t=Math.min(r.len2,l.len),e=i.length;if(r.ins==-1){let e=l.ins==-1?-1:l.off?0:l.ins;C(i,t,e,h);if(s&&e)R(s,i,l.text)}else if(l.ins==-1){C(i,r.off?0:r.len,t,h);if(s)R(s,i,r.textBit(t))}else{C(i,r.off?0:r.len,l.off?0:l.ins,h);if(s&&!l.off)R(s,i,l.text)}h=(r.ins>t||l.ins>=0&&l.len>t)&&(h||i.length>e);r.forward2(t);l.forward(t)}}}class N{constructor(t){this.set=t;this.i=0;this.next()}next(){let{sections:t}=this.set;if(this.i<t.length){this.len=t[this.i++];this.ins=t[this.i++]}else{this.len=0;this.ins=-2}this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:t}=this.set,e=this.i-2>>1;return e>=t.length?i.empty:t[e]}textBit(t){let{inserted:e}=this.set,n=this.i-2>>1;return n>=e.length&&!t?i.empty:e[n].slice(this.off,t==null?undefined:this.off+t)}forward(t){if(t==this.len)this.next();else{this.len-=t;this.off+=t}}forward2(t){if(this.ins==-1)this.forward(t);else if(t==this.ins)this.next();else{this.ins-=t;this.off+=t}}}class B{constructor(t,e,n){this.from=t;this.to=e;this.flags=n}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let t=this.flags&3;return t==3?null:t}get goalColumn(){let t=this.flags>>5;return t==33554431?undefined:t}map(t,e=-1){let n,i;if(this.empty){n=i=t.mapPos(this.from,e)}else{n=t.mapPos(this.from,1);i=t.mapPos(this.to,-1)}return n==this.from&&i==this.to?this:new B(n,i,this.flags)}extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return D.range(t,e);let n=Math.abs(t-this.anchor)>Math.abs(e-this.anchor)?t:e;return D.range(this.anchor,n)}eq(t){return this.anchor==t.anchor&&this.head==t.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return D.range(t.anchor,t.head)}static create(t,e,n){return new B(t,e,n)}}class D{constructor(t,e){this.ranges=t;this.mainIndex=e}map(t,e=-1){if(t.empty)return this;return D.create(this.ranges.map((n=>n.map(t,e))),this.mainIndex)}eq(t){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return false;for(let e=0;e<this.ranges.length;e++)if(!this.ranges[e].eq(t.ranges[e]))return false;return true}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new D([this.main],0)}addRange(t,e=true){return D.create([t].concat(this.ranges),e?0:this.mainIndex+1)}replaceRange(t,e=this.mainIndex){let n=this.ranges.slice();n[e]=t;return D.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map((t=>t.toJSON())),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new D(t.ranges.map((t=>B.fromJSON(t))),t.main)}static single(t,e=t){return new D([D.range(t,e)],0)}static create(t,e=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;i<t.length;i++){let s=t[i];if(s.empty?s.from<=n:s.from<n)return D.normalized(t.slice(),e);n=s.to}return new D(t,e)}static cursor(t,e=0,n,i){return B.create(t,t,(e==0?0:e<0?4:8)|(n==null?3:Math.min(2,n))|(i!==null&&i!==void 0?i:33554431)<<5)}static range(t,e,n,i){let s=(n!==null&&n!==void 0?n:33554431)<<5|(i==null?3:Math.min(2,i));return e<t?B.create(e,t,16|8|s):B.create(t,e,(e>t?4:0)|s)}static normalized(t,e=0){let n=t[e];t.sort(((t,e)=>t.from-e.from));e=t.indexOf(n);for(let i=1;i<t.length;i++){let n=t[i],s=t[i-1];if(n.empty?n.from<=s.to:n.from<s.to){let r=s.from,l=Math.max(n.to,s.to);if(i<=e)e--;t.splice(--i,2,n.anchor>n.head?D.range(l,r):D.range(r,l))}}return new D(t,e)}}function J(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let L=0;class j{constructor(t,e,n,i,s){this.combine=t;this.compareInput=e;this.compare=n;this.isStatic=i;this.id=L++;this.default=t([]);this.extensions=typeof s=="function"?s(this):s}static define(t={}){return new j(t.combine||(t=>t),t.compareInput||((t,e)=>t===e),t.compare||(!t.combine?q:(t,e)=>t===e),!!t.static,t.enables)}of(t){return new $([],this,0,t)}compute(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new $(t,this,1,e)}computeN(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new $(t,this,2,e)}from(t,e){if(!e)e=t=>t;return this.compute([t],(n=>e(n.field(t))))}}function q(t,e){return t==e||t.length==e.length&&t.every(((t,n)=>t===e[n]))}class ${constructor(t,e,n,i){this.dependencies=t;this.facet=e;this.type=n;this.value=i;this.id=L++}dynamicSlot(t){var e;let n=this.value;let i=this.facet.compareInput;let s=this.id,r=t[s]>>1,l=this.type==2;let h=false,o=false,a=[];for(let f of this.dependencies){if(f=="doc")h=true;else if(f=="selection")o=true;else if((((e=t[f.id])!==null&&e!==void 0?e:1)&1)==0)a.push(t[f.id])}return{create(t){t.values[r]=n(t);return 1},update(t,e){if(h&&e.docChanged||o&&(e.docChanged||e.selection)||z(t,a)){let e=n(t);if(l?!_(e,t.values[r],i):!i(e,t.values[r])){t.values[r]=e;return 1}}return 0},reconfigure:(t,e)=>{let h,o=e.config.address[s];if(o!=null){let s=nt(e,o);if(this.dependencies.every((n=>n instanceof j?e.facet(n)===t.facet(n):n instanceof U?e.field(n,false)==t.field(n,false):true))||(l?_(h=n(t),s,i):i(h=n(t),s))){t.values[r]=s;return 0}}else{h=n(t)}t.values[r]=h;return 1}}}}function _(t,e,n){if(t.length!=e.length)return false;for(let i=0;i<t.length;i++)if(!n(t[i],e[i]))return false;return true}function z(t,e){let n=false;for(let i of e)if(et(t,i)&1)n=true;return n}function V(t,e,n){let i=n.map((e=>t[e.id]));let s=n.map((t=>t.type));let r=i.filter((t=>!(t&1)));let l=t[e.id]>>1;function h(t){let n=[];for(let e=0;e<i.length;e++){let r=nt(t,i[e]);if(s[e]==2)for(let t of r)n.push(t);else n.push(r)}return e.combine(n)}return{create(t){for(let e of i)et(t,e);t.values[l]=h(t);return 1},update(t,n){if(!z(t,r))return 0;let i=h(t);if(e.compare(i,t.values[l]))return 0;t.values[l]=i;return 1},reconfigure(t,s){let r=z(t,i);let o=s.config.facets[e.id],a=s.facet(e);if(o&&!r&&q(n,o)){t.values[l]=a;return 0}let f=h(t);if(e.compare(f,a)){t.values[l]=a;return 0}t.values[l]=f;return 1}}}const W=j.define({static:true});class U{constructor(t,e,n,i,s){this.id=t;this.createF=e;this.updateF=n;this.compareF=i;this.spec=s;this.provides=undefined}static define(t){let e=new U(L++,t.create,t.update,t.compare||((t,e)=>t===e),t);if(t.provide)e.provides=t.provide(e);return e}create(t){let e=t.facet(W).find((t=>t.field==this));return((e===null||e===void 0?void 0:e.create)||this.createF)(t)}slot(t){let e=t[this.id]>>1;return{create:t=>{t.values[e]=this.create(t);return 1},update:(t,n)=>{let i=t.values[e];let s=this.updateF(i,n);if(this.compareF(i,s))return 0;t.values[e]=s;return 1},reconfigure:(t,n)=>{if(n.config.address[this.id]!=null){t.values[e]=n.field(this);return 0}t.values[e]=this.create(t);return 1}}}init(t){return[this,W.of({field:this,create:t})]}get extension(){return this}}const G={lowest:4,low:3,default:2,high:1,highest:0};function H(t){return e=>new Q(e,t)}const K={highest:H(G.highest),high:H(G.high),default:H(G.default),low:H(G.low),lowest:H(G.lowest)};class Q{constructor(t,e){this.inner=t;this.prec=e}}class X{of(t){return new Y(this,t)}reconfigure(t){return X.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class Y{constructor(t,e){this.compartment=t;this.inner=e}}class Z{constructor(t,e,n,i,s,r){this.base=t;this.compartments=e;this.dynamicSlots=n;this.address=i;this.staticValues=s;this.facets=r;this.statusTemplate=[];while(this.statusTemplate.length<n.length)this.statusTemplate.push(0)}staticFacet(t){let e=this.address[t.id];return e==null?t.default:this.staticValues[e>>1]}static resolve(t,e,n){let i=[];let s=Object.create(null);let r=new Map;for(let c of tt(t,e,r)){if(c instanceof U)i.push(c);else(s[c.facet.id]||(s[c.facet.id]=[])).push(c)}let l=Object.create(null);let h=[];let o=[];for(let c of i){l[c.id]=o.length<<1;o.push((t=>c.slot(t)))}let a=n===null||n===void 0?void 0:n.config.facets;for(let c in s){let t=s[c],e=t[0].facet;let i=a&&a[c]||[];if(t.every((t=>t.type==0))){l[e.id]=h.length<<1|1;if(q(i,t)){h.push(n.facet(e))}else{let i=e.combine(t.map((t=>t.value)));h.push(n&&e.compare(i,n.facet(e))?n.facet(e):i)}}else{for(let e of t){if(e.type==0){l[e.id]=h.length<<1|1;h.push(e.value)}else{l[e.id]=o.length<<1;o.push((t=>e.dynamicSlot(t)))}}l[e.id]=o.length<<1;o.push((n=>V(n,e,t)))}}let f=o.map((t=>t(l)));return new Z(t,r,f,l,h,s)}}function tt(t,e,n){let i=[[],[],[],[],[]];let s=new Map;function r(t,l){let h=s.get(t);if(h!=null){if(h<=l)return;let e=i[h].indexOf(t);if(e>-1)i[h].splice(e,1);if(t instanceof Y)n.delete(t.compartment)}s.set(t,l);if(Array.isArray(t)){for(let e of t)r(e,l)}else if(t instanceof Y){if(n.has(t.compartment))throw new RangeError(`Duplicate use of compartment in extensions`);let i=e.get(t.compartment)||t.inner;n.set(t.compartment,i);r(i,l)}else if(t instanceof Q){r(t.inner,t.prec)}else if(t instanceof U){i[l].push(t);if(t.provides)r(t.provides,l)}else if(t instanceof $){i[l].push(t);if(t.facet.extensions)r(t.facet.extensions,G.default)}else{let e=t.extension;if(!e)throw new Error(`Unrecognized extension value in extension set (${t}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(e,l)}}r(t,G.default);return i.reduce(((t,e)=>t.concat(e)))}function et(t,e){if(e&1)return 2;let n=e>>1;let i=t.status[n];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;t.status[n]=4;let s=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|s}function nt(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const it=j.define();const st=j.define({combine:t=>t.some((t=>t)),static:true});const rt=j.define({combine:t=>t.length?t[0]:undefined,static:true});const lt=j.define();const ht=j.define();const ot=j.define();const at=j.define({combine:t=>t.length?t[0]:false});class ft{constructor(t,e){this.type=t;this.value=e}static define(){return new ct}}class ct{of(t){return new ft(this,t)}}class ut{constructor(t){this.map=t}of(t){return new dt(this,t)}}class dt{constructor(t,e){this.type=t;this.value=e}map(t){let e=this.type.map(this.value,t);return e===undefined?undefined:e==this.value?this:new dt(this.type,e)}is(t){return this.type==t}static define(t={}){return new ut(t.map||(t=>t))}static mapEffects(t,e){if(!t.length)return t;let n=[];for(let i of t){let t=i.map(e);if(t)n.push(t)}return n}}dt.reconfigure=dt.define();dt.appendConfig=dt.define();class gt{constructor(t,e,n,i,s,r){this.startState=t;this.changes=e;this.selection=n;this.effects=i;this.annotations=s;this.scrollIntoView=r;this._doc=null;this._state=null;if(n)J(n,e.newLength);if(!s.some((t=>t.type==gt.time)))this.annotations=s.concat(gt.time.of(Date.now()))}static create(t,e,n,i,s,r){return new gt(t,e,n,i,s,r)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){if(!this._state)this.startState.applyTransaction(this);return this._state}annotation(t){for(let e of this.annotations)if(e.type==t)return e.value;return undefined}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let e=this.annotation(gt.userEvent);return!!(e&&(e==t||e.length>t.length&&e.slice(0,t.length)==t&&e[t.length]=="."))}}gt.time=ft.define();gt.userEvent=ft.define();gt.addToHistory=ft.define();gt.remote=ft.define();function pt(t,e){let n=[];for(let i=0,s=0;;){let r,l;if(i<t.length&&(s==e.length||e[s]>=t[i])){r=t[i++];l=t[i++]}else if(s<e.length){r=e[s++];l=e[s++]}else return n;if(!n.length||n[n.length-1]<r)n.push(r,l);else if(n[n.length-1]<l)n[n.length-1]=l}}function mt(t,e,n){var i;let s,r,l;if(n){s=e.changes;r=M.empty(e.changes.length);l=t.changes.compose(e.changes)}else{s=e.changes.map(t.changes);r=t.changes.mapDesc(e.changes,true);l=t.changes.compose(s)}return{changes:l,selection:e.selection?e.selection.map(r):(i=t.selection)===null||i===void 0?void 0:i.map(s),effects:dt.mapEffects(t.effects,s).concat(dt.mapEffects(e.effects,r)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function wt(t,e,n){let i=e.selection,s=St(e.annotations);if(e.userEvent)s=s.concat(gt.userEvent.of(e.userEvent));return{changes:e.changes instanceof M?e.changes:M.of(e.changes||[],n,t.facet(rt)),selection:i&&(i instanceof D?i:D.single(i.anchor,i.head)),effects:St(e.effects),annotations:s,scrollIntoView:!!e.scrollIntoView}}function vt(t,e,n){let i=wt(t,e.length?e[0]:{},t.doc.length);if(e.length&&e[0].filter===false)n=false;for(let r=1;r<e.length;r++){if(e[r].filter===false)n=false;let s=!!e[r].sequential;i=mt(i,wt(t,e[r],s?i.changes.newLength:t.doc.length),s)}let s=gt.create(t,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return kt(n?xt(s):s)}function xt(t){let e=t.startState;let n=true;for(let s of e.facet(lt)){let e=s(t);if(e===false){n=false;break}if(Array.isArray(e))n=n===true?e:pt(n,e)}if(n!==true){let i,s;if(n===false){s=t.changes.invertedDesc;i=M.empty(e.doc.length)}else{let e=t.changes.filter(n);i=e.changes;s=e.filtered.mapDesc(e.changes).invertedDesc}t=gt.create(e,i,t.selection&&t.selection.map(s),dt.mapEffects(t.effects,s),t.annotations,t.scrollIntoView)}let i=e.facet(ht);for(let s=i.length-1;s>=0;s--){let n=i[s](t);if(n instanceof gt)t=n;else if(Array.isArray(n)&&n.length==1&&n[0]instanceof gt)t=n[0];else t=vt(e,St(n),false)}return t}function kt(t){let e=t.startState,n=e.facet(ot),i=t;for(let s=n.length-1;s>=0;s--){let r=n[s](t);if(r&&Object.keys(r).length)i=mt(i,wt(e,r,t.changes.newLength),true)}return i==t?t:gt.create(e,t.changes,t.selection,i.effects,i.annotations,i.scrollIntoView)}const yt=[];function St(t){return t==null?yt:Array.isArray(t)?t:[t]}var It=function(t){t[t["Word"]=0]="Word";t[t["Space"]=1]="Space";t[t["Other"]=2]="Other";return t}(It||(It={}));const bt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Pt;try{Pt=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(Kt){}function Et(t){if(Pt)return Pt.test(t);for(let e=0;e<t.length;e++){let n=t[e];if(/\w/.test(n)||n>"€"&&(n.toUpperCase()!=n.toLowerCase()||bt.test(n)))return true}return false}function At(t){return e=>{if(!/\S/.test(e))return It.Space;if(Et(e))return It.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return It.Word;return It.Other}}class Mt{constructor(t,e,n,i,s,r){this.config=t;this.doc=e;this.selection=n;this.values=i;this.status=t.statusTemplate.slice();this.computeSlot=s;if(r)r._state=this;for(let l=0;l<this.config.dynamicSlots.length;l++)et(this,l<<1);this.computeSlot=null}field(t,e=true){let n=this.config.address[t.id];if(n==null){if(e)throw new RangeError("Field is not present in this state");return undefined}et(this,n);return nt(this,n)}update(...t){return vt(this,t,true)}applyTransaction(t){let e=this.config,{base:n,compartments:i}=e;for(let r of t.effects){if(r.is(X.reconfigure)){if(e){i=new Map;e.compartments.forEach(((t,e)=>i.set(e,t)));e=null}i.set(r.value.compartment,r.value.extension)}else if(r.is(dt.reconfigure)){e=null;n=r.value}else if(r.is(dt.appendConfig)){e=null;n=St(n).concat(r.value)}}let s;if(!e){e=Z.resolve(n,i,this);let t=new Mt(e,this.doc,this.selection,e.dynamicSlots.map((()=>null)),((t,e)=>e.reconfigure(t,this)),null);s=t.values}else{s=t.startState.values.slice()}new Mt(e,t.newDoc,t.newSelection,s,((e,n)=>n.update(e,t)),t)}replaceSelection(t){if(typeof t=="string")t=this.toText(t);return this.changeByRange((e=>({changes:{from:e.from,to:e.to,insert:t},range:D.cursor(e.from+t.length)})))}changeByRange(t){let e=this.selection;let n=t(e.ranges[0]);let i=this.changes(n.changes),s=[n.range];let r=St(n.effects);for(let l=1;l<e.ranges.length;l++){let n=t(e.ranges[l]);let h=this.changes(n.changes),o=h.map(i);for(let t=0;t<l;t++)s[t]=s[t].map(o);let a=i.mapDesc(h,true);s.push(n.range.map(a));i=i.compose(o);r=dt.mapEffects(r,o).concat(dt.mapEffects(St(n.effects),a))}return{changes:i,selection:D.create(s,e.mainIndex),effects:r}}changes(t=[]){if(t instanceof M)return t;return M.of(t,this.doc.length,this.facet(Mt.lineSeparator))}toText(t){return i.of(t.split(this.facet(Mt.lineSeparator)||P))}sliceDoc(t=0,e=this.doc.length){return this.doc.sliceString(t,e,this.lineBreak)}facet(t){let e=this.config.address[t.id];if(e==null)return t.default;et(this,e);return nt(this,e)}toJSON(t){let e={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(t)for(let n in t){let i=t[n];if(i instanceof U&&this.config.address[i.id]!=null)e[n]=i.spec.toJSON(this.field(t[n]),this)}return e}static fromJSON(t,e={},n){if(!t||typeof t.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let i=[];if(n)for(let s in n){if(Object.prototype.hasOwnProperty.call(t,s)){let e=n[s],r=t[s];i.push(e.init((t=>e.spec.fromJSON(r,t))))}}return Mt.create({doc:t.doc,selection:D.fromJSON(t.selection),extensions:e.extensions?i.concat([e.extensions]):i})}static create(t={}){let e=Z.resolve(t.extensions||[],new Map);let n=t.doc instanceof i?t.doc:i.of((t.doc||"").split(e.staticFacet(Mt.lineSeparator)||P));let s=!t.selection?D.single(0):t.selection instanceof D?t.selection:D.single(t.selection.anchor,t.selection.head);J(s,n.length);if(!e.staticFacet(st))s=s.asSingle();return new Mt(e,n,s,e.dynamicSlots.map((()=>null)),((t,e)=>e.create(t)),null)}get tabSize(){return this.facet(Mt.tabSize)}get lineBreak(){return this.facet(Mt.lineSeparator)||"\n"}get readOnly(){return this.facet(at)}phrase(t,...e){for(let n of this.facet(Mt.phrases))if(Object.prototype.hasOwnProperty.call(n,t)){t=n[t];break}if(e.length)t=t.replace(/\$(\$|\d*)/g,((t,n)=>{if(n=="$")return"$";let i=+(n||1);return!i||i>e.length?t:e[i-1]}));return t}languageDataAt(t,e,n=-1){let i=[];for(let s of this.facet(it)){for(let r of s(this,e,n)){if(Object.prototype.hasOwnProperty.call(r,t))i.push(r[t])}}return i}charCategorizer(t){return At(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:e,from:n,length:i}=this.doc.lineAt(t);let s=this.charCategorizer(t);let r=t-n,l=t-n;while(r>0){let t=w(e,r,false);if(s(e.slice(t,r))!=It.Word)break;r=t}while(l<i){let t=w(e,l);if(s(e.slice(l,t))!=It.Word)break;l=t}return r==l?null:D.range(r+n,l+n)}}Mt.allowMultipleSelections=st;Mt.tabSize=j.define({combine:t=>t.length?t[0]:4});Mt.lineSeparator=rt;Mt.readOnly=at;Mt.phrases=j.define({compare(t,e){let n=Object.keys(t),i=Object.keys(e);return n.length==i.length&&n.every((n=>t[n]==e[n]))}});Mt.languageData=it;Mt.changeFilter=lt;Mt.transactionFilter=ht;Mt.transactionExtender=ot;X.reconfigure=dt.define();function Ct(t,e,n={}){let i={};for(let s of t)for(let t of Object.keys(s)){let e=s[t],r=i[t];if(r===undefined)i[t]=e;else if(r===e||e===undefined);else if(Object.hasOwnProperty.call(n,t))i[t]=n[t](r,e);else throw new Error("Config merge conflict for field "+t)}for(let s in e)if(i[s]===undefined)i[s]=e[s];return i}class Rt{eq(t){return this==t}range(t,e=t){return Ot.create(t,e,this)}}Rt.prototype.startSide=Rt.prototype.endSide=0;Rt.prototype.point=false;Rt.prototype.mapMode=E.TrackDel;class Ot{constructor(t,e,n){this.from=t;this.to=e;this.value=n}static create(t,e,n){return new Ot(t,e,n)}}function Tt(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class Ft{constructor(t,e,n,i){this.from=t;this.to=e;this.value=n;this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(t,e,n,i=0){let s=n?this.to:this.from;for(let r=i,l=s.length;;){if(r==l)return r;let i=r+l>>1;let h=s[i]-t||(n?this.value[i].endSide:this.value[i].startSide)-e;if(i==r)return h>=0?r:l;if(h>=0)l=i;else r=i+1}}between(t,e,n,i){for(let s=this.findIndex(e,-1e9,true),r=this.findIndex(n,1e9,false,s);s<r;s++)if(i(this.from[s]+t,this.to[s]+t,this.value[s])===false)return false}map(t,e){let n=[],i=[],s=[],r=-1,l=-1;for(let h=0;h<this.value.length;h++){let o=this.value[h],a=this.from[h]+t,f=this.to[h]+t,c,u;if(a==f){let t=e.mapPos(a,o.startSide,o.mapMode);if(t==null)continue;c=u=t;if(o.startSide!=o.endSide){u=e.mapPos(a,o.endSide);if(u<c)continue}}else{c=e.mapPos(a,o.startSide);u=e.mapPos(f,o.endSide);if(c>u||c==u&&o.startSide>0&&o.endSide<=0)continue}if((u-c||o.endSide-o.startSide)<0)continue;if(r<0)r=c;if(o.point)l=Math.max(l,u-c);n.push(o);i.push(c-r);s.push(u-r)}return{mapped:n.length?new Ft(i,s,n,l):null,pos:r}}}class Nt{constructor(t,e,n,i){this.chunkPos=t;this.chunk=e;this.nextLayer=n;this.maxPoint=i}static create(t,e,n,i){return new Nt(t,e,n,i)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let e of this.chunk)t+=e.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:e=[],sort:n=false,filterFrom:i=0,filterTo:s=this.length}=t;let r=t.filter;if(e.length==0&&!r)return this;if(n)e=e.slice().sort(Tt);if(this.isEmpty)return e.length?Nt.of(e):this;let l=new Lt(this,null,-1).goto(0),h=0,o=[];let a=new Dt;while(l.value||h<e.length){if(h<e.length&&(l.from-e[h].from||l.startSide-e[h].value.startSide)>=0){let t=e[h++];if(!a.addInner(t.from,t.to,t.value))o.push(t)}else if(l.rangeIndex==1&&l.chunkIndex<this.chunk.length&&(h==e.length||this.chunkEnd(l.chunkIndex)<e[h].from)&&(!r||i>this.chunkEnd(l.chunkIndex)||s<this.chunkPos[l.chunkIndex])&&a.addChunk(this.chunkPos[l.chunkIndex],this.chunk[l.chunkIndex])){l.nextChunk()}else{if(!r||i>l.to||s<l.from||r(l.from,l.to,l.value)){if(!a.addInner(l.from,l.to,l.value))o.push(Ot.create(l.from,l.to,l.value))}l.next()}}return a.finishInner(this.nextLayer.isEmpty&&!o.length?Nt.empty:this.nextLayer.update({add:o,filter:r,filterFrom:i,filterTo:s}))}map(t){if(t.empty||this.isEmpty)return this;let e=[],n=[],i=-1;for(let r=0;r<this.chunk.length;r++){let s=this.chunkPos[r],l=this.chunk[r];let h=t.touchesRange(s,s+l.length);if(h===false){i=Math.max(i,l.maxPoint);e.push(l);n.push(t.mapPos(s))}else if(h===true){let{mapped:r,pos:h}=l.map(s,t);if(r){i=Math.max(i,r.maxPoint);e.push(r);n.push(h)}}}let s=this.nextLayer.map(t);return e.length==0?s:new Nt(n,e,s||Nt.empty,i)}between(t,e,n){if(this.isEmpty)return;for(let i=0;i<this.chunk.length;i++){let s=this.chunkPos[i],r=this.chunk[i];if(e>=s&&t<=s+r.length&&r.between(s,t-s,e-s,n)===false)return}this.nextLayer.between(t,e,n)}iter(t=0){return jt.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,e=0){return jt.from(t).goto(e)}static compare(t,e,n,i,s=-1){let r=t.filter((t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=s));let l=e.filter((t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=s));let h=Jt(r,l,n);let o=new $t(r,h,s);let a=new $t(l,h,s);n.iterGaps(((t,e,n)=>_t(o,t,a,e,n,i)));if(n.empty&&n.length==0)_t(o,0,a,0,0,i)}static eq(t,e,n=0,i){if(i==null)i=1e9-1;let s=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0));let r=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0));if(s.length!=r.length)return false;if(!s.length)return true;let l=Jt(s,r);let h=new $t(s,l,0).goto(n),o=new $t(r,l,0).goto(n);for(;;){if(h.to!=o.to||!zt(h.active,o.active)||h.point&&(!o.point||!h.point.eq(o.point)))return false;if(h.to>i)return true;h.next();o.next()}}static spans(t,e,n,i,s=-1){let r=new $t(t,null,s).goto(e),l=e;let h=r.openStart;for(;;){let t=Math.min(r.to,n);if(r.point){let n=r.activeForPoint(r.to);let s=r.pointFrom<e?n.length+1:Math.min(n.length,h);i.point(l,t,r.point,n,s,r.pointRank);h=Math.min(r.openEnd(t),n.length)}else if(t>l){i.span(l,t,r.active,h);h=r.openEnd(t)}if(r.to>n)return h+(r.point&&r.to>n?1:0);l=r.to;r.next()}}static of(t,e=false){let n=new Dt;for(let i of t instanceof Ot?[t]:e?Bt(t):t)n.add(i.from,i.to,i.value);return n.finish()}}Nt.empty=new Nt([],[],null,-1);function Bt(t){if(t.length>1)for(let e=t[0],n=1;n<t.length;n++){let i=t[n];if(Tt(e,i)>0)return t.slice().sort(Tt);e=i}return t}Nt.empty.nextLayer=Nt.empty;class Dt{constructor(){this.chunks=[];this.chunkPos=[];this.chunkStart=-1;this.last=null;this.lastFrom=-1e9;this.lastTo=-1e9;this.from=[];this.to=[];this.value=[];this.maxPoint=-1;this.setMaxPoint=-1;this.nextLayer=null}finishChunk(t){this.chunks.push(new Ft(this.from,this.to,this.value,this.maxPoint));this.chunkPos.push(this.chunkStart);this.chunkStart=-1;this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint);this.maxPoint=-1;if(t){this.from=[];this.to=[];this.value=[]}}add(t,e,n){if(!this.addInner(t,e,n))(this.nextLayer||(this.nextLayer=new Dt)).add(t,e,n)}addInner(t,e,n){let i=t-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(t-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");if(i<0)return false;if(this.from.length==250)this.finishChunk(true);if(this.chunkStart<0)this.chunkStart=t;this.from.push(t-this.chunkStart);this.to.push(e-this.chunkStart);this.last=n;this.lastFrom=t;this.lastTo=e;this.value.push(n);if(n.point)this.maxPoint=Math.max(this.maxPoint,e-t);return true}addChunk(t,e){if((t-this.lastTo||e.value[0].startSide-this.last.endSide)<0)return false;if(this.from.length)this.finishChunk(true);this.setMaxPoint=Math.max(this.setMaxPoint,e.maxPoint);this.chunks.push(e);this.chunkPos.push(t);let n=e.value.length-1;this.last=e.value[n];this.lastFrom=e.from[n]+t;this.lastTo=e.to[n]+t;return true}finish(){return this.finishInner(Nt.empty)}finishInner(t){if(this.from.length)this.finishChunk(false);if(this.chunks.length==0)return t;let e=Nt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);this.from=null;return e}}function Jt(t,e,n){let i=new Map;for(let r of t)for(let t=0;t<r.chunk.length;t++)if(r.chunk[t].maxPoint<=0)i.set(r.chunk[t],r.chunkPos[t]);let s=new Set;for(let r of e)for(let t=0;t<r.chunk.length;t++){let e=i.get(r.chunk[t]);if(e!=null&&(n?n.mapPos(e):e)==r.chunkPos[t]&&!(n===null||n===void 0?void 0:n.touchesRange(e,e+r.chunk[t].length)))s.add(r.chunk[t])}return s}class Lt{constructor(t,e,n,i=0){this.layer=t;this.skip=e;this.minPoint=n;this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(t,e=-1e9){this.chunkIndex=this.rangeIndex=0;this.gotoInner(t,e,false);return this}gotoInner(t,e,n){while(this.chunkIndex<this.layer.chunk.length){let e=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(e)||this.layer.chunkEnd(this.chunkIndex)<t||e.maxPoint<this.minPoint))break;this.chunkIndex++;n=false}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(t-this.layer.chunkPos[this.chunkIndex],e,true);if(!n||this.rangeIndex<i)this.setRangeIndex(i)}this.next()}forward(t,e){if((this.to-t||this.endSide-e)<0)this.gotoInner(t,e,true)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9;this.value=null;break}else{let t=this.layer.chunkPos[this.chunkIndex],e=this.layer.chunk[this.chunkIndex];let n=t+e.from[this.rangeIndex];this.from=n;this.to=t+e.to[this.rangeIndex];this.value=e.value[this.rangeIndex];this.setRangeIndex(this.rangeIndex+1);if(this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){this.chunkIndex++;if(this.skip){while(this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]))this.chunkIndex++}this.rangeIndex=0}else{this.rangeIndex=t}}nextChunk(){this.chunkIndex++;this.rangeIndex=0;this.next()}compare(t){return this.from-t.from||this.startSide-t.startSide||this.rank-t.rank||this.to-t.to||this.endSide-t.endSide}}class jt{constructor(t){this.heap=t}static from(t,e=null,n=-1){let i=[];for(let s=0;s<t.length;s++){for(let r=t[s];!r.isEmpty;r=r.nextLayer){if(r.maxPoint>=n)i.push(new Lt(r,e,n,s))}}return i.length==1?i[0]:new jt(i)}get startSide(){return this.value?this.value.startSide:0}goto(t,e=-1e9){for(let n of this.heap)n.goto(t,e);for(let n=this.heap.length>>1;n>=0;n--)qt(this.heap,n);this.next();return this}forward(t,e){for(let n of this.heap)n.forward(t,e);for(let n=this.heap.length>>1;n>=0;n--)qt(this.heap,n);if((this.to-t||this.value.endSide-e)<0)this.next()}next(){if(this.heap.length==0){this.from=this.to=1e9;this.value=null;this.rank=-1}else{let t=this.heap[0];this.from=t.from;this.to=t.to;this.value=t.value;this.rank=t.rank;if(t.value)t.next();qt(this.heap,0)}}}function qt(t,e){for(let n=t[e];;){let i=(e<<1)+1;if(i>=t.length)break;let s=t[i];if(i+1<t.length&&s.compare(t[i+1])>=0){s=t[i+1];i++}if(n.compare(s)<0)break;t[i]=n;t[e]=s;e=i}}class $t{constructor(t,e,n){this.minPoint=n;this.active=[];this.activeTo=[];this.activeRank=[];this.minActive=-1;this.point=null;this.pointFrom=0;this.pointRank=0;this.to=-1e9;this.endSide=0;this.openStart=-1;this.cursor=jt.from(t,e,n)}goto(t,e=-1e9){this.cursor.goto(t,e);this.active.length=this.activeTo.length=this.activeRank.length=0;this.minActive=-1;this.to=t;this.endSide=e;this.openStart=-1;this.next();return this}forward(t,e){while(this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-e)<0)this.removeActive(this.minActive);this.cursor.forward(t,e)}removeActive(t){Vt(this.active,t);Vt(this.activeTo,t);Vt(this.activeRank,t);this.minActive=Ut(this.active,this.activeTo)}addActive(t){let e=0,{value:n,to:i,rank:s}=this.cursor;while(e<this.activeRank.length&&this.activeRank[e]<=s)e++;Wt(this.active,e,n);Wt(this.activeTo,e,i);Wt(this.activeRank,e,s);if(t)Wt(t,e,this.cursor.from);this.minActive=Ut(this.active,this.activeTo)}next(){let t=this.to,e=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>t){this.to=this.activeTo[i];this.endSide=this.active[i].endSide;break}this.removeActive(i);if(n)Vt(n,i)}else if(!this.cursor.value){this.to=this.endSide=1e9;break}else if(this.cursor.from>t){this.to=this.cursor.from;this.endSide=this.cursor.startSide;break}else{let t=this.cursor.value;if(!t.point){this.addActive(n);this.cursor.next()}else if(e&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to){this.cursor.next()}else{this.point=t;this.pointFrom=this.cursor.from;this.pointRank=this.cursor.rank;this.to=this.cursor.to;this.endSide=t.endSide;this.cursor.next();this.forward(this.to,this.endSide);break}}}if(n){this.openStart=0;for(let e=n.length-1;e>=0&&n[e]<t;e--)this.openStart++}}activeForPoint(t){if(!this.active.length)return this.active;let e=[];for(let n=this.active.length-1;n>=0;n--){if(this.activeRank[n]<this.pointRank)break;if(this.activeTo[n]>t||this.activeTo[n]==t&&this.active[n].endSide>=this.point.endSide)e.push(this.active[n])}return e.reverse()}openEnd(t){let e=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>t;n--)e++;return e}}function _t(t,e,n,i,s,r){t.goto(e);n.goto(i);let l=i+s;let h=i,o=i-e;for(;;){let e=t.to+o-n.to||t.endSide-n.endSide;let i=e<0?t.to+o:n.to,s=Math.min(i,l);if(t.point||n.point){if(!(t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&zt(t.activeForPoint(t.to+o),n.activeForPoint(n.to))))r.comparePoint(h,s,t.point,n.point)}else{if(s>h&&!zt(t.active,n.active))r.compareRange(h,s,t.active,n.active)}if(i>l)break;h=i;if(e<=0)t.next();if(e>=0)n.next()}}function zt(t,e){if(t.length!=e.length)return false;for(let n=0;n<t.length;n++)if(t[n]!=e[n]&&!t[n].eq(e[n]))return false;return true}function Vt(t,e){for(let n=e,i=t.length-1;n<i;n++)t[n]=t[n+1];t.pop()}function Wt(t,e,n){for(let i=t.length-1;i>=e;i--)t[i+1]=t[i];t[e]=n}function Ut(t,e){let n=-1,i=1e9;for(let s=0;s<e.length;s++)if((e[s]-i||t[s].endSide-t[n].endSide)<0){n=s;i=e[s]}return n}function Gt(t,e,n=t.length){let i=0;for(let s=0;s<n;){if(t.charCodeAt(s)==9){i+=e-i%e;s++}else{i++;s=w(t,s)}}return i}function Ht(t,e,n,i){for(let s=0,r=0;;){if(r>=e)return s;if(s==t.length)break;r+=t.charCodeAt(s)==9?n-r%n:1;s=w(t,s)}return i===true?-1:t.length}}}]);