@milkdown/crepe 7.3.3

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 (241) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/lib/apl-p0IPP13W.js +76 -0
  4. package/lib/asciiarmor-lJsBxlJJ.js +34 -0
  5. package/lib/asn1-Q9v1zIy5.js +102 -0
  6. package/lib/asterisk-foNkeTjy.js +273 -0
  7. package/lib/brainfuck-0XqyXpNS.js +35 -0
  8. package/lib/clike-ak6Z6Yhe.js +639 -0
  9. package/lib/clojure-iYO8U8Sg.js +810 -0
  10. package/lib/clsx-7d8NmkQq.js +21 -0
  11. package/lib/cmake-SVzjkxV_.js +28 -0
  12. package/lib/cobol-APHEnAOX.js +74 -0
  13. package/lib/coffeescript-KqQa0SYG.js +182 -0
  14. package/lib/commonlisp-bwqNqR5V.js +79 -0
  15. package/lib/core/crepe.d.ts +21 -0
  16. package/lib/core/crepe.d.ts.map +1 -0
  17. package/lib/core/index.d.ts +3 -0
  18. package/lib/core/index.d.ts.map +1 -0
  19. package/lib/core/slice.d.ts +12 -0
  20. package/lib/core/slice.d.ts.map +1 -0
  21. package/lib/crystal-BViWuDpA.js +217 -0
  22. package/lib/css-KHXHXfXg.js +1572 -0
  23. package/lib/cypher-XpTt4zQ3.js +69 -0
  24. package/lib/d-fLig6yqY.js +139 -0
  25. package/lib/diff-WoKGLpy6.js +18 -0
  26. package/lib/dockerfile-u6f6Vw2s.js +194 -0
  27. package/lib/dtd-SIJRUW6K.js +91 -0
  28. package/lib/dylan-4HCLhpWP.js +238 -0
  29. package/lib/ebnf-h_0lged5.js +77 -0
  30. package/lib/ecl-Lf4FF0lf.js +133 -0
  31. package/lib/eiffel-qlw8KUyf.js +112 -0
  32. package/lib/elm-QRnB3zXs.js +108 -0
  33. package/lib/erlang-fyVKb7eK.js +488 -0
  34. package/lib/factor-BEeN4upY.js +65 -0
  35. package/lib/fcl-lRek3hEb.js +106 -0
  36. package/lib/feature/block-edit/handle/component.d.ts +9 -0
  37. package/lib/feature/block-edit/handle/component.d.ts.map +1 -0
  38. package/lib/feature/block-edit/handle/index.d.ts +12 -0
  39. package/lib/feature/block-edit/handle/index.d.ts.map +1 -0
  40. package/lib/feature/block-edit/index.d.ts +3 -0
  41. package/lib/feature/block-edit/index.d.ts.map +1 -0
  42. package/lib/feature/block-edit/menu/component.d.ts +14 -0
  43. package/lib/feature/block-edit/menu/component.d.ts.map +1 -0
  44. package/lib/feature/block-edit/menu/config.d.ts +21 -0
  45. package/lib/feature/block-edit/menu/config.d.ts.map +1 -0
  46. package/lib/feature/block-edit/menu/icons.d.ts +14 -0
  47. package/lib/feature/block-edit/menu/icons.d.ts.map +1 -0
  48. package/lib/feature/block-edit/menu/index.d.ts +9 -0
  49. package/lib/feature/block-edit/menu/index.d.ts.map +1 -0
  50. package/lib/feature/code-mirror/index.d.ts +3 -0
  51. package/lib/feature/code-mirror/index.d.ts.map +1 -0
  52. package/lib/feature/gap-cursor/index.d.ts +3 -0
  53. package/lib/feature/gap-cursor/index.d.ts.map +1 -0
  54. package/lib/feature/image-block/index.d.ts +3 -0
  55. package/lib/feature/image-block/index.d.ts.map +1 -0
  56. package/lib/feature/index.d.ts +18 -0
  57. package/lib/feature/index.d.ts.map +1 -0
  58. package/lib/feature/link-tooltip/consts.d.ts +5 -0
  59. package/lib/feature/link-tooltip/consts.d.ts.map +1 -0
  60. package/lib/feature/link-tooltip/index.d.ts +3 -0
  61. package/lib/feature/link-tooltip/index.d.ts.map +1 -0
  62. package/lib/feature/list-item/consts.d.ts +2 -0
  63. package/lib/feature/list-item/consts.d.ts.map +1 -0
  64. package/lib/feature/list-item/index.d.ts +3 -0
  65. package/lib/feature/list-item/index.d.ts.map +1 -0
  66. package/lib/feature/placeholder/index.d.ts +10 -0
  67. package/lib/feature/placeholder/index.d.ts.map +1 -0
  68. package/lib/feature/shared.d.ts +3 -0
  69. package/lib/feature/shared.d.ts.map +1 -0
  70. package/lib/feature/toolbar/component.d.ts +13 -0
  71. package/lib/feature/toolbar/component.d.ts.map +1 -0
  72. package/lib/feature/toolbar/consts.d.ts +5 -0
  73. package/lib/feature/toolbar/consts.d.ts.map +1 -0
  74. package/lib/feature/toolbar/index.d.ts +3 -0
  75. package/lib/feature/toolbar/index.d.ts.map +1 -0
  76. package/lib/forth-ua2bRd8T.js +60 -0
  77. package/lib/fortran-WnF7znuN.js +443 -0
  78. package/lib/gas-wowve1o7.js +183 -0
  79. package/lib/gherkin-m7GIChu3.js +34 -0
  80. package/lib/go-th443Dhb.js +158 -0
  81. package/lib/groovy-tR4RiZnc.js +161 -0
  82. package/lib/haskell-jxVBofv5.js +375 -0
  83. package/lib/haxe-kWPI2tq3.js +390 -0
  84. package/lib/hooks-82sqkbtE.js +21 -0
  85. package/lib/http-3GIFWUlG.js +45 -0
  86. package/lib/icons-HYkfuR-O.js +50 -0
  87. package/lib/idl-PvpMZg-l.js +947 -0
  88. package/lib/index-0RbcZMbq.js +8 -0
  89. package/lib/index-4afXjFMY.js +517 -0
  90. package/lib/index-7MeyepDG.js +78 -0
  91. package/lib/index-7QgQq3x3.js +551 -0
  92. package/lib/index-7pgP6qYs.js +107 -0
  93. package/lib/index-8DvtgRVa.js +19511 -0
  94. package/lib/index-8Gg-jEP4.js +288 -0
  95. package/lib/index-8S8qcncB.js +507 -0
  96. package/lib/index-9A_GmGh4.js +1039 -0
  97. package/lib/index-EJJfYLzA.js +928 -0
  98. package/lib/index-Eg39w5kL.js +984 -0
  99. package/lib/index-FIk_7oPb.js +168 -0
  100. package/lib/index-LlbrXb_n.js +368 -0
  101. package/lib/index-MovKtgMG.js +121 -0
  102. package/lib/index-N9GtIS4X.js +64 -0
  103. package/lib/index-Pwn25-kf.js +8 -0
  104. package/lib/index-SdFSDosa.js +1295 -0
  105. package/lib/index-W5Th22-Z.js +1744 -0
  106. package/lib/index-XiXSFLmI.js +20975 -0
  107. package/lib/index-bknOViGv.js +47 -0
  108. package/lib/index-bkuIUPFS.js +275 -0
  109. package/lib/index-jPA8J9Eo.js +8 -0
  110. package/lib/index-lsG76a9s.js +552 -0
  111. package/lib/index-oTRzPo3B.js +146 -0
  112. package/lib/index-rrf6_6DC.js +317 -0
  113. package/lib/index-vJbZIHYF.js +81 -0
  114. package/lib/index-vPRh55CO.js +137 -0
  115. package/lib/index-vxy63hib.js +323 -0
  116. package/lib/index-wn1_LgCS.js +99 -0
  117. package/lib/index-xHADmDT3.js +12 -0
  118. package/lib/index-yt2EpMtv.js +141 -0
  119. package/lib/index.d.ts +4 -0
  120. package/lib/index.d.ts.map +1 -0
  121. package/lib/index.es.js +7 -0
  122. package/lib/javascript-8ZHqHagw.js +758 -0
  123. package/lib/jinja2-vsOFe0qD.js +154 -0
  124. package/lib/julia-dlp_pbN1.js +241 -0
  125. package/lib/livescript-Gf5R-LT6.js +273 -0
  126. package/lib/lua-c5Y_JsBp.js +221 -0
  127. package/lib/mathematica-iiGTGmUs.js +35 -0
  128. package/lib/mbox-ZJh86H8B.js +78 -0
  129. package/lib/meta-tAGyVRPE.js +511 -0
  130. package/lib/mirc-i0qkCa0y.js +73 -0
  131. package/lib/mllike-Dy551fZW.js +275 -0
  132. package/lib/modelica-n6tGqUT9.js +94 -0
  133. package/lib/mscgen-aKSbB7D9.js +104 -0
  134. package/lib/mumps-lNiKA6sp.js +25 -0
  135. package/lib/nginx--YmuCfDj.js +93 -0
  136. package/lib/nsis-zhS8iA09.js +62 -0
  137. package/lib/ntriples-E3jQl3MC.js +79 -0
  138. package/lib/octave-EQvkGIeG.js +144 -0
  139. package/lib/oz-W2cpqFf6.js +152 -0
  140. package/lib/pascal-lCh6ouNZ.js +79 -0
  141. package/lib/perl-PxEQBX0B.js +915 -0
  142. package/lib/pig-Y_bNcrzS.js +56 -0
  143. package/lib/powershell-GaQP-TZr.js +249 -0
  144. package/lib/properties-mbRyn54L.js +26 -0
  145. package/lib/prosemirror-noTDkx-k.js +4 -0
  146. package/lib/protobuf-8CJideyJ.js +49 -0
  147. package/lib/puppet-ABBaChNZ.js +45 -0
  148. package/lib/python-sKdHg3Ka.js +321 -0
  149. package/lib/q-_1yG40Nm.js +89 -0
  150. package/lib/r-Ziz56bHT.js +108 -0
  151. package/lib/rpm-ORjGOHaQ.js +57 -0
  152. package/lib/ruby-jlbYq0dT.js +233 -0
  153. package/lib/sas-2n7xeUuO.js +107 -0
  154. package/lib/schema-tKk3m1fu.js +62 -0
  155. package/lib/scheme-XCs-NPeU.js +126 -0
  156. package/lib/shell-0_1Um7Dq.js +184 -0
  157. package/lib/sieve-7uyJD1x1.js +73 -0
  158. package/lib/simple-mode--HIzBxba.js +95 -0
  159. package/lib/smalltalk-PEFzrlQ-.js +48 -0
  160. package/lib/solr-BLBaHahN.js +41 -0
  161. package/lib/sparql-4F9ZWf1b.js +204 -0
  162. package/lib/spreadsheet-SGSo6blj.js +49 -0
  163. package/lib/sql-tebLBzN0.js +291 -0
  164. package/lib/stex-SFJcFGOO.js +130 -0
  165. package/lib/stylus-rwwWYWFm.js +256 -0
  166. package/lib/swift-eorJ0tCv.js +238 -0
  167. package/lib/tcl-IwXMB8U4.js +82 -0
  168. package/lib/textile-ok2VyjwC.js +299 -0
  169. package/lib/theme/classic/index.d.ts +3 -0
  170. package/lib/theme/classic/index.d.ts.map +1 -0
  171. package/lib/theme/classic-dark/index.d.ts +3 -0
  172. package/lib/theme/classic-dark/index.d.ts.map +1 -0
  173. package/lib/theme/headless/index.d.ts +3 -0
  174. package/lib/theme/headless/index.d.ts.map +1 -0
  175. package/lib/theme/index.d.ts +8 -0
  176. package/lib/theme/index.d.ts.map +1 -0
  177. package/lib/theme/shared.d.ts +3 -0
  178. package/lib/theme/shared.d.ts.map +1 -0
  179. package/lib/tiddlywiki-DLhz8_pc.js +156 -0
  180. package/lib/tiki-DFAqFElY.js +183 -0
  181. package/lib/tippy.esm-MZ2vxByW.js +1813 -0
  182. package/lib/toml-ryxpTZEV.js +49 -0
  183. package/lib/tooltip-plugin-gcwyQdiT.js +119 -0
  184. package/lib/troff-ZzZyvNct.js +36 -0
  185. package/lib/ttcn-6gvkqqpW.js +136 -0
  186. package/lib/ttcn-cfg-oSu-Dq5C.js +98 -0
  187. package/lib/turtle-10ofr5au.js +87 -0
  188. package/lib/use-css-light-dom-EKWZDmbJ.js +82 -0
  189. package/lib/utils/index.d.ts +4 -0
  190. package/lib/utils/index.d.ts.map +1 -0
  191. package/lib/vb-a6n6fzrD.js +74 -0
  192. package/lib/vbscript-dgvo8jPt.js +324 -0
  193. package/lib/velocity-CBncCrwO.js +97 -0
  194. package/lib/verilog-KlcACt6C.js +271 -0
  195. package/lib/vhdl-NMd7Gf35.js +117 -0
  196. package/lib/webidl-z1UE5DN_.js +160 -0
  197. package/lib/xquery-hDt5jWTp.js +431 -0
  198. package/lib/yacas-ftgh_qwr.js +74 -0
  199. package/lib/yaml-DnNTfjXK.js +53 -0
  200. package/lib/z80-dA1PqWe1.js +62 -0
  201. package/package.json +87 -0
  202. package/src/core/crepe.ts +98 -0
  203. package/src/core/index.ts +4 -0
  204. package/src/core/slice.ts +44 -0
  205. package/src/feature/block-edit/handle/component.ts +68 -0
  206. package/src/feature/block-edit/handle/index.ts +81 -0
  207. package/src/feature/block-edit/index.ts +17 -0
  208. package/src/feature/block-edit/menu/component.ts +210 -0
  209. package/src/feature/block-edit/menu/config.ts +335 -0
  210. package/src/feature/block-edit/menu/icons.ts +171 -0
  211. package/src/feature/block-edit/menu/index.ts +113 -0
  212. package/src/feature/block-edit/style.css +126 -0
  213. package/src/feature/code-mirror/index.ts +60 -0
  214. package/src/feature/code-mirror/style.css +159 -0
  215. package/src/feature/gap-cursor/index.ts +31 -0
  216. package/src/feature/image-block/index.ts +59 -0
  217. package/src/feature/image-block/style.css +215 -0
  218. package/src/feature/index.ts +66 -0
  219. package/src/feature/link-tooltip/consts.ts +47 -0
  220. package/src/feature/link-tooltip/index.ts +22 -0
  221. package/src/feature/link-tooltip/style.css +107 -0
  222. package/src/feature/list-item/consts.ts +15 -0
  223. package/src/feature/list-item/index.ts +30 -0
  224. package/src/feature/list-item/style.css +23 -0
  225. package/src/feature/placeholder/index.ts +87 -0
  226. package/src/feature/placeholder/style.css +9 -0
  227. package/src/feature/shared.ts +4 -0
  228. package/src/feature/toolbar/component.ts +101 -0
  229. package/src/feature/toolbar/consts.ts +26 -0
  230. package/src/feature/toolbar/index.ts +92 -0
  231. package/src/feature/toolbar/style.css +37 -0
  232. package/src/index.ts +5 -0
  233. package/src/theme/classic/index.ts +12 -0
  234. package/src/theme/classic/style.css +192 -0
  235. package/src/theme/classic-dark/index.ts +12 -0
  236. package/src/theme/classic-dark/style.css +197 -0
  237. package/src/theme/headless/index.ts +9 -0
  238. package/src/theme/index.ts +26 -0
  239. package/src/theme/shared.ts +4 -0
  240. package/src/utils/index.ts +12 -0
  241. package/src/vite-env.d.ts +2 -0
@@ -0,0 +1,758 @@
1
+ function fr(x) {
2
+ var pr = x.statementIndent, ur = x.jsonld, br = x.json || ur, k = x.typescript, U = x.wordCharacters || /[\w$\xa1-\uffff]/, wr = function() {
3
+ function r(y) {
4
+ return { type: y, style: "keyword" };
5
+ }
6
+ var e = r("keyword a"), t = r("keyword b"), f = r("keyword c"), u = r("keyword d"), c = r("operator"), m = { type: "atom", style: "atom" };
7
+ return {
8
+ if: r("if"),
9
+ while: e,
10
+ with: e,
11
+ else: t,
12
+ do: t,
13
+ try: t,
14
+ finally: t,
15
+ return: u,
16
+ break: u,
17
+ continue: u,
18
+ new: r("new"),
19
+ delete: f,
20
+ void: f,
21
+ throw: f,
22
+ debugger: r("debugger"),
23
+ var: r("var"),
24
+ const: r("var"),
25
+ let: r("var"),
26
+ function: r("function"),
27
+ catch: r("catch"),
28
+ for: r("for"),
29
+ switch: r("switch"),
30
+ case: r("case"),
31
+ default: r("default"),
32
+ in: c,
33
+ typeof: c,
34
+ instanceof: c,
35
+ true: m,
36
+ false: m,
37
+ null: m,
38
+ undefined: m,
39
+ NaN: m,
40
+ Infinity: m,
41
+ this: r("this"),
42
+ class: r("class"),
43
+ super: r("atom"),
44
+ yield: f,
45
+ export: r("export"),
46
+ import: r("import"),
47
+ extends: f,
48
+ await: f
49
+ };
50
+ }(), hr = /[+\-*&%=<>!?|~^@]/, Or = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;
51
+ function qr(r) {
52
+ for (var e = !1, t, f = !1; (t = r.next()) != null; ) {
53
+ if (!e) {
54
+ if (t == "/" && !f)
55
+ return;
56
+ t == "[" ? f = !0 : f && t == "]" && (f = !1);
57
+ }
58
+ e = !e && t == "\\";
59
+ }
60
+ }
61
+ var D, G;
62
+ function b(r, e, t) {
63
+ return D = r, G = t, e;
64
+ }
65
+ function S(r, e) {
66
+ var t = r.next();
67
+ if (t == '"' || t == "'")
68
+ return e.tokenize = Nr(t), e.tokenize(r, e);
69
+ if (t == "." && r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))
70
+ return b("number", "number");
71
+ if (t == "." && r.match(".."))
72
+ return b("spread", "meta");
73
+ if (/[\[\]{}\(\),;\:\.]/.test(t))
74
+ return b(t);
75
+ if (t == "=" && r.eat(">"))
76
+ return b("=>", "operator");
77
+ if (t == "0" && r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))
78
+ return b("number", "number");
79
+ if (/\d/.test(t))
80
+ return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/), b("number", "number");
81
+ if (t == "/")
82
+ return r.eat("*") ? (e.tokenize = H, H(r, e)) : r.eat("/") ? (r.skipToEnd(), b("comment", "comment")) : ce(r, e, 1) ? (qr(r), r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/), b("regexp", "string.special")) : (r.eat("="), b("operator", "operator", r.current()));
83
+ if (t == "`")
84
+ return e.tokenize = L, L(r, e);
85
+ if (t == "#" && r.peek() == "!")
86
+ return r.skipToEnd(), b("meta", "meta");
87
+ if (t == "#" && r.eatWhile(U))
88
+ return b("variable", "property");
89
+ if (t == "<" && r.match("!--") || t == "-" && r.match("->") && !/\S/.test(r.string.slice(0, r.start)))
90
+ return r.skipToEnd(), b("comment", "comment");
91
+ if (hr.test(t))
92
+ return (t != ">" || !e.lexical || e.lexical.type != ">") && (r.eat("=") ? (t == "!" || t == "=") && r.eat("=") : /[<>*+\-|&?]/.test(t) && (r.eat(t), t == ">" && r.eat(t))), t == "?" && r.eat(".") ? b(".") : b("operator", "operator", r.current());
93
+ if (U.test(t)) {
94
+ r.eatWhile(U);
95
+ var f = r.current();
96
+ if (e.lastType != ".") {
97
+ if (wr.propertyIsEnumerable(f)) {
98
+ var u = wr[f];
99
+ return b(u.type, u.style, f);
100
+ }
101
+ if (f == "async" && r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, !1))
102
+ return b("async", "keyword", f);
103
+ }
104
+ return b("variable", "variable", f);
105
+ }
106
+ }
107
+ function Nr(r) {
108
+ return function(e, t) {
109
+ var f = !1, u;
110
+ if (ur && e.peek() == "@" && e.match(Or))
111
+ return t.tokenize = S, b("jsonld-keyword", "meta");
112
+ for (; (u = e.next()) != null && !(u == r && !f); )
113
+ f = !f && u == "\\";
114
+ return f || (t.tokenize = S), b("string", "string");
115
+ };
116
+ }
117
+ function H(r, e) {
118
+ for (var t = !1, f; f = r.next(); ) {
119
+ if (f == "/" && t) {
120
+ e.tokenize = S;
121
+ break;
122
+ }
123
+ t = f == "*";
124
+ }
125
+ return b("comment", "comment");
126
+ }
127
+ function L(r, e) {
128
+ for (var t = !1, f; (f = r.next()) != null; ) {
129
+ if (!t && (f == "`" || f == "$" && r.eat("{"))) {
130
+ e.tokenize = S;
131
+ break;
132
+ }
133
+ t = !t && f == "\\";
134
+ }
135
+ return b("quasi", "string.special", r.current());
136
+ }
137
+ var Br = "([{}])";
138
+ function ar(r, e) {
139
+ e.fatArrowAt && (e.fatArrowAt = null);
140
+ var t = r.string.indexOf("=>", r.start);
141
+ if (!(t < 0)) {
142
+ if (k) {
143
+ var f = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start, t));
144
+ f && (t = f.index);
145
+ }
146
+ for (var u = 0, c = !1, m = t - 1; m >= 0; --m) {
147
+ var y = r.string.charAt(m), v = Br.indexOf(y);
148
+ if (v >= 0 && v < 3) {
149
+ if (!u) {
150
+ ++m;
151
+ break;
152
+ }
153
+ if (--u == 0) {
154
+ y == "(" && (c = !0);
155
+ break;
156
+ }
157
+ } else if (v >= 3 && v < 6)
158
+ ++u;
159
+ else if (U.test(y))
160
+ c = !0;
161
+ else if (/["'\/`]/.test(y))
162
+ for (; ; --m) {
163
+ if (m == 0)
164
+ return;
165
+ var K = r.string.charAt(m - 1);
166
+ if (K == y && r.string.charAt(m - 2) != "\\") {
167
+ m--;
168
+ break;
169
+ }
170
+ }
171
+ else if (c && !u) {
172
+ ++m;
173
+ break;
174
+ }
175
+ }
176
+ c && !u && (e.fatArrowAt = m);
177
+ }
178
+ }
179
+ var Fr = {
180
+ atom: !0,
181
+ number: !0,
182
+ variable: !0,
183
+ string: !0,
184
+ regexp: !0,
185
+ this: !0,
186
+ import: !0,
187
+ "jsonld-keyword": !0
188
+ };
189
+ function xr(r, e, t, f, u, c) {
190
+ this.indented = r, this.column = e, this.type = t, this.prev = u, this.info = c, f != null && (this.align = f);
191
+ }
192
+ function Jr(r, e) {
193
+ for (var t = r.localVars; t; t = t.next)
194
+ if (t.name == e)
195
+ return !0;
196
+ for (var f = r.context; f; f = f.prev)
197
+ for (var t = f.vars; t; t = t.next)
198
+ if (t.name == e)
199
+ return !0;
200
+ }
201
+ function Mr(r, e, t, f, u) {
202
+ var c = r.cc;
203
+ for (i.state = r, i.stream = u, i.marked = null, i.cc = c, i.style = e, r.lexical.hasOwnProperty("align") || (r.lexical.align = !0); ; ) {
204
+ var m = c.length ? c.pop() : br ? p : w;
205
+ if (m(t, f)) {
206
+ for (; c.length && c[c.length - 1].lex; )
207
+ c.pop()();
208
+ return i.marked ? i.marked : t == "variable" && Jr(r, f) ? "variableName.local" : e;
209
+ }
210
+ }
211
+ }
212
+ var i = { state: null, column: null, marked: null, cc: null };
213
+ function o() {
214
+ for (var r = arguments.length - 1; r >= 0; r--)
215
+ i.cc.push(arguments[r]);
216
+ }
217
+ function n() {
218
+ return o.apply(null, arguments), !0;
219
+ }
220
+ function or(r, e) {
221
+ for (var t = e; t; t = t.next)
222
+ if (t.name == r)
223
+ return !0;
224
+ return !1;
225
+ }
226
+ function q(r) {
227
+ var e = i.state;
228
+ if (i.marked = "def", e.context) {
229
+ if (e.lexical.info == "var" && e.context && e.context.block) {
230
+ var t = gr(r, e.context);
231
+ if (t != null) {
232
+ e.context = t;
233
+ return;
234
+ }
235
+ } else if (!or(r, e.localVars)) {
236
+ e.localVars = new Q(r, e.localVars);
237
+ return;
238
+ }
239
+ }
240
+ x.globalVars && !or(r, e.globalVars) && (e.globalVars = new Q(r, e.globalVars));
241
+ }
242
+ function gr(r, e) {
243
+ if (e)
244
+ if (e.block) {
245
+ var t = gr(r, e.prev);
246
+ return t ? t == e.prev ? e : new P(t, e.vars, !0) : null;
247
+ } else
248
+ return or(r, e.vars) ? e : new P(e.prev, new Q(r, e.vars), !1);
249
+ else
250
+ return null;
251
+ }
252
+ function X(r) {
253
+ return r == "public" || r == "private" || r == "protected" || r == "abstract" || r == "readonly";
254
+ }
255
+ function P(r, e, t) {
256
+ this.prev = r, this.vars = e, this.block = t;
257
+ }
258
+ function Q(r, e) {
259
+ this.name = r, this.next = e;
260
+ }
261
+ var Dr = new Q("this", new Q("arguments", null));
262
+ function E() {
263
+ i.state.context = new P(i.state.context, i.state.localVars, !1), i.state.localVars = Dr;
264
+ }
265
+ function Y() {
266
+ i.state.context = new P(i.state.context, i.state.localVars, !0), i.state.localVars = null;
267
+ }
268
+ E.lex = Y.lex = !0;
269
+ function T() {
270
+ i.state.localVars = i.state.context.vars, i.state.context = i.state.context.prev;
271
+ }
272
+ T.lex = !0;
273
+ function s(r, e) {
274
+ var t = function() {
275
+ var f = i.state, u = f.indented;
276
+ if (f.lexical.type == "stat")
277
+ u = f.lexical.indented;
278
+ else
279
+ for (var c = f.lexical; c && c.type == ")" && c.align; c = c.prev)
280
+ u = c.indented;
281
+ f.lexical = new xr(u, i.stream.column(), r, null, f.lexical, e);
282
+ };
283
+ return t.lex = !0, t;
284
+ }
285
+ function a() {
286
+ var r = i.state;
287
+ r.lexical.prev && (r.lexical.type == ")" && (r.indented = r.lexical.indented), r.lexical = r.lexical.prev);
288
+ }
289
+ a.lex = !0;
290
+ function l(r) {
291
+ function e(t) {
292
+ return t == r ? n() : r == ";" || t == "}" || t == ")" || t == "]" ? o() : n(e);
293
+ }
294
+ return e;
295
+ }
296
+ function w(r, e) {
297
+ return r == "var" ? n(s("vardef", e), mr, l(";"), a) : r == "keyword a" ? n(s("form"), sr, w, a) : r == "keyword b" ? n(s("form"), w, a) : r == "keyword d" ? i.stream.match(/^\s*$/, !1) ? n() : n(s("stat"), N, l(";"), a) : r == "debugger" ? n(l(";")) : r == "{" ? n(s("}"), Y, rr, a, T) : r == ";" ? n() : r == "if" ? (i.state.lexical.info == "else" && i.state.cc[i.state.cc.length - 1] == a && i.state.cc.pop()(), n(s("form"), sr, w, a, jr)) : r == "function" ? n(_) : r == "for" ? n(s("form"), Y, zr, w, T, a) : r == "class" || k && e == "interface" ? (i.marked = "keyword", n(s("form", r == "class" ? r : e), Sr, a)) : r == "variable" ? k && e == "declare" ? (i.marked = "keyword", n(w)) : k && (e == "module" || e == "enum" || e == "type") && i.stream.match(/^\s*\w/, !1) ? (i.marked = "keyword", e == "enum" ? n($r) : e == "type" ? n(_r, l("operator"), d, l(";")) : n(s("form"), V, l("{"), s("}"), rr, a, a)) : k && e == "namespace" ? (i.marked = "keyword", n(s("form"), p, w, a)) : k && e == "abstract" ? (i.marked = "keyword", n(w)) : n(s("stat"), Kr) : r == "switch" ? n(
298
+ s("form"),
299
+ sr,
300
+ l("{"),
301
+ s("}", "switch"),
302
+ Y,
303
+ rr,
304
+ a,
305
+ a,
306
+ T
307
+ ) : r == "case" ? n(p, l(":")) : r == "default" ? n(l(":")) : r == "catch" ? n(s("form"), E, Lr, w, a, T) : r == "export" ? n(s("stat"), fe, a) : r == "import" ? n(s("stat"), ue, a) : r == "async" ? n(w) : e == "@" ? n(p, w) : o(s("stat"), p, l(";"), a);
308
+ }
309
+ function Lr(r) {
310
+ if (r == "(")
311
+ return n(O, l(")"));
312
+ }
313
+ function p(r, e) {
314
+ return yr(r, e, !1);
315
+ }
316
+ function g(r, e) {
317
+ return yr(r, e, !0);
318
+ }
319
+ function sr(r) {
320
+ return r != "(" ? o() : n(s(")"), N, l(")"), a);
321
+ }
322
+ function yr(r, e, t) {
323
+ if (i.state.fatArrowAt == i.stream.start) {
324
+ var f = t ? Tr : vr;
325
+ if (r == "(")
326
+ return n(E, s(")"), h(O, ")"), a, l("=>"), f, T);
327
+ if (r == "variable")
328
+ return o(E, V, l("=>"), f, T);
329
+ }
330
+ var u = t ? B : I;
331
+ return Fr.hasOwnProperty(r) ? n(u) : r == "function" ? n(_, u) : r == "class" || k && e == "interface" ? (i.marked = "keyword", n(s("form"), ie, a)) : r == "keyword c" || r == "async" ? n(t ? g : p) : r == "(" ? n(s(")"), N, l(")"), a, u) : r == "operator" || r == "spread" ? n(t ? g : p) : r == "[" ? n(s("]"), oe, a, u) : r == "{" ? R(C, "}", null, u) : r == "quasi" ? o(Z, u) : r == "new" ? n(Qr(t)) : n();
332
+ }
333
+ function N(r) {
334
+ return r.match(/[;\}\)\],]/) ? o() : o(p);
335
+ }
336
+ function I(r, e) {
337
+ return r == "," ? n(N) : B(r, e, !1);
338
+ }
339
+ function B(r, e, t) {
340
+ var f = t == !1 ? I : B, u = t == !1 ? p : g;
341
+ if (r == "=>")
342
+ return n(E, t ? Tr : vr, T);
343
+ if (r == "operator")
344
+ return /\+\+|--/.test(e) || k && e == "!" ? n(f) : k && e == "<" && i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, !1) ? n(s(">"), h(d, ">"), a, f) : e == "?" ? n(p, l(":"), u) : n(u);
345
+ if (r == "quasi")
346
+ return o(Z, f);
347
+ if (r != ";") {
348
+ if (r == "(")
349
+ return R(g, ")", "call", f);
350
+ if (r == ".")
351
+ return n(Ur, f);
352
+ if (r == "[")
353
+ return n(s("]"), N, l("]"), a, f);
354
+ if (k && e == "as")
355
+ return i.marked = "keyword", n(d, f);
356
+ if (r == "regexp")
357
+ return i.state.lastType = i.marked = "operator", i.stream.backUp(i.stream.pos - i.stream.start - 1), n(u);
358
+ }
359
+ }
360
+ function Z(r, e) {
361
+ return r != "quasi" ? o() : e.slice(e.length - 2) != "${" ? n(Z) : n(N, Pr);
362
+ }
363
+ function Pr(r) {
364
+ if (r == "}")
365
+ return i.marked = "string.special", i.state.tokenize = L, n(Z);
366
+ }
367
+ function vr(r) {
368
+ return ar(i.stream, i.state), o(r == "{" ? w : p);
369
+ }
370
+ function Tr(r) {
371
+ return ar(i.stream, i.state), o(r == "{" ? w : g);
372
+ }
373
+ function Qr(r) {
374
+ return function(e) {
375
+ return e == "." ? n(r ? Wr : Rr) : e == "variable" && k ? n(Cr, r ? B : I) : o(r ? g : p);
376
+ };
377
+ }
378
+ function Rr(r, e) {
379
+ if (e == "target")
380
+ return i.marked = "keyword", n(I);
381
+ }
382
+ function Wr(r, e) {
383
+ if (e == "target")
384
+ return i.marked = "keyword", n(B);
385
+ }
386
+ function Kr(r) {
387
+ return r == ":" ? n(a, w) : o(I, l(";"), a);
388
+ }
389
+ function Ur(r) {
390
+ if (r == "variable")
391
+ return i.marked = "property", n();
392
+ }
393
+ function C(r, e) {
394
+ if (r == "async")
395
+ return i.marked = "property", n(C);
396
+ if (r == "variable" || i.style == "keyword") {
397
+ if (i.marked = "property", e == "get" || e == "set")
398
+ return n(Gr);
399
+ var t;
400
+ return k && i.state.fatArrowAt == i.stream.start && (t = i.stream.match(/^\s*:\s*/, !1)) && (i.state.fatArrowAt = i.stream.pos + t[0].length), n($);
401
+ } else {
402
+ if (r == "number" || r == "string")
403
+ return i.marked = ur ? "property" : i.style + " property", n($);
404
+ if (r == "jsonld-keyword")
405
+ return n($);
406
+ if (k && X(e))
407
+ return i.marked = "keyword", n(C);
408
+ if (r == "[")
409
+ return n(p, F, l("]"), $);
410
+ if (r == "spread")
411
+ return n(g, $);
412
+ if (e == "*")
413
+ return i.marked = "keyword", n(C);
414
+ if (r == ":")
415
+ return o($);
416
+ }
417
+ }
418
+ function Gr(r) {
419
+ return r != "variable" ? o($) : (i.marked = "property", n(_));
420
+ }
421
+ function $(r) {
422
+ if (r == ":")
423
+ return n(g);
424
+ if (r == "(")
425
+ return o(_);
426
+ }
427
+ function h(r, e, t) {
428
+ function f(u, c) {
429
+ if (t ? t.indexOf(u) > -1 : u == ",") {
430
+ var m = i.state.lexical;
431
+ return m.info == "call" && (m.pos = (m.pos || 0) + 1), n(function(y, v) {
432
+ return y == e || v == e ? o() : o(r);
433
+ }, f);
434
+ }
435
+ return u == e || c == e ? n() : t && t.indexOf(";") > -1 ? o(r) : n(l(e));
436
+ }
437
+ return function(u, c) {
438
+ return u == e || c == e ? n() : o(r, f);
439
+ };
440
+ }
441
+ function R(r, e, t) {
442
+ for (var f = 3; f < arguments.length; f++)
443
+ i.cc.push(arguments[f]);
444
+ return n(s(e, t), h(r, e), a);
445
+ }
446
+ function rr(r) {
447
+ return r == "}" ? n() : o(w, rr);
448
+ }
449
+ function F(r, e) {
450
+ if (k) {
451
+ if (r == ":")
452
+ return n(d);
453
+ if (e == "?")
454
+ return n(F);
455
+ }
456
+ }
457
+ function Hr(r, e) {
458
+ if (k && (r == ":" || e == "in"))
459
+ return n(d);
460
+ }
461
+ function Vr(r) {
462
+ if (k && r == ":")
463
+ return i.stream.match(/^\s*\w+\s+is\b/, !1) ? n(p, Xr, d) : n(d);
464
+ }
465
+ function Xr(r, e) {
466
+ if (e == "is")
467
+ return i.marked = "keyword", n();
468
+ }
469
+ function d(r, e) {
470
+ if (e == "keyof" || e == "typeof" || e == "infer" || e == "readonly")
471
+ return i.marked = "keyword", n(e == "typeof" ? g : d);
472
+ if (r == "variable" || e == "void")
473
+ return i.marked = "type", n(A);
474
+ if (e == "|" || e == "&")
475
+ return n(d);
476
+ if (r == "string" || r == "number" || r == "atom")
477
+ return n(A);
478
+ if (r == "[")
479
+ return n(s("]"), h(d, "]", ","), a, A);
480
+ if (r == "{")
481
+ return n(s("}"), lr, a, A);
482
+ if (r == "(")
483
+ return n(h(dr, ")"), Yr, A);
484
+ if (r == "<")
485
+ return n(h(d, ">"), d);
486
+ if (r == "quasi")
487
+ return o(cr, A);
488
+ }
489
+ function Yr(r) {
490
+ if (r == "=>")
491
+ return n(d);
492
+ }
493
+ function lr(r) {
494
+ return r.match(/[\}\)\]]/) ? n() : r == "," || r == ";" ? n(lr) : o(W, lr);
495
+ }
496
+ function W(r, e) {
497
+ if (r == "variable" || i.style == "keyword")
498
+ return i.marked = "property", n(W);
499
+ if (e == "?" || r == "number" || r == "string")
500
+ return n(W);
501
+ if (r == ":")
502
+ return n(d);
503
+ if (r == "[")
504
+ return n(l("variable"), Hr, l("]"), W);
505
+ if (r == "(")
506
+ return o(M, W);
507
+ if (!r.match(/[;\}\)\],]/))
508
+ return n();
509
+ }
510
+ function cr(r, e) {
511
+ return r != "quasi" ? o() : e.slice(e.length - 2) != "${" ? n(cr) : n(d, Zr);
512
+ }
513
+ function Zr(r) {
514
+ if (r == "}")
515
+ return i.marked = "string.special", i.state.tokenize = L, n(cr);
516
+ }
517
+ function dr(r, e) {
518
+ return r == "variable" && i.stream.match(/^\s*[?:]/, !1) || e == "?" ? n(dr) : r == ":" ? n(d) : r == "spread" ? n(dr) : o(d);
519
+ }
520
+ function A(r, e) {
521
+ if (e == "<")
522
+ return n(s(">"), h(d, ">"), a, A);
523
+ if (e == "|" || r == "." || e == "&")
524
+ return n(d);
525
+ if (r == "[")
526
+ return n(d, l("]"), A);
527
+ if (e == "extends" || e == "implements")
528
+ return i.marked = "keyword", n(d);
529
+ if (e == "?")
530
+ return n(d, l(":"), d);
531
+ }
532
+ function Cr(r, e) {
533
+ if (e == "<")
534
+ return n(s(">"), h(d, ">"), a, A);
535
+ }
536
+ function er() {
537
+ return o(d, re);
538
+ }
539
+ function re(r, e) {
540
+ if (e == "=")
541
+ return n(d);
542
+ }
543
+ function mr(r, e) {
544
+ return e == "enum" ? (i.marked = "keyword", n($r)) : o(V, F, z, ne);
545
+ }
546
+ function V(r, e) {
547
+ if (k && X(e))
548
+ return i.marked = "keyword", n(V);
549
+ if (r == "variable")
550
+ return q(e), n();
551
+ if (r == "spread")
552
+ return n(V);
553
+ if (r == "[")
554
+ return R(ee, "]");
555
+ if (r == "{")
556
+ return R(Ar, "}");
557
+ }
558
+ function Ar(r, e) {
559
+ return r == "variable" && !i.stream.match(/^\s*:/, !1) ? (q(e), n(z)) : (r == "variable" && (i.marked = "property"), r == "spread" ? n(V) : r == "}" ? o() : r == "[" ? n(p, l("]"), l(":"), Ar) : n(l(":"), V, z));
560
+ }
561
+ function ee() {
562
+ return o(V, z);
563
+ }
564
+ function z(r, e) {
565
+ if (e == "=")
566
+ return n(g);
567
+ }
568
+ function ne(r) {
569
+ if (r == ",")
570
+ return n(mr);
571
+ }
572
+ function jr(r, e) {
573
+ if (r == "keyword b" && e == "else")
574
+ return n(s("form", "else"), w, a);
575
+ }
576
+ function zr(r, e) {
577
+ if (e == "await")
578
+ return n(zr);
579
+ if (r == "(")
580
+ return n(s(")"), te, a);
581
+ }
582
+ function te(r) {
583
+ return r == "var" ? n(mr, J) : r == "variable" ? n(J) : o(J);
584
+ }
585
+ function J(r, e) {
586
+ return r == ")" ? n() : r == ";" ? n(J) : e == "in" || e == "of" ? (i.marked = "keyword", n(p, J)) : o(p, J);
587
+ }
588
+ function _(r, e) {
589
+ if (e == "*")
590
+ return i.marked = "keyword", n(_);
591
+ if (r == "variable")
592
+ return q(e), n(_);
593
+ if (r == "(")
594
+ return n(E, s(")"), h(O, ")"), a, Vr, w, T);
595
+ if (k && e == "<")
596
+ return n(s(">"), h(er, ">"), a, _);
597
+ }
598
+ function M(r, e) {
599
+ if (e == "*")
600
+ return i.marked = "keyword", n(M);
601
+ if (r == "variable")
602
+ return q(e), n(M);
603
+ if (r == "(")
604
+ return n(E, s(")"), h(O, ")"), a, Vr, T);
605
+ if (k && e == "<")
606
+ return n(s(">"), h(er, ">"), a, M);
607
+ }
608
+ function _r(r, e) {
609
+ if (r == "keyword" || r == "variable")
610
+ return i.marked = "type", n(_r);
611
+ if (e == "<")
612
+ return n(s(">"), h(er, ">"), a);
613
+ }
614
+ function O(r, e) {
615
+ return e == "@" && n(p, O), r == "spread" ? n(O) : k && X(e) ? (i.marked = "keyword", n(O)) : k && r == "this" ? n(F, z) : o(V, F, z);
616
+ }
617
+ function ie(r, e) {
618
+ return r == "variable" ? Sr(r, e) : nr(r, e);
619
+ }
620
+ function Sr(r, e) {
621
+ if (r == "variable")
622
+ return q(e), n(nr);
623
+ }
624
+ function nr(r, e) {
625
+ if (e == "<")
626
+ return n(s(">"), h(er, ">"), a, nr);
627
+ if (e == "extends" || e == "implements" || k && r == ",")
628
+ return e == "implements" && (i.marked = "keyword"), n(k ? d : p, nr);
629
+ if (r == "{")
630
+ return n(s("}"), j, a);
631
+ }
632
+ function j(r, e) {
633
+ if (r == "async" || r == "variable" && (e == "static" || e == "get" || e == "set" || k && X(e)) && i.stream.match(/^\s+#?[\w$\xa1-\uffff]/, !1))
634
+ return i.marked = "keyword", n(j);
635
+ if (r == "variable" || i.style == "keyword")
636
+ return i.marked = "property", n(tr, j);
637
+ if (r == "number" || r == "string")
638
+ return n(tr, j);
639
+ if (r == "[")
640
+ return n(p, F, l("]"), tr, j);
641
+ if (e == "*")
642
+ return i.marked = "keyword", n(j);
643
+ if (k && r == "(")
644
+ return o(M, j);
645
+ if (r == ";" || r == ",")
646
+ return n(j);
647
+ if (r == "}")
648
+ return n();
649
+ if (e == "@")
650
+ return n(p, j);
651
+ }
652
+ function tr(r, e) {
653
+ if (e == "!" || e == "?")
654
+ return n(tr);
655
+ if (r == ":")
656
+ return n(d, z);
657
+ if (e == "=")
658
+ return n(g);
659
+ var t = i.state.lexical.prev, f = t && t.info == "interface";
660
+ return o(f ? M : _);
661
+ }
662
+ function fe(r, e) {
663
+ return e == "*" ? (i.marked = "keyword", n(kr, l(";"))) : e == "default" ? (i.marked = "keyword", n(p, l(";"))) : r == "{" ? n(h(Er, "}"), kr, l(";")) : o(w);
664
+ }
665
+ function Er(r, e) {
666
+ if (e == "as")
667
+ return i.marked = "keyword", n(l("variable"));
668
+ if (r == "variable")
669
+ return o(g, Er);
670
+ }
671
+ function ue(r) {
672
+ return r == "string" ? n() : r == "(" ? o(p) : r == "." ? o(I) : o(ir, Ir, kr);
673
+ }
674
+ function ir(r, e) {
675
+ return r == "{" ? R(ir, "}") : (r == "variable" && q(e), e == "*" && (i.marked = "keyword"), n(ae));
676
+ }
677
+ function Ir(r) {
678
+ if (r == ",")
679
+ return n(ir, Ir);
680
+ }
681
+ function ae(r, e) {
682
+ if (e == "as")
683
+ return i.marked = "keyword", n(ir);
684
+ }
685
+ function kr(r, e) {
686
+ if (e == "from")
687
+ return i.marked = "keyword", n(p);
688
+ }
689
+ function oe(r) {
690
+ return r == "]" ? n() : o(h(g, "]"));
691
+ }
692
+ function $r() {
693
+ return o(s("form"), V, l("{"), s("}"), h(se, "}"), a, a);
694
+ }
695
+ function se() {
696
+ return o(V, z);
697
+ }
698
+ function le(r, e) {
699
+ return r.lastType == "operator" || r.lastType == "," || hr.test(e.charAt(0)) || /[,.]/.test(e.charAt(0));
700
+ }
701
+ function ce(r, e, t) {
702
+ return e.tokenize == S && /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType) || e.lastType == "quasi" && /\{\s*$/.test(r.string.slice(0, r.pos - (t || 0)));
703
+ }
704
+ return {
705
+ name: x.name,
706
+ startState: function(r) {
707
+ var e = {
708
+ tokenize: S,
709
+ lastType: "sof",
710
+ cc: [],
711
+ lexical: new xr(-r, 0, "block", !1),
712
+ localVars: x.localVars,
713
+ context: x.localVars && new P(null, null, !1),
714
+ indented: 0
715
+ };
716
+ return x.globalVars && typeof x.globalVars == "object" && (e.globalVars = x.globalVars), e;
717
+ },
718
+ token: function(r, e) {
719
+ if (r.sol() && (e.lexical.hasOwnProperty("align") || (e.lexical.align = !1), e.indented = r.indentation(), ar(r, e)), e.tokenize != H && r.eatSpace())
720
+ return null;
721
+ var t = e.tokenize(r, e);
722
+ return D == "comment" ? t : (e.lastType = D == "operator" && (G == "++" || G == "--") ? "incdec" : D, Mr(e, t, D, G, r));
723
+ },
724
+ indent: function(r, e, t) {
725
+ if (r.tokenize == H || r.tokenize == L)
726
+ return null;
727
+ if (r.tokenize != S)
728
+ return 0;
729
+ var f = e && e.charAt(0), u = r.lexical, c;
730
+ if (!/^\s*else\b/.test(e))
731
+ for (var m = r.cc.length - 1; m >= 0; --m) {
732
+ var y = r.cc[m];
733
+ if (y == a)
734
+ u = u.prev;
735
+ else if (y != jr && y != T)
736
+ break;
737
+ }
738
+ for (; (u.type == "stat" || u.type == "form") && (f == "}" || (c = r.cc[r.cc.length - 1]) && (c == I || c == B) && !/^[,\.=+\-*:?[\(]/.test(e)); )
739
+ u = u.prev;
740
+ pr && u.type == ")" && u.prev.type == "stat" && (u = u.prev);
741
+ var v = u.type, K = f == v;
742
+ return v == "vardef" ? u.indented + (r.lastType == "operator" || r.lastType == "," ? u.info.length + 1 : 0) : v == "form" && f == "{" ? u.indented : v == "form" ? u.indented + t.unit : v == "stat" ? u.indented + (le(r, e) ? pr || t.unit : 0) : u.info == "switch" && !K && x.doubleIndentSwitch != !1 ? u.indented + (/^(?:case|default)\b/.test(e) ? t.unit : 2 * t.unit) : u.align ? u.column + (K ? 0 : 1) : u.indented + (K ? 0 : t.unit);
743
+ },
744
+ languageData: {
745
+ indentOnInput: /^\s*(?:case .*?:|default:|\{|\})$/,
746
+ commentTokens: br ? void 0 : { line: "//", block: { open: "/*", close: "*/" } },
747
+ closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] },
748
+ wordChars: "$"
749
+ }
750
+ };
751
+ }
752
+ const de = fr({ name: "javascript" }), me = fr({ name: "json", json: !0 }), ke = fr({ name: "json", jsonld: !0 }), pe = fr({ name: "typescript", typescript: !0 });
753
+ export {
754
+ de as javascript,
755
+ me as json,
756
+ ke as jsonld,
757
+ pe as typescript
758
+ };