@dylanpiercey/work 0.0.12 → 0.0.14

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 (154) hide show
  1. package/bin/work.mjs +107 -0
  2. package/dist/index.mjs +3 -3
  3. package/dist/public/assets/{_CJfh1bA_.js → _1PYA5v6h.js} +2 -2
  4. package/dist/public/assets/{_CJfh1bA_.js.map → _1PYA5v6h.js.map} +1 -1
  5. package/dist/public/assets/{_D8DKeNtk2.js → _37DiDfEe2.js} +2 -2
  6. package/dist/public/assets/{_D8DKeNtk2.js.map → _37DiDfEe2.js.map} +1 -1
  7. package/dist/public/assets/{_BtGc54QO.js → _4GBVe70g.js} +2 -2
  8. package/dist/public/assets/{_BtGc54QO.js.map → _4GBVe70g.js.map} +1 -1
  9. package/dist/public/assets/{_DtW-KREB.js → _BDmZKLpT.js} +2 -2
  10. package/dist/public/assets/{_DtW-KREB.js.map → _BDmZKLpT.js.map} +1 -1
  11. package/dist/public/assets/{_CTwY-w6f2.js → _BFL5ebqS2.js} +2 -2
  12. package/dist/public/assets/{_CTwY-w6f2.js.map → _BFL5ebqS2.js.map} +1 -1
  13. package/dist/public/assets/{_BD3GuTLe.js → _BMjt74CT.js} +2 -2
  14. package/dist/public/assets/{_BD3GuTLe.js.map → _BMjt74CT.js.map} +1 -1
  15. package/dist/public/assets/{_CCOa-67I.js → _BS5HCQXD.js} +2 -2
  16. package/dist/public/assets/{_CCOa-67I.js.map → _BS5HCQXD.js.map} +1 -1
  17. package/dist/public/assets/{_vvqUsxvZ.js → _BUYXKQWK.js} +2 -2
  18. package/dist/public/assets/{_vvqUsxvZ.js.map → _BUYXKQWK.js.map} +1 -1
  19. package/dist/public/assets/{_DU_7z2vs.js → _BXjUVBpA.js} +2 -2
  20. package/dist/public/assets/{_DU_7z2vs.js.map → _BXjUVBpA.js.map} +1 -1
  21. package/dist/public/assets/{_GlOqBOcg2.js → _BYe0JdJ12.js} +2 -2
  22. package/dist/public/assets/{_GlOqBOcg2.js.map → _BYe0JdJ12.js.map} +1 -1
  23. package/dist/public/assets/{_BH3qAqXE.js → _BZImyte8.js} +2 -2
  24. package/dist/public/assets/{_BH3qAqXE.js.map → _BZImyte8.js.map} +1 -1
  25. package/dist/public/assets/{_B6OKTJ3U.js → _Bh5KV4D5.js} +2 -2
  26. package/dist/public/assets/{_B6OKTJ3U.js.map → _Bh5KV4D5.js.map} +1 -1
  27. package/dist/public/assets/{_DmaZeTni.js → _BhcPbeCA.js} +2 -2
  28. package/dist/public/assets/{_DmaZeTni.js.map → _BhcPbeCA.js.map} +1 -1
  29. package/dist/public/assets/{_CnphyoYq.js → _BkasMCr7.js} +2 -2
  30. package/dist/public/assets/{_CnphyoYq.js.map → _BkasMCr7.js.map} +1 -1
  31. package/dist/public/assets/{_Dp25UBl7.js → _BlHZ_Kf_.js} +2 -2
  32. package/dist/public/assets/{_Dp25UBl7.js.map → _BlHZ_Kf_.js.map} +1 -1
  33. package/dist/public/assets/{_CCWd2cbl.js → _Brp01NXq.js} +2 -2
  34. package/dist/public/assets/{_CCWd2cbl.js.map → _Brp01NXq.js.map} +1 -1
  35. package/dist/public/assets/{_LLhMP4fB2.js → _BsdChN-o2.js} +2 -2
  36. package/dist/public/assets/{_LLhMP4fB2.js.map → _BsdChN-o2.js.map} +1 -1
  37. package/dist/public/assets/{_Ca6yBPZK2.js → _BtX0OV9L2.js} +2 -2
  38. package/dist/public/assets/{_Ca6yBPZK2.js.map → _BtX0OV9L2.js.map} +1 -1
  39. package/dist/public/assets/{_B8okAqG-.js → _BwfU4p-S.js} +2 -2
  40. package/dist/public/assets/{_B8okAqG-.js.map → _BwfU4p-S.js.map} +1 -1
  41. package/dist/public/assets/{_xHfOHdoE2.js → _ByVrIZCY2.js} +2 -2
  42. package/dist/public/assets/{_xHfOHdoE2.js.map → _ByVrIZCY2.js.map} +1 -1
  43. package/dist/public/assets/{_BCDnEeXi2.js → _Bym_871-2.js} +2 -2
  44. package/dist/public/assets/{_BCDnEeXi2.js.map → _Bym_871-2.js.map} +1 -1
  45. package/dist/public/assets/{__Q8ATTST.js → _C-2JDMwn.js} +2 -2
  46. package/dist/public/assets/{__Q8ATTST.js.map → _C-2JDMwn.js.map} +1 -1
  47. package/dist/public/assets/{_K6YjF5HA2.js → _C36kllbW2.js} +2 -2
  48. package/dist/public/assets/{_K6YjF5HA2.js.map → _C36kllbW2.js.map} +1 -1
  49. package/dist/public/assets/{_CvIA8snX.js → _C3JXJPv9.js} +2 -2
  50. package/dist/public/assets/{_CvIA8snX.js.map → _C3JXJPv9.js.map} +1 -1
  51. package/dist/public/assets/{_BuU3dU-v.js → _CBAwKZ_C.js} +2 -2
  52. package/dist/public/assets/{_BuU3dU-v.js.map → _CBAwKZ_C.js.map} +1 -1
  53. package/dist/public/assets/{_DDtfsPTV.js → _CCYH4Ky0.js} +2 -2
  54. package/dist/public/assets/{_DDtfsPTV.js.map → _CCYH4Ky0.js.map} +1 -1
  55. package/dist/public/assets/{_9XtunSg7.js → _CGKi9mEa.js} +2 -2
  56. package/dist/public/assets/{_9XtunSg7.js.map → _CGKi9mEa.js.map} +1 -1
  57. package/dist/public/assets/{_speyknRe2.js → _CNm-Qj_22.js} +2 -2
  58. package/dist/public/assets/{_speyknRe2.js.map → _CNm-Qj_22.js.map} +1 -1
  59. package/dist/public/assets/{_rdXXJ91o.js → _CYGmgYex.js} +2 -2
  60. package/dist/public/assets/{_rdXXJ91o.js.map → _CYGmgYex.js.map} +1 -1
  61. package/dist/public/assets/{_BLA94hyL.js → _C_HKi7R3.js} +2 -2
  62. package/dist/public/assets/{_BLA94hyL.js.map → _C_HKi7R3.js.map} +1 -1
  63. package/dist/public/assets/{_CxVlY1q1.js → _Cbd9gTf8.js} +2 -2
  64. package/dist/public/assets/{_CxVlY1q1.js.map → _Cbd9gTf8.js.map} +1 -1
  65. package/dist/public/assets/{_DrB0wHeE.js → _CcY_fkdX.js} +2 -2
  66. package/dist/public/assets/{_DrB0wHeE.js.map → _CcY_fkdX.js.map} +1 -1
  67. package/dist/public/assets/{_CNPd6AKz2.js → _CccTxCW92.js} +2 -2
  68. package/dist/public/assets/{_CNPd6AKz2.js.map → _CccTxCW92.js.map} +1 -1
  69. package/dist/public/assets/{_Cm86uuyb.js → _CcuBmBFx.js} +2 -2
  70. package/dist/public/assets/{_Cm86uuyb.js.map → _CcuBmBFx.js.map} +1 -1
  71. package/dist/public/assets/{_DH0HY4Nr.js → _Ce1AxkTQ.js} +2 -2
  72. package/dist/public/assets/{_DH0HY4Nr.js.map → _Ce1AxkTQ.js.map} +1 -1
  73. package/dist/public/assets/{_CzGoLHpy.js → _ChmfpmBk.js} +2 -2
  74. package/dist/public/assets/{_CzGoLHpy.js.map → _ChmfpmBk.js.map} +1 -1
  75. package/dist/public/assets/{_BmaVzQYH2.js → _Ci9zG2ie2.js} +2 -2
  76. package/dist/public/assets/{_BmaVzQYH2.js.map → _Ci9zG2ie2.js.map} +1 -1
  77. package/dist/public/assets/{_B7X9man_.js → _ClgMqvJk.js} +2 -2
  78. package/dist/public/assets/{_B7X9man_.js.map → _ClgMqvJk.js.map} +1 -1
  79. package/dist/public/assets/{_CvPUh_B0.js → _Cs6eIEq5.js} +2 -2
  80. package/dist/public/assets/{_CvPUh_B0.js.map → _Cs6eIEq5.js.map} +1 -1
  81. package/dist/public/assets/{_BpWV4xDR2.js → _Cv9uSMiO2.js} +2 -2
  82. package/dist/public/assets/{_BpWV4xDR2.js.map → _Cv9uSMiO2.js.map} +1 -1
  83. package/dist/public/assets/{_Ne8qEUH82.js → _D5PUFlIB2.js} +2 -2
  84. package/dist/public/assets/{_Ne8qEUH82.js.map → _D5PUFlIB2.js.map} +1 -1
  85. package/dist/public/assets/{_DQxqrF2p2.js → _D6hErX6k2.js} +2 -2
  86. package/dist/public/assets/{_DQxqrF2p2.js.map → _D6hErX6k2.js.map} +1 -1
  87. package/dist/public/assets/{_CXQQiNs1.js → _D7Nr1Fkx.js} +2 -2
  88. package/dist/public/assets/{_CXQQiNs1.js.map → _D7Nr1Fkx.js.map} +1 -1
  89. package/dist/public/assets/{_DoNipARR.js → _DEubpY7q.js} +2 -2
  90. package/dist/public/assets/{_DoNipARR.js.map → _DEubpY7q.js.map} +1 -1
  91. package/dist/public/assets/{_BOMR_lTT.js → _DG7JD0Wq.js} +2 -2
  92. package/dist/public/assets/{_BOMR_lTT.js.map → _DG7JD0Wq.js.map} +1 -1
  93. package/dist/public/assets/{_Ct7oMGlY2.js → _DGEc5tY92.js} +2 -2
  94. package/dist/public/assets/{_Ct7oMGlY2.js.map → _DGEc5tY92.js.map} +1 -1
  95. package/dist/public/assets/{_B31BFjeo.js → _DHF6f-Qb.js} +2 -2
  96. package/dist/public/assets/{_B31BFjeo.js.map → _DHF6f-Qb.js.map} +1 -1
  97. package/dist/public/assets/{_CypNdMTQ.js → _DIqHX5oS.js} +2 -2
  98. package/dist/public/assets/{_CypNdMTQ.js.map → _DIqHX5oS.js.map} +1 -1
  99. package/dist/public/assets/{_CLa87tfT.js → _DLfg1G6i.js} +2 -2
  100. package/dist/public/assets/{_CLa87tfT.js.map → _DLfg1G6i.js.map} +1 -1
  101. package/dist/public/assets/{_Cs2xR5zT.js → _DOlpOlzZ.js} +2 -2
  102. package/dist/public/assets/{_Cs2xR5zT.js.map → _DOlpOlzZ.js.map} +1 -1
  103. package/dist/public/assets/{_v0CL1jTB.js → _DQ9zeCqC.js} +2 -2
  104. package/dist/public/assets/{_v0CL1jTB.js.map → _DQ9zeCqC.js.map} +1 -1
  105. package/dist/public/assets/{_Gpz7cA9P.js → _DR5ZG0w3.js} +2 -2
  106. package/dist/public/assets/{_Gpz7cA9P.js.map → _DR5ZG0w3.js.map} +1 -1
  107. package/dist/public/assets/{_B4U6RXlg.js → _DVj22Fhb.js} +2 -2
  108. package/dist/public/assets/{_B4U6RXlg.js.map → _DVj22Fhb.js.map} +1 -1
  109. package/dist/public/assets/{_CKHJpMi32.js → _DWNYhaMZ2.js} +2 -2
  110. package/dist/public/assets/{_CKHJpMi32.js.map → _DWNYhaMZ2.js.map} +1 -1
  111. package/dist/public/assets/{_UABdeDPG.js → _DWltXATi.js} +2 -2
  112. package/dist/public/assets/{_UABdeDPG.js.map → _DWltXATi.js.map} +1 -1
  113. package/dist/public/assets/{_BzmURZrG2.js → _DZAVCSn-2.js} +2 -2
  114. package/dist/public/assets/{_BzmURZrG2.js.map → _DZAVCSn-2.js.map} +1 -1
  115. package/dist/public/assets/{_VpkJ9R4I2.js → _DbhzZP5E2.js} +2 -2
  116. package/dist/public/assets/{_VpkJ9R4I2.js.map → _DbhzZP5E2.js.map} +1 -1
  117. package/dist/public/assets/{_BP3KIWZr.js → _Ddhm-dQX.js} +2 -2
  118. package/dist/public/assets/{_BP3KIWZr.js.map → _Ddhm-dQX.js.map} +1 -1
  119. package/dist/public/assets/{_Bw-xXnfr2.js → _DhTbYHFb2.js} +2 -2
  120. package/dist/public/assets/{_Bw-xXnfr2.js.map → _DhTbYHFb2.js.map} +1 -1
  121. package/dist/public/assets/{_ioxvNBlq2.js → _Dr7LwIoY2.js} +2 -2
  122. package/dist/public/assets/{_ioxvNBlq2.js.map → _Dr7LwIoY2.js.map} +1 -1
  123. package/dist/public/assets/{_Dvy34Yg_2.js → _DtifEQOQ2.js} +2 -2
  124. package/dist/public/assets/{_Dvy34Yg_2.js.map → _DtifEQOQ2.js.map} +1 -1
  125. package/dist/public/assets/{_wyUUoFip.js → _Euo_IdCD.js} +2 -2
  126. package/dist/public/assets/{_wyUUoFip.js.map → _Euo_IdCD.js.map} +1 -1
  127. package/dist/public/assets/{_C0VVn7_H.js → _K5NvnxJU.js} +2 -2
  128. package/dist/public/assets/{_C0VVn7_H.js.map → _K5NvnxJU.js.map} +1 -1
  129. package/dist/public/assets/{_BsL8kuCs.js → _LszNpqGA.js} +2 -2
  130. package/dist/public/assets/{_BsL8kuCs.js.map → _LszNpqGA.js.map} +1 -1
  131. package/dist/public/assets/{_RHQKbTNw.js → _NdVLMlDn.js} +2 -2
  132. package/dist/public/assets/{_RHQKbTNw.js.map → _NdVLMlDn.js.map} +1 -1
  133. package/dist/public/assets/{_D0UH-qzF.js → _VkiUGcZN.js} +2 -2
  134. package/dist/public/assets/{_D0UH-qzF.js.map → _VkiUGcZN.js.map} +1 -1
  135. package/dist/public/assets/{_CqX4LQGj2.js → _YnlBl5Ip2.js} +2 -2
  136. package/dist/public/assets/{_CqX4LQGj2.js.map → _YnlBl5Ip2.js.map} +1 -1
  137. package/dist/public/assets/{_BMK2JGG-2.js → __Pss17dn2.js} +2 -2
  138. package/dist/public/assets/{_BMK2JGG-2.js.map → __Pss17dn2.js.map} +1 -1
  139. package/dist/public/assets/{_-gyK8vJ-.js → _d4DNovnq.js} +2 -2
  140. package/dist/public/assets/{_-gyK8vJ-.js.map → _d4DNovnq.js.map} +1 -1
  141. package/dist/public/assets/{__WU9JTqk.js → _lzPB5GF7.js} +2 -2
  142. package/dist/public/assets/{__WU9JTqk.js.map → _lzPB5GF7.js.map} +1 -1
  143. package/dist/public/assets/{_l-4CNi-P.js → _mWkgrXwR.js} +2 -2
  144. package/dist/public/assets/{_l-4CNi-P.js.map → _mWkgrXwR.js.map} +1 -1
  145. package/dist/public/assets/{_DXjhrVim2.js → _wd5Ka9-u2.js} +2 -2
  146. package/dist/public/assets/{_DXjhrVim2.js.map → _wd5Ka9-u2.js.map} +1 -1
  147. package/dist/public/assets/{_Brh7taK_.js → _xTZ99WxP.js} +2 -2
  148. package/dist/public/assets/{_Brh7taK_.js.map → _xTZ99WxP.js.map} +1 -1
  149. package/dist/public/assets/{_VdrzhuKU.js → _yp1JBHQQ.js} +2 -2
  150. package/dist/public/assets/{_VdrzhuKU.js.map → _yp1JBHQQ.js.map} +1 -1
  151. package/dist/public/assets/{index-DMpI1yWM.js → index-DQjYJ4v3.js} +4 -4
  152. package/dist/public/assets/index-DQjYJ4v3.js.map +1 -0
  153. package/package.json +1 -1
  154. package/dist/public/assets/index-DMpI1yWM.js.map +0 -1
package/bin/work.mjs CHANGED
@@ -208,7 +208,114 @@ function serviceEnv() {
208
208
  return env;
209
209
  }
210
210
 
211
+ /** True when `cmd` is a work *server* (not `work setup` / `work update`). */
212
+ function isWorkServerCmd(cmd) {
213
+ if (/\bwork(\.mjs)?\s+(setup|update|version)\b/.test(cmd)) return false;
214
+ return (
215
+ /\bwork\.mjs\s+start\b/.test(cmd) ||
216
+ /\bwork\s+start\b/.test(cmd) ||
217
+ /run-prod\.sh/.test(cmd) ||
218
+ /work server is running/.test(cmd) ||
219
+ (/@dylanpiercey\/work\//.test(cmd) && !/\bnpm\b/.test(cmd)) ||
220
+ /\/work\/\S*\/dist\/index\.mjs/.test(cmd)
221
+ );
222
+ }
223
+
224
+ function pidsListening(port) {
225
+ const lsof = spawnSync(
226
+ "lsof",
227
+ ["-nP", `-iTCP:${port}`, "-sTCP:LISTEN", "-t"],
228
+ { encoding: "utf8" },
229
+ );
230
+ if (lsof.stdout) {
231
+ return [
232
+ ...new Set(
233
+ lsof.stdout
234
+ .trim()
235
+ .split(/\s+/)
236
+ .map(Number)
237
+ .filter((n) => n > 1 && n !== process.pid),
238
+ ),
239
+ ];
240
+ }
241
+ const ss = spawnSync("ss", ["-ltnp", `sport = :${port}`], { encoding: "utf8" });
242
+ const pids = [];
243
+ for (const m of (ss.stdout || "").matchAll(/pid=(\d+)/g)) {
244
+ const pid = Number(m[1]);
245
+ if (pid > 1 && pid !== process.pid) pids.push(pid);
246
+ }
247
+ return [...new Set(pids)];
248
+ }
249
+
250
+ function workServerPids() {
251
+ const out = spawnSync("ps", ["-ax", "-o", "pid=,command="], {
252
+ encoding: "utf8",
253
+ });
254
+ const pids = [];
255
+ for (const line of (out.stdout || "").split("\n")) {
256
+ const m = line.trim().match(/^(\d+)\s+(.*)$/);
257
+ if (!m) continue;
258
+ const pid = Number(m[1]);
259
+ if (pid === process.pid || pid === process.ppid) continue;
260
+ if (isWorkServerCmd(m[2])) pids.push(pid);
261
+ }
262
+ return pids;
263
+ }
264
+
265
+ function killPids(pids, signal) {
266
+ for (const pid of pids) {
267
+ try {
268
+ process.kill(pid, signal);
269
+ } catch {}
270
+ }
271
+ }
272
+
273
+ /** Stop the managed service *and* any leftover checkout / `work start`
274
+ * process still bound to the port. A pre-npm install often wasn't the
275
+ * current unit (or was a bare node), so restarting work.service left it
276
+ * sitting in front of the new one. */
277
+ function stopOldCopies(port) {
278
+ log("stopping any previous work server");
279
+ if (process.platform === "darwin") {
280
+ const uid = process.getuid();
281
+ spawnSync("launchctl", ["bootout", `gui/${uid}/dev.work.app`], {
282
+ stdio: "ignore",
283
+ });
284
+ const agents = path.join(os.homedir(), "Library/LaunchAgents");
285
+ try {
286
+ for (const name of fs.readdirSync(agents)) {
287
+ if (!name.endsWith(".plist")) continue;
288
+ const file = path.join(agents, name);
289
+ const text = fs.readFileSync(file, "utf8");
290
+ if (!/dev\.work\.app|work\.mjs|run-prod\.sh|@dylanpiercey\/work/.test(text))
291
+ continue;
292
+ const label = text.match(
293
+ /<key>Label<\/key>\s*<string>([^<]+)<\/string>/,
294
+ )?.[1];
295
+ if (label) {
296
+ spawnSync("launchctl", ["bootout", `gui/${uid}/${label}`], {
297
+ stdio: "ignore",
298
+ });
299
+ }
300
+ }
301
+ } catch {}
302
+ } else if (have("systemctl")) {
303
+ spawnSync("systemctl", ["--user", "stop", "work.service"], {
304
+ stdio: "ignore",
305
+ });
306
+ }
307
+ const seen = new Set([...pidsListening(port), ...workServerPids()]);
308
+ if (seen.size) {
309
+ log(`stopping ${seen.size} leftover work process(es)`);
310
+ killPids(seen, "SIGTERM");
311
+ spawnSync("sleep", ["0.4"], { stdio: "ignore" });
312
+ }
313
+ killPids(pidsListening(port), "SIGKILL");
314
+ }
315
+
211
316
  function installService() {
317
+ const port = serviceEnv().PORT;
318
+ stopOldCopies(port);
212
319
  const cliPath = fileURLToPath(import.meta.url);
213
320
  if (process.platform === "darwin") {
214
321
  const plist = serviceFile();
package/dist/index.mjs CHANGED
@@ -6660,8 +6660,8 @@ var term_default = _template("o", (input) => {
6660
6660
  af: startHold,
6661
6661
  ag: stopHold,
6662
6662
  ah: uploadAsset,
6663
- aj: handlePasted,
6664
- ak: pasteClipboard,
6663
+ ak: handlePasted,
6664
+ al: pasteClipboard,
6665
6665
  ar: $si__input_sessionId && $input_sessionId__closures,
6666
6666
  as: $si__input_onRenameSession && $input_onRenameSession__closures,
6667
6667
  at: $si__input_onCloseSession && $input_onCloseSession__closures,
@@ -21697,4 +21697,4 @@ server.listen(port, () => {
21697
21697
  //#endregion
21698
21698
  export {};
21699
21699
 
21700
- ;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-CExZozP4.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-CExZozP4.css\"",">"],"defer":[2,"/assets/index-DMpI1yWM.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-DMpI1yWM.js\"","></script>"]}};
21700
+ ;var __MARKO_MANIFEST__={"esfPH6H":{"block":[2,"stylesheet#/assets/index-CExZozP4.css",6,"<link",0," rel=\"stylesheet\" crossorigin href=\"",1,"assets/index-CExZozP4.css\"",">"],"defer":[2,"/assets/index-DQjYJ4v3.js",6,"<script",0," async type=\"module\" crossorigin src=\"",1,"assets/index-DQjYJ4v3.js\"","></script>"]}};
@@ -1,2 +1,2 @@
1
- import{t as e}from"./_RHQKbTNw.js";var t=Object.freeze(JSON.parse(`{"displayName":"Elixir","fileTypes":["ex","exs"],"firstLineMatch":"^#!/.*\\\\belixir","foldingStartMarker":"(after|else|catch|rescue|->|[\\\\[{]|do)\\\\s*$","foldingStopMarker":"^\\\\s*(([]}]|after|else|catch|rescue)\\\\s*$|end\\\\b)","name":"elixir","patterns":[{"begin":"\\\\b(fn)\\\\b(?!.*->)","beginCaptures":{"1":{"name":"keyword.control.elixir"}},"end":"$","patterns":[{"include":"#core_syntax"}]},{"captures":{"1":{"name":"entity.name.type.class.elixir"},"2":{"name":"punctuation.separator.method.elixir"},"3":{"name":"entity.name.function.elixir"}},"match":"([A-Z]\\\\w+)\\\\s*(\\\\.)\\\\s*([_a-z]\\\\w*[!?]?)"},{"captures":{"1":{"name":"constant.other.symbol.elixir"},"2":{"name":"punctuation.separator.method.elixir"},"3":{"name":"entity.name.function.elixir"}},"match":"(:\\\\w+)\\\\s*(\\\\.)\\\\s*(_?\\\\w*[!?]?)"},{"captures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"entity.name.function.elixir"}},"match":"(\\\\|>)\\\\s*([_a-z]\\\\w*[!?]?)"},{"match":"\\\\b[_a-z]\\\\w*[!?]?(?=\\\\s*\\\\.?\\\\s*\\\\()","name":"entity.name.function.elixir"},{"begin":"\\\\b(fn)\\\\b(?=.*->)","beginCaptures":{"1":{"name":"keyword.control.elixir"}},"end":"(?>(->)|(when)|(\\\\)))","endCaptures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"keyword.control.elixir"},"3":{"name":"punctuation.section.function.elixir"}},"patterns":[{"include":"#core_syntax"}]},{"include":"#core_syntax"},{"begin":"^(?=.*->)((?![^\\"']*([\\"'])[^\\"']*->)|(?=.*->[^\\"']*([\\"'])[^\\"']*->))((?!.*\\\\([^)]*->)|(?=[^()]*->)|(?=\\\\s*\\\\(.*\\\\).*->))((?!.*\\\\b(fn)\\\\b)|(?=.*->.*\\\\bfn\\\\b))","beginCaptures":{"1":{"name":"keyword.control.elixir"}},"end":"(?>(->)|(when)|(\\\\)))","endCaptures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"keyword.control.elixir"},"3":{"name":"punctuation.section.function.elixir"}},"patterns":[{"include":"#core_syntax"}]}],"repository":{"core_syntax":{"patterns":[{"begin":"^\\\\s*(defmodule)\\\\b","beginCaptures":{"1":{"name":"keyword.control.module.elixir"}},"end":"\\\\b(do)\\\\b","endCaptures":{"1":{"name":"keyword.control.module.elixir"}},"name":"meta.module.elixir","patterns":[{"match":"\\\\b[A-Z]\\\\w*(?=\\\\.)","name":"entity.other.inherited-class.elixir"},{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.class.elixir"}]},{"begin":"^\\\\s*(defprotocol)\\\\b","beginCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"end":"\\\\b(do)\\\\b","endCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"name":"meta.protocol_declaration.elixir","patterns":[{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.protocol.elixir"}]},{"begin":"^\\\\s*(defimpl)\\\\b","beginCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"end":"\\\\b(do)\\\\b","endCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"name":"meta.protocol_implementation.elixir","patterns":[{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.protocol.elixir"}]},{"begin":"^\\\\s*(def(?:|macro|delegate|guard))\\\\s+((?>[A-Z_a-z]\\\\w*(?>\\\\.|::))?(?>[A-Z_a-z]\\\\w*(?>[!?]|=(?!>))?|===?|>[=>]?|<=>|<[<=]?|[%\\\\&/\`|]|\\\\*\\\\*?|=?~|[-+]@?|\\\\[]=?))((\\\\()|\\\\s*)","beginCaptures":{"1":{"name":"keyword.control.module.elixir"},"2":{"name":"entity.name.function.public.elixir"},"4":{"name":"punctuation.section.function.elixir"}},"end":"\\\\b(do:)|\\\\b(do)\\\\b|(?=\\\\s+(def(?:|n|macro|delegate|guard))\\\\b)","endCaptures":{"1":{"name":"constant.other.keywords.elixir"},"2":{"name":"keyword.control.module.elixir"}},"name":"meta.function.public.elixir","patterns":[{"include":"$self"},{"begin":"\\\\s(\\\\\\\\\\\\\\\\)","beginCaptures":{"1":{"name":"keyword.operator.other.elixir"}},"end":"[),]|$","patterns":[{"include":"$self"}]},{"match":"\\\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\\\b","name":"keyword.control.elixir"}]},{"begin":"^\\\\s*(def(?:|n|macro|guard)p)\\\\s+((?>[A-Z_a-z]\\\\w*(?>\\\\.|::))?(?>[A-Z_a-z]\\\\w*(?>[!?]|=(?!>))?|===?|>[=>]?|<=>|<[<=]?|[%\\\\&/\`|]|\\\\*\\\\*?|=?~|[-+]@?|\\\\[]=?))((\\\\()|\\\\s*)","beginCaptures":{"1":{"name":"keyword.control.module.elixir"},"2":{"name":"entity.name.function.private.elixir"},"4":{"name":"punctuation.section.function.elixir"}},"end":"\\\\b(do:)|\\\\b(do)\\\\b|(?=\\\\s+(def(?:p|macrop|guardp))\\\\b)","endCaptures":{"1":{"name":"constant.other.keywords.elixir"},"2":{"name":"keyword.control.module.elixir"}},"name":"meta.function.private.elixir","patterns":[{"include":"$self"},{"begin":"\\\\s(\\\\\\\\\\\\\\\\)","beginCaptures":{"1":{"name":"keyword.operator.other.elixir"}},"end":"[),]|$","patterns":[{"include":"$self"}]},{"match":"\\\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\\\b","name":"keyword.control.elixir"}]},{"begin":"\\\\s*~L\\"\\"\\"","end":"\\\\s*\\"\\"\\"","name":"sigil.leex","patterns":[{"include":"text.elixir"},{"include":"text.html.basic"}]},{"begin":"\\\\s*~H\\"\\"\\"","end":"\\\\s*\\"\\"\\"","name":"sigil.heex","patterns":[{"include":"text.elixir"},{"include":"text.html.basic"}]},{"begin":"@(module|type)?doc (~[a-z])?\\"\\"\\"","end":"\\\\s*\\"\\"\\"","name":"comment.block.documentation.heredoc","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"@(module|type)?doc ~[A-Z]\\"\\"\\"","end":"\\\\s*\\"\\"\\"","name":"comment.block.documentation.heredoc"},{"begin":"@(module|type)?doc (~[a-z])?'''","end":"\\\\s*'''","name":"comment.block.documentation.heredoc","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"@(module|type)?doc ~[A-Z]'''","end":"\\\\s*'''","name":"comment.block.documentation.heredoc"},{"match":"@(module|type)?doc false","name":"comment.block.documentation.false"},{"begin":"@(module|type)?doc \\"","end":"\\"","name":"comment.block.documentation.string","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"match":"(?<!\\\\.)\\\\b(do|end|case|bc|lc|for|if|cond|unless|try|receive|fn|defmodule|defp?|defprotocol|defimpl|defrecord|defstruct|defnp?|defmacrop?|defguardp?|defdelegate|defexception|defoverridable|exit|after|rescue|catch|else|raise|reraise|throw|import|require|alias|use|quote|unquote|super|with)\\\\b(?![!:?])","name":"keyword.control.elixir"},{"match":"(?<!\\\\.)\\\\b(and|not|or|when|xor|in)\\\\b","name":"keyword.operator.elixir"},{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.class.elixir"},{"match":"\\\\b(nil|true|false)\\\\b(?![!?])","name":"constant.language.elixir"},{"match":"\\\\b(__(CALLER|ENV|MODULE|DIR|STACKTRACE)__)\\\\b(?![!?])","name":"variable.language.elixir"},{"captures":{"1":{"name":"punctuation.definition.variable.elixir"}},"match":"(@)[A-Z_a-z]\\\\w*","name":"variable.other.readwrite.module.elixir"},{"captures":{"1":{"name":"punctuation.definition.variable.elixir"}},"match":"(&)\\\\d+","name":"variable.other.anonymous.elixir"},{"match":"&(?!&)","name":"variable.other.anonymous.elixir"},{"captures":{"1":{"name":"punctuation.definition.variable.elixir"}},"match":"\\\\^[_a-z]\\\\w*","name":"variable.other.capture.elixir"},{"match":"\\\\b0x\\\\h(?>_?\\\\h)*\\\\b","name":"constant.numeric.hex.elixir"},{"match":"\\\\b\\\\d(?>_?\\\\d)*(\\\\.(?![^\\\\s\\\\d])(?>_?\\\\d)+)([Ee][-+]?\\\\d(?>_?\\\\d)*)?\\\\b","name":"constant.numeric.float.elixir"},{"match":"\\\\b\\\\d(?>_?\\\\d)*\\\\b","name":"constant.numeric.integer.elixir"},{"match":"\\\\b0b[01](?>_?[01])*\\\\b","name":"constant.numeric.binary.elixir"},{"match":"\\\\b0o[0-7](?>_?[0-7])*\\\\b","name":"constant.numeric.octal.elixir"},{"begin":":'","captures":{"0":{"name":"punctuation.definition.constant.elixir"}},"end":"'","name":"constant.other.symbol.single-quoted.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":":\\"","captures":{"0":{"name":"punctuation.definition.constant.elixir"}},"end":"\\"","name":"constant.other.symbol.double-quoted.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"^\\\\s*'''","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.single.heredoc.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.single.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"^\\\\s*\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.double.heredoc.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.double.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"^\\\\s*\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.heredoc.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"}[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"][a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]<","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":">[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\\\)[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z](\\\\W)","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\\\1[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[A-Z]\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"^\\\\s*\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.heredoc.literal.elixir"},{"begin":"~[A-Z]\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"}[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"begin":"~[A-Z]\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"][a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"begin":"~[A-Z]<","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":">[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"begin":"~[A-Z]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\\\)[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"begin":"~[A-Z](\\\\W)","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\\\1[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"captures":{"1":{"name":"punctuation.definition.constant.elixir"}},"match":"(?<!:)(:)(?>[A-Z_a-z][@\\\\w]*(?>[!?]|=(?![=>]))?|<>|===?|!==?|<<>>|<<<|>>>|~~~|::|<-|\\\\|>|=>|=~|[/=]|\\\\\\\\\\\\\\\\|\\\\*\\\\*?|\\\\.\\\\.?\\\\.?|\\\\.\\\\.//|>=?|<=?|&&?&?|\\\\+\\\\+?|--?|\\\\|\\\\|?\\\\|?|[!@]|%?\\\\{}|%|\\\\[]|\\\\^(\\\\^\\\\^)?)","name":"constant.other.symbol.elixir"},{"captures":{"1":{"name":"punctuation.definition.constant.elixir"}},"match":"(?>[A-Z_a-z][@\\\\w]*[!?]?)(:)(?!:)","name":"constant.other.keywords.elixir"},{"begin":"(^[\\\\t ]+)?(?=##)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.elixir"}},"end":"(?!#)","patterns":[{"begin":"##","beginCaptures":{"0":{"name":"punctuation.definition.comment.elixir"}},"end":"\\\\n","name":"comment.line.section.elixir"}]},{"begin":"(^[\\\\t ]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.elixir"}},"end":"(?!#)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.elixir"}},"end":"\\\\n","name":"comment.line.number-sign.elixir"}]},{"match":"\\\\b_([^_]\\\\w+[!?]?)","name":"comment.unused.elixir"},{"match":"\\\\b_\\\\b","name":"comment.wildcard.elixir"},{"match":"(?<!\\\\w)\\\\?(\\\\\\\\(x\\\\h{1,2}(?!\\\\h)\\\\b|[^CMx])|[^\\\\\\\\\\\\s])","name":"constant.numeric.elixir"},{"match":"\\\\+\\\\+|--|<\\\\|>","name":"keyword.operator.concatenation.elixir"},{"match":"\\\\|>|<~>|<>|<<<|>>>|~>>|<<~|~>|<~|<\\\\|>","name":"keyword.operator.sigils_1.elixir"},{"match":"&&&?","name":"keyword.operator.sigils_2.elixir"},{"match":"<-|\\\\\\\\\\\\\\\\","name":"keyword.operator.sigils_3.elixir"},{"match":"===?|!==?|<=?|>=?","name":"keyword.operator.comparison.elixir"},{"match":"(\\\\|\\\\|\\\\||&&&|\\\\^\\\\^\\\\^|<<<|>>>|~~~)","name":"keyword.operator.bitwise.elixir"},{"match":"(?<=[\\\\t ])!+|\\\\bnot\\\\b|&&|\\\\band\\\\b|\\\\|\\\\||\\\\bor\\\\b|\\\\bxor\\\\b","name":"keyword.operator.logical.elixir"},{"match":"([-*+/])","name":"keyword.operator.arithmetic.elixir"},{"match":"\\\\||\\\\+\\\\+|--|\\\\*\\\\*|\\\\\\\\\\\\\\\\|<-|<>|<<|>>|::|\\\\.\\\\.|//|\\\\|>|~|=>|&","name":"keyword.operator.other.elixir"},{"match":"=","name":"keyword.operator.assignment.elixir"},{"match":":","name":"punctuation.separator.other.elixir"},{"match":";","name":"punctuation.separator.statement.elixir"},{"match":",","name":"punctuation.separator.object.elixir"},{"match":"\\\\.","name":"punctuation.separator.method.elixir"},{"match":"[{}]","name":"punctuation.section.scope.elixir"},{"match":"[]\\\\[]","name":"punctuation.section.array.elixir"},{"match":"[()]","name":"punctuation.section.function.elixir"}]},"escaped_char":{"match":"\\\\\\\\(x[A-Fa-f\\\\d]{1,2}|.)","name":"constant.character.escaped.elixir"},"interpolated_elixir":{"begin":"#\\\\{","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.elixir"}},"contentName":"source.elixir","end":"}","endCaptures":{"0":{"name":"punctuation.section.embedded.end.elixir"}},"name":"meta.embedded.line.elixir","patterns":[{"include":"#nest_curly_and_self"},{"include":"$self"}]},"nest_curly_and_self":{"patterns":[{"begin":"\\\\{","captures":{"0":{"name":"punctuation.section.scope.elixir"}},"end":"}","patterns":[{"include":"#nest_curly_and_self"}]},{"include":"$self"}]}},"scopeName":"source.elixir","embeddedLangs":["html"]}`)),n=[...e,t];export{n as default};
2
- //# sourceMappingURL=_CJfh1bA_.js.map
1
+ import{t as e}from"./_NdVLMlDn.js";var t=Object.freeze(JSON.parse(`{"displayName":"Elixir","fileTypes":["ex","exs"],"firstLineMatch":"^#!/.*\\\\belixir","foldingStartMarker":"(after|else|catch|rescue|->|[\\\\[{]|do)\\\\s*$","foldingStopMarker":"^\\\\s*(([]}]|after|else|catch|rescue)\\\\s*$|end\\\\b)","name":"elixir","patterns":[{"begin":"\\\\b(fn)\\\\b(?!.*->)","beginCaptures":{"1":{"name":"keyword.control.elixir"}},"end":"$","patterns":[{"include":"#core_syntax"}]},{"captures":{"1":{"name":"entity.name.type.class.elixir"},"2":{"name":"punctuation.separator.method.elixir"},"3":{"name":"entity.name.function.elixir"}},"match":"([A-Z]\\\\w+)\\\\s*(\\\\.)\\\\s*([_a-z]\\\\w*[!?]?)"},{"captures":{"1":{"name":"constant.other.symbol.elixir"},"2":{"name":"punctuation.separator.method.elixir"},"3":{"name":"entity.name.function.elixir"}},"match":"(:\\\\w+)\\\\s*(\\\\.)\\\\s*(_?\\\\w*[!?]?)"},{"captures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"entity.name.function.elixir"}},"match":"(\\\\|>)\\\\s*([_a-z]\\\\w*[!?]?)"},{"match":"\\\\b[_a-z]\\\\w*[!?]?(?=\\\\s*\\\\.?\\\\s*\\\\()","name":"entity.name.function.elixir"},{"begin":"\\\\b(fn)\\\\b(?=.*->)","beginCaptures":{"1":{"name":"keyword.control.elixir"}},"end":"(?>(->)|(when)|(\\\\)))","endCaptures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"keyword.control.elixir"},"3":{"name":"punctuation.section.function.elixir"}},"patterns":[{"include":"#core_syntax"}]},{"include":"#core_syntax"},{"begin":"^(?=.*->)((?![^\\"']*([\\"'])[^\\"']*->)|(?=.*->[^\\"']*([\\"'])[^\\"']*->))((?!.*\\\\([^)]*->)|(?=[^()]*->)|(?=\\\\s*\\\\(.*\\\\).*->))((?!.*\\\\b(fn)\\\\b)|(?=.*->.*\\\\bfn\\\\b))","beginCaptures":{"1":{"name":"keyword.control.elixir"}},"end":"(?>(->)|(when)|(\\\\)))","endCaptures":{"1":{"name":"keyword.operator.other.elixir"},"2":{"name":"keyword.control.elixir"},"3":{"name":"punctuation.section.function.elixir"}},"patterns":[{"include":"#core_syntax"}]}],"repository":{"core_syntax":{"patterns":[{"begin":"^\\\\s*(defmodule)\\\\b","beginCaptures":{"1":{"name":"keyword.control.module.elixir"}},"end":"\\\\b(do)\\\\b","endCaptures":{"1":{"name":"keyword.control.module.elixir"}},"name":"meta.module.elixir","patterns":[{"match":"\\\\b[A-Z]\\\\w*(?=\\\\.)","name":"entity.other.inherited-class.elixir"},{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.class.elixir"}]},{"begin":"^\\\\s*(defprotocol)\\\\b","beginCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"end":"\\\\b(do)\\\\b","endCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"name":"meta.protocol_declaration.elixir","patterns":[{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.protocol.elixir"}]},{"begin":"^\\\\s*(defimpl)\\\\b","beginCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"end":"\\\\b(do)\\\\b","endCaptures":{"1":{"name":"keyword.control.protocol.elixir"}},"name":"meta.protocol_implementation.elixir","patterns":[{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.protocol.elixir"}]},{"begin":"^\\\\s*(def(?:|macro|delegate|guard))\\\\s+((?>[A-Z_a-z]\\\\w*(?>\\\\.|::))?(?>[A-Z_a-z]\\\\w*(?>[!?]|=(?!>))?|===?|>[=>]?|<=>|<[<=]?|[%\\\\&/\`|]|\\\\*\\\\*?|=?~|[-+]@?|\\\\[]=?))((\\\\()|\\\\s*)","beginCaptures":{"1":{"name":"keyword.control.module.elixir"},"2":{"name":"entity.name.function.public.elixir"},"4":{"name":"punctuation.section.function.elixir"}},"end":"\\\\b(do:)|\\\\b(do)\\\\b|(?=\\\\s+(def(?:|n|macro|delegate|guard))\\\\b)","endCaptures":{"1":{"name":"constant.other.keywords.elixir"},"2":{"name":"keyword.control.module.elixir"}},"name":"meta.function.public.elixir","patterns":[{"include":"$self"},{"begin":"\\\\s(\\\\\\\\\\\\\\\\)","beginCaptures":{"1":{"name":"keyword.operator.other.elixir"}},"end":"[),]|$","patterns":[{"include":"$self"}]},{"match":"\\\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\\\b","name":"keyword.control.elixir"}]},{"begin":"^\\\\s*(def(?:|n|macro|guard)p)\\\\s+((?>[A-Z_a-z]\\\\w*(?>\\\\.|::))?(?>[A-Z_a-z]\\\\w*(?>[!?]|=(?!>))?|===?|>[=>]?|<=>|<[<=]?|[%\\\\&/\`|]|\\\\*\\\\*?|=?~|[-+]@?|\\\\[]=?))((\\\\()|\\\\s*)","beginCaptures":{"1":{"name":"keyword.control.module.elixir"},"2":{"name":"entity.name.function.private.elixir"},"4":{"name":"punctuation.section.function.elixir"}},"end":"\\\\b(do:)|\\\\b(do)\\\\b|(?=\\\\s+(def(?:p|macrop|guardp))\\\\b)","endCaptures":{"1":{"name":"constant.other.keywords.elixir"},"2":{"name":"keyword.control.module.elixir"}},"name":"meta.function.private.elixir","patterns":[{"include":"$self"},{"begin":"\\\\s(\\\\\\\\\\\\\\\\)","beginCaptures":{"1":{"name":"keyword.operator.other.elixir"}},"end":"[),]|$","patterns":[{"include":"$self"}]},{"match":"\\\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\\\b","name":"keyword.control.elixir"}]},{"begin":"\\\\s*~L\\"\\"\\"","end":"\\\\s*\\"\\"\\"","name":"sigil.leex","patterns":[{"include":"text.elixir"},{"include":"text.html.basic"}]},{"begin":"\\\\s*~H\\"\\"\\"","end":"\\\\s*\\"\\"\\"","name":"sigil.heex","patterns":[{"include":"text.elixir"},{"include":"text.html.basic"}]},{"begin":"@(module|type)?doc (~[a-z])?\\"\\"\\"","end":"\\\\s*\\"\\"\\"","name":"comment.block.documentation.heredoc","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"@(module|type)?doc ~[A-Z]\\"\\"\\"","end":"\\\\s*\\"\\"\\"","name":"comment.block.documentation.heredoc"},{"begin":"@(module|type)?doc (~[a-z])?'''","end":"\\\\s*'''","name":"comment.block.documentation.heredoc","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"@(module|type)?doc ~[A-Z]'''","end":"\\\\s*'''","name":"comment.block.documentation.heredoc"},{"match":"@(module|type)?doc false","name":"comment.block.documentation.false"},{"begin":"@(module|type)?doc \\"","end":"\\"","name":"comment.block.documentation.string","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"match":"(?<!\\\\.)\\\\b(do|end|case|bc|lc|for|if|cond|unless|try|receive|fn|defmodule|defp?|defprotocol|defimpl|defrecord|defstruct|defnp?|defmacrop?|defguardp?|defdelegate|defexception|defoverridable|exit|after|rescue|catch|else|raise|reraise|throw|import|require|alias|use|quote|unquote|super|with)\\\\b(?![!:?])","name":"keyword.control.elixir"},{"match":"(?<!\\\\.)\\\\b(and|not|or|when|xor|in)\\\\b","name":"keyword.operator.elixir"},{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.class.elixir"},{"match":"\\\\b(nil|true|false)\\\\b(?![!?])","name":"constant.language.elixir"},{"match":"\\\\b(__(CALLER|ENV|MODULE|DIR|STACKTRACE)__)\\\\b(?![!?])","name":"variable.language.elixir"},{"captures":{"1":{"name":"punctuation.definition.variable.elixir"}},"match":"(@)[A-Z_a-z]\\\\w*","name":"variable.other.readwrite.module.elixir"},{"captures":{"1":{"name":"punctuation.definition.variable.elixir"}},"match":"(&)\\\\d+","name":"variable.other.anonymous.elixir"},{"match":"&(?!&)","name":"variable.other.anonymous.elixir"},{"captures":{"1":{"name":"punctuation.definition.variable.elixir"}},"match":"\\\\^[_a-z]\\\\w*","name":"variable.other.capture.elixir"},{"match":"\\\\b0x\\\\h(?>_?\\\\h)*\\\\b","name":"constant.numeric.hex.elixir"},{"match":"\\\\b\\\\d(?>_?\\\\d)*(\\\\.(?![^\\\\s\\\\d])(?>_?\\\\d)+)([Ee][-+]?\\\\d(?>_?\\\\d)*)?\\\\b","name":"constant.numeric.float.elixir"},{"match":"\\\\b\\\\d(?>_?\\\\d)*\\\\b","name":"constant.numeric.integer.elixir"},{"match":"\\\\b0b[01](?>_?[01])*\\\\b","name":"constant.numeric.binary.elixir"},{"match":"\\\\b0o[0-7](?>_?[0-7])*\\\\b","name":"constant.numeric.octal.elixir"},{"begin":":'","captures":{"0":{"name":"punctuation.definition.constant.elixir"}},"end":"'","name":"constant.other.symbol.single-quoted.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":":\\"","captures":{"0":{"name":"punctuation.definition.constant.elixir"}},"end":"\\"","name":"constant.other.symbol.double-quoted.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"^\\\\s*'''","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.single.heredoc.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.single.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"^\\\\s*\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.double.heredoc.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.double.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"^\\\\s*\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.heredoc.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"}[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"][a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]<","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":">[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\\\)[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[a-z](\\\\W)","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\\\1[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.elixir","patterns":[{"include":"#interpolated_elixir"},{"include":"#escaped_char"}]},{"begin":"~[A-Z]\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"^\\\\s*\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.heredoc.literal.elixir"},{"begin":"~[A-Z]\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"}[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"begin":"~[A-Z]\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"][a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"begin":"~[A-Z]<","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":">[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"begin":"~[A-Z]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\\\)[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"begin":"~[A-Z](\\\\W)","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.elixir"}},"end":"\\\\1[a-z]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.elixir"}},"name":"string.quoted.other.sigil.literal.elixir"},{"captures":{"1":{"name":"punctuation.definition.constant.elixir"}},"match":"(?<!:)(:)(?>[A-Z_a-z][@\\\\w]*(?>[!?]|=(?![=>]))?|<>|===?|!==?|<<>>|<<<|>>>|~~~|::|<-|\\\\|>|=>|=~|[/=]|\\\\\\\\\\\\\\\\|\\\\*\\\\*?|\\\\.\\\\.?\\\\.?|\\\\.\\\\.//|>=?|<=?|&&?&?|\\\\+\\\\+?|--?|\\\\|\\\\|?\\\\|?|[!@]|%?\\\\{}|%|\\\\[]|\\\\^(\\\\^\\\\^)?)","name":"constant.other.symbol.elixir"},{"captures":{"1":{"name":"punctuation.definition.constant.elixir"}},"match":"(?>[A-Z_a-z][@\\\\w]*[!?]?)(:)(?!:)","name":"constant.other.keywords.elixir"},{"begin":"(^[\\\\t ]+)?(?=##)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.elixir"}},"end":"(?!#)","patterns":[{"begin":"##","beginCaptures":{"0":{"name":"punctuation.definition.comment.elixir"}},"end":"\\\\n","name":"comment.line.section.elixir"}]},{"begin":"(^[\\\\t ]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.elixir"}},"end":"(?!#)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.elixir"}},"end":"\\\\n","name":"comment.line.number-sign.elixir"}]},{"match":"\\\\b_([^_]\\\\w+[!?]?)","name":"comment.unused.elixir"},{"match":"\\\\b_\\\\b","name":"comment.wildcard.elixir"},{"match":"(?<!\\\\w)\\\\?(\\\\\\\\(x\\\\h{1,2}(?!\\\\h)\\\\b|[^CMx])|[^\\\\\\\\\\\\s])","name":"constant.numeric.elixir"},{"match":"\\\\+\\\\+|--|<\\\\|>","name":"keyword.operator.concatenation.elixir"},{"match":"\\\\|>|<~>|<>|<<<|>>>|~>>|<<~|~>|<~|<\\\\|>","name":"keyword.operator.sigils_1.elixir"},{"match":"&&&?","name":"keyword.operator.sigils_2.elixir"},{"match":"<-|\\\\\\\\\\\\\\\\","name":"keyword.operator.sigils_3.elixir"},{"match":"===?|!==?|<=?|>=?","name":"keyword.operator.comparison.elixir"},{"match":"(\\\\|\\\\|\\\\||&&&|\\\\^\\\\^\\\\^|<<<|>>>|~~~)","name":"keyword.operator.bitwise.elixir"},{"match":"(?<=[\\\\t ])!+|\\\\bnot\\\\b|&&|\\\\band\\\\b|\\\\|\\\\||\\\\bor\\\\b|\\\\bxor\\\\b","name":"keyword.operator.logical.elixir"},{"match":"([-*+/])","name":"keyword.operator.arithmetic.elixir"},{"match":"\\\\||\\\\+\\\\+|--|\\\\*\\\\*|\\\\\\\\\\\\\\\\|<-|<>|<<|>>|::|\\\\.\\\\.|//|\\\\|>|~|=>|&","name":"keyword.operator.other.elixir"},{"match":"=","name":"keyword.operator.assignment.elixir"},{"match":":","name":"punctuation.separator.other.elixir"},{"match":";","name":"punctuation.separator.statement.elixir"},{"match":",","name":"punctuation.separator.object.elixir"},{"match":"\\\\.","name":"punctuation.separator.method.elixir"},{"match":"[{}]","name":"punctuation.section.scope.elixir"},{"match":"[]\\\\[]","name":"punctuation.section.array.elixir"},{"match":"[()]","name":"punctuation.section.function.elixir"}]},"escaped_char":{"match":"\\\\\\\\(x[A-Fa-f\\\\d]{1,2}|.)","name":"constant.character.escaped.elixir"},"interpolated_elixir":{"begin":"#\\\\{","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.elixir"}},"contentName":"source.elixir","end":"}","endCaptures":{"0":{"name":"punctuation.section.embedded.end.elixir"}},"name":"meta.embedded.line.elixir","patterns":[{"include":"#nest_curly_and_self"},{"include":"$self"}]},"nest_curly_and_self":{"patterns":[{"begin":"\\\\{","captures":{"0":{"name":"punctuation.section.scope.elixir"}},"end":"}","patterns":[{"include":"#nest_curly_and_self"}]},{"include":"$self"}]}},"scopeName":"source.elixir","embeddedLangs":["html"]}`)),n=[...e,t];export{n as default};
2
+ //# sourceMappingURL=_1PYA5v6h.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_CJfh1bA_.js","names":["html"],"sources":["../../../node_modules/.pnpm/@shikijs+langs@4.4.2/node_modules/@shikijs/langs/dist/elixir.mjs"],"sourcesContent":["import html from './html.mjs'\n\nconst lang = Object.freeze(JSON.parse(\"{\\\"displayName\\\":\\\"Elixir\\\",\\\"fileTypes\\\":[\\\"ex\\\",\\\"exs\\\"],\\\"firstLineMatch\\\":\\\"^#!/.*\\\\\\\\belixir\\\",\\\"foldingStartMarker\\\":\\\"(after|else|catch|rescue|->|[\\\\\\\\[{]|do)\\\\\\\\s*$\\\",\\\"foldingStopMarker\\\":\\\"^\\\\\\\\s*(([]}]|after|else|catch|rescue)\\\\\\\\s*$|end\\\\\\\\b)\\\",\\\"name\\\":\\\"elixir\\\",\\\"patterns\\\":[{\\\"begin\\\":\\\"\\\\\\\\b(fn)\\\\\\\\b(?!.*->)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"}},\\\"end\\\":\\\"$\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#core_syntax\\\"}]},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"entity.name.type.class.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.separator.method.elixir\\\"},\\\"3\\\":{\\\"name\\\":\\\"entity.name.function.elixir\\\"}},\\\"match\\\":\\\"([A-Z]\\\\\\\\w+)\\\\\\\\s*(\\\\\\\\.)\\\\\\\\s*([_a-z]\\\\\\\\w*[!?]?)\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.other.symbol.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.separator.method.elixir\\\"},\\\"3\\\":{\\\"name\\\":\\\"entity.name.function.elixir\\\"}},\\\"match\\\":\\\"(:\\\\\\\\w+)\\\\\\\\s*(\\\\\\\\.)\\\\\\\\s*(_?\\\\\\\\w*[!?]?)\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.function.elixir\\\"}},\\\"match\\\":\\\"(\\\\\\\\|>)\\\\\\\\s*([_a-z]\\\\\\\\w*[!?]?)\\\"},{\\\"match\\\":\\\"\\\\\\\\b[_a-z]\\\\\\\\w*[!?]?(?=\\\\\\\\s*\\\\\\\\.?\\\\\\\\s*\\\\\\\\()\\\",\\\"name\\\":\\\"entity.name.function.elixir\\\"},{\\\"begin\\\":\\\"\\\\\\\\b(fn)\\\\\\\\b(?=.*->)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"}},\\\"end\\\":\\\"(?>(->)|(when)|(\\\\\\\\)))\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#core_syntax\\\"}]},{\\\"include\\\":\\\"#core_syntax\\\"},{\\\"begin\\\":\\\"^(?=.*->)((?![^\\\\\\\"']*([\\\\\\\"'])[^\\\\\\\"']*->)|(?=.*->[^\\\\\\\"']*([\\\\\\\"'])[^\\\\\\\"']*->))((?!.*\\\\\\\\([^)]*->)|(?=[^()]*->)|(?=\\\\\\\\s*\\\\\\\\(.*\\\\\\\\).*->))((?!.*\\\\\\\\b(fn)\\\\\\\\b)|(?=.*->.*\\\\\\\\bfn\\\\\\\\b))\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"}},\\\"end\\\":\\\"(?>(->)|(when)|(\\\\\\\\)))\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#core_syntax\\\"}]}],\\\"repository\\\":{\\\"core_syntax\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"^\\\\\\\\s*(defmodule)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do)\\\\\\\\b\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"}},\\\"name\\\":\\\"meta.module.elixir\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*(?=\\\\\\\\.)\\\",\\\"name\\\":\\\"entity.other.inherited-class.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*\\\\\\\\b\\\",\\\"name\\\":\\\"entity.name.type.class.elixir\\\"}]},{\\\"begin\\\":\\\"^\\\\\\\\s*(defprotocol)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.protocol.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do)\\\\\\\\b\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.protocol.elixir\\\"}},\\\"name\\\":\\\"meta.protocol_declaration.elixir\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*\\\\\\\\b\\\",\\\"name\\\":\\\"entity.name.type.protocol.elixir\\\"}]},{\\\"begin\\\":\\\"^\\\\\\\\s*(defimpl)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.protocol.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do)\\\\\\\\b\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.protocol.elixir\\\"}},\\\"name\\\":\\\"meta.protocol_implementation.elixir\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*\\\\\\\\b\\\",\\\"name\\\":\\\"entity.name.type.protocol.elixir\\\"}]},{\\\"begin\\\":\\\"^\\\\\\\\s*(def(?:|macro|delegate|guard))\\\\\\\\s+((?>[A-Z_a-z]\\\\\\\\w*(?>\\\\\\\\.|::))?(?>[A-Z_a-z]\\\\\\\\w*(?>[!?]|=(?!>))?|===?|>[=>]?|<=>|<[<=]?|[%\\\\\\\\&/`|]|\\\\\\\\*\\\\\\\\*?|=?~|[-+]@?|\\\\\\\\[]=?))((\\\\\\\\()|\\\\\\\\s*)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.function.public.elixir\\\"},\\\"4\\\":{\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do:)|\\\\\\\\b(do)\\\\\\\\b|(?=\\\\\\\\s+(def(?:|n|macro|delegate|guard))\\\\\\\\b)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.other.keywords.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"}},\\\"name\\\":\\\"meta.function.public.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"},{\\\"begin\\\":\\\"\\\\\\\\s(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"}},\\\"end\\\":\\\"[),]|$\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"match\\\":\\\"\\\\\\\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.control.elixir\\\"}]},{\\\"begin\\\":\\\"^\\\\\\\\s*(def(?:|n|macro|guard)p)\\\\\\\\s+((?>[A-Z_a-z]\\\\\\\\w*(?>\\\\\\\\.|::))?(?>[A-Z_a-z]\\\\\\\\w*(?>[!?]|=(?!>))?|===?|>[=>]?|<=>|<[<=]?|[%\\\\\\\\&/`|]|\\\\\\\\*\\\\\\\\*?|=?~|[-+]@?|\\\\\\\\[]=?))((\\\\\\\\()|\\\\\\\\s*)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.function.private.elixir\\\"},\\\"4\\\":{\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do:)|\\\\\\\\b(do)\\\\\\\\b|(?=\\\\\\\\s+(def(?:p|macrop|guardp))\\\\\\\\b)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.other.keywords.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"}},\\\"name\\\":\\\"meta.function.private.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"},{\\\"begin\\\":\\\"\\\\\\\\s(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"}},\\\"end\\\":\\\"[),]|$\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"match\\\":\\\"\\\\\\\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.control.elixir\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\s*~L\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"name\\\":\\\"sigil.leex\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"text.elixir\\\"},{\\\"include\\\":\\\"text.html.basic\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\s*~H\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"name\\\":\\\"sigil.heex\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"text.elixir\\\"},{\\\"include\\\":\\\"text.html.basic\\\"}]},{\\\"begin\\\":\\\"@(module|type)?doc (~[a-z])?\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"name\\\":\\\"comment.block.documentation.heredoc\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"@(module|type)?doc ~[A-Z]\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"name\\\":\\\"comment.block.documentation.heredoc\\\"},{\\\"begin\\\":\\\"@(module|type)?doc (~[a-z])?'''\\\",\\\"end\\\":\\\"\\\\\\\\s*'''\\\",\\\"name\\\":\\\"comment.block.documentation.heredoc\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"@(module|type)?doc ~[A-Z]'''\\\",\\\"end\\\":\\\"\\\\\\\\s*'''\\\",\\\"name\\\":\\\"comment.block.documentation.heredoc\\\"},{\\\"match\\\":\\\"@(module|type)?doc false\\\",\\\"name\\\":\\\"comment.block.documentation.false\\\"},{\\\"begin\\\":\\\"@(module|type)?doc \\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\"\\\",\\\"name\\\":\\\"comment.block.documentation.string\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"match\\\":\\\"(?<!\\\\\\\\.)\\\\\\\\b(do|end|case|bc|lc|for|if|cond|unless|try|receive|fn|defmodule|defp?|defprotocol|defimpl|defrecord|defstruct|defnp?|defmacrop?|defguardp?|defdelegate|defexception|defoverridable|exit|after|rescue|catch|else|raise|reraise|throw|import|require|alias|use|quote|unquote|super|with)\\\\\\\\b(?![!:?])\\\",\\\"name\\\":\\\"keyword.control.elixir\\\"},{\\\"match\\\":\\\"(?<!\\\\\\\\.)\\\\\\\\b(and|not|or|when|xor|in)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.operator.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*\\\\\\\\b\\\",\\\"name\\\":\\\"entity.name.type.class.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b(nil|true|false)\\\\\\\\b(?![!?])\\\",\\\"name\\\":\\\"constant.language.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b(__(CALLER|ENV|MODULE|DIR|STACKTRACE)__)\\\\\\\\b(?![!?])\\\",\\\"name\\\":\\\"variable.language.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.elixir\\\"}},\\\"match\\\":\\\"(@)[A-Z_a-z]\\\\\\\\w*\\\",\\\"name\\\":\\\"variable.other.readwrite.module.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.elixir\\\"}},\\\"match\\\":\\\"(&)\\\\\\\\d+\\\",\\\"name\\\":\\\"variable.other.anonymous.elixir\\\"},{\\\"match\\\":\\\"&(?!&)\\\",\\\"name\\\":\\\"variable.other.anonymous.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.elixir\\\"}},\\\"match\\\":\\\"\\\\\\\\^[_a-z]\\\\\\\\w*\\\",\\\"name\\\":\\\"variable.other.capture.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b0x\\\\\\\\h(?>_?\\\\\\\\h)*\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.hex.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b\\\\\\\\d(?>_?\\\\\\\\d)*(\\\\\\\\.(?![^\\\\\\\\s\\\\\\\\d])(?>_?\\\\\\\\d)+)([Ee][-+]?\\\\\\\\d(?>_?\\\\\\\\d)*)?\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.float.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b\\\\\\\\d(?>_?\\\\\\\\d)*\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.integer.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b0b[01](?>_?[01])*\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.binary.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b0o[0-7](?>_?[0-7])*\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.octal.elixir\\\"},{\\\"begin\\\":\\\":'\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.constant.elixir\\\"}},\\\"end\\\":\\\"'\\\",\\\"name\\\":\\\"constant.other.symbol.single-quoted.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\":\\\\\\\"\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.constant.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\"\\\",\\\"name\\\":\\\"constant.other.symbol.double-quoted.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"'''\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"^\\\\\\\\s*'''\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.single.heredoc.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"'\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"'\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.single.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"^\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.double.heredoc.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.double.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"^\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.heredoc.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"}[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]\\\\\\\\[\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"][a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]<\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\">[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]\\\\\\\\(\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\)[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z](\\\\\\\\W)\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\1[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[A-Z]\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"^\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.heredoc.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z]\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"}[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z]\\\\\\\\[\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"][a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z]<\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\">[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z]\\\\\\\\(\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\)[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z](\\\\\\\\W)\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\1[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.constant.elixir\\\"}},\\\"match\\\":\\\"(?<!:)(:)(?>[A-Z_a-z][@\\\\\\\\w]*(?>[!?]|=(?![=>]))?|<>|===?|!==?|<<>>|<<<|>>>|~~~|::|<-|\\\\\\\\|>|=>|=~|[/=]|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|\\\\\\\\*\\\\\\\\*?|\\\\\\\\.\\\\\\\\.?\\\\\\\\.?|\\\\\\\\.\\\\\\\\.//|>=?|<=?|&&?&?|\\\\\\\\+\\\\\\\\+?|--?|\\\\\\\\|\\\\\\\\|?\\\\\\\\|?|[!@]|%?\\\\\\\\{}|%|\\\\\\\\[]|\\\\\\\\^(\\\\\\\\^\\\\\\\\^)?)\\\",\\\"name\\\":\\\"constant.other.symbol.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.constant.elixir\\\"}},\\\"match\\\":\\\"(?>[A-Z_a-z][@\\\\\\\\w]*[!?]?)(:)(?!:)\\\",\\\"name\\\":\\\"constant.other.keywords.elixir\\\"},{\\\"begin\\\":\\\"(^[\\\\\\\\t ]+)?(?=##)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.whitespace.comment.leading.elixir\\\"}},\\\"end\\\":\\\"(?!#)\\\",\\\"patterns\\\":[{\\\"begin\\\":\\\"##\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\n\\\",\\\"name\\\":\\\"comment.line.section.elixir\\\"}]},{\\\"begin\\\":\\\"(^[\\\\\\\\t ]+)?(?=#)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.whitespace.comment.leading.elixir\\\"}},\\\"end\\\":\\\"(?!#)\\\",\\\"patterns\\\":[{\\\"begin\\\":\\\"#\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\n\\\",\\\"name\\\":\\\"comment.line.number-sign.elixir\\\"}]},{\\\"match\\\":\\\"\\\\\\\\b_([^_]\\\\\\\\w+[!?]?)\\\",\\\"name\\\":\\\"comment.unused.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b_\\\\\\\\b\\\",\\\"name\\\":\\\"comment.wildcard.elixir\\\"},{\\\"match\\\":\\\"(?<!\\\\\\\\w)\\\\\\\\?(\\\\\\\\\\\\\\\\(x\\\\\\\\h{1,2}(?!\\\\\\\\h)\\\\\\\\b|[^CMx])|[^\\\\\\\\\\\\\\\\\\\\\\\\s])\\\",\\\"name\\\":\\\"constant.numeric.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\+\\\\\\\\+|--|<\\\\\\\\|>\\\",\\\"name\\\":\\\"keyword.operator.concatenation.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\|>|<~>|<>|<<<|>>>|~>>|<<~|~>|<~|<\\\\\\\\|>\\\",\\\"name\\\":\\\"keyword.operator.sigils_1.elixir\\\"},{\\\"match\\\":\\\"&&&?\\\",\\\"name\\\":\\\"keyword.operator.sigils_2.elixir\\\"},{\\\"match\\\":\\\"<-|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\"name\\\":\\\"keyword.operator.sigils_3.elixir\\\"},{\\\"match\\\":\\\"===?|!==?|<=?|>=?\\\",\\\"name\\\":\\\"keyword.operator.comparison.elixir\\\"},{\\\"match\\\":\\\"(\\\\\\\\|\\\\\\\\|\\\\\\\\||&&&|\\\\\\\\^\\\\\\\\^\\\\\\\\^|<<<|>>>|~~~)\\\",\\\"name\\\":\\\"keyword.operator.bitwise.elixir\\\"},{\\\"match\\\":\\\"(?<=[\\\\\\\\t ])!+|\\\\\\\\bnot\\\\\\\\b|&&|\\\\\\\\band\\\\\\\\b|\\\\\\\\|\\\\\\\\||\\\\\\\\bor\\\\\\\\b|\\\\\\\\bxor\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.operator.logical.elixir\\\"},{\\\"match\\\":\\\"([-*+/])\\\",\\\"name\\\":\\\"keyword.operator.arithmetic.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\||\\\\\\\\+\\\\\\\\+|--|\\\\\\\\*\\\\\\\\*|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|<-|<>|<<|>>|::|\\\\\\\\.\\\\\\\\.|//|\\\\\\\\|>|~|=>|&\\\",\\\"name\\\":\\\"keyword.operator.other.elixir\\\"},{\\\"match\\\":\\\"=\\\",\\\"name\\\":\\\"keyword.operator.assignment.elixir\\\"},{\\\"match\\\":\\\":\\\",\\\"name\\\":\\\"punctuation.separator.other.elixir\\\"},{\\\"match\\\":\\\";\\\",\\\"name\\\":\\\"punctuation.separator.statement.elixir\\\"},{\\\"match\\\":\\\",\\\",\\\"name\\\":\\\"punctuation.separator.object.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\.\\\",\\\"name\\\":\\\"punctuation.separator.method.elixir\\\"},{\\\"match\\\":\\\"[{}]\\\",\\\"name\\\":\\\"punctuation.section.scope.elixir\\\"},{\\\"match\\\":\\\"[]\\\\\\\\[]\\\",\\\"name\\\":\\\"punctuation.section.array.elixir\\\"},{\\\"match\\\":\\\"[()]\\\",\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}]},\\\"escaped_char\\\":{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\(x[A-Fa-f\\\\\\\\d]{1,2}|.)\\\",\\\"name\\\":\\\"constant.character.escaped.elixir\\\"},\\\"interpolated_elixir\\\":{\\\"begin\\\":\\\"#\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.section.embedded.begin.elixir\\\"}},\\\"contentName\\\":\\\"source.elixir\\\",\\\"end\\\":\\\"}\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.section.embedded.end.elixir\\\"}},\\\"name\\\":\\\"meta.embedded.line.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#nest_curly_and_self\\\"},{\\\"include\\\":\\\"$self\\\"}]},\\\"nest_curly_and_self\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"\\\\\\\\{\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.section.scope.elixir\\\"}},\\\"end\\\":\\\"}\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#nest_curly_and_self\\\"}]},{\\\"include\\\":\\\"$self\\\"}]}},\\\"scopeName\\\":\\\"source.elixir\\\",\\\"embeddedLangs\\\":[\\\"html\\\"]}\"))\n\nexport default [\n...html,\nlang\n]\n"],"x_google_ignoreList":[0],"mappings":"mCAEA,IAAM,EAAO,OAAO,OAAO,KAAK,MAAM,+xfAAyijB,CAAC,EAEhljB,EAAe,CACf,GAAGA,EACH,CACA"}
1
+ {"version":3,"file":"_1PYA5v6h.js","names":["html"],"sources":["../../../node_modules/.pnpm/@shikijs+langs@4.4.2/node_modules/@shikijs/langs/dist/elixir.mjs"],"sourcesContent":["import html from './html.mjs'\n\nconst lang = Object.freeze(JSON.parse(\"{\\\"displayName\\\":\\\"Elixir\\\",\\\"fileTypes\\\":[\\\"ex\\\",\\\"exs\\\"],\\\"firstLineMatch\\\":\\\"^#!/.*\\\\\\\\belixir\\\",\\\"foldingStartMarker\\\":\\\"(after|else|catch|rescue|->|[\\\\\\\\[{]|do)\\\\\\\\s*$\\\",\\\"foldingStopMarker\\\":\\\"^\\\\\\\\s*(([]}]|after|else|catch|rescue)\\\\\\\\s*$|end\\\\\\\\b)\\\",\\\"name\\\":\\\"elixir\\\",\\\"patterns\\\":[{\\\"begin\\\":\\\"\\\\\\\\b(fn)\\\\\\\\b(?!.*->)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"}},\\\"end\\\":\\\"$\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#core_syntax\\\"}]},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"entity.name.type.class.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.separator.method.elixir\\\"},\\\"3\\\":{\\\"name\\\":\\\"entity.name.function.elixir\\\"}},\\\"match\\\":\\\"([A-Z]\\\\\\\\w+)\\\\\\\\s*(\\\\\\\\.)\\\\\\\\s*([_a-z]\\\\\\\\w*[!?]?)\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.other.symbol.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"punctuation.separator.method.elixir\\\"},\\\"3\\\":{\\\"name\\\":\\\"entity.name.function.elixir\\\"}},\\\"match\\\":\\\"(:\\\\\\\\w+)\\\\\\\\s*(\\\\\\\\.)\\\\\\\\s*(_?\\\\\\\\w*[!?]?)\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.function.elixir\\\"}},\\\"match\\\":\\\"(\\\\\\\\|>)\\\\\\\\s*([_a-z]\\\\\\\\w*[!?]?)\\\"},{\\\"match\\\":\\\"\\\\\\\\b[_a-z]\\\\\\\\w*[!?]?(?=\\\\\\\\s*\\\\\\\\.?\\\\\\\\s*\\\\\\\\()\\\",\\\"name\\\":\\\"entity.name.function.elixir\\\"},{\\\"begin\\\":\\\"\\\\\\\\b(fn)\\\\\\\\b(?=.*->)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"}},\\\"end\\\":\\\"(?>(->)|(when)|(\\\\\\\\)))\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#core_syntax\\\"}]},{\\\"include\\\":\\\"#core_syntax\\\"},{\\\"begin\\\":\\\"^(?=.*->)((?![^\\\\\\\"']*([\\\\\\\"'])[^\\\\\\\"']*->)|(?=.*->[^\\\\\\\"']*([\\\\\\\"'])[^\\\\\\\"']*->))((?!.*\\\\\\\\([^)]*->)|(?=[^()]*->)|(?=\\\\\\\\s*\\\\\\\\(.*\\\\\\\\).*->))((?!.*\\\\\\\\b(fn)\\\\\\\\b)|(?=.*->.*\\\\\\\\bfn\\\\\\\\b))\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"}},\\\"end\\\":\\\"(?>(->)|(when)|(\\\\\\\\)))\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.control.elixir\\\"},\\\"3\\\":{\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}},\\\"patterns\\\":[{\\\"include\\\":\\\"#core_syntax\\\"}]}],\\\"repository\\\":{\\\"core_syntax\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"^\\\\\\\\s*(defmodule)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do)\\\\\\\\b\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"}},\\\"name\\\":\\\"meta.module.elixir\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*(?=\\\\\\\\.)\\\",\\\"name\\\":\\\"entity.other.inherited-class.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*\\\\\\\\b\\\",\\\"name\\\":\\\"entity.name.type.class.elixir\\\"}]},{\\\"begin\\\":\\\"^\\\\\\\\s*(defprotocol)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.protocol.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do)\\\\\\\\b\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.protocol.elixir\\\"}},\\\"name\\\":\\\"meta.protocol_declaration.elixir\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*\\\\\\\\b\\\",\\\"name\\\":\\\"entity.name.type.protocol.elixir\\\"}]},{\\\"begin\\\":\\\"^\\\\\\\\s*(defimpl)\\\\\\\\b\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.protocol.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do)\\\\\\\\b\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.protocol.elixir\\\"}},\\\"name\\\":\\\"meta.protocol_implementation.elixir\\\",\\\"patterns\\\":[{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*\\\\\\\\b\\\",\\\"name\\\":\\\"entity.name.type.protocol.elixir\\\"}]},{\\\"begin\\\":\\\"^\\\\\\\\s*(def(?:|macro|delegate|guard))\\\\\\\\s+((?>[A-Z_a-z]\\\\\\\\w*(?>\\\\\\\\.|::))?(?>[A-Z_a-z]\\\\\\\\w*(?>[!?]|=(?!>))?|===?|>[=>]?|<=>|<[<=]?|[%\\\\\\\\&/`|]|\\\\\\\\*\\\\\\\\*?|=?~|[-+]@?|\\\\\\\\[]=?))((\\\\\\\\()|\\\\\\\\s*)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.function.public.elixir\\\"},\\\"4\\\":{\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do:)|\\\\\\\\b(do)\\\\\\\\b|(?=\\\\\\\\s+(def(?:|n|macro|delegate|guard))\\\\\\\\b)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.other.keywords.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"}},\\\"name\\\":\\\"meta.function.public.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"},{\\\"begin\\\":\\\"\\\\\\\\s(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"}},\\\"end\\\":\\\"[),]|$\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"match\\\":\\\"\\\\\\\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.control.elixir\\\"}]},{\\\"begin\\\":\\\"^\\\\\\\\s*(def(?:|n|macro|guard)p)\\\\\\\\s+((?>[A-Z_a-z]\\\\\\\\w*(?>\\\\\\\\.|::))?(?>[A-Z_a-z]\\\\\\\\w*(?>[!?]|=(?!>))?|===?|>[=>]?|<=>|<[<=]?|[%\\\\\\\\&/`|]|\\\\\\\\*\\\\\\\\*?|=?~|[-+]@?|\\\\\\\\[]=?))((\\\\\\\\()|\\\\\\\\s*)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"entity.name.function.private.elixir\\\"},\\\"4\\\":{\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\b(do:)|\\\\\\\\b(do)\\\\\\\\b|(?=\\\\\\\\s+(def(?:p|macrop|guardp))\\\\\\\\b)\\\",\\\"endCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"constant.other.keywords.elixir\\\"},\\\"2\\\":{\\\"name\\\":\\\"keyword.control.module.elixir\\\"}},\\\"name\\\":\\\"meta.function.private.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"},{\\\"begin\\\":\\\"\\\\\\\\s(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"keyword.operator.other.elixir\\\"}},\\\"end\\\":\\\"[),]|$\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"$self\\\"}]},{\\\"match\\\":\\\"\\\\\\\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.control.elixir\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\s*~L\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"name\\\":\\\"sigil.leex\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"text.elixir\\\"},{\\\"include\\\":\\\"text.html.basic\\\"}]},{\\\"begin\\\":\\\"\\\\\\\\s*~H\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"name\\\":\\\"sigil.heex\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"text.elixir\\\"},{\\\"include\\\":\\\"text.html.basic\\\"}]},{\\\"begin\\\":\\\"@(module|type)?doc (~[a-z])?\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"name\\\":\\\"comment.block.documentation.heredoc\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"@(module|type)?doc ~[A-Z]\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"name\\\":\\\"comment.block.documentation.heredoc\\\"},{\\\"begin\\\":\\\"@(module|type)?doc (~[a-z])?'''\\\",\\\"end\\\":\\\"\\\\\\\\s*'''\\\",\\\"name\\\":\\\"comment.block.documentation.heredoc\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"@(module|type)?doc ~[A-Z]'''\\\",\\\"end\\\":\\\"\\\\\\\\s*'''\\\",\\\"name\\\":\\\"comment.block.documentation.heredoc\\\"},{\\\"match\\\":\\\"@(module|type)?doc false\\\",\\\"name\\\":\\\"comment.block.documentation.false\\\"},{\\\"begin\\\":\\\"@(module|type)?doc \\\\\\\"\\\",\\\"end\\\":\\\"\\\\\\\"\\\",\\\"name\\\":\\\"comment.block.documentation.string\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"match\\\":\\\"(?<!\\\\\\\\.)\\\\\\\\b(do|end|case|bc|lc|for|if|cond|unless|try|receive|fn|defmodule|defp?|defprotocol|defimpl|defrecord|defstruct|defnp?|defmacrop?|defguardp?|defdelegate|defexception|defoverridable|exit|after|rescue|catch|else|raise|reraise|throw|import|require|alias|use|quote|unquote|super|with)\\\\\\\\b(?![!:?])\\\",\\\"name\\\":\\\"keyword.control.elixir\\\"},{\\\"match\\\":\\\"(?<!\\\\\\\\.)\\\\\\\\b(and|not|or|when|xor|in)\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.operator.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b[A-Z]\\\\\\\\w*\\\\\\\\b\\\",\\\"name\\\":\\\"entity.name.type.class.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b(nil|true|false)\\\\\\\\b(?![!?])\\\",\\\"name\\\":\\\"constant.language.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b(__(CALLER|ENV|MODULE|DIR|STACKTRACE)__)\\\\\\\\b(?![!?])\\\",\\\"name\\\":\\\"variable.language.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.elixir\\\"}},\\\"match\\\":\\\"(@)[A-Z_a-z]\\\\\\\\w*\\\",\\\"name\\\":\\\"variable.other.readwrite.module.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.elixir\\\"}},\\\"match\\\":\\\"(&)\\\\\\\\d+\\\",\\\"name\\\":\\\"variable.other.anonymous.elixir\\\"},{\\\"match\\\":\\\"&(?!&)\\\",\\\"name\\\":\\\"variable.other.anonymous.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.variable.elixir\\\"}},\\\"match\\\":\\\"\\\\\\\\^[_a-z]\\\\\\\\w*\\\",\\\"name\\\":\\\"variable.other.capture.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b0x\\\\\\\\h(?>_?\\\\\\\\h)*\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.hex.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b\\\\\\\\d(?>_?\\\\\\\\d)*(\\\\\\\\.(?![^\\\\\\\\s\\\\\\\\d])(?>_?\\\\\\\\d)+)([Ee][-+]?\\\\\\\\d(?>_?\\\\\\\\d)*)?\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.float.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b\\\\\\\\d(?>_?\\\\\\\\d)*\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.integer.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b0b[01](?>_?[01])*\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.binary.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b0o[0-7](?>_?[0-7])*\\\\\\\\b\\\",\\\"name\\\":\\\"constant.numeric.octal.elixir\\\"},{\\\"begin\\\":\\\":'\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.constant.elixir\\\"}},\\\"end\\\":\\\"'\\\",\\\"name\\\":\\\"constant.other.symbol.single-quoted.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\":\\\\\\\"\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.constant.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\"\\\",\\\"name\\\":\\\"constant.other.symbol.double-quoted.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"'''\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"^\\\\\\\\s*'''\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.single.heredoc.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"'\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"'\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.single.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"^\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.double.heredoc.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.double.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"^\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.heredoc.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"}[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]\\\\\\\\[\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"][a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]<\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\">[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z]\\\\\\\\(\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\)[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[a-z](\\\\\\\\W)\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\1[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#interpolated_elixir\\\"},{\\\"include\\\":\\\"#escaped_char\\\"}]},{\\\"begin\\\":\\\"~[A-Z]\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"^\\\\\\\\s*\\\\\\\"\\\\\\\"\\\\\\\"\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.heredoc.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z]\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"}[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z]\\\\\\\\[\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"][a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z]<\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\">[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z]\\\\\\\\(\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\)[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"begin\\\":\\\"~[A-Z](\\\\\\\\W)\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.begin.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\1[a-z]*\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.string.end.elixir\\\"}},\\\"name\\\":\\\"string.quoted.other.sigil.literal.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.constant.elixir\\\"}},\\\"match\\\":\\\"(?<!:)(:)(?>[A-Z_a-z][@\\\\\\\\w]*(?>[!?]|=(?![=>]))?|<>|===?|!==?|<<>>|<<<|>>>|~~~|::|<-|\\\\\\\\|>|=>|=~|[/=]|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|\\\\\\\\*\\\\\\\\*?|\\\\\\\\.\\\\\\\\.?\\\\\\\\.?|\\\\\\\\.\\\\\\\\.//|>=?|<=?|&&?&?|\\\\\\\\+\\\\\\\\+?|--?|\\\\\\\\|\\\\\\\\|?\\\\\\\\|?|[!@]|%?\\\\\\\\{}|%|\\\\\\\\[]|\\\\\\\\^(\\\\\\\\^\\\\\\\\^)?)\\\",\\\"name\\\":\\\"constant.other.symbol.elixir\\\"},{\\\"captures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.definition.constant.elixir\\\"}},\\\"match\\\":\\\"(?>[A-Z_a-z][@\\\\\\\\w]*[!?]?)(:)(?!:)\\\",\\\"name\\\":\\\"constant.other.keywords.elixir\\\"},{\\\"begin\\\":\\\"(^[\\\\\\\\t ]+)?(?=##)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.whitespace.comment.leading.elixir\\\"}},\\\"end\\\":\\\"(?!#)\\\",\\\"patterns\\\":[{\\\"begin\\\":\\\"##\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\n\\\",\\\"name\\\":\\\"comment.line.section.elixir\\\"}]},{\\\"begin\\\":\\\"(^[\\\\\\\\t ]+)?(?=#)\\\",\\\"beginCaptures\\\":{\\\"1\\\":{\\\"name\\\":\\\"punctuation.whitespace.comment.leading.elixir\\\"}},\\\"end\\\":\\\"(?!#)\\\",\\\"patterns\\\":[{\\\"begin\\\":\\\"#\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.definition.comment.elixir\\\"}},\\\"end\\\":\\\"\\\\\\\\n\\\",\\\"name\\\":\\\"comment.line.number-sign.elixir\\\"}]},{\\\"match\\\":\\\"\\\\\\\\b_([^_]\\\\\\\\w+[!?]?)\\\",\\\"name\\\":\\\"comment.unused.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\b_\\\\\\\\b\\\",\\\"name\\\":\\\"comment.wildcard.elixir\\\"},{\\\"match\\\":\\\"(?<!\\\\\\\\w)\\\\\\\\?(\\\\\\\\\\\\\\\\(x\\\\\\\\h{1,2}(?!\\\\\\\\h)\\\\\\\\b|[^CMx])|[^\\\\\\\\\\\\\\\\\\\\\\\\s])\\\",\\\"name\\\":\\\"constant.numeric.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\+\\\\\\\\+|--|<\\\\\\\\|>\\\",\\\"name\\\":\\\"keyword.operator.concatenation.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\|>|<~>|<>|<<<|>>>|~>>|<<~|~>|<~|<\\\\\\\\|>\\\",\\\"name\\\":\\\"keyword.operator.sigils_1.elixir\\\"},{\\\"match\\\":\\\"&&&?\\\",\\\"name\\\":\\\"keyword.operator.sigils_2.elixir\\\"},{\\\"match\\\":\\\"<-|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\"name\\\":\\\"keyword.operator.sigils_3.elixir\\\"},{\\\"match\\\":\\\"===?|!==?|<=?|>=?\\\",\\\"name\\\":\\\"keyword.operator.comparison.elixir\\\"},{\\\"match\\\":\\\"(\\\\\\\\|\\\\\\\\|\\\\\\\\||&&&|\\\\\\\\^\\\\\\\\^\\\\\\\\^|<<<|>>>|~~~)\\\",\\\"name\\\":\\\"keyword.operator.bitwise.elixir\\\"},{\\\"match\\\":\\\"(?<=[\\\\\\\\t ])!+|\\\\\\\\bnot\\\\\\\\b|&&|\\\\\\\\band\\\\\\\\b|\\\\\\\\|\\\\\\\\||\\\\\\\\bor\\\\\\\\b|\\\\\\\\bxor\\\\\\\\b\\\",\\\"name\\\":\\\"keyword.operator.logical.elixir\\\"},{\\\"match\\\":\\\"([-*+/])\\\",\\\"name\\\":\\\"keyword.operator.arithmetic.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\||\\\\\\\\+\\\\\\\\+|--|\\\\\\\\*\\\\\\\\*|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|<-|<>|<<|>>|::|\\\\\\\\.\\\\\\\\.|//|\\\\\\\\|>|~|=>|&\\\",\\\"name\\\":\\\"keyword.operator.other.elixir\\\"},{\\\"match\\\":\\\"=\\\",\\\"name\\\":\\\"keyword.operator.assignment.elixir\\\"},{\\\"match\\\":\\\":\\\",\\\"name\\\":\\\"punctuation.separator.other.elixir\\\"},{\\\"match\\\":\\\";\\\",\\\"name\\\":\\\"punctuation.separator.statement.elixir\\\"},{\\\"match\\\":\\\",\\\",\\\"name\\\":\\\"punctuation.separator.object.elixir\\\"},{\\\"match\\\":\\\"\\\\\\\\.\\\",\\\"name\\\":\\\"punctuation.separator.method.elixir\\\"},{\\\"match\\\":\\\"[{}]\\\",\\\"name\\\":\\\"punctuation.section.scope.elixir\\\"},{\\\"match\\\":\\\"[]\\\\\\\\[]\\\",\\\"name\\\":\\\"punctuation.section.array.elixir\\\"},{\\\"match\\\":\\\"[()]\\\",\\\"name\\\":\\\"punctuation.section.function.elixir\\\"}]},\\\"escaped_char\\\":{\\\"match\\\":\\\"\\\\\\\\\\\\\\\\(x[A-Fa-f\\\\\\\\d]{1,2}|.)\\\",\\\"name\\\":\\\"constant.character.escaped.elixir\\\"},\\\"interpolated_elixir\\\":{\\\"begin\\\":\\\"#\\\\\\\\{\\\",\\\"beginCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.section.embedded.begin.elixir\\\"}},\\\"contentName\\\":\\\"source.elixir\\\",\\\"end\\\":\\\"}\\\",\\\"endCaptures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.section.embedded.end.elixir\\\"}},\\\"name\\\":\\\"meta.embedded.line.elixir\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#nest_curly_and_self\\\"},{\\\"include\\\":\\\"$self\\\"}]},\\\"nest_curly_and_self\\\":{\\\"patterns\\\":[{\\\"begin\\\":\\\"\\\\\\\\{\\\",\\\"captures\\\":{\\\"0\\\":{\\\"name\\\":\\\"punctuation.section.scope.elixir\\\"}},\\\"end\\\":\\\"}\\\",\\\"patterns\\\":[{\\\"include\\\":\\\"#nest_curly_and_self\\\"}]},{\\\"include\\\":\\\"$self\\\"}]}},\\\"scopeName\\\":\\\"source.elixir\\\",\\\"embeddedLangs\\\":[\\\"html\\\"]}\"))\n\nexport default [\n...html,\nlang\n]\n"],"x_google_ignoreList":[0],"mappings":"mCAEA,IAAM,EAAO,OAAO,OAAO,KAAK,MAAM,+xfAAyijB,CAAC,EAEhljB,EAAe,CACf,GAAGA,EACH,CACA"}
@@ -1,2 +1,2 @@
1
- import{t as e}from"./_B6OKTJ3U.js";import{t}from"./_D0UH-qzF.js";import{t as n}from"./_RHQKbTNw.js";import{t as r}from"./_DoNipARR.js";import{t as i}from"./__Q8ATTST.js";import{t as a}from"./_CKHJpMi32.js";import{t as o}from"./_CCWd2cbl.js";var s=Object.freeze(JSON.parse('{"fileTypes":["js","jsx","ts","tsx","html","vue","svelte","php","res"],"injectTo":["source.ts","source.js"],"injectionSelector":"L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string, L:source.vue -comment -string, L:source.svelte -comment -string, L:source.php -comment -string, L:source.rescript -comment -string","injections":{"L:source":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"es-tag-css","patterns":[{"begin":"(?i)(\\\\s?/\\\\*\\\\s?((?:|inline-)css)\\\\s?\\\\*/\\\\s?)(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.css"},{"include":"inline.es6-htmlx#template"}]},{"begin":"(?i)(\\\\s*((?:|inline-)css))(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.css"},{"include":"inline.es6-htmlx#template"},{"include":"string.quoted.other.template.js"}]},{"begin":"(?i)(?<=[(,:=\\\\s]|\\\\$\\\\()\\\\s*(((/\\\\*)|(//))\\\\s?((?:|inline-)css) {0,1000}\\\\*?/?) {0,1000}$","beginCaptures":{"1":{"name":"comment.line"}},"end":"(`).*","patterns":[{"begin":"\\\\G()","end":"(`)"},{"include":"source.ts#template-substitution-element"},{"include":"source.css"}]},{"begin":"(\\\\$\\\\{)","beginCaptures":{"1":{"name":"entity.name.tag"}},"end":"(})","endCaptures":{"1":{"name":"entity.name.tag"}},"patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.js"}]}],"scopeName":"inline.es6-css","embeddedLangs":["typescript","css","javascript"]}')),c=[...i,...t,...e,s],l=Object.freeze(JSON.parse('{"fileTypes":["js","jsx","ts","tsx","html","vue","svelte","php","res"],"injectTo":["source.ts","source.js"],"injectionSelector":"L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string","injections":{"L:source":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"es-tag-glsl","patterns":[{"begin":"(?i)(\\\\s?/\\\\*\\\\s?((?:|inline-)glsl)\\\\s?\\\\*/\\\\s?)(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.glsl"},{"include":"inline.es6-htmlx#template"}]},{"begin":"(?i)(\\\\s*((?:|inline-)glsl))(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.glsl"},{"include":"inline.es6-htmlx#template"},{"include":"string.quoted.other.template.js"}]},{"begin":"(?i)(?<=[(,:=\\\\s]|\\\\$\\\\()\\\\s*(((/\\\\*)|(//))\\\\s?((?:|inline-)glsl) {0,1000}\\\\*?/?) {0,1000}$","beginCaptures":{"1":{"name":"comment.line"}},"end":"(`).*","patterns":[{"begin":"\\\\G()","end":"(`)"},{"include":"source.ts#template-substitution-element"},{"include":"source.glsl"}]},{"begin":"(\\\\$\\\\{)","beginCaptures":{"1":{"name":"entity.name.tag"}},"end":"(})","endCaptures":{"1":{"name":"entity.name.tag"}},"patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.js"}]}],"scopeName":"inline.es6-glsl","embeddedLangs":["typescript","glsl","javascript"]}')),u=[...i,...o,...e,l],d=Object.freeze(JSON.parse('{"fileTypes":["js","jsx","ts","tsx","html","vue","svelte","php","res"],"injectTo":["source.ts","source.js"],"injectionSelector":"L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string","injections":{"L:source":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"es-tag-html","patterns":[{"begin":"(?i)(\\\\s?/\\\\*\\\\s?(html|template|inline-html|inline-template)\\\\s?\\\\*/\\\\s?)(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"text.html.basic"},{"include":"inline.es6-htmlx#template"}]},{"begin":"(?i)(\\\\s*(html|template|inline-html|inline-template))(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"text.html.basic"},{"include":"inline.es6-htmlx#template"},{"include":"string.quoted.other.template.js"}]},{"begin":"(?i)(?<=[(,:=\\\\s]|\\\\$\\\\()\\\\s*(((/\\\\*)|(//))\\\\s?(html|template|inline-html|inline-template) {0,1000}\\\\*?/?) {0,1000}$","beginCaptures":{"1":{"name":"comment.line"}},"end":"(`).*","patterns":[{"begin":"\\\\G()","end":"(`)"},{"include":"source.ts#template-substitution-element"},{"include":"text.html.basic"}]},{"begin":"(\\\\$\\\\{)","beginCaptures":{"1":{"name":"entity.name.tag"}},"end":"(})","endCaptures":{"1":{"name":"entity.name.tag"}},"patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.js"}]},{"begin":"(\\\\$\\\\(`)","beginCaptures":{"1":{"name":"entity.name.tag"}},"end":"(`\\\\))","endCaptures":{"1":{"name":"entity.name.tag"}},"patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.js"}]}],"scopeName":"inline.es6-html","embeddedLangs":["typescript","html","javascript"]}')),f=[...i,...n,...e,d],p=Object.freeze(JSON.parse('{"injectTo":["source.ts","source.js"],"injectionSelector":"L:source -comment -string","name":"es-tag-sql","patterns":[{"__COMMENT__":"Literals tagged with an sql function (including optional accessors and types), e.g. sql<User>(\'user-by-id\')`SELECT ...`","begin":"(?:([$_[:alpha:]][$_[:alnum:]]*)(?:\\\\s*(\\\\??\\\\.)\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*\\\\s*(\\\\??\\\\.))?\\\\s*(#?(?i)sql|sqlFragment(?-i))\\\\s*(?=(?:(\\\\?\\\\.\\\\s*)|(!))?((<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?\\\\())","beginCaptures":{"1":{"name":"meta.function-call.ts variable.other.object.ts"},"2":{"name":"meta.function-call.ts punctuation.accessor.optional.ts"},"3":{"name":"meta.function-call.ts variable.other.object.ts"},"4":{"name":"meta.function-call.ts punctuation.accessor.optional.ts"},"5":{"name":"meta.function-call.ts entity.name.function.ts"}},"end":"(?<=(`|\\\\)\\\\s*[^`\\\\s]))","patterns":[{"include":"source.ts#comment"},{"include":"source.ts#function-call-optionals"},{"include":"source.ts#type-arguments"},{"include":"source.ts#paren-expression"},{"include":"#embedded-sql"}]},{"__COMMENT__":"Literals tagged with an sql comment, e.g. /*sql*/`SELECT ...`","begin":"(/\\\\*\\\\s*(?i)sql(?-i)\\\\s*\\\\*/)\\\\s*(?=`)","beginCaptures":{"1":{"name":"comment.block.ts"}},"end":"(?<=`)","patterns":[{"include":"#embedded-sql"}]},{"__COMMENT__":"Literals tagged with sql (including optional accessors and types), e.g. my.object?.sql<User>`SELECT ...`. This is based on the 1st #template-call pattern in TypeScript.tmLanguage.json","begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*\\\\s*\\\\??\\\\.\\\\s*)*|(\\\\??\\\\.\\\\s*)?)(#?(?i)sql|sqlFragment(?-i))(<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?`)","end":"(?<=`)","name":"string.template.ts","patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*\\\\s*\\\\??\\\\.\\\\s*)*|(\\\\??\\\\.\\\\s*)?)(#?(?i)sql|sqlFragment(?-i)))","end":"(?=(<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?`)","patterns":[{"include":"source.ts#support-function-call-identifiers"},{"match":"(#?(?i)sql|sqlFragment(?-i))","name":"entity.name.function.tagged-template.ts"}]},{"include":"source.ts#type-arguments"},{"include":"#embedded-sql"}]},{"__COMMENT__":"Literals tagged with sql (including optional types), e.g. sql<User>`SELECT ...`. This is based on the 2nd #template-call pattern in TypeScript.tmLanguage.json","begin":"\\\\b((?i)sql|sqlFragment(?-i))\\\\s*(?=(<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"}},"end":"(?<=`)","name":"string.template.ts","patterns":[{"include":"source.ts#type-arguments"},{"include":"#embedded-sql"}]},{"__COMMENT__":"Literals tagged with sql, e.g. sql`SELECT ...`. This is based on the 2nd #template pattern in TypeScript.tmLanguage.json","begin":"\\\\b((?i)sql|sqlFragment(?-i))\\\\s*(?=`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"}},"end":"(?<=`)","name":"string.template.ts","patterns":[{"include":"#embedded-sql"}]}],"repository":{"embedded-sql":{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.template.begin.js"}},"contentName":"meta.embedded.block.sql","end":"`","endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}},"name":"string.template.ts","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.ts#string-character-escape"},{"include":"source.sql"},{"include":"source.plpgsql.postgres"},{"match":"."}]}},"scopeName":"inline.tagged-template-sql","embeddedLangs":["typescript","sql"]}')),m=[...i,...a,p],h=Object.freeze(JSON.parse('{"fileTypes":["js","jsx","ts","tsx","html","vue","svelte","php","res"],"injectTo":["source.ts","source.js"],"injectionSelector":"L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string","injections":{"L:source":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"es-tag-xml","patterns":[{"begin":"(?i)(\\\\s?/\\\\*\\\\s?(xml|svg|inline-svg|inline-xml)\\\\s?\\\\*/\\\\s?)(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"text.xml"}]},{"begin":"(?i)(\\\\s*((?:|inline-)xml))(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"text.xml"}]},{"begin":"(?i)(?<=[(,:=\\\\s]|\\\\$\\\\()\\\\s*(((/\\\\*)|(//))\\\\s?(xml|svg|inline-svg|inline-xml) {0,1000}\\\\*?/?) {0,1000}$","beginCaptures":{"1":{"name":"comment.line"}},"end":"(`).*","patterns":[{"begin":"\\\\G()","end":"(`)"},{"include":"text.xml"}]}],"scopeName":"inline.es6-xml","embeddedLangs":["xml"]}')),g=[...r,h],_=Object.freeze(JSON.parse(`{"displayName":"TypeScript with Tags","name":"ts-tags","patterns":[{"include":"source.ts"}],"scopeName":"source.ts.tags","embeddedLangs":["typescript","es-tag-css","es-tag-glsl","es-tag-html","es-tag-sql","es-tag-xml"],"aliases":["lit"]}`)),v=[...i,...c,...u,...f,...m,...g,_];export{v as default};
2
- //# sourceMappingURL=_D8DKeNtk2.js.map
1
+ import{t as e}from"./_Bh5KV4D5.js";import{t}from"./_VkiUGcZN.js";import{t as n}from"./_NdVLMlDn.js";import{t as r}from"./_DEubpY7q.js";import{t as i}from"./_C-2JDMwn.js";import{t as a}from"./_DWNYhaMZ2.js";import{t as o}from"./_Brp01NXq.js";var s=Object.freeze(JSON.parse('{"fileTypes":["js","jsx","ts","tsx","html","vue","svelte","php","res"],"injectTo":["source.ts","source.js"],"injectionSelector":"L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string, L:source.vue -comment -string, L:source.svelte -comment -string, L:source.php -comment -string, L:source.rescript -comment -string","injections":{"L:source":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"es-tag-css","patterns":[{"begin":"(?i)(\\\\s?/\\\\*\\\\s?((?:|inline-)css)\\\\s?\\\\*/\\\\s?)(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.css"},{"include":"inline.es6-htmlx#template"}]},{"begin":"(?i)(\\\\s*((?:|inline-)css))(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.css"},{"include":"inline.es6-htmlx#template"},{"include":"string.quoted.other.template.js"}]},{"begin":"(?i)(?<=[(,:=\\\\s]|\\\\$\\\\()\\\\s*(((/\\\\*)|(//))\\\\s?((?:|inline-)css) {0,1000}\\\\*?/?) {0,1000}$","beginCaptures":{"1":{"name":"comment.line"}},"end":"(`).*","patterns":[{"begin":"\\\\G()","end":"(`)"},{"include":"source.ts#template-substitution-element"},{"include":"source.css"}]},{"begin":"(\\\\$\\\\{)","beginCaptures":{"1":{"name":"entity.name.tag"}},"end":"(})","endCaptures":{"1":{"name":"entity.name.tag"}},"patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.js"}]}],"scopeName":"inline.es6-css","embeddedLangs":["typescript","css","javascript"]}')),c=[...i,...t,...e,s],l=Object.freeze(JSON.parse('{"fileTypes":["js","jsx","ts","tsx","html","vue","svelte","php","res"],"injectTo":["source.ts","source.js"],"injectionSelector":"L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string","injections":{"L:source":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"es-tag-glsl","patterns":[{"begin":"(?i)(\\\\s?/\\\\*\\\\s?((?:|inline-)glsl)\\\\s?\\\\*/\\\\s?)(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.glsl"},{"include":"inline.es6-htmlx#template"}]},{"begin":"(?i)(\\\\s*((?:|inline-)glsl))(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.glsl"},{"include":"inline.es6-htmlx#template"},{"include":"string.quoted.other.template.js"}]},{"begin":"(?i)(?<=[(,:=\\\\s]|\\\\$\\\\()\\\\s*(((/\\\\*)|(//))\\\\s?((?:|inline-)glsl) {0,1000}\\\\*?/?) {0,1000}$","beginCaptures":{"1":{"name":"comment.line"}},"end":"(`).*","patterns":[{"begin":"\\\\G()","end":"(`)"},{"include":"source.ts#template-substitution-element"},{"include":"source.glsl"}]},{"begin":"(\\\\$\\\\{)","beginCaptures":{"1":{"name":"entity.name.tag"}},"end":"(})","endCaptures":{"1":{"name":"entity.name.tag"}},"patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.js"}]}],"scopeName":"inline.es6-glsl","embeddedLangs":["typescript","glsl","javascript"]}')),u=[...i,...o,...e,l],d=Object.freeze(JSON.parse('{"fileTypes":["js","jsx","ts","tsx","html","vue","svelte","php","res"],"injectTo":["source.ts","source.js"],"injectionSelector":"L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string","injections":{"L:source":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"es-tag-html","patterns":[{"begin":"(?i)(\\\\s?/\\\\*\\\\s?(html|template|inline-html|inline-template)\\\\s?\\\\*/\\\\s?)(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"text.html.basic"},{"include":"inline.es6-htmlx#template"}]},{"begin":"(?i)(\\\\s*(html|template|inline-html|inline-template))(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"text.html.basic"},{"include":"inline.es6-htmlx#template"},{"include":"string.quoted.other.template.js"}]},{"begin":"(?i)(?<=[(,:=\\\\s]|\\\\$\\\\()\\\\s*(((/\\\\*)|(//))\\\\s?(html|template|inline-html|inline-template) {0,1000}\\\\*?/?) {0,1000}$","beginCaptures":{"1":{"name":"comment.line"}},"end":"(`).*","patterns":[{"begin":"\\\\G()","end":"(`)"},{"include":"source.ts#template-substitution-element"},{"include":"text.html.basic"}]},{"begin":"(\\\\$\\\\{)","beginCaptures":{"1":{"name":"entity.name.tag"}},"end":"(})","endCaptures":{"1":{"name":"entity.name.tag"}},"patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.js"}]},{"begin":"(\\\\$\\\\(`)","beginCaptures":{"1":{"name":"entity.name.tag"}},"end":"(`\\\\))","endCaptures":{"1":{"name":"entity.name.tag"}},"patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.js"}]}],"scopeName":"inline.es6-html","embeddedLangs":["typescript","html","javascript"]}')),f=[...i,...n,...e,d],p=Object.freeze(JSON.parse('{"injectTo":["source.ts","source.js"],"injectionSelector":"L:source -comment -string","name":"es-tag-sql","patterns":[{"__COMMENT__":"Literals tagged with an sql function (including optional accessors and types), e.g. sql<User>(\'user-by-id\')`SELECT ...`","begin":"(?:([$_[:alpha:]][$_[:alnum:]]*)(?:\\\\s*(\\\\??\\\\.)\\\\s*(#?[$_[:alpha:]][$_[:alnum:]]*))*\\\\s*(\\\\??\\\\.))?\\\\s*(#?(?i)sql|sqlFragment(?-i))\\\\s*(?=(?:(\\\\?\\\\.\\\\s*)|(!))?((<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?\\\\())","beginCaptures":{"1":{"name":"meta.function-call.ts variable.other.object.ts"},"2":{"name":"meta.function-call.ts punctuation.accessor.optional.ts"},"3":{"name":"meta.function-call.ts variable.other.object.ts"},"4":{"name":"meta.function-call.ts punctuation.accessor.optional.ts"},"5":{"name":"meta.function-call.ts entity.name.function.ts"}},"end":"(?<=(`|\\\\)\\\\s*[^`\\\\s]))","patterns":[{"include":"source.ts#comment"},{"include":"source.ts#function-call-optionals"},{"include":"source.ts#type-arguments"},{"include":"source.ts#paren-expression"},{"include":"#embedded-sql"}]},{"__COMMENT__":"Literals tagged with an sql comment, e.g. /*sql*/`SELECT ...`","begin":"(/\\\\*\\\\s*(?i)sql(?-i)\\\\s*\\\\*/)\\\\s*(?=`)","beginCaptures":{"1":{"name":"comment.block.ts"}},"end":"(?<=`)","patterns":[{"include":"#embedded-sql"}]},{"__COMMENT__":"Literals tagged with sql (including optional accessors and types), e.g. my.object?.sql<User>`SELECT ...`. This is based on the 1st #template-call pattern in TypeScript.tmLanguage.json","begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*\\\\s*\\\\??\\\\.\\\\s*)*|(\\\\??\\\\.\\\\s*)?)(#?(?i)sql|sqlFragment(?-i))(<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?`)","end":"(?<=`)","name":"string.template.ts","patterns":[{"begin":"(?=(([$_[:alpha:]][$_[:alnum:]]*\\\\s*\\\\??\\\\.\\\\s*)*|(\\\\??\\\\.\\\\s*)?)(#?(?i)sql|sqlFragment(?-i)))","end":"(?=(<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)?`)","patterns":[{"include":"source.ts#support-function-call-identifiers"},{"match":"(#?(?i)sql|sqlFragment(?-i))","name":"entity.name.function.tagged-template.ts"}]},{"include":"source.ts#type-arguments"},{"include":"#embedded-sql"}]},{"__COMMENT__":"Literals tagged with sql (including optional types), e.g. sql<User>`SELECT ...`. This is based on the 2nd #template-call pattern in TypeScript.tmLanguage.json","begin":"\\\\b((?i)sql|sqlFragment(?-i))\\\\s*(?=(<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))(([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>|<\\\\s*(((keyof|infer|awaited|typeof|readonly)\\\\s+)|(([$_[:alpha:]][$_[:alnum:]]*|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\'([^\'\\\\\\\\]|\\\\\\\\.)*\')|(\\"([^\\"\\\\\\\\]|\\\\\\\\.)*\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))(?=\\\\s*([,.<>\\\\[]|=>|&(?!&)|\\\\|(?!\\\\|)))))([^(<>]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(?<==)>)*(?<!=)>))*(?<!=)>)*(?<!=)>\\\\s*)`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"}},"end":"(?<=`)","name":"string.template.ts","patterns":[{"include":"source.ts#type-arguments"},{"include":"#embedded-sql"}]},{"__COMMENT__":"Literals tagged with sql, e.g. sql`SELECT ...`. This is based on the 2nd #template pattern in TypeScript.tmLanguage.json","begin":"\\\\b((?i)sql|sqlFragment(?-i))\\\\s*(?=`)","beginCaptures":{"1":{"name":"entity.name.function.tagged-template.ts"}},"end":"(?<=`)","name":"string.template.ts","patterns":[{"include":"#embedded-sql"}]}],"repository":{"embedded-sql":{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.template.begin.js"}},"contentName":"meta.embedded.block.sql","end":"`","endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}},"name":"string.template.ts","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"source.ts#string-character-escape"},{"include":"source.sql"},{"include":"source.plpgsql.postgres"},{"match":"."}]}},"scopeName":"inline.tagged-template-sql","embeddedLangs":["typescript","sql"]}')),m=[...i,...a,p],h=Object.freeze(JSON.parse('{"fileTypes":["js","jsx","ts","tsx","html","vue","svelte","php","res"],"injectTo":["source.ts","source.js"],"injectionSelector":"L:source.js -comment -string, L:source.js -comment -string, L:source.jsx -comment -string, L:source.js.jsx -comment -string, L:source.ts -comment -string, L:source.tsx -comment -string, L:source.rescript -comment -string","injections":{"L:source":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"es-tag-xml","patterns":[{"begin":"(?i)(\\\\s?/\\\\*\\\\s?(xml|svg|inline-svg|inline-xml)\\\\s?\\\\*/\\\\s?)(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"text.xml"}]},{"begin":"(?i)(\\\\s*((?:|inline-)xml))(`)","beginCaptures":{"1":{"name":"comment.block"}},"end":"(`)","patterns":[{"include":"text.xml"}]},{"begin":"(?i)(?<=[(,:=\\\\s]|\\\\$\\\\()\\\\s*(((/\\\\*)|(//))\\\\s?(xml|svg|inline-svg|inline-xml) {0,1000}\\\\*?/?) {0,1000}$","beginCaptures":{"1":{"name":"comment.line"}},"end":"(`).*","patterns":[{"begin":"\\\\G()","end":"(`)"},{"include":"text.xml"}]}],"scopeName":"inline.es6-xml","embeddedLangs":["xml"]}')),g=[...r,h],_=Object.freeze(JSON.parse(`{"displayName":"TypeScript with Tags","name":"ts-tags","patterns":[{"include":"source.ts"}],"scopeName":"source.ts.tags","embeddedLangs":["typescript","es-tag-css","es-tag-glsl","es-tag-html","es-tag-sql","es-tag-xml"],"aliases":["lit"]}`)),v=[...i,...c,...u,...f,...m,...g,_];export{v as default};
2
+ //# sourceMappingURL=_37DiDfEe2.js.map