jupyterlab 4.1.8__py3-none-any.whl → 4.2.0__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 (611) hide show
  1. jupyterlab/_version.py +1 -1
  2. jupyterlab/browser_check.py +1 -0
  3. jupyterlab/commands.py +18 -10
  4. jupyterlab/debuglog.py +1 -3
  5. jupyterlab/federated_labextensions.py +0 -1
  6. jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +112 -99
  7. jupyterlab/galata/@jupyterlab/galata-extension/package.json +11 -11
  8. jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.5bacc8fe82898b9371ce.js → remoteEntry.0e04e856e91be0073cdd.js} +3 -3
  9. jupyterlab/galata/__init__.py +3 -1
  10. jupyterlab/labapp.py +1 -1
  11. jupyterlab/labextensions.py +9 -0
  12. jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +12 -14
  13. jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +16 -18
  14. jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
  15. jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
  16. jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +16 -15
  17. jupyterlab/schemas/@jupyterlab/codemirror-extension/plugin.json +27 -0
  18. jupyterlab/schemas/@jupyterlab/completer-extension/inline-completer.json +6 -3
  19. jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -9
  20. jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +14 -16
  21. jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +12 -14
  22. jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -19
  23. jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +14 -15
  24. jupyterlab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
  25. jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +8 -8
  26. jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -9
  27. jupyterlab/schemas/@jupyterlab/filebrowser-extension/browser.json +4 -4
  28. jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +15 -17
  29. jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +27 -29
  30. jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +9 -11
  31. jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
  32. jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
  33. jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -8
  34. jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +10 -12
  35. jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +8 -10
  36. jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +11 -11
  37. jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
  38. jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +13 -12
  39. jupyterlab/schemas/@jupyterlab/mainmenu-extension/plugin.json +10 -0
  40. jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -11
  41. jupyterlab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -4
  42. jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
  43. jupyterlab/schemas/@jupyterlab/notebook-extension/export.json +1 -1
  44. jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +33 -35
  45. jupyterlab/schemas/@jupyterlab/notebook-extension/tracker.json +1 -1
  46. jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +15 -13
  47. jupyterlab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
  48. jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -13
  49. jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +8 -10
  50. jupyterlab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +31 -1
  51. jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -8
  52. jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +12 -14
  53. jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -8
  54. jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +12 -14
  55. jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
  56. jupyterlab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
  57. jupyterlab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
  58. jupyterlab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
  59. jupyterlab/semver.py +3 -3
  60. jupyterlab/staging/package.json +160 -153
  61. jupyterlab/staging/webpack.config.js +1 -1
  62. jupyterlab/staging/yarn.lock +1600 -1746
  63. jupyterlab/static/1036.4adf7509135ea39ecb91.js +2 -0
  64. jupyterlab/static/1166.08f9e1fd722f61c9b69c.js +1 -0
  65. jupyterlab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
  66. jupyterlab/static/1610.5f9622f4a515447f78fe.js +2 -0
  67. jupyterlab/static/1610.5f9622f4a515447f78fe.js.LICENSE.txt +4 -0
  68. jupyterlab/static/2091.0ad2070604beb93b34c5.js +1 -0
  69. jupyterlab/static/2102.ff1893c4bd1104a1f57d.js +1 -0
  70. jupyterlab/static/2104.96885e414ee656615c2b.js +1 -0
  71. jupyterlab/static/{7517.f3e5d420f4af90d442dd.js → 2584.e4b860ab848de94978cf.js} +1 -1
  72. jupyterlab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
  73. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/8625.a7308ba1283f47df16a1.js → jupyterlab/static/2929.b88233153dbf33f40b29.js +1 -1
  74. jupyterlab/static/2995.334184c36a45c82ad564.js +1 -0
  75. jupyterlab/static/{3056.8a73f6aacd8ca45f84f9.js → 3056.2c8f5c81b8ad8062906a.js} +1 -1
  76. jupyterlab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
  77. jupyterlab/static/3783.36bf783a511cc87997c0.js +1 -0
  78. jupyterlab/static/4043.c57e85faf640ba37b87c.js +1 -0
  79. jupyterlab/static/4136.aba58697fed7e4cded7c.js +2 -0
  80. jupyterlab/static/4244.3d69bbe0937f69ca1f80.js +1 -0
  81. jupyterlab/static/4405.196dd63db3761b4bb7fe.js +1 -0
  82. jupyterlab/static/4457.0add5dec58939a80e2c3.js +1 -0
  83. jupyterlab/static/4503.5f41fcfefb7e83b6190e.js +4782 -0
  84. jupyterlab/static/{49.7233f68f95d10b85a83e.js → 49.43ad810fe0adbd6be564.js} +1 -1
  85. jupyterlab/static/4912.4371d46fb589b52e231b.js +1465 -0
  86. jupyterlab/static/4986.c819184e09e1e15ef06b.js +1 -0
  87. jupyterlab/static/5083.4926253681abafa806f9.js +1 -0
  88. jupyterlab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
  89. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6001.963601fcecb8b4c1d1f1.js → jupyterlab/static/6001.fd42cb874026fb9730e8.js +1 -1
  90. jupyterlab/static/6177.a4ddefac453fccec8424.js +1 -0
  91. jupyterlab/static/6436.8d9ba427de4ab1053871.js +1 -0
  92. jupyterlab/static/6515.1abddf12ebb7ad96c791.js +1 -0
  93. jupyterlab/static/{1464.4b120a718f613189bd64.js → 6527.34b14b195521fc6cb65c.js} +1 -1
  94. jupyterlab/static/6532.598324868e83c4cbe4e4.js +1 -0
  95. jupyterlab/static/6888.f71353e198bce9c2f409.js +1 -0
  96. jupyterlab/static/{7178.5f3dd740449b44efad2d.js → 7178.373c24769ba5912c2eea.js} +2 -2
  97. jupyterlab/static/{7318.397bf8e913e825b2be27.js → 7318.f5a0db6dd94488328be5.js} +1 -1
  98. jupyterlab/static/7823.f3c8154418bc214dc89a.js +1 -0
  99. jupyterlab/static/795.c780bf11bb08527e3c84.js +1 -0
  100. jupyterlab/static/812.6dd8f4cea8383e031515.js +1 -0
  101. jupyterlab/static/8267.01bec3949b651535e6f5.js +1 -0
  102. jupyterlab/static/8771.ac4c870ed77005ec8e34.js +1 -0
  103. jupyterlab/static/9.82c3bf54739d037b7bd1.js +1 -0
  104. jupyterlab/static/9030.61b135ed4411056792ab.js +1 -0
  105. jupyterlab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
  106. jupyterlab/static/942.68bd92fc10c9f9d7004f.js +1 -0
  107. jupyterlab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
  108. jupyterlab/static/{9826.38c59b84e02def79216e.js → 9826.406d2a71dc45995bc549.js} +2 -2
  109. jupyterlab/static/build_log.json +161 -107
  110. jupyterlab/static/index.html +1 -1
  111. jupyterlab/static/index.out.js +22 -0
  112. jupyterlab/static/jlab_core.b207cc5f30e679038452.js +1 -0
  113. jupyterlab/static/main.42d188fdc03ddbb28b9a.js +1 -0
  114. jupyterlab/static/package.json +160 -153
  115. jupyterlab/static/style.js +1 -0
  116. jupyterlab/static/third-party-licenses.json +183 -177
  117. jupyterlab/style.js +1 -0
  118. jupyterlab/tests/mock_packages/extension/package.json +3 -3
  119. jupyterlab/tests/mock_packages/interop/consumer/package.json +3 -3
  120. jupyterlab/tests/mock_packages/interop/provider/package.json +3 -3
  121. jupyterlab/tests/mock_packages/interop/token/package.json +1 -1
  122. jupyterlab/tests/mock_packages/mimeextension/package.json +1 -1
  123. jupyterlab/tests/mock_packages/test-hyphens-underscore/package.json +2 -2
  124. jupyterlab/tests/mock_packages/test-hyphens-underscore/pyproject.toml +1 -1
  125. jupyterlab/tests/mock_packages/test-hyphens-underscore/yarn.lock +2803 -0
  126. jupyterlab/tests/mock_packages/test_no_hyphens/package.json +2 -2
  127. jupyterlab/tests/mock_packages/test_no_hyphens/pyproject.toml +1 -1
  128. jupyterlab/tests/mock_packages/test_no_hyphens/yarn.lock +2803 -0
  129. jupyterlab/tests/test_build_api.py +1 -0
  130. jupyterlab/themes/@jupyterlab/theme-dark-extension/index.css +84 -84
  131. jupyterlab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.css +466 -0
  132. jupyterlab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.js +0 -0
  133. jupyterlab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
  134. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +12 -14
  135. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +16 -18
  136. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
  137. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
  138. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +16 -15
  139. jupyterlab-4.2.0.data/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +42 -0
  140. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/inline-completer.json +6 -3
  141. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -9
  142. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +14 -16
  143. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +12 -14
  144. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -19
  145. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +14 -15
  146. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
  147. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +8 -8
  148. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -9
  149. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +4 -4
  150. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +15 -17
  151. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +27 -29
  152. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +9 -11
  153. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
  154. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
  155. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -8
  156. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +10 -12
  157. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +8 -10
  158. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +11 -11
  159. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
  160. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +13 -12
  161. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +10 -0
  162. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -11
  163. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -4
  164. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
  165. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +1 -1
  166. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +33 -35
  167. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +1 -1
  168. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +15 -13
  169. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
  170. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -13
  171. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +8 -10
  172. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +31 -1
  173. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -8
  174. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +12 -14
  175. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -8
  176. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +12 -14
  177. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
  178. jupyterlab-4.2.0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
  179. jupyterlab-4.2.0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
  180. jupyterlab-4.2.0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
  181. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1036.4adf7509135ea39ecb91.js +2 -0
  182. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1166.08f9e1fd722f61c9b69c.js +1 -0
  183. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
  184. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1610.5f9622f4a515447f78fe.js +2 -0
  185. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1610.5f9622f4a515447f78fe.js.LICENSE.txt +4 -0
  186. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2091.0ad2070604beb93b34c5.js +1 -0
  187. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2102.ff1893c4bd1104a1f57d.js +1 -0
  188. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2104.96885e414ee656615c2b.js +1 -0
  189. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7517.f3e5d420f4af90d442dd.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2584.e4b860ab848de94978cf.js +1 -1
  190. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
  191. jupyterlab/static/8625.a7308ba1283f47df16a1.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2929.b88233153dbf33f40b29.js +1 -1
  192. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2995.334184c36a45c82ad564.js +1 -0
  193. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/3056.8a73f6aacd8ca45f84f9.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/3056.2c8f5c81b8ad8062906a.js +1 -1
  194. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
  195. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/3783.36bf783a511cc87997c0.js +1 -0
  196. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4043.c57e85faf640ba37b87c.js +1 -0
  197. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4136.aba58697fed7e4cded7c.js +2 -0
  198. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4244.3d69bbe0937f69ca1f80.js +1 -0
  199. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4405.196dd63db3761b4bb7fe.js +1 -0
  200. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4457.0add5dec58939a80e2c3.js +1 -0
  201. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4503.5f41fcfefb7e83b6190e.js +4782 -0
  202. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/49.7233f68f95d10b85a83e.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/49.43ad810fe0adbd6be564.js +1 -1
  203. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4912.4371d46fb589b52e231b.js +1465 -0
  204. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4986.c819184e09e1e15ef06b.js +1 -0
  205. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/5083.4926253681abafa806f9.js +1 -0
  206. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
  207. jupyterlab/static/6001.963601fcecb8b4c1d1f1.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6001.fd42cb874026fb9730e8.js +1 -1
  208. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6177.a4ddefac453fccec8424.js +1 -0
  209. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6436.8d9ba427de4ab1053871.js +1 -0
  210. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6515.1abddf12ebb7ad96c791.js +1 -0
  211. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1464.4b120a718f613189bd64.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6527.34b14b195521fc6cb65c.js +1 -1
  212. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6532.598324868e83c4cbe4e4.js +1 -0
  213. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6888.f71353e198bce9c2f409.js +1 -0
  214. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/7178.373c24769ba5912c2eea.js +2 -2
  215. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7318.397bf8e913e825b2be27.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/7318.f5a0db6dd94488328be5.js +1 -1
  216. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/7823.f3c8154418bc214dc89a.js +1 -0
  217. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/795.c780bf11bb08527e3c84.js +1 -0
  218. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/812.6dd8f4cea8383e031515.js +1 -0
  219. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/8267.01bec3949b651535e6f5.js +1 -0
  220. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/8771.ac4c870ed77005ec8e34.js +1 -0
  221. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9.82c3bf54739d037b7bd1.js +1 -0
  222. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9030.61b135ed4411056792ab.js +1 -0
  223. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
  224. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/942.68bd92fc10c9f9d7004f.js +1 -0
  225. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
  226. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9826.38c59b84e02def79216e.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js +2 -2
  227. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/build_log.json +161 -107
  228. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/index.html +1 -1
  229. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/index.out.js +22 -0
  230. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/jlab_core.b207cc5f30e679038452.js +1 -0
  231. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/main.42d188fdc03ddbb28b9a.js +1 -0
  232. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/package.json +357 -0
  233. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/style.js +1 -0
  234. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/third-party-licenses.json +183 -177
  235. jupyterlab-4.2.0.data/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +466 -0
  236. {jupyterlab-4.1.8.data/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension → jupyterlab-4.2.0.data/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension}/index.css +29 -29
  237. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
  238. jupyterlab-4.2.0.data/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
  239. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/METADATA +21 -17
  240. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/RECORD +531 -521
  241. jupyterlab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
  242. jupyterlab/static/1036.0d1f109c3d842497fd51.js +0 -2
  243. jupyterlab/static/1166.8ac24b1cdbba2a335fac.js +0 -1
  244. jupyterlab/static/1410.e2302ff5f564d6e596bb.js +0 -1
  245. jupyterlab/static/2091.600b1c32af186f6405f9.js +0 -1
  246. jupyterlab/static/2104.296346db0067b4883fbf.js +0 -1
  247. jupyterlab/static/2320.04abae549b19363c2fdd.js +0 -1
  248. jupyterlab/static/2617.9c299e26785f7646cb39.js +0 -1
  249. jupyterlab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
  250. jupyterlab/static/292.3f7844a129f16ec1ffbc.js +0 -1
  251. jupyterlab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
  252. jupyterlab/static/3547.bd90e90bfe79911486e8.js +0 -1
  253. jupyterlab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
  254. jupyterlab/static/4043.aa012978c41d1d1b2f14.js +0 -1
  255. jupyterlab/static/4136.4b9f72f85f49f979ebb8.js +0 -2
  256. jupyterlab/static/4405.43dab120fea32f30bbb9.js +0 -1
  257. jupyterlab/static/4986.a497cdda4b7152902568.js +0 -1
  258. jupyterlab/static/5201.8866042bae350659528a.js +0 -1
  259. jupyterlab/static/627.7e292370f4d61d9e8648.js +0 -5148
  260. jupyterlab/static/6436.af125ed24ec50754c661.js +0 -1
  261. jupyterlab/static/6515.56c63929fb079a820cbc.js +0 -1
  262. jupyterlab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
  263. jupyterlab/static/6888.9d3914817f3290827a64.js +0 -1
  264. jupyterlab/static/7511.b381a696cf806983c654.js +0 -1
  265. jupyterlab/static/7823.817687f13e9a6781fdd3.js +0 -1
  266. jupyterlab/static/795.47ab66037ef33f808f09.js +0 -1
  267. jupyterlab/static/812.c8640af87f151ae89752.js +0 -1
  268. jupyterlab/static/8771.327a202178f82f3b15b8.js +0 -1
  269. jupyterlab/static/9.0e0cba0ccc2a4b670600.js +0 -1
  270. jupyterlab/static/9030.260bc05e28eccff70ae8.js +0 -1
  271. jupyterlab/static/9041.df39043656c7233552e4.js +0 -1
  272. jupyterlab/static/942.93c8de61ea9ea08ec097.js +0 -1
  273. jupyterlab/static/9421.022dc7b4e9a2c80c32c2.js +0 -1
  274. jupyterlab/static/9579.4b1b079b6b7cd2924338.js +0 -1465
  275. jupyterlab/static/9579.4b1b079b6b7cd2924338.js.LICENSE.txt +0 -19
  276. jupyterlab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
  277. jupyterlab/static/9870.70b2b59cc96c3a97c489.js +0 -1
  278. jupyterlab/static/jlab_core.b91074b1e57242ddcd31.js +0 -1
  279. jupyterlab/static/main.c8fa35da61e4a90aae4e.js +0 -1
  280. jupyterlab-4.1.8.data/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
  281. jupyterlab-4.1.8.data/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -15
  282. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1036.0d1f109c3d842497fd51.js +0 -2
  283. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1166.8ac24b1cdbba2a335fac.js +0 -1
  284. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1410.e2302ff5f564d6e596bb.js +0 -1
  285. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2091.600b1c32af186f6405f9.js +0 -1
  286. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2104.296346db0067b4883fbf.js +0 -1
  287. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2320.04abae549b19363c2fdd.js +0 -1
  288. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2617.9c299e26785f7646cb39.js +0 -1
  289. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
  290. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/292.3f7844a129f16ec1ffbc.js +0 -1
  291. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
  292. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/3547.bd90e90bfe79911486e8.js +0 -1
  293. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
  294. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4043.aa012978c41d1d1b2f14.js +0 -1
  295. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js +0 -2
  296. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4405.43dab120fea32f30bbb9.js +0 -1
  297. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4986.a497cdda4b7152902568.js +0 -1
  298. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/5201.8866042bae350659528a.js +0 -1
  299. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js +0 -5148
  300. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6436.af125ed24ec50754c661.js +0 -1
  301. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6515.56c63929fb079a820cbc.js +0 -1
  302. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
  303. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6888.9d3914817f3290827a64.js +0 -1
  304. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7511.b381a696cf806983c654.js +0 -1
  305. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7823.817687f13e9a6781fdd3.js +0 -1
  306. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/795.47ab66037ef33f808f09.js +0 -1
  307. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/812.c8640af87f151ae89752.js +0 -1
  308. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/8771.327a202178f82f3b15b8.js +0 -1
  309. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9.0e0cba0ccc2a4b670600.js +0 -1
  310. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9030.260bc05e28eccff70ae8.js +0 -1
  311. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9041.df39043656c7233552e4.js +0 -1
  312. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/942.93c8de61ea9ea08ec097.js +0 -1
  313. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9421.022dc7b4e9a2c80c32c2.js +0 -1
  314. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js +0 -1465
  315. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js.LICENSE.txt +0 -19
  316. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
  317. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9870.70b2b59cc96c3a97c489.js +0 -1
  318. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/jlab_core.b91074b1e57242ddcd31.js +0 -1
  319. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/main.c8fa35da61e4a90aae4e.js +0 -1
  320. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/package.json +0 -350
  321. /jupyterlab/static/{1036.0d1f109c3d842497fd51.js.LICENSE.txt → 1036.4adf7509135ea39ecb91.js.LICENSE.txt} +0 -0
  322. /jupyterlab/static/{4136.4b9f72f85f49f979ebb8.js.LICENSE.txt → 4136.aba58697fed7e4cded7c.js.LICENSE.txt} +0 -0
  323. /jupyterlab/static/{627.7e292370f4d61d9e8648.js.LICENSE.txt → 4912.4371d46fb589b52e231b.js.LICENSE.txt} +0 -0
  324. /jupyterlab/static/{7178.5f3dd740449b44efad2d.js.LICENSE.txt → 7178.373c24769ba5912c2eea.js.LICENSE.txt} +0 -0
  325. /jupyterlab/static/{9826.38c59b84e02def79216e.js.LICENSE.txt → 9826.406d2a71dc45995bc549.js.LICENSE.txt} +0 -0
  326. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
  327. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
  328. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/applications/jupyterlab.desktop +0 -0
  329. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/icons/hicolor/scalable/apps/jupyterlab.svg +0 -0
  330. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
  331. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
  332. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
  333. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
  334. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
  335. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
  336. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
  337. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
  338. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +0 -0
  339. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
  340. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/utilityCommands.json +0 -0
  341. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
  342. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +0 -0
  343. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
  344. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
  345. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
  346. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +0 -0
  347. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
  348. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
  349. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
  350. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
  351. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
  352. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
  353. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
  354. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
  355. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
  356. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
  357. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
  358. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
  359. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
  360. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
  361. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
  362. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
  363. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
  364. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
  365. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
  366. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
  367. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
  368. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
  369. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
  370. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
  371. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
  372. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +0 -0
  373. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
  374. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
  375. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +0 -0
  376. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +0 -0
  377. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
  378. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
  379. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
  380. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
  381. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
  382. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
  383. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
  384. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
  385. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
  386. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1036.0d1f109c3d842497fd51.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1036.4adf7509135ea39ecb91.js.LICENSE.txt +0 -0
  387. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1085.0b67f0736d85ec41fdd4.js +0 -0
  388. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1142.d5442a459b18907c1f91.js +0 -0
  389. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1168.0a95b9c93afe61ceb527.js +0 -0
  390. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1294.9d27be1098bc8abebe3f.js +0 -0
  391. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1420.e8486ed074346bc629ca.js +0 -0
  392. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1448.c391061d8a8344f9d177.js +0 -0
  393. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1452.4cc17f31511d1f9c6052.js +0 -0
  394. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1467.dcd89539f6477c1367af.js +0 -0
  395. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1550.09375e869bc25429b07a.js +0 -0
  396. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js +0 -0
  397. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js.LICENSE.txt +0 -0
  398. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1608.61240f3db67d3d952790.js +0 -0
  399. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1716.a6bbe1ae8a1986a73623.js +0 -0
  400. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1760.9a71f4501e9bbaa4c4d8.js +0 -0
  401. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1776.4f9305d35480467b23c9.js +0 -0
  402. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1861.4fc7b4afe2b09eb6b5c0.js +0 -0
  403. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1903.3b452e8ec30e57dbaba5.js +0 -0
  404. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1917.05d73322caab1f77e3bf.js +0 -0
  405. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1929.96e62233aa6f2a8363d4.js +0 -0
  406. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1945.0fbbfe93a4aedd91875c.js +0 -0
  407. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1954.07d96e4020ed6e543d25.js +0 -0
  408. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1993.f8c5682f95ffa75cbaf6.js +0 -0
  409. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1cb1c39ea642f26a4dfe.woff +0 -0
  410. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2039.aa079dac5c520f93b234.js +0 -0
  411. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2090.abc86741318f76c3d726.js +0 -0
  412. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2145.be9ec610f29703694fcf.js +0 -0
  413. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2254.55c69210925ec9b28dd9.js +0 -0
  414. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/226.5dc3528c008170b37b21.js +0 -0
  415. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2295.cda0f7182bf2a1a03c5a.js +0 -0
  416. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2363.6eef078cb37c32d7fbc3.js +0 -0
  417. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2459.9f9cb02561de1bec73ff.js +0 -0
  418. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2485.dab750ed66209df61fe1.js +0 -0
  419. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2551.b07d561a12360c38c589.js +0 -0
  420. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2579.b19edefeb9ee4daed4bd.js +0 -0
  421. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2646.0864fb63d7ab1ed16893.js +0 -0
  422. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2655.71a94960aa4ab2040d8f.js +0 -0
  423. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/26683bf201fb258a2237.woff +0 -0
  424. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2727.6925b8cf1c5363f40138.js +0 -0
  425. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2755.696bab6bdca0d9a78131.js +0 -0
  426. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2857.27a6e85f5c4c092ab8a2.js +0 -0
  427. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2909.e190307f7f84c7691068.js +0 -0
  428. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2953.92ff8f12bad6ee06859c.js +0 -0
  429. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2990.ea15322a41d3f133989b.js +0 -0
  430. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/30e889b58cbc51adfbb0.woff +0 -0
  431. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3123.85cea4be2e2ed3f9654f.js +0 -0
  432. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/32792104b5ef69eded90.woff +0 -0
  433. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3306.8bdc49ad1a7ca593a838.js +0 -0
  434. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3308.764d71af7e591cdb1345.js +0 -0
  435. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3520.3495b98946de6960ace8.js +0 -0
  436. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3528.3b5ef5f31d460b5fcd01.js +0 -0
  437. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3549.24f2fe646d8128bc9db0.js +0 -0
  438. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/355254db9ca10a09a3b5.woff +0 -0
  439. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3601.5c17c015d71b69ddcab3.js +0 -0
  440. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/36e0d72d8a7afc696a3e.woff +0 -0
  441. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3711.150292a21fd47be1c05f.js +0 -0
  442. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3724.a4657dc16be2ffc49282.js +0 -0
  443. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
  444. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/378.6d0f0fc4c8a2eb80ac43.js +0 -0
  445. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3807.08a8fd824036c30b3746.js +0 -0
  446. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/383.db345dbeef5ef774e50c.js +0 -0
  447. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3871.ba96e5b53bb16df56618.js +0 -0
  448. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3923.f29c06abdcb560130471.js +0 -0
  449. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js +0 -0
  450. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js.LICENSE.txt +0 -0
  451. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3962.50786e3ed9a01329a4a0.js +0 -0
  452. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
  453. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3de784d07b9fa8f104c1.woff +0 -0
  454. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
  455. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js +0 -0
  456. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js.LICENSE.txt +0 -0
  457. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4017.096a74a538e031b6d346.js +0 -0
  458. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/406.81906f96059e31e907a2.js +0 -0
  459. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4086.3087c0abed5ca45b823b.js +0 -0
  460. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4136.aba58697fed7e4cded7c.js.LICENSE.txt +0 -0
  461. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4139.303ee7374c742287be85.js +0 -0
  462. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4155.5a8d6736017097028d78.js +0 -0
  463. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4283.f6092d8b7f2e53118d1b.js +0 -0
  464. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4291.e5d8997127541f75fdaf.js +0 -0
  465. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4419.93938494f456cd76a7e3.js +0 -0
  466. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4452.2f8819684b96ecff5231.js +0 -0
  467. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4519.6b784d052db42e93eff2.js +0 -0
  468. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4562.72444a09f5f092646490.js +0 -0
  469. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4591.428531724f49fe824ffa.js +0 -0
  470. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/46.fb119c5e5b1e0c72a00f.js +0 -0
  471. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4743.d4e9658ea25301e15a94.js +0 -0
  472. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4765.093b4f8b3cee1251db8d.js +0 -0
  473. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/481e39042508ae313a60.woff +0 -0
  474. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4878.73004381601237a3ef9c.js +0 -0
  475. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4912.4371d46fb589b52e231b.js.LICENSE.txt +0 -0
  476. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5041.cdc120bda0a0dec4cfc2.js +0 -0
  477. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5157.9c77dc27a251d4135876.js +0 -0
  478. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5203.c002d40ac647dc6e1d61.js +0 -0
  479. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/526.601d8ddd8347cd7790b9.js +0 -0
  480. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5331.0cd3f010bb08983ec3fd.js +0 -0
  481. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5440.2541fcda12b661665148.js +0 -0
  482. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5521.ce4a0274596e0325374c.js +0 -0
  483. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5746.e4434ef2027bcc5ed0c9.js +0 -0
  484. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5794.3cb2bcd1a3e23d0c084e.js +0 -0
  485. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/581.2b878ed37172aced15b5.js +0 -0
  486. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5881.3946238aa4afdcf4f964.js +0 -0
  487. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5959.a6b1fd3b03d3649ea8b1.js +0 -0
  488. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5cda41563a095bd70c78.woff +0 -0
  489. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6059.d83e7323b2ee1aa16009.js +0 -0
  490. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6163.f5b51a9f0df4846ba40f.js +0 -0
  491. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6207.a8079c8d8a61039dd530.js +0 -0
  492. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6243.2efd673d1304c43b7b78.js +0 -0
  493. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6267.1def2916929e185ab9fc.js +0 -0
  494. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6359.4b994bfd6b1dea2d6fe3.js +0 -0
  495. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6443.e6b52d3732b3e8513a71.js +0 -0
  496. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6560.f42276a0b1b92aea515b.js +0 -0
  497. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6595.6a1d7e1abbf186dd119b.js +0 -0
  498. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6686.3c518aa6e5f9785fb486.js +0 -0
  499. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6770.fd7084bb2f4b7622401d.js +0 -0
  500. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6778.345e6ac9818e30317310.js +0 -0
  501. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6815.0b699f0c162a24b0dbe3.js +0 -0
  502. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6898.742a7062fa979fb68a80.js +0 -0
  503. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7080.1330328bb6f46b4da81e.js +0 -0
  504. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7112.d5120c85ebd17620dda0.js +0 -0
  505. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7161.353c3ab960df72e6f1ea.js +0 -0
  506. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7173.e28f63dbd553818e07d3.js +0 -0
  507. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/7178.373c24769ba5912c2eea.js.LICENSE.txt +0 -0
  508. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/721921bab0d001ebff02.woff +0 -0
  509. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7245.c0cae8787dcd00b991b7.js +0 -0
  510. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7272.72081c10e0f645b0631a.js +0 -0
  511. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js +0 -0
  512. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js.LICENSE.txt +0 -0
  513. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/72bc573386dd1d48c5bb.woff +0 -0
  514. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js +0 -0
  515. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt +0 -0
  516. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7317.af8a7da0f881a22752c1.js +0 -0
  517. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7363.abe8e31a91e113753bae.js +0 -0
  518. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7384.60351e008d8f687e8fcc.js +0 -0
  519. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7390.8253478b90f756692702.js +0 -0
  520. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js +0 -0
  521. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js.LICENSE.txt +0 -0
  522. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/745.85516a9bb83bcd94d00d.js +0 -0
  523. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js +0 -0
  524. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js.LICENSE.txt +0 -0
  525. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7472.58ba8647a489d019c2ef.js +0 -0
  526. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7473.5012397d10d3b945ecaa.js +0 -0
  527. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7508.b902347f820c70cd386a.js +0 -0
  528. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7629.1f295461ebf56a48c197.js +0 -0
  529. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7669.343e259c4c8269479f5b.js +0 -0
  530. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7702.c479c69f7a532f7b3fd5.js +0 -0
  531. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7730.7e3a9fb140d2d55a51fc.js +0 -0
  532. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7731.26db150e967313b7a7e2.js +0 -0
  533. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7734.b08c15e9f538f44d0f52.js +0 -0
  534. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js +0 -0
  535. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js.LICENSE.txt +0 -0
  536. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7775.3e0dee729369fe3d5008.js +0 -0
  537. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7827.e36d073d947bf02a05e3.js +0 -0
  538. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7848.e83aa4b90ae87209abb8.js +0 -0
  539. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/786.8a99ee7dbd7bd0eb9dce.js +0 -0
  540. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7877.a4c46a784149533b91d4.js +0 -0
  541. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7887.128a155df5d25e88c0ce.js +0 -0
  542. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7946.7fe46d47492e459b7cb5.js +0 -0
  543. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
  544. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8002.25f64485372af5158c83.js +0 -0
  545. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8010.1cf8237e9def8404f355.js +0 -0
  546. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8012.40cb006f0c180ebafa91.js +0 -0
  547. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8152.5baac73844a065f34284.js +0 -0
  548. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8285.1eac7b7582569be1c3a8.js +0 -0
  549. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8302.5c5e5a2da7fe74b12a1d.js +0 -0
  550. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8319.80fcbc832e1eb20b71e7.js +0 -0
  551. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8322.288af285dac9cb9a8800.js +0 -0
  552. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8347.573b699e3590729bfa8a.js +0 -0
  553. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8405.154ba4b17a2dec22a355.js +0 -0
  554. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8462.74d5f5afd4f9d7825eed.js +0 -0
  555. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8493.fc635229db38e6fc6aa2.js +0 -0
  556. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8498.27a245b23921914bf5c2.js +0 -0
  557. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8512.1af96655287fd124877b.js +0 -0
  558. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8678.dcd3dab9025b13eb9be8.js +0 -0
  559. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/870673df72e70f87c91a.woff +0 -0
  560. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8710.5fc5ecb762fb4494db02.js +0 -0
  561. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8738.782816e9072ac38762b4.js +0 -0
  562. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8787.4d36d28dcf94bf59cbfe.js +0 -0
  563. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8805.0f14a91b024b59c039a7.js +0 -0
  564. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/881.972f79365eed0f77378e.js +0 -0
  565. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8823.2ff947bcd96cc0723058.js +0 -0
  566. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8875.88988caaba1e33edad5b.js +0 -0
  567. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/88b98cad3688915e50da.woff +0 -0
  568. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
  569. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8ea8dbb1b02e6f730f55.woff +0 -0
  570. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9055.bd710a8db8883a836b59.js +0 -0
  571. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9109.fa3ee74a5c0f378f4d51.js +0 -0
  572. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9192.db4337a516b7f38d1f89.js +0 -0
  573. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9222.1c2a8e69a2de57dd1984.js +0 -0
  574. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9230.58b8c42b730e1a56e69b.js +0 -0
  575. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9265.bc2b66a4502cdfcfc14f.js +0 -0
  576. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9362.823dcfac216f8057452d.js +0 -0
  577. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9395.b59dceae72715c9f885c.js +0 -0
  578. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9409.34c33ed11e2d6f318480.js +0 -0
  579. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9440.04751e25c9cde059ff37.js +0 -0
  580. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9445.fe5e9e5b728de8d15873.js +0 -0
  581. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9545.f0f7a2959bdd17ee3448.js +0 -0
  582. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9621.9cbfa52c42927bb398b4.js +0 -0
  583. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
  584. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9738.c0234a1f7f6ac262f560.js +0 -0
  585. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js +0 -0
  586. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js.LICENSE.txt +0 -0
  587. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9826.38c59b84e02def79216e.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js.LICENSE.txt +0 -0
  588. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
  589. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9984.6ba5355e0d5487d5ac63.js +0 -0
  590. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/a009bea404f7a500ded4.woff +0 -0
  591. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
  592. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/af04542b29eaac04550a.woff +0 -0
  593. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
  594. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/af96f67d7accf5fd2a4a.woff +0 -0
  595. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/b418136e3b384baaadec.woff +0 -0
  596. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
  597. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
  598. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/c49810b53ecc0d87d802.woff +0 -0
  599. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/c56da8d69f1a0208b8e0.woff +0 -0
  600. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
  601. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
  602. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
  603. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
  604. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
  605. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
  606. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/fc6ddf5df402b263cfb1.woff +0 -0
  607. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
  608. {jupyterlab-4.1.8.data/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension → jupyterlab-4.2.0.data/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension}/index.js +0 -0
  609. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/WHEEL +0 -0
  610. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/entry_points.txt +0 -0
  611. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -1 +0,0 @@
1
- (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[2617],{12617:e=>{!function(t,r){true?e.exports=r():0}(self,(function(){return(()=>{"use strict";var e={};return(()=>{var t=e;Object.defineProperty(t,"__esModule",{value:!0}),t.FitAddon=void 0,t.FitAddon=class{constructor(){}activate(e){this._terminal=e}dispose(){}fit(){const e=this.proposeDimensions();if(!e||!this._terminal||isNaN(e.cols)||isNaN(e.rows))return;const t=this._terminal._core;this._terminal.rows===e.rows&&this._terminal.cols===e.cols||(t._renderService.clear(),this._terminal.resize(e.cols,e.rows))}proposeDimensions(){if(!this._terminal)return;if(!this._terminal.element||!this._terminal.element.parentElement)return;const e=this._terminal._core,t=e._renderService.dimensions;if(0===t.css.cell.width||0===t.css.cell.height)return;const r=0===this._terminal.options.scrollback?0:e.viewport.scrollBarWidth,i=window.getComputedStyle(this._terminal.element.parentElement),s=parseInt(i.getPropertyValue("height")),n=Math.max(0,parseInt(i.getPropertyValue("width"))),o=window.getComputedStyle(this._terminal.element),a=s-(parseInt(o.getPropertyValue("padding-top"))+parseInt(o.getPropertyValue("padding-bottom"))),l=n-(parseInt(o.getPropertyValue("padding-right"))+parseInt(o.getPropertyValue("padding-left")))-r;return{cols:Math.max(2,Math.floor(l/t.css.cell.width)),rows:Math.max(1,Math.floor(a/t.css.cell.height))}}}})(),e})()}))}}]);
@@ -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
- (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[292],{90292:e=>{!function(t,i){true?e.exports=i():0}(self,(function(){return(()=>{"use strict";var e={965:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlyphRenderer=void 0;const s=i(381),r=i(855),o=i(859),n=i(374),a=i(509),h=11,l=h*Float32Array.BYTES_PER_ELEMENT;let c,d=0,_=0,u=0;class g extends o.Disposable{constructor(e,t,i){super(),this._terminal=e,this._gl=t,this._dimensions=i,this._activeBuffer=0,this._vertices={count:0,attributes:new Float32Array(0),attributesBuffers:[new Float32Array(0),new Float32Array(0)]};const r=this._gl;void 0===a.TextureAtlas.maxAtlasPages&&(a.TextureAtlas.maxAtlasPages=Math.min(32,(0,n.throwIfFalsy)(r.getParameter(r.MAX_TEXTURE_IMAGE_UNITS))),a.TextureAtlas.maxTextureSize=(0,n.throwIfFalsy)(r.getParameter(r.MAX_TEXTURE_SIZE))),this._program=(0,n.throwIfFalsy)((0,s.createProgram)(r,"#version 300 es\nlayout (location = 0) in vec2 a_unitquad;\nlayout (location = 1) in vec2 a_cellpos;\nlayout (location = 2) in vec2 a_offset;\nlayout (location = 3) in vec2 a_size;\nlayout (location = 4) in float a_texpage;\nlayout (location = 5) in vec2 a_texcoord;\nlayout (location = 6) in vec2 a_texsize;\n\nuniform mat4 u_projection;\nuniform vec2 u_resolution;\n\nout vec2 v_texcoord;\nflat out int v_texpage;\n\nvoid main() {\n vec2 zeroToOne = (a_offset / u_resolution) + a_cellpos + (a_unitquad * a_size);\n gl_Position = u_projection * vec4(zeroToOne, 0.0, 1.0);\n v_texpage = int(a_texpage);\n v_texcoord = a_texcoord + a_unitquad * a_texsize;\n}",function(e){let t="";for(let i=1;i<e;i++)t+=` else if (v_texpage == ${i}) { outColor = texture(u_texture[${i}], v_texcoord); }`;return`#version 300 es\nprecision lowp float;\n\nin vec2 v_texcoord;\nflat in int v_texpage;\n\nuniform sampler2D u_texture[${e}];\n\nout vec4 outColor;\n\nvoid main() {\n if (v_texpage == 0) {\n outColor = texture(u_texture[0], v_texcoord);\n } ${t}\n}`}(a.TextureAtlas.maxAtlasPages))),this.register((0,o.toDisposable)((()=>r.deleteProgram(this._program)))),this._projectionLocation=(0,n.throwIfFalsy)(r.getUniformLocation(this._program,"u_projection")),this._resolutionLocation=(0,n.throwIfFalsy)(r.getUniformLocation(this._program,"u_resolution")),this._textureLocation=(0,n.throwIfFalsy)(r.getUniformLocation(this._program,"u_texture")),this._vertexArrayObject=r.createVertexArray(),r.bindVertexArray(this._vertexArrayObject);const h=new Float32Array([0,0,1,0,0,1,1,1]),c=r.createBuffer();this.register((0,o.toDisposable)((()=>r.deleteBuffer(c)))),r.bindBuffer(r.ARRAY_BUFFER,c),r.bufferData(r.ARRAY_BUFFER,h,r.STATIC_DRAW),r.enableVertexAttribArray(0),r.vertexAttribPointer(0,2,this._gl.FLOAT,!1,0,0);const d=new Uint8Array([0,1,2,3]),_=r.createBuffer();this.register((0,o.toDisposable)((()=>r.deleteBuffer(_)))),r.bindBuffer(r.ELEMENT_ARRAY_BUFFER,_),r.bufferData(r.ELEMENT_ARRAY_BUFFER,d,r.STATIC_DRAW),this._attributesBuffer=(0,n.throwIfFalsy)(r.createBuffer()),this.register((0,o.toDisposable)((()=>r.deleteBuffer(this._attributesBuffer)))),r.bindBuffer(r.ARRAY_BUFFER,this._attributesBuffer),r.enableVertexAttribArray(2),r.vertexAttribPointer(2,2,r.FLOAT,!1,l,0),r.vertexAttribDivisor(2,1),r.enableVertexAttribArray(3),r.vertexAttribPointer(3,2,r.FLOAT,!1,l,2*Float32Array.BYTES_PER_ELEMENT),r.vertexAttribDivisor(3,1),r.enableVertexAttribArray(4),r.vertexAttribPointer(4,1,r.FLOAT,!1,l,4*Float32Array.BYTES_PER_ELEMENT),r.vertexAttribDivisor(4,1),r.enableVertexAttribArray(5),r.vertexAttribPointer(5,2,r.FLOAT,!1,l,5*Float32Array.BYTES_PER_ELEMENT),r.vertexAttribDivisor(5,1),r.enableVertexAttribArray(6),r.vertexAttribPointer(6,2,r.FLOAT,!1,l,7*Float32Array.BYTES_PER_ELEMENT),r.vertexAttribDivisor(6,1),r.enableVertexAttribArray(1),r.vertexAttribPointer(1,2,r.FLOAT,!1,l,9*Float32Array.BYTES_PER_ELEMENT),r.vertexAttribDivisor(1,1),r.useProgram(this._program);const u=new Int32Array(a.TextureAtlas.maxAtlasPages);for(let s=0;s<a.TextureAtlas.maxAtlasPages;s++)u[s]=s;r.uniform1iv(this._textureLocation,u),r.uniformMatrix4fv(this._projectionLocation,!1,s.PROJECTION_MATRIX),this._atlasTextures=[];for(let l=0;l<a.TextureAtlas.maxAtlasPages;l++){const e=new s.GLTexture((0,n.throwIfFalsy)(r.createTexture()));this.register((0,o.toDisposable)((()=>r.deleteTexture(e.texture)))),r.activeTexture(r.TEXTURE0+l),r.bindTexture(r.TEXTURE_2D,e.texture),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),r.texImage2D(r.TEXTURE_2D,0,r.RGBA,1,1,0,r.RGBA,r.UNSIGNED_BYTE,new Uint8Array([255,0,0,255])),this._atlasTextures[l]=e}r.enable(r.BLEND),r.blendFunc(r.SRC_ALPHA,r.ONE_MINUS_SRC_ALPHA),this.handleResize()}beginFrame(){return!this._atlas||this._atlas.beginFrame()}updateCell(e,t,i,s,r,o,n,a){this._updateCell(this._vertices.attributes,e,t,i,s,r,o,n,a)}_updateCell(e,t,i,s,o,n,a,l,g){d=(i*this._terminal.cols+t)*h,s!==r.NULL_CELL_CODE&&void 0!==s?this._atlas&&(c=l&&l.length>1?this._atlas.getRasterizedGlyphCombinedChar(l,o,n,a):this._atlas.getRasterizedGlyph(s,o,n,a),_=Math.floor((this._dimensions.device.cell.width-this._dimensions.device.char.width)/2),o!==g&&c.offset.x>_?(u=c.offset.x-_,e[d]=-(c.offset.x-u)+this._dimensions.device.char.left,e[d+1]=-c.offset.y+this._dimensions.device.char.top,e[d+2]=(c.size.x-u)/this._dimensions.device.canvas.width,e[d+3]=c.size.y/this._dimensions.device.canvas.height,e[d+4]=c.texturePage,e[d+5]=c.texturePositionClipSpace.x+u/this._atlas.pages[c.texturePage].canvas.width,e[d+6]=c.texturePositionClipSpace.y,e[d+7]=c.sizeClipSpace.x-u/this._atlas.pages[c.texturePage].canvas.width,e[d+8]=c.sizeClipSpace.y):(e[d]=-c.offset.x+this._dimensions.device.char.left,e[d+1]=-c.offset.y+this._dimensions.device.char.top,e[d+2]=c.size.x/this._dimensions.device.canvas.width,e[d+3]=c.size.y/this._dimensions.device.canvas.height,e[d+4]=c.texturePage,e[d+5]=c.texturePositionClipSpace.x,e[d+6]=c.texturePositionClipSpace.y,e[d+7]=c.sizeClipSpace.x,e[d+8]=c.sizeClipSpace.y)):e.fill(0,d,d+h-1-2)}clear(){const e=this._terminal,t=e.cols*e.rows*h;this._vertices.count!==t?this._vertices.attributes=new Float32Array(t):this._vertices.attributes.fill(0);let i=0;for(;i<this._vertices.attributesBuffers.length;i++)this._vertices.count!==t?this._vertices.attributesBuffers[i]=new Float32Array(t):this._vertices.attributesBuffers[i].fill(0);this._vertices.count=t,i=0;for(let s=0;s<e.rows;s++)for(let t=0;t<e.cols;t++)this._vertices.attributes[i+9]=t/e.cols,this._vertices.attributes[i+10]=s/e.rows,i+=h}handleResize(){const e=this._gl;e.viewport(0,0,e.canvas.width,e.canvas.height),e.uniform2f(this._resolutionLocation,e.canvas.width,e.canvas.height),this.clear()}render(e){if(!this._atlas)return;const t=this._gl;t.useProgram(this._program),t.bindVertexArray(this._vertexArrayObject),this._activeBuffer=(this._activeBuffer+1)%2;const i=this._vertices.attributesBuffers[this._activeBuffer];let s=0;for(let r=0;r<e.lineLengths.length;r++){const t=r*this._terminal.cols*h,o=this._vertices.attributes.subarray(t,t+e.lineLengths[r]*h);i.set(o,s),s+=o.length}t.bindBuffer(t.ARRAY_BUFFER,this._attributesBuffer),t.bufferData(t.ARRAY_BUFFER,i.subarray(0,s),t.STREAM_DRAW);for(let r=0;r<this._atlas.pages.length;r++)this._atlas.pages[r].version!==this._atlasTextures[r].version&&this._bindAtlasPageTexture(t,this._atlas,r);t.drawElementsInstanced(t.TRIANGLE_STRIP,4,t.UNSIGNED_BYTE,0,s/h)}setAtlas(e){this._atlas=e;for(const t of this._atlasTextures)t.version=-1}_bindAtlasPageTexture(e,t,i){e.activeTexture(e.TEXTURE0+i),e.bindTexture(e.TEXTURE_2D,this._atlasTextures[i].texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t.pages[i].canvas),e.generateMipmap(e.TEXTURE_2D),this._atlasTextures[i].version=t.pages[i].version}setDimensions(e){this._dimensions=e}}t.GlyphRenderer=g},742:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RectangleRenderer=void 0;const s=i(381),r=i(310),o=i(859),n=i(237),a=i(374),h=8*Float32Array.BYTES_PER_ELEMENT;let l=0,c=!1,d=0,_=0,u=0,g=0,v=0,f=0;class C extends o.Disposable{constructor(e,t,i,r){super(),this._terminal=e,this._gl=t,this._dimensions=i,this._themeService=r,this._vertices={count:0,attributes:new Float32Array(160)};const n=this._gl;this._program=(0,a.throwIfFalsy)((0,s.createProgram)(n,"#version 300 es\nlayout (location = 0) in vec2 a_position;\nlayout (location = 1) in vec2 a_size;\nlayout (location = 2) in vec4 a_color;\nlayout (location = 3) in vec2 a_unitquad;\n\nuniform mat4 u_projection;\n\nout vec4 v_color;\n\nvoid main() {\n vec2 zeroToOne = a_position + (a_unitquad * a_size);\n gl_Position = u_projection * vec4(zeroToOne, 0.0, 1.0);\n v_color = a_color;\n}","#version 300 es\nprecision lowp float;\n\nin vec4 v_color;\n\nout vec4 outColor;\n\nvoid main() {\n outColor = v_color;\n}")),this.register((0,o.toDisposable)((()=>n.deleteProgram(this._program)))),this._projectionLocation=(0,a.throwIfFalsy)(n.getUniformLocation(this._program,"u_projection")),this._vertexArrayObject=n.createVertexArray(),n.bindVertexArray(this._vertexArrayObject);const l=new Float32Array([0,0,1,0,0,1,1,1]),c=n.createBuffer();this.register((0,o.toDisposable)((()=>n.deleteBuffer(c)))),n.bindBuffer(n.ARRAY_BUFFER,c),n.bufferData(n.ARRAY_BUFFER,l,n.STATIC_DRAW),n.enableVertexAttribArray(3),n.vertexAttribPointer(3,2,this._gl.FLOAT,!1,0,0);const d=new Uint8Array([0,1,2,3]),_=n.createBuffer();this.register((0,o.toDisposable)((()=>n.deleteBuffer(_)))),n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,_),n.bufferData(n.ELEMENT_ARRAY_BUFFER,d,n.STATIC_DRAW),this._attributesBuffer=(0,a.throwIfFalsy)(n.createBuffer()),this.register((0,o.toDisposable)((()=>n.deleteBuffer(this._attributesBuffer)))),n.bindBuffer(n.ARRAY_BUFFER,this._attributesBuffer),n.enableVertexAttribArray(0),n.vertexAttribPointer(0,2,n.FLOAT,!1,h,0),n.vertexAttribDivisor(0,1),n.enableVertexAttribArray(1),n.vertexAttribPointer(1,2,n.FLOAT,!1,h,2*Float32Array.BYTES_PER_ELEMENT),n.vertexAttribDivisor(1,1),n.enableVertexAttribArray(2),n.vertexAttribPointer(2,4,n.FLOAT,!1,h,4*Float32Array.BYTES_PER_ELEMENT),n.vertexAttribDivisor(2,1),this._updateCachedColors(r.colors),this.register(this._themeService.onChangeColors((e=>{this._updateCachedColors(e),this._updateViewportRectangle()})))}render(){const e=this._gl;e.useProgram(this._program),e.bindVertexArray(this._vertexArrayObject),e.uniformMatrix4fv(this._projectionLocation,!1,s.PROJECTION_MATRIX),e.bindBuffer(e.ARRAY_BUFFER,this._attributesBuffer),e.bufferData(e.ARRAY_BUFFER,this._vertices.attributes,e.DYNAMIC_DRAW),e.drawElementsInstanced(this._gl.TRIANGLE_STRIP,4,e.UNSIGNED_BYTE,0,this._vertices.count)}handleResize(){this._updateViewportRectangle()}setDimensions(e){this._dimensions=e}_updateCachedColors(e){this._bgFloat=this._colorToFloat32Array(e.background)}_updateViewportRectangle(){this._addRectangleFloat(this._vertices.attributes,0,0,0,this._terminal.cols*this._dimensions.device.cell.width,this._terminal.rows*this._dimensions.device.cell.height,this._bgFloat)}updateBackgrounds(e){const t=this._terminal,i=this._vertices;let s,o,n,a,h,l,c,d,_,u,g,v=1;for(s=0;s<t.rows;s++){for(n=-1,a=0,h=0,l=!1,o=0;o<t.cols;o++)c=(s*t.cols+o)*r.RENDER_MODEL_INDICIES_PER_CELL,d=e.cells[c+r.RENDER_MODEL_BG_OFFSET],_=e.cells[c+r.RENDER_MODEL_FG_OFFSET],u=!!(67108864&_),(d!==a||_!==h&&(l||u))&&((0!==a||l&&0!==h)&&(g=8*v++,this._updateRectangle(i,g,h,a,n,o,s)),n=o,a=d,h=_,l=u);(0!==a||l&&0!==h)&&(g=8*v++,this._updateRectangle(i,g,h,a,n,t.cols,s))}i.count=v}_updateRectangle(e,t,i,r,o,a,h){if(c=!1,67108864&i)switch(50331648&i){case 16777216:case 33554432:l=this._themeService.colors.ansi[255&i].rgba;break;case 50331648:l=(16777215&i)<<8;break;default:l=this._themeService.colors.foreground.rgba}else switch(50331648&r){case 16777216:case 33554432:l=this._themeService.colors.ansi[255&r].rgba;break;case 50331648:l=(16777215&r)<<8;break;default:l=this._themeService.colors.background.rgba,c=!0}e.attributes.length<t+4&&(e.attributes=(0,s.expandFloat32Array)(e.attributes,this._terminal.rows*this._terminal.cols*8)),d=o*this._dimensions.device.cell.width,_=h*this._dimensions.device.cell.height,u=(l>>24&255)/255,g=(l>>16&255)/255,v=(l>>8&255)/255,f=!c&&134217728&r?n.DIM_OPACITY:1,this._addRectangle(e.attributes,t,d,_,(a-o)*this._dimensions.device.cell.width,this._dimensions.device.cell.height,u,g,v,f)}_addRectangle(e,t,i,s,r,o,n,a,h,l){e[t]=i/this._dimensions.device.canvas.width,e[t+1]=s/this._dimensions.device.canvas.height,e[t+2]=r/this._dimensions.device.canvas.width,e[t+3]=o/this._dimensions.device.canvas.height,e[t+4]=n,e[t+5]=a,e[t+6]=h,e[t+7]=l}_addRectangleFloat(e,t,i,s,r,o,n){e[t]=i/this._dimensions.device.canvas.width,e[t+1]=s/this._dimensions.device.canvas.height,e[t+2]=r/this._dimensions.device.canvas.width,e[t+3]=o/this._dimensions.device.canvas.height,e[t+4]=n[0],e[t+5]=n[1],e[t+6]=n[2],e[t+7]=n[3]}_colorToFloat32Array(e){return new Float32Array([(e.rgba>>24&255)/255,(e.rgba>>16&255)/255,(e.rgba>>8&255)/255,(255&e.rgba)/255])}}t.RectangleRenderer=C},310:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RenderModel=t.COMBINED_CHAR_BIT_MASK=t.RENDER_MODEL_EXT_OFFSET=t.RENDER_MODEL_FG_OFFSET=t.RENDER_MODEL_BG_OFFSET=t.RENDER_MODEL_INDICIES_PER_CELL=void 0;const s=i(296);t.RENDER_MODEL_INDICIES_PER_CELL=4,t.RENDER_MODEL_BG_OFFSET=1,t.RENDER_MODEL_FG_OFFSET=2,t.RENDER_MODEL_EXT_OFFSET=3,t.COMBINED_CHAR_BIT_MASK=2147483648,t.RenderModel=class{constructor(){this.cells=new Uint32Array(0),this.lineLengths=new Uint32Array(0),this.selection=(0,s.createSelectionRenderModel)()}resize(e,i){const s=e*i*t.RENDER_MODEL_INDICIES_PER_CELL;s!==this.cells.length&&(this.cells=new Uint32Array(s),this.lineLengths=new Uint32Array(i))}clear(){this.cells.fill(0,0),this.lineLengths.fill(0,0)}}},666:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JoinedCellData=t.WebglRenderer=void 0;const s=i(820),r=i(274),o=i(627),n=i(56),a=i(374),h=i(147),l=i(782),c=i(855),d=i(345),_=i(859),u=i(965),g=i(742),v=i(461),f=i(733),C=i(310);class p extends _.Disposable{constructor(e,t,i,h,c,u,g,p,m){super(),this._terminal=e,this._characterJoinerService=t,this._charSizeService=i,this._coreBrowserService=h,this._decorationService=u,this._optionsService=g,this._themeService=p,this._model=new C.RenderModel,this._workCell=new l.CellData,this._onChangeTextureAtlas=this.register(new d.EventEmitter),this.onChangeTextureAtlas=this._onChangeTextureAtlas.event,this._onAddTextureAtlasCanvas=this.register(new d.EventEmitter),this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event,this._onRemoveTextureAtlasCanvas=this.register(new d.EventEmitter),this.onRemoveTextureAtlasCanvas=this._onRemoveTextureAtlasCanvas.event,this._onRequestRedraw=this.register(new d.EventEmitter),this.onRequestRedraw=this._onRequestRedraw.event,this._onContextLoss=this.register(new d.EventEmitter),this.onContextLoss=this._onContextLoss.event,this.register(this._themeService.onChangeColors((()=>this._handleColorChange()))),this._cellColorResolver=new r.CellColorResolver(this._terminal,this._model.selection,this._decorationService,this._coreBrowserService,this._themeService),this._core=this._terminal._core,this._renderLayers=[new f.LinkRenderLayer(this._core.screenElement,2,this._terminal,this._core.linkifier2,this._coreBrowserService,g,this._themeService),new v.CursorRenderLayer(e,this._core.screenElement,3,this._onRequestRedraw,this._coreBrowserService,c,g,this._themeService)],this.dimensions=(0,a.createRenderDimensions)(),this._devicePixelRatio=this._coreBrowserService.dpr,this._updateDimensions(),this.register(g.onOptionChange((()=>this._handleOptionsChanged()))),this._canvas=document.createElement("canvas");const x={antialias:!1,depth:!1,preserveDrawingBuffer:m};if(this._gl=this._canvas.getContext("webgl2",x),!this._gl)throw new Error("WebGL2 not supported "+this._gl);this.register((0,s.addDisposableDomListener)(this._canvas,"webglcontextlost",(e=>{console.log("webglcontextlost event received"),e.preventDefault(),this._contextRestorationTimeout=setTimeout((()=>{this._contextRestorationTimeout=void 0,console.warn("webgl context not restored; firing onContextLoss"),this._onContextLoss.fire(e)}),3e3)}))),this.register((0,s.addDisposableDomListener)(this._canvas,"webglcontextrestored",(e=>{console.warn("webglcontextrestored event received"),clearTimeout(this._contextRestorationTimeout),this._contextRestorationTimeout=void 0,(0,o.removeTerminalFromCache)(this._terminal),this._initializeWebGLState(),this._requestRedrawViewport()}))),this.register((0,n.observeDevicePixelDimensions)(this._canvas,this._coreBrowserService.window,((e,t)=>this._setCanvasDevicePixelDimensions(e,t)))),this._core.screenElement.appendChild(this._canvas),[this._rectangleRenderer,this._glyphRenderer]=this._initializeWebGLState(),this._isAttached=this._coreBrowserService.window.document.body.contains(this._core.screenElement),this.register((0,_.toDisposable)((()=>{var e;for(const t of this._renderLayers)t.dispose();null===(e=this._canvas.parentElement)||void 0===e||e.removeChild(this._canvas),(0,o.removeTerminalFromCache)(this._terminal)})))}get textureAtlas(){var e;return null===(e=this._charAtlas)||void 0===e?void 0:e.pages[0].canvas}_handleColorChange(){this._refreshCharAtlas(),this._clearModel(!0)}handleDevicePixelRatioChange(){this._devicePixelRatio!==this._coreBrowserService.dpr&&(this._devicePixelRatio=this._coreBrowserService.dpr,this.handleResize(this._terminal.cols,this._terminal.rows))}handleResize(e,t){this._updateDimensions(),this._model.resize(this._terminal.cols,this._terminal.rows);for(const i of this._renderLayers)i.resize(this._terminal,this.dimensions);this._canvas.width=this.dimensions.device.canvas.width,this._canvas.height=this.dimensions.device.canvas.height,this._canvas.style.width=`${this.dimensions.css.canvas.width}px`,this._canvas.style.height=`${this.dimensions.css.canvas.height}px`,this._core.screenElement.style.width=`${this.dimensions.css.canvas.width}px`,this._core.screenElement.style.height=`${this.dimensions.css.canvas.height}px`,this._rectangleRenderer.setDimensions(this.dimensions),this._rectangleRenderer.handleResize(),this._glyphRenderer.setDimensions(this.dimensions),this._glyphRenderer.handleResize(),this._refreshCharAtlas(),this._clearModel(!1)}handleCharSizeChanged(){this.handleResize(this._terminal.cols,this._terminal.rows)}handleBlur(){for(const e of this._renderLayers)e.handleBlur(this._terminal);this._requestRedrawViewport()}handleFocus(){for(const e of this._renderLayers)e.handleFocus(this._terminal);this._requestRedrawViewport()}handleSelectionChanged(e,t,i){for(const s of this._renderLayers)s.handleSelectionChanged(this._terminal,e,t,i);this._model.selection.update(this._terminal,e,t,i),this._requestRedrawViewport()}handleCursorMove(){for(const e of this._renderLayers)e.handleCursorMove(this._terminal)}_handleOptionsChanged(){this._updateDimensions(),this._refreshCharAtlas()}_initializeWebGLState(){var e,t;return null===(e=this._rectangleRenderer)||void 0===e||e.dispose(),null===(t=this._glyphRenderer)||void 0===t||t.dispose(),this._rectangleRenderer=this.register(new g.RectangleRenderer(this._terminal,this._gl,this.dimensions,this._themeService)),this._glyphRenderer=this.register(new u.GlyphRenderer(this._terminal,this._gl,this.dimensions)),this.handleCharSizeChanged(),[this._rectangleRenderer,this._glyphRenderer]}_refreshCharAtlas(){var e;if(this.dimensions.device.char.width<=0&&this.dimensions.device.char.height<=0)return void(this._isAttached=!1);const t=(0,o.acquireTextureAtlas)(this._terminal,this._optionsService.rawOptions,this._themeService.colors,this.dimensions.device.cell.width,this.dimensions.device.cell.height,this.dimensions.device.char.width,this.dimensions.device.char.height,this._coreBrowserService.dpr);this._charAtlas!==t&&(null===(e=this._charAtlasDisposable)||void 0===e||e.dispose(),this._onChangeTextureAtlas.fire(t.pages[0].canvas),this._charAtlasDisposable=(0,_.getDisposeArrayDisposable)([(0,d.forwardEvent)(t.onAddTextureAtlasCanvas,this._onAddTextureAtlasCanvas),(0,d.forwardEvent)(t.onRemoveTextureAtlasCanvas,this._onRemoveTextureAtlasCanvas)])),this._charAtlas=t,this._charAtlas.warmUp(),this._glyphRenderer.setAtlas(this._charAtlas)}_clearModel(e){this._model.clear(),e&&this._glyphRenderer.clear()}clearTextureAtlas(){var e;null===(e=this._charAtlas)||void 0===e||e.clearTexture(),this._clearModel(!0),this._requestRedrawViewport()}clear(){this._clearModel(!0);for(const e of this._renderLayers)e.reset(this._terminal)}registerCharacterJoiner(e){return-1}deregisterCharacterJoiner(e){return!1}renderRows(e,t){if(!this._isAttached){if(!(this._coreBrowserService.window.document.body.contains(this._core.screenElement)&&this._charSizeService.width&&this._charSizeService.height))return;this._updateDimensions(),this._refreshCharAtlas(),this._isAttached=!0}for(const i of this._renderLayers)i.handleGridChanged(this._terminal,e,t);this._glyphRenderer.beginFrame()&&this._clearModel(!0),this._updateModel(e,t),this._rectangleRenderer.render(),this._glyphRenderer.render(this._model)}_updateModel(e,t){const i=this._core;let s,r,o,n,a,h,l,d,_,u,g,v,f,p=this._workCell;for(r=e;r<=t&&(o=r+i.buffer.ydisp,n=i.buffer.lines.get(o),n);r++)for(this._model.lineLengths[r]=0,a=this._characterJoinerService.getJoinedCharacters(o),v=0;v<i.cols;v++)if(s=this._cellColorResolver.result.bg,n.loadCell(v,p),0===v&&(s=this._cellColorResolver.result.bg),h=!1,l=v,a.length>0&&v===a[0][0]&&(h=!0,d=a.shift(),p=new m(p,n.translateToString(!0,d[0],d[1]),d[1]-d[0]),l=d[1]-1),_=p.getChars(),u=p.getCode(),g=(r*i.cols+v)*C.RENDER_MODEL_INDICIES_PER_CELL,this._cellColorResolver.resolve(p,v,o),u!==c.NULL_CELL_CODE&&(this._model.lineLengths[r]=v+1),(this._model.cells[g]!==u||this._model.cells[g+C.RENDER_MODEL_BG_OFFSET]!==this._cellColorResolver.result.bg||this._model.cells[g+C.RENDER_MODEL_FG_OFFSET]!==this._cellColorResolver.result.fg||this._model.cells[g+C.RENDER_MODEL_EXT_OFFSET]!==this._cellColorResolver.result.ext)&&(_.length>1&&(u|=C.COMBINED_CHAR_BIT_MASK),this._model.cells[g]=u,this._model.cells[g+C.RENDER_MODEL_BG_OFFSET]=this._cellColorResolver.result.bg,this._model.cells[g+C.RENDER_MODEL_FG_OFFSET]=this._cellColorResolver.result.fg,this._model.cells[g+C.RENDER_MODEL_EXT_OFFSET]=this._cellColorResolver.result.ext,this._glyphRenderer.updateCell(v,r,u,this._cellColorResolver.result.bg,this._cellColorResolver.result.fg,this._cellColorResolver.result.ext,_,s),h))for(p=this._workCell,v++;v<l;v++)f=(r*i.cols+v)*C.RENDER_MODEL_INDICIES_PER_CELL,this._glyphRenderer.updateCell(v,r,c.NULL_CELL_CODE,0,0,0,c.NULL_CELL_CHAR,0),this._model.cells[f]=c.NULL_CELL_CODE,this._model.cells[f+C.RENDER_MODEL_BG_OFFSET]=this._cellColorResolver.result.bg,this._model.cells[f+C.RENDER_MODEL_FG_OFFSET]=this._cellColorResolver.result.fg,this._model.cells[f+C.RENDER_MODEL_EXT_OFFSET]=this._cellColorResolver.result.ext;this._rectangleRenderer.updateBackgrounds(this._model)}_updateDimensions(){this._charSizeService.width&&this._charSizeService.height&&(this.dimensions.device.char.width=Math.floor(this._charSizeService.width*this._devicePixelRatio),this.dimensions.device.char.height=Math.ceil(this._charSizeService.height*this._devicePixelRatio),this.dimensions.device.cell.height=Math.floor(this.dimensions.device.char.height*this._optionsService.rawOptions.lineHeight),this.dimensions.device.char.top=1===this._optionsService.rawOptions.lineHeight?0:Math.round((this.dimensions.device.cell.height-this.dimensions.device.char.height)/2),this.dimensions.device.cell.width=this.dimensions.device.char.width+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.device.char.left=Math.floor(this._optionsService.rawOptions.letterSpacing/2),this.dimensions.device.canvas.height=this._terminal.rows*this.dimensions.device.cell.height,this.dimensions.device.canvas.width=this._terminal.cols*this.dimensions.device.cell.width,this.dimensions.css.canvas.height=Math.round(this.dimensions.device.canvas.height/this._devicePixelRatio),this.dimensions.css.canvas.width=Math.round(this.dimensions.device.canvas.width/this._devicePixelRatio),this.dimensions.css.cell.height=this.dimensions.device.cell.height/this._devicePixelRatio,this.dimensions.css.cell.width=this.dimensions.device.cell.width/this._devicePixelRatio)}_setCanvasDevicePixelDimensions(e,t){this._canvas.width===e&&this._canvas.height===t||(this._canvas.width=e,this._canvas.height=t,this._requestRedrawViewport())}_requestRedrawViewport(){this._onRequestRedraw.fire({start:0,end:this._terminal.rows-1})}}t.WebglRenderer=p;class m extends h.AttributeData{constructor(e,t,i){super(),this.content=0,this.combinedData="",this.fg=e.fg,this.bg=e.bg,this.combinedData=t,this._width=i}isCombined(){return 2097152}getWidth(){return this._width}getChars(){return this.combinedData}getCode(){return 2097151}setFromCharData(e){throw new Error("not implemented")}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}t.JoinedCellData=m},381:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GLTexture=t.expandFloat32Array=t.createShader=t.createProgram=t.PROJECTION_MATRIX=void 0;const s=i(374);function r(e,t,i){const r=(0,s.throwIfFalsy)(e.createShader(t));if(e.shaderSource(r,i),e.compileShader(r),e.getShaderParameter(r,e.COMPILE_STATUS))return r;console.error(e.getShaderInfoLog(r)),e.deleteShader(r)}t.PROJECTION_MATRIX=new Float32Array([2,0,0,0,0,-2,0,0,0,0,1,0,-1,1,0,1]),t.createProgram=function(e,t,i){const o=(0,s.throwIfFalsy)(e.createProgram());if(e.attachShader(o,(0,s.throwIfFalsy)(r(e,e.VERTEX_SHADER,t))),e.attachShader(o,(0,s.throwIfFalsy)(r(e,e.FRAGMENT_SHADER,i))),e.linkProgram(o),e.getProgramParameter(o,e.LINK_STATUS))return o;console.error(e.getProgramInfoLog(o)),e.deleteProgram(o)},t.createShader=r,t.expandFloat32Array=function(e,t){const i=Math.min(2*e.length,t),s=new Float32Array(i);for(let r=0;r<e.length;r++)s[r]=e[r];return s},t.GLTexture=class{constructor(e){this.texture=e,this.version=-1}}},592:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRenderLayer=void 0;const s=i(627),r=i(237),o=i(374),n=i(859);class a extends n.Disposable{constructor(e,t,i,s,r,o,a,h){super(),this._container=t,this._alpha=r,this._coreBrowserService=o,this._optionsService=a,this._themeService=h,this._deviceCharWidth=0,this._deviceCharHeight=0,this._deviceCellWidth=0,this._deviceCellHeight=0,this._deviceCharLeft=0,this._deviceCharTop=0,this._canvas=document.createElement("canvas"),this._canvas.classList.add(`xterm-${i}-layer`),this._canvas.style.zIndex=s.toString(),this._initCanvas(),this._container.appendChild(this._canvas),this.register(this._themeService.onChangeColors((t=>{this._refreshCharAtlas(e,t),this.reset(e)}))),this.register((0,n.toDisposable)((()=>{var e;this._canvas.remove(),null===(e=this._charAtlas)||void 0===e||e.dispose()})))}_initCanvas(){this._ctx=(0,o.throwIfFalsy)(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()}handleBlur(e){}handleFocus(e){}handleCursorMove(e){}handleGridChanged(e,t,i){}handleSelectionChanged(e,t,i,s=!1){}_setTransparency(e,t){if(t===this._alpha)return;const i=this._canvas;this._alpha=t,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,i),this._refreshCharAtlas(e,this._themeService.colors),this.handleGridChanged(e,0,e.rows-1)}_refreshCharAtlas(e,t){this._deviceCharWidth<=0&&this._deviceCharHeight<=0||(this._charAtlas=(0,s.acquireTextureAtlas)(e,this._optionsService.rawOptions,t,this._deviceCellWidth,this._deviceCellHeight,this._deviceCharWidth,this._deviceCharHeight,this._coreBrowserService.dpr),this._charAtlas.warmUp())}resize(e,t){this._deviceCellWidth=t.device.cell.width,this._deviceCellHeight=t.device.cell.height,this._deviceCharWidth=t.device.char.width,this._deviceCharHeight=t.device.char.height,this._deviceCharLeft=t.device.char.left,this._deviceCharTop=t.device.char.top,this._canvas.width=t.device.canvas.width,this._canvas.height=t.device.canvas.height,this._canvas.style.width=`${t.css.canvas.width}px`,this._canvas.style.height=`${t.css.canvas.height}px`,this._alpha||this._clearAll(),this._refreshCharAtlas(e,this._themeService.colors)}_fillCells(e,t,i,s){this._ctx.fillRect(e*this._deviceCellWidth,t*this._deviceCellHeight,i*this._deviceCellWidth,s*this._deviceCellHeight)}_fillBottomLineAtCells(e,t,i=1){this._ctx.fillRect(e*this._deviceCellWidth,(t+1)*this._deviceCellHeight-this._coreBrowserService.dpr-1,i*this._deviceCellWidth,this._coreBrowserService.dpr)}_fillLeftLineAtCell(e,t,i){this._ctx.fillRect(e*this._deviceCellWidth,t*this._deviceCellHeight,this._coreBrowserService.dpr*i,this._deviceCellHeight)}_strokeRectAtCell(e,t,i,s){this._ctx.lineWidth=this._coreBrowserService.dpr,this._ctx.strokeRect(e*this._deviceCellWidth+this._coreBrowserService.dpr/2,t*this._deviceCellHeight+this._coreBrowserService.dpr/2,i*this._deviceCellWidth-this._coreBrowserService.dpr,s*this._deviceCellHeight-this._coreBrowserService.dpr)}_clearAll(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._themeService.colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))}_clearCells(e,t,i,s){this._alpha?this._ctx.clearRect(e*this._deviceCellWidth,t*this._deviceCellHeight,i*this._deviceCellWidth,s*this._deviceCellHeight):(this._ctx.fillStyle=this._themeService.colors.background.css,this._ctx.fillRect(e*this._deviceCellWidth,t*this._deviceCellHeight,i*this._deviceCellWidth,s*this._deviceCellHeight))}_fillCharTrueColor(e,t,i,s){this._ctx.font=this._getFont(e,!1,!1),this._ctx.textBaseline=r.TEXT_BASELINE,this._clipCell(i,s,t.getWidth()),this._ctx.fillText(t.getChars(),i*this._deviceCellWidth+this._deviceCharLeft,s*this._deviceCellHeight+this._deviceCharTop+this._deviceCharHeight)}_clipCell(e,t,i){this._ctx.beginPath(),this._ctx.rect(e*this._deviceCellWidth,t*this._deviceCellHeight,i*this._deviceCellWidth,this._deviceCellHeight),this._ctx.clip()}_getFont(e,t,i){return`${i?"italic":""} ${t?e.options.fontWeightBold:e.options.fontWeight} ${e.options.fontSize*this._coreBrowserService.dpr}px ${e.options.fontFamily}`}}t.BaseRenderLayer=a},461:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CursorRenderLayer=void 0;const s=i(592),r=i(782),o=i(859);class n extends s.BaseRenderLayer{constructor(e,t,i,s,n,a,h,l){super(e,t,"cursor",i,!0,n,h,l),this._onRequestRefreshRowsEvent=s,this._coreService=a,this._cell=new r.CellData,this._state={x:0,y:0,isFocused:!1,style:"",width:0},this._cursorRenderers={bar:this._renderBarCursor.bind(this),block:this._renderBlockCursor.bind(this),underline:this._renderUnderlineCursor.bind(this)},this._handleOptionsChanged(e),this.register(h.onOptionChange((()=>this._handleOptionsChanged(e)))),this.register((0,o.toDisposable)((()=>{var e;null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0})))}resize(e,t){super.resize(e,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}}reset(e){var t;this._clearCursor(),null===(t=this._cursorBlinkStateManager)||void 0===t||t.restartBlinkAnimation(e),this._handleOptionsChanged(e)}handleBlur(e){var t;null===(t=this._cursorBlinkStateManager)||void 0===t||t.pause(),this._onRequestRefreshRowsEvent.fire({start:e.buffer.active.cursorY,end:e.buffer.active.cursorY})}handleFocus(e){var t;null===(t=this._cursorBlinkStateManager)||void 0===t||t.resume(e),this._onRequestRefreshRowsEvent.fire({start:e.buffer.active.cursorY,end:e.buffer.active.cursorY})}_handleOptionsChanged(e){var t;e.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new a((()=>{this._render(e,!0)}),this._coreBrowserService)):(null===(t=this._cursorBlinkStateManager)||void 0===t||t.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRefreshRowsEvent.fire({start:e.buffer.active.cursorY,end:e.buffer.active.cursorY})}handleCursorMove(e){var t;null===(t=this._cursorBlinkStateManager)||void 0===t||t.restartBlinkAnimation(e)}handleGridChanged(e,t,i){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(e,!1):this._cursorBlinkStateManager.restartBlinkAnimation(e)}_render(e,t){if(!this._coreService.isCursorInitialized||this._coreService.isCursorHidden)return void this._clearCursor();const i=e.buffer.active.baseY+e.buffer.active.cursorY,s=i-e.buffer.active.viewportY,r=Math.min(e.buffer.active.cursorX,e.cols-1);if(s<0||s>=e.rows)this._clearCursor();else if(e._core.buffer.lines.get(i).loadCell(r,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._themeService.colors.cursor.css;const t=e.options.cursorStyle;return t&&"block"!==t?this._cursorRenderers[t](e,r,s,this._cell):this._renderBlurCursor(e,r,s,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=s,this._state.isFocused=!1,this._state.style=t,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===r&&this._state.y===s&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===e.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[e.options.cursorStyle||"block"](e,r,s,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=s,this._state.isFocused=!1,this._state.style=e.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}_clearCursor(){this._state&&(this._coreBrowserService.dpr<1?this._clearAll():this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})}_renderBarCursor(e,t,i,s){this._ctx.save(),this._ctx.fillStyle=this._themeService.colors.cursor.css,this._fillLeftLineAtCell(t,i,this._optionsService.rawOptions.cursorWidth),this._ctx.restore()}_renderBlockCursor(e,t,i,s){this._ctx.save(),this._ctx.fillStyle=this._themeService.colors.cursor.css,this._fillCells(t,i,s.getWidth(),1),this._ctx.fillStyle=this._themeService.colors.cursorAccent.css,this._fillCharTrueColor(e,s,t,i),this._ctx.restore()}_renderUnderlineCursor(e,t,i,s){this._ctx.save(),this._ctx.fillStyle=this._themeService.colors.cursor.css,this._fillBottomLineAtCells(t,i),this._ctx.restore()}_renderBlurCursor(e,t,i,s){this._ctx.save(),this._ctx.strokeStyle=this._themeService.colors.cursor.css,this._strokeRectAtCell(t,i,s.getWidth(),1),this._ctx.restore()}}t.CursorRenderLayer=n;class a{constructor(e,t){this._renderCallback=e,this._coreBrowserService=t,this.isCursorVisible=!0,this._coreBrowserService.isFocused&&this._restartInterval()}get isPaused(){return!(this._blinkStartTimeout||this._blinkInterval)}dispose(){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}restartBlinkAnimation(e){this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0}))))}_restartInterval(e=600){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=this._coreBrowserService.window.setTimeout((()=>{if(this._animationTimeRestarted){const e=600-(Date.now()-this._animationTimeRestarted);if(this._animationTimeRestarted=void 0,e>0)return void this._restartInterval(e)}this.isCursorVisible=!1,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0})),this._blinkInterval=this._coreBrowserService.window.setInterval((()=>{if(this._animationTimeRestarted){const e=600-(Date.now()-this._animationTimeRestarted);return this._animationTimeRestarted=void 0,void this._restartInterval(e)}this.isCursorVisible=!this.isCursorVisible,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0}))}),600)}),e)}pause(){this.isCursorVisible=!0,this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}resume(e){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation(e)}}},733:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LinkRenderLayer=void 0;const s=i(197),r=i(237),o=i(592);class n extends o.BaseRenderLayer{constructor(e,t,i,s,r,o,n){super(i,e,"link",t,!0,r,o,n),this.register(s.onShowLinkUnderline((e=>this._handleShowLinkUnderline(e)))),this.register(s.onHideLinkUnderline((e=>this._handleHideLinkUnderline(e))))}resize(e,t){super.resize(e,t),this._state=void 0}reset(e){this._clearCurrentLink()}_clearCurrentLink(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);const e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}}_handleShowLinkUnderline(e){if(e.fg===r.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._themeService.colors.background.css:void 0!==e.fg&&(0,s.is256Color)(e.fg)?this._ctx.fillStyle=this._themeService.colors.ansi[e.fg].css:this._ctx.fillStyle=this._themeService.colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(let t=e.y1+1;t<e.y2;t++)this._fillBottomLineAtCells(0,t,e.cols);this._fillBottomLineAtCells(0,e.y2,e.x2)}this._state=e}_handleHideLinkUnderline(e){this._clearCurrentLink()}}t.LinkRenderLayer=n},820:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(e,t,i,s){e.addEventListener(t,i,s);let r=!1;return{dispose:()=>{r||(r=!0,e.removeEventListener(t,i,s))}}}},274:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CellColorResolver=void 0;let i,s=0,r=0,o=!1,n=!1,a=!1;t.CellColorResolver=class{constructor(e,t,i,s,r){this._terminal=e,this._selectionRenderModel=t,this._decorationService=i,this._coreBrowserService=s,this._themeService=r,this.result={fg:0,bg:0,ext:0}}resolve(e,t,h){this.result.bg=e.bg,this.result.fg=e.fg,this.result.ext=268435456&e.bg?e.extended.ext:0,r=0,s=0,n=!1,o=!1,a=!1,i=this._themeService.colors,this._decorationService.forEachDecorationAtCell(t,h,"bottom",(e=>{e.backgroundColorRGB&&(r=e.backgroundColorRGB.rgba>>8&16777215,n=!0),e.foregroundColorRGB&&(s=e.foregroundColorRGB.rgba>>8&16777215,o=!0)})),a=this._selectionRenderModel.isCellSelected(this._terminal,t,h),a&&(r=(this._coreBrowserService.isFocused?i.selectionBackgroundOpaque:i.selectionInactiveBackgroundOpaque).rgba>>8&16777215,n=!0,i.selectionForeground&&(s=i.selectionForeground.rgba>>8&16777215,o=!0)),this._decorationService.forEachDecorationAtCell(t,h,"top",(e=>{e.backgroundColorRGB&&(r=e.backgroundColorRGB.rgba>>8&16777215,n=!0),e.foregroundColorRGB&&(s=e.foregroundColorRGB.rgba>>8&16777215,o=!0)})),n&&(r=a?-16777216&e.bg&-134217729|r|50331648:-16777216&e.bg|r|50331648),o&&(s=-16777216&e.fg&-67108865|s|50331648),67108864&this.result.fg&&(n&&!o&&(s=0==(50331648&this.result.bg)?-134217728&this.result.fg|16777215&i.background.rgba>>8|50331648:-134217728&this.result.fg|67108863&this.result.bg,o=!0),!n&&o&&(r=0==(50331648&this.result.fg)?-67108864&this.result.bg|16777215&i.foreground.rgba>>8|50331648:-67108864&this.result.bg|67108863&this.result.fg,n=!0)),i=void 0,this.result.bg=n?r:this.result.bg,this.result.fg=o?s:this.result.fg}}},627:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.removeTerminalFromCache=t.acquireTextureAtlas=void 0;const s=i(509),r=i(197),o=[];t.acquireTextureAtlas=function(e,t,i,n,a,h,l,c){const d=(0,r.generateConfig)(n,a,h,l,t,i,c);for(let s=0;s<o.length;s++){const t=o[s],i=t.ownedBy.indexOf(e);if(i>=0){if((0,r.configEquals)(t.config,d))return t.atlas;1===t.ownedBy.length?(t.atlas.dispose(),o.splice(s,1)):t.ownedBy.splice(i,1);break}}for(let s=0;s<o.length;s++){const t=o[s];if((0,r.configEquals)(t.config,d))return t.ownedBy.push(e),t.atlas}const _=e._core,u={atlas:new s.TextureAtlas(document,d,_.unicodeService),config:d,ownedBy:[e]};return o.push(u),u.atlas},t.removeTerminalFromCache=function(e){for(let t=0;t<o.length;t++){const i=o[t].ownedBy.indexOf(e);if(-1!==i){1===o[t].ownedBy.length?(o[t].atlas.dispose(),o.splice(t,1)):o[t].ownedBy.splice(i,1);break}}}},197:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.is256Color=t.configEquals=t.generateConfig=void 0;const s=i(160);t.generateConfig=function(e,t,i,r,o,n,a){const h={foreground:n.foreground,background:n.background,cursor:s.NULL_COLOR,cursorAccent:s.NULL_COLOR,selectionForeground:s.NULL_COLOR,selectionBackgroundTransparent:s.NULL_COLOR,selectionBackgroundOpaque:s.NULL_COLOR,selectionInactiveBackgroundTransparent:s.NULL_COLOR,selectionInactiveBackgroundOpaque:s.NULL_COLOR,ansi:n.ansi.slice(),contrastCache:n.contrastCache};return{customGlyphs:o.customGlyphs,devicePixelRatio:a,letterSpacing:o.letterSpacing,lineHeight:o.lineHeight,deviceCellWidth:e,deviceCellHeight:t,deviceCharWidth:i,deviceCharHeight:r,fontFamily:o.fontFamily,fontSize:o.fontSize,fontWeight:o.fontWeight,fontWeightBold:o.fontWeightBold,allowTransparency:o.allowTransparency,drawBoldTextInBrightColors:o.drawBoldTextInBrightColors,minimumContrastRatio:o.minimumContrastRatio,colors:h}},t.configEquals=function(e,t){for(let i=0;i<e.colors.ansi.length;i++)if(e.colors.ansi[i].rgba!==t.colors.ansi[i].rgba)return!1;return e.devicePixelRatio===t.devicePixelRatio&&e.customGlyphs===t.customGlyphs&&e.lineHeight===t.lineHeight&&e.letterSpacing===t.letterSpacing&&e.fontFamily===t.fontFamily&&e.fontSize===t.fontSize&&e.fontWeight===t.fontWeight&&e.fontWeightBold===t.fontWeightBold&&e.allowTransparency===t.allowTransparency&&e.deviceCharWidth===t.deviceCharWidth&&e.deviceCharHeight===t.deviceCharHeight&&e.drawBoldTextInBrightColors===t.drawBoldTextInBrightColors&&e.minimumContrastRatio===t.minimumContrastRatio&&e.colors.foreground.rgba===t.colors.foreground.rgba&&e.colors.background.rgba===t.colors.background.rgba},t.is256Color=function(e){return 16777216==(50331648&e)||33554432==(50331648&e)}},237:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TEXT_BASELINE=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0;const s=i(399);t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.TEXT_BASELINE=s.isFirefox||s.isLegacyEdge?"bottom":"ideographic"},860:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tryDrawCustomChar=t.powerlineDefinitions=t.boxDrawingDefinitions=t.blockElementDefinitions=void 0;const s=i(374);t.blockElementDefinitions={"▀":[{x:0,y:0,w:8,h:4}],"▁":[{x:0,y:7,w:8,h:1}],"▂":[{x:0,y:6,w:8,h:2}],"▃":[{x:0,y:5,w:8,h:3}],"▄":[{x:0,y:4,w:8,h:4}],"▅":[{x:0,y:3,w:8,h:5}],"▆":[{x:0,y:2,w:8,h:6}],"▇":[{x:0,y:1,w:8,h:7}],"█":[{x:0,y:0,w:8,h:8}],"▉":[{x:0,y:0,w:7,h:8}],"▊":[{x:0,y:0,w:6,h:8}],"▋":[{x:0,y:0,w:5,h:8}],"▌":[{x:0,y:0,w:4,h:8}],"▍":[{x:0,y:0,w:3,h:8}],"▎":[{x:0,y:0,w:2,h:8}],"▏":[{x:0,y:0,w:1,h:8}],"▐":[{x:4,y:0,w:4,h:8}],"▔":[{x:0,y:0,w:8,h:1}],"▕":[{x:7,y:0,w:1,h:8}],"▖":[{x:0,y:4,w:4,h:4}],"▗":[{x:4,y:4,w:4,h:4}],"▘":[{x:0,y:0,w:4,h:4}],"▙":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"▚":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"▛":[{x:0,y:0,w:4,h:8},{x:4,y:0,w:4,h:4}],"▜":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"▝":[{x:4,y:0,w:4,h:4}],"▞":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"▟":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"🭰":[{x:1,y:0,w:1,h:8}],"🭱":[{x:2,y:0,w:1,h:8}],"🭲":[{x:3,y:0,w:1,h:8}],"🭳":[{x:4,y:0,w:1,h:8}],"🭴":[{x:5,y:0,w:1,h:8}],"🭵":[{x:6,y:0,w:1,h:8}],"🭶":[{x:0,y:1,w:8,h:1}],"🭷":[{x:0,y:2,w:8,h:1}],"🭸":[{x:0,y:3,w:8,h:1}],"🭹":[{x:0,y:4,w:8,h:1}],"🭺":[{x:0,y:5,w:8,h:1}],"🭻":[{x:0,y:6,w:8,h:1}],"🭼":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🭽":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭾":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭿":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🮀":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮁":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮂":[{x:0,y:0,w:8,h:2}],"🮃":[{x:0,y:0,w:8,h:3}],"🮄":[{x:0,y:0,w:8,h:5}],"🮅":[{x:0,y:0,w:8,h:6}],"🮆":[{x:0,y:0,w:8,h:7}],"🮇":[{x:6,y:0,w:2,h:8}],"🮈":[{x:5,y:0,w:3,h:8}],"🮉":[{x:3,y:0,w:5,h:8}],"🮊":[{x:2,y:0,w:6,h:8}],"🮋":[{x:1,y:0,w:7,h:8}],"🮕":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"🮖":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"🮗":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};const r={"░":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"▒":[[1,0],[0,0],[0,1],[0,0]],"▓":[[0,1],[1,1],[1,0],[1,1]]};t.boxDrawingDefinitions={"─":{1:"M0,.5 L1,.5"},"━":{3:"M0,.5 L1,.5"},"│":{1:"M.5,0 L.5,1"},"┃":{3:"M.5,0 L.5,1"},"┌":{1:"M0.5,1 L.5,.5 L1,.5"},"┏":{3:"M0.5,1 L.5,.5 L1,.5"},"┐":{1:"M0,.5 L.5,.5 L.5,1"},"┓":{3:"M0,.5 L.5,.5 L.5,1"},"└":{1:"M.5,0 L.5,.5 L1,.5"},"┗":{3:"M.5,0 L.5,.5 L1,.5"},"┘":{1:"M.5,0 L.5,.5 L0,.5"},"┛":{3:"M.5,0 L.5,.5 L0,.5"},"├":{1:"M.5,0 L.5,1 M.5,.5 L1,.5"},"┣":{3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"┤":{1:"M.5,0 L.5,1 M.5,.5 L0,.5"},"┫":{3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"┬":{1:"M0,.5 L1,.5 M.5,.5 L.5,1"},"┳":{3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"┴":{1:"M0,.5 L1,.5 M.5,.5 L.5,0"},"┻":{3:"M0,.5 L1,.5 M.5,.5 L.5,0"},"┼":{1:"M0,.5 L1,.5 M.5,0 L.5,1"},"╋":{3:"M0,.5 L1,.5 M.5,0 L.5,1"},"╴":{1:"M.5,.5 L0,.5"},"╸":{3:"M.5,.5 L0,.5"},"╵":{1:"M.5,.5 L.5,0"},"╹":{3:"M.5,.5 L.5,0"},"╶":{1:"M.5,.5 L1,.5"},"╺":{3:"M.5,.5 L1,.5"},"╷":{1:"M.5,.5 L.5,1"},"╻":{3:"M.5,.5 L.5,1"},"═":{1:(e,t)=>`M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t}`},"║":{1:(e,t)=>`M${.5-e},0 L${.5-e},1 M${.5+e},0 L${.5+e},1`},"╒":{1:(e,t)=>`M.5,1 L.5,${.5-t} L1,${.5-t} M.5,${.5+t} L1,${.5+t}`},"╓":{1:(e,t)=>`M${.5-e},1 L${.5-e},.5 L1,.5 M${.5+e},.5 L${.5+e},1`},"╔":{1:(e,t)=>`M1,${.5-t} L${.5-e},${.5-t} L${.5-e},1 M1,${.5+t} L${.5+e},${.5+t} L${.5+e},1`},"╕":{1:(e,t)=>`M0,${.5-t} L.5,${.5-t} L.5,1 M0,${.5+t} L.5,${.5+t}`},"╖":{1:(e,t)=>`M${.5+e},1 L${.5+e},.5 L0,.5 M${.5-e},.5 L${.5-e},1`},"╗":{1:(e,t)=>`M0,${.5+t} L${.5-e},${.5+t} L${.5-e},1 M0,${.5-t} L${.5+e},${.5-t} L${.5+e},1`},"╘":{1:(e,t)=>`M.5,0 L.5,${.5+t} L1,${.5+t} M.5,${.5-t} L1,${.5-t}`},"╙":{1:(e,t)=>`M1,.5 L${.5-e},.5 L${.5-e},0 M${.5+e},.5 L${.5+e},0`},"╚":{1:(e,t)=>`M1,${.5-t} L${.5+e},${.5-t} L${.5+e},0 M1,${.5+t} L${.5-e},${.5+t} L${.5-e},0`},"╛":{1:(e,t)=>`M0,${.5+t} L.5,${.5+t} L.5,0 M0,${.5-t} L.5,${.5-t}`},"╜":{1:(e,t)=>`M0,.5 L${.5+e},.5 L${.5+e},0 M${.5-e},.5 L${.5-e},0`},"╝":{1:(e,t)=>`M0,${.5-t} L${.5-e},${.5-t} L${.5-e},0 M0,${.5+t} L${.5+e},${.5+t} L${.5+e},0`},"╞":{1:(e,t)=>`M.5,0 L.5,1 M.5,${.5-t} L1,${.5-t} M.5,${.5+t} L1,${.5+t}`},"╟":{1:(e,t)=>`M${.5-e},0 L${.5-e},1 M${.5+e},0 L${.5+e},1 M${.5+e},.5 L1,.5`},"╠":{1:(e,t)=>`M${.5-e},0 L${.5-e},1 M1,${.5+t} L${.5+e},${.5+t} L${.5+e},1 M1,${.5-t} L${.5+e},${.5-t} L${.5+e},0`},"╡":{1:(e,t)=>`M.5,0 L.5,1 M0,${.5-t} L.5,${.5-t} M0,${.5+t} L.5,${.5+t}`},"╢":{1:(e,t)=>`M0,.5 L${.5-e},.5 M${.5-e},0 L${.5-e},1 M${.5+e},0 L${.5+e},1`},"╣":{1:(e,t)=>`M${.5+e},0 L${.5+e},1 M0,${.5+t} L${.5-e},${.5+t} L${.5-e},1 M0,${.5-t} L${.5-e},${.5-t} L${.5-e},0`},"╤":{1:(e,t)=>`M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t} M.5,${.5+t} L.5,1`},"╥":{1:(e,t)=>`M0,.5 L1,.5 M${.5-e},.5 L${.5-e},1 M${.5+e},.5 L${.5+e},1`},"╦":{1:(e,t)=>`M0,${.5-t} L1,${.5-t} M0,${.5+t} L${.5-e},${.5+t} L${.5-e},1 M1,${.5+t} L${.5+e},${.5+t} L${.5+e},1`},"╧":{1:(e,t)=>`M.5,0 L.5,${.5-t} M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t}`},"╨":{1:(e,t)=>`M0,.5 L1,.5 M${.5-e},.5 L${.5-e},0 M${.5+e},.5 L${.5+e},0`},"╩":{1:(e,t)=>`M0,${.5+t} L1,${.5+t} M0,${.5-t} L${.5-e},${.5-t} L${.5-e},0 M1,${.5-t} L${.5+e},${.5-t} L${.5+e},0`},"╪":{1:(e,t)=>`M.5,0 L.5,1 M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t}`},"╫":{1:(e,t)=>`M0,.5 L1,.5 M${.5-e},0 L${.5-e},1 M${.5+e},0 L${.5+e},1`},"╬":{1:(e,t)=>`M0,${.5+t} L${.5-e},${.5+t} L${.5-e},1 M1,${.5+t} L${.5+e},${.5+t} L${.5+e},1 M0,${.5-t} L${.5-e},${.5-t} L${.5-e},0 M1,${.5-t} L${.5+e},${.5-t} L${.5+e},0`},"╱":{1:"M1,0 L0,1"},"╲":{1:"M0,0 L1,1"},"╳":{1:"M1,0 L0,1 M0,0 L1,1"},"╼":{1:"M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"╽":{1:"M.5,.5 L.5,0",3:"M.5,.5 L.5,1"},"╾":{1:"M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"╿":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"┍":{1:"M.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"┎":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"┑":{1:"M.5,.5 L.5,1",3:"M.5,.5 L0,.5"},"┒":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"┕":{1:"M.5,.5 L.5,0",3:"M.5,.5 L1,.5"},"┖":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"┙":{1:"M.5,.5 L.5,0",3:"M.5,.5 L0,.5"},"┚":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,0"},"┝":{1:"M.5,0 L.5,1",3:"M.5,.5 L1,.5"},"┞":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"┟":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"┠":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1"},"┡":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"┢":{1:"M.5,.5 L.5,0",3:"M0.5,1 L.5,.5 L1,.5"},"┥":{1:"M.5,0 L.5,1",3:"M.5,.5 L0,.5"},"┦":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"┧":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"┨":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1"},"┩":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L0,.5"},"┪":{1:"M.5,.5 L.5,0",3:"M0,.5 L.5,.5 L.5,1"},"┭":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┮":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"┯":{1:"M.5,.5 L.5,1",3:"M0,.5 L1,.5"},"┰":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"┱":{1:"M.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"┲":{1:"M.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"┵":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┶":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"┷":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5"},"┸":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,0"},"┹":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"┺":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,.5 L1,.5"},"┽":{1:"M.5,0 L.5,1 M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┾":{1:"M.5,0 L.5,1 M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"┿":{1:"M.5,0 L.5,1",3:"M0,.5 L1,.5"},"╀":{1:"M0,.5 L1,.5 M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"╁":{1:"M.5,.5 L.5,0 M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"╂":{1:"M0,.5 L1,.5",3:"M.5,0 L.5,1"},"╃":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"╄":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"╅":{1:"M.5,0 L.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"╆":{1:"M.5,0 L.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"╇":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0 M0,.5 L1,.5"},"╈":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"╉":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"╊":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"╌":{1:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"╍":{3:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"┄":{1:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"┅":{3:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"┈":{1:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"┉":{3:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"╎":{1:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"╏":{3:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"┆":{1:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"┇":{3:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"┊":{1:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"┋":{3:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"╭":{1:(e,t)=>`M.5,1 L.5,${.5+t/.15*.5} C.5,${.5+t/.15*.5},.5,.5,1,.5`},"╮":{1:(e,t)=>`M.5,1 L.5,${.5+t/.15*.5} C.5,${.5+t/.15*.5},.5,.5,0,.5`},"╯":{1:(e,t)=>`M.5,0 L.5,${.5-t/.15*.5} C.5,${.5-t/.15*.5},.5,.5,0,.5`},"╰":{1:(e,t)=>`M.5,0 L.5,${.5-t/.15*.5} C.5,${.5-t/.15*.5},.5,.5,1,.5`}},t.powerlineDefinitions={"":{d:"M0,0 L1,.5 L0,1",type:0,rightPadding:2},"":{d:"M-1,-.5 L1,.5 L-1,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M1,0 L0,.5 L1,1",type:0,leftPadding:2},"":{d:"M2,-.5 L0,.5 L2,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M0,0 L0,1 C0.552,1,1,0.776,1,.5 C1,0.224,0.552,0,0,0",type:0,rightPadding:1},"":{d:"M0,1 C0.552,1,1,0.776,1,.5 C1,0.224,0.552,0,0,0",type:1,rightPadding:1},"":{d:"M1,0 L1,1 C0.448,1,0,0.776,0,.5 C0,0.224,0.448,0,1,0",type:0,leftPadding:1},"":{d:"M1,1 C0.448,1,0,0.776,0,.5 C0,0.224,0.448,0,1,0",type:1,leftPadding:1},"":{d:"M-.5,-.5 L1.5,1.5 L-.5,1.5",type:0},"":{d:"M-.5,-.5 L1.5,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M1.5,-.5 L-.5,1.5 L1.5,1.5",type:0},"":{d:"M1.5,-.5 L-.5,1.5 L-.5,-.5",type:0},"":{d:"M1.5,-.5 L-.5,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M-.5,-.5 L1.5,1.5 L1.5,-.5",type:0}},t.powerlineDefinitions[""]=t.powerlineDefinitions[""],t.powerlineDefinitions[""]=t.powerlineDefinitions[""],t.tryDrawCustomChar=function(e,i,n,l,c,d,_,u){const g=t.blockElementDefinitions[i];if(g)return function(e,t,i,s,r,o){for(let n=0;n<t.length;n++){const a=t[n],h=r/8,l=o/8;e.fillRect(i+a.x*h,s+a.y*l,a.w*h,a.h*l)}}(e,g,n,l,c,d),!0;const v=r[i];if(v)return function(e,t,i,r,n,a){let h=o.get(t);h||(h=new Map,o.set(t,h));const l=e.fillStyle;if("string"!=typeof l)throw new Error(`Unexpected fillStyle type "${l}"`);let c=h.get(l);if(!c){const i=t[0].length,r=t.length,o=document.createElement("canvas");o.width=i,o.height=r;const n=(0,s.throwIfFalsy)(o.getContext("2d")),a=new ImageData(i,r);let d,_,u,g;if(l.startsWith("#"))d=parseInt(l.slice(1,3),16),_=parseInt(l.slice(3,5),16),u=parseInt(l.slice(5,7),16),g=l.length>7&&parseInt(l.slice(7,9),16)||1;else{if(!l.startsWith("rgba"))throw new Error(`Unexpected fillStyle color format "${l}" when drawing pattern glyph`);[d,_,u,g]=l.substring(5,l.length-1).split(",").map((e=>parseFloat(e)))}for(let e=0;e<r;e++)for(let s=0;s<i;s++)a.data[4*(e*i+s)]=d,a.data[4*(e*i+s)+1]=_,a.data[4*(e*i+s)+2]=u,a.data[4*(e*i+s)+3]=t[e][s]*(255*g);n.putImageData(a,0,0),c=(0,s.throwIfFalsy)(e.createPattern(o,null)),h.set(l,c)}e.fillStyle=c,e.fillRect(i,r,n,a)}(e,v,n,l,c,d),!0;const f=t.boxDrawingDefinitions[i];if(f)return function(e,t,i,s,r,o,n){e.strokeStyle=e.fillStyle;for(const[l,c]of Object.entries(t)){let t;e.beginPath(),e.lineWidth=n*Number.parseInt(l),t="function"==typeof c?c(.15,.15/o*r):c;for(const l of t.split(" ")){const t=l[0],c=a[t];if(!c){console.error(`Could not find drawing instructions for "${t}"`);continue}const d=l.substring(1).split(",");d[0]&&d[1]&&c(e,h(d,r,o,i,s,!0,n))}e.stroke(),e.closePath()}}(e,f,n,l,c,d,u),!0;const C=t.powerlineDefinitions[i];return!!C&&(function(e,t,i,s,r,o,n,l){var c,d;const _=new Path2D;_.rect(i,s,r,o),e.clip(_),e.beginPath();const u=n/12;e.lineWidth=l*u;for(const g of t.d.split(" ")){const n=g[0],_=a[n];if(!_){console.error(`Could not find drawing instructions for "${n}"`);continue}const v=g.substring(1).split(",");v[0]&&v[1]&&_(e,h(v,r,o,i,s,!1,l,(null!==(c=t.leftPadding)&&void 0!==c?c:0)*(u/2),(null!==(d=t.rightPadding)&&void 0!==d?d:0)*(u/2)))}1===t.type?(e.strokeStyle=e.fillStyle,e.stroke()):e.fill(),e.closePath()}(e,C,n,l,c,d,_,u),!0)};const o=new Map;function n(e,t,i=0){return Math.max(Math.min(e,t),i)}const a={C:(e,t)=>e.bezierCurveTo(t[0],t[1],t[2],t[3],t[4],t[5]),L:(e,t)=>e.lineTo(t[0],t[1]),M:(e,t)=>e.moveTo(t[0],t[1])};function h(e,t,i,s,r,o,a,h=0,l=0){const c=e.map((e=>parseFloat(e)||parseInt(e)));if(c.length<2)throw new Error("Too few arguments for instruction");for(let d=0;d<c.length;d+=2)c[d]*=t-h*a-l*a,o&&0!==c[d]&&(c[d]=n(Math.round(c[d]+.5)-.5,t,0)),c[d]+=s+h*a;for(let d=1;d<c.length;d+=2)c[d]*=i,o&&0!==c[d]&&(c[d]=n(Math.round(c[d]+.5)-.5,i,0)),c[d]+=r;return c}},56:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.observeDevicePixelDimensions=void 0;const s=i(859);t.observeDevicePixelDimensions=function(e,t,i){let r=new t.ResizeObserver((t=>{const s=t.find((t=>t.target===e));if(!s)return;if(!("devicePixelContentBoxSize"in s))return null==r||r.disconnect(),void(r=void 0);const o=s.devicePixelContentBoxSize[0].inlineSize,n=s.devicePixelContentBoxSize[0].blockSize;o>0&&n>0&&i(o,n)}));try{r.observe(e,{box:["device-pixel-content-box"]})}catch(e){r.disconnect(),r=void 0}return(0,s.toDisposable)((()=>null==r?void 0:r.disconnect()))}},374:(e,t)=>{function i(e){return 57508<=e&&e<=57558}Object.defineProperty(t,"__esModule",{value:!0}),t.createRenderDimensions=t.excludeFromContrastRatioDemands=t.isRestrictedPowerlineGlyph=t.isPowerlineGlyph=t.throwIfFalsy=void 0,t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e},t.isPowerlineGlyph=i,t.isRestrictedPowerlineGlyph=function(e){return 57520<=e&&e<=57527},t.excludeFromContrastRatioDemands=function(e){return i(e)||function(e){return 9472<=e&&e<=9631}(e)},t.createRenderDimensions=function(){return{css:{canvas:{width:0,height:0},cell:{width:0,height:0}},device:{canvas:{width:0,height:0},cell:{width:0,height:0},char:{width:0,height:0,left:0,top:0}}}}},296:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createSelectionRenderModel=void 0;class i{constructor(){this.clear()}clear(){this.hasSelection=!1,this.columnSelectMode=!1,this.viewportStartRow=0,this.viewportEndRow=0,this.viewportCappedStartRow=0,this.viewportCappedEndRow=0,this.startCol=0,this.endCol=0,this.selectionStart=void 0,this.selectionEnd=void 0}update(e,t,i,s=!1){if(this.selectionStart=t,this.selectionEnd=i,!t||!i||t[0]===i[0]&&t[1]===i[1])return void this.clear();const r=t[1]-e.buffer.active.viewportY,o=i[1]-e.buffer.active.viewportY,n=Math.max(r,0),a=Math.min(o,e.rows-1);n>=e.rows||a<0?this.clear():(this.hasSelection=!0,this.columnSelectMode=s,this.viewportStartRow=r,this.viewportEndRow=o,this.viewportCappedStartRow=n,this.viewportCappedEndRow=a,this.startCol=t[0],this.endCol=i[0])}isCellSelected(e,t,i){return!!this.hasSelection&&(i-=e.buffer.active.viewportY,this.columnSelectMode?this.startCol<=this.endCol?t>=this.startCol&&i>=this.viewportCappedStartRow&&t<this.endCol&&i<=this.viewportCappedEndRow:t<this.startCol&&i>=this.viewportCappedStartRow&&t>=this.endCol&&i<=this.viewportCappedEndRow:i>this.viewportStartRow&&i<this.viewportEndRow||this.viewportStartRow===this.viewportEndRow&&i===this.viewportStartRow&&t>=this.startCol&&t<this.endCol||this.viewportStartRow<this.viewportEndRow&&i===this.viewportEndRow&&t<this.endCol||this.viewportStartRow<this.viewportEndRow&&i===this.viewportStartRow&&t>=this.startCol)}}t.createSelectionRenderModel=function(){return new i}},509:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextureAtlas=void 0;const s=i(237),r=i(855),o=i(147),n=i(160),a=i(860),h=i(374),l=i(485),c=i(385),d=i(345),_={texturePage:0,texturePosition:{x:0,y:0},texturePositionClipSpace:{x:0,y:0},offset:{x:0,y:0},size:{x:0,y:0},sizeClipSpace:{x:0,y:0}};let u;class g{constructor(e,t,i){this._document=e,this._config=t,this._unicodeService=i,this._didWarmUp=!1,this._cacheMap=new l.FourKeyMap,this._cacheMapCombined=new l.FourKeyMap,this._pages=[],this._activePages=[],this._workBoundingBox={top:0,left:0,bottom:0,right:0},this._workAttributeData=new o.AttributeData,this._textureSize=512,this._onAddTextureAtlasCanvas=new d.EventEmitter,this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event,this._onRemoveTextureAtlasCanvas=new d.EventEmitter,this.onRemoveTextureAtlasCanvas=this._onRemoveTextureAtlasCanvas.event,this._requestClearModel=!1,this._createNewPage(),this._tmpCanvas=C(e,4*this._config.deviceCellWidth+4,this._config.deviceCellHeight+4),this._tmpCtx=(0,h.throwIfFalsy)(this._tmpCanvas.getContext("2d",{alpha:this._config.allowTransparency,willReadFrequently:!0}))}get pages(){return this._pages}dispose(){for(const e of this.pages)e.canvas.remove();this._onAddTextureAtlasCanvas.dispose()}warmUp(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)}_doWarmUp(){const e=new c.IdleTaskQueue;for(let t=33;t<126;t++)e.enqueue((()=>{if(!this._cacheMap.get(t,r.DEFAULT_COLOR,r.DEFAULT_COLOR,r.DEFAULT_EXT)){const e=this._drawToCache(t,r.DEFAULT_COLOR,r.DEFAULT_COLOR,r.DEFAULT_EXT);this._cacheMap.set(t,r.DEFAULT_COLOR,r.DEFAULT_COLOR,r.DEFAULT_EXT,e)}}))}beginFrame(){return this._requestClearModel}clearTexture(){if(0!==this._pages[0].currentRow.x||0!==this._pages[0].currentRow.y){for(const e of this._pages)e.clear();this._cacheMap.clear(),this._cacheMapCombined.clear(),this._didWarmUp=!1}}_createNewPage(){g.maxAtlasPages&&this._pages.length>=Math.max(4,g.maxAtlasPages/2)&&queueMicrotask((()=>{const e=this._pages.filter((e=>2*e.canvas.width<=(g.maxTextureSize||4096))).sort(((e,t)=>t.canvas.width!==e.canvas.width?t.canvas.width-e.canvas.width:t.percentageUsed-e.percentageUsed));let t=-1,i=0;for(let a=0;a<e.length;a++)if(e[a].canvas.width!==i)t=a,i=e[a].canvas.width;else if(a-t==3)break;const s=e.slice(t,t+4),r=s.map((e=>e.glyphs[0].texturePage)).sort(((e,t)=>e>t?1:-1)),o=r[0],n=this._mergePages(s,o);n.version++,this._pages[o]=n;for(let a=r.length-1;a>=1;a--)this._deletePage(r[a]);this._requestClearModel=!0,this._onAddTextureAtlasCanvas.fire(n.canvas)}));const e=new v(this._document,this._textureSize);return this._pages.push(e),this._activePages.push(e),this._onAddTextureAtlasCanvas.fire(e.canvas),e}_mergePages(e,t){const i=2*e[0].canvas.width,s=new v(this._document,i,e);for(const[r,o]of e.entries()){const e=r*o.canvas.width%i,n=Math.floor(r/2)*o.canvas.height;s.ctx.drawImage(o.canvas,e,n);for(const s of o.glyphs)s.texturePage=t,s.sizeClipSpace.x=s.size.x/i,s.sizeClipSpace.y=s.size.y/i,s.texturePosition.x+=e,s.texturePosition.y+=n,s.texturePositionClipSpace.x=s.texturePosition.x/i,s.texturePositionClipSpace.y=s.texturePosition.y/i;this._onRemoveTextureAtlasCanvas.fire(o.canvas);const a=this._activePages.indexOf(o);-1!==a&&this._activePages.splice(a,1)}return s}_deletePage(e){this._pages.splice(e,1);for(let t=e;t<this._pages.length;t++){const e=this._pages[t];for(const t of e.glyphs)t.texturePage--;e.version++}}getRasterizedGlyphCombinedChar(e,t,i,s){return this._getFromCacheMap(this._cacheMapCombined,e,t,i,s)}getRasterizedGlyph(e,t,i,s){return this._getFromCacheMap(this._cacheMap,e,t,i,s)}_getFromCacheMap(e,t,i,s,r){return u=e.get(t,i,s,r),u||(u=this._drawToCache(t,i,s,r),e.set(t,i,s,r,u)),u}_getColorFromAnsiIndex(e){if(e>=this._config.colors.ansi.length)throw new Error("No color found for idx "+e);return this._config.colors.ansi[e]}_getBackgroundColor(e,t,i,r){if(this._config.allowTransparency)return n.NULL_COLOR;let a;switch(e){case 16777216:case 33554432:a=this._getColorFromAnsiIndex(t);break;case 50331648:const e=o.AttributeData.toColorRGB(t);a=n.rgba.toColor(e[0],e[1],e[2]);break;default:a=i?this._config.colors.foreground:this._config.colors.background}return r&&(a=n.color.blend(this._config.colors.background,n.color.multiplyOpacity(a,s.DIM_OPACITY))),a}_getForegroundColor(e,t,i,r,a,h,l,c,d,_){const u=this._getMinimumContrastColor(e,t,i,r,a,h,!1,d,_);if(u)return u;let g;switch(a){case 16777216:case 33554432:this._config.drawBoldTextInBrightColors&&d&&h<8&&(h+=8),g=this._getColorFromAnsiIndex(h);break;case 50331648:const e=o.AttributeData.toColorRGB(h);g=n.rgba.toColor(e[0],e[1],e[2]);break;default:g=l?this._config.colors.background:this._config.colors.foreground}return this._config.allowTransparency&&(g=n.color.opaque(g)),c&&(g=n.color.multiplyOpacity(g,s.DIM_OPACITY)),g}_resolveBackgroundRgba(e,t,i){switch(e){case 16777216:case 33554432:return this._getColorFromAnsiIndex(t).rgba;case 50331648:return t<<8;default:return i?this._config.colors.foreground.rgba:this._config.colors.background.rgba}}_resolveForegroundRgba(e,t,i,s){switch(e){case 16777216:case 33554432:return this._config.drawBoldTextInBrightColors&&s&&t<8&&(t+=8),this._getColorFromAnsiIndex(t).rgba;case 50331648:return t<<8;default:return i?this._config.colors.background.rgba:this._config.colors.foreground.rgba}}_getMinimumContrastColor(e,t,i,s,r,o,a,h,l){if(1===this._config.minimumContrastRatio||l)return;const c=this._config.colors.contrastCache.getColor(e,s);if(void 0!==c)return c||void 0;const d=this._resolveBackgroundRgba(t,i,a),_=this._resolveForegroundRgba(r,o,a,h),u=n.rgba.ensureContrastRatio(d,_,this._config.minimumContrastRatio);if(!u)return void this._config.colors.contrastCache.setColor(e,s,null);const g=n.rgba.toColor(u>>24&255,u>>16&255,u>>8&255);return this._config.colors.contrastCache.setColor(e,s,g),g}_drawToCache(e,t,i,r){const n="number"==typeof e?String.fromCharCode(e):e,l=this._config.deviceCellWidth*Math.max(n.length,2)+4;this._tmpCanvas.width<l&&(this._tmpCanvas.width=l);const c=this._config.deviceCellHeight+8;if(this._tmpCanvas.height<c&&(this._tmpCanvas.height=c),this._tmpCtx.save(),this._workAttributeData.fg=i,this._workAttributeData.bg=t,this._workAttributeData.extended.ext=r,this._workAttributeData.isInvisible())return _;const d=!!this._workAttributeData.isBold(),u=!!this._workAttributeData.isInverse(),g=!!this._workAttributeData.isDim(),v=!!this._workAttributeData.isItalic(),C=!!this._workAttributeData.isUnderline(),p=!!this._workAttributeData.isStrikethrough();let m=this._workAttributeData.getFgColor(),x=this._workAttributeData.getFgColorMode(),L=this._workAttributeData.getBgColor(),w=this._workAttributeData.getBgColorMode();if(u){const e=m;m=L,L=e;const t=x;x=w,w=t}const b=this._getBackgroundColor(w,L,u,g);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=b.css,this._tmpCtx.fillRect(0,0,this._tmpCanvas.width,this._tmpCanvas.height),this._tmpCtx.globalCompositeOperation="source-over";const M=d?this._config.fontWeightBold:this._config.fontWeight,R=v?"italic":"";this._tmpCtx.font=`${R} ${M} ${this._config.fontSize*this._config.devicePixelRatio}px ${this._config.fontFamily}`,this._tmpCtx.textBaseline=s.TEXT_BASELINE;const y=1===n.length&&(0,h.isPowerlineGlyph)(n.charCodeAt(0)),A=1===n.length&&(0,h.isRestrictedPowerlineGlyph)(n.charCodeAt(0)),E=this._getForegroundColor(t,w,L,i,x,m,u,g,d,(0,h.excludeFromContrastRatioDemands)(n.charCodeAt(0)));this._tmpCtx.fillStyle=E.css;const T=A?0:4;let S=!1;!1!==this._config.customGlyphs&&(S=(0,a.tryDrawCustomChar)(this._tmpCtx,n,T,T,this._config.deviceCellWidth,this._config.deviceCellHeight,this._config.fontSize,this._config.devicePixelRatio));let D,B=!y;if(D="number"==typeof e?this._unicodeService.wcwidth(e):this._unicodeService.getStringCellWidth(e),C){this._tmpCtx.save();const e=Math.max(1,Math.floor(this._config.fontSize*this._config.devicePixelRatio/15)),t=e%2==1?.5:0;if(this._tmpCtx.lineWidth=e,this._workAttributeData.isUnderlineColorDefault())this._tmpCtx.strokeStyle=this._tmpCtx.fillStyle;else if(this._workAttributeData.isUnderlineColorRGB())B=!1,this._tmpCtx.strokeStyle=`rgb(${o.AttributeData.toColorRGB(this._workAttributeData.getUnderlineColor()).join(",")})`;else{B=!1;let e=this._workAttributeData.getUnderlineColor();this._config.drawBoldTextInBrightColors&&this._workAttributeData.isBold()&&e<8&&(e+=8),this._tmpCtx.strokeStyle=this._getColorFromAnsiIndex(e).css}this._tmpCtx.beginPath();const i=T,s=Math.ceil(T+this._config.deviceCharHeight)-t,r=T+this._config.deviceCharHeight+e-t,a=Math.ceil(T+this._config.deviceCharHeight+2*e)-t;for(let o=0;o<D;o++){this._tmpCtx.save();const n=i+o*this._config.deviceCellWidth,h=i+(o+1)*this._config.deviceCellWidth,l=n+this._config.deviceCellWidth/2;switch(this._workAttributeData.extended.underlineStyle){case 2:this._tmpCtx.moveTo(n,s),this._tmpCtx.lineTo(h,s),this._tmpCtx.moveTo(n,a),this._tmpCtx.lineTo(h,a);break;case 3:const i=e<=1?a:Math.ceil(T+this._config.deviceCharHeight-e/2)-t,o=e<=1?s:Math.ceil(T+this._config.deviceCharHeight+e/2)-t,c=new Path2D;c.rect(n,s,this._config.deviceCellWidth,a-s),this._tmpCtx.clip(c),this._tmpCtx.moveTo(n-this._config.deviceCellWidth/2,r),this._tmpCtx.bezierCurveTo(n-this._config.deviceCellWidth/2,o,n,o,n,r),this._tmpCtx.bezierCurveTo(n,i,l,i,l,r),this._tmpCtx.bezierCurveTo(l,o,h,o,h,r),this._tmpCtx.bezierCurveTo(h,i,h+this._config.deviceCellWidth/2,i,h+this._config.deviceCellWidth/2,r);break;case 4:this._tmpCtx.setLineDash([2*this._config.devicePixelRatio,this._config.devicePixelRatio]),this._tmpCtx.moveTo(n,s),this._tmpCtx.lineTo(h,s);break;case 5:this._tmpCtx.setLineDash([4*this._config.devicePixelRatio,3*this._config.devicePixelRatio]),this._tmpCtx.moveTo(n,s),this._tmpCtx.lineTo(h,s);break;default:this._tmpCtx.moveTo(n,s),this._tmpCtx.lineTo(h,s)}this._tmpCtx.stroke(),this._tmpCtx.restore()}if(this._tmpCtx.restore(),!S&&this._config.fontSize>=12&&!this._config.allowTransparency&&" "!==n){this._tmpCtx.save(),this._tmpCtx.textBaseline="alphabetic";const t=this._tmpCtx.measureText(n);if(this._tmpCtx.restore(),"actualBoundingBoxDescent"in t&&t.actualBoundingBoxDescent>0){this._tmpCtx.save();const t=new Path2D;t.rect(i,s-Math.ceil(e/2),this._config.deviceCellWidth,a-s+Math.ceil(e/2)),this._tmpCtx.clip(t),this._tmpCtx.lineWidth=3*this._config.devicePixelRatio,this._tmpCtx.strokeStyle=b.css,this._tmpCtx.strokeText(n,T,T+this._config.deviceCharHeight),this._tmpCtx.restore()}}}if(S||this._tmpCtx.fillText(n,T,T+this._config.deviceCharHeight),"_"===n&&!this._config.allowTransparency){let e=f(this._tmpCtx.getImageData(T,T,this._config.deviceCellWidth,this._config.deviceCellHeight),b,E,B);if(e)for(let t=1;t<=5&&(this._tmpCtx.save(),this._tmpCtx.fillStyle=b.css,this._tmpCtx.fillRect(0,0,this._tmpCanvas.width,this._tmpCanvas.height),this._tmpCtx.restore(),this._tmpCtx.fillText(n,T,T+this._config.deviceCharHeight-t),e=f(this._tmpCtx.getImageData(T,T,this._config.deviceCellWidth,this._config.deviceCellHeight),b,E,B),e);t++);}if(p){const e=Math.max(1,Math.floor(this._config.fontSize*this._config.devicePixelRatio/10)),t=this._tmpCtx.lineWidth%2==1?.5:0;this._tmpCtx.lineWidth=e,this._tmpCtx.strokeStyle=this._tmpCtx.fillStyle,this._tmpCtx.beginPath(),this._tmpCtx.moveTo(T,T+Math.floor(this._config.deviceCharHeight/2)-t),this._tmpCtx.lineTo(T+this._config.deviceCharWidth*D,T+Math.floor(this._config.deviceCharHeight/2)-t),this._tmpCtx.stroke()}this._tmpCtx.restore();const P=this._tmpCtx.getImageData(0,0,this._tmpCanvas.width,this._tmpCanvas.height);let F;if(F=this._config.allowTransparency?function(e){for(let t=0;t<e.data.length;t+=4)if(e.data[t+3]>0)return!1;return!0}(P):f(P,b,E,B),F)return _;const I=this._findGlyphBoundingBox(P,this._workBoundingBox,l,A,S,T);let $,k;for(;;){if(0===this._activePages.length){const e=this._createNewPage();$=e,k=e.currentRow,k.height=I.size.y;break}$=this._activePages[this._activePages.length-1],k=$.currentRow;for(const e of this._activePages)I.size.y<=e.currentRow.height&&($=e,k=e.currentRow);for(let e=this._activePages.length-1;e>=0;e--)for(const t of this._activePages[e].fixedRows)t.height<=k.height&&I.size.y<=t.height&&($=this._activePages[e],k=t);if(k.y+I.size.y>=$.canvas.height||k.height>I.size.y+2){let e=!1;if($.currentRow.y+$.currentRow.height+I.size.y>=$.canvas.height){let t;for(const e of this._activePages)if(e.currentRow.y+e.currentRow.height+I.size.y<e.canvas.height){t=e;break}if(t)$=t;else{const t=this._createNewPage();$=t,k=t.currentRow,k.height=I.size.y,e=!0}}e||($.currentRow.height>0&&$.fixedRows.push($.currentRow),k={x:0,y:$.currentRow.y+$.currentRow.height,height:I.size.y},$.fixedRows.push(k),$.currentRow={x:0,y:k.y+k.height,height:0})}if(k.x+I.size.x<=$.canvas.width)break;k===$.currentRow?(k.x=0,k.y+=k.height,k.height=0):$.fixedRows.splice($.fixedRows.indexOf(k),1)}return I.texturePage=this._pages.indexOf($),I.texturePosition.x=k.x,I.texturePosition.y=k.y,I.texturePositionClipSpace.x=k.x/$.canvas.width,I.texturePositionClipSpace.y=k.y/$.canvas.height,I.sizeClipSpace.x/=$.canvas.width,I.sizeClipSpace.y/=$.canvas.height,k.height=Math.max(k.height,I.size.y),k.x+=I.size.x,$.ctx.putImageData(P,I.texturePosition.x-this._workBoundingBox.left,I.texturePosition.y-this._workBoundingBox.top,this._workBoundingBox.left,this._workBoundingBox.top,I.size.x,I.size.y),$.addGlyph(I),$.version++,I}_findGlyphBoundingBox(e,t,i,s,r,o){t.top=0;const n=s?this._config.deviceCellHeight:this._tmpCanvas.height,a=s?this._config.deviceCellWidth:i;let h=!1;for(let l=0;l<n;l++){for(let i=0;i<a;i++){const s=l*this._tmpCanvas.width*4+4*i+3;if(0!==e.data[s]){t.top=l,h=!0;break}}if(h)break}t.left=0,h=!1;for(let l=0;l<o+a;l++){for(let i=0;i<n;i++){const s=i*this._tmpCanvas.width*4+4*l+3;if(0!==e.data[s]){t.left=l,h=!0;break}}if(h)break}t.right=a,h=!1;for(let l=o+a-1;l>=o;l--){for(let i=0;i<n;i++){const s=i*this._tmpCanvas.width*4+4*l+3;if(0!==e.data[s]){t.right=l,h=!0;break}}if(h)break}t.bottom=n,h=!1;for(let l=n-1;l>=0;l--){for(let i=0;i<a;i++){const s=l*this._tmpCanvas.width*4+4*i+3;if(0!==e.data[s]){t.bottom=l,h=!0;break}}if(h)break}return{texturePage:0,texturePosition:{x:0,y:0},texturePositionClipSpace:{x:0,y:0},size:{x:t.right-t.left+1,y:t.bottom-t.top+1},sizeClipSpace:{x:t.right-t.left+1,y:t.bottom-t.top+1},offset:{x:-t.left+o+(s||r?Math.floor((this._config.deviceCellWidth-this._config.deviceCharWidth)/2):0),y:-t.top+o+(s||r?1===this._config.lineHeight?0:Math.round((this._config.deviceCellHeight-this._config.deviceCharHeight)/2):0)}}}}t.TextureAtlas=g;class v{constructor(e,t,i){if(this._usedPixels=0,this._glyphs=[],this.version=0,this.currentRow={x:0,y:0,height:0},this.fixedRows=[],i)for(const s of i)this._glyphs.push(...s.glyphs),this._usedPixels+=s._usedPixels;this.canvas=C(e,t,t),this.ctx=(0,h.throwIfFalsy)(this.canvas.getContext("2d",{alpha:!0}))}get percentageUsed(){return this._usedPixels/(this.canvas.width*this.canvas.height)}get glyphs(){return this._glyphs}addGlyph(e){this._glyphs.push(e),this._usedPixels+=e.size.x*e.size.y}clear(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.currentRow.x=0,this.currentRow.y=0,this.currentRow.height=0,this.fixedRows.length=0,this.version++}}function f(e,t,i,s){const r=t.rgba>>>24,o=t.rgba>>>16&255,n=t.rgba>>>8&255,a=i.rgba>>>24,h=i.rgba>>>16&255,l=i.rgba>>>8&255,c=Math.floor((Math.abs(r-a)+Math.abs(o-h)+Math.abs(n-l))/12);let d=!0;for(let _=0;_<e.data.length;_+=4)e.data[_]===r&&e.data[_+1]===o&&e.data[_+2]===n||s&&Math.abs(e.data[_]-r)+Math.abs(e.data[_+1]-o)+Math.abs(e.data[_+2]-n)<c?e.data[_+3]=0:d=!1;return d}function C(e,t,i){const s=e.createElement("canvas");return s.width=t,s.height=i,s}},160:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.contrastRatio=t.toPaddedHex=t.rgba=t.rgb=t.css=t.color=t.channels=t.NULL_COLOR=void 0;const s=i(399);let r=0,o=0,n=0,a=0;var h,l,c;function d(e){const t=e.toString(16);return t.length<2?"0"+t:t}function _(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}t.NULL_COLOR={css:"#00000000",rgba:0},function(e){e.toCss=function(e,t,i,s){return void 0!==s?`#${d(e)}${d(t)}${d(i)}${d(s)}`:`#${d(e)}${d(t)}${d(i)}`},e.toRgba=function(e,t,i,s=255){return(e<<24|t<<16|i<<8|s)>>>0}}(h=t.channels||(t.channels={})),function(e){function t(e,t){return a=Math.round(255*t),[r,o,n]=c.toChannels(e.rgba),{css:h.toCss(r,o,n,a),rgba:h.toRgba(r,o,n,a)}}e.blend=function(e,t){if(a=(255&t.rgba)/255,1===a)return{css:t.css,rgba:t.rgba};const i=t.rgba>>24&255,s=t.rgba>>16&255,l=t.rgba>>8&255,c=e.rgba>>24&255,d=e.rgba>>16&255,_=e.rgba>>8&255;return r=c+Math.round((i-c)*a),o=d+Math.round((s-d)*a),n=_+Math.round((l-_)*a),{css:h.toCss(r,o,n),rgba:h.toRgba(r,o,n)}},e.isOpaque=function(e){return 255==(255&e.rgba)},e.ensureContrastRatio=function(e,t,i){const s=c.ensureContrastRatio(e.rgba,t.rgba,i);if(s)return c.toColor(s>>24&255,s>>16&255,s>>8&255)},e.opaque=function(e){const t=(255|e.rgba)>>>0;return[r,o,n]=c.toChannels(t),{css:h.toCss(r,o,n),rgba:t}},e.opacity=t,e.multiplyOpacity=function(e,i){return a=255&e.rgba,t(e,a*i/255)},e.toColorRGB=function(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]}}(t.color||(t.color={})),function(e){let t,i;if(!s.isNode){const e=document.createElement("canvas");e.width=1,e.height=1;const s=e.getContext("2d",{willReadFrequently:!0});s&&(t=s,t.globalCompositeOperation="copy",i=t.createLinearGradient(0,0,1,1))}e.toColor=function(e){if(e.match(/#[\da-f]{3,8}/i))switch(e.length){case 4:return r=parseInt(e.slice(1,2).repeat(2),16),o=parseInt(e.slice(2,3).repeat(2),16),n=parseInt(e.slice(3,4).repeat(2),16),c.toColor(r,o,n);case 5:return r=parseInt(e.slice(1,2).repeat(2),16),o=parseInt(e.slice(2,3).repeat(2),16),n=parseInt(e.slice(3,4).repeat(2),16),a=parseInt(e.slice(4,5).repeat(2),16),c.toColor(r,o,n,a);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}const s=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(s)return r=parseInt(s[1]),o=parseInt(s[2]),n=parseInt(s[3]),a=Math.round(255*(void 0===s[5]?1:parseFloat(s[5]))),c.toColor(r,o,n,a);if(!t||!i)throw new Error("css.toColor: Unsupported css format");if(t.fillStyle=i,t.fillStyle=e,"string"!=typeof t.fillStyle)throw new Error("css.toColor: Unsupported css format");if(t.fillRect(0,0,1,1),[r,o,n,a]=t.getImageData(0,0,1,1).data,255!==a)throw new Error("css.toColor: Unsupported css format");return{rgba:h.toRgba(r,o,n,a),css:e}}}(t.css||(t.css={})),function(e){function t(e,t,i){const s=e/255,r=t/255,o=i/255;return.2126*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(l=t.rgb||(t.rgb={})),function(e){function t(e,t,i){const s=e>>24&255,r=e>>16&255,o=e>>8&255;let n=t>>24&255,a=t>>16&255,h=t>>8&255,c=_(l.relativeLuminance2(n,a,h),l.relativeLuminance2(s,r,o));for(;c<i&&(n>0||a>0||h>0);)n-=Math.max(0,Math.ceil(.1*n)),a-=Math.max(0,Math.ceil(.1*a)),h-=Math.max(0,Math.ceil(.1*h)),c=_(l.relativeLuminance2(n,a,h),l.relativeLuminance2(s,r,o));return(n<<24|a<<16|h<<8|255)>>>0}function i(e,t,i){const s=e>>24&255,r=e>>16&255,o=e>>8&255;let n=t>>24&255,a=t>>16&255,h=t>>8&255,c=_(l.relativeLuminance2(n,a,h),l.relativeLuminance2(s,r,o));for(;c<i&&(n<255||a<255||h<255);)n=Math.min(255,n+Math.ceil(.1*(255-n))),a=Math.min(255,a+Math.ceil(.1*(255-a))),h=Math.min(255,h+Math.ceil(.1*(255-h))),c=_(l.relativeLuminance2(n,a,h),l.relativeLuminance2(s,r,o));return(n<<24|a<<16|h<<8|255)>>>0}e.ensureContrastRatio=function(e,s,r){const o=l.relativeLuminance(e>>8),n=l.relativeLuminance(s>>8);if(_(o,n)<r){if(n<o){const n=t(e,s,r),a=_(o,l.relativeLuminance(n>>8));if(a<r){const t=i(e,s,r);return a>_(o,l.relativeLuminance(t>>8))?n:t}return n}const a=i(e,s,r),h=_(o,l.relativeLuminance(a>>8));if(h<r){const i=t(e,s,r);return h>_(o,l.relativeLuminance(i>>8))?a:i}return a}},e.reduceLuminance=t,e.increaseLuminance=i,e.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,i,s){return{css:h.toCss(e,t,i,s),rgba:h.toRgba(e,t,i,s)}}}(c=t.rgba||(t.rgba={})),t.toPaddedHex=d,t.contrastRatio=_},345:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.forwardEvent=t.EventEmitter=void 0,t.EventEmitter=class{constructor(){this._listeners=[],this._disposed=!1}get event(){return this._event||(this._event=e=>(this._listeners.push(e),{dispose:()=>{if(!this._disposed)for(let t=0;t<this._listeners.length;t++)if(this._listeners[t]===e)return void this._listeners.splice(t,1)}})),this._event}fire(e,t){const i=[];for(let s=0;s<this._listeners.length;s++)i.push(this._listeners[s]);for(let s=0;s<i.length;s++)i[s].call(void 0,e,t)}dispose(){this._listeners&&(this._listeners.length=0),this._disposed=!0}},t.forwardEvent=function(e,t){return e((e=>t.fire(e)))}},859:(e,t)=>{function i(e){for(const t of e)t.dispose();e.length=0}Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.toDisposable=t.Disposable=void 0,t.Disposable=class{constructor(){this._disposables=[],this._isDisposed=!1}dispose(){this._isDisposed=!0;for(const e of this._disposables)e.dispose();this._disposables.length=0}register(e){return this._disposables.push(e),e}unregister(e){const t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)}},t.toDisposable=function(e){return{dispose:e}},t.disposeArray=i,t.getDisposeArrayDisposable=function(e){return{dispose:()=>i(e)}}},485:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FourKeyMap=t.TwoKeyMap=void 0;class i{constructor(){this._data={}}set(e,t,i){this._data[e]||(this._data[e]={}),this._data[e][t]=i}get(e,t){return this._data[e]?this._data[e][t]:void 0}clear(){this._data={}}}t.TwoKeyMap=i,t.FourKeyMap=class{constructor(){this._data=new i}set(e,t,s,r,o){this._data.get(e,t)||this._data.set(e,t,new i),this._data.get(e,t).set(s,r,o)}get(e,t,i,s){var r;return null===(r=this._data.get(e,t))||void 0===r?void 0:r.get(i,s)}clear(){this._data.clear()}}},399:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isChromeOS=t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.getSafariVersion=t.isSafari=t.isLegacyEdge=t.isFirefox=t.isNode=void 0,t.isNode="undefined"==typeof navigator;const i=t.isNode?"node":navigator.userAgent,s=t.isNode?"node":navigator.platform;t.isFirefox=i.includes("Firefox"),t.isLegacyEdge=i.includes("Edge"),t.isSafari=/^((?!chrome|android).)*safari/i.test(i),t.getSafariVersion=function(){if(!t.isSafari)return 0;const e=i.match(/Version\/(\d+)/);return null===e||e.length<2?0:parseInt(e[1])},t.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(s),t.isIpad="iPad"===s,t.isIphone="iPhone"===s,t.isWindows=["Windows","Win16","Win32","WinCE"].includes(s),t.isLinux=s.indexOf("Linux")>=0,t.isChromeOS=/\bCrOS\b/.test(i)},385:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DebouncedIdleTask=t.IdleTaskQueue=t.PriorityTaskQueue=void 0;const s=i(399);class r{constructor(){this._tasks=[],this._i=0}enqueue(e){this._tasks.push(e),this._start()}flush(){for(;this._i<this._tasks.length;)this._tasks[this._i]()||this._i++;this.clear()}clear(){this._idleCallback&&(this._cancelCallback(this._idleCallback),this._idleCallback=void 0),this._i=0,this._tasks.length=0}_start(){this._idleCallback||(this._idleCallback=this._requestCallback(this._process.bind(this)))}_process(e){this._idleCallback=void 0;let t=0,i=0,s=e.timeRemaining(),r=0;for(;this._i<this._tasks.length;){if(t=Date.now(),this._tasks[this._i]()||this._i++,t=Math.max(1,Date.now()-t),i=Math.max(t,i),r=e.timeRemaining(),1.5*i>r)return s-t<-20&&console.warn(`task queue exceeded allotted deadline by ${Math.abs(Math.round(s-t))}ms`),void this._start();s=r}this.clear()}}class o extends r{_requestCallback(e){return setTimeout((()=>e(this._createDeadline(16))))}_cancelCallback(e){clearTimeout(e)}_createDeadline(e){const t=Date.now()+e;return{timeRemaining:()=>Math.max(0,t-Date.now())}}}t.PriorityTaskQueue=o,t.IdleTaskQueue=!s.isNode&&"requestIdleCallback"in window?class extends r{_requestCallback(e){return requestIdleCallback(e)}_cancelCallback(e){cancelIdleCallback(e)}}:o,t.DebouncedIdleTask=class{constructor(){this._queue=new t.IdleTaskQueue}set(e){this._queue.clear(),this._queue.enqueue(e)}flush(){this._queue.flush()}}},147:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;class i{constructor(){this.fg=0,this.bg=0,this.extended=new s}static toColorRGB(e){return[e>>>16&255,e>>>8&255,255&e]}static fromColorRGB(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]}clone(){const e=new i;return e.fg=this.fg,e.bg=this.bg,e.extended=this.extended.clone(),e}isInverse(){return 67108864&this.fg}isBold(){return 134217728&this.fg}isUnderline(){return this.hasExtendedAttrs()&&0!==this.extended.underlineStyle?1:268435456&this.fg}isBlink(){return 536870912&this.fg}isInvisible(){return 1073741824&this.fg}isItalic(){return 67108864&this.bg}isDim(){return 134217728&this.bg}isStrikethrough(){return 2147483648&this.fg}isProtected(){return 536870912&this.bg}getFgColorMode(){return 50331648&this.fg}getBgColorMode(){return 50331648&this.bg}isFgRGB(){return 50331648==(50331648&this.fg)}isBgRGB(){return 50331648==(50331648&this.bg)}isFgPalette(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)}isBgPalette(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)}isFgDefault(){return 0==(50331648&this.fg)}isBgDefault(){return 0==(50331648&this.bg)}isAttributeDefault(){return 0===this.fg&&0===this.bg}getFgColor(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}}getBgColor(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}}hasExtendedAttrs(){return 268435456&this.bg}updateExtended(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456}getUnderlineColor(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()}getUnderlineColorMode(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()}isUnderlineColorRGB(){return 268435456&this.bg&&~this.extended.underlineColor?50331648==(50331648&this.extended.underlineColor):this.isFgRGB()}isUnderlineColorPalette(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()}isUnderlineColorDefault(){return 268435456&this.bg&&~this.extended.underlineColor?0==(50331648&this.extended.underlineColor):this.isFgDefault()}getUnderlineStyle(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0}}t.AttributeData=i;class s{constructor(e=0,t=0){this._ext=0,this._urlId=0,this._ext=e,this._urlId=t}get ext(){return this._urlId?-469762049&this._ext|this.underlineStyle<<26:this._ext}set ext(e){this._ext=e}get underlineStyle(){return this._urlId?5:(469762048&this._ext)>>26}set underlineStyle(e){this._ext&=-469762049,this._ext|=e<<26&469762048}get underlineColor(){return 67108863&this._ext}set underlineColor(e){this._ext&=-67108864,this._ext|=67108863&e}get urlId(){return this._urlId}set urlId(e){this._urlId=e}clone(){return new s(this._ext,this._urlId)}isEmpty(){return 0===this.underlineStyle&&0===this._urlId}}t.ExtendedAttrs=s},782:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;const s=i(133),r=i(855),o=i(147);class n extends o.AttributeData{constructor(){super(...arguments),this.content=0,this.fg=0,this.bg=0,this.extended=new o.ExtendedAttrs,this.combinedData=""}static fromCharData(e){const t=new n;return t.setFromCharData(e),t}isCombined(){return 2097152&this.content}getWidth(){return this.content>>22}getChars(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,s.stringFromCodePoint)(2097151&this.content):""}getCode(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content}setFromCharData(e){this.fg=e[r.CHAR_DATA_ATTR_INDEX],this.bg=0;let t=!1;if(e[r.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[r.CHAR_DATA_CHAR_INDEX].length){const i=e[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=i&&i<=56319){const s=e[r.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=s&&s<=57343?this.content=1024*(i-55296)+s-56320+65536|e[r.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[r.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[r.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[r.CHAR_DATA_WIDTH_INDEX]<<22)}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}t.CellData=n},855:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_EXT=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=0,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.DEFAULT_EXT=0,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},133:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t=0,i=e.length){let s="";for(let r=t;r<i;++r){let t=e[r];t>65535?(t-=65536,s+=String.fromCharCode(55296+(t>>10))+String.fromCharCode(t%1024+56320)):s+=String.fromCharCode(t)}return s},t.StringToUtf32=class{constructor(){this._interim=0}clear(){this._interim=0}decode(e,t){const i=e.length;if(!i)return 0;let s=0,r=0;if(this._interim){const i=e.charCodeAt(r++);56320<=i&&i<=57343?t[s++]=1024*(this._interim-55296)+i-56320+65536:(t[s++]=this._interim,t[s++]=i),this._interim=0}for(let o=r;o<i;++o){const r=e.charCodeAt(o);if(55296<=r&&r<=56319){if(++o>=i)return this._interim=r,s;const n=e.charCodeAt(o);56320<=n&&n<=57343?t[s++]=1024*(r-55296)+n-56320+65536:(t[s++]=r,t[s++]=n)}else 65279!==r&&(t[s++]=r)}return s}},t.Utf8ToUtf32=class{constructor(){this.interim=new Uint8Array(3)}clear(){this.interim.fill(0)}decode(e,t){const i=e.length;if(!i)return 0;let s,r,o,n,a=0,h=0,l=0;if(this.interim[0]){let s=!1,r=this.interim[0];r&=192==(224&r)?31:224==(240&r)?15:7;let o,n=0;for(;(o=63&this.interim[++n])&&n<4;)r<<=6,r|=o;const h=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,c=h-n;for(;l<c;){if(l>=i)return 0;if(o=e[l++],128!=(192&o)){l--,s=!0;break}this.interim[n++]=o,r<<=6,r|=63&o}s||(2===h?r<128?l--:t[a++]=r:3===h?r<2048||r>=55296&&r<=57343||65279===r||(t[a++]=r):r<65536||r>1114111||(t[a++]=r)),this.interim.fill(0)}const c=i-4;let d=l;for(;d<i;){for(;!(!(d<c)||128&(s=e[d])||128&(r=e[d+1])||128&(o=e[d+2])||128&(n=e[d+3]));)t[a++]=s,t[a++]=r,t[a++]=o,t[a++]=n,d+=4;if(s=e[d++],s<128)t[a++]=s;else if(192==(224&s)){if(d>=i)return this.interim[0]=s,a;if(r=e[d++],128!=(192&r)){d--;continue}if(h=(31&s)<<6|63&r,h<128){d--;continue}t[a++]=h}else if(224==(240&s)){if(d>=i)return this.interim[0]=s,a;if(r=e[d++],128!=(192&r)){d--;continue}if(d>=i)return this.interim[0]=s,this.interim[1]=r,a;if(o=e[d++],128!=(192&o)){d--;continue}if(h=(15&s)<<12|(63&r)<<6|63&o,h<2048||h>=55296&&h<=57343||65279===h)continue;t[a++]=h}else if(240==(248&s)){if(d>=i)return this.interim[0]=s,a;if(r=e[d++],128!=(192&r)){d--;continue}if(d>=i)return this.interim[0]=s,this.interim[1]=r,a;if(o=e[d++],128!=(192&o)){d--;continue}if(d>=i)return this.interim[0]=s,this.interim[1]=r,this.interim[2]=o,a;if(n=e[d++],128!=(192&n)){d--;continue}if(h=(7&s)<<18|(63&r)<<12|(63&o)<<6|63&n,h<65536||h>1114111)continue;t[a++]=h}}return a}}}},t={};function i(s){var r=t[s];if(void 0!==r)return r.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,i),o.exports}var s={};return(()=>{var e=s;Object.defineProperty(e,"__esModule",{value:!0}),e.WebglAddon=void 0;const t=i(345),r=i(859),o=i(399),n=i(666);class a extends r.Disposable{constructor(e){if(o.isSafari&&(0,o.getSafariVersion)()<16)throw new Error("Webgl2 is only supported on Safari 16 and above");super(),this._preserveDrawingBuffer=e,this._onChangeTextureAtlas=this.register(new t.EventEmitter),this.onChangeTextureAtlas=this._onChangeTextureAtlas.event,this._onAddTextureAtlasCanvas=this.register(new t.EventEmitter),this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event,this._onRemoveTextureAtlasCanvas=this.register(new t.EventEmitter),this.onRemoveTextureAtlasCanvas=this._onRemoveTextureAtlasCanvas.event,this._onContextLoss=this.register(new t.EventEmitter),this.onContextLoss=this._onContextLoss.event}activate(e){const i=e._core;if(!e.element)return void this.register(i.onWillOpen((()=>this.activate(e))));this._terminal=e;const s=i.coreService,o=i.optionsService,a=i,h=a._renderService,l=a._characterJoinerService,c=a._charSizeService,d=a._coreBrowserService,_=a._decorationService,u=a._themeService;this._renderer=this.register(new n.WebglRenderer(e,l,c,d,s,_,o,u,this._preserveDrawingBuffer)),this.register((0,t.forwardEvent)(this._renderer.onContextLoss,this._onContextLoss)),this.register((0,t.forwardEvent)(this._renderer.onChangeTextureAtlas,this._onChangeTextureAtlas)),this.register((0,t.forwardEvent)(this._renderer.onAddTextureAtlasCanvas,this._onAddTextureAtlasCanvas)),this.register((0,t.forwardEvent)(this._renderer.onRemoveTextureAtlasCanvas,this._onRemoveTextureAtlasCanvas)),h.setRenderer(this._renderer),this.register((0,r.toDisposable)((()=>{const t=this._terminal._core._renderService;t.setRenderer(this._terminal._core._createRenderer()),t.handleResize(e.cols,e.rows)})))}get textureAtlas(){var e;return null===(e=this._renderer)||void 0===e?void 0:e.textureAtlas}clearTextureAtlas(){var e;null===(e=this._renderer)||void 0===e||e.clearTextureAtlas()}}e.WebglAddon=a})(),s})()}))}}]);
@@ -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}}}}}]);