jupyterlab 4.0.0a35__py3-none-any.whl → 4.0.0a36__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.
- jupyterlab/_version.py +1 -1
- jupyterlab/extensions/pypi.py +3 -1
- jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +110 -100
- jupyterlab/galata/@jupyterlab/galata-extension/package.json +14 -14
- jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.4244c175131476dd62d7.js → remoteEntry.bad0ab5ce64f7f5c8312.js} +3 -3
- jupyterlab/node-version-check.js +0 -1
- jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +16 -16
- jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +21 -20
- jupyterlab/schemas/@jupyterlab/apputils-extension/sanitizer.json +6 -0
- jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +63 -0
- jupyterlab/schemas/@jupyterlab/celltags-extension/plugin.json +33 -0
- jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +12 -12
- jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +19 -19
- jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +13 -13
- jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +18 -18
- jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +18 -18
- jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +8 -8
- jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +8 -8
- jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +17 -17
- jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +28 -27
- jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +13 -13
- jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +10 -10
- jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +10 -10
- jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +15 -15
- jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +14 -14
- jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +10 -10
- jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +9 -9
- jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +44 -39
- jupyterlab/schemas/@jupyterlab/notebook-extension/tools.json +143 -0
- jupyterlab/schemas/@jupyterlab/notebook-extension/tracker.json +3 -3
- jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +14 -14
- jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +12 -12
- jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +14 -14
- jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +14 -14
- jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +15 -15
- jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +7 -7
- jupyterlab/semver.py +1 -1
- jupyterlab/staging/package.json +153 -149
- jupyterlab/staging/yarn.lock +1965 -1938
- jupyterlab/static/{2091.bd1d16d1337fa22555ee.js → 2091.f770bddee64cc71cbb38.js} +2 -2
- jupyterlab/static/{2646.9f05e0771a4f037dca74.js → 2646.7f21306af05485d0bc39.js} +2 -2
- jupyterlab/static/2800.14c52357e80a857341c2.js +2 -0
- jupyterlab/static/2990.6dd42ddb50a872f3a914.js +2 -0
- jupyterlab/static/3547.f1596a95dc36296cdb06.js +2 -0
- jupyterlab/static/3783.d68dff3a9631f0665413.js +2 -0
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/383.f4744cd0de1e1c8920f2.js → jupyterlab/static/383.9b32cc3cdf831a212dbe.js +2 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/4008.4d194c49554e57f366c7.js → jupyterlab/static/4008.b915ce51b76e4eea444a.js +3 -3
- jupyterlab/static/{5070.c2c3872b77c88e1d2f6d.js → 4207.216305846d1afcde3718.js} +2 -2
- jupyterlab/static/4405.2a2632db9de9492d375b.js +2 -0
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/49.baf8c7be6d15f0d9608b.js → jupyterlab/static/49.ced85eba3bfd117cd00f.js +2 -2
- jupyterlab/static/4986.04c2fe2a543c02880ba9.js +2 -0
- jupyterlab/static/6888.7fab95080c34bfe2cfd0.js +2 -0
- jupyterlab/static/812.f31a0b0d1a5719e044c8.js +2 -0
- jupyterlab/static/{8302.360d573de8ff429363ad.js → 8302.9c4fa45b6f90d0c97e69.js} +2 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/8768.852fee3a754ef67f9529.js → jupyterlab/static/8768.a81e5b90356c6d3f905d.js +3 -3
- jupyterlab/static/8823.bff403d7f8fdfcc8e770.js +2 -0
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/9.b85eb270581c06f724c5.js → jupyterlab/static/9.16e9cdccbe815399d46d.js +2 -2
- jupyterlab/static/9065.c22fad1c8445f09b60ba.js +2 -0
- jupyterlab/static/build_log.json +116 -108
- jupyterlab/static/index.html +1 -1
- jupyterlab/static/jlab_core.96941e5e852fedd23450.js +2 -0
- jupyterlab/static/main.20e744f8e1918f54d90d.js +2 -0
- jupyterlab/static/package.json +153 -149
- jupyterlab/static/third-party-licenses.json +168 -174
- jupyterlab/tests/mock_packages/extension/package.json +3 -3
- jupyterlab/tests/mock_packages/interop/consumer/package.json +3 -3
- jupyterlab/tests/mock_packages/interop/provider/package.json +3 -3
- jupyterlab/tests/mock_packages/interop/token/package.json +2 -2
- jupyterlab/tests/mock_packages/mimeextension/package.json +1 -1
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +16 -16
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +21 -20
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +6 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +7 -7
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +63 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +33 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +12 -12
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -7
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +19 -19
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +13 -13
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +18 -18
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +18 -18
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +8 -8
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +8 -8
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +17 -17
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +83 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +13 -13
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +10 -10
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +7 -7
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +7 -7
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +10 -10
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +11 -11
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +15 -15
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +11 -11
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +14 -14
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +10 -10
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +9 -9
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +93 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +143 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +3 -3
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +14 -14
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +12 -12
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +14 -14
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +7 -7
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +14 -14
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +7 -7
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +15 -15
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +7 -7
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/2091.bd1d16d1337fa22555ee.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2091.f770bddee64cc71cbb38.js +2 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/2646.9f05e0771a4f037dca74.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2646.7f21306af05485d0bc39.js +2 -2
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2800.14c52357e80a857341c2.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2990.6dd42ddb50a872f3a914.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3547.f1596a95dc36296cdb06.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3783.d68dff3a9631f0665413.js +2 -0
- jupyterlab/static/383.f4744cd0de1e1c8920f2.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/383.9b32cc3cdf831a212dbe.js +2 -2
- jupyterlab/static/4008.4d194c49554e57f366c7.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4008.b915ce51b76e4eea444a.js +3 -3
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/5070.c2c3872b77c88e1d2f6d.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4207.216305846d1afcde3718.js +2 -2
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4405.2a2632db9de9492d375b.js +2 -0
- jupyterlab/static/49.baf8c7be6d15f0d9608b.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/49.ced85eba3bfd117cd00f.js +2 -2
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4986.04c2fe2a543c02880ba9.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/6888.7fab95080c34bfe2cfd0.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/812.f31a0b0d1a5719e044c8.js +2 -0
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/8302.360d573de8ff429363ad.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8302.9c4fa45b6f90d0c97e69.js +2 -2
- jupyterlab/static/8768.852fee3a754ef67f9529.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8768.a81e5b90356c6d3f905d.js +3 -3
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8823.bff403d7f8fdfcc8e770.js +2 -0
- jupyterlab/static/9.b85eb270581c06f724c5.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/9.16e9cdccbe815399d46d.js +2 -2
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/9065.c22fad1c8445f09b60ba.js +2 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/build_log.json +116 -108
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/index.html +1 -1
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/jlab_core.96941e5e852fedd23450.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/main.20e744f8e1918f54d90d.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/package.json +321 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/third-party-licenses.json +168 -174
- {jupyterlab-4.0.0a35.dist-info → jupyterlab-4.0.0a36.dist-info}/METADATA +4 -4
- {jupyterlab-4.0.0a35.dist-info → jupyterlab-4.0.0a36.dist-info}/RECORD +379 -371
- jupyterlab/static/2800.16d71ffa4e49ede65248.js +0 -2
- jupyterlab/static/2990.ae4cac57633852d78ace.js +0 -2
- jupyterlab/static/3547.d8386812970c3ca0cb33.js +0 -2
- jupyterlab/static/3783.75d5c774397d9db2a6ef.js +0 -2
- jupyterlab/static/4986.e578a4291819fec6d1c4.js +0 -2
- jupyterlab/static/6269.3431fb9d9d780c0af4e9.js +0 -2
- jupyterlab/static/6888.38cf56f2ba12dfb8ab0d.js +0 -2
- jupyterlab/static/812.da9b1205d52814f0e613.js +0 -2
- jupyterlab/static/8823.a0fc337e55dfe2e131ee.js +0 -2
- jupyterlab/static/jlab_core.f96460172813e60251da.js +0 -2
- jupyterlab/static/main.95c9685538cf2359800e.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +0 -82
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +0 -88
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/2800.16d71ffa4e49ede65248.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/2990.ae4cac57633852d78ace.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/3547.d8386812970c3ca0cb33.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/3783.75d5c774397d9db2a6ef.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/4986.e578a4291819fec6d1c4.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/6269.3431fb9d9d780c0af4e9.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/6888.38cf56f2ba12dfb8ab0d.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/812.da9b1205d52814f0e613.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/8823.a0fc337e55dfe2e131ee.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/jlab_core.f96460172813e60251da.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/main.95c9685538cf2359800e.js +0 -2
- jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/package.json +0 -317
- /jupyterlab/static/{4008.4d194c49554e57f366c7.js.LICENSE.txt → 4008.b915ce51b76e4eea444a.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{8768.852fee3a754ef67f9529.js.LICENSE.txt → 8768.a81e5b90356c6d3f905d.js.LICENSE.txt} +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1036.f6c57d1265adca83594e.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1036.f6c57d1265adca83594e.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1085.36072613d5461d9bc753.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1142.228652acc76ea404048d.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1168.6a7f50ce99d9120d558d.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1294.d1735230fc7e9a21e8ad.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1410.8dd0e390c69996cecb38.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1420.78e8c0a87a74a5c616ed.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1452.40a07727b78492442421.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1467.3ee02202fa11332e5b99.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1550.373973a4651e6d0cf8b8.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1581.41bb01f5d4047061f002.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1581.41bb01f5d4047061f002.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1608.cf6b65b59e4ff19b5622.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1716.9bf4d1620425b087fc9a.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1776.5218a3aec719d764977f.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1861.762ed9052ac12c338de6.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1903.73f4b592ee795a6b61ab.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1945.dd876fc4110972ab9979.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1954.8b80dffad1ab65f151b3.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1993.2f82b3bafd40aa9605d3.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2039.7b8fad64fe512bdd5632.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2090.7c57efa83d49c74accca.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2104.fcc8c0f01e052700b3b0.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2145.2ed879d424a6ee02d531.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2254.13d594629c684d67a6b2.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2295.cf513646f24b357692bc.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2320.24d37d8ae619f877e334.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2363.d86742077aed696694b9.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2459.33094feaa394e0b72837.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2485.2b62703ab935947006af.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2617.af93dca9ab5f243bf60e.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2829.d72b2ee221fa5ba98c38.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2857.008f1a1c91b1fa06999e.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2909.9a160a86a2172c389238.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/292.7c2a7b3af0bd14d7f49e.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2929.686155e4d274cfa9cd32.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2995.960715f713d01070e5a7.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3056.7ac8b30ccd5aad42e0c7.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3123.1df15835a1681fb411f4.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3127.0bd0b2da7c02c81dc7d7.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3306.19d86a7230d467f0a01a.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3308.49c993cd8597acb46935.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3528.c34d6dc8140ed3d19f4d.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3549.05e5283aa1815f6c0b86.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3601.92dd7c517619f0141013.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/378.1bd75509552813ebea37.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3807.33034141b48b767e6974.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3923.7ffdf2670160c7be7da5.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3935.200aeb85f6884cbd976d.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3935.200aeb85f6884cbd976d.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3962.68d34fc6c9af390e95f2.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
- /jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/4008.4d194c49554e57f366c7.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4008.b915ce51b76e4eea444a.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4017.7cf5c0f4ab2e2fe099f4.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4043.7d4235e5ef237743c246.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4139.640d2da69a839bbb23a1.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4155.784ca1752696680bf373.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4283.5ea107a9413cf350657d.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4291.7fc9442700a996c261cd.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4419.8d7204ceb62af06d8422.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4452.e12b3923387884215888.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4519.38b6c4e1bfad86478cf2.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4562.29166c568a222122f128.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4591.314ddb1d18112749d6d0.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/46.0fb036ed8ad4b2af0e5e.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4743.290178067fcbe2b935dd.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4878.9c8b7dff9f2aa987457d.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/489.2bb514a4f1aeca4522e4.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5041.8834f33c4d437bd3d845.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5157.3a8e834fbef3a8fc2b4f.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5201.43ed99b05a13cb751923.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5203.d020c43293395b5d5c55.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5331.af889dce3fae12a95db2.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5440.0f50e7c3df2baf685125.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5521.f65521bcfb0c479b5fba.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/581.67a15269b8e899ea2588.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5881.c7ae1a260275cb511eda.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5959.41c3dbb934f7aa83e2af.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6163.231924d17191f1a9a738.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6207.226a2fd91c0e203aee57.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6243.4fc871a5a7ffb2e327b4.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6267.d266ae2f83d17cb51279.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6359.3b09504ed85bb3f71967.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6443.31e269857ec0085f7934.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6532.31ea041feb9581e651bc.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6595.abbc5e7c2fb4b02cd772.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6815.c467fac9cf7db8d0e236.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6831.86709d4fba398c4eb414.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7080.0b3dcc246068147dc7a3.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7112.a59ee2cd442d601beeeb.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7173.f506f29f75a4ef3362ad.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/720.c0e1eda90fe360aee794.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7245.ba37c7df026eab813275.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7294.78897ca348581a9dae29.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7294.78897ca348581a9dae29.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7317.df1ecbfc7db0b063eedf.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7318.f2a3b81f6c31efdfa363.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7363.edc5172d0cfe93aa9ff3.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7384.921ddca683d28f988f4e.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7390.186ad933c12e960be502.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/745.bf57c40e3c4951b45c9e.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7451.e06be24e1fee9b2e4387.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7451.e06be24e1fee9b2e4387.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7473.2e5c4257832f1aaa2f7a.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7511.26a3826fcdb9c224c361.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7669.8e939de0670f120fce13.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7702.d3ddc7062e198eb6e938.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7730.7e3a9fb140d2d55a51fc.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7731.987cee17c2debd482054.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7763.bd770588e14bb53e5869.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7763.bd770588e14bb53e5869.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7823.94efbaadd84fc03f9d87.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7827.fee0cdeaf6e306bbef3d.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7848.e49d7a34ea52aebaf01b.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7877.dcf82bd8c368d9f16b51.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7887.313787ace9dbcea19b08.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/795.f94649e166b50e0e5c10.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8002.0b0117f4610a941dfe76.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8010.a24689afeaeab57102d3.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8012.29bb6d58445d67c859f8.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8285.629ddf7ab87c4102aee2.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/830.8410da9c86cd6835b3ea.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8319.5820120f3fd5db7531d6.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8347.299c1a8fba5fd34992e6.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8405.97a74ca186f6f332afe3.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8493.e3975ff82548a415fac5.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8498.160275f2a073c621d541.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8710.d0976e9e521791ab5b19.js +0 -0
- /jupyterlab-4.0.0a35.data/data/share/jupyter/lab/static/8768.852fee3a754ef67f9529.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8768.a81e5b90356c6d3f905d.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8771.f48f4e16fcd5cc64f473.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8787.94119f9e3846afa58ae0.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8805.52c5236ced15d35e3286.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8875.8da7cb48fb402ac6f8a5.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9030.d0c99a0b0db0c7b0a0cb.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9055.3d9971cc90ec4423025c.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9109.fab4c4429f3212218a66.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9192.1a84f137ac27348644bf.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9222.f210f5553fdbc1bb5d74.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9265.f021a836a4f8c1e4f2f5.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9362.36daaf0799b79dc3e343.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9409.d6502e7a30f5163c83f6.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/942.cb7b08b587bc7a30269a.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9421.1ef475b30b23aab2395f.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9445.a6d51ef124feeae99757.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9621.9694856bdac57c707675.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9653.b1366d17fefa13259f3a.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9738.c078f05c0d7cb5bde4a9.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9747.56b3d4353668e791b7de.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9747.56b3d4353668e791b7de.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/index.out.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/style.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +0 -0
- {jupyterlab-4.0.0a35.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
- {jupyterlab-4.0.0a35.dist-info → jupyterlab-4.0.0a36.dist-info}/WHEEL +0 -0
- {jupyterlab-4.0.0a35.dist-info → jupyterlab-4.0.0a36.dist-info}/entry_points.txt +0 -0
- {jupyterlab-4.0.0a35.dist-info → jupyterlab-4.0.0a36.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,2 @@
|
|
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:()=>p,blockUncomment:()=>g,copyLineDown:()=>zt,copyLineUp:()=>Ft,cursorCharBackward:()=>ce,cursorCharForward:()=>ae,cursorCharLeft:()=>se,cursorCharRight:()=>ie,cursorDocEnd:()=>pt,cursorDocStart:()=>mt,cursorGroupBackward:()=>me,cursorGroupForward:()=>de,cursorGroupLeft:()=>fe,cursorGroupRight:()=>he,cursorLineBoundaryBackward:()=>Te,cursorLineBoundaryForward:()=>Oe,cursorLineBoundaryLeft:()=>Re,cursorLineBoundaryRight:()=>Ue,cursorLineDown:()=>De,cursorLineEnd:()=>Ie,cursorLineStart:()=>Ve,cursorLineUp:()=>Ee,cursorMatchingBracket:()=>Ne,cursorPageDown:()=>Me,cursorPageUp:()=>xe,cursorSubwordBackward:()=>ke,cursorSubwordForward:()=>ye,cursorSyntaxLeft:()=>ve,cursorSyntaxRight:()=>Ae,defaultKeymap:()=>tn,deleteCharBackward:()=>Dt,deleteCharForward:()=>Bt,deleteGroupBackward:()=>xt,deleteGroupForward:()=>Mt,deleteLine:()=>Ht,deleteToLineEnd:()=>bt,deleteToLineStart:()=>Ot,deleteTrailingWhitespace:()=>Tt,emacsStyleKeymap:()=>Zt,history:()=>b,historyField:()=>O,historyKeymap:()=>Z,indentLess:()=>Xt,indentMore:()=>Qt,indentSelection:()=>Wt,indentWithTab:()=>nn,insertBlankLine:()=>Kt,insertNewline:()=>Pt,insertNewlineAndIndent:()=>jt,insertTab:()=>Yt,invertedEffects:()=>B,isolateHistory:()=>D,lineComment:()=>h,lineUncomment:()=>d,moveLineDown:()=>Nt,moveLineUp:()=>Gt,redo:()=>U,redoDepth:()=>J,redoSelection:()=>I,selectAll:()=>kt,selectCharBackward:()=>je,selectCharForward:()=>qe,selectCharLeft:()=>He,selectCharRight:()=>Pe,selectDocEnd:()=>yt,selectDocStart:()=>gt,selectGroupBackward:()=>Qe,selectGroupForward:()=>We,selectGroupLeft:()=>_e,selectGroupRight:()=>$e,selectLine:()=>St,selectLineBoundaryBackward:()=>ct,selectLineBoundaryForward:()=>at,selectLineBoundaryLeft:()=>ut,selectLineBoundaryRight:()=>ft,selectLineDown:()=>ot,selectLineEnd:()=>dt,selectLineStart:()=>ht,selectLineUp:()=>rt,selectMatchingBracket:()=>Je,selectPageDown:()=>it,selectPageUp:()=>st,selectParentSyntax:()=>wt,selectSubwordBackward:()=>Ze,selectSubwordForward:()=>Ye,selectSyntaxLeft:()=>et,selectSyntaxRight:()=>tt,simplifySelection:()=>vt,splitLine:()=>Rt,standardKeymap:()=>en,toggleBlockComment:()=>m,toggleBlockCommentByLine:()=>y,toggleComment:()=>c,toggleLineComment:()=>f,transposeChars:()=>Ut,undo:()=>R,undoDepth:()=>N,undoSelection:()=>V});var r=n(37496);var o=n.n(r);var l=n(48839);var s=n.n(l);var i=n(16888);var a=n(72104);const c=e=>{let t=k(e.state);return t.line?f(e):t.block?y(e):false};function u(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 f=u(C,0);const h=u(C,1);const d=u(C,2);const m=u(A,0);const p=u(A,1);const g=u(A,2);const y=u(((e,t)=>A(e,t,v(t))),0);function k(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}const S=50;function w(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 h=/^\s*/.exec(u)[0].length,d=/\s*$/.exec(f)[0].length;let m=f.length-d-n.length;if(u.slice(h,h+t.length)==t&&f.slice(m,m+n.length)==n){return{open:{pos:r+h+t.length,margin:/\s/.test(u.charAt(h+t.length))?1:0},close:{pos:o-d-n.length,margin:/\s/.test(f.charAt(m-1))?1:0}}}return null}function v(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,to:o.to})}return t}function A(e,t,n=t.selection.ranges){let r=n.map((e=>k(t,e.from).block));if(!r.every((e=>e)))return null;let o=n.map(((e,n)=>w(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 C(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;for(let i=l;i<=s;){let e=t.doc.lineAt(i);if(e.from>o&&(l==s||s>e.from)){o=e.from;let l=k(t,i).line;if(!l)continue;let s=/^\s*/.exec(e.text)[0].length;let a=s==e.length;let c=e.text.slice(s,s+l.length)==l?s:-1;if(s<e.text.length&&s<n)n=s;r.push({line:e,comment:c,token:l,indent:s,empty:a,single:false})}i=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 E=r.Annotation.define();const D=r.Annotation.define();const B=r.Facet.define();const L=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 x(e){let t=0;e.iterChangedRanges(((e,n)=>t=n));return t}const M=r.StateField.define({create(){return Y.empty},update(e,t){let n=t.state.facet(L);let o=t.annotation(E);if(o){let l=t.docChanged?r.EditorSelection.single(x(t.changes)):undefined;let s=F.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=_(a,t.startState.selection);return new Y(i==0?o.rest:a,i==0?a:o.rest)}let l=t.annotation(D);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=F.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 Y(e.done.map(F.fromJSON),e.undone.map(F.fromJSON))}});function b(e={}){return[M,L.of(e),l.EditorView.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?R:e.inputType=="historyRedo"?U:null;if(!n)return false;e.preventDefault();return n(t)}})]}const O=M;function T(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return false;let o=n.field(M,false);if(!o)return false;let l=o.pop(e,n,t);if(!l)return false;r(l);return true}}const R=T(0,false);const U=T(1,false);const V=T(0,true);const I=T(1,true);function G(e){return function(t){let n=t.field(M,false);if(!n)return 0;let r=e==0?n.done:n.undone;return r.length-(r.length&&!r[0].changes?1:0)}}const N=G(0);const J=G(1);class F{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 F(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 F(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=j;for(let r of e.startState.facet(B)){let t=r(e);if(t.length)n=n.concat(t)}if(!n.length&&e.changes.empty)return null;return new F(e.changes.invert(e.startState.doc),n,undefined,t||e.startState.selection,j)}static selection(e){return new F(undefined,j,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 H(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 P(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter(((e,n)=>e.empty!=t.ranges[n].empty)).length===0}function q(e,t){return!e.length?t:!t.length?e:e.concat(t)}const j=[];const K=200;function _(e,t){if(!e.length){return[F.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 $(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 W(e,t){if(!e.length)return e;let n=e.length,r=j;while(n){let o=Q(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?[F.selection(r)]:j}function Q(e,t,n){let o=q(e.selectionsAfter.length?e.selectionsAfter.map((e=>e.map(t))):j,n);if(!e.changes)return F.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 F(l,r.StateEffect.mapEffects(e.effects,t),i,e.startSelection.map(s),o)}const X=/^(input\.type|delete)($|\.)/;class Y{constructor(e,t,n=0,r=undefined){this.done=e;this.undone=t;this.prevTime=n;this.prevUserEvent=r}isolate(){return this.prevTime?new Y(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||X.test(n))&&(!s.selectionsAfter.length&&t-this.prevTime<r.newGroupDelay&&r.joinToEvent(o,H(s.changes,e.changes))||n=="input.type.compose")){l=z(l,l.length-1,r.minDepth,new F(e.changes.compose(s.changes),q(e.effects,s.effects),s.mapped,s.startSelection,j))}else{l=z(l,l.length,r.minDepth,e)}return new Y(l,j,t,n)}addSelection(e,t,n,r){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:j;if(o.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&P(o[o.length-1],e))return this;return new Y(_(this.done,e),this.undone,t,n)}addMapping(e){return new Y(W(this.done,e),W(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:E.of({side:e,rest:$(r)}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:true})}else if(!o.changes){return null}else{let n=r.length==1?j:r.slice(0,r.length-1);if(o.mapped)n=W(n,o.mapped);return t.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:E.of({side:e,rest:n}),filter:false,userEvent:e==0?"undo":"redo",scrollIntoView:true})}}}Y.empty=new Y(j,j);const Z=[{key:"Mod-z",run:R,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:V,preventDefault:true},{key:"Alt-u",mac:"Mod-Shift-u",run:I,preventDefault:true}];function ee(e,t){return r.EditorSelection.create(e.ranges.map(t),e.mainIndex)}function te(e,t){return e.update({selection:t,scrollIntoView:true,userEvent:"select"})}function ne({state:e,dispatch:t},n){let r=ee(e.selection,n);if(r.eq(e.selection))return false;t(te(e,r));return true}function re(e,t){return r.EditorSelection.cursor(t?e.to:e.from)}function oe(e,t){return ne(e,(n=>n.empty?e.moveByChar(n,t):re(n,t)))}function le(e){return e.textDirectionAt(e.state.selection.main.head)==l.Direction.LTR}const se=e=>oe(e,!le(e));const ie=e=>oe(e,le(e));const ae=e=>oe(e,true);const ce=e=>oe(e,false);function ue(e,t){return ne(e,(n=>n.empty?e.moveByGroup(n,t):re(n,t)))}const fe=e=>ue(e,!le(e));const he=e=>ue(e,le(e));const de=e=>ue(e,true);const me=e=>ue(e,false);function pe(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 ge(e,t){return ne(e,(n=>n.empty?pe(e,n,t):re(n,t)))}const ye=e=>ge(e,true);const ke=e=>ge(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 we(e,t,n){let o=(0,i.qz)(e).resolveInner(t.head);let l=n?a.md.closedBy:a.md.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),c,u;if(s&&(c=n?(0,i.Um)(e,o.from,1):(0,i.Um)(e,o.to,-1))&&c.matched)u=n?c.end.to:c.end.from;else u=n?o.to:o.from;return r.EditorSelection.cursor(u,n?-1:1)}const ve=e=>ne(e,(t=>we(e.state,t,!le(e))));const Ae=e=>ne(e,(t=>we(e.state,t,le(e))));function Ce(e,t){return ne(e,(n=>{if(!n.empty)return re(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)}))}const Ee=e=>Ce(e,false);const De=e=>Ce(e,true);function Be(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function Le(e,t){let{state:n}=e,r=ee(n.selection,(n=>n.empty?e.moveVertically(n,t,Be(e)):re(n,t)));if(r.eq(n.selection))return false;let o=e.coordsAtPos(n.selection.main.head);let s=e.scrollDOM.getBoundingClientRect();let i;if(o&&o.top>s.top&&o.bottom<s.bottom&&o.top-s.top<=e.scrollDOM.scrollHeight-e.scrollDOM.scrollTop-e.scrollDOM.clientHeight)i=l.EditorView.scrollIntoView(r.main.head,{y:"start",yMargin:o.top-s.top});e.dispatch(te(n,r),{effects:i});return true}const xe=e=>Le(e,false);const Me=e=>Le(e,true);function be(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 Oe=e=>ne(e,(t=>be(e,t,true)));const Te=e=>ne(e,(t=>be(e,t,false)));const Re=e=>ne(e,(t=>be(e,t,!le(e))));const Ue=e=>ne(e,(t=>be(e,t,le(e))));const Ve=e=>ne(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).from,1)));const Ie=e=>ne(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).to,-1)));function Ge(e,t,n){let o=false,l=ee(e.selection,(t=>{let l=(0,i.Um)(e,t.head,-1)||(0,i.Um)(e,t.head,1)||t.head>0&&(0,i.Um)(e,t.head-1,1)||t.head<e.doc.length&&(0,i.Um)(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(te(e,l));return true}const Ne=({state:e,dispatch:t})=>Ge(e,t,false);const Je=({state:e,dispatch:t})=>Ge(e,t,true);function Fe(e,t){let n=ee(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(te(e.state,n));return true}function ze(e,t){return Fe(e,(n=>e.moveByChar(n,t)))}const He=e=>ze(e,!le(e));const Pe=e=>ze(e,le(e));const qe=e=>ze(e,true);const je=e=>ze(e,false);function Ke(e,t){return Fe(e,(n=>e.moveByGroup(n,t)))}const _e=e=>Ke(e,!le(e));const $e=e=>Ke(e,le(e));const We=e=>Ke(e,true);const Qe=e=>Ke(e,false);function Xe(e,t){return Fe(e,(n=>pe(e,n,t)))}const Ye=e=>Xe(e,true);const Ze=e=>Xe(e,false);const et=e=>Fe(e,(t=>we(e.state,t,!le(e))));const tt=e=>Fe(e,(t=>we(e.state,t,le(e))));function nt(e,t){return Fe(e,(n=>e.moveVertically(n,t)))}const rt=e=>nt(e,false);const ot=e=>nt(e,true);function lt(e,t){return Fe(e,(n=>e.moveVertically(n,t,Be(e))))}const st=e=>lt(e,false);const it=e=>lt(e,true);const at=e=>Fe(e,(t=>be(e,t,true)));const ct=e=>Fe(e,(t=>be(e,t,false)));const ut=e=>Fe(e,(t=>be(e,t,!le(e))));const ft=e=>Fe(e,(t=>be(e,t,le(e))));const ht=e=>Fe(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).from)));const dt=e=>Fe(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).to)));const mt=({state:e,dispatch:t})=>{t(te(e,{anchor:0}));return true};const pt=({state:e,dispatch:t})=>{t(te(e,{anchor:e.doc.length}));return true};const gt=({state:e,dispatch:t})=>{t(te(e,{anchor:e.selection.main.anchor,head:0}));return true};const yt=({state:e,dispatch:t})=>{t(te(e,{anchor:e.selection.main.anchor,head:e.doc.length}));return true};const kt=({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=Vt(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 wt=({state:e,dispatch:t})=>{let n=ee(e.selection,(t=>{var n;let o=(0,i.qz)(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(te(e,n));return true};const vt=({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(te(e,o));return true};function At(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=Ct(e,r,false)}else if(r>l){n="delete.forward";r=Ct(e,r,true)}l=Math.min(l,r);s=Math.max(s,r)}else{l=Ct(e,l,false);s=Ct(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 Ct(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 Et=(e,t)=>At(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.y1)(o)||(0,i.y1)(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 Dt=e=>Et(e,false);const Bt=e=>Et(e,true);const Lt=(e,t)=>At(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 xt=e=>Lt(e,false);const Mt=e=>Lt(e,true);const bt=e=>At(e,(t=>{let n=e.lineBlockAt(t).to;return t<n?n:Math.min(e.state.doc.length,t+1)}));const Ot=e=>At(e,(t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}));const Tt=({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 Rt=({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 Vt(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 It(e,t,n){if(e.readOnly)return false;let o=[],l=[];for(let s of Vt(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 Gt=({state:e,dispatch:t})=>It(e,t,false);const Nt=({state:e,dispatch:t})=>It(e,t,true);function Jt(e,t,n){if(e.readOnly)return false;let r=[];for(let o of Vt(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 Ft=({state:e,dispatch:t})=>Jt(e,t,false);const zt=({state:e,dispatch:t})=>Jt(e,t,true);const Ht=e=>{if(e.state.readOnly)return false;let{state:t}=e,n=t.changes(Vt(t).map((({from:e,to:n})=>{if(e>0)e--;else if(n<t.doc.length)n++;return{from:e,to:n}})));let r=ee(t.selection,(t=>e.moveVertically(t,true))).map(n);e.dispatch({changes:n,selection:r,scrollIntoView:true,userEvent:"delete.line"});return true};const Pt=({state:e,dispatch:t})=>{t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:true,userEvent:"input"}));return true};function qt(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,i.qz)(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(a.md.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 jt=_t(false);const Kt=_t(true);function _t(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&&qt(t,o);if(e)o=l=(l<=s.to?s:t.doc.lineAt(l)).to;let c=new i.Gn(t,{simulateBreak:o,simulateDoubleBreak:!!a});let u=(0,i.K0)(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.SS)(t,u)];if(a)f.push((0,i.SS)(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 $t(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 Wt=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=Object.create(null);let r=new i.Gn(e,{overrideIndentation:e=>{let t=n[e];return t==null?-1:t}});let o=$t(e,((t,o,l)=>{let s=(0,i.K0)(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.SS)(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 Qt=({state:e,dispatch:t})=>{if(e.readOnly)return false;t(e.update($t(e,((t,n)=>{n.push({from:t.from,insert:e.facet(i.c)})})),{userEvent:"input.indent"}));return true};const Xt=({state:e,dispatch:t})=>{if(e.readOnly)return false;t(e.update($t(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.SS)(e,Math.max(0,l-(0,i.y1)(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 Yt=({state:e,dispatch:t})=>{if(e.selection.ranges.some((e=>!e.empty)))return Qt({state:e,dispatch:t});t(e.update(e.replaceSelection("\t"),{scrollIntoView:true,userEvent:"input"}));return true};const Zt=[{key:"Ctrl-b",run:se,shift:He,preventDefault:true},{key:"Ctrl-f",run:ie,shift:Pe},{key:"Ctrl-p",run:Ee,shift:rt},{key:"Ctrl-n",run:De,shift:ot},{key:"Ctrl-a",run:Ve,shift:ht},{key:"Ctrl-e",run:Ie,shift:dt},{key:"Ctrl-d",run:Bt},{key:"Ctrl-h",run:Dt},{key:"Ctrl-k",run:bt},{key:"Ctrl-Alt-h",run:xt},{key:"Ctrl-o",run:Rt},{key:"Ctrl-t",run:Ut},{key:"Ctrl-v",run:Me}];const en=[{key:"ArrowLeft",run:se,shift:He,preventDefault:true},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:fe,shift:_e,preventDefault:true},{mac:"Cmd-ArrowLeft",run:Re,shift:ut,preventDefault:true},{key:"ArrowRight",run:ie,shift:Pe,preventDefault:true},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:he,shift:$e,preventDefault:true},{mac:"Cmd-ArrowRight",run:Ue,shift:ft,preventDefault:true},{key:"ArrowUp",run:Ee,shift:rt,preventDefault:true},{mac:"Cmd-ArrowUp",run:mt,shift:gt},{mac:"Ctrl-ArrowUp",run:xe,shift:st},{key:"ArrowDown",run:De,shift:ot,preventDefault:true},{mac:"Cmd-ArrowDown",run:pt,shift:yt},{mac:"Ctrl-ArrowDown",run:Me,shift:it},{key:"PageUp",run:xe,shift:st},{key:"PageDown",run:Me,shift:it},{key:"Home",run:Te,shift:ct,preventDefault:true},{key:"Mod-Home",run:mt,shift:gt},{key:"End",run:Oe,shift:at,preventDefault:true},{key:"Mod-End",run:pt,shift:yt},{key:"Enter",run:jt},{key:"Mod-a",run:kt},{key:"Backspace",run:Dt,shift:Dt},{key:"Delete",run:Bt},{key:"Mod-Backspace",mac:"Alt-Backspace",run:xt},{key:"Mod-Delete",mac:"Alt-Delete",run:Mt},{mac:"Mod-Backspace",run:Ot},{mac:"Mod-Delete",run:bt}].concat(Zt.map((e=>({mac:e.key,run:e.run,shift:e.shift}))));const tn=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:ve,shift:et},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Ae,shift:tt},{key:"Alt-ArrowUp",run:Gt},{key:"Shift-Alt-ArrowUp",run:Ft},{key:"Alt-ArrowDown",run:Nt},{key:"Shift-Alt-ArrowDown",run:zt},{key:"Escape",run:vt},{key:"Mod-Enter",run:Kt},{key:"Alt-l",mac:"Ctrl-l",run:St},{key:"Mod-i",run:wt,preventDefault:true},{key:"Mod-[",run:Xt},{key:"Mod-]",run:Qt},{key:"Mod-Alt-\\",run:Wt},{key:"Shift-Mod-k",run:Ht},{key:"Shift-Mod-\\",run:Ne},{key:"Mod-/",run:c},{key:"Alt-A",run:m}].concat(en);const nn={key:"Tab",run:Qt,shift:Xt}}}]);
|
2
|
+
//# sourceMappingURL=3547.f1596a95dc36296cdb06.js.map?v=f1596a95dc36296cdb06
|
@@ -0,0 +1,2 @@
|
|
1
|
+
(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[3783,4155],{1065:(t,e,s)=>{"use strict";s.d(e,{Gn:()=>wt,Mb:()=>f,eC:()=>p,vQ:()=>Lt});var i=s(37496);var n=s.n(i);var o=s(48839);var r=s.n(o);var l=s(16888);class a{constructor(t,e,s){this.state=t;this.pos=e;this.explicit=s;this.abortListeners=[]}tokenBefore(t){let e=(0,l.qz)(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(g(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 h(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 c(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=h(e)+h(s)+"*$";return[new RegExp("^"+i),new RegExp(i)]}function f(t){let e=t.map((t=>typeof t=="string"?{label:t}:t));let[s,i]=e.every((t=>/^\w+$/.test(t.label)))?[/\w*$/,/\w+$/]:c(e);return t=>{let n=t.matchBefore(i);return n||t.explicit?{from:n?n.from:t.pos,options:e,validFor:s}:null}}function u(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);return null}}function p(t,e){return s=>{for(let e=(0,l.qz)(s.state).resolveInner(s.pos,-1);e;e=e.parent)if(t.indexOf(e.name)>-1)return null;return e(s)}}class d{constructor(t,e,s){this.completion=t;this.source=e;this.match=s}}function m(t){return t.selection.main.head}function g(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 k=i.Annotation.define();function x(t,e,s,n){return Object.assign(Object.assign({},t.changeByRange((o=>{if(o==t.selection.main)return{changes:{from:s,to:n,insert:e},range:i.EditorSelection.cursor(s+e.length)};let r=n-s;if(!o.empty||r&&t.sliceDoc(o.from-r,o.from)!=t.sliceDoc(s,n))return{range:o};return{changes:{from:o.from-r,to:o.from,insert:e},range:i.EditorSelection.cursor(o.from-r+e.length)}}))),{userEvent:"input.complete"})}function b(t,e){const s=e.completion.apply||e.completion.label;let i=e.source;if(typeof s=="string")t.dispatch(Object.assign(Object.assign({},x(t.state,s,i.from,i.to)),{annotations:k.of(e.completion)}));else s(t,e.completion,i.from,i.to)}const v=new WeakMap;function w(t){if(!Array.isArray(t))return t;let e=v.get(t);if(!e)v.set(t,e=f(t));return e}class y{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);return n==e[0]?[0,0,(0,i.codePointSize)(n)]:n==s[0]?[-200,0,(0,i.codePointSize)(n)]:null}let l=t.indexOf(this.pattern);if(l==0)return[0,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,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 S=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:[],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=>C(t(s),e(s)),optionClass:(t,e)=>s=>C(t(s),e(s)),addToOptions:(t,e)=>t.concat(e)})}});function C(t,e){return t?e?t+" "+e:t:e}function P(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 A(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 T{constructor(t,e){this.view=t;this.stateField=e;this.info=null;this.placeInfo={read:()=>this.measureInfo(),write:t=>this.positionInfo(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(S);this.optionContent=P(o);this.optionClass=o.optionClass;this.tooltipClass=o.tooltipClass;this.range=A(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){b(t,i[+n[1]]);e.preventDefault();return}}}));this.list=this.dom.appendChild(this.createListBox(i,s.id,this.range));this.list.addEventListener("scroll",(()=>{if(this.info)this.view.requestMeasure(this.placeInfo)}))}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.placeInfo)}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=A(e.options.length,e.selected,this.view.state.facet(S).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.placeInfo)}))}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.placeInfo)}updateSelectedOption(t){let e=null;for(let s=this.list.firstChild,i=this.range.from;s;s=s.nextSibling,i++){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)R(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;let r=this.view.textDirection==o.Direction.RTL,l=r,a=false,h;let c="",f="";let u=e.left-n.left,p=n.right-e.right;if(l&&u<Math.min(s.width,p))l=false;else if(!l&&p<Math.min(s.width,u))l=true;if(s.width<=(l?u:p)){c=Math.max(n.top,Math.min(i.top,n.bottom-s.height))-e.top+"px";h=Math.min(400,l?u:p)+"px"}else{a=true;h=Math.min(400,(r?e.right:n.right-e.left)-30)+"px";let t=n.bottom-e.bottom;if(t>=s.height||t>e.top)c=i.bottom-e.top+"px";else f=e.bottom-i.top+"px"}return{top:c,bottom:f,maxWidth:h,class:a?r?"left-narrow":"right-narrow":l?"left":"right"}}positionInfo(t){if(this.info){if(t){this.info.style.top=t.top;this.info.style.bottom=t.bottom;this.info.style.maxWidth=t.maxWidth;this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+t.class}else{this.info.style.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"));for(let n=s.from;n<s.to;n++){let{completion:s,match:o}=t[n];const r=i.appendChild(document.createElement("li"));r.id=e+"-"+n;r.setAttribute("role","option");let l=this.optionClass(s);if(l)r.className=l;for(let t of this.optionContent){let e=t(s,this.view.state,o);if(e)r.appendChild(e)}}if(s.from)i.classList.add("cm-completionListIncompleteTop");if(s.to<t.length)i.classList.add("cm-completionListIncompleteBottom");return i}}function I(t){return e=>new T(e,t)}function R(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 E(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function D(t,e){let s=[],i=0;for(let l of t)if(l.hasResult()){if(l.result.filter===false){let t=l.result.getMatch;for(let e of l.result.options){let n=[1e9-i++];if(t)for(let s of t(e))n.push(s);s.push(new d(e,l,n))}}else{let t=new y(e.sliceDoc(l.from,l.to)),i;for(let e of l.result.options)if(i=t.match(e.label)){if(e.boost!=null)i[0]+=e.boost;s.push(new d(e,l,i))}}}let n=[],o=null;let r=e.facet(S).compareCompletions;for(let l of s.sort(((t,e)=>e.match[0]-t.match[0]||r(t.completion,e.completion)))){if(!o||o.label!=l.completion.label||o.detail!=l.completion.detail||o.type!=null&&l.completion.type!=null&&o.type!=l.completion.type||o.apply!=l.completion.apply)n.push(l);else if(E(l.completion)>E(o))n[n.length-1]=l;o=l.completion}return n}class O{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 O(this.options,z(e,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,e,s,i,n){let o=D(t,e);if(!o.length){return i&&t.some((t=>t.state==1))?new O(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,true):null}let r=e.facet(S).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 O(o,z(s,r),{pos:t.reduce(((t,e)=>e.hasResult()?Math.min(t,e.from):t),1e8),create:I(_),above:n.aboveCursor},i?i.timestamp:Date.now(),r,false)}map(t){return new O(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class M{constructor(t,e,s){this.active=t;this.id=e;this.open=s}static start(){return new M(B,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:e}=t,s=e.facet(S);let i=s.override||e.languageDataAt("autocomplete",m(e)).map(w);let n=i.map((e=>{let i=this.active.find((t=>t.source==e))||new $(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)))||!N(n,this.active))o=O.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 $(t.source,0):t));for(let r of t.effects)if(r.is(H))o=o&&o.setSelected(r.value,this.id);return n==this.active&&o==this.open?this:new M(n,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:L}}function N(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 L={"aria-autocomplete":"list"};function z(t,e){let s={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};if(e>-1)s["aria-activedescendant"]=t+"-"+e;return s}const B=[];function F(t){return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}class ${constructor(t,e,s=-1){this.source=t;this.state=e;this.explicitPos=s}hasResult(){return false}update(t,e){let s=F(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 $(i.source,0);for(let n of t.effects){if(n.is(W))i=new $(i.source,1,n.value?m(t.state):-1);else if(n.is(q))i=new $(i.source,0);else if(n.is(V))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 $(this.source,1)}handleChange(t){return t.changes.touchesRange(m(t.startState))?new $(this.source,0):this.map(t.changes)}map(t){return t.empty||this.explicitPos<0?this:new $(this.source,this.state,t.mapPos(this.explicitPos))}}class j extends ${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=m(t.state);if((this.explicitPos<0?r<=n:r<this.from)||r>o||e=="delete"&&m(t.startState)==this.from)return new $(this.source,e=="input"&&s.activateOnTyping?1:0);let l=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos),h;if(U(this.result.validFor,t.state,n,o))return new j(this.source,l,this.result,n,o);if(this.result.update&&(h=this.result.update(this.result,n,o,new a(t.state,r,l>=0))))return new j(this.source,l,h,h.from,(i=h.to)!==null&&i!==void 0?i:m(t.state));return new $(this.source,1,l)}handleChange(t){return t.changes.touchesRange(this.from,this.to)?new $(this.source,0):this.map(t.changes)}map(t){return t.empty?this:new j(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1))}}function U(t,e,s,i){if(!t)return false;let n=e.sliceDoc(s,i);return typeof t=="function"?t(n,s,i,e):g(t,true).test(n)}const W=i.StateEffect.define();const q=i.StateEffect.define();const V=i.StateEffect.define({map(t,e){return t.map((t=>t.map(e)))}});const H=i.StateEffect.define();const _=i.StateField.define({create(){return M.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 G(t,e="option"){return s=>{let i=s.state.field(_,false);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp<s.state.facet(S).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:H.of(a)});return true}}const Q=t=>{let e=t.state.field(_,false);if(t.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestamp<t.state.facet(S).interactionDelay)return false;if(!e.open.disabled)b(t,e.open.options[e.open.selected]);return true};const K=t=>{let e=t.state.field(_,false);if(!e)return false;t.dispatch({effects:W.of(true)});return true};const J=t=>{let e=t.state.field(_,false);if(!e||!e.active.some((t=>t.state!=0)))return false;t.dispatch({effects:q.of(null)});return true};class X{constructor(t,e){this.active=t;this.context=e;this.time=Date.now();this.updates=[];this.done=undefined}}const Y=50,Z=50,tt=1e3;const et=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(_).active)if(e.state==1)this.startQuery(e)}update(t){let e=t.state.field(_);if(!t.selectionSet&&!t.docChanged&&t.startState.field(_)==e)return;let s=t.transactions.some((t=>(t.selection||t.docChanged)&&!F(t)));for(let n=0;n<this.running.length;n++){let e=this.running[n];if(s||e.updates.length+t.transactions.length>Z&&Date.now()-e.time>tt){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()),Y):-1;if(this.composing!=0)for(let n of t.transactions){if(F(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(_);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=m(e);let i=new a(e,s,t.explicitPos==s);let n=new X(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:q.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()),Y)}accept(){var t;if(this.debounceAccept>-1)clearTimeout(this.debounceAccept);this.debounceAccept=-1;let e=[];let s=this.view.state.facet(S);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 j(n.active.source,n.active.explicitPos,n.done,n.done.from,(t=n.done.to)!==null&&t!==void 0?t:m(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(_).active.find((t=>t.source==n.active.source));if(o&&o.state==1){if(n.done==null){let t=new $(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:V.of(e)})}},{eventHandlers:{blur(){let t=this.view.state.field(_,false);if(t&&t.tooltip&&this.view.state.facet(S).closeOnBlur)this.view.dispatch({effects:q.of(null)})},compositionstart(){this.composing=1},compositionend(){if(this.composing==3){setTimeout((()=>this.view.dispatch({effects:W.of(false)})),20)}this.composing=0}}});const st=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":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&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 it{constructor(t,e,s,i){this.field=t;this.line=e;this.from=s;this.to=i}}class nt{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 nt(this.field,e,s)}}class ot{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.c);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 nt(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 it(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 ot(s,i)}}let rt=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 lt=o.Decoration.mark({class:"cm-snippetField"});class at{constructor(t,e){this.ranges=t;this.active=e;this.deco=o.Decoration.set(t.map((t=>(t.from==t.to?rt:lt).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 at(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 ht=i.StateEffect.define({map(t,e){return t&&t.map(e)}});const ct=i.StateEffect.define();const ft=i.StateField.define({create(){return null},update(t,e){for(let s of e.effects){if(s.is(ht))return s.value;if(s.is(ct)&&t)return new at(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 ut(t,e){return i.EditorSelection.create(t.filter((t=>t.field==e)).map((t=>i.EditorSelection.range(t.from,t.to))))}function pt(t){let e=ot.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};if(l.length)a.selection=ut(l,0);if(l.length>1){let e=new at(l,0);let s=a.effects=[ht.of(e)];if(t.state.field(ft,false)===undefined)s.push(i.StateEffect.appendConfig.of([ft,vt,yt,st]))}t.dispatch(t.state.update(a))}}function dt(t){return({state:e,dispatch:s})=>{let i=e.field(ft,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:ut(i.ranges,n),effects:ht.of(o?null:new at(i.ranges,n))}));return true}}const mt=({state:t,dispatch:e})=>{let s=t.field(ft,false);if(!s)return false;e(t.update({effects:ht.of(null)}));return true};const gt=dt(1);const kt=dt(-1);const xt=[{key:"Tab",run:gt,shift:kt},{key:"Escape",run:mt}];const bt=i.Facet.define({combine(t){return t.length?t[0]:xt}});const vt=i.Prec.highest(o.keymap.compute([bt],(t=>t.facet(bt))));function wt(t,e){return Object.assign(Object.assign({},e),{apply:pt(t)})}const yt=o.EditorView.domEventHandlers({mousedown(t,e){let s=e.state.field(ft,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:ut(s.ranges,n.field),effects:ht.of(s.ranges.some((t=>t.field>n.field))?new at(s.ranges,n.field):null)});return true}});function St(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 Ct(t,e){return new RegExp(e(t.source),t.unicode?"u":"")}const Pt=null&&Object.create(null);function At(t){return Pt[t]||(Pt[t]=new WeakMap)}function Tt(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 It(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 It(r,e,s,i-o,n-o)){if(!a[t.label]){a[t.label]=true;l.push(t)}}}else{Tt(r,s,l,a,n-o)}o+=r.length+1}}else{Tt(t,s,l,a,n)}if(o&&l.length<2e3)e.set(t,l);return l}const Rt=t=>{let e=t.state.languageDataAt("wordChars",t.pos).join("");let s=St(e);let i=t.matchBefore(Ct(s,(t=>t+"$")));if(!i&&!t.explicit)return null;let n=i?i.from:t.pos;let o=It(t.state.doc,At(e),s,5e4,n);return{from:n,options:o,validFor:Ct(s,(t=>"^"+t))}};const Et={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]};const Dt=i.StateEffect.define({map(t,e){let s=e.mapPos(t,-1,i.MapMode.TrackAfter);return s==null?undefined:s}});const Ot=i.StateEffect.define({map(t,e){return e.mapPos(t)}});const Mt=new class extends i.RangeValue{};Mt.startSide=1;Mt.endSide=-1;const Nt=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(Dt))t=t.update({add:[Mt.range(s.value,s.value+1)]});else if(s.is(Ot))t=t.update({filter:t=>t!=s.value})}return t}});function Lt(){return[jt,Nt]}const zt="()[]{}<>";function Bt(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 Ft(t,e){return t.languageDataAt("closeBrackets",e)[0]||Et}const $t=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent);const jt=o.EditorView.inputHandler.of(((t,e,s,n)=>{if(($t?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=qt(t.state,n);if(!r)return false;t.dispatch(r);return true}));const Ut=({state:t,dispatch:e})=>{if(t.readOnly)return false;let s=Ft(t,t.selection.main.head);let n=s.brackets||Et.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)==Bt((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 Wt=[{key:"Backspace",run:Ut}];function qt(t,e){let s=Ft(t,t.selection.main.head);let n=s.brackets||Et.brackets;for(let o of n){let r=Bt((0,i.codePointAt)(o,0));if(e==o)return r==o?Kt(t,o,n.indexOf(o+o+o)>-1,s):Gt(t,o,r,s.before||Et.before);if(e==r&&Vt(t,t.selection.main.from))return Qt(t,o,r)}return null}function Vt(t,e){let s=false;t.field(Nt).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 Gt(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:Dt.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:Dt.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 Qt(t,e,s){let n=null,o=t.selection.ranges.map((e=>{if(e.empty&&Ht(t.doc,e.head)==s)return i.EditorSelection.cursor(e.head+s.length);return n=e}));return n?null:t.update({selection:i.EditorSelection.create(o,t.selection.mainIndex),scrollIntoView:true,effects:t.selection.ranges.map((({from:t})=>Ot.of(t)))})}function Kt(t,e,s,n){let o=n.stringPrefixes||Et.stringPrefixes;let r=null,l=t.changeByRange((n=>{if(!n.empty)return{changes:[{insert:e,from:n.from},{insert:e,from:n.to}],effects:Dt.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:Dt.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(Vt(t,l)){let n=s&&t.sliceDoc(l,l+e.length*3)==e+e+e;return{range:i.EditorSelection.cursor(l+e.length*(n?3:1)),effects:Ot.of(l)}}}else if(s&&t.sliceDoc(l-2*e.length,l)==e+e&&(h=Yt(t,l-2*e.length,o))>-1&&Jt(t,h)){return{changes:{insert:e+e+e+e,from:l},effects:Dt.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(t.charCategorizer(l)(a)!=i.CharCategory.Word){if(Yt(t,l,o)>-1&&!Xt(t,l,e,o))return{changes:{insert:e+e,from:l},effects:Dt.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.qz)(t).resolveInner(e+1);return s.parent&&s.from==e}function Xt(t,e,s,i){let n=(0,l.qz)(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 Yt(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 Zt(t={}){return[_,S.of(t),et,ee,st]}const te=[{key:"Ctrl-Space",run:K},{key:"Escape",run:J},{key:"ArrowDown",run:G(true)},{key:"ArrowUp",run:G(false)},{key:"PageDown",run:G(true,"page")},{key:"PageUp",run:G(false,"page")},{key:"Enter",run:Q}];const ee=i.Prec.highest(o.keymap.computeN([S],(t=>t.facet(S).defaultKeymap?[te]:[])));function se(t){let e=t.field(_,false);return e&&e.active.some((t=>t.state==1))?"pending":e&&e.active.some((t=>t.state!=0))?"active":null}const ie=new WeakMap;function ne(t){var e;let s=(e=t.field(_,false))===null||e===void 0?void 0:e.open;if(!s||s.disabled)return[];let i=ie.get(s.options);if(!i)ie.set(s.options,i=s.options.map((t=>t.completion)));return i}function oe(t){var e;let s=(e=t.field(_,false))===null||e===void 0?void 0:e.open;return s&&!s.disabled&&s.selected>=0?s.options[s.selected].completion:null}function re(t){var e;let s=(e=t.field(_,false))===null||e===void 0?void 0:e.open;return s&&!s.disabled&&s.selected>=0?s.selected:null}function le(t){return H.of(t)}},11705:(t,e,s)=>{"use strict";s.d(e,{IK:()=>D,Jq:()=>g,RA:()=>m,WQ:()=>O});var i=s(72104);var n=s(34155);class o{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 o(t,[],e,s,s,0,[],0,i?new r(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 o(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 a(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 r(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 r{constructor(t,e){this.tracker=t;this.context=e;this.hash=t.strict?t.hash(e):0}}var l;(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"})(l||(l={}));class a{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 h{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 h(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 h(this.stack,this.pos,this.index)}}function c(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 f{constructor(){this.start=-1;this.value=-1;this.end=-1;this.extended=-1;this.lookAhead=0;this.mask=0;this.context=0}}const u=new f;class p{constructor(t,e){this.input=t;this.ranges=e;this.chunk="";this.chunkOff=0;this.chunk2="";this.chunk2Pos=0;this.next=-1;this.token=u;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=u}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 d{constructor(t,e){this.data=t;this.id=e}token(t,e){let{parser:s}=e.p;k(this.data,t,e,this.id,s.data,s.tokenPrecTable)}}d.prototype.contextual=d.prototype.fallback=d.prototype.extend=false;class m{constructor(t,e,s){this.precTable=e;this.elseToken=s;this.data=typeof t=="string"?c(t):t}token(t,e){let s=t.pos,i;for(;;){i=t.pos;k(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)}}}m.prototype.contextual=d.prototype.fallback=d.prototype.extend=false;class g{constructor(t,e={}){this.token=t;this.contextual=!!e.contextual;this.fallback=!!e.fallback;this.extend=!!e.extend}}function k(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||b(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 x(t,e,s){for(let i=e,n;(n=t[i])!=65535;i++)if(n==s)return i-e;return-1}function b(t,e,s,i){let n=x(s,i,e);return n<0||x(s,i,t)<n}const v=typeof n!="undefined"&&n.env&&/\bparse\b/.test(n.env.LOG);let w=null;var y;(function(t){t[t["Margin"]=25]="Margin"})(y||(y={}));function S(t,e,s){let n=t.cursor(i.vj.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 C{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?S(t.tree,t.from+t.offset,1)-t.offset:t.from;this.safeTo=t.openEnd?S(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.mp){if(r==t){if(r<this.safeFrom)return null;let t=r+o.length;if(t<=this.safeTo){let e=o.prop(i.md.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 P{constructor(t,e){this.stream=e;this.tokens=[];this.mainToken=null;this.actions=[];this.tokens=t.tokenizers.map((t=>new f))}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 f;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 f,{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=M(r,t+2)}else{if(i==0&&r[t+1]==2)i=this.putAction(M(r,t+2),e,s,i);break}}if(r[t]==e)i=this.putAction(M(r,t+1),e,s,i)}}return i}}var A;(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"})(A||(A={}));class T{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 p(e,i);this.tokens=new P(t,this.stream);this.topTerm=t.top[1];let{from:n}=i[0];this.stacks=[o.start(this,t.top[0],n)];this.fragments=s.length&&this.stream.end-n>t.bufferLength*4?new C(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&&N(i);if(t)return this.stackToTree(t);if(this.parser.strict){if(v&&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=v?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.md.contextHash)||0)==s)){t.useNode(l,n);if(v)console.log(r+this.stackID(t)+` (via reuse of ${o.getName(l.type.id)})`);return true}if(!(l instanceof i.mp)||l.children.length==0||l.positions[0]>0)break;let a=l.children[0];if(a instanceof i.mp&&l.positions[0]==0)l=a;else break}}let l=o.stateSlot(t.state,4);if(l>0){t.reduce(l);if(v)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(v)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){I(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=v?this.stackID(r)+" -> ":"";if(r.deadEnd){if(n)continue;n=true;r.restart();if(v)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(v)console.log(f+this.stackID(c)+" (via force-reduce)");let t=this.advanceFully(c,s);if(t)break;if(v)f=this.stackID(c)+" -> "}for(let t of r.recoverByInsert(l)){if(v)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(v)console.log(h+this.stackID(r)+` (via recover-delete ${this.parser.getName(l)})`);I(r,s)}else if(!i||i.score<r.score){i=r}}return i}stackToTree(t){t.close();return i.mp.build({buffer:h.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=(w||(w=new WeakMap)).get(t);if(!e)w.set(t,e=String.fromCodePoint(this.nextStackID++));return e+t}}function I(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 R{constructor(t,e,s){this.source=t;this.flags=e;this.disabled=s}allows(t){return!this.disabled||this.disabled[t]==0}}const E=t=>t;class D{constructor(t){this.start=t.start;this.shift=t.shift||E;this.reduce=t.reduce||E;this.reuse=t.reuse||E;this.hash=t.hash||(()=>0);this.strict=t.strict!==false}}class O extends i._b{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.md[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.Lj(e.map(((e,o)=>i.Jq.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.L3;let r=c(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(L);this.states=c(t.states,Uint32Array);this.data=c(t.stateData);this.goto=c(t.goto);this.maxTerm=t.maxTerm;this.tokenizers=t.tokenizers.map((t=>typeof t=="number"?new d(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 T(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=M(s,n+2)];else if(s[n+1]==2)return M(s,n+2);else break}if(o==e||o==0)return M(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=M(this.data,s+2);else return false}if(e==M(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=M(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(O.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]=L(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 R(t,s,i)}static deserialize(t){return new O(t)}}function M(t,e){return t[e]|t[e+1]<<16}function N(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 L(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}}}]);
|
2
|
+
//# sourceMappingURL=3783.d68dff3a9631f0665413.js.map?v=d68dff3a9631f0665413
|