@tuoyuan/code-editor 1.0.0

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 (182) hide show
  1. package/README.md +505 -0
  2. package/dist/CodeEditor.vue.d.ts +335 -0
  3. package/dist/abap-Ck4GwL0j.js +1404 -0
  4. package/dist/abap-Dm-grL-k.cjs +6 -0
  5. package/dist/apex-BcgYgERc.cjs +6 -0
  6. package/dist/apex-ODA7HKAJ.js +332 -0
  7. package/dist/azcli-CTIyen0u.cjs +6 -0
  8. package/dist/azcli-Cb6cb8s9.js +74 -0
  9. package/dist/bat-DNcko697.cjs +6 -0
  10. package/dist/bat-DTzY2NZq.js +106 -0
  11. package/dist/bicep-BMFU7f1t.js +108 -0
  12. package/dist/bicep-CaTas9h4.cjs +7 -0
  13. package/dist/cameligo-CI3fenw2.cjs +6 -0
  14. package/dist/cameligo-NLSSnjLV.js +180 -0
  15. package/dist/clojure-BGGaGC_c.cjs +6 -0
  16. package/dist/clojure-Du0upEOV.js +767 -0
  17. package/dist/coffee-ClJtyy1o.cjs +6 -0
  18. package/dist/coffee-v4uQlkM7.js +238 -0
  19. package/dist/cpp-C8lRvf76.cjs +6 -0
  20. package/dist/cpp-D8cWT5D_.js +395 -0
  21. package/dist/csharp-Czug7i7m.js +332 -0
  22. package/dist/csharp-DWhydAB-.cjs +6 -0
  23. package/dist/csp-BWvo8sOh.cjs +6 -0
  24. package/dist/csp-C8fx6eO8.js +59 -0
  25. package/dist/css-BpNIi06k.js +193 -0
  26. package/dist/css-CFi1nolN.cjs +8 -0
  27. package/dist/cssMode-BfZeZ0sl.js +1577 -0
  28. package/dist/cssMode-CroponXs.cjs +9 -0
  29. package/dist/cypher-C17znEzs.js +269 -0
  30. package/dist/cypher-CeoUqDHe.cjs +6 -0
  31. package/dist/dart-BmDOWGHn.cjs +6 -0
  32. package/dist/dart-CYyrqmCr.js +287 -0
  33. package/dist/dockerfile-BQUsBUh7.js +136 -0
  34. package/dist/dockerfile-CughGaD6.cjs +6 -0
  35. package/dist/ecl-BDDxLC55.cjs +6 -0
  36. package/dist/ecl-CJB68izO.js +462 -0
  37. package/dist/elixir-BPaYnkX2.cjs +6 -0
  38. package/dist/elixir-DljgmHqx.js +575 -0
  39. package/dist/flow9-0BfLJTIY.js +148 -0
  40. package/dist/flow9-BYsSavfX.cjs +6 -0
  41. package/dist/formatter.d.ts +16 -0
  42. package/dist/freemarker2-CpMdvAfd.cjs +8 -0
  43. package/dist/freemarker2-DVRVJu0B.js +995 -0
  44. package/dist/fsharp-SmZEcjiu.cjs +6 -0
  45. package/dist/fsharp-lmsaS1LJ.js +223 -0
  46. package/dist/go-Tv83ayL9.js +224 -0
  47. package/dist/go-xVW5xrOi.cjs +6 -0
  48. package/dist/graphql-BH1G4Uv8.js +157 -0
  49. package/dist/graphql-BaJ0LkdR.cjs +6 -0
  50. package/dist/handlebars-8AMUT0_r.cjs +6 -0
  51. package/dist/handlebars-cspegSxe.js +425 -0
  52. package/dist/hcl-9tXVo0Oo.js +189 -0
  53. package/dist/hcl-BTIq68i_.cjs +6 -0
  54. package/dist/html-Bvlf1Z20.cjs +6 -0
  55. package/dist/html-zabMn0fr.js +314 -0
  56. package/dist/htmlMode-B3y58LIC.cjs +9 -0
  57. package/dist/htmlMode-jXZ-OnTX.js +1587 -0
  58. package/dist/index-BvnET_j2.js +132407 -0
  59. package/dist/index-CjGIE44E.cjs +1197 -0
  60. package/dist/index.d.ts +5 -0
  61. package/dist/index.js +1 -0
  62. package/dist/index.mjs +5 -0
  63. package/dist/ini-CJdCU2Im.cjs +6 -0
  64. package/dist/ini-DZX3aW6M.js +77 -0
  65. package/dist/java-Day25zBa.cjs +6 -0
  66. package/dist/java-Q9NjwWso.js +238 -0
  67. package/dist/javascript-BF91TgD3.js +76 -0
  68. package/dist/javascript-QgWqIxzo.cjs +6 -0
  69. package/dist/jsonMode-Chpjh-RM.cjs +15 -0
  70. package/dist/jsonMode-DD3uMliY.js +2002 -0
  71. package/dist/julia-BqwBsF5P.cjs +6 -0
  72. package/dist/julia-QQBeypPo.js +517 -0
  73. package/dist/kotlin-2AnhId0p.js +259 -0
  74. package/dist/kotlin-B4u9iQDL.cjs +6 -0
  75. package/dist/less-CWxTTuX7.cjs +7 -0
  76. package/dist/less-Daawp9Qu.js +168 -0
  77. package/dist/lexon-B1xVKv1m.cjs +6 -0
  78. package/dist/lexon-CqxA-4g1.js +163 -0
  79. package/dist/liquid-CsQKIvsE.cjs +6 -0
  80. package/dist/liquid-DxypC1q6.js +246 -0
  81. package/dist/lua-C9DR8JqQ.js +168 -0
  82. package/dist/lua-GQ1AlIpR.cjs +6 -0
  83. package/dist/m3-ChnU6a_2.cjs +6 -0
  84. package/dist/m3-ChoO2Aeo.js +216 -0
  85. package/dist/markdown-vGe7N__p.js +235 -0
  86. package/dist/markdown-yRKnCzup.cjs +6 -0
  87. package/dist/mdx-BvsKvd6j.cjs +6 -0
  88. package/dist/mdx-DZRrNJcb.js +171 -0
  89. package/dist/mips-B35Tctk9.js +204 -0
  90. package/dist/mips-DE1-KCxg.cjs +6 -0
  91. package/dist/monaco-worker.d.ts +2 -0
  92. package/dist/msdax-CKduWRE-.js +381 -0
  93. package/dist/msdax-D0cml5wZ.cjs +6 -0
  94. package/dist/mysql-D4V3ltpC.js +884 -0
  95. package/dist/mysql-DLWkbGoZ.cjs +6 -0
  96. package/dist/objective-c-CaS419yz.js +189 -0
  97. package/dist/objective-c-aq90HTjV.cjs +6 -0
  98. package/dist/pascal-CzzqMa-q.js +257 -0
  99. package/dist/pascal-Tx_vZ5dG.cjs +6 -0
  100. package/dist/pascaligo-DPbJfhBm.js +170 -0
  101. package/dist/pascaligo-D_Ri2CTv.cjs +6 -0
  102. package/dist/perl-CswrnJgZ.cjs +6 -0
  103. package/dist/perl-DiakDHGa.js +632 -0
  104. package/dist/pgsql-CCS271_e.cjs +6 -0
  105. package/dist/pgsql-FgzHGfbe.js +857 -0
  106. package/dist/php-BtenrrrR.cjs +6 -0
  107. package/dist/php-DeEgUIDo.js +506 -0
  108. package/dist/pla-BtA__bSx.js +143 -0
  109. package/dist/pla-DqtRVxAK.cjs +6 -0
  110. package/dist/postiats-CDpKZOjz.js +913 -0
  111. package/dist/postiats-CMjeSPtv.cjs +6 -0
  112. package/dist/powerquery-C4wMFtve.js +896 -0
  113. package/dist/powerquery-DMrlf6nl.cjs +6 -0
  114. package/dist/powershell-BIXcUAIq.js +245 -0
  115. package/dist/powershell-BzvWvXBW.cjs +6 -0
  116. package/dist/protobuf-BHrBiKx5.js +426 -0
  117. package/dist/protobuf-BkfVMs3q.cjs +7 -0
  118. package/dist/pug-BgHHt25K.cjs +6 -0
  119. package/dist/pug-D_c6Bxex.js +408 -0
  120. package/dist/python-CDI0D2Kf.cjs +6 -0
  121. package/dist/python-CXOcTmBp.js +307 -0
  122. package/dist/qsharp-BS_wm4zq.cjs +6 -0
  123. package/dist/qsharp-Bmp6Uoth.js +291 -0
  124. package/dist/r-Cw-pZRR6.js +249 -0
  125. package/dist/r-XsO4bdi0.cjs +6 -0
  126. package/dist/razor-CAIWGDkN.cjs +6 -0
  127. package/dist/razor-Do5Lpn1p.js +556 -0
  128. package/dist/redis-D5elYsZS.cjs +6 -0
  129. package/dist/redis-DSkWtKTU.js +308 -0
  130. package/dist/redshift-BrAReR9w.cjs +6 -0
  131. package/dist/redshift-G3V-UH7H.js +815 -0
  132. package/dist/restructuredtext-C3HS0Vuf.js +180 -0
  133. package/dist/restructuredtext-CzNfc37y.cjs +6 -0
  134. package/dist/ruby-CFRrX6F7.cjs +6 -0
  135. package/dist/ruby-DdxOY_t-.js +517 -0
  136. package/dist/rust-BgYTY-pT.cjs +6 -0
  137. package/dist/rust-CHLNe-uh.js +349 -0
  138. package/dist/sb-DjdwHjNi.cjs +6 -0
  139. package/dist/sb-VgZvRVjv.js +121 -0
  140. package/dist/scala-BEo281v6.js +376 -0
  141. package/dist/scala-C9e5dt2E.cjs +6 -0
  142. package/dist/scheme-BPzKEKRg.cjs +6 -0
  143. package/dist/scheme-BwtlTEx9.js +114 -0
  144. package/dist/scss-B_KRI23k.cjs +8 -0
  145. package/dist/scss-DNHJcE5b.js +268 -0
  146. package/dist/shell-961u9U9E.cjs +6 -0
  147. package/dist/shell-CYXbUHt6.js +227 -0
  148. package/dist/solidity-B94td9D0.js +1373 -0
  149. package/dist/solidity-DyAQZQb-.cjs +6 -0
  150. package/dist/sophia-C67C1dNJ.cjs +6 -0
  151. package/dist/sophia-CgOMMImk.js +205 -0
  152. package/dist/sparql-CmRbqkGW.js +207 -0
  153. package/dist/sparql-DTHixtMm.cjs +6 -0
  154. package/dist/sql-CX8rIh5F.cjs +6 -0
  155. package/dist/sql-DVsVTphc.js +859 -0
  156. package/dist/st-ATFa4Vu3.js +422 -0
  157. package/dist/st-CBQkFfzG.cjs +6 -0
  158. package/dist/style.css +1 -0
  159. package/dist/swift-K4rp2L0u.js +318 -0
  160. package/dist/swift-XvmCMD7s.cjs +8 -0
  161. package/dist/systemverilog-D0lDJRC5.cjs +6 -0
  162. package/dist/systemverilog-YgLuECrg.js +582 -0
  163. package/dist/tcl-BHcJGOmo.js +238 -0
  164. package/dist/tcl-Ju0vlxf3.cjs +6 -0
  165. package/dist/tsMode-D7bHvHeH.cjs +16 -0
  166. package/dist/tsMode-DiYbk3vf.js +895 -0
  167. package/dist/twig-B1JhL8Uy.cjs +6 -0
  168. package/dist/twig-sVb_x968.js +398 -0
  169. package/dist/types.d.ts +16 -0
  170. package/dist/typescript-CI6w3N2S.cjs +6 -0
  171. package/dist/typescript-DFdjl8Xj.js +349 -0
  172. package/dist/typespec-BSdcQAUL.js +123 -0
  173. package/dist/typespec-u6UGyzVa.cjs +6 -0
  174. package/dist/vb-BZywMj6s.js +378 -0
  175. package/dist/vb-CB1voSvV.cjs +6 -0
  176. package/dist/wgsl-eG2bS915.js +445 -0
  177. package/dist/wgsl-eXQZam6Q.cjs +303 -0
  178. package/dist/xml-CJndgX4z.js +101 -0
  179. package/dist/xml-CO5xAOVk.cjs +6 -0
  180. package/dist/yaml--krIkoJ8.js +212 -0
  181. package/dist/yaml-BYk2IWKs.cjs +6 -0
  182. package/package.json +73 -0
@@ -0,0 +1,408 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var e = {
8
+ comments: {
9
+ lineComment: "//"
10
+ },
11
+ brackets: [
12
+ ["{", "}"],
13
+ ["[", "]"],
14
+ ["(", ")"]
15
+ ],
16
+ autoClosingPairs: [
17
+ { open: '"', close: '"', notIn: ["string", "comment"] },
18
+ { open: "'", close: "'", notIn: ["string", "comment"] },
19
+ { open: "{", close: "}", notIn: ["string", "comment"] },
20
+ { open: "[", close: "]", notIn: ["string", "comment"] },
21
+ { open: "(", close: ")", notIn: ["string", "comment"] }
22
+ ],
23
+ folding: {
24
+ offSide: !0
25
+ }
26
+ }, t = {
27
+ defaultToken: "",
28
+ tokenPostfix: ".pug",
29
+ ignoreCase: !0,
30
+ brackets: [
31
+ { token: "delimiter.curly", open: "{", close: "}" },
32
+ { token: "delimiter.array", open: "[", close: "]" },
33
+ { token: "delimiter.parenthesis", open: "(", close: ")" }
34
+ ],
35
+ keywords: [
36
+ "append",
37
+ "block",
38
+ "case",
39
+ "default",
40
+ "doctype",
41
+ "each",
42
+ "else",
43
+ "extends",
44
+ "for",
45
+ "if",
46
+ "in",
47
+ "include",
48
+ "mixin",
49
+ "typeof",
50
+ "unless",
51
+ "var",
52
+ "when"
53
+ ],
54
+ tags: [
55
+ "a",
56
+ "abbr",
57
+ "acronym",
58
+ "address",
59
+ "area",
60
+ "article",
61
+ "aside",
62
+ "audio",
63
+ "b",
64
+ "base",
65
+ "basefont",
66
+ "bdi",
67
+ "bdo",
68
+ "blockquote",
69
+ "body",
70
+ "br",
71
+ "button",
72
+ "canvas",
73
+ "caption",
74
+ "center",
75
+ "cite",
76
+ "code",
77
+ "col",
78
+ "colgroup",
79
+ "command",
80
+ "datalist",
81
+ "dd",
82
+ "del",
83
+ "details",
84
+ "dfn",
85
+ "div",
86
+ "dl",
87
+ "dt",
88
+ "em",
89
+ "embed",
90
+ "fieldset",
91
+ "figcaption",
92
+ "figure",
93
+ "font",
94
+ "footer",
95
+ "form",
96
+ "frame",
97
+ "frameset",
98
+ "h1",
99
+ "h2",
100
+ "h3",
101
+ "h4",
102
+ "h5",
103
+ "h6",
104
+ "head",
105
+ "header",
106
+ "hgroup",
107
+ "hr",
108
+ "html",
109
+ "i",
110
+ "iframe",
111
+ "img",
112
+ "input",
113
+ "ins",
114
+ "keygen",
115
+ "kbd",
116
+ "label",
117
+ "li",
118
+ "link",
119
+ "map",
120
+ "mark",
121
+ "menu",
122
+ "meta",
123
+ "meter",
124
+ "nav",
125
+ "noframes",
126
+ "noscript",
127
+ "object",
128
+ "ol",
129
+ "optgroup",
130
+ "option",
131
+ "output",
132
+ "p",
133
+ "param",
134
+ "pre",
135
+ "progress",
136
+ "q",
137
+ "rp",
138
+ "rt",
139
+ "ruby",
140
+ "s",
141
+ "samp",
142
+ "script",
143
+ "section",
144
+ "select",
145
+ "small",
146
+ "source",
147
+ "span",
148
+ "strike",
149
+ "strong",
150
+ "style",
151
+ "sub",
152
+ "summary",
153
+ "sup",
154
+ "table",
155
+ "tbody",
156
+ "td",
157
+ "textarea",
158
+ "tfoot",
159
+ "th",
160
+ "thead",
161
+ "time",
162
+ "title",
163
+ "tr",
164
+ "tracks",
165
+ "tt",
166
+ "u",
167
+ "ul",
168
+ "video",
169
+ "wbr"
170
+ ],
171
+ // we include these common regular expressions
172
+ symbols: /[\+\-\*\%\&\|\!\=\/\.\,\:]+/,
173
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
174
+ tokenizer: {
175
+ root: [
176
+ // Tag or a keyword at start
177
+ [
178
+ /^(\s*)([a-zA-Z_-][\w-]*)/,
179
+ {
180
+ cases: {
181
+ "$2@tags": {
182
+ cases: {
183
+ "@eos": ["", "tag"],
184
+ "@default": ["", { token: "tag", next: "@tag.$1" }]
185
+ }
186
+ },
187
+ "$2@keywords": ["", { token: "keyword.$2" }],
188
+ "@default": ["", ""]
189
+ }
190
+ }
191
+ ],
192
+ // id
193
+ [
194
+ /^(\s*)(#[a-zA-Z_-][\w-]*)/,
195
+ {
196
+ cases: {
197
+ "@eos": ["", "tag.id"],
198
+ "@default": ["", { token: "tag.id", next: "@tag.$1" }]
199
+ }
200
+ }
201
+ ],
202
+ // class
203
+ [
204
+ /^(\s*)(\.[a-zA-Z_-][\w-]*)/,
205
+ {
206
+ cases: {
207
+ "@eos": ["", "tag.class"],
208
+ "@default": ["", { token: "tag.class", next: "@tag.$1" }]
209
+ }
210
+ }
211
+ ],
212
+ // plain text with pipe
213
+ [/^(\s*)(\|.*)$/, ""],
214
+ { include: "@whitespace" },
215
+ // keywords
216
+ [
217
+ /[a-zA-Z_$][\w$]*/,
218
+ {
219
+ cases: {
220
+ "@keywords": { token: "keyword.$0" },
221
+ "@default": ""
222
+ }
223
+ }
224
+ ],
225
+ // delimiters and operators
226
+ [/[{}()\[\]]/, "@brackets"],
227
+ [/@symbols/, "delimiter"],
228
+ // numbers
229
+ [/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
230
+ [/\d+/, "number"],
231
+ // strings:
232
+ [/"/, "string", '@string."'],
233
+ [/'/, "string", "@string.'"]
234
+ ],
235
+ tag: [
236
+ [/(\.)(\s*$)/, [{ token: "delimiter", next: "@blockText.$S2." }, ""]],
237
+ [/\s+/, { token: "", next: "@simpleText" }],
238
+ // id
239
+ [
240
+ /#[a-zA-Z_-][\w-]*/,
241
+ {
242
+ cases: {
243
+ "@eos": { token: "tag.id", next: "@pop" },
244
+ "@default": "tag.id"
245
+ }
246
+ }
247
+ ],
248
+ // class
249
+ [
250
+ /\.[a-zA-Z_-][\w-]*/,
251
+ {
252
+ cases: {
253
+ "@eos": { token: "tag.class", next: "@pop" },
254
+ "@default": "tag.class"
255
+ }
256
+ }
257
+ ],
258
+ // attributes
259
+ [/\(/, { token: "delimiter.parenthesis", next: "@attributeList" }]
260
+ ],
261
+ simpleText: [
262
+ [/[^#]+$/, { token: "", next: "@popall" }],
263
+ [/[^#]+/, { token: "" }],
264
+ // interpolation
265
+ [
266
+ /(#{)([^}]*)(})/,
267
+ {
268
+ cases: {
269
+ "@eos": [
270
+ "interpolation.delimiter",
271
+ "interpolation",
272
+ {
273
+ token: "interpolation.delimiter",
274
+ next: "@popall"
275
+ }
276
+ ],
277
+ "@default": ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]
278
+ }
279
+ }
280
+ ],
281
+ [/#$/, { token: "", next: "@popall" }],
282
+ [/#/, ""]
283
+ ],
284
+ attributeList: [
285
+ [/\s+/, ""],
286
+ [
287
+ /(\w+)(\s*=\s*)("|')/,
288
+ ["attribute.name", "delimiter", { token: "attribute.value", next: "@value.$3" }]
289
+ ],
290
+ [/\w+/, "attribute.name"],
291
+ [
292
+ /,/,
293
+ {
294
+ cases: {
295
+ "@eos": {
296
+ token: "attribute.delimiter",
297
+ next: "@popall"
298
+ },
299
+ "@default": "attribute.delimiter"
300
+ }
301
+ }
302
+ ],
303
+ [/\)$/, { token: "delimiter.parenthesis", next: "@popall" }],
304
+ [/\)/, { token: "delimiter.parenthesis", next: "@pop" }]
305
+ ],
306
+ whitespace: [
307
+ [/^(\s*)(\/\/.*)$/, { token: "comment", next: "@blockText.$1.comment" }],
308
+ [/[ \t\r\n]+/, ""],
309
+ [/<!--/, { token: "comment", next: "@comment" }]
310
+ ],
311
+ blockText: [
312
+ [
313
+ /^\s+.*$/,
314
+ {
315
+ cases: {
316
+ "($S2\\s+.*$)": { token: "$S3" },
317
+ "@default": { token: "@rematch", next: "@popall" }
318
+ }
319
+ }
320
+ ],
321
+ [/./, { token: "@rematch", next: "@popall" }]
322
+ ],
323
+ comment: [
324
+ [/[^<\-]+/, "comment.content"],
325
+ [/-->/, { token: "comment", next: "@pop" }],
326
+ [/<!--/, "comment.content.invalid"],
327
+ [/[<\-]/, "comment.content"]
328
+ ],
329
+ string: [
330
+ [
331
+ /[^\\"'#]+/,
332
+ {
333
+ cases: {
334
+ "@eos": { token: "string", next: "@popall" },
335
+ "@default": "string"
336
+ }
337
+ }
338
+ ],
339
+ [
340
+ /@escapes/,
341
+ {
342
+ cases: {
343
+ "@eos": { token: "string.escape", next: "@popall" },
344
+ "@default": "string.escape"
345
+ }
346
+ }
347
+ ],
348
+ [
349
+ /\\./,
350
+ {
351
+ cases: {
352
+ "@eos": {
353
+ token: "string.escape.invalid",
354
+ next: "@popall"
355
+ },
356
+ "@default": "string.escape.invalid"
357
+ }
358
+ }
359
+ ],
360
+ // interpolation
361
+ [/(#{)([^}]*)(})/, ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]],
362
+ [/#/, "string"],
363
+ [
364
+ /["']/,
365
+ {
366
+ cases: {
367
+ "$#==$S2": { token: "string", next: "@pop" },
368
+ "@default": { token: "string" }
369
+ }
370
+ }
371
+ ]
372
+ ],
373
+ // Almost identical to above, except for escapes and the output token
374
+ value: [
375
+ [
376
+ /[^\\"']+/,
377
+ {
378
+ cases: {
379
+ "@eos": { token: "attribute.value", next: "@popall" },
380
+ "@default": "attribute.value"
381
+ }
382
+ }
383
+ ],
384
+ [
385
+ /\\./,
386
+ {
387
+ cases: {
388
+ "@eos": { token: "attribute.value", next: "@popall" },
389
+ "@default": "attribute.value"
390
+ }
391
+ }
392
+ ],
393
+ [
394
+ /["']/,
395
+ {
396
+ cases: {
397
+ "$#==$S2": { token: "attribute.value", next: "@pop" },
398
+ "@default": { token: "attribute.value" }
399
+ }
400
+ }
401
+ ]
402
+ ]
403
+ }
404
+ };
405
+ export {
406
+ e as conf,
407
+ t as language
408
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-CjGIE44E.cjs");/*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/var a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,g=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!p.call(t,r)&&r!==n&&a(t,r,{get:()=>e[r],enumerable:!(s=l(e,r))||s.enumerable});return t},d=(t,e,n)=>(g(t,e,"default"),n),i={};d(i,o.monaco_editor_core_star);var _={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},f={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","type","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/f'{1,3}/,"string.escape","@fStringBody"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/f"{1,3}/,"string.escape","@fDblStringBody"],[/"/,"string.escape","@dblStringBody"]],fStringBody:[[/[^\\'\{\}]+$/,"string","@popall"],[/[^\\'\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],fDblStringBody:[[/[^\\"\{\}]+$/,"string","@popall"],[/[^\\"\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],fStringDetail:[[/[:][^}]+/,"string"],[/[!][ars]/,"string"],[/=/,"string"],[/\}/,"identifier","@pop"]]}};exports.conf=_;exports.language=f;