jupyterlab 4.2.0a1__py3-none-any.whl → 4.2.0b0__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/browser_check.py +1 -0
- jupyterlab/commands.py +18 -10
- jupyterlab/debuglog.py +1 -3
- jupyterlab/federated_labextensions.py +0 -1
- jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +106 -97
- jupyterlab/galata/@jupyterlab/galata-extension/package.json +11 -11
- jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.3e3b6ffec7bafcabe954.js → remoteEntry.b83b63e83d3380f84349.js} +3 -3
- jupyterlab/galata/__init__.py +3 -1
- jupyterlab/labapp.py +1 -1
- jupyterlab/labextensions.py +9 -0
- jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +10 -10
- jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +14 -14
- jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
- jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +13 -13
- jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +10 -10
- jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -17
- jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +12 -11
- jupyterlab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
- jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +13 -13
- jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +25 -25
- jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +8 -8
- jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
- jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +9 -9
- jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +10 -10
- jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
- jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -9
- jupyterlab/schemas/@jupyterlab/mainmenu-extension/plugin.json +5 -0
- jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -9
- jupyterlab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -3
- jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +30 -30
- jupyterlab/schemas/@jupyterlab/notebook-extension/tracker.json +1 -1
- jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +14 -10
- jupyterlab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
- jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +29 -0
- jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
- jupyterlab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
- jupyterlab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
- jupyterlab/staging/package.json +155 -151
- jupyterlab/staging/webpack.config.js +1 -1
- jupyterlab/staging/yarn.lock +1313 -1494
- jupyterlab/static/{1036.b7aaba381aaa04073a6b.js → 1036.74d6496d46b17938321f.js} +2 -2
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/1166.4098a92fbb801821731a.js → jupyterlab/static/1166.08f9e1fd722f61c9b69c.js +1 -1
- jupyterlab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
- jupyterlab/static/2091.0ad2070604beb93b34c5.js +1 -0
- jupyterlab/static/2104.96885e414ee656615c2b.js +1 -0
- jupyterlab/static/{2551.8ff3e561387bb693569c.js → 2551.b07d561a12360c38c589.js} +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2579.c28985048ab1a5ff2308.js → jupyterlab/static/2579.b19edefeb9ee4daed4bd.js +1 -1
- jupyterlab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
- jupyterlab/static/2995.334184c36a45c82ad564.js +1 -0
- jupyterlab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
- jupyterlab/static/3783.36bf783a511cc87997c0.js +1 -0
- jupyterlab/static/4043.c57e85faf640ba37b87c.js +1 -0
- jupyterlab/static/{406.e9483074129d4ff914e2.js → 406.81906f96059e31e907a2.js} +1 -1
- jupyterlab/static/{8250.1c239c2f52ca6f4177c7.js → 4081.913784df567f94e88ca2.js} +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js → jupyterlab/static/4136.1d93677b1672dfac4946.js +2 -2
- jupyterlab/static/4405.196dd63db3761b4bb7fe.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4765.de0102c1754669a3d242.js → jupyterlab/static/4765.093b4f8b3cee1251db8d.js +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/49.7233f68f95d10b85a83e.js → jupyterlab/static/49.43ad810fe0adbd6be564.js +1 -1
- jupyterlab/static/4986.c819184e09e1e15ef06b.js +1 -0
- jupyterlab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/5794.6ddce9d8233ad1e4fea2.js → jupyterlab/static/5794.3cb2bcd1a3e23d0c084e.js +1 -1
- jupyterlab/static/{6001.da3cf3d9f5f28c3cf62d.js → 6001.963601fcecb8b4c1d1f1.js} +1 -1
- jupyterlab/static/6323.2e990d12cb8fc88100f7.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/6436.d1efff651b8af3988cf3.js → jupyterlab/static/6436.8d9ba427de4ab1053871.js +1 -1
- jupyterlab/static/6532.598324868e83c4cbe4e4.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/6770.fd7084bb2f4b7622401d.js → jupyterlab/static/6770.b3626c6d6012561c354d.js +1 -1
- jupyterlab/static/6888.f71353e198bce9c2f409.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js → jupyterlab/static/7313.7314c776c55c5652cb0f.js +2 -2
- jupyterlab/static/{7318.397bf8e913e825b2be27.js → 7318.f5a0db6dd94488328be5.js} +1 -1
- jupyterlab/static/7823.f3c8154418bc214dc89a.js +1 -0
- jupyterlab/static/795.c780bf11bb08527e3c84.js +1 -0
- jupyterlab/static/812.5047d11ee93f3b49d365.js +1 -0
- jupyterlab/static/8771.ac4c870ed77005ec8e34.js +1 -0
- jupyterlab/static/{881.7c5bc8dd48eb32398005.js → 881.972f79365eed0f77378e.js} +1 -1
- jupyterlab/static/9.82c3bf54739d037b7bd1.js +1 -0
- jupyterlab/static/9030.61b135ed4411056792ab.js +1 -0
- jupyterlab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9230.58b8c42b730e1a56e69b.js → jupyterlab/static/9230.a0f5f5330c203cd900b5.js +1 -1
- jupyterlab/static/{9395.ff3dc1f239b429a55732.js → 9395.b59dceae72715c9f885c.js} +1 -1
- jupyterlab/static/942.68bd92fc10c9f9d7004f.js +1 -0
- jupyterlab/static/{9545.f0f7a2959bdd17ee3448.js → 9545.7cb4fa7dd5bb4f722b6f.js} +1 -1
- jupyterlab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
- jupyterlab/static/9826.e373873086e4fa5c147f.js +2 -0
- jupyterlab/static/9870.714b869d9320ef3fe065.js +1 -0
- jupyterlab/static/build_log.json +107 -101
- jupyterlab/static/index.html +1 -1
- jupyterlab/static/index.out.js +11 -0
- jupyterlab/static/jlab_core.f4bcf73da05522d81d3d.js +1 -0
- jupyterlab/static/main.b09ec810595ca1abe046.js +1 -0
- jupyterlab/static/package.json +155 -151
- jupyterlab/static/style.js +1 -0
- jupyterlab/static/third-party-licenses.json +134 -128
- jupyterlab/style.js +1 -0
- 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 +1 -1
- jupyterlab/tests/mock_packages/test-hyphens-underscore/package.json +2 -2
- jupyterlab/tests/mock_packages/test-hyphens-underscore/pyproject.toml +1 -1
- jupyterlab/tests/mock_packages/test-hyphens-underscore/yarn.lock +2803 -0
- jupyterlab/tests/mock_packages/test_no_hyphens/package.json +2 -2
- jupyterlab/tests/mock_packages/test_no_hyphens/pyproject.toml +1 -1
- jupyterlab/tests/mock_packages/test_no_hyphens/yarn.lock +2803 -0
- jupyterlab/tests/test_build_api.py +1 -0
- jupyterlab/themes/@jupyterlab/theme-dark-extension/index.css +84 -84
- jupyterlab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
- jupyterlab/upgrade_extension.py +2 -2
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +10 -10
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +14 -14
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +11 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +13 -13
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +10 -10
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -17
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +12 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -7
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +13 -13
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +25 -25
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +8 -8
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +9 -9
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +7 -7
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +10 -10
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -9
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +5 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -9
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -3
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +30 -30
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +1 -1
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +14 -10
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +7 -7
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +29 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +11 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +11 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/1036.b7aaba381aaa04073a6b.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/1036.74d6496d46b17938321f.js +2 -2
- jupyterlab/static/1166.4098a92fbb801821731a.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/1166.08f9e1fd722f61c9b69c.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/2091.0ad2070604beb93b34c5.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/2104.96885e414ee656615c2b.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2551.8ff3e561387bb693569c.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/2551.b07d561a12360c38c589.js +1 -1
- jupyterlab/static/2579.c28985048ab1a5ff2308.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/2579.b19edefeb9ee4daed4bd.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/2995.334184c36a45c82ad564.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/3783.36bf783a511cc87997c0.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/4043.c57e85faf640ba37b87c.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/406.e9483074129d4ff914e2.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/406.81906f96059e31e907a2.js +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/8250.1c239c2f52ca6f4177c7.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/4081.913784df567f94e88ca2.js +1 -1
- jupyterlab/static/4136.4b9f72f85f49f979ebb8.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/4136.1d93677b1672dfac4946.js +2 -2
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/4405.196dd63db3761b4bb7fe.js +1 -0
- jupyterlab/static/4765.de0102c1754669a3d242.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/4765.093b4f8b3cee1251db8d.js +1 -1
- jupyterlab/static/49.7233f68f95d10b85a83e.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/49.43ad810fe0adbd6be564.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/4986.c819184e09e1e15ef06b.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
- jupyterlab/static/5794.6ddce9d8233ad1e4fea2.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/5794.3cb2bcd1a3e23d0c084e.js +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/6001.da3cf3d9f5f28c3cf62d.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/6001.963601fcecb8b4c1d1f1.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/6323.2e990d12cb8fc88100f7.js +1 -0
- jupyterlab/static/6436.d1efff651b8af3988cf3.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/6436.8d9ba427de4ab1053871.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/6532.598324868e83c4cbe4e4.js +1 -0
- jupyterlab/static/6770.fd7084bb2f4b7622401d.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/6770.b3626c6d6012561c354d.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/6888.f71353e198bce9c2f409.js +1 -0
- jupyterlab/static/7313.4a8a9a1eee6f7ef15ee1.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/7313.7314c776c55c5652cb0f.js +2 -2
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/7318.397bf8e913e825b2be27.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/7318.f5a0db6dd94488328be5.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/7823.f3c8154418bc214dc89a.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/795.c780bf11bb08527e3c84.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/812.5047d11ee93f3b49d365.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/8771.ac4c870ed77005ec8e34.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/881.7c5bc8dd48eb32398005.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/881.972f79365eed0f77378e.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9.82c3bf54739d037b7bd1.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9030.61b135ed4411056792ab.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
- jupyterlab/static/9230.58b8c42b730e1a56e69b.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9230.a0f5f5330c203cd900b5.js +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9395.ff3dc1f239b429a55732.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9395.b59dceae72715c9f885c.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/942.68bd92fc10c9f9d7004f.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9545.f0f7a2959bdd17ee3448.js → jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9545.7cb4fa7dd5bb4f722b6f.js +1 -1
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9826.e373873086e4fa5c147f.js +2 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9870.714b869d9320ef3fe065.js +1 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/build_log.json +107 -101
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/index.html +1 -1
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/index.out.js +11 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/jlab_core.f4bcf73da05522d81d3d.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/main.b09ec810595ca1abe046.js +1 -0
- jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/package.json +354 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/style.js +1 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/third-party-licenses.json +134 -128
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +84 -84
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0b0.dist-info}/METADATA +14 -7
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0b0.dist-info}/RECORD +518 -514
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0b0.dist-info}/WHEEL +1 -1
- jupyterlab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
- jupyterlab/static/1410.e2302ff5f564d6e596bb.js +0 -1
- jupyterlab/static/2091.600b1c32af186f6405f9.js +0 -1
- jupyterlab/static/2104.296346db0067b4883fbf.js +0 -1
- jupyterlab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
- jupyterlab/static/292.3f7844a129f16ec1ffbc.js +0 -1
- jupyterlab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
- jupyterlab/static/3547.bd90e90bfe79911486e8.js +0 -1
- jupyterlab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
- jupyterlab/static/4043.aa012978c41d1d1b2f14.js +0 -1
- jupyterlab/static/4405.43dab120fea32f30bbb9.js +0 -1
- jupyterlab/static/4986.a497cdda4b7152902568.js +0 -1
- jupyterlab/static/5201.8866042bae350659528a.js +0 -1
- jupyterlab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
- jupyterlab/static/6888.9d3914817f3290827a64.js +0 -1
- jupyterlab/static/7823.817687f13e9a6781fdd3.js +0 -1
- jupyterlab/static/795.47ab66037ef33f808f09.js +0 -1
- jupyterlab/static/812.245ed5bad344b83aaa94.js +0 -1
- jupyterlab/static/8771.327a202178f82f3b15b8.js +0 -1
- jupyterlab/static/9.0e0cba0ccc2a4b670600.js +0 -1
- jupyterlab/static/9030.260bc05e28eccff70ae8.js +0 -1
- jupyterlab/static/9041.df39043656c7233552e4.js +0 -1
- jupyterlab/static/942.93c8de61ea9ea08ec097.js +0 -1
- jupyterlab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
- jupyterlab/static/9826.406d2a71dc45995bc549.js +0 -2
- jupyterlab/static/9870.70b2b59cc96c3a97c489.js +0 -1
- jupyterlab/static/jlab_core.96636abd45a035c16dd5.js +0 -1
- jupyterlab/static/main.8fae291860aa4a477800.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/1410.e2302ff5f564d6e596bb.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2091.600b1c32af186f6405f9.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2104.296346db0067b4883fbf.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/292.3f7844a129f16ec1ffbc.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/3547.bd90e90bfe79911486e8.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4043.aa012978c41d1d1b2f14.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4405.43dab120fea32f30bbb9.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4986.a497cdda4b7152902568.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/5201.8866042bae350659528a.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/6888.9d3914817f3290827a64.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/7823.817687f13e9a6781fdd3.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/795.47ab66037ef33f808f09.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/812.245ed5bad344b83aaa94.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/8771.327a202178f82f3b15b8.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9.0e0cba0ccc2a4b670600.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9030.260bc05e28eccff70ae8.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9041.df39043656c7233552e4.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/942.93c8de61ea9ea08ec097.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js +0 -2
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9870.70b2b59cc96c3a97c489.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/jlab_core.96636abd45a035c16dd5.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/main.8fae291860aa4a477800.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/package.json +0 -350
- /jupyterlab/static/{1036.b7aaba381aaa04073a6b.js.LICENSE.txt → 1036.74d6496d46b17938321f.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{4136.4b9f72f85f49f979ebb8.js.LICENSE.txt → 4136.1d93677b1672dfac4946.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt → 7313.7314c776c55c5652cb0f.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{9826.406d2a71dc45995bc549.js.LICENSE.txt → 9826.e373873086e4fa5c147f.js.LICENSE.txt} +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/applications/jupyterlab.desktop +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/icons/hicolor/scalable/apps/jupyterlab.svg +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/utilityCommands.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/inline-completer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
- /jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/1036.b7aaba381aaa04073a6b.js.LICENSE.txt → /jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/1036.74d6496d46b17938321f.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1085.0b67f0736d85ec41fdd4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1142.d5442a459b18907c1f91.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1168.0a95b9c93afe61ceb527.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1294.9d27be1098bc8abebe3f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1420.e8486ed074346bc629ca.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1448.c391061d8a8344f9d177.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1452.4cc17f31511d1f9c6052.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1467.dcd89539f6477c1367af.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1550.09375e869bc25429b07a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1608.61240f3db67d3d952790.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1716.a6bbe1ae8a1986a73623.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1760.9a71f4501e9bbaa4c4d8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1776.4f9305d35480467b23c9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1861.4fc7b4afe2b09eb6b5c0.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1903.3b452e8ec30e57dbaba5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1917.05d73322caab1f77e3bf.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1929.96e62233aa6f2a8363d4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1945.0fbbfe93a4aedd91875c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1954.07d96e4020ed6e543d25.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1993.f8c5682f95ffa75cbaf6.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/1cb1c39ea642f26a4dfe.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2039.aa079dac5c520f93b234.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2090.abc86741318f76c3d726.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2145.be9ec610f29703694fcf.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2254.55c69210925ec9b28dd9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/226.5dc3528c008170b37b21.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2295.cda0f7182bf2a1a03c5a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2320.04abae549b19363c2fdd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2363.6eef078cb37c32d7fbc3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2459.9f9cb02561de1bec73ff.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2485.dab750ed66209df61fe1.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2617.9c299e26785f7646cb39.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2646.0864fb63d7ab1ed16893.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2655.71a94960aa4ab2040d8f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/26683bf201fb258a2237.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2727.6925b8cf1c5363f40138.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2755.696bab6bdca0d9a78131.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2857.27a6e85f5c4c092ab8a2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2909.e190307f7f84c7691068.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2929.b88233153dbf33f40b29.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2953.92ff8f12bad6ee06859c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/2990.ea15322a41d3f133989b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3056.8a73f6aacd8ca45f84f9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/30e889b58cbc51adfbb0.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3123.85cea4be2e2ed3f9654f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/32792104b5ef69eded90.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3306.8bdc49ad1a7ca593a838.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3308.764d71af7e591cdb1345.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3520.3495b98946de6960ace8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3528.3b5ef5f31d460b5fcd01.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3549.24f2fe646d8128bc9db0.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/355254db9ca10a09a3b5.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3601.5c17c015d71b69ddcab3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/36e0d72d8a7afc696a3e.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3711.150292a21fd47be1c05f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3724.a4657dc16be2ffc49282.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/378.6d0f0fc4c8a2eb80ac43.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3807.08a8fd824036c30b3746.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/383.db345dbeef5ef774e50c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3871.ba96e5b53bb16df56618.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3923.f29c06abdcb560130471.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3962.50786e3ed9a01329a4a0.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3de784d07b9fa8f104c1.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4017.096a74a538e031b6d346.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4086.3087c0abed5ca45b823b.js +0 -0
- /jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js.LICENSE.txt → /jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/4136.1d93677b1672dfac4946.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4139.303ee7374c742287be85.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4155.5a8d6736017097028d78.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4283.f6092d8b7f2e53118d1b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4291.e5d8997127541f75fdaf.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4419.93938494f456cd76a7e3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4452.2f8819684b96ecff5231.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4519.6b784d052db42e93eff2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4562.72444a09f5f092646490.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4591.428531724f49fe824ffa.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/46.fb119c5e5b1e0c72a00f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4743.d4e9658ea25301e15a94.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/481e39042508ae313a60.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/4878.73004381601237a3ef9c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5041.cdc120bda0a0dec4cfc2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5157.9c77dc27a251d4135876.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5203.c002d40ac647dc6e1d61.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/526.601d8ddd8347cd7790b9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5331.0cd3f010bb08983ec3fd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5440.2541fcda12b661665148.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5521.ce4a0274596e0325374c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5746.e4434ef2027bcc5ed0c9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/581.2b878ed37172aced15b5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5881.3946238aa4afdcf4f964.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5959.a6b1fd3b03d3649ea8b1.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/5cda41563a095bd70c78.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6059.d83e7323b2ee1aa16009.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6163.f5b51a9f0df4846ba40f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6207.a8079c8d8a61039dd530.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6243.2efd673d1304c43b7b78.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6267.1def2916929e185ab9fc.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6359.4b994bfd6b1dea2d6fe3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6443.e6b52d3732b3e8513a71.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6515.56c63929fb079a820cbc.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6560.f42276a0b1b92aea515b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6595.6a1d7e1abbf186dd119b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6686.3c518aa6e5f9785fb486.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6778.345e6ac9818e30317310.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6815.0b699f0c162a24b0dbe3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/6898.742a7062fa979fb68a80.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7080.1330328bb6f46b4da81e.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7112.d5120c85ebd17620dda0.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7161.353c3ab960df72e6f1ea.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7173.e28f63dbd553818e07d3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/721921bab0d001ebff02.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7245.c0cae8787dcd00b991b7.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7272.72081c10e0f645b0631a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/72bc573386dd1d48c5bb.woff +0 -0
- /jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt → /jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/7313.7314c776c55c5652cb0f.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7317.af8a7da0f881a22752c1.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7363.abe8e31a91e113753bae.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7384.60351e008d8f687e8fcc.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7390.8253478b90f756692702.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/745.85516a9bb83bcd94d00d.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7472.58ba8647a489d019c2ef.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7473.5012397d10d3b945ecaa.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7508.b902347f820c70cd386a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7511.b381a696cf806983c654.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7517.f3e5d420f4af90d442dd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7629.1f295461ebf56a48c197.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7669.343e259c4c8269479f5b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7702.c479c69f7a532f7b3fd5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7730.7e3a9fb140d2d55a51fc.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7731.26db150e967313b7a7e2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7734.b08c15e9f538f44d0f52.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7775.3e0dee729369fe3d5008.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7827.e36d073d947bf02a05e3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7848.e83aa4b90ae87209abb8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/786.8a99ee7dbd7bd0eb9dce.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7877.a4c46a784149533b91d4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7887.128a155df5d25e88c0ce.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/7946.7fe46d47492e459b7cb5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8002.25f64485372af5158c83.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8010.1cf8237e9def8404f355.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8012.40cb006f0c180ebafa91.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8152.5baac73844a065f34284.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8285.1eac7b7582569be1c3a8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8302.5c5e5a2da7fe74b12a1d.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8319.80fcbc832e1eb20b71e7.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8322.288af285dac9cb9a8800.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8347.573b699e3590729bfa8a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8405.154ba4b17a2dec22a355.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8462.74d5f5afd4f9d7825eed.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8493.fc635229db38e6fc6aa2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8498.27a245b23921914bf5c2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8512.1af96655287fd124877b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8678.dcd3dab9025b13eb9be8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/870673df72e70f87c91a.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8710.5fc5ecb762fb4494db02.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8738.782816e9072ac38762b4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8787.4d36d28dcf94bf59cbfe.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8805.0f14a91b024b59c039a7.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8823.2ff947bcd96cc0723058.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8875.88988caaba1e33edad5b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/88b98cad3688915e50da.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/8ea8dbb1b02e6f730f55.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9055.bd710a8db8883a836b59.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9109.fa3ee74a5c0f378f4d51.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9192.db4337a516b7f38d1f89.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9222.1c2a8e69a2de57dd1984.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9265.bc2b66a4502cdfcfc14f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9362.823dcfac216f8057452d.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9409.34c33ed11e2d6f318480.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9421.022dc7b4e9a2c80c32c2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9440.04751e25c9cde059ff37.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9445.fe5e9e5b728de8d15873.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9621.9cbfa52c42927bb398b4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9738.c0234a1f7f6ac262f560.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js.LICENSE.txt +0 -0
- /jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js.LICENSE.txt → /jupyterlab-4.2.0b0.data/data/share/jupyter/lab/static/9826.e373873086e4fa5c147f.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/9984.6ba5355e0d5487d5ac63.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/a009bea404f7a500ded4.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/af04542b29eaac04550a.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/af96f67d7accf5fd2a4a.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/b418136e3b384baaadec.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/c49810b53ecc0d87d802.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/c56da8d69f1a0208b8e0.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/static/fc6ddf5df402b263cfb1.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0b0.dist-info}/entry_points.txt +0 -0
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0b0.dist-info}/licenses/LICENSE +0 -0
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[2579],{52579:(t,e,a)=>{a.r(e);a.d(e,{diagram:()=>M});var r=a(96778);var n=a(34596);var i=a(96001);var d=a(
|
1
|
+
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[2579],{52579:(t,e,a)=>{a.r(e);a.d(e,{diagram:()=>M});var r=a(96778);var n=a(34596);var i=a(96001);var d=a(67058);var o=a(23787);var s=a(27484);var l=a.n(s);var p=a(17967);var c=a(27856);var g=a.n(c);let h=0;const f=function(t,e,a,r,i){const d=function(t){switch(t){case i.db.relationType.AGGREGATION:return"aggregation";case i.db.relationType.EXTENSION:return"extension";case i.db.relationType.COMPOSITION:return"composition";case i.db.relationType.DEPENDENCY:return"dependency";case i.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const s=e.points;const l=(0,n.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.$0Z);const p=t.append("path").attr("d",l(s)).attr("id","edge"+h).attr("class","relation");let c="";if(r.arrowMarkerAbsolute){c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search;c=c.replace(/\(/g,"\\(");c=c.replace(/\)/g,"\\)")}if(a.relation.lineType==1){p.attr("class","relation dashed-line")}if(a.relation.lineType==10){p.attr("class","relation dotted-line")}if(a.relation.type1!=="none"){p.attr("marker-start","url("+c+"#"+d(a.relation.type1)+"Start)")}if(a.relation.type2!=="none"){p.attr("marker-end","url("+c+"#"+d(a.relation.type2)+"End)")}let g,f;const x=e.points.length;let u=o.u.calcLabelPosition(e.points);g=u.x;f=u.y;let y,b;let m,w;if(x%2!==0&&x>1){let t=o.u.calcCardinalityPosition(a.relation.type1!=="none",e.points,e.points[0]);let r=o.u.calcCardinalityPosition(a.relation.type2!=="none",e.points,e.points[x-1]);o.l.debug("cardinality_1_point "+JSON.stringify(t));o.l.debug("cardinality_2_point "+JSON.stringify(r));y=t.x;b=t.y;m=r.x;w=r.y}if(a.title!==void 0){const e=t.append("g").attr("class","classLabel");const n=e.append("text").attr("class","label").attr("x",g).attr("y",f).attr("fill","red").attr("text-anchor","middle").text(a.title);window.label=n;const i=n.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",i.x-r.padding/2).attr("y",i.y-r.padding/2).attr("width",i.width+r.padding).attr("height",i.height+r.padding)}o.l.info("Rendering relation "+JSON.stringify(a));if(a.relationTitle1!==void 0&&a.relationTitle1!=="none"){const e=t.append("g").attr("class","cardinality");e.append("text").attr("class","type1").attr("x",y).attr("y",b).attr("fill","black").attr("font-size","6").text(a.relationTitle1)}if(a.relationTitle2!==void 0&&a.relationTitle2!=="none"){const e=t.append("g").attr("class","cardinality");e.append("text").attr("class","type2").attr("x",m).attr("y",w).attr("fill","black").attr("font-size","6").text(a.relationTitle2)}h++};const x=function(t,e,a,r){o.l.debug("Rendering class ",e,a);const n=e.id;const i={id:n,label:e.id,width:0,height:0};const d=t.append("g").attr("id",r.db.lookUpDomId(n)).attr("class","classGroup");let s;if(e.link){s=d.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",a.textHeight+a.padding).attr("x",0)}else{s=d.append("text").attr("y",a.textHeight+a.padding).attr("x",0)}let l=true;e.annotations.forEach((function(t){const e=s.append("tspan").text("«"+t+"»");if(!l){e.attr("dy",a.textHeight)}l=false}));let p=u(e);const c=s.append("tspan").text(p).attr("class","title");if(!l){c.attr("dy",a.textHeight)}const g=s.node().getBBox().height;let h;let f;let x;if(e.members.length>0){h=d.append("line").attr("x1",0).attr("y1",a.padding+g+a.dividerMargin/2).attr("y2",a.padding+g+a.dividerMargin/2);const t=d.append("text").attr("x",a.padding).attr("y",g+a.dividerMargin+a.textHeight).attr("fill","white").attr("class","classText");l=true;e.members.forEach((function(e){b(t,e,l,a);l=false}));f=t.node().getBBox()}if(e.methods.length>0){x=d.append("line").attr("x1",0).attr("y1",a.padding+g+a.dividerMargin+f.height).attr("y2",a.padding+g+a.dividerMargin+f.height);const t=d.append("text").attr("x",a.padding).attr("y",g+2*a.dividerMargin+f.height+a.textHeight).attr("fill","white").attr("class","classText");l=true;e.methods.forEach((function(e){b(t,e,l,a);l=false}))}const y=d.node().getBBox();var m=" ";if(e.cssClasses.length>0){m=m+e.cssClasses.join(" ")}const w=d.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",y.width+2*a.padding).attr("height",y.height+a.padding+.5*a.dividerMargin).attr("class",m);const k=w.node().getBBox().width;s.node().childNodes.forEach((function(t){t.setAttribute("x",(k-t.getBBox().width)/2)}));if(e.tooltip){s.insert("title").text(e.tooltip)}if(h){h.attr("x2",k)}if(x){x.attr("x2",k)}i.width=k;i.height=y.height+a.padding+.5*a.dividerMargin;return i};const u=function(t){let e=t.id;if(t.type){e+="<"+(0,o.v)(t.type)+">"}return e};const y=function(t,e,a,r){o.l.debug("Rendering note ",e,a);const n=e.id;const i={id:n,text:e.text,width:0,height:0};const d=t.append("g").attr("id",n).attr("class","classGroup");let s=d.append("text").attr("y",a.textHeight+a.padding).attr("x",0);const l=JSON.parse(`"${e.text}"`).split("\n");l.forEach((function(t){o.l.debug(`Adding line: ${t}`);s.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)}));const p=d.node().getBBox();const c=d.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",p.width+2*a.padding).attr("height",p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin);const g=c.node().getBBox().width;s.node().childNodes.forEach((function(t){t.setAttribute("x",(g-t.getBBox().width)/2)}));i.width=g;i.height=p.height+l.length*a.textHeight+a.padding+.5*a.dividerMargin;return i};const b=function(t,e,a,r){const{displayText:n,cssStyle:i}=e.getDisplayDetails();const d=t.append("tspan").attr("x",r.padding).text(n);if(i!==""){d.attr("style",e.cssStyle)}if(!a){d.attr("dy",r.textHeight)}};const m={getClassTitleString:u,drawClass:x,drawEdge:f,drawNote:y};let w={};const k=20;const v=function(t){const e=Object.entries(w).find((e=>e[1].label===t));if(e){return e[0]}};const E=function(t){t.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z");t.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z");t.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")};const L=function(t,e,a,r){const s=(0,o.c)().class;w={};o.l.info("Rendering diagram "+t);const l=(0,o.c)().securityLevel;let p;if(l==="sandbox"){p=(0,n.Ys)("#i"+e)}const c=l==="sandbox"?(0,n.Ys)(p.nodes()[0].contentDocument.body):(0,n.Ys)("body");const g=c.select(`[id='${e}']`);E(g);const h=new d.k({multigraph:true});h.setGraph({isMultiGraph:true});h.setDefaultEdgeLabel((function(){return{}}));const f=r.db.getClasses();const x=Object.keys(f);for(const n of x){const t=f[n];const e=m.drawClass(g,t,s,r);w[e.id]=e;h.setNode(e.id,e);o.l.info("Org height: "+e.height)}const u=r.db.getRelations();u.forEach((function(t){o.l.info("tjoho"+v(t.id1)+v(t.id2)+JSON.stringify(t));h.setEdge(v(t.id1),v(t.id2),{relation:t},t.title||"DEFAULT")}));const y=r.db.getNotes();y.forEach((function(t){o.l.debug(`Adding note: ${JSON.stringify(t)}`);const e=m.drawNote(g,t,s,r);w[e.id]=e;h.setNode(e.id,e);if(t.class&&t.class in f){h.setEdge(t.id,v(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}}));(0,i.bK)(h);h.nodes().forEach((function(t){if(t!==void 0&&h.node(t)!==void 0){o.l.debug("Node "+t+": "+JSON.stringify(h.node(t)));c.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(h.node(t).x-h.node(t).width/2)+","+(h.node(t).y-h.node(t).height/2)+" )")}}));h.edges().forEach((function(t){if(t!==void 0&&h.edge(t)!==void 0){o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(h.edge(t)));m.drawEdge(g,h.edge(t),h.edge(t).relation,s,r)}}));const b=g.node().getBBox();const L=b.width+k*2;const N=b.height+k*2;(0,o.i)(g,N,L,s.useMaxWidth);const M=`${b.x-k} ${b.y-k} ${L} ${N}`;o.l.debug(`viewBox ${M}`);g.attr("viewBox",M)};const N={draw:L};const M={parser:r.p,db:r.d,renderer:N,styles:r.s,init:t=>{if(!t.class){t.class={}}t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute;r.d.clear()}}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[2800],{52800:(e,t,i)=>{i.r(t);i.d(t,{RegExpCursor:()=>u,SearchCursor:()=>a,SearchQuery:()=>I,closeSearchPanel:()=>de,findNext:()=>ie,findPrevious:()=>re,getSearchQuery:()=>U,gotoLine:()=>w,highlightSelectionMatches:()=>k,openSearchPanel:()=>fe,replaceAll:()=>le,replaceNext:()=>oe,search:()=>V,searchKeymap:()=>pe,searchPanelOpen:()=>J,selectMatches:()=>ne,selectNextOccurrence:()=>F,selectSelectionMatches:()=>se,setSearchQuery:()=>K});var r=i(66143);var n=i(37496);function s(){var e=arguments[0];if(typeof e=="string")e=document.createElement(e);var t=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var n=i[r];if(typeof n=="string")e.setAttribute(r,n);else if(n!=null)e[r]=n}t++}for(;t<arguments.length;t++)o(e,arguments[t]);return e}function o(e,t){if(typeof t=="string"){e.appendChild(document.createTextNode(t))}else if(t==null){}else if(t.nodeType!=null){e.appendChild(t)}else if(Array.isArray(t)){for(var i=0;i<t.length;i++)o(e,t[i])}else{throw new RangeError("Unsupported child node: "+t)}}const l=typeof String.prototype.normalize=="function"?e=>e.normalize("NFKD"):e=>e;class a{constructor(e,t,i=0,r=e.length,n,s){this.test=s;this.value={from:0,to:0};this.done=false;this.matches=[];this.buffer="";this.bufferPos=0;this.iter=e.iterRange(i,r);this.bufferStart=i;this.normalize=n?e=>n(l(e)):l;this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){this.bufferStart+=this.buffer.length;this.iter.next();if(this.iter.done)return-1;this.bufferPos=0;this.buffer=this.iter.value}return(0,n.codePointAt)(this.buffer,this.bufferPos)}next(){while(this.matches.length)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0){this.done=true;return this}let t=(0,n.fromCodePoint)(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=(0,n.codePointSize)(e);let r=this.normalize(t);for(let n=0,s=i;;n++){let e=r.charCodeAt(n);let o=this.match(e,s,this.bufferPos+this.bufferStart);if(n==r.length-1){if(o){this.value=o;return this}break}if(s==i&&n<t.length&&t.charCodeAt(n)==e)s++}}}match(e,t,i){let r=null;for(let n=0;n<this.matches.length;n+=2){let t=this.matches[n],s=false;if(this.query.charCodeAt(t)==e){if(t==this.query.length-1){r={from:this.matches[n+1],to:i}}else{this.matches[n]++;s=true}}if(!s){this.matches.splice(n,2);n-=2}}if(this.query.charCodeAt(0)==e){if(this.query.length==1)r={from:t,to:i};else this.matches.push(1,t)}if(r&&this.test&&!this.test(r.from,r.to,this.buffer,this.bufferStart))r=null;return r}}if(typeof Symbol!="undefined")a.prototype[Symbol.iterator]=function(){return this};const c={from:-1,to:-1,match:/.*/.exec("")};const h="gm"+(/x/.unicode==null?"":"u");class u{constructor(e,t,i,r=0,n=e.length){this.text=e;this.to=n;this.curLine="";this.done=false;this.value=c;if(/\\[sWDnr]|\n|\r|\[\^/.test(t))return new p(e,t,i,r,n);this.re=new RegExp(t,h+((i===null||i===void 0?void 0:i.ignoreCase)?"i":""));this.test=i===null||i===void 0?void 0:i.test;this.iter=e.iter();let s=e.lineAt(r);this.curLineStart=s.from;this.matchPos=g(e,r);this.getLine(this.curLineStart)}getLine(e){this.iter.next(e);if(this.iter.lineBreak){this.curLine=""}else{this.curLine=this.iter.value;if(this.curLineStart+this.curLine.length>this.to)this.curLine=this.curLine.slice(0,this.to-this.curLineStart);this.iter.next()}}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1;if(this.curLineStart>this.to)this.curLine="";else this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let i=this.curLineStart+t.index,r=i+t[0].length;this.matchPos=g(this.text,r+(i==r?1:0));if(i==this.curLineStart+this.curLine.length)this.nextLine();if((i<r||i>this.value.to)&&(!this.test||this.test(i,r,t))){this.value={from:i,to:r,match:t};return this}e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to){this.nextLine();e=0}else{this.done=true;return this}}}}const f=new WeakMap;class d{constructor(e,t){this.from=e;this.text=t}get to(){return this.from+this.text.length}static get(e,t,i){let r=f.get(e);if(!r||r.from>=i||r.to<=t){let r=new d(t,e.sliceString(t,i));f.set(e,r);return r}if(r.from==t&&r.to==i)return r;let{text:n,from:s}=r;if(s>t){n=e.sliceString(t,s)+n;s=t}if(r.to<i)n+=e.sliceString(r.to,i);f.set(e,new d(s,n));return new d(t,n.slice(t-s,i-s))}}class p{constructor(e,t,i,r,n){this.text=e;this.to=n;this.done=false;this.value=c;this.matchPos=g(e,r);this.re=new RegExp(t,h+((i===null||i===void 0?void 0:i.ignoreCase)?"i":""));this.test=i===null||i===void 0?void 0:i.test;this.flat=d.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from;let t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e){this.re.lastIndex=e+1;t=this.re.exec(this.flat.text)}if(t){let e=this.flat.from+t.index,i=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,i,t))){this.value={from:e,to:i,match:t};this.matchPos=g(this.text,i+(e==i?1:0));return this}}if(this.flat.to==this.to){this.done=true;return this}this.flat=d.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}if(typeof Symbol!="undefined"){u.prototype[Symbol.iterator]=p.prototype[Symbol.iterator]=function(){return this}}function m(e){try{new RegExp(e,h);return true}catch(t){return false}}function g(e,t){if(t>=e.length)return t;let i=e.lineAt(t),r;while(t<i.to&&(r=i.text.charCodeAt(t-i.from))>=56320&&r<57344)t++;return t}function v(e){let t=String(e.state.doc.lineAt(e.state.selection.main.head).number);let i=s("input",{class:"cm-textfield",name:"line",value:t});let o=s("form",{class:"cm-gotoLine",onkeydown:t=>{if(t.keyCode==27){t.preventDefault();e.dispatch({effects:x.of(false)});e.focus()}else if(t.keyCode==13){t.preventDefault();l()}},onsubmit:e=>{e.preventDefault();l()}},s("label",e.state.phrase("Go to line"),": ",i)," ",s("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function l(){let t=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(i.value);if(!t)return;let{state:s}=e,o=s.doc.lineAt(s.selection.main.head);let[,l,a,c,h]=t;let u=c?+c.slice(1):0;let f=a?+a:o.number;if(a&&h){let e=f/100;if(l)e=e*(l=="-"?-1:1)+o.number/s.doc.lines;f=Math.round(s.doc.lines*e)}else if(a&&l){f=f*(l=="-"?-1:1)+o.number}let d=s.doc.line(Math.max(1,Math.min(s.doc.lines,f)));let p=n.EditorSelection.cursor(d.from+Math.max(0,Math.min(u,d.length)));e.dispatch({effects:[x.of(false),r.EditorView.scrollIntoView(p.from,{y:"center"})],selection:p});e.focus()}return{dom:o}}const x=n.StateEffect.define();const y=n.StateField.define({create(){return true},update(e,t){for(let i of t.effects)if(i.is(x))e=i.value;return e},provide:e=>r.showPanel.from(e,(e=>e?v:null))});const w=e=>{let t=(0,r.getPanel)(e,v);if(!t){let i=[x.of(true)];if(e.state.field(y,false)==null)i.push(n.StateEffect.appendConfig.of([y,b]));e.dispatch({effects:i});t=(0,r.getPanel)(e,v)}if(t)t.dom.querySelector("input").select();return true};const b=r.EditorView.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}});const S={highlightWordAroundCursor:false,minSelectionLength:1,maxMatches:100,wholeWords:false};const C=n.Facet.define({combine(e){return(0,n.combineConfig)(e,S,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function k(e){let t=[P,L];if(e)t.push(C.of(e));return t}const M=r.Decoration.mark({class:"cm-selectionMatch"});const E=r.Decoration.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function D(e,t,i,r){return(i==0||e(t.sliceDoc(i-1,i))!=n.CharCategory.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=n.CharCategory.Word)}function q(e,t,i,r){return e(t.sliceDoc(i,i+1))==n.CharCategory.Word&&e(t.sliceDoc(r-1,r))==n.CharCategory.Word}const L=r.ViewPlugin.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){if(e.selectionSet||e.docChanged||e.viewportChanged)this.decorations=this.getDeco(e.view)}getDeco(e){let t=e.state.facet(C);let{state:i}=e,n=i.selection;if(n.ranges.length>1)return r.Decoration.none;let s=n.main,o,l=null;if(s.empty){if(!t.highlightWordAroundCursor)return r.Decoration.none;let e=i.wordAt(s.head);if(!e)return r.Decoration.none;l=i.charCategorizer(s.head);o=i.sliceDoc(e.from,e.to)}else{let e=s.to-s.from;if(e<t.minSelectionLength||e>200)return r.Decoration.none;if(t.wholeWords){o=i.sliceDoc(s.from,s.to);l=i.charCategorizer(s.head);if(!(D(l,i,s.from,s.to)&&q(l,i,s.from,s.to)))return r.Decoration.none}else{o=i.sliceDoc(s.from,s.to);if(!o)return r.Decoration.none}}let c=[];for(let h of e.visibleRanges){let e=new a(i.doc,o,h.from,h.to);while(!e.next().done){let{from:n,to:o}=e.value;if(!l||D(l,i,n,o)){if(s.empty&&n<=s.from&&o>=s.to)c.push(E.range(n,o));else if(n>=s.to||o<=s.from)c.push(M.range(n,o));if(c.length>t.maxMatches)return r.Decoration.none}}}return r.Decoration.set(c)}},{decorations:e=>e.decorations});const P=r.EditorView.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});const A=({state:e,dispatch:t})=>{let{selection:i}=e;let r=n.EditorSelection.create(i.ranges.map((t=>e.wordAt(t.head)||n.EditorSelection.cursor(t.head))),i.mainIndex);if(r.eq(i))return false;t(e.update({selection:r}));return true};function W(e,t){let{main:i,ranges:r}=e.selection;let n=e.wordAt(i.head),s=n&&n.from==i.from&&n.to==i.to;for(let o=false,l=new a(e.doc,t,r[r.length-1].to);;){l.next();if(l.done){if(o)return null;l=new a(e.doc,t,0,Math.max(0,r[r.length-1].from-1));o=true}else{if(o&&r.some((e=>e.from==l.value.from)))continue;if(s){let t=e.wordAt(l.value.from);if(!t||t.from!=l.value.from||t.to!=l.value.to)continue}return l.value}}}const F=({state:e,dispatch:t})=>{let{ranges:i}=e.selection;if(i.some((e=>e.from===e.to)))return A({state:e,dispatch:t});let s=e.sliceDoc(i[0].from,i[0].to);if(e.selection.ranges.some((t=>e.sliceDoc(t.from,t.to)!=s)))return false;let o=W(e,s);if(!o)return false;t(e.update({selection:e.selection.addRange(n.EditorSelection.range(o.from,o.to),false),effects:r.EditorView.scrollIntoView(o.to)}));return true};const R=n.Facet.define({combine(e){return(0,n.combineConfig)(e,{top:false,caseSensitive:false,literal:false,regexp:false,wholeWord:false,createPanel:e=>new me(e),scrollToMatch:e=>r.EditorView.scrollIntoView(e)})}});function V(e){return e?[R.of(e),be]:be}class I{constructor(e){this.search=e.search;this.caseSensitive=!!e.caseSensitive;this.literal=!!e.literal;this.regexp=!!e.regexp;this.replace=e.replace||"";this.valid=!!this.search&&(!this.regexp||m(this.search));this.unquoted=this.unquote(this.search);this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,((e,t)=>t=="n"?"\n":t=="r"?"\r":t=="t"?"\t":"\\"))}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new B(this):new $(this)}getCursor(e,t=0,i){let r=e.doc?e:n.EditorState.create({doc:e});if(i==null)i=r.doc.length;return this.regexp?_(this,r,t,i):O(this,r,t,i)}}class z{constructor(e){this.spec=e}}function O(e,t,i,r){return new a(t.doc,e.unquoted,i,r,e.caseSensitive?undefined:e=>e.toLowerCase(),e.wholeWord?T(t.doc,t.charCategorizer(t.selection.main.head)):undefined)}function T(e,t){return(i,r,s,o)=>{if(o>i||o+s.length<r){o=Math.max(0,i-2);s=e.sliceString(o,Math.min(e.length,r+2))}return(t(N(s,i-o))!=n.CharCategory.Word||t(Q(s,i-o))!=n.CharCategory.Word)&&(t(Q(s,r-o))!=n.CharCategory.Word||t(N(s,r-o))!=n.CharCategory.Word)}}class $ extends z{constructor(e){super(e)}nextMatch(e,t,i){let r=O(this.spec,e,i,e.doc.length).nextOverlapping();if(r.done)r=O(this.spec,e,0,t).nextOverlapping();return r.done?null:r.value}prevMatchInRange(e,t,i){for(let r=i;;){let i=Math.max(t,r-1e4-this.spec.unquoted.length);let n=O(this.spec,e,i,r),s=null;while(!n.nextOverlapping().done)s=n.value;if(s)return s;if(i==t)return null;r-=1e4}}prevMatch(e,t,i){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let i=O(this.spec,e,0,e.doc.length),r=[];while(!i.next().done){if(r.length>=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let n=O(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.doc.length));while(!n.next().done)r(n.value.from,n.value.to)}}function _(e,t,i,r){return new u(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?j(t.charCategorizer(t.selection.main.head)):undefined},i,r)}function N(e,t){return e.slice((0,n.findClusterBreak)(e,t,false),t)}function Q(e,t){return e.slice(t,(0,n.findClusterBreak)(e,t))}function j(e){return(t,i,r)=>!r[0].length||(e(N(r.input,r.index))!=n.CharCategory.Word||e(Q(r.input,r.index))!=n.CharCategory.Word)&&(e(Q(r.input,r.index+r[0].length))!=n.CharCategory.Word||e(N(r.input,r.index+r[0].length))!=n.CharCategory.Word)}class B extends z{nextMatch(e,t,i){let r=_(this.spec,e,i,e.doc.length).next();if(r.done)r=_(this.spec,e,0,t).next();return r.done?null:r.value}prevMatchInRange(e,t,i){for(let r=1;;r++){let n=Math.max(t,i-r*1e4);let s=_(this.spec,e,n,i),o=null;while(!s.next().done)o=s.value;if(o&&(n==t||o.from>n+10))return o;if(n==t)return null}}prevMatch(e,t,i){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,((t,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i<e.match.length?e.match[i]:t))}matchAll(e,t){let i=_(this.spec,e,0,e.doc.length),r=[];while(!i.next().done){if(r.length>=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let n=_(this.spec,e,Math.max(0,t-250),Math.min(i+250,e.doc.length));while(!n.next().done)r(n.value.from,n.value.to)}}const K=n.StateEffect.define();const G=n.StateEffect.define();const H=n.StateField.define({create(e){return new X(ce(e).create(),null)},update(e,t){for(let i of t.effects){if(i.is(K))e=new X(i.value.create(),e.panel);else if(i.is(G))e=new X(e.query,i.value?ae:null)}return e},provide:e=>r.showPanel.from(e,(e=>e.panel))});function U(e){let t=e.field(H,false);return t?t.query.spec:ce(e)}function J(e){var t;return((t=e.field(H,false))===null||t===void 0?void 0:t.panel)!=null}class X{constructor(e,t){this.query=e;this.panel=t}}const Y=r.Decoration.mark({class:"cm-searchMatch"}),Z=r.Decoration.mark({class:"cm-searchMatch cm-searchMatch-selected"});const ee=r.ViewPlugin.fromClass(class{constructor(e){this.view=e;this.decorations=this.highlight(e.state.field(H))}update(e){let t=e.state.field(H);if(t!=e.startState.field(H)||e.docChanged||e.selectionSet||e.viewportChanged)this.decorations=this.highlight(t)}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return r.Decoration.none;let{view:i}=this;let s=new n.RangeSetBuilder;for(let r=0,n=i.visibleRanges,o=n.length;r<o;r++){let{from:t,to:l}=n[r];while(r<o-1&&l>n[r+1].from-2*250)l=n[++r].to;e.highlight(i.state,t,l,((e,t)=>{let r=i.state.selection.ranges.some((i=>i.from==e&&i.to==t));s.add(e,t,r?Z:Y)}))}return s.finish()}},{decorations:e=>e.decorations});function te(e){return t=>{let i=t.state.field(H,false);return i&&i.query.spec.valid?e(t,i):fe(t)}}const ie=te(((e,{query:t})=>{let{to:i}=e.state.selection.main;let r=t.nextMatch(e.state,i,i);if(!r)return false;let s=n.EditorSelection.single(r.from,r.to);let o=e.state.facet(R);e.dispatch({selection:s,effects:[ye(e,r),o.scrollToMatch(s.main,e)],userEvent:"select.search"});ue(e);return true}));const re=te(((e,{query:t})=>{let{state:i}=e,{from:r}=i.selection.main;let s=t.prevMatch(i,r,r);if(!s)return false;let o=n.EditorSelection.single(s.from,s.to);let l=e.state.facet(R);e.dispatch({selection:o,effects:[ye(e,s),l.scrollToMatch(o.main,e)],userEvent:"select.search"});ue(e);return true}));const ne=te(((e,{query:t})=>{let i=t.matchAll(e.state,1e3);if(!i||!i.length)return false;e.dispatch({selection:n.EditorSelection.create(i.map((e=>n.EditorSelection.range(e.from,e.to)))),userEvent:"select.search.matches"});return true}));const se=({state:e,dispatch:t})=>{let i=e.selection;if(i.ranges.length>1||i.main.empty)return false;let{from:r,to:s}=i.main;let o=[],l=0;for(let c=new a(e.doc,e.sliceDoc(r,s));!c.next().done;){if(o.length>1e3)return false;if(c.value.from==r)l=o.length;o.push(n.EditorSelection.range(c.value.from,c.value.to))}t(e.update({selection:n.EditorSelection.create(o,l),userEvent:"select.search.matches"}));return true};const oe=te(((e,{query:t})=>{let{state:i}=e,{from:s,to:o}=i.selection.main;if(i.readOnly)return false;let l=t.nextMatch(i,s,s);if(!l)return false;let a=[],c,h;let u=[];if(l.from==s&&l.to==o){h=i.toText(t.getReplacement(l));a.push({from:l.from,to:l.to,insert:h});l=t.nextMatch(i,l.from,l.to);u.push(r.EditorView.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(s).number)+"."))}if(l){let t=a.length==0||a[0].from>=l.to?0:l.to-l.from-h.length;c=n.EditorSelection.single(l.from-t,l.to-t);u.push(ye(e,l));u.push(i.facet(R).scrollToMatch(c.main,e))}e.dispatch({changes:a,selection:c,effects:u,userEvent:"input.replace"});return true}));const le=te(((e,{query:t})=>{if(e.state.readOnly)return false;let i=t.matchAll(e.state,1e9).map((e=>{let{from:i,to:r}=e;return{from:i,to:r,insert:t.getReplacement(e)}}));if(!i.length)return false;let n=e.state.phrase("replaced $ matches",i.length)+".";e.dispatch({changes:i,effects:r.EditorView.announce.of(n),userEvent:"input.replace.all"});return true}));function ae(e){return e.state.facet(R).createPanel(e)}function ce(e,t){var i,r,n,s,o;let l=e.selection.main;let a=l.empty||l.to>l.from+100?"":e.sliceDoc(l.from,l.to);if(t&&!a)return t;let c=e.facet(R);return new I({search:((i=t===null||t===void 0?void 0:t.literal)!==null&&i!==void 0?i:c.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(r=t===null||t===void 0?void 0:t.caseSensitive)!==null&&r!==void 0?r:c.caseSensitive,literal:(n=t===null||t===void 0?void 0:t.literal)!==null&&n!==void 0?n:c.literal,regexp:(s=t===null||t===void 0?void 0:t.regexp)!==null&&s!==void 0?s:c.regexp,wholeWord:(o=t===null||t===void 0?void 0:t.wholeWord)!==null&&o!==void 0?o:c.wholeWord})}function he(e){let t=(0,r.getPanel)(e,ae);return t&&t.dom.querySelector("[main-field]")}function ue(e){let t=he(e);if(t&&t==e.root.activeElement)t.select()}const fe=e=>{let t=e.state.field(H,false);if(t&&t.panel){let i=he(e);if(i&&i!=e.root.activeElement){let r=ce(e.state,t.query.spec);if(r.valid)e.dispatch({effects:K.of(r)});i.focus();i.select()}}else{e.dispatch({effects:[G.of(true),t?K.of(ce(e.state,t.query.spec)):n.StateEffect.appendConfig.of(be)]})}return true};const de=e=>{let t=e.state.field(H,false);if(!t||!t.panel)return false;let i=(0,r.getPanel)(e,ae);if(i&&i.dom.contains(e.root.activeElement))e.focus();e.dispatch({effects:G.of(false)});return true};const pe=[{key:"Mod-f",run:fe,scope:"editor search-panel"},{key:"F3",run:ie,shift:re,scope:"editor search-panel",preventDefault:true},{key:"Mod-g",run:ie,shift:re,scope:"editor search-panel",preventDefault:true},{key:"Escape",run:de,scope:"editor search-panel"},{key:"Mod-Shift-l",run:se},{key:"Mod-Alt-g",run:w},{key:"Mod-d",run:F,preventDefault:true}];class me{constructor(e){this.view=e;let t=this.query=e.state.field(H).query.spec;this.commit=this.commit.bind(this);this.searchField=s("input",{value:t.search,placeholder:ge(e,"Find"),"aria-label":ge(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit});this.replaceField=s("input",{value:t.replace,placeholder:ge(e,"Replace"),"aria-label":ge(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit});this.caseField=s("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit});this.reField=s("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit});this.wordField=s("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function i(e,t,i){return s("button",{class:"cm-button",name:e,onclick:t,type:"button"},i)}this.dom=s("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,i("next",(()=>ie(e)),[ge(e,"next")]),i("prev",(()=>re(e)),[ge(e,"previous")]),i("select",(()=>ne(e)),[ge(e,"all")]),s("label",null,[this.caseField,ge(e,"match case")]),s("label",null,[this.reField,ge(e,"regexp")]),s("label",null,[this.wordField,ge(e,"by word")]),...e.state.readOnly?[]:[s("br"),this.replaceField,i("replace",(()=>oe(e)),[ge(e,"replace")]),i("replaceAll",(()=>le(e)),[ge(e,"replace all")])],s("button",{name:"close",onclick:()=>de(e),"aria-label":ge(e,"close"),type:"button"},["×"])])}commit(){let e=new I({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});if(!e.eq(this.query)){this.query=e;this.view.dispatch({effects:K.of(e)})}}keydown(e){if((0,r.runScopeHandlers)(this.view,e,"search-panel")){e.preventDefault()}else if(e.keyCode==13&&e.target==this.searchField){e.preventDefault();(e.shiftKey?re:ie)(this.view)}else if(e.keyCode==13&&e.target==this.replaceField){e.preventDefault();oe(this.view)}}update(e){for(let t of e.transactions)for(let e of t.effects){if(e.is(K)&&!e.value.eq(this.query))this.setQuery(e.value)}}setQuery(e){this.query=e;this.searchField.value=e.search;this.replaceField.value=e.replace;this.caseField.checked=e.caseSensitive;this.reField.checked=e.regexp;this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(R).top}}function ge(e,t){return e.state.phrase(t)}const ve=30;const xe=/[\s\.,:;?!]/;function ye(e,{from:t,to:i}){let n=e.state.doc.lineAt(t),s=e.state.doc.lineAt(i).to;let o=Math.max(n.from,t-ve),l=Math.min(s,i+ve);let a=e.state.sliceDoc(o,l);if(o!=n.from){for(let e=0;e<ve;e++)if(!xe.test(a[e+1])&&xe.test(a[e])){a=a.slice(e);break}}if(l!=s){for(let e=a.length-1;e>a.length-ve;e--)if(!xe.test(a[e-1])&&xe.test(a[e])){a=a.slice(0,e);break}}return r.EditorView.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${n.number}.`)}const we=r.EditorView.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}});const be=[H,n.Prec.low(ee),we]}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[2995],{2995:(e,t,n)=>{n.r(t);n.d(t,{sparql:()=>x});var r;function a(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var i=a(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]);var u=a(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]);var o=/[*+\-<>=&|\^\/!\?]/;var s="[A-Za-z_\\-0-9]";var l=new RegExp("[A-Za-z]");var c=new RegExp("(("+s+"|\\.)*("+s+"))?:");function f(e,t){var n=e.next();r=null;if(n=="$"||n=="?"){if(n=="?"&&e.match(/\s/,false)){return"operator"}e.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/);return"variableName.local"}else if(n=="<"&&!e.match(/^[\s\u00a0=]/,false)){e.match(/^[^\s\u00a0>]*>?/);return"atom"}else if(n=='"'||n=="'"){t.tokenize=d(n);return t.tokenize(e,t)}else if(/[{}\(\),\.;\[\]]/.test(n)){r=n;return"bracket"}else if(n=="#"){e.skipToEnd();return"comment"}else if(o.test(n)){return"operator"}else if(n==":"){p(e);return"atom"}else if(n=="@"){e.eatWhile(/[a-z\d\-]/i);return"meta"}else if(l.test(n)&&e.match(c)){p(e);return"atom"}e.eatWhile(/[_\w\d]/);var a=e.current();if(i.test(a))return"builtin";else if(u.test(a))return"keyword";else return"variable"}function p(e){e.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function d(e){return function(t,n){var r=false,a;while((a=t.next())!=null){if(a==e&&!r){n.tokenize=f;break}r=!r&&a=="\\"}return"string"}}function m(e,t,n){e.context={prev:e.context,indent:e.indent,col:n,type:t}}function F(e){e.indent=e.context.indent;e.context=e.context.prev}const x={name:"sparql",startState:function(){return{tokenize:f,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()){if(t.context&&t.context.align==null)t.context.align=false;t.indent=e.indentation()}if(e.eatSpace())return null;var n=t.tokenize(e,t);if(n!="comment"&&t.context&&t.context.align==null&&t.context.type!="pattern"){t.context.align=true}if(r=="(")m(t,")",e.column());else if(r=="[")m(t,"]",e.column());else if(r=="{")m(t,"}",e.column());else if(/[\]\}\)]/.test(r)){while(t.context&&t.context.type=="pattern")F(t);if(t.context&&r==t.context.type){F(t);if(r=="}"&&t.context&&t.context.type=="pattern")F(t)}}else if(r=="."&&t.context&&t.context.type=="pattern")F(t);else if(/atom|string|variable/.test(n)&&t.context){if(/[\}\]]/.test(t.context.type))m(t,"pattern",e.column());else if(t.context.type=="pattern"&&!t.context.align){t.context.align=true;t.context.col=e.column()}}return n},indent:function(e,t,n){var r=t&&t.charAt(0);var a=e.context;if(/[\]\}]/.test(r))while(a&&a.type=="pattern")a=a.prev;var i=a&&r==a.type;if(!a)return 0;else if(a.type=="pattern")return a.col;else if(a.align)return a.col+(i?0:1);else return a.indent+(i?0:n.unit)},languageData:{commentTokens:{line:"#"}}}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[3547],{43547:(e,t,n)=>{n.r(t);n.d(t,{blockComment:()=>y,blockUncomment:()=>k,copyLineDown:()=>_t,copyLineUp:()=>Wt,cursorCharBackward:()=>ue,cursorCharForward:()=>ce,cursorCharLeft:()=>ie,cursorCharRight:()=>ae,cursorDocEnd:()=>yt,cursorDocStart:()=>gt,cursorGroupBackward:()=>pe,cursorGroupForward:()=>me,cursorGroupLeft:()=>de,cursorGroupRight:()=>he,cursorLineBoundaryBackward:()=>Re,cursorLineBoundaryForward:()=>Ie,cursorLineBoundaryLeft:()=>Ve,cursorLineBoundaryRight:()=>Ue,cursorLineDown:()=>xe,cursorLineEnd:()=>Ge,cursorLineStart:()=>Ne,cursorLineUp:()=>De,cursorMatchingBracket:()=>Fe,cursorPageDown:()=>Te,cursorPageUp:()=>be,cursorSubwordBackward:()=>Se,cursorSubwordForward:()=>we,cursorSyntaxLeft:()=>Ce,cursorSyntaxRight:()=>Be,defaultKeymap:()=>ln,deleteCharBackward:()=>xt,deleteCharForward:()=>Lt,deleteGroupBackward:()=>bt,deleteGroupForward:()=>Tt,deleteLine:()=>jt,deleteLineBoundaryBackward:()=>Rt,deleteLineBoundaryForward:()=>Vt,deleteToLineEnd:()=>Ot,deleteToLineStart:()=>It,deleteTrailingWhitespace:()=>Ut,emacsStyleKeymap:()=>rn,history:()=>T,historyField:()=>O,historyKeymap:()=>ee,indentLess:()=>tn,indentMore:()=>en,indentSelection:()=>Zt,indentWithTab:()=>sn,insertBlankLine:()=>Qt,insertNewline:()=>$t,insertNewlineAndIndent:()=>Kt,insertTab:()=>nn,invertedEffects:()=>L,isolateHistory:()=>x,lineComment:()=>m,lineUncomment:()=>p,moveLineDown:()=>Ht,moveLineUp:()=>Pt,redo:()=>V,redoDepth:()=>F,redoSelection:()=>N,selectAll:()=>St,selectCharBackward:()=>$e,selectCharForward:()=>je,selectCharLeft:()=>We,selectCharRight:()=>_e,selectDocEnd:()=>wt,selectDocStart:()=>kt,selectGroupBackward:()=>Ye,selectGroupForward:()=>Xe,selectGroupLeft:()=>Ke,selectGroupRight:()=>Qe,selectLine:()=>vt,selectLineBoundaryBackward:()=>ft,selectLineBoundaryForward:()=>ut,selectLineBoundaryLeft:()=>dt,selectLineBoundaryRight:()=>ht,selectLineDown:()=>st,selectLineEnd:()=>pt,selectLineStart:()=>mt,selectLineUp:()=>lt,selectMatchingBracket:()=>Pe,selectPageDown:()=>ct,selectPageUp:()=>at,selectParentSyntax:()=>At,selectSubwordBackward:()=>tt,selectSubwordForward:()=>et,selectSyntaxLeft:()=>nt,selectSyntaxRight:()=>rt,simplifySelection:()=>Ct,splitLine:()=>Nt,standardKeymap:()=>on,toggleBlockComment:()=>g,toggleBlockCommentByLine:()=>w,toggleComment:()=>f,toggleLineComment:()=>h,transposeChars:()=>Gt,undo:()=>R,undoDepth:()=>J,undoSelection:()=>U});var r=n(37496);var o=n.n(r);var l=n(66143);var s=n.n(l);var i=n(24104);var a=n.n(i);var c=n(73265);var u=n.n(c);const f=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=S(e.state,n.from);return r.line?h(e):r.block?w(e):false};function d(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return false;let o=e(t,n);if(!o)return false;r(n.update(o));return true}}const h=d(E,0);const m=d(E,1);const p=d(E,2);const g=d(B,0);const y=d(B,1);const k=d(B,2);const w=d(((e,t)=>B(e,t,C(t))),0);function S(e,t){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}const v=50;function A(e,{open:t,close:n},r,o){let l=e.sliceDoc(r-v,r);let s=e.sliceDoc(o,o+v);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*v){u=f=e.sliceDoc(r,o)}else{u=e.sliceDoc(r,r+v);f=e.sliceDoc(o-v,o)}let d=/^\s*/.exec(u)[0].length,h=/\s*$/.exec(f)[0].length;let m=f.length-h-n.length;if(u.slice(d,d+t.length)==t&&f.slice(m,m+n.length)==n){return{open:{pos:r+d+t.length,margin:/\s/.test(u.charAt(d+t.length))?1:0},close:{pos:o-h-n.length,margin:/\s/.test(f.charAt(m-1))?1:0}}}return null}function C(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from);let o=n.to<=r.to?r:e.doc.lineAt(n.to);let l=t.length-1;if(l>=0&&t[l].to>r.from)t[l].to=o.to;else t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:o.to})}return t}function B(e,t,n=t.selection.ranges){let r=n.map((e=>S(t,e.from).block));if(!r.every((e=>e)))return null;let o=n.map(((e,n)=>A(t,r[n],e.from,e.to)));if(e!=2&&!o.every((e=>e))){return{changes:t.changes(n.map(((e,t)=>{if(o[t])return[];return[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]})))}}else if(e!=1&&o.some((e=>e))){let e=[];for(let t=0,n;t<o.length;t++)if(n=o[t]){let o=r[t],{open:l,close:s}=n;e.push({from:l.pos-o.open.length,to:l.pos+l.margin},{from:s.pos-s.margin,to:s.pos+o.close.length})}return{changes:e}}return null}function E(e,t,n=t.selection.ranges){let r=[];let o=-1;for(let{from:l,to:s}of n){let e=r.length,n=1e9;let i=S(t,l).line;if(!i)continue;for(let a=l;a<=s;){let e=t.doc.lineAt(a);if(e.from>o&&(l==s||s>e.from)){o=e.from;let t=/^\s*/.exec(e.text)[0].length;let l=t==e.length;let s=e.text.slice(t,t+i.length)==i?t:-1;if(t<e.text.length&&t<n)n=t;r.push({line:e,comment:s,token:i,indent:t,empty:l,single:false})}a=e.to+1}if(n<1e9)for(let t=e;t<r.length;t++)if(r[t].indent<r[t].line.text.length)r[t].indent=n;if(r.length==e+1)r[e].single=true}if(e!=2&&r.some((e=>e.comment<0&&(!e.empty||e.single)))){let e=[];for(let{line:t,token:o,indent:l,empty:s,single:i}of r)if(i||!s)e.push({from:t.from+l,insert:o+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}else if(e!=1&&r.some((e=>e.comment>=0))){let e=[];for(let{line:t,comment:n,token:o}of r)if(n>=0){let r=t.from+n,l=r+o.length;if(t.text[l-t.from]==" ")l++;e.push({from:r,to:l})}return{changes:e}}return null}const D=r.Annotation.define();const x=r.Annotation.define();const L=r.Facet.define();const M=r.Facet.define({combine(e){return(0,r.combineConfig)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}});const b=r.StateField.define({create(){return Z.empty},update(e,t){let n=t.state.facet(M);let o=t.annotation(D);if(o){let r=P.fromTransaction(t,o.selection),l=o.side;let s=l==0?e.undone:e.done;if(r)s=H(s,s.length,n.minDepth,r);else s=q(s,t.startState.selection);return new Z(l==0?o.rest:s,l==0?s:o.rest)}let l=t.annotation(x);if(l=="full"||l=="before")e=e.isolate();if(t.annotation(r.Transaction.addToHistory)===false)return!t.changes.empty?e.addMapping(t.changes.desc):e;let s=P.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 Z(e.done.map(P.fromJSON),e.undone.map(P.fromJSON))}});function T(e={}){return[b,M.of(e),l.EditorView.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?R:e.inputType=="historyRedo"?V:null;if(!n)return false;e.preventDefault();return n(t)}})]}const O=b;function I(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return false;let o=n.field(b,false);if(!o)return false;let l=o.pop(e,n,t);if(!l)return false;r(l);return true}}const R=I(0,false);const V=I(1,false);const U=I(0,true);const N=I(1,true);function G(e){return function(t){let n=t.field(b,false);if(!n)return 0;let r=e==0?n.done:n.undone;return r.length-(r.length&&!r[0].changes?1:0)}}const J=G(0);const F=G(1);class P{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 P(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 P(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(L)){let t=r(e);if(t.length)n=n.concat(t)}if(!n.length&&e.changes.empty)return null;return new P(e.changes.invert(e.startState.doc),n,undefined,t||e.startState.selection,j)}static selection(e){return new P(undefined,j,undefined,undefined,e)}}function H(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 z(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 W(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter(((e,n)=>e.empty!=t.ranges[n].empty)).length===0}function _(e,t){return!e.length?t:!t.length?e:e.concat(t)}const j=[];const $=200;function q(e,t){if(!e.length){return[P.selection([t])]}else{let n=e[e.length-1];let r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-$));if(r.length&&r[r.length-1].eq(t))return e;r.push(t);return H(e,e.length-1,1e9,n.setSelAfter(r))}}function K(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 Q(e,t){if(!e.length)return e;let n=e.length,r=j;while(n){let o=X(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?[P.selection(r)]:j}function X(e,t,n){let o=_(e.selectionsAfter.length?e.selectionsAfter.map((e=>e.map(t))):j,n);if(!e.changes)return P.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 P(l,r.StateEffect.mapEffects(e.effects,t),i,e.startSelection.map(s),o)}const Y=/^(input\.type|delete)($|\.)/;class Z{constructor(e,t,n=0,r=undefined){this.done=e;this.undone=t;this.prevTime=n;this.prevUserEvent=r}isolate(){return this.prevTime?new Z(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||Y.test(n))&&(!s.selectionsAfter.length&&t-this.prevTime<r.newGroupDelay&&r.joinToEvent(o,z(s.changes,e.changes))||n=="input.type.compose")){l=H(l,l.length-1,r.minDepth,new P(e.changes.compose(s.changes),_(e.effects,s.effects),s.mapped,s.startSelection,j))}else{l=H(l,l.length,r.minDepth,e)}return new Z(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)&&W(o[o.length-1],e))return this;return new Z(q(this.done,e),this.undone,t,n)}addMapping(e){return new Z(Q(this.done,e),Q(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],l=o.selectionsAfter[0]||t.selection;if(n&&o.selectionsAfter.length){return t.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:D.of({side:e,rest:K(r),selection:l}),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=Q(n,o.mapped);return t.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:D.of({side:e,rest:n,selection:l}),filter:false,userEvent:e==0?"undo":"redo",scrollIntoView:true})}}}Z.empty=new Z(j,j);const ee=[{key:"Mod-z",run:R,preventDefault:true},{key:"Mod-y",mac:"Mod-Shift-z",run:V,preventDefault:true},{linux:"Ctrl-Shift-z",run:V,preventDefault:true},{key:"Mod-u",run:U,preventDefault:true},{key:"Alt-u",mac:"Mod-Shift-u",run:N,preventDefault:true}];function te(e,t){return r.EditorSelection.create(e.ranges.map(t),e.mainIndex)}function ne(e,t){return e.update({selection:t,scrollIntoView:true,userEvent:"select"})}function re({state:e,dispatch:t},n){let r=te(e.selection,n);if(r.eq(e.selection,true))return false;t(ne(e,r));return true}function oe(e,t){return r.EditorSelection.cursor(t?e.to:e.from)}function le(e,t){return re(e,(n=>n.empty?e.moveByChar(n,t):oe(n,t)))}function se(e){return e.textDirectionAt(e.state.selection.main.head)==l.Direction.LTR}const ie=e=>le(e,!se(e));const ae=e=>le(e,se(e));const ce=e=>le(e,true);const ue=e=>le(e,false);function fe(e,t){return re(e,(n=>n.empty?e.moveByGroup(n,t):oe(n,t)))}const de=e=>fe(e,!se(e));const he=e=>fe(e,se(e));const me=e=>fe(e,true);const pe=e=>fe(e,false);const ge=typeof Intl!="undefined"&&Intl.Segmenter?new Intl.Segmenter(undefined,{granularity:"word"}):null;function ye(e,t,n){let o=e.state.charCategorizer(t.from);let l=r.CharCategory.Space,s=t.from,i=0;let a=false,c=false,u=false;let f=t=>{if(a)return false;s+=n?t.length:-t.length;let f=o(t),d;if(f==r.CharCategory.Word&&t.charCodeAt(0)<128&&/[\W_]/.test(t))f=-1;if(l==r.CharCategory.Space)l=f;if(l!=f)return false;if(l==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(d=e.state.sliceDoc(s,s+1))==r.CharCategory.Word&&d.toLowerCase()==d)return false;c=true}}i++;return true};let d=e.moveByChar(t,n,(e=>{f(e);return f}));if(ge&&l==r.CharCategory.Word&&d.from==t.from+i*(n?1:-1)){let o=Math.min(t.head,d.head),l=Math.max(t.head,d.head);let s=e.state.sliceDoc(o,l);if(s.length>1&&/[\u4E00-\uffff]/.test(s)){let e=Array.from(ge.segment(s));if(e.length>1){if(n)return r.EditorSelection.cursor(t.head+e[1].index,-1);return r.EditorSelection.cursor(d.head+e[e.length-1].index,1)}}}return d}function ke(e,t){return re(e,(n=>n.empty?ye(e,n,t):oe(n,t)))}const we=e=>ke(e,true);const Se=e=>ke(e,false);function ve(e,t,n){if(t.type.prop(n))return true;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function Ae(e,t,n){let o=(0,i.syntaxTree)(e).resolveInner(t.head);let l=n?c.NodeProp.closedBy:c.NodeProp.openedBy;for(let r=t.head;;){let t=n?o.childAfter(r):o.childBefore(r);if(!t)break;if(ve(e,t,l))o=t;else r=n?t.to:t.from}let s=o.type.prop(l),a,u;if(s&&(a=n?(0,i.matchBrackets)(e,o.from,1):(0,i.matchBrackets)(e,o.to,-1))&&a.matched)u=n?a.end.to:a.end.from;else u=n?o.to:o.from;return r.EditorSelection.cursor(u,n?-1:1)}const Ce=e=>re(e,(t=>Ae(e.state,t,!se(e))));const Be=e=>re(e,(t=>Ae(e.state,t,se(e))));function Ee(e,t){return re(e,(n=>{if(!n.empty)return oe(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)}))}const De=e=>Ee(e,false);const xe=e=>Ee(e,true);function Le(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2;let n=0,r=0,o;if(t){for(let t of e.state.facet(l.EditorView.scrollMargins)){let o=t(e);if(o===null||o===void 0?void 0:o.top)n=Math.max(o===null||o===void 0?void 0:o.top,n);if(o===null||o===void 0?void 0:o.bottom)r=Math.max(o===null||o===void 0?void 0:o.bottom,r)}o=e.scrollDOM.clientHeight-n-r}else{o=(e.dom.ownerDocument.defaultView||window).innerHeight}return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,o-5)}}function Me(e,t){let n=Le(e);let{state:r}=e,o=te(r.selection,(r=>r.empty?e.moveVertically(r,t,n.height):oe(r,t)));if(o.eq(r.selection))return false;let s;if(n.selfScroll){let t=e.coordsAtPos(r.selection.main.head);let i=e.scrollDOM.getBoundingClientRect();let a=i.top+n.marginTop,c=i.bottom-n.marginBottom;if(t&&t.top>a&&t.bottom<c)s=l.EditorView.scrollIntoView(o.main.head,{y:"start",yMargin:t.top-a})}e.dispatch(ne(r,o),{effects:s});return true}const be=e=>Me(e,false);const Te=e=>Me(e,true);function Oe(e,t,n){let o=e.lineBlockAt(t.head),l=e.moveToLineBoundary(t,n);if(l.head==t.head&&l.head!=(n?o.to:o.from))l=e.moveToLineBoundary(t,n,false);if(!n&&l.head==o.from&&o.length){let n=/^\s*/.exec(e.state.sliceDoc(o.from,Math.min(o.from+100,o.to)))[0].length;if(n&&t.head!=o.from+n)l=r.EditorSelection.cursor(o.from+n)}return l}const Ie=e=>re(e,(t=>Oe(e,t,true)));const Re=e=>re(e,(t=>Oe(e,t,false)));const Ve=e=>re(e,(t=>Oe(e,t,!se(e))));const Ue=e=>re(e,(t=>Oe(e,t,se(e))));const Ne=e=>re(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).from,1)));const Ge=e=>re(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).to,-1)));function Je(e,t,n){let o=false,l=te(e.selection,(t=>{let l=(0,i.matchBrackets)(e,t.head,-1)||(0,i.matchBrackets)(e,t.head,1)||t.head>0&&(0,i.matchBrackets)(e,t.head-1,1)||t.head<e.doc.length&&(0,i.matchBrackets)(e,t.head+1,-1);if(!l||!l.end)return t;o=true;let s=l.start.from==t.head?l.end.to:l.end.from;return n?r.EditorSelection.range(t.anchor,s):r.EditorSelection.cursor(s)}));if(!o)return false;t(ne(e,l));return true}const Fe=({state:e,dispatch:t})=>Je(e,t,false);const Pe=({state:e,dispatch:t})=>Je(e,t,true);function He(e,t){let n=te(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(ne(e.state,n));return true}function ze(e,t){return He(e,(n=>e.moveByChar(n,t)))}const We=e=>ze(e,!se(e));const _e=e=>ze(e,se(e));const je=e=>ze(e,true);const $e=e=>ze(e,false);function qe(e,t){return He(e,(n=>e.moveByGroup(n,t)))}const Ke=e=>qe(e,!se(e));const Qe=e=>qe(e,se(e));const Xe=e=>qe(e,true);const Ye=e=>qe(e,false);function Ze(e,t){return He(e,(n=>ye(e,n,t)))}const et=e=>Ze(e,true);const tt=e=>Ze(e,false);const nt=e=>He(e,(t=>Ae(e.state,t,!se(e))));const rt=e=>He(e,(t=>Ae(e.state,t,se(e))));function ot(e,t){return He(e,(n=>e.moveVertically(n,t)))}const lt=e=>ot(e,false);const st=e=>ot(e,true);function it(e,t){return He(e,(n=>e.moveVertically(n,t,Le(e).height)))}const at=e=>it(e,false);const ct=e=>it(e,true);const ut=e=>He(e,(t=>Oe(e,t,true)));const ft=e=>He(e,(t=>Oe(e,t,false)));const dt=e=>He(e,(t=>Oe(e,t,!se(e))));const ht=e=>He(e,(t=>Oe(e,t,se(e))));const mt=e=>He(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).from)));const pt=e=>He(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).to)));const gt=({state:e,dispatch:t})=>{t(ne(e,{anchor:0}));return true};const yt=({state:e,dispatch:t})=>{t(ne(e,{anchor:e.doc.length}));return true};const kt=({state:e,dispatch:t})=>{t(ne(e,{anchor:e.selection.main.anchor,head:0}));return true};const wt=({state:e,dispatch:t})=>{t(ne(e,{anchor:e.selection.main.anchor,head:e.doc.length}));return true};const St=({state:e,dispatch:t})=>{t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"}));return true};const vt=({state:e,dispatch:t})=>{let n=Jt(e).map((({from:t,to:n})=>r.EditorSelection.range(t,Math.min(n+1,e.doc.length))));t(e.update({selection:r.EditorSelection.create(n),userEvent:"select"}));return true};const At=({state:e,dispatch:t})=>{let n=te(e.selection,(t=>{var n;let o=(0,i.syntaxTree)(e).resolveStack(t.from,1);for(let e=o;e;e=e.next){let{node:o}=e;if((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))return r.EditorSelection.range(o.to,o.from)}return t}));t(ne(e,n));return true};const Ct=({state:e,dispatch:t})=>{let n=e.selection,o=null;if(n.ranges.length>1)o=r.EditorSelection.create([n.main]);else if(!n.main.empty)o=r.EditorSelection.create([r.EditorSelection.cursor(n.main.head)]);if(!o)return false;t(ne(e,o));return true};function Bt(e,t){if(e.state.readOnly)return false;let n="delete.selection",{state:o}=e;let s=o.changeByRange((o=>{let{from:l,to:s}=o;if(l==s){let r=t(o);if(r<l){n="delete.backward";r=Et(e,r,false)}else if(r>l){n="delete.forward";r=Et(e,r,true)}l=Math.min(l,r);s=Math.max(s,r)}else{l=Et(e,l,false);s=Et(e,s,true)}return l==s?{range:o}:{changes:{from:l,to:s},range:r.EditorSelection.cursor(l,l<o.head?-1:1)}}));if(s.changes.empty)return false;e.dispatch(o.update(s,{scrollIntoView:true,userEvent:n,effects:n=="delete.selection"?l.EditorView.announce.of(o.phrase("Selection deleted")):undefined}));return true}function Et(e,t,n){if(e instanceof l.EditorView)for(let r of e.state.facet(l.EditorView.atomicRanges).map((t=>t(e))))r.between(t,t,((e,r)=>{if(e<t&&r>t)t=n?r:e}));return t}const Dt=(e,t)=>Bt(e,(n=>{let o=n.from,{state:l}=e,s=l.doc.lineAt(o),a,c;if(!t&&o>s.from&&o<s.from+200&&!/[^ \t]/.test(a=s.text.slice(0,o-s.from))){if(a[a.length-1]=="\t")return o-1;let e=(0,r.countColumn)(a,l.tabSize),t=e%(0,i.getIndentUnit)(l)||(0,i.getIndentUnit)(l);for(let n=0;n<t&&a[a.length-1-n]==" ";n++)o--;c=o}else{c=(0,r.findClusterBreak)(s.text,o-s.from,t,t)+s.from;if(c==o&&s.number!=(t?l.doc.lines:1))c+=t?1:-1;else if(!t&&/[\ufe00-\ufe0f]/.test(s.text.slice(c-s.from,o-s.from)))c=(0,r.findClusterBreak)(s.text,c-s.from,false,false)+s.from}return c}));const xt=e=>Dt(e,false);const Lt=e=>Dt(e,true);const Mt=(e,t)=>Bt(e,(n=>{let o=n.head,{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.head&&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.head)e=u;o=a}return o}));const bt=e=>Mt(e,false);const Tt=e=>Mt(e,true);const Ot=e=>Bt(e,(t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}));const It=e=>Bt(e,(t=>{let n=e.lineBlockAt(t.head).from;return t.head>n?n:Math.max(0,t.head-1)}));const Rt=e=>Bt(e,(t=>{let n=e.moveToLineBoundary(t,false).head;return t.head>n?n:Math.max(0,t.head-1)}));const Vt=e=>Bt(e,(t=>{let n=e.moveToLineBoundary(t,true).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}));const Ut=({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 Nt=({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 Gt=({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 Jt(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 Ft(e,t,n){if(e.readOnly)return false;let o=[],l=[];for(let s of Jt(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 Pt=({state:e,dispatch:t})=>Ft(e,t,false);const Ht=({state:e,dispatch:t})=>Ft(e,t,true);function zt(e,t,n){if(e.readOnly)return false;let r=[];for(let o of Jt(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 Wt=({state:e,dispatch:t})=>zt(e,t,false);const _t=({state:e,dispatch:t})=>zt(e,t,true);const jt=e=>{if(e.state.readOnly)return false;let{state:t}=e,n=t.changes(Jt(t).map((({from:e,to:n})=>{if(e>0)e--;else if(n<t.doc.length)n++;return{from:e,to:n}})));let r=te(t.selection,(t=>e.moveVertically(t,true))).map(n);e.dispatch({changes:n,selection:r,scrollIntoView:true,userEvent:"delete.line"});return true};const $t=({state:e,dispatch:t})=>{t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:true,userEvent:"input"}));return true};function qt(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,i.syntaxTree)(e).resolveInner(t);let r=n.childBefore(t),o=n.childAfter(t),l;if(r&&o&&r.to<=t&&o.from>=t&&(l=r.type.prop(c.NodeProp.closedBy))&&l.indexOf(o.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(o.from).from&&!/\S/.test(e.sliceDoc(r.to,o.from)))return{from:r.to,to:o.from};return null}const Kt=Xt(false);const Qt=Xt(true);function Xt(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.IndentContext(t,{simulateBreak:o,simulateDoubleBreak:!!a});let u=(0,i.getIndentation)(c,o);if(u==null)u=(0,r.countColumn)(/^\s*/.exec(t.doc.lineAt(o).text)[0],t.tabSize);while(l<s.to&&/\s/.test(s.text[l-s.from]))l++;if(a)({from:o,to:l}=a);else if(o>s.from&&o<s.from+100&&!/\S/.test(s.text.slice(0,o)))o=s.from;let f=["",(0,i.indentString)(t,u)];if(a)f.push((0,i.indentString)(t,c.lineIndent(s.from,-1)));return{changes:{from:o,to:l,insert:r.Text.of(f)},range:r.EditorSelection.cursor(o+1+f[1].length)}}));n(t.update(o,{scrollIntoView:true,userEvent:"input"}));return true}}function Yt(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 Zt=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=Object.create(null);let r=new i.IndentContext(e,{overrideIndentation:e=>{let t=n[e];return t==null?-1:t}});let o=Yt(e,((t,o,l)=>{let s=(0,i.getIndentation)(r,t.from);if(s==null)return;if(!/\S/.test(t.text))s=0;let a=/^\s*/.exec(t.text)[0];let c=(0,i.indentString)(e,s);if(a!=c||l.from<t.from+a.length){n[t.from]=s;o.push({from:t.from,to:t.from+a.length,insert:c})}}));if(!o.changes.empty)t(e.update(o,{userEvent:"indent"}));return true};const en=({state:e,dispatch:t})=>{if(e.readOnly)return false;t(e.update(Yt(e,((t,n)=>{n.push({from:t.from,insert:e.facet(i.indentUnit)})})),{userEvent:"input.indent"}));return true};const tn=({state:e,dispatch:t})=>{if(e.readOnly)return false;t(e.update(Yt(e,((t,n)=>{let o=/^\s*/.exec(t.text)[0];if(!o)return;let l=(0,r.countColumn)(o,e.tabSize),s=0;let a=(0,i.indentString)(e,Math.max(0,l-(0,i.getIndentUnit)(e)));while(s<o.length&&s<a.length&&o.charCodeAt(s)==a.charCodeAt(s))s++;n.push({from:t.from+s,to:t.from+o.length,insert:a.slice(s)})})),{userEvent:"delete.dedent"}));return true};const nn=({state:e,dispatch:t})=>{if(e.selection.ranges.some((e=>!e.empty)))return en({state:e,dispatch:t});t(e.update(e.replaceSelection("\t"),{scrollIntoView:true,userEvent:"input"}));return true};const rn=[{key:"Ctrl-b",run:ie,shift:We,preventDefault:true},{key:"Ctrl-f",run:ae,shift:_e},{key:"Ctrl-p",run:De,shift:lt},{key:"Ctrl-n",run:xe,shift:st},{key:"Ctrl-a",run:Ne,shift:mt},{key:"Ctrl-e",run:Ge,shift:pt},{key:"Ctrl-d",run:Lt},{key:"Ctrl-h",run:xt},{key:"Ctrl-k",run:Ot},{key:"Ctrl-Alt-h",run:bt},{key:"Ctrl-o",run:Nt},{key:"Ctrl-t",run:Gt},{key:"Ctrl-v",run:Te}];const on=[{key:"ArrowLeft",run:ie,shift:We,preventDefault:true},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:de,shift:Ke,preventDefault:true},{mac:"Cmd-ArrowLeft",run:Ve,shift:dt,preventDefault:true},{key:"ArrowRight",run:ae,shift:_e,preventDefault:true},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:he,shift:Qe,preventDefault:true},{mac:"Cmd-ArrowRight",run:Ue,shift:ht,preventDefault:true},{key:"ArrowUp",run:De,shift:lt,preventDefault:true},{mac:"Cmd-ArrowUp",run:gt,shift:kt},{mac:"Ctrl-ArrowUp",run:be,shift:at},{key:"ArrowDown",run:xe,shift:st,preventDefault:true},{mac:"Cmd-ArrowDown",run:yt,shift:wt},{mac:"Ctrl-ArrowDown",run:Te,shift:ct},{key:"PageUp",run:be,shift:at},{key:"PageDown",run:Te,shift:ct},{key:"Home",run:Re,shift:ft,preventDefault:true},{key:"Mod-Home",run:gt,shift:kt},{key:"End",run:Ie,shift:ut,preventDefault:true},{key:"Mod-End",run:yt,shift:wt},{key:"Enter",run:Kt},{key:"Mod-a",run:St},{key:"Backspace",run:xt,shift:xt},{key:"Delete",run:Lt},{key:"Mod-Backspace",mac:"Alt-Backspace",run:bt},{key:"Mod-Delete",mac:"Alt-Delete",run:Tt},{mac:"Mod-Backspace",run:Rt},{mac:"Mod-Delete",run:Vt}].concat(rn.map((e=>({mac:e.key,run:e.run,shift:e.shift}))));const ln=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Ce,shift:nt},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Be,shift:rt},{key:"Alt-ArrowUp",run:Pt},{key:"Shift-Alt-ArrowUp",run:Wt},{key:"Alt-ArrowDown",run:Ht},{key:"Shift-Alt-ArrowDown",run:_t},{key:"Escape",run:Ct},{key:"Mod-Enter",run:Qt},{key:"Alt-l",mac:"Ctrl-l",run:vt},{key:"Mod-i",run:At,preventDefault:true},{key:"Mod-[",run:tn},{key:"Mod-]",run:en},{key:"Mod-Alt-\\",run:Zt},{key:"Shift-Mod-k",run:jt},{key:"Shift-Mod-\\",run:Fe},{key:"Mod-/",run:f},{key:"Alt-A",run:g}].concat(on);const sn={key:"Tab",run:en,shift:tn}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[3783,4155],{1065:(t,e,s)=>{"use strict";s.d(e,{GA:()=>_t,Gn:()=>It,Mb:()=>u,TK:()=>h,eC:()=>d,vQ:()=>Ut});var i=s(37496);var n=s.n(i);var o=s(66143);var r=s.n(o);var l=s(24104);var a=s.n(l);class h{constructor(t,e,s){this.state=t;this.pos=e;this.explicit=s;this.abortListeners=[]}tokenBefore(t){let e=(0,l.syntaxTree)(this.state).resolveInner(this.pos,-1);while(e&&t.indexOf(e.name)<0)e=e.parent;return e?{from:e.from,to:this.pos,text:this.state.sliceDoc(e.from,this.pos),type:e.type}:null}matchBefore(t){let e=this.state.doc.lineAt(this.pos);let s=Math.max(e.from,this.pos-250);let i=e.text.slice(s-e.from,this.pos-e.from);let n=i.search(k(t,false));return n<0?null:{from:s+n,to:this.pos,text:i.slice(n)}}get aborted(){return this.abortListeners==null}addEventListener(t,e){if(t=="abort"&&this.abortListeners)this.abortListeners.push(e)}}function c(t){let e=Object.keys(t).join("");let s=/\w/.test(e);if(s)e=e.replace(/\w/g,"");return`[${s?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function f(t){let e=Object.create(null),s=Object.create(null);for(let{label:n}of t){e[n[0]]=true;for(let t=1;t<n.length;t++)s[n[t]]=true}let i=c(e)+c(s)+"*$";return[new RegExp("^"+i),new RegExp(i)]}function u(t){let e=t.map((t=>typeof t=="string"?{label:t}:t));let[s,i]=e.every((t=>/^\w+$/.test(t.label)))?[/\w*$/,/\w+$/]:f(e);return t=>{let n=t.matchBefore(i);return n||t.explicit?{from:n?n.from:t.pos,options:e,validFor:s}:null}}function p(t,e){return s=>{for(let i=syntaxTree(s.state).resolveInner(s.pos,-1);i;i=i.parent){if(t.indexOf(i.name)>-1)return e(s);if(i.type.isTop)break}return null}}function d(t,e){return s=>{for(let e=(0,l.syntaxTree)(s.state).resolveInner(s.pos,-1);e;e=e.parent){if(t.indexOf(e.name)>-1)return null;if(e.type.isTop)break}return e(s)}}class m{constructor(t,e,s,i){this.completion=t;this.source=e;this.match=s;this.score=i}}function g(t){return t.selection.main.from}function k(t,e){var s;let{source:i}=t;let n=e&&i[0]!="^",o=i[i.length-1]!="$";if(!n&&!o)return t;return new RegExp(`${n?"^":""}(?:${i})${o?"$":""}`,(s=t.flags)!==null&&s!==void 0?s:t.ignoreCase?"i":"")}const b=i.Annotation.define();function x(t,e,s,n){let{main:o}=t.selection,r=s-o.from,l=n-o.from;return Object.assign(Object.assign({},t.changeByRange((a=>{if(a!=o&&s!=n&&t.sliceDoc(a.from+r,a.from+l)!=t.sliceDoc(s,n))return{range:a};return{changes:{from:a.from+r,to:n==o.from?a.to:a.from+l,insert:e},range:i.EditorSelection.cursor(a.from+r+e.length)}}))),{scrollIntoView:true,userEvent:"input.complete"})}const v=new WeakMap;function w(t){if(!Array.isArray(t))return t;let e=v.get(t);if(!e)v.set(t,e=u(t));return e}const y=i.StateEffect.define();const S=i.StateEffect.define();class C{constructor(t){this.pattern=t;this.chars=[];this.folded=[];this.any=[];this.precise=[];this.byWord=[];this.score=0;this.matched=[];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}ret(t,e){this.score=t;this.matched=e;return this}match(t){if(this.pattern.length==0)return this.ret(-100,[]);if(t.length<this.pattern.length)return null;let{chars:e,folded:s,any:n,precise:o,byWord:r}=this;if(e.length==1){let n=(0,i.codePointAt)(t,0),o=(0,i.codePointSize)(n);let r=o==t.length?0:-100;if(n==e[0]);else if(n==s[0])r+=-200;else return null;return this.ret(r,[0,o])}let l=t.indexOf(this.pattern);if(l==0)return this.ret(t.length==this.pattern.length?0:-100,[0,this.pattern.length]);let a=e.length,h=0;if(l<0){for(let o=0,r=Math.min(t.length,200);o<r&&h<a;){let r=(0,i.codePointAt)(t,o);if(r==e[h]||r==s[h])n[h++]=o;o+=(0,i.codePointSize)(r)}if(h<a)return null}let c=0;let f=0,u=false;let p=0,d=-1,m=-1;let g=/[a-z]/.test(t),k=true;for(let b=0,x=Math.min(t.length,200),v=0;b<x&&f<a;){let n=(0,i.codePointAt)(t,b);if(l<0){if(c<a&&n==e[c])o[c++]=b;if(p<a){if(n==e[p]||n==s[p]){if(p==0)d=b;m=b+1;p++}else{p=0}}}let h,x=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(!b||x==1&&g||v==0&&x!=0){if(e[f]==n||s[f]==n&&(u=true))r[f++]=b;else if(r.length)k=false}v=x;b+=(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 this.ret(-200-t.length+(m==t.length?0:-100),[0,m]);if(l>-1)return this.ret(-700-t.length,[l,l+this.pattern.length]);if(p==a)return this.ret(-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=[],o=0;for(let r of e){let t=r+(this.astral?(0,i.codePointSize)((0,i.codePointAt)(s,r)):1);if(o&&n[o-1]==r)n[o-1]=t;else{n[o++]=r;n[o++]=t}}return this.ret(t-s.length,n)}}class P{constructor(t){this.pattern=t;this.matched=[];this.score=0;this.folded=t.toLowerCase()}match(t){if(t.length<this.pattern.length)return null;let e=t.slice(0,this.pattern.length);let s=e==this.pattern?0:e.toLowerCase()==this.folded?-200:null;if(s==null)return null;this.matched=[0,e.length];this.score=s+(t.length==this.pattern.length?0:-100);return this}}const T=i.Facet.define({combine(t){return(0,i.combineConfig)(t,{activateOnTyping:true,activateOnTypingDelay:100,selectOnOpen:true,override:null,closeOnBlur:true,maxRenderedOptions:100,defaultKeymap:true,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:false,icons:true,addToOptions:[],positionInfo:I,filterStrict:false,compareCompletions:(t,e)=>t.label.localeCompare(e.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,e)=>t&&e,closeOnBlur:(t,e)=>t&&e,icons:(t,e)=>t&&e,tooltipClass:(t,e)=>s=>A(t(s),e(s)),optionClass:(t,e)=>s=>A(t(s),e(s)),addToOptions:(t,e)=>t.concat(e),filterStrict:(t,e)=>t||e})}});function A(t,e){return t?e?t+" "+e:t:e}function I(t,e,s,i,n,r){let l=t.textDirection==o.Direction.RTL,a=l,h=false;let c="top",f,u;let p=e.left-n.left,d=n.right-e.right;let m=i.right-i.left,g=i.bottom-i.top;if(a&&p<Math.min(m,d))a=false;else if(!a&&d<Math.min(m,p))a=true;if(m<=(a?p:d)){f=Math.max(n.top,Math.min(s.top,n.bottom-g))-e.top;u=Math.min(400,a?p:d)}else{h=true;u=Math.min(400,(l?e.right:n.right-e.left)-30);let t=n.bottom-e.bottom;if(t>=g||t>e.top){f=s.bottom-e.top}else{c="bottom";f=e.bottom-s.top}}let k=(e.bottom-e.top)/r.offsetHeight;let b=(e.right-e.left)/r.offsetWidth;return{style:`${c}: ${f/k}px; max-width: ${u/b}px`,class:"cm-completionInfo-"+(h?l?"left-narrow":"right-narrow":a?"left":"right")}}function R(t){let e=t.addToOptions.slice();if(t.icons)e.push({render(t){let e=document.createElement("div");e.classList.add("cm-completionIcon");if(t.type)e.classList.add(...t.type.split(/\s+/g).map((t=>"cm-completionIcon-"+t)));e.setAttribute("aria-hidden","true");return e},position:20});e.push({render(t,e,s,i){let n=document.createElement("span");n.className="cm-completionLabel";let o=t.displayLabel||t.label,r=0;for(let l=0;l<i.length;){let t=i[l++],e=i[l++];if(t>r)n.appendChild(document.createTextNode(o.slice(r,t)));let s=n.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(o.slice(t,e)));s.className="cm-completionMatchedText";r=e}if(r<o.length)n.appendChild(document.createTextNode(o.slice(r)));return n},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 O(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 E{constructor(t,e,s){this.view=t;this.stateField=e;this.applyCompletion=s;this.info=null;this.infoDestroy=null;this.placeInfoReq={read:()=>this.measureInfo(),write:t=>this.placeInfo(t),key:this};this.space=null;this.currentClass="";let i=t.state.field(e);let{options:n,selected:o}=i.open;let r=t.state.facet(T);this.optionContent=R(r);this.optionClass=r.optionClass;this.tooltipClass=r.tooltipClass;this.range=O(n.length,o,r.maxRenderedOptions);this.dom=document.createElement("div");this.dom.className="cm-tooltip-autocomplete";this.updateTooltipClass(t.state);this.dom.addEventListener("mousedown",(s=>{let{options:i}=t.state.field(e).open;for(let e=s.target,n;e&&e!=this.dom;e=e.parentNode){if(e.nodeName=="LI"&&(n=/-(\d+)$/.exec(e.id))&&+n[1]<i.length){this.applyCompletion(t,i[+n[1]]);s.preventDefault();return}}}));this.dom.addEventListener("focusout",(e=>{let s=t.state.field(this.stateField,false);if(s&&s.tooltip&&t.state.facet(T).closeOnBlur&&e.relatedTarget!=t.contentDOM)t.dispatch({effects:S.of(null)})}));this.showOptions(n,i.id)}mount(){this.updateSel()}showOptions(t,e){if(this.list)this.list.remove();this.list=this.dom.appendChild(this.createListBox(t,e,this.range));this.list.addEventListener("scroll",(()=>{if(this.info)this.view.requestMeasure(this.placeInfoReq)}))}update(t){var e;let s=t.state.field(this.stateField);let i=t.startState.field(this.stateField);this.updateTooltipClass(t.state);if(s!=i){let{options:n,selected:o,disabled:r}=s.open;if(!i.open||i.open.options!=n){this.range=O(n.length,o,t.state.facet(T).maxRenderedOptions);this.showOptions(n,s.id)}this.updateSel();if(r!=((e=i.open)===null||e===void 0?void 0:e.disabled))this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!r)}}updateTooltipClass(t){let e=this.tooltipClass(t);if(e!=this.currentClass){for(let t of this.currentClass.split(" "))if(t)this.dom.classList.remove(t);for(let t of e.split(" "))if(t)this.dom.classList.add(t);this.currentClass=e}}positioned(t){this.space=t;if(this.info)this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),e=t.open;if(e.selected>-1&&e.selected<this.range.from||e.selected>=this.range.to){this.range=O(e.options.length,e.selected,this.view.state.facet(T).maxRenderedOptions);this.showOptions(e.options,t.id)}if(this.updateSelectedOption(e.selected)){this.destroyInfo();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,s)})).catch((t=>(0,o.logException)(this.view.state,t,"completion info")))}else{this.addInfoPane(n,s)}}}addInfoPane(t,e){this.destroyInfo();let s=this.info=document.createElement("div");s.className="cm-tooltip cm-completionInfo";if(t.nodeType!=null){s.appendChild(t);this.infoDestroy=null}else{let{dom:e,destroy:i}=t;s.appendChild(e);this.infoDestroy=i||null}this.dom.appendChild(s);this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let e=null;for(let s=this.list.firstChild,i=this.range.from;s;s=s.nextSibling,i++){if(s.nodeName!="LI"||!s.id){i--}else if(i==t){if(!s.hasAttribute("aria-selected")){s.setAttribute("aria-selected","true");e=s}}else{if(s.hasAttribute("aria-selected"))s.removeAttribute("aria-selected")}}if(e)N(this.list,e);return e}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let e=this.dom.getBoundingClientRect();let s=this.info.getBoundingClientRect();let i=t.getBoundingClientRect();let n=this.space;if(!n){let t=this.dom.ownerDocument.defaultView||window;n={left:0,top:0,right:t.innerWidth,bottom:t.innerHeight}}if(i.top>Math.min(n.bottom,e.bottom)-10||i.bottom<Math.max(n.top,e.top)+10)return null;return this.view.state.facet(T).positionInfo(this.view,e,i,s,n,this.dom)}placeInfo(t){if(this.info){if(t){if(t.style)this.info.style.cssText=t.style;this.info.className="cm-tooltip cm-completionInfo "+(t.class||"")}else{this.info.style.cssText="top: -1e6px"}}}createListBox(t,e,s){const i=document.createElement("ul");i.id=e;i.setAttribute("role","listbox");i.setAttribute("aria-expanded","true");i.setAttribute("aria-label",this.view.state.phrase("Completions"));let n=null;for(let o=s.from;o<s.to;o++){let{completion:r,match:l}=t[o],{section:a}=r;if(a){let t=typeof a=="string"?a:a.name;if(t!=n&&(o>s.from||s.from==0)){n=t;if(typeof a!="string"&&a.header){i.appendChild(a.header(a))}else{let e=i.appendChild(document.createElement("completion-section"));e.textContent=t}}}const h=i.appendChild(document.createElement("li"));h.id=e+"-"+o;h.setAttribute("role","option");let c=this.optionClass(r);if(c)h.className=c;for(let t of this.optionContent){let e=t(r,this.view.state,this.view,l);if(e)h.appendChild(e)}}if(s.from)i.classList.add("cm-completionListIncompleteTop");if(s.to<t.length)i.classList.add("cm-completionListIncompleteBottom");return i}destroyInfo(){if(this.info){if(this.infoDestroy)this.infoDestroy();this.info.remove();this.info=null}}destroy(){this.destroyInfo()}}function D(t,e){return s=>new E(s,t,e)}function N(t,e){let s=t.getBoundingClientRect();let i=e.getBoundingClientRect();let n=s.height/t.offsetHeight;if(i.top<s.top)t.scrollTop-=(s.top-i.top)/n;else if(i.bottom>s.bottom)t.scrollTop+=(i.bottom-s.bottom)/n}function L(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function B(t,e){let s=[];let i=null;let n=t=>{s.push(t);let{section:e}=t.completion;if(e){if(!i)i=[];let t=typeof e=="string"?e:e.name;if(!i.some((e=>e.name==t)))i.push(typeof e=="string"?{name:t}:e)}};let o=e.facet(T);for(let h of t)if(h.hasResult()){let t=h.result.getMatch;if(h.result.filter===false){for(let e of h.result.options){n(new m(e,h.source,t?t(e):[],1e9-s.length))}}else{let s=e.sliceDoc(h.from,h.to),i;let r=o.filterStrict?new P(s):new C(s);for(let e of h.result.options)if(i=r.match(e.label)){let s=!e.displayLabel?i.matched:t?t(e,i.matched):[];n(new m(e,h.source,s,i.score+(e.boost||0)))}}}if(i){let t=Object.create(null),e=0;let n=(t,e)=>{var s,i;return((s=t.rank)!==null&&s!==void 0?s:1e9)-((i=e.rank)!==null&&i!==void 0?i:1e9)||(t.name<e.name?-1:1)};for(let s of i.sort(n)){e-=1e5;t[s.name]=e}for(let i of s){let{section:e}=i.completion;if(e)i.score+=t[typeof e=="string"?e:e.name]}}let r=[],l=null;let a=o.compareCompletions;for(let h of s.sort(((t,e)=>e.score-t.score||a(t.completion,e.completion)))){let t=h.completion;if(!l||l.label!=t.label||l.detail!=t.detail||l.type!=null&&t.type!=null&&l.type!=t.type||l.apply!=t.apply||l.boost!=t.boost)r.push(h);else if(L(h.completion)>L(l))r[r.length-1]=h;l=h.completion}return r}class M{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 M(this.options,j(e,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,e,s,i,n){let o=B(t,e);if(!o.length){return i&&t.some((t=>t.state==1))?new M(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,true):null}let r=e.facet(T).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 M(o,j(s,r),{pos:t.reduce(((t,e)=>e.hasResult()?Math.min(t,e.from):t),1e8),create:X,above:n.aboveCursor},i?i.timestamp:Date.now(),r,false)}map(t){return new M(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class z{constructor(t,e,s){this.active=t;this.id=e;this.open=s}static start(){return new z(U,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:e}=t,s=e.facet(T);let i=s.override||e.languageDataAt("autocomplete",g(e)).map(w);let n=i.map((e=>{let i=this.active.find((t=>t.source==e))||new V(e,this.active.some((t=>t.state!=0))?1:0);return i.update(t,s)}));if(n.length==this.active.length&&n.every(((t,e)=>t==this.active[e])))n=this.active;let o=this.open;if(o&&t.docChanged)o=o.map(t.changes);if(t.selection||n.some((e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to)))||!F(n,this.active))o=M.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 V(t.source,0):t));for(let r of t.effects)if(r.is(K))o=o&&o.setSelected(r.value,this.id);return n==this.active&&o==this.open?this:new z(n,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:$}}function F(t,e){if(t==e)return true;for(let s=0,i=0;;){while(s<t.length&&!t[s].hasResult)s++;while(i<e.length&&!e[i].hasResult)i++;let n=s==t.length,o=i==e.length;if(n||o)return n==o;if(t[s++].result!=e[i++].result)return false}}const $={"aria-autocomplete":"list"};function j(t,e){let s={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};if(e>-1)s["aria-activedescendant"]=t+"-"+e;return s}const U=[];function W(t){return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}class V{constructor(t,e,s=-1){this.source=t;this.state=e;this.explicitPos=s}hasResult(){return false}update(t,e){let s=W(t),i=this;if(s)i=i.handleUserEvent(t,s,e);else if(t.docChanged)i=i.handleChange(t);else if(t.selection&&i.state!=0)i=new V(i.source,0);for(let n of t.effects){if(n.is(y))i=new V(i.source,1,n.value?g(t.state):-1);else if(n.is(S))i=new V(i.source,0);else if(n.is(G))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 V(this.source,1)}handleChange(t){return t.changes.touchesRange(g(t.startState))?new V(this.source,0):this.map(t.changes)}map(t){return t.empty||this.explicitPos<0?this:new V(this.source,this.state,t.mapPos(this.explicitPos))}}class q extends V{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=this.result;if(n.map&&!t.changes.empty)n=n.map(n,t.changes);let o=t.changes.mapPos(this.from),r=t.changes.mapPos(this.to,1);let l=g(t.state);if((this.explicitPos<0?l<=o:l<this.from)||l>r||!n||e=="delete"&&g(t.startState)==this.from)return new V(this.source,e=="input"&&s.activateOnTyping?1:0);let a=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos);if(H(n.validFor,t.state,o,r))return new q(this.source,a,n,o,r);if(n.update&&(n=n.update(n,o,r,new h(t.state,l,a>=0))))return new q(this.source,a,n,n.from,(i=n.to)!==null&&i!==void 0?i:g(t.state));return new V(this.source,1,a)}handleChange(t){return t.changes.touchesRange(this.from,this.to)?new V(this.source,0):this.map(t.changes)}map(t){if(t.empty)return this;let e=this.result.map?this.result.map(this.result,t):this.result;if(!e)return new V(this.source,0);return new q(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1))}}function H(t,e,s,i){if(!t)return false;let n=e.sliceDoc(s,i);return typeof t=="function"?t(n,s,i,e):k(t,true).test(n)}const G=i.StateEffect.define({map(t,e){return t.map((t=>t.map(e)))}});const K=i.StateEffect.define();const _=i.StateField.define({create(){return z.start()},update(t,e){return t.update(e)},provide:t=>[o.showTooltip.from(t,(t=>t.tooltip)),o.EditorView.contentAttributes.from(t,(t=>t.attrs))]});function Q(t,e){const s=e.completion.apply||e.completion.label;let i=t.state.field(_).active.find((t=>t.source==e.source));if(!(i instanceof q))return false;if(typeof s=="string")t.dispatch(Object.assign(Object.assign({},x(t.state,s,i.from,i.to)),{annotations:b.of(e.completion)}));else s(t,e.completion,i.from,i.to);return true}const X=D(_,Q);function J(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(T).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:K.of(a)});return true}}const Y=t=>{let e=t.state.field(_,false);if(t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(T).interactionDelay)return false;return Q(t,e.open.options[e.open.selected])};const Z=t=>{let e=t.state.field(_,false);if(!e)return false;t.dispatch({effects:y.of(true)});return true};const tt=t=>{let e=t.state.field(_,false);if(!e||!e.active.some((t=>t.state!=0)))return false;t.dispatch({effects:S.of(null)});return true};class et{constructor(t,e){this.active=t;this.context=e;this.time=Date.now();this.updates=[];this.done=undefined}}const st=50,it=1e3;const nt=o.ViewPlugin.fromClass(class{constructor(t){this.view=t;this.debounceUpdate=-1;this.running=[];this.debounceAccept=-1;this.pendingStart=false;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)&&!W(t)));for(let r=0;r<this.running.length;r++){let e=this.running[r];if(s||e.updates.length+t.transactions.length>st&&Date.now()-e.time>it){for(let t of e.context.abortListeners){try{t()}catch(n){(0,o.logException)(this.view.state,n)}}e.context.abortListeners=null;this.running.splice(r--,1)}else{e.updates.push(...t.transactions)}}if(this.debounceUpdate>-1)clearTimeout(this.debounceUpdate);if(t.transactions.some((t=>t.effects.some((t=>t.is(y))))))this.pendingStart=true;let i=this.pendingStart?50:t.state.facet(T).activateOnTypingDelay;this.debounceUpdate=e.active.some((t=>t.state==1&&!this.running.some((e=>e.active.source==t.source))))?setTimeout((()=>this.startUpdate()),i):-1;if(this.composing!=0)for(let o of t.transactions){if(W(o)=="input")this.composing=2;else if(this.composing==2&&o.selection)this.composing=3}}startUpdate(){this.debounceUpdate=-1;this.pendingStart=false;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=g(e);let i=new h(e,s,t.explicitPos==s);let n=new et(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:S.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()),this.view.state.facet(T).updateSyncTime)}accept(){var t;if(this.debounceAccept>-1)clearTimeout(this.debounceAccept);this.debounceAccept=-1;let e=[];let s=this.view.state.facet(T);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 q(n.active.source,n.active.explicitPos,n.done,n.done.from,(t=n.done.to)!==null&&t!==void 0?t:g(n.updates.length?n.updates[0].startState:this.view.state));for(let t of n.updates)i=i.update(t,s);if(i.hasResult()){e.push(i);continue}}let o=this.view.state.field(_).active.find((t=>t.source==n.active.source));if(o&&o.state==1){if(n.done==null){let t=new V(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:G.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(_,false);if(e&&e.tooltip&&this.view.state.facet(T).closeOnBlur){let s=e.open&&(0,o.getTooltip)(this.view,e.open.tooltip);if(!s||!s.dom.contains(t.relatedTarget))setTimeout((()=>this.view.dispatch({effects:S.of(null)})),10)}},compositionstart(){this.composing=1},compositionend(){if(this.composing==3){setTimeout((()=>this.view.dispatch({effects:y.of(false)})),20)}this.composing=0}}});const ot=typeof navigator=="object"&&/Win/.test(navigator.platform);const rt=i.Prec.highest(o.EditorView.domEventHandlers({keydown(t,e){let s=e.state.field(_,false);if(!s||!s.open||s.open.disabled||s.open.selected<0||t.key.length>1||t.ctrlKey&&!(ot&&t.altKey)||t.metaKey)return false;let i=s.open.options[s.open.selected];let n=s.active.find((t=>t.source==i.source));let o=i.completion.commitCharacters||n.result.commitCharacters;if(o&&o.indexOf(t.key)>-1)Q(e,i);return false}}));const lt=o.EditorView.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:`${400}px`,boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`${30}px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`${30}px`},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class at{constructor(t,e,s,i){this.field=t;this.line=e;this.from=s;this.to=i}}class ht{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 ht(this.field,e,s)}}class ct{constructor(t,e){this.lines=t;this.fieldPositions=e}instantiate(t,e){let s=[],i=[e];let n=t.doc.lineAt(e),o=/^\s*/.exec(n.text)[0];for(let a of this.lines){if(s.length){let s=o,n=/^\t*/.exec(a)[0].length;for(let e=0;e<n;e++)s+=t.facet(l.indentUnit);i.push(e+s.length-n);a=s+a.slice(n)}s.push(a);e+=a.length+1}let r=this.fieldPositions.map((t=>new ht(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 at(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 ct(s,i)}}let ft=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 ut=o.Decoration.mark({class:"cm-snippetField"});class pt{constructor(t,e){this.ranges=t;this.active=e;this.deco=o.Decoration.set(t.map((t=>(t.from==t.to?ft:ut).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 pt(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 dt=i.StateEffect.define({map(t,e){return t&&t.map(e)}});const mt=i.StateEffect.define();const gt=i.StateField.define({create(){return null},update(t,e){for(let s of e.effects){if(s.is(dt))return s.value;if(s.is(mt)&&t)return new pt(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 kt(t,e){return i.EditorSelection.create(t.filter((t=>t.field==e)).map((t=>i.EditorSelection.range(t.from,t.to))))}function bt(t){let e=ct.parse(t);return(t,s,n,o)=>{let{text:r,ranges:l}=e.instantiate(t.state,n);let a={changes:{from:n,to:o,insert:i.Text.of(r)},scrollIntoView:true,annotations:s?[b.of(s),i.Transaction.userEvent.of("input.complete")]:undefined};if(l.length)a.selection=kt(l,0);if(l.some((t=>t.field>0))){let e=new pt(l,0);let s=a.effects=[dt.of(e)];if(t.state.field(gt,false)===undefined)s.push(i.StateEffect.appendConfig.of([gt,At,Rt,lt]))}t.dispatch(t.state.update(a))}}function xt(t){return({state:e,dispatch:s})=>{let i=e.field(gt,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:kt(i.ranges,n),effects:dt.of(o?null:new pt(i.ranges,n)),scrollIntoView:true}));return true}}const vt=({state:t,dispatch:e})=>{let s=t.field(gt,false);if(!s)return false;e(t.update({effects:dt.of(null)}));return true};const wt=xt(1);const yt=xt(-1);function St(t){let e=t.field(gt,false);return!!(e&&e.ranges.some((t=>t.field==e.active+1)))}function Ct(t){let e=t.field(gt,false);return!!(e&&e.active>0)}const Pt=[{key:"Tab",run:wt,shift:yt},{key:"Escape",run:vt}];const Tt=i.Facet.define({combine(t){return t.length?t[0]:Pt}});const At=i.Prec.highest(o.keymap.compute([Tt],(t=>t.facet(Tt))));function It(t,e){return Object.assign(Object.assign({},e),{apply:bt(t)})}const Rt=o.EditorView.domEventHandlers({mousedown(t,e){let s=e.state.field(gt,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:kt(s.ranges,n.field),effects:dt.of(s.ranges.some((t=>t.field>n.field))?new pt(s.ranges,n.field):null),scrollIntoView:true});return true}});function Ot(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 Et(t,e){return new RegExp(e(t.source),t.unicode?"u":"")}const Dt=null&&Object.create(null);function Nt(t){return Dt[t]||(Dt[t]=new WeakMap)}function Lt(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 Bt(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 Bt(r,e,s,i-o,n-o)){if(!a[t.label]){a[t.label]=true;l.push(t)}}}else{Lt(r,s,l,a,n-o)}o+=r.length+1}}else{Lt(t,s,l,a,n)}if(o&&l.length<2e3)e.set(t,l);return l}const Mt=t=>{let e=t.state.languageDataAt("wordChars",t.pos).join("");let s=Ot(e);let i=t.matchBefore(Et(s,(t=>t+"$")));if(!i&&!t.explicit)return null;let n=i?i.from:t.pos;let o=Bt(t.state.doc,Nt(e),s,5e4,n);return{from:n,options:o,validFor:Et(s,(t=>"^"+t))}};const zt={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]};const Ft=i.StateEffect.define({map(t,e){let s=e.mapPos(t,-1,i.MapMode.TrackAfter);return s==null?undefined:s}});const $t=new class extends i.RangeValue{};$t.startSide=1;$t.endSide=-1;const jt=i.StateField.define({create(){return i.RangeSet.empty},update(t,e){t=t.map(e.changes);if(e.selection){let s=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:t=>t>=s.from&&t<=s.to})}for(let s of e.effects)if(s.is(Ft))t=t.update({add:[$t.range(s.value,s.value+1)]});return t}});function Ut(){return[Gt,jt]}const Wt="()[]{}<>";function Vt(t){for(let e=0;e<Wt.length;e+=2)if(Wt.charCodeAt(e)==t)return Wt.charAt(e+1);return(0,i.fromCodePoint)(t<128?t:t+1)}function qt(t,e){return t.languageDataAt("closeBrackets",e)[0]||zt}const Ht=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent);const Gt=o.EditorView.inputHandler.of(((t,e,s,n)=>{if((Ht?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 Kt=({state:t,dispatch:e})=>{if(t.readOnly)return false;let s=qt(t,t.selection.main.head);let n=s.brackets||zt.brackets;let o=null,r=t.changeByRange((e=>{if(e.empty){let s=Yt(t.doc,e.head);for(let o of n){if(o==s&&Jt(t.doc,e.head)==Vt((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 _t=[{key:"Backspace",run:Kt}];function Qt(t,e){let s=qt(t,t.selection.main.head);let n=s.brackets||zt.brackets;for(let o of n){let r=Vt((0,i.codePointAt)(o,0));if(e==o)return r==o?ee(t,o,n.indexOf(o+o+o)>-1,s):Zt(t,o,r,s.before||zt.before);if(e==r&&Xt(t,t.selection.main.from))return te(t,o,r)}return null}function Xt(t,e){let s=false;t.field(jt).between(0,t.doc.length,(t=>{if(t==e)s=true}));return s}function Jt(t,e){let s=t.sliceString(e,e+2);return s.slice(0,(0,i.codePointSize)((0,i.codePointAt)(s,0)))}function Yt(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 Zt(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:Ft.of(r.to+e.length),range:i.EditorSelection.range(r.anchor+e.length,r.head+e.length)};let l=Jt(t.doc,r.head);if(!l||/\s/.test(l)||n.indexOf(l)>-1)return{changes:{insert:e+s,from:r.head},effects:Ft.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 te(t,e,s){let n=null,o=t.changeByRange((e=>{if(e.empty&&Jt(t.doc,e.head)==s)return{changes:{from:e.head,to:e.head+s.length,insert:s},range:i.EditorSelection.cursor(e.head+s.length)};return n={range:e}}));return n?null:t.update(o,{scrollIntoView:true,userEvent:"input.type"})}function ee(t,e,s,n){let o=n.stringPrefixes||zt.stringPrefixes;let r=null,l=t.changeByRange((n=>{if(!n.empty)return{changes:[{insert:e,from:n.from},{insert:e,from:n.to}],effects:Ft.of(n.to+e.length),range:i.EditorSelection.range(n.anchor+e.length,n.head+e.length)};let l=n.head,a=Jt(t.doc,l),h;if(a==e){if(se(t,l)){return{changes:{insert:e+e,from:l},effects:Ft.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(Xt(t,l)){let n=s&&t.sliceDoc(l,l+e.length*3)==e+e+e;let o=n?e+e+e:e;return{changes:{from:l,to:l+o.length,insert:o},range:i.EditorSelection.cursor(l+o.length)}}}else if(s&&t.sliceDoc(l-2*e.length,l)==e+e&&(h=ne(t,l-2*e.length,o))>-1&&se(t,h)){return{changes:{insert:e+e+e+e,from:l},effects:Ft.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(t.charCategorizer(l)(a)!=i.CharCategory.Word){if(ne(t,l,o)>-1&&!ie(t,l,e,o))return{changes:{insert:e+e,from:l},effects:Ft.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 se(t,e){let s=(0,l.syntaxTree)(t).resolveInner(e+1);return s.parent&&s.from==e}function ie(t,e,s,i){let n=(0,l.syntaxTree)(t).resolveInner(e,-1);let o=i.reduce(((t,e)=>Math.max(t,e.length)),0);for(let r=0;r<5;r++){let r=t.sliceDoc(n.from,Math.min(n.to,n.from+s.length+o));let l=r.indexOf(s);if(!l||l>-1&&i.indexOf(r.slice(0,l))>-1){let e=n.firstChild;while(e&&e.from==n.from&&e.to-e.from>s.length+l){if(t.sliceDoc(e.to-s.length,e.to)==s)return false;e=e.firstChild}return true}let a=n.to==e&&n.parent;if(!a)break;n=a}return false}function ne(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 oe(t={}){return[rt,_,T.of(t),nt,le,lt]}const re=[{key:"Ctrl-Space",run:Z},{key:"Escape",run:tt},{key:"ArrowDown",run:J(true)},{key:"ArrowUp",run:J(false)},{key:"PageDown",run:J(true,"page")},{key:"PageUp",run:J(false,"page")},{key:"Enter",run:Y}];const le=i.Prec.highest(o.keymap.computeN([T],(t=>t.facet(T).defaultKeymap?[re]:[])));function ae(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 he=new WeakMap;function ce(t){var e;let s=(e=t.field(_,false))===null||e===void 0?void 0:e.open;if(!s||s.disabled)return[];let i=he.get(s.options);if(!i)he.set(s.options,i=s.options.map((t=>t.completion)));return i}function fe(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 ue(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 pe(t){return K.of(t)}},11705:(t,e,s)=>{"use strict";s.d(e,{IK:()=>R,Jq:()=>g,RA:()=>m,WQ:()=>O});var i=s(73265);var n=s.n(i);var o=s(34155);class r{constructor(t,e,s,i,n,o,r,l,a,h=0,c){this.p=t;this.stack=e;this.state=s;this.reducePos=i;this.pos=n;this.score=o;this.buffer=r;this.bufferBase=l;this.curContext=a;this.lookAhead=h;this.parent=c}toString(){return`[${this.stack.filter(((t,e)=>e%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,e,s=0){let i=t.parser.context;return new r(t,[],e,s,s,0,[],0,i?new l(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffer.length);this.state=t}reduce(t){var e;let s=t>>19,i=t&65535;let{parser:n}=this.p;let o=n.dynamicPrecedence(i);if(o)this.score+=o;if(s==0){this.pushState(n.getGoto(this.state,i,true),this.reducePos);if(i<n.minRepeatTerm)this.storeNode(i,this.reducePos,this.reducePos,4,true);this.reduceContext(i,this.reducePos);return}let r=this.stack.length-(s-1)*3-(t&262144?6:0);let l=r?this.stack[r-2]:this.p.ranges[0].from,a=this.reducePos-l;if(a>=2e3&&!((e=this.p.parser.nodeSet.types[i])===null||e===void 0?void 0:e.isAnonymous)){if(l==this.p.lastBigReductionStart){this.p.bigReductionCount++;this.p.lastBigReductionSize=a}else if(this.p.lastBigReductionSize<a){this.p.bigReductionCount=1;this.p.lastBigReductionStart=l;this.p.lastBigReductionSize=a}}let h=r?this.stack[r-1]:0,c=this.bufferBase+this.buffer.length-h;if(i<n.minRepeatTerm||t&131072){let t=n.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,t,c+4,true)}if(t&262144){this.state=this.stack[r]}else{let t=this.stack[r-3];this.state=n.getGoto(t,i,true)}while(this.stack.length>r)this.stack.pop();this.reduceContext(i,l)}storeNode(t,e,s,i=4,n=false){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let t=this,i=this.buffer.length;if(i==0&&t.parent){i=t.bufferBase-t.parent.bufferBase;t=t.parent}if(i>0&&t.buffer[i-4]==0&&t.buffer[i-1]>-1){if(e==s)return;if(t.buffer[i-2]>=e){t.buffer[i-2]=s;return}}}if(!n||this.pos==s){this.buffer.push(t,e,s,i)}else{let n=this.buffer.length;if(n>0&&this.buffer[n-4]!=0)while(n>0&&this.buffer[n-2]>s){this.buffer[n]=this.buffer[n-4];this.buffer[n+1]=this.buffer[n-3];this.buffer[n+2]=this.buffer[n-2];this.buffer[n+3]=this.buffer[n-1];n-=4;if(i>4)i-=4}this.buffer[n]=t;this.buffer[n+1]=e;this.buffer[n+2]=s;this.buffer[n+3]=i}}shift(t,e,s,i){if(t&131072){this.pushState(t&65535,this.pos)}else if((t&262144)==0){let n=t,{parser:o}=this.p;if(i>this.pos||e<=o.maxNode){this.pos=i;if(!o.stateFlag(n,1))this.reducePos=i}this.pushState(n,s);this.shiftContext(e,s);if(e<=o.maxNode)this.buffer.push(e,s,i,4)}else{this.pos=i;this.shiftContext(e,s);if(e<=this.p.parser.maxNode)this.buffer.push(e,s,i,4)}}apply(t,e,s,i){if(t&65536)this.reduce(t);else this.shift(t,e,s,i)}useNode(t,e){let s=this.p.reused.length-1;if(s<0||this.p.reused[s]!=t){this.p.reused.push(t);s++}let i=this.pos;this.reducePos=this.pos=i+t.length;this.pushState(e,i);this.buffer.push(s,i,this.reducePos,-1);if(this.curContext)this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this;let e=t.buffer.length;while(e>0&&t.buffer[e-2]>t.reducePos)e-=4;let s=t.buffer.slice(e),i=t.bufferBase+e;while(t&&i==t.bufferBase)t=t.parent;return new r(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,s,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,e){let s=t<=this.p.parser.maxNode;if(s)this.storeNode(t,this.pos,e,4);this.storeNode(0,this.pos,e,s?8:4);this.pos=this.reducePos=e;this.score-=190}canShift(t){for(let e=new 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.reducePos=this.pos;n.score-=200;s.push(n)}return s}forceReduce(){let{parser:t}=this.p;let e=t.stateSlot(this.state,5);if((e&65536)==0)return false;if(!t.validAction(this.state,e)){let s=e>>19,i=e&65535;let n=this.stack.length-s*3;if(n<0||t.getGoto(this.stack[n],i,false)<0){let t=this.findForcedReduction();if(t==null)return false;e=t}this.storeNode(0,this.pos,this.pos,4,true);this.score-=100}this.reducePos=this.pos;this.reduce(e);return true}findForcedReduction(){let{parser:t}=this.p,e=[];let s=(i,n)=>{if(e.includes(i))return;e.push(i);return t.allActions(i,(e=>{if(e&(262144|131072));else if(e&65536){let s=(e>>19)-n;if(s>1){let i=e&65535,n=this.stack.length-s*3;if(n>=0&&t.getGoto(this.stack[n],i,false)>=0)return s<<19|65536|i}}else{let t=s(e,n+1);if(t!=null)return t}}))};return s(this.state,0)}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.storeNode(0,this.pos,this.pos,4,true);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.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;if(t<0||this.buffer[t]!=-4)this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let e=new l(this.curContext.tracker,t);if(e.hash!=this.curContext.hash)this.emitContext();this.curContext=e}}setLookAhead(t){if(t>this.lookAhead){this.emitLookAhead();this.lookAhead=t}}close(){if(this.curContext&&this.curContext.tracker.strict)this.emitContext();if(this.lookAhead>0)this.emitLookAhead()}}class l{constructor(t,e){this.tracker=t;this.context=e;this.hash=t.strict?t.hash(e):0}}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}acceptTokenTo(t,e){this.token.value=t;this.token.end=e}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=0;for(;;){let s=t.next<0,n=t.resolveOffset(1,1);k(this.data,t,e,0,this.data,this.precTable);if(t.token.value>-1)break;if(this.elseToken==null)return;if(!s)i++;if(n==null)break;t.reset(n,t.token)}if(i){t.reset(s,t.token);t.acceptToken(this.elseToken,i)}}}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||x(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){r=t[s+c*3-1];continue t}for(;h<c;){let n=h+c>>1;let o=s+n+(n<<1);let l=t[o],a=t[o+1]||65536;if(i<l)c=n;else if(i>=a)h=n+1;else{r=t[o+2];e.advance();continue t}}break}}function b(t,e,s){for(let i=e,n;(n=t[i])!=65535;i++)if(n==s)return i-e;return-1}function x(t,e,s,i){let n=b(s,i,e);return n<0||b(s,i,t)<n}const v=typeof o!="undefined"&&o.env&&/\bparse\b/.test(o.env.LOG);let w=null;function y(t,e,s){let n=t.cursor(i.IterMode.IncludeAnonymous);n.moveTo(e);for(;;){if(!(s<0?n.childBefore(e):n.childAfter(e)))for(;;){if((s<0?n.to<e:n.from>e)&&!n.type.isError)return s<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(s<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return s<0?0:t.length}}}class S{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?y(t.tree,t.from+t.offset,1)-t.offset:t.from;this.safeTo=t.openEnd?y(t.tree,t.to+t.offset,-1)-t.offset:t.to;while(this.trees.length){this.trees.pop();this.start.pop();this.index.pop()}this.trees.push(t.tree);this.start.push(-t.offset);this.index.push(0);this.nextStart=this.safeFrom}else{this.nextStart=1e9}}nodeAt(t){if(t<this.nextStart)return null;while(this.fragment&&this.safeTo<=t)this.nextFragment();if(!this.fragment)return null;for(;;){let e=this.trees.length-1;if(e<0){this.nextFragment();return null}let s=this.trees[e],n=this.index[e];if(n==s.children.length){this.trees.pop();this.start.pop();this.index.pop();continue}let o=s.children[n];let r=this.start[e]+s.positions[n];if(r>t){this.nextStart=r;return null}if(o instanceof i.Tree){if(r==t){if(r<this.safeFrom)return null;let t=r+o.length;if(t<=this.safeTo){let e=o.prop(i.NodeProp.lookAhead);if(!e||t+e<this.fragment.to)return o}}this.index[e]++;if(r+o.length>=Math.max(this.safeFrom,t)){this.trees.push(o);this.start.push(r);this.index.push(0)}}else{this.index[e]++;this.nextStart=r+o.length}}}}class C{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=E(r,t+2)}else{if(i==0&&r[t+1]==2)i=this.putAction(E(r,t+2),e,s,i);break}}if(r[t]==e)i=this.putAction(E(r,t+1),e,s,i)}}return i}}class P{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 C(t,this.stream);this.topTerm=t.top[1];let{from:n}=i[0];this.stacks=[r.start(this,t.top[0],n)];this.fragments=s.length&&this.stream.end-n>t.bufferLength*4?new S(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&&D(i);if(t){if(v)console.log("Finish with "+this.stackID(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){if(v)console.log("Force-finish "+this.stackID(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.NodeProp.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.Tree)||l.children.length==0||l.positions[0]>0)break;let a=l.children[0];if(a instanceof i.Tree&&l.positions[0]==0)l=a;else break}}let l=o.stateSlot(t.state,4);if(l>0){t.reduce(l);if(v)console.log(r+this.stackID(t)+` (via always-reduce ${o.getName(l&65535)})`);return true}if(t.stack.length>=8400){while(t.stack.length>6e3&&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();let p=this.tokens.mainToken;u.apply(l,h,p?p.start:u.pos,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){T(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)})`);T(r,s)}else if(!i||i.score<r.score){i=r}}return i}stackToTree(t){t.close();return i.Tree.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 T(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 A{constructor(t,e,s){this.source=t;this.flags=e;this.disabled=s}allows(t){return!this.disabled||this.disabled[t]==0}}const I=t=>t;class R{constructor(t){this.start=t.start;this.shift=t.shift||I;this.reduce=t.reduce||I;this.reuse=t.reuse||I;this.hash=t.hash||(()=>0);this.strict=t.strict!==false}}class O extends i.Parser{constructor(t){super();this.wrappers=[];if(t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (${14})`);let e=t.nodeNames.split(" ");this.minRepeatTerm=e.length;for(let i=0;i<t.repeatNodeCount;i++)e.push("");let s=Object.keys(t.topRules).map((e=>t.topRules[e][1]));let n=[];for(let i=0;i<e.length;i++)n.push([]);function o(t,e,s){n[t].push([e,e.deserialize(String(s))])}if(t.nodeProps)for(let l of t.nodeProps){let t=l[0];if(typeof t=="string")t=i.NodeProp[t];for(let e=1;e<l.length;){let s=l[e++];if(s>=0){o(s,t,l[e++])}else{let i=l[e+-s];for(let n=-s;n>0;n--)o(l[e++],t,i);e++}}}this.nodeSet=new i.NodeSet(e.map(((e,o)=>i.NodeType.define({name:o>=this.minRepeatTerm?undefined:e,id:o,props:n[o],top:s.indexOf(o)>-1,error:o==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(o)>-1}))));if(t.propSources)this.nodeSet=this.nodeSet.extend(...t.propSources);this.strict=false;this.bufferLength=i.DefaultBufferLength;let r=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(N);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 P(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=E(s,n+2)];else if(s[n+1]==2)return E(s,n+2);else break}if(o==e||o==0)return E(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){return!!this.allActions(t,(t=>t==e?true:null))}allActions(t,e){let s=this.stateSlot(t,4);let i=s?e(s):undefined;for(let n=this.stateSlot(t,1);i==null;n+=3){if(this.data[n]==65535){if(this.data[n+1]==1)n=E(this.data,n+2);else break}i=e(E(this.data,n+1))}return i}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=E(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]=N(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 A(t,s,i)}static deserialize(t){return new O(t)}}function E(t,e){return t[e]|t[e+1]<<16}function D(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 N(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}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4043],{14043:(e,t,s)=>{s.r(t);s.d(t,{StyleModule:()=>r});const l="ͼ";const i=typeof Symbol=="undefined"?"__"+l:Symbol.for(l);const n=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet");const o=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{};class r{constructor(e,t){this.rules=[];let{finish:s}=t||{};function l(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,n,o){let r=[],h=/^@(\w+)\b/.exec(e[0]),u=h&&h[1]=="keyframes";if(h&&t==null)return n.push(e[0]+";");for(let s in t){let o=t[s];if(/&/.test(s)){i(s.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),o,n)}else if(o&&typeof o=="object"){if(!h)throw new RangeError("The value of a property ("+s+") should be a primitive value.");i(l(s),o,r,u)}else if(o!=null){r.push(s.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+o+";")}}if(r.length||u){n.push((s&&!h&&!o?e.map(s):e).join(", ")+" {"+r.join(" ")+"}")}}for(let n in e)i(l(n),e[n],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=o[i]||1;o[i]=e+1;return l+e.toString(36)}static mount(e,t,s){let l=e[n],i=s&&s.nonce;if(!l)l=new u(e,i);else if(i)l.setNonce(i);l.mount(Array.isArray(t)?t:[t],e)}}let h=new Map;class u{constructor(e,t){let s=e.ownerDocument||e,l=s.defaultView;if(!e.head&&e.adoptedStyleSheets&&l.CSSStyleSheet){let t=h.get(s);if(t)return e[n]=t;this.sheet=new l.CSSStyleSheet;h.set(s,this)}else{this.styleTag=s.createElement("style");if(t)this.styleTag.setAttribute("nonce",t)}this.modules=[];e[n]=this}mount(e,t){let s=this.sheet;let l=0,i=0;for(let n=0;n<e.length;n++){let t=e[n],o=this.modules.indexOf(t);if(o<i&&o>-1){this.modules.splice(o,1);i--;o=-1}if(o==-1){this.modules.splice(i++,0,t);if(s)for(let e=0;e<t.rules.length;e++)s.insertRule(t.rules[e],l++)}else{while(i<o)l+=this.modules[i++].rules.length;l+=t.rules.length;i++}}if(s){if(t.adoptedStyleSheets.indexOf(this.sheet)<0)t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]}else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let s=t.head||t;if(this.styleTag.parentNode!=s)s.insertBefore(this.styleTag,s.firstChild)}}setNonce(e){if(this.styleTag&&this.styleTag.getAttribute("nonce")!=e)this.styleTag.setAttribute("nonce",e)}}}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[406],{20406:(t,e,r)=>{r.r(e);r.d(e,{diagram:()=>lt});var n=r(23787);var i=r(30573);var a=r(34596);var s=r(96001);const o=[];for(let ht=0;ht<256;++ht){o.push((ht+256).toString(16).slice(1))}function c(t,e=0){return(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase()}function l(t,e=0){const r=c(t,e);if(!validate(r)){throw TypeError("Stringified UUID is invalid")}return r}const h=null&&l;const d=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function u(t){return typeof t==="string"&&d.test(t)}const y=u;function f(t){if(!y(t)){throw TypeError("Invalid UUID")}let e;const r=new Uint8Array(16);r[0]=(e=parseInt(t.slice(0,8),16))>>>24;r[1]=e>>>16&255;r[2]=e>>>8&255;r[3]=e&255;r[4]=(e=parseInt(t.slice(9,13),16))>>>8;r[5]=e&255;r[6]=(e=parseInt(t.slice(14,18),16))>>>8;r[7]=e&255;r[8]=(e=parseInt(t.slice(19,23),16))>>>8;r[9]=e&255;r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255;r[11]=e/4294967296&255;r[12]=e>>>24&255;r[13]=e>>>16&255;r[14]=e>>>8&255;r[15]=e&255;return r}const p=f;function _(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r<t.length;++r){e.push(t.charCodeAt(r))}return e}const E="6ba7b810-9dad-11d1-80b4-00c04fd430c8";const m="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function g(t,e,r){function n(t,n,i,a){var s;if(typeof t==="string"){t=_(t)}if(typeof n==="string"){n=p(n)}if(((s=n)===null||s===void 0?void 0:s.length)!==16){throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)")}let o=new Uint8Array(16+t.length);o.set(n);o.set(t,n.length);o=r(o);o[6]=o[6]&15|e;o[8]=o[8]&63|128;if(i){a=a||0;for(let t=0;t<16;++t){i[a+t]=o[t]}return i}return c(o)}try{n.name=t}catch(i){}n.DNS=E;n.URL=m;return n}function b(t,e,r,n){switch(t){case 0:return e&r^~e&n;case 1:return e^r^n;case 2:return e&r^e&n^r&n;case 3:return e^r^n}}function k(t,e){return t<<e|t>>>32-e}function O(t){const e=[1518500249,1859775393,2400959708,3395469782];const r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t==="string"){const e=unescape(encodeURIComponent(t));t=[];for(let r=0;r<e.length;++r){t.push(e.charCodeAt(r))}}else if(!Array.isArray(t)){t=Array.prototype.slice.call(t)}t.push(128);const n=t.length/4+2;const i=Math.ceil(n/16);const a=new Array(i);for(let s=0;s<i;++s){const e=new Uint32Array(16);for(let r=0;r<16;++r){e[r]=t[s*64+r*4]<<24|t[s*64+r*4+1]<<16|t[s*64+r*4+2]<<8|t[s*64+r*4+3]}a[s]=e}a[i-1][14]=(t.length-1)*8/Math.pow(2,32);a[i-1][14]=Math.floor(a[i-1][14]);a[i-1][15]=(t.length-1)*8&4294967295;for(let s=0;s<i;++s){const t=new Uint32Array(80);for(let e=0;e<16;++e){t[e]=a[s][e]}for(let e=16;e<80;++e){t[e]=k(t[e-3]^t[e-8]^t[e-14]^t[e-16],1)}let n=r[0];let i=r[1];let o=r[2];let c=r[3];let l=r[4];for(let r=0;r<80;++r){const a=Math.floor(r/20);const s=k(n,5)+b(a,i,o,c)+l+e[a]+t[r]>>>0;l=c;c=o;o=k(i,30)>>>0;i=n;n=s}r[0]=r[0]+n>>>0;r[1]=r[1]+i>>>0;r[2]=r[2]+o>>>0;r[3]=r[3]+c>>>0;r[4]=r[4]+l>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const R=O;const N=g("v5",80,R);const T=N;var x=r(27484);var A=r(17967);var M=r(27856);var v=function(){var t=function(t,e,r,n){for(r=r||{},n=t.length;n--;r[t[n]]=e);return r},e=[6,8,10,20,22,24,26,27,28],r=[1,10],n=[1,11],i=[1,12],a=[1,13],s=[1,14],o=[1,15],c=[1,21],l=[1,22],h=[1,23],d=[1,24],u=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],f=[1,34],p=[27,28,46,47],_=[41,42,43,44,45],E=[17,34],m=[1,54],g=[1,53],b=[17,34,36,38];var k={trace:function t(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function t(e,r,n,i,a,s,o){var c=s.length-1;switch(a){case 1:break;case 2:this.$=[];break;case 3:s[c-1].push(s[c]);this.$=s[c-1];break;case 4:case 5:this.$=s[c];break;case 6:case 7:this.$=[];break;case 8:i.addEntity(s[c-4]);i.addEntity(s[c-2]);i.addRelationship(s[c-4],s[c],s[c-2],s[c-3]);break;case 9:i.addEntity(s[c-3]);i.addAttributes(s[c-3],s[c-1]);break;case 10:i.addEntity(s[c-2]);break;case 11:i.addEntity(s[c]);break;case 12:i.addEntity(s[c-6],s[c-4]);i.addAttributes(s[c-6],s[c-1]);break;case 13:i.addEntity(s[c-5],s[c-3]);break;case 14:i.addEntity(s[c-3],s[c-1]);break;case 15:case 16:this.$=s[c].trim();i.setAccTitle(this.$);break;case 17:case 18:this.$=s[c].trim();i.setAccDescription(this.$);break;case 19:case 43:this.$=s[c];break;case 20:case 41:case 42:this.$=s[c].replace(/"/g,"");break;case 21:case 29:this.$=[s[c]];break;case 22:s[c].push(s[c-1]);this.$=s[c];break;case 23:this.$={attributeType:s[c-1],attributeName:s[c]};break;case 24:this.$={attributeType:s[c-2],attributeName:s[c-1],attributeKeyTypeList:s[c]};break;case 25:this.$={attributeType:s[c-2],attributeName:s[c-1],attributeComment:s[c]};break;case 26:this.$={attributeType:s[c-3],attributeName:s[c-2],attributeKeyTypeList:s[c-1],attributeComment:s[c]};break;case 27:case 28:case 31:this.$=s[c];break;case 30:s[c-2].push(s[c]);this.$=s[c-2];break;case 32:this.$=s[c].replace(/"/g,"");break;case 33:this.$={cardA:s[c],relType:s[c-1],cardB:s[c-2]};break;case 34:this.$=i.Cardinality.ZERO_OR_ONE;break;case 35:this.$=i.Cardinality.ZERO_OR_MORE;break;case 36:this.$=i.Cardinality.ONE_OR_MORE;break;case 37:this.$=i.Cardinality.ONLY_ONE;break;case 38:this.$=i.Cardinality.MD_PARENT;break;case 39:this.$=i.Identification.NON_IDENTIFYING;break;case 40:this.$=i.Identification.IDENTIFYING;break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:n,24:i,26:a,27:s,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:n,24:i,26:a,27:s,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:c,42:l,43:h,44:d,45:u}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(y,[2,19]),t(y,[2,20]),t(e,[2,4]),{11:29,27:s,28:o},{16:30,17:[1,31],29:32,30:33,34:f},{11:35,27:s,28:o},{40:36,46:[1,37],47:[1,38]},t(p,[2,34]),t(p,[2,35]),t(p,[2,36]),t(p,[2,37]),t(p,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:f},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:c,42:l,43:h,44:d,45:u},t(_,[2,39]),t(_,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(E,[2,23],{32:50,33:51,35:52,37:m,38:g}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(E,[2,24],{33:56,36:[1,57],38:g}),t(E,[2,25]),t(b,[2,29]),t(E,[2,32]),t(b,[2,31]),{16:58,17:[1,59],29:32,30:33,34:f},t(E,[2,26]),{35:60,37:m},{17:[1,61]},t(e,[2,13]),t(b,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function t(e,r){if(r.recoverable){this.trace(e)}else{var n=new Error(e);n.hash=r;throw n}},parse:function t(e){var r=this,n=[0],i=[],a=[null],s=[],o=this.table,c="",l=0,h=0,d=2,u=1;var y=s.slice.call(arguments,1);var f=Object.create(this.lexer);var p={yy:{}};for(var _ in this.yy){if(Object.prototype.hasOwnProperty.call(this.yy,_)){p.yy[_]=this.yy[_]}}f.setInput(e,p.yy);p.yy.lexer=f;p.yy.parser=this;if(typeof f.yylloc=="undefined"){f.yylloc={}}var E=f.yylloc;s.push(E);var m=f.options&&f.options.ranges;if(typeof p.yy.parseError==="function"){this.parseError=p.yy.parseError}else{this.parseError=Object.getPrototypeOf(this).parseError}function g(){var t;t=i.pop()||f.lex()||u;if(typeof t!=="number"){if(t instanceof Array){i=t;t=i.pop()}t=r.symbols_[t]||t}return t}var b,k,O,R,N={},T,x,A,M;while(true){k=n[n.length-1];if(this.defaultActions[k]){O=this.defaultActions[k]}else{if(b===null||typeof b=="undefined"){b=g()}O=o[k]&&o[k][b]}if(typeof O==="undefined"||!O.length||!O[0]){var v="";M=[];for(T in o[k]){if(this.terminals_[T]&&T>d){M.push("'"+this.terminals_[T]+"'")}}if(f.showPosition){v="Parse error on line "+(l+1)+":\n"+f.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[b]||b)+"'"}else{v="Parse error on line "+(l+1)+": Unexpected "+(b==u?"end of input":"'"+(this.terminals_[b]||b)+"'")}this.parseError(v,{text:f.match,token:this.terminals_[b]||b,line:f.yylineno,loc:E,expected:M})}if(O[0]instanceof Array&&O.length>1){throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+b)}switch(O[0]){case 1:n.push(b);a.push(f.yytext);s.push(f.yylloc);n.push(O[1]);b=null;{h=f.yyleng;c=f.yytext;l=f.yylineno;E=f.yylloc}break;case 2:x=this.productions_[O[1]][1];N.$=a[a.length-x];N._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column};if(m){N._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]}R=this.performAction.apply(N,[c,h,l,p.yy,O[1],a,s].concat(y));if(typeof R!=="undefined"){return R}if(x){n=n.slice(0,-1*x*2);a=a.slice(0,-1*x);s=s.slice(0,-1*x)}n.push(this.productions_[O[1]][0]);a.push(N.$);s.push(N._$);A=o[n[n.length-2]][n[n.length-1]];n.push(A);break;case 3:return true}}return true}};var O=function(){var t={EOF:1,parseError:function t(e,r){if(this.yy.parser){this.yy.parser.parseError(e,r)}else{throw new Error(e)}},setInput:function(t,e){this.yy=e||this.yy||{};this._input=t;this._more=this._backtrack=this.done=false;this.yylineno=this.yyleng=0;this.yytext=this.matched=this.match="";this.conditionStack=["INITIAL"];this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0};if(this.options.ranges){this.yylloc.range=[0,0]}this.offset=0;return this},input:function(){var t=this._input[0];this.yytext+=t;this.yyleng++;this.offset++;this.match+=t;this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);if(e){this.yylineno++;this.yylloc.last_line++}else{this.yylloc.last_column++}if(this.options.ranges){this.yylloc.range[1]++}this._input=this._input.slice(1);return t},unput:function(t){var e=t.length;var r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input;this.yytext=this.yytext.substr(0,this.yytext.length-e);this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1);this.matched=this.matched.substr(0,this.matched.length-1);if(r.length-1){this.yylineno-=r.length-1}var i=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-e};if(this.options.ranges){this.yylloc.range=[i[0],i[0]+this.yyleng-e]}this.yyleng=this.yytext.length;return this},more:function(){this._more=true;return this},reject:function(){if(this.options.backtrack_lexer){this._backtrack=true}else{return this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}return this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;if(t.length<20){t+=this._input.substr(0,20-t.length)}return(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput();var e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,n,i;if(this.options.backtrack_lexer){i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done};if(this.options.ranges){i.yylloc.range=this.yylloc.range.slice(0)}}n=t[0].match(/(?:\r\n?|\n).*/g);if(n){this.yylineno+=n.length}this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length};this.yytext+=t[0];this.match+=t[0];this.matches=t;this.yyleng=this.yytext.length;if(this.options.ranges){this.yylloc.range=[this.offset,this.offset+=this.yyleng]}this._more=false;this._backtrack=false;this._input=this._input.slice(t[0].length);this.matched+=t[0];r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]);if(this.done&&this._input){this.done=false}if(r){return r}else if(this._backtrack){for(var a in i){this[a]=i[a]}return false}return false},next:function(){if(this.done){return this.EOF}if(!this._input){this.done=true}var t,e,r,n;if(!this._more){this.yytext="";this.match=""}var i=this._currentRules();for(var a=0;a<i.length;a++){r=this._input.match(this.rules[i[a]]);if(r&&(!e||r[0].length>e[0].length)){e=r;n=a;if(this.options.backtrack_lexer){t=this.test_match(r,i[a]);if(t!==false){return t}else if(this._backtrack){e=false;continue}else{return false}}else if(!this.options.flex){break}}}if(e){t=this.test_match(e,i[n]);if(t!==false){return t}return false}if(this._input===""){return this.EOF}else{return this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}},lex:function t(){var e=this.next();if(e){return e}else{return this.lex()}},begin:function t(e){this.conditionStack.push(e)},popState:function t(){var e=this.conditionStack.length-1;if(e>0){return this.conditionStack.pop()}else{return this.conditionStack[0]}},_currentRules:function t(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules}else{return this.conditions["INITIAL"].rules}},topState:function t(e){e=this.conditionStack.length-1-Math.abs(e||0);if(e>=0){return this.conditionStack[e]}else{return"INITIAL"}},pushState:function t(e){this.begin(e)},stateStackSize:function t(){return this.conditionStack.length},options:{"case-insensitive":true},performAction:function t(e,r,n,i){switch(n){case 0:this.begin("acc_title");return 22;case 1:this.popState();return"acc_title_value";case 2:this.begin("acc_descr");return 24;case 3:this.popState();return"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:this.begin("block");return 15;case 14:return 36;case 15:break;case 16:return 37;case 17:return 34;case 18:return 34;case 19:return 38;case 20:break;case 21:this.popState();return 17;case 22:return r.yytext[0];case 23:return 18;case 24:return 19;case 25:return 41;case 26:return 43;case 27:return 43;case 28:return 43;case 29:return 41;case 30:return 41;case 31:return 42;case 32:return 42;case 33:return 42;case 34:return 42;case 35:return 42;case 36:return 43;case 37:return 42;case 38:return 43;case 39:return 44;case 40:return 44;case 41:return 44;case 42:return 44;case 43:return 41;case 44:return 42;case 45:return 43;case 46:return 45;case 47:return 46;case 48:return 47;case 49:return 47;case 50:return 46;case 51:return 46;case 52:return 46;case 53:return 27;case 54:return r.yytext[0];case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:false},acc_descr:{rules:[3],inclusive:false},acc_title:{rules:[1],inclusive:false},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:false},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:true}}};return t}();k.lexer=O;function R(){this.yy={}}R.prototype=k;k.Parser=R;return new R}();v.parser=v;const w=v;let I={};let D=[];const S={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"};const $={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"};const L=function(t,e=void 0){if(I[t]===void 0){I[t]={attributes:[],alias:e};n.l.info("Added new entity :",t)}else if(I[t]&&!I[t].alias&&e){I[t].alias=e;n.l.info(`Add alias '${e}' to entity '${t}'`)}return I[t]};const C=()=>I;const B=function(t,e){let r=L(t);let i;for(i=e.length-1;i>=0;i--){r.attributes.push(e[i]);n.l.debug("Added attribute ",e[i].attributeName)}};const Y=function(t,e,r,i){let a={entityA:t,roleA:e,entityB:r,relSpec:i};D.push(a);n.l.debug("Added new relationship :",a)};const P=()=>D;const Z=function(){I={};D=[];(0,n.t)()};const F={Cardinality:S,Identification:$,getConfig:()=>(0,n.c)().er,addEntity:L,addAttributes:B,getEntities:C,addRelationship:Y,getRelationships:P,clear:Z,setAccTitle:n.s,getAccTitle:n.g,setAccDescription:n.b,getAccDescription:n.a,setDiagramTitle:n.q,getDiagramTitle:n.r};const z={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"};const U=function(t,e){let r;t.append("defs").append("marker").attr("id",z.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id",z.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id",z.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18");t.append("defs").append("marker").attr("id",z.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18");r=t.append("defs").append("marker").attr("id",z.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6);r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18");r=t.append("defs").append("marker").attr("id",z.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6);r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18");t.append("defs").append("marker").attr("id",z.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27");t.append("defs").append("marker").attr("id",z.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18");r=t.append("defs").append("marker").attr("id",z.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6);r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");r=t.append("defs").append("marker").attr("id",z.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6);r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18");return};const W={ERMarkers:z,insertMarkers:U};const K=/[^\dA-Za-z](\W)*/g;let G={};let H=new Map;const j=function(t){const e=Object.keys(t);for(const r of e){G[r]=t[r]}};const Q=(t,e,r)=>{const i=G.entityPadding/3;const a=G.entityPadding/3;const s=G.fontSize*.85;const o=e.node().getBBox();const c=[];let l=false;let h=false;let d=0;let u=0;let y=0;let f=0;let p=o.height+i*2;let _=1;r.forEach((t=>{if(t.attributeKeyTypeList!==void 0&&t.attributeKeyTypeList.length>0){l=true}if(t.attributeComment!==void 0){h=true}}));r.forEach((r=>{const a=`${e.node().id}-attr-${_}`;let o=0;const E=(0,n.v)(r.attributeType);const m=t.append("text").classed("er entityLabel",true).attr("id",`${a}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,n.c)().fontFamily).style("font-size",s+"px").text(E);const g=t.append("text").classed("er entityLabel",true).attr("id",`${a}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,n.c)().fontFamily).style("font-size",s+"px").text(r.attributeName);const b={};b.tn=m;b.nn=g;const k=m.node().getBBox();const O=g.node().getBBox();d=Math.max(d,k.width);u=Math.max(u,O.width);o=Math.max(k.height,O.height);if(l){const e=r.attributeKeyTypeList!==void 0?r.attributeKeyTypeList.join(","):"";const i=t.append("text").classed("er entityLabel",true).attr("id",`${a}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,n.c)().fontFamily).style("font-size",s+"px").text(e);b.kn=i;const c=i.node().getBBox();y=Math.max(y,c.width);o=Math.max(o,c.height)}if(h){const e=t.append("text").classed("er entityLabel",true).attr("id",`${a}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,n.c)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");b.cn=e;const i=e.node().getBBox();f=Math.max(f,i.width);o=Math.max(o,i.height)}b.height=o;c.push(b);p+=o+i*2;_+=1}));let E=4;if(l){E+=2}if(h){E+=2}const m=d+u+y+f;const g={width:Math.max(G.minEntityWidth,Math.max(o.width+G.entityPadding*2,m+a*E)),height:r.length>0?p:Math.max(G.minEntityHeight,o.height+G.entityPadding*2)};if(r.length>0){const r=Math.max(0,(g.width-m-a*E)/(E/2));e.attr("transform","translate("+g.width/2+","+(i+o.height/2)+")");let n=o.height+i*2;let s="attributeBoxOdd";c.forEach((e=>{const o=n+i+e.height/2;e.tn.attr("transform","translate("+a+","+o+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,true).attr("x",0).attr("y",n).attr("width",d+a*2+r).attr("height",e.height+i*2);const p=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(p+a)+","+o+")");const _=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,true).attr("x",p).attr("y",n).attr("width",u+a*2+r).attr("height",e.height+i*2);let E=parseFloat(_.attr("x"))+parseFloat(_.attr("width"));if(l){e.kn.attr("transform","translate("+(E+a)+","+o+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,true).attr("x",E).attr("y",n).attr("width",y+a*2+r).attr("height",e.height+i*2);E=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}if(h){e.cn.attr("transform","translate("+(E+a)+","+o+")");t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",E).attr("y",n).attr("width",f+a*2+r).attr("height",e.height+i*2)}n+=e.height+i*2;s=s==="attributeBoxOdd"?"attributeBoxEven":"attributeBoxOdd"}))}else{g.height=Math.max(G.minEntityHeight,p);e.attr("transform","translate("+g.width/2+","+g.height/2+")")}return g};const X=function(t,e,r){const i=Object.keys(e);let a;i.forEach((function(i){const s=it(i,"entity");H.set(i,s);const o=t.append("g").attr("id",s);a=a===void 0?s:a;const c="text-"+s;const l=o.append("text").classed("er entityLabel",true).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,n.c)().fontFamily).style("font-size",G.fontSize+"px").text(e[i].alias??i);const{width:h,height:d}=Q(o,l,e[i].attributes);const u=o.insert("rect","#"+c).classed("er entityBox",true).attr("x",0).attr("y",0).attr("width",h).attr("height",d);const y=u.node().getBBox();r.setNode(s,{width:y.width,height:y.height,shape:"rect",id:s})}));return a};const q=function(t,e){e.nodes().forEach((function(r){if(r!==void 0&&e.node(r)!==void 0){t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")}}))};const J=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};const V=function(t,e){t.forEach((function(t){e.setEdge(H.get(t.entityA),H.get(t.entityB),{relationship:t},J(t))}));return t};let tt=0;const et=function(t,e,r,i,s){tt++;const o=r.edge(H.get(e.entityA),H.get(e.entityB),J(e));const c=(0,a.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(a.$0Z);const l=t.insert("path","#"+i).classed("er relationshipLine",true).attr("d",c(o.points)).style("stroke",G.stroke).style("fill","none");if(e.relSpec.relType===s.db.Identification.NON_IDENTIFYING){l.attr("stroke-dasharray","8,8")}let h="";if(G.arrowMarkerAbsolute){h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search;h=h.replace(/\(/g,"\\(");h=h.replace(/\)/g,"\\)")}switch(e.relSpec.cardA){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+W.ERMarkers.ZERO_OR_ONE_END+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+W.ERMarkers.ZERO_OR_MORE_END+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+W.ERMarkers.ONE_OR_MORE_END+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+W.ERMarkers.ONLY_ONE_END+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-end","url("+h+"#"+W.ERMarkers.MD_PARENT_END+")");break}switch(e.relSpec.cardB){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+W.ERMarkers.ZERO_OR_ONE_START+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+W.ERMarkers.ZERO_OR_MORE_START+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+W.ERMarkers.ONE_OR_MORE_START+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+W.ERMarkers.ONLY_ONE_START+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-start","url("+h+"#"+W.ERMarkers.MD_PARENT_START+")");break}const d=l.node().getTotalLength();const u=l.node().getPointAtLength(d*.5);const y="rel"+tt;const f=t.append("text").classed("er relationshipLabel",true).attr("id",y).attr("x",u.x).attr("y",u.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,n.c)().fontFamily).style("font-size",G.fontSize+"px").text(e.roleA);const p=f.node().getBBox();t.insert("rect","#"+y).classed("er relationshipLabelBox",true).attr("x",u.x-p.width/2).attr("y",u.y-p.height/2).attr("width",p.width).attr("height",p.height)};const rt=function(t,e,r,o){G=(0,n.c)().er;n.l.info("Drawing ER diagram");const c=(0,n.c)().securityLevel;let l;if(c==="sandbox"){l=(0,a.Ys)("#i"+e)}const h=c==="sandbox"?(0,a.Ys)(l.nodes()[0].contentDocument.body):(0,a.Ys)("body");const d=h.select(`[id='${e}']`);W.insertMarkers(d,G);let u;u=new i.k({multigraph:true,directed:true,compound:false}).setGraph({rankdir:G.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const y=X(d,o.db.getEntities(),u);const f=V(o.db.getRelationships(),u);(0,s.bK)(u);q(d,u);f.forEach((function(t){et(d,t,u,y,o)}));const p=G.diagramPadding;n.u.insertTitle(d,"entityTitleText",G.titleTopMargin,o.db.getDiagramTitle());const _=d.node().getBBox();const E=_.width+p*2;const m=_.height+p*2;(0,n.i)(d,m,E,G.useMaxWidth);d.attr("viewBox",`${_.x-p} ${_.y-p} ${E} ${m}`)};const nt="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function it(t="",e=""){const r=t.replace(K,"");return`${at(e)}${at(r)}${T(t,nt)}`}function at(t=""){return t.length>0?`${t}-`:""}const st={setConf:j,draw:rt};const ot=t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`;const ct=ot;const lt={parser:w,db:F,renderer:st,styles:ct}}}]);
|
1
|
+
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[406],{20406:(t,e,r)=>{r.r(e);r.d(e,{diagram:()=>lt});var n=r(23787);var i=r(67058);var a=r(34596);var s=r(96001);const o=[];for(let ht=0;ht<256;++ht){o.push((ht+256).toString(16).slice(1))}function c(t,e=0){return(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase()}function l(t,e=0){const r=c(t,e);if(!validate(r)){throw TypeError("Stringified UUID is invalid")}return r}const h=null&&l;const d=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function u(t){return typeof t==="string"&&d.test(t)}const y=u;function f(t){if(!y(t)){throw TypeError("Invalid UUID")}let e;const r=new Uint8Array(16);r[0]=(e=parseInt(t.slice(0,8),16))>>>24;r[1]=e>>>16&255;r[2]=e>>>8&255;r[3]=e&255;r[4]=(e=parseInt(t.slice(9,13),16))>>>8;r[5]=e&255;r[6]=(e=parseInt(t.slice(14,18),16))>>>8;r[7]=e&255;r[8]=(e=parseInt(t.slice(19,23),16))>>>8;r[9]=e&255;r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255;r[11]=e/4294967296&255;r[12]=e>>>24&255;r[13]=e>>>16&255;r[14]=e>>>8&255;r[15]=e&255;return r}const p=f;function _(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r<t.length;++r){e.push(t.charCodeAt(r))}return e}const E="6ba7b810-9dad-11d1-80b4-00c04fd430c8";const m="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function g(t,e,r){function n(t,n,i,a){var s;if(typeof t==="string"){t=_(t)}if(typeof n==="string"){n=p(n)}if(((s=n)===null||s===void 0?void 0:s.length)!==16){throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)")}let o=new Uint8Array(16+t.length);o.set(n);o.set(t,n.length);o=r(o);o[6]=o[6]&15|e;o[8]=o[8]&63|128;if(i){a=a||0;for(let t=0;t<16;++t){i[a+t]=o[t]}return i}return c(o)}try{n.name=t}catch(i){}n.DNS=E;n.URL=m;return n}function b(t,e,r,n){switch(t){case 0:return e&r^~e&n;case 1:return e^r^n;case 2:return e&r^e&n^r&n;case 3:return e^r^n}}function k(t,e){return t<<e|t>>>32-e}function O(t){const e=[1518500249,1859775393,2400959708,3395469782];const r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t==="string"){const e=unescape(encodeURIComponent(t));t=[];for(let r=0;r<e.length;++r){t.push(e.charCodeAt(r))}}else if(!Array.isArray(t)){t=Array.prototype.slice.call(t)}t.push(128);const n=t.length/4+2;const i=Math.ceil(n/16);const a=new Array(i);for(let s=0;s<i;++s){const e=new Uint32Array(16);for(let r=0;r<16;++r){e[r]=t[s*64+r*4]<<24|t[s*64+r*4+1]<<16|t[s*64+r*4+2]<<8|t[s*64+r*4+3]}a[s]=e}a[i-1][14]=(t.length-1)*8/Math.pow(2,32);a[i-1][14]=Math.floor(a[i-1][14]);a[i-1][15]=(t.length-1)*8&4294967295;for(let s=0;s<i;++s){const t=new Uint32Array(80);for(let e=0;e<16;++e){t[e]=a[s][e]}for(let e=16;e<80;++e){t[e]=k(t[e-3]^t[e-8]^t[e-14]^t[e-16],1)}let n=r[0];let i=r[1];let o=r[2];let c=r[3];let l=r[4];for(let r=0;r<80;++r){const a=Math.floor(r/20);const s=k(n,5)+b(a,i,o,c)+l+e[a]+t[r]>>>0;l=c;c=o;o=k(i,30)>>>0;i=n;n=s}r[0]=r[0]+n>>>0;r[1]=r[1]+i>>>0;r[2]=r[2]+o>>>0;r[3]=r[3]+c>>>0;r[4]=r[4]+l>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const R=O;const N=g("v5",80,R);const T=N;var x=r(27484);var A=r(17967);var M=r(27856);var v=function(){var t=function(t,e,r,n){for(r=r||{},n=t.length;n--;r[t[n]]=e);return r},e=[6,8,10,20,22,24,26,27,28],r=[1,10],n=[1,11],i=[1,12],a=[1,13],s=[1,14],o=[1,15],c=[1,21],l=[1,22],h=[1,23],d=[1,24],u=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],f=[1,34],p=[27,28,46,47],_=[41,42,43,44,45],E=[17,34],m=[1,54],g=[1,53],b=[17,34,36,38];var k={trace:function t(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function t(e,r,n,i,a,s,o){var c=s.length-1;switch(a){case 1:break;case 2:this.$=[];break;case 3:s[c-1].push(s[c]);this.$=s[c-1];break;case 4:case 5:this.$=s[c];break;case 6:case 7:this.$=[];break;case 8:i.addEntity(s[c-4]);i.addEntity(s[c-2]);i.addRelationship(s[c-4],s[c],s[c-2],s[c-3]);break;case 9:i.addEntity(s[c-3]);i.addAttributes(s[c-3],s[c-1]);break;case 10:i.addEntity(s[c-2]);break;case 11:i.addEntity(s[c]);break;case 12:i.addEntity(s[c-6],s[c-4]);i.addAttributes(s[c-6],s[c-1]);break;case 13:i.addEntity(s[c-5],s[c-3]);break;case 14:i.addEntity(s[c-3],s[c-1]);break;case 15:case 16:this.$=s[c].trim();i.setAccTitle(this.$);break;case 17:case 18:this.$=s[c].trim();i.setAccDescription(this.$);break;case 19:case 43:this.$=s[c];break;case 20:case 41:case 42:this.$=s[c].replace(/"/g,"");break;case 21:case 29:this.$=[s[c]];break;case 22:s[c].push(s[c-1]);this.$=s[c];break;case 23:this.$={attributeType:s[c-1],attributeName:s[c]};break;case 24:this.$={attributeType:s[c-2],attributeName:s[c-1],attributeKeyTypeList:s[c]};break;case 25:this.$={attributeType:s[c-2],attributeName:s[c-1],attributeComment:s[c]};break;case 26:this.$={attributeType:s[c-3],attributeName:s[c-2],attributeKeyTypeList:s[c-1],attributeComment:s[c]};break;case 27:case 28:case 31:this.$=s[c];break;case 30:s[c-2].push(s[c]);this.$=s[c-2];break;case 32:this.$=s[c].replace(/"/g,"");break;case 33:this.$={cardA:s[c],relType:s[c-1],cardB:s[c-2]};break;case 34:this.$=i.Cardinality.ZERO_OR_ONE;break;case 35:this.$=i.Cardinality.ZERO_OR_MORE;break;case 36:this.$=i.Cardinality.ONE_OR_MORE;break;case 37:this.$=i.Cardinality.ONLY_ONE;break;case 38:this.$=i.Cardinality.MD_PARENT;break;case 39:this.$=i.Identification.NON_IDENTIFYING;break;case 40:this.$=i.Identification.IDENTIFYING;break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:n,24:i,26:a,27:s,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:n,24:i,26:a,27:s,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:c,42:l,43:h,44:d,45:u}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(y,[2,19]),t(y,[2,20]),t(e,[2,4]),{11:29,27:s,28:o},{16:30,17:[1,31],29:32,30:33,34:f},{11:35,27:s,28:o},{40:36,46:[1,37],47:[1,38]},t(p,[2,34]),t(p,[2,35]),t(p,[2,36]),t(p,[2,37]),t(p,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:f},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:c,42:l,43:h,44:d,45:u},t(_,[2,39]),t(_,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(E,[2,23],{32:50,33:51,35:52,37:m,38:g}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(E,[2,24],{33:56,36:[1,57],38:g}),t(E,[2,25]),t(b,[2,29]),t(E,[2,32]),t(b,[2,31]),{16:58,17:[1,59],29:32,30:33,34:f},t(E,[2,26]),{35:60,37:m},{17:[1,61]},t(e,[2,13]),t(b,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function t(e,r){if(r.recoverable){this.trace(e)}else{var n=new Error(e);n.hash=r;throw n}},parse:function t(e){var r=this,n=[0],i=[],a=[null],s=[],o=this.table,c="",l=0,h=0,d=2,u=1;var y=s.slice.call(arguments,1);var f=Object.create(this.lexer);var p={yy:{}};for(var _ in this.yy){if(Object.prototype.hasOwnProperty.call(this.yy,_)){p.yy[_]=this.yy[_]}}f.setInput(e,p.yy);p.yy.lexer=f;p.yy.parser=this;if(typeof f.yylloc=="undefined"){f.yylloc={}}var E=f.yylloc;s.push(E);var m=f.options&&f.options.ranges;if(typeof p.yy.parseError==="function"){this.parseError=p.yy.parseError}else{this.parseError=Object.getPrototypeOf(this).parseError}function g(){var t;t=i.pop()||f.lex()||u;if(typeof t!=="number"){if(t instanceof Array){i=t;t=i.pop()}t=r.symbols_[t]||t}return t}var b,k,O,R,N={},T,x,A,M;while(true){k=n[n.length-1];if(this.defaultActions[k]){O=this.defaultActions[k]}else{if(b===null||typeof b=="undefined"){b=g()}O=o[k]&&o[k][b]}if(typeof O==="undefined"||!O.length||!O[0]){var v="";M=[];for(T in o[k]){if(this.terminals_[T]&&T>d){M.push("'"+this.terminals_[T]+"'")}}if(f.showPosition){v="Parse error on line "+(l+1)+":\n"+f.showPosition()+"\nExpecting "+M.join(", ")+", got '"+(this.terminals_[b]||b)+"'"}else{v="Parse error on line "+(l+1)+": Unexpected "+(b==u?"end of input":"'"+(this.terminals_[b]||b)+"'")}this.parseError(v,{text:f.match,token:this.terminals_[b]||b,line:f.yylineno,loc:E,expected:M})}if(O[0]instanceof Array&&O.length>1){throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+b)}switch(O[0]){case 1:n.push(b);a.push(f.yytext);s.push(f.yylloc);n.push(O[1]);b=null;{h=f.yyleng;c=f.yytext;l=f.yylineno;E=f.yylloc}break;case 2:x=this.productions_[O[1]][1];N.$=a[a.length-x];N._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column};if(m){N._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]}R=this.performAction.apply(N,[c,h,l,p.yy,O[1],a,s].concat(y));if(typeof R!=="undefined"){return R}if(x){n=n.slice(0,-1*x*2);a=a.slice(0,-1*x);s=s.slice(0,-1*x)}n.push(this.productions_[O[1]][0]);a.push(N.$);s.push(N._$);A=o[n[n.length-2]][n[n.length-1]];n.push(A);break;case 3:return true}}return true}};var O=function(){var t={EOF:1,parseError:function t(e,r){if(this.yy.parser){this.yy.parser.parseError(e,r)}else{throw new Error(e)}},setInput:function(t,e){this.yy=e||this.yy||{};this._input=t;this._more=this._backtrack=this.done=false;this.yylineno=this.yyleng=0;this.yytext=this.matched=this.match="";this.conditionStack=["INITIAL"];this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0};if(this.options.ranges){this.yylloc.range=[0,0]}this.offset=0;return this},input:function(){var t=this._input[0];this.yytext+=t;this.yyleng++;this.offset++;this.match+=t;this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);if(e){this.yylineno++;this.yylloc.last_line++}else{this.yylloc.last_column++}if(this.options.ranges){this.yylloc.range[1]++}this._input=this._input.slice(1);return t},unput:function(t){var e=t.length;var r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input;this.yytext=this.yytext.substr(0,this.yytext.length-e);this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1);this.matched=this.matched.substr(0,this.matched.length-1);if(r.length-1){this.yylineno-=r.length-1}var i=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-e};if(this.options.ranges){this.yylloc.range=[i[0],i[0]+this.yyleng-e]}this.yyleng=this.yytext.length;return this},more:function(){this._more=true;return this},reject:function(){if(this.options.backtrack_lexer){this._backtrack=true}else{return this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}return this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;if(t.length<20){t+=this._input.substr(0,20-t.length)}return(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput();var e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,n,i;if(this.options.backtrack_lexer){i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done};if(this.options.ranges){i.yylloc.range=this.yylloc.range.slice(0)}}n=t[0].match(/(?:\r\n?|\n).*/g);if(n){this.yylineno+=n.length}this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length};this.yytext+=t[0];this.match+=t[0];this.matches=t;this.yyleng=this.yytext.length;if(this.options.ranges){this.yylloc.range=[this.offset,this.offset+=this.yyleng]}this._more=false;this._backtrack=false;this._input=this._input.slice(t[0].length);this.matched+=t[0];r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]);if(this.done&&this._input){this.done=false}if(r){return r}else if(this._backtrack){for(var a in i){this[a]=i[a]}return false}return false},next:function(){if(this.done){return this.EOF}if(!this._input){this.done=true}var t,e,r,n;if(!this._more){this.yytext="";this.match=""}var i=this._currentRules();for(var a=0;a<i.length;a++){r=this._input.match(this.rules[i[a]]);if(r&&(!e||r[0].length>e[0].length)){e=r;n=a;if(this.options.backtrack_lexer){t=this.test_match(r,i[a]);if(t!==false){return t}else if(this._backtrack){e=false;continue}else{return false}}else if(!this.options.flex){break}}}if(e){t=this.test_match(e,i[n]);if(t!==false){return t}return false}if(this._input===""){return this.EOF}else{return this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}},lex:function t(){var e=this.next();if(e){return e}else{return this.lex()}},begin:function t(e){this.conditionStack.push(e)},popState:function t(){var e=this.conditionStack.length-1;if(e>0){return this.conditionStack.pop()}else{return this.conditionStack[0]}},_currentRules:function t(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules}else{return this.conditions["INITIAL"].rules}},topState:function t(e){e=this.conditionStack.length-1-Math.abs(e||0);if(e>=0){return this.conditionStack[e]}else{return"INITIAL"}},pushState:function t(e){this.begin(e)},stateStackSize:function t(){return this.conditionStack.length},options:{"case-insensitive":true},performAction:function t(e,r,n,i){switch(n){case 0:this.begin("acc_title");return 22;case 1:this.popState();return"acc_title_value";case 2:this.begin("acc_descr");return 24;case 3:this.popState();return"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:this.begin("block");return 15;case 14:return 36;case 15:break;case 16:return 37;case 17:return 34;case 18:return 34;case 19:return 38;case 20:break;case 21:this.popState();return 17;case 22:return r.yytext[0];case 23:return 18;case 24:return 19;case 25:return 41;case 26:return 43;case 27:return 43;case 28:return 43;case 29:return 41;case 30:return 41;case 31:return 42;case 32:return 42;case 33:return 42;case 34:return 42;case 35:return 42;case 36:return 43;case 37:return 42;case 38:return 43;case 39:return 44;case 40:return 44;case 41:return 44;case 42:return 44;case 43:return 41;case 44:return 42;case 45:return 43;case 46:return 45;case 47:return 46;case 48:return 47;case 49:return 47;case 50:return 46;case 51:return 46;case 52:return 46;case 53:return 27;case 54:return r.yytext[0];case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:false},acc_descr:{rules:[3],inclusive:false},acc_title:{rules:[1],inclusive:false},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:false},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:true}}};return t}();k.lexer=O;function R(){this.yy={}}R.prototype=k;k.Parser=R;return new R}();v.parser=v;const w=v;let I={};let D=[];const S={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"};const $={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"};const L=function(t,e=void 0){if(I[t]===void 0){I[t]={attributes:[],alias:e};n.l.info("Added new entity :",t)}else if(I[t]&&!I[t].alias&&e){I[t].alias=e;n.l.info(`Add alias '${e}' to entity '${t}'`)}return I[t]};const C=()=>I;const B=function(t,e){let r=L(t);let i;for(i=e.length-1;i>=0;i--){r.attributes.push(e[i]);n.l.debug("Added attribute ",e[i].attributeName)}};const Y=function(t,e,r,i){let a={entityA:t,roleA:e,entityB:r,relSpec:i};D.push(a);n.l.debug("Added new relationship :",a)};const P=()=>D;const Z=function(){I={};D=[];(0,n.t)()};const F={Cardinality:S,Identification:$,getConfig:()=>(0,n.c)().er,addEntity:L,addAttributes:B,getEntities:C,addRelationship:Y,getRelationships:P,clear:Z,setAccTitle:n.s,getAccTitle:n.g,setAccDescription:n.b,getAccDescription:n.a,setDiagramTitle:n.q,getDiagramTitle:n.r};const z={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"};const U=function(t,e){let r;t.append("defs").append("marker").attr("id",z.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id",z.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id",z.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18");t.append("defs").append("marker").attr("id",z.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18");r=t.append("defs").append("marker").attr("id",z.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6);r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18");r=t.append("defs").append("marker").attr("id",z.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6);r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18");t.append("defs").append("marker").attr("id",z.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27");t.append("defs").append("marker").attr("id",z.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18");r=t.append("defs").append("marker").attr("id",z.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6);r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");r=t.append("defs").append("marker").attr("id",z.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6);r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18");return};const W={ERMarkers:z,insertMarkers:U};const K=/[^\dA-Za-z](\W)*/g;let G={};let H=new Map;const j=function(t){const e=Object.keys(t);for(const r of e){G[r]=t[r]}};const Q=(t,e,r)=>{const i=G.entityPadding/3;const a=G.entityPadding/3;const s=G.fontSize*.85;const o=e.node().getBBox();const c=[];let l=false;let h=false;let d=0;let u=0;let y=0;let f=0;let p=o.height+i*2;let _=1;r.forEach((t=>{if(t.attributeKeyTypeList!==void 0&&t.attributeKeyTypeList.length>0){l=true}if(t.attributeComment!==void 0){h=true}}));r.forEach((r=>{const a=`${e.node().id}-attr-${_}`;let o=0;const E=(0,n.v)(r.attributeType);const m=t.append("text").classed("er entityLabel",true).attr("id",`${a}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,n.c)().fontFamily).style("font-size",s+"px").text(E);const g=t.append("text").classed("er entityLabel",true).attr("id",`${a}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,n.c)().fontFamily).style("font-size",s+"px").text(r.attributeName);const b={};b.tn=m;b.nn=g;const k=m.node().getBBox();const O=g.node().getBBox();d=Math.max(d,k.width);u=Math.max(u,O.width);o=Math.max(k.height,O.height);if(l){const e=r.attributeKeyTypeList!==void 0?r.attributeKeyTypeList.join(","):"";const i=t.append("text").classed("er entityLabel",true).attr("id",`${a}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,n.c)().fontFamily).style("font-size",s+"px").text(e);b.kn=i;const c=i.node().getBBox();y=Math.max(y,c.width);o=Math.max(o,c.height)}if(h){const e=t.append("text").classed("er entityLabel",true).attr("id",`${a}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,n.c)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");b.cn=e;const i=e.node().getBBox();f=Math.max(f,i.width);o=Math.max(o,i.height)}b.height=o;c.push(b);p+=o+i*2;_+=1}));let E=4;if(l){E+=2}if(h){E+=2}const m=d+u+y+f;const g={width:Math.max(G.minEntityWidth,Math.max(o.width+G.entityPadding*2,m+a*E)),height:r.length>0?p:Math.max(G.minEntityHeight,o.height+G.entityPadding*2)};if(r.length>0){const r=Math.max(0,(g.width-m-a*E)/(E/2));e.attr("transform","translate("+g.width/2+","+(i+o.height/2)+")");let n=o.height+i*2;let s="attributeBoxOdd";c.forEach((e=>{const o=n+i+e.height/2;e.tn.attr("transform","translate("+a+","+o+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,true).attr("x",0).attr("y",n).attr("width",d+a*2+r).attr("height",e.height+i*2);const p=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(p+a)+","+o+")");const _=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,true).attr("x",p).attr("y",n).attr("width",u+a*2+r).attr("height",e.height+i*2);let E=parseFloat(_.attr("x"))+parseFloat(_.attr("width"));if(l){e.kn.attr("transform","translate("+(E+a)+","+o+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,true).attr("x",E).attr("y",n).attr("width",y+a*2+r).attr("height",e.height+i*2);E=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}if(h){e.cn.attr("transform","translate("+(E+a)+","+o+")");t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",E).attr("y",n).attr("width",f+a*2+r).attr("height",e.height+i*2)}n+=e.height+i*2;s=s==="attributeBoxOdd"?"attributeBoxEven":"attributeBoxOdd"}))}else{g.height=Math.max(G.minEntityHeight,p);e.attr("transform","translate("+g.width/2+","+g.height/2+")")}return g};const X=function(t,e,r){const i=Object.keys(e);let a;i.forEach((function(i){const s=it(i,"entity");H.set(i,s);const o=t.append("g").attr("id",s);a=a===void 0?s:a;const c="text-"+s;const l=o.append("text").classed("er entityLabel",true).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,n.c)().fontFamily).style("font-size",G.fontSize+"px").text(e[i].alias??i);const{width:h,height:d}=Q(o,l,e[i].attributes);const u=o.insert("rect","#"+c).classed("er entityBox",true).attr("x",0).attr("y",0).attr("width",h).attr("height",d);const y=u.node().getBBox();r.setNode(s,{width:y.width,height:y.height,shape:"rect",id:s})}));return a};const q=function(t,e){e.nodes().forEach((function(r){if(r!==void 0&&e.node(r)!==void 0){t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")}}))};const J=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};const V=function(t,e){t.forEach((function(t){e.setEdge(H.get(t.entityA),H.get(t.entityB),{relationship:t},J(t))}));return t};let tt=0;const et=function(t,e,r,i,s){tt++;const o=r.edge(H.get(e.entityA),H.get(e.entityB),J(e));const c=(0,a.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(a.$0Z);const l=t.insert("path","#"+i).classed("er relationshipLine",true).attr("d",c(o.points)).style("stroke",G.stroke).style("fill","none");if(e.relSpec.relType===s.db.Identification.NON_IDENTIFYING){l.attr("stroke-dasharray","8,8")}let h="";if(G.arrowMarkerAbsolute){h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search;h=h.replace(/\(/g,"\\(");h=h.replace(/\)/g,"\\)")}switch(e.relSpec.cardA){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+W.ERMarkers.ZERO_OR_ONE_END+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+W.ERMarkers.ZERO_OR_MORE_END+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+W.ERMarkers.ONE_OR_MORE_END+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+W.ERMarkers.ONLY_ONE_END+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-end","url("+h+"#"+W.ERMarkers.MD_PARENT_END+")");break}switch(e.relSpec.cardB){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+W.ERMarkers.ZERO_OR_ONE_START+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+W.ERMarkers.ZERO_OR_MORE_START+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+W.ERMarkers.ONE_OR_MORE_START+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+W.ERMarkers.ONLY_ONE_START+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-start","url("+h+"#"+W.ERMarkers.MD_PARENT_START+")");break}const d=l.node().getTotalLength();const u=l.node().getPointAtLength(d*.5);const y="rel"+tt;const f=t.append("text").classed("er relationshipLabel",true).attr("id",y).attr("x",u.x).attr("y",u.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,n.c)().fontFamily).style("font-size",G.fontSize+"px").text(e.roleA);const p=f.node().getBBox();t.insert("rect","#"+y).classed("er relationshipLabelBox",true).attr("x",u.x-p.width/2).attr("y",u.y-p.height/2).attr("width",p.width).attr("height",p.height)};const rt=function(t,e,r,o){G=(0,n.c)().er;n.l.info("Drawing ER diagram");const c=(0,n.c)().securityLevel;let l;if(c==="sandbox"){l=(0,a.Ys)("#i"+e)}const h=c==="sandbox"?(0,a.Ys)(l.nodes()[0].contentDocument.body):(0,a.Ys)("body");const d=h.select(`[id='${e}']`);W.insertMarkers(d,G);let u;u=new i.k({multigraph:true,directed:true,compound:false}).setGraph({rankdir:G.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const y=X(d,o.db.getEntities(),u);const f=V(o.db.getRelationships(),u);(0,s.bK)(u);q(d,u);f.forEach((function(t){et(d,t,u,y,o)}));const p=G.diagramPadding;n.u.insertTitle(d,"entityTitleText",G.titleTopMargin,o.db.getDiagramTitle());const _=d.node().getBBox();const E=_.width+p*2;const m=_.height+p*2;(0,n.i)(d,m,E,G.useMaxWidth);d.attr("viewBox",`${_.x-p} ${_.y-p} ${E} ${m}`)};const nt="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function it(t="",e=""){const r=t.replace(K,"");return`${at(e)}${at(r)}${T(t,nt)}`}function at(t=""){return t.length>0?`${t}-`:""}const st={setConf:j,draw:rt};const ot=t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`;const ct=ot;const lt={parser:w,db:F,renderer:st,styles:ct}}}]);
|
@@ -1 +1 @@
|
|
1
|
-
(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[
|
1
|
+
(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4081],{98686:(t,e,r)=>{var n=1/0;var o="[object Symbol]";var u=/[&<>"'`]/g,a=RegExp(u.source);var c={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};var p=typeof r.g=="object"&&r.g&&r.g.Object===Object&&r.g;var f=typeof self=="object"&&self&&self.Object===Object&&self;var l=p||f||Function("return this")();function i(t){return function(e){return t==null?undefined:t[e]}}var b=i(c);var s=Object.prototype;var v=s.toString;var y=l.Symbol;var j=y?y.prototype:undefined,g=j?j.toString:undefined;function d(t){if(typeof t=="string"){return t}if(O(t)){return g?g.call(t):""}var e=t+"";return e=="0"&&1/t==-n?"-0":e}function _(t){return!!t&&typeof t=="object"}function O(t){return typeof t=="symbol"||_(t)&&v.call(t)==o}function h(t){return t==null?"":d(t)}function k(t){t=h(t);return t&&a.test(t)?t.replace(u,b):t}t.exports=k}}]);
|