@devtron-labs/devtron-fe-common-lib 1.1.6-beta-2 → 1.1.6-beta-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 (103) hide show
  1. package/dist/abap-DttVK1gE.js +1314 -0
  2. package/dist/apex-BjfHvyb2.js +315 -0
  3. package/dist/assets/index.css +1 -0
  4. package/dist/azcli-Ws-Trf8e.js +74 -0
  5. package/dist/bat-CeCHpU9_.js +95 -0
  6. package/dist/bicep-C7a7aEmi.js +108 -0
  7. package/dist/cameligo-CJeEIvX4.js +168 -0
  8. package/dist/clojure-CEKXhLdU.js +754 -0
  9. package/dist/coffee-CKu3e6V1.js +228 -0
  10. package/dist/cpp-CvUiT5Ec.js +390 -0
  11. package/dist/csharp-PmU9HJkB.js +320 -0
  12. package/dist/csp-DULvRLPF.js +57 -0
  13. package/dist/css-CNWXQPpt.js +186 -0
  14. package/dist/cssMode-LuGmMkrz.js +1446 -0
  15. package/dist/cypher-CYHOQS2R.js +262 -0
  16. package/dist/dart-BjGx-9Jk.js +270 -0
  17. package/dist/dockerfile-D0WaVIZ2.js +132 -0
  18. package/dist/ecl-CijaJu-p.js +454 -0
  19. package/dist/elixir-BI5Tc37S.js +489 -0
  20. package/dist/flow9-BApGtQOO.js +141 -0
  21. package/dist/freemarker2-x4RlP1Lb.js +643 -0
  22. package/dist/fsharp-VeKgt2eG.js +210 -0
  23. package/dist/go-Cl8cKDlN.js +208 -0
  24. package/dist/graphql-PfgPBmj4.js +141 -0
  25. package/dist/handlebars-CmzmbrC4.js +391 -0
  26. package/dist/hcl-CG4VZSkm.js +177 -0
  27. package/dist/html-C5BGMOju.js +281 -0
  28. package/dist/htmlMode-ojR1UPbw.js +1456 -0
  29. package/dist/index-D-Wm7m6U.js +163399 -0
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.js +429 -430
  32. package/dist/ini-EhiBNPZF.js +68 -0
  33. package/dist/java-DPbnXhoY.js +221 -0
  34. package/dist/javascript-B1bShWIo.js +75 -0
  35. package/dist/jsonMode-COdOy9-_.js +1866 -0
  36. package/dist/julia-Bw7EYexg.js +496 -0
  37. package/dist/kotlin-BNXLDoV0.js +245 -0
  38. package/dist/less-DtuF_id_.js +168 -0
  39. package/dist/lexon-DpB0-37O.js +151 -0
  40. package/dist/liquid-BjXJHFpF.js +238 -0
  41. package/dist/lua-CzRNOk9S.js +157 -0
  42. package/dist/m3-pXPmDwal.js +210 -0
  43. package/dist/markdown-CeQ3rxjn.js +202 -0
  44. package/dist/mdx-XJRNLcdB.js +171 -0
  45. package/dist/mips-DyE0VSNz.js +194 -0
  46. package/dist/msdax-CbdkoqRa.js +377 -0
  47. package/dist/mysql-B86-uHNu.js +876 -0
  48. package/dist/objective-c-1xvkKPId.js +188 -0
  49. package/dist/pascal-DcyFhj80.js +245 -0
  50. package/dist/pascaligo-QnM0hvMG.js +158 -0
  51. package/dist/perl-Bqp3FbU4.js +599 -0
  52. package/dist/pgsql-HdG7BG_Z.js +847 -0
  53. package/dist/php-zf7L2p7t.js +471 -0
  54. package/dist/pla-3Ykqsyzl.js +131 -0
  55. package/dist/postiats-D1v08O4B.js +544 -0
  56. package/dist/powerquery-CiQ9b1-b.js +890 -0
  57. package/dist/powershell-DFNK6VaX.js +233 -0
  58. package/dist/protobuf-D5P2Z6tc.js +422 -0
  59. package/dist/pug-BeyMX5am.js +393 -0
  60. package/dist/python-CEuHuu7a.js +259 -0
  61. package/dist/qsharp-DcFOTjuP.js +282 -0
  62. package/dist/r-B3aJPcWp.js +245 -0
  63. package/dist/razor-ByG7kYAl.js +512 -0
  64. package/dist/redis-CyC__Tub.js +298 -0
  65. package/dist/redshift-NqbcQPcY.js +806 -0
  66. package/dist/restructuredtext-CZMxBkap.js +162 -0
  67. package/dist/ruby-C_jEtDv5.js +444 -0
  68. package/dist/rust-WAeitMCC.js +337 -0
  69. package/dist/sb-CSBm2pED.js +110 -0
  70. package/dist/scala-D76PhKmh.js +353 -0
  71. package/dist/scheme-CBSAjRuO.js +114 -0
  72. package/dist/scss-BHY8wFFg.js +244 -0
  73. package/dist/shell-Cwju9_l8.js +224 -0
  74. package/dist/solidity-BV1-nze3.js +1351 -0
  75. package/dist/sophia-DfoUlGAs.js +190 -0
  76. package/dist/sparql-4kfArTtK.js +193 -0
  77. package/dist/sql-DIpn0HSX.js +818 -0
  78. package/dist/st-BgJ_KDZh.js +415 -0
  79. package/dist/swift-D-ucEgIi.js +315 -0
  80. package/dist/systemverilog-DjkH5zuo.js +556 -0
  81. package/dist/tcl-gd8XLKJA.js +232 -0
  82. package/dist/tsMode-GtXif5Eu.js +810 -0
  83. package/dist/twig-D5XtTFGM.js +323 -0
  84. package/dist/typescript-FqIgT4Lb.js +328 -0
  85. package/dist/vb-DYqqYAf3.js +364 -0
  86. package/dist/wgsl-CkZE0qf3.js +420 -0
  87. package/dist/xml-BUcUe2Ft.js +95 -0
  88. package/dist/yaml-CFa20EYw.js +184 -0
  89. package/package.json +5 -4
  90. package/dist/@code-editor-Vbkor1r4.js +0 -18991
  91. package/dist/@common-rjsf-6UM_zh8b.js +0 -567
  92. package/dist/@framer-motion-DHY98qq3.js +0 -3437
  93. package/dist/@moment-C_WeV3Af.js +0 -2609
  94. package/dist/@monaco-editor-34kqzg3G.js +0 -70451
  95. package/dist/@react-dates-WNnwjI5S.js +0 -7708
  96. package/dist/@react-select-BbR996pa.js +0 -2636
  97. package/dist/@src-assets-images-DamVa6cS.js +0 -14
  98. package/dist/@vendor-RU8AW1bK.js +0 -20473
  99. package/dist/assets/@code-editor.css +0 -1
  100. package/dist/assets/@common-rjsf.css +0 -1
  101. package/dist/assets/@monaco-editor.css +0 -1
  102. package/dist/assets/@react-dates.css +0 -1
  103. package/dist/assets/@vendor.css +0 -1
@@ -0,0 +1,643 @@
1
+ import { m as f } from "./index-D-Wm7m6U.js";
2
+ /*!-----------------------------------------------------------------------------
3
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4
+ * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
5
+ * Released under the MIT license
6
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
7
+ *-----------------------------------------------------------------------------*/
8
+ var F = Object.defineProperty, b = Object.getOwnPropertyDescriptor, x = Object.getOwnPropertyNames, $ = Object.prototype.hasOwnProperty, v = (t, n, _, e) => {
9
+ if (n && typeof n == "object" || typeof n == "function")
10
+ for (let o of x(n))
11
+ !$.call(t, o) && o !== _ && F(t, o, { get: () => n[o], enumerable: !(e = b(n, o)) || e.enumerable });
12
+ return t;
13
+ }, E = (t, n, _) => (v(t, n, "default"), _), r = {};
14
+ E(r, f);
15
+ var d = [
16
+ "assign",
17
+ "flush",
18
+ "ftl",
19
+ "return",
20
+ "global",
21
+ "import",
22
+ "include",
23
+ "break",
24
+ "continue",
25
+ "local",
26
+ "nested",
27
+ "nt",
28
+ "setting",
29
+ "stop",
30
+ "t",
31
+ "lt",
32
+ "rt",
33
+ "fallback"
34
+ ], s = [
35
+ "attempt",
36
+ "autoesc",
37
+ "autoEsc",
38
+ "compress",
39
+ "comment",
40
+ "escape",
41
+ "noescape",
42
+ "function",
43
+ "if",
44
+ "list",
45
+ "items",
46
+ "sep",
47
+ "macro",
48
+ "noparse",
49
+ "noParse",
50
+ "noautoesc",
51
+ "noAutoEsc",
52
+ "outputformat",
53
+ "switch",
54
+ "visit",
55
+ "recurse"
56
+ ], a = {
57
+ close: ">",
58
+ id: "angle",
59
+ open: "<"
60
+ }, u = {
61
+ close: "\\]",
62
+ id: "bracket",
63
+ open: "\\["
64
+ }, D = {
65
+ close: "[>\\]]",
66
+ id: "auto",
67
+ open: "[<\\[]"
68
+ }, k = {
69
+ close: "\\}",
70
+ id: "dollar",
71
+ open1: "\\$",
72
+ open2: "\\{"
73
+ }, p = {
74
+ close: "\\]",
75
+ id: "bracket",
76
+ open1: "\\[",
77
+ open2: "="
78
+ };
79
+ function l(t) {
80
+ return {
81
+ brackets: [
82
+ ["<", ">"],
83
+ ["[", "]"],
84
+ ["(", ")"],
85
+ ["{", "}"]
86
+ ],
87
+ comments: {
88
+ blockComment: [`${t.open}--`, `--${t.close}`]
89
+ },
90
+ autoCloseBefore: `
91
+ \r }]),.:;=`,
92
+ autoClosingPairs: [
93
+ { open: "{", close: "}" },
94
+ { open: "[", close: "]" },
95
+ { open: "(", close: ")" },
96
+ { open: '"', close: '"', notIn: ["string"] },
97
+ { open: "'", close: "'", notIn: ["string"] }
98
+ ],
99
+ surroundingPairs: [
100
+ { open: '"', close: '"' },
101
+ { open: "'", close: "'" },
102
+ { open: "{", close: "}" },
103
+ { open: "[", close: "]" },
104
+ { open: "(", close: ")" },
105
+ { open: "<", close: ">" }
106
+ ],
107
+ folding: {
108
+ markers: {
109
+ start: new RegExp(`${t.open}#(?:${s.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
110
+ end: new RegExp(`${t.open}/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
111
+ }
112
+ },
113
+ onEnterRules: [
114
+ {
115
+ beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
116
+ afterText: new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),
117
+ action: {
118
+ indentAction: r.languages.IndentAction.IndentOutdent
119
+ }
120
+ },
121
+ {
122
+ beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
123
+ action: { indentAction: r.languages.IndentAction.Indent }
124
+ }
125
+ ]
126
+ };
127
+ }
128
+ function g() {
129
+ return {
130
+ brackets: [
131
+ ["<", ">"],
132
+ ["[", "]"],
133
+ ["(", ")"],
134
+ ["{", "}"]
135
+ ],
136
+ autoCloseBefore: `
137
+ \r }]),.:;=`,
138
+ autoClosingPairs: [
139
+ { open: "{", close: "}" },
140
+ { open: "[", close: "]" },
141
+ { open: "(", close: ")" },
142
+ { open: '"', close: '"', notIn: ["string"] },
143
+ { open: "'", close: "'", notIn: ["string"] }
144
+ ],
145
+ surroundingPairs: [
146
+ { open: '"', close: '"' },
147
+ { open: "'", close: "'" },
148
+ { open: "{", close: "}" },
149
+ { open: "[", close: "]" },
150
+ { open: "(", close: ")" },
151
+ { open: "<", close: ">" }
152
+ ],
153
+ folding: {
154
+ markers: {
155
+ start: new RegExp(`[<\\[]#(?:${s.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),
156
+ end: new RegExp(`[<\\[]/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
157
+ }
158
+ },
159
+ onEnterRules: [
160
+ {
161
+ beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
162
+ afterText: new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),
163
+ action: {
164
+ indentAction: r.languages.IndentAction.IndentOutdent
165
+ }
166
+ },
167
+ {
168
+ beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
169
+ action: { indentAction: r.languages.IndentAction.Indent }
170
+ }
171
+ ]
172
+ };
173
+ }
174
+ function i(t, n) {
175
+ const _ = `_${t.id}_${n.id}`, e = (c) => c.replace(/__id__/g, _), o = (c) => {
176
+ const m = c.source.replace(/__id__/g, _);
177
+ return new RegExp(m, c.flags);
178
+ };
179
+ return {
180
+ unicode: !0,
181
+ includeLF: !1,
182
+ start: e("default__id__"),
183
+ ignoreCase: !1,
184
+ defaultToken: "invalid",
185
+ tokenPostfix: ".freemarker2",
186
+ brackets: [
187
+ { open: "{", close: "}", token: "delimiter.curly" },
188
+ { open: "[", close: "]", token: "delimiter.square" },
189
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
190
+ { open: "<", close: ">", token: "delimiter.angle" }
191
+ ],
192
+ [e("open__id__")]: new RegExp(t.open),
193
+ [e("close__id__")]: new RegExp(t.close),
194
+ [e("iOpen1__id__")]: new RegExp(n.open1),
195
+ [e("iOpen2__id__")]: new RegExp(n.open2),
196
+ [e("iClose__id__")]: new RegExp(n.close),
197
+ [e("startTag__id__")]: o(/(@open__id__)(#)/),
198
+ [e("endTag__id__")]: o(/(@open__id__)(\/#)/),
199
+ [e("startOrEndTag__id__")]: o(/(@open__id__)(\/?#)/),
200
+ [e("closeTag1__id__")]: o(/((?:@blank)*)(@close__id__)/),
201
+ [e("closeTag2__id__")]: o(/((?:@blank)*\/?)(@close__id__)/),
202
+ blank: /[ \t\n\r]/,
203
+ keywords: ["false", "true", "in", "as", "using"],
204
+ directiveStartCloseTag1: /attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,
205
+ directiveStartCloseTag2: /else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,
206
+ directiveStartBlank: /if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,
207
+ directiveEndCloseTag1: /if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,
208
+ escapedChar: /\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,
209
+ asciiDigit: /[0-9]/,
210
+ integer: /[0-9]+/,
211
+ nonEscapedIdStartChar: /[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\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\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\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\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\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\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\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\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,
212
+ escapedIdChar: /\\[\-\.:#]/,
213
+ idStartChar: /(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,
214
+ id: /(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,
215
+ specialHashKeys: /\*\*|\*|false|true|in|as|using/,
216
+ namedSymbols: /&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,
217
+ arrows: ["->", "-&gt;"],
218
+ delimiters: [";", ":", ",", "."],
219
+ stringOperators: ["lte", "lt", "gte", "gt"],
220
+ noParseTags: ["noparse", "noParse", "comment"],
221
+ tokenizer: {
222
+ [e("default__id__")]: [
223
+ { include: e("@directive_token__id__") },
224
+ { include: e("@interpolation_and_text_token__id__") }
225
+ ],
226
+ [e("fmExpression__id__.directive")]: [
227
+ { include: e("@blank_and_expression_comment_token__id__") },
228
+ { include: e("@directive_end_token__id__") },
229
+ { include: e("@expression_token__id__") }
230
+ ],
231
+ [e("fmExpression__id__.interpolation")]: [
232
+ { include: e("@blank_and_expression_comment_token__id__") },
233
+ { include: e("@expression_token__id__") },
234
+ { include: e("@greater_operators_token__id__") }
235
+ ],
236
+ [e("inParen__id__.plain")]: [
237
+ { include: e("@blank_and_expression_comment_token__id__") },
238
+ { include: e("@directive_end_token__id__") },
239
+ { include: e("@expression_token__id__") }
240
+ ],
241
+ [e("inParen__id__.gt")]: [
242
+ { include: e("@blank_and_expression_comment_token__id__") },
243
+ { include: e("@expression_token__id__") },
244
+ { include: e("@greater_operators_token__id__") }
245
+ ],
246
+ [e("noSpaceExpression__id__")]: [
247
+ { include: e("@no_space_expression_end_token__id__") },
248
+ { include: e("@directive_end_token__id__") },
249
+ { include: e("@expression_token__id__") }
250
+ ],
251
+ [e("unifiedCall__id__")]: [{ include: e("@unified_call_token__id__") }],
252
+ [e("singleString__id__")]: [{ include: e("@string_single_token__id__") }],
253
+ [e("doubleString__id__")]: [{ include: e("@string_double_token__id__") }],
254
+ [e("rawSingleString__id__")]: [{ include: e("@string_single_raw_token__id__") }],
255
+ [e("rawDoubleString__id__")]: [{ include: e("@string_double_raw_token__id__") }],
256
+ [e("expressionComment__id__")]: [{ include: e("@expression_comment_token__id__") }],
257
+ [e("noParse__id__")]: [{ include: e("@no_parse_token__id__") }],
258
+ [e("terseComment__id__")]: [{ include: e("@terse_comment_token__id__") }],
259
+ [e("directive_token__id__")]: [
260
+ [
261
+ o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),
262
+ t.id === "auto" ? {
263
+ cases: {
264
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
265
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
266
+ }
267
+ } : [
268
+ { token: "@brackets.directive" },
269
+ { token: "delimiter.directive" },
270
+ {
271
+ cases: {
272
+ "@noParseTags": { token: "tag", next: e("@noParse__id__.$3") },
273
+ "@default": { token: "tag" }
274
+ }
275
+ },
276
+ { token: "delimiter.directive" },
277
+ { token: "@brackets.directive" }
278
+ ]
279
+ ],
280
+ [
281
+ o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),
282
+ t.id === "auto" ? {
283
+ cases: {
284
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
285
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
286
+ }
287
+ } : [
288
+ { token: "@brackets.directive" },
289
+ { token: "delimiter.directive" },
290
+ { token: "tag" },
291
+ { token: "delimiter.directive" },
292
+ { token: "@brackets.directive" }
293
+ ]
294
+ ],
295
+ [
296
+ o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),
297
+ t.id === "auto" ? {
298
+ cases: {
299
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
300
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
301
+ }
302
+ } : [
303
+ { token: "@brackets.directive" },
304
+ { token: "delimiter.directive" },
305
+ { token: "tag" },
306
+ { token: "", next: e("@fmExpression__id__.directive") }
307
+ ]
308
+ ],
309
+ [
310
+ o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),
311
+ t.id === "auto" ? {
312
+ cases: {
313
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
314
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
315
+ }
316
+ } : [
317
+ { token: "@brackets.directive" },
318
+ { token: "delimiter.directive" },
319
+ { token: "tag" },
320
+ { token: "delimiter.directive" },
321
+ { token: "@brackets.directive" }
322
+ ]
323
+ ],
324
+ [
325
+ o(/(@open__id__)(@)/),
326
+ t.id === "auto" ? {
327
+ cases: {
328
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
329
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
330
+ }
331
+ } : [
332
+ { token: "@brackets.directive" },
333
+ { token: "delimiter.directive", next: e("@unifiedCall__id__") }
334
+ ]
335
+ ],
336
+ [
337
+ o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),
338
+ [
339
+ { token: "@brackets.directive" },
340
+ { token: "delimiter.directive" },
341
+ { token: "tag" },
342
+ { token: "delimiter.directive" },
343
+ { token: "@brackets.directive" }
344
+ ]
345
+ ],
346
+ [
347
+ o(/(@open__id__)#--/),
348
+ t.id === "auto" ? {
349
+ cases: {
350
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
351
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
352
+ }
353
+ } : { token: "comment", next: e("@terseComment__id__") }
354
+ ],
355
+ [
356
+ o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),
357
+ t.id === "auto" ? {
358
+ cases: {
359
+ "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
360
+ "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
361
+ }
362
+ } : [
363
+ { token: "@brackets.directive" },
364
+ { token: "delimiter.directive" },
365
+ { token: "tag.invalid", next: e("@fmExpression__id__.directive") }
366
+ ]
367
+ ]
368
+ ],
369
+ [e("interpolation_and_text_token__id__")]: [
370
+ [
371
+ o(/(@iOpen1__id__)(@iOpen2__id__)/),
372
+ [
373
+ { token: n.id === "bracket" ? "@brackets.interpolation" : "delimiter.interpolation" },
374
+ {
375
+ token: n.id === "bracket" ? "delimiter.interpolation" : "@brackets.interpolation",
376
+ next: e("@fmExpression__id__.interpolation")
377
+ }
378
+ ]
379
+ ],
380
+ [/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/, { token: "source" }]
381
+ ],
382
+ [e("string_single_token__id__")]: [
383
+ [/[^'\\]/, { token: "string" }],
384
+ [/@escapedChar/, { token: "string.escape" }],
385
+ [/'/, { token: "string", next: "@pop" }]
386
+ ],
387
+ [e("string_double_token__id__")]: [
388
+ [/[^"\\]/, { token: "string" }],
389
+ [/@escapedChar/, { token: "string.escape" }],
390
+ [/"/, { token: "string", next: "@pop" }]
391
+ ],
392
+ [e("string_single_raw_token__id__")]: [
393
+ [/[^']+/, { token: "string.raw" }],
394
+ [/'/, { token: "string.raw", next: "@pop" }]
395
+ ],
396
+ [e("string_double_raw_token__id__")]: [
397
+ [/[^"]+/, { token: "string.raw" }],
398
+ [/"/, { token: "string.raw", next: "@pop" }]
399
+ ],
400
+ [e("expression_token__id__")]: [
401
+ [
402
+ /(r?)(['"])/,
403
+ {
404
+ cases: {
405
+ "r'": [
406
+ { token: "keyword" },
407
+ { token: "string.raw", next: e("@rawSingleString__id__") }
408
+ ],
409
+ 'r"': [
410
+ { token: "keyword" },
411
+ { token: "string.raw", next: e("@rawDoubleString__id__") }
412
+ ],
413
+ "'": [{ token: "source" }, { token: "string", next: e("@singleString__id__") }],
414
+ '"': [{ token: "source" }, { token: "string", next: e("@doubleString__id__") }]
415
+ }
416
+ }
417
+ ],
418
+ [
419
+ /(?:@integer)(?:\.(?:@integer))?/,
420
+ {
421
+ cases: {
422
+ "(?:@integer)": { token: "number" },
423
+ "@default": { token: "number.float" }
424
+ }
425
+ }
426
+ ],
427
+ [
428
+ /(\.)(@blank*)(@specialHashKeys)/,
429
+ [{ token: "delimiter" }, { token: "" }, { token: "identifier" }]
430
+ ],
431
+ [
432
+ /(?:@namedSymbols)/,
433
+ {
434
+ cases: {
435
+ "@arrows": { token: "meta.arrow" },
436
+ "@delimiters": { token: "delimiter" },
437
+ "@default": { token: "operators" }
438
+ }
439
+ }
440
+ ],
441
+ [
442
+ /@id/,
443
+ {
444
+ cases: {
445
+ "@keywords": { token: "keyword.$0" },
446
+ "@stringOperators": { token: "operators" },
447
+ "@default": { token: "identifier" }
448
+ }
449
+ }
450
+ ],
451
+ [
452
+ /[\[\]\(\)\{\}]/,
453
+ {
454
+ cases: {
455
+ "\\[": {
456
+ cases: {
457
+ "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
458
+ "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
459
+ }
460
+ },
461
+ "\\]": {
462
+ cases: {
463
+ ...n.id === "bracket" ? {
464
+ "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
465
+ } : {},
466
+ ...t.id === "bracket" ? {
467
+ "$S2==directive": { token: "@brackets.directive", next: "@popall" }
468
+ } : {},
469
+ [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
470
+ "@default": { token: "@brackets" }
471
+ }
472
+ },
473
+ "\\(": { token: "@brackets", next: e("@inParen__id__.gt") },
474
+ "\\)": {
475
+ cases: {
476
+ [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
477
+ "@default": { token: "@brackets" }
478
+ }
479
+ },
480
+ "\\{": {
481
+ cases: {
482
+ "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
483
+ "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
484
+ }
485
+ },
486
+ "\\}": {
487
+ cases: {
488
+ ...n.id === "bracket" ? {} : {
489
+ "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
490
+ },
491
+ [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
492
+ "@default": { token: "@brackets" }
493
+ }
494
+ }
495
+ }
496
+ }
497
+ ],
498
+ [/\$\{/, { token: "delimiter.invalid" }]
499
+ ],
500
+ [e("blank_and_expression_comment_token__id__")]: [
501
+ [/(?:@blank)+/, { token: "" }],
502
+ [/[<\[][#!]--/, { token: "comment", next: e("@expressionComment__id__") }]
503
+ ],
504
+ [e("directive_end_token__id__")]: [
505
+ [
506
+ />/,
507
+ t.id === "bracket" ? { token: "operators" } : { token: "@brackets.directive", next: "@popall" }
508
+ ],
509
+ [
510
+ o(/(\/)(@close__id__)/),
511
+ [{ token: "delimiter.directive" }, { token: "@brackets.directive", next: "@popall" }]
512
+ ]
513
+ ],
514
+ [e("greater_operators_token__id__")]: [
515
+ [/>/, { token: "operators" }],
516
+ [/>=/, { token: "operators" }]
517
+ ],
518
+ [e("no_space_expression_end_token__id__")]: [
519
+ [/(?:@blank)+/, { token: "", switchTo: e("@fmExpression__id__.directive") }]
520
+ ],
521
+ [e("unified_call_token__id__")]: [
522
+ [
523
+ /(@id)((?:@blank)+)/,
524
+ [{ token: "tag" }, { token: "", next: e("@fmExpression__id__.directive") }]
525
+ ],
526
+ [
527
+ o(/(@id)(\/?)(@close__id__)/),
528
+ [
529
+ { token: "tag" },
530
+ { token: "delimiter.directive" },
531
+ { token: "@brackets.directive", next: "@popall" }
532
+ ]
533
+ ],
534
+ [/./, { token: "@rematch", next: e("@noSpaceExpression__id__") }]
535
+ ],
536
+ [e("no_parse_token__id__")]: [
537
+ [
538
+ o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),
539
+ {
540
+ cases: {
541
+ "$S2==$3": [
542
+ { token: "@brackets.directive" },
543
+ { token: "delimiter.directive" },
544
+ { token: "tag" },
545
+ { token: "" },
546
+ { token: "@brackets.directive", next: "@popall" }
547
+ ],
548
+ "$S2==comment": [
549
+ { token: "comment" },
550
+ { token: "comment" },
551
+ { token: "comment" },
552
+ { token: "comment" },
553
+ { token: "comment" }
554
+ ],
555
+ "@default": [
556
+ { token: "source" },
557
+ { token: "source" },
558
+ { token: "source" },
559
+ { token: "source" },
560
+ { token: "source" }
561
+ ]
562
+ }
563
+ }
564
+ ],
565
+ [
566
+ /[^<\[\-]+|[<\[\-]/,
567
+ {
568
+ cases: {
569
+ "$S2==comment": { token: "comment" },
570
+ "@default": { token: "source" }
571
+ }
572
+ }
573
+ ]
574
+ ],
575
+ [e("expression_comment_token__id__")]: [
576
+ [
577
+ /--[>\]]/,
578
+ {
579
+ token: "comment",
580
+ next: "@pop"
581
+ }
582
+ ],
583
+ [/[^\->\]]+|[>\]\-]/, { token: "comment" }]
584
+ ],
585
+ [e("terse_comment_token__id__")]: [
586
+ [o(/--(?:@close__id__)/), { token: "comment", next: "@popall" }],
587
+ [/[^<\[\-]+|[<\[\-]/, { token: "comment" }]
588
+ ]
589
+ }
590
+ };
591
+ }
592
+ function A(t) {
593
+ const n = i(a, t), _ = i(u, t), e = i(D, t);
594
+ return {
595
+ ...n,
596
+ ..._,
597
+ ...e,
598
+ unicode: !0,
599
+ includeLF: !1,
600
+ start: `default_auto_${t.id}`,
601
+ ignoreCase: !1,
602
+ defaultToken: "invalid",
603
+ tokenPostfix: ".freemarker2",
604
+ brackets: [
605
+ { open: "{", close: "}", token: "delimiter.curly" },
606
+ { open: "[", close: "]", token: "delimiter.square" },
607
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
608
+ { open: "<", close: ">", token: "delimiter.angle" }
609
+ ],
610
+ tokenizer: {
611
+ ...n.tokenizer,
612
+ ..._.tokenizer,
613
+ ...e.tokenizer
614
+ }
615
+ };
616
+ }
617
+ var C = {
618
+ conf: l(a),
619
+ language: i(a, k)
620
+ }, w = {
621
+ conf: l(u),
622
+ language: i(u, k)
623
+ }, T = {
624
+ conf: l(a),
625
+ language: i(a, p)
626
+ }, h = {
627
+ conf: l(u),
628
+ language: i(u, p)
629
+ }, S = {
630
+ conf: g(),
631
+ language: A(k)
632
+ }, P = {
633
+ conf: g(),
634
+ language: A(p)
635
+ };
636
+ export {
637
+ T as TagAngleInterpolationBracket,
638
+ C as TagAngleInterpolationDollar,
639
+ P as TagAutoInterpolationBracket,
640
+ S as TagAutoInterpolationDollar,
641
+ h as TagBracketInterpolationBracket,
642
+ w as TagBracketInterpolationDollar
643
+ };