@infinilabs/discover 0.0.1

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 (233) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +8 -0
  3. package/dist/abap-B988NUrV.js +122 -0
  4. package/dist/abap-obercqiY.cjs +1 -0
  5. package/dist/apex-B0_UGK1B.cjs +1 -0
  6. package/dist/apex-BlHPPQK-.js +168 -0
  7. package/dist/azcli-C7iyZFGk.js +53 -0
  8. package/dist/azcli-CEoytwx_.cjs +1 -0
  9. package/dist/bat-Buc0l0C3.js +123 -0
  10. package/dist/bat-D65OC-jj.cjs +1 -0
  11. package/dist/bicep-DvD_e5vW.cjs +2 -0
  12. package/dist/bicep-U66iJ-pV.js +219 -0
  13. package/dist/cameligo-C9Dwkdmm.js +189 -0
  14. package/dist/cameligo-DzMHfeEs.cjs +1 -0
  15. package/dist/chunk-BjqF3vbe.cjs +1 -0
  16. package/dist/chunk-CIp4IH9D.js +21 -0
  17. package/dist/classnames-BXjDNQ6Q.cjs +1 -0
  18. package/dist/classnames-eUba3oot.js +29 -0
  19. package/dist/clojure-BC7BzAFK.cjs +1 -0
  20. package/dist/clojure-DDWmWbSx.js +146 -0
  21. package/dist/coffee-7Sx2S8NH.js +260 -0
  22. package/dist/coffee-Ca9F0OWZ.cjs +1 -0
  23. package/dist/common-BeXEy5sz.cjs +18 -0
  24. package/dist/common-BlOHZJzI.js +64 -0
  25. package/dist/common-DuYIpe6b.cjs +1 -0
  26. package/dist/common-Tr1I-HCs.js +6725 -0
  27. package/dist/cpp-CHjqaSPQ.js +230 -0
  28. package/dist/cpp-DKy9h6xR.cjs +1 -0
  29. package/dist/createLucideIcon-239Z-2by.cjs +1 -0
  30. package/dist/createLucideIcon-BO6TDGE7.js +43 -0
  31. package/dist/csharp-CkbgT9vH.cjs +1 -0
  32. package/dist/csharp-jwStnVeK.js +260 -0
  33. package/dist/csp-C2qFd6iv.cjs +1 -0
  34. package/dist/csp-DkO8Np0h.js +46 -0
  35. package/dist/css-BFvwcljm.js +284 -0
  36. package/dist/css-DCKUCzD6.cjs +3 -0
  37. package/dist/cssMode-CU2AJQMM.js +1509 -0
  38. package/dist/cssMode-l7eR8WSG.cjs +4 -0
  39. package/dist/cypher-122TYSjJ.cjs +1 -0
  40. package/dist/cypher-DaQ7hFRL.js +212 -0
  41. package/dist/dart-D8p_2HKP.js +236 -0
  42. package/dist/dart-DshcPGU8.cjs +1 -0
  43. package/dist/dist-DCz_Qv0B.js +884 -0
  44. package/dist/dist-D_2dZQH5.cjs +11 -0
  45. package/dist/dockerfile-CL8dwZCe.cjs +1 -0
  46. package/dist/dockerfile-DKWOQrwp.js +191 -0
  47. package/dist/ecl-DP3PNWGB.js +226 -0
  48. package/dist/ecl-DVx2J_EE.cjs +1 -0
  49. package/dist/editor.api-CbUDOph7.js +70302 -0
  50. package/dist/editor.api-lY2thcaq.cjs +644 -0
  51. package/dist/elixir-Xgx_1krO.cjs +1 -0
  52. package/dist/elixir-e9tDp1p1.js +523 -0
  53. package/dist/filter_label-DRJC3vpe.js +58 -0
  54. package/dist/filter_label-DssaWGpx.cjs +1 -0
  55. package/dist/filter_operators-C-TaTcNc.js +70 -0
  56. package/dist/filter_operators-D0kyB-XI.cjs +1 -0
  57. package/dist/flow9-C9BjpX8h.js +176 -0
  58. package/dist/flow9-DR-EyjYV.cjs +1 -0
  59. package/dist/freemarker2-BTGUjvgA.cjs +3 -0
  60. package/dist/freemarker2-C6Iq5MB-.js +724 -0
  61. package/dist/fsharp-BWm_FISn.js +147 -0
  62. package/dist/fsharp-DaBEigN7.cjs +1 -0
  63. package/dist/go-Xyq33f0v.cjs +1 -0
  64. package/dist/go-cmqV0Vy_.js +165 -0
  65. package/dist/graphql-BkFHHVmI.js +174 -0
  66. package/dist/graphql-Cj7XAy25.cjs +1 -0
  67. package/dist/handlebars-B2b1q7PA.cjs +1 -0
  68. package/dist/handlebars-DGGN9u4Y.js +418 -0
  69. package/dist/hcl-5I-P7bYX.js +219 -0
  70. package/dist/hcl-C3dpBsgU.cjs +1 -0
  71. package/dist/html-RJa-j-qT.js +339 -0
  72. package/dist/html-qfcUzk8e.cjs +1 -0
  73. package/dist/htmlMode-CYIxo4hc.cjs +4 -0
  74. package/dist/htmlMode-DDZ48mdp.js +1520 -0
  75. package/dist/index.cjs +303 -0
  76. package/dist/index.d.ts +4 -0
  77. package/dist/index.js +72895 -0
  78. package/dist/index_pattern_select--iGeA3sP.js +93 -0
  79. package/dist/index_pattern_select-BeN5049F.cjs +1 -0
  80. package/dist/ini-ChENqKh8.cjs +1 -0
  81. package/dist/ini-DSIAxBZt.js +94 -0
  82. package/dist/java-DGeAxsRb.js +173 -0
  83. package/dist/java-LZ6g7weJ.cjs +1 -0
  84. package/dist/javascript-CN5gTHH2.js +19 -0
  85. package/dist/javascript-CZ97a-BN.cjs +1 -0
  86. package/dist/jsonMode-BZDeJMLL.cjs +10 -0
  87. package/dist/jsonMode-DraOl-ka.js +1885 -0
  88. package/dist/julia-BeebccKw.cjs +1 -0
  89. package/dist/julia-CU4CtsP4.js +414 -0
  90. package/dist/kotlin-B8NxXJ89.js +183 -0
  91. package/dist/kotlin-M82nl514.cjs +1 -0
  92. package/dist/less-B4Q3fV9Y.cjs +2 -0
  93. package/dist/less-DbeQQzer.js +242 -0
  94. package/dist/lexon-CXQaaecE.cjs +1 -0
  95. package/dist/lexon-Cw9JuAKc.js +185 -0
  96. package/dist/lib-C9j_E-l0.js +47 -0
  97. package/dist/lib-Chy_6VKj.cjs +1 -0
  98. package/dist/liquid-BYNEOJvX.cjs +1 -0
  99. package/dist/liquid-DvB-d2w7.js +205 -0
  100. package/dist/lodash-C_2NO1eK.cjs +35 -0
  101. package/dist/lodash-D-qGlPRW.js +3769 -0
  102. package/dist/lua-CnG8Tpu2.cjs +1 -0
  103. package/dist/lua-yl5NzA_S.js +200 -0
  104. package/dist/m3-CVcm-OIn.cjs +1 -0
  105. package/dist/m3-CdNAqvIX.js +193 -0
  106. package/dist/markdown-C1h-EuiT.js +262 -0
  107. package/dist/markdown-DrRHDVSU.cjs +1 -0
  108. package/dist/mdx-BbiOYPr2.cjs +1 -0
  109. package/dist/mdx-Fk8VTCUK.js +335 -0
  110. package/dist/mips-DIWpzGF0.js +128 -0
  111. package/dist/mips-D_p8UYQb.cjs +1 -0
  112. package/dist/monaco.contribution-BpuUCejv.cjs +1 -0
  113. package/dist/monaco.contribution-Cq4QrMn0.js +134 -0
  114. package/dist/msdax-BiazpDQ1.js +156 -0
  115. package/dist/msdax-xM1_j20x.cjs +1 -0
  116. package/dist/mysql-DMsJkSnA.cjs +1 -0
  117. package/dist/mysql-DphBFJlP.js +168 -0
  118. package/dist/objective-c-BG02Lrht.cjs +1 -0
  119. package/dist/objective-c-DWZ8Qpyc.js +144 -0
  120. package/dist/pascal-BcvlMOdu.js +176 -0
  121. package/dist/pascal-CnP2Fqes.cjs +1 -0
  122. package/dist/pascaligo-BzDEm-l_.cjs +1 -0
  123. package/dist/pascaligo-DHEp4kzh.js +201 -0
  124. package/dist/perl-USYKPHpO.js +316 -0
  125. package/dist/perl-nIxw-e4R.cjs +1 -0
  126. package/dist/pgsql-Buk6XzVf.cjs +1 -0
  127. package/dist/pgsql-DzPhAh9W.js +158 -0
  128. package/dist/php-B3sFYUqV.cjs +1 -0
  129. package/dist/php-PfpSTefE.js +471 -0
  130. package/dist/pla-CZtnfWl6.cjs +1 -0
  131. package/dist/pla-DrFOZwDB.js +146 -0
  132. package/dist/postiats-4OGxVVUT.js +504 -0
  133. package/dist/postiats-CgJZf83Q.cjs +1 -0
  134. package/dist/powerquery-D9gzk2Dq.cjs +1 -0
  135. package/dist/powerquery-_h9-HEnY.js +190 -0
  136. package/dist/powershell-CZHaQY6z.cjs +1 -0
  137. package/dist/powershell-nOzcY8gy.js +211 -0
  138. package/dist/protobuf-DAgxhnea.js +659 -0
  139. package/dist/protobuf-D_C8Guej.cjs +2 -0
  140. package/dist/public-1PveQco4.js +1756 -0
  141. package/dist/public-D1K7oN7t.cjs +3 -0
  142. package/dist/pug-quEtG4rz.cjs +1 -0
  143. package/dist/pug-raGZNmZ1.js +300 -0
  144. package/dist/python-C45c7K7W.js +260 -0
  145. package/dist/python-CQX8JcT4.cjs +1 -0
  146. package/dist/qsharp-C2jz5tuo.js +143 -0
  147. package/dist/qsharp-CX1SSV_j.cjs +1 -0
  148. package/dist/query_bar_top_row-3UclS1nm.cjs +1 -0
  149. package/dist/query_bar_top_row-CfV4Iu71.cjs +1 -0
  150. package/dist/query_bar_top_row-D6a48VTk.js +11 -0
  151. package/dist/query_bar_top_row-DonV1OzY.js +2930 -0
  152. package/dist/query_string_input-75waAcWy.js +9 -0
  153. package/dist/query_string_input-CHG9w1ze.cjs +1 -0
  154. package/dist/query_string_input-CyPZVKif.js +366 -0
  155. package/dist/query_string_input-SOULY6dl.cjs +1 -0
  156. package/dist/r-CXkPcYYf.js +189 -0
  157. package/dist/r-DpVDQTST.cjs +1 -0
  158. package/dist/razor-BnoJmj1k.js +525 -0
  159. package/dist/razor-DYx4yJJn.cjs +1 -0
  160. package/dist/redis-DsCuCZIT.cjs +1 -0
  161. package/dist/redis-giKZvbbg.js +123 -0
  162. package/dist/redshift-qKVxBsP_.js +158 -0
  163. package/dist/redshift-z5_aUfdC.cjs +1 -0
  164. package/dist/restructuredtext-D0n4pabr.js +287 -0
  165. package/dist/restructuredtext-DdXoKocW.cjs +1 -0
  166. package/dist/ruby-BNrBlpcw.js +527 -0
  167. package/dist/ruby-Dj0sNBey.cjs +1 -0
  168. package/dist/rust-D6mpPoli.js +178 -0
  169. package/dist/rust-DjkW1U4M.cjs +1 -0
  170. package/dist/sb-BCN0JcpS.cjs +1 -0
  171. package/dist/sb-DhS9GhXl.js +143 -0
  172. package/dist/scala-BqxBEpi8.js +551 -0
  173. package/dist/scala-CyXWhZaJ.cjs +1 -0
  174. package/dist/scheme-Bh4oGAk3.js +170 -0
  175. package/dist/scheme-Cs9G6QEE.cjs +1 -0
  176. package/dist/scss-Byf08jwC.js +417 -0
  177. package/dist/scss-Fl7taPuq.cjs +3 -0
  178. package/dist/search_bar-Caqi1NVo.js +1815 -0
  179. package/dist/search_bar-DyO_WsC5.cjs +1 -0
  180. package/dist/services-9wPHk1eh.js +2350 -0
  181. package/dist/services-BPC3fXx4.cjs +7 -0
  182. package/dist/shard_failure_open_modal_button-BYTThYch.js +199 -0
  183. package/dist/shard_failure_open_modal_button-Dx8ML4VE.cjs +2 -0
  184. package/dist/shell-Cw5yNfC4.cjs +1 -0
  185. package/dist/shell-UoRv_tpG.js +223 -0
  186. package/dist/solidity-B5t7Lkol.js +147 -0
  187. package/dist/solidity-BoAzg9X_.cjs +1 -0
  188. package/dist/sophia-BrXXWhvp.js +147 -0
  189. package/dist/sophia-L84Jz6Ow.cjs +1 -0
  190. package/dist/sparql-B8ZTY48u.js +124 -0
  191. package/dist/sparql-D6lnG7vO.cjs +1 -0
  192. package/dist/sql-D_74hUL-.js +171 -0
  193. package/dist/sql-VXdYzIyz.cjs +1 -0
  194. package/dist/src/App.d.ts +2 -0
  195. package/dist/src/components/ResultHeader/Info.d.ts +30 -0
  196. package/dist/src/components/ResultHeader/index.d.ts +13 -0
  197. package/dist/src/components/context.d.ts +82 -0
  198. package/dist/src/components/euiicons.d.ts +1 -0
  199. package/dist/src/components/index.d.ts +8 -0
  200. package/dist/src/main.d.ts +1 -0
  201. package/dist/src/utils/request.d.ts +1 -0
  202. package/dist/src/utils/utils.d.ts +1 -0
  203. package/dist/st-CxJLwAAK.cjs +1 -0
  204. package/dist/st-D8Rdx9Bz.js +476 -0
  205. package/dist/suggestions_component-BBHwbjYT.js +1243 -0
  206. package/dist/suggestions_component-CF4sehth.cjs +77 -0
  207. package/dist/swift-ZBC6wQdc.cjs +1 -0
  208. package/dist/swift-s19Ivx3X.js +213 -0
  209. package/dist/systemverilog-DoSgAb1I.cjs +1 -0
  210. package/dist/systemverilog-fA72PnKj.js +298 -0
  211. package/dist/tcl-B8QLbcxi.js +223 -0
  212. package/dist/tcl-IXmy-lJ0.cjs +1 -0
  213. package/dist/tsMode-BrPRpJvb.js +597 -0
  214. package/dist/tsMode-CNvH6xuC.cjs +11 -0
  215. package/dist/tsup.config.d.ts +2 -0
  216. package/dist/twig-CT2RXmm0.cjs +1 -0
  217. package/dist/twig-Dy7NkzKI.js +388 -0
  218. package/dist/typescript-BRKHcp4S.js +263 -0
  219. package/dist/typescript-Bbw9fxuo.cjs +1 -0
  220. package/dist/typescript-CQjO9XnF.js +3 -0
  221. package/dist/typescript-D6q4AO2z.cjs +1 -0
  222. package/dist/typespec-CkKpvaMv.cjs +1 -0
  223. package/dist/typespec-ndyv0mQx.js +234 -0
  224. package/dist/vb-DET0NIW-.js +260 -0
  225. package/dist/vb-R3Kcrzvd.cjs +1 -0
  226. package/dist/vite.config.d.ts +2 -0
  227. package/dist/wgsl-D5TeQchR.js +145 -0
  228. package/dist/wgsl-FTDBzylH.cjs +298 -0
  229. package/dist/xml-BZjE3dtf.js +136 -0
  230. package/dist/xml-CxbMIueA.cjs +1 -0
  231. package/dist/yaml-Di_6aXC4.js +229 -0
  232. package/dist/yaml-DvaGkWBl.cjs +1 -0
  233. package/package.json +98 -0
@@ -0,0 +1,471 @@
1
+ var conf = {
2
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
3
+ comments: {
4
+ lineComment: "//",
5
+ blockComment: ["/*", "*/"]
6
+ },
7
+ brackets: [
8
+ ["{", "}"],
9
+ ["[", "]"],
10
+ ["(", ")"]
11
+ ],
12
+ autoClosingPairs: [
13
+ {
14
+ open: "{",
15
+ close: "}",
16
+ notIn: ["string"]
17
+ },
18
+ {
19
+ open: "[",
20
+ close: "]",
21
+ notIn: ["string"]
22
+ },
23
+ {
24
+ open: "(",
25
+ close: ")",
26
+ notIn: ["string"]
27
+ },
28
+ {
29
+ open: "\"",
30
+ close: "\"",
31
+ notIn: ["string"]
32
+ },
33
+ {
34
+ open: "'",
35
+ close: "'",
36
+ notIn: ["string", "comment"]
37
+ }
38
+ ],
39
+ folding: { markers: {
40
+ start: /* @__PURE__ */ RegExp("^\\s*(#|//)region\\b"),
41
+ end: /* @__PURE__ */ RegExp("^\\s*(#|//)endregion\\b")
42
+ } }
43
+ }, language = {
44
+ defaultToken: "",
45
+ tokenPostfix: "",
46
+ tokenizer: {
47
+ root: [
48
+ [/<\?((php)|=)?/, {
49
+ token: "@rematch",
50
+ switchTo: "@phpInSimpleState.root"
51
+ }],
52
+ [
53
+ /<!DOCTYPE/,
54
+ "metatag.html",
55
+ "@doctype"
56
+ ],
57
+ [
58
+ /<!--/,
59
+ "comment.html",
60
+ "@comment"
61
+ ],
62
+ [/(<)(\w+)(\/>)/, [
63
+ "delimiter.html",
64
+ "tag.html",
65
+ "delimiter.html"
66
+ ]],
67
+ [/(<)(script)/, ["delimiter.html", {
68
+ token: "tag.html",
69
+ next: "@script"
70
+ }]],
71
+ [/(<)(style)/, ["delimiter.html", {
72
+ token: "tag.html",
73
+ next: "@style"
74
+ }]],
75
+ [/(<)([:\w]+)/, ["delimiter.html", {
76
+ token: "tag.html",
77
+ next: "@otherTag"
78
+ }]],
79
+ [/(<\/)(\w+)/, ["delimiter.html", {
80
+ token: "tag.html",
81
+ next: "@otherTag"
82
+ }]],
83
+ [/</, "delimiter.html"],
84
+ [/[^<]+/]
85
+ ],
86
+ doctype: [
87
+ [/<\?((php)|=)?/, {
88
+ token: "@rematch",
89
+ switchTo: "@phpInSimpleState.comment"
90
+ }],
91
+ [/[^>]+/, "metatag.content.html"],
92
+ [
93
+ />/,
94
+ "metatag.html",
95
+ "@pop"
96
+ ]
97
+ ],
98
+ comment: [
99
+ [/<\?((php)|=)?/, {
100
+ token: "@rematch",
101
+ switchTo: "@phpInSimpleState.comment"
102
+ }],
103
+ [
104
+ /-->/,
105
+ "comment.html",
106
+ "@pop"
107
+ ],
108
+ [/[^-]+/, "comment.content.html"],
109
+ [/./, "comment.content.html"]
110
+ ],
111
+ otherTag: [
112
+ [/<\?((php)|=)?/, {
113
+ token: "@rematch",
114
+ switchTo: "@phpInSimpleState.otherTag"
115
+ }],
116
+ [
117
+ /\/?>/,
118
+ "delimiter.html",
119
+ "@pop"
120
+ ],
121
+ [/"([^"]*)"/, "attribute.value"],
122
+ [/'([^']*)'/, "attribute.value"],
123
+ [/[\w\-]+/, "attribute.name"],
124
+ [/=/, "delimiter"],
125
+ [/[ \t\r\n]+/]
126
+ ],
127
+ script: [
128
+ [/<\?((php)|=)?/, {
129
+ token: "@rematch",
130
+ switchTo: "@phpInSimpleState.script"
131
+ }],
132
+ [
133
+ /type/,
134
+ "attribute.name",
135
+ "@scriptAfterType"
136
+ ],
137
+ [/"([^"]*)"/, "attribute.value"],
138
+ [/'([^']*)'/, "attribute.value"],
139
+ [/[\w\-]+/, "attribute.name"],
140
+ [/=/, "delimiter"],
141
+ [/>/, {
142
+ token: "delimiter.html",
143
+ next: "@scriptEmbedded.text/javascript",
144
+ nextEmbedded: "text/javascript"
145
+ }],
146
+ [/[ \t\r\n]+/],
147
+ [/(<\/)(script\s*)(>)/, [
148
+ "delimiter.html",
149
+ "tag.html",
150
+ {
151
+ token: "delimiter.html",
152
+ next: "@pop"
153
+ }
154
+ ]]
155
+ ],
156
+ scriptAfterType: [
157
+ [/<\?((php)|=)?/, {
158
+ token: "@rematch",
159
+ switchTo: "@phpInSimpleState.scriptAfterType"
160
+ }],
161
+ [
162
+ /=/,
163
+ "delimiter",
164
+ "@scriptAfterTypeEquals"
165
+ ],
166
+ [/>/, {
167
+ token: "delimiter.html",
168
+ next: "@scriptEmbedded.text/javascript",
169
+ nextEmbedded: "text/javascript"
170
+ }],
171
+ [/[ \t\r\n]+/],
172
+ [/<\/script\s*>/, {
173
+ token: "@rematch",
174
+ next: "@pop"
175
+ }]
176
+ ],
177
+ scriptAfterTypeEquals: [
178
+ [/<\?((php)|=)?/, {
179
+ token: "@rematch",
180
+ switchTo: "@phpInSimpleState.scriptAfterTypeEquals"
181
+ }],
182
+ [/"([^"]*)"/, {
183
+ token: "attribute.value",
184
+ switchTo: "@scriptWithCustomType.$1"
185
+ }],
186
+ [/'([^']*)'/, {
187
+ token: "attribute.value",
188
+ switchTo: "@scriptWithCustomType.$1"
189
+ }],
190
+ [/>/, {
191
+ token: "delimiter.html",
192
+ next: "@scriptEmbedded.text/javascript",
193
+ nextEmbedded: "text/javascript"
194
+ }],
195
+ [/[ \t\r\n]+/],
196
+ [/<\/script\s*>/, {
197
+ token: "@rematch",
198
+ next: "@pop"
199
+ }]
200
+ ],
201
+ scriptWithCustomType: [
202
+ [/<\?((php)|=)?/, {
203
+ token: "@rematch",
204
+ switchTo: "@phpInSimpleState.scriptWithCustomType.$S2"
205
+ }],
206
+ [/>/, {
207
+ token: "delimiter.html",
208
+ next: "@scriptEmbedded.$S2",
209
+ nextEmbedded: "$S2"
210
+ }],
211
+ [/"([^"]*)"/, "attribute.value"],
212
+ [/'([^']*)'/, "attribute.value"],
213
+ [/[\w\-]+/, "attribute.name"],
214
+ [/=/, "delimiter"],
215
+ [/[ \t\r\n]+/],
216
+ [/<\/script\s*>/, {
217
+ token: "@rematch",
218
+ next: "@pop"
219
+ }]
220
+ ],
221
+ scriptEmbedded: [[/<\?((php)|=)?/, {
222
+ token: "@rematch",
223
+ switchTo: "@phpInEmbeddedState.scriptEmbedded.$S2",
224
+ nextEmbedded: "@pop"
225
+ }], [/<\/script/, {
226
+ token: "@rematch",
227
+ next: "@pop",
228
+ nextEmbedded: "@pop"
229
+ }]],
230
+ style: [
231
+ [/<\?((php)|=)?/, {
232
+ token: "@rematch",
233
+ switchTo: "@phpInSimpleState.style"
234
+ }],
235
+ [
236
+ /type/,
237
+ "attribute.name",
238
+ "@styleAfterType"
239
+ ],
240
+ [/"([^"]*)"/, "attribute.value"],
241
+ [/'([^']*)'/, "attribute.value"],
242
+ [/[\w\-]+/, "attribute.name"],
243
+ [/=/, "delimiter"],
244
+ [/>/, {
245
+ token: "delimiter.html",
246
+ next: "@styleEmbedded.text/css",
247
+ nextEmbedded: "text/css"
248
+ }],
249
+ [/[ \t\r\n]+/],
250
+ [/(<\/)(style\s*)(>)/, [
251
+ "delimiter.html",
252
+ "tag.html",
253
+ {
254
+ token: "delimiter.html",
255
+ next: "@pop"
256
+ }
257
+ ]]
258
+ ],
259
+ styleAfterType: [
260
+ [/<\?((php)|=)?/, {
261
+ token: "@rematch",
262
+ switchTo: "@phpInSimpleState.styleAfterType"
263
+ }],
264
+ [
265
+ /=/,
266
+ "delimiter",
267
+ "@styleAfterTypeEquals"
268
+ ],
269
+ [/>/, {
270
+ token: "delimiter.html",
271
+ next: "@styleEmbedded.text/css",
272
+ nextEmbedded: "text/css"
273
+ }],
274
+ [/[ \t\r\n]+/],
275
+ [/<\/style\s*>/, {
276
+ token: "@rematch",
277
+ next: "@pop"
278
+ }]
279
+ ],
280
+ styleAfterTypeEquals: [
281
+ [/<\?((php)|=)?/, {
282
+ token: "@rematch",
283
+ switchTo: "@phpInSimpleState.styleAfterTypeEquals"
284
+ }],
285
+ [/"([^"]*)"/, {
286
+ token: "attribute.value",
287
+ switchTo: "@styleWithCustomType.$1"
288
+ }],
289
+ [/'([^']*)'/, {
290
+ token: "attribute.value",
291
+ switchTo: "@styleWithCustomType.$1"
292
+ }],
293
+ [/>/, {
294
+ token: "delimiter.html",
295
+ next: "@styleEmbedded.text/css",
296
+ nextEmbedded: "text/css"
297
+ }],
298
+ [/[ \t\r\n]+/],
299
+ [/<\/style\s*>/, {
300
+ token: "@rematch",
301
+ next: "@pop"
302
+ }]
303
+ ],
304
+ styleWithCustomType: [
305
+ [/<\?((php)|=)?/, {
306
+ token: "@rematch",
307
+ switchTo: "@phpInSimpleState.styleWithCustomType.$S2"
308
+ }],
309
+ [/>/, {
310
+ token: "delimiter.html",
311
+ next: "@styleEmbedded.$S2",
312
+ nextEmbedded: "$S2"
313
+ }],
314
+ [/"([^"]*)"/, "attribute.value"],
315
+ [/'([^']*)'/, "attribute.value"],
316
+ [/[\w\-]+/, "attribute.name"],
317
+ [/=/, "delimiter"],
318
+ [/[ \t\r\n]+/],
319
+ [/<\/style\s*>/, {
320
+ token: "@rematch",
321
+ next: "@pop"
322
+ }]
323
+ ],
324
+ styleEmbedded: [[/<\?((php)|=)?/, {
325
+ token: "@rematch",
326
+ switchTo: "@phpInEmbeddedState.styleEmbedded.$S2",
327
+ nextEmbedded: "@pop"
328
+ }], [/<\/style/, {
329
+ token: "@rematch",
330
+ next: "@pop",
331
+ nextEmbedded: "@pop"
332
+ }]],
333
+ phpInSimpleState: [
334
+ [/<\?((php)|=)?/, "metatag.php"],
335
+ [/\?>/, {
336
+ token: "metatag.php",
337
+ switchTo: "@$S2.$S3"
338
+ }],
339
+ { include: "phpRoot" }
340
+ ],
341
+ phpInEmbeddedState: [
342
+ [/<\?((php)|=)?/, "metatag.php"],
343
+ [/\?>/, {
344
+ token: "metatag.php",
345
+ switchTo: "@$S2.$S3",
346
+ nextEmbedded: "$S3"
347
+ }],
348
+ { include: "phpRoot" }
349
+ ],
350
+ phpRoot: [
351
+ [/[a-zA-Z_]\w*/, { cases: {
352
+ "@phpKeywords": { token: "keyword.php" },
353
+ "@phpCompileTimeConstants": { token: "constant.php" },
354
+ "@default": "identifier.php"
355
+ } }],
356
+ [/[$a-zA-Z_]\w*/, { cases: {
357
+ "@phpPreDefinedVariables": { token: "variable.predefined.php" },
358
+ "@default": "variable.php"
359
+ } }],
360
+ [/[{}]/, "delimiter.bracket.php"],
361
+ [/[\[\]]/, "delimiter.array.php"],
362
+ [/[()]/, "delimiter.parenthesis.php"],
363
+ [/[ \t\r\n]+/],
364
+ [/(#|\/\/)$/, "comment.php"],
365
+ [
366
+ /(#|\/\/)/,
367
+ "comment.php",
368
+ "@phpLineComment"
369
+ ],
370
+ [
371
+ /\/\*/,
372
+ "comment.php",
373
+ "@phpComment"
374
+ ],
375
+ [
376
+ /"/,
377
+ "string.php",
378
+ "@phpDoubleQuoteString"
379
+ ],
380
+ [
381
+ /'/,
382
+ "string.php",
383
+ "@phpSingleQuoteString"
384
+ ],
385
+ [/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/, "delimiter.php"],
386
+ [/\d*\d+[eE]([\-+]?\d+)?/, "number.float.php"],
387
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.php"],
388
+ [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.php"],
389
+ [/0[0-7']*[0-7]/, "number.octal.php"],
390
+ [/0[bB][0-1']*[0-1]/, "number.binary.php"],
391
+ [/\d[\d']*/, "number.php"],
392
+ [/\d/, "number.php"]
393
+ ],
394
+ phpComment: [
395
+ [
396
+ /\*\//,
397
+ "comment.php",
398
+ "@pop"
399
+ ],
400
+ [/[^*]+/, "comment.php"],
401
+ [/./, "comment.php"]
402
+ ],
403
+ phpLineComment: [
404
+ [/\?>/, {
405
+ token: "@rematch",
406
+ next: "@pop"
407
+ }],
408
+ [
409
+ /.$/,
410
+ "comment.php",
411
+ "@pop"
412
+ ],
413
+ [
414
+ /[^?]+$/,
415
+ "comment.php",
416
+ "@pop"
417
+ ],
418
+ [/[^?]+/, "comment.php"],
419
+ [/./, "comment.php"]
420
+ ],
421
+ phpDoubleQuoteString: [
422
+ [/[^\\"]+/, "string.php"],
423
+ [/@escapes/, "string.escape.php"],
424
+ [/\\./, "string.escape.invalid.php"],
425
+ [
426
+ /"/,
427
+ "string.php",
428
+ "@pop"
429
+ ]
430
+ ],
431
+ phpSingleQuoteString: [
432
+ [/[^\\']+/, "string.php"],
433
+ [/@escapes/, "string.escape.php"],
434
+ [/\\./, "string.escape.invalid.php"],
435
+ [
436
+ /'/,
437
+ "string.php",
438
+ "@pop"
439
+ ]
440
+ ]
441
+ },
442
+ phpKeywords: /* @__PURE__ */ "abstract.and.array.as.break.callable.case.catch.cfunction.class.clone.const.continue.declare.default.do.else.elseif.enddeclare.endfor.endforeach.endif.endswitch.endwhile.extends.false.final.for.foreach.function.global.goto.if.implements.interface.instanceof.insteadof.namespace.new.null.object.old_function.or.private.protected.public.resource.static.switch.throw.trait.try.true.use.var.while.xor.die.echo.empty.exit.eval.include.include_once.isset.list.require.require_once.return.print.unset.yield.__construct".split("."),
443
+ phpCompileTimeConstants: [
444
+ "__CLASS__",
445
+ "__DIR__",
446
+ "__FILE__",
447
+ "__LINE__",
448
+ "__NAMESPACE__",
449
+ "__METHOD__",
450
+ "__FUNCTION__",
451
+ "__TRAIT__"
452
+ ],
453
+ phpPreDefinedVariables: [
454
+ "$GLOBALS",
455
+ "$_SERVER",
456
+ "$_GET",
457
+ "$_POST",
458
+ "$_FILES",
459
+ "$_REQUEST",
460
+ "$_SESSION",
461
+ "$_ENV",
462
+ "$_COOKIE",
463
+ "$php_errormsg",
464
+ "$HTTP_RAW_POST_DATA",
465
+ "$http_response_header",
466
+ "$argc",
467
+ "$argv"
468
+ ],
469
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
470
+ };
471
+ export { conf, language };
@@ -0,0 +1 @@
1
+ const e=require(`./chunk-BjqF3vbe.cjs`);var t={comments:{lineComment:`#`},brackets:[[`[`,`]`],[`<`,`>`],[`(`,`)`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`<`,close:`>`},{open:`(`,close:`)`}],surroundingPairs:[{open:`[`,close:`]`},{open:`<`,close:`>`},{open:`(`,close:`)`}]},n={defaultToken:``,tokenPostfix:`.pla`,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`<`,close:`>`,token:`delimiter.angle`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],keywords:[`.i`,`.o`,`.mv`,`.ilb`,`.ob`,`.label`,`.type`,`.phase`,`.pair`,`.symbolic`,`.symbolic-output`,`.kiss`,`.p`,`.e`,`.end`],comment:/#.*$/,identifier:/[a-zA-Z]+[a-zA-Z0-9_\-]*/,plaContent:/[01\-~\|]+/,tokenizer:{root:[{include:`@whitespace`},[/@comment/,`comment`],[/\.([a-zA-Z_\-]+)/,{cases:{"@eos":{token:`keyword.$1`},"@keywords":{cases:{".type":{token:`keyword.$1`,next:`@type`},"@default":{token:`keyword.$1`,next:`@keywordArg`}}},"@default":{token:`keyword.$1`}}}],[/@identifier/,`identifier`],[/@plaContent/,`string`]],whitespace:[[/[ \t\r\n]+/,``]],type:[{include:`@whitespace`},[/\w+/,{token:`type`,next:`@pop`}]],keywordArg:[[/[ \t\r\n]+/,{cases:{"@eos":{token:``,next:`@pop`},"@default":``}}],[/@comment/,`comment`,`@pop`],[/[<>()\[\]]/,{cases:{"@eos":{token:`@brackets`,next:`@pop`},"@default":`@brackets`}}],[/\-?\d+/,{cases:{"@eos":{token:`number`,next:`@pop`},"@default":`number`}}],[/@identifier/,{cases:{"@eos":{token:`identifier`,next:`@pop`},"@default":`identifier`}}],[/[;=]/,{cases:{"@eos":{token:`delimiter`,next:`@pop`},"@default":`delimiter`}}]]}};exports.conf=t,exports.language=n;
@@ -0,0 +1,146 @@
1
+ var conf = {
2
+ comments: { lineComment: "#" },
3
+ brackets: [
4
+ ["[", "]"],
5
+ ["<", ">"],
6
+ ["(", ")"]
7
+ ],
8
+ autoClosingPairs: [
9
+ {
10
+ open: "[",
11
+ close: "]"
12
+ },
13
+ {
14
+ open: "<",
15
+ close: ">"
16
+ },
17
+ {
18
+ open: "(",
19
+ close: ")"
20
+ }
21
+ ],
22
+ surroundingPairs: [
23
+ {
24
+ open: "[",
25
+ close: "]"
26
+ },
27
+ {
28
+ open: "<",
29
+ close: ">"
30
+ },
31
+ {
32
+ open: "(",
33
+ close: ")"
34
+ }
35
+ ]
36
+ }, language = {
37
+ defaultToken: "",
38
+ tokenPostfix: ".pla",
39
+ brackets: [
40
+ {
41
+ open: "[",
42
+ close: "]",
43
+ token: "delimiter.square"
44
+ },
45
+ {
46
+ open: "<",
47
+ close: ">",
48
+ token: "delimiter.angle"
49
+ },
50
+ {
51
+ open: "(",
52
+ close: ")",
53
+ token: "delimiter.parenthesis"
54
+ }
55
+ ],
56
+ keywords: [
57
+ ".i",
58
+ ".o",
59
+ ".mv",
60
+ ".ilb",
61
+ ".ob",
62
+ ".label",
63
+ ".type",
64
+ ".phase",
65
+ ".pair",
66
+ ".symbolic",
67
+ ".symbolic-output",
68
+ ".kiss",
69
+ ".p",
70
+ ".e",
71
+ ".end"
72
+ ],
73
+ comment: /#.*$/,
74
+ identifier: /[a-zA-Z]+[a-zA-Z0-9_\-]*/,
75
+ plaContent: /[01\-~\|]+/,
76
+ tokenizer: {
77
+ root: [
78
+ { include: "@whitespace" },
79
+ [/@comment/, "comment"],
80
+ [/\.([a-zA-Z_\-]+)/, { cases: {
81
+ "@eos": { token: "keyword.$1" },
82
+ "@keywords": { cases: {
83
+ ".type": {
84
+ token: "keyword.$1",
85
+ next: "@type"
86
+ },
87
+ "@default": {
88
+ token: "keyword.$1",
89
+ next: "@keywordArg"
90
+ }
91
+ } },
92
+ "@default": { token: "keyword.$1" }
93
+ } }],
94
+ [/@identifier/, "identifier"],
95
+ [/@plaContent/, "string"]
96
+ ],
97
+ whitespace: [[/[ \t\r\n]+/, ""]],
98
+ type: [{ include: "@whitespace" }, [/\w+/, {
99
+ token: "type",
100
+ next: "@pop"
101
+ }]],
102
+ keywordArg: [
103
+ [/[ \t\r\n]+/, { cases: {
104
+ "@eos": {
105
+ token: "",
106
+ next: "@pop"
107
+ },
108
+ "@default": ""
109
+ } }],
110
+ [
111
+ /@comment/,
112
+ "comment",
113
+ "@pop"
114
+ ],
115
+ [/[<>()\[\]]/, { cases: {
116
+ "@eos": {
117
+ token: "@brackets",
118
+ next: "@pop"
119
+ },
120
+ "@default": "@brackets"
121
+ } }],
122
+ [/\-?\d+/, { cases: {
123
+ "@eos": {
124
+ token: "number",
125
+ next: "@pop"
126
+ },
127
+ "@default": "number"
128
+ } }],
129
+ [/@identifier/, { cases: {
130
+ "@eos": {
131
+ token: "identifier",
132
+ next: "@pop"
133
+ },
134
+ "@default": "identifier"
135
+ } }],
136
+ [/[;=]/, { cases: {
137
+ "@eos": {
138
+ token: "delimiter",
139
+ next: "@pop"
140
+ },
141
+ "@default": "delimiter"
142
+ } }]
143
+ ]
144
+ }
145
+ };
146
+ export { conf, language };