act-plus 1.1.18 → 1.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/act-plus.js +5 -3
  2. package/act-plus.umd.cjs +1729 -16
  3. package/assets/editor.worker-df55e1ff.js +8 -0
  4. package/assets/ts.worker-e151483b.js +33972 -0
  5. package/lib/abap-1354785f.js +1314 -0
  6. package/lib/apex-279d4f27.js +315 -0
  7. package/lib/azcli-ba812c55.js +74 -0
  8. package/lib/bat-4d77495d.js +95 -0
  9. package/lib/bicep-7b240724.js +108 -0
  10. package/lib/cameligo-5d2daeb8.js +168 -0
  11. package/lib/clojure-b7ea12a3.js +754 -0
  12. package/lib/coffee-1a8cfbf4.js +228 -0
  13. package/lib/{configBtns-58f43801.js → configBtns-3772e689.js} +2 -2
  14. package/lib/{configFileds-b537fd99.js → configFileds-d0911c87.js} +3 -3
  15. package/lib/{configForm-b9e9ca98.js → configForm-ae4b725e.js} +1 -1
  16. package/lib/{configTable-bdb56a9e.js → configTable-879063d4.js} +31 -24
  17. package/lib/cpp-642b10c4.js +387 -0
  18. package/lib/csharp-d987ddad.js +320 -0
  19. package/lib/csp-96407af0.js +57 -0
  20. package/lib/css-5dd354ac.js +186 -0
  21. package/lib/cssMode-6d02ab39.js +1448 -0
  22. package/lib/cypher-11e5a4b6.js +262 -0
  23. package/lib/dart-5d209f63.js +270 -0
  24. package/lib/{dialogAddField-b60d14ab.js → dialogAddField-d6b18048.js} +69 -69
  25. package/lib/{dialogConfigBtn-f5f8703d.js → dialogConfigBtn-75e37dc9.js} +74 -78
  26. package/lib/dockerfile-8739cff7.js +132 -0
  27. package/lib/ecl-a20c5155.js +454 -0
  28. package/lib/elixir-8b028584.js +467 -0
  29. package/lib/{enum-99519ce0.js → enum-cc58b8fe.js} +25 -22
  30. package/lib/flow9-0dea2e73.js +141 -0
  31. package/lib/freemarker2-205877bf.js +646 -0
  32. package/lib/fsharp-49a70fad.js +210 -0
  33. package/lib/go-46e3b371.js +208 -0
  34. package/lib/graphql-51a577e5.js +141 -0
  35. package/lib/handlebars-2d920faa.js +394 -0
  36. package/lib/hcl-56b85754.js +177 -0
  37. package/lib/html-6b99359b.js +284 -0
  38. package/lib/htmlMode-498c17d9.js +1458 -0
  39. package/lib/index-68063c4c.js +96 -0
  40. package/lib/index-7c264775.js +192 -0
  41. package/lib/index-a36b2284.js +304 -0
  42. package/lib/index-aff95ab9.js +63 -0
  43. package/lib/index-da0a0bfe.js +162173 -0
  44. package/lib/index-e2f2023d.js +35 -0
  45. package/lib/{index-9e3ed108.js → index-fb2754ee.js} +1 -1
  46. package/lib/ini-1d58d82f.js +68 -0
  47. package/lib/java-cd017f60.js +221 -0
  48. package/lib/javascript-5e40fe11.js +78 -0
  49. package/lib/jsonMode-2a821e9e.js +1869 -0
  50. package/lib/julia-a0caf483.js +496 -0
  51. package/lib/kotlin-c6e52a56.js +245 -0
  52. package/lib/less-718543b4.js +168 -0
  53. package/lib/lexon-5e6e7a44.js +151 -0
  54. package/lib/liquid-dc78aaf7.js +241 -0
  55. package/lib/lua-f159160b.js +157 -0
  56. package/lib/m3-aadaf771.js +210 -0
  57. package/lib/markdown-9b448c46.js +202 -0
  58. package/lib/mips-161e49ce.js +194 -0
  59. package/lib/msdax-f65cb1e6.js +377 -0
  60. package/lib/mysql-24549dd1.js +875 -0
  61. package/lib/objective-c-e129a5ca.js +188 -0
  62. package/lib/pascal-4ccdf5ce.js +245 -0
  63. package/lib/pascaligo-a9603dcd.js +158 -0
  64. package/lib/perl-ba1fb97a.js +599 -0
  65. package/lib/pgsql-89978310.js +843 -0
  66. package/lib/php-987b9d87.js +471 -0
  67. package/lib/pla-96c2695d.js +131 -0
  68. package/lib/postiats-7b52ebac.js +544 -0
  69. package/lib/powerquery-8954ec26.js +890 -0
  70. package/lib/powershell-f00d0274.js +233 -0
  71. package/lib/protobuf-3eb85f80.js +422 -0
  72. package/lib/pug-6fab415a.js +393 -0
  73. package/lib/python-e55144b2.js +262 -0
  74. package/lib/qsharp-4792f872.js +282 -0
  75. package/lib/r-630f5d6b.js +245 -0
  76. package/lib/razor-1fb88f53.js +515 -0
  77. package/lib/redis-276b8288.js +298 -0
  78. package/lib/redshift-520a7359.js +806 -0
  79. package/lib/restructuredtext-4676a3fc.js +162 -0
  80. package/lib/ruby-764137cd.js +444 -0
  81. package/lib/rust-97f8f6e1.js +337 -0
  82. package/lib/sb-8c22f14c.js +110 -0
  83. package/lib/scala-c68c650c.js +353 -0
  84. package/lib/scheme-e6a52cb0.js +114 -0
  85. package/lib/scss-45104c77.js +244 -0
  86. package/lib/shell-09452d42.js +224 -0
  87. package/lib/solidity-d4979008.js +1351 -0
  88. package/lib/sophia-21995caf.js +190 -0
  89. package/lib/sparql-5088743c.js +193 -0
  90. package/lib/sql-63ec8e76.js +818 -0
  91. package/lib/st-fa9ab362.js +414 -0
  92. package/lib/swift-abdf1835.js +315 -0
  93. package/lib/systemverilog-a4f858ed.js +556 -0
  94. package/lib/tcl-8adf937f.js +232 -0
  95. package/lib/tsMode-8d12d976.js +792 -0
  96. package/lib/twig-404eb73e.js +323 -0
  97. package/lib/typescript-97ed77ae.js +330 -0
  98. package/lib/vb-e21e8153.js +364 -0
  99. package/lib/xml-e843c667.js +98 -0
  100. package/lib/yaml-62bcf3fa.js +187 -0
  101. package/package.json +1 -1
  102. package/style.css +1 -1
  103. package/lib/index-14f7a543.js +0 -165
  104. package/lib/index-1f8ed34b.js +0 -11178
  105. package/lib/index-56217e0e.js +0 -96
  106. package/lib/index-8cb975d8.js +0 -297
  107. package/lib/index-9a1abd6b.js +0 -139
@@ -0,0 +1,323 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var t = {
8
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
9
+ comments: {
10
+ blockComment: ["{#", "#}"]
11
+ },
12
+ brackets: [
13
+ ["{#", "#}"],
14
+ ["{%", "%}"],
15
+ ["{{", "}}"],
16
+ ["(", ")"],
17
+ ["[", "]"],
18
+ ["<!--", "-->"],
19
+ ["<", ">"]
20
+ ],
21
+ autoClosingPairs: [
22
+ { open: "{# ", close: " #}" },
23
+ { open: "{% ", close: " %}" },
24
+ { open: "{{ ", close: " }}" },
25
+ { open: "[", close: "]" },
26
+ { open: "(", close: ")" },
27
+ { open: '"', close: '"' },
28
+ { open: "'", close: "'" }
29
+ ],
30
+ surroundingPairs: [
31
+ { open: '"', close: '"' },
32
+ { open: "'", close: "'" },
33
+ { open: "<", close: ">" }
34
+ ]
35
+ }, e = {
36
+ defaultToken: "",
37
+ tokenPostfix: "",
38
+ ignoreCase: !0,
39
+ keywords: [
40
+ "apply",
41
+ "autoescape",
42
+ "block",
43
+ "deprecated",
44
+ "do",
45
+ "embed",
46
+ "extends",
47
+ "flush",
48
+ "for",
49
+ "from",
50
+ "if",
51
+ "import",
52
+ "include",
53
+ "macro",
54
+ "sandbox",
55
+ "set",
56
+ "use",
57
+ "verbatim",
58
+ "with",
59
+ "endapply",
60
+ "endautoescape",
61
+ "endblock",
62
+ "endembed",
63
+ "endfor",
64
+ "endif",
65
+ "endmacro",
66
+ "endsandbox",
67
+ "endset",
68
+ "endwith",
69
+ "true",
70
+ "false"
71
+ ],
72
+ tokenizer: {
73
+ root: [
74
+ [/\s+/],
75
+ [/{#/, "comment.twig", "@commentState"],
76
+ [/{%[-~]?/, "delimiter.twig", "@blockState"],
77
+ [/{{[-~]?/, "delimiter.twig", "@variableState"],
78
+ [/<!DOCTYPE/, "metatag.html", "@doctype"],
79
+ [/<!--/, "comment.html", "@comment"],
80
+ [/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/, ["delimiter.html", "tag.html", "", "delimiter.html"]],
81
+ [/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
82
+ [/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
83
+ [/(<)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
84
+ [/(<\/)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
85
+ [/</, "delimiter.html"],
86
+ [/[^<]+/]
87
+ ],
88
+ commentState: [
89
+ [/#}/, "comment.twig", "@pop"],
90
+ [/./, "comment.twig"]
91
+ ],
92
+ blockState: [
93
+ [/[-~]?%}/, "delimiter.twig", "@pop"],
94
+ [/\s+/],
95
+ [
96
+ /(verbatim)(\s*)([-~]?%})/,
97
+ ["keyword.twig", "", { token: "delimiter.twig", next: "@rawDataState" }]
98
+ ],
99
+ { include: "expression" }
100
+ ],
101
+ rawDataState: [
102
+ [
103
+ /({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,
104
+ ["delimiter.twig", "", "keyword.twig", "", { token: "delimiter.twig", next: "@popall" }]
105
+ ],
106
+ [/./, "string.twig"]
107
+ ],
108
+ variableState: [[/[-~]?}}/, "delimiter.twig", "@pop"], { include: "expression" }],
109
+ stringState: [
110
+ [/"/, "string.twig", "@pop"],
111
+ [/#{\s*/, "string.twig", "@interpolationState"],
112
+ [/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/, "string.twig"]
113
+ ],
114
+ interpolationState: [
115
+ [/}/, "string.twig", "@pop"],
116
+ { include: "expression" }
117
+ ],
118
+ expression: [
119
+ [/\s+/],
120
+ [/\+|-|\/{1,2}|%|\*{1,2}/, "operators.twig"],
121
+ [/(and|or|not|b-and|b-xor|b-or)(\s+)/, ["operators.twig", ""]],
122
+ [/==|!=|<|>|>=|<=/, "operators.twig"],
123
+ [/(starts with|ends with|matches)(\s+)/, ["operators.twig", ""]],
124
+ [/(in)(\s+)/, ["operators.twig", ""]],
125
+ [/(is)(\s+)/, ["operators.twig", ""]],
126
+ [/\||~|:|\.{1,2}|\?{1,2}/, "operators.twig"],
127
+ [
128
+ /[^\W\d][\w]*/,
129
+ {
130
+ cases: {
131
+ "@keywords": "keyword.twig",
132
+ "@default": "variable.twig"
133
+ }
134
+ }
135
+ ],
136
+ [/\d+(\.\d+)?/, "number.twig"],
137
+ [/\(|\)|\[|\]|{|}|,/, "delimiter.twig"],
138
+ [/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/, "string.twig"],
139
+ [/"/, "string.twig", "@stringState"],
140
+ [/=>/, "operators.twig"],
141
+ [/=/, "operators.twig"]
142
+ ],
143
+ doctype: [
144
+ [/[^>]+/, "metatag.content.html"],
145
+ [/>/, "metatag.html", "@pop"]
146
+ ],
147
+ comment: [
148
+ [/-->/, "comment.html", "@pop"],
149
+ [/[^-]+/, "comment.content.html"],
150
+ [/./, "comment.content.html"]
151
+ ],
152
+ otherTag: [
153
+ [/\/?>/, "delimiter.html", "@pop"],
154
+ [/"([^"]*)"/, "attribute.value.html"],
155
+ [/'([^']*)'/, "attribute.value.html"],
156
+ [/[\w\-]+/, "attribute.name.html"],
157
+ [/=/, "delimiter.html"],
158
+ [/[ \t\r\n]+/]
159
+ ],
160
+ script: [
161
+ [/type/, "attribute.name.html", "@scriptAfterType"],
162
+ [/"([^"]*)"/, "attribute.value.html"],
163
+ [/'([^']*)'/, "attribute.value.html"],
164
+ [/[\w\-]+/, "attribute.name.html"],
165
+ [/=/, "delimiter.html"],
166
+ [
167
+ />/,
168
+ {
169
+ token: "delimiter.html",
170
+ next: "@scriptEmbedded",
171
+ nextEmbedded: "text/javascript"
172
+ }
173
+ ],
174
+ [/[ \t\r\n]+/],
175
+ [
176
+ /(<\/)(script\s*)(>)/,
177
+ ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
178
+ ]
179
+ ],
180
+ scriptAfterType: [
181
+ [/=/, "delimiter.html", "@scriptAfterTypeEquals"],
182
+ [
183
+ />/,
184
+ {
185
+ token: "delimiter.html",
186
+ next: "@scriptEmbedded",
187
+ nextEmbedded: "text/javascript"
188
+ }
189
+ ],
190
+ [/[ \t\r\n]+/],
191
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
192
+ ],
193
+ scriptAfterTypeEquals: [
194
+ [
195
+ /"([^"]*)"/,
196
+ {
197
+ token: "attribute.value.html",
198
+ switchTo: "@scriptWithCustomType.$1"
199
+ }
200
+ ],
201
+ [
202
+ /'([^']*)'/,
203
+ {
204
+ token: "attribute.value.html",
205
+ switchTo: "@scriptWithCustomType.$1"
206
+ }
207
+ ],
208
+ [
209
+ />/,
210
+ {
211
+ token: "delimiter.html",
212
+ next: "@scriptEmbedded",
213
+ nextEmbedded: "text/javascript"
214
+ }
215
+ ],
216
+ [/[ \t\r\n]+/],
217
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
218
+ ],
219
+ scriptWithCustomType: [
220
+ [
221
+ />/,
222
+ {
223
+ token: "delimiter.html",
224
+ next: "@scriptEmbedded.$S2",
225
+ nextEmbedded: "$S2"
226
+ }
227
+ ],
228
+ [/"([^"]*)"/, "attribute.value.html"],
229
+ [/'([^']*)'/, "attribute.value.html"],
230
+ [/[\w\-]+/, "attribute.name.html"],
231
+ [/=/, "delimiter.html"],
232
+ [/[ \t\r\n]+/],
233
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
234
+ ],
235
+ scriptEmbedded: [
236
+ [/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
237
+ [/[^<]+/, ""]
238
+ ],
239
+ style: [
240
+ [/type/, "attribute.name.html", "@styleAfterType"],
241
+ [/"([^"]*)"/, "attribute.value.html"],
242
+ [/'([^']*)'/, "attribute.value.html"],
243
+ [/[\w\-]+/, "attribute.name.html"],
244
+ [/=/, "delimiter.html"],
245
+ [
246
+ />/,
247
+ {
248
+ token: "delimiter.html",
249
+ next: "@styleEmbedded",
250
+ nextEmbedded: "text/css"
251
+ }
252
+ ],
253
+ [/[ \t\r\n]+/],
254
+ [
255
+ /(<\/)(style\s*)(>)/,
256
+ ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
257
+ ]
258
+ ],
259
+ styleAfterType: [
260
+ [/=/, "delimiter.html", "@styleAfterTypeEquals"],
261
+ [
262
+ />/,
263
+ {
264
+ token: "delimiter.html",
265
+ next: "@styleEmbedded",
266
+ nextEmbedded: "text/css"
267
+ }
268
+ ],
269
+ [/[ \t\r\n]+/],
270
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
271
+ ],
272
+ styleAfterTypeEquals: [
273
+ [
274
+ /"([^"]*)"/,
275
+ {
276
+ token: "attribute.value.html",
277
+ switchTo: "@styleWithCustomType.$1"
278
+ }
279
+ ],
280
+ [
281
+ /'([^']*)'/,
282
+ {
283
+ token: "attribute.value.html",
284
+ switchTo: "@styleWithCustomType.$1"
285
+ }
286
+ ],
287
+ [
288
+ />/,
289
+ {
290
+ token: "delimiter.html",
291
+ next: "@styleEmbedded",
292
+ nextEmbedded: "text/css"
293
+ }
294
+ ],
295
+ [/[ \t\r\n]+/],
296
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
297
+ ],
298
+ styleWithCustomType: [
299
+ [
300
+ />/,
301
+ {
302
+ token: "delimiter.html",
303
+ next: "@styleEmbedded.$S2",
304
+ nextEmbedded: "$S2"
305
+ }
306
+ ],
307
+ [/"([^"]*)"/, "attribute.value.html"],
308
+ [/'([^']*)'/, "attribute.value.html"],
309
+ [/[\w\-]+/, "attribute.name.html"],
310
+ [/=/, "delimiter.html"],
311
+ [/[ \t\r\n]+/],
312
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
313
+ ],
314
+ styleEmbedded: [
315
+ [/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
316
+ [/[^<]+/, ""]
317
+ ]
318
+ }
319
+ };
320
+ export {
321
+ t as conf,
322
+ e as language
323
+ };
@@ -0,0 +1,330 @@
1
+ import { m as c } from "./index-da0a0bfe.js";
2
+ import "vue";
3
+ import "vue-router";
4
+ import "element-plus";
5
+ /*!-----------------------------------------------------------------------------
6
+ * Copyright (c) Microsoft Corporation. All rights reserved.
7
+ * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
8
+ * Released under the MIT license
9
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
10
+ *-----------------------------------------------------------------------------*/
11
+ var a = Object.defineProperty, p = Object.getOwnPropertyDescriptor, g = Object.getOwnPropertyNames, l = Object.prototype.hasOwnProperty, s = (t, e, o, i) => {
12
+ if (e && typeof e == "object" || typeof e == "function")
13
+ for (let n of g(e))
14
+ !l.call(t, n) && n !== o && a(t, n, { get: () => e[n], enumerable: !(i = p(e, n)) || i.enumerable });
15
+ return t;
16
+ }, d = (t, e, o) => (s(t, e, "default"), o && s(o, e, "default")), r = {};
17
+ d(r, c);
18
+ var f = {
19
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
20
+ comments: {
21
+ lineComment: "//",
22
+ blockComment: ["/*", "*/"]
23
+ },
24
+ brackets: [
25
+ ["{", "}"],
26
+ ["[", "]"],
27
+ ["(", ")"]
28
+ ],
29
+ onEnterRules: [
30
+ {
31
+ beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
32
+ afterText: /^\s*\*\/$/,
33
+ action: {
34
+ indentAction: r.languages.IndentAction.IndentOutdent,
35
+ appendText: " * "
36
+ }
37
+ },
38
+ {
39
+ beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
40
+ action: {
41
+ indentAction: r.languages.IndentAction.None,
42
+ appendText: " * "
43
+ }
44
+ },
45
+ {
46
+ beforeText: /^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,
47
+ action: {
48
+ indentAction: r.languages.IndentAction.None,
49
+ appendText: "* "
50
+ }
51
+ },
52
+ {
53
+ beforeText: /^(\t|(\ \ ))*\ \*\/\s*$/,
54
+ action: {
55
+ indentAction: r.languages.IndentAction.None,
56
+ removeText: 1
57
+ }
58
+ }
59
+ ],
60
+ autoClosingPairs: [
61
+ { open: "{", close: "}" },
62
+ { open: "[", close: "]" },
63
+ { open: "(", close: ")" },
64
+ { open: '"', close: '"', notIn: ["string"] },
65
+ { open: "'", close: "'", notIn: ["string", "comment"] },
66
+ { open: "`", close: "`", notIn: ["string", "comment"] },
67
+ { open: "/**", close: " */", notIn: ["string"] }
68
+ ],
69
+ folding: {
70
+ markers: {
71
+ start: new RegExp("^\\s*//\\s*#?region\\b"),
72
+ end: new RegExp("^\\s*//\\s*#?endregion\\b")
73
+ }
74
+ }
75
+ }, k = {
76
+ defaultToken: "invalid",
77
+ tokenPostfix: ".ts",
78
+ keywords: [
79
+ "abstract",
80
+ "any",
81
+ "as",
82
+ "asserts",
83
+ "bigint",
84
+ "boolean",
85
+ "break",
86
+ "case",
87
+ "catch",
88
+ "class",
89
+ "continue",
90
+ "const",
91
+ "constructor",
92
+ "debugger",
93
+ "declare",
94
+ "default",
95
+ "delete",
96
+ "do",
97
+ "else",
98
+ "enum",
99
+ "export",
100
+ "extends",
101
+ "false",
102
+ "finally",
103
+ "for",
104
+ "from",
105
+ "function",
106
+ "get",
107
+ "if",
108
+ "implements",
109
+ "import",
110
+ "in",
111
+ "infer",
112
+ "instanceof",
113
+ "interface",
114
+ "is",
115
+ "keyof",
116
+ "let",
117
+ "module",
118
+ "namespace",
119
+ "never",
120
+ "new",
121
+ "null",
122
+ "number",
123
+ "object",
124
+ "out",
125
+ "package",
126
+ "private",
127
+ "protected",
128
+ "public",
129
+ "override",
130
+ "readonly",
131
+ "require",
132
+ "global",
133
+ "return",
134
+ "set",
135
+ "static",
136
+ "string",
137
+ "super",
138
+ "switch",
139
+ "symbol",
140
+ "this",
141
+ "throw",
142
+ "true",
143
+ "try",
144
+ "type",
145
+ "typeof",
146
+ "undefined",
147
+ "unique",
148
+ "unknown",
149
+ "var",
150
+ "void",
151
+ "while",
152
+ "with",
153
+ "yield",
154
+ "async",
155
+ "await",
156
+ "of"
157
+ ],
158
+ operators: [
159
+ "<=",
160
+ ">=",
161
+ "==",
162
+ "!=",
163
+ "===",
164
+ "!==",
165
+ "=>",
166
+ "+",
167
+ "-",
168
+ "**",
169
+ "*",
170
+ "/",
171
+ "%",
172
+ "++",
173
+ "--",
174
+ "<<",
175
+ "</",
176
+ ">>",
177
+ ">>>",
178
+ "&",
179
+ "|",
180
+ "^",
181
+ "!",
182
+ "~",
183
+ "&&",
184
+ "||",
185
+ "??",
186
+ "?",
187
+ ":",
188
+ "=",
189
+ "+=",
190
+ "-=",
191
+ "*=",
192
+ "**=",
193
+ "/=",
194
+ "%=",
195
+ "<<=",
196
+ ">>=",
197
+ ">>>=",
198
+ "&=",
199
+ "|=",
200
+ "^=",
201
+ "@"
202
+ ],
203
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
204
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
205
+ digits: /\d+(_+\d+)*/,
206
+ octaldigits: /[0-7]+(_+[0-7]+)*/,
207
+ binarydigits: /[0-1]+(_+[0-1]+)*/,
208
+ hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
209
+ regexpctl: /[(){}\[\]\$\^|\-*+?\.]/,
210
+ regexpesc: /\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,
211
+ tokenizer: {
212
+ root: [[/[{}]/, "delimiter.bracket"], { include: "common" }],
213
+ common: [
214
+ [
215
+ /[a-z_$][\w$]*/,
216
+ {
217
+ cases: {
218
+ "@keywords": "keyword",
219
+ "@default": "identifier"
220
+ }
221
+ }
222
+ ],
223
+ [/[A-Z][\w\$]*/, "type.identifier"],
224
+ { include: "@whitespace" },
225
+ [
226
+ /\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,
227
+ { token: "regexp", bracket: "@open", next: "@regexp" }
228
+ ],
229
+ [/[()\[\]]/, "@brackets"],
230
+ [/[<>](?!@symbols)/, "@brackets"],
231
+ [/!(?=([^=]|$))/, "delimiter"],
232
+ [
233
+ /@symbols/,
234
+ {
235
+ cases: {
236
+ "@operators": "delimiter",
237
+ "@default": ""
238
+ }
239
+ }
240
+ ],
241
+ [/(@digits)[eE]([\-+]?(@digits))?/, "number.float"],
242
+ [/(@digits)\.(@digits)([eE][\-+]?(@digits))?/, "number.float"],
243
+ [/0[xX](@hexdigits)n?/, "number.hex"],
244
+ [/0[oO]?(@octaldigits)n?/, "number.octal"],
245
+ [/0[bB](@binarydigits)n?/, "number.binary"],
246
+ [/(@digits)n?/, "number"],
247
+ [/[;,.]/, "delimiter"],
248
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
249
+ [/'([^'\\]|\\.)*$/, "string.invalid"],
250
+ [/"/, "string", "@string_double"],
251
+ [/'/, "string", "@string_single"],
252
+ [/`/, "string", "@string_backtick"]
253
+ ],
254
+ whitespace: [
255
+ [/[ \t\r\n]+/, ""],
256
+ [/\/\*\*(?!\/)/, "comment.doc", "@jsdoc"],
257
+ [/\/\*/, "comment", "@comment"],
258
+ [/\/\/.*$/, "comment"]
259
+ ],
260
+ comment: [
261
+ [/[^\/*]+/, "comment"],
262
+ [/\*\//, "comment", "@pop"],
263
+ [/[\/*]/, "comment"]
264
+ ],
265
+ jsdoc: [
266
+ [/[^\/*]+/, "comment.doc"],
267
+ [/\*\//, "comment.doc", "@pop"],
268
+ [/[\/*]/, "comment.doc"]
269
+ ],
270
+ regexp: [
271
+ [
272
+ /(\{)(\d+(?:,\d*)?)(\})/,
273
+ ["regexp.escape.control", "regexp.escape.control", "regexp.escape.control"]
274
+ ],
275
+ [
276
+ /(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,
277
+ ["regexp.escape.control", { token: "regexp.escape.control", next: "@regexrange" }]
278
+ ],
279
+ [/(\()(\?:|\?=|\?!)/, ["regexp.escape.control", "regexp.escape.control"]],
280
+ [/[()]/, "regexp.escape.control"],
281
+ [/@regexpctl/, "regexp.escape.control"],
282
+ [/[^\\\/]/, "regexp"],
283
+ [/@regexpesc/, "regexp.escape"],
284
+ [/\\\./, "regexp.invalid"],
285
+ [/(\/)([dgimsuy]*)/, [{ token: "regexp", bracket: "@close", next: "@pop" }, "keyword.other"]]
286
+ ],
287
+ regexrange: [
288
+ [/-/, "regexp.escape.control"],
289
+ [/\^/, "regexp.invalid"],
290
+ [/@regexpesc/, "regexp.escape"],
291
+ [/[^\]]/, "regexp"],
292
+ [
293
+ /\]/,
294
+ {
295
+ token: "regexp.escape.control",
296
+ next: "@pop",
297
+ bracket: "@close"
298
+ }
299
+ ]
300
+ ],
301
+ string_double: [
302
+ [/[^\\"]+/, "string"],
303
+ [/@escapes/, "string.escape"],
304
+ [/\\./, "string.escape.invalid"],
305
+ [/"/, "string", "@pop"]
306
+ ],
307
+ string_single: [
308
+ [/[^\\']+/, "string"],
309
+ [/@escapes/, "string.escape"],
310
+ [/\\./, "string.escape.invalid"],
311
+ [/'/, "string", "@pop"]
312
+ ],
313
+ string_backtick: [
314
+ [/\$\{/, { token: "delimiter.bracket", next: "@bracketCounting" }],
315
+ [/[^\\`$]+/, "string"],
316
+ [/@escapes/, "string.escape"],
317
+ [/\\./, "string.escape.invalid"],
318
+ [/`/, "string", "@pop"]
319
+ ],
320
+ bracketCounting: [
321
+ [/\{/, "delimiter.bracket", "@bracketCounting"],
322
+ [/\}/, "delimiter.bracket", "@pop"],
323
+ { include: "common" }
324
+ ]
325
+ }
326
+ };
327
+ export {
328
+ f as conf,
329
+ k as language
330
+ };