jupyterlab 4.3.4__py3-none-any.whl → 4.4.0a0__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/commands.py +15 -14
- jupyterlab/extensions/pypi.py +5 -14
- jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +99 -99
- jupyterlab/galata/@jupyterlab/galata-extension/package.json +11 -11
- jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.f17343a6227f7ab7910c.js → remoteEntry.5b3a6f58b1d51cdd0e6f.js} +3 -3
- 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 +8 -8
- jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -7
- 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 -12
- 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 +23 -23
- 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 +11 -11
- 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 +6 -0
- jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +12 -12
- jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +6 -6
- 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/package.json.orig +11 -11
- jupyterlab/staging/package.json +152 -152
- jupyterlab/staging/yarn.lock +1139 -1165
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/3538.5ce64a6194b4409fce29.js → jupyterlab/static/1412.79ed056459e137f86c46.js +1 -1
- jupyterlab/static/1696.93012e2026776b89aa5f.js +1 -0
- jupyterlab/static/{9635.8953d15dfdfc8308dfcf.js → 2363.fcabfa2308467b2c070c.js} +1 -1
- jupyterlab/static/{5246.8992e5e0cc14a6b85a27.js → 2683.1a83902c9f1df15ff574.js} +1 -1
- jupyterlab/static/29.ac2112ae29d7ba400522.js +1 -0
- jupyterlab/static/2944.7392f8abb0ba7718c051.js +1 -0
- jupyterlab/static/3310.a32ac4dcd8f159e644c6.js +1 -0
- jupyterlab/static/350.d2771204ec5e484dd860.js +1 -0
- jupyterlab/static/3763.08dc056a1c7285c688f5.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/3824.5e23be1e37fce5b7c6b3.js → jupyterlab/static/3824.166772ac50ce65b6a289.js +1 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/3489.7a81d2fa7123a8f139db.js → jupyterlab/static/4102.2d3da57f86e4a61027a2.js +1 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/2624.388e72c15e07152af2e5.js → jupyterlab/static/4152.9d26c2063174f3f3ecba.js +1 -1
- jupyterlab/static/4157.1a056c33e0254caa54ae.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/5446.bdc12eba40091c1cc6c4.js → jupyterlab/static/4570.9afeebac24eb2d82296b.js +1 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/4728.2514414bdb72543830a3.js → jupyterlab/static/4728.f45979e97f7dadeaf72b.js +2 -2
- jupyterlab/static/{5846.eec92db7873f0c8534d6.js → 4751.f31b9659114585a80d76.js} +1 -1
- jupyterlab/static/5216.ec4f95e005518c2b8014.js +1 -0
- jupyterlab/static/5262.3aa3119a8238df18adfe.js +1 -0
- jupyterlab/static/{9908.600b47cfa84ff9cdf6a7.js → 5341.4cfea3b9d8a6451cbfbf.js} +1 -1
- jupyterlab/static/5489.62bb81d5e0fed90fd179.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/1162.9eab2d3a6a73e2cd3b63.js → jupyterlab/static/5496.925d53d3e09654344984.js +1 -1
- jupyterlab/static/5634.99c6e9c55fd7e18906f4.js +1 -0
- jupyterlab/static/5829.1847cc3acbe7acefa6d3.js +1 -0
- jupyterlab/static/{3415.a4a8c7afbbc19af6d014.js → 5837.d68944cdc79e2e5e165b.js} +1 -1
- jupyterlab/static/{3788.df595483a01971a2b157.js → 5855.4178cf16b6d74c65f84f.js} +1 -1
- jupyterlab/static/618.11f6713e784324640aae.js +1 -0
- jupyterlab/static/6180.af29d3ab9d74ca0ec709.js +1 -0
- jupyterlab/static/630.3be76c8b563a13a562c2.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/6733.2d8d3e01d56d79a52e7e.js → jupyterlab/static/6733.5ee66b0ce673952c3fdd.js +2 -2
- jupyterlab/static/700.dd1dbb2a39f847caeb1d.js +2 -0
- jupyterlab/static/8035.3ccb68cdcb86a990bb3e.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/8258.c8c00e66a0bef38665f4.js → jupyterlab/static/8111.afc096af5dd502def89a.js +1 -1
- jupyterlab/static/8300.ee3fac166856c3175404.js +1 -0
- jupyterlab/static/{8313.4fcb779e44b4a2b774a4.js → 8313.64e3db0b24dd1a70aecb.js} +1 -1
- jupyterlab/static/8420.f5d84eda5b3dd1d839c1.js +1 -0
- jupyterlab/static/{7298.c486fdfc0b09a5260ad2.js → 8880.2dea83097d134cae5746.js} +1 -1
- jupyterlab/static/8918.e09bb02acf590be031e0.js +2 -0
- jupyterlab/static/8918.e09bb02acf590be031e0.js.LICENSE.txt +17 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/9085.5a959b5878e7afd8a878.js → jupyterlab/static/9085.0eb73275b0f5bac78629.js +2 -2
- jupyterlab/static/{7114.a44f4e4afe0f4cf18421.js → 9181.5ddecac84e4aa48cc6ed.js} +1 -1
- jupyterlab/static/{4701.ceb0e0f9fc8a3b4aaccd.js → 9220.aab8a47d542fe5f352fc.js} +1 -1
- jupyterlab/static/{9296.c71ef13ec33b31192502.js → 9296.176231372f63ddcb8e6c.js} +1 -1
- jupyterlab/static/9437.40eaec9e76814b970827.js +1 -0
- jupyterlab/static/build_log.json +98 -98
- jupyterlab/static/index.html +1 -1
- jupyterlab/static/jlab_core.05d19852879c1e42bfe9.js +1 -0
- jupyterlab/static/main.e84a903a08850cce7c8d.js +1 -0
- jupyterlab/static/package.json +152 -152
- jupyterlab/static/third-party-licenses.json +106 -100
- 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/themes/@jupyterlab/theme-dark-high-contrast-extension/index.css +1 -1
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +10 -10
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +14 -14
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +8 -8
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -7
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +13 -13
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +10 -10
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -17
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +12 -12
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +6 -6
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -7
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +13 -13
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +23 -23
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +8 -8
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -6
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +9 -9
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +7 -7
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +10 -10
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +11 -11
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -9
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -3
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +30 -30
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +6 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +12 -12
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +6 -6
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -6
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +11 -11
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -6
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +11 -11
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig +11 -11
- jupyterlab/static/3538.5ce64a6194b4409fce29.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/1412.79ed056459e137f86c46.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/1696.93012e2026776b89aa5f.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/9635.8953d15dfdfc8308dfcf.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/2363.fcabfa2308467b2c070c.js +1 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/5246.8992e5e0cc14a6b85a27.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/2683.1a83902c9f1df15ff574.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/29.ac2112ae29d7ba400522.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/2944.7392f8abb0ba7718c051.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/3310.a32ac4dcd8f159e644c6.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/350.d2771204ec5e484dd860.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/3763.08dc056a1c7285c688f5.js +1 -0
- jupyterlab/static/3824.5e23be1e37fce5b7c6b3.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/3824.166772ac50ce65b6a289.js +1 -1
- jupyterlab/static/3489.7a81d2fa7123a8f139db.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/4102.2d3da57f86e4a61027a2.js +1 -1
- jupyterlab/static/2624.388e72c15e07152af2e5.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/4152.9d26c2063174f3f3ecba.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/4157.1a056c33e0254caa54ae.js +1 -0
- jupyterlab/static/5446.bdc12eba40091c1cc6c4.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/4570.9afeebac24eb2d82296b.js +1 -1
- jupyterlab/static/4728.2514414bdb72543830a3.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/4728.f45979e97f7dadeaf72b.js +2 -2
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/5846.eec92db7873f0c8534d6.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/4751.f31b9659114585a80d76.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/5216.ec4f95e005518c2b8014.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/5262.3aa3119a8238df18adfe.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/9908.600b47cfa84ff9cdf6a7.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/5341.4cfea3b9d8a6451cbfbf.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/5489.62bb81d5e0fed90fd179.js +1 -0
- jupyterlab/static/1162.9eab2d3a6a73e2cd3b63.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/5496.925d53d3e09654344984.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/5634.99c6e9c55fd7e18906f4.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/5829.1847cc3acbe7acefa6d3.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/3415.a4a8c7afbbc19af6d014.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/5837.d68944cdc79e2e5e165b.js +1 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/3788.df595483a01971a2b157.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/5855.4178cf16b6d74c65f84f.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/618.11f6713e784324640aae.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/6180.af29d3ab9d74ca0ec709.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/630.3be76c8b563a13a562c2.js +1 -0
- jupyterlab/static/6733.2d8d3e01d56d79a52e7e.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/6733.5ee66b0ce673952c3fdd.js +2 -2
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/700.dd1dbb2a39f847caeb1d.js +2 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/8035.3ccb68cdcb86a990bb3e.js +1 -0
- jupyterlab/static/8258.c8c00e66a0bef38665f4.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/8111.afc096af5dd502def89a.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/8300.ee3fac166856c3175404.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/8313.4fcb779e44b4a2b774a4.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/8313.64e3db0b24dd1a70aecb.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/8420.f5d84eda5b3dd1d839c1.js +1 -0
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/7298.c486fdfc0b09a5260ad2.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/8880.2dea83097d134cae5746.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/8918.e09bb02acf590be031e0.js +2 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/8918.e09bb02acf590be031e0.js.LICENSE.txt +17 -0
- jupyterlab/static/9085.5a959b5878e7afd8a878.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/9085.0eb73275b0f5bac78629.js +2 -2
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/7114.a44f4e4afe0f4cf18421.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/9181.5ddecac84e4aa48cc6ed.js +1 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/4701.ceb0e0f9fc8a3b4aaccd.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/9220.aab8a47d542fe5f352fc.js +1 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/9296.c71ef13ec33b31192502.js → jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/9296.176231372f63ddcb8e6c.js +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/9437.40eaec9e76814b970827.js +1 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/build_log.json +98 -98
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/index.html +1 -1
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/jlab_core.05d19852879c1e42bfe9.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/main.e84a903a08850cce7c8d.js +1 -0
- jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/package.json +357 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/third-party-licenses.json +106 -100
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.css +1 -1
- {jupyterlab-4.3.4.dist-info → jupyterlab-4.4.0a0.dist-info}/METADATA +13 -14
- jupyterlab-4.4.0a0.dist-info/RECORD +892 -0
- {jupyterlab-4.3.4.dist-info → jupyterlab-4.4.0a0.dist-info}/WHEEL +1 -1
- jupyterlab/static/1017.67e7fc6c0221ce9cbeb7.js +0 -1
- jupyterlab/static/1786.37675c1099a3e0f0e18d.js +0 -1
- jupyterlab/static/2337.50f794e5c2bde01decab.js +0 -1
- jupyterlab/static/29.9336d42a406feabea57f.js +0 -1
- jupyterlab/static/2965.698cf1ac2623483351b2.js +0 -2
- jupyterlab/static/2965.698cf1ac2623483351b2.js.LICENSE.txt +0 -17
- jupyterlab/static/3330.a6d6a93bb012ea4f3589.js +0 -1
- jupyterlab/static/3763.a857fdcb9f31499444d0.js +0 -1
- jupyterlab/static/4050.dfaf4ace414ab9752223.js +0 -1
- jupyterlab/static/5829.0e46d479b4ade4783661.js +0 -1
- jupyterlab/static/5890.ee1e537ee61f811b444d.js +0 -1
- jupyterlab/static/6180.7481086c115d1121852c.js +0 -1
- jupyterlab/static/6483.79f1ab5249584f984bf4.js +0 -1
- jupyterlab/static/700.b39b468c2a0234ff00e0.js +0 -2
- jupyterlab/static/7403.b747dcf7bd81025f084b.js +0 -1
- jupyterlab/static/7642.b6cd0e20dd6a6b2a008c.js +0 -1
- jupyterlab/static/8.4322fee36e778f503059.js +0 -1
- jupyterlab/static/8768.77e44e6422514f0a02c7.js +0 -1
- jupyterlab/static/8896.426656fa4c4a1021375e.js +0 -1
- jupyterlab/static/jlab_core.9ae09eead5139c587af4.js +0 -1
- jupyterlab/static/main.ea7277c9c015ae398545.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/1017.67e7fc6c0221ce9cbeb7.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/1786.37675c1099a3e0f0e18d.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/2337.50f794e5c2bde01decab.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/29.9336d42a406feabea57f.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/2965.698cf1ac2623483351b2.js +0 -2
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/2965.698cf1ac2623483351b2.js.LICENSE.txt +0 -17
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/3330.a6d6a93bb012ea4f3589.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/3763.a857fdcb9f31499444d0.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/4050.dfaf4ace414ab9752223.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/5829.0e46d479b4ade4783661.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/5890.ee1e537ee61f811b444d.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/6180.7481086c115d1121852c.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/6483.79f1ab5249584f984bf4.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/700.b39b468c2a0234ff00e0.js +0 -2
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/7403.b747dcf7bd81025f084b.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/7642.b6cd0e20dd6a6b2a008c.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/8.4322fee36e778f503059.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/8768.77e44e6422514f0a02c7.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/8896.426656fa4c4a1021375e.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/jlab_core.9ae09eead5139c587af4.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/main.ea7277c9c015ae398545.js +0 -1
- jupyterlab-4.3.4.data/data/share/jupyter/lab/static/package.json +0 -357
- jupyterlab-4.3.4.dist-info/RECORD +0 -886
- /jupyterlab/static/{4728.2514414bdb72543830a3.js.LICENSE.txt → 4728.f45979e97f7dadeaf72b.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{6733.2d8d3e01d56d79a52e7e.js.LICENSE.txt → 6733.5ee66b0ce673952c3fdd.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{700.b39b468c2a0234ff00e0.js.LICENSE.txt → 700.dd1dbb2a39f847caeb1d.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{9085.5a959b5878e7afd8a878.js.LICENSE.txt → 9085.0eb73275b0f5bac78629.js.LICENSE.txt} +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/applications/jupyterlab.desktop +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/icons/hicolor/scalable/apps/jupyterlab.svg +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sessionDialogs.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/utilityCommands.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/inline-completer.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/100.1d14ca44a3cc8849349f.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1039.3fe94e87219c0ed159d3.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1096.dd4c563e0483cbbeb9c9.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1189.c1482e88f0e949753db6.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1208.4b9ab7b231d39ebdbc3f.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1219.b5630aa3a46050fddc27.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1268.e75d8a6dd557ac8957ca.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1423.c662e4e18c51217c3fa7.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1436.2c11d9dee0ad6f49e968.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1445.a0e099c27d073217031a.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1449.7026e8748d2a77e15d5b.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1456.396bed90b4c5c24ebca9.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1491.62ed4ab1f893d55a7df5.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1495.13603dd823bbf5eb08b3.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1510.f5643744900a492cca08.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1673.b0ee25168543434bdbca.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1737.a5fc97075f693ec36fe6.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1832.b1ede2fe899bdec88938.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1834.7445ad0c82371ac40737.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1887.56f83f163a18c61efb16.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1909.7487a09fefbe7f9eabb6.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1909.7487a09fefbe7f9eabb6.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1954.f1c519cb1415c7da3e8c.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1960.f8d8ef8a91360e60f0b9.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1962.f2e82dd21240eba50714.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1969.86e3168e52802569d650.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1986.26029e99ef54a5652df8.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1991.84fc123d7cfe8ae2948e.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/1cb1c39ea642f26a4dfe.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2280.6614699f54522fffbc00.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/232.5419cbec68e3fd0cf431.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/232.5419cbec68e3fd0cf431.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2353.ab70488f07a7c0a7a3fd.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/246.326a6482593e8a7bcd58.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2467.4227742ac4b60289f222.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/247.84259ab142dd8c151fc2.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2574.7d463f2a193d49883bdc.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2576.b98b7b23adeec4cb6932.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2590.99e505d19b964439aa31.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2633.ea053b40991eb5adbc69.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2641.8936f6ed5ba76336c942.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/265.6f9e37c0b72db64203b1.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2658.d1cae1b08b068d864368.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/26683bf201fb258a2237.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2681.a47f40e38ecd31ccd687.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2707.61050e600b0aa9624127.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2729.cafaf0caf2c0c83ac9fe.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2794.05495c139ed000b57598.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2823.0b6015b5e03c08281f41.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2880.8483d51b11998bfe8e4b.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2957.bc5eb9549a0b15c44916.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/2959.b24c9f67d639376f5ead.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/30e889b58cbc51adfbb0.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3111.33574d9124842f355bce.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3112.0757b31e24c5334fda73.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/321.0fb994fd384a54491584.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3257.30af681f0c294efb65f7.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3257.30af681f0c294efb65f7.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/32792104b5ef69eded90.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3282.81fc10ff22608a9b5e5f.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3282.81fc10ff22608a9b5e5f.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3293.45e37a0c8e23d360f5c6.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3303.b5596c0715d2d58332fb.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3372.8eeafd96de9a7a205f40.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/339.62fb1e5a084681d24bfa.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3450.499466688807e6e40372.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/355254db9ca10a09a3b5.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3616.a4271ffcf2ac3b4c2338.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/36e0d72d8a7afc696a3e.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3709.e33bc30c83272aa85628.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3780.c9294dc98ae926717741.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3799.eaa0438bc5c41bad0516.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3832.c6026c483bb46cc8e599.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3974.79f68bca9a02c92dab5e.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3991.ee9a327e63c1f7c8c890.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3de784d07b9fa8f104c1.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4001.80ab3ef5300d7ce2d1fe.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4053.4945facc348478fd59f4.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4068.9cc41f46f729f2c4369b.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4076.b4d803d8bf1bd6c97854.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4090.eec44f90a54aa383426c.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4266.155b468271987c81d948.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4296.721da424585874d0789e.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4323.b2bd8a329a81d30ed039.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4353.2fc2fc223680eaebc6cf.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4364.ee19f1b28fb1bebc3895.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4372.645626a2452c190dbb22.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4372.645626a2452c190dbb22.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4408.f24dd0edf35e08548967.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4462.a1dfac2be4cef60e89de.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4484.0c7c43754e97c96f0f89.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4486.8d2f41ae787607b7bf31.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4528.77904f4c3e3d458f55e4.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4606.cba21bae1bd61d5466b4.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4611.bd2b768223b0cd570834.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4616.04cfbd55593c51921cc7.js +0 -0
- /jupyterlab-4.3.4.data/data/share/jupyter/lab/static/4728.2514414bdb72543830a3.js.LICENSE.txt → /jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/4728.f45979e97f7dadeaf72b.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4735.7731d551ca68bcb58e9f.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4797.cc42a6dd4442057422aa.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/481e39042508ae313a60.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4838.8db4c61349bfba200547.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4855.29e8dc6982ba4873487d.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4878.f7557c5c99a54b40c49b.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/492.5f186062d2dcdf79c86c.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4928.6cb408e4def87534970d.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4958.7499f6a88cb80b756a65.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/4981.eed4ddb90566e90e3df4.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5085.a38923f36b551620798a.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5090.404be96d8a6eae1e719a.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5090.404be96d8a6eae1e719a.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5211.5b71830476810a6188e4.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5224.8a6bbc774d20be66fdfb.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5244.eefac84704ad30f00af3.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5317.f4bba2e3d0f4fdd088f7.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5318.d5df5c275e925c22d780.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5338.38c32bdfb0695f9b501f.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5492.44728a640c37a4b4aa0c.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5521.cc7da8760b98f2dd2c18.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5566.c76ea61eb723ee84e2cf.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5606.e03dfa10c124a03f36ba.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5847.930208c25e45ecf30657.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5862.be1ec453e8db6844c62d.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5877.72ab5a29e95ce21981e4.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5895.cda43bb9605deeb0d817.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5929.d561797f8259994ecdd8.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5942.05cbcd55c5f45ff7db43.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5987.7e967df5417044d337a4.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/5cda41563a095bd70c78.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6060.52dca011e9f2f279fc5e.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6095.6e79e3bad86e054aa8c8.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6145.c422868290460078c013.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6166.2bc9ac8e2156c0701a52.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6170.65d899f43342f1e34bf1.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6275.e99f9312900c481b467d.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6294.b3cb5e16527b9d09b4a2.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6372.25d926454a35e061a88b.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6412.ebdf8da40f1ba8272df9.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6460.d9aaa1e48da295c6035d.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6492.236d5001cdad5cc56624.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6540.51c00e890179a4832552.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6540.51c00e890179a4832552.js.LICENSE.txt +0 -0
- /jupyterlab-4.3.4.data/data/share/jupyter/lab/static/6733.2d8d3e01d56d79a52e7e.js.LICENSE.txt → /jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/6733.5ee66b0ce673952c3fdd.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6767.4b82d96c237ca7e31bc6.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6831.1df8fa4cabb5b1c19803.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6843.dabcc3c9658bc6ded6d1.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6874.bb2f7fbc6ce56eecc800.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6896.af1d649e0efae70b7b1a.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6941.465bebbd3d8a024f5f15.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/6993.6175f20787993c74adde.js +0 -0
- /jupyterlab-4.3.4.data/data/share/jupyter/lab/static/700.b39b468c2a0234ff00e0.js.LICENSE.txt → /jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/700.dd1dbb2a39f847caeb1d.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7136.b312751fbb25b73f5e71.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/721921bab0d001ebff02.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7250.b88d0a5e237ff5ff1aad.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7260.b47dcaccbe7991104e8a.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7269.962f078e97afc4f68e79.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/72bc573386dd1d48c5bb.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/731.82a7b980b5b7f4b7a14f.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7318.7cc6b4b0b3151b205ecb.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7445.7c793c8e1720f8ec4f85.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7575.2e3e32236d5667bba43f.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7587.3112240b6b82407b0f16.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7694.1cbff84dccb512476b7c.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7756.93d0ab41829355a147ab.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7769.d39df7673ee2660a9ac4.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7803.0c8929610218552319bf.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7856.dd9523e57bed80f1f694.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7881.c5a234ce171f347c94e2.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7990.fc875753fcfcc9b4eebc.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/7990.fc875753fcfcc9b4eebc.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8103.00fa0c157eb92e5cf3ba.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8217.801fbb0b549a74238760.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8232.76805a0a87d0f6bb62ad.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8326.9dda93079a9e4f1b9be6.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8368.c75a4b32ae45ec88465d.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/84.fe0a55d7756c37585fb4.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8418.42e29778d4b49fb54e8e.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/867.e814bf26fbfc77fc4f16.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/870673df72e70f87c91a.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/874.5f20565dc761ebc32874.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8753.56da17175b663d61f9d3.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8778.3f97d9d872573f0ccd2f.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8779.6eebdb56785e3d38a457.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8816.d7ec52fb31e9c6749593.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8830.d5bb102ed8737ffe38cb.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/88b98cad3688915e50da.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/89.933673451ca4a51053cb.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/8ea8dbb1b02e6f730f55.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9023.2ff687d7ff50df3719fc.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9046.99c477ea375dcbb8c7ca.js +0 -0
- /jupyterlab-4.3.4.data/data/share/jupyter/lab/static/9085.5a959b5878e7afd8a878.js.LICENSE.txt → /jupyterlab-4.4.0a0.data/data/share/jupyter/lab/static/9085.0eb73275b0f5bac78629.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9123.501219cd782693d6539f.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9137.179a3c47465e7fb8f067.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9311.46cc03d7b667d8413fec.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9329.c878986b50c10afaca34.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9400.90fd1d2212781c80b587.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9474.01b4e1d1e3376f4a5919.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9517.7056cafdf1da3a136d45.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9582.c10e0d8d04b7da1a22da.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/961.29c067b15a524e556eed.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/961.29c067b15a524e556eed.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9652.a8d2e5854bcae4d40041.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9746.c7e86b432363dfd28caa.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9892.6d289e7baed8c64d88e2.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/9892.6d289e7baed8c64d88e2.js.LICENSE.txt +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/a009bea404f7a500ded4.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/af04542b29eaac04550a.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/af96f67d7accf5fd2a4a.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/b418136e3b384baaadec.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/c49810b53ecc0d87d802.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/c56da8d69f1a0208b8e0.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/fc6ddf5df402b263cfb1.woff +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/index.out.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/static/style.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.js +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +0 -0
- {jupyterlab-4.3.4.data → jupyterlab-4.4.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
- {jupyterlab-4.3.4.dist-info → jupyterlab-4.4.0a0.dist-info}/entry_points.txt +0 -0
- {jupyterlab-4.3.4.dist-info → jupyterlab-4.4.0a0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[8300],{78300:(t,e,a)=>{a.d(e,{diagram:()=>te});var s=a(75747);var r=a(92935);var i=a(35185);var n=a(16750);var o=a(74353);var c=a.n(o);var l=a(42838);var d=a.n(l);var h=function(){var t=function(t,e,a,s){for(a=a||{},s=t.length;s--;a[t[s]]=e);return a},e=[1,2],a=[1,3],s=[1,4],r=[2,4],i=[1,9],n=[1,11],o=[1,13],c=[1,14],l=[1,16],d=[1,17],h=[1,18],p=[1,24],u=[1,25],g=[1,26],f=[1,27],x=[1,28],y=[1,29],m=[1,30],b=[1,31],T=[1,32],E=[1,33],w=[1,34],v=[1,35],k=[1,36],P=[1,37],_=[1,38],L=[1,39],I=[1,41],M=[1,42],N=[1,43],A=[1,44],O=[1,45],S=[1,46],D=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],R=[4,5,16,50,52,53],C=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],Y=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],B=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],V=[68,69,70],F=[1,120];var q={trace:function t(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function t(e,a,s,r,i,n,o){var c=n.length-1;switch(i){case 3:r.apply(n[c]);return n[c];case 4:case 9:this.$=[];break;case 5:case 10:n[c-1].push(n[c]);this.$=n[c-1];break;case 6:case 7:case 11:case 12:this.$=n[c];break;case 8:case 13:this.$=[];break;case 15:n[c].type="createParticipant";this.$=n[c];break;case 16:n[c-1].unshift({type:"boxStart",boxData:r.parseBoxData(n[c-2])});n[c-1].push({type:"boxEnd",boxText:n[c-2]});this.$=n[c-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(n[c-2]),sequenceIndexStep:Number(n[c-1]),sequenceVisible:true,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(n[c-1]),sequenceIndexStep:1,sequenceVisible:true,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:false,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:true,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:n[c-1]};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:n[c-1]};break;case 29:r.setDiagramTitle(n[c].substring(6));this.$=n[c].substring(6);break;case 30:r.setDiagramTitle(n[c].substring(7));this.$=n[c].substring(7);break;case 31:this.$=n[c].trim();r.setAccTitle(this.$);break;case 32:case 33:this.$=n[c].trim();r.setAccDescription(this.$);break;case 34:n[c-1].unshift({type:"loopStart",loopText:r.parseMessage(n[c-2]),signalType:r.LINETYPE.LOOP_START});n[c-1].push({type:"loopEnd",loopText:n[c-2],signalType:r.LINETYPE.LOOP_END});this.$=n[c-1];break;case 35:n[c-1].unshift({type:"rectStart",color:r.parseMessage(n[c-2]),signalType:r.LINETYPE.RECT_START});n[c-1].push({type:"rectEnd",color:r.parseMessage(n[c-2]),signalType:r.LINETYPE.RECT_END});this.$=n[c-1];break;case 36:n[c-1].unshift({type:"optStart",optText:r.parseMessage(n[c-2]),signalType:r.LINETYPE.OPT_START});n[c-1].push({type:"optEnd",optText:r.parseMessage(n[c-2]),signalType:r.LINETYPE.OPT_END});this.$=n[c-1];break;case 37:n[c-1].unshift({type:"altStart",altText:r.parseMessage(n[c-2]),signalType:r.LINETYPE.ALT_START});n[c-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END});this.$=n[c-1];break;case 38:n[c-1].unshift({type:"parStart",parText:r.parseMessage(n[c-2]),signalType:r.LINETYPE.PAR_START});n[c-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END});this.$=n[c-1];break;case 39:n[c-1].unshift({type:"parStart",parText:r.parseMessage(n[c-2]),signalType:r.LINETYPE.PAR_OVER_START});n[c-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END});this.$=n[c-1];break;case 40:n[c-1].unshift({type:"criticalStart",criticalText:r.parseMessage(n[c-2]),signalType:r.LINETYPE.CRITICAL_START});n[c-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END});this.$=n[c-1];break;case 41:n[c-1].unshift({type:"breakStart",breakText:r.parseMessage(n[c-2]),signalType:r.LINETYPE.BREAK_START});n[c-1].push({type:"breakEnd",optText:r.parseMessage(n[c-2]),signalType:r.LINETYPE.BREAK_END});this.$=n[c-1];break;case 43:this.$=n[c-3].concat([{type:"option",optionText:r.parseMessage(n[c-1]),signalType:r.LINETYPE.CRITICAL_OPTION},n[c]]);break;case 45:this.$=n[c-3].concat([{type:"and",parText:r.parseMessage(n[c-1]),signalType:r.LINETYPE.PAR_AND},n[c]]);break;case 47:this.$=n[c-3].concat([{type:"else",altText:r.parseMessage(n[c-1]),signalType:r.LINETYPE.ALT_ELSE},n[c]]);break;case 48:n[c-3].draw="participant";n[c-3].type="addParticipant";n[c-3].description=r.parseMessage(n[c-1]);this.$=n[c-3];break;case 49:n[c-1].draw="participant";n[c-1].type="addParticipant";this.$=n[c-1];break;case 50:n[c-3].draw="actor";n[c-3].type="addParticipant";n[c-3].description=r.parseMessage(n[c-1]);this.$=n[c-3];break;case 51:n[c-1].draw="actor";n[c-1].type="addParticipant";this.$=n[c-1];break;case 52:n[c-1].type="destroyParticipant";this.$=n[c-1];break;case 53:this.$=[n[c-1],{type:"addNote",placement:n[c-2],actor:n[c-1].actor,text:n[c]}];break;case 54:n[c-2]=[].concat(n[c-1],n[c-1]).slice(0,2);n[c-2][0]=n[c-2][0].actor;n[c-2][1]=n[c-2][1].actor;this.$=[n[c-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:n[c-2].slice(0,2),text:n[c]}];break;case 55:this.$=[n[c-1],{type:"addLinks",actor:n[c-1].actor,text:n[c]}];break;case 56:this.$=[n[c-1],{type:"addALink",actor:n[c-1].actor,text:n[c]}];break;case 57:this.$=[n[c-1],{type:"addProperties",actor:n[c-1].actor,text:n[c]}];break;case 58:this.$=[n[c-1],{type:"addDetails",actor:n[c-1].actor,text:n[c]}];break;case 61:this.$=[n[c-2],n[c]];break;case 62:this.$=n[c];break;case 63:this.$=r.PLACEMENT.LEFTOF;break;case 64:this.$=r.PLACEMENT.RIGHTOF;break;case 65:this.$=[n[c-4],n[c-1],{type:"addMessage",from:n[c-4].actor,to:n[c-1].actor,signalType:n[c-3],msg:n[c],activate:true},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:n[c-1]}];break;case 66:this.$=[n[c-4],n[c-1],{type:"addMessage",from:n[c-4].actor,to:n[c-1].actor,signalType:n[c-3],msg:n[c]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:n[c-4]}];break;case 67:this.$=[n[c-3],n[c-1],{type:"addMessage",from:n[c-3].actor,to:n[c-1].actor,signalType:n[c-2],msg:n[c]}];break;case 68:this.$={type:"addParticipant",actor:n[c]};break;case 69:this.$=r.LINETYPE.SOLID_OPEN;break;case 70:this.$=r.LINETYPE.DOTTED_OPEN;break;case 71:this.$=r.LINETYPE.SOLID;break;case 72:this.$=r.LINETYPE.DOTTED;break;case 73:this.$=r.LINETYPE.SOLID_CROSS;break;case 74:this.$=r.LINETYPE.DOTTED_CROSS;break;case 75:this.$=r.LINETYPE.SOLID_POINT;break;case 76:this.$=r.LINETYPE.DOTTED_POINT;break;case 77:this.$=r.parseMessage(n[c].trim().substring(1));break}},table:[{3:1,4:e,5:a,6:s},{1:[3]},{3:5,4:e,5:a,6:s},{3:6,4:e,5:a,6:s},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:n,8:8,9:10,12:12,13:o,14:c,17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:u,31:g,33:f,35:x,36:y,37:m,38:b,39:T,41:E,43:w,44:v,46:k,50:P,52:_,53:L,54:I,59:M,60:N,61:A,62:O,70:S},t(D,[2,5]),{9:47,12:12,13:o,14:c,17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:u,31:g,33:f,35:x,36:y,37:m,38:b,39:T,41:E,43:w,44:v,46:k,50:P,52:_,53:L,54:I,59:M,60:N,61:A,62:O,70:S},t(D,[2,7]),t(D,[2,8]),t(D,[2,14]),{12:48,50:P,52:_,53:L},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(D,[2,29]),t(D,[2,30]),{32:[1,61]},{34:[1,62]},t(D,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:S},{22:88,70:S},{22:89,70:S},{22:90,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(D,[2,6]),t(D,[2,15]),t(R,[2,9],{10:91}),t(D,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(D,[2,21]),{5:[1,95]},{5:[1,96]},t(D,[2,24]),t(D,[2,25]),t(D,[2,26]),t(D,[2,27]),t(D,[2,28]),t(D,[2,31]),t(D,[2,32]),t(C,r,{7:97}),t(C,r,{7:98}),t(C,r,{7:99}),t($,r,{40:100,7:101}),t(Y,r,{42:102,7:103}),t(Y,r,{7:103,42:104}),t(B,r,{45:105,7:106}),t(C,r,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:S},t(V,[2,69]),t(V,[2,70]),t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),{22:116,70:S},{22:118,58:117,70:S},{70:[2,63]},{70:[2,64]},{56:119,79:F},{56:121,79:F},{56:122,79:F},{56:123,79:F},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:P,52:_,53:L},{5:[1,129]},t(D,[2,19]),t(D,[2,20]),t(D,[2,22]),t(D,[2,23]),{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,130],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:u,31:g,33:f,35:x,36:y,37:m,38:b,39:T,41:E,43:w,44:v,46:k,50:P,52:_,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,131],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:u,31:g,33:f,35:x,36:y,37:m,38:b,39:T,41:E,43:w,44:v,46:k,50:P,52:_,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,132],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:u,31:g,33:f,35:x,36:y,37:m,38:b,39:T,41:E,43:w,44:v,46:k,50:P,52:_,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{16:[1,133]},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,46],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:u,31:g,33:f,35:x,36:y,37:m,38:b,39:T,41:E,43:w,44:v,46:k,49:[1,134],50:P,52:_,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{16:[1,135]},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,44],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:u,31:g,33:f,35:x,36:y,37:m,38:b,39:T,41:E,43:w,44:v,46:k,48:[1,136],50:P,52:_,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{16:[1,137]},{16:[1,138]},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,42],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:u,31:g,33:f,35:x,36:y,37:m,38:b,39:T,41:E,43:w,44:v,46:k,47:[1,139],50:P,52:_,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,140],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:u,31:g,33:f,35:x,36:y,37:m,38:b,39:T,41:E,43:w,44:v,46:k,50:P,52:_,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{15:[1,141]},t(D,[2,49]),{15:[1,142]},t(D,[2,51]),t(D,[2,52]),{22:143,70:S},{22:144,70:S},{56:145,79:F},{56:146,79:F},{56:147,79:F},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(D,[2,16]),t(R,[2,10]),{12:149,50:P,52:_,53:L},t(R,[2,12]),t(R,[2,13]),t(D,[2,18]),t(D,[2,34]),t(D,[2,35]),t(D,[2,36]),t(D,[2,37]),{15:[1,150]},t(D,[2,38]),{15:[1,151]},t(D,[2,39]),t(D,[2,40]),{15:[1,152]},t(D,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:F},{56:156,79:F},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:S},t(R,[2,11]),t($,r,{7:101,40:158}),t(Y,r,{7:103,42:159}),t(B,r,{7:106,45:160}),t(D,[2,48]),t(D,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function t(e,a){if(a.recoverable){this.trace(e)}else{var s=new Error(e);s.hash=a;throw s}},parse:function t(e){var a=this,s=[0],r=[],i=[null],n=[],o=this.table,c="",l=0,d=0,h=2,p=1;var u=n.slice.call(arguments,1);var g=Object.create(this.lexer);var f={yy:{}};for(var x in this.yy){if(Object.prototype.hasOwnProperty.call(this.yy,x)){f.yy[x]=this.yy[x]}}g.setInput(e,f.yy);f.yy.lexer=g;f.yy.parser=this;if(typeof g.yylloc=="undefined"){g.yylloc={}}var y=g.yylloc;n.push(y);var m=g.options&&g.options.ranges;if(typeof f.yy.parseError==="function"){this.parseError=f.yy.parseError}else{this.parseError=Object.getPrototypeOf(this).parseError}function b(){var t;t=r.pop()||g.lex()||p;if(typeof t!=="number"){if(t instanceof Array){r=t;t=r.pop()}t=a.symbols_[t]||t}return t}var T,E,w,v,k={},P,_,L,I;while(true){E=s[s.length-1];if(this.defaultActions[E]){w=this.defaultActions[E]}else{if(T===null||typeof T=="undefined"){T=b()}w=o[E]&&o[E][T]}if(typeof w==="undefined"||!w.length||!w[0]){var M="";I=[];for(P in o[E]){if(this.terminals_[P]&&P>h){I.push("'"+this.terminals_[P]+"'")}}if(g.showPosition){M="Parse error on line "+(l+1)+":\n"+g.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[T]||T)+"'"}else{M="Parse error on line "+(l+1)+": Unexpected "+(T==p?"end of input":"'"+(this.terminals_[T]||T)+"'")}this.parseError(M,{text:g.match,token:this.terminals_[T]||T,line:g.yylineno,loc:y,expected:I})}if(w[0]instanceof Array&&w.length>1){throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+T)}switch(w[0]){case 1:s.push(T);i.push(g.yytext);n.push(g.yylloc);s.push(w[1]);T=null;{d=g.yyleng;c=g.yytext;l=g.yylineno;y=g.yylloc}break;case 2:_=this.productions_[w[1]][1];k.$=i[i.length-_];k._$={first_line:n[n.length-(_||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(_||1)].first_column,last_column:n[n.length-1].last_column};if(m){k._$.range=[n[n.length-(_||1)].range[0],n[n.length-1].range[1]]}v=this.performAction.apply(k,[c,d,l,f.yy,w[1],i,n].concat(u));if(typeof v!=="undefined"){return v}if(_){s=s.slice(0,-1*_*2);i=i.slice(0,-1*_);n=n.slice(0,-1*_)}s.push(this.productions_[w[1]][0]);i.push(k.$);n.push(k._$);L=o[s[s.length-2]][s[s.length-1]];s.push(L);break;case 3:return true}}return true}};var W=function(){var t={EOF:1,parseError:function t(e,a){if(this.yy.parser){this.yy.parser.parseError(e,a)}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 a=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 s=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(a.length-1){this.yylineno-=a.length-1}var r=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===s.length?this.yylloc.first_column:0)+s[s.length-a.length].length-a[0].length:this.yylloc.first_column-e};if(this.options.ranges){this.yylloc.range=[r[0],r[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 a,s,r;if(this.options.backtrack_lexer){r={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){r.yylloc.range=this.yylloc.range.slice(0)}}s=t[0].match(/(?:\r\n?|\n).*/g);if(s){this.yylineno+=s.length}this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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];a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]);if(this.done&&this._input){this.done=false}if(a){return a}else if(this._backtrack){for(var i in r){this[i]=r[i]}return false}return false},next:function(){if(this.done){return this.EOF}if(!this._input){this.done=true}var t,e,a,s;if(!this._more){this.yytext="";this.match=""}var r=this._currentRules();for(var i=0;i<r.length;i++){a=this._input.match(this.rules[r[i]]);if(a&&(!e||a[0].length>e[0].length)){e=a;s=i;if(this.options.backtrack_lexer){t=this.test_match(a,r[i]);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,r[s]);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,a,s,r){switch(s){case 0:return 5;case 1:break;case 2:break;case 3:break;case 4:break;case 5:break;case 6:return 19;case 7:this.begin("LINE");return 14;case 8:this.begin("ID");return 50;case 9:this.begin("ID");return 52;case 10:return 13;case 11:this.begin("ID");return 53;case 12:a.yytext=a.yytext.trim();this.begin("ALIAS");return 70;case 13:this.popState();this.popState();this.begin("LINE");return 51;case 14:this.popState();this.popState();return 5;case 15:this.begin("LINE");return 36;case 16:this.begin("LINE");return 37;case 17:this.begin("LINE");return 38;case 18:this.begin("LINE");return 39;case 19:this.begin("LINE");return 49;case 20:this.begin("LINE");return 41;case 21:this.begin("LINE");return 43;case 22:this.begin("LINE");return 48;case 23:this.begin("LINE");return 44;case 24:this.begin("LINE");return 47;case 25:this.begin("LINE");return 46;case 26:this.popState();return 15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:this.begin("ID");return 21;case 37:this.begin("ID");return 23;case 38:return 29;case 39:return 30;case 40:this.begin("acc_title");return 31;case 41:this.popState();return"acc_title_value";case 42:this.begin("acc_descr");return 33;case 43:this.popState();return"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 51:return 5;case 52:a.yytext=a.yytext.trim();return 70;case 53:return 73;case 54:return 74;case 55:return 71;case 56:return 72;case 57:return 75;case 58:return 76;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 68;case 63:return 69;case 64:return 5;case 65:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:false},acc_descr:{rules:[43],inclusive:false},acc_title:{rules:[41],inclusive:false},ID:{rules:[2,3,12],inclusive:false},ALIAS:{rules:[2,3,13,14],inclusive:false},LINE:{rules:[2,3,26],inclusive:false},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],inclusive:true}}};return t}();q.lexer=W;function z(){this.yy={}}z.prototype=q;q.Parser=z;return new z}();h.parser=h;const p=h;class u{constructor(t){this.init=t;this.records=this.init()}reset(){this.records=this.init()}}const g=new u((()=>({prevActor:void 0,actors:{},createdActors:{},destroyedActors:{},boxes:[],messages:[],notes:[],sequenceNumbersEnabled:false,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})));const f=function(t){g.records.boxes.push({name:t.text,wrap:t.wrap===void 0&&S()||!!t.wrap,fill:t.color,actorKeys:[]});g.records.currentBox=g.records.boxes.slice(-1)[0]};const x=function(t,e,a,s){let r=g.records.currentBox;const i=g.records.actors[t];if(i){if(g.records.currentBox&&i.box&&g.records.currentBox!==i.box){throw new Error("A same participant should only be defined in one Box: "+i.name+" can't be in '"+i.box.name+"' and in '"+g.records.currentBox.name+"' at the same time.")}r=i.box?i.box:g.records.currentBox;i.box=r;if(i&&e===i.name&&a==null){return}}if(a==null||a.text==null){a={text:e,wrap:null,type:s}}if(s==null||a.text==null){a={text:e,wrap:null,type:s}}g.records.actors[t]={box:r,name:e,description:a.text,wrap:a.wrap===void 0&&S()||!!a.wrap,prevActor:g.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:s||"participant"};if(g.records.prevActor&&g.records.actors[g.records.prevActor]){g.records.actors[g.records.prevActor].nextActor=t}if(g.records.currentBox){g.records.currentBox.actorKeys.push(t)}g.records.prevActor=t};const y=t=>{let e;let a=0;for(e=0;e<g.records.messages.length;e++){if(g.records.messages[e].type===$.ACTIVE_START&&g.records.messages[e].from.actor===t){a++}if(g.records.messages[e].type===$.ACTIVE_END&&g.records.messages[e].from.actor===t){a--}}return a};const m=function(t,e,a,s){g.records.messages.push({from:t,to:e,message:a.text,wrap:a.wrap===void 0&&S()||!!a.wrap,answer:s})};const b=function(t,e,a={text:void 0,wrap:void 0},s,r=false){if(s===$.ACTIVE_END){const e=y(t.actor);if(e<1){let e=new Error("Trying to inactivate an inactive participant ("+t.actor+")");e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]};throw e}}g.records.messages.push({from:t,to:e,message:a.text,wrap:a.wrap===void 0&&S()||!!a.wrap,type:s,activate:r});return true};const T=function(){return g.records.boxes.length>0};const E=function(){return g.records.boxes.some((t=>t.name))};const w=function(){return g.records.messages};const v=function(){return g.records.boxes};const k=function(){return g.records.actors};const P=function(){return g.records.createdActors};const _=function(){return g.records.destroyedActors};const L=function(t){return g.records.actors[t]};const I=function(){return Object.keys(g.records.actors)};const M=function(){g.records.sequenceNumbersEnabled=true};const N=function(){g.records.sequenceNumbersEnabled=false};const A=()=>g.records.sequenceNumbersEnabled;const O=function(t){g.records.wrapEnabled=t};const S=()=>{if(g.records.wrapEnabled!==void 0){return g.records.wrapEnabled}return(0,s.c)().sequence.wrap};const D=function(){g.reset();(0,s.v)()};const R=function(t){const e=t.trim();const a={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:e.match(/^:?wrap:/)!==null?true:e.match(/^:?nowrap:/)!==null?false:void 0};s.l.debug("parseMessage:",a);return a};const C=function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let a=e!=null&&e[1]?e[1].trim():"transparent";let r=e!=null&&e[2]?e[2].trim():void 0;if(window&&window.CSS){if(!window.CSS.supports("color",a)){a="transparent";r=t.trim()}}else{const e=(new Option).style;e.color=a;if(e.color!==a){a="transparent";r=t.trim()}}return{color:a,text:r!==void 0?(0,s.d)(r.replace(/^:?(?:no)?wrap:/,""),(0,s.c)()):void 0,wrap:r!==void 0?r.match(/^:?wrap:/)!==null?true:r.match(/^:?nowrap:/)!==null?false:void 0:void 0}};const $={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32};const Y={FILLED:0,OPEN:1};const B={LEFTOF:0,RIGHTOF:1,OVER:2};const V=function(t,e,a){const s={actor:t,placement:e,message:a.text,wrap:a.wrap===void 0&&S()||!!a.wrap};const r=[].concat(t,t);g.records.notes.push(s);g.records.messages.push({from:r[0],to:r[1],message:a.text,wrap:a.wrap===void 0&&S()||!!a.wrap,type:$.NOTE,placement:e})};const F=function(t,e){const a=L(t);try{let t=(0,s.d)(e.text,(0,s.c)());t=t.replace(/&/g,"&");t=t.replace(/=/g,"=");const r=JSON.parse(t);W(a,r)}catch(r){s.l.error("error while parsing actor link text",r)}};const q=function(t,e){const a=L(t);try{const t={};let o=(0,s.d)(e.text,(0,s.c)());var r=o.indexOf("@");o=o.replace(/&/g,"&");o=o.replace(/=/g,"=");var i=o.slice(0,r-1).trim();var n=o.slice(r+1).trim();t[i]=n;W(a,t)}catch(o){s.l.error("error while parsing actor link text",o)}};function W(t,e){if(t.links==null){t.links=e}else{for(let a in e){t.links[a]=e[a]}}}const z=function(t,e){const a=L(t);try{let t=(0,s.d)(e.text,(0,s.c)());const r=JSON.parse(t);H(a,r)}catch(r){s.l.error("error while parsing actor properties text",r)}};function H(t,e){if(t.properties==null){t.properties=e}else{for(let a in e){t.properties[a]=e[a]}}}function U(){g.records.currentBox=void 0}const j=function(t,e){const a=L(t);const r=document.getElementById(e.text);try{const t=r.innerHTML;const e=JSON.parse(t);if(e["properties"]){H(a,e["properties"])}if(e["links"]){W(a,e["links"])}}catch(i){s.l.error("error while parsing actor details text",i)}};const G=function(t,e){if(t!==void 0&&t.properties!==void 0){return t.properties[e]}return void 0};const K=function(t){if(Array.isArray(t)){t.forEach((function(t){K(t)}))}else{switch(t.type){case"sequenceIndex":g.records.messages.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:false,type:t.signalType});break;case"addParticipant":x(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(g.records.actors[t.actor]){throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior")}g.records.lastCreated=t.actor;x(t.actor,t.actor,t.description,t.draw);g.records.createdActors[t.actor]=g.records.messages.length;break;case"destroyParticipant":g.records.lastDestroyed=t.actor;g.records.destroyedActors[t.actor]=g.records.messages.length;break;case"activeStart":b(t.actor,void 0,void 0,t.signalType);break;case"activeEnd":b(t.actor,void 0,void 0,t.signalType);break;case"addNote":V(t.actor,t.placement,t.text);break;case"addLinks":F(t.actor,t.text);break;case"addALink":q(t.actor,t.text);break;case"addProperties":z(t.actor,t.text);break;case"addDetails":j(t.actor,t.text);break;case"addMessage":if(g.records.lastCreated){if(t.to!==g.records.lastCreated){throw new Error("The created participant "+g.records.lastCreated+" does not have an associated creating message after its declaration. Please check the sequence diagram.")}else{g.records.lastCreated=void 0}}else if(g.records.lastDestroyed){if(t.to!==g.records.lastDestroyed&&t.from!==g.records.lastDestroyed){throw new Error("The destroyed participant "+g.records.lastDestroyed+" does not have an associated destroying message after its declaration. Please check the sequence diagram.")}else{g.records.lastDestroyed=void 0}}b(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":f(t.boxData);break;case"boxEnd":U();break;case"loopStart":b(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":b(void 0,void 0,void 0,t.signalType);break;case"rectStart":b(void 0,void 0,t.color,t.signalType);break;case"rectEnd":b(void 0,void 0,void 0,t.signalType);break;case"optStart":b(void 0,void 0,t.optText,t.signalType);break;case"optEnd":b(void 0,void 0,void 0,t.signalType);break;case"altStart":b(void 0,void 0,t.altText,t.signalType);break;case"else":b(void 0,void 0,t.altText,t.signalType);break;case"altEnd":b(void 0,void 0,void 0,t.signalType);break;case"setAccTitle":(0,s.s)(t.text);break;case"parStart":b(void 0,void 0,t.parText,t.signalType);break;case"and":b(void 0,void 0,t.parText,t.signalType);break;case"parEnd":b(void 0,void 0,void 0,t.signalType);break;case"criticalStart":b(void 0,void 0,t.criticalText,t.signalType);break;case"option":b(void 0,void 0,t.optionText,t.signalType);break;case"criticalEnd":b(void 0,void 0,void 0,t.signalType);break;case"breakStart":b(void 0,void 0,t.breakText,t.signalType);break;case"breakEnd":b(void 0,void 0,void 0,t.signalType);break}}};const X={addActor:x,addMessage:m,addSignal:b,addLinks:F,addDetails:j,addProperties:z,autoWrap:S,setWrap:O,enableSequenceNumbers:M,disableSequenceNumbers:N,showSequenceNumbers:A,getMessages:w,getActors:k,getCreatedActors:P,getDestroyedActors:_,getActor:L,getActorKeys:I,getActorProperty:G,getAccTitle:s.g,getBoxes:v,getDiagramTitle:s.t,setDiagramTitle:s.q,getConfig:()=>(0,s.c)().sequence,clear:D,parseMessage:R,parseBoxData:C,LINETYPE:$,ARROWTYPE:Y,PLACEMENT:B,addNote:V,setAccTitle:s.s,apply:K,setAccDescription:s.b,getAccDescription:s.a,hasAtLeastOneBox:T,hasAtLeastOneBoxWithTitle:E};const J=t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`;const Z=J;const Q=18*2;const tt="actor-top";const et="actor-bottom";const at=function(t,e){return(0,i.d)(t,e)};const st=function(t,e,a,s,r){if(e.links===void 0||e.links===null||Object.keys(e.links).length===0){return{height:0,width:0}}const i=e.links;const o=e.actorCnt;const c=e.rectData;var l="none";if(r){l="block !important"}const d=t.append("g");d.attr("id","actor"+o+"_popup");d.attr("class","actorPopupMenu");d.attr("display",l);var h="";if(c.class!==void 0){h=" "+c.class}let p=c.width>a?c.width:a;const u=d.append("rect");u.attr("class","actorPopupMenuPanel"+h);u.attr("x",c.x);u.attr("y",c.height);u.attr("fill",c.fill);u.attr("stroke",c.stroke);u.attr("width",p);u.attr("height",c.height);u.attr("rx",c.rx);u.attr("ry",c.ry);if(i!=null){var g=20;for(let t in i){var f=d.append("a");var x=(0,n.Jf)(i[t]);f.attr("xlink:href",x);f.attr("target","_blank");It(s)(t,f,c.x+10,c.height+g,p,20,{class:"actor"},s);g+=30}}u.attr("height",g);return{height:c.height+g,width:p}};const rt=function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"};const it=async function(t,e,a=null){let r=t.append("foreignObject");const i=await(0,s.r)(e.text,(0,s.F)());const n=r.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(i);const o=n.node().getBoundingClientRect();r.attr("height",Math.round(o.height)).attr("width",Math.round(o.width));if(e.class==="noteText"){const a=t.node().firstChild;a.setAttribute("height",o.height+2*e.textMargin);const s=a.getBBox();r.attr("x",Math.round(s.x+s.width/2-o.width/2)).attr("y",Math.round(s.y+s.height/2-o.height/2))}else if(a){let{startx:t,stopx:s,starty:i}=a;if(t>s){const e=t;t=s;s=e}r.attr("x",Math.round(t+Math.abs(t-s)/2-o.width/2));if(e.class==="loopText"){r.attr("y",Math.round(i))}else{r.attr("y",Math.round(i-o.height))}}return[r]};const nt=function(t,e){let a=0;let r=0;const i=e.text.split(s.e.lineBreakRegex);const[n,o]=(0,s.D)(e.fontSize);let c=[];let l=0;let d=()=>e.y;if(e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0){switch(e.valign){case"top":case"start":d=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":d=()=>Math.round(e.y+(a+r+e.textMargin)/2);break;case"bottom":case"end":d=()=>Math.round(e.y+(a+r+2*e.textMargin)-e.textMargin);break}}if(e.anchor!==void 0&&e.textMargin!==void 0&&e.width!==void 0){switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin);e.anchor="start";e.dominantBaseline="middle";e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2);e.anchor="middle";e.dominantBaseline="middle";e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin);e.anchor="end";e.dominantBaseline="middle";e.alignmentBaseline="middle";break}}for(let[h,p]of i.entries()){if(e.textMargin!==void 0&&e.textMargin===0&&n!==void 0){l=h*n}const i=t.append("text");i.attr("x",e.x);i.attr("y",d());if(e.anchor!==void 0){i.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline)}if(e.fontFamily!==void 0){i.style("font-family",e.fontFamily)}if(o!==void 0){i.style("font-size",o)}if(e.fontWeight!==void 0){i.style("font-weight",e.fontWeight)}if(e.fill!==void 0){i.attr("fill",e.fill)}if(e.class!==void 0){i.attr("class",e.class)}if(e.dy!==void 0){i.attr("dy",e.dy)}else if(l!==0){i.attr("dy",l)}const u=p||s.Z;if(e.tspan){const t=i.append("tspan");t.attr("x",e.x);if(e.fill!==void 0){t.attr("fill",e.fill)}t.text(u)}else{i.text(u)}if(e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0){r+=(i._groups||i)[0][0].getBBox().height;a=r}c.push(i)}return c};const ot=function(t,e){function a(t,e,a,s,r){return t+","+e+" "+(t+a)+","+e+" "+(t+a)+","+(e+s-r)+" "+(t+a-r*1.2)+","+(e+s)+" "+t+","+(e+s)}const s=t.append("polygon");s.attr("points",a(e.x,e.y,e.width,e.height,7));s.attr("class","labelBox");e.y=e.y+e.height/2;nt(t,e);return s};let ct=-1;const lt=(t,e,a,s)=>{if(!t.select){return}a.forEach((a=>{const r=e[a];const i=t.select("#actor"+r.actorCnt);if(!s.mirrorActors&&r.stopy){i.attr("y2",r.stopy+r.height/2)}else if(s.mirrorActors){i.attr("y2",r.stopy)}}))};const dt=async function(t,e,a,r){const n=r?e.stopy:e.starty;const o=e.x+e.width/2;const c=n+5;const l=t.append("g").lower();var d=l;if(!r){ct++;if(Object.keys(e.links||{}).length&&!a.forceMenus){d.attr("onclick",rt(`actor${ct}_popup`)).attr("cursor","pointer")}d.append("line").attr("id","actor"+ct).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999");d=l.append("g");e.actorCnt=ct;if(e.links!=null){d.attr("id","root-"+ct)}}const h=(0,i.g)();var p="actor";if(e.properties!=null&&e.properties["class"]){p=e.properties["class"]}else{h.fill="#eaeaea"}if(r){p+=` ${et}`}else{p+=` ${tt}`}h.x=e.x;h.y=n;h.width=e.width;h.height=e.height;h.class=p;h.rx=3;h.ry=3;h.name=e.name;const u=at(d,h);e.rectData=h;if(e.properties!=null&&e.properties["icon"]){const t=e.properties["icon"].trim();if(t.charAt(0)==="@"){(0,i.b)(d,h.x+h.width-20,h.y+10,t.substr(1))}else{(0,i.c)(d,h.x+h.width-20,h.y+10,t)}}await Lt(a,(0,s.G)(e.description))(e.description,d,h.x,h.y,h.width,h.height,{class:"actor"},a);let g=e.height;if(u.node){const t=u.node().getBBox();e.height=t.height;g=t.height}return g};const ht=async function(t,e,a,r){const n=r?e.stopy:e.starty;const o=e.x+e.width/2;const c=n+80;t.lower();if(!r){ct++;t.append("line").attr("id","actor"+ct).attr("x1",o).attr("y1",c).attr("x2",o).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999");e.actorCnt=ct}const l=t.append("g");let d="actor-man";if(r){d+=` ${et}`}else{d+=` ${tt}`}l.attr("class",d);l.attr("name",e.name);const h=(0,i.g)();h.x=e.x;h.y=n;h.fill="#eaeaea";h.width=e.width;h.height=e.height;h.class="actor";h.rx=3;h.ry=3;l.append("line").attr("id","actor-man-torso"+ct).attr("x1",o).attr("y1",n+25).attr("x2",o).attr("y2",n+45);l.append("line").attr("id","actor-man-arms"+ct).attr("x1",o-Q/2).attr("y1",n+33).attr("x2",o+Q/2).attr("y2",n+33);l.append("line").attr("x1",o-Q/2).attr("y1",n+60).attr("x2",o).attr("y2",n+45);l.append("line").attr("x1",o).attr("y1",n+45).attr("x2",o+Q/2-2).attr("y2",n+60);const p=l.append("circle");p.attr("cx",e.x+e.width/2);p.attr("cy",n+10);p.attr("r",15);p.attr("width",e.width);p.attr("height",e.height);const u=l.node().getBBox();e.height=u.height;await Lt(a,(0,s.G)(e.description))(e.description,l,h.x,h.y+35,h.width,h.height,{class:"actor"},a);return e.height};const pt=async function(t,e,a,s){switch(e.type){case"actor":return await ht(t,e,a,s);case"participant":return await dt(t,e,a,s)}};const ut=async function(t,e,a){const s=t.append("g");const r=s;yt(r,e);if(e.name){await Lt(a)(e.name,r,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},a)}r.lower()};const gt=function(t){return t.append("g")};const ft=function(t,e,a,s,r){const n=(0,i.g)();const o=e.anchored;n.x=e.startx;n.y=e.starty;n.class="activation"+r%3;n.width=e.stopx-e.startx;n.height=a-e.starty;at(o,n)};const xt=async function(t,e,a,r){const{boxMargin:n,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:l,messageFontFamily:d,messageFontSize:h,messageFontWeight:p}=r;const u=t.append("g");const g=function(t,e,a,s){return u.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",s).attr("class","loopLine")};g(e.startx,e.starty,e.stopx,e.starty);g(e.stopx,e.starty,e.stopx,e.stopy);g(e.startx,e.stopy,e.stopx,e.stopy);g(e.startx,e.starty,e.startx,e.stopy);if(e.sections!==void 0){e.sections.forEach((function(t){g(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}))}let f=(0,i.e)();f.text=a;f.x=e.startx;f.y=e.starty;f.fontFamily=d;f.fontSize=h;f.fontWeight=p;f.anchor="middle";f.valign="middle";f.tspan=false;f.width=l||50;f.height=c||20;f.textMargin=o;f.class="labelText";ot(u,f);f=Pt();f.text=e.title;f.x=e.startx+l/2+(e.stopx-e.startx)/2;f.y=e.starty+n+o;f.anchor="middle";f.valign="middle";f.textMargin=o;f.class="loopText";f.fontFamily=d;f.fontSize=h;f.fontWeight=p;f.wrap=true;let x=(0,s.G)(f.text)?await it(u,f,e):nt(u,f);if(e.sectionTitles!==void 0){for(const[t,a]of Object.entries(e.sectionTitles)){if(a.message){f.text=a.message;f.x=e.startx+(e.stopx-e.startx)/2;f.y=e.sections[t].y+n+o;f.class="loopText";f.anchor="middle";f.valign="middle";f.tspan=false;f.fontFamily=d;f.fontSize=h;f.fontWeight=p;f.wrap=e.wrap;if((0,s.G)(f.text)){e.starty=e.sections[t].y;await it(u,f,e)}else{nt(u,f)}let r=Math.round(x.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[t].height+=r-(n+o)}}}e.height=Math.round(e.stopy-e.starty);return u};const yt=function(t,e){(0,i.a)(t,e)};const mt=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")};const bt=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")};const Tt=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")};const Et=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")};const wt=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).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 vt=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)};const kt=function(t){const e=t.append("defs");const a=e.append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5);a.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")};const Pt=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:true,valign:void 0}};const _t=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}};const Lt=function(){function t(t,e,a,s,r,n,o){const c=e.append("text").attr("x",a+r/2).attr("y",s+n/2+5).style("text-anchor","middle").text(t);i(c,o)}function e(t,e,a,r,n,o,c,l){const{actorFontSize:d,actorFontFamily:h,actorFontWeight:p}=l;const[u,g]=(0,s.D)(d);const f=t.split(s.e.lineBreakRegex);for(let s=0;s<f.length;s++){const t=s*u-u*(f.length-1)/2;const l=e.append("text").attr("x",a+n/2).attr("y",r).style("text-anchor","middle").style("font-size",g).style("font-weight",p).style("font-family",h);l.append("tspan").attr("x",a+n/2).attr("dy",t).text(f[s]);l.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central");i(l,c)}}function a(t,a,s,r,n,o,c,l){const d=a.append("switch");const h=d.append("foreignObject").attr("x",s).attr("y",r).attr("width",n).attr("height",o);const p=h.append("xhtml:div").style("display","table").style("height","100%").style("width","100%");p.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t);e(t,d,s,r,n,o,c,l);i(p,c)}async function r(t,a,r,n,o,c,l,d){const h=await(0,s.H)(t,(0,s.F)());const p=a.append("switch");const u=p.append("foreignObject").attr("x",r+o/2-h.width/2).attr("y",n+c/2-h.height/2).attr("width",h.width).attr("height",h.height);const g=u.append("xhtml:div").style("height","100%").style("width","100%");g.append("div").style("text-align","center").style("vertical-align","middle").html(await(0,s.r)(t,(0,s.F)()));e(t,p,r,n,o,c,l,d);i(g,l)}function i(t,e){for(const a in e){if(e.hasOwnProperty(a)){t.attr(a,e[a])}}}return function(s,i=false){if(i){return r}return s.textPlacement==="fo"?a:s.textPlacement==="old"?t:e}}();const It=function(){function t(t,e,a,s,i,n,o){const c=e.append("text").attr("x",a).attr("y",s).style("text-anchor","start").text(t);r(c,o)}function e(t,e,a,i,n,o,c,l){const{actorFontSize:d,actorFontFamily:h,actorFontWeight:p}=l;const u=t.split(s.e.lineBreakRegex);for(let s=0;s<u.length;s++){const t=s*d-d*(u.length-1)/2;const n=e.append("text").attr("x",a).attr("y",i).style("text-anchor","start").style("font-size",d).style("font-weight",p).style("font-family",h);n.append("tspan").attr("x",a).attr("dy",t).text(u[s]);n.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central");r(n,c)}}function a(t,a,s,i,n,o,c,l){const d=a.append("switch");const h=d.append("foreignObject").attr("x",s).attr("y",i).attr("width",n).attr("height",o);const p=h.append("xhtml:div").style("display","table").style("height","100%").style("width","100%");p.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t);e(t,d,s,i,n,o,c,l);r(p,c)}function r(t,e){for(const a in e){if(e.hasOwnProperty(a)){t.attr(a,e[a])}}}return function(s){return s.textPlacement==="fo"?a:s.textPlacement==="old"?t:e}}();const Mt={drawRect:at,drawText:nt,drawLabel:ot,drawActor:pt,drawBox:ut,drawPopup:st,anchorElement:gt,drawActivation:ft,drawLoop:xt,drawBackgroundRect:yt,insertArrowHead:Et,insertArrowFilledHead:wt,insertSequenceNumber:vt,insertArrowCrossHead:kt,insertDatabaseIcon:mt,insertComputerIcon:bt,insertClockIcon:Tt,getTextObj:Pt,getNoteRect:_t,fixLifeLineHeights:lt,sanitizeUrl:n.Jf};let Nt={};const At={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map((t=>t.height||0)))+(this.loops.length===0?0:this.loops.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(this.messages.length===0?0:this.messages.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(this.notes.length===0?0:this.notes.map((t=>t.height||0)).reduce(((t,e)=>t+e)))},clear:function(){this.actors=[];this.boxes=[];this.loops=[];this.messages=[];this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[];this.activations=[];this.models.clear();this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0};this.verticalPos=0;Ft((0,s.c)())},updateVal:function(t,e,a,s){if(t[e]===void 0){t[e]=a}else{t[e]=s(a,t[e])}},updateBounds:function(t,e,a,s){const r=this;let i=0;function n(n){return function o(c){i++;const l=r.sequenceItems.length-i+1;r.updateVal(c,"starty",e-l*Nt.boxMargin,Math.min);r.updateVal(c,"stopy",s+l*Nt.boxMargin,Math.max);r.updateVal(At.data,"startx",t-l*Nt.boxMargin,Math.min);r.updateVal(At.data,"stopx",a+l*Nt.boxMargin,Math.max);if(!(n==="activation")){r.updateVal(c,"startx",t-l*Nt.boxMargin,Math.min);r.updateVal(c,"stopx",a+l*Nt.boxMargin,Math.max);r.updateVal(At.data,"starty",e-l*Nt.boxMargin,Math.min);r.updateVal(At.data,"stopy",s+l*Nt.boxMargin,Math.max)}}}this.sequenceItems.forEach(n());this.activations.forEach(n("activation"))},insert:function(t,e,a,r){const i=s.e.getMin(t,a);const n=s.e.getMax(t,a);const o=s.e.getMin(e,r);const c=s.e.getMax(e,r);this.updateVal(At.data,"startx",i,Math.min);this.updateVal(At.data,"starty",o,Math.min);this.updateVal(At.data,"stopx",n,Math.max);this.updateVal(At.data,"stopy",c,Math.max);this.updateBounds(i,o,n,c)},newActivation:function(t,e,a){const s=a[t.from.actor];const r=qt(t.from.actor).length||0;const i=s.x+s.width/2+(r-1)*Nt.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+Nt.activationWidth,stopy:void 0,actor:t.from.actor,anchored:Mt.anchorElement(e)})},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:false,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:false,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},isLoopOverlap:function(){return this.sequenceItems.length?this.sequenceItems[this.sequenceItems.length-1].overlap:false},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[];e.sectionTitles=e.sectionTitles||[];e.sections.push({y:At.getVerticalPos(),height:0});e.sectionTitles.push(t);this.sequenceItems.push(e)},saveVerticalPos:function(){if(this.isLoopOverlap()){this.savedVerticalPos=this.verticalPos}},resetVerticalPos:function(){if(this.isLoopOverlap()){this.verticalPos=this.savedVerticalPos}},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t;this.data.stopy=s.e.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}};const Ot=async function(t,e){At.bumpVerticalPos(Nt.boxMargin);e.height=Nt.boxMargin;e.starty=At.getVerticalPos();const a=(0,i.g)();a.x=e.startx;a.y=e.starty;a.width=e.width||Nt.width;a.class="note";const r=t.append("g");const n=Mt.drawRect(r,a);const o=(0,i.e)();o.x=e.startx;o.y=e.starty;o.width=a.width;o.dy="1em";o.text=e.message;o.class="noteText";o.fontFamily=Nt.noteFontFamily;o.fontSize=Nt.noteFontSize;o.fontWeight=Nt.noteFontWeight;o.anchor=Nt.noteAlign;o.textMargin=Nt.noteMargin;o.valign="center";const c=(0,s.G)(o.text)?await it(r,o):nt(r,o);const l=Math.round(c.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));n.attr("height",l+2*Nt.noteMargin);e.height+=l+2*Nt.noteMargin;At.bumpVerticalPos(l+2*Nt.noteMargin);e.stopy=e.starty+l+2*Nt.noteMargin;e.stopx=e.startx+a.width;At.insert(e.startx,e.starty,e.stopx,e.stopy);At.models.addNote(e)};const St=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight});const Dt=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight});const Rt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});async function Ct(t,e){At.bumpVerticalPos(10);const{startx:a,stopx:r,message:i}=e;const n=s.e.splitBreaks(i).length;const o=(0,s.G)(i);const c=o?await(0,s.H)(i,(0,s.c)()):s.u.calculateTextDimensions(i,St(Nt));if(!o){const t=c.height/n;e.height+=t;At.bumpVerticalPos(t)}let l;let d=c.height-10;const h=c.width;if(a===r){l=At.getVerticalPos()+d;if(!Nt.rightAngles){d+=Nt.boxMargin;l=At.getVerticalPos()+d}d+=30;const t=s.e.getMax(h/2,Nt.width/2);At.insert(a-t,At.getVerticalPos()-10+d,r+t,At.getVerticalPos()+30+d)}else{d+=Nt.boxMargin;l=At.getVerticalPos()+d;At.insert(a,l-10,r,l)}At.bumpVerticalPos(d);e.height+=d;e.stopy=e.starty+e.height;At.insert(e.fromBounds,e.starty,e.toBounds,e.stopy);return l}const $t=async function(t,e,a,r){const{startx:n,stopx:o,starty:c,message:l,type:d,sequenceIndex:h,sequenceVisible:p}=e;const u=s.u.calculateTextDimensions(l,St(Nt));const g=(0,i.e)();g.x=n;g.y=c+10;g.width=o-n;g.class="messageText";g.dy="1em";g.text=l;g.fontFamily=Nt.messageFontFamily;g.fontSize=Nt.messageFontSize;g.fontWeight=Nt.messageFontWeight;g.anchor=Nt.messageAlign;g.valign="center";g.textMargin=Nt.wrapPadding;g.tspan=false;(0,s.G)(g.text)?await it(t,g,{startx:n,stopx:o,starty:a}):nt(t,g);const f=u.width;let x;if(n===o){if(Nt.rightAngles){x=t.append("path").attr("d",`M ${n},${a} H ${n+s.e.getMax(Nt.width/2,f/2)} V ${a+25} H ${n}`)}else{x=t.append("path").attr("d","M "+n+","+a+" C "+(n+60)+","+(a-10)+" "+(n+60)+","+(a+30)+" "+n+","+(a+20))}}else{x=t.append("line");x.attr("x1",n);x.attr("y1",a);x.attr("x2",o);x.attr("y2",a)}if(d===r.db.LINETYPE.DOTTED||d===r.db.LINETYPE.DOTTED_CROSS||d===r.db.LINETYPE.DOTTED_POINT||d===r.db.LINETYPE.DOTTED_OPEN){x.style("stroke-dasharray","3, 3");x.attr("class","messageLine1")}else{x.attr("class","messageLine0")}let y="";if(Nt.arrowMarkerAbsolute){y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search;y=y.replace(/\(/g,"\\(");y=y.replace(/\)/g,"\\)")}x.attr("stroke-width",2);x.attr("stroke","none");x.style("fill","none");if(d===r.db.LINETYPE.SOLID||d===r.db.LINETYPE.DOTTED){x.attr("marker-end","url("+y+"#arrowhead)")}if(d===r.db.LINETYPE.SOLID_POINT||d===r.db.LINETYPE.DOTTED_POINT){x.attr("marker-end","url("+y+"#filled-head)")}if(d===r.db.LINETYPE.SOLID_CROSS||d===r.db.LINETYPE.DOTTED_CROSS){x.attr("marker-end","url("+y+"#crosshead)")}if(p||Nt.showSequenceNumbers){x.attr("marker-start","url("+y+"#sequencenumber)");t.append("text").attr("x",n).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(h)}};const Yt=async function(t,e,a,r,i,n,o){let c=0;let l=0;let d=void 0;let h=0;for(const p of r){const t=e[p];const r=t.box;if(d&&d!=r){if(!o){At.models.addBox(d)}l+=Nt.boxMargin+d.margin}if(r&&r!=d){if(!o){r.x=c+l;r.y=i}l+=r.margin}t.width=t.width||Nt.width;t.height=s.e.getMax(t.height||Nt.height,Nt.height);t.margin=t.margin||Nt.actorMargin;h=s.e.getMax(h,t.height);if(a[t.name]){l+=t.width/2}t.x=c+l;t.starty=At.getVerticalPos();At.insert(t.x,i,t.x+t.width,t.height);c+=t.width+l;if(t.box){t.box.width=c+r.margin-t.box.x}l=t.margin;d=t.box;At.models.addActor(t)}if(d&&!o){At.models.addBox(d)}At.bumpVerticalPos(h)};const Bt=async function(t,e,a,r){if(!r){for(const s of a){const a=e[s];await Mt.drawActor(t,a,Nt,false)}}else{let r=0;At.bumpVerticalPos(Nt.boxMargin*2);for(const i of a){const a=e[i];if(!a.stopy){a.stopy=At.getVerticalPos()}const n=await Mt.drawActor(t,a,Nt,true);r=s.e.getMax(r,n)}At.bumpVerticalPos(r+Nt.boxMargin)}};const Vt=function(t,e,a,s){let r=0;let i=0;for(const n of a){const a=e[n];const o=Gt(a);const c=Mt.drawPopup(t,a,o,Nt,Nt.forceMenus,s);if(c.height>r){r=c.height}if(c.width+a.x>i){i=c.width+a.x}}return{maxHeight:r,maxWidth:i}};const Ft=function(t){(0,s.f)(Nt,t);if(t.fontFamily){Nt.actorFontFamily=Nt.noteFontFamily=Nt.messageFontFamily=t.fontFamily}if(t.fontSize){Nt.actorFontSize=Nt.noteFontSize=Nt.messageFontSize=t.fontSize}if(t.fontWeight){Nt.actorFontWeight=Nt.noteFontWeight=Nt.messageFontWeight=t.fontWeight}};const qt=function(t){return At.activations.filter((function(e){return e.actor===t}))};const Wt=function(t,e){const a=e[t];const r=qt(t);const i=r.reduce((function(t,e){return s.e.getMin(t,e.startx)}),a.x+a.width/2-1);const n=r.reduce((function(t,e){return s.e.getMax(t,e.stopx)}),a.x+a.width/2+1);return[i,n]};function zt(t,e,a,r,i){At.bumpVerticalPos(a);let n=r;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width;const i=St(Nt);e.message=s.u.wrapLabel(`[${e.message}]`,a-2*Nt.wrapPadding,i);e.width=a;e.wrap=true;const o=s.u.calculateTextDimensions(e.message,i);const c=s.e.getMax(o.height,Nt.labelBoxHeight);n=r+c;s.l.debug(`${c} - ${e.message}`)}i(e);At.bumpVerticalPos(n)}function Ht(t,e,a,s,r,i,n){function o(a,s){if(a.x<r[t.from].x){At.insert(e.stopx-s,e.starty,e.startx,e.stopy+a.height/2+Nt.noteMargin);e.stopx=e.stopx+s}else{At.insert(e.startx,e.starty,e.stopx+s,e.stopy+a.height/2+Nt.noteMargin);e.stopx=e.stopx-s}}function c(a,s){if(a.x<r[t.to].x){At.insert(e.startx-s,e.starty,e.stopx,e.stopy+a.height/2+Nt.noteMargin);e.startx=e.startx+s}else{At.insert(e.stopx,e.starty,e.startx+s,e.stopy+a.height/2+Nt.noteMargin);e.startx=e.startx-s}}if(i[t.to]==s){const e=r[t.to];const s=e.type=="actor"?Q/2+3:e.width/2+3;o(e,s);e.starty=a-e.height/2;At.bumpVerticalPos(e.height/2)}else if(n[t.from]==s){const e=r[t.from];if(Nt.mirrorActors){const t=e.type=="actor"?Q/2:e.width/2;c(e,t)}e.stopy=a-e.height/2;At.bumpVerticalPos(e.height/2)}else if(n[t.to]==s){const e=r[t.to];if(Nt.mirrorActors){const t=e.type=="actor"?Q/2+3:e.width/2+3;o(e,t)}e.stopy=a-e.height/2;At.bumpVerticalPos(e.height/2)}}const Ut=async function(t,e,a,i){const{securityLevel:n,sequence:o}=(0,s.c)();Nt=o;let c;if(n==="sandbox"){c=(0,r.Ltv)("#i"+e)}const l=n==="sandbox"?(0,r.Ltv)(c.nodes()[0].contentDocument.body):(0,r.Ltv)("body");const d=n==="sandbox"?c.nodes()[0].contentDocument:document;At.init();s.l.debug(i.db);const h=n==="sandbox"?l.select(`[id="${e}"]`):(0,r.Ltv)(`[id="${e}"]`);const p=i.db.getActors();const u=i.db.getCreatedActors();const g=i.db.getDestroyedActors();const f=i.db.getBoxes();let x=i.db.getActorKeys();const y=i.db.getMessages();const m=i.db.getDiagramTitle();const b=i.db.hasAtLeastOneBox();const T=i.db.hasAtLeastOneBoxWithTitle();const E=await jt(p,y,i);Nt.height=await Kt(p,E,f);Mt.insertComputerIcon(h);Mt.insertDatabaseIcon(h);Mt.insertClockIcon(h);if(b){At.bumpVerticalPos(Nt.boxMargin);if(T){At.bumpVerticalPos(f[0].textMaxHeight)}}if(Nt.hideUnusedParticipants===true){const t=new Set;y.forEach((e=>{t.add(e.from);t.add(e.to)}));x=x.filter((e=>t.has(e)))}await Yt(h,p,u,x,0,y,false);const w=await Zt(y,p,E,i);Mt.insertArrowHead(h);Mt.insertArrowCrossHead(h);Mt.insertArrowFilledHead(h);Mt.insertSequenceNumber(h);function v(t,e){const a=At.endActivation(t);if(a.starty+18>e){a.starty=e-6;e+=12}Mt.drawActivation(h,a,e,Nt,qt(t.from.actor).length);At.insert(a.startx,e-10,a.stopx,e)}let k=1;let P=1;const _=[];const L=[];let I=0;for(const r of y){let t,e,a;switch(r.type){case i.db.LINETYPE.NOTE:At.resetVerticalPos();e=r.noteModel;await Ot(h,e);break;case i.db.LINETYPE.ACTIVE_START:At.newActivation(r,h,p);break;case i.db.LINETYPE.ACTIVE_END:v(r,At.getVerticalPos());break;case i.db.LINETYPE.LOOP_START:zt(w,r,Nt.boxMargin,Nt.boxMargin+Nt.boxTextMargin,(t=>At.newLoop(t)));break;case i.db.LINETYPE.LOOP_END:t=At.endLoop();await Mt.drawLoop(h,t,"loop",Nt);At.bumpVerticalPos(t.stopy-At.getVerticalPos());At.models.addLoop(t);break;case i.db.LINETYPE.RECT_START:zt(w,r,Nt.boxMargin,Nt.boxMargin,(t=>At.newLoop(void 0,t.message)));break;case i.db.LINETYPE.RECT_END:t=At.endLoop();L.push(t);At.models.addLoop(t);At.bumpVerticalPos(t.stopy-At.getVerticalPos());break;case i.db.LINETYPE.OPT_START:zt(w,r,Nt.boxMargin,Nt.boxMargin+Nt.boxTextMargin,(t=>At.newLoop(t)));break;case i.db.LINETYPE.OPT_END:t=At.endLoop();await Mt.drawLoop(h,t,"opt",Nt);At.bumpVerticalPos(t.stopy-At.getVerticalPos());At.models.addLoop(t);break;case i.db.LINETYPE.ALT_START:zt(w,r,Nt.boxMargin,Nt.boxMargin+Nt.boxTextMargin,(t=>At.newLoop(t)));break;case i.db.LINETYPE.ALT_ELSE:zt(w,r,Nt.boxMargin+Nt.boxTextMargin,Nt.boxMargin,(t=>At.addSectionToLoop(t)));break;case i.db.LINETYPE.ALT_END:t=At.endLoop();await Mt.drawLoop(h,t,"alt",Nt);At.bumpVerticalPos(t.stopy-At.getVerticalPos());At.models.addLoop(t);break;case i.db.LINETYPE.PAR_START:case i.db.LINETYPE.PAR_OVER_START:zt(w,r,Nt.boxMargin,Nt.boxMargin+Nt.boxTextMargin,(t=>At.newLoop(t)));At.saveVerticalPos();break;case i.db.LINETYPE.PAR_AND:zt(w,r,Nt.boxMargin+Nt.boxTextMargin,Nt.boxMargin,(t=>At.addSectionToLoop(t)));break;case i.db.LINETYPE.PAR_END:t=At.endLoop();await Mt.drawLoop(h,t,"par",Nt);At.bumpVerticalPos(t.stopy-At.getVerticalPos());At.models.addLoop(t);break;case i.db.LINETYPE.AUTONUMBER:k=r.message.start||k;P=r.message.step||P;if(r.message.visible){i.db.enableSequenceNumbers()}else{i.db.disableSequenceNumbers()}break;case i.db.LINETYPE.CRITICAL_START:zt(w,r,Nt.boxMargin,Nt.boxMargin+Nt.boxTextMargin,(t=>At.newLoop(t)));break;case i.db.LINETYPE.CRITICAL_OPTION:zt(w,r,Nt.boxMargin+Nt.boxTextMargin,Nt.boxMargin,(t=>At.addSectionToLoop(t)));break;case i.db.LINETYPE.CRITICAL_END:t=At.endLoop();await Mt.drawLoop(h,t,"critical",Nt);At.bumpVerticalPos(t.stopy-At.getVerticalPos());At.models.addLoop(t);break;case i.db.LINETYPE.BREAK_START:zt(w,r,Nt.boxMargin,Nt.boxMargin+Nt.boxTextMargin,(t=>At.newLoop(t)));break;case i.db.LINETYPE.BREAK_END:t=At.endLoop();await Mt.drawLoop(h,t,"break",Nt);At.bumpVerticalPos(t.stopy-At.getVerticalPos());At.models.addLoop(t);break;default:try{a=r.msgModel;a.starty=At.getVerticalPos();a.sequenceIndex=k;a.sequenceVisible=i.db.showSequenceNumbers();const t=await Ct(h,a);Ht(r,a,t,I,p,u,g);_.push({messageModel:a,lineStartY:t});At.models.addMessage(a)}catch(C){s.l.error("error while drawing message",C)}}if([i.db.LINETYPE.SOLID_OPEN,i.db.LINETYPE.DOTTED_OPEN,i.db.LINETYPE.SOLID,i.db.LINETYPE.DOTTED,i.db.LINETYPE.SOLID_CROSS,i.db.LINETYPE.DOTTED_CROSS,i.db.LINETYPE.SOLID_POINT,i.db.LINETYPE.DOTTED_POINT].includes(r.type)){k=k+P}I++}s.l.debug("createdActors",u);s.l.debug("destroyedActors",g);await Bt(h,p,x,false);for(const s of _){await $t(h,s.messageModel,s.lineStartY,i)}if(Nt.mirrorActors){await Bt(h,p,x,true)}L.forEach((t=>Mt.drawBackgroundRect(h,t)));lt(h,p,x,Nt);for(const s of At.models.boxes){s.height=At.getVerticalPos()-s.y;At.insert(s.x,s.y,s.x+s.width,s.height);s.startx=s.x;s.starty=s.y;s.stopx=s.startx+s.width;s.stopy=s.starty+s.height;s.stroke="rgb(0,0,0, 0.5)";await Mt.drawBox(h,s,Nt)}if(b){At.bumpVerticalPos(Nt.boxMargin)}const M=Vt(h,p,x,d);const{bounds:N}=At.getBounds();let A=N.stopy-N.starty;if(A<M.maxHeight){A=M.maxHeight}let O=A+2*Nt.diagramMarginY;if(Nt.mirrorActors){O=O-Nt.boxMargin+Nt.bottomMarginAdj}let S=N.stopx-N.startx;if(S<M.maxWidth){S=M.maxWidth}const D=S+2*Nt.diagramMarginX;if(m){h.append("text").text(m).attr("x",(N.stopx-N.startx)/2-2*Nt.diagramMarginX).attr("y",-25)}(0,s.i)(h,O,D,Nt.useMaxWidth);const R=m?40:0;h.attr("viewBox",N.startx-Nt.diagramMarginX+" -"+(Nt.diagramMarginY+R)+" "+D+" "+(O+R));s.l.debug(`models:`,At.models)};async function jt(t,e,a){const r={};for(const i of e){if(t[i.to]&&t[i.from]){const e=t[i.to];if(i.placement===a.db.PLACEMENT.LEFTOF&&!e.prevActor){continue}if(i.placement===a.db.PLACEMENT.RIGHTOF&&!e.nextActor){continue}const n=i.placement!==void 0;const o=!n;const c=n?Dt(Nt):St(Nt);const l=i.wrap?s.u.wrapLabel(i.message,Nt.width-2*Nt.wrapPadding,c):i.message;const d=(0,s.G)(l)?await(0,s.H)(i.message,(0,s.c)()):s.u.calculateTextDimensions(l,c);const h=d.width+2*Nt.wrapPadding;if(o&&i.from===e.nextActor){r[i.to]=s.e.getMax(r[i.to]||0,h)}else if(o&&i.from===e.prevActor){r[i.from]=s.e.getMax(r[i.from]||0,h)}else if(o&&i.from===i.to){r[i.from]=s.e.getMax(r[i.from]||0,h/2);r[i.to]=s.e.getMax(r[i.to]||0,h/2)}else if(i.placement===a.db.PLACEMENT.RIGHTOF){r[i.from]=s.e.getMax(r[i.from]||0,h)}else if(i.placement===a.db.PLACEMENT.LEFTOF){r[e.prevActor]=s.e.getMax(r[e.prevActor]||0,h)}else if(i.placement===a.db.PLACEMENT.OVER){if(e.prevActor){r[e.prevActor]=s.e.getMax(r[e.prevActor]||0,h/2)}if(e.nextActor){r[i.from]=s.e.getMax(r[i.from]||0,h/2)}}}}s.l.debug("maxMessageWidthPerActor:",r);return r}const Gt=function(t){let e=0;const a=Rt(Nt);for(const r in t.links){const t=s.u.calculateTextDimensions(r,a);const i=t.width+2*Nt.wrapPadding+2*Nt.boxMargin;if(e<i){e=i}}return e};async function Kt(t,e,a){let r=0;for(const n of Object.keys(t)){const e=t[n];if(e.wrap){e.description=s.u.wrapLabel(e.description,Nt.width-2*Nt.wrapPadding,Rt(Nt))}const a=(0,s.G)(e.description)?await(0,s.H)(e.description,(0,s.c)()):s.u.calculateTextDimensions(e.description,Rt(Nt));e.width=e.wrap?Nt.width:s.e.getMax(Nt.width,a.width+2*Nt.wrapPadding);e.height=e.wrap?s.e.getMax(a.height,Nt.height):Nt.height;r=s.e.getMax(r,e.height)}for(const n in e){const a=t[n];if(!a){continue}const r=t[a.nextActor];if(!r){const t=e[n];const r=t+Nt.actorMargin-a.width/2;a.margin=s.e.getMax(r,Nt.actorMargin);continue}const i=e[n];const o=i+Nt.actorMargin-a.width/2-r.width/2;a.margin=s.e.getMax(o,Nt.actorMargin)}let i=0;a.forEach((e=>{const a=St(Nt);let r=e.actorKeys.reduce(((e,a)=>e+=t[a].width+(t[a].margin||0)),0);r-=2*Nt.boxTextMargin;if(e.wrap){e.name=s.u.wrapLabel(e.name,r-2*Nt.wrapPadding,a)}const n=s.u.calculateTextDimensions(e.name,a);i=s.e.getMax(n.height,i);const o=s.e.getMax(r,n.width+2*Nt.wrapPadding);e.margin=Nt.boxTextMargin;if(r<o){const t=(o-r)/2;e.margin+=t}}));a.forEach((t=>t.textMaxHeight=i));return s.e.getMax(r,Nt.height)}const Xt=async function(t,e,a){const r=e[t.from].x;const i=e[t.to].x;const n=t.wrap&&t.message;let o=(0,s.G)(t.message)?await(0,s.H)(t.message,(0,s.c)()):s.u.calculateTextDimensions(n?s.u.wrapLabel(t.message,Nt.width,Dt(Nt)):t.message,Dt(Nt));const c={width:n?Nt.width:s.e.getMax(Nt.width,o.width+2*Nt.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};if(t.placement===a.db.PLACEMENT.RIGHTOF){c.width=n?s.e.getMax(Nt.width,o.width):s.e.getMax(e[t.from].width/2+e[t.to].width/2,o.width+2*Nt.noteMargin);c.startx=r+(e[t.from].width+Nt.actorMargin)/2}else if(t.placement===a.db.PLACEMENT.LEFTOF){c.width=n?s.e.getMax(Nt.width,o.width+2*Nt.noteMargin):s.e.getMax(e[t.from].width/2+e[t.to].width/2,o.width+2*Nt.noteMargin);c.startx=r-c.width+(e[t.from].width-Nt.actorMargin)/2}else if(t.to===t.from){o=s.u.calculateTextDimensions(n?s.u.wrapLabel(t.message,s.e.getMax(Nt.width,e[t.from].width),Dt(Nt)):t.message,Dt(Nt));c.width=n?s.e.getMax(Nt.width,e[t.from].width):s.e.getMax(e[t.from].width,Nt.width,o.width+2*Nt.noteMargin);c.startx=r+(e[t.from].width-c.width)/2}else{c.width=Math.abs(r+e[t.from].width/2-(i+e[t.to].width/2))+Nt.actorMargin;c.startx=r<i?r+e[t.from].width/2-Nt.actorMargin/2:i+e[t.to].width/2-Nt.actorMargin/2}if(n){c.message=s.u.wrapLabel(t.message,c.width-2*Nt.wrapPadding,Dt(Nt))}s.l.debug(`NM:[${c.startx},${c.stopx},${c.starty},${c.stopy}:${c.width},${c.height}=${t.message}]`);return c};const Jt=function(t,e,a){if(![a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.SOLID,a.db.LINETYPE.DOTTED,a.db.LINETYPE.SOLID_CROSS,a.db.LINETYPE.DOTTED_CROSS,a.db.LINETYPE.SOLID_POINT,a.db.LINETYPE.DOTTED_POINT].includes(t.type)){return{}}const[r,i]=Wt(t.from,e);const[n,o]=Wt(t.to,e);const c=r<=n;const l=c?i:r;let d=c?n:o;const h=Math.abs(n-o)>2;const p=t=>c?-t:t;if(t.from===t.to){d=l}else{if(t.activate&&!h){d+=p(Nt.activationWidth/2-1)}if(![a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)){d+=p(3)}}const u=[r,i,n,o];const g=Math.abs(l-d);if(t.wrap&&t.message){t.message=s.u.wrapLabel(t.message,s.e.getMax(g+2*Nt.wrapPadding,Nt.width),St(Nt))}const f=s.u.calculateTextDimensions(t.message,St(Nt));return{width:s.e.getMax(t.wrap?0:f.width+2*Nt.wrapPadding,g+2*Nt.wrapPadding,Nt.width),height:0,startx:l,stopx:d,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,u),toBounds:Math.max.apply(null,u)}};const Zt=async function(t,e,a,r){const i={};const n=[];let o,c,l;for(const d of t){d.id=s.u.random({length:10});switch(d.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:n.push({id:d.id,msg:d.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:if(d.message){o=n.pop();i[o.id]=o;i[d.id]=o;n.push(o)}break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:o=n.pop();i[o.id]=o;break;case r.db.LINETYPE.ACTIVE_START:{const t=e[d.from?d.from.actor:d.to.actor];const a=qt(d.from?d.from.actor:d.to.actor).length;const s=t.x+t.width/2+(a-1)*Nt.activationWidth/2;const r={startx:s,stopx:s+Nt.activationWidth,actor:d.from.actor,enabled:true};At.activations.push(r)}break;case r.db.LINETYPE.ACTIVE_END:{const t=At.activations.map((t=>t.actor)).lastIndexOf(d.from.actor);delete At.activations.splice(t,1)[0]}break}const t=d.placement!==void 0;if(t){c=await Xt(d,e,r);d.noteModel=c;n.forEach((t=>{o=t;o.from=s.e.getMin(o.from,c.startx);o.to=s.e.getMax(o.to,c.startx+c.width);o.width=s.e.getMax(o.width,Math.abs(o.from-o.to))-Nt.labelBoxWidth}))}else{l=Jt(d,e,r);d.msgModel=l;if(l.startx&&l.stopx&&n.length>0){n.forEach((t=>{o=t;if(l.startx===l.stopx){const t=e[d.from];const a=e[d.to];o.from=s.e.getMin(t.x-l.width/2,t.x-t.width/2,o.from);o.to=s.e.getMax(a.x+l.width/2,a.x+t.width/2,o.to);o.width=s.e.getMax(o.width,Math.abs(o.to-o.from))-Nt.labelBoxWidth}else{o.from=s.e.getMin(l.startx,o.from);o.to=s.e.getMax(l.stopx,o.to);o.width=s.e.getMax(o.width,l.width)-Nt.labelBoxWidth}}))}}}At.activations=[];s.l.debug("Loop type widths:",i);return i};const Qt={bounds:At,drawActors:Bt,drawActorsPopup:Vt,setConf:Ft,draw:Ut};const te={parser:p,db:X,renderer:Qt,styles:Z,init:({wrap:t})=>{X.setWrap(t)}}},35185:(t,e,a)=>{a.d(e,{a:()=>n,b:()=>l,c:()=>c,d:()=>i,e:()=>h,f:()=>o,g:()=>d});var s=a(16750);var r=a(75747);const i=(t,e)=>{const a=t.append("rect");a.attr("x",e.x);a.attr("y",e.y);a.attr("fill",e.fill);a.attr("stroke",e.stroke);a.attr("width",e.width);a.attr("height",e.height);if(e.name){a.attr("name",e.name)}e.rx!==void 0&&a.attr("rx",e.rx);e.ry!==void 0&&a.attr("ry",e.ry);if(e.attrs!==void 0){for(const t in e.attrs){a.attr(t,e.attrs[t])}}e.class!==void 0&&a.attr("class",e.class);return a};const n=(t,e)=>{const a={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};const s=i(t,a);s.lower()};const o=(t,e)=>{const a=e.text.replace(r.J," ");const s=t.append("text");s.attr("x",e.x);s.attr("y",e.y);s.attr("class","legend");s.style("text-anchor",e.anchor);e.class!==void 0&&s.attr("class",e.class);const i=s.append("tspan");i.attr("x",e.x+e.textMargin*2);i.text(a);return s};const c=(t,e,a,r)=>{const i=t.append("image");i.attr("x",e);i.attr("y",a);const n=(0,s.Jf)(r);i.attr("xlink:href",n)};const l=(t,e,a,r)=>{const i=t.append("use");i.attr("x",e);i.attr("y",a);const n=(0,s.Jf)(r);i.attr("xlink:href",`#${n}`)};const d=()=>{const t={x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0};return t};const h=()=>{const t={x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:true};return t}}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[8313],{48313:(t,e,n)=>{n.r(e);n.d(e,{DocInput:()=>T,HighlightStyle:()=>Ft,IndentContext:()=>$,LRLanguage:()=>v,Language:()=>k,LanguageDescription:()=>M,LanguageSupport:()=>B,ParseContext:()=>C,StreamLanguage:()=>de,StringStream:()=>fe,TreeIndentContext:()=>K,bidiIsolates:()=>Be,bracketMatching:()=>ee,bracketMatchingHandle:()=>ne,codeFolding:()=>It,continuedIndent:()=>et,defaultHighlightStyle:()=>Gt,defineLanguageFacet:()=>g,delimitedIndent:()=>Y,ensureSyntaxTree:()=>x,flatIndent:()=>tt,foldAll:()=>yt,foldCode:()=>vt,foldEffect:()=>ut,foldGutter:()=>Mt,foldInside:()=>ot,foldKeymap:()=>At,foldNodeProp:()=>st,foldService:()=>it,foldState:()=>pt,foldable:()=>ft,foldedRanges:()=>gt,forceParsing:()=>S,getIndentUnit:()=>V,getIndentation:()=>W,highlightingFor:()=>$t,indentNodeProp:()=>z,indentOnInput:()=>rt,indentRange:()=>U,indentService:()=>R,indentString:()=>j,indentUnit:()=>F,language:()=>L,languageDataProp:()=>p,matchBrackets:()=>se,sublanguageProp:()=>m,syntaxHighlighting:()=>Ut,syntaxParserRunning:()=>P,syntaxTree:()=>b,syntaxTreeAvailable:()=>y,toggleFold:()=>Tt,unfoldAll:()=>St,unfoldCode:()=>bt,unfoldEffect:()=>ct});var r=n(66575);var i=n.n(r);var s=n(71674);var o=n.n(s);var a=n(22819);var l=n.n(a);var f=n(45145);var h=n.n(f);var u=n(68308);var c=n.n(u);var d;const p=new r.NodeProp;function g(t){return s.Facet.define({combine:t?e=>e.concat(t):undefined})}const m=new r.NodeProp;class k{constructor(t,e,n=[],r=""){this.data=t;this.name=r;if(!s.EditorState.prototype.hasOwnProperty("tree"))Object.defineProperty(s.EditorState.prototype,"tree",{get(){return b(this)}});this.parser=e;this.extension=[L.of(this),s.EditorState.languageData.of(((t,e,n)=>{let r=w(t,e,n),i=r.type.prop(p);if(!i)return[];let s=t.facet(i),o=r.type.prop(m);if(o){let i=r.resolve(e-r.from,n);for(let e of o)if(e.test(i,t)){let n=t.facet(e.facet);return e.type=="replace"?n:n.concat(s)}}return s}))].concat(n)}isActiveAt(t,e,n=-1){return w(t,e,n).type.prop(p)==this.data}findRegions(t){let e=t.facet(L);if((e===null||e===void 0?void 0:e.data)==this.data)return[{from:0,to:t.doc.length}];if(!e||!e.allowsNesting)return[];let n=[];let i=(t,e)=>{if(t.prop(p)==this.data){n.push({from:e,to:e+t.length});return}let s=t.prop(r.NodeProp.mounted);if(s){if(s.tree.prop(p)==this.data){if(s.overlay)for(let t of s.overlay)n.push({from:t.from+e,to:t.to+e});else n.push({from:e,to:e+t.length});return}else if(s.overlay){let t=n.length;i(s.tree,s.overlay[0].from+e);if(n.length>t)return}}for(let n=0;n<t.children.length;n++){let s=t.children[n];if(s instanceof r.Tree)i(s,t.positions[n]+e)}};i(b(t),0);return n}get allowsNesting(){return true}}k.setState=s.StateEffect.define();function w(t,e,n){let i=t.facet(L),s=b(t).topNode;if(!i||i.allowsNesting){for(let t=s;t;t=t.enter(e,n,r.IterMode.ExcludeBuffers))if(t.type.isTop)s=t}return s}class v extends k{constructor(t,e,n){super(t,e,[],n);this.parser=e}static define(t){let e=g(t.languageData);return new v(e,t.parser.configure({props:[p.add((t=>t.isTop?e:undefined))]}),t.name)}configure(t,e){return new v(this.data,this.parser.configure(t),e||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function b(t){let e=t.field(k.state,false);return e?e.tree:r.Tree.empty}function x(t,e,n=50){var r;let i=(r=t.field(k.state,false))===null||r===void 0?void 0:r.context;if(!i)return null;let s=i.viewport;i.updateViewport({from:0,to:e});let o=i.isDone(e)||i.work(n,e)?i.tree:null;i.updateViewport(s);return o}function y(t,e=t.doc.length){var n;return((n=t.field(k.state,false))===null||n===void 0?void 0:n.context.isDone(e))||false}function S(t,e=t.viewport.to,n=100){let r=x(t.state,e,n);if(r!=b(t.state))t.dispatch({});return!!r}function P(t){var e;return((e=t.plugin(E))===null||e===void 0?void 0:e.isWorking())||false}class T{constructor(t){this.doc=t;this.cursorPos=0;this.string="";this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){this.string=this.cursor.next(t-this.cursorPos).value;this.cursorPos=t+this.string.length;return this.cursorPos-this.string.length}chunk(t){this.syncTo(t);return this.string}get lineChunks(){return true}read(t,e){let n=this.cursorPos-this.string.length;if(t<n||e>=this.cursorPos)return this.doc.sliceString(t,e);else return this.string.slice(t-n,e-n)}}let A=null;class C{constructor(t,e,n=[],r,i,s,o,a){this.parser=t;this.state=e;this.fragments=n;this.tree=r;this.treeLen=i;this.viewport=s;this.skipped=o;this.scheduleOn=a;this.parse=null;this.tempSkipped=[]}static create(t,e,n){return new C(t,e,[],r.Tree.empty,0,n,[],null)}startParse(){return this.parser.startParse(new T(this.state.doc),this.fragments)}work(t,e){if(e!=null&&e>=this.state.doc.length)e=undefined;if(this.tree!=r.Tree.empty&&this.isDone(e!==null&&e!==void 0?e:this.state.doc.length)){this.takeTree();return true}return this.withContext((()=>{var n;if(typeof t=="number"){let e=Date.now()+t;t=()=>Date.now()>e}if(!this.parse)this.parse=this.startParse();if(e!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&e<this.state.doc.length)this.parse.stopAt(e);for(;;){let i=this.parse.advance();if(i){this.fragments=this.withoutTempSkipped(r.TreeFragment.addTree(i,this.fragments,this.parse.stoppedAt!=null));this.treeLen=(n=this.parse.stoppedAt)!==null&&n!==void 0?n:this.state.doc.length;this.tree=i;this.parse=null;if(this.treeLen<(e!==null&&e!==void 0?e:this.state.doc.length))this.parse=this.startParse();else return true}if(t())return false}}))}takeTree(){let t,e;if(this.parse&&(t=this.parse.parsedPos)>=this.treeLen){if(this.parse.stoppedAt==null||this.parse.stoppedAt>t)this.parse.stopAt(t);this.withContext((()=>{while(!(e=this.parse.advance())){}}));this.treeLen=t;this.tree=e;this.fragments=this.withoutTempSkipped(r.TreeFragment.addTree(this.tree,this.fragments,true));this.parse=null}}withContext(t){let e=A;A=this;try{return t()}finally{A=e}}withoutTempSkipped(t){for(let e;e=this.tempSkipped.pop();)t=D(t,e.from,e.to);return t}changes(t,e){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:a}=this;this.takeTree();if(!t.empty){let e=[];t.iterChangedRanges(((t,n,r,i)=>e.push({fromA:t,toA:n,fromB:r,toB:i})));n=r.TreeFragment.applyChanges(n,e);i=r.Tree.empty;s=0;o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)};if(this.skipped.length){a=[];for(let e of this.skipped){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);if(n<r)a.push({from:n,to:r})}}}return new C(this.parser,e,n,i,s,o,a,this.scheduleOn)}updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.to)return false;this.viewport=t;let e=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:e,to:r}=this.skipped[n];if(e<t.to&&r>t.from){this.fragments=D(this.fragments,e,r);this.skipped.splice(n--,1)}}if(this.skipped.length>=e)return false;this.reset();return true}reset(){if(this.parse){this.takeTree();this.parse=null}}skipUntilInView(t,e){this.skipped.push({from:t,to:e})}static getSkippingParser(t){return new class extends r.Parser{createParse(e,n,i){let s=i[0].from,o=i[i.length-1].to;let a={parsedPos:s,advance(){let e=A;if(e){for(let t of i)e.tempSkipped.push(t);if(t)e.scheduleOn=e.scheduleOn?Promise.all([e.scheduleOn,t]):t}this.parsedPos=o;return new r.Tree(r.NodeType.none,[],[],o-s)},stoppedAt:null,stopAt(){}};return a}}}isDone(t){t=Math.min(t,this.state.doc.length);let e=this.fragments;return this.treeLen>=t&&e.length&&e[0].from==0&&e[0].to>=t}static get(){return A}}function D(t,e,n){return r.TreeFragment.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class I{constructor(t){this.context=t;this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let e=this.context.changes(t.changes,t.state);let n=this.context.treeLen==t.startState.doc.length?undefined:Math.max(t.changes.mapPos(this.context.treeLen),e.viewport.to);if(!e.work(20,n))e.takeTree();return new I(e)}static init(t){let e=Math.min(3e3,t.doc.length);let n=C.create(t.facet(L).parser,t,{from:0,to:e});if(!n.work(20,e))n.takeTree();return new I(n)}}k.state=s.StateField.define({create:I.init,update(t,e){for(let n of e.effects)if(n.is(k.setState))return n.value;if(e.startState.facet(L)!=e.state.facet(L))return I.init(e.state);return t.apply(e)}});let N=t=>{let e=setTimeout((()=>t()),500);return()=>clearTimeout(e)};if(typeof requestIdleCallback!="undefined")N=t=>{let e=-1,n=setTimeout((()=>{e=requestIdleCallback(t,{timeout:500-100})}),100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)};const O=typeof navigator!="undefined"&&((d=navigator.scheduling)===null||d===void 0?void 0:d.isInputPending)?()=>navigator.scheduling.isInputPending():null;const E=a.ViewPlugin.fromClass(class t{constructor(t){this.view=t;this.working=null;this.workScheduled=0;this.chunkEnd=-1;this.chunkBudget=-1;this.work=this.work.bind(this);this.scheduleWork()}update(t){let e=this.view.state.field(k.state).context;if(e.updateViewport(t.view.viewport)||this.view.viewport.to>e.treeLen)this.scheduleWork();if(t.docChanged||t.selectionSet){if(this.view.hasFocus)this.chunkBudget+=50;this.scheduleWork()}this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field(k.state);if(e.tree!=e.context.tree||!e.context.isDone(t.doc.length))this.working=N(this.work)}work(t){this.working=null;let e=Date.now();if(this.chunkEnd<e&&(this.chunkEnd<0||this.view.hasFocus)){this.chunkEnd=e+3e4;this.chunkBudget=3e3}if(this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,i=n.field(k.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,t&&!O?Math.max(25,t.timeRemaining()-5):1e9);let o=i.context.treeLen<r&&n.doc.length>r+1e3;let a=i.context.work((()=>O&&O()||Date.now()>s),r+(o?0:1e5));this.chunkBudget-=Date.now()-e;if(a||this.chunkBudget<=0){i.context.takeTree();this.view.dispatch({effects:k.setState.of(new I(i.context))})}if(this.chunkBudget>0&&!(a&&!o))this.scheduleWork();this.checkAsyncSchedule(i.context)}checkAsyncSchedule(t){if(t.scheduleOn){this.workScheduled++;t.scheduleOn.then((()=>this.scheduleWork())).catch((t=>(0,a.logException)(this.view.state,t))).then((()=>this.workScheduled--));t.scheduleOn=null}}destroy(){if(this.working)this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}});const L=s.Facet.define({combine(t){return t.length?t[0]:null},enables:t=>[k.state,E,a.EditorView.contentAttributes.compute([t],(e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}}))]});class B{constructor(t,e=[]){this.language=t;this.support=e;this.extension=[t,e]}}class M{constructor(t,e,n,r,i,s=undefined){this.name=t;this.alias=e;this.extensions=n;this.filename=r;this.loadFunc=i;this.support=s;this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then((t=>this.support=t),(t=>{this.loading=null;throw t})))}static of(t){let{load:e,support:n}=t;if(!e){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");e=()=>Promise.resolve(n)}return new M(t.name,(t.alias||[]).concat(t.name).map((t=>t.toLowerCase())),t.extensions||[],t.filename,e,n)}static matchFilename(t,e){for(let r of t)if(r.filename&&r.filename.test(e))return r;let n=/\.([^.]+)$/.exec(e);if(n)for(let r of t)if(r.extensions.indexOf(n[1])>-1)return r;return null}static matchLanguageName(t,e,n=true){e=e.toLowerCase();for(let r of t)if(r.alias.some((t=>t==e)))return r;if(n)for(let r of t)for(let t of r.alias){let n=e.indexOf(t);if(n>-1&&(t.length>2||!/\w/.test(e[n-1])&&!/\w/.test(e[n+t.length])))return r}return null}}const R=s.Facet.define();const F=s.Facet.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some((t=>t!=e[0])))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function V(t){let e=t.facet(F);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function j(t,e){let n="",r=t.tabSize,i=t.facet(F)[0];if(i=="\t"){while(e>=r){n+="\t";e-=r}i=" "}for(let s=0;s<e;s++)n+=i;return n}function W(t,e){if(t instanceof s.EditorState)t=new $(t);for(let r of t.state.facet(R)){let n=r(t,e);if(n!==undefined)return n}let n=b(t.state);return n.length>=e?H(t,n,e):null}function U(t,e,n){let r=Object.create(null);let i=new $(t,{overrideIndentation:t=>{var e;return(e=r[t])!==null&&e!==void 0?e:-1}});let s=[];for(let o=e;o<=n;){let e=t.doc.lineAt(o);o=e.to+1;let n=W(i,e.from);if(n==null)continue;if(!/\S/.test(e.text))n=0;let a=/^\s*/.exec(e.text)[0];let l=j(t,n);if(a!=l){r[e.from]=n;s.push({from:e.from,to:e.from+a.length,insert:l})}}return t.changes(s)}class ${constructor(t,e={}){this.state=t;this.options=e;this.unit=V(t)}lineAt(t,e=1){let n=this.state.doc.lineAt(t);let{simulateBreak:r,simulateDoubleBreak:i}=this.options;if(r!=null&&r>=n.from&&r<=n.to){if(i&&r==t)return{text:"",from:t};else if(e<0?r<t:r<=t)return{text:n.text.slice(r-n.from),from:r};else return{text:n.text.slice(0,r-n.from),from:n.from}}return n}textAfterPos(t,e=1){if(this.options.simulateDoubleBreak&&t==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(t,e);return n.slice(t-r,Math.min(n.length,t+100-r))}column(t,e=1){let{text:n,from:r}=this.lineAt(t,e);let i=this.countColumn(n,t-r);let s=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;if(s>-1)i+=s-this.countColumn(n,n.search(/\S|$/));return i}countColumn(t,e=t.length){return(0,s.countColumn)(t,this.state.tabSize,e)}lineIndent(t,e=1){let{text:n,from:r}=this.lineAt(t,e);let i=this.options.overrideIndentation;if(i){let t=i(r);if(t>-1)return t}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const z=new r.NodeProp;function H(t,e,n){let r=e.resolveStack(n);let i=r.node.enterUnfinishedNodesBefore(n);if(i!=r.node){let t=[];for(let e=i;e!=r.node;e=e.parent)t.push(e);for(let e=t.length-1;e>=0;e--)r={node:t[e],next:r}}return G(r,t,n)}function G(t,e,n){for(let r=t;r;r=r.next){let t=q(r.node);if(t)return t(K.create(e,n,r))}return 0}function _(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function q(t){let e=t.type.prop(z);if(e)return e;let n=t.firstChild,i;if(n&&(i=n.type.prop(r.NodeProp.closedBy))){let e=t.lastChild,n=e&&i.indexOf(e.name)>-1;return t=>Z(t,true,1,undefined,n&&!_(t)?e.from:undefined)}return t.parent==null?J:null}function J(){return 0}class K extends ${constructor(t,e,n){super(t.state,t.options);this.base=t;this.pos=e;this.context=n}get node(){return this.context.node}static create(t,e,n){return new K(t,e,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let e=this.state.doc.lineAt(t.from);for(;;){let n=t.resolve(e.from);while(n.parent&&n.parent.from==n.from)n=n.parent;if(Q(n,t))break;e=this.state.doc.lineAt(n.from)}return this.lineIndent(e.from)}continue(){return G(this.context.next,this.base,this.pos)}}function Q(t,e){for(let n=e;n;n=n.parent)if(t==n)return true;return false}function X(t){let e=t.node;let n=e.childAfter(e.from),r=e.lastChild;if(!n)return null;let i=t.options.simulateBreak;let s=t.state.doc.lineAt(n.from);let o=i==null||i<=s.from?s.to:Math.min(s.to,i);for(let a=n.to;;){let t=e.childAfter(a);if(!t||t==r)return null;if(!t.type.isSkipped)return t.from<o?n:null;a=t.to}}function Y({closing:t,align:e=true,units:n=1}){return r=>Z(r,e,n,t)}function Z(t,e,n,r,i){let s=t.textAfter,o=s.match(/^\s*/)[0].length;let a=r&&s.slice(o,o+r.length)==r||i==t.pos+o;let l=e?X(t):null;if(l)return a?t.column(l.from):t.column(l.to);return t.baseIndent+(a?0:t.unit*n)}const tt=t=>t.baseIndent;function et({except:t,units:e=1}={}){return n=>{let r=t&&t.test(n.textAfter);return n.baseIndent+(r?0:e*n.unit)}}const nt=200;function rt(){return s.EditorState.transactionFilter.of((t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:r}=t.newSelection.main,i=n.lineAt(r);if(r>i.from+nt)return t;let s=n.sliceString(i.from,r);if(!e.some((t=>t.test(s))))return t;let{state:o}=t,a=-1,l=[];for(let{head:f}of o.selection.ranges){let t=o.doc.lineAt(f);if(t.from==a)continue;a=t.from;let e=W(o,t.from);if(e==null)continue;let n=/^\s*/.exec(t.text)[0];let r=j(o,e);if(n!=r)l.push({from:t.from,to:t.from+n.length,insert:r})}return l.length?[t,{changes:l,sequential:true}]:t}))}const it=s.Facet.define();const st=new r.NodeProp;function ot(t){let e=t.firstChild,n=t.lastChild;return e&&e.to<n.from?{from:e.to,to:n.type.isError?t.to:n.from}:null}function at(t,e,n){let r=b(t);if(r.length<n)return null;let i=r.resolveStack(n,1);let s=null;for(let o=i;o;o=o.next){let i=o.node;if(i.to<=n||i.from>n)continue;if(s&&i.from<e)break;let a=i.type.prop(st);if(a&&(i.to<r.length-50||r.length==t.doc.length||!lt(i))){let r=a(i,t);if(r&&r.from<=n&&r.from>=e&&r.to>n)s=r}}return s}function lt(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function ft(t,e,n){for(let r of t.facet(it)){let i=r(t,e,n);if(i)return i}return at(t,e,n)}function ht(t,e){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return n>=r?undefined:{from:n,to:r}}const ut=s.StateEffect.define({map:ht});const ct=s.StateEffect.define({map:ht});function dt(t){let e=[];for(let{head:n}of t.state.selection.ranges){if(e.some((t=>t.from<=n&&t.to>=n)))continue;e.push(t.lineBlockAt(n))}return e}const pt=s.StateField.define({create(){return a.Decoration.none},update(t,e){t=t.map(e.changes);for(let n of e.effects){if(n.is(ut)&&!kt(t,n.value.from,n.value.to)){let{preparePlaceholder:r}=e.state.facet(Dt);let i=!r?Ot:a.Decoration.replace({widget:new Et(r(e.state,n.value))});t=t.update({add:[i.range(n.value.from,n.value.to)]})}else if(n.is(ct)){t=t.update({filter:(t,e)=>n.value.from!=t||n.value.to!=e,filterFrom:n.value.from,filterTo:n.value.to})}}if(e.selection){let n=false,{head:r}=e.selection.main;t.between(r,r,((t,e)=>{if(t<r&&e>r)n=true}));if(n)t=t.update({filterFrom:r,filterTo:r,filter:(t,e)=>e<=r||t>=r})}return t},provide:t=>a.EditorView.decorations.from(t),toJSON(t,e){let n=[];t.between(0,e.doc.length,((t,e)=>{n.push(t,e)}));return n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n<t.length;){let r=t[n++],i=t[n++];if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid JSON for fold state");e.push(Ot.range(r,i))}return a.Decoration.set(e,true)}});function gt(t){return t.field(pt,false)||s.RangeSet.empty}function mt(t,e,n){var r;let i=null;(r=t.field(pt,false))===null||r===void 0?void 0:r.between(e,n,((t,e)=>{if(!i||i.from>t)i={from:t,to:e}}));return i}function kt(t,e,n){let r=false;t.between(e,e,((t,i)=>{if(t==e&&i==n)r=true}));return r}function wt(t,e){return t.field(pt,false)?e:e.concat(s.StateEffect.appendConfig.of(It()))}const vt=t=>{for(let e of dt(t)){let n=ft(t.state,e.from,e.to);if(n){t.dispatch({effects:wt(t.state,[ut.of(n),xt(t,n)])});return true}}return false};const bt=t=>{if(!t.state.field(pt,false))return false;let e=[];for(let n of dt(t)){let r=mt(t.state,n.from,n.to);if(r)e.push(ct.of(r),xt(t,r,false))}if(e.length)t.dispatch({effects:e});return e.length>0};function xt(t,e,n=true){let r=t.state.doc.lineAt(e.from).number,i=t.state.doc.lineAt(e.to).number;return a.EditorView.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${i}.`)}const yt=t=>{let{state:e}=t,n=[];for(let r=0;r<e.doc.length;){let i=t.lineBlockAt(r),s=ft(e,i.from,i.to);if(s)n.push(ut.of(s));r=(s?t.lineBlockAt(s.to):i).to+1}if(n.length)t.dispatch({effects:wt(t.state,n)});return!!n.length};const St=t=>{let e=t.state.field(pt,false);if(!e||!e.size)return false;let n=[];e.between(0,t.state.doc.length,((t,e)=>{n.push(ct.of({from:t,to:e}))}));t.dispatch({effects:n});return true};function Pt(t,e){for(let n=e;;){let r=ft(t.state,n.from,n.to);if(r&&r.to>e.from)return r;if(!n.from)return null;n=t.lineBlockAt(n.from-1)}}const Tt=t=>{let e=[];for(let n of dt(t)){let r=mt(t.state,n.from,n.to);if(r){e.push(ct.of(r),xt(t,r,false))}else{let r=Pt(t,n);if(r)e.push(ut.of(r),xt(t,r))}}if(e.length>0)t.dispatch({effects:wt(t.state,e)});return!!e.length};const At=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:vt},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:bt},{key:"Ctrl-Alt-[",run:yt},{key:"Ctrl-Alt-]",run:St}];const Ct={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"};const Dt=s.Facet.define({combine(t){return(0,s.combineConfig)(t,Ct)}});function It(t){let e=[pt,Rt];if(t)e.push(Dt.of(t));return e}function Nt(t,e){let{state:n}=t,r=n.facet(Dt);let i=e=>{let n=t.lineBlockAt(t.posAtDOM(e.target));let r=mt(t.state,n.from,n.to);if(r)t.dispatch({effects:ct.of(r)});e.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(t,i,e);let s=document.createElement("span");s.textContent=r.placeholderText;s.setAttribute("aria-label",n.phrase("folded code"));s.title=n.phrase("unfold");s.className="cm-foldPlaceholder";s.onclick=i;return s}const Ot=a.Decoration.replace({widget:new class extends a.WidgetType{toDOM(t){return Nt(t,null)}}});class Et extends a.WidgetType{constructor(t){super();this.value=t}eq(t){return this.value==t.value}toDOM(t){return Nt(t,this.value)}}const Lt={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>false};class Bt extends a.GutterMarker{constructor(t,e){super();this.config=t;this.open=e}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let e=document.createElement("span");e.textContent=this.open?this.config.openText:this.config.closedText;e.title=t.state.phrase(this.open?"Fold line":"Unfold line");return e}}function Mt(t={}){let e=Object.assign(Object.assign({},Lt),t);let n=new Bt(e,true),r=new Bt(e,false);let i=a.ViewPlugin.fromClass(class{constructor(t){this.from=t.viewport.from;this.markers=this.buildMarkers(t)}update(t){if(t.docChanged||t.viewportChanged||t.startState.facet(L)!=t.state.facet(L)||t.startState.field(pt,false)!=t.state.field(pt,false)||b(t.startState)!=b(t.state)||e.foldingChanged(t))this.markers=this.buildMarkers(t.view)}buildMarkers(t){let e=new s.RangeSetBuilder;for(let i of t.viewportLineBlocks){let s=mt(t.state,i.from,i.to)?r:ft(t.state,i.from,i.to)?n:null;if(s)e.add(i.from,i.from,s)}return e.finish()}});let{domEventHandlers:o}=e;return[i,(0,a.gutter)({class:"cm-foldGutter",markers(t){var e;return((e=t.plugin(i))===null||e===void 0?void 0:e.markers)||s.RangeSet.empty},initialSpacer(){return new Bt(e,false)},domEventHandlers:Object.assign(Object.assign({},o),{click:(t,e,n)=>{if(o.click&&o.click(t,e,n))return true;let r=mt(t.state,e.from,e.to);if(r){t.dispatch({effects:ct.of(r)});return true}let i=ft(t.state,e.from,e.to);if(i){t.dispatch({effects:ut.of(i)});return true}return false}})}),It()]}const Rt=a.EditorView.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Ft{constructor(t,e){this.specs=t;let n;function r(t){let e=u.StyleModule.newName();(n||(n=Object.create(null)))["."+e]=t;return e}const i=typeof e.all=="string"?e.all:e.all?r(e.all):undefined;const s=e.scope;this.scope=s instanceof k?t=>t.prop(p)==s.data:s?t=>t==s:undefined;this.style=(0,f.tagHighlighter)(t.map((t=>({tag:t.tag,class:t.class||r(Object.assign({},t,{tag:null}))}))),{all:i}).style;this.module=n?new u.StyleModule(n):null;this.themeType=e.themeType}static define(t,e){return new Ft(t,e||{})}}const Vt=s.Facet.define();const jt=s.Facet.define({combine(t){return t.length?[t[0]]:null}});function Wt(t){let e=t.facet(Vt);return e.length?e:t.facet(jt)}function Ut(t,e){let n=[Ht],r;if(t instanceof Ft){if(t.module)n.push(a.EditorView.styleModule.of(t.module));r=t.themeType}if(e===null||e===void 0?void 0:e.fallback)n.push(jt.of(t));else if(r)n.push(Vt.computeN([a.EditorView.darkTheme],(e=>e.facet(a.EditorView.darkTheme)==(r=="dark")?[t]:[])));else n.push(Vt.of(t));return n}function $t(t,e,n){let r=Wt(t);let i=null;if(r)for(let s of r){if(!s.scope||n&&s.scope(n)){let t=s.style(e);if(t)i=i?i+" "+t:t}}return i}class zt{constructor(t){this.markCache=Object.create(null);this.tree=b(t.state);this.decorations=this.buildDeco(t,Wt(t.state));this.decoratedTo=t.viewport.to}update(t){let e=b(t.state),n=Wt(t.state);let r=n!=Wt(t.startState);let{viewport:i}=t.view,s=t.changes.mapPos(this.decoratedTo,1);if(e.length<i.to&&!r&&e.type==this.tree.type&&s>=i.to){this.decorations=this.decorations.map(t.changes);this.decoratedTo=s}else if(e!=this.tree||t.viewportChanged||r){this.tree=e;this.decorations=this.buildDeco(t.view,n);this.decoratedTo=i.to}}buildDeco(t,e){if(!e||!this.tree.length)return a.Decoration.none;let n=new s.RangeSetBuilder;for(let{from:r,to:i}of t.visibleRanges){(0,f.highlightTree)(this.tree,e,((t,e,r)=>{n.add(t,e,this.markCache[r]||(this.markCache[r]=a.Decoration.mark({class:r})))}),r,i)}return n.finish()}}const Ht=s.Prec.high(a.ViewPlugin.fromClass(zt,{decorations:t=>t.decorations}));const Gt=Ft.define([{tag:f.tags.meta,color:"#404740"},{tag:f.tags.link,textDecoration:"underline"},{tag:f.tags.heading,textDecoration:"underline",fontWeight:"bold"},{tag:f.tags.emphasis,fontStyle:"italic"},{tag:f.tags.strong,fontWeight:"bold"},{tag:f.tags.strikethrough,textDecoration:"line-through"},{tag:f.tags.keyword,color:"#708"},{tag:[f.tags.atom,f.tags.bool,f.tags.url,f.tags.contentSeparator,f.tags.labelName],color:"#219"},{tag:[f.tags.literal,f.tags.inserted],color:"#164"},{tag:[f.tags.string,f.tags.deleted],color:"#a11"},{tag:[f.tags.regexp,f.tags.escape,f.tags.special(f.tags.string)],color:"#e40"},{tag:f.tags.definition(f.tags.variableName),color:"#00f"},{tag:f.tags.local(f.tags.variableName),color:"#30a"},{tag:[f.tags.typeName,f.tags.namespace],color:"#085"},{tag:f.tags.className,color:"#167"},{tag:[f.tags.special(f.tags.variableName),f.tags.macroName],color:"#256"},{tag:f.tags.definition(f.tags.propertyName),color:"#00c"},{tag:f.tags.comment,color:"#940"},{tag:f.tags.invalid,color:"#f00"}]);const _t=a.EditorView.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}});const qt=1e4,Jt="()[]{}";const Kt=s.Facet.define({combine(t){return(0,s.combineConfig)(t,{afterCursor:true,brackets:Jt,maxScanDistance:qt,renderMatch:Yt})}});const Qt=a.Decoration.mark({class:"cm-matchingBracket"}),Xt=a.Decoration.mark({class:"cm-nonmatchingBracket"});function Yt(t){let e=[];let n=t.matched?Qt:Xt;e.push(n.range(t.start.from,t.start.to));if(t.end)e.push(n.range(t.end.from,t.end.to));return e}const Zt=s.StateField.define({create(){return a.Decoration.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[];let r=e.state.facet(Kt);for(let i of e.state.selection.ranges){if(!i.empty)continue;let t=se(e.state,i.head,-1,r)||i.head>0&&se(e.state,i.head-1,1,r)||r.afterCursor&&(se(e.state,i.head,1,r)||i.head<e.state.doc.length&&se(e.state,i.head+1,-1,r));if(t)n=n.concat(r.renderMatch(t,e.state))}return a.Decoration.set(n,true)},provide:t=>a.EditorView.decorations.from(t)});const te=[Zt,_t];function ee(t={}){return[Kt.of(t),te]}const ne=new r.NodeProp;function re(t,e,n){let i=t.prop(e<0?r.NodeProp.openedBy:r.NodeProp.closedBy);if(i)return i;if(t.name.length==1){let r=n.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[n[r+e]]}return null}function ie(t){let e=t.type.prop(ne);return e?e(t.node):t}function se(t,e,n,r={}){let i=r.maxScanDistance||qt,s=r.brackets||Jt;let o=b(t),a=o.resolveInner(e,n);for(let l=a;l;l=l.parent){let r=re(l.type,n,s);if(r&&l.from<l.to){let i=ie(l);if(i&&(n>0?e>=i.from&&e<i.to:e>i.from&&e<=i.to))return oe(t,e,n,l,i,r,s)}}return ae(t,e,n,o,a.type,i,s)}function oe(t,e,n,r,i,s,o){let a=r.parent,l={from:i.from,to:i.to};let f=0,h=a===null||a===void 0?void 0:a.cursor();if(h&&(n<0?h.childBefore(r.from):h.childAfter(r.to)))do{if(n<0?h.to<=r.from:h.from>=r.to){if(f==0&&s.indexOf(h.type.name)>-1&&h.from<h.to){let t=ie(h);return{start:l,end:t?{from:t.from,to:t.to}:undefined,matched:true}}else if(re(h.type,n,o)){f++}else if(re(h.type,-n,o)){if(f==0){let t=ie(h);return{start:l,end:t&&t.from<t.to?{from:t.from,to:t.to}:undefined,matched:false}}f--}}}while(n<0?h.prevSibling():h.nextSibling());return{start:l,matched:false}}function ae(t,e,n,r,i,s,o){let a=n<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1);let l=o.indexOf(a);if(l<0||l%2==0!=n>0)return null;let f={from:n<0?e-1:e,to:n>0?e+1:e};let h=t.doc.iterRange(e,n>0?t.doc.length:0),u=0;for(let c=0;!h.next().done&&c<=s;){let t=h.value;if(n<0)c+=t.length;let s=e+c*n;for(let e=n>0?0:t.length-1,a=n>0?t.length:-1;e!=a;e+=n){let a=o.indexOf(t[e]);if(a<0||r.resolveInner(s+e,1).type!=i)continue;if(a%2==0==n>0){u++}else if(u==1){return{start:f,end:{from:s+e,to:s+e+1},matched:a>>1==l>>1}}else{u--}}if(n>0)c+=t.length}return h.done?{start:f,matched:false}:null}function le(t,e,n,r=0,i=0){if(e==null){e=t.search(/[^\s\u00a0]/);if(e==-1)e=t.length}let s=i;for(let o=r;o<e;o++){if(t.charCodeAt(o)==9)s+=n-s%n;else s++}return s}class fe{constructor(t,e,n,r){this.string=t;this.tabSize=e;this.indentUnit=n;this.overrideIndent=r;this.pos=0;this.start=0;this.lastColumnPos=0;this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||undefined}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(t){let e=this.string.charAt(this.pos);let n;if(typeof t=="string")n=e==t;else n=e&&(t instanceof RegExp?t.test(e):t(e));if(n){++this.pos;return e}}eatWhile(t){let e=this.pos;while(this.eat(t)){}return this.pos>e}eatSpace(){let t=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>t}skipToEnd(){this.pos=this.string.length}skipTo(t){let e=this.string.indexOf(t,this.pos);if(e>-1){this.pos=e;return true}}backUp(t){this.pos-=t}column(){if(this.lastColumnPos<this.start){this.lastColumnValue=le(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue);this.lastColumnPos=this.start}return this.lastColumnValue}indentation(){var t;return(t=this.overrideIndent)!==null&&t!==void 0?t:le(this.string,null,this.tabSize)}match(t,e,n){if(typeof t=="string"){let r=t=>n?t.toLowerCase():t;let i=this.string.substr(this.pos,t.length);if(r(i)==r(t)){if(e!==false)this.pos+=t.length;return true}else return null}else{let n=this.string.slice(this.pos).match(t);if(n&&n.index>0)return null;if(n&&e!==false)this.pos+=n[0].length;return n}}current(){return this.string.slice(this.start,this.pos)}}function he(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>true),copyState:t.copyState||ue,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||ve}}function ue(t){if(typeof t!="object")return t;let e={};for(let n in t){let r=t[n];e[n]=r instanceof Array?r.slice():r}return e}const ce=new WeakMap;class de extends k{constructor(t){let e=g(t.languageData);let n=he(t),i;let s=new class extends r.Parser{createParse(t,e,n){return new ke(i,t,e,n)}};super(e,s,[R.of(((t,e)=>this.getIndent(t,e)))],t.name);this.topNode=Ie(e);i=this;this.streamParser=n;this.stateAfter=new r.NodeProp({perNode:true});this.tokenTable=t.tokenTable?new Te(n.tokenTable):Ae}static define(t){return new de(t)}getIndent(t,e){let n=b(t.state),r=n.resolve(e);while(r&&r.type!=this.topNode)r=r.parent;if(!r)return null;let i=undefined;let{overrideIndentation:s}=t.options;if(s){i=ce.get(t.state);if(i!=null&&i<e-1e4)i=undefined}let o=pe(this,n,0,r.from,i!==null&&i!==void 0?i:e),a,l;if(o){l=o.state;a=o.pos+1}else{l=this.streamParser.startState(t.unit);a=0}if(e-a>1e4)return null;while(a<e){let n=t.state.doc.lineAt(a),r=Math.min(e,n.to);if(n.length){let e=s?s(n.from):-1;let i=new fe(n.text,t.state.tabSize,t.unit,e<0?undefined:e);while(i.pos<r-n.from)we(this.streamParser.token,i,l)}else{this.streamParser.blankLine(l,t.unit)}if(r==e)break;a=n.to+1}let f=t.lineAt(e);if(s&&i==null)ce.set(t.state,f.from);return this.streamParser.indent(l,/^\s*(.*)/.exec(f.text)[1],t)}get allowsNesting(){return false}}function pe(t,e,n,i,s){let o=n>=i&&n+e.length<=s&&e.prop(t.stateAfter);if(o)return{state:t.streamParser.copyState(o),pos:n+e.length};for(let a=e.children.length-1;a>=0;a--){let o=e.children[a],l=n+e.positions[a];let f=o instanceof r.Tree&&l<s&&pe(t,o,l,i,s);if(f)return f}return null}function ge(t,e,n,i,s){if(s&&n<=0&&i>=e.length)return e;if(!s&&e.type==t.topNode)s=true;for(let o=e.children.length-1;o>=0;o--){let a=e.positions[o],l=e.children[o],f;if(a<i&&l instanceof r.Tree){if(!(f=ge(t,l,n-a,i-a,s)))break;return!s?f:new r.Tree(e.type,e.children.slice(0,o).concat(f),e.positions.slice(0,o+1),a+f.length)}}return null}function me(t,e,n,i){for(let r of e){let e=r.from+(r.openStart?25:0),i=r.to-(r.openEnd?25:0);let s=e<=n&&i>n&&pe(t,r.tree,0-r.offset,n,i),o;if(s&&(o=ge(t,r.tree,n+r.offset,s.pos+r.offset,false)))return{state:s.state,tree:o}}return{state:t.streamParser.startState(i?V(i):4),tree:r.Tree.empty}}class ke{constructor(t,e,n,r){this.lang=t;this.input=e;this.fragments=n;this.ranges=r;this.stoppedAt=null;this.chunks=[];this.chunkPos=[];this.chunk=[];this.chunkReused=undefined;this.rangeIndex=0;this.to=r[r.length-1].to;let i=C.get(),s=r[0].from;let{state:o,tree:a}=me(t,n,s,i===null||i===void 0?void 0:i.state);this.state=o;this.parsedPos=this.chunkStart=s+a.length;for(let l=0;l<a.children.length;l++){this.chunks.push(a.children[l]);this.chunkPos.push(a.positions[l])}if(i&&this.parsedPos<i.viewport.from-1e5){this.state=this.lang.streamParser.startState(V(i.state));i.skipUntilInView(this.parsedPos,i.viewport.from);this.parsedPos=i.viewport.from}this.moveRangeIndex()}advance(){let t=C.get();let e=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt);let n=Math.min(e,this.chunkStart+2048);if(t)n=Math.min(n,t.viewport.to);while(this.parsedPos<n)this.parseLine(t);if(this.chunkStart<this.parsedPos)this.finishChunk();if(this.parsedPos>=e)return this.finish();if(t&&this.parsedPos>=t.viewport.to){t.skipUntilInView(this.parsedPos,e);return this.finish()}return null}stopAt(t){this.stoppedAt=t}lineAfter(t){let e=this.input.chunk(t);if(!this.input.lineChunks){let t=e.indexOf("\n");if(t>-1)e=e.slice(0,t)}else if(e=="\n"){e=""}return t+e.length<=this.to?e:e.slice(0,this.to-t)}nextLine(){let t=this.parsedPos,e=this.lineAfter(t),n=t+e.length;for(let r=this.rangeIndex;;){let t=this.ranges[r].to;if(t>=n)break;e=e.slice(0,t-(n-e.length));r++;if(r==this.ranges.length)break;let i=this.ranges[r].from;let s=this.lineAfter(i);e+=s;n=i+s.length}return{line:e,end:n}}skipGapsTo(t,e,n){for(;;){let r=this.ranges[this.rangeIndex].to,i=t+e;if(n>0?r>i:r>=i)break;let s=this.ranges[++this.rangeIndex].from;e+=s-r}return e}moveRangeIndex(){while(this.ranges[this.rangeIndex].to<this.parsedPos)this.rangeIndex++}emitToken(t,e,n,r,i){if(this.ranges.length>1){i=this.skipGapsTo(e,i,1);e+=i;let t=this.chunk.length;i=this.skipGapsTo(n,i,-1);n+=i;r+=this.chunk.length-t}this.chunk.push(t,e,n,r);return i}parseLine(t){let{line:e,end:n}=this.nextLine(),r=0,{streamParser:i}=this.lang;let s=new fe(e,t?t.state.tabSize:4,t?V(t.state):2);if(s.eol()){i.blankLine(this.state,s.indentUnit)}else{while(!s.eol()){let t=we(i.token,s,this.state);if(t)r=this.emitToken(this.lang.tokenTable.resolve(t),this.parsedPos+s.start,this.parsedPos+s.pos,4,r);if(s.start>1e4)break}}this.parsedPos=n;this.moveRangeIndex();if(this.parsedPos<this.to)this.parsedPos++}finishChunk(){let t=r.Tree.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:xe,topID:0,maxBufferLength:2048,reused:this.chunkReused});t=new r.Tree(t.type,t.children,t.positions,t.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]);this.chunks.push(t);this.chunkPos.push(this.chunkStart-this.ranges[0].from);this.chunk=[];this.chunkReused=undefined;this.chunkStart=this.parsedPos}finish(){return new r.Tree(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}function we(t,e,n){e.start=e.pos;for(let r=0;r<10;r++){let r=t(e,n);if(e.pos>e.start)return r}throw new Error("Stream parser failed to advance stream.")}const ve=Object.create(null);const be=[r.NodeType.none];const xe=new r.NodeSet(be);const ye=[];const Se=Object.create(null);const Pe=Object.create(null);for(let[je,We]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Pe[je]=De(ve,We);class Te{constructor(t){this.extra=t;this.table=Object.assign(Object.create(null),Pe)}resolve(t){return!t?0:this.table[t]||(this.table[t]=De(this.extra,t))}}const Ae=new Te(ve);function Ce(t,e){if(ye.indexOf(t)>-1)return;ye.push(t);console.warn(e)}function De(t,e){let n=[];for(let r of e.split(" ")){let e=[];for(let n of r.split(".")){let r=t[n]||f.tags[n];if(!r){Ce(n,`Unknown highlighting tag ${n}`)}else if(typeof r=="function"){if(!e.length)Ce(n,`Modifier ${n} used at start of tag`);else e=e.map(r)}else{if(e.length)Ce(n,`Tag ${n} used as modifier`);else e=Array.isArray(r)?r:[r]}}for(let t of e)n.push(t)}if(!n.length)return 0;let i=e.replace(/ /g,"_"),s=i+" "+n.map((t=>t.id));let o=Se[s];if(o)return o.id;let a=Se[s]=r.NodeType.define({id:be.length,name:i,props:[(0,f.styleTags)({[i]:n})]});be.push(a);return a.id}function Ie(t){let e=r.NodeType.define({id:be.length,name:"Document",props:[p.add((()=>t))],top:true});be.push(e);return e}function Ne(t){return t.length<=4096&&/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/.test(t)}function Oe(t){for(let e=t.iter();!e.next().done;)if(Ne(e.value))return true;return false}function Ee(t){let e=false;t.iterChanges(((t,n,r,i,s)=>{if(!e&&Oe(s))e=true}));return e}const Le=s.Facet.define({combine:t=>t.some((t=>t))});function Be(t={}){let e=[Me];if(t.alwaysIsolate)e.push(Le.of(true));return e}const Me=a.ViewPlugin.fromClass(class{constructor(t){this.always=t.state.facet(Le)||t.textDirection!=a.Direction.LTR||t.state.facet(a.EditorView.perLineTextDirection);this.hasRTL=!this.always&&Oe(t.state.doc);this.tree=b(t.state);this.decorations=this.always||this.hasRTL?Re(t,this.tree,this.always):a.Decoration.none}update(t){let e=t.state.facet(Le)||t.view.textDirection!=a.Direction.LTR||t.state.facet(a.EditorView.perLineTextDirection);if(!e&&!this.hasRTL&&Ee(t.changes))this.hasRTL=true;if(!e&&!this.hasRTL)return;let n=b(t.state);if(e!=this.always||n!=this.tree||t.docChanged||t.viewportChanged){this.tree=n;this.always=e;this.decorations=Re(t.view,n,e)}}},{provide:t=>{function e(e){var n,r;return(r=(n=e.plugin(t))===null||n===void 0?void 0:n.decorations)!==null&&r!==void 0?r:a.Decoration.none}return[a.EditorView.outerDecorations.of(e),s.Prec.lowest(a.EditorView.bidiIsolatedRanges.of(e))]}});function Re(t,e,n){let i=new s.RangeSetBuilder;let o=t.visibleRanges;if(!n)o=Fe(o,t.state.doc);for(let{from:s,to:a}of o){e.iterate({enter:t=>{let e=t.type.prop(r.NodeProp.isolate);if(e)i.add(t.from,t.to,Ve[e])},from:s,to:a})}return i.finish()}function Fe(t,e){let n=e.iter(),r=0,i=[],s=null;for(let{from:o,to:a}of t){if(o!=r){if(r<o)n.next(o-r);r=o}for(;;){let t=r,e=r+n.value.length;if(!n.lineBreak&&Ne(n.value)){if(s&&s.to>t-10)s.to=Math.min(a,e);else i.push(s={from:t,to:Math.min(a,e)})}if(r>=a)break;r=e;n.next()}}return i}const Ve={rtl:a.Decoration.mark({class:"cm-iso",inclusive:true,attributes:{dir:"rtl"},bidiIsolate:a.Direction.RTL}),ltr:a.Decoration.mark({class:"cm-iso",inclusive:true,attributes:{dir:"ltr"},bidiIsolate:a.Direction.LTR}),auto:a.Decoration.mark({class:"cm-iso",inclusive:true,attributes:{dir:"auto"},bidiIsolate:null})}}}]);
|
1
|
+
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[8313],{48313:(t,e,n)=>{n.r(e);n.d(e,{DocInput:()=>T,HighlightStyle:()=>Ft,IndentContext:()=>$,LRLanguage:()=>v,Language:()=>k,LanguageDescription:()=>M,LanguageSupport:()=>B,ParseContext:()=>C,StreamLanguage:()=>de,StringStream:()=>fe,TreeIndentContext:()=>K,bidiIsolates:()=>Be,bracketMatching:()=>ee,bracketMatchingHandle:()=>ne,codeFolding:()=>It,continuedIndent:()=>et,defaultHighlightStyle:()=>Gt,defineLanguageFacet:()=>g,delimitedIndent:()=>Y,ensureSyntaxTree:()=>x,flatIndent:()=>tt,foldAll:()=>yt,foldCode:()=>vt,foldEffect:()=>ut,foldGutter:()=>Mt,foldInside:()=>ot,foldKeymap:()=>At,foldNodeProp:()=>st,foldService:()=>it,foldState:()=>pt,foldable:()=>ft,foldedRanges:()=>gt,forceParsing:()=>S,getIndentUnit:()=>V,getIndentation:()=>W,highlightingFor:()=>$t,indentNodeProp:()=>z,indentOnInput:()=>rt,indentRange:()=>U,indentService:()=>R,indentString:()=>j,indentUnit:()=>F,language:()=>L,languageDataProp:()=>p,matchBrackets:()=>se,sublanguageProp:()=>m,syntaxHighlighting:()=>Ut,syntaxParserRunning:()=>P,syntaxTree:()=>b,syntaxTreeAvailable:()=>y,toggleFold:()=>Tt,unfoldAll:()=>St,unfoldCode:()=>bt,unfoldEffect:()=>ct});var r=n(66575);var i=n.n(r);var s=n(71674);var o=n.n(s);var a=n(22819);var l=n.n(a);var f=n(45145);var h=n.n(f);var u=n(23546);var c=n.n(u);var d;const p=new r.NodeProp;function g(t){return s.Facet.define({combine:t?e=>e.concat(t):undefined})}const m=new r.NodeProp;class k{constructor(t,e,n=[],r=""){this.data=t;this.name=r;if(!s.EditorState.prototype.hasOwnProperty("tree"))Object.defineProperty(s.EditorState.prototype,"tree",{get(){return b(this)}});this.parser=e;this.extension=[L.of(this),s.EditorState.languageData.of(((t,e,n)=>{let r=w(t,e,n),i=r.type.prop(p);if(!i)return[];let s=t.facet(i),o=r.type.prop(m);if(o){let i=r.resolve(e-r.from,n);for(let e of o)if(e.test(i,t)){let n=t.facet(e.facet);return e.type=="replace"?n:n.concat(s)}}return s}))].concat(n)}isActiveAt(t,e,n=-1){return w(t,e,n).type.prop(p)==this.data}findRegions(t){let e=t.facet(L);if((e===null||e===void 0?void 0:e.data)==this.data)return[{from:0,to:t.doc.length}];if(!e||!e.allowsNesting)return[];let n=[];let i=(t,e)=>{if(t.prop(p)==this.data){n.push({from:e,to:e+t.length});return}let s=t.prop(r.NodeProp.mounted);if(s){if(s.tree.prop(p)==this.data){if(s.overlay)for(let t of s.overlay)n.push({from:t.from+e,to:t.to+e});else n.push({from:e,to:e+t.length});return}else if(s.overlay){let t=n.length;i(s.tree,s.overlay[0].from+e);if(n.length>t)return}}for(let n=0;n<t.children.length;n++){let s=t.children[n];if(s instanceof r.Tree)i(s,t.positions[n]+e)}};i(b(t),0);return n}get allowsNesting(){return true}}k.setState=s.StateEffect.define();function w(t,e,n){let i=t.facet(L),s=b(t).topNode;if(!i||i.allowsNesting){for(let t=s;t;t=t.enter(e,n,r.IterMode.ExcludeBuffers))if(t.type.isTop)s=t}return s}class v extends k{constructor(t,e,n){super(t,e,[],n);this.parser=e}static define(t){let e=g(t.languageData);return new v(e,t.parser.configure({props:[p.add((t=>t.isTop?e:undefined))]}),t.name)}configure(t,e){return new v(this.data,this.parser.configure(t),e||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function b(t){let e=t.field(k.state,false);return e?e.tree:r.Tree.empty}function x(t,e,n=50){var r;let i=(r=t.field(k.state,false))===null||r===void 0?void 0:r.context;if(!i)return null;let s=i.viewport;i.updateViewport({from:0,to:e});let o=i.isDone(e)||i.work(n,e)?i.tree:null;i.updateViewport(s);return o}function y(t,e=t.doc.length){var n;return((n=t.field(k.state,false))===null||n===void 0?void 0:n.context.isDone(e))||false}function S(t,e=t.viewport.to,n=100){let r=x(t.state,e,n);if(r!=b(t.state))t.dispatch({});return!!r}function P(t){var e;return((e=t.plugin(E))===null||e===void 0?void 0:e.isWorking())||false}class T{constructor(t){this.doc=t;this.cursorPos=0;this.string="";this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){this.string=this.cursor.next(t-this.cursorPos).value;this.cursorPos=t+this.string.length;return this.cursorPos-this.string.length}chunk(t){this.syncTo(t);return this.string}get lineChunks(){return true}read(t,e){let n=this.cursorPos-this.string.length;if(t<n||e>=this.cursorPos)return this.doc.sliceString(t,e);else return this.string.slice(t-n,e-n)}}let A=null;class C{constructor(t,e,n=[],r,i,s,o,a){this.parser=t;this.state=e;this.fragments=n;this.tree=r;this.treeLen=i;this.viewport=s;this.skipped=o;this.scheduleOn=a;this.parse=null;this.tempSkipped=[]}static create(t,e,n){return new C(t,e,[],r.Tree.empty,0,n,[],null)}startParse(){return this.parser.startParse(new T(this.state.doc),this.fragments)}work(t,e){if(e!=null&&e>=this.state.doc.length)e=undefined;if(this.tree!=r.Tree.empty&&this.isDone(e!==null&&e!==void 0?e:this.state.doc.length)){this.takeTree();return true}return this.withContext((()=>{var n;if(typeof t=="number"){let e=Date.now()+t;t=()=>Date.now()>e}if(!this.parse)this.parse=this.startParse();if(e!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&e<this.state.doc.length)this.parse.stopAt(e);for(;;){let i=this.parse.advance();if(i){this.fragments=this.withoutTempSkipped(r.TreeFragment.addTree(i,this.fragments,this.parse.stoppedAt!=null));this.treeLen=(n=this.parse.stoppedAt)!==null&&n!==void 0?n:this.state.doc.length;this.tree=i;this.parse=null;if(this.treeLen<(e!==null&&e!==void 0?e:this.state.doc.length))this.parse=this.startParse();else return true}if(t())return false}}))}takeTree(){let t,e;if(this.parse&&(t=this.parse.parsedPos)>=this.treeLen){if(this.parse.stoppedAt==null||this.parse.stoppedAt>t)this.parse.stopAt(t);this.withContext((()=>{while(!(e=this.parse.advance())){}}));this.treeLen=t;this.tree=e;this.fragments=this.withoutTempSkipped(r.TreeFragment.addTree(this.tree,this.fragments,true));this.parse=null}}withContext(t){let e=A;A=this;try{return t()}finally{A=e}}withoutTempSkipped(t){for(let e;e=this.tempSkipped.pop();)t=D(t,e.from,e.to);return t}changes(t,e){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:a}=this;this.takeTree();if(!t.empty){let e=[];t.iterChangedRanges(((t,n,r,i)=>e.push({fromA:t,toA:n,fromB:r,toB:i})));n=r.TreeFragment.applyChanges(n,e);i=r.Tree.empty;s=0;o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)};if(this.skipped.length){a=[];for(let e of this.skipped){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);if(n<r)a.push({from:n,to:r})}}}return new C(this.parser,e,n,i,s,o,a,this.scheduleOn)}updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.to)return false;this.viewport=t;let e=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:e,to:r}=this.skipped[n];if(e<t.to&&r>t.from){this.fragments=D(this.fragments,e,r);this.skipped.splice(n--,1)}}if(this.skipped.length>=e)return false;this.reset();return true}reset(){if(this.parse){this.takeTree();this.parse=null}}skipUntilInView(t,e){this.skipped.push({from:t,to:e})}static getSkippingParser(t){return new class extends r.Parser{createParse(e,n,i){let s=i[0].from,o=i[i.length-1].to;let a={parsedPos:s,advance(){let e=A;if(e){for(let t of i)e.tempSkipped.push(t);if(t)e.scheduleOn=e.scheduleOn?Promise.all([e.scheduleOn,t]):t}this.parsedPos=o;return new r.Tree(r.NodeType.none,[],[],o-s)},stoppedAt:null,stopAt(){}};return a}}}isDone(t){t=Math.min(t,this.state.doc.length);let e=this.fragments;return this.treeLen>=t&&e.length&&e[0].from==0&&e[0].to>=t}static get(){return A}}function D(t,e,n){return r.TreeFragment.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class I{constructor(t){this.context=t;this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let e=this.context.changes(t.changes,t.state);let n=this.context.treeLen==t.startState.doc.length?undefined:Math.max(t.changes.mapPos(this.context.treeLen),e.viewport.to);if(!e.work(20,n))e.takeTree();return new I(e)}static init(t){let e=Math.min(3e3,t.doc.length);let n=C.create(t.facet(L).parser,t,{from:0,to:e});if(!n.work(20,e))n.takeTree();return new I(n)}}k.state=s.StateField.define({create:I.init,update(t,e){for(let n of e.effects)if(n.is(k.setState))return n.value;if(e.startState.facet(L)!=e.state.facet(L))return I.init(e.state);return t.apply(e)}});let N=t=>{let e=setTimeout((()=>t()),500);return()=>clearTimeout(e)};if(typeof requestIdleCallback!="undefined")N=t=>{let e=-1,n=setTimeout((()=>{e=requestIdleCallback(t,{timeout:500-100})}),100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)};const O=typeof navigator!="undefined"&&((d=navigator.scheduling)===null||d===void 0?void 0:d.isInputPending)?()=>navigator.scheduling.isInputPending():null;const E=a.ViewPlugin.fromClass(class t{constructor(t){this.view=t;this.working=null;this.workScheduled=0;this.chunkEnd=-1;this.chunkBudget=-1;this.work=this.work.bind(this);this.scheduleWork()}update(t){let e=this.view.state.field(k.state).context;if(e.updateViewport(t.view.viewport)||this.view.viewport.to>e.treeLen)this.scheduleWork();if(t.docChanged||t.selectionSet){if(this.view.hasFocus)this.chunkBudget+=50;this.scheduleWork()}this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field(k.state);if(e.tree!=e.context.tree||!e.context.isDone(t.doc.length))this.working=N(this.work)}work(t){this.working=null;let e=Date.now();if(this.chunkEnd<e&&(this.chunkEnd<0||this.view.hasFocus)){this.chunkEnd=e+3e4;this.chunkBudget=3e3}if(this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,i=n.field(k.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,t&&!O?Math.max(25,t.timeRemaining()-5):1e9);let o=i.context.treeLen<r&&n.doc.length>r+1e3;let a=i.context.work((()=>O&&O()||Date.now()>s),r+(o?0:1e5));this.chunkBudget-=Date.now()-e;if(a||this.chunkBudget<=0){i.context.takeTree();this.view.dispatch({effects:k.setState.of(new I(i.context))})}if(this.chunkBudget>0&&!(a&&!o))this.scheduleWork();this.checkAsyncSchedule(i.context)}checkAsyncSchedule(t){if(t.scheduleOn){this.workScheduled++;t.scheduleOn.then((()=>this.scheduleWork())).catch((t=>(0,a.logException)(this.view.state,t))).then((()=>this.workScheduled--));t.scheduleOn=null}}destroy(){if(this.working)this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}});const L=s.Facet.define({combine(t){return t.length?t[0]:null},enables:t=>[k.state,E,a.EditorView.contentAttributes.compute([t],(e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}}))]});class B{constructor(t,e=[]){this.language=t;this.support=e;this.extension=[t,e]}}class M{constructor(t,e,n,r,i,s=undefined){this.name=t;this.alias=e;this.extensions=n;this.filename=r;this.loadFunc=i;this.support=s;this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then((t=>this.support=t),(t=>{this.loading=null;throw t})))}static of(t){let{load:e,support:n}=t;if(!e){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");e=()=>Promise.resolve(n)}return new M(t.name,(t.alias||[]).concat(t.name).map((t=>t.toLowerCase())),t.extensions||[],t.filename,e,n)}static matchFilename(t,e){for(let r of t)if(r.filename&&r.filename.test(e))return r;let n=/\.([^.]+)$/.exec(e);if(n)for(let r of t)if(r.extensions.indexOf(n[1])>-1)return r;return null}static matchLanguageName(t,e,n=true){e=e.toLowerCase();for(let r of t)if(r.alias.some((t=>t==e)))return r;if(n)for(let r of t)for(let t of r.alias){let n=e.indexOf(t);if(n>-1&&(t.length>2||!/\w/.test(e[n-1])&&!/\w/.test(e[n+t.length])))return r}return null}}const R=s.Facet.define();const F=s.Facet.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some((t=>t!=e[0])))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function V(t){let e=t.facet(F);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function j(t,e){let n="",r=t.tabSize,i=t.facet(F)[0];if(i=="\t"){while(e>=r){n+="\t";e-=r}i=" "}for(let s=0;s<e;s++)n+=i;return n}function W(t,e){if(t instanceof s.EditorState)t=new $(t);for(let r of t.state.facet(R)){let n=r(t,e);if(n!==undefined)return n}let n=b(t.state);return n.length>=e?H(t,n,e):null}function U(t,e,n){let r=Object.create(null);let i=new $(t,{overrideIndentation:t=>{var e;return(e=r[t])!==null&&e!==void 0?e:-1}});let s=[];for(let o=e;o<=n;){let e=t.doc.lineAt(o);o=e.to+1;let n=W(i,e.from);if(n==null)continue;if(!/\S/.test(e.text))n=0;let a=/^\s*/.exec(e.text)[0];let l=j(t,n);if(a!=l){r[e.from]=n;s.push({from:e.from,to:e.from+a.length,insert:l})}}return t.changes(s)}class ${constructor(t,e={}){this.state=t;this.options=e;this.unit=V(t)}lineAt(t,e=1){let n=this.state.doc.lineAt(t);let{simulateBreak:r,simulateDoubleBreak:i}=this.options;if(r!=null&&r>=n.from&&r<=n.to){if(i&&r==t)return{text:"",from:t};else if(e<0?r<t:r<=t)return{text:n.text.slice(r-n.from),from:r};else return{text:n.text.slice(0,r-n.from),from:n.from}}return n}textAfterPos(t,e=1){if(this.options.simulateDoubleBreak&&t==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(t,e);return n.slice(t-r,Math.min(n.length,t+100-r))}column(t,e=1){let{text:n,from:r}=this.lineAt(t,e);let i=this.countColumn(n,t-r);let s=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;if(s>-1)i+=s-this.countColumn(n,n.search(/\S|$/));return i}countColumn(t,e=t.length){return(0,s.countColumn)(t,this.state.tabSize,e)}lineIndent(t,e=1){let{text:n,from:r}=this.lineAt(t,e);let i=this.options.overrideIndentation;if(i){let t=i(r);if(t>-1)return t}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const z=new r.NodeProp;function H(t,e,n){let r=e.resolveStack(n);let i=r.node.enterUnfinishedNodesBefore(n);if(i!=r.node){let t=[];for(let e=i;e!=r.node;e=e.parent)t.push(e);for(let e=t.length-1;e>=0;e--)r={node:t[e],next:r}}return G(r,t,n)}function G(t,e,n){for(let r=t;r;r=r.next){let t=q(r.node);if(t)return t(K.create(e,n,r))}return 0}function _(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function q(t){let e=t.type.prop(z);if(e)return e;let n=t.firstChild,i;if(n&&(i=n.type.prop(r.NodeProp.closedBy))){let e=t.lastChild,n=e&&i.indexOf(e.name)>-1;return t=>Z(t,true,1,undefined,n&&!_(t)?e.from:undefined)}return t.parent==null?J:null}function J(){return 0}class K extends ${constructor(t,e,n){super(t.state,t.options);this.base=t;this.pos=e;this.context=n}get node(){return this.context.node}static create(t,e,n){return new K(t,e,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let e=this.state.doc.lineAt(t.from);for(;;){let n=t.resolve(e.from);while(n.parent&&n.parent.from==n.from)n=n.parent;if(Q(n,t))break;e=this.state.doc.lineAt(n.from)}return this.lineIndent(e.from)}continue(){return G(this.context.next,this.base,this.pos)}}function Q(t,e){for(let n=e;n;n=n.parent)if(t==n)return true;return false}function X(t){let e=t.node;let n=e.childAfter(e.from),r=e.lastChild;if(!n)return null;let i=t.options.simulateBreak;let s=t.state.doc.lineAt(n.from);let o=i==null||i<=s.from?s.to:Math.min(s.to,i);for(let a=n.to;;){let t=e.childAfter(a);if(!t||t==r)return null;if(!t.type.isSkipped)return t.from<o?n:null;a=t.to}}function Y({closing:t,align:e=true,units:n=1}){return r=>Z(r,e,n,t)}function Z(t,e,n,r,i){let s=t.textAfter,o=s.match(/^\s*/)[0].length;let a=r&&s.slice(o,o+r.length)==r||i==t.pos+o;let l=e?X(t):null;if(l)return a?t.column(l.from):t.column(l.to);return t.baseIndent+(a?0:t.unit*n)}const tt=t=>t.baseIndent;function et({except:t,units:e=1}={}){return n=>{let r=t&&t.test(n.textAfter);return n.baseIndent+(r?0:e*n.unit)}}const nt=200;function rt(){return s.EditorState.transactionFilter.of((t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:r}=t.newSelection.main,i=n.lineAt(r);if(r>i.from+nt)return t;let s=n.sliceString(i.from,r);if(!e.some((t=>t.test(s))))return t;let{state:o}=t,a=-1,l=[];for(let{head:f}of o.selection.ranges){let t=o.doc.lineAt(f);if(t.from==a)continue;a=t.from;let e=W(o,t.from);if(e==null)continue;let n=/^\s*/.exec(t.text)[0];let r=j(o,e);if(n!=r)l.push({from:t.from,to:t.from+n.length,insert:r})}return l.length?[t,{changes:l,sequential:true}]:t}))}const it=s.Facet.define();const st=new r.NodeProp;function ot(t){let e=t.firstChild,n=t.lastChild;return e&&e.to<n.from?{from:e.to,to:n.type.isError?t.to:n.from}:null}function at(t,e,n){let r=b(t);if(r.length<n)return null;let i=r.resolveStack(n,1);let s=null;for(let o=i;o;o=o.next){let i=o.node;if(i.to<=n||i.from>n)continue;if(s&&i.from<e)break;let a=i.type.prop(st);if(a&&(i.to<r.length-50||r.length==t.doc.length||!lt(i))){let r=a(i,t);if(r&&r.from<=n&&r.from>=e&&r.to>n)s=r}}return s}function lt(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function ft(t,e,n){for(let r of t.facet(it)){let i=r(t,e,n);if(i)return i}return at(t,e,n)}function ht(t,e){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return n>=r?undefined:{from:n,to:r}}const ut=s.StateEffect.define({map:ht});const ct=s.StateEffect.define({map:ht});function dt(t){let e=[];for(let{head:n}of t.state.selection.ranges){if(e.some((t=>t.from<=n&&t.to>=n)))continue;e.push(t.lineBlockAt(n))}return e}const pt=s.StateField.define({create(){return a.Decoration.none},update(t,e){t=t.map(e.changes);for(let n of e.effects){if(n.is(ut)&&!kt(t,n.value.from,n.value.to)){let{preparePlaceholder:r}=e.state.facet(Dt);let i=!r?Ot:a.Decoration.replace({widget:new Et(r(e.state,n.value))});t=t.update({add:[i.range(n.value.from,n.value.to)]})}else if(n.is(ct)){t=t.update({filter:(t,e)=>n.value.from!=t||n.value.to!=e,filterFrom:n.value.from,filterTo:n.value.to})}}if(e.selection){let n=false,{head:r}=e.selection.main;t.between(r,r,((t,e)=>{if(t<r&&e>r)n=true}));if(n)t=t.update({filterFrom:r,filterTo:r,filter:(t,e)=>e<=r||t>=r})}return t},provide:t=>a.EditorView.decorations.from(t),toJSON(t,e){let n=[];t.between(0,e.doc.length,((t,e)=>{n.push(t,e)}));return n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n<t.length;){let r=t[n++],i=t[n++];if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid JSON for fold state");e.push(Ot.range(r,i))}return a.Decoration.set(e,true)}});function gt(t){return t.field(pt,false)||s.RangeSet.empty}function mt(t,e,n){var r;let i=null;(r=t.field(pt,false))===null||r===void 0?void 0:r.between(e,n,((t,e)=>{if(!i||i.from>t)i={from:t,to:e}}));return i}function kt(t,e,n){let r=false;t.between(e,e,((t,i)=>{if(t==e&&i==n)r=true}));return r}function wt(t,e){return t.field(pt,false)?e:e.concat(s.StateEffect.appendConfig.of(It()))}const vt=t=>{for(let e of dt(t)){let n=ft(t.state,e.from,e.to);if(n){t.dispatch({effects:wt(t.state,[ut.of(n),xt(t,n)])});return true}}return false};const bt=t=>{if(!t.state.field(pt,false))return false;let e=[];for(let n of dt(t)){let r=mt(t.state,n.from,n.to);if(r)e.push(ct.of(r),xt(t,r,false))}if(e.length)t.dispatch({effects:e});return e.length>0};function xt(t,e,n=true){let r=t.state.doc.lineAt(e.from).number,i=t.state.doc.lineAt(e.to).number;return a.EditorView.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${i}.`)}const yt=t=>{let{state:e}=t,n=[];for(let r=0;r<e.doc.length;){let i=t.lineBlockAt(r),s=ft(e,i.from,i.to);if(s)n.push(ut.of(s));r=(s?t.lineBlockAt(s.to):i).to+1}if(n.length)t.dispatch({effects:wt(t.state,n)});return!!n.length};const St=t=>{let e=t.state.field(pt,false);if(!e||!e.size)return false;let n=[];e.between(0,t.state.doc.length,((t,e)=>{n.push(ct.of({from:t,to:e}))}));t.dispatch({effects:n});return true};function Pt(t,e){for(let n=e;;){let r=ft(t.state,n.from,n.to);if(r&&r.to>e.from)return r;if(!n.from)return null;n=t.lineBlockAt(n.from-1)}}const Tt=t=>{let e=[];for(let n of dt(t)){let r=mt(t.state,n.from,n.to);if(r){e.push(ct.of(r),xt(t,r,false))}else{let r=Pt(t,n);if(r)e.push(ut.of(r),xt(t,r))}}if(e.length>0)t.dispatch({effects:wt(t.state,e)});return!!e.length};const At=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:vt},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:bt},{key:"Ctrl-Alt-[",run:yt},{key:"Ctrl-Alt-]",run:St}];const Ct={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"};const Dt=s.Facet.define({combine(t){return(0,s.combineConfig)(t,Ct)}});function It(t){let e=[pt,Rt];if(t)e.push(Dt.of(t));return e}function Nt(t,e){let{state:n}=t,r=n.facet(Dt);let i=e=>{let n=t.lineBlockAt(t.posAtDOM(e.target));let r=mt(t.state,n.from,n.to);if(r)t.dispatch({effects:ct.of(r)});e.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(t,i,e);let s=document.createElement("span");s.textContent=r.placeholderText;s.setAttribute("aria-label",n.phrase("folded code"));s.title=n.phrase("unfold");s.className="cm-foldPlaceholder";s.onclick=i;return s}const Ot=a.Decoration.replace({widget:new class extends a.WidgetType{toDOM(t){return Nt(t,null)}}});class Et extends a.WidgetType{constructor(t){super();this.value=t}eq(t){return this.value==t.value}toDOM(t){return Nt(t,this.value)}}const Lt={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>false};class Bt extends a.GutterMarker{constructor(t,e){super();this.config=t;this.open=e}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let e=document.createElement("span");e.textContent=this.open?this.config.openText:this.config.closedText;e.title=t.state.phrase(this.open?"Fold line":"Unfold line");return e}}function Mt(t={}){let e=Object.assign(Object.assign({},Lt),t);let n=new Bt(e,true),r=new Bt(e,false);let i=a.ViewPlugin.fromClass(class{constructor(t){this.from=t.viewport.from;this.markers=this.buildMarkers(t)}update(t){if(t.docChanged||t.viewportChanged||t.startState.facet(L)!=t.state.facet(L)||t.startState.field(pt,false)!=t.state.field(pt,false)||b(t.startState)!=b(t.state)||e.foldingChanged(t))this.markers=this.buildMarkers(t.view)}buildMarkers(t){let e=new s.RangeSetBuilder;for(let i of t.viewportLineBlocks){let s=mt(t.state,i.from,i.to)?r:ft(t.state,i.from,i.to)?n:null;if(s)e.add(i.from,i.from,s)}return e.finish()}});let{domEventHandlers:o}=e;return[i,(0,a.gutter)({class:"cm-foldGutter",markers(t){var e;return((e=t.plugin(i))===null||e===void 0?void 0:e.markers)||s.RangeSet.empty},initialSpacer(){return new Bt(e,false)},domEventHandlers:Object.assign(Object.assign({},o),{click:(t,e,n)=>{if(o.click&&o.click(t,e,n))return true;let r=mt(t.state,e.from,e.to);if(r){t.dispatch({effects:ct.of(r)});return true}let i=ft(t.state,e.from,e.to);if(i){t.dispatch({effects:ut.of(i)});return true}return false}})}),It()]}const Rt=a.EditorView.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Ft{constructor(t,e){this.specs=t;let n;function r(t){let e=u.StyleModule.newName();(n||(n=Object.create(null)))["."+e]=t;return e}const i=typeof e.all=="string"?e.all:e.all?r(e.all):undefined;const s=e.scope;this.scope=s instanceof k?t=>t.prop(p)==s.data:s?t=>t==s:undefined;this.style=(0,f.tagHighlighter)(t.map((t=>({tag:t.tag,class:t.class||r(Object.assign({},t,{tag:null}))}))),{all:i}).style;this.module=n?new u.StyleModule(n):null;this.themeType=e.themeType}static define(t,e){return new Ft(t,e||{})}}const Vt=s.Facet.define();const jt=s.Facet.define({combine(t){return t.length?[t[0]]:null}});function Wt(t){let e=t.facet(Vt);return e.length?e:t.facet(jt)}function Ut(t,e){let n=[Ht],r;if(t instanceof Ft){if(t.module)n.push(a.EditorView.styleModule.of(t.module));r=t.themeType}if(e===null||e===void 0?void 0:e.fallback)n.push(jt.of(t));else if(r)n.push(Vt.computeN([a.EditorView.darkTheme],(e=>e.facet(a.EditorView.darkTheme)==(r=="dark")?[t]:[])));else n.push(Vt.of(t));return n}function $t(t,e,n){let r=Wt(t);let i=null;if(r)for(let s of r){if(!s.scope||n&&s.scope(n)){let t=s.style(e);if(t)i=i?i+" "+t:t}}return i}class zt{constructor(t){this.markCache=Object.create(null);this.tree=b(t.state);this.decorations=this.buildDeco(t,Wt(t.state));this.decoratedTo=t.viewport.to}update(t){let e=b(t.state),n=Wt(t.state);let r=n!=Wt(t.startState);let{viewport:i}=t.view,s=t.changes.mapPos(this.decoratedTo,1);if(e.length<i.to&&!r&&e.type==this.tree.type&&s>=i.to){this.decorations=this.decorations.map(t.changes);this.decoratedTo=s}else if(e!=this.tree||t.viewportChanged||r){this.tree=e;this.decorations=this.buildDeco(t.view,n);this.decoratedTo=i.to}}buildDeco(t,e){if(!e||!this.tree.length)return a.Decoration.none;let n=new s.RangeSetBuilder;for(let{from:r,to:i}of t.visibleRanges){(0,f.highlightTree)(this.tree,e,((t,e,r)=>{n.add(t,e,this.markCache[r]||(this.markCache[r]=a.Decoration.mark({class:r})))}),r,i)}return n.finish()}}const Ht=s.Prec.high(a.ViewPlugin.fromClass(zt,{decorations:t=>t.decorations}));const Gt=Ft.define([{tag:f.tags.meta,color:"#404740"},{tag:f.tags.link,textDecoration:"underline"},{tag:f.tags.heading,textDecoration:"underline",fontWeight:"bold"},{tag:f.tags.emphasis,fontStyle:"italic"},{tag:f.tags.strong,fontWeight:"bold"},{tag:f.tags.strikethrough,textDecoration:"line-through"},{tag:f.tags.keyword,color:"#708"},{tag:[f.tags.atom,f.tags.bool,f.tags.url,f.tags.contentSeparator,f.tags.labelName],color:"#219"},{tag:[f.tags.literal,f.tags.inserted],color:"#164"},{tag:[f.tags.string,f.tags.deleted],color:"#a11"},{tag:[f.tags.regexp,f.tags.escape,f.tags.special(f.tags.string)],color:"#e40"},{tag:f.tags.definition(f.tags.variableName),color:"#00f"},{tag:f.tags.local(f.tags.variableName),color:"#30a"},{tag:[f.tags.typeName,f.tags.namespace],color:"#085"},{tag:f.tags.className,color:"#167"},{tag:[f.tags.special(f.tags.variableName),f.tags.macroName],color:"#256"},{tag:f.tags.definition(f.tags.propertyName),color:"#00c"},{tag:f.tags.comment,color:"#940"},{tag:f.tags.invalid,color:"#f00"}]);const _t=a.EditorView.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}});const qt=1e4,Jt="()[]{}";const Kt=s.Facet.define({combine(t){return(0,s.combineConfig)(t,{afterCursor:true,brackets:Jt,maxScanDistance:qt,renderMatch:Yt})}});const Qt=a.Decoration.mark({class:"cm-matchingBracket"}),Xt=a.Decoration.mark({class:"cm-nonmatchingBracket"});function Yt(t){let e=[];let n=t.matched?Qt:Xt;e.push(n.range(t.start.from,t.start.to));if(t.end)e.push(n.range(t.end.from,t.end.to));return e}const Zt=s.StateField.define({create(){return a.Decoration.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[];let r=e.state.facet(Kt);for(let i of e.state.selection.ranges){if(!i.empty)continue;let t=se(e.state,i.head,-1,r)||i.head>0&&se(e.state,i.head-1,1,r)||r.afterCursor&&(se(e.state,i.head,1,r)||i.head<e.state.doc.length&&se(e.state,i.head+1,-1,r));if(t)n=n.concat(r.renderMatch(t,e.state))}return a.Decoration.set(n,true)},provide:t=>a.EditorView.decorations.from(t)});const te=[Zt,_t];function ee(t={}){return[Kt.of(t),te]}const ne=new r.NodeProp;function re(t,e,n){let i=t.prop(e<0?r.NodeProp.openedBy:r.NodeProp.closedBy);if(i)return i;if(t.name.length==1){let r=n.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[n[r+e]]}return null}function ie(t){let e=t.type.prop(ne);return e?e(t.node):t}function se(t,e,n,r={}){let i=r.maxScanDistance||qt,s=r.brackets||Jt;let o=b(t),a=o.resolveInner(e,n);for(let l=a;l;l=l.parent){let r=re(l.type,n,s);if(r&&l.from<l.to){let i=ie(l);if(i&&(n>0?e>=i.from&&e<i.to:e>i.from&&e<=i.to))return oe(t,e,n,l,i,r,s)}}return ae(t,e,n,o,a.type,i,s)}function oe(t,e,n,r,i,s,o){let a=r.parent,l={from:i.from,to:i.to};let f=0,h=a===null||a===void 0?void 0:a.cursor();if(h&&(n<0?h.childBefore(r.from):h.childAfter(r.to)))do{if(n<0?h.to<=r.from:h.from>=r.to){if(f==0&&s.indexOf(h.type.name)>-1&&h.from<h.to){let t=ie(h);return{start:l,end:t?{from:t.from,to:t.to}:undefined,matched:true}}else if(re(h.type,n,o)){f++}else if(re(h.type,-n,o)){if(f==0){let t=ie(h);return{start:l,end:t&&t.from<t.to?{from:t.from,to:t.to}:undefined,matched:false}}f--}}}while(n<0?h.prevSibling():h.nextSibling());return{start:l,matched:false}}function ae(t,e,n,r,i,s,o){let a=n<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1);let l=o.indexOf(a);if(l<0||l%2==0!=n>0)return null;let f={from:n<0?e-1:e,to:n>0?e+1:e};let h=t.doc.iterRange(e,n>0?t.doc.length:0),u=0;for(let c=0;!h.next().done&&c<=s;){let t=h.value;if(n<0)c+=t.length;let s=e+c*n;for(let e=n>0?0:t.length-1,a=n>0?t.length:-1;e!=a;e+=n){let a=o.indexOf(t[e]);if(a<0||r.resolveInner(s+e,1).type!=i)continue;if(a%2==0==n>0){u++}else if(u==1){return{start:f,end:{from:s+e,to:s+e+1},matched:a>>1==l>>1}}else{u--}}if(n>0)c+=t.length}return h.done?{start:f,matched:false}:null}function le(t,e,n,r=0,i=0){if(e==null){e=t.search(/[^\s\u00a0]/);if(e==-1)e=t.length}let s=i;for(let o=r;o<e;o++){if(t.charCodeAt(o)==9)s+=n-s%n;else s++}return s}class fe{constructor(t,e,n,r){this.string=t;this.tabSize=e;this.indentUnit=n;this.overrideIndent=r;this.pos=0;this.start=0;this.lastColumnPos=0;this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||undefined}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(t){let e=this.string.charAt(this.pos);let n;if(typeof t=="string")n=e==t;else n=e&&(t instanceof RegExp?t.test(e):t(e));if(n){++this.pos;return e}}eatWhile(t){let e=this.pos;while(this.eat(t)){}return this.pos>e}eatSpace(){let t=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>t}skipToEnd(){this.pos=this.string.length}skipTo(t){let e=this.string.indexOf(t,this.pos);if(e>-1){this.pos=e;return true}}backUp(t){this.pos-=t}column(){if(this.lastColumnPos<this.start){this.lastColumnValue=le(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue);this.lastColumnPos=this.start}return this.lastColumnValue}indentation(){var t;return(t=this.overrideIndent)!==null&&t!==void 0?t:le(this.string,null,this.tabSize)}match(t,e,n){if(typeof t=="string"){let r=t=>n?t.toLowerCase():t;let i=this.string.substr(this.pos,t.length);if(r(i)==r(t)){if(e!==false)this.pos+=t.length;return true}else return null}else{let n=this.string.slice(this.pos).match(t);if(n&&n.index>0)return null;if(n&&e!==false)this.pos+=n[0].length;return n}}current(){return this.string.slice(this.start,this.pos)}}function he(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>true),copyState:t.copyState||ue,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||ve}}function ue(t){if(typeof t!="object")return t;let e={};for(let n in t){let r=t[n];e[n]=r instanceof Array?r.slice():r}return e}const ce=new WeakMap;class de extends k{constructor(t){let e=g(t.languageData);let n=he(t),i;let s=new class extends r.Parser{createParse(t,e,n){return new ke(i,t,e,n)}};super(e,s,[R.of(((t,e)=>this.getIndent(t,e)))],t.name);this.topNode=Ie(e);i=this;this.streamParser=n;this.stateAfter=new r.NodeProp({perNode:true});this.tokenTable=t.tokenTable?new Te(n.tokenTable):Ae}static define(t){return new de(t)}getIndent(t,e){let n=b(t.state),r=n.resolve(e);while(r&&r.type!=this.topNode)r=r.parent;if(!r)return null;let i=undefined;let{overrideIndentation:s}=t.options;if(s){i=ce.get(t.state);if(i!=null&&i<e-1e4)i=undefined}let o=pe(this,n,0,r.from,i!==null&&i!==void 0?i:e),a,l;if(o){l=o.state;a=o.pos+1}else{l=this.streamParser.startState(t.unit);a=0}if(e-a>1e4)return null;while(a<e){let n=t.state.doc.lineAt(a),r=Math.min(e,n.to);if(n.length){let e=s?s(n.from):-1;let i=new fe(n.text,t.state.tabSize,t.unit,e<0?undefined:e);while(i.pos<r-n.from)we(this.streamParser.token,i,l)}else{this.streamParser.blankLine(l,t.unit)}if(r==e)break;a=n.to+1}let f=t.lineAt(e);if(s&&i==null)ce.set(t.state,f.from);return this.streamParser.indent(l,/^\s*(.*)/.exec(f.text)[1],t)}get allowsNesting(){return false}}function pe(t,e,n,i,s){let o=n>=i&&n+e.length<=s&&e.prop(t.stateAfter);if(o)return{state:t.streamParser.copyState(o),pos:n+e.length};for(let a=e.children.length-1;a>=0;a--){let o=e.children[a],l=n+e.positions[a];let f=o instanceof r.Tree&&l<s&&pe(t,o,l,i,s);if(f)return f}return null}function ge(t,e,n,i,s){if(s&&n<=0&&i>=e.length)return e;if(!s&&e.type==t.topNode)s=true;for(let o=e.children.length-1;o>=0;o--){let a=e.positions[o],l=e.children[o],f;if(a<i&&l instanceof r.Tree){if(!(f=ge(t,l,n-a,i-a,s)))break;return!s?f:new r.Tree(e.type,e.children.slice(0,o).concat(f),e.positions.slice(0,o+1),a+f.length)}}return null}function me(t,e,n,i){for(let r of e){let e=r.from+(r.openStart?25:0),i=r.to-(r.openEnd?25:0);let s=e<=n&&i>n&&pe(t,r.tree,0-r.offset,n,i),o;if(s&&(o=ge(t,r.tree,n+r.offset,s.pos+r.offset,false)))return{state:s.state,tree:o}}return{state:t.streamParser.startState(i?V(i):4),tree:r.Tree.empty}}class ke{constructor(t,e,n,r){this.lang=t;this.input=e;this.fragments=n;this.ranges=r;this.stoppedAt=null;this.chunks=[];this.chunkPos=[];this.chunk=[];this.chunkReused=undefined;this.rangeIndex=0;this.to=r[r.length-1].to;let i=C.get(),s=r[0].from;let{state:o,tree:a}=me(t,n,s,i===null||i===void 0?void 0:i.state);this.state=o;this.parsedPos=this.chunkStart=s+a.length;for(let l=0;l<a.children.length;l++){this.chunks.push(a.children[l]);this.chunkPos.push(a.positions[l])}if(i&&this.parsedPos<i.viewport.from-1e5){this.state=this.lang.streamParser.startState(V(i.state));i.skipUntilInView(this.parsedPos,i.viewport.from);this.parsedPos=i.viewport.from}this.moveRangeIndex()}advance(){let t=C.get();let e=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt);let n=Math.min(e,this.chunkStart+2048);if(t)n=Math.min(n,t.viewport.to);while(this.parsedPos<n)this.parseLine(t);if(this.chunkStart<this.parsedPos)this.finishChunk();if(this.parsedPos>=e)return this.finish();if(t&&this.parsedPos>=t.viewport.to){t.skipUntilInView(this.parsedPos,e);return this.finish()}return null}stopAt(t){this.stoppedAt=t}lineAfter(t){let e=this.input.chunk(t);if(!this.input.lineChunks){let t=e.indexOf("\n");if(t>-1)e=e.slice(0,t)}else if(e=="\n"){e=""}return t+e.length<=this.to?e:e.slice(0,this.to-t)}nextLine(){let t=this.parsedPos,e=this.lineAfter(t),n=t+e.length;for(let r=this.rangeIndex;;){let t=this.ranges[r].to;if(t>=n)break;e=e.slice(0,t-(n-e.length));r++;if(r==this.ranges.length)break;let i=this.ranges[r].from;let s=this.lineAfter(i);e+=s;n=i+s.length}return{line:e,end:n}}skipGapsTo(t,e,n){for(;;){let r=this.ranges[this.rangeIndex].to,i=t+e;if(n>0?r>i:r>=i)break;let s=this.ranges[++this.rangeIndex].from;e+=s-r}return e}moveRangeIndex(){while(this.ranges[this.rangeIndex].to<this.parsedPos)this.rangeIndex++}emitToken(t,e,n,r,i){if(this.ranges.length>1){i=this.skipGapsTo(e,i,1);e+=i;let t=this.chunk.length;i=this.skipGapsTo(n,i,-1);n+=i;r+=this.chunk.length-t}this.chunk.push(t,e,n,r);return i}parseLine(t){let{line:e,end:n}=this.nextLine(),r=0,{streamParser:i}=this.lang;let s=new fe(e,t?t.state.tabSize:4,t?V(t.state):2);if(s.eol()){i.blankLine(this.state,s.indentUnit)}else{while(!s.eol()){let t=we(i.token,s,this.state);if(t)r=this.emitToken(this.lang.tokenTable.resolve(t),this.parsedPos+s.start,this.parsedPos+s.pos,4,r);if(s.start>1e4)break}}this.parsedPos=n;this.moveRangeIndex();if(this.parsedPos<this.to)this.parsedPos++}finishChunk(){let t=r.Tree.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:xe,topID:0,maxBufferLength:2048,reused:this.chunkReused});t=new r.Tree(t.type,t.children,t.positions,t.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]);this.chunks.push(t);this.chunkPos.push(this.chunkStart-this.ranges[0].from);this.chunk=[];this.chunkReused=undefined;this.chunkStart=this.parsedPos}finish(){return new r.Tree(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}function we(t,e,n){e.start=e.pos;for(let r=0;r<10;r++){let r=t(e,n);if(e.pos>e.start)return r}throw new Error("Stream parser failed to advance stream.")}const ve=Object.create(null);const be=[r.NodeType.none];const xe=new r.NodeSet(be);const ye=[];const Se=Object.create(null);const Pe=Object.create(null);for(let[je,We]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Pe[je]=De(ve,We);class Te{constructor(t){this.extra=t;this.table=Object.assign(Object.create(null),Pe)}resolve(t){return!t?0:this.table[t]||(this.table[t]=De(this.extra,t))}}const Ae=new Te(ve);function Ce(t,e){if(ye.indexOf(t)>-1)return;ye.push(t);console.warn(e)}function De(t,e){let n=[];for(let r of e.split(" ")){let e=[];for(let n of r.split(".")){let r=t[n]||f.tags[n];if(!r){Ce(n,`Unknown highlighting tag ${n}`)}else if(typeof r=="function"){if(!e.length)Ce(n,`Modifier ${n} used at start of tag`);else e=e.map(r)}else{if(e.length)Ce(n,`Tag ${n} used as modifier`);else e=Array.isArray(r)?r:[r]}}for(let t of e)n.push(t)}if(!n.length)return 0;let i=e.replace(/ /g,"_"),s=i+" "+n.map((t=>t.id));let o=Se[s];if(o)return o.id;let a=Se[s]=r.NodeType.define({id:be.length,name:i,props:[(0,f.styleTags)({[i]:n})]});be.push(a);return a.id}function Ie(t){let e=r.NodeType.define({id:be.length,name:"Document",props:[p.add((()=>t))],top:true});be.push(e);return e}function Ne(t){return t.length<=4096&&/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/.test(t)}function Oe(t){for(let e=t.iter();!e.next().done;)if(Ne(e.value))return true;return false}function Ee(t){let e=false;t.iterChanges(((t,n,r,i,s)=>{if(!e&&Oe(s))e=true}));return e}const Le=s.Facet.define({combine:t=>t.some((t=>t))});function Be(t={}){let e=[Me];if(t.alwaysIsolate)e.push(Le.of(true));return e}const Me=a.ViewPlugin.fromClass(class{constructor(t){this.always=t.state.facet(Le)||t.textDirection!=a.Direction.LTR||t.state.facet(a.EditorView.perLineTextDirection);this.hasRTL=!this.always&&Oe(t.state.doc);this.tree=b(t.state);this.decorations=this.always||this.hasRTL?Re(t,this.tree,this.always):a.Decoration.none}update(t){let e=t.state.facet(Le)||t.view.textDirection!=a.Direction.LTR||t.state.facet(a.EditorView.perLineTextDirection);if(!e&&!this.hasRTL&&Ee(t.changes))this.hasRTL=true;if(!e&&!this.hasRTL)return;let n=b(t.state);if(e!=this.always||n!=this.tree||t.docChanged||t.viewportChanged){this.tree=n;this.always=e;this.decorations=Re(t.view,n,e)}}},{provide:t=>{function e(e){var n,r;return(r=(n=e.plugin(t))===null||n===void 0?void 0:n.decorations)!==null&&r!==void 0?r:a.Decoration.none}return[a.EditorView.outerDecorations.of(e),s.Prec.lowest(a.EditorView.bidiIsolatedRanges.of(e))]}});function Re(t,e,n){let i=new s.RangeSetBuilder;let o=t.visibleRanges;if(!n)o=Fe(o,t.state.doc);for(let{from:s,to:a}of o){e.iterate({enter:t=>{let e=t.type.prop(r.NodeProp.isolate);if(e)i.add(t.from,t.to,Ve[e])},from:s,to:a})}return i.finish()}function Fe(t,e){let n=e.iter(),r=0,i=[],s=null;for(let{from:o,to:a}of t){if(o!=r){if(r<o)n.next(o-r);r=o}for(;;){let t=r,e=r+n.value.length;if(!n.lineBreak&&Ne(n.value)){if(s&&s.to>t-10)s.to=Math.min(a,e);else i.push(s={from:t,to:Math.min(a,e)})}if(r>=a)break;r=e;n.next()}}return i}const Ve={rtl:a.Decoration.mark({class:"cm-iso",inclusive:true,attributes:{dir:"rtl"},bidiIsolate:a.Direction.RTL}),ltr:a.Decoration.mark({class:"cm-iso",inclusive:true,attributes:{dir:"ltr"},bidiIsolate:a.Direction.LTR}),auto:a.Decoration.mark({class:"cm-iso",inclusive:true,attributes:{dir:"auto"},bidiIsolate:null})}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[8420],{27574:(e,t,s)=>{s.d(t,{A:()=>o});var i=s(57991);var n=s(63221);const r=(e,t)=>i.A.lang.round(n.A.parse(e)[t]);const o=r},97134:(e,t,s)=>{s.d(t,{A:()=>o});var i=s(40295);var n=4;function r(e){return(0,i.A)(e,n)}const o=r},68420:(e,t,s)=>{s.d(t,{diagram:()=>xe});var i=s(75747);var n=s(97134);var r=s(27574);var o=s(3635);var l=s(89437);var a=s(84416);var c=s(92935);var u=s(74353);var h=s.n(u);var d=s(16750);var g=s(42838);var y=s.n(g);var p,b;var f=function(){var e=function(e,t,s,i){for(s=s||{},i=e.length;i--;s[e[i]]=t);return s},t=[1,7],s=[1,13],i=[1,14],n=[1,15],r=[1,19],o=[1,16],l=[1,17],a=[1,18],c=[8,30],u=[8,21,28,29,30,31,32,40,44,47],h=[1,23],d=[1,24],g=[8,15,16,21,28,29,30,31,32,40,44,47],y=[8,15,16,21,27,28,29,30,31,32,40,44,47],p=[1,49];var b={trace:function e(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function e(t,s,i,n,r,o,l){var a=o.length-1;switch(r){case 4:n.getLogger().debug("Rule: separator (NL) ");break;case 5:n.getLogger().debug("Rule: separator (Space) ");break;case 6:n.getLogger().debug("Rule: separator (EOF) ");break;case 7:n.getLogger().debug("Rule: hierarchy: ",o[a-1]);n.setHierarchy(o[a-1]);break;case 8:n.getLogger().debug("Stop NL ");break;case 9:n.getLogger().debug("Stop EOF ");break;case 10:n.getLogger().debug("Stop NL2 ");break;case 11:n.getLogger().debug("Stop EOF2 ");break;case 12:n.getLogger().debug("Rule: statement: ",o[a]);typeof o[a].length==="number"?this.$=o[a]:this.$=[o[a]];break;case 13:n.getLogger().debug("Rule: statement #2: ",o[a-1]);this.$=[o[a-1]].concat(o[a]);break;case 14:n.getLogger().debug("Rule: link: ",o[a],t);this.$={edgeTypeStr:o[a],label:""};break;case 15:n.getLogger().debug("Rule: LABEL link: ",o[a-3],o[a-1],o[a]);this.$={edgeTypeStr:o[a],label:o[a-1]};break;case 18:const e=parseInt(o[a]);const s=n.generateId();this.$={id:s,type:"space",label:"",width:e,children:[]};break;case 23:n.getLogger().debug("Rule: (nodeStatement link node) ",o[a-2],o[a-1],o[a]," typestr: ",o[a-1].edgeTypeStr);const i=n.edgeStrToEdgeData(o[a-1].edgeTypeStr);this.$=[{id:o[a-2].id,label:o[a-2].label,type:o[a-2].type,directions:o[a-2].directions},{id:o[a-2].id+"-"+o[a].id,start:o[a-2].id,end:o[a].id,label:o[a-1].label,type:"edge",directions:o[a].directions,arrowTypeEnd:i,arrowTypeStart:"arrow_open"},{id:o[a].id,label:o[a].label,type:n.typeStr2Type(o[a].typeStr),directions:o[a].directions}];break;case 24:n.getLogger().debug("Rule: nodeStatement (abc88 node size) ",o[a-1],o[a]);this.$={id:o[a-1].id,label:o[a-1].label,type:n.typeStr2Type(o[a-1].typeStr),directions:o[a-1].directions,widthInColumns:parseInt(o[a],10)};break;case 25:n.getLogger().debug("Rule: nodeStatement (node) ",o[a]);this.$={id:o[a].id,label:o[a].label,type:n.typeStr2Type(o[a].typeStr),directions:o[a].directions,widthInColumns:1};break;case 26:n.getLogger().debug("APA123",this?this:"na");n.getLogger().debug("COLUMNS: ",o[a]);this.$={type:"column-setting",columns:o[a]==="auto"?-1:parseInt(o[a])};break;case 27:n.getLogger().debug("Rule: id-block statement : ",o[a-2],o[a-1]);n.generateId();this.$={...o[a-2],type:"composite",children:o[a-1]};break;case 28:n.getLogger().debug("Rule: blockStatement : ",o[a-2],o[a-1],o[a]);const r=n.generateId();this.$={id:r,type:"composite",label:"",children:o[a-1]};break;case 29:n.getLogger().debug("Rule: node (NODE_ID separator): ",o[a]);this.$={id:o[a]};break;case 30:n.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",o[a-1],o[a]);this.$={id:o[a-1],label:o[a].label,typeStr:o[a].typeStr,directions:o[a].directions};break;case 31:n.getLogger().debug("Rule: dirList: ",o[a]);this.$=[o[a]];break;case 32:n.getLogger().debug("Rule: dirList: ",o[a-1],o[a]);this.$=[o[a-1]].concat(o[a]);break;case 33:n.getLogger().debug("Rule: nodeShapeNLabel: ",o[a-2],o[a-1],o[a]);this.$={typeStr:o[a-2]+o[a],label:o[a-1]};break;case 34:n.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",o[a-3],o[a-2]," #3:",o[a-1],o[a]);this.$={typeStr:o[a-3]+o[a],label:o[a-2],directions:o[a-1]};break;case 35:case 36:this.$={type:"classDef",id:o[a-1].trim(),css:o[a].trim()};break;case 37:this.$={type:"applyClass",id:o[a-1].trim(),styleClass:o[a].trim()};break;case 38:this.$={type:"applyStyles",id:o[a-1].trim(),stylesStr:o[a].trim()};break}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:s,29:i,31:n,32:r,40:o,44:l,47:a},{8:[1,20]},e(c,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:s,29:i,31:n,32:r,40:o,44:l,47:a}),e(u,[2,16],{14:22,15:h,16:d}),e(u,[2,17]),e(u,[2,18]),e(u,[2,19]),e(u,[2,20]),e(u,[2,21]),e(u,[2,22]),e(g,[2,25],{27:[1,25]}),e(u,[2,26]),{19:26,26:12,32:r},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:s,29:i,31:n,32:r,40:o,44:l,47:a},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(y,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(c,[2,13]),{26:35,32:r},{32:[2,14]},{17:[1,36]},e(g,[2,24]),{11:37,13:4,14:22,15:h,16:d,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:s,29:i,31:n,32:r,40:o,44:l,47:a},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(y,[2,30]),{18:[1,43]},{18:[1,44]},e(g,[2,23]),{18:[1,45]},{30:[1,46]},e(u,[2,28]),e(u,[2,35]),e(u,[2,36]),e(u,[2,37]),e(u,[2,38]),{37:[1,47]},{34:48,35:p},{15:[1,50]},e(u,[2,27]),e(y,[2,33]),{39:[1,51]},{34:52,35:p,39:[2,31]},{32:[2,15]},e(y,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function e(t,s){if(s.recoverable){this.trace(t)}else{var i=new Error(t);i.hash=s;throw i}},parse:function e(t){var s=this,i=[0],n=[],r=[null],o=[],l=this.table,a="",c=0,u=0,h=2,d=1;var g=o.slice.call(arguments,1);var y=Object.create(this.lexer);var p={yy:{}};for(var b in this.yy){if(Object.prototype.hasOwnProperty.call(this.yy,b)){p.yy[b]=this.yy[b]}}y.setInput(t,p.yy);p.yy.lexer=y;p.yy.parser=this;if(typeof y.yylloc=="undefined"){y.yylloc={}}var f=y.yylloc;o.push(f);var x=y.options&&y.options.ranges;if(typeof p.yy.parseError==="function"){this.parseError=p.yy.parseError}else{this.parseError=Object.getPrototypeOf(this).parseError}function L(){var e;e=n.pop()||y.lex()||d;if(typeof e!=="number"){if(e instanceof Array){n=e;e=n.pop()}e=s.symbols_[e]||e}return e}var S,_,m,k,E={},v,D,w,N;while(true){_=i[i.length-1];if(this.defaultActions[_]){m=this.defaultActions[_]}else{if(S===null||typeof S=="undefined"){S=L()}m=l[_]&&l[_][S]}if(typeof m==="undefined"||!m.length||!m[0]){var $="";N=[];for(v in l[_]){if(this.terminals_[v]&&v>h){N.push("'"+this.terminals_[v]+"'")}}if(y.showPosition){$="Parse error on line "+(c+1)+":\n"+y.showPosition()+"\nExpecting "+N.join(", ")+", got '"+(this.terminals_[S]||S)+"'"}else{$="Parse error on line "+(c+1)+": Unexpected "+(S==d?"end of input":"'"+(this.terminals_[S]||S)+"'")}this.parseError($,{text:y.match,token:this.terminals_[S]||S,line:y.yylineno,loc:f,expected:N})}if(m[0]instanceof Array&&m.length>1){throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+S)}switch(m[0]){case 1:i.push(S);r.push(y.yytext);o.push(y.yylloc);i.push(m[1]);S=null;{u=y.yyleng;a=y.yytext;c=y.yylineno;f=y.yylloc}break;case 2:D=this.productions_[m[1]][1];E.$=r[r.length-D];E._$={first_line:o[o.length-(D||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(D||1)].first_column,last_column:o[o.length-1].last_column};if(x){E._$.range=[o[o.length-(D||1)].range[0],o[o.length-1].range[1]]}k=this.performAction.apply(E,[a,u,c,p.yy,m[1],r,o].concat(g));if(typeof k!=="undefined"){return k}if(D){i=i.slice(0,-1*D*2);r=r.slice(0,-1*D);o=o.slice(0,-1*D)}i.push(this.productions_[m[1]][0]);r.push(E.$);o.push(E._$);w=l[i[i.length-2]][i[i.length-1]];i.push(w);break;case 3:return true}}return true}};var f=function(){var e={EOF:1,parseError:function e(t,s){if(this.yy.parser){this.yy.parser.parseError(t,s)}else{throw new Error(t)}},setInput:function(e,t){this.yy=t||this.yy||{};this._input=e;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 e=this._input[0];this.yytext+=e;this.yyleng++;this.offset++;this.match+=e;this.matched+=e;var t=e.match(/(?:\r\n?|\n).*/g);if(t){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 e},unput:function(e){var t=e.length;var s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input;this.yytext=this.yytext.substr(0,this.yytext.length-t);this.offset-=t;var i=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(s.length-1){this.yylineno-=s.length-1}var n=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-t};if(this.options.ranges){this.yylloc.range=[n[0],n[0]+this.yyleng-t]}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(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;if(e.length<20){e+=this._input.substr(0,20-e.length)}return(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput();var t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var s,i,n;if(this.options.backtrack_lexer){n={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){n.yylloc.range=this.yylloc.range.slice(0)}}i=e[0].match(/(?:\r\n?|\n).*/g);if(i){this.yylineno+=i.length}this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length};this.yytext+=e[0];this.match+=e[0];this.matches=e;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(e[0].length);this.matched+=e[0];s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]);if(this.done&&this._input){this.done=false}if(s){return s}else if(this._backtrack){for(var r in n){this[r]=n[r]}return false}return false},next:function(){if(this.done){return this.EOF}if(!this._input){this.done=true}var e,t,s,i;if(!this._more){this.yytext="";this.match=""}var n=this._currentRules();for(var r=0;r<n.length;r++){s=this._input.match(this.rules[n[r]]);if(s&&(!t||s[0].length>t[0].length)){t=s;i=r;if(this.options.backtrack_lexer){e=this.test_match(s,n[r]);if(e!==false){return e}else if(this._backtrack){t=false;continue}else{return false}}else if(!this.options.flex){break}}}if(t){e=this.test_match(t,n[i]);if(e!==false){return e}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 e(){var t=this.next();if(t){return t}else{return this.lex()}},begin:function e(t){this.conditionStack.push(t)},popState:function e(){var t=this.conditionStack.length-1;if(t>0){return this.conditionStack.pop()}else{return this.conditionStack[0]}},_currentRules:function e(){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 e(t){t=this.conditionStack.length-1-Math.abs(t||0);if(t>=0){return this.conditionStack[t]}else{return"INITIAL"}},pushState:function e(t){this.begin(t)},stateStackSize:function e(){return this.conditionStack.length},options:{},performAction:function e(t,s,i,n){switch(i){case 0:return 10;case 1:t.getLogger().debug("Found space-block");return 31;case 2:t.getLogger().debug("Found nl-block");return 31;case 3:t.getLogger().debug("Found space-block");return 29;case 4:t.getLogger().debug(".",s.yytext);break;case 5:t.getLogger().debug("_",s.yytext);break;case 6:return 5;case 7:s.yytext=-1;return 28;case 8:s.yytext=s.yytext.replace(/columns\s+/,"");t.getLogger().debug("COLUMNS (LEX)",s.yytext);return 28;case 9:this.pushState("md_string");break;case 10:return"MD_STR";case 11:this.popState();break;case 12:this.pushState("string");break;case 13:t.getLogger().debug("LEX: POPPING STR:",s.yytext);this.popState();break;case 14:t.getLogger().debug("LEX: STR end:",s.yytext);return"STR";case 15:s.yytext=s.yytext.replace(/space\:/,"");t.getLogger().debug("SPACE NUM (LEX)",s.yytext);return 21;case 16:s.yytext="1";t.getLogger().debug("COLUMNS (LEX)",s.yytext);return 21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:this.pushState("CLASSDEF");return 40;case 21:this.popState();this.pushState("CLASSDEFID");return"DEFAULT_CLASSDEF_ID";case 22:this.popState();this.pushState("CLASSDEFID");return 41;case 23:this.popState();return 42;case 24:this.pushState("CLASS");return 44;case 25:this.popState();this.pushState("CLASS_STYLE");return 45;case 26:this.popState();return 46;case 27:this.pushState("STYLE_STMNT");return 47;case 28:this.popState();this.pushState("STYLE_DEFINITION");return 48;case 29:this.popState();return 49;case 30:this.pushState("acc_title");return"acc_title";case 31:this.popState();return"acc_title_value";case 32:this.pushState("acc_descr");return"acc_descr";case 33:this.popState();return"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 35:this.popState();break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:this.popState();t.getLogger().debug("Lex: ((");return"NODE_DEND";case 39:this.popState();t.getLogger().debug("Lex: ((");return"NODE_DEND";case 40:this.popState();t.getLogger().debug("Lex: ))");return"NODE_DEND";case 41:this.popState();t.getLogger().debug("Lex: ((");return"NODE_DEND";case 42:this.popState();t.getLogger().debug("Lex: ((");return"NODE_DEND";case 43:this.popState();t.getLogger().debug("Lex: (-");return"NODE_DEND";case 44:this.popState();t.getLogger().debug("Lex: -)");return"NODE_DEND";case 45:this.popState();t.getLogger().debug("Lex: ((");return"NODE_DEND";case 46:this.popState();t.getLogger().debug("Lex: ]]");return"NODE_DEND";case 47:this.popState();t.getLogger().debug("Lex: (");return"NODE_DEND";case 48:this.popState();t.getLogger().debug("Lex: ])");return"NODE_DEND";case 49:this.popState();t.getLogger().debug("Lex: /]");return"NODE_DEND";case 50:this.popState();t.getLogger().debug("Lex: /]");return"NODE_DEND";case 51:this.popState();t.getLogger().debug("Lex: )]");return"NODE_DEND";case 52:this.popState();t.getLogger().debug("Lex: )");return"NODE_DEND";case 53:this.popState();t.getLogger().debug("Lex: ]>");return"NODE_DEND";case 54:this.popState();t.getLogger().debug("Lex: ]");return"NODE_DEND";case 55:t.getLogger().debug("Lexa: -)");this.pushState("NODE");return 36;case 56:t.getLogger().debug("Lexa: (-");this.pushState("NODE");return 36;case 57:t.getLogger().debug("Lexa: ))");this.pushState("NODE");return 36;case 58:t.getLogger().debug("Lexa: )");this.pushState("NODE");return 36;case 59:t.getLogger().debug("Lex: (((");this.pushState("NODE");return 36;case 60:t.getLogger().debug("Lexa: )");this.pushState("NODE");return 36;case 61:t.getLogger().debug("Lexa: )");this.pushState("NODE");return 36;case 62:t.getLogger().debug("Lexa: )");this.pushState("NODE");return 36;case 63:t.getLogger().debug("Lexc: >");this.pushState("NODE");return 36;case 64:t.getLogger().debug("Lexa: ([");this.pushState("NODE");return 36;case 65:t.getLogger().debug("Lexa: )");this.pushState("NODE");return 36;case 66:this.pushState("NODE");return 36;case 67:this.pushState("NODE");return 36;case 68:this.pushState("NODE");return 36;case 69:this.pushState("NODE");return 36;case 70:this.pushState("NODE");return 36;case 71:this.pushState("NODE");return 36;case 72:this.pushState("NODE");return 36;case 73:t.getLogger().debug("Lexa: [");this.pushState("NODE");return 36;case 74:this.pushState("BLOCK_ARROW");t.getLogger().debug("LEX ARR START");return 38;case 75:t.getLogger().debug("Lex: NODE_ID",s.yytext);return 32;case 76:t.getLogger().debug("Lex: EOF",s.yytext);return 8;case 77:this.pushState("md_string");break;case 78:this.pushState("md_string");break;case 79:return"NODE_DESCR";case 80:this.popState();break;case 81:t.getLogger().debug("Lex: Starting string");this.pushState("string");break;case 82:t.getLogger().debug("LEX ARR: Starting string");this.pushState("string");break;case 83:t.getLogger().debug("LEX: NODE_DESCR:",s.yytext);return"NODE_DESCR";case 84:t.getLogger().debug("LEX POPPING");this.popState();break;case 85:t.getLogger().debug("Lex: =>BAE");this.pushState("ARROW_DIR");break;case 86:s.yytext=s.yytext.replace(/^,\s*/,"");t.getLogger().debug("Lex (right): dir:",s.yytext);return"DIR";case 87:s.yytext=s.yytext.replace(/^,\s*/,"");t.getLogger().debug("Lex (left):",s.yytext);return"DIR";case 88:s.yytext=s.yytext.replace(/^,\s*/,"");t.getLogger().debug("Lex (x):",s.yytext);return"DIR";case 89:s.yytext=s.yytext.replace(/^,\s*/,"");t.getLogger().debug("Lex (y):",s.yytext);return"DIR";case 90:s.yytext=s.yytext.replace(/^,\s*/,"");t.getLogger().debug("Lex (up):",s.yytext);return"DIR";case 91:s.yytext=s.yytext.replace(/^,\s*/,"");t.getLogger().debug("Lex (down):",s.yytext);return"DIR";case 92:s.yytext="]>";t.getLogger().debug("Lex (ARROW_DIR end):",s.yytext);this.popState();this.popState();return"BLOCK_ARROW_END";case 93:t.getLogger().debug("Lex: LINK","#"+s.yytext+"#");return 15;case 94:t.getLogger().debug("Lex: LINK",s.yytext);return 15;case 95:t.getLogger().debug("Lex: LINK",s.yytext);return 15;case 96:t.getLogger().debug("Lex: LINK",s.yytext);return 15;case 97:t.getLogger().debug("Lex: START_LINK",s.yytext);this.pushState("LLABEL");return 16;case 98:t.getLogger().debug("Lex: START_LINK",s.yytext);this.pushState("LLABEL");return 16;case 99:t.getLogger().debug("Lex: START_LINK",s.yytext);this.pushState("LLABEL");return 16;case 100:this.pushState("md_string");break;case 101:t.getLogger().debug("Lex: Starting string");this.pushState("string");return"LINK_LABEL";case 102:this.popState();t.getLogger().debug("Lex: LINK","#"+s.yytext+"#");return 15;case 103:this.popState();t.getLogger().debug("Lex: LINK",s.yytext);return 15;case 104:this.popState();t.getLogger().debug("Lex: LINK",s.yytext);return 15;case 105:t.getLogger().debug("Lex: COLON",s.yytext);s.yytext=s.yytext.slice(1);return 27}},rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:false},STYLE_STMNT:{rules:[28],inclusive:false},CLASSDEFID:{rules:[23],inclusive:false},CLASSDEF:{rules:[21,22],inclusive:false},CLASS_STYLE:{rules:[26],inclusive:false},CLASS:{rules:[25],inclusive:false},LLABEL:{rules:[100,101,102,103,104],inclusive:false},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:false},BLOCK_ARROW:{rules:[77,82,85],inclusive:false},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:false},md_string:{rules:[10,11,79,80],inclusive:false},space:{rules:[],inclusive:false},string:{rules:[13,14,83,84],inclusive:false},acc_descr_multiline:{rules:[35,36],inclusive:false},acc_descr:{rules:[33],inclusive:false},acc_title:{rules:[31],inclusive:false},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:true}}};return e}();b.lexer=f;function x(){this.yy={}}x.prototype=b;b.Parser=x;return new x}();f.parser=f;const x=f;let L={};let S=[];let _={};const m="color";const k="fill";const E="bgFill";const v=",";const D=(0,i.c)();let w={};const N=e=>i.e.sanitizeText(e,D);const $=function(e,t=""){if(w[e]===void 0){w[e]={id:e,styles:[],textStyles:[]}}const s=w[e];if(t!==void 0&&t!==null){t.split(v).forEach((e=>{const t=e.replace(/([^;]*);/,"$1").trim();if(e.match(m)){const e=t.replace(k,E);const i=e.replace(m,k);s.textStyles.push(i)}s.styles.push(t)}))}};const I=function(e,t=""){const s=L[e];if(t!==void 0&&t!==null){s.styles=t.split(v)}};const T=function(e,t){e.split(",").forEach((function(e){let s=L[e];if(s===void 0){const t=e.trim();L[t]={id:t,type:"na",children:[]};s=L[t]}if(!s.classes){s.classes=[]}s.classes.push(t)}))};const O=(e,t)=>{const s=e.flat();const i=[];for(const r of s){if(r.label){r.label=N(r.label)}if(r.type==="classDef"){$(r.id,r.css);continue}if(r.type==="applyClass"){T(r.id,(r==null?void 0:r.styleClass)||"");continue}if(r.type==="applyStyles"){if(r==null?void 0:r.stylesStr){I(r.id,r==null?void 0:r.stylesStr)}continue}if(r.type==="column-setting"){t.columns=r.columns||-1}else if(r.type==="edge"){if(_[r.id]){_[r.id]++}else{_[r.id]=1}r.id=_[r.id]+"-"+r.id;S.push(r)}else{if(!r.label){if(r.type==="composite"){r.label=""}else{r.label=r.id}}const e=!L[r.id];if(e){L[r.id]=r}else{if(r.type!=="na"){L[r.id].type=r.type}if(r.label!==r.id){L[r.id].label=r.label}}if(r.children){O(r.children,r)}if(r.type==="space"){const e=r.width||1;for(let t=0;t<e;t++){const e=(0,n.A)(r);e.id=e.id+"-"+t;L[e.id]=e;i.push(e)}}else if(e){i.push(r)}}}t.children=i};let A=[];let z={id:"root",type:"composite",children:[],columns:-1};const C=()=>{i.l.debug("Clear called");(0,i.v)();z={id:"root",type:"composite",children:[],columns:-1};L={root:z};A=[];w={};S=[];_={}};function R(e){i.l.debug("typeStr2Type",e);switch(e){case"[]":return"square";case"()":i.l.debug("we have a round");return"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function B(e){i.l.debug("typeStr2Type",e);switch(e){case"==":return"thick";default:return"normal"}}function F(e){switch(e.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}}let P=0;const Y=()=>{P++;return"id-"+Math.random().toString(36).substr(2,12)+"-"+P};const K=e=>{z.children=e;O(e,z);A=z.children};const X=e=>{const t=L[e];if(!t){return-1}if(t.columns){return t.columns}if(!t.children){return-1}return t.children.length};const M=()=>[...Object.values(L)];const W=()=>A||[];const U=()=>S;const j=e=>L[e];const H=e=>{L[e.id]=e};const G=()=>console;const q=function(){return w};const Z={getConfig:()=>(0,i.F)().block,typeStr2Type:R,edgeTypeStr2Type:B,edgeStrToEdgeData:F,getLogger:G,getBlocksFlat:M,getBlocks:W,getEdges:U,setHierarchy:K,getBlock:j,setBlock:H,getColumns:X,getClasses:q,clear:C,generateId:Y};const J=Z;const Q=(e,t)=>{const s=r.A;const i=s(e,"r");const n=s(e,"g");const l=s(e,"b");return o.A(i,n,l,t)};const V=e=>`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${Q(e.edgeLabelBackground,.5)};\n // background-color:\n }\n\n .node .cluster {\n // fill: ${Q(e.mainBkg,.5)};\n fill: ${Q(e.clusterBkg,.5)};\n stroke: ${Q(e.clusterBorder,.2)};\n box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`;const ee=V;function te(e,t,s=false){var n,r,o;const l=e;let a="default";if((((n=l==null?void 0:l.classes)==null?void 0:n.length)||0)>0){a=((l==null?void 0:l.classes)||[]).join(" ")}a=a+" flowchart-label";let c=0;let u="";let h;switch(l.type){case"round":c=5;u="rect";break;case"composite":c=0;u="composite";h=0;break;case"square":u="rect";break;case"diamond":u="question";break;case"hexagon":u="hexagon";break;case"block_arrow":u="block_arrow";break;case"odd":u="rect_left_inv_arrow";break;case"lean_right":u="lean_right";break;case"lean_left":u="lean_left";break;case"trapezoid":u="trapezoid";break;case"inv_trapezoid":u="inv_trapezoid";break;case"rect_left_inv_arrow":u="rect_left_inv_arrow";break;case"circle":u="circle";break;case"ellipse":u="ellipse";break;case"stadium":u="stadium";break;case"subroutine":u="subroutine";break;case"cylinder":u="cylinder";break;case"group":u="rect";break;case"doublecircle":u="doublecircle";break;default:u="rect"}const d=(0,i.k)((l==null?void 0:l.styles)||[]);const g=l.label;const y=l.size||{width:0,height:0,x:0,y:0};const p={labelStyle:d.labelStyle,shape:u,labelText:g,rx:c,ry:c,class:a,style:d.style,id:l.id,directions:l.directions,width:y.width,height:y.height,x:y.x,y:y.y,positioned:s,intersect:void 0,type:l.type,padding:h??(((o=(r=(0,i.F)())==null?void 0:r.block)==null?void 0:o.padding)||0)};return p}async function se(e,t,s){const i=te(t,s,false);if(i.type==="group"){return}const n=await(0,l.e)(e,i);const r=n.node().getBBox();const o=s.getBlock(i.id);o.size={width:r.width,height:r.height,x:0,y:0,node:n};s.setBlock(o);n.remove()}async function ie(e,t,s){const i=te(t,s,true);const n=s.getBlock(i.id);if(n.type!=="space"){await(0,l.e)(e,i);t.intersect=i==null?void 0:i.intersect;(0,l.p)(i)}}async function ne(e,t,s,i){for(const n of t){await i(e,n,s);if(n.children){await ne(e,n.children,s,i)}}}async function re(e,t,s){await ne(e,t,s,se)}async function oe(e,t,s){await ne(e,t,s,ie)}async function le(e,t,s,i,n){const r=new a.T({multigraph:true,compound:true});r.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(const o of s){if(o.size){r.setNode(o.id,{width:o.size.width,height:o.size.height,intersect:o.intersect})}}for(const o of t){if(o.start&&o.end){const t=i.getBlock(o.start);const s=i.getBlock(o.end);if((t==null?void 0:t.size)&&(s==null?void 0:s.size)){const i=t.size;const a=s.size;const c=[{x:i.x,y:i.y},{x:i.x+(a.x-i.x)/2,y:i.y+(a.y-i.y)/2},{x:a.x,y:a.y}];await(0,l.h)(e,{v:o.start,w:o.end,name:o.id},{...o,arrowTypeEnd:o.arrowTypeEnd,arrowTypeStart:o.arrowTypeStart,points:c,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",r,n);if(o.label){await(0,l.f)(e,{...o,label:o.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:o.arrowTypeEnd,arrowTypeStart:o.arrowTypeStart,points:c,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"});await(0,l.j)({...o,x:c[1].x,y:c[1].y},{originalPath:c})}}}}}const ae=((b=(p=(0,i.c)())==null?void 0:p.block)==null?void 0:b.padding)||8;function ce(e,t){if(e===0||!Number.isInteger(e)){throw new Error("Columns must be an integer !== 0.")}if(t<0||!Number.isInteger(t)){throw new Error("Position must be a non-negative integer."+t)}if(e<0){return{px:t,py:0}}if(e===1){return{px:0,py:t}}const s=t%e;const i=Math.floor(t/e);return{px:s,py:i}}const ue=e=>{let t=0;let s=0;for(const n of e.children){const{width:r,height:o,x:l,y:a}=n.size||{width:0,height:0,x:0,y:0};i.l.debug("getMaxChildSize abc95 child:",n.id,"width:",r,"height:",o,"x:",l,"y:",a,n.type);if(n.type==="space"){continue}if(r>t){t=r/(e.widthInColumns||1)}if(o>s){s=o}}return{width:t,height:s}};function he(e,t,s=0,n=0){var r,o,l,a,c,u,h,d,g,y,p;i.l.debug("setBlockSizes abc95 (start)",e.id,(r=e==null?void 0:e.size)==null?void 0:r.x,"block width =",e==null?void 0:e.size,"sieblingWidth",s);if(!((o=e==null?void 0:e.size)==null?void 0:o.width)){e.size={width:s,height:n,x:0,y:0}}let b=0;let f=0;if(((l=e.children)==null?void 0:l.length)>0){for(const s of e.children){he(s,t)}const r=ue(e);b=r.width;f=r.height;i.l.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",b,f);for(const t of e.children){if(t.size){i.l.debug(`abc95 Setting size of children of ${e.id} id=${t.id} ${b} ${f} ${t.size}`);t.size.width=b*(t.widthInColumns||1)+ae*((t.widthInColumns||1)-1);t.size.height=f;t.size.x=0;t.size.y=0;i.l.debug(`abc95 updating size of ${e.id} children child:${t.id} maxWidth:${b} maxHeight:${f}`)}}for(const s of e.children){he(s,t,b,f)}const o=e.columns||-1;let l=0;for(const t of e.children){l+=t.widthInColumns||1}let d=e.children.length;if(o>0&&o<l){d=o}e.widthInColumns||1;const g=Math.ceil(l/d);let y=d*(b+ae)+ae;let p=g*(f+ae)+ae;if(y<s){i.l.debug(`Detected to small siebling: abc95 ${e.id} sieblingWidth ${s} sieblingHeight ${n} width ${y}`);y=s;p=n;const t=(s-d*ae-ae)/d;const r=(n-g*ae-ae)/g;i.l.debug("Size indata abc88",e.id,"childWidth",t,"maxWidth",b);i.l.debug("Size indata abc88",e.id,"childHeight",r,"maxHeight",f);i.l.debug("Size indata abc88 xSize",d,"padding",ae);for(const s of e.children){if(s.size){s.size.width=t;s.size.height=r;s.size.x=0;s.size.y=0}}}i.l.debug(`abc95 (finale calc) ${e.id} xSize ${d} ySize ${g} columns ${o}${e.children.length} width=${Math.max(y,((a=e.size)==null?void 0:a.width)||0)}`);if(y<(((c=e==null?void 0:e.size)==null?void 0:c.width)||0)){y=((u=e==null?void 0:e.size)==null?void 0:u.width)||0;const t=o>0?Math.min(e.children.length,o):e.children.length;if(t>0){const s=(y-t*ae-ae)/t;i.l.debug("abc95 (growing to fit) width",e.id,y,(h=e.size)==null?void 0:h.width,s);for(const t of e.children){if(t.size){t.size.width=s}}}}e.size={width:y,height:p,x:0,y:0}}i.l.debug("setBlockSizes abc94 (done)",e.id,(d=e==null?void 0:e.size)==null?void 0:d.x,(g=e==null?void 0:e.size)==null?void 0:g.width,(y=e==null?void 0:e.size)==null?void 0:y.y,(p=e==null?void 0:e.size)==null?void 0:p.height)}function de(e,t){var s,n,r,o,l,a,c,u,h,d,g,y,p,b,f,x,L;i.l.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${(s=e==null?void 0:e.size)==null?void 0:s.x} y: ${(n=e==null?void 0:e.size)==null?void 0:n.y} width: ${(r=e==null?void 0:e.size)==null?void 0:r.width}`);const S=e.columns||-1;i.l.debug("layoutBlocks columns abc95",e.id,"=>",S,e);if(e.children&&e.children.length>0){const t=((l=(o=e==null?void 0:e.children[0])==null?void 0:o.size)==null?void 0:l.width)||0;const s=e.children.length*t+(e.children.length-1)*ae;i.l.debug("widthOfChildren 88",s,"posX");let n=0;i.l.debug("abc91 block?.size?.x",e.id,(a=e==null?void 0:e.size)==null?void 0:a.x);let r=((c=e==null?void 0:e.size)==null?void 0:c.x)?((u=e==null?void 0:e.size)==null?void 0:u.x)+(-((h=e==null?void 0:e.size)==null?void 0:h.width)/2||0):-ae;let f=0;for(const o of e.children){const t=e;if(!o.size){continue}const{width:s,height:l}=o.size;const{px:a,py:c}=ce(S,n);if(c!=f){f=c;r=((d=e==null?void 0:e.size)==null?void 0:d.x)?((g=e==null?void 0:e.size)==null?void 0:g.x)+(-((y=e==null?void 0:e.size)==null?void 0:y.width)/2||0):-ae;i.l.debug("New row in layout for block",e.id," and child ",o.id,f)}i.l.debug(`abc89 layout blocks (child) id: ${o.id} Pos: ${n} (px, py) ${a},${c} (${(p=t==null?void 0:t.size)==null?void 0:p.x},${(b=t==null?void 0:t.size)==null?void 0:b.y}) parent: ${t.id} width: ${s}${ae}`);if(t.size){const e=s/2;o.size.x=r+ae+e;i.l.debug(`abc91 layout blocks (calc) px, pyid:${o.id} startingPos=X${r} new startingPosX${o.size.x} ${e} padding=${ae} width=${s} halfWidth=${e} => x:${o.size.x} y:${o.size.y} ${o.widthInColumns} (width * (child?.w || 1)) / 2 ${s*((o==null?void 0:o.widthInColumns)||1)/2}`);r=o.size.x+e;o.size.y=t.size.y-t.size.height/2+c*(l+ae)+l/2+ae;i.l.debug(`abc88 layout blocks (calc) px, pyid:${o.id}startingPosX${r}${ae}${e}=>x:${o.size.x}y:${o.size.y}${o.widthInColumns}(width * (child?.w || 1)) / 2${s*((o==null?void 0:o.widthInColumns)||1)/2}`)}if(o.children){de(o)}n+=(o==null?void 0:o.widthInColumns)||1;i.l.debug("abc88 columnsPos",o,n)}}i.l.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${(f=e==null?void 0:e.size)==null?void 0:f.x} y: ${(x=e==null?void 0:e.size)==null?void 0:x.y} width: ${(L=e==null?void 0:e.size)==null?void 0:L.width}`)}function ge(e,{minX:t,minY:s,maxX:i,maxY:n}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!=="root"){const{x:r,y:o,width:l,height:a}=e.size;if(r-l/2<t){t=r-l/2}if(o-a/2<s){s=o-a/2}if(r+l/2>i){i=r+l/2}if(o+a/2>n){n=o+a/2}}if(e.children){for(const r of e.children){({minX:t,minY:s,maxX:i,maxY:n}=ge(r,{minX:t,minY:s,maxX:i,maxY:n}))}}return{minX:t,minY:s,maxX:i,maxY:n}}function ye(e){const t=e.getBlock("root");if(!t){return}he(t,e,0,0);de(t);i.l.debug("getBlocks",JSON.stringify(t,null,2));const{minX:s,minY:n,maxX:r,maxY:o}=ge(t);const l=o-n;const a=r-s;return{x:s,y:n,width:a,height:l}}const pe=function(e,t){return t.db.getClasses()};const be=async function(e,t,s,n){const{securityLevel:r,block:o}=(0,i.F)();const a=n.db;let u;if(r==="sandbox"){u=(0,c.Ltv)("#i"+t)}const h=r==="sandbox"?(0,c.Ltv)(u.nodes()[0].contentDocument.body):(0,c.Ltv)("body");const d=r==="sandbox"?h.select(`[id="${t}"]`):(0,c.Ltv)(`[id="${t}"]`);const g=["point","circle","cross"];(0,l.a)(d,g,n.type,t);const y=a.getBlocks();const p=a.getBlocksFlat();const b=a.getEdges();const f=d.insert("g").attr("class","block");await re(f,y,a);const x=ye(a);await oe(f,y,a);await le(f,b,p,a,t);if(x){const e=x;const t=Math.max(1,Math.round(.125*(e.width/e.height)));const s=e.height+t+10;const n=e.width+10;const{useMaxWidth:r}=o;(0,i.i)(d,s,n,!!r);i.l.debug("Here Bounds",x,e);d.attr("viewBox",`${e.x-5} ${e.y-5} ${e.width+10} ${e.height+10}`)}(0,c.UMr)(c.zt)};const fe={draw:be,getClasses:pe};const xe={parser:x,db:J,renderer:fe,styles:ee}}}]);
|
@@ -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([[8880],{67901:(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}}]);
|