ZAIDX11 commited on
Commit
434a312
·
verified ·
1 Parent(s): be66cbd

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .venv/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +64 -0
  2. .venv/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +69 -0
  3. .venv/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +68 -0
  4. .venv/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +421 -0
  5. .venv/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +61 -0
  6. .venv/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +76 -0
  7. .venv/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +63 -0
  8. .venv/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +38 -0
  9. .venv/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +100 -0
  10. .venv/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +62 -0
  11. .venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +14 -0
  12. .venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +32 -0
  13. .venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +92 -0
  14. .venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +110 -0
  15. .venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +143 -0
  16. .venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +848 -0
  17. .venv/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +69 -0
  18. .venv/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +69 -0
  19. .venv/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +14 -0
  20. .venv/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +65 -0
  21. .venv/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +21 -0
  22. .venv/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +71 -0
  23. .venv/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +74 -0
  24. .venv/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +59 -0
  25. .venv/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +37 -0
  26. .venv/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +65 -0
  27. .venv/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +141 -0
  28. .venv/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +61 -0
  29. .venv/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +72 -0
  30. .venv/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +19 -0
  31. .venv/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +14 -0
  32. .venv/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +19 -0
  33. .venv/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +66 -0
  34. .venv/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +58 -0
  35. .venv/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +52 -0
  36. .venv/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/indicator.json +37 -0
  37. .venv/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
  38. .venv/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig +64 -0
  39. .venv/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
  40. .venv/share/jupyter/lab/static/100.1d14ca44a3cc8849349f.js +1 -0
  41. .venv/share/jupyter/lab/static/1039.3fe94e87219c0ed159d3.js +1 -0
  42. .venv/share/jupyter/lab/static/1096.dd4c563e0483cbbeb9c9.js +0 -0
  43. .venv/share/jupyter/lab/static/1189.c1482e88f0e949753db6.js +1 -0
  44. .venv/share/jupyter/lab/static/1208.4b9ab7b231d39ebdbc3f.js +1 -0
  45. .venv/share/jupyter/lab/static/1219.b5630aa3a46050fddc27.js +1 -0
  46. .venv/share/jupyter/lab/static/1268.e75d8a6dd557ac8957ca.js +1 -0
  47. .venv/share/jupyter/lab/static/1359.d5f23f0e2a6f67b69751.js +1 -0
  48. .venv/share/jupyter/lab/static/1423.4bcf4453e1c1d12d872f.js +1 -0
  49. .venv/share/jupyter/lab/static/1436.2c11d9dee0ad6f49e968.js +1 -0
  50. .venv/share/jupyter/lab/static/1445.a0e099c27d073217031a.js +1 -0
.venv/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/lsp-extension",
3
+ "version": "4.4.6",
4
+ "description": "",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/*.css",
17
+ "style/index.js"
18
+ ],
19
+ "main": "lib/index.js",
20
+ "types": "lib/index.d.ts",
21
+ "style": "style/index.css",
22
+ "directories": {
23
+ "lib": "lib/"
24
+ },
25
+ "files": [
26
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
27
+ "schema/*.json",
28
+ "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
29
+ "style/index.js",
30
+ "src/**/*.{ts,tsx}"
31
+ ],
32
+ "scripts": {
33
+ "build": "tsc -b",
34
+ "build:all": "npm run build",
35
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
36
+ "watch": "tsc -b --watch"
37
+ },
38
+ "dependencies": {
39
+ "@jupyterlab/application": "^4.4.6",
40
+ "@jupyterlab/apputils": "^4.5.6",
41
+ "@jupyterlab/lsp": "^4.4.6",
42
+ "@jupyterlab/running": "^4.4.6",
43
+ "@jupyterlab/settingregistry": "^4.4.6",
44
+ "@jupyterlab/translation": "^4.4.6",
45
+ "@jupyterlab/ui-components": "^4.4.6",
46
+ "@lumino/coreutils": "^2.2.1",
47
+ "@lumino/polling": "^2.1.4",
48
+ "@lumino/signaling": "^2.1.4",
49
+ "@rjsf/utils": "^5.13.4",
50
+ "react": "^18.2.0"
51
+ },
52
+ "devDependencies": {
53
+ "rimraf": "~5.0.5",
54
+ "typescript": "~5.5.4"
55
+ },
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "jupyterlab": {
60
+ "extension": true,
61
+ "schemaDir": "schema"
62
+ },
63
+ "styleModule": "style/index.js"
64
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "jupyter.lab.setting-icon": "ui-components:code-check",
3
+ "jupyter.lab.setting-icon-label": "Language integration",
4
+ "jupyter.lab.transform": true,
5
+ "title": "Language Servers (Experimental)",
6
+ "description": "Language Server Protocol settings.",
7
+ "type": "object",
8
+ "definitions": {
9
+ "languageServer": {
10
+ "type": "object",
11
+ "default": {
12
+ "configuration": {},
13
+ "rank": 50
14
+ },
15
+ "properties": {
16
+ "configuration": {
17
+ "title": "Language Server Configurations",
18
+ "description": "Configuration to be sent to language server over LSP when initialized: see the specific language server's documentation for more",
19
+ "type": "object",
20
+ "default": {},
21
+ "patternProperties": {
22
+ ".*": {
23
+ "type": ["number", "string", "boolean", "object", "array"]
24
+ }
25
+ },
26
+ "additionalProperties": true
27
+ },
28
+ "rank": {
29
+ "title": "Rank of the server",
30
+ "description": "When multiple servers match specific document/language, the server with the highest rank will be used",
31
+ "type": "number",
32
+ "default": 50,
33
+ "minimum": 1
34
+ }
35
+ }
36
+ }
37
+ },
38
+ "properties": {
39
+ "activate": {
40
+ "title": "Activate",
41
+ "description": "Enable or disable the language server services.",
42
+ "enum": ["off", "on"],
43
+ "default": "off"
44
+ },
45
+ "languageServers": {
46
+ "title": "Language Server",
47
+ "description": "Language-server specific configuration, keyed by implementation",
48
+ "type": "object",
49
+ "default": {},
50
+ "patternProperties": {
51
+ ".*": {
52
+ "$ref": "#/definitions/languageServer"
53
+ }
54
+ }
55
+ },
56
+ "setTrace": {
57
+ "title": "Ask servers to send trace notifications",
58
+ "enum": ["off", "messages", "verbose"],
59
+ "default": "off",
60
+ "description": "Whether to ask server to send logs with execution trace (for debugging). Accepted values are: \"off\", \"messages\", \"verbose\". Servers are allowed to ignore this request."
61
+ },
62
+ "logAllCommunication": {
63
+ "title": "Log communication",
64
+ "type": "boolean",
65
+ "default": false,
66
+ "description": "Enable or disable the logging feature of the language servers."
67
+ }
68
+ }
69
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/mainmenu-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab - Main Menu Extension",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/**/*.css",
17
+ "style/index.js"
18
+ ],
19
+ "main": "lib/index.js",
20
+ "types": "lib/index.d.ts",
21
+ "style": "style/index.css",
22
+ "directories": {
23
+ "lib": "lib/"
24
+ },
25
+ "files": [
26
+ "lib/*.d.ts",
27
+ "lib/*.js.map",
28
+ "lib/*.js",
29
+ "schema/*.json",
30
+ "style/**/*.css",
31
+ "style/index.js",
32
+ "src/**/*.{ts,tsx}"
33
+ ],
34
+ "scripts": {
35
+ "build": "tsc -b",
36
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
37
+ "watch": "tsc -b --watch"
38
+ },
39
+ "dependencies": {
40
+ "@jupyterlab/application": "^4.4.6",
41
+ "@jupyterlab/apputils": "^4.5.6",
42
+ "@jupyterlab/coreutils": "^6.4.6",
43
+ "@jupyterlab/docmanager": "^4.4.6",
44
+ "@jupyterlab/filebrowser": "^4.4.6",
45
+ "@jupyterlab/mainmenu": "^4.4.6",
46
+ "@jupyterlab/services": "^7.4.6",
47
+ "@jupyterlab/settingregistry": "^4.4.6",
48
+ "@jupyterlab/translation": "^4.4.6",
49
+ "@jupyterlab/ui-components": "^4.4.6",
50
+ "@lumino/algorithm": "^2.0.3",
51
+ "@lumino/coreutils": "^2.2.1",
52
+ "@lumino/disposable": "^2.1.4",
53
+ "@lumino/messaging": "^2.0.3",
54
+ "@lumino/widgets": "^2.7.1"
55
+ },
56
+ "devDependencies": {
57
+ "rimraf": "~5.0.5",
58
+ "typescript": "~5.5.4"
59
+ },
60
+ "publishConfig": {
61
+ "access": "public"
62
+ },
63
+ "jupyterlab": {
64
+ "extension": true,
65
+ "schemaDir": "schema"
66
+ },
67
+ "styleModule": "style/index.js"
68
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json ADDED
@@ -0,0 +1,421 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Main Menu",
3
+ "description": "Main JupyterLab menu settings.",
4
+ "jupyter.lab.menus": {
5
+ "main": [
6
+ {
7
+ "id": "jp-mainmenu-file",
8
+ "label": "File",
9
+ "items": [
10
+ {
11
+ "type": "submenu",
12
+ "submenu": {
13
+ "id": "jp-mainmenu-file-new",
14
+ "label": "New",
15
+ "items": []
16
+ },
17
+ "rank": 0
18
+ },
19
+ {
20
+ "type": "separator",
21
+ "rank": 2
22
+ },
23
+ {
24
+ "command": "filemenu:create-console",
25
+ "rank": 2.1
26
+ },
27
+ {
28
+ "command": "filemenu:close-and-cleanup",
29
+ "rank": 3.1
30
+ },
31
+ {
32
+ "type": "separator",
33
+ "rank": 99
34
+ },
35
+ {
36
+ "command": "filemenu:logout",
37
+ "rank": 99
38
+ },
39
+ {
40
+ "command": "filemenu:shutdown",
41
+ "rank": 99
42
+ }
43
+ ],
44
+ "rank": 1
45
+ },
46
+ {
47
+ "id": "jp-mainmenu-edit",
48
+ "label": "Edit",
49
+ "items": [
50
+ {
51
+ "command": "editmenu:undo",
52
+ "rank": 0
53
+ },
54
+ {
55
+ "command": "editmenu:redo",
56
+ "rank": 0
57
+ },
58
+ {
59
+ "type": "separator",
60
+ "rank": 10
61
+ },
62
+ {
63
+ "command": "editmenu:clear-current",
64
+ "rank": 10
65
+ },
66
+ {
67
+ "command": "editmenu:clear-all",
68
+ "rank": 10
69
+ },
70
+ {
71
+ "type": "separator",
72
+ "rank": 200
73
+ },
74
+ {
75
+ "command": "editmenu:go-to-line",
76
+ "rank": 200
77
+ }
78
+ ],
79
+ "rank": 2
80
+ },
81
+ {
82
+ "id": "jp-mainmenu-view",
83
+ "label": "View",
84
+ "items": [
85
+ {
86
+ "type": "separator",
87
+ "rank": 10
88
+ },
89
+ {
90
+ "command": "viewmenu:line-numbering",
91
+ "rank": 10
92
+ },
93
+ {
94
+ "command": "viewmenu:match-brackets",
95
+ "rank": 10
96
+ },
97
+ {
98
+ "command": "viewmenu:word-wrap",
99
+ "rank": 10
100
+ }
101
+ ],
102
+ "rank": 3
103
+ },
104
+ {
105
+ "id": "jp-mainmenu-run",
106
+ "label": "Run",
107
+ "items": [
108
+ {
109
+ "command": "runmenu:run",
110
+ "rank": 0
111
+ },
112
+ {
113
+ "type": "separator"
114
+ },
115
+ {
116
+ "command": "runmenu:run-all",
117
+ "rank": 999
118
+ },
119
+ {
120
+ "command": "runmenu:restart-and-run-all",
121
+ "rank": 999
122
+ }
123
+ ],
124
+ "rank": 4
125
+ },
126
+ {
127
+ "id": "jp-mainmenu-kernel",
128
+ "label": "Kernel",
129
+ "items": [
130
+ {
131
+ "command": "kernelmenu:interrupt",
132
+ "rank": 0
133
+ },
134
+ {
135
+ "type": "separator",
136
+ "rank": 1
137
+ },
138
+ {
139
+ "command": "kernelmenu:restart",
140
+ "rank": 1
141
+ },
142
+ {
143
+ "command": "kernelmenu:restart-and-clear",
144
+ "rank": 1
145
+ },
146
+ {
147
+ "command": "runmenu:restart-and-run-all",
148
+ "rank": 1.1
149
+ },
150
+ {
151
+ "type": "separator",
152
+ "rank": 1.5
153
+ },
154
+ {
155
+ "command": "kernelmenu:reconnect-to-kernel",
156
+ "rank": 1.5
157
+ },
158
+ {
159
+ "type": "separator",
160
+ "rank": 2
161
+ },
162
+ {
163
+ "command": "kernelmenu:shutdown",
164
+ "rank": 2
165
+ },
166
+ {
167
+ "command": "kernelmenu:shutdownAll",
168
+ "rank": 2
169
+ },
170
+ {
171
+ "type": "separator",
172
+ "rank": 3
173
+ },
174
+ {
175
+ "command": "kernelmenu:change",
176
+ "rank": 3
177
+ }
178
+ ],
179
+ "rank": 5
180
+ },
181
+ {
182
+ "id": "jp-mainmenu-tabs",
183
+ "label": "Tabs",
184
+ "items": [
185
+ {
186
+ "command": "application:activate-next-tab",
187
+ "rank": 0
188
+ },
189
+ {
190
+ "command": "application:activate-previous-tab",
191
+ "rank": 0
192
+ },
193
+ {
194
+ "command": "application:activate-next-tab-bar",
195
+ "rank": 0
196
+ },
197
+ {
198
+ "command": "application:activate-previous-tab-bar",
199
+ "rank": 0
200
+ },
201
+ {
202
+ "command": "tabsmenu:activate-previously-used-tab",
203
+ "rank": 0
204
+ }
205
+ ],
206
+ "rank": 500
207
+ },
208
+ {
209
+ "id": "jp-mainmenu-settings",
210
+ "label": "Settings",
211
+ "items": [
212
+ {
213
+ "command": "settingeditor:open",
214
+ "rank": 1000
215
+ }
216
+ ],
217
+ "rank": 999
218
+ },
219
+ {
220
+ "id": "jp-mainmenu-help",
221
+ "label": "Help",
222
+ "items": [],
223
+ "rank": 1000
224
+ }
225
+ ],
226
+ "context": [
227
+ {
228
+ "command": "filemenu:create-console",
229
+ "selector": "[data-type=\"document-title\"].jp-mod-current",
230
+ "rank": 10
231
+ },
232
+ {
233
+ "command": "recentmenu:reopen-last",
234
+ "selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
235
+ "rank": 6
236
+ }
237
+ ]
238
+ },
239
+ "jupyter.lab.shortcuts": [
240
+ {
241
+ "command": "editmenu:clear-all",
242
+ "keys": [""],
243
+ "selector": "[data-jp-undoer]"
244
+ },
245
+ {
246
+ "command": "editmenu:clear-current",
247
+ "keys": [""],
248
+ "selector": "[data-jp-undoer]"
249
+ },
250
+ {
251
+ "command": "editmenu:find",
252
+ "keys": [""],
253
+ "selector": "[data-jp-undoer]"
254
+ },
255
+ {
256
+ "command": "editmenu:find-and-replace",
257
+ "keys": [""],
258
+ "selector": "[data-jp-undoer]"
259
+ },
260
+ {
261
+ "command": "editmenu:redo",
262
+ "keys": ["Accel Shift Z"],
263
+ "selector": "[data-jp-undoer]"
264
+ },
265
+ {
266
+ "command": "editmenu:undo",
267
+ "keys": ["Accel Z"],
268
+ "selector": "[data-jp-undoer]"
269
+ },
270
+ {
271
+ "command": "filemenu:close-and-cleanup",
272
+ "keys": ["Ctrl Shift Q"],
273
+ "selector": ".jp-Activity"
274
+ },
275
+ {
276
+ "command": "kernelmenu:interrupt",
277
+ "keys": ["I", "I"],
278
+ "selector": "[data-jp-kernel-user]:not(.jp-mod-readWrite) :focus:not(:read-write)"
279
+ },
280
+ {
281
+ "command": "kernelmenu:restart",
282
+ "keys": ["0", "0"],
283
+ "selector": "[data-jp-kernel-user]:not(.jp-mod-readWrite) :focus:not(:read-write)"
284
+ },
285
+ {
286
+ "command": "kernelmenu:restart-and-clear",
287
+ "keys": [""],
288
+ "selector": "[data-jp-kernel-user]:not(.jp-mod-readWrite) :focus:not(:read-write)"
289
+ },
290
+ {
291
+ "command": "kernelmenu:shutdown",
292
+ "keys": [""],
293
+ "selector": "[data-jp-kernel-user]:not(.jp-mod-readWrite) :focus:not(:read-write)"
294
+ },
295
+ {
296
+ "command": "runmenu:restart-and-run-all",
297
+ "keys": [""],
298
+ "selector": "[data-jp-code-runner]"
299
+ },
300
+ {
301
+ "command": "runmenu:run",
302
+ "keys": ["Shift Enter"],
303
+ "selector": "[data-jp-code-runner]"
304
+ },
305
+ {
306
+ "command": "runmenu:run-all",
307
+ "keys": [""],
308
+ "selector": "[data-jp-code-runner]"
309
+ },
310
+ {
311
+ "command": "tabsmenu:activate-previously-used-tab",
312
+ "keys": ["Accel Shift '"],
313
+ "selector": "body"
314
+ },
315
+ {
316
+ "command": "recentmenu:reopen-last",
317
+ "keys": ["Accel Shift T"],
318
+ "selector": "body"
319
+ }
320
+ ],
321
+ "jupyter.lab.transform": true,
322
+ "properties": {
323
+ "menus": {
324
+ "title": "The application menu description.",
325
+ "description": "Note: To disable a menu or a menu item,\ncopy it to User Preferences and add the\n\"disabled\" key. The following example will disable\nthe \"Tabs\" menu and \"Restart Kernel and Run up to Selected Cell\"\nitem:\n{\n \"menus\": [\n {\n \"id\": \"jp-mainmenu-tabs\",\n \"disabled\": true\n },\n {\n \"id\": \"jp-mainmenu-kernel\",\n \"items\": [\n {\n \"command\": \"notebook:restart-and-run-to-selected\",\n \"disabled\": true\n }\n ]\n }\n ]\n}\n\nMenu description:",
326
+ "items": {
327
+ "$ref": "#/definitions/menu"
328
+ },
329
+ "type": "array",
330
+ "default": []
331
+ }
332
+ },
333
+ "additionalProperties": false,
334
+ "definitions": {
335
+ "menu": {
336
+ "properties": {
337
+ "disabled": {
338
+ "description": "Whether the menu is disabled or not",
339
+ "type": "boolean",
340
+ "default": false
341
+ },
342
+ "icon": {
343
+ "description": "Menu icon id",
344
+ "type": "string"
345
+ },
346
+ "id": {
347
+ "description": "Menu unique id",
348
+ "type": "string",
349
+ "pattern": "[a-z][a-z0-9\\-_]+"
350
+ },
351
+ "items": {
352
+ "description": "Menu items",
353
+ "type": "array",
354
+ "items": {
355
+ "$ref": "#/definitions/menuItem"
356
+ }
357
+ },
358
+ "label": {
359
+ "description": "Menu label",
360
+ "type": "string"
361
+ },
362
+ "mnemonic": {
363
+ "description": "Mnemonic index for the label",
364
+ "type": "number",
365
+ "minimum": -1,
366
+ "default": -1
367
+ },
368
+ "rank": {
369
+ "description": "Menu rank",
370
+ "type": "number",
371
+ "minimum": 0
372
+ }
373
+ },
374
+ "required": ["id"],
375
+ "additionalProperties": false,
376
+ "type": "object"
377
+ },
378
+ "menuItem": {
379
+ "properties": {
380
+ "args": {
381
+ "description": "Command arguments",
382
+ "type": "object"
383
+ },
384
+ "command": {
385
+ "description": "Command id",
386
+ "type": "string"
387
+ },
388
+ "disabled": {
389
+ "description": "Whether the item is disabled or not",
390
+ "type": "boolean",
391
+ "default": false
392
+ },
393
+ "type": {
394
+ "description": "Item type",
395
+ "type": "string",
396
+ "enum": ["command", "submenu", "separator"],
397
+ "default": "command"
398
+ },
399
+ "rank": {
400
+ "description": "Item rank",
401
+ "type": "number",
402
+ "minimum": 0
403
+ },
404
+ "submenu": {
405
+ "description": "Submenu definition",
406
+ "oneOf": [
407
+ {
408
+ "$ref": "#/definitions/menu"
409
+ },
410
+ {
411
+ "type": "null"
412
+ }
413
+ ]
414
+ }
415
+ },
416
+ "additionalProperties": false,
417
+ "type": "object"
418
+ }
419
+ },
420
+ "type": "object"
421
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/markdownviewer-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab - Markdown Renderer Extension",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/**/*.css",
17
+ "style/index.js"
18
+ ],
19
+ "main": "lib/index.js",
20
+ "types": "lib/index.d.ts",
21
+ "style": "style/index.css",
22
+ "directories": {
23
+ "lib": "lib/"
24
+ },
25
+ "files": [
26
+ "lib/*.d.ts",
27
+ "lib/*.js.map",
28
+ "lib/*.js",
29
+ "schema/*.json",
30
+ "style/**/*.css",
31
+ "style/index.js",
32
+ "src/**/*.{ts,tsx}"
33
+ ],
34
+ "scripts": {
35
+ "build": "tsc -b",
36
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
37
+ "watch": "tsc -b --watch"
38
+ },
39
+ "dependencies": {
40
+ "@jupyterlab/application": "^4.4.6",
41
+ "@jupyterlab/apputils": "^4.5.6",
42
+ "@jupyterlab/coreutils": "^6.4.6",
43
+ "@jupyterlab/markdownviewer": "^4.4.6",
44
+ "@jupyterlab/rendermime": "^4.4.6",
45
+ "@jupyterlab/settingregistry": "^4.4.6",
46
+ "@jupyterlab/toc": "^6.4.6",
47
+ "@jupyterlab/translation": "^4.4.6"
48
+ },
49
+ "devDependencies": {
50
+ "rimraf": "~5.0.5",
51
+ "typescript": "~5.5.4"
52
+ },
53
+ "publishConfig": {
54
+ "access": "public"
55
+ },
56
+ "jupyterlab": {
57
+ "extension": true,
58
+ "schemaDir": "schema"
59
+ },
60
+ "styleModule": "style/index.js"
61
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "jupyter.lab.setting-icon": "ui-components:markdown",
3
+ "jupyter.lab.setting-icon-label": "Markdown Viewer",
4
+ "title": "Markdown Viewer",
5
+ "description": "Markdown viewer settings.",
6
+ "jupyter.lab.menus": {
7
+ "context": [
8
+ {
9
+ "command": "markdownviewer:edit",
10
+ "selector": ".jp-RenderedMarkdown"
11
+ }
12
+ ]
13
+ },
14
+ "definitions": {
15
+ "fontFamily": {
16
+ "type": ["string", "null"]
17
+ },
18
+ "fontSize": {
19
+ "type": ["integer", "null"],
20
+ "minimum": 1,
21
+ "maximum": 100
22
+ },
23
+ "lineHeight": {
24
+ "type": ["number", "null"]
25
+ },
26
+ "lineWidth": {
27
+ "type": ["number", "null"]
28
+ },
29
+ "hideFrontMatter": {
30
+ "type": "boolean"
31
+ },
32
+ "renderTimeout": {
33
+ "type": "number"
34
+ }
35
+ },
36
+ "properties": {
37
+ "fontFamily": {
38
+ "title": "Font Family",
39
+ "description": "The font family used to render markdown.\nIf `null`, value from current theme is used.",
40
+ "$ref": "#/definitions/fontFamily",
41
+ "default": null
42
+ },
43
+ "fontSize": {
44
+ "title": "Font Size",
45
+ "description": "The size in pixel of the font used to render markdown.\nIf `null`, value from current theme is used.",
46
+ "$ref": "#/definitions/fontSize",
47
+ "default": null
48
+ },
49
+ "lineHeight": {
50
+ "title": "Line Height",
51
+ "description": "The line height used to render markdown.\nIf `null`, value from current theme is used.",
52
+ "$ref": "#/definitions/lineHeight",
53
+ "default": null
54
+ },
55
+ "lineWidth": {
56
+ "title": "Line Width",
57
+ "description": "The text line width expressed in CSS ch units.\nIf `null`, lines fit the viewport width.",
58
+ "$ref": "#/definitions/lineWidth",
59
+ "default": null
60
+ },
61
+ "hideFrontMatter": {
62
+ "title": "Hide Front Matter",
63
+ "description": "Whether to hide YAML front matter.\nThe YAML front matter must be placed at the top of the document,\nstarted by a line of three dashes (---) and ended by a line of\nthree dashes (---) or three points (...).",
64
+ "$ref": "#/definitions/hideFrontMatter",
65
+ "default": true
66
+ },
67
+ "renderTimeout": {
68
+ "title": "Render Timeout",
69
+ "description": "The render timeout in milliseconds.",
70
+ "$ref": "#/definitions/renderTimeout",
71
+ "default": 1000
72
+ }
73
+ },
74
+ "additionalProperties": false,
75
+ "type": "object"
76
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/mathjax-extension",
3
+ "version": "4.4.6",
4
+ "description": "A JupyterLab extension providing MathJax Typesetting",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "mathjax"
9
+ ],
10
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
11
+ "bugs": {
12
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
17
+ },
18
+ "license": "BSD-3-Clause",
19
+ "author": {
20
+ "name": "Project Jupyter",
21
+ "email": "jupyter@googlegroups.com"
22
+ },
23
+ "sideEffects": [
24
+ "style/**/*"
25
+ ],
26
+ "main": "lib/index.js",
27
+ "types": "lib/index.d.ts",
28
+ "style": "style/index.css",
29
+ "directories": {
30
+ "lib": "lib/"
31
+ },
32
+ "files": [
33
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
34
+ "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
35
+ "schema/*.json",
36
+ "style/index.js",
37
+ "src/**/*.{ts,tsx}"
38
+ ],
39
+ "scripts": {
40
+ "build": "tsc -b",
41
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
42
+ "eslint": "eslint . --ext .ts,.tsx --fix",
43
+ "watch": "tsc -b --watch"
44
+ },
45
+ "dependencies": {
46
+ "@jupyterlab/application": "^4.4.6",
47
+ "@jupyterlab/rendermime": "^4.4.6",
48
+ "@lumino/coreutils": "^2.2.1",
49
+ "mathjax-full": "^3.2.2"
50
+ },
51
+ "devDependencies": {
52
+ "rimraf": "~5.0.5",
53
+ "typescript": "~5.5.4"
54
+ },
55
+ "publishConfig": {
56
+ "access": "public"
57
+ },
58
+ "jupyterlab": {
59
+ "extension": true,
60
+ "schemaDir": "schema"
61
+ },
62
+ "styleModule": "style/index.js"
63
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "MathJax Plugin",
3
+ "description": "MathJax math renderer for JupyterLab",
4
+ "jupyter.lab.menus": {
5
+ "context": [
6
+ {
7
+ "type": "separator",
8
+ "selector": ".MathJax",
9
+ "rank": 12
10
+ },
11
+ {
12
+ "command": "mathjax:clipboard",
13
+ "selector": ".MathJax",
14
+ "rank": 13
15
+ },
16
+ {
17
+ "command": "mathjax:scale",
18
+ "selector": ".MathJax",
19
+ "rank": 13
20
+ },
21
+ {
22
+ "command": "mathjax:scale",
23
+ "selector": ".MathJax",
24
+ "rank": 13,
25
+ "args": {
26
+ "scale": 1.5
27
+ }
28
+ },
29
+ {
30
+ "type": "separator",
31
+ "selector": ".MathJax",
32
+ "rank": 13
33
+ }
34
+ ]
35
+ },
36
+ "additionalProperties": false,
37
+ "type": "object"
38
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "object",
3
+ "title": "Metadata Form",
4
+ "description": "Settings of the metadata form extension.",
5
+ "jupyter.lab.metadataforms": [],
6
+ "jupyter.lab.transform": true,
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "metadataforms": {
10
+ "items": {
11
+ "$ref": "#/definitions/metadataForm"
12
+ },
13
+ "type": "array",
14
+ "default": []
15
+ }
16
+ },
17
+ "definitions": {
18
+ "metadataForm": {
19
+ "type": "object",
20
+ "properties": {
21
+ "id": {
22
+ "type": "string",
23
+ "description": "The section ID"
24
+ },
25
+ "metadataSchema": {
26
+ "type": "object",
27
+ "items": {
28
+ "$ref": "#/definitions/metadataSchema"
29
+ }
30
+ },
31
+ "uiSchema": {
32
+ "type": "object"
33
+ },
34
+ "metadataOptions": {
35
+ "type": "object",
36
+ "items": {
37
+ "$ref": "#/definitions/metadataOptions"
38
+ }
39
+ },
40
+ "label": {
41
+ "type": "string",
42
+ "description": "The section label"
43
+ },
44
+ "rank": {
45
+ "type": "integer",
46
+ "description": "The rank of the section in the right panel"
47
+ },
48
+ "showModified": {
49
+ "type": "boolean",
50
+ "description": "Whether to show that values have been modified from defaults"
51
+ }
52
+ },
53
+ "required": ["id", "metadataSchema"]
54
+ },
55
+ "metadataSchema": {
56
+ "properties": {
57
+ "properties": {
58
+ "type": "object",
59
+ "description": "The property set up by extension",
60
+ "properties": {
61
+ "title": {
62
+ "type": "string"
63
+ },
64
+ "description": {
65
+ "type": "string"
66
+ },
67
+ "type": {
68
+ "type": "string"
69
+ }
70
+ }
71
+ }
72
+ },
73
+ "type": "object",
74
+ "required": ["properties"]
75
+ },
76
+ "metadataOptions": {
77
+ "properties": {
78
+ "customRenderer": {
79
+ "type": "string"
80
+ },
81
+ "metadataLevel": {
82
+ "type": "string",
83
+ "enum": ["cell", "notebook"],
84
+ "default": "cell"
85
+ },
86
+ "cellTypes": {
87
+ "type": "array",
88
+ "items": {
89
+ "type": "string",
90
+ "enum": ["code", "markdown", "raw"]
91
+ }
92
+ },
93
+ "writeDefault": {
94
+ "type": "boolean"
95
+ }
96
+ },
97
+ "type": "object"
98
+ }
99
+ }
100
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/metadataform-extension",
3
+ "version": "4.4.6",
4
+ "description": "A helper to build form for metadata",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
11
+ "bugs": {
12
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
17
+ },
18
+ "license": "BSD-3-Clause",
19
+ "author": "Project Jupyter",
20
+ "sideEffects": [
21
+ "style/**/*"
22
+ ],
23
+ "main": "lib/index.js",
24
+ "types": "lib/index.d.ts",
25
+ "style": "style/index.css",
26
+ "directories": {
27
+ "lib": "lib/"
28
+ },
29
+ "files": [
30
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
31
+ "schema/*.json",
32
+ "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
33
+ "style/index.js",
34
+ "src/**/*.{ts,tsx}"
35
+ ],
36
+ "scripts": {
37
+ "build": "tsc",
38
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
39
+ "watch": "tsc -w --listEmittedFiles"
40
+ },
41
+ "dependencies": {
42
+ "@jupyterlab/application": "^4.4.6",
43
+ "@jupyterlab/metadataform": "^4.4.6",
44
+ "@jupyterlab/notebook": "^4.4.6",
45
+ "@jupyterlab/settingregistry": "^4.4.6",
46
+ "@jupyterlab/translation": "^4.4.6",
47
+ "@jupyterlab/ui-components": "^4.4.6",
48
+ "@lumino/coreutils": "^2.2.1"
49
+ },
50
+ "devDependencies": {
51
+ "rimraf": "~5.0.5",
52
+ "typescript": "~5.5.4"
53
+ },
54
+ "publishConfig": {
55
+ "access": "public"
56
+ },
57
+ "jupyterlab": {
58
+ "extension": true,
59
+ "schemaDir": "schema"
60
+ },
61
+ "styleModule": "style/index.js"
62
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Notebook Completer",
3
+ "description": "Notebook completer settings.",
4
+ "jupyter.lab.shortcuts": [
5
+ {
6
+ "command": "completer:invoke-notebook",
7
+ "keys": ["Tab"],
8
+ "selector": ".jp-Notebook.jp-mod-editMode .jp-mod-completer-enabled:not(.jp-mod-at-line-beginning)"
9
+ }
10
+ ],
11
+ "properties": {},
12
+ "additionalProperties": false,
13
+ "type": "object"
14
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "jupyter.lab.menus": {
3
+ "main": [
4
+ {
5
+ "id": "jp-mainmenu-file",
6
+ "items": [
7
+ {
8
+ "type": "separator",
9
+ "rank": 10
10
+ },
11
+ {
12
+ "type": "submenu",
13
+ "rank": 10,
14
+ "submenu": {
15
+ "id": "jp-mainmenu-file-notebookexport",
16
+ "label": "Save and Export Notebook As"
17
+ }
18
+ },
19
+ {
20
+ "type": "separator",
21
+ "rank": 10
22
+ }
23
+ ]
24
+ }
25
+ ]
26
+ },
27
+ "title": "Notebook Export",
28
+ "description": "Notebook Export settings.",
29
+ "properties": {},
30
+ "additionalProperties": false,
31
+ "type": "object"
32
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/notebook-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab - Notebook Extension",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/**/*"
17
+ ],
18
+ "main": "lib/index.js",
19
+ "types": "lib/index.d.ts",
20
+ "style": "style/index.css",
21
+ "directories": {
22
+ "lib": "lib/"
23
+ },
24
+ "files": [
25
+ "lib/**/*.d.ts",
26
+ "lib/**/*.js.map",
27
+ "lib/**/*.js",
28
+ "schema/*.json",
29
+ "style/*.css",
30
+ "style/index.js",
31
+ "src/**/*.{ts,tsx}"
32
+ ],
33
+ "scripts": {
34
+ "build": "tsc -b",
35
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
36
+ "watch": "tsc -b --watch"
37
+ },
38
+ "dependencies": {
39
+ "@jupyter/ydoc": "^3.1.0",
40
+ "@jupyterlab/application": "^4.4.6",
41
+ "@jupyterlab/apputils": "^4.5.6",
42
+ "@jupyterlab/cell-toolbar": "^4.4.6",
43
+ "@jupyterlab/cells": "^4.4.6",
44
+ "@jupyterlab/codeeditor": "^4.4.6",
45
+ "@jupyterlab/codemirror": "^4.4.6",
46
+ "@jupyterlab/completer": "^4.4.6",
47
+ "@jupyterlab/coreutils": "^6.4.6",
48
+ "@jupyterlab/docmanager": "^4.4.6",
49
+ "@jupyterlab/docmanager-extension": "^4.4.6",
50
+ "@jupyterlab/docregistry": "^4.4.6",
51
+ "@jupyterlab/documentsearch": "^4.4.6",
52
+ "@jupyterlab/filebrowser": "^4.4.6",
53
+ "@jupyterlab/launcher": "^4.4.6",
54
+ "@jupyterlab/logconsole": "^4.4.6",
55
+ "@jupyterlab/lsp": "^4.4.6",
56
+ "@jupyterlab/mainmenu": "^4.4.6",
57
+ "@jupyterlab/metadataform": "^4.4.6",
58
+ "@jupyterlab/nbformat": "^4.4.6",
59
+ "@jupyterlab/notebook": "^4.4.6",
60
+ "@jupyterlab/observables": "^5.4.6",
61
+ "@jupyterlab/property-inspector": "^4.4.6",
62
+ "@jupyterlab/rendermime": "^4.4.6",
63
+ "@jupyterlab/services": "^7.4.6",
64
+ "@jupyterlab/settingregistry": "^4.4.6",
65
+ "@jupyterlab/statedb": "^4.4.6",
66
+ "@jupyterlab/statusbar": "^4.4.6",
67
+ "@jupyterlab/toc": "^6.4.6",
68
+ "@jupyterlab/translation": "^4.4.6",
69
+ "@jupyterlab/ui-components": "^4.4.6",
70
+ "@lumino/algorithm": "^2.0.3",
71
+ "@lumino/commands": "^2.3.2",
72
+ "@lumino/coreutils": "^2.2.1",
73
+ "@lumino/disposable": "^2.1.4",
74
+ "@lumino/messaging": "^2.0.3",
75
+ "@lumino/polling": "^2.1.4",
76
+ "@lumino/widgets": "^2.7.1",
77
+ "@rjsf/utils": "^5.13.4",
78
+ "react": "^18.2.0"
79
+ },
80
+ "devDependencies": {
81
+ "rimraf": "~5.0.5",
82
+ "typescript": "~5.5.4"
83
+ },
84
+ "publishConfig": {
85
+ "access": "public"
86
+ },
87
+ "jupyterlab": {
88
+ "extension": true,
89
+ "schemaDir": "schema"
90
+ },
91
+ "styleModule": "style/index.js"
92
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Notebook Panel",
3
+ "description": "Notebook Panel settings.",
4
+ "jupyter.lab.toolbars": {
5
+ "Notebook": [
6
+ { "name": "save", "rank": 10 },
7
+ {
8
+ "name": "insert",
9
+ "command": "notebook:insert-cell-below",
10
+ "icon": "ui-components:add",
11
+ "rank": 20
12
+ },
13
+ { "name": "cut", "command": "notebook:cut-cell", "rank": 21 },
14
+ { "name": "copy", "command": "notebook:copy-cell", "rank": 22 },
15
+ { "name": "paste", "command": "notebook:paste-cell-below", "rank": 23 },
16
+ {
17
+ "name": "run",
18
+ "command": "notebook:run-cell-and-select-next",
19
+ "rank": 30
20
+ },
21
+ {
22
+ "name": "interrupt",
23
+ "command": "notebook:interrupt-kernel",
24
+ "rank": 31
25
+ },
26
+ { "name": "restart", "command": "notebook:restart-kernel", "rank": 32 },
27
+ {
28
+ "name": "restart-and-run",
29
+ "command": "notebook:restart-run-all",
30
+ "rank": 33
31
+ },
32
+ { "name": "cellType", "rank": 40 },
33
+ { "name": "spacer", "type": "spacer", "rank": 100 },
34
+ { "name": "kernelName", "rank": 1000 },
35
+ { "name": "executionProgress", "rank": 1002 },
36
+ {
37
+ "name": "scrollbar",
38
+ "command": "notebook:toggle-virtual-scrollbar",
39
+ "rank": 1003
40
+ }
41
+ ]
42
+ },
43
+ "jupyter.lab.transform": true,
44
+ "properties": {
45
+ "toolbar": {
46
+ "title": "Notebook panel toolbar items",
47
+ "description": "Note: To disable a toolbar item,\ncopy it to User Preferences and add the\n\"disabled\" key. The following example will disable the Interrupt button item:\n{\n \"toolbar\": [\n {\n \"name\": \"interrupt\",\n \"disabled\": true\n }\n ]\n}\n\nToolbar description:",
48
+ "items": {
49
+ "$ref": "#/definitions/toolbarItem"
50
+ },
51
+ "type": "array",
52
+ "default": []
53
+ }
54
+ },
55
+ "additionalProperties": false,
56
+ "type": "object",
57
+ "definitions": {
58
+ "toolbarItem": {
59
+ "properties": {
60
+ "name": {
61
+ "title": "Unique name",
62
+ "type": "string"
63
+ },
64
+ "args": {
65
+ "title": "Command arguments",
66
+ "type": "object"
67
+ },
68
+ "command": {
69
+ "title": "Command id",
70
+ "type": "string",
71
+ "default": ""
72
+ },
73
+ "disabled": {
74
+ "title": "Whether the item is ignored or not",
75
+ "type": "boolean",
76
+ "default": false
77
+ },
78
+ "icon": {
79
+ "title": "Item icon id",
80
+ "description": "If defined, it will override the command icon",
81
+ "type": "string"
82
+ },
83
+ "label": {
84
+ "title": "Item label",
85
+ "description": "If defined, it will override the command label",
86
+ "type": "string"
87
+ },
88
+ "caption": {
89
+ "title": "Item caption",
90
+ "description": "If defined, it will override the command caption",
91
+ "type": "string"
92
+ },
93
+ "type": {
94
+ "title": "Item type",
95
+ "type": "string",
96
+ "enum": ["command", "spacer"]
97
+ },
98
+ "rank": {
99
+ "title": "Item rank",
100
+ "type": "number",
101
+ "minimum": 0,
102
+ "default": 50
103
+ }
104
+ },
105
+ "required": ["name"],
106
+ "additionalProperties": false,
107
+ "type": "object"
108
+ }
109
+ }
110
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "object",
3
+ "title": "Common tools",
4
+ "description": "Setting for the common tools",
5
+ "jupyter.lab.metadataforms": [
6
+ {
7
+ "id": "commonToolsSection",
8
+ "label": "Common Tools",
9
+ "metadataSchema": {
10
+ "type": "object",
11
+ "properties": {
12
+ "_CELL-TOOL": {
13
+ "title": "Cell tool",
14
+ "type": "null"
15
+ },
16
+ "/editable": {
17
+ "title": "Editable",
18
+ "type": "boolean",
19
+ "default": true,
20
+ "oneOf": [
21
+ {
22
+ "const": true,
23
+ "title": "Editable"
24
+ },
25
+ {
26
+ "const": false,
27
+ "title": "Read-Only"
28
+ }
29
+ ]
30
+ },
31
+ "/slideshow/slide_type": {
32
+ "title": "Slide Type",
33
+ "type": "string",
34
+ "default": "",
35
+ "oneOf": [
36
+ {
37
+ "const": "",
38
+ "title": "-"
39
+ },
40
+ {
41
+ "const": "slide",
42
+ "title": "Slide"
43
+ },
44
+ {
45
+ "const": "subslide",
46
+ "title": "Sub-Slide"
47
+ },
48
+ {
49
+ "const": "fragment",
50
+ "title": "Fragment"
51
+ },
52
+ {
53
+ "const": "skip",
54
+ "title": "Skip"
55
+ },
56
+ {
57
+ "const": "notes",
58
+ "title": "Notes"
59
+ }
60
+ ]
61
+ },
62
+ "/raw_mimetype": {
63
+ "title": "Raw NBConvert Format",
64
+ "type": "string",
65
+ "default": "",
66
+ "oneOf": [
67
+ {
68
+ "const": "",
69
+ "title": "-"
70
+ },
71
+ {
72
+ "const": "pdf",
73
+ "title": "PDF"
74
+ },
75
+ {
76
+ "const": "slides",
77
+ "title": "Slides"
78
+ },
79
+ {
80
+ "const": "script",
81
+ "title": "Script"
82
+ },
83
+ {
84
+ "const": "notebook",
85
+ "title": "Notebook"
86
+ },
87
+ {
88
+ "const": "custom",
89
+ "title": "Custom"
90
+ }
91
+ ]
92
+ },
93
+ "/toc/base_numbering": {
94
+ "title": "Table of content - Base number",
95
+ "type": "integer"
96
+ }
97
+ }
98
+ },
99
+ "uiSchema": {
100
+ "/editable": {
101
+ "ui:widget": "select"
102
+ }
103
+ },
104
+ "metadataOptions": {
105
+ "_CELL-TOOL": {
106
+ "customRenderer": "@jupyterlab/notebook-extension:active-cell-tool.renderer"
107
+ },
108
+ "/raw_mimetype": {
109
+ "cellTypes": ["raw"]
110
+ },
111
+ "/toc/base_numbering": {
112
+ "metadataLevel": "notebook"
113
+ }
114
+ }
115
+ },
116
+ {
117
+ "id": "advancedToolsSection",
118
+ "label": "Advanced Tools",
119
+ "metadataSchema": {
120
+ "type": "object",
121
+ "properties": {
122
+ "_CELL-METADATA": {
123
+ "title": "Cell metadata",
124
+ "type": "null"
125
+ },
126
+ "_NOTEBOOK-METADATA": {
127
+ "title": "Notebook metadata",
128
+ "type": "null"
129
+ }
130
+ }
131
+ },
132
+ "metadataOptions": {
133
+ "_CELL-METADATA": {
134
+ "customRenderer": "@jupyterlab/notebook-extension:metadata-editor.cell-metadata"
135
+ },
136
+ "_NOTEBOOK-METADATA": {
137
+ "customRenderer": "@jupyterlab/notebook-extension:metadata-editor.notebook-metadata"
138
+ }
139
+ }
140
+ }
141
+ ],
142
+ "additionalProperties": false
143
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json ADDED
@@ -0,0 +1,848 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "jupyter.lab.setting-icon": "ui-components:notebook",
3
+ "jupyter.lab.setting-icon-label": "Notebook",
4
+ "jupyter.lab.menus": {
5
+ "main": [
6
+ {
7
+ "id": "jp-mainmenu-file",
8
+ "items": [
9
+ {
10
+ "type": "submenu",
11
+ "submenu": {
12
+ "id": "jp-mainmenu-file-new",
13
+ "items": [
14
+ {
15
+ "command": "notebook:create-new",
16
+ "rank": 10
17
+ }
18
+ ]
19
+ }
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "id": "jp-mainmenu-edit",
25
+ "items": [
26
+ {
27
+ "type": "separator",
28
+ "rank": 4
29
+ },
30
+ {
31
+ "command": "notebook:undo-cell-action",
32
+ "rank": 4
33
+ },
34
+ {
35
+ "command": "notebook:redo-cell-action",
36
+ "rank": 4
37
+ },
38
+ {
39
+ "type": "separator",
40
+ "rank": 5
41
+ },
42
+ {
43
+ "command": "notebook:cut-cell",
44
+ "rank": 5
45
+ },
46
+ {
47
+ "command": "notebook:copy-cell",
48
+ "rank": 5
49
+ },
50
+ {
51
+ "command": "notebook:paste-cell-below",
52
+ "rank": 5
53
+ },
54
+ {
55
+ "command": "notebook:paste-cell-above",
56
+ "rank": 5
57
+ },
58
+ {
59
+ "command": "notebook:paste-and-replace-cell",
60
+ "rank": 5
61
+ },
62
+ {
63
+ "type": "separator",
64
+ "rank": 6
65
+ },
66
+ {
67
+ "command": "notebook:delete-cell",
68
+ "rank": 6
69
+ },
70
+ {
71
+ "type": "separator",
72
+ "rank": 7
73
+ },
74
+ {
75
+ "command": "notebook:select-all",
76
+ "rank": 7
77
+ },
78
+ {
79
+ "command": "notebook:deselect-all",
80
+ "rank": 7
81
+ },
82
+ {
83
+ "type": "separator",
84
+ "rank": 8
85
+ },
86
+ {
87
+ "command": "notebook:move-cell-up",
88
+ "rank": 8
89
+ },
90
+ {
91
+ "command": "notebook:move-cell-down",
92
+ "rank": 8
93
+ },
94
+ {
95
+ "type": "separator",
96
+ "rank": 9
97
+ },
98
+ {
99
+ "command": "notebook:split-cell-at-cursor",
100
+ "rank": 9
101
+ },
102
+ {
103
+ "command": "notebook:merge-cells",
104
+ "rank": 9
105
+ },
106
+ {
107
+ "command": "notebook:merge-cell-above",
108
+ "rank": 9
109
+ },
110
+ {
111
+ "command": "notebook:merge-cell-below",
112
+ "rank": 9
113
+ },
114
+ {
115
+ "type": "separator",
116
+ "rank": 9
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ "id": "jp-mainmenu-view",
122
+ "items": [
123
+ {
124
+ "type": "separator",
125
+ "rank": 10
126
+ },
127
+ {
128
+ "command": "notebook:hide-cell-code",
129
+ "rank": 10
130
+ },
131
+ {
132
+ "command": "notebook:hide-cell-outputs",
133
+ "rank": 10
134
+ },
135
+ {
136
+ "command": "notebook:hide-all-cell-code",
137
+ "rank": 10
138
+ },
139
+ {
140
+ "command": "notebook:hide-all-cell-outputs",
141
+ "rank": 10
142
+ },
143
+ {
144
+ "type": "separator",
145
+ "rank": 10
146
+ },
147
+ {
148
+ "command": "notebook:show-cell-code",
149
+ "rank": 11
150
+ },
151
+ {
152
+ "command": "notebook:show-cell-outputs",
153
+ "rank": 11
154
+ },
155
+ {
156
+ "command": "notebook:show-all-cell-code",
157
+ "rank": 11
158
+ },
159
+ {
160
+ "command": "notebook:show-all-cell-outputs",
161
+ "rank": 11
162
+ },
163
+ {
164
+ "type": "separator",
165
+ "rank": 11
166
+ },
167
+ {
168
+ "command": "notebook:toggle-render-side-by-side-current",
169
+ "rank": 12
170
+ },
171
+ {
172
+ "type": "separator",
173
+ "rank": 12
174
+ }
175
+ ]
176
+ },
177
+ {
178
+ "id": "jp-mainmenu-run",
179
+ "items": [
180
+ {
181
+ "type": "separator",
182
+ "rank": 10
183
+ },
184
+ {
185
+ "command": "notebook:run-cell-and-insert-below",
186
+ "rank": 10
187
+ },
188
+ {
189
+ "command": "notebook:run-cell",
190
+ "rank": 10
191
+ },
192
+ {
193
+ "command": "notebook:run-in-console",
194
+ "rank": 10
195
+ },
196
+ {
197
+ "type": "separator",
198
+ "rank": 11
199
+ },
200
+ {
201
+ "command": "notebook:run-all-above",
202
+ "rank": 11
203
+ },
204
+ {
205
+ "command": "notebook:run-all-below",
206
+ "rank": 11
207
+ },
208
+ {
209
+ "type": "separator",
210
+ "rank": 12
211
+ },
212
+ {
213
+ "command": "notebook:render-all-markdown",
214
+ "rank": 12
215
+ },
216
+ {
217
+ "type": "separator",
218
+ "rank": 12
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "id": "jp-mainmenu-kernel",
224
+ "items": [
225
+ {
226
+ "command": "notebook:restart-and-run-to-selected",
227
+ "rank": 1
228
+ }
229
+ ]
230
+ }
231
+ ],
232
+ "context": [
233
+ {
234
+ "type": "separator",
235
+ "selector": ".jp-Notebook .jp-Cell",
236
+ "rank": 0
237
+ },
238
+ {
239
+ "command": "notebook:cut-cell",
240
+ "selector": ".jp-Notebook .jp-Cell",
241
+ "rank": 1
242
+ },
243
+ {
244
+ "command": "notebook:copy-cell",
245
+ "selector": ".jp-Notebook .jp-Cell",
246
+ "rank": 2
247
+ },
248
+ {
249
+ "command": "notebook:paste-cell-below",
250
+ "selector": ".jp-Notebook .jp-Cell",
251
+ "rank": 3
252
+ },
253
+ {
254
+ "type": "separator",
255
+ "selector": ".jp-Notebook .jp-Cell",
256
+ "rank": 4
257
+ },
258
+ {
259
+ "command": "notebook:delete-cell",
260
+ "selector": ".jp-Notebook .jp-Cell",
261
+ "rank": 5
262
+ },
263
+ {
264
+ "type": "separator",
265
+ "selector": ".jp-Notebook .jp-Cell",
266
+ "rank": 6
267
+ },
268
+ {
269
+ "command": "notebook:split-cell-at-cursor",
270
+ "selector": ".jp-Notebook .jp-Cell",
271
+ "rank": 7
272
+ },
273
+ {
274
+ "command": "notebook:merge-cells",
275
+ "selector": ".jp-Notebook .jp-Cell",
276
+ "rank": 8
277
+ },
278
+ {
279
+ "command": "notebook:merge-cell-above",
280
+ "selector": ".jp-Notebook .jp-Cell",
281
+ "rank": 8
282
+ },
283
+ {
284
+ "command": "notebook:merge-cell-below",
285
+ "selector": ".jp-Notebook .jp-Cell",
286
+ "rank": 8
287
+ },
288
+ {
289
+ "type": "separator",
290
+ "selector": ".jp-Notebook .jp-Cell",
291
+ "rank": 9
292
+ },
293
+ {
294
+ "command": "notebook:create-output-view",
295
+ "selector": ".jp-Notebook .jp-CodeCell",
296
+ "rank": 10
297
+ },
298
+ {
299
+ "type": "separator",
300
+ "selector": ".jp-Notebook .jp-CodeCell",
301
+ "rank": 11
302
+ },
303
+ {
304
+ "command": "notebook:clear-cell-output",
305
+ "selector": ".jp-Notebook .jp-CodeCell",
306
+ "rank": 12
307
+ },
308
+ {
309
+ "command": "notebook:clear-all-cell-outputs",
310
+ "selector": ".jp-Notebook",
311
+ "rank": 13
312
+ },
313
+ {
314
+ "type": "separator",
315
+ "selector": ".jp-Notebook",
316
+ "rank": 20
317
+ },
318
+ {
319
+ "command": "notebook:enable-output-scrolling",
320
+ "selector": ".jp-Notebook",
321
+ "rank": 21
322
+ },
323
+ {
324
+ "command": "notebook:disable-output-scrolling",
325
+ "selector": ".jp-Notebook",
326
+ "rank": 22
327
+ },
328
+ {
329
+ "type": "separator",
330
+ "selector": ".jp-Notebook",
331
+ "rank": 30
332
+ },
333
+ {
334
+ "command": "notebook:undo-cell-action",
335
+ "selector": ".jp-Notebook",
336
+ "rank": 31
337
+ },
338
+ {
339
+ "command": "notebook:redo-cell-action",
340
+ "selector": ".jp-Notebook",
341
+ "rank": 32
342
+ },
343
+ {
344
+ "command": "notebook:restart-kernel",
345
+ "selector": ".jp-Notebook",
346
+ "rank": 33
347
+ },
348
+ {
349
+ "type": "separator",
350
+ "selector": ".jp-Notebook",
351
+ "rank": 40
352
+ },
353
+ {
354
+ "command": "notebook:create-console",
355
+ "selector": ".jp-Notebook",
356
+ "rank": 41
357
+ },
358
+ {
359
+ "command": "notebook:create-subshell-console",
360
+ "selector": ".jp-Notebook",
361
+ "rank": 42
362
+ },
363
+ {
364
+ "command": "notebook:create-new",
365
+ "selector": ".jp-DirListing-content",
366
+ "rank": 52,
367
+ "args": {
368
+ "isContextMenu": true
369
+ }
370
+ }
371
+ ]
372
+ },
373
+ "jupyter.lab.shortcuts": [
374
+ {
375
+ "command": "notebook:change-cell-to-code",
376
+ "keys": ["Y"],
377
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
378
+ },
379
+ {
380
+ "command": "notebook:change-cell-to-heading-1",
381
+ "keys": ["1"],
382
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
383
+ },
384
+ {
385
+ "command": "notebook:change-cell-to-heading-2",
386
+ "keys": ["2"],
387
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
388
+ },
389
+ {
390
+ "command": "notebook:change-cell-to-heading-3",
391
+ "keys": ["3"],
392
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
393
+ },
394
+ {
395
+ "command": "notebook:change-cell-to-heading-4",
396
+ "keys": ["4"],
397
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
398
+ },
399
+ {
400
+ "command": "notebook:change-cell-to-heading-5",
401
+ "keys": ["5"],
402
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
403
+ },
404
+ {
405
+ "command": "notebook:change-cell-to-heading-6",
406
+ "keys": ["6"],
407
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
408
+ },
409
+ {
410
+ "command": "notebook:change-cell-to-markdown",
411
+ "keys": ["M"],
412
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
413
+ },
414
+ {
415
+ "command": "notebook:change-cell-to-raw",
416
+ "keys": ["R"],
417
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
418
+ },
419
+ {
420
+ "command": "notebook:copy-cell",
421
+ "keys": ["C"],
422
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
423
+ },
424
+ {
425
+ "command": "notebook:cut-cell",
426
+ "keys": ["X"],
427
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
428
+ },
429
+ {
430
+ "command": "notebook:delete-cell",
431
+ "keys": ["D", "D"],
432
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
433
+ },
434
+ {
435
+ "command": "notebook:enter-command-mode",
436
+ "keys": ["Escape"],
437
+ "selector": ".jp-Notebook.jp-mod-editMode"
438
+ },
439
+ {
440
+ "command": "notebook:enter-command-mode",
441
+ "keys": ["Ctrl M"],
442
+ "selector": ".jp-Notebook.jp-mod-editMode"
443
+ },
444
+ {
445
+ "command": "notebook:access-previous-history-entry",
446
+ "keys": ["Alt ArrowUp"],
447
+ "selector": ".jp-Notebook.jp-mod-editMode"
448
+ },
449
+ {
450
+ "command": "notebook:access-next-history-entry",
451
+ "keys": ["Alt ArrowDown"],
452
+ "selector": ".jp-Notebook.jp-mod-editMode"
453
+ },
454
+ {
455
+ "command": "notebook:enter-edit-mode",
456
+ "keys": ["Enter"],
457
+ "selector": ".jp-Notebook.jp-mod-commandMode .jp-Cell:focus"
458
+ },
459
+ {
460
+ "command": "notebook:extend-marked-cells-above",
461
+ "keys": ["Shift ArrowUp"],
462
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
463
+ },
464
+ {
465
+ "command": "notebook:extend-marked-cells-above",
466
+ "keys": ["Shift K"],
467
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
468
+ },
469
+ {
470
+ "command": "notebook:extend-marked-cells-top",
471
+ "keys": ["Shift Home"],
472
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
473
+ },
474
+ {
475
+ "command": "notebook:extend-marked-cells-below",
476
+ "keys": ["Shift ArrowDown"],
477
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
478
+ },
479
+ {
480
+ "command": "notebook:extend-marked-cells-bottom",
481
+ "keys": ["Shift End"],
482
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
483
+ },
484
+ {
485
+ "command": "notebook:extend-marked-cells-below",
486
+ "keys": ["Shift J"],
487
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
488
+ },
489
+ {
490
+ "command": "notebook:insert-cell-above",
491
+ "keys": ["A"],
492
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
493
+ },
494
+ {
495
+ "command": "notebook:insert-cell-below",
496
+ "keys": ["B"],
497
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
498
+ },
499
+ {
500
+ "command": "notebook:merge-cells",
501
+ "keys": ["Shift M"],
502
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
503
+ },
504
+ {
505
+ "command": "notebook:merge-cell-above",
506
+ "keys": ["Ctrl Backspace"],
507
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
508
+ },
509
+ {
510
+ "command": "notebook:merge-cell-below",
511
+ "keys": ["Ctrl Shift M"],
512
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
513
+ },
514
+ {
515
+ "command": "notebook:move-cursor-down",
516
+ "keys": ["ArrowDown"],
517
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
518
+ },
519
+ {
520
+ "command": "notebook:move-cursor-down",
521
+ "keys": ["J"],
522
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
523
+ },
524
+ {
525
+ "command": "notebook:move-cursor-up",
526
+ "keys": ["ArrowUp"],
527
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
528
+ },
529
+ {
530
+ "command": "notebook:move-cursor-up",
531
+ "keys": ["K"],
532
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
533
+ },
534
+ {
535
+ "command": "notebook:move-cursor-heading-above-or-collapse",
536
+ "keys": ["ArrowLeft"],
537
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
538
+ },
539
+ {
540
+ "command": "notebook:move-cursor-heading-below-or-expand",
541
+ "keys": ["ArrowRight"],
542
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
543
+ },
544
+ {
545
+ "command": "notebook:insert-heading-above",
546
+ "keys": ["Shift A"],
547
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
548
+ },
549
+ {
550
+ "command": "notebook:insert-heading-below",
551
+ "keys": ["Shift B"],
552
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
553
+ },
554
+ {
555
+ "command": "notebook:collapse-all-headings",
556
+ "keys": ["Ctrl Shift ArrowLeft"],
557
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
558
+ },
559
+ {
560
+ "command": "notebook:expand-all-headings",
561
+ "keys": ["Ctrl Shift ArrowRight"],
562
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
563
+ },
564
+ {
565
+ "command": "notebook:paste-cell-below",
566
+ "keys": ["V"],
567
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
568
+ },
569
+ {
570
+ "command": "notebook:redo-cell-action",
571
+ "keys": ["Shift Z"],
572
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
573
+ },
574
+ {
575
+ "command": "notebook:run-cell",
576
+ "macKeys": ["Ctrl Enter"],
577
+ "keys": [],
578
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
579
+ },
580
+ {
581
+ "command": "notebook:run-cell",
582
+ "macKeys": ["Ctrl Enter"],
583
+ "keys": [],
584
+ "selector": ".jp-Notebook.jp-mod-editMode"
585
+ },
586
+ {
587
+ "command": "notebook:run-cell",
588
+ "keys": ["Accel Enter"],
589
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
590
+ },
591
+ {
592
+ "command": "notebook:run-cell",
593
+ "keys": ["Accel Enter"],
594
+ "selector": ".jp-Notebook.jp-mod-editMode"
595
+ },
596
+ {
597
+ "command": "notebook:run-cell-and-insert-below",
598
+ "keys": ["Alt Enter"],
599
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
600
+ },
601
+ {
602
+ "command": "notebook:run-cell-and-insert-below",
603
+ "keys": ["Alt Enter"],
604
+ "selector": ".jp-Notebook.jp-mod-editMode"
605
+ },
606
+ {
607
+ "command": "notebook:run-in-console",
608
+ "keys": [""],
609
+ "selector": ".jp-Notebook.jp-mod-editMode"
610
+ },
611
+ {
612
+ "command": "notebook:run-cell-and-select-next",
613
+ "keys": ["Shift Enter"],
614
+ "selector": ".jp-Notebook.jp-mod-editMode"
615
+ },
616
+ {
617
+ "command": "viewmenu:line-numbering",
618
+ "keys": ["Shift L"],
619
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
620
+ },
621
+ {
622
+ "command": "viewmenu:match-brackets",
623
+ "keys": [""],
624
+ "selector": ".jp-Notebook.jp-mod-commandMode"
625
+ },
626
+ {
627
+ "command": "notebook:select-all",
628
+ "keys": ["Accel A"],
629
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
630
+ },
631
+ {
632
+ "command": "notebook:split-cell-at-cursor",
633
+ "keys": ["Ctrl Shift -"],
634
+ "selector": ".jp-Notebook.jp-mod-editMode"
635
+ },
636
+ {
637
+ "command": "notebook:undo-cell-action",
638
+ "keys": ["Z"],
639
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
640
+ },
641
+ {
642
+ "command": "notebook:toggle-render-side-by-side-current",
643
+ "keys": ["Shift R"],
644
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
645
+ },
646
+ {
647
+ "command": "notebook:move-cell-up",
648
+ "keys": ["Ctrl Shift ArrowUp"],
649
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
650
+ },
651
+ {
652
+ "command": "notebook:move-cell-down",
653
+ "keys": ["Ctrl Shift ArrowDown"],
654
+ "selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
655
+ }
656
+ ],
657
+ "title": "Notebook",
658
+ "description": "Notebook settings.",
659
+ "definitions": {
660
+ "kernelStatusConfig": {
661
+ "type": "object",
662
+ "additionalProperties": false,
663
+ "properties": {
664
+ "showOnStatusBar": {
665
+ "type": "boolean",
666
+ "title": "Show kernel status on toolbar or status bar.",
667
+ "description": "If `true`, the kernel status progression will be displayed in the status bar otherwise it will be in the toolbar.",
668
+ "default": false
669
+ },
670
+ "showProgress": {
671
+ "type": "boolean",
672
+ "title": "Show execution progress.",
673
+ "default": true
674
+ }
675
+ }
676
+ }
677
+ },
678
+ "properties": {
679
+ "enableKernelInitNotification": {
680
+ "title": "Notify about code execution if kernel is initializing",
681
+ "description": "Display notification if code cells are run while kernel is initializing.",
682
+ "type": "boolean",
683
+ "default": false
684
+ },
685
+ "codeCellConfig": {
686
+ "title": "Code Cell Configuration",
687
+ "description": "The configuration for all code cells; it will override the CodeMirror default configuration.",
688
+ "type": "object",
689
+ "default": {
690
+ "lineNumbers": false,
691
+ "lineWrap": false
692
+ }
693
+ },
694
+ "defaultCell": {
695
+ "title": "Default cell type",
696
+ "description": "The default type (markdown, code, or raw) for new cells",
697
+ "type": "string",
698
+ "enum": ["code", "markdown", "raw"],
699
+ "default": "code"
700
+ },
701
+ "autoStartDefaultKernel": {
702
+ "title": "Automatically Start Preferred Kernel",
703
+ "description": "Whether to automatically start the preferred kernel.",
704
+ "type": "boolean",
705
+ "default": false
706
+ },
707
+ "showInputPlaceholder": {
708
+ "title": "Show input placeholder",
709
+ "description": "Show placeholder text for standard input fields (requires reload)",
710
+ "type": "boolean",
711
+ "default": true
712
+ },
713
+ "inputHistoryScope": {
714
+ "type": "string",
715
+ "default": "global",
716
+ "enum": ["global", "session"],
717
+ "title": "Input History Scope",
718
+ "description": "Whether the line history for standard input (e.g. the ipdb prompt) should kept separately for different kernel sessions (`session`) or combined (`global`)."
719
+ },
720
+ "kernelShutdown": {
721
+ "title": "Shut down kernel",
722
+ "description": "Whether to shut down or not the kernel when closing a notebook.",
723
+ "type": "boolean",
724
+ "default": false
725
+ },
726
+ "markdownCellConfig": {
727
+ "title": "Markdown Cell Configuration",
728
+ "description": "The configuration for all markdown cells; it will override the CodeMirror default configuration.",
729
+ "type": "object",
730
+ "default": {
731
+ "lineNumbers": false,
732
+ "matchBrackets": false
733
+ }
734
+ },
735
+ "autoRenderMarkdownCells": {
736
+ "title": "Automatically render markdown when cursor leaves markdown cells",
737
+ "description": "Whether to render markdown cells when the cursor moves out of them.",
738
+ "type": "boolean",
739
+ "default": false
740
+ },
741
+ "rawCellConfig": {
742
+ "title": "Raw Cell Configuration",
743
+ "description": "The configuration for all raw cells; it will override the CodeMirror default configuration.",
744
+ "type": "object",
745
+ "default": {
746
+ "lineNumbers": false,
747
+ "matchBrackets": false
748
+ }
749
+ },
750
+ "scrollPastEnd": {
751
+ "title": "Scroll past last cell",
752
+ "description": "Whether to be able to scroll so the last cell is at the top of the panel",
753
+ "type": "boolean",
754
+ "default": true
755
+ },
756
+ "recordTiming": {
757
+ "title": "Recording timing",
758
+ "description": "Should timing data be recorded in cell metadata",
759
+ "type": "boolean",
760
+ "default": false
761
+ },
762
+ "overscanCount": {
763
+ "title": "Number of cells to render outside the viewport",
764
+ "description": "In 'full' windowing mode, this is the number of cells above and below the viewport.",
765
+ "type": "number",
766
+ "default": 1,
767
+ "minimum": 1
768
+ },
769
+ "maxNumberOutputs": {
770
+ "title": "The maximum number of output cells to be rendered in the output area.",
771
+ "description": "Defines the maximum number of output cells to be rendered in the output area for cells with many outputs. The output area will have a head and the remaining outputs will be trimmed and not displayed unless the user clicks on the information message. Set to 0 to have the complete display.",
772
+ "type": "number",
773
+ "default": 50
774
+ },
775
+ "scrollHeadingToTop": {
776
+ "title": "Scroll heading to top",
777
+ "description": "Whether to scroll heading to the document top when selecting it in the table of contents.",
778
+ "type": "boolean",
779
+ "default": true
780
+ },
781
+ "showEditorForReadOnlyMarkdown": {
782
+ "title": "Show editor for read-only Markdown cells",
783
+ "description": "Should an editor be shown for read-only markdown",
784
+ "type": "boolean",
785
+ "default": true
786
+ },
787
+ "kernelStatus": {
788
+ "title": "Kernel status icon configuration",
789
+ "description": "Defines the position and components of execution progress indicator.",
790
+ "$ref": "#/definitions/kernelStatusConfig",
791
+ "default": {
792
+ "showOnStatusBar": false,
793
+ "showProgress": true
794
+ }
795
+ },
796
+ "documentWideUndoRedo": {
797
+ "title": "Enable undo/redo actions at the notebook document level.",
798
+ "description": "Enables the undo/redo actions at the notebook document level; aka undoing within a cell may undo the latest notebook change that happen in another cell. This is deprecated and will be removed in 5.0.0.",
799
+ "type": "boolean",
800
+ "default": false
801
+ },
802
+ "showHiddenCellsButton": {
803
+ "type": "boolean",
804
+ "title": "Show hidden cells button if collapsed",
805
+ "description": "If set to true, a button is shown below collapsed headings, indicating how many cells are hidden beneath the collapsed heading.",
806
+ "default": true
807
+ },
808
+ "renderingLayout": {
809
+ "title": "Rendering Layout",
810
+ "description": "Global setting to define the rendering layout in notebooks. 'default' or 'side-by-side' are supported.",
811
+ "enum": ["default", "side-by-side"],
812
+ "default": "default"
813
+ },
814
+ "sideBySideLeftMarginOverride": {
815
+ "title": "Side-by-side left margin override",
816
+ "description": "Side-by-side left margin override.",
817
+ "type": "string",
818
+ "default": "10px"
819
+ },
820
+ "sideBySideRightMarginOverride": {
821
+ "title": "Side-by-side right margin override",
822
+ "description": "Side-by-side right margin override.",
823
+ "type": "string",
824
+ "default": "10px"
825
+ },
826
+ "sideBySideOutputRatio": {
827
+ "title": "Side-by-side output ratio",
828
+ "description": "For the side-by-side rendering, the side-by-side output ratio defines the width of the output vs the input. Set 1 for same size, > 1 for larger output, < 1 for smaller output.",
829
+ "type": "number",
830
+ "default": 1,
831
+ "minimum": 0
832
+ },
833
+ "windowingMode": {
834
+ "title": "Windowing mode",
835
+ "description": "'defer': Improve loading time - Wait for idle CPU cycles to attach out of viewport cells - 'full': Best performance with side effects - Attach to the DOM only cells in viewport - 'none': Worst performance without side effects - Attach all cells to the viewport",
836
+ "enum": ["defer", "full", "none"],
837
+ "default": "full"
838
+ },
839
+ "accessKernelHistory": {
840
+ "title": "Kernel history access",
841
+ "description": "Enable kernel history access from notebook cells. Enabling this allows you to scroll through kernel history from a given notebook cell.",
842
+ "type": "boolean",
843
+ "default": false
844
+ }
845
+ },
846
+ "additionalProperties": false,
847
+ "type": "object"
848
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/running-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab - Running Sessions Extension",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/**/*.css",
17
+ "style/index.js"
18
+ ],
19
+ "main": "lib/index.js",
20
+ "types": "lib/index.d.ts",
21
+ "style": "style/index.css",
22
+ "directories": {
23
+ "lib": "lib/"
24
+ },
25
+ "files": [
26
+ "lib/*.d.ts",
27
+ "lib/*.js.map",
28
+ "lib/*.js",
29
+ "schema/*.json",
30
+ "style/**/*.css",
31
+ "style/index.js",
32
+ "src/**/*.{ts,tsx}"
33
+ ],
34
+ "scripts": {
35
+ "build": "tsc -b",
36
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
37
+ "watch": "tsc -b --watch"
38
+ },
39
+ "dependencies": {
40
+ "@jupyterlab/application": "^4.4.6",
41
+ "@jupyterlab/apputils": "^4.5.6",
42
+ "@jupyterlab/coreutils": "^6.4.6",
43
+ "@jupyterlab/docmanager": "^4.4.6",
44
+ "@jupyterlab/docregistry": "^4.4.6",
45
+ "@jupyterlab/rendermime-interfaces": "^3.12.6",
46
+ "@jupyterlab/running": "^4.4.6",
47
+ "@jupyterlab/services": "^7.4.6",
48
+ "@jupyterlab/statedb": "^4.4.6",
49
+ "@jupyterlab/translation": "^4.4.6",
50
+ "@jupyterlab/ui-components": "^4.4.6",
51
+ "@lumino/commands": "^2.3.2",
52
+ "@lumino/polling": "^2.1.4",
53
+ "@lumino/signaling": "^2.1.4",
54
+ "@lumino/widgets": "^2.7.1",
55
+ "react": "^18.2.0"
56
+ },
57
+ "devDependencies": {
58
+ "rimraf": "~5.0.5",
59
+ "typescript": "~5.5.4"
60
+ },
61
+ "publishConfig": {
62
+ "access": "public"
63
+ },
64
+ "jupyterlab": {
65
+ "extension": true,
66
+ "schemaDir": "schema"
67
+ },
68
+ "styleModule": "style/index.js"
69
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Sessions",
3
+ "description": "Sessions Settings",
4
+ "jupyter.lab.menus": {
5
+ "main": [
6
+ {
7
+ "id": "jp-mainmenu-view",
8
+ "items": [
9
+ {
10
+ "command": "running:show-panel",
11
+ "rank": 3
12
+ }
13
+ ]
14
+ }
15
+ ],
16
+ "context": [
17
+ {
18
+ "command": "running:kernel-new-console",
19
+ "selector": ".jp-RunningSessions-item.jp-mod-kernel",
20
+ "rank": 0
21
+ },
22
+ {
23
+ "command": "running:kernel-new-notebook",
24
+ "selector": ".jp-RunningSessions-item.jp-mod-kernel",
25
+ "rank": 1
26
+ },
27
+ {
28
+ "type": "separator",
29
+ "selector": ".jp-RunningSessions-item.jp-mod-kernel",
30
+ "rank": 2
31
+ },
32
+ {
33
+ "type": "submenu",
34
+ "selector": ".jp-RunningSessions-item.jp-mod-kernel",
35
+ "rank": 3,
36
+ "submenu": {
37
+ "id": "jp-contextmenu-connected-sessions",
38
+ "label": "Connected Sessions…",
39
+ "items": []
40
+ }
41
+ },
42
+ {
43
+ "type": "separator",
44
+ "selector": ".jp-RunningSessions-item.jp-mod-kernel",
45
+ "rank": 4
46
+ },
47
+ {
48
+ "command": "running:kernel-shut-down",
49
+ "selector": ".jp-RunningSessions-item.jp-mod-kernel",
50
+ "rank": 5
51
+ }
52
+ ]
53
+ },
54
+ "jupyter.lab.shortcuts": [
55
+ {
56
+ "command": "running:show-panel",
57
+ "keys": ["Accel Shift B"],
58
+ "selector": "body"
59
+ },
60
+ {
61
+ "command": "running:show-modal",
62
+ "keys": ["Accel Alt A"],
63
+ "selector": "body"
64
+ }
65
+ ],
66
+ "properties": {},
67
+ "additionalProperties": false,
68
+ "type": "object"
69
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Settings Editor Form UI",
3
+ "description": "Settings editor form ui settings.",
4
+ "properties": {
5
+ "settingEditorType": {
6
+ "title": "Type of editor for the setting.",
7
+ "description": "Set the type of editor to use while editing your settings.",
8
+ "enum": ["json", "ui"],
9
+ "default": "ui"
10
+ }
11
+ },
12
+ "additionalProperties": false,
13
+ "type": "object"
14
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/settingeditor-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab - Setting Editor Extension",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/*.css",
17
+ "style/index.js"
18
+ ],
19
+ "main": "lib/index.js",
20
+ "types": "lib/index.d.ts",
21
+ "style": "style/index.css",
22
+ "directories": {
23
+ "lib": "lib/"
24
+ },
25
+ "files": [
26
+ "lib/*.d.ts",
27
+ "lib/*.js.map",
28
+ "lib/*.js",
29
+ "schema/*.json",
30
+ "style/**/*.css",
31
+ "style/index.js",
32
+ "src/**/*.{ts,tsx}"
33
+ ],
34
+ "scripts": {
35
+ "build": "tsc -b",
36
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
37
+ "watch": "tsc -b --watch"
38
+ },
39
+ "dependencies": {
40
+ "@jupyterlab/application": "^4.4.6",
41
+ "@jupyterlab/apputils": "^4.5.6",
42
+ "@jupyterlab/codeeditor": "^4.4.6",
43
+ "@jupyterlab/pluginmanager": "^4.4.6",
44
+ "@jupyterlab/rendermime": "^4.4.6",
45
+ "@jupyterlab/settingeditor": "^4.4.6",
46
+ "@jupyterlab/settingregistry": "^4.4.6",
47
+ "@jupyterlab/statedb": "^4.4.6",
48
+ "@jupyterlab/translation": "^4.4.6",
49
+ "@jupyterlab/ui-components": "^4.4.6",
50
+ "@lumino/disposable": "^2.1.4",
51
+ "react": "^18.2.0"
52
+ },
53
+ "devDependencies": {
54
+ "rimraf": "~5.0.5",
55
+ "typescript": "~5.5.4"
56
+ },
57
+ "publishConfig": {
58
+ "access": "public"
59
+ },
60
+ "jupyterlab": {
61
+ "extension": true,
62
+ "schemaDir": "schema"
63
+ },
64
+ "styleModule": "style/index.js"
65
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Setting Editor",
3
+ "description": "Setting editor settings.",
4
+ "jupyter.lab.shortcuts": [
5
+ {
6
+ "command": "settingeditor:open",
7
+ "args": {},
8
+ "keys": ["Accel ,"],
9
+ "selector": "body"
10
+ },
11
+ {
12
+ "command": "settingeditor:save",
13
+ "args": {},
14
+ "keys": ["Accel S"],
15
+ "selector": ".jp-SettingEditor"
16
+ }
17
+ ],
18
+ "properties": {},
19
+ "additionalProperties": false,
20
+ "type": "object"
21
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/shortcuts-extension",
3
+ "version": "5.2.6",
4
+ "description": "JupyterLab - Shortcuts Extension",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/*.css",
17
+ "style/index.js"
18
+ ],
19
+ "main": "lib/index.js",
20
+ "types": "lib/index.d.ts",
21
+ "style": "style/index.css",
22
+ "directories": {
23
+ "lib": "lib/"
24
+ },
25
+ "files": [
26
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
27
+ "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
28
+ "style/index.js",
29
+ "schema/*.json",
30
+ "src/**/*.{ts,tsx}"
31
+ ],
32
+ "scripts": {
33
+ "build": "tsc -b",
34
+ "build:test": "tsc --build tsconfig.test.json",
35
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
36
+ "test": "jest",
37
+ "test:cov": "jest --collect-coverage",
38
+ "test:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand",
39
+ "test:debug:watch": "node --inspect-brk ../../node_modules/.bin/jest --runInBand --watch",
40
+ "watch": "tsc -b --watch"
41
+ },
42
+ "dependencies": {
43
+ "@jupyterlab/application": "^4.4.6",
44
+ "@jupyterlab/settingregistry": "^4.4.6",
45
+ "@jupyterlab/translation": "^4.4.6",
46
+ "@jupyterlab/ui-components": "^4.4.6",
47
+ "@lumino/algorithm": "^2.0.3",
48
+ "@lumino/commands": "^2.3.2",
49
+ "@lumino/coreutils": "^2.2.1",
50
+ "@lumino/disposable": "^2.1.4",
51
+ "@lumino/domutils": "^2.0.3",
52
+ "@lumino/keyboard": "^2.0.3",
53
+ "@lumino/signaling": "^2.1.4",
54
+ "react": "^18.2.0"
55
+ },
56
+ "devDependencies": {
57
+ "@jupyterlab/testing": "^4.4.6",
58
+ "@types/jest": "^29.2.0",
59
+ "jest": "^29.2.0",
60
+ "rimraf": "~5.0.5",
61
+ "typescript": "~5.5.4"
62
+ },
63
+ "publishConfig": {
64
+ "access": "public"
65
+ },
66
+ "jupyterlab": {
67
+ "extension": true,
68
+ "schemaDir": "schema"
69
+ },
70
+ "styleModule": "style/index.js"
71
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "jupyter.lab.setting-icon": "ui-components:keyboard",
3
+ "jupyter.lab.setting-icon-label": "Keyboard Shortcuts",
4
+ "jupyter.lab.transform": true,
5
+ "title": "Keyboard Shortcuts",
6
+ "description": "Keyboard shortcut settings.",
7
+ "jupyter.lab.menus": {
8
+ "context": [
9
+ {
10
+ "command": "shortcuts:edit-keybinding",
11
+ "selector": ".jp-Shortcuts-ShortcutKeysContainer",
12
+ "rank": 0
13
+ },
14
+ {
15
+ "command": "shortcuts:delete-keybinding",
16
+ "selector": ".jp-Shortcuts-ShortcutKeysContainer",
17
+ "rank": 1
18
+ },
19
+ {
20
+ "command": "shortcuts:add-keybinding",
21
+ "selector": ".jp-Shortcuts-Row",
22
+ "rank": 2
23
+ },
24
+ {
25
+ "command": "shortcuts:toggle-selectors",
26
+ "selector": ".jp-Shortcuts-Top",
27
+ "rank": 3
28
+ },
29
+ {
30
+ "command": "shortcuts:reset-all",
31
+ "selector": ".jp-Shortcuts-Top",
32
+ "rank": 4
33
+ }
34
+ ]
35
+ },
36
+ "type": "object",
37
+ "additionalProperties": false,
38
+ "properties": {
39
+ "shortcuts": {
40
+ "description": "The list of keyboard shortcuts.",
41
+ "items": { "$ref": "#/definitions/shortcut" },
42
+ "type": "array",
43
+ "default": []
44
+ }
45
+ },
46
+ "definitions": {
47
+ "shortcut": {
48
+ "properties": {
49
+ "args": { "type": "object" },
50
+ "command": { "type": "string" },
51
+ "keys": {
52
+ "items": { "type": "string" },
53
+ "type": "array"
54
+ },
55
+ "winKeys": {
56
+ "items": { "type": "string" },
57
+ "type": "array"
58
+ },
59
+ "macKeys": {
60
+ "items": { "type": "string" },
61
+ "type": "array"
62
+ },
63
+ "linuxKeys": {
64
+ "items": { "type": "string" },
65
+ "type": "array"
66
+ },
67
+ "selector": { "type": "string" },
68
+ "preventDefault": { "type": "boolean" }
69
+ },
70
+ "required": ["command", "keys", "selector"],
71
+ "type": "object"
72
+ }
73
+ }
74
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/statusbar-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab - Statusbar Extension",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter, Richa Gadgil, Takahiro Shimokobe, Declan Kelly",
15
+ "sideEffects": [
16
+ "style/**/*"
17
+ ],
18
+ "main": "lib/index.js",
19
+ "types": "lib/index.d.ts",
20
+ "style": "style/index.css",
21
+ "directories": {
22
+ "lib": "lib/"
23
+ },
24
+ "files": [
25
+ "lib/**/*.d.ts",
26
+ "lib/**/*.js.map",
27
+ "lib/**/*.js",
28
+ "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
29
+ "schema/*.json",
30
+ "style/index.js",
31
+ "src/**/*.{ts,tsx}"
32
+ ],
33
+ "scripts": {
34
+ "build": "tsc -b",
35
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
36
+ "watch": "tsc -b --watch"
37
+ },
38
+ "dependencies": {
39
+ "@jupyterlab/application": "^4.4.6",
40
+ "@jupyterlab/apputils": "^4.5.6",
41
+ "@jupyterlab/settingregistry": "^4.4.6",
42
+ "@jupyterlab/statusbar": "^4.4.6",
43
+ "@jupyterlab/translation": "^4.4.6"
44
+ },
45
+ "devDependencies": {
46
+ "@types/react": "^18.0.26",
47
+ "@types/react-dom": "^18.0.9",
48
+ "rimraf": "~5.0.5",
49
+ "typescript": "~5.5.4"
50
+ },
51
+ "publishConfig": {
52
+ "access": "public"
53
+ },
54
+ "jupyterlab": {
55
+ "extension": true,
56
+ "schemaDir": "schema"
57
+ },
58
+ "styleModule": "style/index.js"
59
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "jupyter.lab.setting-icon": "ui-components:settings",
3
+ "jupyter.lab.setting-icon-label": "Status Bar",
4
+ "jupyter.lab.menus": {
5
+ "main": [
6
+ {
7
+ "id": "jp-mainmenu-view",
8
+ "items": [
9
+ {
10
+ "type": "submenu",
11
+ "submenu": {
12
+ "id": "jp-mainmenu-view-appearance",
13
+ "items": [
14
+ {
15
+ "command": "statusbar:toggle",
16
+ "rank": 15
17
+ }
18
+ ]
19
+ }
20
+ }
21
+ ]
22
+ }
23
+ ]
24
+ },
25
+ "title": "Status Bar",
26
+ "description": "Status Bar settings.",
27
+ "properties": {
28
+ "visible": {
29
+ "type": "boolean",
30
+ "title": "Status Bar Visibility",
31
+ "description": "Whether to show status bar or not",
32
+ "default": true
33
+ }
34
+ },
35
+ "additionalProperties": false,
36
+ "type": "object"
37
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/terminal-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab - Terminal Emulator Extension",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/**/*.css",
17
+ "style/index.js"
18
+ ],
19
+ "main": "lib/index.js",
20
+ "types": "lib/index.d.ts",
21
+ "style": "style/index.css",
22
+ "directories": {
23
+ "lib": "lib/"
24
+ },
25
+ "files": [
26
+ "lib/*.d.ts",
27
+ "lib/*.js.map",
28
+ "lib/*.js",
29
+ "schema/*.json",
30
+ "style/**/*.css",
31
+ "style/index.js",
32
+ "src/**/*.{ts,tsx}"
33
+ ],
34
+ "scripts": {
35
+ "build": "tsc -b",
36
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
37
+ "watch": "tsc -b --watch"
38
+ },
39
+ "dependencies": {
40
+ "@jupyterlab/application": "^4.4.6",
41
+ "@jupyterlab/apputils": "^4.5.6",
42
+ "@jupyterlab/launcher": "^4.4.6",
43
+ "@jupyterlab/mainmenu": "^4.4.6",
44
+ "@jupyterlab/running": "^4.4.6",
45
+ "@jupyterlab/services": "^7.4.6",
46
+ "@jupyterlab/settingregistry": "^4.4.6",
47
+ "@jupyterlab/terminal": "^4.4.6",
48
+ "@jupyterlab/translation": "^4.4.6",
49
+ "@jupyterlab/ui-components": "^4.4.6",
50
+ "@lumino/widgets": "^2.7.1"
51
+ },
52
+ "devDependencies": {
53
+ "@types/webpack-env": "^1.18.0",
54
+ "rimraf": "~5.0.5",
55
+ "typescript": "~5.5.4"
56
+ },
57
+ "publishConfig": {
58
+ "access": "public"
59
+ },
60
+ "jupyterlab": {
61
+ "extension": true,
62
+ "schemaDir": "schema"
63
+ },
64
+ "styleModule": "style/index.js"
65
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "jupyter.lab.setting-icon": "ui-components:terminal",
3
+ "jupyter.lab.setting-icon-label": "Terminal",
4
+ "jupyter.lab.menus": {
5
+ "context": [
6
+ {
7
+ "command": "terminal:copy",
8
+ "selector": ".jp-Terminal",
9
+ "rank": 1
10
+ },
11
+ {
12
+ "command": "terminal:paste",
13
+ "selector": ".jp-Terminal",
14
+ "rank": 2
15
+ },
16
+ {
17
+ "command": "terminal:refresh",
18
+ "selector": ".jp-Terminal",
19
+ "rank": 3
20
+ }
21
+ ]
22
+ },
23
+ "title": "Terminal",
24
+ "description": "Terminal settings.",
25
+ "definitions": {
26
+ "fontFamily": {
27
+ "type": "string"
28
+ },
29
+ "fontSize": {
30
+ "type": "integer",
31
+ "minimum": 9,
32
+ "maximum": 72
33
+ },
34
+ "lineHeight": {
35
+ "type": "number",
36
+ "minimum": 1.0
37
+ },
38
+ "theme": {
39
+ "enum": ["dark", "light", "inherit"]
40
+ },
41
+ "scrollback": {
42
+ "type": "number"
43
+ },
44
+ "pasteWithCtrlV": {
45
+ "type": "boolean"
46
+ },
47
+ "macOptionIsMeta": {
48
+ "type": "boolean"
49
+ }
50
+ },
51
+ "properties": {
52
+ "fontFamily": {
53
+ "title": "Font family",
54
+ "description": "The font family used to render text.",
55
+ "$ref": "#/definitions/fontFamily",
56
+ "default": "monospace"
57
+ },
58
+ "fontSize": {
59
+ "title": "Font size",
60
+ "description": "The font size used to render text.",
61
+ "$ref": "#/definitions/fontSize",
62
+ "default": 13
63
+ },
64
+ "lineHeight": {
65
+ "title": "Line height",
66
+ "description": "The line height used to render text.",
67
+ "$ref": "#/definitions/lineHeight",
68
+ "default": 1.0
69
+ },
70
+ "theme": {
71
+ "title": "Theme",
72
+ "description": "The theme for the terminal.",
73
+ "$ref": "#/definitions/theme",
74
+ "default": "inherit"
75
+ },
76
+ "screenReaderMode": {
77
+ "title": "Screen Reader Mode",
78
+ "description": "Add accessibility elements for use with screen readers.",
79
+ "type": "boolean",
80
+ "default": false
81
+ },
82
+ "scrollback": {
83
+ "title": "Scrollback Buffer",
84
+ "description": "The amount of scrollback beyond initial viewport",
85
+ "$ref": "#/definitions/lineHeight",
86
+ "default": 1000
87
+ },
88
+ "shutdownOnClose": {
89
+ "title": "Shut down on close",
90
+ "description": "Shut down the session when closing the terminal.",
91
+ "type": "boolean",
92
+ "default": false
93
+ },
94
+ "closeOnExit": {
95
+ "title": "Close on exit",
96
+ "description": "Close the widget when exiting the terminal.",
97
+ "type": "boolean",
98
+ "default": true
99
+ },
100
+ "pasteWithCtrlV": {
101
+ "title": "Paste with Ctrl+V",
102
+ "description": "Enable pasting with Ctrl+V. This can be disabled to use Ctrl+V in the vi editor, for instance. This setting has no effect on macOS, where Cmd+V is available",
103
+ "type": "boolean",
104
+ "default": true
105
+ },
106
+ "macOptionIsMeta": {
107
+ "title": "Treat option as meta key on macOS",
108
+ "description": "Option key on macOS can be used as meta key. This enables to use shortcuts such as option + f to move cursor forward one word",
109
+ "type": "boolean",
110
+ "default": false
111
+ },
112
+ "cursorBlink": {
113
+ "title": "Blinking cursor",
114
+ "description": "Whether to blink the cursor. Changes require reopening the terminal.",
115
+ "type": "boolean",
116
+ "default": true
117
+ },
118
+ "showStatusBarItem": {
119
+ "type": "string",
120
+ "title": "Show the status bar item",
121
+ "description": "Whether to show the running terminals item in the status bar",
122
+ "default": "if-any",
123
+ "oneOf": [
124
+ {
125
+ "const": "if-any",
126
+ "title": "Show if one or more"
127
+ },
128
+ {
129
+ "const": "always",
130
+ "title": "Always show"
131
+ },
132
+ {
133
+ "const": "never",
134
+ "title": "Don't show"
135
+ }
136
+ ]
137
+ }
138
+ },
139
+ "additionalProperties": false,
140
+ "type": "object"
141
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/toc-extension",
3
+ "version": "6.4.6",
4
+ "description": "JupyterLab - Table of Contents widget extension",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
11
+ "bugs": {
12
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
17
+ },
18
+ "license": "BSD-3-Clause",
19
+ "author": "Project Jupyter",
20
+ "sideEffects": [
21
+ "style/*.css",
22
+ "style/index.js"
23
+ ],
24
+ "main": "lib/index.js",
25
+ "types": "lib/index.d.ts",
26
+ "style": "style/index.css",
27
+ "directories": {
28
+ "lib": "lib/"
29
+ },
30
+ "files": [
31
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
32
+ "schema/*.json",
33
+ "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
34
+ "style/index.js",
35
+ "src/**/*.{ts,tsx}"
36
+ ],
37
+ "scripts": {
38
+ "build": "tsc -b",
39
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
40
+ "watch": "tsc -b --watch"
41
+ },
42
+ "dependencies": {
43
+ "@jupyterlab/application": "^4.4.6",
44
+ "@jupyterlab/settingregistry": "^4.4.6",
45
+ "@jupyterlab/toc": "^6.4.6",
46
+ "@jupyterlab/translation": "^4.4.6",
47
+ "@jupyterlab/ui-components": "^4.4.6"
48
+ },
49
+ "devDependencies": {
50
+ "rimraf": "~5.0.5",
51
+ "typescript": "~5.5.4"
52
+ },
53
+ "publishConfig": {
54
+ "access": "public"
55
+ },
56
+ "jupyterlab": {
57
+ "extension": true,
58
+ "schemaDir": "schema"
59
+ },
60
+ "styleModule": "style/index.js"
61
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "jupyter.lab.setting-icon": "ui-components:toc",
3
+ "jupyter.lab.setting-icon-label": "Table of Contents",
4
+ "title": "Table of Contents",
5
+ "description": "Default table of contents settings.",
6
+ "jupyter.lab.menus": {
7
+ "main": [
8
+ {
9
+ "id": "jp-mainmenu-view",
10
+ "items": [
11
+ {
12
+ "command": "toc:show-panel",
13
+ "rank": 4
14
+ }
15
+ ]
16
+ }
17
+ ],
18
+ "context": [
19
+ {
20
+ "command": "toc:run-cells",
21
+ "selector": ".jp-TableOfContents-content[data-document-type=\"notebook\"] .jp-tocItem"
22
+ }
23
+ ]
24
+ },
25
+ "jupyter.lab.shortcuts": [
26
+ {
27
+ "command": "toc:show-panel",
28
+ "keys": ["Accel Shift K"],
29
+ "selector": "body"
30
+ }
31
+ ],
32
+ "properties": {
33
+ "maximalDepth": {
34
+ "title": "Maximal headings depth",
35
+ "type": "integer",
36
+ "minimum": 1,
37
+ "default": 4
38
+ },
39
+ "numberingH1": {
40
+ "title": "Enable 1st headings numbering",
41
+ "description": "Whether to number first-level headings or not.",
42
+ "type": "boolean",
43
+ "default": true
44
+ },
45
+ "numberHeaders": {
46
+ "title": "Enable headings numbering",
47
+ "description": "Whether to automatically number the headings or not.",
48
+ "type": "boolean",
49
+ "default": false
50
+ },
51
+ "includeOutput": {
52
+ "title": "Include cell output in headings",
53
+ "description": "Whether to include cell output in headings or not.",
54
+ "type": "boolean",
55
+ "default": true
56
+ },
57
+ "syncCollapseState": {
58
+ "type": "boolean",
59
+ "title": "Synchronize collapse state",
60
+ "description": "If set to true, when a heading is collapsed in the table of contents the corresponding section in the document is collapsed as well and vice versa. This inhibits the cell output headings.",
61
+ "default": false
62
+ },
63
+ "baseNumbering": {
64
+ "title": "Base level for the highest headings",
65
+ "type": "integer",
66
+ "description": "The number headings start at.",
67
+ "default": 1
68
+ }
69
+ },
70
+ "additionalProperties": false,
71
+ "type": "object"
72
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Console Tooltips",
3
+ "description": "Console tooltip settings.",
4
+ "jupyter.lab.shortcuts": [
5
+ {
6
+ "command": "tooltip:dismiss",
7
+ "keys": ["Escape"],
8
+ "selector": "body.jp-mod-tooltip .jp-CodeConsole-promptCell"
9
+ },
10
+ {
11
+ "command": "tooltip:launch-console",
12
+ "keys": ["Shift Tab"],
13
+ "selector": ".jp-CodeConsole-promptCell .jp-InputArea-editor:not(.jp-mod-has-primary-selection):not(.jp-mod-in-leading-whitespace)"
14
+ }
15
+ ],
16
+ "properties": {},
17
+ "additionalProperties": false,
18
+ "type": "object"
19
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "File Editor Tooltips",
3
+ "description": "File editor tooltip settings.",
4
+ "jupyter.lab.shortcuts": [
5
+ {
6
+ "command": "tooltip:launch-file",
7
+ "keys": ["Shift Tab"],
8
+ "selector": ".jp-FileEditor .jp-CodeMirrorEditor:not(.jp-mod-has-primary-selection):not(.jp-mod-in-leading-whitespace)"
9
+ }
10
+ ],
11
+ "properties": {},
12
+ "additionalProperties": false,
13
+ "type": "object"
14
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Notebook Tooltips",
3
+ "description": "Notebook tooltip settings.",
4
+ "jupyter.lab.shortcuts": [
5
+ {
6
+ "command": "tooltip:dismiss",
7
+ "keys": ["Escape"],
8
+ "selector": "body.jp-mod-tooltip .jp-Notebook"
9
+ },
10
+ {
11
+ "command": "tooltip:launch-notebook",
12
+ "keys": ["Shift Tab"],
13
+ "selector": ".jp-Notebook.jp-mod-editMode .jp-InputArea-editor:not(.jp-mod-has-primary-selection):not(.jp-mod-in-leading-whitespace):not(.jp-mod-completer-active)"
14
+ }
15
+ ],
16
+ "properties": {},
17
+ "additionalProperties": false,
18
+ "type": "object"
19
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/tooltip-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab - Tooltip Extension",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/**/*.css",
17
+ "style/index.js"
18
+ ],
19
+ "main": "lib/index.js",
20
+ "types": "lib/index.d.ts",
21
+ "style": "style/index.css",
22
+ "directories": {
23
+ "lib": "lib/"
24
+ },
25
+ "files": [
26
+ "lib/*.d.ts",
27
+ "lib/*.js.map",
28
+ "lib/*.js",
29
+ "schema/*.json",
30
+ "style/**/*.css",
31
+ "style/index.js",
32
+ "src/**/*.{ts,tsx}"
33
+ ],
34
+ "scripts": {
35
+ "build": "tsc -b",
36
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
37
+ "watch": "tsc -b --watch"
38
+ },
39
+ "dependencies": {
40
+ "@jupyterlab/application": "^4.4.6",
41
+ "@jupyterlab/codeeditor": "^4.4.6",
42
+ "@jupyterlab/console": "^4.4.6",
43
+ "@jupyterlab/coreutils": "^6.4.6",
44
+ "@jupyterlab/fileeditor": "^4.4.6",
45
+ "@jupyterlab/notebook": "^4.4.6",
46
+ "@jupyterlab/rendermime": "^4.4.6",
47
+ "@jupyterlab/services": "^7.4.6",
48
+ "@jupyterlab/tooltip": "^4.4.6",
49
+ "@jupyterlab/translation": "^4.4.6",
50
+ "@lumino/algorithm": "^2.0.3",
51
+ "@lumino/coreutils": "^2.2.1",
52
+ "@lumino/widgets": "^2.7.1"
53
+ },
54
+ "devDependencies": {
55
+ "rimraf": "~5.0.5",
56
+ "typescript": "~5.5.4"
57
+ },
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "jupyterlab": {
62
+ "extension": true,
63
+ "schemaDir": "schema"
64
+ },
65
+ "styleModule": "style/index.js"
66
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/translation-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab - Translation services",
5
+ "keywords": [
6
+ "jupyter",
7
+ "jupyterlab",
8
+ "jupyterlab-extension"
9
+ ],
10
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
11
+ "bugs": {
12
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
17
+ },
18
+ "license": "BSD-3-Clause",
19
+ "author": "Project Jupyter",
20
+ "sideEffects": [
21
+ "style/*.css",
22
+ "style/index.js"
23
+ ],
24
+ "main": "lib/index.js",
25
+ "types": "lib/index.d.ts",
26
+ "style": "style/index.css",
27
+ "files": [
28
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
29
+ "schema/**/*.{json,}",
30
+ "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
31
+ "style/index.js",
32
+ "src/**/*.{ts,tsx}"
33
+ ],
34
+ "scripts": {
35
+ "build": "tsc",
36
+ "clean": "rimraf lib tsconfig.tsbuildinfo",
37
+ "watch": "tsc -w"
38
+ },
39
+ "dependencies": {
40
+ "@jupyterlab/application": "^4.4.6",
41
+ "@jupyterlab/apputils": "^4.5.6",
42
+ "@jupyterlab/mainmenu": "^4.4.6",
43
+ "@jupyterlab/settingregistry": "^4.4.6",
44
+ "@jupyterlab/translation": "^4.4.6"
45
+ },
46
+ "devDependencies": {
47
+ "rimraf": "~5.0.5",
48
+ "typescript": "~5.5.4"
49
+ },
50
+ "publishConfig": {
51
+ "access": "public"
52
+ },
53
+ "jupyterlab": {
54
+ "extension": true,
55
+ "schemaDir": "schema"
56
+ },
57
+ "styleModule": "style/index.js"
58
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "jupyter.lab.setting-icon": "ui-components:settings",
3
+ "jupyter.lab.setting-icon-label": "Language",
4
+ "jupyter.lab.menus": {
5
+ "main": [
6
+ {
7
+ "id": "jp-mainmenu-settings",
8
+ "items": [
9
+ {
10
+ "type": "separator",
11
+ "rank": 1
12
+ },
13
+ {
14
+ "type": "submenu",
15
+ "rank": 1,
16
+ "submenu": {
17
+ "id": "jp-mainmenu-settings-language",
18
+ "label": "Language"
19
+ }
20
+ },
21
+ {
22
+ "type": "separator",
23
+ "rank": 1
24
+ }
25
+ ]
26
+ }
27
+ ]
28
+ },
29
+ "title": "Language",
30
+ "description": "Language settings.",
31
+ "type": "object",
32
+ "properties": {
33
+ "locale": {
34
+ "type": "string",
35
+ "title": "Language locale",
36
+ "description": "Set the interface display language. Examples: 'es_CO', 'fr_FR'. Set 'default' to use the server default locale. Requires corresponding language pack to be installed.",
37
+ "default": "default"
38
+ },
39
+ "stringsPrefix": {
40
+ "type": "string",
41
+ "title": "Localized strings prefix",
42
+ "description": "Add a prefix to localized strings.",
43
+ "default": "!!"
44
+ },
45
+ "displayStringsPrefix": {
46
+ "type": "boolean",
47
+ "title": "Display localized strings prefix",
48
+ "description": "Display the `stringsPrefix` on localized strings.",
49
+ "default": false
50
+ }
51
+ }
52
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/indicator.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Workspace Indicator",
3
+ "description": "Workspace Indicator Settings",
4
+ "jupyter.lab.toolbars": {
5
+ "TopBar": [
6
+ {
7
+ "name": "workspaceIndicator",
8
+ "rank": 1000,
9
+ "disabled": true
10
+ }
11
+ ]
12
+ },
13
+ "jupyter.lab.menus": {
14
+ "main": [
15
+ {
16
+ "id": "jp-mainmenu-view",
17
+ "items": [
18
+ {
19
+ "type": "submenu",
20
+ "submenu": {
21
+ "id": "jp-mainmenu-view-appearance",
22
+ "items": [
23
+ {
24
+ "command": "workspace-indicator:toggle",
25
+ "rank": 16
26
+ }
27
+ ]
28
+ }
29
+ }
30
+ ]
31
+ }
32
+ ]
33
+ },
34
+ "properties": {},
35
+ "additionalProperties": false,
36
+ "type": "object"
37
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Workspaces Menu",
3
+ "description": "Workspaces Menu",
4
+ "jupyter.lab.menus": {
5
+ "main": [
6
+ {
7
+ "id": "jp-mainmenu-file",
8
+ "items": [
9
+ {
10
+ "type": "submenu",
11
+ "rank": 10,
12
+ "submenu": {
13
+ "id": "jp-mainmenu-file-workspaces",
14
+ "label": "Workspaces",
15
+ "items": [
16
+ {
17
+ "command": "workspace-ui:open",
18
+ "rank": 0
19
+ },
20
+ {
21
+ "command": "workspace-ui:create-new",
22
+ "rank": 1
23
+ },
24
+ {
25
+ "command": "workspace-ui:clone",
26
+ "rank": 2
27
+ },
28
+ {
29
+ "command": "workspace-ui:rename",
30
+ "rank": 3
31
+ },
32
+ {
33
+ "command": "workspace-ui:save",
34
+ "rank": 4
35
+ },
36
+ {
37
+ "command": "workspace-ui:save-as",
38
+ "rank": 5
39
+ },
40
+ {
41
+ "command": "workspace-ui:import",
42
+ "rank": 6
43
+ },
44
+ {
45
+ "command": "workspace-ui:export",
46
+ "rank": 7
47
+ },
48
+ {
49
+ "type": "separator",
50
+ "rank": 8
51
+ },
52
+ {
53
+ "command": "workspace-ui:reset",
54
+ "rank": 9
55
+ },
56
+ {
57
+ "command": "workspace-ui:delete",
58
+ "rank": 10
59
+ }
60
+ ]
61
+ }
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ },
67
+ "properties": {},
68
+ "additionalProperties": false,
69
+ "type": "object"
70
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@jupyterlab/workspaces-extension",
3
+ "version": "4.4.6",
4
+ "description": "JupyterLab Extension providing UI for workspace management",
5
+ "homepage": "https://github.com/jupyterlab/jupyterlab",
6
+ "bugs": {
7
+ "url": "https://github.com/jupyterlab/jupyterlab/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/jupyterlab/jupyterlab.git"
12
+ },
13
+ "license": "BSD-3-Clause",
14
+ "author": "Project Jupyter",
15
+ "sideEffects": [
16
+ "style/**/*"
17
+ ],
18
+ "main": "lib/index.js",
19
+ "types": "lib/index.d.ts",
20
+ "style": "style/index.css",
21
+ "directories": {
22
+ "lib": "lib/"
23
+ },
24
+ "files": [
25
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
26
+ "schema/*.json",
27
+ "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
28
+ "src/**/*.{ts,tsx}",
29
+ "style/index.js"
30
+ ],
31
+ "scripts": {
32
+ "build": "tsc -b",
33
+ "build:test": "tsc --build tsconfig.test.json",
34
+ "clean": "rimraf lib tsconfig.tsbuildinfo",
35
+ "watch": "tsc -b --watch"
36
+ },
37
+ "dependencies": {
38
+ "@jupyterlab/application": "^4.4.6",
39
+ "@jupyterlab/apputils": "^4.5.6",
40
+ "@jupyterlab/coreutils": "^6.4.6",
41
+ "@jupyterlab/filebrowser": "^4.4.6",
42
+ "@jupyterlab/running": "^4.4.6",
43
+ "@jupyterlab/services": "^7.4.6",
44
+ "@jupyterlab/settingregistry": "^4.4.6",
45
+ "@jupyterlab/statedb": "^4.4.6",
46
+ "@jupyterlab/translation": "^4.4.6",
47
+ "@jupyterlab/ui-components": "^4.4.6",
48
+ "@jupyterlab/workspaces": "^4.4.6",
49
+ "react": "^18.2.0"
50
+ },
51
+ "devDependencies": {
52
+ "@types/jest": "^29.2.0",
53
+ "rimraf": "~5.0.5",
54
+ "typescript": "~5.5.4"
55
+ },
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "jupyterlab": {
60
+ "extension": true,
61
+ "schemaDir": "schema"
62
+ },
63
+ "styleModule": "style/index.js"
64
+ }
.venv/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Workspaces Sidebar",
3
+ "description": "Workspaces Sidebar",
4
+ "jupyter.lab.menus": {
5
+ "context": [
6
+ {
7
+ "command": "workspace-ui:clone",
8
+ "selector": ".jp-RunningSessions-item.jp-mod-workspace",
9
+ "rank": 0
10
+ },
11
+ {
12
+ "command": "workspace-ui:rename",
13
+ "selector": ".jp-RunningSessions-item.jp-mod-workspace",
14
+ "rank": 1
15
+ },
16
+ {
17
+ "command": "workspace-ui:reset",
18
+ "selector": ".jp-RunningSessions-item.jp-mod-workspace",
19
+ "rank": 2
20
+ },
21
+ {
22
+ "command": "workspace-ui:delete",
23
+ "selector": ".jp-RunningSessions-item.jp-mod-workspace",
24
+ "rank": 3
25
+ },
26
+ {
27
+ "command": "workspace-ui:export",
28
+ "selector": ".jp-RunningSessions-item.jp-mod-workspace",
29
+ "rank": 4
30
+ },
31
+ {
32
+ "type": "separator",
33
+ "selector": ".jp-RunningSessions-item.jp-mod-workspace",
34
+ "rank": 5
35
+ },
36
+ {
37
+ "command": "workspace-ui:import",
38
+ "selector": ".jp-RunningSessions-section:has(.jp-mod-workspace)",
39
+ "rank": 6
40
+ },
41
+ {
42
+ "command": "workspace-ui:create-new",
43
+ "selector": ".jp-RunningSessions-section:has(.jp-mod-workspace)",
44
+ "rank": 7
45
+ }
46
+ ]
47
+ },
48
+ "properties": {},
49
+ "additionalProperties": false,
50
+ "type": "object"
51
+ }
.venv/share/jupyter/lab/static/100.1d14ca44a3cc8849349f.js ADDED
@@ -0,0 +1 @@
 
 
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[100,5338,2957],{5338:(a,e,t)=>{var p;var r=t(86672);if(true){e.H=r.createRoot;p=r.hydrateRoot}else{var o}}}]);
.venv/share/jupyter/lab/static/1039.3fe94e87219c0ed159d3.js ADDED
@@ -0,0 +1 @@
 
 
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1039],{71471:(t,e)=>{Object.defineProperty(e,"__esModule",{value:true});e.VERSION=void 0;e.VERSION="3.2.2"},29796:function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var o=this&&this.__values||function(t){var e=typeof Symbol==="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length==="number")return{next:function(){if(t&&n>=t.length)t=void 0;return{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:true});e.HandlerList=void 0;var i=r(82776);var a=function(t){n(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.register=function(t){return this.add(t,t.priority)};e.prototype.unregister=function(t){this.remove(t)};e.prototype.handlesDocument=function(t){var e,r;try{for(var n=o(this),i=n.next();!i.done;i=n.next()){var a=i.value;var u=a.item;if(u.handlesDocument(t)){return u}}}catch(s){e={error:s}}finally{try{if(i&&!i.done&&(r=n.return))r.call(n)}finally{if(e)throw e.error}}throw new Error("Can't find handler for document")};e.prototype.document=function(t,e){if(e===void 0){e=null}return this.handlesDocument(t).create(t,e)};return e}(i.PrioritizedList);e.HandlerList=a},81039:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:true});e.mathjax=void 0;var n=r(71471);var o=r(29796);var i=r(9841);e.mathjax={version:n.VERSION,handlers:new o.HandlerList,document:function(t,r){return e.mathjax.handlers.document(t,r)},handleRetriesFor:i.handleRetriesFor,retryAfter:i.retryAfter,asyncLoad:null}},82776:(t,e)=>{Object.defineProperty(e,"__esModule",{value:true});e.PrioritizedList=void 0;var r=function(){function t(){this.items=[];this.items=[]}t.prototype[Symbol.iterator]=function(){var t=0;var e=this.items;return{next:function(){return{value:e[t++],done:t>e.length}}}};t.prototype.add=function(e,r){if(r===void 0){r=t.DEFAULTPRIORITY}var n=this.items.length;do{n--}while(n>=0&&r<this.items[n].priority);this.items.splice(n+1,0,{item:e,priority:r});return e};t.prototype.remove=function(t){var e=this.items.length;do{e--}while(e>=0&&this.items[e].item!==t);if(e>=0){this.items.splice(e,1)}};t.DEFAULTPRIORITY=5;return t}();e.PrioritizedList=r},9841:(t,e)=>{Object.defineProperty(e,"__esModule",{value:true});e.retryAfter=e.handleRetriesFor=void 0;function r(t){return new Promise((function e(r,n){try{r(t())}catch(o){if(o.retry&&o.retry instanceof Promise){o.retry.then((function(){return e(r,n)})).catch((function(t){return n(t)}))}else if(o.restart&&o.restart.isCallback){MathJax.Callback.After((function(){return e(r,n)}),o.restart)}else{n(o)}}}))}e.handleRetriesFor=r;function n(t){var e=new Error("MathJax retry");e.retry=t;throw e}e.retryAfter=n}}]);
.venv/share/jupyter/lab/static/1096.dd4c563e0483cbbeb9c9.js ADDED
The diff for this file is too large to render. See raw diff
 
.venv/share/jupyter/lab/static/1189.c1482e88f0e949753db6.js ADDED
@@ -0,0 +1 @@
 
 
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1189],{91189:(e,r,t)=>{t.r(r);t.d(r,{tcl:()=>p});function a(e){var r={},t=e.split(" ");for(var a=0;a<t.length;++a)r[t[a]]=true;return r}var n=a("Tcl safe after append array auto_execok auto_import auto_load "+"auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror "+"binary break catch cd close concat continue dde eof encoding error "+"eval exec exit expr fblocked fconfigure fcopy file fileevent filename "+"filename flush for foreach format gets glob global history http if "+"incr info interp join lappend lindex linsert list llength load lrange "+"lreplace lsearch lset lsort memory msgcat namespace open package parray "+"pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp "+"registry regsub rename resource return scan seek set socket source split "+"string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord "+"tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest "+"tclvars tell time trace unknown unset update uplevel upvar variable "+"vwait");var i=a("if elseif else and not or eq ne in ni for foreach while switch");var l=/[+\-*&%=<>!?^\/\|]/;function o(e,r,t){r.tokenize=t;return t(e,r)}function s(e,r){var t=r.beforeParams;r.beforeParams=false;var a=e.next();if((a=='"'||a=="'")&&r.inParams){return o(e,r,f(a))}else if(/[\[\]{}\(\),;\.]/.test(a)){if(a=="("&&t)r.inParams=true;else if(a==")")r.inParams=false;return null}else if(/\d/.test(a)){e.eatWhile(/[\w\.]/);return"number"}else if(a=="#"){if(e.eat("*"))return o(e,r,u);if(a=="#"&&e.match(/ *\[ *\[/))return o(e,r,c);e.skipToEnd();return"comment"}else if(a=='"'){e.skipTo(/"/);return"comment"}else if(a=="$"){e.eatWhile(/[$_a-z0-9A-Z\.{:]/);e.eatWhile(/}/);r.beforeParams=true;return"builtin"}else if(l.test(a)){e.eatWhile(l);return"comment"}else{e.eatWhile(/[\w\$_{}\xa1-\uffff]/);var s=e.current().toLowerCase();if(n&&n.propertyIsEnumerable(s))return"keyword";if(i&&i.propertyIsEnumerable(s)){r.beforeParams=true;return"keyword"}return null}}function f(e){return function(r,t){var a=false,n,i=false;while((n=r.next())!=null){if(n==e&&!a){i=true;break}a=!a&&n=="\\"}if(i)t.tokenize=s;return"string"}}function u(e,r){var t=false,a;while(a=e.next()){if(a=="#"&&t){r.tokenize=s;break}t=a=="*"}return"comment"}function c(e,r){var t=0,a;while(a=e.next()){if(a=="#"&&t==2){r.tokenize=s;break}if(a=="]")t++;else if(a!=" ")t=0}return"meta"}const p={name:"tcl",startState:function(){return{tokenize:s,beforeParams:false,inParams:false}},token:function(e,r){if(e.eatSpace())return null;return r.tokenize(e,r)},languageData:{commentTokens:{line:"#"}}}}}]);
.venv/share/jupyter/lab/static/1208.4b9ab7b231d39ebdbc3f.js ADDED
@@ -0,0 +1 @@
 
 
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1208],{91208:(e,t,r)=>{r.r(t);r.d(t,{DefaultBufferLength:()=>n,IterMode:()=>d,MountedTree:()=>o,NodeProp:()=>l,NodeSet:()=>u,NodeType:()=>h,NodeWeakMap:()=>E,Parser:()=>j,Tree:()=>c,TreeBuffer:()=>m,TreeCursor:()=>I,TreeFragment:()=>O,parseMixed:()=>D});const n=1024;let i=0;class s{constructor(e,t){this.from=e;this.to=t}}class l{constructor(e={}){this.id=i++;this.perNode=!!e.perNode;this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");if(typeof e!="function")e=h.match(e);return t=>{let r=e(t);return r===undefined?null:[this,r]}}}l.closedBy=new l({deserialize:e=>e.split(" ")});l.openedBy=new l({deserialize:e=>e.split(" ")});l.group=new l({deserialize:e=>e.split(" ")});l.isolate=new l({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});l.contextHash=new l({perNode:true});l.lookAhead=new l({perNode:true});l.mounted=new l({perNode:true});class o{constructor(e,t,r){this.tree=e;this.overlay=t;this.parser=r}static get(e){return e&&e.props&&e.props[l.mounted.id]}}const f=Object.create(null);class h{constructor(e,t,r,n=0){this.name=e;this.props=t;this.id=r;this.flags=n}static define(e){let t=e.props&&e.props.length?Object.create(null):f;let r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0);let n=new h(e.name||"",t,e.id,r);if(e.props)for(let i of e.props){if(!Array.isArray(i))i=i(n);if(i){if(i[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[i[0].id]=i[1]}}return n}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return true;let t=this.prop(l.group);return t?t.indexOf(e)>-1:false}return this.id==e}static match(e){let t=Object.create(null);for(let r in e)for(let n of r.split(" "))t[n]=e[r];return e=>{for(let r=e.prop(l.group),n=-1;n<(r?r.length:0);n++){let i=t[n<0?e.name:r[n]];if(i)return i}}}}h.none=new h("",Object.create(null),0,8);class u{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let r of this.types){let n=null;for(let t of e){let e=t(r);if(e){if(!n)n=Object.assign({},r.props);n[e[0].id]=e[1]}}t.push(n?new h(r.name,n,r.id,r.flags):r)}return new u(t)}}const a=new WeakMap,p=new WeakMap;var d;(function(e){e[e["ExcludeBuffers"]=1]="ExcludeBuffers";e[e["IncludeAnonymous"]=2]="IncludeAnonymous";e[e["IgnoreMounts"]=4]="IgnoreMounts";e[e["IgnoreOverlays"]=8]="IgnoreOverlays"})(d||(d={}));class c{constructor(e,t,r,n,i){this.type=e;this.children=t;this.positions=r;this.length=n;this.props=null;if(i&&i.length){this.props=Object.create(null);for(let[e,t]of i)this.props[typeof e=="number"?e:e.id]=t}}toString(){let e=o.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let r of this.children){let e=r.toString();if(e){if(t)t+=",";t+=e}}return!this.type.name?t:(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":"")}cursor(e=0){return new I(this.topNode,e)}cursorAt(e,t=0,r=0){let n=a.get(this)||this.topNode;let i=new I(n);i.moveTo(e,t);a.set(this,i._tree);return i}get topNode(){return new w(this,0,0,null)}resolve(e,t=0){let r=x(a.get(this)||this.topNode,e,t,false);a.set(this,r);return r}resolveInner(e,t=0){let r=x(p.get(this)||this.topNode,e,t,true);p.set(this,r);return r}resolveStack(e,t=0){return N(this,e,t)}iterate(e){let{enter:t,leave:r,from:n=0,to:i=this.length}=e;let s=e.mode||0,l=(s&d.IncludeAnonymous)>0;for(let o=this.cursor(s|d.IncludeAnonymous);;){let e=false;if(o.from<=i&&o.to>=n&&(!l&&o.type.isAnonymous||t(o)!==false)){if(o.firstChild())continue;e=true}for(;;){if(e&&r&&(l||!o.type.isAnonymous))r(o);if(o.nextSibling())break;if(!o.parent())return;e=true}}}prop(e){return!e.perNode?this.type.prop(e):this.props?this.props[e.id]:undefined}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:P(h.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,r)=>new c(this.type,e,t,r,this.propValues)),e.makeTree||((e,t,r)=>new c(h.none,e,t,r)))}static build(e){return T(e)}}c.empty=new c(h.none,[],[],0);class g{constructor(e,t){this.buffer=e;this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new g(this.buffer,this.index)}}class m{constructor(e,t,r){this.buffer=e;this.length=t;this.set=r}get type(){return h.none}toString(){let e=[];for(let t=0;t<this.buffer.length;){e.push(this.childString(t));t=this.buffer[t+3]}return e.join(",")}childString(e){let t=this.buffer[e],r=this.buffer[e+3];let n=this.set.types[t],i=n.name;if(/\W/.test(i)&&!n.isError)i=JSON.stringify(i);e+=4;if(r==e)return i;let s=[];while(e<r){s.push(this.childString(e));e=this.buffer[e+3]}return i+"("+s.join(",")+")"}findChild(e,t,r,n,i){let{buffer:s}=this,l=-1;for(let o=e;o!=t;o=s[o+3]){if(b(i,n,s[o+1],s[o+2])){l=o;if(r>0)break}}return l}slice(e,t,r){let n=this.buffer;let i=new Uint16Array(t-e),s=0;for(let l=e,o=0;l<t;){i[o++]=n[l++];i[o++]=n[l++]-r;let t=i[o++]=n[l++]-r;i[o++]=n[l++]-e;s=Math.max(s,t)}return new m(i,s,this.set)}}function b(e,t,r,n){switch(e){case-2:return r<t;case-1:return n>=t&&r<t;case 0:return r<t&&n>t;case 1:return r<=t&&n>t;case 2:return n>t;case 4:return true}}function x(e,t,r,n){var i;while(e.from==e.to||(r<1?e.from>=t:e.from>t)||(r>-1?e.to<=t:e.to<t)){let t=!n&&e instanceof w&&e.index<0?null:e.parent;if(!t)return e;e=t}let s=n?0:d.IgnoreOverlays;if(n)for(let l=e,o=l.parent;o;l=o,o=l.parent){if(l instanceof w&&l.index<0&&((i=o.enter(t,r,s))===null||i===void 0?void 0:i.from)!=l.from)e=o}for(;;){let n=e.enter(t,r,s);if(!n)return e;e=n}}class y{cursor(e=0){return new I(this,e)}getChild(e,t=null,r=null){let n=v(this,e,t,r);return n.length?n[0]:null}getChildren(e,t=null,r=null){return v(this,e,t,r)}resolve(e,t=0){return x(this,e,t,false)}resolveInner(e,t=0){return x(this,e,t,true)}matchContext(e){return _(this,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),r=this;while(t){let e=t.lastChild;if(!e||e.to!=t.to)break;if(e.type.isError&&e.from==e.to){r=t;t=e.prevSibling}else{t=e}}return r}get node(){return this}get next(){return this.parent}}class w extends y{constructor(e,t,r,n){super();this._tree=e;this.from=t;this.index=r;this._parent=n}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,r,n,i=0){for(let s=this;;){for(let{children:l,positions:f}=s._tree,h=t>0?l.length:-1;e!=h;e+=t){let h=l[e],u=f[e]+s.from;if(!b(n,r,u,u+h.length))continue;if(h instanceof m){if(i&d.ExcludeBuffers)continue;let l=h.findChild(0,h.buffer.length,t,r-u,n);if(l>-1)return new A(new k(s,h,e,u),null,l)}else if(i&d.IncludeAnonymous||(!h.type.isAnonymous||B(h))){let l;if(!(i&d.IgnoreMounts)&&(l=o.get(h))&&!l.overlay)return new w(l.tree,u,e,s);let f=new w(h,u,e,s);return i&d.IncludeAnonymous||!f.type.isAnonymous?f:f.nextChild(t<0?h.children.length-1:0,t,r,n)}}if(i&d.IncludeAnonymous||!s.type.isAnonymous)return null;if(s.index>=0)e=s.index+t;else e=t<0?-1:s._parent._tree.children.length;s=s._parent;if(!s)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,r=0){let n;if(!(r&d.IgnoreOverlays)&&(n=o.get(this._tree))&&n.overlay){let r=e-this.from;for(let{from:e,to:i}of n.overlay){if((t>0?e<=r:e<r)&&(t<0?i>=r:i>r))return new w(n.tree,n.overlay[0].from+this.from,-1,this)}}return this.nextChild(0,1,e,t,r)}nextSignificantParent(){let e=this;while(e.type.isAnonymous&&e._parent)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function v(e,t,r,n){let i=e.cursor(),s=[];if(!i.firstChild())return s;if(r!=null)for(let l=false;!l;){l=i.type.is(r);if(!i.nextSibling())return s}for(;;){if(n!=null&&i.type.is(n))return s;if(i.type.is(t))s.push(i.node);if(!i.nextSibling())return n==null?s:[]}}function _(e,t,r=t.length-1){for(let n=e.parent;r>=0;n=n.parent){if(!n)return false;if(!n.type.isAnonymous){if(t[r]&&t[r]!=n.name)return false;r--}}return true}class k{constructor(e,t,r,n){this.parent=e;this.buffer=t;this.index=r;this.start=n}}class A extends y{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,r){super();this.context=e;this._parent=t;this.index=r;this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,t,r){let{buffer:n}=this.context;let i=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.context.start,r);return i<0?null:new A(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,r=0){if(r&d.ExcludeBuffers)return null;let{buffer:n}=this.context;let i=n.findChild(this.index+4,n.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return i<0?null:new A(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context;let t=e.buffer[this.index+3];if(t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length))return new A(this.context,this._parent,t);return this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context;let t=this._parent?this._parent.index+4:0;if(this.index==t)return this.externalSibling(-1);return new A(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[];let{buffer:r}=this.context;let n=this.index+4,i=r.buffer[this.index+3];if(i>n){let s=r.buffer[this.index+1];e.push(r.slice(n,i,s));t.push(0)}return new c(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function C(e){if(!e.length)return null;let t=0,r=e[0];for(let s=1;s<e.length;s++){let n=e[s];if(n.from>r.from||n.to<r.to){r=n;t=s}}let n=r instanceof w&&r.index<0?null:r.parent;let i=e.slice();if(n)i[t]=n;else i.splice(t,1);return new S(i,r)}class S{constructor(e,t){this.heads=e;this.node=t}get next(){return C(this.heads)}}function N(e,t,r){let n=e.resolveInner(t,r),i=null;for(let s=n instanceof w?n:n.context.parent;s;s=s.parent){if(s.index<0){let e=s.parent;(i||(i=[n])).push(e.resolve(t,r));s=e}else{let e=o.get(s.tree);if(e&&e.overlay&&e.overlay[0].from<=t&&e.overlay[e.overlay.length-1].to>=t){let l=new w(e.tree,e.overlay[0].from+s.from,-1,s);(i||(i=[n])).push(x(l,t,r,false))}}}return i?C(i):n}class I{get name(){return this.type.name}constructor(e,t=0){this.mode=t;this.buffer=null;this.stack=[];this.index=0;this.bufferNode=null;if(e instanceof w){this.yieldNode(e)}else{this._tree=e.context.parent;this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e;this.yieldBuf(e.index)}}yieldNode(e){if(!e)return false;this._tree=e;this.type=e.type;this.from=e.from;this.to=e.to;return true}yieldBuf(e,t){this.index=e;let{start:r,buffer:n}=this.buffer;this.type=t||n.set.types[n.buffer[e]];this.from=r+n.buffer[e+1];this.to=r+n.buffer[e+2];return true}yield(e){if(!e)return false;if(e instanceof w){this.buffer=null;return this.yieldNode(e)}this.buffer=e.context;return this.yieldBuf(e.index,e.type)}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,r,this.mode));let{buffer:n}=this.buffer;let i=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.buffer.start,r);if(i<0)return false;this.stack.push(this.index);return this.yieldBuf(i)}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,r=this.mode){if(!this.buffer)return this.yield(this._tree.enter(e,t,r));return r&d.ExcludeBuffers?false:this.enterChild(1,e,t)}parent(){if(!this.buffer)return this.yieldNode(this.mode&d.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&d.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();this.buffer=null;return this.yieldNode(e)}sibling(e){if(!this.buffer)return!this._tree._parent?false:this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,r=this.stack.length-1;if(e<0){let e=r<0?0:this.stack[r]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(r<0?t.buffer.length:t.buffer[this.stack[r]+3]))return this.yieldBuf(e)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):false}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,r,{buffer:n}=this;if(n){if(e>0){if(this.index<n.buffer.buffer.length)return false}else{for(let e=0;e<this.index;e++)if(n.buffer.buffer[e+3]<this.index)return false}({index:t,parent:r}=n)}else{({index:t,_parent:r}=this._tree)}for(;r;({index:t,_parent:r}=r)){if(t>-1)for(let n=t+e,i=e<0?-1:r._tree.children.length;n!=i;n+=e){let e=r._tree.children[n];if(this.mode&d.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||B(e))return false}}return true}move(e,t){if(t&&this.enterChild(e,0,4))return true;for(;;){if(this.sibling(e))return true;if(this.atLastNode(e)||!this.parent())return false}}next(e=true){return this.move(1,e)}prev(e=true){return this.move(-1,e)}moveTo(e,t=0){while(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))if(!this.parent())break;while(this.enterChild(1,e,t)){}return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,r=0;if(e&&e.context==this.buffer){e:for(let n=this.index,i=this.stack.length;i>=0;){for(let s=e;s;s=s._parent)if(s.index==n){if(n==this.index)return s;t=s;r=i+1;break e}n=this.stack[--i]}}for(let n=r;n<this.stack.length;n++)t=new A(this.buffer,t,this.stack[n]);return this.bufferNode=new A(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let r=0;;){let n=false;if(this.type.isAnonymous||e(this)!==false){if(this.firstChild()){r++;continue}if(!this.type.isAnonymous)n=true}for(;;){if(n&&t)t(this);n=this.type.isAnonymous;if(this.nextSibling())break;if(!r)return;this.parent();r--;n=true}}}matchContext(e){if(!this.buffer)return _(this.node,e);let{buffer:t}=this.buffer,{types:r}=t.set;for(let n=e.length-1,i=this.stack.length-1;n>=0;i--){if(i<0)return _(this.node,e,n);let s=r[t.buffer[this.stack[i]]];if(!s.isAnonymous){if(e[n]&&e[n]!=s.name)return false;n--}}return true}}function B(e){return e.children.some((e=>e instanceof m||!e.type.isAnonymous||B(e)))}function T(e){var t;let{buffer:r,nodeSet:i,maxBufferLength:s=n,reused:o=[],minRepeatType:f=i.types.length}=e;let h=Array.isArray(r)?new g(r,r.length):r;let u=i.types;let a=0,p=0;function d(e,t,r,n,l,c){let{id:g,start:k,end:A,size:C}=h;let S=p;while(C<0){h.next();if(C==-1){let t=o[g];r.push(t);n.push(k-e);return}else if(C==-3){a=g;return}else if(C==-4){p=g;return}else{throw new RangeError(`Unrecognized record size: ${C}`)}}let N=u[g],I,B;let T=k-e;if(A-k<=s&&(B=v(h.pos-t,l))){let t=new Uint16Array(B.size-B.skip);let r=h.pos-B.size,n=t.length;while(h.pos>r)n=_(B.start,t,n);I=new m(t,A-B.start,i);T=B.start-e}else{let e=h.pos-C;h.next();let t=[],r=[];let n=g>=f?g:-1;let i=0,l=A;while(h.pos>e){if(n>=0&&h.id==n&&h.size>=0){if(h.end<=l-s){y(t,r,k,i,h.end,l,n,S);i=t.length;l=h.end}h.next()}else if(c>2500){b(k,e,t,r)}else{d(k,e,t,r,n,c+1)}}if(n>=0&&i>0&&i<t.length)y(t,r,k,i,k,l,n,S);t.reverse();r.reverse();if(n>-1&&i>0){let e=x(N);I=P(N,t,r,0,t.length,0,A-k,e,e)}else{I=w(N,t,r,A-k,S-A)}}r.push(I);n.push(T)}function b(e,t,r,n){let l=[];let o=0,f=-1;while(h.pos>t){let{id:e,start:t,end:r,size:n}=h;if(n>4){h.next()}else if(f>-1&&t<f){break}else{if(f<0)f=r-s;l.push(e,t,r);o++;h.next()}}if(o){let t=new Uint16Array(o*4);let s=l[l.length-2];for(let e=l.length-3,r=0;e>=0;e-=3){t[r++]=l[e];t[r++]=l[e+1]-s;t[r++]=l[e+2]-s;t[r++]=r}r.push(new m(t,l[2]-s,i));n.push(s-e)}}function x(e){return(t,r,n)=>{let i=0,s=t.length-1,o,f;if(s>=0&&(o=t[s])instanceof c){if(!s&&o.type==e&&o.length==n)return o;if(f=o.prop(l.lookAhead))i=r[s]+o.length+f}return w(e,t,r,n,i)}}function y(e,t,r,n,s,l,o,f){let h=[],u=[];while(e.length>n){h.push(e.pop());u.push(t.pop()+r-s)}e.push(w(i.types[o],h,u,l-s,f-l));t.push(s-r)}function w(e,t,r,n,i=0,s){if(a){let e=[l.contextHash,a];s=s?[e].concat(s):[e]}if(i>25){let e=[l.lookAhead,i];s=s?[e].concat(s):[e]}return new c(e,t,r,n,s)}function v(e,t){let r=h.fork();let n=0,i=0,l=0,o=r.end-s;let u={size:0,start:0,skip:0};e:for(let s=r.pos-e;r.pos>s;){let e=r.size;if(r.id==t&&e>=0){u.size=n;u.start=i;u.skip=l;l+=4;n+=4;r.next();continue}let h=r.pos-e;if(e<0||h<s||r.start<o)break;let a=r.id>=f?4:0;let p=r.start;r.next();while(r.pos>h){if(r.size<0){if(r.size==-3)a+=4;else break e}else if(r.id>=f){a+=4}r.next()}i=p;n+=e;l+=a}if(t<0||n==e){u.size=n;u.start=i;u.skip=l}return u.size>4?u:undefined}function _(e,t,r){let{id:n,start:i,end:s,size:l}=h;h.next();if(l>=0&&n<f){let o=r;if(l>4){let n=h.pos-(l-4);while(h.pos>n)r=_(e,t,r)}t[--r]=o;t[--r]=s-e;t[--r]=i-e;t[--r]=n}else if(l==-3){a=n}else if(l==-4){p=n}return r}let k=[],A=[];while(h.pos>0)d(e.start||0,e.bufferStart||0,k,A,-1,0);let C=(t=e.length)!==null&&t!==void 0?t:k.length?A[0]+k[0].length:0;return new c(u[e.topID],k.reverse(),A.reverse(),C)}const M=new WeakMap;function z(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let r=M.get(t);if(r==null){r=1;for(let n of t.children){if(n.type!=e||!(n instanceof c)){r=1;break}r+=z(e,n)}M.set(t,r)}return r}function P(e,t,r,n,i,s,l,o,f){let h=0;for(let c=n;c<i;c++)h+=z(e,t[c]);let u=Math.ceil(h*1.5/8);let a=[],p=[];function d(t,r,n,i,l){for(let o=n;o<i;){let n=o,h=r[o],c=z(e,t[o]);o++;for(;o<i;o++){let r=z(e,t[o]);if(c+r>=u)break;c+=r}if(o==n+1){if(c>u){let e=t[n];d(e.children,e.positions,0,e.children.length,r[n]+l);continue}a.push(t[n])}else{let i=r[o-1]+t[o-1].length-h;a.push(P(e,t,r,n,o,h,i,null,f))}p.push(h+l-s)}}d(t,r,n,i,0);return(o||f)(a,p,l)}class E{constructor(){this.map=new WeakMap}setBuffer(e,t,r){let n=this.map.get(e);if(!n)this.map.set(e,n=new Map);n.set(t,r)}getBuffer(e,t){let r=this.map.get(e);return r&&r.get(t)}set(e,t){if(e instanceof A)this.setBuffer(e.context.buffer,e.index,t);else if(e instanceof w)this.map.set(e.tree,t)}get(e){return e instanceof A?this.getBuffer(e.context.buffer,e.index):e instanceof w?this.map.get(e.tree):undefined}cursorSet(e,t){if(e.buffer)this.setBuffer(e.buffer.buffer,e.index,t);else this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class O{constructor(e,t,r,n,i=false,s=false){this.from=e;this.to=t;this.tree=r;this.offset=n;this.open=(i?1:0)|(s?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],r=false){let n=[new O(0,e.length,e,0,false,r)];for(let i of t)if(i.to>e.length)n.push(i);return n}static applyChanges(e,t,r=128){if(!t.length)return e;let n=[];let i=1,s=e.length?e[0]:null;for(let l=0,o=0,f=0;;l++){let h=l<t.length?t[l]:null;let u=h?h.fromA:1e9;if(u-o>=r)while(s&&s.from<u){let t=s;if(o>=t.from||u<=t.to||f){let e=Math.max(t.from,o)-f,r=Math.min(t.to,u)-f;t=e>=r?null:new O(e,r,t.tree,t.offset+f,l>0,!!h)}if(t)n.push(t);if(s.to>u)break;s=i<e.length?e[i++]:null}if(!h)break;o=h.toA;f=h.toA-h.toB}return n}}class j{startParse(e,t,r){if(typeof e=="string")e=new F(e);r=!r?[new s(0,e.length)]:r.length?r.map((e=>new s(e.from,e.to))):[new s(0,0)];return this.createParse(e,t||[],r)}parse(e,t,r){let n=this.startParse(e,t,r);for(;;){let e=n.advance();if(e)return e}}}class F{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return false}read(e,t){return this.string.slice(e,t)}}function D(e){return(t,r,n,i)=>new J(t,e,r,n,i)}class R{constructor(e,t,r,n,i){this.parser=e;this.parse=t;this.overlay=r;this.target=n;this.from=i}}function W(e){if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class U{constructor(e,t,r,n,i,s,l){this.parser=e;this.predicate=t;this.mounts=r;this.index=n;this.start=i;this.target=s;this.prev=l;this.depth=0;this.ranges=[]}}const L=new l({perNode:true});class J{constructor(e,t,r,n,i){this.nest=t;this.input=r;this.fragments=n;this.ranges=i;this.inner=[];this.innerDone=0;this.baseTree=null;this.stoppedAt=null;this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;this.baseParse=null;this.baseTree=e;this.startInner();if(this.stoppedAt!=null)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;if(this.stoppedAt!=null)e=new c(e.type,e.children,e.positions,e.length,e.propValues.concat([[L,this.stoppedAt]]));return e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let r=Object.assign(Object.create(null),e.target.props);r[l.mounted.id]=new o(t,e.overlay,e.parser);e.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++){if(this.inner[t].from<e)e=Math.min(e,this.inner[t].parse.parsedPos)}return e}stopAt(e){this.stoppedAt=e;if(this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new q(this.fragments);let t=null;let r=null;let n=new I(new w(this.baseTree,this.ranges[0].from,0,null),d.IncludeAnonymous|d.IgnoreMounts);e:for(let i,l;;){let o=true,f;if(this.stoppedAt!=null&&n.from>=this.stoppedAt){o=false}else if(e.hasNode(n)){if(t){let e=t.mounts.find((e=>e.frag.from<=n.from&&e.frag.to>=n.to&&e.mount.overlay));if(e)for(let r of e.mount.overlay){let i=r.from+e.pos,s=r.to+e.pos;if(i>=n.from&&s<=n.to&&!t.ranges.some((e=>e.from<s&&e.to>i)))t.ranges.push({from:i,to:s})}}o=false}else if(r&&(l=V(r.ranges,n.from,n.to))){o=l!=2}else if(!n.type.isAnonymous&&(i=this.nest(n,this.input))&&(n.from<n.to||!i.overlay)){if(!n.tree)G(n);let l=e.findMounts(n.from,i.parser);if(typeof i.overlay=="function"){t=new U(i.parser,i.overlay,l,this.inner.length,n.from,n.tree,t)}else{let e=K(this.ranges,i.overlay||(n.from<n.to?[new s(n.from,n.to)]:[]));if(e.length)W(e);if(e.length||!i.overlay)this.inner.push(new R(i.parser,e.length?i.parser.startParse(this.input,X(l,e),e):i.parser.startParse(""),i.overlay?i.overlay.map((e=>new s(e.from-n.from,e.to-n.from))):null,n.tree,e.length?e[0].from:n.from));if(!i.overlay)o=false;else if(e.length)r={ranges:e,depth:0,prev:r}}}else if(t&&(f=t.predicate(n))){if(f===true)f=new s(n.from,n.to);if(f.from<f.to)t.ranges.push(f)}if(o&&n.firstChild()){if(t)t.depth++;if(r)r.depth++}else{for(;;){if(n.nextSibling())break;if(!n.parent())break e;if(t&&! --t.depth){let e=K(this.ranges,t.ranges);if(e.length){W(e);this.inner.splice(t.index,0,new R(t.parser,t.parser.startParse(this.input,X(t.mounts,e),e),t.ranges.map((e=>new s(e.from-t.start,e.to-t.start))),t.target,e[0].from))}t=t.prev}if(r&&! --r.depth)r=r.prev}}}}}function V(e,t,r){for(let n of e){if(n.from>=r)break;if(n.to>t)return n.from<=t&&n.to>=r?2:1}return 0}function H(e,t,r,n,i,s){if(t<r){let l=e.buffer[t+1];n.push(e.slice(t,r,l));i.push(l-s)}}function G(e){let{node:t}=e,r=[];let n=t.context.buffer;do{r.push(e.index);e.parent()}while(!e.tree);let i=e.tree,s=i.children.indexOf(n);let l=i.children[s],o=l.buffer,f=[s];function u(e,n,i,s,h,a){let p=r[a];let d=[],g=[];H(l,e,p,d,g,s);let m=o[p+1],b=o[p+2];f.push(d.length);let x=a?u(p+4,o[p+3],l.set.types[o[p]],m,b-m,a-1):t.toTree();d.push(x);g.push(m-s);H(l,o[p+3],n,d,g,s);return new c(i,d,g,h)}i.children[s]=u(0,o.length,h.none,0,l.length,r.length-1);for(let h of f){let t=e.tree.children[h],r=e.tree.positions[h];e.yield(new w(t,r+e.from,h,e._tree))}}class ${constructor(e,t){this.offset=t;this.done=false;this.cursor=e.cursor(d.IncludeAnonymous|d.IgnoreMounts)}moveTo(e){let{cursor:t}=this,r=e-this.offset;while(!this.done&&t.from<r){if(t.to>=e&&t.enter(r,1,d.IgnoreOverlays|d.ExcludeBuffers));else if(!t.next(false))this.done=true}}hasNode(e){this.moveTo(e.from);if(!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree){for(let t=this.cursor.tree;;){if(t==e.tree)return true;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof c)t=t.children[0];else break}}return false}}class q{constructor(e){var t;this.fragments=e;this.curTo=0;this.fragI=0;if(e.length){let r=this.curFrag=e[0];this.curTo=(t=r.tree.prop(L))!==null&&t!==void 0?t:r.to;this.inner=new $(r.tree,-r.offset)}else{this.curFrag=this.inner=null}}hasNode(e){while(this.curFrag&&e.from>=this.curTo)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;this.fragI++;if(this.fragI==this.fragments.length){this.curFrag=this.inner=null}else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=(e=t.tree.prop(L))!==null&&e!==void 0?e:t.to;this.inner=new $(t.tree,-t.offset)}}findMounts(e,t){var r;let n=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let i=(r=e.tree)===null||r===void 0?void 0:r.prop(l.mounted);if(i&&i.parser==t){for(let t=this.fragI;t<this.fragments.length;t++){let r=this.fragments[t];if(r.from>=e.to)break;if(r.tree==this.curFrag.tree)n.push({frag:r,pos:e.from-r.offset,mount:i})}}}}return n}}function K(e,t){let r=null,n=t;for(let i=1,l=0;i<e.length;i++){let o=e[i-1].to,f=e[i].from;for(;l<n.length;l++){let e=n[l];if(e.from>=f)break;if(e.to<=o)continue;if(!r)n=r=t.slice();if(e.from<o){r[l]=new s(e.from,o);if(e.to>f)r.splice(l+1,0,new s(f,e.to))}else if(e.to>f){r[l--]=new s(f,e.to)}else{r.splice(l--,1)}}}return n}function Q(e,t,r,n){let i=0,l=0,o=false,f=false,h=-1e9;let u=[];for(;;){let a=i==e.length?1e9:o?e[i].to:e[i].from;let p=l==t.length?1e9:f?t[l].to:t[l].from;if(o!=f){let e=Math.max(h,r),t=Math.min(a,p,n);if(e<t)u.push(new s(e,t))}h=Math.min(a,p);if(h==1e9)break;if(a==h){if(!o)o=true;else{o=false;i++}}if(p==h){if(!f)f=true;else{f=false;l++}}}return u}function X(e,t){let r=[];for(let{pos:n,mount:i,frag:l}of e){let e=n+(i.overlay?i.overlay[0].from:0),o=e+i.tree.length;let f=Math.max(l.from,e),h=Math.min(l.to,o);if(i.overlay){let o=i.overlay.map((e=>new s(e.from+n,e.to+n)));let u=Q(t,o,f,h);for(let t=0,n=f;;t++){let s=t==u.length,o=s?h:u[t].from;if(o>n)r.push(new O(n,o,i.tree,-e,l.from>=n||l.openStart,l.to<=o||l.openEnd));if(s)break;n=u[t].to}}else{r.push(new O(f,h,i.tree,-e,l.from>=e||l.openStart,l.to<=o||l.openEnd))}}return r}}}]);
.venv/share/jupyter/lab/static/1219.b5630aa3a46050fddc27.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1219],{81219:function(u){(function(D,e){true?u.exports=e():0})(this,(function(){"use strict";function u(u,D){return D={exports:{}},u(D,D.exports),D.exports}var D=u((function(u){var D=u.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();if(typeof __g=="number"){__g=D}}));var e=u((function(u){var D=u.exports={version:"2.6.5"};if(typeof __e=="number"){__e=D}}));var r=e.version;var t=function(u){return typeof u==="object"?u!==null:typeof u==="function"};var n=function(u){if(!t(u)){throw TypeError(u+" is not an object!")}return u};var F=function(u){try{return!!u()}catch(D){return true}};var C=!F((function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}));var A=D.document;var i=t(A)&&t(A.createElement);var a=function(u){return i?A.createElement(u):{}};var E=!C&&!F((function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7}));var o=function(u,D){if(!t(u)){return u}var e,r;if(D&&typeof(e=u.toString)=="function"&&!t(r=e.call(u))){return r}if(typeof(e=u.valueOf)=="function"&&!t(r=e.call(u))){return r}if(!D&&typeof(e=u.toString)=="function"&&!t(r=e.call(u))){return r}throw TypeError("Can't convert object to primitive value")};var c=Object.defineProperty;var f=C?Object.defineProperty:function u(D,e,r){n(D);e=o(e,true);n(r);if(E){try{return c(D,e,r)}catch(t){}}if("get"in r||"set"in r){throw TypeError("Accessors not supported!")}if("value"in r){D[e]=r.value}return D};var B={f};var s=function(u,D){return{enumerable:!(u&1),configurable:!(u&2),writable:!(u&4),value:D}};var l=C?function(u,D,e){return B.f(u,D,s(1,e))}:function(u,D,e){u[D]=e;return u};var v={}.hasOwnProperty;var d=function(u,D){return v.call(u,D)};var p=0;var h=Math.random();var g=function(u){return"Symbol(".concat(u===undefined?"":u,")_",(++p+h).toString(36))};var m=false;var y=u((function(u){var r="__core-js_shared__";var t=D[r]||(D[r]={});(u.exports=function(u,D){return t[u]||(t[u]=D!==undefined?D:{})})("versions",[]).push({version:e.version,mode:m?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}));var w=y("native-function-to-string",Function.toString);var b=u((function(u){var r=g("src");var t="toString";var n=(""+w).split(t);e.inspectSource=function(u){return w.call(u)};(u.exports=function(u,e,t,F){var C=typeof t=="function";if(C){d(t,"name")||l(t,"name",e)}if(u[e]===t){return}if(C){d(t,r)||l(t,r,u[e]?""+u[e]:n.join(String(e)))}if(u===D){u[e]=t}else if(!F){delete u[e];l(u,e,t)}else if(u[e]){u[e]=t}else{l(u,e,t)}})(Function.prototype,t,(function u(){return typeof this=="function"&&this[r]||w.call(this)}))}));var S=function(u){if(typeof u!="function"){throw TypeError(u+" is not a function!")}return u};var x=function(u,D,e){S(u);if(D===undefined){return u}switch(e){case 1:return function(e){return u.call(D,e)};case 2:return function(e,r){return u.call(D,e,r)};case 3:return function(e,r,t){return u.call(D,e,r,t)}}return function(){return u.apply(D,arguments)}};var N="prototype";var P=function(u,r,t){var n=u&P.F;var F=u&P.G;var C=u&P.S;var A=u&P.P;var i=u&P.B;var a=F?D:C?D[r]||(D[r]={}):(D[r]||{})[N];var E=F?e:e[r]||(e[r]={});var o=E[N]||(E[N]={});var c,f,B,s;if(F){t=r}for(c in t){f=!n&&a&&a[c]!==undefined;B=(f?a:t)[c];s=i&&f?x(B,D):A&&typeof B=="function"?x(Function.call,B):B;if(a){b(a,c,B,u&P.U)}if(E[c]!=B){l(E,c,s)}if(A&&o[c]!=B){o[c]=B}}};D.core=e;P.F=1;P.G=2;P.S=4;P.P=8;P.B=16;P.W=32;P.U=64;P.R=128;var _=P;var I=Math.ceil;var O=Math.floor;var j=function(u){return isNaN(u=+u)?0:(u>0?O:I)(u)};var k=function(u){if(u==undefined){throw TypeError("Can't call method on "+u)}return u};var V=function(u){return function(D,e){var r=String(k(D));var t=j(e);var n=r.length;var F,C;if(t<0||t>=n){return u?"":undefined}F=r.charCodeAt(t);return F<55296||F>56319||t+1===n||(C=r.charCodeAt(t+1))<56320||C>57343?u?r.charAt(t):F:u?r.slice(t,t+2):(F-55296<<10)+(C-56320)+65536}};var M=V(false);_(_.P,"String",{codePointAt:function u(D){return M(this,D)}});var J=e.String.codePointAt;var L=Math.max;var T=Math.min;var z=function(u,D){u=j(u);return u<0?L(u+D,0):T(u,D)};var H=String.fromCharCode;var $=String.fromCodePoint;_(_.S+_.F*(!!$&&$.length!=1),"String",{fromCodePoint:function u(D){var e=arguments;var r=[];var t=arguments.length;var n=0;var F;while(t>n){F=+e[n++];if(z(F,1114111)!==F){throw RangeError(F+" is not a valid code point")}r.push(F<65536?H(F):H(((F-=65536)>>10)+55296,F%1024+56320))}return r.join("")}});var R=e.String.fromCodePoint;var G=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;var U=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;var Z=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/;var q={Space_Separator:G,ID_Start:U,ID_Continue:Z};var W={isSpaceSeparator:function u(D){return typeof D==="string"&&q.Space_Separator.test(D)},isIdStartChar:function u(D){return typeof D==="string"&&(D>="a"&&D<="z"||D>="A"&&D<="Z"||D==="$"||D==="_"||q.ID_Start.test(D))},isIdContinueChar:function u(D){return typeof D==="string"&&(D>="a"&&D<="z"||D>="A"&&D<="Z"||D>="0"&&D<="9"||D==="$"||D==="_"||D==="‌"||D==="‍"||q.ID_Continue.test(D))},isDigit:function u(D){return typeof D==="string"&&/[0-9]/.test(D)},isHexDigit:function u(D){return typeof D==="string"&&/[0-9A-Fa-f]/.test(D)}};var X;var K;var Q;var Y;var uu;var Du;var eu;var ru;var tu;var nu=function u(D,e){X=String(D);K="start";Q=[];Y=0;uu=1;Du=0;eu=undefined;ru=undefined;tu=undefined;do{eu=ou();hu[K]()}while(eu.type!=="eof");if(typeof e==="function"){return Fu({"":tu},"",e)}return tu};function Fu(u,D,e){var r=u[D];if(r!=null&&typeof r==="object"){if(Array.isArray(r)){for(var t=0;t<r.length;t++){var n=String(t);var F=Fu(r,n,e);if(F===undefined){delete r[n]}else{Object.defineProperty(r,n,{value:F,writable:true,enumerable:true,configurable:true})}}}else{for(var C in r){var A=Fu(r,C,e);if(A===undefined){delete r[C]}else{Object.defineProperty(r,C,{value:A,writable:true,enumerable:true,configurable:true})}}}}return e.call(u,D,r)}var Cu;var Au;var iu;var au;var Eu;function ou(){Cu="default";Au="";iu=false;au=1;for(;;){Eu=cu();var u=Bu[Cu]();if(u){return u}}}function cu(){if(X[Y]){return String.fromCodePoint(X.codePointAt(Y))}}function fu(){var u=cu();if(u==="\n"){uu++;Du=0}else if(u){Du+=u.length}else{Du++}if(u){Y+=u.length}return u}var Bu={default:function u(){switch(Eu){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":fu();return;case"/":fu();Cu="comment";return;case undefined:fu();return su("eof")}if(W.isSpaceSeparator(Eu)){fu();return}return Bu[K]()},comment:function u(){switch(Eu){case"*":fu();Cu="multiLineComment";return;case"/":fu();Cu="singleLineComment";return}throw yu(fu())},multiLineComment:function u(){switch(Eu){case"*":fu();Cu="multiLineCommentAsterisk";return;case undefined:throw yu(fu())}fu()},multiLineCommentAsterisk:function u(){switch(Eu){case"*":fu();return;case"/":fu();Cu="default";return;case undefined:throw yu(fu())}fu();Cu="multiLineComment"},singleLineComment:function u(){switch(Eu){case"\n":case"\r":case"\u2028":case"\u2029":fu();Cu="default";return;case undefined:fu();return su("eof")}fu()},value:function u(){switch(Eu){case"{":case"[":return su("punctuator",fu());case"n":fu();lu("ull");return su("null",null);case"t":fu();lu("rue");return su("boolean",true);case"f":fu();lu("alse");return su("boolean",false);case"-":case"+":if(fu()==="-"){au=-1}Cu="sign";return;case".":Au=fu();Cu="decimalPointLeading";return;case"0":Au=fu();Cu="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Au=fu();Cu="decimalInteger";return;case"I":fu();lu("nfinity");return su("numeric",Infinity);case"N":fu();lu("aN");return su("numeric",NaN);case'"':case"'":iu=fu()==='"';Au="";Cu="string";return}throw yu(fu())},identifierNameStartEscape:function u(){if(Eu!=="u"){throw yu(fu())}fu();var D=pu();switch(D){case"$":case"_":break;default:if(!W.isIdStartChar(D)){throw bu()}break}Au+=D;Cu="identifierName"},identifierName:function u(){switch(Eu){case"$":case"_":case"‌":case"‍":Au+=fu();return;case"\\":fu();Cu="identifierNameEscape";return}if(W.isIdContinueChar(Eu)){Au+=fu();return}return su("identifier",Au)},identifierNameEscape:function u(){if(Eu!=="u"){throw yu(fu())}fu();var D=pu();switch(D){case"$":case"_":case"‌":case"‍":break;default:if(!W.isIdContinueChar(D)){throw bu()}break}Au+=D;Cu="identifierName"},sign:function u(){switch(Eu){case".":Au=fu();Cu="decimalPointLeading";return;case"0":Au=fu();Cu="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Au=fu();Cu="decimalInteger";return;case"I":fu();lu("nfinity");return su("numeric",au*Infinity);case"N":fu();lu("aN");return su("numeric",NaN)}throw yu(fu())},zero:function u(){switch(Eu){case".":Au+=fu();Cu="decimalPoint";return;case"e":case"E":Au+=fu();Cu="decimalExponent";return;case"x":case"X":Au+=fu();Cu="hexadecimal";return}return su("numeric",au*0)},decimalInteger:function u(){switch(Eu){case".":Au+=fu();Cu="decimalPoint";return;case"e":case"E":Au+=fu();Cu="decimalExponent";return}if(W.isDigit(Eu)){Au+=fu();return}return su("numeric",au*Number(Au))},decimalPointLeading:function u(){if(W.isDigit(Eu)){Au+=fu();Cu="decimalFraction";return}throw yu(fu())},decimalPoint:function u(){switch(Eu){case"e":case"E":Au+=fu();Cu="decimalExponent";return}if(W.isDigit(Eu)){Au+=fu();Cu="decimalFraction";return}return su("numeric",au*Number(Au))},decimalFraction:function u(){switch(Eu){case"e":case"E":Au+=fu();Cu="decimalExponent";return}if(W.isDigit(Eu)){Au+=fu();return}return su("numeric",au*Number(Au))},decimalExponent:function u(){switch(Eu){case"+":case"-":Au+=fu();Cu="decimalExponentSign";return}if(W.isDigit(Eu)){Au+=fu();Cu="decimalExponentInteger";return}throw yu(fu())},decimalExponentSign:function u(){if(W.isDigit(Eu)){Au+=fu();Cu="decimalExponentInteger";return}throw yu(fu())},decimalExponentInteger:function u(){if(W.isDigit(Eu)){Au+=fu();return}return su("numeric",au*Number(Au))},hexadecimal:function u(){if(W.isHexDigit(Eu)){Au+=fu();Cu="hexadecimalInteger";return}throw yu(fu())},hexadecimalInteger:function u(){if(W.isHexDigit(Eu)){Au+=fu();return}return su("numeric",au*Number(Au))},string:function u(){switch(Eu){case"\\":fu();Au+=vu();return;case'"':if(iu){fu();return su("string",Au)}Au+=fu();return;case"'":if(!iu){fu();return su("string",Au)}Au+=fu();return;case"\n":case"\r":throw yu(fu());case"\u2028":case"\u2029":Su(Eu);break;case undefined:throw yu(fu())}Au+=fu()},start:function u(){switch(Eu){case"{":case"[":return su("punctuator",fu())}Cu="value"},beforePropertyName:function u(){switch(Eu){case"$":case"_":Au=fu();Cu="identifierName";return;case"\\":fu();Cu="identifierNameStartEscape";return;case"}":return su("punctuator",fu());case'"':case"'":iu=fu()==='"';Cu="string";return}if(W.isIdStartChar(Eu)){Au+=fu();Cu="identifierName";return}throw yu(fu())},afterPropertyName:function u(){if(Eu===":"){return su("punctuator",fu())}throw yu(fu())},beforePropertyValue:function u(){Cu="value"},afterPropertyValue:function u(){switch(Eu){case",":case"}":return su("punctuator",fu())}throw yu(fu())},beforeArrayValue:function u(){if(Eu==="]"){return su("punctuator",fu())}Cu="value"},afterArrayValue:function u(){switch(Eu){case",":case"]":return su("punctuator",fu())}throw yu(fu())},end:function u(){throw yu(fu())}};function su(u,D){return{type:u,value:D,line:uu,column:Du}}function lu(u){for(var D=0,e=u;D<e.length;D+=1){var r=e[D];var t=cu();if(t!==r){throw yu(fu())}fu()}}function vu(){var u=cu();switch(u){case"b":fu();return"\b";case"f":fu();return"\f";case"n":fu();return"\n";case"r":fu();return"\r";case"t":fu();return"\t";case"v":fu();return"\v";case"0":fu();if(W.isDigit(cu())){throw yu(fu())}return"\0";case"x":fu();return du();case"u":fu();return pu();case"\n":case"\u2028":case"\u2029":fu();return"";case"\r":fu();if(cu()==="\n"){fu()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw yu(fu());case undefined:throw yu(fu())}return fu()}function du(){var u="";var D=cu();if(!W.isHexDigit(D)){throw yu(fu())}u+=fu();D=cu();if(!W.isHexDigit(D)){throw yu(fu())}u+=fu();return String.fromCodePoint(parseInt(u,16))}function pu(){var u="";var D=4;while(D-- >0){var e=cu();if(!W.isHexDigit(e)){throw yu(fu())}u+=fu()}return String.fromCodePoint(parseInt(u,16))}var hu={start:function u(){if(eu.type==="eof"){throw wu()}gu()},beforePropertyName:function u(){switch(eu.type){case"identifier":case"string":ru=eu.value;K="afterPropertyName";return;case"punctuator":mu();return;case"eof":throw wu()}},afterPropertyName:function u(){if(eu.type==="eof"){throw wu()}K="beforePropertyValue"},beforePropertyValue:function u(){if(eu.type==="eof"){throw wu()}gu()},beforeArrayValue:function u(){if(eu.type==="eof"){throw wu()}if(eu.type==="punctuator"&&eu.value==="]"){mu();return}gu()},afterPropertyValue:function u(){if(eu.type==="eof"){throw wu()}switch(eu.value){case",":K="beforePropertyName";return;case"}":mu()}},afterArrayValue:function u(){if(eu.type==="eof"){throw wu()}switch(eu.value){case",":K="beforeArrayValue";return;case"]":mu()}},end:function u(){}};function gu(){var u;switch(eu.type){case"punctuator":switch(eu.value){case"{":u={};break;case"[":u=[];break}break;case"null":case"boolean":case"numeric":case"string":u=eu.value;break}if(tu===undefined){tu=u}else{var D=Q[Q.length-1];if(Array.isArray(D)){D.push(u)}else{Object.defineProperty(D,ru,{value:u,writable:true,enumerable:true,configurable:true})}}if(u!==null&&typeof u==="object"){Q.push(u);if(Array.isArray(u)){K="beforeArrayValue"}else{K="beforePropertyName"}}else{var e=Q[Q.length-1];if(e==null){K="end"}else if(Array.isArray(e)){K="afterArrayValue"}else{K="afterPropertyValue"}}}function mu(){Q.pop();var u=Q[Q.length-1];if(u==null){K="end"}else if(Array.isArray(u)){K="afterArrayValue"}else{K="afterPropertyValue"}}function yu(u){if(u===undefined){return Nu("JSON5: invalid end of input at "+uu+":"+Du)}return Nu("JSON5: invalid character '"+xu(u)+"' at "+uu+":"+Du)}function wu(){return Nu("JSON5: invalid end of input at "+uu+":"+Du)}function bu(){Du-=5;return Nu("JSON5: invalid identifier character at "+uu+":"+Du)}function Su(u){console.warn("JSON5: '"+xu(u)+"' in strings is not valid ECMAScript; consider escaping")}function xu(u){var D={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(D[u]){return D[u]}if(u<" "){var e=u.charCodeAt(0).toString(16);return"\\x"+("00"+e).substring(e.length)}return u}function Nu(u){var D=new SyntaxError(u);D.lineNumber=uu;D.columnNumber=Du;return D}var Pu=function u(D,e,r){var t=[];var n="";var F;var C;var A="";var i;if(e!=null&&typeof e==="object"&&!Array.isArray(e)){r=e.space;i=e.quote;e=e.replacer}if(typeof e==="function"){C=e}else if(Array.isArray(e)){F=[];for(var a=0,E=e;a<E.length;a+=1){var o=E[a];var c=void 0;if(typeof o==="string"){c=o}else if(typeof o==="number"||o instanceof String||o instanceof Number){c=String(o)}if(c!==undefined&&F.indexOf(c)<0){F.push(c)}}}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}if(typeof r==="number"){if(r>0){r=Math.min(10,Math.floor(r));A=" ".substr(0,r)}}else if(typeof r==="string"){A=r.substr(0,10)}return f("",{"":D});function f(u,D){var e=D[u];if(e!=null){if(typeof e.toJSON5==="function"){e=e.toJSON5(u)}else if(typeof e.toJSON==="function"){e=e.toJSON(u)}}if(C){e=C.call(D,u,e)}if(e instanceof Number){e=Number(e)}else if(e instanceof String){e=String(e)}else if(e instanceof Boolean){e=e.valueOf()}switch(e){case null:return"null";case true:return"true";case false:return"false"}if(typeof e==="string"){return B(e,false)}if(typeof e==="number"){return String(e)}if(typeof e==="object"){return Array.isArray(e)?v(e):s(e)}return undefined}function B(u){var D={"'":.1,'"':.2};var e={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var r="";for(var t=0;t<u.length;t++){var n=u[t];switch(n){case"'":case'"':D[n]++;r+=n;continue;case"\0":if(W.isDigit(u[t+1])){r+="\\x00";continue}}if(e[n]){r+=e[n];continue}if(n<" "){var F=n.charCodeAt(0).toString(16);r+="\\x"+("00"+F).substring(F.length);continue}r+=n}var C=i||Object.keys(D).reduce((function(u,e){return D[u]<D[e]?u:e}));r=r.replace(new RegExp(C,"g"),e[C]);return C+r+C}function s(u){if(t.indexOf(u)>=0){throw TypeError("Converting circular structure to JSON5")}t.push(u);var D=n;n=n+A;var e=F||Object.keys(u);var r=[];for(var C=0,i=e;C<i.length;C+=1){var a=i[C];var E=f(a,u);if(E!==undefined){var o=l(a)+":";if(A!==""){o+=" "}o+=E;r.push(o)}}var c;if(r.length===0){c="{}"}else{var B;if(A===""){B=r.join(",");c="{"+B+"}"}else{var s=",\n"+n;B=r.join(s);c="{\n"+n+B+",\n"+D+"}"}}t.pop();n=D;return c}function l(u){if(u.length===0){return B(u,true)}var D=String.fromCodePoint(u.codePointAt(0));if(!W.isIdStartChar(D)){return B(u,true)}for(var e=D.length;e<u.length;e++){if(!W.isIdContinueChar(String.fromCodePoint(u.codePointAt(e)))){return B(u,true)}}return u}function v(u){if(t.indexOf(u)>=0){throw TypeError("Converting circular structure to JSON5")}t.push(u);var D=n;n=n+A;var e=[];for(var r=0;r<u.length;r++){var F=f(String(r),u);e.push(F!==undefined?F:"null")}var C;if(e.length===0){C="[]"}else{if(A===""){var i=e.join(",");C="["+i+"]"}else{var a=",\n"+n;var E=e.join(a);C="[\n"+n+E+",\n"+D+"]"}}t.pop();n=D;return C}};var _u={parse:nu,stringify:Pu};var Iu=_u;var Ou=Iu;return Ou}))}}]);
.venv/share/jupyter/lab/static/1268.e75d8a6dd557ac8957ca.js ADDED
@@ -0,0 +1 @@
 
 
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1268],{91268:(e,t,s)=>{s.d(t,{KO:()=>us});var i=s(66575);var n=s.n(i);var r=s(27421);var l=s(65606);class a{constructor(e){this.start=e}}class o extends a{constructor(e,t,s,i,n,r,l,a,o,u,h,f,c,p,d){super(e);this.rules=t;this.topRules=s;this.tokens=i;this.localTokens=n;this.context=r;this.externalTokens=l;this.externalSpecializers=a;this.externalPropSources=o;this.precedences=u;this.mainSkip=h;this.scopedSkip=f;this.dialects=c;this.externalProps=p;this.autoDelim=d}toString(){return Object.values(this.rules).join("\n")}}class u extends a{constructor(e,t,s,i,n){super(e);this.id=t;this.props=s;this.params=i;this.expr=n}toString(){return this.id.name+(this.params.length?`<${this.params.join()}>`:"")+" -> "+this.expr}}class h extends a{constructor(e,t){super(e);this.items=t}}class f extends a{constructor(e,t){super(e);this.items=t}}class c extends a{constructor(e,t,s){super(e);this.a=t;this.b=s}}class p extends a{constructor(e,t,s,i,n){super(e);this.precedences=t;this.conflicts=s;this.rules=i;this.literals=n}}class d extends a{constructor(e,t,s,i){super(e);this.precedences=t;this.rules=s;this.fallback=i}}class m extends a{constructor(e,t,s){super(e);this.literal=t;this.props=s}}class g extends a{constructor(e,t,s){super(e);this.id=t;this.source=s}}class k extends a{constructor(e,t,s,i){super(e);this.id=t;this.source=s;this.tokens=i}}class x extends a{constructor(e,t,s,i,n,r){super(e);this.type=t;this.token=s;this.id=i;this.source=n;this.tokens=r}}class b extends a{constructor(e,t,s){super(e);this.id=t;this.source=s}}class w extends a{constructor(e,t,s,i){super(e);this.id=t;this.externalID=s;this.source=i}}class y extends a{constructor(e,t){super(e);this.name=t}toString(){return this.name}}class $ extends a{walk(e){return e(this)}eq(e){return false}}$.prototype.prec=10;class v extends ${constructor(e,t,s){super(e);this.id=t;this.args=s}toString(){return this.id.name+(this.args.length?`<${this.args.join()}>`:"")}eq(e){return this.id.name==e.id.name&&G(this.args,e.args)}walk(e){let t=C(this.args,e);return e(t==this.args?this:new v(this.start,this.id,t))}}class S extends ${constructor(e,t,s,i,n){super(e);this.type=t;this.props=s;this.token=i;this.content=n}toString(){return`@${this.type}[${this.props.join(",")}]<${this.token}, ${this.content}>`}eq(e){return this.type==e.type&&E.eqProps(this.props,e.props)&&D(this.token,e.token)&&D(this.content,e.content)}walk(e){let t=this.token.walk(e),s=this.content.walk(e);return e(t==this.token&&s==this.content?this:new S(this.start,this.type,this.props,t,s))}}class T extends ${constructor(e,t){super(e);this.rule=t}toString(){let e=this.rule;return`${e.id}${e.props.length?`[${e.props.join(",")}]`:""} { ${e.expr} }`}eq(e){let t=this.rule,s=e.rule;return D(t.expr,s.expr)&&t.id.name==s.id.name&&E.eqProps(t.props,s.props)}walk(e){let t=this.rule,s=t.expr.walk(e);return e(s==t.expr?this:new T(this.start,new u(t.start,t.id,t.props,[],s)))}}class O extends ${constructor(e,t){super(e);this.exprs=t}toString(){return this.exprs.map((e=>_(e,this))).join(" | ")}eq(e){return G(this.exprs,e.exprs)}walk(e){let t=C(this.exprs,e);return e(t==this.exprs?this:new O(this.start,t))}}O.prototype.prec=1;class R extends ${constructor(e,t,s,i=false){super(e);this.exprs=t;this.markers=s;this.empty=i}toString(){return this.empty?"()":this.exprs.map((e=>_(e,this))).join(" ")}eq(e){return G(this.exprs,e.exprs)&&this.markers.every(((t,s)=>{let i=e.markers[s];return t.length==i.length&&t.every(((e,t)=>e.eq(i[t])))}))}walk(e){let t=C(this.exprs,e);return e(t==this.exprs?this:new R(this.start,t,this.markers,this.empty&&!t.length))}}R.prototype.prec=2;class P extends a{constructor(e,t,s){super(e);this.id=t;this.type=s}toString(){return(this.type=="ambig"?"~":"!")+this.id.name}eq(e){return this.id.name==e.id.name&&this.type==e.type}}class j extends ${constructor(e,t,s){super(e);this.expr=t;this.kind=s}toString(){return _(this.expr,this)+this.kind}eq(e){return D(this.expr,e.expr)&&this.kind==e.kind}walk(e){let t=this.expr.walk(e);return e(t==this.expr?this:new j(this.start,t,this.kind))}}j.prototype.prec=3;class N extends ${constructor(e,t){super(e);this.value=t}toString(){return JSON.stringify(this.value)}eq(e){return this.value==e.value}}class A extends ${constructor(e,t,s){super(e);this.ranges=t;this.inverted=s}toString(){return`[${this.inverted?"^":""}${this.ranges.map((([e,t])=>String.fromCodePoint(e)+(t==e+1?"":"-"+String.fromCodePoint(t))))}]`}eq(e){return this.inverted==e.inverted&&this.ranges.length==e.ranges.length&&this.ranges.every((([t,s],i)=>{let[n,r]=e.ranges[i];return t==n&&s==r}))}}class z extends ${constructor(e){super(e)}toString(){return"_"}eq(){return true}}function C(e,t){let s=null;for(let i=0;i<e.length;i++){let n=e[i].walk(t);if(n!=e[i]&&!s)s=e.slice(0,i);if(s)s.push(n)}return s||e}const I={asciiLetter:[[65,91],[97,123]],asciiLowercase:[[97,123]],asciiUppercase:[[65,91]],digit:[[48,58]],whitespace:[[9,14],[32,33],[133,134],[160,161],[5760,5761],[8192,8203],[8232,8234],[8239,8240],[8287,8288],[12288,12289]],eof:[[65535,65535]]};class q extends ${constructor(e,t){super(e);this.type=t}toString(){return"@"+this.type}eq(e){return this.type==e.type}}function D(e,t){return e.constructor==t.constructor&&e.eq(t)}function G(e,t){return e.length==t.length&&e.every(((e,s)=>D(e,t[s])))}class E extends a{constructor(e,t,s,i){super(e);this.at=t;this.name=s;this.value=i}eq(e){return this.name==e.name&&this.value.length==e.value.length&&this.value.every(((t,s)=>t.value==e.value[s].value&&t.name==e.value[s].name))}toString(){let e=(this.at?"@":"")+this.name;if(this.value.length){e+="=";for(let{name:t,value:s}of this.value)e+=t?`{${t}}`:/[^\w-]/.test(s)?JSON.stringify(s):s}return e}static eqProps(e,t){return e.length==t.length&&e.every(((e,s)=>e.eq(t[s])))}}class J extends a{constructor(e,t,s){super(e);this.value=t;this.name=s}}function _(e,t){return e.prec<t.prec?"("+e.toString()+")":e.toString()}class B extends Error{}function U(e){for(let t in e)return true;return false}let M=0;class F{constructor(e,t,s,i={}){this.name=e;this.flags=t;this.nodeName=s;this.props=i;this.hash=++M;this.id=-1;this.rules=[]}toString(){return this.name}get nodeType(){return this.top||this.nodeName!=null||U(this.props)||this.repeated}get terminal(){return(this.flags&1)>0}get eof(){return(this.flags&4)>0}get error(){return"error"in this.props}get top(){return(this.flags&2)>0}get interesting(){return this.flags>0||this.nodeName!=null}get repeated(){return(this.flags&16)>0}set preserve(e){this.flags=e?this.flags|8:this.flags&~8}get preserve(){return(this.flags&8)>0}set inline(e){this.flags=e?this.flags|32:this.flags&~32}get inline(){return(this.flags&32)>0}cmp(e){return this.hash-e.hash}}class L{constructor(){this.terms=[];this.names=Object.create(null);this.tops=[];this.eof=this.term("␄",null,1|4);this.error=this.term("⚠","⚠",8)}term(e,t,s=0,i={}){let n=new F(e,s,t,i);this.terms.push(n);this.names[e]=n;return n}makeTop(e,t){const s=this.term("@top",e,2,t);this.tops.push(s);return s}makeTerminal(e,t,s={}){return this.term(e,t,1,s)}makeNonTerminal(e,t,s={}){return this.term(e,t,0,s)}makeRepeat(e){return this.term(e,null,16)}uniqueName(e){for(let t=0;;t++){let s=t?`${e}-${t}`:e;if(!this.names[s])return s}}finish(e){for(let r of e)r.name.rules.push(r);this.terms=this.terms.filter((t=>t.terminal||t.preserve||e.some((e=>e.name==t||e.parts.includes(t)))));let t={};let s=[this.error];this.error.id=0;let i=0+1;for(let r of this.terms)if(r.id<0&&r.nodeType&&!r.repeated){r.id=i++;s.push(r)}let n=i;for(let r of this.terms)if(r.repeated){r.id=i++;s.push(r)}this.eof.id=i++;for(let r of this.terms){if(r.id<0)r.id=i++;if(r.name)t[r.id]=r.name}if(i>=65534)throw new B("Too many terms");return{nodeTypes:s,names:t,minRepeatTerm:n,maxTerm:i-1}}}function W(e,t,s){if(e.length!=t.length)return e.length-t.length;for(let i=0;i<e.length;i++){let n=s(e[i],t[i]);if(n)return n}return 0}const K=[];class Y{constructor(e,t=K,s=0){this.precedence=e;this.ambigGroups=t;this.cut=s}join(e){if(this==Y.none||this==e)return e;if(e==Y.none)return this;return new Y(Math.max(this.precedence,e.precedence),Z(this.ambigGroups,e.ambigGroups),Math.max(this.cut,e.cut))}cmp(e){return this.precedence-e.precedence||W(this.ambigGroups,e.ambigGroups,((e,t)=>e<t?-1:e>t?1:0))||this.cut-e.cut}}Y.none=new Y(0);function Z(e,t){if(e.length==0||e==t)return t;if(t.length==0)return e;let s=e.slice();for(let i of t)if(!e.includes(i))s.push(i);return s.sort()}let H=0;class Q{constructor(e,t,s,i){this.name=e;this.parts=t;this.conflicts=s;this.skip=i;this.id=H++}cmp(e){return this.id-e.id}cmpNoName(e){return this.parts.length-e.parts.length||this.skip.hash-e.skip.hash||this.parts.reduce(((t,s,i)=>t||s.cmp(e.parts[i])),0)||W(this.conflicts,e.conflicts,((e,t)=>e.cmp(t)))}toString(){return this.name+" -> "+this.parts.join(" ")}get isRepeatWrap(){return this.name.repeated&&this.parts.length==2&&this.parts[0]==this.name}sameReduce(e){return this.name==e.name&&this.parts.length==e.parts.length&&this.isRepeatWrap==e.isRepeatWrap}}const V=65535;class X{constructor(e,t,s){this.from=e;this.to=t;this.target=s}toString(){return`-> ${this.target.id}[label=${JSON.stringify(this.from<0?"ε":ee(this.from)+(this.to>this.from+1?"-"+ee(this.to-1):""))}]`}}function ee(e){return e>V?"∞":e==10?"\\n":e==13?"\\r":e<32||e>=55296&&e<57343?"\\u{"+e.toString(16)+"}":String.fromCharCode(e)}function te(e,t){let s=Object.create(null);let i=Object.create(null);for(let n of e){let e=oe(n.accepting);let t=i[e]||(i[e]=[]);t.push(n);s[n.id]=t}for(;;){let i=false,n=Object.create(null);for(let t of e){if(n[t.id])continue;let e=s[t.id];if(e.length==1){n[e[0].id]=e;continue}let r=[];e:for(let t of e){for(let e of r){if(se(t,e[0],s)){e.push(t);continue e}}r.push([t])}if(r.length>1)i=true;for(let t of r)for(let e of t)n[e.id]=t}if(!i)return ie(e,t,s);s=n}}function se(e,t,s){if(e.edges.length!=t.edges.length)return false;for(let i=0;i<e.edges.length;i++){let n=e.edges[i],r=t.edges[i];if(n.from!=r.from||n.to!=r.to||s[n.target.id]!=s[r.target.id])return false}return true}function ie(e,t,s){for(let i of e){for(let e=0;e<i.edges.length;e++){let t=i.edges[e],n=s[t.target.id][0];if(n!=t.target)i.edges[e]=new X(t.from,t.to,n)}}return s[t.id][0]}let ne=1;let re=class e{constructor(e=[],t=ne++){this.accepting=e;this.id=t;this.edges=[]}edge(e,t,s){this.edges.push(new X(e,t,s))}nullEdge(e){this.edge(-1,-1,e)}compile(){let t=Object.create(null),s=0;let i=n(this.closure().sort(((e,t)=>e.id-t.id)));return te(Object.values(t),i);function n(i){let r=t[oe(i)]=new e(i.reduce(((e,t)=>Z(e,t.accepting)),[]),s++);let l=[];for(let e of i)for(let t of e.edges){if(t.from>=0)l.push(t)}let a=fe(l);for(let e of a){let s=e.targets.sort(((e,t)=>e.id-t.id));r.edge(e.from,e.to,t[oe(s)]||n(s))}return r}}closure(){let e=[],t=Object.create(null);function s(i){if(t[i.id])return;t[i.id]=true;if(i.edges.some((e=>e.from>=0))||i.accepting.length>0&&!i.edges.some((e=>ue(i.accepting,e.target.accepting))))e.push(i);for(let e of i.edges)if(e.from<0)s(e.target)}s(this);return e}findConflicts(e){let t=[],s=this.cycleTerms();function i(e,s,i,n,r){if(e.id<s.id){[e,s]=[s,e];i=-i}let l=t.find((t=>t.a==e&&t.b==s));if(!l)t.push(new le(e,s,i,ae(n),r&&ae(r)));else if(l.soft!=i)l.soft=0}this.reachable(((t,n)=>{if(t.accepting.length==0)return;for(let e=0;e<t.accepting.length;e++)for(let s=e+1;s<t.accepting.length;s++)i(t.accepting[e],t.accepting[s],0,n);t.reachable(((r,l)=>{if(r!=t)for(let a of r.accepting){let r=s.includes(a);for(let o of t.accepting)if(a!=o)i(a,o,r||s.includes(o)||!e(a,o)?0:1,n,n.concat(l))}}))}));return t}cycleTerms(){let e=[];this.reachable((t=>{for(let{target:s}of t.edges)e.push(t,s)}));let t=new Map;let s=[];for(let n=0;n<e.length;){let i=e[n++],r=e[n++];let l=t.get(i);if(!l)t.set(i,l=[]);if(l.includes(r))continue;if(i==r){if(!s.includes(i))s.push(i)}else{for(let t of l)e.push(i,t);l.push(r)}}let i=[];for(let n of s){for(let e of n.accepting){if(!i.includes(e))i.push(e)}}return i}reachable(e){let t=[],s=[];(function i(n){e(n,s);t.push(n);for(let e of n.edges)if(!t.includes(e.target)){s.push(e);i(e.target);s.pop()}})(this)}toString(){let e="digraph {\n";this.reachable((t=>{if(t.accepting.length)e+=` ${t.id} [label=${JSON.stringify(t.accepting.join())}];\n`;for(let s of t.edges)e+=` ${t.id} ${s};\n`}));return e+"}"}toArray(e,t){let s=[];let i=[];this.reachable((n=>{let r=i.length;let l=r+3+n.accepting.length*2;s[n.id]=r;i.push(n.stateMask(e),l,n.edges.length);n.accepting.sort(((e,s)=>t.indexOf(e.id)-t.indexOf(s.id)));for(let t of n.accepting)i.push(t.id,e[t.id]||65535);for(let e of n.edges)i.push(e.from,e.to,-e.target.id-1)}));for(let n=0;n<i.length;n++)if(i[n]<0)i[n]=s[-i[n]-1];if(i.length>Math.pow(2,16))throw new B("Tokenizer tables too big to represent with 16-bit offsets.");return Uint16Array.from(i)}stateMask(e){let t=0;this.reachable((s=>{for(let i of s.accepting)t|=e[i.id]||65535}));return t}};let le=class e{constructor(e,t,s,i,n){this.a=e;this.b=t;this.soft=s;this.exampleA=i;this.exampleB=n}};function ae(e){let t="";for(let s=0;s<e.length;s++)t+=String.fromCharCode(e[s].from);return t}function oe(e){let t="";for(let s of e){if(t.length)t+="-";t+=s.id}return t}function ue(e,t){if(e.length!=t.length)return false;for(let s=0;s<e.length;s++)if(e[s]!=t[s])return false;return true}class he{constructor(e,t,s){this.from=e;this.to=t;this.targets=s}}function fe(e){let t=[],s=[];for(let n of e){if(!t.includes(n.from))t.push(n.from);if(!t.includes(n.to))t.push(n.to)}t.sort(((e,t)=>e-t));for(let n=1;n<t.length;n++){let i=t[n-1],r=t[n];let l=[];for(let t of e)if(t.to>i&&t.from<r){for(let e of t.target.closure())if(!l.includes(e))l.push(e)}if(l.length)s.push(new he(i,r,l))}let i=e.filter((e=>e.from==65535&&e.to==65535));if(i.length){let e=[];for(let t of i)for(let s of t.target.closure())if(!e.includes(s))e.push(s);if(e.length)s.push(new he(65535,65535,e))}return s}let ce=/[\w_-]+/gy;try{ce=/[\p{Alphabetic}\d_-]+/guy}catch(ds){}const pe=[];class de{constructor(e,t=null){this.string=e;this.fileName=t;this.type="sof";this.value=null;this.start=0;this.end=0;this.next()}lineInfo(e){for(let t=1,s=0;;){let i=this.string.indexOf("\n",s);if(i>-1&&i<e){++t;s=i+1}else{return{line:t,ch:e-s}}}}message(e,t=-1){let s=this.fileName||"";if(t>-1){let e=this.lineInfo(t);s+=(s?" ":"")+e.line+":"+e.ch}return s?e+` (${s})`:e}raise(e,t=-1){throw new B(this.message(e,t))}match(e,t){let s=t.exec(this.string.slice(e));return s?e+s[0].length:-1}next(){let e=this.match(this.end,/^(\s|\/\/.*|\/\*[^]*?\*\/)*/);if(e==this.string.length)return this.set("eof",null,e,e);let t=this.string[e];if(t=='"'){let t=this.match(e+1,/^(\\.|[^"\\])*"/);if(t==-1)this.raise("Unterminated string literal",e);return this.set("string",Je(this.string.slice(e+1,t-1)),e,t)}else if(t=="'"){let t=this.match(e+1,/^(\\.|[^'\\])*'/);if(t==-1)this.raise("Unterminated string literal",e);return this.set("string",Je(this.string.slice(e+1,t-1)),e,t)}else if(t=="@"){ce.lastIndex=e+1;let t=ce.exec(this.string);if(!t)return this.raise("@ without a name",e);return this.set("at",t[0],e,e+1+t[0].length)}else if((t=="$"||t=="!")&&this.string[e+1]=="["){let t=this.match(e+2,/^(?:\\.|[^\]\\])*\]/);if(t==-1)this.raise("Unterminated character set",e);return this.set("set",this.string.slice(e+2,t-1),e,t)}else if(/[\[\]()!~+*?{}<>\.,|:$=]/.test(t)){return this.set(t,null,e,e+1)}else{ce.lastIndex=e;let s=ce.exec(this.string);if(!s)return this.raise("Unexpected character "+JSON.stringify(t),e);return this.set("id",s[0],e,e+s[0].length)}}set(e,t,s,i){this.type=e;this.value=t;this.start=s;this.end=i}eat(e,t=null){if(this.type==e&&(t==null||this.value===t)){this.next();return true}else{return false}}unexpected(){return this.raise(`Unexpected token '${this.string.slice(this.start,this.end)}'`,this.start)}expect(e,t=null){let s=this.value;if(this.type!=e||!(t==null||s===t))this.unexpected();this.next();return s}parse(){return me(this)}}function me(e){let t=e.start;let s=[];let i=null;let n=null;let r=[];let l=null;let a=[];let u=[];let h=null;let f=[];let c=[];let p=[];let d=[];let m=[];let k=false;let x=false;while(e.type!="eof"){let t=e.start;if(e.eat("at","top")){if(e.type!="id")e.raise(`Top rules must have a name`,e.start);m.push(ge(e,Pe(e)));k=true}else if(e.type=="at"&&e.value=="tokens"){if(n)e.raise(`Multiple @tokens declaractions`,e.start);else n=Ne(e)}else if(e.eat("at","local")){e.expect("id","tokens");r.push(Ae(e,t))}else if(e.eat("at","context")){if(h)e.raise(`Multiple @context declarations`,t);let s=Pe(e);e.expect("id","from");let i=e.expect("string");h=new g(t,s,i)}else if(e.eat("at","external")){if(e.eat("id","tokens"))f.push(qe(e,t));else if(e.eat("id","prop"))p.push(Ee(e,t));else if(e.eat("id","extend"))c.push(De(e,"extend",t));else if(e.eat("id","specialize"))c.push(De(e,"specialize",t));else if(e.eat("id","propSource"))d.push(Ge(e,t));else e.unexpected()}else if(e.eat("at","dialects")){e.expect("{");for(let t=true;!e.eat("}");t=false){if(!t)e.eat(",");u.push(Pe(e))}}else if(e.type=="at"&&e.value=="precedence"){if(i)e.raise(`Multiple precedence declarations`,e.start);i=je(e)}else if(e.eat("at","detectDelim")){x=true}else if(e.eat("at","skip")){let t=be(e);if(e.type=="{"){e.next();let s=[],i=[];while(!e.eat("}")){if(e.eat("at","top")){i.push(ge(e,Pe(e)));k=true}else{s.push(ge(e))}}a.push({expr:t,topRules:i,rules:s})}else{if(l)e.raise(`Multiple top-level skip declarations`,e.start);l=t}}else{s.push(ge(e))}}if(!k)return e.raise(`Missing @top declaration`);return new o(t,s,m,n,r,h,f,c,d,i,l,a,u,p,x)}function ge(e,t){let s=t?t.start:e.start;let i=t||Pe(e);let n=ke(e);let r=[];if(e.eat("<"))while(!e.eat(">")){if(r.length)e.expect(",");r.push(Pe(e))}let l=be(e);return new u(s,i,n,r,l)}function ke(e){if(e.type!="[")return pe;let t=[];e.expect("[");while(!e.eat("]")){if(t.length)e.expect(",");t.push(xe(e))}return t}function xe(e){let t=e.start,s=[],i=e.value,n=e.type=="at";if(!e.eat("at")&&!e.eat("id"))e.unexpected();if(e.eat("="))for(;;){if(e.type=="string"||e.type=="id"){s.push(new J(e.start,e.value,null));e.next()}else if(e.eat(".")){s.push(new J(e.start,".",null))}else if(e.eat("{")){s.push(new J(e.start,null,e.expect("id")));e.expect("}")}else{break}}return new E(t,n,i,s)}function be(e){e.expect("{");let t=Re(e);e.expect("}");return t}const we="﷚";function ye(e){let t=e.start;if(e.eat("(")){if(e.eat(")"))return new R(t,pe,[pe,pe]);let s=Re(e);e.expect(")");return s}else if(e.type=="string"){let s=e.value;e.next();if(s.length==0)return new R(t,pe,[pe,pe]);return new N(t,s)}else if(e.eat("id","_")){return new z(t)}else if(e.type=="set"){let s=e.value,i=e.string[e.start]=="!";let n=Je(s.replace(/\\.|-|"/g,(e=>e=="-"?we:e=='"'?'\\"':e)));let r=[];for(let t=0;t<n.length;){let s=n.codePointAt(t);t+=s>65535?2:1;if(t<n.length-1&&n[t]==we){let i=n.codePointAt(t+1);t+=i>65535?3:2;if(i<s)e.raise("Invalid character range",e.start);ve(e,r,s,i+1)}else{if(s==we.charCodeAt(0))s=45;ve(e,r,s,s+1)}}e.next();return new A(t,r.sort(((e,t)=>e[0]-t[0])),i)}else if(e.type=="at"&&(e.value=="specialize"||e.value=="extend")){let{start:t,value:s}=e;e.next();let i=ke(e);e.expect("<");let n=Re(e),r;if(e.eat(",")){r=Re(e)}else if(n instanceof N){r=n}else{e.raise(`@${s} requires two arguments when its first argument isn't a literal string`)}e.expect(">");return new S(t,s,i,n,r)}else if(e.type=="at"&&I.hasOwnProperty(e.value)){let t=new q(e.start,e.value);e.next();return t}else if(e.type=="["){let s=ge(e,new y(t,"_anon"));if(s.params.length)e.raise(`Inline rules can't have parameters`,s.start);return new T(t,s)}else{let s=Pe(e);if(e.type=="["||e.type=="{"){let i=ge(e,s);if(i.params.length)e.raise(`Inline rules can't have parameters`,i.start);return new T(t,i)}else{if(e.eat(".")&&s.name=="std"&&I.hasOwnProperty(e.value)){let s=new q(t,e.value);e.next();return s}return new v(t,s,$e(e))}}}function $e(e){let t=[];if(e.eat("<"))while(!e.eat(">")){if(t.length)e.expect(",");t.push(Re(e))}return t}function ve(e,t,s,i){if(!t.every((([e,t])=>t<=s||e>=i)))e.raise("Overlapping character range",e.start);t.push([s,i])}function Se(e){let t=e.start;let s=ye(e);for(;;){let i=e.type;if(e.eat("*")||e.eat("?")||e.eat("+"))s=new j(t,s,i);else return s}}function Te(e){return e.type=="}"||e.type==")"||e.type=="|"||e.type=="/"||e.type=="/\\"||e.type=="{"||e.type==","||e.type==">"}function Oe(e){let t=e.start,s=[],i=[pe];do{for(;;){let t=e.start,s;if(e.eat("~"))s="ambig";else if(e.eat("!"))s="prec";else break;i[i.length-1]=i[i.length-1].concat(new P(t,Pe(e),s))}if(Te(e))break;s.push(Se(e));i.push(pe)}while(!Te(e));if(s.length==1&&i.every((e=>e.length==0)))return s[0];return new R(t,s,i,!s.length)}function Re(e){let t=e.start,s=Oe(e);if(!e.eat("|"))return s;let i=[s];do{i.push(Oe(e))}while(e.eat("|"));let n=i.find((e=>e instanceof R&&e.empty));if(n)e.raise("Empty expression in choice operator. If this is intentional, use () to make it explicit.",n.start);return new O(t,i)}function Pe(e){if(e.type!="id")e.unexpected();let t=e.start,s=e.value;e.next();return new y(t,s)}function je(e){let t=e.start;e.next();e.expect("{");let s=[];while(!e.eat("}")){if(s.length)e.eat(",");s.push({id:Pe(e),type:e.eat("at","left")?"left":e.eat("at","right")?"right":e.eat("at","cut")?"cut":null})}return new h(t,s)}function Ne(e){let t=e.start;e.next();e.expect("{");let s=[];let i=[];let n=[];let r=[];while(!e.eat("}")){if(e.type=="at"&&e.value=="precedence"){n.push(ze(e))}else if(e.type=="at"&&e.value=="conflict"){r.push(Ce(e))}else if(e.type=="string"){i.push(new m(e.start,e.expect("string"),ke(e)))}else{s.push(ge(e))}}return new p(t,n,r,s,i)}function Ae(e,t){e.expect("{");let s=[];let i=[];let n=null;while(!e.eat("}")){if(e.type=="at"&&e.value=="precedence"){i.push(ze(e))}else if(e.eat("at","else")&&!n){n={id:Pe(e),props:ke(e)}}else{s.push(ge(e))}}return new d(t,i,s,n)}function ze(e){let t=e.start;e.next();e.expect("{");let s=[];while(!e.eat("}")){if(s.length)e.eat(",");let t=ye(e);if(t instanceof N||t instanceof v)s.push(t);else e.raise(`Invalid expression in token precedences`,t.start)}return new f(t,s)}function Ce(e){let t=e.start;e.next();e.expect("{");let s=ye(e);if(!(s instanceof N||s instanceof v))e.raise(`Invalid expression in token conflict`,s.start);e.eat(",");let i=ye(e);if(!(i instanceof N||i instanceof v))e.raise(`Invalid expression in token conflict`,i.start);e.expect("}");return new c(t,s,i)}function Ie(e){let t=[];e.expect("{");while(!e.eat("}")){if(t.length)e.eat(",");let s=Pe(e);let i=ke(e);t.push({id:s,props:i})}return t}function qe(e,t){let s=Pe(e);e.expect("id","from");let i=e.expect("string");return new k(t,s,i,Ie(e))}function De(e,t,s){let i=be(e);let n=Pe(e);e.expect("id","from");let r=e.expect("string");return new x(s,t,i,n,r,Ie(e))}function Ge(e,t){let s=Pe(e);e.expect("id","from");return new b(t,s,e.expect("string"))}function Ee(e,t){let s=Pe(e);let i=e.eat("id","as")?Pe(e):s;e.expect("id","from");let n=e.expect("string");return new w(t,i,s,n)}function Je(e){let t=/\\(?:u\{([\da-f]+)\}|u([\da-f]{4})|x([\da-f]{2})|([ntbrf0])|(.))|[^]/giy;let s="",i;while(i=t.exec(e)){let[e,t,n,r,l,a]=i;if(t||n||r)s+=String.fromCodePoint(parseInt(t||n||r,16));else if(l)s+=l=="n"?"\n":l=="t"?"\t":l=="0"?"\0":l=="r"?"\r":l=="f"?"\f":"\b";else if(a)s+=a;else s+=e}return s}function _e(e,t){return(e<<5)+e+t}function Be(e,t){for(let s=0;s<t.length;s++)e=_e(e,t.charCodeAt(s));return e}const Ue=typeof l!="undefined"&&l.env.LOG||"";const Me=/\btime\b/.test(Ue);const Fe=Me?(e,t)=>{let s=Date.now();let i=t();console.log(`${e} (${((Date.now()-s)/1e3).toFixed(2)}s)`);return i}:(e,t)=>t();class Le{constructor(e,t,s,i,n,r){this.rule=e;this.pos=t;this.ahead=s;this.ambigAhead=i;this.skipAhead=n;this.via=r;this.hash=0}finish(){let e=_e(_e(this.rule.id,this.pos),this.skipAhead.hash);for(let t of this.ahead)e=_e(e,t.hash);for(let t of this.ambigAhead)e=Be(e,t);this.hash=e;return this}get next(){return this.pos<this.rule.parts.length?this.rule.parts[this.pos]:null}advance(){return new Le(this.rule,this.pos+1,this.ahead,this.ambigAhead,this.skipAhead,this.via).finish()}get skip(){return this.pos==this.rule.parts.length?this.skipAhead:this.rule.skip}cmp(e){return this.rule.cmp(e.rule)||this.pos-e.pos||this.skipAhead.hash-e.skipAhead.hash||W(this.ahead,e.ahead,((e,t)=>e.cmp(t)))||W(this.ambigAhead,e.ambigAhead,Ye)}eqSimple(e){return e.rule==this.rule&&e.pos==this.pos}toString(){let e=this.rule.parts.map((e=>e.name));e.splice(this.pos,0,"·");return`${this.rule.name} -> ${e.join(" ")}`}eq(e){return this==e||this.hash==e.hash&&this.rule==e.rule&&this.pos==e.pos&&this.skipAhead==e.skipAhead&&Qe(this.ahead,e.ahead)&&Qe(this.ambigAhead,e.ambigAhead)}trail(e=60){let t=[];for(let i=this;i;i=i.via){for(let e=i.pos-1;e>=0;e--)t.push(i.rule.parts[e])}let s=t.reverse().join(" ");if(s.length>e)s=s.slice(s.length-e).replace(/.*? /,"… ");return s}conflicts(e=this.pos){let t=this.rule.conflicts[e];if(e==this.rule.parts.length&&this.ambigAhead.length)t=t.join(new Y(0,this.ambigAhead));return t}static addOrigins(e,t){let s=e.slice();for(let i=0;i<s.length;i++){let e=s[i];if(e.pos==0)for(let i of t){if(i.next==e.rule.name&&!s.includes(i))s.push(i)}}return s}}function We(e){let t=Y.none;for(let s of e)t=t.join(s.conflicts());return t}function Ke(e,t){for(let s of e)if(s.rule.name.repeated){for(let e of t)if(e.rule.name==s.rule.name){if(s.rule.isRepeatWrap&&s.pos==2)return 1;if(e.rule.isRepeatWrap&&e.pos==2)return-1}}return 0}function Ye(e,t){return e<t?-1:e>t?1:0}function Ze(e,t,s,i){let n=[];for(let r=t+1;r<e.parts.length;r++){let t=e.parts[r],s=false;if(t.terminal){nt(t,n)}else for(let e of i[t.name]){if(e==null)s=true;else nt(e,n)}if(!s)return n}for(let r of s)nt(r,n);return n}function He(e,t){if(e.length!=t.length)return false;for(let s=0;s<e.length;s++)if(!e[s].eq(t[s]))return false;return true}function Qe(e,t){if(e.length!=t.length)return false;for(let s=0;s<e.length;s++)if(e[s]!=t[s])return false;return true}class Ve{constructor(e,t){this.term=e;this.target=t}eq(e){return e instanceof Ve&&this.term==e.term&&e.target.id==this.target.id}cmp(e){return e instanceof Xe?-1:this.term.id-e.term.id||this.target.id-e.target.id}matches(e,t){return e instanceof Ve&&t[e.target.id]==t[this.target.id]}toString(){return"s"+this.target.id}map(e,t){let s=t[e[this.target.id]];return s==this.target?this:new Ve(this.term,s)}}class Xe{constructor(e,t){this.term=e;this.rule=t}eq(e){return e instanceof Xe&&this.term==e.term&&e.rule.sameReduce(this.rule)}cmp(e){return e instanceof Ve?1:this.term.id-e.term.id||this.rule.name.id-e.rule.name.id||this.rule.parts.length-e.rule.parts.length}matches(e,t){return e instanceof Xe&&e.rule.sameReduce(this.rule)}toString(){return`${this.rule.name.name}(${this.rule.parts.length})`}map(){return this}}function et(e){let t=5381;for(let s of e)t=_e(t,s.hash);return t}class tt{constructor(e){this.first=e;this.conflicts=[]}}class st{constructor(e,t,s=0,i,n=et(t),r=null){this.id=e;this.set=t;this.flags=s;this.skip=i;this.hash=n;this.startRule=r;this.actions=[];this.actionPositions=[];this.goto=[];this.tokenGroup=-1;this.defaultReduce=null;this._actionsByTerm=null}toString(){let e=this.actions.map((e=>e.term+"="+e)).join(",")+(this.goto.length?" | "+this.goto.map((e=>e.term+"="+e)).join(","):"");return this.id+": "+this.set.filter((e=>e.pos>0)).join()+(this.defaultReduce?`\n always ${this.defaultReduce.name}(${this.defaultReduce.parts.length})`:e.length?"\n "+e:"")}addActionInner(e,t){e:for(let s=0;s<this.actions.length;s++){let i=this.actions[s];if(i.term==e.term){if(i.eq(e))return null;let n=Le.addOrigins(t,this.set),r=Le.addOrigins(this.actionPositions[s],this.set);let l=We(n),a=We(r);let o=Ke(n,r)||l.precedence-a.precedence;if(o>0){this.actions.splice(s,1);this.actionPositions.splice(s,1);s--;continue e}else if(o<0){return null}else if(l.ambigGroups.some((e=>a.ambigGroups.includes(e)))){continue e}else{return i}}}this.actions.push(e);this.actionPositions.push(t);return null}addAction(e,t,s){let i=this.addActionInner(e,t);if(i){let n=this.actionPositions[this.actions.indexOf(i)][0];let r=[t[0].rule.name,n.rule.name];if(s.conflicts.some((e=>e.rules.some((e=>r.includes(e))))))return;let l;if(i instanceof Ve)l=`shift/reduce conflict between\n ${n}\nand\n ${t[0].rule}`;else l=`reduce/reduce conflict between\n ${n.rule}\nand\n ${t[0].rule}`;l+=`\nWith input:\n ${t[0].trail(70)} · ${e.term} …`;if(i instanceof Ve)l+=ut(t[0],i.term,s.first);l+=ot(n,t[0]);s.conflicts.push(new at(l,r))}}getGoto(e){return this.goto.find((t=>t.term==e))}hasSet(e){return He(this.set,e)}actionsByTerm(){let e=this._actionsByTerm;if(!e){this._actionsByTerm=e=Object.create(null);for(let t of this.actions)(e[t.term.id]||(e[t.term.id]=[])).push(t)}return e}finish(){if(this.actions.length){let e=this.actions[0];if(e instanceof Xe){let{rule:t}=e;if(this.actions.every((e=>e instanceof Xe&&e.rule.sameReduce(t))))this.defaultReduce=t}}this.actions.sort(((e,t)=>e.cmp(t)));this.goto.sort(((e,t)=>e.cmp(t)))}eq(e){let t=this.defaultReduce,s=e.defaultReduce;if(t||s)return t&&s?t.sameReduce(s):false;return this.skip==e.skip&&this.tokenGroup==e.tokenGroup&&He(this.actions,e.actions)&&He(this.goto,e.goto)}}function it(e,t){let s=[],i=[];function n(t,n,r,l,a){for(let o of t.rules){let t=s.find((e=>e.rule==o));if(!t){let i=e.find((e=>e.pos==0&&e.rule==o));t=i?new Le(o,0,i.ahead.slice(),i.ambigAhead,i.skipAhead,i.via):new Le(o,0,[],xt,l,a);s.push(t)}if(t.skipAhead!=l)throw new B("Inconsistent skip sets after "+a.trail());t.ambigAhead=Z(t.ambigAhead,r);for(let e of n)if(!t.ahead.includes(e)){t.ahead.push(e);if(t.rule.parts.length&&!t.rule.parts[0].terminal)nt(t,i)}}}for(let l of e){let e=l.next;if(e&&!e.terminal)n(e,Ze(l.rule,l.pos,l.ahead,t),l.conflicts(l.pos+1).ambigGroups,l.pos==l.rule.parts.length-1?l.skipAhead:l.rule.skip,l)}while(i.length){let e=i.pop();n(e.rule.parts[0],Ze(e.rule,0,e.ahead,t),Z(e.rule.conflicts[1].ambigGroups,e.rule.parts.length==1?e.ambigAhead:xt),e.rule.parts.length==1?e.skipAhead:e.rule.skip,e)}let r=e.slice();for(let l of s){l.ahead.sort(((e,t)=>e.hash-t.hash));l.finish();let t=e.findIndex((e=>e.pos==0&&e.rule==l.rule));if(t>-1)r[t]=l;else r.push(l)}return r.sort(((e,t)=>e.cmp(t)))}function nt(e,t){if(!t.includes(e))t.push(e)}function rt(e){let t=Object.create(null);for(let s of e.terms)if(!s.terminal)t[s.name]=[];for(;;){let s=false;for(let i of e.terms)if(!i.terminal)for(let e of i.rules){let n=t[i.name];let r=false,l=n.length;for(let s of e.parts){r=true;if(s.terminal){nt(s,n)}else{for(let e of t[s.name]){if(e==null)r=false;else nt(e,n)}}if(r)break}if(!r)nt(null,n);if(n.length>l)s=true}if(!s)return t}}class lt{constructor(e,t){this.set=e;this.state=t}}class at{constructor(e,t){this.error=e;this.rules=t}}function ot(e,t){if(e.eqSimple(t))return"";function s(e,t){let s=[];for(let i=t.via;!i.eqSimple(e);i=i.via)s.push(i);if(!s.length)return"";s.unshift(t);return s.reverse().map(((e,s)=>"\n"+" ".repeat(s+1)+(e==t?"":"via ")+e)).join("")}for(let i=e;i;i=i.via)for(let n=t;n;n=n.via){if(i.eqSimple(n))return"\nShared origin: "+i+s(i,e)+s(i,t)}return""}function ut(e,t,s){let i=e,n=[];for(;;){for(let e=i.pos-1;e>=0;e--)n.push(i.rule.parts[e]);if(!i.via)break;i=i.via}n.reverse();let r=new Set;function l(i,a,o){if(a==n.length&&o&&!i.next)return`\nThe reduction of ${e.rule.name} is allowed before ${t} because of this rule:\n ${o}`;for(let e;e=i.next;){if(a<n.length&&e==n[a]){let e=l(i.advance(),a+1,o);if(e)return e}let u=i.rule.parts[i.pos+1],h=i.pos+1==i.rule.parts.length?o:null;if(u&&(u.terminal?u==t:s[u.name].includes(t)))h=i.advance();for(let t of e.rules){let s=(t.id<<5)+a+(h?555:0);if(!r.has(s)){r.add(s);let n=l(new Le(t,0,[],[],e,i),a,h);if(n)return n}}if(!e.terminal&&s[e.name].includes(null))i=i.advance();else break}return""}return l(i,0,null)}function ht(e,t,s){let i=[],n={};let r={};let l=Date.now();function a(e,t){if(e.length==0)return null;let a=et(e),o=r[a];let u;for(let s of e){if(!u)u=s.skip;else if(u!=s.skip)throw new B("Inconsistent skip sets after "+s.trail())}if(o)for(let s of o)if(He(e,s.set)){if(s.state.skip!=u)throw new B("Inconsistent skip sets after "+s.set[0].trail());return s.state}let h=it(e,s);let f=et(h),c=n[f]||(n[f]=[]);let p;if(!t)for(let s of c)if(s.hasSet(h))p=s;if(!p){p=new st(i.length,h,0,u,f,t);c.push(p);i.push(p);if(Me&&i.length%500==0)console.log(`${i.length} states after ${((Date.now()-l)/1e3).toFixed(2)}s`)}(r[a]||(r[a]=[])).push(new lt(e,p));return p}for(const u of t){const t=u.rules.length?u.rules[0].skip:e.names["%noskip"];a(u.rules.map((s=>new Le(s,0,[e.eof],xt,t,null).finish())),u)}let o=new tt(s);for(let u=0;u<i.length;u++){let e=i[u];let t=[],n=[],r=[];for(let s of e.set){if(s.pos==s.rule.parts.length){if(!s.rule.name.top)r.push(s)}else{let e=s.rule.parts[s.pos];let i=t.indexOf(e);if(i<0){t.push(e);n.push([s])}else{n[i].push(s)}}}for(let s=0;s<t.length;s++){let i=t[s],r=n[s].map((e=>e.advance()));if(i.terminal){let t=ft(r);let l=a(t);if(l)e.addAction(new Ve(i,l),n[s],o)}else{let t=a(r);if(t)e.goto.push(new Ve(i,t))}}let l=false;for(let s of r)for(let t of s.ahead){let i=e.actions.length;e.addAction(new Xe(t,s.rule),[s],o);if(e.actions.length==i)l=true}if(l)for(let i=0;i<e.goto.length;i++){let t=s[e.goto[i].term.name];if(!t.some((t=>e.actions.some((e=>e.term==t&&e instanceof Ve)))))e.goto.splice(i--,1)}}if(o.conflicts.length)throw new B(o.conflicts.map((e=>e.error)).join("\n\n"));for(let u of i)u.finish();if(Me)console.log(`${i.length} states total.`);return i}function ft(e){let t=null,s=1;for(let i of e){let e=i.rule.conflicts[i.pos-1].cut;if(e<s)continue;if(!t||e>s){s=e;t=[]}t.push(i)}return t||e}function ct(e,t,s){for(let n of e.goto)for(let e of t.goto){if(n.term==e.term&&s[n.target.id]!=s[e.target.id])return false}let i=t.actionsByTerm();for(let n of e.actions){let t=i[n.term.id];if(t&&t.some((e=>!e.matches(n,s)))){if(t.length==1)return false;let i=e.actionsByTerm()[n.term.id];if(i.length!=t.length||i.some((e=>!t.some((t=>e.matches(t,s))))))return false}}return true}function pt(e,t){let s=[];for(let i of e){let e=t[i.id];if(!s[e]){s[e]=new st(e,i.set,0,i.skip,i.hash,i.startRule);s[e].tokenGroup=i.tokenGroup;s[e].defaultReduce=i.defaultReduce}}for(let i of e){let e=t[i.id],n=s[e];n.flags|=i.flags;for(let r=0;r<i.actions.length;r++){let e=i.actions[r].map(t,s);if(!n.actions.some((t=>t.eq(e)))){n.actions.push(e);n.actionPositions.push(i.actionPositions[r])}}for(let r of i.goto){let e=r.map(t,s);if(!n.goto.some((t=>t.eq(e))))n.goto.push(e)}}return s}class dt{constructor(e,t){this.origin=e;this.members=[t]}}function mt(e,t){if(e.length!=t.length)return false;for(let s=0;s<e.length;s++)if(!e[s].eqSimple(t[s]))return false;return true}function gt(e){let t=[],s=[];e:for(let n=0;n<e.length;n++){let i=e[n];if(!i.startRule)for(let r=0;r<s.length;r++){let l=s[r],a=e[l.members[0]];if(i.tokenGroup==a.tokenGroup&&i.skip==a.skip&&!a.startRule&&mt(i.set,a.set)){l.members.push(n);t.push(r);continue e}}t.push(s.length);s.push(new dt(s.length,n))}function i(i,n){let r=s[i],l=e[r.members[n]];let a=r.members.pop();if(n!=r.members.length)r.members[n]=a;for(let o=i+1;o<s.length;o++){t[l.id]=o;if(s[o].origin==r.origin&&s[o].members.every((s=>ct(l,e[s],t)))){s[o].members.push(l.id);return}}t[l.id]=s.length;s.push(new dt(r.origin,l.id))}for(let n=1;;n++){let r=false,l=Date.now();for(let n=0,a=s.length;n<a;n++){let l=s[n];for(let s=0;s<l.members.length-1;s++){for(let a=s+1;a<l.members.length;a++){let o=l.members[s],u=l.members[a];if(!ct(e[o],e[u],t)){r=true;i(n,a--)}}}}if(Me)console.log(`Collapse pass ${n}${r?``:`, done`} (${((Date.now()-l)/1e3).toFixed(2)}s)`);if(!r)return pt(e,t)}}function kt(e){for(let t=1;;t++){let s=[],i=false,n=Date.now();let r=[];for(let t=0;t<e.length;t++){let n=e[t];let l=r.findIndex((e=>n.eq(e)));if(l<0){s[t]=r.length;r.push(n)}else{s[t]=l;i=true;let e=r[l],a=null;for(let t of n.set)if(!e.set.some((e=>e.eqSimple(t))))(a||(a=[])).push(t);if(a)e.set=a.concat(e.set).sort(((e,t)=>e.cmp(t)))}}if(Me)console.log(`Merge identical pass ${t}${i?"":", done"} (${((Date.now()-n)/1e3).toFixed(2)}s)`);if(!i)return e;for(let e of r)if(!e.defaultReduce){e.actions=e.actions.map((e=>e.map(s,r)));e.goto=e.goto.map((e=>e.map(s,r)))}for(let e=0;e<r.length;e++)r[e].id=e;e=r}}const xt=[];function bt(e){return kt(gt(e))}function wt(e){let t=e+32;if(t>=34)t++;if(t>=92)t++;return String.fromCharCode(t)}function yt(e,t=65535){if(e>t)throw new Error("Trying to encode a number that's too big: "+e);if(e==65535)return String.fromCharCode(126);let s="";for(let i=46;;i=0){let t=e%46,n=e-t;s=wt(t+i)+s;if(n==0)break;e=n/46}return s}function $t(e,t=65535){let s='"'+yt(e.length,4294967295);for(let i=0;i<e.length;i++)s+=yt(e[i],t);s+='"';return s}const vt=[];class St{constructor(e,t){this.terms=e;this.conflicts=t}concat(e){if(this==St.none)return e;if(e==St.none)return this;let t=null;if(this.conflicts||e.conflicts){t=this.conflicts?this.conflicts.slice():this.ensureConflicts();let s=e.ensureConflicts();t[t.length-1]=t[t.length-1].join(s[0]);for(let e=1;e<s.length;e++)t.push(s[e])}return new St(this.terms.concat(e.terms),t)}withConflicts(e,t){if(t==Y.none)return this;let s=this.conflicts?this.conflicts.slice():this.ensureConflicts();s[e]=s[e].join(t);return new St(this.terms,s)}ensureConflicts(){if(this.conflicts)return this.conflicts;let e=[];for(let t=0;t<=this.terms.length;t++)e.push(Y.none);return e}}St.none=new St(vt,null);function Tt(...e){return new St(e,null)}class Ot{constructor(e,t,s){this.id=e;this.args=t;this.term=s}matches(e){return this.id==e.id.name&&G(e.args,this.args)}matchesRepeat(e){return this.id=="+"&&D(e.expr,this.args[0])}}class Rt{constructor(e,t){this.options=t;this.terms=new L;this.specialized=Object.create(null);this.tokenOrigins=Object.create(null);this.rules=[];this.built=[];this.ruleNames=Object.create(null);this.namespaces=Object.create(null);this.namedTerms=Object.create(null);this.termTable=Object.create(null);this.knownProps=Object.create(null);this.dynamicRulePrecedences=[];this.definedGroups=[];this.astRules=[];this.currentSkip=[];Fe("Parse",(()=>{this.input=new de(e,t.fileName);this.ast=this.input.parse()}));let s=i.NodeProp;for(let n in s){if(s[n]instanceof i.NodeProp&&!s[n].perNode)this.knownProps[n]={prop:s[n],source:{name:n,from:null}}}for(let n of this.ast.externalProps){this.knownProps[n.id.name]={prop:this.options.externalProp?this.options.externalProp(n.id.name):new i.NodeProp,source:{name:n.externalID.name,from:n.source}}}this.dialects=this.ast.dialects.map((e=>e.name));this.tokens=new Mt(this,this.ast.tokens);this.localTokens=this.ast.localTokens.map((e=>new Ft(this,e)));this.externalTokens=this.ast.externalTokens.map((e=>new ns(this,e)));this.externalSpecializers=this.ast.externalSpecializers.map((e=>new rs(this,e)));Fe("Build rules",(()=>{let e=this.newName("%noskip",true);this.defineRule(e,[]);let t=this.ast.mainSkip?this.newName("%mainskip",true):e;let s=[],i=[];for(let n of this.ast.rules)this.astRules.push({skip:t,rule:n});for(let n of this.ast.topRules)i.push({skip:t,rule:n});for(let n of this.ast.scopedSkip){let r=e,l=this.ast.scopedSkip.findIndex(((e,t)=>t<s.length&&D(e.expr,n.expr)));if(l>-1)r=s[l];else if(this.ast.mainSkip&&D(n.expr,this.ast.mainSkip))r=t;else if(!es(n.expr))r=this.newName("%skip",true);s.push(r);for(let e of n.rules)this.astRules.push({skip:r,rule:e});for(let e of n.topRules)i.push({skip:r,rule:e})}for(let{rule:n}of this.astRules){this.unique(n.id)}this.currentSkip.push(e);this.skipRules=t==e?[t]:[e,t];if(t!=e)this.defineRule(t,this.normalizeExpr(this.ast.mainSkip));for(let n=0;n<this.ast.scopedSkip.length;n++){let t=s[n];if(!this.skipRules.includes(t)){this.skipRules.push(t);if(t!=e)this.defineRule(t,this.normalizeExpr(this.ast.scopedSkip[n].expr))}}this.currentSkip.pop();for(let{rule:n,skip:r}of i.sort(((e,t)=>e.rule.start-t.rule.start))){this.unique(n.id);this.used(n.id.name);this.currentSkip.push(r);let{name:e,props:t}=this.nodeInfo(n.props,"a",n.id.name,vt,vt,n.expr);let s=this.terms.makeTop(e,t);this.namedTerms[e]=s;this.defineRule(s,this.normalizeExpr(n.expr));this.currentSkip.pop()}for(let n of this.externalSpecializers)n.finish();for(let{skip:n,rule:r}of this.astRules){if(this.ruleNames[r.id.name]&&ps(r)&&!r.params.length){this.buildRule(r,[],n,false);if(r.expr instanceof R&&r.expr.exprs.length==0)this.used(r.id.name)}}}));for(let i in this.ruleNames){let e=this.ruleNames[i];if(e)this.warn(`Unused rule '${e.name}'`,e.start)}this.tokens.takePrecedences();this.tokens.takeConflicts();for(let i of this.localTokens)i.takePrecedences();for(let{name:i,group:n,rule:r}of this.definedGroups)this.defineGroup(i,n,r);this.checkGroups()}unique(e){if(e.name in this.ruleNames)this.raise(`Duplicate definition of rule '${e.name}'`,e.start);this.ruleNames[e.name]=e}used(e){this.ruleNames[e]=null}newName(e,t=null,s={}){for(let i=t?0:1;;i++){let n=i?`${e}-${i}`:e;if(!this.terms.names[n])return this.terms.makeNonTerminal(n,t===true?null:t,s)}}prepareParser(){let e=Fe("Simplify rules",(()=>os(this.rules,[...this.skipRules,...this.terms.tops])));let{nodeTypes:t,names:s,minRepeatTerm:i,maxTerm:n}=this.terms.finish(e);for(let R in this.namedTerms)this.termTable[R]=this.namedTerms[R].id;if(/\bgrammar\b/.test(Ue))console.log(e.join("\n"));let r=this.terms.tops.slice();let l=rt(this.terms);let a=this.skipRules.map(((e,t)=>{let s=[],i=[],n=[];for(let r of e.rules){if(!r.parts.length)continue;let e=r.parts[0];for(let t of e.terminal?[e]:l[e.name]||[])if(t&&!i.includes(t))i.push(t);if(e.terminal&&r.parts.length==1&&!n.some((t=>t!=r&&t.parts[0]==e)))s.push(e);else n.push(r)}e.rules=n;if(n.length)r.push(e);return{skip:s,rule:n.length?e:null,startTokens:i,id:t}}));let o=Fe("Build full automaton",(()=>ht(this.terms,r,l)));let u=this.localTokens.map(((e,t)=>e.buildLocalGroup(o,a,t)));let{tokenGroups:h,tokenPrec:f,tokenData:c}=Fe("Build token groups",(()=>this.tokens.buildTokenGroups(o,a,u.length)));let p=Fe("Finish automaton",(()=>bt(o)));let d=It(p,this.terms.tops);if(/\blr\b/.test(Ue))console.log(p.join("\n"));let m=[];for(let R of this.externalSpecializers)m.push(R);for(let R in this.specialized)m.push({token:this.terms.names[R],table:At(this.specialized[R])});let g=e=>{if(e instanceof ns)return e.ast.start;return this.tokens.ast?this.tokens.ast.start:-1};let k=h.concat(this.externalTokens).sort(((e,t)=>g(e)-g(t))).concat(u);let x=new qt;let b=a.map((e=>{let t=[];for(let s of e.skip)t.push(s.id,0,262144>>16);if(e.rule){let s=p.find((t=>t.startRule==e.rule));for(let e of s.actions)t.push(e.term.id,s.id,131072>>16)}t.push(65535,0);return x.storeArray(t)}));let w=Fe("Finish states",(()=>{let e=new Uint32Array(p.length*6);let t=this.computeForceReductions(p,a);let s=new jt(k,x,e,b,a,p,this);for(let i of p)s.finish(i,d(i.id),t[i.id]);return e}));let y=Object.create(null);for(let R=0;R<this.dialects.length;R++)y[this.dialects[R]]=x.storeArray((this.tokens.byDialect[R]||vt).map((e=>e.id)).concat(65535));let $=null;if(this.dynamicRulePrecedences.length){$=Object.create(null);for(let{rule:e,prec:t}of this.dynamicRulePrecedences)$[e.id]=t}let v=Object.create(null);for(let R of this.terms.tops)v[R.nodeName]=[p.find((e=>e.startRule==R)).id,R.id];let S=x.storeArray(f.concat(65535));let{nodeProps:T,skippedTypes:O}=this.gatherNodeProps(t);return{states:w,stateData:x.finish(),goto:Dt(p),nodeNames:t.filter((e=>e.id<i)).map((e=>e.nodeName)).join(" "),nodeProps:T,skippedTypes:O,maxTerm:n,repeatNodeCount:t.length-i,tokenizers:k,tokenData:c,topRules:v,dialects:y,dynamicPrecedences:$,specialized:m,tokenPrec:S,termNames:s}}getParser(){let{states:e,stateData:t,goto:s,nodeNames:i,nodeProps:n,skippedTypes:l,maxTerm:a,repeatNodeCount:o,tokenizers:u,tokenData:h,topRules:f,dialects:c,dynamicPrecedences:p,specialized:d,tokenPrec:m,termNames:g}=this.prepareParser();let k=d.map((e=>{if(e instanceof rs){let t=this.options.externalSpecializer(e.ast.id.name,this.termTable);return{term:e.term.id,get:(s,i)=>t(s,i)<<1|(e.ast.type=="extend"?1:0),external:t,extend:e.ast.type=="extend"}}else{return{term:e.token.id,get:t=>e.table[t]||-1}}}));return r.U1.deserialize({version:14,states:e,stateData:t,goto:s,nodeNames:i,maxTerm:a,repeatNodeCount:o,nodeProps:n.map((({prop:e,terms:t})=>[this.knownProps[e].prop,...t])),propSources:!this.options.externalPropSource?undefined:this.ast.externalPropSources.map((e=>this.options.externalPropSource(e.id.name))),skippedNodes:l,tokenData:h,tokenizers:u.map((e=>e.create())),context:!this.ast.context?undefined:typeof this.options.contextTracker=="function"?this.options.contextTracker(this.termTable):this.options.contextTracker,topRules:f,dialects:c,dynamicPrecedences:p,specialized:k,tokenPrec:m,termNames:g})}getParserFile(){let{states:e,stateData:t,goto:s,nodeNames:i,nodeProps:n,skippedTypes:r,maxTerm:l,repeatNodeCount:a,tokenizers:o,tokenData:u,topRules:h,dialects:f,dynamicPrecedences:c,specialized:p,tokenPrec:d,termNames:m}=this.prepareParser();let g=this.options.moduleStyle||"es";let k="// This file was generated by lezer-generator. You probably shouldn't edit it.\n",x=k;let b={},w=Object.create(null);let y=Object.create(null);for(let G of hs)y[G]=true;let $=this.options.exportName||"parser";y[$]=true;let v=e=>{for(let t=0;;t++){let s=e+(t?"_"+t:"");if(!y[s])return s}};let S=(e,t,s=e)=>{let i=e+" from "+t;if(w[i])return w[i];let n=JSON.stringify(t),r=e;if(e in y){r=v(s);e+=`${g=="cjs"?":":" as"} ${r}`}y[r]=true;(b[n]||(b[n]=[])).push(e);return w[i]=r};let T=S("LRParser","@lezer/lr");let O=o.map((e=>e.createSource(S)));let R=this.ast.context?S(this.ast.context.id.name,this.ast.context.source):null;let P=n.map((({prop:e,terms:t})=>{let{source:s}=this.knownProps[e];let i=s.from?S(s.name,s.from):JSON.stringify(s.name);return`[${i}, ${t.map(C).join(",")}]`}));function j(e){return"{__proto__:null,"+Object.keys(e).map((t=>`${/^(\d+|[a-zA-Z_]\w*)$/.test(t)?t:JSON.stringify(t)}:${e[t]}`)).join(", ")+"}"}let N="";let A=p.map((e=>{if(e instanceof rs){let t=S(e.ast.id.name,e.ast.source);let s=this.options.typeScript?": any":"";return`{term: ${e.term.id}, get: (value${s}, stack${s}) => (${t}(value, stack) << 1)${e.ast.type=="extend"?` | ${1}`:""}, external: ${t}${e.ast.type=="extend"?", extend: true":""}}`}else{let t=v("spec_"+e.token.name.replace(/\W/g,""));y[t]=true;N+=`const ${t} = ${j(e.table)}\n`;let s=this.options.typeScript?`: keyof typeof ${t}`:"";return`{term: ${e.token.id}, get: (value${s}) => ${t}[value] || -1}`}}));let z=this.ast.externalPropSources.map((e=>S(e.id.name,e.source)));for(let G in b){if(g=="cjs")x+=`const {${b[G].join(", ")}} = require(${G})\n`;else x+=`import {${b[G].join(", ")}} from ${G}\n`}x+=N;function C(e){return typeof e!="string"||/^(true|false|\d+(\.\d+)?|\.\d+)$/.test(e)?e:JSON.stringify(e)}let I=Object.keys(f).map((e=>`${e}: ${f[e]}`));let q=`${T}.deserialize({\n version: ${14},\n states: ${$t(e,4294967295)},\n stateData: ${$t(t)},\n goto: ${$t(s)},\n nodeNames: ${JSON.stringify(i)},\n maxTerm: ${l}${R?`,\n context: ${R}`:""}${P.length?`,\n nodeProps: [\n ${P.join(",\n ")}\n ]`:""}${z.length?`,\n propSources: [${z.join()}]`:""}${r.length?`,\n skippedNodes: ${JSON.stringify(r)}`:""},\n repeatNodeCount: ${a},\n tokenData: ${$t(u)},\n tokenizers: [${O.join(", ")}],\n topRules: ${JSON.stringify(h)}${I.length?`,\n dialects: {${I.join(", ")}}`:""}${c?`,\n dynamicPrecedences: ${JSON.stringify(c)}`:""}${A.length?`,\n specialized: [${A.join(",")}]`:""},\n tokenPrec: ${d}${this.options.includeNames?`,\n termNames: ${JSON.stringify(m)}`:""}\n})`;let D=[];for(let G in this.termTable){let e=G;if(hs.includes(e))for(let t=1;;t++){e="_".repeat(t)+G;if(!(e in this.termTable))break}else if(!/^[\w$]+$/.test(G)){continue}D.push(`${e}${g=="cjs"?":":" ="} ${this.termTable[G]}`)}for(let G=0;G<this.dialects.length;G++)D.push(`Dialect_${this.dialects[G]}${g=="cjs"?":":" ="} ${G}`);return{parser:x+(g=="cjs"?`exports.${$} = ${q}\n`:`export const ${$} = ${q}\n`),terms:g=="cjs"?`${k}module.exports = {\n ${D.join(",\n ")}\n}`:`${k}export const\n ${D.join(",\n ")}\n`}}gatherNonSkippedNodes(){let e=Object.create(null);let t=[];let s=s=>{if(!e[s.id]){e[s.id]=true;t.push(s)}};this.terms.tops.forEach(s);for(let i=0;i<t.length;i++){for(let e of t[i].rules)for(let t of e.parts)s(t)}return e}gatherNodeProps(e){let t=this.gatherNonSkippedNodes(),s=[];let i=[];for(let n of e){if(!t[n.id]&&!n.error)s.push(n.id);for(let e in n.props){let t=this.knownProps[e];if(!t)throw new B("No known prop type for "+e);if(t.source.from==null&&(t.source.name=="repeated"||t.source.name=="error"))continue;let s=i.find((t=>t.prop==e));if(!s)i.push(s={prop:e,values:{}});(s.values[n.props[e]]||(s.values[n.props[e]]=[])).push(n.id)}}return{nodeProps:i.map((({prop:e,values:t})=>{let s=[];for(let i in t){let e=t[i];if(e.length==1){s.push(e[0],i)}else{s.push(-e.length);for(let t of e)s.push(t);s.push(i)}}return{prop:e,terms:s}})),skippedTypes:s}}makeTerminal(e,t,s){return this.terms.makeTerminal(this.terms.uniqueName(e),t,s)}computeForceReductions(e,t){let s=[];let i=[];let n=Object.create(null);for(let a of e){s.push(0);for(let e of a.goto){let t=n[e.term.id]||(n[e.term.id]=[]);let s=t.find((t=>t.target==e.target.id));if(s)s.parents.push(a.id);else t.push({parents:[a.id],target:e.target.id})}i[a.id]=a.set.filter((e=>e.pos>0&&!e.rule.name.top)).sort(((e,t)=>t.pos-e.pos||e.rule.parts.length-t.rule.parts.length))}let r=Object.create(null);function l(e,t,s=null){let i=n[e];if(!i)return false;return i.some((e=>{let i=s?s.filter((t=>e.parents.includes(t))):e.parents;if(i.length==0)return false;if(e.target==t)return true;let n=r[e.target];return n!=null&&l(n,t,i)}))}for(let a of e){if(a.defaultReduce&&a.defaultReduce.parts.length>0){s[a.id]=zt(a.defaultReduce,t);if(a.defaultReduce.parts.length==1)r[a.id]=a.defaultReduce.name.id}}for(let a=1;;a++){let n=true;for(let o of e){if(o.defaultReduce)continue;let e=i[o.id];if(e.length!=a){if(e.length>a)n=false;continue}for(let i of e){if(i.pos!=1||!l(i.rule.name.id,o.id)){s[o.id]=zt(i.rule,t,i.pos);if(i.pos==1)r[o.id]=i.rule.name.id;break}}}if(n)break}return s}substituteArgs(e,t,s){if(t.length==0)return e;return e.walk((e=>{let i;if(e instanceof v&&(i=s.findIndex((t=>t.name==e.id.name)))>-1){let s=t[i];if(e.args.length){if(s instanceof v&&!s.args.length)return new v(e.start,s.id,e.args);this.raise(`Passing arguments to a parameter that already has arguments`,e.start)}return s}else if(e instanceof T){let i=e.rule,n=this.substituteArgsInProps(i.props,t,s);return n==i.props?e:new T(e.start,new u(i.start,i.id,n,i.params,i.expr))}else if(e instanceof S){let i=this.substituteArgsInProps(e.props,t,s);return i==e.props?e:new S(e.start,e.type,i,e.token,e.content)}return e}))}substituteArgsInProps(e,t,s){let i=e=>{let i=e;for(let n=0;n<e.length;n++){let r=e[n];if(!r.name)continue;let l=s.findIndex((e=>e.name==r.name));if(l<0)continue;if(i==e)i=e.slice();let a=t[l];if(a instanceof v&&!a.args.length)i[n]=new J(r.start,a.id.name,null);else if(a instanceof N)i[n]=new J(r.start,a.value,null);else this.raise(`Trying to interpolate expression '${a}' into a prop`,r.start)}return i};let n=e;for(let r=0;r<e.length;r++){let t=e[r],s=i(t.value);if(s!=t.value){if(n==e)n=e.slice();n[r]=new E(t.start,t.at,t.name,s)}}return n}conflictsFor(e){let t=Y.none,s=Y.none;for(let i of e){if(i.type=="ambig"){t=t.join(new Y(0,[i.id.name]))}else{let e=this.ast.precedences;let n=e?e.items.findIndex((e=>e.id.name==i.id.name)):-1;if(n<0)this.raise(`Reference to unknown precedence: '${i.id.name}'`,i.id.start);let r=e.items[n],l=e.items.length-n;if(r.type=="cut"){t=t.join(new Y(0,vt,l))}else{t=t.join(new Y(l<<2));s=s.join(new Y((l<<2)+(r.type=="left"?1:r.type=="right"?-1:0)))}}}return{here:t,atEnd:s}}raise(e,t=1){return this.input.raise(e,t)}warn(e,t=-1){let s=this.input.message(e,t);if(this.options.warn)this.options.warn(s);else console.warn(s)}defineRule(e,t){let s=this.currentSkip[this.currentSkip.length-1];for(let i of t)this.rules.push(new Q(e,i.terms,i.ensureConflicts(),s))}resolve(e){for(let i of this.built)if(i.matches(e))return[Tt(i.term)];let t=this.tokens.getToken(e);if(t)return[Tt(t)];for(let i of this.localTokens){let t=i.getToken(e);if(t)return[Tt(t)]}for(let i of this.externalTokens){let t=i.getToken(e);if(t)return[Tt(t)]}for(let i of this.externalSpecializers){let t=i.getToken(e);if(t)return[Tt(t)]}let s=this.astRules.find((t=>t.rule.id.name==e.id.name));if(!s)return this.raise(`Reference to undefined rule '${e.id.name}'`,e.start);if(s.rule.params.length!=e.args.length)this.raise(`Wrong number or arguments for '${e.id.name}'`,e.start);this.used(s.rule.id.name);return[Tt(this.buildRule(s.rule,e.args,s.skip))]}normalizeRepeat(e){let t=this.built.find((t=>t.matchesRepeat(e)));if(t)return Tt(t.term);let s=e.expr.prec<e.prec?`(${e.expr})+`:`${e.expr}+`;let i=this.terms.makeRepeat(this.terms.uniqueName(s));this.built.push(new Ot("+",[e.expr],i));this.defineRule(i,this.normalizeExpr(e.expr).concat(Tt(i,i)));return Tt(i)}normalizeSequence(e){let t=e.exprs.map((e=>this.normalizeExpr(e)));let s=this;function i(n,r,l){let{here:a,atEnd:o}=s.conflictsFor(e.markers[r]);if(r==t.length)return[n.withConflicts(n.terms.length,a.join(l))];let u=[];for(let e of t[r]){for(let t of i(n.concat(e).withConflicts(n.terms.length,a),r+1,l.join(o)))u.push(t)}return u}return i(St.none,0,Y.none)}normalizeExpr(e){if(e instanceof j&&e.kind=="?"){return[St.none,...this.normalizeExpr(e.expr)]}else if(e instanceof j){let t=this.normalizeRepeat(e);return e.kind=="+"?[t]:[St.none,t]}else if(e instanceof O){return e.exprs.reduce(((e,t)=>e.concat(this.normalizeExpr(t))),[])}else if(e instanceof R){return this.normalizeSequence(e)}else if(e instanceof N){return[Tt(this.tokens.getLiteral(e))]}else if(e instanceof v){return this.resolve(e)}else if(e instanceof S){return[Tt(this.resolveSpecialization(e))]}else if(e instanceof T){return[Tt(this.buildRule(e.rule,vt,this.currentSkip[this.currentSkip.length-1],true))]}else{return this.raise(`This type of expression ('${e}') may not occur in non-token rules`,e.start)}}buildRule(e,t,s,i=false){let n=this.substituteArgs(e.expr,t,e.params);let{name:r,props:l,dynamicPrec:a,inline:o,group:u,exported:h}=this.nodeInfo(e.props||vt,i?"pg":"pgi",e.id.name,t,e.params,e.expr);if(h&&e.params.length)this.warn(`Can't export parameterized rules`,e.start);if(h&&i)this.warn(`Can't export inline rule`,e.start);let f=this.newName(e.id.name+(t.length?"<"+t.join(",")+">":""),r||true,l);if(o)f.inline=true;if(a)this.registerDynamicPrec(f,a);if((f.nodeType||h)&&e.params.length==0){if(!r)f.preserve=true;if(!i)this.namedTerms[h||e.id.name]=f}if(!i)this.built.push(new Ot(e.id.name,t,f));this.currentSkip.push(s);let c=this.normalizeExpr(n);if(c.length>100*(n instanceof O?n.exprs.length:1))this.warn(`Rule ${e.id.name} is generating a lot (${c.length}) of choices.\n Consider splitting it up or reducing the amount of ? or | operator uses.`,e.start);if(/\brulesize\b/.test(Ue)&&c.length>10)console.log(`Rule ${e.id.name}: ${c.length} variants`);this.defineRule(f,c);this.currentSkip.pop();if(u)this.definedGroups.push({name:f,group:u,rule:e});return f}nodeInfo(e,t,s=null,i=vt,n=vt,r,l){let a={};let o=s&&(t.indexOf("a")>-1||!cs(s))&&!/ /.test(s)?s:null;let u=null,h=0,f=false,c=null,p=null;for(let d of e){if(!d.at){if(!this.knownProps[d.name]){let e=["name","dialect","dynamicPrecedence","export","isGroup"].includes(d.name)?` (did you mean '@${d.name}'?)`:"";this.raise(`Unknown prop name '${d.name}'${e}`,d.start)}a[d.name]=this.finishProp(d,i,n)}else if(d.name=="name"){o=this.finishProp(d,i,n);if(/ /.test(o))this.raise(`Node names cannot have spaces ('${o}')`,d.start)}else if(d.name=="dialect"){if(t.indexOf("d")<0)this.raise("Can't specify a dialect on non-token rules",e[0].start);if(d.value.length!=1&&!d.value[0].value)this.raise("The '@dialect' rule prop must hold a plain string value");let s=this.dialects.indexOf(d.value[0].value);if(s<0)this.raise(`Unknown dialect '${d.value[0].value}'`,d.value[0].start);u=s}else if(d.name=="dynamicPrecedence"){if(t.indexOf("p")<0)this.raise("Dynamic precedence can only be specified on nonterminals");if(d.value.length!=1||!/^-?(?:10|\d)$/.test(d.value[0].value))this.raise("The '@dynamicPrecedence' rule prop must hold an integer between -10 and 10");h=+d.value[0].value}else if(d.name=="inline"){if(d.value.length)this.raise("'@inline' doesn't take a value",d.value[0].start);if(t.indexOf("i")<0)this.raise("Inline can only be specified on nonterminals");f=true}else if(d.name=="isGroup"){if(t.indexOf("g")<0)this.raise("'@isGroup' can only be specified on nonterminals");c=d.value.length?this.finishProp(d,i,n):s}else if(d.name=="export"){if(d.value.length)p=this.finishProp(d,i,n);else p=s}else{this.raise(`Unknown built-in prop name '@${d.name}'`,d.start)}}if(r&&this.ast.autoDelim&&(o||U(a))){let e=this.findDelimiters(r);if(e){Nt(e[0],"closedBy",e[1].nodeName);Nt(e[1],"openedBy",e[0].nodeName)}}if(l&&U(l)){for(let e in l)if(!(e in a))a[e]=l[e]}if(U(a)&&!o)this.raise(`Node has properties but no name`,e.length?e[0].start:r.start);if(f&&(U(a)||u||h))this.raise(`Inline nodes can't have props, dynamic precedence, or a dialect`,e[0].start);if(f&&o)o=null;return{name:o,props:a,dialect:u,dynamicPrec:h,inline:f,group:c,exported:p}}finishProp(e,t,s){return e.value.map((e=>{if(e.value)return e.value;let i=s.findIndex((t=>t.name==e.name));if(i<0)this.raise(`Property refers to '${e.name}', but no parameter by that name is in scope`,e.start);let n=t[i];if(n instanceof v&&!n.args.length)return n.id.name;if(n instanceof N)return n.value;return this.raise(`Expression '${n}' can not be used as part of a property value`,e.start)})).join("")}resolveSpecialization(e){let t=e.type;let{name:s,props:i,dialect:n,exported:r}=this.nodeInfo(e.props,"d");let l=this.normalizeExpr(e.token);if(l.length!=1||l[0].terms.length!=1||!l[0].terms[0].terminal)this.raise(`The first argument to '${t}' must resolve to a token`,e.token.start);let a;if(e.content instanceof N)a=[e.content.value];else if(e.content instanceof O&&e.content.exprs.every((e=>e instanceof N)))a=e.content.exprs.map((e=>e.value));else return this.raise(`The second argument to '${e.type}' must be a literal or choice of literals`,e.content.start);let o=l[0].terms[0],u=null;let h=this.specialized[o.name]||(this.specialized[o.name]=[]);for(let f of a){let l=h.find((e=>e.value==f));if(l==null){if(!u){u=this.makeTerminal(o.name+"/"+JSON.stringify(f),s,i);if(n!=null)(this.tokens.byDialect[n]||(this.tokens.byDialect[n]=[])).push(u)}h.push({value:f,term:u,type:t,dialect:n,name:s});this.tokenOrigins[u.name]={spec:o};if(s||r){if(!s)u.preserve=true;this.namedTerms[r||s]=u}}else{if(l.type!=t)this.raise(`Conflicting specialization types for ${JSON.stringify(f)} of ${o.name} (${t} vs ${l.type})`,e.start);if(l.dialect!=n)this.raise(`Conflicting dialects for specialization ${JSON.stringify(f)} of ${o.name}`,e.start);if(l.name!=s)this.raise(`Conflicting names for specialization ${JSON.stringify(f)} of ${o.name}`,e.start);if(u&&l.term!=u)this.raise(`Conflicting specialization tokens for ${JSON.stringify(f)} of ${o.name}`,e.start);u=l.term}}return u}findDelimiters(e){if(!(e instanceof R)||e.exprs.length<2)return null;let t=e=>{if(e instanceof N)return{term:this.tokens.getLiteral(e),str:e.value};if(e instanceof v&&e.args.length==0){let s=this.ast.rules.find((t=>t.id.name==e.id.name));if(s)return t(s.expr);let i=this.tokens.rules.find((t=>t.id.name==e.id.name));if(i&&i.expr instanceof N)return{term:this.tokens.getToken(e),str:i.expr.value}}return null};let s=t(e.exprs[e.exprs.length-1]);if(!s||!s.term.nodeName)return null;const i=["()","[]","{}","<>"];let n=i.find((e=>s.str.indexOf(e[1])>-1&&s.str.indexOf(e[0])<0));if(!n)return null;let r=t(e.exprs[0]);if(!r||!r.term.nodeName||r.str.indexOf(n[0])<0||r.str.indexOf(n[1])>-1)return null;return[r.term,s.term]}registerDynamicPrec(e,t){this.dynamicRulePrecedences.push({rule:e,prec:t});e.preserve=true}defineGroup(e,t,s){var i;let n=[];let r=e=>{if(e.nodeName)return[e];if(n.includes(e))this.raise(`Rule '${s.id.name}' cannot define a group because it contains a non-named recursive rule ('${e.name}')`,s.start);let t=[];n.push(e);for(let i of this.rules)if(i.name==e){let e=i.parts.map(r).filter((e=>e.length));if(e.length>1)this.raise(`Rule '${s.id.name}' cannot define a group because some choices produce multiple named nodes`,s.start);if(e.length==1)for(let s of e[0])t.push(s)}n.pop();return t};for(let l of r(e))l.props["group"]=(((i=l.props["group"])===null||i===void 0?void 0:i.split(" "))||[]).concat(t).sort().join(" ")}checkGroups(){let e=Object.create(null),t=Object.create(null);for(let i of this.terms.terms)if(i.nodeName){t[i.nodeName]=true;if(i.props["group"])for(let t of i.props["group"].split(" ")){(e[t]||(e[t]=[])).push(i)}}let s=Object.keys(e);for(let i=0;i<s.length;i++){let n=s[i],r=e[n];if(t[n])this.warn(`Group name '${n}' conflicts with a node of the same name`);for(let t=i+1;t<s.length;t++){let i=e[s[t]];if(r.some((e=>i.includes(e)))&&(r.length>i.length?i.some((e=>!r.includes(e))):r.some((e=>!i.includes(e)))))this.warn(`Groups '${n}' and '${s[t]}' overlap without one being a superset of the other`)}}}}const Pt=5;class jt{constructor(e,t,s,i,n,r,l){this.tokenizers=e;this.data=t;this.stateArray=s;this.skipData=i;this.skipInfo=n;this.states=r;this.builder=l;this.sharedActions=[]}findSharedActions(e){if(e.actions.length<Pt)return null;let t=null;for(let r of this.sharedActions){if((!t||r.actions.length>t.actions.length)&&r.actions.every((t=>e.actions.some((e=>e.eq(t))))))t=r}if(t)return t;let s=null,i=[];for(let r=e.id+1;r<this.states.length;r++){let t=this.states[r],n=0;if(t.defaultReduce||t.actions.length<Pt)continue;for(let s of e.actions)for(let e of t.actions)if(s.eq(e))i[n++]=s;if(n>=Pt&&(!s||s.length<n)){s=i;i=[]}}if(!s)return null;let n={actions:s,addr:this.storeActions(s,-1,null)};this.sharedActions.push(n);return n}storeActions(e,t,s){if(t<0&&s&&s.actions.length==e.length)return s.addr;let i=[];for(let n of e){if(s&&s.actions.some((e=>e.eq(n))))continue;if(n instanceof Ve){i.push(n.term.id,n.target.id,0)}else{let e=zt(n.rule,this.skipInfo);if(e!=t)i.push(n.term.id,e&65535,e>>16)}}i.push(65535);if(t>-1)i.push(2,t&65535,t>>16);else if(s)i.push(1,s.addr&65535,s.addr>>16);else i.push(0);return this.data.storeArray(i)}finish(e,t,s){let i=this.builder;let n=i.skipRules.indexOf(e.skip);let r=this.skipData[n],l=this.skipInfo[n].startTokens;let a=e.defaultReduce?zt(e.defaultReduce,this.skipInfo):0;let o=t?1:0;let u=-1,h=null;if(a==0){if(t)for(const t of e.actions)if(t instanceof Xe&&t.term.eof)u=zt(t.rule,this.skipInfo);if(u<0)h=this.findSharedActions(e)}if(e.set.some((e=>e.rule.name.top&&e.pos==e.rule.parts.length)))o|=2;let f=[];for(let d=0;d<e.actions.length+l.length;d++){let t=d<e.actions.length?e.actions[d].term:l[d-e.actions.length];for(;;){let e=i.tokenOrigins[t.name];if(e&&e.spec){t=e.spec;continue}if(e&&e.external instanceof ns)Et(f,e.external);break}}let c=0;for(let d=0;d<this.tokenizers.length;d++){let t=this.tokenizers[d];if(f.includes(t)||t.groupID==e.tokenGroup)c|=1<<d}let p=e.id*6;this.stateArray[p+0]=o;this.stateArray[p+1]=this.storeActions(a?vt:e.actions,u,h);this.stateArray[p+2]=r;this.stateArray[p+3]=c;this.stateArray[p+4]=a;this.stateArray[p+5]=s}}function Nt(e,t,s){let i=e.props[t];if(!i||i.split(" ").indexOf(s)<0)e.props[t]=i?i+" "+s:s}function At(e){let t=Object.create(null);for(let{value:s,term:i,type:n}of e){let e=n=="specialize"?0:1;t[s]=i.id<<1|e}return t}function zt(e,t,s=e.parts.length){return e.name.id|65536|(e.isRepeatWrap&&s==e.parts.length?131072:0)|(t.some((t=>t.rule==e.name))?262144:0)|s<<19}function Ct(e,t){e:for(let s=0;;){let i=e.indexOf(t[0],s);if(i==-1||i+t.length>e.length)break;for(let n=1;n<t.length;n++){if(t[n]!=e[i+n]){s=i+1;continue e}}return i}return-1}function It(e,t){let s=Object.create(null);let i=[];let n=e=>{if(!s[e.id]){s[e.id]=true;i.push(e)}};for(let r of e)if(r.startRule&&t.includes(r.startRule))n(r);for(let r=0;r<i.length;r++){for(let e of i[r].actions)if(e instanceof Ve)n(e.target);for(let e of i[r].goto)n(e.target)}return e=>!s[e]}class qt{constructor(){this.data=[]}storeArray(e){let t=Ct(this.data,e);if(t>-1)return t;let s=this.data.length;for(let i of e)this.data.push(i);return s}finish(){return Uint16Array.from(this.data)}}function Dt(e){let t={};let s=0;for(let l of e){for(let e of l.goto){s=Math.max(e.term.id,s);let i=t[e.term.id]||(t[e.term.id]={});(i[e.target.id]||(i[e.target.id]=[])).push(l.id)}}let i=new qt;let n=[];let r=s+2;for(let l=0;l<=s;l++){let e=t[l];if(!e){n.push(1);continue}let s=[];let a=Object.keys(e);for(let t of a){let i=e[t];s.push((t==a[a.length-1]?1:0)+(i.length<<1));s.push(+t);for(let e of i)s.push(e)}n.push(i.storeArray(s)+r)}if(n.some((e=>e>65535)))throw new B("Goto table too large");return Uint16Array.from([s+1,...n,...i.data])}class Gt{constructor(e,t){this.tokens=e;this.groupID=t}create(){return this.groupID}createSource(){return String(this.groupID)}}function Et(e,t){if(!e.includes(t))e.push(t)}function Jt(e){let t=Object.create(null);for(let s of e){let e=1<<s.groupID;for(let i of s.tokens){t[i.id]=(t[i.id]||0)|e}}return t}class _t{constructor(e,t,s){this.name=e;this.expr=t;this.scope=s}}class Bt{constructor(e,t,s,i){this.name=e;this.start=t;this.to=s;this.args=i}}class Ut{constructor(e,t){this.b=e;this.ast=t;this.startState=new re;this.built=[];this.building=[];this.byDialect=Object.create(null);this.precedenceRelations=[];this.rules=t?t.rules:vt;for(let s of this.rules)e.unique(s.id)}getToken(e){for(let o of this.built)if(o.matches(e))return o.term;let t=e.id.name;let s=this.rules.find((e=>e.id.name==t));if(!s)return null;let{name:i,props:n,dialect:r,exported:l}=this.b.nodeInfo(s.props,"d",t,e.args,s.params.length!=e.args.length?vt:s.params);let a=this.b.makeTerminal(e.toString(),i,n);if(r!=null)(this.byDialect[r]||(this.byDialect[r]=[])).push(a);if((a.nodeType||l)&&s.params.length==0){if(!a.nodeType)a.preserve=true;this.b.namedTerms[l||t]=a}this.buildRule(s,e,this.startState,new re([a]));this.built.push(new Ot(t,e.args,a));return a}buildRule(e,t,s,i,n=vt){let r=t.id.name;if(e.params.length!=t.args.length)this.b.raise(`Incorrect number of arguments for token '${r}'`,t.start);let l=this.building.find((e=>e.name==r&&G(t.args,e.args)));if(l){if(l.to==i){s.nullEdge(l.start);return}let e=this.building.length-1;while(this.building[e].name!=r)e--;this.b.raise(`Invalid (non-tail) recursion in token rules: ${this.building.slice(e).map((e=>e.name)).join(" -> ")}`,t.start)}this.b.used(e.id.name);let a=new re;s.nullEdge(a);this.building.push(new Bt(r,a,i,t.args));this.build(this.b.substituteArgs(e.expr,t.args,e.params),a,i,t.args.map(((t,s)=>new _t(e.params[s].name,t,n))));this.building.pop()}build(e,t,s,i){if(e instanceof v){let n=e.id.name,r=i.find((e=>e.name==n));if(r)return this.build(r.expr,t,s,r.scope);let l;for(let e=0,t=this.b.localTokens;e<=t.length;e++){let s=e==t.length?this.b.tokens:t[e];l=s.rules.find((e=>e.id.name==n))}if(!l)return this.b.raise(`Reference to token rule '${e.id.name}', which isn't found`,e.start);this.buildRule(l,e,t,s,i)}else if(e instanceof q){for(let[i,n]of I[e.type])t.edge(i,n,s)}else if(e instanceof O){for(let n of e.exprs)this.build(n,t,s,i)}else if(es(e)){t.nullEdge(s)}else if(e instanceof R){let n=e.markers.find((e=>e.length>0));if(n)this.b.raise("Conflict marker in token expression",n[0].start);for(let r=0;r<e.exprs.length;r++){let n=r==e.exprs.length-1?s:new re;this.build(e.exprs[r],t,n,i);t=n}}else if(e instanceof j){if(e.kind=="*"){let n=new re;t.nullEdge(n);this.build(e.expr,n,n,i);n.nullEdge(s)}else if(e.kind=="+"){let n=new re;this.build(e.expr,t,n,i);this.build(e.expr,n,n,i);n.nullEdge(s)}else{t.nullEdge(s);this.build(e.expr,t,s,i)}}else if(e instanceof A){for(let[i,n]of e.inverted?Wt(e.ranges):e.ranges)Xt(t,s,i,n)}else if(e instanceof N){for(let i=0;i<e.value.length;i++){let n=e.value.charCodeAt(i);let r=i==e.value.length-1?s:new re;t.edge(n,n+1,r);t=r}}else if(e instanceof z){let e=new re;t.edge(0,56320,s);t.edge(56320,V+1,s);t.edge(55296,56320,e);e.edge(56320,57344,s)}else{return this.b.raise(`Unrecognized expression type in token`,e.start)}}takePrecedences(){let e=this.precedenceRelations=[];if(this.ast)for(let t of this.ast.precedences){let s=[];for(let i of t.items){let t=[];if(i instanceof v){for(let e of this.built)if(i.args.length?e.matches(i):e.id==i.id.name)t.push(e.term)}else{let e=JSON.stringify(i.value),s=this.built.find((t=>t.id==e));if(s)t.push(s.term)}if(!t.length)this.b.warn(`Precedence specified for unknown token ${i}`,i.start);for(let i of t)is(e,i,s);s=s.concat(t)}}}precededBy(e,t){let s=this.precedenceRelations.find((t=>t.term==e));return s&&s.after.includes(t)}buildPrecTable(e){let t=[],s=this.precedenceRelations.slice();for(let{a:i,b:n,soft:r}of e)if(r){if(!s.some((e=>e.term==i))||!s.some((e=>e.term==n)))continue;if(r<0)[i,n]=[n,i];is(s,n,[i]);is(s,i,[])}e:while(s.length){for(let e=0;e<s.length;e++){let i=s[e];if(i.after.every((e=>t.includes(e.id)))){t.push(i.term.id);if(s.length==1)break e;s[e]=s.pop();continue e}}this.b.raise(`Cyclic token precedence relation between ${s.map((e=>e.term)).join(", ")}`)}return t}}class Mt extends Ut{constructor(){super(...arguments);this.explicitConflicts=[]}getLiteral(e){let t=JSON.stringify(e.value);for(let o of this.built)if(o.id==t)return o.term;let s=null,i={},n=null,r=null;let l=this.ast?this.ast.literals.find((t=>t.literal==e.value)):null;if(l)({name:s,props:i,dialect:n,exported:r}=this.b.nodeInfo(l.props,"da",e.value));let a=this.b.makeTerminal(t,s,i);if(n!=null)(this.byDialect[n]||(this.byDialect[n]=[])).push(a);if(r)this.b.namedTerms[r]=a;this.build(e,this.startState,new re([a]),vt);this.built.push(new Ot(t,vt,a));return a}takeConflicts(){var e;let t=e=>{if(e instanceof v){for(let t of this.built)if(t.matches(e))return t.term}else{let t=JSON.stringify(e.value),s=this.built.find((e=>e.id==t));if(s)return s.term}this.b.warn(`Precedence specified for unknown token ${e}`,e.start);return null};for(let s of((e=this.ast)===null||e===void 0?void 0:e.conflicts)||[]){let e=t(s.a),i=t(s.b);if(e&&i){if(e.id<i.id)[e,i]=[i,e];this.explicitConflicts.push({a:e,b:i})}}}buildTokenGroups(e,t,s){let i=this.startState.compile();if(i.accepting.length)this.b.raise(`Grammar contains zero-length tokens (in '${i.accepting[0].name}')`,this.rules.find((e=>e.id.name==i.accepting[0].name)).start);if(/\btokens\b/.test(Ue))console.log(i.toString());let n=i.findConflicts(Lt(e,this.b,t)).filter((({a:e,b:t})=>!this.precededBy(e,t)&&!this.precededBy(t,e)));for(let{a:h,b:f}of this.explicitConflicts){if(!n.some((e=>e.a==h&&e.b==f)))n.push(new le(h,f,0,"",""))}let r=n.filter((e=>e.soft)),l=n.filter((e=>!e.soft));let a=[];let o=[];for(let h of e){if(h.defaultReduce||h.tokenGroup>-1)continue;let e=[],i=[];let n=t[this.b.skipRules.indexOf(h.skip)].startTokens;for(let t of n)if(h.actions.some((e=>e.term==t)))this.b.raise(`Use of token ${t.name} conflicts with skip rule`);let r=[];for(let t=0;t<h.actions.length+(n?n.length:0);t++){let e=t<h.actions.length?h.actions[t].term:n[t-h.actions.length];let s=this.b.tokenOrigins[e.name];if(s&&s.spec)e=s.spec;else if(s&&s.external)continue;Et(r,e)}if(r.length==0)continue;for(let t of r){for(let s of l){let n=s.a==t?s.b:s.b==t?s.a:null;if(!n)continue;if(r.includes(n)&&!a.some((e=>e.conflict==s))){let e=s.exampleA?` (example: ${JSON.stringify(s.exampleA)}${s.exampleB?` vs ${JSON.stringify(s.exampleB)}`:""})`:"";a.push({error:`Overlapping tokens ${t.name} and ${n.name} used in same context${e}\n`+`After: ${h.set[0].trail()}`,conflict:s})}Et(e,t);Et(i,n)}}let u=null;for(let t of o){if(i.some((e=>t.tokens.includes(e))))continue;for(let s of e)Et(t.tokens,s);u=t;break}if(!u){u=new Gt(e,o.length+s);o.push(u)}h.tokenGroup=u.groupID}if(a.length)this.b.raise(a.map((e=>e.error)).join("\n\n"));if(o.length+s>16)this.b.raise(`Too many different token groups (${o.length}) to represent them as a 16-bit bitfield`);let u=this.buildPrecTable(r);return{tokenGroups:o,tokenPrec:u,tokenData:i.toArray(Jt(o),u)}}}class Ft extends Ut{constructor(e,t){super(e,t);this.fallback=null;if(t.fallback)e.unique(t.fallback.id)}getToken(e){let t=null;if(this.ast.fallback&&this.ast.fallback.id.name==e.id.name){if(e.args.length)this.b.raise(`Incorrect number of arguments for ${e.id.name}`,e.start);if(!this.fallback){let{name:t,props:s,exported:i}=this.b.nodeInfo(this.ast.fallback.props,"",e.id.name,vt,vt);let n=this.fallback=this.b.makeTerminal(e.id.name,t,s);if(n.nodeType||i){if(!n.nodeType)n.preserve=true;this.b.namedTerms[i||e.id.name]=n}this.b.used(e.id.name)}t=this.fallback}else{t=super.getToken(e)}if(t&&!this.b.tokenOrigins[t.name])this.b.tokenOrigins[t.name]={group:this};return t}buildLocalGroup(e,t,s){let i=this.startState.compile();if(i.accepting.length)this.b.raise(`Grammar contains zero-length tokens (in '${i.accepting[0].name}')`,this.rules.find((e=>e.id.name==i.accepting[0].name)).start);for(let{a:r,b:u,exampleA:h}of i.findConflicts((()=>true))){if(!this.precededBy(r,u)&&!this.precededBy(u,r))this.b.raise(`Overlapping tokens ${r.name} and ${u.name} in local token group${h?` (example: ${JSON.stringify(h)})`:""}`)}for(let r of e){if(r.defaultReduce)continue;let e=null;let i=t[this.b.skipRules.indexOf(r.skip)].startTokens[0];for(let{term:t}of r.actions){let s=this.b.tokenOrigins[t.name];if((s===null||s===void 0?void 0:s.group)==this)e=t;else i=t}if(e){if(i)this.b.raise(`Tokens from a local token group used together with other tokens (${e.name} with ${i.name})`);r.tokenGroup=s}}let n=this.buildPrecTable(vt);let l=i.toArray({[s]:65535},n);let a=l.length;let o=new Uint16Array(l.length+n.length+1);o.set(l,0);o.set(n,a);o[o.length-1]=65535;return{groupID:s,create:()=>new r.uC(o,a,this.fallback?this.fallback.id:undefined),createSource:e=>`new ${e("LocalTokenGroup","@lezer/lr")}(${$t(o)}, ${a}${this.fallback?`, ${this.fallback.id}`:""})`}}}function Lt(e,t,s){let i=Object.create(null);function n(e,i){return e.actions.some((e=>e.term==i))||s[t.skipRules.indexOf(e.skip)].startTokens.includes(i)}return(t,s)=>{if(t.id<s.id)[t,s]=[s,t];let r=t.id|s.id<<16,l=i[r];if(l!=null)return l;return i[r]=e.some((e=>n(e,t)&&n(e,s)))}}function Wt(e){let t=0,s=[];for(let[i,n]of e){if(i>t)s.push([t,i]);t=n}if(t<=Ht)s.push([t,Ht+1]);return s}const Kt=65536,Yt=55296,Zt=57344,Ht=1114111;const Qt=56320,Vt=57343;function Xt(e,t,s,i){if(s<Kt){if(s<Yt)e.edge(s,Math.min(i,Yt),t);if(i>Zt)e.edge(Math.max(s,Zt),Math.min(i,V+1),t);s=Kt}if(i<=Kt)return;let n=String.fromCodePoint(s),r=String.fromCodePoint(i-1);let l=n.charCodeAt(0),a=n.charCodeAt(1);let o=r.charCodeAt(0),u=r.charCodeAt(1);if(l==o){let s=new re;e.edge(l,l+1,s);s.edge(a,u+1,t)}else{let s=l,i=o;if(a>Qt){s++;let i=new re;e.edge(l,l+1,i);i.edge(a,Vt+1,t)}if(u<Vt){i--;let s=new re;e.edge(o,o+1,s);s.edge(Qt,u+1,t)}if(s<=i){let n=new re;e.edge(s,i+1,n);n.edge(Qt,Vt+1,t)}}}function es(e){return e instanceof R&&e.exprs.length==0}function ts(e,t){let s=Object.create(null);for(let i of t){e.unique(i.id);let{name:t,props:n,dialect:r}=e.nodeInfo(i.props,"d",i.id.name);let l=e.makeTerminal(i.id.name,t,n);if(r!=null)(e.tokens.byDialect[r]||(e.tokens.byDialect[r]=[])).push(l);e.namedTerms[i.id.name]=s[i.id.name]=l}return s}function ss(e,t,s){let i=t[s.id.name];if(!i)return null;if(s.args.length)e.raise("External tokens cannot take arguments",s.args[0].start);e.used(s.id.name);return i}function is(e,t,s){let i=e.findIndex((e=>e.term==t));if(i<0)e.push({term:t,after:s});else e[i]={term:t,after:e[i].after.concat(s)}}class ns{constructor(e,t){this.b=e;this.ast=t;this.tokens=ts(e,t.tokens);for(let s in this.tokens)this.b.tokenOrigins[this.tokens[s].name]={external:this}}getToken(e){return ss(this.b,this.tokens,e)}create(){return this.b.options.externalTokenizer(this.ast.id.name,this.b.termTable)}createSource(e){let{source:t,id:{name:s}}=this.ast;return e(s,t)}}class rs{constructor(e,t){this.b=e;this.ast=t;this.term=null;this.tokens=ts(e,t.tokens)}finish(){let e=this.b.normalizeExpr(this.ast.token);if(e.length!=1||e[0].terms.length!=1||!e[0].terms[0].terminal)this.b.raise(`The token expression to '@external ${this.ast.type}' must resolve to a token`,this.ast.token.start);this.term=e[0].terms[0];for(let t in this.tokens)this.b.tokenOrigins[this.tokens[t].name]={spec:this.term,external:this}}getToken(e){return ss(this.b,this.tokens,e)}}function ls(e,t){for(let s=0;;s++){let i=Object.create(null),n;if(s==0)for(let l of e){if(l.name.inline&&!i[l.name.name]){let a=e.filter((e=>e.name==l.name));if(a.some((e=>e.parts.includes(l.name))))continue;n=i[l.name.name]=a}}for(let o=0;o<e.length;o++){let u=e[o];if(!u.name.interesting&&!u.parts.includes(u.name)&&u.parts.length<3&&!t.includes(u.name)&&(u.parts.length==1||e.every((e=>e.skip==u.skip||!e.parts.includes(u.name))))&&!u.parts.some((e=>!!i[e.name]))&&!e.some(((e,t)=>t!=o&&e.name==u.name)))n=i[u.name.name]=[u]}if(!n)return e;let r=[];for(let h of e){if(i[h.name.name])continue;if(!h.parts.some((e=>!!i[e.name]))){r.push(h);continue}function f(e,t,s){if(e==h.parts.length){r.push(new Q(h.name,s,t,h.skip));return}let n=h.parts[e],l=i[n.name];if(!l){f(e+1,t.concat(h.conflicts[e+1]),s.concat(n));return}for(let i of l)f(e+1,t.slice(0,t.length-1).concat(t[e].join(i.conflicts[0])).concat(i.conflicts.slice(1,i.conflicts.length-1)).concat(h.conflicts[e+1].join(i.conflicts[i.conflicts.length-1])),s.concat(i.parts))}f(0,[h.conflicts[0]],[])}e=r}}function as(e){let t=Object.create(null),s;for(let n=0;n<e.length;){let i=n;let r=e[n++].name;while(n<e.length&&e[n].name==r)n++;let l=n-i;if(r.interesting)continue;for(let a=n;a<e.length;){let n=a,o=e[a++].name;while(a<e.length&&e[a].name==o)a++;if(a-n!=l||o.interesting)continue;let u=true;for(let t=0;t<l&&u;t++){let s=e[i+t],r=e[n+t];if(s.cmpNoName(r)!=0)u=false}if(u)s=t[r.name]=o}}if(!s)return e;let i=[];for(let n of e)if(!t[n.name.name]){i.push(n.parts.every((e=>!t[e.name]))?n:new Q(n.name,n.parts.map((e=>t[e.name]||e)),n.conflicts,n.skip))}return i}function os(e,t){return as(ls(e,t))}function us(e,t={}){let s=new Rt(e,t),i=s.getParser();i.termTable=s.termTable;return i}const hs=["await","break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","while","with","null","true","false","instanceof","typeof","void","delete","new","in","this","const","class","extends","export","import","super","enum","implements","interface","let","package","private","protected","public","static","yield","require"];function fs(e,t={}){return new Rt(e,t).getParserFile()}function cs(e){let t=e[0];return t=="_"||t.toUpperCase()!=t}function ps(e){return e.props.some((e=>e.at&&e.name=="export"))}}}]);
.venv/share/jupyter/lab/static/1359.d5f23f0e2a6f67b69751.js ADDED
@@ -0,0 +1 @@
 
 
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1359],{41359:(e,t,s)=>{s.d(t,{Lh:()=>m,NM:()=>b,_$:()=>o,tM:()=>f});var i=s(15051);var n=s(94065);var a=s(96049);var r=s(75905);var u=s(24982);var l=function(){var e=(0,r.K2)((function(e,t,s,i){for(s=s||{},i=e.length;i--;s[e[i]]=t);return s}),"o"),t=[1,18],s=[1,19],i=[1,20],n=[1,41],a=[1,42],u=[1,26],l=[1,24],o=[1,25],c=[1,32],h=[1,33],p=[1,34],d=[1,45],A=[1,35],b=[1,36],y=[1,37],f=[1,38],k=[1,27],C=[1,28],g=[1,29],m=[1,30],E=[1,31],T=[1,44],D=[1,46],F=[1,43],B=[1,47],_=[1,9],S=[1,8,9],N=[1,58],L=[1,59],$=[1,60],v=[1,61],x=[1,62],O=[1,63],I=[1,64],w=[1,8,9,41],R=[1,76],P=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],K=[1,8,9,12,13,17,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],M=[13,58,84,99,101,102],G=[13,58,71,72,84,99,101,102],U=[13,58,66,67,68,69,70,84,99,101,102],Y=[1,98],z=[1,115],Q=[1,107],j=[1,113],W=[1,108],X=[1,109],V=[1,110],q=[1,111],H=[1,112],J=[1,114],Z=[22,58,59,80,84,85,86,87,88,89],ee=[1,8,9,39,41,44],te=[1,8,9,22],se=[1,143],ie=[1,8,9,59],ne=[1,8,9,22,58,59,80,84,85,86,87,88,89];var ae={trace:(0,r.K2)((function e(){}),"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[19,1],[53,1]],performAction:(0,r.K2)((function e(t,s,i,n,a,r,u){var l=r.length-1;switch(a){case 8:this.$=r[l-1];break;case 9:case 12:case 14:this.$=r[l];break;case 10:case 13:this.$=r[l-2]+"."+r[l];break;case 11:case 15:this.$=r[l-1]+r[l];break;case 16:case 17:this.$=r[l-1]+"~"+r[l]+"~";break;case 18:n.addRelation(r[l]);break;case 19:r[l-1].title=n.cleanupLabel(r[l]);n.addRelation(r[l-1]);break;case 30:this.$=r[l].trim();n.setAccTitle(this.$);break;case 31:case 32:this.$=r[l].trim();n.setAccDescription(this.$);break;case 33:n.addClassesToNamespace(r[l-3],r[l-1]);break;case 34:n.addClassesToNamespace(r[l-4],r[l-1]);break;case 35:this.$=r[l];n.addNamespace(r[l]);break;case 36:this.$=[r[l]];break;case 37:this.$=[r[l-1]];break;case 38:r[l].unshift(r[l-2]);this.$=r[l];break;case 40:n.setCssClass(r[l-2],r[l]);break;case 41:n.addMembers(r[l-3],r[l-1]);break;case 42:n.setCssClass(r[l-5],r[l-3]);n.addMembers(r[l-5],r[l-1]);break;case 43:this.$=r[l];n.addClass(r[l]);break;case 44:this.$=r[l-1];n.addClass(r[l-1]);n.setClassLabel(r[l-1],r[l]);break;case 45:n.addAnnotation(r[l],r[l-2]);break;case 46:case 59:this.$=[r[l]];break;case 47:r[l].push(r[l-1]);this.$=r[l];break;case 48:break;case 49:n.addMember(r[l-1],n.cleanupLabel(r[l]));break;case 50:break;case 51:break;case 52:this.$={id1:r[l-2],id2:r[l],relation:r[l-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:r[l-3],id2:r[l],relation:r[l-1],relationTitle1:r[l-2],relationTitle2:"none"};break;case 54:this.$={id1:r[l-3],id2:r[l],relation:r[l-2],relationTitle1:"none",relationTitle2:r[l-1]};break;case 55:this.$={id1:r[l-4],id2:r[l],relation:r[l-2],relationTitle1:r[l-3],relationTitle2:r[l-1]};break;case 56:n.addNote(r[l],r[l-1]);break;case 57:n.addNote(r[l]);break;case 58:this.$=r[l-2];n.defineClass(r[l-1],r[l]);break;case 60:this.$=r[l-2].concat([r[l]]);break;case 61:n.setDirection("TB");break;case 62:n.setDirection("BT");break;case 63:n.setDirection("RL");break;case 64:n.setDirection("LR");break;case 65:this.$={type1:r[l-2],type2:r[l],lineType:r[l-1]};break;case 66:this.$={type1:"none",type2:r[l],lineType:r[l-1]};break;case 67:this.$={type1:r[l-1],type2:"none",lineType:r[l]};break;case 68:this.$={type1:"none",type2:"none",lineType:r[l]};break;case 69:this.$=n.relationType.AGGREGATION;break;case 70:this.$=n.relationType.EXTENSION;break;case 71:this.$=n.relationType.COMPOSITION;break;case 72:this.$=n.relationType.DEPENDENCY;break;case 73:this.$=n.relationType.LOLLIPOP;break;case 74:this.$=n.lineType.LINE;break;case 75:this.$=n.lineType.DOTTED_LINE;break;case 76:case 82:this.$=r[l-2];n.setClickEvent(r[l-1],r[l]);break;case 77:case 83:this.$=r[l-3];n.setClickEvent(r[l-2],r[l-1]);n.setTooltip(r[l-2],r[l]);break;case 78:this.$=r[l-2];n.setLink(r[l-1],r[l]);break;case 79:this.$=r[l-3];n.setLink(r[l-2],r[l-1],r[l]);break;case 80:this.$=r[l-3];n.setLink(r[l-2],r[l-1]);n.setTooltip(r[l-2],r[l]);break;case 81:this.$=r[l-4];n.setLink(r[l-3],r[l-2],r[l]);n.setTooltip(r[l-3],r[l-1]);break;case 84:this.$=r[l-3];n.setClickEvent(r[l-2],r[l-1],r[l]);break;case 85:this.$=r[l-4];n.setClickEvent(r[l-3],r[l-2],r[l-1]);n.setTooltip(r[l-3],r[l]);break;case 86:this.$=r[l-3];n.setLink(r[l-2],r[l]);break;case 87:this.$=r[l-4];n.setLink(r[l-3],r[l-1],r[l]);break;case 88:this.$=r[l-4];n.setLink(r[l-3],r[l-1]);n.setTooltip(r[l-3],r[l]);break;case 89:this.$=r[l-5];n.setLink(r[l-4],r[l-2],r[l]);n.setTooltip(r[l-4],r[l-1]);break;case 90:this.$=r[l-2];n.setCssStyle(r[l-1],r[l]);break;case 91:n.setCssClass(r[l-1],r[l]);break;case 92:this.$=[r[l]];break;case 93:r[l-2].push(r[l]);this.$=r[l-2];break;case 95:this.$=r[l-1]+r[l];break}}),"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:s,37:i,38:22,42:n,43:23,46:a,47:u,49:l,50:o,52:c,54:h,55:p,58:d,60:A,61:b,62:y,63:f,73:k,74:C,76:g,80:m,81:E,84:T,99:D,101:F,102:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(_,[2,5],{8:[1,48]}),{8:[1,49]},e(S,[2,18],{22:[1,50]}),e(S,[2,20]),e(S,[2,21]),e(S,[2,22]),e(S,[2,23]),e(S,[2,24]),e(S,[2,25]),e(S,[2,26]),e(S,[2,27]),e(S,[2,28]),e(S,[2,29]),{34:[1,51]},{36:[1,52]},e(S,[2,32]),e(S,[2,48],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:N,67:L,68:$,69:v,70:x,71:O,72:I}),{39:[1,65]},e(w,[2,39],{39:[1,67],44:[1,66]}),e(S,[2,50]),e(S,[2,51]),{16:68,58:d,84:T,99:D,101:F},{16:39,18:69,19:40,58:d,84:T,99:D,101:F,102:B},{16:39,18:70,19:40,58:d,84:T,99:D,101:F,102:B},{16:39,18:71,19:40,58:d,84:T,99:D,101:F,102:B},{58:[1,72]},{13:[1,73]},{16:39,18:74,19:40,58:d,84:T,99:D,101:F,102:B},{13:R,53:75},{56:77,58:[1,78]},e(S,[2,61]),e(S,[2,62]),e(S,[2,63]),e(S,[2,64]),e(P,[2,12],{16:39,19:40,18:80,17:[1,79],20:[1,81],58:d,84:T,99:D,101:F,102:B}),e(P,[2,14],{20:[1,82]}),{15:83,16:84,58:d,84:T,99:D,101:F},{16:39,18:85,19:40,58:d,84:T,99:D,101:F,102:B},e(K,[2,118]),e(K,[2,119]),e(K,[2,120]),e(K,[2,121]),e([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,122]),e(_,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,18:21,38:22,43:23,16:39,19:40,5:86,33:t,35:s,37:i,42:n,46:a,47:u,49:l,50:o,52:c,54:h,55:p,58:d,60:A,61:b,62:y,63:f,73:k,74:C,76:g,80:m,81:E,84:T,99:D,101:F,102:B}),{5:87,10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:s,37:i,38:22,42:n,43:23,46:a,47:u,49:l,50:o,52:c,54:h,55:p,58:d,60:A,61:b,62:y,63:f,73:k,74:C,76:g,80:m,81:E,84:T,99:D,101:F,102:B},e(S,[2,19]),e(S,[2,30]),e(S,[2,31]),{13:[1,89],16:39,18:88,19:40,58:d,84:T,99:D,101:F,102:B},{51:90,64:56,65:57,66:N,67:L,68:$,69:v,70:x,71:O,72:I},e(S,[2,49]),{65:91,71:O,72:I},e(M,[2,68],{64:92,66:N,67:L,68:$,69:v,70:x}),e(G,[2,69]),e(G,[2,70]),e(G,[2,71]),e(G,[2,72]),e(G,[2,73]),e(U,[2,74]),e(U,[2,75]),{8:[1,94],24:95,40:93,43:23,46:a},{16:96,58:d,84:T,99:D,101:F},{45:97,49:Y},{48:[1,99]},{13:[1,100]},{13:[1,101]},{77:[1,102],79:[1,103]},{22:z,57:104,58:Q,80:j,82:105,83:106,84:W,85:X,86:V,87:q,88:H,89:J},{58:[1,116]},{13:R,53:117},e(S,[2,57]),e(S,[2,123]),{22:z,57:118,58:Q,59:[1,119],80:j,82:105,83:106,84:W,85:X,86:V,87:q,88:H,89:J},e(Z,[2,59]),{16:39,18:120,19:40,58:d,84:T,99:D,101:F,102:B},e(P,[2,15]),e(P,[2,16]),e(P,[2,17]),{39:[2,35]},{15:122,16:84,17:[1,121],39:[2,9],58:d,84:T,99:D,101:F},e(ee,[2,43],{11:123,12:[1,124]}),e(_,[2,7]),{9:[1,125]},e(te,[2,52]),{16:39,18:126,19:40,58:d,84:T,99:D,101:F,102:B},{13:[1,128],16:39,18:127,19:40,58:d,84:T,99:D,101:F,102:B},e(M,[2,67],{64:129,66:N,67:L,68:$,69:v,70:x}),e(M,[2,66]),{41:[1,130]},{24:95,40:131,43:23,46:a},{8:[1,132],41:[2,36]},e(w,[2,40],{39:[1,133]}),{41:[1,134]},{41:[2,46],45:135,49:Y},{16:39,18:136,19:40,58:d,84:T,99:D,101:F,102:B},e(S,[2,76],{13:[1,137]}),e(S,[2,78],{13:[1,139],75:[1,138]}),e(S,[2,82],{13:[1,140],78:[1,141]}),{13:[1,142]},e(S,[2,90],{59:se}),e(ie,[2,92],{83:144,22:z,58:Q,80:j,84:W,85:X,86:V,87:q,88:H,89:J}),e(ne,[2,94]),e(ne,[2,96]),e(ne,[2,97]),e(ne,[2,98]),e(ne,[2,99]),e(ne,[2,100]),e(ne,[2,101]),e(ne,[2,102]),e(ne,[2,103]),e(ne,[2,104]),e(S,[2,91]),e(S,[2,56]),e(S,[2,58],{59:se}),{58:[1,145]},e(P,[2,13]),{15:146,16:84,58:d,84:T,99:D,101:F},{39:[2,11]},e(ee,[2,44]),{13:[1,147]},{1:[2,4]},e(te,[2,54]),e(te,[2,53]),{16:39,18:148,19:40,58:d,84:T,99:D,101:F,102:B},e(M,[2,65]),e(S,[2,33]),{41:[1,149]},{24:95,40:150,41:[2,37],43:23,46:a},{45:151,49:Y},e(w,[2,41]),{41:[2,47]},e(S,[2,45]),e(S,[2,77]),e(S,[2,79]),e(S,[2,80],{75:[1,152]}),e(S,[2,83]),e(S,[2,84],{13:[1,153]}),e(S,[2,86],{13:[1,155],75:[1,154]}),{22:z,58:Q,80:j,82:156,83:106,84:W,85:X,86:V,87:q,88:H,89:J},e(ne,[2,95]),e(Z,[2,60]),{39:[2,10]},{14:[1,157]},e(te,[2,55]),e(S,[2,34]),{41:[2,38]},{41:[1,158]},e(S,[2,81]),e(S,[2,85]),e(S,[2,87]),e(S,[2,88],{75:[1,159]}),e(ie,[2,93],{83:144,22:z,58:Q,80:j,84:W,85:X,86:V,87:q,88:H,89:J}),e(ee,[2,8]),e(w,[2,42]),e(S,[2,89])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,35],122:[2,11],125:[2,4],135:[2,47],146:[2,10],150:[2,38]},parseError:(0,r.K2)((function e(t,s){if(s.recoverable){this.trace(t)}else{var i=new Error(t);i.hash=s;throw i}}),"parseError"),parse:(0,r.K2)((function e(t){var s=this,i=[0],n=[],a=[null],u=[],l=this.table,o="",c=0,h=0,p=0,d=2,A=1;var b=u.slice.call(arguments,1);var y=Object.create(this.lexer);var f={yy:{}};for(var k in this.yy){if(Object.prototype.hasOwnProperty.call(this.yy,k)){f.yy[k]=this.yy[k]}}y.setInput(t,f.yy);f.yy.lexer=y;f.yy.parser=this;if(typeof y.yylloc=="undefined"){y.yylloc={}}var C=y.yylloc;u.push(C);var g=y.options&&y.options.ranges;if(typeof f.yy.parseError==="function"){this.parseError=f.yy.parseError}else{this.parseError=Object.getPrototypeOf(this).parseError}function m(e){i.length=i.length-2*e;a.length=a.length-e;u.length=u.length-e}(0,r.K2)(m,"popStack");function E(){var e;e=n.pop()||y.lex()||A;if(typeof e!=="number"){if(e instanceof Array){n=e;e=n.pop()}e=s.symbols_[e]||e}return e}(0,r.K2)(E,"lex");var T,D,F,B,_,S,N={},L,$,v,x;while(true){F=i[i.length-1];if(this.defaultActions[F]){B=this.defaultActions[F]}else{if(T===null||typeof T=="undefined"){T=E()}B=l[F]&&l[F][T]}if(typeof B==="undefined"||!B.length||!B[0]){var O="";x=[];for(L in l[F]){if(this.terminals_[L]&&L>d){x.push("'"+this.terminals_[L]+"'")}}if(y.showPosition){O="Parse error on line "+(c+1)+":\n"+y.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[T]||T)+"'"}else{O="Parse error on line "+(c+1)+": Unexpected "+(T==A?"end of input":"'"+(this.terminals_[T]||T)+"'")}this.parseError(O,{text:y.match,token:this.terminals_[T]||T,line:y.yylineno,loc:C,expected:x})}if(B[0]instanceof Array&&B.length>1){throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+T)}switch(B[0]){case 1:i.push(T);a.push(y.yytext);u.push(y.yylloc);i.push(B[1]);T=null;if(!D){h=y.yyleng;o=y.yytext;c=y.yylineno;C=y.yylloc;if(p>0){p--}}else{T=D;D=null}break;case 2:$=this.productions_[B[1]][1];N.$=a[a.length-$];N._$={first_line:u[u.length-($||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-($||1)].first_column,last_column:u[u.length-1].last_column};if(g){N._$.range=[u[u.length-($||1)].range[0],u[u.length-1].range[1]]}S=this.performAction.apply(N,[o,h,c,f.yy,B[1],a,u].concat(b));if(typeof S!=="undefined"){return S}if($){i=i.slice(0,-1*$*2);a=a.slice(0,-1*$);u=u.slice(0,-1*$)}i.push(this.productions_[B[1]][0]);a.push(N.$);u.push(N._$);v=l[i[i.length-2]][i[i.length-1]];i.push(v);break;case 3:return true}}return true}),"parse")};var re=function(){var e={EOF:1,parseError:(0,r.K2)((function e(t,s){if(this.yy.parser){this.yy.parser.parseError(t,s)}else{throw new Error(t)}}),"parseError"),setInput:(0,r.K2)((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}),"setInput"),input:(0,r.K2)((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}),"input"),unput:(0,r.K2)((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}),"unput"),more:(0,r.K2)((function(){this._more=true;return this}),"more"),reject:(0,r.K2)((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}),"reject"),less:(0,r.K2)((function(e){this.unput(this.match.slice(e))}),"less"),pastInput:(0,r.K2)((function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")}),"pastInput"),upcomingInput:(0,r.K2)((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,"")}),"upcomingInput"),showPosition:(0,r.K2)((function(){var e=this.pastInput();var t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"}),"showPosition"),test_match:(0,r.K2)((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 a in n){this[a]=n[a]}return false}return false}),"test_match"),next:(0,r.K2)((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 a=0;a<n.length;a++){s=this._input.match(this.rules[n[a]]);if(s&&(!t||s[0].length>t[0].length)){t=s;i=a;if(this.options.backtrack_lexer){e=this.test_match(s,n[a]);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})}}),"next"),lex:(0,r.K2)((function e(){var t=this.next();if(t){return t}else{return this.lex()}}),"lex"),begin:(0,r.K2)((function e(t){this.conditionStack.push(t)}),"begin"),popState:(0,r.K2)((function e(){var t=this.conditionStack.length-1;if(t>0){return this.conditionStack.pop()}else{return this.conditionStack[0]}}),"popState"),_currentRules:(0,r.K2)((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}}),"_currentRules"),topState:(0,r.K2)((function e(t){t=this.conditionStack.length-1-Math.abs(t||0);if(t>=0){return this.conditionStack[t]}else{return"INITIAL"}}),"topState"),pushState:(0,r.K2)((function e(t){this.begin(t)}),"pushState"),stateStackSize:(0,r.K2)((function e(){return this.conditionStack.length}),"stateStackSize"),options:{},performAction:(0,r.K2)((function e(t,s,i,n){var a=n;switch(i){case 0:return 60;break;case 1:return 61;break;case 2:return 62;break;case 3:return 63;break;case 4:break;case 5:break;case 6:this.begin("acc_title");return 33;break;case 7:this.popState();return"acc_title_value";break;case 8:this.begin("acc_descr");return 35;break;case 9:this.popState();return"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";break;case 13:return 8;break;case 14:break;case 15:return 7;break;case 16:return 7;break;case 17:return"EDGE_STATE";break;case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState();this.begin("callback_args");break;case 21:return 77;break;case 22:this.popState();break;case 23:return 78;break;case 24:this.popState();break;case 25:return"STR";break;case 26:this.begin("string");break;case 27:return 80;break;case 28:return 55;break;case 29:this.begin("namespace");return 42;break;case 30:this.popState();return 8;break;case 31:break;case 32:this.begin("namespace-body");return 39;break;case 33:this.popState();return 41;break;case 34:return"EOF_IN_STRUCT";break;case 35:return 8;break;case 36:break;case 37:return"EDGE_STATE";break;case 38:this.begin("class");return 46;break;case 39:this.popState();return 8;break;case 40:break;case 41:this.popState();this.popState();return 41;break;case 42:this.begin("class-body");return 39;break;case 43:this.popState();return 41;break;case 44:return"EOF_IN_STRUCT";break;case 45:return"EDGE_STATE";break;case 46:return"OPEN_IN_STRUCT";break;case 47:break;case 48:return"MEMBER";break;case 49:return 81;break;case 50:return 73;break;case 51:return 74;break;case 52:return 76;break;case 53:return 52;break;case 54:return 54;break;case 55:return 47;break;case 56:return 48;break;case 57:return 79;break;case 58:this.popState();break;case 59:return"GENERICTYPE";break;case 60:this.begin("generic");break;case 61:this.popState();break;case 62:return"BQUOTE_STR";break;case 63:this.begin("bqstring");break;case 64:return 75;break;case 65:return 75;break;case 66:return 75;break;case 67:return 75;break;case 68:return 67;break;case 69:return 67;break;case 70:return 69;break;case 71:return 69;break;case 72:return 68;break;case 73:return 66;break;case 74:return 70;break;case 75:return 71;break;case 76:return 72;break;case 77:return 22;break;case 78:return 44;break;case 79:return 99;break;case 80:return 17;break;case 81:return"PLUS";break;case 82:return 85;break;case 83:return 59;break;case 84:return 88;break;case 85:return 88;break;case 86:return 89;break;case 87:return"EQUALS";break;case 88:return"EQUALS";break;case 89:return 58;break;case 90:return 12;break;case 91:return 14;break;case 92:return"PUNCTUATION";break;case 93:return 84;break;case 94:return 101;break;case 95:return 87;break;case 96:return 87;break;case 97:return 9;break}}),"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:false},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:true}}};return e}();ae.lexer=re;function ue(){this.yy={}}(0,r.K2)(ue,"Parser");ue.prototype=ae;ae.Parser=ue;return new ue}();l.parser=l;var o=l;var c=["#","+","~","-",""];var h=class{static{(0,r.K2)(this,"ClassMember")}constructor(e,t){this.memberType=t;this.visibility="";this.classifier="";this.text="";const s=(0,r.jZ)(e,(0,r.D7)());this.parseMember(s)}getDisplayDetails(){let e=this.visibility+(0,r.QO)(this.id);if(this.memberType==="method"){e+=`(${(0,r.QO)(this.parameters.trim())})`;if(this.returnType){e+=" : "+(0,r.QO)(this.returnType)}}e=e.trim();const t=this.parseClassifier();return{displayText:e,cssStyle:t}}parseMember(e){let t="";if(this.memberType==="method"){const s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/;const i=s.exec(e);if(i){const e=i[1]?i[1].trim():"";if(c.includes(e)){this.visibility=e}this.id=i[2];this.parameters=i[3]?i[3].trim():"";t=i[4]?i[4].trim():"";this.returnType=i[5]?i[5].trim():"";if(t===""){const e=this.returnType.substring(this.returnType.length-1);if(/[$*]/.exec(e)){t=e;this.returnType=this.returnType.substring(0,this.returnType.length-1)}}}}else{const s=e.length;const i=e.substring(0,1);const n=e.substring(s-1);if(c.includes(i)){this.visibility=i}if(/[$*]/.exec(n)){t=n}this.id=e.substring(this.visibility===""?0:1,t===""?s:s-1)}this.classifier=t;this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();const s=`${this.visibility?"\\"+this.visibility:""}${(0,r.QO)(this.id)}${this.memberType==="method"?`(${(0,r.QO)(this.parameters)})${this.returnType?" : "+(0,r.QO)(this.returnType):""}`:""}`;this.text=s.replaceAll("<","&lt;").replaceAll(">","&gt;");if(this.text.startsWith("\\&lt;")){this.text=this.text.replace("\\&lt;","~")}}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}};var p="classId-";var d=0;var A=(0,r.K2)((e=>r.Y2.sanitizeText(e,(0,r.D7)())),"sanitizeText");var b=class{constructor(){this.relations=[];this.classes=new Map;this.styleClasses=new Map;this.notes=[];this.interfaces=[];this.namespaces=new Map;this.namespaceCounter=0;this.functions=[];this.lineType={LINE:0,DOTTED_LINE:1};this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4};this.setupToolTips=(0,r.K2)((e=>{let t=(0,u.Ltv)(".mermaidTooltip");if((t._groups||t)[0][0]===null){t=(0,u.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)}const s=(0,u.Ltv)(e).select("svg");const i=s.selectAll("g.node");i.on("mouseover",(e=>{const s=(0,u.Ltv)(e.currentTarget);const i=s.attr("title");if(i===null){return}const n=this.getBoundingClientRect();t.transition().duration(200).style("opacity",".9");t.text(s.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px");t.html(t.html().replace(/&lt;br\/&gt;/g,"<br/>"));s.classed("hover",true)})).on("mouseout",(e=>{t.transition().duration(500).style("opacity",0);const s=(0,u.Ltv)(e.currentTarget);s.classed("hover",false)}))}),"setupToolTips");this.direction="TB";this.setAccTitle=r.SV;this.getAccTitle=r.iN;this.setAccDescription=r.EI;this.getAccDescription=r.m7;this.setDiagramTitle=r.ke;this.getDiagramTitle=r.ab;this.getConfig=(0,r.K2)((()=>(0,r.D7)().class),"getConfig");this.functions.push(this.setupToolTips.bind(this));this.clear();this.addRelation=this.addRelation.bind(this);this.addClassesToNamespace=this.addClassesToNamespace.bind(this);this.addNamespace=this.addNamespace.bind(this);this.setCssClass=this.setCssClass.bind(this);this.addMembers=this.addMembers.bind(this);this.addClass=this.addClass.bind(this);this.setClassLabel=this.setClassLabel.bind(this);this.addAnnotation=this.addAnnotation.bind(this);this.addMember=this.addMember.bind(this);this.cleanupLabel=this.cleanupLabel.bind(this);this.addNote=this.addNote.bind(this);this.defineClass=this.defineClass.bind(this);this.setDirection=this.setDirection.bind(this);this.setLink=this.setLink.bind(this);this.bindFunctions=this.bindFunctions.bind(this);this.clear=this.clear.bind(this);this.setTooltip=this.setTooltip.bind(this);this.setClickEvent=this.setClickEvent.bind(this);this.setCssStyle=this.setCssStyle.bind(this)}static{(0,r.K2)(this,"ClassDB")}splitClassNameAndType(e){const t=r.Y2.sanitizeText(e,(0,r.D7)());let s="";let i=t;if(t.indexOf("~")>0){const e=t.split("~");i=A(e[0]);s=A(e[1])}return{className:i,type:s}}setClassLabel(e,t){const s=r.Y2.sanitizeText(e,(0,r.D7)());if(t){t=A(t)}const{className:i}=this.splitClassNameAndType(s);this.classes.get(i).label=t;this.classes.get(i).text=`${t}${this.classes.get(i).type?`<${this.classes.get(i).type}>`:""}`}addClass(e){const t=r.Y2.sanitizeText(e,(0,r.D7)());const{className:s,type:i}=this.splitClassNameAndType(t);if(this.classes.has(s)){return}const n=r.Y2.sanitizeText(s,(0,r.D7)());this.classes.set(n,{id:n,type:i,label:n,text:`${n}${i?`&lt;${i}&gt;`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:p+n+"-"+d});d++}addInterface(e,t){const s={id:`interface${this.interfaces.length}`,label:e,classId:t};this.interfaces.push(s)}lookUpDomId(e){const t=r.Y2.sanitizeText(e,(0,r.D7)());if(this.classes.has(t)){return this.classes.get(t).domId}throw new Error("Class not found: "+t)}clear(){this.relations=[];this.classes=new Map;this.notes=[];this.interfaces=[];this.functions=[];this.functions.push(this.setupToolTips.bind(this));this.namespaces=new Map;this.namespaceCounter=0;this.direction="TB";(0,r.IU)()}getClass(e){return this.classes.get(e)}getClasses(){return this.classes}getRelations(){return this.relations}getNotes(){return this.notes}addRelation(e){r.Rm.debug("Adding relation: "+JSON.stringify(e));const t=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];if(e.relation.type1===this.relationType.LOLLIPOP&&!t.includes(e.relation.type2)){this.addClass(e.id2);this.addInterface(e.id1,e.id2);e.id1=`interface${this.interfaces.length-1}`}else if(e.relation.type2===this.relationType.LOLLIPOP&&!t.includes(e.relation.type1)){this.addClass(e.id1);this.addInterface(e.id2,e.id1);e.id2=`interface${this.interfaces.length-1}`}else{this.addClass(e.id1);this.addClass(e.id2)}e.id1=this.splitClassNameAndType(e.id1).className;e.id2=this.splitClassNameAndType(e.id2).className;e.relationTitle1=r.Y2.sanitizeText(e.relationTitle1.trim(),(0,r.D7)());e.relationTitle2=r.Y2.sanitizeText(e.relationTitle2.trim(),(0,r.D7)());this.relations.push(e)}addAnnotation(e,t){const s=this.splitClassNameAndType(e).className;this.classes.get(s).annotations.push(t)}addMember(e,t){this.addClass(e);const s=this.splitClassNameAndType(e).className;const i=this.classes.get(s);if(typeof t==="string"){const e=t.trim();if(e.startsWith("<<")&&e.endsWith(">>")){i.annotations.push(A(e.substring(2,e.length-2)))}else if(e.indexOf(")")>0){i.methods.push(new h(e,"method"))}else if(e){i.members.push(new h(e,"attribute"))}}}addMembers(e,t){if(Array.isArray(t)){t.reverse();t.forEach((t=>this.addMember(e,t)))}}addNote(e,t){const s={id:`note${this.notes.length}`,class:t,text:e};this.notes.push(s)}cleanupLabel(e){if(e.startsWith(":")){e=e.substring(1)}return A(e.trim())}setCssClass(e,t){e.split(",").forEach((e=>{let s=e;if(/\d/.exec(e[0])){s=p+s}const i=this.classes.get(s);if(i){i.cssClasses+=" "+t}}))}defineClass(e,t){for(const s of e){let e=this.styleClasses.get(s);if(e===void 0){e={id:s,styles:[],textStyles:[]};this.styleClasses.set(s,e)}if(t){t.forEach((t=>{if(/color/.exec(t)){const s=t.replace("fill","bgFill");e.textStyles.push(s)}e.styles.push(t)}))}this.classes.forEach((e=>{if(e.cssClasses.includes(s)){e.styles.push(...t.flatMap((e=>e.split(","))))}}))}}setTooltip(e,t){e.split(",").forEach((e=>{if(t!==void 0){this.classes.get(e).tooltip=A(t)}}))}getTooltip(e,t){if(t&&this.namespaces.has(t)){return this.namespaces.get(t).classes.get(e).tooltip}return this.classes.get(e).tooltip}setLink(e,t,s){const i=(0,r.D7)();e.split(",").forEach((e=>{let n=e;if(/\d/.exec(e[0])){n=p+n}const r=this.classes.get(n);if(r){r.link=a._K.formatUrl(t,i);if(i.securityLevel==="sandbox"){r.linkTarget="_top"}else if(typeof s==="string"){r.linkTarget=A(s)}else{r.linkTarget="_blank"}}}));this.setCssClass(e,"clickable")}setClickEvent(e,t,s){e.split(",").forEach((e=>{this.setClickFunc(e,t,s);this.classes.get(e).haveCallback=true}));this.setCssClass(e,"clickable")}setClickFunc(e,t,s){const i=r.Y2.sanitizeText(e,(0,r.D7)());const n=(0,r.D7)();if(n.securityLevel!=="loose"){return}if(t===void 0){return}const u=i;if(this.classes.has(u)){const e=this.lookUpDomId(u);let i=[];if(typeof s==="string"){i=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<i.length;e++){let t=i[e].trim();if(t.startsWith('"')&&t.endsWith('"')){t=t.substr(1,t.length-2)}i[e]=t}}if(i.length===0){i.push(e)}this.functions.push((()=>{const s=document.querySelector(`[id="${e}"]`);if(s!==null){s.addEventListener("click",(()=>{a._K.runFunc(t,...i)}),false)}}))}}bindFunctions(e){this.functions.forEach((t=>{t(e)}))}getDirection(){return this.direction}setDirection(e){this.direction=e}addNamespace(e){if(this.namespaces.has(e)){return}this.namespaces.set(e,{id:e,classes:new Map,children:{},domId:p+e+"-"+this.namespaceCounter});this.namespaceCounter++}getNamespace(e){return this.namespaces.get(e)}getNamespaces(){return this.namespaces}addClassesToNamespace(e,t){if(!this.namespaces.has(e)){return}for(const s of t){const{className:t}=this.splitClassNameAndType(s);this.classes.get(t).parent=e;this.namespaces.get(e).classes.set(t,this.classes.get(t))}}setCssStyle(e,t){const s=this.classes.get(e);if(!t||!s){return}for(const i of t){if(i.includes(",")){s.styles.push(...i.split(","))}else{s.styles.push(i)}}}getArrowMarker(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}getData(){const e=[];const t=[];const s=(0,r.D7)();for(const n of this.namespaces.keys()){const t=this.namespaces.get(n);if(t){const i={id:t.id,label:t.id,isGroup:true,padding:s.class.padding??16,shape:"rect",cssStyles:["fill: none","stroke: black"],look:s.look};e.push(i)}}for(const n of this.classes.keys()){const t=this.classes.get(n);if(t){const i=t;i.parentId=t.parent;i.look=s.look;e.push(i)}}let i=0;for(const n of this.notes){i++;const a={id:n.id,label:n.text,isGroup:false,shape:"note",padding:s.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${s.themeVariables.noteBkgColor}`,`stroke: ${s.themeVariables.noteBorderColor}`],look:s.look};e.push(a);const r=this.classes.get(n.class)?.id??"";if(r){const e={id:`edgeNote${i}`,start:n.id,end:r,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:s.look};t.push(e)}}for(const n of this.interfaces){const t={id:n.id,label:n.label,isGroup:false,shape:"rect",cssStyles:["opacity: 0;"],look:s.look};e.push(t)}i=0;for(const n of this.relations){i++;const e={id:(0,a.rY)(n.id1,n.id2,{prefix:"id",counter:i}),start:n.id1,end:n.id2,type:"normal",label:n.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(n.relation.type1),arrowTypeEnd:this.getArrowMarker(n.relation.type2),startLabelRight:n.relationTitle1==="none"?"":n.relationTitle1,endLabelLeft:n.relationTitle2==="none"?"":n.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:n.style||"",pattern:n.relation.lineType==1?"dashed":"solid",look:s.look};t.push(e)}return{nodes:e,edges:t,other:{},config:s,direction:this.getDirection()}}};var y=(0,r.K2)((e=>`g.classGroup text {\n fill: ${e.nodeBorder||e.classText};\n stroke: none;\n font-family: ${e.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${e.classText};\n}\n.edgeLabel .label rect {\n fill: ${e.mainBkg};\n}\n.label text {\n fill: ${e.classText};\n}\n\n.labelBkg {\n background: ${e.mainBkg};\n}\n.edgeLabel .label span {\n background: ${e.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\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\n\n.divider {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${e.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${e.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${e.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n line-height: initial;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n}\n`),"getStyles");var f=y;var k=(0,r.K2)(((e,t="TB")=>{if(!e.doc){return t}let s=t;for(const i of e.doc){if(i.stmt==="dir"){s=i.value}}return s}),"getDir");var C=(0,r.K2)((function(e,t){return t.db.getClasses()}),"getClasses");var g=(0,r.K2)((async function(e,t,s,u){r.Rm.info("REF0:");r.Rm.info("Drawing class diagram (v3)",t);const{securityLevel:l,state:o,layout:c}=(0,r.D7)();const h=u.db.getData();const p=(0,i.A)(t,l);h.type=u.type;h.layoutAlgorithm=(0,n.q7)(c);h.nodeSpacing=o?.nodeSpacing||50;h.rankSpacing=o?.rankSpacing||50;h.markers=["aggregation","extension","composition","dependency","lollipop"];h.diagramId=t;await(0,n.XX)(h,p);const d=8;a._K.insertTitle(p,"classDiagramTitleText",o?.titleTopMargin??25,u.db.getDiagramTitle());(0,i.P)(p,d,"classDiagram",o?.useMaxWidth??true)}),"draw");var m={getClasses:C,draw:g,getDir:k}},15051:(e,t,s)=>{s.d(t,{A:()=>a,P:()=>r});var i=s(75905);var n=s(24982);var a=(0,i.K2)(((e,t)=>{let s;if(t==="sandbox"){s=(0,n.Ltv)("#i"+e)}const i=t==="sandbox"?(0,n.Ltv)(s.nodes()[0].contentDocument.body):(0,n.Ltv)("body");const a=i.select(`[id="${e}"]`);return a}),"getDiagramElement");var r=(0,i.K2)(((e,t,s,n)=>{e.attr("class",s);const{width:a,height:r,x:o,y:c}=u(e,t);(0,i.a$)(e,r,a,n);const h=l(o,c,a,r,t);e.attr("viewBox",h);i.Rm.debug(`viewBox configured: ${h} with padding: ${t}`)}),"setupViewPortForSVG");var u=(0,i.K2)(((e,t)=>{const s=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+t*2,height:s.height+t*2,x:s.x,y:s.y}}),"calculateDimensionsWithPadding");var l=(0,i.K2)(((e,t,s,i,n)=>`${e-n} ${t-n} ${s} ${i}`),"createViewBox")}}]);
.venv/share/jupyter/lab/static/1423.4bcf4453e1c1d12d872f.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1423,5606],{75128:(t,e,s)=>{"use strict";s.d(e,{Ar:()=>d,Bc:()=>Qt,Gw:()=>Ot,_5:()=>h,et:()=>u,wm:()=>Wt});var i=s(71674);var n=s.n(i);var o=s(22819);var r=s.n(o);var l=s(4452);var a=s.n(l);class h{constructor(t,e,s,i){this.state=t;this.pos=e;this.explicit=s;this.view=i;this.abortListeners=[];this.abortOnDocChange=false}tokenBefore(t){let e=(0,l.syntaxTree)(this.state).resolveInner(this.pos,-1);while(e&&t.indexOf(e.name)<0)e=e.parent;return e?{from:e.from,to:this.pos,text:this.state.sliceDoc(e.from,this.pos),type:e.type}:null}matchBefore(t){let e=this.state.doc.lineAt(this.pos);let s=Math.max(e.from,this.pos-250);let i=e.text.slice(s-e.from,this.pos-e.from);let n=i.search(k(t,false));return n<0?null:{from:s+n,to:this.pos,text:i.slice(n)}}get aborted(){return this.abortListeners==null}addEventListener(t,e,s){if(t=="abort"&&this.abortListeners){this.abortListeners.push(e);if(s&&s.onDocChange)this.abortOnDocChange=true}}}function c(t){let e=Object.keys(t).join("");let s=/\w/.test(e);if(s)e=e.replace(/\w/g,"");return`[${s?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function f(t){let e=Object.create(null),s=Object.create(null);for(let{label:n}of t){e[n[0]]=true;for(let t=1;t<n.length;t++)s[n[t]]=true}let i=c(e)+c(s)+"*$";return[new RegExp("^"+i),new RegExp(i)]}function u(t){let e=t.map((t=>typeof t=="string"?{label:t}:t));let[s,i]=e.every((t=>/^\w+$/.test(t.label)))?[/\w*$/,/\w+$/]:f(e);return t=>{let n=t.matchBefore(i);return n||t.explicit?{from:n?n.from:t.pos,options:e,validFor:s}:null}}function p(t,e){return s=>{for(let i=syntaxTree(s.state).resolveInner(s.pos,-1);i;i=i.parent){if(t.indexOf(i.name)>-1)return e(s);if(i.type.isTop)break}return null}}function d(t,e){return s=>{for(let e=(0,l.syntaxTree)(s.state).resolveInner(s.pos,-1);e;e=e.parent){if(t.indexOf(e.name)>-1)return null;if(e.type.isTop)break}return e(s)}}class m{constructor(t,e,s,i){this.completion=t;this.source=e;this.match=s;this.score=i}}function g(t){return t.selection.main.from}function k(t,e){var s;let{source:i}=t;let n=e&&i[0]!="^",o=i[i.length-1]!="$";if(!n&&!o)return t;return new RegExp(`${n?"^":""}(?:${i})${o?"$":""}`,(s=t.flags)!==null&&s!==void 0?s:t.ignoreCase?"i":"")}const b=i.Annotation.define();function x(t,e,s,n){let{main:o}=t.selection,r=s-o.from,l=n-o.from;return Object.assign(Object.assign({},t.changeByRange((a=>{if(a!=o&&s!=n&&t.sliceDoc(a.from+r,a.from+l)!=t.sliceDoc(s,n))return{range:a};let h=t.toText(e);return{changes:{from:a.from+r,to:n==o.from?a.to:a.from+l,insert:h},range:i.EditorSelection.cursor(a.from+r+h.length)}}))),{scrollIntoView:true,userEvent:"input.complete"})}const v=new WeakMap;function w(t){if(!Array.isArray(t))return t;let e=v.get(t);if(!e)v.set(t,e=u(t));return e}const y=i.StateEffect.define();const S=i.StateEffect.define();class C{constructor(t){this.pattern=t;this.chars=[];this.folded=[];this.any=[];this.precise=[];this.byWord=[];this.score=0;this.matched=[];for(let e=0;e<t.length;){let s=(0,i.codePointAt)(t,e),n=(0,i.codePointSize)(s);this.chars.push(s);let o=t.slice(e,e+n),r=o.toUpperCase();this.folded.push((0,i.codePointAt)(r==o?o.toLowerCase():r,0));e+=n}this.astral=t.length!=this.chars.length}ret(t,e){this.score=t;this.matched=e;return this}match(t){if(this.pattern.length==0)return this.ret(-100,[]);if(t.length<this.pattern.length)return null;let{chars:e,folded:s,any:n,precise:o,byWord:r}=this;if(e.length==1){let n=(0,i.codePointAt)(t,0),o=(0,i.codePointSize)(n);let r=o==t.length?0:-100;if(n==e[0]);else if(n==s[0])r+=-200;else return null;return this.ret(r,[0,o])}let l=t.indexOf(this.pattern);if(l==0)return this.ret(t.length==this.pattern.length?0:-100,[0,this.pattern.length]);let a=e.length,h=0;if(l<0){for(let o=0,r=Math.min(t.length,200);o<r&&h<a;){let r=(0,i.codePointAt)(t,o);if(r==e[h]||r==s[h])n[h++]=o;o+=(0,i.codePointSize)(r)}if(h<a)return null}let c=0;let f=0,u=false;let p=0,d=-1,m=-1;let g=/[a-z]/.test(t),k=true;for(let b=0,x=Math.min(t.length,200),v=0;b<x&&f<a;){let n=(0,i.codePointAt)(t,b);if(l<0){if(c<a&&n==e[c])o[c++]=b;if(p<a){if(n==e[p]||n==s[p]){if(p==0)d=b;m=b+1;p++}else{p=0}}}let h,x=n<255?n>=48&&n<=57||n>=97&&n<=122?2:n>=65&&n<=90?1:0:(h=(0,i.fromCodePoint)(n))!=h.toLowerCase()?1:h!=h.toUpperCase()?2:0;if(!b||x==1&&g||v==0&&x!=0){if(e[f]==n||s[f]==n&&(u=true))r[f++]=b;else if(r.length)k=false}v=x;b+=(0,i.codePointSize)(n)}if(f==a&&r[0]==0&&k)return this.result(-100+(u?-200:0),r,t);if(p==a&&d==0)return this.ret(-200-t.length+(m==t.length?0:-100),[0,m]);if(l>-1)return this.ret(-700-t.length,[l,l+this.pattern.length]);if(p==a)return this.ret(-200+-700-t.length,[d,m]);if(f==a)return this.result(-100+(u?-200:0)+-700+(k?0:-1100),r,t);return e.length==2?null:this.result((n[0]?-700:0)+-200+-1100,n,t)}result(t,e,s){let n=[],o=0;for(let r of e){let t=r+(this.astral?(0,i.codePointSize)((0,i.codePointAt)(s,r)):1);if(o&&n[o-1]==r)n[o-1]=t;else{n[o++]=r;n[o++]=t}}return this.ret(t-s.length,n)}}class P{constructor(t){this.pattern=t;this.matched=[];this.score=0;this.folded=t.toLowerCase()}match(t){if(t.length<this.pattern.length)return null;let e=t.slice(0,this.pattern.length);let s=e==this.pattern?0:e.toLowerCase()==this.folded?-200:null;if(s==null)return null;this.matched=[0,e.length];this.score=s+(t.length==this.pattern.length?0:-100);return this}}const T=i.Facet.define({combine(t){return(0,i.combineConfig)(t,{activateOnTyping:true,activateOnCompletion:()=>false,activateOnTypingDelay:100,selectOnOpen:true,override:null,closeOnBlur:true,maxRenderedOptions:100,defaultKeymap:true,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:false,icons:true,addToOptions:[],positionInfo:I,filterStrict:false,compareCompletions:(t,e)=>t.label.localeCompare(e.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,e)=>t&&e,closeOnBlur:(t,e)=>t&&e,icons:(t,e)=>t&&e,tooltipClass:(t,e)=>s=>A(t(s),e(s)),optionClass:(t,e)=>s=>A(t(s),e(s)),addToOptions:(t,e)=>t.concat(e),filterStrict:(t,e)=>t||e})}});function A(t,e){return t?e?t+" "+e:t:e}function I(t,e,s,i,n,r){let l=t.textDirection==o.Direction.RTL,a=l,h=false;let c="top",f,u;let p=e.left-n.left,d=n.right-e.right;let m=i.right-i.left,g=i.bottom-i.top;if(a&&p<Math.min(m,d))a=false;else if(!a&&d<Math.min(m,p))a=true;if(m<=(a?p:d)){f=Math.max(n.top,Math.min(s.top,n.bottom-g))-e.top;u=Math.min(400,a?p:d)}else{h=true;u=Math.min(400,(l?e.right:n.right-e.left)-30);let t=n.bottom-e.bottom;if(t>=g||t>e.top){f=s.bottom-e.top}else{c="bottom";f=e.bottom-s.top}}let k=(e.bottom-e.top)/r.offsetHeight;let b=(e.right-e.left)/r.offsetWidth;return{style:`${c}: ${f/k}px; max-width: ${u/b}px`,class:"cm-completionInfo-"+(h?l?"left-narrow":"right-narrow":a?"left":"right")}}function O(t){let e=t.addToOptions.slice();if(t.icons)e.push({render(t){let e=document.createElement("div");e.classList.add("cm-completionIcon");if(t.type)e.classList.add(...t.type.split(/\s+/g).map((t=>"cm-completionIcon-"+t)));e.setAttribute("aria-hidden","true");return e},position:20});e.push({render(t,e,s,i){let n=document.createElement("span");n.className="cm-completionLabel";let o=t.displayLabel||t.label,r=0;for(let l=0;l<i.length;){let t=i[l++],e=i[l++];if(t>r)n.appendChild(document.createTextNode(o.slice(r,t)));let s=n.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(o.slice(t,e)));s.className="cm-completionMatchedText";r=e}if(r<o.length)n.appendChild(document.createTextNode(o.slice(r)));return n},position:50},{render(t){if(!t.detail)return null;let e=document.createElement("span");e.className="cm-completionDetail";e.textContent=t.detail;return e},position:80});return e.sort(((t,e)=>t.position-e.position)).map((t=>t.render))}function D(t,e,s){if(t<=s)return{from:0,to:t};if(e<0)e=0;if(e<=t>>1){let t=Math.floor(e/s);return{from:t*s,to:(t+1)*s}}let i=Math.floor((t-e)/s);return{from:t-(i+1)*s,to:t-i*s}}class R{constructor(t,e,s){this.view=t;this.stateField=e;this.applyCompletion=s;this.info=null;this.infoDestroy=null;this.placeInfoReq={read:()=>this.measureInfo(),write:t=>this.placeInfo(t),key:this};this.space=null;this.currentClass="";let i=t.state.field(e);let{options:n,selected:o}=i.open;let r=t.state.facet(T);this.optionContent=O(r);this.optionClass=r.optionClass;this.tooltipClass=r.tooltipClass;this.range=D(n.length,o,r.maxRenderedOptions);this.dom=document.createElement("div");this.dom.className="cm-tooltip-autocomplete";this.updateTooltipClass(t.state);this.dom.addEventListener("mousedown",(s=>{let{options:i}=t.state.field(e).open;for(let e=s.target,n;e&&e!=this.dom;e=e.parentNode){if(e.nodeName=="LI"&&(n=/-(\d+)$/.exec(e.id))&&+n[1]<i.length){this.applyCompletion(t,i[+n[1]]);s.preventDefault();return}}}));this.dom.addEventListener("focusout",(e=>{let s=t.state.field(this.stateField,false);if(s&&s.tooltip&&t.state.facet(T).closeOnBlur&&e.relatedTarget!=t.contentDOM)t.dispatch({effects:S.of(null)})}));this.showOptions(n,i.id)}mount(){this.updateSel()}showOptions(t,e){if(this.list)this.list.remove();this.list=this.dom.appendChild(this.createListBox(t,e,this.range));this.list.addEventListener("scroll",(()=>{if(this.info)this.view.requestMeasure(this.placeInfoReq)}))}update(t){var e;let s=t.state.field(this.stateField);let i=t.startState.field(this.stateField);this.updateTooltipClass(t.state);if(s!=i){let{options:n,selected:o,disabled:r}=s.open;if(!i.open||i.open.options!=n){this.range=D(n.length,o,t.state.facet(T).maxRenderedOptions);this.showOptions(n,s.id)}this.updateSel();if(r!=((e=i.open)===null||e===void 0?void 0:e.disabled))this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!r)}}updateTooltipClass(t){let e=this.tooltipClass(t);if(e!=this.currentClass){for(let t of this.currentClass.split(" "))if(t)this.dom.classList.remove(t);for(let t of e.split(" "))if(t)this.dom.classList.add(t);this.currentClass=e}}positioned(t){this.space=t;if(this.info)this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),e=t.open;if(e.selected>-1&&e.selected<this.range.from||e.selected>=this.range.to){this.range=D(e.options.length,e.selected,this.view.state.facet(T).maxRenderedOptions);this.showOptions(e.options,t.id)}if(this.updateSelectedOption(e.selected)){this.destroyInfo();let{completion:s}=e.options[e.selected];let{info:i}=s;if(!i)return;let n=typeof i==="string"?document.createTextNode(i):i(s);if(!n)return;if("then"in n){n.then((e=>{if(e&&this.view.state.field(this.stateField,false)==t)this.addInfoPane(e,s)})).catch((t=>(0,o.logException)(this.view.state,t,"completion info")))}else{this.addInfoPane(n,s)}}}addInfoPane(t,e){this.destroyInfo();let s=this.info=document.createElement("div");s.className="cm-tooltip cm-completionInfo";if(t.nodeType!=null){s.appendChild(t);this.infoDestroy=null}else{let{dom:e,destroy:i}=t;s.appendChild(e);this.infoDestroy=i||null}this.dom.appendChild(s);this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let e=null;for(let s=this.list.firstChild,i=this.range.from;s;s=s.nextSibling,i++){if(s.nodeName!="LI"||!s.id){i--}else if(i==t){if(!s.hasAttribute("aria-selected")){s.setAttribute("aria-selected","true");e=s}}else{if(s.hasAttribute("aria-selected"))s.removeAttribute("aria-selected")}}if(e)N(this.list,e);return e}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let e=this.dom.getBoundingClientRect();let s=this.info.getBoundingClientRect();let i=t.getBoundingClientRect();let n=this.space;if(!n){let t=this.dom.ownerDocument.documentElement;n={left:0,top:0,right:t.clientWidth,bottom:t.clientHeight}}if(i.top>Math.min(n.bottom,e.bottom)-10||i.bottom<Math.max(n.top,e.top)+10)return null;return this.view.state.facet(T).positionInfo(this.view,e,i,s,n,this.dom)}placeInfo(t){if(this.info){if(t){if(t.style)this.info.style.cssText=t.style;this.info.className="cm-tooltip cm-completionInfo "+(t.class||"")}else{this.info.style.cssText="top: -1e6px"}}}createListBox(t,e,s){const i=document.createElement("ul");i.id=e;i.setAttribute("role","listbox");i.setAttribute("aria-expanded","true");i.setAttribute("aria-label",this.view.state.phrase("Completions"));i.addEventListener("mousedown",(t=>{if(t.target==i)t.preventDefault()}));let n=null;for(let o=s.from;o<s.to;o++){let{completion:r,match:l}=t[o],{section:a}=r;if(a){let t=typeof a=="string"?a:a.name;if(t!=n&&(o>s.from||s.from==0)){n=t;if(typeof a!="string"&&a.header){i.appendChild(a.header(a))}else{let e=i.appendChild(document.createElement("completion-section"));e.textContent=t}}}const h=i.appendChild(document.createElement("li"));h.id=e+"-"+o;h.setAttribute("role","option");let c=this.optionClass(r);if(c)h.className=c;for(let t of this.optionContent){let e=t(r,this.view.state,this.view,l);if(e)h.appendChild(e)}}if(s.from)i.classList.add("cm-completionListIncompleteTop");if(s.to<t.length)i.classList.add("cm-completionListIncompleteBottom");return i}destroyInfo(){if(this.info){if(this.infoDestroy)this.infoDestroy();this.info.remove();this.info=null}}destroy(){this.destroyInfo()}}function E(t,e){return s=>new R(s,t,e)}function N(t,e){let s=t.getBoundingClientRect();let i=e.getBoundingClientRect();let n=s.height/t.offsetHeight;if(i.top<s.top)t.scrollTop-=(s.top-i.top)/n;else if(i.bottom>s.bottom)t.scrollTop+=(i.bottom-s.bottom)/n}function L(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function B(t,e){let s=[];let i=null;let n=t=>{s.push(t);let{section:e}=t.completion;if(e){if(!i)i=[];let t=typeof e=="string"?e:e.name;if(!i.some((e=>e.name==t)))i.push(typeof e=="string"?{name:t}:e)}};let o=e.facet(T);for(let h of t)if(h.hasResult()){let t=h.result.getMatch;if(h.result.filter===false){for(let e of h.result.options){n(new m(e,h.source,t?t(e):[],1e9-s.length))}}else{let s=e.sliceDoc(h.from,h.to),i;let r=o.filterStrict?new P(s):new C(s);for(let e of h.result.options)if(i=r.match(e.label)){let s=!e.displayLabel?i.matched:t?t(e,i.matched):[];n(new m(e,h.source,s,i.score+(e.boost||0)))}}}if(i){let t=Object.create(null),e=0;let n=(t,e)=>{var s,i;return((s=t.rank)!==null&&s!==void 0?s:1e9)-((i=e.rank)!==null&&i!==void 0?i:1e9)||(t.name<e.name?-1:1)};for(let s of i.sort(n)){e-=1e5;t[s.name]=e}for(let i of s){let{section:e}=i.completion;if(e)i.score+=t[typeof e=="string"?e:e.name]}}let r=[],l=null;let a=o.compareCompletions;for(let h of s.sort(((t,e)=>e.score-t.score||a(t.completion,e.completion)))){let t=h.completion;if(!l||l.label!=t.label||l.detail!=t.detail||l.type!=null&&t.type!=null&&l.type!=t.type||l.apply!=t.apply||l.boost!=t.boost)r.push(h);else if(L(h.completion)>L(l))r[r.length-1]=h;l=h.completion}return r}class M{constructor(t,e,s,i,n,o){this.options=t;this.attrs=e;this.tooltip=s;this.timestamp=i;this.selected=n;this.disabled=o}setSelected(t,e){return t==this.selected||t>=this.options.length?this:new M(this.options,U(e,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,e,s,i,n,o){if(i&&!o&&t.some((t=>t.isPending)))return i.setDisabled();let r=B(t,e);if(!r.length)return i&&t.some((t=>t.isPending))?i.setDisabled():null;let l=e.facet(T).selectOnOpen?0:-1;if(i&&i.selected!=l&&i.selected!=-1){let t=i.options[i.selected].completion;for(let e=0;e<r.length;e++)if(r[e].completion==t){l=e;break}}return new M(r,U(s,l),{pos:t.reduce(((t,e)=>e.hasResult()?Math.min(t,e.from):t),1e8),create:Y,above:n.aboveCursor},i?i.timestamp:Date.now(),l,false)}map(t){return new M(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new M(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,true)}}class z{constructor(t,e,s){this.active=t;this.id=e;this.open=s}static start(){return new z(W,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:e}=t,s=e.facet(T);let i=s.override||e.languageDataAt("autocomplete",g(e)).map(w);let n=i.map((e=>{let i=this.active.find((t=>t.source==e))||new q(e,this.active.some((t=>t.state!=0))?1:0);return i.update(t,s)}));if(n.length==this.active.length&&n.every(((t,e)=>t==this.active[e])))n=this.active;let o=this.open,r=t.effects.some((t=>t.is(_)));if(o&&t.docChanged)o=o.map(t.changes);if(t.selection||n.some((e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to)))||!F(n,this.active)||r)o=M.build(n,e,this.id,o,s,r);else if(o&&o.disabled&&!n.some((t=>t.isPending)))o=null;if(!o&&n.every((t=>!t.isPending))&&n.some((t=>t.hasResult())))n=n.map((t=>t.hasResult()?new q(t.source,0):t));for(let l of t.effects)if(l.is(K))o=o&&o.setSelected(l.value,this.id);return n==this.active&&o==this.open?this:new z(n,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?$:j}}function F(t,e){if(t==e)return true;for(let s=0,i=0;;){while(s<t.length&&!t[s].hasResult())s++;while(i<e.length&&!e[i].hasResult())i++;let n=s==t.length,o=i==e.length;if(n||o)return n==o;if(t[s++].result!=e[i++].result)return false}}const $={"aria-autocomplete":"list"};const j={};function U(t,e){let s={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};if(e>-1)s["aria-activedescendant"]=t+"-"+e;return s}const W=[];function V(t,e){if(t.isUserEvent("input.complete")){let s=t.annotation(b);if(s&&e.activateOnCompletion(s))return 4|8}let s=t.isUserEvent("input.type");return s&&e.activateOnTyping?4|1:s?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class q{constructor(t,e,s=false){this.source=t;this.state=e;this.explicit=s}hasResult(){return false}get isPending(){return this.state==1}update(t,e){let s=V(t,e),i=this;if(s&8||s&16&&this.touches(t))i=new q(i.source,0);if(s&4&&i.state==0)i=new q(this.source,1);i=i.updateFor(t,s);for(let n of t.effects){if(n.is(y))i=new q(i.source,1,n.value);else if(n.is(S))i=new q(i.source,0);else if(n.is(_))for(let t of n.value)if(t.source==i.source)i=t}return i}updateFor(t,e){return this.map(t.changes)}map(t){return this}touches(t){return t.changes.touchesRange(g(t.state))}}class H extends q{constructor(t,e,s,i,n,o){super(t,3,e);this.limit=s;this.result=i;this.from=n;this.to=o}hasResult(){return true}updateFor(t,e){var s;if(!(e&3))return this.map(t.changes);let i=this.result;if(i.map&&!t.changes.empty)i=i.map(i,t.changes);let n=t.changes.mapPos(this.from),o=t.changes.mapPos(this.to,1);let r=g(t.state);if(r>o||!i||e&2&&(g(t.startState)==this.from||r<this.limit))return new q(this.source,e&4?1:0);let l=t.changes.mapPos(this.limit);if(G(i.validFor,t.state,n,o))return new H(this.source,this.explicit,l,i,n,o);if(i.update&&(i=i.update(i,n,o,new h(t.state,r,false))))return new H(this.source,this.explicit,l,i,i.from,(s=i.to)!==null&&s!==void 0?s:g(t.state));return new q(this.source,1,this.explicit)}map(t){if(t.empty)return this;let e=this.result.map?this.result.map(this.result,t):this.result;if(!e)return new q(this.source,0);return new H(this.source,this.explicit,t.mapPos(this.limit),this.result,t.mapPos(this.from),t.mapPos(this.to,1))}touches(t){return t.changes.touchesRange(this.from,this.to)}}function G(t,e,s,i){if(!t)return false;let n=e.sliceDoc(s,i);return typeof t=="function"?t(n,s,i,e):k(t,true).test(n)}const _=i.StateEffect.define({map(t,e){return t.map((t=>t.map(e)))}});const K=i.StateEffect.define();const Q=i.StateField.define({create(){return z.start()},update(t,e){return t.update(e)},provide:t=>[o.showTooltip.from(t,(t=>t.tooltip)),o.EditorView.contentAttributes.from(t,(t=>t.attrs))]});function X(t,e){const s=e.completion.apply||e.completion.label;let i=t.state.field(Q).active.find((t=>t.source==e.source));if(!(i instanceof H))return false;if(typeof s=="string")t.dispatch(Object.assign(Object.assign({},x(t.state,s,i.from,i.to)),{annotations:b.of(e.completion)}));else s(t,e.completion,i.from,i.to);return true}const Y=E(Q,X);function J(t,e="option"){return s=>{let i=s.state.field(Q,false);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp<s.state.facet(T).interactionDelay)return false;let n=1,r;if(e=="page"&&(r=(0,o.getTooltip)(s,i.open.tooltip)))n=Math.max(2,Math.floor(r.dom.offsetHeight/r.dom.querySelector("li").offsetHeight)-1);let{length:l}=i.open.options;let a=i.open.selected>-1?i.open.selected+n*(t?1:-1):t?0:l-1;if(a<0)a=e=="page"?0:l-1;else if(a>=l)a=e=="page"?l-1:0;s.dispatch({effects:K.of(a)});return true}}const Z=t=>{let e=t.state.field(Q,false);if(t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(T).interactionDelay)return false;return X(t,e.open.options[e.open.selected])};const tt=t=>{let e=t.state.field(Q,false);if(!e)return false;t.dispatch({effects:y.of(true)});return true};const et=t=>{let e=t.state.field(Q,false);if(!e||!e.active.some((t=>t.state!=0)))return false;t.dispatch({effects:S.of(null)});return true};class st{constructor(t,e){this.active=t;this.context=e;this.time=Date.now();this.updates=[];this.done=undefined}}const it=50,nt=1e3;const ot=o.ViewPlugin.fromClass(class{constructor(t){this.view=t;this.debounceUpdate=-1;this.running=[];this.debounceAccept=-1;this.pendingStart=false;this.composing=0;for(let e of t.state.field(Q).active)if(e.isPending)this.startQuery(e)}update(t){let e=t.state.field(Q);let s=t.state.facet(T);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Q)==e)return;let i=t.transactions.some((t=>{let e=V(t,s);return e&8||(t.selection||t.docChanged)&&!(e&3)}));for(let l=0;l<this.running.length;l++){let e=this.running[l];if(i||e.context.abortOnDocChange&&t.docChanged||e.updates.length+t.transactions.length>it&&Date.now()-e.time>nt){for(let t of e.context.abortListeners){try{t()}catch(r){(0,o.logException)(this.view.state,r)}}e.context.abortListeners=null;this.running.splice(l--,1)}else{e.updates.push(...t.transactions)}}if(this.debounceUpdate>-1)clearTimeout(this.debounceUpdate);if(t.transactions.some((t=>t.effects.some((t=>t.is(y))))))this.pendingStart=true;let n=this.pendingStart?50:s.activateOnTypingDelay;this.debounceUpdate=e.active.some((t=>t.isPending&&!this.running.some((e=>e.active.source==t.source))))?setTimeout((()=>this.startUpdate()),n):-1;if(this.composing!=0)for(let o of t.transactions){if(o.isUserEvent("input.type"))this.composing=2;else if(this.composing==2&&o.selection)this.composing=3}}startUpdate(){this.debounceUpdate=-1;this.pendingStart=false;let{state:t}=this.view,e=t.field(Q);for(let s of e.active){if(s.isPending&&!this.running.some((t=>t.active.source==s.source)))this.startQuery(s)}if(this.running.length&&e.open&&e.open.disabled)this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(T).updateSyncTime)}startQuery(t){let{state:e}=this.view,s=g(e);let i=new h(e,s,t.explicit,this.view);let n=new st(t,i);this.running.push(n);Promise.resolve(t.source(i)).then((t=>{if(!n.context.aborted){n.done=t||null;this.scheduleAccept()}}),(t=>{this.view.dispatch({effects:S.of(null)});(0,o.logException)(this.view.state,t)}))}scheduleAccept(){if(this.running.every((t=>t.done!==undefined)))this.accept();else if(this.debounceAccept<0)this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(T).updateSyncTime)}accept(){var t;if(this.debounceAccept>-1)clearTimeout(this.debounceAccept);this.debounceAccept=-1;let e=[];let s=this.view.state.facet(T),i=this.view.state.field(Q);for(let n=0;n<this.running.length;n++){let o=this.running[n];if(o.done===undefined)continue;this.running.splice(n--,1);if(o.done){let i=g(o.updates.length?o.updates[0].startState:this.view.state);let n=Math.min(i,o.done.from+(o.active.explicit?0:1));let r=new H(o.active.source,o.active.explicit,n,o.done,o.done.from,(t=o.done.to)!==null&&t!==void 0?t:i);for(let t of o.updates)r=r.update(t,s);if(r.hasResult()){e.push(r);continue}}let r=i.active.find((t=>t.source==o.active.source));if(r&&r.isPending){if(o.done==null){let t=new q(o.active.source,0);for(let e of o.updates)t=t.update(e,s);if(!t.isPending)e.push(t)}else{this.startQuery(r)}}}if(e.length||i.open&&i.open.disabled)this.view.dispatch({effects:_.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Q,false);if(e&&e.tooltip&&this.view.state.facet(T).closeOnBlur){let s=e.open&&(0,o.getTooltip)(this.view,e.open.tooltip);if(!s||!s.dom.contains(t.relatedTarget))setTimeout((()=>this.view.dispatch({effects:S.of(null)})),10)}},compositionstart(){this.composing=1},compositionend(){if(this.composing==3){setTimeout((()=>this.view.dispatch({effects:y.of(false)})),20)}this.composing=0}}});const rt=typeof navigator=="object"&&/Win/.test(navigator.platform);const lt=i.Prec.highest(o.EditorView.domEventHandlers({keydown(t,e){let s=e.state.field(Q,false);if(!s||!s.open||s.open.disabled||s.open.selected<0||t.key.length>1||t.ctrlKey&&!(rt&&t.altKey)||t.metaKey)return false;let i=s.open.options[s.open.selected];let n=s.active.find((t=>t.source==i.source));let o=i.completion.commitCharacters||n.result.commitCharacters;if(o&&o.indexOf(t.key)>-1)X(e,i);return false}}));const at=o.EditorView.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:`${400}px`,boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`${30}px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`${30}px`},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class ht{constructor(t,e,s,i){this.field=t;this.line=e;this.from=s;this.to=i}}class ct{constructor(t,e,s){this.field=t;this.from=e;this.to=s}map(t){let e=t.mapPos(this.from,-1,i.MapMode.TrackDel);let s=t.mapPos(this.to,1,i.MapMode.TrackDel);return e==null||s==null?null:new ct(this.field,e,s)}}class ft{constructor(t,e){this.lines=t;this.fieldPositions=e}instantiate(t,e){let s=[],i=[e];let n=t.doc.lineAt(e),o=/^\s*/.exec(n.text)[0];for(let a of this.lines){if(s.length){let s=o,n=/^\t*/.exec(a)[0].length;for(let e=0;e<n;e++)s+=t.facet(l.indentUnit);i.push(e+s.length-n);a=s+a.slice(n)}s.push(a);e+=a.length+1}let r=this.fieldPositions.map((t=>new ct(t.field,i[t.line]+t.from,i[t.line]+t.to)));return{text:s,ranges:r}}static parse(t){let e=[];let s=[],i=[],n;for(let o of t.split(/\r\n?|\n/)){while(n=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(o)){let t=n[1]?+n[1]:null,r=n[2]||n[3]||"",l=-1;let a=r.replace(/\\[{}]/g,(t=>t[1]));for(let s=0;s<e.length;s++){if(t!=null?e[s].seq==t:a?e[s].name==a:false)l=s}if(l<0){let s=0;while(s<e.length&&(t==null||e[s].seq!=null&&e[s].seq<t))s++;e.splice(s,0,{seq:t,name:a});l=s;for(let t of i)if(t.field>=l)t.field++}i.push(new ht(l,s.length,n.index,n.index+a.length));o=o.slice(0,n.index)+r+o.slice(n.index+n[0].length)}o=o.replace(/\\([{}])/g,((t,e,n)=>{for(let o of i)if(o.line==s.length&&o.from>n){o.from--;o.to--}return e}));s.push(o)}return new ft(s,i)}}let ut=o.Decoration.widget({widget:new class extends o.WidgetType{toDOM(){let t=document.createElement("span");t.className="cm-snippetFieldPosition";return t}ignoreEvent(){return false}}});let pt=o.Decoration.mark({class:"cm-snippetField"});class dt{constructor(t,e){this.ranges=t;this.active=e;this.deco=o.Decoration.set(t.map((t=>(t.from==t.to?ut:pt).range(t.from,t.to))))}map(t){let e=[];for(let s of this.ranges){let i=s.map(t);if(!i)return null;e.push(i)}return new dt(e,this.active)}selectionInsideField(t){return t.ranges.every((t=>this.ranges.some((e=>e.field==this.active&&e.from<=t.from&&e.to>=t.to))))}}const mt=i.StateEffect.define({map(t,e){return t&&t.map(e)}});const gt=i.StateEffect.define();const kt=i.StateField.define({create(){return null},update(t,e){for(let s of e.effects){if(s.is(mt))return s.value;if(s.is(gt)&&t)return new dt(t.ranges,s.value)}if(t&&e.docChanged)t=t.map(e.changes);if(t&&e.selection&&!t.selectionInsideField(e.selection))t=null;return t},provide:t=>o.EditorView.decorations.from(t,(t=>t?t.deco:o.Decoration.none))});function bt(t,e){return i.EditorSelection.create(t.filter((t=>t.field==e)).map((t=>i.EditorSelection.range(t.from,t.to))))}function xt(t){let e=ft.parse(t);return(t,s,n,o)=>{let{text:r,ranges:l}=e.instantiate(t.state,n);let{main:a}=t.state.selection;let h={changes:{from:n,to:o==a.from?a.to:o,insert:i.Text.of(r)},scrollIntoView:true,annotations:s?[b.of(s),i.Transaction.userEvent.of("input.complete")]:undefined};if(l.length)h.selection=bt(l,0);if(l.some((t=>t.field>0))){let e=new dt(l,0);let s=h.effects=[mt.of(e)];if(t.state.field(kt,false)===undefined)s.push(i.StateEffect.appendConfig.of([kt,It,Dt,at]))}t.dispatch(t.state.update(h))}}function vt(t){return({state:e,dispatch:s})=>{let i=e.field(kt,false);if(!i||t<0&&i.active==0)return false;let n=i.active+t,o=t>0&&!i.ranges.some((e=>e.field==n+t));s(e.update({selection:bt(i.ranges,n),effects:mt.of(o?null:new dt(i.ranges,n)),scrollIntoView:true}));return true}}const wt=({state:t,dispatch:e})=>{let s=t.field(kt,false);if(!s)return false;e(t.update({effects:mt.of(null)}));return true};const yt=vt(1);const St=vt(-1);function Ct(t){let e=t.field(kt,false);return!!(e&&e.ranges.some((t=>t.field==e.active+1)))}function Pt(t){let e=t.field(kt,false);return!!(e&&e.active>0)}const Tt=[{key:"Tab",run:yt,shift:St},{key:"Escape",run:wt}];const At=i.Facet.define({combine(t){return t.length?t[0]:Tt}});const It=i.Prec.highest(o.keymap.compute([At],(t=>t.facet(At))));function Ot(t,e){return Object.assign(Object.assign({},e),{apply:xt(t)})}const Dt=o.EditorView.domEventHandlers({mousedown(t,e){let s=e.state.field(kt,false),i;if(!s||(i=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return false;let n=s.ranges.find((t=>t.from<=i&&t.to>=i));if(!n||n.field==s.active)return false;e.dispatch({selection:bt(s.ranges,n.field),effects:mt.of(s.ranges.some((t=>t.field>n.field))?new dt(s.ranges,n.field):null),scrollIntoView:true});return true}});function Rt(t){let e=t.replace(/[\]\-\\]/g,"\\$&");try{return new RegExp(`[\\p{Alphabetic}\\p{Number}_${e}]+`,"ug")}catch(s){return new RegExp(`[w${e}]`,"g")}}function Et(t,e){return new RegExp(e(t.source),t.unicode?"u":"")}const Nt=null&&Object.create(null);function Lt(t){return Nt[t]||(Nt[t]=new WeakMap)}function Bt(t,e,s,i,n){for(let o=t.iterLines(),r=0;!o.next().done;){let{value:t}=o,l;e.lastIndex=0;while(l=e.exec(t)){if(!i[l[0]]&&r+l.index!=n){s.push({type:"text",label:l[0]});i[l[0]]=true;if(s.length>=2e3)return}}r+=t.length+1}}function Mt(t,e,s,i,n){let o=t.length>=1e3;let r=o&&e.get(t);if(r)return r;let l=[],a=Object.create(null);if(t.children){let o=0;for(let r of t.children){if(r.length>=1e3){for(let t of Mt(r,e,s,i-o,n-o)){if(!a[t.label]){a[t.label]=true;l.push(t)}}}else{Bt(r,s,l,a,n-o)}o+=r.length+1}}else{Bt(t,s,l,a,n)}if(o&&l.length<2e3)e.set(t,l);return l}const zt=t=>{let e=t.state.languageDataAt("wordChars",t.pos).join("");let s=Rt(e);let i=t.matchBefore(Et(s,(t=>t+"$")));if(!i&&!t.explicit)return null;let n=i?i.from:t.pos;let o=Mt(t.state.doc,Lt(e),s,5e4,n);return{from:n,options:o,validFor:Et(s,(t=>"^"+t))}};const Ft={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]};const $t=i.StateEffect.define({map(t,e){let s=e.mapPos(t,-1,i.MapMode.TrackAfter);return s==null?undefined:s}});const jt=new class extends i.RangeValue{};jt.startSide=1;jt.endSide=-1;const Ut=i.StateField.define({create(){return i.RangeSet.empty},update(t,e){t=t.map(e.changes);if(e.selection){let s=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:t=>t>=s.from&&t<=s.to})}for(let s of e.effects)if(s.is($t))t=t.update({add:[jt.range(s.value,s.value+1)]});return t}});function Wt(){return[_t,Ut]}const Vt="()[]{}<>«»»«[]{}";function qt(t){for(let e=0;e<Vt.length;e+=2)if(Vt.charCodeAt(e)==t)return Vt.charAt(e+1);return(0,i.fromCodePoint)(t<128?t:t+1)}function Ht(t,e){return t.languageDataAt("closeBrackets",e)[0]||Ft}const Gt=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent);const _t=o.EditorView.inputHandler.of(((t,e,s,n)=>{if((Gt?t.composing:t.compositionStarted)||t.state.readOnly)return false;let o=t.state.selection.main;if(n.length>2||n.length==2&&(0,i.codePointSize)((0,i.codePointAt)(n,0))==1||e!=o.from||s!=o.to)return false;let r=Xt(t.state,n);if(!r)return false;t.dispatch(r);return true}));const Kt=({state:t,dispatch:e})=>{if(t.readOnly)return false;let s=Ht(t,t.selection.main.head);let n=s.brackets||Ft.brackets;let o=null,r=t.changeByRange((e=>{if(e.empty){let s=Zt(t.doc,e.head);for(let o of n){if(o==s&&Jt(t.doc,e.head)==qt((0,i.codePointAt)(o,0)))return{changes:{from:e.head-o.length,to:e.head+o.length},range:i.EditorSelection.cursor(e.head-o.length)}}}return{range:o=e}}));if(!o)e(t.update(r,{scrollIntoView:true,userEvent:"delete.backward"}));return!o};const Qt=[{key:"Backspace",run:Kt}];function Xt(t,e){let s=Ht(t,t.selection.main.head);let n=s.brackets||Ft.brackets;for(let o of n){let r=qt((0,i.codePointAt)(o,0));if(e==o)return r==o?se(t,o,n.indexOf(o+o+o)>-1,s):te(t,o,r,s.before||Ft.before);if(e==r&&Yt(t,t.selection.main.from))return ee(t,o,r)}return null}function Yt(t,e){let s=false;t.field(Ut).between(0,t.doc.length,(t=>{if(t==e)s=true}));return s}function Jt(t,e){let s=t.sliceString(e,e+2);return s.slice(0,(0,i.codePointSize)((0,i.codePointAt)(s,0)))}function Zt(t,e){let s=t.sliceString(e-2,e);return(0,i.codePointSize)((0,i.codePointAt)(s,0))==s.length?s:s.slice(1)}function te(t,e,s,n){let o=null,r=t.changeByRange((r=>{if(!r.empty)return{changes:[{insert:e,from:r.from},{insert:s,from:r.to}],effects:$t.of(r.to+e.length),range:i.EditorSelection.range(r.anchor+e.length,r.head+e.length)};let l=Jt(t.doc,r.head);if(!l||/\s/.test(l)||n.indexOf(l)>-1)return{changes:{insert:e+s,from:r.head},effects:$t.of(r.head+e.length),range:i.EditorSelection.cursor(r.head+e.length)};return{range:o=r}}));return o?null:t.update(r,{scrollIntoView:true,userEvent:"input.type"})}function ee(t,e,s){let n=null,o=t.changeByRange((e=>{if(e.empty&&Jt(t.doc,e.head)==s)return{changes:{from:e.head,to:e.head+s.length,insert:s},range:i.EditorSelection.cursor(e.head+s.length)};return n={range:e}}));return n?null:t.update(o,{scrollIntoView:true,userEvent:"input.type"})}function se(t,e,s,n){let o=n.stringPrefixes||Ft.stringPrefixes;let r=null,l=t.changeByRange((n=>{if(!n.empty)return{changes:[{insert:e,from:n.from},{insert:e,from:n.to}],effects:$t.of(n.to+e.length),range:i.EditorSelection.range(n.anchor+e.length,n.head+e.length)};let l=n.head,a=Jt(t.doc,l),h;if(a==e){if(ie(t,l)){return{changes:{insert:e+e,from:l},effects:$t.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(Yt(t,l)){let n=s&&t.sliceDoc(l,l+e.length*3)==e+e+e;let o=n?e+e+e:e;return{changes:{from:l,to:l+o.length,insert:o},range:i.EditorSelection.cursor(l+o.length)}}}else if(s&&t.sliceDoc(l-2*e.length,l)==e+e&&(h=oe(t,l-2*e.length,o))>-1&&ie(t,h)){return{changes:{insert:e+e+e+e,from:l},effects:$t.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(t.charCategorizer(l)(a)!=i.CharCategory.Word){if(oe(t,l,o)>-1&&!ne(t,l,e,o))return{changes:{insert:e+e,from:l},effects:$t.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}return{range:r=n}}));return r?null:t.update(l,{scrollIntoView:true,userEvent:"input.type"})}function ie(t,e){let s=(0,l.syntaxTree)(t).resolveInner(e+1);return s.parent&&s.from==e}function ne(t,e,s,i){let n=(0,l.syntaxTree)(t).resolveInner(e,-1);let o=i.reduce(((t,e)=>Math.max(t,e.length)),0);for(let r=0;r<5;r++){let r=t.sliceDoc(n.from,Math.min(n.to,n.from+s.length+o));let l=r.indexOf(s);if(!l||l>-1&&i.indexOf(r.slice(0,l))>-1){let e=n.firstChild;while(e&&e.from==n.from&&e.to-e.from>s.length+l){if(t.sliceDoc(e.to-s.length,e.to)==s)return false;e=e.firstChild}return true}let a=n.to==e&&n.parent;if(!a)break;n=a}return false}function oe(t,e,s){let n=t.charCategorizer(e);if(n(t.sliceDoc(e-1,e))!=i.CharCategory.Word)return e;for(let o of s){let s=e-o.length;if(t.sliceDoc(s,e)==o&&n(t.sliceDoc(s-1,s))!=i.CharCategory.Word)return s}return-1}function re(t={}){return[lt,Q,T.of(t),ot,ae,at]}const le=[{key:"Ctrl-Space",run:tt},{mac:"Alt-`",run:tt},{key:"Escape",run:et},{key:"ArrowDown",run:J(true)},{key:"ArrowUp",run:J(false)},{key:"PageDown",run:J(true,"page")},{key:"PageUp",run:J(false,"page")},{key:"Enter",run:Z}];const ae=i.Prec.highest(o.keymap.computeN([T],(t=>t.facet(T).defaultKeymap?[le]:[])));function he(t){let e=t.field(Q,false);return e&&e.active.some((t=>t.isPending))?"pending":e&&e.active.some((t=>t.state!=0))?"active":null}const ce=new WeakMap;function fe(t){var e;let s=(e=t.field(Q,false))===null||e===void 0?void 0:e.open;if(!s||s.disabled)return[];let i=ce.get(s.options);if(!i)ce.set(s.options,i=s.options.map((t=>t.completion)));return i}function ue(t){var e;let s=(e=t.field(Q,false))===null||e===void 0?void 0:e.open;return s&&!s.disabled&&s.selected>=0?s.options[s.selected].completion:null}function pe(t){var e;let s=(e=t.field(Q,false))===null||e===void 0?void 0:e.open;return s&&!s.disabled&&s.selected>=0?s.selected:null}function de(t){return K.of(t)}},27421:(t,e,s)=>{"use strict";s.d(e,{Aj:()=>O,Lu:()=>g,U1:()=>D,uC:()=>m});var i=s(66575);var n=s.n(i);var o=s(65606);class r{constructor(t,e,s,i,n,o,r,l,a,h=0,c){this.p=t;this.stack=e;this.state=s;this.reducePos=i;this.pos=n;this.score=o;this.buffer=r;this.bufferBase=l;this.curContext=a;this.lookAhead=h;this.parent=c}toString(){return`[${this.stack.filter(((t,e)=>e%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,e,s=0){let i=t.parser.context;return new r(t,[],e,s,s,0,[],0,i?new l(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffer.length);this.state=t}reduce(t){var e;let s=t>>19,i=t&65535;let{parser:n}=this.p;let o=n.dynamicPrecedence(i);if(o)this.score+=o;if(s==0){this.pushState(n.getGoto(this.state,i,true),this.reducePos);if(i<n.minRepeatTerm)this.storeNode(i,this.reducePos,this.reducePos,4,true);this.reduceContext(i,this.reducePos);return}let r=this.stack.length-(s-1)*3-(t&262144?6:0);let l=r?this.stack[r-2]:this.p.ranges[0].from,a=this.reducePos-l;if(a>=2e3&&!((e=this.p.parser.nodeSet.types[i])===null||e===void 0?void 0:e.isAnonymous)){if(l==this.p.lastBigReductionStart){this.p.bigReductionCount++;this.p.lastBigReductionSize=a}else if(this.p.lastBigReductionSize<a){this.p.bigReductionCount=1;this.p.lastBigReductionStart=l;this.p.lastBigReductionSize=a}}let h=r?this.stack[r-1]:0,c=this.bufferBase+this.buffer.length-h;if(i<n.minRepeatTerm||t&131072){let t=n.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,t,c+4,true)}if(t&262144){this.state=this.stack[r]}else{let t=this.stack[r-3];this.state=n.getGoto(t,i,true)}while(this.stack.length>r)this.stack.pop();this.reduceContext(i,l)}storeNode(t,e,s,i=4,n=false){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let t=this,i=this.buffer.length;if(i==0&&t.parent){i=t.bufferBase-t.parent.bufferBase;t=t.parent}if(i>0&&t.buffer[i-4]==0&&t.buffer[i-1]>-1){if(e==s)return;if(t.buffer[i-2]>=e){t.buffer[i-2]=s;return}}}if(!n||this.pos==s){this.buffer.push(t,e,s,i)}else{let n=this.buffer.length;if(n>0&&this.buffer[n-4]!=0)while(n>0&&this.buffer[n-2]>s){this.buffer[n]=this.buffer[n-4];this.buffer[n+1]=this.buffer[n-3];this.buffer[n+2]=this.buffer[n-2];this.buffer[n+3]=this.buffer[n-1];n-=4;if(i>4)i-=4}this.buffer[n]=t;this.buffer[n+1]=e;this.buffer[n+2]=s;this.buffer[n+3]=i}}shift(t,e,s,i){if(t&131072){this.pushState(t&65535,this.pos)}else if((t&262144)==0){let n=t,{parser:o}=this.p;if(i>this.pos||e<=o.maxNode){this.pos=i;if(!o.stateFlag(n,1))this.reducePos=i}this.pushState(n,s);this.shiftContext(e,s);if(e<=o.maxNode)this.buffer.push(e,s,i,4)}else{this.pos=i;this.shiftContext(e,s);if(e<=this.p.parser.maxNode)this.buffer.push(e,s,i,4)}}apply(t,e,s,i){if(t&65536)this.reduce(t);else this.shift(t,e,s,i)}useNode(t,e){let s=this.p.reused.length-1;if(s<0||this.p.reused[s]!=t){this.p.reused.push(t);s++}let i=this.pos;this.reducePos=this.pos=i+t.length;this.pushState(e,i);this.buffer.push(s,i,this.reducePos,-1);if(this.curContext)this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this;let e=t.buffer.length;while(e>0&&t.buffer[e-2]>t.reducePos)e-=4;let s=t.buffer.slice(e),i=t.bufferBase+e;while(t&&i==t.bufferBase)t=t.parent;return new r(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,s,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,e){let s=t<=this.p.parser.maxNode;if(s)this.storeNode(t,this.pos,e,4);this.storeNode(0,this.pos,e,s?8:4);this.pos=this.reducePos=e;this.score-=190}canShift(t){for(let e=new a(this);;){let s=this.p.parser.stateSlot(e.state,4)||this.p.parser.hasAction(e.state,t);if(s==0)return false;if((s&65536)==0)return true;e.reduce(s)}}recoverByInsert(t){if(this.stack.length>=300)return[];let e=this.p.parser.nextStates(this.state);if(e.length>4<<1||this.stack.length>=120){let s=[];for(let i=0,n;i<e.length;i+=2){if((n=e[i+1])!=this.state&&this.p.parser.hasAction(n,t))s.push(e[i],n)}if(this.stack.length<120)for(let t=0;s.length<4<<1&&t<e.length;t+=2){let i=e[t+1];if(!s.some(((t,e)=>e&1&&t==i)))s.push(e[t],i)}e=s}let s=[];for(let i=0;i<e.length&&s.length<4;i+=2){let t=e[i+1];if(t==this.state)continue;let n=this.split();n.pushState(t,this.pos);n.storeNode(0,n.pos,n.pos,4,true);n.shiftContext(e[i],this.pos);n.reducePos=this.pos;n.score-=200;s.push(n)}return s}forceReduce(){let{parser:t}=this.p;let e=t.stateSlot(this.state,5);if((e&65536)==0)return false;if(!t.validAction(this.state,e)){let s=e>>19,i=e&65535;let n=this.stack.length-s*3;if(n<0||t.getGoto(this.stack[n],i,false)<0){let t=this.findForcedReduction();if(t==null)return false;e=t}this.storeNode(0,this.pos,this.pos,4,true);this.score-=100}this.reducePos=this.pos;this.reduce(e);return true}findForcedReduction(){let{parser:t}=this.p,e=[];let s=(i,n)=>{if(e.includes(i))return;e.push(i);return t.allActions(i,(e=>{if(e&(262144|131072));else if(e&65536){let s=(e>>19)-n;if(s>1){let i=e&65535,n=this.stack.length-s*3;if(n>=0&&t.getGoto(this.stack[n],i,false)>=0)return s<<19|65536|i}}else{let t=s(e,n+1);if(t!=null)return t}}))};return s(this.state,0)}forceAll(){while(!this.p.parser.stateFlag(this.state,2)){if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,true);break}}return this}get deadEnd(){if(this.stack.length!=3)return false;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,true);this.state=this.stack[0];this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return false;for(let e=0;e<this.stack.length;e+=3)if(this.stack[e]!=t.stack[e])return false;return true}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,e){if(this.curContext)this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(e)))}reduceContext(t,e){if(this.curContext)this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(e)))}emitContext(){let t=this.buffer.length-1;if(t<0||this.buffer[t]!=-3)this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;if(t<0||this.buffer[t]!=-4)this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let e=new l(this.curContext.tracker,t);if(e.hash!=this.curContext.hash)this.emitContext();this.curContext=e}}setLookAhead(t){if(t>this.lookAhead){this.emitLookAhead();this.lookAhead=t}}close(){if(this.curContext&&this.curContext.tracker.strict)this.emitContext();if(this.lookAhead>0)this.emitLookAhead()}}class l{constructor(t,e){this.tracker=t;this.context=e;this.hash=t.strict?t.hash(e):0}}class a{constructor(t){this.start=t;this.state=t.state;this.stack=t.stack;this.base=this.stack.length}reduce(t){let e=t&65535,s=t>>19;if(s==0){if(this.stack==this.start.stack)this.stack=this.stack.slice();this.stack.push(this.state,0,0);this.base+=3}else{this.base-=(s-1)*3}let i=this.start.p.parser.getGoto(this.stack[this.base-3],e,true);this.state=i}}class h{constructor(t,e,s){this.stack=t;this.pos=e;this.index=s;this.buffer=t.buffer;if(this.index==0)this.maybeNext()}static create(t,e=t.bufferBase+t.buffer.length){return new h(t,e,e-t.bufferBase)}maybeNext(){let t=this.stack.parent;if(t!=null){this.index=this.stack.bufferBase-t.bufferBase;this.stack=t;this.buffer=t.buffer}}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4;this.pos-=4;if(this.index==0)this.maybeNext()}fork(){return new h(this.stack,this.pos,this.index)}}function c(t,e=Uint16Array){if(typeof t!="string")return t;let s=null;for(let i=0,n=0;i<t.length;){let o=0;for(;;){let e=t.charCodeAt(i++),s=false;if(e==126){o=65535;break}if(e>=92)e--;if(e>=34)e--;let n=e-32;if(n>=46){n-=46;s=true}o+=n;if(s)break;o*=46}if(s)s[n++]=o;else s=new e(o)}return s}class f{constructor(){this.start=-1;this.value=-1;this.end=-1;this.extended=-1;this.lookAhead=0;this.mask=0;this.context=0}}const u=new f;class p{constructor(t,e){this.input=t;this.ranges=e;this.chunk="";this.chunkOff=0;this.chunk2="";this.chunk2Pos=0;this.next=-1;this.token=u;this.rangeIndex=0;this.pos=this.chunkPos=e[0].from;this.range=e[0];this.end=e[e.length-1].to;this.readNext()}resolveOffset(t,e){let s=this.range,i=this.rangeIndex;let n=this.pos+t;while(n<s.from){if(!i)return null;let t=this.ranges[--i];n-=s.from-t.to;s=t}while(e<0?n>s.to:n>=s.to){if(i==this.ranges.length-1)return null;let t=this.ranges[++i];n+=t.from-s.to;s=t}return n}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let e of this.ranges)if(e.to>t)return Math.max(t,e.from);return this.end}peek(t){let e=this.chunkOff+t,s,i;if(e>=0&&e<this.chunk.length){s=this.pos+t;i=this.chunk.charCodeAt(e)}else{let e=this.resolveOffset(t,1);if(e==null)return-1;s=e;if(s>=this.chunk2Pos&&s<this.chunk2Pos+this.chunk2.length){i=this.chunk2.charCodeAt(s-this.chunk2Pos)}else{let t=this.rangeIndex,e=this.range;while(e.to<=s)e=this.ranges[++t];this.chunk2=this.input.chunk(this.chunk2Pos=s);if(s+this.chunk2.length>e.to)this.chunk2=this.chunk2.slice(0,e.to-s);i=this.chunk2.charCodeAt(0)}}if(s>=this.token.lookAhead)this.token.lookAhead=s+1;return i}acceptToken(t,e=0){let s=e?this.resolveOffset(e,-1):this.pos;if(s==null||s<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t;this.token.end=s}acceptTokenTo(t,e){this.token.value=t;this.token.end=e}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:e}=this;this.chunk=this.chunk2;this.chunkPos=this.chunk2Pos;this.chunk2=t;this.chunk2Pos=e;this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk;this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos);let e=this.pos+t.length;this.chunk=e>this.range.to?t.slice(0,this.range.to-this.pos):t;this.chunkPos=this.pos;this.chunkOff=0}}readNext(){if(this.chunkOff>=this.chunk.length){this.getChunk();if(this.chunkOff==this.chunk.length)return this.next=-1}return this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){this.chunkOff+=t;while(this.pos+t>=this.range.to){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos;this.range=this.ranges[++this.rangeIndex];this.pos=this.range.from}this.pos+=t;if(this.pos>=this.token.lookAhead)this.token.lookAhead=this.pos+1;return this.readNext()}setDone(){this.pos=this.chunkPos=this.end;this.range=this.ranges[this.rangeIndex=this.ranges.length-1];this.chunk="";return this.next=-1}reset(t,e){if(e){this.token=e;e.start=t;e.lookAhead=t+1;e.value=e.extended=-1}else{this.token=u}if(this.pos!=t){this.pos=t;if(t==this.end){this.setDone();return this}while(t<this.range.from)this.range=this.ranges[--this.rangeIndex];while(t>=this.range.to)this.range=this.ranges[++this.rangeIndex];if(t>=this.chunkPos&&t<this.chunkPos+this.chunk.length){this.chunkOff=t-this.chunkPos}else{this.chunk="";this.chunkOff=0}this.readNext()}return this}read(t,e){if(t>=this.chunkPos&&e<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,e-this.chunkPos);if(t>=this.chunk2Pos&&e<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,e-this.chunk2Pos);if(t>=this.range.from&&e<=this.range.to)return this.input.read(t,e);let s="";for(let i of this.ranges){if(i.from>=e)break;if(i.to>t)s+=this.input.read(Math.max(i.from,t),Math.min(i.to,e))}return s}}class d{constructor(t,e){this.data=t;this.id=e}token(t,e){let{parser:s}=e.p;k(this.data,t,e,this.id,s.data,s.tokenPrecTable)}}d.prototype.contextual=d.prototype.fallback=d.prototype.extend=false;class m{constructor(t,e,s){this.precTable=e;this.elseToken=s;this.data=typeof t=="string"?c(t):t}token(t,e){let s=t.pos,i=0;for(;;){let s=t.next<0,n=t.resolveOffset(1,1);k(this.data,t,e,0,this.data,this.precTable);if(t.token.value>-1)break;if(this.elseToken==null)return;if(!s)i++;if(n==null)break;t.reset(n,t.token)}if(i){t.reset(s,t.token);t.acceptToken(this.elseToken,i)}}}m.prototype.contextual=d.prototype.fallback=d.prototype.extend=false;class g{constructor(t,e={}){this.token=t;this.contextual=!!e.contextual;this.fallback=!!e.fallback;this.extend=!!e.extend}}function k(t,e,s,i,n,o){let r=0,l=1<<i,{dialect:a}=s.p.parser;t:for(;;){if((l&t[r])==0)break;let s=t[r+1];for(let f=r+3;f<s;f+=2)if((t[f+1]&l)>0){let s=t[f];if(a.allows(s)&&(e.token.value==-1||e.token.value==s||x(s,e.token.value,n,o))){e.acceptToken(s);break}}let i=e.next,h=0,c=t[r+2];if(e.next<0&&c>h&&t[s+c*3-3]==65535){r=t[s+c*3-1];continue t}for(;h<c;){let n=h+c>>1;let o=s+n+(n<<1);let l=t[o],a=t[o+1]||65536;if(i<l)c=n;else if(i>=a)h=n+1;else{r=t[o+2];e.advance();continue t}}break}}function b(t,e,s){for(let i=e,n;(n=t[i])!=65535;i++)if(n==s)return i-e;return-1}function x(t,e,s,i){let n=b(s,i,e);return n<0||b(s,i,t)<n}const v=typeof o!="undefined"&&o.env&&/\bparse\b/.test(o.env.LOG);let w=null;function y(t,e,s){let n=t.cursor(i.IterMode.IncludeAnonymous);n.moveTo(e);for(;;){if(!(s<0?n.childBefore(e):n.childAfter(e)))for(;;){if((s<0?n.to<e:n.from>e)&&!n.type.isError)return s<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(s<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return s<0?0:t.length}}}class S{constructor(t,e){this.fragments=t;this.nodeSet=e;this.i=0;this.fragment=null;this.safeFrom=-1;this.safeTo=-1;this.trees=[];this.start=[];this.index=[];this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){this.safeFrom=t.openStart?y(t.tree,t.from+t.offset,1)-t.offset:t.from;this.safeTo=t.openEnd?y(t.tree,t.to+t.offset,-1)-t.offset:t.to;while(this.trees.length){this.trees.pop();this.start.pop();this.index.pop()}this.trees.push(t.tree);this.start.push(-t.offset);this.index.push(0);this.nextStart=this.safeFrom}else{this.nextStart=1e9}}nodeAt(t){if(t<this.nextStart)return null;while(this.fragment&&this.safeTo<=t)this.nextFragment();if(!this.fragment)return null;for(;;){let e=this.trees.length-1;if(e<0){this.nextFragment();return null}let s=this.trees[e],n=this.index[e];if(n==s.children.length){this.trees.pop();this.start.pop();this.index.pop();continue}let o=s.children[n];let r=this.start[e]+s.positions[n];if(r>t){this.nextStart=r;return null}if(o instanceof i.Tree){if(r==t){if(r<this.safeFrom)return null;let t=r+o.length;if(t<=this.safeTo){let e=o.prop(i.NodeProp.lookAhead);if(!e||t+e<this.fragment.to)return o}}this.index[e]++;if(r+o.length>=Math.max(this.safeFrom,t)){this.trees.push(o);this.start.push(r);this.index.push(0)}}else{this.index[e]++;this.nextStart=r+o.length}}}}class C{constructor(t,e){this.stream=e;this.tokens=[];this.mainToken=null;this.actions=[];this.tokens=t.tokenizers.map((t=>new f))}getActions(t){let e=0;let s=null;let{parser:i}=t.p,{tokenizers:n}=i;let o=i.stateSlot(t.state,3);let r=t.curContext?t.curContext.hash:0;let l=0;for(let a=0;a<n.length;a++){if((1<<a&o)==0)continue;let i=n[a],h=this.tokens[a];if(s&&!i.fallback)continue;if(i.contextual||h.start!=t.pos||h.mask!=o||h.context!=r){this.updateCachedToken(h,i,t);h.mask=o;h.context=r}if(h.lookAhead>h.end+25)l=Math.max(h.lookAhead,l);if(h.value!=0){let n=e;if(h.extended>-1)e=this.addActions(t,h.extended,h.end,e);e=this.addActions(t,h.value,h.end,e);if(!i.extend){s=h;if(e>n)break}}}while(this.actions.length>e)this.actions.pop();if(l)t.setLookAhead(l);if(!s&&t.pos==this.stream.end){s=new f;s.value=t.p.parser.eofTerm;s.start=s.end=t.pos;e=this.addActions(t,s.value,s.end,e)}this.mainToken=s;return this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let e=new f,{pos:s,p:i}=t;e.start=s;e.end=Math.min(s+1,i.stream.end);e.value=s==i.stream.end?i.parser.eofTerm:0;return e}updateCachedToken(t,e,s){let i=this.stream.clipPos(s.pos);e.token(this.stream.reset(i,t),s);if(t.value>-1){let{parser:e}=s.p;for(let i=0;i<e.specialized.length;i++)if(e.specialized[i]==t.value){let n=e.specializers[i](this.stream.read(t.start,t.end),s);if(n>=0&&s.p.parser.dialect.allows(n>>1)){if((n&1)==0)t.value=n>>1;else t.extended=n>>1;break}}}else{t.value=0;t.end=this.stream.clipPos(i+1)}}putAction(t,e,s,i){for(let n=0;n<i;n+=3)if(this.actions[n]==t)return i;this.actions[i++]=t;this.actions[i++]=e;this.actions[i++]=s;return i}addActions(t,e,s,i){let{state:n}=t,{parser:o}=t.p,{data:r}=o;for(let l=0;l<2;l++){for(let t=o.stateSlot(n,l?2:1);;t+=3){if(r[t]==65535){if(r[t+1]==1){t=R(r,t+2)}else{if(i==0&&r[t+1]==2)i=this.putAction(R(r,t+2),e,s,i);break}}if(r[t]==e)i=this.putAction(R(r,t+1),e,s,i)}}return i}}class P{constructor(t,e,s,i){this.parser=t;this.input=e;this.ranges=i;this.recovering=0;this.nextStackID=9812;this.minStackPos=0;this.reused=[];this.stoppedAt=null;this.lastBigReductionStart=-1;this.lastBigReductionSize=0;this.bigReductionCount=0;this.stream=new p(e,i);this.tokens=new C(t,this.stream);this.topTerm=t.top[1];let{from:n}=i[0];this.stacks=[r.start(this,t.top[0],n)];this.fragments=s.length&&this.stream.end-n>t.bufferLength*4?new S(s,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,e=this.minStackPos;let s=this.stacks=[];let i,n;if(this.bigReductionCount>300&&t.length==1){let[e]=t;while(e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart){}this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<t.length;o++){let r=t[o];for(;;){this.tokens.mainToken=null;if(r.pos>e){s.push(r)}else if(this.advanceStack(r,s,t)){continue}else{if(!i){i=[];n=[]}i.push(r);let t=this.tokens.getMainToken(r);n.push(t.value,t.end)}break}}if(!s.length){let t=i&&E(i);if(t){if(v)console.log("Finish with "+this.stackID(t));return this.stackToTree(t)}if(this.parser.strict){if(v&&i)console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none"));throw new SyntaxError("No parse at "+e)}if(!this.recovering)this.recovering=5}if(this.recovering&&i){let t=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,n,s);if(t){if(v)console.log("Force-finish "+this.stackID(t));return this.stackToTree(t.forceAll())}}if(this.recovering){let t=this.recovering==1?1:this.recovering*3;if(s.length>t){s.sort(((t,e)=>e.score-t.score));while(s.length>t)s.pop()}if(s.some((t=>t.reducePos>e)))this.recovering--}else if(s.length>1){t:for(let t=0;t<s.length-1;t++){let e=s[t];for(let i=t+1;i<s.length;i++){let n=s[i];if(e.sameState(n)||e.buffer.length>500&&n.buffer.length>500){if((e.score-n.score||e.buffer.length-n.buffer.length)>0){s.splice(i--,1)}else{s.splice(t--,1);continue t}}}}if(s.length>12)s.splice(12,s.length-12)}this.minStackPos=s[0].pos;for(let o=1;o<s.length;o++)if(s[o].pos<this.minStackPos)this.minStackPos=s[o].pos;return null}stopAt(t){if(this.stoppedAt!=null&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,e,s){let n=t.pos,{parser:o}=this;let r=v?this.stackID(t)+" -> ":"";if(this.stoppedAt!=null&&n>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let e=t.curContext&&t.curContext.tracker.strict,s=e?t.curContext.hash:0;for(let l=this.fragments.nodeAt(n);l;){let n=this.parser.nodeSet.types[l.type.id]==l.type?o.getGoto(t.state,l.type.id):-1;if(n>-1&&l.length&&(!e||(l.prop(i.NodeProp.contextHash)||0)==s)){t.useNode(l,n);if(v)console.log(r+this.stackID(t)+` (via reuse of ${o.getName(l.type.id)})`);return true}if(!(l instanceof i.Tree)||l.children.length==0||l.positions[0]>0)break;let a=l.children[0];if(a instanceof i.Tree&&l.positions[0]==0)l=a;else break}}let l=o.stateSlot(t.state,4);if(l>0){t.reduce(l);if(v)console.log(r+this.stackID(t)+` (via always-reduce ${o.getName(l&65535)})`);return true}if(t.stack.length>=8400){while(t.stack.length>6e3&&t.forceReduce()){}}let a=this.tokens.getActions(t);for(let i=0;i<a.length;){let l=a[i++],h=a[i++],c=a[i++];let f=i==a.length||!s;let u=f?t:t.split();let p=this.tokens.mainToken;u.apply(l,h,p?p.start:u.pos,c);if(v)console.log(r+this.stackID(u)+` (via ${(l&65536)==0?"shift":`reduce of ${o.getName(l&65535)}`} for ${o.getName(h)} @ ${n}${u==t?"":", split"})`);if(f)return true;else if(u.pos>n)e.push(u);else s.push(u)}return false}advanceFully(t,e){let s=t.pos;for(;;){if(!this.advanceStack(t,null,null))return false;if(t.pos>s){T(t,e);return true}}}runRecovery(t,e,s){let i=null,n=false;for(let o=0;o<t.length;o++){let r=t[o],l=e[o<<1],a=e[(o<<1)+1];let h=v?this.stackID(r)+" -> ":"";if(r.deadEnd){if(n)continue;n=true;r.restart();if(v)console.log(h+this.stackID(r)+" (restarted)");let t=this.advanceFully(r,s);if(t)continue}let c=r.split(),f=h;for(let t=0;c.forceReduce()&&t<10;t++){if(v)console.log(f+this.stackID(c)+" (via force-reduce)");let t=this.advanceFully(c,s);if(t)break;if(v)f=this.stackID(c)+" -> "}for(let t of r.recoverByInsert(l)){if(v)console.log(h+this.stackID(t)+" (via recover-insert)");this.advanceFully(t,s)}if(this.stream.end>r.pos){if(a==r.pos){a++;l=0}r.recoverByDelete(l,a);if(v)console.log(h+this.stackID(r)+` (via recover-delete ${this.parser.getName(l)})`);T(r,s)}else if(!i||i.score<r.score){i=r}}return i}stackToTree(t){t.close();return i.Tree.build({buffer:h.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let e=(w||(w=new WeakMap)).get(t);if(!e)w.set(t,e=String.fromCodePoint(this.nextStackID++));return e+t}}function T(t,e){for(let s=0;s<e.length;s++){let i=e[s];if(i.pos==t.pos&&i.sameState(t)){if(e[s].score<t.score)e[s]=t;return}}e.push(t)}class A{constructor(t,e,s){this.source=t;this.flags=e;this.disabled=s}allows(t){return!this.disabled||this.disabled[t]==0}}const I=t=>t;class O{constructor(t){this.start=t.start;this.shift=t.shift||I;this.reduce=t.reduce||I;this.reuse=t.reuse||I;this.hash=t.hash||(()=>0);this.strict=t.strict!==false}}class D extends i.Parser{constructor(t){super();this.wrappers=[];if(t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (${14})`);let e=t.nodeNames.split(" ");this.minRepeatTerm=e.length;for(let i=0;i<t.repeatNodeCount;i++)e.push("");let s=Object.keys(t.topRules).map((e=>t.topRules[e][1]));let n=[];for(let i=0;i<e.length;i++)n.push([]);function o(t,e,s){n[t].push([e,e.deserialize(String(s))])}if(t.nodeProps)for(let l of t.nodeProps){let t=l[0];if(typeof t=="string")t=i.NodeProp[t];for(let e=1;e<l.length;){let s=l[e++];if(s>=0){o(s,t,l[e++])}else{let i=l[e+-s];for(let n=-s;n>0;n--)o(l[e++],t,i);e++}}}this.nodeSet=new i.NodeSet(e.map(((e,o)=>i.NodeType.define({name:o>=this.minRepeatTerm?undefined:e,id:o,props:n[o],top:s.indexOf(o)>-1,error:o==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(o)>-1}))));if(t.propSources)this.nodeSet=this.nodeSet.extend(...t.propSources);this.strict=false;this.bufferLength=i.DefaultBufferLength;let r=c(t.tokenData);this.context=t.context;this.specializerSpecs=t.specialized||[];this.specialized=new Uint16Array(this.specializerSpecs.length);for(let i=0;i<this.specializerSpecs.length;i++)this.specialized[i]=this.specializerSpecs[i].term;this.specializers=this.specializerSpecs.map(N);this.states=c(t.states,Uint32Array);this.data=c(t.stateData);this.goto=c(t.goto);this.maxTerm=t.maxTerm;this.tokenizers=t.tokenizers.map((t=>typeof t=="number"?new d(r,t):t));this.topRules=t.topRules;this.dialects=t.dialects||{};this.dynamicPrecedences=t.dynamicPrecedences||null;this.tokenPrecTable=t.tokenPrec;this.termNames=t.termNames||null;this.maxNode=this.nodeSet.types.length-1;this.dialect=this.parseDialect();this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,e,s){let i=new P(this,t,e,s);for(let n of this.wrappers)i=n(i,t,e,s);return i}getGoto(t,e,s=false){let i=this.goto;if(e>=i[0])return-1;for(let n=i[e+1];;){let e=i[n++],o=e&1;let r=i[n++];if(o&&s)return r;for(let s=n+(e>>1);n<s;n++)if(i[n]==t)return r;if(o)return-1}}hasAction(t,e){let s=this.data;for(let i=0;i<2;i++){for(let n=this.stateSlot(t,i?2:1),o;;n+=3){if((o=s[n])==65535){if(s[n+1]==1)o=s[n=R(s,n+2)];else if(s[n+1]==2)return R(s,n+2);else break}if(o==e||o==0)return R(s,n+1)}}return 0}stateSlot(t,e){return this.states[t*6+e]}stateFlag(t,e){return(this.stateSlot(t,0)&e)>0}validAction(t,e){return!!this.allActions(t,(t=>t==e?true:null))}allActions(t,e){let s=this.stateSlot(t,4);let i=s?e(s):undefined;for(let n=this.stateSlot(t,1);i==null;n+=3){if(this.data[n]==65535){if(this.data[n+1]==1)n=R(this.data,n+2);else break}i=e(R(this.data,n+1))}return i}nextStates(t){let e=[];for(let s=this.stateSlot(t,1);;s+=3){if(this.data[s]==65535){if(this.data[s+1]==1)s=R(this.data,s+2);else break}if((this.data[s+2]&65536>>16)==0){let t=this.data[s+1];if(!e.some(((e,s)=>s&1&&e==t)))e.push(this.data[s],t)}}return e}configure(t){let e=Object.assign(Object.create(D.prototype),this);if(t.props)e.nodeSet=this.nodeSet.extend(...t.props);if(t.top){let s=this.topRules[t.top];if(!s)throw new RangeError(`Invalid top rule name ${t.top}`);e.top=s}if(t.tokenizers)e.tokenizers=this.tokenizers.map((e=>{let s=t.tokenizers.find((t=>t.from==e));return s?s.to:e}));if(t.specializers){e.specializers=this.specializers.slice();e.specializerSpecs=this.specializerSpecs.map(((s,i)=>{let n=t.specializers.find((t=>t.from==s.external));if(!n)return s;let o=Object.assign(Object.assign({},s),{external:n.to});e.specializers[i]=N(o);return o}))}if(t.contextTracker)e.context=t.contextTracker;if(t.dialect)e.dialect=this.parseDialect(t.dialect);if(t.strict!=null)e.strict=t.strict;if(t.wrap)e.wrappers=e.wrappers.concat(t.wrap);if(t.bufferLength!=null)e.bufferLength=t.bufferLength;return e}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let e=this.dynamicPrecedences;return e==null?0:e[t]||0}parseDialect(t){let e=Object.keys(this.dialects),s=e.map((()=>false));if(t)for(let n of t.split(" ")){let t=e.indexOf(n);if(t>=0)s[t]=true}let i=null;for(let n=0;n<e.length;n++)if(!s[n]){for(let t=this.dialects[e[n]],s;(s=this.data[t++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[s]=1}return new A(t,s,i)}static deserialize(t){return new D(t)}}function R(t,e){return t[e]|t[e+1]<<16}function E(t){let e=null;for(let s of t){let t=s.p.stoppedAt;if((s.pos==s.p.stream.end||t!=null&&s.pos>t)&&s.p.parser.stateFlag(s.state,2)&&(!e||e.score<s.score))e=s}return e}function N(t){if(t.external){let e=t.extend?1:0;return(s,i)=>t.external(s,i)<<1|e}return t.get}},65606:t=>{var e=t.exports={};var s;var i;function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){s=setTimeout}else{s=n}}catch(t){s=n}try{if(typeof clearTimeout==="function"){i=clearTimeout}else{i=o}}catch(t){i=o}})();function r(t){if(s===setTimeout){return setTimeout(t,0)}if((s===n||!s)&&setTimeout){s=setTimeout;return setTimeout(t,0)}try{return s(t,0)}catch(e){try{return s.call(null,t,0)}catch(e){return s.call(this,t,0)}}}function l(t){if(i===clearTimeout){return clearTimeout(t)}if((i===o||!i)&&clearTimeout){i=clearTimeout;return clearTimeout(t)}try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}var a=[];var h=false;var c;var f=-1;function u(){if(!h||!c){return}h=false;if(c.length){a=c.concat(a)}else{f=-1}if(a.length){p()}}function p(){if(h){return}var t=r(u);h=true;var e=a.length;while(e){c=a;a=[];while(++f<e){if(c){c[f].run()}}f=-1;e=a.length}c=null;h=false;l(t)}e.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1){for(var s=1;s<arguments.length;s++){e[s-1]=arguments[s]}}a.push(new d(t,e));if(a.length===1&&!h){r(p)}};function d(t,e){this.fun=t;this.array=e}d.prototype.run=function(){this.fun.apply(null,this.array)};e.title="browser";e.browser=true;e.env={};e.argv=[];e.version="";e.versions={};function m(){}e.on=m;e.addListener=m;e.once=m;e.off=m;e.removeListener=m;e.removeAllListeners=m;e.emit=m;e.prependListener=m;e.prependOnceListener=m;e.listeners=function(t){return[]};e.binding=function(t){throw new Error("process.binding is not supported")};e.cwd=function(){return"/"};e.chdir=function(t){throw new Error("process.chdir is not supported")};e.umask=function(){return 0}}}]);
.venv/share/jupyter/lab/static/1436.2c11d9dee0ad6f49e968.js ADDED
@@ -0,0 +1 @@
 
 
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1436],{11436:(e,t,a)=>{a.r(t);a.d(t,{asterisk:()=>o});var n=["exten","same","include","ignorepat","switch"],i=["#include","#exec"],r=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];function s(e,t){var a="";var r=e.next();if(t.blockComment){if(r=="-"&&e.match("-;",true)){t.blockComment=false}else if(e.skipTo("--;")){e.next();e.next();e.next();t.blockComment=false}else{e.skipToEnd()}return"comment"}if(r==";"){if(e.match("--",true)){if(!e.match("-",false)){t.blockComment=true;return"comment"}}e.skipToEnd();return"comment"}if(r=="["){e.skipTo("]");e.eat("]");return"header"}if(r=='"'){e.skipTo('"');return"string"}if(r=="'"){e.skipTo("'");return"string.special"}if(r=="#"){e.eatWhile(/\w/);a=e.current();if(i.indexOf(a)!==-1){e.skipToEnd();return"strong"}}if(r=="$"){var s=e.peek();if(s=="{"){e.skipTo("}");e.eat("}");return"variableName.special"}}e.eatWhile(/\w/);a=e.current();if(n.indexOf(a)!==-1){t.extenStart=true;switch(a){case"same":t.extenSame=true;break;case"include":case"switch":case"ignorepat":t.extenInclude=true;break;default:break}return"atom"}}const o={name:"asterisk",startState:function(){return{blockComment:false,extenStart:false,extenSame:false,extenInclude:false,extenExten:false,extenPriority:false,extenApplication:false}},token:function(e,t){var a="";if(e.eatSpace())return null;if(t.extenStart){e.eatWhile(/[^\s]/);a=e.current();if(/^=>?$/.test(a)){t.extenExten=true;t.extenStart=false;return"strong"}else{t.extenStart=false;e.skipToEnd();return"error"}}else if(t.extenExten){t.extenExten=false;t.extenPriority=true;e.eatWhile(/[^,]/);if(t.extenInclude){e.skipToEnd();t.extenPriority=false;t.extenInclude=false}if(t.extenSame){t.extenPriority=false;t.extenSame=false;t.extenApplication=true}return"tag"}else if(t.extenPriority){t.extenPriority=false;t.extenApplication=true;e.next();if(t.extenSame)return null;e.eatWhile(/[^,]/);return"number"}else if(t.extenApplication){e.eatWhile(/,/);a=e.current();if(a===",")return null;e.eatWhile(/\w/);a=e.current().toLowerCase();t.extenApplication=false;if(r.indexOf(a)!==-1){return"def"}}else{return s(e,t)}return null},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}}}}]);
.venv/share/jupyter/lab/static/1445.a0e099c27d073217031a.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1445],{49746:()=>{},19977:()=>{},197:()=>{},21866:()=>{},52739:()=>{}}]);